????
Your IP : 52.14.210.44
{"version":3,"sources":["./node_modules/arcgis-js-api/core/queryUtils.js","./node_modules/arcgis-js-api/tasks/ServiceAreaTask.js","./node_modules/arcgis-js-api/tasks/mixins/NAServiceDescription.js","./node_modules/arcgis-js-api/tasks/support/NAMessage.js","./node_modules/arcgis-js-api/tasks/support/ServiceAreaSolveResult.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,mCAAC,cAAc,cAAc,gBAAgB,sCAAsC,SAAS,EAAE,kBAAkB,8BAA8B,WAAW,6CAA6C,cAAc,cAAc,iBAAiB,kBAAkB,6CAA6C,WAAW,kBAAkB,sBAAsB,0CAA0C,oBAAoB,MAAM,4FAA4F,wEAAwE,eAAe,SAAS,GAAG,GAAG,4BAA4B;AAAA,oGAAC,C;;;;;;;;;;;ACxBpqB;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,gFAAY,CAAC,oGAAsB,CAAC,gGAAoB,CAAC,gIAAoC,CAAC,gIAAoC,CAAC,+EAAQ,CAAC,6HAA+B,CAAC,mIAAkC,CAAC,mCAAC,oCAAoC,iCAAiC,sBAAsB,gCAAgC,iFAAiF,gCAAgC,mCAAmC,gBAAgB,gBAAgB,+DAA+D,iCAAiC,sBAAsB,sBAAsB,eAAe,EAAE,mBAAmB,cAAc,2BAA2B,oBAAoB,8CAA8C,yBAAyB,MAAM,siBAAsiB,gBAAgB,WAAW,kCAAkC,0EAA0E,aAAa,EAAE,mBAAmB,0EAA0E,4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AAK,WAAW,YAAY,2JAA2J,+DAA+D,iBAAiB,kBAAkB,aAAa,+CAA+C,4EAA4E,6CAA6C,yBAAyB;AAAA,oGAAC,C;;;;;;;;;;;ACxBr9H;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,2IAA2C,CAAC,+HAAqC,CAAC,6FAAoB,CAAC,mIAAuC,CAAC,iGAAa,CAAC,mCAAC,wBAAwB,qBAAqB,2HAA2H,EAAE,mBAAmB,cAAc,2BAA2B,qBAAqB,6BAA6B,kBAAkB,2BAA2B,kFAAkF,gBAAgB;AAAA,oGAAC,C;;;;;;;;;;;ACxBlmB;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,2IAA2C,CAAC,+HAAqC,CAAC,qFAAgB,CAAC,mFAAe,CAAC,qGAAwB,CAAC,yFAAkB,CAAC,mIAAuC,CAAC,uHAAiC,CAAC,iGAAa,CAAC,mCAAC,gCAAgC,cAAc,kCAAkC,qDAAqD,iDAAiD,EAAE,cAAc,kCAAkC,6EAA6E,EAAE,mBAAmB,cAAc,2BAA2B,sKAAsK,qDAAqD,YAAY,6CAA6C,qBAAqB,8CAA8C,YAAY,6CAA6C,YAAY,yCAAyC,wBAAwB,mDAAmD,uBAAuB,gBAAgB,eAAe,iHAAiH,SAAS,iDAAiD,eAAe,uIAAuI,kBAAkB,mIAAmI,iBAAiB,gIAAgI,SAAS,oJAAoJ,SAAS,6MAA6M,4BAA4B;AAAA,oGAAC,C","file":"67-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\"],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});","// 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\",\"../request\",\"../core/promiseUtils\",\"../core/queryUtils\",\"../core/accessorSupport/decorators\",\"../geometry/support/normalizeUtils\",\"./Task\",\"./mixins/NAServiceDescription\",\"./support/ServiceAreaSolveResult\"],function(e,r,t,i,s,o,a,n,u,l,c,p,f){var m=n.createQueryParamsHelper({accumulateAttributes:{name:\"accumulateAttributeNames\"},attributeParameterValues:!0,defaultBreaks:!0,facilities:!0,outSpatialReference:{name:\"outSR\",getter:function(e){return e.outSpatialReference.wkid}},pointBarriers:{name:\"barriers\"},polylineBarriers:!0,polygonBarriers:!0,restrictionAttributes:{name:\"restrictionAttributeNames\"},returnPointBarriers:{name:\"returnBarriers\"},travelMode:!0});return function(e){function r(r){var t=e.call(this,r)||this;return t.url=null,t}return i(r,e),r.prototype.solve=function(e,r){var i=this,s=[],n=[],u={},c={};return e.facilities&&e.facilities.features&&this._collectGeometries(e.facilities.features,n,\"facilities.features\",u),e.pointBarriers&&e.pointBarriers.features&&this._collectGeometries(e.pointBarriers.features,n,\"pointBarriers.features\",u),e.polylineBarriers&&e.polylineBarriers.features&&this._collectGeometries(e.polylineBarriers.features,n,\"polylineBarriers.features\",u),e.polygonBarriers&&e.polygonBarriers.features&&this._collectGeometries(e.polygonBarriers.features,n,\"polygonBarriers.features\",u),l.normalizeCentralMeridian(n).then(function(e){for(var r in u){var t=u[r];s.push(r),c[r]=e.slice(t[0],t[1])}return i._isInputGeometryZAware(c,s)?i.getServiceDescription():a.resolve({dontCheck:!0})}).then(function(a){(\"dontCheck\"in a?a.dontCheck:a.hasZ)||i._dropZValuesOffInputGeometry(c,s);for(var n in c)!function(r){c[r].forEach(function(t,i){e.get(r)[i].geometry=t})}(n);var u={query:t({},i.parsedUrl.query,{f:\"json\"},m.toQueryParams(e))};return(i.requestOptions||r)&&(u=t({},i.requestOptions,r,u)),o(i.parsedUrl.path+\"/solveServiceArea\",u)}).then(function(e){return f.fromJSON(e.data)})},r.prototype._collectGeometries=function(e,r,t,i){i[t]=[r.length,r.length+e.length],e.forEach(function(e){r.push(e.geometry)})},s([u.property()],r.prototype,\"url\",void 0),r=s([u.subclass(\"esri.tasks.ServiceAreaTask\")],r)}(u.declared(p.NAServiceDescriptionMixin(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/decorateHelper\",\"../../core/tsSupport/declareExtendsHelper\",\"../../core/tsSupport/generatorHelper\",\"../../core/tsSupport/awaiterHelper\",\"../../request\",\"../../core/Error\",\"../../core/maybe\",\"../../core/object\",\"../../core/urlUtils\",\"../../core/accessorSupport/decorators\",\"../Task\"],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});","// 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/declareExtendsHelper\",\"../../core/tsSupport/decorateHelper\",\"../../core/jsonMap\",\"../../core/accessorSupport/decorators\",\"./GPMessage\"],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))});","// 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/declareExtendsHelper\",\"../../core/tsSupport/decorateHelper\",\"../../geometry\",\"../../Graphic\",\"../../core/JSONSupport\",\"../../core/maybe\",\"../../core/accessorSupport/decorators\",\"../../geometry/SpatialReference\",\"./NAMessage\"],function(e,r,o,t,n,i,p,a,l,s,y){function u(e){return e.features.map(function(r){var o=s.fromJSON(e.spatialReference),t=i.fromJSON(r);return a.expect(t.geometry).spatialReference=o,t})}function c(e){return e.features.map(function(r){return r.geometry.spatialReference=e.spatialReference,n.fromJSON(r.geometry)})}return function(e){function r(r){var o=e.call(this,r)||this;return o.facilities=null,o.messages=null,o.pointBarriers=null,o.polylineBarriers=null,o.polygonBarriers=null,o.serviceAreaPolylines=null,o.serviceAreaPolygons=null,o}return o(r,e),r.prototype.readFacilities=function(e){return c(e)},r.prototype.readPointBarriers=function(e,r){return c(r.barriers)},r.prototype.readPolylineBarriers=function(e){return c(e)},r.prototype.readPolygonBarriers=function(e){return c(e)},r.prototype.readIncidents=function(e,r){return u(r.saPolylines)},r.prototype.readServiceAreaPolygons=function(e,r){return u(r.saPolygons)},t([l.property({type:[n.Point]})],r.prototype,\"facilities\",void 0),t([l.reader(\"facilities\")],r.prototype,\"readFacilities\",null),t([l.property({type:[y]})],r.prototype,\"messages\",void 0),t([l.property({type:[n.Point]})],r.prototype,\"pointBarriers\",void 0),t([l.reader(\"pointBarriers\",[\"barriers\"])],r.prototype,\"readPointBarriers\",null),t([l.property({type:[n.Polyline]})],r.prototype,\"polylineBarriers\",void 0),t([l.reader(\"polylineBarriers\")],r.prototype,\"readPolylineBarriers\",null),t([l.property({type:[n.Polygon]})],r.prototype,\"polygonBarriers\",void 0),t([l.reader(\"polygonBarriers\")],r.prototype,\"readPolygonBarriers\",null),t([l.property({type:[i]})],r.prototype,\"serviceAreaPolylines\",void 0),t([l.reader(\"serviceAreaPolylines\",[\"saPolylines\"])],r.prototype,\"readIncidents\",null),t([l.property({type:[i]})],r.prototype,\"serviceAreaPolygons\",void 0),t([l.reader(\"serviceAreaPolygons\",[\"saPolygons\"])],r.prototype,\"readServiceAreaPolygons\",null),r=t([l.subclass(\"esri.tasks.support.ServiceAreaSolveResult\")],r)}(l.declared(p.JSONSupport))});"],"sourceRoot":"webpack:///"}