????
Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/ |
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/25-es2015.js.map |
{"version":3,"sources":["./node_modules/arcgis-js-api/layers/ElevationLayer.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;;AAEA;AACA;AACA;AACA;AACA,sBAAsB;AACtB;AACA;AACA;;AAEA,iCAAO,CAAC,kCAAS,CAAC,OAAS,CAAC,wHAAgC,CAAC,wIAAwC,CAAC,4HAAkC,CAAC,8HAAmC,CAAC,0HAAiC,CAAC,gFAAY,CAAC,8FAAmB,CAAC,sFAAe,CAAC,wFAAgB,CAAC,sFAAe,CAAC,wHAAgC,CAAC,oGAAsB,CAAC,4FAAkB,CAAC,gIAAoC,CAAC,kHAA6B,CAAC,kFAAS,CAAC,4HAA8B,CAAC,gHAAwB,CAAC,sHAA2B,CAAC,4GAAsB,CAAC,wHAA4B,CAAC,4GAAsB,CAAC,mCAAC,0DAA0D,gDAAgD,mBAAmB,cAAc,2BAA2B,oOAAoO,0DAA0D,4BAA4B,MAAM,MAAM,gCAAgC,0DAA0D,+CAA+C,gBAAgB,iBAAiB,8FAA8F,+BAA+B,gDAAgD,gBAAgB,iBAAiB,8FAA8F,+BAA+B,wCAAwC,uBAAuB,oBAAoB,8BAA8B,uCAAuC,qDAAqD,0EAA0E,YAAY,wBAAwB,uEAAuE,yEAAyE,KAAK,eAAe,aAAa,KAAK,qEAAqE,GAAG,oBAAoB,+BAA+B,YAAY,+BAA+B,eAAe,yCAAyC,WAAW,iBAAiB,gGAAgG,kBAAkB,cAAc,wCAAwC,KAAK,cAAc,EAAE,OAAO,4CAA4C,IAAI,6CAA6C,mCAAmC,yCAAyC,kBAAkB,gCAAgC,mBAAmB,+CAA+C,mBAAmB,OAAO,mJAAmJ,EAAE,wCAAwC,uEAAuE,uBAAuB,mBAAmB,GAAG,+DAA+D,0CAA0C,WAAW,qDAAqD,0CAA0C,EAAE,kDAAkD,WAAW,qDAAqD,kDAAkD,EAAE,sDAAsD,2FAA2F,4CAA4C,uCAAuC,QAAQ,0BAA0B,gBAAgB,sDAAsD,SAAS,SAAS,oDAAoD,+BAA+B,yHAAyH,oCAAoC,OAAO,EAAE,EAAE,8CAA8C,4BAA4B,+DAAE,qCAAC,oHAA0B,CAAC,GAAC,CAAC,wFAAC,CAAC,EAAE,gBAAgB,MAAM,MAAM,yBAAyB,kDAAkD,mBAAmB,wDAAwD,kBAAkB,SAAS,aAAa,kBAAkB,UAAU,6CAA6C,qBAAqB,iDAAiD,MAAM,0BAA0B,SAAS,iBAAiB,gBAAgB,iBAAiB,iBAAiB,oBAAoB,+CAA+C,MAAM,0BAA0B,SAAS,iBAAiB,gBAAgB,iBAAiB,iBAAiB,oBAAoB,+CAA+C,MAAM,0BAA0B,gBAAgB,oBAAoB,gDAAgD,0CAA0C,+GAA+G,MAAM,QAAQ,+BAA+B,0PAA0P,mHAAmH;AAAA,oGAAC,C","file":"25-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\n// copyright\n\n/**\n * The copyright text as defined by the service.\n *\n * @name copyright\n * @type {string}\n * @instance\n * @ignore\n */\n\ndefine([\"require\",\"exports\",\"../core/tsSupport/assignHelper\",\"../core/tsSupport/declareExtendsHelper\",\"../core/tsSupport/decorateHelper\",\"../core/tsSupport/generatorHelper\",\"../core/tsSupport/awaiterHelper\",\"../request\",\"../core/deprecate\",\"../core/Error\",\"../core/Logger\",\"../core/maybe\",\"../core/MultiOriginJSONSupport\",\"../core/promiseUtils\",\"../core/urlUtils\",\"../core/accessorSupport/decorators\",\"../geometry/HeightModelInfo\",\"./Layer\",\"./mixins/ArcGISCachedService\",\"./mixins/ArcGISService\",\"./mixins/OperationalLayer\",\"./mixins/PortalLayer\",\"./support/commonProperties\",\"./support/LercWorker\"],function(e,r,t,o,i,n,a,p,l,s,c,u,y,d,h,v,f,m,g,S,w,b,I,x){var T=c.getLogger(\"esri.layers.ElevationLayer\");return function(r){function c(e){var t=r.call(this,e)||this;return t.copyright=null,t.heightModelInfo=null,t.path=null,t.opacity=1,t.operationalLayerType=\"ArcGISTiledElevationServiceLayer\",t.sourceJSON=null,t.type=\"elevation\",t.url=null,t.version=null,t._lercWorker=x.acquireInstance(),t}return o(c,r),c.prototype.normalizeCtorArgs=function(e,r){return\"string\"==typeof e?t({url:e},r):e},c.prototype.destroy=function(){x.releaseInstance(this._lercWorker),this._lercWorker=null},Object.defineProperty(c.prototype,\"minScale\",{get:function(){},set:function(e){this.constructed&&T.warn(this.declaredClass+\".minScale support has been removed (since 4.5)\")},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,\"maxScale\",{get:function(){},set:function(e){this.constructed&&T.warn(this.declaredClass+\".maxScale support has been removed (since 4.5)\")},enumerable:!0,configurable:!0}),c.prototype.readVersion=function(e,r){var t=r.currentVersion;return t||(t=9.3),t},c.prototype.load=function(e){var r=this,t=u.isSome(e)?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:[\"Image Service\"],supportsData:!1,validateItem:function(e){for(var r=0;r<e.typeKeywords.length;r++)if(\"elevation 3d layer\"===e.typeKeywords[r].toLowerCase())return!0;throw new s(\"portal:invalid-layer-item-type\",\"Invalid layer item type '${type}', expected '${expectedType}' \",{type:\"Image Service\",expectedType:\"Image Service Elevation 3D Layer\"})}},e).then(function(){return r._fetchImageService(t)},function(){return r._fetchImageService(t)})),this.when()},c.prototype.fetchTile=function(e,r,t,o){var i=this;void 0===o&&(o={}),null!=o&&\"number\"==typeof o&&(l.deprecated(T,\"Passing 'noDataValue' directly as a parameter\",{replacement:\"use { noDataValue } options object instead\",version:\"4.12\"}),o={noDataValue:o});var n={responseType:\"array-buffer\",signal:o.signal},a={noDataValue:o.noDataValue,returnFileInfo:!0};return this.load().then(function(){return i._fetchTileAvailability(e,r,t,o)}).then(function(){return p(i.getTileUrl(e,r,t),n)}).then(function(e){return i._lercWorker.decode(e.data,a,o.signal)}).then(function(e){return{values:e.pixelData,width:e.width,height:e.height,maxZError:e.fileInfo.maxZError,noDataValue:e.noDataValue,minValue:e.minValue,maxValue:e.maxValue}})},c.prototype.getTileUrl=function(e,r,o){var i=!this.tilemapCache&&this.supportsBlankTile,n=h.objectToQuery(t({},this.parsedUrl.query,{blankTile:!i&&null}));return this.parsedUrl.path+\"/tile/\"+e+\"/\"+r+\"/\"+o+(n?\"?\"+n:\"\")},c.prototype.queryElevation=function(e,r){var t=this;return this._importElevationQuery().then(function(o){return(new o.ElevationQuery).query(t,e,r)})},c.prototype.createElevationSampler=function(e,r){var t=this;return this._importElevationQuery().then(function(o){return(new o.ElevationQuery).createSampler(t,e,r)})},c.prototype._fetchTileAvailability=function(e,r,t,o){return this.tilemapCache?this.tilemapCache.fetchAvailability(e,r,t,o):d.resolve(\"unknown\")},c.prototype._fetchImageService=function(e){return a(this,void 0,void 0,function(){var r,o;return n(this,function(i){switch(i.label){case 0:return this.sourceJSON?[2,this.sourceJSON]:(r={query:t({f:\"json\"},this.parsedUrl.query),responseType:\"json\",signal:e},[4,p(this.parsedUrl.path,r)]);case 1:return o=i.sent(),o.ssl&&(this.url=this.url.replace(/^http:/i,\"https:\")),this.sourceJSON=o.data,this.read(o.data,{origin:\"service\",url:this.parsedUrl}),[2]}})})},c.prototype._importElevationQuery=function(){return d.create(function(r){e([\"./support/ElevationQuery\"],r)})},i([v.property({json:{read:{source:\"copyrightText\"}}})],c.prototype,\"copyright\",void 0),i([v.property({readOnly:!0,type:f})],c.prototype,\"heightModelInfo\",void 0),i([v.property({type:String,json:{origins:{\"web-scene\":{read:!0,write:!0}},read:!1}})],c.prototype,\"path\",void 0),i([v.property({type:[\"show\",\"hide\"]})],c.prototype,\"listMode\",void 0),i([v.property({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},\"portal-item\":{read:!1,write:!1},\"web-document\":{read:!1,write:!1}}}})],c.prototype,\"minScale\",null),i([v.property({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},\"portal-item\":{read:!1,write:!1},\"web-document\":{read:!1,write:!1}}}})],c.prototype,\"maxScale\",null),i([v.property({json:{read:!1,write:!1,origins:{\"web-document\":{read:!1,write:!1}}}})],c.prototype,\"opacity\",void 0),i([v.property({type:[\"ArcGISTiledElevationServiceLayer\"]})],c.prototype,\"operationalLayerType\",void 0),i([v.property()],c.prototype,\"sourceJSON\",void 0),i([v.property({json:{read:!1},value:\"elevation\",readOnly:!0})],c.prototype,\"type\",void 0),i([v.property(I.url)],c.prototype,\"url\",void 0),i([v.property()],c.prototype,\"version\",void 0),i([v.reader(\"version\",[\"currentVersion\"])],c.prototype,\"readVersion\",null),c=i([v.subclass(\"esri.layers.ElevationLayer\")],c)}(v.declared(g.ArcGISCachedService(S.ArcGISService(w.OperationalLayer(b.PortalLayer(y.MultiOriginJSONMixin(m)))))))});"],"sourceRoot":"webpack:///"}