/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as r}from"tslib";import e from"../../../../core/Accessor.js";import{property as t,subclass as s}from"../../../../core/accessorSupport/decorators.js";import a from"../../../../layers/GraphicsLayer.js";let i=class extends e{constructor(r){super(r),this._graphicsLayer=new a({listMode:"hide",internal:!0})}initialize(){this.view.map?.add(this._graphicsLayer)}destroy(){this._graphicsLayer.removeFromParent(),this._graphicsLayer.destroy()}get graphicsLayer(){return this._graphicsLayer}get updating(){return!this._graphicsLayer.loaded}};r([t()],i.prototype,"graphicsLayer",null),r([t()],i.prototype,"measurementViewData",void 0),r([t()],i.prototype,"updating",null),r([t()],i.prototype,"view",void 0),i=r([s("esri.views.2d.analysis.AreaMeasurement.AreaMeasurementSketchVisualization")],i);export{i as AreaMeasurementSketchVisualization};
