// All material copyright Esri, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.30/esri/copyright.txt for details. //>>built define("../chunks/tslib.es6 ./Analysis ./SlicePlane ../core/Collection ../core/collectionUtils ../core/accessorSupport/decorators/property ../core/has ../core/Logger ../core/RandomLCG ../core/accessorSupport/decorators/subclass".split(" "),function(b,a,f,g,e,c,k,l,m,h){a=class extends a{constructor(d){super(d);this.type="slice";this.tiltEnabled=!1;this.shape=null;this.excludeGroundSurface=!1}get excludedLayers(){return this._get("excludedLayers")||new g}set excludedLayers(d){this._set("excludedLayers", e.referenceSetter(d,this._get("excludedLayers")))}get requiredPropertiesForEditing(){return[this.shape?.position]}clear(){this.shape=null}};b.__decorate([c.property({type:["slice"]})],a.prototype,"type",void 0);b.__decorate([c.property()],a.prototype,"tiltEnabled",void 0);b.__decorate([c.property({types:{key:"type",base:null,typeMap:{plane:f},defaultKeyValue:"plane"}})],a.prototype,"shape",void 0);b.__decorate([c.property({cast:e.castForReferenceSetter,clonable:d=>d.slice()})],a.prototype,"excludedLayers", null);b.__decorate([c.property({type:Boolean,nonNullable:!0})],a.prototype,"excludeGroundSurface",void 0);b.__decorate([c.property({readOnly:!0})],a.prototype,"requiredPropertiesForEditing",null);return a=b.__decorate([h.subclass("esri.analysis.SliceAnalysis")],a)});