????
Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/ |
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/37-es2015.js |
(function(){ var absMids = { "esri/core/queryUtils":"./node_modules/arcgis-js-api/core/queryUtils.js", "esri/tasks/mixins/NAServiceDescription":"./node_modules/arcgis-js-api/tasks/mixins/NAServiceDescription.js", "esri/tasks/support/DirectionsFeatureSet":"./node_modules/arcgis-js-api/tasks/support/DirectionsFeatureSet.js", "esri/tasks/support/NAMessage":"./node_modules/arcgis-js-api/tasks/support/NAMessage.js" }; var globalObj = this||window; var jsonpArray = globalObj["webpackJsonp"] = globalObj["webpackJsonp"] || []; if (jsonpArray.registerAbsMids) { jsonpArray.registerAbsMids(absMids); } else { var absMidsWaiting = jsonpArray.absMidsWaiting = jsonpArray.absMidsWaiting || []; absMidsWaiting.push(absMids); } })(),(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[37],{ /***/ "./node_modules/arcgis-js-api/core/queryUtils.js": /*!*******************************************************!*\ !*** ./node_modules/arcgis-js-api/core/queryUtils.js ***! \*******************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,r){function t(e){return new o(e)}Object.defineProperty(r,"__esModule",{value:!0});var n=function(e){if(!Array.isArray(e))return!1;var r=e[0];return"number"==typeof r||"string"==typeof r},o=function(){function e(e){void 0===e&&(e={}),this._options=e}return e.prototype.toQueryParams=function(e){var r=this;if(!e)return null;var t=e.toJSON(),o={};return Object.keys(t).forEach(function(e){var i=r._options[e];if(i){var u="boolean"!=typeof i&&i.name?i.name:e,a="boolean"!=typeof i&&i.getter?i.getter(t):t[e];null!=a&&(o[u]=n(a)?a.join(","):"object"==typeof a?JSON.stringify(a):a)}else o[e]=t[e]},this),o},e}();r.createQueryParamsHelper=t}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }), /***/ "./node_modules/arcgis-js-api/tasks/mixins/NAServiceDescription.js": /*!*************************************************************************!*\ !*** ./node_modules/arcgis-js-api/tasks/mixins/NAServiceDescription.js ***! \*************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports,__webpack_require__(/*! ../../core/tsSupport/decorateHelper */ "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"),__webpack_require__(/*! ../../core/tsSupport/declareExtendsHelper */ "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"),__webpack_require__(/*! ../../core/tsSupport/generatorHelper */ "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"),__webpack_require__(/*! ../../core/tsSupport/awaiterHelper */ "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"),__webpack_require__(/*! ../../request */ "./node_modules/arcgis-js-api/request.js"),__webpack_require__(/*! ../../core/Error */ "./node_modules/arcgis-js-api/core/Error.js"),__webpack_require__(/*! ../../core/maybe */ "./node_modules/arcgis-js-api/core/maybe.js"),__webpack_require__(/*! ../../core/object */ "./node_modules/arcgis-js-api/core/object.js"),__webpack_require__(/*! ../../core/urlUtils */ "./node_modules/arcgis-js-api/core/urlUtils.js"),__webpack_require__(/*! ../../core/accessorSupport/decorators */ "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"),__webpack_require__(/*! ../Task */ "./node_modules/arcgis-js-api/tasks/Task.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,r,t,s,o,i,n,a,u,l,c,d,p){function v(e){return i(this,void 0,void 0,function(){var r,t,s,i;return o(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,n(e+("/"===e[e.length-1]?"":"/")+"retrieveTravelModes",{query:{f:"json"}})];case 1:return r=o.sent().data,t=r.supportedTravelModes,s=r.defaultTravelMode,[2,{supportedTravelModes:t,defaultTravelMode:s}];case 2:throw i=o.sent(),new a("network-service:retrieveTravelModes","Could not get to the NAServer's retrieveTravelModes.",{error:i});case 3:return[2]}})})}function f(e){return i(this,void 0,void 0,function(){var r,t,s,i,a,u,d,p,v,f,h,M,T,g,y,m;return o(this,function(o){switch(o.label){case 0:return[4,n(e.substring(0,e.indexOf("/rest/")+6)+"info",{query:{f:"json"}})];case 1:return(r=o.sent().data)&&r.owningSystemUrl?(e=r.owningSystemUrl,[4,n(e+("/"===e[e.length-1]?"":"/")+"sharing/rest/portals/self",{query:{f:"json"}})]):[2,{supportedTravelModes:[],defaultTravelMode:null}];case 2:return t=o.sent().data,(s=l.getDeepValue("helperServices.routingUtilities.url",t))?(i=c.urlToObject(e),a=/\/solveClosestFacility$/.test(i.path)?"Route":/\/solveClosestFacility$/.test(i.path)?"ClosestFacility":"ServiceAreas",[4,n(s+("/"===s[s.length-1]?"":"/")+"GetTravelModes/execute",{query:{f:"json",serviceName:a}})]):[2,{supportedTravelModes:[],defaultTravelMode:null}];case 3:if(u=o.sent(),d=[],p=null,u&&u.data&&u.data.results&&u.data.results.length)for(v=u.data.results,f=0,h=v;f<h.length;f++)if(M=h[f],"supportedTravelModes"===M.paramName){if(M.value&&M.value.features)for(T=0,g=M.value.features;T<g.length;T++)(y=g[T].attributes)&&(m=JSON.parse(y.TravelMode),d.push(m))}else"defaultTravelMode"===M.paramName&&(p=M.value);return[2,{supportedTravelModes:d,defaultTravelMode:p}]}})})}Object.defineProperty(r,"__esModule",{value:!0}),r.NAServiceDescriptionMixin=function(e){return function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return s(r,e),r.prototype.getServiceDescription=function(){return i(this,void 0,void 0,function(){return o(this,function(e){return this._serviceDescriptionPromise||(this._serviceDescriptionPromise=this._fetchServiceDescription()),[2,this._serviceDescriptionPromise]})})},r.prototype._fetchServiceDescription=function(){return i(this,void 0,void 0,function(){var e,r,t,s,i,u,l;return o(this,function(o){switch(o.label){case 0:if(!this.url||!this.parsedUrl)throw new a("network-service:missing-url","Url to Network service is missing");return e=this.url,[4,n(e,{query:{f:"json"}})];case 1:for(r=o.sent().data,r.supportedTravelModes||(r.supportedTravelModes=[]),t=0;t<r.supportedTravelModes.length;t++)r.supportedTravelModes[t].id||(r.supportedTravelModes[t].id=r.supportedTravelModes[t].itemId);return s=r.currentVersion>=10.4?v(e):f(e),[4,s];case 2:return i=o.sent(),u=i.defaultTravelMode,l=i.supportedTravelModes,r.defaultTravelMode=u,r.supportedTravelModes=l,[2,r]}})})},r.prototype._isInputGeometryZAware=function(e,r){for(var t=0;t<r.length;t++){var s=e[r[t]];if(s&&s.length)for(var o=0,i=s;o<i.length;o++){var n=i[o];if(u.isSome(n)&&n.hasZ)return!0}}return!1},r.prototype._dropZValuesOffInputGeometry=function(e,r){for(var t=0;t<r.length;t++){var s=e[r[t]];if(s&&s.length)for(var o=0,i=s;o<i.length;o++){var n=i[o];n.z=void 0}}console.log("The remote Network Analysis service is powered by a network dataset which is not Z-aware.\nZ-coordinates of the input geometry are ignored.")},r=t([d.subclass("esri.tasks.mixins.NAServiceDescription")],r)}(d.declared(e))};var h=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return s(r,e),r=t([d.subclass("esri.tasks.mixins.NAServiceDescription")],r)}(d.declared(r.NAServiceDescriptionMixin(p)));r.NAServiceDescription=h}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }), /***/ "./node_modules/arcgis-js-api/tasks/support/DirectionsFeatureSet.js": /*!**************************************************************************!*\ !*** ./node_modules/arcgis-js-api/tasks/support/DirectionsFeatureSet.js ***! \**************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../../geometry/Extent */ "./node_modules/arcgis-js-api/geometry/Extent.js"),__webpack_require__(/*! ../../geometry/Point */ "./node_modules/arcgis-js-api/geometry/Point.js"),__webpack_require__(/*! ../../geometry/Polyline */ "./node_modules/arcgis-js-api/geometry/Polyline.js"),__webpack_require__(/*! ../../geometry/SpatialReference */ "./node_modules/arcgis-js-api/geometry/SpatialReference.js"),__webpack_require__(/*! ./FeatureSet */ "./node_modules/arcgis-js-api/tasks/support/FeatureSet.js"),__webpack_require__(/*! ../../Graphic */ "./node_modules/arcgis-js-api/Graphic.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,t,r,n,a,s){return a.createSubclass({declaredClass:"esri.tasks.support.DirectionsFeatureSet",properties:{geometryType:"polyline",extent:{type:e,json:{read:{source:"summary.envelope"}}},features:{value:null,json:{read:function(e,r){(e||[]).forEach(function(e){this._decompressFeatureGeometry(e,r.summary.envelope.spatialReference)},this);var a=n.fromJSON(r.spatialReference);return e.map(function(e){var r=s.fromJSON(e),n=e.geometry&&e.geometry.spatialReference;return r.geometry&&!n&&(r.geometry.spatialReference=a),r.strings=e.strings,r.events=(e.events||[]).map(function(r){var n=new s({geometry:new t({x:r.point.x,y:r.point.y,z:r.point.z,hasZ:void 0!==r.point.z,spatialReference:e.geometry&&e.geometry.spatialReference}),attributes:{ETA:r.ETA,arriveTimeUTC:r.arriveTimeUTC}});return n.strings=r.strings,n}),r})}}},mergedGeometry:{value:null,readOnly:!0,dependsOn:["features","extent.spatialReference"],get:function(){if(!this.features)return null;var e=this.features.map(function(e){return e.geometry}),t=this.get("extent.spatialReference");return this._mergePolylinesToSinglePath(e,t)}},routeId:null,routeName:null,strings:{value:null,readOnly:!0,dependsOn:["features"],get:function(){return this.features.map(function(e){return e.strings})}},totalDriveTime:{value:null,json:{read:{source:"summary.totalDriveTime"}}},totalLength:{value:null,json:{read:{source:"summary.totalLength"}}},totalTime:{value:null,json:{read:{source:"summary.totalTime"}}}},_decompressFeatureGeometry:function(e,t){e.geometry=this._decompressGeometry(e.compressedGeometry,t)},_decompressGeometry:function(e,t){var r,n,a,s,o,i,u,l,m=0,p=0,c=0,f=0,y=[],g=0,h=0,d=0;if(o=e.match(/((\+|\-)[^\+\-\|]+|\|)/g),o||(o=[]),0===parseInt(o[g],32)){g=2;var v=parseInt(o[g],32);g++,i=parseInt(o[g],32),g++,1&v&&(h=o.indexOf("|")+1,u=parseInt(o[h],32),h++),2&v&&(d=o.indexOf("|",h)+1,l=parseInt(o[d],32),d++)}else i=parseInt(o[g],32),g++;for(;g<o.length&&"|"!==o[g];){r=parseInt(o[g],32)+m,g++,m=r,n=parseInt(o[g],32)+p,g++,p=n;var T=[r/i,n/i];h&&(s=parseInt(o[h],32)+c,h++,c=s,T.push(s/u)),d&&(a=parseInt(o[d],32)+f,d++,f=a,T.push(a/l)),y.push(T)}return{paths:[y],hasZ:h>0,hasM:d>0,spatialReference:t}},_mergePolylinesToSinglePath:function(e,t){var n=[];(e||[]).forEach(function(e){e.paths.forEach(function(e){n=n.concat(e)})});var a=[],s=[0,0];return n.forEach(function(e){e[0]===s[0]&&e[1]===s[1]||(a.push(e),s=e)}),new r({paths:[a]},t)}})}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }), /***/ "./node_modules/arcgis-js-api/tasks/support/NAMessage.js": /*!***************************************************************!*\ !*** ./node_modules/arcgis-js-api/tasks/support/NAMessage.js ***! \***************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports,__webpack_require__(/*! ../../core/tsSupport/declareExtendsHelper */ "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"),__webpack_require__(/*! ../../core/tsSupport/decorateHelper */ "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"),__webpack_require__(/*! ../../core/jsonMap */ "./node_modules/arcgis-js-api/core/jsonMap.js"),__webpack_require__(/*! ../../core/accessorSupport/decorators */ "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"),__webpack_require__(/*! ./GPMessage */ "./node_modules/arcgis-js-api/tasks/support/GPMessage.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,r,t,o,s,p,n){var a=new s.default({0:"informative",1:"process-definition",2:"process-start",3:"process-stop",50:"warning",100:"error",101:"empty",200:"abort"});return function(e){function r(r){var t=e.call(this,r)||this;return t.type=null,t}return t(r,e),o([p.property({type:String,json:{read:a.read,write:a.write}})],r.prototype,"type",void 0),r=o([p.subclass("esri.tasks.support.NAMessage")],r)}(p.declared(n))}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }) }]); //# sourceMappingURL=37-es2015.js.map