/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as s}from"tslib";import{property as i}from"../../../core/accessorSupport/decorators/property.js";import{subclass as e}from"../../../core/accessorSupport/decorators/subclass.js";import{LayerView3D as a}from"./LayerView3D.js";import{LayerViewAnalysisViewManager as r}from"./support/LayerViewAnalysisViewManager.js";import t from"../../layers/LineOfSightLayerView.js";var n;let o=class extends(a(t)){static{n=this}constructor(s){super(s),this.type="line-of-sight-3d",this._analysisViewManager=null}initialize(){this._analysisViewManager=new r({getAnalysis:()=>this.layer.analysis,loadAnalysisViewModule:n.loadAnalysisViewModule,parent:this}),this.addResolvingPromise(this._analysisViewManager.whenAnalysisView())}destroy(){this._analysisViewManager.destroy()}get analysisView(){return this._analysisViewManager.analysisView}whenAnalysisView(){return this._analysisViewManager.whenAnalysisView()}isUpdating(){return this._analysisViewManager.updating}static{this.loadAnalysisViewModule=()=>import("../analysis/LineOfSightAnalysisView3D.js")}};s([i()],o.prototype,"type",void 0),s([i()],o.prototype,"_analysisViewManager",void 0),s([i({readOnly:!0})],o.prototype,"analysisView",null),o=n=s([e("esri.views.3d.layers.LineOfSightLayerView3D")],o);const l=o;export{l as default};
