{"version":3,"sources":["webpack:///./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/TileHandler.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/ClippingInfo.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/decluttering/SymbolFader.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/RectangleBinPack.js","webpack:///./node_modules/arcgis-js-api/views/2d/tiling/TileInfoViewPOT.js","webpack:///./node_modules/arcgis-js-api/views/layers/support/ClipArea.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/decluttering/debugging.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/TileManager.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/SpriteMosaic.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/Mesh2D.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/GlyphSource.js","webpack:///./node_modules/arcgis-js-api/views/layers/support/Geometry.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/VectorTileContainer.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/TileContainer.js","webpack:///./node_modules/arcgis-js-api/views/2d/layers/VectorTileLayerView2D.js","webpack:///./node_modules/arcgis-js-api/views/layers/support/Path.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/Rect.js","webpack:///./node_modules/arcgis-js-api/views/2d/layers/LayerView2D.js","webpack:///./node_modules/arcgis-js-api/views/layers/support/ClipRect.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/GlyphMosaic.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLContainer.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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K,sBAAsB,iCAAiC,2DAA2D,iCAAiC,2DAA2D,4CAA4C,WAAW,4EAA4E,mBAAmB,yCAAyC,kBAAkB,qEAAqE,yCAAyC,0BAA0B,GAAG,cAAc,YAAY;AAAA,oGAAE,C","file":"js/chunk-df93c4f8.f886475a.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\",\"../../../../request\",\"../../../../core/has\",\"../../../../core/ItemCache\",\"../../../../core/maybe\",\"../../../../core/MemCache\",\"../../../../core/promiseUtils\",\"../../../../core/workers\",\"../../../../geometry/support/aaBoundingRect\",\"../vectorTiles/VectorTile\",\"./GlyphMosaic\",\"./GlyphSource\",\"./SpriteMosaic\",\"./TileIndex\",\"./decluttering/debugging\",\"../../tiling/TileKey\"],(function(e,t,r,i,o,n,s,a,l,c,u,h,p,f,_,g,y,d){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.TileHandler=void 0;var v=new n(10),T=new Map,m=function(){function e(e,t,r){this._vectorTileLayer=e,this.devicePixelRatio=t,this._memCache=r,this._spriteMosaic=null,this._glyphMosaic=null,this._connection=null,this._ongoingTileRequests=new Map,this._ongoingRequestToController=new Map}return e.prototype.destroy=function(){this._ongoingTileRequests&&this.abortAll(),this._connection&&(this._connection.close(),this._connection=null),this._vectorTileLayer=null,this._spriteMosaic&&(this._spriteMosaic.dispose(),this._spriteMosaic=null),this._glyphMosaic&&(this._glyphMosaic.dispose(),this._glyphMosaic=null)},Object.defineProperty(e.prototype,\"spriteMosaic\",{get:function(){var e=this;return this._spriteSourcePromise.then((function(){return e._spriteMosaic}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"glyphMosaic\",{get:function(){return this._glyphMosaic},enumerable:!1,configurable:!0}),e.prototype.start=function(e){return r.__awaiter(this,void 0,void 0,(function(){var t,i,n,s,a,u=this;return r.__generator(this,(function(r){for(n in t=this._vectorTileLayer.sourceNameToSource,i=[],t)i.push(this._fetchTileMap(t[n],e));return this._spriteSourcePromise=this._vectorTileLayer.loadSpriteSource(this.devicePixelRatio,e),this._spriteSourcePromise.then((function(e){u._spriteMosaic=new _(1024,1024,250),u._spriteMosaic.setSpriteSource(e),o(\"stable-symbol-rendering\")&&u._spriteMosaic.preloadSpriteItems()})),s=this._vectorTileLayer.styleRepository,a=new f(s.glyphs),this._glyphMosaic=new p(1024,1024,a),this._broadcastPromise=c.open(\"WorkerTileHandler\",{client:this,scheduler:e.scheduler,signal:e.signal}).then((function(t){return u._connection=t,l.all(u._connection.broadcast(\"setLayers\",{style:s.styleJSON},e))})),[2,l.all(i)]}))}))},e.prototype.updateStyle=function(){return r.__awaiter(this,void 0,void 0,(function(){var e,t=this;return r.__generator(this,(function(r){switch(r.label){case 0:return[4,this._broadcastPromise];case 1:return r.sent(),e=this._vectorTileLayer.styleRepository,this._broadcastPromise=l.create((function(r,i){l.all(t._connection.broadcast(\"updateStyle\",e.styleJSON)).then(r,i)})),[2,this._broadcastPromise]}}))}))},e.prototype.getVectorTile=function(e,t,r,i){var o=this,n=new d(e,t,r,0);if(s.isSome(this._memCache)){var c=this._memCache.get(n.id);if(s.isSome(c))return c.reference(),l.resolve(c)}return this._getVectorTileData(n).then((function(e){if(l.throwIfAborted(i),s.isSome(o._memCache)){var t=o._memCache.get(n.id);if(s.isSome(t))return t.reference(),t}if(!o._vectorTileLayer)return null;var r=o._vectorTileLayer.tileInfo.getTileBounds(u.create(),n),c=new h.VectorTile(n,o._vectorTileLayer.styleRepository,r,[512,512]);if(e&&e.tileData){if(c.setData(e.tileData),s.isSome(o._memCache)){c.reference();var p=c.getMemoryUsage();p>0&&o._memCache.put(c.key.id,c,p*c.referenced,a.MIN_PRIORITY)}}else c.setData(null);return c}))},e.prototype.releaseVectorTile=function(e){s.isNone(this._memCache)||e.release()||this._memCache.updateSize(e.key.id,e,e.getMemoryUsage()*e.referenced)},e.prototype.fetchTileData=function(e,t){var r=this;return this._getRefKeys(e,t).then((function(e){var i=r._vectorTileLayer.sourceNameToSource,o=[];for(var n in i)o.push(n);return r._getSourcesData(o,e,t)}))},e.prototype.parseTileData=function(e,t){var i=this,n=e&&e.data;if(!n)return l.resolve(null);var s=n.sourceName2DataAndRefKey,a=n.transferList;return 0===Object.keys(s).length?l.resolve(null):this._broadcastPromise.then((function(){return i._connection.getAvailableClient().then((function(i){return i.invoke(\"createTileAndParse\",{key:e.key.id,sourceName2DataAndRefKey:s},r.__assign(r.__assign({},t),{transferList:a})).then((function(e){if(o(\"esri-vector-tiles-debug\")){var t={};for(var r in s)t[r]=s[r].refKey;return{tileData:e,refKeys:t}}return{tileData:e}}))}))}))},Object.defineProperty(e.prototype,\"updating\",{get:function(){return this._ongoingTileRequests.size>0},enumerable:!1,configurable:!0}),e.prototype.abortAll=function(){this._ongoingRequestToController.forEach((function(e){return e.abort()})),this._ongoingRequestToController.clear(),this._ongoingTileRequests.clear()},e.prototype.getSprites=function(e){return r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(t){switch(t.label){case 0:return[4,this._spriteSourcePromise];case 1:return t.sent(),[2,this._spriteMosaic.getSpriteItems(e)]}}))}))},e.prototype.getGlyphs=function(e){return this._glyphMosaic.getGlyphItems(e.font,e.codePoints)},e.prototype.perfReport=function(e){var t=e.key,r=e.milliseconds;y.perfAdd(t,r,\"ms\")},e.prototype.getStyleRepository=function(){return this._vectorTileLayer.styleRepository},e.prototype._getTilePayload=function(e,t,o){return r.__awaiter(this,void 0,void 0,(function(){var n,s,a,l;return r.__generator(this,(function(c){switch(c.label){case 0:return n=d.pool.acquire(e.id),s=this._vectorTileLayer.sourceNameToSource,a=s[t],l=a.getSourceTileUrl(n.level,n.row,n.col),d.pool.release(n),[4,i(l,r.__assign({responseType:\"array-buffer\"},o))];case 1:return[2,{protobuff:c.sent().data,sourceName:t}]}}))}))},e.prototype._fetchTileMap=function(e,t){if(e.capabilities.operations.supportsTileMap&&e.tileIndex)return l.resolve();if(!e.tileMapURL)return l.resolve();var r=v.get(e.tileMapURL);if(r)return e.tileIndex=r,l.resolve();if(T.has(e.tileMapURL))return T.get(e.tileMapURL).then((function(t){e.tileIndex=new g(t.data)}));var o=i(e.tileMapURL,t);return o.then((function(t){e.tileIndex=new g(t.data),T.delete(e.tileMapURL),v.put(e.tileMapURL,e.tileIndex)})),T.set(e.tileMapURL,o),o},e.prototype._getRefKeys=function(e,t){var r=this._vectorTileLayer.sourceNameToSource,i=new Array;for(var o in r){var n=r[o].getRefKey(e,t);i.push(n)}return l.eachAlways(i)},e.prototype._getSourcesData=function(e,t,r){for(var i=[],o=0;o0){var n=t[o].value.id;r[e[o].value.sourceName]={refKey:n,protobuff:e[o].value.protobuff},i.push(e[o].value.protobuff)}return{sourceName2DataAndRefKey:r,transferList:i}}))},e.prototype._getVectorTileData=function(e){var t=this,r=e.id;if(this._ongoingTileRequests.has(r))return this._ongoingTileRequests.get(r);var i=new AbortController,o={signal:i.signal},n=this._getParsedVectorTileData(e,o).then((function(e){return t._ongoingTileRequests.delete(r),t._ongoingRequestToController.delete(r),e})).catch((function(){return t._ongoingTileRequests.delete(r),t._ongoingRequestToController.delete(r),null}));return this._ongoingTileRequests.set(r,n),this._ongoingRequestToController.set(r,i),n},e.prototype._getParsedVectorTileData=function(e,t){var r=this;return this.fetchTileData(e,t).then((function(i){return r.parseTileData({key:e,data:i},t)}))},e}();t.TileHandler=m}));","// 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/Error\",\"../../../../core/Logger\",\"../../../../core/maybe\",\"../DisplayObject\",\"./Mesh2D\",\"../../../webgl/VertexArrayObject\"],(function(e,t,r,i,o,s,a,c,h){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o.getLogger(\"esri.views.2d.engine.webgl.ClippingInfo\"),p=function(e){return parseFloat(e)/100},f=function(e){function t(t,r){var i=e.call(this)||this;return i._clip=r,i._cache={},i.stage=t,i._handle=r.watch(\"version\",(function(){return i._invalidate()})),i.ready(),i}return r.__extends(t,e),t.fromClipArea=function(e,r){return new t(e,r)},t.prototype._destroyGL=function(){s.isSome(this._cache.mesh)&&(this._cache.mesh.destroy(),this._cache.mesh=null),s.isSome(this._cache.vao)&&(this._cache.vao.dispose(),this._cache.vao=null)},t.prototype.destroy=function(){this._destroyGL(),this._handle.remove()},t.prototype.getVAO=function(e,t,r,i){var o=t.size,a=o[0],c=o[1];if(\"geometry\"!==this._clip.type&&this._lastWidth===a&&this._lastHeight===c||(this._lastWidth=a,this._lastHeight=c,this._destroyGL()),s.isNone(this._cache.vao)){var n=this._createMesh(t,this._clip),p=n.getIndexBuffer(e),f=n.getVertexBuffers(e);this._cache.mesh=n,this._cache.vao=new h(e,r,i,f,p)}return this._cache.vao},t.prototype._invalidate=function(){this._destroyGL(),this.requestRender()},t.prototype._createScreenRect=function(e,t){var r=e.size,i=r[0],o=r[1],s=\"string\"==typeof t.left?p(t.left)*i:t.left,a=\"string\"==typeof t.right?p(t.right)*i:t.right,c=\"string\"==typeof t.top?p(t.top)*o:t.top,h=\"string\"==typeof t.bottom?p(t.bottom)*o:t.bottom,n=s,f=c;return{x:n,y:f,width:Math.max(i-a-n,0),height:Math.max(o-h-f,0)}},t.prototype._createMesh=function(e,t){switch(t.type){case\"rect\":return c.default.fromRect(this._createScreenRect(e,t));case\"path\":return c.default.fromPath(t);case\"geometry\":return c.default.fromGeometry(e,t);default:return n.error(new i(\"mapview-bad-type\",\"Unable to create ClippingInfo mesh from clip of type: ${clip.type}\")),c.default.fromRect({x:0,y:0,width:1,height:1})}},t}(a.DisplayObject);t.default=f}));","// 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/Evented\",\"../../../../../core/maybe\",\"./config\",\"./core\",\"./jobs\",\"./SymbolDeclutterer\",\"./SymbolRepository\",\"./util\"],(function(t,e,i,o,s,r,l,a,n,c,_){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.SymbolFader=void 0;var u=function(t){function e(e){var i=t.call(this)||this;return i.layers=e,i._tileToHandle=new Map,i._viewState={scale:0,rotation:0,center:[0,0],size:[0,0]},i._declutterViewState={scale:0,rotation:0,center:[0,0],size:[0,0]},i._completed=!1,i._tileForest=new _.TileForest,i._symbolRepository=new c.SymbolRepository(4096,i._tileForest,(function(){return new l.VTLUniqueSymbol})),i._symbolDeclutterer=new n.SymbolDeclutterer(i._tileForest,i._symbolRepository,(function(t,e,o){return new a.CollisionJob(t,e,o,i.layers,i._zoom,i._viewState.rotation)}),(function(t,e){t.allSymbolsFadingOut=!0,t.lastOpacityUpdate=e,_.writeOpacityToBuffers(t,e,!0),t.decluttered=!0,t.requestRender()})),i}return i.__extends(e,t),e.prototype.addTile=function(t){var e=this;this._tileForest.has(t)||(t.decluttered=!1,this._tileForest.add(t),this._tileToHandle.set(t,t.on(\"symbols-changed\",(function(){e._symbolRepository.addTile(t,!1),e.restartDeclutter()}))),this._symbolRepository.addTile(t),this.restartDeclutter())},e.prototype.removeTile=function(t){this._tileForest.has(t)&&(this._symbolRepository.removeTile(t),this.restartDeclutter(),this._tileToHandle.get(t).remove(),this._tileToHandle.delete(t),this._tileForest.remove(t))},e.prototype.update=function(t,e){return this._zoom=t,this._viewState={scale:e.scale,rotation:e.rotation,center:[e.center[0],e.center[1]],size:[e.size[0],e.size[1]]},this._continueDeclutter(),this._completed},e.prototype.restartDeclutter=function(){this._completed=!1,this._symbolDeclutterer.restart(),this._notifyUnstable()},Object.defineProperty(e.prototype,\"stale\",{get:function(){return this._zoom!==this._declutterZoom||this._viewState.size[0]!==this._declutterViewState.size[0]||this._viewState.size[1]!==this._declutterViewState.size[1]||this._viewState.scale!==this._declutterViewState.scale||this._viewState.rotation!==this._declutterViewState.rotation},enumerable:!1,configurable:!0}),e.prototype._continueDeclutter=function(){this._completed&&!this.stale||(this._symbolDeclutterer.running||(this._declutterZoom=this._zoom,this._declutterViewState.center[0]=this._viewState.center[0],this._declutterViewState.center[1]=this._viewState.center[1],this._declutterViewState.rotation=this._viewState.rotation,this._declutterViewState.scale=this._viewState.scale,this._declutterViewState.size[0]=this._viewState.size[0],this._declutterViewState.size[1]=this._viewState.size[1],this._symbolDeclutterer.restart()),this._symbolDeclutterer.setScreenSize(this._viewState.size[0],this._viewState.size[1]),this._completed=this._symbolDeclutterer.continue(r.DECLUTTER_BUDGET),this._completed&&this._scheduleNotifyStable())},e.prototype._scheduleNotifyStable=function(){var t=this;s.isSome(this._stableNotificationHandle)&&clearTimeout(this._stableNotificationHandle),this._stableNotificationHandle=setTimeout((function(){t._stableNotificationHandle=null,t.emit(\"fade-complete\")}),1.5*r.FADE_DURATION)},e.prototype._notifyUnstable=function(){s.isSome(this._stableNotificationHandle)&&(clearTimeout(this._stableNotificationHandle),this._stableNotificationHandle=null),this.emit(\"fade-start\")},e}(o);e.SymbolFader=u}));","// 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\",\"../webgl/Rect\"],(function(e,t,h){\"use strict\";return function(){function e(e,t){this._width=0,this._height=0,this._free=[],this._width=e,this._height=t,this._free.push(new h.default(0,0,e,t))}return Object.defineProperty(e.prototype,\"width\",{get:function(){return this._width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"height\",{get:function(){return this._height},enumerable:!1,configurable:!0}),e.prototype.allocate=function(e,t){if(e>this._width||t>this._height)return new h.default;for(var i=null,r=-1,n=0;ne&&this._free.push(new h.default(i.x+e,i.y,i.width-e,t)),i.height>t&&this._free.push(new h.default(i.x,i.y+t,i.width,i.height-t))):(i.width>e&&this._free.push(new h.default(i.x+e,i.y,i.width-e,i.height)),i.height>t&&this._free.push(new h.default(i.x,i.y+t,e,i.height-t))),new h.default(i.x,i.y,e,t))},e.prototype.release=function(e){for(var t=0;t>1,l.col>>1,l.world);return n.pool.release(l),t},l.prototype.getTileCoverage=function(l,t,r){var o=e.prototype.getTileCoverage.call(this,l,t,r);if(!o)return o;var n=1<=0&&e.rowl[0].scale)return l[0].level;for(var t=void 0,r=void 0,o=0;o(r=l[o+1]).scale)return(t=l[o]).level+(t.scale-e)/(t.scale-r.scale);return l[l.length-1].level},l.prototype._initializeFullCacheLODs=function(e){var l;if(0===e[0].level)l=e.map((function(e){return{level:e.level,resolution:e.resolution,scale:e.scale}}));else{var t=this.tileInfo.size[0],o=this.tileInfo.spatialReference;l=r.create({size:t,spatialReference:o}).lods.map((function(e){return{level:e.level,resolution:e.resolution,scale:e.scale}}))}for(var n=0;ni[e].max)&&(i[e].max=t)}},t.perfClear=function(){window.PERFORMANCE_RECORDING_STORAGE&&(window.PERFORMANCE_RECORDING_STORAGE.perf={})},t.perfElement=function(e){if(!window.PERFORMANCE_RECORDING_STORAGE){var t=document.createElement(\"div\");return t.innerHTML=\"No recorded data is present because performance recording is disabled.\",t}var r=document.createElement(\"div\"),n=\"\",l=window.PERFORMANCE_RECORDING_STORAGE.perf;n+='',n+='';var a=[];for(var d in l)a.push({name:d,value:l[d].time/l[d].samples.length,sortkey:l[d].max});a.sort((function(e,t){return-(e.sortkey-t.sortkey)}));for(var o=a.map((function(e){return e.name})),s=0,m=o;s\",n+=\"\",n+=\"\",n+=\"\",n+=\"\",n+='\",n+=\"\",n+=\"\",n+=\"\",n+=\"\"}n+=\"
NameTotalRunsAverageMinDistributionMaxHistogram (50 bins)
\"+h+\"\"+i(l[h].time,l[h].unit)+\"\"+l[h].samples.length+\"\"+i(l[h].time/l[h].samples.length,l[h].unit)+\"'+i(l[h].min,l[h].unit)+\"\"+i(l[h].max,l[h].unit)+\"
\",r.innerHTML=n;for(var u=r.querySelectorAll(\"td[data-distribution='1']\"),f=r.querySelectorAll(\"td[data-histogram='1']\"),c=0;cl[o[c]].min+.001)for(var R=0,E=l[o[c]].samples;R>s&&a.col===l.col>>s&&a.world===l.world&&(this._container.addChild(i),r.add(i.id),e.push(i.key.level-t.level)))},e.prototype._addPlaceholderParent=function(e,i){for(var t=e;;){if(!(t=o(t))||i.has(t))return;var r=this._getTile(t);if(r&&r.hasData())return this._container.addChild(r),void i.add(r.id)}},e.prototype._getOrAcquireTile=function(e){var i=this._tiles.get(e);return i||((i=this._tileCache.pop(e))||(i=this.acquireTile(new a(e))),this._tiles.set(e,i),i)},e.prototype._getTile=function(e){var i=this._tiles.get(e);return i||((i=this._tileCache.pop(e))&&this._tiles.set(e,i),i)},e.prototype._releaseTile=function(e){var i=this._tiles.get(e);this.releaseTile(i),this._container.removeChild(i),this._tiles.delete(e),i.hasData()?this._tileCache.put(e,i,1):i.dispose()},e.prototype._updateCacheSize=function(e){var i=e.state.size;if(i[0]!==this._viewSize[0]||i[1]!==this._viewSize[1]){var t=Math.ceil(i[0]/512)+1,r=Math.ceil(i[1]/512)+1;this._viewSize[0]=i[0],this._viewSize[1]=i[1],this._tileCache.maxSize=5*t*r}},e}();function o(e){var i=e.split(\"/\"),t=i[0],r=i[1],a=i[2],l=i[3],s=parseInt(t,10);return 0===s?null:s-1+\"/\"+(parseInt(r,10)>>1)+\"/\"+(parseInt(a,10)>>1)+\"/\"+parseInt(l,10)}i.TileManager=s}));","// 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\",\"../../../webgl\",\"./RectangleBinPack\",\"../webgl/Rect\"],(function(t,i,e,s,h){\"use strict\";return function(){function t(t,i,e){void 0===e&&(e=0),this._size=[],this._mosaicsData=[],this._textures=[],this._dirties=[],this._maxItemSize=0,this._currentPage=0,this._pageWidth=0,this._pageHeight=0,this._mosaicRects={},this.pixelRatio=1,(t<=0||i<=0)&&console.error(\"Sprites mosaic defaultWidth and defaultHeight must be greater than zero!\"),this._pageWidth=t,this._pageHeight=i,e>0&&(this._maxItemSize=e),this._binPack=new s(t-4,i-4)}return t.prototype.getWidth=function(t){return t>=this._size.length?-1:this._size[t][0]},t.prototype.getHeight=function(t){return t>=this._size.length?-1:this._size[t][1]},t.prototype.setSpriteSource=function(t){if(this.dispose(),this.pixelRatio=t.devicePixelRatio,0===this._mosaicsData.length){this._binPack=new s(this._pageWidth-4,this._pageHeight-4);var i=Math.floor(this._pageWidth),e=Math.floor(this._pageHeight),h=new Uint32Array(i*e);this._mosaicsData[0]=h,this._dirties.push(!0),this._size.push([this._pageWidth,this._pageHeight]),this._textures.push(void 0)}this._sprites=t},t.prototype.getSpriteItem=function(t,i){void 0===i&&(i=!1);var e=this._mosaicRects[t];if(e)return e;if(!this._sprites||\"loaded\"!==this._sprites.loadStatus)return null;var s=this._sprites.getSpriteInfo(t);if(!s||!s.width||!s.height||s.width<0||s.height<0)return null;var h=s.width,r=s.height,a=this._allocateImage(h,r),o=a[0],n=a[1],p=a[2];return o.width<=0?null:(this._copy(o,s,n,p,i),e={rect:o,width:h,height:r,sdf:s.sdf,simplePattern:!1,pixelRatio:s.pixelRatio,page:n},this._mosaicRects[t]=e,e)},t.prototype.preloadSpriteItems=function(){for(var t=0,i=this._sprites.spriteNames;t=this._mosaicsData.length)){var o=new Uint32Array(a?a.buffer:this._sprites.image.buffer),n=this._mosaicsData[s];n&&o||console.error(\"Source or target images are uninitialized!\");var p=a?e.width:this._sprites.width;t._copyBits(o,p,e.x,e.y,n,h[0],i.x+2,i.y+2,e.width,e.height,r),this._dirties[s]=!0}},t.prototype._allocateImage=function(t,i){t+=2,i+=2;var e=Math.max(t,i);if(this._maxItemSize&&this._maxItemSize0:o<0},v=function(e,r){for(var t=e.coords,n=e.lengths,o=[],i=0,a=0;i0)return o.addRange(e,new s),i.resolve();if(o.getRange(e))return i.resolve();var c=256*e,g=c+255,f=this._baseURL.replace(\"{fontstack}\",t).replace(\"{range}\",c+\"-\"+g);return n(f,{responseType:\"array-buffer\"}).then((function(t){o.addRange(e,new s(new a(new Uint8Array(t.data),new DataView(t.data))))})).catch((function(){o.addRange(e,new s)}))},t.prototype.getGlyph=function(t,e){var n=this._getFontStack(t);if(n){var r=Math.floor(e/256);if(!(r>256)){var a=n.getRange(r);if(a)return{metrics:a.getMetrics(e),bitmap:a.getBitmap(e)}}}},t.prototype._getFontStack=function(t){var e=this._glyphInfo[t];return e||(e=this._glyphInfo[t]=new o),e},t}()}));","// 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\",\"../../../geometry\",\"../../../core/accessorSupport/decorators\",\"../../../geometry/Geometry\",\"../../../geometry/support/jsonUtils\",\"./ClipArea\"],(function(e,t,r,o,n,p,s,y){\"use strict\";var i={base:p,key:\"type\",typeMap:{extent:o.Extent,polygon:o.Polygon}};return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"geometry\",t.geometry=null,t}var o;return r.__extends(t,e),o=t,Object.defineProperty(t.prototype,\"version\",{get:function(){return(this._get(\"version\")||0)+1},enumerable:!1,configurable:!0}),t.prototype.clone=function(){return new o({geometry:this.geometry.clone()})},r.__decorate([n.property({types:i,json:{read:s.fromJSON,write:!0}})],t.prototype,\"geometry\",void 0),r.__decorate([n.property({readOnly:!0,dependsOn:[\"geometry\"]})],t.prototype,\"version\",null),t=o=r.__decorate([n.subclass(\"esri.views.layers.support.Geometry\")],t)}(y)}));","// 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/maybe\",\"../../../../core/promiseUtils\",\"../../../../geometry/support/aaBoundingRect\",\"./decluttering/debugging\",\"./decluttering/SymbolFader\",\"../webgl/enums\",\"../webgl/TileContainer\",\"../webgl/TiledDisplayObject\",\"../../tiling/TileCoverage\",\"../../tiling/TileKey\"],(function(e,t,r,i,s,o,n,a,l,d,h,c,p){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.VectorTileContainer=void 0;function u(e,t){if(e){var r=e.getLayoutProperty(\"visibility\");if(!r||\"none\"!==r.getValue()&&(void 0===e.minzoom||e.minzoom=t-1e-6))return!0}return!1}var y=function(e){function t(t){var r=e.call(this,t)||this;return r._backgroundTiles=[],r._pointToCallbacks=new Map,r._fading=!1,r}return r.__extends(t,e),t.prototype.destroy=function(){this.removeAllChildren(),this.children.forEach((function(e){return e.destroy()})),this._spriteMosaic&&this._spriteMosaic.dispose(),this._glyphMosaic&&this._glyphMosaic.dispose()},t.prototype.setStyleResources=function(e,t,r){var s=this;if(this._spriteMosaic=e,this._glyphMosaic=t,this._styleRepository=r,i.isNone(this._symbolFader)){var o=new a.SymbolFader(this._styleRepository.layers);o.on(\"fade-start\",(function(){s.emit(\"fade-start\"),s._fading=!0,s.requestRender()})),o.on(\"fade-complete\",(function(){s.emit(\"fade-complete\"),s._fading=!1,s.requestRender()})),this._symbolFader=o}i.unwrap(this._symbolFader).layers=r.layers},t.prototype.hitTest=function(e,t){return r.__awaiter(this,void 0,void 0,(function(){var i,o;return r.__generator(this,(function(r){return i=[e,t],o=s.createResolver(),this._pointToCallbacks.set(i,o),this.requestRender(),[2,o.promise]}))}))},t.prototype.enterTileInvalidation=function(){for(var e=0,t=this.children;e0){var r=t.context,i=r.getBoundFramebufferObject();t.drawPhase=l.WGLDrawPhase.HITTEST;var s=t.painter.effects.hittest;s.bind(t),this._doRender(t),s.draw(t,this._pointToCallbacks,6),r.bindFramebuffer(i)}}else e.prototype.renderChildren.call(this,t)},t.prototype.removeAllChildren=function(){for(var t=0;t0&&(t.renderPass=\"background\",this._renderBackgroundLayers(t,d.backgroundBucketIds)),e.prototype.renderChildren.call(this,t);var p=this.children.filter((function(e){return e.visible}));if(p&&0!==p.length){for(var u=0,y=p;u=0;f--)this._renderStyleLayer(f,t,p);a.setDepthWriteEnabled(!1),a.setBlendingEnabled(c),a.setBlendFunctionSeparate(1,771,1,771),t.renderPass=\"translucent\";for(f=0;f=a+1e-6||void 0!==o.maxzoom&&o.maxzoom=o.length?[2,null]:(l=o[a],(s=new r({attributes:{layerId:a,layerName:l.id}})).layer=this.layer,s.sourceLayer=this.layer,[2,s])):[2,null]}}))}))},t.prototype.update=function(e){if(this._tileHandlerPromise&&this._isTileHandlerPromiseFulfilled){if(e.pixelRatio!==this._tileHandler.devicePixelRatio)return this._start(),void(this._tileHandler.devicePixelRatio=e.pixelRatio);this._fetchQueue.pause(),this._parseQueue.pause(),this._fetchQueue.state=e.state,this._parseQueue.state=e.state,this._tileManager.update(e)||this.requestUpdate(),this._parseQueue.resume(),this._fetchQueue.resume()}},t.prototype.attach=function(){var e=this;this._start(),this._handles.add([this.layer.on(\"paint-change\",(function(){e._vectorTileContainer.restartDeclutter(),e._vectorTileContainer.requestRender()})),this.layer.on(\"layout-change\",(function(){e._vectorTileContainer.enterTileInvalidation(),e._issueStyleInvalidation(),e.notifyChange(\"updating\"),e.requestUpdate()}))])},t.prototype.detach=function(){this._stop(),this._handles.removeAll()},t.prototype.moveStart=function(){this.requestUpdate()},t.prototype.viewChange=function(){this.requestUpdate()},t.prototype.moveEnd=function(){this.requestUpdate()},t.prototype.canResume=function(){var t=e.prototype.canResume.call(this),i=this.layer;if(t&&i.currentStyleInfo){var r=this.view.scale,n=i.currentStyleInfo;if(n&&n.layerDefinition){var a=n.layerDefinition;a.minScale&&a.minScaler&&(t=!1)}}return t},t.prototype.isUpdating=function(){var e,t,i,r,n=this._vectorTileContainer.children;return!this._isTileHandlerPromiseFulfilled||null!==(t=null===(e=this._fetchQueue)||void 0===e?void 0:e.updating)&&void 0!==t&&t||null!==(r=null===(i=this._parseQueue)||void 0===i?void 0:i.updating)&&void 0!==r&&r||n.length>0&&n.filter((function(e){return e.invalidating})).length>0||this.fading},t.prototype.acquireTile=function(e){var t=this,i=this._createVectorTile(e);return this._tileHandlerPromise.then((function(){t.notifyChange(\"updating\"),t.updateTile(i)})),i},t.prototype.updateTile=function(e){var t=this;e.key&&this._fetchQueue.push(e.key).then((function(i){return t._parseQueue.push({key:e.key,data:i})})).then((function(i){e.once(\"attach\",(function(){return t.requestUpdate()})),i&&(e.setData(i.tileData),t.requestUpdate(),t.notifyChange(\"updating\"))})).catch((function(e){t.notifyChange(\"updating\"),l.isAbortError(e)||g.error(e)}))},t.prototype.releaseTile=function(e){var t=e.key.id;this._fetchQueue.abort(t),this._parseQueue.abort(t),this.requestUpdate()},t.prototype._start=function(){var e=this;if(this._stop(),this._tileManager=new c.TileManager({acquireTile:function(t){return e.acquireTile(t)},releaseTile:function(t){return e.releaseTile(t)},tileInfoView:this._tileInfoView},this._vectorTileContainer),this.layer.currentStyleInfo){var t=new AbortController,i=this._tileHandler.start({signal:t.signal}).then((function(){e._fetchQueue=new y({tileInfoView:e._tileInfoView,process:function(t,i){return e._getTileData(t,i)},concurrency:15}),e._parseQueue=new y({tileInfoView:e._tileInfoView,process:function(t,i){return e._parseTileData(t,i)},concurrency:8}),e.requestUpdate(),e._isTileHandlerPromiseFulfilled=!0}));this._tileHandler.spriteMosaic.then((function(t){e._vectorTileContainer.setStyleResources(t,e._tileHandler.glyphMosaic,e.layer.styleRepository),e.requestUpdate()})),this._tileHandlerAbortController=t,this._tileHandlerPromise=i}},t.prototype._stop=function(){if(this._tileHandlerAbortController&&this._vectorTileContainer){var e=this._tileHandlerAbortController;e&&e.abort(),this._tileHandlerPromise=null,this._isTileHandlerPromiseFulfilled=!1,this._fetchQueue&&(this._fetchQueue.destroy(),this._fetchQueue=null),this._parseQueue&&(this._parseQueue.destroy(),this._parseQueue=null),this._tileManager&&(this._tileManager.destroy(),this._tileManager=null),this._vectorTileContainer.removeAllChildren()}},t.prototype._getTileData=function(e,t){return i.__awaiter(this,void 0,void 0,(function(){var r;return i.__generator(this,(function(i){switch(i.label){case 0:return[4,this._tileHandler.fetchTileData(e,t)];case 1:return r=i.sent(),this.notifyChange(\"updating\"),[2,r]}}))}))},t.prototype._parseTileData=function(e,t){return i.__awaiter(this,void 0,void 0,(function(){return i.__generator(this,(function(i){return[2,this._tileHandler.parseTileData(e,t)]}))}))},t.prototype._issueStyleInvalidation=function(){var e=this;this.notifyChange(\"updating\"),this._tileHandlerAbortController.abort(),this._tileHandlerAbortController=l.createAbortController();var t=this._tileHandlerAbortController.signal;this._tileHandlerPromise=this._tileHandler.updateStyle().then((function(){t.aborted||e._tileHandler.spriteMosaic.then((function(i){t.aborted||(e._vectorTileContainer.setStyleResources(i,e._tileHandler.glyphMosaic,e.layer.styleRepository),e._updateTiles())}))}))},t.prototype._updateTiles=function(){this._tileManager.clearCache(),this._fetchQueue.pause(),this._parseQueue.pause(),this._fetchQueue.clear(),this._parseQueue.clear();for(var e=0,t=this._vectorTileContainer.children;e=o&&(a=!0),t=r&&a}return t},t.prototype.requestUpdate=function(){this.updateRequested||(this.updateRequested=!0,this.suspended||this.view.requestUpdate())},t.prototype.processUpdate=function(e){!this.isFulfilled()||this.isResolved()?(this._set(\"updateParameters\",e),this.updateRequested&&!this.suspended&&(this.updateRequested=!1,this.update(e))):this.updateRequested=!1},t.prototype.isUpdating=function(){return!1},t.prototype.isRendering=function(){return!1},t.prototype.canResume=function(){return!!e.prototype.canResume.call(this)&&this.isVisibleAtScale(this.view.scale)},i.__decorate([a.property({type:l,set:function(e){var t=o.referenceSetter(e,this._get(\"clips\"),l);this._set(\"clips\",t)}})],t.prototype,\"clips\",void 0),i.__decorate([a.property()],t.prototype,\"moving\",void 0),i.__decorate([a.property()],t.prototype,\"attached\",void 0),i.__decorate([a.property()],t.prototype,\"container\",void 0),i.__decorate([a.property({dependsOn:[\"view.scale\",\"layer.minScale\",\"layer.maxScale\"]})],t.prototype,\"suspended\",void 0),i.__decorate([a.property({readOnly:!0})],t.prototype,\"updateParameters\",void 0),i.__decorate([a.property()],t.prototype,\"updateRequested\",void 0),i.__decorate([a.property({dependsOn:[\"attached\",\"updateRequested\",\"suspended\"]})],t.prototype,\"updating\",null),i.__decorate([a.property()],t.prototype,\"view\",void 0),t=i.__decorate([a.subclass(\"esri.views.2d.layers.LayerView2D\")],t)}(e)}}));","// 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/accessorSupport/decorators\",\"./ClipArea\"],(function(t,e,r,o,p){\"use strict\";return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"rect\",e.left=null,e.right=null,e.top=null,e.bottom=null,e}var p;return r.__extends(e,t),p=e,e.prototype.clone=function(){return new p({left:this.left,right:this.right,top:this.top,bottom:this.bottom})},Object.defineProperty(e.prototype,\"version\",{get:function(){return(this._get(\"version\")||0)+1},enumerable:!1,configurable:!0}),r.__decorate([o.property({type:[Number,String],json:{write:!0}})],e.prototype,\"left\",void 0),r.__decorate([o.property({type:[Number,String],json:{write:!0}})],e.prototype,\"right\",void 0),r.__decorate([o.property({type:[Number,String],json:{write:!0}})],e.prototype,\"top\",void 0),r.__decorate([o.property({type:[Number,String],json:{write:!0}})],e.prototype,\"bottom\",void 0),r.__decorate([o.property({readOnly:!0,dependsOn:[\"left\",\"right\",\"top\",\"bottom\"]})],e.prototype,\"version\",null),e=p=r.__decorate([o.subclass(\"esri.views.layers.support.ClipRect\")],e)}(p)}));","// 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\",\"../../../../core/has\",\"../../../../core/promiseUtils\",\"../../../webgl\",\"./RectangleBinPack\",\"../webgl/Rect\"],(function(e,t,i,r,s,h,a){\"use strict\";var n;return function(){function e(e,t,r){this.width=0,this.height=0,this._dirties=[],this._glyphData=[],this._currentPage=0,this._glyphIndex={},this._textures=[],this._rangePromises=new Map,!n&&i(\"stable-symbol-rendering\")&&(n=new Set),this.width=e,this.height=t,this._glyphSource=r,this._binPack=new h(e-4,t-4),this._glyphData.push(new Uint8Array(e*t)),this._dirties.push(!0),this._textures.push(void 0)}return e.prototype.getGlyphItems=function(e,t){for(var s=this,o=[],l=this._glyphSource,g=new Set,d=0,p=t;d