????
Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/ |
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/35-es2015.js.map |
{"version":3,"sources":["./node_modules/arcgis-js-api/layers/VectorTileLayer.js","./node_modules/arcgis-js-api/layers/support/SpriteSource.js","./node_modules/arcgis-js-api/layers/support/vectorTileLayerLoader.js","./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/SchemaHelper.js","./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/style/VectorTileSource.js","./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/tileInfoUtils.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,wHAAgC,CAAC,wIAAwC,CAAC,4HAAkC,CAAC,8HAAmC,CAAC,0HAAiC,CAAC,gFAAY,CAAC,sFAAe,CAAC,wFAAgB,CAAC,wHAAgC,CAAC,oGAAsB,CAAC,4FAAkB,CAAC,4FAAkB,CAAC,gIAAoC,CAAC,gGAAoB,CAAC,oHAA8B,CAAC,kFAAS,CAAC,4HAA8B,CAAC,gHAAwB,CAAC,sHAA2B,CAAC,4GAAsB,CAAC,oHAA0B,CAAC,gHAAwB,CAAC,wGAAoB,CAAC,gHAAwB,CAAC,kIAAiC,CAAC,sHAA+B,CAAC,kJAA6C,CAAC,oJAA8C,CAAC,oKAAsD,CAAC,mCAAC,wEAAwE,mBAAmB,gBAAgB,2BAA2B,qKAAqK,0DAA0D,4BAA4B,MAAM,MAAM,2CAA2C,uCAAuC,0BAA0B,gBAAgB,gEAAgE,4BAA4B,EAAE,EAAE,8BAA8B,kCAAkC,uDAAuD,oBAAoB,oCAAoC,QAAQ,0BAA0B,gBAAgB,sHAAsH,IAAI,OAAO,UAAU,SAAS,4CA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DAAkD,sBAAsB,GAAG,6BAA6B,GAAG,6BAA6B,GAAG,kBAAkB,0CAA0C,iCAAiC,2DAA2D,uCAAuC,kDAAkD,4DAA4D,IAAI,KAAK,kBAAkB,yEAAyE,SAAS,GAAG,GAAG;AAAA,oGAAC,C;;;;;;;;;;;ACxBxmE;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,yHAAqC,CAAC,mCAAC,gBAAgB,gBAAgB,kBAAkB,wBAAwB,wBAAwB,0EAA0E,0BAA0B,uDAAuD,4CAA4C,wBAAwB,0BAA0B,mCAAmC,+CAA+C,SAAS,gBAAgB,kBAAkB,wBAAwB,wBAAwB,0CAA0C,0BAA0B,wPAAwP,IAAI,SAAS,6BAA6B,gBAAgB,cAAc,oEAAoE,EAAE,sCAAsC,SAAS,EAAE,WAAW,6CAA6C;AAAA,oGAAC,C","file":"35-es2015.js","sourcesContent":["// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../core/tsSupport/assignHelper\",\"../core/tsSupport/declareExtendsHelper\",\"../core/tsSupport/decorateHelper\",\"../core/tsSupport/generatorHelper\",\"../core/tsSupport/awaiterHelper\",\"../request\",\"../core/Error\",\"../core/global\",\"../core/MultiOriginJSONSupport\",\"../core/promiseUtils\",\"../core/urlUtils\",\"../core/urlUtils\",\"../core/accessorSupport/decorators\",\"../geometry/Extent\",\"../geometry/SpatialReference\",\"./Layer\",\"./mixins/ArcGISCachedService\",\"./mixins/ArcGISService\",\"./mixins/OperationalLayer\",\"./mixins/PortalLayer\",\"./mixins/ScaleRangeLayer\",\"./support/SpriteSource\",\"./support/TileInfo\",\"./support/TilemapCache\",\"./support/vectorTileLayerLoader\",\"../portal/support/jsonContext\",\"../views/2d/engine/vectorTiles/SchemaHelper\",\"../views/2d/engine/vectorTiles/tileInfoUtils\",\"../views/2d/engine/vectorTiles/style/StyleRepository\"],function(e,r,t,o,i,n,l,p,a,s,u,c,y,d,f,h,m,S,v,g,b,O,_,P,T,I,U,j,w,N,x){return function(e){function r(r,t){var o=e.call(this,r)||this;return o._spriteSourceMap=new Map,o.currentStyleInfo=null,o.style=null,o.isReference=null,o.operationalLayerType=\"VectorTileLayer\",o.type=\"vector-tile\",o.url=null,o}return o(r,e),r.prototype.normalizeCtorArgs=function(e,r){return\"string\"==typeof e?t({url:e},r):e},r.prototype.prefetchResources=function(e){return l(this,void 0,void 0,function(){return n(this,function(r){switch(r.label){case 0:return[4,this.loadSpriteSource(s.devicePixelRatio||1,e)];case 1:return r.sent(),[2]}})})},r.prototype.load=function(e){var r=this,o=this.loadFromPortal({supportedTypes:[\"Vector Tile Service\"],supportsData:!1},e).then(function(){return l(r,void 0,void 0,function(){var r,o;return n(this,function(i){switch(i.label){case 0:return this.portalItem&&this.portalItem.id?(r=this.portalItem.itemUrl+\"/resources/styles/root.json\",[4,p(r,t({},e,{query:{f:\"json\"}}))]):[2];case 1:return o=i.sent(),o.data&&this.read({url:r},j.createForItem(this.portalItem)),[2]}})})}).then(function(){return r._loadStyle(e)},function(){return r._loadStyle(e)});return this.addResolvingPromise(o),this.when()},Object.defineProperty(r.prototype,\"attributionDataUrl\",{get:function(){var e=this.currentStyleInfo,r=e&&e.serviceUrl&&d.urlToObject(e.serviceUrl);return r?this._getDefaultAttribution(r.path):null},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,\"capabilities\",{get:function(){var e=this._getPrimarySource();return e?e.capabilities:{operations:{supportsExportTiles:!1,supportsTileMap:!1},exportTiles:null}},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,\"fullExtent\",{get:function(){var e=this._getPrimarySource();return e?e.fullExtent:null},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,\"parsedUrl\",{get:function(){return this.serviceUrl?y.urlToObject(this.serviceUrl):null},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,\"serviceUrl\",{get:function(){return this.currentStyleInfo&&this.currentStyleInfo.serviceUrl||null},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,\"spatialReference\",{get:function(){return this.tileInfo&&this.tileInfo.spatialReference||null},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,\"styleUrl\",{get:function(){return this.currentStyleInfo&&this.currentStyleInfo.styleUrl||null},enumerable:!0,configurable:!0}),r.prototype.writeStyleUrl=function(e,r){e&&d.isProtocolRelative(e)&&(e=\"https:\"+e),r.styleUrl=e},Object.defineProperty(r.prototype,\"tileIndexType\",{get:function(){var e=this._getPrimarySource();return e?e.type:\"\"},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,\"tileIndexUrl\",{get:function(){var e=this._getPrimarySource();return e?e.tileMapURL:\"\"},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,\"tileInfo\",{get:function(){var e=[];for(var r in this.sourceNameToSource)e.push(this.sourceNameToSource[r]);var t=this._getPrimarySource().tileInfo;if(e.length>1)for(var o=0;o<e.length;o++)N.areSchemasOverlapping(t,e[o].tileInfo)&&(t=N.unionTileInfos(t,e[o].tileInfo));return t},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,\"tilemapCache\",{get:function(){var e=this._getPrimarySource();return e&&e.capabilities.operations.supportsTileMap?e.tilemapCache:null},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,\"tileServers\",{get:function(){var e=this._getPrimarySource();return e?e.tileServers:[]},enumerable:!0,configurable:!0}),r.prototype.readVersion=function(e,r){return r.version?parseFloat(r.version):parseFloat(r.currentVersion)},Object.defineProperty(r.prototype,\"compatibleTileInfo256\",{get:function(){return w.create256x256CompatibleTileInfo(this.tileInfo)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,\"compatibleTileInfo512\",{get:function(){return w.create512x512CompatibleTileInfo(this.tileInfo)},enumerable:!0,configurable:!0}),r.prototype.loadSpriteSource=function(e,r){return void 0===e&&(e=1),l(this,void 0,void 0,function(){var t,o;return n(this,function(i){return this._spriteSourceMap.has(e)||(t=new P.default(this.styleRepository.sprite,e),this._spriteSourceMap.set(e,t.load())),o=this._spriteSourceMap.get(e),[2,c.create(function(e,t){o.then(e,t),c.onAbortOrThrow(r,t)})]})})},r.prototype.loadStyle=function(e,r){return l(this,void 0,void 0,function(){var t,o,i,l=this;return n(this,function(n){return t=e||this.style||this.url,this._loadingPromise&&\"string\"==typeof t&&this.url===t&&!c.isAborted(this._abortController)?[2,this._loadingPromise]:(o=this._abortController,o&&o.abort(),i=c.createAbortController(),this._loadingPromise=c.create(function(e,o){var n={signal:i.signal};l._spriteSourceMap.clear(),l._getSourceAndStyle(t,n).then(e,o),c.onAbort(r,function(){i.abort()})}),this._abortController=i,[2,this._loadingPromise])})})},r.prototype.getStyleLayerId=function(e){return this.styleRepository.getStyleLayerId(e)},r.prototype.getPaintProperties=function(e){return this.styleRepository.getPaintProperties(e)},r.prototype.setPaintProperties=function(e,r){var t=this.styleRepository.isPainterDataDriven(e),o=this.styleRepository.setPaintProperties(e,r),i=this.styleRepository.isPainterDataDriven(e);this.emit(\"paint-change\",{layer:o,paint:r}),(t||i)&&this.emit(\"layout-change\",{layer:o,layout:this.styleRepository.getLayoutProperties(e)})},r.prototype.getLayoutProperties=function(e){return this.styleRepository.getLayoutProperties(e)},r.prototype.setLayoutProperties=function(e,r){var t=this.styleRepository.setLayoutProperties(e,r);this.emit(\"layout-change\",{layer:t,layout:r})},r.prototype.getTileUrl=function(e,r,t){var o=this.tileServers[r%this.tileServers.length];return o=o.replace(/\\{z\\}/gi,e.toString()).replace(/\\{y\\}/gi,r.toString()).replace(/\\{x\\}/gi,t.toString())},r.prototype.write=function(e,r){return r&&r.origin&&!this.styleUrl?(r.messages&&r.messages.push(new a(\"vectortilelayer:unsupported\",\"VectorTileLayer (\"+this.title+\", \"+this.id+\") with style defined by JSON only are not supported\",{layer:this})),null):this.inherited(arguments,[e,r])},r.prototype._getSourceAndStyle=function(e,r){return l(this,void 0,void 0,function(){var t;return n(this,function(o){switch(o.label){case 0:if(!e)throw new Error(\"invalid style!\");return[4,U.loadMetadata(e,r)];case 1:return t=o.sent(),this._set(\"currentStyleInfo\",{serviceUrl:t.serviceUrl,styleUrl:t.styleUrl,spriteUrl:t.spriteUrl,glyphsUrl:t.glyphsUrl,style:t.style,layerDefinition:t.layerDefinition}),\"string\"==typeof e?(this.url=e,this.style=null):(this.url=null,this.style=e),this._set(\"sourceNameToSource\",t.sourceNameToSource),this._set(\"primarySourceName\",t.primarySourceName),this._set(\"styleRepository\",new x(t.style,t)),this.read(t.layerDefinition,{origin:\"service\"}),[2]}})})},r.prototype._getDefaultAttribution=function(e){var r=e.match(/^https?:\\/\\/(basemaps|basemapsbeta|basemapsdev)\\.arcgis\\.com(\\/[^\\/]+)?\\/arcgis\\/rest\\/services\\/([^\\/]+(\\/[^\\/]+)*)\\/vectortileserver/i),t=[\"OpenStreetMap_v2\",\"OpenStreetMap_Export_v2\",\"OpenStreetMap_FTS_v2\",\"OpenStreetMap_GCS_v2\",\"World_Basemap\",\"World_Basemap_v2\",\"World_Basemap_Export_v2\",\"World_Basemap_GCS_v2\",\"World_Basemap_WGS84\"];if(r){var o=r[3]&&r[3].toLowerCase();if(o)for(var i=r[2]||\"\",n=0,l=t;n<l.length;n++){var p=l[n];if(p.toLowerCase().indexOf(o)>-1)return d.normalize(\"//static.arcgis.com/attribution/Vector\"+i+\"/\"+p)}}},r.prototype._getPrimarySource=function(){return this.sourceNameToSource&&this.primarySourceName in this.sourceNameToSource?this.sourceNameToSource[this.primarySourceName]:null},r.prototype._loadStyle=function(e){return l(this,void 0,void 0,function(){return n(this,function(r){return this._loadingPromise?[2,this._loadingPromise]:[2,this.loadStyle(null,e)]})})},i([f.property({readOnly:!0,dependsOn:[\"currentStyleInfo\"]})],r.prototype,\"attributionDataUrl\",null),i([f.property({type:[\"show\",\"hide\"]})],r.prototype,\"listMode\",void 0),i([f.property({json:{read:!1},readOnly:!0,dependsOn:[\"sourceNameToSource\",\"primarySourceName\"]})],r.prototype,\"capabilities\",null),i([f.property({readOnly:!0})],r.prototype,\"currentStyleInfo\",void 0),i([f.property({json:{read:!1},readOnly:!0,type:h,dependsOn:[\"sourceNameToSource\",\"primarySourceName\"]})],r.prototype,\"fullExtent\",null),i([f.property()],r.prototype,\"style\",void 0),i([f.property({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:function(){return{enabled:!1}}}}})],r.prototype,\"isReference\",void 0),i([f.property({type:[\"VectorTileLayer\"]})],r.prototype,\"operationalLayerType\",void 0),i([f.property({readOnly:!0,dependsOn:[\"serviceUrl\"]})],r.prototype,\"parsedUrl\",null),i([f.property({readOnly:!0,dependsOn:[\"currentStyleInfo\"]})],r.prototype,\"serviceUrl\",null),i([f.property({type:m,dependsOn:[\"tileInfo\"],readOnly:!0})],r.prototype,\"spatialReference\",null),i([f.property({readOnly:!0})],r.prototype,\"styleRepository\",void 0),i([f.property({readOnly:!0})],r.prototype,\"sourceNameToSource\",void 0),i([f.property({readOnly:!0})],r.prototype,\"primarySourceName\",void 0),i([f.property({type:String,readOnly:!0,dependsOn:[\"currentStyleInfo\"],json:{write:{ignoreOrigin:!0},origins:{\"web-document\":{write:{ignoreOrigin:!0,isRequired:!0}}}}})],r.prototype,\"styleUrl\",null),i([f.writer([\"portal-item\",\"web-document\"],\"styleUrl\")],r.prototype,\"writeStyleUrl\",null),i([f.property({json:{read:!1},readOnly:!0,dependsOn:[\"sourceNameToSource\",\"primarySourceName\"]})],r.prototype,\"tileIndexType\",null),i([f.property({json:{read:!1},readOnly:!0,dependsOn:[\"sourceNameToSource\",\"primarySourceName\"]})],r.prototype,\"tileIndexUrl\",null),i([f.property({json:{read:!1,origins:{service:{read:!1}}},readOnly:!0,type:T,dependsOn:[\"sourceNameToSource\",\"primarySourceName\"]})],r.prototype,\"tileInfo\",null),i([f.property({json:{read:!1},readOnly:!0,type:I.TilemapCache,dependsOn:[\"sourceNameToSource\",\"primarySourceName\"]})],r.prototype,\"tilemapCache\",null),i([f.property({json:{read:!1},readOnly:!0,dependsOn:[\"sourceNameToSource\",\"primarySourceName\"]})],r.prototype,\"tileServers\",null),i([f.property({json:{read:!1},readOnly:!0,value:\"vector-tile\"})],r.prototype,\"type\",void 0),i([f.property({json:{origins:{\"web-document\":{read:{source:\"styleUrl\"}},\"portal-item\":{read:{source:\"url\"}}},write:!1,read:!1}})],r.prototype,\"url\",void 0),i([f.property({readOnly:!0})],r.prototype,\"version\",void 0),i([f.reader(\"version\",[\"version\",\"currentVersion\"])],r.prototype,\"readVersion\",null),i([f.property({readOnly:!0,dependsOn:[\"tileInfo\"]})],r.prototype,\"compatibleTileInfo256\",null),i([f.property({readOnly:!0,dependsOn:[\"tileInfo\"]})],r.prototype,\"compatibleTileInfo512\",null),r=i([f.subclass(\"esri.layers.VectorTileLayer\")],r)}(f.declared(_.ScaleRangeLayer(v.ArcGISCachedService(g.ArcGISService(b.OperationalLayer(O.PortalLayer(u.MultiOriginJSONMixin(S))))))))});","// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../core/tsSupport/extendsHelper\",\"../../core/tsSupport/decorateHelper\",\"../../core/tsSupport/assignHelper\",\"../../core/tsSupport/generatorHelper\",\"../../core/tsSupport/awaiterHelper\",\"../../request\",\"../../core/Error\",\"../../core/has\",\"../../core/Logger\",\"../../core/promiseUtils\"],function(e,t,r,i,a,s,o,n,h,l,u,p){Object.defineProperty(t,\"__esModule\",{value:!0});var d=u.getLogger(\"esri.layers.support.SpriteSource\"),c=function(){function e(e,t){this.baseURL=e,this.devicePixelRatio=t,this._isRetina=!1,this._spritesData={},this.image=null,this.width=null,this.height=null,this.loadStatus=\"not-loaded\"}return Object.defineProperty(e.prototype,\"spriteNames\",{get:function(){var e=[];for(var t in this._spritesData)e.push(t);return e.sort(),e},enumerable:!0,configurable:!0}),e.prototype.getSpriteInfo=function(e){return this._spritesData[e]},e.prototype.load=function(e){return o(this,void 0,void 0,function(){var t;return s(this,function(r){switch(r.label){case 0:if(p.throwIfAborted(e),this.loadStatus=\"loading\",!this.baseURL)return[2,p.resolve(this)];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this._loadSprites(e)];case 2:return r.sent(),this.loadStatus=\"loaded\",[3,4];case 3:return t=r.sent(),this.loadStatus=\"failed\",[3,4];case 4:return[2,this]}})})},e.prototype._loadSprites=function(e){var t=this;this._isRetina=this.devicePixelRatio>1.15;var r=this.baseURL,i=this._isRetina?\"@2x\":\"\",s=\"\"+r+i+\".png\";return p.all([n(r+i+\".json\",e),n(s,a({responseType:\"image\"},e))]).then(function(e){var i=e[0],a=e[1],s=Object.keys(i.data);if(!s||0===s.length||1===s.length&&\"_ssl\"===s[0]||!a||!a.data)return t._spritesData=t.image=null,t.width=t.height=0,p.resolve(null);t._spritesData=i.data;var o=a.data,n=Math.max(l(\"esri-webgl-max-texture-size\"),4096);if(o.width>n||o.height>n){var u=\"Sprite resource for style \"+r+\" is bigger than the maximum allowed of \"+n+\" pixels}\";throw d.error(u),new h(\"SpriteSource\",u)}t.width=o.width,t.height=o.height;var c=document.createElement(\"canvas\"),g=c.getContext(\"2d\");c.width=o.width,c.height=o.height,g.drawImage(o,0,0,o.width,o.height);for(var f,v=g.getImageData(0,0,o.width,o.height),w=new Uint8Array(v.data),S=0;S<w.length;S+=4)f=w[S+3]/255,w[S]=w[S]*f,w[S+1]=w[S+1]*f,w[S+2]=w[S+2]*f;t.image=w})},e}();t.default=c});","// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../core/tsSupport/assignHelper\",\"../../core/tsSupport/generatorHelper\",\"../../core/tsSupport/awaiterHelper\",\"../../config\",\"../../request\",\"../../core/promiseUtils\",\"../../core/urlUtils\",\"../../views/2d/engine/vectorTiles/style/VectorTileSource\"],function(e,r,t,l,s,o,n,i,u,a){function c(e,r){return s(this,void 0,void 0,function(){var t,s,o,n,i,a;return l(this,function(l){switch(l.label){case 0:return t={source:null,sourceBase:null,sourceUrl:null,validatedSource:null,style:null,styleBase:null,styleUrl:null,sourceNameToSource:{},primarySourceName:\"\"},s=\"string\"==typeof e?[e,null]:[null,e.jsonUrl],o=s[0],n=s[1],i=o?u.urlToObject(o):null,[4,y(t,\"esri\",e,n,r)];case 1:return l.sent(),a={layerDefinition:t.validatedSource,url:o,parsedUrl:i,serviceUrl:t.sourceUrl,style:t.style,styleUrl:t.styleUrl,spriteUrl:t.style.sprite&&p(t.styleBase,t.style.sprite),glyphsUrl:t.style.glyphs&&p(t.styleBase,t.style.glyphs),sourceNameToSource:t.sourceNameToSource,primarySourceName:t.primarySourceName},f(a.spriteUrl),f(a.glyphsUrl),[2,a]}})})}function f(e){if(e){var r=u.getOrigin(e);U&&-1===U.indexOf(r)&&U.push(r)}}function p(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var t=void 0,l=0;l<e.length;++l)if(u.isProtocolRelative(e[l])){if(t){var s=t.split(\"://\")[0];t=s+\":\"+e[l].trim()}}else t=u.isAbsolute(e[l])?e[l]:u.join(t,e[l]);return u.removeTrailingSlash(t)}function y(e,r,o,a,c){return s(this,void 0,void 0,function(){var s,p,y,S,U,g;return l(this,function(l){switch(l.label){case 0:return i.throwIfAborted(c),\"string\"!=typeof o?[3,2]:(S=u.normalize(o),f(S),U=u.urlToObject(S),[4,n(U.path,t({query:{f:\"json\"},responseType:\"json\"},c))]);case 1:return y=l.sent(),s=S,p=S,[3,3];case 2:y={data:o},s=o.jsonUrl||null,p=a,l.label=3;case 3:return g=y.data,y.ssl&&(s&&(s=s.replace(/^http:/i,\"https:\")),p&&(p=p.replace(/^http:/i,\"https:\"))),d(g)?(e.styleUrl=s||null,[2,m(e,g,p,c)]):h(g)?e.sourceUrl?[2,v(e,g,p,!1,r,c)]:(e.sourceUrl=s||null,[2,v(e,g,p,!0,r,c)]):[2,i.reject(\"You must specify the URL or the JSON for a service or for a style.\")]}})})}function d(e){return!!e.sources}function h(e){return!d(e)}function m(e,r,t,o){return s(this,void 0,void 0,function(){var s,n,a,c,d,h;return l(this,function(l){switch(l.label){case 0:return s=t?u.removeFile(t):u.appBaseUrl,(e.styleBase=s,e.style=r,e.styleUrl&&f(e.styleUrl),n=[],r.sources&&r.sources.esri)?(a=r.sources.esri,a.url?[4,y(e,\"esri\",p(s,a.url),void 0,o)]:[3,2]):[3,3];case 1:return l.sent(),[3,3];case 2:n.push(y(e,\"esri\",a,s,o)),l.label=3;case 3:for(c=0,d=Object.keys(r.sources);c<d.length;c++)\"esri\"!==(h=d[c])&&\"vector\"===r.sources[h].type&&(r.sources[h].url?n.push(y(e,h,p(s,r.sources[h].url),void 0,o)):n.push(y(e,h,r.sources[h],s,o)));return[4,i.all(n)];case 4:return l.sent(),[2]}})})}function v(e,r,t,o,n,c){return s(this,void 0,void 0,function(){var s,d,h,m;return l(this,function(l){if(s=t?u.removeTrailingSlash(t)+\"/\":u.appBaseUrl,d=S(r,s),h=new a(n,s,d),!o&&e.primarySourceName in e.sourceNameToSource){if(m=e.sourceNameToSource[e.primarySourceName],!m.isCompatibleWith(h))return[2,i.resolve()];null!=h.fullExtent&&(null!=m.fullExtent?m.fullExtent.union(h.fullExtent):m.fullExtent=h.fullExtent.clone()),m.tileInfo.lods.length<h.tileInfo.lods.length&&(m.tileInfo=h.tileInfo)}return o?(e.sourceBase=s,e.source=r,e.validatedSource=d,e.primarySourceName=n,e.sourceUrl&&f(e.sourceUrl)):f(s),e.sourceNameToSource[n]=h,e.style?[2]:null==r.defaultStyles?[2,i.reject()]:\"string\"==typeof r.defaultStyles?[2,y(e,\"\",p(s,r.defaultStyles,\"root.json\"),void 0,c)]:[2,y(e,\"\",r.defaultStyles,p(s,\"root.json\"),c)]})})}function S(e,r){if(e.hasOwnProperty(\"tileInfo\"))return e;for(var t={xmin:-20037507.067161843,ymin:-20037507.067161843,xmax:20037507.067161843,ymax:20037507.067161843,spatialReference:{wkid:102100}},l=78271.51696400007,s=295828763.7957775,o=[],n=e.hasOwnProperty(\"minzoom\")?parseFloat(e.minzoom):0,i=e.hasOwnProperty(\"maxzoom\")?parseFloat(e.maxzoom):16,u=0;u<=i;u++)u>=n&&o.push({level:u,scale:s,resolution:l}),l/=2,s/=2;for(var a=0,c=e.tiles;a<c.length;a++){f(p(r,c[a]))}return{capabilities:\"TilesOnly\",initialExtent:t,fullExtent:t,minScale:o[0].scale,maxScale:o[o.length-1].scale,tiles:e.tiles,tileInfo:{rows:512,cols:512,dpi:96,format:\"pbf\",origin:{x:-20037508.342787,y:20037508.342787},lods:o,spatialReference:{wkid:102100}}}}Object.defineProperty(r,\"__esModule\",{value:!0});var U=o.defaults&&o.defaults.io.corsEnabledServers;r.loadMetadata=c});","// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../../layers/support/LOD\",\"../../../../layers/support/TileInfo\"],function(e,i,t,r){return function(){function e(e,i){this.lockedSchemaPixelSize=e,this.isGCS=i}return e.prototype.getLevelRowColumn=function(e){return this.isGCS?[e[0],e[1]>>1,e[2]>>1]:256===this.lockedSchemaPixelSize&&e[0]>0?[e[0]-1,e[1]>>1,e[2]>>1]:e},e.prototype.adjustLevel=function(e){return this.isGCS?e:256===this.lockedSchemaPixelSize?e>0?e-1:0:e},e.prototype.getShift=function(e,i){var t=0,r=0;return(256===this.lockedSchemaPixelSize||this.isGCS)&&(e[2]%2&&(t=i),e[1]%2&&(r=i)),[t,r]},e.prototype.getScale=function(e){if(this.isGCS){if(512===this.lockedSchemaPixelSize)return 4}else if(256===this.lockedSchemaPixelSize&&0===e)return 1;return 2},e.create256x256CompatibleTileInfo=function(e){if(!e)return null;if(256===e.size[0]&&256===e.size[1])return e;for(var i=e.spatialReference.isGeographic,o=[],l=e.lods.length,n=0;n<l;n++){var s=e.lods[n],a=i?s.resolution:2*s.resolution;o.push(new t({level:s.level,scale:s.scale,resolution:a}))}return new r({size:[256,256],dpi:e.dpi,format:e.format,compressionQuality:e.compressionQuality,origin:e.origin,spatialReference:e.spatialReference,lods:o})},e.create512x512CompatibleTileInfo=function(e){if(!e)return null;if(256===e.size[0]||256===e.size[1])return null;for(var i=[],o=e.lods.length,l=0;l<o;l++){var n=e.lods[l],s=.5*n.resolution;i.push(new t({level:n.level,scale:n.scale,resolution:s}))}return new r({size:[512,512],dpi:e.dpi,format:e.format,compressionQuality:e.compressionQuality,origin:e.origin,spatialReference:e.spatialReference,lods:i})},e}()});","// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../../../core/tsSupport/generatorHelper\",\"../../../../../core/tsSupport/awaiterHelper\",\"../../../../../core/lang\",\"../../../../../core/urlUtils\",\"../../../../../geometry/Extent\",\"../../../../../layers/support/serviceTileInfoProperty\",\"../../../../../layers/support/TilemapCache\",\"../TileIndex\"],function(e,t,i,r,l,n,o,s,a,p){return function(){function e(e,t,i){this.tileMapURL=\"\",this.tilemapCache=null,this.parsedUrl=null,this.tileInfo=null,this.capabilities=null,this.tileIndex=null,this.fullExtent=null,this.name=e,this.sourceUrl=t,t&&(this.parsedUrl=n.urlToObject(this.sourceUrl));var r=l.clone(i),u=r.tiles;t&&u.forEach(function(e,i){n.isAbsolute(e)||(u[i]=n.join(t,e))}),this.tileServers=u,i.tileMap&&(this.tileMapURL=n.join(t,i.tileMap));var h=i.capabilities&&i.capabilities.split(\",\").map(function(e){return e.toLowerCase().trim()}),c=!!i.exportTilesAllowed,f=!!h&&-1!==h.indexOf(\"tilemap\"),d=c&&i.hasOwnProperty(\"maxExportTilesCount\")?i.maxExportTilesCount:0;this.capabilities={operations:{supportsExportTiles:c,supportsTileMap:f},exportTiles:c?{maxExportTilesCount:+d}:null},this.tileInfo=s.readServiceTileInfo(r.tileInfo,r,null,{ignoreMinMaxLOD:!0}),f&&(this.type=\"vector-tile\",this.tilemapCache=new a.TilemapCache({layer:this}),this.tilemapCache&&(this.tileIndex=new p(this.tilemapCache))),this.fullExtent=o.fromJSON(i.fullExtent)}return e.prototype.getRefKey=function(e,t){return r(this,void 0,void 0,function(){return i(this,function(i){return this.tileIndex?[2,this.tileIndex.dataKey(e,t)]:[2,e]})})},e.prototype.getSourceTileUrl=function(e,t,i){var r=this.tileServers[t%this.tileServers.length];return r=r.replace(/\\{z\\}/gi,e.toString()).replace(/\\{y\\}/gi,t.toString()).replace(/\\{x\\}/gi,i.toString())},e.prototype.isCompatibleWith=function(e){var t=this.tileInfo,i=e.tileInfo;if(!t.spatialReference.equals(i.spatialReference))return!1;if(!t.origin.equals(i.origin))return!1;if(Math.round(t.dpi)!==Math.round(i.dpi))return!1;for(var r=t.lods,l=i.lods,n=Math.min(r.length,l.length),o=0;o<n;o++){var s=r[o],a=l[o];if(s.level!==a.level||Math.round(s.scale)!==Math.round(a.scale))return!1}return!0},e}()});","// COPYRIGHT © 2019 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.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../../layers/support/TileInfo\"],function(e,l,r){function s(e,l){if(e===l)return!0;if(!e&&null!=l)return!1;if(null!=e&&!l)return!1;if(!e.spatialReference.equals(l.spatialReference)||e.dpi!==l.dpi)return!1;var r=e.origin,s=l.origin;if(Math.abs(r.x-s.x)>=o||Math.abs(r.y-s.y)>=o)return!1;var n,i,a=e.lods[0].scale,t=l.lods[0].scale;a>t?(n=e,i=l):(i=e,n=l);for(var u=n.lods[0].scale;u>=i.lods[i.lods.length-1].scale-o;u/=2)if(Math.abs(u-i.lods[0].scale)<o)return!0;return!1}function n(e,l){if(e===l)return e;if(!e&&null!=l)return l;if(null!=e&&!l)return e;for(var s=e.size[0],n=e.format,o=e.dpi,i={x:e.origin.x,y:e.origin.y},a=e.spatialReference.toJSON(),t=e.lods[0].scale>l.lods[0].scale?e.lods[0]:l.lods[0],u=e.lods[e.lods.length-1].scale<=l.lods[l.lods.length-1].scale?e.lods[e.lods.length-1]:l.lods[l.lods.length-1],d=t.scale,f=t.resolution,c=u.scale,p=[],g=d,h=f,v=0;g>c;)p.push({level:v,resolution:h,scale:g}),v++,g/=2,h/=2;return new r({size:[s,s],dpi:o,format:n||\"pbf\",origin:i,lods:p,spatialReference:a})}Object.defineProperty(l,\"__esModule\",{value:!0});var o=1e-6;l.areSchemasOverlapping=s,l.unionTileInfos=n});"],"sourceRoot":"webpack:///"}