/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as o}from"tslib";import e from"../../../core/Accessor.js";import{destroyHandle as s}from"../../../core/handleUtils.js";import{property as r,subclass as t}from"../../../core/accessorSupport/decorators.js";import{c as i,a as p}from"../../../chunks/boundedPlane.js";import{PropertiesPool as l}from"../../support/PropertiesPool.js";let n=class extends e{constructor(o){super(o),this._propertiesPool=new l({plane:()=>i()},this),this.isDecoration=!0,this.addHandles(s(this._propertiesPool))}set plane(o){if(!o)return void this._set("plane",o);const e=this._propertiesPool.get("plane");p(o,e),this._set("plane",e)}};o([r()],n.prototype,"plane",null),o([r()],n.prototype,"isDecoration",void 0),n=o([t("esri.views.3d.support.ViewSlice")],n);export{n as ViewSlice};
