{"version":3,"sources":["webpack:///./node_modules/arcgis-js-api/views/3d/layers/support/TileTree3DDebugger.js","webpack:///./node_modules/arcgis-js-api/views/3d/layers/support/FeatureTileTree3DDebugger.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAO,CAAC,kCAAS,CAAC,OAAS,CAAC,2BAAO,CAAC,2BAAqB,CAAC,2BAA2B,CAAC,2BAA4B,CAAC,2BAAwB,CAAC,2BAA6C,CAAC,2BAAuC,CAAC,2BAAmC,CAAC,2BAAqC,CAAC,2BAAuC,CAAC,mCAAE,kCAAkC,aAAa,sCAAsC,SAAS,8BAA8B,+PAA+P,cAAc,2BAA2B,wEAAwE,0DAA0D,iCAAiC,oBAAoB,UAAU,0BAA0B,UAAU,sBAAsB,GAAG,GAAG,8CAA8C,eAAe,qBAAqB,iBAAiB,mDAAmD,+BAA+B,iCAAiC,iDAAiD,qCAAqC,WAAW,+BAA+B,gCAAgC,yCAAyC,uCAAuC,yBAAyB,sBAAsB,0CAA0C,kDAAkD,GAAG,wDAAwD,0CAA0C,+CAA+C,uCAAuC,gBAAgB,oBAAoB,UAAU,kCAAkC,eAAe,sBAAsB,aAAa,yBAAyB,WAAW,sBAAsB,YAAY,GAAG,EAAE,EAAE,oBAAoB,+CAA+C,8BAA8B,gEAAgE,2BAA2B,iBAAiB,wDAAwD,YAAY,oHAAoH,IAAI,uBAAuB;AAAA,oGAAE,C;;;;;;;ACxBx3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAO,CAAC,kCAAS,CAAC,OAAS,CAAC,2BAAO,CAAC,2BAA0B,CAAC,2BAA6C,CAAC,2BAAsB,CAAC,2BAAwC,CAAC,mCAAE,wBAAwB,aAAa,sCAAsC,SAAS,qCAAqC,kBAAkB,cAAc,2BAA2B,6EAA6E,0DAA0D,WAAW,yJAAyJ,kBAAkB,KAAK,gCAAgC,8FAA8F,+BAA+B,WAAW,8BAA8B,iEAAiE,qCAAqC,GAAG,4BAA4B,iCAAiC,iEAAiE,GAAG,4BAA4B,uBAAuB,GAAG,2BAA2B,YAAY,yEAAyE,qDAAqD,2HAA2H,uBAAuB,0CAA0C;AAAA,oGAAE,C","file":"js/chunk-4da8e118.48f7de10.js","sourcesContent":["// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../../Graphic\",\"../../../../core/Accessor\",\"../../../../core/mathUtils\",\"../../../../core/maybe\",\"../../../../core/accessorSupport/decorators\",\"../../../../symbols/FillSymbol3DLayer\",\"../../../../symbols/PointSymbol3D\",\"../../../../symbols/PolygonSymbol3D\",\"../../../../symbols/TextSymbol3DLayer\"],(function(e,t,r,o,i,s,l,n,a,c,p,y){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.TileTree3DDebugger=void 0;var u=[[0,179,255],[117,62,128],[0,104,255],[215,189,166],[32,0,193],[98,162,206],[102,112,129],[52,125,0],[142,118,246],[138,83,0],[92,122,255],[122,55,83],[0,142,255],[81,40,179],[0,200,244],[13,24,127],[0,170,147],[19,58,241],[22,44,35]],h=function(e){function t(t){var r=e.call(this,t)||this;return r.updating=!1,r.enablePolygons=!0,r._graphics=[],r._enabled=!0,r}return r.__extends(t,e),t.prototype.initialize=function(){this._symbols=u.map((function(e){return new p(new a({material:{color:[e[0],e[1],e[2],.6]},outline:{color:\"black\",size:1}}))}))},Object.defineProperty(t.prototype,\"enabled\",{get:function(){return this._enabled},set:function(e){this._enabled!==e&&(this._enabled=e,this.update())},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){this.view&&(this.clear(),this._set(\"view\",null))},t.prototype._update=function(e,t,r){var i=this;if(this.clear(),this._enabled){var n,a=r.getLabel||function(e){var t=e.lij[0]+\"/\"+e.lij[1]+\"/\"+e.lij[2];return l.isSome(n)&&(t+=\" (\"+n+\")\"),t};e.forEach((function(p,u){var h=p.lij[0],b=t(p);i.enablePolygons&&i._graphics.push(new o({geometry:b,symbol:i._symbols[h%i._symbols.length]}));var d=u/(e.length-1),g=s.lerp(0,200,d),_=s.lerp(20,6,d);n=r.getLoadPriority&&r.getLoadPriority(p);var m=l.isSome(n)&&n>=e.length,f=a(p),v=new o({geometry:b.extent.center,symbol:new c({verticalOffset:{screenLength:40/.75},callout:{type:\"line\",color:\"white\",border:{color:\"black\"}},symbolLayers:[new y({text:f,halo:{color:\"white\",size:1/.75},material:{color:[g,m?0:g,m?0:g]},size:_/.75})]})});i._graphics.push(v)})),this.view.graphics.addMany(this._graphics)}},t.prototype.clear=function(){this.view.graphics.removeMany(this._graphics),this._graphics=[]},r.__decorate([n.property({constructOnly:!0})],t.prototype,\"view\",void 0),r.__decorate([n.property({readOnly:!0})],t.prototype,\"updating\",void 0),t=r.__decorate([n.subclass(\"esri.views.3d.layers.support.TileTree3DDebugger\")],t)}(i);t.TileTree3DDebugger=h}));","// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../../core/Handles\",\"../../../../core/accessorSupport/decorators\",\"./TileTree3DDebugger\",\"../../../support/WatchUpdatingTracking\"],(function(e,t,r,i,a,n,o){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.FeatureTileTree3DDebugger=void 0;var s=function(e){function t(t){var r=e.call(this,t)||this;return r.watchUpdatingTracking=new o.WatchUpdatingTracking,r.handles=new i,r}return r.__extends(t,e),t.prototype.initialize=function(){var e=this;this.handles.add(this.view.featureTiles.addClient()),this.watchUpdatingTracking.addOnCollectionPropertyChange(this.view.featureTiles,\"tiles\",(function(){return e.update()}),2)},t.prototype.destroy=function(){this.handles&&(this.handles.destroy(),this.handles=null),this.watchUpdatingTracking.destroy()},t.prototype.update=function(){var e=this;if(this.clear(),this.enabled){var t=this.view.featureTiles.tiles.toArray().sort((function(e,t){return e.loadPriority-t.loadPriority}));this._update(t,(function(t){var r=t.lij,i=r[0],a=r[1],n=r[2];return e.view.featureTiles.tilingScheme.getExtentGeometry(i,a,n)}),{getLoadPriority:function(e){return e.loadPriority}})}},r.__decorate([a.property({readOnly:!0})],t.prototype,\"watchUpdatingTracking\",void 0),r.__decorate([a.property({readOnly:!0,aliasOf:\"watchUpdatingTracking.updating\"})],t.prototype,\"updating\",void 0),t=r.__decorate([a.subclass(\"esri.views.3d.layers.support.FeatureTileTree3DDebugger\")],t)}(n.TileTree3DDebugger);t.FeatureTileTree3DDebugger=s,t.default=s}));"],"sourceRoot":""}