{"version":3,"sources":["webpack:///./node_modules/arcgis-js-api/views/support/drapedUtils.js","webpack:///./node_modules/arcgis-js-api/views/3d/layers/TileLayerView3D.js","webpack:///./node_modules/arcgis-js-api/views/layers/TileLayerView.js","webpack:///./node_modules/arcgis-js-api/renderers/support/clickToleranceUtils.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,2BAAgB,CAAC,2BAAkB,CAAC,2BAAsB,CAAC,2BAA6C,CAAC,mCAAE,sBAAsB,aAAa,oBAAoB,MAAM,+DAA+D,uBAAuB,gFAAgF,gJAAgJ,yDAAyD,kHAAkH,sCAAsC,SAAS,6HAA6H,iBAAiB,8EAA8E,mBAAmB;AAAA,oGAAE,C;;;;;;;ACxBr8B;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,2BAAqB,CAAC,2BAA4B,CAAC,2BAA0C,CAAC,2BAAe,CAAC,2BAAoB,CAAC,2BAA2B,CAAC,2BAA4B,CAAC,2BAAwB,CAAC,2BAAmC,CAAC,2BAA4B,CAAC,2BAA2B,CAAC,mCAAE,wCAAwC,aAAa,mBAAmB,aAAa,+CAA+C,iFAAiF,eAAe,yCAAyC,+BAA+B,4DAA4D,eAAe,2CAA2C,+BAA+B,sDAAsD,eAAe,kBAAkB,4DAA4D,0CAA0C,OAAO,uBAAuB,+BAA+B,oCAAoC,iCAAiC,kGAAkG,iDAAiD,4QAA4Q,kFAAkF,2IAA2I,iEAAiE,4CAA4C,mCAAmC,kDAAkD,uCAAuC,0DAA0D,GAAG,G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AAE,C","file":"js/chunk-16848de3.68b4657a.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\",\"../../geometry\",\"../../core/maybe\",\"../../core/unitUtils\",\"../../renderers/support/clickToleranceUtils\"],(function(e,r,t,a,n,i){\"use strict\";function s(e,r,a,i){var s;if(void 0===i&&(i=new t.Extent),\"2d\"===a.type)s=r*a.resolution;else if(\"3d\"===a.type){var o=a.basemapTerrain,l=o.overlayManager,c=l?l.overlayPixelSizeInMapUnits(e):1;s=o&&!o.spatialReference.equals(a.spatialReference)?n.getMetersPerUnitForSR(o.spatialReference)/n.getMetersPerUnitForSR(a.spatialReference):r*c}var u=e.x-s,p=e.y-s,y=e.x+s,m=e.y+s,f=a.spatialReference;return i.xmin=Math.min(u,y),i.ymin=Math.min(p,m),i.xmax=Math.max(u,y),i.ymax=Math.max(p,m),i.spatialReference=f,i}Object.defineProperty(r,\"__esModule\",{value:!0}),r.intersectsDrapedGeometry=r.createQueryGeometry=void 0,r.createQueryGeometry=s,r.intersectsDrapedGeometry=function(e,r,t){var n=t.toMap(e);return a.isNone(n)?null:s(n,i.calculateTolerance(),t,o).intersects(r)?n:null};var o=new t.Extent}));","// 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/maybe\",\"../../../core/promiseUtils\",\"../../../core/accessorSupport/decorators\",\"./LayerView3D\",\"./TiledLayerView3D\",\"./support/tiledLayerUtils\",\"../support/projectionUtils\",\"../../layers/LayerView\",\"../../layers/RefreshableLayerView\",\"../../layers/TileLayerView\",\"../../support/drapedUtils\"],(function(e,t,r,i,a,o,n,l,s,p,y,c,u,f,d){\"use strict\";return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),Object.defineProperty(t.prototype,\"imageFormatIsOpaque\",{get:function(){return\"jpg\"===this.layer.tileInfo.format},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"hasMixedImageFormats\",{get:function(){return\"mixed\"===this.layer.tileInfo.format},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"dataLevelRange\",{get:function(){if(this.tileInfo){var e=this.tileInfo.lods,t=e[0].scale,r=e[e.length-1].scale;return this.levelRangeFromScaleRange(t,r)}return{minLevel:0,maxLevel:0}},enumerable:!1,configurable:!0}),t.prototype.initialize=function(){if(\"web-tile\"===this.layer.type){var e=this.layer.get(\"fullExtent.spatialReference\"),t=this.layer.get(\"tileInfo.spatialReference\");if(a.isNone(e)||a.isNone(t)||!y.canProject(e,t)){var r=\"defaults\"===this.layer.originOf(\"fullExtent\")||a.isNone(this.layer.fullExtent)?\"SceneView requires fullExtent to be specified by the user on WebTileLayer\":\"SceneView requires fullExtent to be specified in the same spatial reference as tileInfo on WebTileLayer\";this.addResolvingPromise(o.reject(new i(\"layerview:incompatible-fullextent\",r)))}}this._addTilingSchemeMatchPromise(),\"version\"in this.layer&&this.addResolvingPromise(p.checkArcGISServiceVersionCompatibility(this.layer))},t.prototype.createFetchPopupFeaturesQueryGeometry=function(e,t){return d.createQueryGeometry(e,t,this.view)},t.prototype.doRefresh=function(e){return r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(e){return this.suspended?[2]:(this.emit(\"data-changed\"),[2])}))}))},r.__decorate([n.property({readOnly:!0,dependsOn:[\"layer.tileInfo.format\"]})],t.prototype,\"imageFormatIsOpaque\",null),r.__decorate([n.property({readOnly:!0,dependsOn:[\"layer.tileInfo.format\"]})],t.prototype,\"hasMixedImageFormats\",null),r.__decorate([n.property({aliasOf:\"layer.fullExtent\"})],t.prototype,\"fullExtent\",void 0),r.__decorate([n.property()],t.prototype,\"layer\",void 0),r.__decorate([n.property({aliasOf:\"layer.tileInfo\"})],t.prototype,\"tileInfo\",void 0),r.__decorate([n.property({readOnly:!0,dependsOn:[\"tileInfo\",\"view.basemapTerrain.tilingScheme\",\"layer.url\"]})],t.prototype,\"dataLevelRange\",null),t=r.__decorate([n.subclass(\"esri.views.3d.layers.TileLayerView3D\")],t)}(u.RefreshableLayerView(s.TiledLayerView3D(f.TileLayerView(l.LayerView3D(c)))))}));","// 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/maybe\",\"../../core/promiseUtils\",\"../../core/accessorSupport/decorators\",\"../../renderers/support/clickToleranceUtils\"],(function(e,r,t,i,a,n,o,u){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.TileLayerView=void 0,r.TileLayerView=function(e){return function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return t.__extends(r,e),r.prototype.fetchPopupFeatures=function(e,r){return t.__awaiter(this,void 0,void 0,(function(){var o,c,l,s=this;return t.__generator(this,(function(p){return o=this.layer,e?\"tile\"!==o.type?[2,n.reject(new i(\"tilelayerview:fetchPopupFeatures\",\"Layer type should be 'tile'\",{type:o.type}))]:(c=this.get(\"view.scale\"),l=o.allSublayers.toArray().filter((function(e){var r=0===e.minScale||c<=e.minScale,t=0===e.maxScale||c>=e.maxScale;return e.popupTemplate&&e.popupEnabled&&e.visible&&r&&t})),[2,n.eachAlways(l.map((function(i){return t.__awaiter(s,void 0,void 0,(function(){var n,o,c,l;return t.__generator(this,(function(t){switch(t.label){case 0:return n=i.createQuery(),o=a.isSome(r)?r.event:null,c=u.calculateTolerance({renderer:i.renderer,event:o}),n.geometry=this.createFetchPopupFeaturesQueryGeometry(e,c),l=n,[4,i.popupTemplate.getRequiredFields()];case 1:return l.outFields=t.sent(),[4,i.queryFeatures(n)];case 2:return[2,t.sent().features]}}))}))}))).then((function(e){return[].concat.apply([],e.map((function(e){return e.value})).filter(Boolean))}))]):[2,n.reject(new i(\"tilelayerview:fetchPopupFeatures\",\"Nothing to fetch without area\",{layer:o}))]}))}))},t.__decorate([o.property()],r.prototype,\"layer\",void 0),r=t.__decorate([o.subclass(\"esri.layers.mixins.TileLayerView\")],r)}(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\"],(function(e,r){\"use strict\";function t(e,r){return r?\"xoffset\"in r&&r.xoffset?Math.max(e,Math.abs(r.xoffset)):\"yoffset\"in r&&r.yoffset?Math.max(e,Math.abs(r.yoffset||0)):e:e}function n(e,r){return\"number\"==typeof e?e:e&&e.stops&&e.stops.length?function(e){for(var r=0,t=0,n=0;n