// 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 ../../../core/Collection ../../../core/collectionUtils ../../../core/accessorSupport/decorators/property ../../../core/has ../../../core/Logger ../../../core/RandomLCG ../../../core/accessorSupport/decorators/subclass ./LayerView2D ../../layers/LayerView".split(" "),function(c,g,e,f,b,m,n,h,k,l){b=class extends k.LayerView2DMixin(l){constructor(a){super(a);this.layerViews=new g}set layerViews(a){this._set("layerViews",e.referenceSetter(a,this._get("layerViews")))}get updatingProgress(){return 0=== this.layerViews.length?1:this.layerViews.reduce((a,d)=>a+d.updatingProgress,0)/this.layerViews.length}attach(){this._updateStageChildren();this.addAttachHandles(this.layerViews.on("after-changes",()=>this._updateStageChildren()))}detach(){this.container.removeAllChildren()}update(a){}viewChange(){}moveEnd(){}_updateStageChildren(){this.container.removeAllChildren();this.layerViews.forEach((a,d)=>this.container.addChildAt(a.container,d))}};c.__decorate([f.property({cast:e.castForReferenceSetter})], b.prototype,"layerViews",null);c.__decorate([f.property({readOnly:!0})],b.prototype,"updatingProgress",null);return b=c.__decorate([h.subclass("esri.views.2d.layers.KnowledgeGraphLayerView2D")],b)});