????

Your IP : 3.17.152.174


Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/
Upload File :
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/26-es5.js.map

{"version":3,"sources":["webpack:///node_modules/arcgis-js-api/layers/TileLayer.js"],"names":["e","r","t","i","o","a","n","s","p","l","c","u","y","d","f","v","h","S","g","m","_","b","O","T","L","R","I","A","call","listMode","isReference","resampling","sourceJSON","spatialReference","path","sublayers","type","url","prototype","normalizeCtorArgs","load","isSome","signal","addResolvingPromise","loadFromPortal","supportedTypes","then","_fetchService","when","Object","defineProperty","get","_getDefaultAttribution","_getMapName","parsedUrl","toLowerCase","enumerable","configurable","capabilities","operations","supportsExportMap","portalItem","test","readSpatialReference","tileInfo","SpatialReference","fromJSON","_getDefaultTileServers","castTileServers","Array","isArray","map","urlToObject","fetchTile","timestamp","getTileUrl","responseType","query","_ts","data","tilemapCache","supportsBlankTile","objectToQuery","blankTile","tileServers","length","create","ssl","replace","read","origin","version","isHostedAgolService","_fetchServerVersion","currentVersion","isArcGISUrl","reject","match","indexOf","makeAbsolute","search","property","readOnly","dependsOn","Boolean","json","write","enabled","overridePolicy","reader","String","origins","cast","subclass","declared","SublayersOwner","ScaleRangeLayer","RefreshableLayer","OperationalLayer","PortalLayer","ArcGISCachedService","ArcGISMapService","ArcGISService","MultiOriginJSONMixin"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,oE,CAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuDA,qCAAO,CAAC,kCAAD,EAAW,OAAX,EAAqB;AAAA;AAAA,kEAArB,EAAsD;AAAA;AAAA,0EAAtD,EAA+F;AAAA;AAAA,oEAA/F,EAAkI;AAAA;AAAA,qEAAlI,EAAsK;AAAA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AAuChH,CAAvC,CAAnmJ;AAA6oJ,OAAl2J,CAAm2Ja,CAAC,CAACoG,QAAF,CAAW3F,CAAC,CAAC4F,cAAF,CAAiB7F,CAAC,CAAC8F,eAAF,CAAkB/F,CAAC,CAACgG,gBAAF,CAAmBlG,CAAC,CAACmG,gBAAF,CAAmBlG,CAAC,CAACmG,WAAF,CAAcvG,CAAC,CAACwG,mBAAF,CAAsBvG,CAAC,CAACwG,gBAAF,CAAmBvG,CAAC,CAACwG,aAAF,CAAgB/G,CAAC,CAACgH,oBAAF,CAAuB5G,CAAvB,CAAhB,CAAnB,CAAtB,CAAd,CAAnB,CAAnB,CAAlB,CAAjB,CAAX,CAAn2J,CAAP;AAAyiK,KAAxgL,CAAwgL,KAAxgL,CAAwgL,IAAxgL,EAAwgL,4BAAxgL,CAA/qB,EAAurM,+FAAvrM","file":"26-es5.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\n/**\n * The TileLayer allows you work with a cached [map service](http://server.arcgis.com/en/server/latest/publish-services/windows/what-is-a-map-service.htm) exposed by the ArcGIS Server REST API and add it to\n * a {@link module:esri/Map} as a tile layer.\n * A cached service accesses tiles from a cache instead of dynamically rendering images.\n * Because they are cached, tiled layers render faster than\n * {@link module:esri/layers/MapImageLayer MapImageLayers}. To create an\n * instance of TileLayer, you must reference the URL of the cached map service.\n *\n * ```js\n * require([\"esri/layers/TileLayer\"], function(TileLayer) {\n *   var layer = new TileLayer({\n *     url: \"https://services.arcgisonline.com/arcgis/rest/services/World_Terrain_Base/MapServer\"\n *   });\n *   // Add layer to map\n * });\n * ```\n *\n * If the image is requested from a different domain, a [CORS enabled server](../guide/cors/index.html) or a [proxy](../guide/proxies/index.html) is\n * required.\n *\n * To display a non-cached map service as a dynamic layer, see {@link module:esri/layers/MapImageLayer MapImageLayer}.\n *\n * ::: esri-md class=\"panel trailer-1\"\n * **Known Limitations**\n *\n * When adding a TileLayer to a map in a {@link module:esri/views/SceneView},\n * the following limitations exist:\n * * This layer needs to be published from ArcGIS Server 10.3 and later or ArcGIS Server 10.2.2 with [this applied fix](http://support.esri.com/download/2146).\n * * If {@link module:esri/views/SceneView#viewingMode viewingMode} is `global`, then\n * only services with ArcGIS Online/Bing Maps/Google Maps (Web Mercator) or WGS84 Geographic Coordinate System,\n * Version 2 tiling scheme are supported.\n * * If {@link module:esri/views/SceneView#viewingMode viewingMode} is `local`, then\n * only services with projected coordinate systems are supported.\n * * When adding layers via the API: raster {@link module:esri/layers/TileLayer TileLayers} can only be added when all other TileLayers in the map have the same tile size. {@link module:esri/layers/VectorTileLayer VectorTileLayers} can adapt to 512 or 256 tiles, with 256 being selected by default for empty maps.\n *\n * Only Tile layers with the following tiling scheme specifications are supported:\n * * 256x256 or 512x512 pixel tiles\n * * Scale levels must increase or decrease by a power of two\n * * At level `0` there shouldn't be more than 30 root tiles.\n * * All tiled layers must have the same tiling scheme and {@link module:esri/geometry/SpatialReference}.\n * :::\n *\n * ::: esri-md class=\"panel trailer-1\"\n * Esri requires that when you use an ArcGIS Online basemap in your app, the map must include Esri attribution and you must be licensed to use the content.\n * For detailed guidelines on working with attribution, please visit the official [attribution in your app](https://developers.arcgis.com/terms/attribution/) documentation.\n * For information on terms of use, see the [Terms of Use FAQ](https://developers.arcgis.com/terms/faq/).\n * :::\n *\n * @module esri/layers/TileLayer\n * @since 4.0\n * @see module:esri/layers/MapImageLayer\n * @see module:esri/Map\n * @see [Intro to layers](../sample-code/intro-layers/index.html)\n */\n\ndefine([\"require\",\"exports\",\"../core/tsSupport/assignHelper\",\"../core/tsSupport/declareExtendsHelper\",\"../core/tsSupport/decorateHelper\",\"../core/tsSupport/generatorHelper\",\"../core/tsSupport/awaiterHelper\",\"../geometry\",\"../request\",\"../core/Error\",\"../core/maybe\",\"../core/MultiOriginJSONSupport\",\"../core/promiseUtils\",\"../core/urlUtils\",\"../core/accessorSupport/decorators\",\"./Layer\",\"./mixins/ArcGISCachedService\",\"./mixins/ArcGISMapService\",\"./mixins/ArcGISService\",\"./mixins/OperationalLayer\",\"./mixins/PortalLayer\",\"./mixins/RefreshableLayer\",\"./mixins/ScaleRangeLayer\",\"./mixins/SublayersOwner\",\"./support/arcgisLayerUrl\",\"./support/arcgisLayerUrl\",\"./support/commonProperties\"],function(e,r,t,i,o,a,n,s,p,l,c,u,y,d,f,v,h,S,g,m,_,b,O,T,L,R,I){var A=[\"Canvas/World_Dark_Gray_Base\",\"Canvas/World_Dark_Gray_Reference\",\"Canvas/World_Light_Gray_Base\",\"Canvas/World_Light_Gray_Reference\",\"Elevation/World_Hillshade\",\"Ocean/World_Ocean_Base\",\"Ocean/World_Ocean_Reference\",\"Ocean_Basemap\",\"Reference/World_Boundaries_and_Places\",\"Reference/World_Boundaries_and_Places_Alternate\",\"Reference/World_Transportation\",\"World_Imagery\",\"World_Street_Map\",\"World_Topo_Map\"];return function(e){function r(r,t){var i=e.call(this,r)||this;return i.listMode=\"show\",i.isReference=null,i.resampling=!0,i.sourceJSON=null,i.spatialReference=null,i.path=null,i.sublayers=null,i.type=\"tile\",i.url=null,i}return i(r,e),r.prototype.normalizeCtorArgs=function(e,r){return\"string\"==typeof e?t({url:e},r):e},r.prototype.load=function(e){var r=this,t=c.isSome(e)?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:[\"Image Service\",\"Map Service\"]},e).then(function(){return r._fetchService(t)},function(){return r._fetchService(t)})),this.when()},Object.defineProperty(r.prototype,\"attributionDataUrl\",{get:function(){return this._getDefaultAttribution(this._getMapName(this.parsedUrl.path.toLowerCase()))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,\"operationalLayerType\",{get:function(){if(this.capabilities&&this.capabilities.operations)return this.capabilities.operations.supportsExportMap?\"ArcGISTiledMapServiceLayer\":\"ArcGISTiledImageServiceLayer\";var e=this.url||this.portalItem&&this.portalItem.url;return e&&/\\/ImageServer(\\/|\\/?$)/i.test(e)?\"ArcGISTiledImageServiceLayer\":\"ArcGISTiledMapServiceLayer\"},enumerable:!0,configurable:!0}),r.prototype.readSpatialReference=function(e,r){return(e=e||r.tileInfo&&r.tileInfo.spatialReference)&&s.SpatialReference.fromJSON(e)},Object.defineProperty(r.prototype,\"tileServers\",{get:function(){return this._getDefaultTileServers(this.parsedUrl.path)},enumerable:!0,configurable:!0}),r.prototype.castTileServers=function(e){return Array.isArray(e)?e.map(function(e){return d.urlToObject(e).path}):null},r.prototype.fetchTile=function(e,r,t,i){void 0===i&&(i={});var o=i.signal,a=i.timestamp,n=this.getTileUrl(e,r,t),s={responseType:\"image\",signal:o};return null!=a&&(s.query={_ts:i.timestamp}),p(n,s).then(function(e){return e.data})},r.prototype.getTileUrl=function(e,r,i){var o=!this.tilemapCache&&this.supportsBlankTile,a=d.objectToQuery(t({},this.parsedUrl.query,{blankTile:!o&&null})),n=this.tileServers;return(n&&n.length?n[r%n.length]:this.parsedUrl.path)+\"/tile/\"+e+\"/\"+r+\"/\"+i+(a?\"?\"+a:\"\")},r.prototype._fetchService=function(e){var r=this;return y.create(function(i,o){if(r.sourceJSON){return void i({data:r.sourceJSON})}if(!r.parsedUrl)throw new l(\"tile-layer:undefined-url\",\"layer's url is not defined\");p(r.parsedUrl.path,{query:t({f:\"json\"},r.parsedUrl.query),responseType:\"json\",signal:e}).then(i,o)}).then(function(t){if(t.ssl&&(r.url=r.url.replace(/^http:/i,\"https:\")),r.sourceJSON=t.data,r.read(t.data,{origin:\"service\",url:r.parsedUrl}),10.1===r.version&&!R.isHostedAgolService(r.url))return r._fetchServerVersion(r.url,e).then(function(e){r.read({currentVersion:e})}).catch(function(){})})},r.prototype._fetchServerVersion=function(e,r){if(!L.isArcGISUrl(e))return y.reject();var t=e.replace(/(.*\\/rest)\\/.*/i,\"$1\")+\"/info\";return p(t,{query:{f:\"json\"},responseType:\"json\",signal:r}).then(function(e){if(e.data&&e.data.currentVersion)return e.data.currentVersion;throw new l(\"tile-layer:version-not-available\")})},r.prototype._getMapName=function(e){var r=e.match(/^(?:https?:)?\\/\\/(server|services)\\.arcgisonline\\.com\\/arcgis\\/rest\\/services\\/([^\\/]+(\\/[^\\/]+)*)\\/mapserver/i);return r&&r[2]},r.prototype._getDefaultAttribution=function(e){if(e){var r;e=e.toLowerCase();for(var t=0,i=A.length;t<i;t++)if(r=A[t],r.toLowerCase().indexOf(e)>-1)return d.makeAbsolute(\"//static.arcgis.com/attribution/\"+r)}},r.prototype._getDefaultTileServers=function(e){var r=-1!==e.search(/^(?:https?:)?\\/\\/server\\.arcgisonline\\.com/i),t=-1!==e.search(/^(?:https?:)?\\/\\/services\\.arcgisonline\\.com/i);return r||t?[e,e.replace(r?/server\\.arcgisonline/i:/services\\.arcgisonline/i,r?\"services.arcgisonline\":\"server.arcgisonline\")]:[]},o([f.property({readOnly:!0,dependsOn:[\"parsedUrl\"]})],r.prototype,\"attributionDataUrl\",null),o([f.property({type:[\"show\",\"hide\",\"hide-children\"]})],r.prototype,\"listMode\",void 0),o([f.property({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:function(){return{enabled:!1}}}}})],r.prototype,\"isReference\",void 0),o([f.property({readOnly:!0})],r.prototype,\"operationalLayerType\",null),o([f.property()],r.prototype,\"popupTemplates\",void 0),o([f.property({type:Boolean})],r.prototype,\"resampling\",void 0),o([f.property()],r.prototype,\"sourceJSON\",void 0),o([f.property({type:s.SpatialReference})],r.prototype,\"spatialReference\",void 0),o([f.reader(\"spatialReference\",[\"spatialReference\",\"tileInfo\"])],r.prototype,\"readSpatialReference\",null),o([f.property({type:String,json:{origins:{\"web-scene\":{read:!0,write:!0}},read:!1}})],r.prototype,\"path\",void 0),o([f.property({readOnly:!0})],r.prototype,\"sublayers\",void 0),o([f.property({dependsOn:[\"parsedUrl\"]})],r.prototype,\"tileServers\",null),o([f.cast(\"tileServers\")],r.prototype,\"castTileServers\",null),o([f.property({readOnly:!0,json:{read:!1}})],r.prototype,\"type\",void 0),o([f.property(I.url)],r.prototype,\"url\",void 0),r=o([f.subclass(\"esri.layers.TileLayer\")],r)}(f.declared(T.SublayersOwner(O.ScaleRangeLayer(b.RefreshableLayer(m.OperationalLayer(_.PortalLayer(h.ArcGISCachedService(S.ArcGISMapService(g.ArcGISService(u.MultiOriginJSONMixin(v)))))))))))});"]}