/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as e}from"tslib";import r from"../../../../core/Accessor.js";import{property as t,subclass as s}from"../../../../core/accessorSupport/decorators.js";import i from"../../../../layers/GraphicsLayer.js";let a=class extends r{constructor(e){super(e),this._graphicsLayer=new i({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}};e([t()],a.prototype,"graphicsLayer",null),e([t()],a.prototype,"measurementViewData",void 0),e([t()],a.prototype,"updating",null),e([t()],a.prototype,"view",void 0),a=e([s("esri.views.2d.analysis.DistanceMeasurement.DistanceMeasurementSketchVisualization")],a);export{a as DistanceMeasurementSketchVisualization};
