From 841f1e9007b12d155d515ba3d8db640bb6916b69 Mon Sep 17 00:00:00 2001 From: songyumeng Date: Thu, 5 Jul 2018 17:19:40 +0800 Subject: [PATCH] version 9.1.0-alpha --- dist/classic/iclient-classic-es6.js | 2 +- dist/classic/iclient-classic-es6.min.js | 2 +- dist/classic/iclient-classic.js | 2 +- dist/classic/iclient-classic.min.js | 2 +- dist/leaflet/iclient9-leaflet-es6.js | 4 ++-- dist/leaflet/iclient9-leaflet-es6.min.js | 4 ++-- dist/leaflet/iclient9-leaflet.css | 2 +- dist/leaflet/iclient9-leaflet.js | 4 ++-- dist/leaflet/iclient9-leaflet.min.css | 2 +- dist/leaflet/iclient9-leaflet.min.js | 4 ++-- dist/mapboxgl/iclient9-mapboxgl-es6.js | 2 +- dist/mapboxgl/iclient9-mapboxgl-es6.min.js | 2 +- dist/mapboxgl/iclient9-mapboxgl.js | 2 +- dist/mapboxgl/iclient9-mapboxgl.min.js | 2 +- dist/openlayers/iclient9-openlayers-es6.js | 2 +- dist/openlayers/iclient9-openlayers-es6.min.js | 2 +- dist/openlayers/iclient9-openlayers.css | 2 +- dist/openlayers/iclient9-openlayers.js | 2 +- dist/openlayers/iclient9-openlayers.min.css | 2 +- dist/openlayers/iclient9-openlayers.min.js | 2 +- package.json | 2 +- src/classic/package.json | 4 ++-- src/common/package.json | 2 +- src/leaflet/package.json | 4 ++-- src/mapboxgl/package.json | 4 ++-- src/openlayers/package.json | 4 ++-- 26 files changed, 34 insertions(+), 34 deletions(-) diff --git a/dist/classic/iclient-classic-es6.js b/dist/classic/iclient-classic-es6.js index 446a6bc200..0118a0e672 100644 --- a/dist/classic/iclient-classic-es6.js +++ b/dist/classic/iclient-classic-es6.js @@ -3,7 +3,7 @@ * iclient-classic.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */ /******/ (function(modules) { // webpackBootstrap diff --git a/dist/classic/iclient-classic-es6.min.js b/dist/classic/iclient-classic-es6.min.js index 8ed82db2ec..03f9141d45 100644 --- a/dist/classic/iclient-classic-es6.min.js +++ b/dist/classic/iclient-classic-es6.min.js @@ -3,6 +3,6 @@ * iclient-classic.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */!function(e){var t={};function r(s){if(t[s])return t[s].exports;var n=t[s]={i:s,l:!1,exports:{}};return e[s].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,s){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:s})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=5)}([function(e,t){e.exports=function(){try{return mapv}catch(e){return{}}}()},function(e,t,r){var s,n,i;n=[t,e],void 0===(i="function"==typeof(s=function(e,t){"use strict";var r={timeout:5e3,jsonpCallback:"callback",jsonpCallbackFunction:null};function s(e){try{delete window[e]}catch(t){window[e]=void 0}}function n(e){var t=document.getElementById(e);document.getElementsByTagName("head")[0].removeChild(t)}t.exports=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=e,o=t.timeout||r.timeout,a=t.jsonpCallback||r.jsonpCallback,l=void 0;return new Promise(function(r,u){var h=t.jsonpCallbackFunction||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),c=a+"_"+h;window[h]=function(e){r({ok:!0,json:function(){return Promise.resolve(e)}}),l&&clearTimeout(l),n(c),s(h)},i+=-1===i.indexOf("?")?"?":"&";var p=document.createElement("script");p.setAttribute("src",""+i+a+"="+h),p.id=c,document.getElementsByTagName("head")[0].appendChild(p),l=setTimeout(function(){u(new Error("JSONP request to "+e+" timed out")),s(h),n(c)},o)})}})?s.apply(t,n):s)||(e.exports=i)},function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){(function(t){!function(r){var s=setTimeout;function n(){}function i(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],h(e,this)}function o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,i._immediateFn(function(){var r=1===e._state?t.onFulfilled:t.onRejected;if(null!==r){var s;try{s=r(e._value)}catch(e){return void l(t.promise,e)}a(t.promise,s)}else(1===e._state?a:l)(t.promise,e._value)})):e._deferreds.push(t)}function a(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var r=t.then;if(t instanceof i)return e._state=3,e._value=t,void u(e);if("function"==typeof r)return void h((s=r,n=t,function(){s.apply(n,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){l(e,t)}var s,n}function l(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&i._immediateFn(function(){e._handled||i._unhandledRejectionFn(e._value)});for(var t=0,r=e._deferreds.length;t0&&(r=parseFloat(e.toPrecision(t))),r},format:function(e,t,r,n){t=void 0!==t?t:0,r=void 0!==r?r:s.Number.thousandsSeparator,n=void 0!==n?n:s.Number.decimalSeparator,null!=t&&(e=parseFloat(e.toFixed(t)));var i=e.toString().split(".");1===i.length&&null==t&&(t=0);var o,a=i[0];if(r)for(var l=/(-?[0-9]+)([0-9]{3})/;l.test(a);)a=a.replace(l,"$1"+r+"$2");if(0==t)o=a;else{var u=i.length>1?i[1]:"0";null!=t&&(u+=new Array(t-u.length+1).join("0")),o=a+n+u}return o}};Number.prototype.limitSigDigs||(Number.prototype.limitSigDigs=function(e){return i.limitSigDigs(this,e)});var o,a,l,u=s.Function={bind:function(e,t){var r=Array.prototype.slice.apply(arguments,[2]);return function(){var s=r.concat(Array.prototype.slice.apply(arguments,[0]));return e.apply(t,s)}},bindAsEventListener:function(e,t){return function(r){return e.call(t,r||window.event)}},False:function(){return!1},True:function(){return!0},Void:function(){}},h=(s.Array={filter:function(e,t,r){var s=[];if(Array.prototype.filter)s=e.filter(t,r);else{var n=e.length;if("function"!=typeof t)throw new TypeError;for(var i=0;i=0;r--)e[r]===t&&e.splice(r,1);return e},s.Util.indexOf=function(e,t){if(null==e)return-1;if("function"==typeof e.indexOf)return e.indexOf(t);for(var r=0,s=e.length;r=0&&parseFloat(a)<1?(e.style.filter="alpha(opacity="+100*a+")",e.style.opacity=a):1===parseFloat(a)&&(e.style.filter="",e.style.opacity="")},s.Util.applyDefaults=function(e,t){e=e||{};var r="function"==typeof window.Event&&t instanceof window.Event;for(var s in t)(void 0===e[s]||!r&&t.hasOwnProperty&&t.hasOwnProperty(s)&&!e.hasOwnProperty(s))&&(e[s]=t[s]);return!r&&t&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&!e.hasOwnProperty("toString")&&(e.toString=t.toString),e},s.Util.getParameterString=function(e){var t=[];for(var r in e){var s=e[r];if(null!=s&&"function"!=typeof s){var n;if("object"==typeof s&&s.constructor===Array){for(var i,o=[],a=0,l=s.length;a1?1/e:e},s.Util.getResolutionFromScale=function(e,t){var r;e&&(null==t&&(t="degrees"),r=1/(s.Util.normalizeScale(e)*s.INCHES_PER_UNIT[t]*s.DOTS_PER_INCH));return r},s.Util.getScaleFromResolution=function(e,t){return null==t&&(t="degrees"),e*s.INCHES_PER_UNIT[t]*s.DOTS_PER_INCH},s.IS_GECKO=-1===(o=navigator.userAgent.toLowerCase()).indexOf("webkit")&&-1!==o.indexOf("gecko"),s.Browser=function(){var e,t="",r="",s="pc",n=navigator.userAgent.toLowerCase();return n.indexOf("msie")>-1||n.indexOf("trident")>-1&&n.indexOf("rv")>-1?(t="msie",e=n.match(/msie ([\d.]+)/)||n.match(/rv:([\d.]+)/)):n.indexOf("chrome")>-1?(t="chrome",e=n.match(/chrome\/([\d.]+)/)):n.indexOf("firefox")>-1?(t="firefox",e=n.match(/firefox\/([\d.]+)/)):n.indexOf("opera")>-1?(t="opera",e=n.match(/version\/([\d.]+)/)):n.indexOf("safari")>-1&&(t="safari",e=n.match(/version\/([\d.]+)/)),r=e?e[1]:"",n.indexOf("ipad")>-1||n.indexOf("ipod")>-1||n.indexOf("iphone")>-1?s="apple":n.indexOf("android")>-1&&(r=(e=n.match(/version\/([\d.]+)/))?e[1]:"",s="android"),{name:t,version:r,device:s}}(),s.Util.getBrowser=function(){return s.Browser},s.Util.isSupportCanvas=(a=!0,l=s.Util.getBrowser(),document.createElement("canvas").getContext?("firefox"===l.name&&parseFloat(l.version)<5&&(a=!1),"safari"===l.name&&parseFloat(l.version)<4&&(a=!1),"opera"===l.name&&parseFloat(l.version)<10&&(a=!1),"msie"===l.name&&parseFloat(l.version)<9&&(a=!1)):a=!1,a),s.Util.supportCanvas=function(){return s.Util.isSupportCanvas},s.INCHES_PER_UNIT.degree=s.INCHES_PER_UNIT.dd,s.INCHES_PER_UNIT.meter=s.INCHES_PER_UNIT.m,s.INCHES_PER_UNIT.foot=s.INCHES_PER_UNIT.ft,s.INCHES_PER_UNIT.inch=s.INCHES_PER_UNIT.inches,s.INCHES_PER_UNIT.mile=s.INCHES_PER_UNIT.mi,s.INCHES_PER_UNIT.kilometer=s.INCHES_PER_UNIT.km,s.INCHES_PER_UNIT.yard=s.INCHES_PER_UNIT.yd,s.Util.isInTheSameDomain=function(e){if(!e)return!0;var t=e.indexOf("//"),r=document.location.toString(),s=r.indexOf("//");if(-1===t)return!0;var n,i=n=e.substring(0,t),o=r.substring(s+2);s=o.indexOf("/");var a=o.indexOf(":"),l=o.substring(0,s),u=document.location.protocol;if(-1!==a||(l+=":"+("http:"===u.toLowerCase()?80:443)),u.toLowerCase()!==i.toLowerCase())return!1;var h=(i=e.substring(t+2)).indexOf(":");t=i.indexOf("/");var c,p=i.substring(0,t);return-1!==h?c=i.substring(0,h):(c=i.substring(0,t),p+=":"+("http:"===n.toLowerCase()?80:443)),c===document.domain&&p===l},s.Util.calculateDpi=function(e,t,r,s,n){if(e&&t&&r){var i,o=e.getWidth(),a=e.getHeight(),l=t.w,u=t.h;if(n=n||6378137,"degree"===(s=s||"degrees").toLowerCase()||"degrees"===s.toLowerCase()||"dd"===s.toLowerCase()){let e=o/l,t=a/u;i=254/(e>t?e:t)/r/(2*Math.PI*n/360)/1e4}else{i=254/(o/l)/r/1e4}return i}},s.Util.toJSON=function(e){var t=e;if(null==t)return null;switch(t.constructor){case String:return t=(t=(t=(t=(t=(t=(t='"'+t.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var r=[],n=0,i=t.length;n0?"{"+e.join(",")+"}":"{}"}return t.toString()}},s.Util.getResolutionFromScaleDpi=function(e,t,r,n){return n=n||6378137,r=r||"",e>0&&t>0?(e=s.Util.normalizeScale(e),"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*n/360)/1e4:254/t/e/1e4):-1},s.Util.getScaleFromResolutionDpi=function(e,t,r,s){return s=s||6378137,r=r||"",e>0&&t>0?"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*s/360)/1e4:254/t/e/1e4:-1},s.Util.transformResult=function(e){return e.responseText&&"string"==typeof e.responseText&&(e=JSON.parse(e.responseText)),e},s.Util.copyAttributes=function(e,t){if(e=e||{},t)for(var r in t){var s=t[r];void 0!==s&&"CLASS_NAME"!==r&&"function"!=typeof s&&(e[r]=s)}return e},s.Util.copyAttributesWithClip=function(e,t,r){if(e=e||{},t)for(var s in t){var n=!1;if(r&&r.length)for(var i=0,o=r.length;i=0&&o<=1&&i<=1&&o>=0?new s.Geometry.Point(e.x+i*(t.x-e.x),e.y+i*(t.y-e.y)):"No Intersection";else if(0==l&&0==u){var c=Math.max(e.y,t.y),p=Math.min(e.y,t.y),d=Math.max(e.x,t.x),E=Math.min(e.x,t.x);a=(r.y>=p&&r.y<=c||n.y>=p&&n.y<=c)&&r.x>=E&&r.x<=d||n.x>=E&&n.x<=d?"Coincident":"Parallel"}else a="Parallel";return a},s.Util.getTextBounds=function(e,t,r){document.body.appendChild(r),r.style.width="auto",r.style.height="auto",e.fontSize&&(r.style.fontSize=e.fontSize),e.fontFamily&&(r.style.fontFamily=e.fontFamily),e.fontWeight&&(r.style.fontWeight=e.fontWeight),r.style.position="relative",r.style.visibility="hidden",r.style.display="inline-block",r.innerHTML=t;var s=r.clientWidth,n=r.clientHeight;return document.body.removeChild(r),{textWidth:s,textHeight:n}};var c=s.Event={observers:!1,KEY_SPACE:32,KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,element:function(e){return e.target||e.srcElement},isSingleTouch:function(e){return e.touches&&1===e.touches.length},isMultiTouch:function(e){return e.touches&&e.touches.length>1},isLeftClick:function(e){return e.which&&1===e.which||e.button&&1===e.button},isRightClick:function(e){return e.which&&3===e.which||e.button&&2===e.button},stop:function(e,t){t||(e.preventDefault?e.preventDefault():e.returnValue=!1),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},findElement:function(e,t){for(var r=s.Event.element(e);r.parentNode&&(!r.tagName||r.tagName.toUpperCase()!=t.toUpperCase());)r=r.parentNode;return r},observe:function(e,t,r,s){var n=h.getElement(e);if(s=s||!1,"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||n.attachEvent)&&(t="keydown"),this.observers||(this.observers={}),!n._eventCacheID){var i="eventCacheID_";n.id&&(i=n.id+"_"+i),n._eventCacheID=h.createUniqueID(i)}var o=n._eventCacheID;this.observers[o]||(this.observers[o]=[]),this.observers[o].push({element:n,name:t,observer:r,useCapture:s}),n.addEventListener?n.addEventListener(t,r,s):n.attachEvent&&n.attachEvent("on"+t,r)},stopObservingElement:function(e){var t=h.getElement(e)._eventCacheID;this._removeElementObservers(s.Event.observers[t])},_removeElementObservers:function(e){if(e)for(var t=e.length-1;t>=0;t--){var r=e[t],n=new Array(r.element,r.name,r.observer,r.useCapture);s.Event.stopObserving.apply(this,n)}},stopObserving:function(e,t,r,n){n=n||!1;var i=h.getElement(e),o=i._eventCacheID;"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||i.detachEvent)&&(t="keydown");var a=!1,l=s.Event.observers[o];if(l)for(var u=0;!a&&ut.geoFence.radius&&(t.outOfGeoFence&&t.outOfGeoFence(e),t.events.triggerEvent("outOfGeoFence",{data:e})),r})}_distance(e,t,r,s){return Math.sqrt((e-r)*(e-r)+(t-s)*(t-s))}_getMeterPerMapUnit(e){let t;return"meter"===e?t=1:"degree"===e&&(t=2*Math.PI*6378137/360),t}}s.ElasticSearch=f;var m=r(3),y=r.n(m);window.Promise=y.a;r(6);var v=r(1),T=r.n(v);const S=window.fetch;s.setCORS=function(e){s.CORS=e};var g=s.isCORS=function(){return void 0!=s.CORS?s.CORS:window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest},I=(s.setRequestTimeout=function(e){return s.RequestTimeout=e},s.getRequestTimeout=function(){return s.RequestTimeout||45e3}),N=s.FetchRequest={commit:function(e,t,r,s){switch(e=e?e.toUpperCase():e){case"GET":return this.get(t,r,s);case"POST":return this.post(t,r,s);case"PUT":return this.put(t,r,s);case"DELETE":return this.delete(t,r,s);default:return this.get(t,r,s)}},supportDirectRequest:function(e,t){return h.isInTheSameDomain(e)||g()||t.proxy},get:function(e,t,r){r=r||{};if(e=this._processUrl(e,r),e=h.urlAppend(e,this._getParameterString(t||{})),!this.supportDirectRequest(e,r)){var n={url:e=e.replace(".json",".jsonp"),data:t};return s.Util.RequestJSONPPromise.GET(n)}return this.urlIsLong(e)?this._postSimulatie("GET",e.substring(0,e.indexOf("?")-1),t,r):this._fetch(e,t,r,"GET")},delete:function(e,t,r){r=r||{};if(e=this._processUrl(e,r),e=h.urlAppend(e,this._getParameterString(t||{})),!this.supportDirectRequest(e,r)){e=e.replace(".json",".jsonp");var n={url:e+="&_method=DELETE",data:t};return s.Util.RequestJSONPPromise.DELETE(n)}return this.urlIsLong(e)?this._postSimulatie("DELETE",e.substring(0,e.indexOf("?")-1),t,r):this._fetch(e,t,r,"DELETE")},post:function(e,t,r){if(r=r||{},!this.supportDirectRequest(e,r)){e=e.replace(".json",".jsonp");var n={url:e+="&_method=POST",data:t};return s.Util.RequestJSONPPromise.POST(n)}return this._fetch(this._processUrl(e,r),t,r,"POST")},put:function(e,t,r){if(r=r||{},e=this._processUrl(e,r),!this.supportDirectRequest(e,r)){e=e.replace(".json",".jsonp");var n={url:e+="&_method=PUT",data:t};return s.Util.RequestJSONPPromise.DELETE(n)}return this._fetch(e,t,r,"PUT")},urlIsLong:function(e){for(var t=0,r=null,s=0,n=e.length;s-1?"&":"?")+"_method="+e,"string"!=typeof r&&(r=JSON.stringify(r)),this.post(t,r,s)},_processUrl:function(e,t){if(this._isMVTRequest(e))return e;if(-1===e.indexOf(".json")&&!t.withoutFormatSuffix)if(e.indexOf("?")<0)e+=".json";else{var r=e.split("?");2===r.length&&(e=r[0]+".json?"+r[1])}return t&&t.proxy&&("function"==typeof t.proxy?e=t.proxy(e):(e=decodeURIComponent(e),e=t.proxy+encodeURIComponent(e))),e},_fetch:function(e,t,r,s){return(r=r||{}).headers=r.headers||{},r.headers["Content-Type"]||(r.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8"),r.timeout?this._timeout(r.timeout,S(e,{method:s,headers:r.headers,body:"PUT"===s||"POST"===s?t:void 0,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:I()}).then(function(e){return e})):S(e,{method:s,body:"PUT"===s||"POST"===s?t:void 0,headers:r.headers,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:I()}).then(function(e){return e})},_fetchJsonp:function(e,t){return t=t||{},T()(e,{method:"GET",timeout:t.timeout}).then(function(e){return e})},_timeout:function(e,t){return new Promise(function(r,s){setTimeout(function(){s(new Error("timeout"))},e),t.then(r,s)})},_getParameterString:function(e){var t=[];for(var r in e){var s=e[r];if(null!=s&&"function"!=typeof s){var n;if("object"==typeof s&&s.constructor===Array){for(var i,o=[],a=0,l=s.length;a-1||e.indexOf(".pbf")>-1}};s.Util.RequestJSONPPromise={limitLength:1500,queryKeys:[],queryValues:[],supermap_callbacks:{},addQueryStrings:function(e){for(var t in e){this.queryKeys.push(t),"string"!=typeof e[t]&&(e[t]=s.Util.toJSON(e[t]));var r=encodeURIComponent(e[t]);this.queryValues.push(r)}},issue:function(e){for(var t=this,r=t.getUid(),s=e.url,n=[],i=new Promise(function(e){t.supermap_callbacks[r]=function(s){delete t.supermap_callbacks[r],e(s)}}),o=s,a=0,l=t.queryKeys?t.queryKeys.length:0,u=0;u=t.limitLength){if(0==a)return!1;n.push(o),o=s,a=0,u--}else if(o.length+t.queryKeys[u].length+2+t.queryValues[u].length>t.limitLength)for(var h=t.queryValues[u];h.length>0;){var c=t.limitLength-o.length-t.queryKeys[u].length-2;o.indexOf("?")>-1?o+="&":o+="?";var p=h.substring(0,c);"%"===p.substring(c-1,c)?(c-=1,p=h.substring(0,c)):"%"===p.substring(c-2,c-1)&&(c-=2,p=h.substring(0,c)),o+=t.queryKeys[u]+"="+p,h=h.substring(c),p.length>0&&(n.push(o),o=s,a=0)}else a++,o.indexOf("?")>-1?o+="&":o+="?",o+=t.queryKeys[u]+"="+t.queryValues[u];return n.push(o),t.send(n,"SuperMap.Util.RequestJSONPPromise.supermap_callbacks["+r+"]",e&&e.proxy),i},getUid:function(){return 1e3*(new Date).getTime()+Math.floor(1e17*Math.random())},send:function(e,t,r){var s=e.length;if(s>0)for(var n=(new Date).getTime(),i=0;i-1?o+="&":o+="?",o+="sectionCount="+s,o+="§ionIndex="+i,o+="&jsonpUserID="+n,r&&(o=decodeURIComponent(o),o=r+encodeURIComponent(o)),T()(o,{jsonpCallbackFunction:t,timeout:3e4})}},GET:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings(e.params),this.issue(e)},POST:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},PUT:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},DELETE:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)}};class R{static generateToken(e,t){var r=this.servers[e];if(r)return N.post(r.tokenServiceUrl,JSON.stringify(t.toJSON())).then(function(e){return e.text()})}static registerServers(e){this.servers=this.servers||{},h.isArray(e)||(e=[e]);for(var t=0;t-1){var e=this.dataSet.get();e=this.dataSet.transferCoordinate(e,function(e){var t=q.Projection.transform({x:e[0],y:e[1]},"EPSG:3857","EPSG:4326");return[t.x,t.y]},"coordinates","coordinates"),this.dataSet._set(e)}}_canvasUpdate(e){if(this.canvasLayer){var t=this.options.animation,r=this.getContext(),s=this.map;if(this.isEnabledTime()){if(void 0===e)return void this.clear(r);"2d"===this.context&&(r.save(),r.globalCompositeOperation="destination-out",r.fillStyle="rgba(0, 0, 0, .1)",r.fillRect(0,0,r.canvas.width,r.canvas.height),r.restore())}else this.clear(r);if("2d"===this.context)for(var n in this.options)r[n]=this.options[n];else r.clear(r.COLOR_BUFFER_BIT);if(!(this.options.minZoom&&s.getZoom()this.options.maxZoom)){var i=this.canvasLayer,o={fromColumn:"coordinates",transferCoordinate:function(e){var t=i.transferToMapLatLng({lon:e[0],lat:e[1]}),r=s.getViewPortPxFromLonLat(t);return[r.x,r.y]}};void 0!==e&&(o.filter=function(r){var s=t.trails||10;return e&&r.time>e-s&&r.timeMapV with © SuperMap iClient",this.CLASS_NAME="SuperMap.Layer.MapVLayer"}}destroy(){this.dataSet=null,this.options=null,this.renderer=null,this.supported=null,this.canvas=null,this.canvasContext=null,this.maxWidth=null,this.maxHeight=null,super.destroy()}addData(e,t){this.renderer&&this.renderer.addData(e,t)}setData(e,t){this.renderer&&this.renderer.setData(e,t)}getData(){return this.renderer&&(this.dataSet=this.renderer.getData()),this.dataSet}removeData(e){this.renderer&&this.renderer.removeData(e)}clearData(){this.renderer.clearData()}setMap(e){super.setMap(e),this.renderer=new X(e,this,this.dataSet,this.options),this.supported?this.redraw():this.map.removeLayer(this)}moveTo(e,t,r){if(super.moveTo(e,t,r),this.supported){if(this.zoomChanged=t,!r){this.div.style.visibility="hidden",this.div.style.left=-parseInt(this.map.layerContainerDiv.style.left)+"px",this.div.style.top=-parseInt(this.map.layerContainerDiv.style.top)+"px";var s=this.map.getSize();this.div.style.width=parseInt(s.w)+"px",this.div.style.height=parseInt(s.h)+"px",this.canvas.width=parseInt(s.w),this.canvas.height=parseInt(s.h),this.canvas.style.width=this.div.style.width,this.canvas.style.height=this.div.style.height,this.maxWidth=s.w,this.maxHeight=s.h,this.div.style.visibility="",t||this.renderer&&this.renderer.render()}t&&this.renderer&&this.renderer.render()}}transferToMapLatLng(e){var t="EPSG:4326",r=this.map.getUnits()||"degree";return["m","meter"].indexOf(r.toLowerCase())>-1&&(t="EPSG:3857"),new q.LonLat(e.lon,e.lat).transform("EPSG:4326",t)}}q.Layer.MapVLayer=z;class ${constructor(e,t){this.value=e||"",this.name=t||"token",this.CLASS_NAME="SuperMap.Credential"}getUrlParameters(){return this.name+"="+this.value}getValue(){return this.value}destroy(){this.value=null,this.name=null}}$.CREDENTIAL=null,s.Credential=$;class Z{constructor(e){this.data=null,this.keepData=!1,h.extend(this,e),this.options=e,this.CLASS_NAME="SuperMap.Format"}destroy(){}read(e){}write(e){}}s.Format=Z;class ee extends Z{constructor(e){super(e),this.indent=" ",this.space=" ",this.newline="\n",this.level=0,this.pretty=!1,this.nativeJSON=!(!window.JSON||"function"!=typeof JSON.parse||"function"!=typeof JSON.stringify),this.CLASS_NAME="SuperMap.Format.JSON",this.serialize={object:function(e){if(null==e)return"null";if(e.constructor===Date)return this.serialize.date.apply(this,[e]);if(e.constructor===Array)return this.serialize.array.apply(this,[e]);var t,r,s,n=["{"];this.level+=1;var i=!1;for(t in e)e.hasOwnProperty(t)&&(r=this.write.apply(this,[t,this.pretty]),s=this.write.apply(this,[e[t],this.pretty]),null!=r&&null!=s&&(i&&n.push(","),n.push(this.writeNewline(),this.writeIndent(),r,":",this.writeSpace(),s),i=!0));return this.level-=1,n.push(this.writeNewline(),this.writeIndent(),"}"),n.join("")},array:function(e){var t,r=["["];this.level+=1;for(var s=0,n=e.length;s0&&r.push(","),r.push(this.writeNewline(),this.writeIndent(),t));return this.level-=1,r.push(this.writeNewline(),this.writeIndent(),"]"),r.join("")},string:function(e){var t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return/["\\\x00-\x1f]/.test(e)?'"'+e.replace(/([\x00-\x1f\\"])/g,function(e,r){var s=t[r];return s||(s=r.charCodeAt(),"\\u00"+Math.floor(s/16).toString(16)+(s%16).toString(16))})+'"':'"'+e+'"'},number:function(e){return isFinite(e)?String(e):"null"},boolean:function(e){return String(e)},date:function(e){function t(e){return e<10?"0"+e:e}return'"'+e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+"T"+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds())+'"'}}}read(e,t){var r;if(this.nativeJSON)try{r=JSON.parse(e,t)}catch(e){}return this.keepData&&(this.data=r),r}write(e,t){this.pretty=!!t;var r=null,s=typeof e;if(this.serialize[s])try{r=!this.pretty&&this.nativeJSON?JSON.stringify(e):this.serialize[s].apply(this,[e])}catch(e){}return r}writeIndent(){var e=[];if(this.pretty)for(var t=0;t-1&&"?"===t?e.url+=r.getUrlParameters():e.url.indexOf("?")>-1&&"?"!==t?e.url+="&"+r.getUrlParameters():e.url+="?"+r.getUrlParameters()}t.calculatePollingTimes(),t._processSuccess=e.success,t._processFailed=e.failure,e.scope=t,e.success=t.getUrlCompleted,e.failure=t.getUrlFailed,t.options=e,t._commit(t.options)}getCredential(e){let t,r,s=e;switch(this.serverType){case C.IPORTAL:(t=(r=R.getToken(s))?new $(r,"token"):null)||(t=(r=R.getKey(s))?new $(r,"key"):null);break;case C.ONLINE:t=(r=R.getKey(s))?new $(r,"key"):null;break;default:t=(r=R.getToken(s))?new $(r,"token"):null}return t}getUrlCompleted(e){this._processSuccess(e)}getUrlFailed(e){let t=this;t.totalTimes>0?(t.totalTimes--,t.ajaxPolling()):t._processFailed(e)}ajaxPolling(){let e=this,t=e.options.url,r=/^http:\/\/([a-z]{9}|(\d+\.){3}\d+):\d{0,4}/;e.index=parseInt(Math.random()*e.length),e.url=e.urls[e.index],t=t.replace(r,r.exec(e.url)[0]),e.options.url=t,e.options.isInTheSameDomain=h.isInTheSameDomain(t),e._commit(e.options)}calculatePollingTimes(){let e=this;e.times?e.totalTimes>e.POLLING_TIMES?e.times>e.POLLING_TIMES?e.totalTimes=e.POLLING_TIMES:e.totalTimes=e.times:e.timese.POLLING_TIMES&&(e.totalTimes=e.POLLING_TIMES),e.totalTimes--}isServiceSupportPolling(){return!("SuperMap.REST.ThemeService"===this.CLASS_NAME||"SuperMap.REST.EditFeaturesService"===this.CLASS_NAME)}serviceProcessCompleted(e){e=h.transformResult(e),this.events.triggerEvent("processCompleted",{result:e})}serviceProcessFailed(e){let t=(e=h.transformResult(e)).error||e;this.events.triggerEvent("processFailed",{error:t})}_commit(e){"POST"!==e.method&&"PUT"!==e.method||(e.params&&(e.url=h.urlAppend(e.url,h.getParameterString(e.params||{}))),e.params=e.data),N.commit(e.method,e.url,e.params,{headers:e.headers,withCredentials:e.withCredentials,timeout:e.async?0:null,proxy:e.proxy}).then(function(e){return e.text?e.text():e.json?e.json():e}).then(function(t){var r=t;("string"==typeof t&&(r=(new ee).read(t)),(!r||r.error||r.code>=300&&304!==r.code)&&(r=r&&r.error?{error:r.error}:{error:r}),r.error)?(e.scope?u.bind(e.failure,e.scope):e.failure)(r):(r.succeed=void 0==r.succeed||r.succeed,(e.scope?u.bind(e.success,e.scope):e.success)(r))})}}s.CommonServiceBase=te;class re extends te{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.AddressMatchService"}destroy(){super.destroy()}code(e,t){t instanceof K&&this.processAsync(e,t)}decode(e,t){t instanceof Y&&this.processAsync(e,t)}processAsync(e,t){var r=this;N.get(e,t,{proxy:r.proxy}).then(function(e){return e.json()}).then(function(e){e?r.serviceProcessCompleted(e):r.serviceProcessFailed(e)}).catch(function(e){r.eventListeners.processFailed({error:e})})}serviceProcessCompleted(e){super.serviceProcessCompleted(e)}serviceProcessFailed(e){super.serviceProcessFailed(e)}}s.AddressMatchService=re;class se extends te{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.REST.AddressMatchService"}code(e,t){var r=this;new re(r.url,{proxy:r.proxy,withCredentials:r.withCredentials,serverType:r.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t}}).code(r.url+"/geocoding",e)}decode(e,t){var r=this;new re(r.url,{proxy:r.proxy,withCredentials:r.withCredentials,serverType:r.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t}}).decode(r.url+"/geodecoding",e)}}q.REST.AddressMatchService=se;class ne extends te{constructor(e,t){(t=t||{}).EVENT_TYPES=["processCompleted","processFailed","processRunning"],super(e,t),this.CLASS_NAME="SuperMap.ProcessingServiceBase"}destroy(){super.destroy()}getJobs(e){var t=this;N.get(e,null,{proxy:t.proxy}).then(function(e){return e.json()}).then(function(e){t.events.triggerEvent("processCompleted",{result:e})}).catch(function(e){t.eventListeners.processFailed({error:e})})}addJob(e,t,r,s){var n=this,i=null;t&&t instanceof r&&(i=new Object,r.toObject(t,i));var o={proxy:n.proxy,headers:{"Content-Type":"application/x-www-form-urlencoded"}};N.post(n._processUrl(e),JSON.stringify(i),o).then(function(e){return e.json()}).then(function(e){e.succeed?n.serviceProcessCompleted(e,s):n.serviceProcessFailed(e)}).catch(function(e){n.serviceProcessFailed({error:e})})}serviceProcessCompleted(e,t){e=h.transformResult(e),t=t||1e3;var r=this;if(e)var s=setInterval(function(){N.get(e.newResourceLocation,{_t:(new Date).getTime()}).then(function(e){return e.json()}).then(function(e){r.events.triggerEvent("processRunning",{id:e.id,state:e.state}),"LOST"!==e.state.runState&&"KILLED"!==e.state.runState&&"FAILED"!==e.state.runState||(clearInterval(s),r.events.triggerEvent("processFailed",{error:e.state.errorMsg,state:e.state.runState})),"FINISHED"===e.state.runState&&e.setting.serviceInfo&&(clearInterval(s),r.events.triggerEvent("processCompleted",{result:e}))}).catch(function(e){clearInterval(s),r.events.triggerEvent("processFailed",{error:e})})},t)}serviceProcessFailed(e){super.serviceProcessFailed(e)}_processUrl(e){return-1===e.indexOf(".json")&&(e+=".json"),R.getToken(e)&&(e+="?token="+R.getToken(e)),e}}s.ProcessingServiceBase=ne;class ie extends ne{constructor(e,t){super(e,t),this.url+="/spatialanalyst/density",this.CLASS_NAME="SuperMap.KernelDensityJobsService"}destroy(){super.destroy()}getKernelDensityJobs(){super.getJobs(this.url)}getKernelDensityJob(e){super.getJobs(this.url+"/"+e)}addKernelDensityJob(e,t){super.addJob(this.url,e,F,t)}}s.KernelDensityJobsService=ie;class oe extends ne{constructor(e,t){super(e,t),this.url+="/spatialanalyst/query",this.CLASS_NAME="SuperMap.SingleObjectQueryJobsService"}destroy(){super.destroy()}getQueryJobs(){super.getJobs(this.url)}getQueryJob(e){super.getJobs(this.url+"/"+e)}addQueryJob(e,t){super.addJob(this.url,e,J,t)}}s.SingleObjectQueryJobsService=oe;class ae extends ne{constructor(e,t){super(e,t),this.url+="/spatialanalyst/aggregatepoints",this.CLASS_NAME="SuperMap.SummaryMeshJobsService"}destroy(){super.destroy()}getSummaryMeshJobs(){super.getJobs(this.url)}getSummaryMeshJob(e){super.getJobs(this.url+"/"+e)}addSummaryMeshJob(e,t){super.addJob(this.url,e,B,t)}}s.SummaryMeshJobsService=ae;class le extends ne{constructor(e,t){super(e,t),this.url+="/spatialanalyst/summaryregion",this.CLASS_NAME="SuperMap.SummaryRegionJobsService"}destroy(){super.destroy()}getSummaryRegionJobs(){super.getJobs(this.url)}getSummaryRegionJob(e){super.getJobs(this.url+"/"+e)}addSummaryRegionJob(e,t){super.addJob(this.url,e,G,t)}}s.SummaryRegionJobsService=le;class ue{constructor(e){e=e||{},this.datasetName="",this.datasetVectorClip="",this.geometryClip="",this.mode=L.CLIP,this.output=null,h.extend(this,e),this.CLASS_NAME="SuperMap.VectorClipJobsParameter"}destroy(){this.datasetName=null,this.datasetVectorClip=null,this.geometryClip=null,this.mode=null,this.output instanceof D&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var r in e)"datasetName"!==r?"output"!==r?(t.analyst=t.analyst||{},t.analyst[r]=e[r]):(t.output=t.output||{},t.output=e[r]):(t.input=t.input||{},t.input[r]=e[r])}}s.VectorClipJobsParameter=ue;class he extends ne{constructor(e,t){super(e,t),this.url+="/spatialanalyst/vectorclip",this.CLASS_NAME="SuperMap.VectorClipJobsService"}destroy(){super.destroy()}getVectorClipJobs(){super.getJobs(this.url)}getVectorClipJob(e){super.getJobs(this.url+"/"+e)}addVectorClipJob(e,t){super.addJob(this.url,e,ue,t)}}s.VectorClipJobsService=he;class ce extends ne{constructor(e,t){super(e,t),this.url+="/spatialanalyst/overlay",this.CLASS_NAME="SuperMap.OverlayGeoJobsService"}destroy(){super.destroy()}getOverlayGeoJobs(){super.getJobs(this.url)}getOverlayGeoJob(e){super.getJobs(this.url+"/"+e)}addOverlayGeoJob(e,t){super.addJob(this.url,e,k,t)}}s.OverlayGeoJobsService=ce;class pe extends ne{constructor(e,t){super(e,t),this.url+="/spatialanalyst/buffers",this.CLASS_NAME="SuperMap.BuffersAnalystJobsService"}destroy(){super.destroy()}getBuffersJobs(){super.getJobs(this.url)}getBuffersJob(e){super.getJobs(this.url+"/"+e)}addBuffersJob(e,t){super.addJob(this.url,e,j,t)}}s.BuffersAnalystJobsService=pe;class de extends ne{constructor(e,t){super(e,t),this.url+="/spatialanalyst/topologyvalidator",this.CLASS_NAME="SuperMap.TopologyValidatorJobsService"}destroy(){super.destroy()}getTopologyValidatorJobs(){super.getJobs(this.url)}getTopologyValidatorJob(e){super.getJobs(this.url+"/"+e)}addTopologyValidatorJob(e,t){super.addJob(this.url,e,V,t)}}s.TopologyValidatorJobsService=de;class Ee extends ne{constructor(e,t){super(e,t),this.url+="/spatialanalyst/summaryattributes",this.CLASS_NAME="SuperMap.SummaryAttributesJobsService"}destroy(){super.destroy()}getSummaryAttributesJobs(){super.getJobs(this.url)}getSummaryAttributesJob(e){super.getJobs(this.url+"/"+e)}addSummaryAttributesJob(e,t){super.addJob(this.url,e,H,t)}}s.SummaryAttributesJobsService=Ee;class fe extends te{constructor(e,t){super(e,t),this.kernelDensityJobs={},this.summaryMeshJobs={},this.queryJobs={},this.summaryRegionJobs={},this.vectorClipJobs={},this.overlayGeoJobs={},this.buffersJobs={},this.topologyValidatorJobs={},this.summaryAttributesJobs={}}getKernelDensityJobs(e,t){var r=this,s=r._processFormat(t);new ie(r.url,{proxy:r.proxy,withCredentials:r.withCredentials,serverType:r.serverType,eventListeners:{scope:r,processCompleted:e,processFailed:e},format:s}).getKernelDensityJobs()}getKernelDensityJob(e,t,r){var s=this,n=s._processFormat(r);new ie(s.url,{proxy:s.proxy,withCredentials:s.withCredentials,serverType:s.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t},format:n}).getKernelDensityJob(e)}addKernelDensityJob(e,t,r,s){var n=this,i=n._processFormat(s);new ie(n.url,{proxy:n.proxy,withCredentials:n.withCredentials,eventListeners:{scope:n,processCompleted:t,processFailed:t,processRunning(e){n.kernelDensityJobs[e.id]=e.state}},format:i}).addKernelDensityJob(e,r)}getKernelDensityJobState(e){return this.kernelDensityJobs[e]}getSummaryMeshJobs(e,t){var r=this,s=r._processFormat(t);new ae(r.url,{proxy:r.proxy,withCredentials:r.withCredentials,serverType:r.serverType,eventListeners:{scope:r,processCompleted:e,processFailed:e},format:s}).getSummaryMeshJobs()}getSummaryMeshJob(e,t,r){var s=this,n=s._processFormat(r);new ae(s.url,{proxy:s.proxy,withCredentials:s.withCredentials,serverType:s.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t},format:n}).getSummaryMeshJob(e)}addSummaryMeshJob(e,t,r,s){var n=this,i=n._processFormat(s);new ae(n.url,{proxy:n.proxy,withCredentials:n.withCredentials,eventListeners:{scope:n,processCompleted:t,processFailed:t,processRunning(e){n.summaryMeshJobs[e.id]=e.state}},format:i}).addSummaryMeshJob(e,r)}getSummaryMeshJobState(e){return this.summaryMeshJobs[e]}getQueryJobs(e,t){var r=this,s=r._processFormat(t);new oe(r.url,{proxy:r.proxy,withCredentials:r.withCredentials,serverType:r.serverType,eventListeners:{scope:r,processCompleted:e,processFailed:e},format:s}).getQueryJobs()}getQueryJob(e,t,r){var s=this,n=s._processFormat(r);new oe(s.url,{proxy:s.proxy,withCredentials:s.withCredentials,serverType:s.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t},format:n}).getQueryJob(e)}addQueryJob(e,t,r,s){var n=this,i=n._processParams(e),o=n._processFormat(s);new oe(n.url,{proxy:n.proxy,withCredentials:n.withCredentials,eventListeners:{scope:n,processCompleted:t,processFailed:t,processRunning(e){n.queryJobs[e.id]=e.state}},format:o}).addQueryJob(i,r)}getQueryJobState(e){return this.queryJobs[e]}getSummaryRegionJobs(e,t){var r=this,s=r._processFormat(t);new le(r.url,{proxy:r.proxy,withCredentials:r.withCredentials,serverType:r.serverType,eventListeners:{scope:r,processCompleted:e,processFailed:e},format:s}).getSummaryRegionJobs()}getSummaryRegionJob(e,t,r){var s=this,n=s._processFormat(r);new le(s.url,{proxy:s.proxy,withCredentials:s.withCredentials,serverType:s.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t},format:n}).getSummaryRegionJob(e)}addSummaryRegionJob(e,t,r,s){var n=this,i=n._processFormat(s);new le(n.url,{proxy:n.proxy,withCredentials:n.withCredentials,eventListeners:{scope:n,processCompleted:t,processFailed:t,processRunning(e){n.summaryRegionJobs[e.id]=e.state}},format:i}).addSummaryRegionJob(e,r)}getSummaryRegionJobState(e){return this.summaryRegionJobs[e]}getVectorClipJobs(e,t){var r=this,s=r._processFormat(t);new he(r.url,{proxy:r.proxy,withCredentials:r.withCredentials,serverType:r.serverType,eventListeners:{scope:r,processCompleted:e,processFailed:e},format:s}).getVectorClipJobs()}getVectorClipJob(e,t,r){var s=this,n=s._processFormat(r);new he(s.url,{proxy:s.proxy,withCredentials:s.withCredentials,serverType:s.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t},format:n}).getVectorClipJob(e)}addVectorClipJob(e,t,r,s){var n=this,i=n._processParams(e),o=n._processFormat(s);new he(n.url,{proxy:n.proxy,withCredentials:n.withCredentials,serverType:n.serverType,eventListeners:{scope:n,processCompleted:t,processFailed:t,processRunning(e){n.vectorClipJobs[e.id]=e.state}},format:o}).addVectorClipJob(i,r)}getVectorClipJobState(e){return this.vectorClipJobs[e]}getOverlayGeoJobs(e,t){var r=this,s=r._processFormat(t);new ce(r.url,{proxy:r.proxy,withCredentials:r.withCredentials,serverType:r.serverType,eventListeners:{scope:r,processCompleted:e,processFailed:e},format:s}).getOverlayGeoJobs()}getOverlayGeoJob(e,t,r){var s=this,n=s._processFormat(r);new ce(s.url,{proxy:s.proxy,withCredentials:s.withCredentials,serverType:s.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t},format:n}).getOverlayGeoJob(e)}addOverlayGeoJob(e,t,r,s){var n=this,i=n._processFormat(s);new ce(n.url,{proxy:n.proxy,withCredentials:n.withCredentials,serverType:n.serverType,eventListeners:{scope:n,processCompleted:t,processFailed:t,processRunning:function(e){n.overlayGeoJobs[e.id]=e.state}},format:i}).addOverlayGeoJob(e,r)}getoverlayGeoJobState(e){return this.overlayGeoJobs[e]}getBuffersJobs(e,t){var r=this,s=r._processFormat(t);new pe(r.url,{proxy:r.proxy,withCredentials:r.withCredentials,serverType:r.serverType,eventListeners:{scope:r,processCompleted:e,processFailed:e},format:s}).getBuffersJobs()}getBuffersJob(e,t,r){var s=this,n=s._processFormat(r);new pe(s.url,{proxy:s.proxy,withCredentials:s.withCredentials,serverType:s.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t},format:n}).getBuffersJob(e)}addBuffersJob(e,t,r,s){var n=this,i=n._processFormat(s);new pe(n.url,{proxy:n.proxy,withCredentials:n.withCredentials,serverType:n.serverType,eventListeners:{scope:n,processCompleted:t,processFailed:t,processRunning:function(e){n.buffersJobs[e.id]=e.state}},format:i}).addBuffersJob(e,r)}getBuffersJobState(e){return this.buffersJobs[e]}getTopologyValidatorJobs(e,t){var r=this,s=r._processFormat(t);new de(r.url,{proxy:r.proxy,withCredentials:r.withCredentials,serverType:r.serverType,eventListeners:{scope:r,processCompleted:e,processFailed:e},format:s}).getTopologyValidatorJobs()}getTopologyValidatorJob(e,t,r){var s=this,n=s._processFormat(r);new de(s.url,{proxy:s.proxy,withCredentials:s.withCredentials,serverType:s.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t},format:n}).getTopologyValidatorJob(e)}addTopologyValidatorJob(e,t,r,s){var n=this,i=n._processFormat(s);new de(n.url,{proxy:n.proxy,withCredentials:n.withCredentials,serverType:n.serverType,eventListeners:{scope:n,processCompleted:t,processFailed:t,processRunning:function(e){n.topologyValidatorJobs[e.id]=e.state}},format:i}).addTopologyValidatorJob(e,r)}getTopologyValidatorJobState(e){return this.topologyValidatorJobs[e]}getSummaryAttributesJobs(e,t){var r=this,s=r._processFormat(t);new Ee(r.url,{proxy:r.proxy,withCredentials:r.withCredentials,serverType:r.serverType,eventListeners:{scope:r,processCompleted:e,processFailed:e},format:s}).getSummaryAttributesJobs()}getSummaryAttributesJob(e,t,r){var s=this,n=s._processFormat(r);new Ee(s.url,{proxy:s.proxy,withCredentials:s.withCredentials,serverType:s.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t},format:n}).getSummaryAttributesJob(e)}addSummaryAttributesJob(e,t,r,s){var n=this,i=n._processFormat(s);new Ee(n.url,{proxy:n.proxy,withCredentials:n.withCredentials,serverType:n.serverType,eventListeners:{scope:n,processCompleted:t,processFailed:t,processRunning:function(e){n.summaryAttributesJobs[e.id]=e.state}},format:i}).addSummaryAttributesJob(e,r)}getSummaryAttributesJobState(e){return this.summaryAttributesJobs[e]}_processFormat(e){return e||_.GEOJSON}_processParams(e){return e?(e.geometryQuery&&(e.geometryQuery=this._convertPatams(e.geometryQuery)),e.geometryClip&&(e.geometryClip=this._convertPatams(e.geometryClip)),e):{}}_convertPatams(e){var t={};if(e.length<1)t="";else{for(var r=[],s=0;s599){if(l)return;return l=!0,void n(new TypeError("Network request failed"))}var t={status:e,statusText:o.statusText,headers:function(e){var t=new a;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var r=e.trim().split(":"),s=r.shift().trim(),n=r.join(":").trim();t.append(s,n)}),t}(o),url:"responseURL"in o?o.responseURL:/^X-Request-URL:/m.test(o.getAllResponseHeaders())?o.getResponseHeader("X-Request-URL"):void 0},r="response"in o?o.response:o.responseText;l||(l=!0,s(new E(r,t)))}}o.onreadystatechange=u,o.onload=u,o.onerror=function(){l||(l=!0,n(new TypeError("Network request failed")))},o.open(i.method,i.url,!0);try{"include"===i.credentials&&("withCredentials"in o?o.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(e){console&&console.warn&&console.warn("set withCredentials error:"+e)}"responseType"in o&&r.blob&&(o.responseType="blob"),i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send(void 0===i._bodyInit?null:i._bodyInit)})},t.fetch.polyfill=!0,void 0!==e&&e.exports&&(e.exports=t.fetch)}function i(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function o(e){return"string"!=typeof e&&(e=String(e)),e}function a(e){this.map={},e instanceof a?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function l(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function u(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function h(e){var t=new FileReader;return t.readAsArrayBuffer(e),u(t)}function c(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(r.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(r.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!r.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},r.blob?(this.blob=function(){var e=l(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(h)},this.text=function(){var e,t,r,s,n,i,o,a=l(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=this._options,r=new FileReader,s=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",n=/charset\=[0-9a-zA-Z\-\_]*;?/,i=e.type.match(n)||s.match(n),o=[e],i&&o.push(i[0].replace(/^charset\=/,"").replace(/;$/,"")),r.readAsText.apply(r,o),u(r);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=l(this);return e||Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(d)}),this.json=function(){return this.text().then(JSON.parse)},this}function p(e,t){var r,n,i=(t=t||{}).body;if(p.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new a(e.headers)),this.method=e.method,this.mode=e.mode,i||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new a(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),s.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i,t)}function d(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),s=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(s),decodeURIComponent(n))}}),t}function E(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof a?t.headers:new a(t.headers),this.url=t.url||""}}("undefined"!=typeof self?self:this)},function(e,t){var r,s,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{s="function"==typeof clearTimeout?clearTimeout:o}catch(e){s=o}}();var l,u=[],h=!1,c=-1;function p(){h&&l&&(h=!1,l.length?u=l.concat(u):c=-1,u.length&&d())}function d(){if(!h){var e=a(p);h=!0;for(var t=u.length;t;){for(l=u,u=[];++c1)for(var r=1;r=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r(8),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(2))}]); \ No newline at end of file diff --git a/dist/classic/iclient-classic.js b/dist/classic/iclient-classic.js index 8546368c93..9fabeefb4f 100644 --- a/dist/classic/iclient-classic.js +++ b/dist/classic/iclient-classic.js @@ -3,7 +3,7 @@ * iclient-classic.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */ /******/ (function(modules) { // webpackBootstrap diff --git a/dist/classic/iclient-classic.min.js b/dist/classic/iclient-classic.min.js index a98a8579bf..7eee702a19 100644 --- a/dist/classic/iclient-classic.min.js +++ b/dist/classic/iclient-classic.min.js @@ -3,6 +3,6 @@ * iclient-classic.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=56)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SuperMap=window.SuperMap=window.SuperMap||{}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Util=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=r(0);r(9);var i,a,s;t.Util=o.SuperMap.Util=o.SuperMap.Util||{};o.SuperMap.Util.extend=function(e,t){if(e=e||{},t){for(var r in t){var n=t[r];void 0!==n&&(e[r]=n)}!("function"==typeof window.Event&&t instanceof window.Event)&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&(e.toString=t.toString)}return e},o.SuperMap.Util.copy=function(e,t){var r;if(e=e||{},t)for(var n in e)void 0!==(r=t[n])&&(e[n]=r)},o.SuperMap.Util.reset=function(e){for(var t in e=e||{})if(e.hasOwnProperty(t)){if("object"===n(e[t])&&e[t]instanceof Array){for(var r in e[t])e[t][r].destroy&&e[t][r].destroy();e[t].length=0}else"object"===n(e[t])&&e[t]instanceof Object&&e[t].destroy&&e[t].destroy();e[t]=null}},o.SuperMap.Util.getElement=function(){for(var e=[],t=0,r=arguments.length;t=0;r--)e[r]===t&&e.splice(r,1);return e},o.SuperMap.Util.indexOf=function(e,t){if(null==e)return-1;if("function"==typeof e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r=0&&parseFloat(s)<1?(e.style.filter="alpha(opacity="+100*s+")",e.style.opacity=s):1===parseFloat(s)&&(e.style.filter="",e.style.opacity="")},o.SuperMap.Util.applyDefaults=function(e,t){e=e||{};var r="function"==typeof window.Event&&t instanceof window.Event;for(var n in t)(void 0===e[n]||!r&&t.hasOwnProperty&&t.hasOwnProperty(n)&&!e.hasOwnProperty(n))&&(e[n]=t[n]);return!r&&t&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&!e.hasOwnProperty("toString")&&(e.toString=t.toString),e},o.SuperMap.Util.getParameterString=function(e){var t=[];for(var r in e){var o=e[r];if(null!=o&&"function"!=typeof o){var i;if("object"===(void 0===o?"undefined":n(o))&&o.constructor===Array){for(var a,s=[],u=0,l=o.length;u1?1/e:e},o.SuperMap.Util.getResolutionFromScale=function(e,t){var r;e&&(null==t&&(t="degrees"),r=1/(o.SuperMap.Util.normalizeScale(e)*o.SuperMap.INCHES_PER_UNIT[t]*o.SuperMap.DOTS_PER_INCH));return r},o.SuperMap.Util.getScaleFromResolution=function(e,t){return null==t&&(t="degrees"),e*o.SuperMap.INCHES_PER_UNIT[t]*o.SuperMap.DOTS_PER_INCH},o.SuperMap.IS_GECKO=-1===(i=navigator.userAgent.toLowerCase()).indexOf("webkit")&&-1!==i.indexOf("gecko"),o.SuperMap.Browser=function(){var e,t="",r="",n="pc",o=navigator.userAgent.toLowerCase();return o.indexOf("msie")>-1||o.indexOf("trident")>-1&&o.indexOf("rv")>-1?(t="msie",e=o.match(/msie ([\d.]+)/)||o.match(/rv:([\d.]+)/)):o.indexOf("chrome")>-1?(t="chrome",e=o.match(/chrome\/([\d.]+)/)):o.indexOf("firefox")>-1?(t="firefox",e=o.match(/firefox\/([\d.]+)/)):o.indexOf("opera")>-1?(t="opera",e=o.match(/version\/([\d.]+)/)):o.indexOf("safari")>-1&&(t="safari",e=o.match(/version\/([\d.]+)/)),r=e?e[1]:"",o.indexOf("ipad")>-1||o.indexOf("ipod")>-1||o.indexOf("iphone")>-1?n="apple":o.indexOf("android")>-1&&(r=(e=o.match(/version\/([\d.]+)/))?e[1]:"",n="android"),{name:t,version:r,device:n}}(),o.SuperMap.Util.getBrowser=function(){return o.SuperMap.Browser},o.SuperMap.Util.isSupportCanvas=(a=!0,s=o.SuperMap.Util.getBrowser(),document.createElement("canvas").getContext?("firefox"===s.name&&parseFloat(s.version)<5&&(a=!1),"safari"===s.name&&parseFloat(s.version)<4&&(a=!1),"opera"===s.name&&parseFloat(s.version)<10&&(a=!1),"msie"===s.name&&parseFloat(s.version)<9&&(a=!1)):a=!1,a),o.SuperMap.Util.supportCanvas=function(){return o.SuperMap.Util.isSupportCanvas},o.SuperMap.INCHES_PER_UNIT.degree=o.SuperMap.INCHES_PER_UNIT.dd,o.SuperMap.INCHES_PER_UNIT.meter=o.SuperMap.INCHES_PER_UNIT.m,o.SuperMap.INCHES_PER_UNIT.foot=o.SuperMap.INCHES_PER_UNIT.ft,o.SuperMap.INCHES_PER_UNIT.inch=o.SuperMap.INCHES_PER_UNIT.inches,o.SuperMap.INCHES_PER_UNIT.mile=o.SuperMap.INCHES_PER_UNIT.mi,o.SuperMap.INCHES_PER_UNIT.kilometer=o.SuperMap.INCHES_PER_UNIT.km,o.SuperMap.INCHES_PER_UNIT.yard=o.SuperMap.INCHES_PER_UNIT.yd,o.SuperMap.Util.isInTheSameDomain=function(e){if(!e)return!0;var t=e.indexOf("//"),r=document.location.toString(),n=r.indexOf("//");if(-1===t)return!0;var o,i=o=e.substring(0,t),a=r.substring(n+2);n=a.indexOf("/");var s=a.indexOf(":"),u=a.substring(0,n),l=document.location.protocol;if(-1!==s||(u+=":"+("http:"===l.toLowerCase()?80:443)),l.toLowerCase()!==i.toLowerCase())return!1;var p=(i=e.substring(t+2)).indexOf(":");t=i.indexOf("/");var c,f=i.substring(0,t);return-1!==p?c=i.substring(0,p):(c=i.substring(0,t),f+=":"+("http:"===o.toLowerCase()?80:443)),c===document.domain&&f===u},o.SuperMap.Util.calculateDpi=function(e,t,r,n,o){if(e&&t&&r){var i,a=e.getWidth(),s=e.getHeight(),u=t.w,l=t.h;if(o=o||6378137,"degree"===(n=n||"degrees").toLowerCase()||"degrees"===n.toLowerCase()||"dd"===n.toLowerCase()){var p=a/u,c=s/l;i=254/(p>c?p:c)/r/(2*Math.PI*o/360)/1e4}else{i=254/(a/u)/r/1e4}return i}},o.SuperMap.Util.toJSON=function(e){var t=e;if(null==t)return null;switch(t.constructor){case String:return t=(t=(t=(t=(t=(t=(t='"'+t.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var r=[],i=0,a=t.length;i0?"{"+p.join(",")+"}":"{}"}return t.toString()}},o.SuperMap.Util.getResolutionFromScaleDpi=function(e,t,r,n){return n=n||6378137,r=r||"",e>0&&t>0?(e=o.SuperMap.Util.normalizeScale(e),"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*n/360)/1e4:254/t/e/1e4):-1},o.SuperMap.Util.getScaleFromResolutionDpi=function(e,t,r,n){return n=n||6378137,r=r||"",e>0&&t>0?"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*n/360)/1e4:254/t/e/1e4:-1},o.SuperMap.Util.transformResult=function(e){return e.responseText&&"string"==typeof e.responseText&&(e=JSON.parse(e.responseText)),e},o.SuperMap.Util.copyAttributes=function(e,t){if(e=e||{},t)for(var r in t){var n=t[r];void 0!==n&&"CLASS_NAME"!==r&&"function"!=typeof n&&(e[r]=n)}return e},o.SuperMap.Util.copyAttributesWithClip=function(e,t,r){if(e=e||{},t)for(var n in t){var o=!1;if(r&&r.length)for(var i=0,a=r.length;i=0&&a<=1&&i<=1&&a>=0?new o.SuperMap.Geometry.Point(e.x+i*(t.x-e.x),e.y+i*(t.y-e.y)):"No Intersection";else if(0==u&&0==l){var c=Math.max(e.y,t.y),f=Math.min(e.y,t.y),y=Math.max(e.x,t.x),h=Math.min(e.x,t.x);s=(r.y>=f&&r.y<=c||n.y>=f&&n.y<=c)&&r.x>=h&&r.x<=y||n.x>=h&&n.x<=y?"Coincident":"Parallel"}else s="Parallel";return s},o.SuperMap.Util.getTextBounds=function(e,t,r){document.body.appendChild(r),r.style.width="auto",r.style.height="auto",e.fontSize&&(r.style.fontSize=e.fontSize),e.fontFamily&&(r.style.fontFamily=e.fontFamily),e.fontWeight&&(r.style.fontWeight=e.fontWeight),r.style.position="relative",r.style.visibility="hidden",r.style.display="inline-block",r.innerHTML=t;var n=r.clientWidth,o=r.clientHeight;return document.body.removeChild(r),{textWidth:n,textHeight:o}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AggregationQueryBuilderType=t.AggregationType=t.TopologyValidatorRule=t.SummaryType=t.StatisticAnalystMode=t.AnalystSizeUnit=t.AnalystAreaUnit=t.ClipAnalystMode=t.ChartType=t.ClientType=t.Exponent=t.VariogramMode=t.InterpolationAlgorithmType=t.SearchMode=t.PixelFormat=t.StatisticMode=t.UGCLayerType=t.LayerType=t.ColorSpaceType=t.GridType=t.TransferPreference=t.TransferTactic=t.EditType=t.DataReturnMode=t.SurfaceAnalystMethod=t.SmoothMethod=t.OutputType=t.OverlayOperationType=t.BufferEndType=t.TurnType=t.SupplyCenterType=t.SideType=t.DirectionType=t.LabelOverLengthMode=t.LabelBackShape=t.AlongLineDirection=t.FillGradientMode=t.TextAlignment=t.ColorGradientType=t.ThemeType=t.RangeMode=t.GraduatedMode=t.GraphAxesTextDisplayMode=t.ThemeGraphType=t.ThemeGraphTextFormat=t.EngineType=t.BufferRadiusUnit=t.Unit=t.MeasureMode=t.SpatialRelationType=t.SpatialQueryMode=t.JoinType=t.QueryOption=t.GeometryType=t.ServerType=t.DataFormat=void 0;var n=r(0),o=n.SuperMap.DataFormat={GEOJSON:"GEOJSON",ISERVER:"ISERVER"};t.DataFormat=o;var i=n.SuperMap.ServerType={ISERVER:"ISERVER",IPORTAL:"IPORTAL",ONLINE:"ONLINE"};t.ServerType=i;var a=n.SuperMap.GeometryType={LINE:"LINE",LINEM:"LINEM",POINT:"POINT",REGION:"REGION",ELLIPSE:"ELLIPSE",CIRCLE:"CIRCLE",TEXT:"TEXT",RECTANGLE:"RECTANGLE",UNKNOWN:"UNKNOWN"};t.GeometryType=a;var s=n.SuperMap.QueryOption={ATTRIBUTE:"ATTRIBUTE",ATTRIBUTEANDGEOMETRY:"ATTRIBUTEANDGEOMETRY",GEOMETRY:"GEOMETRY"};t.QueryOption=s;var u=n.SuperMap.JoinType={INNERJOIN:"INNERJOIN",LEFTJOIN:"LEFTJOIN"};t.JoinType=u;var l=n.SuperMap.SpatialQueryMode={CONTAIN:"CONTAIN",CROSS:"CROSS",DISJOINT:"DISJOINT",IDENTITY:"IDENTITY",INTERSECT:"INTERSECT",NONE:"NONE",OVERLAP:"OVERLAP",TOUCH:"TOUCH",WITHIN:"WITHIN"};t.SpatialQueryMode=l;var p=n.SuperMap.SpatialRelationType={CONTAIN:"CONTAIN",INTERSECT:"INTERSECT",WITHIN:"WITHIN"};t.SpatialRelationType=p;var c=n.SuperMap.MeasureMode={DISTANCE:"DISTANCE",AREA:"AREA"};t.MeasureMode=c;var f=n.SuperMap.Unit={METER:"METER",KILOMETER:"KILOMETER",MILE:"MILE",YARD:"YARD",DEGREE:"DEGREE",MILLIMETER:"MILLIMETER",CENTIMETER:"CENTIMETER",INCH:"INCH",DECIMETER:"DECIMETER",FOOT:"FOOT",SECOND:"SECOND",MINUTE:"MINUTE",RADIAN:"RADIAN"};t.Unit=f;var y=n.SuperMap.BufferRadiusUnit={CENTIMETER:"CENTIMETER",DECIMETER:"DECIMETER",FOOT:"FOOT",INCH:"INCH",KILOMETER:"KILOMETER",METER:"METER",MILE:"MILE",MILLIMETER:"MILLIMETER",YARD:"YARD"};t.BufferRadiusUnit=y;var h=n.SuperMap.EngineType={IMAGEPLUGINS:"IMAGEPLUGINS",OGC:"OGC",ORACLEPLUS:"ORACLEPLUS",SDBPLUS:"SDBPLUS",SQLPLUS:"SQLPLUS",UDB:"UDB"};t.EngineType=h;var d=n.SuperMap.ThemeGraphTextFormat={CAPTION:"CAPTION",CAPTION_PERCENT:"CAPTION_PERCENT",CAPTION_VALUE:"CAPTION_VALUE",PERCENT:"PERCENT",VALUE:"VALUE"};t.ThemeGraphTextFormat=d;var v=n.SuperMap.ThemeGraphType={AREA:"AREA",BAR:"BAR",BAR3D:"BAR3D",LINE:"LINE",PIE:"PIE",PIE3D:"PIE3D",POINT:"POINT",RING:"RING",ROSE:"ROSE",ROSE3D:"ROSE3D",STACK_BAR:"STACK_BAR",STACK_BAR3D:"STACK_BAR3D",STEP:"STEP"};t.ThemeGraphType=v;var m=n.SuperMap.GraphAxesTextDisplayMode={ALL:"ALL",NONE:"NONE",YAXES:"YAXES"};t.GraphAxesTextDisplayMode=m;var S=n.SuperMap.GraduatedMode={CONSTANT:"CONSTANT",LOGARITHM:"LOGARITHM",SQUAREROOT:"SQUAREROOT"};t.GraduatedMode=S;var E=n.SuperMap.RangeMode={CUSTOMINTERVAL:"CUSTOMINTERVAL",EQUALINTERVAL:"EQUALINTERVAL",LOGARITHM:"LOGARITHM",QUANTILE:"QUANTILE",SQUAREROOT:"SQUAREROOT",STDDEVIATION:"STDDEVIATION"};t.RangeMode=E;var b=n.SuperMap.ThemeType={DOTDENSITY:"DOTDENSITY",GRADUATEDSYMBOL:"GRADUATEDSYMBOL",GRAPH:"GRAPH",LABEL:"LABEL",RANGE:"RANGE",UNIQUE:"UNIQUE"};t.ThemeType=b;var g=n.SuperMap.ColorGradientType={BLACK_WHITE:"BLACKWHITE",BLUE_BLACK:"BLUEBLACK",BLUE_RED:"BLUERED",BLUE_WHITE:"BLUEWHITE",CYAN_BLACK:"CYANBLACK",CYAN_BLUE:"CYANBLUE",CYAN_GREEN:"CYANGREEN",CYAN_WHITE:"CYANWHITE",GREEN_BLACK:"GREENBLACK",GREEN_BLUE:"GREENBLUE",GREEN_ORANGE_VIOLET:"GREENORANGEVIOLET",GREEN_RED:"GREENRED",GREEN_WHITE:"GREENWHITE",PINK_BLACK:"PINKBLACK",PINK_BLUE:"PINKBLUE",PINK_RED:"PINKRED",PINK_WHITE:"PINKWHITE",RAIN_BOW:"RAINBOW",RED_BLACK:"REDBLACK",RED_WHITE:"REDWHITE",SPECTRUM:"SPECTRUM",TERRAIN:"TERRAIN",YELLOW_BLACK:"YELLOWBLACK",YELLOW_BLUE:"YELLOWBLUE",YELLOW_GREEN:"YELLOWGREEN",YELLOW_RED:"YELLOWRED",YELLOW_WHITE:"YELLOWWHITE"};t.ColorGradientType=g;var _=n.SuperMap.TextAlignment={TOPLEFT:"TOPLEFT",TOPCENTER:"TOPCENTER",TOPRIGHT:"TOPRIGHT",BASELINELEFT:"BASELINELEFT",BASELINECENTER:"BASELINECENTER",BASELINERIGHT:"BASELINERIGHT",BOTTOMLEFT:"BOTTOMLEFT",BOTTOMCENTER:"BOTTOMCENTER",BOTTOMRIGHT:"BOTTOMRIGHT",MIDDLELEFT:"MIDDLELEFT",MIDDLECENTER:"MIDDLECENTER",MIDDLERIGHT:"MIDDLERIGHT"};t.TextAlignment=_;var T=n.SuperMap.FillGradientMode={NONE:"NONE",LINEAR:"LINEAR",RADIAL:"RADIAL",CONICAL:"CONICAL",SQUARE:"SQUARE"};t.FillGradientMode=T;var O=n.SuperMap.AlongLineDirection={NORMAL:"ALONG_LINE_NORMAL",LB_TO_RT:"LEFT_BOTTOM_TO_RIGHT_TOP",LT_TO_RB:"LEFT_TOP_TO_RIGHT_BOTTOM",RB_TO_LT:"RIGHT_BOTTOM_TO_LEFT_TOP",RT_TO_LB:"RIGHT_TOP_TO_LEFT_BOTTOM"};t.AlongLineDirection=O;var M=n.SuperMap.LabelBackShape={DIAMOND:"DIAMOND",ELLIPSE:"ELLIPSE",MARKER:"MARKER",NONE:"NONE",RECT:"RECT",ROUNDRECT:"ROUNDRECT",TRIANGLE:"TRIANGLE"};t.LabelBackShape=M;var R=n.SuperMap.LabelOverLengthMode={NEWLINE:"NEWLINE",NONE:"NONE",OMIT:"OMIT"};t.LabelOverLengthMode=R;var P=n.SuperMap.DirectionType={EAST:"EAST",NONE:"NONE",NORTH:"NORTH",SOURTH:"SOURTH",WEST:"WEST"};t.DirectionType=P;var I=n.SuperMap.SideType={LEFT:"LEFT",MIDDLE:"MIDDLE",NONE:"NONE",RIGHT:"RIGHT"};t.SideType=I;var C=n.SuperMap.SupplyCenterType={FIXEDCENTER:"FIXEDCENTER",NULL:"NULL",OPTIONALCENTER:"OPTIONALCENTER"};t.SupplyCenterType=C;var N=n.SuperMap.TurnType={AHEAD:"AHEAD",BACK:"BACK",END:"END",LEFT:"LEFT",NONE:"NONE",RIGHT:"RIGHT"};t.TurnType=N;var w=n.SuperMap.BufferEndType={FLAT:"FLAT",ROUND:"ROUND"};t.BufferEndType=w;var A=n.SuperMap.OverlayOperationType={CLIP:"CLIP",ERASE:"ERASE",IDENTITY:"IDENTITY",INTERSECT:"INTERSECT",UNION:"UNION",UPDATE:"UPDATE",XOR:"XOR"};t.OverlayOperationType=A;var L=n.SuperMap.OutputType={INDEXEDHDFS:"INDEXEDHDFS",UDB:"UDB",MONGODB:"MONGODB",PG:"PG"};t.OutputType=L;var k=n.SuperMap.SmoothMethod={BSPLINE:"BSPLINE",POLISH:"POLISH"};t.SmoothMethod=k;var x=n.SuperMap.SurfaceAnalystMethod={ISOLINE:"ISOLINE",ISOREGION:"ISOREGION"};t.SurfaceAnalystMethod=x;var j=n.SuperMap.DataReturnMode={DATASET_AND_RECORDSET:"DATASET_AND_RECORDSET",DATASET_ONLY:"DATASET_ONLY",RECORDSET_ONLY:"RECORDSET_ONLY"};t.DataReturnMode=j;var U=n.SuperMap.EditType={ADD:"add",UPDATE:"update",DELETE:"delete"};t.EditType=U;var D=n.SuperMap.TransferTactic={LESS_TIME:"LESS_TIME",LESS_TRANSFER:"LESS_TRANSFER",LESS_WALK:"LESS_WALK",MIN_DISTANCE:"MIN_DISTANCE"};t.TransferTactic=D;var J=n.SuperMap.TransferPreference={BUS:"BUS",SUBWAY:"SUBWAY",NO_SUBWAY:"NO_SUBWAY",NONE:"NONE"};t.TransferPreference=J;var F=n.SuperMap.GridType={CROSS:"CROSS",GRID:"GRID",POINT:"POINT"};t.GridType=F;var B=n.SuperMap.ColorSpaceType={CMYK:"CMYK",RGB:"RGB"};t.ColorSpaceType=B;var G=n.SuperMap.LayerType={UGC:"UGC",WMS:"WMS",WFS:"WFS",CUSTOM:"CUSTOM"};t.LayerType=G;var H=n.SuperMap.UGCLayerType={THEME:"THEME",VECTOR:"VECTOR",GRID:"GRID",IMAGE:"IMAGE"};t.UGCLayerType=H;var V=n.SuperMap.StatisticMode={AVERAGE:"AVERAGE",MAX:"MAX",MIN:"MIN",STDDEVIATION:"STDDEVIATION",SUM:"SUM",VARIANCE:"VARIANCE"};t.StatisticMode=V;var K=n.SuperMap.PixelFormat={BIT16:"BIT16",BIT32:"BIT32",BIT64:"BIT64",SINGLE:"SINGLE",DOUBLE:"DOUBLE",UBIT1:"UBIT1",UBIT4:"UBIT4",UBIT8:"UBIT8",UBIT24:"UBIT24",UBIT32:"UBIT32"};t.PixelFormat=K;var q=n.SuperMap.SearchMode={KDTREE_FIXED_COUNT:"KDTREE_FIXED_COUNT",KDTREE_FIXED_RADIUS:"KDTREE_FIXED_RADIUS",NONE:"NONE",QUADTREE:"QUADTREE"};t.SearchMode=q;var Y=n.SuperMap.InterpolationAlgorithmType={KRIGING:"KRIGING",SimpleKriging:"SimpleKriging",UniversalKriging:"UniversalKriging"};t.InterpolationAlgorithmType=Y;var W=n.SuperMap.VariogramMode={EXPONENTIAL:"EXPONENTIAL",GAUSSIAN:"GAUSSIAN",SPHERICAL:"SPHERICAL"};t.VariogramMode=W;var Q=n.SuperMap.Exponent={EXP1:"EXP1",EXP2:"EXP2"};t.Exponent=Q;var z=n.SuperMap.ClientType={IP:"IP",REFERER:"Referer",REQUESTIP:"RequestIP",NONE:"NONE",SERVER:"SERVER",WEB:"WEB"};t.ClientType=z;var X=n.SuperMap.ChartType={BAR:"Bar",BAR3D:"Bar3D",CIRCLE:"Circle",PIE:"Pie",POINT:"Point",LINE:"Line",RING:"Ring"};t.ChartType=X;var $=n.SuperMap.ClipAnalystMode={CLIP:"clip",INTERSECT:"intersect"};t.ClipAnalystMode=$;var Z=n.SuperMap.AnalystAreaUnit={SQUAREMETER:"SquareMeter",SQUAREKILOMETER:"SquareKiloMeter",HECTARE:"Hectare",ARE:"Are",ACRE:"Acre",SQUAREFOOT:"SquareFoot",SQUAREYARD:"SquareYard",SQUAREMILE:"SquareMile"};t.AnalystAreaUnit=Z;var ee=n.SuperMap.AnalystSizeUnit={METER:"Meter",KILOMETER:"Kilometer",YARD:"Yard",FOOT:"Foot",MILE:"Mile"};t.AnalystSizeUnit=ee;var te=n.SuperMap.StatisticAnalystMode={MAX:"max",MIN:"min",AVERAGE:"average",SUM:"sum",VARIANCE:"variance",STDDEVIATION:"stdDeviation"};t.StatisticAnalystMode=te;var re=n.SuperMap.SummaryType={SUMMARYMESH:"SUMMARYMESH",SUMMARYREGION:"SUMMARYREGION"};t.SummaryType=re;var ne=n.SuperMap.TopologyValidatorRule={REGIONNOOVERLAP:"REGIONNOOVERLAP",REGIONNOOVERLAPWITH:"REGIONNOOVERLAPWITH",REGIONCONTAINEDBYREGION:"REGIONCONTAINEDBYREGION",REGIONCOVEREDBYREGION:"REGIONCOVEREDBYREGION",LINENOOVERLAP:"LINENOOVERLAP",LINENOOVERLAPWITH:"LINENOOVERLAPWITH",POINTNOIDENTICAL:"POINTNOIDENTICAL"};t.TopologyValidatorRule=ne;var oe=n.SuperMap.AggregationType={GEOHASH_GRID:"geohash_grid",FILTER:"filter"};t.AggregationType=oe;var ie=n.SuperMap.AggregationQueryBuilderType={GEO_BOUNDING_BOX:"geo_bounding_box"};t.AggregationQueryBuilderType=ie},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OutputSetting=void 0;var n=function(){function e(e,t){for(var r=0;r-1&&"?"===n?e.url+=r.getUrlParameters():e.url.indexOf("?")>-1&&"?"!==n?e.url+="&"+r.getUrlParameters():e.url+="?"+r.getUrlParameters()}t.calculatePollingTimes(),t._processSuccess=e.success,t._processFailed=e.failure,e.scope=t,e.success=t.getUrlCompleted,e.failure=t.getUrlFailed,t.options=e,t._commit(t.options)}},{key:"getCredential",value:function(e){var t=e,r=void 0,n=void 0;switch(this.serverType){case p.ServerType.IPORTAL:(r=(n=u.SecurityManager.getToken(t))?new s.Credential(n,"token"):null)||(r=(n=u.SecurityManager.getKey(t))?new s.Credential(n,"key"):null);break;case p.ServerType.ONLINE:r=(n=u.SecurityManager.getKey(t))?new s.Credential(n,"key"):null;break;default:r=(n=u.SecurityManager.getToken(t))?new s.Credential(n,"token"):null}return r}},{key:"getUrlCompleted",value:function(e){this._processSuccess(e)}},{key:"getUrlFailed",value:function(e){this.totalTimes>0?(this.totalTimes--,this.ajaxPolling()):this._processFailed(e)}},{key:"ajaxPolling",value:function(){var e=this,t=e.options.url,r=/^http:\/\/([a-z]{9}|(\d+\.){3}\d+):\d{0,4}/;e.index=parseInt(Math.random()*e.length),e.url=e.urls[e.index],t=t.replace(r,r.exec(e.url)[0]),e.options.url=t,e.options.isInTheSameDomain=l.Util.isInTheSameDomain(t),e._commit(e.options)}},{key:"calculatePollingTimes",value:function(){var e=this;e.times?e.totalTimes>e.POLLING_TIMES?e.times>e.POLLING_TIMES?e.totalTimes=e.POLLING_TIMES:e.totalTimes=e.times:e.timese.POLLING_TIMES&&(e.totalTimes=e.POLLING_TIMES),e.totalTimes--}},{key:"isServiceSupportPolling",value:function(){return!("SuperMap.REST.ThemeService"===this.CLASS_NAME||"SuperMap.REST.EditFeaturesService"===this.CLASS_NAME)}},{key:"serviceProcessCompleted",value:function(e){e=l.Util.transformResult(e),this.events.triggerEvent("processCompleted",{result:e})}},{key:"serviceProcessFailed",value:function(e){var t=(e=l.Util.transformResult(e)).error||e;this.events.triggerEvent("processFailed",{error:t})}},{key:"_commit",value:function(e){"POST"!==e.method&&"PUT"!==e.method||(e.params&&(e.url=l.Util.urlAppend(e.url,l.Util.getParameterString(e.params||{}))),e.params=e.data),i.FetchRequest.commit(e.method,e.url,e.params,{headers:e.headers,withCredentials:e.withCredentials,timeout:e.async?0:null,proxy:e.proxy}).then(function(e){return e.text?e.text():e.json?e.json():e}).then(function(t){var r=t;("string"==typeof t&&(r=(new c.JSONFormat).read(t)),(!r||r.error||r.code>=300&&304!==r.code)&&(r=r&&r.error?{error:r.error}:{error:r}),r.error)?(e.scope?f.FunctionExt.bind(e.failure,e.scope):e.failure)(r):(r.succeed=void 0==r.succeed||r.succeed,(e.scope?f.FunctionExt.bind(e.success,e.scope):e.success)(r))})}}]),e}();o.SuperMap.CommonServiceBase=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FetchRequest=t.getRequestTimeout=t.setRequestTimeout=t.isCORS=t.setCORS=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r(51),r(46);var o,i=r(45),a=(o=i)&&o.__esModule?o:{default:o},s=r(0),u=r(1);var l=window.fetch,p=(t.setCORS=s.SuperMap.setCORS=function(e){s.SuperMap.CORS=e},t.isCORS=s.SuperMap.isCORS=function(){return void 0!=s.SuperMap.CORS?s.SuperMap.CORS:window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest}),c=(t.setRequestTimeout=s.SuperMap.setRequestTimeout=function(e){return s.SuperMap.RequestTimeout=e},t.getRequestTimeout=s.SuperMap.getRequestTimeout=function(){return s.SuperMap.RequestTimeout||45e3});t.FetchRequest=s.SuperMap.FetchRequest={commit:function(e,t,r,n){switch(e=e?e.toUpperCase():e){case"GET":return this.get(t,r,n);case"POST":return this.post(t,r,n);case"PUT":return this.put(t,r,n);case"DELETE":return this.delete(t,r,n);default:return this.get(t,r,n)}},supportDirectRequest:function(e,t){return u.Util.isInTheSameDomain(e)||p()||t.proxy},get:function(e,t,r){r=r||{};if(e=this._processUrl(e,r),e=u.Util.urlAppend(e,this._getParameterString(t||{})),!this.supportDirectRequest(e,r)){var n={url:e=e.replace(".json",".jsonp"),data:t};return s.SuperMap.Util.RequestJSONPPromise.GET(n)}return this.urlIsLong(e)?this._postSimulatie("GET",e.substring(0,e.indexOf("?")-1),t,r):this._fetch(e,t,r,"GET")},delete:function(e,t,r){r=r||{};if(e=this._processUrl(e,r),e=u.Util.urlAppend(e,this._getParameterString(t||{})),!this.supportDirectRequest(e,r)){e=e.replace(".json",".jsonp");var n={url:e+="&_method=DELETE",data:t};return s.SuperMap.Util.RequestJSONPPromise.DELETE(n)}return this.urlIsLong(e)?this._postSimulatie("DELETE",e.substring(0,e.indexOf("?")-1),t,r):this._fetch(e,t,r,"DELETE")},post:function(e,t,r){if(r=r||{},!this.supportDirectRequest(e,r)){e=e.replace(".json",".jsonp");var n={url:e+="&_method=POST",data:t};return s.SuperMap.Util.RequestJSONPPromise.POST(n)}return this._fetch(this._processUrl(e,r),t,r,"POST")},put:function(e,t,r){if(r=r||{},e=this._processUrl(e,r),!this.supportDirectRequest(e,r)){e=e.replace(".json",".jsonp");var n={url:e+="&_method=PUT",data:t};return s.SuperMap.Util.RequestJSONPPromise.DELETE(n)}return this._fetch(e,t,r,"PUT")},urlIsLong:function(e){for(var t=0,r=null,n=0,o=e.length;n-1?"&":"?")+"_method="+e,"string"!=typeof r&&(r=JSON.stringify(r)),this.post(t,r,n)},_processUrl:function(e,t){if(this._isMVTRequest(e))return e;if(-1===e.indexOf(".json")&&!t.withoutFormatSuffix)if(e.indexOf("?")<0)e+=".json";else{var r=e.split("?");2===r.length&&(e=r[0]+".json?"+r[1])}return t&&t.proxy&&("function"==typeof t.proxy?e=t.proxy(e):(e=decodeURIComponent(e),e=t.proxy+encodeURIComponent(e))),e},_fetch:function(e,t,r,n){return(r=r||{}).headers=r.headers||{},r.headers["Content-Type"]||(r.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8"),r.timeout?this._timeout(r.timeout,l(e,{method:n,headers:r.headers,body:"PUT"===n||"POST"===n?t:void 0,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:c()}).then(function(e){return e})):l(e,{method:n,body:"PUT"===n||"POST"===n?t:void 0,headers:r.headers,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:c()}).then(function(e){return e})},_fetchJsonp:function(e,t){return t=t||{},(0,a.default)(e,{method:"GET",timeout:t.timeout}).then(function(e){return e})},_timeout:function(e,t){return new Promise(function(r,n){setTimeout(function(){n(new Error("timeout"))},e),t.then(r,n)})},_getParameterString:function(e){var t=[];for(var r in e){var o=e[r];if(null!=o&&"function"!=typeof o){var i;if("object"===(void 0===o?"undefined":n(o))&&o.constructor===Array){for(var a,s=[],u=0,l=o.length;u-1||e.indexOf(".pbf")>-1}};s.SuperMap.Util.RequestJSONPPromise={limitLength:1500,queryKeys:[],queryValues:[],supermap_callbacks:{},addQueryStrings:function(e){for(var t in e){this.queryKeys.push(t),"string"!=typeof e[t]&&(e[t]=s.SuperMap.Util.toJSON(e[t]));var r=encodeURIComponent(e[t]);this.queryValues.push(r)}},issue:function(e){for(var t=this,r=t.getUid(),n=e.url,o=[],i=new Promise(function(e){t.supermap_callbacks[r]=function(n){delete t.supermap_callbacks[r],e(n)}}),a=n,s=0,u=t.queryKeys?t.queryKeys.length:0,l=0;l=t.limitLength){if(0==s)return!1;o.push(a),a=n,s=0,l--}else if(a.length+t.queryKeys[l].length+2+t.queryValues[l].length>t.limitLength)for(var p=t.queryValues[l];p.length>0;){var c=t.limitLength-a.length-t.queryKeys[l].length-2;a.indexOf("?")>-1?a+="&":a+="?";var f=p.substring(0,c);"%"===f.substring(c-1,c)?(c-=1,f=p.substring(0,c)):"%"===f.substring(c-2,c-1)&&(c-=2,f=p.substring(0,c)),a+=t.queryKeys[l]+"="+f,p=p.substring(c),f.length>0&&(o.push(a),a=n,s=0)}else s++,a.indexOf("?")>-1?a+="&":a+="?",a+=t.queryKeys[l]+"="+t.queryValues[l];return o.push(a),t.send(o,"SuperMap.Util.RequestJSONPPromise.supermap_callbacks["+r+"]",e&&e.proxy),i},getUid:function(){return 1e3*(new Date).getTime()+Math.floor(1e17*Math.random())},send:function(e,t,r){var n=e.length;if(n>0)for(var o=(new Date).getTime(),i=0;i-1?s+="&":s+="?",s+="sectionCount="+n,s+="§ionIndex="+i,s+="&jsonpUserID="+o,r&&(s=decodeURIComponent(s),s=r+encodeURIComponent(s)),(0,a.default)(s,{jsonpCallbackFunction:t,timeout:3e4})}},GET:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings(e.params),this.issue(e)},POST:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},PUT:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},DELETE:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SecurityManager=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r=parseFloat(e.toPrecision(t))),r},format:function(e,t,r,o){t=void 0!==t?t:0,r=void 0!==r?r:n.SuperMap.Number.thousandsSeparator,o=void 0!==o?o:n.SuperMap.Number.decimalSeparator,null!=t&&(e=parseFloat(e.toFixed(t)));var i=e.toString().split(".");1===i.length&&null==t&&(t=0);var a,s=i[0];if(r)for(var u=/(-?[0-9]+)([0-9]{3})/;u.test(s);)s=s.replace(u,"$1"+r+"$2");if(0==t)a=s;else{var l=i.length>1?i[1]:"0";null!=t&&(l+=new Array(t-l.length+1).join("0")),a=s+o+l}return a}};Number.prototype.limitSigDigs||(Number.prototype.limitSigDigs=function(e){return o.limitSigDigs(this,e)});t.FunctionExt=n.SuperMap.Function={bind:function(e,t){var r=Array.prototype.slice.apply(arguments,[2]);return function(){var n=r.concat(Array.prototype.slice.apply(arguments,[0]));return e.apply(t,n)}},bindAsEventListener:function(e,t){return function(r){return e.call(t,r||window.event)}},False:function(){return!1},True:function(){return!0},Void:function(){}},t.ArrayExt=n.SuperMap.Array={filter:function(e,t,r){var n=[];if(Array.prototype.filter)n=e.filter(t,r);else{var o=e.length;if("function"!=typeof t)throw new TypeError;for(var i=0;i-1){var e=this.dataSet.get();e=this.dataSet.transferCoordinate(e,function(e){var t=i.SuperMap.Projection.transform({x:e[0],y:e[1]},"EPSG:3857","EPSG:4326");return[t.x,t.y]},"coordinates","coordinates"),this.dataSet._set(e)}}},{key:"_canvasUpdate",value:function(e){if(this.canvasLayer){var t=this.options.animation,r=this.getContext(),n=this.map;if(this.isEnabledTime()){if(void 0===e)return void this.clear(r);"2d"===this.context&&(r.save(),r.globalCompositeOperation="destination-out",r.fillStyle="rgba(0, 0, 0, .1)",r.fillRect(0,0,r.canvas.width,r.canvas.height),r.restore())}else this.clear(r);if("2d"===this.context)for(var o in this.options)r[o]=this.options[o];else r.clear(r.COLOR_BUFFER_BIT);if(!(this.options.minZoom&&n.getZoom()this.options.maxZoom)){var i=this.canvasLayer,a={fromColumn:"coordinates",transferCoordinate:function(e){var t=i.transferToMapLatLng({lon:e[0],lat:e[1]}),r=n.getViewPortPxFromLonLat(t);return[r.x,r.y]}};void 0!==e&&(a.filter=function(r){var n=t.trails||10;return e&&r.time>e-n&&r.time0&&r.push(","),r.push(this.writeNewline(),this.writeIndent(),t));return this.level-=1,r.push(this.writeNewline(),this.writeIndent(),"]"),r.join("")},string:function(e){var t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return/["\\\x00-\x1f]/.test(e)?'"'+e.replace(/([\x00-\x1f\\"])/g,function(e,r){var n=t[r];return n||(n=r.charCodeAt(),"\\u00"+Math.floor(n/16).toString(16)+(n%16).toString(16))})+'"':'"'+e+'"'},number:function(e){return isFinite(e)?String(e):"null"},boolean:function(e){return String(e)},date:function(e){function t(e){return e<10?"0"+e:e}return'"'+e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+"T"+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds())+'"'}},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Format),o(t,[{key:"read",value:function(e,t){var r;if(this.nativeJSON)try{r=JSON.parse(e,t)}catch(e){}return this.keepData&&(this.data=r),r}},{key:"write",value:function(e,t){this.pretty=!!t;var r=null,o=void 0===e?"undefined":n(e);if(this.serialize[o])try{r=!this.pretty&&this.nativeJSON?JSON.stringify(e):this.serialize[o].apply(this,[e])}catch(e){}return r}},{key:"writeIndent",value:function(){var e=[];if(this.pretty)for(var t=0;tMapV with © SuperMap iClient",n.CLASS_NAME="SuperMap.Layer.MapVLayer",n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.SuperMap.Layer),n(t,[{key:"destroy",value:function(){this.dataSet=null,this.options=null,this.renderer=null,this.supported=null,this.canvas=null,this.canvasContext=null,this.maxWidth=null,this.maxHeight=null,o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this)}},{key:"addData",value:function(e,t){this.renderer&&this.renderer.addData(e,t)}},{key:"setData",value:function(e,t){this.renderer&&this.renderer.setData(e,t)}},{key:"getData",value:function(){return this.renderer&&(this.dataSet=this.renderer.getData()),this.dataSet}},{key:"removeData",value:function(e){this.renderer&&this.renderer.removeData(e)}},{key:"clearData",value:function(){this.renderer.clearData()}},{key:"setMap",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"setMap",this).call(this,e),this.renderer=new a.MapVRenderer(e,this,this.dataSet,this.options),this.supported?this.redraw():this.map.removeLayer(this)}},{key:"moveTo",value:function(e,r,n){if(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveTo",this).call(this,e,r,n),this.supported){if(this.zoomChanged=r,!n){this.div.style.visibility="hidden",this.div.style.left=-parseInt(this.map.layerContainerDiv.style.left)+"px",this.div.style.top=-parseInt(this.map.layerContainerDiv.style.top)+"px";var i=this.map.getSize();this.div.style.width=parseInt(i.w)+"px",this.div.style.height=parseInt(i.h)+"px",this.canvas.width=parseInt(i.w),this.canvas.height=parseInt(i.h),this.canvas.style.width=this.div.style.width,this.canvas.style.height=this.div.style.height,this.maxWidth=i.w,this.maxHeight=i.h,this.div.style.visibility="",r||this.renderer&&this.renderer.render()}r&&this.renderer&&this.renderer.render()}}},{key:"transferToMapLatLng",value:function(e){var t="EPSG:4326",r=this.map.getUnits()||"degree";return["m","meter"].indexOf(r.toLowerCase())>-1&&(t="EPSG:3857"),new i.SuperMap.LonLat(e.lon,e.lat).transform("EPSG:4326",t)}}]),t}();i.SuperMap.Layer.MapVLayer=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(42);Object.defineProperty(t,"MapVLayer",{enumerable:!0,get:function(){return n.MapVLayer}});var o=r(40);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DatasourceConnectionInfo=void 0;var n=function(){function e(e,t){for(var r=0;r599){if(u)return;return u=!0,void o(new TypeError("Network request failed"))}var t={status:e,statusText:a.statusText,headers:function(e){var t=new s;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var r=e.trim().split(":"),n=r.shift().trim(),o=r.join(":").trim();t.append(n,o)}),t}(a),url:"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0},r="response"in a?a.response:a.responseText;u||(u=!0,n(new h(r,t)))}}a.onreadystatechange=l,a.onload=l,a.onerror=function(){u||(u=!0,o(new TypeError("Network request failed")))},a.open(i.method,i.url,!0);try{"include"===i.credentials&&("withCredentials"in a?a.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(e){console&&console.warn&&console.warn("set withCredentials error:"+e)}"responseType"in a&&r.blob&&(a.responseType="blob"),i.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send(void 0===i._bodyInit?null:i._bodyInit)})},t.fetch.polyfill=!0,void 0!==e&&e.exports&&(e.exports=t.fetch)}function i(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function s(e){this.map={},e instanceof s?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function u(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function l(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function p(e){var t=new FileReader;return t.readAsArrayBuffer(e),l(t)}function c(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(r.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(r.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!r.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},r.blob?(this.blob=function(){var e=u(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(p)},this.text=function(){var e,t,r,n,o,i,a,s=u(this);if(s)return s;if(this._bodyBlob)return e=this._bodyBlob,t=this._options,r=new FileReader,n=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",o=/charset\=[0-9a-zA-Z\-\_]*;?/,i=e.type.match(o)||n.match(o),a=[e],i&&a.push(i[0].replace(/^charset\=/,"").replace(/;$/,"")),r.readAsText.apply(r,a),l(r);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=u(this);return e||Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(e,t){var r,o,i=(t=t||{}).body;if(f.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,i||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=(r=t.method||this.method||"GET",o=r.toUpperCase(),n.indexOf(o)>-1?o:r),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i,t)}function y(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}}),t}function h(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof s?t.headers:new s(t.headers),this.url=t.url||""}}("undefined"!=typeof self?self:void 0)},function(e,t,r){"use strict";var n,o,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(e){o=s}}();var l,p=[],c=!1,f=-1;function y(){c&&l&&(c=!1,l.length?p=l.concat(p):f=-1,p.length&&h())}function h(){if(!c){var e=u(y);c=!0;for(var t=p.length;t;){for(l=p,p=[];++f1)for(var r=1;r=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r(48),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||void 0,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||void 0}).call(this,r(21))},function(e,t,r){"use strict";(function(t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(n){var o=setTimeout;function i(){}function a(e){if("object"!==r(this))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,a._immediateFn(function(){var r=1===e._state?t.onFulfilled:t.onRejected;if(null!==r){var n;try{n=r(e._value)}catch(e){return void l(t.promise,e)}u(t.promise,n)}else(1===e._state?u:l)(t.promise,e._value)})):e._deferreds.push(t)}function u(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":r(t))||"function"==typeof t)){var n=t.then;if(t instanceof a)return e._state=3,e._value=t,void p(e);if("function"==typeof n)return void c((o=n,i=t,function(){o.apply(i,arguments)}),e)}e._state=1,e._value=t,p(e)}catch(t){l(e,t)}var o,i}function l(e,t){e._state=2,e._value=t,p(e)}function p(e){2===e._state&&0===e._deferreds.length&&a._immediateFn(function(){e._handled||a._unhandledRejectionFn(e._value)});for(var t=0,r=e._deferreds.length;t1},isLeftClick:function(e){return e.which&&1===e.which||e.button&&1===e.button},isRightClick:function(e){return e.which&&3===e.which||e.button&&2===e.button},stop:function(e,t){t||(e.preventDefault?e.preventDefault():e.returnValue=!1),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},findElement:function(e,t){for(var r=n.SuperMap.Event.element(e);r.parentNode&&(!r.tagName||r.tagName.toUpperCase()!=t.toUpperCase());)r=r.parentNode;return r},observe:function(e,t,r,n){var i=o.Util.getElement(e);if(n=n||!1,"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||i.attachEvent)&&(t="keydown"),this.observers||(this.observers={}),!i._eventCacheID){var a="eventCacheID_";i.id&&(a=i.id+"_"+a),i._eventCacheID=o.Util.createUniqueID(a)}var s=i._eventCacheID;this.observers[s]||(this.observers[s]=[]),this.observers[s].push({element:i,name:t,observer:r,useCapture:n}),i.addEventListener?i.addEventListener(t,r,n):i.attachEvent&&i.attachEvent("on"+t,r)},stopObservingElement:function(e){var t=o.Util.getElement(e)._eventCacheID;this._removeElementObservers(n.SuperMap.Event.observers[t])},_removeElementObservers:function(e){if(e)for(var t=e.length-1;t>=0;t--){var r=e[t],o=new Array(r.element,r.name,r.observer,r.useCapture);n.SuperMap.Event.stopObserving.apply(this,o)}},stopObserving:function(e,t,r,i){i=i||!1;var a=o.Util.getElement(e),s=a._eventCacheID;"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||a.detachEvent)&&(t="keydown");var u=!1,l=n.SuperMap.Event.observers[s];if(l)for(var p=0;!u&&pt.geoFence.radius&&(t.outOfGeoFence&&t.outOfGeoFence(e),t.events.triggerEvent("outOfGeoFence",{data:e})),r})}},{key:"_distance",value:function(e,t,r,n){return Math.sqrt((e-r)*(e-r)+(t-n)*(t-n))}},{key:"_getMeterPerMapUnit",value:function(e){var t=void 0;return"meter"===e?t=1:"degree"===e&&(t=2*Math.PI*6378137/360),t}}]),e}();i.SuperMap.ElasticSearch=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(55);Object.defineProperty(t,"ElasticSearch",{enumerable:!0,get:function(){return n.ElasticSearch}});var o=r(8);Object.defineProperty(t,"SecurityManager",{enumerable:!0,get:function(){return o.SecurityManager}});var i=r(20);Object.defineProperty(t,"KernelDensityJobParameter",{enumerable:!0,get:function(){return i.KernelDensityJobParameter}});var a=r(19);Object.defineProperty(t,"SingleObjectQueryJobsParameter",{enumerable:!0,get:function(){return a.SingleObjectQueryJobsParameter}});var s=r(18);Object.defineProperty(t,"SummaryAttributesJobsParameter",{enumerable:!0,get:function(){return s.SummaryAttributesJobsParameter}});var u=r(17);Object.defineProperty(t,"SummaryMeshJobParameter",{enumerable:!0,get:function(){return u.SummaryMeshJobParameter}});var l=r(16);Object.defineProperty(t,"SummaryRegionJobParameter",{enumerable:!0,get:function(){return l.SummaryRegionJobParameter}});var p=r(15);Object.defineProperty(t,"OverlayGeoJobParameter",{enumerable:!0,get:function(){return p.OverlayGeoJobParameter}});var c=r(14);Object.defineProperty(t,"BuffersAnalystJobsParameter",{enumerable:!0,get:function(){return c.BuffersAnalystJobsParameter}});var f=r(13);Object.defineProperty(t,"TopologyValidatorJobsParameter",{enumerable:!0,get:function(){return f.TopologyValidatorJobsParameter}});var y=r(3);Object.defineProperty(t,"OutputSetting",{enumerable:!0,get:function(){return y.OutputSetting}});var h=r(12);Object.defineProperty(t,"GeoCodingParameter",{enumerable:!0,get:function(){return h.GeoCodingParameter}});var d=r(11);Object.defineProperty(t,"GeoDecodingParameter",{enumerable:!0,get:function(){return d.GeoDecodingParameter}});var v=r(43);Object.keys(v).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}})});var m=r(39);Object.keys(m).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})});var S=r(5);Object.defineProperty(t,"SuperMap",{enumerable:!0,get:function(){return S.SuperMap}})}]); \ No newline at end of file diff --git a/dist/leaflet/iclient9-leaflet-es6.js b/dist/leaflet/iclient9-leaflet-es6.js index 1741266ccc..f7a9552a81 100644 --- a/dist/leaflet/iclient9-leaflet-es6.js +++ b/dist/leaflet/iclient9-leaflet-es6.js @@ -3,7 +3,7 @@ * iclient9-leaflet.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */ /******/ (function(modules) { // webpackBootstrap @@ -82259,7 +82259,7 @@ module.exports = function(proj4){ /* 73 */ /***/ (function(module) { -module.exports = {"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_spec":"proj4@2.3.15","_where":"G:\\iClient\\iClient-JavaScript","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"bundleDependencies":false,"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"deprecated":false,"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"}; +module.exports = {"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://localhost:4873/proj4/-/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_spec":"proj4@2.3.15","_where":"E:\\2018\\git\\iClient-JavaScript","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"bundleDependencies":false,"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"deprecated":false,"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"}; /***/ }), /* 74 */ diff --git a/dist/leaflet/iclient9-leaflet-es6.min.js b/dist/leaflet/iclient9-leaflet-es6.min.js index 422106f0f2..57d15e376f 100644 --- a/dist/leaflet/iclient9-leaflet-es6.min.js +++ b/dist/leaflet/iclient9-leaflet-es6.min.js @@ -3,6 +3,6 @@ * iclient9-leaflet.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * - */!function(e){var t={};function i(s){if(t[s])return t[s].exports;var r=t[s]={i:s,l:!1,exports:{}};return e[s].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=e,i.c=t,i.d=function(e,t,s){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:s})},i.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=93)}([function(e,t){e.exports=L},function(e,t,i){var s=2*Math.PI,r=i(12);e.exports=function(e){return Math.abs(e)<=3.14159265359?e:e-r(e)*s}},function(e,t){e.exports=function(){try{return echarts}catch(e){return{}}}()},function(e,t,i){var s=i(88);s.defaultDatum="WGS84",s.Proj=i(20),s.WGS84=new s.Proj("WGS84"),s.Point=i(74),s.toPoint=i(30),s.defs=i(34),s.transform=i(31),s.mgrs=i(29),s.version=i(73).version,i(72)(s),e.exports=s},function(e,t){e.exports=function(e){return Math.abs(e)>1&&(e=e>1?1:-1),Math.asin(e)}},function(e,t){e.exports=function(e,t,i){var s=e*t;return i/Math.sqrt(1-s*s)}},function(e,t,i){var s=Math.PI/2,r=i(12);e.exports=function(e){return Math.abs(e)",d=">=",f="<",m="<=",y="*",g=",",v=".",S="(",b=")",x="where",_={pathway:[],groups:{}},C={},T={},M=console.log;function w(e){var t=A(e,x),i=t[0],s=t[1];_.pathway=A(i,g);for(var a=0,o=_.pathway.length;aT&&-1!==T){var L="gr_"+(new Date).getTime();_.groups[L]=s.substring(T+1,M),s=s.replace(S+_.groups[L]+b,L),w=-1}w+=1}!function e(t,i){var s=E(i,r),a=E(i,n);if(s!==Number.MAX_VALUE||a!==Number.MAX_VALUE)if(s-1}function L(e,t){var i=A(t,v),r=e;for(var n in i){if(!r.hasOwnProperty(i[n]))return"";r=r[i[n]]}return r=s.isDate(r)?r.valueOf():s.isDateString(r)?s.parseDateFromString(r):r.toString()}function N(e,t){var i=!1;for(var s in e){if(i=i||(s===a?I:s===o?N:O)(e[s],t),T.trace&&M(_.step,"======((( or",e[s],i),i)return i}return i}function I(e,t){var i=!0;for(var s in e){if(i=i&&(s===a?I:s===o?N:O)(e[s],t),T.trace&&M(_.step,"======((( and",e[s],i),!i)return i}return i}function O(e,t){if(_.step+=1,e.or){var i=N(e.or,t);return T.trace&&M(_.step,"OR",e,i),i}if(e.and){i=I(e.and,t);return T.trace&&M(_.step,"AND",e,i),i}if("object"==typeof e)return e.eq?L(t,e.eq[0])===e.eq[1]:e.ne?L(t,e.ne[0])!==e.ne[1]:e.req?P(L(t,e.req[0]),e.req[1]):e.nreq?!P(L(t,e.nreq[0]),e.nreq[1]):e.gt?L(t,e.gt[0])>e.gt[1]:e.ge?L(t,e.ge[0])>=e.ge[1]:e.lt?L(t,e.lt[0])0?s.map(function(e){for(var t={},i=0,s=_.pathway.length;i1e-7?(1-e*e)*(t/(1-(i=e*t)*i)-.5/e*Math.log((1-i)/(1+i))):2*t}},function(e,t){e.exports=function(e,t,i,s,r){var n,a;n=e/t;for(var o=0;o<15;o++)if(n+=a=(e-(t*n-i*Math.sin(2*n)+s*Math.sin(4*n)-r*Math.sin(6*n)))/(t-2*i*Math.cos(2*n)+4*s*Math.cos(4*n)-6*r*Math.cos(6*n)),Math.abs(a)<=1e-10)return n;return NaN}},function(e,t){e.exports=function(e,t,i){var s=t*i;return e/Math.sqrt(1-s*s)}},function(e,t){e.exports=function(e,t){var i,s;if(e=e||{},!t)return e;for(s in t)void 0!==(i=t[s])&&(e[s]=i);return e}},function(e,t,i){var s=i(87),r=i(19),n=i(83),a=i(80);function o(e,t){if(!(this instanceof o))return new o(e);t=t||function(e){if(e)throw e};var i=s(e);if("object"==typeof i){var n=a(i),l=o.projections.get(n.projName);l?(r(this,n),r(this,l),this.init(),t(null,this)):t(e)}else t(e)}o.projections=n,o.projections.start(),e.exports=o},function(e,t){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t){e.exports=function(){try{return turf}catch(e){return{}}}()},function(e,t){e.exports=function(){try{return mapv}catch(e){return{}}}()},function(e,t,i){var s,r,n;r=[t,e],void 0===(n="function"==typeof(s=function(e,t){"use strict";var i={timeout:5e3,jsonpCallback:"callback",jsonpCallbackFunction:null};function s(e){try{delete window[e]}catch(t){window[e]=void 0}}function r(e){var t=document.getElementById(e);document.getElementsByTagName("head")[0].removeChild(t)}t.exports=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=e,a=t.timeout||i.timeout,o=t.jsonpCallback||i.jsonpCallback,l=void 0;return new Promise(function(i,h){var u=t.jsonpCallbackFunction||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),c=o+"_"+u;window[u]=function(e){i({ok:!0,json:function(){return Promise.resolve(e)}}),l&&clearTimeout(l),r(c),s(u)},n+=-1===n.indexOf("?")?"?":"&";var p=document.createElement("script");p.setAttribute("src",""+n+o+"="+u),p.id=c,document.getElementsByTagName("head")[0].appendChild(p),l=setTimeout(function(){h(new Error("JSONP request to "+e+" timed out")),s(u),r(c)},a)})}})?s.apply(t,r):s)||(e.exports=n)},function(e,t,i){"use strict";var s=i(42);function r(e,t,i,s,r){this.properties={},this.extent=i,this.type=0,this._pbf=e,this._geometry=-1,this._keys=s,this._values=r,e.readFields(n,this,t)}function n(e,t,i){1==e?t.id=i.readVarint():2==e?function(e,t){var i=e.readVarint()+e.pos;for(;e.pos>3}if(n--,1===r||2===r)a+=e.readSVarint(),o+=e.readSVarint(),1===r&&(t&&l.push(t),t=[]),t.push(new s(a,o));else{if(7!==r)throw new Error("unknown command "+r);t&&t.push(t[0].clone())}}return t&&l.push(t),l},r.prototype.bbox=function(){var e=this._pbf;e.pos=this._geometry;for(var t=e.readVarint()+e.pos,i=1,s=0,r=0,n=0,a=1/0,o=-1/0,l=1/0,h=-1/0;e.pos>3}if(s--,1===i||2===i)r+=e.readSVarint(),n+=e.readSVarint(),ro&&(o=r),nh&&(h=n);else if(7!==i)throw new Error("unknown command "+i)}return[a,l,o,h]},r.prototype.toGeoJSON=function(e,t,i){var s,n,o=this.extent*Math.pow(2,i),l=this.extent*e,h=this.extent*t,u=this.loadGeometry(),c=r.types[this.type];function p(e){for(var t=0;t>3;t=1===s?e.readString():2===s?e.readFloat():3===s?e.readDouble():4===s?e.readVarint64():5===s?e.readVarint():6===s?e.readSVarint():7===s?e.readBoolean():null}return t}(i))}e.exports=r,r.prototype.feature=function(e){if(e<0||e>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];var t=this._pbf.readVarint()+this._pbf.pos;return new s(this._pbf,t,this.extent,this._keys,this._values)}},function(e,t){e.exports=function(e,t,i,s){return i*=t,t*=t,s[0]*e-i*(s[1]+t*(s[2]+t*(s[3]+t*s[4])))}},function(e,t,i){var s=i(11),r=i(10),n=i(9),a=i(8),o=i(7),l=i(1),h=Math.PI/2,u=i(12),c=i(4);t.init=function(){this.e0=s(this.es),this.e1=r(this.es),this.e2=n(this.es),this.e3=a(this.es),this.ml0=this.a*o(this.e0,this.e1,this.e2,this.e3,this.lat0)},t.forward=function(e){var t,i,s,r=e.x,n=e.y,a=l(r-this.long0),h=Math.sin(n),u=Math.cos(n);if(this.sphere){var c=u*Math.sin(a);if(Math.abs(Math.abs(c)-1)<1e-10)return 93;i=.5*this.a*this.k0*Math.log((1+c)/(1-c)),t=Math.acos(u*Math.cos(a)/Math.sqrt(1-c*c)),n<0&&(t=-t),s=this.a*this.k0*(t-this.lat0)}else{var p=u*a,d=Math.pow(p,2),f=this.ep2*Math.pow(u,2),m=Math.tan(n),y=Math.pow(m,2);t=1-this.es*Math.pow(h,2);var g=this.a/Math.sqrt(t),v=this.a*o(this.e0,this.e1,this.e2,this.e3,n);i=this.k0*g*p*(1+d/6*(1-y+f+d/20*(5-18*y+Math.pow(y,2)+72*f-58*this.ep2)))+this.x0,s=this.k0*(v-this.ml0+g*m*(d*(.5+d/24*(5-y+9*f+4*Math.pow(f,2)+d/30*(61-58*y+Math.pow(y,2)+600*f-330*this.ep2)))))+this.y0}return e.x=i,e.y=s,e},t.inverse=function(e){var t,i,s,r,n,a;if(this.sphere){var o=Math.exp(e.x/(this.a*this.k0)),p=.5*(o-1/o),d=this.lat0+e.y/(this.a*this.k0),f=Math.cos(d);t=Math.sqrt((1-f*f)/(1+p*p)),n=c(t),d<0&&(n=-n),a=0===p&&0===f?this.long0:l(Math.atan2(p,f)+this.long0)}else{var m=e.x-this.x0,y=e.y-this.y0;for(i=t=(this.ml0+y/this.k0)/this.a,r=0;i+=s=(t+this.e1*Math.sin(2*i)-this.e2*Math.sin(4*i)+this.e3*Math.sin(6*i))/this.e0-i,!(Math.abs(s)<=1e-10);r++)if(r>=6)return 95;if(Math.abs(i)60)return null;var n,a,o,l,h,u,d,f,m=6378137,y=(1-Math.sqrt(.99330562))/(1+Math.sqrt(.99330562)),g=i-5e5,v=t;s<"N"&&(v-=1e7),u=6*(r-1)-180+3,f=(d=v/.9996/6367449.145945056)+(3*y/2-27*y*y*y/32)*Math.sin(2*d)+(21*y*y/16-55*y*y*y*y/32)*Math.sin(4*d)+151*y*y*y/96*Math.sin(6*d),n=m/Math.sqrt(1-.00669438*Math.sin(f)*Math.sin(f)),a=Math.tan(f)*Math.tan(f),o=.006739496752268451*Math.cos(f)*Math.cos(f),l=.99330562*m/Math.pow(1-.00669438*Math.sin(f)*Math.sin(f),1.5),h=g/(.9996*n);var S=f-n*Math.tan(f)/l*(h*h/2-(5+3*a+10*o-4*o*o-.06065547077041606)*h*h*h*h/24+(61+90*a+298*o+45*a*a-1.6983531815716497-3*o*o)*h*h*h*h*h*h/720);S=c(S);var b,x=(h-(1+2*a+o)*h*h*h/6+(5-2*o+28*a-3*o*o+.05391597401814761+24*a*a)*h*h*h*h*h/120)/Math.cos(f);if(x=u+c(x),e.accuracy){var _=p({northing:e.northing+e.accuracy,easting:e.easting+e.accuracy,zoneLetter:e.zoneLetter,zoneNumber:e.zoneNumber});b={top:_.lat,right:_.lon,bottom:S,left:x}}else b={lat:S,lon:x};return b}function d(e){var t=e%i;return 0===t&&(t=i),t}function f(e){if(e&&0===e.length)throw"MGRSPoint coverting from nothing";for(var t,i=e.length,u=null,c="",p=0;!/[A-Z]/.test(t=e.charAt(p));){if(p>=2)throw"MGRSPoint bad conversion from: "+e;c+=t,p++}var f=parseInt(c,10);if(0===p||p+3>i)throw"MGRSPoint bad conversion from: "+e;var y=e.charAt(p++);if(y<="A"||"B"===y||"Y"===y||y>="Z"||"I"===y||"O"===y)throw"MGRSPoint zone letter "+y+" not handled: "+e;u=e.substring(p,p+=2);for(var g=d(f),v=function(e,t){var i=s.charCodeAt(t-1),r=1e5,l=!1;for(;i!==e.charCodeAt(0);){if(++i===a&&i++,i===o&&i++,i>h){if(l)throw"Bad character: "+e;i=n,l=!0}r+=1e5}return r}(u.charAt(0),g),S=function(e,t){if(e>"V")throw"MGRSPoint given invalid Northing "+e;var i=r.charCodeAt(t-1),s=0,h=!1;for(;i!==e.charCodeAt(0);){if(++i===a&&i++,i===o&&i++,i>l){if(h)throw"Bad character: "+e;i=n,h=!0}s+=1e5}return s}(u.charAt(1),g);S0&&(x=1e5/Math.pow(10,T),_=e.substring(p,p+T),M=parseFloat(_)*x,C=e.substring(p+T),w=parseFloat(C)*x),{easting:M+v,northing:w+S,zoneLetter:y,zoneNumber:f,accuracy:x}}function m(e){var t;switch(e){case"C":t=11e5;break;case"D":t=2e6;break;case"E":t=28e5;break;case"F":t=37e5;break;case"G":t=46e5;break;case"H":t=55e5;break;case"J":t=64e5;break;case"K":t=73e5;break;case"L":t=82e5;break;case"M":t=91e5;break;case"N":t=0;break;case"P":t=8e5;break;case"Q":t=17e5;break;case"R":t=26e5;break;case"S":t=35e5;break;case"T":t=44e5;break;case"U":t=53e5;break;case"V":t=62e5;break;case"W":t=7e6;break;case"X":t=79e5;break;default:t=-1}if(t>=0)return t;throw"Invalid zone letter: "+e}t.forward=function(e,t){return t=t||5,function(e,t){var i="00000"+e.easting,u="00000"+e.northing;return e.zoneNumber+e.zoneLetter+(x=e.easting,_=e.northing,C=e.zoneNumber,T=d(C),M=Math.floor(x/1e5),w=Math.floor(_/1e5)%20,c=M,p=w,f=T,m=f-1,y=s.charCodeAt(m),g=r.charCodeAt(m),v=y+c-1,S=g+p,b=!1,v>h&&(v=v-h+n-1,b=!0),(v===a||ya||(v>a||yo||(v>o||yh&&(v=v-h+n-1),S>l?(S=S-l+n-1,b=!0):b=!1,(S===a||ga||(S>a||go||(S>o||gl&&(S=S-l+n-1),String.fromCharCode(v)+String.fromCharCode(S))+i.substr(i.length-5,t)+u.substr(u.length-5,t);var c,p,f,m,y,g,v,S,b;var x,_,C,T,M,w}(function(e){var t,i,s,r,n,a,o,l=e.lat,h=e.lon,c=6378137,p=u(l),d=u(h);o=Math.floor((h+180)/6)+1,180===h&&(o=60);l>=56&&l<64&&h>=3&&h<12&&(o=32);l>=72&&l<84&&(h>=0&&h<9?o=31:h>=9&&h<21?o=33:h>=21&&h<33?o=35:h>=33&&h<42&&(o=37));a=u(6*(o-1)-180+3),.006739496752268451,t=c/Math.sqrt(1-.00669438*Math.sin(p)*Math.sin(p)),i=Math.tan(p)*Math.tan(p),s=.006739496752268451*Math.cos(p)*Math.cos(p),r=Math.cos(p)*(d-a),n=c*(.9983242984503243*p-.002514607064228144*Math.sin(2*p)+2639046602129982e-21*Math.sin(4*p)-3.418046101696858e-9*Math.sin(6*p));var f=.9996*t*(r+(1-i+s)*r*r*r/6+(5-18*i+i*i+72*s-.39089081163157013)*r*r*r*r*r/120)+5e5,m=.9996*(n+t*Math.tan(p)*(r*r/2+(5-i+9*s+4*s*s)*r*r*r*r/24+(61-58*i+i*i+600*s-2.2240339282485886)*r*r*r*r*r*r/720));l<0&&(m+=1e7);return{northing:Math.round(m),easting:Math.round(f),zoneNumber:o,zoneLetter:function(e){var t="Z";84>=e&&e>=72?t="X":72>e&&e>=64?t="W":64>e&&e>=56?t="V":56>e&&e>=48?t="U":48>e&&e>=40?t="T":40>e&&e>=32?t="S":32>e&&e>=24?t="R":24>e&&e>=16?t="Q":16>e&&e>=8?t="P":8>e&&e>=0?t="N":0>e&&e>=-8?t="M":-8>e&&e>=-16?t="L":-16>e&&e>=-24?t="K":-24>e&&e>=-32?t="J":-32>e&&e>=-40?t="H":-40>e&&e>=-48?t="G":-48>e&&e>=-56?t="F":-56>e&&e>=-64?t="E":-64>e&&e>=-72?t="D":-72>e&&e>=-80&&(t="C");return t}(l)}}({lat:e[1],lon:e[0]}),t)},t.inverse=function(e){var t=p(f(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat,t.lon,t.lat]:[t.left,t.bottom,t.right,t.top]},t.toPoint=function(e){var t=p(f(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat]:[(t.left+t.right)/2,(t.top+t.bottom)/2]}},function(e,t){e.exports=function(e){var t={x:e[0],y:e[1]};return e.length>2&&(t.z=e[2]),e.length>3&&(t.m=e[3]),t}},function(e,t,i){var s=.017453292519943295,r=57.29577951308232,n=1,a=2,o=i(76),l=i(75),h=i(20),u=i(30);e.exports=function e(t,i,c){var p;function d(e,t){return(e.datum.datum_type===n||e.datum.datum_type===a)&&"WGS84"!==t.datumCode}return Array.isArray(c)&&(c=u(c)),t.datum&&i.datum&&(d(t,i)||d(i,t))&&(e(t,p=new h("WGS84"),c),t=p),"enu"!==t.axis&&l(t,!1,c),"longlat"===t.projName?(c.x*=s,c.y*=s):(t.to_meter&&(c.x*=t.to_meter,c.y*=t.to_meter),t.inverse(c)),t.from_greenwich&&(c.x+=t.from_greenwich),c=o(t.datum,i.datum,c),i.from_greenwich&&(c.x-=i.from_greenwich),"longlat"===i.projName?(c.x*=r,c.y*=r):(i.forward(c),i.to_meter&&(c.x/=i.to_meter,c.y/=i.to_meter)),"enu"!==i.axis&&l(i,!0,c),c}},function(e,t,i){var s=.017453292519943295,r=i(19);function n(e,t,i){e[t]=i.map(function(e){var t={};return a(e,t),t}).reduce(function(e,t){return r(e,t)},{})}function a(e,t){var i;Array.isArray(e)?("PARAMETER"===(i=e.shift())&&(i=e.shift()),1===e.length?Array.isArray(e[0])?(t[i]={},a(e[0],t[i])):t[i]=e[0]:e.length?"TOWGS84"===i?t[i]=e:(t[i]={},["UNIT","PRIMEM","VERT_DATUM"].indexOf(i)>-1?(t[i]={name:e[0].toLowerCase(),convert:e[1]},3===e.length&&(t[i].auth=e[2])):"SPHEROID"===i?(t[i]={name:e[0],a:e[1],rf:e[2]},4===e.length&&(t[i].auth=e[3])):["GEOGCS","GEOCCS","DATUM","VERT_CS","COMPD_CS","LOCAL_CS","FITTED_CS","LOCAL_DATUM"].indexOf(i)>-1?(e[0]=["name",e[0]],n(t,i,e)):e.every(function(e){return Array.isArray(e)})?n(t,i,e):a(e,t[i])):t[i]=!0):t[e]=!0}function o(e){return e*s}e.exports=function(e,t){var i=JSON.parse((","+e).replace(/\s*\,\s*([A-Z_0-9]+?)(\[)/g,',["$1",').slice(1).replace(/\s*\,\s*([A-Z_0-9]+?)\]/g,',"$1"]').replace(/,\["VERTCS".+/,"")),s=i.shift(),n=i.shift();i.unshift(["name",n]),i.unshift(["type",s]),i.unshift("output");var l={};return a(i,l),function(e){function t(t){var i=e.to_meter||1;return parseFloat(t,10)*i}"GEOGCS"===e.type?e.projName="longlat":"LOCAL_CS"===e.type?(e.projName="identity",e.local=!0):"object"==typeof e.PROJECTION?e.projName=Object.keys(e.PROJECTION)[0]:e.projName=e.PROJECTION,e.UNIT&&(e.units=e.UNIT.name.toLowerCase(),"metre"===e.units&&(e.units="meter"),e.UNIT.convert&&("GEOGCS"===e.type?e.DATUM&&e.DATUM.SPHEROID&&(e.to_meter=parseFloat(e.UNIT.convert,10)*e.DATUM.SPHEROID.a):e.to_meter=parseFloat(e.UNIT.convert,10))),e.GEOGCS&&(e.GEOGCS.DATUM?e.datumCode=e.GEOGCS.DATUM.name.toLowerCase():e.datumCode=e.GEOGCS.name.toLowerCase(),"d_"===e.datumCode.slice(0,2)&&(e.datumCode=e.datumCode.slice(2)),"new_zealand_geodetic_datum_1949"!==e.datumCode&&"new_zealand_1949"!==e.datumCode||(e.datumCode="nzgd49"),"wgs_1984"===e.datumCode&&("Mercator_Auxiliary_Sphere"===e.PROJECTION&&(e.sphere=!0),e.datumCode="wgs84"),"_ferro"===e.datumCode.slice(-6)&&(e.datumCode=e.datumCode.slice(0,-6)),"_jakarta"===e.datumCode.slice(-8)&&(e.datumCode=e.datumCode.slice(0,-8)),~e.datumCode.indexOf("belge")&&(e.datumCode="rnb72"),e.GEOGCS.DATUM&&e.GEOGCS.DATUM.SPHEROID&&(e.ellps=e.GEOGCS.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===e.ellps.toLowerCase().slice(0,13)&&(e.ellps="intl"),e.a=e.GEOGCS.DATUM.SPHEROID.a,e.rf=parseFloat(e.GEOGCS.DATUM.SPHEROID.rf,10)),~e.datumCode.indexOf("osgb_1936")&&(e.datumCode="osgb36")),e.b&&!isFinite(e.b)&&(e.b=e.a),[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_2","Standard_Parallel_2"],["false_easting","False_Easting"],["false_northing","False_Northing"],["central_meridian","Central_Meridian"],["latitude_of_origin","Latitude_Of_Origin"],["latitude_of_origin","Central_Parallel"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",o],["longitude_of_center","Longitude_Of_Center"],["longc","longitude_of_center",o],["x0","false_easting",t],["y0","false_northing",t],["long0","central_meridian",o],["lat0","latitude_of_origin",o],["lat0","standard_parallel_1",o],["lat1","standard_parallel_1",o],["lat2","standard_parallel_2",o],["alpha","azimuth",o],["srsCode","name"]].forEach(function(t){return i=e,r=(s=t)[0],n=s[1],void(!(r in i)&&n in i&&(i[r]=i[n],3===s.length&&(i[r]=s[2](i[r]))));var i,s,r,n}),e.long0||!e.longc||"Albers_Conic_Equal_Area"!==e.projName&&"Lambert_Azimuthal_Equal_Area"!==e.projName||(e.long0=e.longc),e.lat_ts||!e.lat1||"Stereographic_South_Pole"!==e.projName&&"Polar Stereographic (variant B)"!==e.projName||(e.lat0=o(e.lat1>0?90:-90),e.lat_ts=e.lat1)}(l.output),r(t,l.output)}},function(e,t,i){var s=.017453292519943295,r=i(85),n=i(84);e.exports=function(e){var t,i,a,o={},l={};e.split("+").map(function(e){return e.trim()}).filter(function(e){return e}).forEach(function(e){var t=e.split("=");t.push(!0),l[t[0].toLowerCase()]=t[1]});var h={proj:"projName",datum:"datumCode",rf:function(e){o.rf=parseFloat(e)},lat_0:function(e){o.lat0=e*s},lat_1:function(e){o.lat1=e*s},lat_2:function(e){o.lat2=e*s},lat_ts:function(e){o.lat_ts=e*s},lon_0:function(e){o.long0=e*s},lon_1:function(e){o.long1=e*s},lon_2:function(e){o.long2=e*s},alpha:function(e){o.alpha=parseFloat(e)*s},lonc:function(e){o.longc=e*s},x_0:function(e){o.x0=parseFloat(e)},y_0:function(e){o.y0=parseFloat(e)},k_0:function(e){o.k0=parseFloat(e)},k:function(e){o.k0=parseFloat(e)},a:function(e){o.a=parseFloat(e)},b:function(e){o.b=parseFloat(e)},r_a:function(){o.R_A=!0},zone:function(e){o.zone=parseInt(e,10)},south:function(){o.utmSouth=!0},towgs84:function(e){o.datum_params=e.split(",").map(function(e){return parseFloat(e)})},to_meter:function(e){o.to_meter=parseFloat(e)},units:function(e){o.units=e,n[e]&&(o.to_meter=n[e].to_meter)},from_greenwich:function(e){o.from_greenwich=e*s},pm:function(e){o.from_greenwich=(r[e]?r[e]:parseFloat(e))*s},nadgrids:function(e){"@null"===e?o.datumCode="none":o.nadgrids=e},axis:function(e){3===e.length&&-1!=="ewnsud".indexOf(e.substr(0,1))&&-1!=="ewnsud".indexOf(e.substr(1,1))&&-1!=="ewnsud".indexOf(e.substr(2,1))&&(o.axis=e)}};for(t in l)i=l[t],t in h?"function"==typeof(a=h[t])?a(i):o[a]=i:o[t]=i;return"string"==typeof o.datumCode&&"WGS84"!==o.datumCode&&(o.datumCode=o.datumCode.toLowerCase()),o}},function(e,t,i){var s=i(86),r=i(33),n=i(32);function a(e){var t=this;if(2===arguments.length){var i=arguments[1];"string"==typeof i?"+"===i.charAt(0)?a[e]=r(arguments[1]):a[e]=n(arguments[1]):a[e]=i}else if(1===arguments.length){if(Array.isArray(e))return e.map(function(e){Array.isArray(e)?a.apply(t,e):a(e)});if("string"==typeof e){if(e in a)return a[e]}else"EPSG"in e?a["EPSG:"+e.EPSG]=e:"ESRI"in e?a["ESRI:"+e.ESRI]=e:"IAU2000"in e?a["IAU2000:"+e.IAU2000]=e:console.log(e);return}}s(a),e.exports=a},function(e,t,i){e.exports.VectorTile=i(43),e.exports.VectorTileFeature=i(25),e.exports.VectorTileLayer=i(26)},function(e,t,i){"use strict";e.exports=r;var s=i(44);function r(e){this.buf=ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}r.Varint=0,r.Fixed64=1,r.Bytes=2,r.Fixed32=5;function n(e){return e.type===r.Bytes?e.readVarint()+e.pos:e.pos+1}function a(e,t,i){return i?4294967296*t+(e>>>0):4294967296*(t>>>0)+(e>>>0)}function o(e,t,i){var s=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.ceil(Math.log(t)/(7*Math.LN2));i.realloc(s);for(var r=i.pos-1;r>=e;r--)i.buf[r+s]=i.buf[r]}function l(e,t){for(var i=0;i>>8,e[i+2]=t>>>16,e[i+3]=t>>>24}function S(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}r.prototype={destroy:function(){this.buf=null},readFields:function(e,t,i){for(i=i||this.length;this.pos>3,n=this.pos;this.type=7&s,e(r,t,this),this.pos===n&&this.skip(s)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=g(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=S(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=g(this.buf,this.pos)+4294967296*g(this.buf,this.pos+4);return this.pos+=8,e},readSFixed64:function(){var e=g(this.buf,this.pos)+4294967296*S(this.buf,this.pos+4);return this.pos+=8,e},readFloat:function(){var e=s.read(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=s.read(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,i,s=this.buf;return t=127&(i=s[this.pos++]),i<128?t:(t|=(127&(i=s[this.pos++]))<<7,i<128?t:(t|=(127&(i=s[this.pos++]))<<14,i<128?t:(t|=(127&(i=s[this.pos++]))<<21,i<128?t:function(e,t,i){var s,r,n=i.buf;if(r=n[i.pos++],s=(112&r)>>4,r<128)return a(e,s,t);if(r=n[i.pos++],s|=(127&r)<<3,r<128)return a(e,s,t);if(r=n[i.pos++],s|=(127&r)<<10,r<128)return a(e,s,t);if(r=n[i.pos++],s|=(127&r)<<17,r<128)return a(e,s,t);if(r=n[i.pos++],s|=(127&r)<<24,r<128)return a(e,s,t);if(r=n[i.pos++],s|=(1&r)<<31,r<128)return a(e,s,t);throw new Error("Expected varint not more than 10 bytes")}(t|=(15&(i=s[this.pos]))<<28,e,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?(e+1)/-2:e/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var e=this.readVarint()+this.pos,t=function(e,t,i){var s="",r=t;for(;r239?4:l>223?3:l>191?2:1;if(r+u>i)break;1===u?l<128&&(h=l):2===u?128==(192&(n=e[r+1]))&&(h=(31&l)<<6|63&n)<=127&&(h=null):3===u?(n=e[r+1],a=e[r+2],128==(192&n)&&128==(192&a)&&((h=(15&l)<<12|(63&n)<<6|63&a)<=2047||h>=55296&&h<=57343)&&(h=null)):4===u&&(n=e[r+1],a=e[r+2],o=e[r+3],128==(192&n)&&128==(192&a)&&128==(192&o)&&((h=(15&l)<<18|(63&n)<<12|(63&a)<<6|63&o)<=65535||h>=1114112)&&(h=null)),null===h?(h=65533,u=1):h>65535&&(h-=65536,s+=String.fromCharCode(h>>>10&1023|55296),h=56320|1023&h),s+=String.fromCharCode(h),r+=u}return s}(this.buf,this.pos,e);return this.pos=e,t},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){var i=n(this);for(e=e||[];this.pos127;);else if(t===r.Bytes)this.pos=this.readVarint()+this.pos;else if(t===r.Fixed32)this.pos+=4;else{if(t!==r.Fixed64)throw new Error("Unimplemented type: "+t);this.pos+=8}},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t268435455||e<0?function(e,t){var i,s;e>=0?(i=e%4294967296|0,s=e/4294967296|0):(s=~(-e/4294967296),4294967295^(i=~(-e%4294967296))?i=i+1|0:(i=0,s=s+1|0));if(e>=0x10000000000000000||e<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),function(e,t,i){i.buf[i.pos++]=127&e|128,e>>>=7,i.buf[i.pos++]=127&e|128,e>>>=7,i.buf[i.pos++]=127&e|128,e>>>=7,i.buf[i.pos++]=127&e|128,e>>>=7,i.buf[i.pos]=127&e}(i,0,t),function(e,t){var i=(7&e)<<4;if(t.buf[t.pos++]|=i|((e>>>=3)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;t.buf[t.pos++]=127&e}(s,t)}(e,this):(this.realloc(4),this.buf[this.pos++]=127&e|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=e>>>7&127))))},writeSVarint:function(e){this.writeVarint(e<0?2*-e-1:2*e)},writeBoolean:function(e){this.writeVarint(Boolean(e))},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,i){for(var s,r,n=0;n55295&&s<57344){if(!r){s>56319||n+1===t.length?(e[i++]=239,e[i++]=191,e[i++]=189):r=s;continue}if(s<56320){e[i++]=239,e[i++]=191,e[i++]=189,r=s;continue}s=r-55296<<10|s-56320|65536,r=null}else r&&(e[i++]=239,e[i++]=191,e[i++]=189,r=null);s<128?e[i++]=s:(s<2048?e[i++]=s>>6|192:(s<65536?e[i++]=s>>12|224:(e[i++]=s>>18|240,e[i++]=s>>12&63|128),e[i++]=s>>6&63|128),e[i++]=63&s|128)}return i}(this.buf,e,this.pos);var i=this.pos-t;i>=128&&o(t,i,this),this.pos=t-1,this.writeVarint(i),this.pos+=i},writeFloat:function(e){this.realloc(4),s.write(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),s.write(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var i=0;i=128&&o(i,s,this),this.pos=i-1,this.writeVarint(s),this.pos+=s},writeMessage:function(e,t,i){this.writeTag(e,r.Bytes),this.writeRawMessage(t,i)},writePackedVarint:function(e,t){this.writeMessage(e,l,t)},writePackedSVarint:function(e,t){this.writeMessage(e,h,t)},writePackedBoolean:function(e,t){this.writeMessage(e,p,t)},writePackedFloat:function(e,t){this.writeMessage(e,u,t)},writePackedDouble:function(e,t){this.writeMessage(e,c,t)},writePackedFixed32:function(e,t){this.writeMessage(e,d,t)},writePackedSFixed32:function(e,t){this.writeMessage(e,f,t)},writePackedFixed64:function(e,t){this.writeMessage(e,m,t)},writePackedSFixed64:function(e,t){this.writeMessage(e,y,t)},writeBytesField:function(e,t){this.writeTag(e,r.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,r.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,r.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,r.Fixed64),this.writeFixed64(t)},writeSFixed64Field:function(e,t){this.writeTag(e,r.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,r.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,r.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,r.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,r.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,r.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,Boolean(t))}}},function(e,t,i){(function(t){var i=9007199254740991,s="[object Arguments]",r="[object Function]",n="[object GeneratorFunction]",a="[object Map]",o="[object Set]",l=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,u="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,p=u||c||Function("return this")();function d(e,t){return function(e,t){for(var i=-1,s=e?e.length:0,r=Array(s);++i-1&&e%1==0&&e-1&&e%1==0&&e<=i}(e.length)&&!q(e)}function q(e){var t=W(e)?C.call(e):"";return t==r||t==n}function W(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var Y,Q=(Y=function(e){return J(e)?k(e):G(e)},function(e){var t,i,s,r=j(e);return r==a?(t=e,i=-1,s=Array(t.size),t.forEach(function(e,t){s[++i]=[t,e]}),s):r==o?function(e){var t=-1,i=Array(e.size);return e.forEach(function(e){i[++t]=[e,e]}),i}(e):d(e,Y(e))});e.exports=Q}).call(this,i(21))},function(e,t){e.exports=function(){try{return elasticsearch}catch(e){return{}}}()},function(e,t,i){(function(t){!function(i){var s=setTimeout;function r(){}function n(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],u(e,this)}function a(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,n._immediateFn(function(){var i=1===e._state?t.onFulfilled:t.onRejected;if(null!==i){var s;try{s=i(e._value)}catch(e){return void l(t.promise,e)}o(t.promise,s)}else(1===e._state?o:l)(t.promise,e._value)})):e._deferreds.push(t)}function o(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var i=t.then;if(t instanceof n)return e._state=3,e._value=t,void h(e);if("function"==typeof i)return void u((s=i,r=t,function(){s.apply(r,arguments)}),e)}e._state=1,e._value=t,h(e)}catch(t){l(e,t)}var s,r}function l(e,t){e._state=2,e._value=t,h(e)}function h(e){2===e._state&&0===e._deferreds.length&&n._immediateFn(function(){e._handled||n._unhandledRejectionFn(e._value)});for(var t=0,i=e._deferreds.length;t0&&(i=parseFloat(e.toPrecision(t))),i},format:function(e,t,i,r){t=void 0!==t?t:0,i=void 0!==i?i:s.Number.thousandsSeparator,r=void 0!==r?r:s.Number.decimalSeparator,null!=t&&(e=parseFloat(e.toFixed(t)));var n=e.toString().split(".");1===n.length&&null==t&&(t=0);var a,o=n[0];if(i)for(var l=/(-?[0-9]+)([0-9]{3})/;l.test(o);)o=o.replace(l,"$1"+i+"$2");if(0==t)a=o;else{var h=n.length>1?n[1]:"0";null!=t&&(h+=new Array(t-h.length+1).join("0")),a=o+r+h}return a}};Number.prototype.limitSigDigs||(Number.prototype.limitSigDigs=function(e){return he.limitSigDigs(this,e)});var ue,ce,pe,de=s.Function={bind:function(e,t){var i=Array.prototype.slice.apply(arguments,[2]);return function(){var s=i.concat(Array.prototype.slice.apply(arguments,[0]));return e.apply(t,s)}},bindAsEventListener:function(e,t){return function(i){return e.call(t,i||window.event)}},False:function(){return!1},True:function(){return!0},Void:function(){}},fe=(s.Array={filter:function(e,t,i){var s=[];if(Array.prototype.filter)s=e.filter(t,i);else{var r=e.length;if("function"!=typeof t)throw new TypeError;for(var n=0;n=0;i--)e[i]===t&&e.splice(i,1);return e},s.Util.indexOf=function(e,t){if(null==e)return-1;if("function"==typeof e.indexOf)return e.indexOf(t);for(var i=0,s=e.length;i=0&&parseFloat(o)<1?(e.style.filter="alpha(opacity="+100*o+")",e.style.opacity=o):1===parseFloat(o)&&(e.style.filter="",e.style.opacity="")},s.Util.applyDefaults=function(e,t){e=e||{};var i="function"==typeof window.Event&&t instanceof window.Event;for(var s in t)(void 0===e[s]||!i&&t.hasOwnProperty&&t.hasOwnProperty(s)&&!e.hasOwnProperty(s))&&(e[s]=t[s]);return!i&&t&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&!e.hasOwnProperty("toString")&&(e.toString=t.toString),e},s.Util.getParameterString=function(e){var t=[];for(var i in e){var s=e[i];if(null!=s&&"function"!=typeof s){var r;if("object"==typeof s&&s.constructor===Array){for(var n,a=[],o=0,l=s.length;o1?1/e:e},s.Util.getResolutionFromScale=function(e,t){var i;e&&(null==t&&(t="degrees"),i=1/(s.Util.normalizeScale(e)*s.INCHES_PER_UNIT[t]*s.DOTS_PER_INCH));return i},s.Util.getScaleFromResolution=function(e,t){return null==t&&(t="degrees"),e*s.INCHES_PER_UNIT[t]*s.DOTS_PER_INCH},s.IS_GECKO=-1===(ue=navigator.userAgent.toLowerCase()).indexOf("webkit")&&-1!==ue.indexOf("gecko"),s.Browser=function(){var e,t="",i="",s="pc",r=navigator.userAgent.toLowerCase();return r.indexOf("msie")>-1||r.indexOf("trident")>-1&&r.indexOf("rv")>-1?(t="msie",e=r.match(/msie ([\d.]+)/)||r.match(/rv:([\d.]+)/)):r.indexOf("chrome")>-1?(t="chrome",e=r.match(/chrome\/([\d.]+)/)):r.indexOf("firefox")>-1?(t="firefox",e=r.match(/firefox\/([\d.]+)/)):r.indexOf("opera")>-1?(t="opera",e=r.match(/version\/([\d.]+)/)):r.indexOf("safari")>-1&&(t="safari",e=r.match(/version\/([\d.]+)/)),i=e?e[1]:"",r.indexOf("ipad")>-1||r.indexOf("ipod")>-1||r.indexOf("iphone")>-1?s="apple":r.indexOf("android")>-1&&(i=(e=r.match(/version\/([\d.]+)/))?e[1]:"",s="android"),{name:t,version:i,device:s}}(),s.Util.getBrowser=function(){return s.Browser},s.Util.isSupportCanvas=(ce=!0,pe=s.Util.getBrowser(),document.createElement("canvas").getContext?("firefox"===pe.name&&parseFloat(pe.version)<5&&(ce=!1),"safari"===pe.name&&parseFloat(pe.version)<4&&(ce=!1),"opera"===pe.name&&parseFloat(pe.version)<10&&(ce=!1),"msie"===pe.name&&parseFloat(pe.version)<9&&(ce=!1)):ce=!1,ce),s.Util.supportCanvas=function(){return s.Util.isSupportCanvas},s.INCHES_PER_UNIT.degree=s.INCHES_PER_UNIT.dd,s.INCHES_PER_UNIT.meter=s.INCHES_PER_UNIT.m,s.INCHES_PER_UNIT.foot=s.INCHES_PER_UNIT.ft,s.INCHES_PER_UNIT.inch=s.INCHES_PER_UNIT.inches,s.INCHES_PER_UNIT.mile=s.INCHES_PER_UNIT.mi,s.INCHES_PER_UNIT.kilometer=s.INCHES_PER_UNIT.km,s.INCHES_PER_UNIT.yard=s.INCHES_PER_UNIT.yd,s.Util.isInTheSameDomain=function(e){if(!e)return!0;var t=e.indexOf("//"),i=document.location.toString(),s=i.indexOf("//");if(-1===t)return!0;var r,n=r=e.substring(0,t),a=i.substring(s+2);s=a.indexOf("/");var o=a.indexOf(":"),l=a.substring(0,s),h=document.location.protocol;if(-1!==o||(l+=":"+("http:"===h.toLowerCase()?80:443)),h.toLowerCase()!==n.toLowerCase())return!1;var u=(n=e.substring(t+2)).indexOf(":");t=n.indexOf("/");var c,p=n.substring(0,t);return-1!==u?c=n.substring(0,u):(c=n.substring(0,t),p+=":"+("http:"===r.toLowerCase()?80:443)),c===document.domain&&p===l},s.Util.calculateDpi=function(e,t,i,s,r){if(e&&t&&i){var n,a=e.getWidth(),o=e.getHeight(),l=t.w,h=t.h;if(r=r||6378137,"degree"===(s=s||"degrees").toLowerCase()||"degrees"===s.toLowerCase()||"dd"===s.toLowerCase()){let e=a/l,t=o/h;n=254/(e>t?e:t)/i/(2*Math.PI*r/360)/1e4}else{n=254/(a/l)/i/1e4}return n}},s.Util.toJSON=function(e){var t=e;if(null==t)return null;switch(t.constructor){case String:return t=(t=(t=(t=(t=(t=(t='"'+t.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var i=[],r=0,n=t.length;r0?"{"+e.join(",")+"}":"{}"}return t.toString()}},s.Util.getResolutionFromScaleDpi=function(e,t,i,r){return r=r||6378137,i=i||"",e>0&&t>0?(e=s.Util.normalizeScale(e),"degree"===i.toLowerCase()||"degrees"===i.toLowerCase()||"dd"===i.toLowerCase()?254/t/e/(2*Math.PI*r/360)/1e4:254/t/e/1e4):-1},s.Util.getScaleFromResolutionDpi=function(e,t,i,s){return s=s||6378137,i=i||"",e>0&&t>0?"degree"===i.toLowerCase()||"degrees"===i.toLowerCase()||"dd"===i.toLowerCase()?254/t/e/(2*Math.PI*s/360)/1e4:254/t/e/1e4:-1},s.Util.transformResult=function(e){return e.responseText&&"string"==typeof e.responseText&&(e=JSON.parse(e.responseText)),e},s.Util.copyAttributes=function(e,t){if(e=e||{},t)for(var i in t){var s=t[i];void 0!==s&&"CLASS_NAME"!==i&&"function"!=typeof s&&(e[i]=s)}return e},s.Util.copyAttributesWithClip=function(e,t,i){if(e=e||{},t)for(var s in t){var r=!1;if(i&&i.length)for(var n=0,a=i.length;n=0&&a<=1&&n<=1&&a>=0?new s.Geometry.Point(e.x+n*(t.x-e.x),e.y+n*(t.y-e.y)):"No Intersection";else if(0==l&&0==h){var c=Math.max(e.y,t.y),p=Math.min(e.y,t.y),d=Math.max(e.x,t.x),f=Math.min(e.x,t.x);o=(i.y>=p&&i.y<=c||r.y>=p&&r.y<=c)&&i.x>=f&&i.x<=d||r.x>=f&&r.x<=d?"Coincident":"Parallel"}else o="Parallel";return o},s.Util.getTextBounds=function(e,t,i){document.body.appendChild(i),i.style.width="auto",i.style.height="auto",e.fontSize&&(i.style.fontSize=e.fontSize),e.fontFamily&&(i.style.fontFamily=e.fontFamily),e.fontWeight&&(i.style.fontWeight=e.fontWeight),i.style.position="relative",i.style.visibility="hidden",i.style.display="inline-block",i.innerHTML=t;var s=i.clientWidth,r=i.clientHeight;return document.body.removeChild(i),{textWidth:s,textHeight:r}};class me{constructor(e,t){fe.isArray(e)&&(t=e[1],e=e[0]),this.lon=e?fe.toFloat(e):0,this.lat=t?fe.toFloat(t):0,this.CLASS_NAME="SuperMap.LonLat"}toString(){return"lon="+this.lon+",lat="+this.lat}toShortString(){return this.lon+","+this.lat}clone(){return new me(this.lon,this.lat)}add(e,t){if(null==e||null==t)throw new TypeError("LonLat.add cannot receive null values");return new me(this.lon+fe.toFloat(e),this.lat+fe.toFloat(t))}equals(e){var t=!1;return null!=e&&(t=this.lon===e.lon&&this.lat===e.lat||isNaN(this.lon)&&isNaN(this.lat)&&isNaN(e.lon)&&isNaN(e.lat)),t}wrapDateLine(e){var t=this.clone();if(e){for(;t.lone.right;)t.lon-=e.getWidth()}return t}destroy(){this.lon=null,this.lat=null}static fromString(e){var t=e.split(",");return new me(t[0],t[1])}static fromArray(e){var t=fe.isArray(e),i=t&&e[0],s=t&&e[1];return new me(i,s)}}class ye{constructor(e,t,i,s){fe.isArray(e)&&(s=e[3],i=e[2],t=e[1],e=e[0]),this.left=null!=e?fe.toFloat(e):this.left,this.bottom=null!=t?fe.toFloat(t):this.bottom,this.right=null!=i?fe.toFloat(i):this.right,this.top=null!=s?fe.toFloat(s):this.top,this.centerLonLat=null,this.CLASS_NAME="SuperMap.Bounds"}clone(){return new ye(this.left,this.bottom,this.right,this.top)}equals(e){var t=!1;return null!=e&&(t=this.left===e.left&&this.right===e.right&&this.top===e.top&&this.bottom===e.bottom),t}toString(){return[this.left,this.bottom,this.right,this.top].join(",")}toArray(e){return!0===e?[this.bottom,this.left,this.top,this.right]:[this.left,this.bottom,this.right,this.top]}toBBOX(e,t){null==e&&(e=6);var i=Math.pow(10,e),s=Math.round(this.left*i)/i,r=Math.round(this.bottom*i)/i,n=Math.round(this.right*i)/i,a=Math.round(this.top*i)/i;return!0===t?r+","+s+","+a+","+n:s+","+r+","+n+","+a}getWidth(){return this.right-this.left}getHeight(){return this.top-this.bottom}getSize(){return new ae(this.getWidth(),this.getHeight())}getCenterPixel(){return new oe((this.left+this.right)/2,(this.bottom+this.top)/2)}getCenterLonLat(){return this.centerLonLat||(this.centerLonLat=new me((this.left+this.right)/2,(this.bottom+this.top)/2)),this.centerLonLat}scale(e,t){var i,s;e=e||1,null==t&&(t=this.getCenterLonLat()),"SuperMap.LonLat"===t.CLASS_NAME?(i=t.lon,s=t.lat):(i=t.x,s=t.y);var r=(this.left-i)*e+i,n=(this.bottom-s)*e+s,a=(this.right-i)*e+i,o=(this.top-s)*e+s;return new ye(r,n,a,o)}add(e,t){if(null==e||null==t)throw new TypeError("Bounds.add cannot receive null values");return new ye(this.left+e,this.bottom+t,this.right+e,this.top+t)}extend(e){var t=null;if(e){switch(e.CLASS_NAME){case"SuperMap.LonLat":t=new ye(e.lon,e.lat,e.lon,e.lat);break;case"SuperMap.Geometry.Point":t=new ye(e.x,e.y,e.x,e.y);break;case"SuperMap.Bounds":t=e}t&&(this.centerLonLat=null,(null==this.left||t.leftthis.right)&&(this.right=t.right),(null==this.top||t.top>this.top)&&(this.top=t.top))}}containsLonLat(e,t){"boolean"==typeof t&&(t={inclusive:t}),t=t||{};var i=this.contains(e.lon,e.lat,t.inclusive),s=t.worldBounds;if(s&&!i){var r=s.getWidth(),n=(s.left+s.right)/2,a=Math.round((e.lon-n)/r);i=this.containsLonLat({lon:e.lon-a*r,lat:e.lat},{inclusive:t.inclusive})}return i}containsPixel(e,t){return this.contains(e.x,e.y,t)}contains(e,t,i){if(null==i&&(i=!0),null==e||null==t)return!1;e=fe.toFloat(e),t=fe.toFloat(t);return i?e>=this.left&&e<=this.right&&t>=this.bottom&&t<=this.top:e>this.left&&ethis.bottom&&t=i.bottom&&e.bottom<=i.top||i.bottom>=e.bottom&&i.bottom<=e.top,a=e.top>=i.bottom&&e.top<=i.top||i.top>e.bottom&&i.top=i.left&&e.left<=i.right||i.left>=e.left&&i.left<=e.right,l=e.right>=i.left&&e.right<=i.right||i.right>=e.left&&i.right<=e.right;s=(n||a)&&(o||l)}if(t.worldBounds&&!s){var h=t.worldBounds,u=h.getWidth(),c=!h.containsBounds(i),p=!h.containsBounds(e);c&&!p?(e=e.add(-u,0),s=i.intersectsBounds(e,{inclusive:t.inclusive})):p&&!c&&(i=i.add(-u,0),s=e.intersectsBounds(i,{inclusive:t.inclusive}))}return s}containsBounds(e,t,i){null==t&&(t=!1),null==i&&(i=!0);var s=this.contains(e.left,e.bottom,i),r=this.contains(e.right,e.bottom,i),n=this.contains(e.left,e.top,i),a=this.contains(e.right,e.top,i);return t?s||r||n||a:s&&r&&n&&a}determineQuadrant(e){var t="",i=this.getCenterLonLat();return t+=e.lat=e.right&&r.right>e.right;)r=r.add(-n,0);var a=r.left+i;ae.left&&r.right-s>e.right&&(r=r.add(-n,0))}return r}toServerJSONObject(){return{rightTop:{x:this.right,y:this.top},leftBottom:{x:this.left,y:this.bottom},left:this.left,right:this.right,top:this.top,bottom:this.bottom}}destroy(){this.left=null,this.right=null,this.top=null,this.bottom=null,this.centerLonLat=null}static fromString(e,t){var i=e.split(",");return ye.fromArray(i,t)}static fromArray(e,t){return!0===t?new ye(e[1],e[0],e[3],e[2]):new ye(e[0],e[1],e[2],e[3])}static fromSize(e){return new ye(0,e.h,e.w,0)}static oppositeQuadrant(e){var t="";return t+="t"===e.charAt(0)?"b":"t",t+="l"===e.charAt(1)?"r":"l"}}s.Bounds=ye;class ge{constructor(){this.CLASS_NAME="SuperMap.Geometry",this.id=fe.createUniqueID(this.CLASS_NAME+"_"),this.parent=null,this.bounds=null,this.SRID=null}destroy(){this.id=null,this.bounds=null,this.SRID=null}clone(){return new ge}setBounds(e){e&&(this.bounds=e.clone())}clearBounds(){this.bounds=null,this.parent&&this.parent.clearBounds()}extendBounds(e){this.getBounds()?this.bounds.extend(e):this.setBounds(e)}getBounds(){return null==this.bounds&&this.calculateBounds(),this.bounds}calculateBounds(){}getVertices(e){}getArea(){return 0}}s.Geometry=ge;class ve extends ge{constructor(e){super(),this.components=[],this.componentTypes=null,null!=e&&this.addComponents(e),this.CLASS_NAME="SuperMap.Geometry.Collection"}destroy(){this.components.length=0,this.components=null,super.destroy()}clone(){for(var e=new ve,t=0,i=this.components.length;t-1)){if(null!=t&&t=0;--i)t=this.removeComponent(e[i])||t;return t}removeComponent(e){return fe.removeItem(this.components,e),this.clearBounds(),!0}getArea(){for(var e=0,t=0,i=this.components.length;t2;return t&&super.removeComponent.apply(this,arguments),t}getSortedSegments(){for(var e,t,i=this.components.length-1,s=new Array(i),r=0;r=1?1:g)<=-1?-1:g,u=180*Math.acos(g)/Math.PI,a=(u=r.x==i.x?t.x>i.x&&s.x>i.x||t.xp*t.x+d&&s.y>p*s.x+d||t.yi.y?s.xi.x&&(o=!1):r.xp*s.x+d&&(o=!1):r.x>i.x?s.y>i.y&&(o=!1):s.y=0?180*Math.atan(v)/Math.PI:Math.abs(180*Math.atan(v)/Math.PI)+90,b=Math.abs(t.y);i.y==b&&b==r.y&&i.x=0?v>=0?h+=l:h=180-(h-90)+l:h=v>0?h-180+l:90-h+l:x>=0?v>=0?h-=l:h=180-(h-90)-l:h=v>=0?h-180-l:90-h-l,h=h*Math.PI/180;var C=t.x+n*Math.cos(h),T=t.y+n*Math.sin(h);c.push(new xe(C,T))}c.push(r)}return c}static createLineEPS(e){var t=[],i=e.length;if(null==e||i<2)return e;for(var s=0;s1&&(i=parseFloat(i)*h),s.labelAlign&&"cm"!==s.labelAlign)switch(s.labelAlign){case"lt":l.x+=t/2,l.y+=i/2;break;case"lm":l.x+=t/2;break;case"lb":l.x+=t/2,l.y-=i/2;break;case"ct":l.y+=i/2;break;case"cb":l.y-=i/2;break;case"rt":l.x-=t/2,l.y+=i/2;break;case"rm":l.x-=t/2;break;case"rb":l.x-=t/2,l.y-=i/2}return this.bsInfo.h=i,this.bsInfo.w=t,r=l.x-parseFloat(t)/2,n=l.y+parseFloat(i)/2,o=l.x+parseFloat(t)/2,a=l.y-parseFloat(i)/2,new ye(r,n,o,a)}getLabelPxBoundsByText(e,t){var i,s,r,n,a=this.getLabelPxSize(t),o=fe.cloneObject(e);if(t.labelAlign&&"cm"!==t.labelAlign)switch(t.labelAlign){case"lt":o.x+=a.w/2,o.y+=a.h/2;break;case"lm":o.x+=a.w/2;break;case"lb":o.x+=a.w/2,o.y-=a.h/2;break;case"ct":o.y+=a.h/2;break;case"cb":o.y-=a.h/2;break;case"rt":o.x-=a.w/2,o.y+=a.h/2;break;case"rm":o.x-=a.w/2;break;case"rb":o.x-=a.w/2,o.y-=a.h/2}return this.bsInfo.h=a.h,this.bsInfo.w=a.w,i=o.x-a.w/2,s=o.y+a.h/2,n=t.fontStyle&&"italic"===t.fontStyle?o.x+a.w/2+parseInt(parseFloat(t.fontSize)/2):o.x+a.w/2,r=o.y-a.h/2,new ye(i,s,n,r)}getLabelPxSize(e){var t,i,s,r,n=parseFloat(e.strokeWidth);t=e.label||this.text,i=e.fontSize?parseFloat(e.fontSize):parseFloat("12px");var a=t.split("\n"),o=a.length;r=o>1?i*o+o+n+.2*i:i+n+.2*i+1,s=0,this.labelWTmp&&s255?i++:s++;return t.cnC=i,t.enC=s,t.textC=e.length,t}}s.Geometry.GeoText=Ce;class Te extends _e{constructor(e){super(e),this.componentTypes=["SuperMap.Geometry.Point"],this.CLASS_NAME="SuperMap.Geometry.LinearRing"}addComponent(e,t){var i=!1,s=this.components.pop();null==t&&e.equals(s)||(i=super.addComponent.apply(this,arguments));var r=this.components[0];return super.addComponent.apply(this,[r]),i}removeComponent(e){var t=this.components&&this.components.length>3;if(t){this.components.pop(),super.removeComponent.apply(this,arguments);var i=this.components[0];super.addComponent.apply(this,[i])}return t}getArea(){var e=0;if(this.components&&this.components.length>2){for(var t=0,i=0,s=this.components.length;i0){e+=Math.abs(this.components[0].getArea());for(var t=1,i=this.components.length;t1},isLeftClick:function(e){return e.which&&1===e.which||e.button&&1===e.button},isRightClick:function(e){return e.which&&3===e.which||e.button&&2===e.button},stop:function(e,t){t||(e.preventDefault?e.preventDefault():e.returnValue=!1),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},findElement:function(e,t){for(var i=s.Event.element(e);i.parentNode&&(!i.tagName||i.tagName.toUpperCase()!=t.toUpperCase());)i=i.parentNode;return i},observe:function(e,t,i,s){var r=fe.getElement(e);if(s=s||!1,"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||r.attachEvent)&&(t="keydown"),this.observers||(this.observers={}),!r._eventCacheID){var n="eventCacheID_";r.id&&(n=r.id+"_"+n),r._eventCacheID=fe.createUniqueID(n)}var a=r._eventCacheID;this.observers[a]||(this.observers[a]=[]),this.observers[a].push({element:r,name:t,observer:i,useCapture:s}),r.addEventListener?r.addEventListener(t,i,s):r.attachEvent&&r.attachEvent("on"+t,i)},stopObservingElement:function(e){var t=fe.getElement(e)._eventCacheID;this._removeElementObservers(s.Event.observers[t])},_removeElementObservers:function(e){if(e)for(var t=e.length-1;t>=0;t--){var i=e[t],r=new Array(i.element,i.name,i.observer,i.useCapture);s.Event.stopObserving.apply(this,r)}},stopObserving:function(e,t,i,r){r=r||!1;var n=fe.getElement(e),a=n._eventCacheID;"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||n.detachEvent)&&(t="keydown");var o=!1,l=s.Event.observers[a];if(l)for(var h=0;!o&&h0&&i.push(","),i.push(this.writeNewline(),this.writeIndent(),t));return this.level-=1,i.push(this.writeNewline(),this.writeIndent(),"]"),i.join("")},string:function(e){var t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return/["\\\x00-\x1f]/.test(e)?'"'+e.replace(/([\x00-\x1f\\"])/g,function(e,i){var s=t[i];return s||(s=i.charCodeAt(),"\\u00"+Math.floor(s/16).toString(16)+(s%16).toString(16))})+'"':'"'+e+'"'},number:function(e){return isFinite(e)?String(e):"null"},boolean:function(e){return String(e)},date:function(e){function t(e){return e<10?"0"+e:e}return'"'+e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+"T"+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds())+'"'}}}read(e,t){var i;if(this.nativeJSON)try{i=JSON.parse(e,t)}catch(e){}return this.keepData&&(this.data=i),i}write(e,t){this.pretty=!!t;var i=null,s=typeof e;if(this.serialize[s])try{i=!this.pretty&&this.nativeJSON?JSON.stringify(e):this.serialize[s].apply(this,[e])}catch(e){}return i}writeIndent(){var e=[];if(this.pretty)for(var t=0;t-1||(t[s]=e[s]);return t}toGeometry(e){var t=this,i=e.type;switch("polygon"===i&&(i=a.REGION),i.toUpperCase()){case a.POINT:return t.toGeoPoint(e);case a.LINE:return t.toGeoLine(e);case a.LINEM:return t.toGeoLinem(e);case a.REGION:return t.toGeoRegion(e);case a.RECTANGLE:return t.toGeoRectangle(e);case a.POINTEPS:return t.toGeoPoint(e);default:return e}}toGeoPoint(e){var t=e.points||[{x:e.x,y:e.y}],i=(e.parts||[t.length]).length;if(i<1)return null;if(1===i)return{type:"Point",x:parseFloat(t[0].x),y:parseFloat(t[0].y)};for(var s=0,r=[];s0?t.push(u):n.push([u]),a===r-1){var c=n.length;if(c)n[c-1]=n[c-1].concat(t);else for(var p=0,d=t.length;p0&&r.push(","),i=t[n].geometry,r.push(this.extractGeometry(i));return s&&r.push(")"),r.join("")}extractGeometry(e){var t=e.CLASS_NAME.split(".")[2].toLowerCase();return this.extract[t]?("collection"===t?"GEOMETRYCOLLECTION":t.toUpperCase())+"("+this.extract[t].apply(this,[e])+")":null}};class ke{constructor(e){var t=this;e=e||{},this.speed=e.speed&&e.speed>=0?e.speed:1,this.frequency=e.speed&&e.frequency>=0?e.frequency:1e3,this.startTime=e.startTime&&null!=e.startTime?e.startTime:0,this.endTime=e.endTime&&null!=e.endTime&&e.endTime>=t.startTime?e.endTime:+new Date,this.repeat=void 0===e.repeat||e.repeat,this.reverse=void 0!==e.reverse&&e.reverse,this.currentTime=null,this.oldTime=null,this.running=!1,this.EVENT_TYPES=["start","pause","stop"],t.events=new Ne(this,null,this.EVENT_TYPES),t.speed=Number(t.speed),t.frequency=Number(t.frequency),t.startTime=Number(t.startTime),t.endTime=Number(t.endTime),t.startTime=Date.parse(new Date(t.startTime)),t.endTime=Date.parse(new Date(t.endTime)),t.currentTime=t.startTime,this.CLASS_NAME="SuperMap.TimeControlBase"}updateOptions(e){var t=this;(e=e||{}).speed&&e.speed>=0&&(t.speed=e.speed,t.speed=Number(t.speed)),e.speed&&e.frequency>=0&&(t.frequency=e.frequency,t.frequency=Number(t.frequency)),e.startTime&&null!=e.startTime&&(t.startTime=e.startTime,t.startTime=Date.parse(new Date(t.startTime))),e.endTime&&null!=e.endTime&&e.endTime>=t.startTime&&(t.endTime=e.endTime,t.endTime=Date.parse(new Date(t.endTime))),null!=e.repeat&&(t.repeat=e.repeat),null!=e.reverse&&(t.reverse=e.reverse)}start(){var e=this;e.running||(e.running=!0,e.tick(),e.events.triggerEvent("start",e.currentTime))}pause(){this.running=!1,this.events.triggerEvent("pause",this.currentTime)}stop(){var e=this;e.currentTime=e.startTime,e.running&&(e.running=!1),e.events.triggerEvent("stop",e.currentTime)}toggle(){this.running?this.pause():this.start()}setSpeed(e){return e>=0&&(this.speed=e,!0)}getSpeed(){return this.speed}setFrequency(e){return e>=0&&(this.frequency=e,!0)}getFrequency(){return this.frequency}setStartTime(e){var t=this;return!((e=Date.parse(new Date(e)))>t.endTime)&&(t.startTime=e,t.currentTime=t.endTime&&(t.currentTime=t.startTime,t.tick()),!0)}getEndTime(){return this.endTime}setCurrentTime(e){var t=this;return t.currentTime=Date.parse(new Date(t.currentTime)),e>=t.startTime&&e<=t.endTime&&(t.currentTime=e,t.startTime=t.currentTime,t.tick(),!0)}getCurrentTime(){return this.currentTime}setRepeat(e){this.repeat=e}getRepeat(){return this.repeat}setReverse(e){this.reverse=e}getReverse(){return this.reverse}getRunning(){return this.running}destroy(){var e=this;e.speed=null,e.frequency=null,e.startTime=null,e.endTime=null,e.currentTime=null,e.repeat=null,e.running=!1,e.reverse=null}tick(){}}s.TimeControlBase=ke;class Be extends ke{constructor(e,t){super(t);var i=this;i.callback=e,Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),i=this,s=function(){},r=function(){return i.apply(this instanceof s&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return s.prototype=this.prototype,r.prototype=new s,r}),i.update=i.update.bind(i),i.oldTime=i.currentTime,i.CLASS_NAME="SuperMap.TimeFlowControl"}updateOptions(e){e=e||{},super.updateOptions(e)}start(){var e=this;e.running||(e.running=!0,e.reverse?e.currentTime===e.startTime&&(e.oldTime=e.endTime,e.currentTime=e.oldTime):e.oldTime===e.endTime&&(e.currentTime=e.startTime,e.oldTime=e.currentTime),e.tick())}stop(){super.stop();var e=this;e.oldTime=e.currentTime,e.running&&(e.running=!1),e.intervalId&&window.clearTimeout(e.intervalId)}destroy(){super.destroy();this.oldTime=null,this.callback=null}tick(){var e=this;e.intervalId&&window.clearInterval(e.intervalId),e.intervalId=null,e.update(),e.intervalId=window.setInterval(e.update,e.frequency)}update(){var e=this;if(e.running)if(e.callback&&e.callback(e.currentTime),e.reverse){if(e.currentTime===e.startTime){if(!e.repeat)return e.running=!1,null;e.oldTime=e.endTime,e.currentTime=e.oldTime}else e.currentTime=e.oldTime,e.oldTime-=e.speed;e.oldTime<=e.startTime&&(e.oldTime=e.startTime)}else{if(e.currentTime===e.endTime){if(!e.repeat)return e.running=!1,e.stop(),null;e.stop(),e.currentTime=e.startTime,e.oldTime=e.currentTime,e.start()}else e.oldTime=e.currentTime,e.currentTime+=e.speed;e.currentTime>=e.endTime&&(e.currentTime=e.endTime)}}}s.TimeFlowControl=Be;var Ge=i(39),Ue=i.n(Ge);window.Promise=Ue.a;i(89);var je=i(24),ze=i.n(je);const Ve=window.fetch;s.setCORS=function(e){s.CORS=e};var He=s.isCORS=function(){return void 0!=s.CORS?s.CORS:window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest},Je=(s.setRequestTimeout=function(e){return s.RequestTimeout=e},s.getRequestTimeout=function(){return s.RequestTimeout||45e3}),qe=s.FetchRequest={commit:function(e,t,i,s){switch(e=e?e.toUpperCase():e){case"GET":return this.get(t,i,s);case"POST":return this.post(t,i,s);case"PUT":return this.put(t,i,s);case"DELETE":return this.delete(t,i,s);default:return this.get(t,i,s)}},supportDirectRequest:function(e,t){return fe.isInTheSameDomain(e)||He()||t.proxy},get:function(e,t,i){i=i||{};if(e=this._processUrl(e,i),e=fe.urlAppend(e,this._getParameterString(t||{})),!this.supportDirectRequest(e,i)){var r={url:e=e.replace(".json",".jsonp"),data:t};return s.Util.RequestJSONPPromise.GET(r)}return this.urlIsLong(e)?this._postSimulatie("GET",e.substring(0,e.indexOf("?")-1),t,i):this._fetch(e,t,i,"GET")},delete:function(e,t,i){i=i||{};if(e=this._processUrl(e,i),e=fe.urlAppend(e,this._getParameterString(t||{})),!this.supportDirectRequest(e,i)){e=e.replace(".json",".jsonp");var r={url:e+="&_method=DELETE",data:t};return s.Util.RequestJSONPPromise.DELETE(r)}return this.urlIsLong(e)?this._postSimulatie("DELETE",e.substring(0,e.indexOf("?")-1),t,i):this._fetch(e,t,i,"DELETE")},post:function(e,t,i){if(i=i||{},!this.supportDirectRequest(e,i)){e=e.replace(".json",".jsonp");var r={url:e+="&_method=POST",data:t};return s.Util.RequestJSONPPromise.POST(r)}return this._fetch(this._processUrl(e,i),t,i,"POST")},put:function(e,t,i){if(i=i||{},e=this._processUrl(e,i),!this.supportDirectRequest(e,i)){e=e.replace(".json",".jsonp");var r={url:e+="&_method=PUT",data:t};return s.Util.RequestJSONPPromise.DELETE(r)}return this._fetch(e,t,i,"PUT")},urlIsLong:function(e){for(var t=0,i=null,s=0,r=e.length;s-1?"&":"?")+"_method="+e,"string"!=typeof i&&(i=JSON.stringify(i)),this.post(t,i,s)},_processUrl:function(e,t){if(this._isMVTRequest(e))return e;if(-1===e.indexOf(".json")&&!t.withoutFormatSuffix)if(e.indexOf("?")<0)e+=".json";else{var i=e.split("?");2===i.length&&(e=i[0]+".json?"+i[1])}return t&&t.proxy&&("function"==typeof t.proxy?e=t.proxy(e):(e=decodeURIComponent(e),e=t.proxy+encodeURIComponent(e))),e},_fetch:function(e,t,i,s){return(i=i||{}).headers=i.headers||{},i.headers["Content-Type"]||(i.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8"),i.timeout?this._timeout(i.timeout,Ve(e,{method:s,headers:i.headers,body:"PUT"===s||"POST"===s?t:void 0,credentials:i.withCredentials?"include":"omit",mode:"cors",timeout:Je()}).then(function(e){return e})):Ve(e,{method:s,body:"PUT"===s||"POST"===s?t:void 0,headers:i.headers,credentials:i.withCredentials?"include":"omit",mode:"cors",timeout:Je()}).then(function(e){return e})},_fetchJsonp:function(e,t){return t=t||{},ze()(e,{method:"GET",timeout:t.timeout}).then(function(e){return e})},_timeout:function(e,t){return new Promise(function(i,s){setTimeout(function(){s(new Error("timeout"))},e),t.then(i,s)})},_getParameterString:function(e){var t=[];for(var i in e){var s=e[i];if(null!=s&&"function"!=typeof s){var r;if("object"==typeof s&&s.constructor===Array){for(var n,a=[],o=0,l=s.length;o-1||e.indexOf(".pbf")>-1}};s.Util.RequestJSONPPromise={limitLength:1500,queryKeys:[],queryValues:[],supermap_callbacks:{},addQueryStrings:function(e){for(var t in e){this.queryKeys.push(t),"string"!=typeof e[t]&&(e[t]=s.Util.toJSON(e[t]));var i=encodeURIComponent(e[t]);this.queryValues.push(i)}},issue:function(e){for(var t=this,i=t.getUid(),s=e.url,r=[],n=new Promise(function(e){t.supermap_callbacks[i]=function(s){delete t.supermap_callbacks[i],e(s)}}),a=s,o=0,l=t.queryKeys?t.queryKeys.length:0,h=0;h=t.limitLength){if(0==o)return!1;r.push(a),a=s,o=0,h--}else if(a.length+t.queryKeys[h].length+2+t.queryValues[h].length>t.limitLength)for(var u=t.queryValues[h];u.length>0;){var c=t.limitLength-a.length-t.queryKeys[h].length-2;a.indexOf("?")>-1?a+="&":a+="?";var p=u.substring(0,c);"%"===p.substring(c-1,c)?(c-=1,p=u.substring(0,c)):"%"===p.substring(c-2,c-1)&&(c-=2,p=u.substring(0,c)),a+=t.queryKeys[h]+"="+p,u=u.substring(c),p.length>0&&(r.push(a),a=s,o=0)}else o++,a.indexOf("?")>-1?a+="&":a+="?",a+=t.queryKeys[h]+"="+t.queryValues[h];return r.push(a),t.send(r,"SuperMap.Util.RequestJSONPPromise.supermap_callbacks["+i+"]",e&&e.proxy),n},getUid:function(){return 1e3*(new Date).getTime()+Math.floor(1e17*Math.random())},send:function(e,t,i){var s=e.length;if(s>0)for(var r=(new Date).getTime(),n=0;n-1?a+="&":a+="?",a+="sectionCount="+s,a+="§ionIndex="+n,a+="&jsonpUserID="+r,i&&(a=decodeURIComponent(a),a=i+encodeURIComponent(a)),ze()(a,{jsonpCallbackFunction:t,timeout:3e4})}},GET:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings(e.params),this.issue(e)},POST:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},PUT:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},DELETE:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)}};class We{static generateToken(e,t){var i=this.servers[e];if(i)return qe.post(i.tokenServiceUrl,JSON.stringify(t.toJSON())).then(function(e){return e.text()})}static registerServers(e){this.servers=this.servers||{},fe.isArray(e)||(e=[e]);for(var t=0;t-1&&"?"===s?t+=i.getUrlParameters():t.indexOf("?")>-1&&"?"!==s?t+="&"+i.getUrlParameters():t+="?"+i.getUrlParameters()}return t}getCredential(){var e,t=We.getToken(this.serviceUrl);return(e=t?new Pe(t,"token"):null)||(e=(t=this.getKey())?new Pe(t,"key"):null),e}getKey(){}}s.iPortalServiceBase=$e;class et extends $e{constructor(e,t){super(e),t=t||{},this.addedMapNames=null,this.addedSceneNames=null,this.authorizeSetting=[],this.checkStatus="",this.createTime=0,this.description="",this.enable=!0,this.id=0,this.isBatch=!1,this.isDataItemService=!1,this.linkPage=null,this.mapInfos=[],this.metadata=null,this.nickname="",this.offline=!1,this.proxiedUrl=null,this.resTitle="",this.scenes=[],this.serviceRootUrlId=null,this.tags=[],this.thumbnail=null,this.type="",this.updateTime=0,this.userName="",this.verifyReason=null,this.version=null,this.visitCount=0,fe.extend(this,t),this.serviceUrl=e,this.id&&(this.serviceUrl=e+"/"+this.id)}load(){var e=this;return e.request("GET",e.serviceUrl+".json").then(function(t){if(t.error)return t;for(var i in t)e[i]=t[i]})}update(){var e={authorizeSetting:this.authorizeSetting,metadata:this.metadata,tags:this.tags,thumbnail:this.thumbnail};return this.request("PUT",this.serviceUrl,JSON.stringify(e),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}}s.iPortalService=et;class tt extends $e{constructor(e,t){super(e),t=t||{},this.authorizeSetting=[],this.center="",this.controls=null,this.checkStatus="",this.createTime=0,this.description="",this.epsgCode=0,this.extent="",this.id=0,this.isDefaultBottomMap=!1,this.layers=[],this.level=null,this.nickname="",this.sourceType="",this.status=null,this.tags=[],this.thumbnail="",this.title="",this.units=null,this.updateTime=0,this.userName="",this.visitCount=0,fe.extend(this,t),this.mapUrl=e}load(){var e=this;return e.request("GET",e.mapUrl+".json").then(function(t){if(t.error)return t;for(var i in t)e[i]=t[i]})}update(){var e={units:this.units,level:this.level,center:this.center,controls:this.controls,description:this.description,epsgCode:this.epsgCode,extent:this.extent,status:this.status,tags:this.tags,layers:this.layers,title:this.title,thumbnail:this.thumbnail,sourceType:this.sourceType,authorizeSetting:this.authorizeSetting};return this.request("PUT",this.mapUrl,JSON.stringify(e),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}}s.iPortalMap=tt;class it extends $e{constructor(e){super(e),this.iportalUrl=e}load(){return qe.get(this.iportalUrl+"/web")}queryServices(e){if(!(e instanceof Ke))return null;var t=this.iportalUrl+"/web/services";return this.request("GET",t,e).then(function(e){var i=[];return e.content.map(function(e){return i.push(new et(t,e)),e}),i})}deleteServices(e){var t=this.iportalUrl+"/web/services";return this.request("DELETE",t,{ids:e})}queryMaps(e){if(!(e instanceof Ze))return null;var t=this.iportalUrl+"/web/maps";return this.request("GET",t,e).then(function(e){var i={},s=[];return e.content.map(function(e){return s.push(new tt(t+"/"+e.id,e)),e}),i.content=s,i.currentPage=e.currentPage,i.pageSize=e.pageSize,i.total=e.total,i.totalPage=e.totalPage,i})}}s.iPortal=it;class st{constructor(e,t){let i=this;this.EVENT_TYPES=["processCompleted","processFailed"],this.events=null,this.eventListeners=null,this.url=null,this.urls=null,this.proxy=null,this.serverType=null,this.index=null,this.length=null,this.options=null,this.totalTimes=null,this.POLLING_TIMES=3,this._processSuccess=null,this._processFailed=null,this.isInTheSameDomain=null,this.withCredentials=!1,fe.isArray(e)?(i.urls=e,i.length=e.length,i.totalTimes=i.length,1===i.length?i.url=e[0]:(i.index=parseInt(Math.random()*i.length),i.url=e[i.index])):(i.totalTimes=1,i.url=e),fe.isArray(e)&&!i.isServiceSupportPolling()&&(i.url=e[0],i.totalTimes=1),i.serverType=i.serverType||n.ISERVER,(t=t||{})&&fe.extend(this,t),i.isInTheSameDomain=fe.isInTheSameDomain(i.url),i.events=new Ne(i,null,i.EVENT_TYPES,!0),i.eventListeners instanceof Object&&i.events.on(i.eventListeners),this.CLASS_NAME="SuperMap.CommonServiceBase"}destroy(){let e=this;fe.isArray(e.urls)&&(e.urls=null,e.index=null,e.length=null,e.totalTimes=null),e.url=null,e.options=null,e._processSuccess=null,e._processFailed=null,e.isInTheSameDomain=null,e.EVENT_TYPES=null,e.events&&(e.events.destroy(),e.events=null),e.eventListeners&&(e.eventListeners=null)}request(e){let t=this;e.url=e.url||t.url,e.proxy=e.proxy||t.proxy,e.withCredentials=void 0!=e.withCredentials?e.withCredentials:t.withCredentials,e.isInTheSameDomain=t.isInTheSameDomain;let i=this.getCredential(e.url);if(i){let t=e.url.substring(e.url.length-1,e.url.length);e.url.indexOf("?")>-1&&"?"===t?e.url+=i.getUrlParameters():e.url.indexOf("?")>-1&&"?"!==t?e.url+="&"+i.getUrlParameters():e.url+="?"+i.getUrlParameters()}t.calculatePollingTimes(),t._processSuccess=e.success,t._processFailed=e.failure,e.scope=t,e.success=t.getUrlCompleted,e.failure=t.getUrlFailed,t.options=e,t._commit(t.options)}getCredential(e){let t,i,s=e;switch(this.serverType){case n.IPORTAL:(t=(i=We.getToken(s))?new Pe(i,"token"):null)||(t=(i=We.getKey(s))?new Pe(i,"key"):null);break;case n.ONLINE:t=(i=We.getKey(s))?new Pe(i,"key"):null;break;default:t=(i=We.getToken(s))?new Pe(i,"token"):null}return t}getUrlCompleted(e){this._processSuccess(e)}getUrlFailed(e){let t=this;t.totalTimes>0?(t.totalTimes--,t.ajaxPolling()):t._processFailed(e)}ajaxPolling(){let e=this,t=e.options.url,i=/^http:\/\/([a-z]{9}|(\d+\.){3}\d+):\d{0,4}/;e.index=parseInt(Math.random()*e.length),e.url=e.urls[e.index],t=t.replace(i,i.exec(e.url)[0]),e.options.url=t,e.options.isInTheSameDomain=fe.isInTheSameDomain(t),e._commit(e.options)}calculatePollingTimes(){let e=this;e.times?e.totalTimes>e.POLLING_TIMES?e.times>e.POLLING_TIMES?e.totalTimes=e.POLLING_TIMES:e.totalTimes=e.times:e.timese.POLLING_TIMES&&(e.totalTimes=e.POLLING_TIMES),e.totalTimes--}isServiceSupportPolling(){return!("SuperMap.REST.ThemeService"===this.CLASS_NAME||"SuperMap.REST.EditFeaturesService"===this.CLASS_NAME)}serviceProcessCompleted(e){e=fe.transformResult(e),this.events.triggerEvent("processCompleted",{result:e})}serviceProcessFailed(e){let t=(e=fe.transformResult(e)).error||e;this.events.triggerEvent("processFailed",{error:t})}_commit(e){"POST"!==e.method&&"PUT"!==e.method||(e.params&&(e.url=fe.urlAppend(e.url,fe.getParameterString(e.params||{}))),e.params=e.data),qe.commit(e.method,e.url,e.params,{headers:e.headers,withCredentials:e.withCredentials,timeout:e.async?0:null,proxy:e.proxy}).then(function(e){return e.text?e.text():e.json?e.json():e}).then(function(t){var i=t;("string"==typeof t&&(i=(new Fe).read(t)),(!i||i.error||i.code>=300&&304!==i.code)&&(i=i&&i.error?{error:i.error}:{error:i}),i.error)?(e.scope?de.bind(e.failure,e.scope):e.failure)(i):(i.succeed=void 0==i.succeed||i.succeed,(e.scope?de.bind(e.success,e.scope):e.success)(i))})}}s.CommonServiceBase=st;class rt{constructor(e){if(e.filters){let t=[];e.filters.split(",").map(function(e){return t.push('"'+e+'"'),e}),e.filters=t}this.address=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,fe.extend(this,e)}destroy(){this.address=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null}}s.GeoCodingParameter=rt;class nt{constructor(e){if(e.filters){let t=[];e.filters.split(",").map(function(e){return t.push('"'+e+'"'),e}),e.filters=t}this.x=null,this.y=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,this.geoDecodingRadius=null,fe.extend(this,e)}destroy(){this.x=null,this.y=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,this.geoDecodingRadius=null}}s.GeoDecodingParameter=nt;class at extends st{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.AddressMatchService"}destroy(){super.destroy()}code(e,t){t instanceof rt&&this.processAsync(e,t)}decode(e,t){t instanceof nt&&this.processAsync(e,t)}processAsync(e,t){var i=this;qe.get(e,t,{proxy:i.proxy}).then(function(e){return e.json()}).then(function(e){e?i.serviceProcessCompleted(e):i.serviceProcessFailed(e)}).catch(function(e){i.eventListeners.processFailed({error:e})})}serviceProcessCompleted(e){super.serviceProcessCompleted(e)}serviceProcessFailed(e){super.serviceProcessFailed(e)}}s.AddressMatchService=at;class ot{constructor(e){this.name=null,this.queryType=null,this.CLASS_NAME="SuperMap.AggQueryBuilderParameter",fe.extend(this,e)}destroy(){this.name=null,this.queryType=null}}s.AggQueryBuilderParameter=ot;class lt{constructor(e){this.aggName=null,this.aggType=null,this.aggFieldName=null,this.subAgg=null,this.CLASS_NAME="SuperMap.AggregationParameter",fe.extend(this,e)}destroy(){var e=this;e.aggName=null,e.aggFieldName=null,e.aggType=null,e.subAgg&&(e.subAgg=null)}}s.AggregationParameter=lt;class ht{constructor(e){this.dataset=null,this.targetDatasourceName=null,this.totalGridName=null,this.diffuseDatasetGridName=null,this.durationDatasetGridName=null,this.directDatasetGridName=null,this.latitude=null,this.timeMode="MULTIDAYS",this.dayStart=null,this.dayEnd=null,this.hourStart=null,this.hourEnd=null,this.transmittance=null,this.hourInterval=null,this.dayInterval=null,this.deleteExistResultDataset=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.AreaSolarRadiationParameters"}destroy(){var e=this;e.dataset=null,e.zFactor=1,e.averageCurvatureName=null,e.profileCurvatureName=null,e.planCurvatureName=null,e.deleteExistResultDataset=!0}static toObject(e,t){var i={};for(var s in e){if("dataset"!==s)"latitude"===s||"timeMode"===s||"dayStart"===s||("dayEnd"===s||"hourStart"===s||"hourEnd"===s)||("transmittance"===s||"hourInterval"===s||"dayInterval"===s)?i[s]=e[s]:t[s]=e[s]}t.parameter=i}}s.AreaSolarRadiationParameters=ht;class ut extends st{constructor(e,t){super(e,t),this.format=r.GEOJSON,this.CLASS_NAME="SuperMap.SpatialAnalystBase"}destroy(){super.destroy(),this.format=null}serviceProcessCompleted(e){var t,i=this;if((e=fe.transformResult(e))&&i.format===r.GEOJSON&&"function"==typeof i.toGeoJSONResult)if(fe.isArray(e)){for(var s=0;s0){e+='"points":[';for(var i=0,s=this.components.length;i0))return null;for(var n=0,a=0,o=[];n0){if(1===i)return new xe(t[0].x,t[0].y);var s=[];for(let e=0;e0){if(1===i){let i=[];for(let s=0;s0){if(1===o){for(e=0,i=[];e=0;t--)if(c[e]=-1,l[t].getBounds().containsBounds(l[e].getBounds())){h[e]=-1*h[t],h[e]<0&&(c[e]=t);break}for(let e=0;e0?r.push(l[e]):(r[c[e]].components=r[c[e]].components.concat(l[e].components),r.push(""))}else{r=new Array;for(let e=0;e0&&r.length>0&&(r[r.length-1].components=r[r.length-1].components.concat(a),a=[]),r.push(l[e])),e==s-1){var p=r.length;if(p)r[p-1].components=r[p-1].components.concat(a);else for(let e=0,t=a.length;e=0;t--)if(d[e]=-1,u[t].getBounds().containsBounds(u[e].getBounds())){c[e]=-1*c[t],c[e]<0&&(d[e]=t);break}for(let e=0;e0?n.push(u[e]):(n[d[e]].components=n[d[e]].components.concat(u[e].components),n.push(""))}else{n=new Array;for(let e=0;e0&&n.length>0&&(n[n.length-1].components=n[n.length-1].components.concat(l),l=[]),n.push(u[e])),e==s-1){var f=n.length;if(f)n[f-1].components=n[f-1].components.concat(l);else for(let e=0,t=l.length;ee[r]){var n=e[r];e[r]=e[s],e[s]=n;var a=t[r];if(t[r]=t[s],t[s]=a,i&&i.length>0){var o=i[r];i[r]=i[s],i[s]=o}}}}s.ServerGeometry=Mt;class wt extends ft{constructor(e){super(e),this.sourceGeometry=null,this.sourceGeometrySRID=null,e&&fe.extend(this,e),this.CLASS_NAME=" SuperMap.GeometryBufferAnalystParameters"}destroy(){super.destroy();this.sourceGeometry&&(this.sourceGeometry.destroy(),this.sourceGeometry=null)}static toObject(e,t){for(var i in e)if("bufferSetting"===i){var s={};for(var r in e.bufferSetting)s[r]=e.bufferSetting[r];t.analystParameter=s}else"sourceGeometry"===i?t.sourceGeometry=Mt.fromGeometry(e.sourceGeometry):t[i]=e[i]}}s.GeometryBufferAnalystParameters=wt;class Et extends ut{constructor(e,t){super(e,t),this.mode=null,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.BufferAnalystService"}destroy(){super.destroy(),this.mode=null}processAsync(e){var t={},i=this;"/"!==i.url.substr(i.url.length-1,1)&&(i.url+="/"),e instanceof bt?(i.mode="datasets",i.url+="datasets/"+e.dataset+"/buffer",bt.toObject(e,t)):e instanceof wt&&(i.mode="geometry",i.url+="geometry/buffer",wt.toObject(e,t));var s=fe.toJSON(t);i.url+=".json?returnContent=true",i.request({method:"POST",data:s,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}s.BufferAnalystService=Et;class At{constructor(e){this.type=O.UDB,this.datasetName="analystResult",this.datasourceInfo=null,this.outputPath="",fe.extend(this,e),this.CLASS_NAME="SuperMap.OutputSetting"}destroy(){var e=this;e.type=null,e.datasetName=null,e.outputPath=null,e.datasourceInfo instanceof gt&&(e.datasourceInfo.destroy(),e.datasourceInfo=null)}}s.OutputSetting=At;class Pt{constructor(e){if(this.datasetName="",this.bounds="",this.distance="",this.distanceField="",this.distanceUnit=ee.METER,this.dissolveField="",this.output=null,!e)return this;fe.extend(this,e),this.CLASS_NAME="SuperMap.BuffersAnalystJobsParameter"}destroy(){this.datasetName=null,this.bounds=null,this.distance=null,this.distanceField=null,this.distanceUnit=null,this.dissolveField=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"output"!==i?(t.analyst=t.analyst||{},t.analyst[i]="bounds"===i?e[i].toBBOX():e[i]):(t.output=t.output||{},t.output=e[i]):(t.input=t.input||{},t.input[i]=e[i])}}s.BuffersAnalystJobsParameter=Pt;class Lt extends st{constructor(e,t){(t=t||{}).EVENT_TYPES=["processCompleted","processFailed","processRunning"],super(e,t),this.CLASS_NAME="SuperMap.ProcessingServiceBase"}destroy(){super.destroy()}getJobs(e){var t=this;qe.get(e,null,{proxy:t.proxy}).then(function(e){return e.json()}).then(function(e){t.events.triggerEvent("processCompleted",{result:e})}).catch(function(e){t.eventListeners.processFailed({error:e})})}addJob(e,t,i,s){var r=this,n=null;t&&t instanceof i&&(n=new Object,i.toObject(t,n));var a={proxy:r.proxy,headers:{"Content-Type":"application/x-www-form-urlencoded"}};qe.post(r._processUrl(e),JSON.stringify(n),a).then(function(e){return e.json()}).then(function(e){e.succeed?r.serviceProcessCompleted(e,s):r.serviceProcessFailed(e)}).catch(function(e){r.serviceProcessFailed({error:e})})}serviceProcessCompleted(e,t){e=fe.transformResult(e),t=t||1e3;var i=this;if(e)var s=setInterval(function(){qe.get(e.newResourceLocation,{_t:(new Date).getTime()}).then(function(e){return e.json()}).then(function(e){i.events.triggerEvent("processRunning",{id:e.id,state:e.state}),"LOST"!==e.state.runState&&"KILLED"!==e.state.runState&&"FAILED"!==e.state.runState||(clearInterval(s),i.events.triggerEvent("processFailed",{error:e.state.errorMsg,state:e.state.runState})),"FINISHED"===e.state.runState&&e.setting.serviceInfo&&(clearInterval(s),i.events.triggerEvent("processCompleted",{result:e}))}).catch(function(e){clearInterval(s),i.events.triggerEvent("processFailed",{error:e})})},t)}serviceProcessFailed(e){super.serviceProcessFailed(e)}_processUrl(e){return-1===e.indexOf(".json")&&(e+=".json"),We.getToken(e)&&(e+="?token="+We.getToken(e)),e}}s.ProcessingServiceBase=Lt;class Nt extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/buffers",this.CLASS_NAME="SuperMap.BuffersAnalystJobsService"}destroy(){super.destroy()}getBuffersJobs(){super.getJobs(this.url)}getBuffersJob(e){super.getJobs(this.url+"/"+e)}addBuffersJob(e,t){super.addJob(this.url,e,Pt,t)}}s.BuffersAnalystJobsService=Nt;class It{constructor(e){this.sourceNodeIDs=null,this.edgeID=null,this.nodeID=null,this.isUncertainDirectionValid=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.BurstPipelineAnalystParameters"}destroy(){this.sourceNodeIDs=null,this.edgeID=null,this.nodeID=null,this.isUncertainDirectionValid=null}}s.BurstPipelineAnalystParameters=It;class Ot extends st{constructor(e,t){super(e,t),this.format=r.GEOJSON,this.CLASS_NAME="SuperMap.NetworkAnalystServiceBase"}destroy(){super.destroy(),this.format=null}serviceProcessCompleted(e){var t;(e=fe.transformResult(e))&&this.format===r.GEOJSON&&"function"==typeof this.toGeoJSONResult&&(t=this.toGeoJSONResult(e)),t||(t=e),this.events.triggerEvent("processCompleted",{result:t})}toGeoJSONResult(e){return null}}s.NetworkAnalystServiceBase=Ot;class Rt extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.BurstPipelineAnalystService"}destroy(){super.destroy()}processAsync(e){if(!(e instanceof It))return null;var t,i=this,s=i.url.substr(i.url.length-1,1);if(i.url=i.url+("/"===s?"burstAnalyse":"/burstAnalyse")+".json?",t={sourceNodeIDs:e.sourceNodeIDs,isUncertainDirectionValid:e.isUncertainDirectionValid},null!==e.edgeID&&null!==e.nodeID)throw new Error("edgeID and nodeID cannot be null at the same time.");if(null===e.edgeID&&null===e.nodeID)throw new Error("edgeID and nodeID cannot be null at the same time.");null!==e.edgeID?t.edgeID=e.edgeID:t.nodeID=e.nodeID,i.request({method:"GET",params:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}s.BurstPipelineAnalystService=Rt;class Ft extends st{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.ChartFeatureInfoSpecsService"}destroy(){super.destroy(),fe.reset(this)}processAsync(){var e=this,t=e.url.substr(e.url.length-1,1);e.isTempLayers?e.url+=".json?":(e.url+="/"===t?"":"/",e.url+="chartFeatureInfoSpecs.json?"),e.request({method:"GET",params:null,scope:e,success:e.serviceProcessCompleted,failure:e.serviceProcessFailed})}}s.ChartFeatureInfoSpecsService=Ft;class Dt{constructor(e){this.isQueryPoint=null,this.isQueryLine=null,this.isQueryRegion=null,this.attributeFilter=null,this.chartFeatureInfoSpecCode=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.ChartQueryFilterParameter"}destroy(){var e=this;e.isQueryPoint=null,e.isQueryLine=null,e.isQueryRegion=null,e.attributeFilter=null,e.chartFeatureInfoSpecCode=null}toJson(){var e="";return e+='"isQueryPoint":'+this.isQueryPoint+",",e+='"isQueryLine":'+this.isQueryLine+",",e+='"isQueryRegion":'+this.isQueryRegion+",",this.attributeFilter&&(e+='"attributeFilter": "'+this.attributeFilter+'",'),e="{"+(e+='"chartFeatureInfoSpecCode":'+this.chartFeatureInfoSpecCode)+"}"}}s.ChartQueryFilterParameter=Dt;class kt{constructor(e){this.queryMode=null,this.bounds=null,this.chartLayerNames=null,this.chartQueryFilterParameters=null,this.returnContent=!0,this.startRecord=0,this.expectCount=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.ChartQueryParameters"}destroy(){var e=this;e.queryMode=null,e.bounds=null,e.chartLayerNames=null,e.chartQueryFilterParameters=null,e.returnContent=!0,e.startRecord=0,e.expectCount=null}getVariablesJson(){var e="";if(e+='"queryMode":"'+this.queryMode+'",',this.chartLayerNames&&this.chartLayerNames.length){for(var t=[],i=this.chartLayerNames.length,s=0;s0&&(i+=","),i+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(i+=","),i+=t[e];return i+="]"}}s.ComputeWeightMatrixService=Jt;class qt extends st{constructor(e,t){(t=t||{}).EVENT_TYPES=["broadcastSocketConnected","broadcastSocketError","broadcastFailed","broadcastSuccessed","subscribeSocketConnected","subscribeSocketError","messageSuccessed","setFilterParamSuccessed"],super(e,t),this.geometry=null,this.prjCoordSys=null,this.excludeField=null;"/"!==this.url.substr(this.url.length-1,1)&&(this.url+="/"),t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.DataFlowService"}initBroadcast(){var e=this;return this.broadcastWebSocket=this._connect(e.url+"broadcast"),this.broadcastWebSocket.onopen=function(t){e.broadcastWebSocket.isOpen=!0,t.eventType="broadcastSocketConnected",e.events.triggerEvent("broadcastSocketConnected",t)},this.broadcastWebSocket.onclose=function(t){e.broadcastWebSocket.isOpen=!1,t.eventType="broadcastSocketConnected",e.events.triggerEvent("broadcastSocketConnected",t)},this.broadcastWebSocket.onerror=function(t){t.eventType="broadcastSocketError",e.events.triggerEvent("broadcastSocketError",t)},this}broadcast(e){this.broadcastWebSocket&&this.broadcastWebSocket.isOpen?(this.broadcastWebSocket.send(JSON.stringify(e)),this.events.triggerEvent("broadcastSuccessed")):this.events.triggerEvent("broadcastFailed")}initSubscribe(){var e=this;return this.subscribeWebSocket=this._connect(this.url+"subscribe"),this.subscribeWebSocket.onopen=function(t){e.subscribeWebSocket.send(e._getFilterParams()),t.eventType="subscribeSocketConnected",e.events.triggerEvent("subscribeSocketConnected",t)},this.subscribeWebSocket.onerror=function(t){t.eventType="subscribeSocketError",e.events.triggerEvent("subscribeSocketError",t)},this.subscribeWebSocket.onmessage=function(t){e._onMessage(t)},this}setExcludeField(e){return this.excludeField=e,this.subscribeWebSocket.send(this._getFilterParams()),this}setGeometry(e){return this.geometry=e,this.subscribeWebSocket.send(this._getFilterParams()),this}unSubscribe(){this.subscribeWebSocket&&(this.subscribeWebSocket.close(),this.subscribeWebSocket=null)}unBroadcast(){this.broadcastWebSocket&&(this.broadcastWebSocket.close(),this.broadcastWebSocket=null)}destroy(){st.prototype.destroy.apply(this,arguments);this.geometry=null,this.prjCoordSys=null,this.excludeField=null,this.unBroadcast(),this.unSubscribe()}_getFilterParams(){var e={filterParam:{prjCoordSys:this.prjCoordSys,excludeField:this.excludeField,geometry:this.geometry}};return fe.toJSON(e)}_onMessage(e){if(e.data&&e.data.indexOf("filterParam")>0){var t=JSON.parse(e.data);return e.filterParam=t,e.eventType="setFilterParamSuccessed",void this.events.triggerEvent("setFilterParamSuccessed",e)}var i=JSON.parse(e.data);e.featureResult=i,e.eventType="messageSuccessed",this.events.triggerEvent("messageSuccessed",e)}_connect(e){return e=this._appendCredentials(e),"WebSocket"in window?new WebSocket(e):"MozWebSocket"in window?new(0,window.MozWebSocket)(e):(console.log("no WebSocket"),null)}_appendCredentials(e){var t=We.getToken(e);return t&&(e+="?token="+t),e}}s.DataFlowService=qt;class Wt{constructor(e){e=e||{},this.bounds=null,this.dataSourceName=null,this.description=null,this.encodeType=null,this.isReadOnly=null,this.name=null,this.prjCoordSys=null,this.tableName=null,this.type=null,fe.extend(this,e);var t=this.bounds;t&&(this.bounds=new ye(t.leftBottom.x,t.leftBottom.y,t.rightTop.x,t.rightTop.y)),this.CLASS_NAME="SuperMap.DatasetInfo"}destroy(){fe.reset(this)}toServerJSONObject(){var e={};return(e=fe.copyAttributes(e,this)).bounds&&e.bounds.toServerJSONObject&&(e.bounds=e.bounds.toServerJSONObject()),e}}s.DatasetInfo=Wt;class Yt{constructor(e){this.operation=I.UNION,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.OverlayAnalystParameters"}destroy(){this.operation=null}}s.OverlayAnalystParameters=Yt;class Qt extends Yt{constructor(e){super(e),this.operateDataset=null,this.operateDatasetFields=[],this.operateDatasetFilter=new St,this.operateRegions=[],this.sourceDataset=null,this.sourceDatasetFields=[],this.sourceDatasetFilter=new St,this.tolerance=0,this.resultSetting=new mt,fe.extend(this,e),this.CLASS_NAME="SuperMap.DatasetOverlayAnalystParameters"}destroy(){super.destroy();var e=this;if(e.operateDataset=null,e.operateDatasetFields=null,e.operateDatasetFilter&&(e.operateDatasetFilter.destroy(),e.operateDatasetFilter=null),e.operateRegions){for(var t=0,i=e.operateRegions,s=i.length;t0&&(i+=","),i+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(i+=","),i+=t[e];return i+="]"}toGeoJSONResult(e){if(!e||!e.facilityPathList)return e;var t=new De;return e.facilityPathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}s.FindClosestFacilitiesService=Ci;class Ti{constructor(e){this.expectedSupplyCenterCount=null,this.isFromCenter=!1,this.supplyCenters=null,this.turnWeightField=null,this.weightName=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindLocationParameters"}destroy(){var e=this;if(e.expectedSupplyCenterCount=null,e.isFromCenter=null,e.turnWeightField=null,e.weightName=null,e.supplyCenters){for(var t=0,i=e.supplyCenters,s=i.length;t0&&(t+=","),t+=fe.toJSON(e[s]);return t+="]"}toGeoJSONResult(e){if(!e)return null;var t=new De;return e.demandResults&&(e.demandResults=JSON.parse(t.write(e.demandResults))),e.supplyResults&&(e.supplyResults=JSON.parse(t.write(e.supplyResults))),e}}s.FindLocationService=Mi;class wi{constructor(e){this.centers=null,this.hasLeastTotalCost=!1,this.isAnalyzeById=!1,this.nodes=null,this.parameter=new Vt,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindMTSPPathsParameters"}destroy(){var e=this;e.centers=null,e.hasLeastTotalCost=null,e.isAnalyzeById=null,e.nodes=null,e.maxWeight=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}s.FindMTSPPathsParameters=wi;class Ei extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindMTSPPathsService"}destroy(){super.destroy()}processAsync(e){if(e instanceof wi){var t,i=this,s=i.getJson(e.isAnalyzeById,e.centers),r=i.getJson(e.isAnalyzeById,e.nodes);i.url=i.url+"/mtsppath.json?",t={centers:s,nodes:r,parameter:fe.toJSON(e.parameter),hasLeastTotalCost:e.hasLeastTotalCost},i.request({method:"GET",params:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}getJson(e,t){var i="[",s=t?t.length:0;if(!1===e)for(let e=0;e0&&(i+=","),i+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(i+=","),i+=t[e];return i+="]"}toGeoJSONResult(e){if(!e||!e.pathList)return null;var t=new De;return e.pathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}s.FindMTSPPathsService=Ei;class Ai{constructor(e){this.isAnalyzeById=!1,this.hasLeastEdgeCount=null,this.nodes=null,this.parameter=new Vt,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindPathParameters"}destroy(){var e=this;e.isAnalyzeById=null,e.hasLeastEdgeCount=null,e.nodes=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}s.FindPathParameters=Ai;class Pi extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindPathService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Ai){var t,i=this,s=i.url.substr(i.url.length-1,1);i.url=i.url+("/"===s?"path":"/path")+".json?",t={hasLeastEdgeCount:e.hasLeastEdgeCount,parameter:fe.toJSON(e.parameter),nodes:i.getJson(e.isAnalyzeById,e.nodes)},i.request({method:"GET",params:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}getJson(e,t){var i="[",s=t?t.length:0;if(!1===e)for(let e=0;e0&&(i+=","),i+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(i+=","),i+=t[e];return i+="]"}toGeoJSONResult(e){if(!e||!e.pathList||e.pathList.length<1)return null;var t=new De;return e.pathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}s.FindPathService=Pi;class Li{constructor(e){this.isAnalyzeById=!1,this.isCenterMutuallyExclusive=!1,this.centers=null,this.isFromCenter=!1,this.weights=null,this.parameter=new Vt,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindServiceAreasParameters"}destroy(){var e=this;e.isAnalyzeById=null,e.isCenterMutuallyExclusive=null,e.centers=null,e.isFromCenter=null,e.weights=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}s.FindServiceAreasParameters=Li;class Ni extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindServiceAreasService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Li){var t,i=this,s=i.url.substr(i.url.length-1,1);i.url=i.url+("/"===s?"servicearea":"/servicearea")+".json?",t={isFromCenter:e.isFromCenter,isCenterMutuallyExclusive:e.isCenterMutuallyExclusive,parameter:fe.toJSON(e.parameter),centers:i.getJson(e.isAnalyzeById,e.centers),weights:i.getJson(!0,e.weights)},i.request({method:"GET",params:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}getJson(e,t){var i="[",s=t?t.length:0;if(!1===e)for(let e=0;e0&&(i+=","),i+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(i+=","),i+=t[e];return i+="]"}toGeoJSONResult(e){if(!e||!e.serviceAreaList)return e;var t=new De;return e.serviceAreaList.map(function(e){return e.serviceRegion&&(e.serviceRegion=JSON.parse(t.write(e.serviceRegion))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e.routes&&(e.routes=JSON.parse(t.write(e.routes))),e}),e}}s.FindServiceAreasService=Ni;class Ii{constructor(e){this.endNodeAssigned=!1,this.isAnalyzeById=!1,this.nodes=null,this.parameter=new Vt,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindTSPPathsParameters"}destroy(){var e=this;e.endNodeAssigned=null,e.isAnalyzeById=null,e.nodes=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}s.FindTSPPathsParameters=Ii;class Oi extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindTSPPathsService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Ii){var t,i=this,r=i.url.substr(i.url.length-1,1);i.url=i.url+("/"===r?"tsppath":"/tsppath")+".json?",t={parameter:s.Util.toJSON(e.parameter),endNodeAssigned:e.endNodeAssigned,nodes:i.getNodesJson(e)},i.request({method:"GET",params:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}getNodesJson(e){var t,i,s,r,n="";if(!1===e.isAnalyzeById){for(t="[",i=0,s=(r=e.nodes).length;i0&&(t+=","),t+='{"x":'+r[i].x+',"y":'+r[i].y+"}";n+=t+="]"}else if(1==e.isAnalyzeById){let t="[",i=e.nodes,s=i.length;for(let e=0;e0&&(t+=","),t+=i[e];n+=t+="]"}return n}toGeoJSONResult(e){if(!e||!e.tspPathList)return null;var t=new De;return e.tspPathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}s.FindTSPPathsService=Oi;class Ri{constructor(e){this.routeTable=null,this.routeIDField=null,this.attributeFilter=null,this.eventTable=null,this.eventRouteIDField=null,this.measureField=null,this.measureStartField=null,this.measureEndField=null,this.measureOffsetField=null,this.errorInfoField=null,this.retainedFields=null,this.dataReturnOption=null,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.GenerateSpatialDataParameters"}destroy(){var e=this;e.routeTable&&(e.routeTable=null),e.routeIDField=null,e.attributeFilter=null,e.eventTable=null,e.eventRouteIDField=null,e.measureField=null,e.measureStartField=null,e.measureEndField=null,e.measureOffsetField=null,e.errorInfoField=null,e.dataReturnOption&&(e.dataReturnOption.destroy(),e.dataReturnOption=null)}}s.GenerateSpatialDataParameters=Ri;class Fi extends ut{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GenerateSpatialDataService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Ri){var t,i=this;t=i.getJsonParameters(e),i.request({method:"POST",data:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}getJsonParameters(e){var t,i="datasets/"+e.routeTable+"/linearreferencing/generatespatialdata";return t=this.url.substr(this.url.length-1,1),this.url+="/"===t?i+".json":"/"+i+".json",this.url+="?returnContent=true",fe.toJSON(e)}}s.GenerateSpatialDataService=Fi;class Di extends ot{constructor(e){super(e),this.bounds=null,this.queryType=ne.GEO_BOUNDING_BOX,this.CLASS_NAME="SuperMap.GeoBoundingBoxQueryBuilderParameter",fe.extend(this,e)}destroy(){super.destroy(),this.bounds=null,this.queryType=null}}s.GeoBoundingBoxQueryBuilderParameter=Di;class ki extends lt{constructor(e){super(e),this.precision=5,this.aggType=re.GEOHASH_GRID,fe.extend(this,e),this.CLASS_NAME="SuperMap.GeoHashGridAggParameter"}destroy(){super.destroy(),this.aggType=null}static toJsonParameters(e){var t={aggName:e.aggName,aggFieldName:e.aggFieldName,aggType:e.aggType,precision:e.precision};return e.subAgg&&(t.subAgg=e.subAgg),fe.toJson(t)}}s.GeoHashGridAggParameter=ki;class Bi extends Yt{constructor(e){super(e),e&&e.operateGeometry&&(this.operateGeometry=e.operateGeometry),e&&e.sourceGeometry&&(this.sourceGeometry=e.sourceGeometry),e&&e.operateGeometries&&(this.operateGeometries=e.operateGeometries),e&&e.sourceGeometries&&(this.sourceGeometries=e.sourceGeometries),e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.GeometryOverlayAnalystParameters"}destroy(){super.destroy();var e=this;e.sourceGeometry&&(e.sourceGeometry.destroy(),e.sourceGeometry=null),e.sourceGeometries&&(e.sourceGeometries.destroy(),e.sourceGeometries=null),e.sourceGeometry&&(e.sourceGeometry.destroy(),e.sourceGeometry=null),e.operateGeometries&&(e.operateGeometries.destroy(),e.operateGeometries=null)}static toObject(e,t){for(var i in e)if("sourceGeometry"===i)t.sourceGeometry=Mt.fromGeometry(e.sourceGeometry);else if("sourceGeometries"===i){for(var s=[],r=0;r=0;e--)this.points[e].destroy();this.points=null}}static toObject(e,t){for(var i in e)"clipRegion"===i?t.clipRegion=Mt.fromGeometry(e.clipRegion):t[i]=e[i]}}s.GeometryThiessenAnalystParameters=Ui;class ji{constructor(e){this.dataset=null,this.sourceFilter=null,this.referenceFilter=null,this.spatialRelationType=null,this.isBorderInside=null,this.returnFeature=null,this.returnGeoRelatedOnly=null,this.startRecord=0,this.expectCount=500,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.GeoRelationAnalystParameters"}destroy(){var e=this;e.sourceFilter&&e.sourceFilter.destroy(),e.sourceFilter=null,e.referenceFilter&&e.referenceFilter.destroy(),e.referenceFilter=null,e.dataset=null,e.spatialRelationType=null,e.isBorderInside=null,e.returnFeature=null,e.returnGeoRelatedOnly=null,e.startRecord=null,e.expectCount=null}}s.GeoRelationAnalystParameters=ji;class zi extends ut{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GeoRelationAnalystService"}destroy(){super.destroy()}processAsync(e){if(e instanceof ji){var t=this,i=t.url.substr(t.url.length-1,1);t.url+="/"===i?"datasets/"+e.dataset+"/georelation":"/datasets/"+e.dataset+"/georelation";var r=s.Util.toJSON(e);t.url+=".json?returnContent=true",t.request({method:"POST",data:r,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}}s.GeoRelationAnalystService=zi;class Vi{constructor(e){this.datasetNames=null,this.returnContent=!0,this.fromIndex=0,this.toIndex=19,this.returnCountOnly=!1,this.maxFeatures=null,this.aggregations=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesParametersBase"}destroy(){var e=this;e.datasetNames=null,e.returnContent=null,e.fromIndex=null,e.toIndex=null,e.maxFeatures=null,e.aggregation&&(e.aggregation=null)}}s.GetFeaturesParametersBase=Vi;class Hi extends Vi{constructor(e){super(e),this.getFeatureMode=Hi.getFeatureMode.BOUNDS,this.bounds=null,this.fields=null,this.attributeFilter=null,this.spatialQueryMode=h.CONTAIN,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByBoundsParameters"}destroy(){super.destroy();var e=this;if(e.bounds&&(e.bounds.destroy(),e.bounds=null),e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}static toJsonParameters(e){var t,i,s;return i={leftBottom:{x:e.bounds.left,y:e.bounds.bottom},rightTop:{x:e.bounds.right,y:e.bounds.top}},s={datasetNames:e.datasetNames,getFeatureMode:Hi.getFeatureMode.BOUNDS,bounds:i,spatialQueryMode:e.spatialQueryMode},e.fields&&((t=new St).name=e.datasetNames,t.fields=e.fields,s.queryParameter=t),e.attributeFilter&&(s.attributeFilter=e.attributeFilter,s.getFeatureMode=Hi.getFeatureMode.BOUNDS_ATTRIBUTEFILTER),e.maxFeatures&&!isNaN(e.maxFeatures)&&(s.maxFeatures=e.maxFeatures),fe.toJSON(s)}}Hi.getFeatureMode={BOUNDS:"BOUNDS",BOUNDS_ATTRIBUTEFILTER:"BOUNDS_ATTRIBUTEFILTER"},s.GetFeaturesByBoundsParameters=Hi;class Ji extends st{constructor(e,t){super(e,t),t=t||{},this.returnContent=!0,this.fromIndex=0,this.toIndex=19,this.maxFeatures=null,this.format=r.GEOJSON,t&&fe.extend(this,t);var i;t&&t.format&&(this.format=t.format.toUpperCase()),i=this.url.substr(this.url.length-1,1),this.url+="/"==i?"featureResults.json?":"/featureResults.json?",this.CLASS_NAME="SuperMap.GetFeaturesServiceBase"}destroy(){super.destroy();var e=this;e.returnContent=null,e.fromIndex=null,e.toIndex=null,e.maxFeatures=null,e.format=null}processAsync(e){if(e){var t,i=this,s=!0;i.returnContent=e.returnContent,i.fromIndex=e.fromIndex,i.toIndex=e.toIndex,i.maxFeatures=e.maxFeatures,i.returnContent&&(i.url+="returnContent="+i.returnContent,s=!1),null!=i.fromIndex&&null!=i.toIndex&&!isNaN(i.fromIndex)&&!isNaN(i.toIndex)&&i.fromIndex>=0&&i.toIndex>=0&&!s&&(i.url+="&fromIndex="+i.fromIndex+"&toIndex="+i.toIndex),e.returnCountOnly&&(i.url+="&returnCountOnly="+e.returnContent),t=i.getJsonParameters(e),i.request({method:"POST",data:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}serviceProcessCompleted(e){if(e=fe.transformResult(e),this.format===r.GEOJSON&&e.features){var t=new De;e.features=JSON.parse(t.write(e.features))}this.events.triggerEvent("processCompleted",{result:e})}}s.GetFeaturesServiceBase=Ji;class qi extends Ji{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByBoundsService"}destroy(){super.destroy()}getJsonParameters(e){return Hi.toJsonParameters(e)}}s.GetFeaturesByBoundsService=qi;class Wi extends Vi{constructor(e){super(e),this.bufferDistance=null,this.attributeFilter=null,this.geometry=null,this.fields=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByBufferParameters"}destroy(){super.destroy();var e=this;if(e.bufferDistance=null,e.attributeFilter=null,e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}e.geometry&&(e.geometry.destroy(),e.geometry=null)}static toJsonParameters(e){var t,i,s;return s=Mt.fromGeometry(e.geometry),i={datasetNames:e.datasetNames,getFeatureMode:"BUFFER",bufferDistance:e.bufferDistance,geometry:s},e.fields&&((t=new St).name=e.datasetNames,t.fields=e.fields,i.queryParameter=t),e.attributeFilter&&(i.attributeFilter=e.attributeFilter,i.getFeatureMode="BUFFER_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(i.maxFeatures=e.maxFeatures),fe.toJSON(i)}}s.GetFeaturesByBufferParameters=Wi;class Yi extends Ji{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByBufferService"}destroy(){super.destroy()}getJsonParameters(e){if(e instanceof Wi)return s.GetFeaturesByBufferParameters.toJsonParameters(e)}}s.GetFeaturesByBufferService=Yi;class Qi extends Vi{constructor(e){super(e),this.getFeatureMode="SPATIAL",this.geometry=null,this.fields=null,this.attributeFilter=null,this.spatialQueryMode=h.CONTAIN,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByGeometryParameters"}destroy(){super.destroy();var e=this;if(e.geometry&&(e.geometry.destroy(),e.geometry=null),e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}static toJsonParameters(e){var t,i,s;return i=Mt.fromGeometry(e.geometry),s={datasetNames:e.datasetNames,getFeatureMode:"SPATIAL",geometry:i,spatialQueryMode:e.spatialQueryMode},e.fields&&((t=new St).name=e.datasetNames,t.fields=e.fields,s.queryParameter=t),e.attributeFilter&&(s.attributeFilter=e.attributeFilter,s.getFeatureMode="SPATIAL_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(s.maxFeatures=e.maxFeatures),fe.toJSON(s)}}s.GetFeaturesByGeometryParameters=Qi;class Xi extends Ji{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByGeometryService"}destroy(){super.destroy()}getJsonParameters(e){return Qi.toJsonParameters(e)}}s.GetFeaturesByGeometryService=Xi;class Ki extends Vi{constructor(e){super(e),this.getFeatureMode="ID",this.IDs=null,this.fields=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByIDsParameters"}destroy(){super.destroy();var e=this;if(e.IDs=null,e.getFeatureMode=null,e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}}static toJsonParameters(e){var t,i;return t={datasetNames:e.datasetNames,getFeatureMode:"ID",ids:e.IDs},e.fields&&((i=new St).name=e.datasetNames,i.fields=e.fields,t.queryParameter=i),fe.toJSON(t)}}s.GetFeaturesByIDsParameters=Ki;class Zi extends Ji{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByIDsService"}destroy(){super.destroy()}getJsonParameters(e){return Ki.toJsonParameters(e)}}s.GetFeaturesByIDsService=Zi;class $i extends Vi{constructor(e){super(e),this.getFeatureMode="SQL",this.queryParameter=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesBySQLParameters"}destroy(){super.destroy();this.getFeatureMode=null,this.queryParameter&&(this.queryParameter.destroy(),this.queryParameter=null)}static toJsonParameters(e){var t={datasetNames:e.datasetNames,getFeatureMode:"SQL",queryParameter:e.queryParameter};return e.maxFeatures&&!isNaN(e.maxFeatures)&&(t.maxFeatures=e.maxFeatures),e.aggregations&&(t.aggregations=e.aggregations),fe.toJSON(t)}}s.GetFeaturesBySQLParameters=$i;class es extends Ji{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesBySQLService"}destroy(){super.destroy()}getJsonParameters(e){return $i.toJsonParameters(e)}}s.GetFeaturesBySQLService=es;class ts extends st{constructor(e,t){super(e,t),this.datasource=null,this.dataset=null,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.GetFieldsService"}destroy(){super.destroy();this.datasource=null,this.dataset=null}processAsync(){var e=this,t=e.url.substr(e.url.length-1,1),i="datasources/"+e.datasource+"/datasets/"+e.dataset;e.url+="/"==t?i+"/fields.json?":"/"+i+"/fields.json?",e.request({method:"GET",data:null,scope:e,success:e.serviceProcessCompleted,failure:e.serviceProcessFailed})}}s.GetFieldsService=ts;class is{constructor(e){this.datasetName=null,this.dataSourceName=null,this.X=null,this.Y=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetGridCellInfosParameters"}destroy(){this.datasetName=null,this.dataSourceName=null,this.X=null,this.Y=null}}s.GetGridCellInfosParameters=is;class ss extends st{constructor(e,t){super(e,t),this.datasetName=null,this.dataSourceName=null,this.datasetType=null,this.X=null,this.Y=null,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.GetGridCellInfosService"}destroy(){super.destroy();var e=this;e.X=null,e.Y=null,e.datasetName=null,e.dataSourceName=null,e.datasetType=null}processAsync(e){if(e instanceof is){fe.extend(this,e);var t=this,i=t.url.substr(t.url.length-1,1);t.url+="/"==i?"datasources/"+t.dataSourceName+"/datasets/"+t.datasetName+".json":"/datasources/"+t.dataSourceName+"/datasets/"+t.datasetName+".json",t.queryRequest(t.getDatasetInfoCompleted,t.getDatasetInfoFailed)}}queryRequest(e,t){this.request({method:"GET",data:null,scope:this,success:e,failure:t})}getDatasetInfoCompleted(e){e=fe.transformResult(e),this.datasetType=e.datasetInfo.type,this.queryGridInfos()}queryGridInfos(){var e=this,t=/\.json/.exec(e.url).index,i=e.url.substring(t),s=e.url.substring(0,e.url.length-i.length);"GRID"==e.datasetType?e.url=s+"/gridValue"+i:e.url=s+"/imageValue"+i,null!=e.X&&null!=e.Y&&(e.url+="?x="+e.X+"&y="+e.Y),e.queryRequest(e.serviceProcessCompleted,e.serviceProcessFailed)}getDatasetInfoFailed(e){this.serviceProcessFailed(e)}}s.GetGridCellInfosService=ss;class rs{constructor(e,t){this.srcData=e,this.targetData=t,this.CLASS_NAME="SuperMap.ThemeMemoryData"}destroy(){this.srcData=null,this.targetData=null}toJSON(){if(this.srcData&&this.targetData){for(var e="",t=Math.min(this.srcData.length,this.targetData.length),i=0;i0&&(e=e.substring(0,e.length-1)),"{"+e+"}"}return null}}s.ThemeMemoryData=rs;class ns{constructor(e,t){if(!e)return this;this.memoryData=null,this.type=e,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.Theme"}destroy(){this.memoryData&&(this.memoryData.destroy(),this.memoryData=null),this.type=null}toServerJSONObject(){}}s.Theme=ns;class as{constructor(e){this.align=_.BASELINECENTER,this.backColor=new xt(255,255,255),this.foreColor=new xt(0,0,0),this.backOpaque=!1,this.sizeFixed=!0,this.fontHeight=6,this.fontWidth=0,this.fontWeight=400,this.fontName="Times New Roman",this.bold=!1,this.italic=!1,this.italicAngle=0,this.shadow=!1,this.strikeout=!1,this.outline=!1,this.opaqueRate=0,this.underline=!1,this.rotation=0,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ServerTextStyle"}destroy(){var e=this;e.align=null,e.backColor&&(e.backColor.destroy(),e.backColor=null),e.foreColor&&(e.foreColor.destroy(),e.foreColor=null),e.backOpaque=null,e.sizeFixed=null,e.fontHeight=null,e.fontWidth=null,e.fontWeight=null,e.fontName=null,e.bold=null,e.italic=null,e.italicAngle=null,e.shadow=null,e.strikeout=null,e.outline=null,e.opaqueRate=null,e.underline=null,e.rotation=null}static fromObj(e){var t=new as(e);return fe.copy(t,e),t.backColor=xt.fromJson(e.backColor),t.foreColor=xt.fromJson(e.foreColor),t}}s.ServerTextStyle=as;class os{constructor(e){this.caption=null,this.end=0,this.start=0,this.visible=!0,this.style=new as,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeLabelItem"}destroy(){var e=this;e.caption=null,e.end=null,e.start=null,e.style&&(e.style.destroy(),e.style=null),e.visible=null}static fromObj(e){if(e){var t=new os;return fe.copy(t,e),t}}}s.ThemeLabelItem=os;class ls{constructor(e){this.caption=null,this.style=new _t,this.unique=null,this.visible=!0,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeUniqueItem"}destroy(){var e=this;e.caption=null,e.unique=null,e.style&&(e.style.destroy(),e.style=null),e.visible=null}toServerJSONObject(){var e={};return(e=fe.copyAttributes(e,this)).style&&e.style.toServerJSONObject&&(e.style=e.style.toServerJSONObject()),e}static fromObj(e){var t=new ls;return fe.copy(t,e),t.style=_t.fromJson(e.style),t}}s.ThemeUniqueItem=ls;class hs{constructor(e){this.flowEnabled=!1,this.leaderLineDisplayed=!1,this.leaderLineStyle=new _t,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeFlow"}destroy(){var e=this;e.flowEnabled=null,e.leaderLineDisplayed=null,e.leaderLineStyle&&(e.leaderLineStyle.destroy(),e.leaderLineStyle=null)}static fromObj(e){if(e){var t=new hs;return fe.copy(t,e),t.leaderLineStyle=_t.fromJson(e.leaderLineStyle),t}}}s.ThemeFlow=hs;class us{constructor(e){this.offsetFixed=!1,this.offsetX="0.0",this.offsetY="0.0",e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeOffset"}destroy(){this.offsetFixed=null,this.offsetX=null,this.offsetY=null}static fromObj(e){if(e){var t=new us;return fe.copy(t,e),t}}}s.ThemeOffset=us;class cs{constructor(e){this.defaultStyle=null,this.separator=null,this.separatorEnabled=!1,this.splitIndexes=null,this.styles=new as,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.LabelMixedTextStyle"}destroy(){var e=this;if(e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null),e.separator=null,e.separatorEnabled=null,e.splitIndexes&&(e.splitIndexes=null),e.styles){for(var t=0,i=e.styles,s=i.length;t0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null)}toServerJSONObject(){var e={};if((e=fe.copyAttributes(e,this)).defaultStyle&&e.defaultStyle.toServerJSONObject&&(e.defaultStyle=e.defaultStyle.toServerJSONObject()),e.items){for(var t=[],i=e.items.length,s=0;s0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.rangeExpression=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}static fromObj(e){if(e){var t=new ws;fe.copy(t,e);var i=e.items,s=i?i.length:0;t.items=[];for(var r=0;r0?e[0].subLayers.layers:null)?t.length:0,this.handleLayers(i,t),this.events.triggerEvent("processCompleted",{result:e[0]})}handleLayers(e,t){var i;if(e)for(var s=0;s0)this.handleLayers(t[s].subLayers.layers.length,t[s].subLayers.layers);else switch(t[s].ugcLayerType){case"THEME":(i=new Ns).fromJson(t[s]),t[s]=i;break;case"GRID":(i=new Is).fromJson(t[s]),t[s]=i;break;case"IMAGE":(i=new Os).fromJson(t[s]),t[s]=i;break;case"VECTOR":(i=new Rs).fromJson(t[s]),t[s]=i}}}}s.GetLayersInfoService=Fs;class Ds{constructor(e){e&&(this.bounds=null,this.searchRadius=0,this.zValueFieldName=null,this.zValueScale=1,this.resolution=null,this.filterQueryParameter=null,this.outputDatasetName=null,this.outputDatasourceName=null,this.pixelFormat=J.BIT16,this.dataset=null,this.inputPoints=null,this.InterpolationAnalystType="dataset",this.clipParam=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.InterpolationAnalystParameters")}destroy(){var e=this;e.bounds=null,e.searchRadius=null,e.zValueFieldName=null,e.zValueScale=null,e.resolution=null,e.filterQueryParameter=null,e.outputDatasetName=null,e.pixelFormat=null}static toObject(e,t){for(var i in e)if("inputPoints"===i&&"geometry"===e.InterpolationAnalystType){for(var s=[],r=0;r=200&&e.code<300||0==e.code||304===e.code,i=e.code&&t;!e.code||i?this.events&&this.events.triggerEvent("processCompleted",{result:e}):this.events.triggerEvent("processFailed",{error:e})}}s.MapService=Qs;class Xs{constructor(e){e&&(this.dataset=null,this.extractRegion=null,this.expression=null,this.isZip=!1,this.ignoreNoValue=!1,this.targetDatasource=null,this.resultGridName=null,this.deleteExistResultDataset=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.MathExpressionAnalysisParameters")}destroy(){var e=this;e.dataset=null,e.bounds=null,e.expression=null,e.isZip=!0,e.ignoreNoValue=!0,e.targetDatasource=null,e.resultGridName=null,e.deleteExistResultDataset=null}static toObject(e,t){for(var i in e)if("dataset"!==i&&(t[i]=e[i]),"extractRegion"===i&&e[i]){for(var s=e[i].components[0].components,r={},n=[],a=s.length,o=0;o0&&(s+='"subLayers":'+e.toJSON()),s+=',"visible":true,',s+='"name":"'+this.getMapName(this.mapUrl)+'"',s+="}]",t.request({method:"PUT",data:s,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}}createTempLayerComplete(e){(e=fe.transformResult(e)).succeed&&(this.lastparams.resourceID=e.newResourceID),this.processAsync(this.lastparams)}getMapName(e){var t=e;"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1));var i=t.lastIndexOf("/");return t.substring(i+1,t.length)}serviceProcessCompleted(e){null!=(e=fe.transformResult(e))&&null!=this.lastparams&&(e.newResourceID=this.lastparams.resourceID),this.events.triggerEvent("processCompleted",{result:e})}}s.SetLayerStatusService=_r;class Cr{constructor(e){e&&(this.datasetName="",this.datasetQuery="",this.geometryQuery="",this.mode=h.CONTAIN,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.SingleObjectQueryJobsParameter")}destroy(){this.datasetName=null,this.datasetQuery=null,this.geometryQuery=null,this.mode=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"output"!==i?(t.analyst=t.analyst||{},t.analyst[i]=e[i]):(t.output=t.output||{},t.output=e[i]):(t.input=t.input||{},t.input[i]=e[i])}}s.SingleObjectQueryJobsParameter=Cr;class Tr extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/query",this.CLASS_NAME="SuperMap.SingleObjectQueryJobsService"}destroy(){super.destroy()}getQueryJobs(){super.getJobs(this.url)}getQueryJob(e){super.getJobs(this.url+"/"+e)}addQueryJob(e,t){super.addJob(this.url,e,Cr,t)}}s.SingleObjectQueryJobsService=Tr;class Mr{constructor(e){e=e||{},this.keyWord=null,this.returnPosition=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.StopQueryParameters"}destroy(){fe.reset(this)}}s.StopQueryParameters=Mr;class wr extends st{constructor(e,t){super(e,t),t=t||{},fe.extend(this,t),this.CLASS_NAME="SuperMap.StopQueryService"}destroy(){super.destroy(),fe.reset(this)}processAsync(e){if(e instanceof Mr){var t,i=this;t=i.url.substr(i.url.length-1,1),i.url+="/"===t?"":"/",i.url+="stops/keyword/"+e.keyWord,i.url+=".json?",i.request({method:"GET",params:{returnPosition:e.returnPosition},scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}}s.StopQueryService=wr;class Er{constructor(e){e&&(this.datasetName="",this.groupField="",this.attributeField="",this.statisticModes="",this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.SummaryAttributesJobsParameter")}destroy(){this.datasetName=null,this.groupField=null,this.attributeField=null,this.statisticModes=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"output"!==i?(t.analyst=t.analyst||{},t.analyst[i]=e[i]):(t.output=t.output||{},t.output=e[i]):(t.input=t.input||{},t.input[i]=e[i])}}s.SummaryAttributesJobsParameter=Er;class Ar extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/summaryattributes",this.CLASS_NAME="SuperMap.SummaryAttributesJobsService"}destroy(){super.destroy()}getSummaryAttributesJobs(){super.getJobs(this.url)}getSummaryAttributesJob(e){super.getJobs(this.url+"/"+e)}addSummaryAttributesJob(e,t){super.addJob(this.url,e,Er,t)}}s.SummaryAttributesJobsService=Ar;class Pr{constructor(e){e&&(this.datasetName="",this.regionDataset="",this.query="",this.resolution=100,this.meshType=0,this.statisticModes=te.AVERAGE,this.fields="",this.type=ie.SUMMARYMESH,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.SummaryMeshJobParameter")}destroy(){this.datasetName=null,this.query=null,this.resolution=null,this.statisticModes=null,this.meshType=null,this.fields=null,this.regionDataset=null,this.type=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"type"!==i?"output"!==i?("SUMMARYMESH"===e.type&&"regionDataset"!==i||"SUMMARYREGION"===e.type&&!s(["meshType","resolution","query"],i))&&(t.analyst=t.analyst||{},t.analyst[i]="query"===i?e[i].toBBOX():e[i]):(t.output=t.output||{},t.output=e[i]):t.type=e[i]:(t.input=t.input||{},t.input[i]=e[i]);function s(e,t){for(var i=e.length;i--;)if(e[i]===t)return!0;return!1}}}s.SummaryMeshJobParameter=Pr;class Lr extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/aggregatepoints",this.CLASS_NAME="SuperMap.SummaryMeshJobsService"}destroy(){super.destroy()}getSummaryMeshJobs(){super.getJobs(this.url)}getSummaryMeshJob(e){super.getJobs(this.url+"/"+e)}addSummaryMeshJob(e,t){super.addJob(this.url,e,Pr,t)}}s.SummaryMeshJobsService=Lr;class Nr{constructor(e){e&&(this.datasetName="",this.regionDataset="",this.sumShape=!0,this.query="",this.standardSummaryFields=!1,this.standardFields="",this.standardStatisticModes="",this.weightedSummaryFields=!1,this.weightedFields="",this.weightedStatisticModes="",this.meshType=0,this.resolution=100,this.meshSizeUnit=ee.METER,this.type=ie.SUMMARYMESH,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.SummaryRegionJobParameter")}destroy(){this.datasetName=null,this.sumShape=null,this.regionDataset=null,this.query=null,this.standardSummaryFields=null,this.standardFields=null,this.standardStatisticModes=null,this.weightedSummaryFields=null,this.weightedFields=null,this.weightedStatisticModes=null,this.meshType=null,this.resolution=null,this.meshSizeUnit=null,this.type=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"type"!==i&&"type"!==i?"output"!==i?("SUMMARYREGION"===e.type||"SUMMARYMESH"===e.type&&"regionDataset"!==i)&&(t.analyst=t.analyst||{},t.analyst[i]="query"===i?e[i].toBBOX():e[i]):(t.output=t.output||{},t.output=e[i]):t.type=e[i]:(t.input=t.input||{},t.input[i]=e[i])}}s.SummaryRegionJobParameter=Nr;class Ir extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/summaryregion",this.CLASS_NAME="SuperMap.SummaryRegionJobsService"}destroy(){super.destroy()}getSummaryRegionJobs(){super.getJobs(this.url)}getSummaryRegionJob(e){super.getJobs(this.url+"/"+e)}addSummaryRegionJob(e,t){super.addJob(this.url,e,Nr,t)}}s.SummaryRegionJobsService=Ir;class Or{constructor(e){this.maxWeight=null,this.nodeID=null,this.resourceValue=null,this.type=null,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.SupplyCenter"}destroy(){this.maxWeight=null,this.nodeID=null,this.resourceValue=null,this.type=null}static fromJson(e){if(e)return new Or({maxWeight:e.maxWeight,nodeID:e.nodeID,resourceValue:e.resourceValue,type:e.type})}}s.SupplyCenter=Or;class Rr extends ut{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.SurfaceAnalystService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Kt){var t,i=this;t=i.getJsonParameters(e),i.request({method:"POST",data:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}getJsonParameters(e){var t,i="",s={},r=this;if(e instanceof Zt)t=r.url.substr(r.url.length-1,1),r.url+="/"===t?"datasets/"+e.dataset+"/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true":"/datasets/"+e.dataset+"/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true",Zt.toObject(e,s),i=fe.toJSON(s);else{if(!(e instanceof Gi))return;t=r.url.substr(r.url.length-1,1),r.url+="/"===t?"geometry/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true":"/geometry/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true",i=fe.toJSON(e)}return i}}s.SurfaceAnalystService=Rr;class Fr{constructor(e){e&&(this.dataset=null,this.zFactor=1,this.averageCurvatureName=null,this.profileCurvatureName="",this.planCurvatureName="",this.deleteExistResultDataset=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.TerrainCurvatureCalculationParameters")}destroy(){var e=this;e.dataset=null,e.zFactor=1,e.averageCurvatureName=null,e.profileCurvatureName=null,e.planCurvatureName=null,e.deleteExistResultDataset=!0}static toObject(e,t){for(var i in e)"dataset"!==i&&(t[i]=e[i])}}s.TerrainCurvatureCalculationParameters=Fr;class Dr extends ut{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TerrainCurvatureCalculationService"}destroy(){super.destroy()}processAsync(e){var t=this;"/"!==t.url.substr(t.url.length-1,1)&&(t.url+="/");var i={};e instanceof Fr&&(t.url+="datasets/"+e.dataset+"/terraincalculation/curvature"),Fr.toObject(e,i);var r=s.Util.toJSON(i);t.url+=".json?returnContent=true",t.request({method:"POST",data:r,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}s.TerrainCurvatureCalculationService=Dr;class kr{constructor(e){this.caption=null,this.color=new xt,this.end=0,this.start=0,this.visible=!0,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGridRangeItem"}destroy(){var e=this;e.caption=null,e.end=null,e.start=null,e.color&&(e.color.destroy(),e.color=null),e.visible=null}toServerJSONObject(){var e={};return(e=fe.copyAttributes(e,this)).color&&e.color.toServerJSONObject&&(e.color=e.color.toServerJSONObject()),e}static fromObj(e){if(e){var t=new kr;return fe.copy(t,e),t.color=xt.fromJson(e.color),t}}}s.ThemeGridRangeItem=kr;class Br extends ns{constructor(e){super("GRIDRANGE",e),this.items=null,this.rangeMode=S.EQUALINTERVAL,this.rangeParameter=0,this.colorGradientType=x.YELLOW_RED,this.reverseColor=!1,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGridRange"}destroy(){super.destroy();var e=this;if(e.items){if(e.items.length>0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.reverseColor=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}static fromObj(e){if(e){var t=new Br;fe.copy(t,e);var i=e.items,s=i?i.length:0;t.items=[];for(var r=0;r0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.defaultcolor&&(e.defaultcolor.destroy(),e.defaultcolor=null)}toServerJSONObject(){var e={};if((e=fe.copyAttributes(e,this)).defaultcolor&&e.defaultcolor.toServerJSONObject&&(e.defaultcolor=e.defaultcolor.toServerJSONObject()),e.items){for(var t=[],i=e.items.length,s=0;s0&&(1===r.length?i+="'displayFilter':\""+r[0]+'",':i+="'displayFilter':\""+r[a]+'",'),(n=e.displayOrderBy)&&n.length>0&&(1===n.length?i+="'displayOrderBy':'"+n[0]+"',":i+="'displayOrderBy':'"+n[a]+"',"),(t=e.fieldValuesDisplayFilter)&&(i+="'fieldValuesDisplayFilter':"+fe.toJSON(t)+","),e.joinItems&&e.joinItems.length>0&&e.joinItems[a]&&(i+="'joinItems':["+fe.toJSON(e.joinItems[a])+"],"),e.datasetNames&&e.dataSourceNames){var l=e.datasetNames[a]?a:e.datasetNames.length-1,h=e.dataSourceNames[a]?a:e.dataSourceNames.length-1;i+="'datasetInfo': {'name': '"+e.datasetNames[l]+"','dataSourceName': '"+e.dataSourceNames[h]+"'}},"}else i+="},"}e.themes&&e.themes.length>0&&(i=i.substring(0,i.length-1)),i+="]},";var u=this.url.split("/");return i+="'name': '"+u[u.length-2]+"'}]"}}s.ThemeService=Vr;class Hr extends ut{constructor(e,t){super(e,t),this.mode=null,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.ThiessenAnalystService"}destroy(){super.destroy(),this.mode=null}processAsync(e){var t={},i=this;"/"!==i.url.substr(i.url.length-1,1)&&(i.url+="/"),e instanceof ei?(i.mode="datasets",i.url+="datasets/"+e.dataset+"/thiessenpolygon",ei.toObject(e,t)):e instanceof Ui&&(i.mode="geometry",i.url+="geometry/thiessenpolygon",Ui.toObject(e,t));var s=fe.toJSON(t);i.url+=".json?returnContent=true",i.request({method:"POST",data:s,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}s.ThiessenAnalystService=Hr;class Jr extends ut{constructor(e,t){super(e,t),t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.GeometryBatchAnalystService"}processAsync(e){var t=this;"/"!==t.url.substr(t.url.length-1,1)&&(t.url+="/"),t.url+="geometry/batchanalyst.json?returnContent=true&ignoreAnalystParam=true";var i=t._processParams(e),s=fe.toJSON(i);t.request({method:"POST",data:s,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}_processParams(e){var t=this;if(fe.isArray(e)){var i=[];return e.map(function(e){return i.push(t._toJSON(e)),e}),i}}_toJSON(e){var t={};if("buffer"===e.analystName)t.analystName="buffer",t.param={},wt.toObject(e.param,t.param);else if("overlay"===e.analystName)t.analystName="overlay",t.param={},Bi.toObject(e.param,t.param);else if("interpolationDensity"===e.analystName)t.analystName="interpolationDensity",t.param={},Ds.toObject(e.param,t.param);else if("interpolationidw"===e.analystName)t.analystName="interpolationidw",t.param={},Ds.toObject(e.param,t.param);else if("interpolationRBF"===e.analystName)t.analystName="interpolationRBF",t.param={},Ds.toObject(e.param,t.param);else if("interpolationKriging"===e.analystName)t.analystName="interpolationKriging",t.param={},Ds.toObject(e.param,t.param);else{if("thiessenpolygon"!==e.analystName)return e;t.analystName="thiessenpolygon",t.param={},Ui.toObject(e.param,t.param)}return t}destroy(){super.destroy()}}s.GeometryBatchAnalystService=Jr;class qr extends st{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TilesetsService"}destroy(){super.destroy()}processAsync(){if(this.url){var e=this,t=e.url.substr(e.url.length-1,1);e.url=e.url+("/"===t?"tilesets":"/tilesets")+".json?",e.request({method:"GET",scope:e,success:e.serviceProcessCompleted,failure:e.serviceProcessFailed})}}}s.TilesetsService=qr;class Wr{constructor(e){e&&(this.datasetName="",this.datasetTopology="",this.tolerance="",this.rule=se.REGIONNOOVERLAP,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.TopologyValidatorJobsParameter")}destroy(){this.datasetName=null,this.datasetTopology=null,this.tolerance=null,this.rule=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"output"!==i?(t.analyst=t.analyst||{},t.analyst[i]=e[i]):(t.output=t.output||{},t.output=e[i]):(t.input=t.input||{},t.input[i]=e[i])}}s.TopologyValidatorJobsParameter=Wr;class Yr extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/topologyvalidator",this.CLASS_NAME="SuperMap.TopologyValidatorJobsService"}destroy(){super.destroy()}getTopologyValidatorJobs(){super.getJobs(this.url)}getTopologyValidatorJob(e){super.getJobs(this.url+"/"+e)}addTopologyValidatorJob(e,t){super.addJob(this.url,e,Wr,t)}}s.TopologyValidatorJobsService=Yr;class Qr{constructor(e){e=e||{},this.lineID=null,this.lineName=null,this.lineAliasName=null,this.startStopIndex=null,this.startStopName=null,this.startStopAliasName=null,this.endStopIndex=null,this.endStopName=null,this.endStopAliasName=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.TransferLine"}destroy(){fe.reset(this)}static fromJson(e){if(e)return new Qr({lineID:e.lineID,lineName:e.lineName,lineAliasName:e.lineAliasName,startStopIndex:e.startStopIndex,startStopName:e.startStopName,startStopAliasName:e.startStopAliasName,endStopIndex:e.endStopIndex,endStopName:e.endStopName,endStopAliasName:e.endStopAliasName})}}s.TransferLine=Qr;class Xr{constructor(e){e=e||{},this.transferLines=null,this.points=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.TransferPathParameters"}destroy(){fe.reset(this)}static toJson(e){if(e)return fe.toJSON(e)}}s.TransferPathParameters=Xr;class Kr extends st{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TransferPathService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Xr){var t,i,s=this;i=s.url.substr(s.url.length-1,1),s.url+="/"===i?"":"/",s.url+="path.json?",t={points:fe.toJSON(e.points),transferLines:fe.toJSON(e.transferLines)},s.request({method:"GET",params:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}}s.TransferPathService=Kr;class Zr{constructor(e){e=e||{},this.solutionCount=6,this.transferPreference=G.NONE,this.transferTactic=B.LESS_TIME,this.walkingRatio=null,this.points=!1,this.evadeLines=null,this.evadeStops=null,this.priorLines=null,this.priorStops=null,this.travelTime=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.TransferSolutionParameters"}destroy(){fe.reset(this)}static toJson(e){if(e)return fe.toJSON(e)}}s.TransferSolutionParameters=Zr;class $r extends st{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TransferSolutionService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Zr){var t,i,s=this;i=s.url.substr(s.url.length-1,1),s.url+="/"===i?"":"/",s.url+="solutions.json?",t={points:fe.toJSON(e.points),walkingRatio:e.walkingRatio,transferTactic:e.transferTactic,solutionCount:e.solutionCount,transferPreference:e.transferPreference},e.evadeLines&&(t.evadeLines=fe.toJSON(e.evadeLines)),e.evadeStops&&(t.evadeStops=fe.toJSON(e.evadeStops)),e.priorLines&&(t.priorLines=fe.toJSON(e.priorLines)),e.priorStops&&(t.priorStops=fe.toJSON(e.priorStops)),e.travelTime&&(t.travelTime=e.travelTime),s.request({method:"GET",params:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}}s.TransferSolutionService=$r;class en{constructor(e){e&&(this.edgeId="",this.fromNodeId="",this.toNodeId="",this.weightField="",this.edgeWeight="",fe.extend(this,e),this.CLASS_NAME="SuperMap.UpdateEdgeWeightParameters")}destroy(){this.edgeId=null,this.fromNodeId=null,this.toNodeId=null,this.weightField=null,this.edgeWeight=null}}s.UpdateEdgeWeightParameters=en;class tn extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.UpdateEdgeWeightService"}destroy(){super.destroy()}processAsync(e){if(e instanceof en){var t=this,i=t.url.substr(t.url.length-1,1),s=t.parse(e);"/"===i&&t.url.splice(t.url.length-1,1),t.url=t.url+s+".json?";var r=e.edgeWeight?e.edgeWeight:null;t.request({method:"PUT",scope:t,data:r,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}parse(e){if(e){var t="";for(var i in e)if(""!==e[i]&&"edgeWeight"!==e[i])switch(i){case"edgeId":t+="/edgeweight/"+e[i];break;case"fromNodeId":t+="/fromnode/"+e[i];break;case"toNodeId":t+="/tonode/"+e[i];break;case"weightField":t+="/weightfield/"+e[i]}return t}}}s.UpdateEdgeWeightService=tn;class sn{constructor(e){e&&(this.nodeId="",this.fromEdgeId="",this.toEdgeId="",this.weightField="",this.turnNodeWeight="",fe.extend(this,e),this.CLASS_NAME="SuperMap.UpdateTurnNodeWeightParameters")}destroy(){this.nodeId=null,this.fromEdgeId=null,this.toEdgeId=null,this.weightField=null,this.turnNodeWeight=null}}s.UpdateTurnNodeWeightParameters=sn;class rn extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.UpdateTurnNodeWeightService"}destroy(){super.destroy()}processAsync(e){if(e instanceof sn){var t=this,i=t.url.substr(t.url.length-1,1),s=t.parse(e);"/"===i&&t.url.splice(t.url.length-1,1),t.url=t.url+s+".json?";var r=e.turnNodeWeight?e.turnNodeWeight:null;t.request({method:"PUT",scope:t,data:r,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}parse(e){if(e){var t="";for(var i in e)if(""!==e[i]&&"turnNodeWeight"!==e[i])switch(i){case"nodeId":t+="/turnnodeweight/"+e[i];break;case"fromEdgeId":t+="/fromedge/"+e[i];break;case"toEdgeId":t+="/toedge/"+e[i];break;case"weightField":t+="/weightfield/"+e[i]}return t}}}s.UpdateTurnNodeWeightService=rn;class nn{constructor(e){e=e||{},this.datasetName="",this.datasetVectorClip="",this.geometryClip="",this.mode=Z.CLIP,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.VectorClipJobsParameter"}destroy(){this.datasetName=null,this.datasetVectorClip=null,this.geometryClip=null,this.mode=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"output"!==i?(t.analyst=t.analyst||{},t.analyst[i]=e[i]):(t.output=t.output||{},t.output=e[i]):(t.input=t.input||{},t.input[i]=e[i])}}s.VectorClipJobsParameter=nn;class an extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/vectorclip",this.CLASS_NAME="SuperMap.VectorClipJobsService"}destroy(){super.destroy()}getVectorClipJobs(){super.getJobs(this.url)}getVectorClipJob(e){super.getJobs(this.url+"/"+e)}addVectorClipJob(e,t){super.addJob(this.url,e,nn,t)}}s.VectorClipJobsService=an;var on=s.ServiceStatus={DOES_NOT_INVOLVE:"DOES_NOT_INVOLVE",PUBLISH_FAILED:"PUBLISH_FAILED",PUBLISHED:"PUBLISHED",PUBLISHING:"PUBLISHING",UNPUBLISHED:"UNPUBLISHED",UNPUBLISHED_FAILED:"UNPUBLISHED_FAILED"},ln=s.DataItemType={AUDIO:"AUDIO",COLOR:"COLOR",COLORSCHEME:"COLORSCHEME",CSV:"CSV",EXCEL:"EXCEL",FILLSYMBOL:"FILLSYMBOL",IMAGE:"IMAGE",LAYERTEMPLATE:"LAYERTEMPLATE",LAYOUTTEMPLATE:"LAYOUTTEMPLATE",LINESYMBOL:"LINESYMBOL",MAPTEMPLATE:"MAPTEMPLATE",MARKERSYMBOL:"MARKERSYMBOL",MBTILES:"MBTILES",PHOTOS:"PHOTOS",SHP:"SHP",SMTILES:"SMTILES",SVTILES:"SVTILES",THEMETEMPLATE:"THEMETEMPLATE",TPK:"TPK",UDB:"UDB",UGCV5:"UGCV5",UNKNOWN:"UNKNOWN",VIDEO:"VIDEO",WORKENVIRONMENT:"WORKENVIRONMENT",WORKSPACE:"WORKSPACE"},hn=s.DataItemOrderBy={FILENAME:"FILENAME",ID:"ID",LASTMODIFIEDTIME:"LASTMODIFIEDTIME",NICKNAME:"NICKNAME",SERVICESTATUS:"SERVICESTATUS",SIZE:"SIZE",STATUS:"STATUS",TYPE:"TYPE",UPDATETIME:"UPDATETIME",USERNAME:"USERNAME"},un=s.FilterField={LINKPAGE:"LINKPAGE",MAPTITLE:"MAPTITLE",NICKNAME:"NICKNAME",RESTITLE:"RESTITLE",USERNAME:"USERNAME"};class cn{constructor(e){e=e||{},fe.extend(this,e),this.serverType=n.ONLINE,this.CLASS_NAME="SuperMap.OnlineServiceBase"}request(e,t,i,s){return t=this.createCredentialUrl(t),qe.commit(e,t,i,s).then(function(e){return e.json()})}createCredentialUrl(e){var t=e,i=this.getCredential();if(i){var s="key="+i,r=t.substring(t.length-1,t.length);t.indexOf("?")>-1&&"?"===r?t+=s:t.indexOf("?")>-1&&"?"!==r?t+="&"+s:t+="?"+s}return t}getCredential(){}}s.OnlineServiceBase=cn;class pn extends cn{constructor(e,t){super(e),t=t||{},this.MD5=null,this.type=null,this.userName=null,this.fileName=null,this.size=null,this.serviceStatus=null,this.serviceId=null,this.id=null,this.lastModfiedTime=null,this.status=null,this.storageId=null,this.publishInfo=null,this.authorizeSetting=null,this.nickname=null,this.tags=[],this.description=null,this.dataItemServices=null,this.coordType=null,this.dataCheckResult=null,this.dataMetaInfo=null,this.thumbnail=null,fe.extend(this,t),this.id&&(this.serviceUrl=e+"/"+this.id),this.CLASS_NAME="SuperMap.OnlineData"}load(){if(this.serviceUrl){var e=this;return e.request("GET",this.serviceUrl).then(function(t){fe.extend(e,t)})}}getPublishedServices(){return this.dataItemServices}getAuthorizeSetting(){return this.authorizeSetting}}s.OnlineData=pn;class dn{constructor(){this.rootUrl="http://www.supermapol.com",this.webUrl=this.rootUrl+"/web";var e=this.webUrl+"/mycontent";this.mDatasUrl=e+"/datas",this.CLASS_NAME="SuperMap.Online"}load(){return qe.get(this.rootUrl).then(function(e){return e})}login(){We.loginOnline(this.rootUrl,!0)}queryDatas(e){var t=this,i=t.mDatasUrl;return e&&(e=e.toJSON()),qe.get(i,e).then(function(e){if(e&&e.content&&!(e.content.length<1)){for(var i=[],s=e.content,r=s.length,n=0;nt.geoFence.radius&&(t.outOfGeoFence&&t.outOfGeoFence(e),t.events.triggerEvent("outOfGeoFence",{data:e})),i})}_distance(e,t,i,s){return Math.sqrt((e-i)*(e-i)+(t-s)*(t-s))}_getMeterPerMapUnit(e){let t;return"meter"===e?t=1:"degree"===e&&(t=2*Math.PI*6378137/360),t}}s.ElasticSearch=bn;var xn=i(37),_n=i.n(xn);class Cn{constructor(e){this.env=null,this.parser=null,this.ruleSet=null,this.cartoStr="",this.shaders=null,"string"==typeof e&&(this.cartoStr=e,this.env={frames:[],errors:[],error:function(e){this.errors.push(e)}},this.parser=this.getParser(this.env),this.parse(e),this.shaders=this.toShaders())}getParser(e){var t,i,r,n,a,o,l,h,u,c=this;function p(){n=l[r],a=i,h=i}function d(){l[r]=n,h=i=a}function f(){i>h&&(l[r]=l[r].slice(i-h),h=i)}function m(e){var s,n,a,o;if(e instanceof Function)return e.call(u.parsers);if("string"==typeof e)s=t.charAt(i)===e?e:null,n=1,f();else{if(f(),!(s=e.exec(l[r])))return null;n=s[0].length}if(s){var c=i+=n;for(o=i+l[r].length-n;i=0&&"\n"!==s.charAt(a);a--)i.column++;return new Error([i.filename,i.line,i.column,i.message].join(";"))}return this.env=e=e||{},this.env.filename=this.env.filename||null,this.env.inputs=this.env.inputs||{},u={parse:function(n){var a,u=null;if(i=r=h=o=0,l=[],t=n.replace(/\r\n/g,"\n"),e.filename&&(c.env.inputs[e.filename]=t),l=function(e){for(var i,s,r,n,a=0,o=/(?:@\{[\w-]+\}|[^"'`\{\}\/\(\)\\])+/g,l=/\/\*(?:[^*]|\*+[^\/*])*\*+\/|\/\/.*/g,h=/"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'|`((?:[^`]|\\.)*)`/g,c=0,p=e[0],d=0;d0?"missing closing `}`":"missing opening `{`"}),e.map(function(e){return e.join("")})}([[]]),u)throw y(u);var p=function(e,t){var i=e.specificity,s=t.specificity;return i[0]!=s[0]?s[0]-i[0]:i[1]!=s[1]?s[1]-i[1]:i[2]!=s[2]?s[2]-i[2]:s[3]-i[3]};return(a=new s.CartoCSS.Tree.Ruleset([],m(this.parsers.primary))).root=!0,a.toList=function(e){e.error=function(t){e.errors||(e.errors=new Error("")),e.errors.message?e.errors.message+="\n"+y(t).message:e.errors.message=y(t).message},e.frames=e.frames||[];var t=this.flatten([],[],e);return t.sort(p),t},a},parsers:{primary:function(){for(var e,t=[];(e=m(this.rule)||m(this.ruleset)||m(this.comment))||m(/^[\s\n]+/)||(e=m(this.invalid));)e&&t.push(e);return t},invalid:function(){var e=m(/^[^;\n]*[;\n]/);if(e)return new s.CartoCSS.Tree.Invalid(e,a)},comment:function(){var e;if("/"===t.charAt(i))return"/"===t.charAt(i+1)?new s.CartoCSS.Tree.Comment(m(/^\/\/.*/),!0):(e=m(/^\/\*(?:[^*]|\*+[^\/*])*\*+\/\n?/))?new s.CartoCSS.Tree.Comment(e):void 0},entities:{quoted:function(){if('"'===t.charAt(i)||"'"===t.charAt(i)){var e=m(/^"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'/);return e?new s.CartoCSS.Tree.Quoted(e[1]||e[2]):void 0}},field:function(){if(m("[")){var e=m(/(^[^\]]+)/);if(m("]"))return e?new s.CartoCSS.Tree.Field(e[1]):void 0}},comparison:function(){var e=m(/^=~|=|!=|<=|>=|<|>/);if(e)return e},keyword:function(){var e=m(/^[A-Za-z\u4e00-\u9fa5-]+[A-Za-z-0-9\u4e00-\u9fa5_]*/);if(e)return new s.CartoCSS.Tree.Keyword(e)},call:function(){var e,t;if(e=/^([\w\-]+|%)\(/.exec(l[r])){if("url"===(e=e[1]))return null;i+=e.length;if(m("("),t=m(this.entities.arguments),m(")"))return e?new s.CartoCSS.Tree.Call(e,t,i):void 0}},arguments:function(){for(var e,t=[];e=m(this.expression);){t.push(e);if(!m(","))break}return t},literal:function(){return m(this.entities.dimension)||m(this.entities.keywordcolor)||m(this.entities.hexcolor)||m(this.entities.quoted)},url:function(){var e;if("u"===t.charAt(i)&&m(/^url\(/)){e=m(this.entities.quoted)||m(this.entities.variable)||m(/^[\-\w%@$\/.&=:;#+?~]+/)||"";return m(")")?new s.CartoCSS.Tree.URL(void 0!==e.value||e instanceof s.CartoCSS.Tree.Variable?e:new s.CartoCSS.Tree.Quoted(e)):new s.CartoCSS.Tree.Invalid(e,a,"Missing closing ) in URL.")}},variable:function(){var r,n=i;if("@"===t.charAt(i)&&(r=m(/^@[\w-]+/)))return new s.CartoCSS.Tree.Variable(r,n,e.filename)},hexcolor:function(){var e;if("#"===t.charAt(i)&&(e=m(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})/)))return new s.CartoCSS.Tree.Color(e[1])},keywordcolor:function(){var e=l[r].match(/^[a-z]+/);if(e&&e[0]in s.CartoCSS.Tree.Reference.data.colors)return new s.CartoCSS.Tree.Color(s.CartoCSS.Tree.Reference.data.colors[m(/^[a-z]+/)])},dimension:function(){var e=t.charCodeAt(i);if(!(e>57||e<45||47===e)){var r=m(/^(-?\d*\.?\d+(?:[eE][-+]?\d+)?)(\%|\w+)?/);return r?new s.CartoCSS.Tree.Dimension(r[1],r[2],a):void 0}}},variable:function(){var e;if("@"===t.charAt(i)&&(e=m(/^(@[\w-]+)\s*:/)))return e[1]},entity:function(){var e=m(this.entities.call)||m(this.entities.literal),t=m(this.entities.field)||m(this.entities.variable),i=m(this.entities.url)||m(this.entities.keyword);return e||t||i},end:function(){var e;return m(";")||("string"==typeof(e="}")?t.charAt(i)===e:!!e.test(l[r]))},element:function(){var e=m(/^(?:[.#][\w\u4e00-\u9fa5\-]+|\*|Map)/);if(e)return new s.CartoCSS.Tree.Element(e)},attachment:function(){var e=m(/^::([\w\-]+(?:\/[\w\-]+)*)/);if(e)return e[1]},selector:function(){for(var e,r,n,o,l,h=[],u=new s.CartoCSS.Tree.Filterset,c=[],p=0,d=0;(n=m(this.element))||(l=m(this.zoom))||(o=m(this.filter))||(e=m(this.attachment));){if(p++,n)h.push(n);else if(l)c.push(l),d++;else if(o){var f=u.add(o);if(f)throw y({message:f,index:i-1});d++}else{if(r)throw y({message:"Encountered second attachment name.",index:i-1});r=e}var g=t.charAt(i);if("{"===g||"}"===g||";"===g||","===g)break}if(p)return new s.CartoCSS.Tree.Selector(u,c,h,r,d,a)},filter:function(){p();var t,i,r;if(m("[")&&(t=m(/^[a-zA-Z0-9\-_]+/)||m(this.entities.quoted)||m(this.entities.variable)||m(this.entities.keyword)||m(this.entities.field))&&(t instanceof s.CartoCSS.Tree.Quoted&&(t=new s.CartoCSS.Tree.Field(t.toString())),(i=m(this.entities.comparison))&&(r=m(this.entities.quoted)||m(this.entities.variable)||m(this.entities.dimension)||m(this.entities.keyword)||m(this.entities.field)))){if(!m("]"))throw y({message:"Missing closing ] of filter.",index:a-1});return t.is||(t=new s.CartoCSS.Tree.Field(t)),new s.CartoCSS.Tree.Filter(t,i,r,a,e.filename)}},zoom:function(){p();var e,t;if(m(/^\[\s*zoom/g)&&(e=m(this.entities.comparison))&&(t=m(this.entities.variable)||m(this.entities.dimension))&&m("]"))return new s.CartoCSS.Tree.Zoom(e,t,a);d()},block:function(){var e;if(m("{")&&(e=m(this.primary))&&m("}"))return e},ruleset:function(){var e,t,i=[];for(p();e=m(this.selector);){for(i.push(e);m(this.comment););if(!m(","))break;for(;m(this.comment););}if(e)for(;m(this.comment););if(i.length>0&&(t=m(this.block))){if(1===i.length&&i[0].elements.length&&"Map"===i[0].elements[0].value){var r=new s.CartoCSS.Tree.Ruleset(i,t);return r.isMap=!0,r}return new s.CartoCSS.Tree.Ruleset(i,t)}d()},rule:function(){var r,n,l=t.charAt(i);if(p(),"."!==l&&"#"!==l&&(r=m(this.variable)||m(this.property))){if((n=m(this.value))&&m(this.end))return new s.CartoCSS.Tree.Rule(r,n,a,e.filename);o=i,d()}},font:function(){for(var e,t=[],i=[];e=m(this.entity);)i.push(e);if(t.push(new s.CartoCSS.Tree.Expression(i)),m(","))for(;(e=m(this.expression))&&(t.push(e),m(",")););return new s.CartoCSS.Tree.Value(t)},value:function(){for(var e,t=[];(e=m(this.expression))&&(t.push(e),m(",")););return t.length>1?new s.CartoCSS.Tree.Value(t.map(function(e){return e.value[0]})):1===t.length?new s.CartoCSS.Tree.Value(t):void 0},sub:function(){var e;if(m("(")&&(e=m(this.expression))&&m(")"))return e},multiplication:function(){var e,t,i,r;if(e=m(this.operand)){for(;(i=m("/")||m("*")||m("%"))&&(t=m(this.operand));)r=new s.CartoCSS.Tree.Operation(i,[r||e,t],a);return r||e}},addition:function(){var e,r,n,o;if(e=m(this.multiplication)){for(;(n=m(/^[-+]\s+/)||" "!=t.charAt(i-1)&&(m("+")||m("-")))&&(r=m(this.multiplication));)o=new s.CartoCSS.Tree.Operation(n,[o||e,r],a);return o||e}},operand:function(){return m(this.sub)||m(this.entity)},expression:function(){for(var e,t=[];e=m(this.addition)||m(this.entity);)t.push(e);if(t.length>0)return new s.CartoCSS.Tree.Expression(t)},property:function(){var e=m(/^(([a-z][-a-z_0-9]*\/)?\*?-?[-a-z_0-9]+)\s*:/);if(e)return e[1]}}}}parse(e){var t=this.parser;return this.ruleSet=t.parse(e)}toShaders(){if(this.ruleSet){var e=this.ruleSet;if(e){var t=e.toList(this.env);t.reverse();var i={},s=[];this._toShaders(i,s,t);for(var r=[],n={},a=0,o=t.length;a=0){if(!t.featureFilter){var n=r+s.length,a=i.indexOf(")",n+1),o="featureId&&(featureId"+i.substring(n,a)+")";Object.defineProperty(t,"featureFilter",{configurable:!0,enumerable:!1,value:function(e){return!!o}})}return{property:d,getValue:Function("attributes","zoom","seftFilter","var _value = null; var isExcute=typeof seftFilter=='function'?sefgFilter():seftFilter;if(isExcute){"+i+";} return _value; ")}}return{property:d,getValue:Function("attributes","zoom","var _value = null;"+i+"; return _value; ")}}(u[d],c);Object.defineProperty(c,"attachment",{configurable:!0,enumerable:!1,value:h}),Object.defineProperty(c,"elements",{configurable:!0,enumerable:!1,value:l.elements}),r.push(c),n[s[a]]=!0}Object.defineProperty(c,"zoom",{configurable:!0,enumerable:!1,value:l.zoom})}return r}}return null}_toShaders(e,t,i){for(let r=0,n=i.length;r= minzoom - 1e-6 and scale < maxzoom + 1e-6"},maxzoom:{"default-value":"1.79769e+308",type:"float","default-meaning":"The layer will be visible at the maximum possible scale",doc:"The maximum scale denominator that this layer will be visible at. The default is the numeric limit of the C++ double type, which may vary slightly by system, but is likely a massive number like 1.79769e+308 and ensures that this layer will always be visible unless the value is reduced. A layer's visibility is determined by whether its status is true and if the Map scale >= minzoom - 1e-6 and scale < maxzoom + 1e-6"},queryable:{"default-value":!1,type:"boolean","default-meaning":"The layer will not be available for the direct querying of data values",doc:"This property was added for GetFeatureInfo/WMS compatibility and is rarely used. It is off by default meaning that in a WMS context the layer will not be able to be queried unless the property is explicitly set to true"},"clear-label-cache":{"default-value":!1,type:"boolean","default-meaning":"The renderer's collision detector cache (used for avoiding duplicate labels and overlapping markers) will not be cleared immediately before processing this layer",doc:"This property, by default off, can be enabled to allow a user to clear the collision detector cache before a given layer is processed. This may be desirable to ensure that a given layers data shows up on the map even if it normally would not because of collisions with previously rendered labels or markers"},"group-by":{"default-value":"",type:"string","default-meaning":"No special layer grouping will be used during rendering",doc:"https://github.com/mapnik/mapnik/wiki/Grouped-rendering"},"buffer-size":{"default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:"Extra tolerance around the Layer extent (in pixels) used to when querying and (potentially) clipping the layer data during rendering"},"maximum-extent":{"default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query this specific layer data during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Layer."}},symbolizers:{"*":{"image-filters":{css:"image-filters","default-value":"none","default-meaning":"no filters",type:"functions",functions:[["agg-stack-blur",2],["emboss",0],["blur",0],["gray",0],["sobel",0],["edge-detect",0],["x-gradient",0],["y-gradient",0],["invert",0],["sharpen",0]],doc:"A list of image filters."},"comp-op":{css:"comp-op","default-value":"src-over","default-meaning":"add the current layer on top of other layers",doc:"Composite operation. This defines how this layer should behave relative to layers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]},opacity:{css:"opacity",type:"float",doc:"An alpha value for the style (which means an alpha applied to all features in separate buffer and then composited back to main buffer)","default-value":1,"default-meaning":"no separate buffer will be used and no alpha will be applied to the style after rendering"}},map:{"background-color":{css:"background-color","default-value":"none","default-meaning":"transparent",type:"color",doc:"Map Background color"},"background-image":{css:"background-image",type:"uri","default-value":"","default-meaning":"transparent",doc:"An image that is repeated below all features on a map as a background.",description:"Map Background image"},srs:{css:"srs",type:"string","default-value":"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs","default-meaning":"The proj4 literal of EPSG:4326 is assumed to be the Map's spatial reference and all data from layers within this map will be plotted using this coordinate system. If any layers do not declare an srs value then they will be assumed to be in the same srs as the Map and not transformations will be needed to plot them in the Map's coordinate space",doc:"Map spatial reference (proj4 string)"},"buffer-size":{css:"buffer-size","default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:'Extra tolerance around the map (in pixels) used to ensure labels crossing tile boundaries are equally rendered in each tile (e.g. cut in each tile). Not intended to be used in combination with "avoid-edges".'},"maximum-extent":{css:"","default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query all layers during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Map."},base:{css:"base","default-value":"","default-meaning":"This base path defaults to an empty string meaning that any relative paths to files referenced in styles or layers will be interpreted relative to the application process.",type:"string",doc:"Any relative paths used to reference files will be understood as relative to this directory path if the map is loaded from an in memory object rather than from the filesystem. If the map is loaded from the filesystem and this option is not provided it will be set to the directory of the stylesheet."},"paths-from-xml":{css:"","default-value":!0,"default-meaning":"Paths read from XML will be interpreted from the location of the XML",type:"boolean",doc:"value to control whether paths in the XML will be interpreted from the location of the XML or from the working directory of the program that calls load_map()"},"minimum-version":{css:"","default-value":"none","default-meaning":"Mapnik version will not be detected and no error will be thrown about compatibility",type:"string",doc:"The minumum Mapnik version (e.g. 0.7.2) needed to use certain functionality in the stylesheet"},"font-directory":{css:"font-directory",type:"uri","default-value":"none","default-meaning":"No map-specific fonts will be registered",doc:"Path to a directory which holds fonts which should be registered when the Map is loaded (in addition to any fonts that may be automatically registered)."}},polygon:{fill:{css:"polygon-fill",type:"color","default-value":"rgba(128,128,128,1)","default-meaning":"gray and fully opaque (alpha = 1), same as rgb(128,128,128)",doc:"Fill color to assign to a polygon"},"fill-opacity":{css:"polygon-opacity",type:"float",doc:"The opacity of the polygon","default-value":1,"default-meaning":"opaque"},gamma:{css:"polygon-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon edges"},"gamma-method":{css:"polygon-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},clip:{css:"polygon-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},line:{stroke:{css:"line-color","default-value":"rgba(0,0,0,1)",type:"color","default-meaning":"black and fully opaque (alpha = 1), same as rgb(0,0,0)",doc:"The color of a drawn line"},"stroke-width":{css:"line-width","default-value":1,type:"float",doc:"The width of a line in pixels"},"stroke-opacity":{css:"line-opacity","default-value":1,type:"float","default-meaning":"opaque",doc:"The opacity of a line"},"stroke-linejoin":{css:"line-join","default-value":"miter",type:["miter","round","bevel"],doc:"The behavior of lines when joining"},"stroke-linecap":{css:"line-cap","default-value":"butt",type:["butt","round","square"],doc:"The display of line endings"},"stroke-gamma":{css:"line-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of stroke line"},"stroke-gamma-method":{css:"line-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},"stroke-dasharray":{css:"line-dasharray",type:"numbers",doc:"A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported for more complex patterns.","default-value":"none","default-meaning":"solid line"},"stroke-dashoffset":{css:"line-dash-offset",type:"numbers",doc:"valid parameter but not currently used in renderers (only exists for experimental svg support in Mapnik which is not yet enabled)","default-value":"none","default-meaning":"solid line"},"stroke-miterlimit":{css:"line-miterlimit",type:"float",doc:"The limit on the ratio of the miter length to the stroke-width. Used to automatically convert miter joins to bevel joins for sharp angles to avoid the miter extending beyond the thickness of the stroking path. Normally will not need to be set, but a larger value can sometimes help avoid jaggy artifacts.","default-value":4,"default-meaning":"Will auto-convert miters to bevel line joins when theta is less than 29 degrees as per the SVG spec: 'miterLength / stroke-width = 1 / sin ( theta / 2 )'"},clip:{css:"line-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},offset:{css:"line-offset",type:"float","default-value":0,"default-meaning":"no offset",doc:"Offsets a line a number of pixels parallel to its actual path. Postive values move the line left, negative values move it right (relative to the directionality of the line)."},rasterizer:{css:"line-rasterizer",type:["full","fast"],"default-value":"full",doc:"Exposes an alternate AGG rendering method that sacrifices some accuracy for speed."},"geometry-transform":{css:"line-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},markers:{file:{css:"marker-file",doc:"An SVG file that this marker shows at each placement. If no file is given, the marker will show an ellipse.","default-value":"","default-meaning":"An ellipse or circle, if width equals height",type:"uri"},opacity:{css:"marker-opacity",doc:"The overall opacity of the marker, if set, overrides both the opacity of both the fill and stroke","default-value":1,"default-meaning":"The stroke-opacity and fill-opacity will be used",type:"float"},"fill-opacity":{css:"marker-fill-opacity",doc:"The fill opacity of the marker","default-value":1,"default-meaning":"opaque",type:"float"},stroke:{css:"marker-line-color",doc:"The color of the stroke around a marker shape.","default-value":"black",type:"color"},"stroke-width":{css:"marker-line-width",doc:"The width of the stroke around a marker shape, in pixels. This is positioned on the boundary, so high values can cover the area itself.",type:"float"},"stroke-opacity":{css:"marker-line-opacity","default-value":1,"default-meaning":"opaque",doc:"The opacity of a line",type:"float"},placement:{css:"marker-placement",type:["point","line","interior"],"default-value":"point","default-meaning":"Place markers at the center point (centroid) of the geometry",doc:"Attempt to place markers on a point, in the center of a polygon, or if markers-placement:line, then multiple times along a line. 'interior' placement can be used to ensure that points placed on polygons are forced to be inside the polygon interior"},"multi-policy":{css:"marker-multi-policy",type:["each","whole","largest"],"default-value":"each","default-meaning":"If a feature contains multiple geometries and the placement type is either point or interior then a marker will be rendered for each",doc:"A special setting to allow the user to control rendering behavior for 'multi-geometries' (when a feature contains multiple geometries). This setting does not apply to markers placed along lines. The 'each' policy is default and means all geometries will get a marker. The 'whole' policy means that the aggregate centroid between all geometries will be used. The 'largest' policy means that only the largest (by bounding box areas) feature will get a rendered marker (this is how text labeling behaves by default)."},"marker-type":{css:"marker-type",type:["arrow","ellipse"],"default-value":"ellipse",doc:"The default marker-type. If a SVG file is not given as the marker-file parameter, the renderer provides either an arrow or an ellipse (a circle if height is equal to width)"},width:{css:"marker-width","default-value":10,doc:"The width of the marker, if using one of the default types.",type:"expression"},height:{css:"marker-height","default-value":10,doc:"The height of the marker, if using one of the default types.",type:"expression"},fill:{css:"marker-fill","default-value":"blue",doc:"The color of the area of the marker.",type:"color"},"allow-overlap":{css:"marker-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping markers are shown or hidden.","default-meaning":"Do not allow makers to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"marker-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},spacing:{css:"marker-spacing",doc:"Space between repeated labels","default-value":100,type:"float"},"max-error":{css:"marker-max-error",type:"float","default-value":.2,doc:"The maximum difference between actual marker placement and the marker-spacing parameter. Setting a high value can allow the renderer to try to resolve placement conflicts with other symbolizers."},transform:{css:"marker-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},clip:{css:"marker-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"marker-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"marker-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"marker-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},shield:{name:{css:"shield-name",type:"expression",serialization:"content",doc:'Value to use for a shield"s text label. Data columns are specified using brackets like [column_name]'},file:{css:"shield-file",required:!0,type:"uri","default-value":"none",doc:"Image file to render behind the shield text"},"face-name":{css:"shield-face-name",type:"string",validate:"font",doc:"Font name and style to use for the shield text","default-value":"",required:!0},"unlock-image":{css:"shield-unlock-image",type:"boolean",doc:"This parameter should be set to true if you are trying to position text beside rather than on top of the shield image","default-value":!1,"default-meaning":"text alignment relative to the shield image uses the center of the image as the anchor for text positioning."},size:{css:"shield-size",type:"float",doc:"The size of the shield text in pixels"},fill:{css:"shield-fill",type:"color",doc:"The color of the shield text"},placement:{css:"shield-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"How this shield should be placed. Point placement attempts to place it on top of points, line places along lines multiple times per feature, vertex places on the vertexes of polygons, and interior attempts to place inside of polygons."},"avoid-edges":{css:"shield-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.",type:"boolean","default-value":!1},"allow-overlap":{css:"shield-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping shields are shown or hidden.","default-meaning":"Do not allow shields to overlap with other map elements already placed."},"minimum-distance":{css:"shield-min-distance",type:"float","default-value":0,doc:"Minimum distance to the next shield symbol, not necessarily the same shield."},spacing:{css:"shield-spacing",type:"float","default-value":0,doc:"The spacing between repeated occurrences of the same shield on a line"},"minimum-padding":{css:"shield-min-padding","default-value":0,doc:"Determines the minimum amount of padding that a shield gets relative to other shields",type:"float"},"wrap-width":{css:"shield-wrap-width",type:"unsigned","default-value":0,doc:"Length of a chunk of text in characters before wrapping text"},"wrap-before":{css:"shield-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"shield-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long names."},"halo-fill":{css:"shield-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"shield-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},"character-spacing":{css:"shield-character-spacing",type:"unsigned","default-value":0,doc:"Horizontal spacing between characters (in pixels). Currently works for point placement only, not line placement."},"line-spacing":{css:"shield-line-spacing",doc:"Vertical spacing between lines of multiline labels (in pixels)",type:"unsigned"},dx:{css:"shield-text-dx",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"shield-text-dy",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"shield-dx":{css:"shield-dx",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},"shield-dy":{css:"shield-dy",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},opacity:{css:"shield-opacity",type:"float",doc:"(Default 1.0) - opacity of the image used for the shield","default-value":1},"text-opacity":{css:"shield-text-opacity",type:"float",doc:"(Default 1.0) - opacity of the text placed on top of the shield","default-value":1},"horizontal-alignment":{css:"shield-horizontal-alignment",type:["left","middle","right","auto"],doc:"The shield's horizontal alignment from its centerpoint","default-value":"auto"},"vertical-alignment":{css:"shield-vertical-alignment",type:["top","middle","bottom","auto"],doc:"The shield's vertical alignment from its centerpoint","default-value":"middle"},"text-transform":{css:"shield-text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"justify-alignment":{css:"shield-justify-alignment",type:["left","center","right","auto"],doc:"Define how text in a shield's label is justified","default-value":"auto"},clip:{css:"shield-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"shield-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"line-pattern":{file:{css:"line-pattern-file",type:"uri","default-value":"none",required:!0,doc:"An image file to be repeated and warped along a line"},clip:{css:"line-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"line-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"polygon-pattern":{file:{css:"polygon-pattern-file",type:"uri","default-value":"none",required:!0,doc:"Image to use as a repeated pattern fill within a polygon"},alignment:{css:"polygon-pattern-alignment",type:["local","global"],"default-value":"local",doc:"Specify whether to align pattern fills to the layer or to the map."},gamma:{css:"polygon-pattern-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon pattern edges"},opacity:{css:"polygon-pattern-opacity",type:"float",doc:"(Default 1.0) - Apply an opacity level to the image used for the pattern","default-value":1,"default-meaning":"The image is rendered without modifications"},clip:{css:"polygon-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},raster:{opacity:{css:"raster-opacity","default-value":1,"default-meaning":"opaque",type:"float",doc:"The opacity of the raster symbolizer on top of other symbolizers."},"filter-factor":{css:"raster-filter-factor","default-value":-1,"default-meaning":"Allow the datasource to choose appropriate downscaling.",type:"float",doc:"This is used by the Raster or Gdal datasources to pre-downscale images using overviews. Higher numbers can sometimes cause much better scaled image output, at the cost of speed."},scaling:{css:"raster-scaling",type:["near","fast","bilinear","bilinear8","bicubic","spline16","spline36","hanning","hamming","hermite","kaiser","quadric","catrom","gaussian","bessel","mitchell","sinc","lanczos","blackman"],"default-value":"near",doc:"The scaling algorithm used to making different resolution versions of this raster layer. Bilinear is a good compromise between speed and accuracy, while lanczos gives the highest quality."},"mesh-size":{css:"raster-mesh-size","default-value":16,"default-meaning":"Reprojection mesh will be 1/16 of the resolution of the source image",type:"unsigned",doc:"A reduced resolution mesh is used for raster reprojection, and the total image size is divided by the mesh-size to determine the quality of that mesh. Values for mesh-size larger than the default will result in faster reprojection but might lead to distortion."},"comp-op":{css:"raster-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},point:{file:{css:"point-file",type:"uri",required:!1,"default-value":"none",doc:"Image file to represent a point"},"allow-overlap":{css:"point-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping points are shown or hidden.","default-meaning":"Do not allow points to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"point-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},opacity:{css:"point-opacity",type:"float","default-value":1,"default-meaning":"Fully opaque",doc:"A value from 0 to 1 to control the opacity of the point"},placement:{css:"point-placement",type:["centroid","interior"],doc:"How this point should be placed. Centroid calculates the geometric center of a polygon, which can be outside of it, while interior always places inside of a polygon.","default-value":"centroid"},transform:{css:"point-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},"comp-op":{css:"point-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},text:{name:{css:"text-name",type:"expression",required:!0,"default-value":"",serialization:"content",doc:"Value to use for a text label. Data columns are specified using brackets like [column_name]"},"face-name":{css:"text-face-name",type:"string",validate:"font",doc:"Font name and style to render a label in",required:!0},size:{css:"text-size",type:"float","default-value":10,doc:"Text size in pixels"},"text-ratio":{css:"text-ratio",doc:"Define the amount of text (of the total) present on successive lines when wrapping occurs","default-value":0,type:"unsigned"},"wrap-width":{css:"text-wrap-width",doc:"Length of a chunk of text in characters before wrapping text","default-value":0,type:"unsigned"},"wrap-before":{css:"text-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"text-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long text."},spacing:{css:"text-spacing",type:"unsigned",doc:"Distance between repeated text labels on a line (aka. label-spacing)"},"character-spacing":{css:"text-character-spacing",type:"float","default-value":0,doc:"Horizontal spacing adjustment between characters in pixels"},"line-spacing":{css:"text-line-spacing","default-value":0,type:"unsigned",doc:"Vertical spacing adjustment between lines in pixels"},"label-position-tolerance":{css:"text-label-position-tolerance","default-value":0,type:"unsigned",doc:"Allows the label to be displaced from its ideal position by a number of pixels (only works with placement:line)"},"max-char-angle-delta":{css:"text-max-char-angle-delta",type:"float","default-value":"22.5",doc:"The maximum angle change, in degrees, allowed between adjacent characters in a label. This value internally is converted to radians to the default is 22.5*math.pi/180.0. The higher the value the fewer labels will be placed around around sharp corners."},fill:{css:"text-fill",doc:"Specifies the color for the text","default-value":"#000000",type:"color"},opacity:{css:"text-opacity",doc:"A number from 0 to 1 specifying the opacity for the text","default-value":1,"default-meaning":"Fully opaque",type:"float"},"halo-fill":{css:"text-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"text-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},dx:{css:"text-dx",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"text-dy",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"vertical-alignment":{css:"text-vertical-alignment",type:["top","middle","bottom","auto"],doc:"Position of label relative to point position.","default-value":"auto","default-meaning":'Default affected by value of dy; "bottom" for dy>0, "top" for dy<0.'},"avoid-edges":{css:"text-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.","default-value":!1,type:"boolean"},"minimum-distance":{css:"text-min-distance",doc:"Minimum permitted distance to the next text symbolizer.",type:"float"},"minimum-padding":{css:"text-min-padding",doc:"Determines the minimum amount of padding that a text symbolizer gets relative to other text",type:"float"},"minimum-path-length":{css:"text-min-path-length",type:"float","default-value":0,"default-meaning":"place labels on all paths",doc:"Place labels only on paths longer than this value."},"allow-overlap":{css:"text-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping text is shown or hidden.","default-meaning":"Do not allow text to overlap with other text - overlapping markers will not be shown."},orientation:{css:"text-orientation",type:"expression",doc:"Rotate the text."},placement:{css:"text-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"Control the style of placement of a point versus the geometry it is attached to."},"placement-type":{css:"text-placement-type",doc:'Re-position and/or re-size text to avoid overlaps. "simple" for basic algorithm (using text-placements string,) "dummy" to turn this feature off.',type:["dummy","simple"],"default-value":"dummy"},placements:{css:"text-placements",type:"string","default-value":"",doc:'If "placement-type" is set to "simple", use this "POSITIONS,[SIZES]" string. An example is `text-placements: "E,NE,SE,W,NW,SW";` '},"text-transform":{css:"text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"horizontal-alignment":{css:"text-horizontal-alignment",type:["left","middle","right","auto"],doc:"The text's horizontal alignment from its centerpoint","default-value":"auto"},"justify-alignment":{css:"text-align",type:["left","right","center","auto"],doc:"Define how text is justified","default-value":"auto","default-meaning":"Auto alignment means that text will be centered by default except when using the `placement-type` parameter - in that case either right or left justification will be used automatically depending on where the text could be fit given the `text-placements` directives"},clip:{css:"text-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"text-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},building:{fill:{css:"building-fill","default-value":"#FFFFFF",doc:"The color of the buildings walls.",type:"color"},"fill-opacity":{css:"building-fill-opacity",type:"float",doc:"The opacity of the building as a whole, including all walls.","default-value":1},height:{css:"building-height",doc:"The height of the building in pixels.",type:"expression","default-value":"0"}}},colors:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50],transparent:[0,0,0,0]},filter:{value:["true","false","null","point","linestring","polygon","collection"]}},Cn.mapnik_reference={version:{latest:s._mapnik_reference_latest,"2.1.1":s._mapnik_reference_latest}},s.CartoCSS=Cn,s.CartoCSS.Tree={},s.CartoCSS.Tree.operate=function(e,t,i){switch(e){case"+":return t+i;case"-":return t-i;case"*":return t*i;case"%":return t%i;case"/":return t/i}},s.CartoCSS.Tree.functions={rgb:function(e,t,i){return this.rgba(e,t,i,1)},rgba:function(e,t,i,r){var n=this,a=[e,t,i].map(function(e){return n.number(e)});return r=n.number(r),a.some(isNaN)||isNaN(r)?null:new s.CartoCSS.Tree.Color(a,r)},stop:function(e){var t,i;return arguments.length>1&&(t=arguments[1]),arguments.length>2&&(i=arguments[2]),{is:"tag",val:e,color:t,mode:i,toString:s=>'\n\t"}},hsl:function(e,t,i){return this.hsla(e,t,i,1)},hsla:function(e,t,i,s){if([e=this.number(e)%360/360,t=this.number(t),i=this.number(i),s=this.number(s)].some(isNaN))return null;var r=i<=.5?i*(t+1):i+t-i*t,n=2*i-r;return this.rgba(255*a(e+1/3),255*a(e),255*a(e-1/3),s);function a(e){return 6*(e=e<0?e+1:e>1?e-1:e)<1?n+(r-n)*e*6:2*e<1?r:3*e<2?n+(r-n)*(2/3-e)*6:n}},hue:function(e){return"toHSL"in e?new s.CartoCSS.Tree.Dimension(Math.round(e.toHSL().h)):null},saturation:function(e){return"toHSL"in e?new s.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().s),"%"):null},lightness:function(e){return"toHSL"in e?new s.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().l),"%"):null},alpha:function(e){return"toHSL"in e?new s.CartoCSS.Tree.Dimension(e.toHSL().a):null},saturate:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL();return i.s+=t.value/100,i.s=this.clamp(i.s),this.hsla_simple(i)},desaturate:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL();return i.s-=t.value/100,i.s=this.clamp(i.s),this.hsla_simple(i)},lighten:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL();return i.l+=t.value/100,i.l=this.clamp(i.l),this.hsla_simple(i)},darken:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL();return i.l-=t.value/100,i.l=this.clamp(i.l),this.hsla_simple(i)},fadein:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL();return i.a+=t.value/100,i.a=this.clamp(i.a),this.hsla_simple(i)},fadeout:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL();return i.a-=t.value/100,i.a=this.clamp(i.a),this.hsla_simple(i)},spin:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL(),s=(i.h+t.value)%360;return i.h=s<0?360+s:s,this.hsla_simple(i)},replace:function(e,t,i){return"field"===e.is?e.toString+".replace("+t.toString()+", "+i.toString()+")":e.replace(t,i)},mix:function(e,t,i){var r=i.value/100,n=2*r-1,a=e.toHSL().a-t.toHSL().a,o=((n*a==-1?n:(n+a)/(1+n*a))+1)/2,l=1-o,h=[e.rgb[0]*o+t.rgb[0]*l,e.rgb[1]*o+t.rgb[1]*l,e.rgb[2]*o+t.rgb[2]*l],u=e.alpha*r+t.alpha*(1-r);return new s.CartoCSS.Tree.Color(h,u)},greyscale:function(e){return this.desaturate(e,new s.CartoCSS.Tree.Dimension(100))},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),i=e.value,r=0;r.5?h/(2-a-o):h/(a+o),a){case i:e=(s-r)/h+(s=0){if(!e.ppi)return e.error({message:"ppi is not set, so metric units can't be used",index:this.index}),{is:"undefined",value:"undefined"};this.value=this.value/this.densities[this.unit]*e.ppi,this.unit="px"}return this}toColor(){return new s.CartoCSS.Tree.Color([this.value,this.value,this.value])}round(){return this.value=Math.round(this.value),this}toString(){return this.value.toString()}operate(e,t,i){return"%"===this.unit&&"%"!==i.unit?(e.error({message:"If two operands differ, the first must not be %",index:this.index}),{is:"undefined",value:"undefined"}):"%"!==this.unit&&"%"===i.unit?"*"===t||"/"===t||"%"===t?(e.error({message:"Percent values can only be added or subtracted from other values",index:this.index}),{is:"undefined",value:"undefined"}):new s.CartoCSS.Tree.Dimension(s.CartoCSS.Tree.operate(t,this.value,this.value*i.value*.01),this.unit):new s.CartoCSS.Tree.Dimension(s.CartoCSS.Tree.operate(t,this.value,i.value),this.unit||i.unit)}},s.CartoCSS.Tree.Element=class{constructor(e){this.value=e.trim(),"#"===this.value[0]&&(this.type="id",this.clean=this.value.replace(/^#/,"")),"."===this.value[0]&&(this.type="class",this.clean=this.value.replace(/^\./,"")),-1!==this.value.indexOf("*")&&(this.type="wildcard")}specificity(){return["id"===this.type?1:0,"class"===this.type?1:0]}toString(){return this.value}},s.CartoCSS.Tree.Expression=class{constructor(e){this.is="expression",this.value=e}ev(e){return this.value.length>1?new s.CartoCSS.Tree.Expression(this.value.map(function(t){return t.ev(e)})):this.value[0].ev(e)}toString(e){return this.value.map(function(t){return t.toString(e)}).join(" ")}},s.CartoCSS.Tree.Field=class{constructor(e){this.is="field",this.value=e||""}toString(){return'["'+this.value.toUpperCase()+'"]'}ev(){return this}},s.CartoCSS.Tree.Filter=class{constructor(e,t,i,s,r){this.ops={"<":[" < ","numeric"],">":[" > ","numeric"],"=":[" = ","both"],"!=":[" != ","both"],"<=":[" <= ","numeric"],">=":[" >= ","numeric"],"=~":[".match(","string",")"]},this.key=e,this.op=t,this.val=i,this.index=s,this.filename=r,this.id=this.key+this.op+this.val}ev(e){return this.key=this.key.ev(e),this.val=this.val.ev(e),this}toString(){return"["+this.id+"]"}},s.CartoCSS.Tree.Filterset=class{constructor(){this.filters={}}toJS(e){function t(e){var t=e.op;"="===t&&(t="==");var i=e.val;void 0!==e._val&&(i=e._val.toString(!0)),e.key&&"scale"===e.key.value?i=+i:"string"!=typeof i&&"object"!=typeof i||(i="'"+i+"'");var s="attributes";return s+"&&"+s+e.key+"&&"+s+e.key+" "+t+i}var i=[];for(var s in this.filters)i.push(t(this.filters[s]));return i.join(" && ")}toString(){var e=[];for(var t in this.filters)e.push(this.filters[t].id);return e.sort().join("\t")}ev(e){for(var t in this.filters)this.filters[t].ev(e);return this}clone(){var e=new s.CartoCSS.Tree.Filterset;for(var t in this.filters)e.filters[t]=this.filters[t];return e}cloneWith(e){var t=[];for(var i in e.filters){var r=this.addable(e.filters[i]);if(!1===r)return!1;!0===r&&t.push(e.filters[i])}if(!t.length)return null;var n=new s.CartoCSS.Tree.Filterset;for(i in this.filters)n.filters[i]=this.filters[i];for(;i=t.shift();)n.add(i);return n}addable(e){var t=e.key.toString(),i=e.val.toString();switch(i.match(/^[0-9]+(\.[0-9]*)?$/)&&(i=parseFloat(i)),e.op){case"=":return void 0!==this.filters[t+"="]?this.filters[t+"="].val.toString()==i&&null:void 0===this.filters[t+"!="+i]&&(!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=i)&&(!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=i)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>i)&&!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val"]&&this.filters[t+">"].val>=i?null:void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=i?null:void 0!==this.filters[t+">="]&&this.filters[t+">="].val>i?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val":return t+"="in this.filters?!(this.filters[t+"="].val<=i)&&null:!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=i)&&(!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=i)&&(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=i?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>i)||null));case">=":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val"]&&this.filters[t+">"].val>=i?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=i)||null));case"<":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val>=i)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=i)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=i)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=i?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].vali)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=i)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>i)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=i?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=i)||null))}}conflict(e){var t=e.key.toString(),i=e.val.toString();return isNaN(parseFloat(i))||(i=parseFloat(i)),("="===e.op&&void 0!==this.filters[t+"="]&&i!=this.filters[t+"="].val.toString()||"!="===e.op&&void 0!==this.filters[t+"="]&&i==this.filters[t+"="].val.toString()||"="===e.op&&void 0!==this.filters[t+"!="]&&i===this.filters[t+"!="].val.toString())&&e.toString()+" added to "+this.toString()+" produces an invalid filter"}add(e,t){var i,s=e.key.toString(),r=e.op,n=this.conflict(e);if(n)return n;if("="===r){for(var a in this.filters)this.filters[a].key===s&&delete this.filters[a];this.filters[s+"="]=e}else if("!="===r)this.filters[s+"!="+e.val]=e;else if("=~"===r)this.filters[s+"=~"+e.val]=e;else if(">"===r){for(var o in this.filters)this.filters[o].key===s&&this.filters[o].val<=e.val&&delete this.filters[o];this.filters[s+">"]=e}else if(">="===r){for(var l in this.filters)i=+this.filters[l].val.toString(),this.filters[l].key===s&&i",this.filters[s+">"]=e):this.filters[s+">="]=e}else if("<"===r){for(var h in this.filters)i=+this.filters[h].val.toString(),this.filters[h].key===s&&i>=e.val&&delete this.filters[h];this.filters[s+"<"]=e}else if("<="===r){for(var u in this.filters)i=+this.filters[u].val.toString(),this.filters[u].key===s&&i>e.val&&delete this.filters[u];void 0!==this.filters[s+"!="+e.val]?(delete this.filters[s+"!="+e.val],e.op="<",this.filters[s+"<"]=e):this.filters[s+"<="]=e}}},s.CartoCSS.Tree.Fontset=class{constructor(e,t){this.fonts=t,this.name="fontset-"+e.effects.length}},s.CartoCSS.Tree.Invalid=class{constructor(e,t,i){this.is="invalid",this.chunk=e,this.index=t,this.type="syntax",this.message=i||"Invalid code: "+this.chunk}ev(e){return e.error({chunk:this.chunk,index:this.index,type:"syntax",message:this.message||"Invalid code: "+this.chunk}),{is:"undefined"}}},s.CartoCSS.Tree.Keyword=class{ev(){return this}constructor(e){this.value=e;var t={transparent:"color",true:"boolean",false:"boolean"};this.is=t[e]?t[e]:"keyword"}toString(){return this.value}},s.CartoCSS.Tree.Literal=class{constructor(e){this.value=e||"",this.is="field"}toString(){return this.value}ev(){return this}},s.CartoCSS.Tree.Operation=class{constructor(e,t,i){this.is="operation",this.op=e.trim(),this.operands=t,this.index=i}ev(e){var t,i=this.operands[0].ev(e),r=this.operands[1].ev(e);return"undefined"===i.is||"undefined"===r.is?{is:"undefined",value:"undefined"}:(i instanceof s.CartoCSS.Tree.Dimension&&r instanceof s.CartoCSS.Tree.Color&&("*"===this.op||"+"===this.op?(t=r,r=i,i=t):e.error({name:"OperationError",message:"Can't substract or divide a color from a number",index:this.index})),i instanceof s.CartoCSS.Tree.Quoted&&r instanceof s.CartoCSS.Tree.Quoted&&"+"!==this.op?(e.error({message:"Can't subtract, divide, or multiply strings.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):i instanceof s.CartoCSS.Tree.Field||r instanceof s.CartoCSS.Tree.Field||i instanceof s.CartoCSS.Tree.Literal||r instanceof s.CartoCSS.Tree.Literal?"color"===i.is||"color"===r.is?(e.error({message:"Can't subtract, divide, or multiply colors in expressions.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):new s.CartoCSS.Tree.Literal(i.ev(e).toString(!0)+this.op+r.ev(e).toString(!0)):void 0===i.operate?(e.error({message:"Cannot do math with type "+i.is+".",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):i.operate(e,this.op,r))}},s.CartoCSS.Tree.Quoted=class{constructor(e){this.is="string",this.value=e||""}toString(e){var t=this.value.replace(/&/g,"&"),i=t.replace(/\'/g,"\\'").replace(/\"/g,""").replace(//g,">");return!0===e?"'"+i+"'":t}ev(){return this}operate(e,t,i){return new s.CartoCSS.Tree.Quoted(s.CartoCSS.Tree.operate(t,this.toString(),i.toString(this.contains_field)))}},s.CartoCSS.Tree.Reference={_validateValue:{font:function(e,t){return!e.validation_data||!e.validation_data.fonts||-1!=e.validation_data.fonts.indexOf(t)}},setData:function(e){this.data=e,this.selector_cache=function(e){var t={};for(var i in e.symbolizers)for(var s in e.symbolizers[i])e.symbolizers[i][s].hasOwnProperty("css")&&(t[e.symbolizers[i][s].css]=[e.symbolizers[i][s],i,s]);return t}(e),this.mapnikFunctions=function(e){var t={};for(var i in e.symbolizers)for(var s in e.symbolizers[i])if("functions"===e.symbolizers[i][s].type)for(var r=0;r1?Array.prototype.push.apply(i,r.find(new s.CartoCSS.Tree.Selector(null,null,e.elements.slice(1)),t)):i.push(r);break}}),this._lookups[r]=i)}evZooms(e){for(var t=0;ts.CartoCSS.Tree.Zoom.maxZoom||t<0)&&e.error({message:"Only zoom levels between 0 and "+s.CartoCSS.Tree.Zoom.maxZoom+" supported.",index:this.index}),this.op){case"=":return this.zoom="zoom && zoom === "+t,this;case">":this.zoom="zoom && zoom > "+t;break;case">=":this.zoom="zoom && zoom >= "+t;break;case"<":this.zoom="zoom && zoom < "+t;break;case"<=":this.zoom="zoom && zoom <= "+t;break;default:return this}return this}toString(){for(var e="",t=0;t<=s.CartoCSS.Tree.Zoom.maxZoom;t++)e+=this.zoom&1<3&&(t=Array.prototype.slice.call(t,1));for(var s=this._handlers[e],r=s.length,n=0;n4&&(t=Array.prototype.slice.call(t,1,t.length-1));for(var s=t[t.length-1],r=this._handlers[e],n=r.length,a=0;an&&(n=e+o+100,s.width=n,i=!0),t+l>a&&(a=t+l+100,s.height=a,i=!0),e<-o&&(n+=o=100*Math.ceil(-e/100),s.width=n,i=!0),t<-l&&(a+=l=100*Math.ceil(-t/100),s.height=a,i=!0),i&&r.translate(o,l)}getPixelOffset(){return{x:this._offsetX,y:this._offsetY}}indexOf(e,t){if(e.indexOf)return e.indexOf(t);for(var i=0,s=e.length;i-this.EPSILON&&ethis.EPSILON||e<-this.EPSILON}cubicAt(e,t,i,s,r){var n=1-r;return n*n*(n*e+3*r*t)+r*r*(r*s+3*n*i)}cubicDerivativeAt(e,t,i,s,r){var n=1-r;return 3*(((t-e)*n+2*(i-t)*r)*n+(s-i)*r*r)}cubicRootAt(e,t,i,s,r,n){var a=s+3*(t-i)-e,o=3*(i-2*t+e),l=3*(t-e),h=e-r,u=o*o-3*a*l,c=o*l-9*a*h,p=l*l-3*o*h,d=0;if(this.isAroundZero(u)&&this.isAroundZero(c))if(this.isAroundZero(o))n[0]=0;else{let e=-l/o;e>=0&&e<=1&&(n[d++]=e)}else{var f=c*c-4*u*p;if(this.isAroundZero(f)){var m=c/u;let e=-o/a+m,t=-m/2;e>=0&&e<=1&&(n[d++]=e),t>=0&&t<=1&&(n[d++]=t)}else if(f>0){let e=Math.sqrt(f),t=u*o+1.5*a*(-c+e),i=u*o+1.5*a*(-c-e),s=(-o-((t=t<0?-Math.pow(-t,this.ONE_THIRD):Math.pow(t,this.ONE_THIRD))+(i=i<0?-Math.pow(-i,this.ONE_THIRD):Math.pow(i,this.ONE_THIRD))))/(3*a);s>=0&&s<=1&&(n[d++]=s)}else{var y=(2*u*o-3*a*c)/(2*Math.sqrt(u*u*u)),g=Math.acos(y)/3,v=Math.sqrt(u),S=Math.cos(g);let e=(-o-2*v*S)/(3*a),t=(-o+v*(S+this.THREE_SQRT*Math.sin(g)))/(3*a),i=(-o+v*(S-this.THREE_SQRT*Math.sin(g)))/(3*a);e>=0&&e<=1&&(n[d++]=e),t>=0&&t<=1&&(n[d++]=t),i>=0&&i<=1&&(n[d++]=i)}}return d}cubicExtrema(e,t,i,s,r){var n=6*i-12*t+6*e,a=9*t+3*s-3*e-9*i,o=3*t-3*e,l=0;if(this.isAroundZero(a)){if(this.isNotAroundZero(n)){let e=-o/n;e>=0&&e<=1&&(r[l++]=e)}}else{var h=n*n-4*a*o;if(this.isAroundZero(h))r[0]=-n/(2*a);else if(h>0){let e=Math.sqrt(h),t=(-n+e)/(2*a),i=(-n-e)/(2*a);t>=0&&t<=1&&(r[l++]=t),i>=0&&i<=1&&(r[l++]=i)}}return l}cubicSubdivide(e,t,i,s,r,n){var a=(t-e)*r+e,o=(i-t)*r+t,l=(s-i)*r+i,h=(o-a)*r+a,u=(l-o)*r+o,c=(u-h)*r+h;n[0]=e,n[1]=a,n[2]=h,n[3]=c,n[4]=c,n[5]=u,n[6]=l,n[7]=s}cubicProjectPoint(e,t,i,s,r,n,a,o,l,h,u){var c,p=this.vector.create(),d=this.vector.create(),f=this.vector.create(),m=.005,y=1/0;p[0]=l,p[1]=h;for(let l=0;l<1;l+=.05){d[0]=this.cubicAt(e,i,r,a,l),d[1]=this.cubicAt(t,s,n,o,l);let h=this.vector.distSquare(p,d);h=0&&u=0&&h<=1&&(r[l++]=h)}}else{var u=a*a-4*n*o;if(this.isAroundZero(u)){let e=-a/(2*n);e>=0&&e<=1&&(r[l++]=e)}else if(u>0){let e=Math.sqrt(u),t=(-a+e)/(2*n),i=(-a-e)/(2*n);t>=0&&t<=1&&(r[l++]=t),i>=0&&i<=1&&(r[l++]=i)}}return l}quadraticExtremum(e,t,i){var s=e+i-2*t;return 0===s?.5:(e-t)/s}quadraticProjectPoint(e,t,i,s,r,n,a,o,l){var h,u=this.vector.create(),c=this.vector.create(),p=this.vector.create(),d=.005,f=1/0;u[0]=a,u[1]=o;for(let a=0;a<1;a+=.05){c[0]=this.quadraticAt(e,i,r,a),c[1]=this.quadraticAt(t,s,n,a);let o=this.vector.distSquare(u,c);o=0&&l1)for(var r=0,n=s-1;r1?Math.ceil(e):e}),t.indexOf("hex")>-1)return"#"+((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1);if(t.indexOf("hs")>-1){var i=this.map(e.slice(1,3),function(e){return e+"%"});e[1]=i[0],e[2]=i[1]}return t.indexOf("a")>-1?(3===e.length&&e.push(1),e[3]=this.adjust(e[3],[0,1]),t+"("+e.slice(0,4).join(",")+")"):t+"("+e.slice(0,3).join(",")+")"}}toArray(e){(e=this.trim(e)).indexOf("rgba")<0&&(e=this.toRGBA(e));var t=[],i=0;return e.replace(/[\d.]+/g,function(e){i<3?e|=0:e=+e,t[i++]=e}),t}convert(e,t){if(!this.isCalculableColor(e))return e;var i=this.getData(e),s=i[3];return void 0===s&&(s=1),e.indexOf("hsb")>-1?i=this._HSV_2_RGB(i):e.indexOf("hsl")>-1&&(i=this._HSL_2_RGB(i)),t.indexOf("hsb")>-1||t.indexOf("hsv")>-1?i=this._RGB_2_HSB(i):t.indexOf("hsl")>-1&&(i=this._RGB_2_HSL(i)),i[3]=s,this.toColor(i,t)}toRGBA(e){return this.convert(e,"rgba")}toRGB(e){return this.convert(e,"rgb")}toHex(e){return this.convert(e,"hex")}toHSVA(e){return this.convert(e,"hsva")}toHSV(e){return this.convert(e,"hsv")}toHSBA(e){return this.convert(e,"hsba")}toHSB(e){return this.convert(e,"hsb")}toHSLA(e){return this.convert(e,"hsla")}toHSL(e){return this.convert(e,"hsl")}toName(e){for(var t in this._nameColors)if(this.toHex(this._nameColors[t])===this.toHex(e))return t;return null}trim(e){return String(e).replace(/\s+/g,"")}normalize(e){if(this._nameColors[e]&&(e=this._nameColors[e]),e=(e=this.trim(e)).replace(/hsv/i,"hsb"),/^#[\da-f]{3}$/i.test(e)){var t=(3840&(e=parseInt(e.slice(1),16)))<<8,i=(240&e)<<4,s=15&e;e="#"+((1<<24)+(t<<4)+t+(i<<4)+i+(s<<4)+s).toString(16).slice(1)}return e}lift(e,t){if(!this.isCalculableColor(e))return e;var i=t>0?1:-1;void 0===t&&(t=0),t=Math.abs(t)>1?1:Math.abs(t),e=this.toRGB(e);for(var s=this.getData(e),r=0;r<3;r++)s[r]=1===i?s[r]*(1-t)|0:(255-s[r])*t+s[r]|0;return"rgb("+s.join(",")+")"}reverse(e){if(!this.isCalculableColor(e))return e;var t=this.getData(this.toRGBA(e));return t=this.map(t,function(e){return 255-e}),this.toColor(t,"rgb")}mix(e,t,i){if(!this.isCalculableColor(e)||!this.isCalculableColor(t))return e;void 0===i&&(i=.5);for(var s=2*(i=1-this.adjust(i,[0,1]))-1,r=this.getData(this.toRGBA(e)),n=this.getData(this.toRGBA(t)),a=r[3]-n[3],o=((s*a==-1?s:(s+a)/(1+s*a))+1)/2,l=1-o,h=[],u=0;u<3;u++)h[u]=r[u]*o+n[u]*l;var c=r[3]*i+n[3]*(1-i);return c=Math.max(0,Math.min(1,c)),1===r[3]&&1===n[3]?this.toColor(h,"rgb"):(h[3]=c,this.toColor(h,"rgba"))}random(){return"#"+Math.random().toString(16).slice(2,8)}getData(e){var t,i,s=(e=this.normalize(e)).match(this.colorRegExp);if(null===s)throw new Error("The color format error");var r,n=[];if(s[2])r=[(t=s[2].replace("#","").split(""))[0]+t[1],t[2]+t[3],t[4]+t[5]],n=this.map(r,function(e){return Bn.prototype.adjust.call(this,parseInt(e,16),[0,255])});else if(s[4]){var a=s[4].split(",");i=a[3],r=a.slice(0,3),n=this.map(r,function(e){return e=Math.floor(e.indexOf("%")>0?2.55*parseInt(e,0):e),Bn.prototype.adjust.call(this,e,[0,255])}),void 0!==i&&n.push(this.adjust(parseFloat(i),[0,1]))}else if(s[5]||s[6]){var o=(s[5]||s[6]).split(","),l=parseInt(o[0],0)/360,h=o[1],u=o[2];i=o[3],(n=this.map([h,u],function(e){return Bn.prototype.adjust.call(this,parseFloat(e)/100,[0,1])})).unshift(l),void 0!==i&&n.push(this.adjust(parseFloat(i),[0,1]))}return n}alpha(e,t){if(!this.isCalculableColor(e))return e;null===t&&(t=1);var i=this.getData(this.toRGBA(e));return i[3]=this.adjust(Number(t).toFixed(4),[0,1]),this.toColor(i,"rgba")}map(e,t){if("function"!=typeof t)throw new TypeError;for(var i=e?e.length:0,s=0;s=t[1]&&(e=t[1]),e}isCalculableColor(e){return e instanceof Array||"string"==typeof e}_HSV_2_RGB(e){var t,i,s,r=e[0],n=e[1],a=e[2];if(0===n)t=255*a,i=255*a,s=255*a;else{var o=6*r;6===o&&(o=0);var l=0|o,h=a*(1-n),u=a*(1-n*(o-l)),c=a*(1-n*(1-(o-l))),p=0,d=0,f=0;0===l?(p=a,d=c,f=h):1===l?(p=u,d=a,f=h):2===l?(p=h,d=a,f=c):3===l?(p=h,d=u,f=a):4===l?(p=c,d=h,f=a):(p=a,d=h,f=u),t=255*p,i=255*d,s=255*f}return[t,i,s]}_HSL_2_RGB(e){var t,i,s,r=e[0],n=e[1],a=e[2];if(0===n)t=255*a,i=255*a,s=255*a;else{var o,l=2*a-(o=a<.5?a*(1+n):a+n-n*a);t=255*this._HUE_2_RGB(l,o,r+1/3),i=255*this._HUE_2_RGB(l,o,r),s=255*this._HUE_2_RGB(l,o,r-1/3)}return[t,i,s]}_HUE_2_RGB(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),6*i<1?e+6*(t-e)*i:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}_RGB_2_HSB(e){var t,i,s=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(s,r,n),o=Math.max(s,r,n),l=o-a,h=o;if(0===l)t=0,i=0;else{i=l/o;var u=((o-s)/6+l/2)/l,c=((o-r)/6+l/2)/l,p=((o-n)/6+l/2)/l;s===o?t=p-c:r===o?t=1/3+u-p:n===o&&(t=2/3+c-u),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,i*=100,h*=100]}_RGB_2_HSL(e){var t,i,s=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(s,r,n),o=Math.max(s,r,n),l=o-a,h=(o+a)/2;if(0===l)t=0,i=0;else{i=h<.5?l/(o+a):l/(2-o-a);var u=((o-s)/6+l/2)/l,c=((o-r)/6+l/2)/l,p=((o-n)/6+l/2)/l;s===o?t=p-c:r===o?t=1/3+u-p:n===o&&(t=2/3+c-u),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,i*=100,h*=100]}}class Gn{}Gn.EVENT={RESIZE:"resize",CLICK:"click",DBLCLICK:"dblclick",MOUSEWHEEL:"mousewheel",MOUSEMOVE:"mousemove",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",GLOBALOUT:"globalout",DRAGSTART:"dragstart",DRAGEND:"dragend",DRAGENTER:"dragenter",DRAGOVER:"dragover",DRAGLEAVE:"dragleave",DROP:"drop",touchClickDelay:300},Gn.catchBrushException=!1,Gn.debugMode=0;class Un{static SUtil_smoothBezier(e,t,i,s,r){r&&2===r||(r=[0,0]);var n,a,o=r,l=[],h=[],u=[],c=[],p=!!s;if(p){n=[1/0,1/0],a=[-1/0,-1/0];let t=e.length;for(let i=0;in-2?n-1:p+1][0]+r[0],e[p>n-2?n-1:p+1][1]+r[1]],u=[e[p>n-3?n-1:p+2][0]+r[0],e[p>n-3?n-1:p+2][1]+r[1]]);let m=d*d,y=d*m;a.push([h(s[0],f[0],o[0],u[0],d,m,y),h(s[1],f[1],o[1],u[1],d,m,y)])}return a;function h(e,t,i,s,r,n,a){var o=.5*(i-e),l=.5*(s-t);return(2*(t-i)+o+l)*a+(-3*(t-i)-2*o-l)*n+o*r+t}}static SUtil_dashedLineTo(e,t,i,s,r,n,a){var o=[5,5];if(n="number"!=typeof n?5:n,e.setLineDash)return o[0]=n,o[1]=n,a&&a instanceof Array?e.setLineDash(a):e.setLineDash(o),e.moveTo(t,i),void e.lineTo(s,r);var l=s-t,h=r-i,u=Math.floor(Math.sqrt(l*l+h*h)/n);l/=u,h/=u;for(var c=!0,p=0;p0){for(var r=this.isInsidePolygon(t.pointList,u,c),n=e.holePolygonPointLists,a=!1,o=0,l=n.length;ot+o&&a>s+o||ae+o&&n>i+o||nt+c&&u>s+c&&u>n+c&&u>o+c||ue+c&&h>i+c&&h>r+c&&h>a+c||ht+h&&l>s+h&&l>n+h||le+h&&o>i+h&&o>r+h||oi||c+u=h)return!0;if(n){var p=s;s=this.normalizeRadian(r),r=this.normalizeRadian(p)}else s=this.normalizeRadian(s),r=this.normalizeRadian(r);s>r&&(r+=h);var d=Math.atan2(l,o);return d<0&&(d+=h),d>=s&&d<=r||d+h>=s&&d+h<=r}isInsideBrokenLine(e,t,i,s){for(var r=Math.max(t,10),n=0,a=e.length-1;ni*i}isInsideRect(e,t,i,s,r,n){return r>=e&&r<=e+i&&n>=t&&n<=t+s}isInsideCircle(e,t,i,s,r){return(s-e)*(s-e)+(r-t)*(r-t)t&&n>s||nr?st&&h>s&&h>n&&h>o||h1&&this.swapExtrema(),f=u.cubicAt(t,s,n,o,p[0]),g>1&&(m=u.cubicAt(t,s,n,o,p[1]))),2==g?St&&o>s&&o>n||o=0&&c<=1){var p=0,d=l.quadraticAt(t,s,n,c);for(let s=0;sa||(h[s]a?0:ni||o<-i)return 0;let u=Math.sqrt(i*i-o*o);if(l[0]=-u,l[1]=u,Math.abs(s-r)>=h){s=0,r=h;var c=n?1:-1;return a>=l[0]+e&&a<=l[1]+e?c:0}if(n){let e=s;s=this.normalizeRadian(r),r=this.normalizeRadian(e)}else s=this.normalizeRadian(s),r=this.normalizeRadian(r);s>r&&(r+=h);var p=0;for(let t=0;t<2;t++){var d=l[t];if(d+e>a){let e=Math.atan2(o,d),t=n?1:-1;e<0&&(e=h+e),(e>=s&&e<=r||e+h>=s&&e+h<=r)&&(e>Math.PI/2&&e<1.5*Math.PI&&(t=-t),p+=t)}}return p}isInsidePath(e,t,i,s,r){for(var n=0,a=0,o=0,l=0,h=0,u=!0,c=!0,p="stroke"===(i=i||"fill")||"both"===i,d="fill"===i||"both"===i,f=0;f0&&(d&&(n+=this.windingLine(a,o,l,h,s,r)),0!==n))return!0;l=y[y.length-2],h=y[y.length-1],u=!1,c&&"A"!==m.command&&(c=!1,a=l,o=h)}switch(m.command){case"M":a=y[0],o=y[1];break;case"L":if(p&&this.isInsideLine(a,o,y[0],y[1],t,s,r))return!0;d&&(n+=this.windingLine(a,o,y[0],y[1],s,r)),a=y[0],o=y[1];break;case"C":if(p&&this.isInsideCubicStroke(a,o,y[0],y[1],y[2],y[3],y[4],y[5],t,s,r))return!0;d&&(n+=this.windingCubic(a,o,y[0],y[1],y[2],y[3],y[4],y[5],s,r)),a=y[4],o=y[5];break;case"Q":if(p&&this.isInsideQuadraticStroke(a,o,y[0],y[1],y[2],y[3],t,s,r))return!0;d&&(n+=this.windingQuadratic(a,o,y[0],y[1],y[2],y[3],s,r)),a=y[2],o=y[3];break;case"A":var g=y[0],v=y[1],S=y[2],b=y[3],x=y[4],_=y[5],C=Math.cos(x)*S+g,T=Math.sin(x)*b+v;c?(c=!1,l=C,h=T):n+=this.windingLine(a,o,C,T);var M=(s-g)*b/S+g;if(p&&this.isInsideArcStroke(g,v,b,x,x+_,1-y[7],t,M,r))return!0;d&&(n+=this.windingArc(g,v,b,x,x+_,1-y[7],M,r)),a=Math.cos(x+_)*S+g,o=Math.sin(x+_)*b+v;break;case"z":if(p&&this.isInsideLine(a,o,l,h,t,s,r))return!0;u=!0}}return d&&(n+=this.windingLine(a,o,l,h,s,r)),0!==n}getTextWidth(e,t){var i=e+":"+t;if(this._textWidthCache[i])return this._textWidthCache[i];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t);for(var s=0,r=0,n=(e=(e+"").split("\n")).length;rthis.TEXT_CACHE_MAX&&(this._textWidthCacheCounter=0,this._textWidthCache={}),s}getTextHeight(e,t){var i=e+":"+t;if(this._textHeightCache[i])return this._textHeightCache[i];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t),e=(e+"").split("\n");var s=(this._ctx.measureText("ZH").width+2)*e.length;return this._ctx.restore(),this._textHeightCache[i]=s,++this._textHeightCacheCounter>this.TEXT_CACHE_MAX&&(this._textHeightCacheCounter=0,this._textHeightCache={}),s}},Un.Util_color=new Bn,Un.Util_computeBoundingBox=new class{constructor(){3===arguments.length&&this.computeBoundingBox(arguments),this.CLASS_NAME="SuperMap.LevelRenderer.Tool.ComputeBoundingBox"}computeBoundingBox(e,t,i){if(0!==e.length){for(var s=e[0][0],r=e[0][0],n=e[0][1],a=e[0][1],o=1;or&&(r=l[0]),l[1]a&&(a=l[1])}t[0]=s,t[1]=n,i[0]=r,i[1]=a}}cubeBezier(e,t,i,s,r,n){var a=new kn,o=[];a.cubicExtrema(e[0],t[0],i[0],s[0],o);for(let r=0;rr&&!n?r+=2*Math.PI:ss&&(c[0]=Math.cos(d)*i+e,c[1]=Math.sin(d)*i+t,l.min(a,c,a),l.max(o,c,o))}},Un.Util_curve=new kn,Un.Util_env=new class{constructor(){this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Env";var e,t,i,s,r,n,a,o,l,h,u,c,p,d,f,m,y,g,v,S,b,x=this;return e=navigator.userAgent,t=x.os={},i=x.browser={},s=e.match(/Web[kK]it[\/]{0,1}([\d.]+)/),r=e.match(/(Android);?[\s\/]+([\d.]+)?/),n=e.match(/(iPad).*OS\s([\d_]+)/),a=e.match(/(iPod)(.*OS\s([\d_]+))?/),o=!n&&e.match(/(iPhone\sOS)\s([\d_]+)/),l=e.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),h=l&&e.match(/TouchPad/),u=e.match(/Kindle\/([\d.]+)/),c=e.match(/Silk\/([\d._]+)/),p=e.match(/(BlackBerry).*Version\/([\d.]+)/),d=e.match(/(BB10).*Version\/([\d.]+)/),f=e.match(/(RIM\sTablet\sOS)\s([\d.]+)/),m=e.match(/PlayBook/),y=e.match(/Chrome\/([\d.]+)/)||e.match(/CriOS\/([\d.]+)/),g=e.match(/Firefox\/([\d.]+)/),v=e.match(/MSIE ([\d.]+)/),S=s&&e.match(/Mobile\//)&&!y,b=e.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/)&&!y,(i.webkit=!!s)&&(i.version=s[1]),r&&(t.android=!0,t.version=r[2]),o&&!a&&(t.ios=t.iphone=!0,t.version=o[2].replace(/_/g,".")),n&&(t.ios=t.ipad=!0,t.version=n[2].replace(/_/g,".")),a&&(t.ios=t.ipod=!0,t.version=a[3]?a[3].replace(/_/g,"."):null),l&&(t.webos=!0,t.version=l[2]),h&&(t.touchpad=!0),p&&(t.blackberry=!0,t.version=p[2]),d&&(t.bb10=!0,t.version=d[2]),f&&(t.rimtabletos=!0,t.version=f[2]),m&&(i.playbook=!0),u&&(t.kindle=!0,t.version=u[1]),c&&(i.silk=!0,i.version=c[1]),!c&&t.android&&e.match(/Kindle Fire/)&&(i.silk=!0),y&&(i.chrome=!0,i.version=y[1]),g&&(i.firefox=!0,i.version=g[1]),v&&(i.ie=!0,i.version=v[1]),S&&(e.match(/Safari/)||t.ios)&&(i.safari=!0),b&&(i.webview=!0),v&&(i.ie=!0,i.version=v[1]),t.tablet=!!(n||m||r&&!e.match(/Mobile/)||g&&e.match(/Tablet/)||v&&!e.match(/Phone/)&&e.match(/Touch/)),t.phone=!(t.tablet||t.ipod||!(r||o||l||p||d||y&&e.match(/Android/)||y&&e.match(/CriOS\/([\d.]+)/)||g&&e.match(/Mobile/)||v&&e.match(/Touch/))),{browser:i,os:t,canvasSupported:!!document.createElement("canvas").getContext}}destory(){return!0}},Un.Util_event=new class{constructor(){this.stop="function"==typeof window.addEventListener?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0},this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Event"}getX(e){return void 0!==e.zrenderX&&e.zrenderX||void 0!==e.offsetX&&e.offsetX||void 0!==e.layerX&&e.layerX||void 0!==e.clientX&&e.clientX}getY(e){return void 0!==e.zrenderY&&e.zrenderY||void 0!==e.offsetY&&e.offsetY||void 0!==e.layerY&&e.layerY||void 0!==e.clientY&&e.clientY}getDelta(e){return void 0!==e.zrenderDelta&&e.zrenderDelta||void 0!==e.wheelDelta&&e.wheelDelta||void 0!==e.detail&&-e.detail}},Un.Util_http=new class{constructor(){this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Http"}get(e,t,i){if("object"==typeof e){var s=e;e=s.url,t=s.onsuccess,i=s.onerror}var r=window.XMLHttpRequest?new XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");r.open("GET",e,!0),r.onreadystatechange=function(){4==r.readyState&&(r.status>=200&&r.status<300||304===r.status?t&&t(r.responseText):i&&i(),r.onreadystatechange=new Function,r=null)},r.send(null)}},Un.Util_log=new class{constructor(){return this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Log",function(){if(0!==Gn.debugMode)if(1==Gn.debugMode)for(let e in arguments)throw new Error(arguments[e]);else if(Gn.debugMode>1)for(let e in arguments)console.log(arguments[e])}}destory(){return!0}},Un.Util_math=new class{constructor(){this._radians=window.Math.PI/180,this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Math"}sin(e,t){return window.Math.sin(t?e*this._radians:e)}cos(e,t){return window.Math.cos(t?e*this._radians:e)}degreeToRadian(e){return e*this._radians}radianToDegree(e){return e/this._radians}},Un.Util_matrix=new class{constructor(){this.ArrayCtor="undefined"==typeof Float32Array?Array:Float32Array,this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Matrix"}create(){var e=new(0,this.ArrayCtor)(6);return this.identity(e),e}identity(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}copy(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}mul(e,t,i){return e[0]=t[0]*i[0]+t[2]*i[1],e[1]=t[1]*i[0]+t[3]*i[1],e[2]=t[0]*i[2]+t[2]*i[3],e[3]=t[1]*i[2]+t[3]*i[3],e[4]=t[0]*i[4]+t[2]*i[5]+t[4],e[5]=t[1]*i[4]+t[3]*i[5]+t[5],e}translate(e,t,i){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+i[0],e[5]=t[5]+i[1],e}rotate(e,t,i){var s=t[0],r=t[2],n=t[4],a=t[1],o=t[3],l=t[5],h=Math.sin(i),u=Math.cos(i);return e[0]=s*u+a*h,e[1]=-s*h+a*u,e[2]=r*u+o*h,e[3]=-r*h+u*o,e[4]=u*n+h*l,e[5]=u*l-h*n,e}scale(e,t,i){var s=i[0],r=i[1];return e[0]=t[0]*s,e[1]=t[1]*r,e[2]=t[2]*s,e[3]=t[3]*r,e[4]=t[4]*s,e[5]=t[5]*r,e}invert(e,t){var i=t[0],s=t[2],r=t[4],n=t[1],a=t[3],o=t[5],l=i*a-n*s;return l?(l=1/l,e[0]=a*l,e[1]=-n*l,e[2]=-s*l,e[3]=i*l,e[4]=(s*o-a*r)*l,e[5]=(n*r-i*o)*l,e):null}mulVector(e,t,i){var s=t[0],r=t[2],n=t[4],a=t[1],o=t[3],l=t[5];return e[0]=i[0]*s+i[1]*r+n,e[1]=i[0]*a+i[1]*o+l,e}},Un.Util=new Fn,Un.Util_vector=new Dn;class jn{constructor(){var e;this.position=[0,0],this.rotation=[0,0,0],this.scale=[1,1,0,0],this.needLocalTransform=!1,this.needTransform=!1,this.CLASS_NAME="SuperMap.LevelRenderer.Transformable",this.lookAt=(e=Un.Util_vector.create(),function(t){this.transform||(this.transform=Un.Util_matrix.create());var i=this.transform;function s(e){return e>-5e-5&&e<5e-5}Un.Util_vector.sub(e,t,this.position),s(e[0])&&s(e[1])||(Un.Util_vector.normalize(e,e),i[2]=e[0]*this.scale[1],i[3]=e[1]*this.scale[1],i[0]=e[1]*this.scale[0],i[1]=-e[0]*this.scale[0],i[4]=this.position[0],i[5]=this.position[1],this.decomposeTransform())})}destroy(){this.position=null,this.rotation=null,this.scale=null,this.needLocalTransform=null,this.needTransform=null}updateNeedTransform(){function e(e){return e>5e-5||e<-5e-5}this.needLocalTransform=e(this.rotation[0])||e(this.position[0])||e(this.position[1])||e(this.scale[0]-1)||e(this.scale[1]-1)}updateTransform(){if(this.updateNeedTransform(),this.parent?this.needTransform=this.needLocalTransform||this.parent.needTransform:this.needTransform=this.needLocalTransform,this.needTransform){var e=[0,0],t=this.transform||Un.Util_matrix.create();if(Un.Util_matrix.identity(t),this.needLocalTransform){if(i(this.scale[0])||i(this.scale[1])){e[0]=-this.scale[2]||0,e[1]=-this.scale[3]||0;let s=i(e[0])||i(e[1]);s&&Un.Util_matrix.translate(t,t,e),Un.Util_matrix.scale(t,t,this.scale),s&&(e[0]=-e[0],e[1]=-e[1],Un.Util_matrix.translate(t,t,e))}if(this.rotation instanceof Array){if(0!==this.rotation[0]){e[0]=-this.rotation[1]||0,e[1]=-this.rotation[2]||0;let s=i(e[0])||i(e[1]);s&&Un.Util_matrix.translate(t,t,e),Un.Util_matrix.rotate(t,t,this.rotation[0]),s&&(e[0]=-e[0],e[1]=-e[1],Un.Util_matrix.translate(t,t,e))}}else 0!==this.rotation&&Un.Util_matrix.rotate(t,t,this.rotation);(i(this.position[0])||i(this.position[1]))&&Un.Util_matrix.translate(t,t,this.position)}this.transform=t,this.parent&&this.parent.needTransform&&(this.needLocalTransform?Un.Util_matrix.mul(this.transform,this.parent.transform,this.transform):Un.Util_matrix.copy(this.transform,this.parent.transform))}function i(e){return e>5e-5||e<-5e-5}}setTransform(e){if(this.needTransform){var t=this.transform;e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}}decomposeTransform(){if(this.transform){var e=this.transform,t=e[0]*e[0]+e[1]*e[1],i=this.position,s=this.scale,r=this.rotation;a(t-1)&&(t=Math.sqrt(t));var n=e[2]*e[2]+e[3]*e[3];a(n-1)&&(n=Math.sqrt(n)),i[0]=e[4],i[1]=e[5],s[0]=t,s[1]=n,s[2]=s[3]=0,r[0]=Math.atan2(-e[1]/n,e[0]/t),r[1]=r[2]=0}function a(e){return e>5e-5||e<-5e-5}}}class zn extends(s.mixin(Rn,jn)){constructor(e){var t;super(e),e=e||{},this.id=null,this.style={},this.highlightStyle=null,this.parent=null,this.__dirty=!0,this.__clipShapes=[],this.invisible=!1,this.ignore=!1,this.zlevel=0,this.draggable=!1,this.clickable=!1,this.hoverable=!0,this.z=0,this.refOriginalPosition=[0,0],this.refDataID=null,this.isHoverByRefDataID=!1,this.refDataHoverGroup=null,this.dataInfo=null,fe.extend(this,e),this.id=this.id||fe.createUniqueID("smShape_"),this.CLASS_NAME="SuperMap.LevelRenderer.Shape",this.getTansform=(t=[],function(e,i){var s=[e,i];return this.needTransform&&this.transform&&(Un.Util_matrix.invert(t,this.transform),Un.Util_matrix.mulVector(s,t,[e,i,1]),e==s[0]&&i==s[1]&&this.updateNeedTransform()),s})}destroy(){this.id=null,this.style=null,this.highlightStyle=null,this.parent=null,this.__dirty=null,this.__clipShapes=null,this.invisible=null,this.ignore=null,this.zlevel=null,this.draggable=null,this.clickable=null,this.hoverable=null,this.z=null,this.refOriginalPosition=null,this.refDataID=null,this.refDataHoverGroup=null,this.isHoverByRefDataID=null,this.dataInfo=null,super.destroy()}brush(e,t){var i=this.beforeBrush(e,t);switch(e.beginPath(),this.buildPath(e,i),i.brushType){case"both":this.setCtxGlobalAlpha(e,"fill",i),e.fill(),i.lineWidth>0&&(this.setCtxGlobalAlpha(e,"stroke",i),e.stroke()),this.setCtxGlobalAlpha(e,"reset",i);break;case"stroke":this.setCtxGlobalAlpha(e,"stroke",i),i.lineWidth>0&&e.stroke(),this.setCtxGlobalAlpha(e,"reset",i);break;default:this.setCtxGlobalAlpha(e,"fill",i),e.fill(),this.setCtxGlobalAlpha(e,"reset",i)}this.drawText(e,i,this.style),this.afterBrush(e)}beforeBrush(e,t){var i=this.style;return this.brushTypeOnly&&(i.brushType=this.brushTypeOnly),t&&(i=this.getHighlightStyle(i,this.highlightStyle||{},this.brushTypeOnly)),"stroke"==this.brushTypeOnly&&(i.strokeColor=i.strokeColor||i.color),e.save(),this.doClip(e),this.setContext(e,i),this.setTransform(e),i}afterBrush(e){e.restore()}setContext(e,t){for(var i=[["color","fillStyle"],["strokeColor","strokeStyle"],["opacity","globalAlpha"],["lineCap","lineCap"],["lineJoin","lineJoin"],["miterLimit","miterLimit"],["lineWidth","lineWidth"],["shadowBlur","shadowBlur"],["shadowColor","shadowColor"],["shadowOffsetX","shadowOffsetX"],["shadowOffsetY","shadowOffsetY"]],s=0,r=i.length;s=s.x&&e<=s.x+s.width&&t>=s.y&&t<=s.y+s.height&&Un.Util_area.isInside(this,this.style,e,t)}drawText(e,t,i){if(void 0!==t.text&&!1!==t.text){var s=t.textColor||t.color||t.strokeColor;e.fillStyle=s;var r,n,a,o,l=10,h=t.textPosition||this.textPosition||"top",u=[];switch(u=this.refOriginalPosition&&2===this.refOriginalPosition.length?this.refOriginalPosition:[0,0],h){case"inside":case"top":case"bottom":case"left":case"right":if(this.getRect){var c=(i||t).__rect||this.getRect(i||t);switch(h){case"inside":a=c.x+c.width/2,o=c.y+c.height/2,r="center",n="middle","stroke"!=t.brushType&&s==t.color&&(e.fillStyle="#fff");break;case"left":a=c.x-l,o=c.y+c.height/2,r="end",n="middle";break;case"right":a=c.x+c.width+l,o=c.y+c.height/2,r="start",n="middle";break;case"top":a=c.x+c.width/2,o=c.y-l,r="center",n="bottom";break;case"bottom":a=c.x+c.width/2,o=c.y+c.height+l,r="center",n="top"}}break;case"start":case"end":var p=0,d=0,f=0,m=0;if(void 0!==t.pointList){var y=t.pointList;if(y.length<2)return;var g=y.length;switch(h){case"start":p=y[0][0]+u[0],d=y[1][0]+u[0],f=y[0][1]+u[1],m=y[1][1]+u[1];break;case"end":p=y[g-2][0]+u[0],d=y[g-1][0]+u[0],f=y[g-2][1]+u[1],m=y[g-1][1]+u[1]}}else p=t.xStart+u[0]||0,d=t.xEnd+u[0]||0,f=t.yStart+u[1]||0,m=t.yEnd+u[1]||0;switch(h){case"start":r=ps&&(s=l[0]),l[1]r&&(r=l[1]))}return e.__rect={x:t,y:i,width:s-t,height:r-i},e.__rect}getRectNoRotation(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,i=this.refOriginalPosition,s=Un.Util_area.getTextHeight("ZH",e.textFont),r=Un.Util_area.getTextWidth(e.text,e.textFont),n=Un.Util_area.getTextHeight(e.text,e.textFont),a=e.x+i[0];"end"==e.textAlign||"right"==e.textAlign?a-=r:"center"==e.textAlign&&(a-=r/2),t="top"==e.textBaseline?e.y+i[1]:"bottom"==e.textBaseline?e.y+i[1]-n:e.y+i[1]-n/2;var o,l=!1;if(e.maxWidth){var h=parseInt(e.maxWidth);h-1&&(r+=o&&!0===l?s/3*(r/o):s/3));return{x:a,y:t,width:r,height:n}}getTextBackground(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.refOriginalPosition;if((!t||!1===t)&&e.__textBackground)return e.__textBackground;var s=this.getRectNoRotation(e),r=e.x+i[0],n=e.y+i[1],a=[];if(e.textRotation&&0!==e.textRotation){let t=e.textRotation,i=this.getRotatedLocation(s.x,s.y,r,n,t),o=this.getRotatedLocation(s.x+s.width,s.y,r,n,t),l=this.getRotatedLocation(s.x+s.width,s.y+s.height,r,n,t),h=this.getRotatedLocation(s.x,s.y+s.height,r,n,t);a.push(i),a.push(o),a.push(l),a.push(h)}else{let e=[s.x,s.y],t=[s.x+s.width,s.y],i=[s.x+s.width,s.y+s.height],r=[s.x,s.y+s.height];a.push(e),a.push(t),a.push(i),a.push(r)}return e.__textBackground=a,e.__textBackground}getRotatedLocation(e,t,i,s,r){var n,a,o=new Array;return t=-t,s=-s,r=-r,n=(e-i)*Math.cos(r/180*Math.PI)-(t-s)*Math.sin(r/180*Math.PI)+i,a=(e-i)*Math.sin(r/180*Math.PI)+(t-s)*Math.cos(r/180*Math.PI)+s,o[0]=n,o[1]=-a,o}}class Jn extends zn{constructor(e){super(e),this.type="smiccircle",this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicCircle"}destroy(){this.type=null,super.destroy()}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.refOriginalPosition,s=t.x+i[0],r=t.y+i[1];return e.moveTo(s+t.r,r),e.arc(s,r,t.r,0,2*Math.PI,!0),!0}getRect(e){if(e.__rect)return e.__rect;this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,i=this.refOriginalPosition,s=e.x+i[0],r=e.y+i[1],n=e.r;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(s-n-t/2),y:Math.round(r-n-t/2),width:2*n+t,height:2*n+t},e.__rect}}class qn extends zn{constructor(e){super(e),this.type="smicpolygon",this.holePolygonPointLists=null,this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicPolygon"}destroy(){this.type=null,this.holePolygonPointLists=null,super.destroy()}brush(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.style;t&&(i=this.getHighlightStyle(i,this.highlightStyle||{})),e.save(),this.setContext(e,i),this.setTransform(e);var s=!1;"fill"!=i.brushType&&"both"!=i.brushType&&void 0!==i.brushType||(e.beginPath(),"dashed"==i.lineType||"dotted"==i.lineType||"dot"==i.lineType||"dash"==i.lineType||"dashdot"==i.lineType||"longdash"==i.lineType||"longdashdot"==i.lineType?this.buildPath(e,{lineType:"solid",lineWidth:i.lineWidth,pointList:i.pointList}):(this.buildPath(e,i),s=!0),e.closePath(),this.setCtxGlobalAlpha(e,"fill",i),e.fill(),this.setCtxGlobalAlpha(e,"reset",i)),i.lineWidth>0&&("stroke"==i.brushType||"both"==i.brushType)&&(s||(e.beginPath(),this.buildPath(e,i)),this.setCtxGlobalAlpha(e,"stroke",i),e.stroke(),this.setCtxGlobalAlpha(e,"reset",i)),this.drawText(e,i,this.style);var r=fe.cloneObject(i);if(r.pointList&&this.holePolygonPointLists&&this.holePolygonPointLists.length>0)for(var n=this.holePolygonPointLists,a=n.length,o=0;o0&&("stroke"==r.brushType||"both"==r.brushType)?(s||(e.beginPath(),this.buildPath(e,r)),e.globalCompositeOperation="source-over",this.setCtxGlobalAlpha(e,"stroke",r),e.stroke(),this.setCtxGlobalAlpha(e,"reset",r)):e.globalCompositeOperation="source-over"}e.restore()}buildPath(e,t){t.showShadow&&(e.shadowBlur=t.shadowBlur,e.shadowColor=t.shadowColor,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY),this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.refOriginalPosition,s=t.pointList;if(!(s.length<2))if(t.smooth&&"spline"!==t.smooth){var r,n,a,o=Un.SUtil_smoothBezier(s,t.smooth,!0,t.smoothConstraint,i);e.moveTo(s[0][0]+i[0],s[0][1]+i[1]);for(var l=s.length,h=0;hn&&(n=l[h][0]+i[0]),l[h][1]+i[1]o&&(o=l[h][1]+i[1]);return s="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(r-s/2),y:Math.round(a-s/2),width:n-r+s,height:o-a+s},e.__rect}}class Wn extends zn{constructor(e){super(e),this.brushTypeOnly="stroke",this.textPosition="end",this.type="smicbroken-line",this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicBrokenLine"}destroy(){this.brushTypeOnly=null,this.textPosition=null,this.type=null,super.destroy()}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.refOriginalPosition,s=t.pointList;if(!(s.length<2)){var r=Math.min(t.pointList.length,Math.round(t.pointListLength||t.pointList.length));if(t.smooth&&"spline"!==t.smooth){var n,a,o,l=Un.SUtil_smoothBezier(s,t.smooth,!1,t.smoothConstraint,i);e.moveTo(s[0][0]+i[0],s[0][1]+i[1]);for(let t=0;tu&&(i*=u/(a=i+s),s*=u/a),r+n>u&&(r*=u/(a=r+n),n*=u/a),s+r>c&&(s*=c/(a=s+r),r*=c/a),i+n>c&&(i*=c/(a=i+n),n*=c/a),e.moveTo(l+i,h),e.lineTo(l+u-s,h),0!==s&&e.quadraticCurveTo(l+u,h,l+u,h+s),e.lineTo(l+u,h+c-r),0!==r&&e.quadraticCurveTo(l+u,h+c,l+u-r,h+c),e.lineTo(l+n,h+c),0!==n&&e.quadraticCurveTo(l,h+c,l,h+c-n),e.lineTo(l,h+i),0!==i&&e.quadraticCurveTo(l,h,l+i,h)}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.refOriginalPosition;t.radius?this._buildRadiusPath(e,t):(e.moveTo(t.x+i[0],t.y+i[1]),e.lineTo(t.x+i[0]+t.width,t.y+i[1]),e.lineTo(t.x+i[0]+t.width,t.y+i[1]+t.height),e.lineTo(t.x+i[0],t.y+i[1]+t.height),e.lineTo(t.x+i[0],t.y+i[1])),e.closePath()}getRect(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,i=this.refOriginalPosition;return e.__rect?e.__rect:(t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x+i[0]-t/2),y:Math.round(e.y+i[1]-t/2),width:e.width+t,height:e.height+t},e.__rect)}}class Xn extends zn{constructor(e){super(e),this.type="smicsector",this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicSector"}destroy(){this.type=null,super.destroy()}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.refOriginalPosition,s=t.x+i[0],r=t.y+i[1],n=t.r0||0,a=t.r,o=t.startAngle,l=t.endAngle,h=t.clockWise||!1;o=Un.Util_math.degreeToRadian(o),l=Un.Util_math.degreeToRadian(l),h||(o=-o,l=-l);var u=Un.Util_math.cos(o),c=Un.Util_math.sin(o);e.moveTo(u*n+s,c*n+r),e.lineTo(u*a+s,c*a+r),e.arc(s,r,a,o,l,!h),e.lineTo(Un.Util_math.cos(l)*n+s,Un.Util_math.sin(l)*n+r),0!==n&&e.arc(s,r,n,l,o,h),e.closePath()}getRect(e){if(e.__rect)return e.__rect;this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t=this.refOriginalPosition,i=Un.Util_vector.create(),s=Un.Util_vector.create(),r=Un.Util_vector.create(),n=Un.Util_vector.create(),a=e.x+t[0],o=e.y+t[1],l=e.r0||0,h=e.r,u=Un.Util_math.degreeToRadian(e.startAngle),c=Un.Util_math.degreeToRadian(e.endAngle),p=e.clockWise;return p||(u=-u,c=-c),l>1?Un.Util_computeBoundingBox.arc(a,o,l,u,c,!p,i,r):(i[0]=r[0]=a,i[1]=r[1]=o),Un.Util_computeBoundingBox.arc(a,o,h,u,c,!p,s,n),Un.Util_vector.min(i,i,s),Un.Util_vector.max(r,r,n),e.__rect={x:i[0],y:i[1],width:r[0]-i[0],height:r[1]-i[1]},e.__rect}}class Kn{constructor(e){this.shapeParameters=e,this.CLASS_NAME="SuperMap.Feature.ShapeFactory"}destroy(){this.shapeParameters=null}createShape(e){if(e&&(this.shapeParameters=e),!this.shapeParameters)return null;var t=this.shapeParameters;if(t instanceof wn){let e=new Object;e.x=t.x,e.y=t.y,e.r=t.r,e=fe.copyAttributesWithClip(e,t.style,["x","y"]);let i=new Vn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["x","y","style","highlightStyle"]),i}if(t instanceof En){if(!t.pointList)return null;let e=new Object;e.pointList=t.pointList,e=fe.copyAttributesWithClip(e,t.style,["pointList"]);let i=new Wn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["pointList","style","highlightStyle"]),i}if(t instanceof An){if(!t.pointList)return null;let e=new Object;e.pointList=t.pointList,e=fe.copyAttributesWithClip(e,t.style,["pointList"]);let i=new qn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["pointList","style","highlightStyle"]),i}if(t instanceof Pn){if(!t.x&&!t.y&!t.width&!t.height)return null;let e=new Object;e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height,e=fe.copyAttributesWithClip(e,t.style,["x","y","width","height"]);let i=new Qn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["x","y","width","height","style","highlightStyle"]),i}if(t instanceof Ln){let e=new Object;e.x=t.x,e.y=t.y,e.r=t.r,e.startAngle=t.startAngle,e.endAngle=t.endAngle,t.r0&&(e.r0=t.r0),t.clockWise&&(e.clockWise=t.clockWise),e=fe.copyAttributesWithClip(e,t.style,["x","y","r","startAngle","endAngle","r0","endAngle"]);let i=new Xn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["x","y","r","startAngle","endAngle","r0","endAngle","style","highlightStyle"]),i}if(t instanceof Nn){let e=new Object;e.x=t.x,e.y=t.y,e.text=t.text,e=fe.copyAttributesWithClip(e,t.style,["x","y","text"]);let i=new Hn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["x","y","text","style","highlightStyle"]),i}if(t instanceof In){let e=new Object;e.x=t.x,e.y=t.y,t.image&&(e.image=t.image),t.width&&(e.width=t.width),t.height&&(e.height=t.height),t.sx&&(e.sx=t.sx),t.sy&&(e.sy=t.sy),t.sWidth&&(e.sWidth=t.sWidth),t.sHeight&&(e.sHeight=t.sHeight),e=fe.copyAttributesWithClip(e,t.style,["x","y","image","width","height","sx","sy","sWidth","sHeight"]);let i=new Yn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["x","y","image","width","height","style","highlightStyle"]),i}if(t instanceof On){let e=new Object;e.x=t.x,e.r=t.r,e.y=t.y,e=fe.copyAttributesWithClip(e,t.style,["x","y","r"]);let i=new Jn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["x","y","r","style","highlightStyle","lineWidth","text","textPosition"]),i}return null}static transformStyle(e){var t={},i=["normal","normal","normal","12","arial,sans-serif"],s=[!0,!1];for(var r in e)switch(r){case"fill":s[0]=e[r];break;case"fillColor":t.color=e[r];break;case"stroke":s[1]=e[r];break;case"strokeWidth":t.lineWidth=e[r];break;case"strokeLinecap":t.lineCap=e[r];break;case"strokeLineJoin":t.lineJoin=e[r];break;case"strokeDashstyle":t.lineType=e[r];break;case"pointRadius":t.r=e[r];break;case"label":t.text=e[r];break;case"labelRect":t.labelRect=e[r];break;case"fontColor":t.textColor=e[r];break;case"fontStyle":i[0]=e[r];break;case"fontVariant":i[1]=e[r];break;case"fontWeight":i[2]=e[r];break;case"fontSize":var n="";e[r]&&e[r].toString().indexOf("px")<0&&(n="px"),i[3]=e[r]+n;break;case"fontFamily":i[4]=e[r];break;case"fontOpacity":t.opacity=e[r];break;case"labelPosition":t.textPosition=e[r];break;case"labelAlign":t.textAlign=e[r];break;case"labelBaseline":t.textBaseline=e[r];break;case"labelRotation":t.textRotation=e[r];break;default:t[r]=e[r]}return t.textFont=i.join(" "),!0===s[0]&&!1===s[1]?t.brushType="fill":!1===s[0]&&!0===s[1]?t.brushType="stroke":!0===s[0]&&!0===s[1]?t.brushType="both":t.brushType="fill",null==t.lineWidth&&(t.lineWidth=1),t}static Background(e,t,i){var s=i||{},r=new Pn(t[0],t[3],Math.abs(t[2]-t[0]),Math.abs(t[3]-t[1]));return r.style={fillColor:"#f3f3f3"},s.backgroundStyle&&fe.copyAttributesWithClip(r.style,s.backgroundStyle),s.backgroundRadius&&(r.style.radius=s.backgroundRadius),r.clickable=!1,r.hoverable=!1,e.createShape(r)}static GraphAxis(e,t,i,s){var r=t,n=i||{},a=[],o=[],l=!!n.useXReferenceLine&&n.useXReferenceLine,h=n.axisYTick&&!isNaN(n.axisYTick)?n.axisYTick:0,u=[],c=[];if(0==h){if(c.push([r[0],r[3]-5]),c.push([r[0],r[1]]),n.axis3DParameter&&!isNaN(n.axis3DParameter)&&n.axis3DParameter>=15){let e=parseInt(n.axis3DParameter),t=[r[0]-e,r[1]+e];n.axisUseArrow?(u.push([t[0]+1.5,t[1]-7.5]),u.push([t[0]-1,t[1]+1]),u.push([t[0]+7.5,t[1]-1.5]),c.push([t[0],t[1]])):c.push([t[0],t[1]]),c.push([r[0],r[1]])}c.push([r[2]+5,r[1]])}else{var p=Math.abs(r[1]-r[3])/h,d=r[3];c.push([r[0],d-5]);for(var f=0;f=15){let e=parseInt(n.axis3DParameter),t=[r[0]-e,r[1]+e];n.axisUseArrow?(u.push([t[0]+1.5,t[1]-7.5]),u.push([t[0]-1,t[1]+1]),u.push([t[0]+7.5,t[1]-1.5]),c.push([t[0],t[1]])):c.push([t[0],t[1]]),c.push([r[0],r[1]])}c.push([r[2]+5,r[1]])}if(n.axisUseArrow){var y=[[r[2]+5,r[1]+4],[r[2]+13,r[1]],[r[2]+5,r[1]-4]],g=[[r[0]-4,r[3]-5],[r[0],r[3]-13],[r[0]+4,r[3]-5]],v=new An(y);v.style={fillColor:"#008acd"},fe.copyAttributesWithClip(v.style,n.axisStyle),o.push(e.createShape(v));var S=new An(g);if(S.style={fillColor:"#008acd"},fe.copyAttributesWithClip(S.style,n.axisStyle),o.push(e.createShape(S)),n.axis3DParameter&&!isNaN(n.axis3DParameter)&&n.axis3DParameter>=15){var b=new An(u);b.style={fillColor:"#008acd"},fe.copyAttributesWithClip(b.style,n.axisStyle),o.push(e.createShape(b))}}var x=new En(c);x.style={strokeLinecap:"butt",strokeLineJoin:"round",strokeColor:"#008acd",strokeWidth:1},n.axisStyle&&fe.copyAttributesWithClip(x.style,n.axisStyle),x.clickable=!1,x.hoverable=!1;var _=[e.createShape(x)],C=[];if(n.axisYLabels&&n.axisYLabels.length&&n.axisYLabels.length>0){var T=n.axisYLabels;let t=T.length;var M=[0,0];if(n.axisYLabelsOffset&&n.axisYLabelsOffset.length&&(M=n.axisYLabelsOffset),1==t){let t=new Nn(r[0]-5+M[0],r[3]+M[1],T[0]);t.style={labelAlign:"right"},n.axisYLabelsStyle&&fe.copyAttributesWithClip(t.style,n.axisYLabelsStyle),t.clickable=!1,t.hoverable=!1,C.push(e.createShape(t))}else for(var w=r[3],E=Math.abs(r[1]-r[3])/(t-1),A=0;A0){let t=n.axisXLabels,i=t.length,a=[0,0];if(n.axisXLabelsOffset&&n.axisXLabelsOffset.length&&(a=n.axisXLabelsOffset),s&&s.xPositions&&s.xPositions.length&&s.xPositions.length==i){let o=s.xPositions;for(let s=0;s=0&&i[r]&&fe.copyAttributesWithClip(a,i[r]),s&&s.length&&void 0!==n)for(var o=s,l=o.length,h=parseFloat(n),u=0;u=h[2]||h[1]<=h[3])&&(this.DVBOrigonPoint=[h[0],h[3]],this.DVBWidth=Math.abs(h[2]-h[0]),this.DVBHeight=Math.abs(h[1]-h[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-a[0],this.DVBOrigonPoint[1]-a[1]],!0)}resetLocation(e){e&&(this.lonlat=e);var t=this.getLocalXY(this.lonlat);t[0]+=this.XOffset,t[1]+=this.YOffset,this.location=t;var i=this.width,s=this.height,r=this.location;return this.chartBounds=new ye(r[0]-i/2,r[1]+s/2,r[0]+i/2,r[1]-s/2),this.resetLinearGradient(),r}resetLinearGradient(){}shapesConvertToRelativeCoordinate(){for(var e=this.shapes,t=this.location,i=0,s=e.length;i=0?s.push(parseFloat(r[a].toString()).toFixed(i)):s.push(parseFloat(r[a].toString()))}catch(e){throw new Error("not a number")}return s.length===t.length&&s},s.Feature.Theme.Graph=$n;s.Feature.Theme.Bar=class extends $n{constructor(e,t,i,s,r){super(e,t,i,s,r),this.CLASS_NAME="SuperMap.Feature.Theme.Bar"}destroy(){super.destroy()}assembleShapes(){var e={showShadow:!0,shadowBlur:8,shadowColor:"rgba(100,100,100,0.8)",shadowOffsetX:2,shadowOffsetY:2},t=this.setting;if(void 0!==t.barLinearGradient&&(t.barLinearGradient=[["#00FF00","#00CD00"],["#00CCFF","#5E87A2"],["#00FF66","#669985"],["#CCFF00","#94A25E"],["#FF9900","#A2945E"]]),t.dataViewBoxParameter||(void 0===t.useAxis||t.useAxis?t.dataViewBoxParameter=[45,15,15,15]:t.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var i=this.DVBCodomain;this.DVBUnitValue=(i[1]-i[0])/this.DVBHeight;var s=this.dataViewBox,r=this.dataValues;if(!(r.length<1)){for(let e=0,t=r.length;ei[1])return;var n=this.calculateXShapeInfo();if(n){var a=n.xPositions,o=n.width;(void 0===t.useBackground||t.useBackground)&&this.shapes.push(Kn.Background(this.shapeFactory,this.chartBox,t)),(void 0===t.useAxis||t.useAxis)&&(this.shapes=this.shapes.concat(Kn.GraphAxis(this.shapeFactory,s,t,n)));for(var l=0;l=t.length&&(i%=t.length);var l=t[i][0],h=t[i][1],u=(new Bn).getLinearGradient(a,0,o,0,[[0,l],[1,h]]);r.style.color=u}}}};s.Feature.Theme.Bar3D=class extends $n{constructor(e,t,i,s,r){super(e,t,i,s,r),this.CLASS_NAME="SuperMap.Feature.Theme.Bar3D"}destroy(){super.destroy()}assembleShapes(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,25,20,20]:e.dataViewBoxParameter=[5,5,5,5]),e.axisUseArrow=void 0===e.axisUseArrow||e.axisUseArrow,e.axisXLabelsOffset=void 0!==e.axisXLabelsOffset?e.axisXLabelsOffset:[-10,10],this.initBaseParameter()){var t=this.DVBCodomain;this.DVBUnitValue=(t[1]-t[0])/this.DVBHeight;var i=this.dataViewBox,s=this.dataValues;if(!(s.length<1)){for(let e=0,i=s.length;et[1])return;var r=this.calculateXShapeInfo();if(r){var n=r.xPositions,a=r.width;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(Kn.Background(this.shapeFactory,this.chartBox,e)),(!e.axis3DParameter||isNaN(e.axis3DParameter)||e.axis3DParameter<15)&&(e.axis3DParameter=20),(void 0===e.useAxis||e.useAxis)&&(this.shapes=this.shapes.concat(Kn.GraphAxis(this.shapeFactory,i,e,r)));var o=e.bar3DParameter&&!isNaN(e.bar3DParameter)?e.bar3DParameter:10;for(let r=0;r=o[2]||o[1]<=o[3])&&(this.DVBOrigonPoint=[o[0],o[3]],this.DVBWidth=Math.abs(o[2]-o[0]),this.DVBHeight=Math.abs(o[1]-o[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-r[0],this.DVBOrigonPoint[1]-r[1]],!0)}}s.Feature.Theme.RankSymbol=ea;s.Feature.Theme.Circle=class extends ea{constructor(e,t,i,s,r){super(e,t,i,s,r),this.CLASS_NAME="SuperMap.Feature.Theme.Circle"}destroy(){super.destroy()}assembleShapes(){if(!this.setting)return!1;var e=this.setting;if(!e.codomain)return!1;var t=void 0===e.decimalNumber||isNaN(e.decimalNumber)?-1:e.decimalNumber,i=Zn.getDataValues(this.data,this.fields,t);this.dataValues=i||[];var s=this.dataValues;e.maxR||(e.maxR=100),e.minR||(e.minR=0);var r=this.DVBCodomain;r&&r[1]-r[0]>0?this.DVBUnitValue=e.maxR/(r[1]-r[0]):this.DVBUnitValue=e.maxR;var n=this.DVBUnitValue,a=s[0]*n+e.minR;if(this.width=2*a,this.height=2*a,this.initBaseParameter()&&(!r||!(s[0]r[1]))){var o=this.DVBCenterPoint,l=new On(o[0],o[1],a);l.style=Kn.ShapeStyleTool(null,e.circleStyle,null,null,0),void 0!==e.fillColor?l.style.fillColor=e.fillColor:l.style.fillColor="#ff9277",l.highlightStyle=Kn.ShapeStyleTool(null,e.circleHoverStyle),void 0!==e.circleHoverAble&&(l.hoverable=e.circleHoverAble),void 0!==e.circleClickAble&&(l.clickable=e.circleClickAble),l.refDataID=this.data.id,l.dataInfo={field:this.fields[0],r:a,value:s[0]},this.shapes.push(this.shapeFactory.createShape(l)),this.shapesConvertToRelativeCoordinate()}}};s.Feature.Theme.Line=class extends $n{constructor(e,t,i,s,r,n){super(e,t,i,s,r,n),this.CLASS_NAME="SuperMap.Feature.Theme.Line"}destroy(){super.destroy()}assembleShapes(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,15,15,15]:e.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var t=this.dataViewBox,i=this.DVBCodomain;this.DVBUnitValue=(i[1]-i[0])/this.DVBHeight;var s=this.DVBUnitValue,r=this.dataValues;if(!(r.length<1)){var n=this.calculateXShapeInfo();if(n){var a,o,l=n.xPositions;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(Kn.Background(this.shapeFactory,this.chartBox,e)),this.shapes=this.shapes.concat(Kn.GraphAxis(this.shapeFactory,t,e,n));for(var h=[],u=[],c=0,p=r.length;ci[1])return null;a=l[c],o=t[1]-(r[c]-i[0])/s;var d=new wn(a,o);d.style=Kn.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,c,r[c]),d.highlightStyle=Kn.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(d.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(d.clickable=e.pointClickAble),d.refDataID=this.data.id,d.dataInfo={field:this.fields[c],value:r[c]},u.push(this.shapeFactory.createShape(d));var f=[a,o];h.push(f)}var m=new En(h);m.style=Kn.ShapeStyleTool({strokeColor:"#ee9900"},e.lineStyle),m.clickable=!1,m.hoverable=!1;var y=this.shapeFactory.createShape(m);this.shapes.push(y),this.shapes=this.shapes.concat(u),this.shapesConvertToRelativeCoordinate()}}}}calculateXShapeInfo(){var e,t=this.dataViewBox,i=this.setting,s=this.dataValues.length;if(s<1)return null;var r=[],n=this.DVBWidth,a=0;if(i.xShapeBlank&&i.xShapeBlank.length&&2==i.xShapeBlank.length){var o=n-((e=i.xShapeBlank)[0]+e[1]);if(o<=s)return null;a=o/(s-1)}else e=[a=n/(s+1),a,a];for(var l=0,h=0;hs[1])return;var r=0;for(let e=0;e=360&&(l=359.9999999);var d=new Ln(a[0],a[1],u,o,l);if(void 0===e.sectorStyleByFields){var f=c%t.length;d.style=Kn.ShapeStyleTool(null,e.sectorStyle,t,null,f)}else d.style=Kn.ShapeStyleTool(null,e.sectorStyle,e.sectorStyleByFields,e.sectorStyleByCodomain,c,i[c]);d.highlightStyle=Kn.ShapeStyleTool(null,e.sectorHoverStyle),void 0!==e.sectorHoverAble&&(d.hoverable=e.sectorHoverAble),void 0!==e.sectorClickAble&&(d.clickable=e.sectorClickAble),d.refDataID=this.data.id,d.dataInfo={field:this.fields[c],value:i[c]},this.shapes.push(this.shapeFactory.createShape(d)),o=l}this.shapesConvertToRelativeCoordinate()}}}};s.Feature.Theme.Point=class extends $n{constructor(e,t,i,s,r,n){super(e,t,i,s,r,n),this.CLASS_NAME="SuperMap.Feature.Theme.Point"}destroy(){super.destroy()}assembleShapes(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,15,15,15]:e.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var t=this.dataViewBox,i=this.DVBCodomain;this.DVBUnitValue=(i[1]-i[0])/this.DVBHeight;var s=this.DVBUnitValue,r=this.dataValues,n=this.calculateXShapeInfo();if(n){var a,o,l=n.xPositions;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(Kn.Background(this.shapeFactory,this.chartBox,e)),this.shapes=this.shapes.concat(Kn.GraphAxis(this.shapeFactory,t,e,n));for(var h=0,u=r.length;hi[1])return null;a=l[h],o=t[1]-(r[h]-i[0])/s;var c=new wn(a,o);c.style=Kn.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,h,r[h]),c.highlightStyle=Kn.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(c.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(c.clickable=e.pointClickAble),c.refDataID=this.data.id,c.dataInfo={field:this.fields[h],value:r[h]},this.shapes.push(this.shapeFactory.createShape(c))}this.shapesConvertToRelativeCoordinate()}}}calculateXShapeInfo(){var e,t=this.dataViewBox,i=this.setting,s=this.dataValues.length;if(s<1)return null;var r=[],n=this.DVBWidth,a=0;if(i.xShapeBlank&&i.xShapeBlank.length&&2==i.xShapeBlank.length){var o=n-((e=i.xShapeBlank)[0]+e[1]);if(o<=s)return null;a=o/(s-1)}else e=[a=n/(s+1),a,a];for(var l=0,h=0;hs[1])return;var r=0;for(let e=0;e=0&&t.innerRingRadius0){var h=n[n.length-1];if(Math.abs(h[0]-s[0])<=a&&Math.abs(h[1]-s[1])<=a)continue}n.push(s)}if(n.length<2)return null;var u=new Object;(u=fe.copyAttributesWithClip(u,this.style,["pointList"])).pointList=n;var c=new Wn({style:u,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(c.highlightStyle=this.highlightStyle),c.refOriginalPosition=this.location,c.refDataID=this.data.id,c.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&fe.copyAttributesWithClip(c,this.shapeOptions),this.shapes.push(c)}multiPointToTF(e){for(var t=e.components,i=[],s=[],r=this.location,n=[],a=this.nodesClipPixel,o=0;o0){var h=n[n.length-1];if(Math.abs(h[0]-s[0])<=a&&Math.abs(h[1]-s[1])<=a)continue}n.push(s);var u=new Object;u.r=6,(u=fe.copyAttributesWithClip(u,this.style)).x=s[0],u.y=s[1];var c=new Vn({style:u,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(c.highlightStyle=this.highlightStyle),c.refOriginalPosition=r,c.refDataID=this.data.id,c.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&fe.copyAttributesWithClip(c,this.shapeOptions),this.shapes.push(c)}}multiLineStringToTF(e){for(var t=e.components,i=0;i0){var p=n[n.length-1];if(Math.abs(p[0]-s[0])<=l&&Math.abs(p[1]-s[1])<=l)continue}n.push(s)}}else{a=[];for(var d=0;d0){var f=a[a.length-1];if(Math.abs(f[0]-s[0])<=l&&Math.abs(f[1]-s[1])<=l)continue}a.push(s)}}a.length<2||o.push(a)}if(!(n.length<2)){var m={};(m=fe.copyAttributesWithClip(m,this.style,["pointList"])).pointList=n;var y=new qn({style:m,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(y.highlightStyle=this.highlightStyle),y.refOriginalPosition=this.location,y.refDataID=this.data.id,y.isHoverByRefDataID=this.isMultiHover,o.length>0&&(y.holePolygonPointLists=o),this.shapeOptions&&fe.copyAttributesWithClip(y,this.shapeOptions),this.shapes.push(y)}}rectangleToTF(e){var t=this.location,i=new me(e.x,e.y),s=this.layer.map.getResolution(),r=this.getLocalXY(i),n=new Object;n.r=6,(n=fe.copyAttributesWithClip(n,this.style)).x=r[0]-t[0],n.y=r[1]-t[1]-2*e.width/s,n.width=e.width/s,n.height=e.height/s;var a=new Qn({style:n,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(a.highlightStyle=this.highlightStyle),a.refOriginalPosition=t,a.refDataID=this.data.id,a.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&fe.copyAttributesWithClip(a,this.shapeOptions),this.shapes.push(a)}geoTextToTF(e){var t=this.location,i=this.getLocalXY(e),s=new Object;s.r=6,(s=fe.copyAttributesWithClip(s,this.style,["x","y","text"])).x=i[0]-t[0],s.y=i[1]-t[1],s.text=e.text;var r=new Hn({style:s,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(r.highlightStyle=this.highlightStyle),r.refOriginalPosition=t,r.refDataID=this.data.id,r.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&fe.copyAttributesWithClip(r,this.shapeOptions),this.shapes.push(r)}updateAndAddShapes(){var e=this.getLocalXY(this.lonlat);this.location=e;for(var t=this.layer.renderer,i=0,s=this.shapes.length;i0}addRoot(e){e instanceof ia&&e.addChildrenToStorage(this),this.addToMap(e),this._roots.push(e)}delRoot(e){if(void 0===e){for(var t=0;t=0&&(this.delFromMap(r.id),this._roots.splice(n,1),r instanceof ia&&r.delChildrenFromStorage(this))}}addToMap(e){return e instanceof ia&&(e._storage=this),e.modSelf(),this._elements[e.id]=e,this}get(e){return this._elements[e]}delFromMap(e){var t=this._elements[e];return t&&(delete this._elements[e],t instanceof ia&&(t._storage=null)),this}dispose(){this._elements=null,this._roots=null,this._hoverElements=null}static shapeCompareFunc(e,t){return e.zlevel==t.zlevel?e.z==t.z?e.__renderidx-t.__renderidx:e.z-t.z:e.zlevel-t.zlevel}}class ra{constructor(e,t){this.root=e,this.storage=t,this._domRoot=null,this._layers={},this._zlevelList=[],this._layerConfig={},this._bgDom=null,this.shapeToImage=null,ra.devicePixelRatio=Math.max(window.devicePixelRatio||1,1),this.CLASS_NAME="SuperMap.LevelRenderer.Painter",this.root.innerHTML="",this._width=this._getWidth(),this._height=this._getHeight();var i=document.createElement("div");this._domRoot=i,i.style.position="relative",i.style.overflow="hidden",i.style.width=this._width+"px",i.style.height=this._height+"px",this.root.appendChild(i),this.shapeToImage=this._createShapeToImageProcessor(),this._bgDom=ra.createDom(fe.createUniqueID("SuperMap.Theme_background_"),"div",this),i.appendChild(this._bgDom),this._bgDom.onselectstart=n,this._bgDom.style["-webkit-user-select"]="none",this._bgDom.style["user-select"]="none",this._bgDom.style["-webkit-touch-callout"]="none";var s=new na(fe.createUniqueID("_highLightLayer_"),this);this._layers.hover=s,i.appendChild(s.dom),s.initContext(),s.dom.onselectstart=n,s.dom.style["-webkit-user-select"]="none",s.dom.style["user-select"]="none",s.dom.style["-webkit-touch-callout"]="none";var r=this;function n(){return!1}this.updatePainter=function(e,t){r.refreshShapes(e,t)}}destroy(){this.dispose(),this._zlevelList=null,this._layerConfig=null,this._bgDom=null,this.shapeToImage=null}render(e){return this.refresh(e,!0),this}refresh(e,t){var i=this.storage.getShapeList(!0);return this._paintList(i,t),"function"==typeof e&&e(),this}_paintList(e,t){var i,s,r;for(var n in void 0===t&&(t=!1),this._updateLayerStatus(e),this._layers)"hover"!==n&&(this._layers[n].unusedCount++,this._layers[n].updateTransform());for(var a=[],o=0,l=e.length;o0&&e>this._zlevelList[0]){for(r=0;re);r++);s=this._layers[this._zlevelList[r]]}this._zlevelList.splice(r+1,0,e),t=new na(fe.createUniqueID("_levelLayer_"+e),this);var n=s?s.dom:this._bgDom;n.nextSibling?n.parentNode.insertBefore(t.dom,n.nextSibling):n.parentNode.appendChild(t.dom),t.initContext(),this._layers[e]=t,this._layerConfig[e]&&(new Fn).merge(t,this._layerConfig[e],!0),t.updateTransform()}return t}getLayers(){return this._layers}_updateLayerStatus(e){var t=this._layers,i={};for(let e in t)"hover"!==e&&(i[e]=t[e].elCount,t[e].elCount=0);for(let i=0;i0?1.1:1/1.1,i=this.painter.getLayers(),s=!1;for(var r in i)if("hover"!==r){var n=i[r],a=n.position;if(n.zoomable){n.__zoom=n.__zoom||1;var o=n.__zoom;o*=t,t=(o=Math.max(Math.min(n.maxZoom,o),n.minZoom))/n.__zoom,n.__zoom=o,a[0]-=(this._mouseX-a[0])*(t-1),a[1]-=(this._mouseY-a[1])*(t-1),n.scale[0]*=t,n.scale[1]*=t,n.dirty=!0,s=!0}}s&&this.painter.refresh(),this._dispatchAgency(this._lastHover,Gn.EVENT.MOUSEWHEEL,e),this._mousemoveHandler(e)},mousemove:function(e){this._clickThreshold++,e=this._zrenderEventFixed(e),this._lastX=this._mouseX,this._lastY=this._mouseY,this._mouseX=Un.Util_event.getX(e),this._mouseY=Un.Util_event.getY(e);var t=this._mouseX-this._lastX,i=this._mouseY-this._lastY;this._processDragStart(e),this._hasfound=0,this._event=e,this._iterateAndFindHover(),this._hasfound||((!this._draggingTarget||this._lastHover&&this._lastHover!=this._draggingTarget)&&(this._processOutShape(e),this._processDragLeave(e)),this._lastHover=null,this.storage.delHover(),this.painter.clearHover());var s="";if(this._draggingTarget)this.storage.drift(this._draggingTarget.id,t,i),this._draggingTarget.modSelf(),this.storage.addHover(this._draggingTarget);else if(this._isMouseDown){var r=this.painter.getLayers(),n=!1;for(var a in r)if("hover"!==a){var o=r[a];o.panable&&(s="move",o.position[0]+=t,o.position[1]+=i,n=!0,o.dirty=!0)}n&&this.painter.refresh()}this._draggingTarget||this._hasfound&&this._lastHover.draggable?s="move":this._hasfound&&this._lastHover.clickable&&(s="pointer"),this.root.style.cursor=s,this._dispatchAgency(this._lastHover,Gn.EVENT.MOUSEMOVE,e),(this._draggingTarget||this._hasfound||this.storage.hasHoverShape())&&this.painter.refreshHover()},mouseout:function(e){var t=(e=this._zrenderEventFixed(e)).toElement||e.relatedTarget;if(t!=this.root)for(;t&&9!=t.nodeType;){if(t==this.root)return void this._mousemoveHandler(e);t=t.parentNode}e.zrenderX=this._lastX,e.zrenderY=this._lastY,this.root.style.cursor="",this._isMouseDown=0,this._processOutShape(e),this._processDrop(e),this._processDragEnd(e),this.painter.refreshHover(),this.dispatch(Gn.EVENT.GLOBALOUT,e)},mousedown:function(e){if(this._clickThreshold=0,2==this._lastDownButton)return this._lastDownButton=e.button,void(this._mouseDownTarget=null);this._lastMouseDownMoment=new Date,e=this._zrenderEventFixed(e),this._isMouseDown=1,this._mouseDownTarget=this._lastHover,this._dispatchAgency(this._lastHover,Gn.EVENT.MOUSEDOWN,e),this._lastDownButton=e.button},mouseup:function(e){e=this._zrenderEventFixed(e),this.root.style.cursor="",this._isMouseDown=0,this._mouseDownTarget=null,this._dispatchAgency(this._lastHover,Gn.EVENT.MOUSEUP,e),this._processDrop(e),this._processDragEnd(e)},touchstart:function(e){e=this._zrenderEventFixed(e,!0),this._lastTouchMoment=new Date,this._mobildFindFixed(e),this._mousedownHandler(e)},touchmove:function(e){e=this._zrenderEventFixed(e,!0),this._mousemoveHandler(e),this._isDragging&&Un.Util_event.stop(e)},touchend:function(e){e=this._zrenderEventFixed(e,!0),this._mouseupHandler(e);var t=new Date;t-this._lastTouchMoment=0;r--){var n=i[r];if(void 0!==n.zlevel&&(e=this.painter.getLayer(n.zlevel,e),s[0]=this._mouseX,s[1]=this._mouseY,e.needTransform&&(Un.Util_matrix.invert(t,e.transform),Un.Util_vector.applyTransform(s,s,t))),this._findHover(n,s[0],s[1]))break}}_mobildFindFixed(e){var t=[{x:10},{x:-20},{x:10,y:10},{y:-20}];this._lastHover=null,this._mouseX=e.zrenderX,this._mouseY=e.zrenderY,this._event=e,this._iterateAndFindHover();for(var i=0;!this._lastHover&&i=0&&this._clips.splice(t,1)}_update(){var e=(new Date).getTime(),t=e-this._time,i=this._clips,s=i.length,r=[],n=[];for(let t=0;t=0&&!(m[S]<=a);S--);S=Math.min(S,h-2)}else{for(S=M;Sa);S++);S=Math.min(S-1,h-2)}M=S,w=a;var o=m[S+1]-m[S];if(0!==o){if(b=(a-m[S])/o,n)if(_=y[S],x=y[0===S?S:S-1],C=y[S>h-2?h-1:S+1],T=y[S>h-3?h-1:S+2],c)ha._catmullRomInterpolateArray(x,_,C,T,b,b*b,b*b*b,s(e,l),d);else{let t;t=p?ha.rgba2String(E):ha._catmullRomInterpolate(x,_,C,T,b,b*b,b*b*b),i(e,l,t)}else if(c)ha._interpolateArray(y[S],y[S+1],b,s(e,l),d);else{let t;p?(ha._interpolateArray(y[S],y[S+1],b,E,1),t=ha.rgba2String(E)):t=ha._interpolateNumber(y[S],y[S+1],b),i(e,l,t)}for(S=0;Sthis.bounds.max.x?this.bounds.max.x:e.x,e.y=e.ythis.bounds.max.y?this.bounds.max.y:e.y);var i=this._proj.inverse([e.x,e.y]);return new fa.a.LatLng(i[1],i[0],t)},_projFromCodeDef:function(e,t){if(t)ba.a.defs(e,t);else if(void 0===ba.a.defs[e]){var i=e.split(":");if(i.length>3&&(e=i[i.length-3]+":"+i[i.length-1]),void 0===ba.a.defs[e])throw"No projection definition for code "+e}return ba()(e)},getUnits:function(){return this._proj.oProj.units||"degrees"}});var xa=fa.a.Class.extend({includes:fa.a.CRS,options:{transformation:new fa.a.Transformation(1,0,-1,0)},initialize:function(e,t){var i,s,r;if(fa.a.Proj._isProj4Obj(e)?(i=(s=e).srsCode,t=t||{},this.projection=new fa.a.Proj.Projection(s,t.bounds)):(i=e,r=(t=t||{}).def||"",this.projection=new fa.a.Proj.Projection(i,r,t.bounds)),fa.a.Util.setOptions(this,t),this.code=i,this.transformation=this.options.transformation,this.options.bounds&&(this.options.bounds=fa.a.bounds(this.options.bounds)),!this.options.origin&&this.options.bounds&&(this.options.origin=[this.options.bounds.min.x,this.options.bounds.max.y]),this.options.origin&&(this.options.origin instanceof fa.a.Point&&(this.options.origin=[this.options.origin.x,this.options.origin.y]),this.transformation=new fa.a.Transformation(1,-this.options.origin[0],-1,this.options.origin[1])),this.options.scales&&this.options.scales.length>0)this.scales=this.options.scales,this._scales=this._toProj4Scales(this.options.scales,this.options.dpi);else if(this.options.scaleDenominators&&this.options.scaleDenominators.length>0){this.scales=[];for(let e=0;e0){this._scales=[];for(let e=this.options.resolutions.length-1;e>=0;e--)this.options.resolutions[e]&&(this._scales[e]=1/this.options.resolutions[e])}else this.options.bounds&&(this._scales=this._getDefaultProj4ScalesByBounds(this.options.bounds));this._rectify(),this.infinite=!this.options.bounds},_rectify:function(){if(this._scales&&(this.resolutions||(this.resolutions=[],this.resolutions=this._proj4ScalesToResolutions(this._scales)),!this.scales)){this.scales=[];for(let t=0;tLeaflet\n with © SuperMap iClient",Common:{attribution:"Map Data © SuperMap iServer"},Online:{attribution:"Map Data © SuperMap Online"},ECharts:{attribution:"© 2017 百度 ECharts"},MapV:{attribution:"© 2017 百度 MapV "},Turf:{attribution:"© turfjs"},Baidu:{attribution:"Map Data © 2017 Baidu - GS(2016)2089号 - Data © 长地万方"},Cloud:{attribution:"Map Data ©2014 SuperMap - GS(2014)6070号-data©Navinfo"},Tianditu:{attribution:"Map Data "}};fa.a.supermap=fa.a.supermap||{},fa.a.supermap.control=fa.a.supermap.control||{},fa.a.Control.Attribution.include({options:{position:"bottomright",prefix:Pa.Prefix}});var La=fa.a.Evented.extend({options:{url:null,proxy:null,serverType:null,withCredentials:!1},initialize:function(e,t){e&&(e=e.indexOf("/")!==e.length-1?e:e.substr(0,e.length-1)),this.url=e,fa.a.setOptions(this,t),this.fire("initialized",this)},destroy:function(){this.fire("destroy",this)}});fa.a.supermap.ServiceBase=La;var Na=La.extend({options:{projection:null},initialize:function(e,t){t=t||{},fa.a.setOptions(this,t),t.projection&&(this.options.projection=t.projection),La.prototype.initialize.call(this,e,t)},getMapInfo:function(e){var t=this;new Qs(t.url,{proxy:t.options.proxy,withCredentials:t.options.withCredentials,serverType:t.options.serverType,eventListeners:{scope:t,processCompleted:e,processFailed:e},projection:t.options.projection}).processAsync()},getTilesets:function(e){var t=this;new qr(t.url,{proxy:t.options.proxy,withCredentials:t.options.withCredentials,serverType:t.options.serverType,eventListeners:{scope:t,processCompleted:e,processFailed:e}}).processAsync()}}),Ia=function(e,t){return new Na(e,t)};fa.a.supermap.mapService=Ia;var Oa=fa.a.Control.extend({options:{layer:null,position:"topleft",title:"switch tile version",tooltip:"top",collapsed:!0,nextText:"+",lastText:"-",ico:"V",orientation:"horizontal",switch:!0},onAdd:function(){"vertical"!==this.options.orientation&&(this.options.orientation="horizontal");var e=this._initLayout();return this.options.layer&&this.setLayer(this.options.layer),e},setContent:function(e){var t=fa.a.Util.extend({},e);this.setVersionName(t.desc).setToolTip(t.desc)},setVersionName:function(e){var t=e;return e||(t=this.getValue()),this._sliderValue.innerHTML=t,this},setToolTip:function(e){return this.tooltip.innerHTML=e,this},updateLength:function(e){e>0&&(this.length=e,this.max=this.length-1,this.slider.setAttribute("max",this.max))},setLayer:function(e){e&&(this.options.layer=e);var t=this,i=t.options.layer;i.on("tilesetsinfoloaded",function(e){var i=e&&e.tileVersions;t.update(i)}),i.on("tileversionschanged",function(e){var i=e&&e.tileVersion;t.setContent(i)}),t.getTileSetsInfo()},update:function(e){this.tileVersions=e,this.updateLength(this.tileVersions.length)},getTileSetsInfo:function(){var e=this;e.options.layer&&new Na(e.options.layer._url).getTilesets(function(t){e.options.layer.setTileSetsInfo(t.result)})},removeLayer:function(){this.options.layer=null},nextTilesVersion:function(){return this.firstLoad?(this.options.layer.nextTilesVersion(),this.firstLoad=!1,this):parseInt(this.slider.value)>this.max-1?this:(this.slider.value=parseInt(this.slider.value)+1,this.options.layer.nextTilesVersion(),this)},lastTilesVersion:function(){return parseInt(this.slider.value)"+i+"",e}});fa.a.Map.mergeOptions({logoControl:!0}),fa.a.Map.addInitHook(function(){!this._logoAdded&&this.options.logoControl&&(!0===this.options.logoControl?this.logoControl=new Fa:this.options.logoControl instanceof fa.a.Control&&(this.logoControl=this.options.logoControl),this.logoControl&&(this.addControl(this.logoControl),this._logoAdded=!0))});var Da=function(e){return new Fa(e)};fa.a.supermap.control.logo=Da;class ka{static toSuperMapBounds(e){return e instanceof fa.a.LatLngBounds?new ye(e.getSouthWest().lng,e.getSouthWest().lat,e.getNorthEast().lng,e.getNorthEast().lat):e instanceof fa.a.Bounds?new ye(e.min.x,e.min.y,e.max.x,e.max.y):this.isArray(e)?new ye(e[0],e[1],e[2],e[3]):new ye}static isArray(e){return"[object Array]"==Object.prototype.toString.call(e)}static toProcessingParam(e){var t={};if(e.length<1)t="";else{for(var i=[],s=0;s1&&(r=[],t.map(function(e){return r.push(e.geometry),e}))),r&&r.geometry?r.geometry:r},Ua=function(e){var t;if(e===p.METER)t=1;else if(e===p.DEGREE)t=2*Math.PI*6378137/360;else if(e===p.KILOMETER)t=.001;else if(e===p.INCH)t=1/.025399999918;else{if(e!==p.FOOT)return t;t=.3048}return t},ja=function(e,t,i){var s=e*t*(1/.0254)*Ua(i);return s=1/s},za=function(e,t,i){var s=e*t*(1/.0254)*Ua(i);return s=1/s},Va=function(e,t,i,s){return s=s||6378137,i=i||"",e>0&&t>0?(e=fa.a.Util.NormalizeScale(e),"degree"===i.toLowerCase()||"degrees"===i.toLowerCase()||"dd"===i.toLowerCase()?254/t/e/(2*Math.PI*s/360)/1e4:254/t/e/1e4):-1},Ha=function(e){return e>1?1/e:e};fa.a.Util.toGeoJSON=Ba,fa.a.Util.toSuperMapGeometry=Ga,fa.a.Util.resolutionToScale=ja,fa.a.Util.scaleToResolution=za,fa.a.Util.getMeterPerMapUnit=Ua,fa.a.Util.GetResolutionFromScaleDpi=Va,fa.a.Util.NormalizeScale=Ha;var Ja=fa.a.TileLayer.extend({url:"http://online{num}.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles={styles}&udt=20150815&scaler=1",options:{minZoom:3,maxZoom:19,bounds:fa.a.latLngBounds(fa.a.latLng(-85.0511287798,-180),fa.a.latLng(85.0511287798,180)),retina:fa.a.Browser.retina,attribution:Pa.Baidu.attribution},initialize:function(e,t){e&&(this.url=e),fa.a.setOptions(this,t),this.options.retina&&(this.options.maxZoom=18),fa.a.stamp(this)},getTileUrl:function(e){var t=fa.a.Util.template(this.url,{num:Math.abs((e.x+e.y)%8)+1,x:e.x,y:-e.y-1,z:this._getZoomForUrl(),styles:this.options.retina?"ph":"pl"});return this.options.tileProxy&&(t=this.options.tileProxy+encodeURIComponent(t)),t}}),qa=function(e,t){return new Ja(e,t)};fa.a.supermap.baiduTileLayer=qa;var Wa=fa.a.TileLayer.extend({defaultURL:"http://t2.supermapcloud.com/FileService/image",options:{mapName:"quanguo",type:"web",minZoom:3,maxZoom:18,attribution:Pa.Cloud.attribution},initialize:function(e,t){fa.a.setOptions(this,t);var i=e||this.defaultURL;this._url=i+"?map="+this.options.mapName+"&type="+this.options.type,fa.a.stamp(this)},getTileUrl:function(e){var t=this._url+"&x="+e.x+"&y="+e.y+"&z="+e.z;return this.options.tileProxy&&(t=this.options.tileProxy+encodeURIComponent(t)),t}}),Ya=function(e,t){return new Wa(e,t)};fa.a.supermap.cloudTileLayer=Ya;var Qa=da.Layer.extend({options:{layersID:null,redirect:!1,transparent:null,cacheEnabled:null,clipRegionEnabled:!0,prjCoordSys:null,overlapDisplayed:!1,overlapDisplayedOptions:null,opacity:1,alt:"",pane:"tilePane",interactive:!1,crossOrigin:!1,errorOverlayUrl:!1,zIndex:1,className:"",serverType:n.ISERVER,attribution:Pa.Common.attribution,updateInterval:150,format:"png"},initialize:function(e,t){this._url=e,da.Util.setOptions(this,t)},onAdd:function(e){this.update=da.Util.throttle(this.update,this.options.updateInterval,this),e.on("moveend",this.update,this),this._currentImage&&this._currentImage._bounds.equals(this._map.getBounds())?e.addLayer(this._currentImage):this._currentImage&&(this._map.removeLayer(this._currentImage),this._currentImage=null),this.update()},onRemove:function(e){this._currentImage&&this._map.removeLayer(this._currentImage),this._map.off("moveend",this.update,this)},bringToFront:function(){return this.options.position="front",this._currentImage&&this._currentImage.bringToFront(),this},bringToBack:function(){return this.options.position="back",this._currentImage&&this._currentImage.bringToBack(),this},getOpacity:function(){return this.options.opacity},setOpacity:function(e){return this.options.opacity=e,this._currentImage&&this._currentImage.setOpacity(e),this},getImageUrl:function(e){var t=da.Util.getParamString(e)+this._initLayerUrl();return t=this._url+"/image."+this.options.format+t,t=this._appendCredential(t),this.options.tileProxy&&(t=this.options.tileProxy+encodeURIComponent(t)),t},_getImageParams:function(){var e=this._calculateImageSize();return{viewBounds:this._compriseBounds(this._calculateBounds()),width:e.x,height:e.y}},_initLayerUrl:function(){var e="&";return e+=encodeURI(this._initAllRequestParams().join("&"))},_initAllRequestParams:function(){var e=this.options||{},t=[],i=!0===e.redirect&&e.redirect;t.push("redirect="+i);var s=!0===e.transparent&&e.transparent;t.push("transparent="+s);var r=!1!==e.cacheEnabled||e.cacheEnabled;return t.push("cacheEnabled="+r),e.prjCoordSys&&t.push("prjCoordSys="+JSON.stringify(e.prjCoordSys)),e.layersID&&t.push("layersID="+e.layersID),e.clipRegionEnabled&&e.clipRegion instanceof fa.a.Path&&(e.clipRegion=fa.a.Util.toSuperMapGeometry(e.clipRegion.toGeoJSON()),e.clipRegion=fe.toJSON(Mt.fromGeometry(e.clipRegion)),t.push("clipRegionEnabled="+e.clipRegionEnabled),t.push("clipRegion="+JSON.stringify(e.clipRegion))),!1===e.overlapDisplayed?(t.push("overlapDisplayed=false"),e.overlapDisplayedOptions&&t.push("overlapDisplayedOptions="+this.overlapDisplayedOptions.toString())):t.push("overlapDisplayed=true"),t},_requestImage:function(e,t){var i=this.getImageUrl(e);this._loadImage(i,t)},_loadImage:function(e,t){if(this._map){var i=new da.ImageOverlay(e,t,{opacity:0,alt:this.options.alt,zIndex:this.options.zIndex,className:this.options.className,errorOverlayUrl:this.options.error,crossOrigin:this.options.crossOrigin,pane:this.options.pane||this.getPane(),interactive:this.options.interactive}).addTo(this._map),s=function(e){i.off("error",s,this);var r=this._map;if(r){var n=e.target,a=this._currentImage;n._bounds&&n._bounds.equals(t)&&n._bounds.equals(r.getBounds())?(this._currentImage=n,"front"===this.options.position&&this.bringToFront(),"back"===this.options.position&&this.bringToBack(),this._currentImage._map&&this._currentImage.setOpacity(this.options.opacity),a&&r.removeLayer(a),a&&a._map&&a._map.removeLayer(a)):r.removeLayer(n),this.fire("load",{bounds:t})}};i.once("load",s,this),i.once("error",function(){this._map.removeLayer(i),this.fire("error"),i.off("load",s,this)},this),this.fire("loading",{bounds:t})}},update:function(){if(this._map){var e=this._map.getZoom(),t=this._map.getBounds();if(e>this._map.options.maxZoom||e0||a1){var h=parseInt(l[1]);o=h&&h>=4e3&&h<=5e3?p.DEGREE:p.METER}}return ja(a,96,o)},setTileSetsInfo:function(e){this.tileSets=e,fa.a.Util.isArray(this.tileSets)&&(this.tileSets=this.tileSets[0]),this.tileSets&&(this.fire("tilesetsinfoloaded",{tileVersions:this.tileSets.tileVersions}),this.changeTilesVersion())},lastTilesVersion:function(){this.tempIndex=this.tileSetsIndex-1,this.changeTilesVersion()},nextTilesVersion:function(){this.tempIndex=this.tileSetsIndex+1,this.changeTilesVersion()},changeTilesVersion:function(){var e=this;if(null!=e.tileSets&&!(e.tempIndex===e.tileSetsIndex||this.tempIndex<0)){var t=e.tileSets.tileVersions;if(t&&e.tempIndex=0){var i=t[e.tempIndex].name;e.mergeTileVersionParam(i)&&(e.tileSetsIndex=e.tempIndex,e.fire("tileversionschanged",{tileVersion:t[e.tempIndex]}))}}},updateCurrentTileSetsIndex:function(e){this.tempIndex=e},mergeTileVersionParam:function(e){return!!e&&(this.requestParams.tileversion=e,this._paramsChanged=!0,this.redraw(),this._paramsChanged=!1,!0)},_getLayerUrl:function(){return this._paramsChanged&&(this._layerUrl=this._createLayerUrl()),this._layerUrl||this._createLayerUrl()},_createLayerUrl:function(){var e=this._url+"/tileImage."+this.options.format+"?";return e+=encodeURI(this._getRequestParamString()),e=this._appendCredential(e),this._layerUrl=e,e},_getRequestParamString:function(){this.requestParams=this.requestParams||this._getAllRequestParams();var e=[];for(var t in this.requestParams)e.push(t+"="+this.requestParams[t]);return e.join("&")},_getAllRequestParams:function(){var e=this.options||{},t={},i=this.options.tileSize;i instanceof fa.a.Point||(i=fa.a.point(i,i)),t.width=i.x,t.height=i.y,t.redirect=!0===e.redirect,t.transparent=!0===e.transparent,t.cacheEnabled=!(!1===e.cacheEnabled),e.prjCoordSys&&(t.prjCoordSys=JSON.stringify(e.prjCoordSys)),e.layersID&&(t.layersID=e.layersID.toString()),e.clipRegionEnabled&&e.clipRegion instanceof fa.a.Path&&(e.clipRegion=Ga(e.clipRegion.toGeoJSON()),e.clipRegion=fe.toJSON(Mt.fromGeometry(e.clipRegion)),t.clipRegionEnabled=e.clipRegionEnabled,t.clipRegion=JSON.stringify(e.clipRegion));var s=this._crs;if(s.options&&s.options.origin)t.origin=JSON.stringify({x:s.options.origin[0],y:s.options.origin[1]});else if(s.projection&&s.projection.bounds){var r=s.projection.bounds,n=fa.a.point(r.min.x,r.max.y);t.origin=JSON.stringify({x:n.x,y:n.y})}return!1===e.overlapDisplayed?(t.overlapDisplayed=!1,e.overlapDisplayedOptions&&(t.overlapDisplayedOptions=this.overlapDisplayedOptions.toString())):t.overlapDisplayed=!0,!0===e.cacheEnabled&&e.tileversion&&(t.tileversion=e.tileversion.toString()),t},_appendCredential:function(e){var t,i,s=e;switch(this.options.serverType){case n.IPORTAL:(t=(i=We.getToken(this._url))?new Pe(i,"token"):null)||(t=(i=We.getKey(this._url))?new Pe(i,"key"):null);break;case n.ONLINE:t=(i=We.getKey(this._url))?new Pe(i,"key"):null;break;default:t=(i=We.getToken(this._url))?new Pe(i,"token"):null}return t&&(s+="&"+t.getUrlParameters()),s}}),io=function(e,t){return new to(e,t)};fa.a.supermap.tiledMapLayer=io;var so=i(15),ro=i.n(so),no={TEXT:{fontSize:"14px",fontFamily:"Arial Unicode MS Regular,Microsoft YaHei",textAlign:"left",color:"rgba(255,255,255,0)",fillColor:"rgba(80,80,80,1)",weight:1,globalAlpha:1},POINT:{fillColor:"#ffcc00",color:"#cc3333",weight:1,radius:3,opacity:1},LINE:{color:"rgba(0,0,0,0)",weight:1,lineCap:"butt",lineJoin:"round",dashOffset:0,dashArray:[],opacity:1},REGION:{color:"rgba(0,0,0,0)",fillColor:"rgba(0,0,0,0)",weight:1,lineCap:"butt",lineJoin:"round",dashOffset:0,opacity:1,fillOpacity:1,dashArray:[]}};fa.a.supermap.DefaultStyle=no;var ao={TEXT:{"text-size":"fontSize","text-face-name":"fontFamily","text-align":"textAlign","text-name":"textName","text-weight":"fontWeight","text-halo-color":"color","text-fill":"fillColor","text-comp-op":"globalCompositeOperation"},POINT:{"point-file":"iconUrl","point-fill":"fillColor","point-radius":"radius","point-halo-color":"color","point-comp-op":"globalCompositeOperation"},LINE:{"line-color":"color","line-width":"weight","line-cap":"lineCap","line-join":"lineJoin","line-dash-offset":"dashOffset","line-opacity":"opacity","line-dasharray":"dashArray","line-comp-op":"globalCompositeOperation"},REGION:{"line-color":"color","line-width":"weight","line-cap":"lineCap","line-join":"lineJoin","line-dash-offset":"dashOffset","line-opacity":"opacity","line-dasharray":"dashArray","polygon-fill":"fillColor","polygon-opacity":"fillOpacity","polygon-comp-op":"globalCompositeOperation"}},oo={lineWidth:{leafletStyle:"weight",type:"number",unit:"mm",defaultValue:.1},fillForeColor:{leafletStyle:"fillColor",type:"color",defaultValue:"rgba(0,0,0,0)"},foreColor:{leafletStyle:"color",type:"color",defaultValue:"rgba(0,0,0,0)"},markerSize:{leafletStyle:"markerSize",type:"number",unit:"mm",defaultValue:2.4},lineColor:{leafletStyle:"color",type:"color",defaultValue:"#000000"}},lo={clear:"",src:"",dst:"","src-over":"source-over","dst-over":"destination-over","src-in":"source-in","dst-in":"destination-in","src-out":"source-out","dst-out":"destination-out","src-atop":"source-atop","dst-atop":"destination-atop",xor:"xor",plus:"lighter",minus:"",multiply:"",screen:"",overlay:"",darken:"",lighten:"lighter","color-dodge":"","color-burn":"","hard-light":"","soft-light":"",difference:"",exclusion:"",contrast:"",invert:"","invert-rgb":"","grain-merge":"","grain-extract":"",hue:"",saturation:"",color:"",value:""};fa.a.supermap.CartoStyleMap=ao,fa.a.supermap.ServerStyleMap=oo,fa.a.supermap.CompOpMap=lo;class ho{constructor(e){this.cartoCSS=null,this.mapUrl=e}pretreatedCartoCSS(e,t){t&&(e=this.processCharacters(e)),this.cartoCSS=this.cartoCSS||{};var i=new Cn(e).getShaders();if(i)for(var s=0;s7?0:n.fillSymbolID,c=n.lineSymbolID>5?0:n.lineSymbolID;for(var p in n){var d=oo[p];if(d){var f=d.leafletStyle;switch(d.type){case"number":{let e=n[p];d.unit&&(e=e*s.DOTS_PER_INCH*s.INCHES_PER_UNIT[d.unit]*2.5),r[f]=e;break}case"color":{var m=n[p];let e,t=1;if("fillColor"===f)0!==u&&1!==u||(t=1-u,e="rgba("+m.red+","+m.green+","+m.blue+","+t+")");else if("color"===f){if(0===c||5===c)t=0===c?1:0;else{var y=[1,0];switch(c){case 1:y=[9.7,3.7];break;case 2:y=[3.7,3.7];break;case 3:y=[9.7,3.7,2.3,3.7];break;case 4:y=[9.7,3.7,2.3,3.7,2.3,3.7]}r.lineDasharray=y}e="rgba("+m.red+","+m.green+","+m.blue+","+t+")"}r[f]=e;break}}}}return t&&t.textField&&(r.textAlign="LEFT"),r}}fa.a.supermap.CartoCSSToLeaflet=ho;var uo=fa.a.Class.extend({initialize:function(e){var t=(e=e||{}).latLng||e._latLng;this._latLng=fa.a.latLng(t.lat,t.lng),this._style=e.style||e._canvas,this._attributes=e.attributes},setLatLng:function(e){this._latLng=e},setCanvas:function(e){this._style=e},setAttributes:function(e){this._attributes=e},getLatLng:function(){return this._latLng},getCanvas:function(){return this._style},getAttributes:function(){return this._attributes},setStyle:function(e){this._style=e},getStyle:function(){return this._style}}),co=function(e){return new uo(e)};fa.a.supermap.graphic=co;var po=fa.a.Class.extend({initialize:function(e,t){this.geometry=e,this.attributes=t},toFeature:function(){var e=this.geometry,t=[];if(e instanceof fa.a.Polygon)t=this.reverseLatLngs(e.getLatLngs()),e=new Ee(t);else if(e instanceof fa.a.Polyline)t=this.reverseLatLngs(e.getLatLngs()),e=new _e(t);else if(3===e.length)e=new Ce(e[1],e[0],e[2]);else{if(e instanceof fa.a.LatLng)t=[e.lng,e.lat];else if(e instanceof fa.a.Point)t=[e.x,e.y];else if(e instanceof fa.a.CircleMarker){var i=e.getLatLng();t=[i.lng,i.lat]}else t=e;2===t.length&&(e=new xe(t[0],t[1]))}return new Oe(e,this.attributes)},reverseLatLngs:function(e){fa.a.Util.isArray(e)||(e=[e]);for(var t=0;t0&&t._reset(),t.addTFEvents(),t.mouseMoveHandler=function(e){var i=e.layerPoint;t.currentMousePosition=fa.a.point(i.x+t.movingOffset[0],i.y+t.movingOffset[1])},e.on("mousemove",t.mouseMoveHandler),t.update()}else e.removeLayer(t)},addFeatures:function(e){},redrawThematicFeatures:function(e){},destroyFeatures:function(e){if(void 0===e&&(e=this.features),e){this.removeFeatures(e);for(var t=e.length-1;t>=0;t--)e[t].destroy()}},removeFeatures:function(e){var t=this;if(e&&0!==e.length){if(e===t.features)return t.removeAllFeatures();fa.a.Util.isArray(e)||(e=[e]);for(var i=[],s=e.length-1;s>=0;s--){var r=e[s],n=fa.a.Util.indexOf(t.features,r);-1!==n?t.features.splice(n,1):i.push(r)}for(var a=[],o=0,l=t.features.length;oh)){var y=o[0];o.splice(0,1),delete a[y]}}}}if(t.renderer.render(),s&&t.options.isHoverAble&&t.options.isMultiHover){var g=this.getShapesByFeatureID(s);this.renderer.updateHoverShapes(g)}},createThematicFeature:function(e){var t=this,i=t.getStyleByData(e);e.style&&t.isAllowFeatureStyle&&(i=fe.copyAttributesWithClip(e.style));var s={};s.nodesClipPixel=t.options.nodesClipPixel,s.isHoverAble=t.options.isHoverAble,s.isMultiHover=t.options.isMultiHover,s.isClickAble=t.options.isClickAble,s.highlightStyle=Kn.transformStyle(t.highlightStyle);for(var r=new ta(e,t,Kn.transformStyle(i),s),n=0;n0;if(t.themeField&&o&&i.attributes){var l=t.themeField,h=i.attributes;for(var u in h)if(l===u){n=!0,a=h[u];break}}if(n&&o)for(var c=0,p=r.length;c0;if(t.themeField&&o&&i.attributes){var l=t.themeField,h=i.attributes;for(var u in h)if(l===u){n=!0,a=h[u];break}}if(n&&o)for(var c=0,p=r.length;c=r[c].start&&a<=r[c].end:a>=r[c].start&&a=0&&d.x<=h.x&&d.y>=0&&d.y<=h.y){if(i.style.minZoomLevel>-1&&u<=i.style.minZoomLevel)continue;if(i.style.maxZoomLevel>-1&&u>i.style.maxZoomLevel)continue;var f=null;i.isStyleChange?(i.isStyleChange=null,f=this.calculateLabelBounds(i,d)):f=i.geometry.bsInfo.w&&i.geometry.bsInfo.h?this.calculateLabelBounds2(i,d):this.calculateLabelBounds(i,d);var m=new ye(0,h.y,h.x,0),y=f.length;if(this.options.isAvoid){var g=this.getAvoidInfo(m,f);if(g){if("left"===g.aspectW){i.style.labelXOffset+=g.offsetX;for(let e=0;e=r[l].start&&a=r[l].start&&ao&&(o=i,l="top")}if(t.y>e.bottom){let i=Math.abs(t.y-e.bottom);i>o&&(o=i,l="bottom")}if(t.xa&&(a=i,h="left")}if(t.x>e.right){let i=Math.abs(t.x-e.right);i>a&&(a=i,h="right")}}}},isQuadrilateralOverLap:function(e,t){var i=e.length,s=t.length;if(5!==i||5!==s)return null;var r=!1;for(let s=0;s=0&&e.options.fontOpacity<1&&(i.globalAlpha=e.options.fontOpacity),i.fillText){i.font=s,i.textAlign=e.options.textAlign,i.textBaseline=e.options.textBaseline;let r=e.options.vfactor,o=i.measureText("Mg").height||i.measureText("xx").width;t.y+=o*r*(a-1);for(let s=0;s0;){var r=t.pop(),n=r.type,a=r.layerType=r.layerType||"BASE_LAYER";"OVERLAY_LAYER"!==a&&(n=a),this.createLayer(n,r)}this.fire("mapLoaded",{map:this._map})}},createCRS:function(e,t,i,s,r){return e<0?new ga({bounds:r,origin:s,resolutions:i}):910112===e||910102===e?fa.a.CRS.BaiduCRS:(910111===e&&(e=3857),910101===e&&(e=4326),fa.a.Proj.CRS("EPSG:"+e,{origin:s,resolutions:i,bounds:r}))},createMap:function(e){var t=e.crs||fa.a.CRS.EPSG3857,i=fa.a.latLngBounds(t.unproject(e.bounds.min),t.unproject(e.bounds.max));this._map=fa.a.map(this.options.map,{center:i.getCenter(),maxZoom:e.maxZoom||22,minZoom:e.minZoom||0,zoom:e.zoom||0,crs:t,renderer:fa.a.canvas()}),t instanceof ga?this._map.setZoom(e.zoom?e.zoom+2:2,{maxZoom:e.maxZoom||22}):this._map.fitBounds(i,{maxZoom:e.maxZoom||22})},getResolutionsFromScales:function(e,t,i,s){for(var r=[],n=0;n{var t=fa.a.geoJSON(e.result,{pointToLayer:function(e,t){var i=new fa.a.Marker(t);return i.setStyle=function(e){e&&i.setIcon(e)},i},coordsToLatLng:a,style:function(e){return this.cartoCSSToLeaflet.getStyleFromiPortalStyle(i||{},e.geometry.type,e.properties.style)},opacity:s});this.options.featureLayerPopupEnable&&t.bindPopup(n.options.featureLayerPopup||n.defaultFeatureLayerPopup),this.addLayer(t)})}},getFeaturesBySQL:function(e,t,i,s,r,n){var a=new $i({queryParameter:{name:i+"@"+t,attributeFilter:s=s||"SMID > 0"},datasetNames:[t+":"+i],fromIndex:0,toIndex:1e5});To(e).getFeaturesBySQL(a,n,r)},createThemeLayer:function(e){var t,i=e.themeSettings&&JSON.parse(e.themeSettings),s=i.type;if(e.themeSettings=i,(t="HEAT"===s?this.createHeatLayer(e,i):"UNIQUE"===s?this.createUniqueLayer(e,i):"RANGE"===s?this.createRangeLayer(e,i):this.createBaseThemeLayer(e,i))&&(this.addFeature2ThemeLayer(e,t),t.on("add",e=>{this.registerThemeEvent(e.target)})),i&&i.labelField){var r=this.createLabelLayer(e,i);r.on("add",e=>{this.registerThemeEvent(e.target)}),t.labelLayer=r}return t},createBaseThemeLayer:function(e,t){let i=e.style,s=e.opacity,r=t.vectorType,n=i.pointStyle;n.fill="LINE"!==r;var a={};a.radius=n.pointRadius,a.color=n.strokeColor,a.opacity=n.strokeOpacity,a.lineCap=n.strokeLineCap,a.weight=n.strokeWidth,a.fillColor=n.fillColor,a.fillOpacity=n.fillOpacity;var o=(e,t)=>fa.a.circleMarker(t,a);return n.unicode&&(o=((e,t)=>new Mo(t,n))),fa.a.geoJSON({type:"GeometryCollection",geometries:[]},{pointToLayer:o,opacity:s})},createUniqueLayer:function(e,t){for(var i=e.title,s=t.field,r=[],n=t.settings,a=e.isVisible,o=e.opacity,l=t.vectorType,h=0;h0?{fillColor:"#ffffff"}:n[0].style;var o=fa.a.Util.extend(new Tn,i);o.fontWeight="bold",o.fontSize="14px",o.labelRect=!0,o.strokeColor=o.fillColor,o.fontColor=t.labelColor,t.labelFont&&(o.fontFamily=t.labelFont);var l=new xo(s,{visibility:a,opacity:.7});return this.registerThemeEvent(l),l.style=o,l.themeField=r,l.styleGroups=[],l},createHeatLayer:function(e,t){let i,s=t.colors||["blue","cyan","lime","yellow","red"],r={};for(let e=0,t=s.length,i=1;e0&&n.push(r[o]);else for(var h=0,u=(r=i.parseFeatureFromJson(s.content)).length;h0&&n.push(r[h]);var c=e.prjCoordSys&&e.prjCoordSys.epsgCode;a?i.changeFeatureLayerEpsgCode(c,"4326",t,n,function(e){A(e)}):A(n)},function(){});else{for(var g=[],v=e.features,S=0,b=v.length;S0){var _=x.geometry.points[0].x,C=x.geometry.points[0].y,T=new xe(_,C),M=new Oe(T,x.attributes,x.style);g.push(M)}}A(g)}}else if(s){var w=e.datasourceName;u=(h=(l=e.subLayers&&JSON.parse(e.subLayers)).length&&l.length>0?l[0]:l)&&h.name,this.getFeaturesBySQL(e.url,w,u,d.filter,r.ISERVER,i=>{var s,r,n=i.result,o=[];if(n&&n.features){for(var l=0,h=(s=n.features).length;l0?l[0]:l)&&h.name;var E=e.prjCoordSys&&e.prjCoordSys.epsgCode;this.getFeaturesBySQL(c,p,u,f,r.ISERVER,function(e){a?i.changeFeatureLayerEpsgCode(E,"4326",t,e,function(e){A(e)}):A(e)})}}function A(s){if(t&&t.labelLayer instanceof xo&&i.addFeature2LabelLayer(t.labelLayer,s,e),fa.a.HeatLayer&&t instanceof fa.a.HeatLayer){var r=[];for(let e=0,i=s.length;e0){for(n=0,a=s.length;n==/g,">=").replace(/<==/g,"<="))+")":" * where (1==1||1>=0)"},getAttributesObjFromTable:function(e,t){if(0!==e.length&&0!==t.length){for(var i=[],s=0;se.json()).then(e=>{t&&t(e)}).catch(e=>i&&i(e))},getCartoCSS2Obj:function(e){var t,i=!1;return e.indexOf("}")>-1?(i=(e=JSON.parse(e)).needTransform,t=e.isAddFile):"needTransform"===e?(i=!0,t=!1):t="true"===e,{isAddFile:t,needTransform:i}},registerThemeEvent:function(e){e.on("click",t=>{if(!e.map)return;let i;this.selectedFeature&&(this.fire("featureUnSelected",{feature:this.selectedFeature}),this.selectedFeature=null),t.target&&t.target.refDataID&&(i=e.getFeatureById(t.target.refDataID)),i&&(this.selectedFeature=i,this.fire("featureSelected",{feature:i}))}),e.on("mousemove",t=>{if(e.map&&t.target&&t.target.refDataID){let i;t.target&&t.target.refDataID&&(i=e.getFeatureById(t.target.refDataID)),i&&this.fire("featureMousemove",{feature:i})}})},SERVER_TYPE_MAP:{"EPSG:4326":"WGS84","EPSG:3857":"MERCATOR","EPSG:900913":"MERCATOR","EPSG:102113":"MERCATOR","EPSG:910101":"GCJ02","EPSG:910111":"GCJ02MERCATOR","EPSG:910102":"BD","EPSG:910112":"BDMERCATOR"}}),Ao=function(e,t){return new Eo(e,t)};fa.a.supermap.webmap=Ao;var Po=La.extend({options:{geometry:null,prjCoordSys:null,excludeField:null},initialize:function(e,t){t=t||{},fa.a.setOptions(this,t),t.projection&&(this.options.prjCoordSys=t.projection),La.prototype.initialize.call(this,e,t),this.dataFlow=new qt(e,t),this.dataFlow.events.on({broadcastSocketConnected:this._defaultEvent,broadcastSocketError:this._defaultEvent,broadcastFailed:this._defaultEvent,broadcastSuccessed:this._defaultEvent,subscribeSocketConnected:this._defaultEvent,subscribeSocketError:this._defaultEvent,messageSuccessed:this._defaultEvent,setFilterParamSuccessed:this._defaultEvent,scope:this})},initBroadcast:function(){return this.dataFlow.initBroadcast(),this},broadcast:function(e){this.dataFlow.broadcast(e)},initSubscribe:function(){return this.dataFlow.initSubscribe(),this},setExcludeField:function(e){return this.dataFlow.setExcludeField(e),this.options.excludeField=e,this},setGeometry:function(e){return this.dataFlow.setGeometry(e),this.options.geometry=e,this},unSubscribe:function(){this.dataFlow.unSubscribe()},unBroadcast:function(){this.dataFlow.unBroadcast()},_defaultEvent:function(e){this.fire(e.eventType||e.type,e)}}),Lo=function(e,t){return new Po(e,t)};fa.a.supermap.dataFlowService=Lo;var No=i(23),Io=No.baiduMapLayer?No.baiduMapLayer.__proto__:Function;class Oo extends Io{constructor(e,t,i,s){if(super(e,i,s),Io){s=s||{},this.init(s),this.argCheck(s),this.canvasLayer=t,this.clickEvent=this.clickEvent.bind(this),this.mousemoveEvent=this.mousemoveEvent.bind(this),this._moveStartEvent=this.moveStartEvent.bind(this),this._moveEndEvent=this.moveEndEvent.bind(this),this._zoomstart=this.zoomStartEvent.bind(this),this.bindEvent()}}clickEvent(e){var t=this.map.containerPointToLayerPoint([0,0]),i=this.devicePixelRatio=this.canvasLayer.devicePixelRatio=window.devicePixelRatio,s=e.layerPoint;super.clickEvent(fa.a.point((s.x-t.x)/i,(s.y-t.y)/i),e)}mousemoveEvent(e){var t=e.layerPoint;super.mousemoveEvent(t,e)}bindEvent(){var e=this.map;this.options.methods&&(this.options.methods.click&&e.on("click",this.clickEvent),this.options.methods.mousemove&&e.on("mousemove",this.mousemoveEvent)),this.map.on("movestart",this._moveStartEvent),this.map.on("moveend",this._moveEndEvent),this.map.on("zoomstart",this._zoomstart)}unbindEvent(){var e=this.map;this.options.methods&&(this.options.methods.click&&e.off("click",this.clickEvent),this.options.methods.mousemove&&e.off("mousemove",this.mousemoveEvent)),this.map.off("movestart",this._moveStartEvent),this.map.off("moveend",this._moveEndEvent),this.map.off("zoomstart",this._zoomStartEvent)}getContext(){return this.canvasLayer.getCanvas().getContext(this.context)}addData(e,t){var i=e;e&&e.get&&(i=e.get()),this.dataSet.add(i),this.update({options:t})}update(e){var t=e||{},i=t.data;i&&i.get&&(i=i.get()),void 0!=i&&this.dataSet.set(i),super.update({options:t.options})}getData(){return this.dataSet}removeData(e){if(this.dataSet){var t=this.dataSet.get({filter:function(t){return null==e||"function"!=typeof e||!e(t)}});this.dataSet.set(t),this.update({options:null})}}clearData(){this.dataSet&&this.dataSet.clear(),this.update({options:null})}_canvasUpdate(e){if(this.canvasLayer){var t=this,i=t.options.animation,s=this.getContext(),r=this.map;if(t.isEnabledTime()){if(void 0===e)return void this.clear(s);"2d"===this.context&&(s.save(),s.globalCompositeOperation="destination-out",s.fillStyle="rgba(0, 0, 0, .1)",s.fillRect(0,0,s.canvas.width,s.canvas.height),s.restore())}else this.clear(s);if("2d"===this.context)for(var n in t.options)s[n]=t.options[n];else s.clear(s.COLOR_BUFFER_BIT);if(!(t.options.minZoom&&r.getZoom()t.options.maxZoom)){var a=r.getBounds(),o=a.getEast()-a.getWest(),l=a.getNorth()-a.getSouth(),h=r.getSize(),u=o/h.x,c=l/h.y,p=r.latLngToLayerPoint(r.getCenter()),d=this.canvasLayer.getTopLeft(),f=r.latLngToAccurateContainerPoint(d),m={transferCoordinate:function(e){var i,s={x:(i="2d"===t.context?r.latLngToAccurateContainerPoint(fa.a.latLng(e[1],e[0])):{x:(e[0]-d.lng)/u,y:(d.lat-e[1])/c}).x-f.x,y:i.y-f.x};return[s.x,s.y]}};void 0!==e&&(m.filter=function(t){var s=i.trails||10;return e&&t.time>e-s&&t.time{this.update({data:this.data,options:this.mapVOptions})})),s.icon=a,(r.options.iconSize||a.style.height)&&(this.mapVOptions.offset={x:0,y:-(r.options.iconSize[1]||a.style.height)/2}),this.options.deg&&(s.deg=this.options.deg,"function"==typeof s.deg&&(s.deg=s.deg(e.featureResult,fa.a.latLng(i.coordinates[1],i.coordinates[0]))))}if(t instanceof fa.a.CircleMarker){this.mapVOptions.draw="simple";const e=this._toMapvStyle(t);for(const t in e)e.hasOwnProperty(t)&&(s[t]=e[t])}}else if(this.options.style){const t=this._toMapvStyle(this.options.style(e.featureResult));for(const e in t)t.hasOwnProperty(e)&&(s[e]=t[e])}void 0==this.idCache[t]?(this.data.push(s),this.idCache[t]=this.data.length-1):this.data[this.idCache[t]]=s,new Date-this._last>200&&(this._last=new Date,this.update({data:this.data,options:this.mapVOptions}))},_toMapvStyle:function(e){const t={draw:"simple"};return t.strokeStyle=e.color,t.lineWidth=e.width,t.globalAlpha=e.fillOpacity||e.opacity,t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.fillStyle=e.fillColor,t.size=e.radius,t}}),ko=fa.a.GeoJSON.extend({initialize:function(e,t){(t=t||{}).style&&!t.pointToLayer&&(t.pointToLayer=function(e,i){return fa.a.circleMarker(i,t.style())}),fa.a.Util.setOptions(this,t),this._layers={},fa.a.stamp(this),this.url=e,this.idCache={}},onMessageSuccessed:function(e){const t=e.featureResult,i=e.featureResult.properties[this.options.idField];let s=null;void 0!==i&&this.idCache[i]?(s=this.getLayer(this.idCache[i]),this._updateLayerData(s,t)):((s=fa.a.GeoJSON.geometryToLayer(t,this.options)).feature=fa.a.GeoJSON.asFeature(t),this.addLayer(s),void 0!==i&&(this.idCache[i]=this.getLayerId(s))),this.options.onEachFeature&&this.options.onEachFeature(t,s)},_updateLayerData:function(e,t){t.properties&&(e.feature.properties=t.properties);var i=[];switch(t.geometry.type){case"Point":i=fa.a.GeoJSON.coordsToLatLng(t.geometry.coordinates),e.setLatLng(i);break;case"LineString":i=fa.a.GeoJSON.coordsToLatLngs(t.geometry.coordinates,0),e.setLatLngs(i);break;case"MultiLineString":case"Polygon":i=fa.a.GeoJSON.coordsToLatLngs(t.geometry.coordinates,1),e.setLatLngs(i);break;case"MultiPolygon":i=fa.a.GeoJSON.coordsToLatLngs(t.geometry.coordinates,2),e.setLatLngs(i)}}}),Bo=fa.a.LayerGroup.extend({options:{geometry:null,prjCoordSys:null,excludeField:null,idField:"id",render:"normal"},initialize:function(e,t){t=t||{},fa.a.Util.setOptions(this,t),this.url=e,this._layers={}},onAdd:function(e){this.dataService=new Po(this.url,{geometry:this.options.geometry,prjCoordSys:this.options.prjCoordSys,excludeField:this.options.excludeField}).initSubscribe(),this.dataService.on("subscribeSocketConnected",e=>this.fire("subscribesuccessed",e)),this.dataService.on("messageSuccessed",e=>this._onMessageSuccessed(e)),this.dataService.on("setFilterParamSuccessed",e=>this.fire("setfilterparamsuccessed",e)),"mapv"===this.options.render?this.addLayer(new Do(this.url,this.options)):this.addLayer(new ko(this.url,this.options)),fa.a.LayerGroup.prototype.onAdd.call(this,e)},onRemove:function(e){fa.a.LayerGroup.prototype.onRemove.call(this,e),this.dataService&&this.dataService.unSubscribe()},setExcludeField:function(e){return this.dataService.setExcludeField(e),this.options.excludeField=e,this},setGeometry:function(e){return this.dataService.setGeometry(e),this.options.geometry=e,this},_onMessageSuccessed:function(e){for(const t of this.getLayers())t.onMessageSuccessed(e),this.fire("dataupdated",{layer:t,data:e.featureResult})}}),Go=function(e,t){return new Bo(e,t)};fa.a.supermap.dataFlowLayer=Go;var Uo=i(2),jo=i.n(Uo);const zo=fa.a.Layer.extend({includes:[],_echartsContainer:null,_map:null,_ec:null,_echartsOptions:null,options:{attribution:Pa.ECharts.attribution,loadWhileAnimating:!1},initialize:function(e,t){fa.a.Util.setOptions(this,t),this.setOption(e)},setOption:function(e,t,i){const s=e.baseOption||e;s.LeafletMap=s.LeafletMap||{roam:!0},s.animation=!0===s.animation,this._echartsOptions=e,this._ec&&this._ec.setOption(e,t,i)},getEcharts:function(){return this._ec},_disableEchartsContainer:function(){this._echartsContainer.style.visibility="hidden"},_enableEchartsContainer:function(){this._echartsContainer.style.visibility="visible"},onAdd:function(e){this._map=e,this._initEchartsContainer(),this._ec=jo.a.init(this._echartsContainer),jo.a.leafletMap=e;const t=this;e.on("zoomstart",function(){t._disableEchartsContainer()}),!t.options.loadWhileAnimating&&e.on("movestart",function(){t._disableEchartsContainer()}),jo.a.registerAction({type:"LeafletMapLayout",event:"LeafletMapLayout",update:"updateLayout"},function(e,t){}),jo.a.registerCoordinateSystem("leaflet",Vo),jo.a.extendComponentModel({type:"LeafletMap",getBMap:function(){return this.__LeafletMap},defaultOption:{roam:!1}}),jo.a.extendComponentView({type:"LeafletMap",render:function(e,i,s){let r=!0;const n=jo.a.leafletMap,a=s.getZr().painter.getViewportRoot(),o=n.options.zoomAnimation&&fa.a.Browser.any3d;a.className=" leaflet-layer leaflet-zoom-"+(o?"animated":"hide")+" echarts-layer";const l=fa.a.DomUtil.testProp(["transformOrigin","WebkitTransformOrigin","msTransformOrigin"]);a.style[l]="50% 50%";const h=e.coordinateSystem,u=s.getZr().painter.getLayers(),c=function(){if(r)return;const i=t._map.containerPointToLayerPoint([0,0]),n=[i.x||0,i.y||0];if(a.style.left=n[0]+"px",a.style.top=n[1]+"px",!t.options.loadWhileAnimating){for(let e in u)u.hasOwnProperty(e)&&u[e]&&(o=u[e].ctx)&&o.clearRect&&o.clearRect(0,0,o.canvas.width,o.canvas.height);t._enableEchartsContainer()}var o;h.setMapOffset(n),e.__mapOffset=n,s.dispatchAction({type:"LeafletMapLayout"})};function p(){r||(s.dispatchAction({type:"LeafletMapLayout"}),t._enableEchartsContainer())}this._oldMoveHandler&&n.off(t.options.loadWhileAnimating?"move":"moveend",this._oldMoveHandler),this._oldZoomEndHandler&&n.off("zoomend",this._oldZoomEndHandler),n.on(t.options.loadWhileAnimating?"move":"moveend",c),n.on("zoomend",p),this._oldMoveHandler=c,this._oldZoomEndHandler=p,r=!1}}),this._ec.setOption(this._echartsOptions)},onRemove:function(){this._ec.dispose(),fa.a.DomUtil.remove(this._echartsContainer),this._map.off("zoomend",this._oldZoomEndHandler),this._map.off(this.options.loadWhileAnimating?"move":"moveend",this._oldMoveHandler),this._map.off("resize",this._resizeHandler)},_initEchartsContainer:function(){const e=this._map.getSize(),t=document.createElement("div");t.style.position="absolute",t.style.height=e.y+"px",t.style.width=e.x+"px",t.style.zIndex=10,this._echartsContainer=t,this._map.getPanes().overlayPane.appendChild(this._echartsContainer);const i=this;function s(e){let t=e.newSize;i._echartsContainer.style.width=t.x+"px",i._echartsContainer.style.height=t.y+"px",i._ec.resize()}this._map.on("resize",s),this._resizeHandler=s}});function Vo(e){this._LeafletMap=e,this.dimensions=["lng","lat"],this._mapOffset=[0,0]}Vo.prototype.dimensions=["lng","lat"],Vo.prototype.setMapOffset=function(e){this._mapOffset=e},Vo.prototype.getBMap=function(){return this._LeafletMap},Vo.prototype.prepareCustoms=function(){const e=jo.a.util,t=this.getViewRect();return{coordSys:{type:"leaflet",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:e.bind(this.dataToPoint,this),size:e.bind(function(t,i){return i=i||[0,0],e.map([0,1],function(e){const s=i[e],r=t[e]/2,n=[],a=[];return n[e]=s-r,a[e]=s+r,n[1-e]=a[1-e]=i[1-e],Math.abs(this.dataToPoint(n)[e]-this.dataToPoint(a)[e])},this)},this)}}},Vo.prototype.dataToPoint=function(e){null===e[1]&&(e[1]=fa.a.CRS.EPSG3857.projection.MAX_LATITUDE);const t=this._LeafletMap.latLngToLayerPoint([e[1],e[0]]),i=this._mapOffset;return[t.x-i[0],t.y-i[1]]},Vo.prototype.fixLat=function(e){return e>=90?89.99999999999999:e<=-90?-89.99999999999999:e},Vo.prototype.pointToData=function(e){let t=this._mapOffset,i=this._LeafletMap.layerPointToLatLng([e[0]+t[0],e[1]+t[1]]);return[i.lng,i.lat]},Vo.prototype.getViewRect=function(){const e=this._LeafletMap.getSize();return new jo.a.graphic.BoundingRect(0,0,e.x,e.y)},Vo.prototype.getRoamTransform=function(){return jo.a.matrix.create()},Vo.dimensions=Vo.prototype.dimensions,Vo.create=function(e){let t;e.eachComponent("LeafletMap",function(e){t||(t=new Vo(jo.a.leafletMap)),e.coordinateSystem=t,e.coordinateSystem.setMapOffset(e.__mapOffset||[0,0])}),e.eachSeries(function(e){e.get("coordinateSystem")&&"leaflet"!==e.get("coordinateSystem")||(t||(t=new Vo(jo.a.leafletMap)),e.coordinateSystem=t,e.animation=!0===e.animation)})};const Ho=function(e,t){return new zo(e,t)};fa.a.supermap.echartsLayer=Ho;function Jo(e){var t=document.createElement("canvas");return t&&t.getContext(e)}var qo=fa.a.Class.extend({options:{radius:10,angele:60,spaceAngle:0,count:3,fill:!1,stroke:!0,color:"#3388ff",weight:1,lineCap:"round",lineJoin:"round",fillColor:"#66ccff",fillOpacity:.2,fillRule:"evenodd",opacity:1},initialize:function(e){e=e||{},fa.a.Util.setOptions(this,e),this._canvas=document.createElement("canvas"),this._canvas.width=2*(this.options.radius+this.options.weight),this._canvas.height=2*(this.options.radius+this.options.weight),this._ctx=this._canvas.getContext("2d");var t=void 0===this.options.stroke.width?1:this.options.stroke.width;this.options.width=2*(this.options.radius+t)+1,this._initStyle()},getStyle:function(){return this._canvas},drawSector:function(e,t,i,s,r,n){r=r/180*Math.PI,n=n/180*Math.PI,e.moveTo(t,i),e.lineTo(t+s*Math.cos(r),i+s*Math.sin(r)),e.arc(t,i,s,r,n),e.lineTo(t,i)},_initStyle:function(){var e=0,t=this.options,i=t.angle;if(t.spaceAngle=360/t.count-t.angle,!(t.spaceAngle<0)){this._ctx.beginPath(),this.anchor=[t.width/2,t.width/2];for(var s=0;s-1&&(this._data=e),this._renderLayer.setChangeFlags({dataChanged:!0,propsChanged:!0,viewportChanged:!0,updateTriggersChanged:!0}),this._refreshData();let t=this._getLayerState();t.data=this._data||[],this._layerDefaultStyleCache=null,this._renderLayer.setNeedsRedraw(!0),this._renderLayer.setState(t)},drawGraphics:function(e){this._data=e||[],this._renderLayer||this._createInnerRender(),this._draw()},_initContainer:function(){this._container=this._createCanvas(this.options.width,this.options.height),this._layerContainer=this.options.container,this._wrapper=fa.a.DomUtil.create("div","deck-wrapper",this._layerContainer),this._wrapper.appendChild(this._container)},_createCanvas:function(e,t){let i=fa.a.DomUtil.create("canvas","graphicLayer leaflet-layer leaflet-zoom-hide");return i.oncontextmenu=fa.a.Util.falseFn,i.width=e,i.height=t,i.style.width=e+"px",i.style.height=t+"px",i},_pixelToMeter:function(e){const t=this.layer._map.getBounds();return e*((t.getEast()-t.getWest())/this.layer._map.getSize().x*(6378137*Math.PI/180))},_createInnerRender:function(){let e=this,t=this._getLayerState(),{color:i,radius:s,opacity:r,highlightColor:n,radiusScale:a,radiusMinPixels:o,radiusMaxPixels:l,strokeWidth:h,outline:u}=t,c={id:"scatter-plot",data:e._data,pickable:Boolean(this.options.onClick)||Boolean(this.options.onHover),autoHighlight:!0,color:i,opacity:r,radius:s,radiusScale:a,highlightColor:n,radiusMinPixels:o,radiusMaxPixels:l,strokeWidth:h,outline:u,getPosition:function(e){if(!e)return[0,0,0];let t=e&&e.getLatLng();return t&&[t.lng,t.lat,0]},getColor:function(t){let i=e._getLayerDefaultStyle(),s=t&&t.options;return s&&s.color||i.color},getRadius:function(t){let i=e._getLayerDefaultStyle(),s=t&&t.getStyle();return s&&s.radius||i.radius},updateTriggers:{getColor:[i],getRadius:[s]}},p=this;this.options.onClick&&(c.onClick=function(){p._container.style.cursor="pointer",p.options.onClick.apply(p,arguments)}),this.options.onHover&&(c.onHover=function(){p._container.style.cursor="pointer",p.options.onHover.apply(p,arguments)}),e._renderLayer=new window.DeckGL.ScatterplotLayer(c)},_getLayerDefaultStyle:function(){if(this._layerDefaultStyleCache)return this._layerDefaultStyleCache;let{color:e,opacity:t,radius:i,radiusScale:s,radiusMinPixels:r,radiusMaxPixels:n,strokeWidth:a,outline:o}=this.layer.options;return i=this._pixelToMeter(i),this._layerDefaultStyleCache={color:e,opacity:t,radius:i,radiusScale:s,radiusMinPixels:r,radiusMaxPixels:n,strokeWidth:a,outline:o},this._layerDefaultStyleCache},_getLayerState:function(){let e=this.layer.getState();return e.zoom=e.zoom-1,e},_draw:function(){let e=this._getLayerState();this._refreshData(),e.data=this._data||[];let t={};for(let i in e)t[i]=e[i];this._layerDefaultStyleCache=null,this._renderLayer.setNeedsRedraw(!0),t.layers=[this._renderLayer],t.canvas=this._container,t.onBeforeRender=this._onBeforeRender.bind(this),t.onAfterRender=this._onAfterRender.bind(this),this.deckGL?this.deckGL.setProps(t):this.deckGL=new window.DeckGL.experimental.DeckGLJS(t)},_clearBuffer:function(){let e=this.deckGL.layerManager;return e&&e.context.gl.clear(e.context.gl.COLOR_BUFFER_BIT),this},_refreshData:function(){let e=this._data||[],t=fa.a.Util.isArray(e)?[].concat(e):[e];this._renderLayer.props.data||(this._renderLayer.props.data=[]),this._renderLayer.props.data.length=0;for(let e=0;e`rgba(${e[0]},${e[1]},${e[2]},${(e[3]||255)/255})`,_getGraphicsInBounds:function(){let e=[],t=this._map.getBounds();return this.graphics.map(function(i){return t.contains(i.getLatLng())&&e.push(i),i}),e},_handleClick:function(e){this._layerRenderer._handleClick(e)},beforeAdd:fa.a.Util.falseFn,_containsPoint:fa.a.Util.falseFn});let al=function(e,t){return new nl(e,t)};fa.a.supermap.graphicLayer=al;var ol=mo.extend({options:{isOverLay:!0},initialize:function(e,t,i){var s=[];s.push(e),s.push(i),mo.prototype.initialize.apply(this,s),this.chartsType=t,this.themeFields=i&&i.themeFields?i.themeFields:null,this.charts=i&&i.charts?i.charts:[],this.cache=i&&i.cache?i.cache:{},this.chartsSetting=i&&i.chartsSetting?i.chartsSetting:{}},setChartsType:function(e){this.chartsType=e,this.redraw()},addFeatures:function(e){var t=this;t.fire("beforefeaturesadded",{features:e}),this.features=this.toiClientFeature(e),t.renderer&&(t._map?t.redrawThematicFeatures(t._map.getBounds()):t.redrawThematicFeatures())},redrawThematicFeatures:function(e){var t=this;t.renderer.clearAll();var i=t.features;if(this.options.alwaysMapCRS&&e&&e instanceof fa.a.LatLngBounds){var s=this._map.options.crs;e=fa.a.bounds(s.project(e.getSouthWest()),s.project(e.getNorthEast()))}e=ka.toSuperMapBounds(e);for(var r=0,n=i.length;r=i.left&&a.x<=i.right&&a.y>=i.top&&a.y<=i.bottom){s=!0;break}}return s},clearCache:function(){this.cache={},this.charts=[]},removeFeatures:function(e){this.clearCache(),mo.prototype.removeFeatures.apply(this,arguments)},removeAllFeatures:function(){this.clearCache(),mo.prototype.removeAllFeatures.apply(this,arguments)},redraw:function(){return this.clearCache(),mo.prototype.redraw.apply(this,arguments)},clear:function(){var e=this;e.renderer&&(e.renderer.clearAll(),e.renderer.refresh()),e.removeAllFeatures(),e.clearCache()},getWeightFieldValue:function(e,t,i){if((void 0===i||isNaN(i))&&(i=0),!e.attributes)return i;var s=e.attributes[t];return(void 0===s||isNaN(s))&&(s=i),s},_sortChart:function(){this.charts&&this.charts.sort(function(e,t){return void 0===e.__overlayWeight&&void 0===t.__overlayWeight?0:void 0!==e.__overlayWeight&&void 0===t.__overlayWeight?-1:void 0===e.__overlayWeight&&void 0!==t.__overlayWeight?1:void 0!==e.__overlayWeight&&void 0!==t.__overlayWeight?parseFloat(e.__overlayWeight)1?i.weight/10:i.weight)):t.setAttribute("stroke","none"),i.fill?(t.setAttribute("fill",i.fillColor||i.color),t.setAttribute("fill-opacity",i.fillOpacity)):t.setAttribute("fill","none")}});var yl=fa.a.CircleMarker.extend({includes:fl.prototype,statics:{iconCache:{}},initialize:function(e,t){fl.prototype.initialize.call(this,e),this._makeFeatureParts(e,t)},render:function(e,t){fl.prototype.render.call(this,e,t),this._radius=t.radius||fa.a.CircleMarker.prototype.options.radius,this._updatePath()},_makeFeatureParts:function(e,t){t=t||{x:1,y:1};var i=e.geometry[0];"object"==typeof i[0]&&"x"in i[0]?(this._point=fa.a.point(i[0]).scaleBy(t),this._empty=fa.a.Util.falseFn):(this._point=fa.a.point(i).scaleBy(t),this._empty=fa.a.Util.falseFn)},makeInteractive:function(){this._updateBounds()},updateStyle:function(e,t){return this._radius=t.radius||this._radius,this._updateBounds(),fl.prototype.updateStyle.call(this,e,t)},_updateBounds:function(){if(this.options.iconUrl&&this.options.iconSize){var e=fa.a.point(this.options.iconSize),t=e&&e.divideBy(2,!0),i=this._point.subtract(t);this._pxBounds=new fa.a.Bounds(i,i.add(e))}else fa.a.CircleMarker.prototype._updateBounds.call(this)},_updatePath:function(){this.options.iconUrl?this._renderer._updateIcon(this):fa.a.CircleMarker.prototype._updatePath.call(this)},_getImage:function(){if(!this.options.iconUrl)return null;var e=this.options.iconUrl,t=yl.iconCache[e];if(!t){var i=this.options.iconSize||[50,50];t=yl.iconCache[e]=this._createIcon(e,i)}return t},_createIcon:function(e,t){var i=e;if(!i)throw new Error("iconUrl not set in Icon options (see the docs).");var s=document.createElement("img");s.src=i,s.className="leaflet-marker-icon "+(this.layerName||"");var r=t;if("number"==typeof r&&(r=[r,r]),r){var n=fa.a.point(r),a=fa.a.point(n&&n.divideBy(2,!0));n&&(s.style.width=n.x+"px",s.style.height=n.y+"px"),a&&(s.style.marginLeft=-a.x+"px",s.style.marginTop=-a.y+"px")}return s.onload=function(){r||(s.style.width=this.width+"px",s.style.height=this.height+"px")},s},_containsPoint:function(e){return this.options.iconUrl?this._pxBounds.contains(e):fa.a.CircleMarker.prototype._containsPoint.call(this,e)}}),gl={_makeFeatureParts:function(e,t){t=t||{x:1,y:1};var i,s=e.geometry;this._parts=[];for(var r=0;r-1?new Cl(s):new Tl(s)).getTile().then(function(t){e.render(t,i)})},render:function(e,t){if(e){for(var i=this,s=i.renderer,r=i.layer,n=0;n0&&a[a.length-1]}t.properties.textField=n}i.vectorTileLayerStyles=i.vectorTileLayerStyles||{};var o=i.vectorTileLayerStyles[s];if(o)return t=this._mergeFeatureTextField(t,o),o;if(!o){var l=this.getScaleFromCoords(e),h=this.cartoCSSToLeaflet.pickShader(s)||[];for(var u in o=[],h)for(var c=h[u],p=0;p1){var h=parseInt(l[1]);o=h&&h>=4e3&&h<=5e3?p.DEGREE:p.METER}}return ja(a,96,o)},_mergeFeatureTextField:function(e,t){if(!this.options.serverCartoCSSStyle||!t||"TEXT"!==e.type)return e;var i=t;fa.a.Util.isArray(t)||(i=[t]);for(var s=0;s0?this.convertFastToPixelPoints(e):this.canvasContext.clearRect(0,0,this.maxWidth,this.maxWidth)},convertFastToPixelPoints:function(e){var t,i,s,r,n,a,o,l=[],h=e.getEast()-e.getWest(),u=e.getNorth()-e.getSouth(),c=this._map.getSize();r=h/c.x>u/c.y?h/c.x:u/c.y,this.useRadius=this.useGeoUnit?parseInt(this.radius/r):this.radius;for(var p=0;p0&&this.maxWidth>0))return!1;var i=this.canvasContext;this.canvasContext.clearRect(0,0,this.maxWidth,this.maxHeight),this.drawCircle(this.useRadius),this.createGradient();for(var s=0;s>1,u=-7,c=i?r-1:0,p=i?-1:1,d=e[t+c];for(c+=p,n=d&(1<<-u)-1,d>>=-u,u+=o;u>0;n=256*n+e[t+c],c+=p,u-=8);for(a=n&(1<<-u)-1,n>>=-u,u+=s;u>0;a=256*a+e[t+c],c+=p,u-=8);if(0===n)n=1-h;else{if(n===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,s),n-=h}return(d?-1:1)*a*Math.pow(2,n-s)},t.write=function(e,t,i,s,r,n){var a,o,l,h=8*n-r-1,u=(1<>1,p=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,d=s?0:n-1,f=s?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+c>=1?p/l:p*Math.pow(2,1-c))*l>=2&&(a++,l/=2),a+c>=u?(o=0,a=u):a+c>=1?(o=(t*l-1)*Math.pow(2,r),a+=c):(o=t*Math.pow(2,c-1)*Math.pow(2,r),a=0));r>=8;e[i+d]=255&o,d+=f,o/=256,r-=8);for(a=a<0;e[i+d]=255&a,d+=f,a/=256,h-=8);e[i+d-f]|=128*m}},function(e,t){function i(e){return Object.prototype.toString.call(e)}function s(e){return"[object String]"===i(e)}e.exports={getObjectType:i,isDate:function(e){return"[object Date]"===i(e)},isString:s,isDateString:function(e){return s(e)&&!isNaN(Date.parse(e))},parseDateFromString:function(e){return Date.parse(e)},isNumber:function(e){return"number"==typeof e}}},function(e,t,i){var s=i(1),r=Math.PI/2,n=i(7),a=i(11),o=i(10),l=i(9),h=i(8),u=i(18),c=i(4),p=i(17);t.init=function(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)},t.forward=function(e){var t,i,c,p,d,f,m,y,g,v,S,b,x,_,C,T,M,w,E,A,P,L,N=e.x,I=e.y,O=Math.sin(e.y),R=Math.cos(e.y),F=s(N-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=1e-10?(e.x=this.x0+this.a*(r-I)*Math.sin(F),e.y=this.y0-this.a*(r-I)*Math.cos(F),e):Math.abs(this.sin_p12+1)<=1e-10?(e.x=this.x0+this.a*(r+I)*Math.sin(F),e.y=this.y0+this.a*(r+I)*Math.cos(F),e):(w=this.sin_p12*O+this.cos_p12*R*Math.cos(F),M=(T=Math.acos(w))/Math.sin(T),e.x=this.x0+this.a*M*R*Math.sin(F),e.y=this.y0+this.a*M*(this.cos_p12*O-this.sin_p12*R*Math.cos(F)),e):(t=a(this.es),i=o(this.es),c=l(this.es),p=h(this.es),Math.abs(this.sin_p12-1)<=1e-10?(d=this.a*n(t,i,c,p,r),f=this.a*n(t,i,c,p,I),e.x=this.x0+(d-f)*Math.sin(F),e.y=this.y0-(d-f)*Math.cos(F),e):Math.abs(this.sin_p12+1)<=1e-10?(d=this.a*n(t,i,c,p,r),f=this.a*n(t,i,c,p,I),e.x=this.x0+(d+f)*Math.sin(F),e.y=this.y0+(d+f)*Math.cos(F),e):(m=O/R,y=u(this.a,this.e,this.sin_p12),g=u(this.a,this.e,O),v=Math.atan((1-this.es)*m+this.es*y*this.sin_p12/(g*R)),E=0===(S=Math.atan2(Math.sin(F),this.cos_p12*Math.tan(v)-this.sin_p12*Math.cos(F)))?Math.asin(this.cos_p12*Math.sin(v)-this.sin_p12*Math.cos(v)):Math.abs(Math.abs(S)-Math.PI)<=1e-10?-Math.asin(this.cos_p12*Math.sin(v)-this.sin_p12*Math.cos(v)):Math.asin(Math.sin(F)*Math.cos(v)/Math.sin(S)),b=this.e*this.sin_p12/Math.sqrt(1-this.es),T=y*E*(1-(A=E*E)*(C=(x=this.e*this.cos_p12*Math.cos(S)/Math.sqrt(1-this.es))*x)*(1-C)/6+(P=A*E)/8*(_=b*x)*(1-2*C)+(L=P*E)/120*(C*(4-7*C)-3*b*b*(1-7*C))-L*E/48*_),e.x=this.x0+T*Math.sin(S),e.y=this.y0+T*Math.cos(S),e))},t.inverse=function(e){var t,i,d,f,m,y,g,v,S,b,x,_,C,T,M,w,E,A,P,L,N,I;if(e.x-=this.x0,e.y-=this.y0,this.sphere){if((t=Math.sqrt(e.x*e.x+e.y*e.y))>2*r*this.a)return;return i=t/this.a,d=Math.sin(i),f=Math.cos(i),m=this.long0,Math.abs(t)<=1e-10?y=this.lat0:(y=c(f*this.sin_p12+e.y*d*this.cos_p12/t),g=Math.abs(this.lat0)-r,m=Math.abs(g)<=1e-10?this.lat0>=0?s(this.long0+Math.atan2(e.x,-e.y)):s(this.long0-Math.atan2(-e.x,e.y)):s(this.long0+Math.atan2(e.x*d,t*this.cos_p12*f-e.y*this.sin_p12*d))),e.x=m,e.y=y,e}return v=a(this.es),S=o(this.es),b=l(this.es),x=h(this.es),Math.abs(this.sin_p12-1)<=1e-10?(_=this.a*n(v,S,b,x,r),t=Math.sqrt(e.x*e.x+e.y*e.y),y=p((_-t)/this.a,v,S,b,x),m=s(this.long0+Math.atan2(e.x,-1*e.y)),e.x=m,e.y=y,e):Math.abs(this.sin_p12+1)<=1e-10?(_=this.a*n(v,S,b,x,r),t=Math.sqrt(e.x*e.x+e.y*e.y),y=p((t-_)/this.a,v,S,b,x),m=s(this.long0+Math.atan2(e.x,e.y)),e.x=m,e.y=y,e):(t=Math.sqrt(e.x*e.x+e.y*e.y),M=Math.atan2(e.x,e.y),C=u(this.a,this.e,this.sin_p12),w=Math.cos(M),A=-(E=this.e*this.cos_p12*w)*E/(1-this.es),P=3*this.es*(1-A)*this.sin_p12*this.cos_p12*w/(1-this.es),I=1-A*(N=(L=t/C)-A*(1+A)*Math.pow(L,3)/6-P*(1+3*A)*Math.pow(L,4)/24)*N/2-L*N*N*N/6,T=Math.asin(this.sin_p12*Math.cos(N)+this.cos_p12*Math.sin(N)*w),m=s(this.long0+Math.asin(Math.sin(M)*Math.sin(N)/Math.cos(T))),y=Math.atan((1-this.es*I*this.sin_p12/Math.sin(T))*Math.tan(T)/(1-this.es)),e.x=m,e.y=y,e)},t.names=["Azimuthal_Equidistant","aeqd"]},function(e,t,i){var s=i(1),r=Math.PI/2,n=i(4);t.init=function(){this.R=this.a},t.forward=function(e){var t,i,a=e.x,o=e.y,l=s(a-this.long0);Math.abs(o)<=1e-10&&(t=this.x0+this.R*l,i=this.y0);var h=n(2*Math.abs(o/Math.PI));(Math.abs(l)<=1e-10||Math.abs(Math.abs(o)-r)<=1e-10)&&(t=this.x0,i=o>=0?this.y0+Math.PI*this.R*Math.tan(.5*h):this.y0+Math.PI*this.R*-Math.tan(.5*h));var u=.5*Math.abs(Math.PI/l-l/Math.PI),c=u*u,p=Math.sin(h),d=Math.cos(h),f=d/(p+d-1),m=f*f,y=f*(2/p-1),g=y*y,v=Math.PI*this.R*(u*(f-g)+Math.sqrt(c*(f-g)*(f-g)-(g+c)*(m-g)))/(g+c);l<0&&(v=-v),t=this.x0+v;var S=c+f;return v=Math.PI*this.R*(y*S-u*Math.sqrt((g+c)*(c+1)-S*S))/(g+c),i=o>=0?this.y0+v:this.y0-v,e.x=t,e.y=i,e},t.inverse=function(e){var t,i,r,n,a,o,l,h,u,c,p,d;return e.x-=this.x0,e.y-=this.y0,p=Math.PI*this.R,a=(r=e.x/p)*r+(n=e.y/p)*n,p=3*(n*n/(h=-2*(o=-Math.abs(n)*(1+a))+1+2*n*n+a*a)+(2*(l=o-2*n*n+r*r)*l*l/h/h/h-9*o*l/h/h)/27)/(u=(o-l*l/3/h)/h)/(c=2*Math.sqrt(-u/3)),Math.abs(p)>1&&(p=p>=0?1:-1),d=Math.acos(p)/3,i=e.y>=0?(-c*Math.cos(d+Math.PI/3)-l/3/h)*Math.PI:-(-c*Math.cos(d+Math.PI/3)-l/3/h)*Math.PI,t=Math.abs(r)<1e-10?this.long0:s(this.long0+Math.PI*(a-1+Math.sqrt(1+2*(r*r-n*n)+a*a))/2/r),e.x=t,e.y=i,e},t.names=["Van_der_Grinten_I","VanDerGrinten","vandg"]},function(e,t,i){var s=i(11),r=i(10),n=i(9),a=i(8),o=i(5),l=i(7),h=i(1),u=i(6),c=i(17);t.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=s(this.es),this.e1=r(this.es),this.e2=n(this.es),this.e3=a(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=o(this.e,this.sinphi,this.cosphi),this.ml1=l(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<1e-10?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=o(this.e,this.sinphi,this.cosphi),this.ml2=l(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=l(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))},t.forward=function(e){var t,i=e.x,s=e.y;if(this.sphere)t=this.a*(this.g-s);else{var r=l(this.e0,this.e1,this.e2,this.e3,s);t=this.a*(this.g-r)}var n=this.ns*h(i-this.long0),a=this.x0+t*Math.sin(n),o=this.y0+this.rh-t*Math.cos(n);return e.x=a,e.y=o,e},t.inverse=function(e){var t,i,s,r;e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns>=0?(i=Math.sqrt(e.x*e.x+e.y*e.y),t=1):(i=-Math.sqrt(e.x*e.x+e.y*e.y),t=-1);var n=0;if(0!==i&&(n=Math.atan2(t*e.x,t*e.y)),this.sphere)return r=h(this.long0+n/this.ns),s=u(this.g-i/this.a),e.x=r,e.y=s,e;var a=this.g-i/this.a;return s=c(a,this.e0,this.e1,this.e2,this.e3),r=h(this.long0+n/this.ns),e.x=r,e.y=s,e},t.names=["Equidistant_Conic","eqdc"]},function(e,t,i){var s=i(1);t.init=function(){},t.forward=function(e){for(var t=e.x,i=e.y,r=s(t-this.long0),n=i,a=Math.PI*Math.sin(i),o=0;;o++){var l=-(n+Math.sin(n)-a)/(1+Math.cos(n));if(n+=l,Math.abs(l)<1e-10)break}n/=2,Math.PI/2-Math.abs(i)<1e-10&&(r=0);var h=.900316316158*this.a*r*Math.cos(n)+this.x0,u=1.4142135623731*this.a*Math.sin(n)+this.y0;return e.x=h,e.y=u,e},t.inverse=function(e){var t,i;e.x-=this.x0,e.y-=this.y0,i=e.y/(1.4142135623731*this.a),Math.abs(i)>.999999999999&&(i=.999999999999),t=Math.asin(i);var r=s(this.long0+e.x/(.900316316158*this.a*Math.cos(t)));r<-Math.PI&&(r=-Math.PI),r>Math.PI&&(r=Math.PI),i=(2*t+Math.sin(2*t))/Math.PI,Math.abs(i)>1&&(i=1);var n=Math.asin(i);return e.x=r,e.y=n,e},t.names=["Mollweide","moll"]},function(e,t,i){var s=i(27);e.exports=function(e,t,i){for(var r=1/(1-t),n=e,a=20;a;--a){var o=Math.sin(n),l=1-t*o*o;if(n-=l=(s(n,o,Math.cos(n),i)-e)*(l*Math.sqrt(l))*r,Math.abs(l)<1e-10)return n}return n}},function(e,t){var i=.01068115234375;e.exports=function(e){var t=[];t[0]=1-e*(.25+e*(.046875+e*(.01953125+e*i))),t[1]=e*(.75-e*(.046875+e*(.01953125+e*i)));var s=e*e;return t[2]=s*(.46875-e*(.013020833333333334+.007120768229166667*e)),s*=e,t[3]=s*(.3645833333333333-.005696614583333333*e),t[4]=s*e*.3076171875,t}},function(e,t,i){var s=i(1),r=i(6),n=i(51),a=i(27),o=i(50),l=Math.PI/2,h=i(4);t.init=function(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=n(this.es)},t.forward=function(e){var t,i,r=e.x,n=e.y;if(r=s(r-this.long0),this.sphere){if(this.m)for(var o=this.n*Math.sin(n),l=20;l;--l){var h=(this.m*n+Math.sin(n)-o)/(this.m+Math.cos(n));if(n-=h,Math.abs(h)<1e-10)break}else n=1!==this.n?Math.asin(this.n*Math.sin(n)):n;t=this.a*this.C_x*r*(this.m+Math.cos(n)),i=this.a*this.C_y*n}else{var u=Math.sin(n),c=Math.cos(n);i=this.a*a(n,u,c,this.en),t=this.a*r*c/Math.sqrt(1-this.es*u*u)}return e.x=t,e.y=i,e},t.inverse=function(e){var t,i,n,a;return e.x-=this.x0,n=e.x/this.a,e.y-=this.y0,t=e.y/this.a,this.sphere?(t/=this.C_y,n/=this.C_x*(this.m+Math.cos(t)),this.m?t=h((this.m*t+Math.sin(t))/this.n):1!==this.n&&(t=h(Math.sin(t)/this.n)),n=s(n+this.long0),t=r(t)):(t=o(e.y/this.a,this.es,this.en),(a=Math.abs(t))0||Math.abs(a)<=1e-10?(o=this.x0+1*this.a*i*Math.sin(r)/a,l=this.y0+1*this.a*(this.cos_p14*t-this.sin_p14*i*n)/a):(o=this.x0+this.infinity_dist*i*Math.sin(r),l=this.y0+this.infinity_dist*(this.cos_p14*t-this.sin_p14*i*n)),e.x=o,e.y=l,e},t.inverse=function(e){var t,i,n,a,o,l;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,(t=Math.sqrt(e.x*e.x+e.y*e.y))?(a=Math.atan2(t,this.rc),i=Math.sin(a),n=Math.cos(a),l=r(n*this.sin_p14+e.y*i*this.cos_p14/t),o=Math.atan2(e.x*i,t*this.cos_p14*n-e.y*this.sin_p14*i),o=s(this.long0+o)):(l=this.phic0,o=0),e.x=o,e.y=l,e},t.names=["gnom"]},function(e,t,i){var s=i(5),r=i(16),n=i(1),a=i(4);t.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=s(this.e3,this.sin_po,this.cos_po),this.qs1=r(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=s(this.e3,this.sin_po,this.cos_po),this.qs2=r(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=r(this.e3,this.sin_po,this.cos_po),Math.abs(this.lat1-this.lat2)>1e-10?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},t.forward=function(e){var t=e.x,i=e.y;this.sin_phi=Math.sin(i),this.cos_phi=Math.cos(i);var s=r(this.e3,this.sin_phi,this.cos_phi),a=this.a*Math.sqrt(this.c-this.ns0*s)/this.ns0,o=this.ns0*n(t-this.long0),l=a*Math.sin(o)+this.x0,h=this.rh-a*Math.cos(o)+this.y0;return e.x=l,e.y=h,e},t.inverse=function(e){var t,i,s,r,a,o;return e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns0>=0?(t=Math.sqrt(e.x*e.x+e.y*e.y),s=1):(t=-Math.sqrt(e.x*e.x+e.y*e.y),s=-1),r=0,0!==t&&(r=Math.atan2(s*e.x,s*e.y)),s=t*this.ns0/this.a,this.sphere?o=Math.asin((this.c-s*s)/(2*this.ns0)):(i=(this.c-s*s)/this.ns0,o=this.phi1z(this.e3,i)),a=n(r/this.ns0+this.long0),e.x=a,e.y=o,e},t.phi1z=function(e,t){var i,s,r,n,o,l=a(.5*t);if(e<1e-10)return l;for(var h=e*e,u=1;u<=25;u++)if(i=Math.sin(l),s=Math.cos(l),l+=o=.5*(n=1-(r=e*i)*r)*n/s*(t/(1-h)-i/n+.5/e*Math.log((1-r)/(1+r))),Math.abs(o)<=1e-7)return l;return null},t.names=["Albers_Conic_Equal_Area","Albers","aea"]},function(e,t,i){var s=Math.PI/2,r=Math.PI/4,n=i(16),a=i(1);t.S_POLE=1,t.N_POLE=2,t.EQUIT=3,t.OBLIQ=4,t.init=function(){var e,t=Math.abs(this.lat0);if(Math.abs(t-s)<1e-10?this.mode=this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(t)<1e-10?this.mode=this.EQUIT:this.mode=this.OBLIQ,this.es>0)switch(this.qp=n(this.e,1),this.mmf=.5/(1-this.es),this.apa=this.authset(this.es),this.mode){case this.N_POLE:case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),e=Math.sin(this.lat0),this.sinb1=n(this.e,e)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*e*e)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},t.forward=function(e){var t,i,o,l,h,u,c,p,d,f,m=e.x,y=e.y;if(m=a(m-this.long0),this.sphere){if(h=Math.sin(y),f=Math.cos(y),o=Math.cos(m),this.mode===this.OBLIQ||this.mode===this.EQUIT){if((i=this.mode===this.EQUIT?1+f*o:1+this.sinph0*h+this.cosph0*f*o)<=1e-10)return null;t=(i=Math.sqrt(2/i))*f*Math.sin(m),i*=this.mode===this.EQUIT?h:this.cosph0*h-this.sinph0*f*o}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(o=-o),Math.abs(y+this.phi0)<1e-10)return null;i=r-.5*y,t=(i=2*(this.mode===this.S_POLE?Math.cos(i):Math.sin(i)))*Math.sin(m),i*=o}}else{switch(c=0,p=0,d=0,o=Math.cos(m),l=Math.sin(m),h=Math.sin(y),u=n(this.e,h),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(c=u/this.qp,p=Math.sqrt(1-c*c)),this.mode){case this.OBLIQ:d=1+this.sinb1*c+this.cosb1*p*o;break;case this.EQUIT:d=1+p*o;break;case this.N_POLE:d=s+y,u=this.qp-u;break;case this.S_POLE:d=y-s,u=this.qp+u}if(Math.abs(d)<1e-10)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:d=Math.sqrt(2/d),i=this.mode===this.OBLIQ?this.ymf*d*(this.cosb1*c-this.sinb1*p*o):(d=Math.sqrt(2/(1+p*o)))*c*this.ymf,t=this.xmf*d*p*l;break;case this.N_POLE:case this.S_POLE:u>=0?(t=(d=Math.sqrt(u))*l,i=o*(this.mode===this.S_POLE?d:-d)):t=i=0}}return e.x=this.a*t+this.x0,e.y=this.a*i+this.y0,e},t.inverse=function(e){e.x-=this.x0,e.y-=this.y0;var t,i,r,n,o,l,h,u=e.x/this.a,c=e.y/this.a;if(this.sphere){var p,d=0,f=0;if((i=.5*(p=Math.sqrt(u*u+c*c)))>1)return null;switch(i=2*Math.asin(i),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(f=Math.sin(i),d=Math.cos(i)),this.mode){case this.EQUIT:i=Math.abs(p)<=1e-10?0:Math.asin(c*f/p),u*=f,c=d*p;break;case this.OBLIQ:i=Math.abs(p)<=1e-10?this.phi0:Math.asin(d*this.sinph0+c*f*this.cosph0/p),u*=f*this.cosph0,c=(d-Math.sin(i)*this.sinph0)*p;break;case this.N_POLE:c=-c,i=s-i;break;case this.S_POLE:i-=s}t=0!==c||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(u,c):0}else{if(h=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(u/=this.dd,c*=this.dd,(l=Math.sqrt(u*u+c*c))<1e-10)return e.x=0,e.y=this.phi0,e;n=2*Math.asin(.5*l/this.rq),r=Math.cos(n),u*=n=Math.sin(n),this.mode===this.OBLIQ?(h=r*this.sinb1+c*n*this.cosb1/l,o=this.qp*h,c=l*this.cosb1*r-c*this.sinb1*n):(h=c*n/l,o=this.qp*h,c=l*r)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(c=-c),!(o=u*u+c*c))return e.x=0,e.y=this.phi0,e;h=1-o/this.qp,this.mode===this.S_POLE&&(h=-h)}t=Math.atan2(u,c),i=this.authlat(Math.asin(h),this.apa)}return e.x=a(this.long0+t),e.y=i,e},t.P00=.3333333333333333,t.P01=.17222222222222222,t.P02=.10257936507936508,t.P10=.06388888888888888,t.P11=.0664021164021164,t.P20=.016415012942191543,t.authset=function(e){var t,i=[];return i[0]=e*this.P00,t=e*e,i[0]+=t*this.P01,i[1]=t*this.P10,t*=e,i[0]+=t*this.P02,i[1]+=t*this.P11,i[2]=t*this.P20,i},t.authlat=function(e,t){var i=e+e;return e+t[0]*Math.sin(i)+t[1]*Math.sin(i+i)+t[2]*Math.sin(i+i+i)},t.names=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"]},function(e,t,i){var s=i(7),r=i(11),n=i(10),a=i(9),o=i(8),l=i(18),h=i(1),u=i(6),c=i(17),p=Math.PI/2;t.init=function(){this.sphere||(this.e0=r(this.es),this.e1=n(this.es),this.e2=a(this.es),this.e3=o(this.es),this.ml0=this.a*s(this.e0,this.e1,this.e2,this.e3,this.lat0))},t.forward=function(e){var t,i,r=e.x,n=e.y;if(r=h(r-this.long0),this.sphere)t=this.a*Math.asin(Math.cos(n)*Math.sin(r)),i=this.a*(Math.atan2(Math.tan(n),Math.cos(r))-this.lat0);else{var a=Math.sin(n),o=Math.cos(n),u=l(this.a,this.e,a),c=Math.tan(n)*Math.tan(n),p=r*Math.cos(n),d=p*p,f=this.es*o*o/(1-this.es);t=u*p*(1-d*c*(1/6-(8-c+8*f)*d/120)),i=this.a*s(this.e0,this.e1,this.e2,this.e3,n)-this.ml0+u*a/o*d*(.5+(5-c+6*f)*d/24)}return e.x=t+this.x0,e.y=i+this.y0,e},t.inverse=function(e){e.x-=this.x0,e.y-=this.y0;var t,i,s=e.x/this.a,r=e.y/this.a;if(this.sphere){var n=r+this.lat0;t=Math.asin(Math.sin(n)*Math.cos(s)),i=Math.atan2(Math.tan(s),Math.cos(n))}else{var a=this.ml0/this.a+r,o=c(a,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(o)-p)<=1e-10)return e.x=this.long0,e.y=p,r<0&&(e.y*=-1),e;var d=l(this.a,this.e,Math.sin(o)),f=d*d*d/this.a/this.a*(1-this.es),m=Math.pow(Math.tan(o),2),y=s*this.a/d,g=y*y;t=o-d*Math.tan(o)/f*y*y*(.5-(1+3*m)*y*y/24),i=y*(1-g*(m/3+(1+3*m)*m*g/15))/Math.cos(o)}return e.x=h(i+this.long0),e.y=u(t),e},t.names=["Cassini","Cassini_Soldner","cass"]},function(e,t,i){var s=i(1);t.init=function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},t.forward=function(e){var t,i,r,n,a,o,l,h=e.x,u=e.y,c=s(h-this.long0);return t=Math.pow((1+this.e*Math.sin(u))/(1-this.e*Math.sin(u)),this.alfa*this.e/2),i=2*(Math.atan(this.k*Math.pow(Math.tan(u/2+this.s45),this.alfa)/t)-this.s45),r=-c*this.alfa,n=Math.asin(Math.cos(this.ad)*Math.sin(i)+Math.sin(this.ad)*Math.cos(i)*Math.cos(r)),a=Math.asin(Math.cos(i)*Math.sin(r)/Math.cos(n)),o=this.n*a,l=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(n/2+this.s45),this.n),e.y=l*Math.cos(o)/1,e.x=l*Math.sin(o)/1,this.czech||(e.y*=-1,e.x*=-1),e},t.inverse=function(e){var t,i,s,r,n,a,o,l=e.x;e.x=e.y,e.y=l,this.czech||(e.y*=-1,e.x*=-1),n=Math.sqrt(e.x*e.x+e.y*e.y),r=Math.atan2(e.y,e.x)/Math.sin(this.s0),s=2*(Math.atan(Math.pow(this.ro0/n,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),t=Math.asin(Math.cos(this.ad)*Math.sin(s)-Math.sin(this.ad)*Math.cos(s)*Math.cos(r)),i=Math.asin(Math.cos(s)*Math.sin(r)/Math.cos(t)),e.x=this.long0-i/this.alfa,a=t,o=0;var h=0;do{e.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(t/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(a))/(1-this.e*Math.sin(a)),this.e/2))-this.s45),Math.abs(a-e.y)<1e-10&&(o=1),a=e.y,h+=1}while(0===o&&h<15);return h>=15?null:e},t.names=["Krovak","krovak"]},function(e,t,i){var s=i(5),r=i(14),n=Math.PI/2,a=i(12),o=i(1),l=i(13);t.init=function(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)<1e-10)){var e=this.b/this.a;this.e=Math.sqrt(1-e*e);var t=Math.sin(this.lat1),i=Math.cos(this.lat1),n=s(this.e,t,i),a=r(this.e,this.lat1,t),o=Math.sin(this.lat2),l=Math.cos(this.lat2),h=s(this.e,o,l),u=r(this.e,this.lat2,o),c=r(this.e,this.lat0,Math.sin(this.lat0));Math.abs(this.lat1-this.lat2)>1e-10?this.ns=Math.log(n/h)/Math.log(a/u):this.ns=t,isNaN(this.ns)&&(this.ns=t),this.f0=n/(this.ns*Math.pow(a,this.ns)),this.rh=this.a*this.f0*Math.pow(c,this.ns),this.title||(this.title="Lambert Conformal Conic")}},t.forward=function(e){var t=e.x,i=e.y;Math.abs(2*Math.abs(i)-Math.PI)<=1e-10&&(i=a(i)*(n-2e-10));var s,l,h=Math.abs(Math.abs(i)-n);if(h>1e-10)s=r(this.e,i,Math.sin(i)),l=this.a*this.f0*Math.pow(s,this.ns);else{if((h=i*this.ns)<=0)return null;l=0}var u=this.ns*o(t-this.long0);return e.x=this.k0*(l*Math.sin(u))+this.x0,e.y=this.k0*(this.rh-l*Math.cos(u))+this.y0,e},t.inverse=function(e){var t,i,s,r,a,h=(e.x-this.x0)/this.k0,u=this.rh-(e.y-this.y0)/this.k0;this.ns>0?(t=Math.sqrt(h*h+u*u),i=1):(t=-Math.sqrt(h*h+u*u),i=-1);var c=0;if(0!==t&&(c=Math.atan2(i*h,i*u)),0!==t||this.ns>0){if(i=1/this.ns,s=Math.pow(t/(this.a*this.f0),i),-9999===(r=l(this.e,s)))return null}else r=-n;return a=o(c/this.ns+this.long0),e.x=a,e.y=r,e},t.names=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_2SP","lcc"]},function(e,t,i){var s=i(14),r=i(1),n=i(13),a=Math.PI/2,o=Math.PI/4;t.init=function(){this.no_off=this.no_off||!1,this.no_rot=this.no_rot||!1,isNaN(this.k0)&&(this.k0=1);var e=Math.sin(this.lat0),t=Math.cos(this.lat0),i=this.e*e;this.bl=Math.sqrt(1+this.es/(1-this.es)*Math.pow(t,4)),this.al=this.a*this.bl*this.k0*Math.sqrt(1-this.es)/(1-i*i);var n,a,o=s(this.e,this.lat0,e),l=this.bl/t*Math.sqrt((1-this.es)/(1-i*i));if(l*l<1&&(l=1),isNaN(this.longc)){var h=s(this.e,this.lat1,Math.sin(this.lat1)),u=s(this.e,this.lat2,Math.sin(this.lat2));this.lat0>=0?this.el=(l+Math.sqrt(l*l-1))*Math.pow(o,this.bl):this.el=(l-Math.sqrt(l*l-1))*Math.pow(o,this.bl);var c=Math.pow(h,this.bl),p=Math.pow(u,this.bl);a=.5*((n=this.el/c)-1/n);var d=(this.el*this.el-p*c)/(this.el*this.el+p*c),f=(p-c)/(p+c),m=r(this.long1-this.long2);this.long0=.5*(this.long1+this.long2)-Math.atan(d*Math.tan(.5*this.bl*m)/f)/this.bl,this.long0=r(this.long0);var y=r(this.long1-this.long0);this.gamma0=Math.atan(Math.sin(this.bl*y)/a),this.alpha=Math.asin(l*Math.sin(this.gamma0))}else n=this.lat0>=0?l+Math.sqrt(l*l-1):l-Math.sqrt(l*l-1),this.el=n*Math.pow(o,this.bl),a=.5*(n-1/n),this.gamma0=Math.asin(Math.sin(this.alpha)/l),this.long0=this.longc-Math.asin(a*Math.tan(this.gamma0))/this.bl;this.no_off?this.uc=0:this.lat0>=0?this.uc=this.al/this.bl*Math.atan2(Math.sqrt(l*l-1),Math.cos(this.alpha)):this.uc=-1*this.al/this.bl*Math.atan2(Math.sqrt(l*l-1),Math.cos(this.alpha))},t.forward=function(e){var t,i,n,l=e.x,h=e.y,u=r(l-this.long0);if(Math.abs(Math.abs(h)-a)<=1e-10)n=h>0?-1:1,i=this.al/this.bl*Math.log(Math.tan(o+n*this.gamma0*.5)),t=-1*n*a*this.al/this.bl;else{var c=s(this.e,h,Math.sin(h)),p=this.el/Math.pow(c,this.bl),d=.5*(p-1/p),f=.5*(p+1/p),m=Math.sin(this.bl*u),y=(d*Math.sin(this.gamma0)-m*Math.cos(this.gamma0))/f;i=Math.abs(Math.abs(y)-1)<=1e-10?Number.POSITIVE_INFINITY:.5*this.al*Math.log((1-y)/(1+y))/this.bl,t=Math.abs(Math.cos(this.bl*u))<=1e-10?this.al*this.bl*u:this.al*Math.atan2(d*Math.cos(this.gamma0)+m*Math.sin(this.gamma0),Math.cos(this.bl*u))/this.bl}return this.no_rot?(e.x=this.x0+t,e.y=this.y0+i):(t-=this.uc,e.x=this.x0+i*Math.cos(this.alpha)+t*Math.sin(this.alpha),e.y=this.y0+t*Math.cos(this.alpha)-i*Math.sin(this.alpha)),e},t.inverse=function(e){var t,i;this.no_rot?(i=e.y-this.y0,t=e.x-this.x0):(i=(e.x-this.x0)*Math.cos(this.alpha)-(e.y-this.y0)*Math.sin(this.alpha),t=(e.y-this.y0)*Math.cos(this.alpha)+(e.x-this.x0)*Math.sin(this.alpha),t+=this.uc);var s=Math.exp(-1*this.bl*i/this.al),o=.5*(s-1/s),l=.5*(s+1/s),h=Math.sin(this.bl*t/this.al),u=(h*Math.cos(this.gamma0)+o*Math.sin(this.gamma0))/l,c=Math.pow(this.el/Math.sqrt((1+u)/(1-u)),1/this.bl);return Math.abs(u-1)<1e-10?(e.x=this.long0,e.y=a):Math.abs(u+1)<1e-10?(e.x=this.long0,e.y=-1*a):(e.y=n(this.e,c),e.x=r(this.long0-Math.atan2(o*Math.cos(this.gamma0)-h*Math.sin(this.gamma0),Math.cos(this.bl*t/this.al))/this.bl)),e},t.names=["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","omerc"]},function(e,t){t.init=function(){var e=this.lat0;this.lambda0=this.long0;var t=Math.sin(e),i=this.a,s=1/this.rf,r=2*s-Math.pow(s,2),n=this.e=Math.sqrt(r);this.R=this.k0*i*Math.sqrt(1-r)/(1-r*Math.pow(t,2)),this.alpha=Math.sqrt(1+r/(1-r)*Math.pow(Math.cos(e),4)),this.b0=Math.asin(t/this.alpha);var a=Math.log(Math.tan(Math.PI/4+this.b0/2)),o=Math.log(Math.tan(Math.PI/4+e/2)),l=Math.log((1+n*t)/(1-n*t));this.K=a-this.alpha*o+this.alpha*n/2*l},t.forward=function(e){var t=Math.log(Math.tan(Math.PI/4-e.y/2)),i=this.e/2*Math.log((1+this.e*Math.sin(e.y))/(1-this.e*Math.sin(e.y))),s=-this.alpha*(t+i)+this.K,r=2*(Math.atan(Math.exp(s))-Math.PI/4),n=this.alpha*(e.x-this.lambda0),a=Math.atan(Math.sin(n)/(Math.sin(this.b0)*Math.tan(r)+Math.cos(this.b0)*Math.cos(n))),o=Math.asin(Math.cos(this.b0)*Math.sin(r)-Math.sin(this.b0)*Math.cos(r)*Math.cos(n));return e.y=this.R/2*Math.log((1+Math.sin(o))/(1-Math.sin(o)))+this.y0,e.x=this.R*a+this.x0,e},t.inverse=function(e){for(var t=e.x-this.x0,i=e.y-this.y0,s=t/this.R,r=2*(Math.atan(Math.exp(i/this.R))-Math.PI/4),n=Math.asin(Math.cos(this.b0)*Math.sin(r)+Math.sin(this.b0)*Math.cos(r)*Math.cos(s)),a=Math.atan(Math.sin(s)/(Math.cos(this.b0)*Math.cos(s)-Math.sin(this.b0)*Math.tan(r))),o=this.lambda0+a/this.alpha,l=0,h=n,u=-1e3,c=0;Math.abs(h-u)>1e-7;){if(++c>20)return;l=1/this.alpha*(Math.log(Math.tan(Math.PI/4+n/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(h))/2)),u=h,h=2*Math.atan(Math.exp(l))-Math.PI/2}return e.x=o,e.y=h,e},t.names=["somerc"]},function(e,t,i){var s=Math.PI/2,r=i(12),n=i(5),a=i(14),o=i(13),l=i(1);t.ssfn_=function(e,t,i){return t*=i,Math.tan(.5*(s+e))*Math.pow((1-t)/(1+t),.5*i)},t.init=function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&(this.k0=.5*(1+r(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=1e-10&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&(this.k0=.5*this.cons*n(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/a(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=n(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-s,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},t.forward=function(e){var t,i,r,n,o,h,u=e.x,c=e.y,p=Math.sin(c),d=Math.cos(c),f=l(u-this.long0);return Math.abs(Math.abs(u-this.long0)-Math.PI)<=1e-10&&Math.abs(c+this.lat0)<=1e-10?(e.x=NaN,e.y=NaN,e):this.sphere?(t=2*this.k0/(1+this.sinlat0*p+this.coslat0*d*Math.cos(f)),e.x=this.a*t*d*Math.sin(f)+this.x0,e.y=this.a*t*(this.coslat0*p-this.sinlat0*d*Math.cos(f))+this.y0,e):(i=2*Math.atan(this.ssfn_(c,p,this.e))-s,n=Math.cos(i),r=Math.sin(i),Math.abs(this.coslat0)<=1e-10?(o=a(this.e,c*this.con,this.con*p),h=2*this.a*this.k0*o/this.cons,e.x=this.x0+h*Math.sin(u-this.long0),e.y=this.y0-this.con*h*Math.cos(u-this.long0),e):(Math.abs(this.sinlat0)<1e-10?(t=2*this.a*this.k0/(1+n*Math.cos(f)),e.y=t*r):(t=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*r+this.cosX0*n*Math.cos(f))),e.y=t*(this.cosX0*r-this.sinX0*n*Math.cos(f))+this.y0),e.x=t*n*Math.sin(f)+this.x0,e))},t.inverse=function(e){var t,i,r,n,a;e.x-=this.x0,e.y-=this.y0;var h=Math.sqrt(e.x*e.x+e.y*e.y);if(this.sphere){var u=2*Math.atan(h/(.5*this.a*this.k0));return t=this.long0,i=this.lat0,h<=1e-10?(e.x=t,e.y=i,e):(i=Math.asin(Math.cos(u)*this.sinlat0+e.y*Math.sin(u)*this.coslat0/h),t=Math.abs(this.coslat0)<1e-10?this.lat0>0?l(this.long0+Math.atan2(e.x,-1*e.y)):l(this.long0+Math.atan2(e.x,e.y)):l(this.long0+Math.atan2(e.x*Math.sin(u),h*this.coslat0*Math.cos(u)-e.y*this.sinlat0*Math.sin(u))),e.x=t,e.y=i,e)}if(Math.abs(this.coslat0)<=1e-10){if(h<=1e-10)return i=this.lat0,t=this.long0,e.x=t,e.y=i,e;e.x*=this.con,e.y*=this.con,r=h*this.cons/(2*this.a*this.k0),i=this.con*o(this.e,r),t=this.con*l(this.con*this.long0+Math.atan2(e.x,-1*e.y))}else n=2*Math.atan(h*this.cosX0/(2*this.a*this.k0*this.ms1)),t=this.long0,h<=1e-10?a=this.X0:(a=Math.asin(Math.cos(n)*this.sinX0+e.y*Math.sin(n)*this.cosX0/h),t=l(this.long0+Math.atan2(e.x*Math.sin(n),h*this.cosX0*Math.cos(n)-e.y*this.sinX0*Math.sin(n)))),i=-1*o(this.e,Math.tan(.5*(s+a)));return e.x=t,e.y=i,e},t.names=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"]},function(e,t){e.exports=function(e,t){return Math.pow((1-e)/(1+e),t)}},function(e,t,i){var s=Math.PI/4,r=i(68),n=Math.PI/2;t.init=function(){var e=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t,this.rc=Math.sqrt(1-this.es)/(1-this.es*e*e),this.C=Math.sqrt(1+this.es*t*t/(1-this.es)),this.phic0=Math.asin(e/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+s)/(Math.pow(Math.tan(.5*this.lat0+s),this.C)*r(this.e*e,this.ratexp))},t.forward=function(e){var t=e.x,i=e.y;return e.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*i+s),this.C)*r(this.e*Math.sin(i),this.ratexp))-n,e.x=this.C*t,e},t.inverse=function(e){for(var t=e.x/this.C,i=e.y,a=Math.pow(Math.tan(.5*i+s)/this.K,1/this.C),o=20;o>0&&(i=2*Math.atan(a*r(this.e*Math.sin(e.y),-.5*this.e))-n,!(Math.abs(i-e.y)<1e-14));--o)e.y=i;return o?(e.x=t,e.y=i,e):null},t.names=["gauss"]},function(e,t,i){var s=i(69),r=i(1);t.init=function(){s.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},t.forward=function(e){var t,i,n,a;return e.x=r(e.x-this.long0),s.forward.apply(this,[e]),t=Math.sin(e.y),i=Math.cos(e.y),n=Math.cos(e.x),a=this.k0*this.R2/(1+this.sinc0*t+this.cosc0*i*n),e.x=a*i*Math.sin(e.x),e.y=a*(this.cosc0*t-this.sinc0*i*n),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e},t.inverse=function(e){var t,i,n,a,o;if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,o=Math.sqrt(e.x*e.x+e.y*e.y)){var l=2*Math.atan2(o,this.R2);t=Math.sin(l),i=Math.cos(l),a=Math.asin(i*this.sinc0+e.y*t*this.cosc0/o),n=Math.atan2(e.x*t,o*this.cosc0*i-e.y*this.sinc0*t)}else a=this.phic0,n=0;return e.x=n,e.y=a,s.inverse.apply(this,[e]),e.x=r(e.x+this.long0),e},t.names=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative"]},function(e,t,i){var s=i(28);t.dependsOn="tmerc",t.init=function(){this.zone&&(this.lat0=0,this.long0=.017453292519943295*(6*Math.abs(this.zone)-183),this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,s.init.apply(this),this.forward=s.forward,this.inverse=s.inverse)},t.names=["Universal Transverse Mercator System","utm"]},function(e,t,i){var s=[i(28),i(71),i(70),i(67),i(66),i(65),i(64),i(63),i(62),i(61),i(60),i(59),i(58),i(56),i(55),i(54),i(53),i(52),i(49),i(48),i(47),i(46)];e.exports=function(e){s.forEach(function(t){e.Proj.projections.add(t)})}},function(e){e.exports={_from:"proj4@2.3.15",_id:"proj4@2.3.15",_inBundle:!1,_integrity:"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=",_location:"/proj4",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"proj4@2.3.15",name:"proj4",escapedName:"proj4",rawSpec:"2.3.15",saveSpec:null,fetchSpec:"2.3.15"},_requiredBy:["/"],_resolved:"http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz",_shasum:"5ad06e8bca30be0ffa389a49e4565f51f06d089e",_spec:"proj4@2.3.15",_where:"G:\\iClient\\iClient-JavaScript",author:"",bugs:{url:"https://github.com/proj4js/proj4js/issues"},bundleDependencies:!1,contributors:[{name:"Mike Adair",email:"madair@dmsolutions.ca"},{name:"Richard Greenwood",email:"rich@greenwoodmap.com"},{name:"Calvin Metcalf",email:"calvin.metcalf@gmail.com"},{name:"Richard Marsden",url:"http://www.winwaed.com"},{name:"T. Mittan"},{name:"D. Steinwand"},{name:"S. Nelson"}],dependencies:{mgrs:"~0.0.2"},deprecated:!1,description:"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",devDependencies:{browserify:"~12.0.1",chai:"~1.8.1",curl:"git://github.com/cujojs/curl.git",grunt:"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0",istanbul:"~0.2.4",mocha:"~1.17.1",tin:"~0.4.0"},directories:{test:"test",doc:"docs"},homepage:"https://github.com/proj4js/proj4js#readme",jam:{main:"dist/proj4.js",include:["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},license:"MIT",main:"lib/index.js",name:"proj4",repository:{type:"git",url:"git://github.com/proj4js/proj4js.git"},scripts:{test:"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},version:"2.3.15"}},function(e,t,i){var s=i(29);function r(e,t,i){if(!(this instanceof r))return new r(e,t,i);if(Array.isArray(e))this.x=e[0],this.y=e[1],this.z=e[2]||0;else if("object"==typeof e)this.x=e.x,this.y=e.y,this.z=e.z||0;else if("string"==typeof e&&void 0===t){var s=e.split(",");this.x=parseFloat(s[0],10),this.y=parseFloat(s[1],10),this.z=parseFloat(s[2],10)||0}else this.x=e,this.y=t,this.z=i||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}r.fromMGRS=function(e){return new r(s.toPoint(e))},r.prototype.toMGRS=function(e){return s.forward([this.x,this.y],e)},e.exports=r},function(e,t){e.exports=function(e,t,i){var s,r,n,a=i.x,o=i.y,l=i.z||0;for(n=0;n<3;n++)if(!t||2!==n||void 0!==i.z)switch(0===n?(s=a,r="x"):1===n?(s=o,r="y"):(s=l,r="z"),e.axis[n]){case"e":i[r]=s;break;case"w":i[r]=-s;break;case"n":i[r]=s;break;case"s":i[r]=-s;break;case"u":void 0!==i[r]&&(i.z=s);break;case"d":void 0!==i[r]&&(i.z=-s);break;default:return null}return i}},function(e,t){var i=1,s=2;e.exports=function(e,t,r){var n,a,o;function l(e){return e===i||e===s}if(e.compare_datums(t))return r;if(5===e.datum_type||5===t.datum_type)return r;var h=e.a,u=e.es,c=t.a,p=t.es,d=e.datum_type;if(3===d)if(0===this.apply_gridshift(e,0,r))e.a=6378137,e.es=.006694379990141316;else{if(!e.datum_params)return e.a=h,e.es=e.es,r;for(n=1,a=0,o=e.datum_params.length;a3?s:i}return 3===t.datum_type&&(t.a=6378137,t.es=.006694379990141316),(e.es!==t.es||e.a!==t.a||l(d)||l(t.datum_type))&&(e.geodetic_to_geocentric(r),l(e.datum_type)&&e.geocentric_to_wgs84(r),l(t.datum_type)&&t.geocentric_from_wgs84(r),t.geocentric_to_geodetic(r)),3===t.datum_type&&this.apply_gridshift(t,1,r),e.a=h,e.es=u,t.a=c,t.es=p,r}},function(e,t){var i=Math.PI/2,s=function(e){if(!(this instanceof s))return new s(e);this.datum_type=4,e&&(e.datumCode&&"none"===e.datumCode&&(this.datum_type=5),e.datum_params&&(this.datum_params=e.datum_params.map(parseFloat),0===this.datum_params[0]&&0===this.datum_params[1]&&0===this.datum_params[2]||(this.datum_type=1),this.datum_params.length>3&&(0===this.datum_params[3]&&0===this.datum_params[4]&&0===this.datum_params[5]&&0===this.datum_params[6]||(this.datum_type=2,this.datum_params[3]*=484813681109536e-20,this.datum_params[4]*=484813681109536e-20,this.datum_params[5]*=484813681109536e-20,this.datum_params[6]=this.datum_params[6]/1e6+1))),this.datum_type=e.grids?3:this.datum_type,this.a=e.a,this.b=e.b,this.es=e.es,this.ep2=e.ep2,3===this.datum_type&&(this.grids=e.grids))};s.prototype={compare_datums:function(e){return this.datum_type===e.datum_type&&(!(this.a!==e.a||Math.abs(this.es-e.es)>5e-11)&&(1===this.datum_type?this.datum_params[0]===e.datum_params[0]&&this.datum_params[1]===e.datum_params[1]&&this.datum_params[2]===e.datum_params[2]:2===this.datum_type?this.datum_params[0]===e.datum_params[0]&&this.datum_params[1]===e.datum_params[1]&&this.datum_params[2]===e.datum_params[2]&&this.datum_params[3]===e.datum_params[3]&&this.datum_params[4]===e.datum_params[4]&&this.datum_params[5]===e.datum_params[5]&&this.datum_params[6]===e.datum_params[6]:3!==this.datum_type&&3!==e.datum_type||this.nadgrids===e.nadgrids))},geodetic_to_geocentric:function(e){var t,s,r,n,a,o,l,h=e.x,u=e.y,c=e.z?e.z:0;if(u<-i&&u>-1.001*i)u=-i;else if(u>i&&u<1.001*i)u=i;else if(u<-i||u>i)return null;return h>Math.PI&&(h-=2*Math.PI),a=Math.sin(u),l=Math.cos(u),o=a*a,t=((n=this.a/Math.sqrt(1-this.es*o))+c)*l*Math.cos(h),s=(n+c)*l*Math.sin(h),r=(n*(1-this.es)+c)*a,e.x=t,e.y=s,e.z=r,0},geocentric_to_geodetic:function(e){var t,s,r,n,a,o,l,h,u,c,p,d,f,m,y,g,v=e.x,S=e.y,b=e.z?e.z:0;if(!1,t=Math.sqrt(v*v+S*S),s=Math.sqrt(v*v+S*S+b*b),t/this.a<1e-12){if(!0,m=0,s/this.a<1e-12)return y=i,void(g=-this.b)}else m=Math.atan2(S,v);r=b/s,n=t/s,a=1/Math.sqrt(1-this.es*(2-this.es)*n*n),h=n*(1-this.es)*a,u=r*a,f=0;do{f++,g=t*h+b*u-(l=this.a/Math.sqrt(1-this.es*u*u))*(1-this.es*u*u),o=this.es*l/(l+g),d=(p=r*(a=1/Math.sqrt(1-o*(2-o)*n*n)))*h-(c=n*(1-o)*a)*u,h=c,u=p}while(d*d>1e-24&&f<30);return y=Math.atan(p/Math.abs(c)),e.x=m,e.y=y,e.z=g,e},geocentric_to_geodetic_noniter:function(e){var t,s,r,n,a,o,l,h,u,c,p,d,f,m,y,g,v,S=e.x,b=e.y,x=e.z?e.z:0;if(S=parseFloat(S),b=parseFloat(b),x=parseFloat(x),v=!1,0!==S)t=Math.atan2(b,S);else if(b>0)t=i;else if(b<0)t=-i;else if(v=!0,t=0,x>0)s=i;else{if(!(x<0))return s=i,void(r=-this.b);s=-i}return a=S*S+b*b,o=1.0026*x,d=(n=Math.sqrt(a))/(h=Math.sqrt(o*o+a)),p=(c=o/h)*c*c,l=x+this.b*this.ep2*p,g=n-this.a*this.es*d*d*d,f=l/(u=Math.sqrt(l*l+g*g)),m=g/u,y=this.a/Math.sqrt(1-this.es*f*f),r=m>=.3826834323650898?n/m-y:m<=-.3826834323650898?n/-m-y:x/f+y*(this.es-1),!1===v&&(s=Math.atan(f/m)),e.x=t,e.y=s,e.z=r,e},geocentric_to_wgs84:function(e){if(1===this.datum_type)e.x+=this.datum_params[0],e.y+=this.datum_params[1],e.z+=this.datum_params[2];else if(2===this.datum_type){var t=this.datum_params[0],i=this.datum_params[1],s=this.datum_params[2],r=this.datum_params[3],n=this.datum_params[4],a=this.datum_params[5],o=this.datum_params[6],l=o*(e.x-a*e.y+n*e.z)+t,h=o*(a*e.x+e.y-r*e.z)+i,u=o*(-n*e.x+r*e.y+e.z)+s;e.x=l,e.y=h,e.z=u}},geocentric_from_wgs84:function(e){if(1===this.datum_type)e.x-=this.datum_params[0],e.y-=this.datum_params[1],e.z-=this.datum_params[2];else if(2===this.datum_type){var t=this.datum_params[0],i=this.datum_params[1],s=this.datum_params[2],r=this.datum_params[3],n=this.datum_params[4],a=this.datum_params[5],o=this.datum_params[6],l=(e.x-t)/o,h=(e.y-i)/o,u=(e.z-s)/o;e.x=l+a*h-n*u,e.y=-a*l+h+r*u,e.z=n*l-r*h+u}}},e.exports=s},function(e,t){t.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"},t.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},t.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},t.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"},t.airy={a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},t.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},t.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},t.mod_airy={a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},t.andrae={a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},t.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},t.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},t.bessel={a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},t.bess_nam={a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},t.clrk66={a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},t.clrk80={a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},t.clrk58={a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},t.CPM={a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},t.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},t.engelis={a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},t.evrst30={a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},t.evrst48={a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},t.evrst56={a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},t.evrst69={a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},t.evrstSS={a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},t.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},t.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"},t.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"},t.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"},t.hough={a:6378270,rf:297,ellipseName:"Hough"},t.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},t.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"},t.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"},t.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"},t.new_intl={a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},t.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},t.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},t.SEasia={a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},t.walbeck={a:6376896,b:6355834.8467,ellipseName:"Walbeck"},t.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"},t.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"},t.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"},t.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"},t.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"}},function(e,t){t.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},t.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},t.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},t.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},t.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},t.potsdam={towgs84:"606.0,23.0,413.0",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},t.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},t.hermannskogel={towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"},t.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},t.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},t.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},t.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},t.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},t.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},t.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},t.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"}},function(e,t,i){var s=i(79),r=i(78),n=i(19),a=i(77);e.exports=function(e){if(e.datumCode&&"none"!==e.datumCode){var t=s[e.datumCode];t&&(e.datum_params=t.towgs84?t.towgs84.split(","):null,e.ellps=t.ellipse,e.datumName=t.datumName?t.datumName:e.datumCode)}if(!e.a){var i=r[e.ellps]?r[e.ellps]:r.WGS84;n(e,i)}return e.rf&&!e.b&&(e.b=(1-1/e.rf)*e.a),(0===e.rf||Math.abs(e.a-e.b)<1e-10)&&(e.sphere=!0,e.b=e.a),e.a2=e.a*e.a,e.b2=e.b*e.b,e.es=(e.a2-e.b2)/e.a2,e.e=Math.sqrt(e.es),e.R_A&&(e.a*=1-e.es*(.16666666666666666+e.es*(.04722222222222222+.022156084656084655*e.es)),e.a2=e.a*e.a,e.b2=e.b*e.b,e.es=0),e.ep2=(e.a2-e.b2)/e.b2,e.k0||(e.k0=1),e.axis||(e.axis="enu"),e.datum||(e.datum=a(e)),e}},function(e,t){function i(e){return e}t.init=function(){},t.forward=i,t.inverse=i,t.names=["longlat","identity"]},function(e,t,i){var s=i(5),r=Math.PI/2,n=57.29577951308232,a=i(1),o=Math.PI/4,l=i(14),h=i(13);t.init=function(){var e=this.b/this.a;this.es=1-e*e,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=s(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)},t.forward=function(e){var t,i,s=e.x,h=e.y;if(h*n>90&&h*n<-90&&s*n>180&&s*n<-180)return null;if(Math.abs(Math.abs(h)-r)<=1e-10)return null;if(this.sphere)t=this.x0+this.a*this.k0*a(s-this.long0),i=this.y0+this.a*this.k0*Math.log(Math.tan(o+.5*h));else{var u=Math.sin(h),c=l(this.e,h,u);t=this.x0+this.a*this.k0*a(s-this.long0),i=this.y0-this.a*this.k0*Math.log(c)}return e.x=t,e.y=i,e},t.inverse=function(e){var t,i,s=e.x-this.x0,n=e.y-this.y0;if(this.sphere)i=r-2*Math.atan(Math.exp(-n/(this.a*this.k0)));else{var o=Math.exp(-n/(this.a*this.k0));if(-9999===(i=h(this.e,o)))return null}return t=a(this.long0+s/(this.a*this.k0)),e.x=t,e.y=i,e},t.names=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},function(e,t,i){var s=[i(82),i(81)],r={},n=[];function a(e,t){var i=n.length;return e.names?(n[i]=e,e.names.forEach(function(e){r[e.toLowerCase()]=i}),this):(console.log(t),!0)}t.add=a,t.get=function(e){if(!e)return!1;var t=e.toLowerCase();return void 0!==r[t]&&n[r[t]]?n[r[t]]:void 0},t.start=function(){s.forEach(a)}},function(e,t){t.ft={to_meter:.3048},t["us-ft"]={to_meter:1200/3937}},function(e,t){t.greenwich=0,t.lisbon=-9.131906111111,t.paris=2.337229166667,t.bogota=-74.080916666667,t.madrid=-3.687938888889,t.rome=12.452333333333,t.bern=7.439583333333,t.jakarta=106.807719444444,t.ferro=-17.666666666667,t.brussels=4.367975,t.stockholm=18.058277777778,t.athens=23.7163375,t.oslo=10.722916666667},function(e,t){e.exports=function(e){e("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),e("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),e("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),e.WGS84=e["EPSG:4326"],e["EPSG:3785"]=e["EPSG:3857"],e.GOOGLE=e["EPSG:3857"],e["EPSG:900913"]=e["EPSG:3857"],e["EPSG:102113"]=e["EPSG:3857"]}},function(e,t,i){var s=i(34),r=i(32),n=i(33);e.exports=function(e){return function(e){return"string"==typeof e}(e)?function(e){return e in s}(e)?s[e]:function(e){return["GEOGCS","GEOCCS","PROJCS","LOCAL_CS"].reduce(function(t,i){return t+1+e.indexOf(i)},0)}(e)?r(e):function(e){return"+"===e[0]}(e)?n(e):void 0:e}},function(e,t,i){var s=i(20),r=i(31),n=s("WGS84");function a(e,t,i){var s;return Array.isArray(i)?(s=r(e,t,i),3===i.length?[s.x,s.y,s.z]:[s.x,s.y]):r(e,t,i)}function o(e){return e instanceof s?e:e.oProj?e.oProj:s(e)}e.exports=function(e,t,i){e=o(e);var s,r=!1;return void 0===t?(t=e,e=n,r=!0):(void 0!==t.x||Array.isArray(t))&&(i=t,t=e,e=n,r=!0),t=o(t),i?a(e,t,i):(s={forward:function(i){return a(e,t,i)},inverse:function(i){return a(t,e,i)}},r&&(s.oProj=t),s)}},function(e,t){!function(t){"use strict";if(t.__disableNativeFetch||!t.fetch){o.prototype.append=function(e,t){e=n(e),t=a(t);var i=this.map[e];i||(i=[],this.map[e]=i),i.push(t)},o.prototype.delete=function(e){delete this.map[n(e)]},o.prototype.get=function(e){var t=this.map[n(e)];return t?t[0]:null},o.prototype.getAll=function(e){return this.map[n(e)]||[]},o.prototype.has=function(e){return this.map.hasOwnProperty(n(e))},o.prototype.set=function(e,t){this.map[n(e)]=[a(t)]},o.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(i){this.map[i].forEach(function(s){e.call(t,s,i,this)},this)},this)};var i={blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t},s=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this)},c.call(p.prototype),c.call(f.prototype),f.prototype.clone=function(){return new f(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},f.error=function(){var e=new f(null,{status:0,statusText:""});return e.type="error",e};var r=[301,302,303,307,308];f.redirect=function(e,t){if(-1===r.indexOf(t))throw new RangeError("Invalid status code");return new f(null,{status:t,headers:{location:e}})},t.Headers=o,t.Request=p,t.Response=f,t.fetch=function(e,t){return new Promise(function(s,r){var n;n=p.prototype.isPrototypeOf(e)&&!t?e:new p(e,t);var a=new XMLHttpRequest;var l=!1;function h(){if(4===a.readyState){var e=1223===a.status?204:a.status;if(e<100||e>599){if(l)return;return l=!0,void r(new TypeError("Network request failed"))}var t={status:e,statusText:a.statusText,headers:function(e){var t=new o;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var i=e.trim().split(":"),s=i.shift().trim(),r=i.join(":").trim();t.append(s,r)}),t}(a),url:"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0},i="response"in a?a.response:a.responseText;l||(l=!0,s(new f(i,t)))}}a.onreadystatechange=h,a.onload=h,a.onerror=function(){l||(l=!0,r(new TypeError("Network request failed")))},a.open(n.method,n.url,!0);try{"include"===n.credentials&&("withCredentials"in a?a.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(e){console&&console.warn&&console.warn("set withCredentials error:"+e)}"responseType"in a&&i.blob&&(a.responseType="blob"),n.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send(void 0===n._bodyInit?null:n._bodyInit)})},t.fetch.polyfill=!0,void 0!==e&&e.exports&&(e.exports=t.fetch)}function n(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function l(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}})}function u(e){var t=new FileReader;return t.readAsArrayBuffer(e),h(t)}function c(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(i.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(i.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!i.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},i.blob?(this.blob=function(){var e=l(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(u)},this.text=function(){var e,t,i,s,r,n,a,o=l(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=this._options,i=new FileReader,s=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",r=/charset\=[0-9a-zA-Z\-\_]*;?/,n=e.type.match(r)||s.match(r),a=[e],n&&a.push(n[0].replace(/^charset\=/,"").replace(/;$/,"")),i.readAsText.apply(i,a),h(i);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=l(this);return e||Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(d)}),this.json=function(){return this.text().then(JSON.parse)},this}function p(e,t){var i,r,n=(t=t||{}).body;if(p.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=(i=t.method||this.method||"GET",r=i.toUpperCase(),s.indexOf(r)>-1?r:i),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n,t)}function d(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var i=e.split("="),s=i.shift().replace(/\+/g," "),r=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(s),decodeURIComponent(r))}}),t}function f(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof o?t.headers:new o(t.headers),this.url=t.url||""}}("undefined"!=typeof self?self:this)},function(e,t){var i,s,r=e.exports={};function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(e){if(i===setTimeout)return setTimeout(e,0);if((i===n||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:n}catch(e){i=n}try{s="function"==typeof clearTimeout?clearTimeout:a}catch(e){s=a}}();var l,h=[],u=!1,c=-1;function p(){u&&l&&(u=!1,l.length?h=l.concat(h):c=-1,h.length&&d())}function d(){if(!u){var e=o(p);u=!0;for(var t=h.length;t;){for(l=h,h=[];++c1)for(var i=1;i=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},i(91),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,i(21))},function(e,t,i){i(41),e.exports=i(40)},function(e,t){},,,,,,,function(e,t){}]); \ No newline at end of file + */!function(e){var t={};function i(s){if(t[s])return t[s].exports;var r=t[s]={i:s,l:!1,exports:{}};return e[s].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=e,i.c=t,i.d=function(e,t,s){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:s})},i.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=93)}([function(e,t){e.exports=L},function(e,t,i){var s=2*Math.PI,r=i(12);e.exports=function(e){return Math.abs(e)<=3.14159265359?e:e-r(e)*s}},function(e,t){e.exports=function(){try{return echarts}catch(e){return{}}}()},function(e,t,i){var s=i(88);s.defaultDatum="WGS84",s.Proj=i(20),s.WGS84=new s.Proj("WGS84"),s.Point=i(74),s.toPoint=i(30),s.defs=i(34),s.transform=i(31),s.mgrs=i(29),s.version=i(73).version,i(72)(s),e.exports=s},function(e,t){e.exports=function(e){return Math.abs(e)>1&&(e=e>1?1:-1),Math.asin(e)}},function(e,t){e.exports=function(e,t,i){var s=e*t;return i/Math.sqrt(1-s*s)}},function(e,t,i){var s=Math.PI/2,r=i(12);e.exports=function(e){return Math.abs(e)",d=">=",f="<",m="<=",y="*",g=",",v=".",S="(",b=")",x="where",_={pathway:[],groups:{}},C={},T={},M=console.log;function w(e){var t=A(e,x),i=t[0],s=t[1];_.pathway=A(i,g);for(var a=0,o=_.pathway.length;aT&&-1!==T){var L="gr_"+(new Date).getTime();_.groups[L]=s.substring(T+1,M),s=s.replace(S+_.groups[L]+b,L),w=-1}w+=1}!function e(t,i){var s=E(i,r),a=E(i,n);if(s!==Number.MAX_VALUE||a!==Number.MAX_VALUE)if(s-1}function L(e,t){var i=A(t,v),r=e;for(var n in i){if(!r.hasOwnProperty(i[n]))return"";r=r[i[n]]}return r=s.isDate(r)?r.valueOf():s.isDateString(r)?s.parseDateFromString(r):r.toString()}function N(e,t){var i=!1;for(var s in e){if(i=i||(s===a?I:s===o?N:O)(e[s],t),T.trace&&M(_.step,"======((( or",e[s],i),i)return i}return i}function I(e,t){var i=!0;for(var s in e){if(i=i&&(s===a?I:s===o?N:O)(e[s],t),T.trace&&M(_.step,"======((( and",e[s],i),!i)return i}return i}function O(e,t){if(_.step+=1,e.or){var i=N(e.or,t);return T.trace&&M(_.step,"OR",e,i),i}if(e.and){i=I(e.and,t);return T.trace&&M(_.step,"AND",e,i),i}if("object"==typeof e)return e.eq?L(t,e.eq[0])===e.eq[1]:e.ne?L(t,e.ne[0])!==e.ne[1]:e.req?P(L(t,e.req[0]),e.req[1]):e.nreq?!P(L(t,e.nreq[0]),e.nreq[1]):e.gt?L(t,e.gt[0])>e.gt[1]:e.ge?L(t,e.ge[0])>=e.ge[1]:e.lt?L(t,e.lt[0])0?s.map(function(e){for(var t={},i=0,s=_.pathway.length;i1e-7?(1-e*e)*(t/(1-(i=e*t)*i)-.5/e*Math.log((1-i)/(1+i))):2*t}},function(e,t){e.exports=function(e,t,i,s,r){var n,a;n=e/t;for(var o=0;o<15;o++)if(n+=a=(e-(t*n-i*Math.sin(2*n)+s*Math.sin(4*n)-r*Math.sin(6*n)))/(t-2*i*Math.cos(2*n)+4*s*Math.cos(4*n)-6*r*Math.cos(6*n)),Math.abs(a)<=1e-10)return n;return NaN}},function(e,t){e.exports=function(e,t,i){var s=t*i;return e/Math.sqrt(1-s*s)}},function(e,t){e.exports=function(e,t){var i,s;if(e=e||{},!t)return e;for(s in t)void 0!==(i=t[s])&&(e[s]=i);return e}},function(e,t,i){var s=i(87),r=i(19),n=i(83),a=i(80);function o(e,t){if(!(this instanceof o))return new o(e);t=t||function(e){if(e)throw e};var i=s(e);if("object"==typeof i){var n=a(i),l=o.projections.get(n.projName);l?(r(this,n),r(this,l),this.init(),t(null,this)):t(e)}else t(e)}o.projections=n,o.projections.start(),e.exports=o},function(e,t){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t){e.exports=function(){try{return turf}catch(e){return{}}}()},function(e,t){e.exports=function(){try{return mapv}catch(e){return{}}}()},function(e,t,i){var s,r,n;r=[t,e],void 0===(n="function"==typeof(s=function(e,t){"use strict";var i={timeout:5e3,jsonpCallback:"callback",jsonpCallbackFunction:null};function s(e){try{delete window[e]}catch(t){window[e]=void 0}}function r(e){var t=document.getElementById(e);document.getElementsByTagName("head")[0].removeChild(t)}t.exports=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=e,a=t.timeout||i.timeout,o=t.jsonpCallback||i.jsonpCallback,l=void 0;return new Promise(function(i,h){var u=t.jsonpCallbackFunction||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),c=o+"_"+u;window[u]=function(e){i({ok:!0,json:function(){return Promise.resolve(e)}}),l&&clearTimeout(l),r(c),s(u)},n+=-1===n.indexOf("?")?"?":"&";var p=document.createElement("script");p.setAttribute("src",""+n+o+"="+u),p.id=c,document.getElementsByTagName("head")[0].appendChild(p),l=setTimeout(function(){h(new Error("JSONP request to "+e+" timed out")),s(u),r(c)},a)})}})?s.apply(t,r):s)||(e.exports=n)},function(e,t,i){"use strict";var s=i(42);function r(e,t,i,s,r){this.properties={},this.extent=i,this.type=0,this._pbf=e,this._geometry=-1,this._keys=s,this._values=r,e.readFields(n,this,t)}function n(e,t,i){1==e?t.id=i.readVarint():2==e?function(e,t){var i=e.readVarint()+e.pos;for(;e.pos>3}if(n--,1===r||2===r)a+=e.readSVarint(),o+=e.readSVarint(),1===r&&(t&&l.push(t),t=[]),t.push(new s(a,o));else{if(7!==r)throw new Error("unknown command "+r);t&&t.push(t[0].clone())}}return t&&l.push(t),l},r.prototype.bbox=function(){var e=this._pbf;e.pos=this._geometry;for(var t=e.readVarint()+e.pos,i=1,s=0,r=0,n=0,a=1/0,o=-1/0,l=1/0,h=-1/0;e.pos>3}if(s--,1===i||2===i)r+=e.readSVarint(),n+=e.readSVarint(),ro&&(o=r),nh&&(h=n);else if(7!==i)throw new Error("unknown command "+i)}return[a,l,o,h]},r.prototype.toGeoJSON=function(e,t,i){var s,n,o=this.extent*Math.pow(2,i),l=this.extent*e,h=this.extent*t,u=this.loadGeometry(),c=r.types[this.type];function p(e){for(var t=0;t>3;t=1===s?e.readString():2===s?e.readFloat():3===s?e.readDouble():4===s?e.readVarint64():5===s?e.readVarint():6===s?e.readSVarint():7===s?e.readBoolean():null}return t}(i))}e.exports=r,r.prototype.feature=function(e){if(e<0||e>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];var t=this._pbf.readVarint()+this._pbf.pos;return new s(this._pbf,t,this.extent,this._keys,this._values)}},function(e,t){e.exports=function(e,t,i,s){return i*=t,t*=t,s[0]*e-i*(s[1]+t*(s[2]+t*(s[3]+t*s[4])))}},function(e,t,i){var s=i(11),r=i(10),n=i(9),a=i(8),o=i(7),l=i(1),h=Math.PI/2,u=i(12),c=i(4);t.init=function(){this.e0=s(this.es),this.e1=r(this.es),this.e2=n(this.es),this.e3=a(this.es),this.ml0=this.a*o(this.e0,this.e1,this.e2,this.e3,this.lat0)},t.forward=function(e){var t,i,s,r=e.x,n=e.y,a=l(r-this.long0),h=Math.sin(n),u=Math.cos(n);if(this.sphere){var c=u*Math.sin(a);if(Math.abs(Math.abs(c)-1)<1e-10)return 93;i=.5*this.a*this.k0*Math.log((1+c)/(1-c)),t=Math.acos(u*Math.cos(a)/Math.sqrt(1-c*c)),n<0&&(t=-t),s=this.a*this.k0*(t-this.lat0)}else{var p=u*a,d=Math.pow(p,2),f=this.ep2*Math.pow(u,2),m=Math.tan(n),y=Math.pow(m,2);t=1-this.es*Math.pow(h,2);var g=this.a/Math.sqrt(t),v=this.a*o(this.e0,this.e1,this.e2,this.e3,n);i=this.k0*g*p*(1+d/6*(1-y+f+d/20*(5-18*y+Math.pow(y,2)+72*f-58*this.ep2)))+this.x0,s=this.k0*(v-this.ml0+g*m*(d*(.5+d/24*(5-y+9*f+4*Math.pow(f,2)+d/30*(61-58*y+Math.pow(y,2)+600*f-330*this.ep2)))))+this.y0}return e.x=i,e.y=s,e},t.inverse=function(e){var t,i,s,r,n,a;if(this.sphere){var o=Math.exp(e.x/(this.a*this.k0)),p=.5*(o-1/o),d=this.lat0+e.y/(this.a*this.k0),f=Math.cos(d);t=Math.sqrt((1-f*f)/(1+p*p)),n=c(t),d<0&&(n=-n),a=0===p&&0===f?this.long0:l(Math.atan2(p,f)+this.long0)}else{var m=e.x-this.x0,y=e.y-this.y0;for(i=t=(this.ml0+y/this.k0)/this.a,r=0;i+=s=(t+this.e1*Math.sin(2*i)-this.e2*Math.sin(4*i)+this.e3*Math.sin(6*i))/this.e0-i,!(Math.abs(s)<=1e-10);r++)if(r>=6)return 95;if(Math.abs(i)60)return null;var n,a,o,l,h,u,d,f,m=6378137,y=(1-Math.sqrt(.99330562))/(1+Math.sqrt(.99330562)),g=i-5e5,v=t;s<"N"&&(v-=1e7),u=6*(r-1)-180+3,f=(d=v/.9996/6367449.145945056)+(3*y/2-27*y*y*y/32)*Math.sin(2*d)+(21*y*y/16-55*y*y*y*y/32)*Math.sin(4*d)+151*y*y*y/96*Math.sin(6*d),n=m/Math.sqrt(1-.00669438*Math.sin(f)*Math.sin(f)),a=Math.tan(f)*Math.tan(f),o=.006739496752268451*Math.cos(f)*Math.cos(f),l=.99330562*m/Math.pow(1-.00669438*Math.sin(f)*Math.sin(f),1.5),h=g/(.9996*n);var S=f-n*Math.tan(f)/l*(h*h/2-(5+3*a+10*o-4*o*o-.06065547077041606)*h*h*h*h/24+(61+90*a+298*o+45*a*a-1.6983531815716497-3*o*o)*h*h*h*h*h*h/720);S=c(S);var b,x=(h-(1+2*a+o)*h*h*h/6+(5-2*o+28*a-3*o*o+.05391597401814761+24*a*a)*h*h*h*h*h/120)/Math.cos(f);if(x=u+c(x),e.accuracy){var _=p({northing:e.northing+e.accuracy,easting:e.easting+e.accuracy,zoneLetter:e.zoneLetter,zoneNumber:e.zoneNumber});b={top:_.lat,right:_.lon,bottom:S,left:x}}else b={lat:S,lon:x};return b}function d(e){var t=e%i;return 0===t&&(t=i),t}function f(e){if(e&&0===e.length)throw"MGRSPoint coverting from nothing";for(var t,i=e.length,u=null,c="",p=0;!/[A-Z]/.test(t=e.charAt(p));){if(p>=2)throw"MGRSPoint bad conversion from: "+e;c+=t,p++}var f=parseInt(c,10);if(0===p||p+3>i)throw"MGRSPoint bad conversion from: "+e;var y=e.charAt(p++);if(y<="A"||"B"===y||"Y"===y||y>="Z"||"I"===y||"O"===y)throw"MGRSPoint zone letter "+y+" not handled: "+e;u=e.substring(p,p+=2);for(var g=d(f),v=function(e,t){var i=s.charCodeAt(t-1),r=1e5,l=!1;for(;i!==e.charCodeAt(0);){if(++i===a&&i++,i===o&&i++,i>h){if(l)throw"Bad character: "+e;i=n,l=!0}r+=1e5}return r}(u.charAt(0),g),S=function(e,t){if(e>"V")throw"MGRSPoint given invalid Northing "+e;var i=r.charCodeAt(t-1),s=0,h=!1;for(;i!==e.charCodeAt(0);){if(++i===a&&i++,i===o&&i++,i>l){if(h)throw"Bad character: "+e;i=n,h=!0}s+=1e5}return s}(u.charAt(1),g);S0&&(x=1e5/Math.pow(10,T),_=e.substring(p,p+T),M=parseFloat(_)*x,C=e.substring(p+T),w=parseFloat(C)*x),{easting:M+v,northing:w+S,zoneLetter:y,zoneNumber:f,accuracy:x}}function m(e){var t;switch(e){case"C":t=11e5;break;case"D":t=2e6;break;case"E":t=28e5;break;case"F":t=37e5;break;case"G":t=46e5;break;case"H":t=55e5;break;case"J":t=64e5;break;case"K":t=73e5;break;case"L":t=82e5;break;case"M":t=91e5;break;case"N":t=0;break;case"P":t=8e5;break;case"Q":t=17e5;break;case"R":t=26e5;break;case"S":t=35e5;break;case"T":t=44e5;break;case"U":t=53e5;break;case"V":t=62e5;break;case"W":t=7e6;break;case"X":t=79e5;break;default:t=-1}if(t>=0)return t;throw"Invalid zone letter: "+e}t.forward=function(e,t){return t=t||5,function(e,t){var i="00000"+e.easting,u="00000"+e.northing;return e.zoneNumber+e.zoneLetter+(x=e.easting,_=e.northing,C=e.zoneNumber,T=d(C),M=Math.floor(x/1e5),w=Math.floor(_/1e5)%20,c=M,p=w,f=T,m=f-1,y=s.charCodeAt(m),g=r.charCodeAt(m),v=y+c-1,S=g+p,b=!1,v>h&&(v=v-h+n-1,b=!0),(v===a||ya||(v>a||yo||(v>o||yh&&(v=v-h+n-1),S>l?(S=S-l+n-1,b=!0):b=!1,(S===a||ga||(S>a||go||(S>o||gl&&(S=S-l+n-1),String.fromCharCode(v)+String.fromCharCode(S))+i.substr(i.length-5,t)+u.substr(u.length-5,t);var c,p,f,m,y,g,v,S,b;var x,_,C,T,M,w}(function(e){var t,i,s,r,n,a,o,l=e.lat,h=e.lon,c=6378137,p=u(l),d=u(h);o=Math.floor((h+180)/6)+1,180===h&&(o=60);l>=56&&l<64&&h>=3&&h<12&&(o=32);l>=72&&l<84&&(h>=0&&h<9?o=31:h>=9&&h<21?o=33:h>=21&&h<33?o=35:h>=33&&h<42&&(o=37));a=u(6*(o-1)-180+3),.006739496752268451,t=c/Math.sqrt(1-.00669438*Math.sin(p)*Math.sin(p)),i=Math.tan(p)*Math.tan(p),s=.006739496752268451*Math.cos(p)*Math.cos(p),r=Math.cos(p)*(d-a),n=c*(.9983242984503243*p-.002514607064228144*Math.sin(2*p)+2639046602129982e-21*Math.sin(4*p)-3.418046101696858e-9*Math.sin(6*p));var f=.9996*t*(r+(1-i+s)*r*r*r/6+(5-18*i+i*i+72*s-.39089081163157013)*r*r*r*r*r/120)+5e5,m=.9996*(n+t*Math.tan(p)*(r*r/2+(5-i+9*s+4*s*s)*r*r*r*r/24+(61-58*i+i*i+600*s-2.2240339282485886)*r*r*r*r*r*r/720));l<0&&(m+=1e7);return{northing:Math.round(m),easting:Math.round(f),zoneNumber:o,zoneLetter:function(e){var t="Z";84>=e&&e>=72?t="X":72>e&&e>=64?t="W":64>e&&e>=56?t="V":56>e&&e>=48?t="U":48>e&&e>=40?t="T":40>e&&e>=32?t="S":32>e&&e>=24?t="R":24>e&&e>=16?t="Q":16>e&&e>=8?t="P":8>e&&e>=0?t="N":0>e&&e>=-8?t="M":-8>e&&e>=-16?t="L":-16>e&&e>=-24?t="K":-24>e&&e>=-32?t="J":-32>e&&e>=-40?t="H":-40>e&&e>=-48?t="G":-48>e&&e>=-56?t="F":-56>e&&e>=-64?t="E":-64>e&&e>=-72?t="D":-72>e&&e>=-80&&(t="C");return t}(l)}}({lat:e[1],lon:e[0]}),t)},t.inverse=function(e){var t=p(f(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat,t.lon,t.lat]:[t.left,t.bottom,t.right,t.top]},t.toPoint=function(e){var t=p(f(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat]:[(t.left+t.right)/2,(t.top+t.bottom)/2]}},function(e,t){e.exports=function(e){var t={x:e[0],y:e[1]};return e.length>2&&(t.z=e[2]),e.length>3&&(t.m=e[3]),t}},function(e,t,i){var s=.017453292519943295,r=57.29577951308232,n=1,a=2,o=i(76),l=i(75),h=i(20),u=i(30);e.exports=function e(t,i,c){var p;function d(e,t){return(e.datum.datum_type===n||e.datum.datum_type===a)&&"WGS84"!==t.datumCode}return Array.isArray(c)&&(c=u(c)),t.datum&&i.datum&&(d(t,i)||d(i,t))&&(e(t,p=new h("WGS84"),c),t=p),"enu"!==t.axis&&l(t,!1,c),"longlat"===t.projName?(c.x*=s,c.y*=s):(t.to_meter&&(c.x*=t.to_meter,c.y*=t.to_meter),t.inverse(c)),t.from_greenwich&&(c.x+=t.from_greenwich),c=o(t.datum,i.datum,c),i.from_greenwich&&(c.x-=i.from_greenwich),"longlat"===i.projName?(c.x*=r,c.y*=r):(i.forward(c),i.to_meter&&(c.x/=i.to_meter,c.y/=i.to_meter)),"enu"!==i.axis&&l(i,!0,c),c}},function(e,t,i){var s=.017453292519943295,r=i(19);function n(e,t,i){e[t]=i.map(function(e){var t={};return a(e,t),t}).reduce(function(e,t){return r(e,t)},{})}function a(e,t){var i;Array.isArray(e)?("PARAMETER"===(i=e.shift())&&(i=e.shift()),1===e.length?Array.isArray(e[0])?(t[i]={},a(e[0],t[i])):t[i]=e[0]:e.length?"TOWGS84"===i?t[i]=e:(t[i]={},["UNIT","PRIMEM","VERT_DATUM"].indexOf(i)>-1?(t[i]={name:e[0].toLowerCase(),convert:e[1]},3===e.length&&(t[i].auth=e[2])):"SPHEROID"===i?(t[i]={name:e[0],a:e[1],rf:e[2]},4===e.length&&(t[i].auth=e[3])):["GEOGCS","GEOCCS","DATUM","VERT_CS","COMPD_CS","LOCAL_CS","FITTED_CS","LOCAL_DATUM"].indexOf(i)>-1?(e[0]=["name",e[0]],n(t,i,e)):e.every(function(e){return Array.isArray(e)})?n(t,i,e):a(e,t[i])):t[i]=!0):t[e]=!0}function o(e){return e*s}e.exports=function(e,t){var i=JSON.parse((","+e).replace(/\s*\,\s*([A-Z_0-9]+?)(\[)/g,',["$1",').slice(1).replace(/\s*\,\s*([A-Z_0-9]+?)\]/g,',"$1"]').replace(/,\["VERTCS".+/,"")),s=i.shift(),n=i.shift();i.unshift(["name",n]),i.unshift(["type",s]),i.unshift("output");var l={};return a(i,l),function(e){function t(t){var i=e.to_meter||1;return parseFloat(t,10)*i}"GEOGCS"===e.type?e.projName="longlat":"LOCAL_CS"===e.type?(e.projName="identity",e.local=!0):"object"==typeof e.PROJECTION?e.projName=Object.keys(e.PROJECTION)[0]:e.projName=e.PROJECTION,e.UNIT&&(e.units=e.UNIT.name.toLowerCase(),"metre"===e.units&&(e.units="meter"),e.UNIT.convert&&("GEOGCS"===e.type?e.DATUM&&e.DATUM.SPHEROID&&(e.to_meter=parseFloat(e.UNIT.convert,10)*e.DATUM.SPHEROID.a):e.to_meter=parseFloat(e.UNIT.convert,10))),e.GEOGCS&&(e.GEOGCS.DATUM?e.datumCode=e.GEOGCS.DATUM.name.toLowerCase():e.datumCode=e.GEOGCS.name.toLowerCase(),"d_"===e.datumCode.slice(0,2)&&(e.datumCode=e.datumCode.slice(2)),"new_zealand_geodetic_datum_1949"!==e.datumCode&&"new_zealand_1949"!==e.datumCode||(e.datumCode="nzgd49"),"wgs_1984"===e.datumCode&&("Mercator_Auxiliary_Sphere"===e.PROJECTION&&(e.sphere=!0),e.datumCode="wgs84"),"_ferro"===e.datumCode.slice(-6)&&(e.datumCode=e.datumCode.slice(0,-6)),"_jakarta"===e.datumCode.slice(-8)&&(e.datumCode=e.datumCode.slice(0,-8)),~e.datumCode.indexOf("belge")&&(e.datumCode="rnb72"),e.GEOGCS.DATUM&&e.GEOGCS.DATUM.SPHEROID&&(e.ellps=e.GEOGCS.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===e.ellps.toLowerCase().slice(0,13)&&(e.ellps="intl"),e.a=e.GEOGCS.DATUM.SPHEROID.a,e.rf=parseFloat(e.GEOGCS.DATUM.SPHEROID.rf,10)),~e.datumCode.indexOf("osgb_1936")&&(e.datumCode="osgb36")),e.b&&!isFinite(e.b)&&(e.b=e.a),[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_2","Standard_Parallel_2"],["false_easting","False_Easting"],["false_northing","False_Northing"],["central_meridian","Central_Meridian"],["latitude_of_origin","Latitude_Of_Origin"],["latitude_of_origin","Central_Parallel"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",o],["longitude_of_center","Longitude_Of_Center"],["longc","longitude_of_center",o],["x0","false_easting",t],["y0","false_northing",t],["long0","central_meridian",o],["lat0","latitude_of_origin",o],["lat0","standard_parallel_1",o],["lat1","standard_parallel_1",o],["lat2","standard_parallel_2",o],["alpha","azimuth",o],["srsCode","name"]].forEach(function(t){return i=e,r=(s=t)[0],n=s[1],void(!(r in i)&&n in i&&(i[r]=i[n],3===s.length&&(i[r]=s[2](i[r]))));var i,s,r,n}),e.long0||!e.longc||"Albers_Conic_Equal_Area"!==e.projName&&"Lambert_Azimuthal_Equal_Area"!==e.projName||(e.long0=e.longc),e.lat_ts||!e.lat1||"Stereographic_South_Pole"!==e.projName&&"Polar Stereographic (variant B)"!==e.projName||(e.lat0=o(e.lat1>0?90:-90),e.lat_ts=e.lat1)}(l.output),r(t,l.output)}},function(e,t,i){var s=.017453292519943295,r=i(85),n=i(84);e.exports=function(e){var t,i,a,o={},l={};e.split("+").map(function(e){return e.trim()}).filter(function(e){return e}).forEach(function(e){var t=e.split("=");t.push(!0),l[t[0].toLowerCase()]=t[1]});var h={proj:"projName",datum:"datumCode",rf:function(e){o.rf=parseFloat(e)},lat_0:function(e){o.lat0=e*s},lat_1:function(e){o.lat1=e*s},lat_2:function(e){o.lat2=e*s},lat_ts:function(e){o.lat_ts=e*s},lon_0:function(e){o.long0=e*s},lon_1:function(e){o.long1=e*s},lon_2:function(e){o.long2=e*s},alpha:function(e){o.alpha=parseFloat(e)*s},lonc:function(e){o.longc=e*s},x_0:function(e){o.x0=parseFloat(e)},y_0:function(e){o.y0=parseFloat(e)},k_0:function(e){o.k0=parseFloat(e)},k:function(e){o.k0=parseFloat(e)},a:function(e){o.a=parseFloat(e)},b:function(e){o.b=parseFloat(e)},r_a:function(){o.R_A=!0},zone:function(e){o.zone=parseInt(e,10)},south:function(){o.utmSouth=!0},towgs84:function(e){o.datum_params=e.split(",").map(function(e){return parseFloat(e)})},to_meter:function(e){o.to_meter=parseFloat(e)},units:function(e){o.units=e,n[e]&&(o.to_meter=n[e].to_meter)},from_greenwich:function(e){o.from_greenwich=e*s},pm:function(e){o.from_greenwich=(r[e]?r[e]:parseFloat(e))*s},nadgrids:function(e){"@null"===e?o.datumCode="none":o.nadgrids=e},axis:function(e){3===e.length&&-1!=="ewnsud".indexOf(e.substr(0,1))&&-1!=="ewnsud".indexOf(e.substr(1,1))&&-1!=="ewnsud".indexOf(e.substr(2,1))&&(o.axis=e)}};for(t in l)i=l[t],t in h?"function"==typeof(a=h[t])?a(i):o[a]=i:o[t]=i;return"string"==typeof o.datumCode&&"WGS84"!==o.datumCode&&(o.datumCode=o.datumCode.toLowerCase()),o}},function(e,t,i){var s=i(86),r=i(33),n=i(32);function a(e){var t=this;if(2===arguments.length){var i=arguments[1];"string"==typeof i?"+"===i.charAt(0)?a[e]=r(arguments[1]):a[e]=n(arguments[1]):a[e]=i}else if(1===arguments.length){if(Array.isArray(e))return e.map(function(e){Array.isArray(e)?a.apply(t,e):a(e)});if("string"==typeof e){if(e in a)return a[e]}else"EPSG"in e?a["EPSG:"+e.EPSG]=e:"ESRI"in e?a["ESRI:"+e.ESRI]=e:"IAU2000"in e?a["IAU2000:"+e.IAU2000]=e:console.log(e);return}}s(a),e.exports=a},function(e,t,i){e.exports.VectorTile=i(43),e.exports.VectorTileFeature=i(25),e.exports.VectorTileLayer=i(26)},function(e,t,i){"use strict";e.exports=r;var s=i(44);function r(e){this.buf=ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}r.Varint=0,r.Fixed64=1,r.Bytes=2,r.Fixed32=5;function n(e){return e.type===r.Bytes?e.readVarint()+e.pos:e.pos+1}function a(e,t,i){return i?4294967296*t+(e>>>0):4294967296*(t>>>0)+(e>>>0)}function o(e,t,i){var s=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.ceil(Math.log(t)/(7*Math.LN2));i.realloc(s);for(var r=i.pos-1;r>=e;r--)i.buf[r+s]=i.buf[r]}function l(e,t){for(var i=0;i>>8,e[i+2]=t>>>16,e[i+3]=t>>>24}function S(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}r.prototype={destroy:function(){this.buf=null},readFields:function(e,t,i){for(i=i||this.length;this.pos>3,n=this.pos;this.type=7&s,e(r,t,this),this.pos===n&&this.skip(s)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=g(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=S(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=g(this.buf,this.pos)+4294967296*g(this.buf,this.pos+4);return this.pos+=8,e},readSFixed64:function(){var e=g(this.buf,this.pos)+4294967296*S(this.buf,this.pos+4);return this.pos+=8,e},readFloat:function(){var e=s.read(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=s.read(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,i,s=this.buf;return t=127&(i=s[this.pos++]),i<128?t:(t|=(127&(i=s[this.pos++]))<<7,i<128?t:(t|=(127&(i=s[this.pos++]))<<14,i<128?t:(t|=(127&(i=s[this.pos++]))<<21,i<128?t:function(e,t,i){var s,r,n=i.buf;if(r=n[i.pos++],s=(112&r)>>4,r<128)return a(e,s,t);if(r=n[i.pos++],s|=(127&r)<<3,r<128)return a(e,s,t);if(r=n[i.pos++],s|=(127&r)<<10,r<128)return a(e,s,t);if(r=n[i.pos++],s|=(127&r)<<17,r<128)return a(e,s,t);if(r=n[i.pos++],s|=(127&r)<<24,r<128)return a(e,s,t);if(r=n[i.pos++],s|=(1&r)<<31,r<128)return a(e,s,t);throw new Error("Expected varint not more than 10 bytes")}(t|=(15&(i=s[this.pos]))<<28,e,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?(e+1)/-2:e/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var e=this.readVarint()+this.pos,t=function(e,t,i){var s="",r=t;for(;r239?4:l>223?3:l>191?2:1;if(r+u>i)break;1===u?l<128&&(h=l):2===u?128==(192&(n=e[r+1]))&&(h=(31&l)<<6|63&n)<=127&&(h=null):3===u?(n=e[r+1],a=e[r+2],128==(192&n)&&128==(192&a)&&((h=(15&l)<<12|(63&n)<<6|63&a)<=2047||h>=55296&&h<=57343)&&(h=null)):4===u&&(n=e[r+1],a=e[r+2],o=e[r+3],128==(192&n)&&128==(192&a)&&128==(192&o)&&((h=(15&l)<<18|(63&n)<<12|(63&a)<<6|63&o)<=65535||h>=1114112)&&(h=null)),null===h?(h=65533,u=1):h>65535&&(h-=65536,s+=String.fromCharCode(h>>>10&1023|55296),h=56320|1023&h),s+=String.fromCharCode(h),r+=u}return s}(this.buf,this.pos,e);return this.pos=e,t},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){var i=n(this);for(e=e||[];this.pos127;);else if(t===r.Bytes)this.pos=this.readVarint()+this.pos;else if(t===r.Fixed32)this.pos+=4;else{if(t!==r.Fixed64)throw new Error("Unimplemented type: "+t);this.pos+=8}},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t268435455||e<0?function(e,t){var i,s;e>=0?(i=e%4294967296|0,s=e/4294967296|0):(s=~(-e/4294967296),4294967295^(i=~(-e%4294967296))?i=i+1|0:(i=0,s=s+1|0));if(e>=0x10000000000000000||e<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),function(e,t,i){i.buf[i.pos++]=127&e|128,e>>>=7,i.buf[i.pos++]=127&e|128,e>>>=7,i.buf[i.pos++]=127&e|128,e>>>=7,i.buf[i.pos++]=127&e|128,e>>>=7,i.buf[i.pos]=127&e}(i,0,t),function(e,t){var i=(7&e)<<4;if(t.buf[t.pos++]|=i|((e>>>=3)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;t.buf[t.pos++]=127&e}(s,t)}(e,this):(this.realloc(4),this.buf[this.pos++]=127&e|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=e>>>7&127))))},writeSVarint:function(e){this.writeVarint(e<0?2*-e-1:2*e)},writeBoolean:function(e){this.writeVarint(Boolean(e))},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,i){for(var s,r,n=0;n55295&&s<57344){if(!r){s>56319||n+1===t.length?(e[i++]=239,e[i++]=191,e[i++]=189):r=s;continue}if(s<56320){e[i++]=239,e[i++]=191,e[i++]=189,r=s;continue}s=r-55296<<10|s-56320|65536,r=null}else r&&(e[i++]=239,e[i++]=191,e[i++]=189,r=null);s<128?e[i++]=s:(s<2048?e[i++]=s>>6|192:(s<65536?e[i++]=s>>12|224:(e[i++]=s>>18|240,e[i++]=s>>12&63|128),e[i++]=s>>6&63|128),e[i++]=63&s|128)}return i}(this.buf,e,this.pos);var i=this.pos-t;i>=128&&o(t,i,this),this.pos=t-1,this.writeVarint(i),this.pos+=i},writeFloat:function(e){this.realloc(4),s.write(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),s.write(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var i=0;i=128&&o(i,s,this),this.pos=i-1,this.writeVarint(s),this.pos+=s},writeMessage:function(e,t,i){this.writeTag(e,r.Bytes),this.writeRawMessage(t,i)},writePackedVarint:function(e,t){this.writeMessage(e,l,t)},writePackedSVarint:function(e,t){this.writeMessage(e,h,t)},writePackedBoolean:function(e,t){this.writeMessage(e,p,t)},writePackedFloat:function(e,t){this.writeMessage(e,u,t)},writePackedDouble:function(e,t){this.writeMessage(e,c,t)},writePackedFixed32:function(e,t){this.writeMessage(e,d,t)},writePackedSFixed32:function(e,t){this.writeMessage(e,f,t)},writePackedFixed64:function(e,t){this.writeMessage(e,m,t)},writePackedSFixed64:function(e,t){this.writeMessage(e,y,t)},writeBytesField:function(e,t){this.writeTag(e,r.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,r.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,r.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,r.Fixed64),this.writeFixed64(t)},writeSFixed64Field:function(e,t){this.writeTag(e,r.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,r.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,r.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,r.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,r.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,r.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,Boolean(t))}}},function(e,t,i){(function(t){var i=9007199254740991,s="[object Arguments]",r="[object Function]",n="[object GeneratorFunction]",a="[object Map]",o="[object Set]",l=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,u="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,p=u||c||Function("return this")();function d(e,t){return function(e,t){for(var i=-1,s=e?e.length:0,r=Array(s);++i-1&&e%1==0&&e-1&&e%1==0&&e<=i}(e.length)&&!q(e)}function q(e){var t=W(e)?C.call(e):"";return t==r||t==n}function W(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var Y,Q=(Y=function(e){return J(e)?k(e):G(e)},function(e){var t,i,s,r=j(e);return r==a?(t=e,i=-1,s=Array(t.size),t.forEach(function(e,t){s[++i]=[t,e]}),s):r==o?function(e){var t=-1,i=Array(e.size);return e.forEach(function(e){i[++t]=[e,e]}),i}(e):d(e,Y(e))});e.exports=Q}).call(this,i(21))},function(e,t){e.exports=function(){try{return elasticsearch}catch(e){return{}}}()},function(e,t,i){(function(t){!function(i){var s=setTimeout;function r(){}function n(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],u(e,this)}function a(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,n._immediateFn(function(){var i=1===e._state?t.onFulfilled:t.onRejected;if(null!==i){var s;try{s=i(e._value)}catch(e){return void l(t.promise,e)}o(t.promise,s)}else(1===e._state?o:l)(t.promise,e._value)})):e._deferreds.push(t)}function o(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var i=t.then;if(t instanceof n)return e._state=3,e._value=t,void h(e);if("function"==typeof i)return void u((s=i,r=t,function(){s.apply(r,arguments)}),e)}e._state=1,e._value=t,h(e)}catch(t){l(e,t)}var s,r}function l(e,t){e._state=2,e._value=t,h(e)}function h(e){2===e._state&&0===e._deferreds.length&&n._immediateFn(function(){e._handled||n._unhandledRejectionFn(e._value)});for(var t=0,i=e._deferreds.length;t0&&(i=parseFloat(e.toPrecision(t))),i},format:function(e,t,i,r){t=void 0!==t?t:0,i=void 0!==i?i:s.Number.thousandsSeparator,r=void 0!==r?r:s.Number.decimalSeparator,null!=t&&(e=parseFloat(e.toFixed(t)));var n=e.toString().split(".");1===n.length&&null==t&&(t=0);var a,o=n[0];if(i)for(var l=/(-?[0-9]+)([0-9]{3})/;l.test(o);)o=o.replace(l,"$1"+i+"$2");if(0==t)a=o;else{var h=n.length>1?n[1]:"0";null!=t&&(h+=new Array(t-h.length+1).join("0")),a=o+r+h}return a}};Number.prototype.limitSigDigs||(Number.prototype.limitSigDigs=function(e){return he.limitSigDigs(this,e)});var ue,ce,pe,de=s.Function={bind:function(e,t){var i=Array.prototype.slice.apply(arguments,[2]);return function(){var s=i.concat(Array.prototype.slice.apply(arguments,[0]));return e.apply(t,s)}},bindAsEventListener:function(e,t){return function(i){return e.call(t,i||window.event)}},False:function(){return!1},True:function(){return!0},Void:function(){}},fe=(s.Array={filter:function(e,t,i){var s=[];if(Array.prototype.filter)s=e.filter(t,i);else{var r=e.length;if("function"!=typeof t)throw new TypeError;for(var n=0;n=0;i--)e[i]===t&&e.splice(i,1);return e},s.Util.indexOf=function(e,t){if(null==e)return-1;if("function"==typeof e.indexOf)return e.indexOf(t);for(var i=0,s=e.length;i=0&&parseFloat(o)<1?(e.style.filter="alpha(opacity="+100*o+")",e.style.opacity=o):1===parseFloat(o)&&(e.style.filter="",e.style.opacity="")},s.Util.applyDefaults=function(e,t){e=e||{};var i="function"==typeof window.Event&&t instanceof window.Event;for(var s in t)(void 0===e[s]||!i&&t.hasOwnProperty&&t.hasOwnProperty(s)&&!e.hasOwnProperty(s))&&(e[s]=t[s]);return!i&&t&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&!e.hasOwnProperty("toString")&&(e.toString=t.toString),e},s.Util.getParameterString=function(e){var t=[];for(var i in e){var s=e[i];if(null!=s&&"function"!=typeof s){var r;if("object"==typeof s&&s.constructor===Array){for(var n,a=[],o=0,l=s.length;o1?1/e:e},s.Util.getResolutionFromScale=function(e,t){var i;e&&(null==t&&(t="degrees"),i=1/(s.Util.normalizeScale(e)*s.INCHES_PER_UNIT[t]*s.DOTS_PER_INCH));return i},s.Util.getScaleFromResolution=function(e,t){return null==t&&(t="degrees"),e*s.INCHES_PER_UNIT[t]*s.DOTS_PER_INCH},s.IS_GECKO=-1===(ue=navigator.userAgent.toLowerCase()).indexOf("webkit")&&-1!==ue.indexOf("gecko"),s.Browser=function(){var e,t="",i="",s="pc",r=navigator.userAgent.toLowerCase();return r.indexOf("msie")>-1||r.indexOf("trident")>-1&&r.indexOf("rv")>-1?(t="msie",e=r.match(/msie ([\d.]+)/)||r.match(/rv:([\d.]+)/)):r.indexOf("chrome")>-1?(t="chrome",e=r.match(/chrome\/([\d.]+)/)):r.indexOf("firefox")>-1?(t="firefox",e=r.match(/firefox\/([\d.]+)/)):r.indexOf("opera")>-1?(t="opera",e=r.match(/version\/([\d.]+)/)):r.indexOf("safari")>-1&&(t="safari",e=r.match(/version\/([\d.]+)/)),i=e?e[1]:"",r.indexOf("ipad")>-1||r.indexOf("ipod")>-1||r.indexOf("iphone")>-1?s="apple":r.indexOf("android")>-1&&(i=(e=r.match(/version\/([\d.]+)/))?e[1]:"",s="android"),{name:t,version:i,device:s}}(),s.Util.getBrowser=function(){return s.Browser},s.Util.isSupportCanvas=(ce=!0,pe=s.Util.getBrowser(),document.createElement("canvas").getContext?("firefox"===pe.name&&parseFloat(pe.version)<5&&(ce=!1),"safari"===pe.name&&parseFloat(pe.version)<4&&(ce=!1),"opera"===pe.name&&parseFloat(pe.version)<10&&(ce=!1),"msie"===pe.name&&parseFloat(pe.version)<9&&(ce=!1)):ce=!1,ce),s.Util.supportCanvas=function(){return s.Util.isSupportCanvas},s.INCHES_PER_UNIT.degree=s.INCHES_PER_UNIT.dd,s.INCHES_PER_UNIT.meter=s.INCHES_PER_UNIT.m,s.INCHES_PER_UNIT.foot=s.INCHES_PER_UNIT.ft,s.INCHES_PER_UNIT.inch=s.INCHES_PER_UNIT.inches,s.INCHES_PER_UNIT.mile=s.INCHES_PER_UNIT.mi,s.INCHES_PER_UNIT.kilometer=s.INCHES_PER_UNIT.km,s.INCHES_PER_UNIT.yard=s.INCHES_PER_UNIT.yd,s.Util.isInTheSameDomain=function(e){if(!e)return!0;var t=e.indexOf("//"),i=document.location.toString(),s=i.indexOf("//");if(-1===t)return!0;var r,n=r=e.substring(0,t),a=i.substring(s+2);s=a.indexOf("/");var o=a.indexOf(":"),l=a.substring(0,s),h=document.location.protocol;if(-1!==o||(l+=":"+("http:"===h.toLowerCase()?80:443)),h.toLowerCase()!==n.toLowerCase())return!1;var u=(n=e.substring(t+2)).indexOf(":");t=n.indexOf("/");var c,p=n.substring(0,t);return-1!==u?c=n.substring(0,u):(c=n.substring(0,t),p+=":"+("http:"===r.toLowerCase()?80:443)),c===document.domain&&p===l},s.Util.calculateDpi=function(e,t,i,s,r){if(e&&t&&i){var n,a=e.getWidth(),o=e.getHeight(),l=t.w,h=t.h;if(r=r||6378137,"degree"===(s=s||"degrees").toLowerCase()||"degrees"===s.toLowerCase()||"dd"===s.toLowerCase()){let e=a/l,t=o/h;n=254/(e>t?e:t)/i/(2*Math.PI*r/360)/1e4}else{n=254/(a/l)/i/1e4}return n}},s.Util.toJSON=function(e){var t=e;if(null==t)return null;switch(t.constructor){case String:return t=(t=(t=(t=(t=(t=(t='"'+t.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var i=[],r=0,n=t.length;r0?"{"+e.join(",")+"}":"{}"}return t.toString()}},s.Util.getResolutionFromScaleDpi=function(e,t,i,r){return r=r||6378137,i=i||"",e>0&&t>0?(e=s.Util.normalizeScale(e),"degree"===i.toLowerCase()||"degrees"===i.toLowerCase()||"dd"===i.toLowerCase()?254/t/e/(2*Math.PI*r/360)/1e4:254/t/e/1e4):-1},s.Util.getScaleFromResolutionDpi=function(e,t,i,s){return s=s||6378137,i=i||"",e>0&&t>0?"degree"===i.toLowerCase()||"degrees"===i.toLowerCase()||"dd"===i.toLowerCase()?254/t/e/(2*Math.PI*s/360)/1e4:254/t/e/1e4:-1},s.Util.transformResult=function(e){return e.responseText&&"string"==typeof e.responseText&&(e=JSON.parse(e.responseText)),e},s.Util.copyAttributes=function(e,t){if(e=e||{},t)for(var i in t){var s=t[i];void 0!==s&&"CLASS_NAME"!==i&&"function"!=typeof s&&(e[i]=s)}return e},s.Util.copyAttributesWithClip=function(e,t,i){if(e=e||{},t)for(var s in t){var r=!1;if(i&&i.length)for(var n=0,a=i.length;n=0&&a<=1&&n<=1&&a>=0?new s.Geometry.Point(e.x+n*(t.x-e.x),e.y+n*(t.y-e.y)):"No Intersection";else if(0==l&&0==h){var c=Math.max(e.y,t.y),p=Math.min(e.y,t.y),d=Math.max(e.x,t.x),f=Math.min(e.x,t.x);o=(i.y>=p&&i.y<=c||r.y>=p&&r.y<=c)&&i.x>=f&&i.x<=d||r.x>=f&&r.x<=d?"Coincident":"Parallel"}else o="Parallel";return o},s.Util.getTextBounds=function(e,t,i){document.body.appendChild(i),i.style.width="auto",i.style.height="auto",e.fontSize&&(i.style.fontSize=e.fontSize),e.fontFamily&&(i.style.fontFamily=e.fontFamily),e.fontWeight&&(i.style.fontWeight=e.fontWeight),i.style.position="relative",i.style.visibility="hidden",i.style.display="inline-block",i.innerHTML=t;var s=i.clientWidth,r=i.clientHeight;return document.body.removeChild(i),{textWidth:s,textHeight:r}};class me{constructor(e,t){fe.isArray(e)&&(t=e[1],e=e[0]),this.lon=e?fe.toFloat(e):0,this.lat=t?fe.toFloat(t):0,this.CLASS_NAME="SuperMap.LonLat"}toString(){return"lon="+this.lon+",lat="+this.lat}toShortString(){return this.lon+","+this.lat}clone(){return new me(this.lon,this.lat)}add(e,t){if(null==e||null==t)throw new TypeError("LonLat.add cannot receive null values");return new me(this.lon+fe.toFloat(e),this.lat+fe.toFloat(t))}equals(e){var t=!1;return null!=e&&(t=this.lon===e.lon&&this.lat===e.lat||isNaN(this.lon)&&isNaN(this.lat)&&isNaN(e.lon)&&isNaN(e.lat)),t}wrapDateLine(e){var t=this.clone();if(e){for(;t.lone.right;)t.lon-=e.getWidth()}return t}destroy(){this.lon=null,this.lat=null}static fromString(e){var t=e.split(",");return new me(t[0],t[1])}static fromArray(e){var t=fe.isArray(e),i=t&&e[0],s=t&&e[1];return new me(i,s)}}class ye{constructor(e,t,i,s){fe.isArray(e)&&(s=e[3],i=e[2],t=e[1],e=e[0]),this.left=null!=e?fe.toFloat(e):this.left,this.bottom=null!=t?fe.toFloat(t):this.bottom,this.right=null!=i?fe.toFloat(i):this.right,this.top=null!=s?fe.toFloat(s):this.top,this.centerLonLat=null,this.CLASS_NAME="SuperMap.Bounds"}clone(){return new ye(this.left,this.bottom,this.right,this.top)}equals(e){var t=!1;return null!=e&&(t=this.left===e.left&&this.right===e.right&&this.top===e.top&&this.bottom===e.bottom),t}toString(){return[this.left,this.bottom,this.right,this.top].join(",")}toArray(e){return!0===e?[this.bottom,this.left,this.top,this.right]:[this.left,this.bottom,this.right,this.top]}toBBOX(e,t){null==e&&(e=6);var i=Math.pow(10,e),s=Math.round(this.left*i)/i,r=Math.round(this.bottom*i)/i,n=Math.round(this.right*i)/i,a=Math.round(this.top*i)/i;return!0===t?r+","+s+","+a+","+n:s+","+r+","+n+","+a}getWidth(){return this.right-this.left}getHeight(){return this.top-this.bottom}getSize(){return new ae(this.getWidth(),this.getHeight())}getCenterPixel(){return new oe((this.left+this.right)/2,(this.bottom+this.top)/2)}getCenterLonLat(){return this.centerLonLat||(this.centerLonLat=new me((this.left+this.right)/2,(this.bottom+this.top)/2)),this.centerLonLat}scale(e,t){var i,s;e=e||1,null==t&&(t=this.getCenterLonLat()),"SuperMap.LonLat"===t.CLASS_NAME?(i=t.lon,s=t.lat):(i=t.x,s=t.y);var r=(this.left-i)*e+i,n=(this.bottom-s)*e+s,a=(this.right-i)*e+i,o=(this.top-s)*e+s;return new ye(r,n,a,o)}add(e,t){if(null==e||null==t)throw new TypeError("Bounds.add cannot receive null values");return new ye(this.left+e,this.bottom+t,this.right+e,this.top+t)}extend(e){var t=null;if(e){switch(e.CLASS_NAME){case"SuperMap.LonLat":t=new ye(e.lon,e.lat,e.lon,e.lat);break;case"SuperMap.Geometry.Point":t=new ye(e.x,e.y,e.x,e.y);break;case"SuperMap.Bounds":t=e}t&&(this.centerLonLat=null,(null==this.left||t.leftthis.right)&&(this.right=t.right),(null==this.top||t.top>this.top)&&(this.top=t.top))}}containsLonLat(e,t){"boolean"==typeof t&&(t={inclusive:t}),t=t||{};var i=this.contains(e.lon,e.lat,t.inclusive),s=t.worldBounds;if(s&&!i){var r=s.getWidth(),n=(s.left+s.right)/2,a=Math.round((e.lon-n)/r);i=this.containsLonLat({lon:e.lon-a*r,lat:e.lat},{inclusive:t.inclusive})}return i}containsPixel(e,t){return this.contains(e.x,e.y,t)}contains(e,t,i){if(null==i&&(i=!0),null==e||null==t)return!1;e=fe.toFloat(e),t=fe.toFloat(t);return i?e>=this.left&&e<=this.right&&t>=this.bottom&&t<=this.top:e>this.left&&ethis.bottom&&t=i.bottom&&e.bottom<=i.top||i.bottom>=e.bottom&&i.bottom<=e.top,a=e.top>=i.bottom&&e.top<=i.top||i.top>e.bottom&&i.top=i.left&&e.left<=i.right||i.left>=e.left&&i.left<=e.right,l=e.right>=i.left&&e.right<=i.right||i.right>=e.left&&i.right<=e.right;s=(n||a)&&(o||l)}if(t.worldBounds&&!s){var h=t.worldBounds,u=h.getWidth(),c=!h.containsBounds(i),p=!h.containsBounds(e);c&&!p?(e=e.add(-u,0),s=i.intersectsBounds(e,{inclusive:t.inclusive})):p&&!c&&(i=i.add(-u,0),s=e.intersectsBounds(i,{inclusive:t.inclusive}))}return s}containsBounds(e,t,i){null==t&&(t=!1),null==i&&(i=!0);var s=this.contains(e.left,e.bottom,i),r=this.contains(e.right,e.bottom,i),n=this.contains(e.left,e.top,i),a=this.contains(e.right,e.top,i);return t?s||r||n||a:s&&r&&n&&a}determineQuadrant(e){var t="",i=this.getCenterLonLat();return t+=e.lat=e.right&&r.right>e.right;)r=r.add(-n,0);var a=r.left+i;ae.left&&r.right-s>e.right&&(r=r.add(-n,0))}return r}toServerJSONObject(){return{rightTop:{x:this.right,y:this.top},leftBottom:{x:this.left,y:this.bottom},left:this.left,right:this.right,top:this.top,bottom:this.bottom}}destroy(){this.left=null,this.right=null,this.top=null,this.bottom=null,this.centerLonLat=null}static fromString(e,t){var i=e.split(",");return ye.fromArray(i,t)}static fromArray(e,t){return!0===t?new ye(e[1],e[0],e[3],e[2]):new ye(e[0],e[1],e[2],e[3])}static fromSize(e){return new ye(0,e.h,e.w,0)}static oppositeQuadrant(e){var t="";return t+="t"===e.charAt(0)?"b":"t",t+="l"===e.charAt(1)?"r":"l"}}s.Bounds=ye;class ge{constructor(){this.CLASS_NAME="SuperMap.Geometry",this.id=fe.createUniqueID(this.CLASS_NAME+"_"),this.parent=null,this.bounds=null,this.SRID=null}destroy(){this.id=null,this.bounds=null,this.SRID=null}clone(){return new ge}setBounds(e){e&&(this.bounds=e.clone())}clearBounds(){this.bounds=null,this.parent&&this.parent.clearBounds()}extendBounds(e){this.getBounds()?this.bounds.extend(e):this.setBounds(e)}getBounds(){return null==this.bounds&&this.calculateBounds(),this.bounds}calculateBounds(){}getVertices(e){}getArea(){return 0}}s.Geometry=ge;class ve extends ge{constructor(e){super(),this.components=[],this.componentTypes=null,null!=e&&this.addComponents(e),this.CLASS_NAME="SuperMap.Geometry.Collection"}destroy(){this.components.length=0,this.components=null,super.destroy()}clone(){for(var e=new ve,t=0,i=this.components.length;t-1)){if(null!=t&&t=0;--i)t=this.removeComponent(e[i])||t;return t}removeComponent(e){return fe.removeItem(this.components,e),this.clearBounds(),!0}getArea(){for(var e=0,t=0,i=this.components.length;t2;return t&&super.removeComponent.apply(this,arguments),t}getSortedSegments(){for(var e,t,i=this.components.length-1,s=new Array(i),r=0;r=1?1:g)<=-1?-1:g,u=180*Math.acos(g)/Math.PI,a=(u=r.x==i.x?t.x>i.x&&s.x>i.x||t.xp*t.x+d&&s.y>p*s.x+d||t.yi.y?s.xi.x&&(o=!1):r.xp*s.x+d&&(o=!1):r.x>i.x?s.y>i.y&&(o=!1):s.y=0?180*Math.atan(v)/Math.PI:Math.abs(180*Math.atan(v)/Math.PI)+90,b=Math.abs(t.y);i.y==b&&b==r.y&&i.x=0?v>=0?h+=l:h=180-(h-90)+l:h=v>0?h-180+l:90-h+l:x>=0?v>=0?h-=l:h=180-(h-90)-l:h=v>=0?h-180-l:90-h-l,h=h*Math.PI/180;var C=t.x+n*Math.cos(h),T=t.y+n*Math.sin(h);c.push(new xe(C,T))}c.push(r)}return c}static createLineEPS(e){var t=[],i=e.length;if(null==e||i<2)return e;for(var s=0;s1&&(i=parseFloat(i)*h),s.labelAlign&&"cm"!==s.labelAlign)switch(s.labelAlign){case"lt":l.x+=t/2,l.y+=i/2;break;case"lm":l.x+=t/2;break;case"lb":l.x+=t/2,l.y-=i/2;break;case"ct":l.y+=i/2;break;case"cb":l.y-=i/2;break;case"rt":l.x-=t/2,l.y+=i/2;break;case"rm":l.x-=t/2;break;case"rb":l.x-=t/2,l.y-=i/2}return this.bsInfo.h=i,this.bsInfo.w=t,r=l.x-parseFloat(t)/2,n=l.y+parseFloat(i)/2,o=l.x+parseFloat(t)/2,a=l.y-parseFloat(i)/2,new ye(r,n,o,a)}getLabelPxBoundsByText(e,t){var i,s,r,n,a=this.getLabelPxSize(t),o=fe.cloneObject(e);if(t.labelAlign&&"cm"!==t.labelAlign)switch(t.labelAlign){case"lt":o.x+=a.w/2,o.y+=a.h/2;break;case"lm":o.x+=a.w/2;break;case"lb":o.x+=a.w/2,o.y-=a.h/2;break;case"ct":o.y+=a.h/2;break;case"cb":o.y-=a.h/2;break;case"rt":o.x-=a.w/2,o.y+=a.h/2;break;case"rm":o.x-=a.w/2;break;case"rb":o.x-=a.w/2,o.y-=a.h/2}return this.bsInfo.h=a.h,this.bsInfo.w=a.w,i=o.x-a.w/2,s=o.y+a.h/2,n=t.fontStyle&&"italic"===t.fontStyle?o.x+a.w/2+parseInt(parseFloat(t.fontSize)/2):o.x+a.w/2,r=o.y-a.h/2,new ye(i,s,n,r)}getLabelPxSize(e){var t,i,s,r,n=parseFloat(e.strokeWidth);t=e.label||this.text,i=e.fontSize?parseFloat(e.fontSize):parseFloat("12px");var a=t.split("\n"),o=a.length;r=o>1?i*o+o+n+.2*i:i+n+.2*i+1,s=0,this.labelWTmp&&s255?i++:s++;return t.cnC=i,t.enC=s,t.textC=e.length,t}}s.Geometry.GeoText=Ce;class Te extends _e{constructor(e){super(e),this.componentTypes=["SuperMap.Geometry.Point"],this.CLASS_NAME="SuperMap.Geometry.LinearRing"}addComponent(e,t){var i=!1,s=this.components.pop();null==t&&e.equals(s)||(i=super.addComponent.apply(this,arguments));var r=this.components[0];return super.addComponent.apply(this,[r]),i}removeComponent(e){var t=this.components&&this.components.length>3;if(t){this.components.pop(),super.removeComponent.apply(this,arguments);var i=this.components[0];super.addComponent.apply(this,[i])}return t}getArea(){var e=0;if(this.components&&this.components.length>2){for(var t=0,i=0,s=this.components.length;i0){e+=Math.abs(this.components[0].getArea());for(var t=1,i=this.components.length;t1},isLeftClick:function(e){return e.which&&1===e.which||e.button&&1===e.button},isRightClick:function(e){return e.which&&3===e.which||e.button&&2===e.button},stop:function(e,t){t||(e.preventDefault?e.preventDefault():e.returnValue=!1),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},findElement:function(e,t){for(var i=s.Event.element(e);i.parentNode&&(!i.tagName||i.tagName.toUpperCase()!=t.toUpperCase());)i=i.parentNode;return i},observe:function(e,t,i,s){var r=fe.getElement(e);if(s=s||!1,"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||r.attachEvent)&&(t="keydown"),this.observers||(this.observers={}),!r._eventCacheID){var n="eventCacheID_";r.id&&(n=r.id+"_"+n),r._eventCacheID=fe.createUniqueID(n)}var a=r._eventCacheID;this.observers[a]||(this.observers[a]=[]),this.observers[a].push({element:r,name:t,observer:i,useCapture:s}),r.addEventListener?r.addEventListener(t,i,s):r.attachEvent&&r.attachEvent("on"+t,i)},stopObservingElement:function(e){var t=fe.getElement(e)._eventCacheID;this._removeElementObservers(s.Event.observers[t])},_removeElementObservers:function(e){if(e)for(var t=e.length-1;t>=0;t--){var i=e[t],r=new Array(i.element,i.name,i.observer,i.useCapture);s.Event.stopObserving.apply(this,r)}},stopObserving:function(e,t,i,r){r=r||!1;var n=fe.getElement(e),a=n._eventCacheID;"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||n.detachEvent)&&(t="keydown");var o=!1,l=s.Event.observers[a];if(l)for(var h=0;!o&&h0&&i.push(","),i.push(this.writeNewline(),this.writeIndent(),t));return this.level-=1,i.push(this.writeNewline(),this.writeIndent(),"]"),i.join("")},string:function(e){var t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return/["\\\x00-\x1f]/.test(e)?'"'+e.replace(/([\x00-\x1f\\"])/g,function(e,i){var s=t[i];return s||(s=i.charCodeAt(),"\\u00"+Math.floor(s/16).toString(16)+(s%16).toString(16))})+'"':'"'+e+'"'},number:function(e){return isFinite(e)?String(e):"null"},boolean:function(e){return String(e)},date:function(e){function t(e){return e<10?"0"+e:e}return'"'+e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+"T"+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds())+'"'}}}read(e,t){var i;if(this.nativeJSON)try{i=JSON.parse(e,t)}catch(e){}return this.keepData&&(this.data=i),i}write(e,t){this.pretty=!!t;var i=null,s=typeof e;if(this.serialize[s])try{i=!this.pretty&&this.nativeJSON?JSON.stringify(e):this.serialize[s].apply(this,[e])}catch(e){}return i}writeIndent(){var e=[];if(this.pretty)for(var t=0;t-1||(t[s]=e[s]);return t}toGeometry(e){var t=this,i=e.type;switch("polygon"===i&&(i=a.REGION),i.toUpperCase()){case a.POINT:return t.toGeoPoint(e);case a.LINE:return t.toGeoLine(e);case a.LINEM:return t.toGeoLinem(e);case a.REGION:return t.toGeoRegion(e);case a.RECTANGLE:return t.toGeoRectangle(e);case a.POINTEPS:return t.toGeoPoint(e);default:return e}}toGeoPoint(e){var t=e.points||[{x:e.x,y:e.y}],i=(e.parts||[t.length]).length;if(i<1)return null;if(1===i)return{type:"Point",x:parseFloat(t[0].x),y:parseFloat(t[0].y)};for(var s=0,r=[];s0?t.push(u):n.push([u]),a===r-1){var c=n.length;if(c)n[c-1]=n[c-1].concat(t);else for(var p=0,d=t.length;p0&&r.push(","),i=t[n].geometry,r.push(this.extractGeometry(i));return s&&r.push(")"),r.join("")}extractGeometry(e){var t=e.CLASS_NAME.split(".")[2].toLowerCase();return this.extract[t]?("collection"===t?"GEOMETRYCOLLECTION":t.toUpperCase())+"("+this.extract[t].apply(this,[e])+")":null}};class ke{constructor(e){var t=this;e=e||{},this.speed=e.speed&&e.speed>=0?e.speed:1,this.frequency=e.speed&&e.frequency>=0?e.frequency:1e3,this.startTime=e.startTime&&null!=e.startTime?e.startTime:0,this.endTime=e.endTime&&null!=e.endTime&&e.endTime>=t.startTime?e.endTime:+new Date,this.repeat=void 0===e.repeat||e.repeat,this.reverse=void 0!==e.reverse&&e.reverse,this.currentTime=null,this.oldTime=null,this.running=!1,this.EVENT_TYPES=["start","pause","stop"],t.events=new Ne(this,null,this.EVENT_TYPES),t.speed=Number(t.speed),t.frequency=Number(t.frequency),t.startTime=Number(t.startTime),t.endTime=Number(t.endTime),t.startTime=Date.parse(new Date(t.startTime)),t.endTime=Date.parse(new Date(t.endTime)),t.currentTime=t.startTime,this.CLASS_NAME="SuperMap.TimeControlBase"}updateOptions(e){var t=this;(e=e||{}).speed&&e.speed>=0&&(t.speed=e.speed,t.speed=Number(t.speed)),e.speed&&e.frequency>=0&&(t.frequency=e.frequency,t.frequency=Number(t.frequency)),e.startTime&&null!=e.startTime&&(t.startTime=e.startTime,t.startTime=Date.parse(new Date(t.startTime))),e.endTime&&null!=e.endTime&&e.endTime>=t.startTime&&(t.endTime=e.endTime,t.endTime=Date.parse(new Date(t.endTime))),null!=e.repeat&&(t.repeat=e.repeat),null!=e.reverse&&(t.reverse=e.reverse)}start(){var e=this;e.running||(e.running=!0,e.tick(),e.events.triggerEvent("start",e.currentTime))}pause(){this.running=!1,this.events.triggerEvent("pause",this.currentTime)}stop(){var e=this;e.currentTime=e.startTime,e.running&&(e.running=!1),e.events.triggerEvent("stop",e.currentTime)}toggle(){this.running?this.pause():this.start()}setSpeed(e){return e>=0&&(this.speed=e,!0)}getSpeed(){return this.speed}setFrequency(e){return e>=0&&(this.frequency=e,!0)}getFrequency(){return this.frequency}setStartTime(e){var t=this;return!((e=Date.parse(new Date(e)))>t.endTime)&&(t.startTime=e,t.currentTime=t.endTime&&(t.currentTime=t.startTime,t.tick()),!0)}getEndTime(){return this.endTime}setCurrentTime(e){var t=this;return t.currentTime=Date.parse(new Date(t.currentTime)),e>=t.startTime&&e<=t.endTime&&(t.currentTime=e,t.startTime=t.currentTime,t.tick(),!0)}getCurrentTime(){return this.currentTime}setRepeat(e){this.repeat=e}getRepeat(){return this.repeat}setReverse(e){this.reverse=e}getReverse(){return this.reverse}getRunning(){return this.running}destroy(){var e=this;e.speed=null,e.frequency=null,e.startTime=null,e.endTime=null,e.currentTime=null,e.repeat=null,e.running=!1,e.reverse=null}tick(){}}s.TimeControlBase=ke;class Be extends ke{constructor(e,t){super(t);var i=this;i.callback=e,Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),i=this,s=function(){},r=function(){return i.apply(this instanceof s&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return s.prototype=this.prototype,r.prototype=new s,r}),i.update=i.update.bind(i),i.oldTime=i.currentTime,i.CLASS_NAME="SuperMap.TimeFlowControl"}updateOptions(e){e=e||{},super.updateOptions(e)}start(){var e=this;e.running||(e.running=!0,e.reverse?e.currentTime===e.startTime&&(e.oldTime=e.endTime,e.currentTime=e.oldTime):e.oldTime===e.endTime&&(e.currentTime=e.startTime,e.oldTime=e.currentTime),e.tick())}stop(){super.stop();var e=this;e.oldTime=e.currentTime,e.running&&(e.running=!1),e.intervalId&&window.clearTimeout(e.intervalId)}destroy(){super.destroy();this.oldTime=null,this.callback=null}tick(){var e=this;e.intervalId&&window.clearInterval(e.intervalId),e.intervalId=null,e.update(),e.intervalId=window.setInterval(e.update,e.frequency)}update(){var e=this;if(e.running)if(e.callback&&e.callback(e.currentTime),e.reverse){if(e.currentTime===e.startTime){if(!e.repeat)return e.running=!1,null;e.oldTime=e.endTime,e.currentTime=e.oldTime}else e.currentTime=e.oldTime,e.oldTime-=e.speed;e.oldTime<=e.startTime&&(e.oldTime=e.startTime)}else{if(e.currentTime===e.endTime){if(!e.repeat)return e.running=!1,e.stop(),null;e.stop(),e.currentTime=e.startTime,e.oldTime=e.currentTime,e.start()}else e.oldTime=e.currentTime,e.currentTime+=e.speed;e.currentTime>=e.endTime&&(e.currentTime=e.endTime)}}}s.TimeFlowControl=Be;var Ge=i(39),Ue=i.n(Ge);window.Promise=Ue.a;i(89);var je=i(24),ze=i.n(je);const Ve=window.fetch;s.setCORS=function(e){s.CORS=e};var He=s.isCORS=function(){return void 0!=s.CORS?s.CORS:window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest},Je=(s.setRequestTimeout=function(e){return s.RequestTimeout=e},s.getRequestTimeout=function(){return s.RequestTimeout||45e3}),qe=s.FetchRequest={commit:function(e,t,i,s){switch(e=e?e.toUpperCase():e){case"GET":return this.get(t,i,s);case"POST":return this.post(t,i,s);case"PUT":return this.put(t,i,s);case"DELETE":return this.delete(t,i,s);default:return this.get(t,i,s)}},supportDirectRequest:function(e,t){return fe.isInTheSameDomain(e)||He()||t.proxy},get:function(e,t,i){i=i||{};if(e=this._processUrl(e,i),e=fe.urlAppend(e,this._getParameterString(t||{})),!this.supportDirectRequest(e,i)){var r={url:e=e.replace(".json",".jsonp"),data:t};return s.Util.RequestJSONPPromise.GET(r)}return this.urlIsLong(e)?this._postSimulatie("GET",e.substring(0,e.indexOf("?")-1),t,i):this._fetch(e,t,i,"GET")},delete:function(e,t,i){i=i||{};if(e=this._processUrl(e,i),e=fe.urlAppend(e,this._getParameterString(t||{})),!this.supportDirectRequest(e,i)){e=e.replace(".json",".jsonp");var r={url:e+="&_method=DELETE",data:t};return s.Util.RequestJSONPPromise.DELETE(r)}return this.urlIsLong(e)?this._postSimulatie("DELETE",e.substring(0,e.indexOf("?")-1),t,i):this._fetch(e,t,i,"DELETE")},post:function(e,t,i){if(i=i||{},!this.supportDirectRequest(e,i)){e=e.replace(".json",".jsonp");var r={url:e+="&_method=POST",data:t};return s.Util.RequestJSONPPromise.POST(r)}return this._fetch(this._processUrl(e,i),t,i,"POST")},put:function(e,t,i){if(i=i||{},e=this._processUrl(e,i),!this.supportDirectRequest(e,i)){e=e.replace(".json",".jsonp");var r={url:e+="&_method=PUT",data:t};return s.Util.RequestJSONPPromise.DELETE(r)}return this._fetch(e,t,i,"PUT")},urlIsLong:function(e){for(var t=0,i=null,s=0,r=e.length;s-1?"&":"?")+"_method="+e,"string"!=typeof i&&(i=JSON.stringify(i)),this.post(t,i,s)},_processUrl:function(e,t){if(this._isMVTRequest(e))return e;if(-1===e.indexOf(".json")&&!t.withoutFormatSuffix)if(e.indexOf("?")<0)e+=".json";else{var i=e.split("?");2===i.length&&(e=i[0]+".json?"+i[1])}return t&&t.proxy&&("function"==typeof t.proxy?e=t.proxy(e):(e=decodeURIComponent(e),e=t.proxy+encodeURIComponent(e))),e},_fetch:function(e,t,i,s){return(i=i||{}).headers=i.headers||{},i.headers["Content-Type"]||(i.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8"),i.timeout?this._timeout(i.timeout,Ve(e,{method:s,headers:i.headers,body:"PUT"===s||"POST"===s?t:void 0,credentials:i.withCredentials?"include":"omit",mode:"cors",timeout:Je()}).then(function(e){return e})):Ve(e,{method:s,body:"PUT"===s||"POST"===s?t:void 0,headers:i.headers,credentials:i.withCredentials?"include":"omit",mode:"cors",timeout:Je()}).then(function(e){return e})},_fetchJsonp:function(e,t){return t=t||{},ze()(e,{method:"GET",timeout:t.timeout}).then(function(e){return e})},_timeout:function(e,t){return new Promise(function(i,s){setTimeout(function(){s(new Error("timeout"))},e),t.then(i,s)})},_getParameterString:function(e){var t=[];for(var i in e){var s=e[i];if(null!=s&&"function"!=typeof s){var r;if("object"==typeof s&&s.constructor===Array){for(var n,a=[],o=0,l=s.length;o-1||e.indexOf(".pbf")>-1}};s.Util.RequestJSONPPromise={limitLength:1500,queryKeys:[],queryValues:[],supermap_callbacks:{},addQueryStrings:function(e){for(var t in e){this.queryKeys.push(t),"string"!=typeof e[t]&&(e[t]=s.Util.toJSON(e[t]));var i=encodeURIComponent(e[t]);this.queryValues.push(i)}},issue:function(e){for(var t=this,i=t.getUid(),s=e.url,r=[],n=new Promise(function(e){t.supermap_callbacks[i]=function(s){delete t.supermap_callbacks[i],e(s)}}),a=s,o=0,l=t.queryKeys?t.queryKeys.length:0,h=0;h=t.limitLength){if(0==o)return!1;r.push(a),a=s,o=0,h--}else if(a.length+t.queryKeys[h].length+2+t.queryValues[h].length>t.limitLength)for(var u=t.queryValues[h];u.length>0;){var c=t.limitLength-a.length-t.queryKeys[h].length-2;a.indexOf("?")>-1?a+="&":a+="?";var p=u.substring(0,c);"%"===p.substring(c-1,c)?(c-=1,p=u.substring(0,c)):"%"===p.substring(c-2,c-1)&&(c-=2,p=u.substring(0,c)),a+=t.queryKeys[h]+"="+p,u=u.substring(c),p.length>0&&(r.push(a),a=s,o=0)}else o++,a.indexOf("?")>-1?a+="&":a+="?",a+=t.queryKeys[h]+"="+t.queryValues[h];return r.push(a),t.send(r,"SuperMap.Util.RequestJSONPPromise.supermap_callbacks["+i+"]",e&&e.proxy),n},getUid:function(){return 1e3*(new Date).getTime()+Math.floor(1e17*Math.random())},send:function(e,t,i){var s=e.length;if(s>0)for(var r=(new Date).getTime(),n=0;n-1?a+="&":a+="?",a+="sectionCount="+s,a+="§ionIndex="+n,a+="&jsonpUserID="+r,i&&(a=decodeURIComponent(a),a=i+encodeURIComponent(a)),ze()(a,{jsonpCallbackFunction:t,timeout:3e4})}},GET:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings(e.params),this.issue(e)},POST:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},PUT:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},DELETE:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)}};class We{static generateToken(e,t){var i=this.servers[e];if(i)return qe.post(i.tokenServiceUrl,JSON.stringify(t.toJSON())).then(function(e){return e.text()})}static registerServers(e){this.servers=this.servers||{},fe.isArray(e)||(e=[e]);for(var t=0;t-1&&"?"===s?t+=i.getUrlParameters():t.indexOf("?")>-1&&"?"!==s?t+="&"+i.getUrlParameters():t+="?"+i.getUrlParameters()}return t}getCredential(){var e,t=We.getToken(this.serviceUrl);return(e=t?new Pe(t,"token"):null)||(e=(t=this.getKey())?new Pe(t,"key"):null),e}getKey(){}}s.iPortalServiceBase=$e;class et extends $e{constructor(e,t){super(e),t=t||{},this.addedMapNames=null,this.addedSceneNames=null,this.authorizeSetting=[],this.checkStatus="",this.createTime=0,this.description="",this.enable=!0,this.id=0,this.isBatch=!1,this.isDataItemService=!1,this.linkPage=null,this.mapInfos=[],this.metadata=null,this.nickname="",this.offline=!1,this.proxiedUrl=null,this.resTitle="",this.scenes=[],this.serviceRootUrlId=null,this.tags=[],this.thumbnail=null,this.type="",this.updateTime=0,this.userName="",this.verifyReason=null,this.version=null,this.visitCount=0,fe.extend(this,t),this.serviceUrl=e,this.id&&(this.serviceUrl=e+"/"+this.id)}load(){var e=this;return e.request("GET",e.serviceUrl+".json").then(function(t){if(t.error)return t;for(var i in t)e[i]=t[i]})}update(){var e={authorizeSetting:this.authorizeSetting,metadata:this.metadata,tags:this.tags,thumbnail:this.thumbnail};return this.request("PUT",this.serviceUrl,JSON.stringify(e),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}}s.iPortalService=et;class tt extends $e{constructor(e,t){super(e),t=t||{},this.authorizeSetting=[],this.center="",this.controls=null,this.checkStatus="",this.createTime=0,this.description="",this.epsgCode=0,this.extent="",this.id=0,this.isDefaultBottomMap=!1,this.layers=[],this.level=null,this.nickname="",this.sourceType="",this.status=null,this.tags=[],this.thumbnail="",this.title="",this.units=null,this.updateTime=0,this.userName="",this.visitCount=0,fe.extend(this,t),this.mapUrl=e}load(){var e=this;return e.request("GET",e.mapUrl+".json").then(function(t){if(t.error)return t;for(var i in t)e[i]=t[i]})}update(){var e={units:this.units,level:this.level,center:this.center,controls:this.controls,description:this.description,epsgCode:this.epsgCode,extent:this.extent,status:this.status,tags:this.tags,layers:this.layers,title:this.title,thumbnail:this.thumbnail,sourceType:this.sourceType,authorizeSetting:this.authorizeSetting};return this.request("PUT",this.mapUrl,JSON.stringify(e),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}}s.iPortalMap=tt;class it extends $e{constructor(e){super(e),this.iportalUrl=e}load(){return qe.get(this.iportalUrl+"/web")}queryServices(e){if(!(e instanceof Ke))return null;var t=this.iportalUrl+"/web/services";return this.request("GET",t,e).then(function(e){var i=[];return e.content.map(function(e){return i.push(new et(t,e)),e}),i})}deleteServices(e){var t=this.iportalUrl+"/web/services";return this.request("DELETE",t,{ids:e})}queryMaps(e){if(!(e instanceof Ze))return null;var t=this.iportalUrl+"/web/maps";return this.request("GET",t,e).then(function(e){var i={},s=[];return e.content.map(function(e){return s.push(new tt(t+"/"+e.id,e)),e}),i.content=s,i.currentPage=e.currentPage,i.pageSize=e.pageSize,i.total=e.total,i.totalPage=e.totalPage,i})}}s.iPortal=it;class st{constructor(e,t){let i=this;this.EVENT_TYPES=["processCompleted","processFailed"],this.events=null,this.eventListeners=null,this.url=null,this.urls=null,this.proxy=null,this.serverType=null,this.index=null,this.length=null,this.options=null,this.totalTimes=null,this.POLLING_TIMES=3,this._processSuccess=null,this._processFailed=null,this.isInTheSameDomain=null,this.withCredentials=!1,fe.isArray(e)?(i.urls=e,i.length=e.length,i.totalTimes=i.length,1===i.length?i.url=e[0]:(i.index=parseInt(Math.random()*i.length),i.url=e[i.index])):(i.totalTimes=1,i.url=e),fe.isArray(e)&&!i.isServiceSupportPolling()&&(i.url=e[0],i.totalTimes=1),i.serverType=i.serverType||n.ISERVER,(t=t||{})&&fe.extend(this,t),i.isInTheSameDomain=fe.isInTheSameDomain(i.url),i.events=new Ne(i,null,i.EVENT_TYPES,!0),i.eventListeners instanceof Object&&i.events.on(i.eventListeners),this.CLASS_NAME="SuperMap.CommonServiceBase"}destroy(){let e=this;fe.isArray(e.urls)&&(e.urls=null,e.index=null,e.length=null,e.totalTimes=null),e.url=null,e.options=null,e._processSuccess=null,e._processFailed=null,e.isInTheSameDomain=null,e.EVENT_TYPES=null,e.events&&(e.events.destroy(),e.events=null),e.eventListeners&&(e.eventListeners=null)}request(e){let t=this;e.url=e.url||t.url,e.proxy=e.proxy||t.proxy,e.withCredentials=void 0!=e.withCredentials?e.withCredentials:t.withCredentials,e.isInTheSameDomain=t.isInTheSameDomain;let i=this.getCredential(e.url);if(i){let t=e.url.substring(e.url.length-1,e.url.length);e.url.indexOf("?")>-1&&"?"===t?e.url+=i.getUrlParameters():e.url.indexOf("?")>-1&&"?"!==t?e.url+="&"+i.getUrlParameters():e.url+="?"+i.getUrlParameters()}t.calculatePollingTimes(),t._processSuccess=e.success,t._processFailed=e.failure,e.scope=t,e.success=t.getUrlCompleted,e.failure=t.getUrlFailed,t.options=e,t._commit(t.options)}getCredential(e){let t,i,s=e;switch(this.serverType){case n.IPORTAL:(t=(i=We.getToken(s))?new Pe(i,"token"):null)||(t=(i=We.getKey(s))?new Pe(i,"key"):null);break;case n.ONLINE:t=(i=We.getKey(s))?new Pe(i,"key"):null;break;default:t=(i=We.getToken(s))?new Pe(i,"token"):null}return t}getUrlCompleted(e){this._processSuccess(e)}getUrlFailed(e){let t=this;t.totalTimes>0?(t.totalTimes--,t.ajaxPolling()):t._processFailed(e)}ajaxPolling(){let e=this,t=e.options.url,i=/^http:\/\/([a-z]{9}|(\d+\.){3}\d+):\d{0,4}/;e.index=parseInt(Math.random()*e.length),e.url=e.urls[e.index],t=t.replace(i,i.exec(e.url)[0]),e.options.url=t,e.options.isInTheSameDomain=fe.isInTheSameDomain(t),e._commit(e.options)}calculatePollingTimes(){let e=this;e.times?e.totalTimes>e.POLLING_TIMES?e.times>e.POLLING_TIMES?e.totalTimes=e.POLLING_TIMES:e.totalTimes=e.times:e.timese.POLLING_TIMES&&(e.totalTimes=e.POLLING_TIMES),e.totalTimes--}isServiceSupportPolling(){return!("SuperMap.REST.ThemeService"===this.CLASS_NAME||"SuperMap.REST.EditFeaturesService"===this.CLASS_NAME)}serviceProcessCompleted(e){e=fe.transformResult(e),this.events.triggerEvent("processCompleted",{result:e})}serviceProcessFailed(e){let t=(e=fe.transformResult(e)).error||e;this.events.triggerEvent("processFailed",{error:t})}_commit(e){"POST"!==e.method&&"PUT"!==e.method||(e.params&&(e.url=fe.urlAppend(e.url,fe.getParameterString(e.params||{}))),e.params=e.data),qe.commit(e.method,e.url,e.params,{headers:e.headers,withCredentials:e.withCredentials,timeout:e.async?0:null,proxy:e.proxy}).then(function(e){return e.text?e.text():e.json?e.json():e}).then(function(t){var i=t;("string"==typeof t&&(i=(new Fe).read(t)),(!i||i.error||i.code>=300&&304!==i.code)&&(i=i&&i.error?{error:i.error}:{error:i}),i.error)?(e.scope?de.bind(e.failure,e.scope):e.failure)(i):(i.succeed=void 0==i.succeed||i.succeed,(e.scope?de.bind(e.success,e.scope):e.success)(i))})}}s.CommonServiceBase=st;class rt{constructor(e){if(e.filters){let t=[];e.filters.split(",").map(function(e){return t.push('"'+e+'"'),e}),e.filters=t}this.address=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,fe.extend(this,e)}destroy(){this.address=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null}}s.GeoCodingParameter=rt;class nt{constructor(e){if(e.filters){let t=[];e.filters.split(",").map(function(e){return t.push('"'+e+'"'),e}),e.filters=t}this.x=null,this.y=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,this.geoDecodingRadius=null,fe.extend(this,e)}destroy(){this.x=null,this.y=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,this.geoDecodingRadius=null}}s.GeoDecodingParameter=nt;class at extends st{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.AddressMatchService"}destroy(){super.destroy()}code(e,t){t instanceof rt&&this.processAsync(e,t)}decode(e,t){t instanceof nt&&this.processAsync(e,t)}processAsync(e,t){var i=this;qe.get(e,t,{proxy:i.proxy}).then(function(e){return e.json()}).then(function(e){e?i.serviceProcessCompleted(e):i.serviceProcessFailed(e)}).catch(function(e){i.eventListeners.processFailed({error:e})})}serviceProcessCompleted(e){super.serviceProcessCompleted(e)}serviceProcessFailed(e){super.serviceProcessFailed(e)}}s.AddressMatchService=at;class ot{constructor(e){this.name=null,this.queryType=null,this.CLASS_NAME="SuperMap.AggQueryBuilderParameter",fe.extend(this,e)}destroy(){this.name=null,this.queryType=null}}s.AggQueryBuilderParameter=ot;class lt{constructor(e){this.aggName=null,this.aggType=null,this.aggFieldName=null,this.subAgg=null,this.CLASS_NAME="SuperMap.AggregationParameter",fe.extend(this,e)}destroy(){var e=this;e.aggName=null,e.aggFieldName=null,e.aggType=null,e.subAgg&&(e.subAgg=null)}}s.AggregationParameter=lt;class ht{constructor(e){this.dataset=null,this.targetDatasourceName=null,this.totalGridName=null,this.diffuseDatasetGridName=null,this.durationDatasetGridName=null,this.directDatasetGridName=null,this.latitude=null,this.timeMode="MULTIDAYS",this.dayStart=null,this.dayEnd=null,this.hourStart=null,this.hourEnd=null,this.transmittance=null,this.hourInterval=null,this.dayInterval=null,this.deleteExistResultDataset=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.AreaSolarRadiationParameters"}destroy(){var e=this;e.dataset=null,e.zFactor=1,e.averageCurvatureName=null,e.profileCurvatureName=null,e.planCurvatureName=null,e.deleteExistResultDataset=!0}static toObject(e,t){var i={};for(var s in e){if("dataset"!==s)"latitude"===s||"timeMode"===s||"dayStart"===s||("dayEnd"===s||"hourStart"===s||"hourEnd"===s)||("transmittance"===s||"hourInterval"===s||"dayInterval"===s)?i[s]=e[s]:t[s]=e[s]}t.parameter=i}}s.AreaSolarRadiationParameters=ht;class ut extends st{constructor(e,t){super(e,t),this.format=r.GEOJSON,this.CLASS_NAME="SuperMap.SpatialAnalystBase"}destroy(){super.destroy(),this.format=null}serviceProcessCompleted(e){var t,i=this;if((e=fe.transformResult(e))&&i.format===r.GEOJSON&&"function"==typeof i.toGeoJSONResult)if(fe.isArray(e)){for(var s=0;s0){e+='"points":[';for(var i=0,s=this.components.length;i0))return null;for(var n=0,a=0,o=[];n0){if(1===i)return new xe(t[0].x,t[0].y);var s=[];for(let e=0;e0){if(1===i){let i=[];for(let s=0;s0){if(1===o){for(e=0,i=[];e=0;t--)if(c[e]=-1,l[t].getBounds().containsBounds(l[e].getBounds())){h[e]=-1*h[t],h[e]<0&&(c[e]=t);break}for(let e=0;e0?r.push(l[e]):(r[c[e]].components=r[c[e]].components.concat(l[e].components),r.push(""))}else{r=new Array;for(let e=0;e0&&r.length>0&&(r[r.length-1].components=r[r.length-1].components.concat(a),a=[]),r.push(l[e])),e==s-1){var p=r.length;if(p)r[p-1].components=r[p-1].components.concat(a);else for(let e=0,t=a.length;e=0;t--)if(d[e]=-1,u[t].getBounds().containsBounds(u[e].getBounds())){c[e]=-1*c[t],c[e]<0&&(d[e]=t);break}for(let e=0;e0?n.push(u[e]):(n[d[e]].components=n[d[e]].components.concat(u[e].components),n.push(""))}else{n=new Array;for(let e=0;e0&&n.length>0&&(n[n.length-1].components=n[n.length-1].components.concat(l),l=[]),n.push(u[e])),e==s-1){var f=n.length;if(f)n[f-1].components=n[f-1].components.concat(l);else for(let e=0,t=l.length;ee[r]){var n=e[r];e[r]=e[s],e[s]=n;var a=t[r];if(t[r]=t[s],t[s]=a,i&&i.length>0){var o=i[r];i[r]=i[s],i[s]=o}}}}s.ServerGeometry=Mt;class wt extends ft{constructor(e){super(e),this.sourceGeometry=null,this.sourceGeometrySRID=null,e&&fe.extend(this,e),this.CLASS_NAME=" SuperMap.GeometryBufferAnalystParameters"}destroy(){super.destroy();this.sourceGeometry&&(this.sourceGeometry.destroy(),this.sourceGeometry=null)}static toObject(e,t){for(var i in e)if("bufferSetting"===i){var s={};for(var r in e.bufferSetting)s[r]=e.bufferSetting[r];t.analystParameter=s}else"sourceGeometry"===i?t.sourceGeometry=Mt.fromGeometry(e.sourceGeometry):t[i]=e[i]}}s.GeometryBufferAnalystParameters=wt;class Et extends ut{constructor(e,t){super(e,t),this.mode=null,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.BufferAnalystService"}destroy(){super.destroy(),this.mode=null}processAsync(e){var t={},i=this;"/"!==i.url.substr(i.url.length-1,1)&&(i.url+="/"),e instanceof bt?(i.mode="datasets",i.url+="datasets/"+e.dataset+"/buffer",bt.toObject(e,t)):e instanceof wt&&(i.mode="geometry",i.url+="geometry/buffer",wt.toObject(e,t));var s=fe.toJSON(t);i.url+=".json?returnContent=true",i.request({method:"POST",data:s,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}s.BufferAnalystService=Et;class At{constructor(e){this.type=O.UDB,this.datasetName="analystResult",this.datasourceInfo=null,this.outputPath="",fe.extend(this,e),this.CLASS_NAME="SuperMap.OutputSetting"}destroy(){var e=this;e.type=null,e.datasetName=null,e.outputPath=null,e.datasourceInfo instanceof gt&&(e.datasourceInfo.destroy(),e.datasourceInfo=null)}}s.OutputSetting=At;class Pt{constructor(e){if(this.datasetName="",this.bounds="",this.distance="",this.distanceField="",this.distanceUnit=ee.METER,this.dissolveField="",this.output=null,!e)return this;fe.extend(this,e),this.CLASS_NAME="SuperMap.BuffersAnalystJobsParameter"}destroy(){this.datasetName=null,this.bounds=null,this.distance=null,this.distanceField=null,this.distanceUnit=null,this.dissolveField=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"output"!==i?(t.analyst=t.analyst||{},t.analyst[i]="bounds"===i?e[i].toBBOX():e[i]):(t.output=t.output||{},t.output=e[i]):(t.input=t.input||{},t.input[i]=e[i])}}s.BuffersAnalystJobsParameter=Pt;class Lt extends st{constructor(e,t){(t=t||{}).EVENT_TYPES=["processCompleted","processFailed","processRunning"],super(e,t),this.CLASS_NAME="SuperMap.ProcessingServiceBase"}destroy(){super.destroy()}getJobs(e){var t=this;qe.get(e,null,{proxy:t.proxy}).then(function(e){return e.json()}).then(function(e){t.events.triggerEvent("processCompleted",{result:e})}).catch(function(e){t.eventListeners.processFailed({error:e})})}addJob(e,t,i,s){var r=this,n=null;t&&t instanceof i&&(n=new Object,i.toObject(t,n));var a={proxy:r.proxy,headers:{"Content-Type":"application/x-www-form-urlencoded"}};qe.post(r._processUrl(e),JSON.stringify(n),a).then(function(e){return e.json()}).then(function(e){e.succeed?r.serviceProcessCompleted(e,s):r.serviceProcessFailed(e)}).catch(function(e){r.serviceProcessFailed({error:e})})}serviceProcessCompleted(e,t){e=fe.transformResult(e),t=t||1e3;var i=this;if(e)var s=setInterval(function(){qe.get(e.newResourceLocation,{_t:(new Date).getTime()}).then(function(e){return e.json()}).then(function(e){i.events.triggerEvent("processRunning",{id:e.id,state:e.state}),"LOST"!==e.state.runState&&"KILLED"!==e.state.runState&&"FAILED"!==e.state.runState||(clearInterval(s),i.events.triggerEvent("processFailed",{error:e.state.errorMsg,state:e.state.runState})),"FINISHED"===e.state.runState&&e.setting.serviceInfo&&(clearInterval(s),i.events.triggerEvent("processCompleted",{result:e}))}).catch(function(e){clearInterval(s),i.events.triggerEvent("processFailed",{error:e})})},t)}serviceProcessFailed(e){super.serviceProcessFailed(e)}_processUrl(e){return-1===e.indexOf(".json")&&(e+=".json"),We.getToken(e)&&(e+="?token="+We.getToken(e)),e}}s.ProcessingServiceBase=Lt;class Nt extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/buffers",this.CLASS_NAME="SuperMap.BuffersAnalystJobsService"}destroy(){super.destroy()}getBuffersJobs(){super.getJobs(this.url)}getBuffersJob(e){super.getJobs(this.url+"/"+e)}addBuffersJob(e,t){super.addJob(this.url,e,Pt,t)}}s.BuffersAnalystJobsService=Nt;class It{constructor(e){this.sourceNodeIDs=null,this.edgeID=null,this.nodeID=null,this.isUncertainDirectionValid=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.BurstPipelineAnalystParameters"}destroy(){this.sourceNodeIDs=null,this.edgeID=null,this.nodeID=null,this.isUncertainDirectionValid=null}}s.BurstPipelineAnalystParameters=It;class Ot extends st{constructor(e,t){super(e,t),this.format=r.GEOJSON,this.CLASS_NAME="SuperMap.NetworkAnalystServiceBase"}destroy(){super.destroy(),this.format=null}serviceProcessCompleted(e){var t;(e=fe.transformResult(e))&&this.format===r.GEOJSON&&"function"==typeof this.toGeoJSONResult&&(t=this.toGeoJSONResult(e)),t||(t=e),this.events.triggerEvent("processCompleted",{result:t})}toGeoJSONResult(e){return null}}s.NetworkAnalystServiceBase=Ot;class Rt extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.BurstPipelineAnalystService"}destroy(){super.destroy()}processAsync(e){if(!(e instanceof It))return null;var t,i=this,s=i.url.substr(i.url.length-1,1);if(i.url=i.url+("/"===s?"burstAnalyse":"/burstAnalyse")+".json?",t={sourceNodeIDs:e.sourceNodeIDs,isUncertainDirectionValid:e.isUncertainDirectionValid},null!==e.edgeID&&null!==e.nodeID)throw new Error("edgeID and nodeID cannot be null at the same time.");if(null===e.edgeID&&null===e.nodeID)throw new Error("edgeID and nodeID cannot be null at the same time.");null!==e.edgeID?t.edgeID=e.edgeID:t.nodeID=e.nodeID,i.request({method:"GET",params:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}s.BurstPipelineAnalystService=Rt;class Ft extends st{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.ChartFeatureInfoSpecsService"}destroy(){super.destroy(),fe.reset(this)}processAsync(){var e=this,t=e.url.substr(e.url.length-1,1);e.isTempLayers?e.url+=".json?":(e.url+="/"===t?"":"/",e.url+="chartFeatureInfoSpecs.json?"),e.request({method:"GET",params:null,scope:e,success:e.serviceProcessCompleted,failure:e.serviceProcessFailed})}}s.ChartFeatureInfoSpecsService=Ft;class Dt{constructor(e){this.isQueryPoint=null,this.isQueryLine=null,this.isQueryRegion=null,this.attributeFilter=null,this.chartFeatureInfoSpecCode=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.ChartQueryFilterParameter"}destroy(){var e=this;e.isQueryPoint=null,e.isQueryLine=null,e.isQueryRegion=null,e.attributeFilter=null,e.chartFeatureInfoSpecCode=null}toJson(){var e="";return e+='"isQueryPoint":'+this.isQueryPoint+",",e+='"isQueryLine":'+this.isQueryLine+",",e+='"isQueryRegion":'+this.isQueryRegion+",",this.attributeFilter&&(e+='"attributeFilter": "'+this.attributeFilter+'",'),e="{"+(e+='"chartFeatureInfoSpecCode":'+this.chartFeatureInfoSpecCode)+"}"}}s.ChartQueryFilterParameter=Dt;class kt{constructor(e){this.queryMode=null,this.bounds=null,this.chartLayerNames=null,this.chartQueryFilterParameters=null,this.returnContent=!0,this.startRecord=0,this.expectCount=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.ChartQueryParameters"}destroy(){var e=this;e.queryMode=null,e.bounds=null,e.chartLayerNames=null,e.chartQueryFilterParameters=null,e.returnContent=!0,e.startRecord=0,e.expectCount=null}getVariablesJson(){var e="";if(e+='"queryMode":"'+this.queryMode+'",',this.chartLayerNames&&this.chartLayerNames.length){for(var t=[],i=this.chartLayerNames.length,s=0;s0&&(i+=","),i+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(i+=","),i+=t[e];return i+="]"}}s.ComputeWeightMatrixService=Jt;class qt extends st{constructor(e,t){(t=t||{}).EVENT_TYPES=["broadcastSocketConnected","broadcastSocketError","broadcastFailed","broadcastSuccessed","subscribeSocketConnected","subscribeSocketError","messageSuccessed","setFilterParamSuccessed"],super(e,t),this.geometry=null,this.prjCoordSys=null,this.excludeField=null;"/"!==this.url.substr(this.url.length-1,1)&&(this.url+="/"),t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.DataFlowService"}initBroadcast(){var e=this;return this.broadcastWebSocket=this._connect(e.url+"broadcast"),this.broadcastWebSocket.onopen=function(t){e.broadcastWebSocket.isOpen=!0,t.eventType="broadcastSocketConnected",e.events.triggerEvent("broadcastSocketConnected",t)},this.broadcastWebSocket.onclose=function(t){e.broadcastWebSocket.isOpen=!1,t.eventType="broadcastSocketConnected",e.events.triggerEvent("broadcastSocketConnected",t)},this.broadcastWebSocket.onerror=function(t){t.eventType="broadcastSocketError",e.events.triggerEvent("broadcastSocketError",t)},this}broadcast(e){this.broadcastWebSocket&&this.broadcastWebSocket.isOpen?(this.broadcastWebSocket.send(JSON.stringify(e)),this.events.triggerEvent("broadcastSuccessed")):this.events.triggerEvent("broadcastFailed")}initSubscribe(){var e=this;return this.subscribeWebSocket=this._connect(this.url+"subscribe"),this.subscribeWebSocket.onopen=function(t){e.subscribeWebSocket.send(e._getFilterParams()),t.eventType="subscribeSocketConnected",e.events.triggerEvent("subscribeSocketConnected",t)},this.subscribeWebSocket.onerror=function(t){t.eventType="subscribeSocketError",e.events.triggerEvent("subscribeSocketError",t)},this.subscribeWebSocket.onmessage=function(t){e._onMessage(t)},this}setExcludeField(e){return this.excludeField=e,this.subscribeWebSocket.send(this._getFilterParams()),this}setGeometry(e){return this.geometry=e,this.subscribeWebSocket.send(this._getFilterParams()),this}unSubscribe(){this.subscribeWebSocket&&(this.subscribeWebSocket.close(),this.subscribeWebSocket=null)}unBroadcast(){this.broadcastWebSocket&&(this.broadcastWebSocket.close(),this.broadcastWebSocket=null)}destroy(){st.prototype.destroy.apply(this,arguments);this.geometry=null,this.prjCoordSys=null,this.excludeField=null,this.unBroadcast(),this.unSubscribe()}_getFilterParams(){var e={filterParam:{prjCoordSys:this.prjCoordSys,excludeField:this.excludeField,geometry:this.geometry}};return fe.toJSON(e)}_onMessage(e){if(e.data&&e.data.indexOf("filterParam")>0){var t=JSON.parse(e.data);return e.filterParam=t,e.eventType="setFilterParamSuccessed",void this.events.triggerEvent("setFilterParamSuccessed",e)}var i=JSON.parse(e.data);e.featureResult=i,e.eventType="messageSuccessed",this.events.triggerEvent("messageSuccessed",e)}_connect(e){return e=this._appendCredentials(e),"WebSocket"in window?new WebSocket(e):"MozWebSocket"in window?new(0,window.MozWebSocket)(e):(console.log("no WebSocket"),null)}_appendCredentials(e){var t=We.getToken(e);return t&&(e+="?token="+t),e}}s.DataFlowService=qt;class Wt{constructor(e){e=e||{},this.bounds=null,this.dataSourceName=null,this.description=null,this.encodeType=null,this.isReadOnly=null,this.name=null,this.prjCoordSys=null,this.tableName=null,this.type=null,fe.extend(this,e);var t=this.bounds;t&&(this.bounds=new ye(t.leftBottom.x,t.leftBottom.y,t.rightTop.x,t.rightTop.y)),this.CLASS_NAME="SuperMap.DatasetInfo"}destroy(){fe.reset(this)}toServerJSONObject(){var e={};return(e=fe.copyAttributes(e,this)).bounds&&e.bounds.toServerJSONObject&&(e.bounds=e.bounds.toServerJSONObject()),e}}s.DatasetInfo=Wt;class Yt{constructor(e){this.operation=I.UNION,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.OverlayAnalystParameters"}destroy(){this.operation=null}}s.OverlayAnalystParameters=Yt;class Qt extends Yt{constructor(e){super(e),this.operateDataset=null,this.operateDatasetFields=[],this.operateDatasetFilter=new St,this.operateRegions=[],this.sourceDataset=null,this.sourceDatasetFields=[],this.sourceDatasetFilter=new St,this.tolerance=0,this.resultSetting=new mt,fe.extend(this,e),this.CLASS_NAME="SuperMap.DatasetOverlayAnalystParameters"}destroy(){super.destroy();var e=this;if(e.operateDataset=null,e.operateDatasetFields=null,e.operateDatasetFilter&&(e.operateDatasetFilter.destroy(),e.operateDatasetFilter=null),e.operateRegions){for(var t=0,i=e.operateRegions,s=i.length;t0&&(i+=","),i+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(i+=","),i+=t[e];return i+="]"}toGeoJSONResult(e){if(!e||!e.facilityPathList)return e;var t=new De;return e.facilityPathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}s.FindClosestFacilitiesService=Ci;class Ti{constructor(e){this.expectedSupplyCenterCount=null,this.isFromCenter=!1,this.supplyCenters=null,this.turnWeightField=null,this.weightName=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindLocationParameters"}destroy(){var e=this;if(e.expectedSupplyCenterCount=null,e.isFromCenter=null,e.turnWeightField=null,e.weightName=null,e.supplyCenters){for(var t=0,i=e.supplyCenters,s=i.length;t0&&(t+=","),t+=fe.toJSON(e[s]);return t+="]"}toGeoJSONResult(e){if(!e)return null;var t=new De;return e.demandResults&&(e.demandResults=JSON.parse(t.write(e.demandResults))),e.supplyResults&&(e.supplyResults=JSON.parse(t.write(e.supplyResults))),e}}s.FindLocationService=Mi;class wi{constructor(e){this.centers=null,this.hasLeastTotalCost=!1,this.isAnalyzeById=!1,this.nodes=null,this.parameter=new Vt,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindMTSPPathsParameters"}destroy(){var e=this;e.centers=null,e.hasLeastTotalCost=null,e.isAnalyzeById=null,e.nodes=null,e.maxWeight=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}s.FindMTSPPathsParameters=wi;class Ei extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindMTSPPathsService"}destroy(){super.destroy()}processAsync(e){if(e instanceof wi){var t,i=this,s=i.getJson(e.isAnalyzeById,e.centers),r=i.getJson(e.isAnalyzeById,e.nodes);i.url=i.url+"/mtsppath.json?",t={centers:s,nodes:r,parameter:fe.toJSON(e.parameter),hasLeastTotalCost:e.hasLeastTotalCost},i.request({method:"GET",params:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}getJson(e,t){var i="[",s=t?t.length:0;if(!1===e)for(let e=0;e0&&(i+=","),i+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(i+=","),i+=t[e];return i+="]"}toGeoJSONResult(e){if(!e||!e.pathList)return null;var t=new De;return e.pathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}s.FindMTSPPathsService=Ei;class Ai{constructor(e){this.isAnalyzeById=!1,this.hasLeastEdgeCount=null,this.nodes=null,this.parameter=new Vt,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindPathParameters"}destroy(){var e=this;e.isAnalyzeById=null,e.hasLeastEdgeCount=null,e.nodes=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}s.FindPathParameters=Ai;class Pi extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindPathService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Ai){var t,i=this,s=i.url.substr(i.url.length-1,1);i.url=i.url+("/"===s?"path":"/path")+".json?",t={hasLeastEdgeCount:e.hasLeastEdgeCount,parameter:fe.toJSON(e.parameter),nodes:i.getJson(e.isAnalyzeById,e.nodes)},i.request({method:"GET",params:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}getJson(e,t){var i="[",s=t?t.length:0;if(!1===e)for(let e=0;e0&&(i+=","),i+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(i+=","),i+=t[e];return i+="]"}toGeoJSONResult(e){if(!e||!e.pathList||e.pathList.length<1)return null;var t=new De;return e.pathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}s.FindPathService=Pi;class Li{constructor(e){this.isAnalyzeById=!1,this.isCenterMutuallyExclusive=!1,this.centers=null,this.isFromCenter=!1,this.weights=null,this.parameter=new Vt,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindServiceAreasParameters"}destroy(){var e=this;e.isAnalyzeById=null,e.isCenterMutuallyExclusive=null,e.centers=null,e.isFromCenter=null,e.weights=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}s.FindServiceAreasParameters=Li;class Ni extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindServiceAreasService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Li){var t,i=this,s=i.url.substr(i.url.length-1,1);i.url=i.url+("/"===s?"servicearea":"/servicearea")+".json?",t={isFromCenter:e.isFromCenter,isCenterMutuallyExclusive:e.isCenterMutuallyExclusive,parameter:fe.toJSON(e.parameter),centers:i.getJson(e.isAnalyzeById,e.centers),weights:i.getJson(!0,e.weights)},i.request({method:"GET",params:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}getJson(e,t){var i="[",s=t?t.length:0;if(!1===e)for(let e=0;e0&&(i+=","),i+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(i+=","),i+=t[e];return i+="]"}toGeoJSONResult(e){if(!e||!e.serviceAreaList)return e;var t=new De;return e.serviceAreaList.map(function(e){return e.serviceRegion&&(e.serviceRegion=JSON.parse(t.write(e.serviceRegion))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e.routes&&(e.routes=JSON.parse(t.write(e.routes))),e}),e}}s.FindServiceAreasService=Ni;class Ii{constructor(e){this.endNodeAssigned=!1,this.isAnalyzeById=!1,this.nodes=null,this.parameter=new Vt,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindTSPPathsParameters"}destroy(){var e=this;e.endNodeAssigned=null,e.isAnalyzeById=null,e.nodes=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}s.FindTSPPathsParameters=Ii;class Oi extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindTSPPathsService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Ii){var t,i=this,r=i.url.substr(i.url.length-1,1);i.url=i.url+("/"===r?"tsppath":"/tsppath")+".json?",t={parameter:s.Util.toJSON(e.parameter),endNodeAssigned:e.endNodeAssigned,nodes:i.getNodesJson(e)},i.request({method:"GET",params:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}getNodesJson(e){var t,i,s,r,n="";if(!1===e.isAnalyzeById){for(t="[",i=0,s=(r=e.nodes).length;i0&&(t+=","),t+='{"x":'+r[i].x+',"y":'+r[i].y+"}";n+=t+="]"}else if(1==e.isAnalyzeById){let t="[",i=e.nodes,s=i.length;for(let e=0;e0&&(t+=","),t+=i[e];n+=t+="]"}return n}toGeoJSONResult(e){if(!e||!e.tspPathList)return null;var t=new De;return e.tspPathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}s.FindTSPPathsService=Oi;class Ri{constructor(e){this.routeTable=null,this.routeIDField=null,this.attributeFilter=null,this.eventTable=null,this.eventRouteIDField=null,this.measureField=null,this.measureStartField=null,this.measureEndField=null,this.measureOffsetField=null,this.errorInfoField=null,this.retainedFields=null,this.dataReturnOption=null,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.GenerateSpatialDataParameters"}destroy(){var e=this;e.routeTable&&(e.routeTable=null),e.routeIDField=null,e.attributeFilter=null,e.eventTable=null,e.eventRouteIDField=null,e.measureField=null,e.measureStartField=null,e.measureEndField=null,e.measureOffsetField=null,e.errorInfoField=null,e.dataReturnOption&&(e.dataReturnOption.destroy(),e.dataReturnOption=null)}}s.GenerateSpatialDataParameters=Ri;class Fi extends ut{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GenerateSpatialDataService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Ri){var t,i=this;t=i.getJsonParameters(e),i.request({method:"POST",data:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}getJsonParameters(e){var t,i="datasets/"+e.routeTable+"/linearreferencing/generatespatialdata";return t=this.url.substr(this.url.length-1,1),this.url+="/"===t?i+".json":"/"+i+".json",this.url+="?returnContent=true",fe.toJSON(e)}}s.GenerateSpatialDataService=Fi;class Di extends ot{constructor(e){super(e),this.bounds=null,this.queryType=ne.GEO_BOUNDING_BOX,this.CLASS_NAME="SuperMap.GeoBoundingBoxQueryBuilderParameter",fe.extend(this,e)}destroy(){super.destroy(),this.bounds=null,this.queryType=null}}s.GeoBoundingBoxQueryBuilderParameter=Di;class ki extends lt{constructor(e){super(e),this.precision=5,this.aggType=re.GEOHASH_GRID,fe.extend(this,e),this.CLASS_NAME="SuperMap.GeoHashGridAggParameter"}destroy(){super.destroy(),this.aggType=null}static toJsonParameters(e){var t={aggName:e.aggName,aggFieldName:e.aggFieldName,aggType:e.aggType,precision:e.precision};return e.subAgg&&(t.subAgg=e.subAgg),fe.toJson(t)}}s.GeoHashGridAggParameter=ki;class Bi extends Yt{constructor(e){super(e),e&&e.operateGeometry&&(this.operateGeometry=e.operateGeometry),e&&e.sourceGeometry&&(this.sourceGeometry=e.sourceGeometry),e&&e.operateGeometries&&(this.operateGeometries=e.operateGeometries),e&&e.sourceGeometries&&(this.sourceGeometries=e.sourceGeometries),e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.GeometryOverlayAnalystParameters"}destroy(){super.destroy();var e=this;e.sourceGeometry&&(e.sourceGeometry.destroy(),e.sourceGeometry=null),e.sourceGeometries&&(e.sourceGeometries.destroy(),e.sourceGeometries=null),e.sourceGeometry&&(e.sourceGeometry.destroy(),e.sourceGeometry=null),e.operateGeometries&&(e.operateGeometries.destroy(),e.operateGeometries=null)}static toObject(e,t){for(var i in e)if("sourceGeometry"===i)t.sourceGeometry=Mt.fromGeometry(e.sourceGeometry);else if("sourceGeometries"===i){for(var s=[],r=0;r=0;e--)this.points[e].destroy();this.points=null}}static toObject(e,t){for(var i in e)"clipRegion"===i?t.clipRegion=Mt.fromGeometry(e.clipRegion):t[i]=e[i]}}s.GeometryThiessenAnalystParameters=Ui;class ji{constructor(e){this.dataset=null,this.sourceFilter=null,this.referenceFilter=null,this.spatialRelationType=null,this.isBorderInside=null,this.returnFeature=null,this.returnGeoRelatedOnly=null,this.startRecord=0,this.expectCount=500,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.GeoRelationAnalystParameters"}destroy(){var e=this;e.sourceFilter&&e.sourceFilter.destroy(),e.sourceFilter=null,e.referenceFilter&&e.referenceFilter.destroy(),e.referenceFilter=null,e.dataset=null,e.spatialRelationType=null,e.isBorderInside=null,e.returnFeature=null,e.returnGeoRelatedOnly=null,e.startRecord=null,e.expectCount=null}}s.GeoRelationAnalystParameters=ji;class zi extends ut{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GeoRelationAnalystService"}destroy(){super.destroy()}processAsync(e){if(e instanceof ji){var t=this,i=t.url.substr(t.url.length-1,1);t.url+="/"===i?"datasets/"+e.dataset+"/georelation":"/datasets/"+e.dataset+"/georelation";var r=s.Util.toJSON(e);t.url+=".json?returnContent=true",t.request({method:"POST",data:r,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}}s.GeoRelationAnalystService=zi;class Vi{constructor(e){this.datasetNames=null,this.returnContent=!0,this.fromIndex=0,this.toIndex=19,this.returnCountOnly=!1,this.maxFeatures=null,this.aggregations=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesParametersBase"}destroy(){var e=this;e.datasetNames=null,e.returnContent=null,e.fromIndex=null,e.toIndex=null,e.maxFeatures=null,e.aggregation&&(e.aggregation=null)}}s.GetFeaturesParametersBase=Vi;class Hi extends Vi{constructor(e){super(e),this.getFeatureMode=Hi.getFeatureMode.BOUNDS,this.bounds=null,this.fields=null,this.attributeFilter=null,this.spatialQueryMode=h.CONTAIN,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByBoundsParameters"}destroy(){super.destroy();var e=this;if(e.bounds&&(e.bounds.destroy(),e.bounds=null),e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}static toJsonParameters(e){var t,i,s;return i={leftBottom:{x:e.bounds.left,y:e.bounds.bottom},rightTop:{x:e.bounds.right,y:e.bounds.top}},s={datasetNames:e.datasetNames,getFeatureMode:Hi.getFeatureMode.BOUNDS,bounds:i,spatialQueryMode:e.spatialQueryMode},e.fields&&((t=new St).name=e.datasetNames,t.fields=e.fields,s.queryParameter=t),e.attributeFilter&&(s.attributeFilter=e.attributeFilter,s.getFeatureMode=Hi.getFeatureMode.BOUNDS_ATTRIBUTEFILTER),e.maxFeatures&&!isNaN(e.maxFeatures)&&(s.maxFeatures=e.maxFeatures),fe.toJSON(s)}}Hi.getFeatureMode={BOUNDS:"BOUNDS",BOUNDS_ATTRIBUTEFILTER:"BOUNDS_ATTRIBUTEFILTER"},s.GetFeaturesByBoundsParameters=Hi;class Ji extends st{constructor(e,t){super(e,t),t=t||{},this.returnContent=!0,this.fromIndex=0,this.toIndex=19,this.maxFeatures=null,this.format=r.GEOJSON,t&&fe.extend(this,t);var i;t&&t.format&&(this.format=t.format.toUpperCase()),i=this.url.substr(this.url.length-1,1),this.url+="/"==i?"featureResults.json?":"/featureResults.json?",this.CLASS_NAME="SuperMap.GetFeaturesServiceBase"}destroy(){super.destroy();var e=this;e.returnContent=null,e.fromIndex=null,e.toIndex=null,e.maxFeatures=null,e.format=null}processAsync(e){if(e){var t,i=this,s=!0;i.returnContent=e.returnContent,i.fromIndex=e.fromIndex,i.toIndex=e.toIndex,i.maxFeatures=e.maxFeatures,i.returnContent&&(i.url+="returnContent="+i.returnContent,s=!1),null!=i.fromIndex&&null!=i.toIndex&&!isNaN(i.fromIndex)&&!isNaN(i.toIndex)&&i.fromIndex>=0&&i.toIndex>=0&&!s&&(i.url+="&fromIndex="+i.fromIndex+"&toIndex="+i.toIndex),e.returnCountOnly&&(i.url+="&returnCountOnly="+e.returnContent),t=i.getJsonParameters(e),i.request({method:"POST",data:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}serviceProcessCompleted(e){if(e=fe.transformResult(e),this.format===r.GEOJSON&&e.features){var t=new De;e.features=JSON.parse(t.write(e.features))}this.events.triggerEvent("processCompleted",{result:e})}}s.GetFeaturesServiceBase=Ji;class qi extends Ji{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByBoundsService"}destroy(){super.destroy()}getJsonParameters(e){return Hi.toJsonParameters(e)}}s.GetFeaturesByBoundsService=qi;class Wi extends Vi{constructor(e){super(e),this.bufferDistance=null,this.attributeFilter=null,this.geometry=null,this.fields=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByBufferParameters"}destroy(){super.destroy();var e=this;if(e.bufferDistance=null,e.attributeFilter=null,e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}e.geometry&&(e.geometry.destroy(),e.geometry=null)}static toJsonParameters(e){var t,i,s;return s=Mt.fromGeometry(e.geometry),i={datasetNames:e.datasetNames,getFeatureMode:"BUFFER",bufferDistance:e.bufferDistance,geometry:s},e.fields&&((t=new St).name=e.datasetNames,t.fields=e.fields,i.queryParameter=t),e.attributeFilter&&(i.attributeFilter=e.attributeFilter,i.getFeatureMode="BUFFER_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(i.maxFeatures=e.maxFeatures),fe.toJSON(i)}}s.GetFeaturesByBufferParameters=Wi;class Yi extends Ji{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByBufferService"}destroy(){super.destroy()}getJsonParameters(e){if(e instanceof Wi)return s.GetFeaturesByBufferParameters.toJsonParameters(e)}}s.GetFeaturesByBufferService=Yi;class Qi extends Vi{constructor(e){super(e),this.getFeatureMode="SPATIAL",this.geometry=null,this.fields=null,this.attributeFilter=null,this.spatialQueryMode=h.CONTAIN,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByGeometryParameters"}destroy(){super.destroy();var e=this;if(e.geometry&&(e.geometry.destroy(),e.geometry=null),e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}static toJsonParameters(e){var t,i,s;return i=Mt.fromGeometry(e.geometry),s={datasetNames:e.datasetNames,getFeatureMode:"SPATIAL",geometry:i,spatialQueryMode:e.spatialQueryMode},e.fields&&((t=new St).name=e.datasetNames,t.fields=e.fields,s.queryParameter=t),e.attributeFilter&&(s.attributeFilter=e.attributeFilter,s.getFeatureMode="SPATIAL_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(s.maxFeatures=e.maxFeatures),fe.toJSON(s)}}s.GetFeaturesByGeometryParameters=Qi;class Xi extends Ji{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByGeometryService"}destroy(){super.destroy()}getJsonParameters(e){return Qi.toJsonParameters(e)}}s.GetFeaturesByGeometryService=Xi;class Ki extends Vi{constructor(e){super(e),this.getFeatureMode="ID",this.IDs=null,this.fields=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByIDsParameters"}destroy(){super.destroy();var e=this;if(e.IDs=null,e.getFeatureMode=null,e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}}static toJsonParameters(e){var t,i;return t={datasetNames:e.datasetNames,getFeatureMode:"ID",ids:e.IDs},e.fields&&((i=new St).name=e.datasetNames,i.fields=e.fields,t.queryParameter=i),fe.toJSON(t)}}s.GetFeaturesByIDsParameters=Ki;class Zi extends Ji{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByIDsService"}destroy(){super.destroy()}getJsonParameters(e){return Ki.toJsonParameters(e)}}s.GetFeaturesByIDsService=Zi;class $i extends Vi{constructor(e){super(e),this.getFeatureMode="SQL",this.queryParameter=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesBySQLParameters"}destroy(){super.destroy();this.getFeatureMode=null,this.queryParameter&&(this.queryParameter.destroy(),this.queryParameter=null)}static toJsonParameters(e){var t={datasetNames:e.datasetNames,getFeatureMode:"SQL",queryParameter:e.queryParameter};return e.maxFeatures&&!isNaN(e.maxFeatures)&&(t.maxFeatures=e.maxFeatures),e.aggregations&&(t.aggregations=e.aggregations),fe.toJSON(t)}}s.GetFeaturesBySQLParameters=$i;class es extends Ji{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesBySQLService"}destroy(){super.destroy()}getJsonParameters(e){return $i.toJsonParameters(e)}}s.GetFeaturesBySQLService=es;class ts extends st{constructor(e,t){super(e,t),this.datasource=null,this.dataset=null,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.GetFieldsService"}destroy(){super.destroy();this.datasource=null,this.dataset=null}processAsync(){var e=this,t=e.url.substr(e.url.length-1,1),i="datasources/"+e.datasource+"/datasets/"+e.dataset;e.url+="/"==t?i+"/fields.json?":"/"+i+"/fields.json?",e.request({method:"GET",data:null,scope:e,success:e.serviceProcessCompleted,failure:e.serviceProcessFailed})}}s.GetFieldsService=ts;class is{constructor(e){this.datasetName=null,this.dataSourceName=null,this.X=null,this.Y=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetGridCellInfosParameters"}destroy(){this.datasetName=null,this.dataSourceName=null,this.X=null,this.Y=null}}s.GetGridCellInfosParameters=is;class ss extends st{constructor(e,t){super(e,t),this.datasetName=null,this.dataSourceName=null,this.datasetType=null,this.X=null,this.Y=null,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.GetGridCellInfosService"}destroy(){super.destroy();var e=this;e.X=null,e.Y=null,e.datasetName=null,e.dataSourceName=null,e.datasetType=null}processAsync(e){if(e instanceof is){fe.extend(this,e);var t=this,i=t.url.substr(t.url.length-1,1);t.url+="/"==i?"datasources/"+t.dataSourceName+"/datasets/"+t.datasetName+".json":"/datasources/"+t.dataSourceName+"/datasets/"+t.datasetName+".json",t.queryRequest(t.getDatasetInfoCompleted,t.getDatasetInfoFailed)}}queryRequest(e,t){this.request({method:"GET",data:null,scope:this,success:e,failure:t})}getDatasetInfoCompleted(e){e=fe.transformResult(e),this.datasetType=e.datasetInfo.type,this.queryGridInfos()}queryGridInfos(){var e=this,t=/\.json/.exec(e.url).index,i=e.url.substring(t),s=e.url.substring(0,e.url.length-i.length);"GRID"==e.datasetType?e.url=s+"/gridValue"+i:e.url=s+"/imageValue"+i,null!=e.X&&null!=e.Y&&(e.url+="?x="+e.X+"&y="+e.Y),e.queryRequest(e.serviceProcessCompleted,e.serviceProcessFailed)}getDatasetInfoFailed(e){this.serviceProcessFailed(e)}}s.GetGridCellInfosService=ss;class rs{constructor(e,t){this.srcData=e,this.targetData=t,this.CLASS_NAME="SuperMap.ThemeMemoryData"}destroy(){this.srcData=null,this.targetData=null}toJSON(){if(this.srcData&&this.targetData){for(var e="",t=Math.min(this.srcData.length,this.targetData.length),i=0;i0&&(e=e.substring(0,e.length-1)),"{"+e+"}"}return null}}s.ThemeMemoryData=rs;class ns{constructor(e,t){if(!e)return this;this.memoryData=null,this.type=e,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.Theme"}destroy(){this.memoryData&&(this.memoryData.destroy(),this.memoryData=null),this.type=null}toServerJSONObject(){}}s.Theme=ns;class as{constructor(e){this.align=_.BASELINECENTER,this.backColor=new xt(255,255,255),this.foreColor=new xt(0,0,0),this.backOpaque=!1,this.sizeFixed=!0,this.fontHeight=6,this.fontWidth=0,this.fontWeight=400,this.fontName="Times New Roman",this.bold=!1,this.italic=!1,this.italicAngle=0,this.shadow=!1,this.strikeout=!1,this.outline=!1,this.opaqueRate=0,this.underline=!1,this.rotation=0,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ServerTextStyle"}destroy(){var e=this;e.align=null,e.backColor&&(e.backColor.destroy(),e.backColor=null),e.foreColor&&(e.foreColor.destroy(),e.foreColor=null),e.backOpaque=null,e.sizeFixed=null,e.fontHeight=null,e.fontWidth=null,e.fontWeight=null,e.fontName=null,e.bold=null,e.italic=null,e.italicAngle=null,e.shadow=null,e.strikeout=null,e.outline=null,e.opaqueRate=null,e.underline=null,e.rotation=null}static fromObj(e){var t=new as(e);return fe.copy(t,e),t.backColor=xt.fromJson(e.backColor),t.foreColor=xt.fromJson(e.foreColor),t}}s.ServerTextStyle=as;class os{constructor(e){this.caption=null,this.end=0,this.start=0,this.visible=!0,this.style=new as,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeLabelItem"}destroy(){var e=this;e.caption=null,e.end=null,e.start=null,e.style&&(e.style.destroy(),e.style=null),e.visible=null}static fromObj(e){if(e){var t=new os;return fe.copy(t,e),t}}}s.ThemeLabelItem=os;class ls{constructor(e){this.caption=null,this.style=new _t,this.unique=null,this.visible=!0,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeUniqueItem"}destroy(){var e=this;e.caption=null,e.unique=null,e.style&&(e.style.destroy(),e.style=null),e.visible=null}toServerJSONObject(){var e={};return(e=fe.copyAttributes(e,this)).style&&e.style.toServerJSONObject&&(e.style=e.style.toServerJSONObject()),e}static fromObj(e){var t=new ls;return fe.copy(t,e),t.style=_t.fromJson(e.style),t}}s.ThemeUniqueItem=ls;class hs{constructor(e){this.flowEnabled=!1,this.leaderLineDisplayed=!1,this.leaderLineStyle=new _t,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeFlow"}destroy(){var e=this;e.flowEnabled=null,e.leaderLineDisplayed=null,e.leaderLineStyle&&(e.leaderLineStyle.destroy(),e.leaderLineStyle=null)}static fromObj(e){if(e){var t=new hs;return fe.copy(t,e),t.leaderLineStyle=_t.fromJson(e.leaderLineStyle),t}}}s.ThemeFlow=hs;class us{constructor(e){this.offsetFixed=!1,this.offsetX="0.0",this.offsetY="0.0",e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeOffset"}destroy(){this.offsetFixed=null,this.offsetX=null,this.offsetY=null}static fromObj(e){if(e){var t=new us;return fe.copy(t,e),t}}}s.ThemeOffset=us;class cs{constructor(e){this.defaultStyle=null,this.separator=null,this.separatorEnabled=!1,this.splitIndexes=null,this.styles=new as,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.LabelMixedTextStyle"}destroy(){var e=this;if(e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null),e.separator=null,e.separatorEnabled=null,e.splitIndexes&&(e.splitIndexes=null),e.styles){for(var t=0,i=e.styles,s=i.length;t0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null)}toServerJSONObject(){var e={};if((e=fe.copyAttributes(e,this)).defaultStyle&&e.defaultStyle.toServerJSONObject&&(e.defaultStyle=e.defaultStyle.toServerJSONObject()),e.items){for(var t=[],i=e.items.length,s=0;s0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.rangeExpression=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}static fromObj(e){if(e){var t=new ws;fe.copy(t,e);var i=e.items,s=i?i.length:0;t.items=[];for(var r=0;r0?e[0].subLayers.layers:null)?t.length:0,this.handleLayers(i,t),this.events.triggerEvent("processCompleted",{result:e[0]})}handleLayers(e,t){var i;if(e)for(var s=0;s0)this.handleLayers(t[s].subLayers.layers.length,t[s].subLayers.layers);else switch(t[s].ugcLayerType){case"THEME":(i=new Ns).fromJson(t[s]),t[s]=i;break;case"GRID":(i=new Is).fromJson(t[s]),t[s]=i;break;case"IMAGE":(i=new Os).fromJson(t[s]),t[s]=i;break;case"VECTOR":(i=new Rs).fromJson(t[s]),t[s]=i}}}}s.GetLayersInfoService=Fs;class Ds{constructor(e){e&&(this.bounds=null,this.searchRadius=0,this.zValueFieldName=null,this.zValueScale=1,this.resolution=null,this.filterQueryParameter=null,this.outputDatasetName=null,this.outputDatasourceName=null,this.pixelFormat=J.BIT16,this.dataset=null,this.inputPoints=null,this.InterpolationAnalystType="dataset",this.clipParam=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.InterpolationAnalystParameters")}destroy(){var e=this;e.bounds=null,e.searchRadius=null,e.zValueFieldName=null,e.zValueScale=null,e.resolution=null,e.filterQueryParameter=null,e.outputDatasetName=null,e.pixelFormat=null}static toObject(e,t){for(var i in e)if("inputPoints"===i&&"geometry"===e.InterpolationAnalystType){for(var s=[],r=0;r=200&&e.code<300||0==e.code||304===e.code,i=e.code&&t;!e.code||i?this.events&&this.events.triggerEvent("processCompleted",{result:e}):this.events.triggerEvent("processFailed",{error:e})}}s.MapService=Qs;class Xs{constructor(e){e&&(this.dataset=null,this.extractRegion=null,this.expression=null,this.isZip=!1,this.ignoreNoValue=!1,this.targetDatasource=null,this.resultGridName=null,this.deleteExistResultDataset=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.MathExpressionAnalysisParameters")}destroy(){var e=this;e.dataset=null,e.bounds=null,e.expression=null,e.isZip=!0,e.ignoreNoValue=!0,e.targetDatasource=null,e.resultGridName=null,e.deleteExistResultDataset=null}static toObject(e,t){for(var i in e)if("dataset"!==i&&(t[i]=e[i]),"extractRegion"===i&&e[i]){for(var s=e[i].components[0].components,r={},n=[],a=s.length,o=0;o0&&(s+='"subLayers":'+e.toJSON()),s+=',"visible":true,',s+='"name":"'+this.getMapName(this.mapUrl)+'"',s+="}]",t.request({method:"PUT",data:s,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}}createTempLayerComplete(e){(e=fe.transformResult(e)).succeed&&(this.lastparams.resourceID=e.newResourceID),this.processAsync(this.lastparams)}getMapName(e){var t=e;"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1));var i=t.lastIndexOf("/");return t.substring(i+1,t.length)}serviceProcessCompleted(e){null!=(e=fe.transformResult(e))&&null!=this.lastparams&&(e.newResourceID=this.lastparams.resourceID),this.events.triggerEvent("processCompleted",{result:e})}}s.SetLayerStatusService=_r;class Cr{constructor(e){e&&(this.datasetName="",this.datasetQuery="",this.geometryQuery="",this.mode=h.CONTAIN,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.SingleObjectQueryJobsParameter")}destroy(){this.datasetName=null,this.datasetQuery=null,this.geometryQuery=null,this.mode=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"output"!==i?(t.analyst=t.analyst||{},t.analyst[i]=e[i]):(t.output=t.output||{},t.output=e[i]):(t.input=t.input||{},t.input[i]=e[i])}}s.SingleObjectQueryJobsParameter=Cr;class Tr extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/query",this.CLASS_NAME="SuperMap.SingleObjectQueryJobsService"}destroy(){super.destroy()}getQueryJobs(){super.getJobs(this.url)}getQueryJob(e){super.getJobs(this.url+"/"+e)}addQueryJob(e,t){super.addJob(this.url,e,Cr,t)}}s.SingleObjectQueryJobsService=Tr;class Mr{constructor(e){e=e||{},this.keyWord=null,this.returnPosition=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.StopQueryParameters"}destroy(){fe.reset(this)}}s.StopQueryParameters=Mr;class wr extends st{constructor(e,t){super(e,t),t=t||{},fe.extend(this,t),this.CLASS_NAME="SuperMap.StopQueryService"}destroy(){super.destroy(),fe.reset(this)}processAsync(e){if(e instanceof Mr){var t,i=this;t=i.url.substr(i.url.length-1,1),i.url+="/"===t?"":"/",i.url+="stops/keyword/"+e.keyWord,i.url+=".json?",i.request({method:"GET",params:{returnPosition:e.returnPosition},scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}}s.StopQueryService=wr;class Er{constructor(e){e&&(this.datasetName="",this.groupField="",this.attributeField="",this.statisticModes="",this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.SummaryAttributesJobsParameter")}destroy(){this.datasetName=null,this.groupField=null,this.attributeField=null,this.statisticModes=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"output"!==i?(t.analyst=t.analyst||{},t.analyst[i]=e[i]):(t.output=t.output||{},t.output=e[i]):(t.input=t.input||{},t.input[i]=e[i])}}s.SummaryAttributesJobsParameter=Er;class Ar extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/summaryattributes",this.CLASS_NAME="SuperMap.SummaryAttributesJobsService"}destroy(){super.destroy()}getSummaryAttributesJobs(){super.getJobs(this.url)}getSummaryAttributesJob(e){super.getJobs(this.url+"/"+e)}addSummaryAttributesJob(e,t){super.addJob(this.url,e,Er,t)}}s.SummaryAttributesJobsService=Ar;class Pr{constructor(e){e&&(this.datasetName="",this.regionDataset="",this.query="",this.resolution=100,this.meshType=0,this.statisticModes=te.AVERAGE,this.fields="",this.type=ie.SUMMARYMESH,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.SummaryMeshJobParameter")}destroy(){this.datasetName=null,this.query=null,this.resolution=null,this.statisticModes=null,this.meshType=null,this.fields=null,this.regionDataset=null,this.type=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"type"!==i?"output"!==i?("SUMMARYMESH"===e.type&&"regionDataset"!==i||"SUMMARYREGION"===e.type&&!s(["meshType","resolution","query"],i))&&(t.analyst=t.analyst||{},t.analyst[i]="query"===i?e[i].toBBOX():e[i]):(t.output=t.output||{},t.output=e[i]):t.type=e[i]:(t.input=t.input||{},t.input[i]=e[i]);function s(e,t){for(var i=e.length;i--;)if(e[i]===t)return!0;return!1}}}s.SummaryMeshJobParameter=Pr;class Lr extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/aggregatepoints",this.CLASS_NAME="SuperMap.SummaryMeshJobsService"}destroy(){super.destroy()}getSummaryMeshJobs(){super.getJobs(this.url)}getSummaryMeshJob(e){super.getJobs(this.url+"/"+e)}addSummaryMeshJob(e,t){super.addJob(this.url,e,Pr,t)}}s.SummaryMeshJobsService=Lr;class Nr{constructor(e){e&&(this.datasetName="",this.regionDataset="",this.sumShape=!0,this.query="",this.standardSummaryFields=!1,this.standardFields="",this.standardStatisticModes="",this.weightedSummaryFields=!1,this.weightedFields="",this.weightedStatisticModes="",this.meshType=0,this.resolution=100,this.meshSizeUnit=ee.METER,this.type=ie.SUMMARYMESH,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.SummaryRegionJobParameter")}destroy(){this.datasetName=null,this.sumShape=null,this.regionDataset=null,this.query=null,this.standardSummaryFields=null,this.standardFields=null,this.standardStatisticModes=null,this.weightedSummaryFields=null,this.weightedFields=null,this.weightedStatisticModes=null,this.meshType=null,this.resolution=null,this.meshSizeUnit=null,this.type=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"type"!==i&&"type"!==i?"output"!==i?("SUMMARYREGION"===e.type||"SUMMARYMESH"===e.type&&"regionDataset"!==i)&&(t.analyst=t.analyst||{},t.analyst[i]="query"===i?e[i].toBBOX():e[i]):(t.output=t.output||{},t.output=e[i]):t.type=e[i]:(t.input=t.input||{},t.input[i]=e[i])}}s.SummaryRegionJobParameter=Nr;class Ir extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/summaryregion",this.CLASS_NAME="SuperMap.SummaryRegionJobsService"}destroy(){super.destroy()}getSummaryRegionJobs(){super.getJobs(this.url)}getSummaryRegionJob(e){super.getJobs(this.url+"/"+e)}addSummaryRegionJob(e,t){super.addJob(this.url,e,Nr,t)}}s.SummaryRegionJobsService=Ir;class Or{constructor(e){this.maxWeight=null,this.nodeID=null,this.resourceValue=null,this.type=null,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.SupplyCenter"}destroy(){this.maxWeight=null,this.nodeID=null,this.resourceValue=null,this.type=null}static fromJson(e){if(e)return new Or({maxWeight:e.maxWeight,nodeID:e.nodeID,resourceValue:e.resourceValue,type:e.type})}}s.SupplyCenter=Or;class Rr extends ut{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.SurfaceAnalystService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Kt){var t,i=this;t=i.getJsonParameters(e),i.request({method:"POST",data:t,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}getJsonParameters(e){var t,i="",s={},r=this;if(e instanceof Zt)t=r.url.substr(r.url.length-1,1),r.url+="/"===t?"datasets/"+e.dataset+"/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true":"/datasets/"+e.dataset+"/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true",Zt.toObject(e,s),i=fe.toJSON(s);else{if(!(e instanceof Gi))return;t=r.url.substr(r.url.length-1,1),r.url+="/"===t?"geometry/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true":"/geometry/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true",i=fe.toJSON(e)}return i}}s.SurfaceAnalystService=Rr;class Fr{constructor(e){e&&(this.dataset=null,this.zFactor=1,this.averageCurvatureName=null,this.profileCurvatureName="",this.planCurvatureName="",this.deleteExistResultDataset=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.TerrainCurvatureCalculationParameters")}destroy(){var e=this;e.dataset=null,e.zFactor=1,e.averageCurvatureName=null,e.profileCurvatureName=null,e.planCurvatureName=null,e.deleteExistResultDataset=!0}static toObject(e,t){for(var i in e)"dataset"!==i&&(t[i]=e[i])}}s.TerrainCurvatureCalculationParameters=Fr;class Dr extends ut{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TerrainCurvatureCalculationService"}destroy(){super.destroy()}processAsync(e){var t=this;"/"!==t.url.substr(t.url.length-1,1)&&(t.url+="/");var i={};e instanceof Fr&&(t.url+="datasets/"+e.dataset+"/terraincalculation/curvature"),Fr.toObject(e,i);var r=s.Util.toJSON(i);t.url+=".json?returnContent=true",t.request({method:"POST",data:r,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}s.TerrainCurvatureCalculationService=Dr;class kr{constructor(e){this.caption=null,this.color=new xt,this.end=0,this.start=0,this.visible=!0,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGridRangeItem"}destroy(){var e=this;e.caption=null,e.end=null,e.start=null,e.color&&(e.color.destroy(),e.color=null),e.visible=null}toServerJSONObject(){var e={};return(e=fe.copyAttributes(e,this)).color&&e.color.toServerJSONObject&&(e.color=e.color.toServerJSONObject()),e}static fromObj(e){if(e){var t=new kr;return fe.copy(t,e),t.color=xt.fromJson(e.color),t}}}s.ThemeGridRangeItem=kr;class Br extends ns{constructor(e){super("GRIDRANGE",e),this.items=null,this.rangeMode=S.EQUALINTERVAL,this.rangeParameter=0,this.colorGradientType=x.YELLOW_RED,this.reverseColor=!1,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGridRange"}destroy(){super.destroy();var e=this;if(e.items){if(e.items.length>0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.reverseColor=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}static fromObj(e){if(e){var t=new Br;fe.copy(t,e);var i=e.items,s=i?i.length:0;t.items=[];for(var r=0;r0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.defaultcolor&&(e.defaultcolor.destroy(),e.defaultcolor=null)}toServerJSONObject(){var e={};if((e=fe.copyAttributes(e,this)).defaultcolor&&e.defaultcolor.toServerJSONObject&&(e.defaultcolor=e.defaultcolor.toServerJSONObject()),e.items){for(var t=[],i=e.items.length,s=0;s0&&(1===r.length?i+="'displayFilter':\""+r[0]+'",':i+="'displayFilter':\""+r[a]+'",'),(n=e.displayOrderBy)&&n.length>0&&(1===n.length?i+="'displayOrderBy':'"+n[0]+"',":i+="'displayOrderBy':'"+n[a]+"',"),(t=e.fieldValuesDisplayFilter)&&(i+="'fieldValuesDisplayFilter':"+fe.toJSON(t)+","),e.joinItems&&e.joinItems.length>0&&e.joinItems[a]&&(i+="'joinItems':["+fe.toJSON(e.joinItems[a])+"],"),e.datasetNames&&e.dataSourceNames){var l=e.datasetNames[a]?a:e.datasetNames.length-1,h=e.dataSourceNames[a]?a:e.dataSourceNames.length-1;i+="'datasetInfo': {'name': '"+e.datasetNames[l]+"','dataSourceName': '"+e.dataSourceNames[h]+"'}},"}else i+="},"}e.themes&&e.themes.length>0&&(i=i.substring(0,i.length-1)),i+="]},";var u=this.url.split("/");return i+="'name': '"+u[u.length-2]+"'}]"}}s.ThemeService=Vr;class Hr extends ut{constructor(e,t){super(e,t),this.mode=null,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.ThiessenAnalystService"}destroy(){super.destroy(),this.mode=null}processAsync(e){var t={},i=this;"/"!==i.url.substr(i.url.length-1,1)&&(i.url+="/"),e instanceof ei?(i.mode="datasets",i.url+="datasets/"+e.dataset+"/thiessenpolygon",ei.toObject(e,t)):e instanceof Ui&&(i.mode="geometry",i.url+="geometry/thiessenpolygon",Ui.toObject(e,t));var s=fe.toJSON(t);i.url+=".json?returnContent=true",i.request({method:"POST",data:s,scope:i,success:i.serviceProcessCompleted,failure:i.serviceProcessFailed})}}s.ThiessenAnalystService=Hr;class Jr extends ut{constructor(e,t){super(e,t),t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.GeometryBatchAnalystService"}processAsync(e){var t=this;"/"!==t.url.substr(t.url.length-1,1)&&(t.url+="/"),t.url+="geometry/batchanalyst.json?returnContent=true&ignoreAnalystParam=true";var i=t._processParams(e),s=fe.toJSON(i);t.request({method:"POST",data:s,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}_processParams(e){var t=this;if(fe.isArray(e)){var i=[];return e.map(function(e){return i.push(t._toJSON(e)),e}),i}}_toJSON(e){var t={};if("buffer"===e.analystName)t.analystName="buffer",t.param={},wt.toObject(e.param,t.param);else if("overlay"===e.analystName)t.analystName="overlay",t.param={},Bi.toObject(e.param,t.param);else if("interpolationDensity"===e.analystName)t.analystName="interpolationDensity",t.param={},Ds.toObject(e.param,t.param);else if("interpolationidw"===e.analystName)t.analystName="interpolationidw",t.param={},Ds.toObject(e.param,t.param);else if("interpolationRBF"===e.analystName)t.analystName="interpolationRBF",t.param={},Ds.toObject(e.param,t.param);else if("interpolationKriging"===e.analystName)t.analystName="interpolationKriging",t.param={},Ds.toObject(e.param,t.param);else{if("thiessenpolygon"!==e.analystName)return e;t.analystName="thiessenpolygon",t.param={},Ui.toObject(e.param,t.param)}return t}destroy(){super.destroy()}}s.GeometryBatchAnalystService=Jr;class qr extends st{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TilesetsService"}destroy(){super.destroy()}processAsync(){if(this.url){var e=this,t=e.url.substr(e.url.length-1,1);e.url=e.url+("/"===t?"tilesets":"/tilesets")+".json?",e.request({method:"GET",scope:e,success:e.serviceProcessCompleted,failure:e.serviceProcessFailed})}}}s.TilesetsService=qr;class Wr{constructor(e){e&&(this.datasetName="",this.datasetTopology="",this.tolerance="",this.rule=se.REGIONNOOVERLAP,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.TopologyValidatorJobsParameter")}destroy(){this.datasetName=null,this.datasetTopology=null,this.tolerance=null,this.rule=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"output"!==i?(t.analyst=t.analyst||{},t.analyst[i]=e[i]):(t.output=t.output||{},t.output=e[i]):(t.input=t.input||{},t.input[i]=e[i])}}s.TopologyValidatorJobsParameter=Wr;class Yr extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/topologyvalidator",this.CLASS_NAME="SuperMap.TopologyValidatorJobsService"}destroy(){super.destroy()}getTopologyValidatorJobs(){super.getJobs(this.url)}getTopologyValidatorJob(e){super.getJobs(this.url+"/"+e)}addTopologyValidatorJob(e,t){super.addJob(this.url,e,Wr,t)}}s.TopologyValidatorJobsService=Yr;class Qr{constructor(e){e=e||{},this.lineID=null,this.lineName=null,this.lineAliasName=null,this.startStopIndex=null,this.startStopName=null,this.startStopAliasName=null,this.endStopIndex=null,this.endStopName=null,this.endStopAliasName=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.TransferLine"}destroy(){fe.reset(this)}static fromJson(e){if(e)return new Qr({lineID:e.lineID,lineName:e.lineName,lineAliasName:e.lineAliasName,startStopIndex:e.startStopIndex,startStopName:e.startStopName,startStopAliasName:e.startStopAliasName,endStopIndex:e.endStopIndex,endStopName:e.endStopName,endStopAliasName:e.endStopAliasName})}}s.TransferLine=Qr;class Xr{constructor(e){e=e||{},this.transferLines=null,this.points=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.TransferPathParameters"}destroy(){fe.reset(this)}static toJson(e){if(e)return fe.toJSON(e)}}s.TransferPathParameters=Xr;class Kr extends st{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TransferPathService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Xr){var t,i,s=this;i=s.url.substr(s.url.length-1,1),s.url+="/"===i?"":"/",s.url+="path.json?",t={points:fe.toJSON(e.points),transferLines:fe.toJSON(e.transferLines)},s.request({method:"GET",params:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}}s.TransferPathService=Kr;class Zr{constructor(e){e=e||{},this.solutionCount=6,this.transferPreference=G.NONE,this.transferTactic=B.LESS_TIME,this.walkingRatio=null,this.points=!1,this.evadeLines=null,this.evadeStops=null,this.priorLines=null,this.priorStops=null,this.travelTime=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.TransferSolutionParameters"}destroy(){fe.reset(this)}static toJson(e){if(e)return fe.toJSON(e)}}s.TransferSolutionParameters=Zr;class $r extends st{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TransferSolutionService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Zr){var t,i,s=this;i=s.url.substr(s.url.length-1,1),s.url+="/"===i?"":"/",s.url+="solutions.json?",t={points:fe.toJSON(e.points),walkingRatio:e.walkingRatio,transferTactic:e.transferTactic,solutionCount:e.solutionCount,transferPreference:e.transferPreference},e.evadeLines&&(t.evadeLines=fe.toJSON(e.evadeLines)),e.evadeStops&&(t.evadeStops=fe.toJSON(e.evadeStops)),e.priorLines&&(t.priorLines=fe.toJSON(e.priorLines)),e.priorStops&&(t.priorStops=fe.toJSON(e.priorStops)),e.travelTime&&(t.travelTime=e.travelTime),s.request({method:"GET",params:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}}s.TransferSolutionService=$r;class en{constructor(e){e&&(this.edgeId="",this.fromNodeId="",this.toNodeId="",this.weightField="",this.edgeWeight="",fe.extend(this,e),this.CLASS_NAME="SuperMap.UpdateEdgeWeightParameters")}destroy(){this.edgeId=null,this.fromNodeId=null,this.toNodeId=null,this.weightField=null,this.edgeWeight=null}}s.UpdateEdgeWeightParameters=en;class tn extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.UpdateEdgeWeightService"}destroy(){super.destroy()}processAsync(e){if(e instanceof en){var t=this,i=t.url.substr(t.url.length-1,1),s=t.parse(e);"/"===i&&t.url.splice(t.url.length-1,1),t.url=t.url+s+".json?";var r=e.edgeWeight?e.edgeWeight:null;t.request({method:"PUT",scope:t,data:r,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}parse(e){if(e){var t="";for(var i in e)if(""!==e[i]&&"edgeWeight"!==e[i])switch(i){case"edgeId":t+="/edgeweight/"+e[i];break;case"fromNodeId":t+="/fromnode/"+e[i];break;case"toNodeId":t+="/tonode/"+e[i];break;case"weightField":t+="/weightfield/"+e[i]}return t}}}s.UpdateEdgeWeightService=tn;class sn{constructor(e){e&&(this.nodeId="",this.fromEdgeId="",this.toEdgeId="",this.weightField="",this.turnNodeWeight="",fe.extend(this,e),this.CLASS_NAME="SuperMap.UpdateTurnNodeWeightParameters")}destroy(){this.nodeId=null,this.fromEdgeId=null,this.toEdgeId=null,this.weightField=null,this.turnNodeWeight=null}}s.UpdateTurnNodeWeightParameters=sn;class rn extends Ot{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.UpdateTurnNodeWeightService"}destroy(){super.destroy()}processAsync(e){if(e instanceof sn){var t=this,i=t.url.substr(t.url.length-1,1),s=t.parse(e);"/"===i&&t.url.splice(t.url.length-1,1),t.url=t.url+s+".json?";var r=e.turnNodeWeight?e.turnNodeWeight:null;t.request({method:"PUT",scope:t,data:r,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}parse(e){if(e){var t="";for(var i in e)if(""!==e[i]&&"turnNodeWeight"!==e[i])switch(i){case"nodeId":t+="/turnnodeweight/"+e[i];break;case"fromEdgeId":t+="/fromedge/"+e[i];break;case"toEdgeId":t+="/toedge/"+e[i];break;case"weightField":t+="/weightfield/"+e[i]}return t}}}s.UpdateTurnNodeWeightService=rn;class nn{constructor(e){e=e||{},this.datasetName="",this.datasetVectorClip="",this.geometryClip="",this.mode=Z.CLIP,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.VectorClipJobsParameter"}destroy(){this.datasetName=null,this.datasetVectorClip=null,this.geometryClip=null,this.mode=null,this.output instanceof At&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var i in e)"datasetName"!==i?"output"!==i?(t.analyst=t.analyst||{},t.analyst[i]=e[i]):(t.output=t.output||{},t.output=e[i]):(t.input=t.input||{},t.input[i]=e[i])}}s.VectorClipJobsParameter=nn;class an extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/vectorclip",this.CLASS_NAME="SuperMap.VectorClipJobsService"}destroy(){super.destroy()}getVectorClipJobs(){super.getJobs(this.url)}getVectorClipJob(e){super.getJobs(this.url+"/"+e)}addVectorClipJob(e,t){super.addJob(this.url,e,nn,t)}}s.VectorClipJobsService=an;var on=s.ServiceStatus={DOES_NOT_INVOLVE:"DOES_NOT_INVOLVE",PUBLISH_FAILED:"PUBLISH_FAILED",PUBLISHED:"PUBLISHED",PUBLISHING:"PUBLISHING",UNPUBLISHED:"UNPUBLISHED",UNPUBLISHED_FAILED:"UNPUBLISHED_FAILED"},ln=s.DataItemType={AUDIO:"AUDIO",COLOR:"COLOR",COLORSCHEME:"COLORSCHEME",CSV:"CSV",EXCEL:"EXCEL",FILLSYMBOL:"FILLSYMBOL",IMAGE:"IMAGE",LAYERTEMPLATE:"LAYERTEMPLATE",LAYOUTTEMPLATE:"LAYOUTTEMPLATE",LINESYMBOL:"LINESYMBOL",MAPTEMPLATE:"MAPTEMPLATE",MARKERSYMBOL:"MARKERSYMBOL",MBTILES:"MBTILES",PHOTOS:"PHOTOS",SHP:"SHP",SMTILES:"SMTILES",SVTILES:"SVTILES",THEMETEMPLATE:"THEMETEMPLATE",TPK:"TPK",UDB:"UDB",UGCV5:"UGCV5",UNKNOWN:"UNKNOWN",VIDEO:"VIDEO",WORKENVIRONMENT:"WORKENVIRONMENT",WORKSPACE:"WORKSPACE"},hn=s.DataItemOrderBy={FILENAME:"FILENAME",ID:"ID",LASTMODIFIEDTIME:"LASTMODIFIEDTIME",NICKNAME:"NICKNAME",SERVICESTATUS:"SERVICESTATUS",SIZE:"SIZE",STATUS:"STATUS",TYPE:"TYPE",UPDATETIME:"UPDATETIME",USERNAME:"USERNAME"},un=s.FilterField={LINKPAGE:"LINKPAGE",MAPTITLE:"MAPTITLE",NICKNAME:"NICKNAME",RESTITLE:"RESTITLE",USERNAME:"USERNAME"};class cn{constructor(e){e=e||{},fe.extend(this,e),this.serverType=n.ONLINE,this.CLASS_NAME="SuperMap.OnlineServiceBase"}request(e,t,i,s){return t=this.createCredentialUrl(t),qe.commit(e,t,i,s).then(function(e){return e.json()})}createCredentialUrl(e){var t=e,i=this.getCredential();if(i){var s="key="+i,r=t.substring(t.length-1,t.length);t.indexOf("?")>-1&&"?"===r?t+=s:t.indexOf("?")>-1&&"?"!==r?t+="&"+s:t+="?"+s}return t}getCredential(){}}s.OnlineServiceBase=cn;class pn extends cn{constructor(e,t){super(e),t=t||{},this.MD5=null,this.type=null,this.userName=null,this.fileName=null,this.size=null,this.serviceStatus=null,this.serviceId=null,this.id=null,this.lastModfiedTime=null,this.status=null,this.storageId=null,this.publishInfo=null,this.authorizeSetting=null,this.nickname=null,this.tags=[],this.description=null,this.dataItemServices=null,this.coordType=null,this.dataCheckResult=null,this.dataMetaInfo=null,this.thumbnail=null,fe.extend(this,t),this.id&&(this.serviceUrl=e+"/"+this.id),this.CLASS_NAME="SuperMap.OnlineData"}load(){if(this.serviceUrl){var e=this;return e.request("GET",this.serviceUrl).then(function(t){fe.extend(e,t)})}}getPublishedServices(){return this.dataItemServices}getAuthorizeSetting(){return this.authorizeSetting}}s.OnlineData=pn;class dn{constructor(){this.rootUrl="http://www.supermapol.com",this.webUrl=this.rootUrl+"/web";var e=this.webUrl+"/mycontent";this.mDatasUrl=e+"/datas",this.CLASS_NAME="SuperMap.Online"}load(){return qe.get(this.rootUrl).then(function(e){return e})}login(){We.loginOnline(this.rootUrl,!0)}queryDatas(e){var t=this,i=t.mDatasUrl;return e&&(e=e.toJSON()),qe.get(i,e).then(function(e){if(e&&e.content&&!(e.content.length<1)){for(var i=[],s=e.content,r=s.length,n=0;nt.geoFence.radius&&(t.outOfGeoFence&&t.outOfGeoFence(e),t.events.triggerEvent("outOfGeoFence",{data:e})),i})}_distance(e,t,i,s){return Math.sqrt((e-i)*(e-i)+(t-s)*(t-s))}_getMeterPerMapUnit(e){let t;return"meter"===e?t=1:"degree"===e&&(t=2*Math.PI*6378137/360),t}}s.ElasticSearch=bn;var xn=i(37),_n=i.n(xn);class Cn{constructor(e){this.env=null,this.parser=null,this.ruleSet=null,this.cartoStr="",this.shaders=null,"string"==typeof e&&(this.cartoStr=e,this.env={frames:[],errors:[],error:function(e){this.errors.push(e)}},this.parser=this.getParser(this.env),this.parse(e),this.shaders=this.toShaders())}getParser(e){var t,i,r,n,a,o,l,h,u,c=this;function p(){n=l[r],a=i,h=i}function d(){l[r]=n,h=i=a}function f(){i>h&&(l[r]=l[r].slice(i-h),h=i)}function m(e){var s,n,a,o;if(e instanceof Function)return e.call(u.parsers);if("string"==typeof e)s=t.charAt(i)===e?e:null,n=1,f();else{if(f(),!(s=e.exec(l[r])))return null;n=s[0].length}if(s){var c=i+=n;for(o=i+l[r].length-n;i=0&&"\n"!==s.charAt(a);a--)i.column++;return new Error([i.filename,i.line,i.column,i.message].join(";"))}return this.env=e=e||{},this.env.filename=this.env.filename||null,this.env.inputs=this.env.inputs||{},u={parse:function(n){var a,u=null;if(i=r=h=o=0,l=[],t=n.replace(/\r\n/g,"\n"),e.filename&&(c.env.inputs[e.filename]=t),l=function(e){for(var i,s,r,n,a=0,o=/(?:@\{[\w-]+\}|[^"'`\{\}\/\(\)\\])+/g,l=/\/\*(?:[^*]|\*+[^\/*])*\*+\/|\/\/.*/g,h=/"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'|`((?:[^`]|\\.)*)`/g,c=0,p=e[0],d=0;d0?"missing closing `}`":"missing opening `{`"}),e.map(function(e){return e.join("")})}([[]]),u)throw y(u);var p=function(e,t){var i=e.specificity,s=t.specificity;return i[0]!=s[0]?s[0]-i[0]:i[1]!=s[1]?s[1]-i[1]:i[2]!=s[2]?s[2]-i[2]:s[3]-i[3]};return(a=new s.CartoCSS.Tree.Ruleset([],m(this.parsers.primary))).root=!0,a.toList=function(e){e.error=function(t){e.errors||(e.errors=new Error("")),e.errors.message?e.errors.message+="\n"+y(t).message:e.errors.message=y(t).message},e.frames=e.frames||[];var t=this.flatten([],[],e);return t.sort(p),t},a},parsers:{primary:function(){for(var e,t=[];(e=m(this.rule)||m(this.ruleset)||m(this.comment))||m(/^[\s\n]+/)||(e=m(this.invalid));)e&&t.push(e);return t},invalid:function(){var e=m(/^[^;\n]*[;\n]/);if(e)return new s.CartoCSS.Tree.Invalid(e,a)},comment:function(){var e;if("/"===t.charAt(i))return"/"===t.charAt(i+1)?new s.CartoCSS.Tree.Comment(m(/^\/\/.*/),!0):(e=m(/^\/\*(?:[^*]|\*+[^\/*])*\*+\/\n?/))?new s.CartoCSS.Tree.Comment(e):void 0},entities:{quoted:function(){if('"'===t.charAt(i)||"'"===t.charAt(i)){var e=m(/^"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'/);return e?new s.CartoCSS.Tree.Quoted(e[1]||e[2]):void 0}},field:function(){if(m("[")){var e=m(/(^[^\]]+)/);if(m("]"))return e?new s.CartoCSS.Tree.Field(e[1]):void 0}},comparison:function(){var e=m(/^=~|=|!=|<=|>=|<|>/);if(e)return e},keyword:function(){var e=m(/^[A-Za-z\u4e00-\u9fa5-]+[A-Za-z-0-9\u4e00-\u9fa5_]*/);if(e)return new s.CartoCSS.Tree.Keyword(e)},call:function(){var e,t;if(e=/^([\w\-]+|%)\(/.exec(l[r])){if("url"===(e=e[1]))return null;i+=e.length;if(m("("),t=m(this.entities.arguments),m(")"))return e?new s.CartoCSS.Tree.Call(e,t,i):void 0}},arguments:function(){for(var e,t=[];e=m(this.expression);){t.push(e);if(!m(","))break}return t},literal:function(){return m(this.entities.dimension)||m(this.entities.keywordcolor)||m(this.entities.hexcolor)||m(this.entities.quoted)},url:function(){var e;if("u"===t.charAt(i)&&m(/^url\(/)){e=m(this.entities.quoted)||m(this.entities.variable)||m(/^[\-\w%@$\/.&=:;#+?~]+/)||"";return m(")")?new s.CartoCSS.Tree.URL(void 0!==e.value||e instanceof s.CartoCSS.Tree.Variable?e:new s.CartoCSS.Tree.Quoted(e)):new s.CartoCSS.Tree.Invalid(e,a,"Missing closing ) in URL.")}},variable:function(){var r,n=i;if("@"===t.charAt(i)&&(r=m(/^@[\w-]+/)))return new s.CartoCSS.Tree.Variable(r,n,e.filename)},hexcolor:function(){var e;if("#"===t.charAt(i)&&(e=m(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})/)))return new s.CartoCSS.Tree.Color(e[1])},keywordcolor:function(){var e=l[r].match(/^[a-z]+/);if(e&&e[0]in s.CartoCSS.Tree.Reference.data.colors)return new s.CartoCSS.Tree.Color(s.CartoCSS.Tree.Reference.data.colors[m(/^[a-z]+/)])},dimension:function(){var e=t.charCodeAt(i);if(!(e>57||e<45||47===e)){var r=m(/^(-?\d*\.?\d+(?:[eE][-+]?\d+)?)(\%|\w+)?/);return r?new s.CartoCSS.Tree.Dimension(r[1],r[2],a):void 0}}},variable:function(){var e;if("@"===t.charAt(i)&&(e=m(/^(@[\w-]+)\s*:/)))return e[1]},entity:function(){var e=m(this.entities.call)||m(this.entities.literal),t=m(this.entities.field)||m(this.entities.variable),i=m(this.entities.url)||m(this.entities.keyword);return e||t||i},end:function(){var e;return m(";")||("string"==typeof(e="}")?t.charAt(i)===e:!!e.test(l[r]))},element:function(){var e=m(/^(?:[.#][\w\u4e00-\u9fa5\-]+|\*|Map)/);if(e)return new s.CartoCSS.Tree.Element(e)},attachment:function(){var e=m(/^::([\w\-]+(?:\/[\w\-]+)*)/);if(e)return e[1]},selector:function(){for(var e,r,n,o,l,h=[],u=new s.CartoCSS.Tree.Filterset,c=[],p=0,d=0;(n=m(this.element))||(l=m(this.zoom))||(o=m(this.filter))||(e=m(this.attachment));){if(p++,n)h.push(n);else if(l)c.push(l),d++;else if(o){var f=u.add(o);if(f)throw y({message:f,index:i-1});d++}else{if(r)throw y({message:"Encountered second attachment name.",index:i-1});r=e}var g=t.charAt(i);if("{"===g||"}"===g||";"===g||","===g)break}if(p)return new s.CartoCSS.Tree.Selector(u,c,h,r,d,a)},filter:function(){p();var t,i,r;if(m("[")&&(t=m(/^[a-zA-Z0-9\-_]+/)||m(this.entities.quoted)||m(this.entities.variable)||m(this.entities.keyword)||m(this.entities.field))&&(t instanceof s.CartoCSS.Tree.Quoted&&(t=new s.CartoCSS.Tree.Field(t.toString())),(i=m(this.entities.comparison))&&(r=m(this.entities.quoted)||m(this.entities.variable)||m(this.entities.dimension)||m(this.entities.keyword)||m(this.entities.field)))){if(!m("]"))throw y({message:"Missing closing ] of filter.",index:a-1});return t.is||(t=new s.CartoCSS.Tree.Field(t)),new s.CartoCSS.Tree.Filter(t,i,r,a,e.filename)}},zoom:function(){p();var e,t;if(m(/^\[\s*zoom/g)&&(e=m(this.entities.comparison))&&(t=m(this.entities.variable)||m(this.entities.dimension))&&m("]"))return new s.CartoCSS.Tree.Zoom(e,t,a);d()},block:function(){var e;if(m("{")&&(e=m(this.primary))&&m("}"))return e},ruleset:function(){var e,t,i=[];for(p();e=m(this.selector);){for(i.push(e);m(this.comment););if(!m(","))break;for(;m(this.comment););}if(e)for(;m(this.comment););if(i.length>0&&(t=m(this.block))){if(1===i.length&&i[0].elements.length&&"Map"===i[0].elements[0].value){var r=new s.CartoCSS.Tree.Ruleset(i,t);return r.isMap=!0,r}return new s.CartoCSS.Tree.Ruleset(i,t)}d()},rule:function(){var r,n,l=t.charAt(i);if(p(),"."!==l&&"#"!==l&&(r=m(this.variable)||m(this.property))){if((n=m(this.value))&&m(this.end))return new s.CartoCSS.Tree.Rule(r,n,a,e.filename);o=i,d()}},font:function(){for(var e,t=[],i=[];e=m(this.entity);)i.push(e);if(t.push(new s.CartoCSS.Tree.Expression(i)),m(","))for(;(e=m(this.expression))&&(t.push(e),m(",")););return new s.CartoCSS.Tree.Value(t)},value:function(){for(var e,t=[];(e=m(this.expression))&&(t.push(e),m(",")););return t.length>1?new s.CartoCSS.Tree.Value(t.map(function(e){return e.value[0]})):1===t.length?new s.CartoCSS.Tree.Value(t):void 0},sub:function(){var e;if(m("(")&&(e=m(this.expression))&&m(")"))return e},multiplication:function(){var e,t,i,r;if(e=m(this.operand)){for(;(i=m("/")||m("*")||m("%"))&&(t=m(this.operand));)r=new s.CartoCSS.Tree.Operation(i,[r||e,t],a);return r||e}},addition:function(){var e,r,n,o;if(e=m(this.multiplication)){for(;(n=m(/^[-+]\s+/)||" "!=t.charAt(i-1)&&(m("+")||m("-")))&&(r=m(this.multiplication));)o=new s.CartoCSS.Tree.Operation(n,[o||e,r],a);return o||e}},operand:function(){return m(this.sub)||m(this.entity)},expression:function(){for(var e,t=[];e=m(this.addition)||m(this.entity);)t.push(e);if(t.length>0)return new s.CartoCSS.Tree.Expression(t)},property:function(){var e=m(/^(([a-z][-a-z_0-9]*\/)?\*?-?[-a-z_0-9]+)\s*:/);if(e)return e[1]}}}}parse(e){var t=this.parser;return this.ruleSet=t.parse(e)}toShaders(){if(this.ruleSet){var e=this.ruleSet;if(e){var t=e.toList(this.env);t.reverse();var i={},s=[];this._toShaders(i,s,t);for(var r=[],n={},a=0,o=t.length;a=0){if(!t.featureFilter){var n=r+s.length,a=i.indexOf(")",n+1),o="featureId&&(featureId"+i.substring(n,a)+")";Object.defineProperty(t,"featureFilter",{configurable:!0,enumerable:!1,value:function(e){return!!o}})}return{property:d,getValue:Function("attributes","zoom","seftFilter","var _value = null; var isExcute=typeof seftFilter=='function'?sefgFilter():seftFilter;if(isExcute){"+i+";} return _value; ")}}return{property:d,getValue:Function("attributes","zoom","var _value = null;"+i+"; return _value; ")}}(u[d],c);Object.defineProperty(c,"attachment",{configurable:!0,enumerable:!1,value:h}),Object.defineProperty(c,"elements",{configurable:!0,enumerable:!1,value:l.elements}),r.push(c),n[s[a]]=!0}Object.defineProperty(c,"zoom",{configurable:!0,enumerable:!1,value:l.zoom})}return r}}return null}_toShaders(e,t,i){for(let r=0,n=i.length;r= minzoom - 1e-6 and scale < maxzoom + 1e-6"},maxzoom:{"default-value":"1.79769e+308",type:"float","default-meaning":"The layer will be visible at the maximum possible scale",doc:"The maximum scale denominator that this layer will be visible at. The default is the numeric limit of the C++ double type, which may vary slightly by system, but is likely a massive number like 1.79769e+308 and ensures that this layer will always be visible unless the value is reduced. A layer's visibility is determined by whether its status is true and if the Map scale >= minzoom - 1e-6 and scale < maxzoom + 1e-6"},queryable:{"default-value":!1,type:"boolean","default-meaning":"The layer will not be available for the direct querying of data values",doc:"This property was added for GetFeatureInfo/WMS compatibility and is rarely used. It is off by default meaning that in a WMS context the layer will not be able to be queried unless the property is explicitly set to true"},"clear-label-cache":{"default-value":!1,type:"boolean","default-meaning":"The renderer's collision detector cache (used for avoiding duplicate labels and overlapping markers) will not be cleared immediately before processing this layer",doc:"This property, by default off, can be enabled to allow a user to clear the collision detector cache before a given layer is processed. This may be desirable to ensure that a given layers data shows up on the map even if it normally would not because of collisions with previously rendered labels or markers"},"group-by":{"default-value":"",type:"string","default-meaning":"No special layer grouping will be used during rendering",doc:"https://github.com/mapnik/mapnik/wiki/Grouped-rendering"},"buffer-size":{"default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:"Extra tolerance around the Layer extent (in pixels) used to when querying and (potentially) clipping the layer data during rendering"},"maximum-extent":{"default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query this specific layer data during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Layer."}},symbolizers:{"*":{"image-filters":{css:"image-filters","default-value":"none","default-meaning":"no filters",type:"functions",functions:[["agg-stack-blur",2],["emboss",0],["blur",0],["gray",0],["sobel",0],["edge-detect",0],["x-gradient",0],["y-gradient",0],["invert",0],["sharpen",0]],doc:"A list of image filters."},"comp-op":{css:"comp-op","default-value":"src-over","default-meaning":"add the current layer on top of other layers",doc:"Composite operation. This defines how this layer should behave relative to layers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]},opacity:{css:"opacity",type:"float",doc:"An alpha value for the style (which means an alpha applied to all features in separate buffer and then composited back to main buffer)","default-value":1,"default-meaning":"no separate buffer will be used and no alpha will be applied to the style after rendering"}},map:{"background-color":{css:"background-color","default-value":"none","default-meaning":"transparent",type:"color",doc:"Map Background color"},"background-image":{css:"background-image",type:"uri","default-value":"","default-meaning":"transparent",doc:"An image that is repeated below all features on a map as a background.",description:"Map Background image"},srs:{css:"srs",type:"string","default-value":"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs","default-meaning":"The proj4 literal of EPSG:4326 is assumed to be the Map's spatial reference and all data from layers within this map will be plotted using this coordinate system. If any layers do not declare an srs value then they will be assumed to be in the same srs as the Map and not transformations will be needed to plot them in the Map's coordinate space",doc:"Map spatial reference (proj4 string)"},"buffer-size":{css:"buffer-size","default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:'Extra tolerance around the map (in pixels) used to ensure labels crossing tile boundaries are equally rendered in each tile (e.g. cut in each tile). Not intended to be used in combination with "avoid-edges".'},"maximum-extent":{css:"","default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query all layers during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Map."},base:{css:"base","default-value":"","default-meaning":"This base path defaults to an empty string meaning that any relative paths to files referenced in styles or layers will be interpreted relative to the application process.",type:"string",doc:"Any relative paths used to reference files will be understood as relative to this directory path if the map is loaded from an in memory object rather than from the filesystem. If the map is loaded from the filesystem and this option is not provided it will be set to the directory of the stylesheet."},"paths-from-xml":{css:"","default-value":!0,"default-meaning":"Paths read from XML will be interpreted from the location of the XML",type:"boolean",doc:"value to control whether paths in the XML will be interpreted from the location of the XML or from the working directory of the program that calls load_map()"},"minimum-version":{css:"","default-value":"none","default-meaning":"Mapnik version will not be detected and no error will be thrown about compatibility",type:"string",doc:"The minumum Mapnik version (e.g. 0.7.2) needed to use certain functionality in the stylesheet"},"font-directory":{css:"font-directory",type:"uri","default-value":"none","default-meaning":"No map-specific fonts will be registered",doc:"Path to a directory which holds fonts which should be registered when the Map is loaded (in addition to any fonts that may be automatically registered)."}},polygon:{fill:{css:"polygon-fill",type:"color","default-value":"rgba(128,128,128,1)","default-meaning":"gray and fully opaque (alpha = 1), same as rgb(128,128,128)",doc:"Fill color to assign to a polygon"},"fill-opacity":{css:"polygon-opacity",type:"float",doc:"The opacity of the polygon","default-value":1,"default-meaning":"opaque"},gamma:{css:"polygon-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon edges"},"gamma-method":{css:"polygon-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},clip:{css:"polygon-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},line:{stroke:{css:"line-color","default-value":"rgba(0,0,0,1)",type:"color","default-meaning":"black and fully opaque (alpha = 1), same as rgb(0,0,0)",doc:"The color of a drawn line"},"stroke-width":{css:"line-width","default-value":1,type:"float",doc:"The width of a line in pixels"},"stroke-opacity":{css:"line-opacity","default-value":1,type:"float","default-meaning":"opaque",doc:"The opacity of a line"},"stroke-linejoin":{css:"line-join","default-value":"miter",type:["miter","round","bevel"],doc:"The behavior of lines when joining"},"stroke-linecap":{css:"line-cap","default-value":"butt",type:["butt","round","square"],doc:"The display of line endings"},"stroke-gamma":{css:"line-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of stroke line"},"stroke-gamma-method":{css:"line-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},"stroke-dasharray":{css:"line-dasharray",type:"numbers",doc:"A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported for more complex patterns.","default-value":"none","default-meaning":"solid line"},"stroke-dashoffset":{css:"line-dash-offset",type:"numbers",doc:"valid parameter but not currently used in renderers (only exists for experimental svg support in Mapnik which is not yet enabled)","default-value":"none","default-meaning":"solid line"},"stroke-miterlimit":{css:"line-miterlimit",type:"float",doc:"The limit on the ratio of the miter length to the stroke-width. Used to automatically convert miter joins to bevel joins for sharp angles to avoid the miter extending beyond the thickness of the stroking path. Normally will not need to be set, but a larger value can sometimes help avoid jaggy artifacts.","default-value":4,"default-meaning":"Will auto-convert miters to bevel line joins when theta is less than 29 degrees as per the SVG spec: 'miterLength / stroke-width = 1 / sin ( theta / 2 )'"},clip:{css:"line-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},offset:{css:"line-offset",type:"float","default-value":0,"default-meaning":"no offset",doc:"Offsets a line a number of pixels parallel to its actual path. Postive values move the line left, negative values move it right (relative to the directionality of the line)."},rasterizer:{css:"line-rasterizer",type:["full","fast"],"default-value":"full",doc:"Exposes an alternate AGG rendering method that sacrifices some accuracy for speed."},"geometry-transform":{css:"line-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},markers:{file:{css:"marker-file",doc:"An SVG file that this marker shows at each placement. If no file is given, the marker will show an ellipse.","default-value":"","default-meaning":"An ellipse or circle, if width equals height",type:"uri"},opacity:{css:"marker-opacity",doc:"The overall opacity of the marker, if set, overrides both the opacity of both the fill and stroke","default-value":1,"default-meaning":"The stroke-opacity and fill-opacity will be used",type:"float"},"fill-opacity":{css:"marker-fill-opacity",doc:"The fill opacity of the marker","default-value":1,"default-meaning":"opaque",type:"float"},stroke:{css:"marker-line-color",doc:"The color of the stroke around a marker shape.","default-value":"black",type:"color"},"stroke-width":{css:"marker-line-width",doc:"The width of the stroke around a marker shape, in pixels. This is positioned on the boundary, so high values can cover the area itself.",type:"float"},"stroke-opacity":{css:"marker-line-opacity","default-value":1,"default-meaning":"opaque",doc:"The opacity of a line",type:"float"},placement:{css:"marker-placement",type:["point","line","interior"],"default-value":"point","default-meaning":"Place markers at the center point (centroid) of the geometry",doc:"Attempt to place markers on a point, in the center of a polygon, or if markers-placement:line, then multiple times along a line. 'interior' placement can be used to ensure that points placed on polygons are forced to be inside the polygon interior"},"multi-policy":{css:"marker-multi-policy",type:["each","whole","largest"],"default-value":"each","default-meaning":"If a feature contains multiple geometries and the placement type is either point or interior then a marker will be rendered for each",doc:"A special setting to allow the user to control rendering behavior for 'multi-geometries' (when a feature contains multiple geometries). This setting does not apply to markers placed along lines. The 'each' policy is default and means all geometries will get a marker. The 'whole' policy means that the aggregate centroid between all geometries will be used. The 'largest' policy means that only the largest (by bounding box areas) feature will get a rendered marker (this is how text labeling behaves by default)."},"marker-type":{css:"marker-type",type:["arrow","ellipse"],"default-value":"ellipse",doc:"The default marker-type. If a SVG file is not given as the marker-file parameter, the renderer provides either an arrow or an ellipse (a circle if height is equal to width)"},width:{css:"marker-width","default-value":10,doc:"The width of the marker, if using one of the default types.",type:"expression"},height:{css:"marker-height","default-value":10,doc:"The height of the marker, if using one of the default types.",type:"expression"},fill:{css:"marker-fill","default-value":"blue",doc:"The color of the area of the marker.",type:"color"},"allow-overlap":{css:"marker-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping markers are shown or hidden.","default-meaning":"Do not allow makers to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"marker-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},spacing:{css:"marker-spacing",doc:"Space between repeated labels","default-value":100,type:"float"},"max-error":{css:"marker-max-error",type:"float","default-value":.2,doc:"The maximum difference between actual marker placement and the marker-spacing parameter. Setting a high value can allow the renderer to try to resolve placement conflicts with other symbolizers."},transform:{css:"marker-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},clip:{css:"marker-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"marker-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"marker-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"marker-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},shield:{name:{css:"shield-name",type:"expression",serialization:"content",doc:'Value to use for a shield"s text label. Data columns are specified using brackets like [column_name]'},file:{css:"shield-file",required:!0,type:"uri","default-value":"none",doc:"Image file to render behind the shield text"},"face-name":{css:"shield-face-name",type:"string",validate:"font",doc:"Font name and style to use for the shield text","default-value":"",required:!0},"unlock-image":{css:"shield-unlock-image",type:"boolean",doc:"This parameter should be set to true if you are trying to position text beside rather than on top of the shield image","default-value":!1,"default-meaning":"text alignment relative to the shield image uses the center of the image as the anchor for text positioning."},size:{css:"shield-size",type:"float",doc:"The size of the shield text in pixels"},fill:{css:"shield-fill",type:"color",doc:"The color of the shield text"},placement:{css:"shield-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"How this shield should be placed. Point placement attempts to place it on top of points, line places along lines multiple times per feature, vertex places on the vertexes of polygons, and interior attempts to place inside of polygons."},"avoid-edges":{css:"shield-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.",type:"boolean","default-value":!1},"allow-overlap":{css:"shield-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping shields are shown or hidden.","default-meaning":"Do not allow shields to overlap with other map elements already placed."},"minimum-distance":{css:"shield-min-distance",type:"float","default-value":0,doc:"Minimum distance to the next shield symbol, not necessarily the same shield."},spacing:{css:"shield-spacing",type:"float","default-value":0,doc:"The spacing between repeated occurrences of the same shield on a line"},"minimum-padding":{css:"shield-min-padding","default-value":0,doc:"Determines the minimum amount of padding that a shield gets relative to other shields",type:"float"},"wrap-width":{css:"shield-wrap-width",type:"unsigned","default-value":0,doc:"Length of a chunk of text in characters before wrapping text"},"wrap-before":{css:"shield-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"shield-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long names."},"halo-fill":{css:"shield-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"shield-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},"character-spacing":{css:"shield-character-spacing",type:"unsigned","default-value":0,doc:"Horizontal spacing between characters (in pixels). Currently works for point placement only, not line placement."},"line-spacing":{css:"shield-line-spacing",doc:"Vertical spacing between lines of multiline labels (in pixels)",type:"unsigned"},dx:{css:"shield-text-dx",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"shield-text-dy",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"shield-dx":{css:"shield-dx",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},"shield-dy":{css:"shield-dy",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},opacity:{css:"shield-opacity",type:"float",doc:"(Default 1.0) - opacity of the image used for the shield","default-value":1},"text-opacity":{css:"shield-text-opacity",type:"float",doc:"(Default 1.0) - opacity of the text placed on top of the shield","default-value":1},"horizontal-alignment":{css:"shield-horizontal-alignment",type:["left","middle","right","auto"],doc:"The shield's horizontal alignment from its centerpoint","default-value":"auto"},"vertical-alignment":{css:"shield-vertical-alignment",type:["top","middle","bottom","auto"],doc:"The shield's vertical alignment from its centerpoint","default-value":"middle"},"text-transform":{css:"shield-text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"justify-alignment":{css:"shield-justify-alignment",type:["left","center","right","auto"],doc:"Define how text in a shield's label is justified","default-value":"auto"},clip:{css:"shield-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"shield-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"line-pattern":{file:{css:"line-pattern-file",type:"uri","default-value":"none",required:!0,doc:"An image file to be repeated and warped along a line"},clip:{css:"line-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"line-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"polygon-pattern":{file:{css:"polygon-pattern-file",type:"uri","default-value":"none",required:!0,doc:"Image to use as a repeated pattern fill within a polygon"},alignment:{css:"polygon-pattern-alignment",type:["local","global"],"default-value":"local",doc:"Specify whether to align pattern fills to the layer or to the map."},gamma:{css:"polygon-pattern-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon pattern edges"},opacity:{css:"polygon-pattern-opacity",type:"float",doc:"(Default 1.0) - Apply an opacity level to the image used for the pattern","default-value":1,"default-meaning":"The image is rendered without modifications"},clip:{css:"polygon-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},raster:{opacity:{css:"raster-opacity","default-value":1,"default-meaning":"opaque",type:"float",doc:"The opacity of the raster symbolizer on top of other symbolizers."},"filter-factor":{css:"raster-filter-factor","default-value":-1,"default-meaning":"Allow the datasource to choose appropriate downscaling.",type:"float",doc:"This is used by the Raster or Gdal datasources to pre-downscale images using overviews. Higher numbers can sometimes cause much better scaled image output, at the cost of speed."},scaling:{css:"raster-scaling",type:["near","fast","bilinear","bilinear8","bicubic","spline16","spline36","hanning","hamming","hermite","kaiser","quadric","catrom","gaussian","bessel","mitchell","sinc","lanczos","blackman"],"default-value":"near",doc:"The scaling algorithm used to making different resolution versions of this raster layer. Bilinear is a good compromise between speed and accuracy, while lanczos gives the highest quality."},"mesh-size":{css:"raster-mesh-size","default-value":16,"default-meaning":"Reprojection mesh will be 1/16 of the resolution of the source image",type:"unsigned",doc:"A reduced resolution mesh is used for raster reprojection, and the total image size is divided by the mesh-size to determine the quality of that mesh. Values for mesh-size larger than the default will result in faster reprojection but might lead to distortion."},"comp-op":{css:"raster-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},point:{file:{css:"point-file",type:"uri",required:!1,"default-value":"none",doc:"Image file to represent a point"},"allow-overlap":{css:"point-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping points are shown or hidden.","default-meaning":"Do not allow points to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"point-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},opacity:{css:"point-opacity",type:"float","default-value":1,"default-meaning":"Fully opaque",doc:"A value from 0 to 1 to control the opacity of the point"},placement:{css:"point-placement",type:["centroid","interior"],doc:"How this point should be placed. Centroid calculates the geometric center of a polygon, which can be outside of it, while interior always places inside of a polygon.","default-value":"centroid"},transform:{css:"point-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},"comp-op":{css:"point-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},text:{name:{css:"text-name",type:"expression",required:!0,"default-value":"",serialization:"content",doc:"Value to use for a text label. Data columns are specified using brackets like [column_name]"},"face-name":{css:"text-face-name",type:"string",validate:"font",doc:"Font name and style to render a label in",required:!0},size:{css:"text-size",type:"float","default-value":10,doc:"Text size in pixels"},"text-ratio":{css:"text-ratio",doc:"Define the amount of text (of the total) present on successive lines when wrapping occurs","default-value":0,type:"unsigned"},"wrap-width":{css:"text-wrap-width",doc:"Length of a chunk of text in characters before wrapping text","default-value":0,type:"unsigned"},"wrap-before":{css:"text-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"text-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long text."},spacing:{css:"text-spacing",type:"unsigned",doc:"Distance between repeated text labels on a line (aka. label-spacing)"},"character-spacing":{css:"text-character-spacing",type:"float","default-value":0,doc:"Horizontal spacing adjustment between characters in pixels"},"line-spacing":{css:"text-line-spacing","default-value":0,type:"unsigned",doc:"Vertical spacing adjustment between lines in pixels"},"label-position-tolerance":{css:"text-label-position-tolerance","default-value":0,type:"unsigned",doc:"Allows the label to be displaced from its ideal position by a number of pixels (only works with placement:line)"},"max-char-angle-delta":{css:"text-max-char-angle-delta",type:"float","default-value":"22.5",doc:"The maximum angle change, in degrees, allowed between adjacent characters in a label. This value internally is converted to radians to the default is 22.5*math.pi/180.0. The higher the value the fewer labels will be placed around around sharp corners."},fill:{css:"text-fill",doc:"Specifies the color for the text","default-value":"#000000",type:"color"},opacity:{css:"text-opacity",doc:"A number from 0 to 1 specifying the opacity for the text","default-value":1,"default-meaning":"Fully opaque",type:"float"},"halo-fill":{css:"text-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"text-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},dx:{css:"text-dx",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"text-dy",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"vertical-alignment":{css:"text-vertical-alignment",type:["top","middle","bottom","auto"],doc:"Position of label relative to point position.","default-value":"auto","default-meaning":'Default affected by value of dy; "bottom" for dy>0, "top" for dy<0.'},"avoid-edges":{css:"text-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.","default-value":!1,type:"boolean"},"minimum-distance":{css:"text-min-distance",doc:"Minimum permitted distance to the next text symbolizer.",type:"float"},"minimum-padding":{css:"text-min-padding",doc:"Determines the minimum amount of padding that a text symbolizer gets relative to other text",type:"float"},"minimum-path-length":{css:"text-min-path-length",type:"float","default-value":0,"default-meaning":"place labels on all paths",doc:"Place labels only on paths longer than this value."},"allow-overlap":{css:"text-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping text is shown or hidden.","default-meaning":"Do not allow text to overlap with other text - overlapping markers will not be shown."},orientation:{css:"text-orientation",type:"expression",doc:"Rotate the text."},placement:{css:"text-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"Control the style of placement of a point versus the geometry it is attached to."},"placement-type":{css:"text-placement-type",doc:'Re-position and/or re-size text to avoid overlaps. "simple" for basic algorithm (using text-placements string,) "dummy" to turn this feature off.',type:["dummy","simple"],"default-value":"dummy"},placements:{css:"text-placements",type:"string","default-value":"",doc:'If "placement-type" is set to "simple", use this "POSITIONS,[SIZES]" string. An example is `text-placements: "E,NE,SE,W,NW,SW";` '},"text-transform":{css:"text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"horizontal-alignment":{css:"text-horizontal-alignment",type:["left","middle","right","auto"],doc:"The text's horizontal alignment from its centerpoint","default-value":"auto"},"justify-alignment":{css:"text-align",type:["left","right","center","auto"],doc:"Define how text is justified","default-value":"auto","default-meaning":"Auto alignment means that text will be centered by default except when using the `placement-type` parameter - in that case either right or left justification will be used automatically depending on where the text could be fit given the `text-placements` directives"},clip:{css:"text-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"text-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},building:{fill:{css:"building-fill","default-value":"#FFFFFF",doc:"The color of the buildings walls.",type:"color"},"fill-opacity":{css:"building-fill-opacity",type:"float",doc:"The opacity of the building as a whole, including all walls.","default-value":1},height:{css:"building-height",doc:"The height of the building in pixels.",type:"expression","default-value":"0"}}},colors:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50],transparent:[0,0,0,0]},filter:{value:["true","false","null","point","linestring","polygon","collection"]}},Cn.mapnik_reference={version:{latest:s._mapnik_reference_latest,"2.1.1":s._mapnik_reference_latest}},s.CartoCSS=Cn,s.CartoCSS.Tree={},s.CartoCSS.Tree.operate=function(e,t,i){switch(e){case"+":return t+i;case"-":return t-i;case"*":return t*i;case"%":return t%i;case"/":return t/i}},s.CartoCSS.Tree.functions={rgb:function(e,t,i){return this.rgba(e,t,i,1)},rgba:function(e,t,i,r){var n=this,a=[e,t,i].map(function(e){return n.number(e)});return r=n.number(r),a.some(isNaN)||isNaN(r)?null:new s.CartoCSS.Tree.Color(a,r)},stop:function(e){var t,i;return arguments.length>1&&(t=arguments[1]),arguments.length>2&&(i=arguments[2]),{is:"tag",val:e,color:t,mode:i,toString:s=>'\n\t"}},hsl:function(e,t,i){return this.hsla(e,t,i,1)},hsla:function(e,t,i,s){if([e=this.number(e)%360/360,t=this.number(t),i=this.number(i),s=this.number(s)].some(isNaN))return null;var r=i<=.5?i*(t+1):i+t-i*t,n=2*i-r;return this.rgba(255*a(e+1/3),255*a(e),255*a(e-1/3),s);function a(e){return 6*(e=e<0?e+1:e>1?e-1:e)<1?n+(r-n)*e*6:2*e<1?r:3*e<2?n+(r-n)*(2/3-e)*6:n}},hue:function(e){return"toHSL"in e?new s.CartoCSS.Tree.Dimension(Math.round(e.toHSL().h)):null},saturation:function(e){return"toHSL"in e?new s.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().s),"%"):null},lightness:function(e){return"toHSL"in e?new s.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().l),"%"):null},alpha:function(e){return"toHSL"in e?new s.CartoCSS.Tree.Dimension(e.toHSL().a):null},saturate:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL();return i.s+=t.value/100,i.s=this.clamp(i.s),this.hsla_simple(i)},desaturate:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL();return i.s-=t.value/100,i.s=this.clamp(i.s),this.hsla_simple(i)},lighten:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL();return i.l+=t.value/100,i.l=this.clamp(i.l),this.hsla_simple(i)},darken:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL();return i.l-=t.value/100,i.l=this.clamp(i.l),this.hsla_simple(i)},fadein:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL();return i.a+=t.value/100,i.a=this.clamp(i.a),this.hsla_simple(i)},fadeout:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL();return i.a-=t.value/100,i.a=this.clamp(i.a),this.hsla_simple(i)},spin:function(e,t){if(!("toHSL"in e))return null;var i=e.toHSL(),s=(i.h+t.value)%360;return i.h=s<0?360+s:s,this.hsla_simple(i)},replace:function(e,t,i){return"field"===e.is?e.toString+".replace("+t.toString()+", "+i.toString()+")":e.replace(t,i)},mix:function(e,t,i){var r=i.value/100,n=2*r-1,a=e.toHSL().a-t.toHSL().a,o=((n*a==-1?n:(n+a)/(1+n*a))+1)/2,l=1-o,h=[e.rgb[0]*o+t.rgb[0]*l,e.rgb[1]*o+t.rgb[1]*l,e.rgb[2]*o+t.rgb[2]*l],u=e.alpha*r+t.alpha*(1-r);return new s.CartoCSS.Tree.Color(h,u)},greyscale:function(e){return this.desaturate(e,new s.CartoCSS.Tree.Dimension(100))},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),i=e.value,r=0;r.5?h/(2-a-o):h/(a+o),a){case i:e=(s-r)/h+(s=0){if(!e.ppi)return e.error({message:"ppi is not set, so metric units can't be used",index:this.index}),{is:"undefined",value:"undefined"};this.value=this.value/this.densities[this.unit]*e.ppi,this.unit="px"}return this}toColor(){return new s.CartoCSS.Tree.Color([this.value,this.value,this.value])}round(){return this.value=Math.round(this.value),this}toString(){return this.value.toString()}operate(e,t,i){return"%"===this.unit&&"%"!==i.unit?(e.error({message:"If two operands differ, the first must not be %",index:this.index}),{is:"undefined",value:"undefined"}):"%"!==this.unit&&"%"===i.unit?"*"===t||"/"===t||"%"===t?(e.error({message:"Percent values can only be added or subtracted from other values",index:this.index}),{is:"undefined",value:"undefined"}):new s.CartoCSS.Tree.Dimension(s.CartoCSS.Tree.operate(t,this.value,this.value*i.value*.01),this.unit):new s.CartoCSS.Tree.Dimension(s.CartoCSS.Tree.operate(t,this.value,i.value),this.unit||i.unit)}},s.CartoCSS.Tree.Element=class{constructor(e){this.value=e.trim(),"#"===this.value[0]&&(this.type="id",this.clean=this.value.replace(/^#/,"")),"."===this.value[0]&&(this.type="class",this.clean=this.value.replace(/^\./,"")),-1!==this.value.indexOf("*")&&(this.type="wildcard")}specificity(){return["id"===this.type?1:0,"class"===this.type?1:0]}toString(){return this.value}},s.CartoCSS.Tree.Expression=class{constructor(e){this.is="expression",this.value=e}ev(e){return this.value.length>1?new s.CartoCSS.Tree.Expression(this.value.map(function(t){return t.ev(e)})):this.value[0].ev(e)}toString(e){return this.value.map(function(t){return t.toString(e)}).join(" ")}},s.CartoCSS.Tree.Field=class{constructor(e){this.is="field",this.value=e||""}toString(){return'["'+this.value.toUpperCase()+'"]'}ev(){return this}},s.CartoCSS.Tree.Filter=class{constructor(e,t,i,s,r){this.ops={"<":[" < ","numeric"],">":[" > ","numeric"],"=":[" = ","both"],"!=":[" != ","both"],"<=":[" <= ","numeric"],">=":[" >= ","numeric"],"=~":[".match(","string",")"]},this.key=e,this.op=t,this.val=i,this.index=s,this.filename=r,this.id=this.key+this.op+this.val}ev(e){return this.key=this.key.ev(e),this.val=this.val.ev(e),this}toString(){return"["+this.id+"]"}},s.CartoCSS.Tree.Filterset=class{constructor(){this.filters={}}toJS(e){function t(e){var t=e.op;"="===t&&(t="==");var i=e.val;void 0!==e._val&&(i=e._val.toString(!0)),e.key&&"scale"===e.key.value?i=+i:"string"!=typeof i&&"object"!=typeof i||(i="'"+i+"'");var s="attributes";return s+"&&"+s+e.key+"&&"+s+e.key+" "+t+i}var i=[];for(var s in this.filters)i.push(t(this.filters[s]));return i.join(" && ")}toString(){var e=[];for(var t in this.filters)e.push(this.filters[t].id);return e.sort().join("\t")}ev(e){for(var t in this.filters)this.filters[t].ev(e);return this}clone(){var e=new s.CartoCSS.Tree.Filterset;for(var t in this.filters)e.filters[t]=this.filters[t];return e}cloneWith(e){var t=[];for(var i in e.filters){var r=this.addable(e.filters[i]);if(!1===r)return!1;!0===r&&t.push(e.filters[i])}if(!t.length)return null;var n=new s.CartoCSS.Tree.Filterset;for(i in this.filters)n.filters[i]=this.filters[i];for(;i=t.shift();)n.add(i);return n}addable(e){var t=e.key.toString(),i=e.val.toString();switch(i.match(/^[0-9]+(\.[0-9]*)?$/)&&(i=parseFloat(i)),e.op){case"=":return void 0!==this.filters[t+"="]?this.filters[t+"="].val.toString()==i&&null:void 0===this.filters[t+"!="+i]&&(!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=i)&&(!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=i)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>i)&&!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val"]&&this.filters[t+">"].val>=i?null:void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=i?null:void 0!==this.filters[t+">="]&&this.filters[t+">="].val>i?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val":return t+"="in this.filters?!(this.filters[t+"="].val<=i)&&null:!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=i)&&(!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=i)&&(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=i?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>i)||null));case">=":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val"]&&this.filters[t+">"].val>=i?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=i)||null));case"<":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val>=i)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=i)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=i)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=i?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].vali)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=i)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>i)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=i?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=i)||null))}}conflict(e){var t=e.key.toString(),i=e.val.toString();return isNaN(parseFloat(i))||(i=parseFloat(i)),("="===e.op&&void 0!==this.filters[t+"="]&&i!=this.filters[t+"="].val.toString()||"!="===e.op&&void 0!==this.filters[t+"="]&&i==this.filters[t+"="].val.toString()||"="===e.op&&void 0!==this.filters[t+"!="]&&i===this.filters[t+"!="].val.toString())&&e.toString()+" added to "+this.toString()+" produces an invalid filter"}add(e,t){var i,s=e.key.toString(),r=e.op,n=this.conflict(e);if(n)return n;if("="===r){for(var a in this.filters)this.filters[a].key===s&&delete this.filters[a];this.filters[s+"="]=e}else if("!="===r)this.filters[s+"!="+e.val]=e;else if("=~"===r)this.filters[s+"=~"+e.val]=e;else if(">"===r){for(var o in this.filters)this.filters[o].key===s&&this.filters[o].val<=e.val&&delete this.filters[o];this.filters[s+">"]=e}else if(">="===r){for(var l in this.filters)i=+this.filters[l].val.toString(),this.filters[l].key===s&&i",this.filters[s+">"]=e):this.filters[s+">="]=e}else if("<"===r){for(var h in this.filters)i=+this.filters[h].val.toString(),this.filters[h].key===s&&i>=e.val&&delete this.filters[h];this.filters[s+"<"]=e}else if("<="===r){for(var u in this.filters)i=+this.filters[u].val.toString(),this.filters[u].key===s&&i>e.val&&delete this.filters[u];void 0!==this.filters[s+"!="+e.val]?(delete this.filters[s+"!="+e.val],e.op="<",this.filters[s+"<"]=e):this.filters[s+"<="]=e}}},s.CartoCSS.Tree.Fontset=class{constructor(e,t){this.fonts=t,this.name="fontset-"+e.effects.length}},s.CartoCSS.Tree.Invalid=class{constructor(e,t,i){this.is="invalid",this.chunk=e,this.index=t,this.type="syntax",this.message=i||"Invalid code: "+this.chunk}ev(e){return e.error({chunk:this.chunk,index:this.index,type:"syntax",message:this.message||"Invalid code: "+this.chunk}),{is:"undefined"}}},s.CartoCSS.Tree.Keyword=class{ev(){return this}constructor(e){this.value=e;var t={transparent:"color",true:"boolean",false:"boolean"};this.is=t[e]?t[e]:"keyword"}toString(){return this.value}},s.CartoCSS.Tree.Literal=class{constructor(e){this.value=e||"",this.is="field"}toString(){return this.value}ev(){return this}},s.CartoCSS.Tree.Operation=class{constructor(e,t,i){this.is="operation",this.op=e.trim(),this.operands=t,this.index=i}ev(e){var t,i=this.operands[0].ev(e),r=this.operands[1].ev(e);return"undefined"===i.is||"undefined"===r.is?{is:"undefined",value:"undefined"}:(i instanceof s.CartoCSS.Tree.Dimension&&r instanceof s.CartoCSS.Tree.Color&&("*"===this.op||"+"===this.op?(t=r,r=i,i=t):e.error({name:"OperationError",message:"Can't substract or divide a color from a number",index:this.index})),i instanceof s.CartoCSS.Tree.Quoted&&r instanceof s.CartoCSS.Tree.Quoted&&"+"!==this.op?(e.error({message:"Can't subtract, divide, or multiply strings.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):i instanceof s.CartoCSS.Tree.Field||r instanceof s.CartoCSS.Tree.Field||i instanceof s.CartoCSS.Tree.Literal||r instanceof s.CartoCSS.Tree.Literal?"color"===i.is||"color"===r.is?(e.error({message:"Can't subtract, divide, or multiply colors in expressions.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):new s.CartoCSS.Tree.Literal(i.ev(e).toString(!0)+this.op+r.ev(e).toString(!0)):void 0===i.operate?(e.error({message:"Cannot do math with type "+i.is+".",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):i.operate(e,this.op,r))}},s.CartoCSS.Tree.Quoted=class{constructor(e){this.is="string",this.value=e||""}toString(e){var t=this.value.replace(/&/g,"&"),i=t.replace(/\'/g,"\\'").replace(/\"/g,""").replace(//g,">");return!0===e?"'"+i+"'":t}ev(){return this}operate(e,t,i){return new s.CartoCSS.Tree.Quoted(s.CartoCSS.Tree.operate(t,this.toString(),i.toString(this.contains_field)))}},s.CartoCSS.Tree.Reference={_validateValue:{font:function(e,t){return!e.validation_data||!e.validation_data.fonts||-1!=e.validation_data.fonts.indexOf(t)}},setData:function(e){this.data=e,this.selector_cache=function(e){var t={};for(var i in e.symbolizers)for(var s in e.symbolizers[i])e.symbolizers[i][s].hasOwnProperty("css")&&(t[e.symbolizers[i][s].css]=[e.symbolizers[i][s],i,s]);return t}(e),this.mapnikFunctions=function(e){var t={};for(var i in e.symbolizers)for(var s in e.symbolizers[i])if("functions"===e.symbolizers[i][s].type)for(var r=0;r1?Array.prototype.push.apply(i,r.find(new s.CartoCSS.Tree.Selector(null,null,e.elements.slice(1)),t)):i.push(r);break}}),this._lookups[r]=i)}evZooms(e){for(var t=0;ts.CartoCSS.Tree.Zoom.maxZoom||t<0)&&e.error({message:"Only zoom levels between 0 and "+s.CartoCSS.Tree.Zoom.maxZoom+" supported.",index:this.index}),this.op){case"=":return this.zoom="zoom && zoom === "+t,this;case">":this.zoom="zoom && zoom > "+t;break;case">=":this.zoom="zoom && zoom >= "+t;break;case"<":this.zoom="zoom && zoom < "+t;break;case"<=":this.zoom="zoom && zoom <= "+t;break;default:return this}return this}toString(){for(var e="",t=0;t<=s.CartoCSS.Tree.Zoom.maxZoom;t++)e+=this.zoom&1<3&&(t=Array.prototype.slice.call(t,1));for(var s=this._handlers[e],r=s.length,n=0;n4&&(t=Array.prototype.slice.call(t,1,t.length-1));for(var s=t[t.length-1],r=this._handlers[e],n=r.length,a=0;an&&(n=e+o+100,s.width=n,i=!0),t+l>a&&(a=t+l+100,s.height=a,i=!0),e<-o&&(n+=o=100*Math.ceil(-e/100),s.width=n,i=!0),t<-l&&(a+=l=100*Math.ceil(-t/100),s.height=a,i=!0),i&&r.translate(o,l)}getPixelOffset(){return{x:this._offsetX,y:this._offsetY}}indexOf(e,t){if(e.indexOf)return e.indexOf(t);for(var i=0,s=e.length;i-this.EPSILON&&ethis.EPSILON||e<-this.EPSILON}cubicAt(e,t,i,s,r){var n=1-r;return n*n*(n*e+3*r*t)+r*r*(r*s+3*n*i)}cubicDerivativeAt(e,t,i,s,r){var n=1-r;return 3*(((t-e)*n+2*(i-t)*r)*n+(s-i)*r*r)}cubicRootAt(e,t,i,s,r,n){var a=s+3*(t-i)-e,o=3*(i-2*t+e),l=3*(t-e),h=e-r,u=o*o-3*a*l,c=o*l-9*a*h,p=l*l-3*o*h,d=0;if(this.isAroundZero(u)&&this.isAroundZero(c))if(this.isAroundZero(o))n[0]=0;else{let e=-l/o;e>=0&&e<=1&&(n[d++]=e)}else{var f=c*c-4*u*p;if(this.isAroundZero(f)){var m=c/u;let e=-o/a+m,t=-m/2;e>=0&&e<=1&&(n[d++]=e),t>=0&&t<=1&&(n[d++]=t)}else if(f>0){let e=Math.sqrt(f),t=u*o+1.5*a*(-c+e),i=u*o+1.5*a*(-c-e),s=(-o-((t=t<0?-Math.pow(-t,this.ONE_THIRD):Math.pow(t,this.ONE_THIRD))+(i=i<0?-Math.pow(-i,this.ONE_THIRD):Math.pow(i,this.ONE_THIRD))))/(3*a);s>=0&&s<=1&&(n[d++]=s)}else{var y=(2*u*o-3*a*c)/(2*Math.sqrt(u*u*u)),g=Math.acos(y)/3,v=Math.sqrt(u),S=Math.cos(g);let e=(-o-2*v*S)/(3*a),t=(-o+v*(S+this.THREE_SQRT*Math.sin(g)))/(3*a),i=(-o+v*(S-this.THREE_SQRT*Math.sin(g)))/(3*a);e>=0&&e<=1&&(n[d++]=e),t>=0&&t<=1&&(n[d++]=t),i>=0&&i<=1&&(n[d++]=i)}}return d}cubicExtrema(e,t,i,s,r){var n=6*i-12*t+6*e,a=9*t+3*s-3*e-9*i,o=3*t-3*e,l=0;if(this.isAroundZero(a)){if(this.isNotAroundZero(n)){let e=-o/n;e>=0&&e<=1&&(r[l++]=e)}}else{var h=n*n-4*a*o;if(this.isAroundZero(h))r[0]=-n/(2*a);else if(h>0){let e=Math.sqrt(h),t=(-n+e)/(2*a),i=(-n-e)/(2*a);t>=0&&t<=1&&(r[l++]=t),i>=0&&i<=1&&(r[l++]=i)}}return l}cubicSubdivide(e,t,i,s,r,n){var a=(t-e)*r+e,o=(i-t)*r+t,l=(s-i)*r+i,h=(o-a)*r+a,u=(l-o)*r+o,c=(u-h)*r+h;n[0]=e,n[1]=a,n[2]=h,n[3]=c,n[4]=c,n[5]=u,n[6]=l,n[7]=s}cubicProjectPoint(e,t,i,s,r,n,a,o,l,h,u){var c,p=this.vector.create(),d=this.vector.create(),f=this.vector.create(),m=.005,y=1/0;p[0]=l,p[1]=h;for(let l=0;l<1;l+=.05){d[0]=this.cubicAt(e,i,r,a,l),d[1]=this.cubicAt(t,s,n,o,l);let h=this.vector.distSquare(p,d);h=0&&u=0&&h<=1&&(r[l++]=h)}}else{var u=a*a-4*n*o;if(this.isAroundZero(u)){let e=-a/(2*n);e>=0&&e<=1&&(r[l++]=e)}else if(u>0){let e=Math.sqrt(u),t=(-a+e)/(2*n),i=(-a-e)/(2*n);t>=0&&t<=1&&(r[l++]=t),i>=0&&i<=1&&(r[l++]=i)}}return l}quadraticExtremum(e,t,i){var s=e+i-2*t;return 0===s?.5:(e-t)/s}quadraticProjectPoint(e,t,i,s,r,n,a,o,l){var h,u=this.vector.create(),c=this.vector.create(),p=this.vector.create(),d=.005,f=1/0;u[0]=a,u[1]=o;for(let a=0;a<1;a+=.05){c[0]=this.quadraticAt(e,i,r,a),c[1]=this.quadraticAt(t,s,n,a);let o=this.vector.distSquare(u,c);o=0&&l1)for(var r=0,n=s-1;r1?Math.ceil(e):e}),t.indexOf("hex")>-1)return"#"+((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1);if(t.indexOf("hs")>-1){var i=this.map(e.slice(1,3),function(e){return e+"%"});e[1]=i[0],e[2]=i[1]}return t.indexOf("a")>-1?(3===e.length&&e.push(1),e[3]=this.adjust(e[3],[0,1]),t+"("+e.slice(0,4).join(",")+")"):t+"("+e.slice(0,3).join(",")+")"}}toArray(e){(e=this.trim(e)).indexOf("rgba")<0&&(e=this.toRGBA(e));var t=[],i=0;return e.replace(/[\d.]+/g,function(e){i<3?e|=0:e=+e,t[i++]=e}),t}convert(e,t){if(!this.isCalculableColor(e))return e;var i=this.getData(e),s=i[3];return void 0===s&&(s=1),e.indexOf("hsb")>-1?i=this._HSV_2_RGB(i):e.indexOf("hsl")>-1&&(i=this._HSL_2_RGB(i)),t.indexOf("hsb")>-1||t.indexOf("hsv")>-1?i=this._RGB_2_HSB(i):t.indexOf("hsl")>-1&&(i=this._RGB_2_HSL(i)),i[3]=s,this.toColor(i,t)}toRGBA(e){return this.convert(e,"rgba")}toRGB(e){return this.convert(e,"rgb")}toHex(e){return this.convert(e,"hex")}toHSVA(e){return this.convert(e,"hsva")}toHSV(e){return this.convert(e,"hsv")}toHSBA(e){return this.convert(e,"hsba")}toHSB(e){return this.convert(e,"hsb")}toHSLA(e){return this.convert(e,"hsla")}toHSL(e){return this.convert(e,"hsl")}toName(e){for(var t in this._nameColors)if(this.toHex(this._nameColors[t])===this.toHex(e))return t;return null}trim(e){return String(e).replace(/\s+/g,"")}normalize(e){if(this._nameColors[e]&&(e=this._nameColors[e]),e=(e=this.trim(e)).replace(/hsv/i,"hsb"),/^#[\da-f]{3}$/i.test(e)){var t=(3840&(e=parseInt(e.slice(1),16)))<<8,i=(240&e)<<4,s=15&e;e="#"+((1<<24)+(t<<4)+t+(i<<4)+i+(s<<4)+s).toString(16).slice(1)}return e}lift(e,t){if(!this.isCalculableColor(e))return e;var i=t>0?1:-1;void 0===t&&(t=0),t=Math.abs(t)>1?1:Math.abs(t),e=this.toRGB(e);for(var s=this.getData(e),r=0;r<3;r++)s[r]=1===i?s[r]*(1-t)|0:(255-s[r])*t+s[r]|0;return"rgb("+s.join(",")+")"}reverse(e){if(!this.isCalculableColor(e))return e;var t=this.getData(this.toRGBA(e));return t=this.map(t,function(e){return 255-e}),this.toColor(t,"rgb")}mix(e,t,i){if(!this.isCalculableColor(e)||!this.isCalculableColor(t))return e;void 0===i&&(i=.5);for(var s=2*(i=1-this.adjust(i,[0,1]))-1,r=this.getData(this.toRGBA(e)),n=this.getData(this.toRGBA(t)),a=r[3]-n[3],o=((s*a==-1?s:(s+a)/(1+s*a))+1)/2,l=1-o,h=[],u=0;u<3;u++)h[u]=r[u]*o+n[u]*l;var c=r[3]*i+n[3]*(1-i);return c=Math.max(0,Math.min(1,c)),1===r[3]&&1===n[3]?this.toColor(h,"rgb"):(h[3]=c,this.toColor(h,"rgba"))}random(){return"#"+Math.random().toString(16).slice(2,8)}getData(e){var t,i,s=(e=this.normalize(e)).match(this.colorRegExp);if(null===s)throw new Error("The color format error");var r,n=[];if(s[2])r=[(t=s[2].replace("#","").split(""))[0]+t[1],t[2]+t[3],t[4]+t[5]],n=this.map(r,function(e){return Bn.prototype.adjust.call(this,parseInt(e,16),[0,255])});else if(s[4]){var a=s[4].split(",");i=a[3],r=a.slice(0,3),n=this.map(r,function(e){return e=Math.floor(e.indexOf("%")>0?2.55*parseInt(e,0):e),Bn.prototype.adjust.call(this,e,[0,255])}),void 0!==i&&n.push(this.adjust(parseFloat(i),[0,1]))}else if(s[5]||s[6]){var o=(s[5]||s[6]).split(","),l=parseInt(o[0],0)/360,h=o[1],u=o[2];i=o[3],(n=this.map([h,u],function(e){return Bn.prototype.adjust.call(this,parseFloat(e)/100,[0,1])})).unshift(l),void 0!==i&&n.push(this.adjust(parseFloat(i),[0,1]))}return n}alpha(e,t){if(!this.isCalculableColor(e))return e;null===t&&(t=1);var i=this.getData(this.toRGBA(e));return i[3]=this.adjust(Number(t).toFixed(4),[0,1]),this.toColor(i,"rgba")}map(e,t){if("function"!=typeof t)throw new TypeError;for(var i=e?e.length:0,s=0;s=t[1]&&(e=t[1]),e}isCalculableColor(e){return e instanceof Array||"string"==typeof e}_HSV_2_RGB(e){var t,i,s,r=e[0],n=e[1],a=e[2];if(0===n)t=255*a,i=255*a,s=255*a;else{var o=6*r;6===o&&(o=0);var l=0|o,h=a*(1-n),u=a*(1-n*(o-l)),c=a*(1-n*(1-(o-l))),p=0,d=0,f=0;0===l?(p=a,d=c,f=h):1===l?(p=u,d=a,f=h):2===l?(p=h,d=a,f=c):3===l?(p=h,d=u,f=a):4===l?(p=c,d=h,f=a):(p=a,d=h,f=u),t=255*p,i=255*d,s=255*f}return[t,i,s]}_HSL_2_RGB(e){var t,i,s,r=e[0],n=e[1],a=e[2];if(0===n)t=255*a,i=255*a,s=255*a;else{var o,l=2*a-(o=a<.5?a*(1+n):a+n-n*a);t=255*this._HUE_2_RGB(l,o,r+1/3),i=255*this._HUE_2_RGB(l,o,r),s=255*this._HUE_2_RGB(l,o,r-1/3)}return[t,i,s]}_HUE_2_RGB(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),6*i<1?e+6*(t-e)*i:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}_RGB_2_HSB(e){var t,i,s=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(s,r,n),o=Math.max(s,r,n),l=o-a,h=o;if(0===l)t=0,i=0;else{i=l/o;var u=((o-s)/6+l/2)/l,c=((o-r)/6+l/2)/l,p=((o-n)/6+l/2)/l;s===o?t=p-c:r===o?t=1/3+u-p:n===o&&(t=2/3+c-u),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,i*=100,h*=100]}_RGB_2_HSL(e){var t,i,s=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(s,r,n),o=Math.max(s,r,n),l=o-a,h=(o+a)/2;if(0===l)t=0,i=0;else{i=h<.5?l/(o+a):l/(2-o-a);var u=((o-s)/6+l/2)/l,c=((o-r)/6+l/2)/l,p=((o-n)/6+l/2)/l;s===o?t=p-c:r===o?t=1/3+u-p:n===o&&(t=2/3+c-u),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,i*=100,h*=100]}}class Gn{}Gn.EVENT={RESIZE:"resize",CLICK:"click",DBLCLICK:"dblclick",MOUSEWHEEL:"mousewheel",MOUSEMOVE:"mousemove",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",GLOBALOUT:"globalout",DRAGSTART:"dragstart",DRAGEND:"dragend",DRAGENTER:"dragenter",DRAGOVER:"dragover",DRAGLEAVE:"dragleave",DROP:"drop",touchClickDelay:300},Gn.catchBrushException=!1,Gn.debugMode=0;class Un{static SUtil_smoothBezier(e,t,i,s,r){r&&2===r||(r=[0,0]);var n,a,o=r,l=[],h=[],u=[],c=[],p=!!s;if(p){n=[1/0,1/0],a=[-1/0,-1/0];let t=e.length;for(let i=0;in-2?n-1:p+1][0]+r[0],e[p>n-2?n-1:p+1][1]+r[1]],u=[e[p>n-3?n-1:p+2][0]+r[0],e[p>n-3?n-1:p+2][1]+r[1]]);let m=d*d,y=d*m;a.push([h(s[0],f[0],o[0],u[0],d,m,y),h(s[1],f[1],o[1],u[1],d,m,y)])}return a;function h(e,t,i,s,r,n,a){var o=.5*(i-e),l=.5*(s-t);return(2*(t-i)+o+l)*a+(-3*(t-i)-2*o-l)*n+o*r+t}}static SUtil_dashedLineTo(e,t,i,s,r,n,a){var o=[5,5];if(n="number"!=typeof n?5:n,e.setLineDash)return o[0]=n,o[1]=n,a&&a instanceof Array?e.setLineDash(a):e.setLineDash(o),e.moveTo(t,i),void e.lineTo(s,r);var l=s-t,h=r-i,u=Math.floor(Math.sqrt(l*l+h*h)/n);l/=u,h/=u;for(var c=!0,p=0;p0){for(var r=this.isInsidePolygon(t.pointList,u,c),n=e.holePolygonPointLists,a=!1,o=0,l=n.length;ot+o&&a>s+o||ae+o&&n>i+o||nt+c&&u>s+c&&u>n+c&&u>o+c||ue+c&&h>i+c&&h>r+c&&h>a+c||ht+h&&l>s+h&&l>n+h||le+h&&o>i+h&&o>r+h||oi||c+u=h)return!0;if(n){var p=s;s=this.normalizeRadian(r),r=this.normalizeRadian(p)}else s=this.normalizeRadian(s),r=this.normalizeRadian(r);s>r&&(r+=h);var d=Math.atan2(l,o);return d<0&&(d+=h),d>=s&&d<=r||d+h>=s&&d+h<=r}isInsideBrokenLine(e,t,i,s){for(var r=Math.max(t,10),n=0,a=e.length-1;ni*i}isInsideRect(e,t,i,s,r,n){return r>=e&&r<=e+i&&n>=t&&n<=t+s}isInsideCircle(e,t,i,s,r){return(s-e)*(s-e)+(r-t)*(r-t)t&&n>s||nr?st&&h>s&&h>n&&h>o||h1&&this.swapExtrema(),f=u.cubicAt(t,s,n,o,p[0]),g>1&&(m=u.cubicAt(t,s,n,o,p[1]))),2==g?St&&o>s&&o>n||o=0&&c<=1){var p=0,d=l.quadraticAt(t,s,n,c);for(let s=0;sa||(h[s]a?0:ni||o<-i)return 0;let u=Math.sqrt(i*i-o*o);if(l[0]=-u,l[1]=u,Math.abs(s-r)>=h){s=0,r=h;var c=n?1:-1;return a>=l[0]+e&&a<=l[1]+e?c:0}if(n){let e=s;s=this.normalizeRadian(r),r=this.normalizeRadian(e)}else s=this.normalizeRadian(s),r=this.normalizeRadian(r);s>r&&(r+=h);var p=0;for(let t=0;t<2;t++){var d=l[t];if(d+e>a){let e=Math.atan2(o,d),t=n?1:-1;e<0&&(e=h+e),(e>=s&&e<=r||e+h>=s&&e+h<=r)&&(e>Math.PI/2&&e<1.5*Math.PI&&(t=-t),p+=t)}}return p}isInsidePath(e,t,i,s,r){for(var n=0,a=0,o=0,l=0,h=0,u=!0,c=!0,p="stroke"===(i=i||"fill")||"both"===i,d="fill"===i||"both"===i,f=0;f0&&(d&&(n+=this.windingLine(a,o,l,h,s,r)),0!==n))return!0;l=y[y.length-2],h=y[y.length-1],u=!1,c&&"A"!==m.command&&(c=!1,a=l,o=h)}switch(m.command){case"M":a=y[0],o=y[1];break;case"L":if(p&&this.isInsideLine(a,o,y[0],y[1],t,s,r))return!0;d&&(n+=this.windingLine(a,o,y[0],y[1],s,r)),a=y[0],o=y[1];break;case"C":if(p&&this.isInsideCubicStroke(a,o,y[0],y[1],y[2],y[3],y[4],y[5],t,s,r))return!0;d&&(n+=this.windingCubic(a,o,y[0],y[1],y[2],y[3],y[4],y[5],s,r)),a=y[4],o=y[5];break;case"Q":if(p&&this.isInsideQuadraticStroke(a,o,y[0],y[1],y[2],y[3],t,s,r))return!0;d&&(n+=this.windingQuadratic(a,o,y[0],y[1],y[2],y[3],s,r)),a=y[2],o=y[3];break;case"A":var g=y[0],v=y[1],S=y[2],b=y[3],x=y[4],_=y[5],C=Math.cos(x)*S+g,T=Math.sin(x)*b+v;c?(c=!1,l=C,h=T):n+=this.windingLine(a,o,C,T);var M=(s-g)*b/S+g;if(p&&this.isInsideArcStroke(g,v,b,x,x+_,1-y[7],t,M,r))return!0;d&&(n+=this.windingArc(g,v,b,x,x+_,1-y[7],M,r)),a=Math.cos(x+_)*S+g,o=Math.sin(x+_)*b+v;break;case"z":if(p&&this.isInsideLine(a,o,l,h,t,s,r))return!0;u=!0}}return d&&(n+=this.windingLine(a,o,l,h,s,r)),0!==n}getTextWidth(e,t){var i=e+":"+t;if(this._textWidthCache[i])return this._textWidthCache[i];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t);for(var s=0,r=0,n=(e=(e+"").split("\n")).length;rthis.TEXT_CACHE_MAX&&(this._textWidthCacheCounter=0,this._textWidthCache={}),s}getTextHeight(e,t){var i=e+":"+t;if(this._textHeightCache[i])return this._textHeightCache[i];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t),e=(e+"").split("\n");var s=(this._ctx.measureText("ZH").width+2)*e.length;return this._ctx.restore(),this._textHeightCache[i]=s,++this._textHeightCacheCounter>this.TEXT_CACHE_MAX&&(this._textHeightCacheCounter=0,this._textHeightCache={}),s}},Un.Util_color=new Bn,Un.Util_computeBoundingBox=new class{constructor(){3===arguments.length&&this.computeBoundingBox(arguments),this.CLASS_NAME="SuperMap.LevelRenderer.Tool.ComputeBoundingBox"}computeBoundingBox(e,t,i){if(0!==e.length){for(var s=e[0][0],r=e[0][0],n=e[0][1],a=e[0][1],o=1;or&&(r=l[0]),l[1]a&&(a=l[1])}t[0]=s,t[1]=n,i[0]=r,i[1]=a}}cubeBezier(e,t,i,s,r,n){var a=new kn,o=[];a.cubicExtrema(e[0],t[0],i[0],s[0],o);for(let r=0;rr&&!n?r+=2*Math.PI:ss&&(c[0]=Math.cos(d)*i+e,c[1]=Math.sin(d)*i+t,l.min(a,c,a),l.max(o,c,o))}},Un.Util_curve=new kn,Un.Util_env=new class{constructor(){this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Env";var e,t,i,s,r,n,a,o,l,h,u,c,p,d,f,m,y,g,v,S,b,x=this;return e=navigator.userAgent,t=x.os={},i=x.browser={},s=e.match(/Web[kK]it[\/]{0,1}([\d.]+)/),r=e.match(/(Android);?[\s\/]+([\d.]+)?/),n=e.match(/(iPad).*OS\s([\d_]+)/),a=e.match(/(iPod)(.*OS\s([\d_]+))?/),o=!n&&e.match(/(iPhone\sOS)\s([\d_]+)/),l=e.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),h=l&&e.match(/TouchPad/),u=e.match(/Kindle\/([\d.]+)/),c=e.match(/Silk\/([\d._]+)/),p=e.match(/(BlackBerry).*Version\/([\d.]+)/),d=e.match(/(BB10).*Version\/([\d.]+)/),f=e.match(/(RIM\sTablet\sOS)\s([\d.]+)/),m=e.match(/PlayBook/),y=e.match(/Chrome\/([\d.]+)/)||e.match(/CriOS\/([\d.]+)/),g=e.match(/Firefox\/([\d.]+)/),v=e.match(/MSIE ([\d.]+)/),S=s&&e.match(/Mobile\//)&&!y,b=e.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/)&&!y,(i.webkit=!!s)&&(i.version=s[1]),r&&(t.android=!0,t.version=r[2]),o&&!a&&(t.ios=t.iphone=!0,t.version=o[2].replace(/_/g,".")),n&&(t.ios=t.ipad=!0,t.version=n[2].replace(/_/g,".")),a&&(t.ios=t.ipod=!0,t.version=a[3]?a[3].replace(/_/g,"."):null),l&&(t.webos=!0,t.version=l[2]),h&&(t.touchpad=!0),p&&(t.blackberry=!0,t.version=p[2]),d&&(t.bb10=!0,t.version=d[2]),f&&(t.rimtabletos=!0,t.version=f[2]),m&&(i.playbook=!0),u&&(t.kindle=!0,t.version=u[1]),c&&(i.silk=!0,i.version=c[1]),!c&&t.android&&e.match(/Kindle Fire/)&&(i.silk=!0),y&&(i.chrome=!0,i.version=y[1]),g&&(i.firefox=!0,i.version=g[1]),v&&(i.ie=!0,i.version=v[1]),S&&(e.match(/Safari/)||t.ios)&&(i.safari=!0),b&&(i.webview=!0),v&&(i.ie=!0,i.version=v[1]),t.tablet=!!(n||m||r&&!e.match(/Mobile/)||g&&e.match(/Tablet/)||v&&!e.match(/Phone/)&&e.match(/Touch/)),t.phone=!(t.tablet||t.ipod||!(r||o||l||p||d||y&&e.match(/Android/)||y&&e.match(/CriOS\/([\d.]+)/)||g&&e.match(/Mobile/)||v&&e.match(/Touch/))),{browser:i,os:t,canvasSupported:!!document.createElement("canvas").getContext}}destory(){return!0}},Un.Util_event=new class{constructor(){this.stop="function"==typeof window.addEventListener?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0},this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Event"}getX(e){return void 0!==e.zrenderX&&e.zrenderX||void 0!==e.offsetX&&e.offsetX||void 0!==e.layerX&&e.layerX||void 0!==e.clientX&&e.clientX}getY(e){return void 0!==e.zrenderY&&e.zrenderY||void 0!==e.offsetY&&e.offsetY||void 0!==e.layerY&&e.layerY||void 0!==e.clientY&&e.clientY}getDelta(e){return void 0!==e.zrenderDelta&&e.zrenderDelta||void 0!==e.wheelDelta&&e.wheelDelta||void 0!==e.detail&&-e.detail}},Un.Util_http=new class{constructor(){this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Http"}get(e,t,i){if("object"==typeof e){var s=e;e=s.url,t=s.onsuccess,i=s.onerror}var r=window.XMLHttpRequest?new XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");r.open("GET",e,!0),r.onreadystatechange=function(){4==r.readyState&&(r.status>=200&&r.status<300||304===r.status?t&&t(r.responseText):i&&i(),r.onreadystatechange=new Function,r=null)},r.send(null)}},Un.Util_log=new class{constructor(){return this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Log",function(){if(0!==Gn.debugMode)if(1==Gn.debugMode)for(let e in arguments)throw new Error(arguments[e]);else if(Gn.debugMode>1)for(let e in arguments)console.log(arguments[e])}}destory(){return!0}},Un.Util_math=new class{constructor(){this._radians=window.Math.PI/180,this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Math"}sin(e,t){return window.Math.sin(t?e*this._radians:e)}cos(e,t){return window.Math.cos(t?e*this._radians:e)}degreeToRadian(e){return e*this._radians}radianToDegree(e){return e/this._radians}},Un.Util_matrix=new class{constructor(){this.ArrayCtor="undefined"==typeof Float32Array?Array:Float32Array,this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Matrix"}create(){var e=new(0,this.ArrayCtor)(6);return this.identity(e),e}identity(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}copy(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}mul(e,t,i){return e[0]=t[0]*i[0]+t[2]*i[1],e[1]=t[1]*i[0]+t[3]*i[1],e[2]=t[0]*i[2]+t[2]*i[3],e[3]=t[1]*i[2]+t[3]*i[3],e[4]=t[0]*i[4]+t[2]*i[5]+t[4],e[5]=t[1]*i[4]+t[3]*i[5]+t[5],e}translate(e,t,i){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+i[0],e[5]=t[5]+i[1],e}rotate(e,t,i){var s=t[0],r=t[2],n=t[4],a=t[1],o=t[3],l=t[5],h=Math.sin(i),u=Math.cos(i);return e[0]=s*u+a*h,e[1]=-s*h+a*u,e[2]=r*u+o*h,e[3]=-r*h+u*o,e[4]=u*n+h*l,e[5]=u*l-h*n,e}scale(e,t,i){var s=i[0],r=i[1];return e[0]=t[0]*s,e[1]=t[1]*r,e[2]=t[2]*s,e[3]=t[3]*r,e[4]=t[4]*s,e[5]=t[5]*r,e}invert(e,t){var i=t[0],s=t[2],r=t[4],n=t[1],a=t[3],o=t[5],l=i*a-n*s;return l?(l=1/l,e[0]=a*l,e[1]=-n*l,e[2]=-s*l,e[3]=i*l,e[4]=(s*o-a*r)*l,e[5]=(n*r-i*o)*l,e):null}mulVector(e,t,i){var s=t[0],r=t[2],n=t[4],a=t[1],o=t[3],l=t[5];return e[0]=i[0]*s+i[1]*r+n,e[1]=i[0]*a+i[1]*o+l,e}},Un.Util=new Fn,Un.Util_vector=new Dn;class jn{constructor(){var e;this.position=[0,0],this.rotation=[0,0,0],this.scale=[1,1,0,0],this.needLocalTransform=!1,this.needTransform=!1,this.CLASS_NAME="SuperMap.LevelRenderer.Transformable",this.lookAt=(e=Un.Util_vector.create(),function(t){this.transform||(this.transform=Un.Util_matrix.create());var i=this.transform;function s(e){return e>-5e-5&&e<5e-5}Un.Util_vector.sub(e,t,this.position),s(e[0])&&s(e[1])||(Un.Util_vector.normalize(e,e),i[2]=e[0]*this.scale[1],i[3]=e[1]*this.scale[1],i[0]=e[1]*this.scale[0],i[1]=-e[0]*this.scale[0],i[4]=this.position[0],i[5]=this.position[1],this.decomposeTransform())})}destroy(){this.position=null,this.rotation=null,this.scale=null,this.needLocalTransform=null,this.needTransform=null}updateNeedTransform(){function e(e){return e>5e-5||e<-5e-5}this.needLocalTransform=e(this.rotation[0])||e(this.position[0])||e(this.position[1])||e(this.scale[0]-1)||e(this.scale[1]-1)}updateTransform(){if(this.updateNeedTransform(),this.parent?this.needTransform=this.needLocalTransform||this.parent.needTransform:this.needTransform=this.needLocalTransform,this.needTransform){var e=[0,0],t=this.transform||Un.Util_matrix.create();if(Un.Util_matrix.identity(t),this.needLocalTransform){if(i(this.scale[0])||i(this.scale[1])){e[0]=-this.scale[2]||0,e[1]=-this.scale[3]||0;let s=i(e[0])||i(e[1]);s&&Un.Util_matrix.translate(t,t,e),Un.Util_matrix.scale(t,t,this.scale),s&&(e[0]=-e[0],e[1]=-e[1],Un.Util_matrix.translate(t,t,e))}if(this.rotation instanceof Array){if(0!==this.rotation[0]){e[0]=-this.rotation[1]||0,e[1]=-this.rotation[2]||0;let s=i(e[0])||i(e[1]);s&&Un.Util_matrix.translate(t,t,e),Un.Util_matrix.rotate(t,t,this.rotation[0]),s&&(e[0]=-e[0],e[1]=-e[1],Un.Util_matrix.translate(t,t,e))}}else 0!==this.rotation&&Un.Util_matrix.rotate(t,t,this.rotation);(i(this.position[0])||i(this.position[1]))&&Un.Util_matrix.translate(t,t,this.position)}this.transform=t,this.parent&&this.parent.needTransform&&(this.needLocalTransform?Un.Util_matrix.mul(this.transform,this.parent.transform,this.transform):Un.Util_matrix.copy(this.transform,this.parent.transform))}function i(e){return e>5e-5||e<-5e-5}}setTransform(e){if(this.needTransform){var t=this.transform;e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}}decomposeTransform(){if(this.transform){var e=this.transform,t=e[0]*e[0]+e[1]*e[1],i=this.position,s=this.scale,r=this.rotation;a(t-1)&&(t=Math.sqrt(t));var n=e[2]*e[2]+e[3]*e[3];a(n-1)&&(n=Math.sqrt(n)),i[0]=e[4],i[1]=e[5],s[0]=t,s[1]=n,s[2]=s[3]=0,r[0]=Math.atan2(-e[1]/n,e[0]/t),r[1]=r[2]=0}function a(e){return e>5e-5||e<-5e-5}}}class zn extends(s.mixin(Rn,jn)){constructor(e){var t;super(e),e=e||{},this.id=null,this.style={},this.highlightStyle=null,this.parent=null,this.__dirty=!0,this.__clipShapes=[],this.invisible=!1,this.ignore=!1,this.zlevel=0,this.draggable=!1,this.clickable=!1,this.hoverable=!0,this.z=0,this.refOriginalPosition=[0,0],this.refDataID=null,this.isHoverByRefDataID=!1,this.refDataHoverGroup=null,this.dataInfo=null,fe.extend(this,e),this.id=this.id||fe.createUniqueID("smShape_"),this.CLASS_NAME="SuperMap.LevelRenderer.Shape",this.getTansform=(t=[],function(e,i){var s=[e,i];return this.needTransform&&this.transform&&(Un.Util_matrix.invert(t,this.transform),Un.Util_matrix.mulVector(s,t,[e,i,1]),e==s[0]&&i==s[1]&&this.updateNeedTransform()),s})}destroy(){this.id=null,this.style=null,this.highlightStyle=null,this.parent=null,this.__dirty=null,this.__clipShapes=null,this.invisible=null,this.ignore=null,this.zlevel=null,this.draggable=null,this.clickable=null,this.hoverable=null,this.z=null,this.refOriginalPosition=null,this.refDataID=null,this.refDataHoverGroup=null,this.isHoverByRefDataID=null,this.dataInfo=null,super.destroy()}brush(e,t){var i=this.beforeBrush(e,t);switch(e.beginPath(),this.buildPath(e,i),i.brushType){case"both":this.setCtxGlobalAlpha(e,"fill",i),e.fill(),i.lineWidth>0&&(this.setCtxGlobalAlpha(e,"stroke",i),e.stroke()),this.setCtxGlobalAlpha(e,"reset",i);break;case"stroke":this.setCtxGlobalAlpha(e,"stroke",i),i.lineWidth>0&&e.stroke(),this.setCtxGlobalAlpha(e,"reset",i);break;default:this.setCtxGlobalAlpha(e,"fill",i),e.fill(),this.setCtxGlobalAlpha(e,"reset",i)}this.drawText(e,i,this.style),this.afterBrush(e)}beforeBrush(e,t){var i=this.style;return this.brushTypeOnly&&(i.brushType=this.brushTypeOnly),t&&(i=this.getHighlightStyle(i,this.highlightStyle||{},this.brushTypeOnly)),"stroke"==this.brushTypeOnly&&(i.strokeColor=i.strokeColor||i.color),e.save(),this.doClip(e),this.setContext(e,i),this.setTransform(e),i}afterBrush(e){e.restore()}setContext(e,t){for(var i=[["color","fillStyle"],["strokeColor","strokeStyle"],["opacity","globalAlpha"],["lineCap","lineCap"],["lineJoin","lineJoin"],["miterLimit","miterLimit"],["lineWidth","lineWidth"],["shadowBlur","shadowBlur"],["shadowColor","shadowColor"],["shadowOffsetX","shadowOffsetX"],["shadowOffsetY","shadowOffsetY"]],s=0,r=i.length;s=s.x&&e<=s.x+s.width&&t>=s.y&&t<=s.y+s.height&&Un.Util_area.isInside(this,this.style,e,t)}drawText(e,t,i){if(void 0!==t.text&&!1!==t.text){var s=t.textColor||t.color||t.strokeColor;e.fillStyle=s;var r,n,a,o,l=10,h=t.textPosition||this.textPosition||"top",u=[];switch(u=this.refOriginalPosition&&2===this.refOriginalPosition.length?this.refOriginalPosition:[0,0],h){case"inside":case"top":case"bottom":case"left":case"right":if(this.getRect){var c=(i||t).__rect||this.getRect(i||t);switch(h){case"inside":a=c.x+c.width/2,o=c.y+c.height/2,r="center",n="middle","stroke"!=t.brushType&&s==t.color&&(e.fillStyle="#fff");break;case"left":a=c.x-l,o=c.y+c.height/2,r="end",n="middle";break;case"right":a=c.x+c.width+l,o=c.y+c.height/2,r="start",n="middle";break;case"top":a=c.x+c.width/2,o=c.y-l,r="center",n="bottom";break;case"bottom":a=c.x+c.width/2,o=c.y+c.height+l,r="center",n="top"}}break;case"start":case"end":var p=0,d=0,f=0,m=0;if(void 0!==t.pointList){var y=t.pointList;if(y.length<2)return;var g=y.length;switch(h){case"start":p=y[0][0]+u[0],d=y[1][0]+u[0],f=y[0][1]+u[1],m=y[1][1]+u[1];break;case"end":p=y[g-2][0]+u[0],d=y[g-1][0]+u[0],f=y[g-2][1]+u[1],m=y[g-1][1]+u[1]}}else p=t.xStart+u[0]||0,d=t.xEnd+u[0]||0,f=t.yStart+u[1]||0,m=t.yEnd+u[1]||0;switch(h){case"start":r=ps&&(s=l[0]),l[1]r&&(r=l[1]))}return e.__rect={x:t,y:i,width:s-t,height:r-i},e.__rect}getRectNoRotation(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,i=this.refOriginalPosition,s=Un.Util_area.getTextHeight("ZH",e.textFont),r=Un.Util_area.getTextWidth(e.text,e.textFont),n=Un.Util_area.getTextHeight(e.text,e.textFont),a=e.x+i[0];"end"==e.textAlign||"right"==e.textAlign?a-=r:"center"==e.textAlign&&(a-=r/2),t="top"==e.textBaseline?e.y+i[1]:"bottom"==e.textBaseline?e.y+i[1]-n:e.y+i[1]-n/2;var o,l=!1;if(e.maxWidth){var h=parseInt(e.maxWidth);h-1&&(r+=o&&!0===l?s/3*(r/o):s/3));return{x:a,y:t,width:r,height:n}}getTextBackground(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.refOriginalPosition;if((!t||!1===t)&&e.__textBackground)return e.__textBackground;var s=this.getRectNoRotation(e),r=e.x+i[0],n=e.y+i[1],a=[];if(e.textRotation&&0!==e.textRotation){let t=e.textRotation,i=this.getRotatedLocation(s.x,s.y,r,n,t),o=this.getRotatedLocation(s.x+s.width,s.y,r,n,t),l=this.getRotatedLocation(s.x+s.width,s.y+s.height,r,n,t),h=this.getRotatedLocation(s.x,s.y+s.height,r,n,t);a.push(i),a.push(o),a.push(l),a.push(h)}else{let e=[s.x,s.y],t=[s.x+s.width,s.y],i=[s.x+s.width,s.y+s.height],r=[s.x,s.y+s.height];a.push(e),a.push(t),a.push(i),a.push(r)}return e.__textBackground=a,e.__textBackground}getRotatedLocation(e,t,i,s,r){var n,a,o=new Array;return t=-t,s=-s,r=-r,n=(e-i)*Math.cos(r/180*Math.PI)-(t-s)*Math.sin(r/180*Math.PI)+i,a=(e-i)*Math.sin(r/180*Math.PI)+(t-s)*Math.cos(r/180*Math.PI)+s,o[0]=n,o[1]=-a,o}}class Jn extends zn{constructor(e){super(e),this.type="smiccircle",this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicCircle"}destroy(){this.type=null,super.destroy()}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.refOriginalPosition,s=t.x+i[0],r=t.y+i[1];return e.moveTo(s+t.r,r),e.arc(s,r,t.r,0,2*Math.PI,!0),!0}getRect(e){if(e.__rect)return e.__rect;this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,i=this.refOriginalPosition,s=e.x+i[0],r=e.y+i[1],n=e.r;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(s-n-t/2),y:Math.round(r-n-t/2),width:2*n+t,height:2*n+t},e.__rect}}class qn extends zn{constructor(e){super(e),this.type="smicpolygon",this.holePolygonPointLists=null,this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicPolygon"}destroy(){this.type=null,this.holePolygonPointLists=null,super.destroy()}brush(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.style;t&&(i=this.getHighlightStyle(i,this.highlightStyle||{})),e.save(),this.setContext(e,i),this.setTransform(e);var s=!1;"fill"!=i.brushType&&"both"!=i.brushType&&void 0!==i.brushType||(e.beginPath(),"dashed"==i.lineType||"dotted"==i.lineType||"dot"==i.lineType||"dash"==i.lineType||"dashdot"==i.lineType||"longdash"==i.lineType||"longdashdot"==i.lineType?this.buildPath(e,{lineType:"solid",lineWidth:i.lineWidth,pointList:i.pointList}):(this.buildPath(e,i),s=!0),e.closePath(),this.setCtxGlobalAlpha(e,"fill",i),e.fill(),this.setCtxGlobalAlpha(e,"reset",i)),i.lineWidth>0&&("stroke"==i.brushType||"both"==i.brushType)&&(s||(e.beginPath(),this.buildPath(e,i)),this.setCtxGlobalAlpha(e,"stroke",i),e.stroke(),this.setCtxGlobalAlpha(e,"reset",i)),this.drawText(e,i,this.style);var r=fe.cloneObject(i);if(r.pointList&&this.holePolygonPointLists&&this.holePolygonPointLists.length>0)for(var n=this.holePolygonPointLists,a=n.length,o=0;o0&&("stroke"==r.brushType||"both"==r.brushType)?(s||(e.beginPath(),this.buildPath(e,r)),e.globalCompositeOperation="source-over",this.setCtxGlobalAlpha(e,"stroke",r),e.stroke(),this.setCtxGlobalAlpha(e,"reset",r)):e.globalCompositeOperation="source-over"}e.restore()}buildPath(e,t){t.showShadow&&(e.shadowBlur=t.shadowBlur,e.shadowColor=t.shadowColor,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY),this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.refOriginalPosition,s=t.pointList;if(!(s.length<2))if(t.smooth&&"spline"!==t.smooth){var r,n,a,o=Un.SUtil_smoothBezier(s,t.smooth,!0,t.smoothConstraint,i);e.moveTo(s[0][0]+i[0],s[0][1]+i[1]);for(var l=s.length,h=0;hn&&(n=l[h][0]+i[0]),l[h][1]+i[1]o&&(o=l[h][1]+i[1]);return s="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(r-s/2),y:Math.round(a-s/2),width:n-r+s,height:o-a+s},e.__rect}}class Wn extends zn{constructor(e){super(e),this.brushTypeOnly="stroke",this.textPosition="end",this.type="smicbroken-line",this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicBrokenLine"}destroy(){this.brushTypeOnly=null,this.textPosition=null,this.type=null,super.destroy()}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.refOriginalPosition,s=t.pointList;if(!(s.length<2)){var r=Math.min(t.pointList.length,Math.round(t.pointListLength||t.pointList.length));if(t.smooth&&"spline"!==t.smooth){var n,a,o,l=Un.SUtil_smoothBezier(s,t.smooth,!1,t.smoothConstraint,i);e.moveTo(s[0][0]+i[0],s[0][1]+i[1]);for(let t=0;tu&&(i*=u/(a=i+s),s*=u/a),r+n>u&&(r*=u/(a=r+n),n*=u/a),s+r>c&&(s*=c/(a=s+r),r*=c/a),i+n>c&&(i*=c/(a=i+n),n*=c/a),e.moveTo(l+i,h),e.lineTo(l+u-s,h),0!==s&&e.quadraticCurveTo(l+u,h,l+u,h+s),e.lineTo(l+u,h+c-r),0!==r&&e.quadraticCurveTo(l+u,h+c,l+u-r,h+c),e.lineTo(l+n,h+c),0!==n&&e.quadraticCurveTo(l,h+c,l,h+c-n),e.lineTo(l,h+i),0!==i&&e.quadraticCurveTo(l,h,l+i,h)}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.refOriginalPosition;t.radius?this._buildRadiusPath(e,t):(e.moveTo(t.x+i[0],t.y+i[1]),e.lineTo(t.x+i[0]+t.width,t.y+i[1]),e.lineTo(t.x+i[0]+t.width,t.y+i[1]+t.height),e.lineTo(t.x+i[0],t.y+i[1]+t.height),e.lineTo(t.x+i[0],t.y+i[1])),e.closePath()}getRect(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,i=this.refOriginalPosition;return e.__rect?e.__rect:(t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x+i[0]-t/2),y:Math.round(e.y+i[1]-t/2),width:e.width+t,height:e.height+t},e.__rect)}}class Xn extends zn{constructor(e){super(e),this.type="smicsector",this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicSector"}destroy(){this.type=null,super.destroy()}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var i=this.refOriginalPosition,s=t.x+i[0],r=t.y+i[1],n=t.r0||0,a=t.r,o=t.startAngle,l=t.endAngle,h=t.clockWise||!1;o=Un.Util_math.degreeToRadian(o),l=Un.Util_math.degreeToRadian(l),h||(o=-o,l=-l);var u=Un.Util_math.cos(o),c=Un.Util_math.sin(o);e.moveTo(u*n+s,c*n+r),e.lineTo(u*a+s,c*a+r),e.arc(s,r,a,o,l,!h),e.lineTo(Un.Util_math.cos(l)*n+s,Un.Util_math.sin(l)*n+r),0!==n&&e.arc(s,r,n,l,o,h),e.closePath()}getRect(e){if(e.__rect)return e.__rect;this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t=this.refOriginalPosition,i=Un.Util_vector.create(),s=Un.Util_vector.create(),r=Un.Util_vector.create(),n=Un.Util_vector.create(),a=e.x+t[0],o=e.y+t[1],l=e.r0||0,h=e.r,u=Un.Util_math.degreeToRadian(e.startAngle),c=Un.Util_math.degreeToRadian(e.endAngle),p=e.clockWise;return p||(u=-u,c=-c),l>1?Un.Util_computeBoundingBox.arc(a,o,l,u,c,!p,i,r):(i[0]=r[0]=a,i[1]=r[1]=o),Un.Util_computeBoundingBox.arc(a,o,h,u,c,!p,s,n),Un.Util_vector.min(i,i,s),Un.Util_vector.max(r,r,n),e.__rect={x:i[0],y:i[1],width:r[0]-i[0],height:r[1]-i[1]},e.__rect}}class Kn{constructor(e){this.shapeParameters=e,this.CLASS_NAME="SuperMap.Feature.ShapeFactory"}destroy(){this.shapeParameters=null}createShape(e){if(e&&(this.shapeParameters=e),!this.shapeParameters)return null;var t=this.shapeParameters;if(t instanceof wn){let e=new Object;e.x=t.x,e.y=t.y,e.r=t.r,e=fe.copyAttributesWithClip(e,t.style,["x","y"]);let i=new Vn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["x","y","style","highlightStyle"]),i}if(t instanceof En){if(!t.pointList)return null;let e=new Object;e.pointList=t.pointList,e=fe.copyAttributesWithClip(e,t.style,["pointList"]);let i=new Wn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["pointList","style","highlightStyle"]),i}if(t instanceof An){if(!t.pointList)return null;let e=new Object;e.pointList=t.pointList,e=fe.copyAttributesWithClip(e,t.style,["pointList"]);let i=new qn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["pointList","style","highlightStyle"]),i}if(t instanceof Pn){if(!t.x&&!t.y&!t.width&!t.height)return null;let e=new Object;e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height,e=fe.copyAttributesWithClip(e,t.style,["x","y","width","height"]);let i=new Qn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["x","y","width","height","style","highlightStyle"]),i}if(t instanceof Ln){let e=new Object;e.x=t.x,e.y=t.y,e.r=t.r,e.startAngle=t.startAngle,e.endAngle=t.endAngle,t.r0&&(e.r0=t.r0),t.clockWise&&(e.clockWise=t.clockWise),e=fe.copyAttributesWithClip(e,t.style,["x","y","r","startAngle","endAngle","r0","endAngle"]);let i=new Xn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["x","y","r","startAngle","endAngle","r0","endAngle","style","highlightStyle"]),i}if(t instanceof Nn){let e=new Object;e.x=t.x,e.y=t.y,e.text=t.text,e=fe.copyAttributesWithClip(e,t.style,["x","y","text"]);let i=new Hn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["x","y","text","style","highlightStyle"]),i}if(t instanceof In){let e=new Object;e.x=t.x,e.y=t.y,t.image&&(e.image=t.image),t.width&&(e.width=t.width),t.height&&(e.height=t.height),t.sx&&(e.sx=t.sx),t.sy&&(e.sy=t.sy),t.sWidth&&(e.sWidth=t.sWidth),t.sHeight&&(e.sHeight=t.sHeight),e=fe.copyAttributesWithClip(e,t.style,["x","y","image","width","height","sx","sy","sWidth","sHeight"]);let i=new Yn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["x","y","image","width","height","style","highlightStyle"]),i}if(t instanceof On){let e=new Object;e.x=t.x,e.r=t.r,e.y=t.y,e=fe.copyAttributesWithClip(e,t.style,["x","y","r"]);let i=new Jn;return i.style=Kn.transformStyle(e),i.highlightStyle=Kn.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(i,t,["x","y","r","style","highlightStyle","lineWidth","text","textPosition"]),i}return null}static transformStyle(e){var t={},i=["normal","normal","normal","12","arial,sans-serif"],s=[!0,!1];for(var r in e)switch(r){case"fill":s[0]=e[r];break;case"fillColor":t.color=e[r];break;case"stroke":s[1]=e[r];break;case"strokeWidth":t.lineWidth=e[r];break;case"strokeLinecap":t.lineCap=e[r];break;case"strokeLineJoin":t.lineJoin=e[r];break;case"strokeDashstyle":t.lineType=e[r];break;case"pointRadius":t.r=e[r];break;case"label":t.text=e[r];break;case"labelRect":t.labelRect=e[r];break;case"fontColor":t.textColor=e[r];break;case"fontStyle":i[0]=e[r];break;case"fontVariant":i[1]=e[r];break;case"fontWeight":i[2]=e[r];break;case"fontSize":var n="";e[r]&&e[r].toString().indexOf("px")<0&&(n="px"),i[3]=e[r]+n;break;case"fontFamily":i[4]=e[r];break;case"fontOpacity":t.opacity=e[r];break;case"labelPosition":t.textPosition=e[r];break;case"labelAlign":t.textAlign=e[r];break;case"labelBaseline":t.textBaseline=e[r];break;case"labelRotation":t.textRotation=e[r];break;default:t[r]=e[r]}return t.textFont=i.join(" "),!0===s[0]&&!1===s[1]?t.brushType="fill":!1===s[0]&&!0===s[1]?t.brushType="stroke":!0===s[0]&&!0===s[1]?t.brushType="both":t.brushType="fill",null==t.lineWidth&&(t.lineWidth=1),t}static Background(e,t,i){var s=i||{},r=new Pn(t[0],t[3],Math.abs(t[2]-t[0]),Math.abs(t[3]-t[1]));return r.style={fillColor:"#f3f3f3"},s.backgroundStyle&&fe.copyAttributesWithClip(r.style,s.backgroundStyle),s.backgroundRadius&&(r.style.radius=s.backgroundRadius),r.clickable=!1,r.hoverable=!1,e.createShape(r)}static GraphAxis(e,t,i,s){var r=t,n=i||{},a=[],o=[],l=!!n.useXReferenceLine&&n.useXReferenceLine,h=n.axisYTick&&!isNaN(n.axisYTick)?n.axisYTick:0,u=[],c=[];if(0==h){if(c.push([r[0],r[3]-5]),c.push([r[0],r[1]]),n.axis3DParameter&&!isNaN(n.axis3DParameter)&&n.axis3DParameter>=15){let e=parseInt(n.axis3DParameter),t=[r[0]-e,r[1]+e];n.axisUseArrow?(u.push([t[0]+1.5,t[1]-7.5]),u.push([t[0]-1,t[1]+1]),u.push([t[0]+7.5,t[1]-1.5]),c.push([t[0],t[1]])):c.push([t[0],t[1]]),c.push([r[0],r[1]])}c.push([r[2]+5,r[1]])}else{var p=Math.abs(r[1]-r[3])/h,d=r[3];c.push([r[0],d-5]);for(var f=0;f=15){let e=parseInt(n.axis3DParameter),t=[r[0]-e,r[1]+e];n.axisUseArrow?(u.push([t[0]+1.5,t[1]-7.5]),u.push([t[0]-1,t[1]+1]),u.push([t[0]+7.5,t[1]-1.5]),c.push([t[0],t[1]])):c.push([t[0],t[1]]),c.push([r[0],r[1]])}c.push([r[2]+5,r[1]])}if(n.axisUseArrow){var y=[[r[2]+5,r[1]+4],[r[2]+13,r[1]],[r[2]+5,r[1]-4]],g=[[r[0]-4,r[3]-5],[r[0],r[3]-13],[r[0]+4,r[3]-5]],v=new An(y);v.style={fillColor:"#008acd"},fe.copyAttributesWithClip(v.style,n.axisStyle),o.push(e.createShape(v));var S=new An(g);if(S.style={fillColor:"#008acd"},fe.copyAttributesWithClip(S.style,n.axisStyle),o.push(e.createShape(S)),n.axis3DParameter&&!isNaN(n.axis3DParameter)&&n.axis3DParameter>=15){var b=new An(u);b.style={fillColor:"#008acd"},fe.copyAttributesWithClip(b.style,n.axisStyle),o.push(e.createShape(b))}}var x=new En(c);x.style={strokeLinecap:"butt",strokeLineJoin:"round",strokeColor:"#008acd",strokeWidth:1},n.axisStyle&&fe.copyAttributesWithClip(x.style,n.axisStyle),x.clickable=!1,x.hoverable=!1;var _=[e.createShape(x)],C=[];if(n.axisYLabels&&n.axisYLabels.length&&n.axisYLabels.length>0){var T=n.axisYLabels;let t=T.length;var M=[0,0];if(n.axisYLabelsOffset&&n.axisYLabelsOffset.length&&(M=n.axisYLabelsOffset),1==t){let t=new Nn(r[0]-5+M[0],r[3]+M[1],T[0]);t.style={labelAlign:"right"},n.axisYLabelsStyle&&fe.copyAttributesWithClip(t.style,n.axisYLabelsStyle),t.clickable=!1,t.hoverable=!1,C.push(e.createShape(t))}else for(var w=r[3],E=Math.abs(r[1]-r[3])/(t-1),A=0;A0){let t=n.axisXLabels,i=t.length,a=[0,0];if(n.axisXLabelsOffset&&n.axisXLabelsOffset.length&&(a=n.axisXLabelsOffset),s&&s.xPositions&&s.xPositions.length&&s.xPositions.length==i){let o=s.xPositions;for(let s=0;s=0&&i[r]&&fe.copyAttributesWithClip(a,i[r]),s&&s.length&&void 0!==n)for(var o=s,l=o.length,h=parseFloat(n),u=0;u=h[2]||h[1]<=h[3])&&(this.DVBOrigonPoint=[h[0],h[3]],this.DVBWidth=Math.abs(h[2]-h[0]),this.DVBHeight=Math.abs(h[1]-h[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-a[0],this.DVBOrigonPoint[1]-a[1]],!0)}resetLocation(e){e&&(this.lonlat=e);var t=this.getLocalXY(this.lonlat);t[0]+=this.XOffset,t[1]+=this.YOffset,this.location=t;var i=this.width,s=this.height,r=this.location;return this.chartBounds=new ye(r[0]-i/2,r[1]+s/2,r[0]+i/2,r[1]-s/2),this.resetLinearGradient(),r}resetLinearGradient(){}shapesConvertToRelativeCoordinate(){for(var e=this.shapes,t=this.location,i=0,s=e.length;i=0?s.push(parseFloat(r[a].toString()).toFixed(i)):s.push(parseFloat(r[a].toString()))}catch(e){throw new Error("not a number")}return s.length===t.length&&s},s.Feature.Theme.Graph=$n;s.Feature.Theme.Bar=class extends $n{constructor(e,t,i,s,r){super(e,t,i,s,r),this.CLASS_NAME="SuperMap.Feature.Theme.Bar"}destroy(){super.destroy()}assembleShapes(){var e={showShadow:!0,shadowBlur:8,shadowColor:"rgba(100,100,100,0.8)",shadowOffsetX:2,shadowOffsetY:2},t=this.setting;if(void 0!==t.barLinearGradient&&(t.barLinearGradient=[["#00FF00","#00CD00"],["#00CCFF","#5E87A2"],["#00FF66","#669985"],["#CCFF00","#94A25E"],["#FF9900","#A2945E"]]),t.dataViewBoxParameter||(void 0===t.useAxis||t.useAxis?t.dataViewBoxParameter=[45,15,15,15]:t.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var i=this.DVBCodomain;this.DVBUnitValue=(i[1]-i[0])/this.DVBHeight;var s=this.dataViewBox,r=this.dataValues;if(!(r.length<1)){for(let e=0,t=r.length;ei[1])return;var n=this.calculateXShapeInfo();if(n){var a=n.xPositions,o=n.width;(void 0===t.useBackground||t.useBackground)&&this.shapes.push(Kn.Background(this.shapeFactory,this.chartBox,t)),(void 0===t.useAxis||t.useAxis)&&(this.shapes=this.shapes.concat(Kn.GraphAxis(this.shapeFactory,s,t,n)));for(var l=0;l=t.length&&(i%=t.length);var l=t[i][0],h=t[i][1],u=(new Bn).getLinearGradient(a,0,o,0,[[0,l],[1,h]]);r.style.color=u}}}};s.Feature.Theme.Bar3D=class extends $n{constructor(e,t,i,s,r){super(e,t,i,s,r),this.CLASS_NAME="SuperMap.Feature.Theme.Bar3D"}destroy(){super.destroy()}assembleShapes(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,25,20,20]:e.dataViewBoxParameter=[5,5,5,5]),e.axisUseArrow=void 0===e.axisUseArrow||e.axisUseArrow,e.axisXLabelsOffset=void 0!==e.axisXLabelsOffset?e.axisXLabelsOffset:[-10,10],this.initBaseParameter()){var t=this.DVBCodomain;this.DVBUnitValue=(t[1]-t[0])/this.DVBHeight;var i=this.dataViewBox,s=this.dataValues;if(!(s.length<1)){for(let e=0,i=s.length;et[1])return;var r=this.calculateXShapeInfo();if(r){var n=r.xPositions,a=r.width;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(Kn.Background(this.shapeFactory,this.chartBox,e)),(!e.axis3DParameter||isNaN(e.axis3DParameter)||e.axis3DParameter<15)&&(e.axis3DParameter=20),(void 0===e.useAxis||e.useAxis)&&(this.shapes=this.shapes.concat(Kn.GraphAxis(this.shapeFactory,i,e,r)));var o=e.bar3DParameter&&!isNaN(e.bar3DParameter)?e.bar3DParameter:10;for(let r=0;r=o[2]||o[1]<=o[3])&&(this.DVBOrigonPoint=[o[0],o[3]],this.DVBWidth=Math.abs(o[2]-o[0]),this.DVBHeight=Math.abs(o[1]-o[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-r[0],this.DVBOrigonPoint[1]-r[1]],!0)}}s.Feature.Theme.RankSymbol=ea;s.Feature.Theme.Circle=class extends ea{constructor(e,t,i,s,r){super(e,t,i,s,r),this.CLASS_NAME="SuperMap.Feature.Theme.Circle"}destroy(){super.destroy()}assembleShapes(){if(!this.setting)return!1;var e=this.setting;if(!e.codomain)return!1;var t=void 0===e.decimalNumber||isNaN(e.decimalNumber)?-1:e.decimalNumber,i=Zn.getDataValues(this.data,this.fields,t);this.dataValues=i||[];var s=this.dataValues;e.maxR||(e.maxR=100),e.minR||(e.minR=0);var r=this.DVBCodomain;r&&r[1]-r[0]>0?this.DVBUnitValue=e.maxR/(r[1]-r[0]):this.DVBUnitValue=e.maxR;var n=this.DVBUnitValue,a=s[0]*n+e.minR;if(this.width=2*a,this.height=2*a,this.initBaseParameter()&&(!r||!(s[0]r[1]))){var o=this.DVBCenterPoint,l=new On(o[0],o[1],a);l.style=Kn.ShapeStyleTool(null,e.circleStyle,null,null,0),void 0!==e.fillColor?l.style.fillColor=e.fillColor:l.style.fillColor="#ff9277",l.highlightStyle=Kn.ShapeStyleTool(null,e.circleHoverStyle),void 0!==e.circleHoverAble&&(l.hoverable=e.circleHoverAble),void 0!==e.circleClickAble&&(l.clickable=e.circleClickAble),l.refDataID=this.data.id,l.dataInfo={field:this.fields[0],r:a,value:s[0]},this.shapes.push(this.shapeFactory.createShape(l)),this.shapesConvertToRelativeCoordinate()}}};s.Feature.Theme.Line=class extends $n{constructor(e,t,i,s,r,n){super(e,t,i,s,r,n),this.CLASS_NAME="SuperMap.Feature.Theme.Line"}destroy(){super.destroy()}assembleShapes(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,15,15,15]:e.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var t=this.dataViewBox,i=this.DVBCodomain;this.DVBUnitValue=(i[1]-i[0])/this.DVBHeight;var s=this.DVBUnitValue,r=this.dataValues;if(!(r.length<1)){var n=this.calculateXShapeInfo();if(n){var a,o,l=n.xPositions;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(Kn.Background(this.shapeFactory,this.chartBox,e)),this.shapes=this.shapes.concat(Kn.GraphAxis(this.shapeFactory,t,e,n));for(var h=[],u=[],c=0,p=r.length;ci[1])return null;a=l[c],o=t[1]-(r[c]-i[0])/s;var d=new wn(a,o);d.style=Kn.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,c,r[c]),d.highlightStyle=Kn.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(d.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(d.clickable=e.pointClickAble),d.refDataID=this.data.id,d.dataInfo={field:this.fields[c],value:r[c]},u.push(this.shapeFactory.createShape(d));var f=[a,o];h.push(f)}var m=new En(h);m.style=Kn.ShapeStyleTool({strokeColor:"#ee9900"},e.lineStyle),m.clickable=!1,m.hoverable=!1;var y=this.shapeFactory.createShape(m);this.shapes.push(y),this.shapes=this.shapes.concat(u),this.shapesConvertToRelativeCoordinate()}}}}calculateXShapeInfo(){var e,t=this.dataViewBox,i=this.setting,s=this.dataValues.length;if(s<1)return null;var r=[],n=this.DVBWidth,a=0;if(i.xShapeBlank&&i.xShapeBlank.length&&2==i.xShapeBlank.length){var o=n-((e=i.xShapeBlank)[0]+e[1]);if(o<=s)return null;a=o/(s-1)}else e=[a=n/(s+1),a,a];for(var l=0,h=0;hs[1])return;var r=0;for(let e=0;e=360&&(l=359.9999999);var d=new Ln(a[0],a[1],u,o,l);if(void 0===e.sectorStyleByFields){var f=c%t.length;d.style=Kn.ShapeStyleTool(null,e.sectorStyle,t,null,f)}else d.style=Kn.ShapeStyleTool(null,e.sectorStyle,e.sectorStyleByFields,e.sectorStyleByCodomain,c,i[c]);d.highlightStyle=Kn.ShapeStyleTool(null,e.sectorHoverStyle),void 0!==e.sectorHoverAble&&(d.hoverable=e.sectorHoverAble),void 0!==e.sectorClickAble&&(d.clickable=e.sectorClickAble),d.refDataID=this.data.id,d.dataInfo={field:this.fields[c],value:i[c]},this.shapes.push(this.shapeFactory.createShape(d)),o=l}this.shapesConvertToRelativeCoordinate()}}}};s.Feature.Theme.Point=class extends $n{constructor(e,t,i,s,r,n){super(e,t,i,s,r,n),this.CLASS_NAME="SuperMap.Feature.Theme.Point"}destroy(){super.destroy()}assembleShapes(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,15,15,15]:e.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var t=this.dataViewBox,i=this.DVBCodomain;this.DVBUnitValue=(i[1]-i[0])/this.DVBHeight;var s=this.DVBUnitValue,r=this.dataValues,n=this.calculateXShapeInfo();if(n){var a,o,l=n.xPositions;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(Kn.Background(this.shapeFactory,this.chartBox,e)),this.shapes=this.shapes.concat(Kn.GraphAxis(this.shapeFactory,t,e,n));for(var h=0,u=r.length;hi[1])return null;a=l[h],o=t[1]-(r[h]-i[0])/s;var c=new wn(a,o);c.style=Kn.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,h,r[h]),c.highlightStyle=Kn.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(c.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(c.clickable=e.pointClickAble),c.refDataID=this.data.id,c.dataInfo={field:this.fields[h],value:r[h]},this.shapes.push(this.shapeFactory.createShape(c))}this.shapesConvertToRelativeCoordinate()}}}calculateXShapeInfo(){var e,t=this.dataViewBox,i=this.setting,s=this.dataValues.length;if(s<1)return null;var r=[],n=this.DVBWidth,a=0;if(i.xShapeBlank&&i.xShapeBlank.length&&2==i.xShapeBlank.length){var o=n-((e=i.xShapeBlank)[0]+e[1]);if(o<=s)return null;a=o/(s-1)}else e=[a=n/(s+1),a,a];for(var l=0,h=0;hs[1])return;var r=0;for(let e=0;e=0&&t.innerRingRadius0){var h=n[n.length-1];if(Math.abs(h[0]-s[0])<=a&&Math.abs(h[1]-s[1])<=a)continue}n.push(s)}if(n.length<2)return null;var u=new Object;(u=fe.copyAttributesWithClip(u,this.style,["pointList"])).pointList=n;var c=new Wn({style:u,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(c.highlightStyle=this.highlightStyle),c.refOriginalPosition=this.location,c.refDataID=this.data.id,c.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&fe.copyAttributesWithClip(c,this.shapeOptions),this.shapes.push(c)}multiPointToTF(e){for(var t=e.components,i=[],s=[],r=this.location,n=[],a=this.nodesClipPixel,o=0;o0){var h=n[n.length-1];if(Math.abs(h[0]-s[0])<=a&&Math.abs(h[1]-s[1])<=a)continue}n.push(s);var u=new Object;u.r=6,(u=fe.copyAttributesWithClip(u,this.style)).x=s[0],u.y=s[1];var c=new Vn({style:u,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(c.highlightStyle=this.highlightStyle),c.refOriginalPosition=r,c.refDataID=this.data.id,c.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&fe.copyAttributesWithClip(c,this.shapeOptions),this.shapes.push(c)}}multiLineStringToTF(e){for(var t=e.components,i=0;i0){var p=n[n.length-1];if(Math.abs(p[0]-s[0])<=l&&Math.abs(p[1]-s[1])<=l)continue}n.push(s)}}else{a=[];for(var d=0;d0){var f=a[a.length-1];if(Math.abs(f[0]-s[0])<=l&&Math.abs(f[1]-s[1])<=l)continue}a.push(s)}}a.length<2||o.push(a)}if(!(n.length<2)){var m={};(m=fe.copyAttributesWithClip(m,this.style,["pointList"])).pointList=n;var y=new qn({style:m,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(y.highlightStyle=this.highlightStyle),y.refOriginalPosition=this.location,y.refDataID=this.data.id,y.isHoverByRefDataID=this.isMultiHover,o.length>0&&(y.holePolygonPointLists=o),this.shapeOptions&&fe.copyAttributesWithClip(y,this.shapeOptions),this.shapes.push(y)}}rectangleToTF(e){var t=this.location,i=new me(e.x,e.y),s=this.layer.map.getResolution(),r=this.getLocalXY(i),n=new Object;n.r=6,(n=fe.copyAttributesWithClip(n,this.style)).x=r[0]-t[0],n.y=r[1]-t[1]-2*e.width/s,n.width=e.width/s,n.height=e.height/s;var a=new Qn({style:n,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(a.highlightStyle=this.highlightStyle),a.refOriginalPosition=t,a.refDataID=this.data.id,a.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&fe.copyAttributesWithClip(a,this.shapeOptions),this.shapes.push(a)}geoTextToTF(e){var t=this.location,i=this.getLocalXY(e),s=new Object;s.r=6,(s=fe.copyAttributesWithClip(s,this.style,["x","y","text"])).x=i[0]-t[0],s.y=i[1]-t[1],s.text=e.text;var r=new Hn({style:s,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(r.highlightStyle=this.highlightStyle),r.refOriginalPosition=t,r.refDataID=this.data.id,r.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&fe.copyAttributesWithClip(r,this.shapeOptions),this.shapes.push(r)}updateAndAddShapes(){var e=this.getLocalXY(this.lonlat);this.location=e;for(var t=this.layer.renderer,i=0,s=this.shapes.length;i0}addRoot(e){e instanceof ia&&e.addChildrenToStorage(this),this.addToMap(e),this._roots.push(e)}delRoot(e){if(void 0===e){for(var t=0;t=0&&(this.delFromMap(r.id),this._roots.splice(n,1),r instanceof ia&&r.delChildrenFromStorage(this))}}addToMap(e){return e instanceof ia&&(e._storage=this),e.modSelf(),this._elements[e.id]=e,this}get(e){return this._elements[e]}delFromMap(e){var t=this._elements[e];return t&&(delete this._elements[e],t instanceof ia&&(t._storage=null)),this}dispose(){this._elements=null,this._roots=null,this._hoverElements=null}static shapeCompareFunc(e,t){return e.zlevel==t.zlevel?e.z==t.z?e.__renderidx-t.__renderidx:e.z-t.z:e.zlevel-t.zlevel}}class ra{constructor(e,t){this.root=e,this.storage=t,this._domRoot=null,this._layers={},this._zlevelList=[],this._layerConfig={},this._bgDom=null,this.shapeToImage=null,ra.devicePixelRatio=Math.max(window.devicePixelRatio||1,1),this.CLASS_NAME="SuperMap.LevelRenderer.Painter",this.root.innerHTML="",this._width=this._getWidth(),this._height=this._getHeight();var i=document.createElement("div");this._domRoot=i,i.style.position="relative",i.style.overflow="hidden",i.style.width=this._width+"px",i.style.height=this._height+"px",this.root.appendChild(i),this.shapeToImage=this._createShapeToImageProcessor(),this._bgDom=ra.createDom(fe.createUniqueID("SuperMap.Theme_background_"),"div",this),i.appendChild(this._bgDom),this._bgDom.onselectstart=n,this._bgDom.style["-webkit-user-select"]="none",this._bgDom.style["user-select"]="none",this._bgDom.style["-webkit-touch-callout"]="none";var s=new na(fe.createUniqueID("_highLightLayer_"),this);this._layers.hover=s,i.appendChild(s.dom),s.initContext(),s.dom.onselectstart=n,s.dom.style["-webkit-user-select"]="none",s.dom.style["user-select"]="none",s.dom.style["-webkit-touch-callout"]="none";var r=this;function n(){return!1}this.updatePainter=function(e,t){r.refreshShapes(e,t)}}destroy(){this.dispose(),this._zlevelList=null,this._layerConfig=null,this._bgDom=null,this.shapeToImage=null}render(e){return this.refresh(e,!0),this}refresh(e,t){var i=this.storage.getShapeList(!0);return this._paintList(i,t),"function"==typeof e&&e(),this}_paintList(e,t){var i,s,r;for(var n in void 0===t&&(t=!1),this._updateLayerStatus(e),this._layers)"hover"!==n&&(this._layers[n].unusedCount++,this._layers[n].updateTransform());for(var a=[],o=0,l=e.length;o0&&e>this._zlevelList[0]){for(r=0;re);r++);s=this._layers[this._zlevelList[r]]}this._zlevelList.splice(r+1,0,e),t=new na(fe.createUniqueID("_levelLayer_"+e),this);var n=s?s.dom:this._bgDom;n.nextSibling?n.parentNode.insertBefore(t.dom,n.nextSibling):n.parentNode.appendChild(t.dom),t.initContext(),this._layers[e]=t,this._layerConfig[e]&&(new Fn).merge(t,this._layerConfig[e],!0),t.updateTransform()}return t}getLayers(){return this._layers}_updateLayerStatus(e){var t=this._layers,i={};for(let e in t)"hover"!==e&&(i[e]=t[e].elCount,t[e].elCount=0);for(let i=0;i0?1.1:1/1.1,i=this.painter.getLayers(),s=!1;for(var r in i)if("hover"!==r){var n=i[r],a=n.position;if(n.zoomable){n.__zoom=n.__zoom||1;var o=n.__zoom;o*=t,t=(o=Math.max(Math.min(n.maxZoom,o),n.minZoom))/n.__zoom,n.__zoom=o,a[0]-=(this._mouseX-a[0])*(t-1),a[1]-=(this._mouseY-a[1])*(t-1),n.scale[0]*=t,n.scale[1]*=t,n.dirty=!0,s=!0}}s&&this.painter.refresh(),this._dispatchAgency(this._lastHover,Gn.EVENT.MOUSEWHEEL,e),this._mousemoveHandler(e)},mousemove:function(e){this._clickThreshold++,e=this._zrenderEventFixed(e),this._lastX=this._mouseX,this._lastY=this._mouseY,this._mouseX=Un.Util_event.getX(e),this._mouseY=Un.Util_event.getY(e);var t=this._mouseX-this._lastX,i=this._mouseY-this._lastY;this._processDragStart(e),this._hasfound=0,this._event=e,this._iterateAndFindHover(),this._hasfound||((!this._draggingTarget||this._lastHover&&this._lastHover!=this._draggingTarget)&&(this._processOutShape(e),this._processDragLeave(e)),this._lastHover=null,this.storage.delHover(),this.painter.clearHover());var s="";if(this._draggingTarget)this.storage.drift(this._draggingTarget.id,t,i),this._draggingTarget.modSelf(),this.storage.addHover(this._draggingTarget);else if(this._isMouseDown){var r=this.painter.getLayers(),n=!1;for(var a in r)if("hover"!==a){var o=r[a];o.panable&&(s="move",o.position[0]+=t,o.position[1]+=i,n=!0,o.dirty=!0)}n&&this.painter.refresh()}this._draggingTarget||this._hasfound&&this._lastHover.draggable?s="move":this._hasfound&&this._lastHover.clickable&&(s="pointer"),this.root.style.cursor=s,this._dispatchAgency(this._lastHover,Gn.EVENT.MOUSEMOVE,e),(this._draggingTarget||this._hasfound||this.storage.hasHoverShape())&&this.painter.refreshHover()},mouseout:function(e){var t=(e=this._zrenderEventFixed(e)).toElement||e.relatedTarget;if(t!=this.root)for(;t&&9!=t.nodeType;){if(t==this.root)return void this._mousemoveHandler(e);t=t.parentNode}e.zrenderX=this._lastX,e.zrenderY=this._lastY,this.root.style.cursor="",this._isMouseDown=0,this._processOutShape(e),this._processDrop(e),this._processDragEnd(e),this.painter.refreshHover(),this.dispatch(Gn.EVENT.GLOBALOUT,e)},mousedown:function(e){if(this._clickThreshold=0,2==this._lastDownButton)return this._lastDownButton=e.button,void(this._mouseDownTarget=null);this._lastMouseDownMoment=new Date,e=this._zrenderEventFixed(e),this._isMouseDown=1,this._mouseDownTarget=this._lastHover,this._dispatchAgency(this._lastHover,Gn.EVENT.MOUSEDOWN,e),this._lastDownButton=e.button},mouseup:function(e){e=this._zrenderEventFixed(e),this.root.style.cursor="",this._isMouseDown=0,this._mouseDownTarget=null,this._dispatchAgency(this._lastHover,Gn.EVENT.MOUSEUP,e),this._processDrop(e),this._processDragEnd(e)},touchstart:function(e){e=this._zrenderEventFixed(e,!0),this._lastTouchMoment=new Date,this._mobildFindFixed(e),this._mousedownHandler(e)},touchmove:function(e){e=this._zrenderEventFixed(e,!0),this._mousemoveHandler(e),this._isDragging&&Un.Util_event.stop(e)},touchend:function(e){e=this._zrenderEventFixed(e,!0),this._mouseupHandler(e);var t=new Date;t-this._lastTouchMoment=0;r--){var n=i[r];if(void 0!==n.zlevel&&(e=this.painter.getLayer(n.zlevel,e),s[0]=this._mouseX,s[1]=this._mouseY,e.needTransform&&(Un.Util_matrix.invert(t,e.transform),Un.Util_vector.applyTransform(s,s,t))),this._findHover(n,s[0],s[1]))break}}_mobildFindFixed(e){var t=[{x:10},{x:-20},{x:10,y:10},{y:-20}];this._lastHover=null,this._mouseX=e.zrenderX,this._mouseY=e.zrenderY,this._event=e,this._iterateAndFindHover();for(var i=0;!this._lastHover&&i=0&&this._clips.splice(t,1)}_update(){var e=(new Date).getTime(),t=e-this._time,i=this._clips,s=i.length,r=[],n=[];for(let t=0;t=0&&!(m[S]<=a);S--);S=Math.min(S,h-2)}else{for(S=M;Sa);S++);S=Math.min(S-1,h-2)}M=S,w=a;var o=m[S+1]-m[S];if(0!==o){if(b=(a-m[S])/o,n)if(_=y[S],x=y[0===S?S:S-1],C=y[S>h-2?h-1:S+1],T=y[S>h-3?h-1:S+2],c)ha._catmullRomInterpolateArray(x,_,C,T,b,b*b,b*b*b,s(e,l),d);else{let t;t=p?ha.rgba2String(E):ha._catmullRomInterpolate(x,_,C,T,b,b*b,b*b*b),i(e,l,t)}else if(c)ha._interpolateArray(y[S],y[S+1],b,s(e,l),d);else{let t;p?(ha._interpolateArray(y[S],y[S+1],b,E,1),t=ha.rgba2String(E)):t=ha._interpolateNumber(y[S],y[S+1],b),i(e,l,t)}for(S=0;Sthis.bounds.max.x?this.bounds.max.x:e.x,e.y=e.ythis.bounds.max.y?this.bounds.max.y:e.y);var i=this._proj.inverse([e.x,e.y]);return new fa.a.LatLng(i[1],i[0],t)},_projFromCodeDef:function(e,t){if(t)ba.a.defs(e,t);else if(void 0===ba.a.defs[e]){var i=e.split(":");if(i.length>3&&(e=i[i.length-3]+":"+i[i.length-1]),void 0===ba.a.defs[e])throw"No projection definition for code "+e}return ba()(e)},getUnits:function(){return this._proj.oProj.units||"degrees"}});var xa=fa.a.Class.extend({includes:fa.a.CRS,options:{transformation:new fa.a.Transformation(1,0,-1,0)},initialize:function(e,t){var i,s,r;if(fa.a.Proj._isProj4Obj(e)?(i=(s=e).srsCode,t=t||{},this.projection=new fa.a.Proj.Projection(s,t.bounds)):(i=e,r=(t=t||{}).def||"",this.projection=new fa.a.Proj.Projection(i,r,t.bounds)),fa.a.Util.setOptions(this,t),this.code=i,this.transformation=this.options.transformation,this.options.bounds&&(this.options.bounds=fa.a.bounds(this.options.bounds)),!this.options.origin&&this.options.bounds&&(this.options.origin=[this.options.bounds.min.x,this.options.bounds.max.y]),this.options.origin&&(this.options.origin instanceof fa.a.Point&&(this.options.origin=[this.options.origin.x,this.options.origin.y]),this.transformation=new fa.a.Transformation(1,-this.options.origin[0],-1,this.options.origin[1])),this.options.scales&&this.options.scales.length>0)this.scales=this.options.scales,this._scales=this._toProj4Scales(this.options.scales,this.options.dpi);else if(this.options.scaleDenominators&&this.options.scaleDenominators.length>0){this.scales=[];for(let e=0;e0){this._scales=[];for(let e=this.options.resolutions.length-1;e>=0;e--)this.options.resolutions[e]&&(this._scales[e]=1/this.options.resolutions[e])}else this.options.bounds&&(this._scales=this._getDefaultProj4ScalesByBounds(this.options.bounds));this._rectify(),this.infinite=!this.options.bounds},_rectify:function(){if(this._scales&&(this.resolutions||(this.resolutions=[],this.resolutions=this._proj4ScalesToResolutions(this._scales)),!this.scales)){this.scales=[];for(let t=0;tLeaflet\n with © SuperMap iClient",Common:{attribution:"Map Data © SuperMap iServer"},Online:{attribution:"Map Data © SuperMap Online"},ECharts:{attribution:"© 2017 百度 ECharts"},MapV:{attribution:"© 2017 百度 MapV "},Turf:{attribution:"© turfjs"},Baidu:{attribution:"Map Data © 2017 Baidu - GS(2016)2089号 - Data © 长地万方"},Cloud:{attribution:"Map Data ©2014 SuperMap - GS(2014)6070号-data©Navinfo"},Tianditu:{attribution:"Map Data "}};fa.a.supermap=fa.a.supermap||{},fa.a.supermap.control=fa.a.supermap.control||{},fa.a.Control.Attribution.include({options:{position:"bottomright",prefix:Pa.Prefix}});var La=fa.a.Evented.extend({options:{url:null,proxy:null,serverType:null,withCredentials:!1},initialize:function(e,t){e&&(e=e.indexOf("/")!==e.length-1?e:e.substr(0,e.length-1)),this.url=e,fa.a.setOptions(this,t),this.fire("initialized",this)},destroy:function(){this.fire("destroy",this)}});fa.a.supermap.ServiceBase=La;var Na=La.extend({options:{projection:null},initialize:function(e,t){t=t||{},fa.a.setOptions(this,t),t.projection&&(this.options.projection=t.projection),La.prototype.initialize.call(this,e,t)},getMapInfo:function(e){var t=this;new Qs(t.url,{proxy:t.options.proxy,withCredentials:t.options.withCredentials,serverType:t.options.serverType,eventListeners:{scope:t,processCompleted:e,processFailed:e},projection:t.options.projection}).processAsync()},getTilesets:function(e){var t=this;new qr(t.url,{proxy:t.options.proxy,withCredentials:t.options.withCredentials,serverType:t.options.serverType,eventListeners:{scope:t,processCompleted:e,processFailed:e}}).processAsync()}}),Ia=function(e,t){return new Na(e,t)};fa.a.supermap.mapService=Ia;var Oa=fa.a.Control.extend({options:{layer:null,position:"topleft",title:"switch tile version",tooltip:"top",collapsed:!0,nextText:"+",lastText:"-",ico:"V",orientation:"horizontal",switch:!0},onAdd:function(){"vertical"!==this.options.orientation&&(this.options.orientation="horizontal");var e=this._initLayout();return this.options.layer&&this.setLayer(this.options.layer),e},setContent:function(e){var t=fa.a.Util.extend({},e);this.setVersionName(t.desc).setToolTip(t.desc)},setVersionName:function(e){var t=e;return e||(t=this.getValue()),this._sliderValue.innerHTML=t,this},setToolTip:function(e){return this.tooltip.innerHTML=e,this},updateLength:function(e){e>0&&(this.length=e,this.max=this.length-1,this.slider.setAttribute("max",this.max))},setLayer:function(e){e&&(this.options.layer=e);var t=this,i=t.options.layer;i.on("tilesetsinfoloaded",function(e){var i=e&&e.tileVersions;t.update(i)}),i.on("tileversionschanged",function(e){var i=e&&e.tileVersion;t.setContent(i)}),t.getTileSetsInfo()},update:function(e){this.tileVersions=e,this.updateLength(this.tileVersions.length)},getTileSetsInfo:function(){var e=this;e.options.layer&&new Na(e.options.layer._url).getTilesets(function(t){e.options.layer.setTileSetsInfo(t.result)})},removeLayer:function(){this.options.layer=null},nextTilesVersion:function(){return this.firstLoad?(this.options.layer.nextTilesVersion(),this.firstLoad=!1,this):parseInt(this.slider.value)>this.max-1?this:(this.slider.value=parseInt(this.slider.value)+1,this.options.layer.nextTilesVersion(),this)},lastTilesVersion:function(){return parseInt(this.slider.value)"+i+"",e}});fa.a.Map.mergeOptions({logoControl:!0}),fa.a.Map.addInitHook(function(){!this._logoAdded&&this.options.logoControl&&(!0===this.options.logoControl?this.logoControl=new Fa:this.options.logoControl instanceof fa.a.Control&&(this.logoControl=this.options.logoControl),this.logoControl&&(this.addControl(this.logoControl),this._logoAdded=!0))});var Da=function(e){return new Fa(e)};fa.a.supermap.control.logo=Da;class ka{static toSuperMapBounds(e){return e instanceof fa.a.LatLngBounds?new ye(e.getSouthWest().lng,e.getSouthWest().lat,e.getNorthEast().lng,e.getNorthEast().lat):e instanceof fa.a.Bounds?new ye(e.min.x,e.min.y,e.max.x,e.max.y):this.isArray(e)?new ye(e[0],e[1],e[2],e[3]):new ye}static isArray(e){return"[object Array]"==Object.prototype.toString.call(e)}static toProcessingParam(e){var t={};if(e.length<1)t="";else{for(var i=[],s=0;s1&&(r=[],t.map(function(e){return r.push(e.geometry),e}))),r&&r.geometry?r.geometry:r},Ua=function(e){var t;if(e===p.METER)t=1;else if(e===p.DEGREE)t=2*Math.PI*6378137/360;else if(e===p.KILOMETER)t=.001;else if(e===p.INCH)t=1/.025399999918;else{if(e!==p.FOOT)return t;t=.3048}return t},ja=function(e,t,i){var s=e*t*(1/.0254)*Ua(i);return s=1/s},za=function(e,t,i){var s=e*t*(1/.0254)*Ua(i);return s=1/s},Va=function(e,t,i,s){return s=s||6378137,i=i||"",e>0&&t>0?(e=fa.a.Util.NormalizeScale(e),"degree"===i.toLowerCase()||"degrees"===i.toLowerCase()||"dd"===i.toLowerCase()?254/t/e/(2*Math.PI*s/360)/1e4:254/t/e/1e4):-1},Ha=function(e){return e>1?1/e:e};fa.a.Util.toGeoJSON=Ba,fa.a.Util.toSuperMapGeometry=Ga,fa.a.Util.resolutionToScale=ja,fa.a.Util.scaleToResolution=za,fa.a.Util.getMeterPerMapUnit=Ua,fa.a.Util.GetResolutionFromScaleDpi=Va,fa.a.Util.NormalizeScale=Ha;var Ja=fa.a.TileLayer.extend({url:"http://online{num}.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles={styles}&udt=20150815&scaler=1",options:{minZoom:3,maxZoom:19,bounds:fa.a.latLngBounds(fa.a.latLng(-85.0511287798,-180),fa.a.latLng(85.0511287798,180)),retina:fa.a.Browser.retina,attribution:Pa.Baidu.attribution},initialize:function(e,t){e&&(this.url=e),fa.a.setOptions(this,t),this.options.retina&&(this.options.maxZoom=18),fa.a.stamp(this)},getTileUrl:function(e){var t=fa.a.Util.template(this.url,{num:Math.abs((e.x+e.y)%8)+1,x:e.x,y:-e.y-1,z:this._getZoomForUrl(),styles:this.options.retina?"ph":"pl"});return this.options.tileProxy&&(t=this.options.tileProxy+encodeURIComponent(t)),t}}),qa=function(e,t){return new Ja(e,t)};fa.a.supermap.baiduTileLayer=qa;var Wa=fa.a.TileLayer.extend({defaultURL:"http://t2.supermapcloud.com/FileService/image",options:{mapName:"quanguo",type:"web",minZoom:3,maxZoom:18,attribution:Pa.Cloud.attribution},initialize:function(e,t){fa.a.setOptions(this,t);var i=e||this.defaultURL;this._url=i+"?map="+this.options.mapName+"&type="+this.options.type,fa.a.stamp(this)},getTileUrl:function(e){var t=this._url+"&x="+e.x+"&y="+e.y+"&z="+e.z;return this.options.tileProxy&&(t=this.options.tileProxy+encodeURIComponent(t)),t}}),Ya=function(e,t){return new Wa(e,t)};fa.a.supermap.cloudTileLayer=Ya;var Qa=da.Layer.extend({options:{layersID:null,redirect:!1,transparent:null,cacheEnabled:null,clipRegionEnabled:!0,prjCoordSys:null,overlapDisplayed:!1,overlapDisplayedOptions:null,opacity:1,alt:"",pane:"tilePane",interactive:!1,crossOrigin:!1,errorOverlayUrl:!1,zIndex:1,className:"",serverType:n.ISERVER,attribution:Pa.Common.attribution,updateInterval:150,format:"png"},initialize:function(e,t){this._url=e,da.Util.setOptions(this,t)},onAdd:function(e){this.update=da.Util.throttle(this.update,this.options.updateInterval,this),e.on("moveend",this.update,this),this._currentImage&&this._currentImage._bounds.equals(this._map.getBounds())?e.addLayer(this._currentImage):this._currentImage&&(this._map.removeLayer(this._currentImage),this._currentImage=null),this.update()},onRemove:function(e){this._currentImage&&this._map.removeLayer(this._currentImage),this._map.off("moveend",this.update,this)},bringToFront:function(){return this.options.position="front",this._currentImage&&this._currentImage.bringToFront(),this},bringToBack:function(){return this.options.position="back",this._currentImage&&this._currentImage.bringToBack(),this},getOpacity:function(){return this.options.opacity},setOpacity:function(e){return this.options.opacity=e,this._currentImage&&this._currentImage.setOpacity(e),this},getImageUrl:function(e){var t=da.Util.getParamString(e)+this._initLayerUrl();return t=this._url+"/image."+this.options.format+t,t=this._appendCredential(t),this.options.tileProxy&&(t=this.options.tileProxy+encodeURIComponent(t)),t},_getImageParams:function(){var e=this._calculateImageSize();return{viewBounds:this._compriseBounds(this._calculateBounds()),width:e.x,height:e.y}},_initLayerUrl:function(){var e="&";return e+=encodeURI(this._initAllRequestParams().join("&"))},_initAllRequestParams:function(){var e=this.options||{},t=[],i=!0===e.redirect&&e.redirect;t.push("redirect="+i);var s=!0===e.transparent&&e.transparent;t.push("transparent="+s);var r=!1!==e.cacheEnabled||e.cacheEnabled;return t.push("cacheEnabled="+r),e.prjCoordSys&&t.push("prjCoordSys="+JSON.stringify(e.prjCoordSys)),e.layersID&&t.push("layersID="+e.layersID),e.clipRegionEnabled&&e.clipRegion instanceof fa.a.Path&&(e.clipRegion=fa.a.Util.toSuperMapGeometry(e.clipRegion.toGeoJSON()),e.clipRegion=fe.toJSON(Mt.fromGeometry(e.clipRegion)),t.push("clipRegionEnabled="+e.clipRegionEnabled),t.push("clipRegion="+JSON.stringify(e.clipRegion))),!1===e.overlapDisplayed?(t.push("overlapDisplayed=false"),e.overlapDisplayedOptions&&t.push("overlapDisplayedOptions="+this.overlapDisplayedOptions.toString())):t.push("overlapDisplayed=true"),t},_requestImage:function(e,t){var i=this.getImageUrl(e);this._loadImage(i,t)},_loadImage:function(e,t){if(this._map){var i=new da.ImageOverlay(e,t,{opacity:0,alt:this.options.alt,zIndex:this.options.zIndex,className:this.options.className,errorOverlayUrl:this.options.error,crossOrigin:this.options.crossOrigin,pane:this.options.pane||this.getPane(),interactive:this.options.interactive}).addTo(this._map),s=function(e){i.off("error",s,this);var r=this._map;if(r){var n=e.target,a=this._currentImage;n._bounds&&n._bounds.equals(t)&&n._bounds.equals(r.getBounds())?(this._currentImage=n,"front"===this.options.position&&this.bringToFront(),"back"===this.options.position&&this.bringToBack(),this._currentImage._map&&this._currentImage.setOpacity(this.options.opacity),a&&r.removeLayer(a),a&&a._map&&a._map.removeLayer(a)):r.removeLayer(n),this.fire("load",{bounds:t})}};i.once("load",s,this),i.once("error",function(){this._map.removeLayer(i),this.fire("error"),i.off("load",s,this)},this),this.fire("loading",{bounds:t})}},update:function(){if(this._map){var e=this._map.getZoom(),t=this._map.getBounds();if(e>this._map.options.maxZoom||e0||a1){var h=parseInt(l[1]);o=h&&h>=4e3&&h<=5e3?p.DEGREE:p.METER}}return ja(a,96,o)},setTileSetsInfo:function(e){this.tileSets=e,fa.a.Util.isArray(this.tileSets)&&(this.tileSets=this.tileSets[0]),this.tileSets&&(this.fire("tilesetsinfoloaded",{tileVersions:this.tileSets.tileVersions}),this.changeTilesVersion())},lastTilesVersion:function(){this.tempIndex=this.tileSetsIndex-1,this.changeTilesVersion()},nextTilesVersion:function(){this.tempIndex=this.tileSetsIndex+1,this.changeTilesVersion()},changeTilesVersion:function(){var e=this;if(null!=e.tileSets&&!(e.tempIndex===e.tileSetsIndex||this.tempIndex<0)){var t=e.tileSets.tileVersions;if(t&&e.tempIndex=0){var i=t[e.tempIndex].name;e.mergeTileVersionParam(i)&&(e.tileSetsIndex=e.tempIndex,e.fire("tileversionschanged",{tileVersion:t[e.tempIndex]}))}}},updateCurrentTileSetsIndex:function(e){this.tempIndex=e},mergeTileVersionParam:function(e){return!!e&&(this.requestParams.tileversion=e,this._paramsChanged=!0,this.redraw(),this._paramsChanged=!1,!0)},_getLayerUrl:function(){return this._paramsChanged&&(this._layerUrl=this._createLayerUrl()),this._layerUrl||this._createLayerUrl()},_createLayerUrl:function(){var e=this._url+"/tileImage."+this.options.format+"?";return e+=encodeURI(this._getRequestParamString()),e=this._appendCredential(e),this._layerUrl=e,e},_getRequestParamString:function(){this.requestParams=this.requestParams||this._getAllRequestParams();var e=[];for(var t in this.requestParams)e.push(t+"="+this.requestParams[t]);return e.join("&")},_getAllRequestParams:function(){var e=this.options||{},t={},i=this.options.tileSize;i instanceof fa.a.Point||(i=fa.a.point(i,i)),t.width=i.x,t.height=i.y,t.redirect=!0===e.redirect,t.transparent=!0===e.transparent,t.cacheEnabled=!(!1===e.cacheEnabled),e.prjCoordSys&&(t.prjCoordSys=JSON.stringify(e.prjCoordSys)),e.layersID&&(t.layersID=e.layersID.toString()),e.clipRegionEnabled&&e.clipRegion instanceof fa.a.Path&&(e.clipRegion=Ga(e.clipRegion.toGeoJSON()),e.clipRegion=fe.toJSON(Mt.fromGeometry(e.clipRegion)),t.clipRegionEnabled=e.clipRegionEnabled,t.clipRegion=JSON.stringify(e.clipRegion));var s=this._crs;if(s.options&&s.options.origin)t.origin=JSON.stringify({x:s.options.origin[0],y:s.options.origin[1]});else if(s.projection&&s.projection.bounds){var r=s.projection.bounds,n=fa.a.point(r.min.x,r.max.y);t.origin=JSON.stringify({x:n.x,y:n.y})}return!1===e.overlapDisplayed?(t.overlapDisplayed=!1,e.overlapDisplayedOptions&&(t.overlapDisplayedOptions=this.overlapDisplayedOptions.toString())):t.overlapDisplayed=!0,!0===e.cacheEnabled&&e.tileversion&&(t.tileversion=e.tileversion.toString()),t},_appendCredential:function(e){var t,i,s=e;switch(this.options.serverType){case n.IPORTAL:(t=(i=We.getToken(this._url))?new Pe(i,"token"):null)||(t=(i=We.getKey(this._url))?new Pe(i,"key"):null);break;case n.ONLINE:t=(i=We.getKey(this._url))?new Pe(i,"key"):null;break;default:t=(i=We.getToken(this._url))?new Pe(i,"token"):null}return t&&(s+="&"+t.getUrlParameters()),s}}),io=function(e,t){return new to(e,t)};fa.a.supermap.tiledMapLayer=io;var so=i(15),ro=i.n(so),no={TEXT:{fontSize:"14px",fontFamily:"Arial Unicode MS Regular,Microsoft YaHei",textAlign:"left",color:"rgba(255,255,255,0)",fillColor:"rgba(80,80,80,1)",weight:1,globalAlpha:1},POINT:{fillColor:"#ffcc00",color:"#cc3333",weight:1,radius:3,opacity:1},LINE:{color:"rgba(0,0,0,0)",weight:1,lineCap:"butt",lineJoin:"round",dashOffset:0,dashArray:[],opacity:1},REGION:{color:"rgba(0,0,0,0)",fillColor:"rgba(0,0,0,0)",weight:1,lineCap:"butt",lineJoin:"round",dashOffset:0,opacity:1,fillOpacity:1,dashArray:[]}};fa.a.supermap.DefaultStyle=no;var ao={TEXT:{"text-size":"fontSize","text-face-name":"fontFamily","text-align":"textAlign","text-name":"textName","text-weight":"fontWeight","text-halo-color":"color","text-fill":"fillColor","text-comp-op":"globalCompositeOperation"},POINT:{"point-file":"iconUrl","point-fill":"fillColor","point-radius":"radius","point-halo-color":"color","point-comp-op":"globalCompositeOperation"},LINE:{"line-color":"color","line-width":"weight","line-cap":"lineCap","line-join":"lineJoin","line-dash-offset":"dashOffset","line-opacity":"opacity","line-dasharray":"dashArray","line-comp-op":"globalCompositeOperation"},REGION:{"line-color":"color","line-width":"weight","line-cap":"lineCap","line-join":"lineJoin","line-dash-offset":"dashOffset","line-opacity":"opacity","line-dasharray":"dashArray","polygon-fill":"fillColor","polygon-opacity":"fillOpacity","polygon-comp-op":"globalCompositeOperation"}},oo={lineWidth:{leafletStyle:"weight",type:"number",unit:"mm",defaultValue:.1},fillForeColor:{leafletStyle:"fillColor",type:"color",defaultValue:"rgba(0,0,0,0)"},foreColor:{leafletStyle:"color",type:"color",defaultValue:"rgba(0,0,0,0)"},markerSize:{leafletStyle:"markerSize",type:"number",unit:"mm",defaultValue:2.4},lineColor:{leafletStyle:"color",type:"color",defaultValue:"#000000"}},lo={clear:"",src:"",dst:"","src-over":"source-over","dst-over":"destination-over","src-in":"source-in","dst-in":"destination-in","src-out":"source-out","dst-out":"destination-out","src-atop":"source-atop","dst-atop":"destination-atop",xor:"xor",plus:"lighter",minus:"",multiply:"",screen:"",overlay:"",darken:"",lighten:"lighter","color-dodge":"","color-burn":"","hard-light":"","soft-light":"",difference:"",exclusion:"",contrast:"",invert:"","invert-rgb":"","grain-merge":"","grain-extract":"",hue:"",saturation:"",color:"",value:""};fa.a.supermap.CartoStyleMap=ao,fa.a.supermap.ServerStyleMap=oo,fa.a.supermap.CompOpMap=lo;class ho{constructor(e){this.cartoCSS=null,this.mapUrl=e}pretreatedCartoCSS(e,t){t&&(e=this.processCharacters(e)),this.cartoCSS=this.cartoCSS||{};var i=new Cn(e).getShaders();if(i)for(var s=0;s7?0:n.fillSymbolID,c=n.lineSymbolID>5?0:n.lineSymbolID;for(var p in n){var d=oo[p];if(d){var f=d.leafletStyle;switch(d.type){case"number":{let e=n[p];d.unit&&(e=e*s.DOTS_PER_INCH*s.INCHES_PER_UNIT[d.unit]*2.5),r[f]=e;break}case"color":{var m=n[p];let e,t=1;if("fillColor"===f)0!==u&&1!==u||(t=1-u,e="rgba("+m.red+","+m.green+","+m.blue+","+t+")");else if("color"===f){if(0===c||5===c)t=0===c?1:0;else{var y=[1,0];switch(c){case 1:y=[9.7,3.7];break;case 2:y=[3.7,3.7];break;case 3:y=[9.7,3.7,2.3,3.7];break;case 4:y=[9.7,3.7,2.3,3.7,2.3,3.7]}r.lineDasharray=y}e="rgba("+m.red+","+m.green+","+m.blue+","+t+")"}r[f]=e;break}}}}return t&&t.textField&&(r.textAlign="LEFT"),r}}fa.a.supermap.CartoCSSToLeaflet=ho;var uo=fa.a.Class.extend({initialize:function(e){var t=(e=e||{}).latLng||e._latLng;this._latLng=fa.a.latLng(t.lat,t.lng),this._style=e.style||e._canvas,this._attributes=e.attributes},setLatLng:function(e){this._latLng=e},setCanvas:function(e){this._style=e},setAttributes:function(e){this._attributes=e},getLatLng:function(){return this._latLng},getCanvas:function(){return this._style},getAttributes:function(){return this._attributes},setStyle:function(e){this._style=e},getStyle:function(){return this._style}}),co=function(e){return new uo(e)};fa.a.supermap.graphic=co;var po=fa.a.Class.extend({initialize:function(e,t){this.geometry=e,this.attributes=t},toFeature:function(){var e=this.geometry,t=[];if(e instanceof fa.a.Polygon)t=this.reverseLatLngs(e.getLatLngs()),e=new Ee(t);else if(e instanceof fa.a.Polyline)t=this.reverseLatLngs(e.getLatLngs()),e=new _e(t);else if(3===e.length)e=new Ce(e[1],e[0],e[2]);else{if(e instanceof fa.a.LatLng)t=[e.lng,e.lat];else if(e instanceof fa.a.Point)t=[e.x,e.y];else if(e instanceof fa.a.CircleMarker){var i=e.getLatLng();t=[i.lng,i.lat]}else t=e;2===t.length&&(e=new xe(t[0],t[1]))}return new Oe(e,this.attributes)},reverseLatLngs:function(e){fa.a.Util.isArray(e)||(e=[e]);for(var t=0;t0&&t._reset(),t.addTFEvents(),t.mouseMoveHandler=function(e){var i=e.layerPoint;t.currentMousePosition=fa.a.point(i.x+t.movingOffset[0],i.y+t.movingOffset[1])},e.on("mousemove",t.mouseMoveHandler),t.update()}else e.removeLayer(t)},addFeatures:function(e){},redrawThematicFeatures:function(e){},destroyFeatures:function(e){if(void 0===e&&(e=this.features),e){this.removeFeatures(e);for(var t=e.length-1;t>=0;t--)e[t].destroy()}},removeFeatures:function(e){var t=this;if(e&&0!==e.length){if(e===t.features)return t.removeAllFeatures();fa.a.Util.isArray(e)||(e=[e]);for(var i=[],s=e.length-1;s>=0;s--){var r=e[s],n=fa.a.Util.indexOf(t.features,r);-1!==n?t.features.splice(n,1):i.push(r)}for(var a=[],o=0,l=t.features.length;oh)){var y=o[0];o.splice(0,1),delete a[y]}}}}if(t.renderer.render(),s&&t.options.isHoverAble&&t.options.isMultiHover){var g=this.getShapesByFeatureID(s);this.renderer.updateHoverShapes(g)}},createThematicFeature:function(e){var t=this,i=t.getStyleByData(e);e.style&&t.isAllowFeatureStyle&&(i=fe.copyAttributesWithClip(e.style));var s={};s.nodesClipPixel=t.options.nodesClipPixel,s.isHoverAble=t.options.isHoverAble,s.isMultiHover=t.options.isMultiHover,s.isClickAble=t.options.isClickAble,s.highlightStyle=Kn.transformStyle(t.highlightStyle);for(var r=new ta(e,t,Kn.transformStyle(i),s),n=0;n0;if(t.themeField&&o&&i.attributes){var l=t.themeField,h=i.attributes;for(var u in h)if(l===u){n=!0,a=h[u];break}}if(n&&o)for(var c=0,p=r.length;c0;if(t.themeField&&o&&i.attributes){var l=t.themeField,h=i.attributes;for(var u in h)if(l===u){n=!0,a=h[u];break}}if(n&&o)for(var c=0,p=r.length;c=r[c].start&&a<=r[c].end:a>=r[c].start&&a=0&&d.x<=h.x&&d.y>=0&&d.y<=h.y){if(i.style.minZoomLevel>-1&&u<=i.style.minZoomLevel)continue;if(i.style.maxZoomLevel>-1&&u>i.style.maxZoomLevel)continue;var f=null;i.isStyleChange?(i.isStyleChange=null,f=this.calculateLabelBounds(i,d)):f=i.geometry.bsInfo.w&&i.geometry.bsInfo.h?this.calculateLabelBounds2(i,d):this.calculateLabelBounds(i,d);var m=new ye(0,h.y,h.x,0),y=f.length;if(this.options.isAvoid){var g=this.getAvoidInfo(m,f);if(g){if("left"===g.aspectW){i.style.labelXOffset+=g.offsetX;for(let e=0;e=r[l].start&&a=r[l].start&&ao&&(o=i,l="top")}if(t.y>e.bottom){let i=Math.abs(t.y-e.bottom);i>o&&(o=i,l="bottom")}if(t.xa&&(a=i,h="left")}if(t.x>e.right){let i=Math.abs(t.x-e.right);i>a&&(a=i,h="right")}}}},isQuadrilateralOverLap:function(e,t){var i=e.length,s=t.length;if(5!==i||5!==s)return null;var r=!1;for(let s=0;s=0&&e.options.fontOpacity<1&&(i.globalAlpha=e.options.fontOpacity),i.fillText){i.font=s,i.textAlign=e.options.textAlign,i.textBaseline=e.options.textBaseline;let r=e.options.vfactor,o=i.measureText("Mg").height||i.measureText("xx").width;t.y+=o*r*(a-1);for(let s=0;s0;){var r=t.pop(),n=r.type,a=r.layerType=r.layerType||"BASE_LAYER";"OVERLAY_LAYER"!==a&&(n=a),this.createLayer(n,r)}this.fire("mapLoaded",{map:this._map})}},createCRS:function(e,t,i,s,r){return e<0?new ga({bounds:r,origin:s,resolutions:i}):910112===e||910102===e?fa.a.CRS.BaiduCRS:(910111===e&&(e=3857),910101===e&&(e=4326),fa.a.Proj.CRS("EPSG:"+e,{origin:s,resolutions:i,bounds:r}))},createMap:function(e){var t=e.crs||fa.a.CRS.EPSG3857,i=fa.a.latLngBounds(t.unproject(e.bounds.min),t.unproject(e.bounds.max));this._map=fa.a.map(this.options.map,{center:i.getCenter(),maxZoom:e.maxZoom||22,minZoom:e.minZoom||0,zoom:e.zoom||0,crs:t,renderer:fa.a.canvas()}),t instanceof ga?this._map.setZoom(e.zoom?e.zoom+2:2,{maxZoom:e.maxZoom||22}):this._map.fitBounds(i,{maxZoom:e.maxZoom||22})},getResolutionsFromScales:function(e,t,i,s){for(var r=[],n=0;n{var t=fa.a.geoJSON(e.result,{pointToLayer:function(e,t){var i=new fa.a.Marker(t);return i.setStyle=function(e){e&&i.setIcon(e)},i},coordsToLatLng:a,style:function(e){return this.cartoCSSToLeaflet.getStyleFromiPortalStyle(i||{},e.geometry.type,e.properties.style)},opacity:s});this.options.featureLayerPopupEnable&&t.bindPopup(n.options.featureLayerPopup||n.defaultFeatureLayerPopup),this.addLayer(t)})}},getFeaturesBySQL:function(e,t,i,s,r,n){var a=new $i({queryParameter:{name:i+"@"+t,attributeFilter:s=s||"SMID > 0"},datasetNames:[t+":"+i],fromIndex:0,toIndex:1e5});To(e).getFeaturesBySQL(a,n,r)},createThemeLayer:function(e){var t,i=e.themeSettings&&JSON.parse(e.themeSettings),s=i.type;if(e.themeSettings=i,(t="HEAT"===s?this.createHeatLayer(e,i):"UNIQUE"===s?this.createUniqueLayer(e,i):"RANGE"===s?this.createRangeLayer(e,i):this.createBaseThemeLayer(e,i))&&(this.addFeature2ThemeLayer(e,t),t.on("add",e=>{this.registerThemeEvent(e.target)})),i&&i.labelField){var r=this.createLabelLayer(e,i);r.on("add",e=>{this.registerThemeEvent(e.target)}),t.labelLayer=r}return t},createBaseThemeLayer:function(e,t){let i=e.style,s=e.opacity,r=t.vectorType,n=i.pointStyle;n.fill="LINE"!==r;var a={};a.radius=n.pointRadius,a.color=n.strokeColor,a.opacity=n.strokeOpacity,a.lineCap=n.strokeLineCap,a.weight=n.strokeWidth,a.fillColor=n.fillColor,a.fillOpacity=n.fillOpacity;var o=(e,t)=>fa.a.circleMarker(t,a);return n.unicode&&(o=((e,t)=>new Mo(t,n))),fa.a.geoJSON({type:"GeometryCollection",geometries:[]},{pointToLayer:o,opacity:s})},createUniqueLayer:function(e,t){for(var i=e.title,s=t.field,r=[],n=t.settings,a=e.isVisible,o=e.opacity,l=t.vectorType,h=0;h0?{fillColor:"#ffffff"}:n[0].style;var o=fa.a.Util.extend(new Tn,i);o.fontWeight="bold",o.fontSize="14px",o.labelRect=!0,o.strokeColor=o.fillColor,o.fontColor=t.labelColor,t.labelFont&&(o.fontFamily=t.labelFont);var l=new xo(s,{visibility:a,opacity:.7});return this.registerThemeEvent(l),l.style=o,l.themeField=r,l.styleGroups=[],l},createHeatLayer:function(e,t){let i,s=t.colors||["blue","cyan","lime","yellow","red"],r={};for(let e=0,t=s.length,i=1;e0&&n.push(r[o]);else for(var h=0,u=(r=i.parseFeatureFromJson(s.content)).length;h0&&n.push(r[h]);var c=e.prjCoordSys&&e.prjCoordSys.epsgCode;a?i.changeFeatureLayerEpsgCode(c,"4326",t,n,function(e){A(e)}):A(n)},function(){});else{for(var g=[],v=e.features,S=0,b=v.length;S0){var _=x.geometry.points[0].x,C=x.geometry.points[0].y,T=new xe(_,C),M=new Oe(T,x.attributes,x.style);g.push(M)}}A(g)}}else if(s){var w=e.datasourceName;u=(h=(l=e.subLayers&&JSON.parse(e.subLayers)).length&&l.length>0?l[0]:l)&&h.name,this.getFeaturesBySQL(e.url,w,u,d.filter,r.ISERVER,i=>{var s,r,n=i.result,o=[];if(n&&n.features){for(var l=0,h=(s=n.features).length;l0?l[0]:l)&&h.name;var E=e.prjCoordSys&&e.prjCoordSys.epsgCode;this.getFeaturesBySQL(c,p,u,f,r.ISERVER,function(e){a?i.changeFeatureLayerEpsgCode(E,"4326",t,e,function(e){A(e)}):A(e)})}}function A(s){if(t&&t.labelLayer instanceof xo&&i.addFeature2LabelLayer(t.labelLayer,s,e),fa.a.HeatLayer&&t instanceof fa.a.HeatLayer){var r=[];for(let e=0,i=s.length;e0){for(n=0,a=s.length;n==/g,">=").replace(/<==/g,"<="))+")":" * where (1==1||1>=0)"},getAttributesObjFromTable:function(e,t){if(0!==e.length&&0!==t.length){for(var i=[],s=0;se.json()).then(e=>{t&&t(e)}).catch(e=>i&&i(e))},getCartoCSS2Obj:function(e){var t,i=!1;return e.indexOf("}")>-1?(i=(e=JSON.parse(e)).needTransform,t=e.isAddFile):"needTransform"===e?(i=!0,t=!1):t="true"===e,{isAddFile:t,needTransform:i}},registerThemeEvent:function(e){e.on("click",t=>{if(!e.map)return;let i;this.selectedFeature&&(this.fire("featureUnSelected",{feature:this.selectedFeature}),this.selectedFeature=null),t.target&&t.target.refDataID&&(i=e.getFeatureById(t.target.refDataID)),i&&(this.selectedFeature=i,this.fire("featureSelected",{feature:i}))}),e.on("mousemove",t=>{if(e.map&&t.target&&t.target.refDataID){let i;t.target&&t.target.refDataID&&(i=e.getFeatureById(t.target.refDataID)),i&&this.fire("featureMousemove",{feature:i})}})},SERVER_TYPE_MAP:{"EPSG:4326":"WGS84","EPSG:3857":"MERCATOR","EPSG:900913":"MERCATOR","EPSG:102113":"MERCATOR","EPSG:910101":"GCJ02","EPSG:910111":"GCJ02MERCATOR","EPSG:910102":"BD","EPSG:910112":"BDMERCATOR"}}),Ao=function(e,t){return new Eo(e,t)};fa.a.supermap.webmap=Ao;var Po=La.extend({options:{geometry:null,prjCoordSys:null,excludeField:null},initialize:function(e,t){t=t||{},fa.a.setOptions(this,t),t.projection&&(this.options.prjCoordSys=t.projection),La.prototype.initialize.call(this,e,t),this.dataFlow=new qt(e,t),this.dataFlow.events.on({broadcastSocketConnected:this._defaultEvent,broadcastSocketError:this._defaultEvent,broadcastFailed:this._defaultEvent,broadcastSuccessed:this._defaultEvent,subscribeSocketConnected:this._defaultEvent,subscribeSocketError:this._defaultEvent,messageSuccessed:this._defaultEvent,setFilterParamSuccessed:this._defaultEvent,scope:this})},initBroadcast:function(){return this.dataFlow.initBroadcast(),this},broadcast:function(e){this.dataFlow.broadcast(e)},initSubscribe:function(){return this.dataFlow.initSubscribe(),this},setExcludeField:function(e){return this.dataFlow.setExcludeField(e),this.options.excludeField=e,this},setGeometry:function(e){return this.dataFlow.setGeometry(e),this.options.geometry=e,this},unSubscribe:function(){this.dataFlow.unSubscribe()},unBroadcast:function(){this.dataFlow.unBroadcast()},_defaultEvent:function(e){this.fire(e.eventType||e.type,e)}}),Lo=function(e,t){return new Po(e,t)};fa.a.supermap.dataFlowService=Lo;var No=i(23),Io=No.baiduMapLayer?No.baiduMapLayer.__proto__:Function;class Oo extends Io{constructor(e,t,i,s){if(super(e,i,s),Io){s=s||{},this.init(s),this.argCheck(s),this.canvasLayer=t,this.clickEvent=this.clickEvent.bind(this),this.mousemoveEvent=this.mousemoveEvent.bind(this),this._moveStartEvent=this.moveStartEvent.bind(this),this._moveEndEvent=this.moveEndEvent.bind(this),this._zoomstart=this.zoomStartEvent.bind(this),this.bindEvent()}}clickEvent(e){var t=this.map.containerPointToLayerPoint([0,0]),i=this.devicePixelRatio=this.canvasLayer.devicePixelRatio=window.devicePixelRatio,s=e.layerPoint;super.clickEvent(fa.a.point((s.x-t.x)/i,(s.y-t.y)/i),e)}mousemoveEvent(e){var t=e.layerPoint;super.mousemoveEvent(t,e)}bindEvent(){var e=this.map;this.options.methods&&(this.options.methods.click&&e.on("click",this.clickEvent),this.options.methods.mousemove&&e.on("mousemove",this.mousemoveEvent)),this.map.on("movestart",this._moveStartEvent),this.map.on("moveend",this._moveEndEvent),this.map.on("zoomstart",this._zoomstart)}unbindEvent(){var e=this.map;this.options.methods&&(this.options.methods.click&&e.off("click",this.clickEvent),this.options.methods.mousemove&&e.off("mousemove",this.mousemoveEvent)),this.map.off("movestart",this._moveStartEvent),this.map.off("moveend",this._moveEndEvent),this.map.off("zoomstart",this._zoomStartEvent)}getContext(){return this.canvasLayer.getCanvas().getContext(this.context)}addData(e,t){var i=e;e&&e.get&&(i=e.get()),this.dataSet.add(i),this.update({options:t})}update(e){var t=e||{},i=t.data;i&&i.get&&(i=i.get()),void 0!=i&&this.dataSet.set(i),super.update({options:t.options})}getData(){return this.dataSet}removeData(e){if(this.dataSet){var t=this.dataSet.get({filter:function(t){return null==e||"function"!=typeof e||!e(t)}});this.dataSet.set(t),this.update({options:null})}}clearData(){this.dataSet&&this.dataSet.clear(),this.update({options:null})}_canvasUpdate(e){if(this.canvasLayer){var t=this,i=t.options.animation,s=this.getContext(),r=this.map;if(t.isEnabledTime()){if(void 0===e)return void this.clear(s);"2d"===this.context&&(s.save(),s.globalCompositeOperation="destination-out",s.fillStyle="rgba(0, 0, 0, .1)",s.fillRect(0,0,s.canvas.width,s.canvas.height),s.restore())}else this.clear(s);if("2d"===this.context)for(var n in t.options)s[n]=t.options[n];else s.clear(s.COLOR_BUFFER_BIT);if(!(t.options.minZoom&&r.getZoom()t.options.maxZoom)){var a=r.getBounds(),o=a.getEast()-a.getWest(),l=a.getNorth()-a.getSouth(),h=r.getSize(),u=o/h.x,c=l/h.y,p=r.latLngToLayerPoint(r.getCenter()),d=this.canvasLayer.getTopLeft(),f=r.latLngToAccurateContainerPoint(d),m={transferCoordinate:function(e){var i,s={x:(i="2d"===t.context?r.latLngToAccurateContainerPoint(fa.a.latLng(e[1],e[0])):{x:(e[0]-d.lng)/u,y:(d.lat-e[1])/c}).x-f.x,y:i.y-f.x};return[s.x,s.y]}};void 0!==e&&(m.filter=function(t){var s=i.trails||10;return e&&t.time>e-s&&t.time{this.update({data:this.data,options:this.mapVOptions})})),s.icon=a,(r.options.iconSize||a.style.height)&&(this.mapVOptions.offset={x:0,y:-(r.options.iconSize[1]||a.style.height)/2}),this.options.deg&&(s.deg=this.options.deg,"function"==typeof s.deg&&(s.deg=s.deg(e.featureResult,fa.a.latLng(i.coordinates[1],i.coordinates[0]))))}if(t instanceof fa.a.CircleMarker){this.mapVOptions.draw="simple";const e=this._toMapvStyle(t);for(const t in e)e.hasOwnProperty(t)&&(s[t]=e[t])}}else if(this.options.style){const t=this._toMapvStyle(this.options.style(e.featureResult));for(const e in t)t.hasOwnProperty(e)&&(s[e]=t[e])}void 0==this.idCache[t]?(this.data.push(s),this.idCache[t]=this.data.length-1):this.data[this.idCache[t]]=s,new Date-this._last>200&&(this._last=new Date,this.update({data:this.data,options:this.mapVOptions}))},_toMapvStyle:function(e){const t={draw:"simple"};return t.strokeStyle=e.color,t.lineWidth=e.width,t.globalAlpha=e.fillOpacity||e.opacity,t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.fillStyle=e.fillColor,t.size=e.radius,t}}),ko=fa.a.GeoJSON.extend({initialize:function(e,t){(t=t||{}).style&&!t.pointToLayer&&(t.pointToLayer=function(e,i){return fa.a.circleMarker(i,t.style())}),fa.a.Util.setOptions(this,t),this._layers={},fa.a.stamp(this),this.url=e,this.idCache={}},onMessageSuccessed:function(e){const t=e.featureResult,i=e.featureResult.properties[this.options.idField];let s=null;void 0!==i&&this.idCache[i]?(s=this.getLayer(this.idCache[i]),this._updateLayerData(s,t)):((s=fa.a.GeoJSON.geometryToLayer(t,this.options)).feature=fa.a.GeoJSON.asFeature(t),this.addLayer(s),void 0!==i&&(this.idCache[i]=this.getLayerId(s))),this.options.onEachFeature&&this.options.onEachFeature(t,s)},_updateLayerData:function(e,t){t.properties&&(e.feature.properties=t.properties);var i=[];switch(t.geometry.type){case"Point":i=fa.a.GeoJSON.coordsToLatLng(t.geometry.coordinates),e.setLatLng(i);break;case"LineString":i=fa.a.GeoJSON.coordsToLatLngs(t.geometry.coordinates,0),e.setLatLngs(i);break;case"MultiLineString":case"Polygon":i=fa.a.GeoJSON.coordsToLatLngs(t.geometry.coordinates,1),e.setLatLngs(i);break;case"MultiPolygon":i=fa.a.GeoJSON.coordsToLatLngs(t.geometry.coordinates,2),e.setLatLngs(i)}}}),Bo=fa.a.LayerGroup.extend({options:{geometry:null,prjCoordSys:null,excludeField:null,idField:"id",render:"normal"},initialize:function(e,t){t=t||{},fa.a.Util.setOptions(this,t),this.url=e,this._layers={}},onAdd:function(e){this.dataService=new Po(this.url,{geometry:this.options.geometry,prjCoordSys:this.options.prjCoordSys,excludeField:this.options.excludeField}).initSubscribe(),this.dataService.on("subscribeSocketConnected",e=>this.fire("subscribesuccessed",e)),this.dataService.on("messageSuccessed",e=>this._onMessageSuccessed(e)),this.dataService.on("setFilterParamSuccessed",e=>this.fire("setfilterparamsuccessed",e)),"mapv"===this.options.render?this.addLayer(new Do(this.url,this.options)):this.addLayer(new ko(this.url,this.options)),fa.a.LayerGroup.prototype.onAdd.call(this,e)},onRemove:function(e){fa.a.LayerGroup.prototype.onRemove.call(this,e),this.dataService&&this.dataService.unSubscribe()},setExcludeField:function(e){return this.dataService.setExcludeField(e),this.options.excludeField=e,this},setGeometry:function(e){return this.dataService.setGeometry(e),this.options.geometry=e,this},_onMessageSuccessed:function(e){for(const t of this.getLayers())t.onMessageSuccessed(e),this.fire("dataupdated",{layer:t,data:e.featureResult})}}),Go=function(e,t){return new Bo(e,t)};fa.a.supermap.dataFlowLayer=Go;var Uo=i(2),jo=i.n(Uo);const zo=fa.a.Layer.extend({includes:[],_echartsContainer:null,_map:null,_ec:null,_echartsOptions:null,options:{attribution:Pa.ECharts.attribution,loadWhileAnimating:!1},initialize:function(e,t){fa.a.Util.setOptions(this,t),this.setOption(e)},setOption:function(e,t,i){const s=e.baseOption||e;s.LeafletMap=s.LeafletMap||{roam:!0},s.animation=!0===s.animation,this._echartsOptions=e,this._ec&&this._ec.setOption(e,t,i)},getEcharts:function(){return this._ec},_disableEchartsContainer:function(){this._echartsContainer.style.visibility="hidden"},_enableEchartsContainer:function(){this._echartsContainer.style.visibility="visible"},onAdd:function(e){this._map=e,this._initEchartsContainer(),this._ec=jo.a.init(this._echartsContainer),jo.a.leafletMap=e;const t=this;e.on("zoomstart",function(){t._disableEchartsContainer()}),!t.options.loadWhileAnimating&&e.on("movestart",function(){t._disableEchartsContainer()}),jo.a.registerAction({type:"LeafletMapLayout",event:"LeafletMapLayout",update:"updateLayout"},function(e,t){}),jo.a.registerCoordinateSystem("leaflet",Vo),jo.a.extendComponentModel({type:"LeafletMap",getBMap:function(){return this.__LeafletMap},defaultOption:{roam:!1}}),jo.a.extendComponentView({type:"LeafletMap",render:function(e,i,s){let r=!0;const n=jo.a.leafletMap,a=s.getZr().painter.getViewportRoot(),o=n.options.zoomAnimation&&fa.a.Browser.any3d;a.className=" leaflet-layer leaflet-zoom-"+(o?"animated":"hide")+" echarts-layer";const l=fa.a.DomUtil.testProp(["transformOrigin","WebkitTransformOrigin","msTransformOrigin"]);a.style[l]="50% 50%";const h=e.coordinateSystem,u=s.getZr().painter.getLayers(),c=function(){if(r)return;const i=t._map.containerPointToLayerPoint([0,0]),n=[i.x||0,i.y||0];if(a.style.left=n[0]+"px",a.style.top=n[1]+"px",!t.options.loadWhileAnimating){for(let e in u)u.hasOwnProperty(e)&&u[e]&&(o=u[e].ctx)&&o.clearRect&&o.clearRect(0,0,o.canvas.width,o.canvas.height);t._enableEchartsContainer()}var o;h.setMapOffset(n),e.__mapOffset=n,s.dispatchAction({type:"LeafletMapLayout"})};function p(){r||(s.dispatchAction({type:"LeafletMapLayout"}),t._enableEchartsContainer())}this._oldMoveHandler&&n.off(t.options.loadWhileAnimating?"move":"moveend",this._oldMoveHandler),this._oldZoomEndHandler&&n.off("zoomend",this._oldZoomEndHandler),n.on(t.options.loadWhileAnimating?"move":"moveend",c),n.on("zoomend",p),this._oldMoveHandler=c,this._oldZoomEndHandler=p,r=!1}}),this._ec.setOption(this._echartsOptions)},onRemove:function(){this._ec.dispose(),fa.a.DomUtil.remove(this._echartsContainer),this._map.off("zoomend",this._oldZoomEndHandler),this._map.off(this.options.loadWhileAnimating?"move":"moveend",this._oldMoveHandler),this._map.off("resize",this._resizeHandler)},_initEchartsContainer:function(){const e=this._map.getSize(),t=document.createElement("div");t.style.position="absolute",t.style.height=e.y+"px",t.style.width=e.x+"px",t.style.zIndex=10,this._echartsContainer=t,this._map.getPanes().overlayPane.appendChild(this._echartsContainer);const i=this;function s(e){let t=e.newSize;i._echartsContainer.style.width=t.x+"px",i._echartsContainer.style.height=t.y+"px",i._ec.resize()}this._map.on("resize",s),this._resizeHandler=s}});function Vo(e){this._LeafletMap=e,this.dimensions=["lng","lat"],this._mapOffset=[0,0]}Vo.prototype.dimensions=["lng","lat"],Vo.prototype.setMapOffset=function(e){this._mapOffset=e},Vo.prototype.getBMap=function(){return this._LeafletMap},Vo.prototype.prepareCustoms=function(){const e=jo.a.util,t=this.getViewRect();return{coordSys:{type:"leaflet",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:e.bind(this.dataToPoint,this),size:e.bind(function(t,i){return i=i||[0,0],e.map([0,1],function(e){const s=i[e],r=t[e]/2,n=[],a=[];return n[e]=s-r,a[e]=s+r,n[1-e]=a[1-e]=i[1-e],Math.abs(this.dataToPoint(n)[e]-this.dataToPoint(a)[e])},this)},this)}}},Vo.prototype.dataToPoint=function(e){null===e[1]&&(e[1]=fa.a.CRS.EPSG3857.projection.MAX_LATITUDE);const t=this._LeafletMap.latLngToLayerPoint([e[1],e[0]]),i=this._mapOffset;return[t.x-i[0],t.y-i[1]]},Vo.prototype.fixLat=function(e){return e>=90?89.99999999999999:e<=-90?-89.99999999999999:e},Vo.prototype.pointToData=function(e){let t=this._mapOffset,i=this._LeafletMap.layerPointToLatLng([e[0]+t[0],e[1]+t[1]]);return[i.lng,i.lat]},Vo.prototype.getViewRect=function(){const e=this._LeafletMap.getSize();return new jo.a.graphic.BoundingRect(0,0,e.x,e.y)},Vo.prototype.getRoamTransform=function(){return jo.a.matrix.create()},Vo.dimensions=Vo.prototype.dimensions,Vo.create=function(e){let t;e.eachComponent("LeafletMap",function(e){t||(t=new Vo(jo.a.leafletMap)),e.coordinateSystem=t,e.coordinateSystem.setMapOffset(e.__mapOffset||[0,0])}),e.eachSeries(function(e){e.get("coordinateSystem")&&"leaflet"!==e.get("coordinateSystem")||(t||(t=new Vo(jo.a.leafletMap)),e.coordinateSystem=t,e.animation=!0===e.animation)})};const Ho=function(e,t){return new zo(e,t)};fa.a.supermap.echartsLayer=Ho;function Jo(e){var t=document.createElement("canvas");return t&&t.getContext(e)}var qo=fa.a.Class.extend({options:{radius:10,angele:60,spaceAngle:0,count:3,fill:!1,stroke:!0,color:"#3388ff",weight:1,lineCap:"round",lineJoin:"round",fillColor:"#66ccff",fillOpacity:.2,fillRule:"evenodd",opacity:1},initialize:function(e){e=e||{},fa.a.Util.setOptions(this,e),this._canvas=document.createElement("canvas"),this._canvas.width=2*(this.options.radius+this.options.weight),this._canvas.height=2*(this.options.radius+this.options.weight),this._ctx=this._canvas.getContext("2d");var t=void 0===this.options.stroke.width?1:this.options.stroke.width;this.options.width=2*(this.options.radius+t)+1,this._initStyle()},getStyle:function(){return this._canvas},drawSector:function(e,t,i,s,r,n){r=r/180*Math.PI,n=n/180*Math.PI,e.moveTo(t,i),e.lineTo(t+s*Math.cos(r),i+s*Math.sin(r)),e.arc(t,i,s,r,n),e.lineTo(t,i)},_initStyle:function(){var e=0,t=this.options,i=t.angle;if(t.spaceAngle=360/t.count-t.angle,!(t.spaceAngle<0)){this._ctx.beginPath(),this.anchor=[t.width/2,t.width/2];for(var s=0;s-1&&(this._data=e),this._renderLayer.setChangeFlags({dataChanged:!0,propsChanged:!0,viewportChanged:!0,updateTriggersChanged:!0}),this._refreshData();let t=this._getLayerState();t.data=this._data||[],this._layerDefaultStyleCache=null,this._renderLayer.setNeedsRedraw(!0),this._renderLayer.setState(t)},drawGraphics:function(e){this._data=e||[],this._renderLayer||this._createInnerRender(),this._draw()},_initContainer:function(){this._container=this._createCanvas(this.options.width,this.options.height),this._layerContainer=this.options.container,this._wrapper=fa.a.DomUtil.create("div","deck-wrapper",this._layerContainer),this._wrapper.appendChild(this._container)},_createCanvas:function(e,t){let i=fa.a.DomUtil.create("canvas","graphicLayer leaflet-layer leaflet-zoom-hide");return i.oncontextmenu=fa.a.Util.falseFn,i.width=e,i.height=t,i.style.width=e+"px",i.style.height=t+"px",i},_pixelToMeter:function(e){const t=this.layer._map.getBounds();return e*((t.getEast()-t.getWest())/this.layer._map.getSize().x*(6378137*Math.PI/180))},_createInnerRender:function(){let e=this,t=this._getLayerState(),{color:i,radius:s,opacity:r,highlightColor:n,radiusScale:a,radiusMinPixels:o,radiusMaxPixels:l,strokeWidth:h,outline:u}=t,c={id:"scatter-plot",data:e._data,pickable:Boolean(this.options.onClick)||Boolean(this.options.onHover),autoHighlight:!0,color:i,opacity:r,radius:s,radiusScale:a,highlightColor:n,radiusMinPixels:o,radiusMaxPixels:l,strokeWidth:h,outline:u,getPosition:function(e){if(!e)return[0,0,0];let t=e&&e.getLatLng();return t&&[t.lng,t.lat,0]},getColor:function(t){let i=e._getLayerDefaultStyle(),s=t&&t.options;return s&&s.color||i.color},getRadius:function(t){let i=e._getLayerDefaultStyle(),s=t&&t.getStyle();return s&&s.radius||i.radius},updateTriggers:{getColor:[i],getRadius:[s]}},p=this;this.options.onClick&&(c.onClick=function(){p._container.style.cursor="pointer",p.options.onClick.apply(p,arguments)}),this.options.onHover&&(c.onHover=function(){p._container.style.cursor="pointer",p.options.onHover.apply(p,arguments)}),e._renderLayer=new window.DeckGL.ScatterplotLayer(c)},_getLayerDefaultStyle:function(){if(this._layerDefaultStyleCache)return this._layerDefaultStyleCache;let{color:e,opacity:t,radius:i,radiusScale:s,radiusMinPixels:r,radiusMaxPixels:n,strokeWidth:a,outline:o}=this.layer.options;return i=this._pixelToMeter(i),this._layerDefaultStyleCache={color:e,opacity:t,radius:i,radiusScale:s,radiusMinPixels:r,radiusMaxPixels:n,strokeWidth:a,outline:o},this._layerDefaultStyleCache},_getLayerState:function(){let e=this.layer.getState();return e.zoom=e.zoom-1,e},_draw:function(){let e=this._getLayerState();this._refreshData(),e.data=this._data||[];let t={};for(let i in e)t[i]=e[i];this._layerDefaultStyleCache=null,this._renderLayer.setNeedsRedraw(!0),t.layers=[this._renderLayer],t.canvas=this._container,t.onBeforeRender=this._onBeforeRender.bind(this),t.onAfterRender=this._onAfterRender.bind(this),this.deckGL?this.deckGL.setProps(t):this.deckGL=new window.DeckGL.experimental.DeckGLJS(t)},_clearBuffer:function(){let e=this.deckGL.layerManager;return e&&e.context.gl.clear(e.context.gl.COLOR_BUFFER_BIT),this},_refreshData:function(){let e=this._data||[],t=fa.a.Util.isArray(e)?[].concat(e):[e];this._renderLayer.props.data||(this._renderLayer.props.data=[]),this._renderLayer.props.data.length=0;for(let e=0;e`rgba(${e[0]},${e[1]},${e[2]},${(e[3]||255)/255})`,_getGraphicsInBounds:function(){let e=[],t=this._map.getBounds();return this.graphics.map(function(i){return t.contains(i.getLatLng())&&e.push(i),i}),e},_handleClick:function(e){this._layerRenderer._handleClick(e)},beforeAdd:fa.a.Util.falseFn,_containsPoint:fa.a.Util.falseFn});let al=function(e,t){return new nl(e,t)};fa.a.supermap.graphicLayer=al;var ol=mo.extend({options:{isOverLay:!0},initialize:function(e,t,i){var s=[];s.push(e),s.push(i),mo.prototype.initialize.apply(this,s),this.chartsType=t,this.themeFields=i&&i.themeFields?i.themeFields:null,this.charts=i&&i.charts?i.charts:[],this.cache=i&&i.cache?i.cache:{},this.chartsSetting=i&&i.chartsSetting?i.chartsSetting:{}},setChartsType:function(e){this.chartsType=e,this.redraw()},addFeatures:function(e){var t=this;t.fire("beforefeaturesadded",{features:e}),this.features=this.toiClientFeature(e),t.renderer&&(t._map?t.redrawThematicFeatures(t._map.getBounds()):t.redrawThematicFeatures())},redrawThematicFeatures:function(e){var t=this;t.renderer.clearAll();var i=t.features;if(this.options.alwaysMapCRS&&e&&e instanceof fa.a.LatLngBounds){var s=this._map.options.crs;e=fa.a.bounds(s.project(e.getSouthWest()),s.project(e.getNorthEast()))}e=ka.toSuperMapBounds(e);for(var r=0,n=i.length;r=i.left&&a.x<=i.right&&a.y>=i.top&&a.y<=i.bottom){s=!0;break}}return s},clearCache:function(){this.cache={},this.charts=[]},removeFeatures:function(e){this.clearCache(),mo.prototype.removeFeatures.apply(this,arguments)},removeAllFeatures:function(){this.clearCache(),mo.prototype.removeAllFeatures.apply(this,arguments)},redraw:function(){return this.clearCache(),mo.prototype.redraw.apply(this,arguments)},clear:function(){var e=this;e.renderer&&(e.renderer.clearAll(),e.renderer.refresh()),e.removeAllFeatures(),e.clearCache()},getWeightFieldValue:function(e,t,i){if((void 0===i||isNaN(i))&&(i=0),!e.attributes)return i;var s=e.attributes[t];return(void 0===s||isNaN(s))&&(s=i),s},_sortChart:function(){this.charts&&this.charts.sort(function(e,t){return void 0===e.__overlayWeight&&void 0===t.__overlayWeight?0:void 0!==e.__overlayWeight&&void 0===t.__overlayWeight?-1:void 0===e.__overlayWeight&&void 0!==t.__overlayWeight?1:void 0!==e.__overlayWeight&&void 0!==t.__overlayWeight?parseFloat(e.__overlayWeight)1?i.weight/10:i.weight)):t.setAttribute("stroke","none"),i.fill?(t.setAttribute("fill",i.fillColor||i.color),t.setAttribute("fill-opacity",i.fillOpacity)):t.setAttribute("fill","none")}});var yl=fa.a.CircleMarker.extend({includes:fl.prototype,statics:{iconCache:{}},initialize:function(e,t){fl.prototype.initialize.call(this,e),this._makeFeatureParts(e,t)},render:function(e,t){fl.prototype.render.call(this,e,t),this._radius=t.radius||fa.a.CircleMarker.prototype.options.radius,this._updatePath()},_makeFeatureParts:function(e,t){t=t||{x:1,y:1};var i=e.geometry[0];"object"==typeof i[0]&&"x"in i[0]?(this._point=fa.a.point(i[0]).scaleBy(t),this._empty=fa.a.Util.falseFn):(this._point=fa.a.point(i).scaleBy(t),this._empty=fa.a.Util.falseFn)},makeInteractive:function(){this._updateBounds()},updateStyle:function(e,t){return this._radius=t.radius||this._radius,this._updateBounds(),fl.prototype.updateStyle.call(this,e,t)},_updateBounds:function(){if(this.options.iconUrl&&this.options.iconSize){var e=fa.a.point(this.options.iconSize),t=e&&e.divideBy(2,!0),i=this._point.subtract(t);this._pxBounds=new fa.a.Bounds(i,i.add(e))}else fa.a.CircleMarker.prototype._updateBounds.call(this)},_updatePath:function(){this.options.iconUrl?this._renderer._updateIcon(this):fa.a.CircleMarker.prototype._updatePath.call(this)},_getImage:function(){if(!this.options.iconUrl)return null;var e=this.options.iconUrl,t=yl.iconCache[e];if(!t){var i=this.options.iconSize||[50,50];t=yl.iconCache[e]=this._createIcon(e,i)}return t},_createIcon:function(e,t){var i=e;if(!i)throw new Error("iconUrl not set in Icon options (see the docs).");var s=document.createElement("img");s.src=i,s.className="leaflet-marker-icon "+(this.layerName||"");var r=t;if("number"==typeof r&&(r=[r,r]),r){var n=fa.a.point(r),a=fa.a.point(n&&n.divideBy(2,!0));n&&(s.style.width=n.x+"px",s.style.height=n.y+"px"),a&&(s.style.marginLeft=-a.x+"px",s.style.marginTop=-a.y+"px")}return s.onload=function(){r||(s.style.width=this.width+"px",s.style.height=this.height+"px")},s},_containsPoint:function(e){return this.options.iconUrl?this._pxBounds.contains(e):fa.a.CircleMarker.prototype._containsPoint.call(this,e)}}),gl={_makeFeatureParts:function(e,t){t=t||{x:1,y:1};var i,s=e.geometry;this._parts=[];for(var r=0;r-1?new Cl(s):new Tl(s)).getTile().then(function(t){e.render(t,i)})},render:function(e,t){if(e){for(var i=this,s=i.renderer,r=i.layer,n=0;n0&&a[a.length-1]}t.properties.textField=n}i.vectorTileLayerStyles=i.vectorTileLayerStyles||{};var o=i.vectorTileLayerStyles[s];if(o)return t=this._mergeFeatureTextField(t,o),o;if(!o){var l=this.getScaleFromCoords(e),h=this.cartoCSSToLeaflet.pickShader(s)||[];for(var u in o=[],h)for(var c=h[u],p=0;p1){var h=parseInt(l[1]);o=h&&h>=4e3&&h<=5e3?p.DEGREE:p.METER}}return ja(a,96,o)},_mergeFeatureTextField:function(e,t){if(!this.options.serverCartoCSSStyle||!t||"TEXT"!==e.type)return e;var i=t;fa.a.Util.isArray(t)||(i=[t]);for(var s=0;s0?this.convertFastToPixelPoints(e):this.canvasContext.clearRect(0,0,this.maxWidth,this.maxWidth)},convertFastToPixelPoints:function(e){var t,i,s,r,n,a,o,l=[],h=e.getEast()-e.getWest(),u=e.getNorth()-e.getSouth(),c=this._map.getSize();r=h/c.x>u/c.y?h/c.x:u/c.y,this.useRadius=this.useGeoUnit?parseInt(this.radius/r):this.radius;for(var p=0;p0&&this.maxWidth>0))return!1;var i=this.canvasContext;this.canvasContext.clearRect(0,0,this.maxWidth,this.maxHeight),this.drawCircle(this.useRadius),this.createGradient();for(var s=0;s>1,u=-7,c=i?r-1:0,p=i?-1:1,d=e[t+c];for(c+=p,n=d&(1<<-u)-1,d>>=-u,u+=o;u>0;n=256*n+e[t+c],c+=p,u-=8);for(a=n&(1<<-u)-1,n>>=-u,u+=s;u>0;a=256*a+e[t+c],c+=p,u-=8);if(0===n)n=1-h;else{if(n===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,s),n-=h}return(d?-1:1)*a*Math.pow(2,n-s)},t.write=function(e,t,i,s,r,n){var a,o,l,h=8*n-r-1,u=(1<>1,p=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,d=s?0:n-1,f=s?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+c>=1?p/l:p*Math.pow(2,1-c))*l>=2&&(a++,l/=2),a+c>=u?(o=0,a=u):a+c>=1?(o=(t*l-1)*Math.pow(2,r),a+=c):(o=t*Math.pow(2,c-1)*Math.pow(2,r),a=0));r>=8;e[i+d]=255&o,d+=f,o/=256,r-=8);for(a=a<0;e[i+d]=255&a,d+=f,a/=256,h-=8);e[i+d-f]|=128*m}},function(e,t){function i(e){return Object.prototype.toString.call(e)}function s(e){return"[object String]"===i(e)}e.exports={getObjectType:i,isDate:function(e){return"[object Date]"===i(e)},isString:s,isDateString:function(e){return s(e)&&!isNaN(Date.parse(e))},parseDateFromString:function(e){return Date.parse(e)},isNumber:function(e){return"number"==typeof e}}},function(e,t,i){var s=i(1),r=Math.PI/2,n=i(7),a=i(11),o=i(10),l=i(9),h=i(8),u=i(18),c=i(4),p=i(17);t.init=function(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)},t.forward=function(e){var t,i,c,p,d,f,m,y,g,v,S,b,x,_,C,T,M,w,E,A,P,L,N=e.x,I=e.y,O=Math.sin(e.y),R=Math.cos(e.y),F=s(N-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=1e-10?(e.x=this.x0+this.a*(r-I)*Math.sin(F),e.y=this.y0-this.a*(r-I)*Math.cos(F),e):Math.abs(this.sin_p12+1)<=1e-10?(e.x=this.x0+this.a*(r+I)*Math.sin(F),e.y=this.y0+this.a*(r+I)*Math.cos(F),e):(w=this.sin_p12*O+this.cos_p12*R*Math.cos(F),M=(T=Math.acos(w))/Math.sin(T),e.x=this.x0+this.a*M*R*Math.sin(F),e.y=this.y0+this.a*M*(this.cos_p12*O-this.sin_p12*R*Math.cos(F)),e):(t=a(this.es),i=o(this.es),c=l(this.es),p=h(this.es),Math.abs(this.sin_p12-1)<=1e-10?(d=this.a*n(t,i,c,p,r),f=this.a*n(t,i,c,p,I),e.x=this.x0+(d-f)*Math.sin(F),e.y=this.y0-(d-f)*Math.cos(F),e):Math.abs(this.sin_p12+1)<=1e-10?(d=this.a*n(t,i,c,p,r),f=this.a*n(t,i,c,p,I),e.x=this.x0+(d+f)*Math.sin(F),e.y=this.y0+(d+f)*Math.cos(F),e):(m=O/R,y=u(this.a,this.e,this.sin_p12),g=u(this.a,this.e,O),v=Math.atan((1-this.es)*m+this.es*y*this.sin_p12/(g*R)),E=0===(S=Math.atan2(Math.sin(F),this.cos_p12*Math.tan(v)-this.sin_p12*Math.cos(F)))?Math.asin(this.cos_p12*Math.sin(v)-this.sin_p12*Math.cos(v)):Math.abs(Math.abs(S)-Math.PI)<=1e-10?-Math.asin(this.cos_p12*Math.sin(v)-this.sin_p12*Math.cos(v)):Math.asin(Math.sin(F)*Math.cos(v)/Math.sin(S)),b=this.e*this.sin_p12/Math.sqrt(1-this.es),T=y*E*(1-(A=E*E)*(C=(x=this.e*this.cos_p12*Math.cos(S)/Math.sqrt(1-this.es))*x)*(1-C)/6+(P=A*E)/8*(_=b*x)*(1-2*C)+(L=P*E)/120*(C*(4-7*C)-3*b*b*(1-7*C))-L*E/48*_),e.x=this.x0+T*Math.sin(S),e.y=this.y0+T*Math.cos(S),e))},t.inverse=function(e){var t,i,d,f,m,y,g,v,S,b,x,_,C,T,M,w,E,A,P,L,N,I;if(e.x-=this.x0,e.y-=this.y0,this.sphere){if((t=Math.sqrt(e.x*e.x+e.y*e.y))>2*r*this.a)return;return i=t/this.a,d=Math.sin(i),f=Math.cos(i),m=this.long0,Math.abs(t)<=1e-10?y=this.lat0:(y=c(f*this.sin_p12+e.y*d*this.cos_p12/t),g=Math.abs(this.lat0)-r,m=Math.abs(g)<=1e-10?this.lat0>=0?s(this.long0+Math.atan2(e.x,-e.y)):s(this.long0-Math.atan2(-e.x,e.y)):s(this.long0+Math.atan2(e.x*d,t*this.cos_p12*f-e.y*this.sin_p12*d))),e.x=m,e.y=y,e}return v=a(this.es),S=o(this.es),b=l(this.es),x=h(this.es),Math.abs(this.sin_p12-1)<=1e-10?(_=this.a*n(v,S,b,x,r),t=Math.sqrt(e.x*e.x+e.y*e.y),y=p((_-t)/this.a,v,S,b,x),m=s(this.long0+Math.atan2(e.x,-1*e.y)),e.x=m,e.y=y,e):Math.abs(this.sin_p12+1)<=1e-10?(_=this.a*n(v,S,b,x,r),t=Math.sqrt(e.x*e.x+e.y*e.y),y=p((t-_)/this.a,v,S,b,x),m=s(this.long0+Math.atan2(e.x,e.y)),e.x=m,e.y=y,e):(t=Math.sqrt(e.x*e.x+e.y*e.y),M=Math.atan2(e.x,e.y),C=u(this.a,this.e,this.sin_p12),w=Math.cos(M),A=-(E=this.e*this.cos_p12*w)*E/(1-this.es),P=3*this.es*(1-A)*this.sin_p12*this.cos_p12*w/(1-this.es),I=1-A*(N=(L=t/C)-A*(1+A)*Math.pow(L,3)/6-P*(1+3*A)*Math.pow(L,4)/24)*N/2-L*N*N*N/6,T=Math.asin(this.sin_p12*Math.cos(N)+this.cos_p12*Math.sin(N)*w),m=s(this.long0+Math.asin(Math.sin(M)*Math.sin(N)/Math.cos(T))),y=Math.atan((1-this.es*I*this.sin_p12/Math.sin(T))*Math.tan(T)/(1-this.es)),e.x=m,e.y=y,e)},t.names=["Azimuthal_Equidistant","aeqd"]},function(e,t,i){var s=i(1),r=Math.PI/2,n=i(4);t.init=function(){this.R=this.a},t.forward=function(e){var t,i,a=e.x,o=e.y,l=s(a-this.long0);Math.abs(o)<=1e-10&&(t=this.x0+this.R*l,i=this.y0);var h=n(2*Math.abs(o/Math.PI));(Math.abs(l)<=1e-10||Math.abs(Math.abs(o)-r)<=1e-10)&&(t=this.x0,i=o>=0?this.y0+Math.PI*this.R*Math.tan(.5*h):this.y0+Math.PI*this.R*-Math.tan(.5*h));var u=.5*Math.abs(Math.PI/l-l/Math.PI),c=u*u,p=Math.sin(h),d=Math.cos(h),f=d/(p+d-1),m=f*f,y=f*(2/p-1),g=y*y,v=Math.PI*this.R*(u*(f-g)+Math.sqrt(c*(f-g)*(f-g)-(g+c)*(m-g)))/(g+c);l<0&&(v=-v),t=this.x0+v;var S=c+f;return v=Math.PI*this.R*(y*S-u*Math.sqrt((g+c)*(c+1)-S*S))/(g+c),i=o>=0?this.y0+v:this.y0-v,e.x=t,e.y=i,e},t.inverse=function(e){var t,i,r,n,a,o,l,h,u,c,p,d;return e.x-=this.x0,e.y-=this.y0,p=Math.PI*this.R,a=(r=e.x/p)*r+(n=e.y/p)*n,p=3*(n*n/(h=-2*(o=-Math.abs(n)*(1+a))+1+2*n*n+a*a)+(2*(l=o-2*n*n+r*r)*l*l/h/h/h-9*o*l/h/h)/27)/(u=(o-l*l/3/h)/h)/(c=2*Math.sqrt(-u/3)),Math.abs(p)>1&&(p=p>=0?1:-1),d=Math.acos(p)/3,i=e.y>=0?(-c*Math.cos(d+Math.PI/3)-l/3/h)*Math.PI:-(-c*Math.cos(d+Math.PI/3)-l/3/h)*Math.PI,t=Math.abs(r)<1e-10?this.long0:s(this.long0+Math.PI*(a-1+Math.sqrt(1+2*(r*r-n*n)+a*a))/2/r),e.x=t,e.y=i,e},t.names=["Van_der_Grinten_I","VanDerGrinten","vandg"]},function(e,t,i){var s=i(11),r=i(10),n=i(9),a=i(8),o=i(5),l=i(7),h=i(1),u=i(6),c=i(17);t.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=s(this.es),this.e1=r(this.es),this.e2=n(this.es),this.e3=a(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=o(this.e,this.sinphi,this.cosphi),this.ml1=l(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<1e-10?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=o(this.e,this.sinphi,this.cosphi),this.ml2=l(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=l(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))},t.forward=function(e){var t,i=e.x,s=e.y;if(this.sphere)t=this.a*(this.g-s);else{var r=l(this.e0,this.e1,this.e2,this.e3,s);t=this.a*(this.g-r)}var n=this.ns*h(i-this.long0),a=this.x0+t*Math.sin(n),o=this.y0+this.rh-t*Math.cos(n);return e.x=a,e.y=o,e},t.inverse=function(e){var t,i,s,r;e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns>=0?(i=Math.sqrt(e.x*e.x+e.y*e.y),t=1):(i=-Math.sqrt(e.x*e.x+e.y*e.y),t=-1);var n=0;if(0!==i&&(n=Math.atan2(t*e.x,t*e.y)),this.sphere)return r=h(this.long0+n/this.ns),s=u(this.g-i/this.a),e.x=r,e.y=s,e;var a=this.g-i/this.a;return s=c(a,this.e0,this.e1,this.e2,this.e3),r=h(this.long0+n/this.ns),e.x=r,e.y=s,e},t.names=["Equidistant_Conic","eqdc"]},function(e,t,i){var s=i(1);t.init=function(){},t.forward=function(e){for(var t=e.x,i=e.y,r=s(t-this.long0),n=i,a=Math.PI*Math.sin(i),o=0;;o++){var l=-(n+Math.sin(n)-a)/(1+Math.cos(n));if(n+=l,Math.abs(l)<1e-10)break}n/=2,Math.PI/2-Math.abs(i)<1e-10&&(r=0);var h=.900316316158*this.a*r*Math.cos(n)+this.x0,u=1.4142135623731*this.a*Math.sin(n)+this.y0;return e.x=h,e.y=u,e},t.inverse=function(e){var t,i;e.x-=this.x0,e.y-=this.y0,i=e.y/(1.4142135623731*this.a),Math.abs(i)>.999999999999&&(i=.999999999999),t=Math.asin(i);var r=s(this.long0+e.x/(.900316316158*this.a*Math.cos(t)));r<-Math.PI&&(r=-Math.PI),r>Math.PI&&(r=Math.PI),i=(2*t+Math.sin(2*t))/Math.PI,Math.abs(i)>1&&(i=1);var n=Math.asin(i);return e.x=r,e.y=n,e},t.names=["Mollweide","moll"]},function(e,t,i){var s=i(27);e.exports=function(e,t,i){for(var r=1/(1-t),n=e,a=20;a;--a){var o=Math.sin(n),l=1-t*o*o;if(n-=l=(s(n,o,Math.cos(n),i)-e)*(l*Math.sqrt(l))*r,Math.abs(l)<1e-10)return n}return n}},function(e,t){var i=.01068115234375;e.exports=function(e){var t=[];t[0]=1-e*(.25+e*(.046875+e*(.01953125+e*i))),t[1]=e*(.75-e*(.046875+e*(.01953125+e*i)));var s=e*e;return t[2]=s*(.46875-e*(.013020833333333334+.007120768229166667*e)),s*=e,t[3]=s*(.3645833333333333-.005696614583333333*e),t[4]=s*e*.3076171875,t}},function(e,t,i){var s=i(1),r=i(6),n=i(51),a=i(27),o=i(50),l=Math.PI/2,h=i(4);t.init=function(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=n(this.es)},t.forward=function(e){var t,i,r=e.x,n=e.y;if(r=s(r-this.long0),this.sphere){if(this.m)for(var o=this.n*Math.sin(n),l=20;l;--l){var h=(this.m*n+Math.sin(n)-o)/(this.m+Math.cos(n));if(n-=h,Math.abs(h)<1e-10)break}else n=1!==this.n?Math.asin(this.n*Math.sin(n)):n;t=this.a*this.C_x*r*(this.m+Math.cos(n)),i=this.a*this.C_y*n}else{var u=Math.sin(n),c=Math.cos(n);i=this.a*a(n,u,c,this.en),t=this.a*r*c/Math.sqrt(1-this.es*u*u)}return e.x=t,e.y=i,e},t.inverse=function(e){var t,i,n,a;return e.x-=this.x0,n=e.x/this.a,e.y-=this.y0,t=e.y/this.a,this.sphere?(t/=this.C_y,n/=this.C_x*(this.m+Math.cos(t)),this.m?t=h((this.m*t+Math.sin(t))/this.n):1!==this.n&&(t=h(Math.sin(t)/this.n)),n=s(n+this.long0),t=r(t)):(t=o(e.y/this.a,this.es,this.en),(a=Math.abs(t))0||Math.abs(a)<=1e-10?(o=this.x0+1*this.a*i*Math.sin(r)/a,l=this.y0+1*this.a*(this.cos_p14*t-this.sin_p14*i*n)/a):(o=this.x0+this.infinity_dist*i*Math.sin(r),l=this.y0+this.infinity_dist*(this.cos_p14*t-this.sin_p14*i*n)),e.x=o,e.y=l,e},t.inverse=function(e){var t,i,n,a,o,l;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,(t=Math.sqrt(e.x*e.x+e.y*e.y))?(a=Math.atan2(t,this.rc),i=Math.sin(a),n=Math.cos(a),l=r(n*this.sin_p14+e.y*i*this.cos_p14/t),o=Math.atan2(e.x*i,t*this.cos_p14*n-e.y*this.sin_p14*i),o=s(this.long0+o)):(l=this.phic0,o=0),e.x=o,e.y=l,e},t.names=["gnom"]},function(e,t,i){var s=i(5),r=i(16),n=i(1),a=i(4);t.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=s(this.e3,this.sin_po,this.cos_po),this.qs1=r(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=s(this.e3,this.sin_po,this.cos_po),this.qs2=r(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=r(this.e3,this.sin_po,this.cos_po),Math.abs(this.lat1-this.lat2)>1e-10?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},t.forward=function(e){var t=e.x,i=e.y;this.sin_phi=Math.sin(i),this.cos_phi=Math.cos(i);var s=r(this.e3,this.sin_phi,this.cos_phi),a=this.a*Math.sqrt(this.c-this.ns0*s)/this.ns0,o=this.ns0*n(t-this.long0),l=a*Math.sin(o)+this.x0,h=this.rh-a*Math.cos(o)+this.y0;return e.x=l,e.y=h,e},t.inverse=function(e){var t,i,s,r,a,o;return e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns0>=0?(t=Math.sqrt(e.x*e.x+e.y*e.y),s=1):(t=-Math.sqrt(e.x*e.x+e.y*e.y),s=-1),r=0,0!==t&&(r=Math.atan2(s*e.x,s*e.y)),s=t*this.ns0/this.a,this.sphere?o=Math.asin((this.c-s*s)/(2*this.ns0)):(i=(this.c-s*s)/this.ns0,o=this.phi1z(this.e3,i)),a=n(r/this.ns0+this.long0),e.x=a,e.y=o,e},t.phi1z=function(e,t){var i,s,r,n,o,l=a(.5*t);if(e<1e-10)return l;for(var h=e*e,u=1;u<=25;u++)if(i=Math.sin(l),s=Math.cos(l),l+=o=.5*(n=1-(r=e*i)*r)*n/s*(t/(1-h)-i/n+.5/e*Math.log((1-r)/(1+r))),Math.abs(o)<=1e-7)return l;return null},t.names=["Albers_Conic_Equal_Area","Albers","aea"]},function(e,t,i){var s=Math.PI/2,r=Math.PI/4,n=i(16),a=i(1);t.S_POLE=1,t.N_POLE=2,t.EQUIT=3,t.OBLIQ=4,t.init=function(){var e,t=Math.abs(this.lat0);if(Math.abs(t-s)<1e-10?this.mode=this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(t)<1e-10?this.mode=this.EQUIT:this.mode=this.OBLIQ,this.es>0)switch(this.qp=n(this.e,1),this.mmf=.5/(1-this.es),this.apa=this.authset(this.es),this.mode){case this.N_POLE:case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),e=Math.sin(this.lat0),this.sinb1=n(this.e,e)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*e*e)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},t.forward=function(e){var t,i,o,l,h,u,c,p,d,f,m=e.x,y=e.y;if(m=a(m-this.long0),this.sphere){if(h=Math.sin(y),f=Math.cos(y),o=Math.cos(m),this.mode===this.OBLIQ||this.mode===this.EQUIT){if((i=this.mode===this.EQUIT?1+f*o:1+this.sinph0*h+this.cosph0*f*o)<=1e-10)return null;t=(i=Math.sqrt(2/i))*f*Math.sin(m),i*=this.mode===this.EQUIT?h:this.cosph0*h-this.sinph0*f*o}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(o=-o),Math.abs(y+this.phi0)<1e-10)return null;i=r-.5*y,t=(i=2*(this.mode===this.S_POLE?Math.cos(i):Math.sin(i)))*Math.sin(m),i*=o}}else{switch(c=0,p=0,d=0,o=Math.cos(m),l=Math.sin(m),h=Math.sin(y),u=n(this.e,h),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(c=u/this.qp,p=Math.sqrt(1-c*c)),this.mode){case this.OBLIQ:d=1+this.sinb1*c+this.cosb1*p*o;break;case this.EQUIT:d=1+p*o;break;case this.N_POLE:d=s+y,u=this.qp-u;break;case this.S_POLE:d=y-s,u=this.qp+u}if(Math.abs(d)<1e-10)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:d=Math.sqrt(2/d),i=this.mode===this.OBLIQ?this.ymf*d*(this.cosb1*c-this.sinb1*p*o):(d=Math.sqrt(2/(1+p*o)))*c*this.ymf,t=this.xmf*d*p*l;break;case this.N_POLE:case this.S_POLE:u>=0?(t=(d=Math.sqrt(u))*l,i=o*(this.mode===this.S_POLE?d:-d)):t=i=0}}return e.x=this.a*t+this.x0,e.y=this.a*i+this.y0,e},t.inverse=function(e){e.x-=this.x0,e.y-=this.y0;var t,i,r,n,o,l,h,u=e.x/this.a,c=e.y/this.a;if(this.sphere){var p,d=0,f=0;if((i=.5*(p=Math.sqrt(u*u+c*c)))>1)return null;switch(i=2*Math.asin(i),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(f=Math.sin(i),d=Math.cos(i)),this.mode){case this.EQUIT:i=Math.abs(p)<=1e-10?0:Math.asin(c*f/p),u*=f,c=d*p;break;case this.OBLIQ:i=Math.abs(p)<=1e-10?this.phi0:Math.asin(d*this.sinph0+c*f*this.cosph0/p),u*=f*this.cosph0,c=(d-Math.sin(i)*this.sinph0)*p;break;case this.N_POLE:c=-c,i=s-i;break;case this.S_POLE:i-=s}t=0!==c||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(u,c):0}else{if(h=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(u/=this.dd,c*=this.dd,(l=Math.sqrt(u*u+c*c))<1e-10)return e.x=0,e.y=this.phi0,e;n=2*Math.asin(.5*l/this.rq),r=Math.cos(n),u*=n=Math.sin(n),this.mode===this.OBLIQ?(h=r*this.sinb1+c*n*this.cosb1/l,o=this.qp*h,c=l*this.cosb1*r-c*this.sinb1*n):(h=c*n/l,o=this.qp*h,c=l*r)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(c=-c),!(o=u*u+c*c))return e.x=0,e.y=this.phi0,e;h=1-o/this.qp,this.mode===this.S_POLE&&(h=-h)}t=Math.atan2(u,c),i=this.authlat(Math.asin(h),this.apa)}return e.x=a(this.long0+t),e.y=i,e},t.P00=.3333333333333333,t.P01=.17222222222222222,t.P02=.10257936507936508,t.P10=.06388888888888888,t.P11=.0664021164021164,t.P20=.016415012942191543,t.authset=function(e){var t,i=[];return i[0]=e*this.P00,t=e*e,i[0]+=t*this.P01,i[1]=t*this.P10,t*=e,i[0]+=t*this.P02,i[1]+=t*this.P11,i[2]=t*this.P20,i},t.authlat=function(e,t){var i=e+e;return e+t[0]*Math.sin(i)+t[1]*Math.sin(i+i)+t[2]*Math.sin(i+i+i)},t.names=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"]},function(e,t,i){var s=i(7),r=i(11),n=i(10),a=i(9),o=i(8),l=i(18),h=i(1),u=i(6),c=i(17),p=Math.PI/2;t.init=function(){this.sphere||(this.e0=r(this.es),this.e1=n(this.es),this.e2=a(this.es),this.e3=o(this.es),this.ml0=this.a*s(this.e0,this.e1,this.e2,this.e3,this.lat0))},t.forward=function(e){var t,i,r=e.x,n=e.y;if(r=h(r-this.long0),this.sphere)t=this.a*Math.asin(Math.cos(n)*Math.sin(r)),i=this.a*(Math.atan2(Math.tan(n),Math.cos(r))-this.lat0);else{var a=Math.sin(n),o=Math.cos(n),u=l(this.a,this.e,a),c=Math.tan(n)*Math.tan(n),p=r*Math.cos(n),d=p*p,f=this.es*o*o/(1-this.es);t=u*p*(1-d*c*(1/6-(8-c+8*f)*d/120)),i=this.a*s(this.e0,this.e1,this.e2,this.e3,n)-this.ml0+u*a/o*d*(.5+(5-c+6*f)*d/24)}return e.x=t+this.x0,e.y=i+this.y0,e},t.inverse=function(e){e.x-=this.x0,e.y-=this.y0;var t,i,s=e.x/this.a,r=e.y/this.a;if(this.sphere){var n=r+this.lat0;t=Math.asin(Math.sin(n)*Math.cos(s)),i=Math.atan2(Math.tan(s),Math.cos(n))}else{var a=this.ml0/this.a+r,o=c(a,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(o)-p)<=1e-10)return e.x=this.long0,e.y=p,r<0&&(e.y*=-1),e;var d=l(this.a,this.e,Math.sin(o)),f=d*d*d/this.a/this.a*(1-this.es),m=Math.pow(Math.tan(o),2),y=s*this.a/d,g=y*y;t=o-d*Math.tan(o)/f*y*y*(.5-(1+3*m)*y*y/24),i=y*(1-g*(m/3+(1+3*m)*m*g/15))/Math.cos(o)}return e.x=h(i+this.long0),e.y=u(t),e},t.names=["Cassini","Cassini_Soldner","cass"]},function(e,t,i){var s=i(1);t.init=function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},t.forward=function(e){var t,i,r,n,a,o,l,h=e.x,u=e.y,c=s(h-this.long0);return t=Math.pow((1+this.e*Math.sin(u))/(1-this.e*Math.sin(u)),this.alfa*this.e/2),i=2*(Math.atan(this.k*Math.pow(Math.tan(u/2+this.s45),this.alfa)/t)-this.s45),r=-c*this.alfa,n=Math.asin(Math.cos(this.ad)*Math.sin(i)+Math.sin(this.ad)*Math.cos(i)*Math.cos(r)),a=Math.asin(Math.cos(i)*Math.sin(r)/Math.cos(n)),o=this.n*a,l=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(n/2+this.s45),this.n),e.y=l*Math.cos(o)/1,e.x=l*Math.sin(o)/1,this.czech||(e.y*=-1,e.x*=-1),e},t.inverse=function(e){var t,i,s,r,n,a,o,l=e.x;e.x=e.y,e.y=l,this.czech||(e.y*=-1,e.x*=-1),n=Math.sqrt(e.x*e.x+e.y*e.y),r=Math.atan2(e.y,e.x)/Math.sin(this.s0),s=2*(Math.atan(Math.pow(this.ro0/n,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),t=Math.asin(Math.cos(this.ad)*Math.sin(s)-Math.sin(this.ad)*Math.cos(s)*Math.cos(r)),i=Math.asin(Math.cos(s)*Math.sin(r)/Math.cos(t)),e.x=this.long0-i/this.alfa,a=t,o=0;var h=0;do{e.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(t/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(a))/(1-this.e*Math.sin(a)),this.e/2))-this.s45),Math.abs(a-e.y)<1e-10&&(o=1),a=e.y,h+=1}while(0===o&&h<15);return h>=15?null:e},t.names=["Krovak","krovak"]},function(e,t,i){var s=i(5),r=i(14),n=Math.PI/2,a=i(12),o=i(1),l=i(13);t.init=function(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)<1e-10)){var e=this.b/this.a;this.e=Math.sqrt(1-e*e);var t=Math.sin(this.lat1),i=Math.cos(this.lat1),n=s(this.e,t,i),a=r(this.e,this.lat1,t),o=Math.sin(this.lat2),l=Math.cos(this.lat2),h=s(this.e,o,l),u=r(this.e,this.lat2,o),c=r(this.e,this.lat0,Math.sin(this.lat0));Math.abs(this.lat1-this.lat2)>1e-10?this.ns=Math.log(n/h)/Math.log(a/u):this.ns=t,isNaN(this.ns)&&(this.ns=t),this.f0=n/(this.ns*Math.pow(a,this.ns)),this.rh=this.a*this.f0*Math.pow(c,this.ns),this.title||(this.title="Lambert Conformal Conic")}},t.forward=function(e){var t=e.x,i=e.y;Math.abs(2*Math.abs(i)-Math.PI)<=1e-10&&(i=a(i)*(n-2e-10));var s,l,h=Math.abs(Math.abs(i)-n);if(h>1e-10)s=r(this.e,i,Math.sin(i)),l=this.a*this.f0*Math.pow(s,this.ns);else{if((h=i*this.ns)<=0)return null;l=0}var u=this.ns*o(t-this.long0);return e.x=this.k0*(l*Math.sin(u))+this.x0,e.y=this.k0*(this.rh-l*Math.cos(u))+this.y0,e},t.inverse=function(e){var t,i,s,r,a,h=(e.x-this.x0)/this.k0,u=this.rh-(e.y-this.y0)/this.k0;this.ns>0?(t=Math.sqrt(h*h+u*u),i=1):(t=-Math.sqrt(h*h+u*u),i=-1);var c=0;if(0!==t&&(c=Math.atan2(i*h,i*u)),0!==t||this.ns>0){if(i=1/this.ns,s=Math.pow(t/(this.a*this.f0),i),-9999===(r=l(this.e,s)))return null}else r=-n;return a=o(c/this.ns+this.long0),e.x=a,e.y=r,e},t.names=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_2SP","lcc"]},function(e,t,i){var s=i(14),r=i(1),n=i(13),a=Math.PI/2,o=Math.PI/4;t.init=function(){this.no_off=this.no_off||!1,this.no_rot=this.no_rot||!1,isNaN(this.k0)&&(this.k0=1);var e=Math.sin(this.lat0),t=Math.cos(this.lat0),i=this.e*e;this.bl=Math.sqrt(1+this.es/(1-this.es)*Math.pow(t,4)),this.al=this.a*this.bl*this.k0*Math.sqrt(1-this.es)/(1-i*i);var n,a,o=s(this.e,this.lat0,e),l=this.bl/t*Math.sqrt((1-this.es)/(1-i*i));if(l*l<1&&(l=1),isNaN(this.longc)){var h=s(this.e,this.lat1,Math.sin(this.lat1)),u=s(this.e,this.lat2,Math.sin(this.lat2));this.lat0>=0?this.el=(l+Math.sqrt(l*l-1))*Math.pow(o,this.bl):this.el=(l-Math.sqrt(l*l-1))*Math.pow(o,this.bl);var c=Math.pow(h,this.bl),p=Math.pow(u,this.bl);a=.5*((n=this.el/c)-1/n);var d=(this.el*this.el-p*c)/(this.el*this.el+p*c),f=(p-c)/(p+c),m=r(this.long1-this.long2);this.long0=.5*(this.long1+this.long2)-Math.atan(d*Math.tan(.5*this.bl*m)/f)/this.bl,this.long0=r(this.long0);var y=r(this.long1-this.long0);this.gamma0=Math.atan(Math.sin(this.bl*y)/a),this.alpha=Math.asin(l*Math.sin(this.gamma0))}else n=this.lat0>=0?l+Math.sqrt(l*l-1):l-Math.sqrt(l*l-1),this.el=n*Math.pow(o,this.bl),a=.5*(n-1/n),this.gamma0=Math.asin(Math.sin(this.alpha)/l),this.long0=this.longc-Math.asin(a*Math.tan(this.gamma0))/this.bl;this.no_off?this.uc=0:this.lat0>=0?this.uc=this.al/this.bl*Math.atan2(Math.sqrt(l*l-1),Math.cos(this.alpha)):this.uc=-1*this.al/this.bl*Math.atan2(Math.sqrt(l*l-1),Math.cos(this.alpha))},t.forward=function(e){var t,i,n,l=e.x,h=e.y,u=r(l-this.long0);if(Math.abs(Math.abs(h)-a)<=1e-10)n=h>0?-1:1,i=this.al/this.bl*Math.log(Math.tan(o+n*this.gamma0*.5)),t=-1*n*a*this.al/this.bl;else{var c=s(this.e,h,Math.sin(h)),p=this.el/Math.pow(c,this.bl),d=.5*(p-1/p),f=.5*(p+1/p),m=Math.sin(this.bl*u),y=(d*Math.sin(this.gamma0)-m*Math.cos(this.gamma0))/f;i=Math.abs(Math.abs(y)-1)<=1e-10?Number.POSITIVE_INFINITY:.5*this.al*Math.log((1-y)/(1+y))/this.bl,t=Math.abs(Math.cos(this.bl*u))<=1e-10?this.al*this.bl*u:this.al*Math.atan2(d*Math.cos(this.gamma0)+m*Math.sin(this.gamma0),Math.cos(this.bl*u))/this.bl}return this.no_rot?(e.x=this.x0+t,e.y=this.y0+i):(t-=this.uc,e.x=this.x0+i*Math.cos(this.alpha)+t*Math.sin(this.alpha),e.y=this.y0+t*Math.cos(this.alpha)-i*Math.sin(this.alpha)),e},t.inverse=function(e){var t,i;this.no_rot?(i=e.y-this.y0,t=e.x-this.x0):(i=(e.x-this.x0)*Math.cos(this.alpha)-(e.y-this.y0)*Math.sin(this.alpha),t=(e.y-this.y0)*Math.cos(this.alpha)+(e.x-this.x0)*Math.sin(this.alpha),t+=this.uc);var s=Math.exp(-1*this.bl*i/this.al),o=.5*(s-1/s),l=.5*(s+1/s),h=Math.sin(this.bl*t/this.al),u=(h*Math.cos(this.gamma0)+o*Math.sin(this.gamma0))/l,c=Math.pow(this.el/Math.sqrt((1+u)/(1-u)),1/this.bl);return Math.abs(u-1)<1e-10?(e.x=this.long0,e.y=a):Math.abs(u+1)<1e-10?(e.x=this.long0,e.y=-1*a):(e.y=n(this.e,c),e.x=r(this.long0-Math.atan2(o*Math.cos(this.gamma0)-h*Math.sin(this.gamma0),Math.cos(this.bl*t/this.al))/this.bl)),e},t.names=["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","omerc"]},function(e,t){t.init=function(){var e=this.lat0;this.lambda0=this.long0;var t=Math.sin(e),i=this.a,s=1/this.rf,r=2*s-Math.pow(s,2),n=this.e=Math.sqrt(r);this.R=this.k0*i*Math.sqrt(1-r)/(1-r*Math.pow(t,2)),this.alpha=Math.sqrt(1+r/(1-r)*Math.pow(Math.cos(e),4)),this.b0=Math.asin(t/this.alpha);var a=Math.log(Math.tan(Math.PI/4+this.b0/2)),o=Math.log(Math.tan(Math.PI/4+e/2)),l=Math.log((1+n*t)/(1-n*t));this.K=a-this.alpha*o+this.alpha*n/2*l},t.forward=function(e){var t=Math.log(Math.tan(Math.PI/4-e.y/2)),i=this.e/2*Math.log((1+this.e*Math.sin(e.y))/(1-this.e*Math.sin(e.y))),s=-this.alpha*(t+i)+this.K,r=2*(Math.atan(Math.exp(s))-Math.PI/4),n=this.alpha*(e.x-this.lambda0),a=Math.atan(Math.sin(n)/(Math.sin(this.b0)*Math.tan(r)+Math.cos(this.b0)*Math.cos(n))),o=Math.asin(Math.cos(this.b0)*Math.sin(r)-Math.sin(this.b0)*Math.cos(r)*Math.cos(n));return e.y=this.R/2*Math.log((1+Math.sin(o))/(1-Math.sin(o)))+this.y0,e.x=this.R*a+this.x0,e},t.inverse=function(e){for(var t=e.x-this.x0,i=e.y-this.y0,s=t/this.R,r=2*(Math.atan(Math.exp(i/this.R))-Math.PI/4),n=Math.asin(Math.cos(this.b0)*Math.sin(r)+Math.sin(this.b0)*Math.cos(r)*Math.cos(s)),a=Math.atan(Math.sin(s)/(Math.cos(this.b0)*Math.cos(s)-Math.sin(this.b0)*Math.tan(r))),o=this.lambda0+a/this.alpha,l=0,h=n,u=-1e3,c=0;Math.abs(h-u)>1e-7;){if(++c>20)return;l=1/this.alpha*(Math.log(Math.tan(Math.PI/4+n/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(h))/2)),u=h,h=2*Math.atan(Math.exp(l))-Math.PI/2}return e.x=o,e.y=h,e},t.names=["somerc"]},function(e,t,i){var s=Math.PI/2,r=i(12),n=i(5),a=i(14),o=i(13),l=i(1);t.ssfn_=function(e,t,i){return t*=i,Math.tan(.5*(s+e))*Math.pow((1-t)/(1+t),.5*i)},t.init=function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&(this.k0=.5*(1+r(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=1e-10&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&(this.k0=.5*this.cons*n(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/a(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=n(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-s,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},t.forward=function(e){var t,i,r,n,o,h,u=e.x,c=e.y,p=Math.sin(c),d=Math.cos(c),f=l(u-this.long0);return Math.abs(Math.abs(u-this.long0)-Math.PI)<=1e-10&&Math.abs(c+this.lat0)<=1e-10?(e.x=NaN,e.y=NaN,e):this.sphere?(t=2*this.k0/(1+this.sinlat0*p+this.coslat0*d*Math.cos(f)),e.x=this.a*t*d*Math.sin(f)+this.x0,e.y=this.a*t*(this.coslat0*p-this.sinlat0*d*Math.cos(f))+this.y0,e):(i=2*Math.atan(this.ssfn_(c,p,this.e))-s,n=Math.cos(i),r=Math.sin(i),Math.abs(this.coslat0)<=1e-10?(o=a(this.e,c*this.con,this.con*p),h=2*this.a*this.k0*o/this.cons,e.x=this.x0+h*Math.sin(u-this.long0),e.y=this.y0-this.con*h*Math.cos(u-this.long0),e):(Math.abs(this.sinlat0)<1e-10?(t=2*this.a*this.k0/(1+n*Math.cos(f)),e.y=t*r):(t=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*r+this.cosX0*n*Math.cos(f))),e.y=t*(this.cosX0*r-this.sinX0*n*Math.cos(f))+this.y0),e.x=t*n*Math.sin(f)+this.x0,e))},t.inverse=function(e){var t,i,r,n,a;e.x-=this.x0,e.y-=this.y0;var h=Math.sqrt(e.x*e.x+e.y*e.y);if(this.sphere){var u=2*Math.atan(h/(.5*this.a*this.k0));return t=this.long0,i=this.lat0,h<=1e-10?(e.x=t,e.y=i,e):(i=Math.asin(Math.cos(u)*this.sinlat0+e.y*Math.sin(u)*this.coslat0/h),t=Math.abs(this.coslat0)<1e-10?this.lat0>0?l(this.long0+Math.atan2(e.x,-1*e.y)):l(this.long0+Math.atan2(e.x,e.y)):l(this.long0+Math.atan2(e.x*Math.sin(u),h*this.coslat0*Math.cos(u)-e.y*this.sinlat0*Math.sin(u))),e.x=t,e.y=i,e)}if(Math.abs(this.coslat0)<=1e-10){if(h<=1e-10)return i=this.lat0,t=this.long0,e.x=t,e.y=i,e;e.x*=this.con,e.y*=this.con,r=h*this.cons/(2*this.a*this.k0),i=this.con*o(this.e,r),t=this.con*l(this.con*this.long0+Math.atan2(e.x,-1*e.y))}else n=2*Math.atan(h*this.cosX0/(2*this.a*this.k0*this.ms1)),t=this.long0,h<=1e-10?a=this.X0:(a=Math.asin(Math.cos(n)*this.sinX0+e.y*Math.sin(n)*this.cosX0/h),t=l(this.long0+Math.atan2(e.x*Math.sin(n),h*this.cosX0*Math.cos(n)-e.y*this.sinX0*Math.sin(n)))),i=-1*o(this.e,Math.tan(.5*(s+a)));return e.x=t,e.y=i,e},t.names=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"]},function(e,t){e.exports=function(e,t){return Math.pow((1-e)/(1+e),t)}},function(e,t,i){var s=Math.PI/4,r=i(68),n=Math.PI/2;t.init=function(){var e=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t,this.rc=Math.sqrt(1-this.es)/(1-this.es*e*e),this.C=Math.sqrt(1+this.es*t*t/(1-this.es)),this.phic0=Math.asin(e/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+s)/(Math.pow(Math.tan(.5*this.lat0+s),this.C)*r(this.e*e,this.ratexp))},t.forward=function(e){var t=e.x,i=e.y;return e.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*i+s),this.C)*r(this.e*Math.sin(i),this.ratexp))-n,e.x=this.C*t,e},t.inverse=function(e){for(var t=e.x/this.C,i=e.y,a=Math.pow(Math.tan(.5*i+s)/this.K,1/this.C),o=20;o>0&&(i=2*Math.atan(a*r(this.e*Math.sin(e.y),-.5*this.e))-n,!(Math.abs(i-e.y)<1e-14));--o)e.y=i;return o?(e.x=t,e.y=i,e):null},t.names=["gauss"]},function(e,t,i){var s=i(69),r=i(1);t.init=function(){s.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},t.forward=function(e){var t,i,n,a;return e.x=r(e.x-this.long0),s.forward.apply(this,[e]),t=Math.sin(e.y),i=Math.cos(e.y),n=Math.cos(e.x),a=this.k0*this.R2/(1+this.sinc0*t+this.cosc0*i*n),e.x=a*i*Math.sin(e.x),e.y=a*(this.cosc0*t-this.sinc0*i*n),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e},t.inverse=function(e){var t,i,n,a,o;if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,o=Math.sqrt(e.x*e.x+e.y*e.y)){var l=2*Math.atan2(o,this.R2);t=Math.sin(l),i=Math.cos(l),a=Math.asin(i*this.sinc0+e.y*t*this.cosc0/o),n=Math.atan2(e.x*t,o*this.cosc0*i-e.y*this.sinc0*t)}else a=this.phic0,n=0;return e.x=n,e.y=a,s.inverse.apply(this,[e]),e.x=r(e.x+this.long0),e},t.names=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative"]},function(e,t,i){var s=i(28);t.dependsOn="tmerc",t.init=function(){this.zone&&(this.lat0=0,this.long0=.017453292519943295*(6*Math.abs(this.zone)-183),this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,s.init.apply(this),this.forward=s.forward,this.inverse=s.inverse)},t.names=["Universal Transverse Mercator System","utm"]},function(e,t,i){var s=[i(28),i(71),i(70),i(67),i(66),i(65),i(64),i(63),i(62),i(61),i(60),i(59),i(58),i(56),i(55),i(54),i(53),i(52),i(49),i(48),i(47),i(46)];e.exports=function(e){s.forEach(function(t){e.Proj.projections.add(t)})}},function(e){e.exports={_from:"proj4@2.3.15",_id:"proj4@2.3.15",_inBundle:!1,_integrity:"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=",_location:"/proj4",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"proj4@2.3.15",name:"proj4",escapedName:"proj4",rawSpec:"2.3.15",saveSpec:null,fetchSpec:"2.3.15"},_requiredBy:["/"],_resolved:"http://localhost:4873/proj4/-/proj4-2.3.15.tgz",_shasum:"5ad06e8bca30be0ffa389a49e4565f51f06d089e",_spec:"proj4@2.3.15",_where:"E:\\2018\\git\\iClient-JavaScript",author:"",bugs:{url:"https://github.com/proj4js/proj4js/issues"},bundleDependencies:!1,contributors:[{name:"Mike Adair",email:"madair@dmsolutions.ca"},{name:"Richard Greenwood",email:"rich@greenwoodmap.com"},{name:"Calvin Metcalf",email:"calvin.metcalf@gmail.com"},{name:"Richard Marsden",url:"http://www.winwaed.com"},{name:"T. Mittan"},{name:"D. Steinwand"},{name:"S. Nelson"}],dependencies:{mgrs:"~0.0.2"},deprecated:!1,description:"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",devDependencies:{browserify:"~12.0.1",chai:"~1.8.1",curl:"git://github.com/cujojs/curl.git",grunt:"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0",istanbul:"~0.2.4",mocha:"~1.17.1",tin:"~0.4.0"},directories:{test:"test",doc:"docs"},homepage:"https://github.com/proj4js/proj4js#readme",jam:{main:"dist/proj4.js",include:["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},license:"MIT",main:"lib/index.js",name:"proj4",repository:{type:"git",url:"git://github.com/proj4js/proj4js.git"},scripts:{test:"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},version:"2.3.15"}},function(e,t,i){var s=i(29);function r(e,t,i){if(!(this instanceof r))return new r(e,t,i);if(Array.isArray(e))this.x=e[0],this.y=e[1],this.z=e[2]||0;else if("object"==typeof e)this.x=e.x,this.y=e.y,this.z=e.z||0;else if("string"==typeof e&&void 0===t){var s=e.split(",");this.x=parseFloat(s[0],10),this.y=parseFloat(s[1],10),this.z=parseFloat(s[2],10)||0}else this.x=e,this.y=t,this.z=i||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}r.fromMGRS=function(e){return new r(s.toPoint(e))},r.prototype.toMGRS=function(e){return s.forward([this.x,this.y],e)},e.exports=r},function(e,t){e.exports=function(e,t,i){var s,r,n,a=i.x,o=i.y,l=i.z||0;for(n=0;n<3;n++)if(!t||2!==n||void 0!==i.z)switch(0===n?(s=a,r="x"):1===n?(s=o,r="y"):(s=l,r="z"),e.axis[n]){case"e":i[r]=s;break;case"w":i[r]=-s;break;case"n":i[r]=s;break;case"s":i[r]=-s;break;case"u":void 0!==i[r]&&(i.z=s);break;case"d":void 0!==i[r]&&(i.z=-s);break;default:return null}return i}},function(e,t){var i=1,s=2;e.exports=function(e,t,r){var n,a,o;function l(e){return e===i||e===s}if(e.compare_datums(t))return r;if(5===e.datum_type||5===t.datum_type)return r;var h=e.a,u=e.es,c=t.a,p=t.es,d=e.datum_type;if(3===d)if(0===this.apply_gridshift(e,0,r))e.a=6378137,e.es=.006694379990141316;else{if(!e.datum_params)return e.a=h,e.es=e.es,r;for(n=1,a=0,o=e.datum_params.length;a3?s:i}return 3===t.datum_type&&(t.a=6378137,t.es=.006694379990141316),(e.es!==t.es||e.a!==t.a||l(d)||l(t.datum_type))&&(e.geodetic_to_geocentric(r),l(e.datum_type)&&e.geocentric_to_wgs84(r),l(t.datum_type)&&t.geocentric_from_wgs84(r),t.geocentric_to_geodetic(r)),3===t.datum_type&&this.apply_gridshift(t,1,r),e.a=h,e.es=u,t.a=c,t.es=p,r}},function(e,t){var i=Math.PI/2,s=function(e){if(!(this instanceof s))return new s(e);this.datum_type=4,e&&(e.datumCode&&"none"===e.datumCode&&(this.datum_type=5),e.datum_params&&(this.datum_params=e.datum_params.map(parseFloat),0===this.datum_params[0]&&0===this.datum_params[1]&&0===this.datum_params[2]||(this.datum_type=1),this.datum_params.length>3&&(0===this.datum_params[3]&&0===this.datum_params[4]&&0===this.datum_params[5]&&0===this.datum_params[6]||(this.datum_type=2,this.datum_params[3]*=484813681109536e-20,this.datum_params[4]*=484813681109536e-20,this.datum_params[5]*=484813681109536e-20,this.datum_params[6]=this.datum_params[6]/1e6+1))),this.datum_type=e.grids?3:this.datum_type,this.a=e.a,this.b=e.b,this.es=e.es,this.ep2=e.ep2,3===this.datum_type&&(this.grids=e.grids))};s.prototype={compare_datums:function(e){return this.datum_type===e.datum_type&&(!(this.a!==e.a||Math.abs(this.es-e.es)>5e-11)&&(1===this.datum_type?this.datum_params[0]===e.datum_params[0]&&this.datum_params[1]===e.datum_params[1]&&this.datum_params[2]===e.datum_params[2]:2===this.datum_type?this.datum_params[0]===e.datum_params[0]&&this.datum_params[1]===e.datum_params[1]&&this.datum_params[2]===e.datum_params[2]&&this.datum_params[3]===e.datum_params[3]&&this.datum_params[4]===e.datum_params[4]&&this.datum_params[5]===e.datum_params[5]&&this.datum_params[6]===e.datum_params[6]:3!==this.datum_type&&3!==e.datum_type||this.nadgrids===e.nadgrids))},geodetic_to_geocentric:function(e){var t,s,r,n,a,o,l,h=e.x,u=e.y,c=e.z?e.z:0;if(u<-i&&u>-1.001*i)u=-i;else if(u>i&&u<1.001*i)u=i;else if(u<-i||u>i)return null;return h>Math.PI&&(h-=2*Math.PI),a=Math.sin(u),l=Math.cos(u),o=a*a,t=((n=this.a/Math.sqrt(1-this.es*o))+c)*l*Math.cos(h),s=(n+c)*l*Math.sin(h),r=(n*(1-this.es)+c)*a,e.x=t,e.y=s,e.z=r,0},geocentric_to_geodetic:function(e){var t,s,r,n,a,o,l,h,u,c,p,d,f,m,y,g,v=e.x,S=e.y,b=e.z?e.z:0;if(!1,t=Math.sqrt(v*v+S*S),s=Math.sqrt(v*v+S*S+b*b),t/this.a<1e-12){if(!0,m=0,s/this.a<1e-12)return y=i,void(g=-this.b)}else m=Math.atan2(S,v);r=b/s,n=t/s,a=1/Math.sqrt(1-this.es*(2-this.es)*n*n),h=n*(1-this.es)*a,u=r*a,f=0;do{f++,g=t*h+b*u-(l=this.a/Math.sqrt(1-this.es*u*u))*(1-this.es*u*u),o=this.es*l/(l+g),d=(p=r*(a=1/Math.sqrt(1-o*(2-o)*n*n)))*h-(c=n*(1-o)*a)*u,h=c,u=p}while(d*d>1e-24&&f<30);return y=Math.atan(p/Math.abs(c)),e.x=m,e.y=y,e.z=g,e},geocentric_to_geodetic_noniter:function(e){var t,s,r,n,a,o,l,h,u,c,p,d,f,m,y,g,v,S=e.x,b=e.y,x=e.z?e.z:0;if(S=parseFloat(S),b=parseFloat(b),x=parseFloat(x),v=!1,0!==S)t=Math.atan2(b,S);else if(b>0)t=i;else if(b<0)t=-i;else if(v=!0,t=0,x>0)s=i;else{if(!(x<0))return s=i,void(r=-this.b);s=-i}return a=S*S+b*b,o=1.0026*x,d=(n=Math.sqrt(a))/(h=Math.sqrt(o*o+a)),p=(c=o/h)*c*c,l=x+this.b*this.ep2*p,g=n-this.a*this.es*d*d*d,f=l/(u=Math.sqrt(l*l+g*g)),m=g/u,y=this.a/Math.sqrt(1-this.es*f*f),r=m>=.3826834323650898?n/m-y:m<=-.3826834323650898?n/-m-y:x/f+y*(this.es-1),!1===v&&(s=Math.atan(f/m)),e.x=t,e.y=s,e.z=r,e},geocentric_to_wgs84:function(e){if(1===this.datum_type)e.x+=this.datum_params[0],e.y+=this.datum_params[1],e.z+=this.datum_params[2];else if(2===this.datum_type){var t=this.datum_params[0],i=this.datum_params[1],s=this.datum_params[2],r=this.datum_params[3],n=this.datum_params[4],a=this.datum_params[5],o=this.datum_params[6],l=o*(e.x-a*e.y+n*e.z)+t,h=o*(a*e.x+e.y-r*e.z)+i,u=o*(-n*e.x+r*e.y+e.z)+s;e.x=l,e.y=h,e.z=u}},geocentric_from_wgs84:function(e){if(1===this.datum_type)e.x-=this.datum_params[0],e.y-=this.datum_params[1],e.z-=this.datum_params[2];else if(2===this.datum_type){var t=this.datum_params[0],i=this.datum_params[1],s=this.datum_params[2],r=this.datum_params[3],n=this.datum_params[4],a=this.datum_params[5],o=this.datum_params[6],l=(e.x-t)/o,h=(e.y-i)/o,u=(e.z-s)/o;e.x=l+a*h-n*u,e.y=-a*l+h+r*u,e.z=n*l-r*h+u}}},e.exports=s},function(e,t){t.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"},t.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},t.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},t.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"},t.airy={a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},t.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},t.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},t.mod_airy={a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},t.andrae={a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},t.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},t.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},t.bessel={a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},t.bess_nam={a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},t.clrk66={a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},t.clrk80={a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},t.clrk58={a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},t.CPM={a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},t.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},t.engelis={a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},t.evrst30={a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},t.evrst48={a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},t.evrst56={a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},t.evrst69={a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},t.evrstSS={a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},t.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},t.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"},t.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"},t.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"},t.hough={a:6378270,rf:297,ellipseName:"Hough"},t.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},t.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"},t.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"},t.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"},t.new_intl={a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},t.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},t.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},t.SEasia={a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},t.walbeck={a:6376896,b:6355834.8467,ellipseName:"Walbeck"},t.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"},t.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"},t.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"},t.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"},t.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"}},function(e,t){t.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},t.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},t.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},t.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},t.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},t.potsdam={towgs84:"606.0,23.0,413.0",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},t.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},t.hermannskogel={towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"},t.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},t.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},t.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},t.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},t.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},t.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},t.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},t.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"}},function(e,t,i){var s=i(79),r=i(78),n=i(19),a=i(77);e.exports=function(e){if(e.datumCode&&"none"!==e.datumCode){var t=s[e.datumCode];t&&(e.datum_params=t.towgs84?t.towgs84.split(","):null,e.ellps=t.ellipse,e.datumName=t.datumName?t.datumName:e.datumCode)}if(!e.a){var i=r[e.ellps]?r[e.ellps]:r.WGS84;n(e,i)}return e.rf&&!e.b&&(e.b=(1-1/e.rf)*e.a),(0===e.rf||Math.abs(e.a-e.b)<1e-10)&&(e.sphere=!0,e.b=e.a),e.a2=e.a*e.a,e.b2=e.b*e.b,e.es=(e.a2-e.b2)/e.a2,e.e=Math.sqrt(e.es),e.R_A&&(e.a*=1-e.es*(.16666666666666666+e.es*(.04722222222222222+.022156084656084655*e.es)),e.a2=e.a*e.a,e.b2=e.b*e.b,e.es=0),e.ep2=(e.a2-e.b2)/e.b2,e.k0||(e.k0=1),e.axis||(e.axis="enu"),e.datum||(e.datum=a(e)),e}},function(e,t){function i(e){return e}t.init=function(){},t.forward=i,t.inverse=i,t.names=["longlat","identity"]},function(e,t,i){var s=i(5),r=Math.PI/2,n=57.29577951308232,a=i(1),o=Math.PI/4,l=i(14),h=i(13);t.init=function(){var e=this.b/this.a;this.es=1-e*e,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=s(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)},t.forward=function(e){var t,i,s=e.x,h=e.y;if(h*n>90&&h*n<-90&&s*n>180&&s*n<-180)return null;if(Math.abs(Math.abs(h)-r)<=1e-10)return null;if(this.sphere)t=this.x0+this.a*this.k0*a(s-this.long0),i=this.y0+this.a*this.k0*Math.log(Math.tan(o+.5*h));else{var u=Math.sin(h),c=l(this.e,h,u);t=this.x0+this.a*this.k0*a(s-this.long0),i=this.y0-this.a*this.k0*Math.log(c)}return e.x=t,e.y=i,e},t.inverse=function(e){var t,i,s=e.x-this.x0,n=e.y-this.y0;if(this.sphere)i=r-2*Math.atan(Math.exp(-n/(this.a*this.k0)));else{var o=Math.exp(-n/(this.a*this.k0));if(-9999===(i=h(this.e,o)))return null}return t=a(this.long0+s/(this.a*this.k0)),e.x=t,e.y=i,e},t.names=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},function(e,t,i){var s=[i(82),i(81)],r={},n=[];function a(e,t){var i=n.length;return e.names?(n[i]=e,e.names.forEach(function(e){r[e.toLowerCase()]=i}),this):(console.log(t),!0)}t.add=a,t.get=function(e){if(!e)return!1;var t=e.toLowerCase();return void 0!==r[t]&&n[r[t]]?n[r[t]]:void 0},t.start=function(){s.forEach(a)}},function(e,t){t.ft={to_meter:.3048},t["us-ft"]={to_meter:1200/3937}},function(e,t){t.greenwich=0,t.lisbon=-9.131906111111,t.paris=2.337229166667,t.bogota=-74.080916666667,t.madrid=-3.687938888889,t.rome=12.452333333333,t.bern=7.439583333333,t.jakarta=106.807719444444,t.ferro=-17.666666666667,t.brussels=4.367975,t.stockholm=18.058277777778,t.athens=23.7163375,t.oslo=10.722916666667},function(e,t){e.exports=function(e){e("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),e("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),e("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),e.WGS84=e["EPSG:4326"],e["EPSG:3785"]=e["EPSG:3857"],e.GOOGLE=e["EPSG:3857"],e["EPSG:900913"]=e["EPSG:3857"],e["EPSG:102113"]=e["EPSG:3857"]}},function(e,t,i){var s=i(34),r=i(32),n=i(33);e.exports=function(e){return function(e){return"string"==typeof e}(e)?function(e){return e in s}(e)?s[e]:function(e){return["GEOGCS","GEOCCS","PROJCS","LOCAL_CS"].reduce(function(t,i){return t+1+e.indexOf(i)},0)}(e)?r(e):function(e){return"+"===e[0]}(e)?n(e):void 0:e}},function(e,t,i){var s=i(20),r=i(31),n=s("WGS84");function a(e,t,i){var s;return Array.isArray(i)?(s=r(e,t,i),3===i.length?[s.x,s.y,s.z]:[s.x,s.y]):r(e,t,i)}function o(e){return e instanceof s?e:e.oProj?e.oProj:s(e)}e.exports=function(e,t,i){e=o(e);var s,r=!1;return void 0===t?(t=e,e=n,r=!0):(void 0!==t.x||Array.isArray(t))&&(i=t,t=e,e=n,r=!0),t=o(t),i?a(e,t,i):(s={forward:function(i){return a(e,t,i)},inverse:function(i){return a(t,e,i)}},r&&(s.oProj=t),s)}},function(e,t){!function(t){"use strict";if(t.__disableNativeFetch||!t.fetch){o.prototype.append=function(e,t){e=n(e),t=a(t);var i=this.map[e];i||(i=[],this.map[e]=i),i.push(t)},o.prototype.delete=function(e){delete this.map[n(e)]},o.prototype.get=function(e){var t=this.map[n(e)];return t?t[0]:null},o.prototype.getAll=function(e){return this.map[n(e)]||[]},o.prototype.has=function(e){return this.map.hasOwnProperty(n(e))},o.prototype.set=function(e,t){this.map[n(e)]=[a(t)]},o.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(i){this.map[i].forEach(function(s){e.call(t,s,i,this)},this)},this)};var i={blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t},s=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this)},c.call(p.prototype),c.call(f.prototype),f.prototype.clone=function(){return new f(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},f.error=function(){var e=new f(null,{status:0,statusText:""});return e.type="error",e};var r=[301,302,303,307,308];f.redirect=function(e,t){if(-1===r.indexOf(t))throw new RangeError("Invalid status code");return new f(null,{status:t,headers:{location:e}})},t.Headers=o,t.Request=p,t.Response=f,t.fetch=function(e,t){return new Promise(function(s,r){var n;n=p.prototype.isPrototypeOf(e)&&!t?e:new p(e,t);var a=new XMLHttpRequest;var l=!1;function h(){if(4===a.readyState){var e=1223===a.status?204:a.status;if(e<100||e>599){if(l)return;return l=!0,void r(new TypeError("Network request failed"))}var t={status:e,statusText:a.statusText,headers:function(e){var t=new o;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var i=e.trim().split(":"),s=i.shift().trim(),r=i.join(":").trim();t.append(s,r)}),t}(a),url:"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0},i="response"in a?a.response:a.responseText;l||(l=!0,s(new f(i,t)))}}a.onreadystatechange=h,a.onload=h,a.onerror=function(){l||(l=!0,r(new TypeError("Network request failed")))},a.open(n.method,n.url,!0);try{"include"===n.credentials&&("withCredentials"in a?a.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(e){console&&console.warn&&console.warn("set withCredentials error:"+e)}"responseType"in a&&i.blob&&(a.responseType="blob"),n.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send(void 0===n._bodyInit?null:n._bodyInit)})},t.fetch.polyfill=!0,void 0!==e&&e.exports&&(e.exports=t.fetch)}function n(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function l(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}})}function u(e){var t=new FileReader;return t.readAsArrayBuffer(e),h(t)}function c(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(i.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(i.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!i.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},i.blob?(this.blob=function(){var e=l(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(u)},this.text=function(){var e,t,i,s,r,n,a,o=l(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=this._options,i=new FileReader,s=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",r=/charset\=[0-9a-zA-Z\-\_]*;?/,n=e.type.match(r)||s.match(r),a=[e],n&&a.push(n[0].replace(/^charset\=/,"").replace(/;$/,"")),i.readAsText.apply(i,a),h(i);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=l(this);return e||Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(d)}),this.json=function(){return this.text().then(JSON.parse)},this}function p(e,t){var i,r,n=(t=t||{}).body;if(p.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=(i=t.method||this.method||"GET",r=i.toUpperCase(),s.indexOf(r)>-1?r:i),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n,t)}function d(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var i=e.split("="),s=i.shift().replace(/\+/g," "),r=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(s),decodeURIComponent(r))}}),t}function f(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof o?t.headers:new o(t.headers),this.url=t.url||""}}("undefined"!=typeof self?self:this)},function(e,t){var i,s,r=e.exports={};function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(e){if(i===setTimeout)return setTimeout(e,0);if((i===n||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:n}catch(e){i=n}try{s="function"==typeof clearTimeout?clearTimeout:a}catch(e){s=a}}();var l,h=[],u=!1,c=-1;function p(){u&&l&&(u=!1,l.length?h=l.concat(h):c=-1,h.length&&d())}function d(){if(!u){var e=o(p);u=!0;for(var t=h.length;t;){for(l=h,h=[];++c1)for(var i=1;i=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},i(91),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,i(21))},function(e,t,i){i(41),e.exports=i(40)},function(e,t){},,,,,,,function(e,t){}]); \ No newline at end of file diff --git a/dist/leaflet/iclient9-leaflet.css b/dist/leaflet/iclient9-leaflet.css index 08850ff611..ab82df00d2 100644 --- a/dist/leaflet/iclient9-leaflet.css +++ b/dist/leaflet/iclient9-leaflet.css @@ -3,7 +3,7 @@ * iclient9-leaflet.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */ @font-face { diff --git a/dist/leaflet/iclient9-leaflet.js b/dist/leaflet/iclient9-leaflet.js index 140f72409e..6c7f41e373 100644 --- a/dist/leaflet/iclient9-leaflet.js +++ b/dist/leaflet/iclient9-leaflet.js @@ -3,7 +3,7 @@ * iclient9-leaflet.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */ /******/ (function(modules) { // webpackBootstrap @@ -72167,7 +72167,7 @@ module.exports = function (proj4) { /* 387 */ /***/ (function(module) { -module.exports = {"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_spec":"proj4@2.3.15","_where":"G:\\iClient\\iClient-JavaScript","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"bundleDependencies":false,"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"deprecated":false,"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"}; +module.exports = {"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://localhost:4873/proj4/-/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_spec":"proj4@2.3.15","_where":"E:\\2018\\git\\iClient-JavaScript","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"bundleDependencies":false,"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"deprecated":false,"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"}; /***/ }), /* 388 */ diff --git a/dist/leaflet/iclient9-leaflet.min.css b/dist/leaflet/iclient9-leaflet.min.css index d0f25481d5..1993d4d60a 100644 --- a/dist/leaflet/iclient9-leaflet.min.css +++ b/dist/leaflet/iclient9-leaflet.min.css @@ -3,6 +3,6 @@ * iclient9-leaflet.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */@font-face{font-family:supermapol-icons;src:url(data:application/vnd.ms-fontobject;base64,qFEAAOBQAAABAAIAAAAAAAAAAAAAAAAAAAABA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uMTU3IDM3Mi4zNjNjNDEuNzc0IDAgNzUuNjM3IDMzLjg2MyA3NS42MzcgNzUuNjM3cy0zMy44NjMgNzUuNjM3LTc1LjYzNyA3NS42MzdjLTQxLjc3NCAwLTc1LjYzNy0zMy44NjMtNzUuNjM3LTc1LjYzN3MzMy44NjMtNzUuNjM3IDc1LjYzNy03NS42Mzd6TTE5Ny43OTIgMjU4LjkwOGg5MDcuNjM3YzQxLjc3NCAwIDc1LjYzNy0zMy44NjMgNzUuNjM3LTc1LjYzN3YtNzUuNjM3YzAtNDEuNzc0LTMzLjg2My03NS42MzctNzUuNjM3LTc1LjYzN2gtOTA3LjYzN2MtNDEuNzc0IDAtNzUuNjM3IDMzLjg2My03NS42MzcgNzUuNjM3djc1LjYzN2MwIDQxLjc3NCAzMy44NjMgNzUuNjM3IDc1LjYzNyA3NS42Mzd2MHpNOTU0LjE1NyA2OS44MThjNDEuNzc0IDAgNzUuNjM3IDMzLjg2MyA3NS42MzcgNzUuNjM3cy0zMy44NjMgNzUuNjM3LTc1LjYzNyA3NS42MzdjLTQxLjc3NCAwLTc1LjYzNy0zMy44NjMtNzUuNjM3LTc1LjYzN3MzMy44NjMtNzUuNjM3IDc1LjYzNy03NS42Mzd6IiAvPg0KPC9mb250PjwvZGVmcz48L3N2Zz4=#supermapol-icons) format('svg');font-weight:400;font-style:normal}[class*=" supermapol-icons-"],[class^=supermapol-icons-]{font-family:supermapol-icons,sans-serif!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.supermapol-icons-material_design_beenhere:before{content:"\E958"}.supermapol-icons-material_design_directions:before{content:"\E959"}.supermapol-icons-material_design_directions_bike:before{content:"\E95A"}.supermapol-icons-material_design_directions_bus:before{content:"\E95B"}.supermapol-icons-material_design_directions_car:before{content:"\E95C"}.supermapol-icons-material_design_directions_ferry:before{content:"\E95D"}.supermapol-icons-material_design_directions_train:before{content:"\E95E"}.supermapol-icons-material_design_directions_transit:before{content:"\E95F"}.supermapol-icons-material_design_directions_walk:before{content:"\E960"}.supermapol-icons-material_design_flight:before{content:"\E961"}.supermapol-icons-material_design_hotel:before{content:"\E962"}.supermapol-icons-material_design_local_airport:before{content:"\E963"}.supermapol-icons-material_design_local_atm:before{content:"\E964"}.supermapol-icons-material_design_local_attraction:before{content:"\E965"}.supermapol-icons-material_design_local_bar:before{content:"\E966"}.supermapol-icons-material_design_local_cafe:before{content:"\E967"}.supermapol-icons-material_design_local_car_wash:before{content:"\E968"}.supermapol-icons-material_design_local_convenience_store:before{content:"\E969"}.supermapol-icons-material_design_local_drink:before{content:"\E96A"}.supermapol-icons-material_design_local_florist:before{content:"\E96B"}.supermapol-icons-material_design_local_gas_station:before{content:"\E96C"}.supermapol-icons-material_design_local_grocery_store:before{content:"\E96D"}.supermapol-icons-material_design_local_hospital:before{content:"\E96E"}.supermapol-icons-material_design_local_laundry_service:before{content:"\E96F"}.supermapol-icons-material_design_local_library:before{content:"\E970"}.supermapol-icons-material_design_local_mall:before{content:"\E971"}.supermapol-icons-material_design_local_movies:before{content:"\E972"}.supermapol-icons-material_design_local_offer:before{content:"\E973"}.supermapol-icons-material_design_local_parking:before{content:"\E974"}.supermapol-icons-material_design_local_pharmacy:before{content:"\E975"}.supermapol-icons-material_design_local_phone:before{content:"\E976"}.supermapol-icons-material_design_local_pizza:before{content:"\E977"}.supermapol-icons-material_design_local_play:before{content:"\E978"}.supermapol-icons-material_design_local_post_office:before{content:"\E979"}.supermapol-icons-material_design_local_print_shop:before{content:"\E97A"}.supermapol-icons-material_design_local_restaurant:before{content:"\E97B"}.supermapol-icons-material_design_local_see:before{content:"\E97C"}.supermapol-icons-material_design_local_shipping:before{content:"\E97D"}.supermapol-icons-material_design_local_taxi:before{content:"\E97E"}.supermapol-icons-material_design_location_history:before{content:"\E97F"}.supermapol-icons-material_design_my_location:before{content:"\E980"}.supermapol-icons-material_design_navigation:before{content:"\E981"}.supermapol-icons-material_design_pin_drop:before{content:"\E982"}.supermapol-icons-material_design_place:before{content:"\E983"}.supermapol-icons-material_design_rate_review:before{content:"\E984"}.supermapol-icons-material_design_restaurant_menu:before{content:"\E985"}.supermapol-icons-material_design_satellite:before{content:"\E986"}.supermapol-icons-material_design_store_mall_directory:before{content:"\E987"}.supermapol-icons-material_design_terrain:before{content:"\E988"}.supermapol-icons-material_design_traffic:before{content:"\E989"}.supermapol-icons-server:before{content:"\E98B"}.supermapol-icons-others:before{content:"\E98A"}.supermapol-icons-maps:before{content:"\E954"}.supermapol-icons-new:before{content:"\E955"}.supermapol-icons-feedback:before{content:"\E956"}.supermapol-icons-homepage:before{content:"\E957"}.supermapol-icons-ruler:before{content:"\E950"}.supermapol-icons-menu:before{content:"\E952"}.supermapol-icons-rename:before{content:"\E953"}.supermapol-icons-field:before{content:"\E951"}.supermapol-icons-export:before{content:"\E94D"}.supermapol-icons-zone:before{content:"\E94C"}.supermapol-icons-copy:before{content:"\E94B"}.supermapol-icons-qqblog:before{content:"\E94E"}.supermapol-icons-sina:before{content:"\E94F"}.supermapol-icons-play:before{content:"\E949"}.supermapol-icons-pause:before{content:"\E94A"}.supermapol-icons-search-thin:before{content:"\E948"}.supermapol-icons-layerStyle:before{content:"\E947"}.supermapol-icons-cad:before{content:"\E944"}.supermapol-icons-grid:before{content:"\E945"}.supermapol-icons-image:before{content:"\E946"}.supermapol-icons-eye-closed:before{content:"\E915"}.supermapol-icons-dropdown:before{content:"\E943"}.supermapol-icons-solid-triangle:before{content:"\E941"}.supermapol-icons-eye:before{content:"\E942"}.supermapol-icons-opacity:before{content:"\E940"}.supermapol-icons-table:before{content:"\E93F"}.supermapol-icons-upload:before{content:"\E93D"}.supermapol-icons-solid-point:before{content:"\E93A"}.supermapol-icons-flag:before{content:"\E93B"}.supermapol-icons-target:before{content:"\E93C"}.supermapol-icons-legend:before{content:"\E93E"}.supermapol-icons-select:before{content:"\E939"}.supermapol-icons-logo:before{content:"\E938"}.supermapol-icons-tag:before{content:"\E934"}.supermapol-icons-new_home:before{content:"\E935"}.supermapol-icons-update:before{content:"\E936"}.supermapol-icons-info:before{content:"\E937"}.supermapol-icons-unfold:before{content:"\E930"}.supermapol-icons-fold:before{content:"\E931"}.supermapol-icons-right:before{content:"\E932"}.supermapol-icons-left:before{content:"\E933"}.supermapol-icons-edit:before{content:"\E92C"}.supermapol-icons-home:before{content:"\E92D"}.supermapol-icons-share:before{content:"\E92E"}.supermapol-icons-back:before{content:"\E92F"}.supermapol-icons-rest-api:before{content:"\E929"}.supermapol-icons-javascript-api:before{content:"\E92A"}.supermapol-icons-desktop-dev:before{content:"\E92B"}.supermapol-icons-open:before{content:"\E91F"}.supermapol-icons-overlay:before{content:"\E920"}.supermapol-icons-point-layer:before{content:"\E921"}.supermapol-icons-hamburg:before{content:"\E922"}.supermapol-icons-triangle:before{content:"\E923"}.supermapol-icons-polygon-layer:before{content:"\E924"}.supermapol-icons-close:before{content:"\E925"}.supermapol-icons-add:before{content:"\E926"}.supermapol-icons-more:before{content:"\E927"}.supermapol-icons-line-layer:before{content:"\E928"}.supermapol-icons-polygon:before{content:"\E91E"}.supermapol-icons-triangle-old:before{content:"\E910";color:#474747}.supermapol-icons-save:before{content:"\E900"}.supermapol-icons-baselayer:before{content:"\E901"}.supermapol-icons-marker:before{content:"\E902"}.supermapol-icons-uncheck:before{content:"\E903"}.supermapol-icons-checked:before{content:"\E904"}.supermapol-icons-zoom-in:before{content:"\E905"}.supermapol-icons-clear:before{content:"\E906"}.supermapol-icons-setting:before{content:"\E907"}.supermapol-icons-zoom-to:before{content:"\E908"}.supermapol-icons-default-layer:before{content:"\E909"}.supermapol-icons-group:before{content:"\E90A"}.supermapol-icons-delete:before{content:"\E90B"}.supermapol-icons-up:before{content:"\E90C"}.supermapol-icons-warning:before{content:"\E90D"}.supermapol-icons-retract:before{content:"\E90E"}.supermapol-icons-search:before{content:"\E90F"}.supermapol-icons-zoom-out:before{content:"\E911"}.supermapol-icons-layers:before{content:"\E912"}.supermapol-icons-add-old:before{content:"\E913"}.supermapol-icons-brush:before{content:"\E914"}.supermapol-icons-down:before{content:"\E916"}.supermapol-icons-line:before{content:"\E917"}.supermapol-icons-pen:before{content:"\E918"}.supermapol-icons-user:before{content:"\E919"}.supermapol-icons-down-end:before{content:"\E91A"}.supermapol-icons-up-end:before{content:"\E91B"}.supermapol-icons-text:before{content:"\E91C"}.supermapol-icons-customize:before{content:"\E91D"}.leaflet-control-ctv{box-shadow:0 1px 5px rgba(0,0,0,.4);background:none repeat scroll 0 0 #fff;border:1px solid #ddd;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}a.leaflet-control-ctv-toggle{width:34px;height:34px;background-position:50% 50%;background-repeat:no-repeat;display:block;line-height:34px!important;font-weight:bolder;text-align:center;text-decoration:none;color:#000;font-size:1.3em}.leaflet-control-ctv p.leaflet-control-ctv-value{line-height:26px;text-align:center;text-decoration:none;color:#000;font-weight:700;font-size:1.1em;display:none;overflow:hidden;text-overflow:ellipsis}.leaflet-control-ctv.leaflet-control-ctv-horizontal p.leaflet-control-ctv-value{line-height:34px;height:34px;margin:0;border-right:1px solid #ccc;min-width:35px;max-width:100px;float:left;clear:none;white-space:nowrap}.leaflet-control-ctv.leaflet-control-ctv-vertical p.leaflet-control-ctv-value{min-height:25px;max-height:100px;line-height:26px;margin:0 0 5px 0;border-bottom:1px solid #ccc;width:34px;white-space:pre-wrap}.leaflet-control-ctv input.leaflet-ctv-slider{margin:0}.leaflet-control-ctv.leaflet-control-ctv-horizontal .leaflet-ctv-slider-main{display:inline}.leaflet-control-ctv.leaflet-control-ctv-vertical .leaflet-ctv-slider-main{display:block}.leaflet-control-ctv .leaflet-ctv-slider-container,.leaflet-control-ctv input.leaflet-ctv-slider{display:none;padding:0}.leaflet-control-ctv.leaflet-control-ctv-horizontal .leaflet-ctv-slider-container{float:right;clear:none;width:90%;height:34px}.leaflet-control-ctv.leaflet-control-ctv-horizontal input.leaflet-ctv-slider{height:34px}.leaflet-control-ctv.leaflet-control-ctv-vertical input.leaflet-ctv-slider{writing-mode:bt-lr;width:34px;height:100%}.leaflet-control-ctv.leaflet-control-ctv-expanded p.leaflet-control-ctv-value{display:block}.leaflet-control-ctv.leaflet-control-ctv-expanded a.leaflet-control-ctv-toggle{display:none}.leaflet-control-ctv.leaflet-control-ctv-expanded .leaflet-ctv-slider-container,.leaflet-control-ctv.leaflet-control-ctv-expanded input.leaflet-ctv-slider{display:inherit}.leaflet-control-ctv.leaflet-control-ctv-vertical .leaflet-ctv-slider-container{width:34px;transform:rotate(180deg);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg)}.leaflet-control-ctv.leaflet-control-ctv-vertical .leaflet-ctv-slider-container{margin:10px 0}.leaflet-control-ctv.leaflet-control-ctv-horizontal .leaflet-ctv-slider-container{margin:0 10px}.leaflet-control-ctv.leaflet-control-ctv-vertical.leaflet-control-ctv-incdec .leaflet-ctv-slider-container{margin:0 0}.leaflet-control-ctv input[type=range]{-webkit-appearance:none;width:100%}.leaflet-control-ctv input[type=range]:focus{outline:0}.leaflet-control-ctv input[type=range]::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0);background:#ddd;border-radius:25px;border:0 solid transparent}.leaflet-control-ctv input[type=range]::-webkit-slider-thumb{box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0);border:0 solid transparent;height:16px;width:16px;border-radius:8px;background:#a4a4a4;cursor:pointer;-webkit-appearance:none;margin-top:-5.5px}.leaflet-control-ctv input[type=range]:focus::-webkit-slider-runnable-track{background:#eaeaea}.leaflet-control-ctv input[type=range]::-moz-range-track{width:100%;height:5px;cursor:pointer;box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0);background:#ddd;border-radius:25px;border:0 solid transparent}.leaflet-control-ctv input[type=range]::-moz-range-thumb{box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0);border:0 solid transparent;height:16px;width:16px;border-radius:8px;background:#a4a4a4;cursor:pointer}.leaflet-control-ctv input[type=range]::-ms-track{width:100%;height:5px;cursor:pointer;background:0 0;border-color:transparent;color:transparent}.leaflet-control-ctv input[type=range]::-ms-fill-lower{background:#d0d0d0;border:0 solid transparent;border-radius:50px;box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0)}.leaflet-control-ctv input[type=range]::-ms-fill-upper{background:#ddd;border:0 solid transparent;border-radius:50px;box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0)}.leaflet-control-ctv input[type=range]::-ms-thumb{box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0);border:0 solid transparent;width:16px;border-radius:8px;background:#a4a4a4;cursor:pointer;height:5px}.leaflet-control-ctv input[type=range]:focus::-ms-fill-lower{background:#ddd}.leaflet-control-ctv input[type=range]:focus::-ms-fill-upper{background:#eaeaea}.leaflet-control-ctv.leaflet-control-ctv-vertical input[type=range]::-moz-range-track{height:100%;width:5px}.leaflet-ctv-slider-last,.leaflet-ctv-slider-next{width:34px;height:34px;background-position:50% 50%;background-repeat:no-repeat;line-height:32px!important;font-weight:bolder;text-align:center;vertical-align:middle;text-decoration:none;color:#000;font-size:1.3em;display:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.leaflet-control-ctv.leaflet-control-ctv-expanded .leaflet-ctv-slider-last,.leaflet-control-ctv.leaflet-control-ctv-expanded .leaflet-ctv-slider-next{display:block}.leaflet-control-ctv.leaflet-control-ctv-horizontal .leaflet-ctv-slider-last,.leaflet-control-ctv.leaflet-control-ctv-horizontal .leaflet-ctv-slider-next{float:right}.leaflet-control-ctv input[type=range]::-moz-focus-outer{border:0}.leaflet-ctv-slider-incdec{cursor:pointer}@media screen and (-webkit-min-device-pixel-ratio:0){.leaflet-control-ctv.leaflet-control-ctv-vertical input[type=range]{transform-origin:17px 17px;-webkit-transform-origin:17px 17px;-moz-transform-origin:17px 17px;transform:rotate(90deg);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);height:34px}}.leaflet-control-ctv .tooltip .tooltip-text{display:none;width:120px;background-color:#000;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1}.leaflet-control-ctv .tooltip .tooltip-text::after{content:"";position:absolute;margin-left:-5px;border-width:5px;border-style:solid}.leaflet-control-ctv.leaflet-control-ctv-horizontal .tooltip .tooltip-text.tooltip-bottom{top:120%;left:50%;margin-left:-60px}.leaflet-control-ctv.leaflet-control-ctv-horizontal .tooltip .tooltip-text.tooltip-bottom::after{bottom:100%;left:50%;border-color:transparent transparent #000 transparent}.leaflet-control-ctv.leaflet-control-ctv-horizontal .tooltip .tooltip-text.tooltip-top{bottom:120%;left:50%;margin-left:-60px}.leaflet-control-ctv.leaflet-control-ctv-horizontal .tooltip .tooltip-text.tooltip-top::after{top:100%;left:50%;border-color:#000 transparent transparent transparent}.leaflet-control-ctv.leaflet-control-ctv-vertical .tooltip .tooltip-text.tooltip-right{top:50%;left:120%}.leaflet-control-ctv.leaflet-control-ctv-vertical .tooltip .tooltip-text.tooltip-right::after{top:33%;right:100%;border-color:transparent #000 transparent transparent}.leaflet-control-ctv.leaflet-control-ctv-vertical .tooltip .tooltip-text.tooltip-left{top:50%;right:110%}.leaflet-control-ctv.leaflet-control-ctv-vertical .tooltip .tooltip-text.tooltip-left::after{top:33%;left:104%;border-color:transparent transparent transparent #000}.leaflet-control-ctv.leaflet-control-ctv-horizontal .tooltip:hover .tooltip-text,.leaflet-control-ctv.leaflet-control-ctv-vertical .tooltip:hover .tooltip-text{display:block} \ No newline at end of file diff --git a/dist/leaflet/iclient9-leaflet.min.js b/dist/leaflet/iclient9-leaflet.min.js index 0795ad160c..3dc7f329b2 100644 --- a/dist/leaflet/iclient9-leaflet.min.js +++ b/dist/leaflet/iclient9-leaflet.min.js @@ -3,6 +3,6 @@ * iclient9-leaflet.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * - */!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=531)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SuperMap=window.SuperMap=window.SuperMap||{}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Util=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(0);r(63);var o,a,s;t.Util=i.SuperMap.Util=i.SuperMap.Util||{};i.SuperMap.Util.extend=function(e,t){if(e=e||{},t){for(var r in t){var n=t[r];void 0!==n&&(e[r]=n)}!("function"==typeof window.Event&&t instanceof window.Event)&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&(e.toString=t.toString)}return e},i.SuperMap.Util.copy=function(e,t){var r;if(e=e||{},t)for(var n in e)void 0!==(r=t[n])&&(e[n]=r)},i.SuperMap.Util.reset=function(e){for(var t in e=e||{})if(e.hasOwnProperty(t)){if("object"===n(e[t])&&e[t]instanceof Array){for(var r in e[t])e[t][r].destroy&&e[t][r].destroy();e[t].length=0}else"object"===n(e[t])&&e[t]instanceof Object&&e[t].destroy&&e[t].destroy();e[t]=null}},i.SuperMap.Util.getElement=function(){for(var e=[],t=0,r=arguments.length;t=0;r--)e[r]===t&&e.splice(r,1);return e},i.SuperMap.Util.indexOf=function(e,t){if(null==e)return-1;if("function"==typeof e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r=0&&parseFloat(s)<1?(e.style.filter="alpha(opacity="+100*s+")",e.style.opacity=s):1===parseFloat(s)&&(e.style.filter="",e.style.opacity="")},i.SuperMap.Util.applyDefaults=function(e,t){e=e||{};var r="function"==typeof window.Event&&t instanceof window.Event;for(var n in t)(void 0===e[n]||!r&&t.hasOwnProperty&&t.hasOwnProperty(n)&&!e.hasOwnProperty(n))&&(e[n]=t[n]);return!r&&t&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&!e.hasOwnProperty("toString")&&(e.toString=t.toString),e},i.SuperMap.Util.getParameterString=function(e){var t=[];for(var r in e){var i=e[r];if(null!=i&&"function"!=typeof i){var o;if("object"===(void 0===i?"undefined":n(i))&&i.constructor===Array){for(var a,s=[],l=0,u=i.length;l1?1/e:e},i.SuperMap.Util.getResolutionFromScale=function(e,t){var r;e&&(null==t&&(t="degrees"),r=1/(i.SuperMap.Util.normalizeScale(e)*i.SuperMap.INCHES_PER_UNIT[t]*i.SuperMap.DOTS_PER_INCH));return r},i.SuperMap.Util.getScaleFromResolution=function(e,t){return null==t&&(t="degrees"),e*i.SuperMap.INCHES_PER_UNIT[t]*i.SuperMap.DOTS_PER_INCH},i.SuperMap.IS_GECKO=-1===(o=navigator.userAgent.toLowerCase()).indexOf("webkit")&&-1!==o.indexOf("gecko"),i.SuperMap.Browser=function(){var e,t="",r="",n="pc",i=navigator.userAgent.toLowerCase();return i.indexOf("msie")>-1||i.indexOf("trident")>-1&&i.indexOf("rv")>-1?(t="msie",e=i.match(/msie ([\d.]+)/)||i.match(/rv:([\d.]+)/)):i.indexOf("chrome")>-1?(t="chrome",e=i.match(/chrome\/([\d.]+)/)):i.indexOf("firefox")>-1?(t="firefox",e=i.match(/firefox\/([\d.]+)/)):i.indexOf("opera")>-1?(t="opera",e=i.match(/version\/([\d.]+)/)):i.indexOf("safari")>-1&&(t="safari",e=i.match(/version\/([\d.]+)/)),r=e?e[1]:"",i.indexOf("ipad")>-1||i.indexOf("ipod")>-1||i.indexOf("iphone")>-1?n="apple":i.indexOf("android")>-1&&(r=(e=i.match(/version\/([\d.]+)/))?e[1]:"",n="android"),{name:t,version:r,device:n}}(),i.SuperMap.Util.getBrowser=function(){return i.SuperMap.Browser},i.SuperMap.Util.isSupportCanvas=(a=!0,s=i.SuperMap.Util.getBrowser(),document.createElement("canvas").getContext?("firefox"===s.name&&parseFloat(s.version)<5&&(a=!1),"safari"===s.name&&parseFloat(s.version)<4&&(a=!1),"opera"===s.name&&parseFloat(s.version)<10&&(a=!1),"msie"===s.name&&parseFloat(s.version)<9&&(a=!1)):a=!1,a),i.SuperMap.Util.supportCanvas=function(){return i.SuperMap.Util.isSupportCanvas},i.SuperMap.INCHES_PER_UNIT.degree=i.SuperMap.INCHES_PER_UNIT.dd,i.SuperMap.INCHES_PER_UNIT.meter=i.SuperMap.INCHES_PER_UNIT.m,i.SuperMap.INCHES_PER_UNIT.foot=i.SuperMap.INCHES_PER_UNIT.ft,i.SuperMap.INCHES_PER_UNIT.inch=i.SuperMap.INCHES_PER_UNIT.inches,i.SuperMap.INCHES_PER_UNIT.mile=i.SuperMap.INCHES_PER_UNIT.mi,i.SuperMap.INCHES_PER_UNIT.kilometer=i.SuperMap.INCHES_PER_UNIT.km,i.SuperMap.INCHES_PER_UNIT.yard=i.SuperMap.INCHES_PER_UNIT.yd,i.SuperMap.Util.isInTheSameDomain=function(e){if(!e)return!0;var t=e.indexOf("//"),r=document.location.toString(),n=r.indexOf("//");if(-1===t)return!0;var i,o=i=e.substring(0,t),a=r.substring(n+2);n=a.indexOf("/");var s=a.indexOf(":"),l=a.substring(0,n),u=document.location.protocol;if(-1!==s||(l+=":"+("http:"===u.toLowerCase()?80:443)),u.toLowerCase()!==o.toLowerCase())return!1;var c=(o=e.substring(t+2)).indexOf(":");t=o.indexOf("/");var p,h=o.substring(0,t);return-1!==c?p=o.substring(0,c):(p=o.substring(0,t),h+=":"+("http:"===i.toLowerCase()?80:443)),p===document.domain&&h===l},i.SuperMap.Util.calculateDpi=function(e,t,r,n,i){if(e&&t&&r){var o,a=e.getWidth(),s=e.getHeight(),l=t.w,u=t.h;if(i=i||6378137,"degree"===(n=n||"degrees").toLowerCase()||"degrees"===n.toLowerCase()||"dd"===n.toLowerCase()){var c=a/l,p=s/u;o=254/(c>p?c:p)/r/(2*Math.PI*i/360)/1e4}else{o=254/(a/l)/r/1e4}return o}},i.SuperMap.Util.toJSON=function(e){var t=e;if(null==t)return null;switch(t.constructor){case String:return t=(t=(t=(t=(t=(t=(t='"'+t.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var r=[],o=0,a=t.length;o0?"{"+c.join(",")+"}":"{}"}return t.toString()}},i.SuperMap.Util.getResolutionFromScaleDpi=function(e,t,r,n){return n=n||6378137,r=r||"",e>0&&t>0?(e=i.SuperMap.Util.normalizeScale(e),"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*n/360)/1e4:254/t/e/1e4):-1},i.SuperMap.Util.getScaleFromResolutionDpi=function(e,t,r,n){return n=n||6378137,r=r||"",e>0&&t>0?"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*n/360)/1e4:254/t/e/1e4:-1},i.SuperMap.Util.transformResult=function(e){return e.responseText&&"string"==typeof e.responseText&&(e=JSON.parse(e.responseText)),e},i.SuperMap.Util.copyAttributes=function(e,t){if(e=e||{},t)for(var r in t){var n=t[r];void 0!==n&&"CLASS_NAME"!==r&&"function"!=typeof n&&(e[r]=n)}return e},i.SuperMap.Util.copyAttributesWithClip=function(e,t,r){if(e=e||{},t)for(var n in t){var i=!1;if(r&&r.length)for(var o=0,a=r.length;o=0&&a<=1&&o<=1&&a>=0?new i.SuperMap.Geometry.Point(e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)):"No Intersection";else if(0==l&&0==u){var p=Math.max(e.y,t.y),h=Math.min(e.y,t.y),f=Math.max(e.x,t.x),y=Math.min(e.x,t.x);s=(r.y>=h&&r.y<=p||n.y>=h&&n.y<=p)&&r.x>=y&&r.x<=f||n.x>=y&&n.x<=f?"Coincident":"Parallel"}else s="Parallel";return s},i.SuperMap.Util.getTextBounds=function(e,t,r){document.body.appendChild(r),r.style.width="auto",r.style.height="auto",e.fontSize&&(r.style.fontSize=e.fontSize),e.fontFamily&&(r.style.fontFamily=e.fontFamily),e.fontWeight&&(r.style.fontWeight=e.fontWeight),r.style.position="relative",r.style.visibility="hidden",r.style.display="inline-block",r.innerHTML=t;var n=r.clientWidth,i=r.clientHeight;return document.body.removeChild(r),{textWidth:n,textHeight:i}}},function(e,t){e.exports=L},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AggregationQueryBuilderType=t.AggregationType=t.TopologyValidatorRule=t.SummaryType=t.StatisticAnalystMode=t.AnalystSizeUnit=t.AnalystAreaUnit=t.ClipAnalystMode=t.ChartType=t.ClientType=t.Exponent=t.VariogramMode=t.InterpolationAlgorithmType=t.SearchMode=t.PixelFormat=t.StatisticMode=t.UGCLayerType=t.LayerType=t.ColorSpaceType=t.GridType=t.TransferPreference=t.TransferTactic=t.EditType=t.DataReturnMode=t.SurfaceAnalystMethod=t.SmoothMethod=t.OutputType=t.OverlayOperationType=t.BufferEndType=t.TurnType=t.SupplyCenterType=t.SideType=t.DirectionType=t.LabelOverLengthMode=t.LabelBackShape=t.AlongLineDirection=t.FillGradientMode=t.TextAlignment=t.ColorGradientType=t.ThemeType=t.RangeMode=t.GraduatedMode=t.GraphAxesTextDisplayMode=t.ThemeGraphType=t.ThemeGraphTextFormat=t.EngineType=t.BufferRadiusUnit=t.Unit=t.MeasureMode=t.SpatialRelationType=t.SpatialQueryMode=t.JoinType=t.QueryOption=t.GeometryType=t.ServerType=t.DataFormat=void 0;var n=r(0),i=n.SuperMap.DataFormat={GEOJSON:"GEOJSON",ISERVER:"ISERVER"};t.DataFormat=i;var o=n.SuperMap.ServerType={ISERVER:"ISERVER",IPORTAL:"IPORTAL",ONLINE:"ONLINE"};t.ServerType=o;var a=n.SuperMap.GeometryType={LINE:"LINE",LINEM:"LINEM",POINT:"POINT",REGION:"REGION",ELLIPSE:"ELLIPSE",CIRCLE:"CIRCLE",TEXT:"TEXT",RECTANGLE:"RECTANGLE",UNKNOWN:"UNKNOWN"};t.GeometryType=a;var s=n.SuperMap.QueryOption={ATTRIBUTE:"ATTRIBUTE",ATTRIBUTEANDGEOMETRY:"ATTRIBUTEANDGEOMETRY",GEOMETRY:"GEOMETRY"};t.QueryOption=s;var l=n.SuperMap.JoinType={INNERJOIN:"INNERJOIN",LEFTJOIN:"LEFTJOIN"};t.JoinType=l;var u=n.SuperMap.SpatialQueryMode={CONTAIN:"CONTAIN",CROSS:"CROSS",DISJOINT:"DISJOINT",IDENTITY:"IDENTITY",INTERSECT:"INTERSECT",NONE:"NONE",OVERLAP:"OVERLAP",TOUCH:"TOUCH",WITHIN:"WITHIN"};t.SpatialQueryMode=u;var c=n.SuperMap.SpatialRelationType={CONTAIN:"CONTAIN",INTERSECT:"INTERSECT",WITHIN:"WITHIN"};t.SpatialRelationType=c;var p=n.SuperMap.MeasureMode={DISTANCE:"DISTANCE",AREA:"AREA"};t.MeasureMode=p;var h=n.SuperMap.Unit={METER:"METER",KILOMETER:"KILOMETER",MILE:"MILE",YARD:"YARD",DEGREE:"DEGREE",MILLIMETER:"MILLIMETER",CENTIMETER:"CENTIMETER",INCH:"INCH",DECIMETER:"DECIMETER",FOOT:"FOOT",SECOND:"SECOND",MINUTE:"MINUTE",RADIAN:"RADIAN"};t.Unit=h;var f=n.SuperMap.BufferRadiusUnit={CENTIMETER:"CENTIMETER",DECIMETER:"DECIMETER",FOOT:"FOOT",INCH:"INCH",KILOMETER:"KILOMETER",METER:"METER",MILE:"MILE",MILLIMETER:"MILLIMETER",YARD:"YARD"};t.BufferRadiusUnit=f;var y=n.SuperMap.EngineType={IMAGEPLUGINS:"IMAGEPLUGINS",OGC:"OGC",ORACLEPLUS:"ORACLEPLUS",SDBPLUS:"SDBPLUS",SQLPLUS:"SQLPLUS",UDB:"UDB"};t.EngineType=y;var d=n.SuperMap.ThemeGraphTextFormat={CAPTION:"CAPTION",CAPTION_PERCENT:"CAPTION_PERCENT",CAPTION_VALUE:"CAPTION_VALUE",PERCENT:"PERCENT",VALUE:"VALUE"};t.ThemeGraphTextFormat=d;var v=n.SuperMap.ThemeGraphType={AREA:"AREA",BAR:"BAR",BAR3D:"BAR3D",LINE:"LINE",PIE:"PIE",PIE3D:"PIE3D",POINT:"POINT",RING:"RING",ROSE:"ROSE",ROSE3D:"ROSE3D",STACK_BAR:"STACK_BAR",STACK_BAR3D:"STACK_BAR3D",STEP:"STEP"};t.ThemeGraphType=v;var m=n.SuperMap.GraphAxesTextDisplayMode={ALL:"ALL",NONE:"NONE",YAXES:"YAXES"};t.GraphAxesTextDisplayMode=m;var g=n.SuperMap.GraduatedMode={CONSTANT:"CONSTANT",LOGARITHM:"LOGARITHM",SQUAREROOT:"SQUAREROOT"};t.GraduatedMode=g;var b=n.SuperMap.RangeMode={CUSTOMINTERVAL:"CUSTOMINTERVAL",EQUALINTERVAL:"EQUALINTERVAL",LOGARITHM:"LOGARITHM",QUANTILE:"QUANTILE",SQUAREROOT:"SQUAREROOT",STDDEVIATION:"STDDEVIATION"};t.RangeMode=b;var S=n.SuperMap.ThemeType={DOTDENSITY:"DOTDENSITY",GRADUATEDSYMBOL:"GRADUATEDSYMBOL",GRAPH:"GRAPH",LABEL:"LABEL",RANGE:"RANGE",UNIQUE:"UNIQUE"};t.ThemeType=S;var _=n.SuperMap.ColorGradientType={BLACK_WHITE:"BLACKWHITE",BLUE_BLACK:"BLUEBLACK",BLUE_RED:"BLUERED",BLUE_WHITE:"BLUEWHITE",CYAN_BLACK:"CYANBLACK",CYAN_BLUE:"CYANBLUE",CYAN_GREEN:"CYANGREEN",CYAN_WHITE:"CYANWHITE",GREEN_BLACK:"GREENBLACK",GREEN_BLUE:"GREENBLUE",GREEN_ORANGE_VIOLET:"GREENORANGEVIOLET",GREEN_RED:"GREENRED",GREEN_WHITE:"GREENWHITE",PINK_BLACK:"PINKBLACK",PINK_BLUE:"PINKBLUE",PINK_RED:"PINKRED",PINK_WHITE:"PINKWHITE",RAIN_BOW:"RAINBOW",RED_BLACK:"REDBLACK",RED_WHITE:"REDWHITE",SPECTRUM:"SPECTRUM",TERRAIN:"TERRAIN",YELLOW_BLACK:"YELLOWBLACK",YELLOW_BLUE:"YELLOWBLUE",YELLOW_GREEN:"YELLOWGREEN",YELLOW_RED:"YELLOWRED",YELLOW_WHITE:"YELLOWWHITE"};t.ColorGradientType=_;var P=n.SuperMap.TextAlignment={TOPLEFT:"TOPLEFT",TOPCENTER:"TOPCENTER",TOPRIGHT:"TOPRIGHT",BASELINELEFT:"BASELINELEFT",BASELINECENTER:"BASELINECENTER",BASELINERIGHT:"BASELINERIGHT",BOTTOMLEFT:"BOTTOMLEFT",BOTTOMCENTER:"BOTTOMCENTER",BOTTOMRIGHT:"BOTTOMRIGHT",MIDDLELEFT:"MIDDLELEFT",MIDDLECENTER:"MIDDLECENTER",MIDDLERIGHT:"MIDDLERIGHT"};t.TextAlignment=P;var O=n.SuperMap.FillGradientMode={NONE:"NONE",LINEAR:"LINEAR",RADIAL:"RADIAL",CONICAL:"CONICAL",SQUARE:"SQUARE"};t.FillGradientMode=O;var T=n.SuperMap.AlongLineDirection={NORMAL:"ALONG_LINE_NORMAL",LB_TO_RT:"LEFT_BOTTOM_TO_RIGHT_TOP",LT_TO_RB:"LEFT_TOP_TO_RIGHT_BOTTOM",RB_TO_LT:"RIGHT_BOTTOM_TO_LEFT_TOP",RT_TO_LB:"RIGHT_TOP_TO_LEFT_BOTTOM"};t.AlongLineDirection=T;var w=n.SuperMap.LabelBackShape={DIAMOND:"DIAMOND",ELLIPSE:"ELLIPSE",MARKER:"MARKER",NONE:"NONE",RECT:"RECT",ROUNDRECT:"ROUNDRECT",TRIANGLE:"TRIANGLE"};t.LabelBackShape=w;var M=n.SuperMap.LabelOverLengthMode={NEWLINE:"NEWLINE",NONE:"NONE",OMIT:"OMIT"};t.LabelOverLengthMode=M;var C=n.SuperMap.DirectionType={EAST:"EAST",NONE:"NONE",NORTH:"NORTH",SOURTH:"SOURTH",WEST:"WEST"};t.DirectionType=C;var x=n.SuperMap.SideType={LEFT:"LEFT",MIDDLE:"MIDDLE",NONE:"NONE",RIGHT:"RIGHT"};t.SideType=x;var E=n.SuperMap.SupplyCenterType={FIXEDCENTER:"FIXEDCENTER",NULL:"NULL",OPTIONALCENTER:"OPTIONALCENTER"};t.SupplyCenterType=E;var A=n.SuperMap.TurnType={AHEAD:"AHEAD",BACK:"BACK",END:"END",LEFT:"LEFT",NONE:"NONE",RIGHT:"RIGHT"};t.TurnType=A;var L=n.SuperMap.BufferEndType={FLAT:"FLAT",ROUND:"ROUND"};t.BufferEndType=L;var k=n.SuperMap.OverlayOperationType={CLIP:"CLIP",ERASE:"ERASE",IDENTITY:"IDENTITY",INTERSECT:"INTERSECT",UNION:"UNION",UPDATE:"UPDATE",XOR:"XOR"};t.OverlayOperationType=k;var j=n.SuperMap.OutputType={INDEXEDHDFS:"INDEXEDHDFS",UDB:"UDB",MONGODB:"MONGODB",PG:"PG"};t.OutputType=j;var F=n.SuperMap.SmoothMethod={BSPLINE:"BSPLINE",POLISH:"POLISH"};t.SmoothMethod=F;var I=n.SuperMap.SurfaceAnalystMethod={ISOLINE:"ISOLINE",ISOREGION:"ISOREGION"};t.SurfaceAnalystMethod=I;var R=n.SuperMap.DataReturnMode={DATASET_AND_RECORDSET:"DATASET_AND_RECORDSET",DATASET_ONLY:"DATASET_ONLY",RECORDSET_ONLY:"RECORDSET_ONLY"};t.DataReturnMode=R;var N=n.SuperMap.EditType={ADD:"add",UPDATE:"update",DELETE:"delete"};t.EditType=N;var D=n.SuperMap.TransferTactic={LESS_TIME:"LESS_TIME",LESS_TRANSFER:"LESS_TRANSFER",LESS_WALK:"LESS_WALK",MIN_DISTANCE:"MIN_DISTANCE"};t.TransferTactic=D;var G=n.SuperMap.TransferPreference={BUS:"BUS",SUBWAY:"SUBWAY",NO_SUBWAY:"NO_SUBWAY",NONE:"NONE"};t.TransferPreference=G;var B=n.SuperMap.GridType={CROSS:"CROSS",GRID:"GRID",POINT:"POINT"};t.GridType=B;var U=n.SuperMap.ColorSpaceType={CMYK:"CMYK",RGB:"RGB"};t.ColorSpaceType=U;var V=n.SuperMap.LayerType={UGC:"UGC",WMS:"WMS",WFS:"WFS",CUSTOM:"CUSTOM"};t.LayerType=V;var J=n.SuperMap.UGCLayerType={THEME:"THEME",VECTOR:"VECTOR",GRID:"GRID",IMAGE:"IMAGE"};t.UGCLayerType=J;var z=n.SuperMap.StatisticMode={AVERAGE:"AVERAGE",MAX:"MAX",MIN:"MIN",STDDEVIATION:"STDDEVIATION",SUM:"SUM",VARIANCE:"VARIANCE"};t.StatisticMode=z;var H=n.SuperMap.PixelFormat={BIT16:"BIT16",BIT32:"BIT32",BIT64:"BIT64",SINGLE:"SINGLE",DOUBLE:"DOUBLE",UBIT1:"UBIT1",UBIT4:"UBIT4",UBIT8:"UBIT8",UBIT24:"UBIT24",UBIT32:"UBIT32"};t.PixelFormat=H;var q=n.SuperMap.SearchMode={KDTREE_FIXED_COUNT:"KDTREE_FIXED_COUNT",KDTREE_FIXED_RADIUS:"KDTREE_FIXED_RADIUS",NONE:"NONE",QUADTREE:"QUADTREE"};t.SearchMode=q;var W=n.SuperMap.InterpolationAlgorithmType={KRIGING:"KRIGING",SimpleKriging:"SimpleKriging",UniversalKriging:"UniversalKriging"};t.InterpolationAlgorithmType=W;var Q=n.SuperMap.VariogramMode={EXPONENTIAL:"EXPONENTIAL",GAUSSIAN:"GAUSSIAN",SPHERICAL:"SPHERICAL"};t.VariogramMode=Q;var Y=n.SuperMap.Exponent={EXP1:"EXP1",EXP2:"EXP2"};t.Exponent=Y;var X=n.SuperMap.ClientType={IP:"IP",REFERER:"Referer",REQUESTIP:"RequestIP",NONE:"NONE",SERVER:"SERVER",WEB:"WEB"};t.ClientType=X;var K=n.SuperMap.ChartType={BAR:"Bar",BAR3D:"Bar3D",CIRCLE:"Circle",PIE:"Pie",POINT:"Point",LINE:"Line",RING:"Ring"};t.ChartType=K;var Z=n.SuperMap.ClipAnalystMode={CLIP:"clip",INTERSECT:"intersect"};t.ClipAnalystMode=Z;var $=n.SuperMap.AnalystAreaUnit={SQUAREMETER:"SquareMeter",SQUAREKILOMETER:"SquareKiloMeter",HECTARE:"Hectare",ARE:"Are",ACRE:"Acre",SQUAREFOOT:"SquareFoot",SQUAREYARD:"SquareYard",SQUAREMILE:"SquareMile"};t.AnalystAreaUnit=$;var ee=n.SuperMap.AnalystSizeUnit={METER:"Meter",KILOMETER:"Kilometer",YARD:"Yard",FOOT:"Foot",MILE:"Mile"};t.AnalystSizeUnit=ee;var te=n.SuperMap.StatisticAnalystMode={MAX:"max",MIN:"min",AVERAGE:"average",SUM:"sum",VARIANCE:"variance",STDDEVIATION:"stdDeviation"};t.StatisticAnalystMode=te;var re=n.SuperMap.SummaryType={SUMMARYMESH:"SUMMARYMESH",SUMMARYREGION:"SUMMARYREGION"};t.SummaryType=re;var ne=n.SuperMap.TopologyValidatorRule={REGIONNOOVERLAP:"REGIONNOOVERLAP",REGIONNOOVERLAPWITH:"REGIONNOOVERLAPWITH",REGIONCONTAINEDBYREGION:"REGIONCONTAINEDBYREGION",REGIONCOVEREDBYREGION:"REGIONCOVEREDBYREGION",LINENOOVERLAP:"LINENOOVERLAP",LINENOOVERLAPWITH:"LINENOOVERLAPWITH",POINTNOIDENTICAL:"POINTNOIDENTICAL"};t.TopologyValidatorRule=ne;var ie=n.SuperMap.AggregationType={GEOHASH_GRID:"geohash_grid",FILTER:"filter"};t.AggregationType=ie;var oe=n.SuperMap.AggregationQueryBuilderType={GEO_BOUNDING_BOX:"geo_bounding_box"};t.AggregationQueryBuilderType=oe},function(e,t,r){"use strict";var n=o(r(2));r(103),r(170),r(160);var i=o(r(11));function o(e){return e&&e.__esModule?e:{default:e}}n.default.supermap=n.default.supermap||{},n.default.supermap.control=n.default.supermap.control||{},n.default.Control.Attribution.include({options:{position:"bottomright",prefix:i.default.Prefix}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElasticSearch=t.ThemeStyle=t.CartoCSS=t.TokenServiceParameter=t.ServerInfo=t.SecurityManager=t.KeyServiceParameter=t.SUtil=t.LevelRendererVector=t.Util=t.Transformable=t.Storage=t.SmicText=t.SmicStar=t.SmicSector=t.SmicRing=t.SmicRectangle=t.SmicPolygon=t.SmicPoint=t.SmicIsogon=t.SmicImage=t.SmicEllipse=t.SmicCircle=t.SmicBrokenLine=t.Shape=t.PaintLayer=t.Painter=t.Matrix=t.Math=t.Log=t.Http=t.Handler=t.Group=t.Eventful=t.LevelRendererEvent=t.Env=t.Easing=t.LevelRendererCurve=t.Config=t.ComputeBoundingBox=t.Color=t.Clip=t.Area=t.Animator=t.Animation=t.Render=t.LevelRenderer=t.FeatureTheme=t.Sector=t.FeatureRectangle=t.FeaturePolygon=t.Point=t.FeatureLine=t.Label=t.Image=t.FeatureCircle=t.ShapeParameters=t.ShapeFactory=t.ThemeVector=t.Ring=t.RankSymbol=t.OverlayPoint=t.Pie=t.Line=t.Graph=t.Circle=t.Bar3D=t.Bar=t.OnlineServiceBase=t.FilterField=t.DataItemOrderBy=t.DataItemType=t.ServiceStatus=t.OnlineQueryDatasParameter=t.OnlineData=t.Online=t.VectorClipJobsService=t.VectorClipJobsParameter=t.Vector=t.UpdateTurnNodeWeightService=t.UpdateTurnNodeWeightParameters=t.UpdateEdgeWeightService=t.UpdateEdgeWeightParameters=t.UGCSubLayer=t.UGCMapLayer=t.UGCLayer=t.TransferSolutionParameters=t.TransportationAnalystResultSetting=t.TransportationAnalystParameter=t.TransferSolutionService=t.TransferPathService=t.TransferPathParameters=t.TransferLine=t.TopologyValidatorJobsService=t.TopologyValidatorJobsParameter=t.TilesetsService=t.GeometryBatchAnalystService=t.ThiessenAnalystService=void 0,t.ThiessenAnalystParameters=t.ThemeUniqueItem=t.ThemeUnique=t.ThemeService=t.ThemeRangeItem=t.ThemeRange=t.ThemeParameters=t.ThemeOffset=t.ThemeMemoryData=t.ThemeLabelUniqueItem=t.ThemeLabelText=t.ThemeLabelItem=t.ThemeLabelBackground=t.ThemeLabelAlongLine=t.ThemeLabel=t.ThemeGridUniqueItem=t.ThemeGridUnique=t.ThemeGridRangeItem=t.ThemeGridRange=t.ThemeGraphText=t.ThemeGraphSize=t.ThemeGraphItem=t.ThemeGraphAxes=t.ThemeGraph=t.ThemeGraduatedSymbolStyle=t.ThemeGraduatedSymbol=t.ThemeFlow=t.ThemeDotDensity=t.Theme=t.TerrainCurvatureCalculationService=t.TerrainCurvatureCalculationParameters=t.SurfaceAnalystService=t.SurfaceAnalystParametersSetting=t.SurfaceAnalystParameters=t.SupplyCenter=t.SummaryRegionJobsService=t.SummaryRegionJobParameter=t.SummaryMeshJobsService=t.SummaryMeshJobParameter=t.SummaryAttributesJobsService=t.SummaryAttributesJobsParameter=t.StopQueryService=t.StopQueryParameters=t.SpatialAnalystBase=t.SingleObjectQueryJobsService=t.SingleObjectQueryJobsParameter=t.SetLayerStatusService=t.SetLayerStatusParameters=t.SetLayersInfoService=t.SetLayersInfoParameters=t.SetLayerInfoService=t.SetLayerInfoParameters=t.ServerTheme=t.ServerTextStyle=t.ServerStyle=t.ServerGeometry=t.ServerFeature=t.ServerColor=t.RouteLocatorService=t.RouteLocatorParameters=t.RouteCalculateMeasureService=t.RouteCalculateMeasureParameters=t.Route=t.QueryService=t.QueryParameters=t.QueryBySQLService=t.QueryBySQLParameters=t.QueryByGeometryService=t.QueryByGeometryParameters=t.QueryByDistanceService=t.QueryByDistanceParameters=t.QueryByBoundsService=t.QueryByBoundsParameters=t.ProcessingServiceBase=t.PointWithMeasure=t.OverlayGeoJobsService=t.OverlayGeoJobParameter=t.OverlayAnalystService=t.OverlayAnalystParameters=t.OverlapDisplayedOptions=t.OutputSetting=t.NetworkAnalystServiceBase=t.MeasureService=t.MeasureParameters=t.MathExpressionAnalysisService=t.MathExpressionAnalysisParameters=t.MapService=t.LinkItem=t.LayerStatus=t.LabelThemeCell=t.LabelSymbolCell=t.LabelMixedTextStyle=t.LabelMatrixCell=t.LabelImageCell=t.KernelDensityJobsService=t.KernelDensityJobParameter=t.JoinItem=t.InterpolationRBFAnalystParameters=t.InterpolationKrigingAnalystParameters=t.InterpolationIDWAnalystParameters=void 0,t.InterpolationAnalystService=t.InterpolationAnalystParameters=t.UGCImage=t.Grid=t.GetLayersInfoService=t.GetGridCellInfosService=t.GetGridCellInfosParameters=t.GetFieldsService=t.GetFeaturesServiceBase=t.GetFeaturesParametersBase=t.GetFeaturesBySQLService=t.GetFeaturesBySQLParameters=t.GetFeaturesByIDsService=t.GetFeaturesByIDsParameters=t.GetFeaturesByGeometryService=t.GetFeaturesByGeometryParameters=t.GetFeaturesByBufferService=t.GetFeaturesByBufferParameters=t.GetFeaturesByBoundsService=t.GetFeaturesByBoundsParameters=t.GeoRelationAnalystService=t.GeoRelationAnalystParameters=t.GeometryThiessenAnalystParameters=t.GeometrySurfaceAnalystParameters=t.GeometryOverlayAnalystParameters=t.GeometryBufferAnalystParameters=t.GeoHashGridAggParameter=t.GeoDecodingParameter=t.GeoCodingParameter=t.GeoBoundingBoxQueryBuilderParameter=t.GenerateSpatialDataService=t.GenerateSpatialDataParameters=t.FindTSPPathsService=t.FindTSPPathsParameters=t.FindServiceAreasService=t.FindServiceAreasParameters=t.FindPathService=t.FindPathParameters=t.FindMTSPPathsService=t.FindMTSPPathsParameters=t.FindLocationService=t.FindLocationParameters=t.FindClosestFacilitiesService=t.FindClosestFacilitiesParameters=t.FilterParameter=t.FilterAggParameter=t.FieldStatisticsParameters=t.FieldStatisticService=t.FieldParameters=t.FacilityAnalystUpstream3DService=t.FacilityAnalystUpstream3DParameters=t.FacilityAnalystTraceup3DService=t.FacilityAnalystTraceup3DParameters=t.FacilityAnalystTracedown3DService=t.FacilityAnalystTracedown3DParameters=t.FacilityAnalystStreamService=t.FacilityAnalystStreamParameters=t.FacilityAnalystSources3DService=t.FacilityAnalystSources3DParameters=t.FacilityAnalystSinks3DService=t.FacilityAnalystSinks3DParameters=t.FacilityAnalyst3DParameters=t.EditFeaturesService=t.EditFeaturesParameters=t.DensityKernelAnalystParameters=t.DensityAnalystService=t.DatasourceConnectionInfo=t.DatasetThiessenAnalystParameters=t.DatasetSurfaceAnalystParameters=t.DatasetOverlayAnalystParameters=t.DatasetInfo=t.DatasetBufferAnalystParameters=t.DataReturnOption=t.DataFlowService=t.ComputeWeightMatrixService=t.ComputeWeightMatrixParameters=t.CommonServiceBase=t.ColorDictionary=t.ClipParameter=t.ChartQueryService=t.ChartQueryParameters=t.ChartQueryFilterParameter=t.ChartFeatureInfoSpecsService=t.BurstPipelineAnalystService=t.BurstPipelineAnalystParameters=t.BuffersAnalystJobsService=t.BuffersAnalystJobsParameter=t.BufferSetting=t.BufferDistance=t.BufferAnalystService=t.BufferAnalystParameters=t.AreaSolarRadiationService=t.AreaSolarRadiationParameters=t.AggQueryBuilderParameter=t.AggregationParameter=t.AddressMatchService=t.IPortalServicesQueryParam=t.IPortalServiceBase=t.IPortalService=t.IPortalMapsQueryParam=void 0,t.IPortalMap=t.IPortal=t.IManagerServiceBase=t.IManagerCreateNodeParam=t.IManager=t.FetchRequest=t.getRequestTimeout=t.setRequestTimeout=t.isCORS=t.setCORS=t.WKT=t.JSONFormat=t.GeoJSON=t.Format=t.TimeFlowControl=t.TimeControlBase=t.GeometryVector=t.CommonUtil=t.Size=t.Pixel=t.LonLat=t.Geometry=t.Feature=t.Events=t.Event=t.DateExt=t.Credential=t.Bounds=t.ArrayExt=t.FunctionExt=t.NumberExt=t.StringExt=t.Rectangle=t.Polygon=t.GeometryPoint=t.MultiPolygon=t.MultiPoint=t.MultiLineString=t.LineString=t.LinearRing=t.GeoText=t.Curve=t.Collection=t.AggregationType=t.AggregationQueryBuilderType=t.OutputType=t.TopologyValidatorRule=t.StatisticAnalystMode=t.AnalystSizeUnit=t.AnalystAreaUnit=t.ClipAnalystMode=t.Exponent=t.VariogramMode=t.InterpolationAlgorithmType=t.SummaryType=t.SearchMode=t.PixelFormat=t.StatisticMode=t.UGCLayerType=t.LayerType=t.ClientType=t.GridType=t.TransferPreference=t.TransferTactic=t.EditType=t.ChartType=t.ColorSpaceType=t.SurfaceAnalystMethod=t.SmoothMethod=t.BufferEndType=t.TurnType=t.SupplyCenterType=t.OverlayOperationType=t.DirectionType=t.LabelOverLengthMode=t.LabelBackShape=t.AlongLineDirection=t.SideType=t.FillGradientMode=t.TextAlignment=t.ColorGradientType=t.ThemeType=t.RangeMode=t.GraduatedMode=t.GraphAxesTextDisplayMode=t.ThemeGraphType=t.ThemeGraphTextFormat=t.SpatialQueryMode=t.BufferRadiusUnit=t.Unit=t.DataReturnMode=t.SpatialRelationType=t.MeasureMode=t.EngineType=t.JoinType=t.QueryOption=t.GeometryType=t.ServerType=t.DataFormat=t.SuperMap=void 0;var n=r(0),i=r(3),o=r(529),a=r(526),s=r(524),l=r(522),u=r(513),c=r(511),p=r(436),h=r(433),f=r(429),y=r(425),d=r(424),v=r(420);t.SuperMap=n.SuperMap,t.DataFormat=i.DataFormat,t.ServerType=i.ServerType,t.GeometryType=i.GeometryType,t.QueryOption=i.QueryOption,t.JoinType=i.JoinType,t.EngineType=i.EngineType,t.MeasureMode=i.MeasureMode,t.SpatialRelationType=i.SpatialRelationType,t.DataReturnMode=i.DataReturnMode,t.Unit=i.Unit,t.BufferRadiusUnit=i.BufferRadiusUnit,t.SpatialQueryMode=i.SpatialQueryMode,t.ThemeGraphTextFormat=i.ThemeGraphTextFormat,t.ThemeGraphType=i.ThemeGraphType,t.GraphAxesTextDisplayMode=i.GraphAxesTextDisplayMode,t.GraduatedMode=i.GraduatedMode,t.RangeMode=i.RangeMode,t.ThemeType=i.ThemeType,t.ColorGradientType=i.ColorGradientType,t.TextAlignment=i.TextAlignment,t.FillGradientMode=i.FillGradientMode,t.SideType=i.SideType,t.AlongLineDirection=i.AlongLineDirection,t.LabelBackShape=i.LabelBackShape,t.LabelOverLengthMode=i.LabelOverLengthMode,t.DirectionType=i.DirectionType,t.OverlayOperationType=i.OverlayOperationType,t.SupplyCenterType=i.SupplyCenterType,t.TurnType=i.TurnType,t.BufferEndType=i.BufferEndType,t.SmoothMethod=i.SmoothMethod,t.SurfaceAnalystMethod=i.SurfaceAnalystMethod,t.ColorSpaceType=i.ColorSpaceType,t.ChartType=i.ChartType,t.EditType=i.EditType,t.TransferTactic=i.TransferTactic,t.TransferPreference=i.TransferPreference,t.GridType=i.GridType,t.ClientType=i.ClientType,t.LayerType=i.LayerType,t.UGCLayerType=i.UGCLayerType,t.StatisticMode=i.StatisticMode,t.PixelFormat=i.PixelFormat,t.SearchMode=i.SearchMode,t.SummaryType=i.SummaryType,t.InterpolationAlgorithmType=i.InterpolationAlgorithmType,t.VariogramMode=i.VariogramMode,t.Exponent=i.Exponent,t.ClipAnalystMode=i.ClipAnalystMode,t.AnalystAreaUnit=i.AnalystAreaUnit,t.AnalystSizeUnit=i.AnalystSizeUnit,t.StatisticAnalystMode=i.StatisticAnalystMode,t.TopologyValidatorRule=i.TopologyValidatorRule,t.OutputType=i.OutputType,t.AggregationQueryBuilderType=i.AggregationQueryBuilderType,t.AggregationType=i.AggregationType,t.Collection=o.Collection,t.Curve=o.Curve,t.GeoText=o.GeoText,t.LinearRing=o.LinearRing,t.LineString=o.LineString,t.MultiLineString=o.MultiLineString,t.MultiPoint=o.MultiPoint,t.MultiPolygon=o.MultiPolygon,t.GeometryPoint=o.GeometryPoint,t.Polygon=o.Polygon,t.Rectangle=o.Rectangle,t.StringExt=o.StringExt,t.NumberExt=o.NumberExt,t.FunctionExt=o.FunctionExt,t.ArrayExt=o.ArrayExt,t.Bounds=o.Bounds,t.Credential=o.Credential,t.DateExt=o.DateExt,t.Event=o.Event,t.Events=o.Events,t.Feature=o.Feature,t.Geometry=o.Geometry,t.LonLat=o.LonLat,t.Pixel=o.Pixel,t.Size=o.Size,t.CommonUtil=o.CommonUtil,t.GeometryVector=o.GeometryVector,t.TimeControlBase=s.TimeControlBase,t.TimeFlowControl=s.TimeFlowControl,t.Format=a.Format,t.GeoJSON=a.GeoJSON,t.JSONFormat=a.JSONFormat,t.WKT=a.WKT,t.setCORS=y.setCORS,t.isCORS=y.isCORS,t.setRequestTimeout=y.setRequestTimeout,t.getRequestTimeout=y.getRequestTimeout,t.FetchRequest=y.FetchRequest,t.IManager=l.IManager,t.IManagerCreateNodeParam=l.IManagerCreateNodeParam,t.IManagerServiceBase=l.IManagerServiceBase,t.IPortal=u.IPortal,t.IPortalMap=u.IPortalMap,t.IPortalMapsQueryParam=u.IPortalMapsQueryParam,t.IPortalService=u.IPortalService,t.IPortalServiceBase=u.IPortalServiceBase,t.IPortalServicesQueryParam=u.IPortalServicesQueryParam,t.AddressMatchService=c.AddressMatchService,t.AggregationParameter=c.AggregationParameter,t.AggQueryBuilderParameter=c.AggQueryBuilderParameter,t.AreaSolarRadiationParameters=c.AreaSolarRadiationParameters,t.AreaSolarRadiationService=c.AreaSolarRadiationService,t.BufferAnalystParameters=c.BufferAnalystParameters,t.BufferAnalystService=c.BufferAnalystService,t.BufferDistance=c.BufferDistance,t.BufferSetting=c.BufferSetting,t.BuffersAnalystJobsParameter=c.BuffersAnalystJobsParameter,t.BuffersAnalystJobsService=c.BuffersAnalystJobsService,t.BurstPipelineAnalystParameters=c.BurstPipelineAnalystParameters,t.BurstPipelineAnalystService=c.BurstPipelineAnalystService,t.ChartFeatureInfoSpecsService=c.ChartFeatureInfoSpecsService,t.ChartQueryFilterParameter=c.ChartQueryFilterParameter,t.ChartQueryParameters=c.ChartQueryParameters,t.ChartQueryService=c.ChartQueryService,t.ClipParameter=c.ClipParameter,t.ColorDictionary=c.ColorDictionary,t.CommonServiceBase=c.CommonServiceBase,t.ComputeWeightMatrixParameters=c.ComputeWeightMatrixParameters,t.ComputeWeightMatrixService=c.ComputeWeightMatrixService,t.DataFlowService=c.DataFlowService,t.DataReturnOption=c.DataReturnOption,t.DatasetBufferAnalystParameters=c.DatasetBufferAnalystParameters,t.DatasetInfo=c.DatasetInfo,t.DatasetOverlayAnalystParameters=c.DatasetOverlayAnalystParameters,t.DatasetSurfaceAnalystParameters=c.DatasetSurfaceAnalystParameters,t.DatasetThiessenAnalystParameters=c.DatasetThiessenAnalystParameters,t.DatasourceConnectionInfo=c.DatasourceConnectionInfo,t.DensityAnalystService=c.DensityAnalystService,t.DensityKernelAnalystParameters=c.DensityKernelAnalystParameters,t.EditFeaturesParameters=c.EditFeaturesParameters,t.EditFeaturesService=c.EditFeaturesService,t.FacilityAnalyst3DParameters=c.FacilityAnalyst3DParameters,t.FacilityAnalystSinks3DParameters=c.FacilityAnalystSinks3DParameters,t.FacilityAnalystSinks3DService=c.FacilityAnalystSinks3DService,t.FacilityAnalystSources3DParameters=c.FacilityAnalystSources3DParameters,t.FacilityAnalystSources3DService=c.FacilityAnalystSources3DService,t.FacilityAnalystStreamParameters=c.FacilityAnalystStreamParameters,t.FacilityAnalystStreamService=c.FacilityAnalystStreamService,t.FacilityAnalystTracedown3DParameters=c.FacilityAnalystTracedown3DParameters,t.FacilityAnalystTracedown3DService=c.FacilityAnalystTracedown3DService,t.FacilityAnalystTraceup3DParameters=c.FacilityAnalystTraceup3DParameters,t.FacilityAnalystTraceup3DService=c.FacilityAnalystTraceup3DService,t.FacilityAnalystUpstream3DParameters=c.FacilityAnalystUpstream3DParameters,t.FacilityAnalystUpstream3DService=c.FacilityAnalystUpstream3DService,t.FieldParameters=c.FieldParameters,t.FieldStatisticService=c.FieldStatisticService,t.FieldStatisticsParameters=c.FieldStatisticsParameters,t.FilterAggParameter=c.FilterAggParameter,t.FilterParameter=c.FilterParameter,t.FindClosestFacilitiesParameters=c.FindClosestFacilitiesParameters,t.FindClosestFacilitiesService=c.FindClosestFacilitiesService,t.FindLocationParameters=c.FindLocationParameters,t.FindLocationService=c.FindLocationService,t.FindMTSPPathsParameters=c.FindMTSPPathsParameters,t.FindMTSPPathsService=c.FindMTSPPathsService,t.FindPathParameters=c.FindPathParameters,t.FindPathService=c.FindPathService,t.FindServiceAreasParameters=c.FindServiceAreasParameters,t.FindServiceAreasService=c.FindServiceAreasService,t.FindTSPPathsParameters=c.FindTSPPathsParameters,t.FindTSPPathsService=c.FindTSPPathsService,t.GenerateSpatialDataParameters=c.GenerateSpatialDataParameters,t.GenerateSpatialDataService=c.GenerateSpatialDataService,t.GeoBoundingBoxQueryBuilderParameter=c.GeoBoundingBoxQueryBuilderParameter,t.GeoCodingParameter=c.GeoCodingParameter,t.GeoDecodingParameter=c.GeoDecodingParameter,t.GeoHashGridAggParameter=c.GeoHashGridAggParameter,t.GeometryBufferAnalystParameters=c.GeometryBufferAnalystParameters,t.GeometryOverlayAnalystParameters=c.GeometryOverlayAnalystParameters,t.GeometrySurfaceAnalystParameters=c.GeometrySurfaceAnalystParameters,t.GeometryThiessenAnalystParameters=c.GeometryThiessenAnalystParameters,t.GeoRelationAnalystParameters=c.GeoRelationAnalystParameters,t.GeoRelationAnalystService=c.GeoRelationAnalystService,t.GetFeaturesByBoundsParameters=c.GetFeaturesByBoundsParameters,t.GetFeaturesByBoundsService=c.GetFeaturesByBoundsService,t.GetFeaturesByBufferParameters=c.GetFeaturesByBufferParameters,t.GetFeaturesByBufferService=c.GetFeaturesByBufferService,t.GetFeaturesByGeometryParameters=c.GetFeaturesByGeometryParameters,t.GetFeaturesByGeometryService=c.GetFeaturesByGeometryService,t.GetFeaturesByIDsParameters=c.GetFeaturesByIDsParameters,t.GetFeaturesByIDsService=c.GetFeaturesByIDsService,t.GetFeaturesBySQLParameters=c.GetFeaturesBySQLParameters,t.GetFeaturesBySQLService=c.GetFeaturesBySQLService,t.GetFeaturesParametersBase=c.GetFeaturesParametersBase,t.GetFeaturesServiceBase=c.GetFeaturesServiceBase,t.GetFieldsService=c.GetFieldsService,t.GetGridCellInfosParameters=c.GetGridCellInfosParameters,t.GetGridCellInfosService=c.GetGridCellInfosService,t.GetLayersInfoService=c.GetLayersInfoService,t.Grid=c.Grid,t.UGCImage=c.UGCImage,t.InterpolationAnalystParameters=c.InterpolationAnalystParameters,t.InterpolationAnalystService=c.InterpolationAnalystService,t.InterpolationIDWAnalystParameters=c.InterpolationIDWAnalystParameters,t.InterpolationKrigingAnalystParameters=c.InterpolationKrigingAnalystParameters,t.InterpolationRBFAnalystParameters=c.InterpolationRBFAnalystParameters,t.JoinItem=c.JoinItem,t.KernelDensityJobParameter=c.KernelDensityJobParameter,t.KernelDensityJobsService=c.KernelDensityJobsService,t.LabelImageCell=c.LabelImageCell,t.LabelMatrixCell=c.LabelMatrixCell,t.LabelMixedTextStyle=c.LabelMixedTextStyle,t.LabelSymbolCell=c.LabelSymbolCell,t.LabelThemeCell=c.LabelThemeCell,t.LayerStatus=c.LayerStatus,t.LinkItem=c.LinkItem,t.MapService=c.MapService,t.MathExpressionAnalysisParameters=c.MathExpressionAnalysisParameters,t.MathExpressionAnalysisService=c.MathExpressionAnalysisService,t.MeasureParameters=c.MeasureParameters,t.MeasureService=c.MeasureService,t.NetworkAnalystServiceBase=c.NetworkAnalystServiceBase,t.OutputSetting=c.OutputSetting,t.OverlapDisplayedOptions=c.OverlapDisplayedOptions,t.OverlayAnalystParameters=c.OverlayAnalystParameters,t.OverlayAnalystService=c.OverlayAnalystService,t.OverlayGeoJobParameter=c.OverlayGeoJobParameter,t.OverlayGeoJobsService=c.OverlayGeoJobsService,t.PointWithMeasure=c.PointWithMeasure,t.ProcessingServiceBase=c.ProcessingServiceBase,t.QueryByBoundsParameters=c.QueryByBoundsParameters,t.QueryByBoundsService=c.QueryByBoundsService,t.QueryByDistanceParameters=c.QueryByDistanceParameters,t.QueryByDistanceService=c.QueryByDistanceService,t.QueryByGeometryParameters=c.QueryByGeometryParameters,t.QueryByGeometryService=c.QueryByGeometryService,t.QueryBySQLParameters=c.QueryBySQLParameters,t.QueryBySQLService=c.QueryBySQLService,t.QueryParameters=c.QueryParameters,t.QueryService=c.QueryService,t.Route=c.Route,t.RouteCalculateMeasureParameters=c.RouteCalculateMeasureParameters,t.RouteCalculateMeasureService=c.RouteCalculateMeasureService,t.RouteLocatorParameters=c.RouteLocatorParameters,t.RouteLocatorService=c.RouteLocatorService,t.ServerColor=c.ServerColor,t.ServerFeature=c.ServerFeature,t.ServerGeometry=c.ServerGeometry,t.ServerStyle=c.ServerStyle,t.ServerTextStyle=c.ServerTextStyle,t.ServerTheme=c.ServerTheme,t.SetLayerInfoParameters=c.SetLayerInfoParameters,t.SetLayerInfoService=c.SetLayerInfoService,t.SetLayersInfoParameters=c.SetLayersInfoParameters,t.SetLayersInfoService=c.SetLayersInfoService,t.SetLayerStatusParameters=c.SetLayerStatusParameters,t.SetLayerStatusService=c.SetLayerStatusService,t.SingleObjectQueryJobsParameter=c.SingleObjectQueryJobsParameter,t.SingleObjectQueryJobsService=c.SingleObjectQueryJobsService,t.SpatialAnalystBase=c.SpatialAnalystBase,t.StopQueryParameters=c.StopQueryParameters,t.StopQueryService=c.StopQueryService,t.SummaryAttributesJobsParameter=c.SummaryAttributesJobsParameter,t.SummaryAttributesJobsService=c.SummaryAttributesJobsService,t.SummaryMeshJobParameter=c.SummaryMeshJobParameter,t.SummaryMeshJobsService=c.SummaryMeshJobsService,t.SummaryRegionJobParameter=c.SummaryRegionJobParameter,t.SummaryRegionJobsService=c.SummaryRegionJobsService,t.SupplyCenter=c.SupplyCenter,t.SurfaceAnalystParameters=c.SurfaceAnalystParameters,t.SurfaceAnalystParametersSetting=c.SurfaceAnalystParametersSetting,t.SurfaceAnalystService=c.SurfaceAnalystService,t.TerrainCurvatureCalculationParameters=c.TerrainCurvatureCalculationParameters,t.TerrainCurvatureCalculationService=c.TerrainCurvatureCalculationService,t.Theme=c.Theme,t.ThemeDotDensity=c.ThemeDotDensity,t.ThemeFlow=c.ThemeFlow,t.ThemeGraduatedSymbol=c.ThemeGraduatedSymbol,t.ThemeGraduatedSymbolStyle=c.ThemeGraduatedSymbolStyle,t.ThemeGraph=c.ThemeGraph,t.ThemeGraphAxes=c.ThemeGraphAxes,t.ThemeGraphItem=c.ThemeGraphItem,t.ThemeGraphSize=c.ThemeGraphSize,t.ThemeGraphText=c.ThemeGraphText,t.ThemeGridRange=c.ThemeGridRange,t.ThemeGridRangeItem=c.ThemeGridRangeItem,t.ThemeGridUnique=c.ThemeGridUnique,t.ThemeGridUniqueItem=c.ThemeGridUniqueItem,t.ThemeLabel=c.ThemeLabel,t.ThemeLabelAlongLine=c.ThemeLabelAlongLine,t.ThemeLabelBackground=c.ThemeLabelBackground,t.ThemeLabelItem=c.ThemeLabelItem,t.ThemeLabelText=c.ThemeLabelText,t.ThemeLabelUniqueItem=c.ThemeLabelUniqueItem,t.ThemeMemoryData=c.ThemeMemoryData,t.ThemeOffset=c.ThemeOffset,t.ThemeParameters=c.ThemeParameters,t.ThemeRange=c.ThemeRange,t.ThemeRangeItem=c.ThemeRangeItem,t.ThemeService=c.ThemeService,t.ThemeUnique=c.ThemeUnique,t.ThemeUniqueItem=c.ThemeUniqueItem,t.ThiessenAnalystParameters=c.ThiessenAnalystParameters,t.ThiessenAnalystService=c.ThiessenAnalystService,t.GeometryBatchAnalystService=c.GeometryBatchAnalystService,t.TilesetsService=c.TilesetsService,t.TopologyValidatorJobsParameter=c.TopologyValidatorJobsParameter,t.TopologyValidatorJobsService=c.TopologyValidatorJobsService,t.TransferLine=c.TransferLine,t.TransferPathParameters=c.TransferPathParameters,t.TransferPathService=c.TransferPathService,t.TransferSolutionService=c.TransferSolutionService,t.TransportationAnalystParameter=c.TransportationAnalystParameter,t.TransportationAnalystResultSetting=c.TransportationAnalystResultSetting,t.TransferSolutionParameters=c.TransferSolutionParameters,t.UGCLayer=c.UGCLayer,t.UGCMapLayer=c.UGCMapLayer,t.UGCSubLayer=c.UGCSubLayer,t.UpdateEdgeWeightParameters=c.UpdateEdgeWeightParameters,t.UpdateEdgeWeightService=c.UpdateEdgeWeightService,t.UpdateTurnNodeWeightParameters=c.UpdateTurnNodeWeightParameters,t.UpdateTurnNodeWeightService=c.UpdateTurnNodeWeightService,t.Vector=c.Vector,t.VectorClipJobsParameter=c.VectorClipJobsParameter,t.VectorClipJobsService=c.VectorClipJobsService,t.Online=p.Online,t.OnlineData=p.OnlineData,t.OnlineQueryDatasParameter=p.OnlineQueryDatasParameter,t.ServiceStatus=p.ServiceStatus,t.DataItemType=p.DataItemType,t.DataItemOrderBy=p.DataItemOrderBy,t.FilterField=p.FilterField,t.OnlineServiceBase=p.OnlineServiceBase,t.Bar=v.Bar,t.Bar3D=v.Bar3D,t.Circle=v.Circle,t.Graph=v.Graph,t.Line=v.Line,t.Pie=v.Pie,t.OverlayPoint=v.OverlayPoint,t.RankSymbol=v.RankSymbol,t.Ring=v.Ring,t.ThemeVector=v.ThemeVector,t.ShapeFactory=v.ShapeFactory,t.ShapeParameters=v.ShapeParameters,t.FeatureCircle=v.FeatureCircle,t.Image=v.Image,t.Label=v.Label,t.FeatureLine=v.FeatureLine,t.Point=v.Point,t.FeaturePolygon=v.FeaturePolygon,t.FeatureRectangle=v.FeatureRectangle,t.Sector=v.Sector,t.FeatureTheme=v.FeatureTheme,t.LevelRenderer=v.LevelRenderer,t.Render=v.Render,t.Animation=v.Animation,t.Animator=v.Animator,t.Area=v.Area,t.Clip=v.Clip,t.Color=v.Color,t.ComputeBoundingBox=v.ComputeBoundingBox,t.Config=v.Config,t.LevelRendererCurve=v.LevelRendererCurve,t.Easing=v.Easing,t.Env=v.Env,t.LevelRendererEvent=v.LevelRendererEvent,t.Eventful=v.Eventful,t.Group=v.Group,t.Handler=v.Handler,t.Http=v.Http,t.Log=v.Log,t.Math=v.Math,t.Matrix=v.Matrix,t.Painter=v.Painter,t.PaintLayer=v.PaintLayer,t.Shape=v.Shape,t.SmicBrokenLine=v.SmicBrokenLine,t.SmicCircle=v.SmicCircle,t.SmicEllipse=v.SmicEllipse,t.SmicImage=v.SmicImage,t.SmicIsogon=v.SmicIsogon,t.SmicPoint=v.SmicPoint,t.SmicPolygon=v.SmicPolygon,t.SmicRectangle=v.SmicRectangle,t.SmicRing=v.SmicRing,t.SmicSector=v.SmicSector,t.SmicStar=v.SmicStar,t.SmicText=v.SmicText,t.Storage=v.Storage,t.Transformable=v.Transformable,t.Util=v.Util,t.LevelRendererVector=v.LevelRendererVector,t.SUtil=v.SUtil,t.KeyServiceParameter=h.KeyServiceParameter,t.SecurityManager=h.SecurityManager,t.ServerInfo=h.ServerInfo,t.TokenServiceParameter=h.TokenServiceParameter,t.CartoCSS=d.CartoCSS,t.ThemeStyle=d.ThemeStyle,t.ElasticSearch=f.ElasticSearch},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommonServiceBase=void 0;var n=function(){function e(e,t){for(var r=0;r-1&&"?"===n?e.url+=r.getUrlParameters():e.url.indexOf("?")>-1&&"?"!==n?e.url+="&"+r.getUrlParameters():e.url+="?"+r.getUrlParameters()}t.calculatePollingTimes(),t._processSuccess=e.success,t._processFailed=e.failure,e.scope=t,e.success=t.getUrlCompleted,e.failure=t.getUrlFailed,t.options=e,t._commit(t.options)}},{key:"getCredential",value:function(e){var t=e,r=void 0,n=void 0;switch(this.serverType){case c.ServerType.IPORTAL:(r=(n=l.SecurityManager.getToken(t))?new s.Credential(n,"token"):null)||(r=(n=l.SecurityManager.getKey(t))?new s.Credential(n,"key"):null);break;case c.ServerType.ONLINE:r=(n=l.SecurityManager.getKey(t))?new s.Credential(n,"key"):null;break;default:r=(n=l.SecurityManager.getToken(t))?new s.Credential(n,"token"):null}return r}},{key:"getUrlCompleted",value:function(e){this._processSuccess(e)}},{key:"getUrlFailed",value:function(e){this.totalTimes>0?(this.totalTimes--,this.ajaxPolling()):this._processFailed(e)}},{key:"ajaxPolling",value:function(){var e=this,t=e.options.url,r=/^http:\/\/([a-z]{9}|(\d+\.){3}\d+):\d{0,4}/;e.index=parseInt(Math.random()*e.length),e.url=e.urls[e.index],t=t.replace(r,r.exec(e.url)[0]),e.options.url=t,e.options.isInTheSameDomain=u.Util.isInTheSameDomain(t),e._commit(e.options)}},{key:"calculatePollingTimes",value:function(){var e=this;e.times?e.totalTimes>e.POLLING_TIMES?e.times>e.POLLING_TIMES?e.totalTimes=e.POLLING_TIMES:e.totalTimes=e.times:e.timese.POLLING_TIMES&&(e.totalTimes=e.POLLING_TIMES),e.totalTimes--}},{key:"isServiceSupportPolling",value:function(){return!("SuperMap.REST.ThemeService"===this.CLASS_NAME||"SuperMap.REST.EditFeaturesService"===this.CLASS_NAME)}},{key:"serviceProcessCompleted",value:function(e){e=u.Util.transformResult(e),this.events.triggerEvent("processCompleted",{result:e})}},{key:"serviceProcessFailed",value:function(e){var t=(e=u.Util.transformResult(e)).error||e;this.events.triggerEvent("processFailed",{error:t})}},{key:"_commit",value:function(e){"POST"!==e.method&&"PUT"!==e.method||(e.params&&(e.url=u.Util.urlAppend(e.url,u.Util.getParameterString(e.params||{}))),e.params=e.data),o.FetchRequest.commit(e.method,e.url,e.params,{headers:e.headers,withCredentials:e.withCredentials,timeout:e.async?0:null,proxy:e.proxy}).then(function(e){return e.text?e.text():e.json?e.json():e}).then(function(t){var r=t;("string"==typeof t&&(r=(new p.JSONFormat).read(t)),(!r||r.error||r.code>=300&&304!==r.code)&&(r=r&&r.error?{error:r.error}:{error:r}),r.error)?(e.scope?h.FunctionExt.bind(e.failure,e.scope):e.failure)(r):(r.succeed=void 0==r.succeed||r.succeed,(e.scope?h.FunctionExt.bind(e.success,e.scope):e.success)(r))})}}]),e}();i.SuperMap.CommonServiceBase=f},function(e,t,r){"use strict";var n=2*Math.PI,i=r(55);e.exports=function(e){return Math.abs(e)<=3.14159265359?e:e-i(e)*n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceBase=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};var a=t.ServiceBase=o.default.Evented.extend({options:{url:null,proxy:null,serverType:null,withCredentials:!1},initialize:function(e,t){e&&(e=e.indexOf("/")!==e.length-1?e:e.substr(0,e.length-1)),this.url=e,o.default.setOptions(this,t),this.fire("initialized",this)},destroy:function(){this.fire("destroy",this)}});o.default.supermap.ServiceBase=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServerGeometry=void 0;var n=function(){function e(e,t){for(var r=0;r0){if(1===r)return new o.Point(t[0].x,t[0].y);for(var n=[],i=0;i0){if(1===r){for(var n=[],i=0;i0){if(1===p){for(e=0,r=[];e=0;P--)if(S[_]=-1,y[P].getBounds().containsBounds(y[_].getBounds())){d[_]=-1*d[P],d[_]<0&&(S[_]=P);break}for(var O=0;O0?a.push(y[O]):(a[S[O]].components=a[S[O]].components.concat(y[O].components),a.push(""))}else{a=new Array;for(var T=0;T0&&a.length>0&&(a[a.length-1].components=a[a.length-1].components.concat(h),h=[]),a.push(y[T])),T==i-1){var w=a.length;if(w)a[w-1].components=a[w-1].components.concat(h);else for(var M=0,C=h.length;M=0;T--)if(P[O]=-1,v[T].getBounds().containsBounds(v[O].getBounds())){m[O]=-1*m[T],m[O]<0&&(P[O]=T);break}for(var w=0;w0?u.push(v[w]):(u[P[w]].components=u[P[w]].components.concat(v[w].components),u.push(""))}else{u=new Array;for(var M=0;M0&&u.length>0&&(u[u.length-1].components=u[u.length-1].components.concat(y),y=[]),u.push(v[M])),M==i-1){var C=u.length;if(C)u[C-1].components=u[C-1].components.concat(y);else for(var x=0,E=y.length;xe[i]){var o=e[i];e[i]=e[n],e[n]=o;var a=t[i];if(t[i]=t[n],t[n]=a,r&&r.length>0){var s=r[i];r[i]=r[n],r[n]=s}}}}]),e}();i.SuperMap.ServerGeometry=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpatialAnalystBase=void 0;var n=function(){function e(e,t){for(var r=0;rLeaflet\n with © SuperMap iClient",Common:{attribution:"Map Data © SuperMap iServer"},Online:{attribution:"Map Data © SuperMap Online"},ECharts:{attribution:"© 2017 百度 ECharts"},MapV:{attribution:"© 2017 百度 MapV "},Turf:{attribution:"© turfjs"},Baidu:{attribution:"Map Data © 2017 Baidu - GS(2016)2089号 - Data © 长地万方"},Cloud:{attribution:"Map Data ©2014 SuperMap - GS(2014)6070号-data©Navinfo"},Tianditu:{attribution:"Map Data "}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SUtil=void 0;var n=function(){function e(e,t){for(var r=0;ra-2?a-1:f+1][0]+o[0],t[f>a-2?a-1:f+1][1]+o[1]],g=[t[f>a-3?a-1:f+2][0]+o[0],t[f>a-3?a-1:f+2][1]+o[1]]);var b=y*y,S=y*b;s.push([_(d[0],v[0],m[0],g[0],y,b,S),_(d[1],v[1],m[1],g[1],y,b,S)])}return s;function _(e,t,r,n,i,o,a){var s=.5*(r-e),l=.5*(n-t);return(2*(t-r)+s+l)*a+(-3*(t-r)-2*s-l)*o+s*i+t}}},{key:"SUtil_dashedLineTo",value:function(e,t,r,n,i,o,a){var s=[5,5];if(o="number"!=typeof o?5:o,e.setLineDash)return s[0]=o,s[1]=o,a&&a instanceof Array?e.setLineDash(a):e.setLineDash(s),e.moveTo(t,r),void e.lineTo(n,i);var l=n-t,u=i-r,c=Math.floor(Math.sqrt(l*l+u*u)/o);l/=c,u/=c;for(var p=!0,h=0;h0&&(this.setCtxGlobalAlpha(e,"stroke",r),e.stroke()),this.setCtxGlobalAlpha(e,"reset",r);break;case"stroke":this.setCtxGlobalAlpha(e,"stroke",r),r.lineWidth>0&&e.stroke(),this.setCtxGlobalAlpha(e,"reset",r);break;default:this.setCtxGlobalAlpha(e,"fill",r),e.fill(),this.setCtxGlobalAlpha(e,"reset",r)}this.drawText(e,r,this.style),this.afterBrush(e)}},{key:"beforeBrush",value:function(e,t){var r=this.style;return this.brushTypeOnly&&(r.brushType=this.brushTypeOnly),t&&(r=this.getHighlightStyle(r,this.highlightStyle||{},this.brushTypeOnly)),"stroke"==this.brushTypeOnly&&(r.strokeColor=r.strokeColor||r.color),e.save(),this.doClip(e),this.setContext(e,r),this.setTransform(e),r}},{key:"afterBrush",value:function(e){e.restore()}},{key:"setContext",value:function(e,t){for(var r=[["color","fillStyle"],["strokeColor","strokeStyle"],["opacity","globalAlpha"],["lineCap","lineCap"],["lineJoin","lineJoin"],["miterLimit","miterLimit"],["lineWidth","lineWidth"],["shadowBlur","shadowBlur"],["shadowColor","shadowColor"],["shadowOffsetX","shadowOffsetX"],["shadowOffsetY","shadowOffsetY"]],n=0,i=r.length;n=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height&&l.SUtil.Util_area.isInside(this,this.style,e,t)}},{key:"drawText",value:function(e,r,n){if(void 0!==r.text&&!1!==r.text){var i=r.textColor||r.color||r.strokeColor;e.fillStyle=i;var o,a,s,l,u=10,c=r.textPosition||this.textPosition||"top",p=[];switch(p=this.refOriginalPosition&&2===this.refOriginalPosition.length?this.refOriginalPosition:[0,0],c){case"inside":case"top":case"bottom":case"left":case"right":if(this.getRect){var h=(n||r).__rect||this.getRect(n||r);switch(c){case"inside":s=h.x+h.width/2,l=h.y+h.height/2,o="center",a="middle","stroke"!=r.brushType&&i==r.color&&(e.fillStyle="#fff");break;case"left":s=h.x-u,l=h.y+h.height/2,o="end",a="middle";break;case"right":s=h.x+h.width+u,l=h.y+h.height/2,o="start",a="middle";break;case"top":s=h.x+h.width/2,l=h.y-u,o="center",a="bottom";break;case"bottom":s=h.x+h.width/2,l=h.y+h.height+u,o="center",a="top"}}break;case"start":case"end":var f=0,y=0,d=0,v=0;if(void 0!==r.pointList){var m=r.pointList;if(m.length<2)return;var g=m.length;switch(c){case"start":f=m[0][0]+p[0],y=m[1][0]+p[0],d=m[0][1]+p[1],v=m[1][1]+p[1];break;case"end":f=m[g-2][0]+p[0],y=m[g-1][0]+p[0],d=m[g-2][1]+p[1],v=m[g-1][1]+p[1]}}else f=r.xStart+p[0]||0,y=r.xEnd+p[0]||0,d=r.yStart+p[1]||0,v=r.yEnd+p[1]||0;switch(c){case"start":o=f-1||(t[n]=e[n]);return t}},{key:"toGeometry",value:function(e){var t=this,r=e.type;switch("polygon"===r&&(r=g.GeometryType.REGION),r.toUpperCase()){case g.GeometryType.POINT:return t.toGeoPoint(e);case g.GeometryType.LINE:return t.toGeoLine(e);case g.GeometryType.LINEM:return t.toGeoLinem(e);case g.GeometryType.REGION:return t.toGeoRegion(e);case g.GeometryType.RECTANGLE:return t.toGeoRectangle(e);case g.GeometryType.POINTEPS:return t.toGeoPoint(e);default:return e}}},{key:"toGeoPoint",value:function(e){var t=e.points||[{x:e.x,y:e.y}],r=(e.parts||[t.length]).length;if(r<1)return null;if(1===r)return{type:"Point",x:parseFloat(t[0].x),y:parseFloat(t[0].y)};for(var n=0,i=[];n0?t.push(c):o.push([c]),a===i-1){var p=o.length;if(p)o[p-1]=o[p-1].concat(t);else for(var h=0,f=t.length;h-1?"&":"?")+"_method="+e,"string"!=typeof r&&(r=JSON.stringify(r)),this.post(t,r,n)},_processUrl:function(e,t){if(this._isMVTRequest(e))return e;if(-1===e.indexOf(".json")&&!t.withoutFormatSuffix)if(e.indexOf("?")<0)e+=".json";else{var r=e.split("?");2===r.length&&(e=r[0]+".json?"+r[1])}return t&&t.proxy&&("function"==typeof t.proxy?e=t.proxy(e):(e=decodeURIComponent(e),e=t.proxy+encodeURIComponent(e))),e},_fetch:function(e,t,r,n){return(r=r||{}).headers=r.headers||{},r.headers["Content-Type"]||(r.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8"),r.timeout?this._timeout(r.timeout,u(e,{method:n,headers:r.headers,body:"PUT"===n||"POST"===n?t:void 0,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:p()}).then(function(e){return e})):u(e,{method:n,body:"PUT"===n||"POST"===n?t:void 0,headers:r.headers,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:p()}).then(function(e){return e})},_fetchJsonp:function(e,t){return t=t||{},(0,a.default)(e,{method:"GET",timeout:t.timeout}).then(function(e){return e})},_timeout:function(e,t){return new Promise(function(r,n){setTimeout(function(){n(new Error("timeout"))},e),t.then(r,n)})},_getParameterString:function(e){var t=[];for(var r in e){var i=e[r];if(null!=i&&"function"!=typeof i){var o;if("object"===(void 0===i?"undefined":n(i))&&i.constructor===Array){for(var a,s=[],l=0,u=i.length;l-1||e.indexOf(".pbf")>-1}};s.SuperMap.Util.RequestJSONPPromise={limitLength:1500,queryKeys:[],queryValues:[],supermap_callbacks:{},addQueryStrings:function(e){for(var t in e){this.queryKeys.push(t),"string"!=typeof e[t]&&(e[t]=s.SuperMap.Util.toJSON(e[t]));var r=encodeURIComponent(e[t]);this.queryValues.push(r)}},issue:function(e){for(var t=this,r=t.getUid(),n=e.url,i=[],o=new Promise(function(e){t.supermap_callbacks[r]=function(n){delete t.supermap_callbacks[r],e(n)}}),a=n,s=0,l=t.queryKeys?t.queryKeys.length:0,u=0;u=t.limitLength){if(0==s)return!1;i.push(a),a=n,s=0,u--}else if(a.length+t.queryKeys[u].length+2+t.queryValues[u].length>t.limitLength)for(var c=t.queryValues[u];c.length>0;){var p=t.limitLength-a.length-t.queryKeys[u].length-2;a.indexOf("?")>-1?a+="&":a+="?";var h=c.substring(0,p);"%"===h.substring(p-1,p)?(p-=1,h=c.substring(0,p)):"%"===h.substring(p-2,p-1)&&(p-=2,h=c.substring(0,p)),a+=t.queryKeys[u]+"="+h,c=c.substring(p),h.length>0&&(i.push(a),a=n,s=0)}else s++,a.indexOf("?")>-1?a+="&":a+="?",a+=t.queryKeys[u]+"="+t.queryValues[u];return i.push(a),t.send(i,"SuperMap.Util.RequestJSONPPromise.supermap_callbacks["+r+"]",e&&e.proxy),o},getUid:function(){return 1e3*(new Date).getTime()+Math.floor(1e17*Math.random())},send:function(e,t,r){var n=e.length;if(n>0)for(var i=(new Date).getTime(),o=0;o-1?s+="&":s+="?",s+="sectionCount="+n,s+="§ionIndex="+o,s+="&jsonpUserID="+i,r&&(s=decodeURIComponent(s),s=r+encodeURIComponent(s)),(0,a.default)(s,{jsonpCallbackFunction:t,timeout:3e4})}},GET:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings(e.params),this.issue(e)},POST:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},PUT:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},DELETE:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LineString=void 0;var n=function(){function e(e,t){for(var r=0;r2;return r&&function e(t,r,n){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,r);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,r,n)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(n):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeComponent",this).apply(this,arguments),r}},{key:"getSortedSegments",value:function(){for(var e,t,r=this.components.length-1,n=new Array(r),i=0;i=1?1:g)<=-1?-1:g,p=180*Math.acos(g)/Math.PI,s=(p=i.x==r.x?t.x>r.x&&n.x>r.x||t.xf*t.x+y&&n.y>f*n.x+y||t.yr.y?n.xr.x&&(l=!1):i.xf*n.x+y&&(l=!1):i.x>r.x?n.y>r.y&&(l=!1):n.y=0?180*Math.atan(b)/Math.PI:Math.abs(180*Math.atan(b)/Math.PI)+90,_=Math.abs(t.y);r.y==_&&_==i.y&&r.x=0?b>=0?c+=u:c=180-(c-90)+u:c=b>0?c-180+u:90-c+u:P>=0?b>=0?c-=u:c=180-(c-90)-u:c=b>=0?c-180-u:90-c-u,c=c*Math.PI/180;var T=t.x+a*Math.cos(c),w=t.y+a*Math.sin(c);h.push(new o.Point(T,w))}h.push(i)}return h}},{key:"createLineEPS",value:function(e){var r=[],n=e.length;if(null==e||n<2)return e;for(var i=0;i=15){var v=parseInt(l.axis3DParameter),m=[o[0]-v,o[1]+v];l.axisUseArrow?(y.push([m[0]+1.5,m[1]-7.5]),y.push([m[0]-1,m[1]+1]),y.push([m[0]+7.5,m[1]-1.5]),d.push([m[0],m[1]])):d.push([m[0],m[1]]),d.push([o[0],o[1]])}d.push([o[2]+5,o[1]])}else{var g=Math.abs(o[1]-o[3])/f,b=o[3];d.push([o[0],b-5]);for(var S=0;S=15){var O=parseInt(l.axis3DParameter),T=[o[0]-O,o[1]+O];l.axisUseArrow?(y.push([T[0]+1.5,T[1]-7.5]),y.push([T[0]-1,T[1]+1]),y.push([T[0]+7.5,T[1]-1.5]),d.push([T[0],T[1]])):d.push([T[0],T[1]]),d.push([o[0],o[1]])}d.push([o[2]+5,o[1]])}if(l.axisUseArrow){var w=[[o[2]+5,o[1]+4],[o[2]+13,o[1]],[o[2]+5,o[1]-4]],M=[[o[0]-4,o[3]-5],[o[0],o[3]-13],[o[0]+4,o[3]-5]],C=new s.Polygon(w);C.style={fillColor:"#008acd"},_.Util.copyAttributesWithClip(C.style,l.axisStyle),p.push(e.createShape(C));var x=new s.Polygon(M);if(x.style={fillColor:"#008acd"},_.Util.copyAttributesWithClip(x.style,l.axisStyle),p.push(e.createShape(x)),l.axis3DParameter&&!isNaN(l.axis3DParameter)&&l.axis3DParameter>=15){var E=new s.Polygon(y);E.style={fillColor:"#008acd"},_.Util.copyAttributesWithClip(E.style,l.axisStyle),p.push(e.createShape(E))}}i=d;var A=new a.Line(i);A.style={strokeLinecap:"butt",strokeLineJoin:"round",strokeColor:"#008acd",strokeWidth:1},l.axisStyle&&_.Util.copyAttributesWithClip(A.style,l.axisStyle),A.clickable=!1,A.hoverable=!1;var L=[e.createShape(A)],k=[];if(l.axisYLabels&&l.axisYLabels.length&&l.axisYLabels.length>0){var j=l.axisYLabels,F=j.length,I=[0,0];if(l.axisYLabelsOffset&&l.axisYLabelsOffset.length&&(I=l.axisYLabelsOffset),1==F){var R=new c.Label(o[0]-5+I[0],o[3]+I[1],j[0]);R.style={labelAlign:"right"},l.axisYLabelsStyle&&_.Util.copyAttributesWithClip(R.style,l.axisYLabelsStyle),R.clickable=!1,R.hoverable=!1,k.push(e.createShape(R))}else for(var N=o[3],D=Math.abs(o[1]-o[3])/(F-1),G=0;G0){var V=l.axisXLabels,J=V.length,z=[0,0];if(l.axisXLabelsOffset&&l.axisXLabelsOffset.length&&(z=l.axisXLabelsOffset),n&&n.xPositions&&n.xPositions.length&&n.xPositions.length==J)for(var H=n.xPositions,q=0;q=0&&r[i]&&_.Util.copyAttributesWithClip(a,r[i]),n&&n.length&&void 0!==o)for(var s=n,l=s.length,u=parseFloat(o),c=0;cthis.right)&&(this.right=r.right),(null==this.top||r.top>this.top)&&(this.top=r.top))}}},{key:"containsLonLat",value:function(e,t){"boolean"==typeof t&&(t={inclusive:t}),t=t||{};var r=this.contains(e.lon,e.lat,t.inclusive),n=t.worldBounds;if(n&&!r){var i=n.getWidth(),o=(n.left+n.right)/2,a=Math.round((e.lon-o)/i);r=this.containsLonLat({lon:e.lon-a*i,lat:e.lat},{inclusive:t.inclusive})}return r}},{key:"containsPixel",value:function(e,t){return this.contains(e.x,e.y,t)}},{key:"contains",value:function(e,t,r){if(null==r&&(r=!0),null==e||null==t)return!1;e=l.Util.toFloat(e),t=l.Util.toFloat(t);var n=!1;return n=r?e>=this.left&&e<=this.right&&t>=this.bottom&&t<=this.top:e>this.left&&ethis.bottom&&t=r.bottom&&e.bottom<=r.top||r.bottom>=e.bottom&&r.bottom<=e.top,a=e.top>=r.bottom&&e.top<=r.top||r.top>e.bottom&&r.top=r.left&&e.left<=r.right||r.left>=e.left&&r.left<=e.right,l=e.right>=r.left&&e.right<=r.right||r.right>=e.left&&r.right<=e.right;n=(o||a)&&(s||l)}if(t.worldBounds&&!n){var u=t.worldBounds,c=u.getWidth(),p=!u.containsBounds(r),h=!u.containsBounds(e);p&&!h?(e=e.add(-c,0),n=r.intersectsBounds(e,{inclusive:t.inclusive})):h&&!p&&(r=r.add(-c,0),n=e.intersectsBounds(r,{inclusive:t.inclusive}))}return n}},{key:"containsBounds",value:function(e,t,r){null==t&&(t=!1),null==r&&(r=!0);var n=this.contains(e.left,e.bottom,r),i=this.contains(e.right,e.bottom,r),o=this.contains(e.left,e.top,r),a=this.contains(e.right,e.top,r);return t?n||i||o||a:n&&i&&o&&a}},{key:"determineQuadrant",value:function(e){var t="",r=this.getCenterLonLat();return t+=e.lat=e.right&&i.right>e.right;)i=i.add(-o,0);var a=i.left+r;ae.left&&i.right-n>e.right&&(i=i.add(-o,0))}return i}},{key:"toServerJSONObject",value:function(){return{rightTop:{x:this.right,y:this.top},leftBottom:{x:this.left,y:this.bottom},left:this.left,right:this.right,top:this.top,bottom:this.bottom}}},{key:"destroy",value:function(){this.left=null,this.right=null,this.top=null,this.bottom=null,this.centerLonLat=null}}],[{key:"fromString",value:function(t,r){var n=t.split(",");return e.fromArray(n,r)}},{key:"fromArray",value:function(t,r){return!0===r?new e(t[1],t[0],t[3],t[2]):new e(t[0],t[1],t[2],t[3])}},{key:"fromSize",value:function(t){return new e(0,t.h,t.w,0)}},{key:"oppositeQuadrant",value:function(e){var t="";return t+="t"===e.charAt(0)?"b":"t",t+="l"===e.charAt(1)?"r":"l"}}]),e}();i.SuperMap.Bounds=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NormalizeScale=t.GetResolutionFromScaleDpi=t.scaleToResolution=t.resolutionToScale=t.getMeterPerMapUnit=t.toSuperMapGeometry=t.toGeoJSON=t.supermap_callbacks=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n},a=r(5);var s=t.supermap_callbacks={};o.default.Util.supermap_callbacks=s;var l=t.toGeoJSON=function(e){return e?JSON.parse((new a.GeoJSON).write(e)):e},u=t.toSuperMapGeometry=function(e){if(!e)return e;var t,r=new a.GeoJSON;if(-1!=["FeatureCollection","Feature","Geometry"].indexOf(e.type))t=r.read(e,e.type);else if("function"==typeof e.toGeoJSON){var n=e.toGeoJSON();t=n?r.read(n,n.type):e}var i=t;return o.default.Util.isArray(t)&&(1===t.length?i=t[0]:t.length>1&&(i=[],t.map(function(e){return i.push(e.geometry),e}))),i&&i.geometry?i.geometry:i},c=t.getMeterPerMapUnit=function(e){var t;if(e===a.Unit.METER)t=1;else if(e===a.Unit.DEGREE)t=2*Math.PI*6378137/360;else if(e===a.Unit.KILOMETER)t=.001;else if(e===a.Unit.INCH)t=1/.025399999918;else{if(e!==a.Unit.FOOT)return t;t=.3048}return t},p=t.resolutionToScale=function(e,t,r){var n=e*t*(1/.0254)*c(r);return n=1/n},h=t.scaleToResolution=function(e,t,r){var n=e*t*(1/.0254)*c(r);return n=1/n},f=t.GetResolutionFromScaleDpi=function(e,t,r,n){return n=n||6378137,r=r||"",e>0&&t>0?(e=o.default.Util.NormalizeScale(e),"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*n/360)/1e4:254/t/e/1e4):-1},y=t.NormalizeScale=function(e){return e>1?1/e:e};o.default.Util.toGeoJSON=l,o.default.Util.toSuperMapGeometry=u,o.default.Util.resolutionToScale=p,o.default.Util.scaleToResolution=h,o.default.Util.getMeterPerMapUnit=c,o.default.Util.GetResolutionFromScaleDpi=f,o.default.Util.NormalizeScale=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommontypesConversion=void 0;var n,i=function(){function e(e,t){for(var r=0;r=c[2]||c[1]<=c[3])&&(this.DVBOrigonPoint=[c[0],c[3]],this.DVBWidth=Math.abs(c[2]-c[0]),this.DVBHeight=Math.abs(c[1]-c[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-s[0],this.DVBOrigonPoint[1]-s[1]],!0)}},{key:"resetLocation",value:function(e){e&&(this.lonlat=e);var t=this.getLocalXY(this.lonlat);t[0]+=this.XOffset,t[1]+=this.YOffset,this.location=t;var r=this.width,n=this.height,i=this.location;return this.chartBounds=new o.Bounds(i[0]-r/2,i[1]+n/2,i[0]+r/2,i[1]-n/2),this.resetLinearGradient(),i}},{key:"resetLinearGradient",value:function(){}},{key:"shapesConvertToRelativeCoordinate",value:function(){for(var e=this.shapes,t=this.location,r=0,n=e.length;r=0?n.push(parseFloat(i[a].toString()).toFixed(r)):n.push(parseFloat(i[a].toString()))}catch(e){throw new Error("not a number")}return n.length===t.length&&n},i.SuperMap.Feature.Theme.Graph=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;ro&&(o=e+s+100,n.width=o,r=!0),t+l>a&&(a=t+l+100,n.height=a,r=!0),e<-s&&(o+=s=100*Math.ceil(-e/100),n.width=o,r=!0),t<-l&&(a+=l=100*Math.ceil(-t/100),n.height=a,r=!0),r&&i.translate(s,l)}},{key:"getPixelOffset",value:function(){return{x:this._offsetX,y:this._offsetY}}},{key:"indexOf",value:function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r-1)){if(null!=t&&t=0;--r)t=this.removeComponent(e[r])||t;return t}},{key:"removeComponent",value:function(e){return s.Util.removeItem(this.components,e),this.clearBounds(),!0}},{key:"getArea",value:function(){for(var e=0,t=0,r=this.components.length;t3;if(r){this.components.pop(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeComponent",this).apply(this,arguments);var n=this.components[0];i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addComponent",this).apply(this,[n])}return r}},{key:"getArea",value:function(){var e=0;if(this.components&&this.components.length>2){for(var t=0,r=0,n=this.components.length;r1&&(e=e>1?1:-1),Math.asin(e)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=e*t;return r/Math.sqrt(1-n*n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesServiceBase=void 0;var n=function(){function e(e,t){for(var r=0;r=0&&r.toIndex>=0&&!n&&(r.url+="&fromIndex="+r.fromIndex+"&toIndex="+r.toIndex),e.returnCountOnly&&(r.url+="&returnCountOnly="+e.returnContent),t=r.getJsonParameters(e),r.request({method:"POST",data:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}},{key:"serviceProcessCompleted",value:function(e){if(e=o.Util.transformResult(e),this.format===a.DataFormat.GEOJSON&&e.features){var t=new l.GeoJSON;e.features=JSON.parse(t.write(e.features))}this.events.triggerEvent("processCompleted",{result:e})}}]),t}();i.SuperMap.GetFeaturesServiceBase=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesParametersBase=void 0;var n=function(){function e(e,t){for(var r=0;re.right;)t.lon-=e.getWidth()}return t}},{key:"destroy",value:function(){this.lon=null,this.lat=null}}],[{key:"fromString",value:function(t){var r=t.split(",");return new e(r[0],r[1])}},{key:"fromArray",value:function(t){var r=i.Util.isArray(t);return new e(r&&t[0],r&&t[1])}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Symbolizer=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};t.Symbolizer=o.default.Class.extend({initialize:function(e){this.properties=e.properties,this.type=e.type,this.layerName=e.layerName},render:function(e,t){this._renderer=e,this._container=e._container,this.options=t,e._initPath(this),e._updateStyle(this);var r=this.getElement();r&&this.layerName&&o.default.DomUtil.addClass(r,this.layerName)},updateStyle:function(e,t){this.options=t,e._updateStyle(this)},getElement:function(){return this._path||this._renderer._container},_getPixelBounds:function(){for(var e=this._parts,t=o.default.bounds([]),r=0;r3&&(t=Array.prototype.slice.call(t,1));for(var n=this._handlers[e],i=n.length,o=0;o4&&(t=Array.prototype.slice.call(t,1,t.length-1));for(var n=t[t.length-1],i=this._handlers[e],o=i.length,a=0;a0){e+=Math.abs(this.components[0].getArea());for(var t=1,r=this.components.length;t0&&(r=parseFloat(e.toPrecision(t))),r},format:function(e,t,r,i){t=void 0!==t?t:0,r=void 0!==r?r:n.SuperMap.Number.thousandsSeparator,i=void 0!==i?i:n.SuperMap.Number.decimalSeparator,null!=t&&(e=parseFloat(e.toFixed(t)));var o=e.toString().split(".");1===o.length&&null==t&&(t=0);var a,s=o[0];if(r)for(var l=/(-?[0-9]+)([0-9]{3})/;l.test(s);)s=s.replace(l,"$1"+r+"$2");if(0==t)a=s;else{var u=o.length>1?o[1]:"0";null!=t&&(u+=new Array(t-u.length+1).join("0")),a=s+i+u}return a}};Number.prototype.limitSigDigs||(Number.prototype.limitSigDigs=function(e){return i.limitSigDigs(this,e)});t.FunctionExt=n.SuperMap.Function={bind:function(e,t){var r=Array.prototype.slice.apply(arguments,[2]);return function(){var n=r.concat(Array.prototype.slice.apply(arguments,[0]));return e.apply(t,n)}},bindAsEventListener:function(e,t){return function(r){return e.call(t,r||window.event)}},False:function(){return!1},True:function(){return!0},Void:function(){}},t.ArrayExt=n.SuperMap.Array={filter:function(e,t,r){var n=[];if(Array.prototype.filter)n=e.filter(t,r);else{var i=e.length;if("function"!=typeof t)throw new TypeError;for(var o=0;op)){var g=u[0];u.splice(0,1),delete s[g]}}}}if(t.renderer.render(),n&&t.options.isHoverAble&&t.options.isMultiHover){var b=this.getShapesByFeatureID(n);this.renderer.updateHoverShapes(b)}},createThematicFeature:function(e){var t=this,r=t.getStyleByData(e);e.style&&t.isAllowFeatureStyle&&(r=a.CommonUtil.copyAttributesWithClip(e.style));var n={};n.nodesClipPixel=t.options.nodesClipPixel,n.isHoverAble=t.options.isHoverAble,n.isMultiHover=t.options.isMultiHover,n.isClickAble=t.options.isClickAble,n.highlightStyle=a.ShapeFactory.transformStyle(t.highlightStyle);for(var i=new a.ThemeVector(e,t,a.ShapeFactory.transformStyle(r),n),o=0;o0&&("stroke"==r.brushType||"both"==r.brushType)&&(n||(e.beginPath(),this.buildPath(e,r)),this.setCtxGlobalAlpha(e,"stroke",r),e.stroke(),this.setCtxGlobalAlpha(e,"reset",r)),this.drawText(e,r,this.style);var i=o.Util.cloneObject(r);if(i.pointList&&this.holePolygonPointLists&&this.holePolygonPointLists.length>0)for(var a=this.holePolygonPointLists,s=a.length,l=0;l0&&("stroke"==i.brushType||"both"==i.brushType)?(n||(e.beginPath(),this.buildPath(e,i)),e.globalCompositeOperation="source-over",this.setCtxGlobalAlpha(e,"stroke",i),e.stroke(),this.setCtxGlobalAlpha(e,"reset",i)):e.globalCompositeOperation="source-over"}e.restore()}},{key:"buildPath",value:function(e,t){t.showShadow&&(e.shadowBlur=t.shadowBlur,e.shadowColor=t.shadowColor,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY),this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition,n=t.pointList;if(!(n.length<2))if(t.smooth&&"spline"!==t.smooth){var i,o,s,l=a.SUtil.SUtil_smoothBezier(n,t.smooth,!0,t.smoothConstraint,r);e.moveTo(n[0][0]+r[0],n[0][1]+r[1]);for(var u=n.length,c=0;co&&(o=l[u][0]+r[0]),l[u][1]+r[1]s&&(s=l[u][1]+r[1]);return n="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(i-n/2),y:Math.round(a-n/2),width:o-i+n,height:s-a+n},e.__rect}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=t.Config=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)};n.EVENT={RESIZE:"resize",CLICK:"click",DBLCLICK:"dblclick",MOUSEWHEEL:"mousewheel",MOUSEMOVE:"mousemove",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",GLOBALOUT:"globalout",DRAGSTART:"dragstart",DRAGEND:"dragend",DRAGENTER:"dragenter",DRAGOVER:"dragover",DRAGLEAVE:"dragleave",DROP:"drop",touchClickDelay:300},n.catchBrushException=!1,n.debugMode=0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r-this.EPSILON&&ethis.EPSILON||e<-this.EPSILON}},{key:"cubicAt",value:function(e,t,r,n,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*n+3*o*r)}},{key:"cubicDerivativeAt",value:function(e,t,r,n,i){var o=1-i;return 3*(((t-e)*o+2*(r-t)*i)*o+(n-r)*i*i)}},{key:"cubicRootAt",value:function(e,t,r,n,i,o){var a=n+3*(t-r)-e,s=3*(r-2*t+e),l=3*(t-e),u=e-i,c=s*s-3*a*l,p=s*l-9*a*u,h=l*l-3*s*u,f=0;if(this.isAroundZero(c)&&this.isAroundZero(p))if(this.isAroundZero(s))o[0]=0;else{var y=-l/s;y>=0&&y<=1&&(o[f++]=y)}else{var d=p*p-4*c*h;if(this.isAroundZero(d)){var v=p/c,m=-s/a+v,g=-v/2;m>=0&&m<=1&&(o[f++]=m),g>=0&&g<=1&&(o[f++]=g)}else if(d>0){var b=Math.sqrt(d),S=c*s+1.5*a*(-p+b),_=c*s+1.5*a*(-p-b),P=(-s-((S=S<0?-Math.pow(-S,this.ONE_THIRD):Math.pow(S,this.ONE_THIRD))+(_=_<0?-Math.pow(-_,this.ONE_THIRD):Math.pow(_,this.ONE_THIRD))))/(3*a);P>=0&&P<=1&&(o[f++]=P)}else{var O=(2*c*s-3*a*p)/(2*Math.sqrt(c*c*c)),T=Math.acos(O)/3,w=Math.sqrt(c),M=Math.cos(T),C=(-s-2*w*M)/(3*a),x=(-s+w*(M+this.THREE_SQRT*Math.sin(T)))/(3*a),E=(-s+w*(M-this.THREE_SQRT*Math.sin(T)))/(3*a);C>=0&&C<=1&&(o[f++]=C),x>=0&&x<=1&&(o[f++]=x),E>=0&&E<=1&&(o[f++]=E)}}return f}},{key:"cubicExtrema",value:function(e,t,r,n,i){var o=6*r-12*t+6*e,a=9*t+3*n-3*e-9*r,s=3*t-3*e,l=0;if(this.isAroundZero(a)){if(this.isNotAroundZero(o)){var u=-s/o;u>=0&&u<=1&&(i[l++]=u)}}else{var c=o*o-4*a*s;if(this.isAroundZero(c))i[0]=-o/(2*a);else if(c>0){var p=Math.sqrt(c),h=(-o+p)/(2*a),f=(-o-p)/(2*a);h>=0&&h<=1&&(i[l++]=h),f>=0&&f<=1&&(i[l++]=f)}}return l}},{key:"cubicSubdivide",value:function(e,t,r,n,i,o){var a=(t-e)*i+e,s=(r-t)*i+t,l=(n-r)*i+r,u=(s-a)*i+a,c=(l-s)*i+s,p=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=p,o[4]=p,o[5]=c,o[6]=l,o[7]=n}},{key:"cubicProjectPoint",value:function(e,t,r,n,i,o,a,s,l,u,c){var p,h=this.vector.create(),f=this.vector.create(),y=this.vector.create(),d=.005,v=1/0;h[0]=l,h[1]=u;for(var m=0;m<1;m+=.05){f[0]=this.cubicAt(e,r,i,a,m),f[1]=this.cubicAt(t,n,o,s,m);var g=this.vector.distSquare(h,f);g=0&&P=0&&u<=1&&(i[l++]=u)}}else{var c=a*a-4*o*s;if(this.isAroundZero(c)){var p=-a/(2*o);p>=0&&p<=1&&(i[l++]=p)}else if(c>0){var h=Math.sqrt(c),f=(-a+h)/(2*o),y=(-a-h)/(2*o);f>=0&&f<=1&&(i[l++]=f),y>=0&&y<=1&&(i[l++]=y)}}return l}},{key:"quadraticExtremum",value:function(e,t,r){var n=e+r-2*t;return 0===n?.5:(e-t)/n}},{key:"quadraticProjectPoint",value:function(e,t,r,n,i,o,a,s,l){var u,c=this.vector.create(),p=this.vector.create(),h=this.vector.create(),f=.005,y=1/0;c[0]=a,c[1]=s;for(var d=0;d<1;d+=.05){p[0]=this.quadraticAt(e,r,i,d),p[1]=this.quadraticAt(t,n,o,d);var v=this.vector.distSquare(c,p);v=0&&S-5e-5&&e<5e-5}i.SUtil.Util_vector.sub(t,e,this.position),n(t[0])&&n(t[1])||(i.SUtil.Util_vector.normalize(t,t),r[2]=t[0]*this.scale[1],r[3]=t[1]*this.scale[1],r[0]=t[1]*this.scale[0],r[1]=-t[0]*this.scale[0],r[4]=this.position[0],r[5]=this.position[1],this.decomposeTransform())})}return n(e,[{key:"destroy",value:function(){this.position=null,this.rotation=null,this.scale=null,this.needLocalTransform=null,this.needTransform=null}},{key:"updateNeedTransform",value:function(){function e(e){return e>5e-5||e<-5e-5}this.needLocalTransform=e(this.rotation[0])||e(this.position[0])||e(this.position[1])||e(this.scale[0]-1)||e(this.scale[1]-1)}},{key:"updateTransform",value:function(){if(this.updateNeedTransform(),this.parent?this.needTransform=this.needLocalTransform||this.parent.needTransform:this.needTransform=this.needLocalTransform,this.needTransform){var e=[0,0],t=this.transform||i.SUtil.Util_matrix.create();if(i.SUtil.Util_matrix.identity(t),this.needLocalTransform){if(o(this.scale[0])||o(this.scale[1])){e[0]=-this.scale[2]||0,e[1]=-this.scale[3]||0;var r=o(e[0])||o(e[1]);r&&i.SUtil.Util_matrix.translate(t,t,e),i.SUtil.Util_matrix.scale(t,t,this.scale),r&&(e[0]=-e[0],e[1]=-e[1],i.SUtil.Util_matrix.translate(t,t,e))}if(this.rotation instanceof Array){if(0!==this.rotation[0]){e[0]=-this.rotation[1]||0,e[1]=-this.rotation[2]||0;var n=o(e[0])||o(e[1]);n&&i.SUtil.Util_matrix.translate(t,t,e),i.SUtil.Util_matrix.rotate(t,t,this.rotation[0]),n&&(e[0]=-e[0],e[1]=-e[1],i.SUtil.Util_matrix.translate(t,t,e))}}else 0!==this.rotation&&i.SUtil.Util_matrix.rotate(t,t,this.rotation);(o(this.position[0])||o(this.position[1]))&&i.SUtil.Util_matrix.translate(t,t,this.position)}this.transform=t,this.parent&&this.parent.needTransform&&(this.needLocalTransform?i.SUtil.Util_matrix.mul(this.transform,this.parent.transform,this.transform):i.SUtil.Util_matrix.copy(this.transform,this.parent.transform))}function o(e){return e>5e-5||e<-5e-5}}},{key:"setTransform",value:function(e){if(this.needTransform){var t=this.transform;e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}}},{key:"decomposeTransform",value:function(){if(this.transform){var e=this.transform,t=e[0]*e[0]+e[1]*e[1],r=this.position,n=this.scale,i=this.rotation;a(t-1)&&(t=Math.sqrt(t));var o=e[2]*e[2]+e[3]*e[3];a(o-1)&&(o=Math.sqrt(o)),r[0]=e[4],r[1]=e[5],n[0]=t,n[1]=o,n[2]=n[3]=0,i[0]=Math.atan2(-e[1]/o,e[0]/t),i[1]=i[2]=0}function a(e){return e>5e-5||e<-5e-5}}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sector=void 0;var n=function(){function e(e,t){for(var r=0;r0){e+='"points":[';for(var r=0,n=this.components.length;r0))return null;for(var u=0,c=0,p=[];u-1&&"?"===n?t+=r.getUrlParameters():t.indexOf("?")>-1&&"?"!==n?t+="&"+r.getUrlParameters():t+="?"+r.getUrlParameters()}return t}},{key:"getCredential",value:function(){var e,t=a.SecurityManager.getToken(this.serviceUrl);return(e=t?new s.Credential(t,"token"):null)||(e=(t=this.getKey())?new s.Credential(t,"key"):null),e}},{key:"getKey",value:function(){}}]),e}();i.SuperMap.iPortalServiceBase=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Vector=void 0;var n=function(){function e(e,t){for(var r=0;r1?r.weight/10:r.weight)):t.setAttribute("stroke","none"),r.fill?(t.setAttribute("fill",r.fillColor||r.color),t.setAttribute("fill-opacity",r.fillOpacity)):t.setAttribute("fill","none")}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasRenderer=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};t.CanvasRenderer=o.default.Canvas.extend({initialize:function(e,t,r){o.default.Canvas.prototype.initialize.call(this,r),this._tileCoord=e,this._size=t,this._initContainer(),this._container.setAttribute("width",this._size.x),this._container.setAttribute("height",this._size.y),this._layers={},this._drawnLayers={},this._drawing=!0,r.interactive&&(this._container.style.pointerEvents="auto")},getCoord:function(){return this._tileCoord},getContainer:function(){return this._container},getOffset:function(){return this._tileCoord.scaleBy(this._size).subtract(this._map.getPixelOrigin())},onAdd:o.default.Util.falseFn,addTo:function(e){this._map=e},removeFrom:function(e){delete this._map},_updateDashArray:function(e){var t=e.options.dashArray;if(t&&"string"==typeof t){var r,n=t.split(","),i=[];for(r=0;r0&&t._reset(),t.addTFEvents(),t.mouseMoveHandler=function(e){var r=e.layerPoint;t.currentMousePosition=n.default.point(r.x+t.movingOffset[0],r.y+t.movingOffset[1])},e.on("mousemove",t.mouseMoveHandler),t.update()}else e.removeLayer(t)},addFeatures:function(e){},redrawThematicFeatures:function(e){},destroyFeatures:function(e){if(void 0===e&&(e=this.features),e){this.removeFeatures(e);for(var t=e.length-1;t>=0;t--)e[t].destroy()}},removeFeatures:function(e){var t=this;if(e&&0!==e.length){if(e===t.features)return t.removeAllFeatures();n.default.Util.isArray(e)||(e=[e]);for(var r=[],i=e.length-1;i>=0;i--){var o=e[i],a=n.default.Util.indexOf(t.features,o);-1!==a?t.features.splice(a,1):r.push(o)}for(var s=[],l=0,u=t.features.length;l7?0:i.fillSymbolID,h=i.lineSymbolID>5?0:i.lineSymbolID;for(var f in i){var y=u.ServerStyleMap[f];if(y){var d=y.leafletStyle;switch(y.type){case"number":var v=i[f];y.unit&&(v=v*s.SuperMap.DOTS_PER_INCH*s.SuperMap.INCHES_PER_UNIT[y.unit]*2.5),n[d]=v;break;case"color":var m=i[f],g=void 0,b=1;if("fillColor"===d)0!==p&&1!==p||(b=1-p,g="rgba("+m.red+","+m.green+","+m.blue+","+b+")");else if("color"===d){if(0===h||5===h)b=0===h?1:0;else{var S=[1,0];switch(h){case 1:S=[9.7,3.7];break;case 2:S=[3.7,3.7];break;case 3:S=[9.7,3.7,2.3,3.7];break;case 4:S=[9.7,3.7,2.3,3.7,2.3,3.7]}n.lineDasharray=S}g="rgba("+m.red+","+m.green+","+m.blue+","+b+")"}n[d]=g}}}return t&&t.textField&&(n.textAlign="LEFT"),n}}]),e}();a.default.supermap.CartoCSSToLeaflet=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wmtsLayer=t.WMTSLayer=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};r(4);var a=t.WMTSLayer=o.default.TileLayer.extend({options:{version:"1.0.0",style:"",tilematrixSet:"",format:"image/png",tileSize:256,matrixIds:null,layer:"",requestEncoding:"KVP",attribution:""},initialize:function(e,t){this._url=e,o.default.setOptions(this,t);var r=this.options;if("REST"===r.requestEncoding){this.formatSuffix="."+({"image/png":"png","image/png8":"png","image/png24":"png","image/png32":"png",png:"png","image/jpeg":"jpg","image/jpg":"jpg",jpeg:"jpg",jpg:"jpg"}[r.format]||r.format.split("/").pop()||"png")}else r.requestEncoding="KVP"},getTileUrl:function(e){var t=this._getZoomForUrl(),r=this.options.matrixIds?this.options.matrixIds[t].identifier:t,n=o.default.Util.template(this._url,{s:this._getSubdomain(e)}),i={service:"WMTS",request:"GetTile",version:this.options.version,style:this.options.style,tilematrixSet:this.options.tilematrixSet,format:this.options.format,width:this.options.tileSize,height:this.options.tileSize,layer:this.options.layer,tilematrix:r,tilerow:e.y,tilecol:e.x};if(this.options.tileProxy&&(n=this.options.tileProxy+n),"KVP"===this.options.requestEncoding)n+=o.default.Util.getParamString(i,n);else if("REST"===this.options.requestEncoding){n+="/"+i.layer+"/"+i.style+"/"+i.tilematrixSet+"/"+i.tilematrix+"/"+i.tilerow+"/"+i.tilecol+this.formatSuffix}return n}}),s=t.wmtsLayer=function(e,t){return new a(e,t)};o.default.supermap.wmtsLayer=s},function(e,t,r){"use strict";e.exports=function(e,t){var r;return e>1e-7?(1-e*e)*(t/(1-(r=e*t)*r)-.5/e*Math.log((1-r)/(1+r))):2*t}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){var o,a;o=e/t;for(var s=0;s<15;s++)if(o+=a=(e-(t*o-r*Math.sin(2*o)+n*Math.sin(4*o)-i*Math.sin(6*o)))/(t-2*r*Math.cos(2*o)+4*n*Math.cos(4*o)-6*i*Math.cos(6*o)),Math.abs(a)<=1e-10)return o;return NaN}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=t*r;return e/Math.sqrt(1-n*n)}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n;if(e=e||{},!t)return e;for(n in t)void 0!==(r=t[n])&&(e[n]=r);return e}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(401),o=r(101),a=r(397),s=r(394);function l(e,t){if(!(this instanceof l))return new l(e);t=t||function(e){if(e)throw e};var r=i(e);if("object"===(void 0===r?"undefined":n(r))){var a=s(r),u=l.projections.get(a.projName);u?(o(this,a),o(this,u),this.init(),t(null,this)):t(e)}else t(e)}l.projections=a,l.projections.start(),e.exports=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonEarthCRS=t.NonEarthCRS=t.nonProjection=t.NonProjection=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};o.default.Projection={};var a=t.NonProjection=o.default.Class.extend({initialize:function(e){this.bounds=e},project:function(e){return new o.default.Point(e.lng,e.lat)},unproject:function(e){return new o.default.LatLng(e.y,e.x)}}),s=t.nonProjection=function(e){return new a(e)},l=t.NonEarthCRS=o.default.Class.extend({includes:o.default.CRS,initialize:function(e){e.origin&&(this.transformation=new o.default.Transformation(1,-e.origin.x,-1,e.origin.y)),this.projection=o.default.Projection.NonProjection(e.bounds),this.bounds=e.bounds,this.origin=e.origin,this.resolutions=e.resolutions},scale:function(e){return this.resolutions&&0!==this.resolutions.length?1/this.resolutions[e]:1/(Math.max(this.bounds.getSize().x,this.bounds.getSize().y)/256)*Math.pow(2,e)},zoom:function(e){if(!this.resolutions||0===this.resolutions.length)return e/(1/(Math.max(this.bounds.getSize().x,this.bounds.getSize().y)/256));for(var t=0;tc&&(r*=c/(a=r+n),n*=c/a),i+o>c&&(i*=c/(a=i+o),o*=c/a),n+i>p&&(n*=p/(a=n+i),i*=p/a),r+o>p&&(r*=p/(a=r+o),o*=p/a),e.moveTo(l+r,u),e.lineTo(l+c-n,u),0!==n&&e.quadraticCurveTo(l+c,u,l+c,u+n),e.lineTo(l+c,u+p-i),0!==i&&e.quadraticCurveTo(l+c,u+p,l+c-i,u+p),e.lineTo(l+o,u+p),0!==o&&e.quadraticCurveTo(l,u+p,l,u+p-o),e.lineTo(l,u+r),0!==r&&e.quadraticCurveTo(l,u,l+r,u)}},{key:"buildPath",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition;t.radius?this._buildRadiusPath(e,t):(e.moveTo(t.x+r[0],t.y+r[1]),e.lineTo(t.x+r[0]+t.width,t.y+r[1]),e.lineTo(t.x+r[0]+t.width,t.y+r[1]+t.height),e.lineTo(t.x+r[0],t.y+r[1]+t.height),e.lineTo(t.x+r[0],t.y+r[1])),e.closePath()}},{key:"getRect",value:function(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,r=this.refOriginalPosition;return e.__rect?e.__rect:(t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x+r[0]-t/2),y:Math.round(e.y+r[1]-t/2),width:e.width+t,height:e.height+t},e.__rect)}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicImage=void 0;var n=function(){function e(e,t){for(var r=0;rn&&(n=l[0]),l[1]i&&(i=l[1]))}return e.__rect={x:t,y:r,width:n-t,height:i-r},e.__rect}},{key:"getRectNoRotation",value:function(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,r=this.refOriginalPosition,n=o.SUtil.Util_area.getTextHeight("ZH",e.textFont),i=o.SUtil.Util_area.getTextWidth(e.text,e.textFont),a=o.SUtil.Util_area.getTextHeight(e.text,e.textFont),s=e.x+r[0];"end"==e.textAlign||"right"==e.textAlign?s-=i:"center"==e.textAlign&&(s-=i/2),t="top"==e.textBaseline?e.y+r[1]:"bottom"==e.textBaseline?e.y+r[1]-a:e.y+r[1]-a/2;var l,u=!1;if(e.maxWidth){var c=parseInt(e.maxWidth);c-1&&(i+=l&&!0===u?n/3*(i/l):n/3));return{x:s,y:t,width:i,height:a}}},{key:"getTextBackground",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition;if((!t||!1===t)&&e.__textBackground)return e.__textBackground;var n=this.getRectNoRotation(e),i=e.x+r[0],o=e.y+r[1],a=[];if(e.textRotation&&0!==e.textRotation){var s=e.textRotation,l=this.getRotatedLocation(n.x,n.y,i,o,s),u=this.getRotatedLocation(n.x+n.width,n.y,i,o,s),c=this.getRotatedLocation(n.x+n.width,n.y+n.height,i,o,s),p=this.getRotatedLocation(n.x,n.y+n.height,i,o,s);a.push(l),a.push(u),a.push(c),a.push(p)}else{var h=[n.x,n.y],f=[n.x+n.width,n.y],y=[n.x+n.width,n.y+n.height],d=[n.x,n.y+n.height];a.push(h),a.push(f),a.push(y),a.push(d)}return e.__textBackground=a,e.__textBackground}},{key:"getRotatedLocation",value:function(e,t,r,n,i){var o,a,s=new Array;return t=-t,n=-n,i=-i,o=(e-r)*Math.cos(i/180*Math.PI)-(t-n)*Math.sin(i/180*Math.PI)+r,a=(e-r)*Math.sin(i/180*Math.PI)+(t-n)*Math.cos(i/180*Math.PI)+n,s[0]=o,s[1]=-a,s}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Color=void 0;var n=function(){function e(e,t){for(var r=0;r1)for(var i=0,o=n-1;i1?Math.ceil(e):e}),t.indexOf("hex")>-1)return"#"+((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1);if(t.indexOf("hs")>-1){var r=this.map(e.slice(1,3),function(e){return e+"%"});e[1]=r[0],e[2]=r[1]}return t.indexOf("a")>-1?(3===e.length&&e.push(1),e[3]=this.adjust(e[3],[0,1]),t+"("+e.slice(0,4).join(",")+")"):t+"("+e.slice(0,3).join(",")+")"}}},{key:"toArray",value:function(e){(e=this.trim(e)).indexOf("rgba")<0&&(e=this.toRGBA(e));var t=[],r=0;return e.replace(/[\d.]+/g,function(e){r<3?e|=0:e=+e,t[r++]=e}),t}},{key:"convert",value:function(e,t){if(!this.isCalculableColor(e))return e;var r=this.getData(e),n=r[3];return void 0===n&&(n=1),e.indexOf("hsb")>-1?r=this._HSV_2_RGB(r):e.indexOf("hsl")>-1&&(r=this._HSL_2_RGB(r)),t.indexOf("hsb")>-1||t.indexOf("hsv")>-1?r=this._RGB_2_HSB(r):t.indexOf("hsl")>-1&&(r=this._RGB_2_HSL(r)),r[3]=n,this.toColor(r,t)}},{key:"toRGBA",value:function(e){return this.convert(e,"rgba")}},{key:"toRGB",value:function(e){return this.convert(e,"rgb")}},{key:"toHex",value:function(e){return this.convert(e,"hex")}},{key:"toHSVA",value:function(e){return this.convert(e,"hsva")}},{key:"toHSV",value:function(e){return this.convert(e,"hsv")}},{key:"toHSBA",value:function(e){return this.convert(e,"hsba")}},{key:"toHSB",value:function(e){return this.convert(e,"hsb")}},{key:"toHSLA",value:function(e){return this.convert(e,"hsla")}},{key:"toHSL",value:function(e){return this.convert(e,"hsl")}},{key:"toName",value:function(e){for(var t in this._nameColors)if(this.toHex(this._nameColors[t])===this.toHex(e))return t;return null}},{key:"trim",value:function(e){return String(e).replace(/\s+/g,"")}},{key:"normalize",value:function(e){if(this._nameColors[e]&&(e=this._nameColors[e]),e=(e=this.trim(e)).replace(/hsv/i,"hsb"),/^#[\da-f]{3}$/i.test(e)){var t=(3840&(e=parseInt(e.slice(1),16)))<<8,r=(240&e)<<4,n=15&e;e="#"+((1<<24)+(t<<4)+t+(r<<4)+r+(n<<4)+n).toString(16).slice(1)}return e}},{key:"lift",value:function(e,t){if(!this.isCalculableColor(e))return e;var r=t>0?1:-1;void 0===t&&(t=0),t=Math.abs(t)>1?1:Math.abs(t),e=this.toRGB(e);for(var n=this.getData(e),i=0;i<3;i++)n[i]=1===r?n[i]*(1-t)|0:(255-n[i])*t+n[i]|0;return"rgb("+n.join(",")+")"}},{key:"reverse",value:function(e){if(!this.isCalculableColor(e))return e;var t=this.getData(this.toRGBA(e));return t=this.map(t,function(e){return 255-e}),this.toColor(t,"rgb")}},{key:"mix",value:function(e,t,r){if(!this.isCalculableColor(e)||!this.isCalculableColor(t))return e;void 0===r&&(r=.5);for(var n=2*(r=1-this.adjust(r,[0,1]))-1,i=this.getData(this.toRGBA(e)),o=this.getData(this.toRGBA(t)),a=i[3]-o[3],s=((n*a==-1?n:(n+a)/(1+n*a))+1)/2,l=1-s,u=[],c=0;c<3;c++)u[c]=i[c]*s+o[c]*l;var p=i[3]*r+o[3]*(1-r);return p=Math.max(0,Math.min(1,p)),1===i[3]&&1===o[3]?this.toColor(u,"rgb"):(u[3]=p,this.toColor(u,"rgba"))}},{key:"random",value:function(){return"#"+Math.random().toString(16).slice(2,8)}},{key:"getData",value:function(t){var r,n,i=(t=this.normalize(t)).match(this.colorRegExp);if(null===i)throw new Error("The color format error");var o,a=[];if(i[2])o=[(r=i[2].replace("#","").split(""))[0]+r[1],r[2]+r[3],r[4]+r[5]],a=this.map(o,function(t){return e.prototype.adjust.call(this,parseInt(t,16),[0,255])});else if(i[4]){var s=i[4].split(",");n=s[3],o=s.slice(0,3),a=this.map(o,function(t){return t=Math.floor(t.indexOf("%")>0?2.55*parseInt(t,0):t),e.prototype.adjust.call(this,t,[0,255])}),void 0!==n&&a.push(this.adjust(parseFloat(n),[0,1]))}else if(i[5]||i[6]){var l=(i[5]||i[6]).split(","),u=parseInt(l[0],0)/360,c=l[1],p=l[2];n=l[3],(a=this.map([c,p],function(t){return e.prototype.adjust.call(this,parseFloat(t)/100,[0,1])})).unshift(u),void 0!==n&&a.push(this.adjust(parseFloat(n),[0,1]))}return a}},{key:"alpha",value:function(e,t){if(!this.isCalculableColor(e))return e;null===t&&(t=1);var r=this.getData(this.toRGBA(e));return r[3]=this.adjust(Number(t).toFixed(4),[0,1]),this.toColor(r,"rgba")}},{key:"map",value:function(e,t){if("function"!=typeof t)throw new TypeError;for(var r=e?e.length:0,n=0;n=t[1]&&(e=t[1]),e}},{key:"isCalculableColor",value:function(e){return e instanceof Array||"string"==typeof e}},{key:"_HSV_2_RGB",value:function(e){var t,r,n,i=e[0],o=e[1],a=e[2];if(0===o)t=255*a,r=255*a,n=255*a;else{var s=6*i;6===s&&(s=0);var l=0|s,u=a*(1-o),c=a*(1-o*(s-l)),p=a*(1-o*(1-(s-l))),h=0,f=0,y=0;0===l?(h=a,f=p,y=u):1===l?(h=c,f=a,y=u):2===l?(h=u,f=a,y=p):3===l?(h=u,f=c,y=a):4===l?(h=p,f=u,y=a):(h=a,f=u,y=c),t=255*h,r=255*f,n=255*y}return[t,r,n]}},{key:"_HSL_2_RGB",value:function(e){var t,r,n,i=e[0],o=e[1],a=e[2];if(0===o)t=255*a,r=255*a,n=255*a;else{var s,l=2*a-(s=a<.5?a*(1+o):a+o-o*a);t=255*this._HUE_2_RGB(l,s,i+1/3),r=255*this._HUE_2_RGB(l,s,i),n=255*this._HUE_2_RGB(l,s,i-1/3)}return[t,r,n]}},{key:"_HUE_2_RGB",value:function(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),6*r<1?e+6*(t-e)*r:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}},{key:"_RGB_2_HSB",value:function(e){var t,r,n=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),l=s-a,u=s;if(0===l)t=0,r=0;else{r=l/s;var c=((s-n)/6+l/2)/l,p=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;n===s?t=h-p:i===s?t=1/3+c-h:o===s&&(t=2/3+p-c),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,r*=100,u*=100]}},{key:"_RGB_2_HSL",value:function(e){var t,r,n=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),l=s-a,u=(s+a)/2;if(0===l)t=0,r=0;else{r=u<.5?l/(s+a):l/(2-s-a);var c=((s-n)/6+l/2)/l,p=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;n===s?t=h-p:i===s?t=1/3+c-h:o===s&&(t=2/3+p-c),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,r*=100,u*=100]}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicPoint=void 0;var n=function(){function e(e,t){for(var r=0;r0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.rangeExpression=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}}],[{key:"fromObj",value:function(e){if(e){var r=new t;o.Util.copy(r,e);var n=e.items,i=n?n.length:0;r.items=[];for(var a=0;a0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null)}},{key:"toServerJSONObject",value:function(){var e={};if((e=o.Util.copyAttributes(e,this)).defaultStyle&&e.defaultStyle.toServerJSONObject&&(e.defaultStyle=e.defaultStyle.toServerJSONObject()),e.items){for(var t=[],r=e.items.length,n=0;n=0;e--)this.points[e].destroy();this.points=null}}}],[{key:"toObject",value:function(e,t){for(var r in e)"clipRegion"===r?t.clipRegion=s.ServerGeometry.fromGeometry(e.clipRegion):t[r]=e[r]}}]),t}();i.SuperMap.GeometryThiessenAnalystParameters=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeometryOverlayAnalystParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0&&r.push(","),r.push(this.writeNewline(),this.writeIndent(),t));return this.level-=1,r.push(this.writeNewline(),this.writeIndent(),"]"),r.join("")},string:function(e){var t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return/["\\\x00-\x1f]/.test(e)?'"'+e.replace(/([\x00-\x1f\\"])/g,function(e,r){var n=t[r];return n||(n=r.charCodeAt(),"\\u00"+Math.floor(n/16).toString(16)+(n%16).toString(16))})+'"':'"'+e+'"'},number:function(e){return isFinite(e)?String(e):"null"},boolean:function(e){return String(e)},date:function(e){function t(e){return e<10?"0"+e:e}return'"'+e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+"T"+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds())+'"'}},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Format),i(t,[{key:"read",value:function(e,t){var r;if(this.nativeJSON)try{r=JSON.parse(e,t)}catch(e){}return this.keepData&&(this.data=r),r}},{key:"write",value:function(e,t){this.pretty=!!t;var r=null,i=void 0===e?"undefined":n(e);if(this.serialize[i])try{r=!this.pretty&&this.nativeJSON?JSON.stringify(e):this.serialize[i].apply(this,[e])}catch(e){}return r}},{key:"writeIndent",value:function(){var e=[];if(this.pretty)for(var t=0;t1&&(r=parseFloat(r)*p),n.labelAlign&&"cm"!==n.labelAlign)switch(n.labelAlign){case"lt":c.x+=t/2,c.y+=r/2;break;case"lm":c.x+=t/2;break;case"lb":c.x+=t/2,c.y-=r/2;break;case"ct":c.y+=r/2;break;case"cb":c.y-=r/2;break;case"rt":c.x-=t/2,c.y+=r/2;break;case"rm":c.x-=t/2;break;case"rb":c.x-=t/2,c.y-=r/2}return this.bsInfo.h=r,this.bsInfo.w=t,i=c.x-parseFloat(t)/2,o=c.y+parseFloat(r)/2,u=c.x+parseFloat(t)/2,l=c.y-parseFloat(r)/2,new a.Bounds(i,o,u,l)}},{key:"getLabelPxBoundsByText",value:function(e,t){var r,n,i,o,l=this.getLabelPxSize(t),u=s.Util.cloneObject(e);if(t.labelAlign&&"cm"!==t.labelAlign)switch(t.labelAlign){case"lt":u.x+=l.w/2,u.y+=l.h/2;break;case"lm":u.x+=l.w/2;break;case"lb":u.x+=l.w/2,u.y-=l.h/2;break;case"ct":u.y+=l.h/2;break;case"cb":u.y-=l.h/2;break;case"rt":u.x-=l.w/2,u.y+=l.h/2;break;case"rm":u.x-=l.w/2;break;case"rb":u.x-=l.w/2,u.y-=l.h/2}return this.bsInfo.h=l.h,this.bsInfo.w=l.w,r=u.x-l.w/2,n=u.y+l.h/2,o=t.fontStyle&&"italic"===t.fontStyle?u.x+l.w/2+parseInt(parseFloat(t.fontSize)/2):u.x+l.w/2,i=u.y-l.h/2,new a.Bounds(r,n,o,i)}},{key:"getLabelPxSize",value:function(e){var t,r,n,i,o=parseFloat(e.strokeWidth);t=e.label||this.text,r=e.fontSize?parseFloat(e.fontSize):parseFloat("12px");var a=t.split("\n"),l=a.length;i=l>1?r*l+l+o+.2*r:r+o+.2*r+1,n=0,this.labelWTmp&&n255?r++:n++;return t.cnC=r,t.enC=n,t.textC=e.length,t}}]),t}();i.SuperMap.Geometry.GeoText=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Curve=void 0;var n=r(0),i=r(45);var o=t.Curve=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.componentTypes=["SuperMap.Geometry.Point","SuperMap.PointWithMeasure"],r.CLASS_NAME="SuperMap.Geometry.Curve",r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.MultiPoint),t}();n.SuperMap.Geometry.Curve=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VectorTileJSON=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n},a=r(48),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(29)),l=r(5);t.VectorTileJSON=o.default.Class.extend({initialize:function(e){this.url=e},getTile:function(){var e=this;return l.FetchRequest.get(e.url,null,{timeout:1e4}).then(function(e){return e.json()}).then(function(t){return e._processRecordSets(t,e)})},_processRecordSets:function(e,t){var r=e.recordsets;if(!(r=t._convertToGeoJSON(r)))return null;for(var n=0;n>3}if(o--,1===i||2===i)a+=e.readSVarint(),s+=e.readSVarint(),1===i&&(t&&l.push(t),t=[]),t.push(new n(a,s));else{if(7!==i)throw new Error("unknown command "+i);t&&t.push(t[0].clone())}}return t&&l.push(t),l},i.prototype.bbox=function(){var e=this._pbf;e.pos=this._geometry;for(var t=e.readVarint()+e.pos,r=1,n=0,i=0,o=0,a=1/0,s=-1/0,l=1/0,u=-1/0;e.pos>3}if(n--,1===r||2===r)i+=e.readSVarint(),o+=e.readSVarint(),is&&(s=i),ou&&(u=o);else if(7!==r)throw new Error("unknown command "+r)}return[a,l,s,u]},i.prototype.toGeoJSON=function(e,t,r){var n,o,s=this.extent*Math.pow(2,r),l=this.extent*e,u=this.extent*t,c=this.loadGeometry(),p=i.types[this.type];function h(e){for(var t=0;t>3;t=1===n?e.readString():2===n?e.readFloat():3===n?e.readDouble():4===n?e.readVarint64():5===n?e.readVarint():6===n?e.readSVarint():7===n?e.readBoolean():null}return t}(r))}e.exports=i,i.prototype.feature=function(e){if(e<0||e>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];var t=this._pbf.readVarint()+this._pbf.pos;return new n(this._pbf,t,this.extent,this._keys,this._values)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VectorTilePBF=void 0;var n=l(r(2)),i=l(r(336)),o=r(334),a=r(48),s=r(5);function l(e){return e&&e.__esModule?e:{default:e}}t.VectorTilePBF=n.default.Class.extend({initialize:function(e){this.url=e},getTile:function(){var e=this;return s.FetchRequest.get(e.url,null,{timeout:1e4}).then(function(e){return e.ok?e.blob().then(function(e){var t=new FileReader;return new Promise(function(r){t.addEventListener("loadend",function(){var e=new i.default(t.result);return r(new o.VectorTile(e))}),t.readAsArrayBuffer(e)})}):{layers:[]}}).then(function(t){return e._processVectorTileSpec(t)})},_processVectorTileSpec:function(e){var t=[];for(var r in e.layers){for(var i=[],o=0;o-1?new p.VectorTilePBF(n):new h.VectorTileJSON(n)).getTile().then(function(t){e.render(t,r)})},render:function(e,t){if(e){for(var r=this,n=r.renderer,i=r.layer,s=0;s=r.left&&a.x<=r.right&&a.y>=r.top&&a.y<=r.bottom){n=!0;break}}return n},clearCache:function(){this.cache={},this.charts=[]},removeFeatures:function(e){this.clearCache(),s.ThemeLayer.prototype.removeFeatures.apply(this,arguments)},removeAllFeatures:function(){this.clearCache(),s.ThemeLayer.prototype.removeAllFeatures.apply(this,arguments)},redraw:function(){return this.clearCache(),s.ThemeLayer.prototype.redraw.apply(this,arguments)},clear:function(){var e=this;e.renderer&&(e.renderer.clearAll(),e.renderer.refresh()),e.removeAllFeatures(),e.clearCache()},getWeightFieldValue:function(e,t,r){if((void 0===r||isNaN(r))&&(r=0),!e.attributes)return r;var n=e.attributes[t];return(void 0===n||isNaN(n))&&(n=r),n},_sortChart:function(){this.charts&&this.charts.sort(function(e,t){return void 0===e.__overlayWeight&&void 0===t.__overlayWeight?0:void 0!==e.__overlayWeight&&void 0===t.__overlayWeight?-1:void 0===e.__overlayWeight&&void 0!==t.__overlayWeight?1:void 0!==e.__overlayWeight&&void 0!==t.__overlayWeight?parseFloat(e.__overlayWeight)t.options.maxZoom)){var a=i.getBounds(),l=a.getEast()-a.getWest(),u=a.getNorth()-a.getSouth(),c=i.getSize(),p=l/c.x,h=u/c.y,f=i.latLngToLayerPoint(i.getCenter()),y=this.canvasLayer.getTopLeft(),d=i.latLngToAccurateContainerPoint(y),v={transferCoordinate:function(e){var r,n={x:(r="2d"===t.context?i.latLngToAccurateContainerPoint(s.default.latLng(e[1],e[0])):{x:(e[0]-y.lng)/p,y:(y.lat-e[1])/h}).x-d.x,y:r.y-d.x};return[n.x,n.y]}};void 0!==e&&(v.filter=function(t){var n=r.trails||10;return e&&t.time>e-n&&t.time=0&&e.options.fontOpacity<1&&(r.globalAlpha=e.options.fontOpacity),r.fillText){r.font=n,r.textAlign=e.options.textAlign,r.textBaseline=e.options.textBaseline;var s=e.options.vfactor,l=r.measureText("Mg").height||r.measureText("xx").width;t.y+=l*s*(a-1);for(var u=0;u=0&&y.x<=c.x&&y.y>=0&&y.y<=c.y){if(r.style.minZoomLevel>-1&&p<=r.style.minZoomLevel)continue;if(r.style.maxZoomLevel>-1&&p>r.style.maxZoomLevel)continue;var d=null;r.isStyleChange?(r.isStyleChange=null,d=this.calculateLabelBounds(r,y)):d=r.geometry.bsInfo.w&&r.geometry.bsInfo.h?this.calculateLabelBounds2(r,y):this.calculateLabelBounds(r,y);var v=new s.Bounds(0,c.y,c.x,0),m=d.length;if(this.options.isAvoid){var g=this.getAvoidInfo(v,d);if(g){if("left"===g.aspectW){r.style.labelXOffset+=g.offsetX;for(var b=0;b=i[u].start&&a=i[u].start&&al&&(l=r,u="top")}if(t.y>e.bottom){var n=Math.abs(t.y-e.bottom);n>l&&(l=n,u="bottom")}if(t.xa&&(a=i,c="left")}if(t.x>e.right){var o=Math.abs(t.x-e.right);o>a&&(a=o,c="right")}}}},isQuadrilateralOverLap:function(e,t){var r=e.length,n=t.length;if(5!==r||5!==n)return null;for(var i=!1,o=0;o0;if(t.themeField&&l&&r.attributes){var u=t.themeField,c=r.attributes;for(var p in c)if(u===p){o=!0,a=c[p];break}}if(o&&l)for(var h=0,f=i.length;h=i[h].start&&a<=i[h].end:a>=i[h].start&&a0;if(t.themeField&&l&&r.attributes){var u=t.themeField,c=r.attributes;for(var p in c)if(u===p){o=!0,a=c[p];break}}if(o&&l)for(var h=0,f=i.length;h1){var p=parseInt(c[1]);u=p&&p>=4e3&&p<=5e3?i.Unit.DEGREE:i.Unit.METER}}return o.resolutionToScale(l,96,u)},setTileSetsInfo:function(e){this.tileSets=e,n.default.Util.isArray(this.tileSets)&&(this.tileSets=this.tileSets[0]),this.tileSets&&(this.fire("tilesetsinfoloaded",{tileVersions:this.tileSets.tileVersions}),this.changeTilesVersion())},lastTilesVersion:function(){this.tempIndex=this.tileSetsIndex-1,this.changeTilesVersion()},nextTilesVersion:function(){this.tempIndex=this.tileSetsIndex+1,this.changeTilesVersion()},changeTilesVersion:function(){var e=this;if(null!=e.tileSets&&!(e.tempIndex===e.tileSetsIndex||this.tempIndex<0)){var t=e.tileSets.tileVersions;if(t&&e.tempIndex=0){var r=t[e.tempIndex].name;e.mergeTileVersionParam(r)&&(e.tileSetsIndex=e.tempIndex,e.fire("tileversionschanged",{tileVersion:t[e.tempIndex]}))}}},updateCurrentTileSetsIndex:function(e){this.tempIndex=e},mergeTileVersionParam:function(e){return!!e&&(this.requestParams.tileversion=e,this._paramsChanged=!0,this.redraw(),this._paramsChanged=!1,!0)},_getLayerUrl:function(){return this._paramsChanged&&(this._layerUrl=this._createLayerUrl()),this._layerUrl||this._createLayerUrl()},_createLayerUrl:function(){var e=this._url+"/tileImage."+this.options.format+"?";return e+=encodeURI(this._getRequestParamString()),e=this._appendCredential(e),this._layerUrl=e,e},_getRequestParamString:function(){this.requestParams=this.requestParams||this._getAllRequestParams();var e=[];for(var t in this.requestParams)e.push(t+"="+this.requestParams[t]);return e.join("&")},_getAllRequestParams:function(){var e=this.options||{},t={},r=this.options.tileSize;r instanceof n.default.Point||(r=n.default.point(r,r)),t.width=r.x,t.height=r.y,t.redirect=!0===e.redirect,t.transparent=!0===e.transparent,t.cacheEnabled=!(!1===e.cacheEnabled),e.prjCoordSys&&(t.prjCoordSys=JSON.stringify(e.prjCoordSys)),e.layersID&&(t.layersID=e.layersID.toString()),e.clipRegionEnabled&&e.clipRegion instanceof n.default.Path&&(e.clipRegion=o.toSuperMapGeometry(e.clipRegion.toGeoJSON()),e.clipRegion=i.CommonUtil.toJSON(i.ServerGeometry.fromGeometry(e.clipRegion)),t.clipRegionEnabled=e.clipRegionEnabled,t.clipRegion=JSON.stringify(e.clipRegion));var a=this._crs;if(a.options&&a.options.origin)t.origin=JSON.stringify({x:a.options.origin[0],y:a.options.origin[1]});else if(a.projection&&a.projection.bounds){var s=a.projection.bounds,l=n.default.point(s.min.x,s.max.y);t.origin=JSON.stringify({x:l.x,y:l.y})}return!1===e.overlapDisplayed?(t.overlapDisplayed=!1,e.overlapDisplayedOptions&&(t.overlapDisplayedOptions=this.overlapDisplayedOptions.toString())):t.overlapDisplayed=!0,!0===e.cacheEnabled&&e.tileversion&&(t.tileversion=e.tileversion.toString()),t},_appendCredential:function(e){var t,r,n=e;switch(this.options.serverType){case i.ServerType.IPORTAL:(t=(r=i.SecurityManager.getToken(this._url))?new i.Credential(r,"token"):null)||(t=(r=i.SecurityManager.getKey(this._url))?new i.Credential(r,"key"):null);break;case i.ServerType.ONLINE:t=(r=i.SecurityManager.getKey(this._url))?new i.Credential(r,"key"):null;break;default:t=(r=i.SecurityManager.getToken(this._url))?new i.Credential(r,"token"):null}return t&&(n+="&"+t.getUrlParameters()),n}}),u=t.tiledMapLayer=function(e,t){return new l(e,t)};n.default.supermap.tiledMapLayer=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tiandituTileLayer=t.TiandituTileLayer=void 0;var n=a(r(2));r(4);var i=r(97),o=a(r(11));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.TiandituTileLayer=i.WMTSLayer.extend({layerLabelMap:{vec:"cva",ter:"cta",img:"cia"},layerZoomMap:{vec:18,ter:14,img:18},options:{layerType:"vec",isLabel:!1,attribution:o.default.Tianditu.attribution,url:"http://t{s}.tianditu.com/{layer}_{proj}/wmts?",zoomOffset:1,dpi:96,style:"default",format:"tiles",subdomains:[0,1,2,3,4,5,6,7]},initialize:function(e){e=e||{},n.default.setOptions(this,e),this.options.layer=this.options.isLabel?this.layerLabelMap[this.options.layerType]:this.options.layerType,this.options.maxZoom=this.layerZoomMap[this.options.layerType]-1,i.WMTSLayer.prototype.initialize.call(this,this.options.url,this.options),n.default.stamp(this)},onAdd:function(e){this.options.tilematrixSet="EPSG:4326"===e.options.crs.code?"c":"w",this._url=this._url.replace("{layer}",this.options.layer).replace("{proj}",this.options.tilematrixSet),i.WMTSLayer.prototype.onAdd.call(this,e)}}),l=t.tiandituTileLayer=function(e){return new s(e)};n.default.supermap.tiandituTileLayer=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cloudTileLayer=t.CloudTileLayer=void 0;var n=o(r(2));r(4);var i=o(r(11));function o(e){return e&&e.__esModule?e:{default:e}}var a=t.CloudTileLayer=n.default.TileLayer.extend({defaultURL:"http://t2.supermapcloud.com/FileService/image",options:{mapName:"quanguo",type:"web",minZoom:3,maxZoom:18,attribution:i.default.Cloud.attribution},initialize:function(e,t){n.default.setOptions(this,t);var r=e||this.defaultURL;this._url=r+"?map="+this.options.mapName+"&type="+this.options.type,n.default.stamp(this)},getTileUrl:function(e){var t=this._url+"&x="+e.x+"&y="+e.y+"&z="+e.z;return this.options.tileProxy&&(t=this.options.tileProxy+encodeURIComponent(t)),t}}),s=t.cloudTileLayer=function(e,t){return new a(e,t)};n.default.supermap.cloudTileLayer=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.baiduTileLayer=t.BaiduTileLayer=void 0,r(4);var n=o(r(2)),i=o(r(11));function o(e){return e&&e.__esModule?e:{default:e}}var a=t.BaiduTileLayer=n.default.TileLayer.extend({url:"http://online{num}.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles={styles}&udt=20150815&scaler=1",options:{minZoom:3,maxZoom:19,bounds:n.default.latLngBounds(n.default.latLng(-85.0511287798,-180),n.default.latLng(85.0511287798,180)),retina:n.default.Browser.retina,attribution:i.default.Baidu.attribution},initialize:function(e,t){e&&(this.url=e),n.default.setOptions(this,t),this.options.retina&&(this.options.maxZoom=18),n.default.stamp(this)},getTileUrl:function(e){var t=n.default.Util.template(this.url,{num:Math.abs((e.x+e.y)%8)+1,x:e.x,y:-e.y-1,z:this._getZoomForUrl(),styles:this.options.retina?"ph":"pl"});return this.options.tileProxy&&(t=this.options.tileProxy+encodeURIComponent(t)),t}}),s=t.baiduTileLayer=function(e,t){return new a(e,t)};n.default.supermap.baiduTileLayer=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapService=t.MapService=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};r(4);var a=r(8),s=r(5);var l=t.MapService=a.ServiceBase.extend({options:{projection:null},initialize:function(e,t){t=t||{},o.default.setOptions(this,t),t.projection&&(this.options.projection=t.projection),a.ServiceBase.prototype.initialize.call(this,e,t)},getMapInfo:function(e){var t=this;new s.MapService(t.url,{proxy:t.options.proxy,withCredentials:t.options.withCredentials,serverType:t.options.serverType,eventListeners:{scope:t,processCompleted:e,processFailed:e},projection:t.options.projection}).processAsync()},getTilesets:function(e){var t=this;new s.TilesetsService(t.url,{proxy:t.options.proxy,withCredentials:t.options.withCredentials,serverType:t.options.serverType,eventListeners:{scope:t,processCompleted:e,processFailed:e}}).processAsync()}}),u=t.mapService=function(e,t){return new l(e,t)};o.default.supermap.mapService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TianDiTu_MercatorCRS=t.TianDiTu_WGS84CRS=t.BaiduCRS=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};for(var a,s=t.BaiduCRS=o.default.CRS.Baidu=o.default.extend({},o.default.CRS.EPSG3857,{code:"Baidu",scale:function(e){return 6378137*Math.PI*2/Math.pow(2,18-e)},transformation:(a=.5/(6378137*Math.PI),new o.default.Transformation(a,0,-a,0))}),l=[],u=1;u<19;u++)l.push(1.40625/Math.pow(2,u));for(var c=t.TianDiTu_WGS84CRS=o.default.CRS.TianDiTu_WGS84=o.default.Proj.CRS("EPSG:4326",{origin:[-180,90],resolutions:l,bounds:o.default.bounds([-180,-90],[180,90])}),p=[],h=1;h<19;h++)p.push(156543.03392804062/Math.pow(2,h));var f=t.TianDiTu_MercatorCRS=o.default.CRS.TianDiTu_Mercator=o.default.Proj.CRS("EPSG:3857",{origin:[-20037508.3427892,20037508.3427892],resolutions:p,bounds:o.default.bounds([-20037508.3427892,-20037508.3427892],[20037508.3427892,20037508.3427892])});o.default.CRS.BaiduCRS=s,o.default.CRS.TianDiTu_WGS84CRS=c,o.default.CRS.TianDiTu_MercatorCRS=f},function(e,t,r){"use strict";e.exports=function(e,t,r,n){return r*=t,t*=t,n[0]*e-r*(n[1]+t*(n[2]+t*(n[3]+t*n[4])))}},function(e,t,r){"use strict";var n=r(54),i=r(53),o=r(52),a=r(51),s=r(50),l=r(7),u=Math.PI/2,c=r(55),p=r(40);t.init=function(){this.e0=n(this.es),this.e1=i(this.es),this.e2=o(this.es),this.e3=a(this.es),this.ml0=this.a*s(this.e0,this.e1,this.e2,this.e3,this.lat0)},t.forward=function(e){var t,r,n,i=e.x,o=e.y,a=l(i-this.long0),u=Math.sin(o),c=Math.cos(o);if(this.sphere){var p=c*Math.sin(a);if(Math.abs(Math.abs(p)-1)<1e-10)return 93;r=.5*this.a*this.k0*Math.log((1+p)/(1-p)),t=Math.acos(c*Math.cos(a)/Math.sqrt(1-p*p)),o<0&&(t=-t),n=this.a*this.k0*(t-this.lat0)}else{var h=c*a,f=Math.pow(h,2),y=this.ep2*Math.pow(c,2),d=Math.tan(o),v=Math.pow(d,2);t=1-this.es*Math.pow(u,2);var m=this.a/Math.sqrt(t),g=this.a*s(this.e0,this.e1,this.e2,this.e3,o);r=this.k0*m*h*(1+f/6*(1-v+y+f/20*(5-18*v+Math.pow(v,2)+72*y-58*this.ep2)))+this.x0,n=this.k0*(g-this.ml0+m*d*(f*(.5+f/24*(5-v+9*y+4*Math.pow(y,2)+f/30*(61-58*v+Math.pow(v,2)+600*y-330*this.ep2)))))+this.y0}return e.x=r,e.y=n,e},t.inverse=function(e){var t,r,n,i,o,a;if(this.sphere){var s=Math.exp(e.x/(this.a*this.k0)),h=.5*(s-1/s),f=this.lat0+e.y/(this.a*this.k0),y=Math.cos(f);t=Math.sqrt((1-y*y)/(1+h*h)),o=p(t),f<0&&(o=-o),a=0===h&&0===y?this.long0:l(Math.atan2(h,y)+this.long0)}else{var d=e.x-this.x0,v=e.y-this.y0;for(r=t=(this.ml0+v/this.k0)/this.a,i=0;r+=n=(t+this.e1*Math.sin(2*r)-this.e2*Math.sin(4*r)+this.e3*Math.sin(6*r))/this.e0-r,!(Math.abs(n)<=1e-10);i++)if(i>=6)return 95;if(Math.abs(r)60)return null;var o,a,s,l,u,c,p,y,d=6378137,v=(1-Math.sqrt(.99330562))/(1+Math.sqrt(.99330562)),m=r-5e5,g=t;n<"N"&&(g-=1e7),c=6*(i-1)-180+3,y=(p=g/.9996/6367449.145945056)+(3*v/2-27*v*v*v/32)*Math.sin(2*p)+(21*v*v/16-55*v*v*v*v/32)*Math.sin(4*p)+151*v*v*v/96*Math.sin(6*p),o=d/Math.sqrt(1-.00669438*Math.sin(y)*Math.sin(y)),a=Math.tan(y)*Math.tan(y),s=.006739496752268451*Math.cos(y)*Math.cos(y),l=.99330562*d/Math.pow(1-.00669438*Math.sin(y)*Math.sin(y),1.5),u=m/(.9996*o);var b=y-o*Math.tan(y)/l*(u*u/2-(5+3*a+10*s-4*s*s-.06065547077041606)*u*u*u*u/24+(61+90*a+298*s+45*a*a-1.6983531815716497-3*s*s)*u*u*u*u*u*u/720);b=h(b);var S,_=(u-(1+2*a+s)*u*u*u/6+(5-2*s+28*a-3*s*s+.05391597401814761+24*a*a)*u*u*u*u*u/120)/Math.cos(y);if(_=c+h(_),e.accuracy){var P=f({northing:e.northing+e.accuracy,easting:e.easting+e.accuracy,zoneLetter:e.zoneLetter,zoneNumber:e.zoneNumber});S={top:P.lat,right:P.lon,bottom:b,left:_}}else S={lat:b,lon:_};return S}function y(e){var t=e%n;return 0===t&&(t=n),t}function d(e){if(e&&0===e.length)throw"MGRSPoint coverting from nothing";for(var t,r=e.length,n=null,p="",h=0;!/[A-Z]/.test(t=e.charAt(h));){if(h>=2)throw"MGRSPoint bad conversion from: "+e;p+=t,h++}var f=parseInt(p,10);if(0===h||h+3>r)throw"MGRSPoint bad conversion from: "+e;var d=e.charAt(h++);if(d<="A"||"B"===d||"Y"===d||d>="Z"||"I"===d||"O"===d)throw"MGRSPoint zone letter "+d+" not handled: "+e;n=e.substring(h,h+=2);for(var m=y(f),g=function(e,t){var r=i.charCodeAt(t-1),n=1e5,o=!1;for(;r!==e.charCodeAt(0);){if(++r===s&&r++,r===l&&r++,r>c){if(o)throw"Bad character: "+e;r=a,o=!0}n+=1e5}return n}(n.charAt(0),m),b=function(e,t){if(e>"V")throw"MGRSPoint given invalid Northing "+e;var r=o.charCodeAt(t-1),n=0,i=!1;for(;r!==e.charCodeAt(0);){if(++r===s&&r++,r===l&&r++,r>u){if(i)throw"Bad character: "+e;r=a,i=!0}n+=1e5}return n}(n.charAt(1),m);b0&&(_=1e5/Math.pow(10,T),P=e.substring(h,h+T),w=parseFloat(P)*_,O=e.substring(h+T),M=parseFloat(O)*_),{easting:w+g,northing:M+b,zoneLetter:d,zoneNumber:f,accuracy:_}}function v(e){var t;switch(e){case"C":t=11e5;break;case"D":t=2e6;break;case"E":t=28e5;break;case"F":t=37e5;break;case"G":t=46e5;break;case"H":t=55e5;break;case"J":t=64e5;break;case"K":t=73e5;break;case"L":t=82e5;break;case"M":t=91e5;break;case"N":t=0;break;case"P":t=8e5;break;case"Q":t=17e5;break;case"R":t=26e5;break;case"S":t=35e5;break;case"T":t=44e5;break;case"U":t=53e5;break;case"V":t=62e5;break;case"W":t=7e6;break;case"X":t=79e5;break;default:t=-1}if(t>=0)return t;throw"Invalid zone letter: "+e}t.forward=function(e,t){return t=t||5,function(e,t){var r="00000"+e.easting,n="00000"+e.northing;return e.zoneNumber+e.zoneLetter+(_=e.easting,P=e.northing,O=e.zoneNumber,T=y(O),w=Math.floor(_/1e5),M=Math.floor(P/1e5)%20,p=w,h=M,f=T,d=f-1,v=i.charCodeAt(d),m=o.charCodeAt(d),g=v+p-1,b=m+h,S=!1,g>c&&(g=g-c+a-1,S=!0),(g===s||vs||(g>s||vl||(g>l||vc&&(g=g-c+a-1),b>u?(b=b-u+a-1,S=!0):S=!1,(b===s||ms||(b>s||ml||(b>l||mu&&(b=b-u+a-1),String.fromCharCode(g)+String.fromCharCode(b))+r.substr(r.length-5,t)+n.substr(n.length-5,t);var p,h,f,d,v,m,g,b,S;var _,P,O,T,w,M}(function(e){var t,r,n,i,o,a,s,l=e.lat,u=e.lon,c=6378137,h=p(l),f=p(u);s=Math.floor((u+180)/6)+1,180===u&&(s=60);l>=56&&l<64&&u>=3&&u<12&&(s=32);l>=72&&l<84&&(u>=0&&u<9?s=31:u>=9&&u<21?s=33:u>=21&&u<33?s=35:u>=33&&u<42&&(s=37));a=p(6*(s-1)-180+3),.006739496752268451,t=c/Math.sqrt(1-.00669438*Math.sin(h)*Math.sin(h)),r=Math.tan(h)*Math.tan(h),n=.006739496752268451*Math.cos(h)*Math.cos(h),i=Math.cos(h)*(f-a),o=c*(.9983242984503243*h-.002514607064228144*Math.sin(2*h)+2639046602129982e-21*Math.sin(4*h)-3.418046101696858e-9*Math.sin(6*h));var y=.9996*t*(i+(1-r+n)*i*i*i/6+(5-18*r+r*r+72*n-.39089081163157013)*i*i*i*i*i/120)+5e5,d=.9996*(o+t*Math.tan(h)*(i*i/2+(5-r+9*n+4*n*n)*i*i*i*i/24+(61-58*r+r*r+600*n-2.2240339282485886)*i*i*i*i*i*i/720));l<0&&(d+=1e7);return{northing:Math.round(d),easting:Math.round(y),zoneNumber:s,zoneLetter:function(e){var t="Z";84>=e&&e>=72?t="X":72>e&&e>=64?t="W":64>e&&e>=56?t="V":56>e&&e>=48?t="U":48>e&&e>=40?t="T":40>e&&e>=32?t="S":32>e&&e>=24?t="R":24>e&&e>=16?t="Q":16>e&&e>=8?t="P":8>e&&e>=0?t="N":0>e&&e>=-8?t="M":-8>e&&e>=-16?t="L":-16>e&&e>=-24?t="K":-24>e&&e>=-32?t="J":-32>e&&e>=-40?t="H":-40>e&&e>=-48?t="G":-48>e&&e>=-56?t="F":-56>e&&e>=-64?t="E":-64>e&&e>=-72?t="D":-72>e&&e>=-80&&(t="C");return t}(l)}}({lat:e[1],lon:e[0]}),t)},t.inverse=function(e){var t=f(d(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat,t.lon,t.lat]:[t.left,t.bottom,t.right,t.top]},t.toPoint=function(e){var t=f(d(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat]:[(t.left+t.right)/2,(t.top+t.bottom)/2]}},function(e,t,r){"use strict";e.exports=function(e){var t={x:e[0],y:e[1]};return e.length>2&&(t.z=e[2]),e.length>3&&(t.m=e[3]),t}},function(e,t,r){"use strict";var n=.017453292519943295,i=57.29577951308232,o=1,a=2,s=r(390),l=r(389),u=r(102),c=r(164);e.exports=function e(t,r,p){var h;function f(e,t){return(e.datum.datum_type===o||e.datum.datum_type===a)&&"WGS84"!==t.datumCode}return Array.isArray(p)&&(p=c(p)),t.datum&&r.datum&&(f(t,r)||f(r,t))&&(e(t,h=new u("WGS84"),p),t=h),"enu"!==t.axis&&l(t,!1,p),"longlat"===t.projName?(p.x*=n,p.y*=n):(t.to_meter&&(p.x*=t.to_meter,p.y*=t.to_meter),t.inverse(p)),t.from_greenwich&&(p.x+=t.from_greenwich),p=s(t.datum,r.datum,p),r.from_greenwich&&(p.x-=r.from_greenwich),"longlat"===r.projName?(p.x*=i,p.y*=i):(r.forward(p),r.to_meter&&(p.x/=r.to_meter,p.y/=r.to_meter)),"enu"!==r.axis&&l(r,!0,p),p}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=.017453292519943295,o=r(101);function a(e,t,r){e[t]=r.map(function(e){var t={};return s(e,t),t}).reduce(function(e,t){return o(e,t)},{})}function s(e,t){var r;Array.isArray(e)?("PARAMETER"===(r=e.shift())&&(r=e.shift()),1===e.length?Array.isArray(e[0])?(t[r]={},s(e[0],t[r])):t[r]=e[0]:e.length?"TOWGS84"===r?t[r]=e:(t[r]={},["UNIT","PRIMEM","VERT_DATUM"].indexOf(r)>-1?(t[r]={name:e[0].toLowerCase(),convert:e[1]},3===e.length&&(t[r].auth=e[2])):"SPHEROID"===r?(t[r]={name:e[0],a:e[1],rf:e[2]},4===e.length&&(t[r].auth=e[3])):["GEOGCS","GEOCCS","DATUM","VERT_CS","COMPD_CS","LOCAL_CS","FITTED_CS","LOCAL_DATUM"].indexOf(r)>-1?(e[0]=["name",e[0]],a(t,r,e)):e.every(function(e){return Array.isArray(e)})?a(t,r,e):s(e,t[r])):t[r]=!0):t[e]=!0}function l(e){return e*i}e.exports=function(e,t){var r=JSON.parse((","+e).replace(/\s*\,\s*([A-Z_0-9]+?)(\[)/g,',["$1",').slice(1).replace(/\s*\,\s*([A-Z_0-9]+?)\]/g,',"$1"]').replace(/,\["VERTCS".+/,"")),i=r.shift(),a=r.shift();r.unshift(["name",a]),r.unshift(["type",i]),r.unshift("output");var u={};return s(r,u),function(e){function t(t){var r=e.to_meter||1;return parseFloat(t,10)*r}"GEOGCS"===e.type?e.projName="longlat":"LOCAL_CS"===e.type?(e.projName="identity",e.local=!0):"object"===n(e.PROJECTION)?e.projName=Object.keys(e.PROJECTION)[0]:e.projName=e.PROJECTION,e.UNIT&&(e.units=e.UNIT.name.toLowerCase(),"metre"===e.units&&(e.units="meter"),e.UNIT.convert&&("GEOGCS"===e.type?e.DATUM&&e.DATUM.SPHEROID&&(e.to_meter=parseFloat(e.UNIT.convert,10)*e.DATUM.SPHEROID.a):e.to_meter=parseFloat(e.UNIT.convert,10))),e.GEOGCS&&(e.GEOGCS.DATUM?e.datumCode=e.GEOGCS.DATUM.name.toLowerCase():e.datumCode=e.GEOGCS.name.toLowerCase(),"d_"===e.datumCode.slice(0,2)&&(e.datumCode=e.datumCode.slice(2)),"new_zealand_geodetic_datum_1949"!==e.datumCode&&"new_zealand_1949"!==e.datumCode||(e.datumCode="nzgd49"),"wgs_1984"===e.datumCode&&("Mercator_Auxiliary_Sphere"===e.PROJECTION&&(e.sphere=!0),e.datumCode="wgs84"),"_ferro"===e.datumCode.slice(-6)&&(e.datumCode=e.datumCode.slice(0,-6)),"_jakarta"===e.datumCode.slice(-8)&&(e.datumCode=e.datumCode.slice(0,-8)),~e.datumCode.indexOf("belge")&&(e.datumCode="rnb72"),e.GEOGCS.DATUM&&e.GEOGCS.DATUM.SPHEROID&&(e.ellps=e.GEOGCS.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===e.ellps.toLowerCase().slice(0,13)&&(e.ellps="intl"),e.a=e.GEOGCS.DATUM.SPHEROID.a,e.rf=parseFloat(e.GEOGCS.DATUM.SPHEROID.rf,10)),~e.datumCode.indexOf("osgb_1936")&&(e.datumCode="osgb36")),e.b&&!isFinite(e.b)&&(e.b=e.a),[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_2","Standard_Parallel_2"],["false_easting","False_Easting"],["false_northing","False_Northing"],["central_meridian","Central_Meridian"],["latitude_of_origin","Latitude_Of_Origin"],["latitude_of_origin","Central_Parallel"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",l],["longitude_of_center","Longitude_Of_Center"],["longc","longitude_of_center",l],["x0","false_easting",t],["y0","false_northing",t],["long0","central_meridian",l],["lat0","latitude_of_origin",l],["lat0","standard_parallel_1",l],["lat1","standard_parallel_1",l],["lat2","standard_parallel_2",l],["alpha","azimuth",l],["srsCode","name"]].forEach(function(t){return r=e,i=(n=t)[0],o=n[1],void(!(i in r)&&o in r&&(r[i]=r[o],3===n.length&&(r[i]=n[2](r[i]))));var r,n,i,o}),e.long0||!e.longc||"Albers_Conic_Equal_Area"!==e.projName&&"Lambert_Azimuthal_Equal_Area"!==e.projName||(e.long0=e.longc),e.lat_ts||!e.lat1||"Stereographic_South_Pole"!==e.projName&&"Polar Stereographic (variant B)"!==e.projName||(e.lat0=l(e.lat1>0?90:-90),e.lat_ts=e.lat1)}(u.output),o(t,u.output)}},function(e,t,r){"use strict";var n=.017453292519943295,i=r(399),o=r(398);e.exports=function(e){var t,r,a,s={},l={};e.split("+").map(function(e){return e.trim()}).filter(function(e){return e}).forEach(function(e){var t=e.split("=");t.push(!0),l[t[0].toLowerCase()]=t[1]});var u={proj:"projName",datum:"datumCode",rf:function(e){s.rf=parseFloat(e)},lat_0:function(e){s.lat0=e*n},lat_1:function(e){s.lat1=e*n},lat_2:function(e){s.lat2=e*n},lat_ts:function(e){s.lat_ts=e*n},lon_0:function(e){s.long0=e*n},lon_1:function(e){s.long1=e*n},lon_2:function(e){s.long2=e*n},alpha:function(e){s.alpha=parseFloat(e)*n},lonc:function(e){s.longc=e*n},x_0:function(e){s.x0=parseFloat(e)},y_0:function(e){s.y0=parseFloat(e)},k_0:function(e){s.k0=parseFloat(e)},k:function(e){s.k0=parseFloat(e)},a:function(e){s.a=parseFloat(e)},b:function(e){s.b=parseFloat(e)},r_a:function(){s.R_A=!0},zone:function(e){s.zone=parseInt(e,10)},south:function(){s.utmSouth=!0},towgs84:function(e){s.datum_params=e.split(",").map(function(e){return parseFloat(e)})},to_meter:function(e){s.to_meter=parseFloat(e)},units:function(e){s.units=e,o[e]&&(s.to_meter=o[e].to_meter)},from_greenwich:function(e){s.from_greenwich=e*n},pm:function(e){s.from_greenwich=(i[e]?i[e]:parseFloat(e))*n},nadgrids:function(e){"@null"===e?s.datumCode="none":s.nadgrids=e},axis:function(e){3===e.length&&-1!=="ewnsud".indexOf(e.substr(0,1))&&-1!=="ewnsud".indexOf(e.substr(1,1))&&-1!=="ewnsud".indexOf(e.substr(2,1))&&(s.axis=e)}};for(t in l)r=l[t],t in u?"function"==typeof(a=u[t])?a(r):s[a]=r:s[t]=r;return"string"==typeof s.datumCode&&"WGS84"!==s.datumCode&&(s.datumCode=s.datumCode.toLowerCase()),s}},function(e,t,r){"use strict";var n=r(400),i=r(167),o=r(166);function a(e){var t=this;if(2===arguments.length){var r=arguments[1];"string"==typeof r?"+"===r.charAt(0)?a[e]=i(arguments[1]):a[e]=o(arguments[1]):a[e]=r}else if(1===arguments.length){if(Array.isArray(e))return e.map(function(e){Array.isArray(e)?a.apply(t,e):a(e)});if("string"==typeof e){if(e in a)return a[e]}else"EPSG"in e?a["EPSG:"+e.EPSG]=e:"ESRI"in e?a["ESRI:"+e.ESRI]=e:"IAU2000"in e?a["IAU2000:"+e.IAU2000]=e:console.log(e);return}}n(a),e.exports=a},function(e,t,r){"use strict";var n=r(402);n.defaultDatum="WGS84",n.Proj=r(102),n.WGS84=new n.Proj("WGS84"),n.Point=r(388),n.toPoint=r(164),n.defs=r(168),n.transform=r(165),n.mgrs=r(163),n.version=r(387).version,r(386)(n),e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crs=t.CRS=void 0;var n=o(r(2)),i=o(r(169));function o(e){return e&&e.__esModule?e:{default:e}}window.proj4=i.default,window.Proj4js=i.default,n.default.Proj={},n.default.Proj._isProj4Obj=function(e){return void 0!==e.inverse&&void 0!==e.forward},n.default.Proj.Projection=n.default.Class.extend({initialize:function(e,t,r){var i=n.default.Proj._isProj4Obj(e);this._proj=i?e:this._projFromCodeDef(e,t);var o=r;n.default.Util.isArray(r)&&(o=n.default.bounds(r)),this.bounds=i?t:o},project:function(e){var t=this._proj.forward([e.lng,e.lat]);return new n.default.Point(t[0],t[1])},unproject:function(e,t){this.bounds&&(e.x=e.xthis.bounds.max.x?this.bounds.max.x:e.x,e.y=e.ythis.bounds.max.y?this.bounds.max.y:e.y);var r=this._proj.inverse([e.x,e.y]);return new n.default.LatLng(r[1],r[0],t)},_projFromCodeDef:function(e,t){if(t)i.default.defs(e,t);else if(void 0===i.default.defs[e]){var r=e.split(":");if(r.length>3&&(e=r[r.length-3]+":"+r[r.length-1]),void 0===i.default.defs[e])throw"No projection definition for code "+e}return(0,i.default)(e)},getUnits:function(){return this._proj.oProj.units||"degrees"}});var a=t.CRS=n.default.Class.extend({includes:n.default.CRS,options:{transformation:new n.default.Transformation(1,0,-1,0)},initialize:function(e,t){var r,i,o;if(n.default.Proj._isProj4Obj(e)?(r=(i=e).srsCode,t=t||{},this.projection=new n.default.Proj.Projection(i,t.bounds)):(r=e,o=(t=t||{}).def||"",this.projection=new n.default.Proj.Projection(r,o,t.bounds)),n.default.Util.setOptions(this,t),this.code=r,this.transformation=this.options.transformation,this.options.bounds&&(this.options.bounds=n.default.bounds(this.options.bounds)),!this.options.origin&&this.options.bounds&&(this.options.origin=[this.options.bounds.min.x,this.options.bounds.max.y]),this.options.origin&&(this.options.origin instanceof n.default.Point&&(this.options.origin=[this.options.origin.x,this.options.origin.y]),this.transformation=new n.default.Transformation(1,-this.options.origin[0],-1,this.options.origin[1])),this.options.scales&&this.options.scales.length>0)this.scales=this.options.scales,this._scales=this._toProj4Scales(this.options.scales,this.options.dpi);else if(this.options.scaleDenominators&&this.options.scaleDenominators.length>0){this.scales=[];for(var a=0;a0){this._scales=[];for(var s=this.options.resolutions.length-1;s>=0;s--)this.options.resolutions[s]&&(this._scales[s]=1/this.options.resolutions[s])}else this.options.bounds&&(this._scales=this._getDefaultProj4ScalesByBounds(this.options.bounds));this._rectify(),this.infinite=!this.options.bounds},_rectify:function(){if(this._scales&&(this.resolutions||(this.resolutions=[],this.resolutions=this._proj4ScalesToResolutions(this._scales)),!this.scales)){this.scales=[];for(var e=0;e=0&&this._clips.splice(t,1)}},{key:"_update",value:function(){for(var e=(new Date).getTime(),t=e-this._time,r=this._clips,n=r.length,i=[],o=[],a=0;a=0&&!(g[O]<=a);O--);O=Math.min(O,h-2)}else{for(O=E;Oa);O++);O=Math.min(O-1,h-2)}E=O,A=a;var s=g[O+1]-g[O];if(0!==s){if(T=(a-g[O])/s,o)if(M=b[O],w=b[0===O?O:O-1],C=b[O>h-2?h-1:O+1],x=b[O>h-3?h-1:O+2],y)p._catmullRomInterpolateArray(w,M,C,x,T,T*T,T*T*T,n(e,c),v);else{var l=void 0;l=d?p.rgba2String(L):p._catmullRomInterpolate(w,M,C,x,T,T*T,T*T*T),r(e,c,l)}else if(y)p._interpolateArray(b[O],b[O+1],T,n(e,c),v);else{var u=void 0;d?(p._interpolateArray(b[O],b[O+1],T,L,1),u=p.rgba2String(L)):u=p._interpolateNumber(b[O],b[O+1],T),r(e,c,u)}for(O=0;O0?1.1:1/1.1,r=this.painter.getLayers(),n=!1;for(var i in r)if("hover"!==i){var a=r[i],s=a.position;if(a.zoomable){a.__zoom=a.__zoom||1;var l=a.__zoom;l*=t,t=(l=Math.max(Math.min(a.maxZoom,l),a.minZoom))/a.__zoom,a.__zoom=l,s[0]-=(this._mouseX-s[0])*(t-1),s[1]-=(this._mouseY-s[1])*(t-1),a.scale[0]*=t,a.scale[1]*=t,a.dirty=!0,n=!0}}n&&this.painter.refresh(),this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEWHEEL,e),this._mousemoveHandler(e)},mousemove:function(e){this._clickThreshold++,e=this._zrenderEventFixed(e),this._lastX=this._mouseX,this._lastY=this._mouseY,this._mouseX=a.SUtil.Util_event.getX(e),this._mouseY=a.SUtil.Util_event.getY(e);var t=this._mouseX-this._lastX,r=this._mouseY-this._lastY;this._processDragStart(e),this._hasfound=0,this._event=e,this._iterateAndFindHover(),this._hasfound||((!this._draggingTarget||this._lastHover&&this._lastHover!=this._draggingTarget)&&(this._processOutShape(e),this._processDragLeave(e)),this._lastHover=null,this.storage.delHover(),this.painter.clearHover());var n="";if(this._draggingTarget)this.storage.drift(this._draggingTarget.id,t,r),this._draggingTarget.modSelf(),this.storage.addHover(this._draggingTarget);else if(this._isMouseDown){var i=this.painter.getLayers(),s=!1;for(var l in i)if("hover"!==l){var u=i[l];u.panable&&(n="move",u.position[0]+=t,u.position[1]+=r,s=!0,u.dirty=!0)}s&&this.painter.refresh()}this._draggingTarget||this._hasfound&&this._lastHover.draggable?n="move":this._hasfound&&this._lastHover.clickable&&(n="pointer"),this.root.style.cursor=n,this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEMOVE,e),(this._draggingTarget||this._hasfound||this.storage.hasHoverShape())&&this.painter.refreshHover()},mouseout:function(e){var t=(e=this._zrenderEventFixed(e)).toElement||e.relatedTarget;if(t!=this.root)for(;t&&9!=t.nodeType;){if(t==this.root)return void this._mousemoveHandler(e);t=t.parentNode}e.zrenderX=this._lastX,e.zrenderY=this._lastY,this.root.style.cursor="",this._isMouseDown=0,this._processOutShape(e),this._processDrop(e),this._processDragEnd(e),this.painter.refreshHover(),this.dispatch(o.Config.EVENT.GLOBALOUT,e)},mousedown:function(e){if(this._clickThreshold=0,2==this._lastDownButton)return this._lastDownButton=e.button,void(this._mouseDownTarget=null);this._lastMouseDownMoment=new Date,e=this._zrenderEventFixed(e),this._isMouseDown=1,this._mouseDownTarget=this._lastHover,this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEDOWN,e),this._lastDownButton=e.button},mouseup:function(e){e=this._zrenderEventFixed(e),this.root.style.cursor="",this._isMouseDown=0,this._mouseDownTarget=null,this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEUP,e),this._processDrop(e),this._processDragEnd(e)},touchstart:function(e){e=this._zrenderEventFixed(e,!0),this._lastTouchMoment=new Date,this._mobildFindFixed(e),this._mousedownHandler(e)},touchmove:function(e){e=this._zrenderEventFixed(e,!0),this._mousemoveHandler(e),this._isDragging&&a.SUtil.Util_event.stop(e)},touchend:function(e){e=this._zrenderEventFixed(e,!0),this._mouseupHandler(e);var t=new Date;t-this._lastTouchMoment=0;i--){var o=r[i];if(void 0!==o.zlevel&&(e=this.painter.getLayer(o.zlevel,e),n[0]=this._mouseX,n[1]=this._mouseY,e.needTransform&&(a.SUtil.Util_matrix.invert(t,e.transform),a.SUtil.Util_vector.applyTransform(n,n,t))),this._findHover(o,n[0],n[1]))break}}},{key:"_mobildFindFixed",value:function(e){var t=[{x:10},{x:-20},{x:10,y:10},{y:-20}];this._lastHover=null,this._mouseX=e.zrenderX,this._mouseY=e.zrenderY,this._event=e,this._iterateAndFindHover();for(var r=0;!this._lastHover&&r0&&e>this._zlevelList[0]){for(i=0;ie);i++);n=this._layers[this._zlevelList[i]]}this._zlevelList.splice(i+1,0,e),t=new h(a.Util.createUniqueID("_levelLayer_"+e),this);var o=n?n.dom:this._bgDom;o.nextSibling?o.parentNode.insertBefore(t.dom,o.nextSibling):o.parentNode.appendChild(t.dom),t.initContext(),this._layers[e]=t,this._layerConfig[e]&&(new s.Util).merge(t,this._layerConfig[e],!0),t.updateTransform()}return t}},{key:"getLayers",value:function(){return this._layers}},{key:"_updateLayerStatus",value:function(e){var t=this._layers,r={};for(var n in t)"hover"!==n&&(r[n]=t[n].elCount,t[n].elCount=0);for(var i=0;i0}},{key:"addRoot",value:function(e){e instanceof o.Group&&e.addChildrenToStorage(this),this.addToMap(e),this._roots.push(e)}},{key:"delRoot",value:function(e){if(void 0===e){for(var t=0;t=0&&(this.delFromMap(s.id),this._roots.splice(l,1),s instanceof o.Group&&s.delChildrenFromStorage(this))}}},{key:"addToMap",value:function(e){return e instanceof o.Group&&(e._storage=this),e.modSelf(),this._elements[e.id]=e,this}},{key:"get",value:function(e){return this._elements[e]}},{key:"delFromMap",value:function(e){var t=this._elements[e];return t&&(delete this._elements[e],t instanceof o.Group&&(t._storage=null)),this}},{key:"dispose",value:function(){this._elements=null,this._roots=null,this._hoverElements=null}}],[{key:"shapeCompareFunc",value:function(e,t){return e.zlevel==t.zlevel?e.z==t.z?e.__renderidx-t.__renderidx:e.z-t.z:e.zlevel-t.zlevel}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Render=void 0;var n=function(){function e(e,t){for(var r=0;r=s[2]||s[1]<=s[3])&&(this.DVBOrigonPoint=[s[0],s[3]],this.DVBWidth=Math.abs(s[2]-s[0]),this.DVBHeight=Math.abs(s[1]-s[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-i[0],this.DVBOrigonPoint[1]-i[1]],!0)}}]),t}();i.SuperMap.Feature.Theme.RankSymbol=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicSector=void 0;var n=function(){function e(e,t){for(var r=0;r1?o.SUtil.Util_computeBoundingBox.arc(s,l,u,p,h,!f,r,i):(r[0]=i[0]=s,r[1]=i[1]=l),o.SUtil.Util_computeBoundingBox.arc(s,l,c,p,h,!f,n,a),o.SUtil.Util_vector.min(r,r,n),o.SUtil.Util_vector.max(i,i,a),e.__rect={x:r[0],y:r[1],width:i[0]-r[0],height:i[1]-r[1]},e.__rect}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicCircle=void 0;var n=function(){function e(e,t){for(var r=0;r1)for(var t in arguments)console.log(arguments[t])}}return n(e,[{key:"destory",value:function(){return!0}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;r=200&&o.status<300||304===o.status?t&&t(o.responseText):r&&r(),o.onreadystatechange=new Function,o=null)},o.send(null)}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;ri&&(i=l[0]),l[1]a&&(a=l[1])}t[0]=n,t[1]=o,r[0]=i,r[1]=a}}},{key:"cubeBezier",value:function(e,t,r,n,o,a){var s=new i.Curve,l=[];s.cubicExtrema(e[0],t[0],r[0],n[0],l);for(var u=0;ui&&!a?i+=2*Math.PI:nn&&(h[0]=Math.cos(y)*r+e,h[1]=Math.sin(y)*r+t,u.min(s,h,s),u.max(l,h,l))}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Area=void 0;var n=function(){function e(e,t){for(var r=0;r0){for(var g=this.isInsidePolygon(t.pointList,v,m),b=e.holePolygonPointLists,S=!1,_=0,P=b.length;_t+s&&a>n+s||ae+s&&o>r+s||ot+p&&c>n+p&&c>o+p&&c>s+p||ce+p&&u>r+p&&u>i+p&&u>a+p||ut+u&&l>n+u&&l>o+u||le+u&&s>r+u&&s>i+u||sr||p+c=u)return!0;if(o){var h=n;n=this.normalizeRadian(i),i=this.normalizeRadian(h)}else n=this.normalizeRadian(n),i=this.normalizeRadian(i);n>i&&(i+=u);var f=Math.atan2(l,s);return f<0&&(f+=u),f>=n&&f<=i||f+u>=n&&f+u<=i}},{key:"isInsideBrokenLine",value:function(e,t,r,n){for(var i=Math.max(t,10),o=0,a=e.length-1;or*r}},{key:"isInsideRect",value:function(e,t,r,n,i,o){return i>=e&&i<=e+r&&o>=t&&o<=t+n}},{key:"isInsideCircle",value:function(e,t,r,n,i){return(n-e)*(n-e)+(i-t)*(i-t)t&&o>n||oi?nt&&u>n&&u>o&&u>s||u1&&this.swapExtrema(),y=c.cubicAt(t,n,o,s,h[0]),m>1&&(d=c.cubicAt(t,n,o,s,h[1]))),2==m?bt&&s>n&&s>o||s=0&&p<=1){for(var h=0,f=l.quadraticAt(t,n,o,p),y=0;ya||(u[y]a?0:or||s<-r)return 0;var c=Math.sqrt(r*r-s*s);if(l[0]=-c,l[1]=c,Math.abs(n-i)>=u){n=0,i=u;var p=o?1:-1;return a>=l[0]+e&&a<=l[1]+e?p:0}if(o){var h=n;n=this.normalizeRadian(i),i=this.normalizeRadian(h)}else n=this.normalizeRadian(n),i=this.normalizeRadian(i);n>i&&(i+=u);for(var f=0,y=0;y<2;y++){var d=l[y];if(d+e>a){var v=Math.atan2(s,d),m=o?1:-1;v<0&&(v=u+v),(v>=n&&v<=i||v+u>=n&&v+u<=i)&&(v>Math.PI/2&&v<1.5*Math.PI&&(m=-m),f+=m)}}return f}},{key:"isInsidePath",value:function(e,t,r,n,i){for(var o=0,a=0,s=0,l=0,u=0,c=!0,p=!0,h="stroke"===(r=r||"fill")||"both"===r,f="fill"===r||"both"===r,y=0;y0&&(f&&(o+=this.windingLine(a,s,l,u,n,i)),0!==o))return!0;l=v[v.length-2],u=v[v.length-1],c=!1,p&&"A"!==d.command&&(p=!1,a=l,s=u)}switch(d.command){case"M":a=v[0],s=v[1];break;case"L":if(h&&this.isInsideLine(a,s,v[0],v[1],t,n,i))return!0;f&&(o+=this.windingLine(a,s,v[0],v[1],n,i)),a=v[0],s=v[1];break;case"C":if(h&&this.isInsideCubicStroke(a,s,v[0],v[1],v[2],v[3],v[4],v[5],t,n,i))return!0;f&&(o+=this.windingCubic(a,s,v[0],v[1],v[2],v[3],v[4],v[5],n,i)),a=v[4],s=v[5];break;case"Q":if(h&&this.isInsideQuadraticStroke(a,s,v[0],v[1],v[2],v[3],t,n,i))return!0;f&&(o+=this.windingQuadratic(a,s,v[0],v[1],v[2],v[3],n,i)),a=v[2],s=v[3];break;case"A":var m=v[0],g=v[1],b=v[2],S=v[3],_=v[4],P=v[5],O=Math.cos(_)*b+m,T=Math.sin(_)*S+g;p?(p=!1,l=O,u=T):o+=this.windingLine(a,s,O,T);var w=(n-m)*S/b+m;if(h&&this.isInsideArcStroke(m,g,S,_,_+P,1-v[7],t,w,i))return!0;f&&(o+=this.windingArc(m,g,S,_,_+P,1-v[7],w,i)),a=Math.cos(_+P)*b+m,s=Math.sin(_+P)*S+g;break;case"z":if(h&&this.isInsideLine(a,s,l,u,t,n,i))return!0;c=!0}}return f&&(o+=this.windingLine(a,s,l,u,n,i)),0!==o}},{key:"getTextWidth",value:function(e,t){var r=e+":"+t;if(this._textWidthCache[r])return this._textWidthCache[r];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t);for(var n=0,i=0,o=(e=(e+"").split("\n")).length;ithis.TEXT_CACHE_MAX&&(this._textWidthCacheCounter=0,this._textWidthCache={}),n}},{key:"getTextHeight",value:function(e,t){var r=e+":"+t;if(this._textHeightCache[r])return this._textHeightCache[r];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t),e=(e+"").split("\n");var n=(this._ctx.measureText("ZH").width+2)*e.length;return this._ctx.restore(),this._textHeightCache[r]=n,++this._textHeightCacheCounter>this.TEXT_CACHE_MAX&&(this._textHeightCacheCounter=0,this._textHeightCache={}),n}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;var n=function(){function e(e,t){for(var r=0;r-1&&"?"===i?t+=n:t.indexOf("?")>-1&&"?"!==i?t+="&"+n:t+="?"+n}return t}},{key:"getCredential",value:function(){}}]),e}();i.SuperMap.OnlineServiceBase=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OnlineData=void 0;var n=function(){function e(e,t){for(var r=0;r0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.defaultcolor&&(e.defaultcolor.destroy(),e.defaultcolor=null)}},{key:"toServerJSONObject",value:function(){var e={};if((e=o.Util.copyAttributes(e,this)).defaultcolor&&e.defaultcolor.toServerJSONObject&&(e.defaultcolor=e.defaultcolor.toServerJSONObject()),e.items){for(var t=[],r=e.items.length,n=0;n0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.reverseColor=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}}],[{key:"fromObj",value:function(e){if(e){var r=new t;o.Util.copy(r,e);var n=e.items,i=n?n.length:0;r.items=[];for(var a=0;a0&&(e=e.substring(0,e.length-1)),"{"+e+"}"}return null}}]),e}();i.SuperMap.ThemeMemoryData=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServerTheme=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}}}],[{key:"toJsonParameters",value:function(e){var t,r;return t={datasetNames:e.datasetNames,getFeatureMode:"ID",ids:e.IDs},e.fields&&((r=new a.FilterParameter).name=e.datasetNames,r.fields=e.fields,t.queryParameter=r),o.Util.toJSON(t)}}]),t}();i.SuperMap.GetFeaturesByIDsParameters=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesByGeometryParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}}],[{key:"toJsonParameters",value:function(e){var t,r,n;return r=u.ServerGeometry.fromGeometry(e.geometry),n={datasetNames:e.datasetNames,getFeatureMode:"SPATIAL",geometry:r,spatialQueryMode:e.spatialQueryMode},e.fields&&((t=new s.FilterParameter).name=e.datasetNames,t.fields=e.fields,n.queryParameter=t),e.attributeFilter&&(n.attributeFilter=e.attributeFilter,n.getFeatureMode="SPATIAL_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(n.maxFeatures=e.maxFeatures),o.Util.toJSON(n)}}]),t}();i.SuperMap.GetFeaturesByGeometryParameters=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesByBufferParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}e.geometry&&(e.geometry.destroy(),e.geometry=null)}}],[{key:"toJsonParameters",value:function(e){var t,r,n;return n=l.ServerGeometry.fromGeometry(e.geometry),r={datasetNames:e.datasetNames,getFeatureMode:"BUFFER",bufferDistance:e.bufferDistance,geometry:n},e.fields&&((t=new s.FilterParameter).name=e.datasetNames,t.fields=e.fields,r.queryParameter=t),e.attributeFilter&&(r.attributeFilter=e.attributeFilter,r.getFeatureMode="BUFFER_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(r.maxFeatures=e.maxFeatures),o.Util.toJSON(r)}}]),t}();i.SuperMap.GetFeaturesByBufferParameters=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesByBoundsParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}}],[{key:"toJsonParameters",value:function(e){var r,n,i;return n={leftBottom:{x:e.bounds.left,y:e.bounds.bottom},rightTop:{x:e.bounds.right,y:e.bounds.top}},i={datasetNames:e.datasetNames,getFeatureMode:t.getFeatureMode.BOUNDS,bounds:n,spatialQueryMode:e.spatialQueryMode},e.fields&&((r=new s.FilterParameter).name=e.datasetNames,r.fields=e.fields,i.queryParameter=r),e.attributeFilter&&(i.attributeFilter=e.attributeFilter,i.getFeatureMode=t.getFeatureMode.BOUNDS_ATTRIBUTEFILTER),e.maxFeatures&&!isNaN(e.maxFeatures)&&(i.maxFeatures=e.maxFeatures),o.Util.toJSON(i)}}]),t}();u.getFeatureMode={BOUNDS:"BOUNDS",BOUNDS_ATTRIBUTEFILTER:"BOUNDS_ATTRIBUTEFILTER"},i.SuperMap.GetFeaturesByBoundsParameters=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeoRelationAnalystParameters=void 0;var n=function(){function e(e,t){for(var r=0;r=0?t.speed:1,this.frequency=t.speed&&t.frequency>=0?t.frequency:1e3,this.startTime=t.startTime&&null!=t.startTime?t.startTime:0,this.endTime=t.endTime&&null!=t.endTime&&t.endTime>=r.startTime?t.endTime:+new Date,this.repeat=void 0===t.repeat||t.repeat,this.reverse=void 0!==t.reverse&&t.reverse,this.currentTime=null,this.oldTime=null,this.running=!1,this.EVENT_TYPES=["start","pause","stop"],r.events=new o.Events(this,null,this.EVENT_TYPES),r.speed=Number(r.speed),r.frequency=Number(r.frequency),r.startTime=Number(r.startTime),r.endTime=Number(r.endTime),r.startTime=Date.parse(new Date(r.startTime)),r.endTime=Date.parse(new Date(r.endTime)),r.currentTime=r.startTime,this.CLASS_NAME="SuperMap.TimeControlBase"}return n(e,[{key:"updateOptions",value:function(e){var t=this;(e=e||{}).speed&&e.speed>=0&&(t.speed=e.speed,t.speed=Number(t.speed)),e.speed&&e.frequency>=0&&(t.frequency=e.frequency,t.frequency=Number(t.frequency)),e.startTime&&null!=e.startTime&&(t.startTime=e.startTime,t.startTime=Date.parse(new Date(t.startTime))),e.endTime&&null!=e.endTime&&e.endTime>=t.startTime&&(t.endTime=e.endTime,t.endTime=Date.parse(new Date(t.endTime))),null!=e.repeat&&(t.repeat=e.repeat),null!=e.reverse&&(t.reverse=e.reverse)}},{key:"start",value:function(){var e=this;e.running||(e.running=!0,e.tick(),e.events.triggerEvent("start",e.currentTime))}},{key:"pause",value:function(){this.running=!1,this.events.triggerEvent("pause",this.currentTime)}},{key:"stop",value:function(){var e=this;e.currentTime=e.startTime,e.running&&(e.running=!1),e.events.triggerEvent("stop",e.currentTime)}},{key:"toggle",value:function(){this.running?this.pause():this.start()}},{key:"setSpeed",value:function(e){return e>=0&&(this.speed=e,!0)}},{key:"getSpeed",value:function(){return this.speed}},{key:"setFrequency",value:function(e){return e>=0&&(this.frequency=e,!0)}},{key:"getFrequency",value:function(){return this.frequency}},{key:"setStartTime",value:function(e){var t=this;return!((e=Date.parse(new Date(e)))>t.endTime)&&(t.startTime=e,t.currentTime=t.endTime&&(t.currentTime=t.startTime,t.tick()),!0)}},{key:"getEndTime",value:function(){return this.endTime}},{key:"setCurrentTime",value:function(e){var t=this;return t.currentTime=Date.parse(new Date(t.currentTime)),e>=t.startTime&&e<=t.endTime&&(t.currentTime=e,t.startTime=t.currentTime,t.tick(),!0)}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"setRepeat",value:function(e){this.repeat=e}},{key:"getRepeat",value:function(){return this.repeat}},{key:"setReverse",value:function(e){this.reverse=e}},{key:"getReverse",value:function(){return this.reverse}},{key:"getRunning",value:function(){return this.running}},{key:"destroy",value:function(){var e=this;e.speed=null,e.frequency=null,e.startTime=null,e.endTime=null,e.currentTime=null,e.repeat=null,e.running=!1,e.reverse=null}},{key:"tick",value:function(){}}]),e}();i.SuperMap.TimeControlBase=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.LogoBase64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAAdCAYAAAAjHtusAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA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aaEnYgrF/KrPXrEmMUqZ9THLW06xhoBaVueQpkug+ewOUphE3Qv2Q5gGamXYa+QbVq4O+DQ5FHyZqrjxNt7UHh9uuRa0F7HjCF8o9PCTOGnscM7g2u1Hl9C9oeEnxC/1ajZg8JLiM9Hj9GHJseMShwL2DO0G5yEWn3Zh1QUods5CPkIoqlwAZxhXMsb6HrcEPBxchhdJ6wj29vCW4hfLOzo8J3rltYX50nXQAATSf/K4DEaGlTLvplsk/QCpoD60EQ7gLYZc8H9wq+I3yncEOEcNhuz6HWf3XEiwU/4Y8YEqVp2P10rt+8REvBGw026i4aDcbL9jF8r8Blmf4fCOzhViiscskygXRdehf3CO4hfigmTBXyQrl8TFtD1IzQX3CbcQrY3hPcRv4z8OmHPXwchVNln2MmE7BX6VwIFi/he6uxvb6JM3m0fdqvx/ATidxg2JeC7VDErAw5NzGfvwRJVheEIQ8Mg/pdwIM+UOmi9Q8ivCsrIy0tF+wVbEcLrd3Pb2XisEb4Tdlhsi4WP4RBbaLGrHfC3PrvMIezy9rTpGm5lz9LOMG15xvFxD/j5gjzjjDbMOzk+9zzt3v5bgAEAibzFeFHVgYkAAAAASUVORK5CYII="},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Feature=void 0;var n=function(){function e(e,t){for(var r=0;r1},isLeftClick:function(e){return e.which&&1===e.which||e.button&&1===e.button},isRightClick:function(e){return e.which&&3===e.which||e.button&&2===e.button},stop:function(e,t){t||(e.preventDefault?e.preventDefault():e.returnValue=!1),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},findElement:function(e,t){for(var r=n.SuperMap.Event.element(e);r.parentNode&&(!r.tagName||r.tagName.toUpperCase()!=t.toUpperCase());)r=r.parentNode;return r},observe:function(e,t,r,n){var o=i.Util.getElement(e);if(n=n||!1,"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||o.attachEvent)&&(t="keydown"),this.observers||(this.observers={}),!o._eventCacheID){var a="eventCacheID_";o.id&&(a=o.id+"_"+a),o._eventCacheID=i.Util.createUniqueID(a)}var s=o._eventCacheID;this.observers[s]||(this.observers[s]=[]),this.observers[s].push({element:o,name:t,observer:r,useCapture:n}),o.addEventListener?o.addEventListener(t,r,n):o.attachEvent&&o.attachEvent("on"+t,r)},stopObservingElement:function(e){var t=i.Util.getElement(e)._eventCacheID;this._removeElementObservers(n.SuperMap.Event.observers[t])},_removeElementObservers:function(e){if(e)for(var t=e.length-1;t>=0;t--){var r=e[t],i=new Array(r.element,r.name,r.observer,r.useCapture);n.SuperMap.Event.stopObserving.apply(this,i)}},stopObserving:function(e,t,r,o){o=o||!1;var a=i.Util.getElement(e),s=a._eventCacheID;"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||a.detachEvent)&&(t="keydown");var l=!1,u=n.SuperMap.Event.observers[s];if(u)for(var c=0;!l&&c0?this.convertFastToPixelPoints(e):this.canvasContext.clearRect(0,0,this.maxWidth,this.maxWidth)},convertFastToPixelPoints:function(e){var t,r,n,o,a,s,l,u=[],c=e.getEast()-e.getWest(),p=e.getNorth()-e.getSouth(),h=this._map.getSize();o=c/h.x>p/h.y?c/h.x:p/h.y,this.useRadius=this.useGeoUnit?parseInt(this.radius/o):this.radius;for(var f=0;f0&&this.maxWidth>0))return!1;var r=this.canvasContext;this.canvasContext.clearRect(0,0,this.maxWidth,this.maxHeight),this.drawCircle(this.useRadius),this.createGradient();for(var n=0;n>1,c=-7,p=r?i-1:0,h=r?-1:1,f=e[t+p];for(p+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+e[t+p],p+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+p],p+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),o-=u}return(f?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,y=n?1:-1,d=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+p>=1?h/l:h*Math.pow(2,1-p))*l>=2&&(a++,l/=2),a+p>=c?(s=0,a=c):a+p>=1?(s=(t*l-1)*Math.pow(2,i),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;e[r+f]=255&s,f+=y,s/=256,i-=8);for(a=a<0;e[r+f]=255&a,f+=y,a/=256,u-=8);e[r+f-y]|=128*d}},function(e,t,r){"use strict";e.exports=i;var n=r(335);function i(e){this.buf=ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}i.Varint=0,i.Fixed64=1,i.Bytes=2,i.Fixed32=5;function o(e){return e.type===i.Bytes?e.readVarint()+e.pos:e.pos+1}function a(e,t,r){return r?4294967296*t+(e>>>0):4294967296*(t>>>0)+(e>>>0)}function s(e,t,r){var n=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.ceil(Math.log(t)/(7*Math.LN2));r.realloc(n);for(var i=r.pos-1;i>=e;i--)r.buf[i+n]=r.buf[i]}function l(e,t){for(var r=0;r>>8,e[r+2]=t>>>16,e[r+3]=t>>>24}function b(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}i.prototype={destroy:function(){this.buf=null},readFields:function(e,t,r){for(r=r||this.length;this.pos>3,o=this.pos;this.type=7&n,e(i,t,this),this.pos===o&&this.skip(n)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=m(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=b(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=m(this.buf,this.pos)+4294967296*m(this.buf,this.pos+4);return this.pos+=8,e},readSFixed64:function(){var e=m(this.buf,this.pos)+4294967296*b(this.buf,this.pos+4);return this.pos+=8,e},readFloat:function(){var e=n.read(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=n.read(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,r,n=this.buf;return t=127&(r=n[this.pos++]),r<128?t:(t|=(127&(r=n[this.pos++]))<<7,r<128?t:(t|=(127&(r=n[this.pos++]))<<14,r<128?t:(t|=(127&(r=n[this.pos++]))<<21,r<128?t:function(e,t,r){var n,i,o=r.buf;if(i=o[r.pos++],n=(112&i)>>4,i<128)return a(e,n,t);if(i=o[r.pos++],n|=(127&i)<<3,i<128)return a(e,n,t);if(i=o[r.pos++],n|=(127&i)<<10,i<128)return a(e,n,t);if(i=o[r.pos++],n|=(127&i)<<17,i<128)return a(e,n,t);if(i=o[r.pos++],n|=(127&i)<<24,i<128)return a(e,n,t);if(i=o[r.pos++],n|=(1&i)<<31,i<128)return a(e,n,t);throw new Error("Expected varint not more than 10 bytes")}(t|=(15&(r=n[this.pos]))<<28,e,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?(e+1)/-2:e/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var e=this.readVarint()+this.pos,t=function(e,t,r){var n="",i=t;for(;i239?4:l>223?3:l>191?2:1;if(i+c>r)break;1===c?l<128&&(u=l):2===c?128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)<=127&&(u=null):3===c?(o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&((u=(15&l)<<12|(63&o)<<6|63&a)<=2047||u>=55296&&u<=57343)&&(u=null)):4===c&&(o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&((u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)<=65535||u>=1114112)&&(u=null)),null===u?(u=65533,c=1):u>65535&&(u-=65536,n+=String.fromCharCode(u>>>10&1023|55296),u=56320|1023&u),n+=String.fromCharCode(u),i+=c}return n}(this.buf,this.pos,e);return this.pos=e,t},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){var r=o(this);for(e=e||[];this.pos127;);else if(t===i.Bytes)this.pos=this.readVarint()+this.pos;else if(t===i.Fixed32)this.pos+=4;else{if(t!==i.Fixed64)throw new Error("Unimplemented type: "+t);this.pos+=8}},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t268435455||e<0?function(e,t){var r,n;e>=0?(r=e%4294967296|0,n=e/4294967296|0):(n=~(-e/4294967296),4294967295^(r=~(-e%4294967296))?r=r+1|0:(r=0,n=n+1|0));if(e>=0x10000000000000000||e<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),function(e,t,r){r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos]=127&e}(r,0,t),function(e,t){var r=(7&e)<<4;if(t.buf[t.pos++]|=r|((e>>>=3)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;t.buf[t.pos++]=127&e}(n,t)}(e,this):(this.realloc(4),this.buf[this.pos++]=127&e|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=e>>>7&127))))},writeSVarint:function(e){this.writeVarint(e<0?2*-e-1:2*e)},writeBoolean:function(e){this.writeVarint(Boolean(e))},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,r){for(var n,i,o=0;o55295&&n<57344){if(!i){n>56319||o+1===t.length?(e[r++]=239,e[r++]=191,e[r++]=189):i=n;continue}if(n<56320){e[r++]=239,e[r++]=191,e[r++]=189,i=n;continue}n=i-55296<<10|n-56320|65536,i=null}else i&&(e[r++]=239,e[r++]=191,e[r++]=189,i=null);n<128?e[r++]=n:(n<2048?e[r++]=n>>6|192:(n<65536?e[r++]=n>>12|224:(e[r++]=n>>18|240,e[r++]=n>>12&63|128),e[r++]=n>>6&63|128),e[r++]=63&n|128)}return r}(this.buf,e,this.pos);var r=this.pos-t;r>=128&&s(t,r,this),this.pos=t-1,this.writeVarint(r),this.pos+=r},writeFloat:function(e){this.realloc(4),n.write(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),n.write(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var r=0;r=128&&s(r,n,this),this.pos=r-1,this.writeVarint(n),this.pos+=n},writeMessage:function(e,t,r){this.writeTag(e,i.Bytes),this.writeRawMessage(t,r)},writePackedVarint:function(e,t){this.writeMessage(e,l,t)},writePackedSVarint:function(e,t){this.writeMessage(e,u,t)},writePackedBoolean:function(e,t){this.writeMessage(e,h,t)},writePackedFloat:function(e,t){this.writeMessage(e,c,t)},writePackedDouble:function(e,t){this.writeMessage(e,p,t)},writePackedFixed32:function(e,t){this.writeMessage(e,f,t)},writePackedSFixed32:function(e,t){this.writeMessage(e,y,t)},writePackedFixed64:function(e,t){this.writeMessage(e,d,t)},writePackedSFixed64:function(e,t){this.writeMessage(e,v,t)},writeBytesField:function(e,t){this.writeTag(e,i.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,i.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,i.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,i.Fixed64),this.writeFixed64(t)},writeSFixed64Field:function(e,t){this.writeTag(e,i.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,i.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,i.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,i.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,i.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,i.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,Boolean(t))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tiledVectorLayer=t.TileVectorLayer=void 0;var n=u(r(2));r(4);var i=r(141),o=r(96),a=r(5),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(29)),l=u(r(11));function u(e){return e&&e.__esModule?e:{default:e}}var c=t.TileVectorLayer=i.VectorGrid.extend({options:{serverType:null,crs:null,cartoCSS:null,layerNames:null,layersID:null,serverCartoCSSStyle:!0,returnAttributes:!1,expands:null,cacheEnabled:!1,tileTemplate:null,subdomains:"abc",timeout:1e4,attribution:l.default.Common.attribution},initialize:function(e,t){(t=t||{}).noWrap=null==t.noWrap||t.noWrap,n.default.setOptions(this,t),i.VectorGrid.prototype.initialize.call(this,t),n.default.stamp(this);var r=this;if(!e||""===e||e.indexOf("http")<0)return e="",this;r.url=e,e&&e.indexOf("/")===e.length-1&&(e=e.substr(0,e.length-1),r.url=e),this.cartoCSSToLeaflet=new o.CartoCSSToLeaflet(r.url),r.initLayersInfo(),!r.options.serverCartoCSSStyle&&r.options&&r.setClientCartoCSS(r.options.cartoCSS)},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._map=e,this._initLayerUrl(),!this.options.tileTemplate&&this.options.serverCartoCSSStyle||this._initGrid()},initLayersInfo:function(){var e=this,t=e.url+"/layers.json";a.FetchRequest.get(t,null,{timeout:e.options.timeout}).then(function(e){return e.json()}).then(function(t){if(e.layersInfoInitialized=!0,e.layersInfo=t,e.layersInfo){for(var r={},n=0,i=e.layersInfo.length;n0&&a[a.length-1]}t.properties.textField=o}r.vectorTileLayerStyles=r.vectorTileLayerStyles||{};var s=r.vectorTileLayerStyles[n];if(s)return t=this._mergeFeatureTextField(t,s),s;if(!s){var l=this.getScaleFromCoords(e),u=this.cartoCSSToLeaflet.pickShader(n)||[];for(var c in s=[],u)for(var p=u[c],h=0;h1){var p=parseInt(c[1]);u=p&&p>=4e3&&p<=5e3?a.Unit.DEGREE:a.Unit.METER}}return s.resolutionToScale(l,96,u)},_mergeFeatureTextField:function(e,t){if(!this.options.serverCartoCSSStyle||!t||"TEXT"!==e.type)return e;var r=t;n.default.Util.isArray(t)||(r=[t]);for(var i=0;i-1&&(this._data=e),this._renderLayer.setChangeFlags({dataChanged:!0,propsChanged:!0,viewportChanged:!0,updateTriggersChanged:!0}),this._refreshData();var t=this._getLayerState();t.data=this._data||[],this._layerDefaultStyleCache=null,this._renderLayer.setNeedsRedraw(!0),this._renderLayer.setState(t)},drawGraphics:function(e){this._data=e||[],this._renderLayer||this._createInnerRender(),this._draw()},_initContainer:function(){this._container=this._createCanvas(this.options.width,this.options.height),this._layerContainer=this.options.container,this._wrapper=o.default.DomUtil.create("div","deck-wrapper",this._layerContainer),this._wrapper.appendChild(this._container)},_createCanvas:function(e,t){var r=o.default.DomUtil.create("canvas","graphicLayer leaflet-layer leaflet-zoom-hide");return r.oncontextmenu=o.default.Util.falseFn,r.width=e,r.height=t,r.style.width=e+"px",r.style.height=t+"px",r},_pixelToMeter:function(e){var t=this.layer._map.getBounds();return e*((t.getEast()-t.getWest())/this.layer._map.getSize().x*(6378137*Math.PI/180))},_createInnerRender:function(){var e=this,t=this._getLayerState(),r=t.color,n=t.radius,i=t.opacity,o=t.highlightColor,a=t.radiusScale,s=t.radiusMinPixels,l=t.radiusMaxPixels,u=t.strokeWidth,c=t.outline,p={id:"scatter-plot",data:e._data,pickable:Boolean(this.options.onClick)||Boolean(this.options.onHover),autoHighlight:!0,color:r,opacity:i,radius:n,radiusScale:a,highlightColor:o,radiusMinPixels:s,radiusMaxPixels:l,strokeWidth:u,outline:c,getPosition:function(e){if(!e)return[0,0,0];var t=e&&e.getLatLng();return t&&[t.lng,t.lat,0]},getColor:function(t){var r=e._getLayerDefaultStyle(),n=t&&t.options;return n&&n.color||r.color},getRadius:function(t){var r=e._getLayerDefaultStyle(),n=t&&t.getStyle();return n&&n.radius||r.radius},updateTriggers:{getColor:[r],getRadius:[n]}},h=this;this.options.onClick&&(p.onClick=function(){h._container.style.cursor="pointer",h.options.onClick.apply(h,arguments)}),this.options.onHover&&(p.onHover=function(){h._container.style.cursor="pointer",h.options.onHover.apply(h,arguments)}),e._renderLayer=new window.DeckGL.ScatterplotLayer(p)},_getLayerDefaultStyle:function(){if(this._layerDefaultStyleCache)return this._layerDefaultStyleCache;var e=this.layer.options,t=e.color,r=e.opacity,n=e.radius,i=e.radiusScale,o=e.radiusMinPixels,a=e.radiusMaxPixels,s=e.strokeWidth,l=e.outline;return n=this._pixelToMeter(n),this._layerDefaultStyleCache={color:t,opacity:r,radius:n,radiusScale:i,radiusMinPixels:o,radiusMaxPixels:a,strokeWidth:s,outline:l},this._layerDefaultStyleCache},_getLayerState:function(){var e=this.layer.getState();return e.zoom=e.zoom-1,e},_draw:function(){var e=this._getLayerState();this._refreshData(),e.data=this._data||[];var t={};for(var r in e)t[r]=e[r];this._layerDefaultStyleCache=null,this._renderLayer.setNeedsRedraw(!0),t.layers=[this._renderLayer],t.canvas=this._container,t.onBeforeRender=this._onBeforeRender.bind(this),t.onAfterRender=this._onAfterRender.bind(this),this.deckGL?this.deckGL.setProps(t):this.deckGL=new window.DeckGL.experimental.DeckGLJS(t)},_clearBuffer:function(){var e=this.deckGL.layerManager;return e&&e.context.gl.clear(e.context.gl.COLOR_BUFFER_BIT),this},_refreshData:function(){var e=this._data||[],t=o.default.Util.isArray(e)?[].concat(e):[e];this._renderLayer.props.data||(this._renderLayer.props.data=[]),this._renderLayer.props.data.length=0;for(var r=0;r=90?89.99999999999999:e<=-90?-89.99999999999999:e},l.prototype.pointToData=function(e){var t=this._mapOffset,r=this._LeafletMap.layerPointToLatLng([e[0]+t[0],e[1]+t[1]]);return[r.lng,r.lat]},l.prototype.getViewRect=function(){var e=this._LeafletMap.getSize();return new i.default.graphic.BoundingRect(0,0,e.x,e.y)},l.prototype.getRoamTransform=function(){return i.default.matrix.create()},l.dimensions=l.prototype.dimensions,l.create=function(e){var t=void 0;e.eachComponent("LeafletMap",function(e){t||(t=new l(i.default.leafletMap)),e.coordinateSystem=t,e.coordinateSystem.setMapOffset(e.__mapOffset||[0,0])}),e.eachSeries(function(e){e.get("coordinateSystem")&&"leaflet"!==e.get("coordinateSystem")||(t||(t=new l(i.default.leafletMap)),e.coordinateSystem=t,e.animation=!0===e.animation)})};var u=t.echartsLayer=function(e,t){return new s(e,t)};n.default.supermap.echartsLayer=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NormalRenderer=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};r(4);t.NormalRenderer=o.default.GeoJSON.extend({initialize:function(e,t){(t=t||{}).style&&!t.pointToLayer&&(t.pointToLayer=function(e,r){return o.default.circleMarker(r,t.style())}),o.default.Util.setOptions(this,t),this._layers={},o.default.stamp(this),this.url=e,this.idCache={}},onMessageSuccessed:function(e){var t=e.featureResult,r=e.featureResult.properties[this.options.idField],n=null;void 0!==r&&this.idCache[r]?(n=this.getLayer(this.idCache[r]),this._updateLayerData(n,t)):((n=o.default.GeoJSON.geometryToLayer(t,this.options)).feature=o.default.GeoJSON.asFeature(t),this.addLayer(n),void 0!==r&&(this.idCache[r]=this.getLayerId(n))),this.options.onEachFeature&&this.options.onEachFeature(t,n)},_updateLayerData:function(e,t){t.properties&&(e.feature.properties=t.properties);var r=[];switch(t.geometry.type){case"Point":r=o.default.GeoJSON.coordsToLatLng(t.geometry.coordinates),e.setLatLng(r);break;case"LineString":r=o.default.GeoJSON.coordsToLatLngs(t.geometry.coordinates,0),e.setLatLngs(r);break;case"MultiLineString":case"Polygon":r=o.default.GeoJSON.coordsToLatLngs(t.geometry.coordinates,1),e.setLatLngs(r);break;case"MultiPolygon":r=o.default.GeoJSON.coordsToLatLngs(t.geometry.coordinates,2),e.setLatLngs(r)}}})},function(e,t){e.exports=function(){try{return mapv}catch(e){return{}}}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MapvRenderer=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};r(4);var a=r(145);t.MapvRenderer=a.MapVLayer.extend({initialize:function(e,t){t=t||{},o.default.Util.setOptions(this,t),this.data=[],this.mapVOptions={draw:"simple"},a.MapVLayer.prototype.initialize.call(this,new window.mapv.DataSet([]),this.mapVOptions,t),this.idCache={},this.url=e,this._last=new Date,this._imageCache={}},onMessageSuccessed:function(e){var t=this,r=e.featureResult.properties.id,n=e.featureResult.geometry,i={geometry:e.featureResult.geometry};if("Point"===n.type&&this.options.pointToLayer){var a=this.options.pointToLayer(e.featureResult,o.default.latLng(n.coordinates[1],n.coordinates[0]));if(a instanceof o.default.Marker){this.mapVOptions.draw="icon";var s=a.options.icon,l=s._getIconUrl("icon")+"_"+(s.options.iconSize?s.options.iconSize[0]:null)+"_"+(s.options.iconSize?s.options.iconSize[1]:null),u=this._imageCache[l];u||(u=s.createIcon(),this._imageCache[l]=u,u.onload=function(){t.update({data:t.data,options:t.mapVOptions})}),i.icon=u,(s.options.iconSize||u.style.height)&&(this.mapVOptions.offset={x:0,y:-(s.options.iconSize[1]||u.style.height)/2}),this.options.deg&&(i.deg=this.options.deg,"function"==typeof i.deg&&(i.deg=i.deg(e.featureResult,o.default.latLng(n.coordinates[1],n.coordinates[0]))))}if(a instanceof o.default.CircleMarker){this.mapVOptions.draw="simple";var c=this._toMapvStyle(a);for(var p in c)c.hasOwnProperty(p)&&(i[p]=c[p])}}else if(this.options.style){var h=this._toMapvStyle(this.options.style(e.featureResult));for(var f in h)h.hasOwnProperty(f)&&(i[f]=h[f])}void 0==this.idCache[r]?(this.data.push(i),this.idCache[r]=this.data.length-1):this.data[this.idCache[r]]=i,new Date-this._last>200&&(this._last=new Date,this.update({data:this.data,options:this.mapVOptions}))},_toMapvStyle:function(e){var t={draw:"simple"};return t.strokeStyle=e.color,t.lineWidth=e.width,t.globalAlpha=e.fillOpacity||e.opacity,t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.fillStyle=e.fillColor,t.size=e.radius,t}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dataFlowLayer=t.DataFlowLayer=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};r(4);var a=r(146),s=r(350),l=r(348);var u=t.DataFlowLayer=o.default.LayerGroup.extend({options:{geometry:null,prjCoordSys:null,excludeField:null,idField:"id",render:"normal"},initialize:function(e,t){t=t||{},o.default.Util.setOptions(this,t),this.url=e,this._layers={}},onAdd:function(e){var t=this;this.dataService=new a.DataFlowService(this.url,{geometry:this.options.geometry,prjCoordSys:this.options.prjCoordSys,excludeField:this.options.excludeField}).initSubscribe(),this.dataService.on("subscribeSocketConnected",function(e){return t.fire("subscribesuccessed",e)}),this.dataService.on("messageSuccessed",function(e){return t._onMessageSuccessed(e)}),this.dataService.on("setFilterParamSuccessed",function(e){return t.fire("setfilterparamsuccessed",e)}),"mapv"===this.options.render?this.addLayer(new s.MapvRenderer(this.url,this.options)):this.addLayer(new l.NormalRenderer(this.url,this.options)),o.default.LayerGroup.prototype.onAdd.call(this,e)},onRemove:function(e){o.default.LayerGroup.prototype.onRemove.call(this,e),this.dataService&&this.dataService.unSubscribe()},setExcludeField:function(e){return this.dataService.setExcludeField(e),this.options.excludeField=e,this},setGeometry:function(e){return this.dataService.setGeometry(e),this.options.geometry=e,this},_onMessageSuccessed:function(e){var t=!0,r=!1,n=void 0;try{for(var i,o=this.getLayers()[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=i.value;a.onMessageSuccessed(e),this.fire("dataupdated",{layer:a,data:e.featureResult})}}catch(e){r=!0,n=e}finally{try{!t&&o.return&&o.return()}finally{if(r)throw n}}}}),c=t.dataFlowLayer=function(e,t){return new u(e,t)};o.default.supermap.dataFlowLayer=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VectorTilePBF=t.VectorTileJSON=t.VectorTile=t.VectorGrid=t.VectorFeatureType=t.TextSymbolizer=t.PolyBase=t.Symbolizer=t.SVGRenderer=t.RegionSymbolizer=t.PointSymbolizer=t.LineSymbolizer=t.CanvasRenderer=t.ThemeLayer=t.themeFeature=t.ThemeFeature=t.GeoFeatureThemeLayer=t.MapVRenderer=t.graphic=t.Graphic=t.circleStyle=t.CircleStyle=t.cloverStyle=t.CloverStyle=t.imageStyle=t.ImageStyle=t.CompOpMap=t.ServerStyleMap=t.CartoStyleMap=t.DefaultStyle=t.CartoCSSToLeaflet=t.VectorTileFormat=t.heatMapFeature=t.HeatMapFeature=t.heatMapLayer=t.HeatMapLayer=t.uniqueThemeLayer=t.UniqueThemeLayer=t.unicodeMarker=t.UnicodeMarker=t.turfLayer=t.TurfLayer=t.tiledVectorLayer=t.TileVectorLayer=t.rankSymbolThemeLayer=t.RankSymbolThemeLayer=t.rangeThemeLayer=t.RangeThemeLayer=t.mapVLayer=t.MapVLayer=t.labelThemeLayer=t.LabelThemeLayer=t.graphThemeLayer=t.GraphThemeLayer=t.graphicLayer=t.GraphicLayer=t.LeafletMapCoordSys=t.echartsLayer=t.EchartsLayer=t.dataFlowLayer=t.DataFlowLayer=void 0;var n=r(351),i=r(347),o=r(345),a=r(142),s=r(149),l=r(145),u=r(150),c=r(338),p=r(337),h=r(331),f=r(147),y=r(151),d=r(329),v=r(89),m=r(328),g=r(143),b=r(327),S=r(326),_=r(325);t.DataFlowLayer=n.DataFlowLayer,t.dataFlowLayer=n.dataFlowLayer,t.EchartsLayer=i.EchartsLayer,t.echartsLayer=i.echartsLayer,t.LeafletMapCoordSys=i.LeafletMapCoordSys,t.GraphicLayer=o.GraphicLayer,t.graphicLayer=o.graphicLayer,t.GraphThemeLayer=a.GraphThemeLayer,t.graphThemeLayer=a.graphThemeLayer,t.LabelThemeLayer=s.LabelThemeLayer,t.labelThemeLayer=s.labelThemeLayer,t.MapVLayer=l.MapVLayer,t.mapVLayer=l.mapVLayer,t.RangeThemeLayer=u.RangeThemeLayer,t.rangeThemeLayer=u.rangeThemeLayer,t.RankSymbolThemeLayer=c.RankSymbolThemeLayer,t.rankSymbolThemeLayer=c.rankSymbolThemeLayer,t.TileVectorLayer=p.TileVectorLayer,t.tiledVectorLayer=p.tiledVectorLayer,t.TurfLayer=h.TurfLayer,t.turfLayer=h.turfLayer,t.UnicodeMarker=f.UnicodeMarker,t.unicodeMarker=f.unicodeMarker,t.UniqueThemeLayer=y.UniqueThemeLayer,t.uniqueThemeLayer=y.uniqueThemeLayer,t.HeatMapLayer=d.HeatMapLayer,t.heatMapLayer=d.heatMapLayer,t.HeatMapFeature=d.HeatMapFeature,t.heatMapFeature=d.heatMapFeature,t.VectorTileFormat=v.VectorTileFormat,t.CartoCSSToLeaflet=m.CartoCSSToLeaflet,t.DefaultStyle=m.DefaultStyle,t.CartoStyleMap=m.CartoStyleMap,t.ServerStyleMap=m.ServerStyleMap,t.CompOpMap=m.CompOpMap,t.ImageStyle=g.ImageStyle,t.imageStyle=g.imageStyle,t.CloverStyle=g.CloverStyle,t.cloverStyle=g.cloverStyle,t.CircleStyle=g.CircleStyle,t.circleStyle=g.circleStyle,t.Graphic=g.Graphic,t.graphic=g.graphic,t.MapVRenderer=b.MapVRenderer,t.GeoFeatureThemeLayer=S.GeoFeatureThemeLayer,t.ThemeFeature=S.ThemeFeature,t.themeFeature=S.themeFeature,t.ThemeLayer=S.ThemeLayer,t.CanvasRenderer=_.CanvasRenderer,t.LineSymbolizer=_.LineSymbolizer,t.PointSymbolizer=_.PointSymbolizer,t.RegionSymbolizer=_.RegionSymbolizer,t.SVGRenderer=_.SVGRenderer,t.Symbolizer=_.Symbolizer,t.PolyBase=_.PolyBase,t.TextSymbolizer=_.TextSymbolizer,t.VectorFeatureType=_.VectorFeatureType,t.VectorGrid=_.VectorGrid,t.VectorTile=_.VectorTile,t.VectorTileJSON=_.VectorTileJSON,t.VectorTilePBF=_.VectorTilePBF},function(e,t,r){"use strict";function n(e){return Object.prototype.toString.call(e)}function i(e){return"[object String]"===n(e)}e.exports={getObjectType:n,isDate:function(e){return"[object Date]"===n(e)},isString:i,isDateString:function(e){return i(e)&&!isNaN(Date.parse(e))},parseDateFromString:function(e){return Date.parse(e)},isNumber:function(e){return"number"==typeof e}}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(353),o="&&",a="||",s="and",l="or",u="=",c="~",p="!"+u,h="!"+c,f=">",y=">=",d="<",v="<=",m="*",g=",",b=".",S="(",_=")",P="where",O={pathway:[],groups:{}},T={},w={},M=console.log;function C(e){var t=E(e,P),r=t[0],n=t[1];O.pathway=E(r,g);for(var i=0,s=O.pathway.length;il&&-1!==l){var C="gr_"+(new Date).getTime();O.groups[C]=n.substring(l+1,w),n=n.replace(S+O.groups[C]+_,C),M=-1}M+=1}!function e(t,r){var n=x(r,o),i=x(r,a);if(n!==Number.MAX_VALUE||i!==Number.MAX_VALUE)if(n-1}function L(e,t){var r=E(t,b),n=e;for(var o in r){if(!n.hasOwnProperty(r[o]))return"";n=n[r[o]]}return n=i.isDate(n)?n.valueOf():i.isDateString(n)?i.parseDateFromString(n):n.toString()}function k(e,t){var r=!1;for(var n in e){if(r=r||(n===s?j:n===l?k:F)(e[n],t),w.trace&&M(O.step,"======((( or",e[n],r),r)return r}return r}function j(e,t){var r=!0;for(var n in e){if(r=r&&(n===s?j:n===l?k:F)(e[n],t),w.trace&&M(O.step,"======((( and",e[n],r),!r)return r}return r}function F(e,t){if(O.step+=1,e.or){var r=k(e.or,t);return w.trace&&M(O.step,"OR",e,r),r}if(e.and){r=j(e.and,t);return w.trace&&M(O.step,"AND",e,r),r}if("object"===(void 0===e?"undefined":n(e)))return e.eq?L(t,e.eq[0])===e.eq[1]:e.ne?L(t,e.ne[0])!==e.ne[1]:e.req?A(L(t,e.req[0]),e.req[1]):e.nreq?!A(L(t,e.nreq[0]),e.nreq[1]):e.gt?L(t,e.gt[0])>e.gt[1]:e.ge?L(t,e.ge[0])>=e.ge[1]:e.lt?L(t,e.lt[0])0?n.map(function(e){for(var t={},r=0,n=O.pathway.length;r0;){var o=t.pop(),a=o.type,s=o.layerType=o.layerType||"BASE_LAYER";"OVERLAY_LAYER"!==s&&(a=s),this.createLayer(a,o)}this.fire("mapLoaded",{map:this._map})}},createCRS:function(e,t,r,i,o){return e<0?new l.NonEarthCRS({bounds:o,origin:i,resolutions:r}):910112===e||910102===e?n.default.CRS.BaiduCRS:(910111===e&&(e=3857),910101===e&&(e=4326),n.default.Proj.CRS("EPSG:"+e,{origin:i,resolutions:r,bounds:o}))},createMap:function(e){var t=e.crs||n.default.CRS.EPSG3857,r=n.default.latLngBounds(t.unproject(e.bounds.min),t.unproject(e.bounds.max));this._map=n.default.map(this.options.map,{center:r.getCenter(),maxZoom:e.maxZoom||22,minZoom:e.minZoom||0,zoom:e.zoom||0,crs:t,renderer:n.default.canvas()}),t instanceof l.NonEarthCRS?this._map.setZoom(e.zoom?e.zoom+2:2,{maxZoom:e.maxZoom||22}):this._map.fitBounds(r,{maxZoom:e.maxZoom||22})},getResolutionsFromScales:function(e,t,r,i){for(var o=[],a=0;a 0";var s=new a.GetFeaturesBySQLParameters({queryParameter:{name:r+"@"+t,attributeFilter:n},datasetNames:[t+":"+r],fromIndex:0,toIndex:1e5});(0,m.featureService)(e).getFeaturesBySQL(s,o,i)},createThemeLayer:function(e){var t,r=this,n=e.themeSettings&&JSON.parse(e.themeSettings),i=n.type;if(e.themeSettings=n,(t="HEAT"===i?this.createHeatLayer(e,n):"UNIQUE"===i?this.createUniqueLayer(e,n):"RANGE"===i?this.createRangeLayer(e,n):this.createBaseThemeLayer(e,n))&&(this.addFeature2ThemeLayer(e,t),t.on("add",function(e){r.registerThemeEvent(e.target)})),n&&n.labelField){var o=this.createLabelLayer(e,n);o.on("add",function(e){r.registerThemeEvent(e.target)}),t.labelLayer=o}return t},createBaseThemeLayer:function(e,t){var r=e.style,i=e.opacity,o=t.vectorType,a=r.pointStyle;a.fill="LINE"!==o;var s={};s.radius=a.pointRadius,s.color=a.strokeColor,s.opacity=a.strokeOpacity,s.lineCap=a.strokeLineCap,s.weight=a.strokeWidth,s.fillColor=a.fillColor,s.fillOpacity=a.fillOpacity;var l=function(e,t){return n.default.circleMarker(t,s)};return a.unicode&&(l=function(e,t){return new b.UnicodeMarker(t,a)}),n.default.geoJSON({type:"GeometryCollection",geometries:[]},{pointToLayer:l,opacity:i})},createUniqueLayer:function(e,t){for(var r=e.title,n=t.field,i=[],o=t.settings,a=e.isVisible,s=e.opacity,l=t.vectorType,u=0;u0?{fillColor:"#ffffff"}:s[0].style;var u=n.default.Util.extend(new a.ThemeStyle,r);u.fontWeight="bold",u.fontSize="14px",u.labelRect=!0,u.strokeColor=u.fillColor,u.fontColor=t.labelColor,t.labelFont&&(u.fontFamily=t.labelFont);var c=new v.LabelThemeLayer(i,{visibility:l,opacity:.7});return this.registerThemeEvent(c),c.style=u,c.themeField=o,c.styleGroups=[],c},createHeatLayer:function(e,t){for(var r=t.colors||["blue","cyan","lime","yellow","red"],i={},o=void 0,a=0,s=r.length,l=1;a0&&a.push(n[s]);else for(var c=0,p=(n=o.parseFeatureFromJson(r.content)).length;c0&&a.push(n[c]);var h=e.prjCoordSys&&e.prjCoordSys.epsgCode;u?o.changeFeatureLayerEpsgCode(h,"4326",t,a,function(e){k(e)}):k(a)},function(){});else{for(var _=[],P=e.features,O=0,T=P.length;O0){var M=w.geometry.points[0].x,C=w.geometry.points[0].y,x=new a.GeometryPoint(M,C),E=new a.GeometryVector(x,w.attributes,w.style);_.push(E)}}k(_)}}else if(s){var A=e.datasourceName;f=(h=(p=e.subLayers&&JSON.parse(e.subLayers)).length&&p.length>0?p[0]:p)&&h.name,this.getFeaturesBySQL(e.url,A,f,m.filter,a.DataFormat.ISERVER,function(n){var i,o,s=n.result,l=[];if(s&&s.features){for(var c=0,p=(i=s.features).length;c0?p[0]:p)&&h.name;var L=e.prjCoordSys&&e.prjCoordSys.epsgCode;this.getFeaturesBySQL(y,d,f,g,a.DataFormat.ISERVER,function(e){u?o.changeFeatureLayerEpsgCode(L,"4326",t,e,function(e){k(e)}):k(e)})}}function k(r){if(t&&t.labelLayer instanceof v.LabelThemeLayer&&o.addFeature2LabelLayer(t.labelLayer,r,e),n.default.HeatLayer&&t instanceof n.default.HeatLayer){for(var i=[],s=0,l=r.length;s0){for(o=0,a=n.length;o==/g,">=").replace(/<==/g,"<="))+")":" * where (1==1||1>=0)"},getAttributesObjFromTable:function(e,t){if(0!==e.length&&0!==t.length){for(var r=[],n=0;n-1?(r=(e=JSON.parse(e)).needTransform,t=e.isAddFile):"needTransform"===e?(r=!0,t=!1):t="true"===e,{isAddFile:t,needTransform:r}},registerThemeEvent:function(e){var t=this;e.on("click",function(r){if(e.map){t.selectedFeature&&(t.fire("featureUnSelected",{feature:t.selectedFeature}),t.selectedFeature=null);var n=void 0;r.target&&r.target.refDataID&&(n=e.getFeatureById(r.target.refDataID)),n&&(t.selectedFeature=n,t.fire("featureSelected",{feature:n}))}}),e.on("mousemove",function(r){if(e.map&&r.target&&r.target.refDataID){var n=void 0;r.target&&r.target.refDataID&&(n=e.getFeatureById(r.target.refDataID)),n&&t.fire("featureMousemove",{feature:n})}})},SERVER_TYPE_MAP:{"EPSG:4326":"WGS84","EPSG:3857":"MERCATOR","EPSG:900913":"MERCATOR","EPSG:102113":"MERCATOR","EPSG:910101":"GCJ02","EPSG:910111":"GCJ02MERCATOR","EPSG:910102":"BD","EPSG:910112":"BDMERCATOR"}}),T=t.webMap=function(e,t){return new O(e,t)};n.default.supermap.webmap=T},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageMapLayer=t.ImageMapLayer=void 0;var n=r(2),i=s(n);r(4);var o=r(5),a=s(r(11));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.ImageMapLayer=n.Layer.extend({options:{layersID:null,redirect:!1,transparent:null,cacheEnabled:null,clipRegionEnabled:!0,prjCoordSys:null,overlapDisplayed:!1,overlapDisplayedOptions:null,opacity:1,alt:"",pane:"tilePane",interactive:!1,crossOrigin:!1,errorOverlayUrl:!1,zIndex:1,className:"",serverType:o.ServerType.ISERVER,attribution:a.default.Common.attribution,updateInterval:150,format:"png"},initialize:function(e,t){this._url=e,n.Util.setOptions(this,t)},onAdd:function(e){this.update=n.Util.throttle(this.update,this.options.updateInterval,this),e.on("moveend",this.update,this),this._currentImage&&this._currentImage._bounds.equals(this._map.getBounds())?e.addLayer(this._currentImage):this._currentImage&&(this._map.removeLayer(this._currentImage),this._currentImage=null),this.update()},onRemove:function(e){this._currentImage&&this._map.removeLayer(this._currentImage),this._map.off("moveend",this.update,this)},bringToFront:function(){return this.options.position="front",this._currentImage&&this._currentImage.bringToFront(),this},bringToBack:function(){return this.options.position="back",this._currentImage&&this._currentImage.bringToBack(),this},getOpacity:function(){return this.options.opacity},setOpacity:function(e){return this.options.opacity=e,this._currentImage&&this._currentImage.setOpacity(e),this},getImageUrl:function(e){var t=n.Util.getParamString(e)+this._initLayerUrl();return t=this._url+"/image."+this.options.format+t,t=this._appendCredential(t),this.options.tileProxy&&(t=this.options.tileProxy+encodeURIComponent(t)),t},_getImageParams:function(){var e=this._calculateImageSize();return{viewBounds:this._compriseBounds(this._calculateBounds()),width:e.x,height:e.y}},_initLayerUrl:function(){var e="&";return e+=encodeURI(this._initAllRequestParams().join("&"))},_initAllRequestParams:function(){var e=this.options||{},t=[],r=!0===e.redirect&&e.redirect;t.push("redirect="+r);var n=!0===e.transparent&&e.transparent;t.push("transparent="+n);var a=!1!==e.cacheEnabled||e.cacheEnabled;return t.push("cacheEnabled="+a),e.prjCoordSys&&t.push("prjCoordSys="+JSON.stringify(e.prjCoordSys)),e.layersID&&t.push("layersID="+e.layersID),e.clipRegionEnabled&&e.clipRegion instanceof i.default.Path&&(e.clipRegion=i.default.Util.toSuperMapGeometry(e.clipRegion.toGeoJSON()),e.clipRegion=o.CommonUtil.toJSON(o.ServerGeometry.fromGeometry(e.clipRegion)),t.push("clipRegionEnabled="+e.clipRegionEnabled),t.push("clipRegion="+JSON.stringify(e.clipRegion))),!1===e.overlapDisplayed?(t.push("overlapDisplayed=false"),e.overlapDisplayedOptions&&t.push("overlapDisplayedOptions="+this.overlapDisplayedOptions.toString())):t.push("overlapDisplayed=true"),t},_requestImage:function(e,t){var r=this.getImageUrl(e);this._loadImage(r,t)},_loadImage:function(e,t){if(this._map){var r=new n.ImageOverlay(e,t,{opacity:0,alt:this.options.alt,zIndex:this.options.zIndex,className:this.options.className,errorOverlayUrl:this.options.error,crossOrigin:this.options.crossOrigin,pane:this.options.pane||this.getPane(),interactive:this.options.interactive}).addTo(this._map),i=function e(n){r.off("error",e,this);var i=this._map;if(i){var o=n.target,a=this._currentImage;o._bounds&&o._bounds.equals(t)&&o._bounds.equals(i.getBounds())?(this._currentImage=o,"front"===this.options.position&&this.bringToFront(),"back"===this.options.position&&this.bringToBack(),this._currentImage._map&&this._currentImage.setOpacity(this.options.opacity),a&&i.removeLayer(a),a&&a._map&&a._map.removeLayer(a)):i.removeLayer(o),this.fire("load",{bounds:t})}};r.once("load",i,this),r.once("error",function(){this._map.removeLayer(r),this.fire("error"),r.off("load",i,this)},this),this.fire("loading",{bounds:t})}},update:function(){if(this._map){var e=this._map.getZoom(),t=this._map.getBounds();if(e>this._map.options.maxZoom||e0||a"+r+"",e}});o.default.Map.mergeOptions({logoControl:!0}),o.default.Map.addInitHook(function(){!this._logoAdded&&this.options.logoControl&&(!0===this.options.logoControl?this.logoControl=new s:this.options.logoControl instanceof o.default.Control&&(this.logoControl=this.options.logoControl),this.logoControl&&(this.addControl(this.logoControl),this._logoAdded=!0))});var l=t.logo=function(e){return new s(e)};o.default.supermap.control.logo=l},function(e,t,r){"use strict";var n=r(7),i=Math.PI/2,o=r(50),a=r(54),s=r(53),l=r(52),u=r(51),c=r(100),p=r(40),h=r(99);t.init=function(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)},t.forward=function(e){var t,r,p,h,f,y,d,v,m,g,b,S,_,P,O,T,w,M,C,x,E,A,L=e.x,k=e.y,j=Math.sin(e.y),F=Math.cos(e.y),I=n(L-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=1e-10?(e.x=this.x0+this.a*(i-k)*Math.sin(I),e.y=this.y0-this.a*(i-k)*Math.cos(I),e):Math.abs(this.sin_p12+1)<=1e-10?(e.x=this.x0+this.a*(i+k)*Math.sin(I),e.y=this.y0+this.a*(i+k)*Math.cos(I),e):(M=this.sin_p12*j+this.cos_p12*F*Math.cos(I),w=(T=Math.acos(M))/Math.sin(T),e.x=this.x0+this.a*w*F*Math.sin(I),e.y=this.y0+this.a*w*(this.cos_p12*j-this.sin_p12*F*Math.cos(I)),e):(t=a(this.es),r=s(this.es),p=l(this.es),h=u(this.es),Math.abs(this.sin_p12-1)<=1e-10?(f=this.a*o(t,r,p,h,i),y=this.a*o(t,r,p,h,k),e.x=this.x0+(f-y)*Math.sin(I),e.y=this.y0-(f-y)*Math.cos(I),e):Math.abs(this.sin_p12+1)<=1e-10?(f=this.a*o(t,r,p,h,i),y=this.a*o(t,r,p,h,k),e.x=this.x0+(f+y)*Math.sin(I),e.y=this.y0+(f+y)*Math.cos(I),e):(d=j/F,v=c(this.a,this.e,this.sin_p12),m=c(this.a,this.e,j),g=Math.atan((1-this.es)*d+this.es*v*this.sin_p12/(m*F)),C=0===(b=Math.atan2(Math.sin(I),this.cos_p12*Math.tan(g)-this.sin_p12*Math.cos(I)))?Math.asin(this.cos_p12*Math.sin(g)-this.sin_p12*Math.cos(g)):Math.abs(Math.abs(b)-Math.PI)<=1e-10?-Math.asin(this.cos_p12*Math.sin(g)-this.sin_p12*Math.cos(g)):Math.asin(Math.sin(I)*Math.cos(g)/Math.sin(b)),S=this.e*this.sin_p12/Math.sqrt(1-this.es),T=v*C*(1-(x=C*C)*(O=(_=this.e*this.cos_p12*Math.cos(b)/Math.sqrt(1-this.es))*_)*(1-O)/6+(E=x*C)/8*(P=S*_)*(1-2*O)+(A=E*C)/120*(O*(4-7*O)-3*S*S*(1-7*O))-A*C/48*P),e.x=this.x0+T*Math.sin(b),e.y=this.y0+T*Math.cos(b),e))},t.inverse=function(e){var t,r,f,y,d,v,m,g,b,S,_,P,O,T,w,M,C,x,E,A,L,k;if(e.x-=this.x0,e.y-=this.y0,this.sphere){if((t=Math.sqrt(e.x*e.x+e.y*e.y))>2*i*this.a)return;return r=t/this.a,f=Math.sin(r),y=Math.cos(r),d=this.long0,Math.abs(t)<=1e-10?v=this.lat0:(v=p(y*this.sin_p12+e.y*f*this.cos_p12/t),m=Math.abs(this.lat0)-i,d=Math.abs(m)<=1e-10?this.lat0>=0?n(this.long0+Math.atan2(e.x,-e.y)):n(this.long0-Math.atan2(-e.x,e.y)):n(this.long0+Math.atan2(e.x*f,t*this.cos_p12*y-e.y*this.sin_p12*f))),e.x=d,e.y=v,e}return g=a(this.es),b=s(this.es),S=l(this.es),_=u(this.es),Math.abs(this.sin_p12-1)<=1e-10?(P=this.a*o(g,b,S,_,i),t=Math.sqrt(e.x*e.x+e.y*e.y),v=h((P-t)/this.a,g,b,S,_),d=n(this.long0+Math.atan2(e.x,-1*e.y)),e.x=d,e.y=v,e):Math.abs(this.sin_p12+1)<=1e-10?(P=this.a*o(g,b,S,_,i),t=Math.sqrt(e.x*e.x+e.y*e.y),v=h((t-P)/this.a,g,b,S,_),d=n(this.long0+Math.atan2(e.x,e.y)),e.x=d,e.y=v,e):(t=Math.sqrt(e.x*e.x+e.y*e.y),w=Math.atan2(e.x,e.y),O=c(this.a,this.e,this.sin_p12),M=Math.cos(w),x=-(C=this.e*this.cos_p12*M)*C/(1-this.es),E=3*this.es*(1-x)*this.sin_p12*this.cos_p12*M/(1-this.es),k=1-x*(L=(A=t/O)-x*(1+x)*Math.pow(A,3)/6-E*(1+3*x)*Math.pow(A,4)/24)*L/2-A*L*L*L/6,T=Math.asin(this.sin_p12*Math.cos(L)+this.cos_p12*Math.sin(L)*M),d=n(this.long0+Math.asin(Math.sin(w)*Math.sin(L)/Math.cos(T))),v=Math.atan((1-this.es*k*this.sin_p12/Math.sin(T))*Math.tan(T)/(1-this.es)),e.x=d,e.y=v,e)},t.names=["Azimuthal_Equidistant","aeqd"]},function(e,t,r){"use strict";var n=r(7),i=Math.PI/2,o=r(40);t.init=function(){this.R=this.a},t.forward=function(e){var t,r,a=e.x,s=e.y,l=n(a-this.long0);Math.abs(s)<=1e-10&&(t=this.x0+this.R*l,r=this.y0);var u=o(2*Math.abs(s/Math.PI));(Math.abs(l)<=1e-10||Math.abs(Math.abs(s)-i)<=1e-10)&&(t=this.x0,r=s>=0?this.y0+Math.PI*this.R*Math.tan(.5*u):this.y0+Math.PI*this.R*-Math.tan(.5*u));var c=.5*Math.abs(Math.PI/l-l/Math.PI),p=c*c,h=Math.sin(u),f=Math.cos(u),y=f/(h+f-1),d=y*y,v=y*(2/h-1),m=v*v,g=Math.PI*this.R*(c*(y-m)+Math.sqrt(p*(y-m)*(y-m)-(m+p)*(d-m)))/(m+p);l<0&&(g=-g),t=this.x0+g;var b=p+y;return g=Math.PI*this.R*(v*b-c*Math.sqrt((m+p)*(p+1)-b*b))/(m+p),r=s>=0?this.y0+g:this.y0-g,e.x=t,e.y=r,e},t.inverse=function(e){var t,r,i,o,a,s,l,u,c,p,h,f;return e.x-=this.x0,e.y-=this.y0,h=Math.PI*this.R,a=(i=e.x/h)*i+(o=e.y/h)*o,h=3*(o*o/(u=-2*(s=-Math.abs(o)*(1+a))+1+2*o*o+a*a)+(2*(l=s-2*o*o+i*i)*l*l/u/u/u-9*s*l/u/u)/27)/(c=(s-l*l/3/u)/u)/(p=2*Math.sqrt(-c/3)),Math.abs(h)>1&&(h=h>=0?1:-1),f=Math.acos(h)/3,r=e.y>=0?(-p*Math.cos(f+Math.PI/3)-l/3/u)*Math.PI:-(-p*Math.cos(f+Math.PI/3)-l/3/u)*Math.PI,t=Math.abs(i)<1e-10?this.long0:n(this.long0+Math.PI*(a-1+Math.sqrt(1+2*(i*i-o*o)+a*a))/2/i),e.x=t,e.y=r,e},t.names=["Van_der_Grinten_I","VanDerGrinten","vandg"]},function(e,t,r){"use strict";var n=r(54),i=r(53),o=r(52),a=r(51),s=r(41),l=r(50),u=r(7),c=r(49),p=r(99);t.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=n(this.es),this.e1=i(this.es),this.e2=o(this.es),this.e3=a(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=s(this.e,this.sinphi,this.cosphi),this.ml1=l(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<1e-10?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=s(this.e,this.sinphi,this.cosphi),this.ml2=l(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=l(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))},t.forward=function(e){var t,r=e.x,n=e.y;if(this.sphere)t=this.a*(this.g-n);else{var i=l(this.e0,this.e1,this.e2,this.e3,n);t=this.a*(this.g-i)}var o=this.ns*u(r-this.long0),a=this.x0+t*Math.sin(o),s=this.y0+this.rh-t*Math.cos(o);return e.x=a,e.y=s,e},t.inverse=function(e){var t,r,n,i;e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns>=0?(r=Math.sqrt(e.x*e.x+e.y*e.y),t=1):(r=-Math.sqrt(e.x*e.x+e.y*e.y),t=-1);var o=0;if(0!==r&&(o=Math.atan2(t*e.x,t*e.y)),this.sphere)return i=u(this.long0+o/this.ns),n=c(this.g-r/this.a),e.x=i,e.y=n,e;var a=this.g-r/this.a;return n=p(a,this.e0,this.e1,this.e2,this.e3),i=u(this.long0+o/this.ns),e.x=i,e.y=n,e},t.names=["Equidistant_Conic","eqdc"]},function(e,t,r){"use strict";var n=r(7);t.init=function(){},t.forward=function(e){for(var t=e.x,r=e.y,i=n(t-this.long0),o=r,a=Math.PI*Math.sin(r),s=0;;s++){var l=-(o+Math.sin(o)-a)/(1+Math.cos(o));if(o+=l,Math.abs(l)<1e-10)break}o/=2,Math.PI/2-Math.abs(r)<1e-10&&(i=0);var u=.900316316158*this.a*i*Math.cos(o)+this.x0,c=1.4142135623731*this.a*Math.sin(o)+this.y0;return e.x=u,e.y=c,e},t.inverse=function(e){var t,r;e.x-=this.x0,e.y-=this.y0,r=e.y/(1.4142135623731*this.a),Math.abs(r)>.999999999999&&(r=.999999999999),t=Math.asin(r);var i=n(this.long0+e.x/(.900316316158*this.a*Math.cos(t)));i<-Math.PI&&(i=-Math.PI),i>Math.PI&&(i=Math.PI),r=(2*t+Math.sin(2*t))/Math.PI,Math.abs(r)>1&&(r=1);var o=Math.asin(r);return e.x=i,e.y=o,e},t.names=["Mollweide","moll"]},function(e,t,r){"use strict";var n=r(161);e.exports=function(e,t,r){for(var i=1/(1-t),o=e,a=20;a;--a){var s=Math.sin(o),l=1-t*s*s;if(o-=l=(n(o,s,Math.cos(o),r)-e)*(l*Math.sqrt(l))*i,Math.abs(l)<1e-10)return o}return o}},function(e,t,r){"use strict";var n=.01068115234375;e.exports=function(e){var t=[];t[0]=1-e*(.25+e*(.046875+e*(.01953125+e*n))),t[1]=e*(.75-e*(.046875+e*(.01953125+e*n)));var r=e*e;return t[2]=r*(.46875-e*(.013020833333333334+.007120768229166667*e)),r*=e,t[3]=r*(.3645833333333333-.005696614583333333*e),t[4]=r*e*.3076171875,t}},function(e,t,r){"use strict";var n=r(7),i=r(49),o=r(365),a=r(161),s=r(364),l=Math.PI/2,u=r(40);t.init=function(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=o(this.es)},t.forward=function(e){var t,r,i=e.x,o=e.y;if(i=n(i-this.long0),this.sphere){if(this.m)for(var s=this.n*Math.sin(o),l=20;l;--l){var u=(this.m*o+Math.sin(o)-s)/(this.m+Math.cos(o));if(o-=u,Math.abs(u)<1e-10)break}else o=1!==this.n?Math.asin(this.n*Math.sin(o)):o;t=this.a*this.C_x*i*(this.m+Math.cos(o)),r=this.a*this.C_y*o}else{var c=Math.sin(o),p=Math.cos(o);r=this.a*a(o,c,p,this.en),t=this.a*i*p/Math.sqrt(1-this.es*c*c)}return e.x=t,e.y=r,e},t.inverse=function(e){var t,r,o,a;return e.x-=this.x0,o=e.x/this.a,e.y-=this.y0,t=e.y/this.a,this.sphere?(t/=this.C_y,o/=this.C_x*(this.m+Math.cos(t)),this.m?t=u((this.m*t+Math.sin(t))/this.n):1!==this.n&&(t=u(Math.sin(t)/this.n)),o=n(o+this.long0),t=i(t)):(t=s(e.y/this.a,this.es,this.en),(a=Math.abs(t))0||Math.abs(a)<=1e-10?(s=this.x0+1*this.a*r*Math.sin(i)/a,l=this.y0+1*this.a*(this.cos_p14*t-this.sin_p14*r*o)/a):(s=this.x0+this.infinity_dist*r*Math.sin(i),l=this.y0+this.infinity_dist*(this.cos_p14*t-this.sin_p14*r*o)),e.x=s,e.y=l,e},t.inverse=function(e){var t,r,o,a,s,l;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,(t=Math.sqrt(e.x*e.x+e.y*e.y))?(a=Math.atan2(t,this.rc),r=Math.sin(a),o=Math.cos(a),l=i(o*this.sin_p14+e.y*r*this.cos_p14/t),s=Math.atan2(e.x*r,t*this.cos_p14*o-e.y*this.sin_p14*r),s=n(this.long0+s)):(l=this.phic0,s=0),e.x=s,e.y=l,e},t.names=["gnom"]},function(e,t,r){"use strict";var n=r(41),i=r(98),o=r(7),a=r(40);t.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=n(this.e3,this.sin_po,this.cos_po),this.qs1=i(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=n(this.e3,this.sin_po,this.cos_po),this.qs2=i(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=i(this.e3,this.sin_po,this.cos_po),Math.abs(this.lat1-this.lat2)>1e-10?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},t.forward=function(e){var t=e.x,r=e.y;this.sin_phi=Math.sin(r),this.cos_phi=Math.cos(r);var n=i(this.e3,this.sin_phi,this.cos_phi),a=this.a*Math.sqrt(this.c-this.ns0*n)/this.ns0,s=this.ns0*o(t-this.long0),l=a*Math.sin(s)+this.x0,u=this.rh-a*Math.cos(s)+this.y0;return e.x=l,e.y=u,e},t.inverse=function(e){var t,r,n,i,a,s;return e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns0>=0?(t=Math.sqrt(e.x*e.x+e.y*e.y),n=1):(t=-Math.sqrt(e.x*e.x+e.y*e.y),n=-1),i=0,0!==t&&(i=Math.atan2(n*e.x,n*e.y)),n=t*this.ns0/this.a,this.sphere?s=Math.asin((this.c-n*n)/(2*this.ns0)):(r=(this.c-n*n)/this.ns0,s=this.phi1z(this.e3,r)),a=o(i/this.ns0+this.long0),e.x=a,e.y=s,e},t.phi1z=function(e,t){var r,n,i,o,s,l=a(.5*t);if(e<1e-10)return l;for(var u=e*e,c=1;c<=25;c++)if(r=Math.sin(l),n=Math.cos(l),l+=s=.5*(o=1-(i=e*r)*i)*o/n*(t/(1-u)-r/o+.5/e*Math.log((1-i)/(1+i))),Math.abs(s)<=1e-7)return l;return null},t.names=["Albers_Conic_Equal_Area","Albers","aea"]},function(e,t,r){"use strict";var n=Math.PI/2,i=Math.PI/4,o=r(98),a=r(7);t.S_POLE=1,t.N_POLE=2,t.EQUIT=3,t.OBLIQ=4,t.init=function(){var e,t=Math.abs(this.lat0);if(Math.abs(t-n)<1e-10?this.mode=this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(t)<1e-10?this.mode=this.EQUIT:this.mode=this.OBLIQ,this.es>0)switch(this.qp=o(this.e,1),this.mmf=.5/(1-this.es),this.apa=this.authset(this.es),this.mode){case this.N_POLE:case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),e=Math.sin(this.lat0),this.sinb1=o(this.e,e)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*e*e)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},t.forward=function(e){var t,r,s,l,u,c,p,h,f,y,d=e.x,v=e.y;if(d=a(d-this.long0),this.sphere){if(u=Math.sin(v),y=Math.cos(v),s=Math.cos(d),this.mode===this.OBLIQ||this.mode===this.EQUIT){if((r=this.mode===this.EQUIT?1+y*s:1+this.sinph0*u+this.cosph0*y*s)<=1e-10)return null;t=(r=Math.sqrt(2/r))*y*Math.sin(d),r*=this.mode===this.EQUIT?u:this.cosph0*u-this.sinph0*y*s}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(s=-s),Math.abs(v+this.phi0)<1e-10)return null;r=i-.5*v,t=(r=2*(this.mode===this.S_POLE?Math.cos(r):Math.sin(r)))*Math.sin(d),r*=s}}else{switch(p=0,h=0,f=0,s=Math.cos(d),l=Math.sin(d),u=Math.sin(v),c=o(this.e,u),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(p=c/this.qp,h=Math.sqrt(1-p*p)),this.mode){case this.OBLIQ:f=1+this.sinb1*p+this.cosb1*h*s;break;case this.EQUIT:f=1+h*s;break;case this.N_POLE:f=n+v,c=this.qp-c;break;case this.S_POLE:f=v-n,c=this.qp+c}if(Math.abs(f)<1e-10)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:f=Math.sqrt(2/f),r=this.mode===this.OBLIQ?this.ymf*f*(this.cosb1*p-this.sinb1*h*s):(f=Math.sqrt(2/(1+h*s)))*p*this.ymf,t=this.xmf*f*h*l;break;case this.N_POLE:case this.S_POLE:c>=0?(t=(f=Math.sqrt(c))*l,r=s*(this.mode===this.S_POLE?f:-f)):t=r=0}}return e.x=this.a*t+this.x0,e.y=this.a*r+this.y0,e},t.inverse=function(e){e.x-=this.x0,e.y-=this.y0;var t,r,i,o,s,l,u,c=e.x/this.a,p=e.y/this.a;if(this.sphere){var h,f=0,y=0;if((r=.5*(h=Math.sqrt(c*c+p*p)))>1)return null;switch(r=2*Math.asin(r),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(y=Math.sin(r),f=Math.cos(r)),this.mode){case this.EQUIT:r=Math.abs(h)<=1e-10?0:Math.asin(p*y/h),c*=y,p=f*h;break;case this.OBLIQ:r=Math.abs(h)<=1e-10?this.phi0:Math.asin(f*this.sinph0+p*y*this.cosph0/h),c*=y*this.cosph0,p=(f-Math.sin(r)*this.sinph0)*h;break;case this.N_POLE:p=-p,r=n-r;break;case this.S_POLE:r-=n}t=0!==p||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(c,p):0}else{if(u=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(c/=this.dd,p*=this.dd,(l=Math.sqrt(c*c+p*p))<1e-10)return e.x=0,e.y=this.phi0,e;o=2*Math.asin(.5*l/this.rq),i=Math.cos(o),c*=o=Math.sin(o),this.mode===this.OBLIQ?(u=i*this.sinb1+p*o*this.cosb1/l,s=this.qp*u,p=l*this.cosb1*i-p*this.sinb1*o):(u=p*o/l,s=this.qp*u,p=l*i)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(p=-p),!(s=c*c+p*p))return e.x=0,e.y=this.phi0,e;u=1-s/this.qp,this.mode===this.S_POLE&&(u=-u)}t=Math.atan2(c,p),r=this.authlat(Math.asin(u),this.apa)}return e.x=a(this.long0+t),e.y=r,e},t.P00=.3333333333333333,t.P01=.17222222222222222,t.P02=.10257936507936508,t.P10=.06388888888888888,t.P11=.0664021164021164,t.P20=.016415012942191543,t.authset=function(e){var t,r=[];return r[0]=e*this.P00,t=e*e,r[0]+=t*this.P01,r[1]=t*this.P10,t*=e,r[0]+=t*this.P02,r[1]+=t*this.P11,r[2]=t*this.P20,r},t.authlat=function(e,t){var r=e+e;return e+t[0]*Math.sin(r)+t[1]*Math.sin(r+r)+t[2]*Math.sin(r+r+r)},t.names=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"]},function(e,t,r){"use strict";var n=r(50),i=r(54),o=r(53),a=r(52),s=r(51),l=r(100),u=r(7),c=r(49),p=r(99),h=Math.PI/2;t.init=function(){this.sphere||(this.e0=i(this.es),this.e1=o(this.es),this.e2=a(this.es),this.e3=s(this.es),this.ml0=this.a*n(this.e0,this.e1,this.e2,this.e3,this.lat0))},t.forward=function(e){var t,r,i=e.x,o=e.y;if(i=u(i-this.long0),this.sphere)t=this.a*Math.asin(Math.cos(o)*Math.sin(i)),r=this.a*(Math.atan2(Math.tan(o),Math.cos(i))-this.lat0);else{var a=Math.sin(o),s=Math.cos(o),c=l(this.a,this.e,a),p=Math.tan(o)*Math.tan(o),h=i*Math.cos(o),f=h*h,y=this.es*s*s/(1-this.es);t=c*h*(1-f*p*(1/6-(8-p+8*y)*f/120)),r=this.a*n(this.e0,this.e1,this.e2,this.e3,o)-this.ml0+c*a/s*f*(.5+(5-p+6*y)*f/24)}return e.x=t+this.x0,e.y=r+this.y0,e},t.inverse=function(e){e.x-=this.x0,e.y-=this.y0;var t,r,n=e.x/this.a,i=e.y/this.a;if(this.sphere){var o=i+this.lat0;t=Math.asin(Math.sin(o)*Math.cos(n)),r=Math.atan2(Math.tan(n),Math.cos(o))}else{var a=this.ml0/this.a+i,s=p(a,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(s)-h)<=1e-10)return e.x=this.long0,e.y=h,i<0&&(e.y*=-1),e;var f=l(this.a,this.e,Math.sin(s)),y=f*f*f/this.a/this.a*(1-this.es),d=Math.pow(Math.tan(s),2),v=n*this.a/f,m=v*v;t=s-f*Math.tan(s)/y*v*v*(.5-(1+3*d)*v*v/24),r=v*(1-m*(d/3+(1+3*d)*d*m/15))/Math.cos(s)}return e.x=u(r+this.long0),e.y=c(t),e},t.names=["Cassini","Cassini_Soldner","cass"]},function(e,t,r){"use strict";var n=r(7);t.init=function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},t.forward=function(e){var t,r,i,o,a,s,l,u=e.x,c=e.y,p=n(u-this.long0);return t=Math.pow((1+this.e*Math.sin(c))/(1-this.e*Math.sin(c)),this.alfa*this.e/2),r=2*(Math.atan(this.k*Math.pow(Math.tan(c/2+this.s45),this.alfa)/t)-this.s45),i=-p*this.alfa,o=Math.asin(Math.cos(this.ad)*Math.sin(r)+Math.sin(this.ad)*Math.cos(r)*Math.cos(i)),a=Math.asin(Math.cos(r)*Math.sin(i)/Math.cos(o)),s=this.n*a,l=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(o/2+this.s45),this.n),e.y=l*Math.cos(s)/1,e.x=l*Math.sin(s)/1,this.czech||(e.y*=-1,e.x*=-1),e},t.inverse=function(e){var t,r,n,i,o,a,s,l=e.x;e.x=e.y,e.y=l,this.czech||(e.y*=-1,e.x*=-1),o=Math.sqrt(e.x*e.x+e.y*e.y),i=Math.atan2(e.y,e.x)/Math.sin(this.s0),n=2*(Math.atan(Math.pow(this.ro0/o,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),t=Math.asin(Math.cos(this.ad)*Math.sin(n)-Math.sin(this.ad)*Math.cos(n)*Math.cos(i)),r=Math.asin(Math.cos(n)*Math.sin(i)/Math.cos(t)),e.x=this.long0-r/this.alfa,a=t,s=0;var u=0;do{e.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(t/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(a))/(1-this.e*Math.sin(a)),this.e/2))-this.s45),Math.abs(a-e.y)<1e-10&&(s=1),a=e.y,u+=1}while(0===s&&u<15);return u>=15?null:e},t.names=["Krovak","krovak"]},function(e,t,r){"use strict";var n=r(41),i=r(66),o=Math.PI/2,a=r(55),s=r(7),l=r(65);t.init=function(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)<1e-10)){var e=this.b/this.a;this.e=Math.sqrt(1-e*e);var t=Math.sin(this.lat1),r=Math.cos(this.lat1),o=n(this.e,t,r),a=i(this.e,this.lat1,t),s=Math.sin(this.lat2),l=Math.cos(this.lat2),u=n(this.e,s,l),c=i(this.e,this.lat2,s),p=i(this.e,this.lat0,Math.sin(this.lat0));Math.abs(this.lat1-this.lat2)>1e-10?this.ns=Math.log(o/u)/Math.log(a/c):this.ns=t,isNaN(this.ns)&&(this.ns=t),this.f0=o/(this.ns*Math.pow(a,this.ns)),this.rh=this.a*this.f0*Math.pow(p,this.ns),this.title||(this.title="Lambert Conformal Conic")}},t.forward=function(e){var t=e.x,r=e.y;Math.abs(2*Math.abs(r)-Math.PI)<=1e-10&&(r=a(r)*(o-2e-10));var n,l,u=Math.abs(Math.abs(r)-o);if(u>1e-10)n=i(this.e,r,Math.sin(r)),l=this.a*this.f0*Math.pow(n,this.ns);else{if((u=r*this.ns)<=0)return null;l=0}var c=this.ns*s(t-this.long0);return e.x=this.k0*(l*Math.sin(c))+this.x0,e.y=this.k0*(this.rh-l*Math.cos(c))+this.y0,e},t.inverse=function(e){var t,r,n,i,a,u=(e.x-this.x0)/this.k0,c=this.rh-(e.y-this.y0)/this.k0;this.ns>0?(t=Math.sqrt(u*u+c*c),r=1):(t=-Math.sqrt(u*u+c*c),r=-1);var p=0;if(0!==t&&(p=Math.atan2(r*u,r*c)),0!==t||this.ns>0){if(r=1/this.ns,n=Math.pow(t/(this.a*this.f0),r),-9999===(i=l(this.e,n)))return null}else i=-o;return a=s(p/this.ns+this.long0),e.x=a,e.y=i,e},t.names=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_2SP","lcc"]},function(e,t,r){"use strict";var n=r(66),i=r(7),o=r(65),a=Math.PI/2,s=Math.PI/4;t.init=function(){this.no_off=this.no_off||!1,this.no_rot=this.no_rot||!1,isNaN(this.k0)&&(this.k0=1);var e=Math.sin(this.lat0),t=Math.cos(this.lat0),r=this.e*e;this.bl=Math.sqrt(1+this.es/(1-this.es)*Math.pow(t,4)),this.al=this.a*this.bl*this.k0*Math.sqrt(1-this.es)/(1-r*r);var o,a,s=n(this.e,this.lat0,e),l=this.bl/t*Math.sqrt((1-this.es)/(1-r*r));if(l*l<1&&(l=1),isNaN(this.longc)){var u=n(this.e,this.lat1,Math.sin(this.lat1)),c=n(this.e,this.lat2,Math.sin(this.lat2));this.lat0>=0?this.el=(l+Math.sqrt(l*l-1))*Math.pow(s,this.bl):this.el=(l-Math.sqrt(l*l-1))*Math.pow(s,this.bl);var p=Math.pow(u,this.bl),h=Math.pow(c,this.bl);a=.5*((o=this.el/p)-1/o);var f=(this.el*this.el-h*p)/(this.el*this.el+h*p),y=(h-p)/(h+p),d=i(this.long1-this.long2);this.long0=.5*(this.long1+this.long2)-Math.atan(f*Math.tan(.5*this.bl*d)/y)/this.bl,this.long0=i(this.long0);var v=i(this.long1-this.long0);this.gamma0=Math.atan(Math.sin(this.bl*v)/a),this.alpha=Math.asin(l*Math.sin(this.gamma0))}else o=this.lat0>=0?l+Math.sqrt(l*l-1):l-Math.sqrt(l*l-1),this.el=o*Math.pow(s,this.bl),a=.5*(o-1/o),this.gamma0=Math.asin(Math.sin(this.alpha)/l),this.long0=this.longc-Math.asin(a*Math.tan(this.gamma0))/this.bl;this.no_off?this.uc=0:this.lat0>=0?this.uc=this.al/this.bl*Math.atan2(Math.sqrt(l*l-1),Math.cos(this.alpha)):this.uc=-1*this.al/this.bl*Math.atan2(Math.sqrt(l*l-1),Math.cos(this.alpha))},t.forward=function(e){var t,r,o,l=e.x,u=e.y,c=i(l-this.long0);if(Math.abs(Math.abs(u)-a)<=1e-10)o=u>0?-1:1,r=this.al/this.bl*Math.log(Math.tan(s+o*this.gamma0*.5)),t=-1*o*a*this.al/this.bl;else{var p=n(this.e,u,Math.sin(u)),h=this.el/Math.pow(p,this.bl),f=.5*(h-1/h),y=.5*(h+1/h),d=Math.sin(this.bl*c),v=(f*Math.sin(this.gamma0)-d*Math.cos(this.gamma0))/y;r=Math.abs(Math.abs(v)-1)<=1e-10?Number.POSITIVE_INFINITY:.5*this.al*Math.log((1-v)/(1+v))/this.bl,t=Math.abs(Math.cos(this.bl*c))<=1e-10?this.al*this.bl*c:this.al*Math.atan2(f*Math.cos(this.gamma0)+d*Math.sin(this.gamma0),Math.cos(this.bl*c))/this.bl}return this.no_rot?(e.x=this.x0+t,e.y=this.y0+r):(t-=this.uc,e.x=this.x0+r*Math.cos(this.alpha)+t*Math.sin(this.alpha),e.y=this.y0+t*Math.cos(this.alpha)-r*Math.sin(this.alpha)),e},t.inverse=function(e){var t,r;this.no_rot?(r=e.y-this.y0,t=e.x-this.x0):(r=(e.x-this.x0)*Math.cos(this.alpha)-(e.y-this.y0)*Math.sin(this.alpha),t=(e.y-this.y0)*Math.cos(this.alpha)+(e.x-this.x0)*Math.sin(this.alpha),t+=this.uc);var n=Math.exp(-1*this.bl*r/this.al),s=.5*(n-1/n),l=.5*(n+1/n),u=Math.sin(this.bl*t/this.al),c=(u*Math.cos(this.gamma0)+s*Math.sin(this.gamma0))/l,p=Math.pow(this.el/Math.sqrt((1+c)/(1-c)),1/this.bl);return Math.abs(c-1)<1e-10?(e.x=this.long0,e.y=a):Math.abs(c+1)<1e-10?(e.x=this.long0,e.y=-1*a):(e.y=o(this.e,p),e.x=i(this.long0-Math.atan2(s*Math.cos(this.gamma0)-u*Math.sin(this.gamma0),Math.cos(this.bl*t/this.al))/this.bl)),e},t.names=["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","omerc"]},function(e,t,r){"use strict";t.init=function(){var e=this.lat0;this.lambda0=this.long0;var t=Math.sin(e),r=this.a,n=1/this.rf,i=2*n-Math.pow(n,2),o=this.e=Math.sqrt(i);this.R=this.k0*r*Math.sqrt(1-i)/(1-i*Math.pow(t,2)),this.alpha=Math.sqrt(1+i/(1-i)*Math.pow(Math.cos(e),4)),this.b0=Math.asin(t/this.alpha);var a=Math.log(Math.tan(Math.PI/4+this.b0/2)),s=Math.log(Math.tan(Math.PI/4+e/2)),l=Math.log((1+o*t)/(1-o*t));this.K=a-this.alpha*s+this.alpha*o/2*l},t.forward=function(e){var t=Math.log(Math.tan(Math.PI/4-e.y/2)),r=this.e/2*Math.log((1+this.e*Math.sin(e.y))/(1-this.e*Math.sin(e.y))),n=-this.alpha*(t+r)+this.K,i=2*(Math.atan(Math.exp(n))-Math.PI/4),o=this.alpha*(e.x-this.lambda0),a=Math.atan(Math.sin(o)/(Math.sin(this.b0)*Math.tan(i)+Math.cos(this.b0)*Math.cos(o))),s=Math.asin(Math.cos(this.b0)*Math.sin(i)-Math.sin(this.b0)*Math.cos(i)*Math.cos(o));return e.y=this.R/2*Math.log((1+Math.sin(s))/(1-Math.sin(s)))+this.y0,e.x=this.R*a+this.x0,e},t.inverse=function(e){for(var t=e.x-this.x0,r=e.y-this.y0,n=t/this.R,i=2*(Math.atan(Math.exp(r/this.R))-Math.PI/4),o=Math.asin(Math.cos(this.b0)*Math.sin(i)+Math.sin(this.b0)*Math.cos(i)*Math.cos(n)),a=Math.atan(Math.sin(n)/(Math.cos(this.b0)*Math.cos(n)-Math.sin(this.b0)*Math.tan(i))),s=this.lambda0+a/this.alpha,l=0,u=o,c=-1e3,p=0;Math.abs(u-c)>1e-7;){if(++p>20)return;l=1/this.alpha*(Math.log(Math.tan(Math.PI/4+o/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(u))/2)),c=u,u=2*Math.atan(Math.exp(l))-Math.PI/2}return e.x=s,e.y=u,e},t.names=["somerc"]},function(e,t,r){"use strict";var n=Math.PI/2,i=r(55),o=r(41),a=r(66),s=r(65),l=r(7);t.ssfn_=function(e,t,r){return t*=r,Math.tan(.5*(n+e))*Math.pow((1-t)/(1+t),.5*r)},t.init=function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&(this.k0=.5*(1+i(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=1e-10&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&(this.k0=.5*this.cons*o(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/a(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=o(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-n,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},t.forward=function(e){var t,r,i,o,s,u,c=e.x,p=e.y,h=Math.sin(p),f=Math.cos(p),y=l(c-this.long0);return Math.abs(Math.abs(c-this.long0)-Math.PI)<=1e-10&&Math.abs(p+this.lat0)<=1e-10?(e.x=NaN,e.y=NaN,e):this.sphere?(t=2*this.k0/(1+this.sinlat0*h+this.coslat0*f*Math.cos(y)),e.x=this.a*t*f*Math.sin(y)+this.x0,e.y=this.a*t*(this.coslat0*h-this.sinlat0*f*Math.cos(y))+this.y0,e):(r=2*Math.atan(this.ssfn_(p,h,this.e))-n,o=Math.cos(r),i=Math.sin(r),Math.abs(this.coslat0)<=1e-10?(s=a(this.e,p*this.con,this.con*h),u=2*this.a*this.k0*s/this.cons,e.x=this.x0+u*Math.sin(c-this.long0),e.y=this.y0-this.con*u*Math.cos(c-this.long0),e):(Math.abs(this.sinlat0)<1e-10?(t=2*this.a*this.k0/(1+o*Math.cos(y)),e.y=t*i):(t=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*i+this.cosX0*o*Math.cos(y))),e.y=t*(this.cosX0*i-this.sinX0*o*Math.cos(y))+this.y0),e.x=t*o*Math.sin(y)+this.x0,e))},t.inverse=function(e){var t,r,i,o,a;e.x-=this.x0,e.y-=this.y0;var u=Math.sqrt(e.x*e.x+e.y*e.y);if(this.sphere){var c=2*Math.atan(u/(.5*this.a*this.k0));return t=this.long0,r=this.lat0,u<=1e-10?(e.x=t,e.y=r,e):(r=Math.asin(Math.cos(c)*this.sinlat0+e.y*Math.sin(c)*this.coslat0/u),t=Math.abs(this.coslat0)<1e-10?this.lat0>0?l(this.long0+Math.atan2(e.x,-1*e.y)):l(this.long0+Math.atan2(e.x,e.y)):l(this.long0+Math.atan2(e.x*Math.sin(c),u*this.coslat0*Math.cos(c)-e.y*this.sinlat0*Math.sin(c))),e.x=t,e.y=r,e)}if(Math.abs(this.coslat0)<=1e-10){if(u<=1e-10)return r=this.lat0,t=this.long0,e.x=t,e.y=r,e;e.x*=this.con,e.y*=this.con,i=u*this.cons/(2*this.a*this.k0),r=this.con*s(this.e,i),t=this.con*l(this.con*this.long0+Math.atan2(e.x,-1*e.y))}else o=2*Math.atan(u*this.cosX0/(2*this.a*this.k0*this.ms1)),t=this.long0,u<=1e-10?a=this.X0:(a=Math.asin(Math.cos(o)*this.sinX0+e.y*Math.sin(o)*this.cosX0/u),t=l(this.long0+Math.atan2(e.x*Math.sin(o),u*this.cosX0*Math.cos(o)-e.y*this.sinX0*Math.sin(o)))),r=-1*s(this.e,Math.tan(.5*(n+a)));return e.x=t,e.y=r,e},t.names=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"]},function(e,t,r){"use strict";e.exports=function(e,t){return Math.pow((1-e)/(1+e),t)}},function(e,t,r){"use strict";var n=Math.PI/4,i=r(382),o=Math.PI/2;t.init=function(){var e=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t,this.rc=Math.sqrt(1-this.es)/(1-this.es*e*e),this.C=Math.sqrt(1+this.es*t*t/(1-this.es)),this.phic0=Math.asin(e/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+n)/(Math.pow(Math.tan(.5*this.lat0+n),this.C)*i(this.e*e,this.ratexp))},t.forward=function(e){var t=e.x,r=e.y;return e.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*r+n),this.C)*i(this.e*Math.sin(r),this.ratexp))-o,e.x=this.C*t,e},t.inverse=function(e){for(var t=e.x/this.C,r=e.y,a=Math.pow(Math.tan(.5*r+n)/this.K,1/this.C),s=20;s>0&&(r=2*Math.atan(a*i(this.e*Math.sin(e.y),-.5*this.e))-o,!(Math.abs(r-e.y)<1e-14));--s)e.y=r;return s?(e.x=t,e.y=r,e):null},t.names=["gauss"]},function(e,t,r){"use strict";var n=r(383),i=r(7);t.init=function(){n.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},t.forward=function(e){var t,r,o,a;return e.x=i(e.x-this.long0),n.forward.apply(this,[e]),t=Math.sin(e.y),r=Math.cos(e.y),o=Math.cos(e.x),a=this.k0*this.R2/(1+this.sinc0*t+this.cosc0*r*o),e.x=a*r*Math.sin(e.x),e.y=a*(this.cosc0*t-this.sinc0*r*o),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e},t.inverse=function(e){var t,r,o,a,s;if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,s=Math.sqrt(e.x*e.x+e.y*e.y)){var l=2*Math.atan2(s,this.R2);t=Math.sin(l),r=Math.cos(l),a=Math.asin(r*this.sinc0+e.y*t*this.cosc0/s),o=Math.atan2(e.x*t,s*this.cosc0*r-e.y*this.sinc0*t)}else a=this.phic0,o=0;return e.x=o,e.y=a,n.inverse.apply(this,[e]),e.x=i(e.x+this.long0),e},t.names=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative"]},function(e,t,r){"use strict";var n=r(162);t.dependsOn="tmerc",t.init=function(){this.zone&&(this.lat0=0,this.long0=.017453292519943295*(6*Math.abs(this.zone)-183),this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,n.init.apply(this),this.forward=n.forward,this.inverse=n.inverse)},t.names=["Universal Transverse Mercator System","utm"]},function(e,t,r){"use strict";var n=[r(162),r(385),r(384),r(381),r(380),r(379),r(378),r(377),r(376),r(375),r(374),r(373),r(372),r(370),r(369),r(368),r(367),r(366),r(363),r(362),r(361),r(360)];e.exports=function(e){n.forEach(function(t){e.Proj.projections.add(t)})}},function(e){e.exports={_from:"proj4@2.3.15",_id:"proj4@2.3.15",_inBundle:!1,_integrity:"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=",_location:"/proj4",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"proj4@2.3.15",name:"proj4",escapedName:"proj4",rawSpec:"2.3.15",saveSpec:null,fetchSpec:"2.3.15"},_requiredBy:["/"],_resolved:"http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz",_shasum:"5ad06e8bca30be0ffa389a49e4565f51f06d089e",_spec:"proj4@2.3.15",_where:"G:\\iClient\\iClient-JavaScript",author:"",bugs:{url:"https://github.com/proj4js/proj4js/issues"},bundleDependencies:!1,contributors:[{name:"Mike Adair",email:"madair@dmsolutions.ca"},{name:"Richard Greenwood",email:"rich@greenwoodmap.com"},{name:"Calvin Metcalf",email:"calvin.metcalf@gmail.com"},{name:"Richard Marsden",url:"http://www.winwaed.com"},{name:"T. Mittan"},{name:"D. Steinwand"},{name:"S. Nelson"}],dependencies:{mgrs:"~0.0.2"},deprecated:!1,description:"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",devDependencies:{browserify:"~12.0.1",chai:"~1.8.1",curl:"git://github.com/cujojs/curl.git",grunt:"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0",istanbul:"~0.2.4",mocha:"~1.17.1",tin:"~0.4.0"},directories:{test:"test",doc:"docs"},homepage:"https://github.com/proj4js/proj4js#readme",jam:{main:"dist/proj4.js",include:["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},license:"MIT",main:"lib/index.js",name:"proj4",repository:{type:"git",url:"git://github.com/proj4js/proj4js.git"},scripts:{test:"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},version:"2.3.15"}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(163);function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);if(Array.isArray(e))this.x=e[0],this.y=e[1],this.z=e[2]||0;else if("object"===(void 0===e?"undefined":n(e)))this.x=e.x,this.y=e.y,this.z=e.z||0;else if("string"==typeof e&&void 0===t){var i=e.split(",");this.x=parseFloat(i[0],10),this.y=parseFloat(i[1],10),this.z=parseFloat(i[2],10)||0}else this.x=e,this.y=t,this.z=r||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}o.fromMGRS=function(e){return new o(i.toPoint(e))},o.prototype.toMGRS=function(e){return i.forward([this.x,this.y],e)},e.exports=o},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,i,o,a=r.x,s=r.y,l=r.z||0;for(o=0;o<3;o++)if(!t||2!==o||void 0!==r.z)switch(0===o?(n=a,i="x"):1===o?(n=s,i="y"):(n=l,i="z"),e.axis[o]){case"e":r[i]=n;break;case"w":r[i]=-n;break;case"n":r[i]=n;break;case"s":r[i]=-n;break;case"u":void 0!==r[i]&&(r.z=n);break;case"d":void 0!==r[i]&&(r.z=-n);break;default:return null}return r}},function(e,t,r){"use strict";var n=1,i=2;e.exports=function(e,t,r){var o,a,s;function l(e){return e===n||e===i}if(e.compare_datums(t))return r;if(5===e.datum_type||5===t.datum_type)return r;var u=e.a,c=e.es,p=t.a,h=t.es,f=e.datum_type;if(3===f)if(0===this.apply_gridshift(e,0,r))e.a=6378137,e.es=.006694379990141316;else{if(!e.datum_params)return e.a=u,e.es=e.es,r;for(o=1,a=0,s=e.datum_params.length;a3?i:n}return 3===t.datum_type&&(t.a=6378137,t.es=.006694379990141316),(e.es!==t.es||e.a!==t.a||l(f)||l(t.datum_type))&&(e.geodetic_to_geocentric(r),l(e.datum_type)&&e.geocentric_to_wgs84(r),l(t.datum_type)&&t.geocentric_from_wgs84(r),t.geocentric_to_geodetic(r)),3===t.datum_type&&this.apply_gridshift(t,1,r),e.a=u,e.es=c,t.a=p,t.es=h,r}},function(e,t,r){"use strict";var n=Math.PI/2,i=function e(t){if(!(this instanceof e))return new e(t);this.datum_type=4,t&&(t.datumCode&&"none"===t.datumCode&&(this.datum_type=5),t.datum_params&&(this.datum_params=t.datum_params.map(parseFloat),0===this.datum_params[0]&&0===this.datum_params[1]&&0===this.datum_params[2]||(this.datum_type=1),this.datum_params.length>3&&(0===this.datum_params[3]&&0===this.datum_params[4]&&0===this.datum_params[5]&&0===this.datum_params[6]||(this.datum_type=2,this.datum_params[3]*=484813681109536e-20,this.datum_params[4]*=484813681109536e-20,this.datum_params[5]*=484813681109536e-20,this.datum_params[6]=this.datum_params[6]/1e6+1))),this.datum_type=t.grids?3:this.datum_type,this.a=t.a,this.b=t.b,this.es=t.es,this.ep2=t.ep2,3===this.datum_type&&(this.grids=t.grids))};i.prototype={compare_datums:function(e){return this.datum_type===e.datum_type&&(!(this.a!==e.a||Math.abs(this.es-e.es)>5e-11)&&(1===this.datum_type?this.datum_params[0]===e.datum_params[0]&&this.datum_params[1]===e.datum_params[1]&&this.datum_params[2]===e.datum_params[2]:2===this.datum_type?this.datum_params[0]===e.datum_params[0]&&this.datum_params[1]===e.datum_params[1]&&this.datum_params[2]===e.datum_params[2]&&this.datum_params[3]===e.datum_params[3]&&this.datum_params[4]===e.datum_params[4]&&this.datum_params[5]===e.datum_params[5]&&this.datum_params[6]===e.datum_params[6]:3!==this.datum_type&&3!==e.datum_type||this.nadgrids===e.nadgrids))},geodetic_to_geocentric:function(e){var t,r,i,o,a,s,l,u=e.x,c=e.y,p=e.z?e.z:0;if(c<-n&&c>-1.001*n)c=-n;else if(c>n&&c<1.001*n)c=n;else if(c<-n||c>n)return null;return u>Math.PI&&(u-=2*Math.PI),a=Math.sin(c),l=Math.cos(c),s=a*a,t=((o=this.a/Math.sqrt(1-this.es*s))+p)*l*Math.cos(u),r=(o+p)*l*Math.sin(u),i=(o*(1-this.es)+p)*a,e.x=t,e.y=r,e.z=i,0},geocentric_to_geodetic:function(e){var t,r,i,o,a,s,l,u,c,p,h,f,y,d,v,m,g=e.x,b=e.y,S=e.z?e.z:0;if(!1,t=Math.sqrt(g*g+b*b),r=Math.sqrt(g*g+b*b+S*S),t/this.a<1e-12){if(!0,d=0,r/this.a<1e-12)return v=n,void(m=-this.b)}else d=Math.atan2(b,g);i=S/r,o=t/r,a=1/Math.sqrt(1-this.es*(2-this.es)*o*o),u=o*(1-this.es)*a,c=i*a,y=0;do{y++,m=t*u+S*c-(l=this.a/Math.sqrt(1-this.es*c*c))*(1-this.es*c*c),s=this.es*l/(l+m),f=(h=i*(a=1/Math.sqrt(1-s*(2-s)*o*o)))*u-(p=o*(1-s)*a)*c,u=p,c=h}while(f*f>1e-24&&y<30);return v=Math.atan(h/Math.abs(p)),e.x=d,e.y=v,e.z=m,e},geocentric_to_geodetic_noniter:function(e){var t,r,i,o,a,s,l,u,c,p,h,f,y,d,v,m,g,b=e.x,S=e.y,_=e.z?e.z:0;if(b=parseFloat(b),S=parseFloat(S),_=parseFloat(_),g=!1,0!==b)t=Math.atan2(S,b);else if(S>0)t=n;else if(S<0)t=-n;else if(g=!0,t=0,_>0)r=n;else{if(!(_<0))return r=n,void(i=-this.b);r=-n}return a=b*b+S*S,s=1.0026*_,f=(o=Math.sqrt(a))/(u=Math.sqrt(s*s+a)),h=(p=s/u)*p*p,l=_+this.b*this.ep2*h,m=o-this.a*this.es*f*f*f,y=l/(c=Math.sqrt(l*l+m*m)),d=m/c,v=this.a/Math.sqrt(1-this.es*y*y),i=d>=.3826834323650898?o/d-v:d<=-.3826834323650898?o/-d-v:_/y+v*(this.es-1),!1===g&&(r=Math.atan(y/d)),e.x=t,e.y=r,e.z=i,e},geocentric_to_wgs84:function(e){if(1===this.datum_type)e.x+=this.datum_params[0],e.y+=this.datum_params[1],e.z+=this.datum_params[2];else if(2===this.datum_type){var t=this.datum_params[0],r=this.datum_params[1],n=this.datum_params[2],i=this.datum_params[3],o=this.datum_params[4],a=this.datum_params[5],s=this.datum_params[6],l=s*(e.x-a*e.y+o*e.z)+t,u=s*(a*e.x+e.y-i*e.z)+r,c=s*(-o*e.x+i*e.y+e.z)+n;e.x=l,e.y=u,e.z=c}},geocentric_from_wgs84:function(e){if(1===this.datum_type)e.x-=this.datum_params[0],e.y-=this.datum_params[1],e.z-=this.datum_params[2];else if(2===this.datum_type){var t=this.datum_params[0],r=this.datum_params[1],n=this.datum_params[2],i=this.datum_params[3],o=this.datum_params[4],a=this.datum_params[5],s=this.datum_params[6],l=(e.x-t)/s,u=(e.y-r)/s,c=(e.z-n)/s;e.x=l+a*u-o*c,e.y=-a*l+u+i*c,e.z=o*l-i*u+c}}},e.exports=i},function(e,t,r){"use strict";t.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"},t.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},t.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},t.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"},t.airy={a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},t.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},t.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},t.mod_airy={a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},t.andrae={a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},t.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},t.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},t.bessel={a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},t.bess_nam={a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},t.clrk66={a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},t.clrk80={a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},t.clrk58={a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},t.CPM={a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},t.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},t.engelis={a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},t.evrst30={a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},t.evrst48={a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},t.evrst56={a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},t.evrst69={a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},t.evrstSS={a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},t.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},t.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"},t.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"},t.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"},t.hough={a:6378270,rf:297,ellipseName:"Hough"},t.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},t.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"},t.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"},t.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"},t.new_intl={a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},t.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},t.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},t.SEasia={a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},t.walbeck={a:6376896,b:6355834.8467,ellipseName:"Walbeck"},t.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"},t.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"},t.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"},t.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"},t.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"}},function(e,t,r){"use strict";t.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},t.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},t.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},t.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},t.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},t.potsdam={towgs84:"606.0,23.0,413.0",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},t.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},t.hermannskogel={towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"},t.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},t.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},t.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},t.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},t.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},t.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},t.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},t.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"}},function(e,t,r){"use strict";var n=r(393),i=r(392),o=r(101),a=r(391);e.exports=function(e){if(e.datumCode&&"none"!==e.datumCode){var t=n[e.datumCode];t&&(e.datum_params=t.towgs84?t.towgs84.split(","):null,e.ellps=t.ellipse,e.datumName=t.datumName?t.datumName:e.datumCode)}if(!e.a){var r=i[e.ellps]?i[e.ellps]:i.WGS84;o(e,r)}return e.rf&&!e.b&&(e.b=(1-1/e.rf)*e.a),(0===e.rf||Math.abs(e.a-e.b)<1e-10)&&(e.sphere=!0,e.b=e.a),e.a2=e.a*e.a,e.b2=e.b*e.b,e.es=(e.a2-e.b2)/e.a2,e.e=Math.sqrt(e.es),e.R_A&&(e.a*=1-e.es*(.16666666666666666+e.es*(.04722222222222222+.022156084656084655*e.es)),e.a2=e.a*e.a,e.b2=e.b*e.b,e.es=0),e.ep2=(e.a2-e.b2)/e.b2,e.k0||(e.k0=1),e.axis||(e.axis="enu"),e.datum||(e.datum=a(e)),e}},function(e,t,r){"use strict";function n(e){return e}t.init=function(){},t.forward=n,t.inverse=n,t.names=["longlat","identity"]},function(e,t,r){"use strict";var n=r(41),i=Math.PI/2,o=57.29577951308232,a=r(7),s=Math.PI/4,l=r(66),u=r(65);t.init=function(){var e=this.b/this.a;this.es=1-e*e,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=n(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)},t.forward=function(e){var t,r,n=e.x,u=e.y;if(u*o>90&&u*o<-90&&n*o>180&&n*o<-180)return null;if(Math.abs(Math.abs(u)-i)<=1e-10)return null;if(this.sphere)t=this.x0+this.a*this.k0*a(n-this.long0),r=this.y0+this.a*this.k0*Math.log(Math.tan(s+.5*u));else{var c=Math.sin(u),p=l(this.e,u,c);t=this.x0+this.a*this.k0*a(n-this.long0),r=this.y0-this.a*this.k0*Math.log(p)}return e.x=t,e.y=r,e},t.inverse=function(e){var t,r,n=e.x-this.x0,o=e.y-this.y0;if(this.sphere)r=i-2*Math.atan(Math.exp(-o/(this.a*this.k0)));else{var s=Math.exp(-o/(this.a*this.k0));if(-9999===(r=u(this.e,s)))return null}return t=a(this.long0+n/(this.a*this.k0)),e.x=t,e.y=r,e},t.names=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},function(e,t,r){"use strict";var n=[r(396),r(395)],i={},o=[];function a(e,t){var r=o.length;return e.names?(o[r]=e,e.names.forEach(function(e){i[e.toLowerCase()]=r}),this):(console.log(t),!0)}t.add=a,t.get=function(e){if(!e)return!1;var t=e.toLowerCase();return void 0!==i[t]&&o[i[t]]?o[i[t]]:void 0},t.start=function(){n.forEach(a)}},function(e,t,r){"use strict";t.ft={to_meter:.3048},t["us-ft"]={to_meter:1200/3937}},function(e,t,r){"use strict";t.greenwich=0,t.lisbon=-9.131906111111,t.paris=2.337229166667,t.bogota=-74.080916666667,t.madrid=-3.687938888889,t.rome=12.452333333333,t.bern=7.439583333333,t.jakarta=106.807719444444,t.ferro=-17.666666666667,t.brussels=4.367975,t.stockholm=18.058277777778,t.athens=23.7163375,t.oslo=10.722916666667},function(e,t,r){"use strict";e.exports=function(e){e("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),e("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),e("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),e.WGS84=e["EPSG:4326"],e["EPSG:3785"]=e["EPSG:3857"],e.GOOGLE=e["EPSG:3857"],e["EPSG:900913"]=e["EPSG:3857"],e["EPSG:102113"]=e["EPSG:3857"]}},function(e,t,r){"use strict";var n=r(168),i=r(166),o=r(167);e.exports=function(e){return function(e){return"string"==typeof e}(e)?function(e){return e in n}(e)?n[e]:function(e){return["GEOGCS","GEOCCS","PROJCS","LOCAL_CS"].reduce(function(t,r){return t+1+e.indexOf(r)},0)}(e)?i(e):function(e){return"+"===e[0]}(e)?o(e):void 0:e}},function(e,t,r){"use strict";var n=r(102),i=r(165),o=n("WGS84");function a(e,t,r){var n;return Array.isArray(r)?(n=i(e,t,r),3===r.length?[n.x,n.y,n.z]:[n.x,n.y]):i(e,t,r)}function s(e){return e instanceof n?e:e.oProj?e.oProj:n(e)}e.exports=function(e,t,r){e=s(e);var n,i=!1;return void 0===t?(t=e,e=o,i=!0):(void 0!==t.x||Array.isArray(t))&&(r=t,t=e,e=o,i=!0),t=s(t),r?a(e,t,r):(n={forward:function(r){return a(e,t,r)},inverse:function(r){return a(t,e,r)}},i&&(n.oProj=t),n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.changeTileVersion=t.ChangeTileVersion=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};r(4);var a=r(159);var s=t.ChangeTileVersion=o.default.Control.extend({options:{layer:null,position:"topleft",title:"switch tile version",tooltip:"top",collapsed:!0,nextText:"+",lastText:"-",ico:"V",orientation:"horizontal",switch:!0},onAdd:function(){"vertical"!==this.options.orientation&&(this.options.orientation="horizontal");var e=this._initLayout();return this.options.layer&&this.setLayer(this.options.layer),e},setContent:function(e){var t=o.default.Util.extend({},e);this.setVersionName(t.desc).setToolTip(t.desc)},setVersionName:function(e){var t=e;return e||(t=this.getValue()),this._sliderValue.innerHTML=t,this},setToolTip:function(e){return this.tooltip.innerHTML=e,this},updateLength:function(e){e>0&&(this.length=e,this.max=this.length-1,this.slider.setAttribute("max",this.max))},setLayer:function(e){e&&(this.options.layer=e);var t=this,r=t.options.layer;r.on("tilesetsinfoloaded",function(e){var r=e&&e.tileVersions;t.update(r)}),r.on("tileversionschanged",function(e){var r=e&&e.tileVersion;t.setContent(r)}),t.getTileSetsInfo()},update:function(e){this.tileVersions=e,this.updateLength(this.tileVersions.length)},getTileSetsInfo:function(){var e=this;e.options.layer&&new a.MapService(e.options.layer._url).getTilesets(function(t){e.options.layer.setTileSetsInfo(t.result)})},removeLayer:function(){this.options.layer=null},nextTilesVersion:function(){return this.firstLoad?(this.options.layer.nextTilesVersion(),this.firstLoad=!1,this):parseInt(this.slider.value)>this.max-1?this:(this.slider.value=parseInt(this.slider.value)+1,this.options.layer.nextTilesVersion(),this)},lastTilesVersion:function(){return parseInt(this.slider.value)4?c*a(2*s/n)/a(s/n):c/3);var h=s/n,f=-s/2,y=l+c*a(f),d=u+c*i(f);f+=h;var v=t.pointList=[];v.push([y,d]);for(var m,g=0,b=2*n-1;g0){var c=o[o.length-1];if(Math.abs(c[0]-n[0])<=s&&Math.abs(c[1]-n[1])<=s)continue}o.push(n)}if(o.length<2)return null;var p=new Object;(p=a.Util.copyAttributesWithClip(p,this.style,["pointList"])).pointList=o;var h=new S.SmicBrokenLine({style:p,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(h.highlightStyle=this.highlightStyle),h.refOriginalPosition=this.location,h.refDataID=this.data.id,h.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(h,this.shapeOptions),this.shapes.push(h)}},{key:"multiPointToTF",value:function(e){for(var t=e.components,r=[],n=[],i=this.location,o=[],s=this.nodesClipPixel,l=0;l0){var c=o[o.length-1];if(Math.abs(c[0]-n[0])<=s&&Math.abs(c[1]-n[1])<=s)continue}o.push(n);var p=new Object;p.r=6,(p=a.Util.copyAttributesWithClip(p,this.style)).x=n[0],p.y=n[1];var h=new b.SmicPoint({style:p,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(h.highlightStyle=this.highlightStyle),h.refOriginalPosition=i,h.refDataID=this.data.id,h.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(h,this.shapeOptions),this.shapes.push(h)}}},{key:"multiLineStringToTF",value:function(e){for(var t=e.components,r=0;r0){var f=o[o.length-1];if(Math.abs(f[0]-n[0])<=u&&Math.abs(f[1]-n[1])<=u)continue}o.push(n)}}else{s=[];for(var y=0;y0){var d=s[s.length-1];if(Math.abs(d[0]-n[0])<=u&&Math.abs(d[1]-n[1])<=u)continue}s.push(n)}}s.length<2||l.push(s)}if(!(o.length<2)){var v={};(v=a.Util.copyAttributesWithClip(v,this.style,["pointList"])).pointList=o;var m=new O.SmicPolygon({style:v,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(m.highlightStyle=this.highlightStyle),m.refOriginalPosition=this.location,m.refDataID=this.data.id,m.isHoverByRefDataID=this.isMultiHover,l.length>0&&(m.holePolygonPointLists=l),this.shapeOptions&&a.Util.copyAttributesWithClip(m,this.shapeOptions),this.shapes.push(m)}}},{key:"rectangleToTF",value:function(e){var t=this.location,r=new T.LonLat(e.x,e.y),n=this.layer.map.getResolution(),i=this.getLocalXY(r),o=new Object;o.r=6,(o=a.Util.copyAttributesWithClip(o,this.style)).x=i[0]-t[0],o.y=i[1]-t[1]-2*e.width/n,o.width=e.width/n,o.height=e.height/n;var s=new P.SmicRectangle({style:o,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(s.highlightStyle=this.highlightStyle),s.refOriginalPosition=t,s.refDataID=this.data.id,s.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(s,this.shapeOptions),this.shapes.push(s)}},{key:"geoTextToTF",value:function(e){var t=this.location,r=this.getLocalXY(e),n=new Object;n.r=6,(n=a.Util.copyAttributesWithClip(n,this.style,["x","y","text"])).x=r[0]-t[0],n.y=r[1]-t[1],n.text=e.text;var i=new _.SmicText({style:n,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(i.highlightStyle=this.highlightStyle),i.refOriginalPosition=t,i.refDataID=this.data.id,i.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(i,this.shapeOptions),this.shapes.push(i)}},{key:"updateAndAddShapes",value:function(){var e=this.getLocalXY(this.lonlat);this.location=e;for(var t=this.layer.renderer,r=0,n=this.shapes.length;rn[1])return;for(var s=0,l=0;l=0&&t.innerRingRadiusr[1])return null;l=c[p],u=t[1]-(i[p]-r[0])/n;var f=new a.Point(l,u);f.style=o.ShapeFactory.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,p,i[p]),f.highlightStyle=o.ShapeFactory.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(f.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(f.clickable=e.pointClickAble),f.refDataID=this.data.id,f.dataInfo={field:this.fields[p],value:i[p]},this.shapes.push(this.shapeFactory.createShape(f))}this.shapesConvertToRelativeCoordinate()}}}},{key:"calculateXShapeInfo",value:function(){var e,t=this.dataViewBox,r=this.setting,n=this.dataValues.length;if(n<1)return null;var i=[],o=this.DVBWidth,a=0;if(r.xShapeBlank&&r.xShapeBlank.length&&2==r.xShapeBlank.length){var s=o-((e=r.xShapeBlank)[0]+e[1]);if(s<=n)return null;a=s/(n-1)}else e=[a=o/(n+1),a,a];for(var l=0,u=0;un[1])return;for(var s=0,l=0;l=360&&(h=359.9999999);var m=new a.Sector(c[0],c[1],y,p,h);if(void 0===e.sectorStyleByFields){var g=d%t.length;m.style=o.ShapeFactory.ShapeStyleTool(null,e.sectorStyle,t,null,g)}else m.style=o.ShapeFactory.ShapeStyleTool(null,e.sectorStyle,e.sectorStyleByFields,e.sectorStyleByCodomain,d,r[d]);m.highlightStyle=o.ShapeFactory.ShapeStyleTool(null,e.sectorHoverStyle),void 0!==e.sectorHoverAble&&(m.hoverable=e.sectorHoverAble),void 0!==e.sectorClickAble&&(m.clickable=e.sectorClickAble),m.refDataID=this.data.id,m.dataInfo={field:this.fields[d],value:r[d]},this.shapes.push(this.shapeFactory.createShape(m)),p=h}this.shapesConvertToRelativeCoordinate()}}}}]),t}();i.SuperMap.Feature.Theme.Pie=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Line=void 0;var n=function(){function e(e,t){for(var r=0;rr[1])return null;u=p[y],c=t[1]-(i[y]-r[0])/n;var v=new a.Point(u,c);v.style=o.ShapeFactory.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,y,i[y]),v.highlightStyle=o.ShapeFactory.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(v.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(v.clickable=e.pointClickAble),v.refDataID=this.data.id,v.dataInfo={field:this.fields[y],value:i[y]},f.push(this.shapeFactory.createShape(v));var m=[u,c];h.push(m)}var g=new s.Line(h);g.style=o.ShapeFactory.ShapeStyleTool({strokeColor:"#ee9900"},e.lineStyle),g.clickable=!1,g.hoverable=!1;var b=this.shapeFactory.createShape(g);this.shapes.push(b),this.shapes=this.shapes.concat(f),this.shapesConvertToRelativeCoordinate()}}}}},{key:"calculateXShapeInfo",value:function(){var e,t=this.dataViewBox,r=this.setting,n=this.dataValues.length;if(n<1)return null;var i=[],o=this.DVBWidth,a=0;if(r.xShapeBlank&&r.xShapeBlank.length&&2==r.xShapeBlank.length){var s=o-((e=r.xShapeBlank)[0]+e[1]);if(s<=n)return null;a=s/(n-1)}else e=[a=o/(n+1),a,a];for(var l=0,u=0;u0?this.DVBUnitValue=e.maxR/(i[1]-i[0]):this.DVBUnitValue=e.maxR;var l=this.DVBUnitValue,u=n[0]*l+e.minR;if(this.width=2*u,this.height=2*u,this.initBaseParameter()&&(!i||!(n[0]i[1]))){var c=this.DVBCenterPoint,p=new a.Circle(c[0],c[1],u);p.style=s.ShapeFactory.ShapeStyleTool(null,e.circleStyle,null,null,0),void 0!==e.fillColor?p.style.fillColor=e.fillColor:p.style.fillColor="#ff9277",p.highlightStyle=s.ShapeFactory.ShapeStyleTool(null,e.circleHoverStyle),void 0!==e.circleHoverAble&&(p.hoverable=e.circleHoverAble),void 0!==e.circleClickAble&&(p.clickable=e.circleClickAble),p.refDataID=this.data.id,p.dataInfo={field:this.fields[0],r:u,value:n[0]},this.shapes.push(this.shapeFactory.createShape(p)),this.shapesConvertToRelativeCoordinate()}}}]),t}();i.SuperMap.Feature.Theme.Circle=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Bar3D=void 0;var n=function(){function e(e,t){for(var r=0;rt[1])return;var u=this.calculateXShapeInfo();if(u){var c=u.xPositions,p=u.width;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(a.ShapeFactory.Background(this.shapeFactory,this.chartBox,e)),(!e.axis3DParameter||isNaN(e.axis3DParameter)||e.axis3DParameter<15)&&(e.axis3DParameter=20),(void 0===e.useAxis||e.useAxis)&&(this.shapes=this.shapes.concat(a.ShapeFactory.GraphAxis(this.shapeFactory,r,e,u)));for(var h=e.bar3DParameter&&!isNaN(e.bar3DParameter)?e.bar3DParameter:10,f=0;fr[1])return;var c=this.calculateXShapeInfo();if(c){var p=c.xPositions,h=c.width;(void 0===t.useBackground||t.useBackground)&&this.shapes.push(o.ShapeFactory.Background(this.shapeFactory,this.chartBox,t)),(void 0===t.useAxis||t.useAxis)&&(this.shapes=this.shapes.concat(o.ShapeFactory.GraphAxis(this.shapeFactory,n,t,c)));for(var f=0;f=t.length&&(r%=t.length);var u=t[r][0],c=t[r][1],p=(new s.Color).getLinearGradient(a,0,l,0,[[0,u],[1,c]]);i.style.color=p}}}}]),t}();i.SuperMap.Feature.Theme.Bar=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SUtil=t.LevelRendererVector=t.Util=t.Transformable=t.Storage=t.SmicText=t.SmicStar=t.SmicSector=t.SmicRing=t.SmicRectangle=t.SmicPolygon=t.SmicPoint=t.SmicIsogon=t.SmicImage=t.SmicEllipse=t.SmicCircle=t.SmicBrokenLine=t.Shape=t.PaintLayer=t.Painter=t.Matrix=t.Math=t.Log=t.Http=t.Handler=t.Group=t.Eventful=t.LevelRendererEvent=t.Env=t.Easing=t.LevelRendererCurve=t.Config=t.ComputeBoundingBox=t.Color=t.Clip=t.Area=t.Animator=t.Animation=t.Render=t.LevelRenderer=t.FeatureTheme=t.Sector=t.FeatureRectangle=t.FeaturePolygon=t.Point=t.FeatureLine=t.Label=t.Image=t.FeatureCircle=t.ShapeParameters=t.ShapeFactory=t.ThemeVector=t.Ring=t.RankSymbol=t.OverlayPoint=t.Pie=t.Line=t.Graph=t.Circle=t.Bar3D=t.Bar=void 0;var n=r(419),i=r(418),o=r(417),a=r(31),s=r(416),l=r(415),u=r(414),c=r(179),p=r(413),h=r(412),f=r(411),y=r(410);t.Bar=n.Bar,t.Bar3D=i.Bar3D,t.Circle=o.Circle,t.Graph=a.Graph,t.Line=s.Line,t.Pie=l.Pie,t.OverlayPoint=u.Point,t.RankSymbol=c.RankSymbol,t.Ring=p.Ring,t.ThemeVector=h.ThemeVector,t.ShapeFactory=f.ShapeFactory,t.ShapeParameters=f.ShapeParameters,t.FeatureCircle=f.FeatureCircle,t.Image=f.Image,t.Label=f.Label,t.FeatureLine=f.FeatureLine,t.Point=f.Point,t.FeaturePolygon=f.FeaturePolygon,t.FeatureRectangle=f.FeatureRectangle,t.Sector=f.Sector,t.FeatureTheme=f.FeatureTheme,t.LevelRenderer=y.LevelRenderer,t.Render=y.Render,t.Animation=y.Animation,t.Animator=y.Animator,t.Area=y.Area,t.Clip=y.Clip,t.Color=y.Color,t.ComputeBoundingBox=y.ComputeBoundingBox,t.Config=y.Config,t.LevelRendererCurve=y.LevelRendererCurve,t.Easing=y.Easing,t.Env=y.Env,t.LevelRendererEvent=y.LevelRendererEvent,t.Eventful=y.Eventful,t.Group=y.Group,t.Handler=y.Handler,t.Http=y.Http,t.Log=y.Log,t.Math=y.Math,t.Matrix=y.Matrix,t.Painter=y.Painter,t.PaintLayer=y.PaintLayer,t.Shape=y.Shape,t.SmicBrokenLine=y.SmicBrokenLine,t.SmicCircle=y.SmicCircle,t.SmicEllipse=y.SmicEllipse,t.SmicImage=y.SmicImage,t.SmicIsogon=y.SmicIsogon,t.SmicPoint=y.SmicPoint,t.SmicPolygon=y.SmicPolygon,t.SmicRectangle=y.SmicRectangle,t.SmicRing=y.SmicRing,t.SmicSector=y.SmicSector,t.SmicStar=y.SmicStar,t.SmicText=y.SmicText,t.Storage=y.Storage,t.Transformable=y.Transformable,t.Util=y.Util,t.LevelRendererVector=y.LevelRendererVector,t.SUtil=y.SUtil},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeStyle=void 0;var n=r(0),i=r(1);var o=t.ThemeStyle=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=t||{},this.fill=!0,this.fillColor="#000000",this.fillOpacity=1,this.stroke=!1,this.strokeColor="#000000",this.strokeOpacity=1,this.strokeWidth=1,this.strokeLinecap="butt",this.strokeLineJoin="miter",this.strokeDashstyle="solid",this.pointRadius=6,this.shadowBlur=0,this.shadowColor="#000000",this.shadowOffsetX=0,this.shadowOffsetY=0,this.label="",this.labelRect=!1,this.fontColor="",this.fontSize=12,this.fontStyle="normal",this.fontVariant="normal",this.fontWeight="normal",this.fontFamily="arial,sans-serif",this.labelPosition="top",this.labelAlign="center",this.labelBaseline="middle",this.labelXOffset=0,this.labelYOffset=0,i.Util.extend(this,t)};n.SuperMap.ThemeStyle=o},function(e,t,r){"use strict";(function(t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=9007199254740991,i="[object Arguments]",o="[object Function]",a="[object GeneratorFunction]",s="[object Map]",l="[object Set]",u=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,p="object"==(void 0===t?"undefined":r(t))&&t&&t.Object===Object&&t,h="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,f=p||h||Function("return this")();function y(e,t){return function(e,t){for(var r=-1,n=e?e.length:0,i=Array(n);++r-1&&e%1==0&&e-1&&e%1==0&&e<=n}(e.length)&&!W(e)}function W(e){var t=Q(e)?T.call(e):"";return t==o||t==a}function Q(e){var t=void 0===e?"undefined":r(e);return!!e&&("object"==t||"function"==t)}var Y,X=(Y=function(e){return q(e)?D(e):B(e)},function(e){var t,r,n,i=V(e);return i==s?(t=e,r=-1,n=Array(t.size),t.forEach(function(e,t){n[++r]=[t,e]}),n):i==l?function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=[e,e]}),r}(e):y(e,Y(e))});e.exports=X}).call(this,r(127))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CartoCSS=void 0;var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var r=0;ru&&(l[n]=l[n].slice(r-u),u=r)}function d(e){var i,o,a,s;if(e instanceof Function)return e.call(c.parsers);if("string"==typeof e)i=t.charAt(r)===e?e:null,o=1,y();else{if(y(),!(i=e.exec(l[n])))return null;o=i[0].length}if(i){var p=r+=o;for(s=r+l[n].length-o;r=0&&"\n"!==n.charAt(a);a--)r.column++;return new Error([r.filename,r.line,r.column,r.message].join(";"))}return this.env=e=e||{},this.env.filename=this.env.filename||null,this.env.inputs=this.env.inputs||{},c={parse:function(i){var o,c=null;if(r=n=u=s=0,l=[],t=i.replace(/\r\n/g,"\n"),e.filename&&(p.env.inputs[e.filename]=t),l=function(e){for(var r,n,i,o,a=0,s=/(?:@\{[\w-]+\}|[^"'`\{\}\/\(\)\\])+/g,l=/\/\*(?:[^*]|\*+[^\/*])*\*+\/|\/\/.*/g,u=/"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'|`((?:[^`]|\\.)*)`/g,p=0,h=e[0],f=0;f0?"missing closing `}`":"missing opening `{`"}),e.map(function(e){return e.join("")})}([[]]),c)throw v(c);var h=function(e,t){var r=e.specificity,n=t.specificity;return r[0]!=n[0]?n[0]-r[0]:r[1]!=n[1]?n[1]-r[1]:r[2]!=n[2]?n[2]-r[2]:n[3]-r[3]};return(o=new a.SuperMap.CartoCSS.Tree.Ruleset([],d(this.parsers.primary))).root=!0,o.toList=function(e){e.error=function(t){e.errors||(e.errors=new Error("")),e.errors.message?e.errors.message+="\n"+v(t).message:e.errors.message=v(t).message},e.frames=e.frames||[];var t=this.flatten([],[],e);return t.sort(h),t},o},parsers:{primary:function(){for(var e,t=[];(e=d(this.rule)||d(this.ruleset)||d(this.comment))||d(/^[\s\n]+/)||(e=d(this.invalid));)e&&t.push(e);return t},invalid:function(){var e=d(/^[^;\n]*[;\n]/);if(e)return new a.SuperMap.CartoCSS.Tree.Invalid(e,o)},comment:function(){var e;if("/"===t.charAt(r))return"/"===t.charAt(r+1)?new a.SuperMap.CartoCSS.Tree.Comment(d(/^\/\/.*/),!0):(e=d(/^\/\*(?:[^*]|\*+[^\/*])*\*+\/\n?/))?new a.SuperMap.CartoCSS.Tree.Comment(e):void 0},entities:{quoted:function(){if('"'===t.charAt(r)||"'"===t.charAt(r)){var e=d(/^"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'/);return e?new a.SuperMap.CartoCSS.Tree.Quoted(e[1]||e[2]):void 0}},field:function(){if(d("[")){var e=d(/(^[^\]]+)/);if(d("]"))return e?new a.SuperMap.CartoCSS.Tree.Field(e[1]):void 0}},comparison:function(){var e=d(/^=~|=|!=|<=|>=|<|>/);if(e)return e},keyword:function(){var e=d(/^[A-Za-z\u4e00-\u9fa5-]+[A-Za-z-0-9\u4e00-\u9fa5_]*/);if(e)return new a.SuperMap.CartoCSS.Tree.Keyword(e)},call:function(){var e,t;if(e=/^([\w\-]+|%)\(/.exec(l[n])){if("url"===(e=e[1]))return null;r+=e.length;if(d("("),t=d(this.entities.arguments),d(")"))return e?new a.SuperMap.CartoCSS.Tree.Call(e,t,r):void 0}},arguments:function(){for(var e,t=[];e=d(this.expression);){t.push(e);if(!d(","))break}return t},literal:function(){return d(this.entities.dimension)||d(this.entities.keywordcolor)||d(this.entities.hexcolor)||d(this.entities.quoted)},url:function(){var e;if("u"===t.charAt(r)&&d(/^url\(/)){e=d(this.entities.quoted)||d(this.entities.variable)||d(/^[\-\w%@$\/.&=:;#+?~]+/)||"";return d(")")?new a.SuperMap.CartoCSS.Tree.URL(void 0!==e.value||e instanceof a.SuperMap.CartoCSS.Tree.Variable?e:new a.SuperMap.CartoCSS.Tree.Quoted(e)):new a.SuperMap.CartoCSS.Tree.Invalid(e,o,"Missing closing ) in URL.")}},variable:function(){var n,i=r;if("@"===t.charAt(r)&&(n=d(/^@[\w-]+/)))return new a.SuperMap.CartoCSS.Tree.Variable(n,i,e.filename)},hexcolor:function(){var e;if("#"===t.charAt(r)&&(e=d(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})/)))return new a.SuperMap.CartoCSS.Tree.Color(e[1])},keywordcolor:function(){var e=l[n].match(/^[a-z]+/);if(e&&e[0]in a.SuperMap.CartoCSS.Tree.Reference.data.colors)return new a.SuperMap.CartoCSS.Tree.Color(a.SuperMap.CartoCSS.Tree.Reference.data.colors[d(/^[a-z]+/)])},dimension:function(){var e=t.charCodeAt(r);if(!(e>57||e<45||47===e)){var n=d(/^(-?\d*\.?\d+(?:[eE][-+]?\d+)?)(\%|\w+)?/);return n?new a.SuperMap.CartoCSS.Tree.Dimension(n[1],n[2],o):void 0}}},variable:function(){var e;if("@"===t.charAt(r)&&(e=d(/^(@[\w-]+)\s*:/)))return e[1]},entity:function(){var e=d(this.entities.call)||d(this.entities.literal),t=d(this.entities.field)||d(this.entities.variable),r=d(this.entities.url)||d(this.entities.keyword);return e||t||r},end:function(){var e;return d(";")||("string"==typeof(e="}")?t.charAt(r)===e:!!e.test(l[n]))},element:function(){var e=d(/^(?:[.#][\w\u4e00-\u9fa5\-]+|\*|Map)/);if(e)return new a.SuperMap.CartoCSS.Tree.Element(e)},attachment:function(){var e=d(/^::([\w\-]+(?:\/[\w\-]+)*)/);if(e)return e[1]},selector:function(){for(var e,n,i,s,l,u=[],c=new a.SuperMap.CartoCSS.Tree.Filterset,p=[],h=0,f=0;(i=d(this.element))||(l=d(this.zoom))||(s=d(this.filter))||(e=d(this.attachment));){if(h++,i)u.push(i);else if(l)p.push(l),f++;else if(s){var y=c.add(s);if(y)throw v({message:y,index:r-1});f++}else{if(n)throw v({message:"Encountered second attachment name.",index:r-1});n=e}var m=t.charAt(r);if("{"===m||"}"===m||";"===m||","===m)break}if(h)return new a.SuperMap.CartoCSS.Tree.Selector(c,p,u,n,f,o)},filter:function(){h();var t,r,n;if(d("[")&&(t=d(/^[a-zA-Z0-9\-_]+/)||d(this.entities.quoted)||d(this.entities.variable)||d(this.entities.keyword)||d(this.entities.field))&&(t instanceof a.SuperMap.CartoCSS.Tree.Quoted&&(t=new a.SuperMap.CartoCSS.Tree.Field(t.toString())),(r=d(this.entities.comparison))&&(n=d(this.entities.quoted)||d(this.entities.variable)||d(this.entities.dimension)||d(this.entities.keyword)||d(this.entities.field)))){if(!d("]"))throw v({message:"Missing closing ] of filter.",index:o-1});return t.is||(t=new a.SuperMap.CartoCSS.Tree.Field(t)),new a.SuperMap.CartoCSS.Tree.Filter(t,r,n,o,e.filename)}},zoom:function(){h();var e,t;if(d(/^\[\s*zoom/g)&&(e=d(this.entities.comparison))&&(t=d(this.entities.variable)||d(this.entities.dimension))&&d("]"))return new a.SuperMap.CartoCSS.Tree.Zoom(e,t,o);f()},block:function(){var e;if(d("{")&&(e=d(this.primary))&&d("}"))return e},ruleset:function(){var e,t,r=[];for(h();e=d(this.selector);){for(r.push(e);d(this.comment););if(!d(","))break;for(;d(this.comment););}if(e)for(;d(this.comment););if(r.length>0&&(t=d(this.block))){if(1===r.length&&r[0].elements.length&&"Map"===r[0].elements[0].value){var n=new a.SuperMap.CartoCSS.Tree.Ruleset(r,t);return n.isMap=!0,n}return new a.SuperMap.CartoCSS.Tree.Ruleset(r,t)}f()},rule:function(){var n,i,l=t.charAt(r);if(h(),"."!==l&&"#"!==l&&(n=d(this.variable)||d(this.property))){if((i=d(this.value))&&d(this.end))return new a.SuperMap.CartoCSS.Tree.Rule(n,i,o,e.filename);s=r,f()}},font:function(){for(var e,t=[],r=[];e=d(this.entity);)r.push(e);if(t.push(new a.SuperMap.CartoCSS.Tree.Expression(r)),d(","))for(;(e=d(this.expression))&&(t.push(e),d(",")););return new a.SuperMap.CartoCSS.Tree.Value(t)},value:function(){for(var e,t=[];(e=d(this.expression))&&(t.push(e),d(",")););return t.length>1?new a.SuperMap.CartoCSS.Tree.Value(t.map(function(e){return e.value[0]})):1===t.length?new a.SuperMap.CartoCSS.Tree.Value(t):void 0},sub:function(){var e;if(d("(")&&(e=d(this.expression))&&d(")"))return e},multiplication:function(){var e,t,r,n;if(e=d(this.operand)){for(;(r=d("/")||d("*")||d("%"))&&(t=d(this.operand));)n=new a.SuperMap.CartoCSS.Tree.Operation(r,[n||e,t],o);return n||e}},addition:function(){var e,n,i,s;if(e=d(this.multiplication)){for(;(i=d(/^[-+]\s+/)||" "!=t.charAt(r-1)&&(d("+")||d("-")))&&(n=d(this.multiplication));)s=new a.SuperMap.CartoCSS.Tree.Operation(i,[s||e,n],o);return s||e}},operand:function(){return d(this.sub)||d(this.entity)},expression:function(){for(var e,t=[];e=d(this.addition)||d(this.entity);)t.push(e);if(t.length>0)return new a.SuperMap.CartoCSS.Tree.Expression(t)},property:function(){var e=d(/^(([a-z][-a-z_0-9]*\/)?\*?-?[-a-z_0-9]+)\s*:/);if(e)return e[1]}}}}},{key:"parse",value:function(e){var t=this.parser;return this.ruleSet=t.parse(e)}},{key:"toShaders",value:function(){if(this.ruleSet){var e=this.ruleSet;if(e){var t=e.toList(this.env);t.reverse();var r={},n=[];this._toShaders(r,n,t);for(var i=[],o={},a=0,s=t.length;a=0){if(!t.featureFilter){var o=i+n.length,a=r.indexOf(")",o+1),s="featureId&&(featureId"+r.substring(o,a)+")";Object.defineProperty(t,"featureFilter",{configurable:!0,enumerable:!1,value:function(e){return!!s}})}return{property:f,getValue:Function("attributes","zoom","seftFilter","var _value = null; var isExcute=typeof seftFilter=='function'?sefgFilter():seftFilter;if(isExcute){"+r+";} return _value; ")}}return{property:f,getValue:Function("attributes","zoom","var _value = null;"+r+"; return _value; ")}}(c[f],p);Object.defineProperty(p,"attachment",{configurable:!0,enumerable:!1,value:u}),Object.defineProperty(p,"elements",{configurable:!0,enumerable:!1,value:l.elements}),i.push(p),o[n[a]]=!0}Object.defineProperty(p,"zoom",{configurable:!0,enumerable:!1,value:l.zoom})}return i}}return null}},{key:"_toShaders",value:function(e,t,r){for(var n=0,i=r.length;n= minzoom - 1e-6 and scale < maxzoom + 1e-6"},maxzoom:{"default-value":"1.79769e+308",type:"float","default-meaning":"The layer will be visible at the maximum possible scale",doc:"The maximum scale denominator that this layer will be visible at. The default is the numeric limit of the C++ double type, which may vary slightly by system, but is likely a massive number like 1.79769e+308 and ensures that this layer will always be visible unless the value is reduced. A layer's visibility is determined by whether its status is true and if the Map scale >= minzoom - 1e-6 and scale < maxzoom + 1e-6"},queryable:{"default-value":!1,type:"boolean","default-meaning":"The layer will not be available for the direct querying of data values",doc:"This property was added for GetFeatureInfo/WMS compatibility and is rarely used. It is off by default meaning that in a WMS context the layer will not be able to be queried unless the property is explicitly set to true"},"clear-label-cache":{"default-value":!1,type:"boolean","default-meaning":"The renderer's collision detector cache (used for avoiding duplicate labels and overlapping markers) will not be cleared immediately before processing this layer",doc:"This property, by default off, can be enabled to allow a user to clear the collision detector cache before a given layer is processed. This may be desirable to ensure that a given layers data shows up on the map even if it normally would not because of collisions with previously rendered labels or markers"},"group-by":{"default-value":"",type:"string","default-meaning":"No special layer grouping will be used during rendering",doc:"https://github.com/mapnik/mapnik/wiki/Grouped-rendering"},"buffer-size":{"default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:"Extra tolerance around the Layer extent (in pixels) used to when querying and (potentially) clipping the layer data during rendering"},"maximum-extent":{"default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query this specific layer data during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Layer."}},symbolizers:{"*":{"image-filters":{css:"image-filters","default-value":"none","default-meaning":"no filters",type:"functions",functions:[["agg-stack-blur",2],["emboss",0],["blur",0],["gray",0],["sobel",0],["edge-detect",0],["x-gradient",0],["y-gradient",0],["invert",0],["sharpen",0]],doc:"A list of image filters."},"comp-op":{css:"comp-op","default-value":"src-over","default-meaning":"add the current layer on top of other layers",doc:"Composite operation. This defines how this layer should behave relative to layers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]},opacity:{css:"opacity",type:"float",doc:"An alpha value for the style (which means an alpha applied to all features in separate buffer and then composited back to main buffer)","default-value":1,"default-meaning":"no separate buffer will be used and no alpha will be applied to the style after rendering"}},map:{"background-color":{css:"background-color","default-value":"none","default-meaning":"transparent",type:"color",doc:"Map Background color"},"background-image":{css:"background-image",type:"uri","default-value":"","default-meaning":"transparent",doc:"An image that is repeated below all features on a map as a background.",description:"Map Background image"},srs:{css:"srs",type:"string","default-value":"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs","default-meaning":"The proj4 literal of EPSG:4326 is assumed to be the Map's spatial reference and all data from layers within this map will be plotted using this coordinate system. If any layers do not declare an srs value then they will be assumed to be in the same srs as the Map and not transformations will be needed to plot them in the Map's coordinate space",doc:"Map spatial reference (proj4 string)"},"buffer-size":{css:"buffer-size","default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:'Extra tolerance around the map (in pixels) used to ensure labels crossing tile boundaries are equally rendered in each tile (e.g. cut in each tile). Not intended to be used in combination with "avoid-edges".'},"maximum-extent":{css:"","default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query all layers during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Map."},base:{css:"base","default-value":"","default-meaning":"This base path defaults to an empty string meaning that any relative paths to files referenced in styles or layers will be interpreted relative to the application process.",type:"string",doc:"Any relative paths used to reference files will be understood as relative to this directory path if the map is loaded from an in memory object rather than from the filesystem. If the map is loaded from the filesystem and this option is not provided it will be set to the directory of the stylesheet."},"paths-from-xml":{css:"","default-value":!0,"default-meaning":"Paths read from XML will be interpreted from the location of the XML",type:"boolean",doc:"value to control whether paths in the XML will be interpreted from the location of the XML or from the working directory of the program that calls load_map()"},"minimum-version":{css:"","default-value":"none","default-meaning":"Mapnik version will not be detected and no error will be thrown about compatibility",type:"string",doc:"The minumum Mapnik version (e.g. 0.7.2) needed to use certain functionality in the stylesheet"},"font-directory":{css:"font-directory",type:"uri","default-value":"none","default-meaning":"No map-specific fonts will be registered",doc:"Path to a directory which holds fonts which should be registered when the Map is loaded (in addition to any fonts that may be automatically registered)."}},polygon:{fill:{css:"polygon-fill",type:"color","default-value":"rgba(128,128,128,1)","default-meaning":"gray and fully opaque (alpha = 1), same as rgb(128,128,128)",doc:"Fill color to assign to a polygon"},"fill-opacity":{css:"polygon-opacity",type:"float",doc:"The opacity of the polygon","default-value":1,"default-meaning":"opaque"},gamma:{css:"polygon-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon edges"},"gamma-method":{css:"polygon-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},clip:{css:"polygon-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},line:{stroke:{css:"line-color","default-value":"rgba(0,0,0,1)",type:"color","default-meaning":"black and fully opaque (alpha = 1), same as rgb(0,0,0)",doc:"The color of a drawn line"},"stroke-width":{css:"line-width","default-value":1,type:"float",doc:"The width of a line in pixels"},"stroke-opacity":{css:"line-opacity","default-value":1,type:"float","default-meaning":"opaque",doc:"The opacity of a line"},"stroke-linejoin":{css:"line-join","default-value":"miter",type:["miter","round","bevel"],doc:"The behavior of lines when joining"},"stroke-linecap":{css:"line-cap","default-value":"butt",type:["butt","round","square"],doc:"The display of line endings"},"stroke-gamma":{css:"line-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of stroke line"},"stroke-gamma-method":{css:"line-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},"stroke-dasharray":{css:"line-dasharray",type:"numbers",doc:"A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported for more complex patterns.","default-value":"none","default-meaning":"solid line"},"stroke-dashoffset":{css:"line-dash-offset",type:"numbers",doc:"valid parameter but not currently used in renderers (only exists for experimental svg support in Mapnik which is not yet enabled)","default-value":"none","default-meaning":"solid line"},"stroke-miterlimit":{css:"line-miterlimit",type:"float",doc:"The limit on the ratio of the miter length to the stroke-width. Used to automatically convert miter joins to bevel joins for sharp angles to avoid the miter extending beyond the thickness of the stroking path. Normally will not need to be set, but a larger value can sometimes help avoid jaggy artifacts.","default-value":4,"default-meaning":"Will auto-convert miters to bevel line joins when theta is less than 29 degrees as per the SVG spec: 'miterLength / stroke-width = 1 / sin ( theta / 2 )'"},clip:{css:"line-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},offset:{css:"line-offset",type:"float","default-value":0,"default-meaning":"no offset",doc:"Offsets a line a number of pixels parallel to its actual path. Postive values move the line left, negative values move it right (relative to the directionality of the line)."},rasterizer:{css:"line-rasterizer",type:["full","fast"],"default-value":"full",doc:"Exposes an alternate AGG rendering method that sacrifices some accuracy for speed."},"geometry-transform":{css:"line-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},markers:{file:{css:"marker-file",doc:"An SVG file that this marker shows at each placement. If no file is given, the marker will show an ellipse.","default-value":"","default-meaning":"An ellipse or circle, if width equals height",type:"uri"},opacity:{css:"marker-opacity",doc:"The overall opacity of the marker, if set, overrides both the opacity of both the fill and stroke","default-value":1,"default-meaning":"The stroke-opacity and fill-opacity will be used",type:"float"},"fill-opacity":{css:"marker-fill-opacity",doc:"The fill opacity of the marker","default-value":1,"default-meaning":"opaque",type:"float"},stroke:{css:"marker-line-color",doc:"The color of the stroke around a marker shape.","default-value":"black",type:"color"},"stroke-width":{css:"marker-line-width",doc:"The width of the stroke around a marker shape, in pixels. This is positioned on the boundary, so high values can cover the area itself.",type:"float"},"stroke-opacity":{css:"marker-line-opacity","default-value":1,"default-meaning":"opaque",doc:"The opacity of a line",type:"float"},placement:{css:"marker-placement",type:["point","line","interior"],"default-value":"point","default-meaning":"Place markers at the center point (centroid) of the geometry",doc:"Attempt to place markers on a point, in the center of a polygon, or if markers-placement:line, then multiple times along a line. 'interior' placement can be used to ensure that points placed on polygons are forced to be inside the polygon interior"},"multi-policy":{css:"marker-multi-policy",type:["each","whole","largest"],"default-value":"each","default-meaning":"If a feature contains multiple geometries and the placement type is either point or interior then a marker will be rendered for each",doc:"A special setting to allow the user to control rendering behavior for 'multi-geometries' (when a feature contains multiple geometries). This setting does not apply to markers placed along lines. The 'each' policy is default and means all geometries will get a marker. The 'whole' policy means that the aggregate centroid between all geometries will be used. The 'largest' policy means that only the largest (by bounding box areas) feature will get a rendered marker (this is how text labeling behaves by default)."},"marker-type":{css:"marker-type",type:["arrow","ellipse"],"default-value":"ellipse",doc:"The default marker-type. If a SVG file is not given as the marker-file parameter, the renderer provides either an arrow or an ellipse (a circle if height is equal to width)"},width:{css:"marker-width","default-value":10,doc:"The width of the marker, if using one of the default types.",type:"expression"},height:{css:"marker-height","default-value":10,doc:"The height of the marker, if using one of the default types.",type:"expression"},fill:{css:"marker-fill","default-value":"blue",doc:"The color of the area of the marker.",type:"color"},"allow-overlap":{css:"marker-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping markers are shown or hidden.","default-meaning":"Do not allow makers to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"marker-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},spacing:{css:"marker-spacing",doc:"Space between repeated labels","default-value":100,type:"float"},"max-error":{css:"marker-max-error",type:"float","default-value":.2,doc:"The maximum difference between actual marker placement and the marker-spacing parameter. Setting a high value can allow the renderer to try to resolve placement conflicts with other symbolizers."},transform:{css:"marker-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},clip:{css:"marker-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"marker-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"marker-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"marker-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},shield:{name:{css:"shield-name",type:"expression",serialization:"content",doc:'Value to use for a shield"s text label. Data columns are specified using brackets like [column_name]'},file:{css:"shield-file",required:!0,type:"uri","default-value":"none",doc:"Image file to render behind the shield text"},"face-name":{css:"shield-face-name",type:"string",validate:"font",doc:"Font name and style to use for the shield text","default-value":"",required:!0},"unlock-image":{css:"shield-unlock-image",type:"boolean",doc:"This parameter should be set to true if you are trying to position text beside rather than on top of the shield image","default-value":!1,"default-meaning":"text alignment relative to the shield image uses the center of the image as the anchor for text positioning."},size:{css:"shield-size",type:"float",doc:"The size of the shield text in pixels"},fill:{css:"shield-fill",type:"color",doc:"The color of the shield text"},placement:{css:"shield-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"How this shield should be placed. Point placement attempts to place it on top of points, line places along lines multiple times per feature, vertex places on the vertexes of polygons, and interior attempts to place inside of polygons."},"avoid-edges":{css:"shield-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.",type:"boolean","default-value":!1},"allow-overlap":{css:"shield-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping shields are shown or hidden.","default-meaning":"Do not allow shields to overlap with other map elements already placed."},"minimum-distance":{css:"shield-min-distance",type:"float","default-value":0,doc:"Minimum distance to the next shield symbol, not necessarily the same shield."},spacing:{css:"shield-spacing",type:"float","default-value":0,doc:"The spacing between repeated occurrences of the same shield on a line"},"minimum-padding":{css:"shield-min-padding","default-value":0,doc:"Determines the minimum amount of padding that a shield gets relative to other shields",type:"float"},"wrap-width":{css:"shield-wrap-width",type:"unsigned","default-value":0,doc:"Length of a chunk of text in characters before wrapping text"},"wrap-before":{css:"shield-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"shield-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long names."},"halo-fill":{css:"shield-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"shield-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},"character-spacing":{css:"shield-character-spacing",type:"unsigned","default-value":0,doc:"Horizontal spacing between characters (in pixels). Currently works for point placement only, not line placement."},"line-spacing":{css:"shield-line-spacing",doc:"Vertical spacing between lines of multiline labels (in pixels)",type:"unsigned"},dx:{css:"shield-text-dx",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"shield-text-dy",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"shield-dx":{css:"shield-dx",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},"shield-dy":{css:"shield-dy",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},opacity:{css:"shield-opacity",type:"float",doc:"(Default 1.0) - opacity of the image used for the shield","default-value":1},"text-opacity":{css:"shield-text-opacity",type:"float",doc:"(Default 1.0) - opacity of the text placed on top of the shield","default-value":1},"horizontal-alignment":{css:"shield-horizontal-alignment",type:["left","middle","right","auto"],doc:"The shield's horizontal alignment from its centerpoint","default-value":"auto"},"vertical-alignment":{css:"shield-vertical-alignment",type:["top","middle","bottom","auto"],doc:"The shield's vertical alignment from its centerpoint","default-value":"middle"},"text-transform":{css:"shield-text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"justify-alignment":{css:"shield-justify-alignment",type:["left","center","right","auto"],doc:"Define how text in a shield's label is justified","default-value":"auto"},clip:{css:"shield-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"shield-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"line-pattern":{file:{css:"line-pattern-file",type:"uri","default-value":"none",required:!0,doc:"An image file to be repeated and warped along a line"},clip:{css:"line-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"line-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"polygon-pattern":{file:{css:"polygon-pattern-file",type:"uri","default-value":"none",required:!0,doc:"Image to use as a repeated pattern fill within a polygon"},alignment:{css:"polygon-pattern-alignment",type:["local","global"],"default-value":"local",doc:"Specify whether to align pattern fills to the layer or to the map."},gamma:{css:"polygon-pattern-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon pattern edges"},opacity:{css:"polygon-pattern-opacity",type:"float",doc:"(Default 1.0) - Apply an opacity level to the image used for the pattern","default-value":1,"default-meaning":"The image is rendered without modifications"},clip:{css:"polygon-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},raster:{opacity:{css:"raster-opacity","default-value":1,"default-meaning":"opaque",type:"float",doc:"The opacity of the raster symbolizer on top of other symbolizers."},"filter-factor":{css:"raster-filter-factor","default-value":-1,"default-meaning":"Allow the datasource to choose appropriate downscaling.",type:"float",doc:"This is used by the Raster or Gdal datasources to pre-downscale images using overviews. Higher numbers can sometimes cause much better scaled image output, at the cost of speed."},scaling:{css:"raster-scaling",type:["near","fast","bilinear","bilinear8","bicubic","spline16","spline36","hanning","hamming","hermite","kaiser","quadric","catrom","gaussian","bessel","mitchell","sinc","lanczos","blackman"],"default-value":"near",doc:"The scaling algorithm used to making different resolution versions of this raster layer. Bilinear is a good compromise between speed and accuracy, while lanczos gives the highest quality."},"mesh-size":{css:"raster-mesh-size","default-value":16,"default-meaning":"Reprojection mesh will be 1/16 of the resolution of the source image",type:"unsigned",doc:"A reduced resolution mesh is used for raster reprojection, and the total image size is divided by the mesh-size to determine the quality of that mesh. Values for mesh-size larger than the default will result in faster reprojection but might lead to distortion."},"comp-op":{css:"raster-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},point:{file:{css:"point-file",type:"uri",required:!1,"default-value":"none",doc:"Image file to represent a point"},"allow-overlap":{css:"point-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping points are shown or hidden.","default-meaning":"Do not allow points to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"point-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},opacity:{css:"point-opacity",type:"float","default-value":1,"default-meaning":"Fully opaque",doc:"A value from 0 to 1 to control the opacity of the point"},placement:{css:"point-placement",type:["centroid","interior"],doc:"How this point should be placed. Centroid calculates the geometric center of a polygon, which can be outside of it, while interior always places inside of a polygon.","default-value":"centroid"},transform:{css:"point-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},"comp-op":{css:"point-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},text:{name:{css:"text-name",type:"expression",required:!0,"default-value":"",serialization:"content",doc:"Value to use for a text label. Data columns are specified using brackets like [column_name]"},"face-name":{css:"text-face-name",type:"string",validate:"font",doc:"Font name and style to render a label in",required:!0},size:{css:"text-size",type:"float","default-value":10,doc:"Text size in pixels"},"text-ratio":{css:"text-ratio",doc:"Define the amount of text (of the total) present on successive lines when wrapping occurs","default-value":0,type:"unsigned"},"wrap-width":{css:"text-wrap-width",doc:"Length of a chunk of text in characters before wrapping text","default-value":0,type:"unsigned"},"wrap-before":{css:"text-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"text-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long text."},spacing:{css:"text-spacing",type:"unsigned",doc:"Distance between repeated text labels on a line (aka. label-spacing)"},"character-spacing":{css:"text-character-spacing",type:"float","default-value":0,doc:"Horizontal spacing adjustment between characters in pixels"},"line-spacing":{css:"text-line-spacing","default-value":0,type:"unsigned",doc:"Vertical spacing adjustment between lines in pixels"},"label-position-tolerance":{css:"text-label-position-tolerance","default-value":0,type:"unsigned",doc:"Allows the label to be displaced from its ideal position by a number of pixels (only works with placement:line)"},"max-char-angle-delta":{css:"text-max-char-angle-delta",type:"float","default-value":"22.5",doc:"The maximum angle change, in degrees, allowed between adjacent characters in a label. This value internally is converted to radians to the default is 22.5*math.pi/180.0. The higher the value the fewer labels will be placed around around sharp corners."},fill:{css:"text-fill",doc:"Specifies the color for the text","default-value":"#000000",type:"color"},opacity:{css:"text-opacity",doc:"A number from 0 to 1 specifying the opacity for the text","default-value":1,"default-meaning":"Fully opaque",type:"float"},"halo-fill":{css:"text-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"text-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},dx:{css:"text-dx",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"text-dy",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"vertical-alignment":{css:"text-vertical-alignment",type:["top","middle","bottom","auto"],doc:"Position of label relative to point position.","default-value":"auto","default-meaning":'Default affected by value of dy; "bottom" for dy>0, "top" for dy<0.'},"avoid-edges":{css:"text-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.","default-value":!1,type:"boolean"},"minimum-distance":{css:"text-min-distance",doc:"Minimum permitted distance to the next text symbolizer.",type:"float"},"minimum-padding":{css:"text-min-padding",doc:"Determines the minimum amount of padding that a text symbolizer gets relative to other text",type:"float"},"minimum-path-length":{css:"text-min-path-length",type:"float","default-value":0,"default-meaning":"place labels on all paths",doc:"Place labels only on paths longer than this value."},"allow-overlap":{css:"text-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping text is shown or hidden.","default-meaning":"Do not allow text to overlap with other text - overlapping markers will not be shown."},orientation:{css:"text-orientation",type:"expression",doc:"Rotate the text."},placement:{css:"text-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"Control the style of placement of a point versus the geometry it is attached to."},"placement-type":{css:"text-placement-type",doc:'Re-position and/or re-size text to avoid overlaps. "simple" for basic algorithm (using text-placements string,) "dummy" to turn this feature off.',type:["dummy","simple"],"default-value":"dummy"},placements:{css:"text-placements",type:"string","default-value":"",doc:'If "placement-type" is set to "simple", use this "POSITIONS,[SIZES]" string. An example is `text-placements: "E,NE,SE,W,NW,SW";` '},"text-transform":{css:"text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"horizontal-alignment":{css:"text-horizontal-alignment",type:["left","middle","right","auto"],doc:"The text's horizontal alignment from its centerpoint","default-value":"auto"},"justify-alignment":{css:"text-align",type:["left","right","center","auto"],doc:"Define how text is justified","default-value":"auto","default-meaning":"Auto alignment means that text will be centered by default except when using the `placement-type` parameter - in that case either right or left justification will be used automatically depending on where the text could be fit given the `text-placements` directives"},clip:{css:"text-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"text-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},building:{fill:{css:"building-fill","default-value":"#FFFFFF",doc:"The color of the buildings walls.",type:"color"},"fill-opacity":{css:"building-fill-opacity",type:"float",doc:"The opacity of the building as a whole, including all walls.","default-value":1},height:{css:"building-height",doc:"The height of the building in pixels.",type:"expression","default-value":"0"}}},colors:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50],transparent:[0,0,0,0]},filter:{value:["true","false","null","point","linestring","polygon","collection"]}},c.mapnik_reference={version:{latest:a.SuperMap._mapnik_reference_latest,"2.1.1":a.SuperMap._mapnik_reference_latest}},a.SuperMap.CartoCSS=c,a.SuperMap.CartoCSS.Tree={},a.SuperMap.CartoCSS.Tree.operate=function(e,t,r){switch(e){case"+":return t+r;case"-":return t-r;case"*":return t*r;case"%":return t%r;case"/":return t/r}},a.SuperMap.CartoCSS.Tree.functions={rgb:function(e,t,r){return this.rgba(e,t,r,1)},rgba:function(e,t,r,n){var i=this,o=[e,t,r].map(function(e){return i.number(e)});return n=i.number(n),o.some(isNaN)||isNaN(n)?null:new a.SuperMap.CartoCSS.Tree.Color(o,n)},stop:function(e){var t,r;return arguments.length>1&&(t=arguments[1]),arguments.length>2&&(r=arguments[2]),{is:"tag",val:e,color:t,mode:r,toString:function(n){return'\n\t"}}},hsl:function(e,t,r){return this.hsla(e,t,r,1)},hsla:function(e,t,r,n){if([e=this.number(e)%360/360,t=this.number(t),r=this.number(r),n=this.number(n)].some(isNaN))return null;var i=r<=.5?r*(t+1):r+t-r*t,o=2*r-i;return this.rgba(255*a(e+1/3),255*a(e),255*a(e-1/3),n);function a(e){return 6*(e=e<0?e+1:e>1?e-1:e)<1?o+(i-o)*e*6:2*e<1?i:3*e<2?o+(i-o)*(2/3-e)*6:o}},hue:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(Math.round(e.toHSL().h)):null},saturation:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().s),"%"):null},lightness:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().l),"%"):null},alpha:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(e.toHSL().a):null},saturate:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.s+=t.value/100,r.s=this.clamp(r.s),this.hsla_simple(r)},desaturate:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.s-=t.value/100,r.s=this.clamp(r.s),this.hsla_simple(r)},lighten:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.l+=t.value/100,r.l=this.clamp(r.l),this.hsla_simple(r)},darken:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.l-=t.value/100,r.l=this.clamp(r.l),this.hsla_simple(r)},fadein:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.a+=t.value/100,r.a=this.clamp(r.a),this.hsla_simple(r)},fadeout:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.a-=t.value/100,r.a=this.clamp(r.a),this.hsla_simple(r)},spin:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL(),n=(r.h+t.value)%360;return r.h=n<0?360+n:n,this.hsla_simple(r)},replace:function(e,t,r){return"field"===e.is?e.toString+".replace("+t.toString()+", "+r.toString()+")":e.replace(t,r)},mix:function(e,t,r){var n=r.value/100,i=2*n-1,o=e.toHSL().a-t.toHSL().a,s=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,l=1-s,u=[e.rgb[0]*s+t.rgb[0]*l,e.rgb[1]*s+t.rgb[1]*l,e.rgb[2]*s+t.rgb[2]*l],c=e.alpha*n+t.alpha*(1-n);return new a.SuperMap.CartoCSS.Tree.Color(u,c)},greyscale:function(e){return this.desaturate(e,new a.SuperMap.CartoCSS.Tree.Dimension(100))},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),r=e.value,n=0;n.5?u/(2-a-s):u/(a+s),a){case r:e=(n-i)/u+(n=0){if(!e.ppi)return e.error({message:"ppi is not set, so metric units can't be used",index:this.index}),{is:"undefined",value:"undefined"};this.value=this.value/this.densities[this.unit]*e.ppi,this.unit="px"}return this}},{key:"toColor",value:function(){return new a.SuperMap.CartoCSS.Tree.Color([this.value,this.value,this.value])}},{key:"round",value:function(){return this.value=Math.round(this.value),this}},{key:"toString",value:function(){return this.value.toString()}},{key:"operate",value:function(e,t,r){return"%"===this.unit&&"%"!==r.unit?(e.error({message:"If two operands differ, the first must not be %",index:this.index}),{is:"undefined",value:"undefined"}):"%"!==this.unit&&"%"===r.unit?"*"===t||"/"===t||"%"===t?(e.error({message:"Percent values can only be added or subtracted from other values",index:this.index}),{is:"undefined",value:"undefined"}):new a.SuperMap.CartoCSS.Tree.Dimension(a.SuperMap.CartoCSS.Tree.operate(t,this.value,this.value*r.value*.01),this.unit):new a.SuperMap.CartoCSS.Tree.Dimension(a.SuperMap.CartoCSS.Tree.operate(t,this.value,r.value),this.unit||r.unit)}}]),e}(),a.SuperMap.CartoCSS.Tree.Element=function(){function e(t){u(this,e),this.value=t.trim(),"#"===this.value[0]&&(this.type="id",this.clean=this.value.replace(/^#/,"")),"."===this.value[0]&&(this.type="class",this.clean=this.value.replace(/^\./,"")),-1!==this.value.indexOf("*")&&(this.type="wildcard")}return o(e,[{key:"specificity",value:function(){return["id"===this.type?1:0,"class"===this.type?1:0]}},{key:"toString",value:function(){return this.value}}]),e}(),a.SuperMap.CartoCSS.Tree.Expression=function(){function e(t){u(this,e),this.is="expression",this.value=t}return o(e,[{key:"ev",value:function(e){return this.value.length>1?new a.SuperMap.CartoCSS.Tree.Expression(this.value.map(function(t){return t.ev(e)})):this.value[0].ev(e)}},{key:"toString",value:function(e){return this.value.map(function(t){return t.toString(e)}).join(" ")}}]),e}(),a.SuperMap.CartoCSS.Tree.Field=function(){function e(t){u(this,e),this.is="field",this.value=t||""}return o(e,[{key:"toString",value:function(){return'["'+this.value.toUpperCase()+'"]'}},{key:"ev",value:function(){return this}}]),e}(),a.SuperMap.CartoCSS.Tree.Filter=function(){function e(t,r,n,i,o){u(this,e),this.ops={"<":[" < ","numeric"],">":[" > ","numeric"],"=":[" = ","both"],"!=":[" != ","both"],"<=":[" <= ","numeric"],">=":[" >= ","numeric"],"=~":[".match(","string",")"]},this.key=t,this.op=r,this.val=n,this.index=i,this.filename=o,this.id=this.key+this.op+this.val}return o(e,[{key:"ev",value:function(e){return this.key=this.key.ev(e),this.val=this.val.ev(e),this}},{key:"toString",value:function(){return"["+this.id+"]"}}]),e}(),a.SuperMap.CartoCSS.Tree.Filterset=function(){function e(){u(this,e),this.filters={}}return o(e,[{key:"toJS",value:function(e){function t(e){var t=e.op;"="===t&&(t="==");var r=e.val;void 0!==e._val&&(r=e._val.toString(!0)),e.key&&"scale"===e.key.value?r=+r:"string"!=typeof r&&"object"!==(void 0===r?"undefined":i(r))||(r="'"+r+"'");var n="attributes";return n+"&&"+n+e.key+"&&"+n+e.key+" "+t+r}var r=[];for(var n in this.filters)r.push(t(this.filters[n]));return r.join(" && ")}},{key:"toString",value:function(){var e=[];for(var t in this.filters)e.push(this.filters[t].id);return e.sort().join("\t")}},{key:"ev",value:function(e){for(var t in this.filters)this.filters[t].ev(e);return this}},{key:"clone",value:function(){var e=new a.SuperMap.CartoCSS.Tree.Filterset;for(var t in this.filters)e.filters[t]=this.filters[t];return e}},{key:"cloneWith",value:function(e){var t=[];for(var r in e.filters){var n=this.addable(e.filters[r]);if(!1===n)return!1;!0===n&&t.push(e.filters[r])}if(!t.length)return null;var i=new a.SuperMap.CartoCSS.Tree.Filterset;for(r in this.filters)i.filters[r]=this.filters[r];for(;r=t.shift();)i.add(r);return i}},{key:"addable",value:function(e){var t=e.key.toString(),r=e.val.toString();switch(r.match(/^[0-9]+(\.[0-9]*)?$/)&&(r=parseFloat(r)),e.op){case"=":return void 0!==this.filters[t+"="]?this.filters[t+"="].val.toString()==r&&null:void 0===this.filters[t+"!="+r]&&(!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)&&!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val"]&&this.filters[t+">"].val>=r?null:void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val":return t+"="in this.filters?!(this.filters[t+"="].val<=r)&&null:!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r)&&(!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=r)&&(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)||null));case">=":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val"]&&this.filters[t+">"].val>=r?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=r)||null));case"<":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val>=r)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=r)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].valr)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=r)||null))}}},{key:"conflict",value:function(e){var t=e.key.toString(),r=e.val.toString();return isNaN(parseFloat(r))||(r=parseFloat(r)),("="===e.op&&void 0!==this.filters[t+"="]&&r!=this.filters[t+"="].val.toString()||"!="===e.op&&void 0!==this.filters[t+"="]&&r==this.filters[t+"="].val.toString()||"="===e.op&&void 0!==this.filters[t+"!="]&&r===this.filters[t+"!="].val.toString())&&e.toString()+" added to "+this.toString()+" produces an invalid filter"}},{key:"add",value:function(e,t){var r,n=e.key.toString(),i=e.op,o=this.conflict(e);if(o)return o;if("="===i){for(var a in this.filters)this.filters[a].key===n&&delete this.filters[a];this.filters[n+"="]=e}else if("!="===i)this.filters[n+"!="+e.val]=e;else if("=~"===i)this.filters[n+"=~"+e.val]=e;else if(">"===i){for(var s in this.filters)this.filters[s].key===n&&this.filters[s].val<=e.val&&delete this.filters[s];this.filters[n+">"]=e}else if(">="===i){for(var l in this.filters)r=+this.filters[l].val.toString(),this.filters[l].key===n&&r",this.filters[n+">"]=e):this.filters[n+">="]=e}else if("<"===i){for(var u in this.filters)r=+this.filters[u].val.toString(),this.filters[u].key===n&&r>=e.val&&delete this.filters[u];this.filters[n+"<"]=e}else if("<="===i){for(var c in this.filters)r=+this.filters[c].val.toString(),this.filters[c].key===n&&r>e.val&&delete this.filters[c];void 0!==this.filters[n+"!="+e.val]?(delete this.filters[n+"!="+e.val],e.op="<",this.filters[n+"<"]=e):this.filters[n+"<="]=e}}}]),e}(),a.SuperMap.CartoCSS.Tree.Fontset=function e(t,r){u(this,e),this.fonts=r,this.name="fontset-"+t.effects.length},a.SuperMap.CartoCSS.Tree.Invalid=function(){function e(t,r,n){u(this,e),this.is="invalid",this.chunk=t,this.index=r,this.type="syntax",this.message=n||"Invalid code: "+this.chunk}return o(e,[{key:"ev",value:function(e){return e.error({chunk:this.chunk,index:this.index,type:"syntax",message:this.message||"Invalid code: "+this.chunk}),{is:"undefined"}}}]),e}(),a.SuperMap.CartoCSS.Tree.Keyword=function(){function e(t){u(this,e),this.value=t;var r={transparent:"color",true:"boolean",false:"boolean"};this.is=r[t]?r[t]:"keyword"}return o(e,[{key:"ev",value:function(){return this}}]),o(e,[{key:"toString",value:function(){return this.value}}]),e}(),a.SuperMap.CartoCSS.Tree.Literal=function(){function e(t){u(this,e),this.value=t||"",this.is="field"}return o(e,[{key:"toString",value:function(){return this.value}},{key:"ev",value:function(){return this}}]),e}(),a.SuperMap.CartoCSS.Tree.Operation=function(){function e(t,r,n){u(this,e),this.is="operation",this.op=t.trim(),this.operands=r,this.index=n}return o(e,[{key:"ev",value:function(e){var t,r=this.operands[0].ev(e),n=this.operands[1].ev(e);return"undefined"===r.is||"undefined"===n.is?{is:"undefined",value:"undefined"}:(r instanceof a.SuperMap.CartoCSS.Tree.Dimension&&n instanceof a.SuperMap.CartoCSS.Tree.Color&&("*"===this.op||"+"===this.op?(t=n,n=r,r=t):e.error({name:"OperationError",message:"Can't substract or divide a color from a number",index:this.index})),r instanceof a.SuperMap.CartoCSS.Tree.Quoted&&n instanceof a.SuperMap.CartoCSS.Tree.Quoted&&"+"!==this.op?(e.error({message:"Can't subtract, divide, or multiply strings.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):r instanceof a.SuperMap.CartoCSS.Tree.Field||n instanceof a.SuperMap.CartoCSS.Tree.Field||r instanceof a.SuperMap.CartoCSS.Tree.Literal||n instanceof a.SuperMap.CartoCSS.Tree.Literal?"color"===r.is||"color"===n.is?(e.error({message:"Can't subtract, divide, or multiply colors in expressions.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):new a.SuperMap.CartoCSS.Tree.Literal(r.ev(e).toString(!0)+this.op+n.ev(e).toString(!0)):void 0===r.operate?(e.error({message:"Cannot do math with type "+r.is+".",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):r.operate(e,this.op,n))}}]),e}(),a.SuperMap.CartoCSS.Tree.Quoted=function(){function e(t){u(this,e),this.is="string",this.value=t||""}return o(e,[{key:"toString",value:function(e){var t=this.value.replace(/&/g,"&"),r=t.replace(/\'/g,"\\'").replace(/\"/g,""").replace(//g,">");return!0===e?"'"+r+"'":t}},{key:"ev",value:function(){return this}},{key:"operate",value:function(e,t,r){return new a.SuperMap.CartoCSS.Tree.Quoted(a.SuperMap.CartoCSS.Tree.operate(t,this.toString(),r.toString(this.contains_field)))}}]),e}(),a.SuperMap.CartoCSS.Tree.Reference={_validateValue:{font:function(e,t){return!e.validation_data||!e.validation_data.fonts||-1!=e.validation_data.fonts.indexOf(t)}},setData:function(e){this.data=e,this.selector_cache=function(e){var t={};for(var r in e.symbolizers)for(var n in e.symbolizers[r])e.symbolizers[r][n].hasOwnProperty("css")&&(t[e.symbolizers[r][n].css]=[e.symbolizers[r][n],r,n]);return t}(e),this.mapnikFunctions=function(e){var t={};for(var r in e.symbolizers)for(var n in e.symbolizers[r])if("functions"===e.symbolizers[r][n].type)for(var i=0;i1?Array.prototype.push.apply(r,n.find(new a.SuperMap.CartoCSS.Tree.Selector(null,null,e.elements.slice(1)),t)):r.push(n);break}}),this._lookups[n]=r)}},{key:"evZooms",value:function(e){for(var t=0;ta.SuperMap.CartoCSS.Tree.Zoom.maxZoom||t<0)&&e.error({message:"Only zoom levels between 0 and "+a.SuperMap.CartoCSS.Tree.Zoom.maxZoom+" supported.",index:this.index}),this.op){case"=":return this.zoom="zoom && zoom === "+t,this;case">":this.zoom="zoom && zoom > "+t;break;case">=":this.zoom="zoom && zoom >= "+t;break;case"<":this.zoom="zoom && zoom < "+t;break;case"<=":this.zoom="zoom && zoom <= "+t;break;default:return this}return this}},{key:"toString",value:function(){for(var e="",t=0;t<=a.SuperMap.CartoCSS.Tree.Zoom.maxZoom;t++)e+=this.zoom&1<t.geoFence.radius&&(t.outOfGeoFence&&t.outOfGeoFence(e),t.events.triggerEvent("outOfGeoFence",{data:e})),r})}},{key:"_distance",value:function(e,t,r,n){return Math.sqrt((e-r)*(e-r)+(t-n)*(t-n))}},{key:"_getMeterPerMapUnit",value:function(e){var t=void 0;return"meter"===e?t=1:"degree"===e&&(t=2*Math.PI*6378137/360),t}}]),e}();o.SuperMap.ElasticSearch=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElasticSearch=void 0;var n=r(427);t.ElasticSearch=n.ElasticSearch},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElasticSearch=void 0;var n=r(428);t.ElasticSearch=n.ElasticSearch},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenServiceParameter=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(1===i.length?r+="'displayFilter':\""+i[0]+'",':r+="'displayFilter':\""+i[s]+'",'),(a=e.displayOrderBy)&&a.length>0&&(1===a.length?r+="'displayOrderBy':'"+a[0]+"',":r+="'displayOrderBy':'"+a[s]+"',"),(t=e.fieldValuesDisplayFilter)&&(r+="'fieldValuesDisplayFilter':"+o.Util.toJSON(t)+","),e.joinItems&&e.joinItems.length>0&&e.joinItems[s]&&(r+="'joinItems':["+o.Util.toJSON(e.joinItems[s])+"],"),e.datasetNames&&e.dataSourceNames){var u=e.datasetNames[s]?s:e.datasetNames.length-1,c=e.dataSourceNames[s]?s:e.dataSourceNames.length-1;r+="'datasetInfo': {'name': '"+e.datasetNames[u]+"','dataSourceName': '"+e.dataSourceNames[c]+"'}},"}else r+="},"}e.themes&&e.themes.length>0&&(r=r.substring(0,r.length-1)),r+="]},";var p=this.url.split("/");return r+="'name': '"+p[p.length-2]+"'}]"}}]),t}();i.SuperMap.ThemeService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeLabelUniqueItem=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(n+='"subLayers":'+e.toJSON()),n+=',"visible":true,',n+='"name":"'+this.getMapName(this.mapUrl)+'"',n+="}]",t.request({method:"PUT",data:n,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}}},{key:"createTempLayerComplete",value:function(e){(e=o.Util.transformResult(e)).succeed&&(this.lastparams.resourceID=e.newResourceID),this.processAsync(this.lastparams)}},{key:"getMapName",value:function(e){var t=e;"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1));var r=t.lastIndexOf("/");return t.substring(r+1,t.length)}},{key:"serviceProcessCompleted",value:function(e){null!=(e=o.Util.transformResult(e))&&null!=this.lastparams&&(e.newResourceID=this.lastparams.resourceID),this.events.triggerEvent("processCompleted",{result:e})}}]),t}();i.SuperMap.SetLayerStatusService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetLayersInfoService=void 0;var n=function(){function e(e,t){for(var r=0;r=200&&e.code<300||0==e.code||304===e.code,r=e.code&&t;!e.code||r?this.events&&this.events.triggerEvent("processCompleted",{result:e}):this.events.triggerEvent("processFailed",{error:e})}}]),t}();i.SuperMap.MapService=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KernelDensityJobsService=void 0;var n=function(){function e(e,t){for(var r=0;r0?e[0].subLayers.layers:null)?t.length:0,this.handleLayers(r,t),this.events.triggerEvent("processCompleted",{result:e[0]})}},{key:"handleLayers",value:function(e,t){var r;if(e)for(var n=0;n0)this.handleLayers(t[n].subLayers.layers.length,t[n].subLayers.layers);else switch(t[n].ugcLayerType){case"THEME":(r=new s.ServerTheme).fromJson(t[n]),t[n]=r;break;case"GRID":(r=new l.Grid).fromJson(t[n]),t[n]=r;break;case"IMAGE":(r=new u.UGCImage).fromJson(t[n]),t[n]=r;break;case"VECTOR":(r=new c.Vector).fromJson(t[n]),t[n]=r}}}}]),t}();i.SuperMap.GetLayersInfoService=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetGridCellInfosService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(t+=","),t+='{"x":'+i[r].x+',"y":'+i[r].y+"}";o+=t+="]"}else if(1==e.isAnalyzeById){for(var a="[",s=e.nodes,l=s.length,u=0;u0&&(a+=","),a+=s[u];o+=a+="]"}return o}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.tspPathList)return null;var t=new s.GeoJSON;return e.tspPathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}]),t}();i.SuperMap.FindTSPPathsService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindServiceAreasService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.serviceAreaList)return e;var t=new l.GeoJSON;return e.serviceAreaList.map(function(e){return e.serviceRegion&&(e.serviceRegion=JSON.parse(t.write(e.serviceRegion))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e.routes&&(e.routes=JSON.parse(t.write(e.routes))),e}),e}}]),t}();i.SuperMap.FindServiceAreasService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindPathService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.pathList||e.pathList.length<1)return null;var t=new l.GeoJSON;return e.pathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}]),t}();i.SuperMap.FindPathService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindMTSPPathsService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.pathList)return null;var t=new l.GeoJSON;return e.pathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}]),t}();i.SuperMap.FindMTSPPathsService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindLocationService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(t+=","),t+=o.Util.toJSON(e[n]);return t+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e)return null;var t=new l.GeoJSON;return e.demandResults&&(e.demandResults=JSON.parse(t.write(e.demandResults))),e.supplyResults&&(e.supplyResults=JSON.parse(t.write(e.supplyResults))),e}}]),t}();i.SuperMap.FindLocationService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindClosestFacilitiesService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.facilityPathList)return e;var t=new a.GeoJSON;return e.facilityPathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}]),t}();i.SuperMap.FindClosestFacilitiesService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FieldStatisticService=void 0;var n=function(){function e(e,t){for(var r=0;r0){var t=JSON.parse(e.data);return e.filterParam=t,e.eventType="setFilterParamSuccessed",void this.events.triggerEvent("setFilterParamSuccessed",e)}var r=JSON.parse(e.data);e.featureResult=r,e.eventType="messageSuccessed",this.events.triggerEvent("messageSuccessed",e)}},{key:"_connect",value:function(e){return e=this._appendCredentials(e),"WebSocket"in window?new WebSocket(e):"MozWebSocket"in window?new(0,window.MozWebSocket)(e):(console.log("no WebSocket"),null)}},{key:"_appendCredentials",value:function(e){var t=s.SecurityManager.getToken(e);return t&&(e+="?token="+t),e}}]),t}();i.SuperMap.DataFlowService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComputeWeightMatrixService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}}]),t}();i.SuperMap.ComputeWeightMatrixService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChartQueryService=void 0;var n=function(){function e(e,t){for(var r=0;r599){if(l)return;return l=!0,void i(new TypeError("Network request failed"))}var t={status:e,statusText:a.statusText,headers:function(e){var t=new s;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var r=e.trim().split(":"),n=r.shift().trim(),i=r.join(":").trim();t.append(n,i)}),t}(a),url:"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0},r="response"in a?a.response:a.responseText;l||(l=!0,n(new y(r,t)))}}a.onreadystatechange=u,a.onload=u,a.onerror=function(){l||(l=!0,i(new TypeError("Network request failed")))},a.open(o.method,o.url,!0);try{"include"===o.credentials&&("withCredentials"in a?a.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(e){console&&console.warn&&console.warn("set withCredentials error:"+e)}"responseType"in a&&r.blob&&(a.responseType="blob"),o.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send(void 0===o._bodyInit?null:o._bodyInit)})},t.fetch.polyfill=!0,void 0!==e&&e.exports&&(e.exports=t.fetch)}function o(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function s(e){this.map={},e instanceof s?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function l(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function u(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function c(e){var t=new FileReader;return t.readAsArrayBuffer(e),u(t)}function p(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(r.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(r.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!r.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},r.blob?(this.blob=function(){var e=l(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(c)},this.text=function(){var e,t,r,n,i,o,a,s=l(this);if(s)return s;if(this._bodyBlob)return e=this._bodyBlob,t=this._options,r=new FileReader,n=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",i=/charset\=[0-9a-zA-Z\-\_]*;?/,o=e.type.match(i)||n.match(i),a=[e],o&&a.push(o[0].replace(/^charset\=/,"").replace(/;$/,"")),r.readAsText.apply(r,a),u(r);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=l(this);return e||Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(f)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(e,t){var r,i,o=(t=t||{}).body;if(h.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,o||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=(r=t.method||this.method||"GET",i=r.toUpperCase(),n.indexOf(i)>-1?i:r),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o,t)}function f(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof s?t.headers:new s(t.headers),this.url=t.url||""}}("undefined"!=typeof self?self:void 0)},function(e,t,r){"use strict";var n,i,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var u,c=[],p=!1,h=-1;function f(){p&&u&&(p=!1,u.length?c=u.concat(c):h=-1,c.length&&y())}function y(){if(!p){var e=l(f);p=!0;for(var t=c.length;t;){for(u=c,c=[];++h1)for(var r=1;r=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r(517),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||void 0,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||void 0}).call(this,r(127))},function(e,t,r){"use strict";(function(t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(n){var i=setTimeout;function o(){}function a(e){if("object"!==r(this))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],p(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,a._immediateFn(function(){var r=1===e._state?t.onFulfilled:t.onRejected;if(null!==r){var n;try{n=r(e._value)}catch(e){return void u(t.promise,e)}l(t.promise,n)}else(1===e._state?l:u)(t.promise,e._value)})):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":r(t))||"function"==typeof t)){var n=t.then;if(t instanceof a)return e._state=3,e._value=t,void c(e);if("function"==typeof n)return void p((i=n,o=t,function(){i.apply(o,arguments)}),e)}e._state=1,e._value=t,c(e)}catch(t){u(e,t)}var i,o}function u(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&a._immediateFn(function(){e._handled||a._unhandledRejectionFn(e._value)});for(var t=0,r=e._deferreds.length;t=e.endTime&&(e.currentTime=e.endTime)}}}]),t}();o.SuperMap.TimeFlowControl=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeFlowControl=t.TimeControlBase=t.LogoBase64=void 0;var n=r(304),i=r(303),o=r(523);t.LogoBase64=n.LogoBase64,t.TimeControlBase=i.TimeControlBase,t.TimeFlowControl=o.TimeFlowControl},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WKT=void 0;var n=function(){function e(e,t){for(var r=0;r0&&i.push(","),r=t[o].geometry,i.push(this.extractGeometry(r));return n&&i.push(")"),i.join("")}},{key:"extractGeometry",value:function(e){var t=e.CLASS_NAME.split(".")[2].toLowerCase();return this.extract[t]?("collection"===t?"GEOMETRYCOLLECTION":t.toUpperCase())+"("+this.extract[t].apply(this,[e])+")":null}}]),t}();i.SuperMap.Format.WKT=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WKT=t.GeoJSON=t.JSONFormat=t.Format=void 0;var n=r(129),i=r(17),o=r(128),a=r(525);t.Format=n.Format,t.JSONFormat=o.JSONFormat,t.GeoJSON=i.GeoJSON,t.WKT=a.WKT},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DateExt=void 0;var n=r(0);t.DateExt=n.SuperMap.Date={toISOString:function(){if("toISOString"in Date.prototype)return function(e){return e.toISOString()};var e=function(e,t){for(var r=e+"";r.length=0;r--)e[r]===t&&e.splice(r,1);return e},i.SuperMap.Util.indexOf=function(e,t){if(null==e)return-1;if("function"==typeof e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r=0&&parseFloat(s)<1?(e.style.filter="alpha(opacity="+100*s+")",e.style.opacity=s):1===parseFloat(s)&&(e.style.filter="",e.style.opacity="")},i.SuperMap.Util.applyDefaults=function(e,t){e=e||{};var r="function"==typeof window.Event&&t instanceof window.Event;for(var n in t)(void 0===e[n]||!r&&t.hasOwnProperty&&t.hasOwnProperty(n)&&!e.hasOwnProperty(n))&&(e[n]=t[n]);return!r&&t&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&!e.hasOwnProperty("toString")&&(e.toString=t.toString),e},i.SuperMap.Util.getParameterString=function(e){var t=[];for(var r in e){var i=e[r];if(null!=i&&"function"!=typeof i){var o;if("object"===(void 0===i?"undefined":n(i))&&i.constructor===Array){for(var a,s=[],l=0,u=i.length;l1?1/e:e},i.SuperMap.Util.getResolutionFromScale=function(e,t){var r;e&&(null==t&&(t="degrees"),r=1/(i.SuperMap.Util.normalizeScale(e)*i.SuperMap.INCHES_PER_UNIT[t]*i.SuperMap.DOTS_PER_INCH));return r},i.SuperMap.Util.getScaleFromResolution=function(e,t){return null==t&&(t="degrees"),e*i.SuperMap.INCHES_PER_UNIT[t]*i.SuperMap.DOTS_PER_INCH},i.SuperMap.IS_GECKO=-1===(o=navigator.userAgent.toLowerCase()).indexOf("webkit")&&-1!==o.indexOf("gecko"),i.SuperMap.Browser=function(){var e,t="",r="",n="pc",i=navigator.userAgent.toLowerCase();return i.indexOf("msie")>-1||i.indexOf("trident")>-1&&i.indexOf("rv")>-1?(t="msie",e=i.match(/msie ([\d.]+)/)||i.match(/rv:([\d.]+)/)):i.indexOf("chrome")>-1?(t="chrome",e=i.match(/chrome\/([\d.]+)/)):i.indexOf("firefox")>-1?(t="firefox",e=i.match(/firefox\/([\d.]+)/)):i.indexOf("opera")>-1?(t="opera",e=i.match(/version\/([\d.]+)/)):i.indexOf("safari")>-1&&(t="safari",e=i.match(/version\/([\d.]+)/)),r=e?e[1]:"",i.indexOf("ipad")>-1||i.indexOf("ipod")>-1||i.indexOf("iphone")>-1?n="apple":i.indexOf("android")>-1&&(r=(e=i.match(/version\/([\d.]+)/))?e[1]:"",n="android"),{name:t,version:r,device:n}}(),i.SuperMap.Util.getBrowser=function(){return i.SuperMap.Browser},i.SuperMap.Util.isSupportCanvas=(a=!0,s=i.SuperMap.Util.getBrowser(),document.createElement("canvas").getContext?("firefox"===s.name&&parseFloat(s.version)<5&&(a=!1),"safari"===s.name&&parseFloat(s.version)<4&&(a=!1),"opera"===s.name&&parseFloat(s.version)<10&&(a=!1),"msie"===s.name&&parseFloat(s.version)<9&&(a=!1)):a=!1,a),i.SuperMap.Util.supportCanvas=function(){return i.SuperMap.Util.isSupportCanvas},i.SuperMap.INCHES_PER_UNIT.degree=i.SuperMap.INCHES_PER_UNIT.dd,i.SuperMap.INCHES_PER_UNIT.meter=i.SuperMap.INCHES_PER_UNIT.m,i.SuperMap.INCHES_PER_UNIT.foot=i.SuperMap.INCHES_PER_UNIT.ft,i.SuperMap.INCHES_PER_UNIT.inch=i.SuperMap.INCHES_PER_UNIT.inches,i.SuperMap.INCHES_PER_UNIT.mile=i.SuperMap.INCHES_PER_UNIT.mi,i.SuperMap.INCHES_PER_UNIT.kilometer=i.SuperMap.INCHES_PER_UNIT.km,i.SuperMap.INCHES_PER_UNIT.yard=i.SuperMap.INCHES_PER_UNIT.yd,i.SuperMap.Util.isInTheSameDomain=function(e){if(!e)return!0;var t=e.indexOf("//"),r=document.location.toString(),n=r.indexOf("//");if(-1===t)return!0;var i,o=i=e.substring(0,t),a=r.substring(n+2);n=a.indexOf("/");var s=a.indexOf(":"),l=a.substring(0,n),u=document.location.protocol;if(-1!==s||(l+=":"+("http:"===u.toLowerCase()?80:443)),u.toLowerCase()!==o.toLowerCase())return!1;var c=(o=e.substring(t+2)).indexOf(":");t=o.indexOf("/");var p,h=o.substring(0,t);return-1!==c?p=o.substring(0,c):(p=o.substring(0,t),h+=":"+("http:"===i.toLowerCase()?80:443)),p===document.domain&&h===l},i.SuperMap.Util.calculateDpi=function(e,t,r,n,i){if(e&&t&&r){var o,a=e.getWidth(),s=e.getHeight(),l=t.w,u=t.h;if(i=i||6378137,"degree"===(n=n||"degrees").toLowerCase()||"degrees"===n.toLowerCase()||"dd"===n.toLowerCase()){var c=a/l,p=s/u;o=254/(c>p?c:p)/r/(2*Math.PI*i/360)/1e4}else{o=254/(a/l)/r/1e4}return o}},i.SuperMap.Util.toJSON=function(e){var t=e;if(null==t)return null;switch(t.constructor){case String:return t=(t=(t=(t=(t=(t=(t='"'+t.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var r=[],o=0,a=t.length;o0?"{"+c.join(",")+"}":"{}"}return t.toString()}},i.SuperMap.Util.getResolutionFromScaleDpi=function(e,t,r,n){return n=n||6378137,r=r||"",e>0&&t>0?(e=i.SuperMap.Util.normalizeScale(e),"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*n/360)/1e4:254/t/e/1e4):-1},i.SuperMap.Util.getScaleFromResolutionDpi=function(e,t,r,n){return n=n||6378137,r=r||"",e>0&&t>0?"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*n/360)/1e4:254/t/e/1e4:-1},i.SuperMap.Util.transformResult=function(e){return e.responseText&&"string"==typeof e.responseText&&(e=JSON.parse(e.responseText)),e},i.SuperMap.Util.copyAttributes=function(e,t){if(e=e||{},t)for(var r in t){var n=t[r];void 0!==n&&"CLASS_NAME"!==r&&"function"!=typeof n&&(e[r]=n)}return e},i.SuperMap.Util.copyAttributesWithClip=function(e,t,r){if(e=e||{},t)for(var n in t){var i=!1;if(r&&r.length)for(var o=0,a=r.length;o=0&&a<=1&&o<=1&&a>=0?new i.SuperMap.Geometry.Point(e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)):"No Intersection";else if(0==l&&0==u){var p=Math.max(e.y,t.y),h=Math.min(e.y,t.y),f=Math.max(e.x,t.x),y=Math.min(e.x,t.x);s=(r.y>=h&&r.y<=p||n.y>=h&&n.y<=p)&&r.x>=y&&r.x<=f||n.x>=y&&n.x<=f?"Coincident":"Parallel"}else s="Parallel";return s},i.SuperMap.Util.getTextBounds=function(e,t,r){document.body.appendChild(r),r.style.width="auto",r.style.height="auto",e.fontSize&&(r.style.fontSize=e.fontSize),e.fontFamily&&(r.style.fontFamily=e.fontFamily),e.fontWeight&&(r.style.fontWeight=e.fontWeight),r.style.position="relative",r.style.visibility="hidden",r.style.display="inline-block",r.innerHTML=t;var n=r.clientWidth,i=r.clientHeight;return document.body.removeChild(r),{textWidth:n,textHeight:i}}},function(e,t){e.exports=L},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AggregationQueryBuilderType=t.AggregationType=t.TopologyValidatorRule=t.SummaryType=t.StatisticAnalystMode=t.AnalystSizeUnit=t.AnalystAreaUnit=t.ClipAnalystMode=t.ChartType=t.ClientType=t.Exponent=t.VariogramMode=t.InterpolationAlgorithmType=t.SearchMode=t.PixelFormat=t.StatisticMode=t.UGCLayerType=t.LayerType=t.ColorSpaceType=t.GridType=t.TransferPreference=t.TransferTactic=t.EditType=t.DataReturnMode=t.SurfaceAnalystMethod=t.SmoothMethod=t.OutputType=t.OverlayOperationType=t.BufferEndType=t.TurnType=t.SupplyCenterType=t.SideType=t.DirectionType=t.LabelOverLengthMode=t.LabelBackShape=t.AlongLineDirection=t.FillGradientMode=t.TextAlignment=t.ColorGradientType=t.ThemeType=t.RangeMode=t.GraduatedMode=t.GraphAxesTextDisplayMode=t.ThemeGraphType=t.ThemeGraphTextFormat=t.EngineType=t.BufferRadiusUnit=t.Unit=t.MeasureMode=t.SpatialRelationType=t.SpatialQueryMode=t.JoinType=t.QueryOption=t.GeometryType=t.ServerType=t.DataFormat=void 0;var n=r(0),i=n.SuperMap.DataFormat={GEOJSON:"GEOJSON",ISERVER:"ISERVER"};t.DataFormat=i;var o=n.SuperMap.ServerType={ISERVER:"ISERVER",IPORTAL:"IPORTAL",ONLINE:"ONLINE"};t.ServerType=o;var a=n.SuperMap.GeometryType={LINE:"LINE",LINEM:"LINEM",POINT:"POINT",REGION:"REGION",ELLIPSE:"ELLIPSE",CIRCLE:"CIRCLE",TEXT:"TEXT",RECTANGLE:"RECTANGLE",UNKNOWN:"UNKNOWN"};t.GeometryType=a;var s=n.SuperMap.QueryOption={ATTRIBUTE:"ATTRIBUTE",ATTRIBUTEANDGEOMETRY:"ATTRIBUTEANDGEOMETRY",GEOMETRY:"GEOMETRY"};t.QueryOption=s;var l=n.SuperMap.JoinType={INNERJOIN:"INNERJOIN",LEFTJOIN:"LEFTJOIN"};t.JoinType=l;var u=n.SuperMap.SpatialQueryMode={CONTAIN:"CONTAIN",CROSS:"CROSS",DISJOINT:"DISJOINT",IDENTITY:"IDENTITY",INTERSECT:"INTERSECT",NONE:"NONE",OVERLAP:"OVERLAP",TOUCH:"TOUCH",WITHIN:"WITHIN"};t.SpatialQueryMode=u;var c=n.SuperMap.SpatialRelationType={CONTAIN:"CONTAIN",INTERSECT:"INTERSECT",WITHIN:"WITHIN"};t.SpatialRelationType=c;var p=n.SuperMap.MeasureMode={DISTANCE:"DISTANCE",AREA:"AREA"};t.MeasureMode=p;var h=n.SuperMap.Unit={METER:"METER",KILOMETER:"KILOMETER",MILE:"MILE",YARD:"YARD",DEGREE:"DEGREE",MILLIMETER:"MILLIMETER",CENTIMETER:"CENTIMETER",INCH:"INCH",DECIMETER:"DECIMETER",FOOT:"FOOT",SECOND:"SECOND",MINUTE:"MINUTE",RADIAN:"RADIAN"};t.Unit=h;var f=n.SuperMap.BufferRadiusUnit={CENTIMETER:"CENTIMETER",DECIMETER:"DECIMETER",FOOT:"FOOT",INCH:"INCH",KILOMETER:"KILOMETER",METER:"METER",MILE:"MILE",MILLIMETER:"MILLIMETER",YARD:"YARD"};t.BufferRadiusUnit=f;var y=n.SuperMap.EngineType={IMAGEPLUGINS:"IMAGEPLUGINS",OGC:"OGC",ORACLEPLUS:"ORACLEPLUS",SDBPLUS:"SDBPLUS",SQLPLUS:"SQLPLUS",UDB:"UDB"};t.EngineType=y;var d=n.SuperMap.ThemeGraphTextFormat={CAPTION:"CAPTION",CAPTION_PERCENT:"CAPTION_PERCENT",CAPTION_VALUE:"CAPTION_VALUE",PERCENT:"PERCENT",VALUE:"VALUE"};t.ThemeGraphTextFormat=d;var v=n.SuperMap.ThemeGraphType={AREA:"AREA",BAR:"BAR",BAR3D:"BAR3D",LINE:"LINE",PIE:"PIE",PIE3D:"PIE3D",POINT:"POINT",RING:"RING",ROSE:"ROSE",ROSE3D:"ROSE3D",STACK_BAR:"STACK_BAR",STACK_BAR3D:"STACK_BAR3D",STEP:"STEP"};t.ThemeGraphType=v;var m=n.SuperMap.GraphAxesTextDisplayMode={ALL:"ALL",NONE:"NONE",YAXES:"YAXES"};t.GraphAxesTextDisplayMode=m;var g=n.SuperMap.GraduatedMode={CONSTANT:"CONSTANT",LOGARITHM:"LOGARITHM",SQUAREROOT:"SQUAREROOT"};t.GraduatedMode=g;var b=n.SuperMap.RangeMode={CUSTOMINTERVAL:"CUSTOMINTERVAL",EQUALINTERVAL:"EQUALINTERVAL",LOGARITHM:"LOGARITHM",QUANTILE:"QUANTILE",SQUAREROOT:"SQUAREROOT",STDDEVIATION:"STDDEVIATION"};t.RangeMode=b;var S=n.SuperMap.ThemeType={DOTDENSITY:"DOTDENSITY",GRADUATEDSYMBOL:"GRADUATEDSYMBOL",GRAPH:"GRAPH",LABEL:"LABEL",RANGE:"RANGE",UNIQUE:"UNIQUE"};t.ThemeType=S;var _=n.SuperMap.ColorGradientType={BLACK_WHITE:"BLACKWHITE",BLUE_BLACK:"BLUEBLACK",BLUE_RED:"BLUERED",BLUE_WHITE:"BLUEWHITE",CYAN_BLACK:"CYANBLACK",CYAN_BLUE:"CYANBLUE",CYAN_GREEN:"CYANGREEN",CYAN_WHITE:"CYANWHITE",GREEN_BLACK:"GREENBLACK",GREEN_BLUE:"GREENBLUE",GREEN_ORANGE_VIOLET:"GREENORANGEVIOLET",GREEN_RED:"GREENRED",GREEN_WHITE:"GREENWHITE",PINK_BLACK:"PINKBLACK",PINK_BLUE:"PINKBLUE",PINK_RED:"PINKRED",PINK_WHITE:"PINKWHITE",RAIN_BOW:"RAINBOW",RED_BLACK:"REDBLACK",RED_WHITE:"REDWHITE",SPECTRUM:"SPECTRUM",TERRAIN:"TERRAIN",YELLOW_BLACK:"YELLOWBLACK",YELLOW_BLUE:"YELLOWBLUE",YELLOW_GREEN:"YELLOWGREEN",YELLOW_RED:"YELLOWRED",YELLOW_WHITE:"YELLOWWHITE"};t.ColorGradientType=_;var P=n.SuperMap.TextAlignment={TOPLEFT:"TOPLEFT",TOPCENTER:"TOPCENTER",TOPRIGHT:"TOPRIGHT",BASELINELEFT:"BASELINELEFT",BASELINECENTER:"BASELINECENTER",BASELINERIGHT:"BASELINERIGHT",BOTTOMLEFT:"BOTTOMLEFT",BOTTOMCENTER:"BOTTOMCENTER",BOTTOMRIGHT:"BOTTOMRIGHT",MIDDLELEFT:"MIDDLELEFT",MIDDLECENTER:"MIDDLECENTER",MIDDLERIGHT:"MIDDLERIGHT"};t.TextAlignment=P;var O=n.SuperMap.FillGradientMode={NONE:"NONE",LINEAR:"LINEAR",RADIAL:"RADIAL",CONICAL:"CONICAL",SQUARE:"SQUARE"};t.FillGradientMode=O;var T=n.SuperMap.AlongLineDirection={NORMAL:"ALONG_LINE_NORMAL",LB_TO_RT:"LEFT_BOTTOM_TO_RIGHT_TOP",LT_TO_RB:"LEFT_TOP_TO_RIGHT_BOTTOM",RB_TO_LT:"RIGHT_BOTTOM_TO_LEFT_TOP",RT_TO_LB:"RIGHT_TOP_TO_LEFT_BOTTOM"};t.AlongLineDirection=T;var w=n.SuperMap.LabelBackShape={DIAMOND:"DIAMOND",ELLIPSE:"ELLIPSE",MARKER:"MARKER",NONE:"NONE",RECT:"RECT",ROUNDRECT:"ROUNDRECT",TRIANGLE:"TRIANGLE"};t.LabelBackShape=w;var M=n.SuperMap.LabelOverLengthMode={NEWLINE:"NEWLINE",NONE:"NONE",OMIT:"OMIT"};t.LabelOverLengthMode=M;var C=n.SuperMap.DirectionType={EAST:"EAST",NONE:"NONE",NORTH:"NORTH",SOURTH:"SOURTH",WEST:"WEST"};t.DirectionType=C;var x=n.SuperMap.SideType={LEFT:"LEFT",MIDDLE:"MIDDLE",NONE:"NONE",RIGHT:"RIGHT"};t.SideType=x;var E=n.SuperMap.SupplyCenterType={FIXEDCENTER:"FIXEDCENTER",NULL:"NULL",OPTIONALCENTER:"OPTIONALCENTER"};t.SupplyCenterType=E;var A=n.SuperMap.TurnType={AHEAD:"AHEAD",BACK:"BACK",END:"END",LEFT:"LEFT",NONE:"NONE",RIGHT:"RIGHT"};t.TurnType=A;var L=n.SuperMap.BufferEndType={FLAT:"FLAT",ROUND:"ROUND"};t.BufferEndType=L;var k=n.SuperMap.OverlayOperationType={CLIP:"CLIP",ERASE:"ERASE",IDENTITY:"IDENTITY",INTERSECT:"INTERSECT",UNION:"UNION",UPDATE:"UPDATE",XOR:"XOR"};t.OverlayOperationType=k;var j=n.SuperMap.OutputType={INDEXEDHDFS:"INDEXEDHDFS",UDB:"UDB",MONGODB:"MONGODB",PG:"PG"};t.OutputType=j;var F=n.SuperMap.SmoothMethod={BSPLINE:"BSPLINE",POLISH:"POLISH"};t.SmoothMethod=F;var I=n.SuperMap.SurfaceAnalystMethod={ISOLINE:"ISOLINE",ISOREGION:"ISOREGION"};t.SurfaceAnalystMethod=I;var R=n.SuperMap.DataReturnMode={DATASET_AND_RECORDSET:"DATASET_AND_RECORDSET",DATASET_ONLY:"DATASET_ONLY",RECORDSET_ONLY:"RECORDSET_ONLY"};t.DataReturnMode=R;var N=n.SuperMap.EditType={ADD:"add",UPDATE:"update",DELETE:"delete"};t.EditType=N;var D=n.SuperMap.TransferTactic={LESS_TIME:"LESS_TIME",LESS_TRANSFER:"LESS_TRANSFER",LESS_WALK:"LESS_WALK",MIN_DISTANCE:"MIN_DISTANCE"};t.TransferTactic=D;var G=n.SuperMap.TransferPreference={BUS:"BUS",SUBWAY:"SUBWAY",NO_SUBWAY:"NO_SUBWAY",NONE:"NONE"};t.TransferPreference=G;var B=n.SuperMap.GridType={CROSS:"CROSS",GRID:"GRID",POINT:"POINT"};t.GridType=B;var U=n.SuperMap.ColorSpaceType={CMYK:"CMYK",RGB:"RGB"};t.ColorSpaceType=U;var V=n.SuperMap.LayerType={UGC:"UGC",WMS:"WMS",WFS:"WFS",CUSTOM:"CUSTOM"};t.LayerType=V;var J=n.SuperMap.UGCLayerType={THEME:"THEME",VECTOR:"VECTOR",GRID:"GRID",IMAGE:"IMAGE"};t.UGCLayerType=J;var z=n.SuperMap.StatisticMode={AVERAGE:"AVERAGE",MAX:"MAX",MIN:"MIN",STDDEVIATION:"STDDEVIATION",SUM:"SUM",VARIANCE:"VARIANCE"};t.StatisticMode=z;var H=n.SuperMap.PixelFormat={BIT16:"BIT16",BIT32:"BIT32",BIT64:"BIT64",SINGLE:"SINGLE",DOUBLE:"DOUBLE",UBIT1:"UBIT1",UBIT4:"UBIT4",UBIT8:"UBIT8",UBIT24:"UBIT24",UBIT32:"UBIT32"};t.PixelFormat=H;var q=n.SuperMap.SearchMode={KDTREE_FIXED_COUNT:"KDTREE_FIXED_COUNT",KDTREE_FIXED_RADIUS:"KDTREE_FIXED_RADIUS",NONE:"NONE",QUADTREE:"QUADTREE"};t.SearchMode=q;var W=n.SuperMap.InterpolationAlgorithmType={KRIGING:"KRIGING",SimpleKriging:"SimpleKriging",UniversalKriging:"UniversalKriging"};t.InterpolationAlgorithmType=W;var Q=n.SuperMap.VariogramMode={EXPONENTIAL:"EXPONENTIAL",GAUSSIAN:"GAUSSIAN",SPHERICAL:"SPHERICAL"};t.VariogramMode=Q;var Y=n.SuperMap.Exponent={EXP1:"EXP1",EXP2:"EXP2"};t.Exponent=Y;var X=n.SuperMap.ClientType={IP:"IP",REFERER:"Referer",REQUESTIP:"RequestIP",NONE:"NONE",SERVER:"SERVER",WEB:"WEB"};t.ClientType=X;var K=n.SuperMap.ChartType={BAR:"Bar",BAR3D:"Bar3D",CIRCLE:"Circle",PIE:"Pie",POINT:"Point",LINE:"Line",RING:"Ring"};t.ChartType=K;var Z=n.SuperMap.ClipAnalystMode={CLIP:"clip",INTERSECT:"intersect"};t.ClipAnalystMode=Z;var $=n.SuperMap.AnalystAreaUnit={SQUAREMETER:"SquareMeter",SQUAREKILOMETER:"SquareKiloMeter",HECTARE:"Hectare",ARE:"Are",ACRE:"Acre",SQUAREFOOT:"SquareFoot",SQUAREYARD:"SquareYard",SQUAREMILE:"SquareMile"};t.AnalystAreaUnit=$;var ee=n.SuperMap.AnalystSizeUnit={METER:"Meter",KILOMETER:"Kilometer",YARD:"Yard",FOOT:"Foot",MILE:"Mile"};t.AnalystSizeUnit=ee;var te=n.SuperMap.StatisticAnalystMode={MAX:"max",MIN:"min",AVERAGE:"average",SUM:"sum",VARIANCE:"variance",STDDEVIATION:"stdDeviation"};t.StatisticAnalystMode=te;var re=n.SuperMap.SummaryType={SUMMARYMESH:"SUMMARYMESH",SUMMARYREGION:"SUMMARYREGION"};t.SummaryType=re;var ne=n.SuperMap.TopologyValidatorRule={REGIONNOOVERLAP:"REGIONNOOVERLAP",REGIONNOOVERLAPWITH:"REGIONNOOVERLAPWITH",REGIONCONTAINEDBYREGION:"REGIONCONTAINEDBYREGION",REGIONCOVEREDBYREGION:"REGIONCOVEREDBYREGION",LINENOOVERLAP:"LINENOOVERLAP",LINENOOVERLAPWITH:"LINENOOVERLAPWITH",POINTNOIDENTICAL:"POINTNOIDENTICAL"};t.TopologyValidatorRule=ne;var ie=n.SuperMap.AggregationType={GEOHASH_GRID:"geohash_grid",FILTER:"filter"};t.AggregationType=ie;var oe=n.SuperMap.AggregationQueryBuilderType={GEO_BOUNDING_BOX:"geo_bounding_box"};t.AggregationQueryBuilderType=oe},function(e,t,r){"use strict";var n=o(r(2));r(103),r(170),r(160);var i=o(r(11));function o(e){return e&&e.__esModule?e:{default:e}}n.default.supermap=n.default.supermap||{},n.default.supermap.control=n.default.supermap.control||{},n.default.Control.Attribution.include({options:{position:"bottomright",prefix:i.default.Prefix}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElasticSearch=t.ThemeStyle=t.CartoCSS=t.TokenServiceParameter=t.ServerInfo=t.SecurityManager=t.KeyServiceParameter=t.SUtil=t.LevelRendererVector=t.Util=t.Transformable=t.Storage=t.SmicText=t.SmicStar=t.SmicSector=t.SmicRing=t.SmicRectangle=t.SmicPolygon=t.SmicPoint=t.SmicIsogon=t.SmicImage=t.SmicEllipse=t.SmicCircle=t.SmicBrokenLine=t.Shape=t.PaintLayer=t.Painter=t.Matrix=t.Math=t.Log=t.Http=t.Handler=t.Group=t.Eventful=t.LevelRendererEvent=t.Env=t.Easing=t.LevelRendererCurve=t.Config=t.ComputeBoundingBox=t.Color=t.Clip=t.Area=t.Animator=t.Animation=t.Render=t.LevelRenderer=t.FeatureTheme=t.Sector=t.FeatureRectangle=t.FeaturePolygon=t.Point=t.FeatureLine=t.Label=t.Image=t.FeatureCircle=t.ShapeParameters=t.ShapeFactory=t.ThemeVector=t.Ring=t.RankSymbol=t.OverlayPoint=t.Pie=t.Line=t.Graph=t.Circle=t.Bar3D=t.Bar=t.OnlineServiceBase=t.FilterField=t.DataItemOrderBy=t.DataItemType=t.ServiceStatus=t.OnlineQueryDatasParameter=t.OnlineData=t.Online=t.VectorClipJobsService=t.VectorClipJobsParameter=t.Vector=t.UpdateTurnNodeWeightService=t.UpdateTurnNodeWeightParameters=t.UpdateEdgeWeightService=t.UpdateEdgeWeightParameters=t.UGCSubLayer=t.UGCMapLayer=t.UGCLayer=t.TransferSolutionParameters=t.TransportationAnalystResultSetting=t.TransportationAnalystParameter=t.TransferSolutionService=t.TransferPathService=t.TransferPathParameters=t.TransferLine=t.TopologyValidatorJobsService=t.TopologyValidatorJobsParameter=t.TilesetsService=t.GeometryBatchAnalystService=t.ThiessenAnalystService=void 0,t.ThiessenAnalystParameters=t.ThemeUniqueItem=t.ThemeUnique=t.ThemeService=t.ThemeRangeItem=t.ThemeRange=t.ThemeParameters=t.ThemeOffset=t.ThemeMemoryData=t.ThemeLabelUniqueItem=t.ThemeLabelText=t.ThemeLabelItem=t.ThemeLabelBackground=t.ThemeLabelAlongLine=t.ThemeLabel=t.ThemeGridUniqueItem=t.ThemeGridUnique=t.ThemeGridRangeItem=t.ThemeGridRange=t.ThemeGraphText=t.ThemeGraphSize=t.ThemeGraphItem=t.ThemeGraphAxes=t.ThemeGraph=t.ThemeGraduatedSymbolStyle=t.ThemeGraduatedSymbol=t.ThemeFlow=t.ThemeDotDensity=t.Theme=t.TerrainCurvatureCalculationService=t.TerrainCurvatureCalculationParameters=t.SurfaceAnalystService=t.SurfaceAnalystParametersSetting=t.SurfaceAnalystParameters=t.SupplyCenter=t.SummaryRegionJobsService=t.SummaryRegionJobParameter=t.SummaryMeshJobsService=t.SummaryMeshJobParameter=t.SummaryAttributesJobsService=t.SummaryAttributesJobsParameter=t.StopQueryService=t.StopQueryParameters=t.SpatialAnalystBase=t.SingleObjectQueryJobsService=t.SingleObjectQueryJobsParameter=t.SetLayerStatusService=t.SetLayerStatusParameters=t.SetLayersInfoService=t.SetLayersInfoParameters=t.SetLayerInfoService=t.SetLayerInfoParameters=t.ServerTheme=t.ServerTextStyle=t.ServerStyle=t.ServerGeometry=t.ServerFeature=t.ServerColor=t.RouteLocatorService=t.RouteLocatorParameters=t.RouteCalculateMeasureService=t.RouteCalculateMeasureParameters=t.Route=t.QueryService=t.QueryParameters=t.QueryBySQLService=t.QueryBySQLParameters=t.QueryByGeometryService=t.QueryByGeometryParameters=t.QueryByDistanceService=t.QueryByDistanceParameters=t.QueryByBoundsService=t.QueryByBoundsParameters=t.ProcessingServiceBase=t.PointWithMeasure=t.OverlayGeoJobsService=t.OverlayGeoJobParameter=t.OverlayAnalystService=t.OverlayAnalystParameters=t.OverlapDisplayedOptions=t.OutputSetting=t.NetworkAnalystServiceBase=t.MeasureService=t.MeasureParameters=t.MathExpressionAnalysisService=t.MathExpressionAnalysisParameters=t.MapService=t.LinkItem=t.LayerStatus=t.LabelThemeCell=t.LabelSymbolCell=t.LabelMixedTextStyle=t.LabelMatrixCell=t.LabelImageCell=t.KernelDensityJobsService=t.KernelDensityJobParameter=t.JoinItem=t.InterpolationRBFAnalystParameters=t.InterpolationKrigingAnalystParameters=t.InterpolationIDWAnalystParameters=void 0,t.InterpolationAnalystService=t.InterpolationAnalystParameters=t.UGCImage=t.Grid=t.GetLayersInfoService=t.GetGridCellInfosService=t.GetGridCellInfosParameters=t.GetFieldsService=t.GetFeaturesServiceBase=t.GetFeaturesParametersBase=t.GetFeaturesBySQLService=t.GetFeaturesBySQLParameters=t.GetFeaturesByIDsService=t.GetFeaturesByIDsParameters=t.GetFeaturesByGeometryService=t.GetFeaturesByGeometryParameters=t.GetFeaturesByBufferService=t.GetFeaturesByBufferParameters=t.GetFeaturesByBoundsService=t.GetFeaturesByBoundsParameters=t.GeoRelationAnalystService=t.GeoRelationAnalystParameters=t.GeometryThiessenAnalystParameters=t.GeometrySurfaceAnalystParameters=t.GeometryOverlayAnalystParameters=t.GeometryBufferAnalystParameters=t.GeoHashGridAggParameter=t.GeoDecodingParameter=t.GeoCodingParameter=t.GeoBoundingBoxQueryBuilderParameter=t.GenerateSpatialDataService=t.GenerateSpatialDataParameters=t.FindTSPPathsService=t.FindTSPPathsParameters=t.FindServiceAreasService=t.FindServiceAreasParameters=t.FindPathService=t.FindPathParameters=t.FindMTSPPathsService=t.FindMTSPPathsParameters=t.FindLocationService=t.FindLocationParameters=t.FindClosestFacilitiesService=t.FindClosestFacilitiesParameters=t.FilterParameter=t.FilterAggParameter=t.FieldStatisticsParameters=t.FieldStatisticService=t.FieldParameters=t.FacilityAnalystUpstream3DService=t.FacilityAnalystUpstream3DParameters=t.FacilityAnalystTraceup3DService=t.FacilityAnalystTraceup3DParameters=t.FacilityAnalystTracedown3DService=t.FacilityAnalystTracedown3DParameters=t.FacilityAnalystStreamService=t.FacilityAnalystStreamParameters=t.FacilityAnalystSources3DService=t.FacilityAnalystSources3DParameters=t.FacilityAnalystSinks3DService=t.FacilityAnalystSinks3DParameters=t.FacilityAnalyst3DParameters=t.EditFeaturesService=t.EditFeaturesParameters=t.DensityKernelAnalystParameters=t.DensityAnalystService=t.DatasourceConnectionInfo=t.DatasetThiessenAnalystParameters=t.DatasetSurfaceAnalystParameters=t.DatasetOverlayAnalystParameters=t.DatasetInfo=t.DatasetBufferAnalystParameters=t.DataReturnOption=t.DataFlowService=t.ComputeWeightMatrixService=t.ComputeWeightMatrixParameters=t.CommonServiceBase=t.ColorDictionary=t.ClipParameter=t.ChartQueryService=t.ChartQueryParameters=t.ChartQueryFilterParameter=t.ChartFeatureInfoSpecsService=t.BurstPipelineAnalystService=t.BurstPipelineAnalystParameters=t.BuffersAnalystJobsService=t.BuffersAnalystJobsParameter=t.BufferSetting=t.BufferDistance=t.BufferAnalystService=t.BufferAnalystParameters=t.AreaSolarRadiationService=t.AreaSolarRadiationParameters=t.AggQueryBuilderParameter=t.AggregationParameter=t.AddressMatchService=t.IPortalServicesQueryParam=t.IPortalServiceBase=t.IPortalService=t.IPortalMapsQueryParam=void 0,t.IPortalMap=t.IPortal=t.IManagerServiceBase=t.IManagerCreateNodeParam=t.IManager=t.FetchRequest=t.getRequestTimeout=t.setRequestTimeout=t.isCORS=t.setCORS=t.WKT=t.JSONFormat=t.GeoJSON=t.Format=t.TimeFlowControl=t.TimeControlBase=t.GeometryVector=t.CommonUtil=t.Size=t.Pixel=t.LonLat=t.Geometry=t.Feature=t.Events=t.Event=t.DateExt=t.Credential=t.Bounds=t.ArrayExt=t.FunctionExt=t.NumberExt=t.StringExt=t.Rectangle=t.Polygon=t.GeometryPoint=t.MultiPolygon=t.MultiPoint=t.MultiLineString=t.LineString=t.LinearRing=t.GeoText=t.Curve=t.Collection=t.AggregationType=t.AggregationQueryBuilderType=t.OutputType=t.TopologyValidatorRule=t.StatisticAnalystMode=t.AnalystSizeUnit=t.AnalystAreaUnit=t.ClipAnalystMode=t.Exponent=t.VariogramMode=t.InterpolationAlgorithmType=t.SummaryType=t.SearchMode=t.PixelFormat=t.StatisticMode=t.UGCLayerType=t.LayerType=t.ClientType=t.GridType=t.TransferPreference=t.TransferTactic=t.EditType=t.ChartType=t.ColorSpaceType=t.SurfaceAnalystMethod=t.SmoothMethod=t.BufferEndType=t.TurnType=t.SupplyCenterType=t.OverlayOperationType=t.DirectionType=t.LabelOverLengthMode=t.LabelBackShape=t.AlongLineDirection=t.SideType=t.FillGradientMode=t.TextAlignment=t.ColorGradientType=t.ThemeType=t.RangeMode=t.GraduatedMode=t.GraphAxesTextDisplayMode=t.ThemeGraphType=t.ThemeGraphTextFormat=t.SpatialQueryMode=t.BufferRadiusUnit=t.Unit=t.DataReturnMode=t.SpatialRelationType=t.MeasureMode=t.EngineType=t.JoinType=t.QueryOption=t.GeometryType=t.ServerType=t.DataFormat=t.SuperMap=void 0;var n=r(0),i=r(3),o=r(529),a=r(526),s=r(524),l=r(522),u=r(513),c=r(511),p=r(436),h=r(433),f=r(429),y=r(425),d=r(424),v=r(420);t.SuperMap=n.SuperMap,t.DataFormat=i.DataFormat,t.ServerType=i.ServerType,t.GeometryType=i.GeometryType,t.QueryOption=i.QueryOption,t.JoinType=i.JoinType,t.EngineType=i.EngineType,t.MeasureMode=i.MeasureMode,t.SpatialRelationType=i.SpatialRelationType,t.DataReturnMode=i.DataReturnMode,t.Unit=i.Unit,t.BufferRadiusUnit=i.BufferRadiusUnit,t.SpatialQueryMode=i.SpatialQueryMode,t.ThemeGraphTextFormat=i.ThemeGraphTextFormat,t.ThemeGraphType=i.ThemeGraphType,t.GraphAxesTextDisplayMode=i.GraphAxesTextDisplayMode,t.GraduatedMode=i.GraduatedMode,t.RangeMode=i.RangeMode,t.ThemeType=i.ThemeType,t.ColorGradientType=i.ColorGradientType,t.TextAlignment=i.TextAlignment,t.FillGradientMode=i.FillGradientMode,t.SideType=i.SideType,t.AlongLineDirection=i.AlongLineDirection,t.LabelBackShape=i.LabelBackShape,t.LabelOverLengthMode=i.LabelOverLengthMode,t.DirectionType=i.DirectionType,t.OverlayOperationType=i.OverlayOperationType,t.SupplyCenterType=i.SupplyCenterType,t.TurnType=i.TurnType,t.BufferEndType=i.BufferEndType,t.SmoothMethod=i.SmoothMethod,t.SurfaceAnalystMethod=i.SurfaceAnalystMethod,t.ColorSpaceType=i.ColorSpaceType,t.ChartType=i.ChartType,t.EditType=i.EditType,t.TransferTactic=i.TransferTactic,t.TransferPreference=i.TransferPreference,t.GridType=i.GridType,t.ClientType=i.ClientType,t.LayerType=i.LayerType,t.UGCLayerType=i.UGCLayerType,t.StatisticMode=i.StatisticMode,t.PixelFormat=i.PixelFormat,t.SearchMode=i.SearchMode,t.SummaryType=i.SummaryType,t.InterpolationAlgorithmType=i.InterpolationAlgorithmType,t.VariogramMode=i.VariogramMode,t.Exponent=i.Exponent,t.ClipAnalystMode=i.ClipAnalystMode,t.AnalystAreaUnit=i.AnalystAreaUnit,t.AnalystSizeUnit=i.AnalystSizeUnit,t.StatisticAnalystMode=i.StatisticAnalystMode,t.TopologyValidatorRule=i.TopologyValidatorRule,t.OutputType=i.OutputType,t.AggregationQueryBuilderType=i.AggregationQueryBuilderType,t.AggregationType=i.AggregationType,t.Collection=o.Collection,t.Curve=o.Curve,t.GeoText=o.GeoText,t.LinearRing=o.LinearRing,t.LineString=o.LineString,t.MultiLineString=o.MultiLineString,t.MultiPoint=o.MultiPoint,t.MultiPolygon=o.MultiPolygon,t.GeometryPoint=o.GeometryPoint,t.Polygon=o.Polygon,t.Rectangle=o.Rectangle,t.StringExt=o.StringExt,t.NumberExt=o.NumberExt,t.FunctionExt=o.FunctionExt,t.ArrayExt=o.ArrayExt,t.Bounds=o.Bounds,t.Credential=o.Credential,t.DateExt=o.DateExt,t.Event=o.Event,t.Events=o.Events,t.Feature=o.Feature,t.Geometry=o.Geometry,t.LonLat=o.LonLat,t.Pixel=o.Pixel,t.Size=o.Size,t.CommonUtil=o.CommonUtil,t.GeometryVector=o.GeometryVector,t.TimeControlBase=s.TimeControlBase,t.TimeFlowControl=s.TimeFlowControl,t.Format=a.Format,t.GeoJSON=a.GeoJSON,t.JSONFormat=a.JSONFormat,t.WKT=a.WKT,t.setCORS=y.setCORS,t.isCORS=y.isCORS,t.setRequestTimeout=y.setRequestTimeout,t.getRequestTimeout=y.getRequestTimeout,t.FetchRequest=y.FetchRequest,t.IManager=l.IManager,t.IManagerCreateNodeParam=l.IManagerCreateNodeParam,t.IManagerServiceBase=l.IManagerServiceBase,t.IPortal=u.IPortal,t.IPortalMap=u.IPortalMap,t.IPortalMapsQueryParam=u.IPortalMapsQueryParam,t.IPortalService=u.IPortalService,t.IPortalServiceBase=u.IPortalServiceBase,t.IPortalServicesQueryParam=u.IPortalServicesQueryParam,t.AddressMatchService=c.AddressMatchService,t.AggregationParameter=c.AggregationParameter,t.AggQueryBuilderParameter=c.AggQueryBuilderParameter,t.AreaSolarRadiationParameters=c.AreaSolarRadiationParameters,t.AreaSolarRadiationService=c.AreaSolarRadiationService,t.BufferAnalystParameters=c.BufferAnalystParameters,t.BufferAnalystService=c.BufferAnalystService,t.BufferDistance=c.BufferDistance,t.BufferSetting=c.BufferSetting,t.BuffersAnalystJobsParameter=c.BuffersAnalystJobsParameter,t.BuffersAnalystJobsService=c.BuffersAnalystJobsService,t.BurstPipelineAnalystParameters=c.BurstPipelineAnalystParameters,t.BurstPipelineAnalystService=c.BurstPipelineAnalystService,t.ChartFeatureInfoSpecsService=c.ChartFeatureInfoSpecsService,t.ChartQueryFilterParameter=c.ChartQueryFilterParameter,t.ChartQueryParameters=c.ChartQueryParameters,t.ChartQueryService=c.ChartQueryService,t.ClipParameter=c.ClipParameter,t.ColorDictionary=c.ColorDictionary,t.CommonServiceBase=c.CommonServiceBase,t.ComputeWeightMatrixParameters=c.ComputeWeightMatrixParameters,t.ComputeWeightMatrixService=c.ComputeWeightMatrixService,t.DataFlowService=c.DataFlowService,t.DataReturnOption=c.DataReturnOption,t.DatasetBufferAnalystParameters=c.DatasetBufferAnalystParameters,t.DatasetInfo=c.DatasetInfo,t.DatasetOverlayAnalystParameters=c.DatasetOverlayAnalystParameters,t.DatasetSurfaceAnalystParameters=c.DatasetSurfaceAnalystParameters,t.DatasetThiessenAnalystParameters=c.DatasetThiessenAnalystParameters,t.DatasourceConnectionInfo=c.DatasourceConnectionInfo,t.DensityAnalystService=c.DensityAnalystService,t.DensityKernelAnalystParameters=c.DensityKernelAnalystParameters,t.EditFeaturesParameters=c.EditFeaturesParameters,t.EditFeaturesService=c.EditFeaturesService,t.FacilityAnalyst3DParameters=c.FacilityAnalyst3DParameters,t.FacilityAnalystSinks3DParameters=c.FacilityAnalystSinks3DParameters,t.FacilityAnalystSinks3DService=c.FacilityAnalystSinks3DService,t.FacilityAnalystSources3DParameters=c.FacilityAnalystSources3DParameters,t.FacilityAnalystSources3DService=c.FacilityAnalystSources3DService,t.FacilityAnalystStreamParameters=c.FacilityAnalystStreamParameters,t.FacilityAnalystStreamService=c.FacilityAnalystStreamService,t.FacilityAnalystTracedown3DParameters=c.FacilityAnalystTracedown3DParameters,t.FacilityAnalystTracedown3DService=c.FacilityAnalystTracedown3DService,t.FacilityAnalystTraceup3DParameters=c.FacilityAnalystTraceup3DParameters,t.FacilityAnalystTraceup3DService=c.FacilityAnalystTraceup3DService,t.FacilityAnalystUpstream3DParameters=c.FacilityAnalystUpstream3DParameters,t.FacilityAnalystUpstream3DService=c.FacilityAnalystUpstream3DService,t.FieldParameters=c.FieldParameters,t.FieldStatisticService=c.FieldStatisticService,t.FieldStatisticsParameters=c.FieldStatisticsParameters,t.FilterAggParameter=c.FilterAggParameter,t.FilterParameter=c.FilterParameter,t.FindClosestFacilitiesParameters=c.FindClosestFacilitiesParameters,t.FindClosestFacilitiesService=c.FindClosestFacilitiesService,t.FindLocationParameters=c.FindLocationParameters,t.FindLocationService=c.FindLocationService,t.FindMTSPPathsParameters=c.FindMTSPPathsParameters,t.FindMTSPPathsService=c.FindMTSPPathsService,t.FindPathParameters=c.FindPathParameters,t.FindPathService=c.FindPathService,t.FindServiceAreasParameters=c.FindServiceAreasParameters,t.FindServiceAreasService=c.FindServiceAreasService,t.FindTSPPathsParameters=c.FindTSPPathsParameters,t.FindTSPPathsService=c.FindTSPPathsService,t.GenerateSpatialDataParameters=c.GenerateSpatialDataParameters,t.GenerateSpatialDataService=c.GenerateSpatialDataService,t.GeoBoundingBoxQueryBuilderParameter=c.GeoBoundingBoxQueryBuilderParameter,t.GeoCodingParameter=c.GeoCodingParameter,t.GeoDecodingParameter=c.GeoDecodingParameter,t.GeoHashGridAggParameter=c.GeoHashGridAggParameter,t.GeometryBufferAnalystParameters=c.GeometryBufferAnalystParameters,t.GeometryOverlayAnalystParameters=c.GeometryOverlayAnalystParameters,t.GeometrySurfaceAnalystParameters=c.GeometrySurfaceAnalystParameters,t.GeometryThiessenAnalystParameters=c.GeometryThiessenAnalystParameters,t.GeoRelationAnalystParameters=c.GeoRelationAnalystParameters,t.GeoRelationAnalystService=c.GeoRelationAnalystService,t.GetFeaturesByBoundsParameters=c.GetFeaturesByBoundsParameters,t.GetFeaturesByBoundsService=c.GetFeaturesByBoundsService,t.GetFeaturesByBufferParameters=c.GetFeaturesByBufferParameters,t.GetFeaturesByBufferService=c.GetFeaturesByBufferService,t.GetFeaturesByGeometryParameters=c.GetFeaturesByGeometryParameters,t.GetFeaturesByGeometryService=c.GetFeaturesByGeometryService,t.GetFeaturesByIDsParameters=c.GetFeaturesByIDsParameters,t.GetFeaturesByIDsService=c.GetFeaturesByIDsService,t.GetFeaturesBySQLParameters=c.GetFeaturesBySQLParameters,t.GetFeaturesBySQLService=c.GetFeaturesBySQLService,t.GetFeaturesParametersBase=c.GetFeaturesParametersBase,t.GetFeaturesServiceBase=c.GetFeaturesServiceBase,t.GetFieldsService=c.GetFieldsService,t.GetGridCellInfosParameters=c.GetGridCellInfosParameters,t.GetGridCellInfosService=c.GetGridCellInfosService,t.GetLayersInfoService=c.GetLayersInfoService,t.Grid=c.Grid,t.UGCImage=c.UGCImage,t.InterpolationAnalystParameters=c.InterpolationAnalystParameters,t.InterpolationAnalystService=c.InterpolationAnalystService,t.InterpolationIDWAnalystParameters=c.InterpolationIDWAnalystParameters,t.InterpolationKrigingAnalystParameters=c.InterpolationKrigingAnalystParameters,t.InterpolationRBFAnalystParameters=c.InterpolationRBFAnalystParameters,t.JoinItem=c.JoinItem,t.KernelDensityJobParameter=c.KernelDensityJobParameter,t.KernelDensityJobsService=c.KernelDensityJobsService,t.LabelImageCell=c.LabelImageCell,t.LabelMatrixCell=c.LabelMatrixCell,t.LabelMixedTextStyle=c.LabelMixedTextStyle,t.LabelSymbolCell=c.LabelSymbolCell,t.LabelThemeCell=c.LabelThemeCell,t.LayerStatus=c.LayerStatus,t.LinkItem=c.LinkItem,t.MapService=c.MapService,t.MathExpressionAnalysisParameters=c.MathExpressionAnalysisParameters,t.MathExpressionAnalysisService=c.MathExpressionAnalysisService,t.MeasureParameters=c.MeasureParameters,t.MeasureService=c.MeasureService,t.NetworkAnalystServiceBase=c.NetworkAnalystServiceBase,t.OutputSetting=c.OutputSetting,t.OverlapDisplayedOptions=c.OverlapDisplayedOptions,t.OverlayAnalystParameters=c.OverlayAnalystParameters,t.OverlayAnalystService=c.OverlayAnalystService,t.OverlayGeoJobParameter=c.OverlayGeoJobParameter,t.OverlayGeoJobsService=c.OverlayGeoJobsService,t.PointWithMeasure=c.PointWithMeasure,t.ProcessingServiceBase=c.ProcessingServiceBase,t.QueryByBoundsParameters=c.QueryByBoundsParameters,t.QueryByBoundsService=c.QueryByBoundsService,t.QueryByDistanceParameters=c.QueryByDistanceParameters,t.QueryByDistanceService=c.QueryByDistanceService,t.QueryByGeometryParameters=c.QueryByGeometryParameters,t.QueryByGeometryService=c.QueryByGeometryService,t.QueryBySQLParameters=c.QueryBySQLParameters,t.QueryBySQLService=c.QueryBySQLService,t.QueryParameters=c.QueryParameters,t.QueryService=c.QueryService,t.Route=c.Route,t.RouteCalculateMeasureParameters=c.RouteCalculateMeasureParameters,t.RouteCalculateMeasureService=c.RouteCalculateMeasureService,t.RouteLocatorParameters=c.RouteLocatorParameters,t.RouteLocatorService=c.RouteLocatorService,t.ServerColor=c.ServerColor,t.ServerFeature=c.ServerFeature,t.ServerGeometry=c.ServerGeometry,t.ServerStyle=c.ServerStyle,t.ServerTextStyle=c.ServerTextStyle,t.ServerTheme=c.ServerTheme,t.SetLayerInfoParameters=c.SetLayerInfoParameters,t.SetLayerInfoService=c.SetLayerInfoService,t.SetLayersInfoParameters=c.SetLayersInfoParameters,t.SetLayersInfoService=c.SetLayersInfoService,t.SetLayerStatusParameters=c.SetLayerStatusParameters,t.SetLayerStatusService=c.SetLayerStatusService,t.SingleObjectQueryJobsParameter=c.SingleObjectQueryJobsParameter,t.SingleObjectQueryJobsService=c.SingleObjectQueryJobsService,t.SpatialAnalystBase=c.SpatialAnalystBase,t.StopQueryParameters=c.StopQueryParameters,t.StopQueryService=c.StopQueryService,t.SummaryAttributesJobsParameter=c.SummaryAttributesJobsParameter,t.SummaryAttributesJobsService=c.SummaryAttributesJobsService,t.SummaryMeshJobParameter=c.SummaryMeshJobParameter,t.SummaryMeshJobsService=c.SummaryMeshJobsService,t.SummaryRegionJobParameter=c.SummaryRegionJobParameter,t.SummaryRegionJobsService=c.SummaryRegionJobsService,t.SupplyCenter=c.SupplyCenter,t.SurfaceAnalystParameters=c.SurfaceAnalystParameters,t.SurfaceAnalystParametersSetting=c.SurfaceAnalystParametersSetting,t.SurfaceAnalystService=c.SurfaceAnalystService,t.TerrainCurvatureCalculationParameters=c.TerrainCurvatureCalculationParameters,t.TerrainCurvatureCalculationService=c.TerrainCurvatureCalculationService,t.Theme=c.Theme,t.ThemeDotDensity=c.ThemeDotDensity,t.ThemeFlow=c.ThemeFlow,t.ThemeGraduatedSymbol=c.ThemeGraduatedSymbol,t.ThemeGraduatedSymbolStyle=c.ThemeGraduatedSymbolStyle,t.ThemeGraph=c.ThemeGraph,t.ThemeGraphAxes=c.ThemeGraphAxes,t.ThemeGraphItem=c.ThemeGraphItem,t.ThemeGraphSize=c.ThemeGraphSize,t.ThemeGraphText=c.ThemeGraphText,t.ThemeGridRange=c.ThemeGridRange,t.ThemeGridRangeItem=c.ThemeGridRangeItem,t.ThemeGridUnique=c.ThemeGridUnique,t.ThemeGridUniqueItem=c.ThemeGridUniqueItem,t.ThemeLabel=c.ThemeLabel,t.ThemeLabelAlongLine=c.ThemeLabelAlongLine,t.ThemeLabelBackground=c.ThemeLabelBackground,t.ThemeLabelItem=c.ThemeLabelItem,t.ThemeLabelText=c.ThemeLabelText,t.ThemeLabelUniqueItem=c.ThemeLabelUniqueItem,t.ThemeMemoryData=c.ThemeMemoryData,t.ThemeOffset=c.ThemeOffset,t.ThemeParameters=c.ThemeParameters,t.ThemeRange=c.ThemeRange,t.ThemeRangeItem=c.ThemeRangeItem,t.ThemeService=c.ThemeService,t.ThemeUnique=c.ThemeUnique,t.ThemeUniqueItem=c.ThemeUniqueItem,t.ThiessenAnalystParameters=c.ThiessenAnalystParameters,t.ThiessenAnalystService=c.ThiessenAnalystService,t.GeometryBatchAnalystService=c.GeometryBatchAnalystService,t.TilesetsService=c.TilesetsService,t.TopologyValidatorJobsParameter=c.TopologyValidatorJobsParameter,t.TopologyValidatorJobsService=c.TopologyValidatorJobsService,t.TransferLine=c.TransferLine,t.TransferPathParameters=c.TransferPathParameters,t.TransferPathService=c.TransferPathService,t.TransferSolutionService=c.TransferSolutionService,t.TransportationAnalystParameter=c.TransportationAnalystParameter,t.TransportationAnalystResultSetting=c.TransportationAnalystResultSetting,t.TransferSolutionParameters=c.TransferSolutionParameters,t.UGCLayer=c.UGCLayer,t.UGCMapLayer=c.UGCMapLayer,t.UGCSubLayer=c.UGCSubLayer,t.UpdateEdgeWeightParameters=c.UpdateEdgeWeightParameters,t.UpdateEdgeWeightService=c.UpdateEdgeWeightService,t.UpdateTurnNodeWeightParameters=c.UpdateTurnNodeWeightParameters,t.UpdateTurnNodeWeightService=c.UpdateTurnNodeWeightService,t.Vector=c.Vector,t.VectorClipJobsParameter=c.VectorClipJobsParameter,t.VectorClipJobsService=c.VectorClipJobsService,t.Online=p.Online,t.OnlineData=p.OnlineData,t.OnlineQueryDatasParameter=p.OnlineQueryDatasParameter,t.ServiceStatus=p.ServiceStatus,t.DataItemType=p.DataItemType,t.DataItemOrderBy=p.DataItemOrderBy,t.FilterField=p.FilterField,t.OnlineServiceBase=p.OnlineServiceBase,t.Bar=v.Bar,t.Bar3D=v.Bar3D,t.Circle=v.Circle,t.Graph=v.Graph,t.Line=v.Line,t.Pie=v.Pie,t.OverlayPoint=v.OverlayPoint,t.RankSymbol=v.RankSymbol,t.Ring=v.Ring,t.ThemeVector=v.ThemeVector,t.ShapeFactory=v.ShapeFactory,t.ShapeParameters=v.ShapeParameters,t.FeatureCircle=v.FeatureCircle,t.Image=v.Image,t.Label=v.Label,t.FeatureLine=v.FeatureLine,t.Point=v.Point,t.FeaturePolygon=v.FeaturePolygon,t.FeatureRectangle=v.FeatureRectangle,t.Sector=v.Sector,t.FeatureTheme=v.FeatureTheme,t.LevelRenderer=v.LevelRenderer,t.Render=v.Render,t.Animation=v.Animation,t.Animator=v.Animator,t.Area=v.Area,t.Clip=v.Clip,t.Color=v.Color,t.ComputeBoundingBox=v.ComputeBoundingBox,t.Config=v.Config,t.LevelRendererCurve=v.LevelRendererCurve,t.Easing=v.Easing,t.Env=v.Env,t.LevelRendererEvent=v.LevelRendererEvent,t.Eventful=v.Eventful,t.Group=v.Group,t.Handler=v.Handler,t.Http=v.Http,t.Log=v.Log,t.Math=v.Math,t.Matrix=v.Matrix,t.Painter=v.Painter,t.PaintLayer=v.PaintLayer,t.Shape=v.Shape,t.SmicBrokenLine=v.SmicBrokenLine,t.SmicCircle=v.SmicCircle,t.SmicEllipse=v.SmicEllipse,t.SmicImage=v.SmicImage,t.SmicIsogon=v.SmicIsogon,t.SmicPoint=v.SmicPoint,t.SmicPolygon=v.SmicPolygon,t.SmicRectangle=v.SmicRectangle,t.SmicRing=v.SmicRing,t.SmicSector=v.SmicSector,t.SmicStar=v.SmicStar,t.SmicText=v.SmicText,t.Storage=v.Storage,t.Transformable=v.Transformable,t.Util=v.Util,t.LevelRendererVector=v.LevelRendererVector,t.SUtil=v.SUtil,t.KeyServiceParameter=h.KeyServiceParameter,t.SecurityManager=h.SecurityManager,t.ServerInfo=h.ServerInfo,t.TokenServiceParameter=h.TokenServiceParameter,t.CartoCSS=d.CartoCSS,t.ThemeStyle=d.ThemeStyle,t.ElasticSearch=f.ElasticSearch},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommonServiceBase=void 0;var n=function(){function e(e,t){for(var r=0;r-1&&"?"===n?e.url+=r.getUrlParameters():e.url.indexOf("?")>-1&&"?"!==n?e.url+="&"+r.getUrlParameters():e.url+="?"+r.getUrlParameters()}t.calculatePollingTimes(),t._processSuccess=e.success,t._processFailed=e.failure,e.scope=t,e.success=t.getUrlCompleted,e.failure=t.getUrlFailed,t.options=e,t._commit(t.options)}},{key:"getCredential",value:function(e){var t=e,r=void 0,n=void 0;switch(this.serverType){case c.ServerType.IPORTAL:(r=(n=l.SecurityManager.getToken(t))?new s.Credential(n,"token"):null)||(r=(n=l.SecurityManager.getKey(t))?new s.Credential(n,"key"):null);break;case c.ServerType.ONLINE:r=(n=l.SecurityManager.getKey(t))?new s.Credential(n,"key"):null;break;default:r=(n=l.SecurityManager.getToken(t))?new s.Credential(n,"token"):null}return r}},{key:"getUrlCompleted",value:function(e){this._processSuccess(e)}},{key:"getUrlFailed",value:function(e){this.totalTimes>0?(this.totalTimes--,this.ajaxPolling()):this._processFailed(e)}},{key:"ajaxPolling",value:function(){var e=this,t=e.options.url,r=/^http:\/\/([a-z]{9}|(\d+\.){3}\d+):\d{0,4}/;e.index=parseInt(Math.random()*e.length),e.url=e.urls[e.index],t=t.replace(r,r.exec(e.url)[0]),e.options.url=t,e.options.isInTheSameDomain=u.Util.isInTheSameDomain(t),e._commit(e.options)}},{key:"calculatePollingTimes",value:function(){var e=this;e.times?e.totalTimes>e.POLLING_TIMES?e.times>e.POLLING_TIMES?e.totalTimes=e.POLLING_TIMES:e.totalTimes=e.times:e.timese.POLLING_TIMES&&(e.totalTimes=e.POLLING_TIMES),e.totalTimes--}},{key:"isServiceSupportPolling",value:function(){return!("SuperMap.REST.ThemeService"===this.CLASS_NAME||"SuperMap.REST.EditFeaturesService"===this.CLASS_NAME)}},{key:"serviceProcessCompleted",value:function(e){e=u.Util.transformResult(e),this.events.triggerEvent("processCompleted",{result:e})}},{key:"serviceProcessFailed",value:function(e){var t=(e=u.Util.transformResult(e)).error||e;this.events.triggerEvent("processFailed",{error:t})}},{key:"_commit",value:function(e){"POST"!==e.method&&"PUT"!==e.method||(e.params&&(e.url=u.Util.urlAppend(e.url,u.Util.getParameterString(e.params||{}))),e.params=e.data),o.FetchRequest.commit(e.method,e.url,e.params,{headers:e.headers,withCredentials:e.withCredentials,timeout:e.async?0:null,proxy:e.proxy}).then(function(e){return e.text?e.text():e.json?e.json():e}).then(function(t){var r=t;("string"==typeof t&&(r=(new p.JSONFormat).read(t)),(!r||r.error||r.code>=300&&304!==r.code)&&(r=r&&r.error?{error:r.error}:{error:r}),r.error)?(e.scope?h.FunctionExt.bind(e.failure,e.scope):e.failure)(r):(r.succeed=void 0==r.succeed||r.succeed,(e.scope?h.FunctionExt.bind(e.success,e.scope):e.success)(r))})}}]),e}();i.SuperMap.CommonServiceBase=f},function(e,t,r){"use strict";var n=2*Math.PI,i=r(55);e.exports=function(e){return Math.abs(e)<=3.14159265359?e:e-i(e)*n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceBase=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};var a=t.ServiceBase=o.default.Evented.extend({options:{url:null,proxy:null,serverType:null,withCredentials:!1},initialize:function(e,t){e&&(e=e.indexOf("/")!==e.length-1?e:e.substr(0,e.length-1)),this.url=e,o.default.setOptions(this,t),this.fire("initialized",this)},destroy:function(){this.fire("destroy",this)}});o.default.supermap.ServiceBase=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServerGeometry=void 0;var n=function(){function e(e,t){for(var r=0;r0){if(1===r)return new o.Point(t[0].x,t[0].y);for(var n=[],i=0;i0){if(1===r){for(var n=[],i=0;i0){if(1===p){for(e=0,r=[];e=0;P--)if(S[_]=-1,y[P].getBounds().containsBounds(y[_].getBounds())){d[_]=-1*d[P],d[_]<0&&(S[_]=P);break}for(var O=0;O0?a.push(y[O]):(a[S[O]].components=a[S[O]].components.concat(y[O].components),a.push(""))}else{a=new Array;for(var T=0;T0&&a.length>0&&(a[a.length-1].components=a[a.length-1].components.concat(h),h=[]),a.push(y[T])),T==i-1){var w=a.length;if(w)a[w-1].components=a[w-1].components.concat(h);else for(var M=0,C=h.length;M=0;T--)if(P[O]=-1,v[T].getBounds().containsBounds(v[O].getBounds())){m[O]=-1*m[T],m[O]<0&&(P[O]=T);break}for(var w=0;w0?u.push(v[w]):(u[P[w]].components=u[P[w]].components.concat(v[w].components),u.push(""))}else{u=new Array;for(var M=0;M0&&u.length>0&&(u[u.length-1].components=u[u.length-1].components.concat(y),y=[]),u.push(v[M])),M==i-1){var C=u.length;if(C)u[C-1].components=u[C-1].components.concat(y);else for(var x=0,E=y.length;xe[i]){var o=e[i];e[i]=e[n],e[n]=o;var a=t[i];if(t[i]=t[n],t[n]=a,r&&r.length>0){var s=r[i];r[i]=r[n],r[n]=s}}}}]),e}();i.SuperMap.ServerGeometry=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpatialAnalystBase=void 0;var n=function(){function e(e,t){for(var r=0;rLeaflet\n with © SuperMap iClient",Common:{attribution:"Map Data © SuperMap iServer"},Online:{attribution:"Map Data © SuperMap Online"},ECharts:{attribution:"© 2017 百度 ECharts"},MapV:{attribution:"© 2017 百度 MapV "},Turf:{attribution:"© turfjs"},Baidu:{attribution:"Map Data © 2017 Baidu - GS(2016)2089号 - Data © 长地万方"},Cloud:{attribution:"Map Data ©2014 SuperMap - GS(2014)6070号-data©Navinfo"},Tianditu:{attribution:"Map Data "}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SUtil=void 0;var n=function(){function e(e,t){for(var r=0;ra-2?a-1:f+1][0]+o[0],t[f>a-2?a-1:f+1][1]+o[1]],g=[t[f>a-3?a-1:f+2][0]+o[0],t[f>a-3?a-1:f+2][1]+o[1]]);var b=y*y,S=y*b;s.push([_(d[0],v[0],m[0],g[0],y,b,S),_(d[1],v[1],m[1],g[1],y,b,S)])}return s;function _(e,t,r,n,i,o,a){var s=.5*(r-e),l=.5*(n-t);return(2*(t-r)+s+l)*a+(-3*(t-r)-2*s-l)*o+s*i+t}}},{key:"SUtil_dashedLineTo",value:function(e,t,r,n,i,o,a){var s=[5,5];if(o="number"!=typeof o?5:o,e.setLineDash)return s[0]=o,s[1]=o,a&&a instanceof Array?e.setLineDash(a):e.setLineDash(s),e.moveTo(t,r),void e.lineTo(n,i);var l=n-t,u=i-r,c=Math.floor(Math.sqrt(l*l+u*u)/o);l/=c,u/=c;for(var p=!0,h=0;h0&&(this.setCtxGlobalAlpha(e,"stroke",r),e.stroke()),this.setCtxGlobalAlpha(e,"reset",r);break;case"stroke":this.setCtxGlobalAlpha(e,"stroke",r),r.lineWidth>0&&e.stroke(),this.setCtxGlobalAlpha(e,"reset",r);break;default:this.setCtxGlobalAlpha(e,"fill",r),e.fill(),this.setCtxGlobalAlpha(e,"reset",r)}this.drawText(e,r,this.style),this.afterBrush(e)}},{key:"beforeBrush",value:function(e,t){var r=this.style;return this.brushTypeOnly&&(r.brushType=this.brushTypeOnly),t&&(r=this.getHighlightStyle(r,this.highlightStyle||{},this.brushTypeOnly)),"stroke"==this.brushTypeOnly&&(r.strokeColor=r.strokeColor||r.color),e.save(),this.doClip(e),this.setContext(e,r),this.setTransform(e),r}},{key:"afterBrush",value:function(e){e.restore()}},{key:"setContext",value:function(e,t){for(var r=[["color","fillStyle"],["strokeColor","strokeStyle"],["opacity","globalAlpha"],["lineCap","lineCap"],["lineJoin","lineJoin"],["miterLimit","miterLimit"],["lineWidth","lineWidth"],["shadowBlur","shadowBlur"],["shadowColor","shadowColor"],["shadowOffsetX","shadowOffsetX"],["shadowOffsetY","shadowOffsetY"]],n=0,i=r.length;n=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height&&l.SUtil.Util_area.isInside(this,this.style,e,t)}},{key:"drawText",value:function(e,r,n){if(void 0!==r.text&&!1!==r.text){var i=r.textColor||r.color||r.strokeColor;e.fillStyle=i;var o,a,s,l,u=10,c=r.textPosition||this.textPosition||"top",p=[];switch(p=this.refOriginalPosition&&2===this.refOriginalPosition.length?this.refOriginalPosition:[0,0],c){case"inside":case"top":case"bottom":case"left":case"right":if(this.getRect){var h=(n||r).__rect||this.getRect(n||r);switch(c){case"inside":s=h.x+h.width/2,l=h.y+h.height/2,o="center",a="middle","stroke"!=r.brushType&&i==r.color&&(e.fillStyle="#fff");break;case"left":s=h.x-u,l=h.y+h.height/2,o="end",a="middle";break;case"right":s=h.x+h.width+u,l=h.y+h.height/2,o="start",a="middle";break;case"top":s=h.x+h.width/2,l=h.y-u,o="center",a="bottom";break;case"bottom":s=h.x+h.width/2,l=h.y+h.height+u,o="center",a="top"}}break;case"start":case"end":var f=0,y=0,d=0,v=0;if(void 0!==r.pointList){var m=r.pointList;if(m.length<2)return;var g=m.length;switch(c){case"start":f=m[0][0]+p[0],y=m[1][0]+p[0],d=m[0][1]+p[1],v=m[1][1]+p[1];break;case"end":f=m[g-2][0]+p[0],y=m[g-1][0]+p[0],d=m[g-2][1]+p[1],v=m[g-1][1]+p[1]}}else f=r.xStart+p[0]||0,y=r.xEnd+p[0]||0,d=r.yStart+p[1]||0,v=r.yEnd+p[1]||0;switch(c){case"start":o=f-1||(t[n]=e[n]);return t}},{key:"toGeometry",value:function(e){var t=this,r=e.type;switch("polygon"===r&&(r=g.GeometryType.REGION),r.toUpperCase()){case g.GeometryType.POINT:return t.toGeoPoint(e);case g.GeometryType.LINE:return t.toGeoLine(e);case g.GeometryType.LINEM:return t.toGeoLinem(e);case g.GeometryType.REGION:return t.toGeoRegion(e);case g.GeometryType.RECTANGLE:return t.toGeoRectangle(e);case g.GeometryType.POINTEPS:return t.toGeoPoint(e);default:return e}}},{key:"toGeoPoint",value:function(e){var t=e.points||[{x:e.x,y:e.y}],r=(e.parts||[t.length]).length;if(r<1)return null;if(1===r)return{type:"Point",x:parseFloat(t[0].x),y:parseFloat(t[0].y)};for(var n=0,i=[];n0?t.push(c):o.push([c]),a===i-1){var p=o.length;if(p)o[p-1]=o[p-1].concat(t);else for(var h=0,f=t.length;h-1?"&":"?")+"_method="+e,"string"!=typeof r&&(r=JSON.stringify(r)),this.post(t,r,n)},_processUrl:function(e,t){if(this._isMVTRequest(e))return e;if(-1===e.indexOf(".json")&&!t.withoutFormatSuffix)if(e.indexOf("?")<0)e+=".json";else{var r=e.split("?");2===r.length&&(e=r[0]+".json?"+r[1])}return t&&t.proxy&&("function"==typeof t.proxy?e=t.proxy(e):(e=decodeURIComponent(e),e=t.proxy+encodeURIComponent(e))),e},_fetch:function(e,t,r,n){return(r=r||{}).headers=r.headers||{},r.headers["Content-Type"]||(r.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8"),r.timeout?this._timeout(r.timeout,u(e,{method:n,headers:r.headers,body:"PUT"===n||"POST"===n?t:void 0,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:p()}).then(function(e){return e})):u(e,{method:n,body:"PUT"===n||"POST"===n?t:void 0,headers:r.headers,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:p()}).then(function(e){return e})},_fetchJsonp:function(e,t){return t=t||{},(0,a.default)(e,{method:"GET",timeout:t.timeout}).then(function(e){return e})},_timeout:function(e,t){return new Promise(function(r,n){setTimeout(function(){n(new Error("timeout"))},e),t.then(r,n)})},_getParameterString:function(e){var t=[];for(var r in e){var i=e[r];if(null!=i&&"function"!=typeof i){var o;if("object"===(void 0===i?"undefined":n(i))&&i.constructor===Array){for(var a,s=[],l=0,u=i.length;l-1||e.indexOf(".pbf")>-1}};s.SuperMap.Util.RequestJSONPPromise={limitLength:1500,queryKeys:[],queryValues:[],supermap_callbacks:{},addQueryStrings:function(e){for(var t in e){this.queryKeys.push(t),"string"!=typeof e[t]&&(e[t]=s.SuperMap.Util.toJSON(e[t]));var r=encodeURIComponent(e[t]);this.queryValues.push(r)}},issue:function(e){for(var t=this,r=t.getUid(),n=e.url,i=[],o=new Promise(function(e){t.supermap_callbacks[r]=function(n){delete t.supermap_callbacks[r],e(n)}}),a=n,s=0,l=t.queryKeys?t.queryKeys.length:0,u=0;u=t.limitLength){if(0==s)return!1;i.push(a),a=n,s=0,u--}else if(a.length+t.queryKeys[u].length+2+t.queryValues[u].length>t.limitLength)for(var c=t.queryValues[u];c.length>0;){var p=t.limitLength-a.length-t.queryKeys[u].length-2;a.indexOf("?")>-1?a+="&":a+="?";var h=c.substring(0,p);"%"===h.substring(p-1,p)?(p-=1,h=c.substring(0,p)):"%"===h.substring(p-2,p-1)&&(p-=2,h=c.substring(0,p)),a+=t.queryKeys[u]+"="+h,c=c.substring(p),h.length>0&&(i.push(a),a=n,s=0)}else s++,a.indexOf("?")>-1?a+="&":a+="?",a+=t.queryKeys[u]+"="+t.queryValues[u];return i.push(a),t.send(i,"SuperMap.Util.RequestJSONPPromise.supermap_callbacks["+r+"]",e&&e.proxy),o},getUid:function(){return 1e3*(new Date).getTime()+Math.floor(1e17*Math.random())},send:function(e,t,r){var n=e.length;if(n>0)for(var i=(new Date).getTime(),o=0;o-1?s+="&":s+="?",s+="sectionCount="+n,s+="§ionIndex="+o,s+="&jsonpUserID="+i,r&&(s=decodeURIComponent(s),s=r+encodeURIComponent(s)),(0,a.default)(s,{jsonpCallbackFunction:t,timeout:3e4})}},GET:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings(e.params),this.issue(e)},POST:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},PUT:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},DELETE:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LineString=void 0;var n=function(){function e(e,t){for(var r=0;r2;return r&&function e(t,r,n){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,r);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,r,n)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(n):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeComponent",this).apply(this,arguments),r}},{key:"getSortedSegments",value:function(){for(var e,t,r=this.components.length-1,n=new Array(r),i=0;i=1?1:g)<=-1?-1:g,p=180*Math.acos(g)/Math.PI,s=(p=i.x==r.x?t.x>r.x&&n.x>r.x||t.xf*t.x+y&&n.y>f*n.x+y||t.yr.y?n.xr.x&&(l=!1):i.xf*n.x+y&&(l=!1):i.x>r.x?n.y>r.y&&(l=!1):n.y=0?180*Math.atan(b)/Math.PI:Math.abs(180*Math.atan(b)/Math.PI)+90,_=Math.abs(t.y);r.y==_&&_==i.y&&r.x=0?b>=0?c+=u:c=180-(c-90)+u:c=b>0?c-180+u:90-c+u:P>=0?b>=0?c-=u:c=180-(c-90)-u:c=b>=0?c-180-u:90-c-u,c=c*Math.PI/180;var T=t.x+a*Math.cos(c),w=t.y+a*Math.sin(c);h.push(new o.Point(T,w))}h.push(i)}return h}},{key:"createLineEPS",value:function(e){var r=[],n=e.length;if(null==e||n<2)return e;for(var i=0;i=15){var v=parseInt(l.axis3DParameter),m=[o[0]-v,o[1]+v];l.axisUseArrow?(y.push([m[0]+1.5,m[1]-7.5]),y.push([m[0]-1,m[1]+1]),y.push([m[0]+7.5,m[1]-1.5]),d.push([m[0],m[1]])):d.push([m[0],m[1]]),d.push([o[0],o[1]])}d.push([o[2]+5,o[1]])}else{var g=Math.abs(o[1]-o[3])/f,b=o[3];d.push([o[0],b-5]);for(var S=0;S=15){var O=parseInt(l.axis3DParameter),T=[o[0]-O,o[1]+O];l.axisUseArrow?(y.push([T[0]+1.5,T[1]-7.5]),y.push([T[0]-1,T[1]+1]),y.push([T[0]+7.5,T[1]-1.5]),d.push([T[0],T[1]])):d.push([T[0],T[1]]),d.push([o[0],o[1]])}d.push([o[2]+5,o[1]])}if(l.axisUseArrow){var w=[[o[2]+5,o[1]+4],[o[2]+13,o[1]],[o[2]+5,o[1]-4]],M=[[o[0]-4,o[3]-5],[o[0],o[3]-13],[o[0]+4,o[3]-5]],C=new s.Polygon(w);C.style={fillColor:"#008acd"},_.Util.copyAttributesWithClip(C.style,l.axisStyle),p.push(e.createShape(C));var x=new s.Polygon(M);if(x.style={fillColor:"#008acd"},_.Util.copyAttributesWithClip(x.style,l.axisStyle),p.push(e.createShape(x)),l.axis3DParameter&&!isNaN(l.axis3DParameter)&&l.axis3DParameter>=15){var E=new s.Polygon(y);E.style={fillColor:"#008acd"},_.Util.copyAttributesWithClip(E.style,l.axisStyle),p.push(e.createShape(E))}}i=d;var A=new a.Line(i);A.style={strokeLinecap:"butt",strokeLineJoin:"round",strokeColor:"#008acd",strokeWidth:1},l.axisStyle&&_.Util.copyAttributesWithClip(A.style,l.axisStyle),A.clickable=!1,A.hoverable=!1;var L=[e.createShape(A)],k=[];if(l.axisYLabels&&l.axisYLabels.length&&l.axisYLabels.length>0){var j=l.axisYLabels,F=j.length,I=[0,0];if(l.axisYLabelsOffset&&l.axisYLabelsOffset.length&&(I=l.axisYLabelsOffset),1==F){var R=new c.Label(o[0]-5+I[0],o[3]+I[1],j[0]);R.style={labelAlign:"right"},l.axisYLabelsStyle&&_.Util.copyAttributesWithClip(R.style,l.axisYLabelsStyle),R.clickable=!1,R.hoverable=!1,k.push(e.createShape(R))}else for(var N=o[3],D=Math.abs(o[1]-o[3])/(F-1),G=0;G0){var V=l.axisXLabels,J=V.length,z=[0,0];if(l.axisXLabelsOffset&&l.axisXLabelsOffset.length&&(z=l.axisXLabelsOffset),n&&n.xPositions&&n.xPositions.length&&n.xPositions.length==J)for(var H=n.xPositions,q=0;q=0&&r[i]&&_.Util.copyAttributesWithClip(a,r[i]),n&&n.length&&void 0!==o)for(var s=n,l=s.length,u=parseFloat(o),c=0;cthis.right)&&(this.right=r.right),(null==this.top||r.top>this.top)&&(this.top=r.top))}}},{key:"containsLonLat",value:function(e,t){"boolean"==typeof t&&(t={inclusive:t}),t=t||{};var r=this.contains(e.lon,e.lat,t.inclusive),n=t.worldBounds;if(n&&!r){var i=n.getWidth(),o=(n.left+n.right)/2,a=Math.round((e.lon-o)/i);r=this.containsLonLat({lon:e.lon-a*i,lat:e.lat},{inclusive:t.inclusive})}return r}},{key:"containsPixel",value:function(e,t){return this.contains(e.x,e.y,t)}},{key:"contains",value:function(e,t,r){if(null==r&&(r=!0),null==e||null==t)return!1;e=l.Util.toFloat(e),t=l.Util.toFloat(t);var n=!1;return n=r?e>=this.left&&e<=this.right&&t>=this.bottom&&t<=this.top:e>this.left&&ethis.bottom&&t=r.bottom&&e.bottom<=r.top||r.bottom>=e.bottom&&r.bottom<=e.top,a=e.top>=r.bottom&&e.top<=r.top||r.top>e.bottom&&r.top=r.left&&e.left<=r.right||r.left>=e.left&&r.left<=e.right,l=e.right>=r.left&&e.right<=r.right||r.right>=e.left&&r.right<=e.right;n=(o||a)&&(s||l)}if(t.worldBounds&&!n){var u=t.worldBounds,c=u.getWidth(),p=!u.containsBounds(r),h=!u.containsBounds(e);p&&!h?(e=e.add(-c,0),n=r.intersectsBounds(e,{inclusive:t.inclusive})):h&&!p&&(r=r.add(-c,0),n=e.intersectsBounds(r,{inclusive:t.inclusive}))}return n}},{key:"containsBounds",value:function(e,t,r){null==t&&(t=!1),null==r&&(r=!0);var n=this.contains(e.left,e.bottom,r),i=this.contains(e.right,e.bottom,r),o=this.contains(e.left,e.top,r),a=this.contains(e.right,e.top,r);return t?n||i||o||a:n&&i&&o&&a}},{key:"determineQuadrant",value:function(e){var t="",r=this.getCenterLonLat();return t+=e.lat=e.right&&i.right>e.right;)i=i.add(-o,0);var a=i.left+r;ae.left&&i.right-n>e.right&&(i=i.add(-o,0))}return i}},{key:"toServerJSONObject",value:function(){return{rightTop:{x:this.right,y:this.top},leftBottom:{x:this.left,y:this.bottom},left:this.left,right:this.right,top:this.top,bottom:this.bottom}}},{key:"destroy",value:function(){this.left=null,this.right=null,this.top=null,this.bottom=null,this.centerLonLat=null}}],[{key:"fromString",value:function(t,r){var n=t.split(",");return e.fromArray(n,r)}},{key:"fromArray",value:function(t,r){return!0===r?new e(t[1],t[0],t[3],t[2]):new e(t[0],t[1],t[2],t[3])}},{key:"fromSize",value:function(t){return new e(0,t.h,t.w,0)}},{key:"oppositeQuadrant",value:function(e){var t="";return t+="t"===e.charAt(0)?"b":"t",t+="l"===e.charAt(1)?"r":"l"}}]),e}();i.SuperMap.Bounds=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NormalizeScale=t.GetResolutionFromScaleDpi=t.scaleToResolution=t.resolutionToScale=t.getMeterPerMapUnit=t.toSuperMapGeometry=t.toGeoJSON=t.supermap_callbacks=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n},a=r(5);var s=t.supermap_callbacks={};o.default.Util.supermap_callbacks=s;var l=t.toGeoJSON=function(e){return e?JSON.parse((new a.GeoJSON).write(e)):e},u=t.toSuperMapGeometry=function(e){if(!e)return e;var t,r=new a.GeoJSON;if(-1!=["FeatureCollection","Feature","Geometry"].indexOf(e.type))t=r.read(e,e.type);else if("function"==typeof e.toGeoJSON){var n=e.toGeoJSON();t=n?r.read(n,n.type):e}var i=t;return o.default.Util.isArray(t)&&(1===t.length?i=t[0]:t.length>1&&(i=[],t.map(function(e){return i.push(e.geometry),e}))),i&&i.geometry?i.geometry:i},c=t.getMeterPerMapUnit=function(e){var t;if(e===a.Unit.METER)t=1;else if(e===a.Unit.DEGREE)t=2*Math.PI*6378137/360;else if(e===a.Unit.KILOMETER)t=.001;else if(e===a.Unit.INCH)t=1/.025399999918;else{if(e!==a.Unit.FOOT)return t;t=.3048}return t},p=t.resolutionToScale=function(e,t,r){var n=e*t*(1/.0254)*c(r);return n=1/n},h=t.scaleToResolution=function(e,t,r){var n=e*t*(1/.0254)*c(r);return n=1/n},f=t.GetResolutionFromScaleDpi=function(e,t,r,n){return n=n||6378137,r=r||"",e>0&&t>0?(e=o.default.Util.NormalizeScale(e),"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*n/360)/1e4:254/t/e/1e4):-1},y=t.NormalizeScale=function(e){return e>1?1/e:e};o.default.Util.toGeoJSON=l,o.default.Util.toSuperMapGeometry=u,o.default.Util.resolutionToScale=p,o.default.Util.scaleToResolution=h,o.default.Util.getMeterPerMapUnit=c,o.default.Util.GetResolutionFromScaleDpi=f,o.default.Util.NormalizeScale=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommontypesConversion=void 0;var n,i=function(){function e(e,t){for(var r=0;r=c[2]||c[1]<=c[3])&&(this.DVBOrigonPoint=[c[0],c[3]],this.DVBWidth=Math.abs(c[2]-c[0]),this.DVBHeight=Math.abs(c[1]-c[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-s[0],this.DVBOrigonPoint[1]-s[1]],!0)}},{key:"resetLocation",value:function(e){e&&(this.lonlat=e);var t=this.getLocalXY(this.lonlat);t[0]+=this.XOffset,t[1]+=this.YOffset,this.location=t;var r=this.width,n=this.height,i=this.location;return this.chartBounds=new o.Bounds(i[0]-r/2,i[1]+n/2,i[0]+r/2,i[1]-n/2),this.resetLinearGradient(),i}},{key:"resetLinearGradient",value:function(){}},{key:"shapesConvertToRelativeCoordinate",value:function(){for(var e=this.shapes,t=this.location,r=0,n=e.length;r=0?n.push(parseFloat(i[a].toString()).toFixed(r)):n.push(parseFloat(i[a].toString()))}catch(e){throw new Error("not a number")}return n.length===t.length&&n},i.SuperMap.Feature.Theme.Graph=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;ro&&(o=e+s+100,n.width=o,r=!0),t+l>a&&(a=t+l+100,n.height=a,r=!0),e<-s&&(o+=s=100*Math.ceil(-e/100),n.width=o,r=!0),t<-l&&(a+=l=100*Math.ceil(-t/100),n.height=a,r=!0),r&&i.translate(s,l)}},{key:"getPixelOffset",value:function(){return{x:this._offsetX,y:this._offsetY}}},{key:"indexOf",value:function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r-1)){if(null!=t&&t=0;--r)t=this.removeComponent(e[r])||t;return t}},{key:"removeComponent",value:function(e){return s.Util.removeItem(this.components,e),this.clearBounds(),!0}},{key:"getArea",value:function(){for(var e=0,t=0,r=this.components.length;t3;if(r){this.components.pop(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeComponent",this).apply(this,arguments);var n=this.components[0];i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addComponent",this).apply(this,[n])}return r}},{key:"getArea",value:function(){var e=0;if(this.components&&this.components.length>2){for(var t=0,r=0,n=this.components.length;r1&&(e=e>1?1:-1),Math.asin(e)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=e*t;return r/Math.sqrt(1-n*n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesServiceBase=void 0;var n=function(){function e(e,t){for(var r=0;r=0&&r.toIndex>=0&&!n&&(r.url+="&fromIndex="+r.fromIndex+"&toIndex="+r.toIndex),e.returnCountOnly&&(r.url+="&returnCountOnly="+e.returnContent),t=r.getJsonParameters(e),r.request({method:"POST",data:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}},{key:"serviceProcessCompleted",value:function(e){if(e=o.Util.transformResult(e),this.format===a.DataFormat.GEOJSON&&e.features){var t=new l.GeoJSON;e.features=JSON.parse(t.write(e.features))}this.events.triggerEvent("processCompleted",{result:e})}}]),t}();i.SuperMap.GetFeaturesServiceBase=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesParametersBase=void 0;var n=function(){function e(e,t){for(var r=0;re.right;)t.lon-=e.getWidth()}return t}},{key:"destroy",value:function(){this.lon=null,this.lat=null}}],[{key:"fromString",value:function(t){var r=t.split(",");return new e(r[0],r[1])}},{key:"fromArray",value:function(t){var r=i.Util.isArray(t);return new e(r&&t[0],r&&t[1])}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Symbolizer=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};t.Symbolizer=o.default.Class.extend({initialize:function(e){this.properties=e.properties,this.type=e.type,this.layerName=e.layerName},render:function(e,t){this._renderer=e,this._container=e._container,this.options=t,e._initPath(this),e._updateStyle(this);var r=this.getElement();r&&this.layerName&&o.default.DomUtil.addClass(r,this.layerName)},updateStyle:function(e,t){this.options=t,e._updateStyle(this)},getElement:function(){return this._path||this._renderer._container},_getPixelBounds:function(){for(var e=this._parts,t=o.default.bounds([]),r=0;r3&&(t=Array.prototype.slice.call(t,1));for(var n=this._handlers[e],i=n.length,o=0;o4&&(t=Array.prototype.slice.call(t,1,t.length-1));for(var n=t[t.length-1],i=this._handlers[e],o=i.length,a=0;a0){e+=Math.abs(this.components[0].getArea());for(var t=1,r=this.components.length;t0&&(r=parseFloat(e.toPrecision(t))),r},format:function(e,t,r,i){t=void 0!==t?t:0,r=void 0!==r?r:n.SuperMap.Number.thousandsSeparator,i=void 0!==i?i:n.SuperMap.Number.decimalSeparator,null!=t&&(e=parseFloat(e.toFixed(t)));var o=e.toString().split(".");1===o.length&&null==t&&(t=0);var a,s=o[0];if(r)for(var l=/(-?[0-9]+)([0-9]{3})/;l.test(s);)s=s.replace(l,"$1"+r+"$2");if(0==t)a=s;else{var u=o.length>1?o[1]:"0";null!=t&&(u+=new Array(t-u.length+1).join("0")),a=s+i+u}return a}};Number.prototype.limitSigDigs||(Number.prototype.limitSigDigs=function(e){return i.limitSigDigs(this,e)});t.FunctionExt=n.SuperMap.Function={bind:function(e,t){var r=Array.prototype.slice.apply(arguments,[2]);return function(){var n=r.concat(Array.prototype.slice.apply(arguments,[0]));return e.apply(t,n)}},bindAsEventListener:function(e,t){return function(r){return e.call(t,r||window.event)}},False:function(){return!1},True:function(){return!0},Void:function(){}},t.ArrayExt=n.SuperMap.Array={filter:function(e,t,r){var n=[];if(Array.prototype.filter)n=e.filter(t,r);else{var i=e.length;if("function"!=typeof t)throw new TypeError;for(var o=0;op)){var g=u[0];u.splice(0,1),delete s[g]}}}}if(t.renderer.render(),n&&t.options.isHoverAble&&t.options.isMultiHover){var b=this.getShapesByFeatureID(n);this.renderer.updateHoverShapes(b)}},createThematicFeature:function(e){var t=this,r=t.getStyleByData(e);e.style&&t.isAllowFeatureStyle&&(r=a.CommonUtil.copyAttributesWithClip(e.style));var n={};n.nodesClipPixel=t.options.nodesClipPixel,n.isHoverAble=t.options.isHoverAble,n.isMultiHover=t.options.isMultiHover,n.isClickAble=t.options.isClickAble,n.highlightStyle=a.ShapeFactory.transformStyle(t.highlightStyle);for(var i=new a.ThemeVector(e,t,a.ShapeFactory.transformStyle(r),n),o=0;o0&&("stroke"==r.brushType||"both"==r.brushType)&&(n||(e.beginPath(),this.buildPath(e,r)),this.setCtxGlobalAlpha(e,"stroke",r),e.stroke(),this.setCtxGlobalAlpha(e,"reset",r)),this.drawText(e,r,this.style);var i=o.Util.cloneObject(r);if(i.pointList&&this.holePolygonPointLists&&this.holePolygonPointLists.length>0)for(var a=this.holePolygonPointLists,s=a.length,l=0;l0&&("stroke"==i.brushType||"both"==i.brushType)?(n||(e.beginPath(),this.buildPath(e,i)),e.globalCompositeOperation="source-over",this.setCtxGlobalAlpha(e,"stroke",i),e.stroke(),this.setCtxGlobalAlpha(e,"reset",i)):e.globalCompositeOperation="source-over"}e.restore()}},{key:"buildPath",value:function(e,t){t.showShadow&&(e.shadowBlur=t.shadowBlur,e.shadowColor=t.shadowColor,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY),this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition,n=t.pointList;if(!(n.length<2))if(t.smooth&&"spline"!==t.smooth){var i,o,s,l=a.SUtil.SUtil_smoothBezier(n,t.smooth,!0,t.smoothConstraint,r);e.moveTo(n[0][0]+r[0],n[0][1]+r[1]);for(var u=n.length,c=0;co&&(o=l[u][0]+r[0]),l[u][1]+r[1]s&&(s=l[u][1]+r[1]);return n="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(i-n/2),y:Math.round(a-n/2),width:o-i+n,height:s-a+n},e.__rect}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=t.Config=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)};n.EVENT={RESIZE:"resize",CLICK:"click",DBLCLICK:"dblclick",MOUSEWHEEL:"mousewheel",MOUSEMOVE:"mousemove",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",GLOBALOUT:"globalout",DRAGSTART:"dragstart",DRAGEND:"dragend",DRAGENTER:"dragenter",DRAGOVER:"dragover",DRAGLEAVE:"dragleave",DROP:"drop",touchClickDelay:300},n.catchBrushException=!1,n.debugMode=0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r-this.EPSILON&&ethis.EPSILON||e<-this.EPSILON}},{key:"cubicAt",value:function(e,t,r,n,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*n+3*o*r)}},{key:"cubicDerivativeAt",value:function(e,t,r,n,i){var o=1-i;return 3*(((t-e)*o+2*(r-t)*i)*o+(n-r)*i*i)}},{key:"cubicRootAt",value:function(e,t,r,n,i,o){var a=n+3*(t-r)-e,s=3*(r-2*t+e),l=3*(t-e),u=e-i,c=s*s-3*a*l,p=s*l-9*a*u,h=l*l-3*s*u,f=0;if(this.isAroundZero(c)&&this.isAroundZero(p))if(this.isAroundZero(s))o[0]=0;else{var y=-l/s;y>=0&&y<=1&&(o[f++]=y)}else{var d=p*p-4*c*h;if(this.isAroundZero(d)){var v=p/c,m=-s/a+v,g=-v/2;m>=0&&m<=1&&(o[f++]=m),g>=0&&g<=1&&(o[f++]=g)}else if(d>0){var b=Math.sqrt(d),S=c*s+1.5*a*(-p+b),_=c*s+1.5*a*(-p-b),P=(-s-((S=S<0?-Math.pow(-S,this.ONE_THIRD):Math.pow(S,this.ONE_THIRD))+(_=_<0?-Math.pow(-_,this.ONE_THIRD):Math.pow(_,this.ONE_THIRD))))/(3*a);P>=0&&P<=1&&(o[f++]=P)}else{var O=(2*c*s-3*a*p)/(2*Math.sqrt(c*c*c)),T=Math.acos(O)/3,w=Math.sqrt(c),M=Math.cos(T),C=(-s-2*w*M)/(3*a),x=(-s+w*(M+this.THREE_SQRT*Math.sin(T)))/(3*a),E=(-s+w*(M-this.THREE_SQRT*Math.sin(T)))/(3*a);C>=0&&C<=1&&(o[f++]=C),x>=0&&x<=1&&(o[f++]=x),E>=0&&E<=1&&(o[f++]=E)}}return f}},{key:"cubicExtrema",value:function(e,t,r,n,i){var o=6*r-12*t+6*e,a=9*t+3*n-3*e-9*r,s=3*t-3*e,l=0;if(this.isAroundZero(a)){if(this.isNotAroundZero(o)){var u=-s/o;u>=0&&u<=1&&(i[l++]=u)}}else{var c=o*o-4*a*s;if(this.isAroundZero(c))i[0]=-o/(2*a);else if(c>0){var p=Math.sqrt(c),h=(-o+p)/(2*a),f=(-o-p)/(2*a);h>=0&&h<=1&&(i[l++]=h),f>=0&&f<=1&&(i[l++]=f)}}return l}},{key:"cubicSubdivide",value:function(e,t,r,n,i,o){var a=(t-e)*i+e,s=(r-t)*i+t,l=(n-r)*i+r,u=(s-a)*i+a,c=(l-s)*i+s,p=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=p,o[4]=p,o[5]=c,o[6]=l,o[7]=n}},{key:"cubicProjectPoint",value:function(e,t,r,n,i,o,a,s,l,u,c){var p,h=this.vector.create(),f=this.vector.create(),y=this.vector.create(),d=.005,v=1/0;h[0]=l,h[1]=u;for(var m=0;m<1;m+=.05){f[0]=this.cubicAt(e,r,i,a,m),f[1]=this.cubicAt(t,n,o,s,m);var g=this.vector.distSquare(h,f);g=0&&P=0&&u<=1&&(i[l++]=u)}}else{var c=a*a-4*o*s;if(this.isAroundZero(c)){var p=-a/(2*o);p>=0&&p<=1&&(i[l++]=p)}else if(c>0){var h=Math.sqrt(c),f=(-a+h)/(2*o),y=(-a-h)/(2*o);f>=0&&f<=1&&(i[l++]=f),y>=0&&y<=1&&(i[l++]=y)}}return l}},{key:"quadraticExtremum",value:function(e,t,r){var n=e+r-2*t;return 0===n?.5:(e-t)/n}},{key:"quadraticProjectPoint",value:function(e,t,r,n,i,o,a,s,l){var u,c=this.vector.create(),p=this.vector.create(),h=this.vector.create(),f=.005,y=1/0;c[0]=a,c[1]=s;for(var d=0;d<1;d+=.05){p[0]=this.quadraticAt(e,r,i,d),p[1]=this.quadraticAt(t,n,o,d);var v=this.vector.distSquare(c,p);v=0&&S-5e-5&&e<5e-5}i.SUtil.Util_vector.sub(t,e,this.position),n(t[0])&&n(t[1])||(i.SUtil.Util_vector.normalize(t,t),r[2]=t[0]*this.scale[1],r[3]=t[1]*this.scale[1],r[0]=t[1]*this.scale[0],r[1]=-t[0]*this.scale[0],r[4]=this.position[0],r[5]=this.position[1],this.decomposeTransform())})}return n(e,[{key:"destroy",value:function(){this.position=null,this.rotation=null,this.scale=null,this.needLocalTransform=null,this.needTransform=null}},{key:"updateNeedTransform",value:function(){function e(e){return e>5e-5||e<-5e-5}this.needLocalTransform=e(this.rotation[0])||e(this.position[0])||e(this.position[1])||e(this.scale[0]-1)||e(this.scale[1]-1)}},{key:"updateTransform",value:function(){if(this.updateNeedTransform(),this.parent?this.needTransform=this.needLocalTransform||this.parent.needTransform:this.needTransform=this.needLocalTransform,this.needTransform){var e=[0,0],t=this.transform||i.SUtil.Util_matrix.create();if(i.SUtil.Util_matrix.identity(t),this.needLocalTransform){if(o(this.scale[0])||o(this.scale[1])){e[0]=-this.scale[2]||0,e[1]=-this.scale[3]||0;var r=o(e[0])||o(e[1]);r&&i.SUtil.Util_matrix.translate(t,t,e),i.SUtil.Util_matrix.scale(t,t,this.scale),r&&(e[0]=-e[0],e[1]=-e[1],i.SUtil.Util_matrix.translate(t,t,e))}if(this.rotation instanceof Array){if(0!==this.rotation[0]){e[0]=-this.rotation[1]||0,e[1]=-this.rotation[2]||0;var n=o(e[0])||o(e[1]);n&&i.SUtil.Util_matrix.translate(t,t,e),i.SUtil.Util_matrix.rotate(t,t,this.rotation[0]),n&&(e[0]=-e[0],e[1]=-e[1],i.SUtil.Util_matrix.translate(t,t,e))}}else 0!==this.rotation&&i.SUtil.Util_matrix.rotate(t,t,this.rotation);(o(this.position[0])||o(this.position[1]))&&i.SUtil.Util_matrix.translate(t,t,this.position)}this.transform=t,this.parent&&this.parent.needTransform&&(this.needLocalTransform?i.SUtil.Util_matrix.mul(this.transform,this.parent.transform,this.transform):i.SUtil.Util_matrix.copy(this.transform,this.parent.transform))}function o(e){return e>5e-5||e<-5e-5}}},{key:"setTransform",value:function(e){if(this.needTransform){var t=this.transform;e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}}},{key:"decomposeTransform",value:function(){if(this.transform){var e=this.transform,t=e[0]*e[0]+e[1]*e[1],r=this.position,n=this.scale,i=this.rotation;a(t-1)&&(t=Math.sqrt(t));var o=e[2]*e[2]+e[3]*e[3];a(o-1)&&(o=Math.sqrt(o)),r[0]=e[4],r[1]=e[5],n[0]=t,n[1]=o,n[2]=n[3]=0,i[0]=Math.atan2(-e[1]/o,e[0]/t),i[1]=i[2]=0}function a(e){return e>5e-5||e<-5e-5}}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sector=void 0;var n=function(){function e(e,t){for(var r=0;r0){e+='"points":[';for(var r=0,n=this.components.length;r0))return null;for(var u=0,c=0,p=[];u-1&&"?"===n?t+=r.getUrlParameters():t.indexOf("?")>-1&&"?"!==n?t+="&"+r.getUrlParameters():t+="?"+r.getUrlParameters()}return t}},{key:"getCredential",value:function(){var e,t=a.SecurityManager.getToken(this.serviceUrl);return(e=t?new s.Credential(t,"token"):null)||(e=(t=this.getKey())?new s.Credential(t,"key"):null),e}},{key:"getKey",value:function(){}}]),e}();i.SuperMap.iPortalServiceBase=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Vector=void 0;var n=function(){function e(e,t){for(var r=0;r1?r.weight/10:r.weight)):t.setAttribute("stroke","none"),r.fill?(t.setAttribute("fill",r.fillColor||r.color),t.setAttribute("fill-opacity",r.fillOpacity)):t.setAttribute("fill","none")}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasRenderer=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};t.CanvasRenderer=o.default.Canvas.extend({initialize:function(e,t,r){o.default.Canvas.prototype.initialize.call(this,r),this._tileCoord=e,this._size=t,this._initContainer(),this._container.setAttribute("width",this._size.x),this._container.setAttribute("height",this._size.y),this._layers={},this._drawnLayers={},this._drawing=!0,r.interactive&&(this._container.style.pointerEvents="auto")},getCoord:function(){return this._tileCoord},getContainer:function(){return this._container},getOffset:function(){return this._tileCoord.scaleBy(this._size).subtract(this._map.getPixelOrigin())},onAdd:o.default.Util.falseFn,addTo:function(e){this._map=e},removeFrom:function(e){delete this._map},_updateDashArray:function(e){var t=e.options.dashArray;if(t&&"string"==typeof t){var r,n=t.split(","),i=[];for(r=0;r0&&t._reset(),t.addTFEvents(),t.mouseMoveHandler=function(e){var r=e.layerPoint;t.currentMousePosition=n.default.point(r.x+t.movingOffset[0],r.y+t.movingOffset[1])},e.on("mousemove",t.mouseMoveHandler),t.update()}else e.removeLayer(t)},addFeatures:function(e){},redrawThematicFeatures:function(e){},destroyFeatures:function(e){if(void 0===e&&(e=this.features),e){this.removeFeatures(e);for(var t=e.length-1;t>=0;t--)e[t].destroy()}},removeFeatures:function(e){var t=this;if(e&&0!==e.length){if(e===t.features)return t.removeAllFeatures();n.default.Util.isArray(e)||(e=[e]);for(var r=[],i=e.length-1;i>=0;i--){var o=e[i],a=n.default.Util.indexOf(t.features,o);-1!==a?t.features.splice(a,1):r.push(o)}for(var s=[],l=0,u=t.features.length;l7?0:i.fillSymbolID,h=i.lineSymbolID>5?0:i.lineSymbolID;for(var f in i){var y=u.ServerStyleMap[f];if(y){var d=y.leafletStyle;switch(y.type){case"number":var v=i[f];y.unit&&(v=v*s.SuperMap.DOTS_PER_INCH*s.SuperMap.INCHES_PER_UNIT[y.unit]*2.5),n[d]=v;break;case"color":var m=i[f],g=void 0,b=1;if("fillColor"===d)0!==p&&1!==p||(b=1-p,g="rgba("+m.red+","+m.green+","+m.blue+","+b+")");else if("color"===d){if(0===h||5===h)b=0===h?1:0;else{var S=[1,0];switch(h){case 1:S=[9.7,3.7];break;case 2:S=[3.7,3.7];break;case 3:S=[9.7,3.7,2.3,3.7];break;case 4:S=[9.7,3.7,2.3,3.7,2.3,3.7]}n.lineDasharray=S}g="rgba("+m.red+","+m.green+","+m.blue+","+b+")"}n[d]=g}}}return t&&t.textField&&(n.textAlign="LEFT"),n}}]),e}();a.default.supermap.CartoCSSToLeaflet=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wmtsLayer=t.WMTSLayer=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};r(4);var a=t.WMTSLayer=o.default.TileLayer.extend({options:{version:"1.0.0",style:"",tilematrixSet:"",format:"image/png",tileSize:256,matrixIds:null,layer:"",requestEncoding:"KVP",attribution:""},initialize:function(e,t){this._url=e,o.default.setOptions(this,t);var r=this.options;if("REST"===r.requestEncoding){this.formatSuffix="."+({"image/png":"png","image/png8":"png","image/png24":"png","image/png32":"png",png:"png","image/jpeg":"jpg","image/jpg":"jpg",jpeg:"jpg",jpg:"jpg"}[r.format]||r.format.split("/").pop()||"png")}else r.requestEncoding="KVP"},getTileUrl:function(e){var t=this._getZoomForUrl(),r=this.options.matrixIds?this.options.matrixIds[t].identifier:t,n=o.default.Util.template(this._url,{s:this._getSubdomain(e)}),i={service:"WMTS",request:"GetTile",version:this.options.version,style:this.options.style,tilematrixSet:this.options.tilematrixSet,format:this.options.format,width:this.options.tileSize,height:this.options.tileSize,layer:this.options.layer,tilematrix:r,tilerow:e.y,tilecol:e.x};if(this.options.tileProxy&&(n=this.options.tileProxy+n),"KVP"===this.options.requestEncoding)n+=o.default.Util.getParamString(i,n);else if("REST"===this.options.requestEncoding){n+="/"+i.layer+"/"+i.style+"/"+i.tilematrixSet+"/"+i.tilematrix+"/"+i.tilerow+"/"+i.tilecol+this.formatSuffix}return n}}),s=t.wmtsLayer=function(e,t){return new a(e,t)};o.default.supermap.wmtsLayer=s},function(e,t,r){"use strict";e.exports=function(e,t){var r;return e>1e-7?(1-e*e)*(t/(1-(r=e*t)*r)-.5/e*Math.log((1-r)/(1+r))):2*t}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){var o,a;o=e/t;for(var s=0;s<15;s++)if(o+=a=(e-(t*o-r*Math.sin(2*o)+n*Math.sin(4*o)-i*Math.sin(6*o)))/(t-2*r*Math.cos(2*o)+4*n*Math.cos(4*o)-6*i*Math.cos(6*o)),Math.abs(a)<=1e-10)return o;return NaN}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=t*r;return e/Math.sqrt(1-n*n)}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n;if(e=e||{},!t)return e;for(n in t)void 0!==(r=t[n])&&(e[n]=r);return e}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(401),o=r(101),a=r(397),s=r(394);function l(e,t){if(!(this instanceof l))return new l(e);t=t||function(e){if(e)throw e};var r=i(e);if("object"===(void 0===r?"undefined":n(r))){var a=s(r),u=l.projections.get(a.projName);u?(o(this,a),o(this,u),this.init(),t(null,this)):t(e)}else t(e)}l.projections=a,l.projections.start(),e.exports=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonEarthCRS=t.NonEarthCRS=t.nonProjection=t.NonProjection=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};o.default.Projection={};var a=t.NonProjection=o.default.Class.extend({initialize:function(e){this.bounds=e},project:function(e){return new o.default.Point(e.lng,e.lat)},unproject:function(e){return new o.default.LatLng(e.y,e.x)}}),s=t.nonProjection=function(e){return new a(e)},l=t.NonEarthCRS=o.default.Class.extend({includes:o.default.CRS,initialize:function(e){e.origin&&(this.transformation=new o.default.Transformation(1,-e.origin.x,-1,e.origin.y)),this.projection=o.default.Projection.NonProjection(e.bounds),this.bounds=e.bounds,this.origin=e.origin,this.resolutions=e.resolutions},scale:function(e){return this.resolutions&&0!==this.resolutions.length?1/this.resolutions[e]:1/(Math.max(this.bounds.getSize().x,this.bounds.getSize().y)/256)*Math.pow(2,e)},zoom:function(e){if(!this.resolutions||0===this.resolutions.length)return e/(1/(Math.max(this.bounds.getSize().x,this.bounds.getSize().y)/256));for(var t=0;tc&&(r*=c/(a=r+n),n*=c/a),i+o>c&&(i*=c/(a=i+o),o*=c/a),n+i>p&&(n*=p/(a=n+i),i*=p/a),r+o>p&&(r*=p/(a=r+o),o*=p/a),e.moveTo(l+r,u),e.lineTo(l+c-n,u),0!==n&&e.quadraticCurveTo(l+c,u,l+c,u+n),e.lineTo(l+c,u+p-i),0!==i&&e.quadraticCurveTo(l+c,u+p,l+c-i,u+p),e.lineTo(l+o,u+p),0!==o&&e.quadraticCurveTo(l,u+p,l,u+p-o),e.lineTo(l,u+r),0!==r&&e.quadraticCurveTo(l,u,l+r,u)}},{key:"buildPath",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition;t.radius?this._buildRadiusPath(e,t):(e.moveTo(t.x+r[0],t.y+r[1]),e.lineTo(t.x+r[0]+t.width,t.y+r[1]),e.lineTo(t.x+r[0]+t.width,t.y+r[1]+t.height),e.lineTo(t.x+r[0],t.y+r[1]+t.height),e.lineTo(t.x+r[0],t.y+r[1])),e.closePath()}},{key:"getRect",value:function(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,r=this.refOriginalPosition;return e.__rect?e.__rect:(t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x+r[0]-t/2),y:Math.round(e.y+r[1]-t/2),width:e.width+t,height:e.height+t},e.__rect)}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicImage=void 0;var n=function(){function e(e,t){for(var r=0;rn&&(n=l[0]),l[1]i&&(i=l[1]))}return e.__rect={x:t,y:r,width:n-t,height:i-r},e.__rect}},{key:"getRectNoRotation",value:function(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,r=this.refOriginalPosition,n=o.SUtil.Util_area.getTextHeight("ZH",e.textFont),i=o.SUtil.Util_area.getTextWidth(e.text,e.textFont),a=o.SUtil.Util_area.getTextHeight(e.text,e.textFont),s=e.x+r[0];"end"==e.textAlign||"right"==e.textAlign?s-=i:"center"==e.textAlign&&(s-=i/2),t="top"==e.textBaseline?e.y+r[1]:"bottom"==e.textBaseline?e.y+r[1]-a:e.y+r[1]-a/2;var l,u=!1;if(e.maxWidth){var c=parseInt(e.maxWidth);c-1&&(i+=l&&!0===u?n/3*(i/l):n/3));return{x:s,y:t,width:i,height:a}}},{key:"getTextBackground",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition;if((!t||!1===t)&&e.__textBackground)return e.__textBackground;var n=this.getRectNoRotation(e),i=e.x+r[0],o=e.y+r[1],a=[];if(e.textRotation&&0!==e.textRotation){var s=e.textRotation,l=this.getRotatedLocation(n.x,n.y,i,o,s),u=this.getRotatedLocation(n.x+n.width,n.y,i,o,s),c=this.getRotatedLocation(n.x+n.width,n.y+n.height,i,o,s),p=this.getRotatedLocation(n.x,n.y+n.height,i,o,s);a.push(l),a.push(u),a.push(c),a.push(p)}else{var h=[n.x,n.y],f=[n.x+n.width,n.y],y=[n.x+n.width,n.y+n.height],d=[n.x,n.y+n.height];a.push(h),a.push(f),a.push(y),a.push(d)}return e.__textBackground=a,e.__textBackground}},{key:"getRotatedLocation",value:function(e,t,r,n,i){var o,a,s=new Array;return t=-t,n=-n,i=-i,o=(e-r)*Math.cos(i/180*Math.PI)-(t-n)*Math.sin(i/180*Math.PI)+r,a=(e-r)*Math.sin(i/180*Math.PI)+(t-n)*Math.cos(i/180*Math.PI)+n,s[0]=o,s[1]=-a,s}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Color=void 0;var n=function(){function e(e,t){for(var r=0;r1)for(var i=0,o=n-1;i1?Math.ceil(e):e}),t.indexOf("hex")>-1)return"#"+((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1);if(t.indexOf("hs")>-1){var r=this.map(e.slice(1,3),function(e){return e+"%"});e[1]=r[0],e[2]=r[1]}return t.indexOf("a")>-1?(3===e.length&&e.push(1),e[3]=this.adjust(e[3],[0,1]),t+"("+e.slice(0,4).join(",")+")"):t+"("+e.slice(0,3).join(",")+")"}}},{key:"toArray",value:function(e){(e=this.trim(e)).indexOf("rgba")<0&&(e=this.toRGBA(e));var t=[],r=0;return e.replace(/[\d.]+/g,function(e){r<3?e|=0:e=+e,t[r++]=e}),t}},{key:"convert",value:function(e,t){if(!this.isCalculableColor(e))return e;var r=this.getData(e),n=r[3];return void 0===n&&(n=1),e.indexOf("hsb")>-1?r=this._HSV_2_RGB(r):e.indexOf("hsl")>-1&&(r=this._HSL_2_RGB(r)),t.indexOf("hsb")>-1||t.indexOf("hsv")>-1?r=this._RGB_2_HSB(r):t.indexOf("hsl")>-1&&(r=this._RGB_2_HSL(r)),r[3]=n,this.toColor(r,t)}},{key:"toRGBA",value:function(e){return this.convert(e,"rgba")}},{key:"toRGB",value:function(e){return this.convert(e,"rgb")}},{key:"toHex",value:function(e){return this.convert(e,"hex")}},{key:"toHSVA",value:function(e){return this.convert(e,"hsva")}},{key:"toHSV",value:function(e){return this.convert(e,"hsv")}},{key:"toHSBA",value:function(e){return this.convert(e,"hsba")}},{key:"toHSB",value:function(e){return this.convert(e,"hsb")}},{key:"toHSLA",value:function(e){return this.convert(e,"hsla")}},{key:"toHSL",value:function(e){return this.convert(e,"hsl")}},{key:"toName",value:function(e){for(var t in this._nameColors)if(this.toHex(this._nameColors[t])===this.toHex(e))return t;return null}},{key:"trim",value:function(e){return String(e).replace(/\s+/g,"")}},{key:"normalize",value:function(e){if(this._nameColors[e]&&(e=this._nameColors[e]),e=(e=this.trim(e)).replace(/hsv/i,"hsb"),/^#[\da-f]{3}$/i.test(e)){var t=(3840&(e=parseInt(e.slice(1),16)))<<8,r=(240&e)<<4,n=15&e;e="#"+((1<<24)+(t<<4)+t+(r<<4)+r+(n<<4)+n).toString(16).slice(1)}return e}},{key:"lift",value:function(e,t){if(!this.isCalculableColor(e))return e;var r=t>0?1:-1;void 0===t&&(t=0),t=Math.abs(t)>1?1:Math.abs(t),e=this.toRGB(e);for(var n=this.getData(e),i=0;i<3;i++)n[i]=1===r?n[i]*(1-t)|0:(255-n[i])*t+n[i]|0;return"rgb("+n.join(",")+")"}},{key:"reverse",value:function(e){if(!this.isCalculableColor(e))return e;var t=this.getData(this.toRGBA(e));return t=this.map(t,function(e){return 255-e}),this.toColor(t,"rgb")}},{key:"mix",value:function(e,t,r){if(!this.isCalculableColor(e)||!this.isCalculableColor(t))return e;void 0===r&&(r=.5);for(var n=2*(r=1-this.adjust(r,[0,1]))-1,i=this.getData(this.toRGBA(e)),o=this.getData(this.toRGBA(t)),a=i[3]-o[3],s=((n*a==-1?n:(n+a)/(1+n*a))+1)/2,l=1-s,u=[],c=0;c<3;c++)u[c]=i[c]*s+o[c]*l;var p=i[3]*r+o[3]*(1-r);return p=Math.max(0,Math.min(1,p)),1===i[3]&&1===o[3]?this.toColor(u,"rgb"):(u[3]=p,this.toColor(u,"rgba"))}},{key:"random",value:function(){return"#"+Math.random().toString(16).slice(2,8)}},{key:"getData",value:function(t){var r,n,i=(t=this.normalize(t)).match(this.colorRegExp);if(null===i)throw new Error("The color format error");var o,a=[];if(i[2])o=[(r=i[2].replace("#","").split(""))[0]+r[1],r[2]+r[3],r[4]+r[5]],a=this.map(o,function(t){return e.prototype.adjust.call(this,parseInt(t,16),[0,255])});else if(i[4]){var s=i[4].split(",");n=s[3],o=s.slice(0,3),a=this.map(o,function(t){return t=Math.floor(t.indexOf("%")>0?2.55*parseInt(t,0):t),e.prototype.adjust.call(this,t,[0,255])}),void 0!==n&&a.push(this.adjust(parseFloat(n),[0,1]))}else if(i[5]||i[6]){var l=(i[5]||i[6]).split(","),u=parseInt(l[0],0)/360,c=l[1],p=l[2];n=l[3],(a=this.map([c,p],function(t){return e.prototype.adjust.call(this,parseFloat(t)/100,[0,1])})).unshift(u),void 0!==n&&a.push(this.adjust(parseFloat(n),[0,1]))}return a}},{key:"alpha",value:function(e,t){if(!this.isCalculableColor(e))return e;null===t&&(t=1);var r=this.getData(this.toRGBA(e));return r[3]=this.adjust(Number(t).toFixed(4),[0,1]),this.toColor(r,"rgba")}},{key:"map",value:function(e,t){if("function"!=typeof t)throw new TypeError;for(var r=e?e.length:0,n=0;n=t[1]&&(e=t[1]),e}},{key:"isCalculableColor",value:function(e){return e instanceof Array||"string"==typeof e}},{key:"_HSV_2_RGB",value:function(e){var t,r,n,i=e[0],o=e[1],a=e[2];if(0===o)t=255*a,r=255*a,n=255*a;else{var s=6*i;6===s&&(s=0);var l=0|s,u=a*(1-o),c=a*(1-o*(s-l)),p=a*(1-o*(1-(s-l))),h=0,f=0,y=0;0===l?(h=a,f=p,y=u):1===l?(h=c,f=a,y=u):2===l?(h=u,f=a,y=p):3===l?(h=u,f=c,y=a):4===l?(h=p,f=u,y=a):(h=a,f=u,y=c),t=255*h,r=255*f,n=255*y}return[t,r,n]}},{key:"_HSL_2_RGB",value:function(e){var t,r,n,i=e[0],o=e[1],a=e[2];if(0===o)t=255*a,r=255*a,n=255*a;else{var s,l=2*a-(s=a<.5?a*(1+o):a+o-o*a);t=255*this._HUE_2_RGB(l,s,i+1/3),r=255*this._HUE_2_RGB(l,s,i),n=255*this._HUE_2_RGB(l,s,i-1/3)}return[t,r,n]}},{key:"_HUE_2_RGB",value:function(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),6*r<1?e+6*(t-e)*r:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}},{key:"_RGB_2_HSB",value:function(e){var t,r,n=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),l=s-a,u=s;if(0===l)t=0,r=0;else{r=l/s;var c=((s-n)/6+l/2)/l,p=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;n===s?t=h-p:i===s?t=1/3+c-h:o===s&&(t=2/3+p-c),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,r*=100,u*=100]}},{key:"_RGB_2_HSL",value:function(e){var t,r,n=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),l=s-a,u=(s+a)/2;if(0===l)t=0,r=0;else{r=u<.5?l/(s+a):l/(2-s-a);var c=((s-n)/6+l/2)/l,p=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;n===s?t=h-p:i===s?t=1/3+c-h:o===s&&(t=2/3+p-c),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,r*=100,u*=100]}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicPoint=void 0;var n=function(){function e(e,t){for(var r=0;r0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.rangeExpression=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}}],[{key:"fromObj",value:function(e){if(e){var r=new t;o.Util.copy(r,e);var n=e.items,i=n?n.length:0;r.items=[];for(var a=0;a0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null)}},{key:"toServerJSONObject",value:function(){var e={};if((e=o.Util.copyAttributes(e,this)).defaultStyle&&e.defaultStyle.toServerJSONObject&&(e.defaultStyle=e.defaultStyle.toServerJSONObject()),e.items){for(var t=[],r=e.items.length,n=0;n=0;e--)this.points[e].destroy();this.points=null}}}],[{key:"toObject",value:function(e,t){for(var r in e)"clipRegion"===r?t.clipRegion=s.ServerGeometry.fromGeometry(e.clipRegion):t[r]=e[r]}}]),t}();i.SuperMap.GeometryThiessenAnalystParameters=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeometryOverlayAnalystParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0&&r.push(","),r.push(this.writeNewline(),this.writeIndent(),t));return this.level-=1,r.push(this.writeNewline(),this.writeIndent(),"]"),r.join("")},string:function(e){var t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return/["\\\x00-\x1f]/.test(e)?'"'+e.replace(/([\x00-\x1f\\"])/g,function(e,r){var n=t[r];return n||(n=r.charCodeAt(),"\\u00"+Math.floor(n/16).toString(16)+(n%16).toString(16))})+'"':'"'+e+'"'},number:function(e){return isFinite(e)?String(e):"null"},boolean:function(e){return String(e)},date:function(e){function t(e){return e<10?"0"+e:e}return'"'+e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+"T"+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds())+'"'}},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Format),i(t,[{key:"read",value:function(e,t){var r;if(this.nativeJSON)try{r=JSON.parse(e,t)}catch(e){}return this.keepData&&(this.data=r),r}},{key:"write",value:function(e,t){this.pretty=!!t;var r=null,i=void 0===e?"undefined":n(e);if(this.serialize[i])try{r=!this.pretty&&this.nativeJSON?JSON.stringify(e):this.serialize[i].apply(this,[e])}catch(e){}return r}},{key:"writeIndent",value:function(){var e=[];if(this.pretty)for(var t=0;t1&&(r=parseFloat(r)*p),n.labelAlign&&"cm"!==n.labelAlign)switch(n.labelAlign){case"lt":c.x+=t/2,c.y+=r/2;break;case"lm":c.x+=t/2;break;case"lb":c.x+=t/2,c.y-=r/2;break;case"ct":c.y+=r/2;break;case"cb":c.y-=r/2;break;case"rt":c.x-=t/2,c.y+=r/2;break;case"rm":c.x-=t/2;break;case"rb":c.x-=t/2,c.y-=r/2}return this.bsInfo.h=r,this.bsInfo.w=t,i=c.x-parseFloat(t)/2,o=c.y+parseFloat(r)/2,u=c.x+parseFloat(t)/2,l=c.y-parseFloat(r)/2,new a.Bounds(i,o,u,l)}},{key:"getLabelPxBoundsByText",value:function(e,t){var r,n,i,o,l=this.getLabelPxSize(t),u=s.Util.cloneObject(e);if(t.labelAlign&&"cm"!==t.labelAlign)switch(t.labelAlign){case"lt":u.x+=l.w/2,u.y+=l.h/2;break;case"lm":u.x+=l.w/2;break;case"lb":u.x+=l.w/2,u.y-=l.h/2;break;case"ct":u.y+=l.h/2;break;case"cb":u.y-=l.h/2;break;case"rt":u.x-=l.w/2,u.y+=l.h/2;break;case"rm":u.x-=l.w/2;break;case"rb":u.x-=l.w/2,u.y-=l.h/2}return this.bsInfo.h=l.h,this.bsInfo.w=l.w,r=u.x-l.w/2,n=u.y+l.h/2,o=t.fontStyle&&"italic"===t.fontStyle?u.x+l.w/2+parseInt(parseFloat(t.fontSize)/2):u.x+l.w/2,i=u.y-l.h/2,new a.Bounds(r,n,o,i)}},{key:"getLabelPxSize",value:function(e){var t,r,n,i,o=parseFloat(e.strokeWidth);t=e.label||this.text,r=e.fontSize?parseFloat(e.fontSize):parseFloat("12px");var a=t.split("\n"),l=a.length;i=l>1?r*l+l+o+.2*r:r+o+.2*r+1,n=0,this.labelWTmp&&n255?r++:n++;return t.cnC=r,t.enC=n,t.textC=e.length,t}}]),t}();i.SuperMap.Geometry.GeoText=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Curve=void 0;var n=r(0),i=r(45);var o=t.Curve=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.componentTypes=["SuperMap.Geometry.Point","SuperMap.PointWithMeasure"],r.CLASS_NAME="SuperMap.Geometry.Curve",r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.MultiPoint),t}();n.SuperMap.Geometry.Curve=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VectorTileJSON=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n},a=r(48),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(29)),l=r(5);t.VectorTileJSON=o.default.Class.extend({initialize:function(e){this.url=e},getTile:function(){var e=this;return l.FetchRequest.get(e.url,null,{timeout:1e4}).then(function(e){return e.json()}).then(function(t){return e._processRecordSets(t,e)})},_processRecordSets:function(e,t){var r=e.recordsets;if(!(r=t._convertToGeoJSON(r)))return null;for(var n=0;n>3}if(o--,1===i||2===i)a+=e.readSVarint(),s+=e.readSVarint(),1===i&&(t&&l.push(t),t=[]),t.push(new n(a,s));else{if(7!==i)throw new Error("unknown command "+i);t&&t.push(t[0].clone())}}return t&&l.push(t),l},i.prototype.bbox=function(){var e=this._pbf;e.pos=this._geometry;for(var t=e.readVarint()+e.pos,r=1,n=0,i=0,o=0,a=1/0,s=-1/0,l=1/0,u=-1/0;e.pos>3}if(n--,1===r||2===r)i+=e.readSVarint(),o+=e.readSVarint(),is&&(s=i),ou&&(u=o);else if(7!==r)throw new Error("unknown command "+r)}return[a,l,s,u]},i.prototype.toGeoJSON=function(e,t,r){var n,o,s=this.extent*Math.pow(2,r),l=this.extent*e,u=this.extent*t,c=this.loadGeometry(),p=i.types[this.type];function h(e){for(var t=0;t>3;t=1===n?e.readString():2===n?e.readFloat():3===n?e.readDouble():4===n?e.readVarint64():5===n?e.readVarint():6===n?e.readSVarint():7===n?e.readBoolean():null}return t}(r))}e.exports=i,i.prototype.feature=function(e){if(e<0||e>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];var t=this._pbf.readVarint()+this._pbf.pos;return new n(this._pbf,t,this.extent,this._keys,this._values)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VectorTilePBF=void 0;var n=l(r(2)),i=l(r(336)),o=r(334),a=r(48),s=r(5);function l(e){return e&&e.__esModule?e:{default:e}}t.VectorTilePBF=n.default.Class.extend({initialize:function(e){this.url=e},getTile:function(){var e=this;return s.FetchRequest.get(e.url,null,{timeout:1e4}).then(function(e){return e.ok?e.blob().then(function(e){var t=new FileReader;return new Promise(function(r){t.addEventListener("loadend",function(){var e=new i.default(t.result);return r(new o.VectorTile(e))}),t.readAsArrayBuffer(e)})}):{layers:[]}}).then(function(t){return e._processVectorTileSpec(t)})},_processVectorTileSpec:function(e){var t=[];for(var r in e.layers){for(var i=[],o=0;o-1?new p.VectorTilePBF(n):new h.VectorTileJSON(n)).getTile().then(function(t){e.render(t,r)})},render:function(e,t){if(e){for(var r=this,n=r.renderer,i=r.layer,s=0;s=r.left&&a.x<=r.right&&a.y>=r.top&&a.y<=r.bottom){n=!0;break}}return n},clearCache:function(){this.cache={},this.charts=[]},removeFeatures:function(e){this.clearCache(),s.ThemeLayer.prototype.removeFeatures.apply(this,arguments)},removeAllFeatures:function(){this.clearCache(),s.ThemeLayer.prototype.removeAllFeatures.apply(this,arguments)},redraw:function(){return this.clearCache(),s.ThemeLayer.prototype.redraw.apply(this,arguments)},clear:function(){var e=this;e.renderer&&(e.renderer.clearAll(),e.renderer.refresh()),e.removeAllFeatures(),e.clearCache()},getWeightFieldValue:function(e,t,r){if((void 0===r||isNaN(r))&&(r=0),!e.attributes)return r;var n=e.attributes[t];return(void 0===n||isNaN(n))&&(n=r),n},_sortChart:function(){this.charts&&this.charts.sort(function(e,t){return void 0===e.__overlayWeight&&void 0===t.__overlayWeight?0:void 0!==e.__overlayWeight&&void 0===t.__overlayWeight?-1:void 0===e.__overlayWeight&&void 0!==t.__overlayWeight?1:void 0!==e.__overlayWeight&&void 0!==t.__overlayWeight?parseFloat(e.__overlayWeight)t.options.maxZoom)){var a=i.getBounds(),l=a.getEast()-a.getWest(),u=a.getNorth()-a.getSouth(),c=i.getSize(),p=l/c.x,h=u/c.y,f=i.latLngToLayerPoint(i.getCenter()),y=this.canvasLayer.getTopLeft(),d=i.latLngToAccurateContainerPoint(y),v={transferCoordinate:function(e){var r,n={x:(r="2d"===t.context?i.latLngToAccurateContainerPoint(s.default.latLng(e[1],e[0])):{x:(e[0]-y.lng)/p,y:(y.lat-e[1])/h}).x-d.x,y:r.y-d.x};return[n.x,n.y]}};void 0!==e&&(v.filter=function(t){var n=r.trails||10;return e&&t.time>e-n&&t.time=0&&e.options.fontOpacity<1&&(r.globalAlpha=e.options.fontOpacity),r.fillText){r.font=n,r.textAlign=e.options.textAlign,r.textBaseline=e.options.textBaseline;var s=e.options.vfactor,l=r.measureText("Mg").height||r.measureText("xx").width;t.y+=l*s*(a-1);for(var u=0;u=0&&y.x<=c.x&&y.y>=0&&y.y<=c.y){if(r.style.minZoomLevel>-1&&p<=r.style.minZoomLevel)continue;if(r.style.maxZoomLevel>-1&&p>r.style.maxZoomLevel)continue;var d=null;r.isStyleChange?(r.isStyleChange=null,d=this.calculateLabelBounds(r,y)):d=r.geometry.bsInfo.w&&r.geometry.bsInfo.h?this.calculateLabelBounds2(r,y):this.calculateLabelBounds(r,y);var v=new s.Bounds(0,c.y,c.x,0),m=d.length;if(this.options.isAvoid){var g=this.getAvoidInfo(v,d);if(g){if("left"===g.aspectW){r.style.labelXOffset+=g.offsetX;for(var b=0;b=i[u].start&&a=i[u].start&&al&&(l=r,u="top")}if(t.y>e.bottom){var n=Math.abs(t.y-e.bottom);n>l&&(l=n,u="bottom")}if(t.xa&&(a=i,c="left")}if(t.x>e.right){var o=Math.abs(t.x-e.right);o>a&&(a=o,c="right")}}}},isQuadrilateralOverLap:function(e,t){var r=e.length,n=t.length;if(5!==r||5!==n)return null;for(var i=!1,o=0;o0;if(t.themeField&&l&&r.attributes){var u=t.themeField,c=r.attributes;for(var p in c)if(u===p){o=!0,a=c[p];break}}if(o&&l)for(var h=0,f=i.length;h=i[h].start&&a<=i[h].end:a>=i[h].start&&a0;if(t.themeField&&l&&r.attributes){var u=t.themeField,c=r.attributes;for(var p in c)if(u===p){o=!0,a=c[p];break}}if(o&&l)for(var h=0,f=i.length;h1){var p=parseInt(c[1]);u=p&&p>=4e3&&p<=5e3?i.Unit.DEGREE:i.Unit.METER}}return o.resolutionToScale(l,96,u)},setTileSetsInfo:function(e){this.tileSets=e,n.default.Util.isArray(this.tileSets)&&(this.tileSets=this.tileSets[0]),this.tileSets&&(this.fire("tilesetsinfoloaded",{tileVersions:this.tileSets.tileVersions}),this.changeTilesVersion())},lastTilesVersion:function(){this.tempIndex=this.tileSetsIndex-1,this.changeTilesVersion()},nextTilesVersion:function(){this.tempIndex=this.tileSetsIndex+1,this.changeTilesVersion()},changeTilesVersion:function(){var e=this;if(null!=e.tileSets&&!(e.tempIndex===e.tileSetsIndex||this.tempIndex<0)){var t=e.tileSets.tileVersions;if(t&&e.tempIndex=0){var r=t[e.tempIndex].name;e.mergeTileVersionParam(r)&&(e.tileSetsIndex=e.tempIndex,e.fire("tileversionschanged",{tileVersion:t[e.tempIndex]}))}}},updateCurrentTileSetsIndex:function(e){this.tempIndex=e},mergeTileVersionParam:function(e){return!!e&&(this.requestParams.tileversion=e,this._paramsChanged=!0,this.redraw(),this._paramsChanged=!1,!0)},_getLayerUrl:function(){return this._paramsChanged&&(this._layerUrl=this._createLayerUrl()),this._layerUrl||this._createLayerUrl()},_createLayerUrl:function(){var e=this._url+"/tileImage."+this.options.format+"?";return e+=encodeURI(this._getRequestParamString()),e=this._appendCredential(e),this._layerUrl=e,e},_getRequestParamString:function(){this.requestParams=this.requestParams||this._getAllRequestParams();var e=[];for(var t in this.requestParams)e.push(t+"="+this.requestParams[t]);return e.join("&")},_getAllRequestParams:function(){var e=this.options||{},t={},r=this.options.tileSize;r instanceof n.default.Point||(r=n.default.point(r,r)),t.width=r.x,t.height=r.y,t.redirect=!0===e.redirect,t.transparent=!0===e.transparent,t.cacheEnabled=!(!1===e.cacheEnabled),e.prjCoordSys&&(t.prjCoordSys=JSON.stringify(e.prjCoordSys)),e.layersID&&(t.layersID=e.layersID.toString()),e.clipRegionEnabled&&e.clipRegion instanceof n.default.Path&&(e.clipRegion=o.toSuperMapGeometry(e.clipRegion.toGeoJSON()),e.clipRegion=i.CommonUtil.toJSON(i.ServerGeometry.fromGeometry(e.clipRegion)),t.clipRegionEnabled=e.clipRegionEnabled,t.clipRegion=JSON.stringify(e.clipRegion));var a=this._crs;if(a.options&&a.options.origin)t.origin=JSON.stringify({x:a.options.origin[0],y:a.options.origin[1]});else if(a.projection&&a.projection.bounds){var s=a.projection.bounds,l=n.default.point(s.min.x,s.max.y);t.origin=JSON.stringify({x:l.x,y:l.y})}return!1===e.overlapDisplayed?(t.overlapDisplayed=!1,e.overlapDisplayedOptions&&(t.overlapDisplayedOptions=this.overlapDisplayedOptions.toString())):t.overlapDisplayed=!0,!0===e.cacheEnabled&&e.tileversion&&(t.tileversion=e.tileversion.toString()),t},_appendCredential:function(e){var t,r,n=e;switch(this.options.serverType){case i.ServerType.IPORTAL:(t=(r=i.SecurityManager.getToken(this._url))?new i.Credential(r,"token"):null)||(t=(r=i.SecurityManager.getKey(this._url))?new i.Credential(r,"key"):null);break;case i.ServerType.ONLINE:t=(r=i.SecurityManager.getKey(this._url))?new i.Credential(r,"key"):null;break;default:t=(r=i.SecurityManager.getToken(this._url))?new i.Credential(r,"token"):null}return t&&(n+="&"+t.getUrlParameters()),n}}),u=t.tiledMapLayer=function(e,t){return new l(e,t)};n.default.supermap.tiledMapLayer=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tiandituTileLayer=t.TiandituTileLayer=void 0;var n=a(r(2));r(4);var i=r(97),o=a(r(11));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.TiandituTileLayer=i.WMTSLayer.extend({layerLabelMap:{vec:"cva",ter:"cta",img:"cia"},layerZoomMap:{vec:18,ter:14,img:18},options:{layerType:"vec",isLabel:!1,attribution:o.default.Tianditu.attribution,url:"http://t{s}.tianditu.com/{layer}_{proj}/wmts?",zoomOffset:1,dpi:96,style:"default",format:"tiles",subdomains:[0,1,2,3,4,5,6,7]},initialize:function(e){e=e||{},n.default.setOptions(this,e),this.options.layer=this.options.isLabel?this.layerLabelMap[this.options.layerType]:this.options.layerType,this.options.maxZoom=this.layerZoomMap[this.options.layerType]-1,i.WMTSLayer.prototype.initialize.call(this,this.options.url,this.options),n.default.stamp(this)},onAdd:function(e){this.options.tilematrixSet="EPSG:4326"===e.options.crs.code?"c":"w",this._url=this._url.replace("{layer}",this.options.layer).replace("{proj}",this.options.tilematrixSet),i.WMTSLayer.prototype.onAdd.call(this,e)}}),l=t.tiandituTileLayer=function(e){return new s(e)};n.default.supermap.tiandituTileLayer=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cloudTileLayer=t.CloudTileLayer=void 0;var n=o(r(2));r(4);var i=o(r(11));function o(e){return e&&e.__esModule?e:{default:e}}var a=t.CloudTileLayer=n.default.TileLayer.extend({defaultURL:"http://t2.supermapcloud.com/FileService/image",options:{mapName:"quanguo",type:"web",minZoom:3,maxZoom:18,attribution:i.default.Cloud.attribution},initialize:function(e,t){n.default.setOptions(this,t);var r=e||this.defaultURL;this._url=r+"?map="+this.options.mapName+"&type="+this.options.type,n.default.stamp(this)},getTileUrl:function(e){var t=this._url+"&x="+e.x+"&y="+e.y+"&z="+e.z;return this.options.tileProxy&&(t=this.options.tileProxy+encodeURIComponent(t)),t}}),s=t.cloudTileLayer=function(e,t){return new a(e,t)};n.default.supermap.cloudTileLayer=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.baiduTileLayer=t.BaiduTileLayer=void 0,r(4);var n=o(r(2)),i=o(r(11));function o(e){return e&&e.__esModule?e:{default:e}}var a=t.BaiduTileLayer=n.default.TileLayer.extend({url:"http://online{num}.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles={styles}&udt=20150815&scaler=1",options:{minZoom:3,maxZoom:19,bounds:n.default.latLngBounds(n.default.latLng(-85.0511287798,-180),n.default.latLng(85.0511287798,180)),retina:n.default.Browser.retina,attribution:i.default.Baidu.attribution},initialize:function(e,t){e&&(this.url=e),n.default.setOptions(this,t),this.options.retina&&(this.options.maxZoom=18),n.default.stamp(this)},getTileUrl:function(e){var t=n.default.Util.template(this.url,{num:Math.abs((e.x+e.y)%8)+1,x:e.x,y:-e.y-1,z:this._getZoomForUrl(),styles:this.options.retina?"ph":"pl"});return this.options.tileProxy&&(t=this.options.tileProxy+encodeURIComponent(t)),t}}),s=t.baiduTileLayer=function(e,t){return new a(e,t)};n.default.supermap.baiduTileLayer=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapService=t.MapService=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};r(4);var a=r(8),s=r(5);var l=t.MapService=a.ServiceBase.extend({options:{projection:null},initialize:function(e,t){t=t||{},o.default.setOptions(this,t),t.projection&&(this.options.projection=t.projection),a.ServiceBase.prototype.initialize.call(this,e,t)},getMapInfo:function(e){var t=this;new s.MapService(t.url,{proxy:t.options.proxy,withCredentials:t.options.withCredentials,serverType:t.options.serverType,eventListeners:{scope:t,processCompleted:e,processFailed:e},projection:t.options.projection}).processAsync()},getTilesets:function(e){var t=this;new s.TilesetsService(t.url,{proxy:t.options.proxy,withCredentials:t.options.withCredentials,serverType:t.options.serverType,eventListeners:{scope:t,processCompleted:e,processFailed:e}}).processAsync()}}),u=t.mapService=function(e,t){return new l(e,t)};o.default.supermap.mapService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TianDiTu_MercatorCRS=t.TianDiTu_WGS84CRS=t.BaiduCRS=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};for(var a,s=t.BaiduCRS=o.default.CRS.Baidu=o.default.extend({},o.default.CRS.EPSG3857,{code:"Baidu",scale:function(e){return 6378137*Math.PI*2/Math.pow(2,18-e)},transformation:(a=.5/(6378137*Math.PI),new o.default.Transformation(a,0,-a,0))}),l=[],u=1;u<19;u++)l.push(1.40625/Math.pow(2,u));for(var c=t.TianDiTu_WGS84CRS=o.default.CRS.TianDiTu_WGS84=o.default.Proj.CRS("EPSG:4326",{origin:[-180,90],resolutions:l,bounds:o.default.bounds([-180,-90],[180,90])}),p=[],h=1;h<19;h++)p.push(156543.03392804062/Math.pow(2,h));var f=t.TianDiTu_MercatorCRS=o.default.CRS.TianDiTu_Mercator=o.default.Proj.CRS("EPSG:3857",{origin:[-20037508.3427892,20037508.3427892],resolutions:p,bounds:o.default.bounds([-20037508.3427892,-20037508.3427892],[20037508.3427892,20037508.3427892])});o.default.CRS.BaiduCRS=s,o.default.CRS.TianDiTu_WGS84CRS=c,o.default.CRS.TianDiTu_MercatorCRS=f},function(e,t,r){"use strict";e.exports=function(e,t,r,n){return r*=t,t*=t,n[0]*e-r*(n[1]+t*(n[2]+t*(n[3]+t*n[4])))}},function(e,t,r){"use strict";var n=r(54),i=r(53),o=r(52),a=r(51),s=r(50),l=r(7),u=Math.PI/2,c=r(55),p=r(40);t.init=function(){this.e0=n(this.es),this.e1=i(this.es),this.e2=o(this.es),this.e3=a(this.es),this.ml0=this.a*s(this.e0,this.e1,this.e2,this.e3,this.lat0)},t.forward=function(e){var t,r,n,i=e.x,o=e.y,a=l(i-this.long0),u=Math.sin(o),c=Math.cos(o);if(this.sphere){var p=c*Math.sin(a);if(Math.abs(Math.abs(p)-1)<1e-10)return 93;r=.5*this.a*this.k0*Math.log((1+p)/(1-p)),t=Math.acos(c*Math.cos(a)/Math.sqrt(1-p*p)),o<0&&(t=-t),n=this.a*this.k0*(t-this.lat0)}else{var h=c*a,f=Math.pow(h,2),y=this.ep2*Math.pow(c,2),d=Math.tan(o),v=Math.pow(d,2);t=1-this.es*Math.pow(u,2);var m=this.a/Math.sqrt(t),g=this.a*s(this.e0,this.e1,this.e2,this.e3,o);r=this.k0*m*h*(1+f/6*(1-v+y+f/20*(5-18*v+Math.pow(v,2)+72*y-58*this.ep2)))+this.x0,n=this.k0*(g-this.ml0+m*d*(f*(.5+f/24*(5-v+9*y+4*Math.pow(y,2)+f/30*(61-58*v+Math.pow(v,2)+600*y-330*this.ep2)))))+this.y0}return e.x=r,e.y=n,e},t.inverse=function(e){var t,r,n,i,o,a;if(this.sphere){var s=Math.exp(e.x/(this.a*this.k0)),h=.5*(s-1/s),f=this.lat0+e.y/(this.a*this.k0),y=Math.cos(f);t=Math.sqrt((1-y*y)/(1+h*h)),o=p(t),f<0&&(o=-o),a=0===h&&0===y?this.long0:l(Math.atan2(h,y)+this.long0)}else{var d=e.x-this.x0,v=e.y-this.y0;for(r=t=(this.ml0+v/this.k0)/this.a,i=0;r+=n=(t+this.e1*Math.sin(2*r)-this.e2*Math.sin(4*r)+this.e3*Math.sin(6*r))/this.e0-r,!(Math.abs(n)<=1e-10);i++)if(i>=6)return 95;if(Math.abs(r)60)return null;var o,a,s,l,u,c,p,y,d=6378137,v=(1-Math.sqrt(.99330562))/(1+Math.sqrt(.99330562)),m=r-5e5,g=t;n<"N"&&(g-=1e7),c=6*(i-1)-180+3,y=(p=g/.9996/6367449.145945056)+(3*v/2-27*v*v*v/32)*Math.sin(2*p)+(21*v*v/16-55*v*v*v*v/32)*Math.sin(4*p)+151*v*v*v/96*Math.sin(6*p),o=d/Math.sqrt(1-.00669438*Math.sin(y)*Math.sin(y)),a=Math.tan(y)*Math.tan(y),s=.006739496752268451*Math.cos(y)*Math.cos(y),l=.99330562*d/Math.pow(1-.00669438*Math.sin(y)*Math.sin(y),1.5),u=m/(.9996*o);var b=y-o*Math.tan(y)/l*(u*u/2-(5+3*a+10*s-4*s*s-.06065547077041606)*u*u*u*u/24+(61+90*a+298*s+45*a*a-1.6983531815716497-3*s*s)*u*u*u*u*u*u/720);b=h(b);var S,_=(u-(1+2*a+s)*u*u*u/6+(5-2*s+28*a-3*s*s+.05391597401814761+24*a*a)*u*u*u*u*u/120)/Math.cos(y);if(_=c+h(_),e.accuracy){var P=f({northing:e.northing+e.accuracy,easting:e.easting+e.accuracy,zoneLetter:e.zoneLetter,zoneNumber:e.zoneNumber});S={top:P.lat,right:P.lon,bottom:b,left:_}}else S={lat:b,lon:_};return S}function y(e){var t=e%n;return 0===t&&(t=n),t}function d(e){if(e&&0===e.length)throw"MGRSPoint coverting from nothing";for(var t,r=e.length,n=null,p="",h=0;!/[A-Z]/.test(t=e.charAt(h));){if(h>=2)throw"MGRSPoint bad conversion from: "+e;p+=t,h++}var f=parseInt(p,10);if(0===h||h+3>r)throw"MGRSPoint bad conversion from: "+e;var d=e.charAt(h++);if(d<="A"||"B"===d||"Y"===d||d>="Z"||"I"===d||"O"===d)throw"MGRSPoint zone letter "+d+" not handled: "+e;n=e.substring(h,h+=2);for(var m=y(f),g=function(e,t){var r=i.charCodeAt(t-1),n=1e5,o=!1;for(;r!==e.charCodeAt(0);){if(++r===s&&r++,r===l&&r++,r>c){if(o)throw"Bad character: "+e;r=a,o=!0}n+=1e5}return n}(n.charAt(0),m),b=function(e,t){if(e>"V")throw"MGRSPoint given invalid Northing "+e;var r=o.charCodeAt(t-1),n=0,i=!1;for(;r!==e.charCodeAt(0);){if(++r===s&&r++,r===l&&r++,r>u){if(i)throw"Bad character: "+e;r=a,i=!0}n+=1e5}return n}(n.charAt(1),m);b0&&(_=1e5/Math.pow(10,T),P=e.substring(h,h+T),w=parseFloat(P)*_,O=e.substring(h+T),M=parseFloat(O)*_),{easting:w+g,northing:M+b,zoneLetter:d,zoneNumber:f,accuracy:_}}function v(e){var t;switch(e){case"C":t=11e5;break;case"D":t=2e6;break;case"E":t=28e5;break;case"F":t=37e5;break;case"G":t=46e5;break;case"H":t=55e5;break;case"J":t=64e5;break;case"K":t=73e5;break;case"L":t=82e5;break;case"M":t=91e5;break;case"N":t=0;break;case"P":t=8e5;break;case"Q":t=17e5;break;case"R":t=26e5;break;case"S":t=35e5;break;case"T":t=44e5;break;case"U":t=53e5;break;case"V":t=62e5;break;case"W":t=7e6;break;case"X":t=79e5;break;default:t=-1}if(t>=0)return t;throw"Invalid zone letter: "+e}t.forward=function(e,t){return t=t||5,function(e,t){var r="00000"+e.easting,n="00000"+e.northing;return e.zoneNumber+e.zoneLetter+(_=e.easting,P=e.northing,O=e.zoneNumber,T=y(O),w=Math.floor(_/1e5),M=Math.floor(P/1e5)%20,p=w,h=M,f=T,d=f-1,v=i.charCodeAt(d),m=o.charCodeAt(d),g=v+p-1,b=m+h,S=!1,g>c&&(g=g-c+a-1,S=!0),(g===s||vs||(g>s||vl||(g>l||vc&&(g=g-c+a-1),b>u?(b=b-u+a-1,S=!0):S=!1,(b===s||ms||(b>s||ml||(b>l||mu&&(b=b-u+a-1),String.fromCharCode(g)+String.fromCharCode(b))+r.substr(r.length-5,t)+n.substr(n.length-5,t);var p,h,f,d,v,m,g,b,S;var _,P,O,T,w,M}(function(e){var t,r,n,i,o,a,s,l=e.lat,u=e.lon,c=6378137,h=p(l),f=p(u);s=Math.floor((u+180)/6)+1,180===u&&(s=60);l>=56&&l<64&&u>=3&&u<12&&(s=32);l>=72&&l<84&&(u>=0&&u<9?s=31:u>=9&&u<21?s=33:u>=21&&u<33?s=35:u>=33&&u<42&&(s=37));a=p(6*(s-1)-180+3),.006739496752268451,t=c/Math.sqrt(1-.00669438*Math.sin(h)*Math.sin(h)),r=Math.tan(h)*Math.tan(h),n=.006739496752268451*Math.cos(h)*Math.cos(h),i=Math.cos(h)*(f-a),o=c*(.9983242984503243*h-.002514607064228144*Math.sin(2*h)+2639046602129982e-21*Math.sin(4*h)-3.418046101696858e-9*Math.sin(6*h));var y=.9996*t*(i+(1-r+n)*i*i*i/6+(5-18*r+r*r+72*n-.39089081163157013)*i*i*i*i*i/120)+5e5,d=.9996*(o+t*Math.tan(h)*(i*i/2+(5-r+9*n+4*n*n)*i*i*i*i/24+(61-58*r+r*r+600*n-2.2240339282485886)*i*i*i*i*i*i/720));l<0&&(d+=1e7);return{northing:Math.round(d),easting:Math.round(y),zoneNumber:s,zoneLetter:function(e){var t="Z";84>=e&&e>=72?t="X":72>e&&e>=64?t="W":64>e&&e>=56?t="V":56>e&&e>=48?t="U":48>e&&e>=40?t="T":40>e&&e>=32?t="S":32>e&&e>=24?t="R":24>e&&e>=16?t="Q":16>e&&e>=8?t="P":8>e&&e>=0?t="N":0>e&&e>=-8?t="M":-8>e&&e>=-16?t="L":-16>e&&e>=-24?t="K":-24>e&&e>=-32?t="J":-32>e&&e>=-40?t="H":-40>e&&e>=-48?t="G":-48>e&&e>=-56?t="F":-56>e&&e>=-64?t="E":-64>e&&e>=-72?t="D":-72>e&&e>=-80&&(t="C");return t}(l)}}({lat:e[1],lon:e[0]}),t)},t.inverse=function(e){var t=f(d(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat,t.lon,t.lat]:[t.left,t.bottom,t.right,t.top]},t.toPoint=function(e){var t=f(d(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat]:[(t.left+t.right)/2,(t.top+t.bottom)/2]}},function(e,t,r){"use strict";e.exports=function(e){var t={x:e[0],y:e[1]};return e.length>2&&(t.z=e[2]),e.length>3&&(t.m=e[3]),t}},function(e,t,r){"use strict";var n=.017453292519943295,i=57.29577951308232,o=1,a=2,s=r(390),l=r(389),u=r(102),c=r(164);e.exports=function e(t,r,p){var h;function f(e,t){return(e.datum.datum_type===o||e.datum.datum_type===a)&&"WGS84"!==t.datumCode}return Array.isArray(p)&&(p=c(p)),t.datum&&r.datum&&(f(t,r)||f(r,t))&&(e(t,h=new u("WGS84"),p),t=h),"enu"!==t.axis&&l(t,!1,p),"longlat"===t.projName?(p.x*=n,p.y*=n):(t.to_meter&&(p.x*=t.to_meter,p.y*=t.to_meter),t.inverse(p)),t.from_greenwich&&(p.x+=t.from_greenwich),p=s(t.datum,r.datum,p),r.from_greenwich&&(p.x-=r.from_greenwich),"longlat"===r.projName?(p.x*=i,p.y*=i):(r.forward(p),r.to_meter&&(p.x/=r.to_meter,p.y/=r.to_meter)),"enu"!==r.axis&&l(r,!0,p),p}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=.017453292519943295,o=r(101);function a(e,t,r){e[t]=r.map(function(e){var t={};return s(e,t),t}).reduce(function(e,t){return o(e,t)},{})}function s(e,t){var r;Array.isArray(e)?("PARAMETER"===(r=e.shift())&&(r=e.shift()),1===e.length?Array.isArray(e[0])?(t[r]={},s(e[0],t[r])):t[r]=e[0]:e.length?"TOWGS84"===r?t[r]=e:(t[r]={},["UNIT","PRIMEM","VERT_DATUM"].indexOf(r)>-1?(t[r]={name:e[0].toLowerCase(),convert:e[1]},3===e.length&&(t[r].auth=e[2])):"SPHEROID"===r?(t[r]={name:e[0],a:e[1],rf:e[2]},4===e.length&&(t[r].auth=e[3])):["GEOGCS","GEOCCS","DATUM","VERT_CS","COMPD_CS","LOCAL_CS","FITTED_CS","LOCAL_DATUM"].indexOf(r)>-1?(e[0]=["name",e[0]],a(t,r,e)):e.every(function(e){return Array.isArray(e)})?a(t,r,e):s(e,t[r])):t[r]=!0):t[e]=!0}function l(e){return e*i}e.exports=function(e,t){var r=JSON.parse((","+e).replace(/\s*\,\s*([A-Z_0-9]+?)(\[)/g,',["$1",').slice(1).replace(/\s*\,\s*([A-Z_0-9]+?)\]/g,',"$1"]').replace(/,\["VERTCS".+/,"")),i=r.shift(),a=r.shift();r.unshift(["name",a]),r.unshift(["type",i]),r.unshift("output");var u={};return s(r,u),function(e){function t(t){var r=e.to_meter||1;return parseFloat(t,10)*r}"GEOGCS"===e.type?e.projName="longlat":"LOCAL_CS"===e.type?(e.projName="identity",e.local=!0):"object"===n(e.PROJECTION)?e.projName=Object.keys(e.PROJECTION)[0]:e.projName=e.PROJECTION,e.UNIT&&(e.units=e.UNIT.name.toLowerCase(),"metre"===e.units&&(e.units="meter"),e.UNIT.convert&&("GEOGCS"===e.type?e.DATUM&&e.DATUM.SPHEROID&&(e.to_meter=parseFloat(e.UNIT.convert,10)*e.DATUM.SPHEROID.a):e.to_meter=parseFloat(e.UNIT.convert,10))),e.GEOGCS&&(e.GEOGCS.DATUM?e.datumCode=e.GEOGCS.DATUM.name.toLowerCase():e.datumCode=e.GEOGCS.name.toLowerCase(),"d_"===e.datumCode.slice(0,2)&&(e.datumCode=e.datumCode.slice(2)),"new_zealand_geodetic_datum_1949"!==e.datumCode&&"new_zealand_1949"!==e.datumCode||(e.datumCode="nzgd49"),"wgs_1984"===e.datumCode&&("Mercator_Auxiliary_Sphere"===e.PROJECTION&&(e.sphere=!0),e.datumCode="wgs84"),"_ferro"===e.datumCode.slice(-6)&&(e.datumCode=e.datumCode.slice(0,-6)),"_jakarta"===e.datumCode.slice(-8)&&(e.datumCode=e.datumCode.slice(0,-8)),~e.datumCode.indexOf("belge")&&(e.datumCode="rnb72"),e.GEOGCS.DATUM&&e.GEOGCS.DATUM.SPHEROID&&(e.ellps=e.GEOGCS.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===e.ellps.toLowerCase().slice(0,13)&&(e.ellps="intl"),e.a=e.GEOGCS.DATUM.SPHEROID.a,e.rf=parseFloat(e.GEOGCS.DATUM.SPHEROID.rf,10)),~e.datumCode.indexOf("osgb_1936")&&(e.datumCode="osgb36")),e.b&&!isFinite(e.b)&&(e.b=e.a),[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_2","Standard_Parallel_2"],["false_easting","False_Easting"],["false_northing","False_Northing"],["central_meridian","Central_Meridian"],["latitude_of_origin","Latitude_Of_Origin"],["latitude_of_origin","Central_Parallel"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",l],["longitude_of_center","Longitude_Of_Center"],["longc","longitude_of_center",l],["x0","false_easting",t],["y0","false_northing",t],["long0","central_meridian",l],["lat0","latitude_of_origin",l],["lat0","standard_parallel_1",l],["lat1","standard_parallel_1",l],["lat2","standard_parallel_2",l],["alpha","azimuth",l],["srsCode","name"]].forEach(function(t){return r=e,i=(n=t)[0],o=n[1],void(!(i in r)&&o in r&&(r[i]=r[o],3===n.length&&(r[i]=n[2](r[i]))));var r,n,i,o}),e.long0||!e.longc||"Albers_Conic_Equal_Area"!==e.projName&&"Lambert_Azimuthal_Equal_Area"!==e.projName||(e.long0=e.longc),e.lat_ts||!e.lat1||"Stereographic_South_Pole"!==e.projName&&"Polar Stereographic (variant B)"!==e.projName||(e.lat0=l(e.lat1>0?90:-90),e.lat_ts=e.lat1)}(u.output),o(t,u.output)}},function(e,t,r){"use strict";var n=.017453292519943295,i=r(399),o=r(398);e.exports=function(e){var t,r,a,s={},l={};e.split("+").map(function(e){return e.trim()}).filter(function(e){return e}).forEach(function(e){var t=e.split("=");t.push(!0),l[t[0].toLowerCase()]=t[1]});var u={proj:"projName",datum:"datumCode",rf:function(e){s.rf=parseFloat(e)},lat_0:function(e){s.lat0=e*n},lat_1:function(e){s.lat1=e*n},lat_2:function(e){s.lat2=e*n},lat_ts:function(e){s.lat_ts=e*n},lon_0:function(e){s.long0=e*n},lon_1:function(e){s.long1=e*n},lon_2:function(e){s.long2=e*n},alpha:function(e){s.alpha=parseFloat(e)*n},lonc:function(e){s.longc=e*n},x_0:function(e){s.x0=parseFloat(e)},y_0:function(e){s.y0=parseFloat(e)},k_0:function(e){s.k0=parseFloat(e)},k:function(e){s.k0=parseFloat(e)},a:function(e){s.a=parseFloat(e)},b:function(e){s.b=parseFloat(e)},r_a:function(){s.R_A=!0},zone:function(e){s.zone=parseInt(e,10)},south:function(){s.utmSouth=!0},towgs84:function(e){s.datum_params=e.split(",").map(function(e){return parseFloat(e)})},to_meter:function(e){s.to_meter=parseFloat(e)},units:function(e){s.units=e,o[e]&&(s.to_meter=o[e].to_meter)},from_greenwich:function(e){s.from_greenwich=e*n},pm:function(e){s.from_greenwich=(i[e]?i[e]:parseFloat(e))*n},nadgrids:function(e){"@null"===e?s.datumCode="none":s.nadgrids=e},axis:function(e){3===e.length&&-1!=="ewnsud".indexOf(e.substr(0,1))&&-1!=="ewnsud".indexOf(e.substr(1,1))&&-1!=="ewnsud".indexOf(e.substr(2,1))&&(s.axis=e)}};for(t in l)r=l[t],t in u?"function"==typeof(a=u[t])?a(r):s[a]=r:s[t]=r;return"string"==typeof s.datumCode&&"WGS84"!==s.datumCode&&(s.datumCode=s.datumCode.toLowerCase()),s}},function(e,t,r){"use strict";var n=r(400),i=r(167),o=r(166);function a(e){var t=this;if(2===arguments.length){var r=arguments[1];"string"==typeof r?"+"===r.charAt(0)?a[e]=i(arguments[1]):a[e]=o(arguments[1]):a[e]=r}else if(1===arguments.length){if(Array.isArray(e))return e.map(function(e){Array.isArray(e)?a.apply(t,e):a(e)});if("string"==typeof e){if(e in a)return a[e]}else"EPSG"in e?a["EPSG:"+e.EPSG]=e:"ESRI"in e?a["ESRI:"+e.ESRI]=e:"IAU2000"in e?a["IAU2000:"+e.IAU2000]=e:console.log(e);return}}n(a),e.exports=a},function(e,t,r){"use strict";var n=r(402);n.defaultDatum="WGS84",n.Proj=r(102),n.WGS84=new n.Proj("WGS84"),n.Point=r(388),n.toPoint=r(164),n.defs=r(168),n.transform=r(165),n.mgrs=r(163),n.version=r(387).version,r(386)(n),e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crs=t.CRS=void 0;var n=o(r(2)),i=o(r(169));function o(e){return e&&e.__esModule?e:{default:e}}window.proj4=i.default,window.Proj4js=i.default,n.default.Proj={},n.default.Proj._isProj4Obj=function(e){return void 0!==e.inverse&&void 0!==e.forward},n.default.Proj.Projection=n.default.Class.extend({initialize:function(e,t,r){var i=n.default.Proj._isProj4Obj(e);this._proj=i?e:this._projFromCodeDef(e,t);var o=r;n.default.Util.isArray(r)&&(o=n.default.bounds(r)),this.bounds=i?t:o},project:function(e){var t=this._proj.forward([e.lng,e.lat]);return new n.default.Point(t[0],t[1])},unproject:function(e,t){this.bounds&&(e.x=e.xthis.bounds.max.x?this.bounds.max.x:e.x,e.y=e.ythis.bounds.max.y?this.bounds.max.y:e.y);var r=this._proj.inverse([e.x,e.y]);return new n.default.LatLng(r[1],r[0],t)},_projFromCodeDef:function(e,t){if(t)i.default.defs(e,t);else if(void 0===i.default.defs[e]){var r=e.split(":");if(r.length>3&&(e=r[r.length-3]+":"+r[r.length-1]),void 0===i.default.defs[e])throw"No projection definition for code "+e}return(0,i.default)(e)},getUnits:function(){return this._proj.oProj.units||"degrees"}});var a=t.CRS=n.default.Class.extend({includes:n.default.CRS,options:{transformation:new n.default.Transformation(1,0,-1,0)},initialize:function(e,t){var r,i,o;if(n.default.Proj._isProj4Obj(e)?(r=(i=e).srsCode,t=t||{},this.projection=new n.default.Proj.Projection(i,t.bounds)):(r=e,o=(t=t||{}).def||"",this.projection=new n.default.Proj.Projection(r,o,t.bounds)),n.default.Util.setOptions(this,t),this.code=r,this.transformation=this.options.transformation,this.options.bounds&&(this.options.bounds=n.default.bounds(this.options.bounds)),!this.options.origin&&this.options.bounds&&(this.options.origin=[this.options.bounds.min.x,this.options.bounds.max.y]),this.options.origin&&(this.options.origin instanceof n.default.Point&&(this.options.origin=[this.options.origin.x,this.options.origin.y]),this.transformation=new n.default.Transformation(1,-this.options.origin[0],-1,this.options.origin[1])),this.options.scales&&this.options.scales.length>0)this.scales=this.options.scales,this._scales=this._toProj4Scales(this.options.scales,this.options.dpi);else if(this.options.scaleDenominators&&this.options.scaleDenominators.length>0){this.scales=[];for(var a=0;a0){this._scales=[];for(var s=this.options.resolutions.length-1;s>=0;s--)this.options.resolutions[s]&&(this._scales[s]=1/this.options.resolutions[s])}else this.options.bounds&&(this._scales=this._getDefaultProj4ScalesByBounds(this.options.bounds));this._rectify(),this.infinite=!this.options.bounds},_rectify:function(){if(this._scales&&(this.resolutions||(this.resolutions=[],this.resolutions=this._proj4ScalesToResolutions(this._scales)),!this.scales)){this.scales=[];for(var e=0;e=0&&this._clips.splice(t,1)}},{key:"_update",value:function(){for(var e=(new Date).getTime(),t=e-this._time,r=this._clips,n=r.length,i=[],o=[],a=0;a=0&&!(g[O]<=a);O--);O=Math.min(O,h-2)}else{for(O=E;Oa);O++);O=Math.min(O-1,h-2)}E=O,A=a;var s=g[O+1]-g[O];if(0!==s){if(T=(a-g[O])/s,o)if(M=b[O],w=b[0===O?O:O-1],C=b[O>h-2?h-1:O+1],x=b[O>h-3?h-1:O+2],y)p._catmullRomInterpolateArray(w,M,C,x,T,T*T,T*T*T,n(e,c),v);else{var l=void 0;l=d?p.rgba2String(L):p._catmullRomInterpolate(w,M,C,x,T,T*T,T*T*T),r(e,c,l)}else if(y)p._interpolateArray(b[O],b[O+1],T,n(e,c),v);else{var u=void 0;d?(p._interpolateArray(b[O],b[O+1],T,L,1),u=p.rgba2String(L)):u=p._interpolateNumber(b[O],b[O+1],T),r(e,c,u)}for(O=0;O0?1.1:1/1.1,r=this.painter.getLayers(),n=!1;for(var i in r)if("hover"!==i){var a=r[i],s=a.position;if(a.zoomable){a.__zoom=a.__zoom||1;var l=a.__zoom;l*=t,t=(l=Math.max(Math.min(a.maxZoom,l),a.minZoom))/a.__zoom,a.__zoom=l,s[0]-=(this._mouseX-s[0])*(t-1),s[1]-=(this._mouseY-s[1])*(t-1),a.scale[0]*=t,a.scale[1]*=t,a.dirty=!0,n=!0}}n&&this.painter.refresh(),this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEWHEEL,e),this._mousemoveHandler(e)},mousemove:function(e){this._clickThreshold++,e=this._zrenderEventFixed(e),this._lastX=this._mouseX,this._lastY=this._mouseY,this._mouseX=a.SUtil.Util_event.getX(e),this._mouseY=a.SUtil.Util_event.getY(e);var t=this._mouseX-this._lastX,r=this._mouseY-this._lastY;this._processDragStart(e),this._hasfound=0,this._event=e,this._iterateAndFindHover(),this._hasfound||((!this._draggingTarget||this._lastHover&&this._lastHover!=this._draggingTarget)&&(this._processOutShape(e),this._processDragLeave(e)),this._lastHover=null,this.storage.delHover(),this.painter.clearHover());var n="";if(this._draggingTarget)this.storage.drift(this._draggingTarget.id,t,r),this._draggingTarget.modSelf(),this.storage.addHover(this._draggingTarget);else if(this._isMouseDown){var i=this.painter.getLayers(),s=!1;for(var l in i)if("hover"!==l){var u=i[l];u.panable&&(n="move",u.position[0]+=t,u.position[1]+=r,s=!0,u.dirty=!0)}s&&this.painter.refresh()}this._draggingTarget||this._hasfound&&this._lastHover.draggable?n="move":this._hasfound&&this._lastHover.clickable&&(n="pointer"),this.root.style.cursor=n,this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEMOVE,e),(this._draggingTarget||this._hasfound||this.storage.hasHoverShape())&&this.painter.refreshHover()},mouseout:function(e){var t=(e=this._zrenderEventFixed(e)).toElement||e.relatedTarget;if(t!=this.root)for(;t&&9!=t.nodeType;){if(t==this.root)return void this._mousemoveHandler(e);t=t.parentNode}e.zrenderX=this._lastX,e.zrenderY=this._lastY,this.root.style.cursor="",this._isMouseDown=0,this._processOutShape(e),this._processDrop(e),this._processDragEnd(e),this.painter.refreshHover(),this.dispatch(o.Config.EVENT.GLOBALOUT,e)},mousedown:function(e){if(this._clickThreshold=0,2==this._lastDownButton)return this._lastDownButton=e.button,void(this._mouseDownTarget=null);this._lastMouseDownMoment=new Date,e=this._zrenderEventFixed(e),this._isMouseDown=1,this._mouseDownTarget=this._lastHover,this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEDOWN,e),this._lastDownButton=e.button},mouseup:function(e){e=this._zrenderEventFixed(e),this.root.style.cursor="",this._isMouseDown=0,this._mouseDownTarget=null,this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEUP,e),this._processDrop(e),this._processDragEnd(e)},touchstart:function(e){e=this._zrenderEventFixed(e,!0),this._lastTouchMoment=new Date,this._mobildFindFixed(e),this._mousedownHandler(e)},touchmove:function(e){e=this._zrenderEventFixed(e,!0),this._mousemoveHandler(e),this._isDragging&&a.SUtil.Util_event.stop(e)},touchend:function(e){e=this._zrenderEventFixed(e,!0),this._mouseupHandler(e);var t=new Date;t-this._lastTouchMoment=0;i--){var o=r[i];if(void 0!==o.zlevel&&(e=this.painter.getLayer(o.zlevel,e),n[0]=this._mouseX,n[1]=this._mouseY,e.needTransform&&(a.SUtil.Util_matrix.invert(t,e.transform),a.SUtil.Util_vector.applyTransform(n,n,t))),this._findHover(o,n[0],n[1]))break}}},{key:"_mobildFindFixed",value:function(e){var t=[{x:10},{x:-20},{x:10,y:10},{y:-20}];this._lastHover=null,this._mouseX=e.zrenderX,this._mouseY=e.zrenderY,this._event=e,this._iterateAndFindHover();for(var r=0;!this._lastHover&&r0&&e>this._zlevelList[0]){for(i=0;ie);i++);n=this._layers[this._zlevelList[i]]}this._zlevelList.splice(i+1,0,e),t=new h(a.Util.createUniqueID("_levelLayer_"+e),this);var o=n?n.dom:this._bgDom;o.nextSibling?o.parentNode.insertBefore(t.dom,o.nextSibling):o.parentNode.appendChild(t.dom),t.initContext(),this._layers[e]=t,this._layerConfig[e]&&(new s.Util).merge(t,this._layerConfig[e],!0),t.updateTransform()}return t}},{key:"getLayers",value:function(){return this._layers}},{key:"_updateLayerStatus",value:function(e){var t=this._layers,r={};for(var n in t)"hover"!==n&&(r[n]=t[n].elCount,t[n].elCount=0);for(var i=0;i0}},{key:"addRoot",value:function(e){e instanceof o.Group&&e.addChildrenToStorage(this),this.addToMap(e),this._roots.push(e)}},{key:"delRoot",value:function(e){if(void 0===e){for(var t=0;t=0&&(this.delFromMap(s.id),this._roots.splice(l,1),s instanceof o.Group&&s.delChildrenFromStorage(this))}}},{key:"addToMap",value:function(e){return e instanceof o.Group&&(e._storage=this),e.modSelf(),this._elements[e.id]=e,this}},{key:"get",value:function(e){return this._elements[e]}},{key:"delFromMap",value:function(e){var t=this._elements[e];return t&&(delete this._elements[e],t instanceof o.Group&&(t._storage=null)),this}},{key:"dispose",value:function(){this._elements=null,this._roots=null,this._hoverElements=null}}],[{key:"shapeCompareFunc",value:function(e,t){return e.zlevel==t.zlevel?e.z==t.z?e.__renderidx-t.__renderidx:e.z-t.z:e.zlevel-t.zlevel}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Render=void 0;var n=function(){function e(e,t){for(var r=0;r=s[2]||s[1]<=s[3])&&(this.DVBOrigonPoint=[s[0],s[3]],this.DVBWidth=Math.abs(s[2]-s[0]),this.DVBHeight=Math.abs(s[1]-s[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-i[0],this.DVBOrigonPoint[1]-i[1]],!0)}}]),t}();i.SuperMap.Feature.Theme.RankSymbol=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicSector=void 0;var n=function(){function e(e,t){for(var r=0;r1?o.SUtil.Util_computeBoundingBox.arc(s,l,u,p,h,!f,r,i):(r[0]=i[0]=s,r[1]=i[1]=l),o.SUtil.Util_computeBoundingBox.arc(s,l,c,p,h,!f,n,a),o.SUtil.Util_vector.min(r,r,n),o.SUtil.Util_vector.max(i,i,a),e.__rect={x:r[0],y:r[1],width:i[0]-r[0],height:i[1]-r[1]},e.__rect}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicCircle=void 0;var n=function(){function e(e,t){for(var r=0;r1)for(var t in arguments)console.log(arguments[t])}}return n(e,[{key:"destory",value:function(){return!0}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;r=200&&o.status<300||304===o.status?t&&t(o.responseText):r&&r(),o.onreadystatechange=new Function,o=null)},o.send(null)}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;ri&&(i=l[0]),l[1]a&&(a=l[1])}t[0]=n,t[1]=o,r[0]=i,r[1]=a}}},{key:"cubeBezier",value:function(e,t,r,n,o,a){var s=new i.Curve,l=[];s.cubicExtrema(e[0],t[0],r[0],n[0],l);for(var u=0;ui&&!a?i+=2*Math.PI:nn&&(h[0]=Math.cos(y)*r+e,h[1]=Math.sin(y)*r+t,u.min(s,h,s),u.max(l,h,l))}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Area=void 0;var n=function(){function e(e,t){for(var r=0;r0){for(var g=this.isInsidePolygon(t.pointList,v,m),b=e.holePolygonPointLists,S=!1,_=0,P=b.length;_t+s&&a>n+s||ae+s&&o>r+s||ot+p&&c>n+p&&c>o+p&&c>s+p||ce+p&&u>r+p&&u>i+p&&u>a+p||ut+u&&l>n+u&&l>o+u||le+u&&s>r+u&&s>i+u||sr||p+c=u)return!0;if(o){var h=n;n=this.normalizeRadian(i),i=this.normalizeRadian(h)}else n=this.normalizeRadian(n),i=this.normalizeRadian(i);n>i&&(i+=u);var f=Math.atan2(l,s);return f<0&&(f+=u),f>=n&&f<=i||f+u>=n&&f+u<=i}},{key:"isInsideBrokenLine",value:function(e,t,r,n){for(var i=Math.max(t,10),o=0,a=e.length-1;or*r}},{key:"isInsideRect",value:function(e,t,r,n,i,o){return i>=e&&i<=e+r&&o>=t&&o<=t+n}},{key:"isInsideCircle",value:function(e,t,r,n,i){return(n-e)*(n-e)+(i-t)*(i-t)t&&o>n||oi?nt&&u>n&&u>o&&u>s||u1&&this.swapExtrema(),y=c.cubicAt(t,n,o,s,h[0]),m>1&&(d=c.cubicAt(t,n,o,s,h[1]))),2==m?bt&&s>n&&s>o||s=0&&p<=1){for(var h=0,f=l.quadraticAt(t,n,o,p),y=0;ya||(u[y]a?0:or||s<-r)return 0;var c=Math.sqrt(r*r-s*s);if(l[0]=-c,l[1]=c,Math.abs(n-i)>=u){n=0,i=u;var p=o?1:-1;return a>=l[0]+e&&a<=l[1]+e?p:0}if(o){var h=n;n=this.normalizeRadian(i),i=this.normalizeRadian(h)}else n=this.normalizeRadian(n),i=this.normalizeRadian(i);n>i&&(i+=u);for(var f=0,y=0;y<2;y++){var d=l[y];if(d+e>a){var v=Math.atan2(s,d),m=o?1:-1;v<0&&(v=u+v),(v>=n&&v<=i||v+u>=n&&v+u<=i)&&(v>Math.PI/2&&v<1.5*Math.PI&&(m=-m),f+=m)}}return f}},{key:"isInsidePath",value:function(e,t,r,n,i){for(var o=0,a=0,s=0,l=0,u=0,c=!0,p=!0,h="stroke"===(r=r||"fill")||"both"===r,f="fill"===r||"both"===r,y=0;y0&&(f&&(o+=this.windingLine(a,s,l,u,n,i)),0!==o))return!0;l=v[v.length-2],u=v[v.length-1],c=!1,p&&"A"!==d.command&&(p=!1,a=l,s=u)}switch(d.command){case"M":a=v[0],s=v[1];break;case"L":if(h&&this.isInsideLine(a,s,v[0],v[1],t,n,i))return!0;f&&(o+=this.windingLine(a,s,v[0],v[1],n,i)),a=v[0],s=v[1];break;case"C":if(h&&this.isInsideCubicStroke(a,s,v[0],v[1],v[2],v[3],v[4],v[5],t,n,i))return!0;f&&(o+=this.windingCubic(a,s,v[0],v[1],v[2],v[3],v[4],v[5],n,i)),a=v[4],s=v[5];break;case"Q":if(h&&this.isInsideQuadraticStroke(a,s,v[0],v[1],v[2],v[3],t,n,i))return!0;f&&(o+=this.windingQuadratic(a,s,v[0],v[1],v[2],v[3],n,i)),a=v[2],s=v[3];break;case"A":var m=v[0],g=v[1],b=v[2],S=v[3],_=v[4],P=v[5],O=Math.cos(_)*b+m,T=Math.sin(_)*S+g;p?(p=!1,l=O,u=T):o+=this.windingLine(a,s,O,T);var w=(n-m)*S/b+m;if(h&&this.isInsideArcStroke(m,g,S,_,_+P,1-v[7],t,w,i))return!0;f&&(o+=this.windingArc(m,g,S,_,_+P,1-v[7],w,i)),a=Math.cos(_+P)*b+m,s=Math.sin(_+P)*S+g;break;case"z":if(h&&this.isInsideLine(a,s,l,u,t,n,i))return!0;c=!0}}return f&&(o+=this.windingLine(a,s,l,u,n,i)),0!==o}},{key:"getTextWidth",value:function(e,t){var r=e+":"+t;if(this._textWidthCache[r])return this._textWidthCache[r];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t);for(var n=0,i=0,o=(e=(e+"").split("\n")).length;ithis.TEXT_CACHE_MAX&&(this._textWidthCacheCounter=0,this._textWidthCache={}),n}},{key:"getTextHeight",value:function(e,t){var r=e+":"+t;if(this._textHeightCache[r])return this._textHeightCache[r];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t),e=(e+"").split("\n");var n=(this._ctx.measureText("ZH").width+2)*e.length;return this._ctx.restore(),this._textHeightCache[r]=n,++this._textHeightCacheCounter>this.TEXT_CACHE_MAX&&(this._textHeightCacheCounter=0,this._textHeightCache={}),n}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;var n=function(){function e(e,t){for(var r=0;r-1&&"?"===i?t+=n:t.indexOf("?")>-1&&"?"!==i?t+="&"+n:t+="?"+n}return t}},{key:"getCredential",value:function(){}}]),e}();i.SuperMap.OnlineServiceBase=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OnlineData=void 0;var n=function(){function e(e,t){for(var r=0;r0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.defaultcolor&&(e.defaultcolor.destroy(),e.defaultcolor=null)}},{key:"toServerJSONObject",value:function(){var e={};if((e=o.Util.copyAttributes(e,this)).defaultcolor&&e.defaultcolor.toServerJSONObject&&(e.defaultcolor=e.defaultcolor.toServerJSONObject()),e.items){for(var t=[],r=e.items.length,n=0;n0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.reverseColor=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}}],[{key:"fromObj",value:function(e){if(e){var r=new t;o.Util.copy(r,e);var n=e.items,i=n?n.length:0;r.items=[];for(var a=0;a0&&(e=e.substring(0,e.length-1)),"{"+e+"}"}return null}}]),e}();i.SuperMap.ThemeMemoryData=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServerTheme=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}}}],[{key:"toJsonParameters",value:function(e){var t,r;return t={datasetNames:e.datasetNames,getFeatureMode:"ID",ids:e.IDs},e.fields&&((r=new a.FilterParameter).name=e.datasetNames,r.fields=e.fields,t.queryParameter=r),o.Util.toJSON(t)}}]),t}();i.SuperMap.GetFeaturesByIDsParameters=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesByGeometryParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}}],[{key:"toJsonParameters",value:function(e){var t,r,n;return r=u.ServerGeometry.fromGeometry(e.geometry),n={datasetNames:e.datasetNames,getFeatureMode:"SPATIAL",geometry:r,spatialQueryMode:e.spatialQueryMode},e.fields&&((t=new s.FilterParameter).name=e.datasetNames,t.fields=e.fields,n.queryParameter=t),e.attributeFilter&&(n.attributeFilter=e.attributeFilter,n.getFeatureMode="SPATIAL_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(n.maxFeatures=e.maxFeatures),o.Util.toJSON(n)}}]),t}();i.SuperMap.GetFeaturesByGeometryParameters=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesByBufferParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}e.geometry&&(e.geometry.destroy(),e.geometry=null)}}],[{key:"toJsonParameters",value:function(e){var t,r,n;return n=l.ServerGeometry.fromGeometry(e.geometry),r={datasetNames:e.datasetNames,getFeatureMode:"BUFFER",bufferDistance:e.bufferDistance,geometry:n},e.fields&&((t=new s.FilterParameter).name=e.datasetNames,t.fields=e.fields,r.queryParameter=t),e.attributeFilter&&(r.attributeFilter=e.attributeFilter,r.getFeatureMode="BUFFER_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(r.maxFeatures=e.maxFeatures),o.Util.toJSON(r)}}]),t}();i.SuperMap.GetFeaturesByBufferParameters=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesByBoundsParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}}],[{key:"toJsonParameters",value:function(e){var r,n,i;return n={leftBottom:{x:e.bounds.left,y:e.bounds.bottom},rightTop:{x:e.bounds.right,y:e.bounds.top}},i={datasetNames:e.datasetNames,getFeatureMode:t.getFeatureMode.BOUNDS,bounds:n,spatialQueryMode:e.spatialQueryMode},e.fields&&((r=new s.FilterParameter).name=e.datasetNames,r.fields=e.fields,i.queryParameter=r),e.attributeFilter&&(i.attributeFilter=e.attributeFilter,i.getFeatureMode=t.getFeatureMode.BOUNDS_ATTRIBUTEFILTER),e.maxFeatures&&!isNaN(e.maxFeatures)&&(i.maxFeatures=e.maxFeatures),o.Util.toJSON(i)}}]),t}();u.getFeatureMode={BOUNDS:"BOUNDS",BOUNDS_ATTRIBUTEFILTER:"BOUNDS_ATTRIBUTEFILTER"},i.SuperMap.GetFeaturesByBoundsParameters=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeoRelationAnalystParameters=void 0;var n=function(){function e(e,t){for(var r=0;r=0?t.speed:1,this.frequency=t.speed&&t.frequency>=0?t.frequency:1e3,this.startTime=t.startTime&&null!=t.startTime?t.startTime:0,this.endTime=t.endTime&&null!=t.endTime&&t.endTime>=r.startTime?t.endTime:+new Date,this.repeat=void 0===t.repeat||t.repeat,this.reverse=void 0!==t.reverse&&t.reverse,this.currentTime=null,this.oldTime=null,this.running=!1,this.EVENT_TYPES=["start","pause","stop"],r.events=new o.Events(this,null,this.EVENT_TYPES),r.speed=Number(r.speed),r.frequency=Number(r.frequency),r.startTime=Number(r.startTime),r.endTime=Number(r.endTime),r.startTime=Date.parse(new Date(r.startTime)),r.endTime=Date.parse(new Date(r.endTime)),r.currentTime=r.startTime,this.CLASS_NAME="SuperMap.TimeControlBase"}return n(e,[{key:"updateOptions",value:function(e){var t=this;(e=e||{}).speed&&e.speed>=0&&(t.speed=e.speed,t.speed=Number(t.speed)),e.speed&&e.frequency>=0&&(t.frequency=e.frequency,t.frequency=Number(t.frequency)),e.startTime&&null!=e.startTime&&(t.startTime=e.startTime,t.startTime=Date.parse(new Date(t.startTime))),e.endTime&&null!=e.endTime&&e.endTime>=t.startTime&&(t.endTime=e.endTime,t.endTime=Date.parse(new Date(t.endTime))),null!=e.repeat&&(t.repeat=e.repeat),null!=e.reverse&&(t.reverse=e.reverse)}},{key:"start",value:function(){var e=this;e.running||(e.running=!0,e.tick(),e.events.triggerEvent("start",e.currentTime))}},{key:"pause",value:function(){this.running=!1,this.events.triggerEvent("pause",this.currentTime)}},{key:"stop",value:function(){var e=this;e.currentTime=e.startTime,e.running&&(e.running=!1),e.events.triggerEvent("stop",e.currentTime)}},{key:"toggle",value:function(){this.running?this.pause():this.start()}},{key:"setSpeed",value:function(e){return e>=0&&(this.speed=e,!0)}},{key:"getSpeed",value:function(){return this.speed}},{key:"setFrequency",value:function(e){return e>=0&&(this.frequency=e,!0)}},{key:"getFrequency",value:function(){return this.frequency}},{key:"setStartTime",value:function(e){var t=this;return!((e=Date.parse(new Date(e)))>t.endTime)&&(t.startTime=e,t.currentTime=t.endTime&&(t.currentTime=t.startTime,t.tick()),!0)}},{key:"getEndTime",value:function(){return this.endTime}},{key:"setCurrentTime",value:function(e){var t=this;return t.currentTime=Date.parse(new Date(t.currentTime)),e>=t.startTime&&e<=t.endTime&&(t.currentTime=e,t.startTime=t.currentTime,t.tick(),!0)}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"setRepeat",value:function(e){this.repeat=e}},{key:"getRepeat",value:function(){return this.repeat}},{key:"setReverse",value:function(e){this.reverse=e}},{key:"getReverse",value:function(){return this.reverse}},{key:"getRunning",value:function(){return this.running}},{key:"destroy",value:function(){var e=this;e.speed=null,e.frequency=null,e.startTime=null,e.endTime=null,e.currentTime=null,e.repeat=null,e.running=!1,e.reverse=null}},{key:"tick",value:function(){}}]),e}();i.SuperMap.TimeControlBase=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.LogoBase64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAAdCAYAAAAjHtusAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eH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G15xvFxD/j5gjzjjDbMOzk+9zzt3v5bgAEAibzFeFHVgYkAAAAASUVORK5CYII="},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Feature=void 0;var n=function(){function e(e,t){for(var r=0;r1},isLeftClick:function(e){return e.which&&1===e.which||e.button&&1===e.button},isRightClick:function(e){return e.which&&3===e.which||e.button&&2===e.button},stop:function(e,t){t||(e.preventDefault?e.preventDefault():e.returnValue=!1),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},findElement:function(e,t){for(var r=n.SuperMap.Event.element(e);r.parentNode&&(!r.tagName||r.tagName.toUpperCase()!=t.toUpperCase());)r=r.parentNode;return r},observe:function(e,t,r,n){var o=i.Util.getElement(e);if(n=n||!1,"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||o.attachEvent)&&(t="keydown"),this.observers||(this.observers={}),!o._eventCacheID){var a="eventCacheID_";o.id&&(a=o.id+"_"+a),o._eventCacheID=i.Util.createUniqueID(a)}var s=o._eventCacheID;this.observers[s]||(this.observers[s]=[]),this.observers[s].push({element:o,name:t,observer:r,useCapture:n}),o.addEventListener?o.addEventListener(t,r,n):o.attachEvent&&o.attachEvent("on"+t,r)},stopObservingElement:function(e){var t=i.Util.getElement(e)._eventCacheID;this._removeElementObservers(n.SuperMap.Event.observers[t])},_removeElementObservers:function(e){if(e)for(var t=e.length-1;t>=0;t--){var r=e[t],i=new Array(r.element,r.name,r.observer,r.useCapture);n.SuperMap.Event.stopObserving.apply(this,i)}},stopObserving:function(e,t,r,o){o=o||!1;var a=i.Util.getElement(e),s=a._eventCacheID;"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||a.detachEvent)&&(t="keydown");var l=!1,u=n.SuperMap.Event.observers[s];if(u)for(var c=0;!l&&c0?this.convertFastToPixelPoints(e):this.canvasContext.clearRect(0,0,this.maxWidth,this.maxWidth)},convertFastToPixelPoints:function(e){var t,r,n,o,a,s,l,u=[],c=e.getEast()-e.getWest(),p=e.getNorth()-e.getSouth(),h=this._map.getSize();o=c/h.x>p/h.y?c/h.x:p/h.y,this.useRadius=this.useGeoUnit?parseInt(this.radius/o):this.radius;for(var f=0;f0&&this.maxWidth>0))return!1;var r=this.canvasContext;this.canvasContext.clearRect(0,0,this.maxWidth,this.maxHeight),this.drawCircle(this.useRadius),this.createGradient();for(var n=0;n>1,c=-7,p=r?i-1:0,h=r?-1:1,f=e[t+p];for(p+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+e[t+p],p+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+p],p+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),o-=u}return(f?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,y=n?1:-1,d=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+p>=1?h/l:h*Math.pow(2,1-p))*l>=2&&(a++,l/=2),a+p>=c?(s=0,a=c):a+p>=1?(s=(t*l-1)*Math.pow(2,i),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;e[r+f]=255&s,f+=y,s/=256,i-=8);for(a=a<0;e[r+f]=255&a,f+=y,a/=256,u-=8);e[r+f-y]|=128*d}},function(e,t,r){"use strict";e.exports=i;var n=r(335);function i(e){this.buf=ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}i.Varint=0,i.Fixed64=1,i.Bytes=2,i.Fixed32=5;function o(e){return e.type===i.Bytes?e.readVarint()+e.pos:e.pos+1}function a(e,t,r){return r?4294967296*t+(e>>>0):4294967296*(t>>>0)+(e>>>0)}function s(e,t,r){var n=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.ceil(Math.log(t)/(7*Math.LN2));r.realloc(n);for(var i=r.pos-1;i>=e;i--)r.buf[i+n]=r.buf[i]}function l(e,t){for(var r=0;r>>8,e[r+2]=t>>>16,e[r+3]=t>>>24}function b(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}i.prototype={destroy:function(){this.buf=null},readFields:function(e,t,r){for(r=r||this.length;this.pos>3,o=this.pos;this.type=7&n,e(i,t,this),this.pos===o&&this.skip(n)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=m(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=b(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=m(this.buf,this.pos)+4294967296*m(this.buf,this.pos+4);return this.pos+=8,e},readSFixed64:function(){var e=m(this.buf,this.pos)+4294967296*b(this.buf,this.pos+4);return this.pos+=8,e},readFloat:function(){var e=n.read(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=n.read(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,r,n=this.buf;return t=127&(r=n[this.pos++]),r<128?t:(t|=(127&(r=n[this.pos++]))<<7,r<128?t:(t|=(127&(r=n[this.pos++]))<<14,r<128?t:(t|=(127&(r=n[this.pos++]))<<21,r<128?t:function(e,t,r){var n,i,o=r.buf;if(i=o[r.pos++],n=(112&i)>>4,i<128)return a(e,n,t);if(i=o[r.pos++],n|=(127&i)<<3,i<128)return a(e,n,t);if(i=o[r.pos++],n|=(127&i)<<10,i<128)return a(e,n,t);if(i=o[r.pos++],n|=(127&i)<<17,i<128)return a(e,n,t);if(i=o[r.pos++],n|=(127&i)<<24,i<128)return a(e,n,t);if(i=o[r.pos++],n|=(1&i)<<31,i<128)return a(e,n,t);throw new Error("Expected varint not more than 10 bytes")}(t|=(15&(r=n[this.pos]))<<28,e,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?(e+1)/-2:e/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var e=this.readVarint()+this.pos,t=function(e,t,r){var n="",i=t;for(;i239?4:l>223?3:l>191?2:1;if(i+c>r)break;1===c?l<128&&(u=l):2===c?128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)<=127&&(u=null):3===c?(o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&((u=(15&l)<<12|(63&o)<<6|63&a)<=2047||u>=55296&&u<=57343)&&(u=null)):4===c&&(o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&((u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)<=65535||u>=1114112)&&(u=null)),null===u?(u=65533,c=1):u>65535&&(u-=65536,n+=String.fromCharCode(u>>>10&1023|55296),u=56320|1023&u),n+=String.fromCharCode(u),i+=c}return n}(this.buf,this.pos,e);return this.pos=e,t},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){var r=o(this);for(e=e||[];this.pos127;);else if(t===i.Bytes)this.pos=this.readVarint()+this.pos;else if(t===i.Fixed32)this.pos+=4;else{if(t!==i.Fixed64)throw new Error("Unimplemented type: "+t);this.pos+=8}},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t268435455||e<0?function(e,t){var r,n;e>=0?(r=e%4294967296|0,n=e/4294967296|0):(n=~(-e/4294967296),4294967295^(r=~(-e%4294967296))?r=r+1|0:(r=0,n=n+1|0));if(e>=0x10000000000000000||e<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),function(e,t,r){r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos]=127&e}(r,0,t),function(e,t){var r=(7&e)<<4;if(t.buf[t.pos++]|=r|((e>>>=3)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;t.buf[t.pos++]=127&e}(n,t)}(e,this):(this.realloc(4),this.buf[this.pos++]=127&e|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=e>>>7&127))))},writeSVarint:function(e){this.writeVarint(e<0?2*-e-1:2*e)},writeBoolean:function(e){this.writeVarint(Boolean(e))},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,r){for(var n,i,o=0;o55295&&n<57344){if(!i){n>56319||o+1===t.length?(e[r++]=239,e[r++]=191,e[r++]=189):i=n;continue}if(n<56320){e[r++]=239,e[r++]=191,e[r++]=189,i=n;continue}n=i-55296<<10|n-56320|65536,i=null}else i&&(e[r++]=239,e[r++]=191,e[r++]=189,i=null);n<128?e[r++]=n:(n<2048?e[r++]=n>>6|192:(n<65536?e[r++]=n>>12|224:(e[r++]=n>>18|240,e[r++]=n>>12&63|128),e[r++]=n>>6&63|128),e[r++]=63&n|128)}return r}(this.buf,e,this.pos);var r=this.pos-t;r>=128&&s(t,r,this),this.pos=t-1,this.writeVarint(r),this.pos+=r},writeFloat:function(e){this.realloc(4),n.write(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),n.write(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var r=0;r=128&&s(r,n,this),this.pos=r-1,this.writeVarint(n),this.pos+=n},writeMessage:function(e,t,r){this.writeTag(e,i.Bytes),this.writeRawMessage(t,r)},writePackedVarint:function(e,t){this.writeMessage(e,l,t)},writePackedSVarint:function(e,t){this.writeMessage(e,u,t)},writePackedBoolean:function(e,t){this.writeMessage(e,h,t)},writePackedFloat:function(e,t){this.writeMessage(e,c,t)},writePackedDouble:function(e,t){this.writeMessage(e,p,t)},writePackedFixed32:function(e,t){this.writeMessage(e,f,t)},writePackedSFixed32:function(e,t){this.writeMessage(e,y,t)},writePackedFixed64:function(e,t){this.writeMessage(e,d,t)},writePackedSFixed64:function(e,t){this.writeMessage(e,v,t)},writeBytesField:function(e,t){this.writeTag(e,i.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,i.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,i.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,i.Fixed64),this.writeFixed64(t)},writeSFixed64Field:function(e,t){this.writeTag(e,i.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,i.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,i.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,i.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,i.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,i.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,Boolean(t))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tiledVectorLayer=t.TileVectorLayer=void 0;var n=u(r(2));r(4);var i=r(141),o=r(96),a=r(5),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(29)),l=u(r(11));function u(e){return e&&e.__esModule?e:{default:e}}var c=t.TileVectorLayer=i.VectorGrid.extend({options:{serverType:null,crs:null,cartoCSS:null,layerNames:null,layersID:null,serverCartoCSSStyle:!0,returnAttributes:!1,expands:null,cacheEnabled:!1,tileTemplate:null,subdomains:"abc",timeout:1e4,attribution:l.default.Common.attribution},initialize:function(e,t){(t=t||{}).noWrap=null==t.noWrap||t.noWrap,n.default.setOptions(this,t),i.VectorGrid.prototype.initialize.call(this,t),n.default.stamp(this);var r=this;if(!e||""===e||e.indexOf("http")<0)return e="",this;r.url=e,e&&e.indexOf("/")===e.length-1&&(e=e.substr(0,e.length-1),r.url=e),this.cartoCSSToLeaflet=new o.CartoCSSToLeaflet(r.url),r.initLayersInfo(),!r.options.serverCartoCSSStyle&&r.options&&r.setClientCartoCSS(r.options.cartoCSS)},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._map=e,this._initLayerUrl(),!this.options.tileTemplate&&this.options.serverCartoCSSStyle||this._initGrid()},initLayersInfo:function(){var e=this,t=e.url+"/layers.json";a.FetchRequest.get(t,null,{timeout:e.options.timeout}).then(function(e){return e.json()}).then(function(t){if(e.layersInfoInitialized=!0,e.layersInfo=t,e.layersInfo){for(var r={},n=0,i=e.layersInfo.length;n0&&a[a.length-1]}t.properties.textField=o}r.vectorTileLayerStyles=r.vectorTileLayerStyles||{};var s=r.vectorTileLayerStyles[n];if(s)return t=this._mergeFeatureTextField(t,s),s;if(!s){var l=this.getScaleFromCoords(e),u=this.cartoCSSToLeaflet.pickShader(n)||[];for(var c in s=[],u)for(var p=u[c],h=0;h1){var p=parseInt(c[1]);u=p&&p>=4e3&&p<=5e3?a.Unit.DEGREE:a.Unit.METER}}return s.resolutionToScale(l,96,u)},_mergeFeatureTextField:function(e,t){if(!this.options.serverCartoCSSStyle||!t||"TEXT"!==e.type)return e;var r=t;n.default.Util.isArray(t)||(r=[t]);for(var i=0;i-1&&(this._data=e),this._renderLayer.setChangeFlags({dataChanged:!0,propsChanged:!0,viewportChanged:!0,updateTriggersChanged:!0}),this._refreshData();var t=this._getLayerState();t.data=this._data||[],this._layerDefaultStyleCache=null,this._renderLayer.setNeedsRedraw(!0),this._renderLayer.setState(t)},drawGraphics:function(e){this._data=e||[],this._renderLayer||this._createInnerRender(),this._draw()},_initContainer:function(){this._container=this._createCanvas(this.options.width,this.options.height),this._layerContainer=this.options.container,this._wrapper=o.default.DomUtil.create("div","deck-wrapper",this._layerContainer),this._wrapper.appendChild(this._container)},_createCanvas:function(e,t){var r=o.default.DomUtil.create("canvas","graphicLayer leaflet-layer leaflet-zoom-hide");return r.oncontextmenu=o.default.Util.falseFn,r.width=e,r.height=t,r.style.width=e+"px",r.style.height=t+"px",r},_pixelToMeter:function(e){var t=this.layer._map.getBounds();return e*((t.getEast()-t.getWest())/this.layer._map.getSize().x*(6378137*Math.PI/180))},_createInnerRender:function(){var e=this,t=this._getLayerState(),r=t.color,n=t.radius,i=t.opacity,o=t.highlightColor,a=t.radiusScale,s=t.radiusMinPixels,l=t.radiusMaxPixels,u=t.strokeWidth,c=t.outline,p={id:"scatter-plot",data:e._data,pickable:Boolean(this.options.onClick)||Boolean(this.options.onHover),autoHighlight:!0,color:r,opacity:i,radius:n,radiusScale:a,highlightColor:o,radiusMinPixels:s,radiusMaxPixels:l,strokeWidth:u,outline:c,getPosition:function(e){if(!e)return[0,0,0];var t=e&&e.getLatLng();return t&&[t.lng,t.lat,0]},getColor:function(t){var r=e._getLayerDefaultStyle(),n=t&&t.options;return n&&n.color||r.color},getRadius:function(t){var r=e._getLayerDefaultStyle(),n=t&&t.getStyle();return n&&n.radius||r.radius},updateTriggers:{getColor:[r],getRadius:[n]}},h=this;this.options.onClick&&(p.onClick=function(){h._container.style.cursor="pointer",h.options.onClick.apply(h,arguments)}),this.options.onHover&&(p.onHover=function(){h._container.style.cursor="pointer",h.options.onHover.apply(h,arguments)}),e._renderLayer=new window.DeckGL.ScatterplotLayer(p)},_getLayerDefaultStyle:function(){if(this._layerDefaultStyleCache)return this._layerDefaultStyleCache;var e=this.layer.options,t=e.color,r=e.opacity,n=e.radius,i=e.radiusScale,o=e.radiusMinPixels,a=e.radiusMaxPixels,s=e.strokeWidth,l=e.outline;return n=this._pixelToMeter(n),this._layerDefaultStyleCache={color:t,opacity:r,radius:n,radiusScale:i,radiusMinPixels:o,radiusMaxPixels:a,strokeWidth:s,outline:l},this._layerDefaultStyleCache},_getLayerState:function(){var e=this.layer.getState();return e.zoom=e.zoom-1,e},_draw:function(){var e=this._getLayerState();this._refreshData(),e.data=this._data||[];var t={};for(var r in e)t[r]=e[r];this._layerDefaultStyleCache=null,this._renderLayer.setNeedsRedraw(!0),t.layers=[this._renderLayer],t.canvas=this._container,t.onBeforeRender=this._onBeforeRender.bind(this),t.onAfterRender=this._onAfterRender.bind(this),this.deckGL?this.deckGL.setProps(t):this.deckGL=new window.DeckGL.experimental.DeckGLJS(t)},_clearBuffer:function(){var e=this.deckGL.layerManager;return e&&e.context.gl.clear(e.context.gl.COLOR_BUFFER_BIT),this},_refreshData:function(){var e=this._data||[],t=o.default.Util.isArray(e)?[].concat(e):[e];this._renderLayer.props.data||(this._renderLayer.props.data=[]),this._renderLayer.props.data.length=0;for(var r=0;r=90?89.99999999999999:e<=-90?-89.99999999999999:e},l.prototype.pointToData=function(e){var t=this._mapOffset,r=this._LeafletMap.layerPointToLatLng([e[0]+t[0],e[1]+t[1]]);return[r.lng,r.lat]},l.prototype.getViewRect=function(){var e=this._LeafletMap.getSize();return new i.default.graphic.BoundingRect(0,0,e.x,e.y)},l.prototype.getRoamTransform=function(){return i.default.matrix.create()},l.dimensions=l.prototype.dimensions,l.create=function(e){var t=void 0;e.eachComponent("LeafletMap",function(e){t||(t=new l(i.default.leafletMap)),e.coordinateSystem=t,e.coordinateSystem.setMapOffset(e.__mapOffset||[0,0])}),e.eachSeries(function(e){e.get("coordinateSystem")&&"leaflet"!==e.get("coordinateSystem")||(t||(t=new l(i.default.leafletMap)),e.coordinateSystem=t,e.animation=!0===e.animation)})};var u=t.echartsLayer=function(e,t){return new s(e,t)};n.default.supermap.echartsLayer=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NormalRenderer=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};r(4);t.NormalRenderer=o.default.GeoJSON.extend({initialize:function(e,t){(t=t||{}).style&&!t.pointToLayer&&(t.pointToLayer=function(e,r){return o.default.circleMarker(r,t.style())}),o.default.Util.setOptions(this,t),this._layers={},o.default.stamp(this),this.url=e,this.idCache={}},onMessageSuccessed:function(e){var t=e.featureResult,r=e.featureResult.properties[this.options.idField],n=null;void 0!==r&&this.idCache[r]?(n=this.getLayer(this.idCache[r]),this._updateLayerData(n,t)):((n=o.default.GeoJSON.geometryToLayer(t,this.options)).feature=o.default.GeoJSON.asFeature(t),this.addLayer(n),void 0!==r&&(this.idCache[r]=this.getLayerId(n))),this.options.onEachFeature&&this.options.onEachFeature(t,n)},_updateLayerData:function(e,t){t.properties&&(e.feature.properties=t.properties);var r=[];switch(t.geometry.type){case"Point":r=o.default.GeoJSON.coordsToLatLng(t.geometry.coordinates),e.setLatLng(r);break;case"LineString":r=o.default.GeoJSON.coordsToLatLngs(t.geometry.coordinates,0),e.setLatLngs(r);break;case"MultiLineString":case"Polygon":r=o.default.GeoJSON.coordsToLatLngs(t.geometry.coordinates,1),e.setLatLngs(r);break;case"MultiPolygon":r=o.default.GeoJSON.coordsToLatLngs(t.geometry.coordinates,2),e.setLatLngs(r)}}})},function(e,t){e.exports=function(){try{return mapv}catch(e){return{}}}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MapvRenderer=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};r(4);var a=r(145);t.MapvRenderer=a.MapVLayer.extend({initialize:function(e,t){t=t||{},o.default.Util.setOptions(this,t),this.data=[],this.mapVOptions={draw:"simple"},a.MapVLayer.prototype.initialize.call(this,new window.mapv.DataSet([]),this.mapVOptions,t),this.idCache={},this.url=e,this._last=new Date,this._imageCache={}},onMessageSuccessed:function(e){var t=this,r=e.featureResult.properties.id,n=e.featureResult.geometry,i={geometry:e.featureResult.geometry};if("Point"===n.type&&this.options.pointToLayer){var a=this.options.pointToLayer(e.featureResult,o.default.latLng(n.coordinates[1],n.coordinates[0]));if(a instanceof o.default.Marker){this.mapVOptions.draw="icon";var s=a.options.icon,l=s._getIconUrl("icon")+"_"+(s.options.iconSize?s.options.iconSize[0]:null)+"_"+(s.options.iconSize?s.options.iconSize[1]:null),u=this._imageCache[l];u||(u=s.createIcon(),this._imageCache[l]=u,u.onload=function(){t.update({data:t.data,options:t.mapVOptions})}),i.icon=u,(s.options.iconSize||u.style.height)&&(this.mapVOptions.offset={x:0,y:-(s.options.iconSize[1]||u.style.height)/2}),this.options.deg&&(i.deg=this.options.deg,"function"==typeof i.deg&&(i.deg=i.deg(e.featureResult,o.default.latLng(n.coordinates[1],n.coordinates[0]))))}if(a instanceof o.default.CircleMarker){this.mapVOptions.draw="simple";var c=this._toMapvStyle(a);for(var p in c)c.hasOwnProperty(p)&&(i[p]=c[p])}}else if(this.options.style){var h=this._toMapvStyle(this.options.style(e.featureResult));for(var f in h)h.hasOwnProperty(f)&&(i[f]=h[f])}void 0==this.idCache[r]?(this.data.push(i),this.idCache[r]=this.data.length-1):this.data[this.idCache[r]]=i,new Date-this._last>200&&(this._last=new Date,this.update({data:this.data,options:this.mapVOptions}))},_toMapvStyle:function(e){var t={draw:"simple"};return t.strokeStyle=e.color,t.lineWidth=e.width,t.globalAlpha=e.fillOpacity||e.opacity,t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.fillStyle=e.fillColor,t.size=e.radius,t}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dataFlowLayer=t.DataFlowLayer=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};r(4);var a=r(146),s=r(350),l=r(348);var u=t.DataFlowLayer=o.default.LayerGroup.extend({options:{geometry:null,prjCoordSys:null,excludeField:null,idField:"id",render:"normal"},initialize:function(e,t){t=t||{},o.default.Util.setOptions(this,t),this.url=e,this._layers={}},onAdd:function(e){var t=this;this.dataService=new a.DataFlowService(this.url,{geometry:this.options.geometry,prjCoordSys:this.options.prjCoordSys,excludeField:this.options.excludeField}).initSubscribe(),this.dataService.on("subscribeSocketConnected",function(e){return t.fire("subscribesuccessed",e)}),this.dataService.on("messageSuccessed",function(e){return t._onMessageSuccessed(e)}),this.dataService.on("setFilterParamSuccessed",function(e){return t.fire("setfilterparamsuccessed",e)}),"mapv"===this.options.render?this.addLayer(new s.MapvRenderer(this.url,this.options)):this.addLayer(new l.NormalRenderer(this.url,this.options)),o.default.LayerGroup.prototype.onAdd.call(this,e)},onRemove:function(e){o.default.LayerGroup.prototype.onRemove.call(this,e),this.dataService&&this.dataService.unSubscribe()},setExcludeField:function(e){return this.dataService.setExcludeField(e),this.options.excludeField=e,this},setGeometry:function(e){return this.dataService.setGeometry(e),this.options.geometry=e,this},_onMessageSuccessed:function(e){var t=!0,r=!1,n=void 0;try{for(var i,o=this.getLayers()[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){var a=i.value;a.onMessageSuccessed(e),this.fire("dataupdated",{layer:a,data:e.featureResult})}}catch(e){r=!0,n=e}finally{try{!t&&o.return&&o.return()}finally{if(r)throw n}}}}),c=t.dataFlowLayer=function(e,t){return new u(e,t)};o.default.supermap.dataFlowLayer=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VectorTilePBF=t.VectorTileJSON=t.VectorTile=t.VectorGrid=t.VectorFeatureType=t.TextSymbolizer=t.PolyBase=t.Symbolizer=t.SVGRenderer=t.RegionSymbolizer=t.PointSymbolizer=t.LineSymbolizer=t.CanvasRenderer=t.ThemeLayer=t.themeFeature=t.ThemeFeature=t.GeoFeatureThemeLayer=t.MapVRenderer=t.graphic=t.Graphic=t.circleStyle=t.CircleStyle=t.cloverStyle=t.CloverStyle=t.imageStyle=t.ImageStyle=t.CompOpMap=t.ServerStyleMap=t.CartoStyleMap=t.DefaultStyle=t.CartoCSSToLeaflet=t.VectorTileFormat=t.heatMapFeature=t.HeatMapFeature=t.heatMapLayer=t.HeatMapLayer=t.uniqueThemeLayer=t.UniqueThemeLayer=t.unicodeMarker=t.UnicodeMarker=t.turfLayer=t.TurfLayer=t.tiledVectorLayer=t.TileVectorLayer=t.rankSymbolThemeLayer=t.RankSymbolThemeLayer=t.rangeThemeLayer=t.RangeThemeLayer=t.mapVLayer=t.MapVLayer=t.labelThemeLayer=t.LabelThemeLayer=t.graphThemeLayer=t.GraphThemeLayer=t.graphicLayer=t.GraphicLayer=t.LeafletMapCoordSys=t.echartsLayer=t.EchartsLayer=t.dataFlowLayer=t.DataFlowLayer=void 0;var n=r(351),i=r(347),o=r(345),a=r(142),s=r(149),l=r(145),u=r(150),c=r(338),p=r(337),h=r(331),f=r(147),y=r(151),d=r(329),v=r(89),m=r(328),g=r(143),b=r(327),S=r(326),_=r(325);t.DataFlowLayer=n.DataFlowLayer,t.dataFlowLayer=n.dataFlowLayer,t.EchartsLayer=i.EchartsLayer,t.echartsLayer=i.echartsLayer,t.LeafletMapCoordSys=i.LeafletMapCoordSys,t.GraphicLayer=o.GraphicLayer,t.graphicLayer=o.graphicLayer,t.GraphThemeLayer=a.GraphThemeLayer,t.graphThemeLayer=a.graphThemeLayer,t.LabelThemeLayer=s.LabelThemeLayer,t.labelThemeLayer=s.labelThemeLayer,t.MapVLayer=l.MapVLayer,t.mapVLayer=l.mapVLayer,t.RangeThemeLayer=u.RangeThemeLayer,t.rangeThemeLayer=u.rangeThemeLayer,t.RankSymbolThemeLayer=c.RankSymbolThemeLayer,t.rankSymbolThemeLayer=c.rankSymbolThemeLayer,t.TileVectorLayer=p.TileVectorLayer,t.tiledVectorLayer=p.tiledVectorLayer,t.TurfLayer=h.TurfLayer,t.turfLayer=h.turfLayer,t.UnicodeMarker=f.UnicodeMarker,t.unicodeMarker=f.unicodeMarker,t.UniqueThemeLayer=y.UniqueThemeLayer,t.uniqueThemeLayer=y.uniqueThemeLayer,t.HeatMapLayer=d.HeatMapLayer,t.heatMapLayer=d.heatMapLayer,t.HeatMapFeature=d.HeatMapFeature,t.heatMapFeature=d.heatMapFeature,t.VectorTileFormat=v.VectorTileFormat,t.CartoCSSToLeaflet=m.CartoCSSToLeaflet,t.DefaultStyle=m.DefaultStyle,t.CartoStyleMap=m.CartoStyleMap,t.ServerStyleMap=m.ServerStyleMap,t.CompOpMap=m.CompOpMap,t.ImageStyle=g.ImageStyle,t.imageStyle=g.imageStyle,t.CloverStyle=g.CloverStyle,t.cloverStyle=g.cloverStyle,t.CircleStyle=g.CircleStyle,t.circleStyle=g.circleStyle,t.Graphic=g.Graphic,t.graphic=g.graphic,t.MapVRenderer=b.MapVRenderer,t.GeoFeatureThemeLayer=S.GeoFeatureThemeLayer,t.ThemeFeature=S.ThemeFeature,t.themeFeature=S.themeFeature,t.ThemeLayer=S.ThemeLayer,t.CanvasRenderer=_.CanvasRenderer,t.LineSymbolizer=_.LineSymbolizer,t.PointSymbolizer=_.PointSymbolizer,t.RegionSymbolizer=_.RegionSymbolizer,t.SVGRenderer=_.SVGRenderer,t.Symbolizer=_.Symbolizer,t.PolyBase=_.PolyBase,t.TextSymbolizer=_.TextSymbolizer,t.VectorFeatureType=_.VectorFeatureType,t.VectorGrid=_.VectorGrid,t.VectorTile=_.VectorTile,t.VectorTileJSON=_.VectorTileJSON,t.VectorTilePBF=_.VectorTilePBF},function(e,t,r){"use strict";function n(e){return Object.prototype.toString.call(e)}function i(e){return"[object String]"===n(e)}e.exports={getObjectType:n,isDate:function(e){return"[object Date]"===n(e)},isString:i,isDateString:function(e){return i(e)&&!isNaN(Date.parse(e))},parseDateFromString:function(e){return Date.parse(e)},isNumber:function(e){return"number"==typeof e}}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(353),o="&&",a="||",s="and",l="or",u="=",c="~",p="!"+u,h="!"+c,f=">",y=">=",d="<",v="<=",m="*",g=",",b=".",S="(",_=")",P="where",O={pathway:[],groups:{}},T={},w={},M=console.log;function C(e){var t=E(e,P),r=t[0],n=t[1];O.pathway=E(r,g);for(var i=0,s=O.pathway.length;il&&-1!==l){var C="gr_"+(new Date).getTime();O.groups[C]=n.substring(l+1,w),n=n.replace(S+O.groups[C]+_,C),M=-1}M+=1}!function e(t,r){var n=x(r,o),i=x(r,a);if(n!==Number.MAX_VALUE||i!==Number.MAX_VALUE)if(n-1}function L(e,t){var r=E(t,b),n=e;for(var o in r){if(!n.hasOwnProperty(r[o]))return"";n=n[r[o]]}return n=i.isDate(n)?n.valueOf():i.isDateString(n)?i.parseDateFromString(n):n.toString()}function k(e,t){var r=!1;for(var n in e){if(r=r||(n===s?j:n===l?k:F)(e[n],t),w.trace&&M(O.step,"======((( or",e[n],r),r)return r}return r}function j(e,t){var r=!0;for(var n in e){if(r=r&&(n===s?j:n===l?k:F)(e[n],t),w.trace&&M(O.step,"======((( and",e[n],r),!r)return r}return r}function F(e,t){if(O.step+=1,e.or){var r=k(e.or,t);return w.trace&&M(O.step,"OR",e,r),r}if(e.and){r=j(e.and,t);return w.trace&&M(O.step,"AND",e,r),r}if("object"===(void 0===e?"undefined":n(e)))return e.eq?L(t,e.eq[0])===e.eq[1]:e.ne?L(t,e.ne[0])!==e.ne[1]:e.req?A(L(t,e.req[0]),e.req[1]):e.nreq?!A(L(t,e.nreq[0]),e.nreq[1]):e.gt?L(t,e.gt[0])>e.gt[1]:e.ge?L(t,e.ge[0])>=e.ge[1]:e.lt?L(t,e.lt[0])0?n.map(function(e){for(var t={},r=0,n=O.pathway.length;r0;){var o=t.pop(),a=o.type,s=o.layerType=o.layerType||"BASE_LAYER";"OVERLAY_LAYER"!==s&&(a=s),this.createLayer(a,o)}this.fire("mapLoaded",{map:this._map})}},createCRS:function(e,t,r,i,o){return e<0?new l.NonEarthCRS({bounds:o,origin:i,resolutions:r}):910112===e||910102===e?n.default.CRS.BaiduCRS:(910111===e&&(e=3857),910101===e&&(e=4326),n.default.Proj.CRS("EPSG:"+e,{origin:i,resolutions:r,bounds:o}))},createMap:function(e){var t=e.crs||n.default.CRS.EPSG3857,r=n.default.latLngBounds(t.unproject(e.bounds.min),t.unproject(e.bounds.max));this._map=n.default.map(this.options.map,{center:r.getCenter(),maxZoom:e.maxZoom||22,minZoom:e.minZoom||0,zoom:e.zoom||0,crs:t,renderer:n.default.canvas()}),t instanceof l.NonEarthCRS?this._map.setZoom(e.zoom?e.zoom+2:2,{maxZoom:e.maxZoom||22}):this._map.fitBounds(r,{maxZoom:e.maxZoom||22})},getResolutionsFromScales:function(e,t,r,i){for(var o=[],a=0;a 0";var s=new a.GetFeaturesBySQLParameters({queryParameter:{name:r+"@"+t,attributeFilter:n},datasetNames:[t+":"+r],fromIndex:0,toIndex:1e5});(0,m.featureService)(e).getFeaturesBySQL(s,o,i)},createThemeLayer:function(e){var t,r=this,n=e.themeSettings&&JSON.parse(e.themeSettings),i=n.type;if(e.themeSettings=n,(t="HEAT"===i?this.createHeatLayer(e,n):"UNIQUE"===i?this.createUniqueLayer(e,n):"RANGE"===i?this.createRangeLayer(e,n):this.createBaseThemeLayer(e,n))&&(this.addFeature2ThemeLayer(e,t),t.on("add",function(e){r.registerThemeEvent(e.target)})),n&&n.labelField){var o=this.createLabelLayer(e,n);o.on("add",function(e){r.registerThemeEvent(e.target)}),t.labelLayer=o}return t},createBaseThemeLayer:function(e,t){var r=e.style,i=e.opacity,o=t.vectorType,a=r.pointStyle;a.fill="LINE"!==o;var s={};s.radius=a.pointRadius,s.color=a.strokeColor,s.opacity=a.strokeOpacity,s.lineCap=a.strokeLineCap,s.weight=a.strokeWidth,s.fillColor=a.fillColor,s.fillOpacity=a.fillOpacity;var l=function(e,t){return n.default.circleMarker(t,s)};return a.unicode&&(l=function(e,t){return new b.UnicodeMarker(t,a)}),n.default.geoJSON({type:"GeometryCollection",geometries:[]},{pointToLayer:l,opacity:i})},createUniqueLayer:function(e,t){for(var r=e.title,n=t.field,i=[],o=t.settings,a=e.isVisible,s=e.opacity,l=t.vectorType,u=0;u0?{fillColor:"#ffffff"}:s[0].style;var u=n.default.Util.extend(new a.ThemeStyle,r);u.fontWeight="bold",u.fontSize="14px",u.labelRect=!0,u.strokeColor=u.fillColor,u.fontColor=t.labelColor,t.labelFont&&(u.fontFamily=t.labelFont);var c=new v.LabelThemeLayer(i,{visibility:l,opacity:.7});return this.registerThemeEvent(c),c.style=u,c.themeField=o,c.styleGroups=[],c},createHeatLayer:function(e,t){for(var r=t.colors||["blue","cyan","lime","yellow","red"],i={},o=void 0,a=0,s=r.length,l=1;a0&&a.push(n[s]);else for(var c=0,p=(n=o.parseFeatureFromJson(r.content)).length;c0&&a.push(n[c]);var h=e.prjCoordSys&&e.prjCoordSys.epsgCode;u?o.changeFeatureLayerEpsgCode(h,"4326",t,a,function(e){k(e)}):k(a)},function(){});else{for(var _=[],P=e.features,O=0,T=P.length;O0){var M=w.geometry.points[0].x,C=w.geometry.points[0].y,x=new a.GeometryPoint(M,C),E=new a.GeometryVector(x,w.attributes,w.style);_.push(E)}}k(_)}}else if(s){var A=e.datasourceName;f=(h=(p=e.subLayers&&JSON.parse(e.subLayers)).length&&p.length>0?p[0]:p)&&h.name,this.getFeaturesBySQL(e.url,A,f,m.filter,a.DataFormat.ISERVER,function(n){var i,o,s=n.result,l=[];if(s&&s.features){for(var c=0,p=(i=s.features).length;c0?p[0]:p)&&h.name;var L=e.prjCoordSys&&e.prjCoordSys.epsgCode;this.getFeaturesBySQL(y,d,f,g,a.DataFormat.ISERVER,function(e){u?o.changeFeatureLayerEpsgCode(L,"4326",t,e,function(e){k(e)}):k(e)})}}function k(r){if(t&&t.labelLayer instanceof v.LabelThemeLayer&&o.addFeature2LabelLayer(t.labelLayer,r,e),n.default.HeatLayer&&t instanceof n.default.HeatLayer){for(var i=[],s=0,l=r.length;s0){for(o=0,a=n.length;o==/g,">=").replace(/<==/g,"<="))+")":" * where (1==1||1>=0)"},getAttributesObjFromTable:function(e,t){if(0!==e.length&&0!==t.length){for(var r=[],n=0;n-1?(r=(e=JSON.parse(e)).needTransform,t=e.isAddFile):"needTransform"===e?(r=!0,t=!1):t="true"===e,{isAddFile:t,needTransform:r}},registerThemeEvent:function(e){var t=this;e.on("click",function(r){if(e.map){t.selectedFeature&&(t.fire("featureUnSelected",{feature:t.selectedFeature}),t.selectedFeature=null);var n=void 0;r.target&&r.target.refDataID&&(n=e.getFeatureById(r.target.refDataID)),n&&(t.selectedFeature=n,t.fire("featureSelected",{feature:n}))}}),e.on("mousemove",function(r){if(e.map&&r.target&&r.target.refDataID){var n=void 0;r.target&&r.target.refDataID&&(n=e.getFeatureById(r.target.refDataID)),n&&t.fire("featureMousemove",{feature:n})}})},SERVER_TYPE_MAP:{"EPSG:4326":"WGS84","EPSG:3857":"MERCATOR","EPSG:900913":"MERCATOR","EPSG:102113":"MERCATOR","EPSG:910101":"GCJ02","EPSG:910111":"GCJ02MERCATOR","EPSG:910102":"BD","EPSG:910112":"BDMERCATOR"}}),T=t.webMap=function(e,t){return new O(e,t)};n.default.supermap.webmap=T},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageMapLayer=t.ImageMapLayer=void 0;var n=r(2),i=s(n);r(4);var o=r(5),a=s(r(11));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.ImageMapLayer=n.Layer.extend({options:{layersID:null,redirect:!1,transparent:null,cacheEnabled:null,clipRegionEnabled:!0,prjCoordSys:null,overlapDisplayed:!1,overlapDisplayedOptions:null,opacity:1,alt:"",pane:"tilePane",interactive:!1,crossOrigin:!1,errorOverlayUrl:!1,zIndex:1,className:"",serverType:o.ServerType.ISERVER,attribution:a.default.Common.attribution,updateInterval:150,format:"png"},initialize:function(e,t){this._url=e,n.Util.setOptions(this,t)},onAdd:function(e){this.update=n.Util.throttle(this.update,this.options.updateInterval,this),e.on("moveend",this.update,this),this._currentImage&&this._currentImage._bounds.equals(this._map.getBounds())?e.addLayer(this._currentImage):this._currentImage&&(this._map.removeLayer(this._currentImage),this._currentImage=null),this.update()},onRemove:function(e){this._currentImage&&this._map.removeLayer(this._currentImage),this._map.off("moveend",this.update,this)},bringToFront:function(){return this.options.position="front",this._currentImage&&this._currentImage.bringToFront(),this},bringToBack:function(){return this.options.position="back",this._currentImage&&this._currentImage.bringToBack(),this},getOpacity:function(){return this.options.opacity},setOpacity:function(e){return this.options.opacity=e,this._currentImage&&this._currentImage.setOpacity(e),this},getImageUrl:function(e){var t=n.Util.getParamString(e)+this._initLayerUrl();return t=this._url+"/image."+this.options.format+t,t=this._appendCredential(t),this.options.tileProxy&&(t=this.options.tileProxy+encodeURIComponent(t)),t},_getImageParams:function(){var e=this._calculateImageSize();return{viewBounds:this._compriseBounds(this._calculateBounds()),width:e.x,height:e.y}},_initLayerUrl:function(){var e="&";return e+=encodeURI(this._initAllRequestParams().join("&"))},_initAllRequestParams:function(){var e=this.options||{},t=[],r=!0===e.redirect&&e.redirect;t.push("redirect="+r);var n=!0===e.transparent&&e.transparent;t.push("transparent="+n);var a=!1!==e.cacheEnabled||e.cacheEnabled;return t.push("cacheEnabled="+a),e.prjCoordSys&&t.push("prjCoordSys="+JSON.stringify(e.prjCoordSys)),e.layersID&&t.push("layersID="+e.layersID),e.clipRegionEnabled&&e.clipRegion instanceof i.default.Path&&(e.clipRegion=i.default.Util.toSuperMapGeometry(e.clipRegion.toGeoJSON()),e.clipRegion=o.CommonUtil.toJSON(o.ServerGeometry.fromGeometry(e.clipRegion)),t.push("clipRegionEnabled="+e.clipRegionEnabled),t.push("clipRegion="+JSON.stringify(e.clipRegion))),!1===e.overlapDisplayed?(t.push("overlapDisplayed=false"),e.overlapDisplayedOptions&&t.push("overlapDisplayedOptions="+this.overlapDisplayedOptions.toString())):t.push("overlapDisplayed=true"),t},_requestImage:function(e,t){var r=this.getImageUrl(e);this._loadImage(r,t)},_loadImage:function(e,t){if(this._map){var r=new n.ImageOverlay(e,t,{opacity:0,alt:this.options.alt,zIndex:this.options.zIndex,className:this.options.className,errorOverlayUrl:this.options.error,crossOrigin:this.options.crossOrigin,pane:this.options.pane||this.getPane(),interactive:this.options.interactive}).addTo(this._map),i=function e(n){r.off("error",e,this);var i=this._map;if(i){var o=n.target,a=this._currentImage;o._bounds&&o._bounds.equals(t)&&o._bounds.equals(i.getBounds())?(this._currentImage=o,"front"===this.options.position&&this.bringToFront(),"back"===this.options.position&&this.bringToBack(),this._currentImage._map&&this._currentImage.setOpacity(this.options.opacity),a&&i.removeLayer(a),a&&a._map&&a._map.removeLayer(a)):i.removeLayer(o),this.fire("load",{bounds:t})}};r.once("load",i,this),r.once("error",function(){this._map.removeLayer(r),this.fire("error"),r.off("load",i,this)},this),this.fire("loading",{bounds:t})}},update:function(){if(this._map){var e=this._map.getZoom(),t=this._map.getBounds();if(e>this._map.options.maxZoom||e0||a"+r+"",e}});o.default.Map.mergeOptions({logoControl:!0}),o.default.Map.addInitHook(function(){!this._logoAdded&&this.options.logoControl&&(!0===this.options.logoControl?this.logoControl=new s:this.options.logoControl instanceof o.default.Control&&(this.logoControl=this.options.logoControl),this.logoControl&&(this.addControl(this.logoControl),this._logoAdded=!0))});var l=t.logo=function(e){return new s(e)};o.default.supermap.control.logo=l},function(e,t,r){"use strict";var n=r(7),i=Math.PI/2,o=r(50),a=r(54),s=r(53),l=r(52),u=r(51),c=r(100),p=r(40),h=r(99);t.init=function(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)},t.forward=function(e){var t,r,p,h,f,y,d,v,m,g,b,S,_,P,O,T,w,M,C,x,E,A,L=e.x,k=e.y,j=Math.sin(e.y),F=Math.cos(e.y),I=n(L-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=1e-10?(e.x=this.x0+this.a*(i-k)*Math.sin(I),e.y=this.y0-this.a*(i-k)*Math.cos(I),e):Math.abs(this.sin_p12+1)<=1e-10?(e.x=this.x0+this.a*(i+k)*Math.sin(I),e.y=this.y0+this.a*(i+k)*Math.cos(I),e):(M=this.sin_p12*j+this.cos_p12*F*Math.cos(I),w=(T=Math.acos(M))/Math.sin(T),e.x=this.x0+this.a*w*F*Math.sin(I),e.y=this.y0+this.a*w*(this.cos_p12*j-this.sin_p12*F*Math.cos(I)),e):(t=a(this.es),r=s(this.es),p=l(this.es),h=u(this.es),Math.abs(this.sin_p12-1)<=1e-10?(f=this.a*o(t,r,p,h,i),y=this.a*o(t,r,p,h,k),e.x=this.x0+(f-y)*Math.sin(I),e.y=this.y0-(f-y)*Math.cos(I),e):Math.abs(this.sin_p12+1)<=1e-10?(f=this.a*o(t,r,p,h,i),y=this.a*o(t,r,p,h,k),e.x=this.x0+(f+y)*Math.sin(I),e.y=this.y0+(f+y)*Math.cos(I),e):(d=j/F,v=c(this.a,this.e,this.sin_p12),m=c(this.a,this.e,j),g=Math.atan((1-this.es)*d+this.es*v*this.sin_p12/(m*F)),C=0===(b=Math.atan2(Math.sin(I),this.cos_p12*Math.tan(g)-this.sin_p12*Math.cos(I)))?Math.asin(this.cos_p12*Math.sin(g)-this.sin_p12*Math.cos(g)):Math.abs(Math.abs(b)-Math.PI)<=1e-10?-Math.asin(this.cos_p12*Math.sin(g)-this.sin_p12*Math.cos(g)):Math.asin(Math.sin(I)*Math.cos(g)/Math.sin(b)),S=this.e*this.sin_p12/Math.sqrt(1-this.es),T=v*C*(1-(x=C*C)*(O=(_=this.e*this.cos_p12*Math.cos(b)/Math.sqrt(1-this.es))*_)*(1-O)/6+(E=x*C)/8*(P=S*_)*(1-2*O)+(A=E*C)/120*(O*(4-7*O)-3*S*S*(1-7*O))-A*C/48*P),e.x=this.x0+T*Math.sin(b),e.y=this.y0+T*Math.cos(b),e))},t.inverse=function(e){var t,r,f,y,d,v,m,g,b,S,_,P,O,T,w,M,C,x,E,A,L,k;if(e.x-=this.x0,e.y-=this.y0,this.sphere){if((t=Math.sqrt(e.x*e.x+e.y*e.y))>2*i*this.a)return;return r=t/this.a,f=Math.sin(r),y=Math.cos(r),d=this.long0,Math.abs(t)<=1e-10?v=this.lat0:(v=p(y*this.sin_p12+e.y*f*this.cos_p12/t),m=Math.abs(this.lat0)-i,d=Math.abs(m)<=1e-10?this.lat0>=0?n(this.long0+Math.atan2(e.x,-e.y)):n(this.long0-Math.atan2(-e.x,e.y)):n(this.long0+Math.atan2(e.x*f,t*this.cos_p12*y-e.y*this.sin_p12*f))),e.x=d,e.y=v,e}return g=a(this.es),b=s(this.es),S=l(this.es),_=u(this.es),Math.abs(this.sin_p12-1)<=1e-10?(P=this.a*o(g,b,S,_,i),t=Math.sqrt(e.x*e.x+e.y*e.y),v=h((P-t)/this.a,g,b,S,_),d=n(this.long0+Math.atan2(e.x,-1*e.y)),e.x=d,e.y=v,e):Math.abs(this.sin_p12+1)<=1e-10?(P=this.a*o(g,b,S,_,i),t=Math.sqrt(e.x*e.x+e.y*e.y),v=h((t-P)/this.a,g,b,S,_),d=n(this.long0+Math.atan2(e.x,e.y)),e.x=d,e.y=v,e):(t=Math.sqrt(e.x*e.x+e.y*e.y),w=Math.atan2(e.x,e.y),O=c(this.a,this.e,this.sin_p12),M=Math.cos(w),x=-(C=this.e*this.cos_p12*M)*C/(1-this.es),E=3*this.es*(1-x)*this.sin_p12*this.cos_p12*M/(1-this.es),k=1-x*(L=(A=t/O)-x*(1+x)*Math.pow(A,3)/6-E*(1+3*x)*Math.pow(A,4)/24)*L/2-A*L*L*L/6,T=Math.asin(this.sin_p12*Math.cos(L)+this.cos_p12*Math.sin(L)*M),d=n(this.long0+Math.asin(Math.sin(w)*Math.sin(L)/Math.cos(T))),v=Math.atan((1-this.es*k*this.sin_p12/Math.sin(T))*Math.tan(T)/(1-this.es)),e.x=d,e.y=v,e)},t.names=["Azimuthal_Equidistant","aeqd"]},function(e,t,r){"use strict";var n=r(7),i=Math.PI/2,o=r(40);t.init=function(){this.R=this.a},t.forward=function(e){var t,r,a=e.x,s=e.y,l=n(a-this.long0);Math.abs(s)<=1e-10&&(t=this.x0+this.R*l,r=this.y0);var u=o(2*Math.abs(s/Math.PI));(Math.abs(l)<=1e-10||Math.abs(Math.abs(s)-i)<=1e-10)&&(t=this.x0,r=s>=0?this.y0+Math.PI*this.R*Math.tan(.5*u):this.y0+Math.PI*this.R*-Math.tan(.5*u));var c=.5*Math.abs(Math.PI/l-l/Math.PI),p=c*c,h=Math.sin(u),f=Math.cos(u),y=f/(h+f-1),d=y*y,v=y*(2/h-1),m=v*v,g=Math.PI*this.R*(c*(y-m)+Math.sqrt(p*(y-m)*(y-m)-(m+p)*(d-m)))/(m+p);l<0&&(g=-g),t=this.x0+g;var b=p+y;return g=Math.PI*this.R*(v*b-c*Math.sqrt((m+p)*(p+1)-b*b))/(m+p),r=s>=0?this.y0+g:this.y0-g,e.x=t,e.y=r,e},t.inverse=function(e){var t,r,i,o,a,s,l,u,c,p,h,f;return e.x-=this.x0,e.y-=this.y0,h=Math.PI*this.R,a=(i=e.x/h)*i+(o=e.y/h)*o,h=3*(o*o/(u=-2*(s=-Math.abs(o)*(1+a))+1+2*o*o+a*a)+(2*(l=s-2*o*o+i*i)*l*l/u/u/u-9*s*l/u/u)/27)/(c=(s-l*l/3/u)/u)/(p=2*Math.sqrt(-c/3)),Math.abs(h)>1&&(h=h>=0?1:-1),f=Math.acos(h)/3,r=e.y>=0?(-p*Math.cos(f+Math.PI/3)-l/3/u)*Math.PI:-(-p*Math.cos(f+Math.PI/3)-l/3/u)*Math.PI,t=Math.abs(i)<1e-10?this.long0:n(this.long0+Math.PI*(a-1+Math.sqrt(1+2*(i*i-o*o)+a*a))/2/i),e.x=t,e.y=r,e},t.names=["Van_der_Grinten_I","VanDerGrinten","vandg"]},function(e,t,r){"use strict";var n=r(54),i=r(53),o=r(52),a=r(51),s=r(41),l=r(50),u=r(7),c=r(49),p=r(99);t.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=n(this.es),this.e1=i(this.es),this.e2=o(this.es),this.e3=a(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=s(this.e,this.sinphi,this.cosphi),this.ml1=l(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<1e-10?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=s(this.e,this.sinphi,this.cosphi),this.ml2=l(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=l(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))},t.forward=function(e){var t,r=e.x,n=e.y;if(this.sphere)t=this.a*(this.g-n);else{var i=l(this.e0,this.e1,this.e2,this.e3,n);t=this.a*(this.g-i)}var o=this.ns*u(r-this.long0),a=this.x0+t*Math.sin(o),s=this.y0+this.rh-t*Math.cos(o);return e.x=a,e.y=s,e},t.inverse=function(e){var t,r,n,i;e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns>=0?(r=Math.sqrt(e.x*e.x+e.y*e.y),t=1):(r=-Math.sqrt(e.x*e.x+e.y*e.y),t=-1);var o=0;if(0!==r&&(o=Math.atan2(t*e.x,t*e.y)),this.sphere)return i=u(this.long0+o/this.ns),n=c(this.g-r/this.a),e.x=i,e.y=n,e;var a=this.g-r/this.a;return n=p(a,this.e0,this.e1,this.e2,this.e3),i=u(this.long0+o/this.ns),e.x=i,e.y=n,e},t.names=["Equidistant_Conic","eqdc"]},function(e,t,r){"use strict";var n=r(7);t.init=function(){},t.forward=function(e){for(var t=e.x,r=e.y,i=n(t-this.long0),o=r,a=Math.PI*Math.sin(r),s=0;;s++){var l=-(o+Math.sin(o)-a)/(1+Math.cos(o));if(o+=l,Math.abs(l)<1e-10)break}o/=2,Math.PI/2-Math.abs(r)<1e-10&&(i=0);var u=.900316316158*this.a*i*Math.cos(o)+this.x0,c=1.4142135623731*this.a*Math.sin(o)+this.y0;return e.x=u,e.y=c,e},t.inverse=function(e){var t,r;e.x-=this.x0,e.y-=this.y0,r=e.y/(1.4142135623731*this.a),Math.abs(r)>.999999999999&&(r=.999999999999),t=Math.asin(r);var i=n(this.long0+e.x/(.900316316158*this.a*Math.cos(t)));i<-Math.PI&&(i=-Math.PI),i>Math.PI&&(i=Math.PI),r=(2*t+Math.sin(2*t))/Math.PI,Math.abs(r)>1&&(r=1);var o=Math.asin(r);return e.x=i,e.y=o,e},t.names=["Mollweide","moll"]},function(e,t,r){"use strict";var n=r(161);e.exports=function(e,t,r){for(var i=1/(1-t),o=e,a=20;a;--a){var s=Math.sin(o),l=1-t*s*s;if(o-=l=(n(o,s,Math.cos(o),r)-e)*(l*Math.sqrt(l))*i,Math.abs(l)<1e-10)return o}return o}},function(e,t,r){"use strict";var n=.01068115234375;e.exports=function(e){var t=[];t[0]=1-e*(.25+e*(.046875+e*(.01953125+e*n))),t[1]=e*(.75-e*(.046875+e*(.01953125+e*n)));var r=e*e;return t[2]=r*(.46875-e*(.013020833333333334+.007120768229166667*e)),r*=e,t[3]=r*(.3645833333333333-.005696614583333333*e),t[4]=r*e*.3076171875,t}},function(e,t,r){"use strict";var n=r(7),i=r(49),o=r(365),a=r(161),s=r(364),l=Math.PI/2,u=r(40);t.init=function(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=o(this.es)},t.forward=function(e){var t,r,i=e.x,o=e.y;if(i=n(i-this.long0),this.sphere){if(this.m)for(var s=this.n*Math.sin(o),l=20;l;--l){var u=(this.m*o+Math.sin(o)-s)/(this.m+Math.cos(o));if(o-=u,Math.abs(u)<1e-10)break}else o=1!==this.n?Math.asin(this.n*Math.sin(o)):o;t=this.a*this.C_x*i*(this.m+Math.cos(o)),r=this.a*this.C_y*o}else{var c=Math.sin(o),p=Math.cos(o);r=this.a*a(o,c,p,this.en),t=this.a*i*p/Math.sqrt(1-this.es*c*c)}return e.x=t,e.y=r,e},t.inverse=function(e){var t,r,o,a;return e.x-=this.x0,o=e.x/this.a,e.y-=this.y0,t=e.y/this.a,this.sphere?(t/=this.C_y,o/=this.C_x*(this.m+Math.cos(t)),this.m?t=u((this.m*t+Math.sin(t))/this.n):1!==this.n&&(t=u(Math.sin(t)/this.n)),o=n(o+this.long0),t=i(t)):(t=s(e.y/this.a,this.es,this.en),(a=Math.abs(t))0||Math.abs(a)<=1e-10?(s=this.x0+1*this.a*r*Math.sin(i)/a,l=this.y0+1*this.a*(this.cos_p14*t-this.sin_p14*r*o)/a):(s=this.x0+this.infinity_dist*r*Math.sin(i),l=this.y0+this.infinity_dist*(this.cos_p14*t-this.sin_p14*r*o)),e.x=s,e.y=l,e},t.inverse=function(e){var t,r,o,a,s,l;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,(t=Math.sqrt(e.x*e.x+e.y*e.y))?(a=Math.atan2(t,this.rc),r=Math.sin(a),o=Math.cos(a),l=i(o*this.sin_p14+e.y*r*this.cos_p14/t),s=Math.atan2(e.x*r,t*this.cos_p14*o-e.y*this.sin_p14*r),s=n(this.long0+s)):(l=this.phic0,s=0),e.x=s,e.y=l,e},t.names=["gnom"]},function(e,t,r){"use strict";var n=r(41),i=r(98),o=r(7),a=r(40);t.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=n(this.e3,this.sin_po,this.cos_po),this.qs1=i(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=n(this.e3,this.sin_po,this.cos_po),this.qs2=i(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=i(this.e3,this.sin_po,this.cos_po),Math.abs(this.lat1-this.lat2)>1e-10?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},t.forward=function(e){var t=e.x,r=e.y;this.sin_phi=Math.sin(r),this.cos_phi=Math.cos(r);var n=i(this.e3,this.sin_phi,this.cos_phi),a=this.a*Math.sqrt(this.c-this.ns0*n)/this.ns0,s=this.ns0*o(t-this.long0),l=a*Math.sin(s)+this.x0,u=this.rh-a*Math.cos(s)+this.y0;return e.x=l,e.y=u,e},t.inverse=function(e){var t,r,n,i,a,s;return e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns0>=0?(t=Math.sqrt(e.x*e.x+e.y*e.y),n=1):(t=-Math.sqrt(e.x*e.x+e.y*e.y),n=-1),i=0,0!==t&&(i=Math.atan2(n*e.x,n*e.y)),n=t*this.ns0/this.a,this.sphere?s=Math.asin((this.c-n*n)/(2*this.ns0)):(r=(this.c-n*n)/this.ns0,s=this.phi1z(this.e3,r)),a=o(i/this.ns0+this.long0),e.x=a,e.y=s,e},t.phi1z=function(e,t){var r,n,i,o,s,l=a(.5*t);if(e<1e-10)return l;for(var u=e*e,c=1;c<=25;c++)if(r=Math.sin(l),n=Math.cos(l),l+=s=.5*(o=1-(i=e*r)*i)*o/n*(t/(1-u)-r/o+.5/e*Math.log((1-i)/(1+i))),Math.abs(s)<=1e-7)return l;return null},t.names=["Albers_Conic_Equal_Area","Albers","aea"]},function(e,t,r){"use strict";var n=Math.PI/2,i=Math.PI/4,o=r(98),a=r(7);t.S_POLE=1,t.N_POLE=2,t.EQUIT=3,t.OBLIQ=4,t.init=function(){var e,t=Math.abs(this.lat0);if(Math.abs(t-n)<1e-10?this.mode=this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(t)<1e-10?this.mode=this.EQUIT:this.mode=this.OBLIQ,this.es>0)switch(this.qp=o(this.e,1),this.mmf=.5/(1-this.es),this.apa=this.authset(this.es),this.mode){case this.N_POLE:case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),e=Math.sin(this.lat0),this.sinb1=o(this.e,e)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*e*e)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},t.forward=function(e){var t,r,s,l,u,c,p,h,f,y,d=e.x,v=e.y;if(d=a(d-this.long0),this.sphere){if(u=Math.sin(v),y=Math.cos(v),s=Math.cos(d),this.mode===this.OBLIQ||this.mode===this.EQUIT){if((r=this.mode===this.EQUIT?1+y*s:1+this.sinph0*u+this.cosph0*y*s)<=1e-10)return null;t=(r=Math.sqrt(2/r))*y*Math.sin(d),r*=this.mode===this.EQUIT?u:this.cosph0*u-this.sinph0*y*s}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(s=-s),Math.abs(v+this.phi0)<1e-10)return null;r=i-.5*v,t=(r=2*(this.mode===this.S_POLE?Math.cos(r):Math.sin(r)))*Math.sin(d),r*=s}}else{switch(p=0,h=0,f=0,s=Math.cos(d),l=Math.sin(d),u=Math.sin(v),c=o(this.e,u),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(p=c/this.qp,h=Math.sqrt(1-p*p)),this.mode){case this.OBLIQ:f=1+this.sinb1*p+this.cosb1*h*s;break;case this.EQUIT:f=1+h*s;break;case this.N_POLE:f=n+v,c=this.qp-c;break;case this.S_POLE:f=v-n,c=this.qp+c}if(Math.abs(f)<1e-10)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:f=Math.sqrt(2/f),r=this.mode===this.OBLIQ?this.ymf*f*(this.cosb1*p-this.sinb1*h*s):(f=Math.sqrt(2/(1+h*s)))*p*this.ymf,t=this.xmf*f*h*l;break;case this.N_POLE:case this.S_POLE:c>=0?(t=(f=Math.sqrt(c))*l,r=s*(this.mode===this.S_POLE?f:-f)):t=r=0}}return e.x=this.a*t+this.x0,e.y=this.a*r+this.y0,e},t.inverse=function(e){e.x-=this.x0,e.y-=this.y0;var t,r,i,o,s,l,u,c=e.x/this.a,p=e.y/this.a;if(this.sphere){var h,f=0,y=0;if((r=.5*(h=Math.sqrt(c*c+p*p)))>1)return null;switch(r=2*Math.asin(r),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(y=Math.sin(r),f=Math.cos(r)),this.mode){case this.EQUIT:r=Math.abs(h)<=1e-10?0:Math.asin(p*y/h),c*=y,p=f*h;break;case this.OBLIQ:r=Math.abs(h)<=1e-10?this.phi0:Math.asin(f*this.sinph0+p*y*this.cosph0/h),c*=y*this.cosph0,p=(f-Math.sin(r)*this.sinph0)*h;break;case this.N_POLE:p=-p,r=n-r;break;case this.S_POLE:r-=n}t=0!==p||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(c,p):0}else{if(u=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(c/=this.dd,p*=this.dd,(l=Math.sqrt(c*c+p*p))<1e-10)return e.x=0,e.y=this.phi0,e;o=2*Math.asin(.5*l/this.rq),i=Math.cos(o),c*=o=Math.sin(o),this.mode===this.OBLIQ?(u=i*this.sinb1+p*o*this.cosb1/l,s=this.qp*u,p=l*this.cosb1*i-p*this.sinb1*o):(u=p*o/l,s=this.qp*u,p=l*i)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(p=-p),!(s=c*c+p*p))return e.x=0,e.y=this.phi0,e;u=1-s/this.qp,this.mode===this.S_POLE&&(u=-u)}t=Math.atan2(c,p),r=this.authlat(Math.asin(u),this.apa)}return e.x=a(this.long0+t),e.y=r,e},t.P00=.3333333333333333,t.P01=.17222222222222222,t.P02=.10257936507936508,t.P10=.06388888888888888,t.P11=.0664021164021164,t.P20=.016415012942191543,t.authset=function(e){var t,r=[];return r[0]=e*this.P00,t=e*e,r[0]+=t*this.P01,r[1]=t*this.P10,t*=e,r[0]+=t*this.P02,r[1]+=t*this.P11,r[2]=t*this.P20,r},t.authlat=function(e,t){var r=e+e;return e+t[0]*Math.sin(r)+t[1]*Math.sin(r+r)+t[2]*Math.sin(r+r+r)},t.names=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"]},function(e,t,r){"use strict";var n=r(50),i=r(54),o=r(53),a=r(52),s=r(51),l=r(100),u=r(7),c=r(49),p=r(99),h=Math.PI/2;t.init=function(){this.sphere||(this.e0=i(this.es),this.e1=o(this.es),this.e2=a(this.es),this.e3=s(this.es),this.ml0=this.a*n(this.e0,this.e1,this.e2,this.e3,this.lat0))},t.forward=function(e){var t,r,i=e.x,o=e.y;if(i=u(i-this.long0),this.sphere)t=this.a*Math.asin(Math.cos(o)*Math.sin(i)),r=this.a*(Math.atan2(Math.tan(o),Math.cos(i))-this.lat0);else{var a=Math.sin(o),s=Math.cos(o),c=l(this.a,this.e,a),p=Math.tan(o)*Math.tan(o),h=i*Math.cos(o),f=h*h,y=this.es*s*s/(1-this.es);t=c*h*(1-f*p*(1/6-(8-p+8*y)*f/120)),r=this.a*n(this.e0,this.e1,this.e2,this.e3,o)-this.ml0+c*a/s*f*(.5+(5-p+6*y)*f/24)}return e.x=t+this.x0,e.y=r+this.y0,e},t.inverse=function(e){e.x-=this.x0,e.y-=this.y0;var t,r,n=e.x/this.a,i=e.y/this.a;if(this.sphere){var o=i+this.lat0;t=Math.asin(Math.sin(o)*Math.cos(n)),r=Math.atan2(Math.tan(n),Math.cos(o))}else{var a=this.ml0/this.a+i,s=p(a,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(s)-h)<=1e-10)return e.x=this.long0,e.y=h,i<0&&(e.y*=-1),e;var f=l(this.a,this.e,Math.sin(s)),y=f*f*f/this.a/this.a*(1-this.es),d=Math.pow(Math.tan(s),2),v=n*this.a/f,m=v*v;t=s-f*Math.tan(s)/y*v*v*(.5-(1+3*d)*v*v/24),r=v*(1-m*(d/3+(1+3*d)*d*m/15))/Math.cos(s)}return e.x=u(r+this.long0),e.y=c(t),e},t.names=["Cassini","Cassini_Soldner","cass"]},function(e,t,r){"use strict";var n=r(7);t.init=function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},t.forward=function(e){var t,r,i,o,a,s,l,u=e.x,c=e.y,p=n(u-this.long0);return t=Math.pow((1+this.e*Math.sin(c))/(1-this.e*Math.sin(c)),this.alfa*this.e/2),r=2*(Math.atan(this.k*Math.pow(Math.tan(c/2+this.s45),this.alfa)/t)-this.s45),i=-p*this.alfa,o=Math.asin(Math.cos(this.ad)*Math.sin(r)+Math.sin(this.ad)*Math.cos(r)*Math.cos(i)),a=Math.asin(Math.cos(r)*Math.sin(i)/Math.cos(o)),s=this.n*a,l=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(o/2+this.s45),this.n),e.y=l*Math.cos(s)/1,e.x=l*Math.sin(s)/1,this.czech||(e.y*=-1,e.x*=-1),e},t.inverse=function(e){var t,r,n,i,o,a,s,l=e.x;e.x=e.y,e.y=l,this.czech||(e.y*=-1,e.x*=-1),o=Math.sqrt(e.x*e.x+e.y*e.y),i=Math.atan2(e.y,e.x)/Math.sin(this.s0),n=2*(Math.atan(Math.pow(this.ro0/o,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),t=Math.asin(Math.cos(this.ad)*Math.sin(n)-Math.sin(this.ad)*Math.cos(n)*Math.cos(i)),r=Math.asin(Math.cos(n)*Math.sin(i)/Math.cos(t)),e.x=this.long0-r/this.alfa,a=t,s=0;var u=0;do{e.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(t/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(a))/(1-this.e*Math.sin(a)),this.e/2))-this.s45),Math.abs(a-e.y)<1e-10&&(s=1),a=e.y,u+=1}while(0===s&&u<15);return u>=15?null:e},t.names=["Krovak","krovak"]},function(e,t,r){"use strict";var n=r(41),i=r(66),o=Math.PI/2,a=r(55),s=r(7),l=r(65);t.init=function(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)<1e-10)){var e=this.b/this.a;this.e=Math.sqrt(1-e*e);var t=Math.sin(this.lat1),r=Math.cos(this.lat1),o=n(this.e,t,r),a=i(this.e,this.lat1,t),s=Math.sin(this.lat2),l=Math.cos(this.lat2),u=n(this.e,s,l),c=i(this.e,this.lat2,s),p=i(this.e,this.lat0,Math.sin(this.lat0));Math.abs(this.lat1-this.lat2)>1e-10?this.ns=Math.log(o/u)/Math.log(a/c):this.ns=t,isNaN(this.ns)&&(this.ns=t),this.f0=o/(this.ns*Math.pow(a,this.ns)),this.rh=this.a*this.f0*Math.pow(p,this.ns),this.title||(this.title="Lambert Conformal Conic")}},t.forward=function(e){var t=e.x,r=e.y;Math.abs(2*Math.abs(r)-Math.PI)<=1e-10&&(r=a(r)*(o-2e-10));var n,l,u=Math.abs(Math.abs(r)-o);if(u>1e-10)n=i(this.e,r,Math.sin(r)),l=this.a*this.f0*Math.pow(n,this.ns);else{if((u=r*this.ns)<=0)return null;l=0}var c=this.ns*s(t-this.long0);return e.x=this.k0*(l*Math.sin(c))+this.x0,e.y=this.k0*(this.rh-l*Math.cos(c))+this.y0,e},t.inverse=function(e){var t,r,n,i,a,u=(e.x-this.x0)/this.k0,c=this.rh-(e.y-this.y0)/this.k0;this.ns>0?(t=Math.sqrt(u*u+c*c),r=1):(t=-Math.sqrt(u*u+c*c),r=-1);var p=0;if(0!==t&&(p=Math.atan2(r*u,r*c)),0!==t||this.ns>0){if(r=1/this.ns,n=Math.pow(t/(this.a*this.f0),r),-9999===(i=l(this.e,n)))return null}else i=-o;return a=s(p/this.ns+this.long0),e.x=a,e.y=i,e},t.names=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_2SP","lcc"]},function(e,t,r){"use strict";var n=r(66),i=r(7),o=r(65),a=Math.PI/2,s=Math.PI/4;t.init=function(){this.no_off=this.no_off||!1,this.no_rot=this.no_rot||!1,isNaN(this.k0)&&(this.k0=1);var e=Math.sin(this.lat0),t=Math.cos(this.lat0),r=this.e*e;this.bl=Math.sqrt(1+this.es/(1-this.es)*Math.pow(t,4)),this.al=this.a*this.bl*this.k0*Math.sqrt(1-this.es)/(1-r*r);var o,a,s=n(this.e,this.lat0,e),l=this.bl/t*Math.sqrt((1-this.es)/(1-r*r));if(l*l<1&&(l=1),isNaN(this.longc)){var u=n(this.e,this.lat1,Math.sin(this.lat1)),c=n(this.e,this.lat2,Math.sin(this.lat2));this.lat0>=0?this.el=(l+Math.sqrt(l*l-1))*Math.pow(s,this.bl):this.el=(l-Math.sqrt(l*l-1))*Math.pow(s,this.bl);var p=Math.pow(u,this.bl),h=Math.pow(c,this.bl);a=.5*((o=this.el/p)-1/o);var f=(this.el*this.el-h*p)/(this.el*this.el+h*p),y=(h-p)/(h+p),d=i(this.long1-this.long2);this.long0=.5*(this.long1+this.long2)-Math.atan(f*Math.tan(.5*this.bl*d)/y)/this.bl,this.long0=i(this.long0);var v=i(this.long1-this.long0);this.gamma0=Math.atan(Math.sin(this.bl*v)/a),this.alpha=Math.asin(l*Math.sin(this.gamma0))}else o=this.lat0>=0?l+Math.sqrt(l*l-1):l-Math.sqrt(l*l-1),this.el=o*Math.pow(s,this.bl),a=.5*(o-1/o),this.gamma0=Math.asin(Math.sin(this.alpha)/l),this.long0=this.longc-Math.asin(a*Math.tan(this.gamma0))/this.bl;this.no_off?this.uc=0:this.lat0>=0?this.uc=this.al/this.bl*Math.atan2(Math.sqrt(l*l-1),Math.cos(this.alpha)):this.uc=-1*this.al/this.bl*Math.atan2(Math.sqrt(l*l-1),Math.cos(this.alpha))},t.forward=function(e){var t,r,o,l=e.x,u=e.y,c=i(l-this.long0);if(Math.abs(Math.abs(u)-a)<=1e-10)o=u>0?-1:1,r=this.al/this.bl*Math.log(Math.tan(s+o*this.gamma0*.5)),t=-1*o*a*this.al/this.bl;else{var p=n(this.e,u,Math.sin(u)),h=this.el/Math.pow(p,this.bl),f=.5*(h-1/h),y=.5*(h+1/h),d=Math.sin(this.bl*c),v=(f*Math.sin(this.gamma0)-d*Math.cos(this.gamma0))/y;r=Math.abs(Math.abs(v)-1)<=1e-10?Number.POSITIVE_INFINITY:.5*this.al*Math.log((1-v)/(1+v))/this.bl,t=Math.abs(Math.cos(this.bl*c))<=1e-10?this.al*this.bl*c:this.al*Math.atan2(f*Math.cos(this.gamma0)+d*Math.sin(this.gamma0),Math.cos(this.bl*c))/this.bl}return this.no_rot?(e.x=this.x0+t,e.y=this.y0+r):(t-=this.uc,e.x=this.x0+r*Math.cos(this.alpha)+t*Math.sin(this.alpha),e.y=this.y0+t*Math.cos(this.alpha)-r*Math.sin(this.alpha)),e},t.inverse=function(e){var t,r;this.no_rot?(r=e.y-this.y0,t=e.x-this.x0):(r=(e.x-this.x0)*Math.cos(this.alpha)-(e.y-this.y0)*Math.sin(this.alpha),t=(e.y-this.y0)*Math.cos(this.alpha)+(e.x-this.x0)*Math.sin(this.alpha),t+=this.uc);var n=Math.exp(-1*this.bl*r/this.al),s=.5*(n-1/n),l=.5*(n+1/n),u=Math.sin(this.bl*t/this.al),c=(u*Math.cos(this.gamma0)+s*Math.sin(this.gamma0))/l,p=Math.pow(this.el/Math.sqrt((1+c)/(1-c)),1/this.bl);return Math.abs(c-1)<1e-10?(e.x=this.long0,e.y=a):Math.abs(c+1)<1e-10?(e.x=this.long0,e.y=-1*a):(e.y=o(this.e,p),e.x=i(this.long0-Math.atan2(s*Math.cos(this.gamma0)-u*Math.sin(this.gamma0),Math.cos(this.bl*t/this.al))/this.bl)),e},t.names=["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","omerc"]},function(e,t,r){"use strict";t.init=function(){var e=this.lat0;this.lambda0=this.long0;var t=Math.sin(e),r=this.a,n=1/this.rf,i=2*n-Math.pow(n,2),o=this.e=Math.sqrt(i);this.R=this.k0*r*Math.sqrt(1-i)/(1-i*Math.pow(t,2)),this.alpha=Math.sqrt(1+i/(1-i)*Math.pow(Math.cos(e),4)),this.b0=Math.asin(t/this.alpha);var a=Math.log(Math.tan(Math.PI/4+this.b0/2)),s=Math.log(Math.tan(Math.PI/4+e/2)),l=Math.log((1+o*t)/(1-o*t));this.K=a-this.alpha*s+this.alpha*o/2*l},t.forward=function(e){var t=Math.log(Math.tan(Math.PI/4-e.y/2)),r=this.e/2*Math.log((1+this.e*Math.sin(e.y))/(1-this.e*Math.sin(e.y))),n=-this.alpha*(t+r)+this.K,i=2*(Math.atan(Math.exp(n))-Math.PI/4),o=this.alpha*(e.x-this.lambda0),a=Math.atan(Math.sin(o)/(Math.sin(this.b0)*Math.tan(i)+Math.cos(this.b0)*Math.cos(o))),s=Math.asin(Math.cos(this.b0)*Math.sin(i)-Math.sin(this.b0)*Math.cos(i)*Math.cos(o));return e.y=this.R/2*Math.log((1+Math.sin(s))/(1-Math.sin(s)))+this.y0,e.x=this.R*a+this.x0,e},t.inverse=function(e){for(var t=e.x-this.x0,r=e.y-this.y0,n=t/this.R,i=2*(Math.atan(Math.exp(r/this.R))-Math.PI/4),o=Math.asin(Math.cos(this.b0)*Math.sin(i)+Math.sin(this.b0)*Math.cos(i)*Math.cos(n)),a=Math.atan(Math.sin(n)/(Math.cos(this.b0)*Math.cos(n)-Math.sin(this.b0)*Math.tan(i))),s=this.lambda0+a/this.alpha,l=0,u=o,c=-1e3,p=0;Math.abs(u-c)>1e-7;){if(++p>20)return;l=1/this.alpha*(Math.log(Math.tan(Math.PI/4+o/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(u))/2)),c=u,u=2*Math.atan(Math.exp(l))-Math.PI/2}return e.x=s,e.y=u,e},t.names=["somerc"]},function(e,t,r){"use strict";var n=Math.PI/2,i=r(55),o=r(41),a=r(66),s=r(65),l=r(7);t.ssfn_=function(e,t,r){return t*=r,Math.tan(.5*(n+e))*Math.pow((1-t)/(1+t),.5*r)},t.init=function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&(this.k0=.5*(1+i(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=1e-10&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&(this.k0=.5*this.cons*o(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/a(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=o(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-n,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},t.forward=function(e){var t,r,i,o,s,u,c=e.x,p=e.y,h=Math.sin(p),f=Math.cos(p),y=l(c-this.long0);return Math.abs(Math.abs(c-this.long0)-Math.PI)<=1e-10&&Math.abs(p+this.lat0)<=1e-10?(e.x=NaN,e.y=NaN,e):this.sphere?(t=2*this.k0/(1+this.sinlat0*h+this.coslat0*f*Math.cos(y)),e.x=this.a*t*f*Math.sin(y)+this.x0,e.y=this.a*t*(this.coslat0*h-this.sinlat0*f*Math.cos(y))+this.y0,e):(r=2*Math.atan(this.ssfn_(p,h,this.e))-n,o=Math.cos(r),i=Math.sin(r),Math.abs(this.coslat0)<=1e-10?(s=a(this.e,p*this.con,this.con*h),u=2*this.a*this.k0*s/this.cons,e.x=this.x0+u*Math.sin(c-this.long0),e.y=this.y0-this.con*u*Math.cos(c-this.long0),e):(Math.abs(this.sinlat0)<1e-10?(t=2*this.a*this.k0/(1+o*Math.cos(y)),e.y=t*i):(t=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*i+this.cosX0*o*Math.cos(y))),e.y=t*(this.cosX0*i-this.sinX0*o*Math.cos(y))+this.y0),e.x=t*o*Math.sin(y)+this.x0,e))},t.inverse=function(e){var t,r,i,o,a;e.x-=this.x0,e.y-=this.y0;var u=Math.sqrt(e.x*e.x+e.y*e.y);if(this.sphere){var c=2*Math.atan(u/(.5*this.a*this.k0));return t=this.long0,r=this.lat0,u<=1e-10?(e.x=t,e.y=r,e):(r=Math.asin(Math.cos(c)*this.sinlat0+e.y*Math.sin(c)*this.coslat0/u),t=Math.abs(this.coslat0)<1e-10?this.lat0>0?l(this.long0+Math.atan2(e.x,-1*e.y)):l(this.long0+Math.atan2(e.x,e.y)):l(this.long0+Math.atan2(e.x*Math.sin(c),u*this.coslat0*Math.cos(c)-e.y*this.sinlat0*Math.sin(c))),e.x=t,e.y=r,e)}if(Math.abs(this.coslat0)<=1e-10){if(u<=1e-10)return r=this.lat0,t=this.long0,e.x=t,e.y=r,e;e.x*=this.con,e.y*=this.con,i=u*this.cons/(2*this.a*this.k0),r=this.con*s(this.e,i),t=this.con*l(this.con*this.long0+Math.atan2(e.x,-1*e.y))}else o=2*Math.atan(u*this.cosX0/(2*this.a*this.k0*this.ms1)),t=this.long0,u<=1e-10?a=this.X0:(a=Math.asin(Math.cos(o)*this.sinX0+e.y*Math.sin(o)*this.cosX0/u),t=l(this.long0+Math.atan2(e.x*Math.sin(o),u*this.cosX0*Math.cos(o)-e.y*this.sinX0*Math.sin(o)))),r=-1*s(this.e,Math.tan(.5*(n+a)));return e.x=t,e.y=r,e},t.names=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"]},function(e,t,r){"use strict";e.exports=function(e,t){return Math.pow((1-e)/(1+e),t)}},function(e,t,r){"use strict";var n=Math.PI/4,i=r(382),o=Math.PI/2;t.init=function(){var e=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t,this.rc=Math.sqrt(1-this.es)/(1-this.es*e*e),this.C=Math.sqrt(1+this.es*t*t/(1-this.es)),this.phic0=Math.asin(e/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+n)/(Math.pow(Math.tan(.5*this.lat0+n),this.C)*i(this.e*e,this.ratexp))},t.forward=function(e){var t=e.x,r=e.y;return e.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*r+n),this.C)*i(this.e*Math.sin(r),this.ratexp))-o,e.x=this.C*t,e},t.inverse=function(e){for(var t=e.x/this.C,r=e.y,a=Math.pow(Math.tan(.5*r+n)/this.K,1/this.C),s=20;s>0&&(r=2*Math.atan(a*i(this.e*Math.sin(e.y),-.5*this.e))-o,!(Math.abs(r-e.y)<1e-14));--s)e.y=r;return s?(e.x=t,e.y=r,e):null},t.names=["gauss"]},function(e,t,r){"use strict";var n=r(383),i=r(7);t.init=function(){n.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},t.forward=function(e){var t,r,o,a;return e.x=i(e.x-this.long0),n.forward.apply(this,[e]),t=Math.sin(e.y),r=Math.cos(e.y),o=Math.cos(e.x),a=this.k0*this.R2/(1+this.sinc0*t+this.cosc0*r*o),e.x=a*r*Math.sin(e.x),e.y=a*(this.cosc0*t-this.sinc0*r*o),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e},t.inverse=function(e){var t,r,o,a,s;if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,s=Math.sqrt(e.x*e.x+e.y*e.y)){var l=2*Math.atan2(s,this.R2);t=Math.sin(l),r=Math.cos(l),a=Math.asin(r*this.sinc0+e.y*t*this.cosc0/s),o=Math.atan2(e.x*t,s*this.cosc0*r-e.y*this.sinc0*t)}else a=this.phic0,o=0;return e.x=o,e.y=a,n.inverse.apply(this,[e]),e.x=i(e.x+this.long0),e},t.names=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative"]},function(e,t,r){"use strict";var n=r(162);t.dependsOn="tmerc",t.init=function(){this.zone&&(this.lat0=0,this.long0=.017453292519943295*(6*Math.abs(this.zone)-183),this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,n.init.apply(this),this.forward=n.forward,this.inverse=n.inverse)},t.names=["Universal Transverse Mercator System","utm"]},function(e,t,r){"use strict";var n=[r(162),r(385),r(384),r(381),r(380),r(379),r(378),r(377),r(376),r(375),r(374),r(373),r(372),r(370),r(369),r(368),r(367),r(366),r(363),r(362),r(361),r(360)];e.exports=function(e){n.forEach(function(t){e.Proj.projections.add(t)})}},function(e){e.exports={_from:"proj4@2.3.15",_id:"proj4@2.3.15",_inBundle:!1,_integrity:"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=",_location:"/proj4",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"proj4@2.3.15",name:"proj4",escapedName:"proj4",rawSpec:"2.3.15",saveSpec:null,fetchSpec:"2.3.15"},_requiredBy:["/"],_resolved:"http://localhost:4873/proj4/-/proj4-2.3.15.tgz",_shasum:"5ad06e8bca30be0ffa389a49e4565f51f06d089e",_spec:"proj4@2.3.15",_where:"E:\\2018\\git\\iClient-JavaScript",author:"",bugs:{url:"https://github.com/proj4js/proj4js/issues"},bundleDependencies:!1,contributors:[{name:"Mike Adair",email:"madair@dmsolutions.ca"},{name:"Richard Greenwood",email:"rich@greenwoodmap.com"},{name:"Calvin Metcalf",email:"calvin.metcalf@gmail.com"},{name:"Richard Marsden",url:"http://www.winwaed.com"},{name:"T. Mittan"},{name:"D. Steinwand"},{name:"S. Nelson"}],dependencies:{mgrs:"~0.0.2"},deprecated:!1,description:"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",devDependencies:{browserify:"~12.0.1",chai:"~1.8.1",curl:"git://github.com/cujojs/curl.git",grunt:"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0",istanbul:"~0.2.4",mocha:"~1.17.1",tin:"~0.4.0"},directories:{test:"test",doc:"docs"},homepage:"https://github.com/proj4js/proj4js#readme",jam:{main:"dist/proj4.js",include:["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},license:"MIT",main:"lib/index.js",name:"proj4",repository:{type:"git",url:"git://github.com/proj4js/proj4js.git"},scripts:{test:"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},version:"2.3.15"}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(163);function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);if(Array.isArray(e))this.x=e[0],this.y=e[1],this.z=e[2]||0;else if("object"===(void 0===e?"undefined":n(e)))this.x=e.x,this.y=e.y,this.z=e.z||0;else if("string"==typeof e&&void 0===t){var i=e.split(",");this.x=parseFloat(i[0],10),this.y=parseFloat(i[1],10),this.z=parseFloat(i[2],10)||0}else this.x=e,this.y=t,this.z=r||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}o.fromMGRS=function(e){return new o(i.toPoint(e))},o.prototype.toMGRS=function(e){return i.forward([this.x,this.y],e)},e.exports=o},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,i,o,a=r.x,s=r.y,l=r.z||0;for(o=0;o<3;o++)if(!t||2!==o||void 0!==r.z)switch(0===o?(n=a,i="x"):1===o?(n=s,i="y"):(n=l,i="z"),e.axis[o]){case"e":r[i]=n;break;case"w":r[i]=-n;break;case"n":r[i]=n;break;case"s":r[i]=-n;break;case"u":void 0!==r[i]&&(r.z=n);break;case"d":void 0!==r[i]&&(r.z=-n);break;default:return null}return r}},function(e,t,r){"use strict";var n=1,i=2;e.exports=function(e,t,r){var o,a,s;function l(e){return e===n||e===i}if(e.compare_datums(t))return r;if(5===e.datum_type||5===t.datum_type)return r;var u=e.a,c=e.es,p=t.a,h=t.es,f=e.datum_type;if(3===f)if(0===this.apply_gridshift(e,0,r))e.a=6378137,e.es=.006694379990141316;else{if(!e.datum_params)return e.a=u,e.es=e.es,r;for(o=1,a=0,s=e.datum_params.length;a3?i:n}return 3===t.datum_type&&(t.a=6378137,t.es=.006694379990141316),(e.es!==t.es||e.a!==t.a||l(f)||l(t.datum_type))&&(e.geodetic_to_geocentric(r),l(e.datum_type)&&e.geocentric_to_wgs84(r),l(t.datum_type)&&t.geocentric_from_wgs84(r),t.geocentric_to_geodetic(r)),3===t.datum_type&&this.apply_gridshift(t,1,r),e.a=u,e.es=c,t.a=p,t.es=h,r}},function(e,t,r){"use strict";var n=Math.PI/2,i=function e(t){if(!(this instanceof e))return new e(t);this.datum_type=4,t&&(t.datumCode&&"none"===t.datumCode&&(this.datum_type=5),t.datum_params&&(this.datum_params=t.datum_params.map(parseFloat),0===this.datum_params[0]&&0===this.datum_params[1]&&0===this.datum_params[2]||(this.datum_type=1),this.datum_params.length>3&&(0===this.datum_params[3]&&0===this.datum_params[4]&&0===this.datum_params[5]&&0===this.datum_params[6]||(this.datum_type=2,this.datum_params[3]*=484813681109536e-20,this.datum_params[4]*=484813681109536e-20,this.datum_params[5]*=484813681109536e-20,this.datum_params[6]=this.datum_params[6]/1e6+1))),this.datum_type=t.grids?3:this.datum_type,this.a=t.a,this.b=t.b,this.es=t.es,this.ep2=t.ep2,3===this.datum_type&&(this.grids=t.grids))};i.prototype={compare_datums:function(e){return this.datum_type===e.datum_type&&(!(this.a!==e.a||Math.abs(this.es-e.es)>5e-11)&&(1===this.datum_type?this.datum_params[0]===e.datum_params[0]&&this.datum_params[1]===e.datum_params[1]&&this.datum_params[2]===e.datum_params[2]:2===this.datum_type?this.datum_params[0]===e.datum_params[0]&&this.datum_params[1]===e.datum_params[1]&&this.datum_params[2]===e.datum_params[2]&&this.datum_params[3]===e.datum_params[3]&&this.datum_params[4]===e.datum_params[4]&&this.datum_params[5]===e.datum_params[5]&&this.datum_params[6]===e.datum_params[6]:3!==this.datum_type&&3!==e.datum_type||this.nadgrids===e.nadgrids))},geodetic_to_geocentric:function(e){var t,r,i,o,a,s,l,u=e.x,c=e.y,p=e.z?e.z:0;if(c<-n&&c>-1.001*n)c=-n;else if(c>n&&c<1.001*n)c=n;else if(c<-n||c>n)return null;return u>Math.PI&&(u-=2*Math.PI),a=Math.sin(c),l=Math.cos(c),s=a*a,t=((o=this.a/Math.sqrt(1-this.es*s))+p)*l*Math.cos(u),r=(o+p)*l*Math.sin(u),i=(o*(1-this.es)+p)*a,e.x=t,e.y=r,e.z=i,0},geocentric_to_geodetic:function(e){var t,r,i,o,a,s,l,u,c,p,h,f,y,d,v,m,g=e.x,b=e.y,S=e.z?e.z:0;if(!1,t=Math.sqrt(g*g+b*b),r=Math.sqrt(g*g+b*b+S*S),t/this.a<1e-12){if(!0,d=0,r/this.a<1e-12)return v=n,void(m=-this.b)}else d=Math.atan2(b,g);i=S/r,o=t/r,a=1/Math.sqrt(1-this.es*(2-this.es)*o*o),u=o*(1-this.es)*a,c=i*a,y=0;do{y++,m=t*u+S*c-(l=this.a/Math.sqrt(1-this.es*c*c))*(1-this.es*c*c),s=this.es*l/(l+m),f=(h=i*(a=1/Math.sqrt(1-s*(2-s)*o*o)))*u-(p=o*(1-s)*a)*c,u=p,c=h}while(f*f>1e-24&&y<30);return v=Math.atan(h/Math.abs(p)),e.x=d,e.y=v,e.z=m,e},geocentric_to_geodetic_noniter:function(e){var t,r,i,o,a,s,l,u,c,p,h,f,y,d,v,m,g,b=e.x,S=e.y,_=e.z?e.z:0;if(b=parseFloat(b),S=parseFloat(S),_=parseFloat(_),g=!1,0!==b)t=Math.atan2(S,b);else if(S>0)t=n;else if(S<0)t=-n;else if(g=!0,t=0,_>0)r=n;else{if(!(_<0))return r=n,void(i=-this.b);r=-n}return a=b*b+S*S,s=1.0026*_,f=(o=Math.sqrt(a))/(u=Math.sqrt(s*s+a)),h=(p=s/u)*p*p,l=_+this.b*this.ep2*h,m=o-this.a*this.es*f*f*f,y=l/(c=Math.sqrt(l*l+m*m)),d=m/c,v=this.a/Math.sqrt(1-this.es*y*y),i=d>=.3826834323650898?o/d-v:d<=-.3826834323650898?o/-d-v:_/y+v*(this.es-1),!1===g&&(r=Math.atan(y/d)),e.x=t,e.y=r,e.z=i,e},geocentric_to_wgs84:function(e){if(1===this.datum_type)e.x+=this.datum_params[0],e.y+=this.datum_params[1],e.z+=this.datum_params[2];else if(2===this.datum_type){var t=this.datum_params[0],r=this.datum_params[1],n=this.datum_params[2],i=this.datum_params[3],o=this.datum_params[4],a=this.datum_params[5],s=this.datum_params[6],l=s*(e.x-a*e.y+o*e.z)+t,u=s*(a*e.x+e.y-i*e.z)+r,c=s*(-o*e.x+i*e.y+e.z)+n;e.x=l,e.y=u,e.z=c}},geocentric_from_wgs84:function(e){if(1===this.datum_type)e.x-=this.datum_params[0],e.y-=this.datum_params[1],e.z-=this.datum_params[2];else if(2===this.datum_type){var t=this.datum_params[0],r=this.datum_params[1],n=this.datum_params[2],i=this.datum_params[3],o=this.datum_params[4],a=this.datum_params[5],s=this.datum_params[6],l=(e.x-t)/s,u=(e.y-r)/s,c=(e.z-n)/s;e.x=l+a*u-o*c,e.y=-a*l+u+i*c,e.z=o*l-i*u+c}}},e.exports=i},function(e,t,r){"use strict";t.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"},t.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},t.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},t.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"},t.airy={a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},t.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},t.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},t.mod_airy={a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},t.andrae={a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},t.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},t.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},t.bessel={a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},t.bess_nam={a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},t.clrk66={a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},t.clrk80={a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},t.clrk58={a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},t.CPM={a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},t.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},t.engelis={a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},t.evrst30={a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},t.evrst48={a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},t.evrst56={a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},t.evrst69={a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},t.evrstSS={a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},t.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},t.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"},t.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"},t.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"},t.hough={a:6378270,rf:297,ellipseName:"Hough"},t.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},t.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"},t.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"},t.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"},t.new_intl={a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},t.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},t.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},t.SEasia={a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},t.walbeck={a:6376896,b:6355834.8467,ellipseName:"Walbeck"},t.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"},t.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"},t.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"},t.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"},t.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"}},function(e,t,r){"use strict";t.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},t.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},t.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},t.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},t.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},t.potsdam={towgs84:"606.0,23.0,413.0",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},t.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},t.hermannskogel={towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"},t.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},t.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},t.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},t.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},t.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},t.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},t.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},t.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"}},function(e,t,r){"use strict";var n=r(393),i=r(392),o=r(101),a=r(391);e.exports=function(e){if(e.datumCode&&"none"!==e.datumCode){var t=n[e.datumCode];t&&(e.datum_params=t.towgs84?t.towgs84.split(","):null,e.ellps=t.ellipse,e.datumName=t.datumName?t.datumName:e.datumCode)}if(!e.a){var r=i[e.ellps]?i[e.ellps]:i.WGS84;o(e,r)}return e.rf&&!e.b&&(e.b=(1-1/e.rf)*e.a),(0===e.rf||Math.abs(e.a-e.b)<1e-10)&&(e.sphere=!0,e.b=e.a),e.a2=e.a*e.a,e.b2=e.b*e.b,e.es=(e.a2-e.b2)/e.a2,e.e=Math.sqrt(e.es),e.R_A&&(e.a*=1-e.es*(.16666666666666666+e.es*(.04722222222222222+.022156084656084655*e.es)),e.a2=e.a*e.a,e.b2=e.b*e.b,e.es=0),e.ep2=(e.a2-e.b2)/e.b2,e.k0||(e.k0=1),e.axis||(e.axis="enu"),e.datum||(e.datum=a(e)),e}},function(e,t,r){"use strict";function n(e){return e}t.init=function(){},t.forward=n,t.inverse=n,t.names=["longlat","identity"]},function(e,t,r){"use strict";var n=r(41),i=Math.PI/2,o=57.29577951308232,a=r(7),s=Math.PI/4,l=r(66),u=r(65);t.init=function(){var e=this.b/this.a;this.es=1-e*e,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=n(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)},t.forward=function(e){var t,r,n=e.x,u=e.y;if(u*o>90&&u*o<-90&&n*o>180&&n*o<-180)return null;if(Math.abs(Math.abs(u)-i)<=1e-10)return null;if(this.sphere)t=this.x0+this.a*this.k0*a(n-this.long0),r=this.y0+this.a*this.k0*Math.log(Math.tan(s+.5*u));else{var c=Math.sin(u),p=l(this.e,u,c);t=this.x0+this.a*this.k0*a(n-this.long0),r=this.y0-this.a*this.k0*Math.log(p)}return e.x=t,e.y=r,e},t.inverse=function(e){var t,r,n=e.x-this.x0,o=e.y-this.y0;if(this.sphere)r=i-2*Math.atan(Math.exp(-o/(this.a*this.k0)));else{var s=Math.exp(-o/(this.a*this.k0));if(-9999===(r=u(this.e,s)))return null}return t=a(this.long0+n/(this.a*this.k0)),e.x=t,e.y=r,e},t.names=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},function(e,t,r){"use strict";var n=[r(396),r(395)],i={},o=[];function a(e,t){var r=o.length;return e.names?(o[r]=e,e.names.forEach(function(e){i[e.toLowerCase()]=r}),this):(console.log(t),!0)}t.add=a,t.get=function(e){if(!e)return!1;var t=e.toLowerCase();return void 0!==i[t]&&o[i[t]]?o[i[t]]:void 0},t.start=function(){n.forEach(a)}},function(e,t,r){"use strict";t.ft={to_meter:.3048},t["us-ft"]={to_meter:1200/3937}},function(e,t,r){"use strict";t.greenwich=0,t.lisbon=-9.131906111111,t.paris=2.337229166667,t.bogota=-74.080916666667,t.madrid=-3.687938888889,t.rome=12.452333333333,t.bern=7.439583333333,t.jakarta=106.807719444444,t.ferro=-17.666666666667,t.brussels=4.367975,t.stockholm=18.058277777778,t.athens=23.7163375,t.oslo=10.722916666667},function(e,t,r){"use strict";e.exports=function(e){e("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),e("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),e("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),e.WGS84=e["EPSG:4326"],e["EPSG:3785"]=e["EPSG:3857"],e.GOOGLE=e["EPSG:3857"],e["EPSG:900913"]=e["EPSG:3857"],e["EPSG:102113"]=e["EPSG:3857"]}},function(e,t,r){"use strict";var n=r(168),i=r(166),o=r(167);e.exports=function(e){return function(e){return"string"==typeof e}(e)?function(e){return e in n}(e)?n[e]:function(e){return["GEOGCS","GEOCCS","PROJCS","LOCAL_CS"].reduce(function(t,r){return t+1+e.indexOf(r)},0)}(e)?i(e):function(e){return"+"===e[0]}(e)?o(e):void 0:e}},function(e,t,r){"use strict";var n=r(102),i=r(165),o=n("WGS84");function a(e,t,r){var n;return Array.isArray(r)?(n=i(e,t,r),3===r.length?[n.x,n.y,n.z]:[n.x,n.y]):i(e,t,r)}function s(e){return e instanceof n?e:e.oProj?e.oProj:n(e)}e.exports=function(e,t,r){e=s(e);var n,i=!1;return void 0===t?(t=e,e=o,i=!0):(void 0!==t.x||Array.isArray(t))&&(r=t,t=e,e=o,i=!0),t=s(t),r?a(e,t,r):(n={forward:function(r){return a(e,t,r)},inverse:function(r){return a(t,e,r)}},i&&(n.oProj=t),n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.changeTileVersion=t.ChangeTileVersion=void 0;var n,i=r(2),o=(n=i)&&n.__esModule?n:{default:n};r(4);var a=r(159);var s=t.ChangeTileVersion=o.default.Control.extend({options:{layer:null,position:"topleft",title:"switch tile version",tooltip:"top",collapsed:!0,nextText:"+",lastText:"-",ico:"V",orientation:"horizontal",switch:!0},onAdd:function(){"vertical"!==this.options.orientation&&(this.options.orientation="horizontal");var e=this._initLayout();return this.options.layer&&this.setLayer(this.options.layer),e},setContent:function(e){var t=o.default.Util.extend({},e);this.setVersionName(t.desc).setToolTip(t.desc)},setVersionName:function(e){var t=e;return e||(t=this.getValue()),this._sliderValue.innerHTML=t,this},setToolTip:function(e){return this.tooltip.innerHTML=e,this},updateLength:function(e){e>0&&(this.length=e,this.max=this.length-1,this.slider.setAttribute("max",this.max))},setLayer:function(e){e&&(this.options.layer=e);var t=this,r=t.options.layer;r.on("tilesetsinfoloaded",function(e){var r=e&&e.tileVersions;t.update(r)}),r.on("tileversionschanged",function(e){var r=e&&e.tileVersion;t.setContent(r)}),t.getTileSetsInfo()},update:function(e){this.tileVersions=e,this.updateLength(this.tileVersions.length)},getTileSetsInfo:function(){var e=this;e.options.layer&&new a.MapService(e.options.layer._url).getTilesets(function(t){e.options.layer.setTileSetsInfo(t.result)})},removeLayer:function(){this.options.layer=null},nextTilesVersion:function(){return this.firstLoad?(this.options.layer.nextTilesVersion(),this.firstLoad=!1,this):parseInt(this.slider.value)>this.max-1?this:(this.slider.value=parseInt(this.slider.value)+1,this.options.layer.nextTilesVersion(),this)},lastTilesVersion:function(){return parseInt(this.slider.value)4?c*a(2*s/n)/a(s/n):c/3);var h=s/n,f=-s/2,y=l+c*a(f),d=u+c*i(f);f+=h;var v=t.pointList=[];v.push([y,d]);for(var m,g=0,b=2*n-1;g0){var c=o[o.length-1];if(Math.abs(c[0]-n[0])<=s&&Math.abs(c[1]-n[1])<=s)continue}o.push(n)}if(o.length<2)return null;var p=new Object;(p=a.Util.copyAttributesWithClip(p,this.style,["pointList"])).pointList=o;var h=new S.SmicBrokenLine({style:p,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(h.highlightStyle=this.highlightStyle),h.refOriginalPosition=this.location,h.refDataID=this.data.id,h.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(h,this.shapeOptions),this.shapes.push(h)}},{key:"multiPointToTF",value:function(e){for(var t=e.components,r=[],n=[],i=this.location,o=[],s=this.nodesClipPixel,l=0;l0){var c=o[o.length-1];if(Math.abs(c[0]-n[0])<=s&&Math.abs(c[1]-n[1])<=s)continue}o.push(n);var p=new Object;p.r=6,(p=a.Util.copyAttributesWithClip(p,this.style)).x=n[0],p.y=n[1];var h=new b.SmicPoint({style:p,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(h.highlightStyle=this.highlightStyle),h.refOriginalPosition=i,h.refDataID=this.data.id,h.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(h,this.shapeOptions),this.shapes.push(h)}}},{key:"multiLineStringToTF",value:function(e){for(var t=e.components,r=0;r0){var f=o[o.length-1];if(Math.abs(f[0]-n[0])<=u&&Math.abs(f[1]-n[1])<=u)continue}o.push(n)}}else{s=[];for(var y=0;y0){var d=s[s.length-1];if(Math.abs(d[0]-n[0])<=u&&Math.abs(d[1]-n[1])<=u)continue}s.push(n)}}s.length<2||l.push(s)}if(!(o.length<2)){var v={};(v=a.Util.copyAttributesWithClip(v,this.style,["pointList"])).pointList=o;var m=new O.SmicPolygon({style:v,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(m.highlightStyle=this.highlightStyle),m.refOriginalPosition=this.location,m.refDataID=this.data.id,m.isHoverByRefDataID=this.isMultiHover,l.length>0&&(m.holePolygonPointLists=l),this.shapeOptions&&a.Util.copyAttributesWithClip(m,this.shapeOptions),this.shapes.push(m)}}},{key:"rectangleToTF",value:function(e){var t=this.location,r=new T.LonLat(e.x,e.y),n=this.layer.map.getResolution(),i=this.getLocalXY(r),o=new Object;o.r=6,(o=a.Util.copyAttributesWithClip(o,this.style)).x=i[0]-t[0],o.y=i[1]-t[1]-2*e.width/n,o.width=e.width/n,o.height=e.height/n;var s=new P.SmicRectangle({style:o,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(s.highlightStyle=this.highlightStyle),s.refOriginalPosition=t,s.refDataID=this.data.id,s.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(s,this.shapeOptions),this.shapes.push(s)}},{key:"geoTextToTF",value:function(e){var t=this.location,r=this.getLocalXY(e),n=new Object;n.r=6,(n=a.Util.copyAttributesWithClip(n,this.style,["x","y","text"])).x=r[0]-t[0],n.y=r[1]-t[1],n.text=e.text;var i=new _.SmicText({style:n,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(i.highlightStyle=this.highlightStyle),i.refOriginalPosition=t,i.refDataID=this.data.id,i.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(i,this.shapeOptions),this.shapes.push(i)}},{key:"updateAndAddShapes",value:function(){var e=this.getLocalXY(this.lonlat);this.location=e;for(var t=this.layer.renderer,r=0,n=this.shapes.length;rn[1])return;for(var s=0,l=0;l=0&&t.innerRingRadiusr[1])return null;l=c[p],u=t[1]-(i[p]-r[0])/n;var f=new a.Point(l,u);f.style=o.ShapeFactory.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,p,i[p]),f.highlightStyle=o.ShapeFactory.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(f.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(f.clickable=e.pointClickAble),f.refDataID=this.data.id,f.dataInfo={field:this.fields[p],value:i[p]},this.shapes.push(this.shapeFactory.createShape(f))}this.shapesConvertToRelativeCoordinate()}}}},{key:"calculateXShapeInfo",value:function(){var e,t=this.dataViewBox,r=this.setting,n=this.dataValues.length;if(n<1)return null;var i=[],o=this.DVBWidth,a=0;if(r.xShapeBlank&&r.xShapeBlank.length&&2==r.xShapeBlank.length){var s=o-((e=r.xShapeBlank)[0]+e[1]);if(s<=n)return null;a=s/(n-1)}else e=[a=o/(n+1),a,a];for(var l=0,u=0;un[1])return;for(var s=0,l=0;l=360&&(h=359.9999999);var m=new a.Sector(c[0],c[1],y,p,h);if(void 0===e.sectorStyleByFields){var g=d%t.length;m.style=o.ShapeFactory.ShapeStyleTool(null,e.sectorStyle,t,null,g)}else m.style=o.ShapeFactory.ShapeStyleTool(null,e.sectorStyle,e.sectorStyleByFields,e.sectorStyleByCodomain,d,r[d]);m.highlightStyle=o.ShapeFactory.ShapeStyleTool(null,e.sectorHoverStyle),void 0!==e.sectorHoverAble&&(m.hoverable=e.sectorHoverAble),void 0!==e.sectorClickAble&&(m.clickable=e.sectorClickAble),m.refDataID=this.data.id,m.dataInfo={field:this.fields[d],value:r[d]},this.shapes.push(this.shapeFactory.createShape(m)),p=h}this.shapesConvertToRelativeCoordinate()}}}}]),t}();i.SuperMap.Feature.Theme.Pie=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Line=void 0;var n=function(){function e(e,t){for(var r=0;rr[1])return null;u=p[y],c=t[1]-(i[y]-r[0])/n;var v=new a.Point(u,c);v.style=o.ShapeFactory.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,y,i[y]),v.highlightStyle=o.ShapeFactory.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(v.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(v.clickable=e.pointClickAble),v.refDataID=this.data.id,v.dataInfo={field:this.fields[y],value:i[y]},f.push(this.shapeFactory.createShape(v));var m=[u,c];h.push(m)}var g=new s.Line(h);g.style=o.ShapeFactory.ShapeStyleTool({strokeColor:"#ee9900"},e.lineStyle),g.clickable=!1,g.hoverable=!1;var b=this.shapeFactory.createShape(g);this.shapes.push(b),this.shapes=this.shapes.concat(f),this.shapesConvertToRelativeCoordinate()}}}}},{key:"calculateXShapeInfo",value:function(){var e,t=this.dataViewBox,r=this.setting,n=this.dataValues.length;if(n<1)return null;var i=[],o=this.DVBWidth,a=0;if(r.xShapeBlank&&r.xShapeBlank.length&&2==r.xShapeBlank.length){var s=o-((e=r.xShapeBlank)[0]+e[1]);if(s<=n)return null;a=s/(n-1)}else e=[a=o/(n+1),a,a];for(var l=0,u=0;u0?this.DVBUnitValue=e.maxR/(i[1]-i[0]):this.DVBUnitValue=e.maxR;var l=this.DVBUnitValue,u=n[0]*l+e.minR;if(this.width=2*u,this.height=2*u,this.initBaseParameter()&&(!i||!(n[0]i[1]))){var c=this.DVBCenterPoint,p=new a.Circle(c[0],c[1],u);p.style=s.ShapeFactory.ShapeStyleTool(null,e.circleStyle,null,null,0),void 0!==e.fillColor?p.style.fillColor=e.fillColor:p.style.fillColor="#ff9277",p.highlightStyle=s.ShapeFactory.ShapeStyleTool(null,e.circleHoverStyle),void 0!==e.circleHoverAble&&(p.hoverable=e.circleHoverAble),void 0!==e.circleClickAble&&(p.clickable=e.circleClickAble),p.refDataID=this.data.id,p.dataInfo={field:this.fields[0],r:u,value:n[0]},this.shapes.push(this.shapeFactory.createShape(p)),this.shapesConvertToRelativeCoordinate()}}}]),t}();i.SuperMap.Feature.Theme.Circle=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Bar3D=void 0;var n=function(){function e(e,t){for(var r=0;rt[1])return;var u=this.calculateXShapeInfo();if(u){var c=u.xPositions,p=u.width;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(a.ShapeFactory.Background(this.shapeFactory,this.chartBox,e)),(!e.axis3DParameter||isNaN(e.axis3DParameter)||e.axis3DParameter<15)&&(e.axis3DParameter=20),(void 0===e.useAxis||e.useAxis)&&(this.shapes=this.shapes.concat(a.ShapeFactory.GraphAxis(this.shapeFactory,r,e,u)));for(var h=e.bar3DParameter&&!isNaN(e.bar3DParameter)?e.bar3DParameter:10,f=0;fr[1])return;var c=this.calculateXShapeInfo();if(c){var p=c.xPositions,h=c.width;(void 0===t.useBackground||t.useBackground)&&this.shapes.push(o.ShapeFactory.Background(this.shapeFactory,this.chartBox,t)),(void 0===t.useAxis||t.useAxis)&&(this.shapes=this.shapes.concat(o.ShapeFactory.GraphAxis(this.shapeFactory,n,t,c)));for(var f=0;f=t.length&&(r%=t.length);var u=t[r][0],c=t[r][1],p=(new s.Color).getLinearGradient(a,0,l,0,[[0,u],[1,c]]);i.style.color=p}}}}]),t}();i.SuperMap.Feature.Theme.Bar=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SUtil=t.LevelRendererVector=t.Util=t.Transformable=t.Storage=t.SmicText=t.SmicStar=t.SmicSector=t.SmicRing=t.SmicRectangle=t.SmicPolygon=t.SmicPoint=t.SmicIsogon=t.SmicImage=t.SmicEllipse=t.SmicCircle=t.SmicBrokenLine=t.Shape=t.PaintLayer=t.Painter=t.Matrix=t.Math=t.Log=t.Http=t.Handler=t.Group=t.Eventful=t.LevelRendererEvent=t.Env=t.Easing=t.LevelRendererCurve=t.Config=t.ComputeBoundingBox=t.Color=t.Clip=t.Area=t.Animator=t.Animation=t.Render=t.LevelRenderer=t.FeatureTheme=t.Sector=t.FeatureRectangle=t.FeaturePolygon=t.Point=t.FeatureLine=t.Label=t.Image=t.FeatureCircle=t.ShapeParameters=t.ShapeFactory=t.ThemeVector=t.Ring=t.RankSymbol=t.OverlayPoint=t.Pie=t.Line=t.Graph=t.Circle=t.Bar3D=t.Bar=void 0;var n=r(419),i=r(418),o=r(417),a=r(31),s=r(416),l=r(415),u=r(414),c=r(179),p=r(413),h=r(412),f=r(411),y=r(410);t.Bar=n.Bar,t.Bar3D=i.Bar3D,t.Circle=o.Circle,t.Graph=a.Graph,t.Line=s.Line,t.Pie=l.Pie,t.OverlayPoint=u.Point,t.RankSymbol=c.RankSymbol,t.Ring=p.Ring,t.ThemeVector=h.ThemeVector,t.ShapeFactory=f.ShapeFactory,t.ShapeParameters=f.ShapeParameters,t.FeatureCircle=f.FeatureCircle,t.Image=f.Image,t.Label=f.Label,t.FeatureLine=f.FeatureLine,t.Point=f.Point,t.FeaturePolygon=f.FeaturePolygon,t.FeatureRectangle=f.FeatureRectangle,t.Sector=f.Sector,t.FeatureTheme=f.FeatureTheme,t.LevelRenderer=y.LevelRenderer,t.Render=y.Render,t.Animation=y.Animation,t.Animator=y.Animator,t.Area=y.Area,t.Clip=y.Clip,t.Color=y.Color,t.ComputeBoundingBox=y.ComputeBoundingBox,t.Config=y.Config,t.LevelRendererCurve=y.LevelRendererCurve,t.Easing=y.Easing,t.Env=y.Env,t.LevelRendererEvent=y.LevelRendererEvent,t.Eventful=y.Eventful,t.Group=y.Group,t.Handler=y.Handler,t.Http=y.Http,t.Log=y.Log,t.Math=y.Math,t.Matrix=y.Matrix,t.Painter=y.Painter,t.PaintLayer=y.PaintLayer,t.Shape=y.Shape,t.SmicBrokenLine=y.SmicBrokenLine,t.SmicCircle=y.SmicCircle,t.SmicEllipse=y.SmicEllipse,t.SmicImage=y.SmicImage,t.SmicIsogon=y.SmicIsogon,t.SmicPoint=y.SmicPoint,t.SmicPolygon=y.SmicPolygon,t.SmicRectangle=y.SmicRectangle,t.SmicRing=y.SmicRing,t.SmicSector=y.SmicSector,t.SmicStar=y.SmicStar,t.SmicText=y.SmicText,t.Storage=y.Storage,t.Transformable=y.Transformable,t.Util=y.Util,t.LevelRendererVector=y.LevelRendererVector,t.SUtil=y.SUtil},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeStyle=void 0;var n=r(0),i=r(1);var o=t.ThemeStyle=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=t||{},this.fill=!0,this.fillColor="#000000",this.fillOpacity=1,this.stroke=!1,this.strokeColor="#000000",this.strokeOpacity=1,this.strokeWidth=1,this.strokeLinecap="butt",this.strokeLineJoin="miter",this.strokeDashstyle="solid",this.pointRadius=6,this.shadowBlur=0,this.shadowColor="#000000",this.shadowOffsetX=0,this.shadowOffsetY=0,this.label="",this.labelRect=!1,this.fontColor="",this.fontSize=12,this.fontStyle="normal",this.fontVariant="normal",this.fontWeight="normal",this.fontFamily="arial,sans-serif",this.labelPosition="top",this.labelAlign="center",this.labelBaseline="middle",this.labelXOffset=0,this.labelYOffset=0,i.Util.extend(this,t)};n.SuperMap.ThemeStyle=o},function(e,t,r){"use strict";(function(t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=9007199254740991,i="[object Arguments]",o="[object Function]",a="[object GeneratorFunction]",s="[object Map]",l="[object Set]",u=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,p="object"==(void 0===t?"undefined":r(t))&&t&&t.Object===Object&&t,h="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,f=p||h||Function("return this")();function y(e,t){return function(e,t){for(var r=-1,n=e?e.length:0,i=Array(n);++r-1&&e%1==0&&e-1&&e%1==0&&e<=n}(e.length)&&!W(e)}function W(e){var t=Q(e)?T.call(e):"";return t==o||t==a}function Q(e){var t=void 0===e?"undefined":r(e);return!!e&&("object"==t||"function"==t)}var Y,X=(Y=function(e){return q(e)?D(e):B(e)},function(e){var t,r,n,i=V(e);return i==s?(t=e,r=-1,n=Array(t.size),t.forEach(function(e,t){n[++r]=[t,e]}),n):i==l?function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=[e,e]}),r}(e):y(e,Y(e))});e.exports=X}).call(this,r(127))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CartoCSS=void 0;var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var r=0;ru&&(l[n]=l[n].slice(r-u),u=r)}function d(e){var i,o,a,s;if(e instanceof Function)return e.call(c.parsers);if("string"==typeof e)i=t.charAt(r)===e?e:null,o=1,y();else{if(y(),!(i=e.exec(l[n])))return null;o=i[0].length}if(i){var p=r+=o;for(s=r+l[n].length-o;r=0&&"\n"!==n.charAt(a);a--)r.column++;return new Error([r.filename,r.line,r.column,r.message].join(";"))}return this.env=e=e||{},this.env.filename=this.env.filename||null,this.env.inputs=this.env.inputs||{},c={parse:function(i){var o,c=null;if(r=n=u=s=0,l=[],t=i.replace(/\r\n/g,"\n"),e.filename&&(p.env.inputs[e.filename]=t),l=function(e){for(var r,n,i,o,a=0,s=/(?:@\{[\w-]+\}|[^"'`\{\}\/\(\)\\])+/g,l=/\/\*(?:[^*]|\*+[^\/*])*\*+\/|\/\/.*/g,u=/"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'|`((?:[^`]|\\.)*)`/g,p=0,h=e[0],f=0;f0?"missing closing `}`":"missing opening `{`"}),e.map(function(e){return e.join("")})}([[]]),c)throw v(c);var h=function(e,t){var r=e.specificity,n=t.specificity;return r[0]!=n[0]?n[0]-r[0]:r[1]!=n[1]?n[1]-r[1]:r[2]!=n[2]?n[2]-r[2]:n[3]-r[3]};return(o=new a.SuperMap.CartoCSS.Tree.Ruleset([],d(this.parsers.primary))).root=!0,o.toList=function(e){e.error=function(t){e.errors||(e.errors=new Error("")),e.errors.message?e.errors.message+="\n"+v(t).message:e.errors.message=v(t).message},e.frames=e.frames||[];var t=this.flatten([],[],e);return t.sort(h),t},o},parsers:{primary:function(){for(var e,t=[];(e=d(this.rule)||d(this.ruleset)||d(this.comment))||d(/^[\s\n]+/)||(e=d(this.invalid));)e&&t.push(e);return t},invalid:function(){var e=d(/^[^;\n]*[;\n]/);if(e)return new a.SuperMap.CartoCSS.Tree.Invalid(e,o)},comment:function(){var e;if("/"===t.charAt(r))return"/"===t.charAt(r+1)?new a.SuperMap.CartoCSS.Tree.Comment(d(/^\/\/.*/),!0):(e=d(/^\/\*(?:[^*]|\*+[^\/*])*\*+\/\n?/))?new a.SuperMap.CartoCSS.Tree.Comment(e):void 0},entities:{quoted:function(){if('"'===t.charAt(r)||"'"===t.charAt(r)){var e=d(/^"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'/);return e?new a.SuperMap.CartoCSS.Tree.Quoted(e[1]||e[2]):void 0}},field:function(){if(d("[")){var e=d(/(^[^\]]+)/);if(d("]"))return e?new a.SuperMap.CartoCSS.Tree.Field(e[1]):void 0}},comparison:function(){var e=d(/^=~|=|!=|<=|>=|<|>/);if(e)return e},keyword:function(){var e=d(/^[A-Za-z\u4e00-\u9fa5-]+[A-Za-z-0-9\u4e00-\u9fa5_]*/);if(e)return new a.SuperMap.CartoCSS.Tree.Keyword(e)},call:function(){var e,t;if(e=/^([\w\-]+|%)\(/.exec(l[n])){if("url"===(e=e[1]))return null;r+=e.length;if(d("("),t=d(this.entities.arguments),d(")"))return e?new a.SuperMap.CartoCSS.Tree.Call(e,t,r):void 0}},arguments:function(){for(var e,t=[];e=d(this.expression);){t.push(e);if(!d(","))break}return t},literal:function(){return d(this.entities.dimension)||d(this.entities.keywordcolor)||d(this.entities.hexcolor)||d(this.entities.quoted)},url:function(){var e;if("u"===t.charAt(r)&&d(/^url\(/)){e=d(this.entities.quoted)||d(this.entities.variable)||d(/^[\-\w%@$\/.&=:;#+?~]+/)||"";return d(")")?new a.SuperMap.CartoCSS.Tree.URL(void 0!==e.value||e instanceof a.SuperMap.CartoCSS.Tree.Variable?e:new a.SuperMap.CartoCSS.Tree.Quoted(e)):new a.SuperMap.CartoCSS.Tree.Invalid(e,o,"Missing closing ) in URL.")}},variable:function(){var n,i=r;if("@"===t.charAt(r)&&(n=d(/^@[\w-]+/)))return new a.SuperMap.CartoCSS.Tree.Variable(n,i,e.filename)},hexcolor:function(){var e;if("#"===t.charAt(r)&&(e=d(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})/)))return new a.SuperMap.CartoCSS.Tree.Color(e[1])},keywordcolor:function(){var e=l[n].match(/^[a-z]+/);if(e&&e[0]in a.SuperMap.CartoCSS.Tree.Reference.data.colors)return new a.SuperMap.CartoCSS.Tree.Color(a.SuperMap.CartoCSS.Tree.Reference.data.colors[d(/^[a-z]+/)])},dimension:function(){var e=t.charCodeAt(r);if(!(e>57||e<45||47===e)){var n=d(/^(-?\d*\.?\d+(?:[eE][-+]?\d+)?)(\%|\w+)?/);return n?new a.SuperMap.CartoCSS.Tree.Dimension(n[1],n[2],o):void 0}}},variable:function(){var e;if("@"===t.charAt(r)&&(e=d(/^(@[\w-]+)\s*:/)))return e[1]},entity:function(){var e=d(this.entities.call)||d(this.entities.literal),t=d(this.entities.field)||d(this.entities.variable),r=d(this.entities.url)||d(this.entities.keyword);return e||t||r},end:function(){var e;return d(";")||("string"==typeof(e="}")?t.charAt(r)===e:!!e.test(l[n]))},element:function(){var e=d(/^(?:[.#][\w\u4e00-\u9fa5\-]+|\*|Map)/);if(e)return new a.SuperMap.CartoCSS.Tree.Element(e)},attachment:function(){var e=d(/^::([\w\-]+(?:\/[\w\-]+)*)/);if(e)return e[1]},selector:function(){for(var e,n,i,s,l,u=[],c=new a.SuperMap.CartoCSS.Tree.Filterset,p=[],h=0,f=0;(i=d(this.element))||(l=d(this.zoom))||(s=d(this.filter))||(e=d(this.attachment));){if(h++,i)u.push(i);else if(l)p.push(l),f++;else if(s){var y=c.add(s);if(y)throw v({message:y,index:r-1});f++}else{if(n)throw v({message:"Encountered second attachment name.",index:r-1});n=e}var m=t.charAt(r);if("{"===m||"}"===m||";"===m||","===m)break}if(h)return new a.SuperMap.CartoCSS.Tree.Selector(c,p,u,n,f,o)},filter:function(){h();var t,r,n;if(d("[")&&(t=d(/^[a-zA-Z0-9\-_]+/)||d(this.entities.quoted)||d(this.entities.variable)||d(this.entities.keyword)||d(this.entities.field))&&(t instanceof a.SuperMap.CartoCSS.Tree.Quoted&&(t=new a.SuperMap.CartoCSS.Tree.Field(t.toString())),(r=d(this.entities.comparison))&&(n=d(this.entities.quoted)||d(this.entities.variable)||d(this.entities.dimension)||d(this.entities.keyword)||d(this.entities.field)))){if(!d("]"))throw v({message:"Missing closing ] of filter.",index:o-1});return t.is||(t=new a.SuperMap.CartoCSS.Tree.Field(t)),new a.SuperMap.CartoCSS.Tree.Filter(t,r,n,o,e.filename)}},zoom:function(){h();var e,t;if(d(/^\[\s*zoom/g)&&(e=d(this.entities.comparison))&&(t=d(this.entities.variable)||d(this.entities.dimension))&&d("]"))return new a.SuperMap.CartoCSS.Tree.Zoom(e,t,o);f()},block:function(){var e;if(d("{")&&(e=d(this.primary))&&d("}"))return e},ruleset:function(){var e,t,r=[];for(h();e=d(this.selector);){for(r.push(e);d(this.comment););if(!d(","))break;for(;d(this.comment););}if(e)for(;d(this.comment););if(r.length>0&&(t=d(this.block))){if(1===r.length&&r[0].elements.length&&"Map"===r[0].elements[0].value){var n=new a.SuperMap.CartoCSS.Tree.Ruleset(r,t);return n.isMap=!0,n}return new a.SuperMap.CartoCSS.Tree.Ruleset(r,t)}f()},rule:function(){var n,i,l=t.charAt(r);if(h(),"."!==l&&"#"!==l&&(n=d(this.variable)||d(this.property))){if((i=d(this.value))&&d(this.end))return new a.SuperMap.CartoCSS.Tree.Rule(n,i,o,e.filename);s=r,f()}},font:function(){for(var e,t=[],r=[];e=d(this.entity);)r.push(e);if(t.push(new a.SuperMap.CartoCSS.Tree.Expression(r)),d(","))for(;(e=d(this.expression))&&(t.push(e),d(",")););return new a.SuperMap.CartoCSS.Tree.Value(t)},value:function(){for(var e,t=[];(e=d(this.expression))&&(t.push(e),d(",")););return t.length>1?new a.SuperMap.CartoCSS.Tree.Value(t.map(function(e){return e.value[0]})):1===t.length?new a.SuperMap.CartoCSS.Tree.Value(t):void 0},sub:function(){var e;if(d("(")&&(e=d(this.expression))&&d(")"))return e},multiplication:function(){var e,t,r,n;if(e=d(this.operand)){for(;(r=d("/")||d("*")||d("%"))&&(t=d(this.operand));)n=new a.SuperMap.CartoCSS.Tree.Operation(r,[n||e,t],o);return n||e}},addition:function(){var e,n,i,s;if(e=d(this.multiplication)){for(;(i=d(/^[-+]\s+/)||" "!=t.charAt(r-1)&&(d("+")||d("-")))&&(n=d(this.multiplication));)s=new a.SuperMap.CartoCSS.Tree.Operation(i,[s||e,n],o);return s||e}},operand:function(){return d(this.sub)||d(this.entity)},expression:function(){for(var e,t=[];e=d(this.addition)||d(this.entity);)t.push(e);if(t.length>0)return new a.SuperMap.CartoCSS.Tree.Expression(t)},property:function(){var e=d(/^(([a-z][-a-z_0-9]*\/)?\*?-?[-a-z_0-9]+)\s*:/);if(e)return e[1]}}}}},{key:"parse",value:function(e){var t=this.parser;return this.ruleSet=t.parse(e)}},{key:"toShaders",value:function(){if(this.ruleSet){var e=this.ruleSet;if(e){var t=e.toList(this.env);t.reverse();var r={},n=[];this._toShaders(r,n,t);for(var i=[],o={},a=0,s=t.length;a=0){if(!t.featureFilter){var o=i+n.length,a=r.indexOf(")",o+1),s="featureId&&(featureId"+r.substring(o,a)+")";Object.defineProperty(t,"featureFilter",{configurable:!0,enumerable:!1,value:function(e){return!!s}})}return{property:f,getValue:Function("attributes","zoom","seftFilter","var _value = null; var isExcute=typeof seftFilter=='function'?sefgFilter():seftFilter;if(isExcute){"+r+";} return _value; ")}}return{property:f,getValue:Function("attributes","zoom","var _value = null;"+r+"; return _value; ")}}(c[f],p);Object.defineProperty(p,"attachment",{configurable:!0,enumerable:!1,value:u}),Object.defineProperty(p,"elements",{configurable:!0,enumerable:!1,value:l.elements}),i.push(p),o[n[a]]=!0}Object.defineProperty(p,"zoom",{configurable:!0,enumerable:!1,value:l.zoom})}return i}}return null}},{key:"_toShaders",value:function(e,t,r){for(var n=0,i=r.length;n= minzoom - 1e-6 and scale < maxzoom + 1e-6"},maxzoom:{"default-value":"1.79769e+308",type:"float","default-meaning":"The layer will be visible at the maximum possible scale",doc:"The maximum scale denominator that this layer will be visible at. The default is the numeric limit of the C++ double type, which may vary slightly by system, but is likely a massive number like 1.79769e+308 and ensures that this layer will always be visible unless the value is reduced. A layer's visibility is determined by whether its status is true and if the Map scale >= minzoom - 1e-6 and scale < maxzoom + 1e-6"},queryable:{"default-value":!1,type:"boolean","default-meaning":"The layer will not be available for the direct querying of data values",doc:"This property was added for GetFeatureInfo/WMS compatibility and is rarely used. It is off by default meaning that in a WMS context the layer will not be able to be queried unless the property is explicitly set to true"},"clear-label-cache":{"default-value":!1,type:"boolean","default-meaning":"The renderer's collision detector cache (used for avoiding duplicate labels and overlapping markers) will not be cleared immediately before processing this layer",doc:"This property, by default off, can be enabled to allow a user to clear the collision detector cache before a given layer is processed. This may be desirable to ensure that a given layers data shows up on the map even if it normally would not because of collisions with previously rendered labels or markers"},"group-by":{"default-value":"",type:"string","default-meaning":"No special layer grouping will be used during rendering",doc:"https://github.com/mapnik/mapnik/wiki/Grouped-rendering"},"buffer-size":{"default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:"Extra tolerance around the Layer extent (in pixels) used to when querying and (potentially) clipping the layer data during rendering"},"maximum-extent":{"default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query this specific layer data during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Layer."}},symbolizers:{"*":{"image-filters":{css:"image-filters","default-value":"none","default-meaning":"no filters",type:"functions",functions:[["agg-stack-blur",2],["emboss",0],["blur",0],["gray",0],["sobel",0],["edge-detect",0],["x-gradient",0],["y-gradient",0],["invert",0],["sharpen",0]],doc:"A list of image filters."},"comp-op":{css:"comp-op","default-value":"src-over","default-meaning":"add the current layer on top of other layers",doc:"Composite operation. This defines how this layer should behave relative to layers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]},opacity:{css:"opacity",type:"float",doc:"An alpha value for the style (which means an alpha applied to all features in separate buffer and then composited back to main buffer)","default-value":1,"default-meaning":"no separate buffer will be used and no alpha will be applied to the style after rendering"}},map:{"background-color":{css:"background-color","default-value":"none","default-meaning":"transparent",type:"color",doc:"Map Background color"},"background-image":{css:"background-image",type:"uri","default-value":"","default-meaning":"transparent",doc:"An image that is repeated below all features on a map as a background.",description:"Map Background image"},srs:{css:"srs",type:"string","default-value":"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs","default-meaning":"The proj4 literal of EPSG:4326 is assumed to be the Map's spatial reference and all data from layers within this map will be plotted using this coordinate system. If any layers do not declare an srs value then they will be assumed to be in the same srs as the Map and not transformations will be needed to plot them in the Map's coordinate space",doc:"Map spatial reference (proj4 string)"},"buffer-size":{css:"buffer-size","default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:'Extra tolerance around the map (in pixels) used to ensure labels crossing tile boundaries are equally rendered in each tile (e.g. cut in each tile). Not intended to be used in combination with "avoid-edges".'},"maximum-extent":{css:"","default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query all layers during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Map."},base:{css:"base","default-value":"","default-meaning":"This base path defaults to an empty string meaning that any relative paths to files referenced in styles or layers will be interpreted relative to the application process.",type:"string",doc:"Any relative paths used to reference files will be understood as relative to this directory path if the map is loaded from an in memory object rather than from the filesystem. If the map is loaded from the filesystem and this option is not provided it will be set to the directory of the stylesheet."},"paths-from-xml":{css:"","default-value":!0,"default-meaning":"Paths read from XML will be interpreted from the location of the XML",type:"boolean",doc:"value to control whether paths in the XML will be interpreted from the location of the XML or from the working directory of the program that calls load_map()"},"minimum-version":{css:"","default-value":"none","default-meaning":"Mapnik version will not be detected and no error will be thrown about compatibility",type:"string",doc:"The minumum Mapnik version (e.g. 0.7.2) needed to use certain functionality in the stylesheet"},"font-directory":{css:"font-directory",type:"uri","default-value":"none","default-meaning":"No map-specific fonts will be registered",doc:"Path to a directory which holds fonts which should be registered when the Map is loaded (in addition to any fonts that may be automatically registered)."}},polygon:{fill:{css:"polygon-fill",type:"color","default-value":"rgba(128,128,128,1)","default-meaning":"gray and fully opaque (alpha = 1), same as rgb(128,128,128)",doc:"Fill color to assign to a polygon"},"fill-opacity":{css:"polygon-opacity",type:"float",doc:"The opacity of the polygon","default-value":1,"default-meaning":"opaque"},gamma:{css:"polygon-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon edges"},"gamma-method":{css:"polygon-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},clip:{css:"polygon-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},line:{stroke:{css:"line-color","default-value":"rgba(0,0,0,1)",type:"color","default-meaning":"black and fully opaque (alpha = 1), same as rgb(0,0,0)",doc:"The color of a drawn line"},"stroke-width":{css:"line-width","default-value":1,type:"float",doc:"The width of a line in pixels"},"stroke-opacity":{css:"line-opacity","default-value":1,type:"float","default-meaning":"opaque",doc:"The opacity of a line"},"stroke-linejoin":{css:"line-join","default-value":"miter",type:["miter","round","bevel"],doc:"The behavior of lines when joining"},"stroke-linecap":{css:"line-cap","default-value":"butt",type:["butt","round","square"],doc:"The display of line endings"},"stroke-gamma":{css:"line-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of stroke line"},"stroke-gamma-method":{css:"line-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},"stroke-dasharray":{css:"line-dasharray",type:"numbers",doc:"A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported for more complex patterns.","default-value":"none","default-meaning":"solid line"},"stroke-dashoffset":{css:"line-dash-offset",type:"numbers",doc:"valid parameter but not currently used in renderers (only exists for experimental svg support in Mapnik which is not yet enabled)","default-value":"none","default-meaning":"solid line"},"stroke-miterlimit":{css:"line-miterlimit",type:"float",doc:"The limit on the ratio of the miter length to the stroke-width. Used to automatically convert miter joins to bevel joins for sharp angles to avoid the miter extending beyond the thickness of the stroking path. Normally will not need to be set, but a larger value can sometimes help avoid jaggy artifacts.","default-value":4,"default-meaning":"Will auto-convert miters to bevel line joins when theta is less than 29 degrees as per the SVG spec: 'miterLength / stroke-width = 1 / sin ( theta / 2 )'"},clip:{css:"line-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},offset:{css:"line-offset",type:"float","default-value":0,"default-meaning":"no offset",doc:"Offsets a line a number of pixels parallel to its actual path. Postive values move the line left, negative values move it right (relative to the directionality of the line)."},rasterizer:{css:"line-rasterizer",type:["full","fast"],"default-value":"full",doc:"Exposes an alternate AGG rendering method that sacrifices some accuracy for speed."},"geometry-transform":{css:"line-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},markers:{file:{css:"marker-file",doc:"An SVG file that this marker shows at each placement. If no file is given, the marker will show an ellipse.","default-value":"","default-meaning":"An ellipse or circle, if width equals height",type:"uri"},opacity:{css:"marker-opacity",doc:"The overall opacity of the marker, if set, overrides both the opacity of both the fill and stroke","default-value":1,"default-meaning":"The stroke-opacity and fill-opacity will be used",type:"float"},"fill-opacity":{css:"marker-fill-opacity",doc:"The fill opacity of the marker","default-value":1,"default-meaning":"opaque",type:"float"},stroke:{css:"marker-line-color",doc:"The color of the stroke around a marker shape.","default-value":"black",type:"color"},"stroke-width":{css:"marker-line-width",doc:"The width of the stroke around a marker shape, in pixels. This is positioned on the boundary, so high values can cover the area itself.",type:"float"},"stroke-opacity":{css:"marker-line-opacity","default-value":1,"default-meaning":"opaque",doc:"The opacity of a line",type:"float"},placement:{css:"marker-placement",type:["point","line","interior"],"default-value":"point","default-meaning":"Place markers at the center point (centroid) of the geometry",doc:"Attempt to place markers on a point, in the center of a polygon, or if markers-placement:line, then multiple times along a line. 'interior' placement can be used to ensure that points placed on polygons are forced to be inside the polygon interior"},"multi-policy":{css:"marker-multi-policy",type:["each","whole","largest"],"default-value":"each","default-meaning":"If a feature contains multiple geometries and the placement type is either point or interior then a marker will be rendered for each",doc:"A special setting to allow the user to control rendering behavior for 'multi-geometries' (when a feature contains multiple geometries). This setting does not apply to markers placed along lines. The 'each' policy is default and means all geometries will get a marker. The 'whole' policy means that the aggregate centroid between all geometries will be used. The 'largest' policy means that only the largest (by bounding box areas) feature will get a rendered marker (this is how text labeling behaves by default)."},"marker-type":{css:"marker-type",type:["arrow","ellipse"],"default-value":"ellipse",doc:"The default marker-type. If a SVG file is not given as the marker-file parameter, the renderer provides either an arrow or an ellipse (a circle if height is equal to width)"},width:{css:"marker-width","default-value":10,doc:"The width of the marker, if using one of the default types.",type:"expression"},height:{css:"marker-height","default-value":10,doc:"The height of the marker, if using one of the default types.",type:"expression"},fill:{css:"marker-fill","default-value":"blue",doc:"The color of the area of the marker.",type:"color"},"allow-overlap":{css:"marker-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping markers are shown or hidden.","default-meaning":"Do not allow makers to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"marker-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},spacing:{css:"marker-spacing",doc:"Space between repeated labels","default-value":100,type:"float"},"max-error":{css:"marker-max-error",type:"float","default-value":.2,doc:"The maximum difference between actual marker placement and the marker-spacing parameter. Setting a high value can allow the renderer to try to resolve placement conflicts with other symbolizers."},transform:{css:"marker-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},clip:{css:"marker-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"marker-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"marker-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"marker-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},shield:{name:{css:"shield-name",type:"expression",serialization:"content",doc:'Value to use for a shield"s text label. Data columns are specified using brackets like [column_name]'},file:{css:"shield-file",required:!0,type:"uri","default-value":"none",doc:"Image file to render behind the shield text"},"face-name":{css:"shield-face-name",type:"string",validate:"font",doc:"Font name and style to use for the shield text","default-value":"",required:!0},"unlock-image":{css:"shield-unlock-image",type:"boolean",doc:"This parameter should be set to true if you are trying to position text beside rather than on top of the shield image","default-value":!1,"default-meaning":"text alignment relative to the shield image uses the center of the image as the anchor for text positioning."},size:{css:"shield-size",type:"float",doc:"The size of the shield text in pixels"},fill:{css:"shield-fill",type:"color",doc:"The color of the shield text"},placement:{css:"shield-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"How this shield should be placed. Point placement attempts to place it on top of points, line places along lines multiple times per feature, vertex places on the vertexes of polygons, and interior attempts to place inside of polygons."},"avoid-edges":{css:"shield-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.",type:"boolean","default-value":!1},"allow-overlap":{css:"shield-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping shields are shown or hidden.","default-meaning":"Do not allow shields to overlap with other map elements already placed."},"minimum-distance":{css:"shield-min-distance",type:"float","default-value":0,doc:"Minimum distance to the next shield symbol, not necessarily the same shield."},spacing:{css:"shield-spacing",type:"float","default-value":0,doc:"The spacing between repeated occurrences of the same shield on a line"},"minimum-padding":{css:"shield-min-padding","default-value":0,doc:"Determines the minimum amount of padding that a shield gets relative to other shields",type:"float"},"wrap-width":{css:"shield-wrap-width",type:"unsigned","default-value":0,doc:"Length of a chunk of text in characters before wrapping text"},"wrap-before":{css:"shield-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"shield-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long names."},"halo-fill":{css:"shield-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"shield-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},"character-spacing":{css:"shield-character-spacing",type:"unsigned","default-value":0,doc:"Horizontal spacing between characters (in pixels). Currently works for point placement only, not line placement."},"line-spacing":{css:"shield-line-spacing",doc:"Vertical spacing between lines of multiline labels (in pixels)",type:"unsigned"},dx:{css:"shield-text-dx",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"shield-text-dy",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"shield-dx":{css:"shield-dx",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},"shield-dy":{css:"shield-dy",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},opacity:{css:"shield-opacity",type:"float",doc:"(Default 1.0) - opacity of the image used for the shield","default-value":1},"text-opacity":{css:"shield-text-opacity",type:"float",doc:"(Default 1.0) - opacity of the text placed on top of the shield","default-value":1},"horizontal-alignment":{css:"shield-horizontal-alignment",type:["left","middle","right","auto"],doc:"The shield's horizontal alignment from its centerpoint","default-value":"auto"},"vertical-alignment":{css:"shield-vertical-alignment",type:["top","middle","bottom","auto"],doc:"The shield's vertical alignment from its centerpoint","default-value":"middle"},"text-transform":{css:"shield-text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"justify-alignment":{css:"shield-justify-alignment",type:["left","center","right","auto"],doc:"Define how text in a shield's label is justified","default-value":"auto"},clip:{css:"shield-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"shield-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"line-pattern":{file:{css:"line-pattern-file",type:"uri","default-value":"none",required:!0,doc:"An image file to be repeated and warped along a line"},clip:{css:"line-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"line-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"polygon-pattern":{file:{css:"polygon-pattern-file",type:"uri","default-value":"none",required:!0,doc:"Image to use as a repeated pattern fill within a polygon"},alignment:{css:"polygon-pattern-alignment",type:["local","global"],"default-value":"local",doc:"Specify whether to align pattern fills to the layer or to the map."},gamma:{css:"polygon-pattern-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon pattern edges"},opacity:{css:"polygon-pattern-opacity",type:"float",doc:"(Default 1.0) - Apply an opacity level to the image used for the pattern","default-value":1,"default-meaning":"The image is rendered without modifications"},clip:{css:"polygon-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},raster:{opacity:{css:"raster-opacity","default-value":1,"default-meaning":"opaque",type:"float",doc:"The opacity of the raster symbolizer on top of other symbolizers."},"filter-factor":{css:"raster-filter-factor","default-value":-1,"default-meaning":"Allow the datasource to choose appropriate downscaling.",type:"float",doc:"This is used by the Raster or Gdal datasources to pre-downscale images using overviews. Higher numbers can sometimes cause much better scaled image output, at the cost of speed."},scaling:{css:"raster-scaling",type:["near","fast","bilinear","bilinear8","bicubic","spline16","spline36","hanning","hamming","hermite","kaiser","quadric","catrom","gaussian","bessel","mitchell","sinc","lanczos","blackman"],"default-value":"near",doc:"The scaling algorithm used to making different resolution versions of this raster layer. Bilinear is a good compromise between speed and accuracy, while lanczos gives the highest quality."},"mesh-size":{css:"raster-mesh-size","default-value":16,"default-meaning":"Reprojection mesh will be 1/16 of the resolution of the source image",type:"unsigned",doc:"A reduced resolution mesh is used for raster reprojection, and the total image size is divided by the mesh-size to determine the quality of that mesh. Values for mesh-size larger than the default will result in faster reprojection but might lead to distortion."},"comp-op":{css:"raster-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},point:{file:{css:"point-file",type:"uri",required:!1,"default-value":"none",doc:"Image file to represent a point"},"allow-overlap":{css:"point-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping points are shown or hidden.","default-meaning":"Do not allow points to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"point-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},opacity:{css:"point-opacity",type:"float","default-value":1,"default-meaning":"Fully opaque",doc:"A value from 0 to 1 to control the opacity of the point"},placement:{css:"point-placement",type:["centroid","interior"],doc:"How this point should be placed. Centroid calculates the geometric center of a polygon, which can be outside of it, while interior always places inside of a polygon.","default-value":"centroid"},transform:{css:"point-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},"comp-op":{css:"point-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},text:{name:{css:"text-name",type:"expression",required:!0,"default-value":"",serialization:"content",doc:"Value to use for a text label. Data columns are specified using brackets like [column_name]"},"face-name":{css:"text-face-name",type:"string",validate:"font",doc:"Font name and style to render a label in",required:!0},size:{css:"text-size",type:"float","default-value":10,doc:"Text size in pixels"},"text-ratio":{css:"text-ratio",doc:"Define the amount of text (of the total) present on successive lines when wrapping occurs","default-value":0,type:"unsigned"},"wrap-width":{css:"text-wrap-width",doc:"Length of a chunk of text in characters before wrapping text","default-value":0,type:"unsigned"},"wrap-before":{css:"text-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"text-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long text."},spacing:{css:"text-spacing",type:"unsigned",doc:"Distance between repeated text labels on a line (aka. label-spacing)"},"character-spacing":{css:"text-character-spacing",type:"float","default-value":0,doc:"Horizontal spacing adjustment between characters in pixels"},"line-spacing":{css:"text-line-spacing","default-value":0,type:"unsigned",doc:"Vertical spacing adjustment between lines in pixels"},"label-position-tolerance":{css:"text-label-position-tolerance","default-value":0,type:"unsigned",doc:"Allows the label to be displaced from its ideal position by a number of pixels (only works with placement:line)"},"max-char-angle-delta":{css:"text-max-char-angle-delta",type:"float","default-value":"22.5",doc:"The maximum angle change, in degrees, allowed between adjacent characters in a label. This value internally is converted to radians to the default is 22.5*math.pi/180.0. The higher the value the fewer labels will be placed around around sharp corners."},fill:{css:"text-fill",doc:"Specifies the color for the text","default-value":"#000000",type:"color"},opacity:{css:"text-opacity",doc:"A number from 0 to 1 specifying the opacity for the text","default-value":1,"default-meaning":"Fully opaque",type:"float"},"halo-fill":{css:"text-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"text-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},dx:{css:"text-dx",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"text-dy",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"vertical-alignment":{css:"text-vertical-alignment",type:["top","middle","bottom","auto"],doc:"Position of label relative to point position.","default-value":"auto","default-meaning":'Default affected by value of dy; "bottom" for dy>0, "top" for dy<0.'},"avoid-edges":{css:"text-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.","default-value":!1,type:"boolean"},"minimum-distance":{css:"text-min-distance",doc:"Minimum permitted distance to the next text symbolizer.",type:"float"},"minimum-padding":{css:"text-min-padding",doc:"Determines the minimum amount of padding that a text symbolizer gets relative to other text",type:"float"},"minimum-path-length":{css:"text-min-path-length",type:"float","default-value":0,"default-meaning":"place labels on all paths",doc:"Place labels only on paths longer than this value."},"allow-overlap":{css:"text-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping text is shown or hidden.","default-meaning":"Do not allow text to overlap with other text - overlapping markers will not be shown."},orientation:{css:"text-orientation",type:"expression",doc:"Rotate the text."},placement:{css:"text-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"Control the style of placement of a point versus the geometry it is attached to."},"placement-type":{css:"text-placement-type",doc:'Re-position and/or re-size text to avoid overlaps. "simple" for basic algorithm (using text-placements string,) "dummy" to turn this feature off.',type:["dummy","simple"],"default-value":"dummy"},placements:{css:"text-placements",type:"string","default-value":"",doc:'If "placement-type" is set to "simple", use this "POSITIONS,[SIZES]" string. An example is `text-placements: "E,NE,SE,W,NW,SW";` '},"text-transform":{css:"text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"horizontal-alignment":{css:"text-horizontal-alignment",type:["left","middle","right","auto"],doc:"The text's horizontal alignment from its centerpoint","default-value":"auto"},"justify-alignment":{css:"text-align",type:["left","right","center","auto"],doc:"Define how text is justified","default-value":"auto","default-meaning":"Auto alignment means that text will be centered by default except when using the `placement-type` parameter - in that case either right or left justification will be used automatically depending on where the text could be fit given the `text-placements` directives"},clip:{css:"text-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"text-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},building:{fill:{css:"building-fill","default-value":"#FFFFFF",doc:"The color of the buildings walls.",type:"color"},"fill-opacity":{css:"building-fill-opacity",type:"float",doc:"The opacity of the building as a whole, including all walls.","default-value":1},height:{css:"building-height",doc:"The height of the building in pixels.",type:"expression","default-value":"0"}}},colors:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50],transparent:[0,0,0,0]},filter:{value:["true","false","null","point","linestring","polygon","collection"]}},c.mapnik_reference={version:{latest:a.SuperMap._mapnik_reference_latest,"2.1.1":a.SuperMap._mapnik_reference_latest}},a.SuperMap.CartoCSS=c,a.SuperMap.CartoCSS.Tree={},a.SuperMap.CartoCSS.Tree.operate=function(e,t,r){switch(e){case"+":return t+r;case"-":return t-r;case"*":return t*r;case"%":return t%r;case"/":return t/r}},a.SuperMap.CartoCSS.Tree.functions={rgb:function(e,t,r){return this.rgba(e,t,r,1)},rgba:function(e,t,r,n){var i=this,o=[e,t,r].map(function(e){return i.number(e)});return n=i.number(n),o.some(isNaN)||isNaN(n)?null:new a.SuperMap.CartoCSS.Tree.Color(o,n)},stop:function(e){var t,r;return arguments.length>1&&(t=arguments[1]),arguments.length>2&&(r=arguments[2]),{is:"tag",val:e,color:t,mode:r,toString:function(n){return'\n\t"}}},hsl:function(e,t,r){return this.hsla(e,t,r,1)},hsla:function(e,t,r,n){if([e=this.number(e)%360/360,t=this.number(t),r=this.number(r),n=this.number(n)].some(isNaN))return null;var i=r<=.5?r*(t+1):r+t-r*t,o=2*r-i;return this.rgba(255*a(e+1/3),255*a(e),255*a(e-1/3),n);function a(e){return 6*(e=e<0?e+1:e>1?e-1:e)<1?o+(i-o)*e*6:2*e<1?i:3*e<2?o+(i-o)*(2/3-e)*6:o}},hue:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(Math.round(e.toHSL().h)):null},saturation:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().s),"%"):null},lightness:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().l),"%"):null},alpha:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(e.toHSL().a):null},saturate:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.s+=t.value/100,r.s=this.clamp(r.s),this.hsla_simple(r)},desaturate:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.s-=t.value/100,r.s=this.clamp(r.s),this.hsla_simple(r)},lighten:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.l+=t.value/100,r.l=this.clamp(r.l),this.hsla_simple(r)},darken:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.l-=t.value/100,r.l=this.clamp(r.l),this.hsla_simple(r)},fadein:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.a+=t.value/100,r.a=this.clamp(r.a),this.hsla_simple(r)},fadeout:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.a-=t.value/100,r.a=this.clamp(r.a),this.hsla_simple(r)},spin:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL(),n=(r.h+t.value)%360;return r.h=n<0?360+n:n,this.hsla_simple(r)},replace:function(e,t,r){return"field"===e.is?e.toString+".replace("+t.toString()+", "+r.toString()+")":e.replace(t,r)},mix:function(e,t,r){var n=r.value/100,i=2*n-1,o=e.toHSL().a-t.toHSL().a,s=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,l=1-s,u=[e.rgb[0]*s+t.rgb[0]*l,e.rgb[1]*s+t.rgb[1]*l,e.rgb[2]*s+t.rgb[2]*l],c=e.alpha*n+t.alpha*(1-n);return new a.SuperMap.CartoCSS.Tree.Color(u,c)},greyscale:function(e){return this.desaturate(e,new a.SuperMap.CartoCSS.Tree.Dimension(100))},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),r=e.value,n=0;n.5?u/(2-a-s):u/(a+s),a){case r:e=(n-i)/u+(n=0){if(!e.ppi)return e.error({message:"ppi is not set, so metric units can't be used",index:this.index}),{is:"undefined",value:"undefined"};this.value=this.value/this.densities[this.unit]*e.ppi,this.unit="px"}return this}},{key:"toColor",value:function(){return new a.SuperMap.CartoCSS.Tree.Color([this.value,this.value,this.value])}},{key:"round",value:function(){return this.value=Math.round(this.value),this}},{key:"toString",value:function(){return this.value.toString()}},{key:"operate",value:function(e,t,r){return"%"===this.unit&&"%"!==r.unit?(e.error({message:"If two operands differ, the first must not be %",index:this.index}),{is:"undefined",value:"undefined"}):"%"!==this.unit&&"%"===r.unit?"*"===t||"/"===t||"%"===t?(e.error({message:"Percent values can only be added or subtracted from other values",index:this.index}),{is:"undefined",value:"undefined"}):new a.SuperMap.CartoCSS.Tree.Dimension(a.SuperMap.CartoCSS.Tree.operate(t,this.value,this.value*r.value*.01),this.unit):new a.SuperMap.CartoCSS.Tree.Dimension(a.SuperMap.CartoCSS.Tree.operate(t,this.value,r.value),this.unit||r.unit)}}]),e}(),a.SuperMap.CartoCSS.Tree.Element=function(){function e(t){u(this,e),this.value=t.trim(),"#"===this.value[0]&&(this.type="id",this.clean=this.value.replace(/^#/,"")),"."===this.value[0]&&(this.type="class",this.clean=this.value.replace(/^\./,"")),-1!==this.value.indexOf("*")&&(this.type="wildcard")}return o(e,[{key:"specificity",value:function(){return["id"===this.type?1:0,"class"===this.type?1:0]}},{key:"toString",value:function(){return this.value}}]),e}(),a.SuperMap.CartoCSS.Tree.Expression=function(){function e(t){u(this,e),this.is="expression",this.value=t}return o(e,[{key:"ev",value:function(e){return this.value.length>1?new a.SuperMap.CartoCSS.Tree.Expression(this.value.map(function(t){return t.ev(e)})):this.value[0].ev(e)}},{key:"toString",value:function(e){return this.value.map(function(t){return t.toString(e)}).join(" ")}}]),e}(),a.SuperMap.CartoCSS.Tree.Field=function(){function e(t){u(this,e),this.is="field",this.value=t||""}return o(e,[{key:"toString",value:function(){return'["'+this.value.toUpperCase()+'"]'}},{key:"ev",value:function(){return this}}]),e}(),a.SuperMap.CartoCSS.Tree.Filter=function(){function e(t,r,n,i,o){u(this,e),this.ops={"<":[" < ","numeric"],">":[" > ","numeric"],"=":[" = ","both"],"!=":[" != ","both"],"<=":[" <= ","numeric"],">=":[" >= ","numeric"],"=~":[".match(","string",")"]},this.key=t,this.op=r,this.val=n,this.index=i,this.filename=o,this.id=this.key+this.op+this.val}return o(e,[{key:"ev",value:function(e){return this.key=this.key.ev(e),this.val=this.val.ev(e),this}},{key:"toString",value:function(){return"["+this.id+"]"}}]),e}(),a.SuperMap.CartoCSS.Tree.Filterset=function(){function e(){u(this,e),this.filters={}}return o(e,[{key:"toJS",value:function(e){function t(e){var t=e.op;"="===t&&(t="==");var r=e.val;void 0!==e._val&&(r=e._val.toString(!0)),e.key&&"scale"===e.key.value?r=+r:"string"!=typeof r&&"object"!==(void 0===r?"undefined":i(r))||(r="'"+r+"'");var n="attributes";return n+"&&"+n+e.key+"&&"+n+e.key+" "+t+r}var r=[];for(var n in this.filters)r.push(t(this.filters[n]));return r.join(" && ")}},{key:"toString",value:function(){var e=[];for(var t in this.filters)e.push(this.filters[t].id);return e.sort().join("\t")}},{key:"ev",value:function(e){for(var t in this.filters)this.filters[t].ev(e);return this}},{key:"clone",value:function(){var e=new a.SuperMap.CartoCSS.Tree.Filterset;for(var t in this.filters)e.filters[t]=this.filters[t];return e}},{key:"cloneWith",value:function(e){var t=[];for(var r in e.filters){var n=this.addable(e.filters[r]);if(!1===n)return!1;!0===n&&t.push(e.filters[r])}if(!t.length)return null;var i=new a.SuperMap.CartoCSS.Tree.Filterset;for(r in this.filters)i.filters[r]=this.filters[r];for(;r=t.shift();)i.add(r);return i}},{key:"addable",value:function(e){var t=e.key.toString(),r=e.val.toString();switch(r.match(/^[0-9]+(\.[0-9]*)?$/)&&(r=parseFloat(r)),e.op){case"=":return void 0!==this.filters[t+"="]?this.filters[t+"="].val.toString()==r&&null:void 0===this.filters[t+"!="+r]&&(!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)&&!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val"]&&this.filters[t+">"].val>=r?null:void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val":return t+"="in this.filters?!(this.filters[t+"="].val<=r)&&null:!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r)&&(!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=r)&&(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)||null));case">=":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val"]&&this.filters[t+">"].val>=r?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=r)||null));case"<":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val>=r)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=r)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].valr)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=r)||null))}}},{key:"conflict",value:function(e){var t=e.key.toString(),r=e.val.toString();return isNaN(parseFloat(r))||(r=parseFloat(r)),("="===e.op&&void 0!==this.filters[t+"="]&&r!=this.filters[t+"="].val.toString()||"!="===e.op&&void 0!==this.filters[t+"="]&&r==this.filters[t+"="].val.toString()||"="===e.op&&void 0!==this.filters[t+"!="]&&r===this.filters[t+"!="].val.toString())&&e.toString()+" added to "+this.toString()+" produces an invalid filter"}},{key:"add",value:function(e,t){var r,n=e.key.toString(),i=e.op,o=this.conflict(e);if(o)return o;if("="===i){for(var a in this.filters)this.filters[a].key===n&&delete this.filters[a];this.filters[n+"="]=e}else if("!="===i)this.filters[n+"!="+e.val]=e;else if("=~"===i)this.filters[n+"=~"+e.val]=e;else if(">"===i){for(var s in this.filters)this.filters[s].key===n&&this.filters[s].val<=e.val&&delete this.filters[s];this.filters[n+">"]=e}else if(">="===i){for(var l in this.filters)r=+this.filters[l].val.toString(),this.filters[l].key===n&&r",this.filters[n+">"]=e):this.filters[n+">="]=e}else if("<"===i){for(var u in this.filters)r=+this.filters[u].val.toString(),this.filters[u].key===n&&r>=e.val&&delete this.filters[u];this.filters[n+"<"]=e}else if("<="===i){for(var c in this.filters)r=+this.filters[c].val.toString(),this.filters[c].key===n&&r>e.val&&delete this.filters[c];void 0!==this.filters[n+"!="+e.val]?(delete this.filters[n+"!="+e.val],e.op="<",this.filters[n+"<"]=e):this.filters[n+"<="]=e}}}]),e}(),a.SuperMap.CartoCSS.Tree.Fontset=function e(t,r){u(this,e),this.fonts=r,this.name="fontset-"+t.effects.length},a.SuperMap.CartoCSS.Tree.Invalid=function(){function e(t,r,n){u(this,e),this.is="invalid",this.chunk=t,this.index=r,this.type="syntax",this.message=n||"Invalid code: "+this.chunk}return o(e,[{key:"ev",value:function(e){return e.error({chunk:this.chunk,index:this.index,type:"syntax",message:this.message||"Invalid code: "+this.chunk}),{is:"undefined"}}}]),e}(),a.SuperMap.CartoCSS.Tree.Keyword=function(){function e(t){u(this,e),this.value=t;var r={transparent:"color",true:"boolean",false:"boolean"};this.is=r[t]?r[t]:"keyword"}return o(e,[{key:"ev",value:function(){return this}}]),o(e,[{key:"toString",value:function(){return this.value}}]),e}(),a.SuperMap.CartoCSS.Tree.Literal=function(){function e(t){u(this,e),this.value=t||"",this.is="field"}return o(e,[{key:"toString",value:function(){return this.value}},{key:"ev",value:function(){return this}}]),e}(),a.SuperMap.CartoCSS.Tree.Operation=function(){function e(t,r,n){u(this,e),this.is="operation",this.op=t.trim(),this.operands=r,this.index=n}return o(e,[{key:"ev",value:function(e){var t,r=this.operands[0].ev(e),n=this.operands[1].ev(e);return"undefined"===r.is||"undefined"===n.is?{is:"undefined",value:"undefined"}:(r instanceof a.SuperMap.CartoCSS.Tree.Dimension&&n instanceof a.SuperMap.CartoCSS.Tree.Color&&("*"===this.op||"+"===this.op?(t=n,n=r,r=t):e.error({name:"OperationError",message:"Can't substract or divide a color from a number",index:this.index})),r instanceof a.SuperMap.CartoCSS.Tree.Quoted&&n instanceof a.SuperMap.CartoCSS.Tree.Quoted&&"+"!==this.op?(e.error({message:"Can't subtract, divide, or multiply strings.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):r instanceof a.SuperMap.CartoCSS.Tree.Field||n instanceof a.SuperMap.CartoCSS.Tree.Field||r instanceof a.SuperMap.CartoCSS.Tree.Literal||n instanceof a.SuperMap.CartoCSS.Tree.Literal?"color"===r.is||"color"===n.is?(e.error({message:"Can't subtract, divide, or multiply colors in expressions.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):new a.SuperMap.CartoCSS.Tree.Literal(r.ev(e).toString(!0)+this.op+n.ev(e).toString(!0)):void 0===r.operate?(e.error({message:"Cannot do math with type "+r.is+".",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):r.operate(e,this.op,n))}}]),e}(),a.SuperMap.CartoCSS.Tree.Quoted=function(){function e(t){u(this,e),this.is="string",this.value=t||""}return o(e,[{key:"toString",value:function(e){var t=this.value.replace(/&/g,"&"),r=t.replace(/\'/g,"\\'").replace(/\"/g,""").replace(//g,">");return!0===e?"'"+r+"'":t}},{key:"ev",value:function(){return this}},{key:"operate",value:function(e,t,r){return new a.SuperMap.CartoCSS.Tree.Quoted(a.SuperMap.CartoCSS.Tree.operate(t,this.toString(),r.toString(this.contains_field)))}}]),e}(),a.SuperMap.CartoCSS.Tree.Reference={_validateValue:{font:function(e,t){return!e.validation_data||!e.validation_data.fonts||-1!=e.validation_data.fonts.indexOf(t)}},setData:function(e){this.data=e,this.selector_cache=function(e){var t={};for(var r in e.symbolizers)for(var n in e.symbolizers[r])e.symbolizers[r][n].hasOwnProperty("css")&&(t[e.symbolizers[r][n].css]=[e.symbolizers[r][n],r,n]);return t}(e),this.mapnikFunctions=function(e){var t={};for(var r in e.symbolizers)for(var n in e.symbolizers[r])if("functions"===e.symbolizers[r][n].type)for(var i=0;i1?Array.prototype.push.apply(r,n.find(new a.SuperMap.CartoCSS.Tree.Selector(null,null,e.elements.slice(1)),t)):r.push(n);break}}),this._lookups[n]=r)}},{key:"evZooms",value:function(e){for(var t=0;ta.SuperMap.CartoCSS.Tree.Zoom.maxZoom||t<0)&&e.error({message:"Only zoom levels between 0 and "+a.SuperMap.CartoCSS.Tree.Zoom.maxZoom+" supported.",index:this.index}),this.op){case"=":return this.zoom="zoom && zoom === "+t,this;case">":this.zoom="zoom && zoom > "+t;break;case">=":this.zoom="zoom && zoom >= "+t;break;case"<":this.zoom="zoom && zoom < "+t;break;case"<=":this.zoom="zoom && zoom <= "+t;break;default:return this}return this}},{key:"toString",value:function(){for(var e="",t=0;t<=a.SuperMap.CartoCSS.Tree.Zoom.maxZoom;t++)e+=this.zoom&1<t.geoFence.radius&&(t.outOfGeoFence&&t.outOfGeoFence(e),t.events.triggerEvent("outOfGeoFence",{data:e})),r})}},{key:"_distance",value:function(e,t,r,n){return Math.sqrt((e-r)*(e-r)+(t-n)*(t-n))}},{key:"_getMeterPerMapUnit",value:function(e){var t=void 0;return"meter"===e?t=1:"degree"===e&&(t=2*Math.PI*6378137/360),t}}]),e}();o.SuperMap.ElasticSearch=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElasticSearch=void 0;var n=r(427);t.ElasticSearch=n.ElasticSearch},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElasticSearch=void 0;var n=r(428);t.ElasticSearch=n.ElasticSearch},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenServiceParameter=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(1===i.length?r+="'displayFilter':\""+i[0]+'",':r+="'displayFilter':\""+i[s]+'",'),(a=e.displayOrderBy)&&a.length>0&&(1===a.length?r+="'displayOrderBy':'"+a[0]+"',":r+="'displayOrderBy':'"+a[s]+"',"),(t=e.fieldValuesDisplayFilter)&&(r+="'fieldValuesDisplayFilter':"+o.Util.toJSON(t)+","),e.joinItems&&e.joinItems.length>0&&e.joinItems[s]&&(r+="'joinItems':["+o.Util.toJSON(e.joinItems[s])+"],"),e.datasetNames&&e.dataSourceNames){var u=e.datasetNames[s]?s:e.datasetNames.length-1,c=e.dataSourceNames[s]?s:e.dataSourceNames.length-1;r+="'datasetInfo': {'name': '"+e.datasetNames[u]+"','dataSourceName': '"+e.dataSourceNames[c]+"'}},"}else r+="},"}e.themes&&e.themes.length>0&&(r=r.substring(0,r.length-1)),r+="]},";var p=this.url.split("/");return r+="'name': '"+p[p.length-2]+"'}]"}}]),t}();i.SuperMap.ThemeService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeLabelUniqueItem=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(n+='"subLayers":'+e.toJSON()),n+=',"visible":true,',n+='"name":"'+this.getMapName(this.mapUrl)+'"',n+="}]",t.request({method:"PUT",data:n,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}}},{key:"createTempLayerComplete",value:function(e){(e=o.Util.transformResult(e)).succeed&&(this.lastparams.resourceID=e.newResourceID),this.processAsync(this.lastparams)}},{key:"getMapName",value:function(e){var t=e;"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1));var r=t.lastIndexOf("/");return t.substring(r+1,t.length)}},{key:"serviceProcessCompleted",value:function(e){null!=(e=o.Util.transformResult(e))&&null!=this.lastparams&&(e.newResourceID=this.lastparams.resourceID),this.events.triggerEvent("processCompleted",{result:e})}}]),t}();i.SuperMap.SetLayerStatusService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetLayersInfoService=void 0;var n=function(){function e(e,t){for(var r=0;r=200&&e.code<300||0==e.code||304===e.code,r=e.code&&t;!e.code||r?this.events&&this.events.triggerEvent("processCompleted",{result:e}):this.events.triggerEvent("processFailed",{error:e})}}]),t}();i.SuperMap.MapService=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KernelDensityJobsService=void 0;var n=function(){function e(e,t){for(var r=0;r0?e[0].subLayers.layers:null)?t.length:0,this.handleLayers(r,t),this.events.triggerEvent("processCompleted",{result:e[0]})}},{key:"handleLayers",value:function(e,t){var r;if(e)for(var n=0;n0)this.handleLayers(t[n].subLayers.layers.length,t[n].subLayers.layers);else switch(t[n].ugcLayerType){case"THEME":(r=new s.ServerTheme).fromJson(t[n]),t[n]=r;break;case"GRID":(r=new l.Grid).fromJson(t[n]),t[n]=r;break;case"IMAGE":(r=new u.UGCImage).fromJson(t[n]),t[n]=r;break;case"VECTOR":(r=new c.Vector).fromJson(t[n]),t[n]=r}}}}]),t}();i.SuperMap.GetLayersInfoService=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetGridCellInfosService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(t+=","),t+='{"x":'+i[r].x+',"y":'+i[r].y+"}";o+=t+="]"}else if(1==e.isAnalyzeById){for(var a="[",s=e.nodes,l=s.length,u=0;u0&&(a+=","),a+=s[u];o+=a+="]"}return o}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.tspPathList)return null;var t=new s.GeoJSON;return e.tspPathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}]),t}();i.SuperMap.FindTSPPathsService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindServiceAreasService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.serviceAreaList)return e;var t=new l.GeoJSON;return e.serviceAreaList.map(function(e){return e.serviceRegion&&(e.serviceRegion=JSON.parse(t.write(e.serviceRegion))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e.routes&&(e.routes=JSON.parse(t.write(e.routes))),e}),e}}]),t}();i.SuperMap.FindServiceAreasService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindPathService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.pathList||e.pathList.length<1)return null;var t=new l.GeoJSON;return e.pathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}]),t}();i.SuperMap.FindPathService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindMTSPPathsService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.pathList)return null;var t=new l.GeoJSON;return e.pathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}]),t}();i.SuperMap.FindMTSPPathsService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindLocationService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(t+=","),t+=o.Util.toJSON(e[n]);return t+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e)return null;var t=new l.GeoJSON;return e.demandResults&&(e.demandResults=JSON.parse(t.write(e.demandResults))),e.supplyResults&&(e.supplyResults=JSON.parse(t.write(e.supplyResults))),e}}]),t}();i.SuperMap.FindLocationService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindClosestFacilitiesService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.facilityPathList)return e;var t=new a.GeoJSON;return e.facilityPathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}]),t}();i.SuperMap.FindClosestFacilitiesService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FieldStatisticService=void 0;var n=function(){function e(e,t){for(var r=0;r0){var t=JSON.parse(e.data);return e.filterParam=t,e.eventType="setFilterParamSuccessed",void this.events.triggerEvent("setFilterParamSuccessed",e)}var r=JSON.parse(e.data);e.featureResult=r,e.eventType="messageSuccessed",this.events.triggerEvent("messageSuccessed",e)}},{key:"_connect",value:function(e){return e=this._appendCredentials(e),"WebSocket"in window?new WebSocket(e):"MozWebSocket"in window?new(0,window.MozWebSocket)(e):(console.log("no WebSocket"),null)}},{key:"_appendCredentials",value:function(e){var t=s.SecurityManager.getToken(e);return t&&(e+="?token="+t),e}}]),t}();i.SuperMap.DataFlowService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComputeWeightMatrixService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}}]),t}();i.SuperMap.ComputeWeightMatrixService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChartQueryService=void 0;var n=function(){function e(e,t){for(var r=0;r599){if(l)return;return l=!0,void i(new TypeError("Network request failed"))}var t={status:e,statusText:a.statusText,headers:function(e){var t=new s;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var r=e.trim().split(":"),n=r.shift().trim(),i=r.join(":").trim();t.append(n,i)}),t}(a),url:"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0},r="response"in a?a.response:a.responseText;l||(l=!0,n(new y(r,t)))}}a.onreadystatechange=u,a.onload=u,a.onerror=function(){l||(l=!0,i(new TypeError("Network request failed")))},a.open(o.method,o.url,!0);try{"include"===o.credentials&&("withCredentials"in a?a.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(e){console&&console.warn&&console.warn("set withCredentials error:"+e)}"responseType"in a&&r.blob&&(a.responseType="blob"),o.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send(void 0===o._bodyInit?null:o._bodyInit)})},t.fetch.polyfill=!0,void 0!==e&&e.exports&&(e.exports=t.fetch)}function o(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function s(e){this.map={},e instanceof s?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function l(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function u(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function c(e){var t=new FileReader;return t.readAsArrayBuffer(e),u(t)}function p(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(r.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(r.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!r.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},r.blob?(this.blob=function(){var e=l(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(c)},this.text=function(){var e,t,r,n,i,o,a,s=l(this);if(s)return s;if(this._bodyBlob)return e=this._bodyBlob,t=this._options,r=new FileReader,n=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",i=/charset\=[0-9a-zA-Z\-\_]*;?/,o=e.type.match(i)||n.match(i),a=[e],o&&a.push(o[0].replace(/^charset\=/,"").replace(/;$/,"")),r.readAsText.apply(r,a),u(r);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=l(this);return e||Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(f)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(e,t){var r,i,o=(t=t||{}).body;if(h.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,o||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=(r=t.method||this.method||"GET",i=r.toUpperCase(),n.indexOf(i)>-1?i:r),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o,t)}function f(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof s?t.headers:new s(t.headers),this.url=t.url||""}}("undefined"!=typeof self?self:void 0)},function(e,t,r){"use strict";var n,i,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var u,c=[],p=!1,h=-1;function f(){p&&u&&(p=!1,u.length?c=u.concat(c):h=-1,c.length&&y())}function y(){if(!p){var e=l(f);p=!0;for(var t=c.length;t;){for(u=c,c=[];++h1)for(var r=1;r=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r(517),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||void 0,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||void 0}).call(this,r(127))},function(e,t,r){"use strict";(function(t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(n){var i=setTimeout;function o(){}function a(e){if("object"!==r(this))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],p(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,a._immediateFn(function(){var r=1===e._state?t.onFulfilled:t.onRejected;if(null!==r){var n;try{n=r(e._value)}catch(e){return void u(t.promise,e)}l(t.promise,n)}else(1===e._state?l:u)(t.promise,e._value)})):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":r(t))||"function"==typeof t)){var n=t.then;if(t instanceof a)return e._state=3,e._value=t,void c(e);if("function"==typeof n)return void p((i=n,o=t,function(){i.apply(o,arguments)}),e)}e._state=1,e._value=t,c(e)}catch(t){u(e,t)}var i,o}function u(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&a._immediateFn(function(){e._handled||a._unhandledRejectionFn(e._value)});for(var t=0,r=e._deferreds.length;t=e.endTime&&(e.currentTime=e.endTime)}}}]),t}();o.SuperMap.TimeFlowControl=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeFlowControl=t.TimeControlBase=t.LogoBase64=void 0;var n=r(304),i=r(303),o=r(523);t.LogoBase64=n.LogoBase64,t.TimeControlBase=i.TimeControlBase,t.TimeFlowControl=o.TimeFlowControl},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WKT=void 0;var n=function(){function e(e,t){for(var r=0;r0&&i.push(","),r=t[o].geometry,i.push(this.extractGeometry(r));return n&&i.push(")"),i.join("")}},{key:"extractGeometry",value:function(e){var t=e.CLASS_NAME.split(".")[2].toLowerCase();return this.extract[t]?("collection"===t?"GEOMETRYCOLLECTION":t.toUpperCase())+"("+this.extract[t].apply(this,[e])+")":null}}]),t}();i.SuperMap.Format.WKT=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WKT=t.GeoJSON=t.JSONFormat=t.Format=void 0;var n=r(129),i=r(17),o=r(128),a=r(525);t.Format=n.Format,t.JSONFormat=o.JSONFormat,t.GeoJSON=i.GeoJSON,t.WKT=a.WKT},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DateExt=void 0;var n=r(0);t.DateExt=n.SuperMap.Date={toISOString:function(){if("toISOString"in Date.prototype)return function(e){return e.toISOString()};var e=function(e,t){for(var r=e+"";r.length-1&&e%1==0&&e-1&&e%1==0&&e<=r}(e.length)&&!V(e)}function V(e){var t=q(e)?T.call(e):"";return t==i||t==n}function q(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var Y,X=(Y=function(e){return W(e)?k(e):G(e)},function(e){var t,r,s,i=H(e);return i==a?(t=e,r=-1,s=Array(t.size),t.forEach(function(e,t){s[++r]=[t,e]}),s):i==o?function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=[e,e]}),r}(e):p(e,Y(e))});e.exports=X}).call(this,r(3))},function(e,t){e.exports=function(){try{return elasticsearch}catch(e){return{}}}()},function(e,t,r){(function(t){!function(r){var s=setTimeout;function i(){}function n(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],u(e,this)}function a(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,n._immediateFn(function(){var r=1===e._state?t.onFulfilled:t.onRejected;if(null!==r){var s;try{s=r(e._value)}catch(e){return void l(t.promise,e)}o(t.promise,s)}else(1===e._state?o:l)(t.promise,e._value)})):e._deferreds.push(t)}function o(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var r=t.then;if(t instanceof n)return e._state=3,e._value=t,void h(e);if("function"==typeof r)return void u((s=r,i=t,function(){s.apply(i,arguments)}),e)}e._state=1,e._value=t,h(e)}catch(t){l(e,t)}var s,i}function l(e,t){e._state=2,e._value=t,h(e)}function h(e){2===e._state&&0===e._deferreds.length&&n._immediateFn(function(){e._handled||n._unhandledRejectionFn(e._value)});for(var t=0,r=e._deferreds.length;t0&&(r=parseFloat(e.toPrecision(t))),r},format:function(e,t,r,i){t=void 0!==t?t:0,r=void 0!==r?r:s.Number.thousandsSeparator,i=void 0!==i?i:s.Number.decimalSeparator,null!=t&&(e=parseFloat(e.toFixed(t)));var n=e.toString().split(".");1===n.length&&null==t&&(t=0);var a,o=n[0];if(r)for(var l=/(-?[0-9]+)([0-9]{3})/;l.test(o);)o=o.replace(l,"$1"+r+"$2");if(0==t)a=o;else{var h=n.length>1?n[1]:"0";null!=t&&(h+=new Array(t-h.length+1).join("0")),a=o+i+h}return a}};Number.prototype.limitSigDigs||(Number.prototype.limitSigDigs=function(e){return he.limitSigDigs(this,e)});var ue,ce,de,pe=s.Function={bind:function(e,t){var r=Array.prototype.slice.apply(arguments,[2]);return function(){var s=r.concat(Array.prototype.slice.apply(arguments,[0]));return e.apply(t,s)}},bindAsEventListener:function(e,t){return function(r){return e.call(t,r||window.event)}},False:function(){return!1},True:function(){return!0},Void:function(){}},me=(s.Array={filter:function(e,t,r){var s=[];if(Array.prototype.filter)s=e.filter(t,r);else{var i=e.length;if("function"!=typeof t)throw new TypeError;for(var n=0;n=0;r--)e[r]===t&&e.splice(r,1);return e},s.Util.indexOf=function(e,t){if(null==e)return-1;if("function"==typeof e.indexOf)return e.indexOf(t);for(var r=0,s=e.length;r=0&&parseFloat(o)<1?(e.style.filter="alpha(opacity="+100*o+")",e.style.opacity=o):1===parseFloat(o)&&(e.style.filter="",e.style.opacity="")},s.Util.applyDefaults=function(e,t){e=e||{};var r="function"==typeof window.Event&&t instanceof window.Event;for(var s in t)(void 0===e[s]||!r&&t.hasOwnProperty&&t.hasOwnProperty(s)&&!e.hasOwnProperty(s))&&(e[s]=t[s]);return!r&&t&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&!e.hasOwnProperty("toString")&&(e.toString=t.toString),e},s.Util.getParameterString=function(e){var t=[];for(var r in e){var s=e[r];if(null!=s&&"function"!=typeof s){var i;if("object"==typeof s&&s.constructor===Array){for(var n,a=[],o=0,l=s.length;o1?1/e:e},s.Util.getResolutionFromScale=function(e,t){var r;e&&(null==t&&(t="degrees"),r=1/(s.Util.normalizeScale(e)*s.INCHES_PER_UNIT[t]*s.DOTS_PER_INCH));return r},s.Util.getScaleFromResolution=function(e,t){return null==t&&(t="degrees"),e*s.INCHES_PER_UNIT[t]*s.DOTS_PER_INCH},s.IS_GECKO=-1===(ue=navigator.userAgent.toLowerCase()).indexOf("webkit")&&-1!==ue.indexOf("gecko"),s.Browser=function(){var e,t="",r="",s="pc",i=navigator.userAgent.toLowerCase();return i.indexOf("msie")>-1||i.indexOf("trident")>-1&&i.indexOf("rv")>-1?(t="msie",e=i.match(/msie ([\d.]+)/)||i.match(/rv:([\d.]+)/)):i.indexOf("chrome")>-1?(t="chrome",e=i.match(/chrome\/([\d.]+)/)):i.indexOf("firefox")>-1?(t="firefox",e=i.match(/firefox\/([\d.]+)/)):i.indexOf("opera")>-1?(t="opera",e=i.match(/version\/([\d.]+)/)):i.indexOf("safari")>-1&&(t="safari",e=i.match(/version\/([\d.]+)/)),r=e?e[1]:"",i.indexOf("ipad")>-1||i.indexOf("ipod")>-1||i.indexOf("iphone")>-1?s="apple":i.indexOf("android")>-1&&(r=(e=i.match(/version\/([\d.]+)/))?e[1]:"",s="android"),{name:t,version:r,device:s}}(),s.Util.getBrowser=function(){return s.Browser},s.Util.isSupportCanvas=(ce=!0,de=s.Util.getBrowser(),document.createElement("canvas").getContext?("firefox"===de.name&&parseFloat(de.version)<5&&(ce=!1),"safari"===de.name&&parseFloat(de.version)<4&&(ce=!1),"opera"===de.name&&parseFloat(de.version)<10&&(ce=!1),"msie"===de.name&&parseFloat(de.version)<9&&(ce=!1)):ce=!1,ce),s.Util.supportCanvas=function(){return s.Util.isSupportCanvas},s.INCHES_PER_UNIT.degree=s.INCHES_PER_UNIT.dd,s.INCHES_PER_UNIT.meter=s.INCHES_PER_UNIT.m,s.INCHES_PER_UNIT.foot=s.INCHES_PER_UNIT.ft,s.INCHES_PER_UNIT.inch=s.INCHES_PER_UNIT.inches,s.INCHES_PER_UNIT.mile=s.INCHES_PER_UNIT.mi,s.INCHES_PER_UNIT.kilometer=s.INCHES_PER_UNIT.km,s.INCHES_PER_UNIT.yard=s.INCHES_PER_UNIT.yd,s.Util.isInTheSameDomain=function(e){if(!e)return!0;var t=e.indexOf("//"),r=document.location.toString(),s=r.indexOf("//");if(-1===t)return!0;var i,n=i=e.substring(0,t),a=r.substring(s+2);s=a.indexOf("/");var o=a.indexOf(":"),l=a.substring(0,s),h=document.location.protocol;if(-1!==o||(l+=":"+("http:"===h.toLowerCase()?80:443)),h.toLowerCase()!==n.toLowerCase())return!1;var u=(n=e.substring(t+2)).indexOf(":");t=n.indexOf("/");var c,d=n.substring(0,t);return-1!==u?c=n.substring(0,u):(c=n.substring(0,t),d+=":"+("http:"===i.toLowerCase()?80:443)),c===document.domain&&d===l},s.Util.calculateDpi=function(e,t,r,s,i){if(e&&t&&r){var n,a=e.getWidth(),o=e.getHeight(),l=t.w,h=t.h;if(i=i||6378137,"degree"===(s=s||"degrees").toLowerCase()||"degrees"===s.toLowerCase()||"dd"===s.toLowerCase()){let e=a/l,t=o/h;n=254/(e>t?e:t)/r/(2*Math.PI*i/360)/1e4}else{n=254/(a/l)/r/1e4}return n}},s.Util.toJSON=function(e){var t=e;if(null==t)return null;switch(t.constructor){case String:return t=(t=(t=(t=(t=(t=(t='"'+t.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var r=[],i=0,n=t.length;i0?"{"+e.join(",")+"}":"{}"}return t.toString()}},s.Util.getResolutionFromScaleDpi=function(e,t,r,i){return i=i||6378137,r=r||"",e>0&&t>0?(e=s.Util.normalizeScale(e),"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*i/360)/1e4:254/t/e/1e4):-1},s.Util.getScaleFromResolutionDpi=function(e,t,r,s){return s=s||6378137,r=r||"",e>0&&t>0?"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*s/360)/1e4:254/t/e/1e4:-1},s.Util.transformResult=function(e){return e.responseText&&"string"==typeof e.responseText&&(e=JSON.parse(e.responseText)),e},s.Util.copyAttributes=function(e,t){if(e=e||{},t)for(var r in t){var s=t[r];void 0!==s&&"CLASS_NAME"!==r&&"function"!=typeof s&&(e[r]=s)}return e},s.Util.copyAttributesWithClip=function(e,t,r){if(e=e||{},t)for(var s in t){var i=!1;if(r&&r.length)for(var n=0,a=r.length;n=0&&a<=1&&n<=1&&a>=0?new s.Geometry.Point(e.x+n*(t.x-e.x),e.y+n*(t.y-e.y)):"No Intersection";else if(0==l&&0==h){var c=Math.max(e.y,t.y),d=Math.min(e.y,t.y),p=Math.max(e.x,t.x),m=Math.min(e.x,t.x);o=(r.y>=d&&r.y<=c||i.y>=d&&i.y<=c)&&r.x>=m&&r.x<=p||i.x>=m&&i.x<=p?"Coincident":"Parallel"}else o="Parallel";return o},s.Util.getTextBounds=function(e,t,r){document.body.appendChild(r),r.style.width="auto",r.style.height="auto",e.fontSize&&(r.style.fontSize=e.fontSize),e.fontFamily&&(r.style.fontFamily=e.fontFamily),e.fontWeight&&(r.style.fontWeight=e.fontWeight),r.style.position="relative",r.style.visibility="hidden",r.style.display="inline-block",r.innerHTML=t;var s=r.clientWidth,i=r.clientHeight;return document.body.removeChild(r),{textWidth:s,textHeight:i}};class fe{constructor(e,t){me.isArray(e)&&(t=e[1],e=e[0]),this.lon=e?me.toFloat(e):0,this.lat=t?me.toFloat(t):0,this.CLASS_NAME="SuperMap.LonLat"}toString(){return"lon="+this.lon+",lat="+this.lat}toShortString(){return this.lon+","+this.lat}clone(){return new fe(this.lon,this.lat)}add(e,t){if(null==e||null==t)throw new TypeError("LonLat.add cannot receive null values");return new fe(this.lon+me.toFloat(e),this.lat+me.toFloat(t))}equals(e){var t=!1;return null!=e&&(t=this.lon===e.lon&&this.lat===e.lat||isNaN(this.lon)&&isNaN(this.lat)&&isNaN(e.lon)&&isNaN(e.lat)),t}wrapDateLine(e){var t=this.clone();if(e){for(;t.lone.right;)t.lon-=e.getWidth()}return t}destroy(){this.lon=null,this.lat=null}static fromString(e){var t=e.split(",");return new fe(t[0],t[1])}static fromArray(e){var t=me.isArray(e),r=t&&e[0],s=t&&e[1];return new fe(r,s)}}class ye{constructor(e,t,r,s){me.isArray(e)&&(s=e[3],r=e[2],t=e[1],e=e[0]),this.left=null!=e?me.toFloat(e):this.left,this.bottom=null!=t?me.toFloat(t):this.bottom,this.right=null!=r?me.toFloat(r):this.right,this.top=null!=s?me.toFloat(s):this.top,this.centerLonLat=null,this.CLASS_NAME="SuperMap.Bounds"}clone(){return new ye(this.left,this.bottom,this.right,this.top)}equals(e){var t=!1;return null!=e&&(t=this.left===e.left&&this.right===e.right&&this.top===e.top&&this.bottom===e.bottom),t}toString(){return[this.left,this.bottom,this.right,this.top].join(",")}toArray(e){return!0===e?[this.bottom,this.left,this.top,this.right]:[this.left,this.bottom,this.right,this.top]}toBBOX(e,t){null==e&&(e=6);var r=Math.pow(10,e),s=Math.round(this.left*r)/r,i=Math.round(this.bottom*r)/r,n=Math.round(this.right*r)/r,a=Math.round(this.top*r)/r;return!0===t?i+","+s+","+a+","+n:s+","+i+","+n+","+a}getWidth(){return this.right-this.left}getHeight(){return this.top-this.bottom}getSize(){return new ae(this.getWidth(),this.getHeight())}getCenterPixel(){return new oe((this.left+this.right)/2,(this.bottom+this.top)/2)}getCenterLonLat(){return this.centerLonLat||(this.centerLonLat=new fe((this.left+this.right)/2,(this.bottom+this.top)/2)),this.centerLonLat}scale(e,t){var r,s;e=e||1,null==t&&(t=this.getCenterLonLat()),"SuperMap.LonLat"===t.CLASS_NAME?(r=t.lon,s=t.lat):(r=t.x,s=t.y);var i=(this.left-r)*e+r,n=(this.bottom-s)*e+s,a=(this.right-r)*e+r,o=(this.top-s)*e+s;return new ye(i,n,a,o)}add(e,t){if(null==e||null==t)throw new TypeError("Bounds.add cannot receive null values");return new ye(this.left+e,this.bottom+t,this.right+e,this.top+t)}extend(e){var t=null;if(e){switch(e.CLASS_NAME){case"SuperMap.LonLat":t=new ye(e.lon,e.lat,e.lon,e.lat);break;case"SuperMap.Geometry.Point":t=new ye(e.x,e.y,e.x,e.y);break;case"SuperMap.Bounds":t=e}t&&(this.centerLonLat=null,(null==this.left||t.leftthis.right)&&(this.right=t.right),(null==this.top||t.top>this.top)&&(this.top=t.top))}}containsLonLat(e,t){"boolean"==typeof t&&(t={inclusive:t}),t=t||{};var r=this.contains(e.lon,e.lat,t.inclusive),s=t.worldBounds;if(s&&!r){var i=s.getWidth(),n=(s.left+s.right)/2,a=Math.round((e.lon-n)/i);r=this.containsLonLat({lon:e.lon-a*i,lat:e.lat},{inclusive:t.inclusive})}return r}containsPixel(e,t){return this.contains(e.x,e.y,t)}contains(e,t,r){if(null==r&&(r=!0),null==e||null==t)return!1;e=me.toFloat(e),t=me.toFloat(t);return r?e>=this.left&&e<=this.right&&t>=this.bottom&&t<=this.top:e>this.left&&ethis.bottom&&t=r.bottom&&e.bottom<=r.top||r.bottom>=e.bottom&&r.bottom<=e.top,a=e.top>=r.bottom&&e.top<=r.top||r.top>e.bottom&&r.top=r.left&&e.left<=r.right||r.left>=e.left&&r.left<=e.right,l=e.right>=r.left&&e.right<=r.right||r.right>=e.left&&r.right<=e.right;s=(n||a)&&(o||l)}if(t.worldBounds&&!s){var h=t.worldBounds,u=h.getWidth(),c=!h.containsBounds(r),d=!h.containsBounds(e);c&&!d?(e=e.add(-u,0),s=r.intersectsBounds(e,{inclusive:t.inclusive})):d&&!c&&(r=r.add(-u,0),s=e.intersectsBounds(r,{inclusive:t.inclusive}))}return s}containsBounds(e,t,r){null==t&&(t=!1),null==r&&(r=!0);var s=this.contains(e.left,e.bottom,r),i=this.contains(e.right,e.bottom,r),n=this.contains(e.left,e.top,r),a=this.contains(e.right,e.top,r);return t?s||i||n||a:s&&i&&n&&a}determineQuadrant(e){var t="",r=this.getCenterLonLat();return t+=e.lat=e.right&&i.right>e.right;)i=i.add(-n,0);var a=i.left+r;ae.left&&i.right-s>e.right&&(i=i.add(-n,0))}return i}toServerJSONObject(){return{rightTop:{x:this.right,y:this.top},leftBottom:{x:this.left,y:this.bottom},left:this.left,right:this.right,top:this.top,bottom:this.bottom}}destroy(){this.left=null,this.right=null,this.top=null,this.bottom=null,this.centerLonLat=null}static fromString(e,t){var r=e.split(",");return ye.fromArray(r,t)}static fromArray(e,t){return!0===t?new ye(e[1],e[0],e[3],e[2]):new ye(e[0],e[1],e[2],e[3])}static fromSize(e){return new ye(0,e.h,e.w,0)}static oppositeQuadrant(e){var t="";return t+="t"===e.charAt(0)?"b":"t",t+="l"===e.charAt(1)?"r":"l"}}s.Bounds=ye;class ge{constructor(){this.CLASS_NAME="SuperMap.Geometry",this.id=me.createUniqueID(this.CLASS_NAME+"_"),this.parent=null,this.bounds=null,this.SRID=null}destroy(){this.id=null,this.bounds=null,this.SRID=null}clone(){return new ge}setBounds(e){e&&(this.bounds=e.clone())}clearBounds(){this.bounds=null,this.parent&&this.parent.clearBounds()}extendBounds(e){this.getBounds()?this.bounds.extend(e):this.setBounds(e)}getBounds(){return null==this.bounds&&this.calculateBounds(),this.bounds}calculateBounds(){}getVertices(e){}getArea(){return 0}}s.Geometry=ge;class ve extends ge{constructor(e){super(),this.components=[],this.componentTypes=null,null!=e&&this.addComponents(e),this.CLASS_NAME="SuperMap.Geometry.Collection"}destroy(){this.components.length=0,this.components=null,super.destroy()}clone(){for(var e=new ve,t=0,r=this.components.length;t-1)){if(null!=t&&t=0;--r)t=this.removeComponent(e[r])||t;return t}removeComponent(e){return me.removeItem(this.components,e),this.clearBounds(),!0}getArea(){for(var e=0,t=0,r=this.components.length;t2;return t&&super.removeComponent.apply(this,arguments),t}getSortedSegments(){for(var e,t,r=this.components.length-1,s=new Array(r),i=0;i=1?1:g)<=-1?-1:g,u=180*Math.acos(g)/Math.PI,a=(u=i.x==r.x?t.x>r.x&&s.x>r.x||t.xd*t.x+p&&s.y>d*s.x+p||t.yr.y?s.xr.x&&(o=!1):i.xd*s.x+p&&(o=!1):i.x>r.x?s.y>r.y&&(o=!1):s.y=0?180*Math.atan(v)/Math.PI:Math.abs(180*Math.atan(v)/Math.PI)+90,b=Math.abs(t.y);r.y==b&&b==i.y&&r.x=0?v>=0?h+=l:h=180-(h-90)+l:h=v>0?h-180+l:90-h+l:x>=0?v>=0?h-=l:h=180-(h-90)-l:h=v>=0?h-180-l:90-h-l,h=h*Math.PI/180;var T=t.x+n*Math.cos(h),E=t.y+n*Math.sin(h);c.push(new xe(T,E))}c.push(i)}return c}static createLineEPS(e){var t=[],r=e.length;if(null==e||r<2)return e;for(var s=0;s1&&(r=parseFloat(r)*h),s.labelAlign&&"cm"!==s.labelAlign)switch(s.labelAlign){case"lt":l.x+=t/2,l.y+=r/2;break;case"lm":l.x+=t/2;break;case"lb":l.x+=t/2,l.y-=r/2;break;case"ct":l.y+=r/2;break;case"cb":l.y-=r/2;break;case"rt":l.x-=t/2,l.y+=r/2;break;case"rm":l.x-=t/2;break;case"rb":l.x-=t/2,l.y-=r/2}return this.bsInfo.h=r,this.bsInfo.w=t,i=l.x-parseFloat(t)/2,n=l.y+parseFloat(r)/2,o=l.x+parseFloat(t)/2,a=l.y-parseFloat(r)/2,new ye(i,n,o,a)}getLabelPxBoundsByText(e,t){var r,s,i,n,a=this.getLabelPxSize(t),o=me.cloneObject(e);if(t.labelAlign&&"cm"!==t.labelAlign)switch(t.labelAlign){case"lt":o.x+=a.w/2,o.y+=a.h/2;break;case"lm":o.x+=a.w/2;break;case"lb":o.x+=a.w/2,o.y-=a.h/2;break;case"ct":o.y+=a.h/2;break;case"cb":o.y-=a.h/2;break;case"rt":o.x-=a.w/2,o.y+=a.h/2;break;case"rm":o.x-=a.w/2;break;case"rb":o.x-=a.w/2,o.y-=a.h/2}return this.bsInfo.h=a.h,this.bsInfo.w=a.w,r=o.x-a.w/2,s=o.y+a.h/2,n=t.fontStyle&&"italic"===t.fontStyle?o.x+a.w/2+parseInt(parseFloat(t.fontSize)/2):o.x+a.w/2,i=o.y-a.h/2,new ye(r,s,n,i)}getLabelPxSize(e){var t,r,s,i,n=parseFloat(e.strokeWidth);t=e.label||this.text,r=e.fontSize?parseFloat(e.fontSize):parseFloat("12px");var a=t.split("\n"),o=a.length;i=o>1?r*o+o+n+.2*r:r+n+.2*r+1,s=0,this.labelWTmp&&s255?r++:s++;return t.cnC=r,t.enC=s,t.textC=e.length,t}}s.Geometry.GeoText=Te;class Ee extends Ce{constructor(e){super(e),this.componentTypes=["SuperMap.Geometry.Point"],this.CLASS_NAME="SuperMap.Geometry.LinearRing"}addComponent(e,t){var r=!1,s=this.components.pop();null==t&&e.equals(s)||(r=super.addComponent.apply(this,arguments));var i=this.components[0];return super.addComponent.apply(this,[i]),r}removeComponent(e){var t=this.components&&this.components.length>3;if(t){this.components.pop(),super.removeComponent.apply(this,arguments);var r=this.components[0];super.addComponent.apply(this,[r])}return t}getArea(){var e=0;if(this.components&&this.components.length>2){for(var t=0,r=0,s=this.components.length;r0){e+=Math.abs(this.components[0].getArea());for(var t=1,r=this.components.length;t1},isLeftClick:function(e){return e.which&&1===e.which||e.button&&1===e.button},isRightClick:function(e){return e.which&&3===e.which||e.button&&2===e.button},stop:function(e,t){t||(e.preventDefault?e.preventDefault():e.returnValue=!1),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},findElement:function(e,t){for(var r=s.Event.element(e);r.parentNode&&(!r.tagName||r.tagName.toUpperCase()!=t.toUpperCase());)r=r.parentNode;return r},observe:function(e,t,r,s){var i=me.getElement(e);if(s=s||!1,"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||i.attachEvent)&&(t="keydown"),this.observers||(this.observers={}),!i._eventCacheID){var n="eventCacheID_";i.id&&(n=i.id+"_"+n),i._eventCacheID=me.createUniqueID(n)}var a=i._eventCacheID;this.observers[a]||(this.observers[a]=[]),this.observers[a].push({element:i,name:t,observer:r,useCapture:s}),i.addEventListener?i.addEventListener(t,r,s):i.attachEvent&&i.attachEvent("on"+t,r)},stopObservingElement:function(e){var t=me.getElement(e)._eventCacheID;this._removeElementObservers(s.Event.observers[t])},_removeElementObservers:function(e){if(e)for(var t=e.length-1;t>=0;t--){var r=e[t],i=new Array(r.element,r.name,r.observer,r.useCapture);s.Event.stopObserving.apply(this,i)}},stopObserving:function(e,t,r,i){i=i||!1;var n=me.getElement(e),a=n._eventCacheID;"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||n.detachEvent)&&(t="keydown");var o=!1,l=s.Event.observers[a];if(l)for(var h=0;!o&&h0&&r.push(","),r.push(this.writeNewline(),this.writeIndent(),t));return this.level-=1,r.push(this.writeNewline(),this.writeIndent(),"]"),r.join("")},string:function(e){var t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return/["\\\x00-\x1f]/.test(e)?'"'+e.replace(/([\x00-\x1f\\"])/g,function(e,r){var s=t[r];return s||(s=r.charCodeAt(),"\\u00"+Math.floor(s/16).toString(16)+(s%16).toString(16))})+'"':'"'+e+'"'},number:function(e){return isFinite(e)?String(e):"null"},boolean:function(e){return String(e)},date:function(e){function t(e){return e<10?"0"+e:e}return'"'+e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+"T"+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds())+'"'}}}read(e,t){var r;if(this.nativeJSON)try{r=JSON.parse(e,t)}catch(e){}return this.keepData&&(this.data=r),r}write(e,t){this.pretty=!!t;var r=null,s=typeof e;if(this.serialize[s])try{r=!this.pretty&&this.nativeJSON?JSON.stringify(e):this.serialize[s].apply(this,[e])}catch(e){}return r}writeIndent(){var e=[];if(this.pretty)for(var t=0;t-1||(t[s]=e[s]);return t}toGeometry(e){var t=this,r=e.type;switch("polygon"===r&&(r=a.REGION),r.toUpperCase()){case a.POINT:return t.toGeoPoint(e);case a.LINE:return t.toGeoLine(e);case a.LINEM:return t.toGeoLinem(e);case a.REGION:return t.toGeoRegion(e);case a.RECTANGLE:return t.toGeoRectangle(e);case a.POINTEPS:return t.toGeoPoint(e);default:return e}}toGeoPoint(e){var t=e.points||[{x:e.x,y:e.y}],r=(e.parts||[t.length]).length;if(r<1)return null;if(1===r)return{type:"Point",x:parseFloat(t[0].x),y:parseFloat(t[0].y)};for(var s=0,i=[];s0?t.push(u):n.push([u]),a===i-1){var c=n.length;if(c)n[c-1]=n[c-1].concat(t);else for(var d=0,p=t.length;d0&&i.push(","),r=t[n].geometry,i.push(this.extractGeometry(r));return s&&i.push(")"),i.join("")}extractGeometry(e){var t=e.CLASS_NAME.split(".")[2].toLowerCase();return this.extract[t]?("collection"===t?"GEOMETRYCOLLECTION":t.toUpperCase())+"("+this.extract[t].apply(this,[e])+")":null}};var ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAAdCAYAAAAjHtusAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozYWZlOGIwMi01MWE3LTRiZjYtYWVkYS05MGQ2ZTQ4YjZiMmUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODg0NkFBQUE3RjEzMTFFNzh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6wj29vCW4hfLOzo8J3rltYX50nXQAATSf/K4DEaGlTLvplsk/QCpoD60EQ7gLYZc8H9wq+I3yncEOEcNhuz6HWf3XEiwU/4Y8YEqVp2P10rt+8REvBGw026i4aDcbL9jF8r8Blmf4fCOzhViiscskygXRdehf3CO4hfigmTBXyQrl8TFtD1IzQX3CbcQrY3hPcRv4z8OmHPXwchVNln2MmE7BX6VwIFi/he6uxvb6JM3m0fdqvx/ATidxg2JeC7VDErAw5NzGfvwRJVheEIQ8Mg/pdwIM+UOmi9Q8ivCsrIy0tF+wVbEcLrd3Pb2XisEb4Tdlhsi4WP4RBbaLGrHfC3PrvMIezy9rTpGm5lz9LOMG15xvFxD/j5gjzjjDbMOzk+9zzt3v5bgAEAibzFeFHVgYkAAAAASUVORK5CYII=";class Be{constructor(e){var t=this;e=e||{},this.speed=e.speed&&e.speed>=0?e.speed:1,this.frequency=e.speed&&e.frequency>=0?e.frequency:1e3,this.startTime=e.startTime&&null!=e.startTime?e.startTime:0,this.endTime=e.endTime&&null!=e.endTime&&e.endTime>=t.startTime?e.endTime:+new Date,this.repeat=void 0===e.repeat||e.repeat,this.reverse=void 0!==e.reverse&&e.reverse,this.currentTime=null,this.oldTime=null,this.running=!1,this.EVENT_TYPES=["start","pause","stop"],t.events=new Me(this,null,this.EVENT_TYPES),t.speed=Number(t.speed),t.frequency=Number(t.frequency),t.startTime=Number(t.startTime),t.endTime=Number(t.endTime),t.startTime=Date.parse(new Date(t.startTime)),t.endTime=Date.parse(new Date(t.endTime)),t.currentTime=t.startTime,this.CLASS_NAME="SuperMap.TimeControlBase"}updateOptions(e){var t=this;(e=e||{}).speed&&e.speed>=0&&(t.speed=e.speed,t.speed=Number(t.speed)),e.speed&&e.frequency>=0&&(t.frequency=e.frequency,t.frequency=Number(t.frequency)),e.startTime&&null!=e.startTime&&(t.startTime=e.startTime,t.startTime=Date.parse(new Date(t.startTime))),e.endTime&&null!=e.endTime&&e.endTime>=t.startTime&&(t.endTime=e.endTime,t.endTime=Date.parse(new Date(t.endTime))),null!=e.repeat&&(t.repeat=e.repeat),null!=e.reverse&&(t.reverse=e.reverse)}start(){var e=this;e.running||(e.running=!0,e.tick(),e.events.triggerEvent("start",e.currentTime))}pause(){this.running=!1,this.events.triggerEvent("pause",this.currentTime)}stop(){var e=this;e.currentTime=e.startTime,e.running&&(e.running=!1),e.events.triggerEvent("stop",e.currentTime)}toggle(){this.running?this.pause():this.start()}setSpeed(e){return e>=0&&(this.speed=e,!0)}getSpeed(){return this.speed}setFrequency(e){return e>=0&&(this.frequency=e,!0)}getFrequency(){return this.frequency}setStartTime(e){var t=this;return!((e=Date.parse(new Date(e)))>t.endTime)&&(t.startTime=e,t.currentTime=t.endTime&&(t.currentTime=t.startTime,t.tick()),!0)}getEndTime(){return this.endTime}setCurrentTime(e){var t=this;return t.currentTime=Date.parse(new Date(t.currentTime)),e>=t.startTime&&e<=t.endTime&&(t.currentTime=e,t.startTime=t.currentTime,t.tick(),!0)}getCurrentTime(){return this.currentTime}setRepeat(e){this.repeat=e}getRepeat(){return this.repeat}setReverse(e){this.reverse=e}getReverse(){return this.reverse}getRunning(){return this.running}destroy(){var e=this;e.speed=null,e.frequency=null,e.startTime=null,e.endTime=null,e.currentTime=null,e.repeat=null,e.running=!1,e.reverse=null}tick(){}}s.TimeControlBase=Be;class Ge extends Be{constructor(e,t){super(t);var r=this;r.callback=e,Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),r=this,s=function(){},i=function(){return r.apply(this instanceof s&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return s.prototype=this.prototype,i.prototype=new s,i}),r.update=r.update.bind(r),r.oldTime=r.currentTime,r.CLASS_NAME="SuperMap.TimeFlowControl"}updateOptions(e){e=e||{},super.updateOptions(e)}start(){var e=this;e.running||(e.running=!0,e.reverse?e.currentTime===e.startTime&&(e.oldTime=e.endTime,e.currentTime=e.oldTime):e.oldTime===e.endTime&&(e.currentTime=e.startTime,e.oldTime=e.currentTime),e.tick())}stop(){super.stop();var e=this;e.oldTime=e.currentTime,e.running&&(e.running=!1),e.intervalId&&window.clearTimeout(e.intervalId)}destroy(){super.destroy();this.oldTime=null,this.callback=null}tick(){var e=this;e.intervalId&&window.clearInterval(e.intervalId),e.intervalId=null,e.update(),e.intervalId=window.setInterval(e.update,e.frequency)}update(){var e=this;if(e.running)if(e.callback&&e.callback(e.currentTime),e.reverse){if(e.currentTime===e.startTime){if(!e.repeat)return e.running=!1,null;e.oldTime=e.endTime,e.currentTime=e.oldTime}else e.currentTime=e.oldTime,e.oldTime-=e.speed;e.oldTime<=e.startTime&&(e.oldTime=e.startTime)}else{if(e.currentTime===e.endTime){if(!e.repeat)return e.running=!1,e.stop(),null;e.stop(),e.currentTime=e.startTime,e.oldTime=e.currentTime,e.start()}else e.oldTime=e.currentTime,e.currentTime+=e.speed;e.currentTime>=e.endTime&&(e.currentTime=e.endTime)}}}s.TimeFlowControl=Ge;var Ue=r(7),He=r.n(Ue);window.Promise=He.a;r(9);var je=r(4),Je=r.n(je);const ze=window.fetch;s.setCORS=function(e){s.CORS=e};var We=s.isCORS=function(){return void 0!=s.CORS?s.CORS:window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest},Ve=(s.setRequestTimeout=function(e){return s.RequestTimeout=e},s.getRequestTimeout=function(){return s.RequestTimeout||45e3}),qe=s.FetchRequest={commit:function(e,t,r,s){switch(e=e?e.toUpperCase():e){case"GET":return this.get(t,r,s);case"POST":return this.post(t,r,s);case"PUT":return this.put(t,r,s);case"DELETE":return this.delete(t,r,s);default:return this.get(t,r,s)}},supportDirectRequest:function(e,t){return me.isInTheSameDomain(e)||We()||t.proxy},get:function(e,t,r){r=r||{};if(e=this._processUrl(e,r),e=me.urlAppend(e,this._getParameterString(t||{})),!this.supportDirectRequest(e,r)){var i={url:e=e.replace(".json",".jsonp"),data:t};return s.Util.RequestJSONPPromise.GET(i)}return this.urlIsLong(e)?this._postSimulatie("GET",e.substring(0,e.indexOf("?")-1),t,r):this._fetch(e,t,r,"GET")},delete:function(e,t,r){r=r||{};if(e=this._processUrl(e,r),e=me.urlAppend(e,this._getParameterString(t||{})),!this.supportDirectRequest(e,r)){e=e.replace(".json",".jsonp");var i={url:e+="&_method=DELETE",data:t};return s.Util.RequestJSONPPromise.DELETE(i)}return this.urlIsLong(e)?this._postSimulatie("DELETE",e.substring(0,e.indexOf("?")-1),t,r):this._fetch(e,t,r,"DELETE")},post:function(e,t,r){if(r=r||{},!this.supportDirectRequest(e,r)){e=e.replace(".json",".jsonp");var i={url:e+="&_method=POST",data:t};return s.Util.RequestJSONPPromise.POST(i)}return this._fetch(this._processUrl(e,r),t,r,"POST")},put:function(e,t,r){if(r=r||{},e=this._processUrl(e,r),!this.supportDirectRequest(e,r)){e=e.replace(".json",".jsonp");var i={url:e+="&_method=PUT",data:t};return s.Util.RequestJSONPPromise.DELETE(i)}return this._fetch(e,t,r,"PUT")},urlIsLong:function(e){for(var t=0,r=null,s=0,i=e.length;s-1?"&":"?")+"_method="+e,"string"!=typeof r&&(r=JSON.stringify(r)),this.post(t,r,s)},_processUrl:function(e,t){if(this._isMVTRequest(e))return e;if(-1===e.indexOf(".json")&&!t.withoutFormatSuffix)if(e.indexOf("?")<0)e+=".json";else{var r=e.split("?");2===r.length&&(e=r[0]+".json?"+r[1])}return t&&t.proxy&&("function"==typeof t.proxy?e=t.proxy(e):(e=decodeURIComponent(e),e=t.proxy+encodeURIComponent(e))),e},_fetch:function(e,t,r,s){return(r=r||{}).headers=r.headers||{},r.headers["Content-Type"]||(r.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8"),r.timeout?this._timeout(r.timeout,ze(e,{method:s,headers:r.headers,body:"PUT"===s||"POST"===s?t:void 0,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:Ve()}).then(function(e){return e})):ze(e,{method:s,body:"PUT"===s||"POST"===s?t:void 0,headers:r.headers,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:Ve()}).then(function(e){return e})},_fetchJsonp:function(e,t){return t=t||{},Je()(e,{method:"GET",timeout:t.timeout}).then(function(e){return e})},_timeout:function(e,t){return new Promise(function(r,s){setTimeout(function(){s(new Error("timeout"))},e),t.then(r,s)})},_getParameterString:function(e){var t=[];for(var r in e){var s=e[r];if(null!=s&&"function"!=typeof s){var i;if("object"==typeof s&&s.constructor===Array){for(var n,a=[],o=0,l=s.length;o-1||e.indexOf(".pbf")>-1}};s.Util.RequestJSONPPromise={limitLength:1500,queryKeys:[],queryValues:[],supermap_callbacks:{},addQueryStrings:function(e){for(var t in e){this.queryKeys.push(t),"string"!=typeof e[t]&&(e[t]=s.Util.toJSON(e[t]));var r=encodeURIComponent(e[t]);this.queryValues.push(r)}},issue:function(e){for(var t=this,r=t.getUid(),s=e.url,i=[],n=new Promise(function(e){t.supermap_callbacks[r]=function(s){delete t.supermap_callbacks[r],e(s)}}),a=s,o=0,l=t.queryKeys?t.queryKeys.length:0,h=0;h=t.limitLength){if(0==o)return!1;i.push(a),a=s,o=0,h--}else if(a.length+t.queryKeys[h].length+2+t.queryValues[h].length>t.limitLength)for(var u=t.queryValues[h];u.length>0;){var c=t.limitLength-a.length-t.queryKeys[h].length-2;a.indexOf("?")>-1?a+="&":a+="?";var d=u.substring(0,c);"%"===d.substring(c-1,c)?(c-=1,d=u.substring(0,c)):"%"===d.substring(c-2,c-1)&&(c-=2,d=u.substring(0,c)),a+=t.queryKeys[h]+"="+d,u=u.substring(c),d.length>0&&(i.push(a),a=s,o=0)}else o++,a.indexOf("?")>-1?a+="&":a+="?",a+=t.queryKeys[h]+"="+t.queryValues[h];return i.push(a),t.send(i,"SuperMap.Util.RequestJSONPPromise.supermap_callbacks["+r+"]",e&&e.proxy),n},getUid:function(){return 1e3*(new Date).getTime()+Math.floor(1e17*Math.random())},send:function(e,t,r){var s=e.length;if(s>0)for(var i=(new Date).getTime(),n=0;n-1?a+="&":a+="?",a+="sectionCount="+s,a+="§ionIndex="+n,a+="&jsonpUserID="+i,r&&(a=decodeURIComponent(a),a=r+encodeURIComponent(a)),Je()(a,{jsonpCallbackFunction:t,timeout:3e4})}},GET:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings(e.params),this.issue(e)},POST:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},PUT:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},DELETE:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)}};class Ye{static generateToken(e,t){var r=this.servers[e];if(r)return qe.post(r.tokenServiceUrl,JSON.stringify(t.toJSON())).then(function(e){return e.text()})}static registerServers(e){this.servers=this.servers||{},me.isArray(e)||(e=[e]);for(var t=0;t-1&&"?"===s?t+=r.getUrlParameters():t.indexOf("?")>-1&&"?"!==s?t+="&"+r.getUrlParameters():t+="?"+r.getUrlParameters()}return t}getCredential(){var e,t=Ye.getToken(this.serviceUrl);return(e=t?new Pe(t,"token"):null)||(e=(t=this.getKey())?new Pe(t,"key"):null),e}getKey(){}}s.iPortalServiceBase=et;class tt extends et{constructor(e,t){super(e),t=t||{},this.addedMapNames=null,this.addedSceneNames=null,this.authorizeSetting=[],this.checkStatus="",this.createTime=0,this.description="",this.enable=!0,this.id=0,this.isBatch=!1,this.isDataItemService=!1,this.linkPage=null,this.mapInfos=[],this.metadata=null,this.nickname="",this.offline=!1,this.proxiedUrl=null,this.resTitle="",this.scenes=[],this.serviceRootUrlId=null,this.tags=[],this.thumbnail=null,this.type="",this.updateTime=0,this.userName="",this.verifyReason=null,this.version=null,this.visitCount=0,me.extend(this,t),this.serviceUrl=e,this.id&&(this.serviceUrl=e+"/"+this.id)}load(){var e=this;return e.request("GET",e.serviceUrl+".json").then(function(t){if(t.error)return t;for(var r in t)e[r]=t[r]})}update(){var e={authorizeSetting:this.authorizeSetting,metadata:this.metadata,tags:this.tags,thumbnail:this.thumbnail};return this.request("PUT",this.serviceUrl,JSON.stringify(e),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}}s.iPortalService=tt;class rt extends et{constructor(e,t){super(e),t=t||{},this.authorizeSetting=[],this.center="",this.controls=null,this.checkStatus="",this.createTime=0,this.description="",this.epsgCode=0,this.extent="",this.id=0,this.isDefaultBottomMap=!1,this.layers=[],this.level=null,this.nickname="",this.sourceType="",this.status=null,this.tags=[],this.thumbnail="",this.title="",this.units=null,this.updateTime=0,this.userName="",this.visitCount=0,me.extend(this,t),this.mapUrl=e}load(){var e=this;return e.request("GET",e.mapUrl+".json").then(function(t){if(t.error)return t;for(var r in t)e[r]=t[r]})}update(){var e={units:this.units,level:this.level,center:this.center,controls:this.controls,description:this.description,epsgCode:this.epsgCode,extent:this.extent,status:this.status,tags:this.tags,layers:this.layers,title:this.title,thumbnail:this.thumbnail,sourceType:this.sourceType,authorizeSetting:this.authorizeSetting};return this.request("PUT",this.mapUrl,JSON.stringify(e),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}}s.iPortalMap=rt;class st extends et{constructor(e){super(e),this.iportalUrl=e}load(){return qe.get(this.iportalUrl+"/web")}queryServices(e){if(!(e instanceof Ze))return null;var t=this.iportalUrl+"/web/services";return this.request("GET",t,e).then(function(e){var r=[];return e.content.map(function(e){return r.push(new tt(t,e)),e}),r})}deleteServices(e){var t=this.iportalUrl+"/web/services";return this.request("DELETE",t,{ids:e})}queryMaps(e){if(!(e instanceof $e))return null;var t=this.iportalUrl+"/web/maps";return this.request("GET",t,e).then(function(e){var r={},s=[];return e.content.map(function(e){return s.push(new rt(t+"/"+e.id,e)),e}),r.content=s,r.currentPage=e.currentPage,r.pageSize=e.pageSize,r.total=e.total,r.totalPage=e.totalPage,r})}}s.iPortal=st;class it{constructor(e,t){let r=this;this.EVENT_TYPES=["processCompleted","processFailed"],this.events=null,this.eventListeners=null,this.url=null,this.urls=null,this.proxy=null,this.serverType=null,this.index=null,this.length=null,this.options=null,this.totalTimes=null,this.POLLING_TIMES=3,this._processSuccess=null,this._processFailed=null,this.isInTheSameDomain=null,this.withCredentials=!1,me.isArray(e)?(r.urls=e,r.length=e.length,r.totalTimes=r.length,1===r.length?r.url=e[0]:(r.index=parseInt(Math.random()*r.length),r.url=e[r.index])):(r.totalTimes=1,r.url=e),me.isArray(e)&&!r.isServiceSupportPolling()&&(r.url=e[0],r.totalTimes=1),r.serverType=r.serverType||n.ISERVER,(t=t||{})&&me.extend(this,t),r.isInTheSameDomain=me.isInTheSameDomain(r.url),r.events=new Me(r,null,r.EVENT_TYPES,!0),r.eventListeners instanceof Object&&r.events.on(r.eventListeners),this.CLASS_NAME="SuperMap.CommonServiceBase"}destroy(){let e=this;me.isArray(e.urls)&&(e.urls=null,e.index=null,e.length=null,e.totalTimes=null),e.url=null,e.options=null,e._processSuccess=null,e._processFailed=null,e.isInTheSameDomain=null,e.EVENT_TYPES=null,e.events&&(e.events.destroy(),e.events=null),e.eventListeners&&(e.eventListeners=null)}request(e){let t=this;e.url=e.url||t.url,e.proxy=e.proxy||t.proxy,e.withCredentials=void 0!=e.withCredentials?e.withCredentials:t.withCredentials,e.isInTheSameDomain=t.isInTheSameDomain;let r=this.getCredential(e.url);if(r){let t=e.url.substring(e.url.length-1,e.url.length);e.url.indexOf("?")>-1&&"?"===t?e.url+=r.getUrlParameters():e.url.indexOf("?")>-1&&"?"!==t?e.url+="&"+r.getUrlParameters():e.url+="?"+r.getUrlParameters()}t.calculatePollingTimes(),t._processSuccess=e.success,t._processFailed=e.failure,e.scope=t,e.success=t.getUrlCompleted,e.failure=t.getUrlFailed,t.options=e,t._commit(t.options)}getCredential(e){let t,r,s=e;switch(this.serverType){case n.IPORTAL:(t=(r=Ye.getToken(s))?new Pe(r,"token"):null)||(t=(r=Ye.getKey(s))?new Pe(r,"key"):null);break;case n.ONLINE:t=(r=Ye.getKey(s))?new Pe(r,"key"):null;break;default:t=(r=Ye.getToken(s))?new Pe(r,"token"):null}return t}getUrlCompleted(e){this._processSuccess(e)}getUrlFailed(e){let t=this;t.totalTimes>0?(t.totalTimes--,t.ajaxPolling()):t._processFailed(e)}ajaxPolling(){let e=this,t=e.options.url,r=/^http:\/\/([a-z]{9}|(\d+\.){3}\d+):\d{0,4}/;e.index=parseInt(Math.random()*e.length),e.url=e.urls[e.index],t=t.replace(r,r.exec(e.url)[0]),e.options.url=t,e.options.isInTheSameDomain=me.isInTheSameDomain(t),e._commit(e.options)}calculatePollingTimes(){let e=this;e.times?e.totalTimes>e.POLLING_TIMES?e.times>e.POLLING_TIMES?e.totalTimes=e.POLLING_TIMES:e.totalTimes=e.times:e.timese.POLLING_TIMES&&(e.totalTimes=e.POLLING_TIMES),e.totalTimes--}isServiceSupportPolling(){return!("SuperMap.REST.ThemeService"===this.CLASS_NAME||"SuperMap.REST.EditFeaturesService"===this.CLASS_NAME)}serviceProcessCompleted(e){e=me.transformResult(e),this.events.triggerEvent("processCompleted",{result:e})}serviceProcessFailed(e){let t=(e=me.transformResult(e)).error||e;this.events.triggerEvent("processFailed",{error:t})}_commit(e){"POST"!==e.method&&"PUT"!==e.method||(e.params&&(e.url=me.urlAppend(e.url,me.getParameterString(e.params||{}))),e.params=e.data),qe.commit(e.method,e.url,e.params,{headers:e.headers,withCredentials:e.withCredentials,timeout:e.async?0:null,proxy:e.proxy}).then(function(e){return e.text?e.text():e.json?e.json():e}).then(function(t){var r=t;("string"==typeof t&&(r=(new Fe).read(t)),(!r||r.error||r.code>=300&&304!==r.code)&&(r=r&&r.error?{error:r.error}:{error:r}),r.error)?(e.scope?pe.bind(e.failure,e.scope):e.failure)(r):(r.succeed=void 0==r.succeed||r.succeed,(e.scope?pe.bind(e.success,e.scope):e.success)(r))})}}s.CommonServiceBase=it;class nt{constructor(e){if(e.filters){let t=[];e.filters.split(",").map(function(e){return t.push('"'+e+'"'),e}),e.filters=t}this.address=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,me.extend(this,e)}destroy(){this.address=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null}}s.GeoCodingParameter=nt;class at{constructor(e){if(e.filters){let t=[];e.filters.split(",").map(function(e){return t.push('"'+e+'"'),e}),e.filters=t}this.x=null,this.y=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,this.geoDecodingRadius=null,me.extend(this,e)}destroy(){this.x=null,this.y=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,this.geoDecodingRadius=null}}s.GeoDecodingParameter=at;class ot extends it{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.AddressMatchService"}destroy(){super.destroy()}code(e,t){t instanceof nt&&this.processAsync(e,t)}decode(e,t){t instanceof at&&this.processAsync(e,t)}processAsync(e,t){var r=this;qe.get(e,t,{proxy:r.proxy}).then(function(e){return e.json()}).then(function(e){e?r.serviceProcessCompleted(e):r.serviceProcessFailed(e)}).catch(function(e){r.eventListeners.processFailed({error:e})})}serviceProcessCompleted(e){super.serviceProcessCompleted(e)}serviceProcessFailed(e){super.serviceProcessFailed(e)}}s.AddressMatchService=ot;class lt{constructor(e){this.name=null,this.queryType=null,this.CLASS_NAME="SuperMap.AggQueryBuilderParameter",me.extend(this,e)}destroy(){this.name=null,this.queryType=null}}s.AggQueryBuilderParameter=lt;class ht{constructor(e){this.aggName=null,this.aggType=null,this.aggFieldName=null,this.subAgg=null,this.CLASS_NAME="SuperMap.AggregationParameter",me.extend(this,e)}destroy(){var e=this;e.aggName=null,e.aggFieldName=null,e.aggType=null,e.subAgg&&(e.subAgg=null)}}s.AggregationParameter=ht;class ut{constructor(e){this.dataset=null,this.targetDatasourceName=null,this.totalGridName=null,this.diffuseDatasetGridName=null,this.durationDatasetGridName=null,this.directDatasetGridName=null,this.latitude=null,this.timeMode="MULTIDAYS",this.dayStart=null,this.dayEnd=null,this.hourStart=null,this.hourEnd=null,this.transmittance=null,this.hourInterval=null,this.dayInterval=null,this.deleteExistResultDataset=!1,me.extend(this,e),this.CLASS_NAME="SuperMap.AreaSolarRadiationParameters"}destroy(){var e=this;e.dataset=null,e.zFactor=1,e.averageCurvatureName=null,e.profileCurvatureName=null,e.planCurvatureName=null,e.deleteExistResultDataset=!0}static toObject(e,t){var r={};for(var s in e){if("dataset"!==s)"latitude"===s||"timeMode"===s||"dayStart"===s||("dayEnd"===s||"hourStart"===s||"hourEnd"===s)||("transmittance"===s||"hourInterval"===s||"dayInterval"===s)?r[s]=e[s]:t[s]=e[s]}t.parameter=r}}s.AreaSolarRadiationParameters=ut;class ct extends it{constructor(e,t){super(e,t),this.format=i.GEOJSON,this.CLASS_NAME="SuperMap.SpatialAnalystBase"}destroy(){super.destroy(),this.format=null}serviceProcessCompleted(e){var t,r=this;if((e=me.transformResult(e))&&r.format===i.GEOJSON&&"function"==typeof r.toGeoJSONResult)if(me.isArray(e)){for(var s=0;s0){e+='"points":[';for(var r=0,s=this.components.length;r0))return null;for(var n=0,a=0,o=[];n0){if(1===r)return new xe(t[0].x,t[0].y);var s=[];for(let e=0;e0){if(1===r){let r=[];for(let s=0;s0){if(1===o){for(e=0,r=[];e=0;t--)if(c[e]=-1,l[t].getBounds().containsBounds(l[e].getBounds())){h[e]=-1*h[t],h[e]<0&&(c[e]=t);break}for(let e=0;e0?i.push(l[e]):(i[c[e]].components=i[c[e]].components.concat(l[e].components),i.push(""))}else{i=new Array;for(let e=0;e0&&i.length>0&&(i[i.length-1].components=i[i.length-1].components.concat(a),a=[]),i.push(l[e])),e==s-1){var d=i.length;if(d)i[d-1].components=i[d-1].components.concat(a);else for(let e=0,t=a.length;e=0;t--)if(p[e]=-1,u[t].getBounds().containsBounds(u[e].getBounds())){c[e]=-1*c[t],c[e]<0&&(p[e]=t);break}for(let e=0;e0?n.push(u[e]):(n[p[e]].components=n[p[e]].components.concat(u[e].components),n.push(""))}else{n=new Array;for(let e=0;e0&&n.length>0&&(n[n.length-1].components=n[n.length-1].components.concat(l),l=[]),n.push(u[e])),e==s-1){var m=n.length;if(m)n[m-1].components=n[m-1].components.concat(l);else for(let e=0,t=l.length;ee[i]){var n=e[i];e[i]=e[s],e[s]=n;var a=t[i];if(t[i]=t[s],t[s]=a,r&&r.length>0){var o=r[i];r[i]=r[s],r[s]=o}}}}s.ServerGeometry=At;class _t extends ft{constructor(e){super(e),this.sourceGeometry=null,this.sourceGeometrySRID=null,e&&me.extend(this,e),this.CLASS_NAME=" SuperMap.GeometryBufferAnalystParameters"}destroy(){super.destroy();this.sourceGeometry&&(this.sourceGeometry.destroy(),this.sourceGeometry=null)}static toObject(e,t){for(var r in e)if("bufferSetting"===r){var s={};for(var i in e.bufferSetting)s[i]=e.bufferSetting[i];t.analystParameter=s}else"sourceGeometry"===r?t.sourceGeometry=At.fromGeometry(e.sourceGeometry):t[r]=e[r]}}s.GeometryBufferAnalystParameters=_t;class Lt extends ct{constructor(e,t){super(e,t),this.mode=null,t&&me.extend(this,t),this.CLASS_NAME="SuperMap.BufferAnalystService"}destroy(){super.destroy(),this.mode=null}processAsync(e){var t={},r=this;"/"!==r.url.substr(r.url.length-1,1)&&(r.url+="/"),e instanceof xt?(r.mode="datasets",r.url+="datasets/"+e.dataset+"/buffer",xt.toObject(e,t)):e instanceof _t&&(r.mode="geometry",r.url+="geometry/buffer",_t.toObject(e,t));var s=me.toJSON(t);r.url+=".json?returnContent=true",r.request({method:"POST",data:s,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}s.BufferAnalystService=Lt;class Pt{constructor(e){this.type=O.UDB,this.datasetName="analystResult",this.datasourceInfo=null,this.outputPath="",me.extend(this,e),this.CLASS_NAME="SuperMap.OutputSetting"}destroy(){var e=this;e.type=null,e.datasetName=null,e.outputPath=null,e.datasourceInfo instanceof vt&&(e.datasourceInfo.destroy(),e.datasourceInfo=null)}}s.OutputSetting=Pt;class Nt{constructor(e){if(this.datasetName="",this.bounds="",this.distance="",this.distanceField="",this.distanceUnit=ee.METER,this.dissolveField="",this.output=null,!e)return this;me.extend(this,e),this.CLASS_NAME="SuperMap.BuffersAnalystJobsParameter"}destroy(){this.datasetName=null,this.bounds=null,this.distance=null,this.distanceField=null,this.distanceUnit=null,this.dissolveField=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var r in e)"datasetName"!==r?"output"!==r?(t.analyst=t.analyst||{},t.analyst[r]="bounds"===r?e[r].toBBOX():e[r]):(t.output=t.output||{},t.output=e[r]):(t.input=t.input||{},t.input[r]=e[r])}}s.BuffersAnalystJobsParameter=Nt;class Mt extends it{constructor(e,t){(t=t||{}).EVENT_TYPES=["processCompleted","processFailed","processRunning"],super(e,t),this.CLASS_NAME="SuperMap.ProcessingServiceBase"}destroy(){super.destroy()}getJobs(e){var t=this;qe.get(e,null,{proxy:t.proxy}).then(function(e){return e.json()}).then(function(e){t.events.triggerEvent("processCompleted",{result:e})}).catch(function(e){t.eventListeners.processFailed({error:e})})}addJob(e,t,r,s){var i=this,n=null;t&&t instanceof r&&(n=new Object,r.toObject(t,n));var a={proxy:i.proxy,headers:{"Content-Type":"application/x-www-form-urlencoded"}};qe.post(i._processUrl(e),JSON.stringify(n),a).then(function(e){return e.json()}).then(function(e){e.succeed?i.serviceProcessCompleted(e,s):i.serviceProcessFailed(e)}).catch(function(e){i.serviceProcessFailed({error:e})})}serviceProcessCompleted(e,t){e=me.transformResult(e),t=t||1e3;var r=this;if(e)var s=setInterval(function(){qe.get(e.newResourceLocation,{_t:(new Date).getTime()}).then(function(e){return e.json()}).then(function(e){r.events.triggerEvent("processRunning",{id:e.id,state:e.state}),"LOST"!==e.state.runState&&"KILLED"!==e.state.runState&&"FAILED"!==e.state.runState||(clearInterval(s),r.events.triggerEvent("processFailed",{error:e.state.errorMsg,state:e.state.runState})),"FINISHED"===e.state.runState&&e.setting.serviceInfo&&(clearInterval(s),r.events.triggerEvent("processCompleted",{result:e}))}).catch(function(e){clearInterval(s),r.events.triggerEvent("processFailed",{error:e})})},t)}serviceProcessFailed(e){super.serviceProcessFailed(e)}_processUrl(e){return-1===e.indexOf(".json")&&(e+=".json"),Ye.getToken(e)&&(e+="?token="+Ye.getToken(e)),e}}s.ProcessingServiceBase=Mt;class It extends Mt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/buffers",this.CLASS_NAME="SuperMap.BuffersAnalystJobsService"}destroy(){super.destroy()}getBuffersJobs(){super.getJobs(this.url)}getBuffersJob(e){super.getJobs(this.url+"/"+e)}addBuffersJob(e,t){super.addJob(this.url,e,Nt,t)}}s.BuffersAnalystJobsService=It;class Ot{constructor(e){this.sourceNodeIDs=null,this.edgeID=null,this.nodeID=null,this.isUncertainDirectionValid=!1,me.extend(this,e),this.CLASS_NAME="SuperMap.BurstPipelineAnalystParameters"}destroy(){this.sourceNodeIDs=null,this.edgeID=null,this.nodeID=null,this.isUncertainDirectionValid=null}}s.BurstPipelineAnalystParameters=Ot;class Rt extends it{constructor(e,t){super(e,t),this.format=i.GEOJSON,this.CLASS_NAME="SuperMap.NetworkAnalystServiceBase"}destroy(){super.destroy(),this.format=null}serviceProcessCompleted(e){var t;(e=me.transformResult(e))&&this.format===i.GEOJSON&&"function"==typeof this.toGeoJSONResult&&(t=this.toGeoJSONResult(e)),t||(t=e),this.events.triggerEvent("processCompleted",{result:t})}toGeoJSONResult(e){return null}}s.NetworkAnalystServiceBase=Rt;class Ft extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.BurstPipelineAnalystService"}destroy(){super.destroy()}processAsync(e){if(!(e instanceof Ot))return null;var t,r=this,s=r.url.substr(r.url.length-1,1);if(r.url=r.url+("/"===s?"burstAnalyse":"/burstAnalyse")+".json?",t={sourceNodeIDs:e.sourceNodeIDs,isUncertainDirectionValid:e.isUncertainDirectionValid},null!==e.edgeID&&null!==e.nodeID)throw new Error("edgeID and nodeID cannot be null at the same time.");if(null===e.edgeID&&null===e.nodeID)throw new Error("edgeID and nodeID cannot be null at the same time.");null!==e.edgeID?t.edgeID=e.edgeID:t.nodeID=e.nodeID,r.request({method:"GET",params:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}s.BurstPipelineAnalystService=Ft;class Dt extends it{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.ChartFeatureInfoSpecsService"}destroy(){super.destroy(),me.reset(this)}processAsync(){var e=this,t=e.url.substr(e.url.length-1,1);e.isTempLayers?e.url+=".json?":(e.url+="/"===t?"":"/",e.url+="chartFeatureInfoSpecs.json?"),e.request({method:"GET",params:null,scope:e,success:e.serviceProcessCompleted,failure:e.serviceProcessFailed})}}s.ChartFeatureInfoSpecsService=Dt;class kt{constructor(e){this.isQueryPoint=null,this.isQueryLine=null,this.isQueryRegion=null,this.attributeFilter=null,this.chartFeatureInfoSpecCode=null,me.extend(this,e),this.CLASS_NAME="SuperMap.ChartQueryFilterParameter"}destroy(){var e=this;e.isQueryPoint=null,e.isQueryLine=null,e.isQueryRegion=null,e.attributeFilter=null,e.chartFeatureInfoSpecCode=null}toJson(){var e="";return e+='"isQueryPoint":'+this.isQueryPoint+",",e+='"isQueryLine":'+this.isQueryLine+",",e+='"isQueryRegion":'+this.isQueryRegion+",",this.attributeFilter&&(e+='"attributeFilter": "'+this.attributeFilter+'",'),e="{"+(e+='"chartFeatureInfoSpecCode":'+this.chartFeatureInfoSpecCode)+"}"}}s.ChartQueryFilterParameter=kt;class Bt{constructor(e){this.queryMode=null,this.bounds=null,this.chartLayerNames=null,this.chartQueryFilterParameters=null,this.returnContent=!0,this.startRecord=0,this.expectCount=null,me.extend(this,e),this.CLASS_NAME="SuperMap.ChartQueryParameters"}destroy(){var e=this;e.queryMode=null,e.bounds=null,e.chartLayerNames=null,e.chartQueryFilterParameters=null,e.returnContent=!0,e.startRecord=0,e.expectCount=null}getVariablesJson(){var e="";if(e+='"queryMode":"'+this.queryMode+'",',this.chartLayerNames&&this.chartLayerNames.length){for(var t=[],r=this.chartLayerNames.length,s=0;s0&&(r+=","),r+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(r+=","),r+=t[e];return r+="]"}}s.ComputeWeightMatrixService=Vt;class qt extends it{constructor(e,t){(t=t||{}).EVENT_TYPES=["broadcastSocketConnected","broadcastSocketError","broadcastFailed","broadcastSuccessed","subscribeSocketConnected","subscribeSocketError","messageSuccessed","setFilterParamSuccessed"],super(e,t),this.geometry=null,this.prjCoordSys=null,this.excludeField=null;"/"!==this.url.substr(this.url.length-1,1)&&(this.url+="/"),t&&me.extend(this,t),this.CLASS_NAME="SuperMap.DataFlowService"}initBroadcast(){var e=this;return this.broadcastWebSocket=this._connect(e.url+"broadcast"),this.broadcastWebSocket.onopen=function(t){e.broadcastWebSocket.isOpen=!0,t.eventType="broadcastSocketConnected",e.events.triggerEvent("broadcastSocketConnected",t)},this.broadcastWebSocket.onclose=function(t){e.broadcastWebSocket.isOpen=!1,t.eventType="broadcastSocketConnected",e.events.triggerEvent("broadcastSocketConnected",t)},this.broadcastWebSocket.onerror=function(t){t.eventType="broadcastSocketError",e.events.triggerEvent("broadcastSocketError",t)},this}broadcast(e){this.broadcastWebSocket&&this.broadcastWebSocket.isOpen?(this.broadcastWebSocket.send(JSON.stringify(e)),this.events.triggerEvent("broadcastSuccessed")):this.events.triggerEvent("broadcastFailed")}initSubscribe(){var e=this;return this.subscribeWebSocket=this._connect(this.url+"subscribe"),this.subscribeWebSocket.onopen=function(t){e.subscribeWebSocket.send(e._getFilterParams()),t.eventType="subscribeSocketConnected",e.events.triggerEvent("subscribeSocketConnected",t)},this.subscribeWebSocket.onerror=function(t){t.eventType="subscribeSocketError",e.events.triggerEvent("subscribeSocketError",t)},this.subscribeWebSocket.onmessage=function(t){e._onMessage(t)},this}setExcludeField(e){return this.excludeField=e,this.subscribeWebSocket.send(this._getFilterParams()),this}setGeometry(e){return this.geometry=e,this.subscribeWebSocket.send(this._getFilterParams()),this}unSubscribe(){this.subscribeWebSocket&&(this.subscribeWebSocket.close(),this.subscribeWebSocket=null)}unBroadcast(){this.broadcastWebSocket&&(this.broadcastWebSocket.close(),this.broadcastWebSocket=null)}destroy(){it.prototype.destroy.apply(this,arguments);this.geometry=null,this.prjCoordSys=null,this.excludeField=null,this.unBroadcast(),this.unSubscribe()}_getFilterParams(){var e={filterParam:{prjCoordSys:this.prjCoordSys,excludeField:this.excludeField,geometry:this.geometry}};return me.toJSON(e)}_onMessage(e){if(e.data&&e.data.indexOf("filterParam")>0){var t=JSON.parse(e.data);return e.filterParam=t,e.eventType="setFilterParamSuccessed",void this.events.triggerEvent("setFilterParamSuccessed",e)}var r=JSON.parse(e.data);e.featureResult=r,e.eventType="messageSuccessed",this.events.triggerEvent("messageSuccessed",e)}_connect(e){return e=this._appendCredentials(e),"WebSocket"in window?new WebSocket(e):"MozWebSocket"in window?new(0,window.MozWebSocket)(e):(console.log("no WebSocket"),null)}_appendCredentials(e){var t=Ye.getToken(e);return t&&(e+="?token="+t),e}}s.DataFlowService=qt;class Yt{constructor(e){e=e||{},this.bounds=null,this.dataSourceName=null,this.description=null,this.encodeType=null,this.isReadOnly=null,this.name=null,this.prjCoordSys=null,this.tableName=null,this.type=null,me.extend(this,e);var t=this.bounds;t&&(this.bounds=new ye(t.leftBottom.x,t.leftBottom.y,t.rightTop.x,t.rightTop.y)),this.CLASS_NAME="SuperMap.DatasetInfo"}destroy(){me.reset(this)}toServerJSONObject(){var e={};return(e=me.copyAttributes(e,this)).bounds&&e.bounds.toServerJSONObject&&(e.bounds=e.bounds.toServerJSONObject()),e}}s.DatasetInfo=Yt;class Xt{constructor(e){this.operation=I.UNION,e&&me.extend(this,e),this.CLASS_NAME="SuperMap.OverlayAnalystParameters"}destroy(){this.operation=null}}s.OverlayAnalystParameters=Xt;class Qt extends Xt{constructor(e){super(e),this.operateDataset=null,this.operateDatasetFields=[],this.operateDatasetFilter=new bt,this.operateRegions=[],this.sourceDataset=null,this.sourceDatasetFields=[],this.sourceDatasetFilter=new bt,this.tolerance=0,this.resultSetting=new yt,me.extend(this,e),this.CLASS_NAME="SuperMap.DatasetOverlayAnalystParameters"}destroy(){super.destroy();var e=this;if(e.operateDataset=null,e.operateDatasetFields=null,e.operateDatasetFilter&&(e.operateDatasetFilter.destroy(),e.operateDatasetFilter=null),e.operateRegions){for(var t=0,r=e.operateRegions,s=r.length;t0&&(r+=","),r+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(r+=","),r+=t[e];return r+="]"}toGeoJSONResult(e){if(!e||!e.facilityPathList)return e;var t=new De;return e.facilityPathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}s.FindClosestFacilitiesService=Er;class wr{constructor(e){this.expectedSupplyCenterCount=null,this.isFromCenter=!1,this.supplyCenters=null,this.turnWeightField=null,this.weightName=null,me.extend(this,e),this.CLASS_NAME="SuperMap.FindLocationParameters"}destroy(){var e=this;if(e.expectedSupplyCenterCount=null,e.isFromCenter=null,e.turnWeightField=null,e.weightName=null,e.supplyCenters){for(var t=0,r=e.supplyCenters,s=r.length;t0&&(t+=","),t+=me.toJSON(e[s]);return t+="]"}toGeoJSONResult(e){if(!e)return null;var t=new De;return e.demandResults&&(e.demandResults=JSON.parse(t.write(e.demandResults))),e.supplyResults&&(e.supplyResults=JSON.parse(t.write(e.supplyResults))),e}}s.FindLocationService=Ar;class _r{constructor(e){this.centers=null,this.hasLeastTotalCost=!1,this.isAnalyzeById=!1,this.nodes=null,this.parameter=new zt,me.extend(this,e),this.CLASS_NAME="SuperMap.FindMTSPPathsParameters"}destroy(){var e=this;e.centers=null,e.hasLeastTotalCost=null,e.isAnalyzeById=null,e.nodes=null,e.maxWeight=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}s.FindMTSPPathsParameters=_r;class Lr extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindMTSPPathsService"}destroy(){super.destroy()}processAsync(e){if(e instanceof _r){var t,r=this,s=r.getJson(e.isAnalyzeById,e.centers),i=r.getJson(e.isAnalyzeById,e.nodes);r.url=r.url+"/mtsppath.json?",t={centers:s,nodes:i,parameter:me.toJSON(e.parameter),hasLeastTotalCost:e.hasLeastTotalCost},r.request({method:"GET",params:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}getJson(e,t){var r="[",s=t?t.length:0;if(!1===e)for(let e=0;e0&&(r+=","),r+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(r+=","),r+=t[e];return r+="]"}toGeoJSONResult(e){if(!e||!e.pathList)return null;var t=new De;return e.pathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}s.FindMTSPPathsService=Lr;class Pr{constructor(e){this.isAnalyzeById=!1,this.hasLeastEdgeCount=null,this.nodes=null,this.parameter=new zt,me.extend(this,e),this.CLASS_NAME="SuperMap.FindPathParameters"}destroy(){var e=this;e.isAnalyzeById=null,e.hasLeastEdgeCount=null,e.nodes=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}s.FindPathParameters=Pr;class Nr extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindPathService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Pr){var t,r=this,s=r.url.substr(r.url.length-1,1);r.url=r.url+("/"===s?"path":"/path")+".json?",t={hasLeastEdgeCount:e.hasLeastEdgeCount,parameter:me.toJSON(e.parameter),nodes:r.getJson(e.isAnalyzeById,e.nodes)},r.request({method:"GET",params:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}getJson(e,t){var r="[",s=t?t.length:0;if(!1===e)for(let e=0;e0&&(r+=","),r+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(r+=","),r+=t[e];return r+="]"}toGeoJSONResult(e){if(!e||!e.pathList||e.pathList.length<1)return null;var t=new De;return e.pathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}s.FindPathService=Nr;class Mr{constructor(e){this.isAnalyzeById=!1,this.isCenterMutuallyExclusive=!1,this.centers=null,this.isFromCenter=!1,this.weights=null,this.parameter=new zt,me.extend(this,e),this.CLASS_NAME="SuperMap.FindServiceAreasParameters"}destroy(){var e=this;e.isAnalyzeById=null,e.isCenterMutuallyExclusive=null,e.centers=null,e.isFromCenter=null,e.weights=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}s.FindServiceAreasParameters=Mr;class Ir extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindServiceAreasService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Mr){var t,r=this,s=r.url.substr(r.url.length-1,1);r.url=r.url+("/"===s?"servicearea":"/servicearea")+".json?",t={isFromCenter:e.isFromCenter,isCenterMutuallyExclusive:e.isCenterMutuallyExclusive,parameter:me.toJSON(e.parameter),centers:r.getJson(e.isAnalyzeById,e.centers),weights:r.getJson(!0,e.weights)},r.request({method:"GET",params:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}getJson(e,t){var r="[",s=t?t.length:0;if(!1===e)for(let e=0;e0&&(r+=","),r+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(r+=","),r+=t[e];return r+="]"}toGeoJSONResult(e){if(!e||!e.serviceAreaList)return e;var t=new De;return e.serviceAreaList.map(function(e){return e.serviceRegion&&(e.serviceRegion=JSON.parse(t.write(e.serviceRegion))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e.routes&&(e.routes=JSON.parse(t.write(e.routes))),e}),e}}s.FindServiceAreasService=Ir;class Or{constructor(e){this.endNodeAssigned=!1,this.isAnalyzeById=!1,this.nodes=null,this.parameter=new zt,me.extend(this,e),this.CLASS_NAME="SuperMap.FindTSPPathsParameters"}destroy(){var e=this;e.endNodeAssigned=null,e.isAnalyzeById=null,e.nodes=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}s.FindTSPPathsParameters=Or;class Rr extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindTSPPathsService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Or){var t,r=this,i=r.url.substr(r.url.length-1,1);r.url=r.url+("/"===i?"tsppath":"/tsppath")+".json?",t={parameter:s.Util.toJSON(e.parameter),endNodeAssigned:e.endNodeAssigned,nodes:r.getNodesJson(e)},r.request({method:"GET",params:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}getNodesJson(e){var t,r,s,i,n="";if(!1===e.isAnalyzeById){for(t="[",r=0,s=(i=e.nodes).length;r0&&(t+=","),t+='{"x":'+i[r].x+',"y":'+i[r].y+"}";n+=t+="]"}else if(1==e.isAnalyzeById){let t="[",r=e.nodes,s=r.length;for(let e=0;e0&&(t+=","),t+=r[e];n+=t+="]"}return n}toGeoJSONResult(e){if(!e||!e.tspPathList)return null;var t=new De;return e.tspPathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}s.FindTSPPathsService=Rr;class Fr{constructor(e){this.routeTable=null,this.routeIDField=null,this.attributeFilter=null,this.eventTable=null,this.eventRouteIDField=null,this.measureField=null,this.measureStartField=null,this.measureEndField=null,this.measureOffsetField=null,this.errorInfoField=null,this.retainedFields=null,this.dataReturnOption=null,e&&me.extend(this,e),this.CLASS_NAME="SuperMap.GenerateSpatialDataParameters"}destroy(){var e=this;e.routeTable&&(e.routeTable=null),e.routeIDField=null,e.attributeFilter=null,e.eventTable=null,e.eventRouteIDField=null,e.measureField=null,e.measureStartField=null,e.measureEndField=null,e.measureOffsetField=null,e.errorInfoField=null,e.dataReturnOption&&(e.dataReturnOption.destroy(),e.dataReturnOption=null)}}s.GenerateSpatialDataParameters=Fr;class Dr extends ct{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GenerateSpatialDataService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Fr){var t,r=this;t=r.getJsonParameters(e),r.request({method:"POST",data:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}getJsonParameters(e){var t,r="datasets/"+e.routeTable+"/linearreferencing/generatespatialdata";return t=this.url.substr(this.url.length-1,1),this.url+="/"===t?r+".json":"/"+r+".json",this.url+="?returnContent=true",me.toJSON(e)}}s.GenerateSpatialDataService=Dr;class kr extends lt{constructor(e){super(e),this.bounds=null,this.queryType=ne.GEO_BOUNDING_BOX,this.CLASS_NAME="SuperMap.GeoBoundingBoxQueryBuilderParameter",me.extend(this,e)}destroy(){super.destroy(),this.bounds=null,this.queryType=null}}s.GeoBoundingBoxQueryBuilderParameter=kr;class Br extends ht{constructor(e){super(e),this.precision=5,this.aggType=ie.GEOHASH_GRID,me.extend(this,e),this.CLASS_NAME="SuperMap.GeoHashGridAggParameter"}destroy(){super.destroy(),this.aggType=null}static toJsonParameters(e){var t={aggName:e.aggName,aggFieldName:e.aggFieldName,aggType:e.aggType,precision:e.precision};return e.subAgg&&(t.subAgg=e.subAgg),me.toJson(t)}}s.GeoHashGridAggParameter=Br;class Gr extends Xt{constructor(e){super(e),e&&e.operateGeometry&&(this.operateGeometry=e.operateGeometry),e&&e.sourceGeometry&&(this.sourceGeometry=e.sourceGeometry),e&&e.operateGeometries&&(this.operateGeometries=e.operateGeometries),e&&e.sourceGeometries&&(this.sourceGeometries=e.sourceGeometries),e&&me.extend(this,e),this.CLASS_NAME="SuperMap.GeometryOverlayAnalystParameters"}destroy(){super.destroy();var e=this;e.sourceGeometry&&(e.sourceGeometry.destroy(),e.sourceGeometry=null),e.sourceGeometries&&(e.sourceGeometries.destroy(),e.sourceGeometries=null),e.sourceGeometry&&(e.sourceGeometry.destroy(),e.sourceGeometry=null),e.operateGeometries&&(e.operateGeometries.destroy(),e.operateGeometries=null)}static toObject(e,t){for(var r in e)if("sourceGeometry"===r)t.sourceGeometry=At.fromGeometry(e.sourceGeometry);else if("sourceGeometries"===r){for(var s=[],i=0;i=0;e--)this.points[e].destroy();this.points=null}}static toObject(e,t){for(var r in e)"clipRegion"===r?t.clipRegion=At.fromGeometry(e.clipRegion):t[r]=e[r]}}s.GeometryThiessenAnalystParameters=Hr;class jr{constructor(e){this.dataset=null,this.sourceFilter=null,this.referenceFilter=null,this.spatialRelationType=null,this.isBorderInside=null,this.returnFeature=null,this.returnGeoRelatedOnly=null,this.startRecord=0,this.expectCount=500,e&&me.extend(this,e),this.CLASS_NAME="SuperMap.GeoRelationAnalystParameters"}destroy(){var e=this;e.sourceFilter&&e.sourceFilter.destroy(),e.sourceFilter=null,e.referenceFilter&&e.referenceFilter.destroy(),e.referenceFilter=null,e.dataset=null,e.spatialRelationType=null,e.isBorderInside=null,e.returnFeature=null,e.returnGeoRelatedOnly=null,e.startRecord=null,e.expectCount=null}}s.GeoRelationAnalystParameters=jr;class Jr extends ct{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GeoRelationAnalystService"}destroy(){super.destroy()}processAsync(e){if(e instanceof jr){var t=this,r=t.url.substr(t.url.length-1,1);t.url+="/"===r?"datasets/"+e.dataset+"/georelation":"/datasets/"+e.dataset+"/georelation";var i=s.Util.toJSON(e);t.url+=".json?returnContent=true",t.request({method:"POST",data:i,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}}s.GeoRelationAnalystService=Jr;class zr{constructor(e){this.datasetNames=null,this.returnContent=!0,this.fromIndex=0,this.toIndex=19,this.returnCountOnly=!1,this.maxFeatures=null,this.aggregations=null,me.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesParametersBase"}destroy(){var e=this;e.datasetNames=null,e.returnContent=null,e.fromIndex=null,e.toIndex=null,e.maxFeatures=null,e.aggregation&&(e.aggregation=null)}}s.GetFeaturesParametersBase=zr;class Wr extends zr{constructor(e){super(e),this.getFeatureMode=Wr.getFeatureMode.BOUNDS,this.bounds=null,this.fields=null,this.attributeFilter=null,this.spatialQueryMode=h.CONTAIN,me.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByBoundsParameters"}destroy(){super.destroy();var e=this;if(e.bounds&&(e.bounds.destroy(),e.bounds=null),e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}static toJsonParameters(e){var t,r,s;return r={leftBottom:{x:e.bounds.left,y:e.bounds.bottom},rightTop:{x:e.bounds.right,y:e.bounds.top}},s={datasetNames:e.datasetNames,getFeatureMode:Wr.getFeatureMode.BOUNDS,bounds:r,spatialQueryMode:e.spatialQueryMode},e.fields&&((t=new bt).name=e.datasetNames,t.fields=e.fields,s.queryParameter=t),e.attributeFilter&&(s.attributeFilter=e.attributeFilter,s.getFeatureMode=Wr.getFeatureMode.BOUNDS_ATTRIBUTEFILTER),e.maxFeatures&&!isNaN(e.maxFeatures)&&(s.maxFeatures=e.maxFeatures),me.toJSON(s)}}Wr.getFeatureMode={BOUNDS:"BOUNDS",BOUNDS_ATTRIBUTEFILTER:"BOUNDS_ATTRIBUTEFILTER"},s.GetFeaturesByBoundsParameters=Wr;class Vr extends it{constructor(e,t){super(e,t),t=t||{},this.returnContent=!0,this.fromIndex=0,this.toIndex=19,this.maxFeatures=null,this.format=i.GEOJSON,t&&me.extend(this,t);var r;t&&t.format&&(this.format=t.format.toUpperCase()),r=this.url.substr(this.url.length-1,1),this.url+="/"==r?"featureResults.json?":"/featureResults.json?",this.CLASS_NAME="SuperMap.GetFeaturesServiceBase"}destroy(){super.destroy();var e=this;e.returnContent=null,e.fromIndex=null,e.toIndex=null,e.maxFeatures=null,e.format=null}processAsync(e){if(e){var t,r=this,s=!0;r.returnContent=e.returnContent,r.fromIndex=e.fromIndex,r.toIndex=e.toIndex,r.maxFeatures=e.maxFeatures,r.returnContent&&(r.url+="returnContent="+r.returnContent,s=!1),null!=r.fromIndex&&null!=r.toIndex&&!isNaN(r.fromIndex)&&!isNaN(r.toIndex)&&r.fromIndex>=0&&r.toIndex>=0&&!s&&(r.url+="&fromIndex="+r.fromIndex+"&toIndex="+r.toIndex),e.returnCountOnly&&(r.url+="&returnCountOnly="+e.returnContent),t=r.getJsonParameters(e),r.request({method:"POST",data:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}serviceProcessCompleted(e){if(e=me.transformResult(e),this.format===i.GEOJSON&&e.features){var t=new De;e.features=JSON.parse(t.write(e.features))}this.events.triggerEvent("processCompleted",{result:e})}}s.GetFeaturesServiceBase=Vr;class qr extends Vr{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByBoundsService"}destroy(){super.destroy()}getJsonParameters(e){return Wr.toJsonParameters(e)}}s.GetFeaturesByBoundsService=qr;class Yr extends zr{constructor(e){super(e),this.bufferDistance=null,this.attributeFilter=null,this.geometry=null,this.fields=null,me.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByBufferParameters"}destroy(){super.destroy();var e=this;if(e.bufferDistance=null,e.attributeFilter=null,e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}e.geometry&&(e.geometry.destroy(),e.geometry=null)}static toJsonParameters(e){var t,r,s;return s=At.fromGeometry(e.geometry),r={datasetNames:e.datasetNames,getFeatureMode:"BUFFER",bufferDistance:e.bufferDistance,geometry:s},e.fields&&((t=new bt).name=e.datasetNames,t.fields=e.fields,r.queryParameter=t),e.attributeFilter&&(r.attributeFilter=e.attributeFilter,r.getFeatureMode="BUFFER_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(r.maxFeatures=e.maxFeatures),me.toJSON(r)}}s.GetFeaturesByBufferParameters=Yr;class Xr extends Vr{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByBufferService"}destroy(){super.destroy()}getJsonParameters(e){if(e instanceof Yr)return s.GetFeaturesByBufferParameters.toJsonParameters(e)}}s.GetFeaturesByBufferService=Xr;class Qr extends zr{constructor(e){super(e),this.getFeatureMode="SPATIAL",this.geometry=null,this.fields=null,this.attributeFilter=null,this.spatialQueryMode=h.CONTAIN,me.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByGeometryParameters"}destroy(){super.destroy();var e=this;if(e.geometry&&(e.geometry.destroy(),e.geometry=null),e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}static toJsonParameters(e){var t,r,s;return r=At.fromGeometry(e.geometry),s={datasetNames:e.datasetNames,getFeatureMode:"SPATIAL",geometry:r,spatialQueryMode:e.spatialQueryMode},e.fields&&((t=new bt).name=e.datasetNames,t.fields=e.fields,s.queryParameter=t),e.attributeFilter&&(s.attributeFilter=e.attributeFilter,s.getFeatureMode="SPATIAL_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(s.maxFeatures=e.maxFeatures),me.toJSON(s)}}s.GetFeaturesByGeometryParameters=Qr;class Kr extends Vr{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByGeometryService"}destroy(){super.destroy()}getJsonParameters(e){return Qr.toJsonParameters(e)}}s.GetFeaturesByGeometryService=Kr;class Zr extends zr{constructor(e){super(e),this.getFeatureMode="ID",this.IDs=null,this.fields=null,me.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByIDsParameters"}destroy(){super.destroy();var e=this;if(e.IDs=null,e.getFeatureMode=null,e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}}static toJsonParameters(e){var t,r;return t={datasetNames:e.datasetNames,getFeatureMode:"ID",ids:e.IDs},e.fields&&((r=new bt).name=e.datasetNames,r.fields=e.fields,t.queryParameter=r),me.toJSON(t)}}s.GetFeaturesByIDsParameters=Zr;class $r extends Vr{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByIDsService"}destroy(){super.destroy()}getJsonParameters(e){return Zr.toJsonParameters(e)}}s.GetFeaturesByIDsService=$r;class es extends zr{constructor(e){super(e),this.getFeatureMode="SQL",this.queryParameter=null,me.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesBySQLParameters"}destroy(){super.destroy();this.getFeatureMode=null,this.queryParameter&&(this.queryParameter.destroy(),this.queryParameter=null)}static toJsonParameters(e){var t={datasetNames:e.datasetNames,getFeatureMode:"SQL",queryParameter:e.queryParameter};return e.maxFeatures&&!isNaN(e.maxFeatures)&&(t.maxFeatures=e.maxFeatures),e.aggregations&&(t.aggregations=e.aggregations),me.toJSON(t)}}s.GetFeaturesBySQLParameters=es;class ts extends Vr{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesBySQLService"}destroy(){super.destroy()}getJsonParameters(e){return es.toJsonParameters(e)}}s.GetFeaturesBySQLService=ts;class rs extends it{constructor(e,t){super(e,t),this.datasource=null,this.dataset=null,t&&me.extend(this,t),this.CLASS_NAME="SuperMap.GetFieldsService"}destroy(){super.destroy();this.datasource=null,this.dataset=null}processAsync(){var e=this,t=e.url.substr(e.url.length-1,1),r="datasources/"+e.datasource+"/datasets/"+e.dataset;e.url+="/"==t?r+"/fields.json?":"/"+r+"/fields.json?",e.request({method:"GET",data:null,scope:e,success:e.serviceProcessCompleted,failure:e.serviceProcessFailed})}}s.GetFieldsService=rs;class ss{constructor(e){this.datasetName=null,this.dataSourceName=null,this.X=null,this.Y=null,me.extend(this,e),this.CLASS_NAME="SuperMap.GetGridCellInfosParameters"}destroy(){this.datasetName=null,this.dataSourceName=null,this.X=null,this.Y=null}}s.GetGridCellInfosParameters=ss;class is extends it{constructor(e,t){super(e,t),this.datasetName=null,this.dataSourceName=null,this.datasetType=null,this.X=null,this.Y=null,t&&me.extend(this,t),this.CLASS_NAME="SuperMap.GetGridCellInfosService"}destroy(){super.destroy();var e=this;e.X=null,e.Y=null,e.datasetName=null,e.dataSourceName=null,e.datasetType=null}processAsync(e){if(e instanceof ss){me.extend(this,e);var t=this,r=t.url.substr(t.url.length-1,1);t.url+="/"==r?"datasources/"+t.dataSourceName+"/datasets/"+t.datasetName+".json":"/datasources/"+t.dataSourceName+"/datasets/"+t.datasetName+".json",t.queryRequest(t.getDatasetInfoCompleted,t.getDatasetInfoFailed)}}queryRequest(e,t){this.request({method:"GET",data:null,scope:this,success:e,failure:t})}getDatasetInfoCompleted(e){e=me.transformResult(e),this.datasetType=e.datasetInfo.type,this.queryGridInfos()}queryGridInfos(){var e=this,t=/\.json/.exec(e.url).index,r=e.url.substring(t),s=e.url.substring(0,e.url.length-r.length);"GRID"==e.datasetType?e.url=s+"/gridValue"+r:e.url=s+"/imageValue"+r,null!=e.X&&null!=e.Y&&(e.url+="?x="+e.X+"&y="+e.Y),e.queryRequest(e.serviceProcessCompleted,e.serviceProcessFailed)}getDatasetInfoFailed(e){this.serviceProcessFailed(e)}}s.GetGridCellInfosService=is;class ns{constructor(e,t){this.srcData=e,this.targetData=t,this.CLASS_NAME="SuperMap.ThemeMemoryData"}destroy(){this.srcData=null,this.targetData=null}toJSON(){if(this.srcData&&this.targetData){for(var e="",t=Math.min(this.srcData.length,this.targetData.length),r=0;r0&&(e=e.substring(0,e.length-1)),"{"+e+"}"}return null}}s.ThemeMemoryData=ns;class as{constructor(e,t){if(!e)return this;this.memoryData=null,this.type=e,t&&me.extend(this,t),this.CLASS_NAME="SuperMap.Theme"}destroy(){this.memoryData&&(this.memoryData.destroy(),this.memoryData=null),this.type=null}toServerJSONObject(){}}s.Theme=as;class os{constructor(e){this.align=C.BASELINECENTER,this.backColor=new Ct(255,255,255),this.foreColor=new Ct(0,0,0),this.backOpaque=!1,this.sizeFixed=!0,this.fontHeight=6,this.fontWidth=0,this.fontWeight=400,this.fontName="Times New Roman",this.bold=!1,this.italic=!1,this.italicAngle=0,this.shadow=!1,this.strikeout=!1,this.outline=!1,this.opaqueRate=0,this.underline=!1,this.rotation=0,e&&me.extend(this,e),this.CLASS_NAME="SuperMap.ServerTextStyle"}destroy(){var e=this;e.align=null,e.backColor&&(e.backColor.destroy(),e.backColor=null),e.foreColor&&(e.foreColor.destroy(),e.foreColor=null),e.backOpaque=null,e.sizeFixed=null,e.fontHeight=null,e.fontWidth=null,e.fontWeight=null,e.fontName=null,e.bold=null,e.italic=null,e.italicAngle=null,e.shadow=null,e.strikeout=null,e.outline=null,e.opaqueRate=null,e.underline=null,e.rotation=null}static fromObj(e){var t=new os(e);return me.copy(t,e),t.backColor=Ct.fromJson(e.backColor),t.foreColor=Ct.fromJson(e.foreColor),t}}s.ServerTextStyle=os;class ls{constructor(e){this.caption=null,this.end=0,this.start=0,this.visible=!0,this.style=new os,e&&me.extend(this,e),this.CLASS_NAME="SuperMap.ThemeLabelItem"}destroy(){var e=this;e.caption=null,e.end=null,e.start=null,e.style&&(e.style.destroy(),e.style=null),e.visible=null}static fromObj(e){if(e){var t=new ls;return me.copy(t,e),t}}}s.ThemeLabelItem=ls;class hs{constructor(e){this.caption=null,this.style=new Tt,this.unique=null,this.visible=!0,e&&me.extend(this,e),this.CLASS_NAME="SuperMap.ThemeUniqueItem"}destroy(){var e=this;e.caption=null,e.unique=null,e.style&&(e.style.destroy(),e.style=null),e.visible=null}toServerJSONObject(){var e={};return(e=me.copyAttributes(e,this)).style&&e.style.toServerJSONObject&&(e.style=e.style.toServerJSONObject()),e}static fromObj(e){var t=new hs;return me.copy(t,e),t.style=Tt.fromJson(e.style),t}}s.ThemeUniqueItem=hs;class us{constructor(e){this.flowEnabled=!1,this.leaderLineDisplayed=!1,this.leaderLineStyle=new Tt,e&&me.extend(this,e),this.CLASS_NAME="SuperMap.ThemeFlow"}destroy(){var e=this;e.flowEnabled=null,e.leaderLineDisplayed=null,e.leaderLineStyle&&(e.leaderLineStyle.destroy(),e.leaderLineStyle=null)}static fromObj(e){if(e){var t=new us;return me.copy(t,e),t.leaderLineStyle=Tt.fromJson(e.leaderLineStyle),t}}}s.ThemeFlow=us;class cs{constructor(e){this.offsetFixed=!1,this.offsetX="0.0",this.offsetY="0.0",e&&me.extend(this,e),this.CLASS_NAME="SuperMap.ThemeOffset"}destroy(){this.offsetFixed=null,this.offsetX=null,this.offsetY=null}static fromObj(e){if(e){var t=new cs;return me.copy(t,e),t}}}s.ThemeOffset=cs;class ds{constructor(e){this.defaultStyle=null,this.separator=null,this.separatorEnabled=!1,this.splitIndexes=null,this.styles=new os,e&&me.extend(this,e),this.CLASS_NAME="SuperMap.LabelMixedTextStyle"}destroy(){var e=this;if(e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null),e.separator=null,e.separatorEnabled=null,e.splitIndexes&&(e.splitIndexes=null),e.styles){for(var t=0,r=e.styles,s=r.length;t0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null)}toServerJSONObject(){var e={};if((e=me.copyAttributes(e,this)).defaultStyle&&e.defaultStyle.toServerJSONObject&&(e.defaultStyle=e.defaultStyle.toServerJSONObject()),e.items){for(var t=[],r=e.items.length,s=0;s0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.rangeExpression=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}static fromObj(e){if(e){var t=new _s;me.copy(t,e);var r=e.items,s=r?r.length:0;t.items=[];for(var i=0;i0?e[0].subLayers.layers:null)?t.length:0,this.handleLayers(r,t),this.events.triggerEvent("processCompleted",{result:e[0]})}handleLayers(e,t){var r;if(e)for(var s=0;s0)this.handleLayers(t[s].subLayers.layers.length,t[s].subLayers.layers);else switch(t[s].ugcLayerType){case"THEME":(r=new Is).fromJson(t[s]),t[s]=r;break;case"GRID":(r=new Os).fromJson(t[s]),t[s]=r;break;case"IMAGE":(r=new Rs).fromJson(t[s]),t[s]=r;break;case"VECTOR":(r=new Fs).fromJson(t[s]),t[s]=r}}}}s.GetLayersInfoService=Ds;class ks{constructor(e){e&&(this.bounds=null,this.searchRadius=0,this.zValueFieldName=null,this.zValueScale=1,this.resolution=null,this.filterQueryParameter=null,this.outputDatasetName=null,this.outputDatasourceName=null,this.pixelFormat=W.BIT16,this.dataset=null,this.inputPoints=null,this.InterpolationAnalystType="dataset",this.clipParam=null,me.extend(this,e),this.CLASS_NAME="SuperMap.InterpolationAnalystParameters")}destroy(){var e=this;e.bounds=null,e.searchRadius=null,e.zValueFieldName=null,e.zValueScale=null,e.resolution=null,e.filterQueryParameter=null,e.outputDatasetName=null,e.pixelFormat=null}static toObject(e,t){for(var r in e)if("inputPoints"===r&&"geometry"===e.InterpolationAnalystType){for(var s=[],i=0;i=200&&e.code<300||0==e.code||304===e.code,r=e.code&&t;!e.code||r?this.events&&this.events.triggerEvent("processCompleted",{result:e}):this.events.triggerEvent("processFailed",{error:e})}}s.MapService=Qs;class Ks{constructor(e){e&&(this.dataset=null,this.extractRegion=null,this.expression=null,this.isZip=!1,this.ignoreNoValue=!1,this.targetDatasource=null,this.resultGridName=null,this.deleteExistResultDataset=!1,me.extend(this,e),this.CLASS_NAME="SuperMap.MathExpressionAnalysisParameters")}destroy(){var e=this;e.dataset=null,e.bounds=null,e.expression=null,e.isZip=!0,e.ignoreNoValue=!0,e.targetDatasource=null,e.resultGridName=null,e.deleteExistResultDataset=null}static toObject(e,t){for(var r in e)if("dataset"!==r&&(t[r]=e[r]),"extractRegion"===r&&e[r]){for(var s=e[r].components[0].components,i={},n=[],a=s.length,o=0;o0&&(s+='"subLayers":'+e.toJSON()),s+=',"visible":true,',s+='"name":"'+this.getMapName(this.mapUrl)+'"',s+="}]",t.request({method:"PUT",data:s,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}}createTempLayerComplete(e){(e=me.transformResult(e)).succeed&&(this.lastparams.resourceID=e.newResourceID),this.processAsync(this.lastparams)}getMapName(e){var t=e;"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1));var r=t.lastIndexOf("/");return t.substring(r+1,t.length)}serviceProcessCompleted(e){null!=(e=me.transformResult(e))&&null!=this.lastparams&&(e.newResourceID=this.lastparams.resourceID),this.events.triggerEvent("processCompleted",{result:e})}}s.SetLayerStatusService=Ti;class Ei{constructor(e){e&&(this.datasetName="",this.datasetQuery="",this.geometryQuery="",this.mode=h.CONTAIN,this.output=null,me.extend(this,e),this.CLASS_NAME="SuperMap.SingleObjectQueryJobsParameter")}destroy(){this.datasetName=null,this.datasetQuery=null,this.geometryQuery=null,this.mode=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var r in e)"datasetName"!==r?"output"!==r?(t.analyst=t.analyst||{},t.analyst[r]=e[r]):(t.output=t.output||{},t.output=e[r]):(t.input=t.input||{},t.input[r]=e[r])}}s.SingleObjectQueryJobsParameter=Ei;class wi extends Mt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/query",this.CLASS_NAME="SuperMap.SingleObjectQueryJobsService"}destroy(){super.destroy()}getQueryJobs(){super.getJobs(this.url)}getQueryJob(e){super.getJobs(this.url+"/"+e)}addQueryJob(e,t){super.addJob(this.url,e,Ei,t)}}s.SingleObjectQueryJobsService=wi;class Ai{constructor(e){e=e||{},this.keyWord=null,this.returnPosition=!1,me.extend(this,e),this.CLASS_NAME="SuperMap.StopQueryParameters"}destroy(){me.reset(this)}}s.StopQueryParameters=Ai;class _i extends it{constructor(e,t){super(e,t),t=t||{},me.extend(this,t),this.CLASS_NAME="SuperMap.StopQueryService"}destroy(){super.destroy(),me.reset(this)}processAsync(e){if(e instanceof Ai){var t,r=this;t=r.url.substr(r.url.length-1,1),r.url+="/"===t?"":"/",r.url+="stops/keyword/"+e.keyWord,r.url+=".json?",r.request({method:"GET",params:{returnPosition:e.returnPosition},scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}}s.StopQueryService=_i;class Li{constructor(e){e&&(this.datasetName="",this.groupField="",this.attributeField="",this.statisticModes="",this.output=null,me.extend(this,e),this.CLASS_NAME="SuperMap.SummaryAttributesJobsParameter")}destroy(){this.datasetName=null,this.groupField=null,this.attributeField=null,this.statisticModes=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var r in e)"datasetName"!==r?"output"!==r?(t.analyst=t.analyst||{},t.analyst[r]=e[r]):(t.output=t.output||{},t.output=e[r]):(t.input=t.input||{},t.input[r]=e[r])}}s.SummaryAttributesJobsParameter=Li;class Pi extends Mt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/summaryattributes",this.CLASS_NAME="SuperMap.SummaryAttributesJobsService"}destroy(){super.destroy()}getSummaryAttributesJobs(){super.getJobs(this.url)}getSummaryAttributesJob(e){super.getJobs(this.url+"/"+e)}addSummaryAttributesJob(e,t){super.addJob(this.url,e,Li,t)}}s.SummaryAttributesJobsService=Pi;class Ni{constructor(e){e&&(this.datasetName="",this.regionDataset="",this.query="",this.resolution=100,this.meshType=0,this.statisticModes=te.AVERAGE,this.fields="",this.type=re.SUMMARYMESH,this.output=null,me.extend(this,e),this.CLASS_NAME="SuperMap.SummaryMeshJobParameter")}destroy(){this.datasetName=null,this.query=null,this.resolution=null,this.statisticModes=null,this.meshType=null,this.fields=null,this.regionDataset=null,this.type=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var r in e)"datasetName"!==r?"type"!==r?"output"!==r?("SUMMARYMESH"===e.type&&"regionDataset"!==r||"SUMMARYREGION"===e.type&&!s(["meshType","resolution","query"],r))&&(t.analyst=t.analyst||{},t.analyst[r]="query"===r?e[r].toBBOX():e[r]):(t.output=t.output||{},t.output=e[r]):t.type=e[r]:(t.input=t.input||{},t.input[r]=e[r]);function s(e,t){for(var r=e.length;r--;)if(e[r]===t)return!0;return!1}}}s.SummaryMeshJobParameter=Ni;class Mi extends Mt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/aggregatepoints",this.CLASS_NAME="SuperMap.SummaryMeshJobsService"}destroy(){super.destroy()}getSummaryMeshJobs(){super.getJobs(this.url)}getSummaryMeshJob(e){super.getJobs(this.url+"/"+e)}addSummaryMeshJob(e,t){super.addJob(this.url,e,Ni,t)}}s.SummaryMeshJobsService=Mi;class Ii{constructor(e){e&&(this.datasetName="",this.regionDataset="",this.sumShape=!0,this.query="",this.standardSummaryFields=!1,this.standardFields="",this.standardStatisticModes="",this.weightedSummaryFields=!1,this.weightedFields="",this.weightedStatisticModes="",this.meshType=0,this.resolution=100,this.meshSizeUnit=ee.METER,this.type=re.SUMMARYMESH,this.output=null,me.extend(this,e),this.CLASS_NAME="SuperMap.SummaryRegionJobParameter")}destroy(){this.datasetName=null,this.sumShape=null,this.regionDataset=null,this.query=null,this.standardSummaryFields=null,this.standardFields=null,this.standardStatisticModes=null,this.weightedSummaryFields=null,this.weightedFields=null,this.weightedStatisticModes=null,this.meshType=null,this.resolution=null,this.meshSizeUnit=null,this.type=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var r in e)"datasetName"!==r?"type"!==r&&"type"!==r?"output"!==r?("SUMMARYREGION"===e.type||"SUMMARYMESH"===e.type&&"regionDataset"!==r)&&(t.analyst=t.analyst||{},t.analyst[r]="query"===r?e[r].toBBOX():e[r]):(t.output=t.output||{},t.output=e[r]):t.type=e[r]:(t.input=t.input||{},t.input[r]=e[r])}}s.SummaryRegionJobParameter=Ii;class Oi extends Mt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/summaryregion",this.CLASS_NAME="SuperMap.SummaryRegionJobsService"}destroy(){super.destroy()}getSummaryRegionJobs(){super.getJobs(this.url)}getSummaryRegionJob(e){super.getJobs(this.url+"/"+e)}addSummaryRegionJob(e,t){super.addJob(this.url,e,Ii,t)}}s.SummaryRegionJobsService=Oi;class Ri{constructor(e){this.maxWeight=null,this.nodeID=null,this.resourceValue=null,this.type=null,e&&me.extend(this,e),this.CLASS_NAME="SuperMap.SupplyCenter"}destroy(){this.maxWeight=null,this.nodeID=null,this.resourceValue=null,this.type=null}static fromJson(e){if(e)return new Ri({maxWeight:e.maxWeight,nodeID:e.nodeID,resourceValue:e.resourceValue,type:e.type})}}s.SupplyCenter=Ri;class Fi extends ct{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.SurfaceAnalystService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Zt){var t,r=this;t=r.getJsonParameters(e),r.request({method:"POST",data:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}getJsonParameters(e){var t,r="",s={},i=this;if(e instanceof $t)t=i.url.substr(i.url.length-1,1),i.url+="/"===t?"datasets/"+e.dataset+"/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true":"/datasets/"+e.dataset+"/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true",$t.toObject(e,s),r=me.toJSON(s);else{if(!(e instanceof Ur))return;t=i.url.substr(i.url.length-1,1),i.url+="/"===t?"geometry/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true":"/geometry/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true",r=me.toJSON(e)}return r}}s.SurfaceAnalystService=Fi;class Di{constructor(e){e&&(this.dataset=null,this.zFactor=1,this.averageCurvatureName=null,this.profileCurvatureName="",this.planCurvatureName="",this.deleteExistResultDataset=!1,me.extend(this,e),this.CLASS_NAME="SuperMap.TerrainCurvatureCalculationParameters")}destroy(){var e=this;e.dataset=null,e.zFactor=1,e.averageCurvatureName=null,e.profileCurvatureName=null,e.planCurvatureName=null,e.deleteExistResultDataset=!0}static toObject(e,t){for(var r in e)"dataset"!==r&&(t[r]=e[r])}}s.TerrainCurvatureCalculationParameters=Di;class ki extends ct{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TerrainCurvatureCalculationService"}destroy(){super.destroy()}processAsync(e){var t=this;"/"!==t.url.substr(t.url.length-1,1)&&(t.url+="/");var r={};e instanceof Di&&(t.url+="datasets/"+e.dataset+"/terraincalculation/curvature"),Di.toObject(e,r);var i=s.Util.toJSON(r);t.url+=".json?returnContent=true",t.request({method:"POST",data:i,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}s.TerrainCurvatureCalculationService=ki;class Bi{constructor(e){this.caption=null,this.color=new Ct,this.end=0,this.start=0,this.visible=!0,e&&me.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGridRangeItem"}destroy(){var e=this;e.caption=null,e.end=null,e.start=null,e.color&&(e.color.destroy(),e.color=null),e.visible=null}toServerJSONObject(){var e={};return(e=me.copyAttributes(e,this)).color&&e.color.toServerJSONObject&&(e.color=e.color.toServerJSONObject()),e}static fromObj(e){if(e){var t=new Bi;return me.copy(t,e),t.color=Ct.fromJson(e.color),t}}}s.ThemeGridRangeItem=Bi;class Gi extends as{constructor(e){super("GRIDRANGE",e),this.items=null,this.rangeMode=S.EQUALINTERVAL,this.rangeParameter=0,this.colorGradientType=x.YELLOW_RED,this.reverseColor=!1,e&&me.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGridRange"}destroy(){super.destroy();var e=this;if(e.items){if(e.items.length>0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.reverseColor=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}static fromObj(e){if(e){var t=new Gi;me.copy(t,e);var r=e.items,s=r?r.length:0;t.items=[];for(var i=0;i0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.defaultcolor&&(e.defaultcolor.destroy(),e.defaultcolor=null)}toServerJSONObject(){var e={};if((e=me.copyAttributes(e,this)).defaultcolor&&e.defaultcolor.toServerJSONObject&&(e.defaultcolor=e.defaultcolor.toServerJSONObject()),e.items){for(var t=[],r=e.items.length,s=0;s0&&(1===i.length?r+="'displayFilter':\""+i[0]+'",':r+="'displayFilter':\""+i[a]+'",'),(n=e.displayOrderBy)&&n.length>0&&(1===n.length?r+="'displayOrderBy':'"+n[0]+"',":r+="'displayOrderBy':'"+n[a]+"',"),(t=e.fieldValuesDisplayFilter)&&(r+="'fieldValuesDisplayFilter':"+me.toJSON(t)+","),e.joinItems&&e.joinItems.length>0&&e.joinItems[a]&&(r+="'joinItems':["+me.toJSON(e.joinItems[a])+"],"),e.datasetNames&&e.dataSourceNames){var l=e.datasetNames[a]?a:e.datasetNames.length-1,h=e.dataSourceNames[a]?a:e.dataSourceNames.length-1;r+="'datasetInfo': {'name': '"+e.datasetNames[l]+"','dataSourceName': '"+e.dataSourceNames[h]+"'}},"}else r+="},"}e.themes&&e.themes.length>0&&(r=r.substring(0,r.length-1)),r+="]},";var u=this.url.split("/");return r+="'name': '"+u[u.length-2]+"'}]"}}s.ThemeService=zi;class Wi extends ct{constructor(e,t){super(e,t),this.mode=null,t&&me.extend(this,t),this.CLASS_NAME="SuperMap.ThiessenAnalystService"}destroy(){super.destroy(),this.mode=null}processAsync(e){var t={},r=this;"/"!==r.url.substr(r.url.length-1,1)&&(r.url+="/"),e instanceof tr?(r.mode="datasets",r.url+="datasets/"+e.dataset+"/thiessenpolygon",tr.toObject(e,t)):e instanceof Hr&&(r.mode="geometry",r.url+="geometry/thiessenpolygon",Hr.toObject(e,t));var s=me.toJSON(t);r.url+=".json?returnContent=true",r.request({method:"POST",data:s,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}s.ThiessenAnalystService=Wi;class Vi extends ct{constructor(e,t){super(e,t),t&&me.extend(this,t),this.CLASS_NAME="SuperMap.GeometryBatchAnalystService"}processAsync(e){var t=this;"/"!==t.url.substr(t.url.length-1,1)&&(t.url+="/"),t.url+="geometry/batchanalyst.json?returnContent=true&ignoreAnalystParam=true";var r=t._processParams(e),s=me.toJSON(r);t.request({method:"POST",data:s,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}_processParams(e){var t=this;if(me.isArray(e)){var r=[];return e.map(function(e){return r.push(t._toJSON(e)),e}),r}}_toJSON(e){var t={};if("buffer"===e.analystName)t.analystName="buffer",t.param={},_t.toObject(e.param,t.param);else if("overlay"===e.analystName)t.analystName="overlay",t.param={},Gr.toObject(e.param,t.param);else if("interpolationDensity"===e.analystName)t.analystName="interpolationDensity",t.param={},ks.toObject(e.param,t.param);else if("interpolationidw"===e.analystName)t.analystName="interpolationidw",t.param={},ks.toObject(e.param,t.param);else if("interpolationRBF"===e.analystName)t.analystName="interpolationRBF",t.param={},ks.toObject(e.param,t.param);else if("interpolationKriging"===e.analystName)t.analystName="interpolationKriging",t.param={},ks.toObject(e.param,t.param);else{if("thiessenpolygon"!==e.analystName)return e;t.analystName="thiessenpolygon",t.param={},Hr.toObject(e.param,t.param)}return t}destroy(){super.destroy()}}s.GeometryBatchAnalystService=Vi;class qi extends it{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TilesetsService"}destroy(){super.destroy()}processAsync(){if(this.url){var e=this,t=e.url.substr(e.url.length-1,1);e.url=e.url+("/"===t?"tilesets":"/tilesets")+".json?",e.request({method:"GET",scope:e,success:e.serviceProcessCompleted,failure:e.serviceProcessFailed})}}}s.TilesetsService=qi;class Yi{constructor(e){e&&(this.datasetName="",this.datasetTopology="",this.tolerance="",this.rule=se.REGIONNOOVERLAP,this.output=null,me.extend(this,e),this.CLASS_NAME="SuperMap.TopologyValidatorJobsParameter")}destroy(){this.datasetName=null,this.datasetTopology=null,this.tolerance=null,this.rule=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var r in e)"datasetName"!==r?"output"!==r?(t.analyst=t.analyst||{},t.analyst[r]=e[r]):(t.output=t.output||{},t.output=e[r]):(t.input=t.input||{},t.input[r]=e[r])}}s.TopologyValidatorJobsParameter=Yi;class Xi extends Mt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/topologyvalidator",this.CLASS_NAME="SuperMap.TopologyValidatorJobsService"}destroy(){super.destroy()}getTopologyValidatorJobs(){super.getJobs(this.url)}getTopologyValidatorJob(e){super.getJobs(this.url+"/"+e)}addTopologyValidatorJob(e,t){super.addJob(this.url,e,Yi,t)}}s.TopologyValidatorJobsService=Xi;class Qi{constructor(e){e=e||{},this.lineID=null,this.lineName=null,this.lineAliasName=null,this.startStopIndex=null,this.startStopName=null,this.startStopAliasName=null,this.endStopIndex=null,this.endStopName=null,this.endStopAliasName=null,me.extend(this,e),this.CLASS_NAME="SuperMap.TransferLine"}destroy(){me.reset(this)}static fromJson(e){if(e)return new Qi({lineID:e.lineID,lineName:e.lineName,lineAliasName:e.lineAliasName,startStopIndex:e.startStopIndex,startStopName:e.startStopName,startStopAliasName:e.startStopAliasName,endStopIndex:e.endStopIndex,endStopName:e.endStopName,endStopAliasName:e.endStopAliasName})}}s.TransferLine=Qi;class Ki{constructor(e){e=e||{},this.transferLines=null,this.points=!1,me.extend(this,e),this.CLASS_NAME="SuperMap.TransferPathParameters"}destroy(){me.reset(this)}static toJson(e){if(e)return me.toJSON(e)}}s.TransferPathParameters=Ki;class Zi extends it{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TransferPathService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Ki){var t,r,s=this;r=s.url.substr(s.url.length-1,1),s.url+="/"===r?"":"/",s.url+="path.json?",t={points:me.toJSON(e.points),transferLines:me.toJSON(e.transferLines)},s.request({method:"GET",params:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}}s.TransferPathService=Zi;class $i{constructor(e){e=e||{},this.solutionCount=6,this.transferPreference=G.NONE,this.transferTactic=B.LESS_TIME,this.walkingRatio=null,this.points=!1,this.evadeLines=null,this.evadeStops=null,this.priorLines=null,this.priorStops=null,this.travelTime=null,me.extend(this,e),this.CLASS_NAME="SuperMap.TransferSolutionParameters"}destroy(){me.reset(this)}static toJson(e){if(e)return me.toJSON(e)}}s.TransferSolutionParameters=$i;class en extends it{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TransferSolutionService"}destroy(){super.destroy()}processAsync(e){if(e instanceof $i){var t,r,s=this;r=s.url.substr(s.url.length-1,1),s.url+="/"===r?"":"/",s.url+="solutions.json?",t={points:me.toJSON(e.points),walkingRatio:e.walkingRatio,transferTactic:e.transferTactic,solutionCount:e.solutionCount,transferPreference:e.transferPreference},e.evadeLines&&(t.evadeLines=me.toJSON(e.evadeLines)),e.evadeStops&&(t.evadeStops=me.toJSON(e.evadeStops)),e.priorLines&&(t.priorLines=me.toJSON(e.priorLines)),e.priorStops&&(t.priorStops=me.toJSON(e.priorStops)),e.travelTime&&(t.travelTime=e.travelTime),s.request({method:"GET",params:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}}s.TransferSolutionService=en;class tn{constructor(e){e&&(this.edgeId="",this.fromNodeId="",this.toNodeId="",this.weightField="",this.edgeWeight="",me.extend(this,e),this.CLASS_NAME="SuperMap.UpdateEdgeWeightParameters")}destroy(){this.edgeId=null,this.fromNodeId=null,this.toNodeId=null,this.weightField=null,this.edgeWeight=null}}s.UpdateEdgeWeightParameters=tn;class rn extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.UpdateEdgeWeightService"}destroy(){super.destroy()}processAsync(e){if(e instanceof tn){var t=this,r=t.url.substr(t.url.length-1,1),s=t.parse(e);"/"===r&&t.url.splice(t.url.length-1,1),t.url=t.url+s+".json?";var i=e.edgeWeight?e.edgeWeight:null;t.request({method:"PUT",scope:t,data:i,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}parse(e){if(e){var t="";for(var r in e)if(""!==e[r]&&"edgeWeight"!==e[r])switch(r){case"edgeId":t+="/edgeweight/"+e[r];break;case"fromNodeId":t+="/fromnode/"+e[r];break;case"toNodeId":t+="/tonode/"+e[r];break;case"weightField":t+="/weightfield/"+e[r]}return t}}}s.UpdateEdgeWeightService=rn;class sn{constructor(e){e&&(this.nodeId="",this.fromEdgeId="",this.toEdgeId="",this.weightField="",this.turnNodeWeight="",me.extend(this,e),this.CLASS_NAME="SuperMap.UpdateTurnNodeWeightParameters")}destroy(){this.nodeId=null,this.fromEdgeId=null,this.toEdgeId=null,this.weightField=null,this.turnNodeWeight=null}}s.UpdateTurnNodeWeightParameters=sn;class nn extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.UpdateTurnNodeWeightService"}destroy(){super.destroy()}processAsync(e){if(e instanceof sn){var t=this,r=t.url.substr(t.url.length-1,1),s=t.parse(e);"/"===r&&t.url.splice(t.url.length-1,1),t.url=t.url+s+".json?";var i=e.turnNodeWeight?e.turnNodeWeight:null;t.request({method:"PUT",scope:t,data:i,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}parse(e){if(e){var t="";for(var r in e)if(""!==e[r]&&"turnNodeWeight"!==e[r])switch(r){case"nodeId":t+="/turnnodeweight/"+e[r];break;case"fromEdgeId":t+="/fromedge/"+e[r];break;case"toEdgeId":t+="/toedge/"+e[r];break;case"weightField":t+="/weightfield/"+e[r]}return t}}}s.UpdateTurnNodeWeightService=nn;class an{constructor(e){e=e||{},this.datasetName="",this.datasetVectorClip="",this.geometryClip="",this.mode=Z.CLIP,this.output=null,me.extend(this,e),this.CLASS_NAME="SuperMap.VectorClipJobsParameter"}destroy(){this.datasetName=null,this.datasetVectorClip=null,this.geometryClip=null,this.mode=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var r in e)"datasetName"!==r?"output"!==r?(t.analyst=t.analyst||{},t.analyst[r]=e[r]):(t.output=t.output||{},t.output=e[r]):(t.input=t.input||{},t.input[r]=e[r])}}s.VectorClipJobsParameter=an;class on extends Mt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/vectorclip",this.CLASS_NAME="SuperMap.VectorClipJobsService"}destroy(){super.destroy()}getVectorClipJobs(){super.getJobs(this.url)}getVectorClipJob(e){super.getJobs(this.url+"/"+e)}addVectorClipJob(e,t){super.addJob(this.url,e,an,t)}}s.VectorClipJobsService=on;var ln=s.ServiceStatus={DOES_NOT_INVOLVE:"DOES_NOT_INVOLVE",PUBLISH_FAILED:"PUBLISH_FAILED",PUBLISHED:"PUBLISHED",PUBLISHING:"PUBLISHING",UNPUBLISHED:"UNPUBLISHED",UNPUBLISHED_FAILED:"UNPUBLISHED_FAILED"},hn=s.DataItemType={AUDIO:"AUDIO",COLOR:"COLOR",COLORSCHEME:"COLORSCHEME",CSV:"CSV",EXCEL:"EXCEL",FILLSYMBOL:"FILLSYMBOL",IMAGE:"IMAGE",LAYERTEMPLATE:"LAYERTEMPLATE",LAYOUTTEMPLATE:"LAYOUTTEMPLATE",LINESYMBOL:"LINESYMBOL",MAPTEMPLATE:"MAPTEMPLATE",MARKERSYMBOL:"MARKERSYMBOL",MBTILES:"MBTILES",PHOTOS:"PHOTOS",SHP:"SHP",SMTILES:"SMTILES",SVTILES:"SVTILES",THEMETEMPLATE:"THEMETEMPLATE",TPK:"TPK",UDB:"UDB",UGCV5:"UGCV5",UNKNOWN:"UNKNOWN",VIDEO:"VIDEO",WORKENVIRONMENT:"WORKENVIRONMENT",WORKSPACE:"WORKSPACE"},un=s.DataItemOrderBy={FILENAME:"FILENAME",ID:"ID",LASTMODIFIEDTIME:"LASTMODIFIEDTIME",NICKNAME:"NICKNAME",SERVICESTATUS:"SERVICESTATUS",SIZE:"SIZE",STATUS:"STATUS",TYPE:"TYPE",UPDATETIME:"UPDATETIME",USERNAME:"USERNAME"},cn=s.FilterField={LINKPAGE:"LINKPAGE",MAPTITLE:"MAPTITLE",NICKNAME:"NICKNAME",RESTITLE:"RESTITLE",USERNAME:"USERNAME"};class dn{constructor(e){e=e||{},me.extend(this,e),this.serverType=n.ONLINE,this.CLASS_NAME="SuperMap.OnlineServiceBase"}request(e,t,r,s){return t=this.createCredentialUrl(t),qe.commit(e,t,r,s).then(function(e){return e.json()})}createCredentialUrl(e){var t=e,r=this.getCredential();if(r){var s="key="+r,i=t.substring(t.length-1,t.length);t.indexOf("?")>-1&&"?"===i?t+=s:t.indexOf("?")>-1&&"?"!==i?t+="&"+s:t+="?"+s}return t}getCredential(){}}s.OnlineServiceBase=dn;class pn extends dn{constructor(e,t){super(e),t=t||{},this.MD5=null,this.type=null,this.userName=null,this.fileName=null,this.size=null,this.serviceStatus=null,this.serviceId=null,this.id=null,this.lastModfiedTime=null,this.status=null,this.storageId=null,this.publishInfo=null,this.authorizeSetting=null,this.nickname=null,this.tags=[],this.description=null,this.dataItemServices=null,this.coordType=null,this.dataCheckResult=null,this.dataMetaInfo=null,this.thumbnail=null,me.extend(this,t),this.id&&(this.serviceUrl=e+"/"+this.id),this.CLASS_NAME="SuperMap.OnlineData"}load(){if(this.serviceUrl){var e=this;return e.request("GET",this.serviceUrl).then(function(t){me.extend(e,t)})}}getPublishedServices(){return this.dataItemServices}getAuthorizeSetting(){return this.authorizeSetting}}s.OnlineData=pn;class mn{constructor(){this.rootUrl="http://www.supermapol.com",this.webUrl=this.rootUrl+"/web";var e=this.webUrl+"/mycontent";this.mDatasUrl=e+"/datas",this.CLASS_NAME="SuperMap.Online"}load(){return qe.get(this.rootUrl).then(function(e){return e})}login(){Ye.loginOnline(this.rootUrl,!0)}queryDatas(e){var t=this,r=t.mDatasUrl;return e&&(e=e.toJSON()),qe.get(r,e).then(function(e){if(e&&e.content&&!(e.content.length<1)){for(var r=[],s=e.content,i=s.length,n=0;nt.geoFence.radius&&(t.outOfGeoFence&&t.outOfGeoFence(e),t.events.triggerEvent("outOfGeoFence",{data:e})),r})}_distance(e,t,r,s){return Math.sqrt((e-r)*(e-r)+(t-s)*(t-s))}_getMeterPerMapUnit(e){let t;return"meter"===e?t=1:"degree"===e&&(t=2*Math.PI*6378137/360),t}}s.ElasticSearch=xn;var Cn=r(5),Tn=r.n(Cn);class En{constructor(e){this.env=null,this.parser=null,this.ruleSet=null,this.cartoStr="",this.shaders=null,"string"==typeof e&&(this.cartoStr=e,this.env={frames:[],errors:[],error:function(e){this.errors.push(e)}},this.parser=this.getParser(this.env),this.parse(e),this.shaders=this.toShaders())}getParser(e){var t,r,i,n,a,o,l,h,u,c=this;function d(){n=l[i],a=r,h=r}function p(){l[i]=n,h=r=a}function m(){r>h&&(l[i]=l[i].slice(r-h),h=r)}function f(e){var s,n,a,o;if(e instanceof Function)return e.call(u.parsers);if("string"==typeof e)s=t.charAt(r)===e?e:null,n=1,m();else{if(m(),!(s=e.exec(l[i])))return null;n=s[0].length}if(s){var c=r+=n;for(o=r+l[i].length-n;r=0&&"\n"!==s.charAt(a);a--)r.column++;return new Error([r.filename,r.line,r.column,r.message].join(";"))}return this.env=e=e||{},this.env.filename=this.env.filename||null,this.env.inputs=this.env.inputs||{},u={parse:function(n){var a,u=null;if(r=i=h=o=0,l=[],t=n.replace(/\r\n/g,"\n"),e.filename&&(c.env.inputs[e.filename]=t),l=function(e){for(var r,s,i,n,a=0,o=/(?:@\{[\w-]+\}|[^"'`\{\}\/\(\)\\])+/g,l=/\/\*(?:[^*]|\*+[^\/*])*\*+\/|\/\/.*/g,h=/"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'|`((?:[^`]|\\.)*)`/g,c=0,d=e[0],p=0;p0?"missing closing `}`":"missing opening `{`"}),e.map(function(e){return e.join("")})}([[]]),u)throw y(u);var d=function(e,t){var r=e.specificity,s=t.specificity;return r[0]!=s[0]?s[0]-r[0]:r[1]!=s[1]?s[1]-r[1]:r[2]!=s[2]?s[2]-r[2]:s[3]-r[3]};return(a=new s.CartoCSS.Tree.Ruleset([],f(this.parsers.primary))).root=!0,a.toList=function(e){e.error=function(t){e.errors||(e.errors=new Error("")),e.errors.message?e.errors.message+="\n"+y(t).message:e.errors.message=y(t).message},e.frames=e.frames||[];var t=this.flatten([],[],e);return t.sort(d),t},a},parsers:{primary:function(){for(var e,t=[];(e=f(this.rule)||f(this.ruleset)||f(this.comment))||f(/^[\s\n]+/)||(e=f(this.invalid));)e&&t.push(e);return t},invalid:function(){var e=f(/^[^;\n]*[;\n]/);if(e)return new s.CartoCSS.Tree.Invalid(e,a)},comment:function(){var e;if("/"===t.charAt(r))return"/"===t.charAt(r+1)?new s.CartoCSS.Tree.Comment(f(/^\/\/.*/),!0):(e=f(/^\/\*(?:[^*]|\*+[^\/*])*\*+\/\n?/))?new s.CartoCSS.Tree.Comment(e):void 0},entities:{quoted:function(){if('"'===t.charAt(r)||"'"===t.charAt(r)){var e=f(/^"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'/);return e?new s.CartoCSS.Tree.Quoted(e[1]||e[2]):void 0}},field:function(){if(f("[")){var e=f(/(^[^\]]+)/);if(f("]"))return e?new s.CartoCSS.Tree.Field(e[1]):void 0}},comparison:function(){var e=f(/^=~|=|!=|<=|>=|<|>/);if(e)return e},keyword:function(){var e=f(/^[A-Za-z\u4e00-\u9fa5-]+[A-Za-z-0-9\u4e00-\u9fa5_]*/);if(e)return new s.CartoCSS.Tree.Keyword(e)},call:function(){var e,t;if(e=/^([\w\-]+|%)\(/.exec(l[i])){if("url"===(e=e[1]))return null;r+=e.length;if(f("("),t=f(this.entities.arguments),f(")"))return e?new s.CartoCSS.Tree.Call(e,t,r):void 0}},arguments:function(){for(var e,t=[];e=f(this.expression);){t.push(e);if(!f(","))break}return t},literal:function(){return f(this.entities.dimension)||f(this.entities.keywordcolor)||f(this.entities.hexcolor)||f(this.entities.quoted)},url:function(){var e;if("u"===t.charAt(r)&&f(/^url\(/)){e=f(this.entities.quoted)||f(this.entities.variable)||f(/^[\-\w%@$\/.&=:;#+?~]+/)||"";return f(")")?new s.CartoCSS.Tree.URL(void 0!==e.value||e instanceof s.CartoCSS.Tree.Variable?e:new s.CartoCSS.Tree.Quoted(e)):new s.CartoCSS.Tree.Invalid(e,a,"Missing closing ) in URL.")}},variable:function(){var i,n=r;if("@"===t.charAt(r)&&(i=f(/^@[\w-]+/)))return new s.CartoCSS.Tree.Variable(i,n,e.filename)},hexcolor:function(){var e;if("#"===t.charAt(r)&&(e=f(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})/)))return new s.CartoCSS.Tree.Color(e[1])},keywordcolor:function(){var e=l[i].match(/^[a-z]+/);if(e&&e[0]in s.CartoCSS.Tree.Reference.data.colors)return new s.CartoCSS.Tree.Color(s.CartoCSS.Tree.Reference.data.colors[f(/^[a-z]+/)])},dimension:function(){var e=t.charCodeAt(r);if(!(e>57||e<45||47===e)){var i=f(/^(-?\d*\.?\d+(?:[eE][-+]?\d+)?)(\%|\w+)?/);return i?new s.CartoCSS.Tree.Dimension(i[1],i[2],a):void 0}}},variable:function(){var e;if("@"===t.charAt(r)&&(e=f(/^(@[\w-]+)\s*:/)))return e[1]},entity:function(){var e=f(this.entities.call)||f(this.entities.literal),t=f(this.entities.field)||f(this.entities.variable),r=f(this.entities.url)||f(this.entities.keyword);return e||t||r},end:function(){var e;return f(";")||("string"==typeof(e="}")?t.charAt(r)===e:!!e.test(l[i]))},element:function(){var e=f(/^(?:[.#][\w\u4e00-\u9fa5\-]+|\*|Map)/);if(e)return new s.CartoCSS.Tree.Element(e)},attachment:function(){var e=f(/^::([\w\-]+(?:\/[\w\-]+)*)/);if(e)return e[1]},selector:function(){for(var e,i,n,o,l,h=[],u=new s.CartoCSS.Tree.Filterset,c=[],d=0,p=0;(n=f(this.element))||(l=f(this.zoom))||(o=f(this.filter))||(e=f(this.attachment));){if(d++,n)h.push(n);else if(l)c.push(l),p++;else if(o){var m=u.add(o);if(m)throw y({message:m,index:r-1});p++}else{if(i)throw y({message:"Encountered second attachment name.",index:r-1});i=e}var g=t.charAt(r);if("{"===g||"}"===g||";"===g||","===g)break}if(d)return new s.CartoCSS.Tree.Selector(u,c,h,i,p,a)},filter:function(){d();var t,r,i;if(f("[")&&(t=f(/^[a-zA-Z0-9\-_]+/)||f(this.entities.quoted)||f(this.entities.variable)||f(this.entities.keyword)||f(this.entities.field))&&(t instanceof s.CartoCSS.Tree.Quoted&&(t=new s.CartoCSS.Tree.Field(t.toString())),(r=f(this.entities.comparison))&&(i=f(this.entities.quoted)||f(this.entities.variable)||f(this.entities.dimension)||f(this.entities.keyword)||f(this.entities.field)))){if(!f("]"))throw y({message:"Missing closing ] of filter.",index:a-1});return t.is||(t=new s.CartoCSS.Tree.Field(t)),new s.CartoCSS.Tree.Filter(t,r,i,a,e.filename)}},zoom:function(){d();var e,t;if(f(/^\[\s*zoom/g)&&(e=f(this.entities.comparison))&&(t=f(this.entities.variable)||f(this.entities.dimension))&&f("]"))return new s.CartoCSS.Tree.Zoom(e,t,a);p()},block:function(){var e;if(f("{")&&(e=f(this.primary))&&f("}"))return e},ruleset:function(){var e,t,r=[];for(d();e=f(this.selector);){for(r.push(e);f(this.comment););if(!f(","))break;for(;f(this.comment););}if(e)for(;f(this.comment););if(r.length>0&&(t=f(this.block))){if(1===r.length&&r[0].elements.length&&"Map"===r[0].elements[0].value){var i=new s.CartoCSS.Tree.Ruleset(r,t);return i.isMap=!0,i}return new s.CartoCSS.Tree.Ruleset(r,t)}p()},rule:function(){var i,n,l=t.charAt(r);if(d(),"."!==l&&"#"!==l&&(i=f(this.variable)||f(this.property))){if((n=f(this.value))&&f(this.end))return new s.CartoCSS.Tree.Rule(i,n,a,e.filename);o=r,p()}},font:function(){for(var e,t=[],r=[];e=f(this.entity);)r.push(e);if(t.push(new s.CartoCSS.Tree.Expression(r)),f(","))for(;(e=f(this.expression))&&(t.push(e),f(",")););return new s.CartoCSS.Tree.Value(t)},value:function(){for(var e,t=[];(e=f(this.expression))&&(t.push(e),f(",")););return t.length>1?new s.CartoCSS.Tree.Value(t.map(function(e){return e.value[0]})):1===t.length?new s.CartoCSS.Tree.Value(t):void 0},sub:function(){var e;if(f("(")&&(e=f(this.expression))&&f(")"))return e},multiplication:function(){var e,t,r,i;if(e=f(this.operand)){for(;(r=f("/")||f("*")||f("%"))&&(t=f(this.operand));)i=new s.CartoCSS.Tree.Operation(r,[i||e,t],a);return i||e}},addition:function(){var e,i,n,o;if(e=f(this.multiplication)){for(;(n=f(/^[-+]\s+/)||" "!=t.charAt(r-1)&&(f("+")||f("-")))&&(i=f(this.multiplication));)o=new s.CartoCSS.Tree.Operation(n,[o||e,i],a);return o||e}},operand:function(){return f(this.sub)||f(this.entity)},expression:function(){for(var e,t=[];e=f(this.addition)||f(this.entity);)t.push(e);if(t.length>0)return new s.CartoCSS.Tree.Expression(t)},property:function(){var e=f(/^(([a-z][-a-z_0-9]*\/)?\*?-?[-a-z_0-9]+)\s*:/);if(e)return e[1]}}}}parse(e){var t=this.parser;return this.ruleSet=t.parse(e)}toShaders(){if(this.ruleSet){var e=this.ruleSet;if(e){var t=e.toList(this.env);t.reverse();var r={},s=[];this._toShaders(r,s,t);for(var i=[],n={},a=0,o=t.length;a=0){if(!t.featureFilter){var n=i+s.length,a=r.indexOf(")",n+1),o="featureId&&(featureId"+r.substring(n,a)+")";Object.defineProperty(t,"featureFilter",{configurable:!0,enumerable:!1,value:function(e){return!!o}})}return{property:p,getValue:Function("attributes","zoom","seftFilter","var _value = null; var isExcute=typeof seftFilter=='function'?sefgFilter():seftFilter;if(isExcute){"+r+";} return _value; ")}}return{property:p,getValue:Function("attributes","zoom","var _value = null;"+r+"; return _value; ")}}(u[p],c);Object.defineProperty(c,"attachment",{configurable:!0,enumerable:!1,value:h}),Object.defineProperty(c,"elements",{configurable:!0,enumerable:!1,value:l.elements}),i.push(c),n[s[a]]=!0}Object.defineProperty(c,"zoom",{configurable:!0,enumerable:!1,value:l.zoom})}return i}}return null}_toShaders(e,t,r){for(let i=0,n=r.length;i= minzoom - 1e-6 and scale < maxzoom + 1e-6"},maxzoom:{"default-value":"1.79769e+308",type:"float","default-meaning":"The layer will be visible at the maximum possible scale",doc:"The maximum scale denominator that this layer will be visible at. The default is the numeric limit of the C++ double type, which may vary slightly by system, but is likely a massive number like 1.79769e+308 and ensures that this layer will always be visible unless the value is reduced. A layer's visibility is determined by whether its status is true and if the Map scale >= minzoom - 1e-6 and scale < maxzoom + 1e-6"},queryable:{"default-value":!1,type:"boolean","default-meaning":"The layer will not be available for the direct querying of data values",doc:"This property was added for GetFeatureInfo/WMS compatibility and is rarely used. It is off by default meaning that in a WMS context the layer will not be able to be queried unless the property is explicitly set to true"},"clear-label-cache":{"default-value":!1,type:"boolean","default-meaning":"The renderer's collision detector cache (used for avoiding duplicate labels and overlapping markers) will not be cleared immediately before processing this layer",doc:"This property, by default off, can be enabled to allow a user to clear the collision detector cache before a given layer is processed. This may be desirable to ensure that a given layers data shows up on the map even if it normally would not because of collisions with previously rendered labels or markers"},"group-by":{"default-value":"",type:"string","default-meaning":"No special layer grouping will be used during rendering",doc:"https://github.com/mapnik/mapnik/wiki/Grouped-rendering"},"buffer-size":{"default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:"Extra tolerance around the Layer extent (in pixels) used to when querying and (potentially) clipping the layer data during rendering"},"maximum-extent":{"default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query this specific layer data during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Layer."}},symbolizers:{"*":{"image-filters":{css:"image-filters","default-value":"none","default-meaning":"no filters",type:"functions",functions:[["agg-stack-blur",2],["emboss",0],["blur",0],["gray",0],["sobel",0],["edge-detect",0],["x-gradient",0],["y-gradient",0],["invert",0],["sharpen",0]],doc:"A list of image filters."},"comp-op":{css:"comp-op","default-value":"src-over","default-meaning":"add the current layer on top of other layers",doc:"Composite operation. This defines how this layer should behave relative to layers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]},opacity:{css:"opacity",type:"float",doc:"An alpha value for the style (which means an alpha applied to all features in separate buffer and then composited back to main buffer)","default-value":1,"default-meaning":"no separate buffer will be used and no alpha will be applied to the style after rendering"}},map:{"background-color":{css:"background-color","default-value":"none","default-meaning":"transparent",type:"color",doc:"Map Background color"},"background-image":{css:"background-image",type:"uri","default-value":"","default-meaning":"transparent",doc:"An image that is repeated below all features on a map as a background.",description:"Map Background image"},srs:{css:"srs",type:"string","default-value":"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs","default-meaning":"The proj4 literal of EPSG:4326 is assumed to be the Map's spatial reference and all data from layers within this map will be plotted using this coordinate system. If any layers do not declare an srs value then they will be assumed to be in the same srs as the Map and not transformations will be needed to plot them in the Map's coordinate space",doc:"Map spatial reference (proj4 string)"},"buffer-size":{css:"buffer-size","default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:'Extra tolerance around the map (in pixels) used to ensure labels crossing tile boundaries are equally rendered in each tile (e.g. cut in each tile). Not intended to be used in combination with "avoid-edges".'},"maximum-extent":{css:"","default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query all layers during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Map."},base:{css:"base","default-value":"","default-meaning":"This base path defaults to an empty string meaning that any relative paths to files referenced in styles or layers will be interpreted relative to the application process.",type:"string",doc:"Any relative paths used to reference files will be understood as relative to this directory path if the map is loaded from an in memory object rather than from the filesystem. If the map is loaded from the filesystem and this option is not provided it will be set to the directory of the stylesheet."},"paths-from-xml":{css:"","default-value":!0,"default-meaning":"Paths read from XML will be interpreted from the location of the XML",type:"boolean",doc:"value to control whether paths in the XML will be interpreted from the location of the XML or from the working directory of the program that calls load_map()"},"minimum-version":{css:"","default-value":"none","default-meaning":"Mapnik version will not be detected and no error will be thrown about compatibility",type:"string",doc:"The minumum Mapnik version (e.g. 0.7.2) needed to use certain functionality in the stylesheet"},"font-directory":{css:"font-directory",type:"uri","default-value":"none","default-meaning":"No map-specific fonts will be registered",doc:"Path to a directory which holds fonts which should be registered when the Map is loaded (in addition to any fonts that may be automatically registered)."}},polygon:{fill:{css:"polygon-fill",type:"color","default-value":"rgba(128,128,128,1)","default-meaning":"gray and fully opaque (alpha = 1), same as rgb(128,128,128)",doc:"Fill color to assign to a polygon"},"fill-opacity":{css:"polygon-opacity",type:"float",doc:"The opacity of the polygon","default-value":1,"default-meaning":"opaque"},gamma:{css:"polygon-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon edges"},"gamma-method":{css:"polygon-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},clip:{css:"polygon-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},line:{stroke:{css:"line-color","default-value":"rgba(0,0,0,1)",type:"color","default-meaning":"black and fully opaque (alpha = 1), same as rgb(0,0,0)",doc:"The color of a drawn line"},"stroke-width":{css:"line-width","default-value":1,type:"float",doc:"The width of a line in pixels"},"stroke-opacity":{css:"line-opacity","default-value":1,type:"float","default-meaning":"opaque",doc:"The opacity of a line"},"stroke-linejoin":{css:"line-join","default-value":"miter",type:["miter","round","bevel"],doc:"The behavior of lines when joining"},"stroke-linecap":{css:"line-cap","default-value":"butt",type:["butt","round","square"],doc:"The display of line endings"},"stroke-gamma":{css:"line-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of stroke line"},"stroke-gamma-method":{css:"line-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},"stroke-dasharray":{css:"line-dasharray",type:"numbers",doc:"A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported for more complex patterns.","default-value":"none","default-meaning":"solid line"},"stroke-dashoffset":{css:"line-dash-offset",type:"numbers",doc:"valid parameter but not currently used in renderers (only exists for experimental svg support in Mapnik which is not yet enabled)","default-value":"none","default-meaning":"solid line"},"stroke-miterlimit":{css:"line-miterlimit",type:"float",doc:"The limit on the ratio of the miter length to the stroke-width. Used to automatically convert miter joins to bevel joins for sharp angles to avoid the miter extending beyond the thickness of the stroking path. Normally will not need to be set, but a larger value can sometimes help avoid jaggy artifacts.","default-value":4,"default-meaning":"Will auto-convert miters to bevel line joins when theta is less than 29 degrees as per the SVG spec: 'miterLength / stroke-width = 1 / sin ( theta / 2 )'"},clip:{css:"line-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},offset:{css:"line-offset",type:"float","default-value":0,"default-meaning":"no offset",doc:"Offsets a line a number of pixels parallel to its actual path. Postive values move the line left, negative values move it right (relative to the directionality of the line)."},rasterizer:{css:"line-rasterizer",type:["full","fast"],"default-value":"full",doc:"Exposes an alternate AGG rendering method that sacrifices some accuracy for speed."},"geometry-transform":{css:"line-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},markers:{file:{css:"marker-file",doc:"An SVG file that this marker shows at each placement. If no file is given, the marker will show an ellipse.","default-value":"","default-meaning":"An ellipse or circle, if width equals height",type:"uri"},opacity:{css:"marker-opacity",doc:"The overall opacity of the marker, if set, overrides both the opacity of both the fill and stroke","default-value":1,"default-meaning":"The stroke-opacity and fill-opacity will be used",type:"float"},"fill-opacity":{css:"marker-fill-opacity",doc:"The fill opacity of the marker","default-value":1,"default-meaning":"opaque",type:"float"},stroke:{css:"marker-line-color",doc:"The color of the stroke around a marker shape.","default-value":"black",type:"color"},"stroke-width":{css:"marker-line-width",doc:"The width of the stroke around a marker shape, in pixels. This is positioned on the boundary, so high values can cover the area itself.",type:"float"},"stroke-opacity":{css:"marker-line-opacity","default-value":1,"default-meaning":"opaque",doc:"The opacity of a line",type:"float"},placement:{css:"marker-placement",type:["point","line","interior"],"default-value":"point","default-meaning":"Place markers at the center point (centroid) of the geometry",doc:"Attempt to place markers on a point, in the center of a polygon, or if markers-placement:line, then multiple times along a line. 'interior' placement can be used to ensure that points placed on polygons are forced to be inside the polygon interior"},"multi-policy":{css:"marker-multi-policy",type:["each","whole","largest"],"default-value":"each","default-meaning":"If a feature contains multiple geometries and the placement type is either point or interior then a marker will be rendered for each",doc:"A special setting to allow the user to control rendering behavior for 'multi-geometries' (when a feature contains multiple geometries). This setting does not apply to markers placed along lines. The 'each' policy is default and means all geometries will get a marker. The 'whole' policy means that the aggregate centroid between all geometries will be used. The 'largest' policy means that only the largest (by bounding box areas) feature will get a rendered marker (this is how text labeling behaves by default)."},"marker-type":{css:"marker-type",type:["arrow","ellipse"],"default-value":"ellipse",doc:"The default marker-type. If a SVG file is not given as the marker-file parameter, the renderer provides either an arrow or an ellipse (a circle if height is equal to width)"},width:{css:"marker-width","default-value":10,doc:"The width of the marker, if using one of the default types.",type:"expression"},height:{css:"marker-height","default-value":10,doc:"The height of the marker, if using one of the default types.",type:"expression"},fill:{css:"marker-fill","default-value":"blue",doc:"The color of the area of the marker.",type:"color"},"allow-overlap":{css:"marker-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping markers are shown or hidden.","default-meaning":"Do not allow makers to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"marker-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},spacing:{css:"marker-spacing",doc:"Space between repeated labels","default-value":100,type:"float"},"max-error":{css:"marker-max-error",type:"float","default-value":.2,doc:"The maximum difference between actual marker placement and the marker-spacing parameter. Setting a high value can allow the renderer to try to resolve placement conflicts with other symbolizers."},transform:{css:"marker-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},clip:{css:"marker-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"marker-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"marker-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"marker-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},shield:{name:{css:"shield-name",type:"expression",serialization:"content",doc:'Value to use for a shield"s text label. Data columns are specified using brackets like [column_name]'},file:{css:"shield-file",required:!0,type:"uri","default-value":"none",doc:"Image file to render behind the shield text"},"face-name":{css:"shield-face-name",type:"string",validate:"font",doc:"Font name and style to use for the shield text","default-value":"",required:!0},"unlock-image":{css:"shield-unlock-image",type:"boolean",doc:"This parameter should be set to true if you are trying to position text beside rather than on top of the shield image","default-value":!1,"default-meaning":"text alignment relative to the shield image uses the center of the image as the anchor for text positioning."},size:{css:"shield-size",type:"float",doc:"The size of the shield text in pixels"},fill:{css:"shield-fill",type:"color",doc:"The color of the shield text"},placement:{css:"shield-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"How this shield should be placed. Point placement attempts to place it on top of points, line places along lines multiple times per feature, vertex places on the vertexes of polygons, and interior attempts to place inside of polygons."},"avoid-edges":{css:"shield-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.",type:"boolean","default-value":!1},"allow-overlap":{css:"shield-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping shields are shown or hidden.","default-meaning":"Do not allow shields to overlap with other map elements already placed."},"minimum-distance":{css:"shield-min-distance",type:"float","default-value":0,doc:"Minimum distance to the next shield symbol, not necessarily the same shield."},spacing:{css:"shield-spacing",type:"float","default-value":0,doc:"The spacing between repeated occurrences of the same shield on a line"},"minimum-padding":{css:"shield-min-padding","default-value":0,doc:"Determines the minimum amount of padding that a shield gets relative to other shields",type:"float"},"wrap-width":{css:"shield-wrap-width",type:"unsigned","default-value":0,doc:"Length of a chunk of text in characters before wrapping text"},"wrap-before":{css:"shield-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"shield-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long names."},"halo-fill":{css:"shield-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"shield-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},"character-spacing":{css:"shield-character-spacing",type:"unsigned","default-value":0,doc:"Horizontal spacing between characters (in pixels). Currently works for point placement only, not line placement."},"line-spacing":{css:"shield-line-spacing",doc:"Vertical spacing between lines of multiline labels (in pixels)",type:"unsigned"},dx:{css:"shield-text-dx",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"shield-text-dy",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"shield-dx":{css:"shield-dx",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},"shield-dy":{css:"shield-dy",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},opacity:{css:"shield-opacity",type:"float",doc:"(Default 1.0) - opacity of the image used for the shield","default-value":1},"text-opacity":{css:"shield-text-opacity",type:"float",doc:"(Default 1.0) - opacity of the text placed on top of the shield","default-value":1},"horizontal-alignment":{css:"shield-horizontal-alignment",type:["left","middle","right","auto"],doc:"The shield's horizontal alignment from its centerpoint","default-value":"auto"},"vertical-alignment":{css:"shield-vertical-alignment",type:["top","middle","bottom","auto"],doc:"The shield's vertical alignment from its centerpoint","default-value":"middle"},"text-transform":{css:"shield-text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"justify-alignment":{css:"shield-justify-alignment",type:["left","center","right","auto"],doc:"Define how text in a shield's label is justified","default-value":"auto"},clip:{css:"shield-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"shield-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"line-pattern":{file:{css:"line-pattern-file",type:"uri","default-value":"none",required:!0,doc:"An image file to be repeated and warped along a line"},clip:{css:"line-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"line-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"polygon-pattern":{file:{css:"polygon-pattern-file",type:"uri","default-value":"none",required:!0,doc:"Image to use as a repeated pattern fill within a polygon"},alignment:{css:"polygon-pattern-alignment",type:["local","global"],"default-value":"local",doc:"Specify whether to align pattern fills to the layer or to the map."},gamma:{css:"polygon-pattern-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon pattern edges"},opacity:{css:"polygon-pattern-opacity",type:"float",doc:"(Default 1.0) - Apply an opacity level to the image used for the pattern","default-value":1,"default-meaning":"The image is rendered without modifications"},clip:{css:"polygon-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},raster:{opacity:{css:"raster-opacity","default-value":1,"default-meaning":"opaque",type:"float",doc:"The opacity of the raster symbolizer on top of other symbolizers."},"filter-factor":{css:"raster-filter-factor","default-value":-1,"default-meaning":"Allow the datasource to choose appropriate downscaling.",type:"float",doc:"This is used by the Raster or Gdal datasources to pre-downscale images using overviews. Higher numbers can sometimes cause much better scaled image output, at the cost of speed."},scaling:{css:"raster-scaling",type:["near","fast","bilinear","bilinear8","bicubic","spline16","spline36","hanning","hamming","hermite","kaiser","quadric","catrom","gaussian","bessel","mitchell","sinc","lanczos","blackman"],"default-value":"near",doc:"The scaling algorithm used to making different resolution versions of this raster layer. Bilinear is a good compromise between speed and accuracy, while lanczos gives the highest quality."},"mesh-size":{css:"raster-mesh-size","default-value":16,"default-meaning":"Reprojection mesh will be 1/16 of the resolution of the source image",type:"unsigned",doc:"A reduced resolution mesh is used for raster reprojection, and the total image size is divided by the mesh-size to determine the quality of that mesh. Values for mesh-size larger than the default will result in faster reprojection but might lead to distortion."},"comp-op":{css:"raster-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},point:{file:{css:"point-file",type:"uri",required:!1,"default-value":"none",doc:"Image file to represent a point"},"allow-overlap":{css:"point-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping points are shown or hidden.","default-meaning":"Do not allow points to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"point-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},opacity:{css:"point-opacity",type:"float","default-value":1,"default-meaning":"Fully opaque",doc:"A value from 0 to 1 to control the opacity of the point"},placement:{css:"point-placement",type:["centroid","interior"],doc:"How this point should be placed. Centroid calculates the geometric center of a polygon, which can be outside of it, while interior always places inside of a polygon.","default-value":"centroid"},transform:{css:"point-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},"comp-op":{css:"point-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},text:{name:{css:"text-name",type:"expression",required:!0,"default-value":"",serialization:"content",doc:"Value to use for a text label. Data columns are specified using brackets like [column_name]"},"face-name":{css:"text-face-name",type:"string",validate:"font",doc:"Font name and style to render a label in",required:!0},size:{css:"text-size",type:"float","default-value":10,doc:"Text size in pixels"},"text-ratio":{css:"text-ratio",doc:"Define the amount of text (of the total) present on successive lines when wrapping occurs","default-value":0,type:"unsigned"},"wrap-width":{css:"text-wrap-width",doc:"Length of a chunk of text in characters before wrapping text","default-value":0,type:"unsigned"},"wrap-before":{css:"text-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"text-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long text."},spacing:{css:"text-spacing",type:"unsigned",doc:"Distance between repeated text labels on a line (aka. label-spacing)"},"character-spacing":{css:"text-character-spacing",type:"float","default-value":0,doc:"Horizontal spacing adjustment between characters in pixels"},"line-spacing":{css:"text-line-spacing","default-value":0,type:"unsigned",doc:"Vertical spacing adjustment between lines in pixels"},"label-position-tolerance":{css:"text-label-position-tolerance","default-value":0,type:"unsigned",doc:"Allows the label to be displaced from its ideal position by a number of pixels (only works with placement:line)"},"max-char-angle-delta":{css:"text-max-char-angle-delta",type:"float","default-value":"22.5",doc:"The maximum angle change, in degrees, allowed between adjacent characters in a label. This value internally is converted to radians to the default is 22.5*math.pi/180.0. The higher the value the fewer labels will be placed around around sharp corners."},fill:{css:"text-fill",doc:"Specifies the color for the text","default-value":"#000000",type:"color"},opacity:{css:"text-opacity",doc:"A number from 0 to 1 specifying the opacity for the text","default-value":1,"default-meaning":"Fully opaque",type:"float"},"halo-fill":{css:"text-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"text-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},dx:{css:"text-dx",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"text-dy",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"vertical-alignment":{css:"text-vertical-alignment",type:["top","middle","bottom","auto"],doc:"Position of label relative to point position.","default-value":"auto","default-meaning":'Default affected by value of dy; "bottom" for dy>0, "top" for dy<0.'},"avoid-edges":{css:"text-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.","default-value":!1,type:"boolean"},"minimum-distance":{css:"text-min-distance",doc:"Minimum permitted distance to the next text symbolizer.",type:"float"},"minimum-padding":{css:"text-min-padding",doc:"Determines the minimum amount of padding that a text symbolizer gets relative to other text",type:"float"},"minimum-path-length":{css:"text-min-path-length",type:"float","default-value":0,"default-meaning":"place labels on all paths",doc:"Place labels only on paths longer than this value."},"allow-overlap":{css:"text-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping text is shown or hidden.","default-meaning":"Do not allow text to overlap with other text - overlapping markers will not be shown."},orientation:{css:"text-orientation",type:"expression",doc:"Rotate the text."},placement:{css:"text-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"Control the style of placement of a point versus the geometry it is attached to."},"placement-type":{css:"text-placement-type",doc:'Re-position and/or re-size text to avoid overlaps. "simple" for basic algorithm (using text-placements string,) "dummy" to turn this feature off.',type:["dummy","simple"],"default-value":"dummy"},placements:{css:"text-placements",type:"string","default-value":"",doc:'If "placement-type" is set to "simple", use this "POSITIONS,[SIZES]" string. An example is `text-placements: "E,NE,SE,W,NW,SW";` '},"text-transform":{css:"text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"horizontal-alignment":{css:"text-horizontal-alignment",type:["left","middle","right","auto"],doc:"The text's horizontal alignment from its centerpoint","default-value":"auto"},"justify-alignment":{css:"text-align",type:["left","right","center","auto"],doc:"Define how text is justified","default-value":"auto","default-meaning":"Auto alignment means that text will be centered by default except when using the `placement-type` parameter - in that case either right or left justification will be used automatically depending on where the text could be fit given the `text-placements` directives"},clip:{css:"text-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"text-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},building:{fill:{css:"building-fill","default-value":"#FFFFFF",doc:"The color of the buildings walls.",type:"color"},"fill-opacity":{css:"building-fill-opacity",type:"float",doc:"The opacity of the building as a whole, including all walls.","default-value":1},height:{css:"building-height",doc:"The height of the building in pixels.",type:"expression","default-value":"0"}}},colors:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50],transparent:[0,0,0,0]},filter:{value:["true","false","null","point","linestring","polygon","collection"]}},En.mapnik_reference={version:{latest:s._mapnik_reference_latest,"2.1.1":s._mapnik_reference_latest}},s.CartoCSS=En,s.CartoCSS.Tree={},s.CartoCSS.Tree.operate=function(e,t,r){switch(e){case"+":return t+r;case"-":return t-r;case"*":return t*r;case"%":return t%r;case"/":return t/r}},s.CartoCSS.Tree.functions={rgb:function(e,t,r){return this.rgba(e,t,r,1)},rgba:function(e,t,r,i){var n=this,a=[e,t,r].map(function(e){return n.number(e)});return i=n.number(i),a.some(isNaN)||isNaN(i)?null:new s.CartoCSS.Tree.Color(a,i)},stop:function(e){var t,r;return arguments.length>1&&(t=arguments[1]),arguments.length>2&&(r=arguments[2]),{is:"tag",val:e,color:t,mode:r,toString:s=>'\n\t"}},hsl:function(e,t,r){return this.hsla(e,t,r,1)},hsla:function(e,t,r,s){if([e=this.number(e)%360/360,t=this.number(t),r=this.number(r),s=this.number(s)].some(isNaN))return null;var i=r<=.5?r*(t+1):r+t-r*t,n=2*r-i;return this.rgba(255*a(e+1/3),255*a(e),255*a(e-1/3),s);function a(e){return 6*(e=e<0?e+1:e>1?e-1:e)<1?n+(i-n)*e*6:2*e<1?i:3*e<2?n+(i-n)*(2/3-e)*6:n}},hue:function(e){return"toHSL"in e?new s.CartoCSS.Tree.Dimension(Math.round(e.toHSL().h)):null},saturation:function(e){return"toHSL"in e?new s.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().s),"%"):null},lightness:function(e){return"toHSL"in e?new s.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().l),"%"):null},alpha:function(e){return"toHSL"in e?new s.CartoCSS.Tree.Dimension(e.toHSL().a):null},saturate:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.s+=t.value/100,r.s=this.clamp(r.s),this.hsla_simple(r)},desaturate:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.s-=t.value/100,r.s=this.clamp(r.s),this.hsla_simple(r)},lighten:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.l+=t.value/100,r.l=this.clamp(r.l),this.hsla_simple(r)},darken:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.l-=t.value/100,r.l=this.clamp(r.l),this.hsla_simple(r)},fadein:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.a+=t.value/100,r.a=this.clamp(r.a),this.hsla_simple(r)},fadeout:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.a-=t.value/100,r.a=this.clamp(r.a),this.hsla_simple(r)},spin:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL(),s=(r.h+t.value)%360;return r.h=s<0?360+s:s,this.hsla_simple(r)},replace:function(e,t,r){return"field"===e.is?e.toString+".replace("+t.toString()+", "+r.toString()+")":e.replace(t,r)},mix:function(e,t,r){var i=r.value/100,n=2*i-1,a=e.toHSL().a-t.toHSL().a,o=((n*a==-1?n:(n+a)/(1+n*a))+1)/2,l=1-o,h=[e.rgb[0]*o+t.rgb[0]*l,e.rgb[1]*o+t.rgb[1]*l,e.rgb[2]*o+t.rgb[2]*l],u=e.alpha*i+t.alpha*(1-i);return new s.CartoCSS.Tree.Color(h,u)},greyscale:function(e){return this.desaturate(e,new s.CartoCSS.Tree.Dimension(100))},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),r=e.value,i=0;i.5?h/(2-a-o):h/(a+o),a){case r:e=(s-i)/h+(s=0){if(!e.ppi)return e.error({message:"ppi is not set, so metric units can't be used",index:this.index}),{is:"undefined",value:"undefined"};this.value=this.value/this.densities[this.unit]*e.ppi,this.unit="px"}return this}toColor(){return new s.CartoCSS.Tree.Color([this.value,this.value,this.value])}round(){return this.value=Math.round(this.value),this}toString(){return this.value.toString()}operate(e,t,r){return"%"===this.unit&&"%"!==r.unit?(e.error({message:"If two operands differ, the first must not be %",index:this.index}),{is:"undefined",value:"undefined"}):"%"!==this.unit&&"%"===r.unit?"*"===t||"/"===t||"%"===t?(e.error({message:"Percent values can only be added or subtracted from other values",index:this.index}),{is:"undefined",value:"undefined"}):new s.CartoCSS.Tree.Dimension(s.CartoCSS.Tree.operate(t,this.value,this.value*r.value*.01),this.unit):new s.CartoCSS.Tree.Dimension(s.CartoCSS.Tree.operate(t,this.value,r.value),this.unit||r.unit)}},s.CartoCSS.Tree.Element=class{constructor(e){this.value=e.trim(),"#"===this.value[0]&&(this.type="id",this.clean=this.value.replace(/^#/,"")),"."===this.value[0]&&(this.type="class",this.clean=this.value.replace(/^\./,"")),-1!==this.value.indexOf("*")&&(this.type="wildcard")}specificity(){return["id"===this.type?1:0,"class"===this.type?1:0]}toString(){return this.value}},s.CartoCSS.Tree.Expression=class{constructor(e){this.is="expression",this.value=e}ev(e){return this.value.length>1?new s.CartoCSS.Tree.Expression(this.value.map(function(t){return t.ev(e)})):this.value[0].ev(e)}toString(e){return this.value.map(function(t){return t.toString(e)}).join(" ")}},s.CartoCSS.Tree.Field=class{constructor(e){this.is="field",this.value=e||""}toString(){return'["'+this.value.toUpperCase()+'"]'}ev(){return this}},s.CartoCSS.Tree.Filter=class{constructor(e,t,r,s,i){this.ops={"<":[" < ","numeric"],">":[" > ","numeric"],"=":[" = ","both"],"!=":[" != ","both"],"<=":[" <= ","numeric"],">=":[" >= ","numeric"],"=~":[".match(","string",")"]},this.key=e,this.op=t,this.val=r,this.index=s,this.filename=i,this.id=this.key+this.op+this.val}ev(e){return this.key=this.key.ev(e),this.val=this.val.ev(e),this}toString(){return"["+this.id+"]"}},s.CartoCSS.Tree.Filterset=class{constructor(){this.filters={}}toJS(e){function t(e){var t=e.op;"="===t&&(t="==");var r=e.val;void 0!==e._val&&(r=e._val.toString(!0)),e.key&&"scale"===e.key.value?r=+r:"string"!=typeof r&&"object"!=typeof r||(r="'"+r+"'");var s="attributes";return s+"&&"+s+e.key+"&&"+s+e.key+" "+t+r}var r=[];for(var s in this.filters)r.push(t(this.filters[s]));return r.join(" && ")}toString(){var e=[];for(var t in this.filters)e.push(this.filters[t].id);return e.sort().join("\t")}ev(e){for(var t in this.filters)this.filters[t].ev(e);return this}clone(){var e=new s.CartoCSS.Tree.Filterset;for(var t in this.filters)e.filters[t]=this.filters[t];return e}cloneWith(e){var t=[];for(var r in e.filters){var i=this.addable(e.filters[r]);if(!1===i)return!1;!0===i&&t.push(e.filters[r])}if(!t.length)return null;var n=new s.CartoCSS.Tree.Filterset;for(r in this.filters)n.filters[r]=this.filters[r];for(;r=t.shift();)n.add(r);return n}addable(e){var t=e.key.toString(),r=e.val.toString();switch(r.match(/^[0-9]+(\.[0-9]*)?$/)&&(r=parseFloat(r)),e.op){case"=":return void 0!==this.filters[t+"="]?this.filters[t+"="].val.toString()==r&&null:void 0===this.filters[t+"!="+r]&&(!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)&&!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val"]&&this.filters[t+">"].val>=r?null:void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val":return t+"="in this.filters?!(this.filters[t+"="].val<=r)&&null:!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r)&&(!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=r)&&(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)||null));case">=":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val"]&&this.filters[t+">"].val>=r?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=r)||null));case"<":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val>=r)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=r)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].valr)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=r)||null))}}conflict(e){var t=e.key.toString(),r=e.val.toString();return isNaN(parseFloat(r))||(r=parseFloat(r)),("="===e.op&&void 0!==this.filters[t+"="]&&r!=this.filters[t+"="].val.toString()||"!="===e.op&&void 0!==this.filters[t+"="]&&r==this.filters[t+"="].val.toString()||"="===e.op&&void 0!==this.filters[t+"!="]&&r===this.filters[t+"!="].val.toString())&&e.toString()+" added to "+this.toString()+" produces an invalid filter"}add(e,t){var r,s=e.key.toString(),i=e.op,n=this.conflict(e);if(n)return n;if("="===i){for(var a in this.filters)this.filters[a].key===s&&delete this.filters[a];this.filters[s+"="]=e}else if("!="===i)this.filters[s+"!="+e.val]=e;else if("=~"===i)this.filters[s+"=~"+e.val]=e;else if(">"===i){for(var o in this.filters)this.filters[o].key===s&&this.filters[o].val<=e.val&&delete this.filters[o];this.filters[s+">"]=e}else if(">="===i){for(var l in this.filters)r=+this.filters[l].val.toString(),this.filters[l].key===s&&r",this.filters[s+">"]=e):this.filters[s+">="]=e}else if("<"===i){for(var h in this.filters)r=+this.filters[h].val.toString(),this.filters[h].key===s&&r>=e.val&&delete this.filters[h];this.filters[s+"<"]=e}else if("<="===i){for(var u in this.filters)r=+this.filters[u].val.toString(),this.filters[u].key===s&&r>e.val&&delete this.filters[u];void 0!==this.filters[s+"!="+e.val]?(delete this.filters[s+"!="+e.val],e.op="<",this.filters[s+"<"]=e):this.filters[s+"<="]=e}}},s.CartoCSS.Tree.Fontset=class{constructor(e,t){this.fonts=t,this.name="fontset-"+e.effects.length}},s.CartoCSS.Tree.Invalid=class{constructor(e,t,r){this.is="invalid",this.chunk=e,this.index=t,this.type="syntax",this.message=r||"Invalid code: "+this.chunk}ev(e){return e.error({chunk:this.chunk,index:this.index,type:"syntax",message:this.message||"Invalid code: "+this.chunk}),{is:"undefined"}}},s.CartoCSS.Tree.Keyword=class{ev(){return this}constructor(e){this.value=e;var t={transparent:"color",true:"boolean",false:"boolean"};this.is=t[e]?t[e]:"keyword"}toString(){return this.value}},s.CartoCSS.Tree.Literal=class{constructor(e){this.value=e||"",this.is="field"}toString(){return this.value}ev(){return this}},s.CartoCSS.Tree.Operation=class{constructor(e,t,r){this.is="operation",this.op=e.trim(),this.operands=t,this.index=r}ev(e){var t,r=this.operands[0].ev(e),i=this.operands[1].ev(e);return"undefined"===r.is||"undefined"===i.is?{is:"undefined",value:"undefined"}:(r instanceof s.CartoCSS.Tree.Dimension&&i instanceof s.CartoCSS.Tree.Color&&("*"===this.op||"+"===this.op?(t=i,i=r,r=t):e.error({name:"OperationError",message:"Can't substract or divide a color from a number",index:this.index})),r instanceof s.CartoCSS.Tree.Quoted&&i instanceof s.CartoCSS.Tree.Quoted&&"+"!==this.op?(e.error({message:"Can't subtract, divide, or multiply strings.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):r instanceof s.CartoCSS.Tree.Field||i instanceof s.CartoCSS.Tree.Field||r instanceof s.CartoCSS.Tree.Literal||i instanceof s.CartoCSS.Tree.Literal?"color"===r.is||"color"===i.is?(e.error({message:"Can't subtract, divide, or multiply colors in expressions.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):new s.CartoCSS.Tree.Literal(r.ev(e).toString(!0)+this.op+i.ev(e).toString(!0)):void 0===r.operate?(e.error({message:"Cannot do math with type "+r.is+".",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):r.operate(e,this.op,i))}},s.CartoCSS.Tree.Quoted=class{constructor(e){this.is="string",this.value=e||""}toString(e){var t=this.value.replace(/&/g,"&"),r=t.replace(/\'/g,"\\'").replace(/\"/g,""").replace(//g,">");return!0===e?"'"+r+"'":t}ev(){return this}operate(e,t,r){return new s.CartoCSS.Tree.Quoted(s.CartoCSS.Tree.operate(t,this.toString(),r.toString(this.contains_field)))}},s.CartoCSS.Tree.Reference={_validateValue:{font:function(e,t){return!e.validation_data||!e.validation_data.fonts||-1!=e.validation_data.fonts.indexOf(t)}},setData:function(e){this.data=e,this.selector_cache=function(e){var t={};for(var r in e.symbolizers)for(var s in e.symbolizers[r])e.symbolizers[r][s].hasOwnProperty("css")&&(t[e.symbolizers[r][s].css]=[e.symbolizers[r][s],r,s]);return t}(e),this.mapnikFunctions=function(e){var t={};for(var r in e.symbolizers)for(var s in e.symbolizers[r])if("functions"===e.symbolizers[r][s].type)for(var i=0;i1?Array.prototype.push.apply(r,i.find(new s.CartoCSS.Tree.Selector(null,null,e.elements.slice(1)),t)):r.push(i);break}}),this._lookups[i]=r)}evZooms(e){for(var t=0;ts.CartoCSS.Tree.Zoom.maxZoom||t<0)&&e.error({message:"Only zoom levels between 0 and "+s.CartoCSS.Tree.Zoom.maxZoom+" supported.",index:this.index}),this.op){case"=":return this.zoom="zoom && zoom === "+t,this;case">":this.zoom="zoom && zoom > "+t;break;case">=":this.zoom="zoom && zoom >= "+t;break;case"<":this.zoom="zoom && zoom < "+t;break;case"<=":this.zoom="zoom && zoom <= "+t;break;default:return this}return this}toString(){for(var e="",t=0;t<=s.CartoCSS.Tree.Zoom.maxZoom;t++)e+=this.zoom&1<3&&(t=Array.prototype.slice.call(t,1));for(var s=this._handlers[e],i=s.length,n=0;n4&&(t=Array.prototype.slice.call(t,1,t.length-1));for(var s=t[t.length-1],i=this._handlers[e],n=i.length,a=0;an&&(n=e+o+100,s.width=n,r=!0),t+l>a&&(a=t+l+100,s.height=a,r=!0),e<-o&&(n+=o=100*Math.ceil(-e/100),s.width=n,r=!0),t<-l&&(a+=l=100*Math.ceil(-t/100),s.height=a,r=!0),r&&i.translate(o,l)}getPixelOffset(){return{x:this._offsetX,y:this._offsetY}}indexOf(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,s=e.length;r-this.EPSILON&&ethis.EPSILON||e<-this.EPSILON}cubicAt(e,t,r,s,i){var n=1-i;return n*n*(n*e+3*i*t)+i*i*(i*s+3*n*r)}cubicDerivativeAt(e,t,r,s,i){var n=1-i;return 3*(((t-e)*n+2*(r-t)*i)*n+(s-r)*i*i)}cubicRootAt(e,t,r,s,i,n){var a=s+3*(t-r)-e,o=3*(r-2*t+e),l=3*(t-e),h=e-i,u=o*o-3*a*l,c=o*l-9*a*h,d=l*l-3*o*h,p=0;if(this.isAroundZero(u)&&this.isAroundZero(c))if(this.isAroundZero(o))n[0]=0;else{let e=-l/o;e>=0&&e<=1&&(n[p++]=e)}else{var m=c*c-4*u*d;if(this.isAroundZero(m)){var f=c/u;let e=-o/a+f,t=-f/2;e>=0&&e<=1&&(n[p++]=e),t>=0&&t<=1&&(n[p++]=t)}else if(m>0){let e=Math.sqrt(m),t=u*o+1.5*a*(-c+e),r=u*o+1.5*a*(-c-e),s=(-o-((t=t<0?-Math.pow(-t,this.ONE_THIRD):Math.pow(t,this.ONE_THIRD))+(r=r<0?-Math.pow(-r,this.ONE_THIRD):Math.pow(r,this.ONE_THIRD))))/(3*a);s>=0&&s<=1&&(n[p++]=s)}else{var y=(2*u*o-3*a*c)/(2*Math.sqrt(u*u*u)),g=Math.acos(y)/3,v=Math.sqrt(u),S=Math.cos(g);let e=(-o-2*v*S)/(3*a),t=(-o+v*(S+this.THREE_SQRT*Math.sin(g)))/(3*a),r=(-o+v*(S-this.THREE_SQRT*Math.sin(g)))/(3*a);e>=0&&e<=1&&(n[p++]=e),t>=0&&t<=1&&(n[p++]=t),r>=0&&r<=1&&(n[p++]=r)}}return p}cubicExtrema(e,t,r,s,i){var n=6*r-12*t+6*e,a=9*t+3*s-3*e-9*r,o=3*t-3*e,l=0;if(this.isAroundZero(a)){if(this.isNotAroundZero(n)){let e=-o/n;e>=0&&e<=1&&(i[l++]=e)}}else{var h=n*n-4*a*o;if(this.isAroundZero(h))i[0]=-n/(2*a);else if(h>0){let e=Math.sqrt(h),t=(-n+e)/(2*a),r=(-n-e)/(2*a);t>=0&&t<=1&&(i[l++]=t),r>=0&&r<=1&&(i[l++]=r)}}return l}cubicSubdivide(e,t,r,s,i,n){var a=(t-e)*i+e,o=(r-t)*i+t,l=(s-r)*i+r,h=(o-a)*i+a,u=(l-o)*i+o,c=(u-h)*i+h;n[0]=e,n[1]=a,n[2]=h,n[3]=c,n[4]=c,n[5]=u,n[6]=l,n[7]=s}cubicProjectPoint(e,t,r,s,i,n,a,o,l,h,u){var c,d=this.vector.create(),p=this.vector.create(),m=this.vector.create(),f=.005,y=1/0;d[0]=l,d[1]=h;for(let l=0;l<1;l+=.05){p[0]=this.cubicAt(e,r,i,a,l),p[1]=this.cubicAt(t,s,n,o,l);let h=this.vector.distSquare(d,p);h=0&&u=0&&h<=1&&(i[l++]=h)}}else{var u=a*a-4*n*o;if(this.isAroundZero(u)){let e=-a/(2*n);e>=0&&e<=1&&(i[l++]=e)}else if(u>0){let e=Math.sqrt(u),t=(-a+e)/(2*n),r=(-a-e)/(2*n);t>=0&&t<=1&&(i[l++]=t),r>=0&&r<=1&&(i[l++]=r)}}return l}quadraticExtremum(e,t,r){var s=e+r-2*t;return 0===s?.5:(e-t)/s}quadraticProjectPoint(e,t,r,s,i,n,a,o,l){var h,u=this.vector.create(),c=this.vector.create(),d=this.vector.create(),p=.005,m=1/0;u[0]=a,u[1]=o;for(let a=0;a<1;a+=.05){c[0]=this.quadraticAt(e,r,i,a),c[1]=this.quadraticAt(t,s,n,a);let o=this.vector.distSquare(u,c);o=0&&l1)for(var i=0,n=s-1;i1?Math.ceil(e):e}),t.indexOf("hex")>-1)return"#"+((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1);if(t.indexOf("hs")>-1){var r=this.map(e.slice(1,3),function(e){return e+"%"});e[1]=r[0],e[2]=r[1]}return t.indexOf("a")>-1?(3===e.length&&e.push(1),e[3]=this.adjust(e[3],[0,1]),t+"("+e.slice(0,4).join(",")+")"):t+"("+e.slice(0,3).join(",")+")"}}toArray(e){(e=this.trim(e)).indexOf("rgba")<0&&(e=this.toRGBA(e));var t=[],r=0;return e.replace(/[\d.]+/g,function(e){r<3?e|=0:e=+e,t[r++]=e}),t}convert(e,t){if(!this.isCalculableColor(e))return e;var r=this.getData(e),s=r[3];return void 0===s&&(s=1),e.indexOf("hsb")>-1?r=this._HSV_2_RGB(r):e.indexOf("hsl")>-1&&(r=this._HSL_2_RGB(r)),t.indexOf("hsb")>-1||t.indexOf("hsv")>-1?r=this._RGB_2_HSB(r):t.indexOf("hsl")>-1&&(r=this._RGB_2_HSL(r)),r[3]=s,this.toColor(r,t)}toRGBA(e){return this.convert(e,"rgba")}toRGB(e){return this.convert(e,"rgb")}toHex(e){return this.convert(e,"hex")}toHSVA(e){return this.convert(e,"hsva")}toHSV(e){return this.convert(e,"hsv")}toHSBA(e){return this.convert(e,"hsba")}toHSB(e){return this.convert(e,"hsb")}toHSLA(e){return this.convert(e,"hsla")}toHSL(e){return this.convert(e,"hsl")}toName(e){for(var t in this._nameColors)if(this.toHex(this._nameColors[t])===this.toHex(e))return t;return null}trim(e){return String(e).replace(/\s+/g,"")}normalize(e){if(this._nameColors[e]&&(e=this._nameColors[e]),e=(e=this.trim(e)).replace(/hsv/i,"hsb"),/^#[\da-f]{3}$/i.test(e)){var t=(3840&(e=parseInt(e.slice(1),16)))<<8,r=(240&e)<<4,s=15&e;e="#"+((1<<24)+(t<<4)+t+(r<<4)+r+(s<<4)+s).toString(16).slice(1)}return e}lift(e,t){if(!this.isCalculableColor(e))return e;var r=t>0?1:-1;void 0===t&&(t=0),t=Math.abs(t)>1?1:Math.abs(t),e=this.toRGB(e);for(var s=this.getData(e),i=0;i<3;i++)s[i]=1===r?s[i]*(1-t)|0:(255-s[i])*t+s[i]|0;return"rgb("+s.join(",")+")"}reverse(e){if(!this.isCalculableColor(e))return e;var t=this.getData(this.toRGBA(e));return t=this.map(t,function(e){return 255-e}),this.toColor(t,"rgb")}mix(e,t,r){if(!this.isCalculableColor(e)||!this.isCalculableColor(t))return e;void 0===r&&(r=.5);for(var s=2*(r=1-this.adjust(r,[0,1]))-1,i=this.getData(this.toRGBA(e)),n=this.getData(this.toRGBA(t)),a=i[3]-n[3],o=((s*a==-1?s:(s+a)/(1+s*a))+1)/2,l=1-o,h=[],u=0;u<3;u++)h[u]=i[u]*o+n[u]*l;var c=i[3]*r+n[3]*(1-r);return c=Math.max(0,Math.min(1,c)),1===i[3]&&1===n[3]?this.toColor(h,"rgb"):(h[3]=c,this.toColor(h,"rgba"))}random(){return"#"+Math.random().toString(16).slice(2,8)}getData(e){var t,r,s=(e=this.normalize(e)).match(this.colorRegExp);if(null===s)throw new Error("The color format error");var i,n=[];if(s[2])i=[(t=s[2].replace("#","").split(""))[0]+t[1],t[2]+t[3],t[4]+t[5]],n=this.map(i,function(e){return Bn.prototype.adjust.call(this,parseInt(e,16),[0,255])});else if(s[4]){var a=s[4].split(",");r=a[3],i=a.slice(0,3),n=this.map(i,function(e){return e=Math.floor(e.indexOf("%")>0?2.55*parseInt(e,0):e),Bn.prototype.adjust.call(this,e,[0,255])}),void 0!==r&&n.push(this.adjust(parseFloat(r),[0,1]))}else if(s[5]||s[6]){var o=(s[5]||s[6]).split(","),l=parseInt(o[0],0)/360,h=o[1],u=o[2];r=o[3],(n=this.map([h,u],function(e){return Bn.prototype.adjust.call(this,parseFloat(e)/100,[0,1])})).unshift(l),void 0!==r&&n.push(this.adjust(parseFloat(r),[0,1]))}return n}alpha(e,t){if(!this.isCalculableColor(e))return e;null===t&&(t=1);var r=this.getData(this.toRGBA(e));return r[3]=this.adjust(Number(t).toFixed(4),[0,1]),this.toColor(r,"rgba")}map(e,t){if("function"!=typeof t)throw new TypeError;for(var r=e?e.length:0,s=0;s=t[1]&&(e=t[1]),e}isCalculableColor(e){return e instanceof Array||"string"==typeof e}_HSV_2_RGB(e){var t,r,s,i=e[0],n=e[1],a=e[2];if(0===n)t=255*a,r=255*a,s=255*a;else{var o=6*i;6===o&&(o=0);var l=0|o,h=a*(1-n),u=a*(1-n*(o-l)),c=a*(1-n*(1-(o-l))),d=0,p=0,m=0;0===l?(d=a,p=c,m=h):1===l?(d=u,p=a,m=h):2===l?(d=h,p=a,m=c):3===l?(d=h,p=u,m=a):4===l?(d=c,p=h,m=a):(d=a,p=h,m=u),t=255*d,r=255*p,s=255*m}return[t,r,s]}_HSL_2_RGB(e){var t,r,s,i=e[0],n=e[1],a=e[2];if(0===n)t=255*a,r=255*a,s=255*a;else{var o,l=2*a-(o=a<.5?a*(1+n):a+n-n*a);t=255*this._HUE_2_RGB(l,o,i+1/3),r=255*this._HUE_2_RGB(l,o,i),s=255*this._HUE_2_RGB(l,o,i-1/3)}return[t,r,s]}_HUE_2_RGB(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),6*r<1?e+6*(t-e)*r:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}_RGB_2_HSB(e){var t,r,s=e[0]/255,i=e[1]/255,n=e[2]/255,a=Math.min(s,i,n),o=Math.max(s,i,n),l=o-a,h=o;if(0===l)t=0,r=0;else{r=l/o;var u=((o-s)/6+l/2)/l,c=((o-i)/6+l/2)/l,d=((o-n)/6+l/2)/l;s===o?t=d-c:i===o?t=1/3+u-d:n===o&&(t=2/3+c-u),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,r*=100,h*=100]}_RGB_2_HSL(e){var t,r,s=e[0]/255,i=e[1]/255,n=e[2]/255,a=Math.min(s,i,n),o=Math.max(s,i,n),l=o-a,h=(o+a)/2;if(0===l)t=0,r=0;else{r=h<.5?l/(o+a):l/(2-o-a);var u=((o-s)/6+l/2)/l,c=((o-i)/6+l/2)/l,d=((o-n)/6+l/2)/l;s===o?t=d-c:i===o?t=1/3+u-d:n===o&&(t=2/3+c-u),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,r*=100,h*=100]}}class Gn{}Gn.EVENT={RESIZE:"resize",CLICK:"click",DBLCLICK:"dblclick",MOUSEWHEEL:"mousewheel",MOUSEMOVE:"mousemove",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",GLOBALOUT:"globalout",DRAGSTART:"dragstart",DRAGEND:"dragend",DRAGENTER:"dragenter",DRAGOVER:"dragover",DRAGLEAVE:"dragleave",DROP:"drop",touchClickDelay:300},Gn.catchBrushException=!1,Gn.debugMode=0;class Un{static SUtil_smoothBezier(e,t,r,s,i){i&&2===i||(i=[0,0]);var n,a,o=i,l=[],h=[],u=[],c=[],d=!!s;if(d){n=[1/0,1/0],a=[-1/0,-1/0];let t=e.length;for(let r=0;rn-2?n-1:d+1][0]+i[0],e[d>n-2?n-1:d+1][1]+i[1]],u=[e[d>n-3?n-1:d+2][0]+i[0],e[d>n-3?n-1:d+2][1]+i[1]]);let f=p*p,y=p*f;a.push([h(s[0],m[0],o[0],u[0],p,f,y),h(s[1],m[1],o[1],u[1],p,f,y)])}return a;function h(e,t,r,s,i,n,a){var o=.5*(r-e),l=.5*(s-t);return(2*(t-r)+o+l)*a+(-3*(t-r)-2*o-l)*n+o*i+t}}static SUtil_dashedLineTo(e,t,r,s,i,n,a){var o=[5,5];if(n="number"!=typeof n?5:n,e.setLineDash)return o[0]=n,o[1]=n,a&&a instanceof Array?e.setLineDash(a):e.setLineDash(o),e.moveTo(t,r),void e.lineTo(s,i);var l=s-t,h=i-r,u=Math.floor(Math.sqrt(l*l+h*h)/n);l/=u,h/=u;for(var c=!0,d=0;d0){for(var i=this.isInsidePolygon(t.pointList,u,c),n=e.holePolygonPointLists,a=!1,o=0,l=n.length;ot+o&&a>s+o||ae+o&&n>r+o||nt+c&&u>s+c&&u>n+c&&u>o+c||ue+c&&h>r+c&&h>i+c&&h>a+c||ht+h&&l>s+h&&l>n+h||le+h&&o>r+h&&o>i+h||or||c+u=h)return!0;if(n){var d=s;s=this.normalizeRadian(i),i=this.normalizeRadian(d)}else s=this.normalizeRadian(s),i=this.normalizeRadian(i);s>i&&(i+=h);var p=Math.atan2(l,o);return p<0&&(p+=h),p>=s&&p<=i||p+h>=s&&p+h<=i}isInsideBrokenLine(e,t,r,s){for(var i=Math.max(t,10),n=0,a=e.length-1;nr*r}isInsideRect(e,t,r,s,i,n){return i>=e&&i<=e+r&&n>=t&&n<=t+s}isInsideCircle(e,t,r,s,i){return(s-e)*(s-e)+(i-t)*(i-t)t&&n>s||ni?st&&h>s&&h>n&&h>o||h1&&this.swapExtrema(),m=u.cubicAt(t,s,n,o,d[0]),g>1&&(f=u.cubicAt(t,s,n,o,d[1]))),2==g?St&&o>s&&o>n||o=0&&c<=1){var d=0,p=l.quadraticAt(t,s,n,c);for(let s=0;sa||(h[s]a?0:nr||o<-r)return 0;let u=Math.sqrt(r*r-o*o);if(l[0]=-u,l[1]=u,Math.abs(s-i)>=h){s=0,i=h;var c=n?1:-1;return a>=l[0]+e&&a<=l[1]+e?c:0}if(n){let e=s;s=this.normalizeRadian(i),i=this.normalizeRadian(e)}else s=this.normalizeRadian(s),i=this.normalizeRadian(i);s>i&&(i+=h);var d=0;for(let t=0;t<2;t++){var p=l[t];if(p+e>a){let e=Math.atan2(o,p),t=n?1:-1;e<0&&(e=h+e),(e>=s&&e<=i||e+h>=s&&e+h<=i)&&(e>Math.PI/2&&e<1.5*Math.PI&&(t=-t),d+=t)}}return d}isInsidePath(e,t,r,s,i){for(var n=0,a=0,o=0,l=0,h=0,u=!0,c=!0,d="stroke"===(r=r||"fill")||"both"===r,p="fill"===r||"both"===r,m=0;m0&&(p&&(n+=this.windingLine(a,o,l,h,s,i)),0!==n))return!0;l=y[y.length-2],h=y[y.length-1],u=!1,c&&"A"!==f.command&&(c=!1,a=l,o=h)}switch(f.command){case"M":a=y[0],o=y[1];break;case"L":if(d&&this.isInsideLine(a,o,y[0],y[1],t,s,i))return!0;p&&(n+=this.windingLine(a,o,y[0],y[1],s,i)),a=y[0],o=y[1];break;case"C":if(d&&this.isInsideCubicStroke(a,o,y[0],y[1],y[2],y[3],y[4],y[5],t,s,i))return!0;p&&(n+=this.windingCubic(a,o,y[0],y[1],y[2],y[3],y[4],y[5],s,i)),a=y[4],o=y[5];break;case"Q":if(d&&this.isInsideQuadraticStroke(a,o,y[0],y[1],y[2],y[3],t,s,i))return!0;p&&(n+=this.windingQuadratic(a,o,y[0],y[1],y[2],y[3],s,i)),a=y[2],o=y[3];break;case"A":var g=y[0],v=y[1],S=y[2],b=y[3],x=y[4],C=y[5],T=Math.cos(x)*S+g,E=Math.sin(x)*b+v;c?(c=!1,l=T,h=E):n+=this.windingLine(a,o,T,E);var w=(s-g)*b/S+g;if(d&&this.isInsideArcStroke(g,v,b,x,x+C,1-y[7],t,w,i))return!0;p&&(n+=this.windingArc(g,v,b,x,x+C,1-y[7],w,i)),a=Math.cos(x+C)*S+g,o=Math.sin(x+C)*b+v;break;case"z":if(d&&this.isInsideLine(a,o,l,h,t,s,i))return!0;u=!0}}return p&&(n+=this.windingLine(a,o,l,h,s,i)),0!==n}getTextWidth(e,t){var r=e+":"+t;if(this._textWidthCache[r])return this._textWidthCache[r];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t);for(var s=0,i=0,n=(e=(e+"").split("\n")).length;ithis.TEXT_CACHE_MAX&&(this._textWidthCacheCounter=0,this._textWidthCache={}),s}getTextHeight(e,t){var r=e+":"+t;if(this._textHeightCache[r])return this._textHeightCache[r];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t),e=(e+"").split("\n");var s=(this._ctx.measureText("ZH").width+2)*e.length;return this._ctx.restore(),this._textHeightCache[r]=s,++this._textHeightCacheCounter>this.TEXT_CACHE_MAX&&(this._textHeightCacheCounter=0,this._textHeightCache={}),s}},Un.Util_color=new Bn,Un.Util_computeBoundingBox=new class{constructor(){3===arguments.length&&this.computeBoundingBox(arguments),this.CLASS_NAME="SuperMap.LevelRenderer.Tool.ComputeBoundingBox"}computeBoundingBox(e,t,r){if(0!==e.length){for(var s=e[0][0],i=e[0][0],n=e[0][1],a=e[0][1],o=1;oi&&(i=l[0]),l[1]a&&(a=l[1])}t[0]=s,t[1]=n,r[0]=i,r[1]=a}}cubeBezier(e,t,r,s,i,n){var a=new kn,o=[];a.cubicExtrema(e[0],t[0],r[0],s[0],o);for(let i=0;ii&&!n?i+=2*Math.PI:ss&&(c[0]=Math.cos(p)*r+e,c[1]=Math.sin(p)*r+t,l.min(a,c,a),l.max(o,c,o))}},Un.Util_curve=new kn,Un.Util_env=new class{constructor(){this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Env";var e,t,r,s,i,n,a,o,l,h,u,c,d,p,m,f,y,g,v,S,b,x=this;return e=navigator.userAgent,t=x.os={},r=x.browser={},s=e.match(/Web[kK]it[\/]{0,1}([\d.]+)/),i=e.match(/(Android);?[\s\/]+([\d.]+)?/),n=e.match(/(iPad).*OS\s([\d_]+)/),a=e.match(/(iPod)(.*OS\s([\d_]+))?/),o=!n&&e.match(/(iPhone\sOS)\s([\d_]+)/),l=e.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),h=l&&e.match(/TouchPad/),u=e.match(/Kindle\/([\d.]+)/),c=e.match(/Silk\/([\d._]+)/),d=e.match(/(BlackBerry).*Version\/([\d.]+)/),p=e.match(/(BB10).*Version\/([\d.]+)/),m=e.match(/(RIM\sTablet\sOS)\s([\d.]+)/),f=e.match(/PlayBook/),y=e.match(/Chrome\/([\d.]+)/)||e.match(/CriOS\/([\d.]+)/),g=e.match(/Firefox\/([\d.]+)/),v=e.match(/MSIE ([\d.]+)/),S=s&&e.match(/Mobile\//)&&!y,b=e.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/)&&!y,(r.webkit=!!s)&&(r.version=s[1]),i&&(t.android=!0,t.version=i[2]),o&&!a&&(t.ios=t.iphone=!0,t.version=o[2].replace(/_/g,".")),n&&(t.ios=t.ipad=!0,t.version=n[2].replace(/_/g,".")),a&&(t.ios=t.ipod=!0,t.version=a[3]?a[3].replace(/_/g,"."):null),l&&(t.webos=!0,t.version=l[2]),h&&(t.touchpad=!0),d&&(t.blackberry=!0,t.version=d[2]),p&&(t.bb10=!0,t.version=p[2]),m&&(t.rimtabletos=!0,t.version=m[2]),f&&(r.playbook=!0),u&&(t.kindle=!0,t.version=u[1]),c&&(r.silk=!0,r.version=c[1]),!c&&t.android&&e.match(/Kindle Fire/)&&(r.silk=!0),y&&(r.chrome=!0,r.version=y[1]),g&&(r.firefox=!0,r.version=g[1]),v&&(r.ie=!0,r.version=v[1]),S&&(e.match(/Safari/)||t.ios)&&(r.safari=!0),b&&(r.webview=!0),v&&(r.ie=!0,r.version=v[1]),t.tablet=!!(n||f||i&&!e.match(/Mobile/)||g&&e.match(/Tablet/)||v&&!e.match(/Phone/)&&e.match(/Touch/)),t.phone=!(t.tablet||t.ipod||!(i||o||l||d||p||y&&e.match(/Android/)||y&&e.match(/CriOS\/([\d.]+)/)||g&&e.match(/Mobile/)||v&&e.match(/Touch/))),{browser:r,os:t,canvasSupported:!!document.createElement("canvas").getContext}}destory(){return!0}},Un.Util_event=new class{constructor(){this.stop="function"==typeof window.addEventListener?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0},this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Event"}getX(e){return void 0!==e.zrenderX&&e.zrenderX||void 0!==e.offsetX&&e.offsetX||void 0!==e.layerX&&e.layerX||void 0!==e.clientX&&e.clientX}getY(e){return void 0!==e.zrenderY&&e.zrenderY||void 0!==e.offsetY&&e.offsetY||void 0!==e.layerY&&e.layerY||void 0!==e.clientY&&e.clientY}getDelta(e){return void 0!==e.zrenderDelta&&e.zrenderDelta||void 0!==e.wheelDelta&&e.wheelDelta||void 0!==e.detail&&-e.detail}},Un.Util_http=new class{constructor(){this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Http"}get(e,t,r){if("object"==typeof e){var s=e;e=s.url,t=s.onsuccess,r=s.onerror}var i=window.XMLHttpRequest?new XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");i.open("GET",e,!0),i.onreadystatechange=function(){4==i.readyState&&(i.status>=200&&i.status<300||304===i.status?t&&t(i.responseText):r&&r(),i.onreadystatechange=new Function,i=null)},i.send(null)}},Un.Util_log=new class{constructor(){return this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Log",function(){if(0!==Gn.debugMode)if(1==Gn.debugMode)for(let e in arguments)throw new Error(arguments[e]);else if(Gn.debugMode>1)for(let e in arguments)console.log(arguments[e])}}destory(){return!0}},Un.Util_math=new class{constructor(){this._radians=window.Math.PI/180,this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Math"}sin(e,t){return window.Math.sin(t?e*this._radians:e)}cos(e,t){return window.Math.cos(t?e*this._radians:e)}degreeToRadian(e){return e*this._radians}radianToDegree(e){return e/this._radians}},Un.Util_matrix=new class{constructor(){this.ArrayCtor="undefined"==typeof Float32Array?Array:Float32Array,this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Matrix"}create(){var e=new(0,this.ArrayCtor)(6);return this.identity(e),e}identity(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}copy(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}mul(e,t,r){return e[0]=t[0]*r[0]+t[2]*r[1],e[1]=t[1]*r[0]+t[3]*r[1],e[2]=t[0]*r[2]+t[2]*r[3],e[3]=t[1]*r[2]+t[3]*r[3],e[4]=t[0]*r[4]+t[2]*r[5]+t[4],e[5]=t[1]*r[4]+t[3]*r[5]+t[5],e}translate(e,t,r){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+r[0],e[5]=t[5]+r[1],e}rotate(e,t,r){var s=t[0],i=t[2],n=t[4],a=t[1],o=t[3],l=t[5],h=Math.sin(r),u=Math.cos(r);return e[0]=s*u+a*h,e[1]=-s*h+a*u,e[2]=i*u+o*h,e[3]=-i*h+u*o,e[4]=u*n+h*l,e[5]=u*l-h*n,e}scale(e,t,r){var s=r[0],i=r[1];return e[0]=t[0]*s,e[1]=t[1]*i,e[2]=t[2]*s,e[3]=t[3]*i,e[4]=t[4]*s,e[5]=t[5]*i,e}invert(e,t){var r=t[0],s=t[2],i=t[4],n=t[1],a=t[3],o=t[5],l=r*a-n*s;return l?(l=1/l,e[0]=a*l,e[1]=-n*l,e[2]=-s*l,e[3]=r*l,e[4]=(s*o-a*i)*l,e[5]=(n*i-r*o)*l,e):null}mulVector(e,t,r){var s=t[0],i=t[2],n=t[4],a=t[1],o=t[3],l=t[5];return e[0]=r[0]*s+r[1]*i+n,e[1]=r[0]*a+r[1]*o+l,e}},Un.Util=new Fn,Un.Util_vector=new Dn;class Hn{constructor(){var e;this.position=[0,0],this.rotation=[0,0,0],this.scale=[1,1,0,0],this.needLocalTransform=!1,this.needTransform=!1,this.CLASS_NAME="SuperMap.LevelRenderer.Transformable",this.lookAt=(e=Un.Util_vector.create(),function(t){this.transform||(this.transform=Un.Util_matrix.create());var r=this.transform;function s(e){return e>-5e-5&&e<5e-5}Un.Util_vector.sub(e,t,this.position),s(e[0])&&s(e[1])||(Un.Util_vector.normalize(e,e),r[2]=e[0]*this.scale[1],r[3]=e[1]*this.scale[1],r[0]=e[1]*this.scale[0],r[1]=-e[0]*this.scale[0],r[4]=this.position[0],r[5]=this.position[1],this.decomposeTransform())})}destroy(){this.position=null,this.rotation=null,this.scale=null,this.needLocalTransform=null,this.needTransform=null}updateNeedTransform(){function e(e){return e>5e-5||e<-5e-5}this.needLocalTransform=e(this.rotation[0])||e(this.position[0])||e(this.position[1])||e(this.scale[0]-1)||e(this.scale[1]-1)}updateTransform(){if(this.updateNeedTransform(),this.parent?this.needTransform=this.needLocalTransform||this.parent.needTransform:this.needTransform=this.needLocalTransform,this.needTransform){var e=[0,0],t=this.transform||Un.Util_matrix.create();if(Un.Util_matrix.identity(t),this.needLocalTransform){if(r(this.scale[0])||r(this.scale[1])){e[0]=-this.scale[2]||0,e[1]=-this.scale[3]||0;let s=r(e[0])||r(e[1]);s&&Un.Util_matrix.translate(t,t,e),Un.Util_matrix.scale(t,t,this.scale),s&&(e[0]=-e[0],e[1]=-e[1],Un.Util_matrix.translate(t,t,e))}if(this.rotation instanceof Array){if(0!==this.rotation[0]){e[0]=-this.rotation[1]||0,e[1]=-this.rotation[2]||0;let s=r(e[0])||r(e[1]);s&&Un.Util_matrix.translate(t,t,e),Un.Util_matrix.rotate(t,t,this.rotation[0]),s&&(e[0]=-e[0],e[1]=-e[1],Un.Util_matrix.translate(t,t,e))}}else 0!==this.rotation&&Un.Util_matrix.rotate(t,t,this.rotation);(r(this.position[0])||r(this.position[1]))&&Un.Util_matrix.translate(t,t,this.position)}this.transform=t,this.parent&&this.parent.needTransform&&(this.needLocalTransform?Un.Util_matrix.mul(this.transform,this.parent.transform,this.transform):Un.Util_matrix.copy(this.transform,this.parent.transform))}function r(e){return e>5e-5||e<-5e-5}}setTransform(e){if(this.needTransform){var t=this.transform;e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}}decomposeTransform(){if(this.transform){var e=this.transform,t=e[0]*e[0]+e[1]*e[1],r=this.position,s=this.scale,i=this.rotation;a(t-1)&&(t=Math.sqrt(t));var n=e[2]*e[2]+e[3]*e[3];a(n-1)&&(n=Math.sqrt(n)),r[0]=e[4],r[1]=e[5],s[0]=t,s[1]=n,s[2]=s[3]=0,i[0]=Math.atan2(-e[1]/n,e[0]/t),i[1]=i[2]=0}function a(e){return e>5e-5||e<-5e-5}}}class jn extends(s.mixin(Rn,Hn)){constructor(e){var t;super(e),e=e||{},this.id=null,this.style={},this.highlightStyle=null,this.parent=null,this.__dirty=!0,this.__clipShapes=[],this.invisible=!1,this.ignore=!1,this.zlevel=0,this.draggable=!1,this.clickable=!1,this.hoverable=!0,this.z=0,this.refOriginalPosition=[0,0],this.refDataID=null,this.isHoverByRefDataID=!1,this.refDataHoverGroup=null,this.dataInfo=null,me.extend(this,e),this.id=this.id||me.createUniqueID("smShape_"),this.CLASS_NAME="SuperMap.LevelRenderer.Shape",this.getTansform=(t=[],function(e,r){var s=[e,r];return this.needTransform&&this.transform&&(Un.Util_matrix.invert(t,this.transform),Un.Util_matrix.mulVector(s,t,[e,r,1]),e==s[0]&&r==s[1]&&this.updateNeedTransform()),s})}destroy(){this.id=null,this.style=null,this.highlightStyle=null,this.parent=null,this.__dirty=null,this.__clipShapes=null,this.invisible=null,this.ignore=null,this.zlevel=null,this.draggable=null,this.clickable=null,this.hoverable=null,this.z=null,this.refOriginalPosition=null,this.refDataID=null,this.refDataHoverGroup=null,this.isHoverByRefDataID=null,this.dataInfo=null,super.destroy()}brush(e,t){var r=this.beforeBrush(e,t);switch(e.beginPath(),this.buildPath(e,r),r.brushType){case"both":this.setCtxGlobalAlpha(e,"fill",r),e.fill(),r.lineWidth>0&&(this.setCtxGlobalAlpha(e,"stroke",r),e.stroke()),this.setCtxGlobalAlpha(e,"reset",r);break;case"stroke":this.setCtxGlobalAlpha(e,"stroke",r),r.lineWidth>0&&e.stroke(),this.setCtxGlobalAlpha(e,"reset",r);break;default:this.setCtxGlobalAlpha(e,"fill",r),e.fill(),this.setCtxGlobalAlpha(e,"reset",r)}this.drawText(e,r,this.style),this.afterBrush(e)}beforeBrush(e,t){var r=this.style;return this.brushTypeOnly&&(r.brushType=this.brushTypeOnly),t&&(r=this.getHighlightStyle(r,this.highlightStyle||{},this.brushTypeOnly)),"stroke"==this.brushTypeOnly&&(r.strokeColor=r.strokeColor||r.color),e.save(),this.doClip(e),this.setContext(e,r),this.setTransform(e),r}afterBrush(e){e.restore()}setContext(e,t){for(var r=[["color","fillStyle"],["strokeColor","strokeStyle"],["opacity","globalAlpha"],["lineCap","lineCap"],["lineJoin","lineJoin"],["miterLimit","miterLimit"],["lineWidth","lineWidth"],["shadowBlur","shadowBlur"],["shadowColor","shadowColor"],["shadowOffsetX","shadowOffsetX"],["shadowOffsetY","shadowOffsetY"]],s=0,i=r.length;s=s.x&&e<=s.x+s.width&&t>=s.y&&t<=s.y+s.height&&Un.Util_area.isInside(this,this.style,e,t)}drawText(e,t,r){if(void 0!==t.text&&!1!==t.text){var s=t.textColor||t.color||t.strokeColor;e.fillStyle=s;var i,n,a,o,l=10,h=t.textPosition||this.textPosition||"top",u=[];switch(u=this.refOriginalPosition&&2===this.refOriginalPosition.length?this.refOriginalPosition:[0,0],h){case"inside":case"top":case"bottom":case"left":case"right":if(this.getRect){var c=(r||t).__rect||this.getRect(r||t);switch(h){case"inside":a=c.x+c.width/2,o=c.y+c.height/2,i="center",n="middle","stroke"!=t.brushType&&s==t.color&&(e.fillStyle="#fff");break;case"left":a=c.x-l,o=c.y+c.height/2,i="end",n="middle";break;case"right":a=c.x+c.width+l,o=c.y+c.height/2,i="start",n="middle";break;case"top":a=c.x+c.width/2,o=c.y-l,i="center",n="bottom";break;case"bottom":a=c.x+c.width/2,o=c.y+c.height+l,i="center",n="top"}}break;case"start":case"end":var d=0,p=0,m=0,f=0;if(void 0!==t.pointList){var y=t.pointList;if(y.length<2)return;var g=y.length;switch(h){case"start":d=y[0][0]+u[0],p=y[1][0]+u[0],m=y[0][1]+u[1],f=y[1][1]+u[1];break;case"end":d=y[g-2][0]+u[0],p=y[g-1][0]+u[0],m=y[g-2][1]+u[1],f=y[g-1][1]+u[1]}}else d=t.xStart+u[0]||0,p=t.xEnd+u[0]||0,m=t.yStart+u[1]||0,f=t.yEnd+u[1]||0;switch(h){case"start":i=ds&&(s=l[0]),l[1]i&&(i=l[1]))}return e.__rect={x:t,y:r,width:s-t,height:i-r},e.__rect}getRectNoRotation(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,r=this.refOriginalPosition,s=Un.Util_area.getTextHeight("ZH",e.textFont),i=Un.Util_area.getTextWidth(e.text,e.textFont),n=Un.Util_area.getTextHeight(e.text,e.textFont),a=e.x+r[0];"end"==e.textAlign||"right"==e.textAlign?a-=i:"center"==e.textAlign&&(a-=i/2),t="top"==e.textBaseline?e.y+r[1]:"bottom"==e.textBaseline?e.y+r[1]-n:e.y+r[1]-n/2;var o,l=!1;if(e.maxWidth){var h=parseInt(e.maxWidth);h-1&&(i+=o&&!0===l?s/3*(i/o):s/3));return{x:a,y:t,width:i,height:n}}getTextBackground(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition;if((!t||!1===t)&&e.__textBackground)return e.__textBackground;var s=this.getRectNoRotation(e),i=e.x+r[0],n=e.y+r[1],a=[];if(e.textRotation&&0!==e.textRotation){let t=e.textRotation,r=this.getRotatedLocation(s.x,s.y,i,n,t),o=this.getRotatedLocation(s.x+s.width,s.y,i,n,t),l=this.getRotatedLocation(s.x+s.width,s.y+s.height,i,n,t),h=this.getRotatedLocation(s.x,s.y+s.height,i,n,t);a.push(r),a.push(o),a.push(l),a.push(h)}else{let e=[s.x,s.y],t=[s.x+s.width,s.y],r=[s.x+s.width,s.y+s.height],i=[s.x,s.y+s.height];a.push(e),a.push(t),a.push(r),a.push(i)}return e.__textBackground=a,e.__textBackground}getRotatedLocation(e,t,r,s,i){var n,a,o=new Array;return t=-t,s=-s,i=-i,n=(e-r)*Math.cos(i/180*Math.PI)-(t-s)*Math.sin(i/180*Math.PI)+r,a=(e-r)*Math.sin(i/180*Math.PI)+(t-s)*Math.cos(i/180*Math.PI)+s,o[0]=n,o[1]=-a,o}}class Wn extends jn{constructor(e){super(e),this.type="smiccircle",this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicCircle"}destroy(){this.type=null,super.destroy()}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition,s=t.x+r[0],i=t.y+r[1];return e.moveTo(s+t.r,i),e.arc(s,i,t.r,0,2*Math.PI,!0),!0}getRect(e){if(e.__rect)return e.__rect;this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,r=this.refOriginalPosition,s=e.x+r[0],i=e.y+r[1],n=e.r;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(s-n-t/2),y:Math.round(i-n-t/2),width:2*n+t,height:2*n+t},e.__rect}}class Vn extends jn{constructor(e){super(e),this.type="smicpolygon",this.holePolygonPointLists=null,this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicPolygon"}destroy(){this.type=null,this.holePolygonPointLists=null,super.destroy()}brush(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.style;t&&(r=this.getHighlightStyle(r,this.highlightStyle||{})),e.save(),this.setContext(e,r),this.setTransform(e);var s=!1;"fill"!=r.brushType&&"both"!=r.brushType&&void 0!==r.brushType||(e.beginPath(),"dashed"==r.lineType||"dotted"==r.lineType||"dot"==r.lineType||"dash"==r.lineType||"dashdot"==r.lineType||"longdash"==r.lineType||"longdashdot"==r.lineType?this.buildPath(e,{lineType:"solid",lineWidth:r.lineWidth,pointList:r.pointList}):(this.buildPath(e,r),s=!0),e.closePath(),this.setCtxGlobalAlpha(e,"fill",r),e.fill(),this.setCtxGlobalAlpha(e,"reset",r)),r.lineWidth>0&&("stroke"==r.brushType||"both"==r.brushType)&&(s||(e.beginPath(),this.buildPath(e,r)),this.setCtxGlobalAlpha(e,"stroke",r),e.stroke(),this.setCtxGlobalAlpha(e,"reset",r)),this.drawText(e,r,this.style);var i=me.cloneObject(r);if(i.pointList&&this.holePolygonPointLists&&this.holePolygonPointLists.length>0)for(var n=this.holePolygonPointLists,a=n.length,o=0;o0&&("stroke"==i.brushType||"both"==i.brushType)?(s||(e.beginPath(),this.buildPath(e,i)),e.globalCompositeOperation="source-over",this.setCtxGlobalAlpha(e,"stroke",i),e.stroke(),this.setCtxGlobalAlpha(e,"reset",i)):e.globalCompositeOperation="source-over"}e.restore()}buildPath(e,t){t.showShadow&&(e.shadowBlur=t.shadowBlur,e.shadowColor=t.shadowColor,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY),this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition,s=t.pointList;if(!(s.length<2))if(t.smooth&&"spline"!==t.smooth){var i,n,a,o=Un.SUtil_smoothBezier(s,t.smooth,!0,t.smoothConstraint,r);e.moveTo(s[0][0]+r[0],s[0][1]+r[1]);for(var l=s.length,h=0;hn&&(n=l[h][0]+r[0]),l[h][1]+r[1]o&&(o=l[h][1]+r[1]);return s="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(i-s/2),y:Math.round(a-s/2),width:n-i+s,height:o-a+s},e.__rect}}class qn extends jn{constructor(e){super(e),this.brushTypeOnly="stroke",this.textPosition="end",this.type="smicbroken-line",this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicBrokenLine"}destroy(){this.brushTypeOnly=null,this.textPosition=null,this.type=null,super.destroy()}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition,s=t.pointList;if(!(s.length<2)){var i=Math.min(t.pointList.length,Math.round(t.pointListLength||t.pointList.length));if(t.smooth&&"spline"!==t.smooth){var n,a,o,l=Un.SUtil_smoothBezier(s,t.smooth,!1,t.smoothConstraint,r);e.moveTo(s[0][0]+r[0],s[0][1]+r[1]);for(let t=0;tu&&(r*=u/(a=r+s),s*=u/a),i+n>u&&(i*=u/(a=i+n),n*=u/a),s+i>c&&(s*=c/(a=s+i),i*=c/a),r+n>c&&(r*=c/(a=r+n),n*=c/a),e.moveTo(l+r,h),e.lineTo(l+u-s,h),0!==s&&e.quadraticCurveTo(l+u,h,l+u,h+s),e.lineTo(l+u,h+c-i),0!==i&&e.quadraticCurveTo(l+u,h+c,l+u-i,h+c),e.lineTo(l+n,h+c),0!==n&&e.quadraticCurveTo(l,h+c,l,h+c-n),e.lineTo(l,h+r),0!==r&&e.quadraticCurveTo(l,h,l+r,h)}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition;t.radius?this._buildRadiusPath(e,t):(e.moveTo(t.x+r[0],t.y+r[1]),e.lineTo(t.x+r[0]+t.width,t.y+r[1]),e.lineTo(t.x+r[0]+t.width,t.y+r[1]+t.height),e.lineTo(t.x+r[0],t.y+r[1]+t.height),e.lineTo(t.x+r[0],t.y+r[1])),e.closePath()}getRect(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,r=this.refOriginalPosition;return e.__rect?e.__rect:(t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x+r[0]-t/2),y:Math.round(e.y+r[1]-t/2),width:e.width+t,height:e.height+t},e.__rect)}}class Qn extends jn{constructor(e){super(e),this.type="smicsector",this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicSector"}destroy(){this.type=null,super.destroy()}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition,s=t.x+r[0],i=t.y+r[1],n=t.r0||0,a=t.r,o=t.startAngle,l=t.endAngle,h=t.clockWise||!1;o=Un.Util_math.degreeToRadian(o),l=Un.Util_math.degreeToRadian(l),h||(o=-o,l=-l);var u=Un.Util_math.cos(o),c=Un.Util_math.sin(o);e.moveTo(u*n+s,c*n+i),e.lineTo(u*a+s,c*a+i),e.arc(s,i,a,o,l,!h),e.lineTo(Un.Util_math.cos(l)*n+s,Un.Util_math.sin(l)*n+i),0!==n&&e.arc(s,i,n,l,o,h),e.closePath()}getRect(e){if(e.__rect)return e.__rect;this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t=this.refOriginalPosition,r=Un.Util_vector.create(),s=Un.Util_vector.create(),i=Un.Util_vector.create(),n=Un.Util_vector.create(),a=e.x+t[0],o=e.y+t[1],l=e.r0||0,h=e.r,u=Un.Util_math.degreeToRadian(e.startAngle),c=Un.Util_math.degreeToRadian(e.endAngle),d=e.clockWise;return d||(u=-u,c=-c),l>1?Un.Util_computeBoundingBox.arc(a,o,l,u,c,!d,r,i):(r[0]=i[0]=a,r[1]=i[1]=o),Un.Util_computeBoundingBox.arc(a,o,h,u,c,!d,s,n),Un.Util_vector.min(r,r,s),Un.Util_vector.max(i,i,n),e.__rect={x:r[0],y:r[1],width:i[0]-r[0],height:i[1]-r[1]},e.__rect}}class Kn{constructor(e){this.shapeParameters=e,this.CLASS_NAME="SuperMap.Feature.ShapeFactory"}destroy(){this.shapeParameters=null}createShape(e){if(e&&(this.shapeParameters=e),!this.shapeParameters)return null;var t=this.shapeParameters;if(t instanceof An){let e=new Object;e.x=t.x,e.y=t.y,e.r=t.r,e=me.copyAttributesWithClip(e,t.style,["x","y"]);let r=new Jn;return r.style=Kn.transformStyle(e),r.highlightStyle=Kn.transformStyle(t.highlightStyle),me.copyAttributesWithClip(r,t,["x","y","style","highlightStyle"]),r}if(t instanceof _n){if(!t.pointList)return null;let e=new Object;e.pointList=t.pointList,e=me.copyAttributesWithClip(e,t.style,["pointList"]);let r=new qn;return r.style=Kn.transformStyle(e),r.highlightStyle=Kn.transformStyle(t.highlightStyle),me.copyAttributesWithClip(r,t,["pointList","style","highlightStyle"]),r}if(t instanceof Ln){if(!t.pointList)return null;let e=new Object;e.pointList=t.pointList,e=me.copyAttributesWithClip(e,t.style,["pointList"]);let r=new Vn;return r.style=Kn.transformStyle(e),r.highlightStyle=Kn.transformStyle(t.highlightStyle),me.copyAttributesWithClip(r,t,["pointList","style","highlightStyle"]),r}if(t instanceof Pn){if(!t.x&&!t.y&!t.width&!t.height)return null;let e=new Object;e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height,e=me.copyAttributesWithClip(e,t.style,["x","y","width","height"]);let r=new Xn;return r.style=Kn.transformStyle(e),r.highlightStyle=Kn.transformStyle(t.highlightStyle),me.copyAttributesWithClip(r,t,["x","y","width","height","style","highlightStyle"]),r}if(t instanceof Nn){let e=new Object;e.x=t.x,e.y=t.y,e.r=t.r,e.startAngle=t.startAngle,e.endAngle=t.endAngle,t.r0&&(e.r0=t.r0),t.clockWise&&(e.clockWise=t.clockWise),e=me.copyAttributesWithClip(e,t.style,["x","y","r","startAngle","endAngle","r0","endAngle"]);let r=new Qn;return r.style=Kn.transformStyle(e),r.highlightStyle=Kn.transformStyle(t.highlightStyle),me.copyAttributesWithClip(r,t,["x","y","r","startAngle","endAngle","r0","endAngle","style","highlightStyle"]),r}if(t instanceof Mn){let e=new Object;e.x=t.x,e.y=t.y,e.text=t.text,e=me.copyAttributesWithClip(e,t.style,["x","y","text"]);let r=new zn;return r.style=Kn.transformStyle(e),r.highlightStyle=Kn.transformStyle(t.highlightStyle),me.copyAttributesWithClip(r,t,["x","y","text","style","highlightStyle"]),r}if(t instanceof In){let e=new Object;e.x=t.x,e.y=t.y,t.image&&(e.image=t.image),t.width&&(e.width=t.width),t.height&&(e.height=t.height),t.sx&&(e.sx=t.sx),t.sy&&(e.sy=t.sy),t.sWidth&&(e.sWidth=t.sWidth),t.sHeight&&(e.sHeight=t.sHeight),e=me.copyAttributesWithClip(e,t.style,["x","y","image","width","height","sx","sy","sWidth","sHeight"]);let r=new Yn;return r.style=Kn.transformStyle(e),r.highlightStyle=Kn.transformStyle(t.highlightStyle),me.copyAttributesWithClip(r,t,["x","y","image","width","height","style","highlightStyle"]),r}if(t instanceof On){let e=new Object;e.x=t.x,e.r=t.r,e.y=t.y,e=me.copyAttributesWithClip(e,t.style,["x","y","r"]);let r=new Wn;return r.style=Kn.transformStyle(e),r.highlightStyle=Kn.transformStyle(t.highlightStyle),me.copyAttributesWithClip(r,t,["x","y","r","style","highlightStyle","lineWidth","text","textPosition"]),r}return null}static transformStyle(e){var t={},r=["normal","normal","normal","12","arial,sans-serif"],s=[!0,!1];for(var i in e)switch(i){case"fill":s[0]=e[i];break;case"fillColor":t.color=e[i];break;case"stroke":s[1]=e[i];break;case"strokeWidth":t.lineWidth=e[i];break;case"strokeLinecap":t.lineCap=e[i];break;case"strokeLineJoin":t.lineJoin=e[i];break;case"strokeDashstyle":t.lineType=e[i];break;case"pointRadius":t.r=e[i];break;case"label":t.text=e[i];break;case"labelRect":t.labelRect=e[i];break;case"fontColor":t.textColor=e[i];break;case"fontStyle":r[0]=e[i];break;case"fontVariant":r[1]=e[i];break;case"fontWeight":r[2]=e[i];break;case"fontSize":var n="";e[i]&&e[i].toString().indexOf("px")<0&&(n="px"),r[3]=e[i]+n;break;case"fontFamily":r[4]=e[i];break;case"fontOpacity":t.opacity=e[i];break;case"labelPosition":t.textPosition=e[i];break;case"labelAlign":t.textAlign=e[i];break;case"labelBaseline":t.textBaseline=e[i];break;case"labelRotation":t.textRotation=e[i];break;default:t[i]=e[i]}return t.textFont=r.join(" "),!0===s[0]&&!1===s[1]?t.brushType="fill":!1===s[0]&&!0===s[1]?t.brushType="stroke":!0===s[0]&&!0===s[1]?t.brushType="both":t.brushType="fill",null==t.lineWidth&&(t.lineWidth=1),t}static Background(e,t,r){var s=r||{},i=new Pn(t[0],t[3],Math.abs(t[2]-t[0]),Math.abs(t[3]-t[1]));return i.style={fillColor:"#f3f3f3"},s.backgroundStyle&&me.copyAttributesWithClip(i.style,s.backgroundStyle),s.backgroundRadius&&(i.style.radius=s.backgroundRadius),i.clickable=!1,i.hoverable=!1,e.createShape(i)}static GraphAxis(e,t,r,s){var i=t,n=r||{},a=[],o=[],l=!!n.useXReferenceLine&&n.useXReferenceLine,h=n.axisYTick&&!isNaN(n.axisYTick)?n.axisYTick:0,u=[],c=[];if(0==h){if(c.push([i[0],i[3]-5]),c.push([i[0],i[1]]),n.axis3DParameter&&!isNaN(n.axis3DParameter)&&n.axis3DParameter>=15){let e=parseInt(n.axis3DParameter),t=[i[0]-e,i[1]+e];n.axisUseArrow?(u.push([t[0]+1.5,t[1]-7.5]),u.push([t[0]-1,t[1]+1]),u.push([t[0]+7.5,t[1]-1.5]),c.push([t[0],t[1]])):c.push([t[0],t[1]]),c.push([i[0],i[1]])}c.push([i[2]+5,i[1]])}else{var d=Math.abs(i[1]-i[3])/h,p=i[3];c.push([i[0],p-5]);for(var m=0;m=15){let e=parseInt(n.axis3DParameter),t=[i[0]-e,i[1]+e];n.axisUseArrow?(u.push([t[0]+1.5,t[1]-7.5]),u.push([t[0]-1,t[1]+1]),u.push([t[0]+7.5,t[1]-1.5]),c.push([t[0],t[1]])):c.push([t[0],t[1]]),c.push([i[0],i[1]])}c.push([i[2]+5,i[1]])}if(n.axisUseArrow){var y=[[i[2]+5,i[1]+4],[i[2]+13,i[1]],[i[2]+5,i[1]-4]],g=[[i[0]-4,i[3]-5],[i[0],i[3]-13],[i[0]+4,i[3]-5]],v=new Ln(y);v.style={fillColor:"#008acd"},me.copyAttributesWithClip(v.style,n.axisStyle),o.push(e.createShape(v));var S=new Ln(g);if(S.style={fillColor:"#008acd"},me.copyAttributesWithClip(S.style,n.axisStyle),o.push(e.createShape(S)),n.axis3DParameter&&!isNaN(n.axis3DParameter)&&n.axis3DParameter>=15){var b=new Ln(u);b.style={fillColor:"#008acd"},me.copyAttributesWithClip(b.style,n.axisStyle),o.push(e.createShape(b))}}var x=new _n(c);x.style={strokeLinecap:"butt",strokeLineJoin:"round",strokeColor:"#008acd",strokeWidth:1},n.axisStyle&&me.copyAttributesWithClip(x.style,n.axisStyle),x.clickable=!1,x.hoverable=!1;var C=[e.createShape(x)],T=[];if(n.axisYLabels&&n.axisYLabels.length&&n.axisYLabels.length>0){var E=n.axisYLabels;let t=E.length;var w=[0,0];if(n.axisYLabelsOffset&&n.axisYLabelsOffset.length&&(w=n.axisYLabelsOffset),1==t){let t=new Mn(i[0]-5+w[0],i[3]+w[1],E[0]);t.style={labelAlign:"right"},n.axisYLabelsStyle&&me.copyAttributesWithClip(t.style,n.axisYLabelsStyle),t.clickable=!1,t.hoverable=!1,T.push(e.createShape(t))}else for(var A=i[3],_=Math.abs(i[1]-i[3])/(t-1),L=0;L0){let t=n.axisXLabels,r=t.length,a=[0,0];if(n.axisXLabelsOffset&&n.axisXLabelsOffset.length&&(a=n.axisXLabelsOffset),s&&s.xPositions&&s.xPositions.length&&s.xPositions.length==r){let o=s.xPositions;for(let s=0;s=0&&r[i]&&me.copyAttributesWithClip(a,r[i]),s&&s.length&&void 0!==n)for(var o=s,l=o.length,h=parseFloat(n),u=0;u=h[2]||h[1]<=h[3])&&(this.DVBOrigonPoint=[h[0],h[3]],this.DVBWidth=Math.abs(h[2]-h[0]),this.DVBHeight=Math.abs(h[1]-h[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-a[0],this.DVBOrigonPoint[1]-a[1]],!0)}resetLocation(e){e&&(this.lonlat=e);var t=this.getLocalXY(this.lonlat);t[0]+=this.XOffset,t[1]+=this.YOffset,this.location=t;var r=this.width,s=this.height,i=this.location;return this.chartBounds=new ye(i[0]-r/2,i[1]+s/2,i[0]+r/2,i[1]-s/2),this.resetLinearGradient(),i}resetLinearGradient(){}shapesConvertToRelativeCoordinate(){for(var e=this.shapes,t=this.location,r=0,s=e.length;r=0?s.push(parseFloat(i[a].toString()).toFixed(r)):s.push(parseFloat(i[a].toString()))}catch(e){throw new Error("not a number")}return s.length===t.length&&s},s.Feature.Theme.Graph=$n;s.Feature.Theme.Bar=class extends $n{constructor(e,t,r,s,i){super(e,t,r,s,i),this.CLASS_NAME="SuperMap.Feature.Theme.Bar"}destroy(){super.destroy()}assembleShapes(){var e={showShadow:!0,shadowBlur:8,shadowColor:"rgba(100,100,100,0.8)",shadowOffsetX:2,shadowOffsetY:2},t=this.setting;if(void 0!==t.barLinearGradient&&(t.barLinearGradient=[["#00FF00","#00CD00"],["#00CCFF","#5E87A2"],["#00FF66","#669985"],["#CCFF00","#94A25E"],["#FF9900","#A2945E"]]),t.dataViewBoxParameter||(void 0===t.useAxis||t.useAxis?t.dataViewBoxParameter=[45,15,15,15]:t.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var r=this.DVBCodomain;this.DVBUnitValue=(r[1]-r[0])/this.DVBHeight;var s=this.dataViewBox,i=this.dataValues;if(!(i.length<1)){for(let e=0,t=i.length;er[1])return;var n=this.calculateXShapeInfo();if(n){var a=n.xPositions,o=n.width;(void 0===t.useBackground||t.useBackground)&&this.shapes.push(Kn.Background(this.shapeFactory,this.chartBox,t)),(void 0===t.useAxis||t.useAxis)&&(this.shapes=this.shapes.concat(Kn.GraphAxis(this.shapeFactory,s,t,n)));for(var l=0;l=t.length&&(r%=t.length);var l=t[r][0],h=t[r][1],u=(new Bn).getLinearGradient(a,0,o,0,[[0,l],[1,h]]);i.style.color=u}}}};s.Feature.Theme.Bar3D=class extends $n{constructor(e,t,r,s,i){super(e,t,r,s,i),this.CLASS_NAME="SuperMap.Feature.Theme.Bar3D"}destroy(){super.destroy()}assembleShapes(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,25,20,20]:e.dataViewBoxParameter=[5,5,5,5]),e.axisUseArrow=void 0===e.axisUseArrow||e.axisUseArrow,e.axisXLabelsOffset=void 0!==e.axisXLabelsOffset?e.axisXLabelsOffset:[-10,10],this.initBaseParameter()){var t=this.DVBCodomain;this.DVBUnitValue=(t[1]-t[0])/this.DVBHeight;var r=this.dataViewBox,s=this.dataValues;if(!(s.length<1)){for(let e=0,r=s.length;et[1])return;var i=this.calculateXShapeInfo();if(i){var n=i.xPositions,a=i.width;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(Kn.Background(this.shapeFactory,this.chartBox,e)),(!e.axis3DParameter||isNaN(e.axis3DParameter)||e.axis3DParameter<15)&&(e.axis3DParameter=20),(void 0===e.useAxis||e.useAxis)&&(this.shapes=this.shapes.concat(Kn.GraphAxis(this.shapeFactory,r,e,i)));var o=e.bar3DParameter&&!isNaN(e.bar3DParameter)?e.bar3DParameter:10;for(let i=0;i=o[2]||o[1]<=o[3])&&(this.DVBOrigonPoint=[o[0],o[3]],this.DVBWidth=Math.abs(o[2]-o[0]),this.DVBHeight=Math.abs(o[1]-o[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-i[0],this.DVBOrigonPoint[1]-i[1]],!0)}}s.Feature.Theme.RankSymbol=ea;s.Feature.Theme.Circle=class extends ea{constructor(e,t,r,s,i){super(e,t,r,s,i),this.CLASS_NAME="SuperMap.Feature.Theme.Circle"}destroy(){super.destroy()}assembleShapes(){if(!this.setting)return!1;var e=this.setting;if(!e.codomain)return!1;var t=void 0===e.decimalNumber||isNaN(e.decimalNumber)?-1:e.decimalNumber,r=Zn.getDataValues(this.data,this.fields,t);this.dataValues=r||[];var s=this.dataValues;e.maxR||(e.maxR=100),e.minR||(e.minR=0);var i=this.DVBCodomain;i&&i[1]-i[0]>0?this.DVBUnitValue=e.maxR/(i[1]-i[0]):this.DVBUnitValue=e.maxR;var n=this.DVBUnitValue,a=s[0]*n+e.minR;if(this.width=2*a,this.height=2*a,this.initBaseParameter()&&(!i||!(s[0]i[1]))){var o=this.DVBCenterPoint,l=new On(o[0],o[1],a);l.style=Kn.ShapeStyleTool(null,e.circleStyle,null,null,0),void 0!==e.fillColor?l.style.fillColor=e.fillColor:l.style.fillColor="#ff9277",l.highlightStyle=Kn.ShapeStyleTool(null,e.circleHoverStyle),void 0!==e.circleHoverAble&&(l.hoverable=e.circleHoverAble),void 0!==e.circleClickAble&&(l.clickable=e.circleClickAble),l.refDataID=this.data.id,l.dataInfo={field:this.fields[0],r:a,value:s[0]},this.shapes.push(this.shapeFactory.createShape(l)),this.shapesConvertToRelativeCoordinate()}}};s.Feature.Theme.Line=class extends $n{constructor(e,t,r,s,i,n){super(e,t,r,s,i,n),this.CLASS_NAME="SuperMap.Feature.Theme.Line"}destroy(){super.destroy()}assembleShapes(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,15,15,15]:e.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var t=this.dataViewBox,r=this.DVBCodomain;this.DVBUnitValue=(r[1]-r[0])/this.DVBHeight;var s=this.DVBUnitValue,i=this.dataValues;if(!(i.length<1)){var n=this.calculateXShapeInfo();if(n){var a,o,l=n.xPositions;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(Kn.Background(this.shapeFactory,this.chartBox,e)),this.shapes=this.shapes.concat(Kn.GraphAxis(this.shapeFactory,t,e,n));for(var h=[],u=[],c=0,d=i.length;cr[1])return null;a=l[c],o=t[1]-(i[c]-r[0])/s;var p=new An(a,o);p.style=Kn.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,c,i[c]),p.highlightStyle=Kn.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(p.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(p.clickable=e.pointClickAble),p.refDataID=this.data.id,p.dataInfo={field:this.fields[c],value:i[c]},u.push(this.shapeFactory.createShape(p));var m=[a,o];h.push(m)}var f=new _n(h);f.style=Kn.ShapeStyleTool({strokeColor:"#ee9900"},e.lineStyle),f.clickable=!1,f.hoverable=!1;var y=this.shapeFactory.createShape(f);this.shapes.push(y),this.shapes=this.shapes.concat(u),this.shapesConvertToRelativeCoordinate()}}}}calculateXShapeInfo(){var e,t=this.dataViewBox,r=this.setting,s=this.dataValues.length;if(s<1)return null;var i=[],n=this.DVBWidth,a=0;if(r.xShapeBlank&&r.xShapeBlank.length&&2==r.xShapeBlank.length){var o=n-((e=r.xShapeBlank)[0]+e[1]);if(o<=s)return null;a=o/(s-1)}else e=[a=n/(s+1),a,a];for(var l=0,h=0;hs[1])return;var i=0;for(let e=0;e=360&&(l=359.9999999);var p=new Nn(a[0],a[1],u,o,l);if(void 0===e.sectorStyleByFields){var m=c%t.length;p.style=Kn.ShapeStyleTool(null,e.sectorStyle,t,null,m)}else p.style=Kn.ShapeStyleTool(null,e.sectorStyle,e.sectorStyleByFields,e.sectorStyleByCodomain,c,r[c]);p.highlightStyle=Kn.ShapeStyleTool(null,e.sectorHoverStyle),void 0!==e.sectorHoverAble&&(p.hoverable=e.sectorHoverAble),void 0!==e.sectorClickAble&&(p.clickable=e.sectorClickAble),p.refDataID=this.data.id,p.dataInfo={field:this.fields[c],value:r[c]},this.shapes.push(this.shapeFactory.createShape(p)),o=l}this.shapesConvertToRelativeCoordinate()}}}};s.Feature.Theme.Point=class extends $n{constructor(e,t,r,s,i,n){super(e,t,r,s,i,n),this.CLASS_NAME="SuperMap.Feature.Theme.Point"}destroy(){super.destroy()}assembleShapes(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,15,15,15]:e.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var t=this.dataViewBox,r=this.DVBCodomain;this.DVBUnitValue=(r[1]-r[0])/this.DVBHeight;var s=this.DVBUnitValue,i=this.dataValues,n=this.calculateXShapeInfo();if(n){var a,o,l=n.xPositions;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(Kn.Background(this.shapeFactory,this.chartBox,e)),this.shapes=this.shapes.concat(Kn.GraphAxis(this.shapeFactory,t,e,n));for(var h=0,u=i.length;hr[1])return null;a=l[h],o=t[1]-(i[h]-r[0])/s;var c=new An(a,o);c.style=Kn.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,h,i[h]),c.highlightStyle=Kn.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(c.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(c.clickable=e.pointClickAble),c.refDataID=this.data.id,c.dataInfo={field:this.fields[h],value:i[h]},this.shapes.push(this.shapeFactory.createShape(c))}this.shapesConvertToRelativeCoordinate()}}}calculateXShapeInfo(){var e,t=this.dataViewBox,r=this.setting,s=this.dataValues.length;if(s<1)return null;var i=[],n=this.DVBWidth,a=0;if(r.xShapeBlank&&r.xShapeBlank.length&&2==r.xShapeBlank.length){var o=n-((e=r.xShapeBlank)[0]+e[1]);if(o<=s)return null;a=o/(s-1)}else e=[a=n/(s+1),a,a];for(var l=0,h=0;hs[1])return;var i=0;for(let e=0;e=0&&t.innerRingRadius0){var h=n[n.length-1];if(Math.abs(h[0]-s[0])<=a&&Math.abs(h[1]-s[1])<=a)continue}n.push(s)}if(n.length<2)return null;var u=new Object;(u=me.copyAttributesWithClip(u,this.style,["pointList"])).pointList=n;var c=new qn({style:u,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(c.highlightStyle=this.highlightStyle),c.refOriginalPosition=this.location,c.refDataID=this.data.id,c.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&me.copyAttributesWithClip(c,this.shapeOptions),this.shapes.push(c)}multiPointToTF(e){for(var t=e.components,r=[],s=[],i=this.location,n=[],a=this.nodesClipPixel,o=0;o0){var h=n[n.length-1];if(Math.abs(h[0]-s[0])<=a&&Math.abs(h[1]-s[1])<=a)continue}n.push(s);var u=new Object;u.r=6,(u=me.copyAttributesWithClip(u,this.style)).x=s[0],u.y=s[1];var c=new Jn({style:u,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(c.highlightStyle=this.highlightStyle),c.refOriginalPosition=i,c.refDataID=this.data.id,c.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&me.copyAttributesWithClip(c,this.shapeOptions),this.shapes.push(c)}}multiLineStringToTF(e){for(var t=e.components,r=0;r0){var d=n[n.length-1];if(Math.abs(d[0]-s[0])<=l&&Math.abs(d[1]-s[1])<=l)continue}n.push(s)}}else{a=[];for(var p=0;p0){var m=a[a.length-1];if(Math.abs(m[0]-s[0])<=l&&Math.abs(m[1]-s[1])<=l)continue}a.push(s)}}a.length<2||o.push(a)}if(!(n.length<2)){var f={};(f=me.copyAttributesWithClip(f,this.style,["pointList"])).pointList=n;var y=new Vn({style:f,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(y.highlightStyle=this.highlightStyle),y.refOriginalPosition=this.location,y.refDataID=this.data.id,y.isHoverByRefDataID=this.isMultiHover,o.length>0&&(y.holePolygonPointLists=o),this.shapeOptions&&me.copyAttributesWithClip(y,this.shapeOptions),this.shapes.push(y)}}rectangleToTF(e){var t=this.location,r=new fe(e.x,e.y),s=this.layer.map.getResolution(),i=this.getLocalXY(r),n=new Object;n.r=6,(n=me.copyAttributesWithClip(n,this.style)).x=i[0]-t[0],n.y=i[1]-t[1]-2*e.width/s,n.width=e.width/s,n.height=e.height/s;var a=new Xn({style:n,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(a.highlightStyle=this.highlightStyle),a.refOriginalPosition=t,a.refDataID=this.data.id,a.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&me.copyAttributesWithClip(a,this.shapeOptions),this.shapes.push(a)}geoTextToTF(e){var t=this.location,r=this.getLocalXY(e),s=new Object;s.r=6,(s=me.copyAttributesWithClip(s,this.style,["x","y","text"])).x=r[0]-t[0],s.y=r[1]-t[1],s.text=e.text;var i=new zn({style:s,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(i.highlightStyle=this.highlightStyle),i.refOriginalPosition=t,i.refDataID=this.data.id,i.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&me.copyAttributesWithClip(i,this.shapeOptions),this.shapes.push(i)}updateAndAddShapes(){var e=this.getLocalXY(this.lonlat);this.location=e;for(var t=this.layer.renderer,r=0,s=this.shapes.length;r0}addRoot(e){e instanceof ra&&e.addChildrenToStorage(this),this.addToMap(e),this._roots.push(e)}delRoot(e){if(void 0===e){for(var t=0;t=0&&(this.delFromMap(i.id),this._roots.splice(n,1),i instanceof ra&&i.delChildrenFromStorage(this))}}addToMap(e){return e instanceof ra&&(e._storage=this),e.modSelf(),this._elements[e.id]=e,this}get(e){return this._elements[e]}delFromMap(e){var t=this._elements[e];return t&&(delete this._elements[e],t instanceof ra&&(t._storage=null)),this}dispose(){this._elements=null,this._roots=null,this._hoverElements=null}static shapeCompareFunc(e,t){return e.zlevel==t.zlevel?e.z==t.z?e.__renderidx-t.__renderidx:e.z-t.z:e.zlevel-t.zlevel}}class ia{constructor(e,t){this.root=e,this.storage=t,this._domRoot=null,this._layers={},this._zlevelList=[],this._layerConfig={},this._bgDom=null,this.shapeToImage=null,ia.devicePixelRatio=Math.max(window.devicePixelRatio||1,1),this.CLASS_NAME="SuperMap.LevelRenderer.Painter",this.root.innerHTML="",this._width=this._getWidth(),this._height=this._getHeight();var r=document.createElement("div");this._domRoot=r,r.style.position="relative",r.style.overflow="hidden",r.style.width=this._width+"px",r.style.height=this._height+"px",this.root.appendChild(r),this.shapeToImage=this._createShapeToImageProcessor(),this._bgDom=ia.createDom(me.createUniqueID("SuperMap.Theme_background_"),"div",this),r.appendChild(this._bgDom),this._bgDom.onselectstart=n,this._bgDom.style["-webkit-user-select"]="none",this._bgDom.style["user-select"]="none",this._bgDom.style["-webkit-touch-callout"]="none";var s=new na(me.createUniqueID("_highLightLayer_"),this);this._layers.hover=s,r.appendChild(s.dom),s.initContext(),s.dom.onselectstart=n,s.dom.style["-webkit-user-select"]="none",s.dom.style["user-select"]="none",s.dom.style["-webkit-touch-callout"]="none";var i=this;function n(){return!1}this.updatePainter=function(e,t){i.refreshShapes(e,t)}}destroy(){this.dispose(),this._zlevelList=null,this._layerConfig=null,this._bgDom=null,this.shapeToImage=null}render(e){return this.refresh(e,!0),this}refresh(e,t){var r=this.storage.getShapeList(!0);return this._paintList(r,t),"function"==typeof e&&e(),this}_paintList(e,t){var r,s,i;for(var n in void 0===t&&(t=!1),this._updateLayerStatus(e),this._layers)"hover"!==n&&(this._layers[n].unusedCount++,this._layers[n].updateTransform());for(var a=[],o=0,l=e.length;o0&&e>this._zlevelList[0]){for(i=0;ie);i++);s=this._layers[this._zlevelList[i]]}this._zlevelList.splice(i+1,0,e),t=new na(me.createUniqueID("_levelLayer_"+e),this);var n=s?s.dom:this._bgDom;n.nextSibling?n.parentNode.insertBefore(t.dom,n.nextSibling):n.parentNode.appendChild(t.dom),t.initContext(),this._layers[e]=t,this._layerConfig[e]&&(new Fn).merge(t,this._layerConfig[e],!0),t.updateTransform()}return t}getLayers(){return this._layers}_updateLayerStatus(e){var t=this._layers,r={};for(let e in t)"hover"!==e&&(r[e]=t[e].elCount,t[e].elCount=0);for(let r=0;r0?1.1:1/1.1,r=this.painter.getLayers(),s=!1;for(var i in r)if("hover"!==i){var n=r[i],a=n.position;if(n.zoomable){n.__zoom=n.__zoom||1;var o=n.__zoom;o*=t,t=(o=Math.max(Math.min(n.maxZoom,o),n.minZoom))/n.__zoom,n.__zoom=o,a[0]-=(this._mouseX-a[0])*(t-1),a[1]-=(this._mouseY-a[1])*(t-1),n.scale[0]*=t,n.scale[1]*=t,n.dirty=!0,s=!0}}s&&this.painter.refresh(),this._dispatchAgency(this._lastHover,Gn.EVENT.MOUSEWHEEL,e),this._mousemoveHandler(e)},mousemove:function(e){this._clickThreshold++,e=this._zrenderEventFixed(e),this._lastX=this._mouseX,this._lastY=this._mouseY,this._mouseX=Un.Util_event.getX(e),this._mouseY=Un.Util_event.getY(e);var t=this._mouseX-this._lastX,r=this._mouseY-this._lastY;this._processDragStart(e),this._hasfound=0,this._event=e,this._iterateAndFindHover(),this._hasfound||((!this._draggingTarget||this._lastHover&&this._lastHover!=this._draggingTarget)&&(this._processOutShape(e),this._processDragLeave(e)),this._lastHover=null,this.storage.delHover(),this.painter.clearHover());var s="";if(this._draggingTarget)this.storage.drift(this._draggingTarget.id,t,r),this._draggingTarget.modSelf(),this.storage.addHover(this._draggingTarget);else if(this._isMouseDown){var i=this.painter.getLayers(),n=!1;for(var a in i)if("hover"!==a){var o=i[a];o.panable&&(s="move",o.position[0]+=t,o.position[1]+=r,n=!0,o.dirty=!0)}n&&this.painter.refresh()}this._draggingTarget||this._hasfound&&this._lastHover.draggable?s="move":this._hasfound&&this._lastHover.clickable&&(s="pointer"),this.root.style.cursor=s,this._dispatchAgency(this._lastHover,Gn.EVENT.MOUSEMOVE,e),(this._draggingTarget||this._hasfound||this.storage.hasHoverShape())&&this.painter.refreshHover()},mouseout:function(e){var t=(e=this._zrenderEventFixed(e)).toElement||e.relatedTarget;if(t!=this.root)for(;t&&9!=t.nodeType;){if(t==this.root)return void this._mousemoveHandler(e);t=t.parentNode}e.zrenderX=this._lastX,e.zrenderY=this._lastY,this.root.style.cursor="",this._isMouseDown=0,this._processOutShape(e),this._processDrop(e),this._processDragEnd(e),this.painter.refreshHover(),this.dispatch(Gn.EVENT.GLOBALOUT,e)},mousedown:function(e){if(this._clickThreshold=0,2==this._lastDownButton)return this._lastDownButton=e.button,void(this._mouseDownTarget=null);this._lastMouseDownMoment=new Date,e=this._zrenderEventFixed(e),this._isMouseDown=1,this._mouseDownTarget=this._lastHover,this._dispatchAgency(this._lastHover,Gn.EVENT.MOUSEDOWN,e),this._lastDownButton=e.button},mouseup:function(e){e=this._zrenderEventFixed(e),this.root.style.cursor="",this._isMouseDown=0,this._mouseDownTarget=null,this._dispatchAgency(this._lastHover,Gn.EVENT.MOUSEUP,e),this._processDrop(e),this._processDragEnd(e)},touchstart:function(e){e=this._zrenderEventFixed(e,!0),this._lastTouchMoment=new Date,this._mobildFindFixed(e),this._mousedownHandler(e)},touchmove:function(e){e=this._zrenderEventFixed(e,!0),this._mousemoveHandler(e),this._isDragging&&Un.Util_event.stop(e)},touchend:function(e){e=this._zrenderEventFixed(e,!0),this._mouseupHandler(e);var t=new Date;t-this._lastTouchMoment=0;i--){var n=r[i];if(void 0!==n.zlevel&&(e=this.painter.getLayer(n.zlevel,e),s[0]=this._mouseX,s[1]=this._mouseY,e.needTransform&&(Un.Util_matrix.invert(t,e.transform),Un.Util_vector.applyTransform(s,s,t))),this._findHover(n,s[0],s[1]))break}}_mobildFindFixed(e){var t=[{x:10},{x:-20},{x:10,y:10},{y:-20}];this._lastHover=null,this._mouseX=e.zrenderX,this._mouseY=e.zrenderY,this._event=e,this._iterateAndFindHover();for(var r=0;!this._lastHover&&r=0&&this._clips.splice(t,1)}_update(){var e=(new Date).getTime(),t=e-this._time,r=this._clips,s=r.length,i=[],n=[];for(let t=0;t=0&&!(f[S]<=a);S--);S=Math.min(S,h-2)}else{for(S=w;Sa);S++);S=Math.min(S-1,h-2)}w=S,A=a;var o=f[S+1]-f[S];if(0!==o){if(b=(a-f[S])/o,n)if(C=y[S],x=y[0===S?S:S-1],T=y[S>h-2?h-1:S+1],E=y[S>h-3?h-1:S+2],c)ha._catmullRomInterpolateArray(x,C,T,E,b,b*b,b*b*b,s(e,l),p);else{let t;t=d?ha.rgba2String(_):ha._catmullRomInterpolate(x,C,T,E,b,b*b,b*b*b),r(e,l,t)}else if(c)ha._interpolateArray(y[S],y[S+1],b,s(e,l),p);else{let t;d?(ha._interpolateArray(y[S],y[S+1],b,_,1),t=ha.rgba2String(_)):t=ha._interpolateNumber(y[S],y[S+1],b),r(e,l,t)}for(S=0;S"+r+"",this._createStyleSheet(),this._container}_createStyleSheet(){var e=document.createElement("style");e.type="text/css",e.innerHTML=".iclient-logo{margin:0 !important;}.iclient-logo a{border: none;display: block;height:31px;}.iclient-logo img{border: none;white-space: nowrap}",document.getElementsByTagName("head")[0].appendChild(e)}_extend(e){for(var t=0;t1&&(e=new xe(t[0],t[1])),new Oe(e,this.attributes)}}ma.a.supermap.ThemeFeature=va;class Sa{constructor(e,t){var r=t||{};this.name=e,this.id=r.id?r.id:me.createUniqueID("themeLayer_"),this.opacity=r.opacity?r.opacity:1,this.visibility=!0,this.loadWhileAnimating=void 0===r.loadWhileAnimating||r.loadWhileAnimating,this.map=r.map?r.map:null,this.features=[],this.TFEvents=[],this.map&&this.map.addLayer(this)}onAdd(e){this.map=e,this._createCanvasContainer(),this.addTFEvents(),this.map.on("resize",this.resizeEvent.bind(this)),this.map.on("zoomstart",this.zoomStartEvent.bind(this)),this.map.on("zoomend",this.zoomEndEvent.bind(this)),this.map.on("rotatestart",this.rotateStartEvent.bind(this)),this.map.on("rotate",this.rotateEvent.bind(this)),this.map.on("rotateend",this.rotateEndEvent.bind(this)),this.map.on("dragend",this.dragEndEvent.bind(this)),this.map.on("movestart",this.moveStartEvent.bind(this)),this.map.on("move",this.moveEvent.bind(this)),this.map.on("moveend",this.moveEndEvent.bind(this)),this.map.on("remove",this.removeFromMap.bind(this)),this.refresh()}refresh(){0!==this.features.length&&this.map&&this.redrawThematicFeatures(this.map.getBounds())}_createCanvasContainer(){this.movingOffset=[0,0],this.mapContainer=this.map.getCanvasContainer(),this.div=document.createElement("div"),this.div.id=this.id,this.div.style.position="absolute";var e=this.map.getCanvasContainer(),t=this.map.getCanvas();this.mapContainer.style.perspective=this.map.transform.cameraToCenterDistance+"px",this.div.style.width=t.style.width,this.div.style.height=t.style.height,this.div.className="themeLayer",this.div.width=parseInt(t.width),this.div.height=parseInt(t.height),e.appendChild(this.div),this.setOpacity(this.opacity),this.levelRenderer=new da,this.renderer=this.levelRenderer.init(this.div),this.renderer.clear()}destroyFeatures(e){if(void 0==e&&(e=this.features),e){this.removeFeatures(e);for(var t=e.length-1;t>=0;t--)e[t].destroy()}}setVisibility(e){e!==this.visibility&&(this.visibility=e,this.display(e),this.redrawThematicFeatures(this.map.getBounds()))}display(e){this.div.style.display=e?"block":"none"}setOpacity(e){if(e!==this.opacity){this.opacity=e;var t=this.div;me.modifyDOMElement(t,null,null,null,null,null,null,e),null!==this.map&&ma.a.Evented.prototype.fire("changelayer",{layer:this,property:"opacity"})}}addFeatures(e){}removeFeatures(e){if(e&&0!==e.length){if(e===this.features)return this.removeAllFeatures();me.isArray(e)||(e=[e]);for(var t=[],r=e.length-1;r>=0;r--){var s=e[r],i=me.indexOf(this.features,s);-1!==i?this.features.splice(i,1):t.push(s)}for(var n=[],a=0,o=this.features.length;a=r.left&&a.x<=r.right&&a.y>=r.top&&a.y<=r.bottom){s=!0;break}}return s}clearCache(){this.cache={},this.charts=[]}removeFeatures(e){this.clearCache(),super.removeFeatures(e)}removeAllFeatures(){this.clearCache(),super.removeAllFeatures()}redraw(){return this.clearCache(),!!this.renderer&&(this.redrawThematicFeatures(this.map.getBounds()),!0)}clear(){this.renderer&&(this.renderer.clearAll(),this.renderer.refresh()),this.removeAllFeatures(),this.clearCache()}}ma.a.supermap.GraphThemeLayer=ba;class xa extends Sa{constructor(e,t){super(e,t),this.name=null,this.style=null,this.highlightStyle=null,this.nodesClipPixel=2,this.isHoverAble=!1,this.isMultiHover=!1,this.isClickAble=!0,this.isAllowFeatureStyle=!1,me.extend(this,t),this.cache=t.cache||{},this.cacheFields=t.cacheFields||[],this.maxCacheCount=t.maxCacheCount||0,this.isCustomSetMaxCacheCount=void 0!==t.isCustomSetMaxCacheCount&&t.isCustomSetMaxCacheCount}addFeatures(e){ma.a.Evented.prototype.fire("beforefeaturesadded",{features:e}),this.features=this.toiClientFeature(e),this.isCustomSetMaxCacheCount||(this.maxCacheCount=5*this.features.length),this.renderer&&this.redrawThematicFeatures(this.map.getBounds())}removeFeatures(e){this.clearCache(),Sa.prototype.removeFeatures.apply(this,arguments)}removeAllFeatures(){this.clearCache(),Sa.prototype.removeAllFeatures.apply(this,arguments)}redrawThematicFeatures(e){this.clearCache();var t=this.renderer.getHoverOne(),r=null;t&&t.refDataID&&(r=t.refDataID),this.renderer.clearAll();for(var s=this.features,i=this.cache,n=this.cacheFields,a=this.map.getZoom(),o=this.maxCacheCount,l=0,h=s.length;lo){var d=n[0];n.splice(0,1),delete i[d]}}}if(this.renderer.render(),r&&this.isHoverAble&&this.isMultiHover){var p=this.getShapesByFeatureID(r);this.renderer.updateHoverShapes(p)}}createThematicFeature(e){var t=me.copyAttributesWithClip(this.style);e.style&&!0===this.isAllowFeatureStyle&&(t=me.copyAttributesWithClip(e.style));var r={};r.nodesClipPixel=this.nodesClipPixel,r.isHoverAble=this.isHoverAble,r.isMultiHover=this.isMultiHover,r.isClickAble=this.isClickAble,r.highlightStyle=Kn.transformStyle(this.highlightStyle);for(var s=new ta(e,this,Kn.transformStyle(t),r),i=0;i=0&&m.x<=c.x&&m.y>=0&&m.y<=c.y){if(r.style.minZoomLevel>-1&&h<=r.style.minZoomLevel)continue;if(r.style.maxZoomLevel>-1&&h>r.style.maxZoomLevel)continue;var f=null;r.isStyleChange?(r.isStyleChange=null,f=this.calculateLabelBounds(r,m)):f=r.geometry.bsInfo.w&&r.geometry.bsInfo.h?this.calculateLabelBounds2(r,m):this.calculateLabelBounds(r,m);var y=new ye(0,c.y,c.x,0),g=f.length;if(this.isAvoid){var v=this.getAvoidInfo(y,f);if(v){if("left"===v.aspectW){r.style.labelXOffset+=v.offsetX;for(let e=0;e=i[l].start&&a=i[l].start&&ao&&(o=r,l="top")}if(t.y>e.bottom){let r=Math.abs(t.y-e.bottom);r>o&&(o=r,l="bottom")}if(t.xa&&(a=r,h="left")}if(t.x>e.right){let r=Math.abs(t.x-e.right);r>a&&(a=r,h="right")}}}}isQuadrilateralOverLap(e,t){var r=e.length,s=t.length;if(5!==r||5!==s)return null;var i=!1;for(let s=0;sr.options.maxZoom)){var a=t.getBounds(),o=a.getEast()-a.getWest(),l=a.getNorth()-a.getSouth(),h=o/this.canvasLayer.canvas.width,u=l/this.canvasLayer.canvas.height,c=t.getCenter(),d=t.project(c),p={transferCoordinate:function(e){if(t.transform.rotationMatrix||"2d"===r.context){var s=t.project(new ma.a.LngLat(e[0],e[1]));return[s.x,s.y]}var i=[(e[0]-c.lng)/h,(c.lat-e[1])/u];return[i[0]+d.x,i[1]+d.y]}};void 0!==e&&(p.filter=function(t){var r=s.trails||10;return e&&t.time>e-r&&t.time",a="
"+(t._createLegendElement.call(t)||"")+"
";this._container.innerHTML=n+a}return t._appendLegendCSSStyle(),this._container},r.prototype.onRemove=function(){this._container.parentNode.removeChild(this._container),this._map=void 0},new r}_createLegendElement(){}_addLayer(){var e=this.getLayerStyleOptions(),t=this.id?this.id:"theme3DLayer",r=this.sourceId=t+"Source";this.map.getSource(r)?(this.map.removeSource(r),this.map.addSource(r,{type:"geojson",data:this.data})):this.map.addSource(r,{type:"geojson",data:this.data}),this.map.addLayer({id:t,type:"fill-extrusion",source:r,paint:e}),this.map.moveLayer(t)}_addHighLightLayer(){if(this.map){var e=this.map;e.addLayer({id:"highlightLayer",type:"fill-extrusion",source:this.sourceId,paint:this.getHighlightStyleOptions(),filter:["in","$id",""]}),this._selectFeatureId=null,e.on("mousemove",this.id,this._onMouseMove.bind(this)),e.on("mouseout",this.id,this._onMouseMove.bind(this))}}_onMouseMove(e){var t=this,r=this.map,s=r.queryRenderedFeatures(e.point,{layers:[t.id]});if(t.highlight&&t.highlight.callback&&t.highlight.callback(s,e),!s||s.length<1)return t._clearHighlight.call(t),void(t._selectFeatureId=null);var i=s[0].id;t._selectFeatureId!==i&&(t._selectFeatureId=i,r.setFilter("highlightLayer",["==","$id",t._selectFeatureId]))}_clearHighlight(){this.map&&this.map.setFilter("highlightLayer",["in","$id",""])}_appendLegendCSSStyle(){var e=document.createElement("style");e.type="text/css";e.innerHTML="\n .legend {\n display: inline-block;\n border-radius: 2px;\n -moz-border-radius: 2px;\n -webkit-border-radius: 2px;\n font-size: 12px;\n color: rgba(0, 0, 0, 0.8);\n background-color: rgb(255, 255, 255);\n }\n .legend-light {\n color: rgba(0, 0, 0, 0.8);\n background-color: rgb(255, 255, 255);\n box-shadow: 0px 0px 6px #bbbbbb;\n -moz-box-shadow: 0px 6px 10px #bbbbbb;\n -webkit-box-shadow: 0px 0px 6px #bbbbbb;\n }\n .legend-dark {\n color: rgba(255, 255, 255, 0.8);\n background-color: rgb(64, 64, 64);\n }\n .legend .legend-title {\n min-height: 14px;\n max-width: 500px;\n padding:6px 10px;\n }\n .legend-light .legend-title {\n color: rgba(0, 0, 0, 0.8);\n }\n .legend-dark .legend-title {\n color: rgba(255, 255, 255, 0.8);\n }\n .legend-content{\n padding:6px 10px;\n }\n "+this._legendCSSStyle(),document.getElementsByTagName("head")[0].appendChild(e)}_legendCSSStyle(){return"\n .legend ul {\n padding: 0;\n margin: 0 16px;\n height: 100%;\n display: block;\n list-style: none;\n }\n\n .legend li {\n vertical-align: middle;\n }\n\n .legend li span:first-child {\n vertical-align: middle;\n }\n\n .legend li span:last-child {\n line-height: 28px;\n max-width: 200px;\n vertical-align: middle;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n -ms-text-overflow: ellipsis;\n }\n\n .legend-vertical li {\n height: 28px;\n }\n\n .legend-vertical li span:first-child {\n display: inline-block;\n width: 60px;\n height: 100%;\n }\n\n .legend-vertical li span:last-child {\n display: inline-block;\n margin-left: 16px;\n height: 100%;\n }\n\n .legend-horizontal li {\n height: 56px;\n float: left;\n }\n\n .legend-horizontal li span:first-child {\n display: block;\n width: 100%;\n height: 50%;\n }\n\n .legend-horizontal li span:last-child {\n display: block;\n vertical-align: middle;\n width: 60px;\n height: 50%;\n text-align: center;\n }\n "}_extend(e){for(var t=0;t";for(e=0;e "+i;else i=i+"-"+this._getWrapperText(this.colorStops[e+1][0]);r+="
  • "+i+"
  • "}return r+=""}_getWrapperText(e){var t=e*(null==this.legendRatio?1:parseFloat(this.legendRatio)),r=parseFloat(t);return r%1e6<=1e6?r.toString():parseInt(r/1e3)+"k"}}ma.a.supermap.RangeTheme3DLayer=La;class Pa extends xa{constructor(e,t){super(e,t),this.style=t.style,this.isHoverAble=t.isHoverAble,this.highlightStyle=t.highlightStyle,this.themeField=t.themeField,this.styleGroups=t.styleGroups}createThematicFeature(e){var t=this.getStyleByData(e),r={};r.nodesClipPixel=this.nodesClipPixel,r.isHoverAble=this.isHoverAble,r.isMultiHover=this.isMultiHover,r.isClickAble=this.isClickAble,r.highlightStyle=Kn.transformStyle(this.highlightStyle);for(var s=new ta(e,this,Kn.transformStyle(t),r),i=0;i0&&r.attributes){var s=this.themeField,i=r.attributes,n=this.styleGroups,a=!1,o=null;for(var l in i)if(s===l){a=!0,o=i[l];break}if(a)for(var h=0,u=n.length;h=n[h].start&&o"+s+""}return e+=""}}ma.a.supermap.UniqueTheme3DLayer=Ma;class Ia extends xa{constructor(e,t){super(e,t),this.themeField=t.themeField,this.style=t.style,this.styleGroups=t.styleGroups,this.isHoverAble=t.isHoverAble,this.highlightStyle=t.highlightStyle}createThematicFeature(e){var t=this.getStyleByData(e),r={};r.nodesClipPixel=this.nodesClipPixel,r.isHoverAble=this.isHoverAble,r.isMultiHover=this.isMultiHover,r.isClickAble=this.isClickAble,r.highlightStyle=Kn.transformStyle(this.highlightStyle);for(var s=new ta(e,this,Kn.transformStyle(t),r),i=0;i0&&r.attributes){var s=this.themeField,i=r.attributes,n=this.styleGroups,a=!1,o=null;for(var l in i)if(s===l){a=!0,o=i[l];break}if(a)for(var h=0,u=n.length;h0?1:-1))/Math.PI,-180,180)}let i=e.lat;if(0!==r){let t=Math.abs(r),s=Ba(e.lat);i=ka(180*(s+=2*Math.sin(t/(2*this.R))*(t>0?1:-1))/Math.PI,-90,90)}return{lng:s,lat:i}},getResolution:function(e){if(!this.resolutions){for(var t=[],r=12756274*Math.PI,s=0;s<=this.maxZoom;s++)t[s]=r/(256*Math.pow(2,s));this.resolutions=t}let i=0|e,n=this.resolutions.length;i=i<0?0:i>n-1?n-1:i;const a=this.resolutions[i];if((0|e)!==e&&i!==n-1){return a+(this.resolutions[i+1]-a)*(e-i)}return a}},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},lngLatToPoint:function(e,t){var r=this.project(e);return this.transform(r,this.projection.getResolution(t))},locate:function(e,t,r){return this.projection.locate(e,t,r)},transform:function(e,t){return{x:this.matrix[0]*(e.x-this.matrix[2])/t,y:this.matrix[1]*(e.y-this.matrix[3])/t}}};ma.a.supermap.Transform=Ga;const Ua=Ga.projection,{Color:Ha,Scene:ja,WebGLRenderer:Ja,CanvasRenderer:za,PerspectiveCamera:Wa}=Da,Va=Math.PI/180,qa=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,Ya=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame;class Xa{constructor(e,t,r){this._layer=e,this.renderer=t||"gl",this.options=r}setMap(e){this.map=e}render(){this._layer&&(this.prepare(),this._layer.fire("initialized"),this._layer&&this._layer.draw(this.context,this.scene,this.camera),this._layer.fire("draw"),this.renderScene())}update(){this.remove(),this.render()}renderScene(){this.locationCamera(),this.animationFrame=this.renderFrame(function(){this.animationFrame=null,this.context&&this.context.render(this.scene,this.camera)}.bind(this))}renderFrame(e){return qa(function(){e&&"function"==typeof e&&e()})}resize(){this._resetElementSize(this.container),this._resetElementSize(this.canvas);let e=this.canvas.width,t=this.canvas.height,r=this.getMapSize();this.camera.aspect=e/t,this.camera.updateProjectionMatrix(),this.context.setSize(r.width,r.height),this.renderScene()}prepare(){if(!this.map)return new Error("map object is necessary");this.canvas?this.clear(this.context):(this._initContainer(),this._initThreeRenderer(),this._layer.fire("rendererinitialized"))}getMapSize(){let e=this.map.getContainer();return{width:e.clientWidth,height:e.clientHeight}}cancelFrame(){null!=this.animationFrame&&Ya(this.animationFrame)}remove(){null!=this.animationFrame&&Ya(this.animationFrame),this.container.removeChild(this.canvas),this.container.parentNode.removeChild(this.container),this.context=null,this.canvas=null,this.container=null}clear(e){e&&e.clear&&e.clear(),e&&e.clearRect&&e.clearRect(0,0,e.canvas.width,e.canvas.height)}getScale(e){let t=this.map,r=null==e?t.getZoom():e,s=Ua.getResolution(Ua.nativeMaxZoom);return Ua.getResolution(r)/s}getCanvasContainer(){return this.container}getCanvas(){return this.canvas}locationCamera(){let e=this.map,t=this.getMapSize(),r=e.transform.zoomScale(Ua.nativeMaxZoom-e.getZoom()-1),s=Math.tan(e.transform.fov/2*Va),i=this.camera,n=e.getPitch()*Va,a=-r*t.height/2/s;i.position.z=a*Math.cos(n);let o=Ga.lngLatToPoint(e.getCenter(),Ua.nativeMaxZoom),l=Math.sin(n)*a,h=e.getBearing()*Va;i.position.x=o.x+l*Math.sin(h),i.position.y=o.y-l*Math.cos(h),i.up.set(Math.sin(h),-Math.cos(h),0),i.lookAt(new Da.Vector3(o.x,o.y,0)),i.updateProjectionMatrix()}_initContainer(){var e=this._createCanvas(),t=this.container=document.createElement("div");this._layer._layerId&&(t.id=this._layer._layerId),t.className="threejs-wrapper",t.style.position="absolute",t.style.left="0px",t.style.top="0px",t.style.overflow="hidden",this._resetElementSize(t),t.appendChild(e),this.map.getCanvasContainer().appendChild(t)}_createCanvas(){if(this.canvas)return;const e=this.canvas=document.createElement("canvas");return e.className="threejs-overlay",e.style.outline="none",this._resetElementSize(e),e}_resetElementSize(e){if(!e)return;const t=this.getMapSize(),r=window.devicePixelRatio?window.devicePixelRatio:1,s=r*t.width,i=r*t.height;e.width=s,e.height=i,e.style.width=t.width+"px",e.style.height=t.height+"px"}_initThreeRenderer(){let e,t=this.map,r=this.getMapSize();"gl"===(this.renderer||"gl")?((e=new Ja({canvas:this.canvas,alpha:!0,antialias:!0,preserveDrawingBuffer:!0},this.options)).autoClear=!0,e.clear()):e=new za(me.extend({canvas:this.canvas,alpha:!0},this.options)),e.setClearColor(new Ha(1,1,1),0),e.canvas=this.canvas,this.context=e;let s=t.transform.fov,i=Math.tan(s/2*Va),n=this.getScale(Ua.minZoom)/this.getScale(Ua.nativeMaxZoom)*r.height/2/i;this.camera=new Wa(s,r.width/r.height,1,n),this.scene=new ja,this.scene.add(this.camera)}}const{Vector3:Qa,Shape:Ka,Mesh:Za,BufferGeometry:$a,ExtrudeGeometry:eo}=Da;class to extends ma.a.Evented{constructor(e,t,r){super(),this._layerId=e,this.options=r;let s=r&&r.threeOptions;this.renderer=new Xa(this,t,s)}toThreeShape(e){if(!e)return null;let t=this.getCoordinatesCenter(e),r=this.lngLatToPosition(t),s=e.map(e=>this.lngLatToPosition({lng:e[0],lat:e[1]}).sub(r));return new Ka(s)}toThreeMesh(e,t,r,s){if(!e)return null;let i=e;s&&(i=this.removeDuplicatedCoordinates(e));let n=this.distanceToThreeVector3(t,t).x,a=this.toThreeShape(i),o=new eo(a,{amount:n,bevelEnabled:!0}),l=(new $a).fromGeometry(o),h=new Za(l,r),u=this.lngLatToPosition(this.getCoordinatesCenter(i));return h.position.set(u.x,u.y,-n),h}addObject(e,t){t&&e&&this.setPosition(e,t),this.renderer&&this.renderer.scene.add(e)}getScene(){return this.renderer.scene}getCamera(){return this.renderer.camera}getThreeRenderer(){return this.renderer.context}clearMesh(){let e=this.renderer.scene;if(!e)return this;for(let t=e.children.length-1;t>=0;t--)e.children[t]instanceof Da.Mesh&&e.remove(e.children[t]);return this}clearAll(e){let t=this.renderer.scene;if(!t)return this;for(let r=t.children.length-1;r>=0;r--)!e&&t.children[r]instanceof Da.Camera||t.remove(t.children[r]);return this}setPosition(e,t){if(!e||!t)return this;var r=this.lngLatToPosition(t);return e.position.set(r.x,r.y,r.z),this}lngLatToPosition(e){let t=Ga.projection.nativeMaxZoom,r=Ga.lngLatToPoint(e,t);return new Qa(r.x,r.y,-0)}distanceToThreeVector3(e,t,r){let s=this._map,i=r||s.getCenter(),n=Ga.projection.nativeMaxZoom,a=Ga.locate(i,e,t),o=Ga.lngLatToPoint(i,n),l=Ga.lngLatToPoint(a,n),h=Math.abs(l.x-o.x)*Math.sign(e),u=Math.abs(l.y-o.y)*Math.sign(t);return new Qa(h,u,0)}removeDuplicatedCoordinates(e){function t(e,t){return e[0]===t[0]&&e[1]===t[1]}let r=[].concat(e);for(let e=r.length-1;e>=1;e--)t(r[e],r[e-1])&&r.splice(e,1);return t(r[0],r[r.length-1])&&r.splice(r.length-1,1),r}getCoordinatesCenter(e){let t=0,r=0,s=0,i=0,n=e.length;for(;i0?this.convertFastToPixelPoints(e):this.canvasContext.clearRect(0,0,this.maxWidth,this.maxWidth)}convertFastToPixelPoints(e){var t,r,s,i,n,a,o,l=[],h=e.getEast()-e.getWest(),u=e.getNorth()-e.getSouth(),c=this.map.getCanvas();i=h/c.width>u/c.height?h/c.width:u/c.height,this.useRadius=this.useGeoUnit?parseInt(this.radius/i):this.radius;for(var d=0;d0&&this.maxWidth>0))return!1;var r=this.canvasContext;this.canvasContext.clearRect(0,0,this.maxWidth,this.maxHeight),this.drawCircle(this.useRadius),this.createGradient();for(var s=0;s599){if(l)return;return l=!0,void i(new TypeError("Network request failed"))}var t={status:e,statusText:a.statusText,headers:function(e){var t=new o;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var r=e.trim().split(":"),s=r.shift().trim(),i=r.join(":").trim();t.append(s,i)}),t}(a),url:"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0},r="response"in a?a.response:a.responseText;l||(l=!0,s(new m(r,t)))}}a.onreadystatechange=h,a.onload=h,a.onerror=function(){l||(l=!0,i(new TypeError("Network request failed")))},a.open(n.method,n.url,!0);try{"include"===n.credentials&&("withCredentials"in a?a.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(e){console&&console.warn&&console.warn("set withCredentials error:"+e)}"responseType"in a&&r.blob&&(a.responseType="blob"),n.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send(void 0===n._bodyInit?null:n._bodyInit)})},t.fetch.polyfill=!0,void 0!==e&&e.exports&&(e.exports=t.fetch)}function n(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function l(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function u(e){var t=new FileReader;return t.readAsArrayBuffer(e),h(t)}function c(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(r.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(r.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!r.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},r.blob?(this.blob=function(){var e=l(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(u)},this.text=function(){var e,t,r,s,i,n,a,o=l(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=this._options,r=new FileReader,s=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",i=/charset\=[0-9a-zA-Z\-\_]*;?/,n=e.type.match(i)||s.match(i),a=[e],n&&a.push(n[0].replace(/^charset\=/,"").replace(/;$/,"")),r.readAsText.apply(r,a),h(r);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=l(this);return e||Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function d(e,t){var r,i,n=(t=t||{}).body;if(d.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=(r=t.method||this.method||"GET",i=r.toUpperCase(),s.indexOf(i)>-1?i:r),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n,t)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),s=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(s),decodeURIComponent(i))}}),t}function m(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof o?t.headers:new o(t.headers),this.url=t.url||""}}("undefined"!=typeof self?self:this)},function(e,t){var r,s,i=e.exports={};function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(e){if(r===setTimeout)return setTimeout(e,0);if((r===n||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:n}catch(e){r=n}try{s="function"==typeof clearTimeout?clearTimeout:a}catch(e){s=a}}();var l,h=[],u=!1,c=-1;function d(){u&&l&&(u=!1,l.length?h=l.concat(h):c=-1,h.length&&p())}function p(){if(!u){var e=o(d);u=!0;for(var t=h.length;t;){for(l=h,h=[];++c1)for(var r=1;r=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r(11),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(3))}]); \ No newline at end of file diff --git a/dist/mapboxgl/iclient9-mapboxgl.js b/dist/mapboxgl/iclient9-mapboxgl.js index cc2aebfe80..848f859d01 100644 --- a/dist/mapboxgl/iclient9-mapboxgl.js +++ b/dist/mapboxgl/iclient9-mapboxgl.js @@ -3,7 +3,7 @@ * iclient9-mapboxgl.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */ /******/ (function(modules) { // webpackBootstrap diff --git a/dist/mapboxgl/iclient9-mapboxgl.min.js b/dist/mapboxgl/iclient9-mapboxgl.min.js index f10eeacd94..12a9bf67c7 100644 --- a/dist/mapboxgl/iclient9-mapboxgl.min.js +++ b/dist/mapboxgl/iclient9-mapboxgl.min.js @@ -3,6 +3,6 @@ * iclient9-mapboxgl.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=414)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SuperMap=window.SuperMap=window.SuperMap||{}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Util=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(0);r(49);var o,a,s;t.Util=i.SuperMap.Util=i.SuperMap.Util||{};i.SuperMap.Util.extend=function(e,t){if(e=e||{},t){for(var r in t){var n=t[r];void 0!==n&&(e[r]=n)}!("function"==typeof window.Event&&t instanceof window.Event)&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&(e.toString=t.toString)}return e},i.SuperMap.Util.copy=function(e,t){var r;if(e=e||{},t)for(var n in e)void 0!==(r=t[n])&&(e[n]=r)},i.SuperMap.Util.reset=function(e){for(var t in e=e||{})if(e.hasOwnProperty(t)){if("object"===n(e[t])&&e[t]instanceof Array){for(var r in e[t])e[t][r].destroy&&e[t][r].destroy();e[t].length=0}else"object"===n(e[t])&&e[t]instanceof Object&&e[t].destroy&&e[t].destroy();e[t]=null}},i.SuperMap.Util.getElement=function(){for(var e=[],t=0,r=arguments.length;t=0;r--)e[r]===t&&e.splice(r,1);return e},i.SuperMap.Util.indexOf=function(e,t){if(null==e)return-1;if("function"==typeof e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r=0&&parseFloat(s)<1?(e.style.filter="alpha(opacity="+100*s+")",e.style.opacity=s):1===parseFloat(s)&&(e.style.filter="",e.style.opacity="")},i.SuperMap.Util.applyDefaults=function(e,t){e=e||{};var r="function"==typeof window.Event&&t instanceof window.Event;for(var n in t)(void 0===e[n]||!r&&t.hasOwnProperty&&t.hasOwnProperty(n)&&!e.hasOwnProperty(n))&&(e[n]=t[n]);return!r&&t&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&!e.hasOwnProperty("toString")&&(e.toString=t.toString),e},i.SuperMap.Util.getParameterString=function(e){var t=[];for(var r in e){var i=e[r];if(null!=i&&"function"!=typeof i){var o;if("object"===(void 0===i?"undefined":n(i))&&i.constructor===Array){for(var a,s=[],l=0,u=i.length;l1?1/e:e},i.SuperMap.Util.getResolutionFromScale=function(e,t){var r;e&&(null==t&&(t="degrees"),r=1/(i.SuperMap.Util.normalizeScale(e)*i.SuperMap.INCHES_PER_UNIT[t]*i.SuperMap.DOTS_PER_INCH));return r},i.SuperMap.Util.getScaleFromResolution=function(e,t){return null==t&&(t="degrees"),e*i.SuperMap.INCHES_PER_UNIT[t]*i.SuperMap.DOTS_PER_INCH},i.SuperMap.IS_GECKO=-1===(o=navigator.userAgent.toLowerCase()).indexOf("webkit")&&-1!==o.indexOf("gecko"),i.SuperMap.Browser=function(){var e,t="",r="",n="pc",i=navigator.userAgent.toLowerCase();return i.indexOf("msie")>-1||i.indexOf("trident")>-1&&i.indexOf("rv")>-1?(t="msie",e=i.match(/msie ([\d.]+)/)||i.match(/rv:([\d.]+)/)):i.indexOf("chrome")>-1?(t="chrome",e=i.match(/chrome\/([\d.]+)/)):i.indexOf("firefox")>-1?(t="firefox",e=i.match(/firefox\/([\d.]+)/)):i.indexOf("opera")>-1?(t="opera",e=i.match(/version\/([\d.]+)/)):i.indexOf("safari")>-1&&(t="safari",e=i.match(/version\/([\d.]+)/)),r=e?e[1]:"",i.indexOf("ipad")>-1||i.indexOf("ipod")>-1||i.indexOf("iphone")>-1?n="apple":i.indexOf("android")>-1&&(r=(e=i.match(/version\/([\d.]+)/))?e[1]:"",n="android"),{name:t,version:r,device:n}}(),i.SuperMap.Util.getBrowser=function(){return i.SuperMap.Browser},i.SuperMap.Util.isSupportCanvas=(a=!0,s=i.SuperMap.Util.getBrowser(),document.createElement("canvas").getContext?("firefox"===s.name&&parseFloat(s.version)<5&&(a=!1),"safari"===s.name&&parseFloat(s.version)<4&&(a=!1),"opera"===s.name&&parseFloat(s.version)<10&&(a=!1),"msie"===s.name&&parseFloat(s.version)<9&&(a=!1)):a=!1,a),i.SuperMap.Util.supportCanvas=function(){return i.SuperMap.Util.isSupportCanvas},i.SuperMap.INCHES_PER_UNIT.degree=i.SuperMap.INCHES_PER_UNIT.dd,i.SuperMap.INCHES_PER_UNIT.meter=i.SuperMap.INCHES_PER_UNIT.m,i.SuperMap.INCHES_PER_UNIT.foot=i.SuperMap.INCHES_PER_UNIT.ft,i.SuperMap.INCHES_PER_UNIT.inch=i.SuperMap.INCHES_PER_UNIT.inches,i.SuperMap.INCHES_PER_UNIT.mile=i.SuperMap.INCHES_PER_UNIT.mi,i.SuperMap.INCHES_PER_UNIT.kilometer=i.SuperMap.INCHES_PER_UNIT.km,i.SuperMap.INCHES_PER_UNIT.yard=i.SuperMap.INCHES_PER_UNIT.yd,i.SuperMap.Util.isInTheSameDomain=function(e){if(!e)return!0;var t=e.indexOf("//"),r=document.location.toString(),n=r.indexOf("//");if(-1===t)return!0;var i,o=i=e.substring(0,t),a=r.substring(n+2);n=a.indexOf("/");var s=a.indexOf(":"),l=a.substring(0,n),u=document.location.protocol;if(-1!==s||(l+=":"+("http:"===u.toLowerCase()?80:443)),u.toLowerCase()!==o.toLowerCase())return!1;var c=(o=e.substring(t+2)).indexOf(":");t=o.indexOf("/");var p,f=o.substring(0,t);return-1!==c?p=o.substring(0,c):(p=o.substring(0,t),f+=":"+("http:"===i.toLowerCase()?80:443)),p===document.domain&&f===l},i.SuperMap.Util.calculateDpi=function(e,t,r,n,i){if(e&&t&&r){var o,a=e.getWidth(),s=e.getHeight(),l=t.w,u=t.h;if(i=i||6378137,"degree"===(n=n||"degrees").toLowerCase()||"degrees"===n.toLowerCase()||"dd"===n.toLowerCase()){var c=a/l,p=s/u;o=254/(c>p?c:p)/r/(2*Math.PI*i/360)/1e4}else{o=254/(a/l)/r/1e4}return o}},i.SuperMap.Util.toJSON=function(e){var t=e;if(null==t)return null;switch(t.constructor){case String:return t=(t=(t=(t=(t=(t=(t='"'+t.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var r=[],o=0,a=t.length;o0?"{"+c.join(",")+"}":"{}"}return t.toString()}},i.SuperMap.Util.getResolutionFromScaleDpi=function(e,t,r,n){return n=n||6378137,r=r||"",e>0&&t>0?(e=i.SuperMap.Util.normalizeScale(e),"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*n/360)/1e4:254/t/e/1e4):-1},i.SuperMap.Util.getScaleFromResolutionDpi=function(e,t,r,n){return n=n||6378137,r=r||"",e>0&&t>0?"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*n/360)/1e4:254/t/e/1e4:-1},i.SuperMap.Util.transformResult=function(e){return e.responseText&&"string"==typeof e.responseText&&(e=JSON.parse(e.responseText)),e},i.SuperMap.Util.copyAttributes=function(e,t){if(e=e||{},t)for(var r in t){var n=t[r];void 0!==n&&"CLASS_NAME"!==r&&"function"!=typeof n&&(e[r]=n)}return e},i.SuperMap.Util.copyAttributesWithClip=function(e,t,r){if(e=e||{},t)for(var n in t){var i=!1;if(r&&r.length)for(var o=0,a=r.length;o=0&&a<=1&&o<=1&&a>=0?new i.SuperMap.Geometry.Point(e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)):"No Intersection";else if(0==l&&0==u){var p=Math.max(e.y,t.y),f=Math.min(e.y,t.y),h=Math.max(e.x,t.x),y=Math.min(e.x,t.x);s=(r.y>=f&&r.y<=p||n.y>=f&&n.y<=p)&&r.x>=y&&r.x<=h||n.x>=y&&n.x<=h?"Coincident":"Parallel"}else s="Parallel";return s},i.SuperMap.Util.getTextBounds=function(e,t,r){document.body.appendChild(r),r.style.width="auto",r.style.height="auto",e.fontSize&&(r.style.fontSize=e.fontSize),e.fontFamily&&(r.style.fontFamily=e.fontFamily),e.fontWeight&&(r.style.fontWeight=e.fontWeight),r.style.position="relative",r.style.visibility="hidden",r.style.display="inline-block",r.innerHTML=t;var n=r.clientWidth,i=r.clientHeight;return document.body.removeChild(r),{textWidth:n,textHeight:i}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AggregationQueryBuilderType=t.AggregationType=t.TopologyValidatorRule=t.SummaryType=t.StatisticAnalystMode=t.AnalystSizeUnit=t.AnalystAreaUnit=t.ClipAnalystMode=t.ChartType=t.ClientType=t.Exponent=t.VariogramMode=t.InterpolationAlgorithmType=t.SearchMode=t.PixelFormat=t.StatisticMode=t.UGCLayerType=t.LayerType=t.ColorSpaceType=t.GridType=t.TransferPreference=t.TransferTactic=t.EditType=t.DataReturnMode=t.SurfaceAnalystMethod=t.SmoothMethod=t.OutputType=t.OverlayOperationType=t.BufferEndType=t.TurnType=t.SupplyCenterType=t.SideType=t.DirectionType=t.LabelOverLengthMode=t.LabelBackShape=t.AlongLineDirection=t.FillGradientMode=t.TextAlignment=t.ColorGradientType=t.ThemeType=t.RangeMode=t.GraduatedMode=t.GraphAxesTextDisplayMode=t.ThemeGraphType=t.ThemeGraphTextFormat=t.EngineType=t.BufferRadiusUnit=t.Unit=t.MeasureMode=t.SpatialRelationType=t.SpatialQueryMode=t.JoinType=t.QueryOption=t.GeometryType=t.ServerType=t.DataFormat=void 0;var n=r(0),i=n.SuperMap.DataFormat={GEOJSON:"GEOJSON",ISERVER:"ISERVER"};t.DataFormat=i;var o=n.SuperMap.ServerType={ISERVER:"ISERVER",IPORTAL:"IPORTAL",ONLINE:"ONLINE"};t.ServerType=o;var a=n.SuperMap.GeometryType={LINE:"LINE",LINEM:"LINEM",POINT:"POINT",REGION:"REGION",ELLIPSE:"ELLIPSE",CIRCLE:"CIRCLE",TEXT:"TEXT",RECTANGLE:"RECTANGLE",UNKNOWN:"UNKNOWN"};t.GeometryType=a;var s=n.SuperMap.QueryOption={ATTRIBUTE:"ATTRIBUTE",ATTRIBUTEANDGEOMETRY:"ATTRIBUTEANDGEOMETRY",GEOMETRY:"GEOMETRY"};t.QueryOption=s;var l=n.SuperMap.JoinType={INNERJOIN:"INNERJOIN",LEFTJOIN:"LEFTJOIN"};t.JoinType=l;var u=n.SuperMap.SpatialQueryMode={CONTAIN:"CONTAIN",CROSS:"CROSS",DISJOINT:"DISJOINT",IDENTITY:"IDENTITY",INTERSECT:"INTERSECT",NONE:"NONE",OVERLAP:"OVERLAP",TOUCH:"TOUCH",WITHIN:"WITHIN"};t.SpatialQueryMode=u;var c=n.SuperMap.SpatialRelationType={CONTAIN:"CONTAIN",INTERSECT:"INTERSECT",WITHIN:"WITHIN"};t.SpatialRelationType=c;var p=n.SuperMap.MeasureMode={DISTANCE:"DISTANCE",AREA:"AREA"};t.MeasureMode=p;var f=n.SuperMap.Unit={METER:"METER",KILOMETER:"KILOMETER",MILE:"MILE",YARD:"YARD",DEGREE:"DEGREE",MILLIMETER:"MILLIMETER",CENTIMETER:"CENTIMETER",INCH:"INCH",DECIMETER:"DECIMETER",FOOT:"FOOT",SECOND:"SECOND",MINUTE:"MINUTE",RADIAN:"RADIAN"};t.Unit=f;var h=n.SuperMap.BufferRadiusUnit={CENTIMETER:"CENTIMETER",DECIMETER:"DECIMETER",FOOT:"FOOT",INCH:"INCH",KILOMETER:"KILOMETER",METER:"METER",MILE:"MILE",MILLIMETER:"MILLIMETER",YARD:"YARD"};t.BufferRadiusUnit=h;var y=n.SuperMap.EngineType={IMAGEPLUGINS:"IMAGEPLUGINS",OGC:"OGC",ORACLEPLUS:"ORACLEPLUS",SDBPLUS:"SDBPLUS",SQLPLUS:"SQLPLUS",UDB:"UDB"};t.EngineType=y;var d=n.SuperMap.ThemeGraphTextFormat={CAPTION:"CAPTION",CAPTION_PERCENT:"CAPTION_PERCENT",CAPTION_VALUE:"CAPTION_VALUE",PERCENT:"PERCENT",VALUE:"VALUE"};t.ThemeGraphTextFormat=d;var v=n.SuperMap.ThemeGraphType={AREA:"AREA",BAR:"BAR",BAR3D:"BAR3D",LINE:"LINE",PIE:"PIE",PIE3D:"PIE3D",POINT:"POINT",RING:"RING",ROSE:"ROSE",ROSE3D:"ROSE3D",STACK_BAR:"STACK_BAR",STACK_BAR3D:"STACK_BAR3D",STEP:"STEP"};t.ThemeGraphType=v;var m=n.SuperMap.GraphAxesTextDisplayMode={ALL:"ALL",NONE:"NONE",YAXES:"YAXES"};t.GraphAxesTextDisplayMode=m;var b=n.SuperMap.GraduatedMode={CONSTANT:"CONSTANT",LOGARITHM:"LOGARITHM",SQUAREROOT:"SQUAREROOT"};t.GraduatedMode=b;var g=n.SuperMap.RangeMode={CUSTOMINTERVAL:"CUSTOMINTERVAL",EQUALINTERVAL:"EQUALINTERVAL",LOGARITHM:"LOGARITHM",QUANTILE:"QUANTILE",SQUAREROOT:"SQUAREROOT",STDDEVIATION:"STDDEVIATION"};t.RangeMode=g;var S=n.SuperMap.ThemeType={DOTDENSITY:"DOTDENSITY",GRADUATEDSYMBOL:"GRADUATEDSYMBOL",GRAPH:"GRAPH",LABEL:"LABEL",RANGE:"RANGE",UNIQUE:"UNIQUE"};t.ThemeType=S;var _=n.SuperMap.ColorGradientType={BLACK_WHITE:"BLACKWHITE",BLUE_BLACK:"BLUEBLACK",BLUE_RED:"BLUERED",BLUE_WHITE:"BLUEWHITE",CYAN_BLACK:"CYANBLACK",CYAN_BLUE:"CYANBLUE",CYAN_GREEN:"CYANGREEN",CYAN_WHITE:"CYANWHITE",GREEN_BLACK:"GREENBLACK",GREEN_BLUE:"GREENBLUE",GREEN_ORANGE_VIOLET:"GREENORANGEVIOLET",GREEN_RED:"GREENRED",GREEN_WHITE:"GREENWHITE",PINK_BLACK:"PINKBLACK",PINK_BLUE:"PINKBLUE",PINK_RED:"PINKRED",PINK_WHITE:"PINKWHITE",RAIN_BOW:"RAINBOW",RED_BLACK:"REDBLACK",RED_WHITE:"REDWHITE",SPECTRUM:"SPECTRUM",TERRAIN:"TERRAIN",YELLOW_BLACK:"YELLOWBLACK",YELLOW_BLUE:"YELLOWBLUE",YELLOW_GREEN:"YELLOWGREEN",YELLOW_RED:"YELLOWRED",YELLOW_WHITE:"YELLOWWHITE"};t.ColorGradientType=_;var P=n.SuperMap.TextAlignment={TOPLEFT:"TOPLEFT",TOPCENTER:"TOPCENTER",TOPRIGHT:"TOPRIGHT",BASELINELEFT:"BASELINELEFT",BASELINECENTER:"BASELINECENTER",BASELINERIGHT:"BASELINERIGHT",BOTTOMLEFT:"BOTTOMLEFT",BOTTOMCENTER:"BOTTOMCENTER",BOTTOMRIGHT:"BOTTOMRIGHT",MIDDLELEFT:"MIDDLELEFT",MIDDLECENTER:"MIDDLECENTER",MIDDLERIGHT:"MIDDLERIGHT"};t.TextAlignment=P;var O=n.SuperMap.FillGradientMode={NONE:"NONE",LINEAR:"LINEAR",RADIAL:"RADIAL",CONICAL:"CONICAL",SQUARE:"SQUARE"};t.FillGradientMode=O;var w=n.SuperMap.AlongLineDirection={NORMAL:"ALONG_LINE_NORMAL",LB_TO_RT:"LEFT_BOTTOM_TO_RIGHT_TOP",LT_TO_RB:"LEFT_TOP_TO_RIGHT_BOTTOM",RB_TO_LT:"RIGHT_BOTTOM_TO_LEFT_TOP",RT_TO_LB:"RIGHT_TOP_TO_LEFT_BOTTOM"};t.AlongLineDirection=w;var T=n.SuperMap.LabelBackShape={DIAMOND:"DIAMOND",ELLIPSE:"ELLIPSE",MARKER:"MARKER",NONE:"NONE",RECT:"RECT",ROUNDRECT:"ROUNDRECT",TRIANGLE:"TRIANGLE"};t.LabelBackShape=T;var C=n.SuperMap.LabelOverLengthMode={NEWLINE:"NEWLINE",NONE:"NONE",OMIT:"OMIT"};t.LabelOverLengthMode=C;var M=n.SuperMap.DirectionType={EAST:"EAST",NONE:"NONE",NORTH:"NORTH",SOURTH:"SOURTH",WEST:"WEST"};t.DirectionType=M;var E=n.SuperMap.SideType={LEFT:"LEFT",MIDDLE:"MIDDLE",NONE:"NONE",RIGHT:"RIGHT"};t.SideType=E;var x=n.SuperMap.SupplyCenterType={FIXEDCENTER:"FIXEDCENTER",NULL:"NULL",OPTIONALCENTER:"OPTIONALCENTER"};t.SupplyCenterType=x;var k=n.SuperMap.TurnType={AHEAD:"AHEAD",BACK:"BACK",END:"END",LEFT:"LEFT",NONE:"NONE",RIGHT:"RIGHT"};t.TurnType=k;var j=n.SuperMap.BufferEndType={FLAT:"FLAT",ROUND:"ROUND"};t.BufferEndType=j;var A=n.SuperMap.OverlayOperationType={CLIP:"CLIP",ERASE:"ERASE",IDENTITY:"IDENTITY",INTERSECT:"INTERSECT",UNION:"UNION",UPDATE:"UPDATE",XOR:"XOR"};t.OverlayOperationType=A;var L=n.SuperMap.OutputType={INDEXEDHDFS:"INDEXEDHDFS",UDB:"UDB",MONGODB:"MONGODB",PG:"PG"};t.OutputType=L;var F=n.SuperMap.SmoothMethod={BSPLINE:"BSPLINE",POLISH:"POLISH"};t.SmoothMethod=F;var I=n.SuperMap.SurfaceAnalystMethod={ISOLINE:"ISOLINE",ISOREGION:"ISOREGION"};t.SurfaceAnalystMethod=I;var R=n.SuperMap.DataReturnMode={DATASET_AND_RECORDSET:"DATASET_AND_RECORDSET",DATASET_ONLY:"DATASET_ONLY",RECORDSET_ONLY:"RECORDSET_ONLY"};t.DataReturnMode=R;var D=n.SuperMap.EditType={ADD:"add",UPDATE:"update",DELETE:"delete"};t.EditType=D;var N=n.SuperMap.TransferTactic={LESS_TIME:"LESS_TIME",LESS_TRANSFER:"LESS_TRANSFER",LESS_WALK:"LESS_WALK",MIN_DISTANCE:"MIN_DISTANCE"};t.TransferTactic=N;var G=n.SuperMap.TransferPreference={BUS:"BUS",SUBWAY:"SUBWAY",NO_SUBWAY:"NO_SUBWAY",NONE:"NONE"};t.TransferPreference=G;var B=n.SuperMap.GridType={CROSS:"CROSS",GRID:"GRID",POINT:"POINT"};t.GridType=B;var U=n.SuperMap.ColorSpaceType={CMYK:"CMYK",RGB:"RGB"};t.ColorSpaceType=U;var J=n.SuperMap.LayerType={UGC:"UGC",WMS:"WMS",WFS:"WFS",CUSTOM:"CUSTOM"};t.LayerType=J;var H=n.SuperMap.UGCLayerType={THEME:"THEME",VECTOR:"VECTOR",GRID:"GRID",IMAGE:"IMAGE"};t.UGCLayerType=H;var V=n.SuperMap.StatisticMode={AVERAGE:"AVERAGE",MAX:"MAX",MIN:"MIN",STDDEVIATION:"STDDEVIATION",SUM:"SUM",VARIANCE:"VARIANCE"};t.StatisticMode=V;var W=n.SuperMap.PixelFormat={BIT16:"BIT16",BIT32:"BIT32",BIT64:"BIT64",SINGLE:"SINGLE",DOUBLE:"DOUBLE",UBIT1:"UBIT1",UBIT4:"UBIT4",UBIT8:"UBIT8",UBIT24:"UBIT24",UBIT32:"UBIT32"};t.PixelFormat=W;var z=n.SuperMap.SearchMode={KDTREE_FIXED_COUNT:"KDTREE_FIXED_COUNT",KDTREE_FIXED_RADIUS:"KDTREE_FIXED_RADIUS",NONE:"NONE",QUADTREE:"QUADTREE"};t.SearchMode=z;var q=n.SuperMap.InterpolationAlgorithmType={KRIGING:"KRIGING",SimpleKriging:"SimpleKriging",UniversalKriging:"UniversalKriging"};t.InterpolationAlgorithmType=q;var Q=n.SuperMap.VariogramMode={EXPONENTIAL:"EXPONENTIAL",GAUSSIAN:"GAUSSIAN",SPHERICAL:"SPHERICAL"};t.VariogramMode=Q;var Y=n.SuperMap.Exponent={EXP1:"EXP1",EXP2:"EXP2"};t.Exponent=Y;var X=n.SuperMap.ClientType={IP:"IP",REFERER:"Referer",REQUESTIP:"RequestIP",NONE:"NONE",SERVER:"SERVER",WEB:"WEB"};t.ClientType=X;var K=n.SuperMap.ChartType={BAR:"Bar",BAR3D:"Bar3D",CIRCLE:"Circle",PIE:"Pie",POINT:"Point",LINE:"Line",RING:"Ring"};t.ChartType=K;var Z=n.SuperMap.ClipAnalystMode={CLIP:"clip",INTERSECT:"intersect"};t.ClipAnalystMode=Z;var $=n.SuperMap.AnalystAreaUnit={SQUAREMETER:"SquareMeter",SQUAREKILOMETER:"SquareKiloMeter",HECTARE:"Hectare",ARE:"Are",ACRE:"Acre",SQUAREFOOT:"SquareFoot",SQUAREYARD:"SquareYard",SQUAREMILE:"SquareMile"};t.AnalystAreaUnit=$;var ee=n.SuperMap.AnalystSizeUnit={METER:"Meter",KILOMETER:"Kilometer",YARD:"Yard",FOOT:"Foot",MILE:"Mile"};t.AnalystSizeUnit=ee;var te=n.SuperMap.StatisticAnalystMode={MAX:"max",MIN:"min",AVERAGE:"average",SUM:"sum",VARIANCE:"variance",STDDEVIATION:"stdDeviation"};t.StatisticAnalystMode=te;var re=n.SuperMap.SummaryType={SUMMARYMESH:"SUMMARYMESH",SUMMARYREGION:"SUMMARYREGION"};t.SummaryType=re;var ne=n.SuperMap.TopologyValidatorRule={REGIONNOOVERLAP:"REGIONNOOVERLAP",REGIONNOOVERLAPWITH:"REGIONNOOVERLAPWITH",REGIONCONTAINEDBYREGION:"REGIONCONTAINEDBYREGION",REGIONCOVEREDBYREGION:"REGIONCOVEREDBYREGION",LINENOOVERLAP:"LINENOOVERLAP",LINENOOVERLAPWITH:"LINENOOVERLAPWITH",POINTNOIDENTICAL:"POINTNOIDENTICAL"};t.TopologyValidatorRule=ne;var ie=n.SuperMap.AggregationType={GEOHASH_GRID:"geohash_grid",FILTER:"filter"};t.AggregationType=ie;var oe=n.SuperMap.AggregationQueryBuilderType={GEO_BOUNDING_BOX:"geo_bounding_box"};t.AggregationQueryBuilderType=oe},function(e,t){e.exports=mapboxgl},function(e,t,r){"use strict";var n,i=r(3),o=(n=i)&&n.__esModule?n:{default:n};r(112),o.default.supermap=o.default.supermap||{}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElasticSearch=t.ThemeStyle=t.CartoCSS=t.TokenServiceParameter=t.ServerInfo=t.SecurityManager=t.KeyServiceParameter=t.SUtil=t.LevelRendererVector=t.Util=t.Transformable=t.Storage=t.SmicText=t.SmicStar=t.SmicSector=t.SmicRing=t.SmicRectangle=t.SmicPolygon=t.SmicPoint=t.SmicIsogon=t.SmicImage=t.SmicEllipse=t.SmicCircle=t.SmicBrokenLine=t.Shape=t.PaintLayer=t.Painter=t.Matrix=t.Math=t.Log=t.Http=t.Handler=t.Group=t.Eventful=t.LevelRendererEvent=t.Env=t.Easing=t.LevelRendererCurve=t.Config=t.ComputeBoundingBox=t.Color=t.Clip=t.Area=t.Animator=t.Animation=t.Render=t.LevelRenderer=t.FeatureTheme=t.Sector=t.FeatureRectangle=t.FeaturePolygon=t.Point=t.FeatureLine=t.Label=t.Image=t.FeatureCircle=t.ShapeParameters=t.ShapeFactory=t.ThemeVector=t.Ring=t.RankSymbol=t.OverlayPoint=t.Pie=t.Line=t.Graph=t.Circle=t.Bar3D=t.Bar=t.OnlineServiceBase=t.FilterField=t.DataItemOrderBy=t.DataItemType=t.ServiceStatus=t.OnlineQueryDatasParameter=t.OnlineData=t.Online=t.VectorClipJobsService=t.VectorClipJobsParameter=t.Vector=t.UpdateTurnNodeWeightService=t.UpdateTurnNodeWeightParameters=t.UpdateEdgeWeightService=t.UpdateEdgeWeightParameters=t.UGCSubLayer=t.UGCMapLayer=t.UGCLayer=t.TransferSolutionParameters=t.TransportationAnalystResultSetting=t.TransportationAnalystParameter=t.TransferSolutionService=t.TransferPathService=t.TransferPathParameters=t.TransferLine=t.TopologyValidatorJobsService=t.TopologyValidatorJobsParameter=t.TilesetsService=t.GeometryBatchAnalystService=t.ThiessenAnalystService=void 0,t.ThiessenAnalystParameters=t.ThemeUniqueItem=t.ThemeUnique=t.ThemeService=t.ThemeRangeItem=t.ThemeRange=t.ThemeParameters=t.ThemeOffset=t.ThemeMemoryData=t.ThemeLabelUniqueItem=t.ThemeLabelText=t.ThemeLabelItem=t.ThemeLabelBackground=t.ThemeLabelAlongLine=t.ThemeLabel=t.ThemeGridUniqueItem=t.ThemeGridUnique=t.ThemeGridRangeItem=t.ThemeGridRange=t.ThemeGraphText=t.ThemeGraphSize=t.ThemeGraphItem=t.ThemeGraphAxes=t.ThemeGraph=t.ThemeGraduatedSymbolStyle=t.ThemeGraduatedSymbol=t.ThemeFlow=t.ThemeDotDensity=t.Theme=t.TerrainCurvatureCalculationService=t.TerrainCurvatureCalculationParameters=t.SurfaceAnalystService=t.SurfaceAnalystParametersSetting=t.SurfaceAnalystParameters=t.SupplyCenter=t.SummaryRegionJobsService=t.SummaryRegionJobParameter=t.SummaryMeshJobsService=t.SummaryMeshJobParameter=t.SummaryAttributesJobsService=t.SummaryAttributesJobsParameter=t.StopQueryService=t.StopQueryParameters=t.SpatialAnalystBase=t.SingleObjectQueryJobsService=t.SingleObjectQueryJobsParameter=t.SetLayerStatusService=t.SetLayerStatusParameters=t.SetLayersInfoService=t.SetLayersInfoParameters=t.SetLayerInfoService=t.SetLayerInfoParameters=t.ServerTheme=t.ServerTextStyle=t.ServerStyle=t.ServerGeometry=t.ServerFeature=t.ServerColor=t.RouteLocatorService=t.RouteLocatorParameters=t.RouteCalculateMeasureService=t.RouteCalculateMeasureParameters=t.Route=t.QueryService=t.QueryParameters=t.QueryBySQLService=t.QueryBySQLParameters=t.QueryByGeometryService=t.QueryByGeometryParameters=t.QueryByDistanceService=t.QueryByDistanceParameters=t.QueryByBoundsService=t.QueryByBoundsParameters=t.ProcessingServiceBase=t.PointWithMeasure=t.OverlayGeoJobsService=t.OverlayGeoJobParameter=t.OverlayAnalystService=t.OverlayAnalystParameters=t.OverlapDisplayedOptions=t.OutputSetting=t.NetworkAnalystServiceBase=t.MeasureService=t.MeasureParameters=t.MathExpressionAnalysisService=t.MathExpressionAnalysisParameters=t.MapService=t.LinkItem=t.LayerStatus=t.LabelThemeCell=t.LabelSymbolCell=t.LabelMixedTextStyle=t.LabelMatrixCell=t.LabelImageCell=t.KernelDensityJobsService=t.KernelDensityJobParameter=t.JoinItem=t.InterpolationRBFAnalystParameters=t.InterpolationKrigingAnalystParameters=t.InterpolationIDWAnalystParameters=void 0,t.InterpolationAnalystService=t.InterpolationAnalystParameters=t.UGCImage=t.Grid=t.GetLayersInfoService=t.GetGridCellInfosService=t.GetGridCellInfosParameters=t.GetFieldsService=t.GetFeaturesServiceBase=t.GetFeaturesParametersBase=t.GetFeaturesBySQLService=t.GetFeaturesBySQLParameters=t.GetFeaturesByIDsService=t.GetFeaturesByIDsParameters=t.GetFeaturesByGeometryService=t.GetFeaturesByGeometryParameters=t.GetFeaturesByBufferService=t.GetFeaturesByBufferParameters=t.GetFeaturesByBoundsService=t.GetFeaturesByBoundsParameters=t.GeoRelationAnalystService=t.GeoRelationAnalystParameters=t.GeometryThiessenAnalystParameters=t.GeometrySurfaceAnalystParameters=t.GeometryOverlayAnalystParameters=t.GeometryBufferAnalystParameters=t.GeoHashGridAggParameter=t.GeoDecodingParameter=t.GeoCodingParameter=t.GeoBoundingBoxQueryBuilderParameter=t.GenerateSpatialDataService=t.GenerateSpatialDataParameters=t.FindTSPPathsService=t.FindTSPPathsParameters=t.FindServiceAreasService=t.FindServiceAreasParameters=t.FindPathService=t.FindPathParameters=t.FindMTSPPathsService=t.FindMTSPPathsParameters=t.FindLocationService=t.FindLocationParameters=t.FindClosestFacilitiesService=t.FindClosestFacilitiesParameters=t.FilterParameter=t.FilterAggParameter=t.FieldStatisticsParameters=t.FieldStatisticService=t.FieldParameters=t.FacilityAnalystUpstream3DService=t.FacilityAnalystUpstream3DParameters=t.FacilityAnalystTraceup3DService=t.FacilityAnalystTraceup3DParameters=t.FacilityAnalystTracedown3DService=t.FacilityAnalystTracedown3DParameters=t.FacilityAnalystStreamService=t.FacilityAnalystStreamParameters=t.FacilityAnalystSources3DService=t.FacilityAnalystSources3DParameters=t.FacilityAnalystSinks3DService=t.FacilityAnalystSinks3DParameters=t.FacilityAnalyst3DParameters=t.EditFeaturesService=t.EditFeaturesParameters=t.DensityKernelAnalystParameters=t.DensityAnalystService=t.DatasourceConnectionInfo=t.DatasetThiessenAnalystParameters=t.DatasetSurfaceAnalystParameters=t.DatasetOverlayAnalystParameters=t.DatasetInfo=t.DatasetBufferAnalystParameters=t.DataReturnOption=t.DataFlowService=t.ComputeWeightMatrixService=t.ComputeWeightMatrixParameters=t.CommonServiceBase=t.ColorDictionary=t.ClipParameter=t.ChartQueryService=t.ChartQueryParameters=t.ChartQueryFilterParameter=t.ChartFeatureInfoSpecsService=t.BurstPipelineAnalystService=t.BurstPipelineAnalystParameters=t.BuffersAnalystJobsService=t.BuffersAnalystJobsParameter=t.BufferSetting=t.BufferDistance=t.BufferAnalystService=t.BufferAnalystParameters=t.AreaSolarRadiationService=t.AreaSolarRadiationParameters=t.AggQueryBuilderParameter=t.AggregationParameter=t.AddressMatchService=t.IPortalServicesQueryParam=t.IPortalServiceBase=t.IPortalService=t.IPortalMapsQueryParam=void 0,t.IPortalMap=t.IPortal=t.IManagerServiceBase=t.IManagerCreateNodeParam=t.IManager=t.FetchRequest=t.getRequestTimeout=t.setRequestTimeout=t.isCORS=t.setCORS=t.WKT=t.JSONFormat=t.GeoJSON=t.Format=t.TimeFlowControl=t.TimeControlBase=t.GeometryVector=t.CommonUtil=t.Size=t.Pixel=t.LonLat=t.Geometry=t.Feature=t.Events=t.Event=t.DateExt=t.Credential=t.Bounds=t.ArrayExt=t.FunctionExt=t.NumberExt=t.StringExt=t.Rectangle=t.Polygon=t.GeometryPoint=t.MultiPolygon=t.MultiPoint=t.MultiLineString=t.LineString=t.LinearRing=t.GeoText=t.Curve=t.Collection=t.AggregationType=t.AggregationQueryBuilderType=t.OutputType=t.TopologyValidatorRule=t.StatisticAnalystMode=t.AnalystSizeUnit=t.AnalystAreaUnit=t.ClipAnalystMode=t.Exponent=t.VariogramMode=t.InterpolationAlgorithmType=t.SummaryType=t.SearchMode=t.PixelFormat=t.StatisticMode=t.UGCLayerType=t.LayerType=t.ClientType=t.GridType=t.TransferPreference=t.TransferTactic=t.EditType=t.ChartType=t.ColorSpaceType=t.SurfaceAnalystMethod=t.SmoothMethod=t.BufferEndType=t.TurnType=t.SupplyCenterType=t.OverlayOperationType=t.DirectionType=t.LabelOverLengthMode=t.LabelBackShape=t.AlongLineDirection=t.SideType=t.FillGradientMode=t.TextAlignment=t.ColorGradientType=t.ThemeType=t.RangeMode=t.GraduatedMode=t.GraphAxesTextDisplayMode=t.ThemeGraphType=t.ThemeGraphTextFormat=t.SpatialQueryMode=t.BufferRadiusUnit=t.Unit=t.DataReturnMode=t.SpatialRelationType=t.MeasureMode=t.EngineType=t.JoinType=t.QueryOption=t.GeometryType=t.ServerType=t.DataFormat=t.SuperMap=void 0;var n=r(0),i=r(2),o=r(413),a=r(410),s=r(408),l=r(406),u=r(397),c=r(395),p=r(320),f=r(317),h=r(313),y=r(309),d=r(308),v=r(304);t.SuperMap=n.SuperMap,t.DataFormat=i.DataFormat,t.ServerType=i.ServerType,t.GeometryType=i.GeometryType,t.QueryOption=i.QueryOption,t.JoinType=i.JoinType,t.EngineType=i.EngineType,t.MeasureMode=i.MeasureMode,t.SpatialRelationType=i.SpatialRelationType,t.DataReturnMode=i.DataReturnMode,t.Unit=i.Unit,t.BufferRadiusUnit=i.BufferRadiusUnit,t.SpatialQueryMode=i.SpatialQueryMode,t.ThemeGraphTextFormat=i.ThemeGraphTextFormat,t.ThemeGraphType=i.ThemeGraphType,t.GraphAxesTextDisplayMode=i.GraphAxesTextDisplayMode,t.GraduatedMode=i.GraduatedMode,t.RangeMode=i.RangeMode,t.ThemeType=i.ThemeType,t.ColorGradientType=i.ColorGradientType,t.TextAlignment=i.TextAlignment,t.FillGradientMode=i.FillGradientMode,t.SideType=i.SideType,t.AlongLineDirection=i.AlongLineDirection,t.LabelBackShape=i.LabelBackShape,t.LabelOverLengthMode=i.LabelOverLengthMode,t.DirectionType=i.DirectionType,t.OverlayOperationType=i.OverlayOperationType,t.SupplyCenterType=i.SupplyCenterType,t.TurnType=i.TurnType,t.BufferEndType=i.BufferEndType,t.SmoothMethod=i.SmoothMethod,t.SurfaceAnalystMethod=i.SurfaceAnalystMethod,t.ColorSpaceType=i.ColorSpaceType,t.ChartType=i.ChartType,t.EditType=i.EditType,t.TransferTactic=i.TransferTactic,t.TransferPreference=i.TransferPreference,t.GridType=i.GridType,t.ClientType=i.ClientType,t.LayerType=i.LayerType,t.UGCLayerType=i.UGCLayerType,t.StatisticMode=i.StatisticMode,t.PixelFormat=i.PixelFormat,t.SearchMode=i.SearchMode,t.SummaryType=i.SummaryType,t.InterpolationAlgorithmType=i.InterpolationAlgorithmType,t.VariogramMode=i.VariogramMode,t.Exponent=i.Exponent,t.ClipAnalystMode=i.ClipAnalystMode,t.AnalystAreaUnit=i.AnalystAreaUnit,t.AnalystSizeUnit=i.AnalystSizeUnit,t.StatisticAnalystMode=i.StatisticAnalystMode,t.TopologyValidatorRule=i.TopologyValidatorRule,t.OutputType=i.OutputType,t.AggregationQueryBuilderType=i.AggregationQueryBuilderType,t.AggregationType=i.AggregationType,t.Collection=o.Collection,t.Curve=o.Curve,t.GeoText=o.GeoText,t.LinearRing=o.LinearRing,t.LineString=o.LineString,t.MultiLineString=o.MultiLineString,t.MultiPoint=o.MultiPoint,t.MultiPolygon=o.MultiPolygon,t.GeometryPoint=o.GeometryPoint,t.Polygon=o.Polygon,t.Rectangle=o.Rectangle,t.StringExt=o.StringExt,t.NumberExt=o.NumberExt,t.FunctionExt=o.FunctionExt,t.ArrayExt=o.ArrayExt,t.Bounds=o.Bounds,t.Credential=o.Credential,t.DateExt=o.DateExt,t.Event=o.Event,t.Events=o.Events,t.Feature=o.Feature,t.Geometry=o.Geometry,t.LonLat=o.LonLat,t.Pixel=o.Pixel,t.Size=o.Size,t.CommonUtil=o.CommonUtil,t.GeometryVector=o.GeometryVector,t.TimeControlBase=s.TimeControlBase,t.TimeFlowControl=s.TimeFlowControl,t.Format=a.Format,t.GeoJSON=a.GeoJSON,t.JSONFormat=a.JSONFormat,t.WKT=a.WKT,t.setCORS=y.setCORS,t.isCORS=y.isCORS,t.setRequestTimeout=y.setRequestTimeout,t.getRequestTimeout=y.getRequestTimeout,t.FetchRequest=y.FetchRequest,t.IManager=l.IManager,t.IManagerCreateNodeParam=l.IManagerCreateNodeParam,t.IManagerServiceBase=l.IManagerServiceBase,t.IPortal=u.IPortal,t.IPortalMap=u.IPortalMap,t.IPortalMapsQueryParam=u.IPortalMapsQueryParam,t.IPortalService=u.IPortalService,t.IPortalServiceBase=u.IPortalServiceBase,t.IPortalServicesQueryParam=u.IPortalServicesQueryParam,t.AddressMatchService=c.AddressMatchService,t.AggregationParameter=c.AggregationParameter,t.AggQueryBuilderParameter=c.AggQueryBuilderParameter,t.AreaSolarRadiationParameters=c.AreaSolarRadiationParameters,t.AreaSolarRadiationService=c.AreaSolarRadiationService,t.BufferAnalystParameters=c.BufferAnalystParameters,t.BufferAnalystService=c.BufferAnalystService,t.BufferDistance=c.BufferDistance,t.BufferSetting=c.BufferSetting,t.BuffersAnalystJobsParameter=c.BuffersAnalystJobsParameter,t.BuffersAnalystJobsService=c.BuffersAnalystJobsService,t.BurstPipelineAnalystParameters=c.BurstPipelineAnalystParameters,t.BurstPipelineAnalystService=c.BurstPipelineAnalystService,t.ChartFeatureInfoSpecsService=c.ChartFeatureInfoSpecsService,t.ChartQueryFilterParameter=c.ChartQueryFilterParameter,t.ChartQueryParameters=c.ChartQueryParameters,t.ChartQueryService=c.ChartQueryService,t.ClipParameter=c.ClipParameter,t.ColorDictionary=c.ColorDictionary,t.CommonServiceBase=c.CommonServiceBase,t.ComputeWeightMatrixParameters=c.ComputeWeightMatrixParameters,t.ComputeWeightMatrixService=c.ComputeWeightMatrixService,t.DataFlowService=c.DataFlowService,t.DataReturnOption=c.DataReturnOption,t.DatasetBufferAnalystParameters=c.DatasetBufferAnalystParameters,t.DatasetInfo=c.DatasetInfo,t.DatasetOverlayAnalystParameters=c.DatasetOverlayAnalystParameters,t.DatasetSurfaceAnalystParameters=c.DatasetSurfaceAnalystParameters,t.DatasetThiessenAnalystParameters=c.DatasetThiessenAnalystParameters,t.DatasourceConnectionInfo=c.DatasourceConnectionInfo,t.DensityAnalystService=c.DensityAnalystService,t.DensityKernelAnalystParameters=c.DensityKernelAnalystParameters,t.EditFeaturesParameters=c.EditFeaturesParameters,t.EditFeaturesService=c.EditFeaturesService,t.FacilityAnalyst3DParameters=c.FacilityAnalyst3DParameters,t.FacilityAnalystSinks3DParameters=c.FacilityAnalystSinks3DParameters,t.FacilityAnalystSinks3DService=c.FacilityAnalystSinks3DService,t.FacilityAnalystSources3DParameters=c.FacilityAnalystSources3DParameters,t.FacilityAnalystSources3DService=c.FacilityAnalystSources3DService,t.FacilityAnalystStreamParameters=c.FacilityAnalystStreamParameters,t.FacilityAnalystStreamService=c.FacilityAnalystStreamService,t.FacilityAnalystTracedown3DParameters=c.FacilityAnalystTracedown3DParameters,t.FacilityAnalystTracedown3DService=c.FacilityAnalystTracedown3DService,t.FacilityAnalystTraceup3DParameters=c.FacilityAnalystTraceup3DParameters,t.FacilityAnalystTraceup3DService=c.FacilityAnalystTraceup3DService,t.FacilityAnalystUpstream3DParameters=c.FacilityAnalystUpstream3DParameters,t.FacilityAnalystUpstream3DService=c.FacilityAnalystUpstream3DService,t.FieldParameters=c.FieldParameters,t.FieldStatisticService=c.FieldStatisticService,t.FieldStatisticsParameters=c.FieldStatisticsParameters,t.FilterAggParameter=c.FilterAggParameter,t.FilterParameter=c.FilterParameter,t.FindClosestFacilitiesParameters=c.FindClosestFacilitiesParameters,t.FindClosestFacilitiesService=c.FindClosestFacilitiesService,t.FindLocationParameters=c.FindLocationParameters,t.FindLocationService=c.FindLocationService,t.FindMTSPPathsParameters=c.FindMTSPPathsParameters,t.FindMTSPPathsService=c.FindMTSPPathsService,t.FindPathParameters=c.FindPathParameters,t.FindPathService=c.FindPathService,t.FindServiceAreasParameters=c.FindServiceAreasParameters,t.FindServiceAreasService=c.FindServiceAreasService,t.FindTSPPathsParameters=c.FindTSPPathsParameters,t.FindTSPPathsService=c.FindTSPPathsService,t.GenerateSpatialDataParameters=c.GenerateSpatialDataParameters,t.GenerateSpatialDataService=c.GenerateSpatialDataService,t.GeoBoundingBoxQueryBuilderParameter=c.GeoBoundingBoxQueryBuilderParameter,t.GeoCodingParameter=c.GeoCodingParameter,t.GeoDecodingParameter=c.GeoDecodingParameter,t.GeoHashGridAggParameter=c.GeoHashGridAggParameter,t.GeometryBufferAnalystParameters=c.GeometryBufferAnalystParameters,t.GeometryOverlayAnalystParameters=c.GeometryOverlayAnalystParameters,t.GeometrySurfaceAnalystParameters=c.GeometrySurfaceAnalystParameters,t.GeometryThiessenAnalystParameters=c.GeometryThiessenAnalystParameters,t.GeoRelationAnalystParameters=c.GeoRelationAnalystParameters,t.GeoRelationAnalystService=c.GeoRelationAnalystService,t.GetFeaturesByBoundsParameters=c.GetFeaturesByBoundsParameters,t.GetFeaturesByBoundsService=c.GetFeaturesByBoundsService,t.GetFeaturesByBufferParameters=c.GetFeaturesByBufferParameters,t.GetFeaturesByBufferService=c.GetFeaturesByBufferService,t.GetFeaturesByGeometryParameters=c.GetFeaturesByGeometryParameters,t.GetFeaturesByGeometryService=c.GetFeaturesByGeometryService,t.GetFeaturesByIDsParameters=c.GetFeaturesByIDsParameters,t.GetFeaturesByIDsService=c.GetFeaturesByIDsService,t.GetFeaturesBySQLParameters=c.GetFeaturesBySQLParameters,t.GetFeaturesBySQLService=c.GetFeaturesBySQLService,t.GetFeaturesParametersBase=c.GetFeaturesParametersBase,t.GetFeaturesServiceBase=c.GetFeaturesServiceBase,t.GetFieldsService=c.GetFieldsService,t.GetGridCellInfosParameters=c.GetGridCellInfosParameters,t.GetGridCellInfosService=c.GetGridCellInfosService,t.GetLayersInfoService=c.GetLayersInfoService,t.Grid=c.Grid,t.UGCImage=c.UGCImage,t.InterpolationAnalystParameters=c.InterpolationAnalystParameters,t.InterpolationAnalystService=c.InterpolationAnalystService,t.InterpolationIDWAnalystParameters=c.InterpolationIDWAnalystParameters,t.InterpolationKrigingAnalystParameters=c.InterpolationKrigingAnalystParameters,t.InterpolationRBFAnalystParameters=c.InterpolationRBFAnalystParameters,t.JoinItem=c.JoinItem,t.KernelDensityJobParameter=c.KernelDensityJobParameter,t.KernelDensityJobsService=c.KernelDensityJobsService,t.LabelImageCell=c.LabelImageCell,t.LabelMatrixCell=c.LabelMatrixCell,t.LabelMixedTextStyle=c.LabelMixedTextStyle,t.LabelSymbolCell=c.LabelSymbolCell,t.LabelThemeCell=c.LabelThemeCell,t.LayerStatus=c.LayerStatus,t.LinkItem=c.LinkItem,t.MapService=c.MapService,t.MathExpressionAnalysisParameters=c.MathExpressionAnalysisParameters,t.MathExpressionAnalysisService=c.MathExpressionAnalysisService,t.MeasureParameters=c.MeasureParameters,t.MeasureService=c.MeasureService,t.NetworkAnalystServiceBase=c.NetworkAnalystServiceBase,t.OutputSetting=c.OutputSetting,t.OverlapDisplayedOptions=c.OverlapDisplayedOptions,t.OverlayAnalystParameters=c.OverlayAnalystParameters,t.OverlayAnalystService=c.OverlayAnalystService,t.OverlayGeoJobParameter=c.OverlayGeoJobParameter,t.OverlayGeoJobsService=c.OverlayGeoJobsService,t.PointWithMeasure=c.PointWithMeasure,t.ProcessingServiceBase=c.ProcessingServiceBase,t.QueryByBoundsParameters=c.QueryByBoundsParameters,t.QueryByBoundsService=c.QueryByBoundsService,t.QueryByDistanceParameters=c.QueryByDistanceParameters,t.QueryByDistanceService=c.QueryByDistanceService,t.QueryByGeometryParameters=c.QueryByGeometryParameters,t.QueryByGeometryService=c.QueryByGeometryService,t.QueryBySQLParameters=c.QueryBySQLParameters,t.QueryBySQLService=c.QueryBySQLService,t.QueryParameters=c.QueryParameters,t.QueryService=c.QueryService,t.Route=c.Route,t.RouteCalculateMeasureParameters=c.RouteCalculateMeasureParameters,t.RouteCalculateMeasureService=c.RouteCalculateMeasureService,t.RouteLocatorParameters=c.RouteLocatorParameters,t.RouteLocatorService=c.RouteLocatorService,t.ServerColor=c.ServerColor,t.ServerFeature=c.ServerFeature,t.ServerGeometry=c.ServerGeometry,t.ServerStyle=c.ServerStyle,t.ServerTextStyle=c.ServerTextStyle,t.ServerTheme=c.ServerTheme,t.SetLayerInfoParameters=c.SetLayerInfoParameters,t.SetLayerInfoService=c.SetLayerInfoService,t.SetLayersInfoParameters=c.SetLayersInfoParameters,t.SetLayersInfoService=c.SetLayersInfoService,t.SetLayerStatusParameters=c.SetLayerStatusParameters,t.SetLayerStatusService=c.SetLayerStatusService,t.SingleObjectQueryJobsParameter=c.SingleObjectQueryJobsParameter,t.SingleObjectQueryJobsService=c.SingleObjectQueryJobsService,t.SpatialAnalystBase=c.SpatialAnalystBase,t.StopQueryParameters=c.StopQueryParameters,t.StopQueryService=c.StopQueryService,t.SummaryAttributesJobsParameter=c.SummaryAttributesJobsParameter,t.SummaryAttributesJobsService=c.SummaryAttributesJobsService,t.SummaryMeshJobParameter=c.SummaryMeshJobParameter,t.SummaryMeshJobsService=c.SummaryMeshJobsService,t.SummaryRegionJobParameter=c.SummaryRegionJobParameter,t.SummaryRegionJobsService=c.SummaryRegionJobsService,t.SupplyCenter=c.SupplyCenter,t.SurfaceAnalystParameters=c.SurfaceAnalystParameters,t.SurfaceAnalystParametersSetting=c.SurfaceAnalystParametersSetting,t.SurfaceAnalystService=c.SurfaceAnalystService,t.TerrainCurvatureCalculationParameters=c.TerrainCurvatureCalculationParameters,t.TerrainCurvatureCalculationService=c.TerrainCurvatureCalculationService,t.Theme=c.Theme,t.ThemeDotDensity=c.ThemeDotDensity,t.ThemeFlow=c.ThemeFlow,t.ThemeGraduatedSymbol=c.ThemeGraduatedSymbol,t.ThemeGraduatedSymbolStyle=c.ThemeGraduatedSymbolStyle,t.ThemeGraph=c.ThemeGraph,t.ThemeGraphAxes=c.ThemeGraphAxes,t.ThemeGraphItem=c.ThemeGraphItem,t.ThemeGraphSize=c.ThemeGraphSize,t.ThemeGraphText=c.ThemeGraphText,t.ThemeGridRange=c.ThemeGridRange,t.ThemeGridRangeItem=c.ThemeGridRangeItem,t.ThemeGridUnique=c.ThemeGridUnique,t.ThemeGridUniqueItem=c.ThemeGridUniqueItem,t.ThemeLabel=c.ThemeLabel,t.ThemeLabelAlongLine=c.ThemeLabelAlongLine,t.ThemeLabelBackground=c.ThemeLabelBackground,t.ThemeLabelItem=c.ThemeLabelItem,t.ThemeLabelText=c.ThemeLabelText,t.ThemeLabelUniqueItem=c.ThemeLabelUniqueItem,t.ThemeMemoryData=c.ThemeMemoryData,t.ThemeOffset=c.ThemeOffset,t.ThemeParameters=c.ThemeParameters,t.ThemeRange=c.ThemeRange,t.ThemeRangeItem=c.ThemeRangeItem,t.ThemeService=c.ThemeService,t.ThemeUnique=c.ThemeUnique,t.ThemeUniqueItem=c.ThemeUniqueItem,t.ThiessenAnalystParameters=c.ThiessenAnalystParameters,t.ThiessenAnalystService=c.ThiessenAnalystService,t.GeometryBatchAnalystService=c.GeometryBatchAnalystService,t.TilesetsService=c.TilesetsService,t.TopologyValidatorJobsParameter=c.TopologyValidatorJobsParameter,t.TopologyValidatorJobsService=c.TopologyValidatorJobsService,t.TransferLine=c.TransferLine,t.TransferPathParameters=c.TransferPathParameters,t.TransferPathService=c.TransferPathService,t.TransferSolutionService=c.TransferSolutionService,t.TransportationAnalystParameter=c.TransportationAnalystParameter,t.TransportationAnalystResultSetting=c.TransportationAnalystResultSetting,t.TransferSolutionParameters=c.TransferSolutionParameters,t.UGCLayer=c.UGCLayer,t.UGCMapLayer=c.UGCMapLayer,t.UGCSubLayer=c.UGCSubLayer,t.UpdateEdgeWeightParameters=c.UpdateEdgeWeightParameters,t.UpdateEdgeWeightService=c.UpdateEdgeWeightService,t.UpdateTurnNodeWeightParameters=c.UpdateTurnNodeWeightParameters,t.UpdateTurnNodeWeightService=c.UpdateTurnNodeWeightService,t.Vector=c.Vector,t.VectorClipJobsParameter=c.VectorClipJobsParameter,t.VectorClipJobsService=c.VectorClipJobsService,t.Online=p.Online,t.OnlineData=p.OnlineData,t.OnlineQueryDatasParameter=p.OnlineQueryDatasParameter,t.ServiceStatus=p.ServiceStatus,t.DataItemType=p.DataItemType,t.DataItemOrderBy=p.DataItemOrderBy,t.FilterField=p.FilterField,t.OnlineServiceBase=p.OnlineServiceBase,t.Bar=v.Bar,t.Bar3D=v.Bar3D,t.Circle=v.Circle,t.Graph=v.Graph,t.Line=v.Line,t.Pie=v.Pie,t.OverlayPoint=v.OverlayPoint,t.RankSymbol=v.RankSymbol,t.Ring=v.Ring,t.ThemeVector=v.ThemeVector,t.ShapeFactory=v.ShapeFactory,t.ShapeParameters=v.ShapeParameters,t.FeatureCircle=v.FeatureCircle,t.Image=v.Image,t.Label=v.Label,t.FeatureLine=v.FeatureLine,t.Point=v.Point,t.FeaturePolygon=v.FeaturePolygon,t.FeatureRectangle=v.FeatureRectangle,t.Sector=v.Sector,t.FeatureTheme=v.FeatureTheme,t.LevelRenderer=v.LevelRenderer,t.Render=v.Render,t.Animation=v.Animation,t.Animator=v.Animator,t.Area=v.Area,t.Clip=v.Clip,t.Color=v.Color,t.ComputeBoundingBox=v.ComputeBoundingBox,t.Config=v.Config,t.LevelRendererCurve=v.LevelRendererCurve,t.Easing=v.Easing,t.Env=v.Env,t.LevelRendererEvent=v.LevelRendererEvent,t.Eventful=v.Eventful,t.Group=v.Group,t.Handler=v.Handler,t.Http=v.Http,t.Log=v.Log,t.Math=v.Math,t.Matrix=v.Matrix,t.Painter=v.Painter,t.PaintLayer=v.PaintLayer,t.Shape=v.Shape,t.SmicBrokenLine=v.SmicBrokenLine,t.SmicCircle=v.SmicCircle,t.SmicEllipse=v.SmicEllipse,t.SmicImage=v.SmicImage,t.SmicIsogon=v.SmicIsogon,t.SmicPoint=v.SmicPoint,t.SmicPolygon=v.SmicPolygon,t.SmicRectangle=v.SmicRectangle,t.SmicRing=v.SmicRing,t.SmicSector=v.SmicSector,t.SmicStar=v.SmicStar,t.SmicText=v.SmicText,t.Storage=v.Storage,t.Transformable=v.Transformable,t.Util=v.Util,t.LevelRendererVector=v.LevelRendererVector,t.SUtil=v.SUtil,t.KeyServiceParameter=f.KeyServiceParameter,t.SecurityManager=f.SecurityManager,t.ServerInfo=f.ServerInfo,t.TokenServiceParameter=f.TokenServiceParameter,t.CartoCSS=d.CartoCSS,t.ThemeStyle=d.ThemeStyle,t.ElasticSearch=h.ElasticSearch},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommonServiceBase=void 0;var n=function(){function e(e,t){for(var r=0;r-1&&"?"===n?e.url+=r.getUrlParameters():e.url.indexOf("?")>-1&&"?"!==n?e.url+="&"+r.getUrlParameters():e.url+="?"+r.getUrlParameters()}t.calculatePollingTimes(),t._processSuccess=e.success,t._processFailed=e.failure,e.scope=t,e.success=t.getUrlCompleted,e.failure=t.getUrlFailed,t.options=e,t._commit(t.options)}},{key:"getCredential",value:function(e){var t=e,r=void 0,n=void 0;switch(this.serverType){case c.ServerType.IPORTAL:(r=(n=l.SecurityManager.getToken(t))?new s.Credential(n,"token"):null)||(r=(n=l.SecurityManager.getKey(t))?new s.Credential(n,"key"):null);break;case c.ServerType.ONLINE:r=(n=l.SecurityManager.getKey(t))?new s.Credential(n,"key"):null;break;default:r=(n=l.SecurityManager.getToken(t))?new s.Credential(n,"token"):null}return r}},{key:"getUrlCompleted",value:function(e){this._processSuccess(e)}},{key:"getUrlFailed",value:function(e){this.totalTimes>0?(this.totalTimes--,this.ajaxPolling()):this._processFailed(e)}},{key:"ajaxPolling",value:function(){var e=this,t=e.options.url,r=/^http:\/\/([a-z]{9}|(\d+\.){3}\d+):\d{0,4}/;e.index=parseInt(Math.random()*e.length),e.url=e.urls[e.index],t=t.replace(r,r.exec(e.url)[0]),e.options.url=t,e.options.isInTheSameDomain=u.Util.isInTheSameDomain(t),e._commit(e.options)}},{key:"calculatePollingTimes",value:function(){var e=this;e.times?e.totalTimes>e.POLLING_TIMES?e.times>e.POLLING_TIMES?e.totalTimes=e.POLLING_TIMES:e.totalTimes=e.times:e.timese.POLLING_TIMES&&(e.totalTimes=e.POLLING_TIMES),e.totalTimes--}},{key:"isServiceSupportPolling",value:function(){return!("SuperMap.REST.ThemeService"===this.CLASS_NAME||"SuperMap.REST.EditFeaturesService"===this.CLASS_NAME)}},{key:"serviceProcessCompleted",value:function(e){e=u.Util.transformResult(e),this.events.triggerEvent("processCompleted",{result:e})}},{key:"serviceProcessFailed",value:function(e){var t=(e=u.Util.transformResult(e)).error||e;this.events.triggerEvent("processFailed",{error:t})}},{key:"_commit",value:function(e){"POST"!==e.method&&"PUT"!==e.method||(e.params&&(e.url=u.Util.urlAppend(e.url,u.Util.getParameterString(e.params||{}))),e.params=e.data),o.FetchRequest.commit(e.method,e.url,e.params,{headers:e.headers,withCredentials:e.withCredentials,timeout:e.async?0:null,proxy:e.proxy}).then(function(e){return e.text?e.text():e.json?e.json():e}).then(function(t){var r=t;("string"==typeof t&&(r=(new p.JSONFormat).read(t)),(!r||r.error||r.code>=300&&304!==r.code)&&(r=r&&r.error?{error:r.error}:{error:r}),r.error)?(e.scope?f.FunctionExt.bind(e.failure,e.scope):e.failure)(r):(r.succeed=void 0==r.succeed||r.succeed,(e.scope?f.FunctionExt.bind(e.success,e.scope):e.success)(r))})}}]),e}();i.SuperMap.CommonServiceBase=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceBase=void 0;var n,i=r(3),o=(n=i)&&n.__esModule?n:{default:n};r(4);var a=t.ServiceBase=function(e){function t(e,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.options=r||{},n.url=e,n.fire("initialized",n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Evented),t}();o.default.supermap.ServiceBase=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServerGeometry=void 0;var n=function(){function e(e,t){for(var r=0;r0){if(1===r)return new o.Point(t[0].x,t[0].y);for(var n=[],i=0;i0){if(1===r){for(var n=[],i=0;i0){if(1===p){for(e=0,r=[];e=0;P--)if(S[_]=-1,y[P].getBounds().containsBounds(y[_].getBounds())){d[_]=-1*d[P],d[_]<0&&(S[_]=P);break}for(var O=0;O0?a.push(y[O]):(a[S[O]].components=a[S[O]].components.concat(y[O].components),a.push(""))}else{a=new Array;for(var w=0;w0&&a.length>0&&(a[a.length-1].components=a[a.length-1].components.concat(f),f=[]),a.push(y[w])),w==i-1){var T=a.length;if(T)a[T-1].components=a[T-1].components.concat(f);else for(var C=0,M=f.length;C=0;w--)if(P[O]=-1,v[w].getBounds().containsBounds(v[O].getBounds())){m[O]=-1*m[w],m[O]<0&&(P[O]=w);break}for(var T=0;T0?u.push(v[T]):(u[P[T]].components=u[P[T]].components.concat(v[T].components),u.push(""))}else{u=new Array;for(var C=0;C0&&u.length>0&&(u[u.length-1].components=u[u.length-1].components.concat(y),y=[]),u.push(v[C])),C==i-1){var M=u.length;if(M)u[M-1].components=u[M-1].components.concat(y);else for(var E=0,x=y.length;Ee[i]){var o=e[i];e[i]=e[n],e[n]=o;var a=t[i];if(t[i]=t[n],t[n]=a,r&&r.length>0){var s=r[i];r[i]=r[n],r[n]=s}}}}]),e}();i.SuperMap.ServerGeometry=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpatialAnalystBase=void 0;var n=function(){function e(e,t){for(var r=0;ra-2?a-1:h+1][0]+o[0],t[h>a-2?a-1:h+1][1]+o[1]],b=[t[h>a-3?a-1:h+2][0]+o[0],t[h>a-3?a-1:h+2][1]+o[1]]);var g=y*y,S=y*g;s.push([_(d[0],v[0],m[0],b[0],y,g,S),_(d[1],v[1],m[1],b[1],y,g,S)])}return s;function _(e,t,r,n,i,o,a){var s=.5*(r-e),l=.5*(n-t);return(2*(t-r)+s+l)*a+(-3*(t-r)-2*s-l)*o+s*i+t}}},{key:"SUtil_dashedLineTo",value:function(e,t,r,n,i,o,a){var s=[5,5];if(o="number"!=typeof o?5:o,e.setLineDash)return s[0]=o,s[1]=o,a&&a instanceof Array?e.setLineDash(a):e.setLineDash(s),e.moveTo(t,r),void e.lineTo(n,i);var l=n-t,u=i-r,c=Math.floor(Math.sqrt(l*l+u*u)/o);l/=c,u/=c;for(var p=!0,f=0;f0&&(this.setCtxGlobalAlpha(e,"stroke",r),e.stroke()),this.setCtxGlobalAlpha(e,"reset",r);break;case"stroke":this.setCtxGlobalAlpha(e,"stroke",r),r.lineWidth>0&&e.stroke(),this.setCtxGlobalAlpha(e,"reset",r);break;default:this.setCtxGlobalAlpha(e,"fill",r),e.fill(),this.setCtxGlobalAlpha(e,"reset",r)}this.drawText(e,r,this.style),this.afterBrush(e)}},{key:"beforeBrush",value:function(e,t){var r=this.style;return this.brushTypeOnly&&(r.brushType=this.brushTypeOnly),t&&(r=this.getHighlightStyle(r,this.highlightStyle||{},this.brushTypeOnly)),"stroke"==this.brushTypeOnly&&(r.strokeColor=r.strokeColor||r.color),e.save(),this.doClip(e),this.setContext(e,r),this.setTransform(e),r}},{key:"afterBrush",value:function(e){e.restore()}},{key:"setContext",value:function(e,t){for(var r=[["color","fillStyle"],["strokeColor","strokeStyle"],["opacity","globalAlpha"],["lineCap","lineCap"],["lineJoin","lineJoin"],["miterLimit","miterLimit"],["lineWidth","lineWidth"],["shadowBlur","shadowBlur"],["shadowColor","shadowColor"],["shadowOffsetX","shadowOffsetX"],["shadowOffsetY","shadowOffsetY"]],n=0,i=r.length;n=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height&&l.SUtil.Util_area.isInside(this,this.style,e,t)}},{key:"drawText",value:function(e,r,n){if(void 0!==r.text&&!1!==r.text){var i=r.textColor||r.color||r.strokeColor;e.fillStyle=i;var o,a,s,l,u=10,c=r.textPosition||this.textPosition||"top",p=[];switch(p=this.refOriginalPosition&&2===this.refOriginalPosition.length?this.refOriginalPosition:[0,0],c){case"inside":case"top":case"bottom":case"left":case"right":if(this.getRect){var f=(n||r).__rect||this.getRect(n||r);switch(c){case"inside":s=f.x+f.width/2,l=f.y+f.height/2,o="center",a="middle","stroke"!=r.brushType&&i==r.color&&(e.fillStyle="#fff");break;case"left":s=f.x-u,l=f.y+f.height/2,o="end",a="middle";break;case"right":s=f.x+f.width+u,l=f.y+f.height/2,o="start",a="middle";break;case"top":s=f.x+f.width/2,l=f.y-u,o="center",a="bottom";break;case"bottom":s=f.x+f.width/2,l=f.y+f.height+u,o="center",a="top"}}break;case"start":case"end":var h=0,y=0,d=0,v=0;if(void 0!==r.pointList){var m=r.pointList;if(m.length<2)return;var b=m.length;switch(c){case"start":h=m[0][0]+p[0],y=m[1][0]+p[0],d=m[0][1]+p[1],v=m[1][1]+p[1];break;case"end":h=m[b-2][0]+p[0],y=m[b-1][0]+p[0],d=m[b-2][1]+p[1],v=m[b-1][1]+p[1]}}else h=r.xStart+p[0]||0,y=r.xEnd+p[0]||0,d=r.yStart+p[1]||0,v=r.yEnd+p[1]||0;switch(c){case"start":o=h-1||(t[n]=e[n]);return t}},{key:"toGeometry",value:function(e){var t=this,r=e.type;switch("polygon"===r&&(r=b.GeometryType.REGION),r.toUpperCase()){case b.GeometryType.POINT:return t.toGeoPoint(e);case b.GeometryType.LINE:return t.toGeoLine(e);case b.GeometryType.LINEM:return t.toGeoLinem(e);case b.GeometryType.REGION:return t.toGeoRegion(e);case b.GeometryType.RECTANGLE:return t.toGeoRectangle(e);case b.GeometryType.POINTEPS:return t.toGeoPoint(e);default:return e}}},{key:"toGeoPoint",value:function(e){var t=e.points||[{x:e.x,y:e.y}],r=(e.parts||[t.length]).length;if(r<1)return null;if(1===r)return{type:"Point",x:parseFloat(t[0].x),y:parseFloat(t[0].y)};for(var n=0,i=[];n0?t.push(c):o.push([c]),a===i-1){var p=o.length;if(p)o[p-1]=o[p-1].concat(t);else for(var f=0,h=t.length;f-1?"&":"?")+"_method="+e,"string"!=typeof r&&(r=JSON.stringify(r)),this.post(t,r,n)},_processUrl:function(e,t){if(this._isMVTRequest(e))return e;if(-1===e.indexOf(".json")&&!t.withoutFormatSuffix)if(e.indexOf("?")<0)e+=".json";else{var r=e.split("?");2===r.length&&(e=r[0]+".json?"+r[1])}return t&&t.proxy&&("function"==typeof t.proxy?e=t.proxy(e):(e=decodeURIComponent(e),e=t.proxy+encodeURIComponent(e))),e},_fetch:function(e,t,r,n){return(r=r||{}).headers=r.headers||{},r.headers["Content-Type"]||(r.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8"),r.timeout?this._timeout(r.timeout,u(e,{method:n,headers:r.headers,body:"PUT"===n||"POST"===n?t:void 0,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:p()}).then(function(e){return e})):u(e,{method:n,body:"PUT"===n||"POST"===n?t:void 0,headers:r.headers,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:p()}).then(function(e){return e})},_fetchJsonp:function(e,t){return t=t||{},(0,a.default)(e,{method:"GET",timeout:t.timeout}).then(function(e){return e})},_timeout:function(e,t){return new Promise(function(r,n){setTimeout(function(){n(new Error("timeout"))},e),t.then(r,n)})},_getParameterString:function(e){var t=[];for(var r in e){var i=e[r];if(null!=i&&"function"!=typeof i){var o;if("object"===(void 0===i?"undefined":n(i))&&i.constructor===Array){for(var a,s=[],l=0,u=i.length;l-1||e.indexOf(".pbf")>-1}};s.SuperMap.Util.RequestJSONPPromise={limitLength:1500,queryKeys:[],queryValues:[],supermap_callbacks:{},addQueryStrings:function(e){for(var t in e){this.queryKeys.push(t),"string"!=typeof e[t]&&(e[t]=s.SuperMap.Util.toJSON(e[t]));var r=encodeURIComponent(e[t]);this.queryValues.push(r)}},issue:function(e){for(var t=this,r=t.getUid(),n=e.url,i=[],o=new Promise(function(e){t.supermap_callbacks[r]=function(n){delete t.supermap_callbacks[r],e(n)}}),a=n,s=0,l=t.queryKeys?t.queryKeys.length:0,u=0;u=t.limitLength){if(0==s)return!1;i.push(a),a=n,s=0,u--}else if(a.length+t.queryKeys[u].length+2+t.queryValues[u].length>t.limitLength)for(var c=t.queryValues[u];c.length>0;){var p=t.limitLength-a.length-t.queryKeys[u].length-2;a.indexOf("?")>-1?a+="&":a+="?";var f=c.substring(0,p);"%"===f.substring(p-1,p)?(p-=1,f=c.substring(0,p)):"%"===f.substring(p-2,p-1)&&(p-=2,f=c.substring(0,p)),a+=t.queryKeys[u]+"="+f,c=c.substring(p),f.length>0&&(i.push(a),a=n,s=0)}else s++,a.indexOf("?")>-1?a+="&":a+="?",a+=t.queryKeys[u]+"="+t.queryValues[u];return i.push(a),t.send(i,"SuperMap.Util.RequestJSONPPromise.supermap_callbacks["+r+"]",e&&e.proxy),o},getUid:function(){return 1e3*(new Date).getTime()+Math.floor(1e17*Math.random())},send:function(e,t,r){var n=e.length;if(n>0)for(var i=(new Date).getTime(),o=0;o-1?s+="&":s+="?",s+="sectionCount="+n,s+="§ionIndex="+o,s+="&jsonpUserID="+i,r&&(s=decodeURIComponent(s),s=r+encodeURIComponent(s)),(0,a.default)(s,{jsonpCallbackFunction:t,timeout:3e4})}},GET:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings(e.params),this.issue(e)},POST:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},PUT:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},DELETE:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LineString=void 0;var n=function(){function e(e,t){for(var r=0;r2;return r&&function e(t,r,n){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,r);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,r,n)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(n):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeComponent",this).apply(this,arguments),r}},{key:"getSortedSegments",value:function(){for(var e,t,r=this.components.length-1,n=new Array(r),i=0;i=1?1:b)<=-1?-1:b,p=180*Math.acos(b)/Math.PI,s=(p=i.x==r.x?t.x>r.x&&n.x>r.x||t.xh*t.x+y&&n.y>h*n.x+y||t.yr.y?n.xr.x&&(l=!1):i.xh*n.x+y&&(l=!1):i.x>r.x?n.y>r.y&&(l=!1):n.y=0?180*Math.atan(g)/Math.PI:Math.abs(180*Math.atan(g)/Math.PI)+90,_=Math.abs(t.y);r.y==_&&_==i.y&&r.x=0?g>=0?c+=u:c=180-(c-90)+u:c=g>0?c-180+u:90-c+u:P>=0?g>=0?c-=u:c=180-(c-90)-u:c=g>=0?c-180-u:90-c-u,c=c*Math.PI/180;var w=t.x+a*Math.cos(c),T=t.y+a*Math.sin(c);f.push(new o.Point(w,T))}f.push(i)}return f}},{key:"createLineEPS",value:function(e){var r=[],n=e.length;if(null==e||n<2)return e;for(var i=0;i=15){var v=parseInt(l.axis3DParameter),m=[o[0]-v,o[1]+v];l.axisUseArrow?(y.push([m[0]+1.5,m[1]-7.5]),y.push([m[0]-1,m[1]+1]),y.push([m[0]+7.5,m[1]-1.5]),d.push([m[0],m[1]])):d.push([m[0],m[1]]),d.push([o[0],o[1]])}d.push([o[2]+5,o[1]])}else{var b=Math.abs(o[1]-o[3])/h,g=o[3];d.push([o[0],g-5]);for(var S=0;S=15){var O=parseInt(l.axis3DParameter),w=[o[0]-O,o[1]+O];l.axisUseArrow?(y.push([w[0]+1.5,w[1]-7.5]),y.push([w[0]-1,w[1]+1]),y.push([w[0]+7.5,w[1]-1.5]),d.push([w[0],w[1]])):d.push([w[0],w[1]]),d.push([o[0],o[1]])}d.push([o[2]+5,o[1]])}if(l.axisUseArrow){var T=[[o[2]+5,o[1]+4],[o[2]+13,o[1]],[o[2]+5,o[1]-4]],C=[[o[0]-4,o[3]-5],[o[0],o[3]-13],[o[0]+4,o[3]-5]],M=new s.Polygon(T);M.style={fillColor:"#008acd"},_.Util.copyAttributesWithClip(M.style,l.axisStyle),p.push(e.createShape(M));var E=new s.Polygon(C);if(E.style={fillColor:"#008acd"},_.Util.copyAttributesWithClip(E.style,l.axisStyle),p.push(e.createShape(E)),l.axis3DParameter&&!isNaN(l.axis3DParameter)&&l.axis3DParameter>=15){var x=new s.Polygon(y);x.style={fillColor:"#008acd"},_.Util.copyAttributesWithClip(x.style,l.axisStyle),p.push(e.createShape(x))}}i=d;var k=new a.Line(i);k.style={strokeLinecap:"butt",strokeLineJoin:"round",strokeColor:"#008acd",strokeWidth:1},l.axisStyle&&_.Util.copyAttributesWithClip(k.style,l.axisStyle),k.clickable=!1,k.hoverable=!1;var j=[e.createShape(k)],A=[];if(l.axisYLabels&&l.axisYLabels.length&&l.axisYLabels.length>0){var L=l.axisYLabels,F=L.length,I=[0,0];if(l.axisYLabelsOffset&&l.axisYLabelsOffset.length&&(I=l.axisYLabelsOffset),1==F){var R=new c.Label(o[0]-5+I[0],o[3]+I[1],L[0]);R.style={labelAlign:"right"},l.axisYLabelsStyle&&_.Util.copyAttributesWithClip(R.style,l.axisYLabelsStyle),R.clickable=!1,R.hoverable=!1,A.push(e.createShape(R))}else for(var D=o[3],N=Math.abs(o[1]-o[3])/(F-1),G=0;G0){var J=l.axisXLabels,H=J.length,V=[0,0];if(l.axisXLabelsOffset&&l.axisXLabelsOffset.length&&(V=l.axisXLabelsOffset),n&&n.xPositions&&n.xPositions.length&&n.xPositions.length==H)for(var W=n.xPositions,z=0;z=0&&r[i]&&_.Util.copyAttributesWithClip(a,r[i]),n&&n.length&&void 0!==o)for(var s=n,l=s.length,u=parseFloat(o),c=0;cthis.right)&&(this.right=r.right),(null==this.top||r.top>this.top)&&(this.top=r.top))}}},{key:"containsLonLat",value:function(e,t){"boolean"==typeof t&&(t={inclusive:t}),t=t||{};var r=this.contains(e.lon,e.lat,t.inclusive),n=t.worldBounds;if(n&&!r){var i=n.getWidth(),o=(n.left+n.right)/2,a=Math.round((e.lon-o)/i);r=this.containsLonLat({lon:e.lon-a*i,lat:e.lat},{inclusive:t.inclusive})}return r}},{key:"containsPixel",value:function(e,t){return this.contains(e.x,e.y,t)}},{key:"contains",value:function(e,t,r){if(null==r&&(r=!0),null==e||null==t)return!1;e=l.Util.toFloat(e),t=l.Util.toFloat(t);var n=!1;return n=r?e>=this.left&&e<=this.right&&t>=this.bottom&&t<=this.top:e>this.left&&ethis.bottom&&t=r.bottom&&e.bottom<=r.top||r.bottom>=e.bottom&&r.bottom<=e.top,a=e.top>=r.bottom&&e.top<=r.top||r.top>e.bottom&&r.top=r.left&&e.left<=r.right||r.left>=e.left&&r.left<=e.right,l=e.right>=r.left&&e.right<=r.right||r.right>=e.left&&r.right<=e.right;n=(o||a)&&(s||l)}if(t.worldBounds&&!n){var u=t.worldBounds,c=u.getWidth(),p=!u.containsBounds(r),f=!u.containsBounds(e);p&&!f?(e=e.add(-c,0),n=r.intersectsBounds(e,{inclusive:t.inclusive})):f&&!p&&(r=r.add(-c,0),n=e.intersectsBounds(r,{inclusive:t.inclusive}))}return n}},{key:"containsBounds",value:function(e,t,r){null==t&&(t=!1),null==r&&(r=!0);var n=this.contains(e.left,e.bottom,r),i=this.contains(e.right,e.bottom,r),o=this.contains(e.left,e.top,r),a=this.contains(e.right,e.top,r);return t?n||i||o||a:n&&i&&o&&a}},{key:"determineQuadrant",value:function(e){var t="",r=this.getCenterLonLat();return t+=e.lat=e.right&&i.right>e.right;)i=i.add(-o,0);var a=i.left+r;ae.left&&i.right-n>e.right&&(i=i.add(-o,0))}return i}},{key:"toServerJSONObject",value:function(){return{rightTop:{x:this.right,y:this.top},leftBottom:{x:this.left,y:this.bottom},left:this.left,right:this.right,top:this.top,bottom:this.bottom}}},{key:"destroy",value:function(){this.left=null,this.right=null,this.top=null,this.bottom=null,this.centerLonLat=null}}],[{key:"fromString",value:function(t,r){var n=t.split(",");return e.fromArray(n,r)}},{key:"fromArray",value:function(t,r){return!0===r?new e(t[1],t[0],t[3],t[2]):new e(t[0],t[1],t[2],t[3])}},{key:"fromSize",value:function(t){return new e(0,t.h,t.w,0)}},{key:"oppositeQuadrant",value:function(e){var t="";return t+="t"===e.charAt(0)?"b":"t",t+="l"===e.charAt(1)?"r":"l"}}]),e}();i.SuperMap.Bounds=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Graph=void 0;var n=function(){function e(e,t){for(var r=0;r=c[2]||c[1]<=c[3])&&(this.DVBOrigonPoint=[c[0],c[3]],this.DVBWidth=Math.abs(c[2]-c[0]),this.DVBHeight=Math.abs(c[1]-c[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-s[0],this.DVBOrigonPoint[1]-s[1]],!0)}},{key:"resetLocation",value:function(e){e&&(this.lonlat=e);var t=this.getLocalXY(this.lonlat);t[0]+=this.XOffset,t[1]+=this.YOffset,this.location=t;var r=this.width,n=this.height,i=this.location;return this.chartBounds=new o.Bounds(i[0]-r/2,i[1]+n/2,i[0]+r/2,i[1]-n/2),this.resetLinearGradient(),i}},{key:"resetLinearGradient",value:function(){}},{key:"shapesConvertToRelativeCoordinate",value:function(){for(var e=this.shapes,t=this.location,r=0,n=e.length;r=0?n.push(parseFloat(i[a].toString()).toFixed(r)):n.push(parseFloat(i[a].toString()))}catch(e){throw new Error("not a number")}return n.length===t.length&&n},i.SuperMap.Feature.Theme.Graph=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;ro&&(o=e+s+100,n.width=o,r=!0),t+l>a&&(a=t+l+100,n.height=a,r=!0),e<-s&&(o+=s=100*Math.ceil(-e/100),n.width=o,r=!0),t<-l&&(a+=l=100*Math.ceil(-t/100),n.height=a,r=!0),r&&i.translate(s,l)}},{key:"getPixelOffset",value:function(){return{x:this._offsetX,y:this._offsetY}}},{key:"indexOf",value:function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r-1)){if(null!=t&&t=0;--r)t=this.removeComponent(e[r])||t;return t}},{key:"removeComponent",value:function(e){return s.Util.removeItem(this.components,e),this.clearBounds(),!0}},{key:"getArea",value:function(){for(var e=0,t=0,r=this.components.length;t3;if(r){this.components.pop(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeComponent",this).apply(this,arguments);var n=this.components[0];i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addComponent",this).apply(this,[n])}return r}},{key:"getArea",value:function(){var e=0;if(this.components&&this.components.length>2){for(var t=0,r=0,n=this.components.length;r=0&&r.toIndex>=0&&!n&&(r.url+="&fromIndex="+r.fromIndex+"&toIndex="+r.toIndex),e.returnCountOnly&&(r.url+="&returnCountOnly="+e.returnContent),t=r.getJsonParameters(e),r.request({method:"POST",data:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}},{key:"serviceProcessCompleted",value:function(e){if(e=o.Util.transformResult(e),this.format===a.DataFormat.GEOJSON&&e.features){var t=new l.GeoJSON;e.features=JSON.parse(t.write(e.features))}this.events.triggerEvent("processCompleted",{result:e})}}]),t}();i.SuperMap.GetFeaturesServiceBase=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesParametersBase=void 0;var n=function(){function e(e,t){for(var r=0;re.right;)t.lon-=e.getWidth()}return t}},{key:"destroy",value:function(){this.lon=null,this.lat=null}}],[{key:"fromString",value:function(t){var r=t.split(",");return new e(r[0],r[1])}},{key:"fromArray",value:function(t){var r=i.Util.isArray(t);return new e(r&&t[0],r&&t[1])}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r3&&(t=Array.prototype.slice.call(t,1));for(var n=this._handlers[e],i=n.length,o=0;o4&&(t=Array.prototype.slice.call(t,1,t.length-1));for(var n=t[t.length-1],i=this._handlers[e],o=i.length,a=0;a0){e+=Math.abs(this.components[0].getArea());for(var t=1,r=this.components.length;t0&&(r=parseFloat(e.toPrecision(t))),r},format:function(e,t,r,i){t=void 0!==t?t:0,r=void 0!==r?r:n.SuperMap.Number.thousandsSeparator,i=void 0!==i?i:n.SuperMap.Number.decimalSeparator,null!=t&&(e=parseFloat(e.toFixed(t)));var o=e.toString().split(".");1===o.length&&null==t&&(t=0);var a,s=o[0];if(r)for(var l=/(-?[0-9]+)([0-9]{3})/;l.test(s);)s=s.replace(l,"$1"+r+"$2");if(0==t)a=s;else{var u=o.length>1?o[1]:"0";null!=t&&(u+=new Array(t-u.length+1).join("0")),a=s+i+u}return a}};Number.prototype.limitSigDigs||(Number.prototype.limitSigDigs=function(e){return i.limitSigDigs(this,e)});t.FunctionExt=n.SuperMap.Function={bind:function(e,t){var r=Array.prototype.slice.apply(arguments,[2]);return function(){var n=r.concat(Array.prototype.slice.apply(arguments,[0]));return e.apply(t,n)}},bindAsEventListener:function(e,t){return function(r){return e.call(t,r||window.event)}},False:function(){return!1},True:function(){return!0},Void:function(){}},t.ArrayExt=n.SuperMap.Array={filter:function(e,t,r){var n=[];if(Array.prototype.filter)n=e.filter(t,r);else{var i=e.length;if("function"!=typeof t)throw new TypeError;for(var o=0;os){var f=o[0];o.splice(0,1),delete i[f]}}}if(this.renderer.render(),r&&this.isHoverAble&&this.isMultiHover){var h=this.getShapesByFeatureID(r);this.renderer.updateHoverShapes(h)}}},{key:"createThematicFeature",value:function(e){var t=s.CommonUtil.copyAttributesWithClip(this.style);e.style&&!0===this.isAllowFeatureStyle&&(t=s.CommonUtil.copyAttributesWithClip(e.style));var r={};r.nodesClipPixel=this.nodesClipPixel,r.isHoverAble=this.isHoverAble,r.isMultiHover=this.isMultiHover,r.isClickAble=this.isClickAble,r.highlightStyle=s.ShapeFactory.transformStyle(this.highlightStyle);for(var n=new s.ThemeVector(e,this,s.ShapeFactory.transformStyle(t),r),i=0;i0&&("stroke"==r.brushType||"both"==r.brushType)&&(n||(e.beginPath(),this.buildPath(e,r)),this.setCtxGlobalAlpha(e,"stroke",r),e.stroke(),this.setCtxGlobalAlpha(e,"reset",r)),this.drawText(e,r,this.style);var i=o.Util.cloneObject(r);if(i.pointList&&this.holePolygonPointLists&&this.holePolygonPointLists.length>0)for(var a=this.holePolygonPointLists,s=a.length,l=0;l0&&("stroke"==i.brushType||"both"==i.brushType)?(n||(e.beginPath(),this.buildPath(e,i)),e.globalCompositeOperation="source-over",this.setCtxGlobalAlpha(e,"stroke",i),e.stroke(),this.setCtxGlobalAlpha(e,"reset",i)):e.globalCompositeOperation="source-over"}e.restore()}},{key:"buildPath",value:function(e,t){t.showShadow&&(e.shadowBlur=t.shadowBlur,e.shadowColor=t.shadowColor,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY),this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition,n=t.pointList;if(!(n.length<2))if(t.smooth&&"spline"!==t.smooth){var i,o,s,l=a.SUtil.SUtil_smoothBezier(n,t.smooth,!0,t.smoothConstraint,r);e.moveTo(n[0][0]+r[0],n[0][1]+r[1]);for(var u=n.length,c=0;co&&(o=l[u][0]+r[0]),l[u][1]+r[1]s&&(s=l[u][1]+r[1]);return n="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(i-n/2),y:Math.round(a-n/2),width:o-i+n,height:s-a+n},e.__rect}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=t.Config=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)};n.EVENT={RESIZE:"resize",CLICK:"click",DBLCLICK:"dblclick",MOUSEWHEEL:"mousewheel",MOUSEMOVE:"mousemove",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",GLOBALOUT:"globalout",DRAGSTART:"dragstart",DRAGEND:"dragend",DRAGENTER:"dragenter",DRAGOVER:"dragover",DRAGLEAVE:"dragleave",DROP:"drop",touchClickDelay:300},n.catchBrushException=!1,n.debugMode=0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r-this.EPSILON&&ethis.EPSILON||e<-this.EPSILON}},{key:"cubicAt",value:function(e,t,r,n,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*n+3*o*r)}},{key:"cubicDerivativeAt",value:function(e,t,r,n,i){var o=1-i;return 3*(((t-e)*o+2*(r-t)*i)*o+(n-r)*i*i)}},{key:"cubicRootAt",value:function(e,t,r,n,i,o){var a=n+3*(t-r)-e,s=3*(r-2*t+e),l=3*(t-e),u=e-i,c=s*s-3*a*l,p=s*l-9*a*u,f=l*l-3*s*u,h=0;if(this.isAroundZero(c)&&this.isAroundZero(p))if(this.isAroundZero(s))o[0]=0;else{var y=-l/s;y>=0&&y<=1&&(o[h++]=y)}else{var d=p*p-4*c*f;if(this.isAroundZero(d)){var v=p/c,m=-s/a+v,b=-v/2;m>=0&&m<=1&&(o[h++]=m),b>=0&&b<=1&&(o[h++]=b)}else if(d>0){var g=Math.sqrt(d),S=c*s+1.5*a*(-p+g),_=c*s+1.5*a*(-p-g),P=(-s-((S=S<0?-Math.pow(-S,this.ONE_THIRD):Math.pow(S,this.ONE_THIRD))+(_=_<0?-Math.pow(-_,this.ONE_THIRD):Math.pow(_,this.ONE_THIRD))))/(3*a);P>=0&&P<=1&&(o[h++]=P)}else{var O=(2*c*s-3*a*p)/(2*Math.sqrt(c*c*c)),w=Math.acos(O)/3,T=Math.sqrt(c),C=Math.cos(w),M=(-s-2*T*C)/(3*a),E=(-s+T*(C+this.THREE_SQRT*Math.sin(w)))/(3*a),x=(-s+T*(C-this.THREE_SQRT*Math.sin(w)))/(3*a);M>=0&&M<=1&&(o[h++]=M),E>=0&&E<=1&&(o[h++]=E),x>=0&&x<=1&&(o[h++]=x)}}return h}},{key:"cubicExtrema",value:function(e,t,r,n,i){var o=6*r-12*t+6*e,a=9*t+3*n-3*e-9*r,s=3*t-3*e,l=0;if(this.isAroundZero(a)){if(this.isNotAroundZero(o)){var u=-s/o;u>=0&&u<=1&&(i[l++]=u)}}else{var c=o*o-4*a*s;if(this.isAroundZero(c))i[0]=-o/(2*a);else if(c>0){var p=Math.sqrt(c),f=(-o+p)/(2*a),h=(-o-p)/(2*a);f>=0&&f<=1&&(i[l++]=f),h>=0&&h<=1&&(i[l++]=h)}}return l}},{key:"cubicSubdivide",value:function(e,t,r,n,i,o){var a=(t-e)*i+e,s=(r-t)*i+t,l=(n-r)*i+r,u=(s-a)*i+a,c=(l-s)*i+s,p=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=p,o[4]=p,o[5]=c,o[6]=l,o[7]=n}},{key:"cubicProjectPoint",value:function(e,t,r,n,i,o,a,s,l,u,c){var p,f=this.vector.create(),h=this.vector.create(),y=this.vector.create(),d=.005,v=1/0;f[0]=l,f[1]=u;for(var m=0;m<1;m+=.05){h[0]=this.cubicAt(e,r,i,a,m),h[1]=this.cubicAt(t,n,o,s,m);var b=this.vector.distSquare(f,h);b=0&&P=0&&u<=1&&(i[l++]=u)}}else{var c=a*a-4*o*s;if(this.isAroundZero(c)){var p=-a/(2*o);p>=0&&p<=1&&(i[l++]=p)}else if(c>0){var f=Math.sqrt(c),h=(-a+f)/(2*o),y=(-a-f)/(2*o);h>=0&&h<=1&&(i[l++]=h),y>=0&&y<=1&&(i[l++]=y)}}return l}},{key:"quadraticExtremum",value:function(e,t,r){var n=e+r-2*t;return 0===n?.5:(e-t)/n}},{key:"quadraticProjectPoint",value:function(e,t,r,n,i,o,a,s,l){var u,c=this.vector.create(),p=this.vector.create(),f=this.vector.create(),h=.005,y=1/0;c[0]=a,c[1]=s;for(var d=0;d<1;d+=.05){p[0]=this.quadraticAt(e,r,i,d),p[1]=this.quadraticAt(t,n,o,d);var v=this.vector.distSquare(c,p);v=0&&S-5e-5&&e<5e-5}i.SUtil.Util_vector.sub(t,e,this.position),n(t[0])&&n(t[1])||(i.SUtil.Util_vector.normalize(t,t),r[2]=t[0]*this.scale[1],r[3]=t[1]*this.scale[1],r[0]=t[1]*this.scale[0],r[1]=-t[0]*this.scale[0],r[4]=this.position[0],r[5]=this.position[1],this.decomposeTransform())})}return n(e,[{key:"destroy",value:function(){this.position=null,this.rotation=null,this.scale=null,this.needLocalTransform=null,this.needTransform=null}},{key:"updateNeedTransform",value:function(){function e(e){return e>5e-5||e<-5e-5}this.needLocalTransform=e(this.rotation[0])||e(this.position[0])||e(this.position[1])||e(this.scale[0]-1)||e(this.scale[1]-1)}},{key:"updateTransform",value:function(){if(this.updateNeedTransform(),this.parent?this.needTransform=this.needLocalTransform||this.parent.needTransform:this.needTransform=this.needLocalTransform,this.needTransform){var e=[0,0],t=this.transform||i.SUtil.Util_matrix.create();if(i.SUtil.Util_matrix.identity(t),this.needLocalTransform){if(o(this.scale[0])||o(this.scale[1])){e[0]=-this.scale[2]||0,e[1]=-this.scale[3]||0;var r=o(e[0])||o(e[1]);r&&i.SUtil.Util_matrix.translate(t,t,e),i.SUtil.Util_matrix.scale(t,t,this.scale),r&&(e[0]=-e[0],e[1]=-e[1],i.SUtil.Util_matrix.translate(t,t,e))}if(this.rotation instanceof Array){if(0!==this.rotation[0]){e[0]=-this.rotation[1]||0,e[1]=-this.rotation[2]||0;var n=o(e[0])||o(e[1]);n&&i.SUtil.Util_matrix.translate(t,t,e),i.SUtil.Util_matrix.rotate(t,t,this.rotation[0]),n&&(e[0]=-e[0],e[1]=-e[1],i.SUtil.Util_matrix.translate(t,t,e))}}else 0!==this.rotation&&i.SUtil.Util_matrix.rotate(t,t,this.rotation);(o(this.position[0])||o(this.position[1]))&&i.SUtil.Util_matrix.translate(t,t,this.position)}this.transform=t,this.parent&&this.parent.needTransform&&(this.needLocalTransform?i.SUtil.Util_matrix.mul(this.transform,this.parent.transform,this.transform):i.SUtil.Util_matrix.copy(this.transform,this.parent.transform))}function o(e){return e>5e-5||e<-5e-5}}},{key:"setTransform",value:function(e){if(this.needTransform){var t=this.transform;e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}}},{key:"decomposeTransform",value:function(){if(this.transform){var e=this.transform,t=e[0]*e[0]+e[1]*e[1],r=this.position,n=this.scale,i=this.rotation;a(t-1)&&(t=Math.sqrt(t));var o=e[2]*e[2]+e[3]*e[3];a(o-1)&&(o=Math.sqrt(o)),r[0]=e[4],r[1]=e[5],n[0]=t,n[1]=o,n[2]=n[3]=0,i[0]=Math.atan2(-e[1]/o,e[0]/t),i[1]=i[2]=0}function a(e){return e>5e-5||e<-5e-5}}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sector=void 0;var n=function(){function e(e,t){for(var r=0;r0){e+='"points":[';for(var r=0,n=this.components.length;r0))return null;for(var u=0,c=0,p=[];u-1&&"?"===n?t+=r.getUrlParameters():t.indexOf("?")>-1&&"?"!==n?t+="&"+r.getUrlParameters():t+="?"+r.getUrlParameters()}return t}},{key:"getCredential",value:function(){var e,t=a.SecurityManager.getToken(this.serviceUrl);return(e=t?new s.Credential(t,"token"):null)||(e=(t=this.getKey())?new s.Credential(t,"key"):null),e}},{key:"getKey",value:function(){}}]),e}();i.SuperMap.iPortalServiceBase=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Vector=void 0;var n=function(){function e(e,t){for(var r=0;r",a="
    "+(t._createLegendElement.call(t)||"")+"
    ";this._container.innerHTML=o+a}return t._appendLegendCSSStyle(),this._container},r.prototype.onRemove=function(){this._container.parentNode.removeChild(this._container),this._map=void 0},new r}},{key:"_createLegendElement",value:function(){}},{key:"_addLayer",value:function(){var e=this.getLayerStyleOptions(),t=this.id?this.id:"theme3DLayer",r=this.sourceId=t+"Source";this.map.getSource(r)?(this.map.removeSource(r),this.map.addSource(r,{type:"geojson",data:this.data})):this.map.addSource(r,{type:"geojson",data:this.data}),this.map.addLayer({id:t,type:"fill-extrusion",source:r,paint:e}),this.map.moveLayer(t)}},{key:"_addHighLightLayer",value:function(){if(this.map){var e=this.map;e.addLayer({id:"highlightLayer",type:"fill-extrusion",source:this.sourceId,paint:this.getHighlightStyleOptions(),filter:["in","$id",""]}),this._selectFeatureId=null,e.on("mousemove",this.id,this._onMouseMove.bind(this)),e.on("mouseout",this.id,this._onMouseMove.bind(this))}}},{key:"_onMouseMove",value:function(e){var t=this,r=this.map,n=r.queryRenderedFeatures(e.point,{layers:[t.id]});if(t.highlight&&t.highlight.callback&&t.highlight.callback(n,e),!n||n.length<1)return t._clearHighlight.call(t),void(t._selectFeatureId=null);var i=n[0].id;t._selectFeatureId!==i&&(t._selectFeatureId=i,r.setFilter("highlightLayer",["==","$id",t._selectFeatureId]))}},{key:"_clearHighlight",value:function(){this.map&&this.map.setFilter("highlightLayer",["in","$id",""])}},{key:"_appendLegendCSSStyle",value:function(){var e=document.createElement("style");e.type="text/css";e.innerHTML="\n .legend {\n display: inline-block;\n border-radius: 2px;\n -moz-border-radius: 2px;\n -webkit-border-radius: 2px;\n font-size: 12px;\n color: rgba(0, 0, 0, 0.8);\n background-color: rgb(255, 255, 255);\n }\n .legend-light {\n color: rgba(0, 0, 0, 0.8);\n background-color: rgb(255, 255, 255);\n box-shadow: 0px 0px 6px #bbbbbb;\n -moz-box-shadow: 0px 6px 10px #bbbbbb;\n -webkit-box-shadow: 0px 0px 6px #bbbbbb;\n }\n .legend-dark {\n color: rgba(255, 255, 255, 0.8);\n background-color: rgb(64, 64, 64);\n }\n .legend .legend-title {\n min-height: 14px;\n max-width: 500px;\n padding:6px 10px;\n }\n .legend-light .legend-title {\n color: rgba(0, 0, 0, 0.8);\n }\n .legend-dark .legend-title {\n color: rgba(255, 255, 255, 0.8);\n }\n .legend-content{\n padding:6px 10px;\n }\n "+this._legendCSSStyle(),document.getElementsByTagName("head")[0].appendChild(e)}},{key:"_legendCSSStyle",value:function(){return"\n .legend ul {\n padding: 0;\n margin: 0 16px;\n height: 100%;\n display: block;\n list-style: none;\n }\n\n .legend li {\n vertical-align: middle;\n }\n\n .legend li span:first-child {\n vertical-align: middle;\n }\n\n .legend li span:last-child {\n line-height: 28px;\n max-width: 200px;\n vertical-align: middle;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n -ms-text-overflow: ellipsis;\n }\n\n .legend-vertical li {\n height: 28px;\n }\n\n .legend-vertical li span:first-child {\n display: inline-block;\n width: 60px;\n height: 100%;\n }\n\n .legend-vertical li span:last-child {\n display: inline-block;\n margin-left: 16px;\n height: 100%;\n }\n\n .legend-horizontal li {\n height: 56px;\n float: left;\n }\n\n .legend-horizontal li span:first-child {\n display: block;\n width: 100%;\n height: 50%;\n }\n\n .legend-horizontal li span:last-child {\n display: block;\n vertical-align: middle;\n width: 60px;\n height: 50%;\n text-align: center;\n }\n "}},{key:"_extend",value:function(e){for(var t=0;t=0;t--)e[t].destroy()}}},{key:"setVisibility",value:function(e){e!==this.visibility&&(this.visibility=e,this.display(e),this.redrawThematicFeatures(this.map.getBounds()))}},{key:"display",value:function(e){this.div.style.display=e?"block":"none"}},{key:"setOpacity",value:function(e){if(e!==this.opacity){this.opacity=e;var t=this.div;l.CommonUtil.modifyDOMElement(t,null,null,null,null,null,null,e),null!==this.map&&a.default.Evented.prototype.fire("changelayer",{layer:this,property:"opacity"})}}},{key:"addFeatures",value:function(e){}},{key:"removeFeatures",value:function(e){if(e&&0!==e.length){if(e===this.features)return this.removeAllFeatures();l.CommonUtil.isArray(e)||(e=[e]);for(var t=[],r=e.length-1;r>=0;r--){var n=e[r],i=l.CommonUtil.indexOf(this.features,n);-1!==i?this.features.splice(i,1):t.push(n)}for(var o=[],s=0,u=this.features.length;sc&&(r*=c/(a=r+n),n*=c/a),i+o>c&&(i*=c/(a=i+o),o*=c/a),n+i>p&&(n*=p/(a=n+i),i*=p/a),r+o>p&&(r*=p/(a=r+o),o*=p/a),e.moveTo(l+r,u),e.lineTo(l+c-n,u),0!==n&&e.quadraticCurveTo(l+c,u,l+c,u+n),e.lineTo(l+c,u+p-i),0!==i&&e.quadraticCurveTo(l+c,u+p,l+c-i,u+p),e.lineTo(l+o,u+p),0!==o&&e.quadraticCurveTo(l,u+p,l,u+p-o),e.lineTo(l,u+r),0!==r&&e.quadraticCurveTo(l,u,l+r,u)}},{key:"buildPath",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition;t.radius?this._buildRadiusPath(e,t):(e.moveTo(t.x+r[0],t.y+r[1]),e.lineTo(t.x+r[0]+t.width,t.y+r[1]),e.lineTo(t.x+r[0]+t.width,t.y+r[1]+t.height),e.lineTo(t.x+r[0],t.y+r[1]+t.height),e.lineTo(t.x+r[0],t.y+r[1])),e.closePath()}},{key:"getRect",value:function(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,r=this.refOriginalPosition;return e.__rect?e.__rect:(t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x+r[0]-t/2),y:Math.round(e.y+r[1]-t/2),width:e.width+t,height:e.height+t},e.__rect)}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicImage=void 0;var n=function(){function e(e,t){for(var r=0;rn&&(n=l[0]),l[1]i&&(i=l[1]))}return e.__rect={x:t,y:r,width:n-t,height:i-r},e.__rect}},{key:"getRectNoRotation",value:function(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,r=this.refOriginalPosition,n=o.SUtil.Util_area.getTextHeight("ZH",e.textFont),i=o.SUtil.Util_area.getTextWidth(e.text,e.textFont),a=o.SUtil.Util_area.getTextHeight(e.text,e.textFont),s=e.x+r[0];"end"==e.textAlign||"right"==e.textAlign?s-=i:"center"==e.textAlign&&(s-=i/2),t="top"==e.textBaseline?e.y+r[1]:"bottom"==e.textBaseline?e.y+r[1]-a:e.y+r[1]-a/2;var l,u=!1;if(e.maxWidth){var c=parseInt(e.maxWidth);c-1&&(i+=l&&!0===u?n/3*(i/l):n/3));return{x:s,y:t,width:i,height:a}}},{key:"getTextBackground",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition;if((!t||!1===t)&&e.__textBackground)return e.__textBackground;var n=this.getRectNoRotation(e),i=e.x+r[0],o=e.y+r[1],a=[];if(e.textRotation&&0!==e.textRotation){var s=e.textRotation,l=this.getRotatedLocation(n.x,n.y,i,o,s),u=this.getRotatedLocation(n.x+n.width,n.y,i,o,s),c=this.getRotatedLocation(n.x+n.width,n.y+n.height,i,o,s),p=this.getRotatedLocation(n.x,n.y+n.height,i,o,s);a.push(l),a.push(u),a.push(c),a.push(p)}else{var f=[n.x,n.y],h=[n.x+n.width,n.y],y=[n.x+n.width,n.y+n.height],d=[n.x,n.y+n.height];a.push(f),a.push(h),a.push(y),a.push(d)}return e.__textBackground=a,e.__textBackground}},{key:"getRotatedLocation",value:function(e,t,r,n,i){var o,a,s=new Array;return t=-t,n=-n,i=-i,o=(e-r)*Math.cos(i/180*Math.PI)-(t-n)*Math.sin(i/180*Math.PI)+r,a=(e-r)*Math.sin(i/180*Math.PI)+(t-n)*Math.cos(i/180*Math.PI)+n,s[0]=o,s[1]=-a,s}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Color=void 0;var n=function(){function e(e,t){for(var r=0;r1)for(var i=0,o=n-1;i1?Math.ceil(e):e}),t.indexOf("hex")>-1)return"#"+((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1);if(t.indexOf("hs")>-1){var r=this.map(e.slice(1,3),function(e){return e+"%"});e[1]=r[0],e[2]=r[1]}return t.indexOf("a")>-1?(3===e.length&&e.push(1),e[3]=this.adjust(e[3],[0,1]),t+"("+e.slice(0,4).join(",")+")"):t+"("+e.slice(0,3).join(",")+")"}}},{key:"toArray",value:function(e){(e=this.trim(e)).indexOf("rgba")<0&&(e=this.toRGBA(e));var t=[],r=0;return e.replace(/[\d.]+/g,function(e){r<3?e|=0:e=+e,t[r++]=e}),t}},{key:"convert",value:function(e,t){if(!this.isCalculableColor(e))return e;var r=this.getData(e),n=r[3];return void 0===n&&(n=1),e.indexOf("hsb")>-1?r=this._HSV_2_RGB(r):e.indexOf("hsl")>-1&&(r=this._HSL_2_RGB(r)),t.indexOf("hsb")>-1||t.indexOf("hsv")>-1?r=this._RGB_2_HSB(r):t.indexOf("hsl")>-1&&(r=this._RGB_2_HSL(r)),r[3]=n,this.toColor(r,t)}},{key:"toRGBA",value:function(e){return this.convert(e,"rgba")}},{key:"toRGB",value:function(e){return this.convert(e,"rgb")}},{key:"toHex",value:function(e){return this.convert(e,"hex")}},{key:"toHSVA",value:function(e){return this.convert(e,"hsva")}},{key:"toHSV",value:function(e){return this.convert(e,"hsv")}},{key:"toHSBA",value:function(e){return this.convert(e,"hsba")}},{key:"toHSB",value:function(e){return this.convert(e,"hsb")}},{key:"toHSLA",value:function(e){return this.convert(e,"hsla")}},{key:"toHSL",value:function(e){return this.convert(e,"hsl")}},{key:"toName",value:function(e){for(var t in this._nameColors)if(this.toHex(this._nameColors[t])===this.toHex(e))return t;return null}},{key:"trim",value:function(e){return String(e).replace(/\s+/g,"")}},{key:"normalize",value:function(e){if(this._nameColors[e]&&(e=this._nameColors[e]),e=(e=this.trim(e)).replace(/hsv/i,"hsb"),/^#[\da-f]{3}$/i.test(e)){var t=(3840&(e=parseInt(e.slice(1),16)))<<8,r=(240&e)<<4,n=15&e;e="#"+((1<<24)+(t<<4)+t+(r<<4)+r+(n<<4)+n).toString(16).slice(1)}return e}},{key:"lift",value:function(e,t){if(!this.isCalculableColor(e))return e;var r=t>0?1:-1;void 0===t&&(t=0),t=Math.abs(t)>1?1:Math.abs(t),e=this.toRGB(e);for(var n=this.getData(e),i=0;i<3;i++)n[i]=1===r?n[i]*(1-t)|0:(255-n[i])*t+n[i]|0;return"rgb("+n.join(",")+")"}},{key:"reverse",value:function(e){if(!this.isCalculableColor(e))return e;var t=this.getData(this.toRGBA(e));return t=this.map(t,function(e){return 255-e}),this.toColor(t,"rgb")}},{key:"mix",value:function(e,t,r){if(!this.isCalculableColor(e)||!this.isCalculableColor(t))return e;void 0===r&&(r=.5);for(var n=2*(r=1-this.adjust(r,[0,1]))-1,i=this.getData(this.toRGBA(e)),o=this.getData(this.toRGBA(t)),a=i[3]-o[3],s=((n*a==-1?n:(n+a)/(1+n*a))+1)/2,l=1-s,u=[],c=0;c<3;c++)u[c]=i[c]*s+o[c]*l;var p=i[3]*r+o[3]*(1-r);return p=Math.max(0,Math.min(1,p)),1===i[3]&&1===o[3]?this.toColor(u,"rgb"):(u[3]=p,this.toColor(u,"rgba"))}},{key:"random",value:function(){return"#"+Math.random().toString(16).slice(2,8)}},{key:"getData",value:function(t){var r,n,i=(t=this.normalize(t)).match(this.colorRegExp);if(null===i)throw new Error("The color format error");var o,a=[];if(i[2])o=[(r=i[2].replace("#","").split(""))[0]+r[1],r[2]+r[3],r[4]+r[5]],a=this.map(o,function(t){return e.prototype.adjust.call(this,parseInt(t,16),[0,255])});else if(i[4]){var s=i[4].split(",");n=s[3],o=s.slice(0,3),a=this.map(o,function(t){return t=Math.floor(t.indexOf("%")>0?2.55*parseInt(t,0):t),e.prototype.adjust.call(this,t,[0,255])}),void 0!==n&&a.push(this.adjust(parseFloat(n),[0,1]))}else if(i[5]||i[6]){var l=(i[5]||i[6]).split(","),u=parseInt(l[0],0)/360,c=l[1],p=l[2];n=l[3],(a=this.map([c,p],function(t){return e.prototype.adjust.call(this,parseFloat(t)/100,[0,1])})).unshift(u),void 0!==n&&a.push(this.adjust(parseFloat(n),[0,1]))}return a}},{key:"alpha",value:function(e,t){if(!this.isCalculableColor(e))return e;null===t&&(t=1);var r=this.getData(this.toRGBA(e));return r[3]=this.adjust(Number(t).toFixed(4),[0,1]),this.toColor(r,"rgba")}},{key:"map",value:function(e,t){if("function"!=typeof t)throw new TypeError;for(var r=e?e.length:0,n=0;n=t[1]&&(e=t[1]),e}},{key:"isCalculableColor",value:function(e){return e instanceof Array||"string"==typeof e}},{key:"_HSV_2_RGB",value:function(e){var t,r,n,i=e[0],o=e[1],a=e[2];if(0===o)t=255*a,r=255*a,n=255*a;else{var s=6*i;6===s&&(s=0);var l=0|s,u=a*(1-o),c=a*(1-o*(s-l)),p=a*(1-o*(1-(s-l))),f=0,h=0,y=0;0===l?(f=a,h=p,y=u):1===l?(f=c,h=a,y=u):2===l?(f=u,h=a,y=p):3===l?(f=u,h=c,y=a):4===l?(f=p,h=u,y=a):(f=a,h=u,y=c),t=255*f,r=255*h,n=255*y}return[t,r,n]}},{key:"_HSL_2_RGB",value:function(e){var t,r,n,i=e[0],o=e[1],a=e[2];if(0===o)t=255*a,r=255*a,n=255*a;else{var s,l=2*a-(s=a<.5?a*(1+o):a+o-o*a);t=255*this._HUE_2_RGB(l,s,i+1/3),r=255*this._HUE_2_RGB(l,s,i),n=255*this._HUE_2_RGB(l,s,i-1/3)}return[t,r,n]}},{key:"_HUE_2_RGB",value:function(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),6*r<1?e+6*(t-e)*r:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}},{key:"_RGB_2_HSB",value:function(e){var t,r,n=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),l=s-a,u=s;if(0===l)t=0,r=0;else{r=l/s;var c=((s-n)/6+l/2)/l,p=((s-i)/6+l/2)/l,f=((s-o)/6+l/2)/l;n===s?t=f-p:i===s?t=1/3+c-f:o===s&&(t=2/3+p-c),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,r*=100,u*=100]}},{key:"_RGB_2_HSL",value:function(e){var t,r,n=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),l=s-a,u=(s+a)/2;if(0===l)t=0,r=0;else{r=u<.5?l/(s+a):l/(2-s-a);var c=((s-n)/6+l/2)/l,p=((s-i)/6+l/2)/l,f=((s-o)/6+l/2)/l;n===s?t=f-p:i===s?t=1/3+c-f:o===s&&(t=2/3+p-c),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,r*=100,u*=100]}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicPoint=void 0;var n=function(){function e(e,t){for(var r=0;r0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.rangeExpression=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}}],[{key:"fromObj",value:function(e){if(e){var r=new t;o.Util.copy(r,e);var n=e.items,i=n?n.length:0;r.items=[];for(var a=0;a0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null)}},{key:"toServerJSONObject",value:function(){var e={};if((e=o.Util.copyAttributes(e,this)).defaultStyle&&e.defaultStyle.toServerJSONObject&&(e.defaultStyle=e.defaultStyle.toServerJSONObject()),e.items){for(var t=[],r=e.items.length,n=0;n=0;e--)this.points[e].destroy();this.points=null}}}],[{key:"toObject",value:function(e,t){for(var r in e)"clipRegion"===r?t.clipRegion=s.ServerGeometry.fromGeometry(e.clipRegion):t[r]=e[r]}}]),t}();i.SuperMap.GeometryThiessenAnalystParameters=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeometryOverlayAnalystParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0&&r.push(","),r.push(this.writeNewline(),this.writeIndent(),t));return this.level-=1,r.push(this.writeNewline(),this.writeIndent(),"]"),r.join("")},string:function(e){var t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return/["\\\x00-\x1f]/.test(e)?'"'+e.replace(/([\x00-\x1f\\"])/g,function(e,r){var n=t[r];return n||(n=r.charCodeAt(),"\\u00"+Math.floor(n/16).toString(16)+(n%16).toString(16))})+'"':'"'+e+'"'},number:function(e){return isFinite(e)?String(e):"null"},boolean:function(e){return String(e)},date:function(e){function t(e){return e<10?"0"+e:e}return'"'+e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+"T"+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds())+'"'}},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Format),i(t,[{key:"read",value:function(e,t){var r;if(this.nativeJSON)try{r=JSON.parse(e,t)}catch(e){}return this.keepData&&(this.data=r),r}},{key:"write",value:function(e,t){this.pretty=!!t;var r=null,i=void 0===e?"undefined":n(e);if(this.serialize[i])try{r=!this.pretty&&this.nativeJSON?JSON.stringify(e):this.serialize[i].apply(this,[e])}catch(e){}return r}},{key:"writeIndent",value:function(){var e=[];if(this.pretty)for(var t=0;t1&&(r=parseFloat(r)*p),n.labelAlign&&"cm"!==n.labelAlign)switch(n.labelAlign){case"lt":c.x+=t/2,c.y+=r/2;break;case"lm":c.x+=t/2;break;case"lb":c.x+=t/2,c.y-=r/2;break;case"ct":c.y+=r/2;break;case"cb":c.y-=r/2;break;case"rt":c.x-=t/2,c.y+=r/2;break;case"rm":c.x-=t/2;break;case"rb":c.x-=t/2,c.y-=r/2}return this.bsInfo.h=r,this.bsInfo.w=t,i=c.x-parseFloat(t)/2,o=c.y+parseFloat(r)/2,u=c.x+parseFloat(t)/2,l=c.y-parseFloat(r)/2,new a.Bounds(i,o,u,l)}},{key:"getLabelPxBoundsByText",value:function(e,t){var r,n,i,o,l=this.getLabelPxSize(t),u=s.Util.cloneObject(e);if(t.labelAlign&&"cm"!==t.labelAlign)switch(t.labelAlign){case"lt":u.x+=l.w/2,u.y+=l.h/2;break;case"lm":u.x+=l.w/2;break;case"lb":u.x+=l.w/2,u.y-=l.h/2;break;case"ct":u.y+=l.h/2;break;case"cb":u.y-=l.h/2;break;case"rt":u.x-=l.w/2,u.y+=l.h/2;break;case"rm":u.x-=l.w/2;break;case"rb":u.x-=l.w/2,u.y-=l.h/2}return this.bsInfo.h=l.h,this.bsInfo.w=l.w,r=u.x-l.w/2,n=u.y+l.h/2,o=t.fontStyle&&"italic"===t.fontStyle?u.x+l.w/2+parseInt(parseFloat(t.fontSize)/2):u.x+l.w/2,i=u.y-l.h/2,new a.Bounds(r,n,o,i)}},{key:"getLabelPxSize",value:function(e){var t,r,n,i,o=parseFloat(e.strokeWidth);t=e.label||this.text,r=e.fontSize?parseFloat(e.fontSize):parseFloat("12px");var a=t.split("\n"),l=a.length;i=l>1?r*l+l+o+.2*r:r+o+.2*r+1,n=0,this.labelWTmp&&n255?r++:n++;return t.cnC=r,t.enC=n,t.textC=e.length,t}}]),t}();i.SuperMap.Geometry.GeoText=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Curve=void 0;var n=r(0),i=r(40);var o=t.Curve=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.componentTypes=["SuperMap.Geometry.Point","SuperMap.PointWithMeasure"],r.CLASS_NAME="SuperMap.Geometry.Curve",r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.MultiPoint),t}();n.SuperMap.Geometry.Curve=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Transform=t.Projection=void 0;var n,i=r(3),o=(n=i)&&n.__esModule?n:{default:n};function a(e,t,r){if(e===r||e===t)return e;var n=r-t;return((e-t)%n+n)%n+t}function s(e){return e*Math.PI/180}r(4);var l=t.Projection={R:6378137,minZoom:0,maxZoom:22,nativeMaxZoom:19,RAD:Math.PI/180,METERS_PER_DEGREE:6378137*Math.PI/180,MAX_LATITUDE:85.0511287798,project:function(e){var t=this.RAD,r=this.METERS_PER_DEGREE,n=this.MAX_LATITUDE,i=e instanceof Array?{lng:e[0],lat:e[1]}:{lng:e.lng,lat:e.lat},o=i.lng,a=Math.max(Math.min(n,i.lat),-n);return{x:o*r,y:(0===a?0:Math.log(Math.tan((90+a)*t/2))/t)*r}},unproject:function(e){var t=e.x,r=e.y,n=this.RAD,i=this.METERS_PER_DEGREE,o=void 0;return 0===r?o=0:(o=r/i,o=(2*Math.atan(Math.exp(o*n))-Math.PI/2)/n),{lng:a(t/i,-180,180),lat:a(o,-this.MAX_LATITUDE,this.MAX_LATITUDE)}},locate:function(e,t,r){if(!e)return null;if(t=t||0,r=r||0,!t&&!r)return e;var n=e.lng;if(0!==t){var i=Math.abs(t),o=s(e.lng);n=a(180*(o+=2*Math.sqrt(Math.pow(Math.sin(i/(2*this.R)),2)/Math.pow(Math.cos(o),2))*(i>0?1:-1))/Math.PI,-180,180)}var l=e.lat;if(0!==r){var u=Math.abs(r),c=s(e.lat);l=a(180*(c+=2*Math.sin(u/(2*this.R))*(u>0?1:-1))/Math.PI,-90,90)}return{lng:n,lat:l}},getResolution:function(e){if(!this.resolutions){for(var t=[],r=12756274*Math.PI,n=0;n<=this.maxZoom;n++)t[n]=r/(256*Math.pow(2,n));this.resolutions=t}var i=0|e,o=this.resolutions.length;i=i<0?0:i>o-1?o-1:i;var a=this.resolutions[i];return(0|e)!==e&&i!==o-1?a+(this.resolutions[i+1]-a)*(e-i):a}},u=t.Transform={matrix:[1,-1,0,0],projection:l,project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},lngLatToPoint:function(e,t){var r=this.project(e);return this.transform(r,this.projection.getResolution(t))},locate:function(e,t,r){return this.projection.locate(e,t,r)},transform:function(e,t){return{x:this.matrix[0]*(e.x-this.matrix[2])/t,y:this.matrix[1]*(e.y-this.matrix[3])/t}}};o.default.supermap.Transform=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(274);Object.defineProperty(t,"ThreeLayerRenderer",{enumerable:!0,get:function(){return n.ThreeLayerRenderer}});var i=r(105);Object.defineProperty(t,"Transform",{enumerable:!0,get:function(){return i.Transform}})},function(e,t){e.exports=function(){try{return THREE}catch(e){return{}}}()},function(e,t){e.exports=function(){try{return mapv}catch(e){return{}}}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MapvRenderer=void 0;var n,i=function(){function e(e,t){for(var r=0;rr.options.maxZoom)){var a=t.getBounds(),s=a.getEast()-a.getWest(),u=a.getNorth()-a.getSouth(),c=s/this.canvasLayer.canvas.width,p=u/this.canvasLayer.canvas.height,f=t.getCenter(),h=t.project(f),y={transferCoordinate:function(e){if(t.transform.rotationMatrix||"2d"===r.context){var n=t.project(new l.default.LngLat(e[0],e[1]));return[n.x,n.y]}var i=[(e[0]-f.lng)/c,(f.lat-e[1])/p];return[i[0]+h.x,i[1]+h.y]}};void 0!==e&&(y.filter=function(t){var r=n.trails||10;return e&&t.time>e-r&&t.time1&&(e=new s.GeometryPoint(t[0],t[1])),new s.GeometryVector(e,this.attributes)}}]),e}();a.default.supermap.ThemeFeature=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Graph=void 0;var n,i=function(){function e(e,t){for(var r=0;r=r.left&&a.x<=r.right&&a.y>=r.top&&a.y<=r.bottom){n=!0;break}}return n}},{key:"clearCache",value:function(){this.cache={},this.charts=[]}},{key:"removeFeatures",value:function(e){this.clearCache(),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeFeatures",this).call(this,e)}},{key:"removeAllFeatures",value:function(){this.clearCache(),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeAllFeatures",this).call(this)}},{key:"redraw",value:function(){return this.clearCache(),!!this.renderer&&(this.redrawThematicFeatures(this.map.getBounds()),!0)}},{key:"clear",value:function(){this.renderer&&(this.renderer.clearAll(),this.renderer.refresh()),this.removeAllFeatures(),this.clearCache()}}]),t}();s.default.supermap.GraphThemeLayer=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MapExtend=void 0;var n,i=r(3),o=(n=i)&&n.__esModule?n:{default:n};r(4);t.MapExtend=function(){o.default.Map.prototype.overlayLayersManager={},o.default.Map.prototype.addLayer=function(e,t){return e.source?(this.style.addLayer(e,t),this._update(!0),this):this.overlayLayersManager[e.id]||this.style._layers[e.id]?void this.fire("error",{error:new Error("A layer with this id already exists.")}):(function(e,t){e.onAdd(t)}(e,this),this.overlayLayersManager[e.id]=e,this)},o.default.Map.prototype.getLayer=function(e){return this.overlayLayersManager[e]?this.overlayLayersManager[e]:this.style.getLayer(e)},o.default.Map.prototype.moveLayer=function(e,t){return this.overlayLayersManager[e]?(function(e,t){var r=document.getElementById(e);if(t){var n=document.getElementById(t);n||o.default.Evented.prototype.fire("error",{error:new Error('Layer with id "'+t+'" does not exist on this document.')})}r&&n?n.parentNode.insertBefore(r,n):r.parentNode.appendChild(r)}(e,t),this):this.style._layers[e]?(this.style.moveLayer(e,t),this._update(!0),this):void 0},o.default.Map.prototype.removeLayer=function(e){return this.overlayLayersManager[e]?(this.overlayLayersManager[e].removeFromMap(),delete this.overlayLayersManager[e],this):(this.style.removeLayer(e),this._update(!0),this)},o.default.Map.prototype.setLayoutProperty=function(e,t,r){return this.overlayLayersManager[e]?("visibility"===t&&(r="block"===r,n=this.overlayLayersManager[e],i=r,n.setVisibility(i)),this):(this.style.setLayoutProperty(e,t,r),this._update(!0),this);var n,i}}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r=0&&this._clips.splice(t,1)}},{key:"_update",value:function(){for(var e=(new Date).getTime(),t=e-this._time,r=this._clips,n=r.length,i=[],o=[],a=0;a=0&&!(b[O]<=a);O--);O=Math.min(O,f-2)}else{for(O=x;Oa);O++);O=Math.min(O-1,f-2)}x=O,k=a;var s=b[O+1]-b[O];if(0!==s){if(w=(a-b[O])/s,o)if(C=g[O],T=g[0===O?O:O-1],M=g[O>f-2?f-1:O+1],E=g[O>f-3?f-1:O+2],y)p._catmullRomInterpolateArray(T,C,M,E,w,w*w,w*w*w,n(e,c),v);else{var l=void 0;l=d?p.rgba2String(j):p._catmullRomInterpolate(T,C,M,E,w,w*w,w*w*w),r(e,c,l)}else if(y)p._interpolateArray(g[O],g[O+1],w,n(e,c),v);else{var u=void 0;d?(p._interpolateArray(g[O],g[O+1],w,j,1),u=p.rgba2String(j)):u=p._interpolateNumber(g[O],g[O+1],w),r(e,c,u)}for(O=0;O0?1.1:1/1.1,r=this.painter.getLayers(),n=!1;for(var i in r)if("hover"!==i){var a=r[i],s=a.position;if(a.zoomable){a.__zoom=a.__zoom||1;var l=a.__zoom;l*=t,t=(l=Math.max(Math.min(a.maxZoom,l),a.minZoom))/a.__zoom,a.__zoom=l,s[0]-=(this._mouseX-s[0])*(t-1),s[1]-=(this._mouseY-s[1])*(t-1),a.scale[0]*=t,a.scale[1]*=t,a.dirty=!0,n=!0}}n&&this.painter.refresh(),this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEWHEEL,e),this._mousemoveHandler(e)},mousemove:function(e){this._clickThreshold++,e=this._zrenderEventFixed(e),this._lastX=this._mouseX,this._lastY=this._mouseY,this._mouseX=a.SUtil.Util_event.getX(e),this._mouseY=a.SUtil.Util_event.getY(e);var t=this._mouseX-this._lastX,r=this._mouseY-this._lastY;this._processDragStart(e),this._hasfound=0,this._event=e,this._iterateAndFindHover(),this._hasfound||((!this._draggingTarget||this._lastHover&&this._lastHover!=this._draggingTarget)&&(this._processOutShape(e),this._processDragLeave(e)),this._lastHover=null,this.storage.delHover(),this.painter.clearHover());var n="";if(this._draggingTarget)this.storage.drift(this._draggingTarget.id,t,r),this._draggingTarget.modSelf(),this.storage.addHover(this._draggingTarget);else if(this._isMouseDown){var i=this.painter.getLayers(),s=!1;for(var l in i)if("hover"!==l){var u=i[l];u.panable&&(n="move",u.position[0]+=t,u.position[1]+=r,s=!0,u.dirty=!0)}s&&this.painter.refresh()}this._draggingTarget||this._hasfound&&this._lastHover.draggable?n="move":this._hasfound&&this._lastHover.clickable&&(n="pointer"),this.root.style.cursor=n,this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEMOVE,e),(this._draggingTarget||this._hasfound||this.storage.hasHoverShape())&&this.painter.refreshHover()},mouseout:function(e){var t=(e=this._zrenderEventFixed(e)).toElement||e.relatedTarget;if(t!=this.root)for(;t&&9!=t.nodeType;){if(t==this.root)return void this._mousemoveHandler(e);t=t.parentNode}e.zrenderX=this._lastX,e.zrenderY=this._lastY,this.root.style.cursor="",this._isMouseDown=0,this._processOutShape(e),this._processDrop(e),this._processDragEnd(e),this.painter.refreshHover(),this.dispatch(o.Config.EVENT.GLOBALOUT,e)},mousedown:function(e){if(this._clickThreshold=0,2==this._lastDownButton)return this._lastDownButton=e.button,void(this._mouseDownTarget=null);this._lastMouseDownMoment=new Date,e=this._zrenderEventFixed(e),this._isMouseDown=1,this._mouseDownTarget=this._lastHover,this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEDOWN,e),this._lastDownButton=e.button},mouseup:function(e){e=this._zrenderEventFixed(e),this.root.style.cursor="",this._isMouseDown=0,this._mouseDownTarget=null,this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEUP,e),this._processDrop(e),this._processDragEnd(e)},touchstart:function(e){e=this._zrenderEventFixed(e,!0),this._lastTouchMoment=new Date,this._mobildFindFixed(e),this._mousedownHandler(e)},touchmove:function(e){e=this._zrenderEventFixed(e,!0),this._mousemoveHandler(e),this._isDragging&&a.SUtil.Util_event.stop(e)},touchend:function(e){e=this._zrenderEventFixed(e,!0),this._mouseupHandler(e);var t=new Date;t-this._lastTouchMoment=0;i--){var o=r[i];if(void 0!==o.zlevel&&(e=this.painter.getLayer(o.zlevel,e),n[0]=this._mouseX,n[1]=this._mouseY,e.needTransform&&(a.SUtil.Util_matrix.invert(t,e.transform),a.SUtil.Util_vector.applyTransform(n,n,t))),this._findHover(o,n[0],n[1]))break}}},{key:"_mobildFindFixed",value:function(e){var t=[{x:10},{x:-20},{x:10,y:10},{y:-20}];this._lastHover=null,this._mouseX=e.zrenderX,this._mouseY=e.zrenderY,this._event=e,this._iterateAndFindHover();for(var r=0;!this._lastHover&&r0&&e>this._zlevelList[0]){for(i=0;ie);i++);n=this._layers[this._zlevelList[i]]}this._zlevelList.splice(i+1,0,e),t=new f(a.Util.createUniqueID("_levelLayer_"+e),this);var o=n?n.dom:this._bgDom;o.nextSibling?o.parentNode.insertBefore(t.dom,o.nextSibling):o.parentNode.appendChild(t.dom),t.initContext(),this._layers[e]=t,this._layerConfig[e]&&(new s.Util).merge(t,this._layerConfig[e],!0),t.updateTransform()}return t}},{key:"getLayers",value:function(){return this._layers}},{key:"_updateLayerStatus",value:function(e){var t=this._layers,r={};for(var n in t)"hover"!==n&&(r[n]=t[n].elCount,t[n].elCount=0);for(var i=0;i0}},{key:"addRoot",value:function(e){e instanceof o.Group&&e.addChildrenToStorage(this),this.addToMap(e),this._roots.push(e)}},{key:"delRoot",value:function(e){if(void 0===e){for(var t=0;t=0&&(this.delFromMap(s.id),this._roots.splice(l,1),s instanceof o.Group&&s.delChildrenFromStorage(this))}}},{key:"addToMap",value:function(e){return e instanceof o.Group&&(e._storage=this),e.modSelf(),this._elements[e.id]=e,this}},{key:"get",value:function(e){return this._elements[e]}},{key:"delFromMap",value:function(e){var t=this._elements[e];return t&&(delete this._elements[e],t instanceof o.Group&&(t._storage=null)),this}},{key:"dispose",value:function(){this._elements=null,this._roots=null,this._hoverElements=null}}],[{key:"shapeCompareFunc",value:function(e,t){return e.zlevel==t.zlevel?e.z==t.z?e.__renderidx-t.__renderidx:e.z-t.z:e.zlevel-t.zlevel}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Render=void 0;var n=function(){function e(e,t){for(var r=0;r=s[2]||s[1]<=s[3])&&(this.DVBOrigonPoint=[s[0],s[3]],this.DVBWidth=Math.abs(s[2]-s[0]),this.DVBHeight=Math.abs(s[1]-s[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-i[0],this.DVBOrigonPoint[1]-i[1]],!0)}}]),t}();i.SuperMap.Feature.Theme.RankSymbol=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicSector=void 0;var n=function(){function e(e,t){for(var r=0;r1?o.SUtil.Util_computeBoundingBox.arc(s,l,u,p,f,!h,r,i):(r[0]=i[0]=s,r[1]=i[1]=l),o.SUtil.Util_computeBoundingBox.arc(s,l,c,p,f,!h,n,a),o.SUtil.Util_vector.min(r,r,n),o.SUtil.Util_vector.max(i,i,a),e.__rect={x:r[0],y:r[1],width:i[0]-r[0],height:i[1]-r[1]},e.__rect}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicCircle=void 0;var n=function(){function e(e,t){for(var r=0;r1)for(var t in arguments)console.log(arguments[t])}}return n(e,[{key:"destory",value:function(){return!0}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;r=200&&o.status<300||304===o.status?t&&t(o.responseText):r&&r(),o.onreadystatechange=new Function,o=null)},o.send(null)}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;ri&&(i=l[0]),l[1]a&&(a=l[1])}t[0]=n,t[1]=o,r[0]=i,r[1]=a}}},{key:"cubeBezier",value:function(e,t,r,n,o,a){var s=new i.Curve,l=[];s.cubicExtrema(e[0],t[0],r[0],n[0],l);for(var u=0;ui&&!a?i+=2*Math.PI:nn&&(f[0]=Math.cos(y)*r+e,f[1]=Math.sin(y)*r+t,u.min(s,f,s),u.max(l,f,l))}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Area=void 0;var n=function(){function e(e,t){for(var r=0;r0){for(var b=this.isInsidePolygon(t.pointList,v,m),g=e.holePolygonPointLists,S=!1,_=0,P=g.length;_t+s&&a>n+s||ae+s&&o>r+s||ot+p&&c>n+p&&c>o+p&&c>s+p||ce+p&&u>r+p&&u>i+p&&u>a+p||ut+u&&l>n+u&&l>o+u||le+u&&s>r+u&&s>i+u||sr||p+c=u)return!0;if(o){var f=n;n=this.normalizeRadian(i),i=this.normalizeRadian(f)}else n=this.normalizeRadian(n),i=this.normalizeRadian(i);n>i&&(i+=u);var h=Math.atan2(l,s);return h<0&&(h+=u),h>=n&&h<=i||h+u>=n&&h+u<=i}},{key:"isInsideBrokenLine",value:function(e,t,r,n){for(var i=Math.max(t,10),o=0,a=e.length-1;or*r}},{key:"isInsideRect",value:function(e,t,r,n,i,o){return i>=e&&i<=e+r&&o>=t&&o<=t+n}},{key:"isInsideCircle",value:function(e,t,r,n,i){return(n-e)*(n-e)+(i-t)*(i-t)t&&o>n||oi?nt&&u>n&&u>o&&u>s||u1&&this.swapExtrema(),y=c.cubicAt(t,n,o,s,f[0]),m>1&&(d=c.cubicAt(t,n,o,s,f[1]))),2==m?gt&&s>n&&s>o||s=0&&p<=1){for(var f=0,h=l.quadraticAt(t,n,o,p),y=0;ya||(u[y]a?0:or||s<-r)return 0;var c=Math.sqrt(r*r-s*s);if(l[0]=-c,l[1]=c,Math.abs(n-i)>=u){n=0,i=u;var p=o?1:-1;return a>=l[0]+e&&a<=l[1]+e?p:0}if(o){var f=n;n=this.normalizeRadian(i),i=this.normalizeRadian(f)}else n=this.normalizeRadian(n),i=this.normalizeRadian(i);n>i&&(i+=u);for(var h=0,y=0;y<2;y++){var d=l[y];if(d+e>a){var v=Math.atan2(s,d),m=o?1:-1;v<0&&(v=u+v),(v>=n&&v<=i||v+u>=n&&v+u<=i)&&(v>Math.PI/2&&v<1.5*Math.PI&&(m=-m),h+=m)}}return h}},{key:"isInsidePath",value:function(e,t,r,n,i){for(var o=0,a=0,s=0,l=0,u=0,c=!0,p=!0,f="stroke"===(r=r||"fill")||"both"===r,h="fill"===r||"both"===r,y=0;y0&&(h&&(o+=this.windingLine(a,s,l,u,n,i)),0!==o))return!0;l=v[v.length-2],u=v[v.length-1],c=!1,p&&"A"!==d.command&&(p=!1,a=l,s=u)}switch(d.command){case"M":a=v[0],s=v[1];break;case"L":if(f&&this.isInsideLine(a,s,v[0],v[1],t,n,i))return!0;h&&(o+=this.windingLine(a,s,v[0],v[1],n,i)),a=v[0],s=v[1];break;case"C":if(f&&this.isInsideCubicStroke(a,s,v[0],v[1],v[2],v[3],v[4],v[5],t,n,i))return!0;h&&(o+=this.windingCubic(a,s,v[0],v[1],v[2],v[3],v[4],v[5],n,i)),a=v[4],s=v[5];break;case"Q":if(f&&this.isInsideQuadraticStroke(a,s,v[0],v[1],v[2],v[3],t,n,i))return!0;h&&(o+=this.windingQuadratic(a,s,v[0],v[1],v[2],v[3],n,i)),a=v[2],s=v[3];break;case"A":var m=v[0],b=v[1],g=v[2],S=v[3],_=v[4],P=v[5],O=Math.cos(_)*g+m,w=Math.sin(_)*S+b;p?(p=!1,l=O,u=w):o+=this.windingLine(a,s,O,w);var T=(n-m)*S/g+m;if(f&&this.isInsideArcStroke(m,b,S,_,_+P,1-v[7],t,T,i))return!0;h&&(o+=this.windingArc(m,b,S,_,_+P,1-v[7],T,i)),a=Math.cos(_+P)*g+m,s=Math.sin(_+P)*S+b;break;case"z":if(f&&this.isInsideLine(a,s,l,u,t,n,i))return!0;c=!0}}return h&&(o+=this.windingLine(a,s,l,u,n,i)),0!==o}},{key:"getTextWidth",value:function(e,t){var r=e+":"+t;if(this._textWidthCache[r])return this._textWidthCache[r];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t);for(var n=0,i=0,o=(e=(e+"").split("\n")).length;ithis.TEXT_CACHE_MAX&&(this._textWidthCacheCounter=0,this._textWidthCache={}),n}},{key:"getTextHeight",value:function(e,t){var r=e+":"+t;if(this._textHeightCache[r])return this._textHeightCache[r];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t),e=(e+"").split("\n");var n=(this._ctx.measureText("ZH").width+2)*e.length;return this._ctx.restore(),this._textHeightCache[r]=n,++this._textHeightCacheCounter>this.TEXT_CACHE_MAX&&(this._textHeightCacheCounter=0,this._textHeightCache={}),n}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;var n=function(){function e(e,t){for(var r=0;r-1&&"?"===i?t+=n:t.indexOf("?")>-1&&"?"!==i?t+="&"+n:t+="?"+n}return t}},{key:"getCredential",value:function(){}}]),e}();i.SuperMap.OnlineServiceBase=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OnlineData=void 0;var n=function(){function e(e,t){for(var r=0;r0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.defaultcolor&&(e.defaultcolor.destroy(),e.defaultcolor=null)}},{key:"toServerJSONObject",value:function(){var e={};if((e=o.Util.copyAttributes(e,this)).defaultcolor&&e.defaultcolor.toServerJSONObject&&(e.defaultcolor=e.defaultcolor.toServerJSONObject()),e.items){for(var t=[],r=e.items.length,n=0;n0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.reverseColor=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}}],[{key:"fromObj",value:function(e){if(e){var r=new t;o.Util.copy(r,e);var n=e.items,i=n?n.length:0;r.items=[];for(var a=0;a0&&(e=e.substring(0,e.length-1)),"{"+e+"}"}return null}}]),e}();i.SuperMap.ThemeMemoryData=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServerTheme=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}}}],[{key:"toJsonParameters",value:function(e){var t,r;return t={datasetNames:e.datasetNames,getFeatureMode:"ID",ids:e.IDs},e.fields&&((r=new a.FilterParameter).name=e.datasetNames,r.fields=e.fields,t.queryParameter=r),o.Util.toJSON(t)}}]),t}();i.SuperMap.GetFeaturesByIDsParameters=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesByGeometryParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}}],[{key:"toJsonParameters",value:function(e){var t,r,n;return r=u.ServerGeometry.fromGeometry(e.geometry),n={datasetNames:e.datasetNames,getFeatureMode:"SPATIAL",geometry:r,spatialQueryMode:e.spatialQueryMode},e.fields&&((t=new s.FilterParameter).name=e.datasetNames,t.fields=e.fields,n.queryParameter=t),e.attributeFilter&&(n.attributeFilter=e.attributeFilter,n.getFeatureMode="SPATIAL_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(n.maxFeatures=e.maxFeatures),o.Util.toJSON(n)}}]),t}();i.SuperMap.GetFeaturesByGeometryParameters=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesByBufferParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}e.geometry&&(e.geometry.destroy(),e.geometry=null)}}],[{key:"toJsonParameters",value:function(e){var t,r,n;return n=l.ServerGeometry.fromGeometry(e.geometry),r={datasetNames:e.datasetNames,getFeatureMode:"BUFFER",bufferDistance:e.bufferDistance,geometry:n},e.fields&&((t=new s.FilterParameter).name=e.datasetNames,t.fields=e.fields,r.queryParameter=t),e.attributeFilter&&(r.attributeFilter=e.attributeFilter,r.getFeatureMode="BUFFER_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(r.maxFeatures=e.maxFeatures),o.Util.toJSON(r)}}]),t}();i.SuperMap.GetFeaturesByBufferParameters=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesByBoundsParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}}],[{key:"toJsonParameters",value:function(e){var r,n,i;return n={leftBottom:{x:e.bounds.left,y:e.bounds.bottom},rightTop:{x:e.bounds.right,y:e.bounds.top}},i={datasetNames:e.datasetNames,getFeatureMode:t.getFeatureMode.BOUNDS,bounds:n,spatialQueryMode:e.spatialQueryMode},e.fields&&((r=new s.FilterParameter).name=e.datasetNames,r.fields=e.fields,i.queryParameter=r),e.attributeFilter&&(i.attributeFilter=e.attributeFilter,i.getFeatureMode=t.getFeatureMode.BOUNDS_ATTRIBUTEFILTER),e.maxFeatures&&!isNaN(e.maxFeatures)&&(i.maxFeatures=e.maxFeatures),o.Util.toJSON(i)}}]),t}();u.getFeatureMode={BOUNDS:"BOUNDS",BOUNDS_ATTRIBUTEFILTER:"BOUNDS_ATTRIBUTEFILTER"},i.SuperMap.GetFeaturesByBoundsParameters=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeoRelationAnalystParameters=void 0;var n=function(){function e(e,t){for(var r=0;r=0?t.speed:1,this.frequency=t.speed&&t.frequency>=0?t.frequency:1e3,this.startTime=t.startTime&&null!=t.startTime?t.startTime:0,this.endTime=t.endTime&&null!=t.endTime&&t.endTime>=r.startTime?t.endTime:+new Date,this.repeat=void 0===t.repeat||t.repeat,this.reverse=void 0!==t.reverse&&t.reverse,this.currentTime=null,this.oldTime=null,this.running=!1,this.EVENT_TYPES=["start","pause","stop"],r.events=new o.Events(this,null,this.EVENT_TYPES),r.speed=Number(r.speed),r.frequency=Number(r.frequency),r.startTime=Number(r.startTime),r.endTime=Number(r.endTime),r.startTime=Date.parse(new Date(r.startTime)),r.endTime=Date.parse(new Date(r.endTime)),r.currentTime=r.startTime,this.CLASS_NAME="SuperMap.TimeControlBase"}return n(e,[{key:"updateOptions",value:function(e){var t=this;(e=e||{}).speed&&e.speed>=0&&(t.speed=e.speed,t.speed=Number(t.speed)),e.speed&&e.frequency>=0&&(t.frequency=e.frequency,t.frequency=Number(t.frequency)),e.startTime&&null!=e.startTime&&(t.startTime=e.startTime,t.startTime=Date.parse(new Date(t.startTime))),e.endTime&&null!=e.endTime&&e.endTime>=t.startTime&&(t.endTime=e.endTime,t.endTime=Date.parse(new Date(t.endTime))),null!=e.repeat&&(t.repeat=e.repeat),null!=e.reverse&&(t.reverse=e.reverse)}},{key:"start",value:function(){var e=this;e.running||(e.running=!0,e.tick(),e.events.triggerEvent("start",e.currentTime))}},{key:"pause",value:function(){this.running=!1,this.events.triggerEvent("pause",this.currentTime)}},{key:"stop",value:function(){var e=this;e.currentTime=e.startTime,e.running&&(e.running=!1),e.events.triggerEvent("stop",e.currentTime)}},{key:"toggle",value:function(){this.running?this.pause():this.start()}},{key:"setSpeed",value:function(e){return e>=0&&(this.speed=e,!0)}},{key:"getSpeed",value:function(){return this.speed}},{key:"setFrequency",value:function(e){return e>=0&&(this.frequency=e,!0)}},{key:"getFrequency",value:function(){return this.frequency}},{key:"setStartTime",value:function(e){var t=this;return!((e=Date.parse(new Date(e)))>t.endTime)&&(t.startTime=e,t.currentTime=t.endTime&&(t.currentTime=t.startTime,t.tick()),!0)}},{key:"getEndTime",value:function(){return this.endTime}},{key:"setCurrentTime",value:function(e){var t=this;return t.currentTime=Date.parse(new Date(t.currentTime)),e>=t.startTime&&e<=t.endTime&&(t.currentTime=e,t.startTime=t.currentTime,t.tick(),!0)}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"setRepeat",value:function(e){this.repeat=e}},{key:"getRepeat",value:function(){return this.repeat}},{key:"setReverse",value:function(e){this.reverse=e}},{key:"getReverse",value:function(){return this.reverse}},{key:"getRunning",value:function(){return this.running}},{key:"destroy",value:function(){var e=this;e.speed=null,e.frequency=null,e.startTime=null,e.endTime=null,e.currentTime=null,e.repeat=null,e.running=!1,e.reverse=null}},{key:"tick",value:function(){}}]),e}();i.SuperMap.TimeControlBase=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.LogoBase64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAAdCAYAAAAjHtusAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozYWZlOGIwMi01MWE3LTRiZjYtYWVkYS05MGQ2ZTQ4YjZiMmUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODg0NkFBQUE3RjEzMTFFNzhFRjJFQkY4RjcxQjc1NjIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODg0NkFBQTk3RjEzMTFFNzhFRjJFQkY4RjcxQj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EqVp2P10rt+8REvBGw026i4aDcbL9jF8r8Blmf4fCOzhViiscskygXRdehf3CO4hfigmTBXyQrl8TFtD1IzQX3CbcQrY3hPcRv4z8OmHPXwchVNln2MmE7BX6VwIFi/he6uxvb6JM3m0fdqvx/ATidxg2JeC7VDErAw5NzGfvwRJVheEIQ8Mg/pdwIM+UOmi9Q8ivCsrIy0tF+wVbEcLrd3Pb2XisEb4Tdlhsi4WP4RBbaLGrHfC3PrvMIezy9rTpGm5lz9LOMG15xvFxD/j5gjzjjDbMOzk+9zzt3v5bgAEAibzFeFHVgYkAAAAASUVORK5CYII="},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Feature=void 0;var n=function(){function e(e,t){for(var r=0;r1},isLeftClick:function(e){return e.which&&1===e.which||e.button&&1===e.button},isRightClick:function(e){return e.which&&3===e.which||e.button&&2===e.button},stop:function(e,t){t||(e.preventDefault?e.preventDefault():e.returnValue=!1),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},findElement:function(e,t){for(var r=n.SuperMap.Event.element(e);r.parentNode&&(!r.tagName||r.tagName.toUpperCase()!=t.toUpperCase());)r=r.parentNode;return r},observe:function(e,t,r,n){var o=i.Util.getElement(e);if(n=n||!1,"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||o.attachEvent)&&(t="keydown"),this.observers||(this.observers={}),!o._eventCacheID){var a="eventCacheID_";o.id&&(a=o.id+"_"+a),o._eventCacheID=i.Util.createUniqueID(a)}var s=o._eventCacheID;this.observers[s]||(this.observers[s]=[]),this.observers[s].push({element:o,name:t,observer:r,useCapture:n}),o.addEventListener?o.addEventListener(t,r,n):o.attachEvent&&o.attachEvent("on"+t,r)},stopObservingElement:function(e){var t=i.Util.getElement(e)._eventCacheID;this._removeElementObservers(n.SuperMap.Event.observers[t])},_removeElementObservers:function(e){if(e)for(var t=e.length-1;t>=0;t--){var r=e[t],i=new Array(r.element,r.name,r.observer,r.useCapture);n.SuperMap.Event.stopObserving.apply(this,i)}},stopObserving:function(e,t,r,o){o=o||!1;var a=i.Util.getElement(e),s=a._eventCacheID;"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||a.detachEvent)&&(t="keydown");var l=!1,u=n.SuperMap.Event.observers[s];if(u)for(var c=0;!l&&c0?this.convertFastToPixelPoints(e):this.canvasContext.clearRect(0,0,this.maxWidth,this.maxWidth)}},{key:"convertFastToPixelPoints",value:function(e){var t,r,n,i,o,a,l,u=[],c=e.getEast()-e.getWest(),p=e.getNorth()-e.getSouth(),f=this.map.getCanvas();i=c/f.width>p/f.height?c/f.width:p/f.height,this.useRadius=this.useGeoUnit?parseInt(this.radius/i):this.radius;for(var h=0;h0&&this.maxWidth>0))return!1;var r=this.canvasContext;this.canvasContext.clearRect(0,0,this.maxWidth,this.maxHeight),this.drawCircle(this.useRadius),this.createGradient();for(var n=0;n=0;t--)e.children[t]instanceof o.Mesh&&e.remove(e.children[t]);return this}},{key:"clearAll",value:function(e){var t=this.renderer.scene;if(!t)return this;for(var r=t.children.length-1;r>=0;r--)!e&&t.children[r]instanceof o.Camera||t.remove(t.children[r]);return this}},{key:"setPosition",value:function(e,t){if(!e||!t)return this;var r=this.lngLatToPosition(t);return e.position.set(r.x,r.y,r.z),this}},{key:"lngLatToPosition",value:function(e){var t=l.Transform.projection.nativeMaxZoom,r=l.Transform.lngLatToPoint(e,t);return new u(r.x,r.y,-0)}},{key:"distanceToThreeVector3",value:function(e,t,r){var n=this._map,i=r||n.getCenter(),o=l.Transform.projection.nativeMaxZoom,a=l.Transform.locate(i,e,t),s=l.Transform.lngLatToPoint(i,o),c=l.Transform.lngLatToPoint(a,o),p=Math.abs(c.x-s.x)*Math.sign(e),f=Math.abs(c.y-s.y)*Math.sign(t);return new u(p,f,0)}},{key:"removeDuplicatedCoordinates",value:function(e){function t(e,t){return e[0]===t[0]&&e[1]===t[1]}for(var r=[].concat(e),n=r.length-1;n>=1;n--)t(r[n],r[n-1])&&r.splice(n,1);return t(r[0],r[r.length-1])&&r.splice(r.length-1,1),r}},{key:"getCoordinatesCenter",value:function(e){for(var t=0,r=0,n=0,i=0,o=e.length;i0&&r.attributes){var n=this.themeField,i=r.attributes,o=this.styleGroups,a=!1,l=null;for(var u in i)if(n===u){a=!0,l=i[u];break}if(a)for(var c=0,p=o.length;c"+n+""}return e+=""}}]),t}();a.default.supermap.UniqueTheme3DLayer=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RankSymbol=void 0;var n,i=function(){function e(e,t){for(var r=0;r0&&r.attributes){var n=this.themeField,i=r.attributes,o=this.styleGroups,a=!1,l=null;for(var u in i)if(n===u){a=!0,l=i[u];break}if(a)for(var c=0,p=o.length;c=o[c].start&&l";for(e=0;e "+i;else i=i+"-"+this._getWrapperText(this.colorStops[e+1][0]);r+="
  • "+i+"
  • "}return r+=""}},{key:"_getWrapperText",value:function(e){var t=e*(null==this.legendRatio?1:parseFloat(this.legendRatio)),r=parseFloat(t);return r%1e6<=1e6?r.toString():parseInt(r/1e3)+"k"}}]),t}();a.default.supermap.RangeTheme3DLayer=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MapvLayer=void 0;var n,i=function(){function e(e,t){for(var r=0;r=0&&d.x<=f.x&&d.y>=0&&d.y<=f.y){if(r.style.minZoomLevel>-1&&c<=r.style.minZoomLevel)continue;if(r.style.maxZoomLevel>-1&&c>r.style.maxZoomLevel)continue;var v=null;r.isStyleChange?(r.isStyleChange=null,v=this.calculateLabelBounds(r,d)):v=r.geometry.bsInfo.w&&r.geometry.bsInfo.h?this.calculateLabelBounds2(r,d):this.calculateLabelBounds(r,d);var m=new s.Bounds(0,f.y,f.x,0),b=v.length;if(this.isAvoid){var g=this.getAvoidInfo(m,v);if(g){if("left"===g.aspectW){r.style.labelXOffset+=g.offsetX;for(var S=0;S=i[u].start&&a=i[u].start&&al&&(l=r,u="top")}if(t.y>e.bottom){var n=Math.abs(t.y-e.bottom);n>l&&(l=n,u="bottom")}if(t.xa&&(a=i,c="left")}if(t.x>e.right){var o=Math.abs(t.x-e.right);o>a&&(a=o,c="right")}}}}},{key:"isQuadrilateralOverLap",value:function(e,t){var r=e.length,n=t.length;if(5!==r||5!==n)return null;for(var i=!1,o=0;o"+r+"",this._createStyleSheet(),this._container}},{key:"_createStyleSheet",value:function(){var e=document.createElement("style");e.type="text/css",e.innerHTML=".iclient-logo{margin:0 !important;}.iclient-logo a{border: none;display: block;height:31px;}.iclient-logo img{border: none;white-space: nowrap}",document.getElementsByTagName("head")[0].appendChild(e)}},{key:"_extend",value:function(e){for(var t=0;t4?c*a(2*s/n)/a(s/n):c/3);var f=s/n,h=-s/2,y=l+c*a(h),d=u+c*i(h);h+=f;var v=t.pointList=[];v.push([y,d]);for(var m,b=0,g=2*n-1;b0){var c=o[o.length-1];if(Math.abs(c[0]-n[0])<=s&&Math.abs(c[1]-n[1])<=s)continue}o.push(n)}if(o.length<2)return null;var p=new Object;(p=a.Util.copyAttributesWithClip(p,this.style,["pointList"])).pointList=o;var f=new S.SmicBrokenLine({style:p,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(f.highlightStyle=this.highlightStyle),f.refOriginalPosition=this.location,f.refDataID=this.data.id,f.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(f,this.shapeOptions),this.shapes.push(f)}},{key:"multiPointToTF",value:function(e){for(var t=e.components,r=[],n=[],i=this.location,o=[],s=this.nodesClipPixel,l=0;l0){var c=o[o.length-1];if(Math.abs(c[0]-n[0])<=s&&Math.abs(c[1]-n[1])<=s)continue}o.push(n);var p=new Object;p.r=6,(p=a.Util.copyAttributesWithClip(p,this.style)).x=n[0],p.y=n[1];var f=new g.SmicPoint({style:p,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(f.highlightStyle=this.highlightStyle),f.refOriginalPosition=i,f.refDataID=this.data.id,f.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(f,this.shapeOptions),this.shapes.push(f)}}},{key:"multiLineStringToTF",value:function(e){for(var t=e.components,r=0;r0){var h=o[o.length-1];if(Math.abs(h[0]-n[0])<=u&&Math.abs(h[1]-n[1])<=u)continue}o.push(n)}}else{s=[];for(var y=0;y0){var d=s[s.length-1];if(Math.abs(d[0]-n[0])<=u&&Math.abs(d[1]-n[1])<=u)continue}s.push(n)}}s.length<2||l.push(s)}if(!(o.length<2)){var v={};(v=a.Util.copyAttributesWithClip(v,this.style,["pointList"])).pointList=o;var m=new O.SmicPolygon({style:v,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(m.highlightStyle=this.highlightStyle),m.refOriginalPosition=this.location,m.refDataID=this.data.id,m.isHoverByRefDataID=this.isMultiHover,l.length>0&&(m.holePolygonPointLists=l),this.shapeOptions&&a.Util.copyAttributesWithClip(m,this.shapeOptions),this.shapes.push(m)}}},{key:"rectangleToTF",value:function(e){var t=this.location,r=new w.LonLat(e.x,e.y),n=this.layer.map.getResolution(),i=this.getLocalXY(r),o=new Object;o.r=6,(o=a.Util.copyAttributesWithClip(o,this.style)).x=i[0]-t[0],o.y=i[1]-t[1]-2*e.width/n,o.width=e.width/n,o.height=e.height/n;var s=new P.SmicRectangle({style:o,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(s.highlightStyle=this.highlightStyle),s.refOriginalPosition=t,s.refDataID=this.data.id,s.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(s,this.shapeOptions),this.shapes.push(s)}},{key:"geoTextToTF",value:function(e){var t=this.location,r=this.getLocalXY(e),n=new Object;n.r=6,(n=a.Util.copyAttributesWithClip(n,this.style,["x","y","text"])).x=r[0]-t[0],n.y=r[1]-t[1],n.text=e.text;var i=new _.SmicText({style:n,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(i.highlightStyle=this.highlightStyle),i.refOriginalPosition=t,i.refDataID=this.data.id,i.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(i,this.shapeOptions),this.shapes.push(i)}},{key:"updateAndAddShapes",value:function(){var e=this.getLocalXY(this.lonlat);this.location=e;for(var t=this.layer.renderer,r=0,n=this.shapes.length;rn[1])return;for(var s=0,l=0;l=0&&t.innerRingRadiusr[1])return null;l=c[p],u=t[1]-(i[p]-r[0])/n;var h=new a.Point(l,u);h.style=o.ShapeFactory.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,p,i[p]),h.highlightStyle=o.ShapeFactory.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(h.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(h.clickable=e.pointClickAble),h.refDataID=this.data.id,h.dataInfo={field:this.fields[p],value:i[p]},this.shapes.push(this.shapeFactory.createShape(h))}this.shapesConvertToRelativeCoordinate()}}}},{key:"calculateXShapeInfo",value:function(){var e,t=this.dataViewBox,r=this.setting,n=this.dataValues.length;if(n<1)return null;var i=[],o=this.DVBWidth,a=0;if(r.xShapeBlank&&r.xShapeBlank.length&&2==r.xShapeBlank.length){var s=o-((e=r.xShapeBlank)[0]+e[1]);if(s<=n)return null;a=s/(n-1)}else e=[a=o/(n+1),a,a];for(var l=0,u=0;un[1])return;for(var s=0,l=0;l=360&&(f=359.9999999);var m=new a.Sector(c[0],c[1],y,p,f);if(void 0===e.sectorStyleByFields){var b=d%t.length;m.style=o.ShapeFactory.ShapeStyleTool(null,e.sectorStyle,t,null,b)}else m.style=o.ShapeFactory.ShapeStyleTool(null,e.sectorStyle,e.sectorStyleByFields,e.sectorStyleByCodomain,d,r[d]);m.highlightStyle=o.ShapeFactory.ShapeStyleTool(null,e.sectorHoverStyle),void 0!==e.sectorHoverAble&&(m.hoverable=e.sectorHoverAble),void 0!==e.sectorClickAble&&(m.clickable=e.sectorClickAble),m.refDataID=this.data.id,m.dataInfo={field:this.fields[d],value:r[d]},this.shapes.push(this.shapeFactory.createShape(m)),p=f}this.shapesConvertToRelativeCoordinate()}}}}]),t}();i.SuperMap.Feature.Theme.Pie=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Line=void 0;var n=function(){function e(e,t){for(var r=0;rr[1])return null;u=p[y],c=t[1]-(i[y]-r[0])/n;var v=new a.Point(u,c);v.style=o.ShapeFactory.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,y,i[y]),v.highlightStyle=o.ShapeFactory.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(v.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(v.clickable=e.pointClickAble),v.refDataID=this.data.id,v.dataInfo={field:this.fields[y],value:i[y]},h.push(this.shapeFactory.createShape(v));var m=[u,c];f.push(m)}var b=new s.Line(f);b.style=o.ShapeFactory.ShapeStyleTool({strokeColor:"#ee9900"},e.lineStyle),b.clickable=!1,b.hoverable=!1;var g=this.shapeFactory.createShape(b);this.shapes.push(g),this.shapes=this.shapes.concat(h),this.shapesConvertToRelativeCoordinate()}}}}},{key:"calculateXShapeInfo",value:function(){var e,t=this.dataViewBox,r=this.setting,n=this.dataValues.length;if(n<1)return null;var i=[],o=this.DVBWidth,a=0;if(r.xShapeBlank&&r.xShapeBlank.length&&2==r.xShapeBlank.length){var s=o-((e=r.xShapeBlank)[0]+e[1]);if(s<=n)return null;a=s/(n-1)}else e=[a=o/(n+1),a,a];for(var l=0,u=0;u0?this.DVBUnitValue=e.maxR/(i[1]-i[0]):this.DVBUnitValue=e.maxR;var l=this.DVBUnitValue,u=n[0]*l+e.minR;if(this.width=2*u,this.height=2*u,this.initBaseParameter()&&(!i||!(n[0]i[1]))){var c=this.DVBCenterPoint,p=new a.Circle(c[0],c[1],u);p.style=s.ShapeFactory.ShapeStyleTool(null,e.circleStyle,null,null,0),void 0!==e.fillColor?p.style.fillColor=e.fillColor:p.style.fillColor="#ff9277",p.highlightStyle=s.ShapeFactory.ShapeStyleTool(null,e.circleHoverStyle),void 0!==e.circleHoverAble&&(p.hoverable=e.circleHoverAble),void 0!==e.circleClickAble&&(p.clickable=e.circleClickAble),p.refDataID=this.data.id,p.dataInfo={field:this.fields[0],r:u,value:n[0]},this.shapes.push(this.shapeFactory.createShape(p)),this.shapesConvertToRelativeCoordinate()}}}]),t}();i.SuperMap.Feature.Theme.Circle=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Bar3D=void 0;var n=function(){function e(e,t){for(var r=0;rt[1])return;var u=this.calculateXShapeInfo();if(u){var c=u.xPositions,p=u.width;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(a.ShapeFactory.Background(this.shapeFactory,this.chartBox,e)),(!e.axis3DParameter||isNaN(e.axis3DParameter)||e.axis3DParameter<15)&&(e.axis3DParameter=20),(void 0===e.useAxis||e.useAxis)&&(this.shapes=this.shapes.concat(a.ShapeFactory.GraphAxis(this.shapeFactory,r,e,u)));for(var f=e.bar3DParameter&&!isNaN(e.bar3DParameter)?e.bar3DParameter:10,h=0;hr[1])return;var c=this.calculateXShapeInfo();if(c){var p=c.xPositions,f=c.width;(void 0===t.useBackground||t.useBackground)&&this.shapes.push(o.ShapeFactory.Background(this.shapeFactory,this.chartBox,t)),(void 0===t.useAxis||t.useAxis)&&(this.shapes=this.shapes.concat(o.ShapeFactory.GraphAxis(this.shapeFactory,n,t,c)));for(var h=0;h=t.length&&(r%=t.length);var u=t[r][0],c=t[r][1],p=(new s.Color).getLinearGradient(a,0,l,0,[[0,u],[1,c]]);i.style.color=p}}}}]),t}();i.SuperMap.Feature.Theme.Bar=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SUtil=t.LevelRendererVector=t.Util=t.Transformable=t.Storage=t.SmicText=t.SmicStar=t.SmicSector=t.SmicRing=t.SmicRectangle=t.SmicPolygon=t.SmicPoint=t.SmicIsogon=t.SmicImage=t.SmicEllipse=t.SmicCircle=t.SmicBrokenLine=t.Shape=t.PaintLayer=t.Painter=t.Matrix=t.Math=t.Log=t.Http=t.Handler=t.Group=t.Eventful=t.LevelRendererEvent=t.Env=t.Easing=t.LevelRendererCurve=t.Config=t.ComputeBoundingBox=t.Color=t.Clip=t.Area=t.Animator=t.Animation=t.Render=t.LevelRenderer=t.FeatureTheme=t.Sector=t.FeatureRectangle=t.FeaturePolygon=t.Point=t.FeatureLine=t.Label=t.Image=t.FeatureCircle=t.ShapeParameters=t.ShapeFactory=t.ThemeVector=t.Ring=t.RankSymbol=t.OverlayPoint=t.Pie=t.Line=t.Graph=t.Circle=t.Bar3D=t.Bar=void 0;var n=r(303),i=r(302),o=r(301),a=r(28),s=r(300),l=r(299),u=r(298),c=r(121),p=r(297),f=r(296),h=r(295),y=r(294);t.Bar=n.Bar,t.Bar3D=i.Bar3D,t.Circle=o.Circle,t.Graph=a.Graph,t.Line=s.Line,t.Pie=l.Pie,t.OverlayPoint=u.Point,t.RankSymbol=c.RankSymbol,t.Ring=p.Ring,t.ThemeVector=f.ThemeVector,t.ShapeFactory=h.ShapeFactory,t.ShapeParameters=h.ShapeParameters,t.FeatureCircle=h.FeatureCircle,t.Image=h.Image,t.Label=h.Label,t.FeatureLine=h.FeatureLine,t.Point=h.Point,t.FeaturePolygon=h.FeaturePolygon,t.FeatureRectangle=h.FeatureRectangle,t.Sector=h.Sector,t.FeatureTheme=h.FeatureTheme,t.LevelRenderer=y.LevelRenderer,t.Render=y.Render,t.Animation=y.Animation,t.Animator=y.Animator,t.Area=y.Area,t.Clip=y.Clip,t.Color=y.Color,t.ComputeBoundingBox=y.ComputeBoundingBox,t.Config=y.Config,t.LevelRendererCurve=y.LevelRendererCurve,t.Easing=y.Easing,t.Env=y.Env,t.LevelRendererEvent=y.LevelRendererEvent,t.Eventful=y.Eventful,t.Group=y.Group,t.Handler=y.Handler,t.Http=y.Http,t.Log=y.Log,t.Math=y.Math,t.Matrix=y.Matrix,t.Painter=y.Painter,t.PaintLayer=y.PaintLayer,t.Shape=y.Shape,t.SmicBrokenLine=y.SmicBrokenLine,t.SmicCircle=y.SmicCircle,t.SmicEllipse=y.SmicEllipse,t.SmicImage=y.SmicImage,t.SmicIsogon=y.SmicIsogon,t.SmicPoint=y.SmicPoint,t.SmicPolygon=y.SmicPolygon,t.SmicRectangle=y.SmicRectangle,t.SmicRing=y.SmicRing,t.SmicSector=y.SmicSector,t.SmicStar=y.SmicStar,t.SmicText=y.SmicText,t.Storage=y.Storage,t.Transformable=y.Transformable,t.Util=y.Util,t.LevelRendererVector=y.LevelRendererVector,t.SUtil=y.SUtil},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeStyle=void 0;var n=r(0),i=r(1);var o=t.ThemeStyle=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=t||{},this.fill=!0,this.fillColor="#000000",this.fillOpacity=1,this.stroke=!1,this.strokeColor="#000000",this.strokeOpacity=1,this.strokeWidth=1,this.strokeLinecap="butt",this.strokeLineJoin="miter",this.strokeDashstyle="solid",this.pointRadius=6,this.shadowBlur=0,this.shadowColor="#000000",this.shadowOffsetX=0,this.shadowOffsetY=0,this.label="",this.labelRect=!1,this.fontColor="",this.fontSize=12,this.fontStyle="normal",this.fontVariant="normal",this.fontWeight="normal",this.fontFamily="arial,sans-serif",this.labelPosition="top",this.labelAlign="center",this.labelBaseline="middle",this.labelXOffset=0,this.labelYOffset=0,i.Util.extend(this,t)};n.SuperMap.ThemeStyle=o},function(e,t,r){"use strict";(function(t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=9007199254740991,i="[object Arguments]",o="[object Function]",a="[object GeneratorFunction]",s="[object Map]",l="[object Set]",u=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,p="object"==(void 0===t?"undefined":r(t))&&t&&t.Object===Object&&t,f="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,h=p||f||Function("return this")();function y(e,t){return function(e,t){for(var r=-1,n=e?e.length:0,i=Array(n);++r-1&&e%1==0&&e-1&&e%1==0&&e<=n}(e.length)&&!q(e)}function q(e){var t=Q(e)?w.call(e):"";return t==o||t==a}function Q(e){var t=void 0===e?"undefined":r(e);return!!e&&("object"==t||"function"==t)}var Y,X=(Y=function(e){return z(e)?N(e):B(e)},function(e){var t,r,n,i=J(e);return i==s?(t=e,r=-1,n=Array(t.size),t.forEach(function(e,t){n[++r]=[t,e]}),n):i==l?function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=[e,e]}),r}(e):y(e,Y(e))});e.exports=X}).call(this,r(99))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CartoCSS=void 0;var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var r=0;ru&&(l[n]=l[n].slice(r-u),u=r)}function d(e){var i,o,a,s;if(e instanceof Function)return e.call(c.parsers);if("string"==typeof e)i=t.charAt(r)===e?e:null,o=1,y();else{if(y(),!(i=e.exec(l[n])))return null;o=i[0].length}if(i){var p=r+=o;for(s=r+l[n].length-o;r=0&&"\n"!==n.charAt(a);a--)r.column++;return new Error([r.filename,r.line,r.column,r.message].join(";"))}return this.env=e=e||{},this.env.filename=this.env.filename||null,this.env.inputs=this.env.inputs||{},c={parse:function(i){var o,c=null;if(r=n=u=s=0,l=[],t=i.replace(/\r\n/g,"\n"),e.filename&&(p.env.inputs[e.filename]=t),l=function(e){for(var r,n,i,o,a=0,s=/(?:@\{[\w-]+\}|[^"'`\{\}\/\(\)\\])+/g,l=/\/\*(?:[^*]|\*+[^\/*])*\*+\/|\/\/.*/g,u=/"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'|`((?:[^`]|\\.)*)`/g,p=0,f=e[0],h=0;h0?"missing closing `}`":"missing opening `{`"}),e.map(function(e){return e.join("")})}([[]]),c)throw v(c);var f=function(e,t){var r=e.specificity,n=t.specificity;return r[0]!=n[0]?n[0]-r[0]:r[1]!=n[1]?n[1]-r[1]:r[2]!=n[2]?n[2]-r[2]:n[3]-r[3]};return(o=new a.SuperMap.CartoCSS.Tree.Ruleset([],d(this.parsers.primary))).root=!0,o.toList=function(e){e.error=function(t){e.errors||(e.errors=new Error("")),e.errors.message?e.errors.message+="\n"+v(t).message:e.errors.message=v(t).message},e.frames=e.frames||[];var t=this.flatten([],[],e);return t.sort(f),t},o},parsers:{primary:function(){for(var e,t=[];(e=d(this.rule)||d(this.ruleset)||d(this.comment))||d(/^[\s\n]+/)||(e=d(this.invalid));)e&&t.push(e);return t},invalid:function(){var e=d(/^[^;\n]*[;\n]/);if(e)return new a.SuperMap.CartoCSS.Tree.Invalid(e,o)},comment:function(){var e;if("/"===t.charAt(r))return"/"===t.charAt(r+1)?new a.SuperMap.CartoCSS.Tree.Comment(d(/^\/\/.*/),!0):(e=d(/^\/\*(?:[^*]|\*+[^\/*])*\*+\/\n?/))?new a.SuperMap.CartoCSS.Tree.Comment(e):void 0},entities:{quoted:function(){if('"'===t.charAt(r)||"'"===t.charAt(r)){var e=d(/^"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'/);return e?new a.SuperMap.CartoCSS.Tree.Quoted(e[1]||e[2]):void 0}},field:function(){if(d("[")){var e=d(/(^[^\]]+)/);if(d("]"))return e?new a.SuperMap.CartoCSS.Tree.Field(e[1]):void 0}},comparison:function(){var e=d(/^=~|=|!=|<=|>=|<|>/);if(e)return e},keyword:function(){var e=d(/^[A-Za-z\u4e00-\u9fa5-]+[A-Za-z-0-9\u4e00-\u9fa5_]*/);if(e)return new a.SuperMap.CartoCSS.Tree.Keyword(e)},call:function(){var e,t;if(e=/^([\w\-]+|%)\(/.exec(l[n])){if("url"===(e=e[1]))return null;r+=e.length;if(d("("),t=d(this.entities.arguments),d(")"))return e?new a.SuperMap.CartoCSS.Tree.Call(e,t,r):void 0}},arguments:function(){for(var e,t=[];e=d(this.expression);){t.push(e);if(!d(","))break}return t},literal:function(){return d(this.entities.dimension)||d(this.entities.keywordcolor)||d(this.entities.hexcolor)||d(this.entities.quoted)},url:function(){var e;if("u"===t.charAt(r)&&d(/^url\(/)){e=d(this.entities.quoted)||d(this.entities.variable)||d(/^[\-\w%@$\/.&=:;#+?~]+/)||"";return d(")")?new a.SuperMap.CartoCSS.Tree.URL(void 0!==e.value||e instanceof a.SuperMap.CartoCSS.Tree.Variable?e:new a.SuperMap.CartoCSS.Tree.Quoted(e)):new a.SuperMap.CartoCSS.Tree.Invalid(e,o,"Missing closing ) in URL.")}},variable:function(){var n,i=r;if("@"===t.charAt(r)&&(n=d(/^@[\w-]+/)))return new a.SuperMap.CartoCSS.Tree.Variable(n,i,e.filename)},hexcolor:function(){var e;if("#"===t.charAt(r)&&(e=d(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})/)))return new a.SuperMap.CartoCSS.Tree.Color(e[1])},keywordcolor:function(){var e=l[n].match(/^[a-z]+/);if(e&&e[0]in a.SuperMap.CartoCSS.Tree.Reference.data.colors)return new a.SuperMap.CartoCSS.Tree.Color(a.SuperMap.CartoCSS.Tree.Reference.data.colors[d(/^[a-z]+/)])},dimension:function(){var e=t.charCodeAt(r);if(!(e>57||e<45||47===e)){var n=d(/^(-?\d*\.?\d+(?:[eE][-+]?\d+)?)(\%|\w+)?/);return n?new a.SuperMap.CartoCSS.Tree.Dimension(n[1],n[2],o):void 0}}},variable:function(){var e;if("@"===t.charAt(r)&&(e=d(/^(@[\w-]+)\s*:/)))return e[1]},entity:function(){var e=d(this.entities.call)||d(this.entities.literal),t=d(this.entities.field)||d(this.entities.variable),r=d(this.entities.url)||d(this.entities.keyword);return e||t||r},end:function(){var e;return d(";")||("string"==typeof(e="}")?t.charAt(r)===e:!!e.test(l[n]))},element:function(){var e=d(/^(?:[.#][\w\u4e00-\u9fa5\-]+|\*|Map)/);if(e)return new a.SuperMap.CartoCSS.Tree.Element(e)},attachment:function(){var e=d(/^::([\w\-]+(?:\/[\w\-]+)*)/);if(e)return e[1]},selector:function(){for(var e,n,i,s,l,u=[],c=new a.SuperMap.CartoCSS.Tree.Filterset,p=[],f=0,h=0;(i=d(this.element))||(l=d(this.zoom))||(s=d(this.filter))||(e=d(this.attachment));){if(f++,i)u.push(i);else if(l)p.push(l),h++;else if(s){var y=c.add(s);if(y)throw v({message:y,index:r-1});h++}else{if(n)throw v({message:"Encountered second attachment name.",index:r-1});n=e}var m=t.charAt(r);if("{"===m||"}"===m||";"===m||","===m)break}if(f)return new a.SuperMap.CartoCSS.Tree.Selector(c,p,u,n,h,o)},filter:function(){f();var t,r,n;if(d("[")&&(t=d(/^[a-zA-Z0-9\-_]+/)||d(this.entities.quoted)||d(this.entities.variable)||d(this.entities.keyword)||d(this.entities.field))&&(t instanceof a.SuperMap.CartoCSS.Tree.Quoted&&(t=new a.SuperMap.CartoCSS.Tree.Field(t.toString())),(r=d(this.entities.comparison))&&(n=d(this.entities.quoted)||d(this.entities.variable)||d(this.entities.dimension)||d(this.entities.keyword)||d(this.entities.field)))){if(!d("]"))throw v({message:"Missing closing ] of filter.",index:o-1});return t.is||(t=new a.SuperMap.CartoCSS.Tree.Field(t)),new a.SuperMap.CartoCSS.Tree.Filter(t,r,n,o,e.filename)}},zoom:function(){f();var e,t;if(d(/^\[\s*zoom/g)&&(e=d(this.entities.comparison))&&(t=d(this.entities.variable)||d(this.entities.dimension))&&d("]"))return new a.SuperMap.CartoCSS.Tree.Zoom(e,t,o);h()},block:function(){var e;if(d("{")&&(e=d(this.primary))&&d("}"))return e},ruleset:function(){var e,t,r=[];for(f();e=d(this.selector);){for(r.push(e);d(this.comment););if(!d(","))break;for(;d(this.comment););}if(e)for(;d(this.comment););if(r.length>0&&(t=d(this.block))){if(1===r.length&&r[0].elements.length&&"Map"===r[0].elements[0].value){var n=new a.SuperMap.CartoCSS.Tree.Ruleset(r,t);return n.isMap=!0,n}return new a.SuperMap.CartoCSS.Tree.Ruleset(r,t)}h()},rule:function(){var n,i,l=t.charAt(r);if(f(),"."!==l&&"#"!==l&&(n=d(this.variable)||d(this.property))){if((i=d(this.value))&&d(this.end))return new a.SuperMap.CartoCSS.Tree.Rule(n,i,o,e.filename);s=r,h()}},font:function(){for(var e,t=[],r=[];e=d(this.entity);)r.push(e);if(t.push(new a.SuperMap.CartoCSS.Tree.Expression(r)),d(","))for(;(e=d(this.expression))&&(t.push(e),d(",")););return new a.SuperMap.CartoCSS.Tree.Value(t)},value:function(){for(var e,t=[];(e=d(this.expression))&&(t.push(e),d(",")););return t.length>1?new a.SuperMap.CartoCSS.Tree.Value(t.map(function(e){return e.value[0]})):1===t.length?new a.SuperMap.CartoCSS.Tree.Value(t):void 0},sub:function(){var e;if(d("(")&&(e=d(this.expression))&&d(")"))return e},multiplication:function(){var e,t,r,n;if(e=d(this.operand)){for(;(r=d("/")||d("*")||d("%"))&&(t=d(this.operand));)n=new a.SuperMap.CartoCSS.Tree.Operation(r,[n||e,t],o);return n||e}},addition:function(){var e,n,i,s;if(e=d(this.multiplication)){for(;(i=d(/^[-+]\s+/)||" "!=t.charAt(r-1)&&(d("+")||d("-")))&&(n=d(this.multiplication));)s=new a.SuperMap.CartoCSS.Tree.Operation(i,[s||e,n],o);return s||e}},operand:function(){return d(this.sub)||d(this.entity)},expression:function(){for(var e,t=[];e=d(this.addition)||d(this.entity);)t.push(e);if(t.length>0)return new a.SuperMap.CartoCSS.Tree.Expression(t)},property:function(){var e=d(/^(([a-z][-a-z_0-9]*\/)?\*?-?[-a-z_0-9]+)\s*:/);if(e)return e[1]}}}}},{key:"parse",value:function(e){var t=this.parser;return this.ruleSet=t.parse(e)}},{key:"toShaders",value:function(){if(this.ruleSet){var e=this.ruleSet;if(e){var t=e.toList(this.env);t.reverse();var r={},n=[];this._toShaders(r,n,t);for(var i=[],o={},a=0,s=t.length;a=0){if(!t.featureFilter){var o=i+n.length,a=r.indexOf(")",o+1),s="featureId&&(featureId"+r.substring(o,a)+")";Object.defineProperty(t,"featureFilter",{configurable:!0,enumerable:!1,value:function(e){return!!s}})}return{property:h,getValue:Function("attributes","zoom","seftFilter","var _value = null; var isExcute=typeof seftFilter=='function'?sefgFilter():seftFilter;if(isExcute){"+r+";} return _value; ")}}return{property:h,getValue:Function("attributes","zoom","var _value = null;"+r+"; return _value; ")}}(c[h],p);Object.defineProperty(p,"attachment",{configurable:!0,enumerable:!1,value:u}),Object.defineProperty(p,"elements",{configurable:!0,enumerable:!1,value:l.elements}),i.push(p),o[n[a]]=!0}Object.defineProperty(p,"zoom",{configurable:!0,enumerable:!1,value:l.zoom})}return i}}return null}},{key:"_toShaders",value:function(e,t,r){for(var n=0,i=r.length;n= minzoom - 1e-6 and scale < maxzoom + 1e-6"},maxzoom:{"default-value":"1.79769e+308",type:"float","default-meaning":"The layer will be visible at the maximum possible scale",doc:"The maximum scale denominator that this layer will be visible at. The default is the numeric limit of the C++ double type, which may vary slightly by system, but is likely a massive number like 1.79769e+308 and ensures that this layer will always be visible unless the value is reduced. A layer's visibility is determined by whether its status is true and if the Map scale >= minzoom - 1e-6 and scale < maxzoom + 1e-6"},queryable:{"default-value":!1,type:"boolean","default-meaning":"The layer will not be available for the direct querying of data values",doc:"This property was added for GetFeatureInfo/WMS compatibility and is rarely used. It is off by default meaning that in a WMS context the layer will not be able to be queried unless the property is explicitly set to true"},"clear-label-cache":{"default-value":!1,type:"boolean","default-meaning":"The renderer's collision detector cache (used for avoiding duplicate labels and overlapping markers) will not be cleared immediately before processing this layer",doc:"This property, by default off, can be enabled to allow a user to clear the collision detector cache before a given layer is processed. This may be desirable to ensure that a given layers data shows up on the map even if it normally would not because of collisions with previously rendered labels or markers"},"group-by":{"default-value":"",type:"string","default-meaning":"No special layer grouping will be used during rendering",doc:"https://github.com/mapnik/mapnik/wiki/Grouped-rendering"},"buffer-size":{"default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:"Extra tolerance around the Layer extent (in pixels) used to when querying and (potentially) clipping the layer data during rendering"},"maximum-extent":{"default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query this specific layer data during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Layer."}},symbolizers:{"*":{"image-filters":{css:"image-filters","default-value":"none","default-meaning":"no filters",type:"functions",functions:[["agg-stack-blur",2],["emboss",0],["blur",0],["gray",0],["sobel",0],["edge-detect",0],["x-gradient",0],["y-gradient",0],["invert",0],["sharpen",0]],doc:"A list of image filters."},"comp-op":{css:"comp-op","default-value":"src-over","default-meaning":"add the current layer on top of other layers",doc:"Composite operation. This defines how this layer should behave relative to layers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]},opacity:{css:"opacity",type:"float",doc:"An alpha value for the style (which means an alpha applied to all features in separate buffer and then composited back to main buffer)","default-value":1,"default-meaning":"no separate buffer will be used and no alpha will be applied to the style after rendering"}},map:{"background-color":{css:"background-color","default-value":"none","default-meaning":"transparent",type:"color",doc:"Map Background color"},"background-image":{css:"background-image",type:"uri","default-value":"","default-meaning":"transparent",doc:"An image that is repeated below all features on a map as a background.",description:"Map Background image"},srs:{css:"srs",type:"string","default-value":"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs","default-meaning":"The proj4 literal of EPSG:4326 is assumed to be the Map's spatial reference and all data from layers within this map will be plotted using this coordinate system. If any layers do not declare an srs value then they will be assumed to be in the same srs as the Map and not transformations will be needed to plot them in the Map's coordinate space",doc:"Map spatial reference (proj4 string)"},"buffer-size":{css:"buffer-size","default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:'Extra tolerance around the map (in pixels) used to ensure labels crossing tile boundaries are equally rendered in each tile (e.g. cut in each tile). Not intended to be used in combination with "avoid-edges".'},"maximum-extent":{css:"","default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query all layers during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Map."},base:{css:"base","default-value":"","default-meaning":"This base path defaults to an empty string meaning that any relative paths to files referenced in styles or layers will be interpreted relative to the application process.",type:"string",doc:"Any relative paths used to reference files will be understood as relative to this directory path if the map is loaded from an in memory object rather than from the filesystem. If the map is loaded from the filesystem and this option is not provided it will be set to the directory of the stylesheet."},"paths-from-xml":{css:"","default-value":!0,"default-meaning":"Paths read from XML will be interpreted from the location of the XML",type:"boolean",doc:"value to control whether paths in the XML will be interpreted from the location of the XML or from the working directory of the program that calls load_map()"},"minimum-version":{css:"","default-value":"none","default-meaning":"Mapnik version will not be detected and no error will be thrown about compatibility",type:"string",doc:"The minumum Mapnik version (e.g. 0.7.2) needed to use certain functionality in the stylesheet"},"font-directory":{css:"font-directory",type:"uri","default-value":"none","default-meaning":"No map-specific fonts will be registered",doc:"Path to a directory which holds fonts which should be registered when the Map is loaded (in addition to any fonts that may be automatically registered)."}},polygon:{fill:{css:"polygon-fill",type:"color","default-value":"rgba(128,128,128,1)","default-meaning":"gray and fully opaque (alpha = 1), same as rgb(128,128,128)",doc:"Fill color to assign to a polygon"},"fill-opacity":{css:"polygon-opacity",type:"float",doc:"The opacity of the polygon","default-value":1,"default-meaning":"opaque"},gamma:{css:"polygon-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon edges"},"gamma-method":{css:"polygon-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},clip:{css:"polygon-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},line:{stroke:{css:"line-color","default-value":"rgba(0,0,0,1)",type:"color","default-meaning":"black and fully opaque (alpha = 1), same as rgb(0,0,0)",doc:"The color of a drawn line"},"stroke-width":{css:"line-width","default-value":1,type:"float",doc:"The width of a line in pixels"},"stroke-opacity":{css:"line-opacity","default-value":1,type:"float","default-meaning":"opaque",doc:"The opacity of a line"},"stroke-linejoin":{css:"line-join","default-value":"miter",type:["miter","round","bevel"],doc:"The behavior of lines when joining"},"stroke-linecap":{css:"line-cap","default-value":"butt",type:["butt","round","square"],doc:"The display of line endings"},"stroke-gamma":{css:"line-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of stroke line"},"stroke-gamma-method":{css:"line-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},"stroke-dasharray":{css:"line-dasharray",type:"numbers",doc:"A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported for more complex patterns.","default-value":"none","default-meaning":"solid line"},"stroke-dashoffset":{css:"line-dash-offset",type:"numbers",doc:"valid parameter but not currently used in renderers (only exists for experimental svg support in Mapnik which is not yet enabled)","default-value":"none","default-meaning":"solid line"},"stroke-miterlimit":{css:"line-miterlimit",type:"float",doc:"The limit on the ratio of the miter length to the stroke-width. Used to automatically convert miter joins to bevel joins for sharp angles to avoid the miter extending beyond the thickness of the stroking path. Normally will not need to be set, but a larger value can sometimes help avoid jaggy artifacts.","default-value":4,"default-meaning":"Will auto-convert miters to bevel line joins when theta is less than 29 degrees as per the SVG spec: 'miterLength / stroke-width = 1 / sin ( theta / 2 )'"},clip:{css:"line-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},offset:{css:"line-offset",type:"float","default-value":0,"default-meaning":"no offset",doc:"Offsets a line a number of pixels parallel to its actual path. Postive values move the line left, negative values move it right (relative to the directionality of the line)."},rasterizer:{css:"line-rasterizer",type:["full","fast"],"default-value":"full",doc:"Exposes an alternate AGG rendering method that sacrifices some accuracy for speed."},"geometry-transform":{css:"line-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},markers:{file:{css:"marker-file",doc:"An SVG file that this marker shows at each placement. If no file is given, the marker will show an ellipse.","default-value":"","default-meaning":"An ellipse or circle, if width equals height",type:"uri"},opacity:{css:"marker-opacity",doc:"The overall opacity of the marker, if set, overrides both the opacity of both the fill and stroke","default-value":1,"default-meaning":"The stroke-opacity and fill-opacity will be used",type:"float"},"fill-opacity":{css:"marker-fill-opacity",doc:"The fill opacity of the marker","default-value":1,"default-meaning":"opaque",type:"float"},stroke:{css:"marker-line-color",doc:"The color of the stroke around a marker shape.","default-value":"black",type:"color"},"stroke-width":{css:"marker-line-width",doc:"The width of the stroke around a marker shape, in pixels. This is positioned on the boundary, so high values can cover the area itself.",type:"float"},"stroke-opacity":{css:"marker-line-opacity","default-value":1,"default-meaning":"opaque",doc:"The opacity of a line",type:"float"},placement:{css:"marker-placement",type:["point","line","interior"],"default-value":"point","default-meaning":"Place markers at the center point (centroid) of the geometry",doc:"Attempt to place markers on a point, in the center of a polygon, or if markers-placement:line, then multiple times along a line. 'interior' placement can be used to ensure that points placed on polygons are forced to be inside the polygon interior"},"multi-policy":{css:"marker-multi-policy",type:["each","whole","largest"],"default-value":"each","default-meaning":"If a feature contains multiple geometries and the placement type is either point or interior then a marker will be rendered for each",doc:"A special setting to allow the user to control rendering behavior for 'multi-geometries' (when a feature contains multiple geometries). This setting does not apply to markers placed along lines. The 'each' policy is default and means all geometries will get a marker. The 'whole' policy means that the aggregate centroid between all geometries will be used. The 'largest' policy means that only the largest (by bounding box areas) feature will get a rendered marker (this is how text labeling behaves by default)."},"marker-type":{css:"marker-type",type:["arrow","ellipse"],"default-value":"ellipse",doc:"The default marker-type. If a SVG file is not given as the marker-file parameter, the renderer provides either an arrow or an ellipse (a circle if height is equal to width)"},width:{css:"marker-width","default-value":10,doc:"The width of the marker, if using one of the default types.",type:"expression"},height:{css:"marker-height","default-value":10,doc:"The height of the marker, if using one of the default types.",type:"expression"},fill:{css:"marker-fill","default-value":"blue",doc:"The color of the area of the marker.",type:"color"},"allow-overlap":{css:"marker-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping markers are shown or hidden.","default-meaning":"Do not allow makers to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"marker-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},spacing:{css:"marker-spacing",doc:"Space between repeated labels","default-value":100,type:"float"},"max-error":{css:"marker-max-error",type:"float","default-value":.2,doc:"The maximum difference between actual marker placement and the marker-spacing parameter. Setting a high value can allow the renderer to try to resolve placement conflicts with other symbolizers."},transform:{css:"marker-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},clip:{css:"marker-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"marker-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"marker-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"marker-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},shield:{name:{css:"shield-name",type:"expression",serialization:"content",doc:'Value to use for a shield"s text label. Data columns are specified using brackets like [column_name]'},file:{css:"shield-file",required:!0,type:"uri","default-value":"none",doc:"Image file to render behind the shield text"},"face-name":{css:"shield-face-name",type:"string",validate:"font",doc:"Font name and style to use for the shield text","default-value":"",required:!0},"unlock-image":{css:"shield-unlock-image",type:"boolean",doc:"This parameter should be set to true if you are trying to position text beside rather than on top of the shield image","default-value":!1,"default-meaning":"text alignment relative to the shield image uses the center of the image as the anchor for text positioning."},size:{css:"shield-size",type:"float",doc:"The size of the shield text in pixels"},fill:{css:"shield-fill",type:"color",doc:"The color of the shield text"},placement:{css:"shield-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"How this shield should be placed. Point placement attempts to place it on top of points, line places along lines multiple times per feature, vertex places on the vertexes of polygons, and interior attempts to place inside of polygons."},"avoid-edges":{css:"shield-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.",type:"boolean","default-value":!1},"allow-overlap":{css:"shield-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping shields are shown or hidden.","default-meaning":"Do not allow shields to overlap with other map elements already placed."},"minimum-distance":{css:"shield-min-distance",type:"float","default-value":0,doc:"Minimum distance to the next shield symbol, not necessarily the same shield."},spacing:{css:"shield-spacing",type:"float","default-value":0,doc:"The spacing between repeated occurrences of the same shield on a line"},"minimum-padding":{css:"shield-min-padding","default-value":0,doc:"Determines the minimum amount of padding that a shield gets relative to other shields",type:"float"},"wrap-width":{css:"shield-wrap-width",type:"unsigned","default-value":0,doc:"Length of a chunk of text in characters before wrapping text"},"wrap-before":{css:"shield-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"shield-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long names."},"halo-fill":{css:"shield-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"shield-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},"character-spacing":{css:"shield-character-spacing",type:"unsigned","default-value":0,doc:"Horizontal spacing between characters (in pixels). Currently works for point placement only, not line placement."},"line-spacing":{css:"shield-line-spacing",doc:"Vertical spacing between lines of multiline labels (in pixels)",type:"unsigned"},dx:{css:"shield-text-dx",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"shield-text-dy",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"shield-dx":{css:"shield-dx",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},"shield-dy":{css:"shield-dy",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},opacity:{css:"shield-opacity",type:"float",doc:"(Default 1.0) - opacity of the image used for the shield","default-value":1},"text-opacity":{css:"shield-text-opacity",type:"float",doc:"(Default 1.0) - opacity of the text placed on top of the shield","default-value":1},"horizontal-alignment":{css:"shield-horizontal-alignment",type:["left","middle","right","auto"],doc:"The shield's horizontal alignment from its centerpoint","default-value":"auto"},"vertical-alignment":{css:"shield-vertical-alignment",type:["top","middle","bottom","auto"],doc:"The shield's vertical alignment from its centerpoint","default-value":"middle"},"text-transform":{css:"shield-text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"justify-alignment":{css:"shield-justify-alignment",type:["left","center","right","auto"],doc:"Define how text in a shield's label is justified","default-value":"auto"},clip:{css:"shield-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"shield-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"line-pattern":{file:{css:"line-pattern-file",type:"uri","default-value":"none",required:!0,doc:"An image file to be repeated and warped along a line"},clip:{css:"line-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"line-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"polygon-pattern":{file:{css:"polygon-pattern-file",type:"uri","default-value":"none",required:!0,doc:"Image to use as a repeated pattern fill within a polygon"},alignment:{css:"polygon-pattern-alignment",type:["local","global"],"default-value":"local",doc:"Specify whether to align pattern fills to the layer or to the map."},gamma:{css:"polygon-pattern-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon pattern edges"},opacity:{css:"polygon-pattern-opacity",type:"float",doc:"(Default 1.0) - Apply an opacity level to the image used for the pattern","default-value":1,"default-meaning":"The image is rendered without modifications"},clip:{css:"polygon-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},raster:{opacity:{css:"raster-opacity","default-value":1,"default-meaning":"opaque",type:"float",doc:"The opacity of the raster symbolizer on top of other symbolizers."},"filter-factor":{css:"raster-filter-factor","default-value":-1,"default-meaning":"Allow the datasource to choose appropriate downscaling.",type:"float",doc:"This is used by the Raster or Gdal datasources to pre-downscale images using overviews. Higher numbers can sometimes cause much better scaled image output, at the cost of speed."},scaling:{css:"raster-scaling",type:["near","fast","bilinear","bilinear8","bicubic","spline16","spline36","hanning","hamming","hermite","kaiser","quadric","catrom","gaussian","bessel","mitchell","sinc","lanczos","blackman"],"default-value":"near",doc:"The scaling algorithm used to making different resolution versions of this raster layer. Bilinear is a good compromise between speed and accuracy, while lanczos gives the highest quality."},"mesh-size":{css:"raster-mesh-size","default-value":16,"default-meaning":"Reprojection mesh will be 1/16 of the resolution of the source image",type:"unsigned",doc:"A reduced resolution mesh is used for raster reprojection, and the total image size is divided by the mesh-size to determine the quality of that mesh. Values for mesh-size larger than the default will result in faster reprojection but might lead to distortion."},"comp-op":{css:"raster-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},point:{file:{css:"point-file",type:"uri",required:!1,"default-value":"none",doc:"Image file to represent a point"},"allow-overlap":{css:"point-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping points are shown or hidden.","default-meaning":"Do not allow points to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"point-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},opacity:{css:"point-opacity",type:"float","default-value":1,"default-meaning":"Fully opaque",doc:"A value from 0 to 1 to control the opacity of the point"},placement:{css:"point-placement",type:["centroid","interior"],doc:"How this point should be placed. Centroid calculates the geometric center of a polygon, which can be outside of it, while interior always places inside of a polygon.","default-value":"centroid"},transform:{css:"point-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},"comp-op":{css:"point-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},text:{name:{css:"text-name",type:"expression",required:!0,"default-value":"",serialization:"content",doc:"Value to use for a text label. Data columns are specified using brackets like [column_name]"},"face-name":{css:"text-face-name",type:"string",validate:"font",doc:"Font name and style to render a label in",required:!0},size:{css:"text-size",type:"float","default-value":10,doc:"Text size in pixels"},"text-ratio":{css:"text-ratio",doc:"Define the amount of text (of the total) present on successive lines when wrapping occurs","default-value":0,type:"unsigned"},"wrap-width":{css:"text-wrap-width",doc:"Length of a chunk of text in characters before wrapping text","default-value":0,type:"unsigned"},"wrap-before":{css:"text-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"text-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long text."},spacing:{css:"text-spacing",type:"unsigned",doc:"Distance between repeated text labels on a line (aka. label-spacing)"},"character-spacing":{css:"text-character-spacing",type:"float","default-value":0,doc:"Horizontal spacing adjustment between characters in pixels"},"line-spacing":{css:"text-line-spacing","default-value":0,type:"unsigned",doc:"Vertical spacing adjustment between lines in pixels"},"label-position-tolerance":{css:"text-label-position-tolerance","default-value":0,type:"unsigned",doc:"Allows the label to be displaced from its ideal position by a number of pixels (only works with placement:line)"},"max-char-angle-delta":{css:"text-max-char-angle-delta",type:"float","default-value":"22.5",doc:"The maximum angle change, in degrees, allowed between adjacent characters in a label. This value internally is converted to radians to the default is 22.5*math.pi/180.0. The higher the value the fewer labels will be placed around around sharp corners."},fill:{css:"text-fill",doc:"Specifies the color for the text","default-value":"#000000",type:"color"},opacity:{css:"text-opacity",doc:"A number from 0 to 1 specifying the opacity for the text","default-value":1,"default-meaning":"Fully opaque",type:"float"},"halo-fill":{css:"text-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"text-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},dx:{css:"text-dx",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"text-dy",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"vertical-alignment":{css:"text-vertical-alignment",type:["top","middle","bottom","auto"],doc:"Position of label relative to point position.","default-value":"auto","default-meaning":'Default affected by value of dy; "bottom" for dy>0, "top" for dy<0.'},"avoid-edges":{css:"text-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.","default-value":!1,type:"boolean"},"minimum-distance":{css:"text-min-distance",doc:"Minimum permitted distance to the next text symbolizer.",type:"float"},"minimum-padding":{css:"text-min-padding",doc:"Determines the minimum amount of padding that a text symbolizer gets relative to other text",type:"float"},"minimum-path-length":{css:"text-min-path-length",type:"float","default-value":0,"default-meaning":"place labels on all paths",doc:"Place labels only on paths longer than this value."},"allow-overlap":{css:"text-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping text is shown or hidden.","default-meaning":"Do not allow text to overlap with other text - overlapping markers will not be shown."},orientation:{css:"text-orientation",type:"expression",doc:"Rotate the text."},placement:{css:"text-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"Control the style of placement of a point versus the geometry it is attached to."},"placement-type":{css:"text-placement-type",doc:'Re-position and/or re-size text to avoid overlaps. "simple" for basic algorithm (using text-placements string,) "dummy" to turn this feature off.',type:["dummy","simple"],"default-value":"dummy"},placements:{css:"text-placements",type:"string","default-value":"",doc:'If "placement-type" is set to "simple", use this "POSITIONS,[SIZES]" string. An example is `text-placements: "E,NE,SE,W,NW,SW";` '},"text-transform":{css:"text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"horizontal-alignment":{css:"text-horizontal-alignment",type:["left","middle","right","auto"],doc:"The text's horizontal alignment from its centerpoint","default-value":"auto"},"justify-alignment":{css:"text-align",type:["left","right","center","auto"],doc:"Define how text is justified","default-value":"auto","default-meaning":"Auto alignment means that text will be centered by default except when using the `placement-type` parameter - in that case either right or left justification will be used automatically depending on where the text could be fit given the `text-placements` directives"},clip:{css:"text-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"text-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},building:{fill:{css:"building-fill","default-value":"#FFFFFF",doc:"The color of the buildings walls.",type:"color"},"fill-opacity":{css:"building-fill-opacity",type:"float",doc:"The opacity of the building as a whole, including all walls.","default-value":1},height:{css:"building-height",doc:"The height of the building in pixels.",type:"expression","default-value":"0"}}},colors:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50],transparent:[0,0,0,0]},filter:{value:["true","false","null","point","linestring","polygon","collection"]}},c.mapnik_reference={version:{latest:a.SuperMap._mapnik_reference_latest,"2.1.1":a.SuperMap._mapnik_reference_latest}},a.SuperMap.CartoCSS=c,a.SuperMap.CartoCSS.Tree={},a.SuperMap.CartoCSS.Tree.operate=function(e,t,r){switch(e){case"+":return t+r;case"-":return t-r;case"*":return t*r;case"%":return t%r;case"/":return t/r}},a.SuperMap.CartoCSS.Tree.functions={rgb:function(e,t,r){return this.rgba(e,t,r,1)},rgba:function(e,t,r,n){var i=this,o=[e,t,r].map(function(e){return i.number(e)});return n=i.number(n),o.some(isNaN)||isNaN(n)?null:new a.SuperMap.CartoCSS.Tree.Color(o,n)},stop:function(e){var t,r;return arguments.length>1&&(t=arguments[1]),arguments.length>2&&(r=arguments[2]),{is:"tag",val:e,color:t,mode:r,toString:function(n){return'\n\t"}}},hsl:function(e,t,r){return this.hsla(e,t,r,1)},hsla:function(e,t,r,n){if([e=this.number(e)%360/360,t=this.number(t),r=this.number(r),n=this.number(n)].some(isNaN))return null;var i=r<=.5?r*(t+1):r+t-r*t,o=2*r-i;return this.rgba(255*a(e+1/3),255*a(e),255*a(e-1/3),n);function a(e){return 6*(e=e<0?e+1:e>1?e-1:e)<1?o+(i-o)*e*6:2*e<1?i:3*e<2?o+(i-o)*(2/3-e)*6:o}},hue:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(Math.round(e.toHSL().h)):null},saturation:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().s),"%"):null},lightness:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().l),"%"):null},alpha:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(e.toHSL().a):null},saturate:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.s+=t.value/100,r.s=this.clamp(r.s),this.hsla_simple(r)},desaturate:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.s-=t.value/100,r.s=this.clamp(r.s),this.hsla_simple(r)},lighten:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.l+=t.value/100,r.l=this.clamp(r.l),this.hsla_simple(r)},darken:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.l-=t.value/100,r.l=this.clamp(r.l),this.hsla_simple(r)},fadein:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.a+=t.value/100,r.a=this.clamp(r.a),this.hsla_simple(r)},fadeout:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.a-=t.value/100,r.a=this.clamp(r.a),this.hsla_simple(r)},spin:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL(),n=(r.h+t.value)%360;return r.h=n<0?360+n:n,this.hsla_simple(r)},replace:function(e,t,r){return"field"===e.is?e.toString+".replace("+t.toString()+", "+r.toString()+")":e.replace(t,r)},mix:function(e,t,r){var n=r.value/100,i=2*n-1,o=e.toHSL().a-t.toHSL().a,s=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,l=1-s,u=[e.rgb[0]*s+t.rgb[0]*l,e.rgb[1]*s+t.rgb[1]*l,e.rgb[2]*s+t.rgb[2]*l],c=e.alpha*n+t.alpha*(1-n);return new a.SuperMap.CartoCSS.Tree.Color(u,c)},greyscale:function(e){return this.desaturate(e,new a.SuperMap.CartoCSS.Tree.Dimension(100))},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),r=e.value,n=0;n.5?u/(2-a-s):u/(a+s),a){case r:e=(n-i)/u+(n=0){if(!e.ppi)return e.error({message:"ppi is not set, so metric units can't be used",index:this.index}),{is:"undefined",value:"undefined"};this.value=this.value/this.densities[this.unit]*e.ppi,this.unit="px"}return this}},{key:"toColor",value:function(){return new a.SuperMap.CartoCSS.Tree.Color([this.value,this.value,this.value])}},{key:"round",value:function(){return this.value=Math.round(this.value),this}},{key:"toString",value:function(){return this.value.toString()}},{key:"operate",value:function(e,t,r){return"%"===this.unit&&"%"!==r.unit?(e.error({message:"If two operands differ, the first must not be %",index:this.index}),{is:"undefined",value:"undefined"}):"%"!==this.unit&&"%"===r.unit?"*"===t||"/"===t||"%"===t?(e.error({message:"Percent values can only be added or subtracted from other values",index:this.index}),{is:"undefined",value:"undefined"}):new a.SuperMap.CartoCSS.Tree.Dimension(a.SuperMap.CartoCSS.Tree.operate(t,this.value,this.value*r.value*.01),this.unit):new a.SuperMap.CartoCSS.Tree.Dimension(a.SuperMap.CartoCSS.Tree.operate(t,this.value,r.value),this.unit||r.unit)}}]),e}(),a.SuperMap.CartoCSS.Tree.Element=function(){function e(t){u(this,e),this.value=t.trim(),"#"===this.value[0]&&(this.type="id",this.clean=this.value.replace(/^#/,"")),"."===this.value[0]&&(this.type="class",this.clean=this.value.replace(/^\./,"")),-1!==this.value.indexOf("*")&&(this.type="wildcard")}return o(e,[{key:"specificity",value:function(){return["id"===this.type?1:0,"class"===this.type?1:0]}},{key:"toString",value:function(){return this.value}}]),e}(),a.SuperMap.CartoCSS.Tree.Expression=function(){function e(t){u(this,e),this.is="expression",this.value=t}return o(e,[{key:"ev",value:function(e){return this.value.length>1?new a.SuperMap.CartoCSS.Tree.Expression(this.value.map(function(t){return t.ev(e)})):this.value[0].ev(e)}},{key:"toString",value:function(e){return this.value.map(function(t){return t.toString(e)}).join(" ")}}]),e}(),a.SuperMap.CartoCSS.Tree.Field=function(){function e(t){u(this,e),this.is="field",this.value=t||""}return o(e,[{key:"toString",value:function(){return'["'+this.value.toUpperCase()+'"]'}},{key:"ev",value:function(){return this}}]),e}(),a.SuperMap.CartoCSS.Tree.Filter=function(){function e(t,r,n,i,o){u(this,e),this.ops={"<":[" < ","numeric"],">":[" > ","numeric"],"=":[" = ","both"],"!=":[" != ","both"],"<=":[" <= ","numeric"],">=":[" >= ","numeric"],"=~":[".match(","string",")"]},this.key=t,this.op=r,this.val=n,this.index=i,this.filename=o,this.id=this.key+this.op+this.val}return o(e,[{key:"ev",value:function(e){return this.key=this.key.ev(e),this.val=this.val.ev(e),this}},{key:"toString",value:function(){return"["+this.id+"]"}}]),e}(),a.SuperMap.CartoCSS.Tree.Filterset=function(){function e(){u(this,e),this.filters={}}return o(e,[{key:"toJS",value:function(e){function t(e){var t=e.op;"="===t&&(t="==");var r=e.val;void 0!==e._val&&(r=e._val.toString(!0)),e.key&&"scale"===e.key.value?r=+r:"string"!=typeof r&&"object"!==(void 0===r?"undefined":i(r))||(r="'"+r+"'");var n="attributes";return n+"&&"+n+e.key+"&&"+n+e.key+" "+t+r}var r=[];for(var n in this.filters)r.push(t(this.filters[n]));return r.join(" && ")}},{key:"toString",value:function(){var e=[];for(var t in this.filters)e.push(this.filters[t].id);return e.sort().join("\t")}},{key:"ev",value:function(e){for(var t in this.filters)this.filters[t].ev(e);return this}},{key:"clone",value:function(){var e=new a.SuperMap.CartoCSS.Tree.Filterset;for(var t in this.filters)e.filters[t]=this.filters[t];return e}},{key:"cloneWith",value:function(e){var t=[];for(var r in e.filters){var n=this.addable(e.filters[r]);if(!1===n)return!1;!0===n&&t.push(e.filters[r])}if(!t.length)return null;var i=new a.SuperMap.CartoCSS.Tree.Filterset;for(r in this.filters)i.filters[r]=this.filters[r];for(;r=t.shift();)i.add(r);return i}},{key:"addable",value:function(e){var t=e.key.toString(),r=e.val.toString();switch(r.match(/^[0-9]+(\.[0-9]*)?$/)&&(r=parseFloat(r)),e.op){case"=":return void 0!==this.filters[t+"="]?this.filters[t+"="].val.toString()==r&&null:void 0===this.filters[t+"!="+r]&&(!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)&&!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val"]&&this.filters[t+">"].val>=r?null:void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val":return t+"="in this.filters?!(this.filters[t+"="].val<=r)&&null:!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r)&&(!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=r)&&(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)||null));case">=":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val"]&&this.filters[t+">"].val>=r?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=r)||null));case"<":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val>=r)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=r)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].valr)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=r)||null))}}},{key:"conflict",value:function(e){var t=e.key.toString(),r=e.val.toString();return isNaN(parseFloat(r))||(r=parseFloat(r)),("="===e.op&&void 0!==this.filters[t+"="]&&r!=this.filters[t+"="].val.toString()||"!="===e.op&&void 0!==this.filters[t+"="]&&r==this.filters[t+"="].val.toString()||"="===e.op&&void 0!==this.filters[t+"!="]&&r===this.filters[t+"!="].val.toString())&&e.toString()+" added to "+this.toString()+" produces an invalid filter"}},{key:"add",value:function(e,t){var r,n=e.key.toString(),i=e.op,o=this.conflict(e);if(o)return o;if("="===i){for(var a in this.filters)this.filters[a].key===n&&delete this.filters[a];this.filters[n+"="]=e}else if("!="===i)this.filters[n+"!="+e.val]=e;else if("=~"===i)this.filters[n+"=~"+e.val]=e;else if(">"===i){for(var s in this.filters)this.filters[s].key===n&&this.filters[s].val<=e.val&&delete this.filters[s];this.filters[n+">"]=e}else if(">="===i){for(var l in this.filters)r=+this.filters[l].val.toString(),this.filters[l].key===n&&r",this.filters[n+">"]=e):this.filters[n+">="]=e}else if("<"===i){for(var u in this.filters)r=+this.filters[u].val.toString(),this.filters[u].key===n&&r>=e.val&&delete this.filters[u];this.filters[n+"<"]=e}else if("<="===i){for(var c in this.filters)r=+this.filters[c].val.toString(),this.filters[c].key===n&&r>e.val&&delete this.filters[c];void 0!==this.filters[n+"!="+e.val]?(delete this.filters[n+"!="+e.val],e.op="<",this.filters[n+"<"]=e):this.filters[n+"<="]=e}}}]),e}(),a.SuperMap.CartoCSS.Tree.Fontset=function e(t,r){u(this,e),this.fonts=r,this.name="fontset-"+t.effects.length},a.SuperMap.CartoCSS.Tree.Invalid=function(){function e(t,r,n){u(this,e),this.is="invalid",this.chunk=t,this.index=r,this.type="syntax",this.message=n||"Invalid code: "+this.chunk}return o(e,[{key:"ev",value:function(e){return e.error({chunk:this.chunk,index:this.index,type:"syntax",message:this.message||"Invalid code: "+this.chunk}),{is:"undefined"}}}]),e}(),a.SuperMap.CartoCSS.Tree.Keyword=function(){function e(t){u(this,e),this.value=t;var r={transparent:"color",true:"boolean",false:"boolean"};this.is=r[t]?r[t]:"keyword"}return o(e,[{key:"ev",value:function(){return this}}]),o(e,[{key:"toString",value:function(){return this.value}}]),e}(),a.SuperMap.CartoCSS.Tree.Literal=function(){function e(t){u(this,e),this.value=t||"",this.is="field"}return o(e,[{key:"toString",value:function(){return this.value}},{key:"ev",value:function(){return this}}]),e}(),a.SuperMap.CartoCSS.Tree.Operation=function(){function e(t,r,n){u(this,e),this.is="operation",this.op=t.trim(),this.operands=r,this.index=n}return o(e,[{key:"ev",value:function(e){var t,r=this.operands[0].ev(e),n=this.operands[1].ev(e);return"undefined"===r.is||"undefined"===n.is?{is:"undefined",value:"undefined"}:(r instanceof a.SuperMap.CartoCSS.Tree.Dimension&&n instanceof a.SuperMap.CartoCSS.Tree.Color&&("*"===this.op||"+"===this.op?(t=n,n=r,r=t):e.error({name:"OperationError",message:"Can't substract or divide a color from a number",index:this.index})),r instanceof a.SuperMap.CartoCSS.Tree.Quoted&&n instanceof a.SuperMap.CartoCSS.Tree.Quoted&&"+"!==this.op?(e.error({message:"Can't subtract, divide, or multiply strings.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):r instanceof a.SuperMap.CartoCSS.Tree.Field||n instanceof a.SuperMap.CartoCSS.Tree.Field||r instanceof a.SuperMap.CartoCSS.Tree.Literal||n instanceof a.SuperMap.CartoCSS.Tree.Literal?"color"===r.is||"color"===n.is?(e.error({message:"Can't subtract, divide, or multiply colors in expressions.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):new a.SuperMap.CartoCSS.Tree.Literal(r.ev(e).toString(!0)+this.op+n.ev(e).toString(!0)):void 0===r.operate?(e.error({message:"Cannot do math with type "+r.is+".",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):r.operate(e,this.op,n))}}]),e}(),a.SuperMap.CartoCSS.Tree.Quoted=function(){function e(t){u(this,e),this.is="string",this.value=t||""}return o(e,[{key:"toString",value:function(e){var t=this.value.replace(/&/g,"&"),r=t.replace(/\'/g,"\\'").replace(/\"/g,""").replace(//g,">");return!0===e?"'"+r+"'":t}},{key:"ev",value:function(){return this}},{key:"operate",value:function(e,t,r){return new a.SuperMap.CartoCSS.Tree.Quoted(a.SuperMap.CartoCSS.Tree.operate(t,this.toString(),r.toString(this.contains_field)))}}]),e}(),a.SuperMap.CartoCSS.Tree.Reference={_validateValue:{font:function(e,t){return!e.validation_data||!e.validation_data.fonts||-1!=e.validation_data.fonts.indexOf(t)}},setData:function(e){this.data=e,this.selector_cache=function(e){var t={};for(var r in e.symbolizers)for(var n in e.symbolizers[r])e.symbolizers[r][n].hasOwnProperty("css")&&(t[e.symbolizers[r][n].css]=[e.symbolizers[r][n],r,n]);return t}(e),this.mapnikFunctions=function(e){var t={};for(var r in e.symbolizers)for(var n in e.symbolizers[r])if("functions"===e.symbolizers[r][n].type)for(var i=0;i1?Array.prototype.push.apply(r,n.find(new a.SuperMap.CartoCSS.Tree.Selector(null,null,e.elements.slice(1)),t)):r.push(n);break}}),this._lookups[n]=r)}},{key:"evZooms",value:function(e){for(var t=0;ta.SuperMap.CartoCSS.Tree.Zoom.maxZoom||t<0)&&e.error({message:"Only zoom levels between 0 and "+a.SuperMap.CartoCSS.Tree.Zoom.maxZoom+" supported.",index:this.index}),this.op){case"=":return this.zoom="zoom && zoom === "+t,this;case">":this.zoom="zoom && zoom > "+t;break;case">=":this.zoom="zoom && zoom >= "+t;break;case"<":this.zoom="zoom && zoom < "+t;break;case"<=":this.zoom="zoom && zoom <= "+t;break;default:return this}return this}},{key:"toString",value:function(){for(var e="",t=0;t<=a.SuperMap.CartoCSS.Tree.Zoom.maxZoom;t++)e+=this.zoom&1<t.geoFence.radius&&(t.outOfGeoFence&&t.outOfGeoFence(e),t.events.triggerEvent("outOfGeoFence",{data:e})),r})}},{key:"_distance",value:function(e,t,r,n){return Math.sqrt((e-r)*(e-r)+(t-n)*(t-n))}},{key:"_getMeterPerMapUnit",value:function(e){var t=void 0;return"meter"===e?t=1:"degree"===e&&(t=2*Math.PI*6378137/360),t}}]),e}();o.SuperMap.ElasticSearch=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElasticSearch=void 0;var n=r(311);t.ElasticSearch=n.ElasticSearch},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElasticSearch=void 0;var n=r(312);t.ElasticSearch=n.ElasticSearch},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenServiceParameter=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(1===i.length?r+="'displayFilter':\""+i[0]+'",':r+="'displayFilter':\""+i[s]+'",'),(a=e.displayOrderBy)&&a.length>0&&(1===a.length?r+="'displayOrderBy':'"+a[0]+"',":r+="'displayOrderBy':'"+a[s]+"',"),(t=e.fieldValuesDisplayFilter)&&(r+="'fieldValuesDisplayFilter':"+o.Util.toJSON(t)+","),e.joinItems&&e.joinItems.length>0&&e.joinItems[s]&&(r+="'joinItems':["+o.Util.toJSON(e.joinItems[s])+"],"),e.datasetNames&&e.dataSourceNames){var u=e.datasetNames[s]?s:e.datasetNames.length-1,c=e.dataSourceNames[s]?s:e.dataSourceNames.length-1;r+="'datasetInfo': {'name': '"+e.datasetNames[u]+"','dataSourceName': '"+e.dataSourceNames[c]+"'}},"}else r+="},"}e.themes&&e.themes.length>0&&(r=r.substring(0,r.length-1)),r+="]},";var p=this.url.split("/");return r+="'name': '"+p[p.length-2]+"'}]"}}]),t}();i.SuperMap.ThemeService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeLabelUniqueItem=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(n+='"subLayers":'+e.toJSON()),n+=',"visible":true,',n+='"name":"'+this.getMapName(this.mapUrl)+'"',n+="}]",t.request({method:"PUT",data:n,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}}},{key:"createTempLayerComplete",value:function(e){(e=o.Util.transformResult(e)).succeed&&(this.lastparams.resourceID=e.newResourceID),this.processAsync(this.lastparams)}},{key:"getMapName",value:function(e){var t=e;"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1));var r=t.lastIndexOf("/");return t.substring(r+1,t.length)}},{key:"serviceProcessCompleted",value:function(e){null!=(e=o.Util.transformResult(e))&&null!=this.lastparams&&(e.newResourceID=this.lastparams.resourceID),this.events.triggerEvent("processCompleted",{result:e})}}]),t}();i.SuperMap.SetLayerStatusService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetLayersInfoService=void 0;var n=function(){function e(e,t){for(var r=0;r=200&&e.code<300||0==e.code||304===e.code,r=e.code&&t;!e.code||r?this.events&&this.events.triggerEvent("processCompleted",{result:e}):this.events.triggerEvent("processFailed",{error:e})}}]),t}();i.SuperMap.MapService=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KernelDensityJobsService=void 0;var n=function(){function e(e,t){for(var r=0;r0?e[0].subLayers.layers:null)?t.length:0,this.handleLayers(r,t),this.events.triggerEvent("processCompleted",{result:e[0]})}},{key:"handleLayers",value:function(e,t){var r;if(e)for(var n=0;n0)this.handleLayers(t[n].subLayers.layers.length,t[n].subLayers.layers);else switch(t[n].ugcLayerType){case"THEME":(r=new s.ServerTheme).fromJson(t[n]),t[n]=r;break;case"GRID":(r=new l.Grid).fromJson(t[n]),t[n]=r;break;case"IMAGE":(r=new u.UGCImage).fromJson(t[n]),t[n]=r;break;case"VECTOR":(r=new c.Vector).fromJson(t[n]),t[n]=r}}}}]),t}();i.SuperMap.GetLayersInfoService=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetGridCellInfosService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(t+=","),t+='{"x":'+i[r].x+',"y":'+i[r].y+"}";o+=t+="]"}else if(1==e.isAnalyzeById){for(var a="[",s=e.nodes,l=s.length,u=0;u0&&(a+=","),a+=s[u];o+=a+="]"}return o}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.tspPathList)return null;var t=new s.GeoJSON;return e.tspPathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}]),t}();i.SuperMap.FindTSPPathsService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindServiceAreasService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.serviceAreaList)return e;var t=new l.GeoJSON;return e.serviceAreaList.map(function(e){return e.serviceRegion&&(e.serviceRegion=JSON.parse(t.write(e.serviceRegion))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e.routes&&(e.routes=JSON.parse(t.write(e.routes))),e}),e}}]),t}();i.SuperMap.FindServiceAreasService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindPathService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.pathList||e.pathList.length<1)return null;var t=new l.GeoJSON;return e.pathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}]),t}();i.SuperMap.FindPathService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindMTSPPathsService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.pathList)return null;var t=new l.GeoJSON;return e.pathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}]),t}();i.SuperMap.FindMTSPPathsService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindLocationService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(t+=","),t+=o.Util.toJSON(e[n]);return t+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e)return null;var t=new l.GeoJSON;return e.demandResults&&(e.demandResults=JSON.parse(t.write(e.demandResults))),e.supplyResults&&(e.supplyResults=JSON.parse(t.write(e.supplyResults))),e}}]),t}();i.SuperMap.FindLocationService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindClosestFacilitiesService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.facilityPathList)return e;var t=new a.GeoJSON;return e.facilityPathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}]),t}();i.SuperMap.FindClosestFacilitiesService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FieldStatisticService=void 0;var n=function(){function e(e,t){for(var r=0;r0){var t=JSON.parse(e.data);return e.filterParam=t,e.eventType="setFilterParamSuccessed",void this.events.triggerEvent("setFilterParamSuccessed",e)}var r=JSON.parse(e.data);e.featureResult=r,e.eventType="messageSuccessed",this.events.triggerEvent("messageSuccessed",e)}},{key:"_connect",value:function(e){return e=this._appendCredentials(e),"WebSocket"in window?new WebSocket(e):"MozWebSocket"in window?new(0,window.MozWebSocket)(e):(console.log("no WebSocket"),null)}},{key:"_appendCredentials",value:function(e){var t=s.SecurityManager.getToken(e);return t&&(e+="?token="+t),e}}]),t}();i.SuperMap.DataFlowService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComputeWeightMatrixService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}}]),t}();i.SuperMap.ComputeWeightMatrixService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChartQueryService=void 0;var n=function(){function e(e,t){for(var r=0;r599){if(l)return;return l=!0,void i(new TypeError("Network request failed"))}var t={status:e,statusText:a.statusText,headers:function(e){var t=new s;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var r=e.trim().split(":"),n=r.shift().trim(),i=r.join(":").trim();t.append(n,i)}),t}(a),url:"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0},r="response"in a?a.response:a.responseText;l||(l=!0,n(new y(r,t)))}}a.onreadystatechange=u,a.onload=u,a.onerror=function(){l||(l=!0,i(new TypeError("Network request failed")))},a.open(o.method,o.url,!0);try{"include"===o.credentials&&("withCredentials"in a?a.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(e){console&&console.warn&&console.warn("set withCredentials error:"+e)}"responseType"in a&&r.blob&&(a.responseType="blob"),o.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send(void 0===o._bodyInit?null:o._bodyInit)})},t.fetch.polyfill=!0,void 0!==e&&e.exports&&(e.exports=t.fetch)}function o(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function s(e){this.map={},e instanceof s?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function l(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function u(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function c(e){var t=new FileReader;return t.readAsArrayBuffer(e),u(t)}function p(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(r.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(r.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!r.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},r.blob?(this.blob=function(){var e=l(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(c)},this.text=function(){var e,t,r,n,i,o,a,s=l(this);if(s)return s;if(this._bodyBlob)return e=this._bodyBlob,t=this._options,r=new FileReader,n=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",i=/charset\=[0-9a-zA-Z\-\_]*;?/,o=e.type.match(i)||n.match(i),a=[e],o&&a.push(o[0].replace(/^charset\=/,"").replace(/;$/,"")),r.readAsText.apply(r,a),u(r);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=l(this);return e||Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(h)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(e,t){var r,i,o=(t=t||{}).body;if(f.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,o||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=(r=t.method||this.method||"GET",i=r.toUpperCase(),n.indexOf(i)>-1?i:r),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o,t)}function h(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof s?t.headers:new s(t.headers),this.url=t.url||""}}("undefined"!=typeof self?self:void 0)},function(e,t,r){"use strict";var n,i,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var u,c=[],p=!1,f=-1;function h(){p&&u&&(p=!1,u.length?c=u.concat(c):f=-1,c.length&&y())}function y(){if(!p){var e=l(h);p=!0;for(var t=c.length;t;){for(u=c,c=[];++f1)for(var r=1;r=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r(401),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||void 0,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||void 0}).call(this,r(99))},function(e,t,r){"use strict";(function(t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(n){var i=setTimeout;function o(){}function a(e){if("object"!==r(this))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],p(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,a._immediateFn(function(){var r=1===e._state?t.onFulfilled:t.onRejected;if(null!==r){var n;try{n=r(e._value)}catch(e){return void u(t.promise,e)}l(t.promise,n)}else(1===e._state?l:u)(t.promise,e._value)})):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":r(t))||"function"==typeof t)){var n=t.then;if(t instanceof a)return e._state=3,e._value=t,void c(e);if("function"==typeof n)return void p((i=n,o=t,function(){i.apply(o,arguments)}),e)}e._state=1,e._value=t,c(e)}catch(t){u(e,t)}var i,o}function u(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&a._immediateFn(function(){e._handled||a._unhandledRejectionFn(e._value)});for(var t=0,r=e._deferreds.length;t=e.endTime&&(e.currentTime=e.endTime)}}}]),t}();o.SuperMap.TimeFlowControl=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeFlowControl=t.TimeControlBase=t.LogoBase64=void 0;var n=r(246),i=r(245),o=r(407);t.LogoBase64=n.LogoBase64,t.TimeControlBase=i.TimeControlBase,t.TimeFlowControl=o.TimeFlowControl},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WKT=void 0;var n=function(){function e(e,t){for(var r=0;r0&&i.push(","),r=t[o].geometry,i.push(this.extractGeometry(r));return n&&i.push(")"),i.join("")}},{key:"extractGeometry",value:function(e){var t=e.CLASS_NAME.split(".")[2].toLowerCase();return this.extract[t]?("collection"===t?"GEOMETRYCOLLECTION":t.toUpperCase())+"("+this.extract[t].apply(this,[e])+")":null}}]),t}();i.SuperMap.Format.WKT=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WKT=t.GeoJSON=t.JSONFormat=t.Format=void 0;var n=r(101),i=r(16),o=r(100),a=r(409);t.Format=n.Format,t.JSONFormat=o.JSONFormat,t.GeoJSON=i.GeoJSON,t.WKT=a.WKT},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DateExt=void 0;var n=r(0);t.DateExt=n.SuperMap.Date={toISOString:function(){if("toISOString"in Date.prototype)return function(e){return e.toISOString()};var e=function(e,t){for(var r=e+"";r.length1&&(e=e>1?1:-1),Math.asin(e)}},function(e,t){e.exports=function(e,t,s){var r=e*t;return s/Math.sqrt(1-r*r)}},function(e,t,s){var r=Math.PI/2,i=s(10);e.exports=function(e){return Math.abs(e)",d=">=",f="<",m="<=",y="*",g=",",v=".",S="(",b=")",x="where",C={pathway:[],groups:{}},T={},M={},_=console.log;function w(e){var t=A(e,x),s=t[0],r=t[1];C.pathway=A(s,g);for(var n=0,o=C.pathway.length;nM&&-1!==M){var N="gr_"+(new Date).getTime();C.groups[N]=r.substring(M+1,_),r=r.replace(S+C.groups[N]+b,N),w=-1}w+=1}!function e(t,s){var r=E(s,i),n=E(s,a);if(r!==Number.MAX_VALUE||n!==Number.MAX_VALUE)if(r-1}function N(e,t){var s=A(t,v),i=e;for(var a in s){if(!i.hasOwnProperty(s[a]))return"";i=i[s[a]]}return i=r.isDate(i)?i.valueOf():r.isDateString(i)?r.parseDateFromString(i):i.toString()}function L(e,t){var s=!1;for(var r in e){if(s=s||(r===n?I:r===o?L:O)(e[r],t),M.trace&&_(C.step,"======((( or",e[r],s),s)return s}return s}function I(e,t){var s=!0;for(var r in e){if(s=s&&(r===n?I:r===o?L:O)(e[r],t),M.trace&&_(C.step,"======((( and",e[r],s),!s)return s}return s}function O(e,t){if(C.step+=1,e.or){var s=L(e.or,t);return M.trace&&_(C.step,"OR",e,s),s}if(e.and){s=I(e.and,t);return M.trace&&_(C.step,"AND",e,s),s}if("object"==typeof e)return e.eq?N(t,e.eq[0])===e.eq[1]:e.ne?N(t,e.ne[0])!==e.ne[1]:e.req?P(N(t,e.req[0]),e.req[1]):e.nreq?!P(N(t,e.nreq[0]),e.nreq[1]):e.gt?N(t,e.gt[0])>e.gt[1]:e.ge?N(t,e.ge[0])>=e.ge[1]:e.lt?N(t,e.lt[0])0?r.map(function(e){for(var t={},s=0,r=C.pathway.length;s1e-7?(1-e*e)*(t/(1-(s=e*t)*s)-.5/e*Math.log((1-s)/(1+s))):2*t}},function(e,t){e.exports=function(e,t,s,r,i){var a,n;a=e/t;for(var o=0;o<15;o++)if(a+=n=(e-(t*a-s*Math.sin(2*a)+r*Math.sin(4*a)-i*Math.sin(6*a)))/(t-2*s*Math.cos(2*a)+4*r*Math.cos(4*a)-6*i*Math.cos(6*a)),Math.abs(n)<=1e-10)return a;return NaN}},function(e,t){e.exports=function(e,t,s){var r=t*s;return e/Math.sqrt(1-r*r)}},function(e,t){e.exports=function(e,t){var s,r;if(e=e||{},!t)return e;for(r in t)void 0!==(s=t[r])&&(e[r]=s);return e}},function(e,t,s){var r=s(78),i=s(18),a=s(74),n=s(71);function o(e,t){if(!(this instanceof o))return new o(e);t=t||function(e){if(e)throw e};var s=r(e);if("object"==typeof s){var a=n(s),l=o.projections.get(a.projName);l?(i(this,a),i(this,l),this.init(),t(null,this)):t(e)}else t(e)}o.projections=a,o.projections.start(),e.exports=o},function(e,t){var s;s=function(){return this}();try{s=s||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(s=window)}e.exports=s},function(e,t){e.exports=function(){try{return turf}catch(e){return{}}}()},function(e,t){e.exports=function(){try{return mapv}catch(e){return{}}}()},function(e,t,s){var r,i,a;i=[t,e],void 0===(a="function"==typeof(r=function(e,t){"use strict";var s={timeout:5e3,jsonpCallback:"callback",jsonpCallbackFunction:null};function r(e){try{delete window[e]}catch(t){window[e]=void 0}}function i(e){var t=document.getElementById(e);document.getElementsByTagName("head")[0].removeChild(t)}t.exports=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=e,n=t.timeout||s.timeout,o=t.jsonpCallback||s.jsonpCallback,l=void 0;return new Promise(function(s,h){var u=t.jsonpCallbackFunction||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),c=o+"_"+u;window[u]=function(e){s({ok:!0,json:function(){return Promise.resolve(e)}}),l&&clearTimeout(l),i(c),r(u)},a+=-1===a.indexOf("?")?"?":"&";var p=document.createElement("script");p.setAttribute("src",""+a+o+"="+u),p.id=c,document.getElementsByTagName("head")[0].appendChild(p),l=setTimeout(function(){h(new Error("JSONP request to "+e+" timed out")),r(u),i(c)},n)})}})?r.apply(t,i):r)||(e.exports=a)},function(e,t){e.exports=function(e,t,s,r){return s*=t,t*=t,r[0]*e-s*(r[1]+t*(r[2]+t*(r[3]+t*r[4])))}},function(e,t,s){var r=s(9),i=s(8),a=s(7),n=s(6),o=s(5),l=s(1),h=Math.PI/2,u=s(10),c=s(2);t.init=function(){this.e0=r(this.es),this.e1=i(this.es),this.e2=a(this.es),this.e3=n(this.es),this.ml0=this.a*o(this.e0,this.e1,this.e2,this.e3,this.lat0)},t.forward=function(e){var t,s,r,i=e.x,a=e.y,n=l(i-this.long0),h=Math.sin(a),u=Math.cos(a);if(this.sphere){var c=u*Math.sin(n);if(Math.abs(Math.abs(c)-1)<1e-10)return 93;s=.5*this.a*this.k0*Math.log((1+c)/(1-c)),t=Math.acos(u*Math.cos(n)/Math.sqrt(1-c*c)),a<0&&(t=-t),r=this.a*this.k0*(t-this.lat0)}else{var p=u*n,d=Math.pow(p,2),f=this.ep2*Math.pow(u,2),m=Math.tan(a),y=Math.pow(m,2);t=1-this.es*Math.pow(h,2);var g=this.a/Math.sqrt(t),v=this.a*o(this.e0,this.e1,this.e2,this.e3,a);s=this.k0*g*p*(1+d/6*(1-y+f+d/20*(5-18*y+Math.pow(y,2)+72*f-58*this.ep2)))+this.x0,r=this.k0*(v-this.ml0+g*m*(d*(.5+d/24*(5-y+9*f+4*Math.pow(f,2)+d/30*(61-58*y+Math.pow(y,2)+600*f-330*this.ep2)))))+this.y0}return e.x=s,e.y=r,e},t.inverse=function(e){var t,s,r,i,a,n;if(this.sphere){var o=Math.exp(e.x/(this.a*this.k0)),p=.5*(o-1/o),d=this.lat0+e.y/(this.a*this.k0),f=Math.cos(d);t=Math.sqrt((1-f*f)/(1+p*p)),a=c(t),d<0&&(a=-a),n=0===p&&0===f?this.long0:l(Math.atan2(p,f)+this.long0)}else{var m=e.x-this.x0,y=e.y-this.y0;for(s=t=(this.ml0+y/this.k0)/this.a,i=0;s+=r=(t+this.e1*Math.sin(2*s)-this.e2*Math.sin(4*s)+this.e3*Math.sin(6*s))/this.e0-s,!(Math.abs(r)<=1e-10);i++)if(i>=6)return 95;if(Math.abs(s)60)return null;var a,n,o,l,h,u,d,f,m=6378137,y=(1-Math.sqrt(.99330562))/(1+Math.sqrt(.99330562)),g=s-5e5,v=t;r<"N"&&(v-=1e7),u=6*(i-1)-180+3,f=(d=v/.9996/6367449.145945056)+(3*y/2-27*y*y*y/32)*Math.sin(2*d)+(21*y*y/16-55*y*y*y*y/32)*Math.sin(4*d)+151*y*y*y/96*Math.sin(6*d),a=m/Math.sqrt(1-.00669438*Math.sin(f)*Math.sin(f)),n=Math.tan(f)*Math.tan(f),o=.006739496752268451*Math.cos(f)*Math.cos(f),l=.99330562*m/Math.pow(1-.00669438*Math.sin(f)*Math.sin(f),1.5),h=g/(.9996*a);var S=f-a*Math.tan(f)/l*(h*h/2-(5+3*n+10*o-4*o*o-.06065547077041606)*h*h*h*h/24+(61+90*n+298*o+45*n*n-1.6983531815716497-3*o*o)*h*h*h*h*h*h/720);S=c(S);var b,x=(h-(1+2*n+o)*h*h*h/6+(5-2*o+28*n-3*o*o+.05391597401814761+24*n*n)*h*h*h*h*h/120)/Math.cos(f);if(x=u+c(x),e.accuracy){var C=p({northing:e.northing+e.accuracy,easting:e.easting+e.accuracy,zoneLetter:e.zoneLetter,zoneNumber:e.zoneNumber});b={top:C.lat,right:C.lon,bottom:S,left:x}}else b={lat:S,lon:x};return b}function d(e){var t=e%s;return 0===t&&(t=s),t}function f(e){if(e&&0===e.length)throw"MGRSPoint coverting from nothing";for(var t,s=e.length,u=null,c="",p=0;!/[A-Z]/.test(t=e.charAt(p));){if(p>=2)throw"MGRSPoint bad conversion from: "+e;c+=t,p++}var f=parseInt(c,10);if(0===p||p+3>s)throw"MGRSPoint bad conversion from: "+e;var y=e.charAt(p++);if(y<="A"||"B"===y||"Y"===y||y>="Z"||"I"===y||"O"===y)throw"MGRSPoint zone letter "+y+" not handled: "+e;u=e.substring(p,p+=2);for(var g=d(f),v=function(e,t){var s=r.charCodeAt(t-1),i=1e5,l=!1;for(;s!==e.charCodeAt(0);){if(++s===n&&s++,s===o&&s++,s>h){if(l)throw"Bad character: "+e;s=a,l=!0}i+=1e5}return i}(u.charAt(0),g),S=function(e,t){if(e>"V")throw"MGRSPoint given invalid Northing "+e;var s=i.charCodeAt(t-1),r=0,h=!1;for(;s!==e.charCodeAt(0);){if(++s===n&&s++,s===o&&s++,s>l){if(h)throw"Bad character: "+e;s=a,h=!0}r+=1e5}return r}(u.charAt(1),g);S0&&(x=1e5/Math.pow(10,M),C=e.substring(p,p+M),_=parseFloat(C)*x,T=e.substring(p+M),w=parseFloat(T)*x),{easting:_+v,northing:w+S,zoneLetter:y,zoneNumber:f,accuracy:x}}function m(e){var t;switch(e){case"C":t=11e5;break;case"D":t=2e6;break;case"E":t=28e5;break;case"F":t=37e5;break;case"G":t=46e5;break;case"H":t=55e5;break;case"J":t=64e5;break;case"K":t=73e5;break;case"L":t=82e5;break;case"M":t=91e5;break;case"N":t=0;break;case"P":t=8e5;break;case"Q":t=17e5;break;case"R":t=26e5;break;case"S":t=35e5;break;case"T":t=44e5;break;case"U":t=53e5;break;case"V":t=62e5;break;case"W":t=7e6;break;case"X":t=79e5;break;default:t=-1}if(t>=0)return t;throw"Invalid zone letter: "+e}t.forward=function(e,t){return t=t||5,function(e,t){var s="00000"+e.easting,u="00000"+e.northing;return e.zoneNumber+e.zoneLetter+(x=e.easting,C=e.northing,T=e.zoneNumber,M=d(T),_=Math.floor(x/1e5),w=Math.floor(C/1e5)%20,c=_,p=w,f=M,m=f-1,y=r.charCodeAt(m),g=i.charCodeAt(m),v=y+c-1,S=g+p,b=!1,v>h&&(v=v-h+a-1,b=!0),(v===n||yn||(v>n||yo||(v>o||yh&&(v=v-h+a-1),S>l?(S=S-l+a-1,b=!0):b=!1,(S===n||gn||(S>n||go||(S>o||gl&&(S=S-l+a-1),String.fromCharCode(v)+String.fromCharCode(S))+s.substr(s.length-5,t)+u.substr(u.length-5,t);var c,p,f,m,y,g,v,S,b;var x,C,T,M,_,w}(function(e){var t,s,r,i,a,n,o,l=e.lat,h=e.lon,c=6378137,p=u(l),d=u(h);o=Math.floor((h+180)/6)+1,180===h&&(o=60);l>=56&&l<64&&h>=3&&h<12&&(o=32);l>=72&&l<84&&(h>=0&&h<9?o=31:h>=9&&h<21?o=33:h>=21&&h<33?o=35:h>=33&&h<42&&(o=37));n=u(6*(o-1)-180+3),.006739496752268451,t=c/Math.sqrt(1-.00669438*Math.sin(p)*Math.sin(p)),s=Math.tan(p)*Math.tan(p),r=.006739496752268451*Math.cos(p)*Math.cos(p),i=Math.cos(p)*(d-n),a=c*(.9983242984503243*p-.002514607064228144*Math.sin(2*p)+2639046602129982e-21*Math.sin(4*p)-3.418046101696858e-9*Math.sin(6*p));var f=.9996*t*(i+(1-s+r)*i*i*i/6+(5-18*s+s*s+72*r-.39089081163157013)*i*i*i*i*i/120)+5e5,m=.9996*(a+t*Math.tan(p)*(i*i/2+(5-s+9*r+4*r*r)*i*i*i*i/24+(61-58*s+s*s+600*r-2.2240339282485886)*i*i*i*i*i*i/720));l<0&&(m+=1e7);return{northing:Math.round(m),easting:Math.round(f),zoneNumber:o,zoneLetter:function(e){var t="Z";84>=e&&e>=72?t="X":72>e&&e>=64?t="W":64>e&&e>=56?t="V":56>e&&e>=48?t="U":48>e&&e>=40?t="T":40>e&&e>=32?t="S":32>e&&e>=24?t="R":24>e&&e>=16?t="Q":16>e&&e>=8?t="P":8>e&&e>=0?t="N":0>e&&e>=-8?t="M":-8>e&&e>=-16?t="L":-16>e&&e>=-24?t="K":-24>e&&e>=-32?t="J":-32>e&&e>=-40?t="H":-40>e&&e>=-48?t="G":-48>e&&e>=-56?t="F":-56>e&&e>=-64?t="E":-64>e&&e>=-72?t="D":-72>e&&e>=-80&&(t="C");return t}(l)}}({lat:e[1],lon:e[0]}),t)},t.inverse=function(e){var t=p(f(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat,t.lon,t.lat]:[t.left,t.bottom,t.right,t.top]},t.toPoint=function(e){var t=p(f(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat]:[(t.left+t.right)/2,(t.top+t.bottom)/2]}},function(e,t){e.exports=function(e){var t={x:e[0],y:e[1]};return e.length>2&&(t.z=e[2]),e.length>3&&(t.m=e[3]),t}},function(e,t,s){var r=.017453292519943295,i=57.29577951308232,a=1,n=2,o=s(67),l=s(66),h=s(19),u=s(27);e.exports=function e(t,s,c){var p;function d(e,t){return(e.datum.datum_type===a||e.datum.datum_type===n)&&"WGS84"!==t.datumCode}return Array.isArray(c)&&(c=u(c)),t.datum&&s.datum&&(d(t,s)||d(s,t))&&(e(t,p=new h("WGS84"),c),t=p),"enu"!==t.axis&&l(t,!1,c),"longlat"===t.projName?(c.x*=r,c.y*=r):(t.to_meter&&(c.x*=t.to_meter,c.y*=t.to_meter),t.inverse(c)),t.from_greenwich&&(c.x+=t.from_greenwich),c=o(t.datum,s.datum,c),s.from_greenwich&&(c.x-=s.from_greenwich),"longlat"===s.projName?(c.x*=i,c.y*=i):(s.forward(c),s.to_meter&&(c.x/=s.to_meter,c.y/=s.to_meter)),"enu"!==s.axis&&l(s,!0,c),c}},function(e,t,s){var r=.017453292519943295,i=s(18);function a(e,t,s){e[t]=s.map(function(e){var t={};return n(e,t),t}).reduce(function(e,t){return i(e,t)},{})}function n(e,t){var s;Array.isArray(e)?("PARAMETER"===(s=e.shift())&&(s=e.shift()),1===e.length?Array.isArray(e[0])?(t[s]={},n(e[0],t[s])):t[s]=e[0]:e.length?"TOWGS84"===s?t[s]=e:(t[s]={},["UNIT","PRIMEM","VERT_DATUM"].indexOf(s)>-1?(t[s]={name:e[0].toLowerCase(),convert:e[1]},3===e.length&&(t[s].auth=e[2])):"SPHEROID"===s?(t[s]={name:e[0],a:e[1],rf:e[2]},4===e.length&&(t[s].auth=e[3])):["GEOGCS","GEOCCS","DATUM","VERT_CS","COMPD_CS","LOCAL_CS","FITTED_CS","LOCAL_DATUM"].indexOf(s)>-1?(e[0]=["name",e[0]],a(t,s,e)):e.every(function(e){return Array.isArray(e)})?a(t,s,e):n(e,t[s])):t[s]=!0):t[e]=!0}function o(e){return e*r}e.exports=function(e,t){var s=JSON.parse((","+e).replace(/\s*\,\s*([A-Z_0-9]+?)(\[)/g,',["$1",').slice(1).replace(/\s*\,\s*([A-Z_0-9]+?)\]/g,',"$1"]').replace(/,\["VERTCS".+/,"")),r=s.shift(),a=s.shift();s.unshift(["name",a]),s.unshift(["type",r]),s.unshift("output");var l={};return n(s,l),function(e){function t(t){var s=e.to_meter||1;return parseFloat(t,10)*s}"GEOGCS"===e.type?e.projName="longlat":"LOCAL_CS"===e.type?(e.projName="identity",e.local=!0):"object"==typeof e.PROJECTION?e.projName=Object.keys(e.PROJECTION)[0]:e.projName=e.PROJECTION,e.UNIT&&(e.units=e.UNIT.name.toLowerCase(),"metre"===e.units&&(e.units="meter"),e.UNIT.convert&&("GEOGCS"===e.type?e.DATUM&&e.DATUM.SPHEROID&&(e.to_meter=parseFloat(e.UNIT.convert,10)*e.DATUM.SPHEROID.a):e.to_meter=parseFloat(e.UNIT.convert,10))),e.GEOGCS&&(e.GEOGCS.DATUM?e.datumCode=e.GEOGCS.DATUM.name.toLowerCase():e.datumCode=e.GEOGCS.name.toLowerCase(),"d_"===e.datumCode.slice(0,2)&&(e.datumCode=e.datumCode.slice(2)),"new_zealand_geodetic_datum_1949"!==e.datumCode&&"new_zealand_1949"!==e.datumCode||(e.datumCode="nzgd49"),"wgs_1984"===e.datumCode&&("Mercator_Auxiliary_Sphere"===e.PROJECTION&&(e.sphere=!0),e.datumCode="wgs84"),"_ferro"===e.datumCode.slice(-6)&&(e.datumCode=e.datumCode.slice(0,-6)),"_jakarta"===e.datumCode.slice(-8)&&(e.datumCode=e.datumCode.slice(0,-8)),~e.datumCode.indexOf("belge")&&(e.datumCode="rnb72"),e.GEOGCS.DATUM&&e.GEOGCS.DATUM.SPHEROID&&(e.ellps=e.GEOGCS.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===e.ellps.toLowerCase().slice(0,13)&&(e.ellps="intl"),e.a=e.GEOGCS.DATUM.SPHEROID.a,e.rf=parseFloat(e.GEOGCS.DATUM.SPHEROID.rf,10)),~e.datumCode.indexOf("osgb_1936")&&(e.datumCode="osgb36")),e.b&&!isFinite(e.b)&&(e.b=e.a),[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_2","Standard_Parallel_2"],["false_easting","False_Easting"],["false_northing","False_Northing"],["central_meridian","Central_Meridian"],["latitude_of_origin","Latitude_Of_Origin"],["latitude_of_origin","Central_Parallel"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",o],["longitude_of_center","Longitude_Of_Center"],["longc","longitude_of_center",o],["x0","false_easting",t],["y0","false_northing",t],["long0","central_meridian",o],["lat0","latitude_of_origin",o],["lat0","standard_parallel_1",o],["lat1","standard_parallel_1",o],["lat2","standard_parallel_2",o],["alpha","azimuth",o],["srsCode","name"]].forEach(function(t){return s=e,i=(r=t)[0],a=r[1],void(!(i in s)&&a in s&&(s[i]=s[a],3===r.length&&(s[i]=r[2](s[i]))));var s,r,i,a}),e.long0||!e.longc||"Albers_Conic_Equal_Area"!==e.projName&&"Lambert_Azimuthal_Equal_Area"!==e.projName||(e.long0=e.longc),e.lat_ts||!e.lat1||"Stereographic_South_Pole"!==e.projName&&"Polar Stereographic (variant B)"!==e.projName||(e.lat0=o(e.lat1>0?90:-90),e.lat_ts=e.lat1)}(l.output),i(t,l.output)}},function(e,t,s){var r=.017453292519943295,i=s(76),a=s(75);e.exports=function(e){var t,s,n,o={},l={};e.split("+").map(function(e){return e.trim()}).filter(function(e){return e}).forEach(function(e){var t=e.split("=");t.push(!0),l[t[0].toLowerCase()]=t[1]});var h={proj:"projName",datum:"datumCode",rf:function(e){o.rf=parseFloat(e)},lat_0:function(e){o.lat0=e*r},lat_1:function(e){o.lat1=e*r},lat_2:function(e){o.lat2=e*r},lat_ts:function(e){o.lat_ts=e*r},lon_0:function(e){o.long0=e*r},lon_1:function(e){o.long1=e*r},lon_2:function(e){o.long2=e*r},alpha:function(e){o.alpha=parseFloat(e)*r},lonc:function(e){o.longc=e*r},x_0:function(e){o.x0=parseFloat(e)},y_0:function(e){o.y0=parseFloat(e)},k_0:function(e){o.k0=parseFloat(e)},k:function(e){o.k0=parseFloat(e)},a:function(e){o.a=parseFloat(e)},b:function(e){o.b=parseFloat(e)},r_a:function(){o.R_A=!0},zone:function(e){o.zone=parseInt(e,10)},south:function(){o.utmSouth=!0},towgs84:function(e){o.datum_params=e.split(",").map(function(e){return parseFloat(e)})},to_meter:function(e){o.to_meter=parseFloat(e)},units:function(e){o.units=e,a[e]&&(o.to_meter=a[e].to_meter)},from_greenwich:function(e){o.from_greenwich=e*r},pm:function(e){o.from_greenwich=(i[e]?i[e]:parseFloat(e))*r},nadgrids:function(e){"@null"===e?o.datumCode="none":o.nadgrids=e},axis:function(e){3===e.length&&-1!=="ewnsud".indexOf(e.substr(0,1))&&-1!=="ewnsud".indexOf(e.substr(1,1))&&-1!=="ewnsud".indexOf(e.substr(2,1))&&(o.axis=e)}};for(t in l)s=l[t],t in h?"function"==typeof(n=h[t])?n(s):o[n]=s:o[t]=s;return"string"==typeof o.datumCode&&"WGS84"!==o.datumCode&&(o.datumCode=o.datumCode.toLowerCase()),o}},function(e,t,s){var r=s(77),i=s(30),a=s(29);function n(e){var t=this;if(2===arguments.length){var s=arguments[1];"string"==typeof s?"+"===s.charAt(0)?n[e]=i(arguments[1]):n[e]=a(arguments[1]):n[e]=s}else if(1===arguments.length){if(Array.isArray(e))return e.map(function(e){Array.isArray(e)?n.apply(t,e):n(e)});if("string"==typeof e){if(e in n)return n[e]}else"EPSG"in e?n["EPSG:"+e.EPSG]=e:"ESRI"in e?n["ESRI:"+e.ESRI]=e:"IAU2000"in e?n["IAU2000:"+e.IAU2000]=e:console.log(e);return}}r(n),e.exports=n},function(e,t,s){(function(t){var s=9007199254740991,r="[object Arguments]",i="[object Function]",a="[object GeneratorFunction]",n="[object Map]",o="[object Set]",l=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,u="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,p=u||c||Function("return this")();function d(e,t){return function(e,t){for(var s=-1,r=e?e.length:0,i=Array(r);++s-1&&e%1==0&&e-1&&e%1==0&&e<=s}(e.length)&&!q(e)}function q(e){var t=W(e)?T.call(e):"";return t==i||t==a}function W(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var Y,X=(Y=function(e){return z(e)?k(e):B(e)},function(e){var t,s,r,i=j(e);return i==n?(t=e,s=-1,r=Array(t.size),t.forEach(function(e,t){r[++s]=[t,e]}),r):i==o?function(e){var t=-1,s=Array(e.size);return e.forEach(function(e){s[++t]=[e,e]}),s}(e):d(e,Y(e))});e.exports=X}).call(this,s(20))},function(e,t){e.exports=function(){try{return elasticsearch}catch(e){return{}}}()},function(e,t,s){(function(t){!function(s){var r=setTimeout;function i(){}function a(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],u(e,this)}function n(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,a._immediateFn(function(){var s=1===e._state?t.onFulfilled:t.onRejected;if(null!==s){var r;try{r=s(e._value)}catch(e){return void l(t.promise,e)}o(t.promise,r)}else(1===e._state?o:l)(t.promise,e._value)})):e._deferreds.push(t)}function o(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var s=t.then;if(t instanceof a)return e._state=3,e._value=t,void h(e);if("function"==typeof s)return void u((r=s,i=t,function(){r.apply(i,arguments)}),e)}e._state=1,e._value=t,h(e)}catch(t){l(e,t)}var r,i}function l(e,t){e._state=2,e._value=t,h(e)}function h(e){2===e._state&&0===e._deferreds.length&&a._immediateFn(function(){e._handled||a._unhandledRejectionFn(e._value)});for(var t=0,s=e._deferreds.length;t0&&(s=parseFloat(e.toPrecision(t))),s},format:function(e,t,s,i){t=void 0!==t?t:0,s=void 0!==s?s:r.Number.thousandsSeparator,i=void 0!==i?i:r.Number.decimalSeparator,null!=t&&(e=parseFloat(e.toFixed(t)));var a=e.toString().split(".");1===a.length&&null==t&&(t=0);var n,o=a[0];if(s)for(var l=/(-?[0-9]+)([0-9]{3})/;l.test(o);)o=o.replace(l,"$1"+s+"$2");if(0==t)n=o;else{var h=a.length>1?a[1]:"0";null!=t&&(h+=new Array(t-h.length+1).join("0")),n=o+i+h}return n}};Number.prototype.limitSigDigs||(Number.prototype.limitSigDigs=function(e){return he.limitSigDigs(this,e)});var ue,ce,pe,de=r.Function={bind:function(e,t){var s=Array.prototype.slice.apply(arguments,[2]);return function(){var r=s.concat(Array.prototype.slice.apply(arguments,[0]));return e.apply(t,r)}},bindAsEventListener:function(e,t){return function(s){return e.call(t,s||window.event)}},False:function(){return!1},True:function(){return!0},Void:function(){}},fe=(r.Array={filter:function(e,t,s){var r=[];if(Array.prototype.filter)r=e.filter(t,s);else{var i=e.length;if("function"!=typeof t)throw new TypeError;for(var a=0;a=0;s--)e[s]===t&&e.splice(s,1);return e},r.Util.indexOf=function(e,t){if(null==e)return-1;if("function"==typeof e.indexOf)return e.indexOf(t);for(var s=0,r=e.length;s=0&&parseFloat(o)<1?(e.style.filter="alpha(opacity="+100*o+")",e.style.opacity=o):1===parseFloat(o)&&(e.style.filter="",e.style.opacity="")},r.Util.applyDefaults=function(e,t){e=e||{};var s="function"==typeof window.Event&&t instanceof window.Event;for(var r in t)(void 0===e[r]||!s&&t.hasOwnProperty&&t.hasOwnProperty(r)&&!e.hasOwnProperty(r))&&(e[r]=t[r]);return!s&&t&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&!e.hasOwnProperty("toString")&&(e.toString=t.toString),e},r.Util.getParameterString=function(e){var t=[];for(var s in e){var r=e[s];if(null!=r&&"function"!=typeof r){var i;if("object"==typeof r&&r.constructor===Array){for(var a,n=[],o=0,l=r.length;o1?1/e:e},r.Util.getResolutionFromScale=function(e,t){var s;e&&(null==t&&(t="degrees"),s=1/(r.Util.normalizeScale(e)*r.INCHES_PER_UNIT[t]*r.DOTS_PER_INCH));return s},r.Util.getScaleFromResolution=function(e,t){return null==t&&(t="degrees"),e*r.INCHES_PER_UNIT[t]*r.DOTS_PER_INCH},r.IS_GECKO=-1===(ue=navigator.userAgent.toLowerCase()).indexOf("webkit")&&-1!==ue.indexOf("gecko"),r.Browser=function(){var e,t="",s="",r="pc",i=navigator.userAgent.toLowerCase();return i.indexOf("msie")>-1||i.indexOf("trident")>-1&&i.indexOf("rv")>-1?(t="msie",e=i.match(/msie ([\d.]+)/)||i.match(/rv:([\d.]+)/)):i.indexOf("chrome")>-1?(t="chrome",e=i.match(/chrome\/([\d.]+)/)):i.indexOf("firefox")>-1?(t="firefox",e=i.match(/firefox\/([\d.]+)/)):i.indexOf("opera")>-1?(t="opera",e=i.match(/version\/([\d.]+)/)):i.indexOf("safari")>-1&&(t="safari",e=i.match(/version\/([\d.]+)/)),s=e?e[1]:"",i.indexOf("ipad")>-1||i.indexOf("ipod")>-1||i.indexOf("iphone")>-1?r="apple":i.indexOf("android")>-1&&(s=(e=i.match(/version\/([\d.]+)/))?e[1]:"",r="android"),{name:t,version:s,device:r}}(),r.Util.getBrowser=function(){return r.Browser},r.Util.isSupportCanvas=(ce=!0,pe=r.Util.getBrowser(),document.createElement("canvas").getContext?("firefox"===pe.name&&parseFloat(pe.version)<5&&(ce=!1),"safari"===pe.name&&parseFloat(pe.version)<4&&(ce=!1),"opera"===pe.name&&parseFloat(pe.version)<10&&(ce=!1),"msie"===pe.name&&parseFloat(pe.version)<9&&(ce=!1)):ce=!1,ce),r.Util.supportCanvas=function(){return r.Util.isSupportCanvas},r.INCHES_PER_UNIT.degree=r.INCHES_PER_UNIT.dd,r.INCHES_PER_UNIT.meter=r.INCHES_PER_UNIT.m,r.INCHES_PER_UNIT.foot=r.INCHES_PER_UNIT.ft,r.INCHES_PER_UNIT.inch=r.INCHES_PER_UNIT.inches,r.INCHES_PER_UNIT.mile=r.INCHES_PER_UNIT.mi,r.INCHES_PER_UNIT.kilometer=r.INCHES_PER_UNIT.km,r.INCHES_PER_UNIT.yard=r.INCHES_PER_UNIT.yd,r.Util.isInTheSameDomain=function(e){if(!e)return!0;var t=e.indexOf("//"),s=document.location.toString(),r=s.indexOf("//");if(-1===t)return!0;var i,a=i=e.substring(0,t),n=s.substring(r+2);r=n.indexOf("/");var o=n.indexOf(":"),l=n.substring(0,r),h=document.location.protocol;if(-1!==o||(l+=":"+("http:"===h.toLowerCase()?80:443)),h.toLowerCase()!==a.toLowerCase())return!1;var u=(a=e.substring(t+2)).indexOf(":");t=a.indexOf("/");var c,p=a.substring(0,t);return-1!==u?c=a.substring(0,u):(c=a.substring(0,t),p+=":"+("http:"===i.toLowerCase()?80:443)),c===document.domain&&p===l},r.Util.calculateDpi=function(e,t,s,r,i){if(e&&t&&s){var a,n=e.getWidth(),o=e.getHeight(),l=t.w,h=t.h;if(i=i||6378137,"degree"===(r=r||"degrees").toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()){let e=n/l,t=o/h;a=254/(e>t?e:t)/s/(2*Math.PI*i/360)/1e4}else{a=254/(n/l)/s/1e4}return a}},r.Util.toJSON=function(e){var t=e;if(null==t)return null;switch(t.constructor){case String:return t=(t=(t=(t=(t=(t=(t='"'+t.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var s=[],i=0,a=t.length;i0?"{"+e.join(",")+"}":"{}"}return t.toString()}},r.Util.getResolutionFromScaleDpi=function(e,t,s,i){return i=i||6378137,s=s||"",e>0&&t>0?(e=r.Util.normalizeScale(e),"degree"===s.toLowerCase()||"degrees"===s.toLowerCase()||"dd"===s.toLowerCase()?254/t/e/(2*Math.PI*i/360)/1e4:254/t/e/1e4):-1},r.Util.getScaleFromResolutionDpi=function(e,t,s,r){return r=r||6378137,s=s||"",e>0&&t>0?"degree"===s.toLowerCase()||"degrees"===s.toLowerCase()||"dd"===s.toLowerCase()?254/t/e/(2*Math.PI*r/360)/1e4:254/t/e/1e4:-1},r.Util.transformResult=function(e){return e.responseText&&"string"==typeof e.responseText&&(e=JSON.parse(e.responseText)),e},r.Util.copyAttributes=function(e,t){if(e=e||{},t)for(var s in t){var r=t[s];void 0!==r&&"CLASS_NAME"!==s&&"function"!=typeof r&&(e[s]=r)}return e},r.Util.copyAttributesWithClip=function(e,t,s){if(e=e||{},t)for(var r in t){var i=!1;if(s&&s.length)for(var a=0,n=s.length;a=0&&n<=1&&a<=1&&n>=0?new r.Geometry.Point(e.x+a*(t.x-e.x),e.y+a*(t.y-e.y)):"No Intersection";else if(0==l&&0==h){var c=Math.max(e.y,t.y),p=Math.min(e.y,t.y),d=Math.max(e.x,t.x),f=Math.min(e.x,t.x);o=(s.y>=p&&s.y<=c||i.y>=p&&i.y<=c)&&s.x>=f&&s.x<=d||i.x>=f&&i.x<=d?"Coincident":"Parallel"}else o="Parallel";return o},r.Util.getTextBounds=function(e,t,s){document.body.appendChild(s),s.style.width="auto",s.style.height="auto",e.fontSize&&(s.style.fontSize=e.fontSize),e.fontFamily&&(s.style.fontFamily=e.fontFamily),e.fontWeight&&(s.style.fontWeight=e.fontWeight),s.style.position="relative",s.style.visibility="hidden",s.style.display="inline-block",s.innerHTML=t;var r=s.clientWidth,i=s.clientHeight;return document.body.removeChild(s),{textWidth:r,textHeight:i}};class me{constructor(e,t){fe.isArray(e)&&(t=e[1],e=e[0]),this.lon=e?fe.toFloat(e):0,this.lat=t?fe.toFloat(t):0,this.CLASS_NAME="SuperMap.LonLat"}toString(){return"lon="+this.lon+",lat="+this.lat}toShortString(){return this.lon+","+this.lat}clone(){return new me(this.lon,this.lat)}add(e,t){if(null==e||null==t)throw new TypeError("LonLat.add cannot receive null values");return new me(this.lon+fe.toFloat(e),this.lat+fe.toFloat(t))}equals(e){var t=!1;return null!=e&&(t=this.lon===e.lon&&this.lat===e.lat||isNaN(this.lon)&&isNaN(this.lat)&&isNaN(e.lon)&&isNaN(e.lat)),t}wrapDateLine(e){var t=this.clone();if(e){for(;t.lone.right;)t.lon-=e.getWidth()}return t}destroy(){this.lon=null,this.lat=null}static fromString(e){var t=e.split(",");return new me(t[0],t[1])}static fromArray(e){var t=fe.isArray(e),s=t&&e[0],r=t&&e[1];return new me(s,r)}}class ye{constructor(e,t,s,r){fe.isArray(e)&&(r=e[3],s=e[2],t=e[1],e=e[0]),this.left=null!=e?fe.toFloat(e):this.left,this.bottom=null!=t?fe.toFloat(t):this.bottom,this.right=null!=s?fe.toFloat(s):this.right,this.top=null!=r?fe.toFloat(r):this.top,this.centerLonLat=null,this.CLASS_NAME="SuperMap.Bounds"}clone(){return new ye(this.left,this.bottom,this.right,this.top)}equals(e){var t=!1;return null!=e&&(t=this.left===e.left&&this.right===e.right&&this.top===e.top&&this.bottom===e.bottom),t}toString(){return[this.left,this.bottom,this.right,this.top].join(",")}toArray(e){return!0===e?[this.bottom,this.left,this.top,this.right]:[this.left,this.bottom,this.right,this.top]}toBBOX(e,t){null==e&&(e=6);var s=Math.pow(10,e),r=Math.round(this.left*s)/s,i=Math.round(this.bottom*s)/s,a=Math.round(this.right*s)/s,n=Math.round(this.top*s)/s;return!0===t?i+","+r+","+n+","+a:r+","+i+","+a+","+n}getWidth(){return this.right-this.left}getHeight(){return this.top-this.bottom}getSize(){return new ne(this.getWidth(),this.getHeight())}getCenterPixel(){return new oe((this.left+this.right)/2,(this.bottom+this.top)/2)}getCenterLonLat(){return this.centerLonLat||(this.centerLonLat=new me((this.left+this.right)/2,(this.bottom+this.top)/2)),this.centerLonLat}scale(e,t){var s,r;e=e||1,null==t&&(t=this.getCenterLonLat()),"SuperMap.LonLat"===t.CLASS_NAME?(s=t.lon,r=t.lat):(s=t.x,r=t.y);var i=(this.left-s)*e+s,a=(this.bottom-r)*e+r,n=(this.right-s)*e+s,o=(this.top-r)*e+r;return new ye(i,a,n,o)}add(e,t){if(null==e||null==t)throw new TypeError("Bounds.add cannot receive null values");return new ye(this.left+e,this.bottom+t,this.right+e,this.top+t)}extend(e){var t=null;if(e){switch(e.CLASS_NAME){case"SuperMap.LonLat":t=new ye(e.lon,e.lat,e.lon,e.lat);break;case"SuperMap.Geometry.Point":t=new ye(e.x,e.y,e.x,e.y);break;case"SuperMap.Bounds":t=e}t&&(this.centerLonLat=null,(null==this.left||t.leftthis.right)&&(this.right=t.right),(null==this.top||t.top>this.top)&&(this.top=t.top))}}containsLonLat(e,t){"boolean"==typeof t&&(t={inclusive:t}),t=t||{};var s=this.contains(e.lon,e.lat,t.inclusive),r=t.worldBounds;if(r&&!s){var i=r.getWidth(),a=(r.left+r.right)/2,n=Math.round((e.lon-a)/i);s=this.containsLonLat({lon:e.lon-n*i,lat:e.lat},{inclusive:t.inclusive})}return s}containsPixel(e,t){return this.contains(e.x,e.y,t)}contains(e,t,s){if(null==s&&(s=!0),null==e||null==t)return!1;e=fe.toFloat(e),t=fe.toFloat(t);return s?e>=this.left&&e<=this.right&&t>=this.bottom&&t<=this.top:e>this.left&&ethis.bottom&&t=s.bottom&&e.bottom<=s.top||s.bottom>=e.bottom&&s.bottom<=e.top,n=e.top>=s.bottom&&e.top<=s.top||s.top>e.bottom&&s.top=s.left&&e.left<=s.right||s.left>=e.left&&s.left<=e.right,l=e.right>=s.left&&e.right<=s.right||s.right>=e.left&&s.right<=e.right;r=(a||n)&&(o||l)}if(t.worldBounds&&!r){var h=t.worldBounds,u=h.getWidth(),c=!h.containsBounds(s),p=!h.containsBounds(e);c&&!p?(e=e.add(-u,0),r=s.intersectsBounds(e,{inclusive:t.inclusive})):p&&!c&&(s=s.add(-u,0),r=e.intersectsBounds(s,{inclusive:t.inclusive}))}return r}containsBounds(e,t,s){null==t&&(t=!1),null==s&&(s=!0);var r=this.contains(e.left,e.bottom,s),i=this.contains(e.right,e.bottom,s),a=this.contains(e.left,e.top,s),n=this.contains(e.right,e.top,s);return t?r||i||a||n:r&&i&&a&&n}determineQuadrant(e){var t="",s=this.getCenterLonLat();return t+=e.lat=e.right&&i.right>e.right;)i=i.add(-a,0);var n=i.left+s;ne.left&&i.right-r>e.right&&(i=i.add(-a,0))}return i}toServerJSONObject(){return{rightTop:{x:this.right,y:this.top},leftBottom:{x:this.left,y:this.bottom},left:this.left,right:this.right,top:this.top,bottom:this.bottom}}destroy(){this.left=null,this.right=null,this.top=null,this.bottom=null,this.centerLonLat=null}static fromString(e,t){var s=e.split(",");return ye.fromArray(s,t)}static fromArray(e,t){return!0===t?new ye(e[1],e[0],e[3],e[2]):new ye(e[0],e[1],e[2],e[3])}static fromSize(e){return new ye(0,e.h,e.w,0)}static oppositeQuadrant(e){var t="";return t+="t"===e.charAt(0)?"b":"t",t+="l"===e.charAt(1)?"r":"l"}}r.Bounds=ye;class ge{constructor(){this.CLASS_NAME="SuperMap.Geometry",this.id=fe.createUniqueID(this.CLASS_NAME+"_"),this.parent=null,this.bounds=null,this.SRID=null}destroy(){this.id=null,this.bounds=null,this.SRID=null}clone(){return new ge}setBounds(e){e&&(this.bounds=e.clone())}clearBounds(){this.bounds=null,this.parent&&this.parent.clearBounds()}extendBounds(e){this.getBounds()?this.bounds.extend(e):this.setBounds(e)}getBounds(){return null==this.bounds&&this.calculateBounds(),this.bounds}calculateBounds(){}getVertices(e){}getArea(){return 0}}r.Geometry=ge;class ve extends ge{constructor(e){super(),this.components=[],this.componentTypes=null,null!=e&&this.addComponents(e),this.CLASS_NAME="SuperMap.Geometry.Collection"}destroy(){this.components.length=0,this.components=null,super.destroy()}clone(){for(var e=new ve,t=0,s=this.components.length;t-1)){if(null!=t&&t=0;--s)t=this.removeComponent(e[s])||t;return t}removeComponent(e){return fe.removeItem(this.components,e),this.clearBounds(),!0}getArea(){for(var e=0,t=0,s=this.components.length;t2;return t&&super.removeComponent.apply(this,arguments),t}getSortedSegments(){for(var e,t,s=this.components.length-1,r=new Array(s),i=0;i=1?1:g)<=-1?-1:g,u=180*Math.acos(g)/Math.PI,n=(u=i.x==s.x?t.x>s.x&&r.x>s.x||t.xp*t.x+d&&r.y>p*r.x+d||t.ys.y?r.xs.x&&(o=!1):i.xp*r.x+d&&(o=!1):i.x>s.x?r.y>s.y&&(o=!1):r.y=0?180*Math.atan(v)/Math.PI:Math.abs(180*Math.atan(v)/Math.PI)+90,b=Math.abs(t.y);s.y==b&&b==i.y&&s.x=0?v>=0?h+=l:h=180-(h-90)+l:h=v>0?h-180+l:90-h+l:x>=0?v>=0?h-=l:h=180-(h-90)-l:h=v>=0?h-180-l:90-h-l,h=h*Math.PI/180;var T=t.x+a*Math.cos(h),M=t.y+a*Math.sin(h);c.push(new xe(T,M))}c.push(i)}return c}static createLineEPS(e){var t=[],s=e.length;if(null==e||s<2)return e;for(var r=0;r1&&(s=parseFloat(s)*h),r.labelAlign&&"cm"!==r.labelAlign)switch(r.labelAlign){case"lt":l.x+=t/2,l.y+=s/2;break;case"lm":l.x+=t/2;break;case"lb":l.x+=t/2,l.y-=s/2;break;case"ct":l.y+=s/2;break;case"cb":l.y-=s/2;break;case"rt":l.x-=t/2,l.y+=s/2;break;case"rm":l.x-=t/2;break;case"rb":l.x-=t/2,l.y-=s/2}return this.bsInfo.h=s,this.bsInfo.w=t,i=l.x-parseFloat(t)/2,a=l.y+parseFloat(s)/2,o=l.x+parseFloat(t)/2,n=l.y-parseFloat(s)/2,new ye(i,a,o,n)}getLabelPxBoundsByText(e,t){var s,r,i,a,n=this.getLabelPxSize(t),o=fe.cloneObject(e);if(t.labelAlign&&"cm"!==t.labelAlign)switch(t.labelAlign){case"lt":o.x+=n.w/2,o.y+=n.h/2;break;case"lm":o.x+=n.w/2;break;case"lb":o.x+=n.w/2,o.y-=n.h/2;break;case"ct":o.y+=n.h/2;break;case"cb":o.y-=n.h/2;break;case"rt":o.x-=n.w/2,o.y+=n.h/2;break;case"rm":o.x-=n.w/2;break;case"rb":o.x-=n.w/2,o.y-=n.h/2}return this.bsInfo.h=n.h,this.bsInfo.w=n.w,s=o.x-n.w/2,r=o.y+n.h/2,a=t.fontStyle&&"italic"===t.fontStyle?o.x+n.w/2+parseInt(parseFloat(t.fontSize)/2):o.x+n.w/2,i=o.y-n.h/2,new ye(s,r,a,i)}getLabelPxSize(e){var t,s,r,i,a=parseFloat(e.strokeWidth);t=e.label||this.text,s=e.fontSize?parseFloat(e.fontSize):parseFloat("12px");var n=t.split("\n"),o=n.length;i=o>1?s*o+o+a+.2*s:s+a+.2*s+1,r=0,this.labelWTmp&&r255?s++:r++;return t.cnC=s,t.enC=r,t.textC=e.length,t}}r.Geometry.GeoText=Te;class Me extends Ce{constructor(e){super(e),this.componentTypes=["SuperMap.Geometry.Point"],this.CLASS_NAME="SuperMap.Geometry.LinearRing"}addComponent(e,t){var s=!1,r=this.components.pop();null==t&&e.equals(r)||(s=super.addComponent.apply(this,arguments));var i=this.components[0];return super.addComponent.apply(this,[i]),s}removeComponent(e){var t=this.components&&this.components.length>3;if(t){this.components.pop(),super.removeComponent.apply(this,arguments);var s=this.components[0];super.addComponent.apply(this,[s])}return t}getArea(){var e=0;if(this.components&&this.components.length>2){for(var t=0,s=0,r=this.components.length;s0){e+=Math.abs(this.components[0].getArea());for(var t=1,s=this.components.length;t1},isLeftClick:function(e){return e.which&&1===e.which||e.button&&1===e.button},isRightClick:function(e){return e.which&&3===e.which||e.button&&2===e.button},stop:function(e,t){t||(e.preventDefault?e.preventDefault():e.returnValue=!1),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},findElement:function(e,t){for(var s=r.Event.element(e);s.parentNode&&(!s.tagName||s.tagName.toUpperCase()!=t.toUpperCase());)s=s.parentNode;return s},observe:function(e,t,s,r){var i=fe.getElement(e);if(r=r||!1,"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||i.attachEvent)&&(t="keydown"),this.observers||(this.observers={}),!i._eventCacheID){var a="eventCacheID_";i.id&&(a=i.id+"_"+a),i._eventCacheID=fe.createUniqueID(a)}var n=i._eventCacheID;this.observers[n]||(this.observers[n]=[]),this.observers[n].push({element:i,name:t,observer:s,useCapture:r}),i.addEventListener?i.addEventListener(t,s,r):i.attachEvent&&i.attachEvent("on"+t,s)},stopObservingElement:function(e){var t=fe.getElement(e)._eventCacheID;this._removeElementObservers(r.Event.observers[t])},_removeElementObservers:function(e){if(e)for(var t=e.length-1;t>=0;t--){var s=e[t],i=new Array(s.element,s.name,s.observer,s.useCapture);r.Event.stopObserving.apply(this,i)}},stopObserving:function(e,t,s,i){i=i||!1;var a=fe.getElement(e),n=a._eventCacheID;"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||a.detachEvent)&&(t="keydown");var o=!1,l=r.Event.observers[n];if(l)for(var h=0;!o&&h0&&s.push(","),s.push(this.writeNewline(),this.writeIndent(),t));return this.level-=1,s.push(this.writeNewline(),this.writeIndent(),"]"),s.join("")},string:function(e){var t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return/["\\\x00-\x1f]/.test(e)?'"'+e.replace(/([\x00-\x1f\\"])/g,function(e,s){var r=t[s];return r||(r=s.charCodeAt(),"\\u00"+Math.floor(r/16).toString(16)+(r%16).toString(16))})+'"':'"'+e+'"'},number:function(e){return isFinite(e)?String(e):"null"},boolean:function(e){return String(e)},date:function(e){function t(e){return e<10?"0"+e:e}return'"'+e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+"T"+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds())+'"'}}}read(e,t){var s;if(this.nativeJSON)try{s=JSON.parse(e,t)}catch(e){}return this.keepData&&(this.data=s),s}write(e,t){this.pretty=!!t;var s=null,r=typeof e;if(this.serialize[r])try{s=!this.pretty&&this.nativeJSON?JSON.stringify(e):this.serialize[r].apply(this,[e])}catch(e){}return s}writeIndent(){var e=[];if(this.pretty)for(var t=0;t-1||(t[r]=e[r]);return t}toGeometry(e){var t=this,s=e.type;switch("polygon"===s&&(s=n.REGION),s.toUpperCase()){case n.POINT:return t.toGeoPoint(e);case n.LINE:return t.toGeoLine(e);case n.LINEM:return t.toGeoLinem(e);case n.REGION:return t.toGeoRegion(e);case n.RECTANGLE:return t.toGeoRectangle(e);case n.POINTEPS:return t.toGeoPoint(e);default:return e}}toGeoPoint(e){var t=e.points||[{x:e.x,y:e.y}],s=(e.parts||[t.length]).length;if(s<1)return null;if(1===s)return{type:"Point",x:parseFloat(t[0].x),y:parseFloat(t[0].y)};for(var r=0,i=[];r0?t.push(u):a.push([u]),n===i-1){var c=a.length;if(c)a[c-1]=a[c-1].concat(t);else for(var p=0,d=t.length;p0&&i.push(","),s=t[a].geometry,i.push(this.extractGeometry(s));return r&&i.push(")"),i.join("")}extractGeometry(e){var t=e.CLASS_NAME.split(".")[2].toLowerCase();return this.extract[t]?("collection"===t?"GEOMETRYCOLLECTION":t.toUpperCase())+"("+this.extract[t].apply(this,[e])+")":null}};var ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAAdCAYAAAAjHtusAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dH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VQ+p80jrUsV5EH0POKeuXO9QjhFq5GryNYvfEMCDhsftYVsB9ETtG0V9ZjfhCURhbcJFpfwVZ9jvhxsLHwTYtp2svlWQw3vXL8UnqHVSIG8l8ex+tHhBXgjddgqHEZ8ufAA2aaEnYgrF/KrPXrEmMUqZ9THLW06xhoBaVueQpkug+ewOUphE3Qv2Q5gGamXYa+QbVq4O+DQ5FHyZqrjxNt7UHh9uuRa0F7HjCF8o9PCTOGnscM7g2u1Hl9C9oeEnxC/1ajZg8JLiM9Hj9GHJseMShwL2DO0G5yEWn3Zh1QUods5CPkIoqlwAZxhXMsb6HrcEPBxchhdJ6wj29vCW4hfLOzo8J3rltYX50nXQAATSf/K4DEaGlTLvplsk/QCpoD60EQ7gLYZc8H9wq+I3yncEOEcNhuz6HWf3XEiwU/4Y8YEqVp2P10rt+8REvBGw026i4aDcbL9jF8r8Blmf4fCOzhViiscskygXRdehf3CO4hfigmTBXyQrl8TFtD1IzQX3CbcQrY3hPcRv4z8OmHPXwchVNln2MmE7BX6VwIFi/he6uxvb6JM3m0fdqvx/ATidxg2JeC7VDErAw5NzGfvwRJVheEIQ8Mg/pdwIM+UOmi9Q8ivCsrIy0tF+wVbEcLrd3Pb2XisEb4Tdlhsi4WP4RBbaLGrHfC3PrvMIezy9rTpGm5lz9LOMG15xvFxD/j5gjzjjDbMOzk+9zzt3v5bgAEAibzFeFHVgYkAAAAASUVORK5CYII=";class Ge{constructor(e){var t=this;e=e||{},this.speed=e.speed&&e.speed>=0?e.speed:1,this.frequency=e.speed&&e.frequency>=0?e.frequency:1e3,this.startTime=e.startTime&&null!=e.startTime?e.startTime:0,this.endTime=e.endTime&&null!=e.endTime&&e.endTime>=t.startTime?e.endTime:+new Date,this.repeat=void 0===e.repeat||e.repeat,this.reverse=void 0!==e.reverse&&e.reverse,this.currentTime=null,this.oldTime=null,this.running=!1,this.EVENT_TYPES=["start","pause","stop"],t.events=new Le(this,null,this.EVENT_TYPES),t.speed=Number(t.speed),t.frequency=Number(t.frequency),t.startTime=Number(t.startTime),t.endTime=Number(t.endTime),t.startTime=Date.parse(new Date(t.startTime)),t.endTime=Date.parse(new Date(t.endTime)),t.currentTime=t.startTime,this.CLASS_NAME="SuperMap.TimeControlBase"}updateOptions(e){var t=this;(e=e||{}).speed&&e.speed>=0&&(t.speed=e.speed,t.speed=Number(t.speed)),e.speed&&e.frequency>=0&&(t.frequency=e.frequency,t.frequency=Number(t.frequency)),e.startTime&&null!=e.startTime&&(t.startTime=e.startTime,t.startTime=Date.parse(new Date(t.startTime))),e.endTime&&null!=e.endTime&&e.endTime>=t.startTime&&(t.endTime=e.endTime,t.endTime=Date.parse(new Date(t.endTime))),null!=e.repeat&&(t.repeat=e.repeat),null!=e.reverse&&(t.reverse=e.reverse)}start(){var e=this;e.running||(e.running=!0,e.tick(),e.events.triggerEvent("start",e.currentTime))}pause(){this.running=!1,this.events.triggerEvent("pause",this.currentTime)}stop(){var e=this;e.currentTime=e.startTime,e.running&&(e.running=!1),e.events.triggerEvent("stop",e.currentTime)}toggle(){this.running?this.pause():this.start()}setSpeed(e){return e>=0&&(this.speed=e,!0)}getSpeed(){return this.speed}setFrequency(e){return e>=0&&(this.frequency=e,!0)}getFrequency(){return this.frequency}setStartTime(e){var t=this;return!((e=Date.parse(new Date(e)))>t.endTime)&&(t.startTime=e,t.currentTime=t.endTime&&(t.currentTime=t.startTime,t.tick()),!0)}getEndTime(){return this.endTime}setCurrentTime(e){var t=this;return t.currentTime=Date.parse(new Date(t.currentTime)),e>=t.startTime&&e<=t.endTime&&(t.currentTime=e,t.startTime=t.currentTime,t.tick(),!0)}getCurrentTime(){return this.currentTime}setRepeat(e){this.repeat=e}getRepeat(){return this.repeat}setReverse(e){this.reverse=e}getReverse(){return this.reverse}getRunning(){return this.running}destroy(){var e=this;e.speed=null,e.frequency=null,e.startTime=null,e.endTime=null,e.currentTime=null,e.repeat=null,e.running=!1,e.reverse=null}tick(){}}r.TimeControlBase=Ge;class Be extends Ge{constructor(e,t){super(t);var s=this;s.callback=e,Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),s=this,r=function(){},i=function(){return s.apply(this instanceof r&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,i.prototype=new r,i}),s.update=s.update.bind(s),s.oldTime=s.currentTime,s.CLASS_NAME="SuperMap.TimeFlowControl"}updateOptions(e){e=e||{},super.updateOptions(e)}start(){var e=this;e.running||(e.running=!0,e.reverse?e.currentTime===e.startTime&&(e.oldTime=e.endTime,e.currentTime=e.oldTime):e.oldTime===e.endTime&&(e.currentTime=e.startTime,e.oldTime=e.currentTime),e.tick())}stop(){super.stop();var e=this;e.oldTime=e.currentTime,e.running&&(e.running=!1),e.intervalId&&window.clearTimeout(e.intervalId)}destroy(){super.destroy();this.oldTime=null,this.callback=null}tick(){var e=this;e.intervalId&&window.clearInterval(e.intervalId),e.intervalId=null,e.update(),e.intervalId=window.setInterval(e.update,e.frequency)}update(){var e=this;if(e.running)if(e.callback&&e.callback(e.currentTime),e.reverse){if(e.currentTime===e.startTime){if(!e.repeat)return e.running=!1,null;e.oldTime=e.endTime,e.currentTime=e.oldTime}else e.currentTime=e.oldTime,e.oldTime-=e.speed;e.oldTime<=e.startTime&&(e.oldTime=e.startTime)}else{if(e.currentTime===e.endTime){if(!e.repeat)return e.running=!1,e.stop(),null;e.stop(),e.currentTime=e.startTime,e.oldTime=e.currentTime,e.start()}else e.oldTime=e.currentTime,e.currentTime+=e.speed;e.currentTime>=e.endTime&&(e.currentTime=e.endTime)}}}r.TimeFlowControl=Be;var Ue=s(34),je=s.n(Ue);window.Promise=je.a;s(81);var He=s(23),Ve=s.n(He);const Je=window.fetch;r.setCORS=function(e){r.CORS=e};var ze=r.isCORS=function(){return void 0!=r.CORS?r.CORS:window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest},qe=(r.setRequestTimeout=function(e){return r.RequestTimeout=e},r.getRequestTimeout=function(){return r.RequestTimeout||45e3}),We=r.FetchRequest={commit:function(e,t,s,r){switch(e=e?e.toUpperCase():e){case"GET":return this.get(t,s,r);case"POST":return this.post(t,s,r);case"PUT":return this.put(t,s,r);case"DELETE":return this.delete(t,s,r);default:return this.get(t,s,r)}},supportDirectRequest:function(e,t){return fe.isInTheSameDomain(e)||ze()||t.proxy},get:function(e,t,s){s=s||{};if(e=this._processUrl(e,s),e=fe.urlAppend(e,this._getParameterString(t||{})),!this.supportDirectRequest(e,s)){var i={url:e=e.replace(".json",".jsonp"),data:t};return r.Util.RequestJSONPPromise.GET(i)}return this.urlIsLong(e)?this._postSimulatie("GET",e.substring(0,e.indexOf("?")-1),t,s):this._fetch(e,t,s,"GET")},delete:function(e,t,s){s=s||{};if(e=this._processUrl(e,s),e=fe.urlAppend(e,this._getParameterString(t||{})),!this.supportDirectRequest(e,s)){e=e.replace(".json",".jsonp");var i={url:e+="&_method=DELETE",data:t};return r.Util.RequestJSONPPromise.DELETE(i)}return this.urlIsLong(e)?this._postSimulatie("DELETE",e.substring(0,e.indexOf("?")-1),t,s):this._fetch(e,t,s,"DELETE")},post:function(e,t,s){if(s=s||{},!this.supportDirectRequest(e,s)){e=e.replace(".json",".jsonp");var i={url:e+="&_method=POST",data:t};return r.Util.RequestJSONPPromise.POST(i)}return this._fetch(this._processUrl(e,s),t,s,"POST")},put:function(e,t,s){if(s=s||{},e=this._processUrl(e,s),!this.supportDirectRequest(e,s)){e=e.replace(".json",".jsonp");var i={url:e+="&_method=PUT",data:t};return r.Util.RequestJSONPPromise.DELETE(i)}return this._fetch(e,t,s,"PUT")},urlIsLong:function(e){for(var t=0,s=null,r=0,i=e.length;r-1?"&":"?")+"_method="+e,"string"!=typeof s&&(s=JSON.stringify(s)),this.post(t,s,r)},_processUrl:function(e,t){if(this._isMVTRequest(e))return e;if(-1===e.indexOf(".json")&&!t.withoutFormatSuffix)if(e.indexOf("?")<0)e+=".json";else{var s=e.split("?");2===s.length&&(e=s[0]+".json?"+s[1])}return t&&t.proxy&&("function"==typeof t.proxy?e=t.proxy(e):(e=decodeURIComponent(e),e=t.proxy+encodeURIComponent(e))),e},_fetch:function(e,t,s,r){return(s=s||{}).headers=s.headers||{},s.headers["Content-Type"]||(s.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8"),s.timeout?this._timeout(s.timeout,Je(e,{method:r,headers:s.headers,body:"PUT"===r||"POST"===r?t:void 0,credentials:s.withCredentials?"include":"omit",mode:"cors",timeout:qe()}).then(function(e){return e})):Je(e,{method:r,body:"PUT"===r||"POST"===r?t:void 0,headers:s.headers,credentials:s.withCredentials?"include":"omit",mode:"cors",timeout:qe()}).then(function(e){return e})},_fetchJsonp:function(e,t){return t=t||{},Ve()(e,{method:"GET",timeout:t.timeout}).then(function(e){return e})},_timeout:function(e,t){return new Promise(function(s,r){setTimeout(function(){r(new Error("timeout"))},e),t.then(s,r)})},_getParameterString:function(e){var t=[];for(var s in e){var r=e[s];if(null!=r&&"function"!=typeof r){var i;if("object"==typeof r&&r.constructor===Array){for(var a,n=[],o=0,l=r.length;o-1||e.indexOf(".pbf")>-1}};r.Util.RequestJSONPPromise={limitLength:1500,queryKeys:[],queryValues:[],supermap_callbacks:{},addQueryStrings:function(e){for(var t in e){this.queryKeys.push(t),"string"!=typeof e[t]&&(e[t]=r.Util.toJSON(e[t]));var s=encodeURIComponent(e[t]);this.queryValues.push(s)}},issue:function(e){for(var t=this,s=t.getUid(),r=e.url,i=[],a=new Promise(function(e){t.supermap_callbacks[s]=function(r){delete t.supermap_callbacks[s],e(r)}}),n=r,o=0,l=t.queryKeys?t.queryKeys.length:0,h=0;h=t.limitLength){if(0==o)return!1;i.push(n),n=r,o=0,h--}else if(n.length+t.queryKeys[h].length+2+t.queryValues[h].length>t.limitLength)for(var u=t.queryValues[h];u.length>0;){var c=t.limitLength-n.length-t.queryKeys[h].length-2;n.indexOf("?")>-1?n+="&":n+="?";var p=u.substring(0,c);"%"===p.substring(c-1,c)?(c-=1,p=u.substring(0,c)):"%"===p.substring(c-2,c-1)&&(c-=2,p=u.substring(0,c)),n+=t.queryKeys[h]+"="+p,u=u.substring(c),p.length>0&&(i.push(n),n=r,o=0)}else o++,n.indexOf("?")>-1?n+="&":n+="?",n+=t.queryKeys[h]+"="+t.queryValues[h];return i.push(n),t.send(i,"SuperMap.Util.RequestJSONPPromise.supermap_callbacks["+s+"]",e&&e.proxy),a},getUid:function(){return 1e3*(new Date).getTime()+Math.floor(1e17*Math.random())},send:function(e,t,s){var r=e.length;if(r>0)for(var i=(new Date).getTime(),a=0;a-1?n+="&":n+="?",n+="sectionCount="+r,n+="§ionIndex="+a,n+="&jsonpUserID="+i,s&&(n=decodeURIComponent(n),n=s+encodeURIComponent(n)),Ve()(n,{jsonpCallbackFunction:t,timeout:3e4})}},GET:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings(e.params),this.issue(e)},POST:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},PUT:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},DELETE:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)}};class Ye{static generateToken(e,t){var s=this.servers[e];if(s)return We.post(s.tokenServiceUrl,JSON.stringify(t.toJSON())).then(function(e){return e.text()})}static registerServers(e){this.servers=this.servers||{},fe.isArray(e)||(e=[e]);for(var t=0;t-1&&"?"===r?t+=s.getUrlParameters():t.indexOf("?")>-1&&"?"!==r?t+="&"+s.getUrlParameters():t+="?"+s.getUrlParameters()}return t}getCredential(){var e,t=Ye.getToken(this.serviceUrl);return(e=t?new Pe(t,"token"):null)||(e=(t=this.getKey())?new Pe(t,"key"):null),e}getKey(){}}r.iPortalServiceBase=et;class tt extends et{constructor(e,t){super(e),t=t||{},this.addedMapNames=null,this.addedSceneNames=null,this.authorizeSetting=[],this.checkStatus="",this.createTime=0,this.description="",this.enable=!0,this.id=0,this.isBatch=!1,this.isDataItemService=!1,this.linkPage=null,this.mapInfos=[],this.metadata=null,this.nickname="",this.offline=!1,this.proxiedUrl=null,this.resTitle="",this.scenes=[],this.serviceRootUrlId=null,this.tags=[],this.thumbnail=null,this.type="",this.updateTime=0,this.userName="",this.verifyReason=null,this.version=null,this.visitCount=0,fe.extend(this,t),this.serviceUrl=e,this.id&&(this.serviceUrl=e+"/"+this.id)}load(){var e=this;return e.request("GET",e.serviceUrl+".json").then(function(t){if(t.error)return t;for(var s in t)e[s]=t[s]})}update(){var e={authorizeSetting:this.authorizeSetting,metadata:this.metadata,tags:this.tags,thumbnail:this.thumbnail};return this.request("PUT",this.serviceUrl,JSON.stringify(e),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}}r.iPortalService=tt;class st extends et{constructor(e,t){super(e),t=t||{},this.authorizeSetting=[],this.center="",this.controls=null,this.checkStatus="",this.createTime=0,this.description="",this.epsgCode=0,this.extent="",this.id=0,this.isDefaultBottomMap=!1,this.layers=[],this.level=null,this.nickname="",this.sourceType="",this.status=null,this.tags=[],this.thumbnail="",this.title="",this.units=null,this.updateTime=0,this.userName="",this.visitCount=0,fe.extend(this,t),this.mapUrl=e}load(){var e=this;return e.request("GET",e.mapUrl+".json").then(function(t){if(t.error)return t;for(var s in t)e[s]=t[s]})}update(){var e={units:this.units,level:this.level,center:this.center,controls:this.controls,description:this.description,epsgCode:this.epsgCode,extent:this.extent,status:this.status,tags:this.tags,layers:this.layers,title:this.title,thumbnail:this.thumbnail,sourceType:this.sourceType,authorizeSetting:this.authorizeSetting};return this.request("PUT",this.mapUrl,JSON.stringify(e),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}}r.iPortalMap=st;class rt extends et{constructor(e){super(e),this.iportalUrl=e}load(){return We.get(this.iportalUrl+"/web")}queryServices(e){if(!(e instanceof Ze))return null;var t=this.iportalUrl+"/web/services";return this.request("GET",t,e).then(function(e){var s=[];return e.content.map(function(e){return s.push(new tt(t,e)),e}),s})}deleteServices(e){var t=this.iportalUrl+"/web/services";return this.request("DELETE",t,{ids:e})}queryMaps(e){if(!(e instanceof $e))return null;var t=this.iportalUrl+"/web/maps";return this.request("GET",t,e).then(function(e){var s={},r=[];return e.content.map(function(e){return r.push(new st(t+"/"+e.id,e)),e}),s.content=r,s.currentPage=e.currentPage,s.pageSize=e.pageSize,s.total=e.total,s.totalPage=e.totalPage,s})}}r.iPortal=rt;class it{constructor(e,t){let s=this;this.EVENT_TYPES=["processCompleted","processFailed"],this.events=null,this.eventListeners=null,this.url=null,this.urls=null,this.proxy=null,this.serverType=null,this.index=null,this.length=null,this.options=null,this.totalTimes=null,this.POLLING_TIMES=3,this._processSuccess=null,this._processFailed=null,this.isInTheSameDomain=null,this.withCredentials=!1,fe.isArray(e)?(s.urls=e,s.length=e.length,s.totalTimes=s.length,1===s.length?s.url=e[0]:(s.index=parseInt(Math.random()*s.length),s.url=e[s.index])):(s.totalTimes=1,s.url=e),fe.isArray(e)&&!s.isServiceSupportPolling()&&(s.url=e[0],s.totalTimes=1),s.serverType=s.serverType||a.ISERVER,(t=t||{})&&fe.extend(this,t),s.isInTheSameDomain=fe.isInTheSameDomain(s.url),s.events=new Le(s,null,s.EVENT_TYPES,!0),s.eventListeners instanceof Object&&s.events.on(s.eventListeners),this.CLASS_NAME="SuperMap.CommonServiceBase"}destroy(){let e=this;fe.isArray(e.urls)&&(e.urls=null,e.index=null,e.length=null,e.totalTimes=null),e.url=null,e.options=null,e._processSuccess=null,e._processFailed=null,e.isInTheSameDomain=null,e.EVENT_TYPES=null,e.events&&(e.events.destroy(),e.events=null),e.eventListeners&&(e.eventListeners=null)}request(e){let t=this;e.url=e.url||t.url,e.proxy=e.proxy||t.proxy,e.withCredentials=void 0!=e.withCredentials?e.withCredentials:t.withCredentials,e.isInTheSameDomain=t.isInTheSameDomain;let s=this.getCredential(e.url);if(s){let t=e.url.substring(e.url.length-1,e.url.length);e.url.indexOf("?")>-1&&"?"===t?e.url+=s.getUrlParameters():e.url.indexOf("?")>-1&&"?"!==t?e.url+="&"+s.getUrlParameters():e.url+="?"+s.getUrlParameters()}t.calculatePollingTimes(),t._processSuccess=e.success,t._processFailed=e.failure,e.scope=t,e.success=t.getUrlCompleted,e.failure=t.getUrlFailed,t.options=e,t._commit(t.options)}getCredential(e){let t,s,r=e;switch(this.serverType){case a.IPORTAL:(t=(s=Ye.getToken(r))?new Pe(s,"token"):null)||(t=(s=Ye.getKey(r))?new Pe(s,"key"):null);break;case a.ONLINE:t=(s=Ye.getKey(r))?new Pe(s,"key"):null;break;default:t=(s=Ye.getToken(r))?new Pe(s,"token"):null}return t}getUrlCompleted(e){this._processSuccess(e)}getUrlFailed(e){let t=this;t.totalTimes>0?(t.totalTimes--,t.ajaxPolling()):t._processFailed(e)}ajaxPolling(){let e=this,t=e.options.url,s=/^http:\/\/([a-z]{9}|(\d+\.){3}\d+):\d{0,4}/;e.index=parseInt(Math.random()*e.length),e.url=e.urls[e.index],t=t.replace(s,s.exec(e.url)[0]),e.options.url=t,e.options.isInTheSameDomain=fe.isInTheSameDomain(t),e._commit(e.options)}calculatePollingTimes(){let e=this;e.times?e.totalTimes>e.POLLING_TIMES?e.times>e.POLLING_TIMES?e.totalTimes=e.POLLING_TIMES:e.totalTimes=e.times:e.timese.POLLING_TIMES&&(e.totalTimes=e.POLLING_TIMES),e.totalTimes--}isServiceSupportPolling(){return!("SuperMap.REST.ThemeService"===this.CLASS_NAME||"SuperMap.REST.EditFeaturesService"===this.CLASS_NAME)}serviceProcessCompleted(e){e=fe.transformResult(e),this.events.triggerEvent("processCompleted",{result:e})}serviceProcessFailed(e){let t=(e=fe.transformResult(e)).error||e;this.events.triggerEvent("processFailed",{error:t})}_commit(e){"POST"!==e.method&&"PUT"!==e.method||(e.params&&(e.url=fe.urlAppend(e.url,fe.getParameterString(e.params||{}))),e.params=e.data),We.commit(e.method,e.url,e.params,{headers:e.headers,withCredentials:e.withCredentials,timeout:e.async?0:null,proxy:e.proxy}).then(function(e){return e.text?e.text():e.json?e.json():e}).then(function(t){var s=t;("string"==typeof t&&(s=(new Fe).read(t)),(!s||s.error||s.code>=300&&304!==s.code)&&(s=s&&s.error?{error:s.error}:{error:s}),s.error)?(e.scope?de.bind(e.failure,e.scope):e.failure)(s):(s.succeed=void 0==s.succeed||s.succeed,(e.scope?de.bind(e.success,e.scope):e.success)(s))})}}r.CommonServiceBase=it;class at{constructor(e){if(e.filters){let t=[];e.filters.split(",").map(function(e){return t.push('"'+e+'"'),e}),e.filters=t}this.address=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,fe.extend(this,e)}destroy(){this.address=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null}}r.GeoCodingParameter=at;class nt{constructor(e){if(e.filters){let t=[];e.filters.split(",").map(function(e){return t.push('"'+e+'"'),e}),e.filters=t}this.x=null,this.y=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,this.geoDecodingRadius=null,fe.extend(this,e)}destroy(){this.x=null,this.y=null,this.fromIndex=null,this.toIndex=null,this.filters=null,this.prjCoordSys=null,this.maxReturn=null,this.geoDecodingRadius=null}}r.GeoDecodingParameter=nt;class ot extends it{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.AddressMatchService"}destroy(){super.destroy()}code(e,t){t instanceof at&&this.processAsync(e,t)}decode(e,t){t instanceof nt&&this.processAsync(e,t)}processAsync(e,t){var s=this;We.get(e,t,{proxy:s.proxy}).then(function(e){return e.json()}).then(function(e){e?s.serviceProcessCompleted(e):s.serviceProcessFailed(e)}).catch(function(e){s.eventListeners.processFailed({error:e})})}serviceProcessCompleted(e){super.serviceProcessCompleted(e)}serviceProcessFailed(e){super.serviceProcessFailed(e)}}r.AddressMatchService=ot;class lt{constructor(e){this.name=null,this.queryType=null,this.CLASS_NAME="SuperMap.AggQueryBuilderParameter",fe.extend(this,e)}destroy(){this.name=null,this.queryType=null}}r.AggQueryBuilderParameter=lt;class ht{constructor(e){this.aggName=null,this.aggType=null,this.aggFieldName=null,this.subAgg=null,this.CLASS_NAME="SuperMap.AggregationParameter",fe.extend(this,e)}destroy(){var e=this;e.aggName=null,e.aggFieldName=null,e.aggType=null,e.subAgg&&(e.subAgg=null)}}r.AggregationParameter=ht;class ut{constructor(e){this.dataset=null,this.targetDatasourceName=null,this.totalGridName=null,this.diffuseDatasetGridName=null,this.durationDatasetGridName=null,this.directDatasetGridName=null,this.latitude=null,this.timeMode="MULTIDAYS",this.dayStart=null,this.dayEnd=null,this.hourStart=null,this.hourEnd=null,this.transmittance=null,this.hourInterval=null,this.dayInterval=null,this.deleteExistResultDataset=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.AreaSolarRadiationParameters"}destroy(){var e=this;e.dataset=null,e.zFactor=1,e.averageCurvatureName=null,e.profileCurvatureName=null,e.planCurvatureName=null,e.deleteExistResultDataset=!0}static toObject(e,t){var s={};for(var r in e){if("dataset"!==r)"latitude"===r||"timeMode"===r||"dayStart"===r||("dayEnd"===r||"hourStart"===r||"hourEnd"===r)||("transmittance"===r||"hourInterval"===r||"dayInterval"===r)?s[r]=e[r]:t[r]=e[r]}t.parameter=s}}r.AreaSolarRadiationParameters=ut;class ct extends it{constructor(e,t){super(e,t),this.format=i.GEOJSON,this.CLASS_NAME="SuperMap.SpatialAnalystBase"}destroy(){super.destroy(),this.format=null}serviceProcessCompleted(e){var t,s=this;if((e=fe.transformResult(e))&&s.format===i.GEOJSON&&"function"==typeof s.toGeoJSONResult)if(fe.isArray(e)){for(var r=0;r0){e+='"points":[';for(var s=0,r=this.components.length;s0))return null;for(var a=0,n=0,o=[];a0){if(1===s)return new xe(t[0].x,t[0].y);var r=[];for(let e=0;e0){if(1===s){let s=[];for(let r=0;r0){if(1===o){for(e=0,s=[];e=0;t--)if(c[e]=-1,l[t].getBounds().containsBounds(l[e].getBounds())){h[e]=-1*h[t],h[e]<0&&(c[e]=t);break}for(let e=0;e0?i.push(l[e]):(i[c[e]].components=i[c[e]].components.concat(l[e].components),i.push(""))}else{i=new Array;for(let e=0;e0&&i.length>0&&(i[i.length-1].components=i[i.length-1].components.concat(n),n=[]),i.push(l[e])),e==r-1){var p=i.length;if(p)i[p-1].components=i[p-1].components.concat(n);else for(let e=0,t=n.length;e=0;t--)if(d[e]=-1,u[t].getBounds().containsBounds(u[e].getBounds())){c[e]=-1*c[t],c[e]<0&&(d[e]=t);break}for(let e=0;e0?a.push(u[e]):(a[d[e]].components=a[d[e]].components.concat(u[e].components),a.push(""))}else{a=new Array;for(let e=0;e0&&a.length>0&&(a[a.length-1].components=a[a.length-1].components.concat(l),l=[]),a.push(u[e])),e==r-1){var f=a.length;if(f)a[f-1].components=a[f-1].components.concat(l);else for(let e=0,t=l.length;ee[i]){var a=e[i];e[i]=e[r],e[r]=a;var n=t[i];if(t[i]=t[r],t[r]=n,s&&s.length>0){var o=s[i];s[i]=s[r],s[r]=o}}}}r.ServerGeometry=wt;class Et extends mt{constructor(e){super(e),this.sourceGeometry=null,this.sourceGeometrySRID=null,e&&fe.extend(this,e),this.CLASS_NAME=" SuperMap.GeometryBufferAnalystParameters"}destroy(){super.destroy();this.sourceGeometry&&(this.sourceGeometry.destroy(),this.sourceGeometry=null)}static toObject(e,t){for(var s in e)if("bufferSetting"===s){var r={};for(var i in e.bufferSetting)r[i]=e.bufferSetting[i];t.analystParameter=r}else"sourceGeometry"===s?t.sourceGeometry=wt.fromGeometry(e.sourceGeometry):t[s]=e[s]}}r.GeometryBufferAnalystParameters=Et;class At extends ct{constructor(e,t){super(e,t),this.mode=null,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.BufferAnalystService"}destroy(){super.destroy(),this.mode=null}processAsync(e){var t={},s=this;"/"!==s.url.substr(s.url.length-1,1)&&(s.url+="/"),e instanceof xt?(s.mode="datasets",s.url+="datasets/"+e.dataset+"/buffer",xt.toObject(e,t)):e instanceof Et&&(s.mode="geometry",s.url+="geometry/buffer",Et.toObject(e,t));var r=fe.toJSON(t);s.url+=".json?returnContent=true",s.request({method:"POST",data:r,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}r.BufferAnalystService=At;class Pt{constructor(e){this.type=O.UDB,this.datasetName="analystResult",this.datasourceInfo=null,this.outputPath="",fe.extend(this,e),this.CLASS_NAME="SuperMap.OutputSetting"}destroy(){var e=this;e.type=null,e.datasetName=null,e.outputPath=null,e.datasourceInfo instanceof vt&&(e.datasourceInfo.destroy(),e.datasourceInfo=null)}}r.OutputSetting=Pt;class Nt{constructor(e){if(this.datasetName="",this.bounds="",this.distance="",this.distanceField="",this.distanceUnit=ee.METER,this.dissolveField="",this.output=null,!e)return this;fe.extend(this,e),this.CLASS_NAME="SuperMap.BuffersAnalystJobsParameter"}destroy(){this.datasetName=null,this.bounds=null,this.distance=null,this.distanceField=null,this.distanceUnit=null,this.dissolveField=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var s in e)"datasetName"!==s?"output"!==s?(t.analyst=t.analyst||{},t.analyst[s]="bounds"===s?e[s].toBBOX():e[s]):(t.output=t.output||{},t.output=e[s]):(t.input=t.input||{},t.input[s]=e[s])}}r.BuffersAnalystJobsParameter=Nt;class Lt extends it{constructor(e,t){(t=t||{}).EVENT_TYPES=["processCompleted","processFailed","processRunning"],super(e,t),this.CLASS_NAME="SuperMap.ProcessingServiceBase"}destroy(){super.destroy()}getJobs(e){var t=this;We.get(e,null,{proxy:t.proxy}).then(function(e){return e.json()}).then(function(e){t.events.triggerEvent("processCompleted",{result:e})}).catch(function(e){t.eventListeners.processFailed({error:e})})}addJob(e,t,s,r){var i=this,a=null;t&&t instanceof s&&(a=new Object,s.toObject(t,a));var n={proxy:i.proxy,headers:{"Content-Type":"application/x-www-form-urlencoded"}};We.post(i._processUrl(e),JSON.stringify(a),n).then(function(e){return e.json()}).then(function(e){e.succeed?i.serviceProcessCompleted(e,r):i.serviceProcessFailed(e)}).catch(function(e){i.serviceProcessFailed({error:e})})}serviceProcessCompleted(e,t){e=fe.transformResult(e),t=t||1e3;var s=this;if(e)var r=setInterval(function(){We.get(e.newResourceLocation,{_t:(new Date).getTime()}).then(function(e){return e.json()}).then(function(e){s.events.triggerEvent("processRunning",{id:e.id,state:e.state}),"LOST"!==e.state.runState&&"KILLED"!==e.state.runState&&"FAILED"!==e.state.runState||(clearInterval(r),s.events.triggerEvent("processFailed",{error:e.state.errorMsg,state:e.state.runState})),"FINISHED"===e.state.runState&&e.setting.serviceInfo&&(clearInterval(r),s.events.triggerEvent("processCompleted",{result:e}))}).catch(function(e){clearInterval(r),s.events.triggerEvent("processFailed",{error:e})})},t)}serviceProcessFailed(e){super.serviceProcessFailed(e)}_processUrl(e){return-1===e.indexOf(".json")&&(e+=".json"),Ye.getToken(e)&&(e+="?token="+Ye.getToken(e)),e}}r.ProcessingServiceBase=Lt;class It extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/buffers",this.CLASS_NAME="SuperMap.BuffersAnalystJobsService"}destroy(){super.destroy()}getBuffersJobs(){super.getJobs(this.url)}getBuffersJob(e){super.getJobs(this.url+"/"+e)}addBuffersJob(e,t){super.addJob(this.url,e,Nt,t)}}r.BuffersAnalystJobsService=It;class Ot{constructor(e){this.sourceNodeIDs=null,this.edgeID=null,this.nodeID=null,this.isUncertainDirectionValid=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.BurstPipelineAnalystParameters"}destroy(){this.sourceNodeIDs=null,this.edgeID=null,this.nodeID=null,this.isUncertainDirectionValid=null}}r.BurstPipelineAnalystParameters=Ot;class Rt extends it{constructor(e,t){super(e,t),this.format=i.GEOJSON,this.CLASS_NAME="SuperMap.NetworkAnalystServiceBase"}destroy(){super.destroy(),this.format=null}serviceProcessCompleted(e){var t;(e=fe.transformResult(e))&&this.format===i.GEOJSON&&"function"==typeof this.toGeoJSONResult&&(t=this.toGeoJSONResult(e)),t||(t=e),this.events.triggerEvent("processCompleted",{result:t})}toGeoJSONResult(e){return null}}r.NetworkAnalystServiceBase=Rt;class Ft extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.BurstPipelineAnalystService"}destroy(){super.destroy()}processAsync(e){if(!(e instanceof Ot))return null;var t,s=this,r=s.url.substr(s.url.length-1,1);if(s.url=s.url+("/"===r?"burstAnalyse":"/burstAnalyse")+".json?",t={sourceNodeIDs:e.sourceNodeIDs,isUncertainDirectionValid:e.isUncertainDirectionValid},null!==e.edgeID&&null!==e.nodeID)throw new Error("edgeID and nodeID cannot be null at the same time.");if(null===e.edgeID&&null===e.nodeID)throw new Error("edgeID and nodeID cannot be null at the same time.");null!==e.edgeID?t.edgeID=e.edgeID:t.nodeID=e.nodeID,s.request({method:"GET",params:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}r.BurstPipelineAnalystService=Ft;class Dt extends it{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.ChartFeatureInfoSpecsService"}destroy(){super.destroy(),fe.reset(this)}processAsync(){var e=this,t=e.url.substr(e.url.length-1,1);e.isTempLayers?e.url+=".json?":(e.url+="/"===t?"":"/",e.url+="chartFeatureInfoSpecs.json?"),e.request({method:"GET",params:null,scope:e,success:e.serviceProcessCompleted,failure:e.serviceProcessFailed})}}r.ChartFeatureInfoSpecsService=Dt;class kt{constructor(e){this.isQueryPoint=null,this.isQueryLine=null,this.isQueryRegion=null,this.attributeFilter=null,this.chartFeatureInfoSpecCode=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.ChartQueryFilterParameter"}destroy(){var e=this;e.isQueryPoint=null,e.isQueryLine=null,e.isQueryRegion=null,e.attributeFilter=null,e.chartFeatureInfoSpecCode=null}toJson(){var e="";return e+='"isQueryPoint":'+this.isQueryPoint+",",e+='"isQueryLine":'+this.isQueryLine+",",e+='"isQueryRegion":'+this.isQueryRegion+",",this.attributeFilter&&(e+='"attributeFilter": "'+this.attributeFilter+'",'),e="{"+(e+='"chartFeatureInfoSpecCode":'+this.chartFeatureInfoSpecCode)+"}"}}r.ChartQueryFilterParameter=kt;class Gt{constructor(e){this.queryMode=null,this.bounds=null,this.chartLayerNames=null,this.chartQueryFilterParameters=null,this.returnContent=!0,this.startRecord=0,this.expectCount=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.ChartQueryParameters"}destroy(){var e=this;e.queryMode=null,e.bounds=null,e.chartLayerNames=null,e.chartQueryFilterParameters=null,e.returnContent=!0,e.startRecord=0,e.expectCount=null}getVariablesJson(){var e="";if(e+='"queryMode":"'+this.queryMode+'",',this.chartLayerNames&&this.chartLayerNames.length){for(var t=[],s=this.chartLayerNames.length,r=0;r0&&(s+=","),s+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(s+=","),s+=t[e];return s+="]"}}r.ComputeWeightMatrixService=qt;class Wt extends it{constructor(e,t){(t=t||{}).EVENT_TYPES=["broadcastSocketConnected","broadcastSocketError","broadcastFailed","broadcastSuccessed","subscribeSocketConnected","subscribeSocketError","messageSuccessed","setFilterParamSuccessed"],super(e,t),this.geometry=null,this.prjCoordSys=null,this.excludeField=null;"/"!==this.url.substr(this.url.length-1,1)&&(this.url+="/"),t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.DataFlowService"}initBroadcast(){var e=this;return this.broadcastWebSocket=this._connect(e.url+"broadcast"),this.broadcastWebSocket.onopen=function(t){e.broadcastWebSocket.isOpen=!0,t.eventType="broadcastSocketConnected",e.events.triggerEvent("broadcastSocketConnected",t)},this.broadcastWebSocket.onclose=function(t){e.broadcastWebSocket.isOpen=!1,t.eventType="broadcastSocketConnected",e.events.triggerEvent("broadcastSocketConnected",t)},this.broadcastWebSocket.onerror=function(t){t.eventType="broadcastSocketError",e.events.triggerEvent("broadcastSocketError",t)},this}broadcast(e){this.broadcastWebSocket&&this.broadcastWebSocket.isOpen?(this.broadcastWebSocket.send(JSON.stringify(e)),this.events.triggerEvent("broadcastSuccessed")):this.events.triggerEvent("broadcastFailed")}initSubscribe(){var e=this;return this.subscribeWebSocket=this._connect(this.url+"subscribe"),this.subscribeWebSocket.onopen=function(t){e.subscribeWebSocket.send(e._getFilterParams()),t.eventType="subscribeSocketConnected",e.events.triggerEvent("subscribeSocketConnected",t)},this.subscribeWebSocket.onerror=function(t){t.eventType="subscribeSocketError",e.events.triggerEvent("subscribeSocketError",t)},this.subscribeWebSocket.onmessage=function(t){e._onMessage(t)},this}setExcludeField(e){return this.excludeField=e,this.subscribeWebSocket.send(this._getFilterParams()),this}setGeometry(e){return this.geometry=e,this.subscribeWebSocket.send(this._getFilterParams()),this}unSubscribe(){this.subscribeWebSocket&&(this.subscribeWebSocket.close(),this.subscribeWebSocket=null)}unBroadcast(){this.broadcastWebSocket&&(this.broadcastWebSocket.close(),this.broadcastWebSocket=null)}destroy(){it.prototype.destroy.apply(this,arguments);this.geometry=null,this.prjCoordSys=null,this.excludeField=null,this.unBroadcast(),this.unSubscribe()}_getFilterParams(){var e={filterParam:{prjCoordSys:this.prjCoordSys,excludeField:this.excludeField,geometry:this.geometry}};return fe.toJSON(e)}_onMessage(e){if(e.data&&e.data.indexOf("filterParam")>0){var t=JSON.parse(e.data);return e.filterParam=t,e.eventType="setFilterParamSuccessed",void this.events.triggerEvent("setFilterParamSuccessed",e)}var s=JSON.parse(e.data);e.featureResult=s,e.eventType="messageSuccessed",this.events.triggerEvent("messageSuccessed",e)}_connect(e){return e=this._appendCredentials(e),"WebSocket"in window?new WebSocket(e):"MozWebSocket"in window?new(0,window.MozWebSocket)(e):(console.log("no WebSocket"),null)}_appendCredentials(e){var t=Ye.getToken(e);return t&&(e+="?token="+t),e}}r.DataFlowService=Wt;class Yt{constructor(e){e=e||{},this.bounds=null,this.dataSourceName=null,this.description=null,this.encodeType=null,this.isReadOnly=null,this.name=null,this.prjCoordSys=null,this.tableName=null,this.type=null,fe.extend(this,e);var t=this.bounds;t&&(this.bounds=new ye(t.leftBottom.x,t.leftBottom.y,t.rightTop.x,t.rightTop.y)),this.CLASS_NAME="SuperMap.DatasetInfo"}destroy(){fe.reset(this)}toServerJSONObject(){var e={};return(e=fe.copyAttributes(e,this)).bounds&&e.bounds.toServerJSONObject&&(e.bounds=e.bounds.toServerJSONObject()),e}}r.DatasetInfo=Yt;class Xt{constructor(e){this.operation=I.UNION,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.OverlayAnalystParameters"}destroy(){this.operation=null}}r.OverlayAnalystParameters=Xt;class Qt extends Xt{constructor(e){super(e),this.operateDataset=null,this.operateDatasetFields=[],this.operateDatasetFilter=new bt,this.operateRegions=[],this.sourceDataset=null,this.sourceDatasetFields=[],this.sourceDatasetFilter=new bt,this.tolerance=0,this.resultSetting=new yt,fe.extend(this,e),this.CLASS_NAME="SuperMap.DatasetOverlayAnalystParameters"}destroy(){super.destroy();var e=this;if(e.operateDataset=null,e.operateDatasetFields=null,e.operateDatasetFilter&&(e.operateDatasetFilter.destroy(),e.operateDatasetFilter=null),e.operateRegions){for(var t=0,s=e.operateRegions,r=s.length;t0&&(s+=","),s+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(s+=","),s+=t[e];return s+="]"}toGeoJSONResult(e){if(!e||!e.facilityPathList)return e;var t=new De;return e.facilityPathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}r.FindClosestFacilitiesService=Ms;class _s{constructor(e){this.expectedSupplyCenterCount=null,this.isFromCenter=!1,this.supplyCenters=null,this.turnWeightField=null,this.weightName=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindLocationParameters"}destroy(){var e=this;if(e.expectedSupplyCenterCount=null,e.isFromCenter=null,e.turnWeightField=null,e.weightName=null,e.supplyCenters){for(var t=0,s=e.supplyCenters,r=s.length;t0&&(t+=","),t+=fe.toJSON(e[r]);return t+="]"}toGeoJSONResult(e){if(!e)return null;var t=new De;return e.demandResults&&(e.demandResults=JSON.parse(t.write(e.demandResults))),e.supplyResults&&(e.supplyResults=JSON.parse(t.write(e.supplyResults))),e}}r.FindLocationService=ws;class Es{constructor(e){this.centers=null,this.hasLeastTotalCost=!1,this.isAnalyzeById=!1,this.nodes=null,this.parameter=new Jt,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindMTSPPathsParameters"}destroy(){var e=this;e.centers=null,e.hasLeastTotalCost=null,e.isAnalyzeById=null,e.nodes=null,e.maxWeight=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}r.FindMTSPPathsParameters=Es;class As extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindMTSPPathsService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Es){var t,s=this,r=s.getJson(e.isAnalyzeById,e.centers),i=s.getJson(e.isAnalyzeById,e.nodes);s.url=s.url+"/mtsppath.json?",t={centers:r,nodes:i,parameter:fe.toJSON(e.parameter),hasLeastTotalCost:e.hasLeastTotalCost},s.request({method:"GET",params:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}getJson(e,t){var s="[",r=t?t.length:0;if(!1===e)for(let e=0;e0&&(s+=","),s+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(s+=","),s+=t[e];return s+="]"}toGeoJSONResult(e){if(!e||!e.pathList)return null;var t=new De;return e.pathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}r.FindMTSPPathsService=As;class Ps{constructor(e){this.isAnalyzeById=!1,this.hasLeastEdgeCount=null,this.nodes=null,this.parameter=new Jt,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindPathParameters"}destroy(){var e=this;e.isAnalyzeById=null,e.hasLeastEdgeCount=null,e.nodes=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}r.FindPathParameters=Ps;class Ns extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindPathService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Ps){var t,s=this,r=s.url.substr(s.url.length-1,1);s.url=s.url+("/"===r?"path":"/path")+".json?",t={hasLeastEdgeCount:e.hasLeastEdgeCount,parameter:fe.toJSON(e.parameter),nodes:s.getJson(e.isAnalyzeById,e.nodes)},s.request({method:"GET",params:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}getJson(e,t){var s="[",r=t?t.length:0;if(!1===e)for(let e=0;e0&&(s+=","),s+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(s+=","),s+=t[e];return s+="]"}toGeoJSONResult(e){if(!e||!e.pathList||e.pathList.length<1)return null;var t=new De;return e.pathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}r.FindPathService=Ns;class Ls{constructor(e){this.isAnalyzeById=!1,this.isCenterMutuallyExclusive=!1,this.centers=null,this.isFromCenter=!1,this.weights=null,this.parameter=new Jt,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindServiceAreasParameters"}destroy(){var e=this;e.isAnalyzeById=null,e.isCenterMutuallyExclusive=null,e.centers=null,e.isFromCenter=null,e.weights=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}r.FindServiceAreasParameters=Ls;class Is extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindServiceAreasService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Ls){var t,s=this,r=s.url.substr(s.url.length-1,1);s.url=s.url+("/"===r?"servicearea":"/servicearea")+".json?",t={isFromCenter:e.isFromCenter,isCenterMutuallyExclusive:e.isCenterMutuallyExclusive,parameter:fe.toJSON(e.parameter),centers:s.getJson(e.isAnalyzeById,e.centers),weights:s.getJson(!0,e.weights)},s.request({method:"GET",params:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}getJson(e,t){var s="[",r=t?t.length:0;if(!1===e)for(let e=0;e0&&(s+=","),s+='{"x":'+t[e].x+',"y":'+t[e].y+"}";else if(1==e)for(let e=0;e0&&(s+=","),s+=t[e];return s+="]"}toGeoJSONResult(e){if(!e||!e.serviceAreaList)return e;var t=new De;return e.serviceAreaList.map(function(e){return e.serviceRegion&&(e.serviceRegion=JSON.parse(t.write(e.serviceRegion))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e.routes&&(e.routes=JSON.parse(t.write(e.routes))),e}),e}}r.FindServiceAreasService=Is;class Os{constructor(e){this.endNodeAssigned=!1,this.isAnalyzeById=!1,this.nodes=null,this.parameter=new Jt,fe.extend(this,e),this.CLASS_NAME="SuperMap.FindTSPPathsParameters"}destroy(){var e=this;e.endNodeAssigned=null,e.isAnalyzeById=null,e.nodes=null,e.parameter&&(e.parameter.destroy(),e.parameter=null)}}r.FindTSPPathsParameters=Os;class Rs extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.FindTSPPathsService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Os){var t,s=this,i=s.url.substr(s.url.length-1,1);s.url=s.url+("/"===i?"tsppath":"/tsppath")+".json?",t={parameter:r.Util.toJSON(e.parameter),endNodeAssigned:e.endNodeAssigned,nodes:s.getNodesJson(e)},s.request({method:"GET",params:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}getNodesJson(e){var t,s,r,i,a="";if(!1===e.isAnalyzeById){for(t="[",s=0,r=(i=e.nodes).length;s0&&(t+=","),t+='{"x":'+i[s].x+',"y":'+i[s].y+"}";a+=t+="]"}else if(1==e.isAnalyzeById){let t="[",s=e.nodes,r=s.length;for(let e=0;e0&&(t+=","),t+=s[e];a+=t+="]"}return a}toGeoJSONResult(e){if(!e||!e.tspPathList)return null;var t=new De;return e.tspPathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}r.FindTSPPathsService=Rs;class Fs{constructor(e){this.routeTable=null,this.routeIDField=null,this.attributeFilter=null,this.eventTable=null,this.eventRouteIDField=null,this.measureField=null,this.measureStartField=null,this.measureEndField=null,this.measureOffsetField=null,this.errorInfoField=null,this.retainedFields=null,this.dataReturnOption=null,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.GenerateSpatialDataParameters"}destroy(){var e=this;e.routeTable&&(e.routeTable=null),e.routeIDField=null,e.attributeFilter=null,e.eventTable=null,e.eventRouteIDField=null,e.measureField=null,e.measureStartField=null,e.measureEndField=null,e.measureOffsetField=null,e.errorInfoField=null,e.dataReturnOption&&(e.dataReturnOption.destroy(),e.dataReturnOption=null)}}r.GenerateSpatialDataParameters=Fs;class Ds extends ct{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GenerateSpatialDataService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Fs){var t,s=this;t=s.getJsonParameters(e),s.request({method:"POST",data:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}getJsonParameters(e){var t,s="datasets/"+e.routeTable+"/linearreferencing/generatespatialdata";return t=this.url.substr(this.url.length-1,1),this.url+="/"===t?s+".json":"/"+s+".json",this.url+="?returnContent=true",fe.toJSON(e)}}r.GenerateSpatialDataService=Ds;class ks extends lt{constructor(e){super(e),this.bounds=null,this.queryType=ae.GEO_BOUNDING_BOX,this.CLASS_NAME="SuperMap.GeoBoundingBoxQueryBuilderParameter",fe.extend(this,e)}destroy(){super.destroy(),this.bounds=null,this.queryType=null}}r.GeoBoundingBoxQueryBuilderParameter=ks;class Gs extends ht{constructor(e){super(e),this.precision=5,this.aggType=ie.GEOHASH_GRID,fe.extend(this,e),this.CLASS_NAME="SuperMap.GeoHashGridAggParameter"}destroy(){super.destroy(),this.aggType=null}static toJsonParameters(e){var t={aggName:e.aggName,aggFieldName:e.aggFieldName,aggType:e.aggType,precision:e.precision};return e.subAgg&&(t.subAgg=e.subAgg),fe.toJson(t)}}r.GeoHashGridAggParameter=Gs;class Bs extends Xt{constructor(e){super(e),e&&e.operateGeometry&&(this.operateGeometry=e.operateGeometry),e&&e.sourceGeometry&&(this.sourceGeometry=e.sourceGeometry),e&&e.operateGeometries&&(this.operateGeometries=e.operateGeometries),e&&e.sourceGeometries&&(this.sourceGeometries=e.sourceGeometries),e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.GeometryOverlayAnalystParameters"}destroy(){super.destroy();var e=this;e.sourceGeometry&&(e.sourceGeometry.destroy(),e.sourceGeometry=null),e.sourceGeometries&&(e.sourceGeometries.destroy(),e.sourceGeometries=null),e.sourceGeometry&&(e.sourceGeometry.destroy(),e.sourceGeometry=null),e.operateGeometries&&(e.operateGeometries.destroy(),e.operateGeometries=null)}static toObject(e,t){for(var s in e)if("sourceGeometry"===s)t.sourceGeometry=wt.fromGeometry(e.sourceGeometry);else if("sourceGeometries"===s){for(var r=[],i=0;i=0;e--)this.points[e].destroy();this.points=null}}static toObject(e,t){for(var s in e)"clipRegion"===s?t.clipRegion=wt.fromGeometry(e.clipRegion):t[s]=e[s]}}r.GeometryThiessenAnalystParameters=js;class Hs{constructor(e){this.dataset=null,this.sourceFilter=null,this.referenceFilter=null,this.spatialRelationType=null,this.isBorderInside=null,this.returnFeature=null,this.returnGeoRelatedOnly=null,this.startRecord=0,this.expectCount=500,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.GeoRelationAnalystParameters"}destroy(){var e=this;e.sourceFilter&&e.sourceFilter.destroy(),e.sourceFilter=null,e.referenceFilter&&e.referenceFilter.destroy(),e.referenceFilter=null,e.dataset=null,e.spatialRelationType=null,e.isBorderInside=null,e.returnFeature=null,e.returnGeoRelatedOnly=null,e.startRecord=null,e.expectCount=null}}r.GeoRelationAnalystParameters=Hs;class Vs extends ct{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GeoRelationAnalystService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Hs){var t=this,s=t.url.substr(t.url.length-1,1);t.url+="/"===s?"datasets/"+e.dataset+"/georelation":"/datasets/"+e.dataset+"/georelation";var i=r.Util.toJSON(e);t.url+=".json?returnContent=true",t.request({method:"POST",data:i,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}}r.GeoRelationAnalystService=Vs;class Js{constructor(e){this.datasetNames=null,this.returnContent=!0,this.fromIndex=0,this.toIndex=19,this.returnCountOnly=!1,this.maxFeatures=null,this.aggregations=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesParametersBase"}destroy(){var e=this;e.datasetNames=null,e.returnContent=null,e.fromIndex=null,e.toIndex=null,e.maxFeatures=null,e.aggregation&&(e.aggregation=null)}}r.GetFeaturesParametersBase=Js;class zs extends Js{constructor(e){super(e),this.getFeatureMode=zs.getFeatureMode.BOUNDS,this.bounds=null,this.fields=null,this.attributeFilter=null,this.spatialQueryMode=h.CONTAIN,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByBoundsParameters"}destroy(){super.destroy();var e=this;if(e.bounds&&(e.bounds.destroy(),e.bounds=null),e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}static toJsonParameters(e){var t,s,r;return s={leftBottom:{x:e.bounds.left,y:e.bounds.bottom},rightTop:{x:e.bounds.right,y:e.bounds.top}},r={datasetNames:e.datasetNames,getFeatureMode:zs.getFeatureMode.BOUNDS,bounds:s,spatialQueryMode:e.spatialQueryMode},e.fields&&((t=new bt).name=e.datasetNames,t.fields=e.fields,r.queryParameter=t),e.attributeFilter&&(r.attributeFilter=e.attributeFilter,r.getFeatureMode=zs.getFeatureMode.BOUNDS_ATTRIBUTEFILTER),e.maxFeatures&&!isNaN(e.maxFeatures)&&(r.maxFeatures=e.maxFeatures),fe.toJSON(r)}}zs.getFeatureMode={BOUNDS:"BOUNDS",BOUNDS_ATTRIBUTEFILTER:"BOUNDS_ATTRIBUTEFILTER"},r.GetFeaturesByBoundsParameters=zs;class qs extends it{constructor(e,t){super(e,t),t=t||{},this.returnContent=!0,this.fromIndex=0,this.toIndex=19,this.maxFeatures=null,this.format=i.GEOJSON,t&&fe.extend(this,t);var s;t&&t.format&&(this.format=t.format.toUpperCase()),s=this.url.substr(this.url.length-1,1),this.url+="/"==s?"featureResults.json?":"/featureResults.json?",this.CLASS_NAME="SuperMap.GetFeaturesServiceBase"}destroy(){super.destroy();var e=this;e.returnContent=null,e.fromIndex=null,e.toIndex=null,e.maxFeatures=null,e.format=null}processAsync(e){if(e){var t,s=this,r=!0;s.returnContent=e.returnContent,s.fromIndex=e.fromIndex,s.toIndex=e.toIndex,s.maxFeatures=e.maxFeatures,s.returnContent&&(s.url+="returnContent="+s.returnContent,r=!1),null!=s.fromIndex&&null!=s.toIndex&&!isNaN(s.fromIndex)&&!isNaN(s.toIndex)&&s.fromIndex>=0&&s.toIndex>=0&&!r&&(s.url+="&fromIndex="+s.fromIndex+"&toIndex="+s.toIndex),e.returnCountOnly&&(s.url+="&returnCountOnly="+e.returnContent),t=s.getJsonParameters(e),s.request({method:"POST",data:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}serviceProcessCompleted(e){if(e=fe.transformResult(e),this.format===i.GEOJSON&&e.features){var t=new De;e.features=JSON.parse(t.write(e.features))}this.events.triggerEvent("processCompleted",{result:e})}}r.GetFeaturesServiceBase=qs;class Ws extends qs{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByBoundsService"}destroy(){super.destroy()}getJsonParameters(e){return zs.toJsonParameters(e)}}r.GetFeaturesByBoundsService=Ws;class Ys extends Js{constructor(e){super(e),this.bufferDistance=null,this.attributeFilter=null,this.geometry=null,this.fields=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByBufferParameters"}destroy(){super.destroy();var e=this;if(e.bufferDistance=null,e.attributeFilter=null,e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}e.geometry&&(e.geometry.destroy(),e.geometry=null)}static toJsonParameters(e){var t,s,r;return r=wt.fromGeometry(e.geometry),s={datasetNames:e.datasetNames,getFeatureMode:"BUFFER",bufferDistance:e.bufferDistance,geometry:r},e.fields&&((t=new bt).name=e.datasetNames,t.fields=e.fields,s.queryParameter=t),e.attributeFilter&&(s.attributeFilter=e.attributeFilter,s.getFeatureMode="BUFFER_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(s.maxFeatures=e.maxFeatures),fe.toJSON(s)}}r.GetFeaturesByBufferParameters=Ys;class Xs extends qs{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByBufferService"}destroy(){super.destroy()}getJsonParameters(e){if(e instanceof Ys)return r.GetFeaturesByBufferParameters.toJsonParameters(e)}}r.GetFeaturesByBufferService=Xs;class Qs extends Js{constructor(e){super(e),this.getFeatureMode="SPATIAL",this.geometry=null,this.fields=null,this.attributeFilter=null,this.spatialQueryMode=h.CONTAIN,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByGeometryParameters"}destroy(){super.destroy();var e=this;if(e.geometry&&(e.geometry.destroy(),e.geometry=null),e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}static toJsonParameters(e){var t,s,r;return s=wt.fromGeometry(e.geometry),r={datasetNames:e.datasetNames,getFeatureMode:"SPATIAL",geometry:s,spatialQueryMode:e.spatialQueryMode},e.fields&&((t=new bt).name=e.datasetNames,t.fields=e.fields,r.queryParameter=t),e.attributeFilter&&(r.attributeFilter=e.attributeFilter,r.getFeatureMode="SPATIAL_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(r.maxFeatures=e.maxFeatures),fe.toJSON(r)}}r.GetFeaturesByGeometryParameters=Qs;class Ks extends qs{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByGeometryService"}destroy(){super.destroy()}getJsonParameters(e){return Qs.toJsonParameters(e)}}r.GetFeaturesByGeometryService=Ks;class Zs extends Js{constructor(e){super(e),this.getFeatureMode="ID",this.IDs=null,this.fields=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesByIDsParameters"}destroy(){super.destroy();var e=this;if(e.IDs=null,e.getFeatureMode=null,e.fields){for(;e.fields.length>0;)e.fields.pop();e.fields=null}}static toJsonParameters(e){var t,s;return t={datasetNames:e.datasetNames,getFeatureMode:"ID",ids:e.IDs},e.fields&&((s=new bt).name=e.datasetNames,s.fields=e.fields,t.queryParameter=s),fe.toJSON(t)}}r.GetFeaturesByIDsParameters=Zs;class $s extends qs{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesByIDsService"}destroy(){super.destroy()}getJsonParameters(e){return Zs.toJsonParameters(e)}}r.GetFeaturesByIDsService=$s;class er extends Js{constructor(e){super(e),this.getFeatureMode="SQL",this.queryParameter=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetFeaturesBySQLParameters"}destroy(){super.destroy();this.getFeatureMode=null,this.queryParameter&&(this.queryParameter.destroy(),this.queryParameter=null)}static toJsonParameters(e){var t={datasetNames:e.datasetNames,getFeatureMode:"SQL",queryParameter:e.queryParameter};return e.maxFeatures&&!isNaN(e.maxFeatures)&&(t.maxFeatures=e.maxFeatures),e.aggregations&&(t.aggregations=e.aggregations),fe.toJSON(t)}}r.GetFeaturesBySQLParameters=er;class tr extends qs{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.GetFeaturesBySQLService"}destroy(){super.destroy()}getJsonParameters(e){return er.toJsonParameters(e)}}r.GetFeaturesBySQLService=tr;class sr extends it{constructor(e,t){super(e,t),this.datasource=null,this.dataset=null,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.GetFieldsService"}destroy(){super.destroy();this.datasource=null,this.dataset=null}processAsync(){var e=this,t=e.url.substr(e.url.length-1,1),s="datasources/"+e.datasource+"/datasets/"+e.dataset;e.url+="/"==t?s+"/fields.json?":"/"+s+"/fields.json?",e.request({method:"GET",data:null,scope:e,success:e.serviceProcessCompleted,failure:e.serviceProcessFailed})}}r.GetFieldsService=sr;class rr{constructor(e){this.datasetName=null,this.dataSourceName=null,this.X=null,this.Y=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.GetGridCellInfosParameters"}destroy(){this.datasetName=null,this.dataSourceName=null,this.X=null,this.Y=null}}r.GetGridCellInfosParameters=rr;class ir extends it{constructor(e,t){super(e,t),this.datasetName=null,this.dataSourceName=null,this.datasetType=null,this.X=null,this.Y=null,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.GetGridCellInfosService"}destroy(){super.destroy();var e=this;e.X=null,e.Y=null,e.datasetName=null,e.dataSourceName=null,e.datasetType=null}processAsync(e){if(e instanceof rr){fe.extend(this,e);var t=this,s=t.url.substr(t.url.length-1,1);t.url+="/"==s?"datasources/"+t.dataSourceName+"/datasets/"+t.datasetName+".json":"/datasources/"+t.dataSourceName+"/datasets/"+t.datasetName+".json",t.queryRequest(t.getDatasetInfoCompleted,t.getDatasetInfoFailed)}}queryRequest(e,t){this.request({method:"GET",data:null,scope:this,success:e,failure:t})}getDatasetInfoCompleted(e){e=fe.transformResult(e),this.datasetType=e.datasetInfo.type,this.queryGridInfos()}queryGridInfos(){var e=this,t=/\.json/.exec(e.url).index,s=e.url.substring(t),r=e.url.substring(0,e.url.length-s.length);"GRID"==e.datasetType?e.url=r+"/gridValue"+s:e.url=r+"/imageValue"+s,null!=e.X&&null!=e.Y&&(e.url+="?x="+e.X+"&y="+e.Y),e.queryRequest(e.serviceProcessCompleted,e.serviceProcessFailed)}getDatasetInfoFailed(e){this.serviceProcessFailed(e)}}r.GetGridCellInfosService=ir;class ar{constructor(e,t){this.srcData=e,this.targetData=t,this.CLASS_NAME="SuperMap.ThemeMemoryData"}destroy(){this.srcData=null,this.targetData=null}toJSON(){if(this.srcData&&this.targetData){for(var e="",t=Math.min(this.srcData.length,this.targetData.length),s=0;s0&&(e=e.substring(0,e.length-1)),"{"+e+"}"}return null}}r.ThemeMemoryData=ar;class nr{constructor(e,t){if(!e)return this;this.memoryData=null,this.type=e,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.Theme"}destroy(){this.memoryData&&(this.memoryData.destroy(),this.memoryData=null),this.type=null}toServerJSONObject(){}}r.Theme=nr;class or{constructor(e){this.align=C.BASELINECENTER,this.backColor=new Ct(255,255,255),this.foreColor=new Ct(0,0,0),this.backOpaque=!1,this.sizeFixed=!0,this.fontHeight=6,this.fontWidth=0,this.fontWeight=400,this.fontName="Times New Roman",this.bold=!1,this.italic=!1,this.italicAngle=0,this.shadow=!1,this.strikeout=!1,this.outline=!1,this.opaqueRate=0,this.underline=!1,this.rotation=0,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ServerTextStyle"}destroy(){var e=this;e.align=null,e.backColor&&(e.backColor.destroy(),e.backColor=null),e.foreColor&&(e.foreColor.destroy(),e.foreColor=null),e.backOpaque=null,e.sizeFixed=null,e.fontHeight=null,e.fontWidth=null,e.fontWeight=null,e.fontName=null,e.bold=null,e.italic=null,e.italicAngle=null,e.shadow=null,e.strikeout=null,e.outline=null,e.opaqueRate=null,e.underline=null,e.rotation=null}static fromObj(e){var t=new or(e);return fe.copy(t,e),t.backColor=Ct.fromJson(e.backColor),t.foreColor=Ct.fromJson(e.foreColor),t}}r.ServerTextStyle=or;class lr{constructor(e){this.caption=null,this.end=0,this.start=0,this.visible=!0,this.style=new or,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeLabelItem"}destroy(){var e=this;e.caption=null,e.end=null,e.start=null,e.style&&(e.style.destroy(),e.style=null),e.visible=null}static fromObj(e){if(e){var t=new lr;return fe.copy(t,e),t}}}r.ThemeLabelItem=lr;class hr{constructor(e){this.caption=null,this.style=new Tt,this.unique=null,this.visible=!0,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeUniqueItem"}destroy(){var e=this;e.caption=null,e.unique=null,e.style&&(e.style.destroy(),e.style=null),e.visible=null}toServerJSONObject(){var e={};return(e=fe.copyAttributes(e,this)).style&&e.style.toServerJSONObject&&(e.style=e.style.toServerJSONObject()),e}static fromObj(e){var t=new hr;return fe.copy(t,e),t.style=Tt.fromJson(e.style),t}}r.ThemeUniqueItem=hr;class ur{constructor(e){this.flowEnabled=!1,this.leaderLineDisplayed=!1,this.leaderLineStyle=new Tt,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeFlow"}destroy(){var e=this;e.flowEnabled=null,e.leaderLineDisplayed=null,e.leaderLineStyle&&(e.leaderLineStyle.destroy(),e.leaderLineStyle=null)}static fromObj(e){if(e){var t=new ur;return fe.copy(t,e),t.leaderLineStyle=Tt.fromJson(e.leaderLineStyle),t}}}r.ThemeFlow=ur;class cr{constructor(e){this.offsetFixed=!1,this.offsetX="0.0",this.offsetY="0.0",e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeOffset"}destroy(){this.offsetFixed=null,this.offsetX=null,this.offsetY=null}static fromObj(e){if(e){var t=new cr;return fe.copy(t,e),t}}}r.ThemeOffset=cr;class pr{constructor(e){this.defaultStyle=null,this.separator=null,this.separatorEnabled=!1,this.splitIndexes=null,this.styles=new or,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.LabelMixedTextStyle"}destroy(){var e=this;if(e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null),e.separator=null,e.separatorEnabled=null,e.splitIndexes&&(e.splitIndexes=null),e.styles){for(var t=0,s=e.styles,r=s.length;t0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null)}toServerJSONObject(){var e={};if((e=fe.copyAttributes(e,this)).defaultStyle&&e.defaultStyle.toServerJSONObject&&(e.defaultStyle=e.defaultStyle.toServerJSONObject()),e.items){for(var t=[],s=e.items.length,r=0;r0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.rangeExpression=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}static fromObj(e){if(e){var t=new Er;fe.copy(t,e);var s=e.items,r=s?s.length:0;t.items=[];for(var i=0;i0?e[0].subLayers.layers:null)?t.length:0,this.handleLayers(s,t),this.events.triggerEvent("processCompleted",{result:e[0]})}handleLayers(e,t){var s;if(e)for(var r=0;r0)this.handleLayers(t[r].subLayers.layers.length,t[r].subLayers.layers);else switch(t[r].ugcLayerType){case"THEME":(s=new Ir).fromJson(t[r]),t[r]=s;break;case"GRID":(s=new Or).fromJson(t[r]),t[r]=s;break;case"IMAGE":(s=new Rr).fromJson(t[r]),t[r]=s;break;case"VECTOR":(s=new Fr).fromJson(t[r]),t[r]=s}}}}r.GetLayersInfoService=Dr;class kr{constructor(e){e&&(this.bounds=null,this.searchRadius=0,this.zValueFieldName=null,this.zValueScale=1,this.resolution=null,this.filterQueryParameter=null,this.outputDatasetName=null,this.outputDatasourceName=null,this.pixelFormat=z.BIT16,this.dataset=null,this.inputPoints=null,this.InterpolationAnalystType="dataset",this.clipParam=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.InterpolationAnalystParameters")}destroy(){var e=this;e.bounds=null,e.searchRadius=null,e.zValueFieldName=null,e.zValueScale=null,e.resolution=null,e.filterQueryParameter=null,e.outputDatasetName=null,e.pixelFormat=null}static toObject(e,t){for(var s in e)if("inputPoints"===s&&"geometry"===e.InterpolationAnalystType){for(var r=[],i=0;i=200&&e.code<300||0==e.code||304===e.code,s=e.code&&t;!e.code||s?this.events&&this.events.triggerEvent("processCompleted",{result:e}):this.events.triggerEvent("processFailed",{error:e})}}r.MapService=Qr;class Kr{constructor(e){e&&(this.dataset=null,this.extractRegion=null,this.expression=null,this.isZip=!1,this.ignoreNoValue=!1,this.targetDatasource=null,this.resultGridName=null,this.deleteExistResultDataset=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.MathExpressionAnalysisParameters")}destroy(){var e=this;e.dataset=null,e.bounds=null,e.expression=null,e.isZip=!0,e.ignoreNoValue=!0,e.targetDatasource=null,e.resultGridName=null,e.deleteExistResultDataset=null}static toObject(e,t){for(var s in e)if("dataset"!==s&&(t[s]=e[s]),"extractRegion"===s&&e[s]){for(var r=e[s].components[0].components,i={},a=[],n=r.length,o=0;o0&&(r+='"subLayers":'+e.toJSON()),r+=',"visible":true,',r+='"name":"'+this.getMapName(this.mapUrl)+'"',r+="}]",t.request({method:"PUT",data:r,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}}createTempLayerComplete(e){(e=fe.transformResult(e)).succeed&&(this.lastparams.resourceID=e.newResourceID),this.processAsync(this.lastparams)}getMapName(e){var t=e;"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1));var s=t.lastIndexOf("/");return t.substring(s+1,t.length)}serviceProcessCompleted(e){null!=(e=fe.transformResult(e))&&null!=this.lastparams&&(e.newResourceID=this.lastparams.resourceID),this.events.triggerEvent("processCompleted",{result:e})}}r.SetLayerStatusService=Ti;class Mi{constructor(e){e&&(this.datasetName="",this.datasetQuery="",this.geometryQuery="",this.mode=h.CONTAIN,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.SingleObjectQueryJobsParameter")}destroy(){this.datasetName=null,this.datasetQuery=null,this.geometryQuery=null,this.mode=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var s in e)"datasetName"!==s?"output"!==s?(t.analyst=t.analyst||{},t.analyst[s]=e[s]):(t.output=t.output||{},t.output=e[s]):(t.input=t.input||{},t.input[s]=e[s])}}r.SingleObjectQueryJobsParameter=Mi;class _i extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/query",this.CLASS_NAME="SuperMap.SingleObjectQueryJobsService"}destroy(){super.destroy()}getQueryJobs(){super.getJobs(this.url)}getQueryJob(e){super.getJobs(this.url+"/"+e)}addQueryJob(e,t){super.addJob(this.url,e,Mi,t)}}r.SingleObjectQueryJobsService=_i;class wi{constructor(e){e=e||{},this.keyWord=null,this.returnPosition=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.StopQueryParameters"}destroy(){fe.reset(this)}}r.StopQueryParameters=wi;class Ei extends it{constructor(e,t){super(e,t),t=t||{},fe.extend(this,t),this.CLASS_NAME="SuperMap.StopQueryService"}destroy(){super.destroy(),fe.reset(this)}processAsync(e){if(e instanceof wi){var t,s=this;t=s.url.substr(s.url.length-1,1),s.url+="/"===t?"":"/",s.url+="stops/keyword/"+e.keyWord,s.url+=".json?",s.request({method:"GET",params:{returnPosition:e.returnPosition},scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}}r.StopQueryService=Ei;class Ai{constructor(e){e&&(this.datasetName="",this.groupField="",this.attributeField="",this.statisticModes="",this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.SummaryAttributesJobsParameter")}destroy(){this.datasetName=null,this.groupField=null,this.attributeField=null,this.statisticModes=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var s in e)"datasetName"!==s?"output"!==s?(t.analyst=t.analyst||{},t.analyst[s]=e[s]):(t.output=t.output||{},t.output=e[s]):(t.input=t.input||{},t.input[s]=e[s])}}r.SummaryAttributesJobsParameter=Ai;class Pi extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/summaryattributes",this.CLASS_NAME="SuperMap.SummaryAttributesJobsService"}destroy(){super.destroy()}getSummaryAttributesJobs(){super.getJobs(this.url)}getSummaryAttributesJob(e){super.getJobs(this.url+"/"+e)}addSummaryAttributesJob(e,t){super.addJob(this.url,e,Ai,t)}}r.SummaryAttributesJobsService=Pi;class Ni{constructor(e){e&&(this.datasetName="",this.regionDataset="",this.query="",this.resolution=100,this.meshType=0,this.statisticModes=te.AVERAGE,this.fields="",this.type=se.SUMMARYMESH,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.SummaryMeshJobParameter")}destroy(){this.datasetName=null,this.query=null,this.resolution=null,this.statisticModes=null,this.meshType=null,this.fields=null,this.regionDataset=null,this.type=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var s in e)"datasetName"!==s?"type"!==s?"output"!==s?("SUMMARYMESH"===e.type&&"regionDataset"!==s||"SUMMARYREGION"===e.type&&!r(["meshType","resolution","query"],s))&&(t.analyst=t.analyst||{},t.analyst[s]="query"===s?e[s].toBBOX():e[s]):(t.output=t.output||{},t.output=e[s]):t.type=e[s]:(t.input=t.input||{},t.input[s]=e[s]);function r(e,t){for(var s=e.length;s--;)if(e[s]===t)return!0;return!1}}}r.SummaryMeshJobParameter=Ni;class Li extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/aggregatepoints",this.CLASS_NAME="SuperMap.SummaryMeshJobsService"}destroy(){super.destroy()}getSummaryMeshJobs(){super.getJobs(this.url)}getSummaryMeshJob(e){super.getJobs(this.url+"/"+e)}addSummaryMeshJob(e,t){super.addJob(this.url,e,Ni,t)}}r.SummaryMeshJobsService=Li;class Ii{constructor(e){e&&(this.datasetName="",this.regionDataset="",this.sumShape=!0,this.query="",this.standardSummaryFields=!1,this.standardFields="",this.standardStatisticModes="",this.weightedSummaryFields=!1,this.weightedFields="",this.weightedStatisticModes="",this.meshType=0,this.resolution=100,this.meshSizeUnit=ee.METER,this.type=se.SUMMARYMESH,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.SummaryRegionJobParameter")}destroy(){this.datasetName=null,this.sumShape=null,this.regionDataset=null,this.query=null,this.standardSummaryFields=null,this.standardFields=null,this.standardStatisticModes=null,this.weightedSummaryFields=null,this.weightedFields=null,this.weightedStatisticModes=null,this.meshType=null,this.resolution=null,this.meshSizeUnit=null,this.type=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var s in e)"datasetName"!==s?"type"!==s&&"type"!==s?"output"!==s?("SUMMARYREGION"===e.type||"SUMMARYMESH"===e.type&&"regionDataset"!==s)&&(t.analyst=t.analyst||{},t.analyst[s]="query"===s?e[s].toBBOX():e[s]):(t.output=t.output||{},t.output=e[s]):t.type=e[s]:(t.input=t.input||{},t.input[s]=e[s])}}r.SummaryRegionJobParameter=Ii;class Oi extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/summaryregion",this.CLASS_NAME="SuperMap.SummaryRegionJobsService"}destroy(){super.destroy()}getSummaryRegionJobs(){super.getJobs(this.url)}getSummaryRegionJob(e){super.getJobs(this.url+"/"+e)}addSummaryRegionJob(e,t){super.addJob(this.url,e,Ii,t)}}r.SummaryRegionJobsService=Oi;class Ri{constructor(e){this.maxWeight=null,this.nodeID=null,this.resourceValue=null,this.type=null,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.SupplyCenter"}destroy(){this.maxWeight=null,this.nodeID=null,this.resourceValue=null,this.type=null}static fromJson(e){if(e)return new Ri({maxWeight:e.maxWeight,nodeID:e.nodeID,resourceValue:e.resourceValue,type:e.type})}}r.SupplyCenter=Ri;class Fi extends ct{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.SurfaceAnalystService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Zt){var t,s=this;t=s.getJsonParameters(e),s.request({method:"POST",data:t,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}getJsonParameters(e){var t,s="",r={},i=this;if(e instanceof $t)t=i.url.substr(i.url.length-1,1),i.url+="/"===t?"datasets/"+e.dataset+"/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true":"/datasets/"+e.dataset+"/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true",$t.toObject(e,r),s=fe.toJSON(r);else{if(!(e instanceof Us))return;t=i.url.substr(i.url.length-1,1),i.url+="/"===t?"geometry/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true":"/geometry/"+e.surfaceAnalystMethod.toLowerCase()+".json?returnContent=true",s=fe.toJSON(e)}return s}}r.SurfaceAnalystService=Fi;class Di{constructor(e){e&&(this.dataset=null,this.zFactor=1,this.averageCurvatureName=null,this.profileCurvatureName="",this.planCurvatureName="",this.deleteExistResultDataset=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.TerrainCurvatureCalculationParameters")}destroy(){var e=this;e.dataset=null,e.zFactor=1,e.averageCurvatureName=null,e.profileCurvatureName=null,e.planCurvatureName=null,e.deleteExistResultDataset=!0}static toObject(e,t){for(var s in e)"dataset"!==s&&(t[s]=e[s])}}r.TerrainCurvatureCalculationParameters=Di;class ki extends ct{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TerrainCurvatureCalculationService"}destroy(){super.destroy()}processAsync(e){var t=this;"/"!==t.url.substr(t.url.length-1,1)&&(t.url+="/");var s={};e instanceof Di&&(t.url+="datasets/"+e.dataset+"/terraincalculation/curvature"),Di.toObject(e,s);var i=r.Util.toJSON(s);t.url+=".json?returnContent=true",t.request({method:"POST",data:i,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}r.TerrainCurvatureCalculationService=ki;class Gi{constructor(e){this.caption=null,this.color=new Ct,this.end=0,this.start=0,this.visible=!0,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGridRangeItem"}destroy(){var e=this;e.caption=null,e.end=null,e.start=null,e.color&&(e.color.destroy(),e.color=null),e.visible=null}toServerJSONObject(){var e={};return(e=fe.copyAttributes(e,this)).color&&e.color.toServerJSONObject&&(e.color=e.color.toServerJSONObject()),e}static fromObj(e){if(e){var t=new Gi;return fe.copy(t,e),t.color=Ct.fromJson(e.color),t}}}r.ThemeGridRangeItem=Gi;class Bi extends nr{constructor(e){super("GRIDRANGE",e),this.items=null,this.rangeMode=S.EQUALINTERVAL,this.rangeParameter=0,this.colorGradientType=x.YELLOW_RED,this.reverseColor=!1,e&&fe.extend(this,e),this.CLASS_NAME="SuperMap.ThemeGridRange"}destroy(){super.destroy();var e=this;if(e.items){if(e.items.length>0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.reverseColor=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}static fromObj(e){if(e){var t=new Bi;fe.copy(t,e);var s=e.items,r=s?s.length:0;t.items=[];for(var i=0;i0)for(var t in e.items)e.items[t].destroy(),e.items[t]=null;e.items=null}e.defaultcolor&&(e.defaultcolor.destroy(),e.defaultcolor=null)}toServerJSONObject(){var e={};if((e=fe.copyAttributes(e,this)).defaultcolor&&e.defaultcolor.toServerJSONObject&&(e.defaultcolor=e.defaultcolor.toServerJSONObject()),e.items){for(var t=[],s=e.items.length,r=0;r0&&(1===i.length?s+="'displayFilter':\""+i[0]+'",':s+="'displayFilter':\""+i[n]+'",'),(a=e.displayOrderBy)&&a.length>0&&(1===a.length?s+="'displayOrderBy':'"+a[0]+"',":s+="'displayOrderBy':'"+a[n]+"',"),(t=e.fieldValuesDisplayFilter)&&(s+="'fieldValuesDisplayFilter':"+fe.toJSON(t)+","),e.joinItems&&e.joinItems.length>0&&e.joinItems[n]&&(s+="'joinItems':["+fe.toJSON(e.joinItems[n])+"],"),e.datasetNames&&e.dataSourceNames){var l=e.datasetNames[n]?n:e.datasetNames.length-1,h=e.dataSourceNames[n]?n:e.dataSourceNames.length-1;s+="'datasetInfo': {'name': '"+e.datasetNames[l]+"','dataSourceName': '"+e.dataSourceNames[h]+"'}},"}else s+="},"}e.themes&&e.themes.length>0&&(s=s.substring(0,s.length-1)),s+="]},";var u=this.url.split("/");return s+="'name': '"+u[u.length-2]+"'}]"}}r.ThemeService=Ji;class zi extends ct{constructor(e,t){super(e,t),this.mode=null,t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.ThiessenAnalystService"}destroy(){super.destroy(),this.mode=null}processAsync(e){var t={},s=this;"/"!==s.url.substr(s.url.length-1,1)&&(s.url+="/"),e instanceof ts?(s.mode="datasets",s.url+="datasets/"+e.dataset+"/thiessenpolygon",ts.toObject(e,t)):e instanceof js&&(s.mode="geometry",s.url+="geometry/thiessenpolygon",js.toObject(e,t));var r=fe.toJSON(t);s.url+=".json?returnContent=true",s.request({method:"POST",data:r,scope:s,success:s.serviceProcessCompleted,failure:s.serviceProcessFailed})}}r.ThiessenAnalystService=zi;class qi extends ct{constructor(e,t){super(e,t),t&&fe.extend(this,t),this.CLASS_NAME="SuperMap.GeometryBatchAnalystService"}processAsync(e){var t=this;"/"!==t.url.substr(t.url.length-1,1)&&(t.url+="/"),t.url+="geometry/batchanalyst.json?returnContent=true&ignoreAnalystParam=true";var s=t._processParams(e),r=fe.toJSON(s);t.request({method:"POST",data:r,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}_processParams(e){var t=this;if(fe.isArray(e)){var s=[];return e.map(function(e){return s.push(t._toJSON(e)),e}),s}}_toJSON(e){var t={};if("buffer"===e.analystName)t.analystName="buffer",t.param={},Et.toObject(e.param,t.param);else if("overlay"===e.analystName)t.analystName="overlay",t.param={},Bs.toObject(e.param,t.param);else if("interpolationDensity"===e.analystName)t.analystName="interpolationDensity",t.param={},kr.toObject(e.param,t.param);else if("interpolationidw"===e.analystName)t.analystName="interpolationidw",t.param={},kr.toObject(e.param,t.param);else if("interpolationRBF"===e.analystName)t.analystName="interpolationRBF",t.param={},kr.toObject(e.param,t.param);else if("interpolationKriging"===e.analystName)t.analystName="interpolationKriging",t.param={},kr.toObject(e.param,t.param);else{if("thiessenpolygon"!==e.analystName)return e;t.analystName="thiessenpolygon",t.param={},js.toObject(e.param,t.param)}return t}destroy(){super.destroy()}}r.GeometryBatchAnalystService=qi;class Wi extends it{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TilesetsService"}destroy(){super.destroy()}processAsync(){if(this.url){var e=this,t=e.url.substr(e.url.length-1,1);e.url=e.url+("/"===t?"tilesets":"/tilesets")+".json?",e.request({method:"GET",scope:e,success:e.serviceProcessCompleted,failure:e.serviceProcessFailed})}}}r.TilesetsService=Wi;class Yi{constructor(e){e&&(this.datasetName="",this.datasetTopology="",this.tolerance="",this.rule=re.REGIONNOOVERLAP,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.TopologyValidatorJobsParameter")}destroy(){this.datasetName=null,this.datasetTopology=null,this.tolerance=null,this.rule=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var s in e)"datasetName"!==s?"output"!==s?(t.analyst=t.analyst||{},t.analyst[s]=e[s]):(t.output=t.output||{},t.output=e[s]):(t.input=t.input||{},t.input[s]=e[s])}}r.TopologyValidatorJobsParameter=Yi;class Xi extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/topologyvalidator",this.CLASS_NAME="SuperMap.TopologyValidatorJobsService"}destroy(){super.destroy()}getTopologyValidatorJobs(){super.getJobs(this.url)}getTopologyValidatorJob(e){super.getJobs(this.url+"/"+e)}addTopologyValidatorJob(e,t){super.addJob(this.url,e,Yi,t)}}r.TopologyValidatorJobsService=Xi;class Qi{constructor(e){e=e||{},this.lineID=null,this.lineName=null,this.lineAliasName=null,this.startStopIndex=null,this.startStopName=null,this.startStopAliasName=null,this.endStopIndex=null,this.endStopName=null,this.endStopAliasName=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.TransferLine"}destroy(){fe.reset(this)}static fromJson(e){if(e)return new Qi({lineID:e.lineID,lineName:e.lineName,lineAliasName:e.lineAliasName,startStopIndex:e.startStopIndex,startStopName:e.startStopName,startStopAliasName:e.startStopAliasName,endStopIndex:e.endStopIndex,endStopName:e.endStopName,endStopAliasName:e.endStopAliasName})}}r.TransferLine=Qi;class Ki{constructor(e){e=e||{},this.transferLines=null,this.points=!1,fe.extend(this,e),this.CLASS_NAME="SuperMap.TransferPathParameters"}destroy(){fe.reset(this)}static toJson(e){if(e)return fe.toJSON(e)}}r.TransferPathParameters=Ki;class Zi extends it{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TransferPathService"}destroy(){super.destroy()}processAsync(e){if(e instanceof Ki){var t,s,r=this;s=r.url.substr(r.url.length-1,1),r.url+="/"===s?"":"/",r.url+="path.json?",t={points:fe.toJSON(e.points),transferLines:fe.toJSON(e.transferLines)},r.request({method:"GET",params:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}}r.TransferPathService=Zi;class $i{constructor(e){e=e||{},this.solutionCount=6,this.transferPreference=B.NONE,this.transferTactic=G.LESS_TIME,this.walkingRatio=null,this.points=!1,this.evadeLines=null,this.evadeStops=null,this.priorLines=null,this.priorStops=null,this.travelTime=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.TransferSolutionParameters"}destroy(){fe.reset(this)}static toJson(e){if(e)return fe.toJSON(e)}}r.TransferSolutionParameters=$i;class ea extends it{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.TransferSolutionService"}destroy(){super.destroy()}processAsync(e){if(e instanceof $i){var t,s,r=this;s=r.url.substr(r.url.length-1,1),r.url+="/"===s?"":"/",r.url+="solutions.json?",t={points:fe.toJSON(e.points),walkingRatio:e.walkingRatio,transferTactic:e.transferTactic,solutionCount:e.solutionCount,transferPreference:e.transferPreference},e.evadeLines&&(t.evadeLines=fe.toJSON(e.evadeLines)),e.evadeStops&&(t.evadeStops=fe.toJSON(e.evadeStops)),e.priorLines&&(t.priorLines=fe.toJSON(e.priorLines)),e.priorStops&&(t.priorStops=fe.toJSON(e.priorStops)),e.travelTime&&(t.travelTime=e.travelTime),r.request({method:"GET",params:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}}r.TransferSolutionService=ea;class ta{constructor(e){e&&(this.edgeId="",this.fromNodeId="",this.toNodeId="",this.weightField="",this.edgeWeight="",fe.extend(this,e),this.CLASS_NAME="SuperMap.UpdateEdgeWeightParameters")}destroy(){this.edgeId=null,this.fromNodeId=null,this.toNodeId=null,this.weightField=null,this.edgeWeight=null}}r.UpdateEdgeWeightParameters=ta;class sa extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.UpdateEdgeWeightService"}destroy(){super.destroy()}processAsync(e){if(e instanceof ta){var t=this,s=t.url.substr(t.url.length-1,1),r=t.parse(e);"/"===s&&t.url.splice(t.url.length-1,1),t.url=t.url+r+".json?";var i=e.edgeWeight?e.edgeWeight:null;t.request({method:"PUT",scope:t,data:i,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}parse(e){if(e){var t="";for(var s in e)if(""!==e[s]&&"edgeWeight"!==e[s])switch(s){case"edgeId":t+="/edgeweight/"+e[s];break;case"fromNodeId":t+="/fromnode/"+e[s];break;case"toNodeId":t+="/tonode/"+e[s];break;case"weightField":t+="/weightfield/"+e[s]}return t}}}r.UpdateEdgeWeightService=sa;class ra{constructor(e){e&&(this.nodeId="",this.fromEdgeId="",this.toEdgeId="",this.weightField="",this.turnNodeWeight="",fe.extend(this,e),this.CLASS_NAME="SuperMap.UpdateTurnNodeWeightParameters")}destroy(){this.nodeId=null,this.fromEdgeId=null,this.toEdgeId=null,this.weightField=null,this.turnNodeWeight=null}}r.UpdateTurnNodeWeightParameters=ra;class ia extends Rt{constructor(e,t){super(e,t),this.CLASS_NAME="SuperMap.UpdateTurnNodeWeightService"}destroy(){super.destroy()}processAsync(e){if(e instanceof ra){var t=this,s=t.url.substr(t.url.length-1,1),r=t.parse(e);"/"===s&&t.url.splice(t.url.length-1,1),t.url=t.url+r+".json?";var i=e.turnNodeWeight?e.turnNodeWeight:null;t.request({method:"PUT",scope:t,data:i,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}parse(e){if(e){var t="";for(var s in e)if(""!==e[s]&&"turnNodeWeight"!==e[s])switch(s){case"nodeId":t+="/turnnodeweight/"+e[s];break;case"fromEdgeId":t+="/fromedge/"+e[s];break;case"toEdgeId":t+="/toedge/"+e[s];break;case"weightField":t+="/weightfield/"+e[s]}return t}}}r.UpdateTurnNodeWeightService=ia;class aa{constructor(e){e=e||{},this.datasetName="",this.datasetVectorClip="",this.geometryClip="",this.mode=Z.CLIP,this.output=null,fe.extend(this,e),this.CLASS_NAME="SuperMap.VectorClipJobsParameter"}destroy(){this.datasetName=null,this.datasetVectorClip=null,this.geometryClip=null,this.mode=null,this.output instanceof Pt&&(this.output.destroy(),this.output=null)}static toObject(e,t){for(var s in e)"datasetName"!==s?"output"!==s?(t.analyst=t.analyst||{},t.analyst[s]=e[s]):(t.output=t.output||{},t.output=e[s]):(t.input=t.input||{},t.input[s]=e[s])}}r.VectorClipJobsParameter=aa;class na extends Lt{constructor(e,t){super(e,t),this.url+="/spatialanalyst/vectorclip",this.CLASS_NAME="SuperMap.VectorClipJobsService"}destroy(){super.destroy()}getVectorClipJobs(){super.getJobs(this.url)}getVectorClipJob(e){super.getJobs(this.url+"/"+e)}addVectorClipJob(e,t){super.addJob(this.url,e,aa,t)}}r.VectorClipJobsService=na;var oa=r.ServiceStatus={DOES_NOT_INVOLVE:"DOES_NOT_INVOLVE",PUBLISH_FAILED:"PUBLISH_FAILED",PUBLISHED:"PUBLISHED",PUBLISHING:"PUBLISHING",UNPUBLISHED:"UNPUBLISHED",UNPUBLISHED_FAILED:"UNPUBLISHED_FAILED"},la=r.DataItemType={AUDIO:"AUDIO",COLOR:"COLOR",COLORSCHEME:"COLORSCHEME",CSV:"CSV",EXCEL:"EXCEL",FILLSYMBOL:"FILLSYMBOL",IMAGE:"IMAGE",LAYERTEMPLATE:"LAYERTEMPLATE",LAYOUTTEMPLATE:"LAYOUTTEMPLATE",LINESYMBOL:"LINESYMBOL",MAPTEMPLATE:"MAPTEMPLATE",MARKERSYMBOL:"MARKERSYMBOL",MBTILES:"MBTILES",PHOTOS:"PHOTOS",SHP:"SHP",SMTILES:"SMTILES",SVTILES:"SVTILES",THEMETEMPLATE:"THEMETEMPLATE",TPK:"TPK",UDB:"UDB",UGCV5:"UGCV5",UNKNOWN:"UNKNOWN",VIDEO:"VIDEO",WORKENVIRONMENT:"WORKENVIRONMENT",WORKSPACE:"WORKSPACE"},ha=r.DataItemOrderBy={FILENAME:"FILENAME",ID:"ID",LASTMODIFIEDTIME:"LASTMODIFIEDTIME",NICKNAME:"NICKNAME",SERVICESTATUS:"SERVICESTATUS",SIZE:"SIZE",STATUS:"STATUS",TYPE:"TYPE",UPDATETIME:"UPDATETIME",USERNAME:"USERNAME"},ua=r.FilterField={LINKPAGE:"LINKPAGE",MAPTITLE:"MAPTITLE",NICKNAME:"NICKNAME",RESTITLE:"RESTITLE",USERNAME:"USERNAME"};class ca{constructor(e){e=e||{},fe.extend(this,e),this.serverType=a.ONLINE,this.CLASS_NAME="SuperMap.OnlineServiceBase"}request(e,t,s,r){return t=this.createCredentialUrl(t),We.commit(e,t,s,r).then(function(e){return e.json()})}createCredentialUrl(e){var t=e,s=this.getCredential();if(s){var r="key="+s,i=t.substring(t.length-1,t.length);t.indexOf("?")>-1&&"?"===i?t+=r:t.indexOf("?")>-1&&"?"!==i?t+="&"+r:t+="?"+r}return t}getCredential(){}}r.OnlineServiceBase=ca;class pa extends ca{constructor(e,t){super(e),t=t||{},this.MD5=null,this.type=null,this.userName=null,this.fileName=null,this.size=null,this.serviceStatus=null,this.serviceId=null,this.id=null,this.lastModfiedTime=null,this.status=null,this.storageId=null,this.publishInfo=null,this.authorizeSetting=null,this.nickname=null,this.tags=[],this.description=null,this.dataItemServices=null,this.coordType=null,this.dataCheckResult=null,this.dataMetaInfo=null,this.thumbnail=null,fe.extend(this,t),this.id&&(this.serviceUrl=e+"/"+this.id),this.CLASS_NAME="SuperMap.OnlineData"}load(){if(this.serviceUrl){var e=this;return e.request("GET",this.serviceUrl).then(function(t){fe.extend(e,t)})}}getPublishedServices(){return this.dataItemServices}getAuthorizeSetting(){return this.authorizeSetting}}r.OnlineData=pa;class da{constructor(){this.rootUrl="http://www.supermapol.com",this.webUrl=this.rootUrl+"/web";var e=this.webUrl+"/mycontent";this.mDatasUrl=e+"/datas",this.CLASS_NAME="SuperMap.Online"}load(){return We.get(this.rootUrl).then(function(e){return e})}login(){Ye.loginOnline(this.rootUrl,!0)}queryDatas(e){var t=this,s=t.mDatasUrl;return e&&(e=e.toJSON()),We.get(s,e).then(function(e){if(e&&e.content&&!(e.content.length<1)){for(var s=[],r=e.content,i=r.length,a=0;at.geoFence.radius&&(t.outOfGeoFence&&t.outOfGeoFence(e),t.events.triggerEvent("outOfGeoFence",{data:e})),s})}_distance(e,t,s,r){return Math.sqrt((e-s)*(e-s)+(t-r)*(t-r))}_getMeterPerMapUnit(e){let t;return"meter"===e?t=1:"degree"===e&&(t=2*Math.PI*6378137/360),t}}r.ElasticSearch=ba;var xa=s(32),Ca=s.n(xa);class Ta{constructor(e){this.env=null,this.parser=null,this.ruleSet=null,this.cartoStr="",this.shaders=null,"string"==typeof e&&(this.cartoStr=e,this.env={frames:[],errors:[],error:function(e){this.errors.push(e)}},this.parser=this.getParser(this.env),this.parse(e),this.shaders=this.toShaders())}getParser(e){var t,s,i,a,n,o,l,h,u,c=this;function p(){a=l[i],n=s,h=s}function d(){l[i]=a,h=s=n}function f(){s>h&&(l[i]=l[i].slice(s-h),h=s)}function m(e){var r,a,n,o;if(e instanceof Function)return e.call(u.parsers);if("string"==typeof e)r=t.charAt(s)===e?e:null,a=1,f();else{if(f(),!(r=e.exec(l[i])))return null;a=r[0].length}if(r){var c=s+=a;for(o=s+l[i].length-a;s=0&&"\n"!==r.charAt(n);n--)s.column++;return new Error([s.filename,s.line,s.column,s.message].join(";"))}return this.env=e=e||{},this.env.filename=this.env.filename||null,this.env.inputs=this.env.inputs||{},u={parse:function(a){var n,u=null;if(s=i=h=o=0,l=[],t=a.replace(/\r\n/g,"\n"),e.filename&&(c.env.inputs[e.filename]=t),l=function(e){for(var s,r,i,a,n=0,o=/(?:@\{[\w-]+\}|[^"'`\{\}\/\(\)\\])+/g,l=/\/\*(?:[^*]|\*+[^\/*])*\*+\/|\/\/.*/g,h=/"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'|`((?:[^`]|\\.)*)`/g,c=0,p=e[0],d=0;d0?"missing closing `}`":"missing opening `{`"}),e.map(function(e){return e.join("")})}([[]]),u)throw y(u);var p=function(e,t){var s=e.specificity,r=t.specificity;return s[0]!=r[0]?r[0]-s[0]:s[1]!=r[1]?r[1]-s[1]:s[2]!=r[2]?r[2]-s[2]:r[3]-s[3]};return(n=new r.CartoCSS.Tree.Ruleset([],m(this.parsers.primary))).root=!0,n.toList=function(e){e.error=function(t){e.errors||(e.errors=new Error("")),e.errors.message?e.errors.message+="\n"+y(t).message:e.errors.message=y(t).message},e.frames=e.frames||[];var t=this.flatten([],[],e);return t.sort(p),t},n},parsers:{primary:function(){for(var e,t=[];(e=m(this.rule)||m(this.ruleset)||m(this.comment))||m(/^[\s\n]+/)||(e=m(this.invalid));)e&&t.push(e);return t},invalid:function(){var e=m(/^[^;\n]*[;\n]/);if(e)return new r.CartoCSS.Tree.Invalid(e,n)},comment:function(){var e;if("/"===t.charAt(s))return"/"===t.charAt(s+1)?new r.CartoCSS.Tree.Comment(m(/^\/\/.*/),!0):(e=m(/^\/\*(?:[^*]|\*+[^\/*])*\*+\/\n?/))?new r.CartoCSS.Tree.Comment(e):void 0},entities:{quoted:function(){if('"'===t.charAt(s)||"'"===t.charAt(s)){var e=m(/^"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'/);return e?new r.CartoCSS.Tree.Quoted(e[1]||e[2]):void 0}},field:function(){if(m("[")){var e=m(/(^[^\]]+)/);if(m("]"))return e?new r.CartoCSS.Tree.Field(e[1]):void 0}},comparison:function(){var e=m(/^=~|=|!=|<=|>=|<|>/);if(e)return e},keyword:function(){var e=m(/^[A-Za-z\u4e00-\u9fa5-]+[A-Za-z-0-9\u4e00-\u9fa5_]*/);if(e)return new r.CartoCSS.Tree.Keyword(e)},call:function(){var e,t;if(e=/^([\w\-]+|%)\(/.exec(l[i])){if("url"===(e=e[1]))return null;s+=e.length;if(m("("),t=m(this.entities.arguments),m(")"))return e?new r.CartoCSS.Tree.Call(e,t,s):void 0}},arguments:function(){for(var e,t=[];e=m(this.expression);){t.push(e);if(!m(","))break}return t},literal:function(){return m(this.entities.dimension)||m(this.entities.keywordcolor)||m(this.entities.hexcolor)||m(this.entities.quoted)},url:function(){var e;if("u"===t.charAt(s)&&m(/^url\(/)){e=m(this.entities.quoted)||m(this.entities.variable)||m(/^[\-\w%@$\/.&=:;#+?~]+/)||"";return m(")")?new r.CartoCSS.Tree.URL(void 0!==e.value||e instanceof r.CartoCSS.Tree.Variable?e:new r.CartoCSS.Tree.Quoted(e)):new r.CartoCSS.Tree.Invalid(e,n,"Missing closing ) in URL.")}},variable:function(){var i,a=s;if("@"===t.charAt(s)&&(i=m(/^@[\w-]+/)))return new r.CartoCSS.Tree.Variable(i,a,e.filename)},hexcolor:function(){var e;if("#"===t.charAt(s)&&(e=m(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})/)))return new r.CartoCSS.Tree.Color(e[1])},keywordcolor:function(){var e=l[i].match(/^[a-z]+/);if(e&&e[0]in r.CartoCSS.Tree.Reference.data.colors)return new r.CartoCSS.Tree.Color(r.CartoCSS.Tree.Reference.data.colors[m(/^[a-z]+/)])},dimension:function(){var e=t.charCodeAt(s);if(!(e>57||e<45||47===e)){var i=m(/^(-?\d*\.?\d+(?:[eE][-+]?\d+)?)(\%|\w+)?/);return i?new r.CartoCSS.Tree.Dimension(i[1],i[2],n):void 0}}},variable:function(){var e;if("@"===t.charAt(s)&&(e=m(/^(@[\w-]+)\s*:/)))return e[1]},entity:function(){var e=m(this.entities.call)||m(this.entities.literal),t=m(this.entities.field)||m(this.entities.variable),s=m(this.entities.url)||m(this.entities.keyword);return e||t||s},end:function(){var e;return m(";")||("string"==typeof(e="}")?t.charAt(s)===e:!!e.test(l[i]))},element:function(){var e=m(/^(?:[.#][\w\u4e00-\u9fa5\-]+|\*|Map)/);if(e)return new r.CartoCSS.Tree.Element(e)},attachment:function(){var e=m(/^::([\w\-]+(?:\/[\w\-]+)*)/);if(e)return e[1]},selector:function(){for(var e,i,a,o,l,h=[],u=new r.CartoCSS.Tree.Filterset,c=[],p=0,d=0;(a=m(this.element))||(l=m(this.zoom))||(o=m(this.filter))||(e=m(this.attachment));){if(p++,a)h.push(a);else if(l)c.push(l),d++;else if(o){var f=u.add(o);if(f)throw y({message:f,index:s-1});d++}else{if(i)throw y({message:"Encountered second attachment name.",index:s-1});i=e}var g=t.charAt(s);if("{"===g||"}"===g||";"===g||","===g)break}if(p)return new r.CartoCSS.Tree.Selector(u,c,h,i,d,n)},filter:function(){p();var t,s,i;if(m("[")&&(t=m(/^[a-zA-Z0-9\-_]+/)||m(this.entities.quoted)||m(this.entities.variable)||m(this.entities.keyword)||m(this.entities.field))&&(t instanceof r.CartoCSS.Tree.Quoted&&(t=new r.CartoCSS.Tree.Field(t.toString())),(s=m(this.entities.comparison))&&(i=m(this.entities.quoted)||m(this.entities.variable)||m(this.entities.dimension)||m(this.entities.keyword)||m(this.entities.field)))){if(!m("]"))throw y({message:"Missing closing ] of filter.",index:n-1});return t.is||(t=new r.CartoCSS.Tree.Field(t)),new r.CartoCSS.Tree.Filter(t,s,i,n,e.filename)}},zoom:function(){p();var e,t;if(m(/^\[\s*zoom/g)&&(e=m(this.entities.comparison))&&(t=m(this.entities.variable)||m(this.entities.dimension))&&m("]"))return new r.CartoCSS.Tree.Zoom(e,t,n);d()},block:function(){var e;if(m("{")&&(e=m(this.primary))&&m("}"))return e},ruleset:function(){var e,t,s=[];for(p();e=m(this.selector);){for(s.push(e);m(this.comment););if(!m(","))break;for(;m(this.comment););}if(e)for(;m(this.comment););if(s.length>0&&(t=m(this.block))){if(1===s.length&&s[0].elements.length&&"Map"===s[0].elements[0].value){var i=new r.CartoCSS.Tree.Ruleset(s,t);return i.isMap=!0,i}return new r.CartoCSS.Tree.Ruleset(s,t)}d()},rule:function(){var i,a,l=t.charAt(s);if(p(),"."!==l&&"#"!==l&&(i=m(this.variable)||m(this.property))){if((a=m(this.value))&&m(this.end))return new r.CartoCSS.Tree.Rule(i,a,n,e.filename);o=s,d()}},font:function(){for(var e,t=[],s=[];e=m(this.entity);)s.push(e);if(t.push(new r.CartoCSS.Tree.Expression(s)),m(","))for(;(e=m(this.expression))&&(t.push(e),m(",")););return new r.CartoCSS.Tree.Value(t)},value:function(){for(var e,t=[];(e=m(this.expression))&&(t.push(e),m(",")););return t.length>1?new r.CartoCSS.Tree.Value(t.map(function(e){return e.value[0]})):1===t.length?new r.CartoCSS.Tree.Value(t):void 0},sub:function(){var e;if(m("(")&&(e=m(this.expression))&&m(")"))return e},multiplication:function(){var e,t,s,i;if(e=m(this.operand)){for(;(s=m("/")||m("*")||m("%"))&&(t=m(this.operand));)i=new r.CartoCSS.Tree.Operation(s,[i||e,t],n);return i||e}},addition:function(){var e,i,a,o;if(e=m(this.multiplication)){for(;(a=m(/^[-+]\s+/)||" "!=t.charAt(s-1)&&(m("+")||m("-")))&&(i=m(this.multiplication));)o=new r.CartoCSS.Tree.Operation(a,[o||e,i],n);return o||e}},operand:function(){return m(this.sub)||m(this.entity)},expression:function(){for(var e,t=[];e=m(this.addition)||m(this.entity);)t.push(e);if(t.length>0)return new r.CartoCSS.Tree.Expression(t)},property:function(){var e=m(/^(([a-z][-a-z_0-9]*\/)?\*?-?[-a-z_0-9]+)\s*:/);if(e)return e[1]}}}}parse(e){var t=this.parser;return this.ruleSet=t.parse(e)}toShaders(){if(this.ruleSet){var e=this.ruleSet;if(e){var t=e.toList(this.env);t.reverse();var s={},r=[];this._toShaders(s,r,t);for(var i=[],a={},n=0,o=t.length;n=0){if(!t.featureFilter){var a=i+r.length,n=s.indexOf(")",a+1),o="featureId&&(featureId"+s.substring(a,n)+")";Object.defineProperty(t,"featureFilter",{configurable:!0,enumerable:!1,value:function(e){return!!o}})}return{property:d,getValue:Function("attributes","zoom","seftFilter","var _value = null; var isExcute=typeof seftFilter=='function'?sefgFilter():seftFilter;if(isExcute){"+s+";} return _value; ")}}return{property:d,getValue:Function("attributes","zoom","var _value = null;"+s+"; return _value; ")}}(u[d],c);Object.defineProperty(c,"attachment",{configurable:!0,enumerable:!1,value:h}),Object.defineProperty(c,"elements",{configurable:!0,enumerable:!1,value:l.elements}),i.push(c),a[r[n]]=!0}Object.defineProperty(c,"zoom",{configurable:!0,enumerable:!1,value:l.zoom})}return i}}return null}_toShaders(e,t,s){for(let i=0,a=s.length;i= minzoom - 1e-6 and scale < maxzoom + 1e-6"},maxzoom:{"default-value":"1.79769e+308",type:"float","default-meaning":"The layer will be visible at the maximum possible scale",doc:"The maximum scale denominator that this layer will be visible at. The default is the numeric limit of the C++ double type, which may vary slightly by system, but is likely a massive number like 1.79769e+308 and ensures that this layer will always be visible unless the value is reduced. A layer's visibility is determined by whether its status is true and if the Map scale >= minzoom - 1e-6 and scale < maxzoom + 1e-6"},queryable:{"default-value":!1,type:"boolean","default-meaning":"The layer will not be available for the direct querying of data values",doc:"This property was added for GetFeatureInfo/WMS compatibility and is rarely used. It is off by default meaning that in a WMS context the layer will not be able to be queried unless the property is explicitly set to true"},"clear-label-cache":{"default-value":!1,type:"boolean","default-meaning":"The renderer's collision detector cache (used for avoiding duplicate labels and overlapping markers) will not be cleared immediately before processing this layer",doc:"This property, by default off, can be enabled to allow a user to clear the collision detector cache before a given layer is processed. This may be desirable to ensure that a given layers data shows up on the map even if it normally would not because of collisions with previously rendered labels or markers"},"group-by":{"default-value":"",type:"string","default-meaning":"No special layer grouping will be used during rendering",doc:"https://github.com/mapnik/mapnik/wiki/Grouped-rendering"},"buffer-size":{"default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:"Extra tolerance around the Layer extent (in pixels) used to when querying and (potentially) clipping the layer data during rendering"},"maximum-extent":{"default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query this specific layer data during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Layer."}},symbolizers:{"*":{"image-filters":{css:"image-filters","default-value":"none","default-meaning":"no filters",type:"functions",functions:[["agg-stack-blur",2],["emboss",0],["blur",0],["gray",0],["sobel",0],["edge-detect",0],["x-gradient",0],["y-gradient",0],["invert",0],["sharpen",0]],doc:"A list of image filters."},"comp-op":{css:"comp-op","default-value":"src-over","default-meaning":"add the current layer on top of other layers",doc:"Composite operation. This defines how this layer should behave relative to layers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]},opacity:{css:"opacity",type:"float",doc:"An alpha value for the style (which means an alpha applied to all features in separate buffer and then composited back to main buffer)","default-value":1,"default-meaning":"no separate buffer will be used and no alpha will be applied to the style after rendering"}},map:{"background-color":{css:"background-color","default-value":"none","default-meaning":"transparent",type:"color",doc:"Map Background color"},"background-image":{css:"background-image",type:"uri","default-value":"","default-meaning":"transparent",doc:"An image that is repeated below all features on a map as a background.",description:"Map Background image"},srs:{css:"srs",type:"string","default-value":"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs","default-meaning":"The proj4 literal of EPSG:4326 is assumed to be the Map's spatial reference and all data from layers within this map will be plotted using this coordinate system. If any layers do not declare an srs value then they will be assumed to be in the same srs as the Map and not transformations will be needed to plot them in the Map's coordinate space",doc:"Map spatial reference (proj4 string)"},"buffer-size":{css:"buffer-size","default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:'Extra tolerance around the map (in pixels) used to ensure labels crossing tile boundaries are equally rendered in each tile (e.g. cut in each tile). Not intended to be used in combination with "avoid-edges".'},"maximum-extent":{css:"","default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query all layers during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Map."},base:{css:"base","default-value":"","default-meaning":"This base path defaults to an empty string meaning that any relative paths to files referenced in styles or layers will be interpreted relative to the application process.",type:"string",doc:"Any relative paths used to reference files will be understood as relative to this directory path if the map is loaded from an in memory object rather than from the filesystem. If the map is loaded from the filesystem and this option is not provided it will be set to the directory of the stylesheet."},"paths-from-xml":{css:"","default-value":!0,"default-meaning":"Paths read from XML will be interpreted from the location of the XML",type:"boolean",doc:"value to control whether paths in the XML will be interpreted from the location of the XML or from the working directory of the program that calls load_map()"},"minimum-version":{css:"","default-value":"none","default-meaning":"Mapnik version will not be detected and no error will be thrown about compatibility",type:"string",doc:"The minumum Mapnik version (e.g. 0.7.2) needed to use certain functionality in the stylesheet"},"font-directory":{css:"font-directory",type:"uri","default-value":"none","default-meaning":"No map-specific fonts will be registered",doc:"Path to a directory which holds fonts which should be registered when the Map is loaded (in addition to any fonts that may be automatically registered)."}},polygon:{fill:{css:"polygon-fill",type:"color","default-value":"rgba(128,128,128,1)","default-meaning":"gray and fully opaque (alpha = 1), same as rgb(128,128,128)",doc:"Fill color to assign to a polygon"},"fill-opacity":{css:"polygon-opacity",type:"float",doc:"The opacity of the polygon","default-value":1,"default-meaning":"opaque"},gamma:{css:"polygon-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon edges"},"gamma-method":{css:"polygon-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},clip:{css:"polygon-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},line:{stroke:{css:"line-color","default-value":"rgba(0,0,0,1)",type:"color","default-meaning":"black and fully opaque (alpha = 1), same as rgb(0,0,0)",doc:"The color of a drawn line"},"stroke-width":{css:"line-width","default-value":1,type:"float",doc:"The width of a line in pixels"},"stroke-opacity":{css:"line-opacity","default-value":1,type:"float","default-meaning":"opaque",doc:"The opacity of a line"},"stroke-linejoin":{css:"line-join","default-value":"miter",type:["miter","round","bevel"],doc:"The behavior of lines when joining"},"stroke-linecap":{css:"line-cap","default-value":"butt",type:["butt","round","square"],doc:"The display of line endings"},"stroke-gamma":{css:"line-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of stroke line"},"stroke-gamma-method":{css:"line-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},"stroke-dasharray":{css:"line-dasharray",type:"numbers",doc:"A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported for more complex patterns.","default-value":"none","default-meaning":"solid line"},"stroke-dashoffset":{css:"line-dash-offset",type:"numbers",doc:"valid parameter but not currently used in renderers (only exists for experimental svg support in Mapnik which is not yet enabled)","default-value":"none","default-meaning":"solid line"},"stroke-miterlimit":{css:"line-miterlimit",type:"float",doc:"The limit on the ratio of the miter length to the stroke-width. Used to automatically convert miter joins to bevel joins for sharp angles to avoid the miter extending beyond the thickness of the stroking path. Normally will not need to be set, but a larger value can sometimes help avoid jaggy artifacts.","default-value":4,"default-meaning":"Will auto-convert miters to bevel line joins when theta is less than 29 degrees as per the SVG spec: 'miterLength / stroke-width = 1 / sin ( theta / 2 )'"},clip:{css:"line-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},offset:{css:"line-offset",type:"float","default-value":0,"default-meaning":"no offset",doc:"Offsets a line a number of pixels parallel to its actual path. Postive values move the line left, negative values move it right (relative to the directionality of the line)."},rasterizer:{css:"line-rasterizer",type:["full","fast"],"default-value":"full",doc:"Exposes an alternate AGG rendering method that sacrifices some accuracy for speed."},"geometry-transform":{css:"line-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},markers:{file:{css:"marker-file",doc:"An SVG file that this marker shows at each placement. If no file is given, the marker will show an ellipse.","default-value":"","default-meaning":"An ellipse or circle, if width equals height",type:"uri"},opacity:{css:"marker-opacity",doc:"The overall opacity of the marker, if set, overrides both the opacity of both the fill and stroke","default-value":1,"default-meaning":"The stroke-opacity and fill-opacity will be used",type:"float"},"fill-opacity":{css:"marker-fill-opacity",doc:"The fill opacity of the marker","default-value":1,"default-meaning":"opaque",type:"float"},stroke:{css:"marker-line-color",doc:"The color of the stroke around a marker shape.","default-value":"black",type:"color"},"stroke-width":{css:"marker-line-width",doc:"The width of the stroke around a marker shape, in pixels. This is positioned on the boundary, so high values can cover the area itself.",type:"float"},"stroke-opacity":{css:"marker-line-opacity","default-value":1,"default-meaning":"opaque",doc:"The opacity of a line",type:"float"},placement:{css:"marker-placement",type:["point","line","interior"],"default-value":"point","default-meaning":"Place markers at the center point (centroid) of the geometry",doc:"Attempt to place markers on a point, in the center of a polygon, or if markers-placement:line, then multiple times along a line. 'interior' placement can be used to ensure that points placed on polygons are forced to be inside the polygon interior"},"multi-policy":{css:"marker-multi-policy",type:["each","whole","largest"],"default-value":"each","default-meaning":"If a feature contains multiple geometries and the placement type is either point or interior then a marker will be rendered for each",doc:"A special setting to allow the user to control rendering behavior for 'multi-geometries' (when a feature contains multiple geometries). This setting does not apply to markers placed along lines. The 'each' policy is default and means all geometries will get a marker. The 'whole' policy means that the aggregate centroid between all geometries will be used. The 'largest' policy means that only the largest (by bounding box areas) feature will get a rendered marker (this is how text labeling behaves by default)."},"marker-type":{css:"marker-type",type:["arrow","ellipse"],"default-value":"ellipse",doc:"The default marker-type. If a SVG file is not given as the marker-file parameter, the renderer provides either an arrow or an ellipse (a circle if height is equal to width)"},width:{css:"marker-width","default-value":10,doc:"The width of the marker, if using one of the default types.",type:"expression"},height:{css:"marker-height","default-value":10,doc:"The height of the marker, if using one of the default types.",type:"expression"},fill:{css:"marker-fill","default-value":"blue",doc:"The color of the area of the marker.",type:"color"},"allow-overlap":{css:"marker-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping markers are shown or hidden.","default-meaning":"Do not allow makers to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"marker-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},spacing:{css:"marker-spacing",doc:"Space between repeated labels","default-value":100,type:"float"},"max-error":{css:"marker-max-error",type:"float","default-value":.2,doc:"The maximum difference between actual marker placement and the marker-spacing parameter. Setting a high value can allow the renderer to try to resolve placement conflicts with other symbolizers."},transform:{css:"marker-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},clip:{css:"marker-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"marker-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"marker-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"marker-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},shield:{name:{css:"shield-name",type:"expression",serialization:"content",doc:'Value to use for a shield"s text label. Data columns are specified using brackets like [column_name]'},file:{css:"shield-file",required:!0,type:"uri","default-value":"none",doc:"Image file to render behind the shield text"},"face-name":{css:"shield-face-name",type:"string",validate:"font",doc:"Font name and style to use for the shield text","default-value":"",required:!0},"unlock-image":{css:"shield-unlock-image",type:"boolean",doc:"This parameter should be set to true if you are trying to position text beside rather than on top of the shield image","default-value":!1,"default-meaning":"text alignment relative to the shield image uses the center of the image as the anchor for text positioning."},size:{css:"shield-size",type:"float",doc:"The size of the shield text in pixels"},fill:{css:"shield-fill",type:"color",doc:"The color of the shield text"},placement:{css:"shield-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"How this shield should be placed. Point placement attempts to place it on top of points, line places along lines multiple times per feature, vertex places on the vertexes of polygons, and interior attempts to place inside of polygons."},"avoid-edges":{css:"shield-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.",type:"boolean","default-value":!1},"allow-overlap":{css:"shield-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping shields are shown or hidden.","default-meaning":"Do not allow shields to overlap with other map elements already placed."},"minimum-distance":{css:"shield-min-distance",type:"float","default-value":0,doc:"Minimum distance to the next shield symbol, not necessarily the same shield."},spacing:{css:"shield-spacing",type:"float","default-value":0,doc:"The spacing between repeated occurrences of the same shield on a line"},"minimum-padding":{css:"shield-min-padding","default-value":0,doc:"Determines the minimum amount of padding that a shield gets relative to other shields",type:"float"},"wrap-width":{css:"shield-wrap-width",type:"unsigned","default-value":0,doc:"Length of a chunk of text in characters before wrapping text"},"wrap-before":{css:"shield-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"shield-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long names."},"halo-fill":{css:"shield-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"shield-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},"character-spacing":{css:"shield-character-spacing",type:"unsigned","default-value":0,doc:"Horizontal spacing between characters (in pixels). Currently works for point placement only, not line placement."},"line-spacing":{css:"shield-line-spacing",doc:"Vertical spacing between lines of multiline labels (in pixels)",type:"unsigned"},dx:{css:"shield-text-dx",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"shield-text-dy",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"shield-dx":{css:"shield-dx",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},"shield-dy":{css:"shield-dy",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},opacity:{css:"shield-opacity",type:"float",doc:"(Default 1.0) - opacity of the image used for the shield","default-value":1},"text-opacity":{css:"shield-text-opacity",type:"float",doc:"(Default 1.0) - opacity of the text placed on top of the shield","default-value":1},"horizontal-alignment":{css:"shield-horizontal-alignment",type:["left","middle","right","auto"],doc:"The shield's horizontal alignment from its centerpoint","default-value":"auto"},"vertical-alignment":{css:"shield-vertical-alignment",type:["top","middle","bottom","auto"],doc:"The shield's vertical alignment from its centerpoint","default-value":"middle"},"text-transform":{css:"shield-text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"justify-alignment":{css:"shield-justify-alignment",type:["left","center","right","auto"],doc:"Define how text in a shield's label is justified","default-value":"auto"},clip:{css:"shield-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"shield-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"line-pattern":{file:{css:"line-pattern-file",type:"uri","default-value":"none",required:!0,doc:"An image file to be repeated and warped along a line"},clip:{css:"line-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"line-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"polygon-pattern":{file:{css:"polygon-pattern-file",type:"uri","default-value":"none",required:!0,doc:"Image to use as a repeated pattern fill within a polygon"},alignment:{css:"polygon-pattern-alignment",type:["local","global"],"default-value":"local",doc:"Specify whether to align pattern fills to the layer or to the map."},gamma:{css:"polygon-pattern-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon pattern edges"},opacity:{css:"polygon-pattern-opacity",type:"float",doc:"(Default 1.0) - Apply an opacity level to the image used for the pattern","default-value":1,"default-meaning":"The image is rendered without modifications"},clip:{css:"polygon-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},raster:{opacity:{css:"raster-opacity","default-value":1,"default-meaning":"opaque",type:"float",doc:"The opacity of the raster symbolizer on top of other symbolizers."},"filter-factor":{css:"raster-filter-factor","default-value":-1,"default-meaning":"Allow the datasource to choose appropriate downscaling.",type:"float",doc:"This is used by the Raster or Gdal datasources to pre-downscale images using overviews. Higher numbers can sometimes cause much better scaled image output, at the cost of speed."},scaling:{css:"raster-scaling",type:["near","fast","bilinear","bilinear8","bicubic","spline16","spline36","hanning","hamming","hermite","kaiser","quadric","catrom","gaussian","bessel","mitchell","sinc","lanczos","blackman"],"default-value":"near",doc:"The scaling algorithm used to making different resolution versions of this raster layer. Bilinear is a good compromise between speed and accuracy, while lanczos gives the highest quality."},"mesh-size":{css:"raster-mesh-size","default-value":16,"default-meaning":"Reprojection mesh will be 1/16 of the resolution of the source image",type:"unsigned",doc:"A reduced resolution mesh is used for raster reprojection, and the total image size is divided by the mesh-size to determine the quality of that mesh. Values for mesh-size larger than the default will result in faster reprojection but might lead to distortion."},"comp-op":{css:"raster-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},point:{file:{css:"point-file",type:"uri",required:!1,"default-value":"none",doc:"Image file to represent a point"},"allow-overlap":{css:"point-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping points are shown or hidden.","default-meaning":"Do not allow points to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"point-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},opacity:{css:"point-opacity",type:"float","default-value":1,"default-meaning":"Fully opaque",doc:"A value from 0 to 1 to control the opacity of the point"},placement:{css:"point-placement",type:["centroid","interior"],doc:"How this point should be placed. Centroid calculates the geometric center of a polygon, which can be outside of it, while interior always places inside of a polygon.","default-value":"centroid"},transform:{css:"point-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},"comp-op":{css:"point-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},text:{name:{css:"text-name",type:"expression",required:!0,"default-value":"",serialization:"content",doc:"Value to use for a text label. Data columns are specified using brackets like [column_name]"},"face-name":{css:"text-face-name",type:"string",validate:"font",doc:"Font name and style to render a label in",required:!0},size:{css:"text-size",type:"float","default-value":10,doc:"Text size in pixels"},"text-ratio":{css:"text-ratio",doc:"Define the amount of text (of the total) present on successive lines when wrapping occurs","default-value":0,type:"unsigned"},"wrap-width":{css:"text-wrap-width",doc:"Length of a chunk of text in characters before wrapping text","default-value":0,type:"unsigned"},"wrap-before":{css:"text-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"text-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long text."},spacing:{css:"text-spacing",type:"unsigned",doc:"Distance between repeated text labels on a line (aka. label-spacing)"},"character-spacing":{css:"text-character-spacing",type:"float","default-value":0,doc:"Horizontal spacing adjustment between characters in pixels"},"line-spacing":{css:"text-line-spacing","default-value":0,type:"unsigned",doc:"Vertical spacing adjustment between lines in pixels"},"label-position-tolerance":{css:"text-label-position-tolerance","default-value":0,type:"unsigned",doc:"Allows the label to be displaced from its ideal position by a number of pixels (only works with placement:line)"},"max-char-angle-delta":{css:"text-max-char-angle-delta",type:"float","default-value":"22.5",doc:"The maximum angle change, in degrees, allowed between adjacent characters in a label. This value internally is converted to radians to the default is 22.5*math.pi/180.0. The higher the value the fewer labels will be placed around around sharp corners."},fill:{css:"text-fill",doc:"Specifies the color for the text","default-value":"#000000",type:"color"},opacity:{css:"text-opacity",doc:"A number from 0 to 1 specifying the opacity for the text","default-value":1,"default-meaning":"Fully opaque",type:"float"},"halo-fill":{css:"text-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"text-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},dx:{css:"text-dx",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"text-dy",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"vertical-alignment":{css:"text-vertical-alignment",type:["top","middle","bottom","auto"],doc:"Position of label relative to point position.","default-value":"auto","default-meaning":'Default affected by value of dy; "bottom" for dy>0, "top" for dy<0.'},"avoid-edges":{css:"text-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.","default-value":!1,type:"boolean"},"minimum-distance":{css:"text-min-distance",doc:"Minimum permitted distance to the next text symbolizer.",type:"float"},"minimum-padding":{css:"text-min-padding",doc:"Determines the minimum amount of padding that a text symbolizer gets relative to other text",type:"float"},"minimum-path-length":{css:"text-min-path-length",type:"float","default-value":0,"default-meaning":"place labels on all paths",doc:"Place labels only on paths longer than this value."},"allow-overlap":{css:"text-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping text is shown or hidden.","default-meaning":"Do not allow text to overlap with other text - overlapping markers will not be shown."},orientation:{css:"text-orientation",type:"expression",doc:"Rotate the text."},placement:{css:"text-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"Control the style of placement of a point versus the geometry it is attached to."},"placement-type":{css:"text-placement-type",doc:'Re-position and/or re-size text to avoid overlaps. "simple" for basic algorithm (using text-placements string,) "dummy" to turn this feature off.',type:["dummy","simple"],"default-value":"dummy"},placements:{css:"text-placements",type:"string","default-value":"",doc:'If "placement-type" is set to "simple", use this "POSITIONS,[SIZES]" string. An example is `text-placements: "E,NE,SE,W,NW,SW";` '},"text-transform":{css:"text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"horizontal-alignment":{css:"text-horizontal-alignment",type:["left","middle","right","auto"],doc:"The text's horizontal alignment from its centerpoint","default-value":"auto"},"justify-alignment":{css:"text-align",type:["left","right","center","auto"],doc:"Define how text is justified","default-value":"auto","default-meaning":"Auto alignment means that text will be centered by default except when using the `placement-type` parameter - in that case either right or left justification will be used automatically depending on where the text could be fit given the `text-placements` directives"},clip:{css:"text-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"text-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},building:{fill:{css:"building-fill","default-value":"#FFFFFF",doc:"The color of the buildings walls.",type:"color"},"fill-opacity":{css:"building-fill-opacity",type:"float",doc:"The opacity of the building as a whole, including all walls.","default-value":1},height:{css:"building-height",doc:"The height of the building in pixels.",type:"expression","default-value":"0"}}},colors:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50],transparent:[0,0,0,0]},filter:{value:["true","false","null","point","linestring","polygon","collection"]}},Ta.mapnik_reference={version:{latest:r._mapnik_reference_latest,"2.1.1":r._mapnik_reference_latest}},r.CartoCSS=Ta,r.CartoCSS.Tree={},r.CartoCSS.Tree.operate=function(e,t,s){switch(e){case"+":return t+s;case"-":return t-s;case"*":return t*s;case"%":return t%s;case"/":return t/s}},r.CartoCSS.Tree.functions={rgb:function(e,t,s){return this.rgba(e,t,s,1)},rgba:function(e,t,s,i){var a=this,n=[e,t,s].map(function(e){return a.number(e)});return i=a.number(i),n.some(isNaN)||isNaN(i)?null:new r.CartoCSS.Tree.Color(n,i)},stop:function(e){var t,s;return arguments.length>1&&(t=arguments[1]),arguments.length>2&&(s=arguments[2]),{is:"tag",val:e,color:t,mode:s,toString:r=>'\n\t"}},hsl:function(e,t,s){return this.hsla(e,t,s,1)},hsla:function(e,t,s,r){if([e=this.number(e)%360/360,t=this.number(t),s=this.number(s),r=this.number(r)].some(isNaN))return null;var i=s<=.5?s*(t+1):s+t-s*t,a=2*s-i;return this.rgba(255*n(e+1/3),255*n(e),255*n(e-1/3),r);function n(e){return 6*(e=e<0?e+1:e>1?e-1:e)<1?a+(i-a)*e*6:2*e<1?i:3*e<2?a+(i-a)*(2/3-e)*6:a}},hue:function(e){return"toHSL"in e?new r.CartoCSS.Tree.Dimension(Math.round(e.toHSL().h)):null},saturation:function(e){return"toHSL"in e?new r.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().s),"%"):null},lightness:function(e){return"toHSL"in e?new r.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().l),"%"):null},alpha:function(e){return"toHSL"in e?new r.CartoCSS.Tree.Dimension(e.toHSL().a):null},saturate:function(e,t){if(!("toHSL"in e))return null;var s=e.toHSL();return s.s+=t.value/100,s.s=this.clamp(s.s),this.hsla_simple(s)},desaturate:function(e,t){if(!("toHSL"in e))return null;var s=e.toHSL();return s.s-=t.value/100,s.s=this.clamp(s.s),this.hsla_simple(s)},lighten:function(e,t){if(!("toHSL"in e))return null;var s=e.toHSL();return s.l+=t.value/100,s.l=this.clamp(s.l),this.hsla_simple(s)},darken:function(e,t){if(!("toHSL"in e))return null;var s=e.toHSL();return s.l-=t.value/100,s.l=this.clamp(s.l),this.hsla_simple(s)},fadein:function(e,t){if(!("toHSL"in e))return null;var s=e.toHSL();return s.a+=t.value/100,s.a=this.clamp(s.a),this.hsla_simple(s)},fadeout:function(e,t){if(!("toHSL"in e))return null;var s=e.toHSL();return s.a-=t.value/100,s.a=this.clamp(s.a),this.hsla_simple(s)},spin:function(e,t){if(!("toHSL"in e))return null;var s=e.toHSL(),r=(s.h+t.value)%360;return s.h=r<0?360+r:r,this.hsla_simple(s)},replace:function(e,t,s){return"field"===e.is?e.toString+".replace("+t.toString()+", "+s.toString()+")":e.replace(t,s)},mix:function(e,t,s){var i=s.value/100,a=2*i-1,n=e.toHSL().a-t.toHSL().a,o=((a*n==-1?a:(a+n)/(1+a*n))+1)/2,l=1-o,h=[e.rgb[0]*o+t.rgb[0]*l,e.rgb[1]*o+t.rgb[1]*l,e.rgb[2]*o+t.rgb[2]*l],u=e.alpha*i+t.alpha*(1-i);return new r.CartoCSS.Tree.Color(h,u)},greyscale:function(e){return this.desaturate(e,new r.CartoCSS.Tree.Dimension(100))},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),s=e.value,i=0;i.5?h/(2-n-o):h/(n+o),n){case s:e=(r-i)/h+(r=0){if(!e.ppi)return e.error({message:"ppi is not set, so metric units can't be used",index:this.index}),{is:"undefined",value:"undefined"};this.value=this.value/this.densities[this.unit]*e.ppi,this.unit="px"}return this}toColor(){return new r.CartoCSS.Tree.Color([this.value,this.value,this.value])}round(){return this.value=Math.round(this.value),this}toString(){return this.value.toString()}operate(e,t,s){return"%"===this.unit&&"%"!==s.unit?(e.error({message:"If two operands differ, the first must not be %",index:this.index}),{is:"undefined",value:"undefined"}):"%"!==this.unit&&"%"===s.unit?"*"===t||"/"===t||"%"===t?(e.error({message:"Percent values can only be added or subtracted from other values",index:this.index}),{is:"undefined",value:"undefined"}):new r.CartoCSS.Tree.Dimension(r.CartoCSS.Tree.operate(t,this.value,this.value*s.value*.01),this.unit):new r.CartoCSS.Tree.Dimension(r.CartoCSS.Tree.operate(t,this.value,s.value),this.unit||s.unit)}},r.CartoCSS.Tree.Element=class{constructor(e){this.value=e.trim(),"#"===this.value[0]&&(this.type="id",this.clean=this.value.replace(/^#/,"")),"."===this.value[0]&&(this.type="class",this.clean=this.value.replace(/^\./,"")),-1!==this.value.indexOf("*")&&(this.type="wildcard")}specificity(){return["id"===this.type?1:0,"class"===this.type?1:0]}toString(){return this.value}},r.CartoCSS.Tree.Expression=class{constructor(e){this.is="expression",this.value=e}ev(e){return this.value.length>1?new r.CartoCSS.Tree.Expression(this.value.map(function(t){return t.ev(e)})):this.value[0].ev(e)}toString(e){return this.value.map(function(t){return t.toString(e)}).join(" ")}},r.CartoCSS.Tree.Field=class{constructor(e){this.is="field",this.value=e||""}toString(){return'["'+this.value.toUpperCase()+'"]'}ev(){return this}},r.CartoCSS.Tree.Filter=class{constructor(e,t,s,r,i){this.ops={"<":[" < ","numeric"],">":[" > ","numeric"],"=":[" = ","both"],"!=":[" != ","both"],"<=":[" <= ","numeric"],">=":[" >= ","numeric"],"=~":[".match(","string",")"]},this.key=e,this.op=t,this.val=s,this.index=r,this.filename=i,this.id=this.key+this.op+this.val}ev(e){return this.key=this.key.ev(e),this.val=this.val.ev(e),this}toString(){return"["+this.id+"]"}},r.CartoCSS.Tree.Filterset=class{constructor(){this.filters={}}toJS(e){function t(e){var t=e.op;"="===t&&(t="==");var s=e.val;void 0!==e._val&&(s=e._val.toString(!0)),e.key&&"scale"===e.key.value?s=+s:"string"!=typeof s&&"object"!=typeof s||(s="'"+s+"'");var r="attributes";return r+"&&"+r+e.key+"&&"+r+e.key+" "+t+s}var s=[];for(var r in this.filters)s.push(t(this.filters[r]));return s.join(" && ")}toString(){var e=[];for(var t in this.filters)e.push(this.filters[t].id);return e.sort().join("\t")}ev(e){for(var t in this.filters)this.filters[t].ev(e);return this}clone(){var e=new r.CartoCSS.Tree.Filterset;for(var t in this.filters)e.filters[t]=this.filters[t];return e}cloneWith(e){var t=[];for(var s in e.filters){var i=this.addable(e.filters[s]);if(!1===i)return!1;!0===i&&t.push(e.filters[s])}if(!t.length)return null;var a=new r.CartoCSS.Tree.Filterset;for(s in this.filters)a.filters[s]=this.filters[s];for(;s=t.shift();)a.add(s);return a}addable(e){var t=e.key.toString(),s=e.val.toString();switch(s.match(/^[0-9]+(\.[0-9]*)?$/)&&(s=parseFloat(s)),e.op){case"=":return void 0!==this.filters[t+"="]?this.filters[t+"="].val.toString()==s&&null:void 0===this.filters[t+"!="+s]&&(!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=s)&&(!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=s)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>s)&&!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val"]&&this.filters[t+">"].val>=s?null:void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=s?null:void 0!==this.filters[t+">="]&&this.filters[t+">="].val>s?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val":return t+"="in this.filters?!(this.filters[t+"="].val<=s)&&null:!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=s)&&(!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=s)&&(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=s?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>s)||null));case">=":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val"]&&this.filters[t+">"].val>=s?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=s)||null));case"<":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val>=s)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=s)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=s)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=s?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].vals)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=s)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>s)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=s?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=s)||null))}}conflict(e){var t=e.key.toString(),s=e.val.toString();return isNaN(parseFloat(s))||(s=parseFloat(s)),("="===e.op&&void 0!==this.filters[t+"="]&&s!=this.filters[t+"="].val.toString()||"!="===e.op&&void 0!==this.filters[t+"="]&&s==this.filters[t+"="].val.toString()||"="===e.op&&void 0!==this.filters[t+"!="]&&s===this.filters[t+"!="].val.toString())&&e.toString()+" added to "+this.toString()+" produces an invalid filter"}add(e,t){var s,r=e.key.toString(),i=e.op,a=this.conflict(e);if(a)return a;if("="===i){for(var n in this.filters)this.filters[n].key===r&&delete this.filters[n];this.filters[r+"="]=e}else if("!="===i)this.filters[r+"!="+e.val]=e;else if("=~"===i)this.filters[r+"=~"+e.val]=e;else if(">"===i){for(var o in this.filters)this.filters[o].key===r&&this.filters[o].val<=e.val&&delete this.filters[o];this.filters[r+">"]=e}else if(">="===i){for(var l in this.filters)s=+this.filters[l].val.toString(),this.filters[l].key===r&&s",this.filters[r+">"]=e):this.filters[r+">="]=e}else if("<"===i){for(var h in this.filters)s=+this.filters[h].val.toString(),this.filters[h].key===r&&s>=e.val&&delete this.filters[h];this.filters[r+"<"]=e}else if("<="===i){for(var u in this.filters)s=+this.filters[u].val.toString(),this.filters[u].key===r&&s>e.val&&delete this.filters[u];void 0!==this.filters[r+"!="+e.val]?(delete this.filters[r+"!="+e.val],e.op="<",this.filters[r+"<"]=e):this.filters[r+"<="]=e}}},r.CartoCSS.Tree.Fontset=class{constructor(e,t){this.fonts=t,this.name="fontset-"+e.effects.length}},r.CartoCSS.Tree.Invalid=class{constructor(e,t,s){this.is="invalid",this.chunk=e,this.index=t,this.type="syntax",this.message=s||"Invalid code: "+this.chunk}ev(e){return e.error({chunk:this.chunk,index:this.index,type:"syntax",message:this.message||"Invalid code: "+this.chunk}),{is:"undefined"}}},r.CartoCSS.Tree.Keyword=class{ev(){return this}constructor(e){this.value=e;var t={transparent:"color",true:"boolean",false:"boolean"};this.is=t[e]?t[e]:"keyword"}toString(){return this.value}},r.CartoCSS.Tree.Literal=class{constructor(e){this.value=e||"",this.is="field"}toString(){return this.value}ev(){return this}},r.CartoCSS.Tree.Operation=class{constructor(e,t,s){this.is="operation",this.op=e.trim(),this.operands=t,this.index=s}ev(e){var t,s=this.operands[0].ev(e),i=this.operands[1].ev(e);return"undefined"===s.is||"undefined"===i.is?{is:"undefined",value:"undefined"}:(s instanceof r.CartoCSS.Tree.Dimension&&i instanceof r.CartoCSS.Tree.Color&&("*"===this.op||"+"===this.op?(t=i,i=s,s=t):e.error({name:"OperationError",message:"Can't substract or divide a color from a number",index:this.index})),s instanceof r.CartoCSS.Tree.Quoted&&i instanceof r.CartoCSS.Tree.Quoted&&"+"!==this.op?(e.error({message:"Can't subtract, divide, or multiply strings.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):s instanceof r.CartoCSS.Tree.Field||i instanceof r.CartoCSS.Tree.Field||s instanceof r.CartoCSS.Tree.Literal||i instanceof r.CartoCSS.Tree.Literal?"color"===s.is||"color"===i.is?(e.error({message:"Can't subtract, divide, or multiply colors in expressions.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):new r.CartoCSS.Tree.Literal(s.ev(e).toString(!0)+this.op+i.ev(e).toString(!0)):void 0===s.operate?(e.error({message:"Cannot do math with type "+s.is+".",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):s.operate(e,this.op,i))}},r.CartoCSS.Tree.Quoted=class{constructor(e){this.is="string",this.value=e||""}toString(e){var t=this.value.replace(/&/g,"&"),s=t.replace(/\'/g,"\\'").replace(/\"/g,""").replace(//g,">");return!0===e?"'"+s+"'":t}ev(){return this}operate(e,t,s){return new r.CartoCSS.Tree.Quoted(r.CartoCSS.Tree.operate(t,this.toString(),s.toString(this.contains_field)))}},r.CartoCSS.Tree.Reference={_validateValue:{font:function(e,t){return!e.validation_data||!e.validation_data.fonts||-1!=e.validation_data.fonts.indexOf(t)}},setData:function(e){this.data=e,this.selector_cache=function(e){var t={};for(var s in e.symbolizers)for(var r in e.symbolizers[s])e.symbolizers[s][r].hasOwnProperty("css")&&(t[e.symbolizers[s][r].css]=[e.symbolizers[s][r],s,r]);return t}(e),this.mapnikFunctions=function(e){var t={};for(var s in e.symbolizers)for(var r in e.symbolizers[s])if("functions"===e.symbolizers[s][r].type)for(var i=0;i1?Array.prototype.push.apply(s,i.find(new r.CartoCSS.Tree.Selector(null,null,e.elements.slice(1)),t)):s.push(i);break}}),this._lookups[i]=s)}evZooms(e){for(var t=0;tr.CartoCSS.Tree.Zoom.maxZoom||t<0)&&e.error({message:"Only zoom levels between 0 and "+r.CartoCSS.Tree.Zoom.maxZoom+" supported.",index:this.index}),this.op){case"=":return this.zoom="zoom && zoom === "+t,this;case">":this.zoom="zoom && zoom > "+t;break;case">=":this.zoom="zoom && zoom >= "+t;break;case"<":this.zoom="zoom && zoom < "+t;break;case"<=":this.zoom="zoom && zoom <= "+t;break;default:return this}return this}toString(){for(var e="",t=0;t<=r.CartoCSS.Tree.Zoom.maxZoom;t++)e+=this.zoom&1<3&&(t=Array.prototype.slice.call(t,1));for(var r=this._handlers[e],i=r.length,a=0;a4&&(t=Array.prototype.slice.call(t,1,t.length-1));for(var r=t[t.length-1],i=this._handlers[e],a=i.length,n=0;na&&(a=e+o+100,r.width=a,s=!0),t+l>n&&(n=t+l+100,r.height=n,s=!0),e<-o&&(a+=o=100*Math.ceil(-e/100),r.width=a,s=!0),t<-l&&(n+=l=100*Math.ceil(-t/100),r.height=n,s=!0),s&&i.translate(o,l)}getPixelOffset(){return{x:this._offsetX,y:this._offsetY}}indexOf(e,t){if(e.indexOf)return e.indexOf(t);for(var s=0,r=e.length;s-this.EPSILON&&ethis.EPSILON||e<-this.EPSILON}cubicAt(e,t,s,r,i){var a=1-i;return a*a*(a*e+3*i*t)+i*i*(i*r+3*a*s)}cubicDerivativeAt(e,t,s,r,i){var a=1-i;return 3*(((t-e)*a+2*(s-t)*i)*a+(r-s)*i*i)}cubicRootAt(e,t,s,r,i,a){var n=r+3*(t-s)-e,o=3*(s-2*t+e),l=3*(t-e),h=e-i,u=o*o-3*n*l,c=o*l-9*n*h,p=l*l-3*o*h,d=0;if(this.isAroundZero(u)&&this.isAroundZero(c))if(this.isAroundZero(o))a[0]=0;else{let e=-l/o;e>=0&&e<=1&&(a[d++]=e)}else{var f=c*c-4*u*p;if(this.isAroundZero(f)){var m=c/u;let e=-o/n+m,t=-m/2;e>=0&&e<=1&&(a[d++]=e),t>=0&&t<=1&&(a[d++]=t)}else if(f>0){let e=Math.sqrt(f),t=u*o+1.5*n*(-c+e),s=u*o+1.5*n*(-c-e),r=(-o-((t=t<0?-Math.pow(-t,this.ONE_THIRD):Math.pow(t,this.ONE_THIRD))+(s=s<0?-Math.pow(-s,this.ONE_THIRD):Math.pow(s,this.ONE_THIRD))))/(3*n);r>=0&&r<=1&&(a[d++]=r)}else{var y=(2*u*o-3*n*c)/(2*Math.sqrt(u*u*u)),g=Math.acos(y)/3,v=Math.sqrt(u),S=Math.cos(g);let e=(-o-2*v*S)/(3*n),t=(-o+v*(S+this.THREE_SQRT*Math.sin(g)))/(3*n),s=(-o+v*(S-this.THREE_SQRT*Math.sin(g)))/(3*n);e>=0&&e<=1&&(a[d++]=e),t>=0&&t<=1&&(a[d++]=t),s>=0&&s<=1&&(a[d++]=s)}}return d}cubicExtrema(e,t,s,r,i){var a=6*s-12*t+6*e,n=9*t+3*r-3*e-9*s,o=3*t-3*e,l=0;if(this.isAroundZero(n)){if(this.isNotAroundZero(a)){let e=-o/a;e>=0&&e<=1&&(i[l++]=e)}}else{var h=a*a-4*n*o;if(this.isAroundZero(h))i[0]=-a/(2*n);else if(h>0){let e=Math.sqrt(h),t=(-a+e)/(2*n),s=(-a-e)/(2*n);t>=0&&t<=1&&(i[l++]=t),s>=0&&s<=1&&(i[l++]=s)}}return l}cubicSubdivide(e,t,s,r,i,a){var n=(t-e)*i+e,o=(s-t)*i+t,l=(r-s)*i+s,h=(o-n)*i+n,u=(l-o)*i+o,c=(u-h)*i+h;a[0]=e,a[1]=n,a[2]=h,a[3]=c,a[4]=c,a[5]=u,a[6]=l,a[7]=r}cubicProjectPoint(e,t,s,r,i,a,n,o,l,h,u){var c,p=this.vector.create(),d=this.vector.create(),f=this.vector.create(),m=.005,y=1/0;p[0]=l,p[1]=h;for(let l=0;l<1;l+=.05){d[0]=this.cubicAt(e,s,i,n,l),d[1]=this.cubicAt(t,r,a,o,l);let h=this.vector.distSquare(p,d);h=0&&u=0&&h<=1&&(i[l++]=h)}}else{var u=n*n-4*a*o;if(this.isAroundZero(u)){let e=-n/(2*a);e>=0&&e<=1&&(i[l++]=e)}else if(u>0){let e=Math.sqrt(u),t=(-n+e)/(2*a),s=(-n-e)/(2*a);t>=0&&t<=1&&(i[l++]=t),s>=0&&s<=1&&(i[l++]=s)}}return l}quadraticExtremum(e,t,s){var r=e+s-2*t;return 0===r?.5:(e-t)/r}quadraticProjectPoint(e,t,s,r,i,a,n,o,l){var h,u=this.vector.create(),c=this.vector.create(),p=this.vector.create(),d=.005,f=1/0;u[0]=n,u[1]=o;for(let n=0;n<1;n+=.05){c[0]=this.quadraticAt(e,s,i,n),c[1]=this.quadraticAt(t,r,a,n);let o=this.vector.distSquare(u,c);o=0&&l1)for(var i=0,a=r-1;i1?Math.ceil(e):e}),t.indexOf("hex")>-1)return"#"+((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1);if(t.indexOf("hs")>-1){var s=this.map(e.slice(1,3),function(e){return e+"%"});e[1]=s[0],e[2]=s[1]}return t.indexOf("a")>-1?(3===e.length&&e.push(1),e[3]=this.adjust(e[3],[0,1]),t+"("+e.slice(0,4).join(",")+")"):t+"("+e.slice(0,3).join(",")+")"}}toArray(e){(e=this.trim(e)).indexOf("rgba")<0&&(e=this.toRGBA(e));var t=[],s=0;return e.replace(/[\d.]+/g,function(e){s<3?e|=0:e=+e,t[s++]=e}),t}convert(e,t){if(!this.isCalculableColor(e))return e;var s=this.getData(e),r=s[3];return void 0===r&&(r=1),e.indexOf("hsb")>-1?s=this._HSV_2_RGB(s):e.indexOf("hsl")>-1&&(s=this._HSL_2_RGB(s)),t.indexOf("hsb")>-1||t.indexOf("hsv")>-1?s=this._RGB_2_HSB(s):t.indexOf("hsl")>-1&&(s=this._RGB_2_HSL(s)),s[3]=r,this.toColor(s,t)}toRGBA(e){return this.convert(e,"rgba")}toRGB(e){return this.convert(e,"rgb")}toHex(e){return this.convert(e,"hex")}toHSVA(e){return this.convert(e,"hsva")}toHSV(e){return this.convert(e,"hsv")}toHSBA(e){return this.convert(e,"hsba")}toHSB(e){return this.convert(e,"hsb")}toHSLA(e){return this.convert(e,"hsla")}toHSL(e){return this.convert(e,"hsl")}toName(e){for(var t in this._nameColors)if(this.toHex(this._nameColors[t])===this.toHex(e))return t;return null}trim(e){return String(e).replace(/\s+/g,"")}normalize(e){if(this._nameColors[e]&&(e=this._nameColors[e]),e=(e=this.trim(e)).replace(/hsv/i,"hsb"),/^#[\da-f]{3}$/i.test(e)){var t=(3840&(e=parseInt(e.slice(1),16)))<<8,s=(240&e)<<4,r=15&e;e="#"+((1<<24)+(t<<4)+t+(s<<4)+s+(r<<4)+r).toString(16).slice(1)}return e}lift(e,t){if(!this.isCalculableColor(e))return e;var s=t>0?1:-1;void 0===t&&(t=0),t=Math.abs(t)>1?1:Math.abs(t),e=this.toRGB(e);for(var r=this.getData(e),i=0;i<3;i++)r[i]=1===s?r[i]*(1-t)|0:(255-r[i])*t+r[i]|0;return"rgb("+r.join(",")+")"}reverse(e){if(!this.isCalculableColor(e))return e;var t=this.getData(this.toRGBA(e));return t=this.map(t,function(e){return 255-e}),this.toColor(t,"rgb")}mix(e,t,s){if(!this.isCalculableColor(e)||!this.isCalculableColor(t))return e;void 0===s&&(s=.5);for(var r=2*(s=1-this.adjust(s,[0,1]))-1,i=this.getData(this.toRGBA(e)),a=this.getData(this.toRGBA(t)),n=i[3]-a[3],o=((r*n==-1?r:(r+n)/(1+r*n))+1)/2,l=1-o,h=[],u=0;u<3;u++)h[u]=i[u]*o+a[u]*l;var c=i[3]*s+a[3]*(1-s);return c=Math.max(0,Math.min(1,c)),1===i[3]&&1===a[3]?this.toColor(h,"rgb"):(h[3]=c,this.toColor(h,"rgba"))}random(){return"#"+Math.random().toString(16).slice(2,8)}getData(e){var t,s,r=(e=this.normalize(e)).match(this.colorRegExp);if(null===r)throw new Error("The color format error");var i,a=[];if(r[2])i=[(t=r[2].replace("#","").split(""))[0]+t[1],t[2]+t[3],t[4]+t[5]],a=this.map(i,function(e){return Ga.prototype.adjust.call(this,parseInt(e,16),[0,255])});else if(r[4]){var n=r[4].split(",");s=n[3],i=n.slice(0,3),a=this.map(i,function(e){return e=Math.floor(e.indexOf("%")>0?2.55*parseInt(e,0):e),Ga.prototype.adjust.call(this,e,[0,255])}),void 0!==s&&a.push(this.adjust(parseFloat(s),[0,1]))}else if(r[5]||r[6]){var o=(r[5]||r[6]).split(","),l=parseInt(o[0],0)/360,h=o[1],u=o[2];s=o[3],(a=this.map([h,u],function(e){return Ga.prototype.adjust.call(this,parseFloat(e)/100,[0,1])})).unshift(l),void 0!==s&&a.push(this.adjust(parseFloat(s),[0,1]))}return a}alpha(e,t){if(!this.isCalculableColor(e))return e;null===t&&(t=1);var s=this.getData(this.toRGBA(e));return s[3]=this.adjust(Number(t).toFixed(4),[0,1]),this.toColor(s,"rgba")}map(e,t){if("function"!=typeof t)throw new TypeError;for(var s=e?e.length:0,r=0;r=t[1]&&(e=t[1]),e}isCalculableColor(e){return e instanceof Array||"string"==typeof e}_HSV_2_RGB(e){var t,s,r,i=e[0],a=e[1],n=e[2];if(0===a)t=255*n,s=255*n,r=255*n;else{var o=6*i;6===o&&(o=0);var l=0|o,h=n*(1-a),u=n*(1-a*(o-l)),c=n*(1-a*(1-(o-l))),p=0,d=0,f=0;0===l?(p=n,d=c,f=h):1===l?(p=u,d=n,f=h):2===l?(p=h,d=n,f=c):3===l?(p=h,d=u,f=n):4===l?(p=c,d=h,f=n):(p=n,d=h,f=u),t=255*p,s=255*d,r=255*f}return[t,s,r]}_HSL_2_RGB(e){var t,s,r,i=e[0],a=e[1],n=e[2];if(0===a)t=255*n,s=255*n,r=255*n;else{var o,l=2*n-(o=n<.5?n*(1+a):n+a-a*n);t=255*this._HUE_2_RGB(l,o,i+1/3),s=255*this._HUE_2_RGB(l,o,i),r=255*this._HUE_2_RGB(l,o,i-1/3)}return[t,s,r]}_HUE_2_RGB(e,t,s){return s<0&&(s+=1),s>1&&(s-=1),6*s<1?e+6*(t-e)*s:2*s<1?t:3*s<2?e+(t-e)*(2/3-s)*6:e}_RGB_2_HSB(e){var t,s,r=e[0]/255,i=e[1]/255,a=e[2]/255,n=Math.min(r,i,a),o=Math.max(r,i,a),l=o-n,h=o;if(0===l)t=0,s=0;else{s=l/o;var u=((o-r)/6+l/2)/l,c=((o-i)/6+l/2)/l,p=((o-a)/6+l/2)/l;r===o?t=p-c:i===o?t=1/3+u-p:a===o&&(t=2/3+c-u),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,s*=100,h*=100]}_RGB_2_HSL(e){var t,s,r=e[0]/255,i=e[1]/255,a=e[2]/255,n=Math.min(r,i,a),o=Math.max(r,i,a),l=o-n,h=(o+n)/2;if(0===l)t=0,s=0;else{s=h<.5?l/(o+n):l/(2-o-n);var u=((o-r)/6+l/2)/l,c=((o-i)/6+l/2)/l,p=((o-a)/6+l/2)/l;r===o?t=p-c:i===o?t=1/3+u-p:a===o&&(t=2/3+c-u),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,s*=100,h*=100]}}class Ba{}Ba.EVENT={RESIZE:"resize",CLICK:"click",DBLCLICK:"dblclick",MOUSEWHEEL:"mousewheel",MOUSEMOVE:"mousemove",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",GLOBALOUT:"globalout",DRAGSTART:"dragstart",DRAGEND:"dragend",DRAGENTER:"dragenter",DRAGOVER:"dragover",DRAGLEAVE:"dragleave",DROP:"drop",touchClickDelay:300},Ba.catchBrushException=!1,Ba.debugMode=0;class Ua{static SUtil_smoothBezier(e,t,s,r,i){i&&2===i||(i=[0,0]);var a,n,o=i,l=[],h=[],u=[],c=[],p=!!r;if(p){a=[1/0,1/0],n=[-1/0,-1/0];let t=e.length;for(let s=0;sa-2?a-1:p+1][0]+i[0],e[p>a-2?a-1:p+1][1]+i[1]],u=[e[p>a-3?a-1:p+2][0]+i[0],e[p>a-3?a-1:p+2][1]+i[1]]);let m=d*d,y=d*m;n.push([h(r[0],f[0],o[0],u[0],d,m,y),h(r[1],f[1],o[1],u[1],d,m,y)])}return n;function h(e,t,s,r,i,a,n){var o=.5*(s-e),l=.5*(r-t);return(2*(t-s)+o+l)*n+(-3*(t-s)-2*o-l)*a+o*i+t}}static SUtil_dashedLineTo(e,t,s,r,i,a,n){var o=[5,5];if(a="number"!=typeof a?5:a,e.setLineDash)return o[0]=a,o[1]=a,n&&n instanceof Array?e.setLineDash(n):e.setLineDash(o),e.moveTo(t,s),void e.lineTo(r,i);var l=r-t,h=i-s,u=Math.floor(Math.sqrt(l*l+h*h)/a);l/=u,h/=u;for(var c=!0,p=0;p0){for(var i=this.isInsidePolygon(t.pointList,u,c),a=e.holePolygonPointLists,n=!1,o=0,l=a.length;ot+o&&n>r+o||ne+o&&a>s+o||at+c&&u>r+c&&u>a+c&&u>o+c||ue+c&&h>s+c&&h>i+c&&h>n+c||ht+h&&l>r+h&&l>a+h||le+h&&o>s+h&&o>i+h||os||c+u=h)return!0;if(a){var p=r;r=this.normalizeRadian(i),i=this.normalizeRadian(p)}else r=this.normalizeRadian(r),i=this.normalizeRadian(i);r>i&&(i+=h);var d=Math.atan2(l,o);return d<0&&(d+=h),d>=r&&d<=i||d+h>=r&&d+h<=i}isInsideBrokenLine(e,t,s,r){for(var i=Math.max(t,10),a=0,n=e.length-1;as*s}isInsideRect(e,t,s,r,i,a){return i>=e&&i<=e+s&&a>=t&&a<=t+r}isInsideCircle(e,t,s,r,i){return(r-e)*(r-e)+(i-t)*(i-t)t&&a>r||ai?rt&&h>r&&h>a&&h>o||h1&&this.swapExtrema(),f=u.cubicAt(t,r,a,o,p[0]),g>1&&(m=u.cubicAt(t,r,a,o,p[1]))),2==g?St&&o>r&&o>a||o=0&&c<=1){var p=0,d=l.quadraticAt(t,r,a,c);for(let r=0;rn||(h[r]n?0:as||o<-s)return 0;let u=Math.sqrt(s*s-o*o);if(l[0]=-u,l[1]=u,Math.abs(r-i)>=h){r=0,i=h;var c=a?1:-1;return n>=l[0]+e&&n<=l[1]+e?c:0}if(a){let e=r;r=this.normalizeRadian(i),i=this.normalizeRadian(e)}else r=this.normalizeRadian(r),i=this.normalizeRadian(i);r>i&&(i+=h);var p=0;for(let t=0;t<2;t++){var d=l[t];if(d+e>n){let e=Math.atan2(o,d),t=a?1:-1;e<0&&(e=h+e),(e>=r&&e<=i||e+h>=r&&e+h<=i)&&(e>Math.PI/2&&e<1.5*Math.PI&&(t=-t),p+=t)}}return p}isInsidePath(e,t,s,r,i){for(var a=0,n=0,o=0,l=0,h=0,u=!0,c=!0,p="stroke"===(s=s||"fill")||"both"===s,d="fill"===s||"both"===s,f=0;f0&&(d&&(a+=this.windingLine(n,o,l,h,r,i)),0!==a))return!0;l=y[y.length-2],h=y[y.length-1],u=!1,c&&"A"!==m.command&&(c=!1,n=l,o=h)}switch(m.command){case"M":n=y[0],o=y[1];break;case"L":if(p&&this.isInsideLine(n,o,y[0],y[1],t,r,i))return!0;d&&(a+=this.windingLine(n,o,y[0],y[1],r,i)),n=y[0],o=y[1];break;case"C":if(p&&this.isInsideCubicStroke(n,o,y[0],y[1],y[2],y[3],y[4],y[5],t,r,i))return!0;d&&(a+=this.windingCubic(n,o,y[0],y[1],y[2],y[3],y[4],y[5],r,i)),n=y[4],o=y[5];break;case"Q":if(p&&this.isInsideQuadraticStroke(n,o,y[0],y[1],y[2],y[3],t,r,i))return!0;d&&(a+=this.windingQuadratic(n,o,y[0],y[1],y[2],y[3],r,i)),n=y[2],o=y[3];break;case"A":var g=y[0],v=y[1],S=y[2],b=y[3],x=y[4],C=y[5],T=Math.cos(x)*S+g,M=Math.sin(x)*b+v;c?(c=!1,l=T,h=M):a+=this.windingLine(n,o,T,M);var _=(r-g)*b/S+g;if(p&&this.isInsideArcStroke(g,v,b,x,x+C,1-y[7],t,_,i))return!0;d&&(a+=this.windingArc(g,v,b,x,x+C,1-y[7],_,i)),n=Math.cos(x+C)*S+g,o=Math.sin(x+C)*b+v;break;case"z":if(p&&this.isInsideLine(n,o,l,h,t,r,i))return!0;u=!0}}return d&&(a+=this.windingLine(n,o,l,h,r,i)),0!==a}getTextWidth(e,t){var s=e+":"+t;if(this._textWidthCache[s])return this._textWidthCache[s];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t);for(var r=0,i=0,a=(e=(e+"").split("\n")).length;ithis.TEXT_CACHE_MAX&&(this._textWidthCacheCounter=0,this._textWidthCache={}),r}getTextHeight(e,t){var s=e+":"+t;if(this._textHeightCache[s])return this._textHeightCache[s];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t),e=(e+"").split("\n");var r=(this._ctx.measureText("ZH").width+2)*e.length;return this._ctx.restore(),this._textHeightCache[s]=r,++this._textHeightCacheCounter>this.TEXT_CACHE_MAX&&(this._textHeightCacheCounter=0,this._textHeightCache={}),r}},Ua.Util_color=new Ga,Ua.Util_computeBoundingBox=new class{constructor(){3===arguments.length&&this.computeBoundingBox(arguments),this.CLASS_NAME="SuperMap.LevelRenderer.Tool.ComputeBoundingBox"}computeBoundingBox(e,t,s){if(0!==e.length){for(var r=e[0][0],i=e[0][0],a=e[0][1],n=e[0][1],o=1;oi&&(i=l[0]),l[1]n&&(n=l[1])}t[0]=r,t[1]=a,s[0]=i,s[1]=n}}cubeBezier(e,t,s,r,i,a){var n=new ka,o=[];n.cubicExtrema(e[0],t[0],s[0],r[0],o);for(let i=0;ii&&!a?i+=2*Math.PI:rr&&(c[0]=Math.cos(d)*s+e,c[1]=Math.sin(d)*s+t,l.min(n,c,n),l.max(o,c,o))}},Ua.Util_curve=new ka,Ua.Util_env=new class{constructor(){this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Env";var e,t,s,r,i,a,n,o,l,h,u,c,p,d,f,m,y,g,v,S,b,x=this;return e=navigator.userAgent,t=x.os={},s=x.browser={},r=e.match(/Web[kK]it[\/]{0,1}([\d.]+)/),i=e.match(/(Android);?[\s\/]+([\d.]+)?/),a=e.match(/(iPad).*OS\s([\d_]+)/),n=e.match(/(iPod)(.*OS\s([\d_]+))?/),o=!a&&e.match(/(iPhone\sOS)\s([\d_]+)/),l=e.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),h=l&&e.match(/TouchPad/),u=e.match(/Kindle\/([\d.]+)/),c=e.match(/Silk\/([\d._]+)/),p=e.match(/(BlackBerry).*Version\/([\d.]+)/),d=e.match(/(BB10).*Version\/([\d.]+)/),f=e.match(/(RIM\sTablet\sOS)\s([\d.]+)/),m=e.match(/PlayBook/),y=e.match(/Chrome\/([\d.]+)/)||e.match(/CriOS\/([\d.]+)/),g=e.match(/Firefox\/([\d.]+)/),v=e.match(/MSIE ([\d.]+)/),S=r&&e.match(/Mobile\//)&&!y,b=e.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/)&&!y,(s.webkit=!!r)&&(s.version=r[1]),i&&(t.android=!0,t.version=i[2]),o&&!n&&(t.ios=t.iphone=!0,t.version=o[2].replace(/_/g,".")),a&&(t.ios=t.ipad=!0,t.version=a[2].replace(/_/g,".")),n&&(t.ios=t.ipod=!0,t.version=n[3]?n[3].replace(/_/g,"."):null),l&&(t.webos=!0,t.version=l[2]),h&&(t.touchpad=!0),p&&(t.blackberry=!0,t.version=p[2]),d&&(t.bb10=!0,t.version=d[2]),f&&(t.rimtabletos=!0,t.version=f[2]),m&&(s.playbook=!0),u&&(t.kindle=!0,t.version=u[1]),c&&(s.silk=!0,s.version=c[1]),!c&&t.android&&e.match(/Kindle Fire/)&&(s.silk=!0),y&&(s.chrome=!0,s.version=y[1]),g&&(s.firefox=!0,s.version=g[1]),v&&(s.ie=!0,s.version=v[1]),S&&(e.match(/Safari/)||t.ios)&&(s.safari=!0),b&&(s.webview=!0),v&&(s.ie=!0,s.version=v[1]),t.tablet=!!(a||m||i&&!e.match(/Mobile/)||g&&e.match(/Tablet/)||v&&!e.match(/Phone/)&&e.match(/Touch/)),t.phone=!(t.tablet||t.ipod||!(i||o||l||p||d||y&&e.match(/Android/)||y&&e.match(/CriOS\/([\d.]+)/)||g&&e.match(/Mobile/)||v&&e.match(/Touch/))),{browser:s,os:t,canvasSupported:!!document.createElement("canvas").getContext}}destory(){return!0}},Ua.Util_event=new class{constructor(){this.stop="function"==typeof window.addEventListener?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0},this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Event"}getX(e){return void 0!==e.zrenderX&&e.zrenderX||void 0!==e.offsetX&&e.offsetX||void 0!==e.layerX&&e.layerX||void 0!==e.clientX&&e.clientX}getY(e){return void 0!==e.zrenderY&&e.zrenderY||void 0!==e.offsetY&&e.offsetY||void 0!==e.layerY&&e.layerY||void 0!==e.clientY&&e.clientY}getDelta(e){return void 0!==e.zrenderDelta&&e.zrenderDelta||void 0!==e.wheelDelta&&e.wheelDelta||void 0!==e.detail&&-e.detail}},Ua.Util_http=new class{constructor(){this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Http"}get(e,t,s){if("object"==typeof e){var r=e;e=r.url,t=r.onsuccess,s=r.onerror}var i=window.XMLHttpRequest?new XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");i.open("GET",e,!0),i.onreadystatechange=function(){4==i.readyState&&(i.status>=200&&i.status<300||304===i.status?t&&t(i.responseText):s&&s(),i.onreadystatechange=new Function,i=null)},i.send(null)}},Ua.Util_log=new class{constructor(){return this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Log",function(){if(0!==Ba.debugMode)if(1==Ba.debugMode)for(let e in arguments)throw new Error(arguments[e]);else if(Ba.debugMode>1)for(let e in arguments)console.log(arguments[e])}}destory(){return!0}},Ua.Util_math=new class{constructor(){this._radians=window.Math.PI/180,this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Math"}sin(e,t){return window.Math.sin(t?e*this._radians:e)}cos(e,t){return window.Math.cos(t?e*this._radians:e)}degreeToRadian(e){return e*this._radians}radianToDegree(e){return e/this._radians}},Ua.Util_matrix=new class{constructor(){this.ArrayCtor="undefined"==typeof Float32Array?Array:Float32Array,this.CLASS_NAME="SuperMap.LevelRenderer.Tool.Matrix"}create(){var e=new(0,this.ArrayCtor)(6);return this.identity(e),e}identity(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}copy(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}mul(e,t,s){return e[0]=t[0]*s[0]+t[2]*s[1],e[1]=t[1]*s[0]+t[3]*s[1],e[2]=t[0]*s[2]+t[2]*s[3],e[3]=t[1]*s[2]+t[3]*s[3],e[4]=t[0]*s[4]+t[2]*s[5]+t[4],e[5]=t[1]*s[4]+t[3]*s[5]+t[5],e}translate(e,t,s){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+s[0],e[5]=t[5]+s[1],e}rotate(e,t,s){var r=t[0],i=t[2],a=t[4],n=t[1],o=t[3],l=t[5],h=Math.sin(s),u=Math.cos(s);return e[0]=r*u+n*h,e[1]=-r*h+n*u,e[2]=i*u+o*h,e[3]=-i*h+u*o,e[4]=u*a+h*l,e[5]=u*l-h*a,e}scale(e,t,s){var r=s[0],i=s[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}invert(e,t){var s=t[0],r=t[2],i=t[4],a=t[1],n=t[3],o=t[5],l=s*n-a*r;return l?(l=1/l,e[0]=n*l,e[1]=-a*l,e[2]=-r*l,e[3]=s*l,e[4]=(r*o-n*i)*l,e[5]=(a*i-s*o)*l,e):null}mulVector(e,t,s){var r=t[0],i=t[2],a=t[4],n=t[1],o=t[3],l=t[5];return e[0]=s[0]*r+s[1]*i+a,e[1]=s[0]*n+s[1]*o+l,e}},Ua.Util=new Fa,Ua.Util_vector=new Da;class ja{constructor(){var e;this.position=[0,0],this.rotation=[0,0,0],this.scale=[1,1,0,0],this.needLocalTransform=!1,this.needTransform=!1,this.CLASS_NAME="SuperMap.LevelRenderer.Transformable",this.lookAt=(e=Ua.Util_vector.create(),function(t){this.transform||(this.transform=Ua.Util_matrix.create());var s=this.transform;function r(e){return e>-5e-5&&e<5e-5}Ua.Util_vector.sub(e,t,this.position),r(e[0])&&r(e[1])||(Ua.Util_vector.normalize(e,e),s[2]=e[0]*this.scale[1],s[3]=e[1]*this.scale[1],s[0]=e[1]*this.scale[0],s[1]=-e[0]*this.scale[0],s[4]=this.position[0],s[5]=this.position[1],this.decomposeTransform())})}destroy(){this.position=null,this.rotation=null,this.scale=null,this.needLocalTransform=null,this.needTransform=null}updateNeedTransform(){function e(e){return e>5e-5||e<-5e-5}this.needLocalTransform=e(this.rotation[0])||e(this.position[0])||e(this.position[1])||e(this.scale[0]-1)||e(this.scale[1]-1)}updateTransform(){if(this.updateNeedTransform(),this.parent?this.needTransform=this.needLocalTransform||this.parent.needTransform:this.needTransform=this.needLocalTransform,this.needTransform){var e=[0,0],t=this.transform||Ua.Util_matrix.create();if(Ua.Util_matrix.identity(t),this.needLocalTransform){if(s(this.scale[0])||s(this.scale[1])){e[0]=-this.scale[2]||0,e[1]=-this.scale[3]||0;let r=s(e[0])||s(e[1]);r&&Ua.Util_matrix.translate(t,t,e),Ua.Util_matrix.scale(t,t,this.scale),r&&(e[0]=-e[0],e[1]=-e[1],Ua.Util_matrix.translate(t,t,e))}if(this.rotation instanceof Array){if(0!==this.rotation[0]){e[0]=-this.rotation[1]||0,e[1]=-this.rotation[2]||0;let r=s(e[0])||s(e[1]);r&&Ua.Util_matrix.translate(t,t,e),Ua.Util_matrix.rotate(t,t,this.rotation[0]),r&&(e[0]=-e[0],e[1]=-e[1],Ua.Util_matrix.translate(t,t,e))}}else 0!==this.rotation&&Ua.Util_matrix.rotate(t,t,this.rotation);(s(this.position[0])||s(this.position[1]))&&Ua.Util_matrix.translate(t,t,this.position)}this.transform=t,this.parent&&this.parent.needTransform&&(this.needLocalTransform?Ua.Util_matrix.mul(this.transform,this.parent.transform,this.transform):Ua.Util_matrix.copy(this.transform,this.parent.transform))}function s(e){return e>5e-5||e<-5e-5}}setTransform(e){if(this.needTransform){var t=this.transform;e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}}decomposeTransform(){if(this.transform){var e=this.transform,t=e[0]*e[0]+e[1]*e[1],s=this.position,r=this.scale,i=this.rotation;n(t-1)&&(t=Math.sqrt(t));var a=e[2]*e[2]+e[3]*e[3];n(a-1)&&(a=Math.sqrt(a)),s[0]=e[4],s[1]=e[5],r[0]=t,r[1]=a,r[2]=r[3]=0,i[0]=Math.atan2(-e[1]/a,e[0]/t),i[1]=i[2]=0}function n(e){return e>5e-5||e<-5e-5}}}class Ha extends(r.mixin(Ra,ja)){constructor(e){var t;super(e),e=e||{},this.id=null,this.style={},this.highlightStyle=null,this.parent=null,this.__dirty=!0,this.__clipShapes=[],this.invisible=!1,this.ignore=!1,this.zlevel=0,this.draggable=!1,this.clickable=!1,this.hoverable=!0,this.z=0,this.refOriginalPosition=[0,0],this.refDataID=null,this.isHoverByRefDataID=!1,this.refDataHoverGroup=null,this.dataInfo=null,fe.extend(this,e),this.id=this.id||fe.createUniqueID("smShape_"),this.CLASS_NAME="SuperMap.LevelRenderer.Shape",this.getTansform=(t=[],function(e,s){var r=[e,s];return this.needTransform&&this.transform&&(Ua.Util_matrix.invert(t,this.transform),Ua.Util_matrix.mulVector(r,t,[e,s,1]),e==r[0]&&s==r[1]&&this.updateNeedTransform()),r})}destroy(){this.id=null,this.style=null,this.highlightStyle=null,this.parent=null,this.__dirty=null,this.__clipShapes=null,this.invisible=null,this.ignore=null,this.zlevel=null,this.draggable=null,this.clickable=null,this.hoverable=null,this.z=null,this.refOriginalPosition=null,this.refDataID=null,this.refDataHoverGroup=null,this.isHoverByRefDataID=null,this.dataInfo=null,super.destroy()}brush(e,t){var s=this.beforeBrush(e,t);switch(e.beginPath(),this.buildPath(e,s),s.brushType){case"both":this.setCtxGlobalAlpha(e,"fill",s),e.fill(),s.lineWidth>0&&(this.setCtxGlobalAlpha(e,"stroke",s),e.stroke()),this.setCtxGlobalAlpha(e,"reset",s);break;case"stroke":this.setCtxGlobalAlpha(e,"stroke",s),s.lineWidth>0&&e.stroke(),this.setCtxGlobalAlpha(e,"reset",s);break;default:this.setCtxGlobalAlpha(e,"fill",s),e.fill(),this.setCtxGlobalAlpha(e,"reset",s)}this.drawText(e,s,this.style),this.afterBrush(e)}beforeBrush(e,t){var s=this.style;return this.brushTypeOnly&&(s.brushType=this.brushTypeOnly),t&&(s=this.getHighlightStyle(s,this.highlightStyle||{},this.brushTypeOnly)),"stroke"==this.brushTypeOnly&&(s.strokeColor=s.strokeColor||s.color),e.save(),this.doClip(e),this.setContext(e,s),this.setTransform(e),s}afterBrush(e){e.restore()}setContext(e,t){for(var s=[["color","fillStyle"],["strokeColor","strokeStyle"],["opacity","globalAlpha"],["lineCap","lineCap"],["lineJoin","lineJoin"],["miterLimit","miterLimit"],["lineWidth","lineWidth"],["shadowBlur","shadowBlur"],["shadowColor","shadowColor"],["shadowOffsetX","shadowOffsetX"],["shadowOffsetY","shadowOffsetY"]],r=0,i=s.length;r=r.x&&e<=r.x+r.width&&t>=r.y&&t<=r.y+r.height&&Ua.Util_area.isInside(this,this.style,e,t)}drawText(e,t,s){if(void 0!==t.text&&!1!==t.text){var r=t.textColor||t.color||t.strokeColor;e.fillStyle=r;var i,a,n,o,l=10,h=t.textPosition||this.textPosition||"top",u=[];switch(u=this.refOriginalPosition&&2===this.refOriginalPosition.length?this.refOriginalPosition:[0,0],h){case"inside":case"top":case"bottom":case"left":case"right":if(this.getRect){var c=(s||t).__rect||this.getRect(s||t);switch(h){case"inside":n=c.x+c.width/2,o=c.y+c.height/2,i="center",a="middle","stroke"!=t.brushType&&r==t.color&&(e.fillStyle="#fff");break;case"left":n=c.x-l,o=c.y+c.height/2,i="end",a="middle";break;case"right":n=c.x+c.width+l,o=c.y+c.height/2,i="start",a="middle";break;case"top":n=c.x+c.width/2,o=c.y-l,i="center",a="bottom";break;case"bottom":n=c.x+c.width/2,o=c.y+c.height+l,i="center",a="top"}}break;case"start":case"end":var p=0,d=0,f=0,m=0;if(void 0!==t.pointList){var y=t.pointList;if(y.length<2)return;var g=y.length;switch(h){case"start":p=y[0][0]+u[0],d=y[1][0]+u[0],f=y[0][1]+u[1],m=y[1][1]+u[1];break;case"end":p=y[g-2][0]+u[0],d=y[g-1][0]+u[0],f=y[g-2][1]+u[1],m=y[g-1][1]+u[1]}}else p=t.xStart+u[0]||0,d=t.xEnd+u[0]||0,f=t.yStart+u[1]||0,m=t.yEnd+u[1]||0;switch(h){case"start":i=pr&&(r=l[0]),l[1]i&&(i=l[1]))}return e.__rect={x:t,y:s,width:r-t,height:i-s},e.__rect}getRectNoRotation(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,s=this.refOriginalPosition,r=Ua.Util_area.getTextHeight("ZH",e.textFont),i=Ua.Util_area.getTextWidth(e.text,e.textFont),a=Ua.Util_area.getTextHeight(e.text,e.textFont),n=e.x+s[0];"end"==e.textAlign||"right"==e.textAlign?n-=i:"center"==e.textAlign&&(n-=i/2),t="top"==e.textBaseline?e.y+s[1]:"bottom"==e.textBaseline?e.y+s[1]-a:e.y+s[1]-a/2;var o,l=!1;if(e.maxWidth){var h=parseInt(e.maxWidth);h-1&&(i+=o&&!0===l?r/3*(i/o):r/3));return{x:n,y:t,width:i,height:a}}getTextBackground(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var s=this.refOriginalPosition;if((!t||!1===t)&&e.__textBackground)return e.__textBackground;var r=this.getRectNoRotation(e),i=e.x+s[0],a=e.y+s[1],n=[];if(e.textRotation&&0!==e.textRotation){let t=e.textRotation,s=this.getRotatedLocation(r.x,r.y,i,a,t),o=this.getRotatedLocation(r.x+r.width,r.y,i,a,t),l=this.getRotatedLocation(r.x+r.width,r.y+r.height,i,a,t),h=this.getRotatedLocation(r.x,r.y+r.height,i,a,t);n.push(s),n.push(o),n.push(l),n.push(h)}else{let e=[r.x,r.y],t=[r.x+r.width,r.y],s=[r.x+r.width,r.y+r.height],i=[r.x,r.y+r.height];n.push(e),n.push(t),n.push(s),n.push(i)}return e.__textBackground=n,e.__textBackground}getRotatedLocation(e,t,s,r,i){var a,n,o=new Array;return t=-t,r=-r,i=-i,a=(e-s)*Math.cos(i/180*Math.PI)-(t-r)*Math.sin(i/180*Math.PI)+s,n=(e-s)*Math.sin(i/180*Math.PI)+(t-r)*Math.cos(i/180*Math.PI)+r,o[0]=a,o[1]=-n,o}}class za extends Ha{constructor(e){super(e),this.type="smiccircle",this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicCircle"}destroy(){this.type=null,super.destroy()}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var s=this.refOriginalPosition,r=t.x+s[0],i=t.y+s[1];return e.moveTo(r+t.r,i),e.arc(r,i,t.r,0,2*Math.PI,!0),!0}getRect(e){if(e.__rect)return e.__rect;this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,s=this.refOriginalPosition,r=e.x+s[0],i=e.y+s[1],a=e.r;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(r-a-t/2),y:Math.round(i-a-t/2),width:2*a+t,height:2*a+t},e.__rect}}class qa extends Ha{constructor(e){super(e),this.type="smicpolygon",this.holePolygonPointLists=null,this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicPolygon"}destroy(){this.type=null,this.holePolygonPointLists=null,super.destroy()}brush(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var s=this.style;t&&(s=this.getHighlightStyle(s,this.highlightStyle||{})),e.save(),this.setContext(e,s),this.setTransform(e);var r=!1;"fill"!=s.brushType&&"both"!=s.brushType&&void 0!==s.brushType||(e.beginPath(),"dashed"==s.lineType||"dotted"==s.lineType||"dot"==s.lineType||"dash"==s.lineType||"dashdot"==s.lineType||"longdash"==s.lineType||"longdashdot"==s.lineType?this.buildPath(e,{lineType:"solid",lineWidth:s.lineWidth,pointList:s.pointList}):(this.buildPath(e,s),r=!0),e.closePath(),this.setCtxGlobalAlpha(e,"fill",s),e.fill(),this.setCtxGlobalAlpha(e,"reset",s)),s.lineWidth>0&&("stroke"==s.brushType||"both"==s.brushType)&&(r||(e.beginPath(),this.buildPath(e,s)),this.setCtxGlobalAlpha(e,"stroke",s),e.stroke(),this.setCtxGlobalAlpha(e,"reset",s)),this.drawText(e,s,this.style);var i=fe.cloneObject(s);if(i.pointList&&this.holePolygonPointLists&&this.holePolygonPointLists.length>0)for(var a=this.holePolygonPointLists,n=a.length,o=0;o0&&("stroke"==i.brushType||"both"==i.brushType)?(r||(e.beginPath(),this.buildPath(e,i)),e.globalCompositeOperation="source-over",this.setCtxGlobalAlpha(e,"stroke",i),e.stroke(),this.setCtxGlobalAlpha(e,"reset",i)):e.globalCompositeOperation="source-over"}e.restore()}buildPath(e,t){t.showShadow&&(e.shadowBlur=t.shadowBlur,e.shadowColor=t.shadowColor,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY),this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var s=this.refOriginalPosition,r=t.pointList;if(!(r.length<2))if(t.smooth&&"spline"!==t.smooth){var i,a,n,o=Ua.SUtil_smoothBezier(r,t.smooth,!0,t.smoothConstraint,s);e.moveTo(r[0][0]+s[0],r[0][1]+s[1]);for(var l=r.length,h=0;ha&&(a=l[h][0]+s[0]),l[h][1]+s[1]o&&(o=l[h][1]+s[1]);return r="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(i-r/2),y:Math.round(n-r/2),width:a-i+r,height:o-n+r},e.__rect}}class Wa extends Ha{constructor(e){super(e),this.brushTypeOnly="stroke",this.textPosition="end",this.type="smicbroken-line",this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicBrokenLine"}destroy(){this.brushTypeOnly=null,this.textPosition=null,this.type=null,super.destroy()}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var s=this.refOriginalPosition,r=t.pointList;if(!(r.length<2)){var i=Math.min(t.pointList.length,Math.round(t.pointListLength||t.pointList.length));if(t.smooth&&"spline"!==t.smooth){var a,n,o,l=Ua.SUtil_smoothBezier(r,t.smooth,!1,t.smoothConstraint,s);e.moveTo(r[0][0]+s[0],r[0][1]+s[1]);for(let t=0;tu&&(s*=u/(n=s+r),r*=u/n),i+a>u&&(i*=u/(n=i+a),a*=u/n),r+i>c&&(r*=c/(n=r+i),i*=c/n),s+a>c&&(s*=c/(n=s+a),a*=c/n),e.moveTo(l+s,h),e.lineTo(l+u-r,h),0!==r&&e.quadraticCurveTo(l+u,h,l+u,h+r),e.lineTo(l+u,h+c-i),0!==i&&e.quadraticCurveTo(l+u,h+c,l+u-i,h+c),e.lineTo(l+a,h+c),0!==a&&e.quadraticCurveTo(l,h+c,l,h+c-a),e.lineTo(l,h+s),0!==s&&e.quadraticCurveTo(l,h,l+s,h)}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var s=this.refOriginalPosition;t.radius?this._buildRadiusPath(e,t):(e.moveTo(t.x+s[0],t.y+s[1]),e.lineTo(t.x+s[0]+t.width,t.y+s[1]),e.lineTo(t.x+s[0]+t.width,t.y+s[1]+t.height),e.lineTo(t.x+s[0],t.y+s[1]+t.height),e.lineTo(t.x+s[0],t.y+s[1])),e.closePath()}getRect(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,s=this.refOriginalPosition;return e.__rect?e.__rect:(t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x+s[0]-t/2),y:Math.round(e.y+s[1]-t/2),width:e.width+t,height:e.height+t},e.__rect)}}class Qa extends Ha{constructor(e){super(e),this.type="smicsector",this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]),this.CLASS_NAME="SuperMap.LevelRenderer.Shape.SmicSector"}destroy(){this.type=null,super.destroy()}buildPath(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var s=this.refOriginalPosition,r=t.x+s[0],i=t.y+s[1],a=t.r0||0,n=t.r,o=t.startAngle,l=t.endAngle,h=t.clockWise||!1;o=Ua.Util_math.degreeToRadian(o),l=Ua.Util_math.degreeToRadian(l),h||(o=-o,l=-l);var u=Ua.Util_math.cos(o),c=Ua.Util_math.sin(o);e.moveTo(u*a+r,c*a+i),e.lineTo(u*n+r,c*n+i),e.arc(r,i,n,o,l,!h),e.lineTo(Ua.Util_math.cos(l)*a+r,Ua.Util_math.sin(l)*a+i),0!==a&&e.arc(r,i,a,l,o,h),e.closePath()}getRect(e){if(e.__rect)return e.__rect;this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t=this.refOriginalPosition,s=Ua.Util_vector.create(),r=Ua.Util_vector.create(),i=Ua.Util_vector.create(),a=Ua.Util_vector.create(),n=e.x+t[0],o=e.y+t[1],l=e.r0||0,h=e.r,u=Ua.Util_math.degreeToRadian(e.startAngle),c=Ua.Util_math.degreeToRadian(e.endAngle),p=e.clockWise;return p||(u=-u,c=-c),l>1?Ua.Util_computeBoundingBox.arc(n,o,l,u,c,!p,s,i):(s[0]=i[0]=n,s[1]=i[1]=o),Ua.Util_computeBoundingBox.arc(n,o,h,u,c,!p,r,a),Ua.Util_vector.min(s,s,r),Ua.Util_vector.max(i,i,a),e.__rect={x:s[0],y:s[1],width:i[0]-s[0],height:i[1]-s[1]},e.__rect}}class Ka{constructor(e){this.shapeParameters=e,this.CLASS_NAME="SuperMap.Feature.ShapeFactory"}destroy(){this.shapeParameters=null}createShape(e){if(e&&(this.shapeParameters=e),!this.shapeParameters)return null;var t=this.shapeParameters;if(t instanceof wa){let e=new Object;e.x=t.x,e.y=t.y,e.r=t.r,e=fe.copyAttributesWithClip(e,t.style,["x","y"]);let s=new Va;return s.style=Ka.transformStyle(e),s.highlightStyle=Ka.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(s,t,["x","y","style","highlightStyle"]),s}if(t instanceof Ea){if(!t.pointList)return null;let e=new Object;e.pointList=t.pointList,e=fe.copyAttributesWithClip(e,t.style,["pointList"]);let s=new Wa;return s.style=Ka.transformStyle(e),s.highlightStyle=Ka.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(s,t,["pointList","style","highlightStyle"]),s}if(t instanceof Aa){if(!t.pointList)return null;let e=new Object;e.pointList=t.pointList,e=fe.copyAttributesWithClip(e,t.style,["pointList"]);let s=new qa;return s.style=Ka.transformStyle(e),s.highlightStyle=Ka.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(s,t,["pointList","style","highlightStyle"]),s}if(t instanceof Pa){if(!t.x&&!t.y&!t.width&!t.height)return null;let e=new Object;e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height,e=fe.copyAttributesWithClip(e,t.style,["x","y","width","height"]);let s=new Xa;return s.style=Ka.transformStyle(e),s.highlightStyle=Ka.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(s,t,["x","y","width","height","style","highlightStyle"]),s}if(t instanceof Na){let e=new Object;e.x=t.x,e.y=t.y,e.r=t.r,e.startAngle=t.startAngle,e.endAngle=t.endAngle,t.r0&&(e.r0=t.r0),t.clockWise&&(e.clockWise=t.clockWise),e=fe.copyAttributesWithClip(e,t.style,["x","y","r","startAngle","endAngle","r0","endAngle"]);let s=new Qa;return s.style=Ka.transformStyle(e),s.highlightStyle=Ka.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(s,t,["x","y","r","startAngle","endAngle","r0","endAngle","style","highlightStyle"]),s}if(t instanceof La){let e=new Object;e.x=t.x,e.y=t.y,e.text=t.text,e=fe.copyAttributesWithClip(e,t.style,["x","y","text"]);let s=new Ja;return s.style=Ka.transformStyle(e),s.highlightStyle=Ka.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(s,t,["x","y","text","style","highlightStyle"]),s}if(t instanceof Ia){let e=new Object;e.x=t.x,e.y=t.y,t.image&&(e.image=t.image),t.width&&(e.width=t.width),t.height&&(e.height=t.height),t.sx&&(e.sx=t.sx),t.sy&&(e.sy=t.sy),t.sWidth&&(e.sWidth=t.sWidth),t.sHeight&&(e.sHeight=t.sHeight),e=fe.copyAttributesWithClip(e,t.style,["x","y","image","width","height","sx","sy","sWidth","sHeight"]);let s=new Ya;return s.style=Ka.transformStyle(e),s.highlightStyle=Ka.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(s,t,["x","y","image","width","height","style","highlightStyle"]),s}if(t instanceof Oa){let e=new Object;e.x=t.x,e.r=t.r,e.y=t.y,e=fe.copyAttributesWithClip(e,t.style,["x","y","r"]);let s=new za;return s.style=Ka.transformStyle(e),s.highlightStyle=Ka.transformStyle(t.highlightStyle),fe.copyAttributesWithClip(s,t,["x","y","r","style","highlightStyle","lineWidth","text","textPosition"]),s}return null}static transformStyle(e){var t={},s=["normal","normal","normal","12","arial,sans-serif"],r=[!0,!1];for(var i in e)switch(i){case"fill":r[0]=e[i];break;case"fillColor":t.color=e[i];break;case"stroke":r[1]=e[i];break;case"strokeWidth":t.lineWidth=e[i];break;case"strokeLinecap":t.lineCap=e[i];break;case"strokeLineJoin":t.lineJoin=e[i];break;case"strokeDashstyle":t.lineType=e[i];break;case"pointRadius":t.r=e[i];break;case"label":t.text=e[i];break;case"labelRect":t.labelRect=e[i];break;case"fontColor":t.textColor=e[i];break;case"fontStyle":s[0]=e[i];break;case"fontVariant":s[1]=e[i];break;case"fontWeight":s[2]=e[i];break;case"fontSize":var a="";e[i]&&e[i].toString().indexOf("px")<0&&(a="px"),s[3]=e[i]+a;break;case"fontFamily":s[4]=e[i];break;case"fontOpacity":t.opacity=e[i];break;case"labelPosition":t.textPosition=e[i];break;case"labelAlign":t.textAlign=e[i];break;case"labelBaseline":t.textBaseline=e[i];break;case"labelRotation":t.textRotation=e[i];break;default:t[i]=e[i]}return t.textFont=s.join(" "),!0===r[0]&&!1===r[1]?t.brushType="fill":!1===r[0]&&!0===r[1]?t.brushType="stroke":!0===r[0]&&!0===r[1]?t.brushType="both":t.brushType="fill",null==t.lineWidth&&(t.lineWidth=1),t}static Background(e,t,s){var r=s||{},i=new Pa(t[0],t[3],Math.abs(t[2]-t[0]),Math.abs(t[3]-t[1]));return i.style={fillColor:"#f3f3f3"},r.backgroundStyle&&fe.copyAttributesWithClip(i.style,r.backgroundStyle),r.backgroundRadius&&(i.style.radius=r.backgroundRadius),i.clickable=!1,i.hoverable=!1,e.createShape(i)}static GraphAxis(e,t,s,r){var i=t,a=s||{},n=[],o=[],l=!!a.useXReferenceLine&&a.useXReferenceLine,h=a.axisYTick&&!isNaN(a.axisYTick)?a.axisYTick:0,u=[],c=[];if(0==h){if(c.push([i[0],i[3]-5]),c.push([i[0],i[1]]),a.axis3DParameter&&!isNaN(a.axis3DParameter)&&a.axis3DParameter>=15){let e=parseInt(a.axis3DParameter),t=[i[0]-e,i[1]+e];a.axisUseArrow?(u.push([t[0]+1.5,t[1]-7.5]),u.push([t[0]-1,t[1]+1]),u.push([t[0]+7.5,t[1]-1.5]),c.push([t[0],t[1]])):c.push([t[0],t[1]]),c.push([i[0],i[1]])}c.push([i[2]+5,i[1]])}else{var p=Math.abs(i[1]-i[3])/h,d=i[3];c.push([i[0],d-5]);for(var f=0;f=15){let e=parseInt(a.axis3DParameter),t=[i[0]-e,i[1]+e];a.axisUseArrow?(u.push([t[0]+1.5,t[1]-7.5]),u.push([t[0]-1,t[1]+1]),u.push([t[0]+7.5,t[1]-1.5]),c.push([t[0],t[1]])):c.push([t[0],t[1]]),c.push([i[0],i[1]])}c.push([i[2]+5,i[1]])}if(a.axisUseArrow){var y=[[i[2]+5,i[1]+4],[i[2]+13,i[1]],[i[2]+5,i[1]-4]],g=[[i[0]-4,i[3]-5],[i[0],i[3]-13],[i[0]+4,i[3]-5]],v=new Aa(y);v.style={fillColor:"#008acd"},fe.copyAttributesWithClip(v.style,a.axisStyle),o.push(e.createShape(v));var S=new Aa(g);if(S.style={fillColor:"#008acd"},fe.copyAttributesWithClip(S.style,a.axisStyle),o.push(e.createShape(S)),a.axis3DParameter&&!isNaN(a.axis3DParameter)&&a.axis3DParameter>=15){var b=new Aa(u);b.style={fillColor:"#008acd"},fe.copyAttributesWithClip(b.style,a.axisStyle),o.push(e.createShape(b))}}var x=new Ea(c);x.style={strokeLinecap:"butt",strokeLineJoin:"round",strokeColor:"#008acd",strokeWidth:1},a.axisStyle&&fe.copyAttributesWithClip(x.style,a.axisStyle),x.clickable=!1,x.hoverable=!1;var C=[e.createShape(x)],T=[];if(a.axisYLabels&&a.axisYLabels.length&&a.axisYLabels.length>0){var M=a.axisYLabels;let t=M.length;var _=[0,0];if(a.axisYLabelsOffset&&a.axisYLabelsOffset.length&&(_=a.axisYLabelsOffset),1==t){let t=new La(i[0]-5+_[0],i[3]+_[1],M[0]);t.style={labelAlign:"right"},a.axisYLabelsStyle&&fe.copyAttributesWithClip(t.style,a.axisYLabelsStyle),t.clickable=!1,t.hoverable=!1,T.push(e.createShape(t))}else for(var w=i[3],E=Math.abs(i[1]-i[3])/(t-1),A=0;A0){let t=a.axisXLabels,s=t.length,n=[0,0];if(a.axisXLabelsOffset&&a.axisXLabelsOffset.length&&(n=a.axisXLabelsOffset),r&&r.xPositions&&r.xPositions.length&&r.xPositions.length==s){let o=r.xPositions;for(let r=0;r=0&&s[i]&&fe.copyAttributesWithClip(n,s[i]),r&&r.length&&void 0!==a)for(var o=r,l=o.length,h=parseFloat(a),u=0;u=h[2]||h[1]<=h[3])&&(this.DVBOrigonPoint=[h[0],h[3]],this.DVBWidth=Math.abs(h[2]-h[0]),this.DVBHeight=Math.abs(h[1]-h[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-n[0],this.DVBOrigonPoint[1]-n[1]],!0)}resetLocation(e){e&&(this.lonlat=e);var t=this.getLocalXY(this.lonlat);t[0]+=this.XOffset,t[1]+=this.YOffset,this.location=t;var s=this.width,r=this.height,i=this.location;return this.chartBounds=new ye(i[0]-s/2,i[1]+r/2,i[0]+s/2,i[1]-r/2),this.resetLinearGradient(),i}resetLinearGradient(){}shapesConvertToRelativeCoordinate(){for(var e=this.shapes,t=this.location,s=0,r=e.length;s=0?r.push(parseFloat(i[n].toString()).toFixed(s)):r.push(parseFloat(i[n].toString()))}catch(e){throw new Error("not a number")}return r.length===t.length&&r},r.Feature.Theme.Graph=$a;r.Feature.Theme.Bar=class extends $a{constructor(e,t,s,r,i){super(e,t,s,r,i),this.CLASS_NAME="SuperMap.Feature.Theme.Bar"}destroy(){super.destroy()}assembleShapes(){var e={showShadow:!0,shadowBlur:8,shadowColor:"rgba(100,100,100,0.8)",shadowOffsetX:2,shadowOffsetY:2},t=this.setting;if(void 0!==t.barLinearGradient&&(t.barLinearGradient=[["#00FF00","#00CD00"],["#00CCFF","#5E87A2"],["#00FF66","#669985"],["#CCFF00","#94A25E"],["#FF9900","#A2945E"]]),t.dataViewBoxParameter||(void 0===t.useAxis||t.useAxis?t.dataViewBoxParameter=[45,15,15,15]:t.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var s=this.DVBCodomain;this.DVBUnitValue=(s[1]-s[0])/this.DVBHeight;var r=this.dataViewBox,i=this.dataValues;if(!(i.length<1)){for(let e=0,t=i.length;es[1])return;var a=this.calculateXShapeInfo();if(a){var n=a.xPositions,o=a.width;(void 0===t.useBackground||t.useBackground)&&this.shapes.push(Ka.Background(this.shapeFactory,this.chartBox,t)),(void 0===t.useAxis||t.useAxis)&&(this.shapes=this.shapes.concat(Ka.GraphAxis(this.shapeFactory,r,t,a)));for(var l=0;l=t.length&&(s%=t.length);var l=t[s][0],h=t[s][1],u=(new Ga).getLinearGradient(n,0,o,0,[[0,l],[1,h]]);i.style.color=u}}}};r.Feature.Theme.Bar3D=class extends $a{constructor(e,t,s,r,i){super(e,t,s,r,i),this.CLASS_NAME="SuperMap.Feature.Theme.Bar3D"}destroy(){super.destroy()}assembleShapes(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,25,20,20]:e.dataViewBoxParameter=[5,5,5,5]),e.axisUseArrow=void 0===e.axisUseArrow||e.axisUseArrow,e.axisXLabelsOffset=void 0!==e.axisXLabelsOffset?e.axisXLabelsOffset:[-10,10],this.initBaseParameter()){var t=this.DVBCodomain;this.DVBUnitValue=(t[1]-t[0])/this.DVBHeight;var s=this.dataViewBox,r=this.dataValues;if(!(r.length<1)){for(let e=0,s=r.length;et[1])return;var i=this.calculateXShapeInfo();if(i){var a=i.xPositions,n=i.width;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(Ka.Background(this.shapeFactory,this.chartBox,e)),(!e.axis3DParameter||isNaN(e.axis3DParameter)||e.axis3DParameter<15)&&(e.axis3DParameter=20),(void 0===e.useAxis||e.useAxis)&&(this.shapes=this.shapes.concat(Ka.GraphAxis(this.shapeFactory,s,e,i)));var o=e.bar3DParameter&&!isNaN(e.bar3DParameter)?e.bar3DParameter:10;for(let i=0;i=o[2]||o[1]<=o[3])&&(this.DVBOrigonPoint=[o[0],o[3]],this.DVBWidth=Math.abs(o[2]-o[0]),this.DVBHeight=Math.abs(o[1]-o[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-i[0],this.DVBOrigonPoint[1]-i[1]],!0)}}r.Feature.Theme.RankSymbol=en;r.Feature.Theme.Circle=class extends en{constructor(e,t,s,r,i){super(e,t,s,r,i),this.CLASS_NAME="SuperMap.Feature.Theme.Circle"}destroy(){super.destroy()}assembleShapes(){if(!this.setting)return!1;var e=this.setting;if(!e.codomain)return!1;var t=void 0===e.decimalNumber||isNaN(e.decimalNumber)?-1:e.decimalNumber,s=Za.getDataValues(this.data,this.fields,t);this.dataValues=s||[];var r=this.dataValues;e.maxR||(e.maxR=100),e.minR||(e.minR=0);var i=this.DVBCodomain;i&&i[1]-i[0]>0?this.DVBUnitValue=e.maxR/(i[1]-i[0]):this.DVBUnitValue=e.maxR;var a=this.DVBUnitValue,n=r[0]*a+e.minR;if(this.width=2*n,this.height=2*n,this.initBaseParameter()&&(!i||!(r[0]i[1]))){var o=this.DVBCenterPoint,l=new Oa(o[0],o[1],n);l.style=Ka.ShapeStyleTool(null,e.circleStyle,null,null,0),void 0!==e.fillColor?l.style.fillColor=e.fillColor:l.style.fillColor="#ff9277",l.highlightStyle=Ka.ShapeStyleTool(null,e.circleHoverStyle),void 0!==e.circleHoverAble&&(l.hoverable=e.circleHoverAble),void 0!==e.circleClickAble&&(l.clickable=e.circleClickAble),l.refDataID=this.data.id,l.dataInfo={field:this.fields[0],r:n,value:r[0]},this.shapes.push(this.shapeFactory.createShape(l)),this.shapesConvertToRelativeCoordinate()}}};r.Feature.Theme.Line=class extends $a{constructor(e,t,s,r,i,a){super(e,t,s,r,i,a),this.CLASS_NAME="SuperMap.Feature.Theme.Line"}destroy(){super.destroy()}assembleShapes(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,15,15,15]:e.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var t=this.dataViewBox,s=this.DVBCodomain;this.DVBUnitValue=(s[1]-s[0])/this.DVBHeight;var r=this.DVBUnitValue,i=this.dataValues;if(!(i.length<1)){var a=this.calculateXShapeInfo();if(a){var n,o,l=a.xPositions;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(Ka.Background(this.shapeFactory,this.chartBox,e)),this.shapes=this.shapes.concat(Ka.GraphAxis(this.shapeFactory,t,e,a));for(var h=[],u=[],c=0,p=i.length;cs[1])return null;n=l[c],o=t[1]-(i[c]-s[0])/r;var d=new wa(n,o);d.style=Ka.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,c,i[c]),d.highlightStyle=Ka.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(d.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(d.clickable=e.pointClickAble),d.refDataID=this.data.id,d.dataInfo={field:this.fields[c],value:i[c]},u.push(this.shapeFactory.createShape(d));var f=[n,o];h.push(f)}var m=new Ea(h);m.style=Ka.ShapeStyleTool({strokeColor:"#ee9900"},e.lineStyle),m.clickable=!1,m.hoverable=!1;var y=this.shapeFactory.createShape(m);this.shapes.push(y),this.shapes=this.shapes.concat(u),this.shapesConvertToRelativeCoordinate()}}}}calculateXShapeInfo(){var e,t=this.dataViewBox,s=this.setting,r=this.dataValues.length;if(r<1)return null;var i=[],a=this.DVBWidth,n=0;if(s.xShapeBlank&&s.xShapeBlank.length&&2==s.xShapeBlank.length){var o=a-((e=s.xShapeBlank)[0]+e[1]);if(o<=r)return null;n=o/(r-1)}else e=[n=a/(r+1),n,n];for(var l=0,h=0;hr[1])return;var i=0;for(let e=0;e=360&&(l=359.9999999);var d=new Na(n[0],n[1],u,o,l);if(void 0===e.sectorStyleByFields){var f=c%t.length;d.style=Ka.ShapeStyleTool(null,e.sectorStyle,t,null,f)}else d.style=Ka.ShapeStyleTool(null,e.sectorStyle,e.sectorStyleByFields,e.sectorStyleByCodomain,c,s[c]);d.highlightStyle=Ka.ShapeStyleTool(null,e.sectorHoverStyle),void 0!==e.sectorHoverAble&&(d.hoverable=e.sectorHoverAble),void 0!==e.sectorClickAble&&(d.clickable=e.sectorClickAble),d.refDataID=this.data.id,d.dataInfo={field:this.fields[c],value:s[c]},this.shapes.push(this.shapeFactory.createShape(d)),o=l}this.shapesConvertToRelativeCoordinate()}}}};r.Feature.Theme.Point=class extends $a{constructor(e,t,s,r,i,a){super(e,t,s,r,i,a),this.CLASS_NAME="SuperMap.Feature.Theme.Point"}destroy(){super.destroy()}assembleShapes(){var e=this.setting;if(e.dataViewBoxParameter||(void 0===e.useAxis||e.useAxis?e.dataViewBoxParameter=[45,15,15,15]:e.dataViewBoxParameter=[5,5,5,5]),this.initBaseParameter()){var t=this.dataViewBox,s=this.DVBCodomain;this.DVBUnitValue=(s[1]-s[0])/this.DVBHeight;var r=this.DVBUnitValue,i=this.dataValues,a=this.calculateXShapeInfo();if(a){var n,o,l=a.xPositions;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(Ka.Background(this.shapeFactory,this.chartBox,e)),this.shapes=this.shapes.concat(Ka.GraphAxis(this.shapeFactory,t,e,a));for(var h=0,u=i.length;hs[1])return null;n=l[h],o=t[1]-(i[h]-s[0])/r;var c=new wa(n,o);c.style=Ka.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,h,i[h]),c.highlightStyle=Ka.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(c.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(c.clickable=e.pointClickAble),c.refDataID=this.data.id,c.dataInfo={field:this.fields[h],value:i[h]},this.shapes.push(this.shapeFactory.createShape(c))}this.shapesConvertToRelativeCoordinate()}}}calculateXShapeInfo(){var e,t=this.dataViewBox,s=this.setting,r=this.dataValues.length;if(r<1)return null;var i=[],a=this.DVBWidth,n=0;if(s.xShapeBlank&&s.xShapeBlank.length&&2==s.xShapeBlank.length){var o=a-((e=s.xShapeBlank)[0]+e[1]);if(o<=r)return null;n=o/(r-1)}else e=[n=a/(r+1),n,n];for(var l=0,h=0;hr[1])return;var i=0;for(let e=0;e=0&&t.innerRingRadius0){var h=a[a.length-1];if(Math.abs(h[0]-r[0])<=n&&Math.abs(h[1]-r[1])<=n)continue}a.push(r)}if(a.length<2)return null;var u=new Object;(u=fe.copyAttributesWithClip(u,this.style,["pointList"])).pointList=a;var c=new Wa({style:u,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(c.highlightStyle=this.highlightStyle),c.refOriginalPosition=this.location,c.refDataID=this.data.id,c.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&fe.copyAttributesWithClip(c,this.shapeOptions),this.shapes.push(c)}multiPointToTF(e){for(var t=e.components,s=[],r=[],i=this.location,a=[],n=this.nodesClipPixel,o=0;o0){var h=a[a.length-1];if(Math.abs(h[0]-r[0])<=n&&Math.abs(h[1]-r[1])<=n)continue}a.push(r);var u=new Object;u.r=6,(u=fe.copyAttributesWithClip(u,this.style)).x=r[0],u.y=r[1];var c=new Va({style:u,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(c.highlightStyle=this.highlightStyle),c.refOriginalPosition=i,c.refDataID=this.data.id,c.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&fe.copyAttributesWithClip(c,this.shapeOptions),this.shapes.push(c)}}multiLineStringToTF(e){for(var t=e.components,s=0;s0){var p=a[a.length-1];if(Math.abs(p[0]-r[0])<=l&&Math.abs(p[1]-r[1])<=l)continue}a.push(r)}}else{n=[];for(var d=0;d0){var f=n[n.length-1];if(Math.abs(f[0]-r[0])<=l&&Math.abs(f[1]-r[1])<=l)continue}n.push(r)}}n.length<2||o.push(n)}if(!(a.length<2)){var m={};(m=fe.copyAttributesWithClip(m,this.style,["pointList"])).pointList=a;var y=new qa({style:m,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(y.highlightStyle=this.highlightStyle),y.refOriginalPosition=this.location,y.refDataID=this.data.id,y.isHoverByRefDataID=this.isMultiHover,o.length>0&&(y.holePolygonPointLists=o),this.shapeOptions&&fe.copyAttributesWithClip(y,this.shapeOptions),this.shapes.push(y)}}rectangleToTF(e){var t=this.location,s=new me(e.x,e.y),r=this.layer.map.getResolution(),i=this.getLocalXY(s),a=new Object;a.r=6,(a=fe.copyAttributesWithClip(a,this.style)).x=i[0]-t[0],a.y=i[1]-t[1]-2*e.width/r,a.width=e.width/r,a.height=e.height/r;var n=new Xa({style:a,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(n.highlightStyle=this.highlightStyle),n.refOriginalPosition=t,n.refDataID=this.data.id,n.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&fe.copyAttributesWithClip(n,this.shapeOptions),this.shapes.push(n)}geoTextToTF(e){var t=this.location,s=this.getLocalXY(e),r=new Object;r.r=6,(r=fe.copyAttributesWithClip(r,this.style,["x","y","text"])).x=s[0]-t[0],r.y=s[1]-t[1],r.text=e.text;var i=new Ja({style:r,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(i.highlightStyle=this.highlightStyle),i.refOriginalPosition=t,i.refDataID=this.data.id,i.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&fe.copyAttributesWithClip(i,this.shapeOptions),this.shapes.push(i)}updateAndAddShapes(){var e=this.getLocalXY(this.lonlat);this.location=e;for(var t=this.layer.renderer,s=0,r=this.shapes.length;s0}addRoot(e){e instanceof sn&&e.addChildrenToStorage(this),this.addToMap(e),this._roots.push(e)}delRoot(e){if(void 0===e){for(var t=0;t=0&&(this.delFromMap(i.id),this._roots.splice(a,1),i instanceof sn&&i.delChildrenFromStorage(this))}}addToMap(e){return e instanceof sn&&(e._storage=this),e.modSelf(),this._elements[e.id]=e,this}get(e){return this._elements[e]}delFromMap(e){var t=this._elements[e];return t&&(delete this._elements[e],t instanceof sn&&(t._storage=null)),this}dispose(){this._elements=null,this._roots=null,this._hoverElements=null}static shapeCompareFunc(e,t){return e.zlevel==t.zlevel?e.z==t.z?e.__renderidx-t.__renderidx:e.z-t.z:e.zlevel-t.zlevel}}class an{constructor(e,t){this.root=e,this.storage=t,this._domRoot=null,this._layers={},this._zlevelList=[],this._layerConfig={},this._bgDom=null,this.shapeToImage=null,an.devicePixelRatio=Math.max(window.devicePixelRatio||1,1),this.CLASS_NAME="SuperMap.LevelRenderer.Painter",this.root.innerHTML="",this._width=this._getWidth(),this._height=this._getHeight();var s=document.createElement("div");this._domRoot=s,s.style.position="relative",s.style.overflow="hidden",s.style.width=this._width+"px",s.style.height=this._height+"px",this.root.appendChild(s),this.shapeToImage=this._createShapeToImageProcessor(),this._bgDom=an.createDom(fe.createUniqueID("SuperMap.Theme_background_"),"div",this),s.appendChild(this._bgDom),this._bgDom.onselectstart=a,this._bgDom.style["-webkit-user-select"]="none",this._bgDom.style["user-select"]="none",this._bgDom.style["-webkit-touch-callout"]="none";var r=new nn(fe.createUniqueID("_highLightLayer_"),this);this._layers.hover=r,s.appendChild(r.dom),r.initContext(),r.dom.onselectstart=a,r.dom.style["-webkit-user-select"]="none",r.dom.style["user-select"]="none",r.dom.style["-webkit-touch-callout"]="none";var i=this;function a(){return!1}this.updatePainter=function(e,t){i.refreshShapes(e,t)}}destroy(){this.dispose(),this._zlevelList=null,this._layerConfig=null,this._bgDom=null,this.shapeToImage=null}render(e){return this.refresh(e,!0),this}refresh(e,t){var s=this.storage.getShapeList(!0);return this._paintList(s,t),"function"==typeof e&&e(),this}_paintList(e,t){var s,r,i;for(var a in void 0===t&&(t=!1),this._updateLayerStatus(e),this._layers)"hover"!==a&&(this._layers[a].unusedCount++,this._layers[a].updateTransform());for(var n=[],o=0,l=e.length;o0&&e>this._zlevelList[0]){for(i=0;ie);i++);r=this._layers[this._zlevelList[i]]}this._zlevelList.splice(i+1,0,e),t=new nn(fe.createUniqueID("_levelLayer_"+e),this);var a=r?r.dom:this._bgDom;a.nextSibling?a.parentNode.insertBefore(t.dom,a.nextSibling):a.parentNode.appendChild(t.dom),t.initContext(),this._layers[e]=t,this._layerConfig[e]&&(new Fa).merge(t,this._layerConfig[e],!0),t.updateTransform()}return t}getLayers(){return this._layers}_updateLayerStatus(e){var t=this._layers,s={};for(let e in t)"hover"!==e&&(s[e]=t[e].elCount,t[e].elCount=0);for(let s=0;s0?1.1:1/1.1,s=this.painter.getLayers(),r=!1;for(var i in s)if("hover"!==i){var a=s[i],n=a.position;if(a.zoomable){a.__zoom=a.__zoom||1;var o=a.__zoom;o*=t,t=(o=Math.max(Math.min(a.maxZoom,o),a.minZoom))/a.__zoom,a.__zoom=o,n[0]-=(this._mouseX-n[0])*(t-1),n[1]-=(this._mouseY-n[1])*(t-1),a.scale[0]*=t,a.scale[1]*=t,a.dirty=!0,r=!0}}r&&this.painter.refresh(),this._dispatchAgency(this._lastHover,Ba.EVENT.MOUSEWHEEL,e),this._mousemoveHandler(e)},mousemove:function(e){this._clickThreshold++,e=this._zrenderEventFixed(e),this._lastX=this._mouseX,this._lastY=this._mouseY,this._mouseX=Ua.Util_event.getX(e),this._mouseY=Ua.Util_event.getY(e);var t=this._mouseX-this._lastX,s=this._mouseY-this._lastY;this._processDragStart(e),this._hasfound=0,this._event=e,this._iterateAndFindHover(),this._hasfound||((!this._draggingTarget||this._lastHover&&this._lastHover!=this._draggingTarget)&&(this._processOutShape(e),this._processDragLeave(e)),this._lastHover=null,this.storage.delHover(),this.painter.clearHover());var r="";if(this._draggingTarget)this.storage.drift(this._draggingTarget.id,t,s),this._draggingTarget.modSelf(),this.storage.addHover(this._draggingTarget);else if(this._isMouseDown){var i=this.painter.getLayers(),a=!1;for(var n in i)if("hover"!==n){var o=i[n];o.panable&&(r="move",o.position[0]+=t,o.position[1]+=s,a=!0,o.dirty=!0)}a&&this.painter.refresh()}this._draggingTarget||this._hasfound&&this._lastHover.draggable?r="move":this._hasfound&&this._lastHover.clickable&&(r="pointer"),this.root.style.cursor=r,this._dispatchAgency(this._lastHover,Ba.EVENT.MOUSEMOVE,e),(this._draggingTarget||this._hasfound||this.storage.hasHoverShape())&&this.painter.refreshHover()},mouseout:function(e){var t=(e=this._zrenderEventFixed(e)).toElement||e.relatedTarget;if(t!=this.root)for(;t&&9!=t.nodeType;){if(t==this.root)return void this._mousemoveHandler(e);t=t.parentNode}e.zrenderX=this._lastX,e.zrenderY=this._lastY,this.root.style.cursor="",this._isMouseDown=0,this._processOutShape(e),this._processDrop(e),this._processDragEnd(e),this.painter.refreshHover(),this.dispatch(Ba.EVENT.GLOBALOUT,e)},mousedown:function(e){if(this._clickThreshold=0,2==this._lastDownButton)return this._lastDownButton=e.button,void(this._mouseDownTarget=null);this._lastMouseDownMoment=new Date,e=this._zrenderEventFixed(e),this._isMouseDown=1,this._mouseDownTarget=this._lastHover,this._dispatchAgency(this._lastHover,Ba.EVENT.MOUSEDOWN,e),this._lastDownButton=e.button},mouseup:function(e){e=this._zrenderEventFixed(e),this.root.style.cursor="",this._isMouseDown=0,this._mouseDownTarget=null,this._dispatchAgency(this._lastHover,Ba.EVENT.MOUSEUP,e),this._processDrop(e),this._processDragEnd(e)},touchstart:function(e){e=this._zrenderEventFixed(e,!0),this._lastTouchMoment=new Date,this._mobildFindFixed(e),this._mousedownHandler(e)},touchmove:function(e){e=this._zrenderEventFixed(e,!0),this._mousemoveHandler(e),this._isDragging&&Ua.Util_event.stop(e)},touchend:function(e){e=this._zrenderEventFixed(e,!0),this._mouseupHandler(e);var t=new Date;t-this._lastTouchMoment=0;i--){var a=s[i];if(void 0!==a.zlevel&&(e=this.painter.getLayer(a.zlevel,e),r[0]=this._mouseX,r[1]=this._mouseY,e.needTransform&&(Ua.Util_matrix.invert(t,e.transform),Ua.Util_vector.applyTransform(r,r,t))),this._findHover(a,r[0],r[1]))break}}_mobildFindFixed(e){var t=[{x:10},{x:-20},{x:10,y:10},{y:-20}];this._lastHover=null,this._mouseX=e.zrenderX,this._mouseY=e.zrenderY,this._event=e,this._iterateAndFindHover();for(var s=0;!this._lastHover&&s=0&&this._clips.splice(t,1)}_update(){var e=(new Date).getTime(),t=e-this._time,s=this._clips,r=s.length,i=[],a=[];for(let t=0;t=0&&!(m[S]<=n);S--);S=Math.min(S,h-2)}else{for(S=_;Sn);S++);S=Math.min(S-1,h-2)}_=S,w=n;var o=m[S+1]-m[S];if(0!==o){if(b=(n-m[S])/o,a)if(C=y[S],x=y[0===S?S:S-1],T=y[S>h-2?h-1:S+1],M=y[S>h-3?h-1:S+2],c)un._catmullRomInterpolateArray(x,C,T,M,b,b*b,b*b*b,r(e,l),d);else{let t;t=p?un.rgba2String(E):un._catmullRomInterpolate(x,C,T,M,b,b*b,b*b*b),s(e,l,t)}else if(c)un._interpolateArray(y[S],y[S+1],b,r(e,l),d);else{let t;p?(un._interpolateArray(y[S],y[S+1],b,E,1),t=un.rgba2String(E)):t=un._interpolateNumber(y[S],y[S+1],b),s(e,l,t)}for(S=0;S0&&(this.length=e,this.max=this.length-1,this.slider.setAttribute("max",this.max))}setLayer(e){e&&(this.options.layer=e);var t=this,s=t.options.layer;s.on("tilesetsinfoloaded",function(e){var s=e.value&&e.value.tileVersions;t.update(s)}),s.on("tileversionschanged",function(e){var s=e.value&&e.value.tileVersion;t.setContent(s)}),t.getTileSetsInfo()}update(e){this.tileVersions=e,this.updateLength(this.tileVersions.length)}getTileSetsInfo(){var e=this;e.options.layer&&new gn(e.options.layer._url).getTilesets(function(t){e.options.layer.setTileSetsInfo(t.result)})}removeLayer(){this.options.layer=null}nextTilesVersion(){return this.firstLoad?(this.options.layer.nextTilesVersion(),this.firstLoad=!1,this):parseInt(this.slider.value)>this.max-1?this:(this.slider.value=parseInt(this.slider.value)+1,this.options.layer.nextTilesVersion(),this)}lastTilesVersion(){return parseInt(this.slider.value)"+s+"",e}.call(this)}}mn.a.supermap.control.Logo=Sn;var bn={"point-file":"pointFile","point-fill":"fillStyle","point-radius":"pointRadius","point-halo-radius":"pointHaloRadius","point-halo-color":"pointHaloColor","point-dx":"offsetX","point-dy":"offsetY","point-opacity":"globalAlpha","point-comp-op":"globalCompositeOperation"},xn={"line-color":"strokeStyle","line-width":"lineWidth","line-cap":"lineCap","line-join":"lineJoin","line-miterlimit":"miterLimit","line-dash-offset":"lineDashOffset","line-opacity":"strokeOpacity","line-dasharray":"lineDasharray","line-offset":"offset","line-comp-op":"globalCompositeOperation"},Cn={"line-color":"strokeStyle","line-width":"lineWidth","line-cap":"lineCap","line-join":"lineJoin","line-miterlimit":"miterLimit","line-dash-offset":"lineDashOffset","line-opacity":"strokeOpacity","line-dasharray":"lineDasharray","polygon-fill":"fillStyle","polygon-dx":"offsetX","polygon-dy":"offsetY","polygon-opacity":"fillOpacity","polygon-comp-op":"globalCompositeOperation"},Tn={CartoStyleMap:{TEXT:{"text-size":"fontSize","text-face-name":"fontFamily","text-align":"textAlign","text-vertical-alignment":"textBaseline","text-horizontal-alignment":"textAlign","text-bold":"bold","text-weight":"fontWeight","text-name":"textName","text-halo-radius":"haloRadius","text-halo-color":"backColor","text-fill":"foreColor","text-opacity":"globalAlpha","text-dx":"offsetX","text-dy":"offsetY","text-comp-op":"globalCompositeOperation"},POINT:bn,MULTIPOINT:bn,LINE:xn,LINESTRING:xn,MULTILINESTRING:xn,REGION:Cn,POLYGON:Cn,MULTIPOLYGON:Cn},ServerStyleMap:{fillBackOpaque:{canvasStyle:"",type:"bool",defaultValue:!0},lineWidth:{canvasStyle:"lineWidth",type:"number",unit:"mm",defaultValue:.1},fillBackColor:{canvasStyle:"",type:"color",defaultValue:"rgba(0,0,0,0)"},markerWidth:{canvasStyle:"",type:"number",unit:"mm",defaultValue:""},markerAngle:{canvasStyle:"",type:"number",unit:"degree",defaultValue:""},fillForeColor:{canvasStyle:"fillStyle",type:"color",defaultValue:"rgba(0,0,0,0)"},foreColor:{canvasStyle:"fillStyle",type:"color",defaultValue:"rgba(0,0,0,0)"},markerSize:{canvasStyle:"markerSize",type:"number",unit:"mm",defaultValue:2.4},fillGradientOffsetRatioX:{canvasStyle:"",type:"number",defaultValue:0},fillGradientOffsetRatioY:{canvasStyle:"",type:"number",defaultValue:0},lineColor:{canvasStyle:"strokeStyle",type:"color",defaultValue:"rgba(0,0,0,0)"},fillOpaqueRate:{canvasStyle:"",type:"number",defaultValue:100},markerHeight:{canvasStyle:"",type:"number",unit:"mm",defaultValue:0},fillGradientMode:{canvasStyle:"",type:"string",defaultValue:"NONE"},fillSymbolID:{canvasStyle:"",type:"number",defaultValue:0},fillGradientAngle:{canvasStyle:"",type:"number",unit:"degree",defaultValue:0},markerSymbolID:{canvasStyle:"",type:"number",defaultValue:0},lineSymbolID:{canvasStyle:"",type:"number",defaultValue:0}},CartoCompOpMap:{clear:"",src:"",dst:"","src-over":"source-over","dst-over":"destination-over","src-in":"source-in","dst-in":"destination-in","src-out":"source-out","dst-out":"destination-out","src-atop":"source-atop","dst-atop":"destination-atop",xor:"xor",plus:"lighter",minus:"",multiply:"",screen:"",overlay:"",darken:"",lighten:"lighter","color-dodge":"","color-burn":"","hard-light":"","soft-light":"",difference:"",exclusion:"",contrast:"",invert:"","invert-rgb":"","grain-merge":"","grain-extract":"",hue:"",saturation:"",color:"",value:""}},Mn={pointFile:"",pointRadius:3,pointHaloRadius:1,pointHaloColor:"#c33",offsetX:0,offsetY:0,fillStyle:"#fc0",globalAlpha:1,globalCompositeOperation:"source-over",imageSmoothingEnabled:!0},_n={strokeStyle:"rgba(0,0,0,0)",lineWidth:1,lineCap:"butt",lineJoin:"round",miterLimit:10,lineDashOffset:0,lineDasharray:[],strokeOpacity:1,offset:0,globalAlpha:1,globalCompositeOperation:"source-over",imageSmoothingEnabled:!0},wn={strokeStyle:"rgba(0,0,0,0)",lineWidth:1,lineCap:"butt",lineJoin:"round",miterLimit:10,lineDashOffset:0,lineOpacity:1,fillOpacity:1,lineDasharray:[],fillStyle:"rgba(0,0,0,0)",polygonOpacity:1,offsetX:0,offsetY:0,globalAlpha:1,globalCompositeOperation:"source-over",imageSmoothingEnabled:!0},En={TEXT:{font:"10px sans-serif",textAlign:"middle",textBaseline:"center",direction:"ltr",bold:!1,haloRadius:0,backColor:"rgba(255,255,255,1)",foreColor:"rgba(0,0,0,1)",offsetX:0,offsetY:0,textHeight:0,globalAlpha:1,globalCompositeOperation:"source-over",imageSmoothingEnabled:!0},POINT:Mn,MULTIPOINT:Mn,LINE:_n,LINESTRING:_n,MULTILINESTRING:_n,REGION:wn,POLYGON:wn,MULTIPOLYGON:wn,SHADOW:{shadowBlur:0,shadowColor:"rgba(0,0,0,0)",shadowOffsetX:0,shadowOffsetY:0},GLOBAL:{globalAlpha:1,globalCompositeOperation:"source-over",imageSmoothingEnabled:!0}};mn.a.supermap=mn.a.supermap||{};class An{static getValidStyleFromLayerInfo(e,t,s){var i=t.getGeometry().getType().toUpperCase(),a=e.layerStyle,n=this.getDefaultStyle(i);if(!("POINT"!==i&&"MULTIPOINT"!==i||t.getProperties().textStyle||"LABEL"===e.type||t.getProperties().TEXT_FEATURE_CONTENT)){if(a){var o={transparent:!0,resourceType:"SYMBOLMARKER",picWidth:Math.ceil(a.markerSize*r.DOTS_PER_INCH*r.INCHES_PER_UNIT.mm)||13,picHeight:Math.ceil(a.markerSize*r.DOTS_PER_INCH*r.INCHES_PER_UNIT.mm)||13,style:JSON.stringify(a)},l=fe.urlAppend(s+"/symbol.png",fe.getParameterString(o));return n.pointFile=l,new mn.a.style.Style({image:new mn.a.style.Icon({src:n.pointFile})})}return this.toOLPointStyle(n)}if(("POINT"===i||"MULTIPOINT"===i)&&(t.getProperties().textStyle||"LABEL"===e.type||t.getProperties().TEXT_STYLE_INFO)){if(n=this.getDefaultStyle("TEXT"),t.getProperties().textStyle&&(a=t.getProperties().textStyle),t.getProperties().TEXT_STYLE_INFO&&(a=JSON.parse(t.getProperties().TEXT_STYLE_INFO).textStyle),a&&"{}"!==a){var h="";n.fontStyle=a.italic?"italic":"normal",n.fontWeight=a.bold?a.fontWeight:"normal";var u=a.fontHeight*r.DOTS_PER_INCH*r.INCHES_PER_UNIT.mm*.85;n.fontSize=u+"px",h=a.fontName.indexOf("@")?a.fontName.replace(/@/g,""):a.fontName,n.fontFamily=h,n.textHeight=u;var c=a.align.replace(/TOP|MIDDLE|BASELINE|BOTTOM/,"");n.textAlign=c.toLowerCase();var p=a.align.replace(/LEFT|RIGHT|CENTER/,"");"BASELINE"===p&&(p="alphabetic"),n.textBaseline=p.toLowerCase(),n.haloRadius=a.outline?a.outlineWidth:0,n.backColor="rgba("+a.backColor.red+","+a.backColor.green+","+a.backColor.blue+",1)",n.foreColor="rgba("+a.foreColor.red+","+a.foreColor.green+","+a.foreColor.blue+",1)",n.rotation=a.rotation}var d;if(t.getProperties().textStyle&&t.getProperties().texts&&(d=t.getProperties().texts[0]),"LABEL"===e.type){var f=e.textField;if(f&&f.indexOf(".")){var m=f.split(".");f=m&&m.length>0&&m[m.length-1]}d=t.getProperties().attributes?t.getProperties().attributes[f]:t.getProperties()[f]}return t.getProperties().TEXT_FEATURE_CONTENT&&(d=t.getProperties().TEXT_FEATURE_CONTENT),d?this.toOLTextStyle(n,d):this.toOLPointStyle(this.getDefaultStyle("POINT"))}if(a){var y=a.fillSymbolID>7?0:a.fillSymbolID,g=a.lineSymbolID>5?0:a.lineSymbolID;for(var v in a){var S,b=Tn.ServerStyleMap[v],x=b.canvasStyle;if(x&&""!=x)switch(b.type){case"number":S=a[v],b.unit&&(S=S*r.DOTS_PER_INCH*r.INCHES_PER_UNIT[b.unit]*2.5),n[x]=S;break;case"color":var C=a[v],T=a.fillBackColor,M=1;if("fillStyle"===x)if(0===y||1===y)M=1-y,S="rgba("+C.red+","+C.green+","+C.blue+","+M+")";else try{var _=document.createElement("canvas");_.height=8,_.width=8;var w=_.getContext("2d"),E=new Image;this.layer&&this.layer.fillImages&&w.drawImage(this.layer.fillImages["System "+y],0,0);for(var A=w.getImageData(0,0,_.width,_.height),P=A.data,N=0,L=P.length;N-180&&h<90&&h>-90;if(o.length==i.length&&u){var c={type:"Feature",geometry:{},properties:{}};c.geometry.type="Point",c.geometry.coordinates=[l,h];for(var p=0;p!0,i=this.getLayers().getArray(),a=this.getView().getResolution(),n=this.getCoordinateFromPixel(e);for(let s=0;s© SuperMap iClient"}),r=mn.a.source.BaiduMap.defaultTileGrid(),i=void 0!==t.crossOrigin?t.crossOrigin:"anonymous",a=void 0!==t.url?t.url:"http://online1.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles={styles}&udt=20170408",n=t.hidpi||(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1;a=a.replace("{styles}",n?"ph":"pl"),super({attributions:s,cacheSize:t.cacheSize,crossOrigin:i,opaque:void 0===t.opaque||t.opaque,maxZoom:void 0!==t.maxZoom?t.maxZoom:19,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,url:a,projection:"EPSG:3857",wrapX:t.wrapX,tilePixelRatio:n?2:1,tileGrid:r,tileUrlFunction:function(e,t,s){var i=a.replace("{z}",e[0].toString()).replace("{x}",e[1].toString()).replace("{y}",function(){var t=e[2];return t.toString()}).replace("{-y}",function(){var t=e[0],s=r.getFullTileRange(t);mn.a.asserts.assert(s,55);var i=s.getHeight()+e[2];return i.toString()});o.tileProxy&&(i=o.tileProxy+encodeURIComponent(i));return i}}),t.tileProxy&&(this.tileProxy=t.tileProxy);var o=this}static defaultTileGrid(){return new mn.a.tilegrid.TileGrid({extent:[-33554432,-33554432,33554432,33554432],resolutions:[262144,131072,65536,32768,16284,8192,4096,2048,1024,512,256,128,64,32,16,8,4,2,1,.5],origin:[0,0],minZoom:3})}}mn.a.source.BaiduMap=Ln;class In extends mn.a.source.TileImage{constructor(e){if(void 0!==e.url){e.attributions=e.attributions||new mn.a.Attribution({html:"Map Data © SuperMap iServer with © SuperMap iClient"}),e.format=e.format?e.format:"png";var t=e.url+"/image."+e.format+"?";e.serverType=e.serverType||a.ISERVER,t=function(e,t,s){var r,i,n=t;switch(s){case a.IPORTAL:i=Ye.getToken(e),(r=i?new Pe(i,"token"):null)||(i=Ye.getKey(e),r=i?new Pe(i,"key"):null);break;case a.ONLINE:i=Ye.getKey(e),r=i?new Pe(i,"key"):null;break;default:i=Ye.getToken(e),r=i?new Pe(i,"token"):null}r&&(n+="&"+r.getUrlParameters());return n}(e.url,t,e.serverType);var s=!0;void 0!==e.opaque&&(s=e.opaque),t+="&transparent="+s;var r=!0;void 0!==e.cacheEnabled&&(r=e.cacheEnabled),t+="&cacheEnabled="+r,void 0!==e.layersID&&(t+="&layersID="+e.layersID);var i=!1;void 0!==e.redirect&&(i=e.redirect),t+="&redirect="+i,e.prjCoordSys&&(t+="prjCoordSys="+JSON.stringify(e.prjCoordSys)),e.clipRegion instanceof mn.a.geom.Geometry&&(e.clipRegionEnabled=!0,e.clipRegion=Pn.toSuperMapGeometry((new mn.a.format.GeoJSON).writeGeometryObject(e.clipRegion)),e.clipRegion=fe.toJSON(wt.fromGeometry(e.clipRegion)),t+="&clipRegionEnabled="+e.clipRegionEnabled+"&clipRegion="+JSON.stringify(e.clipRegion)),e.overlapDisplayed&&e.overlapDisplayedOptions&&(e.overlapDisplayedOptions=e.overlapDisplayedOptions,t+="&overlapDisplayed="+e.overlapDisplayed+"&overlapDisplayedOptions="+e.overlapDisplayedOptions.toString()),!0===e.cacheEnabled&&e.tileversion&&(t+="tileversion="+e.tileversion),super({attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,logo:e.logo,opaque:e.opaque,projection:e.projection,reprojectionErrorThreshold:e.reprojectionErrorThreshold,state:e.state,tileClass:e.tileClass,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:function(e,s,r){this.tileGrid||(this.tileGrid=this.getTileGridForProjection(r));var i=this.tileGrid.getTileCoordExtent(e,this.tmpExtent_),a=mn.a.size.toSize(this.tileGrid.getTileSize(e[0]),this.tmpSize),o=encodeURI(t+"&width="+a[0]+"&height="+a[1]+'&viewBounds={"leftBottom" : {"x":'+i[0]+',"y":'+i[1]+'},"rightTop" : {"x":'+i[2]+',"y":'+i[3]+"}}");n.tileProxy&&(o=n.tileProxy+encodeURIComponent(o));n.cacheEnabled||(o+="&_t="+(new Date).getTime());return o},url:e.url,urls:e.urls,wrapX:void 0!==e.wrapX&&e.wrapX,cacheEnabled:e.cacheEnabled,layersID:e.layersID}),this.cacheEnabled=r,e.tileProxy&&(this.tileProxy=e.tileProxy);var n=this}}static optionsFromMapJSON(e,t){var s={};s.url=e,s.crossOrigin="anonymous";var r=[t.bounds.left,t.bounds.bottom,t.bounds.right,t.bounds.top],i=function(){var e,s=r[2]-r[0],i=r[3]-r[1],a=s>=i?s:i;e=a===s?a/t.viewer.width:a/t.viewer.height;var n=[],o=p.METER;t.coordUnit===p.DEGREE&&(o=p.DEGREE);if(t.visibleScales.length>0)for(let e=0;e© SuperMap iClient"}),r=t.mapName||"quanguo",i=t.mapType||"web",a=t.url||"http://t2.supermapcloud.com/FileService/image?map={mapName}&type={type}&x={x}&y={y}&z={z}";a=a.replace("{mapName}",r).replace("{type}",i);var n={attributions:s,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,opaque:void 0===t.opaque||t.opaque,maxZoom:t.maxZoom||18,reprojectionErrorThreshold:t.reprojectionErrorThreshold,url:a,wrapX:t.wrapX};t.tileProxy&&(n.tileLoadFunction=function(e,t){e.getImage().src=o.tileProxy+encodeURIComponent(t)}),super(n),t.tileProxy&&(this.tileProxy=t.tileProxy);var o=this}}mn.a.source.SuperMapCloud=On;class Rn extends mn.a.source.WMTS{constructor(e){Rn.layerLabelMap={vec:"cva",ter:"cta",img:"cia"},Rn.layerZoomMap={vec:18,ter:14,img:18};var t=e||{},s=t.attributions||new mn.a.Attribution({html:"Map Data with © SuperMap iClient"});t.layerType=t.layerType||"vec",t.layerType=t.isLabel?mn.a.source.Tianditu.layerLabelMap[t.layerType]:t.layerType,t.matrixSet="EPSG:4326"===t.projection||"EPSG:4490"===t.projection?"c":"w",t.url||t.urls||(t.url="http://t{0-7}.tianditu.com/{layer}_{proj}/wmts?"),t.url=t.url.replace("{layer}",t.layerType).replace("{proj}",t.matrixSet);var r=t.tileGrid||mn.a.source.Tianditu.getTileGrid(t.projection||"EPSG:3857"),i={version:t.version||"1.0.0",format:t.format||"tiles",dimensions:t.dimensions||{},layer:t.layerType,matrixSet:t.matrixSet,tileGrid:r,style:t.style||"default",attributions:s,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,opaque:void 0===t.opaque||t.opaque,maxZoom:mn.a.source.Tianditu.layerZoomMap[t.layerType],reprojectionErrorThreshold:t.reprojectionErrorThreshold,url:t.url,urls:t.urls,projection:t.projection||"EPSG:3857",wrapX:t.wrapX};t.tileProxy&&(i.tileLoadFunction=function(e,t){e.getImage().src=a.tileProxy+encodeURIComponent(t)}),super(i),t.tileProxy&&(this.tileProxy=t.tileProxy);var a=this}static getTileGrid(e){return"EPSG:4326"===e||"EPSG:4490"===e?mn.a.source.Tianditu.default4326TileGrid():mn.a.source.Tianditu.default3857TileGrid()}static default4326TileGrid(){for(var e=[],t=[],s=1;s<19;s++)e.push(1.40625/Math.pow(2,s)),t.push(s);return new mn.a.tilegrid.WMTS({extent:[-180,-90,180,90],resolutions:e,origin:[-180,90],matrixIds:t,minZoom:1})}static default3857TileGrid(){for(var e=[],t=[],s=1;s<19;s++)e.push(156543.03392804062/Math.pow(2,s)),t.push(s);return new mn.a.tilegrid.WMTS({extent:[-20037508.3427892,-20037508.3427892,20037508.3427892,20037508.3427892],resolutions:e,matrixIds:t,origin:[-20037508.3427892,20037508.3427892],minZoom:1})}}mn.a.source.Tianditu=Rn;class Fn extends mn.a.source.TileImage{constructor(e){if(void 0!==(e=e||{}).url){e.attributions=e.attributions||new mn.a.Attribution({html:"Map Data © SuperMap iServer with © SuperMap iClient"}),e.format=e.format?e.format:"png";var t=e.url+"/tileImage."+e.format+"?";e.serverType=e.serverType||a.ISERVER,super({attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,logo:e.logo,opaque:e.opaque,projection:e.projection,reprojectionErrorThreshold:e.reprojectionErrorThreshold,state:e.state,tileClass:e.tileClass,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:function(t,i,a){s.tileGrid||(s.extent?(s.tileGrid=Fn.createTileGrid(e.extent),s.resolutions&&(s.tileGrid.resolutions=s.resolutions)):("EPSG:3857"===a.getCode()&&(s.tileGrid=Fn.createTileGrid([-20037508.3427892,-20037508.3427892,20037508.3427892,20037508.3427892]),s.extent=[-20037508.3427892,-20037508.3427892,20037508.3427892,20037508.3427892]),"EPSG:4326"===a.getCode()&&(s.tileGrid=Fn.createTileGrid([-180,-90,180,90]),s.extent=[-180,-90,180,90])));s.origin=s.tileGrid.getOrigin(0);var n=t[0],o=t[1],l=-t[2]-1,h=s.tileGrid.getResolution(n),u=a.getUnits();"degrees"===u&&(u=p.DEGREE);"m"===u&&(u=p.METER);var c=Pn.resolutionToScale(h,96,u),d=mn.a.size.toSize(s.tileGrid.getTileSize(n,s.tmpSize)),f=function(){this._paramsChanged&&(this._layerUrl=r.call(this),this._paramsChanged=!1);return this._layerUrl||r.call(this)}.call(s)+encodeURI("&x="+o+"&y="+l+"&width="+d[0]+"&height="+d[1]+"&scale="+c);s.tileProxy&&(f=s.tileProxy+encodeURIComponent(f));s.cacheEnabled||(f+="&_t="+(new Date).getTime());return f},url:e.url,urls:e.urls,wrapX:void 0!==e.wrapX&&e.wrapX,cacheEnabled:e.cacheEnabled,layersID:e.layersID}),e.tileProxy&&(this.tileProxy=e.tileProxy),this.options=e,this._url=e.url,this.tileSetsIndex=-1,this.tempIndex=-1;var s=this}function r(){return this._layerUrl=t+encodeURI(function(){this.requestParams=this.requestParams||function(){var t={};return t.redirect=void 0!==e.redirect&&e.redirect,t.transparent=void 0===e.transparent||e.transparent,t.cacheEnabled=!(!1===e.cacheEnabled),this.cacheEnabled=t.cacheEnabled,t._cache=t.cacheEnabled,this.origin&&(t.origin=JSON.stringify({x:this.origin[0],y:this.origin[1]})),e.prjCoordSys&&(t.prjCoordSys=JSON.stringify(e.prjCoordSys)),e.layersID&&(t.layersID=e.layersID.toString()),e.clipRegion instanceof mn.a.geom.Geometry&&(e.clipRegionEnabled=!0,e.clipRegion=Pn.toSuperMapGeometry((new mn.a.format.GeoJSON).writeGeometryObject(e.clipRegion)),e.clipRegion=fe.toJSON(wt.fromGeometry(e.clipRegion)),t.clipRegionEnabled=e.clipRegionEnabled,t.clipRegion=JSON.stringify(e.clipRegion)),e.overlapDisplayed?t.overlapDisplayed=!0:(t.overlapDisplayed=!1,e.overlapDisplayedOptions&&(t.overlapDisplayedOptions=this.overlapDisplayedOptions.toString())),e.cacheEnabled&&e.tileversion&&(t.tileversion=e.tileversion.toString()),t}.call(this);var t=[];for(var s in this.requestParams)t.push(s+"="+this.requestParams[s]);return t.join("&")}.call(this)),this._layerUrl=function(e,t){var r,i,n=e;switch(t){case a.IPORTAL:(r=(i=Ye.getToken(s._url))?new Pe(i,"token"):null)||(r=(i=Ye.getKey(s._url))?new Pe(i,"key"):null);break;case a.ONLINE:r=(i=Ye.getKey(s._url))?new Pe(i,"key"):null;break;default:r=(i=Ye.getToken(s._url))?new Pe(i,"token"):null}return r&&(n+="&"+r.getUrlParameters()),n}(this._layerUrl,e.serverType),this._layerUrl}}setTileSetsInfo(e){this.tileSets=e,Pn.isArray(this.tileSets)&&(this.tileSets=e[0]),this.tileSets&&(this.dispatchEvent({type:"tilesetsinfoloaded",value:{tileVersions:this.tileSets.tileVersions}}),this.changeTilesVersion())}lastTilesVersion(){this.tempIndex=this.tileSetsIndex-1,this.changeTilesVersion()}nextTilesVersion(){this.tempIndex=this.tileSetsIndex+1,this.changeTilesVersion()}changeTilesVersion(){var e=this;if(null!=e.tileSets&&!(e.tempIndex===e.tileSetsIndex||this.tempIndex<0)){var t=e.tileSets.tileVersions;if(t&&e.tempIndex=0){var s=t[e.tempIndex].name;e.mergeTileVersionParam(s)&&(e.tileSetsIndex=e.tempIndex,e.dispatchEvent({type:"tileversionschanged",value:{tileVersion:t[e.tempIndex]}}))}}}updateCurrentTileSetsIndex(e){this.tempIndex=e}mergeTileVersionParam(e){return!!e&&(this.requestParams.tileversion=e,this._paramsChanged=!0,this.refresh(),!0)}static optionsFromMapJSON(e,t){var s={};s.url=e,s.crossOrigin="anonymous";var r=[t.bounds.left,t.bounds.bottom,t.bounds.right,t.bounds.top],i=function(){var e,s=r[2]-r[0],i=r[3]-r[1],a=s>=i?s:i;e=a===s?a/t.viewer.width:a/t.viewer.height;var n=[],o=p.METER;t.coordUnit===p.DEGREE&&(o=p.DEGREE);if(t.visibleScalesEnabled&&t.visibleScales&&t.visibleScales.length>0)for(let e=0;e© SuperMap iServer with © SuperMap iClient"}),canvasFunction:r,logo:s.logo,projection:s.projection,ratio:s.ratio,resolutions:s.resolutions,state:s.state}),this.id=s.id?s.id:fe.createUniqueID("themeLayer_"),this.canvasFunctionInternal_=r,this.EVENT_TYPES=["loadstart","loadend","loadcancel","visibilitychanged","move","moveend","added","removed","tileloaded","beforefeaturesadded","featuresadded","featuresremoved"],this.features=[],this.TFEvents=s.TFEvents||[],this.map=s.map;var i=this.map.getSize();this.div=document.createElement("div"),this.map.getViewport().appendChild(this.div),this.div.style.width=i[0]+"px",this.div.style.height=i[1]+"px",this.setOpacity(s.opacity),this.levelRenderer=new dn,this.movingOffset=[0,0],this.renderer=this.levelRenderer.init(this.div),this.map.getViewport().removeChild(this.div),this.renderer.clear(),this.addTFEvents()}destroy(){this.EVENT_TYPES=null,this.isBaseLayer=null,this.TFEvents=null,this.destroyFeatures(),this.features=null,this.renderer&&this.renderer.dispose(),this.renderer=null,this.levelRenderer=null,this.movingOffset=null,this.currentMousePosition=null}destroyFeatures(e){if(void 0==e&&(e=this.features),e){this.removeFeatures(e);for(var t=e.length-1;t>=0;t--)e[t].destroy()}}setOpacity(e){if(e!==this.opacity){this.opacity=e;var t=this.div;fe.modifyDOMElement(t,null,null,null,null,null,null,e),null!==this.map&&this.dispatchEvent({type:"changelayer",value:{layer:this,property:"opacity"}})}}addFeatures(e){}removeFeatures(e){if(e&&0!==e.length){if(e===this.features)return this.removeAllFeatures();fe.isArray(e)||(e=[e]);for(var t=[],s=e.length-1;s>=0;s--){var r=e[s],i=fe.indexOf(this.features,r);-1!==i?this.features.splice(i,1):t.push(r)}for(var a=[],n=0,o=this.features.length;no){var f=a[0];a.splice(0,1),delete i[f]}}}}if(this.renderer.render(),s&&this.isHoverAble&&this.isMultiHover){var m=this.getShapesByFeatureID(s);this.renderer.updateHoverShapes(m)}}createThematicFeature(e){var t=fe.copyAttributesWithClip(this.style);e.style&&!0===this.isAllowFeatureStyle&&(t=fe.copyAttributesWithClip(e.style));var s={};s.nodesClipPixel=this.nodesClipPixel,s.isHoverAble=this.isHoverAble,s.isMultiHover=this.isMultiHover,s.isClickAble=this.isClickAble,s.highlightStyle=Ka.transformStyle(this.highlightStyle);for(var r=new tn(e,this,Ka.transformStyle(t),s),i=0;i0&&s.attributes){var r=this.themeField,i=s.attributes,a=this.styleGroups,n=!1,o=null;for(var l in i)if(r===l){n=!0,o=i[l];break}if(n)for(var h=0,u=a.length;h0&&s.attributes){var r=this.themeField,i=s.attributes,a=this.styleGroups,n=!1,o=null;for(var l in i)if(r===l){n=!0,o=i[l];break}if(n)for(var h=0,u=a.length;h=a[h].start&&o=0&&d.x<=h.x&&d.y>=0&&d.y<=h.y){if(s.style.minZoomLevel>-1&&u<=s.style.minZoomLevel)continue;if(s.style.maxZoomLevel>-1&&u>s.style.maxZoomLevel)continue;var f=null;s.isStyleChange?(s.isStyleChange=null,f=this.calculateLabelBounds(s,d)):f=s.geometry.bsInfo.w&&s.geometry.bsInfo.h?this.calculateLabelBounds2(s,d):this.calculateLabelBounds(s,d);var m=new ye(0,h.y,h.x,0),y=f.length;if(this.isAvoid){var g=this.getAvoidInfo(m,f);if(g){if("left"===g.aspectW){s.style.labelXOffset+=g.offsetX;for(let e=0;e=i[l].start&&n=i[l].start&&no&&(o=s,l="top")}if(t.y>e.bottom){let s=Math.abs(t.y-e.bottom);s>o&&(o=s,l="bottom")}if(t.xn&&(n=s,h="left")}if(t.x>e.right){let s=Math.abs(t.x-e.right);s>n&&(n=s,h="right")}}}}isQuadrilateralOverLap(e,t){var s=e.length,r=t.length;if(5!==s||5!==r)return null;var i=!1;for(let r=0;r0;){var e=s.pop(),r=e.type,i=e.layerType=e.layerType||"BASE_LAYER";"OVERLAY_LAYER"!==i&&(r=i),l.createLayer(r,e)}l.dispatchEvent({type:Yn.EventType.WEBMAPLOADEND,value:this})}),n.fit(a.extent)}}}addLayer(e){return this.map.addLayer(e)}toProjection(e,t,s){return-1e3==e?new mn.a.proj.Projection({extent:s,units:"m"}):910112===e||910102===e?"EPSG:3857":910111===e?"EPSG:3857":910101===e?"EPSG:4326":"EPSG:"+e}getResolutionsFromScales(e,t,s,r){var i=[];if(!e||0==e.length)return i;for(var a=0;a© SuperMap Online with © SuperMap iClient"})}),projection:u});break;case"SUPERMAP_REST_VECTOR":break;case"TIANDITU_VEC":case"TIANDITU_IMG":case"TIANDITU_TER":s=this.createTiandituLayer(t,i);break;case"BAIDU":s=new mn.a.layer.Tile({source:new mn.a.source.BaiduMap});break;case"BING":s=new mn.a.layer.Tile({source:new mn.a.source.BingMaps});break;case"WMS":s=this.createWmsLayer(t);break;case"WMTS":var c=t.identifier,p=c.split("_")[0],d=c.substring(c.indexOf("_")+1),f=this.getWmtsResolutionsAndMatrixIds(p,t.units,n,l,h);s=new mn.a.layer.Tile({opacity:o,source:new mn.a.source.WMTS({url:t.url,layer:d,matrixSet:c,format:"image/png",tileGrid:new mn.a.tilegrid.WMTS(f),style:"default"})});break;case"CLOUD":s=new mn.a.layer.Tile({source:new mn.a.source.SuperMapCloud});break;case"MARKER_LAYER":s=this.createMarkersLayer(t);break;case"FEATURE_LAYER":"ANIMATORVECTOR"==t.identifier||(s="THEME"==t.identifier?this.createThemeLayer(t):this.createVectorLayer(t));break;default:throw new Error("unSupported Layer Type")}s&&(this.addLayer(s),s.labelLayer&&this.addLayer(s.labelLayer))}getWmtsResolutionsAndMatrixIds(e,t,s,r,i){var a=mn.a.wellKnownScale.getResolutions(e);if(!a&&s)for(var n=0;n0"},datasetNames:[r+":"+l.name]});new Hn(s).getFeaturesBySQL(h).on("complete",n)}}}createWmsLayer(e){var t=e.url,s=e.opacity,r=e.subLayers;return r&&"undefined"!==r&&"null"!==r||(r="0"),new mn.a.layer.Tile({opacity:s,source:new mn.a.source.TileWMS({url:t,params:{LAYERS:r,FORMAT:"image/png"}})})}createThemeLayer(e){var t,s=e.themeSettings&&JSON.parse(e.themeSettings),r=s.type;if(e.themeSettings=s,(t="HEAT"===r?this.createHeatLayer(e,s):"UNIQUE"===r?this.createUniqueLayer(e,s):"RANGE"===r?this.createRangeLayer(e,s):this.createBaseThemeLayer(e,s))&&(this.addFeature2ThemeLayer(e,t),t.on("add",e=>{this.registerThemeEvent(e.target)})),e.themeSettings&&s.labelField){var i=this.createLabelLayer(e,s);i.on("add",e=>{this.registerThemeEvent(e.target)}),t.labelLayer=i}return t.getSource().setAttributions(" "),t}createBaseThemeLayer(e,t){let s=e.style,r=e.opacity,i=t.vectorType,a=s.pointStyle;a.fill="LINE"!==i;var n={};a.fill&&(n.fill=new mn.a.style.Fill({color:a.fillColor})),a.pointRadius&&(n.radius=parseFloat(a.pointRadius)),(a.strokeColor||a.strokeWidth)&&(n.stroke=new mn.a.style.Stroke({color:a.strokeColor,width:a.strokeWidth,lineCap:a.strokeLineCap}));var o=new mn.a.style.Style({image:new mn.a.style.Circle(n)});if(a.unicode){let e=a.label.replace(/^&#x/,"");e=String.fromCharCode(parseInt(e,16)),o.setText(new mn.a.style.Text({text:e,font:a.fontSize+" supermapol-icons",fill:new mn.a.style.Fill({color:a.fontColor})}))}var l=new mn.a.source.Vector({features:[],wrapX:!1});return this.registerThemeEvent(l),new mn.a.layer.Vector({source:l,style:o,opacity:r})}createUniqueLayer(e,t){for(var s=e.title,r=t.field,i=[],a=t.settings,n=e.isVisible,o=e.opacity,l=t.vectorType,h=0;h0?{fillColor:"#ffffff"}:a[0].style;var l=fe.extend(new Ma,s);l.fontWeight="bold",l.fontSize="14px",l.labelRect=!0,l.strokeColor=l.fillColor,l.fontColor=t.labelColor,t.labelFont&&(l.fontFamily=t.labelFont);var h=new Wn(r,{map:this.map,attributions:" ",wrapX:!1,opacity:.7,visibility:n});h.style=l,h.themeField=i,h.styleGroups=[],this.registerThemeEvent(h);var u=new mn.a.layer.Image({source:h});return u.setOpacity(o),u}createHeatLayer(e,t){let s,r,i,a=t.colors||["blue","cyan","lime","yellow","red"],n=parseFloat(t.settings[0].radius);return"千米"!==t.heatUnit&&"km"!==t.heatUnit||(n=1e3*t.heatRadius),t.settings[0]&&t.settings[0].featureWeight&&(s=t.settings[0].featureWeight),t.settings[0]&&t.settings[0].shadow&&(i=t.settings[0].shadow),t.settings[0]&&t.settings[0].blur&&(r=t.settings[0].blur),new mn.a.layer.Heatmap({source:new mn.a.source.Vector({features:[],wrapX:!1}),blur:r,shadow:i,radius:n,gradient:a,weight:s})}addFeature2ThemeLayer(e,t){if("FEATURE_LAYER"===e.layerType&&"THEME"===e.identifier){var s=this,r=!!e.datasourceName,a=e.cartoCSS;if(a)var n=this.getCartoCSS2Obj(a).needTransform,o=this.getCartoCSS2Obj(a).isAddFile;var l,h,u,c=e.url,p=e.credential,d=e.themeSettings,f=d.filter;if(o){var m=JSON.parse(e.datasourceName),y=this.getSQLFromFilter(f);if(c)this.getFeatureFromFileAdded(e,function(r){var i,a=[];if("EXCEL"===r.type||"CSV"===r.type)for(var o=0,l=(i=s.parseFeatureFromEXCEL.apply(s,[r.content.rows,r.content.colTitles,!1,m])).length;o0&&a.push(i[o]);else for(var h=0,u=(i=s.parseFeatureFromJson(r.content)).length;h0&&a.push(i[h]);var c=s.mapInfo&&s.mapInfo.epsgCode,p=e.prjCoordSys&&e.prjCoordSys.epsgCode;n?s.changeFeatureLayerEpsgCode(p,c,t,a,function(e){A(e)}):A(a)},function(e){});else{for(var g=[],v=e.features,S=0,b=v.length;S0){var C=x.geometry.points[0].x,T=x.geometry.points[0].y,M=new xe(C,T),_=new Oe(M,x.attributes,x.style);g.push(_)}}A(g)}}else if(r){var w=e.datasourceName;u=(h=(l=e.subLayers&&JSON.parse(e.subLayers)).length&&l.length>0?l[0]:l)&&h.name,this.getFeaturesBySQL(e.url,w,u,d.filter,i.ISERVER,r=>{var i,a,o=r.result,l=[];if(o&&o.features){for(var h=0,u=(i=o.features).length;h0?l[0]:l)&&h.name;var E=e.prjCoordSys&&e.prjCoordSys.epsgCode;this.getFeaturesBySQL(c,p,u,f,i.ISERVER,function(e){var r=s.mapInfo&&s.mapInfo.epsgCode;n?s.changeFeatureLayerEpsgCode(E,r,t,e,function(e){A(e)}):A(e)})}}function A(r){var i=t.getSource();if(t.labelLayer&&s.addFeature2LabelLayer(t.labelLayer,r,e),t instanceof mn.a.layer.Heatmap){var a,n=[];d.settings&&d.settings[0]&&d.settings[0].featureWeight&&(a=d.settings[0].featureWeight);for(let e=0,t=r.length;e 0"},datasetNames:[t+":"+s]});new Hn(e).getFeaturesBySQL(n,a,i)}changeFeatureLayerEpsgCode(e,t,s,r,i){var a,n,o=this,l=[];if(e&&t){if(r&&r.length>0){for(a=0,n=r.length;ae.json()).then(e=>{t&&t(e)}).catch(e=>s&&s(e))}getSQLFromFilter(e){return e?" * where ("+(e=e.replace(/=/g,"==").replace(/and|AND/g,"&&").replace(/or|OR/g,"||").replace(/>==/g,">=").replace(/<==/g,"<="))+")":" * where (1==1||1>=0)"}registerThemeEvent(e){e.on("click",t=>{if(!e.map)return;let s;this.selectedFeature&&(this.fire("featureUnSelected",{feature:this.selectedFeature}),this.selectedFeature=null),t.target&&t.target.refDataID&&(s=e.getFeatureById(t.target.refDataID)),s&&(this.selectedFeature=s,this.dispatchEvent({type:"featureSelected",feature:s}))}),e.on("mousemove",t=>{if(e.map&&t.target&&t.target.refDataID){let s;t.target&&t.target.refDataID&&(s=e.getFeatureById(t.target.refDataID)),s&&this.dispatchEvent({type:"featureMousemove",feature:s})}})}getCartoCSS2Obj(e){var t,s=!1;return e.indexOf("}")>-1?(s=(e=JSON.parse(e)).needTransform,t=e.isAddFile):"needTransform"===e?(s=!0,t=!1):t="true"===e,{isAddFile:t,needTransform:s}}_getViewOptions(e){var t=e.prjCoordSys,s=t&&t.epsgCode||this.mapInfo.epsgCode,r=this.mapInfo.center||e.center,i=this.mapInfo.level||e.level,a=e.bounds||this.mapInfo.extent,n=[a.leftBottom.x,a.rightTop.y],o=[a.leftBottom.x,a.leftBottom.y,a.rightTop.x,a.rightTop.y],l=this.toProjection(s,t?t.type:"",o),h={center:[r.x,r.y],zoom:i,projection:l,extent:o};switch(e.type){case"TIANDITU_VEC":case"TIANDITU_IMG":case"TIANDITU_TER":h.minZoom=1,h.zoom=1+h.zoom;break;case"BAIDU":h.resolutions=[262144,131072,65536,32768,16284,8192,4096,2048,1024,512,256,128,64,32,16,8,4,2,1,.5],h.zoom=3+h.zoom,h.minZoom=3;break;case"WMTS":var u=e.identifier.split("_")[0],c=this.getWmtsResolutionsAndMatrixIds(u,e.units,e.scales,n,o);h.resolutions=c.resolutions;break;case"CLOUD":h.zoom=3+h.zoom,h.minZoom=3}return h}}mn.a.supermap.WebMap=Yn;class Xn extends yn{constructor(e,t){(t=t||{}).projection&&(t.prjCoordSys=t.projection),super(e,t),this.dataFlow=new Wt(e,t),this.dataFlow.events.on({broadcastSocketConnected:this._defaultEvent,broadcastSocketError:this._defaultEvent,broadcastFailed:this._defaultEvent,broadcastSuccessed:this._defaultEvent,subscribeSocketConnected:this._defaultEvent,subscribeSocketError:this._defaultEvent,messageSuccessed:this._defaultEvent,setFilterParamSuccessed:this._defaultEvent,scope:this})}initBroadcast(){return this.dataFlow.initBroadcast(),this}broadcast(e){this.dataFlow.broadcast(e)}initSubscribe(){return this.dataFlow.initSubscribe(),this}setExcludeField(e){return this.dataFlow.setExcludeField(e),this.options.excludeField=e,this}setGeometry(e){return this.dataFlow.setGeometry(e),this.options.geometry=e,this}unSubscribe(){this.dataFlow.unSubscribe()}unBroadcast(){this.dataFlow.unBroadcast()}_defaultEvent(e){this.dispatchEvent({type:e.eventType||e.type,value:e})}}mn.a.supermap.DataFlowService=Xn;class Qn extends mn.a.source.Vector{constructor(e){var t=e||{};super(t),this.idField=t.idField||"id",this.dataService=new Xn(t.ws,{geometry:t.geometry,prjCoordSys:t.prjCoordSys,excludeField:t.excludeField}).initSubscribe();var s=this;s.dataService.on("subscribeSocketConnected",function(e){s.dispatchEvent({type:"subscribeSuccessed",value:e})}),s.dataService.on("messageSuccessed",function(e){s._onMessageSuccessed(e)}),s.dataService.on("setFilterParamSuccessed",function(e){s.dispatchEvent({type:"setFilterParamSuccessed",value:e})}),this.featureCache={}}setPrjCoordSys(e){return this.dataService.setPrjCoordSys(e),this.prjCoordSys=e,this}setExcludeField(e){return this.dataService.setExcludeField(e),this.excludeField=e,this}setGeometry(e){return this.dataService.setGeometry(e),this.geometry=e,this}_onMessageSuccessed(e){var t=e.value.featureResult.properties[this.idField],s=(new mn.a.format.GeoJSON).readFeature(e.value.featureResult);void 0!==t&&this.featureCache[t]&&this.removeFeature(this.featureCache[t]),this.addFeature(s),this.featureCache[t]=s,this.dispatchEvent({type:"dataUpdated",value:{source:this,data:e.value.featureResult}})}}mn.a.source.DataFlow=Qn;class Kn extends Vn{constructor(e,t,s){super(e,s),this.chartsSetting=s.chartsSetting||{},this.themeFields=s.themeFields||null,this.overlayWeightField=s.overlayWeightField||null,this.isOverLay=void 0===s.isOverLay||s.isOverLay,this.charts=s.charts||[],this.cache=s.cache||{},this.chartsType=t}destroy(){this.chartsType=null,this.chartsSetting=null,this.themeFields=null,this.overlayWeightField=null,this.isOverLay=null,Vn.prototype.destroy.apply(this,arguments),this.charts=null,this.cache=null}setChartsType(e){this.chartsType=e,this.redraw()}addFeatures(e){!1!==this.dispatchEvent({type:"beforefeaturesadded",value:{features:e}})&&(this.features=this.toiClientFeature(e),this.renderer&&this.changed())}redrawThematicFeatures(e){this.renderer.clearAll();for(var t=this.features,s=0,r=t.length;s=s.left&&n.x<=s.right&&n.y>=s.top&&n.y<=s.bottom){r=!0;break}}return r}clearCache(){this.cache={},this.charts=[]}removeFeatures(e){this.clearCache(),super.removeFeatures(e)}removeAllFeatures(){this.clearCache(),super.removeAllFeatures()}redraw(){return this.clearCache(),!!this.renderer&&(this.redrawThematicFeatures(this.map.getView().calculateExtent()),!0)}clear(){this.renderer&&(this.renderer.clearAll(),this.renderer.refresh()),this.removeAllFeatures(),this.clearCache()}canvasFunctionInternal_(e,t,s,r,i){return Vn.prototype.canvasFunctionInternal_.apply(this,arguments)}}mn.a.source.Graph=Kn;class Zn extends mn.a.style.RegularShape{constructor(e){e.stroke?(e.stroke.color=e.stroke.getColor()||"#3388ff",e.stroke.width=e.stroke.getWidth()||1):e.stroke=new mn.a.style.Stroke({color:"#3388ff",width:1}),e.fill?e.fill.color=e.fill.getColor()||"#66ccff":e.fill=new mn.a.style.Fill({color:"#66ccff"}),super({angle:e.angle||60,stroke:e.stroke,fill:e.fill,radius:e.radius||10}),this.count_=e.count||3,this.strokeOpacity=e.strokeOpacity||1,this.fillOpacity=e.fillOpacity||1,this._canvas=this.getImage(),this._ctx=this._canvas.getContext("2d"),this._render()}_render(){var e=0,t=this.getAngle();if(this.spaceAngle=360/this.count_-this.getAngle(),!(this.spaceAngle<0)){this._ctx.translate(0,0),this._ctx.beginPath();for(var s=0;s!1,so=function(){let e=document.createElement("div"),t=["transform","WebkitTransform","MozTransform","OTransform","msTransform"];for(let s=0;s-1&&(this._data=e),!this._renderLayer)return;this._renderLayer.setChangeFlags({dataChanged:!0,propsChanged:!0,viewportChanged:!0,updateTriggersChanged:!0}),this._refreshData();let t=this._getLayerState();t.data=this._data||[],this._renderLayer.setNeedsRedraw(!0),this._renderLayer.setState(t)}drawGraphics(e){this._data=e||(this._data?this._data:[]),this._renderLayer||this._createInnerRender(),this._clearBuffer(),this._draw()}_initContainer(){this._canvas=this._createCanvas(this.width,this.height),this._layerContainer=this.container,this._wrapper=document.createElement("div"),this._wrapper.className="deck-wrapper",this._wrapper.style.position="absolute",this._wrapper.style.top="0",this._wrapper.style.left="0",this._wrapper.appendChild(this._canvas),this._layerContainer&&this._layerContainer.appendChild(this._wrapper)}_createCanvas(e,t){let s=document.createElement("canvas");return s.oncontextmenu=to,s.width=e,s.height=t,s.style.width=e+"px",s.style.height=t+"px",s}_createInnerRender(){let e=this,t=this._getLayerState(),{color:s,radius:r,opacity:i,highlightColor:a,radiusScale:n,radiusMinPixels:o,radiusMaxPixels:l,strokeWidth:h,outline:u}=t;r=this._pixelToMeter(r);let c={id:"scatter-plot",data:[],pickable:Boolean(this.onClick)||Boolean(this.onHover),autoHighlight:!0,color:s,opacity:i,radius:r,radiusScale:n,highlightColor:a,radiusMinPixels:o,radiusMaxPixels:l,strokeWidth:h,outline:u,getPosition(t){if(!t)return[0,0,0];let s=t&&t.getGeometry(),r=s&&s.getCoordinates();return(r=e._project(r))&&[r[0],r[1],0]},getColor(t){let s=e._getLayerDefaultStyle(),r=t&&t.getStyle();return r&&r.getColor()||s.color},getRadius(t){let s=e._getLayerDefaultStyle(),r=t&&t.getStyle();return r&&r.getRadius()||s.radius},updateTriggers:{getColor:[s],getRadius:[r]}},p=this;this.onClick&&(c.onClick=function(){p._canvas.style.cursor="pointer",p.onClick.apply(p,arguments)}),this.onHover&&(c.onHover=function(){p._canvas.style.cursor="pointer",p.onHover.apply(p,arguments)}),e._renderLayer=new window.DeckGL.ScatterplotLayer(c)}_getLayerDefaultStyle(){let{color:e,opacity:t,radius:s,radiusScale:r,radiusMinPixels:i,radiusMaxPixels:a,strokeWidth:n,outline:o}=this._getLayerState();return{color:e,opacity:t,radius:s=this._pixelToMeter(s),radiusScale:r,radiusMinPixels:i,radiusMaxPixels:a,strokeWidth:n,outline:o}}_getLayerState(){let e=this.layer.getLayerState(),t=this.map.getView().getProjection().getCode(),s=mn.a.proj.transform([e.longitude,e.latitude],t,"EPSG:4326");return e.longitude=s[0],e.latitude=s[1],e.zoom=e.zoom-1,e}_draw(){this._refreshData();let e=this._getLayerState();e.data=this._data||[];let t={};for(let s in e)t[s]=e[s];this._renderLayer.setNeedsRedraw(!0),t.layers=[this._renderLayer],t.canvas=this._canvas,this.onBeforeRender&&(t.onBeforeRender=this.onBeforeRender.bind(this)),this.onAfterRender&&(t.onAfterRender=this.onAfterRender.bind(this)),this.deckGL?this.deckGL.setProps(t):this.deckGL=new window.DeckGL.experimental.DeckGLJS(t)}_refreshData(){let e=this._data||[],t=Pn.isArray(e)?[].concat(e):[e];this._renderLayer.props.data||(this._renderLayer.props.data=[]),this._renderLayer.props.data.length=0;for(let e=0;e=0;n--){let o=a[n].getStyle();if(!o)return;if(o instanceof $n)continue;let l=a[n].getGeometry().getCoordinates(),h=new mn.a.style.Style({image:o}).getImage(),u=[];if(u[0]=l[0]-h.getAnchor()[0]*s,u[2]=l[0]+h.getAnchor()[0]*s,u[1]=l[1]-h.getAnchor()[1]*s,u[3]=l[1]+h.getAnchor()[1]*s,mn.a.extent.containsCoordinate(u,e))return t.isHighLight&&t._highLight(l,h,a[n],i),void(r&&r(a[n]));t.isHighLight&&t._highLightClose()}return};const t=this;e.onClick&&t.map.on("click",function(s){let r=s.coordinate,i=s.frameState.viewState.resolution,a=s.pixel;t._forEachFeatureAtCoordinate(r,i,e.onClick,a)})}setGraphics(e){this.graphics_=this.graphics_||[],this.graphics_.length=0;let t=Pn.isArray(e)?[].concat(e):[e];this.graphics_=[].concat(t),this.update()}addGraphics(e){this.graphics_=this.graphics_||[];let t=Pn.isArray(e)?[].concat(e):[e];this.graphics_=this.graphics_.concat(t),this.update()}clear(){this.removeGraphics()}removeGraphics(){this.graphics_.length=0,this.update()}update(){this.renderer.update(this.graphics_,this._getDefaultStyle())}_getDefaultStyle(){const e={};return this.color&&(e.fill=new mn.a.style.Fill({color:this.toRGBA(this.color)})),this.radius&&(e.radius=this.radius),this.outline&&(e.stroke=new mn.a.style.Fill({color:this.toRGBA(this.color),width:this.strokeWidth})),new mn.a.style.Circle(e)}toRGBA(e){return`rgba(${e[0]},${e[1]},${e[2]},${(e[3]||255)/255})`}setStyle(e){let t={color:this.color,radius:this.radius,opacity:this.opacity,highlightColor:this.highlightColor,radiusScale:this.radiusScale,radiusMinPixels:this.radiusMinPixels,radiusMaxPixels:this.radiusMaxPixels,strokeWidth:this.strokeWidth,outline:this.outline};fe.extend(this,fe.extend(t,e)),this.update()}getLayerState(){let e=this.map,t=e.getSize()[0],s=e.getSize()[1],r=e.getView(),i=r.getCenter(),a={longitude:i[0],latitude:i[1],zoom:r.getZoom(),maxZoom:r.getMaxZoom(),pitch:0,bearing:180*-r.getRotation()/Math.PI},n={};for(let e in a)n[e]=a[e];return n.width=t,n.height=s,n.color=this.color,n.radius=this.radius,n.opacity=this.opacity,n.highlightColor=this.highlightColor,n.radiusScale=this.radiusScale,n.radiusMinPixels=this.radiusMinPixels,n.radiusMaxPixels=this.radiusMaxPixels,n.strokeWidth=this.strokeWidth,n.outline=this.outline,n}_highLightClose(){this.selected=null,this.hitGraphicLayer&&(this.map.removeLayer(this.hitGraphicLayer),this.hitGraphicLayer=null),this.changed()}_highLight(e,t,s,r){if(s.getStyle()instanceof Zn){this.hitGraphicLayer&&(this.map.removeLayer(this.hitGraphicLayer),this.hitGraphicLayer=null);var i=this.map.getPixelFromCoordinate([e[0],e[1]]);r=r||[0,0];var a=Math.atan2(r[1]-i[1],r[0]-i[0])/Math.PI*180;a=a>0?a:360+a;var n=(Math.ceil(a/(t.getAngle()+t.getSpaceAngle()))-1)*(t.getAngle()+t.getSpaceAngle()),o={stroke:new mn.a.style.Stroke({color:"#ff0000",width:1}),fill:new mn.a.style.Fill({color:"#0099ff"}),radius:t.getRadius(),angle:t.getAngle(),eAngle:n+t.getAngle(),sAngle:n};this.highLightStyle&&this.highLightStyle instanceof $n&&(o.stroke=this.highLightStyle.getStroke(),o.fill=this.highLightStyle.getFill(),o.radius=this.highLightStyle.getRadius(),o.angle=this.highLightStyle.getAngle());var l=new mn.a.Graphic(new mn.a.geom.Point(e));l.setStyle(new $n(o)),this.hitGraphicLayer=new mn.a.layer.Image({source:new mn.a.source.Graphic({map:this.map,graphics:[l]})}),this.map.addLayer(this.hitGraphicLayer)}else this.selected=s,this.changed()}getGraphicsInExtent(e){var t=[];return e?(this.graphics_.map(function(s){return mn.a.extent.containsExtent(e,s.getGeometry().getExtent())&&t.push(s),s}),t):(this.graphics_.map(function(e){return t.push(e),e}),t)}}mn.a.source.Graphic=no;class oo{constructor(e){this.options=e||{},this.enableMassClear=this.options.enableMassClear,this._map=e.map,this.paneName=this.options.paneName||"mapPane",this.context=this.options.context||"2d",this.zIndex=this.options.zIndex||2,this.mixBlendMode=this.options.mixBlendMode||null,this.width=e.width,this.height=e.height,this.initialize()}initialize(){var e=this,t=e.canvas=document.createElement("canvas");t.style.cssText="position:absolute;left:0;top:0;z-index:"+e.zIndex+";user-select:none;",t.style.mixBlendMode=e.mixBlendMode,t.className="mapvClass";var s="undefined"==typeof window?{}:window,r=e.devicePixelRatio=s.devicePixelRatio;t.width=parseInt(e.width)*r,t.height=parseInt(e.height)*r,"2d"==e.context&&t.getContext(e.context).scale(r,r),t.style.width=e.width+"px",t.style.height=e.height+"px"}draw(){this.options.update&&this.options.update.call(this)}resize(e,t){var s="undefined"==typeof window?{}:window,r=this.devicePixelRatio=s.devicePixelRatio;this.canvas.width=e*r,this.canvas.height=t*r,"2d"==this.context&&this.canvas.getContext("2d").scale(r,r),this.canvas.style.width=e+"px",this.canvas.style.height=t+"px"}getContainer(){return this.canvas}setZIndex(e){this.canvas.style.zIndex=e}getZIndex(){return this.zIndex}}var lo=s(22),ho=lo.baiduMapLayer?lo.baiduMapLayer.__proto__:Function;class uo extends ho{constructor(e,t,s,r,i,a){super(e,t,s),this.dataSet=t,this.mapWidth=r,this.mapHeight=i;var n=this;s=s||{},this.source=a,n.animator=null,n.map=e,n.init(s),n.argCheck(s),this.canvasLayer=new oo({map:e,context:this.context,paneName:s.paneName,mixBlendMode:s.mixBlendMode,enableMassClear:s.enableMassClear,zIndex:s.zIndex,width:r,height:i,update:function(){n._canvasUpdate()}}),this.clickEvent=this.clickEvent.bind(this),this.mousemoveEvent=this.mousemoveEvent.bind(this),e.on("movestart",this.moveStartEvent.bind(this)),e.on("moveend",this.moveEndEvent.bind(this)),e.getView().on("change:center",this.zoomEvent.bind(this)),e.getView().on("change:size",this.sizeEvent.bind(this)),e.on("pointerdrag",this.dragEvent.bind(this)),this.bindEvent()}init(e){this.options=e,this.initDataRange(e),this.context=this.options.context||"2d",this.options.zIndex&&this.canvasLayer&&this.canvasLayer.setZIndex(this.options.zIndex),this.initAnimator()}clickEvent(e){var t=e.pixel;super.clickEvent({x:t[0]+this.offset[0],y:t[1]+this.offset[1]},e)}mousemoveEvent(e){var t=e.pixel;super.mousemoveEvent({x:t[0],y:t[1]},e)}dragEvent(){this.clear(this.getContext())}zoomEvent(){this.clear(this.getContext())}sizeEvent(){this.canvasLayer.resize()}moveStartEvent(){var e=this.options.animation;this.isEnabledTime()&&this.animator&&(this.steps.step=e.stepsRange.start)}moveEndEvent(){this.canvasLayer.draw()}bindEvent(){var e=this,t=e.map;e.options.methods&&(e.options.methods.click&&t.on("click",e.clickEvent),e.options.methods.mousemove&&(e.pointerInteraction=new mn.a.interaction.Pointer,e.pointerInteraction.handleMoveEvent_=function(t){e.mousemoveEvent(t)},t.addInteraction(e.pointerInteraction)))}unbindEvent(){var e=this.map;this.options.methods&&(this.options.methods.click&&e.un("click",this.clickEvent),this.options.methods.mousemove&&e.removeInteraction(this.pointerInteraction))}addData(e,t){var s=e;e&&e.get&&(s=e.get()),this.dataSet.add(s),this.update({options:t})}update(e){var t=e||{},s=t.data;s&&s.get&&(s=s.get()),void 0!=s&&this.dataSet.set(s),super.update({options:t.options})}draw(){this.canvasLayer.draw()}getData(){return this.dataSet}removeData(e){if(this.dataSet){var t=this.dataSet.get({filter:function(t){return null==e||"function"!=typeof e||!e(t)}});this.dataSet.set(t),this.update({options:null})}}clearData(){this.dataSet&&this.dataSet.clear(),this.update({options:null})}_canvasUpdate(e){if(this.canvasLayer){var t=this,s=t.options.animation,r=t.map,i=t.canvasLayer.canvas.getContext(t.context);if(t.isEnabledTime()){if(void 0===e)return void t.clear(i);"2d"==t.context&&(i.save(),i.globalCompositeOperation="destination-out",i.fillStyle="rgba(0, 0, 0, .1)",i.fillRect(0,0,i.canvas.width,i.canvas.height),i.restore())}else this.clear(i);if("2d"==t.context)for(var a in t.options)i[a]=t.options[a];else i.clear(i.COLOR_BUFFER_BIT);var n=r.getView().calculateExtent(),o=r.getPixelFromCoordinate([n[0],n[3]]);t._mapCenter=r.getView().getCenter(),t._mapCenterPx=r.getPixelFromCoordinate(t._mapCenter),t._reselutions=r.getView().getResolution(),t._rotation=-r.getView().getRotation();var l={transferCoordinate:function(e){var s=(e[0]-t._mapCenter[0])/t._reselutions,r=(t._mapCenter[1]-e[1])/t._reselutions,i=[s+t._mapCenterPx[0],r+t._mapCenterPx[1]];return[(i=function(e,t,s){var r=(e[0]-t[0])*s+t[0],i=(e[1]-t[1])*s+t[1];return[r,i]}(i,t._mapCenterPx,1))[0]+t.offset[0],i[1]+t.offset[1]]}};void 0!==e&&(l.filter=function(t){var r=s.trails||10;return e&&t.time>e-r&&t.time© SuperMap iClient"}),canvasFunction:function(e,t,s,r,i){var a=r[0]/s,n=r[1]/s,o=this.map.getSize()[0],l=this.map.getSize()[1];this.layer||(this.layer=new uo(this.map,this.dataSet,this.mapvOptions,a,n,this));this.layer.pixelRatio=s,this.layer.offset=[(a-o)/2,(n-l)/2],this.rotate?this.rotate!==this.map.getView().getRotation()&&(this.layer.canvasLayer.resize(a,n),this.rotate=this.map.getView().getRotation()):this.rotate=this.map.getView().getRotation();var h=this.layer.canvasLayer.canvas;this.layer.isEnabledTime()||(this.layer.canvasLayer.resize(a,n),this.layer.canvasLayer.draw());this.context||(this.context=Pn.createCanvasContext2D(a,n));var u=this.context.canvas;this.context.clearRect(0,0,u.width,u.height),u.width=r[0],u.height=r[0],u.style.width=r[0]+"px",u.style.height=r[0]+"px",this.context.drawImage(h,0,0,r[0],r[0],0,0,r[0],r[0]),(this.resolution!==t||JSON.stringify(this.extent)!==JSON.stringify(e))&&(this.resolution=t,this.extent=e);return this.context.canvas},logo:t.logo,projection:t.projection,ratio:t.ratio,resolutions:t.resolutions,state:t.state}),this.map=e.map,this.dataSet=e.dataSet,this.mapvOptions=e.mapvOptions}addData(e,t){this.layer.addData(e,t)}getData(){return this.layer&&(this.dataSet=this.layer.getData()),this.dataSet}removeData(e){this.layer&&this.layer.removeData(e)}clearData(){this.layer.clearData()}update(e){this.layer.update(e),this.changed()}}mn.a.source.Mapv=co;class po extends Kn{constructor(e,t,s){super(e,t,s),this.symbolType=t,this.symbolSetting=s.symbolSetting,this.themeField=s.themeField}destroy(){this.symbolType=null,this.symbolSetting=null,this.themeField=null,Kn.prototype.destroy.apply(this,arguments)}setSymbolType(e){this.symbolType=e,this.redraw()}createThematicFeature(e){var t;return Za[this.symbolType]&&this.themeField&&this.symbolSetting&&(t=new Za[this.symbolType](e,this,[this.themeField],this.symbolSetting)),!!t&&(t.assembleShapes(),t)}canvasFunctionInternal_(e,t,s,r,i){return Kn.prototype.canvasFunctionInternal_.apply(this,arguments)}}mn.a.source.RankSymbol=po;var fo=s(21);class mo extends mn.a.source.Vector{constructor(e){var t=e||{};super({attributions:t.attributions||new mn.a.Attribution({html:"© turfjs with © SuperMap iClient"}),features:t.features,format:t.format,extent:t.extent,logo:t.logo,projection:t.projection,wrapX:t.wrapX}),this.turfMap={"Measurement.along":["line","distance","units"],"Measurement.area":["geojson"],"Measurement.bbox":["geojson"],"Measurement.bboxPolygon":["bbox"],"Measurement.bearing":["start","end","final"],"Measurement.center":["geojson","properties"],"Measurement.centerOfMass":["geojson","properties"],"Measurement.centroid":["geojson","properties"],"Measurement.destination":["origin","distance","bearing","units"],"Measurement.distance":["from","to","units"],"Measurement.envelope":["geojson"],"Measurement.length":["geojson","units"],"Measurement.midpoint":["point1","point2"],"Measurement.pointOnFeature":["geojson"],"Measurement.polygonTangents":["point","polygon"],"Measurement.rhumbBearing":["start","end","final"],"Measurement.rhumbDestination":["origin","distance","bearing","units"],"Measurement.rhumbDistance":["from","to","units"],"Measurement.square":["bbox"],"Measurement.greatCircle":["start","end","properties","npoints","offset"],"CoordinateMutation.cleanCoords":["geojson","mutate"],"CoordinateMutation.flip":["geojson","mutate"],"CoordinateMutation.rewind":["geojson","reverse","mutate"],"CoordinateMutation.round":["num","precision"],"CoordinateMutation.truncate":["geojson","precision","coordinates","mutate"],"Transformation.bboxClip":["feature","bbox"],"Transformation.bezierSpline":["line","resolution","sharpness"],"Transformation.buffer":["geojson","radius","units","steps"],"Transformation.circle":["center","radius","steps","units","properties"],"Transformation.clone":["geojson"],"Transformation.concave":["points","maxEdge","units"],"Transformation.convex":["geojson","concavity"],"Transformation.difference":["polygon1","polygon2"],"Transformation.dissolve":["featureCollection","propertyName"],"Transformation.intersect":["poly1","poly2"],"Transformation.lineOffset":["geojson","distance","units"],"Transformation.simplify":["feature","tolerance","highQuality"],"Transformation.tesselate":["poly"],"Transformation.transformRotate":["geojson","angle","pivot","mutate"],"Transformation.transformTranslate":["geojson","distance","direction","units","zTranslation","mutate"],"Transformation.transformScale":["geojson","factor","origin","mutate"],"Transformation.union":["A"],"Transformation.voronoi":["points","bbox"],"featureConversion.combine":["fc"],"featureConversion.explode":["geojson"],"featureConversion.flatten":["geojson"],"featureConversion.lineStringToPolygon":["lines","properties","autoComplete","orderCoords"],"featureConversion.polygonize":["geojson"],"featureConversion.polygonToLineString":["polygon","properties"],"Misc.kinks":["featureIn"],"Misc.lineArc":["center","radius","bearing1","bearing2","steps","units"],"Misc.lineChunk":["geojson","segmentLength","units","reverse"],"Misc.lineIntersect":["line1","line2"],"Misc.lineOverlap":["line1","line2"],"Misc.lineSegment":["geojson"],"Misc.lineSlice":["startPt","stopPt","line"],"Misc.lineSliceAlong":["line","startDist","stopDist","units"],"Misc.lineSplit":["line","splitter"],"Misc.mask":["polygon","mask"],"Misc.pointOnLine":["lines","pt","units"],"Misc.sector":["center","radius","bearing1","bearing2","steps","units"],"Misc.shortestPath":["start","end","obstacles","units","resolution"],"Misc.unkinkPolygon":["geojson"],"Helper.featureCollection":["features","bbox","id"],"Helper.feature":["geometry","properties","bbox","id"],"Helper.geometryCollection":["geometries","properties","bbox","id"],"Helper.lineString":["coordinates","properties","bbox","id"],"Helper.multiLineString":["coordinates","properties","bbox","id"],"Helper.multiPoint":["coordinates","properties","bbox","id"],"Helper.multiPolygon":["coordinates","properties","bbox","id"],"Helper.point":["coordinates","properties","bbox","id"],"Helper.polygon":["coordinates","properties","bbox","id"],"Data.sample":["featurecollection","num"],"Interpolation.interpolate":["points","cellSize","gridType","property","units","weight"],"Interpolation.isobands":["pointGrid","breaks","zProperty","commonProperties","breaksProperties"],"Interpolation.isolines":["pointGrid","breaks","zProperty","commonProperties","breaksProperties"],"Interpolation.planepoint":["point","triangle"],"Interpolation.tin":["points","z"],"Joins.pointsWithinPolygon":["points","polygons"],"Joins.tag":["points","polygons","field","outField","mask","properties"],"Grids.hexGrid":["bbox","cellSide","units","triangles"],"Grids.pointGrid":["bbox","cellSide","units","mask","properties"],"Grids.squareGrid":["bbox","cellSide","units","mask","properties"],"Grids.triangleGrid":["bbox","cellSide","units","mask","properties"],"Classification.nearestPoint":["targetPoint","points"],"Aggregation.collect":["polygons","points","inProperty","outProperty"],"Aggregation.clustersDbscan":["points","maxDistance","units","minPoints","mutate"],"Aggregation.clustersKmeans":["points","numberOfClusters","mutate"],"Meta.coordAll":["geojson"],"Meta.coordEach":["geojson","callback","excludeWrapCoord"],"Meta.coordReduce":["geojson","callback","initialValue","excludeWrapCoord"],"Meta.featureEach":["geojson","callback"],"Meta.featureReduce":["geojson","callback","initialValue"],"Meta.flattenEach":["geojson","callback"],"Meta.flattenReduce":["geojson","callback","initialValue"],"Meta.getCoord":["coord"],"Meta.getCoords":["coords"],"Meta.getGeom":["geojson"],"Meta.getGeomType":["geojson","name"],"Meta.geomEach":["geojson","callback"],"Meta.geomReduce":["geojson","callback","initialValue"],"Meta.propEach":["geojson","callback"],"Meta.propReduce":["geojson","callback","initialValue"],"Meta.segmentEach":["geojson","callback"],"Meta.segmentReduce":["geojson","callback","initialValue"],"Meta.getCluster":["geojson","filter"],"Meta.clusterEach":["geojson","property","callback"],"Meta.clusterReduce":["geojson","property","callback","initialValue"],"Assertions.collectionOf":["featureCollection","type","name"],"Assertions.containsNumber":["coordinates"],"Assertions.geojsonType":["value","type","name"],"Assertions.featureOf":["feature","type","name"],"Booleans.booleanClockwise":["line"],"Booleans.booleanContains":["feature1","feature2"],"Booleans.booleanCrosses":["feature1","feature2"],"Booleans.booleanDisjoint":["feature1","feature2"],"Booleans.booleanEqual":["feature1","feature2"],"Booleans.booleanOverlap":["feature1","feature2"],"Booleans.booleanParallel":["feature1","feature2"],"Booleans.booleanPointInPolygon":["point","polygon","ignoreBoundary"],"Booleans.booleanPointOnLine":["point","linestring","ignoreEndVertices"],"UnitConversion.bearingToAngle":["bearing"],"UnitConversion.convertArea":["area","originalUnit","finalUnit"],"UnitConversion.convertLength":["length","originalUnit","finalUnit"],"UnitConversion.degreesToradians":["degrees"],"UnitConversion.lengthToRadians":["distance","units"],"UnitConversion.lengthToDegrees":["distance","units"],"UnitConversion.radiansToLength":["radians","units"],"UnitConversion.radiansToDegrees":["radians"],"UnitConversion.toMercator":["geojson","mutate"],"UnitConversion.toWgs84":["geojson","mutate"]},this.turfOptionMap={"Measurement.along":["line","distance",{units:""}],"Measurement.bboxPolygon":["bbox",{properties:"",id:""}],"Measurement.bearing":["start","end",{final:""}],"Measurement.center":["geojson",{properties:""}],"Measurement.destination":["origin","distance","bearing",{units:"",properties:""}],"Measurement.distance":["from","to",{units:""}],"Measurement.length":["geojson",{units:""}],"Measurement.rhumbBearing":["start","end",{final:""}],"Measurement.rhumbDestination":["origin","distance","bearing",{units:"",properties:""}],"Measurement.rhumbDistance":["from","to",{units:""}],"Measurement.greatCircle":["start","end",{properties:"",npoints:"",offset:""}],"CoordinateMutation.cleanCoords":["geojson",{mutate:""}],"CoordinateMutation.flip":["geojson",{mutate:""}],"CoordinateMutation.rewind":["geojson",{mutate:"",reverse:""}],"CoordinateMutation.truncate":["geojson",{precision:"",coordinates:"",mutate:""}],"Transformation.bezierSpline":["line",{resolution:"",sharpness:""}],"Transformation.buffer":["geojson","radius",{units:"",steps:""}],"Transformation.circle":["center","radius",{units:"",steps:"",properties:""}],"Transformation.concave":["points",{maxEdge:"",units:""}],"Transformation.convex":["geojson",{concavity:""}],"Transformation.dissolve":["featureCollection",{propertyName:""}],"Transformation.lineOffset":["geojson","distance",{units:""}],"Transformation.simplify":["geojson",{tolerance:"",highQuality:""}],"Transformation.transformRotate":["geojson","angle",{pivot:"",mutate:""}],"Transformation.transformTranslate":["geojson","distance","direction",{units:"",zTranslation:"",mutate:""}],"Transformation.transformScale":["geojson","factor",{origin:"",mutate:""}],"Transformation.voronoi":["points",{bbox:""}],"featureConversion.lineStringToPolygon":["lines",{properties:"",autoComplete:"",orderCoords:""}],"featureConversion.polygonToLineString":["polygon",{properties:""}],"Misc.lineArc":["center","radius","bearing1","bearing2",{steps:"",units:""}],"Misc.lineChunk":["geojson","segmentLength",{units:"",reverse:""}],"Misc.lineOverlap":["line1","line2",{tolerance:""}],"Misc.lineSliceAlong":["line","startDist","stopDist",{units:""}],"Misc.pointOnLine":["lines","pt",{units:""}],"Misc.sector":["center","radius","bearing1","bearing2",{units:"",steps:"",properties:""}],"Misc.shortestPath":["start","end",{obstacles:"",units:"",resolution:""}],"Helper.feature":["geometry","properties",{bbox:"",id:""}],"Helper.geometryCollection":["geometries","properties",{bbox:"",id:""}],"Helper.lineString":["coordinates","properties",{bbox:"",id:""}],"Helper.multiLineString":["coordinates","properties",{bbox:"",id:""}],"Helper.multiPoint":["coordinates","properties",{bbox:"",id:""}],"Helper.multiPolygon":["coordinates","properties",{bbox:"",id:""}],"Helper.point":["coordinates","properties",{bbox:"",id:""}],"Helper.polygon":["coordinates","properties",{bbox:"",id:""}],"Interpolation.interpolate":["points","cellSize",{gridType:"",property:"",units:"",weight:""}],"Interpolation.isobands":["pointGrid","breaks",{zProperty:"",commonProperties:"",breaksProperties:""}],"Interpolation.isolines":["pointGrid","breaks",{zProperty:"",commonProperties:"",breaksProperties:""}],"Grids.hexGrid":["bbox","cellSide",{units:"",triangles:"",properties:"",mask:""}],"Grids.pointGrid":["bbox","cellSide",{units:"",mask:"",properties:""}],"Grids.squareGrid":["bbox","cellSide",{units:"",mask:"",properties:""}],"Grids.triangleGrid":["bbox","cellSide",{units:"",mask:"",properties:""}],"Aggregation.clustersDbscan":["points","maxDistance",{units:"",minPoints:"",mutate:""}],"Aggregation.clustersKmeans":["points",{numberOfClusters:"",mutate:""}],"Booleans.booleanPointInPolygon":["point","polygon",{ignoreBoundary:""}],"Booleans.booleanPointOnLine":["point","linestring",{ignoreEndVertices:""}],"UnitConversion.toMercator":["geojson",{mutate:""}],"UnitConversion.toWgs84":["geojson",{mutate:""}]}}process(e,t,s,r){var i;try{i=fo[e.split(".")[1]].apply(this,this.parse(e,t))}catch(s){i=fo[e.split(".")[1]].apply(this,this.parseOption(e,t))}var a=null;try{a=(new mn.a.format.GeoJSON).readFeatures(i)}catch(e){return void(s&&s(i))}(r=null==r||r)&&this.addFeatures(a),s&&s(i)}parse(e,t){if("Transformation.union"===e)return t.A;var s=[],r=this.turfMap[e];return r&&r.map(function(e){return s.push(t[e]),t[e]}),s}parseOption(e,t){var s=[];return this.turfOptionMap[e].map(function(e){if(e instanceof Object){var r=e;Object.keys(r).forEach(function(e){r[e]=t[e]}),s.push(r)}else s.push(t[e]);return t}),s}}mn.a.source.Turf=mo,mn.a.supermap=mn.a.supermap||{};class yo extends mn.a.Observable{constructor(e){if(super(),e){var t=!1;void 0!==e.donotNeedServerCartoCss&&(t=e.donotNeedServerCartoCss),yo.setDonotNeedServerCartoCss(t),e.view&&yo.setView(e.view),e.url&&yo.setUrl(e.url),e.cartoCss&&yo.setCartoCss(e.cartoCss);var s=new mn.a.style.Style({image:new mn.a.style.Circle({radius:5,fill:new mn.a.style.Fill({color:"blue"})})});e.selectedPointStyle&&(s=e.selectedPointStyle),yo.setSelectedPointStyle(s);var r=new mn.a.style.Style({stroke:new mn.a.style.Stroke({color:"blue",width:3})});e.selectedLineStyle&&(r=e.selectedLineStyle),yo.setSelectedLineStyle(r);var i=new mn.a.style.Style({fill:new mn.a.style.Fill({color:[0,0,255,.5]}),stroke:new mn.a.style.Stroke({color:"blue",width:3})});e.selectedRegionStyle&&(i=e.selectedRegionStyle),yo.setSelectedRegionStyle(i);var a=new mn.a.style.Style({text:new mn.a.style.Text({font:"15px Microsoft YaHei",fill:new mn.a.style.Fill({color:"blue"}),stroke:new mn.a.style.Stroke({color:"white",width:1})})});e.selectedTextStyle&&(a=e.selectedTextStyle),yo.setSelectedTextStyle(a);var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4==n.readyState){for(var e=JSON.parse(n.responseText),t={},s=0,r=e.length;s© SuperMap iServer with © SuperMap iClient"});var t=e.url+"/tileFeature.json?";e.format instanceof mn.a.format.MVT&&(t=e.url+"/tileFeature.mvt?"),e.serverType=e.serverType||a.ISERVER,t=function(e,t){var s,r,i=e;switch(t){case a.IPORTAL:r=Ye.getToken(e),(s=r?new Pe(r,"token"):null)||(r=Ye.getKey(e),s=r?new Pe(r,"key"):null);break;case a.ONLINE:r=Ye.getKey(e),s=r?new Pe(r,"key"):null;break;default:r=Ye.getToken(e),s=r?new Pe(r,"token"):null}s&&(i+="&"+s.getUrlParameters());return i}(t,e.serverType);var s=!0;void 0!==e.returnAttributes&&(s=e.returnAttributes);var r="";r+="&returnAttributes="+s,void 0!==e._cache&&(r+="&_cache="+e._cache),void 0!==e.layersID&&(r+="&layersID="+e.layersID),void 0!==e.layerNames&&(r+="&layerNames="+e.layerNames),void 0!==e.expands&&(r+="&expands="+e.expands),void 0!==e.compressTolerance&&(r+="&compressTolerance="+e.compressTolerance),void 0!==e.coordinateType&&(r+="&coordinateType="+e.coordinateType),void 0!==e.returnCutEdges&&(r+="&returnCutEdges="+e.returnCutEdges),t+=encodeURI(r),super({attributions:e.attributions,cacheSize:e.cacheSize,format:e.format||new mn.a.format.GeoJSON,logo:e.logo,overlaps:e.overlaps,projection:e.projection,state:e.state,tileClass:e.tileClass,tileGrid:e.tileGrid,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:function(e,s,r){i.tileGrid||(i.tileGrid=i.getTileGridForProjection(r));var a=mn.a.size.toSize(i.tileGrid.getTileSize(o,i.tmpSize)),n="",o=e[0],l=e[1],h=-e[2]-1;if("ZXY"===i.tileType)n="&width="+a[0]+"&height="+a[1]+"&x="+l+"&y="+h+"&z="+o;else if("ViewBounds"===i.tileType){var u=i.tileGrid.getTileCoordExtent(e);n="&width="+a[0]+"&height="+a[1]+"&viewBounds="+u[0]+","+u[1]+","+u[2]+","+u[3]}else{var c=i.tileGrid.getOrigin(o),d=i.tileGrid.getResolution(o),f=r.getUnits();"degrees"===f&&(f=p.DEGREE),"m"===f&&(f=p.METER);var m=Pn.resolutionToScale(d,96,f);n="&x="+l+"&y="+h+"&width="+a[0]+"&height="+a[1]+"&scale="+m+"&origin={'x':"+c[0]+",'y':"+c[1]+"}"}return t+encodeURI(n)},tileLoadFunction:e.format instanceof mn.a.format.MVT?void 0:function(e,t){var s=new RegExp("(^|\\?|&)width=([^&]*)(\\s|&|$)"),r=new RegExp("(^|\\?|&)height=([^&]*)(\\s|&|$)"),i=Number(t.match(s)[2]),a=Number(t.match(r)[2]);e.setLoader(function(){We.get(t).then(function(t){if(e.getFormat()instanceof mn.a.format.GeoJSON)return t.json()}).then(function(t){var s=[];e.getFormat()instanceof mn.a.format.GeoJSON&&(t.recordsets.map(function(e){return e.features.map(function(e){for(var t=[],s=0,r=0;r=i?s:i;e=a===s?a/t.viewer.width:a/t.viewer.height;var n=[],o=p.METER;t.coordUnit===p.DEGREE&&(o=p.DEGREE);if(t.visibleScales.length>0){var l=function(e){var t=e.visibleScales;if(!t)return null;var s=e.viewBounds,r=e.coordUnit,i=e.viewer,a=e.scale,n=e.datumAxis;s=new ye(s.left,s.bottom,s.right,s.top),i=new ne(i.rightBottom.x,i.rightBottom.y),r=r.toLowerCase(),n=n||6378137;var o=r,l=fe.calculateDpi(s,i,a,o,n),h=function(e){if(null===e)return;var t,s;s=e.length,t=[s];for(var r=0;r© SuperMap iServer with © SuperMap iClient"}),canvasFunction:r,logo:s.logo,projection:s.projection,ratio:s.ratio,resolutions:s.resolutions,state:s.state}),this.canvasFunctionInternal_=r,this.features=[],this.name=e,!s.map)throw new Error("options.map is not found.");this.map=s.map,this.id=s.id?s.id:fe.createUniqueID("HeatMapSource_"),this.opacity=s.opacity?s.opacity:1,this.colors=s.colors?s.colors:["blue","cyan","lime","yellow","red"],this.useGeoUnit=!!s.useGeoUnit&&s.useGeoUnit,this.radius=s.radius?s.radius:50,this.featureWeight=s.featureWeight?s.featureWeight:null,this.maxWeight=null,this.minWeight=null,this.maxWidth=null,this.maxHeight=null,this.rootCanvas=document.createElement("canvas");var i=this.map.getSize();this.rootCanvas.width=this.maxWidth=parseInt(i[0]),this.rootCanvas.height=this.maxHeight=parseInt(i[1]),fe.modifyDOMElement(this.rootCanvas,null,null,null,null,null,null,this.opacity),this.canvasContext=this.rootCanvas.getContext("2d")}addFeatures(e){this.features=this.toiClientFeature(e),this.changed()}setOpacity(e){if(e!==this.opacity){this.opacity=e;var t=this.rootCanvas;fe.modifyDOMElement(t,null,null,null,null,null,null,e),null!==this.map&&this.changed()}}updateHeatPoints(e){this.features&&this.features.length>0?this.convertFastToPixelPoints(e):this.canvasContext.clearRect(0,0,this.maxWidth,this.maxWidth)}convertFastToPixelPoints(e){var t,s,r,i,a,n,o=[];this.useRadius=this.useGeoUnit?parseInt(this.radius/e):this.radius;for(var l=0;l0&&this.maxWidth>0))return!1;var s=this.canvasContext;this.canvasContext.clearRect(0,0,this.maxWidth,this.maxHeight),this.drawCircle(this.useRadius),this.createGradient();for(var r=0;r1?(l=c,u=new mn.a.geom.MultiPolygon(null)):u=new mn.a.geom.Polygon(null)}else u=h===mn.a.geom.GeometryType.POINT?new mn.a.geom.Point(null):h===mn.a.geom.GeometryType.LINE_STRING?new mn.a.geom.LineString(null):h===mn.a.geom.GeometryType.POLYGON?new mn.a.geom.Polygon(null):h===mn.a.geom.GeometryType.MULTI_POINT?new mn.a.geom.MultiPoint(null):h===mn.a.geom.GeometryType.MULTI_LINE_STRING?new mn.a.geom.MultiLineString(null):null;if(u){u.setFlatCoordinates(mn.a.geom.GeometryLayout.XY,o,l),r=new this.featureClass_,this.geometryName_&&r.setGeometryName(this.geometryName_);var g=mn.a.format.Feature.transformWithOptions(u,!1,this.adaptOptions(s));r.setGeometry(g),r.setId(a),r.setProperties(n)}}return r},mn.a.geom.flat.textpath.lineString=function(e,t,s,r,i,a,n,o){for(var l=[],h=Math.atan2(e[s-r+1]-e[t+1],e[s-r]-e[t]),u=h<-.785||h>2.356,c=h<-.785&&h>-2.356||h>.785&&h<2.356,p=i.length,d=e[t],f=e[t+1],m=e[t+=r],y=e[t+1],g=0,v=Math.sqrt(Math.pow(m-d,2)+Math.pow(y-f,2));t=19968&&N<=40907,I=a(w=u?P+w:w+P)-E;for(E+=I;t1?k:k<0||k>1?D:D1?k:k<0||k>1?D:D0?-Math.PI:Math.PI),L&&c&&(H+=H>0?-Math.PI/2:Math.PI/2),void 0!==x){var V=H-x;if(V+=V>Math.PI?-2*Math.PI:V<-Math.PI?2*Math.PI:0,L===C?Math.abs(V)>o:Math.abs(V)>o+Math.PI/2)return null}x!=H||c?(E=I,S=[G,B,I/2,H,w=P],u?l.unshift(S):l.push(S),x=H,C=L):(u&&(S[0]=G,S[1]=B,S[2]=I/2),S[4]=w),M=U,_=j,n+=I}return l},mn.a.layer.VectorTile.prototype.setFastRender=function(e){return this.fastRender=e},mn.a.renderer.canvas.VectorTileLayer.prototype.postCompose=function(e,t,s){var r,i,a=this.getLayer(),n=a.getDeclutter()?{}:null,o=a.getSource(),l=a.getRenderMode(),h=mn.a.renderer.canvas.VectorTileLayer.VECTOR_REPLAYS[l],u=t.pixelRatio,c=t.viewState.rotation,p=t.size;c&&(r=Math.round(u*p[0]/2),i=Math.round(u*p[1]/2),mn.a.render.canvas.rotateAtOffset(e,-c,r,i)),n&&this.declutterTree_.clear();for(var d=this.renderedTiles,f=o.getTileGridForProjection(t.viewState.projection),m=[],y=[],g=d.length-1;g>=0;--g){var v=d[g];if(v.getState()!=mn.a.TileState.ABORT)for(var S=v.tileCoord,b=f.getTileCoordExtent(S)[0]-f.getTileCoordExtent(v.wrappedTileCoord)[0],x=void 0,C=0,T=v.tileKeys.length;Ce.json()).then(e=>{this._mbStyle=e,this._resolve(e)})}getStyleFunction(){return this.featureStyleFuntion}getStylesBySourceLayer(e){if(this.layersBySourceLayer[e])return this.layersBySourceLayer[e];const t=[];for(const s of this._mbStyle.layers)s["source-layer"]===e&&t.push(s);return this.layersBySourceLayer[e]=t,t}setSelectedId(e,t){this.selectedObject={selectedId:e,sourceLayer:t}}updateStyles(e){"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]);const t={};for(const s in e){const r=e[s];t[r.id]=r}let s=0;for(const r in this._mbStyle.layers){const i=this._mbStyle.layers[r];if(s>=e.length)break;const a=t[i.id];a&&(fe.extend(i,a),s++)}this._createStyleFunction(this._mbStyle,this._spriteData,this._spriteImageUrl)}_resolve(e){if(e.sprite){const t=.5==(window.devicePixelRatio>=1.5?.5:1)?"@2x":"";e.sprite=e.sprite.replace("@2x","");const s=this._toSpriteUrl(e.sprite,this.path,t+".json");We.get(s).then(e=>e.json()).then(s=>{this._spriteData=s,this._spriteImageUrl=this._toSpriteUrl(e.sprite,this.path,t+".png"),this._initStyleFunction(e,this._spriteData,this._spriteImageUrl)})}else this._initStyleFunction(e,null,null)}_initStyleFunction(e,t,s){this._createStyleFunction(e,t,s),this.dispatchEvent("styleloaded")}_createStyleFunction(e,t,s){this.map&&window.olms.applyBackground(this.map,e),this.featureStyleFuntion=this._getStyleFunction(e,t,s)}_getStyleFunction(e,t,s){var r=window.olms.stylefunction({setStyle:function(){},set:function(){},changed:function(){}},e,this.source,this.resolutions,t,s);return(e,t)=>{const s=r(e,t);if(this.selectedObject&&this.selectedObject.selectedId===e.getId()&&this.selectedObject.sourceLayer===e.get("layer")){const r=s&&s[0]?s[0].getZIndex():99999;let i=this.selectedStyle(e,t);Array.isArray(i)||(i=[i]);for(const t of i)"Point"===e.getGeometry().getType()&&s[0].getText()&&t.getText()&&(t.setFill(null),t.setStroke(null),t.setImage(),t.getText().setText(s[0].getText().getText())),t.setZIndex(r);return i}return s}}_withPath(e,t){return t&&0!=e.indexOf("http")&&(e=t+e),e}_toSpriteUrl(e,t,s){const r=(e=this._withPath(e,t)).match(this.spriteRegEx);return r?r[1]+s+(r.length>2?r[2]:""):e+s}}mn.a.supermap.MapboxStyles=bo;class xo extends yn{constructor(e,t){super(e,t)}code(e,t){var s=this;new ot(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t}}).code(s.url+"/geocoding",e)}decode(e,t){var s=this;new ot(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t}}).decode(s.url+"/geodecoding",e)}}mn.a.supermap.AddressMatchService=xo;class Co extends yn{constructor(e,t){super(e,t)}queryChart(e,t,s){var r=this,i=r._processParams(e),a=r._processFormat(s);new Ut(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:a}).processAsync(i)}getChartFeatureInfo(e){var t=this,s=t.url.concat();new Dt(s+="/chartFeatureInfoSpecs",{proxy:t.options.proxy,withCredentials:t.options.withCredentials,serverType:t.options.serverType,eventListeners:{scope:t,processCompleted:e,processFailed:e}}).processAsync()}_processParams(e){if(!e)return{};e.returnContent=null==e.returnContent||e.returnContent,e.filter&&(e.chartQueryFilterParameters=Pn.isArray(e.filter)?e.filter:[e.filter]),e.bounds&&(e.bounds=new ye(e.bounds[0],e.bounds[1],e.bounds[2],e.bounds[3]))}_processFormat(e){return e||i.GEOJSON}}mn.a.supermap.ChartService=Co;class To extends yn{constructor(e,t){super(e,t)}getFields(e,t){var s=this;new sr(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t},datasource:e.datasource,dataset:e.dataset}).processAsync()}getFieldStatisticsInfo(e,t){var s=e.fieldName,r=e.statisticMode;for(var i in r&&!Pn.isArray(r)&&(r=[r]),this.currentStatisticResult={fieldName:s},this._statisticsCallback=t,r)this.currentStatisticResult[r[i]]=null,this._fieldStatisticRequest(e.datasource,e.dataset,s,r[i])}_fieldStatisticRequest(e,t,s,r){new Cs(this.url,{eventListeners:{scope:this,processCompleted:this._processCompleted,processFailed:this._statisticsCallback},datasource:e,dataset:t,field:s,statisticMode:r}).processAsync()}_processCompleted(e){var t=this,s=!0,r=e.result;for(var i in this.currentStatisticResult&&null==t.currentStatisticResult[r.mode]&&(this.currentStatisticResult[r.mode]=r.result),t.currentStatisticResult)if(null==t.currentStatisticResult[i]){s=!1;break}s&&t._statisticsCallback({result:t.currentStatisticResult})}}mn.a.supermap.FieldService=To;class Mo extends yn{constructor(e,t){super(e,t)}getGridCellInfos(e,t){if(!e)return null;var s=this;new ir(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t}}).processAsync(e)}}mn.a.supermap.GridCellInfosService=Mo;class _o extends yn{constructor(e,t){super(e,t)}getLayersInfo(e){new Dr(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,serverType:this.options.serverType,eventListeners:{processCompleted:e,processFailed:e}}).processAsync()}setLayerInfo(e,t){if(e){var s=e.resourceID,r=e.tempLayerName,i=e.layerInfo;if(s&&r){var a=this.url.concat();new Si(a+="/tempLayersSet/"+s+"/"+r,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,serverType:this.options.serverType,eventListeners:{processCompleted:t,processFailed:t}}).processAsync(i)}}}setLayersInfo(e,t){if(e){var s=e.resourceID,r=!!e.isTempLayers&&e.isTempLayers,i=e.layersInfo;if((!r||s)&&i)new xi(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,serverType:this.options.serverType,eventListeners:{processCompleted:t,processFailed:t},resourceID:s,isTempLayers:r}).processAsync(i)}}setLayerStatus(e,t){if(e){new Ti(this.url,{proxy:this.options.proxy,withCredentials:this.options.withCredentials,serverType:this.options.serverType,eventListeners:{processCompleted:t,processFailed:t}}).processAsync(e)}}}mn.a.supermap.LayerInfoService=_o;class wo extends yn{constructor(e,t){super(e,t)}measureDistance(e,t){this.measure(e,"DISTANCE",t)}measureArea(e,t){this.measure(e,"AREA",t)}measure(e,t,s){var r=this;new ei(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,measureMode:t,eventListeners:{scope:r,processCompleted:s,processFailed:s}}).processAsync(r._processParam(e))}_processParam(e){return e&&e.geometry&&(e.geometry=Pn.toSuperMapGeometry(JSON.parse((new mn.a.format.GeoJSON).writeGeometry(e.geometry)))),e}}mn.a.supermap.MeasureService=wo;class Eo extends yn{constructor(e,t){super(e,t)}sinksFacilityAnalyst(e,t){var s=this;new ls(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t}}).processAsync(e)}sourcesFacilityAnalyst(e,t){var s=this;new us(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t}}).processAsync(e)}traceUpFacilityAnalyst(e,t){var s=this;new ys(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t}}).processAsync(e)}traceDownFacilityAnalyst(e,t){var s=this;new fs(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t}}).processAsync(e)}upstreamFacilityAnalyst(e,t){var s=this;new vs(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t}}).processAsync(e)}}mn.a.supermap.NetworkAnalyst3DService=Eo;class Ao extends yn{constructor(e,t){super(e,t)}burstPipelineAnalyst(e,t){var s=this;new Ft(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t}}).processAsync(s._processParams(e))}computeWeightMatrix(e,t){var s=this;new qt(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t}}).processAsync(s._processParams(e))}findClosestFacilities(e,t,s){var r=this;new Ms(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}streamFacilityAnalyst(e,t,s){var r=this;new ps(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}findLocation(e,t,s){var r=this;new ws(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}findPath(e,t,s){var r=this;new Ns(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}findTSPPaths(e,t,s){var r=this;new Rs(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}findMTSPPaths(e,t,s){var r=this;new As(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}findServiceAreas(e,t,s){var r=this;new Is(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}updateEdgeWeight(e,t){var s=this;new sa(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t}}).processAsync(e)}updateTurnNodeWeight(e,t){var s=this;new ia(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:t,processFailed:t}}).processAsync(e)}_processParams(e){if(!e)return{};if(e.centers&&Pn.isArray(e.centers)&&e.centers.map(function(t,s){return e.centers[s]=t instanceof mn.a.geom.Point?{x:t.getCoordinates()[0],y:t.getCoordinates()[1]}:t,e.centers[s]}),e.nodes&&Pn.isArray(e.nodes)&&e.nodes.map(function(t,s){return e.nodes[s]=t instanceof mn.a.geom.Point?{x:t.getCoordinates()[0],y:t.getCoordinates()[1]}:t,e.nodes[s]}),e.event&&e.event instanceof mn.a.geom.Point&&(e.event={x:e.event.getCoordinates()[0],y:e.event.getCoordinates()[1]}),e.facilities&&Pn.isArray(e.facilities)&&e.facilities.map(function(t,s){return e.facilities[s]=t instanceof mn.a.geom.Point?{x:t.getCoordinates()[0],y:t.getCoordinates()[1]}:t,e.facilities[s]}),e.parameter&&e.parameter.barrierPoints){var t=e.parameter.barrierPoints;Pn.isArray(t)?t.map(function(t,s){return e.parameter.barrierPoints[s]=t instanceof mn.a.geom.Point?{x:t.getCoordinates()[0],y:t.getCoordinates()[1]}:t,e.parameter.barrierPoints[s]}):e.parameter.barrierPoints=[t instanceof mn.a.geom.Point?{x:t.getCoordinates()[0],y:t.getCoordinates()[1]}:t]}return e}_processFormat(e){return e||i.GEOJSON}}mn.a.supermap.NetworkAnalystService=Ao;class Po extends yn{constructor(e,t){super(e,t),this.kernelDensityJobs={},this.summaryMeshJobs={},this.queryJobs={},this.summaryRegionJobs={},this.vectorClipJobs={},this.overlayGeoJobs={},this.buffersJobs={},this.topologyValidatorJobs={},this.summaryAttributesJobs={}}getKernelDensityJobs(e,t){var s=this,r=s._processFormat(t);new Jr(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:e,processFailed:e},format:r}).getKernelDensityJobs()}getKernelDensityJob(e,t,s){var r=this,i=r._processFormat(s);new Jr(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:i}).getKernelDensityJob(e)}addKernelDensityJob(e,t,s,r){var i=this,a=i._processParams(e),n=i._processFormat(r);new Jr(i.url,{proxy:i.proxy,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.kernelDensityJobs[e.id]=e.state}},format:n}).addKernelDensityJob(a,s)}getKernelDensityJobState(e){return this.kernelDensityJobs[e]}getSummaryMeshJobs(e,t){var s=this,r=s._processFormat(t);new Li(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:e,processFailed:e},format:r}).getSummaryMeshJobs()}getSummaryMeshJob(e,t,s){var r=this,i=r._processFormat(s);new Li(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:i}).getSummaryMeshJob(e)}addSummaryMeshJob(e,t,s,r){var i=this,a=i._processParams(e),n=i._processFormat(r);new Li(i.url,{proxy:i.proxy,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.summaryMeshJobs[e.id]=e.state}},format:n}).addSummaryMeshJob(a,s)}getSummaryMeshJobState(e){return this.summaryMeshJobs[e]}getQueryJobs(e,t){var s=this,r=s._processFormat(t);new _i(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:e,processFailed:e},format:r}).getQueryJobs()}getQueryJob(e,t,s){var r=this,i=r._processFormat(s);new _i(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:i}).getQueryJob(e)}addQueryJob(e,t,s,r){var i=this,a=i._processParams(e),n=i._processFormat(r);new _i(i.url,{proxy:i.proxy,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.queryJobs[e.id]=e.state}},format:n}).addQueryJob(a,s)}getQueryJobState(e){return this.queryJobs[e]}getSummaryRegionJobs(e,t){var s=this,r=s._processFormat(t);new Oi(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:e,processFailed:e},format:r}).getSummaryRegionJobs()}getSummaryRegionJob(e,t,s){var r=this,i=r._processFormat(s);new Oi(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:i}).getSummaryRegionJob(e)}addSummaryRegionJob(e,t,s,r){var i=this,a=i._processParams(e),n=i._processFormat(r);new Oi(i.url,{proxy:i.proxy,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.summaryRegionJobs[e.id]=e.state}},format:n}).addSummaryRegionJob(a,s)}getSummaryRegionJobState(e){return this.summaryRegionJobs[e]}getVectorClipJobs(e,t){var s=this,r=s._processFormat(t);new na(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:e,processFailed:e},format:r}).getVectorClipJobs()}getVectorClipJob(e,t,s){var r=this,i=r._processFormat(s);new na(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:i}).getVectorClipJob(e)}addVectorClipJob(e,t,s,r){var i=this,a=i._processParams(e),n=i._processFormat(r);new na(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,serverType:i.options.serverType,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.vectorClipJobs[e.id]=e.state}},format:n}).addVectorClipJob(a,s)}getVectorClipJobState(e){return this.vectorClipJobs[e]}getOverlayGeoJobs(e,t){var s=this,r=s._processFormat(t);new ri(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:e,processFailed:e},format:r}).getOverlayGeoJobs()}getOverlayGeoJob(e,t,s){var r=this,i=r._processFormat(s);new ri(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:i}).getOverlayGeoJob(e)}addOverlayGeoJob(e,t,s,r){var i=this,a=i._processParams(e),n=i._processFormat(r);new ri(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,serverType:i.options.serverType,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.overlayGeoJobs[e.id]=e.state}},format:n}).addOverlayGeoJob(a,s)}getoverlayGeoJobState(e){return this.overlayGeoJobs[e]}getBuffersJobs(e,t){var s=this,r=s._processFormat(t);new It(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:e,processFailed:e},format:r}).getBuffersJobs()}getBuffersJob(e,t,s){var r=this,i=r._processFormat(s);new It(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:i}).getBuffersJob(e)}addBuffersJob(e,t,s,r){var i=this,a=i._processParams(e),n=i._processFormat(r);new It(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,serverType:i.options.serverType,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.buffersJobs[e.id]=e.state}},format:n}).addBuffersJob(a,s)}getBuffersJobState(e){return this.buffersJobs[e]}getTopologyValidatorJobs(e,t){var s=this,r=s._processFormat(t);new Xi(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:e,processFailed:e},format:r}).getTopologyValidatorJobs()}getTopologyValidatorJob(e,t,s){var r=this,i=r._processFormat(s);new Xi(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:i}).getTopologyValidatorJob(e)}addTopologyValidatorJob(e,t,s,r){var i=this,a=i._processParams(e),n=i._processFormat(r);new Xi(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,serverType:i.options.serverType,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.topologyValidatorJobs[e.id]=e.state}},format:n}).addTopologyValidatorJob(a,s)}getTopologyValidatorJobState(e){return this.topologyValidatorJobs[e]}getSummaryAttributesJobs(e,t){var s=this,r=s._processFormat(t);new Pi(s.url,{proxy:s.options.proxy,withCredentials:s.options.withCredentials,serverType:s.options.serverType,eventListeners:{scope:s,processCompleted:e,processFailed:e},format:r}).getSummaryAttributesJobs()}getSummaryAttributesJob(e,t,s){var r=this,i=r._processFormat(s);new Pi(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:i}).getSummaryAttributesJob(e)}addSummaryAttributesJob(e,t,s,r){var i=this,a=i._processParams(e),n=i._processFormat(r);new Pi(i.url,{proxy:i.options.proxy,withCredentials:i.options.withCredentials,serverType:i.options.serverType,eventListeners:{scope:i,processCompleted:t,processFailed:t,processRunning:function(e){i.summaryAttributesJobs[e.id]=e.state}},format:n}).addSummaryAttributesJob(a,s)}getSummaryAttributesJobState(e){return this.summaryAttributesJobs[e]}_processFormat(e){return e||i.GEOJSON}_processParams(e){return e?(e.bounds&&(e.bounds=Pn.toSuperMapBounds(e.bounds)),e.query&&(e.query=Pn.toSuperMapBounds(e.query)),e.geometryQuery&&(e.geometryQuery=Pn.toProcessingParam(e.geometryQuery)),e.geometryClip&&(e.geometryClip=Pn.toProcessingParam(e.geometryClip)),e):{}}}mn.a.supermap.ProcessingService=Po;class No extends yn{constructor(e,t){super(e,t)}queryByBounds(e,t,s){var r=this;new ni(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}queryByDistance(e,t,s){var r=this;new li(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}queryBySQL(e,t,s){var r=this;new pi(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}queryByGeometry(e,t,s){var r=this;new ui(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}_processParams(e){return e?(e.returnContent=null==e.returnContent||e.returnContent,e.queryParams&&!Pn.isArray(e.queryParams)&&(e.queryParams=[e.queryParams]),e.bounds&&(e.bounds=new ye(e.bounds[0],e.bounds[1],e.bounds[2],e.bounds[3])),e.geometry&&(e.geometry instanceof mn.a.geom.Point?e.geometry=new xe(e.geometry.getCoordinates()[0],e.geometry.getCoordinates()[1]):e.geometry=Pn.toSuperMapGeometry(JSON.parse((new mn.a.format.GeoJSON).writeGeometry(e.geometry)))),e):{}}_processFormat(e){return e||i.GEOJSON}}mn.a.supermap.QueryService=No;class Lo extends yn{constructor(e,t){super(e,t)}getAreaSolarRadiationResult(e,t,s){var r=this;new pt(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(e)}bufferAnalysis(e,t,s){var r=this;new At(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}densityAnalysis(e,t,s){var r=this;new rs(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}generateSpatialData(e,t,s){var r=this;new Ds(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(e)}geoRelationAnalysis(e,t,s){var r=this;new Vs(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(e)}interpolationAnalysis(e,t,s){var r=this;new Hr(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}mathExpressionAnalysis(e,t,s){var r=this;new Zr(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}overlayAnalysis(e,t,s){var r=this;new ti(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}routeCalculateMeasure(e,t,s){var r=this;new fi(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}routeLocate(e,t,s){var r=this;new yi(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}surfaceAnalysis(e,t,s){var r=this;new Fi(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}terrainCurvatureCalculate(e,t,s){var r=this;new ki(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(e)}thiessenAnalysis(e,t,s){var r=this;new zi(r.url,{proxy:r.options.proxy,withCredentials:r.options.withCredentials,serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}).processAsync(r._processParams(e))}geometrybatchAnalysis(e,t,s){for(var r=this,i=new qi(r.url,{serverType:r.options.serverType,eventListeners:{scope:r,processCompleted:t,processFailed:t},format:r._processFormat(s)}),a=[],n=0;n2*i*this.a)return;return s=t/this.a,d=Math.sin(s),f=Math.cos(s),m=this.long0,Math.abs(t)<=1e-10?y=this.lat0:(y=c(f*this.sin_p12+e.y*d*this.cos_p12/t),g=Math.abs(this.lat0)-i,m=Math.abs(g)<=1e-10?this.lat0>=0?r(this.long0+Math.atan2(e.x,-e.y)):r(this.long0-Math.atan2(-e.x,e.y)):r(this.long0+Math.atan2(e.x*d,t*this.cos_p12*f-e.y*this.sin_p12*d))),e.x=m,e.y=y,e}return v=n(this.es),S=o(this.es),b=l(this.es),x=h(this.es),Math.abs(this.sin_p12-1)<=1e-10?(C=this.a*a(v,S,b,x,i),t=Math.sqrt(e.x*e.x+e.y*e.y),y=p((C-t)/this.a,v,S,b,x),m=r(this.long0+Math.atan2(e.x,-1*e.y)),e.x=m,e.y=y,e):Math.abs(this.sin_p12+1)<=1e-10?(C=this.a*a(v,S,b,x,i),t=Math.sqrt(e.x*e.x+e.y*e.y),y=p((t-C)/this.a,v,S,b,x),m=r(this.long0+Math.atan2(e.x,e.y)),e.x=m,e.y=y,e):(t=Math.sqrt(e.x*e.x+e.y*e.y),_=Math.atan2(e.x,e.y),T=u(this.a,this.e,this.sin_p12),w=Math.cos(_),A=-(E=this.e*this.cos_p12*w)*E/(1-this.es),P=3*this.es*(1-A)*this.sin_p12*this.cos_p12*w/(1-this.es),I=1-A*(L=(N=t/T)-A*(1+A)*Math.pow(N,3)/6-P*(1+3*A)*Math.pow(N,4)/24)*L/2-N*L*L*L/6,M=Math.asin(this.sin_p12*Math.cos(L)+this.cos_p12*Math.sin(L)*w),m=r(this.long0+Math.asin(Math.sin(_)*Math.sin(L)/Math.cos(M))),y=Math.atan((1-this.es*I*this.sin_p12/Math.sin(M))*Math.tan(M)/(1-this.es)),e.x=m,e.y=y,e)},t.names=["Azimuthal_Equidistant","aeqd"]},function(e,t,s){var r=s(1),i=Math.PI/2,a=s(2);t.init=function(){this.R=this.a},t.forward=function(e){var t,s,n=e.x,o=e.y,l=r(n-this.long0);Math.abs(o)<=1e-10&&(t=this.x0+this.R*l,s=this.y0);var h=a(2*Math.abs(o/Math.PI));(Math.abs(l)<=1e-10||Math.abs(Math.abs(o)-i)<=1e-10)&&(t=this.x0,s=o>=0?this.y0+Math.PI*this.R*Math.tan(.5*h):this.y0+Math.PI*this.R*-Math.tan(.5*h));var u=.5*Math.abs(Math.PI/l-l/Math.PI),c=u*u,p=Math.sin(h),d=Math.cos(h),f=d/(p+d-1),m=f*f,y=f*(2/p-1),g=y*y,v=Math.PI*this.R*(u*(f-g)+Math.sqrt(c*(f-g)*(f-g)-(g+c)*(m-g)))/(g+c);l<0&&(v=-v),t=this.x0+v;var S=c+f;return v=Math.PI*this.R*(y*S-u*Math.sqrt((g+c)*(c+1)-S*S))/(g+c),s=o>=0?this.y0+v:this.y0-v,e.x=t,e.y=s,e},t.inverse=function(e){var t,s,i,a,n,o,l,h,u,c,p,d;return e.x-=this.x0,e.y-=this.y0,p=Math.PI*this.R,n=(i=e.x/p)*i+(a=e.y/p)*a,p=3*(a*a/(h=-2*(o=-Math.abs(a)*(1+n))+1+2*a*a+n*n)+(2*(l=o-2*a*a+i*i)*l*l/h/h/h-9*o*l/h/h)/27)/(u=(o-l*l/3/h)/h)/(c=2*Math.sqrt(-u/3)),Math.abs(p)>1&&(p=p>=0?1:-1),d=Math.acos(p)/3,s=e.y>=0?(-c*Math.cos(d+Math.PI/3)-l/3/h)*Math.PI:-(-c*Math.cos(d+Math.PI/3)-l/3/h)*Math.PI,t=Math.abs(i)<1e-10?this.long0:r(this.long0+Math.PI*(n-1+Math.sqrt(1+2*(i*i-a*a)+n*n))/2/i),e.x=t,e.y=s,e},t.names=["Van_der_Grinten_I","VanDerGrinten","vandg"]},function(e,t,s){var r=s(9),i=s(8),a=s(7),n=s(6),o=s(3),l=s(5),h=s(1),u=s(4),c=s(16);t.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=r(this.es),this.e1=i(this.es),this.e2=a(this.es),this.e3=n(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=o(this.e,this.sinphi,this.cosphi),this.ml1=l(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<1e-10?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=o(this.e,this.sinphi,this.cosphi),this.ml2=l(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=l(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))},t.forward=function(e){var t,s=e.x,r=e.y;if(this.sphere)t=this.a*(this.g-r);else{var i=l(this.e0,this.e1,this.e2,this.e3,r);t=this.a*(this.g-i)}var a=this.ns*h(s-this.long0),n=this.x0+t*Math.sin(a),o=this.y0+this.rh-t*Math.cos(a);return e.x=n,e.y=o,e},t.inverse=function(e){var t,s,r,i;e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns>=0?(s=Math.sqrt(e.x*e.x+e.y*e.y),t=1):(s=-Math.sqrt(e.x*e.x+e.y*e.y),t=-1);var a=0;if(0!==s&&(a=Math.atan2(t*e.x,t*e.y)),this.sphere)return i=h(this.long0+a/this.ns),r=u(this.g-s/this.a),e.x=i,e.y=r,e;var n=this.g-s/this.a;return r=c(n,this.e0,this.e1,this.e2,this.e3),i=h(this.long0+a/this.ns),e.x=i,e.y=r,e},t.names=["Equidistant_Conic","eqdc"]},function(e,t,s){var r=s(1);t.init=function(){},t.forward=function(e){for(var t=e.x,s=e.y,i=r(t-this.long0),a=s,n=Math.PI*Math.sin(s),o=0;;o++){var l=-(a+Math.sin(a)-n)/(1+Math.cos(a));if(a+=l,Math.abs(l)<1e-10)break}a/=2,Math.PI/2-Math.abs(s)<1e-10&&(i=0);var h=.900316316158*this.a*i*Math.cos(a)+this.x0,u=1.4142135623731*this.a*Math.sin(a)+this.y0;return e.x=h,e.y=u,e},t.inverse=function(e){var t,s;e.x-=this.x0,e.y-=this.y0,s=e.y/(1.4142135623731*this.a),Math.abs(s)>.999999999999&&(s=.999999999999),t=Math.asin(s);var i=r(this.long0+e.x/(.900316316158*this.a*Math.cos(t)));i<-Math.PI&&(i=-Math.PI),i>Math.PI&&(i=Math.PI),s=(2*t+Math.sin(2*t))/Math.PI,Math.abs(s)>1&&(s=1);var a=Math.asin(s);return e.x=i,e.y=a,e},t.names=["Mollweide","moll"]},function(e,t,s){var r=s(24);e.exports=function(e,t,s){for(var i=1/(1-t),a=e,n=20;n;--n){var o=Math.sin(a),l=1-t*o*o;if(a-=l=(r(a,o,Math.cos(a),s)-e)*(l*Math.sqrt(l))*i,Math.abs(l)<1e-10)return a}return a}},function(e,t){var s=.01068115234375;e.exports=function(e){var t=[];t[0]=1-e*(.25+e*(.046875+e*(.01953125+e*s))),t[1]=e*(.75-e*(.046875+e*(.01953125+e*s)));var r=e*e;return t[2]=r*(.46875-e*(.013020833333333334+.007120768229166667*e)),r*=e,t[3]=r*(.3645833333333333-.005696614583333333*e),t[4]=r*e*.3076171875,t}},function(e,t,s){var r=s(1),i=s(4),a=s(42),n=s(24),o=s(41),l=Math.PI/2,h=s(2);t.init=function(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=a(this.es)},t.forward=function(e){var t,s,i=e.x,a=e.y;if(i=r(i-this.long0),this.sphere){if(this.m)for(var o=this.n*Math.sin(a),l=20;l;--l){var h=(this.m*a+Math.sin(a)-o)/(this.m+Math.cos(a));if(a-=h,Math.abs(h)<1e-10)break}else a=1!==this.n?Math.asin(this.n*Math.sin(a)):a;t=this.a*this.C_x*i*(this.m+Math.cos(a)),s=this.a*this.C_y*a}else{var u=Math.sin(a),c=Math.cos(a);s=this.a*n(a,u,c,this.en),t=this.a*i*c/Math.sqrt(1-this.es*u*u)}return e.x=t,e.y=s,e},t.inverse=function(e){var t,s,a,n;return e.x-=this.x0,a=e.x/this.a,e.y-=this.y0,t=e.y/this.a,this.sphere?(t/=this.C_y,a/=this.C_x*(this.m+Math.cos(t)),this.m?t=h((this.m*t+Math.sin(t))/this.n):1!==this.n&&(t=h(Math.sin(t)/this.n)),a=r(a+this.long0),t=i(t)):(t=o(e.y/this.a,this.es,this.en),(n=Math.abs(t))0||Math.abs(n)<=1e-10?(o=this.x0+1*this.a*s*Math.sin(i)/n,l=this.y0+1*this.a*(this.cos_p14*t-this.sin_p14*s*a)/n):(o=this.x0+this.infinity_dist*s*Math.sin(i),l=this.y0+this.infinity_dist*(this.cos_p14*t-this.sin_p14*s*a)),e.x=o,e.y=l,e},t.inverse=function(e){var t,s,a,n,o,l;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,(t=Math.sqrt(e.x*e.x+e.y*e.y))?(n=Math.atan2(t,this.rc),s=Math.sin(n),a=Math.cos(n),l=i(a*this.sin_p14+e.y*s*this.cos_p14/t),o=Math.atan2(e.x*s,t*this.cos_p14*a-e.y*this.sin_p14*s),o=r(this.long0+o)):(l=this.phic0,o=0),e.x=o,e.y=l,e},t.names=["gnom"]},function(e,t,s){var r=s(3),i=s(15),a=s(1),n=s(2);t.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=r(this.e3,this.sin_po,this.cos_po),this.qs1=i(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=r(this.e3,this.sin_po,this.cos_po),this.qs2=i(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=i(this.e3,this.sin_po,this.cos_po),Math.abs(this.lat1-this.lat2)>1e-10?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},t.forward=function(e){var t=e.x,s=e.y;this.sin_phi=Math.sin(s),this.cos_phi=Math.cos(s);var r=i(this.e3,this.sin_phi,this.cos_phi),n=this.a*Math.sqrt(this.c-this.ns0*r)/this.ns0,o=this.ns0*a(t-this.long0),l=n*Math.sin(o)+this.x0,h=this.rh-n*Math.cos(o)+this.y0;return e.x=l,e.y=h,e},t.inverse=function(e){var t,s,r,i,n,o;return e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns0>=0?(t=Math.sqrt(e.x*e.x+e.y*e.y),r=1):(t=-Math.sqrt(e.x*e.x+e.y*e.y),r=-1),i=0,0!==t&&(i=Math.atan2(r*e.x,r*e.y)),r=t*this.ns0/this.a,this.sphere?o=Math.asin((this.c-r*r)/(2*this.ns0)):(s=(this.c-r*r)/this.ns0,o=this.phi1z(this.e3,s)),n=a(i/this.ns0+this.long0),e.x=n,e.y=o,e},t.phi1z=function(e,t){var s,r,i,a,o,l=n(.5*t);if(e<1e-10)return l;for(var h=e*e,u=1;u<=25;u++)if(s=Math.sin(l),r=Math.cos(l),l+=o=.5*(a=1-(i=e*s)*i)*a/r*(t/(1-h)-s/a+.5/e*Math.log((1-i)/(1+i))),Math.abs(o)<=1e-7)return l;return null},t.names=["Albers_Conic_Equal_Area","Albers","aea"]},function(e,t,s){var r=Math.PI/2,i=Math.PI/4,a=s(15),n=s(1);t.S_POLE=1,t.N_POLE=2,t.EQUIT=3,t.OBLIQ=4,t.init=function(){var e,t=Math.abs(this.lat0);if(Math.abs(t-r)<1e-10?this.mode=this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(t)<1e-10?this.mode=this.EQUIT:this.mode=this.OBLIQ,this.es>0)switch(this.qp=a(this.e,1),this.mmf=.5/(1-this.es),this.apa=this.authset(this.es),this.mode){case this.N_POLE:case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),e=Math.sin(this.lat0),this.sinb1=a(this.e,e)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*e*e)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},t.forward=function(e){var t,s,o,l,h,u,c,p,d,f,m=e.x,y=e.y;if(m=n(m-this.long0),this.sphere){if(h=Math.sin(y),f=Math.cos(y),o=Math.cos(m),this.mode===this.OBLIQ||this.mode===this.EQUIT){if((s=this.mode===this.EQUIT?1+f*o:1+this.sinph0*h+this.cosph0*f*o)<=1e-10)return null;t=(s=Math.sqrt(2/s))*f*Math.sin(m),s*=this.mode===this.EQUIT?h:this.cosph0*h-this.sinph0*f*o}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(o=-o),Math.abs(y+this.phi0)<1e-10)return null;s=i-.5*y,t=(s=2*(this.mode===this.S_POLE?Math.cos(s):Math.sin(s)))*Math.sin(m),s*=o}}else{switch(c=0,p=0,d=0,o=Math.cos(m),l=Math.sin(m),h=Math.sin(y),u=a(this.e,h),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(c=u/this.qp,p=Math.sqrt(1-c*c)),this.mode){case this.OBLIQ:d=1+this.sinb1*c+this.cosb1*p*o;break;case this.EQUIT:d=1+p*o;break;case this.N_POLE:d=r+y,u=this.qp-u;break;case this.S_POLE:d=y-r,u=this.qp+u}if(Math.abs(d)<1e-10)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:d=Math.sqrt(2/d),s=this.mode===this.OBLIQ?this.ymf*d*(this.cosb1*c-this.sinb1*p*o):(d=Math.sqrt(2/(1+p*o)))*c*this.ymf,t=this.xmf*d*p*l;break;case this.N_POLE:case this.S_POLE:u>=0?(t=(d=Math.sqrt(u))*l,s=o*(this.mode===this.S_POLE?d:-d)):t=s=0}}return e.x=this.a*t+this.x0,e.y=this.a*s+this.y0,e},t.inverse=function(e){e.x-=this.x0,e.y-=this.y0;var t,s,i,a,o,l,h,u=e.x/this.a,c=e.y/this.a;if(this.sphere){var p,d=0,f=0;if((s=.5*(p=Math.sqrt(u*u+c*c)))>1)return null;switch(s=2*Math.asin(s),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(f=Math.sin(s),d=Math.cos(s)),this.mode){case this.EQUIT:s=Math.abs(p)<=1e-10?0:Math.asin(c*f/p),u*=f,c=d*p;break;case this.OBLIQ:s=Math.abs(p)<=1e-10?this.phi0:Math.asin(d*this.sinph0+c*f*this.cosph0/p),u*=f*this.cosph0,c=(d-Math.sin(s)*this.sinph0)*p;break;case this.N_POLE:c=-c,s=r-s;break;case this.S_POLE:s-=r}t=0!==c||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(u,c):0}else{if(h=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(u/=this.dd,c*=this.dd,(l=Math.sqrt(u*u+c*c))<1e-10)return e.x=0,e.y=this.phi0,e;a=2*Math.asin(.5*l/this.rq),i=Math.cos(a),u*=a=Math.sin(a),this.mode===this.OBLIQ?(h=i*this.sinb1+c*a*this.cosb1/l,o=this.qp*h,c=l*this.cosb1*i-c*this.sinb1*a):(h=c*a/l,o=this.qp*h,c=l*i)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(c=-c),!(o=u*u+c*c))return e.x=0,e.y=this.phi0,e;h=1-o/this.qp,this.mode===this.S_POLE&&(h=-h)}t=Math.atan2(u,c),s=this.authlat(Math.asin(h),this.apa)}return e.x=n(this.long0+t),e.y=s,e},t.P00=.3333333333333333,t.P01=.17222222222222222,t.P02=.10257936507936508,t.P10=.06388888888888888,t.P11=.0664021164021164,t.P20=.016415012942191543,t.authset=function(e){var t,s=[];return s[0]=e*this.P00,t=e*e,s[0]+=t*this.P01,s[1]=t*this.P10,t*=e,s[0]+=t*this.P02,s[1]+=t*this.P11,s[2]=t*this.P20,s},t.authlat=function(e,t){var s=e+e;return e+t[0]*Math.sin(s)+t[1]*Math.sin(s+s)+t[2]*Math.sin(s+s+s)},t.names=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"]},function(e,t,s){var r=s(5),i=s(9),a=s(8),n=s(7),o=s(6),l=s(17),h=s(1),u=s(4),c=s(16),p=Math.PI/2;t.init=function(){this.sphere||(this.e0=i(this.es),this.e1=a(this.es),this.e2=n(this.es),this.e3=o(this.es),this.ml0=this.a*r(this.e0,this.e1,this.e2,this.e3,this.lat0))},t.forward=function(e){var t,s,i=e.x,a=e.y;if(i=h(i-this.long0),this.sphere)t=this.a*Math.asin(Math.cos(a)*Math.sin(i)),s=this.a*(Math.atan2(Math.tan(a),Math.cos(i))-this.lat0);else{var n=Math.sin(a),o=Math.cos(a),u=l(this.a,this.e,n),c=Math.tan(a)*Math.tan(a),p=i*Math.cos(a),d=p*p,f=this.es*o*o/(1-this.es);t=u*p*(1-d*c*(1/6-(8-c+8*f)*d/120)),s=this.a*r(this.e0,this.e1,this.e2,this.e3,a)-this.ml0+u*n/o*d*(.5+(5-c+6*f)*d/24)}return e.x=t+this.x0,e.y=s+this.y0,e},t.inverse=function(e){e.x-=this.x0,e.y-=this.y0;var t,s,r=e.x/this.a,i=e.y/this.a;if(this.sphere){var a=i+this.lat0;t=Math.asin(Math.sin(a)*Math.cos(r)),s=Math.atan2(Math.tan(r),Math.cos(a))}else{var n=this.ml0/this.a+i,o=c(n,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(o)-p)<=1e-10)return e.x=this.long0,e.y=p,i<0&&(e.y*=-1),e;var d=l(this.a,this.e,Math.sin(o)),f=d*d*d/this.a/this.a*(1-this.es),m=Math.pow(Math.tan(o),2),y=r*this.a/d,g=y*y;t=o-d*Math.tan(o)/f*y*y*(.5-(1+3*m)*y*y/24),s=y*(1-g*(m/3+(1+3*m)*m*g/15))/Math.cos(o)}return e.x=h(s+this.long0),e.y=u(t),e},t.names=["Cassini","Cassini_Soldner","cass"]},function(e,t,s){var r=s(1);t.init=function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},t.forward=function(e){var t,s,i,a,n,o,l,h=e.x,u=e.y,c=r(h-this.long0);return t=Math.pow((1+this.e*Math.sin(u))/(1-this.e*Math.sin(u)),this.alfa*this.e/2),s=2*(Math.atan(this.k*Math.pow(Math.tan(u/2+this.s45),this.alfa)/t)-this.s45),i=-c*this.alfa,a=Math.asin(Math.cos(this.ad)*Math.sin(s)+Math.sin(this.ad)*Math.cos(s)*Math.cos(i)),n=Math.asin(Math.cos(s)*Math.sin(i)/Math.cos(a)),o=this.n*n,l=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(a/2+this.s45),this.n),e.y=l*Math.cos(o)/1,e.x=l*Math.sin(o)/1,this.czech||(e.y*=-1,e.x*=-1),e},t.inverse=function(e){var t,s,r,i,a,n,o,l=e.x;e.x=e.y,e.y=l,this.czech||(e.y*=-1,e.x*=-1),a=Math.sqrt(e.x*e.x+e.y*e.y),i=Math.atan2(e.y,e.x)/Math.sin(this.s0),r=2*(Math.atan(Math.pow(this.ro0/a,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),t=Math.asin(Math.cos(this.ad)*Math.sin(r)-Math.sin(this.ad)*Math.cos(r)*Math.cos(i)),s=Math.asin(Math.cos(r)*Math.sin(i)/Math.cos(t)),e.x=this.long0-s/this.alfa,n=t,o=0;var h=0;do{e.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(t/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(n))/(1-this.e*Math.sin(n)),this.e/2))-this.s45),Math.abs(n-e.y)<1e-10&&(o=1),n=e.y,h+=1}while(0===o&&h<15);return h>=15?null:e},t.names=["Krovak","krovak"]},function(e,t,s){var r=s(3),i=s(12),a=Math.PI/2,n=s(10),o=s(1),l=s(11);t.init=function(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)<1e-10)){var e=this.b/this.a;this.e=Math.sqrt(1-e*e);var t=Math.sin(this.lat1),s=Math.cos(this.lat1),a=r(this.e,t,s),n=i(this.e,this.lat1,t),o=Math.sin(this.lat2),l=Math.cos(this.lat2),h=r(this.e,o,l),u=i(this.e,this.lat2,o),c=i(this.e,this.lat0,Math.sin(this.lat0));Math.abs(this.lat1-this.lat2)>1e-10?this.ns=Math.log(a/h)/Math.log(n/u):this.ns=t,isNaN(this.ns)&&(this.ns=t),this.f0=a/(this.ns*Math.pow(n,this.ns)),this.rh=this.a*this.f0*Math.pow(c,this.ns),this.title||(this.title="Lambert Conformal Conic")}},t.forward=function(e){var t=e.x,s=e.y;Math.abs(2*Math.abs(s)-Math.PI)<=1e-10&&(s=n(s)*(a-2e-10));var r,l,h=Math.abs(Math.abs(s)-a);if(h>1e-10)r=i(this.e,s,Math.sin(s)),l=this.a*this.f0*Math.pow(r,this.ns);else{if((h=s*this.ns)<=0)return null;l=0}var u=this.ns*o(t-this.long0);return e.x=this.k0*(l*Math.sin(u))+this.x0,e.y=this.k0*(this.rh-l*Math.cos(u))+this.y0,e},t.inverse=function(e){var t,s,r,i,n,h=(e.x-this.x0)/this.k0,u=this.rh-(e.y-this.y0)/this.k0;this.ns>0?(t=Math.sqrt(h*h+u*u),s=1):(t=-Math.sqrt(h*h+u*u),s=-1);var c=0;if(0!==t&&(c=Math.atan2(s*h,s*u)),0!==t||this.ns>0){if(s=1/this.ns,r=Math.pow(t/(this.a*this.f0),s),-9999===(i=l(this.e,r)))return null}else i=-a;return n=o(c/this.ns+this.long0),e.x=n,e.y=i,e},t.names=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_2SP","lcc"]},function(e,t,s){var r=s(12),i=s(1),a=s(11),n=Math.PI/2,o=Math.PI/4;t.init=function(){this.no_off=this.no_off||!1,this.no_rot=this.no_rot||!1,isNaN(this.k0)&&(this.k0=1);var e=Math.sin(this.lat0),t=Math.cos(this.lat0),s=this.e*e;this.bl=Math.sqrt(1+this.es/(1-this.es)*Math.pow(t,4)),this.al=this.a*this.bl*this.k0*Math.sqrt(1-this.es)/(1-s*s);var a,n,o=r(this.e,this.lat0,e),l=this.bl/t*Math.sqrt((1-this.es)/(1-s*s));if(l*l<1&&(l=1),isNaN(this.longc)){var h=r(this.e,this.lat1,Math.sin(this.lat1)),u=r(this.e,this.lat2,Math.sin(this.lat2));this.lat0>=0?this.el=(l+Math.sqrt(l*l-1))*Math.pow(o,this.bl):this.el=(l-Math.sqrt(l*l-1))*Math.pow(o,this.bl);var c=Math.pow(h,this.bl),p=Math.pow(u,this.bl);n=.5*((a=this.el/c)-1/a);var d=(this.el*this.el-p*c)/(this.el*this.el+p*c),f=(p-c)/(p+c),m=i(this.long1-this.long2);this.long0=.5*(this.long1+this.long2)-Math.atan(d*Math.tan(.5*this.bl*m)/f)/this.bl,this.long0=i(this.long0);var y=i(this.long1-this.long0);this.gamma0=Math.atan(Math.sin(this.bl*y)/n),this.alpha=Math.asin(l*Math.sin(this.gamma0))}else a=this.lat0>=0?l+Math.sqrt(l*l-1):l-Math.sqrt(l*l-1),this.el=a*Math.pow(o,this.bl),n=.5*(a-1/a),this.gamma0=Math.asin(Math.sin(this.alpha)/l),this.long0=this.longc-Math.asin(n*Math.tan(this.gamma0))/this.bl;this.no_off?this.uc=0:this.lat0>=0?this.uc=this.al/this.bl*Math.atan2(Math.sqrt(l*l-1),Math.cos(this.alpha)):this.uc=-1*this.al/this.bl*Math.atan2(Math.sqrt(l*l-1),Math.cos(this.alpha))},t.forward=function(e){var t,s,a,l=e.x,h=e.y,u=i(l-this.long0);if(Math.abs(Math.abs(h)-n)<=1e-10)a=h>0?-1:1,s=this.al/this.bl*Math.log(Math.tan(o+a*this.gamma0*.5)),t=-1*a*n*this.al/this.bl;else{var c=r(this.e,h,Math.sin(h)),p=this.el/Math.pow(c,this.bl),d=.5*(p-1/p),f=.5*(p+1/p),m=Math.sin(this.bl*u),y=(d*Math.sin(this.gamma0)-m*Math.cos(this.gamma0))/f;s=Math.abs(Math.abs(y)-1)<=1e-10?Number.POSITIVE_INFINITY:.5*this.al*Math.log((1-y)/(1+y))/this.bl,t=Math.abs(Math.cos(this.bl*u))<=1e-10?this.al*this.bl*u:this.al*Math.atan2(d*Math.cos(this.gamma0)+m*Math.sin(this.gamma0),Math.cos(this.bl*u))/this.bl}return this.no_rot?(e.x=this.x0+t,e.y=this.y0+s):(t-=this.uc,e.x=this.x0+s*Math.cos(this.alpha)+t*Math.sin(this.alpha),e.y=this.y0+t*Math.cos(this.alpha)-s*Math.sin(this.alpha)),e},t.inverse=function(e){var t,s;this.no_rot?(s=e.y-this.y0,t=e.x-this.x0):(s=(e.x-this.x0)*Math.cos(this.alpha)-(e.y-this.y0)*Math.sin(this.alpha),t=(e.y-this.y0)*Math.cos(this.alpha)+(e.x-this.x0)*Math.sin(this.alpha),t+=this.uc);var r=Math.exp(-1*this.bl*s/this.al),o=.5*(r-1/r),l=.5*(r+1/r),h=Math.sin(this.bl*t/this.al),u=(h*Math.cos(this.gamma0)+o*Math.sin(this.gamma0))/l,c=Math.pow(this.el/Math.sqrt((1+u)/(1-u)),1/this.bl);return Math.abs(u-1)<1e-10?(e.x=this.long0,e.y=n):Math.abs(u+1)<1e-10?(e.x=this.long0,e.y=-1*n):(e.y=a(this.e,c),e.x=i(this.long0-Math.atan2(o*Math.cos(this.gamma0)-h*Math.sin(this.gamma0),Math.cos(this.bl*t/this.al))/this.bl)),e},t.names=["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","omerc"]},function(e,t){t.init=function(){var e=this.lat0;this.lambda0=this.long0;var t=Math.sin(e),s=this.a,r=1/this.rf,i=2*r-Math.pow(r,2),a=this.e=Math.sqrt(i);this.R=this.k0*s*Math.sqrt(1-i)/(1-i*Math.pow(t,2)),this.alpha=Math.sqrt(1+i/(1-i)*Math.pow(Math.cos(e),4)),this.b0=Math.asin(t/this.alpha);var n=Math.log(Math.tan(Math.PI/4+this.b0/2)),o=Math.log(Math.tan(Math.PI/4+e/2)),l=Math.log((1+a*t)/(1-a*t));this.K=n-this.alpha*o+this.alpha*a/2*l},t.forward=function(e){var t=Math.log(Math.tan(Math.PI/4-e.y/2)),s=this.e/2*Math.log((1+this.e*Math.sin(e.y))/(1-this.e*Math.sin(e.y))),r=-this.alpha*(t+s)+this.K,i=2*(Math.atan(Math.exp(r))-Math.PI/4),a=this.alpha*(e.x-this.lambda0),n=Math.atan(Math.sin(a)/(Math.sin(this.b0)*Math.tan(i)+Math.cos(this.b0)*Math.cos(a))),o=Math.asin(Math.cos(this.b0)*Math.sin(i)-Math.sin(this.b0)*Math.cos(i)*Math.cos(a));return e.y=this.R/2*Math.log((1+Math.sin(o))/(1-Math.sin(o)))+this.y0,e.x=this.R*n+this.x0,e},t.inverse=function(e){for(var t=e.x-this.x0,s=e.y-this.y0,r=t/this.R,i=2*(Math.atan(Math.exp(s/this.R))-Math.PI/4),a=Math.asin(Math.cos(this.b0)*Math.sin(i)+Math.sin(this.b0)*Math.cos(i)*Math.cos(r)),n=Math.atan(Math.sin(r)/(Math.cos(this.b0)*Math.cos(r)-Math.sin(this.b0)*Math.tan(i))),o=this.lambda0+n/this.alpha,l=0,h=a,u=-1e3,c=0;Math.abs(h-u)>1e-7;){if(++c>20)return;l=1/this.alpha*(Math.log(Math.tan(Math.PI/4+a/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(h))/2)),u=h,h=2*Math.atan(Math.exp(l))-Math.PI/2}return e.x=o,e.y=h,e},t.names=["somerc"]},function(e,t,s){var r=Math.PI/2,i=s(10),a=s(3),n=s(12),o=s(11),l=s(1);t.ssfn_=function(e,t,s){return t*=s,Math.tan(.5*(r+e))*Math.pow((1-t)/(1+t),.5*s)},t.init=function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&(this.k0=.5*(1+i(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=1e-10&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&(this.k0=.5*this.cons*a(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/n(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=a(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-r,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},t.forward=function(e){var t,s,i,a,o,h,u=e.x,c=e.y,p=Math.sin(c),d=Math.cos(c),f=l(u-this.long0);return Math.abs(Math.abs(u-this.long0)-Math.PI)<=1e-10&&Math.abs(c+this.lat0)<=1e-10?(e.x=NaN,e.y=NaN,e):this.sphere?(t=2*this.k0/(1+this.sinlat0*p+this.coslat0*d*Math.cos(f)),e.x=this.a*t*d*Math.sin(f)+this.x0,e.y=this.a*t*(this.coslat0*p-this.sinlat0*d*Math.cos(f))+this.y0,e):(s=2*Math.atan(this.ssfn_(c,p,this.e))-r,a=Math.cos(s),i=Math.sin(s),Math.abs(this.coslat0)<=1e-10?(o=n(this.e,c*this.con,this.con*p),h=2*this.a*this.k0*o/this.cons,e.x=this.x0+h*Math.sin(u-this.long0),e.y=this.y0-this.con*h*Math.cos(u-this.long0),e):(Math.abs(this.sinlat0)<1e-10?(t=2*this.a*this.k0/(1+a*Math.cos(f)),e.y=t*i):(t=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*i+this.cosX0*a*Math.cos(f))),e.y=t*(this.cosX0*i-this.sinX0*a*Math.cos(f))+this.y0),e.x=t*a*Math.sin(f)+this.x0,e))},t.inverse=function(e){var t,s,i,a,n;e.x-=this.x0,e.y-=this.y0;var h=Math.sqrt(e.x*e.x+e.y*e.y);if(this.sphere){var u=2*Math.atan(h/(.5*this.a*this.k0));return t=this.long0,s=this.lat0,h<=1e-10?(e.x=t,e.y=s,e):(s=Math.asin(Math.cos(u)*this.sinlat0+e.y*Math.sin(u)*this.coslat0/h),t=Math.abs(this.coslat0)<1e-10?this.lat0>0?l(this.long0+Math.atan2(e.x,-1*e.y)):l(this.long0+Math.atan2(e.x,e.y)):l(this.long0+Math.atan2(e.x*Math.sin(u),h*this.coslat0*Math.cos(u)-e.y*this.sinlat0*Math.sin(u))),e.x=t,e.y=s,e)}if(Math.abs(this.coslat0)<=1e-10){if(h<=1e-10)return s=this.lat0,t=this.long0,e.x=t,e.y=s,e;e.x*=this.con,e.y*=this.con,i=h*this.cons/(2*this.a*this.k0),s=this.con*o(this.e,i),t=this.con*l(this.con*this.long0+Math.atan2(e.x,-1*e.y))}else a=2*Math.atan(h*this.cosX0/(2*this.a*this.k0*this.ms1)),t=this.long0,h<=1e-10?n=this.X0:(n=Math.asin(Math.cos(a)*this.sinX0+e.y*Math.sin(a)*this.cosX0/h),t=l(this.long0+Math.atan2(e.x*Math.sin(a),h*this.cosX0*Math.cos(a)-e.y*this.sinX0*Math.sin(a)))),s=-1*o(this.e,Math.tan(.5*(r+n)));return e.x=t,e.y=s,e},t.names=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"]},function(e,t){e.exports=function(e,t){return Math.pow((1-e)/(1+e),t)}},function(e,t,s){var r=Math.PI/4,i=s(59),a=Math.PI/2;t.init=function(){var e=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t,this.rc=Math.sqrt(1-this.es)/(1-this.es*e*e),this.C=Math.sqrt(1+this.es*t*t/(1-this.es)),this.phic0=Math.asin(e/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+r)/(Math.pow(Math.tan(.5*this.lat0+r),this.C)*i(this.e*e,this.ratexp))},t.forward=function(e){var t=e.x,s=e.y;return e.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*s+r),this.C)*i(this.e*Math.sin(s),this.ratexp))-a,e.x=this.C*t,e},t.inverse=function(e){for(var t=e.x/this.C,s=e.y,n=Math.pow(Math.tan(.5*s+r)/this.K,1/this.C),o=20;o>0&&(s=2*Math.atan(n*i(this.e*Math.sin(e.y),-.5*this.e))-a,!(Math.abs(s-e.y)<1e-14));--o)e.y=s;return o?(e.x=t,e.y=s,e):null},t.names=["gauss"]},function(e,t,s){var r=s(60),i=s(1);t.init=function(){r.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},t.forward=function(e){var t,s,a,n;return e.x=i(e.x-this.long0),r.forward.apply(this,[e]),t=Math.sin(e.y),s=Math.cos(e.y),a=Math.cos(e.x),n=this.k0*this.R2/(1+this.sinc0*t+this.cosc0*s*a),e.x=n*s*Math.sin(e.x),e.y=n*(this.cosc0*t-this.sinc0*s*a),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e},t.inverse=function(e){var t,s,a,n,o;if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,o=Math.sqrt(e.x*e.x+e.y*e.y)){var l=2*Math.atan2(o,this.R2);t=Math.sin(l),s=Math.cos(l),n=Math.asin(s*this.sinc0+e.y*t*this.cosc0/o),a=Math.atan2(e.x*t,o*this.cosc0*s-e.y*this.sinc0*t)}else n=this.phic0,a=0;return e.x=a,e.y=n,r.inverse.apply(this,[e]),e.x=i(e.x+this.long0),e},t.names=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative"]},function(e,t,s){var r=s(25);t.dependsOn="tmerc",t.init=function(){this.zone&&(this.lat0=0,this.long0=.017453292519943295*(6*Math.abs(this.zone)-183),this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,r.init.apply(this),this.forward=r.forward,this.inverse=r.inverse)},t.names=["Universal Transverse Mercator System","utm"]},function(e,t,s){var r=[s(25),s(62),s(61),s(58),s(57),s(56),s(55),s(54),s(53),s(52),s(51),s(50),s(49),s(47),s(46),s(45),s(44),s(43),s(40),s(39),s(38),s(37)];e.exports=function(e){r.forEach(function(t){e.Proj.projections.add(t)})}},function(e){e.exports={_from:"proj4@2.3.15",_id:"proj4@2.3.15",_inBundle:!1,_integrity:"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=",_location:"/proj4",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"proj4@2.3.15",name:"proj4",escapedName:"proj4",rawSpec:"2.3.15",saveSpec:null,fetchSpec:"2.3.15"},_requiredBy:["/"],_resolved:"http://localhost:4873/proj4/-/proj4-2.3.15.tgz",_shasum:"5ad06e8bca30be0ffa389a49e4565f51f06d089e",_spec:"proj4@2.3.15",_where:"E:\\2018\\git\\iClient-JavaScript",author:"",bugs:{url:"https://github.com/proj4js/proj4js/issues"},bundleDependencies:!1,contributors:[{name:"Mike Adair",email:"madair@dmsolutions.ca"},{name:"Richard Greenwood",email:"rich@greenwoodmap.com"},{name:"Calvin Metcalf",email:"calvin.metcalf@gmail.com"},{name:"Richard Marsden",url:"http://www.winwaed.com"},{name:"T. Mittan"},{name:"D. Steinwand"},{name:"S. Nelson"}],dependencies:{mgrs:"~0.0.2"},deprecated:!1,description:"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",devDependencies:{browserify:"~12.0.1",chai:"~1.8.1",curl:"git://github.com/cujojs/curl.git",grunt:"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0",istanbul:"~0.2.4",mocha:"~1.17.1",tin:"~0.4.0"},directories:{test:"test",doc:"docs"},homepage:"https://github.com/proj4js/proj4js#readme",jam:{main:"dist/proj4.js",include:["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},license:"MIT",main:"lib/index.js",name:"proj4",repository:{type:"git",url:"git://github.com/proj4js/proj4js.git"},scripts:{test:"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},version:"2.3.15"}},function(e,t,s){var r=s(26);function i(e,t,s){if(!(this instanceof i))return new i(e,t,s);if(Array.isArray(e))this.x=e[0],this.y=e[1],this.z=e[2]||0;else if("object"==typeof e)this.x=e.x,this.y=e.y,this.z=e.z||0;else if("string"==typeof e&&void 0===t){var r=e.split(",");this.x=parseFloat(r[0],10),this.y=parseFloat(r[1],10),this.z=parseFloat(r[2],10)||0}else this.x=e,this.y=t,this.z=s||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}i.fromMGRS=function(e){return new i(r.toPoint(e))},i.prototype.toMGRS=function(e){return r.forward([this.x,this.y],e)},e.exports=i},function(e,t){e.exports=function(e,t,s){var r,i,a,n=s.x,o=s.y,l=s.z||0;for(a=0;a<3;a++)if(!t||2!==a||void 0!==s.z)switch(0===a?(r=n,i="x"):1===a?(r=o,i="y"):(r=l,i="z"),e.axis[a]){case"e":s[i]=r;break;case"w":s[i]=-r;break;case"n":s[i]=r;break;case"s":s[i]=-r;break;case"u":void 0!==s[i]&&(s.z=r);break;case"d":void 0!==s[i]&&(s.z=-r);break;default:return null}return s}},function(e,t){var s=1,r=2;e.exports=function(e,t,i){var a,n,o;function l(e){return e===s||e===r}if(e.compare_datums(t))return i;if(5===e.datum_type||5===t.datum_type)return i;var h=e.a,u=e.es,c=t.a,p=t.es,d=e.datum_type;if(3===d)if(0===this.apply_gridshift(e,0,i))e.a=6378137,e.es=.006694379990141316;else{if(!e.datum_params)return e.a=h,e.es=e.es,i;for(a=1,n=0,o=e.datum_params.length;n3?r:s}return 3===t.datum_type&&(t.a=6378137,t.es=.006694379990141316),(e.es!==t.es||e.a!==t.a||l(d)||l(t.datum_type))&&(e.geodetic_to_geocentric(i),l(e.datum_type)&&e.geocentric_to_wgs84(i),l(t.datum_type)&&t.geocentric_from_wgs84(i),t.geocentric_to_geodetic(i)),3===t.datum_type&&this.apply_gridshift(t,1,i),e.a=h,e.es=u,t.a=c,t.es=p,i}},function(e,t){var s=Math.PI/2,r=function(e){if(!(this instanceof r))return new r(e);this.datum_type=4,e&&(e.datumCode&&"none"===e.datumCode&&(this.datum_type=5),e.datum_params&&(this.datum_params=e.datum_params.map(parseFloat),0===this.datum_params[0]&&0===this.datum_params[1]&&0===this.datum_params[2]||(this.datum_type=1),this.datum_params.length>3&&(0===this.datum_params[3]&&0===this.datum_params[4]&&0===this.datum_params[5]&&0===this.datum_params[6]||(this.datum_type=2,this.datum_params[3]*=484813681109536e-20,this.datum_params[4]*=484813681109536e-20,this.datum_params[5]*=484813681109536e-20,this.datum_params[6]=this.datum_params[6]/1e6+1))),this.datum_type=e.grids?3:this.datum_type,this.a=e.a,this.b=e.b,this.es=e.es,this.ep2=e.ep2,3===this.datum_type&&(this.grids=e.grids))};r.prototype={compare_datums:function(e){return this.datum_type===e.datum_type&&(!(this.a!==e.a||Math.abs(this.es-e.es)>5e-11)&&(1===this.datum_type?this.datum_params[0]===e.datum_params[0]&&this.datum_params[1]===e.datum_params[1]&&this.datum_params[2]===e.datum_params[2]:2===this.datum_type?this.datum_params[0]===e.datum_params[0]&&this.datum_params[1]===e.datum_params[1]&&this.datum_params[2]===e.datum_params[2]&&this.datum_params[3]===e.datum_params[3]&&this.datum_params[4]===e.datum_params[4]&&this.datum_params[5]===e.datum_params[5]&&this.datum_params[6]===e.datum_params[6]:3!==this.datum_type&&3!==e.datum_type||this.nadgrids===e.nadgrids))},geodetic_to_geocentric:function(e){var t,r,i,a,n,o,l,h=e.x,u=e.y,c=e.z?e.z:0;if(u<-s&&u>-1.001*s)u=-s;else if(u>s&&u<1.001*s)u=s;else if(u<-s||u>s)return null;return h>Math.PI&&(h-=2*Math.PI),n=Math.sin(u),l=Math.cos(u),o=n*n,t=((a=this.a/Math.sqrt(1-this.es*o))+c)*l*Math.cos(h),r=(a+c)*l*Math.sin(h),i=(a*(1-this.es)+c)*n,e.x=t,e.y=r,e.z=i,0},geocentric_to_geodetic:function(e){var t,r,i,a,n,o,l,h,u,c,p,d,f,m,y,g,v=e.x,S=e.y,b=e.z?e.z:0;if(!1,t=Math.sqrt(v*v+S*S),r=Math.sqrt(v*v+S*S+b*b),t/this.a<1e-12){if(!0,m=0,r/this.a<1e-12)return y=s,void(g=-this.b)}else m=Math.atan2(S,v);i=b/r,a=t/r,n=1/Math.sqrt(1-this.es*(2-this.es)*a*a),h=a*(1-this.es)*n,u=i*n,f=0;do{f++,g=t*h+b*u-(l=this.a/Math.sqrt(1-this.es*u*u))*(1-this.es*u*u),o=this.es*l/(l+g),d=(p=i*(n=1/Math.sqrt(1-o*(2-o)*a*a)))*h-(c=a*(1-o)*n)*u,h=c,u=p}while(d*d>1e-24&&f<30);return y=Math.atan(p/Math.abs(c)),e.x=m,e.y=y,e.z=g,e},geocentric_to_geodetic_noniter:function(e){var t,r,i,a,n,o,l,h,u,c,p,d,f,m,y,g,v,S=e.x,b=e.y,x=e.z?e.z:0;if(S=parseFloat(S),b=parseFloat(b),x=parseFloat(x),v=!1,0!==S)t=Math.atan2(b,S);else if(b>0)t=s;else if(b<0)t=-s;else if(v=!0,t=0,x>0)r=s;else{if(!(x<0))return r=s,void(i=-this.b);r=-s}return n=S*S+b*b,o=1.0026*x,d=(a=Math.sqrt(n))/(h=Math.sqrt(o*o+n)),p=(c=o/h)*c*c,l=x+this.b*this.ep2*p,g=a-this.a*this.es*d*d*d,f=l/(u=Math.sqrt(l*l+g*g)),m=g/u,y=this.a/Math.sqrt(1-this.es*f*f),i=m>=.3826834323650898?a/m-y:m<=-.3826834323650898?a/-m-y:x/f+y*(this.es-1),!1===v&&(r=Math.atan(f/m)),e.x=t,e.y=r,e.z=i,e},geocentric_to_wgs84:function(e){if(1===this.datum_type)e.x+=this.datum_params[0],e.y+=this.datum_params[1],e.z+=this.datum_params[2];else if(2===this.datum_type){var t=this.datum_params[0],s=this.datum_params[1],r=this.datum_params[2],i=this.datum_params[3],a=this.datum_params[4],n=this.datum_params[5],o=this.datum_params[6],l=o*(e.x-n*e.y+a*e.z)+t,h=o*(n*e.x+e.y-i*e.z)+s,u=o*(-a*e.x+i*e.y+e.z)+r;e.x=l,e.y=h,e.z=u}},geocentric_from_wgs84:function(e){if(1===this.datum_type)e.x-=this.datum_params[0],e.y-=this.datum_params[1],e.z-=this.datum_params[2];else if(2===this.datum_type){var t=this.datum_params[0],s=this.datum_params[1],r=this.datum_params[2],i=this.datum_params[3],a=this.datum_params[4],n=this.datum_params[5],o=this.datum_params[6],l=(e.x-t)/o,h=(e.y-s)/o,u=(e.z-r)/o;e.x=l+n*h-a*u,e.y=-n*l+h+i*u,e.z=a*l-i*h+u}}},e.exports=r},function(e,t){t.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"},t.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},t.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},t.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"},t.airy={a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},t.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},t.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},t.mod_airy={a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},t.andrae={a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},t.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},t.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},t.bessel={a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},t.bess_nam={a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},t.clrk66={a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},t.clrk80={a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},t.clrk58={a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},t.CPM={a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},t.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},t.engelis={a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},t.evrst30={a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},t.evrst48={a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},t.evrst56={a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},t.evrst69={a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},t.evrstSS={a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},t.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},t.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"},t.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"},t.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"},t.hough={a:6378270,rf:297,ellipseName:"Hough"},t.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},t.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"},t.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"},t.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"},t.new_intl={a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},t.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},t.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},t.SEasia={a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},t.walbeck={a:6376896,b:6355834.8467,ellipseName:"Walbeck"},t.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"},t.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"},t.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"},t.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"},t.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"}},function(e,t){t.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},t.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},t.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},t.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},t.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},t.potsdam={towgs84:"606.0,23.0,413.0",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},t.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},t.hermannskogel={towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"},t.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},t.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},t.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},t.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},t.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},t.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},t.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},t.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"}},function(e,t,s){var r=s(70),i=s(69),a=s(18),n=s(68);e.exports=function(e){if(e.datumCode&&"none"!==e.datumCode){var t=r[e.datumCode];t&&(e.datum_params=t.towgs84?t.towgs84.split(","):null,e.ellps=t.ellipse,e.datumName=t.datumName?t.datumName:e.datumCode)}if(!e.a){var s=i[e.ellps]?i[e.ellps]:i.WGS84;a(e,s)}return e.rf&&!e.b&&(e.b=(1-1/e.rf)*e.a),(0===e.rf||Math.abs(e.a-e.b)<1e-10)&&(e.sphere=!0,e.b=e.a),e.a2=e.a*e.a,e.b2=e.b*e.b,e.es=(e.a2-e.b2)/e.a2,e.e=Math.sqrt(e.es),e.R_A&&(e.a*=1-e.es*(.16666666666666666+e.es*(.04722222222222222+.022156084656084655*e.es)),e.a2=e.a*e.a,e.b2=e.b*e.b,e.es=0),e.ep2=(e.a2-e.b2)/e.b2,e.k0||(e.k0=1),e.axis||(e.axis="enu"),e.datum||(e.datum=n(e)),e}},function(e,t){function s(e){return e}t.init=function(){},t.forward=s,t.inverse=s,t.names=["longlat","identity"]},function(e,t,s){var r=s(3),i=Math.PI/2,a=57.29577951308232,n=s(1),o=Math.PI/4,l=s(12),h=s(11);t.init=function(){var e=this.b/this.a;this.es=1-e*e,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=r(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)},t.forward=function(e){var t,s,r=e.x,h=e.y;if(h*a>90&&h*a<-90&&r*a>180&&r*a<-180)return null;if(Math.abs(Math.abs(h)-i)<=1e-10)return null;if(this.sphere)t=this.x0+this.a*this.k0*n(r-this.long0),s=this.y0+this.a*this.k0*Math.log(Math.tan(o+.5*h));else{var u=Math.sin(h),c=l(this.e,h,u);t=this.x0+this.a*this.k0*n(r-this.long0),s=this.y0-this.a*this.k0*Math.log(c)}return e.x=t,e.y=s,e},t.inverse=function(e){var t,s,r=e.x-this.x0,a=e.y-this.y0;if(this.sphere)s=i-2*Math.atan(Math.exp(-a/(this.a*this.k0)));else{var o=Math.exp(-a/(this.a*this.k0));if(-9999===(s=h(this.e,o)))return null}return t=n(this.long0+r/(this.a*this.k0)),e.x=t,e.y=s,e},t.names=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},function(e,t,s){var r=[s(73),s(72)],i={},a=[];function n(e,t){var s=a.length;return e.names?(a[s]=e,e.names.forEach(function(e){i[e.toLowerCase()]=s}),this):(console.log(t),!0)}t.add=n,t.get=function(e){if(!e)return!1;var t=e.toLowerCase();return void 0!==i[t]&&a[i[t]]?a[i[t]]:void 0},t.start=function(){r.forEach(n)}},function(e,t){t.ft={to_meter:.3048},t["us-ft"]={to_meter:1200/3937}},function(e,t){t.greenwich=0,t.lisbon=-9.131906111111,t.paris=2.337229166667,t.bogota=-74.080916666667,t.madrid=-3.687938888889,t.rome=12.452333333333,t.bern=7.439583333333,t.jakarta=106.807719444444,t.ferro=-17.666666666667,t.brussels=4.367975,t.stockholm=18.058277777778,t.athens=23.7163375,t.oslo=10.722916666667},function(e,t){e.exports=function(e){e("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),e("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),e("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),e.WGS84=e["EPSG:4326"],e["EPSG:3785"]=e["EPSG:3857"],e.GOOGLE=e["EPSG:3857"],e["EPSG:900913"]=e["EPSG:3857"],e["EPSG:102113"]=e["EPSG:3857"]}},function(e,t,s){var r=s(31),i=s(29),a=s(30);e.exports=function(e){return function(e){return"string"==typeof e}(e)?function(e){return e in r}(e)?r[e]:function(e){return["GEOGCS","GEOCCS","PROJCS","LOCAL_CS"].reduce(function(t,s){return t+1+e.indexOf(s)},0)}(e)?i(e):function(e){return"+"===e[0]}(e)?a(e):void 0:e}},function(e,t,s){var r=s(19),i=s(28),a=r("WGS84");function n(e,t,s){var r;return Array.isArray(s)?(r=i(e,t,s),3===s.length?[r.x,r.y,r.z]:[r.x,r.y]):i(e,t,s)}function o(e){return e instanceof r?e:e.oProj?e.oProj:r(e)}e.exports=function(e,t,s){e=o(e);var r,i=!1;return void 0===t?(t=e,e=a,i=!0):(void 0!==t.x||Array.isArray(t))&&(s=t,t=e,e=a,i=!0),t=o(t),s?n(e,t,s):(r={forward:function(s){return n(e,t,s)},inverse:function(s){return n(t,e,s)}},i&&(r.oProj=t),r)}},function(e,t){function s(e){return Object.prototype.toString.call(e)}function r(e){return"[object String]"===s(e)}e.exports={getObjectType:s,isDate:function(e){return"[object Date]"===s(e)},isString:r,isDateString:function(e){return r(e)&&!isNaN(Date.parse(e))},parseDateFromString:function(e){return Date.parse(e)},isNumber:function(e){return"number"==typeof e}}},function(e,t){!function(t){"use strict";if(t.__disableNativeFetch||!t.fetch){o.prototype.append=function(e,t){e=a(e),t=n(t);var s=this.map[e];s||(s=[],this.map[e]=s),s.push(t)},o.prototype.delete=function(e){delete this.map[a(e)]},o.prototype.get=function(e){var t=this.map[a(e)];return t?t[0]:null},o.prototype.getAll=function(e){return this.map[a(e)]||[]},o.prototype.has=function(e){return this.map.hasOwnProperty(a(e))},o.prototype.set=function(e,t){this.map[a(e)]=[n(t)]},o.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(s){this.map[s].forEach(function(r){e.call(t,r,s,this)},this)},this)};var s={blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t},r=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this)},c.call(p.prototype),c.call(f.prototype),f.prototype.clone=function(){return new f(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},f.error=function(){var e=new f(null,{status:0,statusText:""});return e.type="error",e};var i=[301,302,303,307,308];f.redirect=function(e,t){if(-1===i.indexOf(t))throw new RangeError("Invalid status code");return new f(null,{status:t,headers:{location:e}})},t.Headers=o,t.Request=p,t.Response=f,t.fetch=function(e,t){return new Promise(function(r,i){var a;a=p.prototype.isPrototypeOf(e)&&!t?e:new p(e,t);var n=new XMLHttpRequest;var l=!1;function h(){if(4===n.readyState){var e=1223===n.status?204:n.status;if(e<100||e>599){if(l)return;return l=!0,void i(new TypeError("Network request failed"))}var t={status:e,statusText:n.statusText,headers:function(e){var t=new o;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var s=e.trim().split(":"),r=s.shift().trim(),i=s.join(":").trim();t.append(r,i)}),t}(n),url:"responseURL"in n?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):void 0},s="response"in n?n.response:n.responseText;l||(l=!0,r(new f(s,t)))}}n.onreadystatechange=h,n.onload=h,n.onerror=function(){l||(l=!0,i(new TypeError("Network request failed")))},n.open(a.method,a.url,!0);try{"include"===a.credentials&&("withCredentials"in n?n.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(e){console&&console.warn&&console.warn("set withCredentials error:"+e)}"responseType"in n&&s.blob&&(n.responseType="blob"),a.headers.forEach(function(e,t){n.setRequestHeader(t,e)}),n.send(void 0===a._bodyInit?null:a._bodyInit)})},t.fetch.polyfill=!0,void 0!==e&&e.exports&&(e.exports=t.fetch)}function a(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function l(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,s){e.onload=function(){t(e.result)},e.onerror=function(){s(e.error)}})}function u(e){var t=new FileReader;return t.readAsArrayBuffer(e),h(t)}function c(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(s.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(s.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!s.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},s.blob?(this.blob=function(){var e=l(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(u)},this.text=function(){var e,t,s,r,i,a,n,o=l(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=this._options,s=new FileReader,r=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",i=/charset\=[0-9a-zA-Z\-\_]*;?/,a=e.type.match(i)||r.match(i),n=[e],a&&n.push(a[0].replace(/^charset\=/,"").replace(/;$/,"")),s.readAsText.apply(s,n),h(s);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=l(this);return e||Promise.resolve(this._bodyText)},s.formData&&(this.formData=function(){return this.text().then(d)}),this.json=function(){return this.text().then(JSON.parse)},this}function p(e,t){var s,i,a=(t=t||{}).body;if(p.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,a||(a=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=(s=t.method||this.method||"GET",i=s.toUpperCase(),r.indexOf(i)>-1?i:s),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(a,t)}function d(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var s=e.split("="),r=s.shift().replace(/\+/g," "),i=s.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function f(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof o?t.headers:new o(t.headers),this.url=t.url||""}}("undefined"!=typeof self?self:this)},function(e,t){var s,r,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function o(e){if(s===setTimeout)return setTimeout(e,0);if((s===a||!s)&&setTimeout)return s=setTimeout,setTimeout(e,0);try{return s(e,0)}catch(t){try{return s.call(null,e,0)}catch(t){return s.call(this,e,0)}}}!function(){try{s="function"==typeof setTimeout?setTimeout:a}catch(e){s=a}try{r="function"==typeof clearTimeout?clearTimeout:n}catch(e){r=n}}();var l,h=[],u=!1,c=-1;function p(){u&&l&&(u=!1,l.length?h=l.concat(h):c=-1,h.length&&d())}function d(){if(!u){var e=o(p);u=!0;for(var t=h.length;t;){for(l=h,h=[];++c1)for(var s=1;s=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},s(83),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,s(20))},function(e,t,s){s(36),e.exports=s(35)},function(e,t){},,,,,,,function(e,t){}]); \ No newline at end of file diff --git a/dist/openlayers/iclient9-openlayers.css b/dist/openlayers/iclient9-openlayers.css index a260c6d6d6..34c2e539a5 100644 --- a/dist/openlayers/iclient9-openlayers.css +++ b/dist/openlayers/iclient9-openlayers.css @@ -3,7 +3,7 @@ * iclient9-openlayers.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */ @font-face { diff --git a/dist/openlayers/iclient9-openlayers.js b/dist/openlayers/iclient9-openlayers.js index 36fb390da1..7059004cab 100644 --- a/dist/openlayers/iclient9-openlayers.js +++ b/dist/openlayers/iclient9-openlayers.js @@ -3,7 +3,7 @@ * iclient9-openlayers.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */ /******/ (function(modules) { // webpackBootstrap diff --git a/dist/openlayers/iclient9-openlayers.min.css b/dist/openlayers/iclient9-openlayers.min.css index 712c891ec0..71d4a24c45 100644 --- a/dist/openlayers/iclient9-openlayers.min.css +++ b/dist/openlayers/iclient9-openlayers.min.css @@ -3,6 +3,6 @@ * iclient9-openlayers.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */@font-face{font-family:supermapol-icons;src:url(data:application/vnd.ms-fontobject;base64,qFEAAOBQAAABAAIAAAAAAAAAAAAAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAA5WrGjQAAAAAAAAAAAAAAAAAAAAAAACAAcwB1AHAAZQByAG0AYQBwAG8AbAAtAGkAYwBvAG4AcwAAAA4AUgBlAGcAdQBsAGEAcgAAABYAVgBlAHIAcwBpAG8AbgAgADMALgA4AAAAIABzAHUAcABlAHIAbQBhAHAAbwBsAC0AaQBjAG8AbgBzAAAAAAAAAQAAAAsAgAADADBPUy8yDxIGxQAAALwAAABgY21hcBdW0xIAAAEcAAAAVGdhc3AAAAAQAAABcAAAAAhnbHlmdeYTjwAAAXgAAEl0aGVhZA/ijoIAAErsAAAANmhoZWEJSgXnAABLJAAAACRobXR4QQVEjAAAS0gAAAJAbG9jYeYq03gAAE2IAAABIm1heHAAogD4AABOrAAAACBuYW1l+uYTjQAATswAAAHycG9zdAADAAAAAFDAAAAAIAADBBABkAAFAAACmQLMAAAAjwKZAswAAAHrADMBCQAAAAAAAAAAAAAAAAAAAAEQAAAAAAAAAAAAAAAAAAAAAEAAAOmLA8D/wABAA8AAQAAAAAEAAAAAAAAAAAAAACAAAAAAAAMAAAADAAAAHAABAAMAAAAcAAMAAQAAABwABAA4AAAACgAIAAIAAgABACDpi//9//8AAAAAACDpAP/9//8AAf/jFwQAAwABAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAMAhgBNA3oDMwAOABoAHgAAASEiBhURFBYzITI2NREnAyImNTQ2MzIWFRQGEy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AgNzUuNjM3LTMzLjg2MyA3NS42MzctNzUuNjM3di03NS42MzdjMC00MS43NzQtMzMuODYzLTc1LjYzNy03NS42MzctNzUuNjM3aC05MDcuNjM3Yy00MS43NzQgMC03NS42MzcgMzMuODYzLTc1LjYzNyA3NS42Mzd2NzUuNjM3YzAgNDEuNzc0IDMzLjg2MyA3NS42MzcgNzUuNjM3IDc1LjYzN3Ywek05NTQuMTU3IDM3Mi4zNjNjNDEuNzc0IDAgNzUuNjM3IDMzLjg2MyA3NS42MzcgNzUuNjM3cy0zMy44NjMgNzUuNjM3LTc1LjYzNyA3NS42MzdjLTQxLjc3NCAwLTc1LjYzNy0zMy44NjMtNzUuNjM3LTc1LjYzN3MzMy44NjMtNzUuNjM3IDc1LjYzNy03NS42Mzd6TTE5Ny43OTIgMjU4LjkwOGg5MDcuNjM3YzQxLjc3NCAwIDc1LjYzNy0zMy44NjMgNzUuNjM3LTc1LjYzN3YtNzUuNjM3YzAtNDEuNzc0LTMzLjg2My03NS42MzctNzUuNjM3LTc1LjYzN2gtOTA3LjYzN2MtNDEuNzc0IDAtNzUuNjM3IDMzLjg2My03NS42MzcgNzUuNjM3djc1LjYzN2MwIDQxLjc3NCAzMy44NjMgNzUuNjM3IDc1LjYzNyA3NS42Mzd2MHpNOTU0LjE1NyA2OS44MThjNDEuNzc0IDAgNzUuNjM3IDMzLjg2MyA3NS42MzcgNzUuNjM3cy0zMy44NjMgNzUuNjM3LTc1LjYzNyA3NS42MzdjLTQxLjc3NCAwLTc1LjYzNy0zMy44NjMtNzUuNjM3LTc1LjYzN3MzMy44NjMtNzUuNjM3IDc1LjYzNy03NS42Mzd6IiAvPg0KPC9mb250PjwvZGVmcz48L3N2Zz4=#supermapol-icons) format('svg');font-weight:400;font-style:normal}[class*=" supermapol-icons-"],[class^=supermapol-icons-]{font-family:supermapol-icons,sans-serif!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.supermapol-icons-material_design_beenhere:before{content:"\E958"}.supermapol-icons-material_design_directions:before{content:"\E959"}.supermapol-icons-material_design_directions_bike:before{content:"\E95A"}.supermapol-icons-material_design_directions_bus:before{content:"\E95B"}.supermapol-icons-material_design_directions_car:before{content:"\E95C"}.supermapol-icons-material_design_directions_ferry:before{content:"\E95D"}.supermapol-icons-material_design_directions_train:before{content:"\E95E"}.supermapol-icons-material_design_directions_transit:before{content:"\E95F"}.supermapol-icons-material_design_directions_walk:before{content:"\E960"}.supermapol-icons-material_design_flight:before{content:"\E961"}.supermapol-icons-material_design_hotel:before{content:"\E962"}.supermapol-icons-material_design_local_airport:before{content:"\E963"}.supermapol-icons-material_design_local_atm:before{content:"\E964"}.supermapol-icons-material_design_local_attraction:before{content:"\E965"}.supermapol-icons-material_design_local_bar:before{content:"\E966"}.supermapol-icons-material_design_local_cafe:before{content:"\E967"}.supermapol-icons-material_design_local_car_wash:before{content:"\E968"}.supermapol-icons-material_design_local_convenience_store:before{content:"\E969"}.supermapol-icons-material_design_local_drink:before{content:"\E96A"}.supermapol-icons-material_design_local_florist:before{content:"\E96B"}.supermapol-icons-material_design_local_gas_station:before{content:"\E96C"}.supermapol-icons-material_design_local_grocery_store:before{content:"\E96D"}.supermapol-icons-material_design_local_hospital:before{content:"\E96E"}.supermapol-icons-material_design_local_laundry_service:before{content:"\E96F"}.supermapol-icons-material_design_local_library:before{content:"\E970"}.supermapol-icons-material_design_local_mall:before{content:"\E971"}.supermapol-icons-material_design_local_movies:before{content:"\E972"}.supermapol-icons-material_design_local_offer:before{content:"\E973"}.supermapol-icons-material_design_local_parking:before{content:"\E974"}.supermapol-icons-material_design_local_pharmacy:before{content:"\E975"}.supermapol-icons-material_design_local_phone:before{content:"\E976"}.supermapol-icons-material_design_local_pizza:before{content:"\E977"}.supermapol-icons-material_design_local_play:before{content:"\E978"}.supermapol-icons-material_design_local_post_office:before{content:"\E979"}.supermapol-icons-material_design_local_print_shop:before{content:"\E97A"}.supermapol-icons-material_design_local_restaurant:before{content:"\E97B"}.supermapol-icons-material_design_local_see:before{content:"\E97C"}.supermapol-icons-material_design_local_shipping:before{content:"\E97D"}.supermapol-icons-material_design_local_taxi:before{content:"\E97E"}.supermapol-icons-material_design_location_history:before{content:"\E97F"}.supermapol-icons-material_design_my_location:before{content:"\E980"}.supermapol-icons-material_design_navigation:before{content:"\E981"}.supermapol-icons-material_design_pin_drop:before{content:"\E982"}.supermapol-icons-material_design_place:before{content:"\E983"}.supermapol-icons-material_design_rate_review:before{content:"\E984"}.supermapol-icons-material_design_restaurant_menu:before{content:"\E985"}.supermapol-icons-material_design_satellite:before{content:"\E986"}.supermapol-icons-material_design_store_mall_directory:before{content:"\E987"}.supermapol-icons-material_design_terrain:before{content:"\E988"}.supermapol-icons-material_design_traffic:before{content:"\E989"}.supermapol-icons-server:before{content:"\E98B"}.supermapol-icons-others:before{content:"\E98A"}.supermapol-icons-maps:before{content:"\E954"}.supermapol-icons-new:before{content:"\E955"}.supermapol-icons-feedback:before{content:"\E956"}.supermapol-icons-homepage:before{content:"\E957"}.supermapol-icons-ruler:before{content:"\E950"}.supermapol-icons-menu:before{content:"\E952"}.supermapol-icons-rename:before{content:"\E953"}.supermapol-icons-field:before{content:"\E951"}.supermapol-icons-export:before{content:"\E94D"}.supermapol-icons-zone:before{content:"\E94C"}.supermapol-icons-copy:before{content:"\E94B"}.supermapol-icons-qqblog:before{content:"\E94E"}.supermapol-icons-sina:before{content:"\E94F"}.supermapol-icons-play:before{content:"\E949"}.supermapol-icons-pause:before{content:"\E94A"}.supermapol-icons-search-thin:before{content:"\E948"}.supermapol-icons-layerStyle:before{content:"\E947"}.supermapol-icons-cad:before{content:"\E944"}.supermapol-icons-grid:before{content:"\E945"}.supermapol-icons-image:before{content:"\E946"}.supermapol-icons-eye-closed:before{content:"\E915"}.supermapol-icons-dropdown:before{content:"\E943"}.supermapol-icons-solid-triangle:before{content:"\E941"}.supermapol-icons-eye:before{content:"\E942"}.supermapol-icons-opacity:before{content:"\E940"}.supermapol-icons-table:before{content:"\E93F"}.supermapol-icons-upload:before{content:"\E93D"}.supermapol-icons-solid-point:before{content:"\E93A"}.supermapol-icons-flag:before{content:"\E93B"}.supermapol-icons-target:before{content:"\E93C"}.supermapol-icons-legend:before{content:"\E93E"}.supermapol-icons-select:before{content:"\E939"}.supermapol-icons-logo:before{content:"\E938"}.supermapol-icons-tag:before{content:"\E934"}.supermapol-icons-new_home:before{content:"\E935"}.supermapol-icons-update:before{content:"\E936"}.supermapol-icons-info:before{content:"\E937"}.supermapol-icons-unfold:before{content:"\E930"}.supermapol-icons-fold:before{content:"\E931"}.supermapol-icons-right:before{content:"\E932"}.supermapol-icons-left:before{content:"\E933"}.supermapol-icons-edit:before{content:"\E92C"}.supermapol-icons-home:before{content:"\E92D"}.supermapol-icons-share:before{content:"\E92E"}.supermapol-icons-back:before{content:"\E92F"}.supermapol-icons-rest-api:before{content:"\E929"}.supermapol-icons-javascript-api:before{content:"\E92A"}.supermapol-icons-desktop-dev:before{content:"\E92B"}.supermapol-icons-open:before{content:"\E91F"}.supermapol-icons-overlay:before{content:"\E920"}.supermapol-icons-point-layer:before{content:"\E921"}.supermapol-icons-hamburg:before{content:"\E922"}.supermapol-icons-triangle:before{content:"\E923"}.supermapol-icons-polygon-layer:before{content:"\E924"}.supermapol-icons-close:before{content:"\E925"}.supermapol-icons-add:before{content:"\E926"}.supermapol-icons-more:before{content:"\E927"}.supermapol-icons-line-layer:before{content:"\E928"}.supermapol-icons-polygon:before{content:"\E91E"}.supermapol-icons-triangle-old:before{content:"\E910";color:#474747}.supermapol-icons-save:before{content:"\E900"}.supermapol-icons-baselayer:before{content:"\E901"}.supermapol-icons-marker:before{content:"\E902"}.supermapol-icons-uncheck:before{content:"\E903"}.supermapol-icons-checked:before{content:"\E904"}.supermapol-icons-zoom-in:before{content:"\E905"}.supermapol-icons-clear:before{content:"\E906"}.supermapol-icons-setting:before{content:"\E907"}.supermapol-icons-zoom-to:before{content:"\E908"}.supermapol-icons-default-layer:before{content:"\E909"}.supermapol-icons-group:before{content:"\E90A"}.supermapol-icons-delete:before{content:"\E90B"}.supermapol-icons-up:before{content:"\E90C"}.supermapol-icons-warning:before{content:"\E90D"}.supermapol-icons-retract:before{content:"\E90E"}.supermapol-icons-search:before{content:"\E90F"}.supermapol-icons-zoom-out:before{content:"\E911"}.supermapol-icons-layers:before{content:"\E912"}.supermapol-icons-add-old:before{content:"\E913"}.supermapol-icons-brush:before{content:"\E914"}.supermapol-icons-down:before{content:"\E916"}.supermapol-icons-line:before{content:"\E917"}.supermapol-icons-pen:before{content:"\E918"}.supermapol-icons-user:before{content:"\E919"}.supermapol-icons-down-end:before{content:"\E91A"}.supermapol-icons-up-end:before{content:"\E91B"}.supermapol-icons-text:before{content:"\E91C"}.supermapol-icons-customize:before{content:"\E91D"}.ol-control-ctv{top:5.5em;left:.5em;border-radius:2px}button.ol-control-ctv-toggle{width:26px;height:26px;background-position:50% 50%;background-repeat:no-repeat;display:block;line-height:26px!important;text-align:center;text-decoration:none;font-size:1em}.ol-control-ctv p.ol-control-ctv-value{line-height:26px;text-align:center;text-decoration:none;font-weight:700;color:#fff;background-color:rgba(0,60,136,.5);border:none;border-radius:2px;font-size:.8em;display:none;overflow:hidden;text-overflow:ellipsis}.ol-control-ctv.ol-control-ctv-horizontal p.ol-control-ctv-value{line-height:26px;height:26px;padding:0 4px;margin:0;border-right:1px solid #ccc;min-width:35px;max-width:100px;float:left;clear:none;white-space:nowrap}.ol-control-ctv.ol-control-ctv-vertical p.ol-control-ctv-value{min-height:28px;max-height:100px;line-height:26px;margin:0 0 2px 0;border-bottom:1px solid #ccc;width:28px;white-space:pre-wrap}.ol-control-ctv.ol-control-ctv-horizontal .ol-ctv-slider-main{display:inline}.ol-control-ctv.ol-control-ctv-vertical .ol-ctv-slider-main{display:block}.ol-control-ctv .ol-ctv-slider-container,.ol-control-ctv input.ol-ctv-slider{display:none;padding:0}.ol-control-ctv.ol-control-ctv-horizontal .ol-ctv-slider-container{float:right;clear:none;width:90%;height:24px}.ol-control-ctv.ol-control-ctv-horizontal input.ol-ctv-slider{height:24px}.ol-control-ctv.ol-control-ctv-vertical input.ol-ctv-slider{writing-mode:bt-lr;width:24px;height:100%}.ol-control-ctv.ol-control-ctv-expanded p.ol-control-ctv-value{display:block}.ol-control-ctv.ol-control-ctv-expanded button.ol-control-ctv-toggle{display:none}.ol-control-ctv.ol-control-ctv-expanded .ol-ctv-slider-container,.ol-control-ctv.ol-control-ctv-expanded input.ol-ctv-slider{display:inherit}.ol-control-ctv.ol-control-ctv-vertical .ol-ctv-slider-container{width:28px;transform:rotate(180deg);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg)}.ol-control-ctv.ol-control-ctv-vertical .ol-ctv-slider-container{margin:10px 0}.ol-control-ctv.ol-control-ctv-vertical.ol-control-ctv-incdec .ol-ctv-slider-container{margin:0 0}.ol-control-ctv input[type=range]{-webkit-appearance:none;width:100%}.ol-control-ctv input[type=range]:focus{outline:0}.ol-control-ctv input[type=range]::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0);background:#ddd;border-radius:25px;border:0 solid transparent}.ol-control-ctv input[type=range]::-webkit-slider-thumb{box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0);border:0 solid transparent;height:16px;width:16px;border-radius:8px;background:#a4a4a4;cursor:pointer;-webkit-appearance:none;margin-top:-5.5px}.ol-control-ctv input[type=range]:focus::-webkit-slider-runnable-track{background:#eaeaea}.ol-control-ctv input[type=range]::-moz-range-track{width:100%;height:5px;cursor:pointer;box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0);background:#ddd;border-radius:25px;border:0 solid transparent}.ol-control-ctv input[type=range]::-moz-range-thumb{box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0);border:0 solid transparent;height:16px;width:16px;border-radius:8px;background:#a4a4a4;cursor:pointer}.ol-control-ctv input[type=range]::-ms-track{width:100%;height:5px;cursor:pointer;background:0 0;border-color:transparent;color:transparent}.ol-control-ctv input[type=range]::-ms-fill-lower{background:#d0d0d0;border:0 solid transparent;border-radius:50px;box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0)}.ol-control-ctv input[type=range]::-ms-fill-upper{background:#ddd;border:0 solid transparent;border-radius:50px;box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0)}.ol-control-ctv input[type=range]::-ms-thumb{box-shadow:0 0 0 transparent,0 0 0 rgba(13,13,13,0);border:0 solid transparent;width:16px;border-radius:8px;background:#a4a4a4;cursor:pointer;height:5px}.ol-control-ctv input[type=range]:focus::-ms-fill-lower{background:#ddd}.ol-control-ctv input[type=range]:focus::-ms-fill-upper{background:#eaeaea}.ol-control-ctv.ol-control-ctv-vertical input[type=range]::-moz-range-track{height:100%;width:5px}.ol-ctv-slider-last,.ol-ctv-slider-next{width:26px;height:26px;background-position:50% 50%;background-repeat:no-repeat;background-color:#fff;line-height:26px!important;font-weight:bolder;text-align:center;vertical-align:middle;text-decoration:none;color:#000;font-size:1.3em;display:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ol-control-ctv.ol-control-ctv-expanded{box-shadow:0 0 .1px rgba(0,0,0,.2)}.ol-control-ctv.ol-control-ctv-expanded .ol-ctv-slider-last,.ol-control-ctv.ol-control-ctv-expanded .ol-ctv-slider-next{display:block}.ol-control-ctv.ol-control-ctv-horizontal .ol-ctv-slider-last,.ol-control-ctv.ol-control-ctv-horizontal .ol-ctv-slider-next{float:right}.ol-control-ctv input[type=range]::-moz-focus-outer{border:0}.ol-ctv-slider-incdec{cursor:pointer}@media screen and (-webkit-min-device-pixel-ratio:0){.ol-control-ctv.ol-control-ctv-vertical input[type=range]{transform-origin:10px 17px;-webkit-transform-origin:10px 17px;-moz-transform-origin:10px 17px;transform:rotate(90deg);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);height:28px}}.ol-control-ctv .tooltip .tooltip-text{display:none;width:120px;background-color:#000;color:#fff;text-align:center;border-radius:6px;padding:2px 0;position:absolute;z-index:1}.ol-control-ctv .tooltip .tooltip-text::after{content:"";position:absolute;margin-left:-5px;border-width:5px;border-style:solid}.ol-control-ctv.ol-control-ctv-horizontal .tooltip .tooltip-text.tooltip-bottom{top:120%;left:50%;margin-left:-60px}.ol-control-ctv.ol-control-ctv-horizontal .tooltip .tooltip-text.tooltip-bottom::after{bottom:100%;left:50%;border-color:transparent transparent #000 transparent}.ol-control-ctv.ol-control-ctv-horizontal .tooltip .tooltip-text.tooltip-top{bottom:120%;left:50%;margin-left:-60px}.ol-control-ctv.ol-control-ctv-horizontal .tooltip .tooltip-text.tooltip-top::after{top:100%;left:50%;border-color:#000 transparent transparent transparent}.ol-control-ctv.ol-control-ctv-vertical .tooltip .tooltip-text.tooltip-right{top:50%;left:120%}.ol-control-ctv.ol-control-ctv-vertical .tooltip .tooltip-text.tooltip-right::after{top:33%;right:100%;border-color:transparent #000 transparent transparent}.ol-control-ctv.ol-control-ctv-vertical .tooltip .tooltip-text.tooltip-left{top:50%;right:110%}.ol-control-ctv.ol-control-ctv-vertical .tooltip .tooltip-text.tooltip-left::after{top:33%;left:104%;border-color:transparent transparent transparent #000}.ol-control-ctv.ol-control-ctv-horizontal .tooltip:hover .tooltip-text,.ol-control-ctv.ol-control-ctv-vertical .tooltip:hover .tooltip-text{display:block} \ No newline at end of file diff --git a/dist/openlayers/iclient9-openlayers.min.js b/dist/openlayers/iclient9-openlayers.min.js index 8911ae0eee..680dd1ff1c 100644 --- a/dist/openlayers/iclient9-openlayers.min.js +++ b/dist/openlayers/iclient9-openlayers.min.js @@ -3,6 +3,6 @@ * iclient9-openlayers.(http://iclient.supermap.io) * Copyright© 2000 - 2018 SuperMap Software Co.Ltd * license: Apache-2.0 - * version: v9.1.0 + * version: v9.1.0-alpha * */!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=500)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SuperMap=window.SuperMap=window.SuperMap||{}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Util=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(0);r(58);var o,a,s;t.Util=i.SuperMap.Util=i.SuperMap.Util||{};i.SuperMap.Util.extend=function(e,t){if(e=e||{},t){for(var r in t){var n=t[r];void 0!==n&&(e[r]=n)}!("function"==typeof window.Event&&t instanceof window.Event)&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&(e.toString=t.toString)}return e},i.SuperMap.Util.copy=function(e,t){var r;if(e=e||{},t)for(var n in e)void 0!==(r=t[n])&&(e[n]=r)},i.SuperMap.Util.reset=function(e){for(var t in e=e||{})if(e.hasOwnProperty(t)){if("object"===n(e[t])&&e[t]instanceof Array){for(var r in e[t])e[t][r].destroy&&e[t][r].destroy();e[t].length=0}else"object"===n(e[t])&&e[t]instanceof Object&&e[t].destroy&&e[t].destroy();e[t]=null}},i.SuperMap.Util.getElement=function(){for(var e=[],t=0,r=arguments.length;t=0;r--)e[r]===t&&e.splice(r,1);return e},i.SuperMap.Util.indexOf=function(e,t){if(null==e)return-1;if("function"==typeof e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r=0&&parseFloat(s)<1?(e.style.filter="alpha(opacity="+100*s+")",e.style.opacity=s):1===parseFloat(s)&&(e.style.filter="",e.style.opacity="")},i.SuperMap.Util.applyDefaults=function(e,t){e=e||{};var r="function"==typeof window.Event&&t instanceof window.Event;for(var n in t)(void 0===e[n]||!r&&t.hasOwnProperty&&t.hasOwnProperty(n)&&!e.hasOwnProperty(n))&&(e[n]=t[n]);return!r&&t&&t.hasOwnProperty&&t.hasOwnProperty("toString")&&!e.hasOwnProperty("toString")&&(e.toString=t.toString),e},i.SuperMap.Util.getParameterString=function(e){var t=[];for(var r in e){var i=e[r];if(null!=i&&"function"!=typeof i){var o;if("object"===(void 0===i?"undefined":n(i))&&i.constructor===Array){for(var a,s=[],l=0,u=i.length;l1?1/e:e},i.SuperMap.Util.getResolutionFromScale=function(e,t){var r;e&&(null==t&&(t="degrees"),r=1/(i.SuperMap.Util.normalizeScale(e)*i.SuperMap.INCHES_PER_UNIT[t]*i.SuperMap.DOTS_PER_INCH));return r},i.SuperMap.Util.getScaleFromResolution=function(e,t){return null==t&&(t="degrees"),e*i.SuperMap.INCHES_PER_UNIT[t]*i.SuperMap.DOTS_PER_INCH},i.SuperMap.IS_GECKO=-1===(o=navigator.userAgent.toLowerCase()).indexOf("webkit")&&-1!==o.indexOf("gecko"),i.SuperMap.Browser=function(){var e,t="",r="",n="pc",i=navigator.userAgent.toLowerCase();return i.indexOf("msie")>-1||i.indexOf("trident")>-1&&i.indexOf("rv")>-1?(t="msie",e=i.match(/msie ([\d.]+)/)||i.match(/rv:([\d.]+)/)):i.indexOf("chrome")>-1?(t="chrome",e=i.match(/chrome\/([\d.]+)/)):i.indexOf("firefox")>-1?(t="firefox",e=i.match(/firefox\/([\d.]+)/)):i.indexOf("opera")>-1?(t="opera",e=i.match(/version\/([\d.]+)/)):i.indexOf("safari")>-1&&(t="safari",e=i.match(/version\/([\d.]+)/)),r=e?e[1]:"",i.indexOf("ipad")>-1||i.indexOf("ipod")>-1||i.indexOf("iphone")>-1?n="apple":i.indexOf("android")>-1&&(r=(e=i.match(/version\/([\d.]+)/))?e[1]:"",n="android"),{name:t,version:r,device:n}}(),i.SuperMap.Util.getBrowser=function(){return i.SuperMap.Browser},i.SuperMap.Util.isSupportCanvas=(a=!0,s=i.SuperMap.Util.getBrowser(),document.createElement("canvas").getContext?("firefox"===s.name&&parseFloat(s.version)<5&&(a=!1),"safari"===s.name&&parseFloat(s.version)<4&&(a=!1),"opera"===s.name&&parseFloat(s.version)<10&&(a=!1),"msie"===s.name&&parseFloat(s.version)<9&&(a=!1)):a=!1,a),i.SuperMap.Util.supportCanvas=function(){return i.SuperMap.Util.isSupportCanvas},i.SuperMap.INCHES_PER_UNIT.degree=i.SuperMap.INCHES_PER_UNIT.dd,i.SuperMap.INCHES_PER_UNIT.meter=i.SuperMap.INCHES_PER_UNIT.m,i.SuperMap.INCHES_PER_UNIT.foot=i.SuperMap.INCHES_PER_UNIT.ft,i.SuperMap.INCHES_PER_UNIT.inch=i.SuperMap.INCHES_PER_UNIT.inches,i.SuperMap.INCHES_PER_UNIT.mile=i.SuperMap.INCHES_PER_UNIT.mi,i.SuperMap.INCHES_PER_UNIT.kilometer=i.SuperMap.INCHES_PER_UNIT.km,i.SuperMap.INCHES_PER_UNIT.yard=i.SuperMap.INCHES_PER_UNIT.yd,i.SuperMap.Util.isInTheSameDomain=function(e){if(!e)return!0;var t=e.indexOf("//"),r=document.location.toString(),n=r.indexOf("//");if(-1===t)return!0;var i,o=i=e.substring(0,t),a=r.substring(n+2);n=a.indexOf("/");var s=a.indexOf(":"),l=a.substring(0,n),u=document.location.protocol;if(-1!==s||(l+=":"+("http:"===u.toLowerCase()?80:443)),u.toLowerCase()!==o.toLowerCase())return!1;var c=(o=e.substring(t+2)).indexOf(":");t=o.indexOf("/");var p,f=o.substring(0,t);return-1!==c?p=o.substring(0,c):(p=o.substring(0,t),f+=":"+("http:"===i.toLowerCase()?80:443)),p===document.domain&&f===l},i.SuperMap.Util.calculateDpi=function(e,t,r,n,i){if(e&&t&&r){var o,a=e.getWidth(),s=e.getHeight(),l=t.w,u=t.h;if(i=i||6378137,"degree"===(n=n||"degrees").toLowerCase()||"degrees"===n.toLowerCase()||"dd"===n.toLowerCase()){var c=a/l,p=s/u;o=254/(c>p?c:p)/r/(2*Math.PI*i/360)/1e4}else{o=254/(a/l)/r/1e4}return o}},i.SuperMap.Util.toJSON=function(e){var t=e;if(null==t)return null;switch(t.constructor){case String:return t=(t=(t=(t=(t=(t=(t='"'+t.replace(/(["\\])/g,"\\$1")+'"').replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace("<","<")).replace(">",">")).replace(/%/g,"%25")).replace(/&/g,"%26");case Array:for(var r=[],o=0,a=t.length;o0?"{"+c.join(",")+"}":"{}"}return t.toString()}},i.SuperMap.Util.getResolutionFromScaleDpi=function(e,t,r,n){return n=n||6378137,r=r||"",e>0&&t>0?(e=i.SuperMap.Util.normalizeScale(e),"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*n/360)/1e4:254/t/e/1e4):-1},i.SuperMap.Util.getScaleFromResolutionDpi=function(e,t,r,n){return n=n||6378137,r=r||"",e>0&&t>0?"degree"===r.toLowerCase()||"degrees"===r.toLowerCase()||"dd"===r.toLowerCase()?254/t/e/(2*Math.PI*n/360)/1e4:254/t/e/1e4:-1},i.SuperMap.Util.transformResult=function(e){return e.responseText&&"string"==typeof e.responseText&&(e=JSON.parse(e.responseText)),e},i.SuperMap.Util.copyAttributes=function(e,t){if(e=e||{},t)for(var r in t){var n=t[r];void 0!==n&&"CLASS_NAME"!==r&&"function"!=typeof n&&(e[r]=n)}return e},i.SuperMap.Util.copyAttributesWithClip=function(e,t,r){if(e=e||{},t)for(var n in t){var i=!1;if(r&&r.length)for(var o=0,a=r.length;o=0&&a<=1&&o<=1&&a>=0?new i.SuperMap.Geometry.Point(e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)):"No Intersection";else if(0==l&&0==u){var p=Math.max(e.y,t.y),f=Math.min(e.y,t.y),h=Math.max(e.x,t.x),y=Math.min(e.x,t.x);s=(r.y>=f&&r.y<=p||n.y>=f&&n.y<=p)&&r.x>=y&&r.x<=h||n.x>=y&&n.x<=h?"Coincident":"Parallel"}else s="Parallel";return s},i.SuperMap.Util.getTextBounds=function(e,t,r){document.body.appendChild(r),r.style.width="auto",r.style.height="auto",e.fontSize&&(r.style.fontSize=e.fontSize),e.fontFamily&&(r.style.fontFamily=e.fontFamily),e.fontWeight&&(r.style.fontWeight=e.fontWeight),r.style.position="relative",r.style.visibility="hidden",r.style.display="inline-block",r.innerHTML=t;var n=r.clientWidth,i=r.clientHeight;return document.body.removeChild(r),{textWidth:n,textHeight:i}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AggregationQueryBuilderType=t.AggregationType=t.TopologyValidatorRule=t.SummaryType=t.StatisticAnalystMode=t.AnalystSizeUnit=t.AnalystAreaUnit=t.ClipAnalystMode=t.ChartType=t.ClientType=t.Exponent=t.VariogramMode=t.InterpolationAlgorithmType=t.SearchMode=t.PixelFormat=t.StatisticMode=t.UGCLayerType=t.LayerType=t.ColorSpaceType=t.GridType=t.TransferPreference=t.TransferTactic=t.EditType=t.DataReturnMode=t.SurfaceAnalystMethod=t.SmoothMethod=t.OutputType=t.OverlayOperationType=t.BufferEndType=t.TurnType=t.SupplyCenterType=t.SideType=t.DirectionType=t.LabelOverLengthMode=t.LabelBackShape=t.AlongLineDirection=t.FillGradientMode=t.TextAlignment=t.ColorGradientType=t.ThemeType=t.RangeMode=t.GraduatedMode=t.GraphAxesTextDisplayMode=t.ThemeGraphType=t.ThemeGraphTextFormat=t.EngineType=t.BufferRadiusUnit=t.Unit=t.MeasureMode=t.SpatialRelationType=t.SpatialQueryMode=t.JoinType=t.QueryOption=t.GeometryType=t.ServerType=t.DataFormat=void 0;var n=r(0),i=n.SuperMap.DataFormat={GEOJSON:"GEOJSON",ISERVER:"ISERVER"};t.DataFormat=i;var o=n.SuperMap.ServerType={ISERVER:"ISERVER",IPORTAL:"IPORTAL",ONLINE:"ONLINE"};t.ServerType=o;var a=n.SuperMap.GeometryType={LINE:"LINE",LINEM:"LINEM",POINT:"POINT",REGION:"REGION",ELLIPSE:"ELLIPSE",CIRCLE:"CIRCLE",TEXT:"TEXT",RECTANGLE:"RECTANGLE",UNKNOWN:"UNKNOWN"};t.GeometryType=a;var s=n.SuperMap.QueryOption={ATTRIBUTE:"ATTRIBUTE",ATTRIBUTEANDGEOMETRY:"ATTRIBUTEANDGEOMETRY",GEOMETRY:"GEOMETRY"};t.QueryOption=s;var l=n.SuperMap.JoinType={INNERJOIN:"INNERJOIN",LEFTJOIN:"LEFTJOIN"};t.JoinType=l;var u=n.SuperMap.SpatialQueryMode={CONTAIN:"CONTAIN",CROSS:"CROSS",DISJOINT:"DISJOINT",IDENTITY:"IDENTITY",INTERSECT:"INTERSECT",NONE:"NONE",OVERLAP:"OVERLAP",TOUCH:"TOUCH",WITHIN:"WITHIN"};t.SpatialQueryMode=u;var c=n.SuperMap.SpatialRelationType={CONTAIN:"CONTAIN",INTERSECT:"INTERSECT",WITHIN:"WITHIN"};t.SpatialRelationType=c;var p=n.SuperMap.MeasureMode={DISTANCE:"DISTANCE",AREA:"AREA"};t.MeasureMode=p;var f=n.SuperMap.Unit={METER:"METER",KILOMETER:"KILOMETER",MILE:"MILE",YARD:"YARD",DEGREE:"DEGREE",MILLIMETER:"MILLIMETER",CENTIMETER:"CENTIMETER",INCH:"INCH",DECIMETER:"DECIMETER",FOOT:"FOOT",SECOND:"SECOND",MINUTE:"MINUTE",RADIAN:"RADIAN"};t.Unit=f;var h=n.SuperMap.BufferRadiusUnit={CENTIMETER:"CENTIMETER",DECIMETER:"DECIMETER",FOOT:"FOOT",INCH:"INCH",KILOMETER:"KILOMETER",METER:"METER",MILE:"MILE",MILLIMETER:"MILLIMETER",YARD:"YARD"};t.BufferRadiusUnit=h;var y=n.SuperMap.EngineType={IMAGEPLUGINS:"IMAGEPLUGINS",OGC:"OGC",ORACLEPLUS:"ORACLEPLUS",SDBPLUS:"SDBPLUS",SQLPLUS:"SQLPLUS",UDB:"UDB"};t.EngineType=y;var d=n.SuperMap.ThemeGraphTextFormat={CAPTION:"CAPTION",CAPTION_PERCENT:"CAPTION_PERCENT",CAPTION_VALUE:"CAPTION_VALUE",PERCENT:"PERCENT",VALUE:"VALUE"};t.ThemeGraphTextFormat=d;var v=n.SuperMap.ThemeGraphType={AREA:"AREA",BAR:"BAR",BAR3D:"BAR3D",LINE:"LINE",PIE:"PIE",PIE3D:"PIE3D",POINT:"POINT",RING:"RING",ROSE:"ROSE",ROSE3D:"ROSE3D",STACK_BAR:"STACK_BAR",STACK_BAR3D:"STACK_BAR3D",STEP:"STEP"};t.ThemeGraphType=v;var m=n.SuperMap.GraphAxesTextDisplayMode={ALL:"ALL",NONE:"NONE",YAXES:"YAXES"};t.GraphAxesTextDisplayMode=m;var b=n.SuperMap.GraduatedMode={CONSTANT:"CONSTANT",LOGARITHM:"LOGARITHM",SQUAREROOT:"SQUAREROOT"};t.GraduatedMode=b;var g=n.SuperMap.RangeMode={CUSTOMINTERVAL:"CUSTOMINTERVAL",EQUALINTERVAL:"EQUALINTERVAL",LOGARITHM:"LOGARITHM",QUANTILE:"QUANTILE",SQUAREROOT:"SQUAREROOT",STDDEVIATION:"STDDEVIATION"};t.RangeMode=g;var S=n.SuperMap.ThemeType={DOTDENSITY:"DOTDENSITY",GRADUATEDSYMBOL:"GRADUATEDSYMBOL",GRAPH:"GRAPH",LABEL:"LABEL",RANGE:"RANGE",UNIQUE:"UNIQUE"};t.ThemeType=S;var _=n.SuperMap.ColorGradientType={BLACK_WHITE:"BLACKWHITE",BLUE_BLACK:"BLUEBLACK",BLUE_RED:"BLUERED",BLUE_WHITE:"BLUEWHITE",CYAN_BLACK:"CYANBLACK",CYAN_BLUE:"CYANBLUE",CYAN_GREEN:"CYANGREEN",CYAN_WHITE:"CYANWHITE",GREEN_BLACK:"GREENBLACK",GREEN_BLUE:"GREENBLUE",GREEN_ORANGE_VIOLET:"GREENORANGEVIOLET",GREEN_RED:"GREENRED",GREEN_WHITE:"GREENWHITE",PINK_BLACK:"PINKBLACK",PINK_BLUE:"PINKBLUE",PINK_RED:"PINKRED",PINK_WHITE:"PINKWHITE",RAIN_BOW:"RAINBOW",RED_BLACK:"REDBLACK",RED_WHITE:"REDWHITE",SPECTRUM:"SPECTRUM",TERRAIN:"TERRAIN",YELLOW_BLACK:"YELLOWBLACK",YELLOW_BLUE:"YELLOWBLUE",YELLOW_GREEN:"YELLOWGREEN",YELLOW_RED:"YELLOWRED",YELLOW_WHITE:"YELLOWWHITE"};t.ColorGradientType=_;var P=n.SuperMap.TextAlignment={TOPLEFT:"TOPLEFT",TOPCENTER:"TOPCENTER",TOPRIGHT:"TOPRIGHT",BASELINELEFT:"BASELINELEFT",BASELINECENTER:"BASELINECENTER",BASELINERIGHT:"BASELINERIGHT",BOTTOMLEFT:"BOTTOMLEFT",BOTTOMCENTER:"BOTTOMCENTER",BOTTOMRIGHT:"BOTTOMRIGHT",MIDDLELEFT:"MIDDLELEFT",MIDDLECENTER:"MIDDLECENTER",MIDDLERIGHT:"MIDDLERIGHT"};t.TextAlignment=P;var O=n.SuperMap.FillGradientMode={NONE:"NONE",LINEAR:"LINEAR",RADIAL:"RADIAL",CONICAL:"CONICAL",SQUARE:"SQUARE"};t.FillGradientMode=O;var w=n.SuperMap.AlongLineDirection={NORMAL:"ALONG_LINE_NORMAL",LB_TO_RT:"LEFT_BOTTOM_TO_RIGHT_TOP",LT_TO_RB:"LEFT_TOP_TO_RIGHT_BOTTOM",RB_TO_LT:"RIGHT_BOTTOM_TO_LEFT_TOP",RT_TO_LB:"RIGHT_TOP_TO_LEFT_BOTTOM"};t.AlongLineDirection=w;var T=n.SuperMap.LabelBackShape={DIAMOND:"DIAMOND",ELLIPSE:"ELLIPSE",MARKER:"MARKER",NONE:"NONE",RECT:"RECT",ROUNDRECT:"ROUNDRECT",TRIANGLE:"TRIANGLE"};t.LabelBackShape=T;var M=n.SuperMap.LabelOverLengthMode={NEWLINE:"NEWLINE",NONE:"NONE",OMIT:"OMIT"};t.LabelOverLengthMode=M;var C=n.SuperMap.DirectionType={EAST:"EAST",NONE:"NONE",NORTH:"NORTH",SOURTH:"SOURTH",WEST:"WEST"};t.DirectionType=C;var x=n.SuperMap.SideType={LEFT:"LEFT",MIDDLE:"MIDDLE",NONE:"NONE",RIGHT:"RIGHT"};t.SideType=x;var E=n.SuperMap.SupplyCenterType={FIXEDCENTER:"FIXEDCENTER",NULL:"NULL",OPTIONALCENTER:"OPTIONALCENTER"};t.SupplyCenterType=E;var k=n.SuperMap.TurnType={AHEAD:"AHEAD",BACK:"BACK",END:"END",LEFT:"LEFT",NONE:"NONE",RIGHT:"RIGHT"};t.TurnType=k;var j=n.SuperMap.BufferEndType={FLAT:"FLAT",ROUND:"ROUND"};t.BufferEndType=j;var A=n.SuperMap.OverlayOperationType={CLIP:"CLIP",ERASE:"ERASE",IDENTITY:"IDENTITY",INTERSECT:"INTERSECT",UNION:"UNION",UPDATE:"UPDATE",XOR:"XOR"};t.OverlayOperationType=A;var L=n.SuperMap.OutputType={INDEXEDHDFS:"INDEXEDHDFS",UDB:"UDB",MONGODB:"MONGODB",PG:"PG"};t.OutputType=L;var F=n.SuperMap.SmoothMethod={BSPLINE:"BSPLINE",POLISH:"POLISH"};t.SmoothMethod=F;var I=n.SuperMap.SurfaceAnalystMethod={ISOLINE:"ISOLINE",ISOREGION:"ISOREGION"};t.SurfaceAnalystMethod=I;var R=n.SuperMap.DataReturnMode={DATASET_AND_RECORDSET:"DATASET_AND_RECORDSET",DATASET_ONLY:"DATASET_ONLY",RECORDSET_ONLY:"RECORDSET_ONLY"};t.DataReturnMode=R;var N=n.SuperMap.EditType={ADD:"add",UPDATE:"update",DELETE:"delete"};t.EditType=N;var D=n.SuperMap.TransferTactic={LESS_TIME:"LESS_TIME",LESS_TRANSFER:"LESS_TRANSFER",LESS_WALK:"LESS_WALK",MIN_DISTANCE:"MIN_DISTANCE"};t.TransferTactic=D;var G=n.SuperMap.TransferPreference={BUS:"BUS",SUBWAY:"SUBWAY",NO_SUBWAY:"NO_SUBWAY",NONE:"NONE"};t.TransferPreference=G;var U=n.SuperMap.GridType={CROSS:"CROSS",GRID:"GRID",POINT:"POINT"};t.GridType=U;var B=n.SuperMap.ColorSpaceType={CMYK:"CMYK",RGB:"RGB"};t.ColorSpaceType=B;var J=n.SuperMap.LayerType={UGC:"UGC",WMS:"WMS",WFS:"WFS",CUSTOM:"CUSTOM"};t.LayerType=J;var V=n.SuperMap.UGCLayerType={THEME:"THEME",VECTOR:"VECTOR",GRID:"GRID",IMAGE:"IMAGE"};t.UGCLayerType=V;var H=n.SuperMap.StatisticMode={AVERAGE:"AVERAGE",MAX:"MAX",MIN:"MIN",STDDEVIATION:"STDDEVIATION",SUM:"SUM",VARIANCE:"VARIANCE"};t.StatisticMode=H;var q=n.SuperMap.PixelFormat={BIT16:"BIT16",BIT32:"BIT32",BIT64:"BIT64",SINGLE:"SINGLE",DOUBLE:"DOUBLE",UBIT1:"UBIT1",UBIT4:"UBIT4",UBIT8:"UBIT8",UBIT24:"UBIT24",UBIT32:"UBIT32"};t.PixelFormat=q;var W=n.SuperMap.SearchMode={KDTREE_FIXED_COUNT:"KDTREE_FIXED_COUNT",KDTREE_FIXED_RADIUS:"KDTREE_FIXED_RADIUS",NONE:"NONE",QUADTREE:"QUADTREE"};t.SearchMode=W;var z=n.SuperMap.InterpolationAlgorithmType={KRIGING:"KRIGING",SimpleKriging:"SimpleKriging",UniversalKriging:"UniversalKriging"};t.InterpolationAlgorithmType=z;var Q=n.SuperMap.VariogramMode={EXPONENTIAL:"EXPONENTIAL",GAUSSIAN:"GAUSSIAN",SPHERICAL:"SPHERICAL"};t.VariogramMode=Q;var Y=n.SuperMap.Exponent={EXP1:"EXP1",EXP2:"EXP2"};t.Exponent=Y;var X=n.SuperMap.ClientType={IP:"IP",REFERER:"Referer",REQUESTIP:"RequestIP",NONE:"NONE",SERVER:"SERVER",WEB:"WEB"};t.ClientType=X;var K=n.SuperMap.ChartType={BAR:"Bar",BAR3D:"Bar3D",CIRCLE:"Circle",PIE:"Pie",POINT:"Point",LINE:"Line",RING:"Ring"};t.ChartType=K;var Z=n.SuperMap.ClipAnalystMode={CLIP:"clip",INTERSECT:"intersect"};t.ClipAnalystMode=Z;var $=n.SuperMap.AnalystAreaUnit={SQUAREMETER:"SquareMeter",SQUAREKILOMETER:"SquareKiloMeter",HECTARE:"Hectare",ARE:"Are",ACRE:"Acre",SQUAREFOOT:"SquareFoot",SQUAREYARD:"SquareYard",SQUAREMILE:"SquareMile"};t.AnalystAreaUnit=$;var ee=n.SuperMap.AnalystSizeUnit={METER:"Meter",KILOMETER:"Kilometer",YARD:"Yard",FOOT:"Foot",MILE:"Mile"};t.AnalystSizeUnit=ee;var te=n.SuperMap.StatisticAnalystMode={MAX:"max",MIN:"min",AVERAGE:"average",SUM:"sum",VARIANCE:"variance",STDDEVIATION:"stdDeviation"};t.StatisticAnalystMode=te;var re=n.SuperMap.SummaryType={SUMMARYMESH:"SUMMARYMESH",SUMMARYREGION:"SUMMARYREGION"};t.SummaryType=re;var ne=n.SuperMap.TopologyValidatorRule={REGIONNOOVERLAP:"REGIONNOOVERLAP",REGIONNOOVERLAPWITH:"REGIONNOOVERLAPWITH",REGIONCONTAINEDBYREGION:"REGIONCONTAINEDBYREGION",REGIONCOVEREDBYREGION:"REGIONCOVEREDBYREGION",LINENOOVERLAP:"LINENOOVERLAP",LINENOOVERLAPWITH:"LINENOOVERLAPWITH",POINTNOIDENTICAL:"POINTNOIDENTICAL"};t.TopologyValidatorRule=ne;var ie=n.SuperMap.AggregationType={GEOHASH_GRID:"geohash_grid",FILTER:"filter"};t.AggregationType=ie;var oe=n.SuperMap.AggregationQueryBuilderType={GEO_BOUNDING_BOX:"geo_bounding_box"};t.AggregationQueryBuilderType=oe},function(e,t){e.exports=ol},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElasticSearch=t.ThemeStyle=t.CartoCSS=t.TokenServiceParameter=t.ServerInfo=t.SecurityManager=t.KeyServiceParameter=t.SUtil=t.LevelRendererVector=t.Util=t.Transformable=t.Storage=t.SmicText=t.SmicStar=t.SmicSector=t.SmicRing=t.SmicRectangle=t.SmicPolygon=t.SmicPoint=t.SmicIsogon=t.SmicImage=t.SmicEllipse=t.SmicCircle=t.SmicBrokenLine=t.Shape=t.PaintLayer=t.Painter=t.Matrix=t.Math=t.Log=t.Http=t.Handler=t.Group=t.Eventful=t.LevelRendererEvent=t.Env=t.Easing=t.LevelRendererCurve=t.Config=t.ComputeBoundingBox=t.Color=t.Clip=t.Area=t.Animator=t.Animation=t.Render=t.LevelRenderer=t.FeatureTheme=t.Sector=t.FeatureRectangle=t.FeaturePolygon=t.Point=t.FeatureLine=t.Label=t.Image=t.FeatureCircle=t.ShapeParameters=t.ShapeFactory=t.ThemeVector=t.Ring=t.RankSymbol=t.OverlayPoint=t.Pie=t.Line=t.Graph=t.Circle=t.Bar3D=t.Bar=t.OnlineServiceBase=t.FilterField=t.DataItemOrderBy=t.DataItemType=t.ServiceStatus=t.OnlineQueryDatasParameter=t.OnlineData=t.Online=t.VectorClipJobsService=t.VectorClipJobsParameter=t.Vector=t.UpdateTurnNodeWeightService=t.UpdateTurnNodeWeightParameters=t.UpdateEdgeWeightService=t.UpdateEdgeWeightParameters=t.UGCSubLayer=t.UGCMapLayer=t.UGCLayer=t.TransferSolutionParameters=t.TransportationAnalystResultSetting=t.TransportationAnalystParameter=t.TransferSolutionService=t.TransferPathService=t.TransferPathParameters=t.TransferLine=t.TopologyValidatorJobsService=t.TopologyValidatorJobsParameter=t.TilesetsService=t.GeometryBatchAnalystService=t.ThiessenAnalystService=void 0,t.ThiessenAnalystParameters=t.ThemeUniqueItem=t.ThemeUnique=t.ThemeService=t.ThemeRangeItem=t.ThemeRange=t.ThemeParameters=t.ThemeOffset=t.ThemeMemoryData=t.ThemeLabelUniqueItem=t.ThemeLabelText=t.ThemeLabelItem=t.ThemeLabelBackground=t.ThemeLabelAlongLine=t.ThemeLabel=t.ThemeGridUniqueItem=t.ThemeGridUnique=t.ThemeGridRangeItem=t.ThemeGridRange=t.ThemeGraphText=t.ThemeGraphSize=t.ThemeGraphItem=t.ThemeGraphAxes=t.ThemeGraph=t.ThemeGraduatedSymbolStyle=t.ThemeGraduatedSymbol=t.ThemeFlow=t.ThemeDotDensity=t.Theme=t.TerrainCurvatureCalculationService=t.TerrainCurvatureCalculationParameters=t.SurfaceAnalystService=t.SurfaceAnalystParametersSetting=t.SurfaceAnalystParameters=t.SupplyCenter=t.SummaryRegionJobsService=t.SummaryRegionJobParameter=t.SummaryMeshJobsService=t.SummaryMeshJobParameter=t.SummaryAttributesJobsService=t.SummaryAttributesJobsParameter=t.StopQueryService=t.StopQueryParameters=t.SpatialAnalystBase=t.SingleObjectQueryJobsService=t.SingleObjectQueryJobsParameter=t.SetLayerStatusService=t.SetLayerStatusParameters=t.SetLayersInfoService=t.SetLayersInfoParameters=t.SetLayerInfoService=t.SetLayerInfoParameters=t.ServerTheme=t.ServerTextStyle=t.ServerStyle=t.ServerGeometry=t.ServerFeature=t.ServerColor=t.RouteLocatorService=t.RouteLocatorParameters=t.RouteCalculateMeasureService=t.RouteCalculateMeasureParameters=t.Route=t.QueryService=t.QueryParameters=t.QueryBySQLService=t.QueryBySQLParameters=t.QueryByGeometryService=t.QueryByGeometryParameters=t.QueryByDistanceService=t.QueryByDistanceParameters=t.QueryByBoundsService=t.QueryByBoundsParameters=t.ProcessingServiceBase=t.PointWithMeasure=t.OverlayGeoJobsService=t.OverlayGeoJobParameter=t.OverlayAnalystService=t.OverlayAnalystParameters=t.OverlapDisplayedOptions=t.OutputSetting=t.NetworkAnalystServiceBase=t.MeasureService=t.MeasureParameters=t.MathExpressionAnalysisService=t.MathExpressionAnalysisParameters=t.MapService=t.LinkItem=t.LayerStatus=t.LabelThemeCell=t.LabelSymbolCell=t.LabelMixedTextStyle=t.LabelMatrixCell=t.LabelImageCell=t.KernelDensityJobsService=t.KernelDensityJobParameter=t.JoinItem=t.InterpolationRBFAnalystParameters=t.InterpolationKrigingAnalystParameters=t.InterpolationIDWAnalystParameters=void 0,t.InterpolationAnalystService=t.InterpolationAnalystParameters=t.UGCImage=t.Grid=t.GetLayersInfoService=t.GetGridCellInfosService=t.GetGridCellInfosParameters=t.GetFieldsService=t.GetFeaturesServiceBase=t.GetFeaturesParametersBase=t.GetFeaturesBySQLService=t.GetFeaturesBySQLParameters=t.GetFeaturesByIDsService=t.GetFeaturesByIDsParameters=t.GetFeaturesByGeometryService=t.GetFeaturesByGeometryParameters=t.GetFeaturesByBufferService=t.GetFeaturesByBufferParameters=t.GetFeaturesByBoundsService=t.GetFeaturesByBoundsParameters=t.GeoRelationAnalystService=t.GeoRelationAnalystParameters=t.GeometryThiessenAnalystParameters=t.GeometrySurfaceAnalystParameters=t.GeometryOverlayAnalystParameters=t.GeometryBufferAnalystParameters=t.GeoHashGridAggParameter=t.GeoDecodingParameter=t.GeoCodingParameter=t.GeoBoundingBoxQueryBuilderParameter=t.GenerateSpatialDataService=t.GenerateSpatialDataParameters=t.FindTSPPathsService=t.FindTSPPathsParameters=t.FindServiceAreasService=t.FindServiceAreasParameters=t.FindPathService=t.FindPathParameters=t.FindMTSPPathsService=t.FindMTSPPathsParameters=t.FindLocationService=t.FindLocationParameters=t.FindClosestFacilitiesService=t.FindClosestFacilitiesParameters=t.FilterParameter=t.FilterAggParameter=t.FieldStatisticsParameters=t.FieldStatisticService=t.FieldParameters=t.FacilityAnalystUpstream3DService=t.FacilityAnalystUpstream3DParameters=t.FacilityAnalystTraceup3DService=t.FacilityAnalystTraceup3DParameters=t.FacilityAnalystTracedown3DService=t.FacilityAnalystTracedown3DParameters=t.FacilityAnalystStreamService=t.FacilityAnalystStreamParameters=t.FacilityAnalystSources3DService=t.FacilityAnalystSources3DParameters=t.FacilityAnalystSinks3DService=t.FacilityAnalystSinks3DParameters=t.FacilityAnalyst3DParameters=t.EditFeaturesService=t.EditFeaturesParameters=t.DensityKernelAnalystParameters=t.DensityAnalystService=t.DatasourceConnectionInfo=t.DatasetThiessenAnalystParameters=t.DatasetSurfaceAnalystParameters=t.DatasetOverlayAnalystParameters=t.DatasetInfo=t.DatasetBufferAnalystParameters=t.DataReturnOption=t.DataFlowService=t.ComputeWeightMatrixService=t.ComputeWeightMatrixParameters=t.CommonServiceBase=t.ColorDictionary=t.ClipParameter=t.ChartQueryService=t.ChartQueryParameters=t.ChartQueryFilterParameter=t.ChartFeatureInfoSpecsService=t.BurstPipelineAnalystService=t.BurstPipelineAnalystParameters=t.BuffersAnalystJobsService=t.BuffersAnalystJobsParameter=t.BufferSetting=t.BufferDistance=t.BufferAnalystService=t.BufferAnalystParameters=t.AreaSolarRadiationService=t.AreaSolarRadiationParameters=t.AggQueryBuilderParameter=t.AggregationParameter=t.AddressMatchService=t.IPortalServicesQueryParam=t.IPortalServiceBase=t.IPortalService=t.IPortalMapsQueryParam=void 0,t.IPortalMap=t.IPortal=t.IManagerServiceBase=t.IManagerCreateNodeParam=t.IManager=t.FetchRequest=t.getRequestTimeout=t.setRequestTimeout=t.isCORS=t.setCORS=t.WKT=t.JSONFormat=t.GeoJSON=t.Format=t.TimeFlowControl=t.TimeControlBase=t.GeometryVector=t.CommonUtil=t.Size=t.Pixel=t.LonLat=t.Geometry=t.Feature=t.Events=t.Event=t.DateExt=t.Credential=t.Bounds=t.ArrayExt=t.FunctionExt=t.NumberExt=t.StringExt=t.Rectangle=t.Polygon=t.GeometryPoint=t.MultiPolygon=t.MultiPoint=t.MultiLineString=t.LineString=t.LinearRing=t.GeoText=t.Curve=t.Collection=t.AggregationType=t.AggregationQueryBuilderType=t.OutputType=t.TopologyValidatorRule=t.StatisticAnalystMode=t.AnalystSizeUnit=t.AnalystAreaUnit=t.ClipAnalystMode=t.Exponent=t.VariogramMode=t.InterpolationAlgorithmType=t.SummaryType=t.SearchMode=t.PixelFormat=t.StatisticMode=t.UGCLayerType=t.LayerType=t.ClientType=t.GridType=t.TransferPreference=t.TransferTactic=t.EditType=t.ChartType=t.ColorSpaceType=t.SurfaceAnalystMethod=t.SmoothMethod=t.BufferEndType=t.TurnType=t.SupplyCenterType=t.OverlayOperationType=t.DirectionType=t.LabelOverLengthMode=t.LabelBackShape=t.AlongLineDirection=t.SideType=t.FillGradientMode=t.TextAlignment=t.ColorGradientType=t.ThemeType=t.RangeMode=t.GraduatedMode=t.GraphAxesTextDisplayMode=t.ThemeGraphType=t.ThemeGraphTextFormat=t.SpatialQueryMode=t.BufferRadiusUnit=t.Unit=t.DataReturnMode=t.SpatialRelationType=t.MeasureMode=t.EngineType=t.JoinType=t.QueryOption=t.GeometryType=t.ServerType=t.DataFormat=t.SuperMap=void 0;var n=r(0),i=r(2),o=r(498),a=r(495),s=r(493),l=r(491),u=r(482),c=r(480),p=r(405),f=r(402),h=r(398),y=r(394),d=r(393),v=r(389);t.SuperMap=n.SuperMap,t.DataFormat=i.DataFormat,t.ServerType=i.ServerType,t.GeometryType=i.GeometryType,t.QueryOption=i.QueryOption,t.JoinType=i.JoinType,t.EngineType=i.EngineType,t.MeasureMode=i.MeasureMode,t.SpatialRelationType=i.SpatialRelationType,t.DataReturnMode=i.DataReturnMode,t.Unit=i.Unit,t.BufferRadiusUnit=i.BufferRadiusUnit,t.SpatialQueryMode=i.SpatialQueryMode,t.ThemeGraphTextFormat=i.ThemeGraphTextFormat,t.ThemeGraphType=i.ThemeGraphType,t.GraphAxesTextDisplayMode=i.GraphAxesTextDisplayMode,t.GraduatedMode=i.GraduatedMode,t.RangeMode=i.RangeMode,t.ThemeType=i.ThemeType,t.ColorGradientType=i.ColorGradientType,t.TextAlignment=i.TextAlignment,t.FillGradientMode=i.FillGradientMode,t.SideType=i.SideType,t.AlongLineDirection=i.AlongLineDirection,t.LabelBackShape=i.LabelBackShape,t.LabelOverLengthMode=i.LabelOverLengthMode,t.DirectionType=i.DirectionType,t.OverlayOperationType=i.OverlayOperationType,t.SupplyCenterType=i.SupplyCenterType,t.TurnType=i.TurnType,t.BufferEndType=i.BufferEndType,t.SmoothMethod=i.SmoothMethod,t.SurfaceAnalystMethod=i.SurfaceAnalystMethod,t.ColorSpaceType=i.ColorSpaceType,t.ChartType=i.ChartType,t.EditType=i.EditType,t.TransferTactic=i.TransferTactic,t.TransferPreference=i.TransferPreference,t.GridType=i.GridType,t.ClientType=i.ClientType,t.LayerType=i.LayerType,t.UGCLayerType=i.UGCLayerType,t.StatisticMode=i.StatisticMode,t.PixelFormat=i.PixelFormat,t.SearchMode=i.SearchMode,t.SummaryType=i.SummaryType,t.InterpolationAlgorithmType=i.InterpolationAlgorithmType,t.VariogramMode=i.VariogramMode,t.Exponent=i.Exponent,t.ClipAnalystMode=i.ClipAnalystMode,t.AnalystAreaUnit=i.AnalystAreaUnit,t.AnalystSizeUnit=i.AnalystSizeUnit,t.StatisticAnalystMode=i.StatisticAnalystMode,t.TopologyValidatorRule=i.TopologyValidatorRule,t.OutputType=i.OutputType,t.AggregationQueryBuilderType=i.AggregationQueryBuilderType,t.AggregationType=i.AggregationType,t.Collection=o.Collection,t.Curve=o.Curve,t.GeoText=o.GeoText,t.LinearRing=o.LinearRing,t.LineString=o.LineString,t.MultiLineString=o.MultiLineString,t.MultiPoint=o.MultiPoint,t.MultiPolygon=o.MultiPolygon,t.GeometryPoint=o.GeometryPoint,t.Polygon=o.Polygon,t.Rectangle=o.Rectangle,t.StringExt=o.StringExt,t.NumberExt=o.NumberExt,t.FunctionExt=o.FunctionExt,t.ArrayExt=o.ArrayExt,t.Bounds=o.Bounds,t.Credential=o.Credential,t.DateExt=o.DateExt,t.Event=o.Event,t.Events=o.Events,t.Feature=o.Feature,t.Geometry=o.Geometry,t.LonLat=o.LonLat,t.Pixel=o.Pixel,t.Size=o.Size,t.CommonUtil=o.CommonUtil,t.GeometryVector=o.GeometryVector,t.TimeControlBase=s.TimeControlBase,t.TimeFlowControl=s.TimeFlowControl,t.Format=a.Format,t.GeoJSON=a.GeoJSON,t.JSONFormat=a.JSONFormat,t.WKT=a.WKT,t.setCORS=y.setCORS,t.isCORS=y.isCORS,t.setRequestTimeout=y.setRequestTimeout,t.getRequestTimeout=y.getRequestTimeout,t.FetchRequest=y.FetchRequest,t.IManager=l.IManager,t.IManagerCreateNodeParam=l.IManagerCreateNodeParam,t.IManagerServiceBase=l.IManagerServiceBase,t.IPortal=u.IPortal,t.IPortalMap=u.IPortalMap,t.IPortalMapsQueryParam=u.IPortalMapsQueryParam,t.IPortalService=u.IPortalService,t.IPortalServiceBase=u.IPortalServiceBase,t.IPortalServicesQueryParam=u.IPortalServicesQueryParam,t.AddressMatchService=c.AddressMatchService,t.AggregationParameter=c.AggregationParameter,t.AggQueryBuilderParameter=c.AggQueryBuilderParameter,t.AreaSolarRadiationParameters=c.AreaSolarRadiationParameters,t.AreaSolarRadiationService=c.AreaSolarRadiationService,t.BufferAnalystParameters=c.BufferAnalystParameters,t.BufferAnalystService=c.BufferAnalystService,t.BufferDistance=c.BufferDistance,t.BufferSetting=c.BufferSetting,t.BuffersAnalystJobsParameter=c.BuffersAnalystJobsParameter,t.BuffersAnalystJobsService=c.BuffersAnalystJobsService,t.BurstPipelineAnalystParameters=c.BurstPipelineAnalystParameters,t.BurstPipelineAnalystService=c.BurstPipelineAnalystService,t.ChartFeatureInfoSpecsService=c.ChartFeatureInfoSpecsService,t.ChartQueryFilterParameter=c.ChartQueryFilterParameter,t.ChartQueryParameters=c.ChartQueryParameters,t.ChartQueryService=c.ChartQueryService,t.ClipParameter=c.ClipParameter,t.ColorDictionary=c.ColorDictionary,t.CommonServiceBase=c.CommonServiceBase,t.ComputeWeightMatrixParameters=c.ComputeWeightMatrixParameters,t.ComputeWeightMatrixService=c.ComputeWeightMatrixService,t.DataFlowService=c.DataFlowService,t.DataReturnOption=c.DataReturnOption,t.DatasetBufferAnalystParameters=c.DatasetBufferAnalystParameters,t.DatasetInfo=c.DatasetInfo,t.DatasetOverlayAnalystParameters=c.DatasetOverlayAnalystParameters,t.DatasetSurfaceAnalystParameters=c.DatasetSurfaceAnalystParameters,t.DatasetThiessenAnalystParameters=c.DatasetThiessenAnalystParameters,t.DatasourceConnectionInfo=c.DatasourceConnectionInfo,t.DensityAnalystService=c.DensityAnalystService,t.DensityKernelAnalystParameters=c.DensityKernelAnalystParameters,t.EditFeaturesParameters=c.EditFeaturesParameters,t.EditFeaturesService=c.EditFeaturesService,t.FacilityAnalyst3DParameters=c.FacilityAnalyst3DParameters,t.FacilityAnalystSinks3DParameters=c.FacilityAnalystSinks3DParameters,t.FacilityAnalystSinks3DService=c.FacilityAnalystSinks3DService,t.FacilityAnalystSources3DParameters=c.FacilityAnalystSources3DParameters,t.FacilityAnalystSources3DService=c.FacilityAnalystSources3DService,t.FacilityAnalystStreamParameters=c.FacilityAnalystStreamParameters,t.FacilityAnalystStreamService=c.FacilityAnalystStreamService,t.FacilityAnalystTracedown3DParameters=c.FacilityAnalystTracedown3DParameters,t.FacilityAnalystTracedown3DService=c.FacilityAnalystTracedown3DService,t.FacilityAnalystTraceup3DParameters=c.FacilityAnalystTraceup3DParameters,t.FacilityAnalystTraceup3DService=c.FacilityAnalystTraceup3DService,t.FacilityAnalystUpstream3DParameters=c.FacilityAnalystUpstream3DParameters,t.FacilityAnalystUpstream3DService=c.FacilityAnalystUpstream3DService,t.FieldParameters=c.FieldParameters,t.FieldStatisticService=c.FieldStatisticService,t.FieldStatisticsParameters=c.FieldStatisticsParameters,t.FilterAggParameter=c.FilterAggParameter,t.FilterParameter=c.FilterParameter,t.FindClosestFacilitiesParameters=c.FindClosestFacilitiesParameters,t.FindClosestFacilitiesService=c.FindClosestFacilitiesService,t.FindLocationParameters=c.FindLocationParameters,t.FindLocationService=c.FindLocationService,t.FindMTSPPathsParameters=c.FindMTSPPathsParameters,t.FindMTSPPathsService=c.FindMTSPPathsService,t.FindPathParameters=c.FindPathParameters,t.FindPathService=c.FindPathService,t.FindServiceAreasParameters=c.FindServiceAreasParameters,t.FindServiceAreasService=c.FindServiceAreasService,t.FindTSPPathsParameters=c.FindTSPPathsParameters,t.FindTSPPathsService=c.FindTSPPathsService,t.GenerateSpatialDataParameters=c.GenerateSpatialDataParameters,t.GenerateSpatialDataService=c.GenerateSpatialDataService,t.GeoBoundingBoxQueryBuilderParameter=c.GeoBoundingBoxQueryBuilderParameter,t.GeoCodingParameter=c.GeoCodingParameter,t.GeoDecodingParameter=c.GeoDecodingParameter,t.GeoHashGridAggParameter=c.GeoHashGridAggParameter,t.GeometryBufferAnalystParameters=c.GeometryBufferAnalystParameters,t.GeometryOverlayAnalystParameters=c.GeometryOverlayAnalystParameters,t.GeometrySurfaceAnalystParameters=c.GeometrySurfaceAnalystParameters,t.GeometryThiessenAnalystParameters=c.GeometryThiessenAnalystParameters,t.GeoRelationAnalystParameters=c.GeoRelationAnalystParameters,t.GeoRelationAnalystService=c.GeoRelationAnalystService,t.GetFeaturesByBoundsParameters=c.GetFeaturesByBoundsParameters,t.GetFeaturesByBoundsService=c.GetFeaturesByBoundsService,t.GetFeaturesByBufferParameters=c.GetFeaturesByBufferParameters,t.GetFeaturesByBufferService=c.GetFeaturesByBufferService,t.GetFeaturesByGeometryParameters=c.GetFeaturesByGeometryParameters,t.GetFeaturesByGeometryService=c.GetFeaturesByGeometryService,t.GetFeaturesByIDsParameters=c.GetFeaturesByIDsParameters,t.GetFeaturesByIDsService=c.GetFeaturesByIDsService,t.GetFeaturesBySQLParameters=c.GetFeaturesBySQLParameters,t.GetFeaturesBySQLService=c.GetFeaturesBySQLService,t.GetFeaturesParametersBase=c.GetFeaturesParametersBase,t.GetFeaturesServiceBase=c.GetFeaturesServiceBase,t.GetFieldsService=c.GetFieldsService,t.GetGridCellInfosParameters=c.GetGridCellInfosParameters,t.GetGridCellInfosService=c.GetGridCellInfosService,t.GetLayersInfoService=c.GetLayersInfoService,t.Grid=c.Grid,t.UGCImage=c.UGCImage,t.InterpolationAnalystParameters=c.InterpolationAnalystParameters,t.InterpolationAnalystService=c.InterpolationAnalystService,t.InterpolationIDWAnalystParameters=c.InterpolationIDWAnalystParameters,t.InterpolationKrigingAnalystParameters=c.InterpolationKrigingAnalystParameters,t.InterpolationRBFAnalystParameters=c.InterpolationRBFAnalystParameters,t.JoinItem=c.JoinItem,t.KernelDensityJobParameter=c.KernelDensityJobParameter,t.KernelDensityJobsService=c.KernelDensityJobsService,t.LabelImageCell=c.LabelImageCell,t.LabelMatrixCell=c.LabelMatrixCell,t.LabelMixedTextStyle=c.LabelMixedTextStyle,t.LabelSymbolCell=c.LabelSymbolCell,t.LabelThemeCell=c.LabelThemeCell,t.LayerStatus=c.LayerStatus,t.LinkItem=c.LinkItem,t.MapService=c.MapService,t.MathExpressionAnalysisParameters=c.MathExpressionAnalysisParameters,t.MathExpressionAnalysisService=c.MathExpressionAnalysisService,t.MeasureParameters=c.MeasureParameters,t.MeasureService=c.MeasureService,t.NetworkAnalystServiceBase=c.NetworkAnalystServiceBase,t.OutputSetting=c.OutputSetting,t.OverlapDisplayedOptions=c.OverlapDisplayedOptions,t.OverlayAnalystParameters=c.OverlayAnalystParameters,t.OverlayAnalystService=c.OverlayAnalystService,t.OverlayGeoJobParameter=c.OverlayGeoJobParameter,t.OverlayGeoJobsService=c.OverlayGeoJobsService,t.PointWithMeasure=c.PointWithMeasure,t.ProcessingServiceBase=c.ProcessingServiceBase,t.QueryByBoundsParameters=c.QueryByBoundsParameters,t.QueryByBoundsService=c.QueryByBoundsService,t.QueryByDistanceParameters=c.QueryByDistanceParameters,t.QueryByDistanceService=c.QueryByDistanceService,t.QueryByGeometryParameters=c.QueryByGeometryParameters,t.QueryByGeometryService=c.QueryByGeometryService,t.QueryBySQLParameters=c.QueryBySQLParameters,t.QueryBySQLService=c.QueryBySQLService,t.QueryParameters=c.QueryParameters,t.QueryService=c.QueryService,t.Route=c.Route,t.RouteCalculateMeasureParameters=c.RouteCalculateMeasureParameters,t.RouteCalculateMeasureService=c.RouteCalculateMeasureService,t.RouteLocatorParameters=c.RouteLocatorParameters,t.RouteLocatorService=c.RouteLocatorService,t.ServerColor=c.ServerColor,t.ServerFeature=c.ServerFeature,t.ServerGeometry=c.ServerGeometry,t.ServerStyle=c.ServerStyle,t.ServerTextStyle=c.ServerTextStyle,t.ServerTheme=c.ServerTheme,t.SetLayerInfoParameters=c.SetLayerInfoParameters,t.SetLayerInfoService=c.SetLayerInfoService,t.SetLayersInfoParameters=c.SetLayersInfoParameters,t.SetLayersInfoService=c.SetLayersInfoService,t.SetLayerStatusParameters=c.SetLayerStatusParameters,t.SetLayerStatusService=c.SetLayerStatusService,t.SingleObjectQueryJobsParameter=c.SingleObjectQueryJobsParameter,t.SingleObjectQueryJobsService=c.SingleObjectQueryJobsService,t.SpatialAnalystBase=c.SpatialAnalystBase,t.StopQueryParameters=c.StopQueryParameters,t.StopQueryService=c.StopQueryService,t.SummaryAttributesJobsParameter=c.SummaryAttributesJobsParameter,t.SummaryAttributesJobsService=c.SummaryAttributesJobsService,t.SummaryMeshJobParameter=c.SummaryMeshJobParameter,t.SummaryMeshJobsService=c.SummaryMeshJobsService,t.SummaryRegionJobParameter=c.SummaryRegionJobParameter,t.SummaryRegionJobsService=c.SummaryRegionJobsService,t.SupplyCenter=c.SupplyCenter,t.SurfaceAnalystParameters=c.SurfaceAnalystParameters,t.SurfaceAnalystParametersSetting=c.SurfaceAnalystParametersSetting,t.SurfaceAnalystService=c.SurfaceAnalystService,t.TerrainCurvatureCalculationParameters=c.TerrainCurvatureCalculationParameters,t.TerrainCurvatureCalculationService=c.TerrainCurvatureCalculationService,t.Theme=c.Theme,t.ThemeDotDensity=c.ThemeDotDensity,t.ThemeFlow=c.ThemeFlow,t.ThemeGraduatedSymbol=c.ThemeGraduatedSymbol,t.ThemeGraduatedSymbolStyle=c.ThemeGraduatedSymbolStyle,t.ThemeGraph=c.ThemeGraph,t.ThemeGraphAxes=c.ThemeGraphAxes,t.ThemeGraphItem=c.ThemeGraphItem,t.ThemeGraphSize=c.ThemeGraphSize,t.ThemeGraphText=c.ThemeGraphText,t.ThemeGridRange=c.ThemeGridRange,t.ThemeGridRangeItem=c.ThemeGridRangeItem,t.ThemeGridUnique=c.ThemeGridUnique,t.ThemeGridUniqueItem=c.ThemeGridUniqueItem,t.ThemeLabel=c.ThemeLabel,t.ThemeLabelAlongLine=c.ThemeLabelAlongLine,t.ThemeLabelBackground=c.ThemeLabelBackground,t.ThemeLabelItem=c.ThemeLabelItem,t.ThemeLabelText=c.ThemeLabelText,t.ThemeLabelUniqueItem=c.ThemeLabelUniqueItem,t.ThemeMemoryData=c.ThemeMemoryData,t.ThemeOffset=c.ThemeOffset,t.ThemeParameters=c.ThemeParameters,t.ThemeRange=c.ThemeRange,t.ThemeRangeItem=c.ThemeRangeItem,t.ThemeService=c.ThemeService,t.ThemeUnique=c.ThemeUnique,t.ThemeUniqueItem=c.ThemeUniqueItem,t.ThiessenAnalystParameters=c.ThiessenAnalystParameters,t.ThiessenAnalystService=c.ThiessenAnalystService,t.GeometryBatchAnalystService=c.GeometryBatchAnalystService,t.TilesetsService=c.TilesetsService,t.TopologyValidatorJobsParameter=c.TopologyValidatorJobsParameter,t.TopologyValidatorJobsService=c.TopologyValidatorJobsService,t.TransferLine=c.TransferLine,t.TransferPathParameters=c.TransferPathParameters,t.TransferPathService=c.TransferPathService,t.TransferSolutionService=c.TransferSolutionService,t.TransportationAnalystParameter=c.TransportationAnalystParameter,t.TransportationAnalystResultSetting=c.TransportationAnalystResultSetting,t.TransferSolutionParameters=c.TransferSolutionParameters,t.UGCLayer=c.UGCLayer,t.UGCMapLayer=c.UGCMapLayer,t.UGCSubLayer=c.UGCSubLayer,t.UpdateEdgeWeightParameters=c.UpdateEdgeWeightParameters,t.UpdateEdgeWeightService=c.UpdateEdgeWeightService,t.UpdateTurnNodeWeightParameters=c.UpdateTurnNodeWeightParameters,t.UpdateTurnNodeWeightService=c.UpdateTurnNodeWeightService,t.Vector=c.Vector,t.VectorClipJobsParameter=c.VectorClipJobsParameter,t.VectorClipJobsService=c.VectorClipJobsService,t.Online=p.Online,t.OnlineData=p.OnlineData,t.OnlineQueryDatasParameter=p.OnlineQueryDatasParameter,t.ServiceStatus=p.ServiceStatus,t.DataItemType=p.DataItemType,t.DataItemOrderBy=p.DataItemOrderBy,t.FilterField=p.FilterField,t.OnlineServiceBase=p.OnlineServiceBase,t.Bar=v.Bar,t.Bar3D=v.Bar3D,t.Circle=v.Circle,t.Graph=v.Graph,t.Line=v.Line,t.Pie=v.Pie,t.OverlayPoint=v.OverlayPoint,t.RankSymbol=v.RankSymbol,t.Ring=v.Ring,t.ThemeVector=v.ThemeVector,t.ShapeFactory=v.ShapeFactory,t.ShapeParameters=v.ShapeParameters,t.FeatureCircle=v.FeatureCircle,t.Image=v.Image,t.Label=v.Label,t.FeatureLine=v.FeatureLine,t.Point=v.Point,t.FeaturePolygon=v.FeaturePolygon,t.FeatureRectangle=v.FeatureRectangle,t.Sector=v.Sector,t.FeatureTheme=v.FeatureTheme,t.LevelRenderer=v.LevelRenderer,t.Render=v.Render,t.Animation=v.Animation,t.Animator=v.Animator,t.Area=v.Area,t.Clip=v.Clip,t.Color=v.Color,t.ComputeBoundingBox=v.ComputeBoundingBox,t.Config=v.Config,t.LevelRendererCurve=v.LevelRendererCurve,t.Easing=v.Easing,t.Env=v.Env,t.LevelRendererEvent=v.LevelRendererEvent,t.Eventful=v.Eventful,t.Group=v.Group,t.Handler=v.Handler,t.Http=v.Http,t.Log=v.Log,t.Math=v.Math,t.Matrix=v.Matrix,t.Painter=v.Painter,t.PaintLayer=v.PaintLayer,t.Shape=v.Shape,t.SmicBrokenLine=v.SmicBrokenLine,t.SmicCircle=v.SmicCircle,t.SmicEllipse=v.SmicEllipse,t.SmicImage=v.SmicImage,t.SmicIsogon=v.SmicIsogon,t.SmicPoint=v.SmicPoint,t.SmicPolygon=v.SmicPolygon,t.SmicRectangle=v.SmicRectangle,t.SmicRing=v.SmicRing,t.SmicSector=v.SmicSector,t.SmicStar=v.SmicStar,t.SmicText=v.SmicText,t.Storage=v.Storage,t.Transformable=v.Transformable,t.Util=v.Util,t.LevelRendererVector=v.LevelRendererVector,t.SUtil=v.SUtil,t.KeyServiceParameter=f.KeyServiceParameter,t.SecurityManager=f.SecurityManager,t.ServerInfo=f.ServerInfo,t.TokenServiceParameter=f.TokenServiceParameter,t.CartoCSS=d.CartoCSS,t.ThemeStyle=d.ThemeStyle,t.ElasticSearch=h.ElasticSearch},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommonServiceBase=void 0;var n=function(){function e(e,t){for(var r=0;r-1&&"?"===n?e.url+=r.getUrlParameters():e.url.indexOf("?")>-1&&"?"!==n?e.url+="&"+r.getUrlParameters():e.url+="?"+r.getUrlParameters()}t.calculatePollingTimes(),t._processSuccess=e.success,t._processFailed=e.failure,e.scope=t,e.success=t.getUrlCompleted,e.failure=t.getUrlFailed,t.options=e,t._commit(t.options)}},{key:"getCredential",value:function(e){var t=e,r=void 0,n=void 0;switch(this.serverType){case c.ServerType.IPORTAL:(r=(n=l.SecurityManager.getToken(t))?new s.Credential(n,"token"):null)||(r=(n=l.SecurityManager.getKey(t))?new s.Credential(n,"key"):null);break;case c.ServerType.ONLINE:r=(n=l.SecurityManager.getKey(t))?new s.Credential(n,"key"):null;break;default:r=(n=l.SecurityManager.getToken(t))?new s.Credential(n,"token"):null}return r}},{key:"getUrlCompleted",value:function(e){this._processSuccess(e)}},{key:"getUrlFailed",value:function(e){this.totalTimes>0?(this.totalTimes--,this.ajaxPolling()):this._processFailed(e)}},{key:"ajaxPolling",value:function(){var e=this,t=e.options.url,r=/^http:\/\/([a-z]{9}|(\d+\.){3}\d+):\d{0,4}/;e.index=parseInt(Math.random()*e.length),e.url=e.urls[e.index],t=t.replace(r,r.exec(e.url)[0]),e.options.url=t,e.options.isInTheSameDomain=u.Util.isInTheSameDomain(t),e._commit(e.options)}},{key:"calculatePollingTimes",value:function(){var e=this;e.times?e.totalTimes>e.POLLING_TIMES?e.times>e.POLLING_TIMES?e.totalTimes=e.POLLING_TIMES:e.totalTimes=e.times:e.timese.POLLING_TIMES&&(e.totalTimes=e.POLLING_TIMES),e.totalTimes--}},{key:"isServiceSupportPolling",value:function(){return!("SuperMap.REST.ThemeService"===this.CLASS_NAME||"SuperMap.REST.EditFeaturesService"===this.CLASS_NAME)}},{key:"serviceProcessCompleted",value:function(e){e=u.Util.transformResult(e),this.events.triggerEvent("processCompleted",{result:e})}},{key:"serviceProcessFailed",value:function(e){var t=(e=u.Util.transformResult(e)).error||e;this.events.triggerEvent("processFailed",{error:t})}},{key:"_commit",value:function(e){"POST"!==e.method&&"PUT"!==e.method||(e.params&&(e.url=u.Util.urlAppend(e.url,u.Util.getParameterString(e.params||{}))),e.params=e.data),o.FetchRequest.commit(e.method,e.url,e.params,{headers:e.headers,withCredentials:e.withCredentials,timeout:e.async?0:null,proxy:e.proxy}).then(function(e){return e.text?e.text():e.json?e.json():e}).then(function(t){var r=t;("string"==typeof t&&(r=(new p.JSONFormat).read(t)),(!r||r.error||r.code>=300&&304!==r.code)&&(r=r&&r.error?{error:r.error}:{error:r}),r.error)?(e.scope?f.FunctionExt.bind(e.failure,e.scope):e.failure)(r):(r.succeed=void 0==r.succeed||r.succeed,(e.scope?f.FunctionExt.bind(e.success,e.scope):e.success)(r))})}}]),e}();i.SuperMap.CommonServiceBase=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Util=void 0;var n,i=function(){function e(e,t){for(var r=0;r-180&&u<90&&u>-90;if(a.length==i.length&&c){var p={type:"Feature",geometry:{},properties:{}};p.geometry.type="Point",p.geometry.coordinates=[l,u];for(var f=0;f0){if(1===r)return new o.Point(t[0].x,t[0].y);for(var n=[],i=0;i0){if(1===r){for(var n=[],i=0;i0){if(1===p){for(e=0,r=[];e=0;P--)if(S[_]=-1,y[P].getBounds().containsBounds(y[_].getBounds())){d[_]=-1*d[P],d[_]<0&&(S[_]=P);break}for(var O=0;O0?a.push(y[O]):(a[S[O]].components=a[S[O]].components.concat(y[O].components),a.push(""))}else{a=new Array;for(var w=0;w0&&a.length>0&&(a[a.length-1].components=a[a.length-1].components.concat(f),f=[]),a.push(y[w])),w==i-1){var T=a.length;if(T)a[T-1].components=a[T-1].components.concat(f);else for(var M=0,C=f.length;M=0;w--)if(P[O]=-1,v[w].getBounds().containsBounds(v[O].getBounds())){m[O]=-1*m[w],m[O]<0&&(P[O]=w);break}for(var T=0;T0?u.push(v[T]):(u[P[T]].components=u[P[T]].components.concat(v[T].components),u.push(""))}else{u=new Array;for(var M=0;M0&&u.length>0&&(u[u.length-1].components=u[u.length-1].components.concat(y),y=[]),u.push(v[M])),M==i-1){var C=u.length;if(C)u[C-1].components=u[C-1].components.concat(y);else for(var x=0,E=y.length;xe[i]){var o=e[i];e[i]=e[n],e[n]=o;var a=t[i];if(t[i]=t[n],t[n]=a,r&&r.length>0){var s=r[i];r[i]=r[n],r[n]=s}}}}]),e}();i.SuperMap.ServerGeometry=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpatialAnalystBase=void 0;var n=function(){function e(e,t){for(var r=0;ra-2?a-1:h+1][0]+o[0],t[h>a-2?a-1:h+1][1]+o[1]],b=[t[h>a-3?a-1:h+2][0]+o[0],t[h>a-3?a-1:h+2][1]+o[1]]);var g=y*y,S=y*g;s.push([_(d[0],v[0],m[0],b[0],y,g,S),_(d[1],v[1],m[1],b[1],y,g,S)])}return s;function _(e,t,r,n,i,o,a){var s=.5*(r-e),l=.5*(n-t);return(2*(t-r)+s+l)*a+(-3*(t-r)-2*s-l)*o+s*i+t}}},{key:"SUtil_dashedLineTo",value:function(e,t,r,n,i,o,a){var s=[5,5];if(o="number"!=typeof o?5:o,e.setLineDash)return s[0]=o,s[1]=o,a&&a instanceof Array?e.setLineDash(a):e.setLineDash(s),e.moveTo(t,r),void e.lineTo(n,i);var l=n-t,u=i-r,c=Math.floor(Math.sqrt(l*l+u*u)/o);l/=c,u/=c;for(var p=!0,f=0;f0&&(this.setCtxGlobalAlpha(e,"stroke",r),e.stroke()),this.setCtxGlobalAlpha(e,"reset",r);break;case"stroke":this.setCtxGlobalAlpha(e,"stroke",r),r.lineWidth>0&&e.stroke(),this.setCtxGlobalAlpha(e,"reset",r);break;default:this.setCtxGlobalAlpha(e,"fill",r),e.fill(),this.setCtxGlobalAlpha(e,"reset",r)}this.drawText(e,r,this.style),this.afterBrush(e)}},{key:"beforeBrush",value:function(e,t){var r=this.style;return this.brushTypeOnly&&(r.brushType=this.brushTypeOnly),t&&(r=this.getHighlightStyle(r,this.highlightStyle||{},this.brushTypeOnly)),"stroke"==this.brushTypeOnly&&(r.strokeColor=r.strokeColor||r.color),e.save(),this.doClip(e),this.setContext(e,r),this.setTransform(e),r}},{key:"afterBrush",value:function(e){e.restore()}},{key:"setContext",value:function(e,t){for(var r=[["color","fillStyle"],["strokeColor","strokeStyle"],["opacity","globalAlpha"],["lineCap","lineCap"],["lineJoin","lineJoin"],["miterLimit","miterLimit"],["lineWidth","lineWidth"],["shadowBlur","shadowBlur"],["shadowColor","shadowColor"],["shadowOffsetX","shadowOffsetX"],["shadowOffsetY","shadowOffsetY"]],n=0,i=r.length;n=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height&&l.SUtil.Util_area.isInside(this,this.style,e,t)}},{key:"drawText",value:function(e,r,n){if(void 0!==r.text&&!1!==r.text){var i=r.textColor||r.color||r.strokeColor;e.fillStyle=i;var o,a,s,l,u=10,c=r.textPosition||this.textPosition||"top",p=[];switch(p=this.refOriginalPosition&&2===this.refOriginalPosition.length?this.refOriginalPosition:[0,0],c){case"inside":case"top":case"bottom":case"left":case"right":if(this.getRect){var f=(n||r).__rect||this.getRect(n||r);switch(c){case"inside":s=f.x+f.width/2,l=f.y+f.height/2,o="center",a="middle","stroke"!=r.brushType&&i==r.color&&(e.fillStyle="#fff");break;case"left":s=f.x-u,l=f.y+f.height/2,o="end",a="middle";break;case"right":s=f.x+f.width+u,l=f.y+f.height/2,o="start",a="middle";break;case"top":s=f.x+f.width/2,l=f.y-u,o="center",a="bottom";break;case"bottom":s=f.x+f.width/2,l=f.y+f.height+u,o="center",a="top"}}break;case"start":case"end":var h=0,y=0,d=0,v=0;if(void 0!==r.pointList){var m=r.pointList;if(m.length<2)return;var b=m.length;switch(c){case"start":h=m[0][0]+p[0],y=m[1][0]+p[0],d=m[0][1]+p[1],v=m[1][1]+p[1];break;case"end":h=m[b-2][0]+p[0],y=m[b-1][0]+p[0],d=m[b-2][1]+p[1],v=m[b-1][1]+p[1]}}else h=r.xStart+p[0]||0,y=r.xEnd+p[0]||0,d=r.yStart+p[1]||0,v=r.yEnd+p[1]||0;switch(c){case"start":o=h-1||(t[n]=e[n]);return t}},{key:"toGeometry",value:function(e){var t=this,r=e.type;switch("polygon"===r&&(r=b.GeometryType.REGION),r.toUpperCase()){case b.GeometryType.POINT:return t.toGeoPoint(e);case b.GeometryType.LINE:return t.toGeoLine(e);case b.GeometryType.LINEM:return t.toGeoLinem(e);case b.GeometryType.REGION:return t.toGeoRegion(e);case b.GeometryType.RECTANGLE:return t.toGeoRectangle(e);case b.GeometryType.POINTEPS:return t.toGeoPoint(e);default:return e}}},{key:"toGeoPoint",value:function(e){var t=e.points||[{x:e.x,y:e.y}],r=(e.parts||[t.length]).length;if(r<1)return null;if(1===r)return{type:"Point",x:parseFloat(t[0].x),y:parseFloat(t[0].y)};for(var n=0,i=[];n0?t.push(c):o.push([c]),a===i-1){var p=o.length;if(p)o[p-1]=o[p-1].concat(t);else for(var f=0,h=t.length;f-1?"&":"?")+"_method="+e,"string"!=typeof r&&(r=JSON.stringify(r)),this.post(t,r,n)},_processUrl:function(e,t){if(this._isMVTRequest(e))return e;if(-1===e.indexOf(".json")&&!t.withoutFormatSuffix)if(e.indexOf("?")<0)e+=".json";else{var r=e.split("?");2===r.length&&(e=r[0]+".json?"+r[1])}return t&&t.proxy&&("function"==typeof t.proxy?e=t.proxy(e):(e=decodeURIComponent(e),e=t.proxy+encodeURIComponent(e))),e},_fetch:function(e,t,r,n){return(r=r||{}).headers=r.headers||{},r.headers["Content-Type"]||(r.headers["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8"),r.timeout?this._timeout(r.timeout,u(e,{method:n,headers:r.headers,body:"PUT"===n||"POST"===n?t:void 0,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:p()}).then(function(e){return e})):u(e,{method:n,body:"PUT"===n||"POST"===n?t:void 0,headers:r.headers,credentials:r.withCredentials?"include":"omit",mode:"cors",timeout:p()}).then(function(e){return e})},_fetchJsonp:function(e,t){return t=t||{},(0,a.default)(e,{method:"GET",timeout:t.timeout}).then(function(e){return e})},_timeout:function(e,t){return new Promise(function(r,n){setTimeout(function(){n(new Error("timeout"))},e),t.then(r,n)})},_getParameterString:function(e){var t=[];for(var r in e){var i=e[r];if(null!=i&&"function"!=typeof i){var o;if("object"===(void 0===i?"undefined":n(i))&&i.constructor===Array){for(var a,s=[],l=0,u=i.length;l-1||e.indexOf(".pbf")>-1}};s.SuperMap.Util.RequestJSONPPromise={limitLength:1500,queryKeys:[],queryValues:[],supermap_callbacks:{},addQueryStrings:function(e){for(var t in e){this.queryKeys.push(t),"string"!=typeof e[t]&&(e[t]=s.SuperMap.Util.toJSON(e[t]));var r=encodeURIComponent(e[t]);this.queryValues.push(r)}},issue:function(e){for(var t=this,r=t.getUid(),n=e.url,i=[],o=new Promise(function(e){t.supermap_callbacks[r]=function(n){delete t.supermap_callbacks[r],e(n)}}),a=n,s=0,l=t.queryKeys?t.queryKeys.length:0,u=0;u=t.limitLength){if(0==s)return!1;i.push(a),a=n,s=0,u--}else if(a.length+t.queryKeys[u].length+2+t.queryValues[u].length>t.limitLength)for(var c=t.queryValues[u];c.length>0;){var p=t.limitLength-a.length-t.queryKeys[u].length-2;a.indexOf("?")>-1?a+="&":a+="?";var f=c.substring(0,p);"%"===f.substring(p-1,p)?(p-=1,f=c.substring(0,p)):"%"===f.substring(p-2,p-1)&&(p-=2,f=c.substring(0,p)),a+=t.queryKeys[u]+"="+f,c=c.substring(p),f.length>0&&(i.push(a),a=n,s=0)}else s++,a.indexOf("?")>-1?a+="&":a+="?",a+=t.queryKeys[u]+"="+t.queryValues[u];return i.push(a),t.send(i,"SuperMap.Util.RequestJSONPPromise.supermap_callbacks["+r+"]",e&&e.proxy),o},getUid:function(){return 1e3*(new Date).getTime()+Math.floor(1e17*Math.random())},send:function(e,t,r){var n=e.length;if(n>0)for(var i=(new Date).getTime(),o=0;o-1?s+="&":s+="?",s+="sectionCount="+n,s+="§ionIndex="+o,s+="&jsonpUserID="+i,r&&(s=decodeURIComponent(s),s=r+encodeURIComponent(s)),(0,a.default)(s,{jsonpCallbackFunction:t,timeout:3e4})}},GET:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings(e.params),this.issue(e)},POST:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},PUT:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)},DELETE:function(e){return this.queryKeys.length=0,this.queryValues.length=0,this.addQueryStrings({requestEntity:e.data}),this.issue(e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LineString=void 0;var n=function(){function e(e,t){for(var r=0;r2;return r&&function e(t,r,n){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,r);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,r,n)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(n):void 0}(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeComponent",this).apply(this,arguments),r}},{key:"getSortedSegments",value:function(){for(var e,t,r=this.components.length-1,n=new Array(r),i=0;i=1?1:b)<=-1?-1:b,p=180*Math.acos(b)/Math.PI,s=(p=i.x==r.x?t.x>r.x&&n.x>r.x||t.xh*t.x+y&&n.y>h*n.x+y||t.yr.y?n.xr.x&&(l=!1):i.xh*n.x+y&&(l=!1):i.x>r.x?n.y>r.y&&(l=!1):n.y=0?180*Math.atan(g)/Math.PI:Math.abs(180*Math.atan(g)/Math.PI)+90,_=Math.abs(t.y);r.y==_&&_==i.y&&r.x=0?g>=0?c+=u:c=180-(c-90)+u:c=g>0?c-180+u:90-c+u:P>=0?g>=0?c-=u:c=180-(c-90)-u:c=g>=0?c-180-u:90-c-u,c=c*Math.PI/180;var w=t.x+a*Math.cos(c),T=t.y+a*Math.sin(c);f.push(new o.Point(w,T))}f.push(i)}return f}},{key:"createLineEPS",value:function(e){var r=[],n=e.length;if(null==e||n<2)return e;for(var i=0;i=15){var v=parseInt(l.axis3DParameter),m=[o[0]-v,o[1]+v];l.axisUseArrow?(y.push([m[0]+1.5,m[1]-7.5]),y.push([m[0]-1,m[1]+1]),y.push([m[0]+7.5,m[1]-1.5]),d.push([m[0],m[1]])):d.push([m[0],m[1]]),d.push([o[0],o[1]])}d.push([o[2]+5,o[1]])}else{var b=Math.abs(o[1]-o[3])/h,g=o[3];d.push([o[0],g-5]);for(var S=0;S=15){var O=parseInt(l.axis3DParameter),w=[o[0]-O,o[1]+O];l.axisUseArrow?(y.push([w[0]+1.5,w[1]-7.5]),y.push([w[0]-1,w[1]+1]),y.push([w[0]+7.5,w[1]-1.5]),d.push([w[0],w[1]])):d.push([w[0],w[1]]),d.push([o[0],o[1]])}d.push([o[2]+5,o[1]])}if(l.axisUseArrow){var T=[[o[2]+5,o[1]+4],[o[2]+13,o[1]],[o[2]+5,o[1]-4]],M=[[o[0]-4,o[3]-5],[o[0],o[3]-13],[o[0]+4,o[3]-5]],C=new s.Polygon(T);C.style={fillColor:"#008acd"},_.Util.copyAttributesWithClip(C.style,l.axisStyle),p.push(e.createShape(C));var x=new s.Polygon(M);if(x.style={fillColor:"#008acd"},_.Util.copyAttributesWithClip(x.style,l.axisStyle),p.push(e.createShape(x)),l.axis3DParameter&&!isNaN(l.axis3DParameter)&&l.axis3DParameter>=15){var E=new s.Polygon(y);E.style={fillColor:"#008acd"},_.Util.copyAttributesWithClip(E.style,l.axisStyle),p.push(e.createShape(E))}}i=d;var k=new a.Line(i);k.style={strokeLinecap:"butt",strokeLineJoin:"round",strokeColor:"#008acd",strokeWidth:1},l.axisStyle&&_.Util.copyAttributesWithClip(k.style,l.axisStyle),k.clickable=!1,k.hoverable=!1;var j=[e.createShape(k)],A=[];if(l.axisYLabels&&l.axisYLabels.length&&l.axisYLabels.length>0){var L=l.axisYLabels,F=L.length,I=[0,0];if(l.axisYLabelsOffset&&l.axisYLabelsOffset.length&&(I=l.axisYLabelsOffset),1==F){var R=new c.Label(o[0]-5+I[0],o[3]+I[1],L[0]);R.style={labelAlign:"right"},l.axisYLabelsStyle&&_.Util.copyAttributesWithClip(R.style,l.axisYLabelsStyle),R.clickable=!1,R.hoverable=!1,A.push(e.createShape(R))}else for(var N=o[3],D=Math.abs(o[1]-o[3])/(F-1),G=0;G0){var J=l.axisXLabels,V=J.length,H=[0,0];if(l.axisXLabelsOffset&&l.axisXLabelsOffset.length&&(H=l.axisXLabelsOffset),n&&n.xPositions&&n.xPositions.length&&n.xPositions.length==V)for(var q=n.xPositions,W=0;W=0&&r[i]&&_.Util.copyAttributesWithClip(a,r[i]),n&&n.length&&void 0!==o)for(var s=n,l=s.length,u=parseFloat(o),c=0;cthis.right)&&(this.right=r.right),(null==this.top||r.top>this.top)&&(this.top=r.top))}}},{key:"containsLonLat",value:function(e,t){"boolean"==typeof t&&(t={inclusive:t}),t=t||{};var r=this.contains(e.lon,e.lat,t.inclusive),n=t.worldBounds;if(n&&!r){var i=n.getWidth(),o=(n.left+n.right)/2,a=Math.round((e.lon-o)/i);r=this.containsLonLat({lon:e.lon-a*i,lat:e.lat},{inclusive:t.inclusive})}return r}},{key:"containsPixel",value:function(e,t){return this.contains(e.x,e.y,t)}},{key:"contains",value:function(e,t,r){if(null==r&&(r=!0),null==e||null==t)return!1;e=l.Util.toFloat(e),t=l.Util.toFloat(t);var n=!1;return n=r?e>=this.left&&e<=this.right&&t>=this.bottom&&t<=this.top:e>this.left&&ethis.bottom&&t=r.bottom&&e.bottom<=r.top||r.bottom>=e.bottom&&r.bottom<=e.top,a=e.top>=r.bottom&&e.top<=r.top||r.top>e.bottom&&r.top=r.left&&e.left<=r.right||r.left>=e.left&&r.left<=e.right,l=e.right>=r.left&&e.right<=r.right||r.right>=e.left&&r.right<=e.right;n=(o||a)&&(s||l)}if(t.worldBounds&&!n){var u=t.worldBounds,c=u.getWidth(),p=!u.containsBounds(r),f=!u.containsBounds(e);p&&!f?(e=e.add(-c,0),n=r.intersectsBounds(e,{inclusive:t.inclusive})):f&&!p&&(r=r.add(-c,0),n=e.intersectsBounds(r,{inclusive:t.inclusive}))}return n}},{key:"containsBounds",value:function(e,t,r){null==t&&(t=!1),null==r&&(r=!0);var n=this.contains(e.left,e.bottom,r),i=this.contains(e.right,e.bottom,r),o=this.contains(e.left,e.top,r),a=this.contains(e.right,e.top,r);return t?n||i||o||a:n&&i&&o&&a}},{key:"determineQuadrant",value:function(e){var t="",r=this.getCenterLonLat();return t+=e.lat=e.right&&i.right>e.right;)i=i.add(-o,0);var a=i.left+r;ae.left&&i.right-n>e.right&&(i=i.add(-o,0))}return i}},{key:"toServerJSONObject",value:function(){return{rightTop:{x:this.right,y:this.top},leftBottom:{x:this.left,y:this.bottom},left:this.left,right:this.right,top:this.top,bottom:this.bottom}}},{key:"destroy",value:function(){this.left=null,this.right=null,this.top=null,this.bottom=null,this.centerLonLat=null}}],[{key:"fromString",value:function(t,r){var n=t.split(",");return e.fromArray(n,r)}},{key:"fromArray",value:function(t,r){return!0===r?new e(t[1],t[0],t[3],t[2]):new e(t[0],t[1],t[2],t[3])}},{key:"fromSize",value:function(t){return new e(0,t.h,t.w,0)}},{key:"oppositeQuadrant",value:function(e){var t="";return t+="t"===e.charAt(0)?"b":"t",t+="l"===e.charAt(1)?"r":"l"}}]),e}();i.SuperMap.Bounds=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Graph=void 0;var n=function(){function e(e,t){for(var r=0;r=c[2]||c[1]<=c[3])&&(this.DVBOrigonPoint=[c[0],c[3]],this.DVBWidth=Math.abs(c[2]-c[0]),this.DVBHeight=Math.abs(c[1]-c[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-s[0],this.DVBOrigonPoint[1]-s[1]],!0)}},{key:"resetLocation",value:function(e){e&&(this.lonlat=e);var t=this.getLocalXY(this.lonlat);t[0]+=this.XOffset,t[1]+=this.YOffset,this.location=t;var r=this.width,n=this.height,i=this.location;return this.chartBounds=new o.Bounds(i[0]-r/2,i[1]+n/2,i[0]+r/2,i[1]-n/2),this.resetLinearGradient(),i}},{key:"resetLinearGradient",value:function(){}},{key:"shapesConvertToRelativeCoordinate",value:function(){for(var e=this.shapes,t=this.location,r=0,n=e.length;r=0?n.push(parseFloat(i[a].toString()).toFixed(r)):n.push(parseFloat(i[a].toString()))}catch(e){throw new Error("not a number")}return n.length===t.length&&n},i.SuperMap.Feature.Theme.Graph=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;ro&&(o=e+s+100,n.width=o,r=!0),t+l>a&&(a=t+l+100,n.height=a,r=!0),e<-s&&(o+=s=100*Math.ceil(-e/100),n.width=o,r=!0),t<-l&&(a+=l=100*Math.ceil(-t/100),n.height=a,r=!0),r&&i.translate(s,l)}},{key:"getPixelOffset",value:function(){return{x:this._offsetX,y:this._offsetY}}},{key:"indexOf",value:function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r-1)){if(null!=t&&t=0;--r)t=this.removeComponent(e[r])||t;return t}},{key:"removeComponent",value:function(e){return s.Util.removeItem(this.components,e),this.clearBounds(),!0}},{key:"getArea",value:function(){for(var e=0,t=0,r=this.components.length;t3;if(r){this.components.pop(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeComponent",this).apply(this,arguments);var n=this.components[0];i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addComponent",this).apply(this,[n])}return r}},{key:"getArea",value:function(){var e=0;if(this.components&&this.components.length>2){for(var t=0,r=0,n=this.components.length;r1&&(e=e>1?1:-1),Math.asin(e)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=e*t;return r/Math.sqrt(1-n*n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesServiceBase=void 0;var n=function(){function e(e,t){for(var r=0;r=0&&r.toIndex>=0&&!n&&(r.url+="&fromIndex="+r.fromIndex+"&toIndex="+r.toIndex),e.returnCountOnly&&(r.url+="&returnCountOnly="+e.returnContent),t=r.getJsonParameters(e),r.request({method:"POST",data:t,scope:r,success:r.serviceProcessCompleted,failure:r.serviceProcessFailed})}}},{key:"serviceProcessCompleted",value:function(e){if(e=o.Util.transformResult(e),this.format===a.DataFormat.GEOJSON&&e.features){var t=new l.GeoJSON;e.features=JSON.parse(t.write(e.features))}this.events.triggerEvent("processCompleted",{result:e})}}]),t}();i.SuperMap.GetFeaturesServiceBase=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesParametersBase=void 0;var n=function(){function e(e,t){for(var r=0;re.right;)t.lon-=e.getWidth()}return t}},{key:"destroy",value:function(){this.lon=null,this.lat=null}}],[{key:"fromString",value:function(t){var r=t.split(",");return new e(r[0],r[1])}},{key:"fromArray",value:function(t){var r=i.Util.isArray(t);return new e(r&&t[0],r&&t[1])}}]),e}()},function(e,t,r){"use strict";var n=Math.PI/2,i=r(50);e.exports=function(e){return Math.abs(e)3&&(t=Array.prototype.slice.call(t,1));for(var n=this._handlers[e],i=n.length,o=0;o4&&(t=Array.prototype.slice.call(t,1,t.length-1));for(var n=t[t.length-1],i=this._handlers[e],o=i.length,a=0;a0){e+=Math.abs(this.components[0].getArea());for(var t=1,r=this.components.length;t0&&(r=parseFloat(e.toPrecision(t))),r},format:function(e,t,r,i){t=void 0!==t?t:0,r=void 0!==r?r:n.SuperMap.Number.thousandsSeparator,i=void 0!==i?i:n.SuperMap.Number.decimalSeparator,null!=t&&(e=parseFloat(e.toFixed(t)));var o=e.toString().split(".");1===o.length&&null==t&&(t=0);var a,s=o[0];if(r)for(var l=/(-?[0-9]+)([0-9]{3})/;l.test(s);)s=s.replace(l,"$1"+r+"$2");if(0==t)a=s;else{var u=o.length>1?o[1]:"0";null!=t&&(u+=new Array(t-u.length+1).join("0")),a=s+i+u}return a}};Number.prototype.limitSigDigs||(Number.prototype.limitSigDigs=function(e){return i.limitSigDigs(this,e)});t.FunctionExt=n.SuperMap.Function={bind:function(e,t){var r=Array.prototype.slice.apply(arguments,[2]);return function(){var n=r.concat(Array.prototype.slice.apply(arguments,[0]));return e.apply(t,n)}},bindAsEventListener:function(e,t){return function(r){return e.call(t,r||window.event)}},False:function(){return!1},True:function(){return!0},Void:function(){}},t.ArrayExt=n.SuperMap.Array={filter:function(e,t,r){var n=[];if(Array.prototype.filter)n=e.filter(t,r);else{var i=e.length;if("function"!=typeof t)throw new TypeError;for(var o=0;ol){var d=o[0];o.splice(0,1),delete i[d]}}}}if(this.renderer.render(),r&&this.isHoverAble&&this.isMultiHover){var v=this.getShapesByFeatureID(r);this.renderer.updateHoverShapes(v)}}},{key:"createThematicFeature",value:function(e){var t=s.CommonUtil.copyAttributesWithClip(this.style);e.style&&!0===this.isAllowFeatureStyle&&(t=s.CommonUtil.copyAttributesWithClip(e.style));var r={};r.nodesClipPixel=this.nodesClipPixel,r.isHoverAble=this.isHoverAble,r.isMultiHover=this.isMultiHover,r.isClickAble=this.isClickAble,r.highlightStyle=s.ShapeFactory.transformStyle(this.highlightStyle);for(var n=new s.ThemeVector(e,this,s.ShapeFactory.transformStyle(t),r),i=0;i0&&("stroke"==r.brushType||"both"==r.brushType)&&(n||(e.beginPath(),this.buildPath(e,r)),this.setCtxGlobalAlpha(e,"stroke",r),e.stroke(),this.setCtxGlobalAlpha(e,"reset",r)),this.drawText(e,r,this.style);var i=o.Util.cloneObject(r);if(i.pointList&&this.holePolygonPointLists&&this.holePolygonPointLists.length>0)for(var a=this.holePolygonPointLists,s=a.length,l=0;l0&&("stroke"==i.brushType||"both"==i.brushType)?(n||(e.beginPath(),this.buildPath(e,i)),e.globalCompositeOperation="source-over",this.setCtxGlobalAlpha(e,"stroke",i),e.stroke(),this.setCtxGlobalAlpha(e,"reset",i)):e.globalCompositeOperation="source-over"}e.restore()}},{key:"buildPath",value:function(e,t){t.showShadow&&(e.shadowBlur=t.shadowBlur,e.shadowColor=t.shadowColor,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY),this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition,n=t.pointList;if(!(n.length<2))if(t.smooth&&"spline"!==t.smooth){var i,o,s,l=a.SUtil.SUtil_smoothBezier(n,t.smooth,!0,t.smoothConstraint,r);e.moveTo(n[0][0]+r[0],n[0][1]+r[1]);for(var u=n.length,c=0;co&&(o=l[u][0]+r[0]),l[u][1]+r[1]s&&(s=l[u][1]+r[1]);return n="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(i-n/2),y:Math.round(a-n/2),width:o-i+n,height:s-a+n},e.__rect}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=t.Config=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)};n.EVENT={RESIZE:"resize",CLICK:"click",DBLCLICK:"dblclick",MOUSEWHEEL:"mousewheel",MOUSEMOVE:"mousemove",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",GLOBALOUT:"globalout",DRAGSTART:"dragstart",DRAGEND:"dragend",DRAGENTER:"dragenter",DRAGOVER:"dragover",DRAGLEAVE:"dragleave",DROP:"drop",touchClickDelay:300},n.catchBrushException=!1,n.debugMode=0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r-this.EPSILON&&ethis.EPSILON||e<-this.EPSILON}},{key:"cubicAt",value:function(e,t,r,n,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*n+3*o*r)}},{key:"cubicDerivativeAt",value:function(e,t,r,n,i){var o=1-i;return 3*(((t-e)*o+2*(r-t)*i)*o+(n-r)*i*i)}},{key:"cubicRootAt",value:function(e,t,r,n,i,o){var a=n+3*(t-r)-e,s=3*(r-2*t+e),l=3*(t-e),u=e-i,c=s*s-3*a*l,p=s*l-9*a*u,f=l*l-3*s*u,h=0;if(this.isAroundZero(c)&&this.isAroundZero(p))if(this.isAroundZero(s))o[0]=0;else{var y=-l/s;y>=0&&y<=1&&(o[h++]=y)}else{var d=p*p-4*c*f;if(this.isAroundZero(d)){var v=p/c,m=-s/a+v,b=-v/2;m>=0&&m<=1&&(o[h++]=m),b>=0&&b<=1&&(o[h++]=b)}else if(d>0){var g=Math.sqrt(d),S=c*s+1.5*a*(-p+g),_=c*s+1.5*a*(-p-g),P=(-s-((S=S<0?-Math.pow(-S,this.ONE_THIRD):Math.pow(S,this.ONE_THIRD))+(_=_<0?-Math.pow(-_,this.ONE_THIRD):Math.pow(_,this.ONE_THIRD))))/(3*a);P>=0&&P<=1&&(o[h++]=P)}else{var O=(2*c*s-3*a*p)/(2*Math.sqrt(c*c*c)),w=Math.acos(O)/3,T=Math.sqrt(c),M=Math.cos(w),C=(-s-2*T*M)/(3*a),x=(-s+T*(M+this.THREE_SQRT*Math.sin(w)))/(3*a),E=(-s+T*(M-this.THREE_SQRT*Math.sin(w)))/(3*a);C>=0&&C<=1&&(o[h++]=C),x>=0&&x<=1&&(o[h++]=x),E>=0&&E<=1&&(o[h++]=E)}}return h}},{key:"cubicExtrema",value:function(e,t,r,n,i){var o=6*r-12*t+6*e,a=9*t+3*n-3*e-9*r,s=3*t-3*e,l=0;if(this.isAroundZero(a)){if(this.isNotAroundZero(o)){var u=-s/o;u>=0&&u<=1&&(i[l++]=u)}}else{var c=o*o-4*a*s;if(this.isAroundZero(c))i[0]=-o/(2*a);else if(c>0){var p=Math.sqrt(c),f=(-o+p)/(2*a),h=(-o-p)/(2*a);f>=0&&f<=1&&(i[l++]=f),h>=0&&h<=1&&(i[l++]=h)}}return l}},{key:"cubicSubdivide",value:function(e,t,r,n,i,o){var a=(t-e)*i+e,s=(r-t)*i+t,l=(n-r)*i+r,u=(s-a)*i+a,c=(l-s)*i+s,p=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=p,o[4]=p,o[5]=c,o[6]=l,o[7]=n}},{key:"cubicProjectPoint",value:function(e,t,r,n,i,o,a,s,l,u,c){var p,f=this.vector.create(),h=this.vector.create(),y=this.vector.create(),d=.005,v=1/0;f[0]=l,f[1]=u;for(var m=0;m<1;m+=.05){h[0]=this.cubicAt(e,r,i,a,m),h[1]=this.cubicAt(t,n,o,s,m);var b=this.vector.distSquare(f,h);b=0&&P=0&&u<=1&&(i[l++]=u)}}else{var c=a*a-4*o*s;if(this.isAroundZero(c)){var p=-a/(2*o);p>=0&&p<=1&&(i[l++]=p)}else if(c>0){var f=Math.sqrt(c),h=(-a+f)/(2*o),y=(-a-f)/(2*o);h>=0&&h<=1&&(i[l++]=h),y>=0&&y<=1&&(i[l++]=y)}}return l}},{key:"quadraticExtremum",value:function(e,t,r){var n=e+r-2*t;return 0===n?.5:(e-t)/n}},{key:"quadraticProjectPoint",value:function(e,t,r,n,i,o,a,s,l){var u,c=this.vector.create(),p=this.vector.create(),f=this.vector.create(),h=.005,y=1/0;c[0]=a,c[1]=s;for(var d=0;d<1;d+=.05){p[0]=this.quadraticAt(e,r,i,d),p[1]=this.quadraticAt(t,n,o,d);var v=this.vector.distSquare(c,p);v=0&&S-5e-5&&e<5e-5}i.SUtil.Util_vector.sub(t,e,this.position),n(t[0])&&n(t[1])||(i.SUtil.Util_vector.normalize(t,t),r[2]=t[0]*this.scale[1],r[3]=t[1]*this.scale[1],r[0]=t[1]*this.scale[0],r[1]=-t[0]*this.scale[0],r[4]=this.position[0],r[5]=this.position[1],this.decomposeTransform())})}return n(e,[{key:"destroy",value:function(){this.position=null,this.rotation=null,this.scale=null,this.needLocalTransform=null,this.needTransform=null}},{key:"updateNeedTransform",value:function(){function e(e){return e>5e-5||e<-5e-5}this.needLocalTransform=e(this.rotation[0])||e(this.position[0])||e(this.position[1])||e(this.scale[0]-1)||e(this.scale[1]-1)}},{key:"updateTransform",value:function(){if(this.updateNeedTransform(),this.parent?this.needTransform=this.needLocalTransform||this.parent.needTransform:this.needTransform=this.needLocalTransform,this.needTransform){var e=[0,0],t=this.transform||i.SUtil.Util_matrix.create();if(i.SUtil.Util_matrix.identity(t),this.needLocalTransform){if(o(this.scale[0])||o(this.scale[1])){e[0]=-this.scale[2]||0,e[1]=-this.scale[3]||0;var r=o(e[0])||o(e[1]);r&&i.SUtil.Util_matrix.translate(t,t,e),i.SUtil.Util_matrix.scale(t,t,this.scale),r&&(e[0]=-e[0],e[1]=-e[1],i.SUtil.Util_matrix.translate(t,t,e))}if(this.rotation instanceof Array){if(0!==this.rotation[0]){e[0]=-this.rotation[1]||0,e[1]=-this.rotation[2]||0;var n=o(e[0])||o(e[1]);n&&i.SUtil.Util_matrix.translate(t,t,e),i.SUtil.Util_matrix.rotate(t,t,this.rotation[0]),n&&(e[0]=-e[0],e[1]=-e[1],i.SUtil.Util_matrix.translate(t,t,e))}}else 0!==this.rotation&&i.SUtil.Util_matrix.rotate(t,t,this.rotation);(o(this.position[0])||o(this.position[1]))&&i.SUtil.Util_matrix.translate(t,t,this.position)}this.transform=t,this.parent&&this.parent.needTransform&&(this.needLocalTransform?i.SUtil.Util_matrix.mul(this.transform,this.parent.transform,this.transform):i.SUtil.Util_matrix.copy(this.transform,this.parent.transform))}function o(e){return e>5e-5||e<-5e-5}}},{key:"setTransform",value:function(e){if(this.needTransform){var t=this.transform;e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}}},{key:"decomposeTransform",value:function(){if(this.transform){var e=this.transform,t=e[0]*e[0]+e[1]*e[1],r=this.position,n=this.scale,i=this.rotation;a(t-1)&&(t=Math.sqrt(t));var o=e[2]*e[2]+e[3]*e[3];a(o-1)&&(o=Math.sqrt(o)),r[0]=e[4],r[1]=e[5],n[0]=t,n[1]=o,n[2]=n[3]=0,i[0]=Math.atan2(-e[1]/o,e[0]/t),i[1]=i[2]=0}function a(e){return e>5e-5||e<-5e-5}}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sector=void 0;var n=function(){function e(e,t){for(var r=0;r0){e+='"points":[';for(var r=0,n=this.components.length;r0))return null;for(var u=0,c=0,p=[];u-1&&"?"===n?t+=r.getUrlParameters():t.indexOf("?")>-1&&"?"!==n?t+="&"+r.getUrlParameters():t+="?"+r.getUrlParameters()}return t}},{key:"getCredential",value:function(){var e,t=a.SecurityManager.getToken(this.serviceUrl);return(e=t?new s.Credential(t,"token"):null)||(e=(t=this.getKey())?new s.Credential(t,"key"):null),e}},{key:"getKey",value:function(){}}]),e}();i.SuperMap.iPortalServiceBase=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Vector=void 0;var n=function(){function e(e,t){for(var r=0;r© SuperMap iServer with © SuperMap iClient"}),canvasFunction:o,logo:n.logo,projection:n.projection,ratio:n.ratio,resolutions:n.resolutions,state:n.state}));function o(e,t,r,n,i){var o=n[0]*r,a=n[1]*r;if(this.context||(this.context=s.Util.createCanvasContext2D(o,a)),!this.features)return this.context.canvas;this.pixelRatio=r;var l=this.map.getSize()[0]*r,u=this.map.getSize()[1]*r;this.offset=[(o-l)/2/r,(a-u)/2/r],this.notFirst||(this.redrawThematicFeatures(e),this.notFirst=!0),this.div.id=this.id,this.div.className="themeLayer",this.div.style.width=o+"px",this.div.style.height=a+"px",this.map.getViewport().appendChild(this.div),this.renderer.resize(),this.map.getViewport().removeChild(this.div),this.themeCanvas=this.renderer.painter.root.getElementsByTagName("canvas")[0],this.themeCanvas.width=o,this.themeCanvas.height=a,this.themeCanvas.style.width=o+"px",this.themeCanvas.style.height=a+"px",this.themeCanvas.getContext("2d").clearRect(0,0,o,a);var c=this.renderer.painter._layers.hover.ctx.canvas,p=s.Util.createCanvasContext2D(o,a);p.drawImage(c,0,0,c.width,c.height,0,0,o,a),this.redrawThematicFeatures(e);var f=this.context.canvas;return this.context.clearRect(0,0,f.width,f.height),f.width=o,f.height=a,f.style.width=o+"px",f.style.height=a+"px",this.context.drawImage(this.themeCanvas,0,0,o,a,0,0,o,a),this.context.drawImage(p.canvas,0,0,o,a,0,0,o,a),this.context.canvas}i.id=n.id?n.id:l.CommonUtil.createUniqueID("themeLayer_"),i.canvasFunctionInternal_=o,i.EVENT_TYPES=["loadstart","loadend","loadcancel","visibilitychanged","move","moveend","added","removed","tileloaded","beforefeaturesadded","featuresadded","featuresremoved"],i.features=[],i.TFEvents=n.TFEvents||[],i.map=n.map;var u=i.map.getSize();return i.div=document.createElement("div"),i.map.getViewport().appendChild(i.div),i.div.style.width=u[0]+"px",i.div.style.height=u[1]+"px",i.setOpacity(n.opacity),i.levelRenderer=new l.LevelRenderer,i.movingOffset=[0,0],i.renderer=i.levelRenderer.init(i.div),i.map.getViewport().removeChild(i.div),i.renderer.clear(),i.addTFEvents(),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.source.ImageCanvas),i(t,[{key:"destroy",value:function(){this.EVENT_TYPES=null,this.isBaseLayer=null,this.TFEvents=null,this.destroyFeatures(),this.features=null,this.renderer&&this.renderer.dispose(),this.renderer=null,this.levelRenderer=null,this.movingOffset=null,this.currentMousePosition=null}},{key:"destroyFeatures",value:function(e){if(void 0==e&&(e=this.features),e){this.removeFeatures(e);for(var t=e.length-1;t>=0;t--)e[t].destroy()}}},{key:"setOpacity",value:function(e){if(e!==this.opacity){this.opacity=e;var t=this.div;l.CommonUtil.modifyDOMElement(t,null,null,null,null,null,null,e),null!==this.map&&this.dispatchEvent({type:"changelayer",value:{layer:this,property:"opacity"}})}}},{key:"addFeatures",value:function(e){}},{key:"removeFeatures",value:function(e){if(e&&0!==e.length){if(e===this.features)return this.removeAllFeatures();l.CommonUtil.isArray(e)||(e=[e]);for(var t=[],r=e.length-1;r>=0;r--){var n=e[r],i=l.CommonUtil.indexOf(this.features,n);-1!==i?this.features.splice(i,1):t.push(n)}for(var o=[],a=0,s=this.features.length;a1e-7?(1-e*e)*(t/(1-(r=e*t)*r)-.5/e*Math.log((1-r)/(1+r))):2*t}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){var o,a;o=e/t;for(var s=0;s<15;s++)if(o+=a=(e-(t*o-r*Math.sin(2*o)+n*Math.sin(4*o)-i*Math.sin(6*o)))/(t-2*r*Math.cos(2*o)+4*n*Math.cos(4*o)-6*i*Math.cos(6*o)),Math.abs(a)<=1e-10)return o;return NaN}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=t*r;return e/Math.sqrt(1-n*n)}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n;if(e=e||{},!t)return e;for(n in t)void 0!==(r=t[n])&&(e[n]=r);return e}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(360),o=r(90),a=r(356),s=r(353);function l(e,t){if(!(this instanceof l))return new l(e);t=t||function(e){if(e)throw e};var r=i(e);if("object"===(void 0===r?"undefined":n(r))){var a=s(r),u=l.projections.get(a.projName);u?(o(this,a),o(this,u),this.init(),t(null,this)):t(e)}else t(e)}l.projections=a,l.projections.start(),e.exports=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StyleUtils=void 0;var n,i=function(){function e(e,t){for(var r=0;r0&&m[m.length-1]}d=t.getProperties().attributes?t.getProperties().attributes[v]:t.getProperties()[v]}return t.getProperties().TEXT_FEATURE_CONTENT&&(d=t.getProperties().TEXT_FEATURE_CONTENT),d?this.toOLTextStyle(o,d):this.toOLPointStyle(this.getDefaultStyle("POINT"))}if(i){var b=i.fillSymbolID>7?0:i.fillSymbolID,g=i.lineSymbolID>5?0:i.lineSymbolID;for(var S in i){var _,P=l.StyleMap.ServerStyleMap[S],O=P.canvasStyle;if(O&&""!=O)switch(P.type){case"number":_=i[S],P.unit&&(_=_*s.SuperMap.DOTS_PER_INCH*s.SuperMap.INCHES_PER_UNIT[P.unit]*2.5),o[O]=_;break;case"color":var w=i[S],T=i.fillBackColor,M=1;if("fillStyle"===O)if(0===b||1===b)M=1-b,_="rgba("+w.red+","+w.green+","+w.blue+","+M+")";else try{var C=document.createElement("canvas");C.height=8,C.width=8;var x=C.getContext("2d"),E=new Image;this.layer&&this.layer.fillImages&&x.drawImage(this.layer.fillImages["System "+b],0,0);for(var k=x.getImageData(0,0,C.width,C.height),j=k.data,A=0,L=j.length;Ac&&(r*=c/(a=r+n),n*=c/a),i+o>c&&(i*=c/(a=i+o),o*=c/a),n+i>p&&(n*=p/(a=n+i),i*=p/a),r+o>p&&(r*=p/(a=r+o),o*=p/a),e.moveTo(l+r,u),e.lineTo(l+c-n,u),0!==n&&e.quadraticCurveTo(l+c,u,l+c,u+n),e.lineTo(l+c,u+p-i),0!==i&&e.quadraticCurveTo(l+c,u+p,l+c-i,u+p),e.lineTo(l+o,u+p),0!==o&&e.quadraticCurveTo(l,u+p,l,u+p-o),e.lineTo(l,u+r),0!==r&&e.quadraticCurveTo(l,u,l+r,u)}},{key:"buildPath",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition;t.radius?this._buildRadiusPath(e,t):(e.moveTo(t.x+r[0],t.y+r[1]),e.lineTo(t.x+r[0]+t.width,t.y+r[1]),e.lineTo(t.x+r[0]+t.width,t.y+r[1]+t.height),e.lineTo(t.x+r[0],t.y+r[1]+t.height),e.lineTo(t.x+r[0],t.y+r[1])),e.closePath()}},{key:"getRect",value:function(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,r=this.refOriginalPosition;return e.__rect?e.__rect:(t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x+r[0]-t/2),y:Math.round(e.y+r[1]-t/2),width:e.width+t,height:e.height+t},e.__rect)}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicImage=void 0;var n=function(){function e(e,t){for(var r=0;rn&&(n=l[0]),l[1]i&&(i=l[1]))}return e.__rect={x:t,y:r,width:n-t,height:i-r},e.__rect}},{key:"getRectNoRotation",value:function(e){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var t,r=this.refOriginalPosition,n=o.SUtil.Util_area.getTextHeight("ZH",e.textFont),i=o.SUtil.Util_area.getTextWidth(e.text,e.textFont),a=o.SUtil.Util_area.getTextHeight(e.text,e.textFont),s=e.x+r[0];"end"==e.textAlign||"right"==e.textAlign?s-=i:"center"==e.textAlign&&(s-=i/2),t="top"==e.textBaseline?e.y+r[1]:"bottom"==e.textBaseline?e.y+r[1]-a:e.y+r[1]-a/2;var l,u=!1;if(e.maxWidth){var c=parseInt(e.maxWidth);c-1&&(i+=l&&!0===u?n/3*(i/l):n/3));return{x:s,y:t,width:i,height:a}}},{key:"getTextBackground",value:function(e,t){this.refOriginalPosition&&2===this.refOriginalPosition.length||(this.refOriginalPosition=[0,0]);var r=this.refOriginalPosition;if((!t||!1===t)&&e.__textBackground)return e.__textBackground;var n=this.getRectNoRotation(e),i=e.x+r[0],o=e.y+r[1],a=[];if(e.textRotation&&0!==e.textRotation){var s=e.textRotation,l=this.getRotatedLocation(n.x,n.y,i,o,s),u=this.getRotatedLocation(n.x+n.width,n.y,i,o,s),c=this.getRotatedLocation(n.x+n.width,n.y+n.height,i,o,s),p=this.getRotatedLocation(n.x,n.y+n.height,i,o,s);a.push(l),a.push(u),a.push(c),a.push(p)}else{var f=[n.x,n.y],h=[n.x+n.width,n.y],y=[n.x+n.width,n.y+n.height],d=[n.x,n.y+n.height];a.push(f),a.push(h),a.push(y),a.push(d)}return e.__textBackground=a,e.__textBackground}},{key:"getRotatedLocation",value:function(e,t,r,n,i){var o,a,s=new Array;return t=-t,n=-n,i=-i,o=(e-r)*Math.cos(i/180*Math.PI)-(t-n)*Math.sin(i/180*Math.PI)+r,a=(e-r)*Math.sin(i/180*Math.PI)+(t-n)*Math.cos(i/180*Math.PI)+n,s[0]=o,s[1]=-a,s}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Color=void 0;var n=function(){function e(e,t){for(var r=0;r1)for(var i=0,o=n-1;i1?Math.ceil(e):e}),t.indexOf("hex")>-1)return"#"+((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1);if(t.indexOf("hs")>-1){var r=this.map(e.slice(1,3),function(e){return e+"%"});e[1]=r[0],e[2]=r[1]}return t.indexOf("a")>-1?(3===e.length&&e.push(1),e[3]=this.adjust(e[3],[0,1]),t+"("+e.slice(0,4).join(",")+")"):t+"("+e.slice(0,3).join(",")+")"}}},{key:"toArray",value:function(e){(e=this.trim(e)).indexOf("rgba")<0&&(e=this.toRGBA(e));var t=[],r=0;return e.replace(/[\d.]+/g,function(e){r<3?e|=0:e=+e,t[r++]=e}),t}},{key:"convert",value:function(e,t){if(!this.isCalculableColor(e))return e;var r=this.getData(e),n=r[3];return void 0===n&&(n=1),e.indexOf("hsb")>-1?r=this._HSV_2_RGB(r):e.indexOf("hsl")>-1&&(r=this._HSL_2_RGB(r)),t.indexOf("hsb")>-1||t.indexOf("hsv")>-1?r=this._RGB_2_HSB(r):t.indexOf("hsl")>-1&&(r=this._RGB_2_HSL(r)),r[3]=n,this.toColor(r,t)}},{key:"toRGBA",value:function(e){return this.convert(e,"rgba")}},{key:"toRGB",value:function(e){return this.convert(e,"rgb")}},{key:"toHex",value:function(e){return this.convert(e,"hex")}},{key:"toHSVA",value:function(e){return this.convert(e,"hsva")}},{key:"toHSV",value:function(e){return this.convert(e,"hsv")}},{key:"toHSBA",value:function(e){return this.convert(e,"hsba")}},{key:"toHSB",value:function(e){return this.convert(e,"hsb")}},{key:"toHSLA",value:function(e){return this.convert(e,"hsla")}},{key:"toHSL",value:function(e){return this.convert(e,"hsl")}},{key:"toName",value:function(e){for(var t in this._nameColors)if(this.toHex(this._nameColors[t])===this.toHex(e))return t;return null}},{key:"trim",value:function(e){return String(e).replace(/\s+/g,"")}},{key:"normalize",value:function(e){if(this._nameColors[e]&&(e=this._nameColors[e]),e=(e=this.trim(e)).replace(/hsv/i,"hsb"),/^#[\da-f]{3}$/i.test(e)){var t=(3840&(e=parseInt(e.slice(1),16)))<<8,r=(240&e)<<4,n=15&e;e="#"+((1<<24)+(t<<4)+t+(r<<4)+r+(n<<4)+n).toString(16).slice(1)}return e}},{key:"lift",value:function(e,t){if(!this.isCalculableColor(e))return e;var r=t>0?1:-1;void 0===t&&(t=0),t=Math.abs(t)>1?1:Math.abs(t),e=this.toRGB(e);for(var n=this.getData(e),i=0;i<3;i++)n[i]=1===r?n[i]*(1-t)|0:(255-n[i])*t+n[i]|0;return"rgb("+n.join(",")+")"}},{key:"reverse",value:function(e){if(!this.isCalculableColor(e))return e;var t=this.getData(this.toRGBA(e));return t=this.map(t,function(e){return 255-e}),this.toColor(t,"rgb")}},{key:"mix",value:function(e,t,r){if(!this.isCalculableColor(e)||!this.isCalculableColor(t))return e;void 0===r&&(r=.5);for(var n=2*(r=1-this.adjust(r,[0,1]))-1,i=this.getData(this.toRGBA(e)),o=this.getData(this.toRGBA(t)),a=i[3]-o[3],s=((n*a==-1?n:(n+a)/(1+n*a))+1)/2,l=1-s,u=[],c=0;c<3;c++)u[c]=i[c]*s+o[c]*l;var p=i[3]*r+o[3]*(1-r);return p=Math.max(0,Math.min(1,p)),1===i[3]&&1===o[3]?this.toColor(u,"rgb"):(u[3]=p,this.toColor(u,"rgba"))}},{key:"random",value:function(){return"#"+Math.random().toString(16).slice(2,8)}},{key:"getData",value:function(t){var r,n,i=(t=this.normalize(t)).match(this.colorRegExp);if(null===i)throw new Error("The color format error");var o,a=[];if(i[2])o=[(r=i[2].replace("#","").split(""))[0]+r[1],r[2]+r[3],r[4]+r[5]],a=this.map(o,function(t){return e.prototype.adjust.call(this,parseInt(t,16),[0,255])});else if(i[4]){var s=i[4].split(",");n=s[3],o=s.slice(0,3),a=this.map(o,function(t){return t=Math.floor(t.indexOf("%")>0?2.55*parseInt(t,0):t),e.prototype.adjust.call(this,t,[0,255])}),void 0!==n&&a.push(this.adjust(parseFloat(n),[0,1]))}else if(i[5]||i[6]){var l=(i[5]||i[6]).split(","),u=parseInt(l[0],0)/360,c=l[1],p=l[2];n=l[3],(a=this.map([c,p],function(t){return e.prototype.adjust.call(this,parseFloat(t)/100,[0,1])})).unshift(u),void 0!==n&&a.push(this.adjust(parseFloat(n),[0,1]))}return a}},{key:"alpha",value:function(e,t){if(!this.isCalculableColor(e))return e;null===t&&(t=1);var r=this.getData(this.toRGBA(e));return r[3]=this.adjust(Number(t).toFixed(4),[0,1]),this.toColor(r,"rgba")}},{key:"map",value:function(e,t){if("function"!=typeof t)throw new TypeError;for(var r=e?e.length:0,n=0;n=t[1]&&(e=t[1]),e}},{key:"isCalculableColor",value:function(e){return e instanceof Array||"string"==typeof e}},{key:"_HSV_2_RGB",value:function(e){var t,r,n,i=e[0],o=e[1],a=e[2];if(0===o)t=255*a,r=255*a,n=255*a;else{var s=6*i;6===s&&(s=0);var l=0|s,u=a*(1-o),c=a*(1-o*(s-l)),p=a*(1-o*(1-(s-l))),f=0,h=0,y=0;0===l?(f=a,h=p,y=u):1===l?(f=c,h=a,y=u):2===l?(f=u,h=a,y=p):3===l?(f=u,h=c,y=a):4===l?(f=p,h=u,y=a):(f=a,h=u,y=c),t=255*f,r=255*h,n=255*y}return[t,r,n]}},{key:"_HSL_2_RGB",value:function(e){var t,r,n,i=e[0],o=e[1],a=e[2];if(0===o)t=255*a,r=255*a,n=255*a;else{var s,l=2*a-(s=a<.5?a*(1+o):a+o-o*a);t=255*this._HUE_2_RGB(l,s,i+1/3),r=255*this._HUE_2_RGB(l,s,i),n=255*this._HUE_2_RGB(l,s,i-1/3)}return[t,r,n]}},{key:"_HUE_2_RGB",value:function(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),6*r<1?e+6*(t-e)*r:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}},{key:"_RGB_2_HSB",value:function(e){var t,r,n=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),l=s-a,u=s;if(0===l)t=0,r=0;else{r=l/s;var c=((s-n)/6+l/2)/l,p=((s-i)/6+l/2)/l,f=((s-o)/6+l/2)/l;n===s?t=f-p:i===s?t=1/3+c-f:o===s&&(t=2/3+p-c),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,r*=100,u*=100]}},{key:"_RGB_2_HSL",value:function(e){var t,r,n=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(n,i,o),s=Math.max(n,i,o),l=s-a,u=(s+a)/2;if(0===l)t=0,r=0;else{r=u<.5?l/(s+a):l/(2-s-a);var c=((s-n)/6+l/2)/l,p=((s-i)/6+l/2)/l,f=((s-o)/6+l/2)/l;n===s?t=f-p:i===s?t=1/3+c-f:o===s&&(t=2/3+p-c),t<0&&(t+=1),t>1&&(t-=1)}return[t*=360,r*=100,u*=100]}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicPoint=void 0;var n=function(){function e(e,t){for(var r=0;r0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.rangeExpression=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}}],[{key:"fromObj",value:function(e){if(e){var r=new t;o.Util.copy(r,e);var n=e.items,i=n?n.length:0;r.items=[];for(var a=0;a0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.defaultStyle&&(e.defaultStyle.destroy(),e.defaultStyle=null)}},{key:"toServerJSONObject",value:function(){var e={};if((e=o.Util.copyAttributes(e,this)).defaultStyle&&e.defaultStyle.toServerJSONObject&&(e.defaultStyle=e.defaultStyle.toServerJSONObject()),e.items){for(var t=[],r=e.items.length,n=0;n=0;e--)this.points[e].destroy();this.points=null}}}],[{key:"toObject",value:function(e,t){for(var r in e)"clipRegion"===r?t.clipRegion=s.ServerGeometry.fromGeometry(e.clipRegion):t[r]=e[r]}}]),t}();i.SuperMap.GeometryThiessenAnalystParameters=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeometryOverlayAnalystParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0&&r.push(","),r.push(this.writeNewline(),this.writeIndent(),t));return this.level-=1,r.push(this.writeNewline(),this.writeIndent(),"]"),r.join("")},string:function(e){var t={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return/["\\\x00-\x1f]/.test(e)?'"'+e.replace(/([\x00-\x1f\\"])/g,function(e,r){var n=t[r];return n||(n=r.charCodeAt(),"\\u00"+Math.floor(n/16).toString(16)+(n%16).toString(16))})+'"':'"'+e+'"'},number:function(e){return isFinite(e)?String(e):"null"},boolean:function(e){return String(e)},date:function(e){function t(e){return e<10?"0"+e:e}return'"'+e.getFullYear()+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())+"T"+t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds())+'"'}},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Format),i(t,[{key:"read",value:function(e,t){var r;if(this.nativeJSON)try{r=JSON.parse(e,t)}catch(e){}return this.keepData&&(this.data=r),r}},{key:"write",value:function(e,t){this.pretty=!!t;var r=null,i=void 0===e?"undefined":n(e);if(this.serialize[i])try{r=!this.pretty&&this.nativeJSON?JSON.stringify(e):this.serialize[i].apply(this,[e])}catch(e){}return r}},{key:"writeIndent",value:function(){var e=[];if(this.pretty)for(var t=0;t1&&(r=parseFloat(r)*p),n.labelAlign&&"cm"!==n.labelAlign)switch(n.labelAlign){case"lt":c.x+=t/2,c.y+=r/2;break;case"lm":c.x+=t/2;break;case"lb":c.x+=t/2,c.y-=r/2;break;case"ct":c.y+=r/2;break;case"cb":c.y-=r/2;break;case"rt":c.x-=t/2,c.y+=r/2;break;case"rm":c.x-=t/2;break;case"rb":c.x-=t/2,c.y-=r/2}return this.bsInfo.h=r,this.bsInfo.w=t,i=c.x-parseFloat(t)/2,o=c.y+parseFloat(r)/2,u=c.x+parseFloat(t)/2,l=c.y-parseFloat(r)/2,new a.Bounds(i,o,u,l)}},{key:"getLabelPxBoundsByText",value:function(e,t){var r,n,i,o,l=this.getLabelPxSize(t),u=s.Util.cloneObject(e);if(t.labelAlign&&"cm"!==t.labelAlign)switch(t.labelAlign){case"lt":u.x+=l.w/2,u.y+=l.h/2;break;case"lm":u.x+=l.w/2;break;case"lb":u.x+=l.w/2,u.y-=l.h/2;break;case"ct":u.y+=l.h/2;break;case"cb":u.y-=l.h/2;break;case"rt":u.x-=l.w/2,u.y+=l.h/2;break;case"rm":u.x-=l.w/2;break;case"rb":u.x-=l.w/2,u.y-=l.h/2}return this.bsInfo.h=l.h,this.bsInfo.w=l.w,r=u.x-l.w/2,n=u.y+l.h/2,o=t.fontStyle&&"italic"===t.fontStyle?u.x+l.w/2+parseInt(parseFloat(t.fontSize)/2):u.x+l.w/2,i=u.y-l.h/2,new a.Bounds(r,n,o,i)}},{key:"getLabelPxSize",value:function(e){var t,r,n,i,o=parseFloat(e.strokeWidth);t=e.label||this.text,r=e.fontSize?parseFloat(e.fontSize):parseFloat("12px");var a=t.split("\n"),l=a.length;i=l>1?r*l+l+o+.2*r:r+o+.2*r+1,n=0,this.labelWTmp&&n255?r++:n++;return t.cnC=r,t.enC=n,t.textC=e.length,t}}]),t}();i.SuperMap.Geometry.GeoText=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Curve=void 0;var n=r(0),i=r(42);var o=t.Curve=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.componentTypes=["SuperMap.Geometry.Point","SuperMap.PointWithMeasure"],r.CLASS_NAME="SuperMap.Geometry.Curve",r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.MultiPoint),t}();n.SuperMap.Geometry.Curve=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VectorTileStyles=void 0;var n,i=function(){function e(e,t){for(var r=0;re-n&&t.time=r.left&&a.x<=r.right&&a.y>=r.top&&a.y<=r.bottom){n=!0;break}}return n}},{key:"clearCache",value:function(){this.cache={},this.charts=[]}},{key:"removeFeatures",value:function(e){this.clearCache(),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeFeatures",this).call(this,e)}},{key:"removeAllFeatures",value:function(){this.clearCache(),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeAllFeatures",this).call(this)}},{key:"redraw",value:function(){return this.clearCache(),!!this.renderer&&(this.redrawThematicFeatures(this.map.getView().calculateExtent()),!0)}},{key:"clear",value:function(){this.renderer&&(this.renderer.clearAll(),this.renderer.refresh()),this.removeAllFeatures(),this.clearCache()}},{key:"canvasFunctionInternal_",value:function(e,t,r,n,i){return u.Theme.prototype.canvasFunctionInternal_.apply(this,arguments)}}]),t}();s.default.source.Graph=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataFlowService=void 0;var n,i=function(){function e(e,t){for(var r=0;r=0&&y.x<=c.x&&y.y>=0&&y.y<=c.y){if(r.style.minZoomLevel>-1&&p<=r.style.minZoomLevel)continue;if(r.style.maxZoomLevel>-1&&p>r.style.maxZoomLevel)continue;var d=null;r.isStyleChange?(r.isStyleChange=null,d=this.calculateLabelBounds(r,y)):d=r.geometry.bsInfo.w&&r.geometry.bsInfo.h?this.calculateLabelBounds2(r,y):this.calculateLabelBounds(r,y);var v=new l.Bounds(0,c.y,c.x,0),m=d.length;if(this.isAvoid){var b=this.getAvoidInfo(v,d);if(b){if("left"===b.aspectW){r.style.labelXOffset+=b.offsetX;for(var g=0;g=i[u].start&&a=i[u].start&&as&&(s=r,u="top")}if(t.y>e.bottom){var n=Math.abs(t.y-e.bottom);n>s&&(s=n,u="bottom")}if(t.xa&&(a=i,c="left")}if(t.x>e.right){var o=Math.abs(t.x-e.right);o>a&&(a=o,c="right")}}}}},{key:"isQuadrilateralOverLap",value:function(e,t){var r=e.length,n=t.length;if(5!==r||5!==n)return null;for(var i=!1,o=0;o0&&r.attributes){var n=this.themeField,i=r.attributes,o=this.styleGroups,a=!1,l=null;for(var u in i)if(n===u){a=!0,l=i[u];break}if(a)for(var c=0,p=o.length;c=o[c].start&&l0&&r.attributes){var n=this.themeField,i=r.attributes,o=this.styleGroups,a=!1,l=null;for(var u in i)if(n===u){a=!0,l=i[u];break}if(a)for(var c=0,p=o.length;c=6)return 95;if(Math.abs(r)60)return null;var o,a,s,l,u,c,p,y,d=6378137,v=(1-Math.sqrt(.99330562))/(1+Math.sqrt(.99330562)),m=r-5e5,b=t;n<"N"&&(b-=1e7),c=6*(i-1)-180+3,y=(p=b/.9996/6367449.145945056)+(3*v/2-27*v*v*v/32)*Math.sin(2*p)+(21*v*v/16-55*v*v*v*v/32)*Math.sin(4*p)+151*v*v*v/96*Math.sin(6*p),o=d/Math.sqrt(1-.00669438*Math.sin(y)*Math.sin(y)),a=Math.tan(y)*Math.tan(y),s=.006739496752268451*Math.cos(y)*Math.cos(y),l=.99330562*d/Math.pow(1-.00669438*Math.sin(y)*Math.sin(y),1.5),u=m/(.9996*o);var g=y-o*Math.tan(y)/l*(u*u/2-(5+3*a+10*s-4*s*s-.06065547077041606)*u*u*u*u/24+(61+90*a+298*s+45*a*a-1.6983531815716497-3*s*s)*u*u*u*u*u*u/720);g=f(g);var S,_=(u-(1+2*a+s)*u*u*u/6+(5-2*s+28*a-3*s*s+.05391597401814761+24*a*a)*u*u*u*u*u/120)/Math.cos(y);if(_=c+f(_),e.accuracy){var P=h({northing:e.northing+e.accuracy,easting:e.easting+e.accuracy,zoneLetter:e.zoneLetter,zoneNumber:e.zoneNumber});S={top:P.lat,right:P.lon,bottom:g,left:_}}else S={lat:g,lon:_};return S}function y(e){var t=e%n;return 0===t&&(t=n),t}function d(e){if(e&&0===e.length)throw"MGRSPoint coverting from nothing";for(var t,r=e.length,n=null,p="",f=0;!/[A-Z]/.test(t=e.charAt(f));){if(f>=2)throw"MGRSPoint bad conversion from: "+e;p+=t,f++}var h=parseInt(p,10);if(0===f||f+3>r)throw"MGRSPoint bad conversion from: "+e;var d=e.charAt(f++);if(d<="A"||"B"===d||"Y"===d||d>="Z"||"I"===d||"O"===d)throw"MGRSPoint zone letter "+d+" not handled: "+e;n=e.substring(f,f+=2);for(var m=y(h),b=function(e,t){var r=i.charCodeAt(t-1),n=1e5,o=!1;for(;r!==e.charCodeAt(0);){if(++r===s&&r++,r===l&&r++,r>c){if(o)throw"Bad character: "+e;r=a,o=!0}n+=1e5}return n}(n.charAt(0),m),g=function(e,t){if(e>"V")throw"MGRSPoint given invalid Northing "+e;var r=o.charCodeAt(t-1),n=0,i=!1;for(;r!==e.charCodeAt(0);){if(++r===s&&r++,r===l&&r++,r>u){if(i)throw"Bad character: "+e;r=a,i=!0}n+=1e5}return n}(n.charAt(1),m);g0&&(_=1e5/Math.pow(10,w),P=e.substring(f,f+w),T=parseFloat(P)*_,O=e.substring(f+w),M=parseFloat(O)*_),{easting:T+b,northing:M+g,zoneLetter:d,zoneNumber:h,accuracy:_}}function v(e){var t;switch(e){case"C":t=11e5;break;case"D":t=2e6;break;case"E":t=28e5;break;case"F":t=37e5;break;case"G":t=46e5;break;case"H":t=55e5;break;case"J":t=64e5;break;case"K":t=73e5;break;case"L":t=82e5;break;case"M":t=91e5;break;case"N":t=0;break;case"P":t=8e5;break;case"Q":t=17e5;break;case"R":t=26e5;break;case"S":t=35e5;break;case"T":t=44e5;break;case"U":t=53e5;break;case"V":t=62e5;break;case"W":t=7e6;break;case"X":t=79e5;break;default:t=-1}if(t>=0)return t;throw"Invalid zone letter: "+e}t.forward=function(e,t){return t=t||5,function(e,t){var r="00000"+e.easting,n="00000"+e.northing;return e.zoneNumber+e.zoneLetter+(_=e.easting,P=e.northing,O=e.zoneNumber,w=y(O),T=Math.floor(_/1e5),M=Math.floor(P/1e5)%20,p=T,f=M,h=w,d=h-1,v=i.charCodeAt(d),m=o.charCodeAt(d),b=v+p-1,g=m+f,S=!1,b>c&&(b=b-c+a-1,S=!0),(b===s||vs||(b>s||vl||(b>l||vc&&(b=b-c+a-1),g>u?(g=g-u+a-1,S=!0):S=!1,(g===s||ms||(g>s||ml||(g>l||mu&&(g=g-u+a-1),String.fromCharCode(b)+String.fromCharCode(g))+r.substr(r.length-5,t)+n.substr(n.length-5,t);var p,f,h,d,v,m,b,g,S;var _,P,O,w,T,M}(function(e){var t,r,n,i,o,a,s,l=e.lat,u=e.lon,c=6378137,f=p(l),h=p(u);s=Math.floor((u+180)/6)+1,180===u&&(s=60);l>=56&&l<64&&u>=3&&u<12&&(s=32);l>=72&&l<84&&(u>=0&&u<9?s=31:u>=9&&u<21?s=33:u>=21&&u<33?s=35:u>=33&&u<42&&(s=37));a=p(6*(s-1)-180+3),.006739496752268451,t=c/Math.sqrt(1-.00669438*Math.sin(f)*Math.sin(f)),r=Math.tan(f)*Math.tan(f),n=.006739496752268451*Math.cos(f)*Math.cos(f),i=Math.cos(f)*(h-a),o=c*(.9983242984503243*f-.002514607064228144*Math.sin(2*f)+2639046602129982e-21*Math.sin(4*f)-3.418046101696858e-9*Math.sin(6*f));var y=.9996*t*(i+(1-r+n)*i*i*i/6+(5-18*r+r*r+72*n-.39089081163157013)*i*i*i*i*i/120)+5e5,d=.9996*(o+t*Math.tan(f)*(i*i/2+(5-r+9*n+4*n*n)*i*i*i*i/24+(61-58*r+r*r+600*n-2.2240339282485886)*i*i*i*i*i*i/720));l<0&&(d+=1e7);return{northing:Math.round(d),easting:Math.round(y),zoneNumber:s,zoneLetter:function(e){var t="Z";84>=e&&e>=72?t="X":72>e&&e>=64?t="W":64>e&&e>=56?t="V":56>e&&e>=48?t="U":48>e&&e>=40?t="T":40>e&&e>=32?t="S":32>e&&e>=24?t="R":24>e&&e>=16?t="Q":16>e&&e>=8?t="P":8>e&&e>=0?t="N":0>e&&e>=-8?t="M":-8>e&&e>=-16?t="L":-16>e&&e>=-24?t="K":-24>e&&e>=-32?t="J":-32>e&&e>=-40?t="H":-40>e&&e>=-48?t="G":-48>e&&e>=-56?t="F":-56>e&&e>=-64?t="E":-64>e&&e>=-72?t="D":-72>e&&e>=-80&&(t="C");return t}(l)}}({lat:e[1],lon:e[0]}),t)},t.inverse=function(e){var t=h(d(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat,t.lon,t.lat]:[t.left,t.bottom,t.right,t.top]},t.toPoint=function(e){var t=h(d(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat]:[(t.left+t.right)/2,(t.top+t.bottom)/2]}},function(e,t,r){"use strict";e.exports=function(e){var t={x:e[0],y:e[1]};return e.length>2&&(t.z=e[2]),e.length>3&&(t.m=e[3]),t}},function(e,t,r){"use strict";var n=.017453292519943295,i=57.29577951308232,o=1,a=2,s=r(349),l=r(348),u=r(91),c=r(137);e.exports=function e(t,r,p){var f;function h(e,t){return(e.datum.datum_type===o||e.datum.datum_type===a)&&"WGS84"!==t.datumCode}return Array.isArray(p)&&(p=c(p)),t.datum&&r.datum&&(h(t,r)||h(r,t))&&(e(t,f=new u("WGS84"),p),t=f),"enu"!==t.axis&&l(t,!1,p),"longlat"===t.projName?(p.x*=n,p.y*=n):(t.to_meter&&(p.x*=t.to_meter,p.y*=t.to_meter),t.inverse(p)),t.from_greenwich&&(p.x+=t.from_greenwich),p=s(t.datum,r.datum,p),r.from_greenwich&&(p.x-=r.from_greenwich),"longlat"===r.projName?(p.x*=i,p.y*=i):(r.forward(p),r.to_meter&&(p.x/=r.to_meter,p.y/=r.to_meter)),"enu"!==r.axis&&l(r,!0,p),p}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=.017453292519943295,o=r(90);function a(e,t,r){e[t]=r.map(function(e){var t={};return s(e,t),t}).reduce(function(e,t){return o(e,t)},{})}function s(e,t){var r;Array.isArray(e)?("PARAMETER"===(r=e.shift())&&(r=e.shift()),1===e.length?Array.isArray(e[0])?(t[r]={},s(e[0],t[r])):t[r]=e[0]:e.length?"TOWGS84"===r?t[r]=e:(t[r]={},["UNIT","PRIMEM","VERT_DATUM"].indexOf(r)>-1?(t[r]={name:e[0].toLowerCase(),convert:e[1]},3===e.length&&(t[r].auth=e[2])):"SPHEROID"===r?(t[r]={name:e[0],a:e[1],rf:e[2]},4===e.length&&(t[r].auth=e[3])):["GEOGCS","GEOCCS","DATUM","VERT_CS","COMPD_CS","LOCAL_CS","FITTED_CS","LOCAL_DATUM"].indexOf(r)>-1?(e[0]=["name",e[0]],a(t,r,e)):e.every(function(e){return Array.isArray(e)})?a(t,r,e):s(e,t[r])):t[r]=!0):t[e]=!0}function l(e){return e*i}e.exports=function(e,t){var r=JSON.parse((","+e).replace(/\s*\,\s*([A-Z_0-9]+?)(\[)/g,',["$1",').slice(1).replace(/\s*\,\s*([A-Z_0-9]+?)\]/g,',"$1"]').replace(/,\["VERTCS".+/,"")),i=r.shift(),a=r.shift();r.unshift(["name",a]),r.unshift(["type",i]),r.unshift("output");var u={};return s(r,u),function(e){function t(t){var r=e.to_meter||1;return parseFloat(t,10)*r}"GEOGCS"===e.type?e.projName="longlat":"LOCAL_CS"===e.type?(e.projName="identity",e.local=!0):"object"===n(e.PROJECTION)?e.projName=Object.keys(e.PROJECTION)[0]:e.projName=e.PROJECTION,e.UNIT&&(e.units=e.UNIT.name.toLowerCase(),"metre"===e.units&&(e.units="meter"),e.UNIT.convert&&("GEOGCS"===e.type?e.DATUM&&e.DATUM.SPHEROID&&(e.to_meter=parseFloat(e.UNIT.convert,10)*e.DATUM.SPHEROID.a):e.to_meter=parseFloat(e.UNIT.convert,10))),e.GEOGCS&&(e.GEOGCS.DATUM?e.datumCode=e.GEOGCS.DATUM.name.toLowerCase():e.datumCode=e.GEOGCS.name.toLowerCase(),"d_"===e.datumCode.slice(0,2)&&(e.datumCode=e.datumCode.slice(2)),"new_zealand_geodetic_datum_1949"!==e.datumCode&&"new_zealand_1949"!==e.datumCode||(e.datumCode="nzgd49"),"wgs_1984"===e.datumCode&&("Mercator_Auxiliary_Sphere"===e.PROJECTION&&(e.sphere=!0),e.datumCode="wgs84"),"_ferro"===e.datumCode.slice(-6)&&(e.datumCode=e.datumCode.slice(0,-6)),"_jakarta"===e.datumCode.slice(-8)&&(e.datumCode=e.datumCode.slice(0,-8)),~e.datumCode.indexOf("belge")&&(e.datumCode="rnb72"),e.GEOGCS.DATUM&&e.GEOGCS.DATUM.SPHEROID&&(e.ellps=e.GEOGCS.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===e.ellps.toLowerCase().slice(0,13)&&(e.ellps="intl"),e.a=e.GEOGCS.DATUM.SPHEROID.a,e.rf=parseFloat(e.GEOGCS.DATUM.SPHEROID.rf,10)),~e.datumCode.indexOf("osgb_1936")&&(e.datumCode="osgb36")),e.b&&!isFinite(e.b)&&(e.b=e.a),[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_2","Standard_Parallel_2"],["false_easting","False_Easting"],["false_northing","False_Northing"],["central_meridian","Central_Meridian"],["latitude_of_origin","Latitude_Of_Origin"],["latitude_of_origin","Central_Parallel"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",l],["longitude_of_center","Longitude_Of_Center"],["longc","longitude_of_center",l],["x0","false_easting",t],["y0","false_northing",t],["long0","central_meridian",l],["lat0","latitude_of_origin",l],["lat0","standard_parallel_1",l],["lat1","standard_parallel_1",l],["lat2","standard_parallel_2",l],["alpha","azimuth",l],["srsCode","name"]].forEach(function(t){return r=e,i=(n=t)[0],o=n[1],void(!(i in r)&&o in r&&(r[i]=r[o],3===n.length&&(r[i]=n[2](r[i]))));var r,n,i,o}),e.long0||!e.longc||"Albers_Conic_Equal_Area"!==e.projName&&"Lambert_Azimuthal_Equal_Area"!==e.projName||(e.long0=e.longc),e.lat_ts||!e.lat1||"Stereographic_South_Pole"!==e.projName&&"Polar Stereographic (variant B)"!==e.projName||(e.lat0=l(e.lat1>0?90:-90),e.lat_ts=e.lat1)}(u.output),o(t,u.output)}},function(e,t,r){"use strict";var n=.017453292519943295,i=r(358),o=r(357);e.exports=function(e){var t,r,a,s={},l={};e.split("+").map(function(e){return e.trim()}).filter(function(e){return e}).forEach(function(e){var t=e.split("=");t.push(!0),l[t[0].toLowerCase()]=t[1]});var u={proj:"projName",datum:"datumCode",rf:function(e){s.rf=parseFloat(e)},lat_0:function(e){s.lat0=e*n},lat_1:function(e){s.lat1=e*n},lat_2:function(e){s.lat2=e*n},lat_ts:function(e){s.lat_ts=e*n},lon_0:function(e){s.long0=e*n},lon_1:function(e){s.long1=e*n},lon_2:function(e){s.long2=e*n},alpha:function(e){s.alpha=parseFloat(e)*n},lonc:function(e){s.longc=e*n},x_0:function(e){s.x0=parseFloat(e)},y_0:function(e){s.y0=parseFloat(e)},k_0:function(e){s.k0=parseFloat(e)},k:function(e){s.k0=parseFloat(e)},a:function(e){s.a=parseFloat(e)},b:function(e){s.b=parseFloat(e)},r_a:function(){s.R_A=!0},zone:function(e){s.zone=parseInt(e,10)},south:function(){s.utmSouth=!0},towgs84:function(e){s.datum_params=e.split(",").map(function(e){return parseFloat(e)})},to_meter:function(e){s.to_meter=parseFloat(e)},units:function(e){s.units=e,o[e]&&(s.to_meter=o[e].to_meter)},from_greenwich:function(e){s.from_greenwich=e*n},pm:function(e){s.from_greenwich=(i[e]?i[e]:parseFloat(e))*n},nadgrids:function(e){"@null"===e?s.datumCode="none":s.nadgrids=e},axis:function(e){3===e.length&&-1!=="ewnsud".indexOf(e.substr(0,1))&&-1!=="ewnsud".indexOf(e.substr(1,1))&&-1!=="ewnsud".indexOf(e.substr(2,1))&&(s.axis=e)}};for(t in l)r=l[t],t in u?"function"==typeof(a=u[t])?a(r):s[a]=r:s[t]=r;return"string"==typeof s.datumCode&&"WGS84"!==s.datumCode&&(s.datumCode=s.datumCode.toLowerCase()),s}},function(e,t,r){"use strict";var n=r(359),i=r(140),o=r(139);function a(e){var t=this;if(2===arguments.length){var r=arguments[1];"string"==typeof r?"+"===r.charAt(0)?a[e]=i(arguments[1]):a[e]=o(arguments[1]):a[e]=r}else if(1===arguments.length){if(Array.isArray(e))return e.map(function(e){Array.isArray(e)?a.apply(t,e):a(e)});if("string"==typeof e){if(e in a)return a[e]}else"EPSG"in e?a["EPSG:"+e.EPSG]=e:"ESRI"in e?a["ESRI:"+e.ESRI]=e:"IAU2000"in e?a["IAU2000:"+e.IAU2000]=e:console.log(e);return}}n(a),e.exports=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tianditu=void 0;var n,i=function(){function e(e,t){for(var r=0;r with © SuperMap iClient"});r.layerType=r.layerType||"vec",r.layerType=r.isLabel?a.default.source.Tianditu.layerLabelMap[r.layerType]:r.layerType,r.matrixSet="EPSG:4326"===r.projection||"EPSG:4490"===r.projection?"c":"w",r.url||r.urls||(r.url="http://t{0-7}.tianditu.com/{layer}_{proj}/wmts?"),r.url=r.url.replace("{layer}",r.layerType).replace("{proj}",r.matrixSet);var i=r.tileGrid||a.default.source.Tianditu.getTileGrid(r.projection||"EPSG:3857"),o={version:r.version||"1.0.0",format:r.format||"tiles",dimensions:r.dimensions||{},layer:r.layerType,matrixSet:r.matrixSet,tileGrid:i,style:r.style||"default",attributions:n,cacheSize:r.cacheSize,crossOrigin:r.crossOrigin,opaque:void 0===r.opaque||r.opaque,maxZoom:a.default.source.Tianditu.layerZoomMap[r.layerType],reprojectionErrorThreshold:r.reprojectionErrorThreshold,url:r.url,urls:r.urls,projection:r.projection||"EPSG:3857",wrapX:r.wrapX};r.tileProxy&&(o.tileLoadFunction=function(e,t){e.getImage().src=l.tileProxy+encodeURIComponent(t)});var s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,o));r.tileProxy&&(s.tileProxy=r.tileProxy);var l=s;return s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.source.WMTS),i(t,null,[{key:"getTileGrid",value:function(e){return"EPSG:4326"===e||"EPSG:4490"===e?a.default.source.Tianditu.default4326TileGrid():a.default.source.Tianditu.default3857TileGrid()}},{key:"default4326TileGrid",value:function(){for(var e=[],t=[],r=1;r<19;r++)e.push(1.40625/Math.pow(2,r)),t.push(r);return new a.default.tilegrid.WMTS({extent:[-180,-90,180,90],resolutions:e,origin:[-180,90],matrixIds:t,minZoom:1})}},{key:"default3857TileGrid",value:function(){for(var e=[],t=[],r=1;r<19;r++)e.push(156543.03392804062/Math.pow(2,r)),t.push(r);return new a.default.tilegrid.WMTS({extent:[-20037508.3427892,-20037508.3427892,20037508.3427892,20037508.3427892],resolutions:e,matrixIds:t,origin:[-20037508.3427892,20037508.3427892],minZoom:1})}}]),t}();a.default.source.Tianditu=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MapExtend=void 0;var n,i=r(3),o=(n=i)&&n.__esModule?n:{default:n};t.MapExtend=(o.default.Map.prototype.forEachFeatureAtPixelDefault=o.default.Map.prototype.forEachFeatureAtPixel,void(o.default.Map.prototype.forEachFeatureAtPixel=function(e,t,r){for(var n=r&&r.layerFilter?r.layerFilter:function(){return!0},i=this.getLayers().getArray(),o=this.getView().getResolution(),a=this.getCoordinateFromPixel(e),s=0;s"+r+"",e}.call(r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.control.Control),t}();o.default.supermap.control.Logo=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MapService=void 0;var n,i=function(){function e(e,t){for(var r=0;r=0&&this._clips.splice(t,1)}},{key:"_update",value:function(){for(var e=(new Date).getTime(),t=e-this._time,r=this._clips,n=r.length,i=[],o=[],a=0;a=0&&!(b[O]<=a);O--);O=Math.min(O,f-2)}else{for(O=E;Oa);O++);O=Math.min(O-1,f-2)}E=O,k=a;var s=b[O+1]-b[O];if(0!==s){if(w=(a-b[O])/s,o)if(M=g[O],T=g[0===O?O:O-1],C=g[O>f-2?f-1:O+1],x=g[O>f-3?f-1:O+2],y)p._catmullRomInterpolateArray(T,M,C,x,w,w*w,w*w*w,n(e,c),v);else{var l=void 0;l=d?p.rgba2String(j):p._catmullRomInterpolate(T,M,C,x,w,w*w,w*w*w),r(e,c,l)}else if(y)p._interpolateArray(g[O],g[O+1],w,n(e,c),v);else{var u=void 0;d?(p._interpolateArray(g[O],g[O+1],w,j,1),u=p.rgba2String(j)):u=p._interpolateNumber(g[O],g[O+1],w),r(e,c,u)}for(O=0;O0?1.1:1/1.1,r=this.painter.getLayers(),n=!1;for(var i in r)if("hover"!==i){var a=r[i],s=a.position;if(a.zoomable){a.__zoom=a.__zoom||1;var l=a.__zoom;l*=t,t=(l=Math.max(Math.min(a.maxZoom,l),a.minZoom))/a.__zoom,a.__zoom=l,s[0]-=(this._mouseX-s[0])*(t-1),s[1]-=(this._mouseY-s[1])*(t-1),a.scale[0]*=t,a.scale[1]*=t,a.dirty=!0,n=!0}}n&&this.painter.refresh(),this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEWHEEL,e),this._mousemoveHandler(e)},mousemove:function(e){this._clickThreshold++,e=this._zrenderEventFixed(e),this._lastX=this._mouseX,this._lastY=this._mouseY,this._mouseX=a.SUtil.Util_event.getX(e),this._mouseY=a.SUtil.Util_event.getY(e);var t=this._mouseX-this._lastX,r=this._mouseY-this._lastY;this._processDragStart(e),this._hasfound=0,this._event=e,this._iterateAndFindHover(),this._hasfound||((!this._draggingTarget||this._lastHover&&this._lastHover!=this._draggingTarget)&&(this._processOutShape(e),this._processDragLeave(e)),this._lastHover=null,this.storage.delHover(),this.painter.clearHover());var n="";if(this._draggingTarget)this.storage.drift(this._draggingTarget.id,t,r),this._draggingTarget.modSelf(),this.storage.addHover(this._draggingTarget);else if(this._isMouseDown){var i=this.painter.getLayers(),s=!1;for(var l in i)if("hover"!==l){var u=i[l];u.panable&&(n="move",u.position[0]+=t,u.position[1]+=r,s=!0,u.dirty=!0)}s&&this.painter.refresh()}this._draggingTarget||this._hasfound&&this._lastHover.draggable?n="move":this._hasfound&&this._lastHover.clickable&&(n="pointer"),this.root.style.cursor=n,this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEMOVE,e),(this._draggingTarget||this._hasfound||this.storage.hasHoverShape())&&this.painter.refreshHover()},mouseout:function(e){var t=(e=this._zrenderEventFixed(e)).toElement||e.relatedTarget;if(t!=this.root)for(;t&&9!=t.nodeType;){if(t==this.root)return void this._mousemoveHandler(e);t=t.parentNode}e.zrenderX=this._lastX,e.zrenderY=this._lastY,this.root.style.cursor="",this._isMouseDown=0,this._processOutShape(e),this._processDrop(e),this._processDragEnd(e),this.painter.refreshHover(),this.dispatch(o.Config.EVENT.GLOBALOUT,e)},mousedown:function(e){if(this._clickThreshold=0,2==this._lastDownButton)return this._lastDownButton=e.button,void(this._mouseDownTarget=null);this._lastMouseDownMoment=new Date,e=this._zrenderEventFixed(e),this._isMouseDown=1,this._mouseDownTarget=this._lastHover,this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEDOWN,e),this._lastDownButton=e.button},mouseup:function(e){e=this._zrenderEventFixed(e),this.root.style.cursor="",this._isMouseDown=0,this._mouseDownTarget=null,this._dispatchAgency(this._lastHover,o.Config.EVENT.MOUSEUP,e),this._processDrop(e),this._processDragEnd(e)},touchstart:function(e){e=this._zrenderEventFixed(e,!0),this._lastTouchMoment=new Date,this._mobildFindFixed(e),this._mousedownHandler(e)},touchmove:function(e){e=this._zrenderEventFixed(e,!0),this._mousemoveHandler(e),this._isDragging&&a.SUtil.Util_event.stop(e)},touchend:function(e){e=this._zrenderEventFixed(e,!0),this._mouseupHandler(e);var t=new Date;t-this._lastTouchMoment=0;i--){var o=r[i];if(void 0!==o.zlevel&&(e=this.painter.getLayer(o.zlevel,e),n[0]=this._mouseX,n[1]=this._mouseY,e.needTransform&&(a.SUtil.Util_matrix.invert(t,e.transform),a.SUtil.Util_vector.applyTransform(n,n,t))),this._findHover(o,n[0],n[1]))break}}},{key:"_mobildFindFixed",value:function(e){var t=[{x:10},{x:-20},{x:10,y:10},{y:-20}];this._lastHover=null,this._mouseX=e.zrenderX,this._mouseY=e.zrenderY,this._event=e,this._iterateAndFindHover();for(var r=0;!this._lastHover&&r0&&e>this._zlevelList[0]){for(i=0;ie);i++);n=this._layers[this._zlevelList[i]]}this._zlevelList.splice(i+1,0,e),t=new f(a.Util.createUniqueID("_levelLayer_"+e),this);var o=n?n.dom:this._bgDom;o.nextSibling?o.parentNode.insertBefore(t.dom,o.nextSibling):o.parentNode.appendChild(t.dom),t.initContext(),this._layers[e]=t,this._layerConfig[e]&&(new s.Util).merge(t,this._layerConfig[e],!0),t.updateTransform()}return t}},{key:"getLayers",value:function(){return this._layers}},{key:"_updateLayerStatus",value:function(e){var t=this._layers,r={};for(var n in t)"hover"!==n&&(r[n]=t[n].elCount,t[n].elCount=0);for(var i=0;i0}},{key:"addRoot",value:function(e){e instanceof o.Group&&e.addChildrenToStorage(this),this.addToMap(e),this._roots.push(e)}},{key:"delRoot",value:function(e){if(void 0===e){for(var t=0;t=0&&(this.delFromMap(s.id),this._roots.splice(l,1),s instanceof o.Group&&s.delChildrenFromStorage(this))}}},{key:"addToMap",value:function(e){return e instanceof o.Group&&(e._storage=this),e.modSelf(),this._elements[e.id]=e,this}},{key:"get",value:function(e){return this._elements[e]}},{key:"delFromMap",value:function(e){var t=this._elements[e];return t&&(delete this._elements[e],t instanceof o.Group&&(t._storage=null)),this}},{key:"dispose",value:function(){this._elements=null,this._roots=null,this._hoverElements=null}}],[{key:"shapeCompareFunc",value:function(e,t){return e.zlevel==t.zlevel?e.z==t.z?e.__renderidx-t.__renderidx:e.z-t.z:e.zlevel-t.zlevel}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Render=void 0;var n=function(){function e(e,t){for(var r=0;r=s[2]||s[1]<=s[3])&&(this.DVBOrigonPoint=[s[0],s[3]],this.DVBWidth=Math.abs(s[2]-s[0]),this.DVBHeight=Math.abs(s[1]-s[3]),this.DVBCenterPoint=[this.DVBOrigonPoint[0]+this.DVBWidth/2,this.DVBOrigonPoint[1]+this.DVBHeight/2],this.origonPointOffset=[this.DVBOrigonPoint[0]-i[0],this.DVBOrigonPoint[1]-i[1]],!0)}}]),t}();i.SuperMap.Feature.Theme.RankSymbol=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicSector=void 0;var n=function(){function e(e,t){for(var r=0;r1?o.SUtil.Util_computeBoundingBox.arc(s,l,u,p,f,!h,r,i):(r[0]=i[0]=s,r[1]=i[1]=l),o.SUtil.Util_computeBoundingBox.arc(s,l,c,p,f,!h,n,a),o.SUtil.Util_vector.min(r,r,n),o.SUtil.Util_vector.max(i,i,a),e.__rect={x:r[0],y:r[1],width:i[0]-r[0],height:i[1]-r[1]},e.__rect}}]),t}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmicCircle=void 0;var n=function(){function e(e,t){for(var r=0;r1)for(var t in arguments)console.log(arguments[t])}}return n(e,[{key:"destory",value:function(){return!0}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;r=200&&o.status<300||304===o.status?t&&t(o.responseText):r&&r(),o.onreadystatechange=new Function,o=null)},o.send(null)}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;ri&&(i=l[0]),l[1]a&&(a=l[1])}t[0]=n,t[1]=o,r[0]=i,r[1]=a}}},{key:"cubeBezier",value:function(e,t,r,n,o,a){var s=new i.Curve,l=[];s.cubicExtrema(e[0],t[0],r[0],n[0],l);for(var u=0;ui&&!a?i+=2*Math.PI:nn&&(f[0]=Math.cos(y)*r+e,f[1]=Math.sin(y)*r+t,u.min(s,f,s),u.max(l,f,l))}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Area=void 0;var n=function(){function e(e,t){for(var r=0;r0){for(var b=this.isInsidePolygon(t.pointList,v,m),g=e.holePolygonPointLists,S=!1,_=0,P=g.length;_t+s&&a>n+s||ae+s&&o>r+s||ot+p&&c>n+p&&c>o+p&&c>s+p||ce+p&&u>r+p&&u>i+p&&u>a+p||ut+u&&l>n+u&&l>o+u||le+u&&s>r+u&&s>i+u||sr||p+c=u)return!0;if(o){var f=n;n=this.normalizeRadian(i),i=this.normalizeRadian(f)}else n=this.normalizeRadian(n),i=this.normalizeRadian(i);n>i&&(i+=u);var h=Math.atan2(l,s);return h<0&&(h+=u),h>=n&&h<=i||h+u>=n&&h+u<=i}},{key:"isInsideBrokenLine",value:function(e,t,r,n){for(var i=Math.max(t,10),o=0,a=e.length-1;or*r}},{key:"isInsideRect",value:function(e,t,r,n,i,o){return i>=e&&i<=e+r&&o>=t&&o<=t+n}},{key:"isInsideCircle",value:function(e,t,r,n,i){return(n-e)*(n-e)+(i-t)*(i-t)t&&o>n||oi?nt&&u>n&&u>o&&u>s||u1&&this.swapExtrema(),y=c.cubicAt(t,n,o,s,f[0]),m>1&&(d=c.cubicAt(t,n,o,s,f[1]))),2==m?gt&&s>n&&s>o||s=0&&p<=1){for(var f=0,h=l.quadraticAt(t,n,o,p),y=0;ya||(u[y]a?0:or||s<-r)return 0;var c=Math.sqrt(r*r-s*s);if(l[0]=-c,l[1]=c,Math.abs(n-i)>=u){n=0,i=u;var p=o?1:-1;return a>=l[0]+e&&a<=l[1]+e?p:0}if(o){var f=n;n=this.normalizeRadian(i),i=this.normalizeRadian(f)}else n=this.normalizeRadian(n),i=this.normalizeRadian(i);n>i&&(i+=u);for(var h=0,y=0;y<2;y++){var d=l[y];if(d+e>a){var v=Math.atan2(s,d),m=o?1:-1;v<0&&(v=u+v),(v>=n&&v<=i||v+u>=n&&v+u<=i)&&(v>Math.PI/2&&v<1.5*Math.PI&&(m=-m),h+=m)}}return h}},{key:"isInsidePath",value:function(e,t,r,n,i){for(var o=0,a=0,s=0,l=0,u=0,c=!0,p=!0,f="stroke"===(r=r||"fill")||"both"===r,h="fill"===r||"both"===r,y=0;y0&&(h&&(o+=this.windingLine(a,s,l,u,n,i)),0!==o))return!0;l=v[v.length-2],u=v[v.length-1],c=!1,p&&"A"!==d.command&&(p=!1,a=l,s=u)}switch(d.command){case"M":a=v[0],s=v[1];break;case"L":if(f&&this.isInsideLine(a,s,v[0],v[1],t,n,i))return!0;h&&(o+=this.windingLine(a,s,v[0],v[1],n,i)),a=v[0],s=v[1];break;case"C":if(f&&this.isInsideCubicStroke(a,s,v[0],v[1],v[2],v[3],v[4],v[5],t,n,i))return!0;h&&(o+=this.windingCubic(a,s,v[0],v[1],v[2],v[3],v[4],v[5],n,i)),a=v[4],s=v[5];break;case"Q":if(f&&this.isInsideQuadraticStroke(a,s,v[0],v[1],v[2],v[3],t,n,i))return!0;h&&(o+=this.windingQuadratic(a,s,v[0],v[1],v[2],v[3],n,i)),a=v[2],s=v[3];break;case"A":var m=v[0],b=v[1],g=v[2],S=v[3],_=v[4],P=v[5],O=Math.cos(_)*g+m,w=Math.sin(_)*S+b;p?(p=!1,l=O,u=w):o+=this.windingLine(a,s,O,w);var T=(n-m)*S/g+m;if(f&&this.isInsideArcStroke(m,b,S,_,_+P,1-v[7],t,T,i))return!0;h&&(o+=this.windingArc(m,b,S,_,_+P,1-v[7],T,i)),a=Math.cos(_+P)*g+m,s=Math.sin(_+P)*S+b;break;case"z":if(f&&this.isInsideLine(a,s,l,u,t,n,i))return!0;c=!0}}return h&&(o+=this.windingLine(a,s,l,u,n,i)),0!==o}},{key:"getTextWidth",value:function(e,t){var r=e+":"+t;if(this._textWidthCache[r])return this._textWidthCache[r];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t);for(var n=0,i=0,o=(e=(e+"").split("\n")).length;ithis.TEXT_CACHE_MAX&&(this._textWidthCacheCounter=0,this._textWidthCache={}),n}},{key:"getTextHeight",value:function(e,t){var r=e+":"+t;if(this._textHeightCache[r])return this._textHeightCache[r];this._ctx=this._ctx||this.util.getContext(),this._ctx.save(),t&&(this._ctx.font=t),e=(e+"").split("\n");var n=(this._ctx.measureText("ZH").width+2)*e.length;return this._ctx.restore(),this._textHeightCache[r]=n,++this._textHeightCacheCounter>this.TEXT_CACHE_MAX&&(this._textHeightCacheCounter=0,this._textHeightCache={}),n}}]),e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;var n=function(){function e(e,t){for(var r=0;r-1&&"?"===i?t+=n:t.indexOf("?")>-1&&"?"!==i?t+="&"+n:t+="?"+n}return t}},{key:"getCredential",value:function(){}}]),e}();i.SuperMap.OnlineServiceBase=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OnlineData=void 0;var n=function(){function e(e,t){for(var r=0;r0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.defaultcolor&&(e.defaultcolor.destroy(),e.defaultcolor=null)}},{key:"toServerJSONObject",value:function(){var e={};if((e=o.Util.copyAttributes(e,this)).defaultcolor&&e.defaultcolor.toServerJSONObject&&(e.defaultcolor=e.defaultcolor.toServerJSONObject()),e.items){for(var t=[],r=e.items.length,n=0;n0)for(var r in e.items)e.items[r].destroy(),e.items[r]=null;e.items=null}e.reverseColor=null,e.rangeMode=null,e.rangeParameter=null,e.colorGradientType=null}}],[{key:"fromObj",value:function(e){if(e){var r=new t;o.Util.copy(r,e);var n=e.items,i=n?n.length:0;r.items=[];for(var a=0;a0&&(e=e.substring(0,e.length-1)),"{"+e+"}"}return null}}]),e}();i.SuperMap.ThemeMemoryData=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServerTheme=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}}}],[{key:"toJsonParameters",value:function(e){var t,r;return t={datasetNames:e.datasetNames,getFeatureMode:"ID",ids:e.IDs},e.fields&&((r=new a.FilterParameter).name=e.datasetNames,r.fields=e.fields,t.queryParameter=r),o.Util.toJSON(t)}}]),t}();i.SuperMap.GetFeaturesByIDsParameters=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesByGeometryParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}}],[{key:"toJsonParameters",value:function(e){var t,r,n;return r=u.ServerGeometry.fromGeometry(e.geometry),n={datasetNames:e.datasetNames,getFeatureMode:"SPATIAL",geometry:r,spatialQueryMode:e.spatialQueryMode},e.fields&&((t=new s.FilterParameter).name=e.datasetNames,t.fields=e.fields,n.queryParameter=t),e.attributeFilter&&(n.attributeFilter=e.attributeFilter,n.getFeatureMode="SPATIAL_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(n.maxFeatures=e.maxFeatures),o.Util.toJSON(n)}}]),t}();i.SuperMap.GetFeaturesByGeometryParameters=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesByBufferParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}e.geometry&&(e.geometry.destroy(),e.geometry=null)}}],[{key:"toJsonParameters",value:function(e){var t,r,n;return n=l.ServerGeometry.fromGeometry(e.geometry),r={datasetNames:e.datasetNames,getFeatureMode:"BUFFER",bufferDistance:e.bufferDistance,geometry:n},e.fields&&((t=new s.FilterParameter).name=e.datasetNames,t.fields=e.fields,r.queryParameter=t),e.attributeFilter&&(r.attributeFilter=e.attributeFilter,r.getFeatureMode="BUFFER_ATTRIBUTEFILTER"),e.maxFeatures&&!isNaN(e.maxFeatures)&&(r.maxFeatures=e.maxFeatures),o.Util.toJSON(r)}}]),t}();i.SuperMap.GetFeaturesByBufferParameters=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetFeaturesByBoundsParameters=void 0;var n=function(){function e(e,t){for(var r=0;r0;)e.fields.pop();e.fields=null}e.attributeFilter=null,e.spatialQueryMode=null,e.getFeatureMode=null}}],[{key:"toJsonParameters",value:function(e){var r,n,i;return n={leftBottom:{x:e.bounds.left,y:e.bounds.bottom},rightTop:{x:e.bounds.right,y:e.bounds.top}},i={datasetNames:e.datasetNames,getFeatureMode:t.getFeatureMode.BOUNDS,bounds:n,spatialQueryMode:e.spatialQueryMode},e.fields&&((r=new s.FilterParameter).name=e.datasetNames,r.fields=e.fields,i.queryParameter=r),e.attributeFilter&&(i.attributeFilter=e.attributeFilter,i.getFeatureMode=t.getFeatureMode.BOUNDS_ATTRIBUTEFILTER),e.maxFeatures&&!isNaN(e.maxFeatures)&&(i.maxFeatures=e.maxFeatures),o.Util.toJSON(i)}}]),t}();u.getFeatureMode={BOUNDS:"BOUNDS",BOUNDS_ATTRIBUTEFILTER:"BOUNDS_ATTRIBUTEFILTER"},i.SuperMap.GetFeaturesByBoundsParameters=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeoRelationAnalystParameters=void 0;var n=function(){function e(e,t){for(var r=0;r=0?t.speed:1,this.frequency=t.speed&&t.frequency>=0?t.frequency:1e3,this.startTime=t.startTime&&null!=t.startTime?t.startTime:0,this.endTime=t.endTime&&null!=t.endTime&&t.endTime>=r.startTime?t.endTime:+new Date,this.repeat=void 0===t.repeat||t.repeat,this.reverse=void 0!==t.reverse&&t.reverse,this.currentTime=null,this.oldTime=null,this.running=!1,this.EVENT_TYPES=["start","pause","stop"],r.events=new o.Events(this,null,this.EVENT_TYPES),r.speed=Number(r.speed),r.frequency=Number(r.frequency),r.startTime=Number(r.startTime),r.endTime=Number(r.endTime),r.startTime=Date.parse(new Date(r.startTime)),r.endTime=Date.parse(new Date(r.endTime)),r.currentTime=r.startTime,this.CLASS_NAME="SuperMap.TimeControlBase"}return n(e,[{key:"updateOptions",value:function(e){var t=this;(e=e||{}).speed&&e.speed>=0&&(t.speed=e.speed,t.speed=Number(t.speed)),e.speed&&e.frequency>=0&&(t.frequency=e.frequency,t.frequency=Number(t.frequency)),e.startTime&&null!=e.startTime&&(t.startTime=e.startTime,t.startTime=Date.parse(new Date(t.startTime))),e.endTime&&null!=e.endTime&&e.endTime>=t.startTime&&(t.endTime=e.endTime,t.endTime=Date.parse(new Date(t.endTime))),null!=e.repeat&&(t.repeat=e.repeat),null!=e.reverse&&(t.reverse=e.reverse)}},{key:"start",value:function(){var e=this;e.running||(e.running=!0,e.tick(),e.events.triggerEvent("start",e.currentTime))}},{key:"pause",value:function(){this.running=!1,this.events.triggerEvent("pause",this.currentTime)}},{key:"stop",value:function(){var e=this;e.currentTime=e.startTime,e.running&&(e.running=!1),e.events.triggerEvent("stop",e.currentTime)}},{key:"toggle",value:function(){this.running?this.pause():this.start()}},{key:"setSpeed",value:function(e){return e>=0&&(this.speed=e,!0)}},{key:"getSpeed",value:function(){return this.speed}},{key:"setFrequency",value:function(e){return e>=0&&(this.frequency=e,!0)}},{key:"getFrequency",value:function(){return this.frequency}},{key:"setStartTime",value:function(e){var t=this;return!((e=Date.parse(new Date(e)))>t.endTime)&&(t.startTime=e,t.currentTime=t.endTime&&(t.currentTime=t.startTime,t.tick()),!0)}},{key:"getEndTime",value:function(){return this.endTime}},{key:"setCurrentTime",value:function(e){var t=this;return t.currentTime=Date.parse(new Date(t.currentTime)),e>=t.startTime&&e<=t.endTime&&(t.currentTime=e,t.startTime=t.currentTime,t.tick(),!0)}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"setRepeat",value:function(e){this.repeat=e}},{key:"getRepeat",value:function(){return this.repeat}},{key:"setReverse",value:function(e){this.reverse=e}},{key:"getReverse",value:function(){return this.reverse}},{key:"getRunning",value:function(){return this.running}},{key:"destroy",value:function(){var e=this;e.speed=null,e.frequency=null,e.startTime=null,e.endTime=null,e.currentTime=null,e.repeat=null,e.running=!1,e.reverse=null}},{key:"tick",value:function(){}}]),e}();i.SuperMap.TimeControlBase=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.LogoBase64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAAdCAYAAAAjHtusAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozYWZlOGIwMi01MWE3LTRiZjYtYWVkYS05MGQ2ZTQ4YjZiMmUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODg0NkFBQUE3RjEzMTFFNzhFRjJFQkY4RjcxQjc1NjIiIHhtcE1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Sf/K4DEaGlTLvplsk/QCpoD60EQ7gLYZc8H9wq+I3yncEOEcNhuz6HWf3XEiwU/4Y8YEqVp2P10rt+8REvBGw026i4aDcbL9jF8r8Blmf4fCOzhViiscskygXRdehf3CO4hfigmTBXyQrl8TFtD1IzQX3CbcQrY3hPcRv4z8OmHPXwchVNln2MmE7BX6VwIFi/he6uxvb6JM3m0fdqvx/ATidxg2JeC7VDErAw5NzGfvwRJVheEIQ8Mg/pdwIM+UOmi9Q8ivCsrIy0tF+wVbEcLrd3Pb2XisEb4Tdlhsi4WP4RBbaLGrHfC3PrvMIezy9rTpGm5lz9LOMG15xvFxD/j5gjzjjDbMOzk+9zzt3v5bgAEAibzFeFHVgYkAAAAASUVORK5CYII="},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Feature=void 0;var n=function(){function e(e,t){for(var r=0;r1},isLeftClick:function(e){return e.which&&1===e.which||e.button&&1===e.button},isRightClick:function(e){return e.which&&3===e.which||e.button&&2===e.button},stop:function(e,t){t||(e.preventDefault?e.preventDefault():e.returnValue=!1),e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},findElement:function(e,t){for(var r=n.SuperMap.Event.element(e);r.parentNode&&(!r.tagName||r.tagName.toUpperCase()!=t.toUpperCase());)r=r.parentNode;return r},observe:function(e,t,r,n){var o=i.Util.getElement(e);if(n=n||!1,"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||o.attachEvent)&&(t="keydown"),this.observers||(this.observers={}),!o._eventCacheID){var a="eventCacheID_";o.id&&(a=o.id+"_"+a),o._eventCacheID=i.Util.createUniqueID(a)}var s=o._eventCacheID;this.observers[s]||(this.observers[s]=[]),this.observers[s].push({element:o,name:t,observer:r,useCapture:n}),o.addEventListener?o.addEventListener(t,r,n):o.attachEvent&&o.attachEvent("on"+t,r)},stopObservingElement:function(e){var t=i.Util.getElement(e)._eventCacheID;this._removeElementObservers(n.SuperMap.Event.observers[t])},_removeElementObservers:function(e){if(e)for(var t=e.length-1;t>=0;t--){var r=e[t],i=new Array(r.element,r.name,r.observer,r.useCapture);n.SuperMap.Event.stopObserving.apply(this,i)}},stopObserving:function(e,t,r,o){o=o||!1;var a=i.Util.getElement(e),s=a._eventCacheID;"keypress"===t&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||a.detachEvent)&&(t="keydown");var l=!1,u=n.SuperMap.Event.observers[s];if(u)for(var c=0;!l&&c1?(u=f,p=new o.default.geom.MultiPolygon(null)):p=new o.default.geom.Polygon(null)}else p=c===o.default.geom.GeometryType.POINT?new o.default.geom.Point(null):c===o.default.geom.GeometryType.LINE_STRING?new o.default.geom.LineString(null):c===o.default.geom.GeometryType.POLYGON?new o.default.geom.Polygon(null):c===o.default.geom.GeometryType.MULTI_POINT?new o.default.geom.MultiPoint(null):c===o.default.geom.GeometryType.MULTI_LINE_STRING?new o.default.geom.MultiLineString(null):null;if(p){p.setFlatCoordinates(o.default.geom.GeometryLayout.XY,l,u),n=new this.featureClass_,this.geometryName_&&n.setGeometryName(this.geometryName_);var b=o.default.format.Feature.transformWithOptions(p,!1,this.adaptOptions(r));n.setGeometry(b),n.setId(a),n.setProperties(s)}}return n},o.default.geom.flat.textpath.lineString=function(e,t,r,n,i,a,s,l){for(var u=[],c=Math.atan2(e[r-n+1]-e[t+1],e[r-n]-e[t]),p=c<-.785||c>2.356,f=c<-.785&&c>-2.356||c>.785&&c<2.356,h=i.length,y=e[t],d=e[t+1],v=e[t+=n],m=e[t+1],b=0,g=Math.sqrt(Math.pow(v-y,2)+Math.pow(m-d,2));t=19968&&j<=40907,L=a(C=p?k+C:C+k)-x;for(x+=L;t1?D:D<0||D>1?N:N1?D:D<0||D>1?N:N0?-Math.PI:Math.PI),A&&f&&(V+=V>0?-Math.PI/2:Math.PI/2),void 0!==P){var H=V-P;if(H+=H>Math.PI?-2*Math.PI:H<-Math.PI?2*Math.PI:0,A===O?Math.abs(H)>l:Math.abs(H)>l+Math.PI/2)return null}P!=V||f?(x=L,S=[G,U,L/2,V,C=k],p?u.unshift(S):u.push(S),P=V,O=A):(p&&(S[0]=G,S[1]=U,S[2]=L/2),S[4]=C),T=B,M=J,s+=L}return u},o.default.layer.VectorTile.prototype.setFastRender=function(e){return this.fastRender=e},o.default.renderer.canvas.VectorTileLayer.prototype.postCompose=function(e,t,r){var n,i,a=this.getLayer(),s=a.getDeclutter()?{}:null,l=a.getSource(),u=a.getRenderMode(),c=o.default.renderer.canvas.VectorTileLayer.VECTOR_REPLAYS[u],p=t.pixelRatio,f=t.viewState.rotation,h=t.size;f&&(n=Math.round(p*h[0]/2),i=Math.round(p*h[1]/2),o.default.render.canvas.rotateAtOffset(e,-f,n,i)),s&&this.declutterTree_.clear();for(var y=this.renderedTiles,d=l.getTileGridForProjection(t.viewState.projection),v=[],m=[],b=y.length-1;b>=0;--b){var g=y[b];if(g.getState()!=o.default.TileState.ABORT)for(var S=g.tileCoord,_=d.getTileCoordExtent(S)[0]-d.getTileCoordExtent(g.wrappedTileCoord)[0],P=void 0,O=0,w=g.tileKeys.length;O=e.length)break;var l=t[a.id];l&&(s.CommonUtil.extend(a,l),i++)}this._createStyleFunction(this._mbStyle,this._spriteData,this._spriteImageUrl)}},{key:"_resolve",value:function(e){var t=this;if(e.sprite){var r=.5==(window.devicePixelRatio>=1.5?.5:1)?"@2x":"";e.sprite=e.sprite.replace("@2x","");var n=this._toSpriteUrl(e.sprite,this.path,r+".json");s.FetchRequest.get(n).then(function(e){return e.json()}).then(function(n){t._spriteData=n,t._spriteImageUrl=t._toSpriteUrl(e.sprite,t.path,r+".png"),t._initStyleFunction(e,t._spriteData,t._spriteImageUrl)})}else this._initStyleFunction(e,null,null)}},{key:"_initStyleFunction",value:function(e,t,r){this._createStyleFunction(e,t,r),this.dispatchEvent("styleloaded")}},{key:"_createStyleFunction",value:function(e,t,r){this.map&&window.olms.applyBackground(this.map,e),this.featureStyleFuntion=this._getStyleFunction(e,t,r)}},{key:"_getStyleFunction",value:function(e,t,r){var n=this,i=window.olms.stylefunction({setStyle:function(){},set:function(){},changed:function(){}},e,this.source,this.resolutions,t,r);return function(e,t){var r=i(e,t);if(n.selectedObject&&n.selectedObject.selectedId===e.getId()&&n.selectedObject.sourceLayer===e.get("layer")){var o=r&&r[0]?r[0].getZIndex():99999,a=n.selectedStyle(e,t);Array.isArray(a)||(a=[a]);var s=!0,l=!1,u=void 0;try{for(var c,p=a[Symbol.iterator]();!(s=(c=p.next()).done);s=!0){var f=c.value;"Point"===e.getGeometry().getType()&&r[0].getText()&&f.getText()&&(f.setFill(null),f.setStroke(null),f.setImage(),f.getText().setText(r[0].getText().getText())),f.setZIndex(o)}}catch(e){l=!0,u=e}finally{try{!s&&p.return&&p.return()}finally{if(l)throw u}}return a}return r}}},{key:"_withPath",value:function(e,t){return t&&0!=e.indexOf("http")&&(e=t+e),e}},{key:"_toSpriteUrl",value:function(e,t,r){var n=(e=this._withPath(e,t)).match(this.spriteRegEx);return n?n[1]+r+(n.length>2?n[2]:""):e+r}}]),t}();a.default.supermap.MapboxStyles=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(144);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})});var i=r(145);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var o=r(122);Object.defineProperty(t,"VectorTileStyles",{enumerable:!0,get:function(){return o.VectorTileStyles}});var a=r(303);Object.defineProperty(t,"MapboxStyles",{enumerable:!0,get:function(){return a.MapboxStyles}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(59);Object.defineProperty(t,"GeoFeature",{enumerable:!0,get:function(){return n.GeoFeature}});var i=r(85);Object.defineProperty(t,"Theme",{enumerable:!0,get:function(){return i.Theme}});var o=r(86);Object.defineProperty(t,"ThemeFeature",{enumerable:!0,get:function(){return o.ThemeFeature}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(123);Object.defineProperty(t,"MapvCanvasLayer",{enumerable:!0,get:function(){return n.MapvCanvasLayer}});var i=r(124);Object.defineProperty(t,"MapvLayer",{enumerable:!0,get:function(){return i.MapvLayer}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeatMap=void 0;var n,i=function(){function e(e,t){for(var r=0;r© SuperMap iServer with © SuperMap iClient"}),canvasFunction:o,logo:n.logo,projection:n.projection,ratio:n.ratio,resolutions:n.resolutions,state:n.state}));function o(e,t,r,n,i){var o=n[0]*r,a=n[1]*r;if(this.rootCanvas.width=this.maxWidth=o,this.rootCanvas.height=this.maxHeight=a,!this.features)return this.rootCanvas;this.pixelRatio=r;var s=this.map.getSize()[0]*r,l=this.map.getSize()[1]*r;return this.offset=[(o-s)/2/r,(a-l)/2/r],this.updateHeatPoints(t),this.rootCanvas}if(i.canvasFunctionInternal_=o,i.features=[],i.name=e,!n.map)throw new Error("options.map is not found.");i.map=n.map,i.id=n.id?n.id:l.CommonUtil.createUniqueID("HeatMapSource_"),i.opacity=n.opacity?n.opacity:1,i.colors=n.colors?n.colors:["blue","cyan","lime","yellow","red"],i.useGeoUnit=!!n.useGeoUnit&&n.useGeoUnit,i.radius=n.radius?n.radius:50,i.featureWeight=n.featureWeight?n.featureWeight:null,i.maxWeight=null,i.minWeight=null,i.maxWidth=null,i.maxHeight=null,i.rootCanvas=document.createElement("canvas");var s=i.map.getSize();return i.rootCanvas.width=i.maxWidth=parseInt(s[0]),i.rootCanvas.height=i.maxHeight=parseInt(s[1]),l.CommonUtil.modifyDOMElement(i.rootCanvas,null,null,null,null,null,null,i.opacity),i.canvasContext=i.rootCanvas.getContext("2d"),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.source.ImageCanvas),i(t,[{key:"addFeatures",value:function(e){this.features=this.toiClientFeature(e),this.changed()}},{key:"setOpacity",value:function(e){if(e!==this.opacity){this.opacity=e;var t=this.rootCanvas;l.CommonUtil.modifyDOMElement(t,null,null,null,null,null,null,e),null!==this.map&&this.changed()}}},{key:"updateHeatPoints",value:function(e){this.features&&this.features.length>0?this.convertFastToPixelPoints(e):this.canvasContext.clearRect(0,0,this.maxWidth,this.maxWidth)}},{key:"convertFastToPixelPoints",value:function(e){var t,r,n,i,o,a,s=[];this.useRadius=this.useGeoUnit?parseInt(this.radius/e):this.radius;for(var u=0;u0&&this.maxWidth>0))return!1;var r=this.canvasContext;this.canvasContext.clearRect(0,0,this.maxWidth,this.maxHeight),this.drawCircle(this.useRadius),this.createGradient();for(var n=0;n© SuperMap iServer with © SuperMap iClient"});var r=e.url+"/tileFeature.json?";e.format instanceof a.default.format.MVT&&(r=e.url+"/tileFeature.mvt?"),e.serverType=e.serverType||l.ServerType.ISERVER,r=function(e,t){var r,n,i=e;switch(t){case l.ServerType.IPORTAL:n=l.SecurityManager.getToken(e),(r=n?new l.Credential(n,"token"):null)||(n=l.SecurityManager.getKey(e),r=n?new l.Credential(n,"key"):null);break;case l.ServerType.ONLINE:n=l.SecurityManager.getKey(e),r=n?new l.Credential(n,"key"):null;break;default:n=l.SecurityManager.getToken(e),r=n?new l.Credential(n,"token"):null}r&&(i+="&"+r.getUrlParameters());return i}(r,e.serverType);var n=!0;void 0!==e.returnAttributes&&(n=e.returnAttributes);var i="";i+="&returnAttributes="+n,void 0!==e._cache&&(i+="&_cache="+e._cache),void 0!==e.layersID&&(i+="&layersID="+e.layersID),void 0!==e.layerNames&&(i+="&layerNames="+e.layerNames),void 0!==e.expands&&(i+="&expands="+e.expands),void 0!==e.compressTolerance&&(i+="&compressTolerance="+e.compressTolerance),void 0!==e.coordinateType&&(i+="&coordinateType="+e.coordinateType),void 0!==e.returnCutEdges&&(i+="&returnCutEdges="+e.returnCutEdges),r+=encodeURI(i);var o=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{attributions:e.attributions,cacheSize:e.cacheSize,format:e.format||new a.default.format.GeoJSON,logo:e.logo,overlaps:e.overlaps,projection:e.projection,state:e.state,tileClass:e.tileClass,tileGrid:e.tileGrid,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:function(e,t,n){c.tileGrid||(c.tileGrid=c.getTileGridForProjection(n));var i=a.default.size.toSize(c.tileGrid.getTileSize(u,c.tmpSize)),o="",u=e[0],p=e[1],f=-e[2]-1;if("ZXY"===c.tileType)o="&width="+i[0]+"&height="+i[1]+"&x="+p+"&y="+f+"&z="+u;else if("ViewBounds"===c.tileType){var h=c.tileGrid.getTileCoordExtent(e);o="&width="+i[0]+"&height="+i[1]+"&viewBounds="+h[0]+","+h[1]+","+h[2]+","+h[3]}else{var y=c.tileGrid.getOrigin(u),d=c.tileGrid.getResolution(u),v=n.getUnits();"degrees"===v&&(v=l.Unit.DEGREE),"m"===v&&(v=l.Unit.METER);var m=s.Util.resolutionToScale(d,96,v);o="&x="+p+"&y="+f+"&width="+i[0]+"&height="+i[1]+"&scale="+m+"&origin={'x':"+y[0]+",'y':"+y[1]+"}"}return r+encodeURI(o)},tileLoadFunction:e.format instanceof a.default.format.MVT?void 0:function(e,t){var r=new RegExp("(^|\\?|&)width=([^&]*)(\\s|&|$)"),n=new RegExp("(^|\\?|&)height=([^&]*)(\\s|&|$)"),i=Number(t.match(r)[2]),o=Number(t.match(n)[2]);e.setLoader(function(){l.FetchRequest.get(t).then(function(t){if(e.getFormat()instanceof a.default.format.GeoJSON)return t.json()}).then(function(t){var r=[];e.getFormat()instanceof a.default.format.GeoJSON&&(t.recordsets.map(function(e){return e.features.map(function(e){for(var t=[],r=0,n=0;n=i?r:i;e=o===r?o/t.viewer.width:o/t.viewer.height;var a=[],u=l.Unit.METER;t.coordUnit===l.Unit.DEGREE&&(u=l.Unit.DEGREE);if(t.visibleScales.length>0)for(var c=function(e){var t=e.visibleScales;if(!t)return null;var r=e.viewBounds,n=e.coordUnit,i=e.viewer,o=e.scale,a=e.datumAxis;r=new l.Bounds(r.left,r.bottom,r.right,r.top),i=new l.Size(i.rightBottom.x,i.rightBottom.y),n=n.toLowerCase(),a=a||6378137;var s=n,u=l.CommonUtil.calculateDpi(r,i,o,s,a),c=function(e){if(null===e)return;var t,r;r=e.length,t=[r];for(var n=0;n© turfjs with © SuperMap iClient"}),features:r.features,format:r.format,extent:r.extent,logo:r.logo,projection:r.projection,wrapX:r.wrapX}));return n.turfMap={"Measurement.along":["line","distance","units"],"Measurement.area":["geojson"],"Measurement.bbox":["geojson"],"Measurement.bboxPolygon":["bbox"],"Measurement.bearing":["start","end","final"],"Measurement.center":["geojson","properties"],"Measurement.centerOfMass":["geojson","properties"],"Measurement.centroid":["geojson","properties"],"Measurement.destination":["origin","distance","bearing","units"],"Measurement.distance":["from","to","units"],"Measurement.envelope":["geojson"],"Measurement.length":["geojson","units"],"Measurement.midpoint":["point1","point2"],"Measurement.pointOnFeature":["geojson"],"Measurement.polygonTangents":["point","polygon"],"Measurement.rhumbBearing":["start","end","final"],"Measurement.rhumbDestination":["origin","distance","bearing","units"],"Measurement.rhumbDistance":["from","to","units"],"Measurement.square":["bbox"],"Measurement.greatCircle":["start","end","properties","npoints","offset"],"CoordinateMutation.cleanCoords":["geojson","mutate"],"CoordinateMutation.flip":["geojson","mutate"],"CoordinateMutation.rewind":["geojson","reverse","mutate"],"CoordinateMutation.round":["num","precision"],"CoordinateMutation.truncate":["geojson","precision","coordinates","mutate"],"Transformation.bboxClip":["feature","bbox"],"Transformation.bezierSpline":["line","resolution","sharpness"],"Transformation.buffer":["geojson","radius","units","steps"],"Transformation.circle":["center","radius","steps","units","properties"],"Transformation.clone":["geojson"],"Transformation.concave":["points","maxEdge","units"],"Transformation.convex":["geojson","concavity"],"Transformation.difference":["polygon1","polygon2"],"Transformation.dissolve":["featureCollection","propertyName"],"Transformation.intersect":["poly1","poly2"],"Transformation.lineOffset":["geojson","distance","units"],"Transformation.simplify":["feature","tolerance","highQuality"],"Transformation.tesselate":["poly"],"Transformation.transformRotate":["geojson","angle","pivot","mutate"],"Transformation.transformTranslate":["geojson","distance","direction","units","zTranslation","mutate"],"Transformation.transformScale":["geojson","factor","origin","mutate"],"Transformation.union":["A"],"Transformation.voronoi":["points","bbox"],"featureConversion.combine":["fc"],"featureConversion.explode":["geojson"],"featureConversion.flatten":["geojson"],"featureConversion.lineStringToPolygon":["lines","properties","autoComplete","orderCoords"],"featureConversion.polygonize":["geojson"],"featureConversion.polygonToLineString":["polygon","properties"],"Misc.kinks":["featureIn"],"Misc.lineArc":["center","radius","bearing1","bearing2","steps","units"],"Misc.lineChunk":["geojson","segmentLength","units","reverse"],"Misc.lineIntersect":["line1","line2"],"Misc.lineOverlap":["line1","line2"],"Misc.lineSegment":["geojson"],"Misc.lineSlice":["startPt","stopPt","line"],"Misc.lineSliceAlong":["line","startDist","stopDist","units"],"Misc.lineSplit":["line","splitter"],"Misc.mask":["polygon","mask"],"Misc.pointOnLine":["lines","pt","units"],"Misc.sector":["center","radius","bearing1","bearing2","steps","units"],"Misc.shortestPath":["start","end","obstacles","units","resolution"],"Misc.unkinkPolygon":["geojson"],"Helper.featureCollection":["features","bbox","id"],"Helper.feature":["geometry","properties","bbox","id"],"Helper.geometryCollection":["geometries","properties","bbox","id"],"Helper.lineString":["coordinates","properties","bbox","id"],"Helper.multiLineString":["coordinates","properties","bbox","id"],"Helper.multiPoint":["coordinates","properties","bbox","id"],"Helper.multiPolygon":["coordinates","properties","bbox","id"],"Helper.point":["coordinates","properties","bbox","id"],"Helper.polygon":["coordinates","properties","bbox","id"],"Data.sample":["featurecollection","num"],"Interpolation.interpolate":["points","cellSize","gridType","property","units","weight"],"Interpolation.isobands":["pointGrid","breaks","zProperty","commonProperties","breaksProperties"],"Interpolation.isolines":["pointGrid","breaks","zProperty","commonProperties","breaksProperties"],"Interpolation.planepoint":["point","triangle"],"Interpolation.tin":["points","z"],"Joins.pointsWithinPolygon":["points","polygons"],"Joins.tag":["points","polygons","field","outField","mask","properties"],"Grids.hexGrid":["bbox","cellSide","units","triangles"],"Grids.pointGrid":["bbox","cellSide","units","mask","properties"],"Grids.squareGrid":["bbox","cellSide","units","mask","properties"],"Grids.triangleGrid":["bbox","cellSide","units","mask","properties"],"Classification.nearestPoint":["targetPoint","points"],"Aggregation.collect":["polygons","points","inProperty","outProperty"],"Aggregation.clustersDbscan":["points","maxDistance","units","minPoints","mutate"],"Aggregation.clustersKmeans":["points","numberOfClusters","mutate"],"Meta.coordAll":["geojson"],"Meta.coordEach":["geojson","callback","excludeWrapCoord"],"Meta.coordReduce":["geojson","callback","initialValue","excludeWrapCoord"],"Meta.featureEach":["geojson","callback"],"Meta.featureReduce":["geojson","callback","initialValue"],"Meta.flattenEach":["geojson","callback"],"Meta.flattenReduce":["geojson","callback","initialValue"],"Meta.getCoord":["coord"],"Meta.getCoords":["coords"],"Meta.getGeom":["geojson"],"Meta.getGeomType":["geojson","name"],"Meta.geomEach":["geojson","callback"],"Meta.geomReduce":["geojson","callback","initialValue"],"Meta.propEach":["geojson","callback"],"Meta.propReduce":["geojson","callback","initialValue"],"Meta.segmentEach":["geojson","callback"],"Meta.segmentReduce":["geojson","callback","initialValue"],"Meta.getCluster":["geojson","filter"],"Meta.clusterEach":["geojson","property","callback"],"Meta.clusterReduce":["geojson","property","callback","initialValue"],"Assertions.collectionOf":["featureCollection","type","name"],"Assertions.containsNumber":["coordinates"],"Assertions.geojsonType":["value","type","name"],"Assertions.featureOf":["feature","type","name"],"Booleans.booleanClockwise":["line"],"Booleans.booleanContains":["feature1","feature2"],"Booleans.booleanCrosses":["feature1","feature2"],"Booleans.booleanDisjoint":["feature1","feature2"],"Booleans.booleanEqual":["feature1","feature2"],"Booleans.booleanOverlap":["feature1","feature2"],"Booleans.booleanParallel":["feature1","feature2"],"Booleans.booleanPointInPolygon":["point","polygon","ignoreBoundary"],"Booleans.booleanPointOnLine":["point","linestring","ignoreEndVertices"],"UnitConversion.bearingToAngle":["bearing"],"UnitConversion.convertArea":["area","originalUnit","finalUnit"],"UnitConversion.convertLength":["length","originalUnit","finalUnit"],"UnitConversion.degreesToradians":["degrees"],"UnitConversion.lengthToRadians":["distance","units"],"UnitConversion.lengthToDegrees":["distance","units"],"UnitConversion.radiansToLength":["radians","units"],"UnitConversion.radiansToDegrees":["radians"],"UnitConversion.toMercator":["geojson","mutate"],"UnitConversion.toWgs84":["geojson","mutate"]},n.turfOptionMap={"Measurement.along":["line","distance",{units:""}],"Measurement.bboxPolygon":["bbox",{properties:"",id:""}],"Measurement.bearing":["start","end",{final:""}],"Measurement.center":["geojson",{properties:""}],"Measurement.destination":["origin","distance","bearing",{units:"",properties:""}],"Measurement.distance":["from","to",{units:""}],"Measurement.length":["geojson",{units:""}],"Measurement.rhumbBearing":["start","end",{final:""}],"Measurement.rhumbDestination":["origin","distance","bearing",{units:"",properties:""}],"Measurement.rhumbDistance":["from","to",{units:""}],"Measurement.greatCircle":["start","end",{properties:"",npoints:"",offset:""}],"CoordinateMutation.cleanCoords":["geojson",{mutate:""}],"CoordinateMutation.flip":["geojson",{mutate:""}],"CoordinateMutation.rewind":["geojson",{mutate:"",reverse:""}],"CoordinateMutation.truncate":["geojson",{precision:"",coordinates:"",mutate:""}],"Transformation.bezierSpline":["line",{resolution:"",sharpness:""}],"Transformation.buffer":["geojson","radius",{units:"",steps:""}],"Transformation.circle":["center","radius",{units:"",steps:"",properties:""}],"Transformation.concave":["points",{maxEdge:"",units:""}],"Transformation.convex":["geojson",{concavity:""}],"Transformation.dissolve":["featureCollection",{propertyName:""}],"Transformation.lineOffset":["geojson","distance",{units:""}],"Transformation.simplify":["geojson",{tolerance:"",highQuality:""}],"Transformation.transformRotate":["geojson","angle",{pivot:"",mutate:""}],"Transformation.transformTranslate":["geojson","distance","direction",{units:"",zTranslation:"",mutate:""}],"Transformation.transformScale":["geojson","factor",{origin:"",mutate:""}],"Transformation.voronoi":["points",{bbox:""}],"featureConversion.lineStringToPolygon":["lines",{properties:"",autoComplete:"",orderCoords:""}],"featureConversion.polygonToLineString":["polygon",{properties:""}],"Misc.lineArc":["center","radius","bearing1","bearing2",{steps:"",units:""}],"Misc.lineChunk":["geojson","segmentLength",{units:"",reverse:""}],"Misc.lineOverlap":["line1","line2",{tolerance:""}],"Misc.lineSliceAlong":["line","startDist","stopDist",{units:""}],"Misc.pointOnLine":["lines","pt",{units:""}],"Misc.sector":["center","radius","bearing1","bearing2",{units:"",steps:"",properties:""}],"Misc.shortestPath":["start","end",{obstacles:"",units:"",resolution:""}],"Helper.feature":["geometry","properties",{bbox:"",id:""}],"Helper.geometryCollection":["geometries","properties",{bbox:"",id:""}],"Helper.lineString":["coordinates","properties",{bbox:"",id:""}],"Helper.multiLineString":["coordinates","properties",{bbox:"",id:""}],"Helper.multiPoint":["coordinates","properties",{bbox:"",id:""}],"Helper.multiPolygon":["coordinates","properties",{bbox:"",id:""}],"Helper.point":["coordinates","properties",{bbox:"",id:""}],"Helper.polygon":["coordinates","properties",{bbox:"",id:""}],"Interpolation.interpolate":["points","cellSize",{gridType:"",property:"",units:"",weight:""}],"Interpolation.isobands":["pointGrid","breaks",{zProperty:"",commonProperties:"",breaksProperties:""}],"Interpolation.isolines":["pointGrid","breaks",{zProperty:"",commonProperties:"",breaksProperties:""}],"Grids.hexGrid":["bbox","cellSide",{units:"",triangles:"",properties:"",mask:""}],"Grids.pointGrid":["bbox","cellSide",{units:"",mask:"",properties:""}],"Grids.squareGrid":["bbox","cellSide",{units:"",mask:"",properties:""}],"Grids.triangleGrid":["bbox","cellSide",{units:"",mask:"",properties:""}],"Aggregation.clustersDbscan":["points","maxDistance",{units:"",minPoints:"",mutate:""}],"Aggregation.clustersKmeans":["points",{numberOfClusters:"",mutate:""}],"Booleans.booleanPointInPolygon":["point","polygon",{ignoreBoundary:""}],"Booleans.booleanPointOnLine":["point","linestring",{ignoreEndVertices:""}],"UnitConversion.toMercator":["geojson",{mutate:""}],"UnitConversion.toWgs84":["geojson",{mutate:""}]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.source.Vector),i(t,[{key:"process",value:function(e,t,r,n){var i;try{i=s[e.split(".")[1]].apply(this,this.parse(e,t))}catch(r){i=s[e.split(".")[1]].apply(this,this.parseOption(e,t))}var o=null;try{o=(new a.default.format.GeoJSON).readFeatures(i)}catch(e){return void(r&&r(i))}(n=null==n||n)&&this.addFeatures(o),r&&r(i)}},{key:"parse",value:function(e,t){if("Transformation.union"===e)return t.A;var r=[],n=this.turfMap[e];return n&&n.map(function(e){return r.push(t[e]),t[e]}),r}},{key:"parseOption",value:function(e,t){var r=[];return this.turfOptionMap[e].map(function(e){if(e instanceof Object){var n=e;Object.keys(n).forEach(function(e){n[e]=t[e]}),r.push(n)}else r.push(t[e]);return t}),r}}]),t}();a.default.source.Turf=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RankSymbol=void 0;var n,i=function(){function e(e,t){for(var r=0;r© SuperMap iClient"}),canvasFunction:function(e,t,r,n,i){var o=n[0]/r,a=n[1]/r,u=this.map.getSize()[0],c=this.map.getSize()[1];this.layer||(this.layer=new s.MapvLayer(this.map,this.dataSet,this.mapvOptions,o,a,this));this.layer.pixelRatio=r,this.layer.offset=[(o-u)/2,(a-c)/2],this.rotate?this.rotate!==this.map.getView().getRotation()&&(this.layer.canvasLayer.resize(o,a),this.rotate=this.map.getView().getRotation()):this.rotate=this.map.getView().getRotation();var p=this.layer.canvasLayer.canvas;this.layer.isEnabledTime()||(this.layer.canvasLayer.resize(o,a),this.layer.canvasLayer.draw());this.context||(this.context=l.Util.createCanvasContext2D(o,a));var f=this.context.canvas;this.context.clearRect(0,0,f.width,f.height),f.width=n[0],f.height=n[0],f.style.width=n[0]+"px",f.style.height=n[0]+"px",this.context.drawImage(p,0,0,n[0],n[0],0,0,n[0],n[0]),(this.resolution!==t||JSON.stringify(this.extent)!==JSON.stringify(e))&&(this.resolution=t,this.extent=e);return this.context.canvas},logo:r.logo,projection:r.projection,ratio:r.ratio,resolutions:r.resolutions,state:r.state}));return n.map=e.map,n.dataSet=e.dataSet,n.mapvOptions=e.mapvOptions,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.source.ImageCanvas),i(t,[{key:"addData",value:function(e,t){this.layer.addData(e,t)}},{key:"getData",value:function(){return this.layer&&(this.dataSet=this.layer.getData()),this.dataSet}},{key:"removeData",value:function(e){this.layer&&this.layer.removeData(e)}},{key:"clearData",value:function(){this.layer.clearData()}},{key:"update",value:function(e){this.layer.update(e),this.changed()}}]),t}();a.default.source.Mapv=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GraphicWebGLRenderer=void 0;var n,i=function(){function e(e,t){for(var r=0;r-1&&(this._data=e),this._renderLayer){this._renderLayer.setChangeFlags({dataChanged:!0,propsChanged:!0,viewportChanged:!0,updateTriggersChanged:!0}),this._refreshData();var t=this._getLayerState();t.data=this._data||[],this._renderLayer.setNeedsRedraw(!0),this._renderLayer.setState(t)}}},{key:"drawGraphics",value:function(e){this._data=e||(this._data?this._data:[]),this._renderLayer||this._createInnerRender(),this._clearBuffer(),this._draw()}},{key:"_initContainer",value:function(){this._canvas=this._createCanvas(this.width,this.height),this._layerContainer=this.container,this._wrapper=document.createElement("div"),this._wrapper.className="deck-wrapper",this._wrapper.style.position="absolute",this._wrapper.style.top="0",this._wrapper.style.left="0",this._wrapper.appendChild(this._canvas),this._layerContainer&&this._layerContainer.appendChild(this._wrapper)}},{key:"_createCanvas",value:function(e,t){var r=document.createElement("canvas");return r.oncontextmenu=u,r.width=e,r.height=t,r.style.width=e+"px",r.style.height=t+"px",r}},{key:"_createInnerRender",value:function(){var e=this,t=this._getLayerState(),r=t.color,n=t.radius,i=t.opacity,o=t.highlightColor,a=t.radiusScale,s=t.radiusMinPixels,l=t.radiusMaxPixels,u=t.strokeWidth,c=t.outline;n=this._pixelToMeter(n);var p={id:"scatter-plot",data:[],pickable:Boolean(this.onClick)||Boolean(this.onHover),autoHighlight:!0,color:r,opacity:i,radius:n,radiusScale:a,highlightColor:o,radiusMinPixels:s,radiusMaxPixels:l,strokeWidth:u,outline:c,getPosition:function(t){if(!t)return[0,0,0];var r=t&&t.getGeometry(),n=r&&r.getCoordinates();return(n=e._project(n))&&[n[0],n[1],0]},getColor:function(t){var r=e._getLayerDefaultStyle(),n=t&&t.getStyle();return n&&n.getColor()||r.color},getRadius:function(t){var r=e._getLayerDefaultStyle(),n=t&&t.getStyle();return n&&n.getRadius()||r.radius},updateTriggers:{getColor:[r],getRadius:[n]}},f=this;this.onClick&&(p.onClick=function(){f._canvas.style.cursor="pointer",f.onClick.apply(f,arguments)}),this.onHover&&(p.onHover=function(){f._canvas.style.cursor="pointer",f.onHover.apply(f,arguments)}),e._renderLayer=new window.DeckGL.ScatterplotLayer(p)}},{key:"_getLayerDefaultStyle",value:function(){var e=this._getLayerState(),t=e.color,r=e.opacity,n=e.radius,i=e.radiusScale,o=e.radiusMinPixels,a=e.radiusMaxPixels,s=e.strokeWidth,l=e.outline;return{color:t,opacity:r,radius:n=this._pixelToMeter(n),radiusScale:i,radiusMinPixels:o,radiusMaxPixels:a,strokeWidth:s,outline:l}}},{key:"_getLayerState",value:function(){var e=this.layer.getLayerState(),t=this.map.getView().getProjection().getCode(),r=a.default.proj.transform([e.longitude,e.latitude],t,"EPSG:4326");return e.longitude=r[0],e.latitude=r[1],e.zoom=e.zoom-1,e}},{key:"_draw",value:function(){this._refreshData();var e=this._getLayerState();e.data=this._data||[];var t={};for(var r in e)t[r]=e[r];this._renderLayer.setNeedsRedraw(!0),t.layers=[this._renderLayer],t.canvas=this._canvas,this.onBeforeRender&&(t.onBeforeRender=this.onBeforeRender.bind(this)),this.onAfterRender&&(t.onAfterRender=this.onAfterRender.bind(this)),this.deckGL?this.deckGL.setProps(t):this.deckGL=new window.DeckGL.experimental.DeckGLJS(t)}},{key:"_refreshData",value:function(){var e=this._data||[],t=l.Util.isArray(e)?[].concat(e):[e];this._renderLayer.props.data||(this._renderLayer.props.data=[]),this._renderLayer.props.data.length=0;for(var r=0;r=0;s--){var u=o[s].getStyle();if(!u)return;if(!(u instanceof l.HitCloverShape)){var c=o[s].getGeometry().getCoordinates(),p=new a.default.style.Style({image:u}).getImage(),f=[];if(f[0]=c[0]-p.getAnchor()[0]*t,f[2]=c[0]+p.getAnchor()[0]*t,f[1]=c[1]-p.getAnchor()[1]*t,f[3]=c[1]+p.getAnchor()[1]*t,a.default.extent.containsCoordinate(f,e))return n.isHighLight&&n._highLight(c,p,o[s],i),void(r&&r(o[s]));n.isHighLight&&n._highLightClose()}}return};var n=r;return e.onClick&&n.map.on("click",function(t){var r=t.coordinate,i=t.frameState.viewState.resolution,o=t.pixel;n._forEachFeatureAtCoordinate(r,i,e.onClick,o)}),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.source.ImageCanvas),i(t,[{key:"setGraphics",value:function(e){this.graphics_=this.graphics_||[],this.graphics_.length=0;var t=s.Util.isArray(e)?[].concat(e):[e];this.graphics_=[].concat(t),this.update()}},{key:"addGraphics",value:function(e){this.graphics_=this.graphics_||[];var t=s.Util.isArray(e)?[].concat(e):[e];this.graphics_=this.graphics_.concat(t),this.update()}},{key:"clear",value:function(){this.removeGraphics()}},{key:"removeGraphics",value:function(){this.graphics_.length=0,this.update()}},{key:"update",value:function(){this.renderer.update(this.graphics_,this._getDefaultStyle())}},{key:"_getDefaultStyle",value:function(){var e={};return this.color&&(e.fill=new a.default.style.Fill({color:this.toRGBA(this.color)})),this.radius&&(e.radius=this.radius),this.outline&&(e.stroke=new a.default.style.Fill({color:this.toRGBA(this.color),width:this.strokeWidth})),new a.default.style.Circle(e)}},{key:"toRGBA",value:function(e){return"rgba("+e[0]+","+e[1]+","+e[2]+","+(e[3]||255)/255+")"}},{key:"setStyle",value:function(e){var t={color:this.color,radius:this.radius,opacity:this.opacity,highlightColor:this.highlightColor,radiusScale:this.radiusScale,radiusMinPixels:this.radiusMinPixels,radiusMaxPixels:this.radiusMaxPixels,strokeWidth:this.strokeWidth,outline:this.outline};c.CommonUtil.extend(this,c.CommonUtil.extend(t,e)),this.update()}},{key:"getLayerState",value:function(){var e=this.map,t=e.getSize()[0],r=e.getSize()[1],n=e.getView(),i=n.getCenter(),o={longitude:i[0],latitude:i[1],zoom:n.getZoom(),maxZoom:n.getMaxZoom(),pitch:0,bearing:180*-n.getRotation()/Math.PI},a={};for(var s in o)a[s]=o[s];return a.width=t,a.height=r,a.color=this.color,a.radius=this.radius,a.opacity=this.opacity,a.highlightColor=this.highlightColor,a.radiusScale=this.radiusScale,a.radiusMinPixels=this.radiusMinPixels,a.radiusMaxPixels=this.radiusMaxPixels,a.strokeWidth=this.strokeWidth,a.outline=this.outline,a}},{key:"_highLightClose",value:function(){this.selected=null,this.hitGraphicLayer&&(this.map.removeLayer(this.hitGraphicLayer),this.hitGraphicLayer=null),this.changed()}},{key:"_highLight",value:function(e,t,r,n){if(r.getStyle()instanceof u.CloverShape){this.hitGraphicLayer&&(this.map.removeLayer(this.hitGraphicLayer),this.hitGraphicLayer=null);var i=this.map.getPixelFromCoordinate([e[0],e[1]]);n=n||[0,0];var o=Math.atan2(n[1]-i[1],n[0]-i[0])/Math.PI*180;o=o>0?o:360+o;var s=(Math.ceil(o/(t.getAngle()+t.getSpaceAngle()))-1)*(t.getAngle()+t.getSpaceAngle()),c={stroke:new a.default.style.Stroke({color:"#ff0000",width:1}),fill:new a.default.style.Fill({color:"#0099ff"}),radius:t.getRadius(),angle:t.getAngle(),eAngle:s+t.getAngle(),sAngle:s};this.highLightStyle&&this.highLightStyle instanceof l.HitCloverShape&&(c.stroke=this.highLightStyle.getStroke(),c.fill=this.highLightStyle.getFill(),c.radius=this.highLightStyle.getRadius(),c.angle=this.highLightStyle.getAngle());var p=new a.default.Graphic(new a.default.geom.Point(e));p.setStyle(new l.HitCloverShape(c)),this.hitGraphicLayer=new a.default.layer.Image({source:new a.default.source.Graphic({map:this.map,graphics:[p]})}),this.map.addLayer(this.hitGraphicLayer)}else this.selected=r,this.changed()}},{key:"getGraphicsInExtent",value:function(e){var t=[];return e?(this.graphics_.map(function(r){return a.default.extent.containsExtent(e,r.getGeometry().getExtent())&&t.push(r),r}),t):(this.graphics_.map(function(e){return t.push(e),e}),t)}}]),t}();a.default.source.Graphic=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataFlow=void 0;var n,i=function(){function e(e,t){for(var r=0;r2*i*this.a)return;return r=t/this.a,h=Math.sin(r),y=Math.cos(r),d=this.long0,Math.abs(t)<=1e-10?v=this.lat0:(v=p(y*this.sin_p12+e.y*h*this.cos_p12/t),m=Math.abs(this.lat0)-i,d=Math.abs(m)<=1e-10?this.lat0>=0?n(this.long0+Math.atan2(e.x,-e.y)):n(this.long0-Math.atan2(-e.x,e.y)):n(this.long0+Math.atan2(e.x*h,t*this.cos_p12*y-e.y*this.sin_p12*h))),e.x=d,e.y=v,e}return b=a(this.es),g=s(this.es),S=l(this.es),_=u(this.es),Math.abs(this.sin_p12-1)<=1e-10?(P=this.a*o(b,g,S,_,i),t=Math.sqrt(e.x*e.x+e.y*e.y),v=f((P-t)/this.a,b,g,S,_),d=n(this.long0+Math.atan2(e.x,-1*e.y)),e.x=d,e.y=v,e):Math.abs(this.sin_p12+1)<=1e-10?(P=this.a*o(b,g,S,_,i),t=Math.sqrt(e.x*e.x+e.y*e.y),v=f((t-P)/this.a,b,g,S,_),d=n(this.long0+Math.atan2(e.x,e.y)),e.x=d,e.y=v,e):(t=Math.sqrt(e.x*e.x+e.y*e.y),T=Math.atan2(e.x,e.y),O=c(this.a,this.e,this.sin_p12),M=Math.cos(T),x=-(C=this.e*this.cos_p12*M)*C/(1-this.es),E=3*this.es*(1-x)*this.sin_p12*this.cos_p12*M/(1-this.es),A=1-x*(j=(k=t/O)-x*(1+x)*Math.pow(k,3)/6-E*(1+3*x)*Math.pow(k,4)/24)*j/2-k*j*j*j/6,w=Math.asin(this.sin_p12*Math.cos(j)+this.cos_p12*Math.sin(j)*M),d=n(this.long0+Math.asin(Math.sin(T)*Math.sin(j)/Math.cos(w))),v=Math.atan((1-this.es*A*this.sin_p12/Math.sin(w))*Math.tan(w)/(1-this.es)),e.x=d,e.y=v,e)},t.names=["Azimuthal_Equidistant","aeqd"]},function(e,t,r){"use strict";var n=r(7),i=Math.PI/2,o=r(37);t.init=function(){this.R=this.a},t.forward=function(e){var t,r,a=e.x,s=e.y,l=n(a-this.long0);Math.abs(s)<=1e-10&&(t=this.x0+this.R*l,r=this.y0);var u=o(2*Math.abs(s/Math.PI));(Math.abs(l)<=1e-10||Math.abs(Math.abs(s)-i)<=1e-10)&&(t=this.x0,r=s>=0?this.y0+Math.PI*this.R*Math.tan(.5*u):this.y0+Math.PI*this.R*-Math.tan(.5*u));var c=.5*Math.abs(Math.PI/l-l/Math.PI),p=c*c,f=Math.sin(u),h=Math.cos(u),y=h/(f+h-1),d=y*y,v=y*(2/f-1),m=v*v,b=Math.PI*this.R*(c*(y-m)+Math.sqrt(p*(y-m)*(y-m)-(m+p)*(d-m)))/(m+p);l<0&&(b=-b),t=this.x0+b;var g=p+y;return b=Math.PI*this.R*(v*g-c*Math.sqrt((m+p)*(p+1)-g*g))/(m+p),r=s>=0?this.y0+b:this.y0-b,e.x=t,e.y=r,e},t.inverse=function(e){var t,r,i,o,a,s,l,u,c,p,f,h;return e.x-=this.x0,e.y-=this.y0,f=Math.PI*this.R,a=(i=e.x/f)*i+(o=e.y/f)*o,f=3*(o*o/(u=-2*(s=-Math.abs(o)*(1+a))+1+2*o*o+a*a)+(2*(l=s-2*o*o+i*i)*l*l/u/u/u-9*s*l/u/u)/27)/(c=(s-l*l/3/u)/u)/(p=2*Math.sqrt(-c/3)),Math.abs(f)>1&&(f=f>=0?1:-1),h=Math.acos(f)/3,r=e.y>=0?(-p*Math.cos(h+Math.PI/3)-l/3/u)*Math.PI:-(-p*Math.cos(h+Math.PI/3)-l/3/u)*Math.PI,t=Math.abs(i)<1e-10?this.long0:n(this.long0+Math.PI*(a-1+Math.sqrt(1+2*(i*i-o*o)+a*a))/2/i),e.x=t,e.y=r,e},t.names=["Van_der_Grinten_I","VanDerGrinten","vandg"]},function(e,t,r){"use strict";var n=r(49),i=r(48),o=r(47),a=r(46),s=r(38),l=r(45),u=r(7),c=r(44),p=r(88);t.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=n(this.es),this.e1=i(this.es),this.e2=o(this.es),this.e3=a(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=s(this.e,this.sinphi,this.cosphi),this.ml1=l(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<1e-10?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=s(this.e,this.sinphi,this.cosphi),this.ml2=l(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=l(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))},t.forward=function(e){var t,r=e.x,n=e.y;if(this.sphere)t=this.a*(this.g-n);else{var i=l(this.e0,this.e1,this.e2,this.e3,n);t=this.a*(this.g-i)}var o=this.ns*u(r-this.long0),a=this.x0+t*Math.sin(o),s=this.y0+this.rh-t*Math.cos(o);return e.x=a,e.y=s,e},t.inverse=function(e){var t,r,n,i;e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns>=0?(r=Math.sqrt(e.x*e.x+e.y*e.y),t=1):(r=-Math.sqrt(e.x*e.x+e.y*e.y),t=-1);var o=0;if(0!==r&&(o=Math.atan2(t*e.x,t*e.y)),this.sphere)return i=u(this.long0+o/this.ns),n=c(this.g-r/this.a),e.x=i,e.y=n,e;var a=this.g-r/this.a;return n=p(a,this.e0,this.e1,this.e2,this.e3),i=u(this.long0+o/this.ns),e.x=i,e.y=n,e},t.names=["Equidistant_Conic","eqdc"]},function(e,t,r){"use strict";var n=r(7);t.init=function(){},t.forward=function(e){for(var t=e.x,r=e.y,i=n(t-this.long0),o=r,a=Math.PI*Math.sin(r),s=0;;s++){var l=-(o+Math.sin(o)-a)/(1+Math.cos(o));if(o+=l,Math.abs(l)<1e-10)break}o/=2,Math.PI/2-Math.abs(r)<1e-10&&(i=0);var u=.900316316158*this.a*i*Math.cos(o)+this.x0,c=1.4142135623731*this.a*Math.sin(o)+this.y0;return e.x=u,e.y=c,e},t.inverse=function(e){var t,r;e.x-=this.x0,e.y-=this.y0,r=e.y/(1.4142135623731*this.a),Math.abs(r)>.999999999999&&(r=.999999999999),t=Math.asin(r);var i=n(this.long0+e.x/(.900316316158*this.a*Math.cos(t)));i<-Math.PI&&(i=-Math.PI),i>Math.PI&&(i=Math.PI),r=(2*t+Math.sin(2*t))/Math.PI,Math.abs(r)>1&&(r=1);var o=Math.asin(r);return e.x=i,e.y=o,e},t.names=["Mollweide","moll"]},function(e,t,r){"use strict";var n=r(134);e.exports=function(e,t,r){for(var i=1/(1-t),o=e,a=20;a;--a){var s=Math.sin(o),l=1-t*s*s;if(o-=l=(n(o,s,Math.cos(o),r)-e)*(l*Math.sqrt(l))*i,Math.abs(l)<1e-10)return o}return o}},function(e,t,r){"use strict";var n=.01068115234375;e.exports=function(e){var t=[];t[0]=1-e*(.25+e*(.046875+e*(.01953125+e*n))),t[1]=e*(.75-e*(.046875+e*(.01953125+e*n)));var r=e*e;return t[2]=r*(.46875-e*(.013020833333333334+.007120768229166667*e)),r*=e,t[3]=r*(.3645833333333333-.005696614583333333*e),t[4]=r*e*.3076171875,t}},function(e,t,r){"use strict";var n=r(7),i=r(44),o=r(324),a=r(134),s=r(323),l=Math.PI/2,u=r(37);t.init=function(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=o(this.es)},t.forward=function(e){var t,r,i=e.x,o=e.y;if(i=n(i-this.long0),this.sphere){if(this.m)for(var s=this.n*Math.sin(o),l=20;l;--l){var u=(this.m*o+Math.sin(o)-s)/(this.m+Math.cos(o));if(o-=u,Math.abs(u)<1e-10)break}else o=1!==this.n?Math.asin(this.n*Math.sin(o)):o;t=this.a*this.C_x*i*(this.m+Math.cos(o)),r=this.a*this.C_y*o}else{var c=Math.sin(o),p=Math.cos(o);r=this.a*a(o,c,p,this.en),t=this.a*i*p/Math.sqrt(1-this.es*c*c)}return e.x=t,e.y=r,e},t.inverse=function(e){var t,r,o,a;return e.x-=this.x0,o=e.x/this.a,e.y-=this.y0,t=e.y/this.a,this.sphere?(t/=this.C_y,o/=this.C_x*(this.m+Math.cos(t)),this.m?t=u((this.m*t+Math.sin(t))/this.n):1!==this.n&&(t=u(Math.sin(t)/this.n)),o=n(o+this.long0),t=i(t)):(t=s(e.y/this.a,this.es,this.en),(a=Math.abs(t))0||Math.abs(a)<=1e-10?(s=this.x0+1*this.a*r*Math.sin(i)/a,l=this.y0+1*this.a*(this.cos_p14*t-this.sin_p14*r*o)/a):(s=this.x0+this.infinity_dist*r*Math.sin(i),l=this.y0+this.infinity_dist*(this.cos_p14*t-this.sin_p14*r*o)),e.x=s,e.y=l,e},t.inverse=function(e){var t,r,o,a,s,l;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,(t=Math.sqrt(e.x*e.x+e.y*e.y))?(a=Math.atan2(t,this.rc),r=Math.sin(a),o=Math.cos(a),l=i(o*this.sin_p14+e.y*r*this.cos_p14/t),s=Math.atan2(e.x*r,t*this.cos_p14*o-e.y*this.sin_p14*r),s=n(this.long0+s)):(l=this.phic0,s=0),e.x=s,e.y=l,e},t.names=["gnom"]},function(e,t,r){"use strict";var n=r(38),i=r(87),o=r(7),a=r(37);t.init=function(){Math.abs(this.lat1+this.lat2)<1e-10||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=n(this.e3,this.sin_po,this.cos_po),this.qs1=i(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=n(this.e3,this.sin_po,this.cos_po),this.qs2=i(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=i(this.e3,this.sin_po,this.cos_po),Math.abs(this.lat1-this.lat2)>1e-10?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},t.forward=function(e){var t=e.x,r=e.y;this.sin_phi=Math.sin(r),this.cos_phi=Math.cos(r);var n=i(this.e3,this.sin_phi,this.cos_phi),a=this.a*Math.sqrt(this.c-this.ns0*n)/this.ns0,s=this.ns0*o(t-this.long0),l=a*Math.sin(s)+this.x0,u=this.rh-a*Math.cos(s)+this.y0;return e.x=l,e.y=u,e},t.inverse=function(e){var t,r,n,i,a,s;return e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns0>=0?(t=Math.sqrt(e.x*e.x+e.y*e.y),n=1):(t=-Math.sqrt(e.x*e.x+e.y*e.y),n=-1),i=0,0!==t&&(i=Math.atan2(n*e.x,n*e.y)),n=t*this.ns0/this.a,this.sphere?s=Math.asin((this.c-n*n)/(2*this.ns0)):(r=(this.c-n*n)/this.ns0,s=this.phi1z(this.e3,r)),a=o(i/this.ns0+this.long0),e.x=a,e.y=s,e},t.phi1z=function(e,t){var r,n,i,o,s,l=a(.5*t);if(e<1e-10)return l;for(var u=e*e,c=1;c<=25;c++)if(r=Math.sin(l),n=Math.cos(l),l+=s=.5*(o=1-(i=e*r)*i)*o/n*(t/(1-u)-r/o+.5/e*Math.log((1-i)/(1+i))),Math.abs(s)<=1e-7)return l;return null},t.names=["Albers_Conic_Equal_Area","Albers","aea"]},function(e,t,r){"use strict";var n=Math.PI/2,i=Math.PI/4,o=r(87),a=r(7);t.S_POLE=1,t.N_POLE=2,t.EQUIT=3,t.OBLIQ=4,t.init=function(){var e,t=Math.abs(this.lat0);if(Math.abs(t-n)<1e-10?this.mode=this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(t)<1e-10?this.mode=this.EQUIT:this.mode=this.OBLIQ,this.es>0)switch(this.qp=o(this.e,1),this.mmf=.5/(1-this.es),this.apa=this.authset(this.es),this.mode){case this.N_POLE:case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),e=Math.sin(this.lat0),this.sinb1=o(this.e,e)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*e*e)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},t.forward=function(e){var t,r,s,l,u,c,p,f,h,y,d=e.x,v=e.y;if(d=a(d-this.long0),this.sphere){if(u=Math.sin(v),y=Math.cos(v),s=Math.cos(d),this.mode===this.OBLIQ||this.mode===this.EQUIT){if((r=this.mode===this.EQUIT?1+y*s:1+this.sinph0*u+this.cosph0*y*s)<=1e-10)return null;t=(r=Math.sqrt(2/r))*y*Math.sin(d),r*=this.mode===this.EQUIT?u:this.cosph0*u-this.sinph0*y*s}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(s=-s),Math.abs(v+this.phi0)<1e-10)return null;r=i-.5*v,t=(r=2*(this.mode===this.S_POLE?Math.cos(r):Math.sin(r)))*Math.sin(d),r*=s}}else{switch(p=0,f=0,h=0,s=Math.cos(d),l=Math.sin(d),u=Math.sin(v),c=o(this.e,u),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(p=c/this.qp,f=Math.sqrt(1-p*p)),this.mode){case this.OBLIQ:h=1+this.sinb1*p+this.cosb1*f*s;break;case this.EQUIT:h=1+f*s;break;case this.N_POLE:h=n+v,c=this.qp-c;break;case this.S_POLE:h=v-n,c=this.qp+c}if(Math.abs(h)<1e-10)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:h=Math.sqrt(2/h),r=this.mode===this.OBLIQ?this.ymf*h*(this.cosb1*p-this.sinb1*f*s):(h=Math.sqrt(2/(1+f*s)))*p*this.ymf,t=this.xmf*h*f*l;break;case this.N_POLE:case this.S_POLE:c>=0?(t=(h=Math.sqrt(c))*l,r=s*(this.mode===this.S_POLE?h:-h)):t=r=0}}return e.x=this.a*t+this.x0,e.y=this.a*r+this.y0,e},t.inverse=function(e){e.x-=this.x0,e.y-=this.y0;var t,r,i,o,s,l,u,c=e.x/this.a,p=e.y/this.a;if(this.sphere){var f,h=0,y=0;if((r=.5*(f=Math.sqrt(c*c+p*p)))>1)return null;switch(r=2*Math.asin(r),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(y=Math.sin(r),h=Math.cos(r)),this.mode){case this.EQUIT:r=Math.abs(f)<=1e-10?0:Math.asin(p*y/f),c*=y,p=h*f;break;case this.OBLIQ:r=Math.abs(f)<=1e-10?this.phi0:Math.asin(h*this.sinph0+p*y*this.cosph0/f),c*=y*this.cosph0,p=(h-Math.sin(r)*this.sinph0)*f;break;case this.N_POLE:p=-p,r=n-r;break;case this.S_POLE:r-=n}t=0!==p||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(c,p):0}else{if(u=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(c/=this.dd,p*=this.dd,(l=Math.sqrt(c*c+p*p))<1e-10)return e.x=0,e.y=this.phi0,e;o=2*Math.asin(.5*l/this.rq),i=Math.cos(o),c*=o=Math.sin(o),this.mode===this.OBLIQ?(u=i*this.sinb1+p*o*this.cosb1/l,s=this.qp*u,p=l*this.cosb1*i-p*this.sinb1*o):(u=p*o/l,s=this.qp*u,p=l*i)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(p=-p),!(s=c*c+p*p))return e.x=0,e.y=this.phi0,e;u=1-s/this.qp,this.mode===this.S_POLE&&(u=-u)}t=Math.atan2(c,p),r=this.authlat(Math.asin(u),this.apa)}return e.x=a(this.long0+t),e.y=r,e},t.P00=.3333333333333333,t.P01=.17222222222222222,t.P02=.10257936507936508,t.P10=.06388888888888888,t.P11=.0664021164021164,t.P20=.016415012942191543,t.authset=function(e){var t,r=[];return r[0]=e*this.P00,t=e*e,r[0]+=t*this.P01,r[1]=t*this.P10,t*=e,r[0]+=t*this.P02,r[1]+=t*this.P11,r[2]=t*this.P20,r},t.authlat=function(e,t){var r=e+e;return e+t[0]*Math.sin(r)+t[1]*Math.sin(r+r)+t[2]*Math.sin(r+r+r)},t.names=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"]},function(e,t,r){"use strict";var n=r(45),i=r(49),o=r(48),a=r(47),s=r(46),l=r(89),u=r(7),c=r(44),p=r(88),f=Math.PI/2;t.init=function(){this.sphere||(this.e0=i(this.es),this.e1=o(this.es),this.e2=a(this.es),this.e3=s(this.es),this.ml0=this.a*n(this.e0,this.e1,this.e2,this.e3,this.lat0))},t.forward=function(e){var t,r,i=e.x,o=e.y;if(i=u(i-this.long0),this.sphere)t=this.a*Math.asin(Math.cos(o)*Math.sin(i)),r=this.a*(Math.atan2(Math.tan(o),Math.cos(i))-this.lat0);else{var a=Math.sin(o),s=Math.cos(o),c=l(this.a,this.e,a),p=Math.tan(o)*Math.tan(o),f=i*Math.cos(o),h=f*f,y=this.es*s*s/(1-this.es);t=c*f*(1-h*p*(1/6-(8-p+8*y)*h/120)),r=this.a*n(this.e0,this.e1,this.e2,this.e3,o)-this.ml0+c*a/s*h*(.5+(5-p+6*y)*h/24)}return e.x=t+this.x0,e.y=r+this.y0,e},t.inverse=function(e){e.x-=this.x0,e.y-=this.y0;var t,r,n=e.x/this.a,i=e.y/this.a;if(this.sphere){var o=i+this.lat0;t=Math.asin(Math.sin(o)*Math.cos(n)),r=Math.atan2(Math.tan(n),Math.cos(o))}else{var a=this.ml0/this.a+i,s=p(a,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(s)-f)<=1e-10)return e.x=this.long0,e.y=f,i<0&&(e.y*=-1),e;var h=l(this.a,this.e,Math.sin(s)),y=h*h*h/this.a/this.a*(1-this.es),d=Math.pow(Math.tan(s),2),v=n*this.a/h,m=v*v;t=s-h*Math.tan(s)/y*v*v*(.5-(1+3*d)*v*v/24),r=v*(1-m*(d/3+(1+3*d)*d*m/15))/Math.cos(s)}return e.x=u(r+this.long0),e.y=c(t),e},t.names=["Cassini","Cassini_Soldner","cass"]},function(e,t,r){"use strict";var n=r(7);t.init=function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},t.forward=function(e){var t,r,i,o,a,s,l,u=e.x,c=e.y,p=n(u-this.long0);return t=Math.pow((1+this.e*Math.sin(c))/(1-this.e*Math.sin(c)),this.alfa*this.e/2),r=2*(Math.atan(this.k*Math.pow(Math.tan(c/2+this.s45),this.alfa)/t)-this.s45),i=-p*this.alfa,o=Math.asin(Math.cos(this.ad)*Math.sin(r)+Math.sin(this.ad)*Math.cos(r)*Math.cos(i)),a=Math.asin(Math.cos(r)*Math.sin(i)/Math.cos(o)),s=this.n*a,l=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(o/2+this.s45),this.n),e.y=l*Math.cos(s)/1,e.x=l*Math.sin(s)/1,this.czech||(e.y*=-1,e.x*=-1),e},t.inverse=function(e){var t,r,n,i,o,a,s,l=e.x;e.x=e.y,e.y=l,this.czech||(e.y*=-1,e.x*=-1),o=Math.sqrt(e.x*e.x+e.y*e.y),i=Math.atan2(e.y,e.x)/Math.sin(this.s0),n=2*(Math.atan(Math.pow(this.ro0/o,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),t=Math.asin(Math.cos(this.ad)*Math.sin(n)-Math.sin(this.ad)*Math.cos(n)*Math.cos(i)),r=Math.asin(Math.cos(n)*Math.sin(i)/Math.cos(t)),e.x=this.long0-r/this.alfa,a=t,s=0;var u=0;do{e.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(t/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(a))/(1-this.e*Math.sin(a)),this.e/2))-this.s45),Math.abs(a-e.y)<1e-10&&(s=1),a=e.y,u+=1}while(0===s&&u<15);return u>=15?null:e},t.names=["Krovak","krovak"]},function(e,t,r){"use strict";var n=r(38),i=r(61),o=Math.PI/2,a=r(50),s=r(7),l=r(60);t.init=function(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)<1e-10)){var e=this.b/this.a;this.e=Math.sqrt(1-e*e);var t=Math.sin(this.lat1),r=Math.cos(this.lat1),o=n(this.e,t,r),a=i(this.e,this.lat1,t),s=Math.sin(this.lat2),l=Math.cos(this.lat2),u=n(this.e,s,l),c=i(this.e,this.lat2,s),p=i(this.e,this.lat0,Math.sin(this.lat0));Math.abs(this.lat1-this.lat2)>1e-10?this.ns=Math.log(o/u)/Math.log(a/c):this.ns=t,isNaN(this.ns)&&(this.ns=t),this.f0=o/(this.ns*Math.pow(a,this.ns)),this.rh=this.a*this.f0*Math.pow(p,this.ns),this.title||(this.title="Lambert Conformal Conic")}},t.forward=function(e){var t=e.x,r=e.y;Math.abs(2*Math.abs(r)-Math.PI)<=1e-10&&(r=a(r)*(o-2e-10));var n,l,u=Math.abs(Math.abs(r)-o);if(u>1e-10)n=i(this.e,r,Math.sin(r)),l=this.a*this.f0*Math.pow(n,this.ns);else{if((u=r*this.ns)<=0)return null;l=0}var c=this.ns*s(t-this.long0);return e.x=this.k0*(l*Math.sin(c))+this.x0,e.y=this.k0*(this.rh-l*Math.cos(c))+this.y0,e},t.inverse=function(e){var t,r,n,i,a,u=(e.x-this.x0)/this.k0,c=this.rh-(e.y-this.y0)/this.k0;this.ns>0?(t=Math.sqrt(u*u+c*c),r=1):(t=-Math.sqrt(u*u+c*c),r=-1);var p=0;if(0!==t&&(p=Math.atan2(r*u,r*c)),0!==t||this.ns>0){if(r=1/this.ns,n=Math.pow(t/(this.a*this.f0),r),-9999===(i=l(this.e,n)))return null}else i=-o;return a=s(p/this.ns+this.long0),e.x=a,e.y=i,e},t.names=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_2SP","lcc"]},function(e,t,r){"use strict";var n=r(61),i=r(7),o=r(60),a=Math.PI/2,s=Math.PI/4;t.init=function(){this.no_off=this.no_off||!1,this.no_rot=this.no_rot||!1,isNaN(this.k0)&&(this.k0=1);var e=Math.sin(this.lat0),t=Math.cos(this.lat0),r=this.e*e;this.bl=Math.sqrt(1+this.es/(1-this.es)*Math.pow(t,4)),this.al=this.a*this.bl*this.k0*Math.sqrt(1-this.es)/(1-r*r);var o,a,s=n(this.e,this.lat0,e),l=this.bl/t*Math.sqrt((1-this.es)/(1-r*r));if(l*l<1&&(l=1),isNaN(this.longc)){var u=n(this.e,this.lat1,Math.sin(this.lat1)),c=n(this.e,this.lat2,Math.sin(this.lat2));this.lat0>=0?this.el=(l+Math.sqrt(l*l-1))*Math.pow(s,this.bl):this.el=(l-Math.sqrt(l*l-1))*Math.pow(s,this.bl);var p=Math.pow(u,this.bl),f=Math.pow(c,this.bl);a=.5*((o=this.el/p)-1/o);var h=(this.el*this.el-f*p)/(this.el*this.el+f*p),y=(f-p)/(f+p),d=i(this.long1-this.long2);this.long0=.5*(this.long1+this.long2)-Math.atan(h*Math.tan(.5*this.bl*d)/y)/this.bl,this.long0=i(this.long0);var v=i(this.long1-this.long0);this.gamma0=Math.atan(Math.sin(this.bl*v)/a),this.alpha=Math.asin(l*Math.sin(this.gamma0))}else o=this.lat0>=0?l+Math.sqrt(l*l-1):l-Math.sqrt(l*l-1),this.el=o*Math.pow(s,this.bl),a=.5*(o-1/o),this.gamma0=Math.asin(Math.sin(this.alpha)/l),this.long0=this.longc-Math.asin(a*Math.tan(this.gamma0))/this.bl;this.no_off?this.uc=0:this.lat0>=0?this.uc=this.al/this.bl*Math.atan2(Math.sqrt(l*l-1),Math.cos(this.alpha)):this.uc=-1*this.al/this.bl*Math.atan2(Math.sqrt(l*l-1),Math.cos(this.alpha))},t.forward=function(e){var t,r,o,l=e.x,u=e.y,c=i(l-this.long0);if(Math.abs(Math.abs(u)-a)<=1e-10)o=u>0?-1:1,r=this.al/this.bl*Math.log(Math.tan(s+o*this.gamma0*.5)),t=-1*o*a*this.al/this.bl;else{var p=n(this.e,u,Math.sin(u)),f=this.el/Math.pow(p,this.bl),h=.5*(f-1/f),y=.5*(f+1/f),d=Math.sin(this.bl*c),v=(h*Math.sin(this.gamma0)-d*Math.cos(this.gamma0))/y;r=Math.abs(Math.abs(v)-1)<=1e-10?Number.POSITIVE_INFINITY:.5*this.al*Math.log((1-v)/(1+v))/this.bl,t=Math.abs(Math.cos(this.bl*c))<=1e-10?this.al*this.bl*c:this.al*Math.atan2(h*Math.cos(this.gamma0)+d*Math.sin(this.gamma0),Math.cos(this.bl*c))/this.bl}return this.no_rot?(e.x=this.x0+t,e.y=this.y0+r):(t-=this.uc,e.x=this.x0+r*Math.cos(this.alpha)+t*Math.sin(this.alpha),e.y=this.y0+t*Math.cos(this.alpha)-r*Math.sin(this.alpha)),e},t.inverse=function(e){var t,r;this.no_rot?(r=e.y-this.y0,t=e.x-this.x0):(r=(e.x-this.x0)*Math.cos(this.alpha)-(e.y-this.y0)*Math.sin(this.alpha),t=(e.y-this.y0)*Math.cos(this.alpha)+(e.x-this.x0)*Math.sin(this.alpha),t+=this.uc);var n=Math.exp(-1*this.bl*r/this.al),s=.5*(n-1/n),l=.5*(n+1/n),u=Math.sin(this.bl*t/this.al),c=(u*Math.cos(this.gamma0)+s*Math.sin(this.gamma0))/l,p=Math.pow(this.el/Math.sqrt((1+c)/(1-c)),1/this.bl);return Math.abs(c-1)<1e-10?(e.x=this.long0,e.y=a):Math.abs(c+1)<1e-10?(e.x=this.long0,e.y=-1*a):(e.y=o(this.e,p),e.x=i(this.long0-Math.atan2(s*Math.cos(this.gamma0)-u*Math.sin(this.gamma0),Math.cos(this.bl*t/this.al))/this.bl)),e},t.names=["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","omerc"]},function(e,t,r){"use strict";t.init=function(){var e=this.lat0;this.lambda0=this.long0;var t=Math.sin(e),r=this.a,n=1/this.rf,i=2*n-Math.pow(n,2),o=this.e=Math.sqrt(i);this.R=this.k0*r*Math.sqrt(1-i)/(1-i*Math.pow(t,2)),this.alpha=Math.sqrt(1+i/(1-i)*Math.pow(Math.cos(e),4)),this.b0=Math.asin(t/this.alpha);var a=Math.log(Math.tan(Math.PI/4+this.b0/2)),s=Math.log(Math.tan(Math.PI/4+e/2)),l=Math.log((1+o*t)/(1-o*t));this.K=a-this.alpha*s+this.alpha*o/2*l},t.forward=function(e){var t=Math.log(Math.tan(Math.PI/4-e.y/2)),r=this.e/2*Math.log((1+this.e*Math.sin(e.y))/(1-this.e*Math.sin(e.y))),n=-this.alpha*(t+r)+this.K,i=2*(Math.atan(Math.exp(n))-Math.PI/4),o=this.alpha*(e.x-this.lambda0),a=Math.atan(Math.sin(o)/(Math.sin(this.b0)*Math.tan(i)+Math.cos(this.b0)*Math.cos(o))),s=Math.asin(Math.cos(this.b0)*Math.sin(i)-Math.sin(this.b0)*Math.cos(i)*Math.cos(o));return e.y=this.R/2*Math.log((1+Math.sin(s))/(1-Math.sin(s)))+this.y0,e.x=this.R*a+this.x0,e},t.inverse=function(e){for(var t=e.x-this.x0,r=e.y-this.y0,n=t/this.R,i=2*(Math.atan(Math.exp(r/this.R))-Math.PI/4),o=Math.asin(Math.cos(this.b0)*Math.sin(i)+Math.sin(this.b0)*Math.cos(i)*Math.cos(n)),a=Math.atan(Math.sin(n)/(Math.cos(this.b0)*Math.cos(n)-Math.sin(this.b0)*Math.tan(i))),s=this.lambda0+a/this.alpha,l=0,u=o,c=-1e3,p=0;Math.abs(u-c)>1e-7;){if(++p>20)return;l=1/this.alpha*(Math.log(Math.tan(Math.PI/4+o/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(u))/2)),c=u,u=2*Math.atan(Math.exp(l))-Math.PI/2}return e.x=s,e.y=u,e},t.names=["somerc"]},function(e,t,r){"use strict";var n=Math.PI/2,i=r(50),o=r(38),a=r(61),s=r(60),l=r(7);t.ssfn_=function(e,t,r){return t*=r,Math.tan(.5*(n+e))*Math.pow((1-t)/(1+t),.5*r)},t.init=function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&(this.k0=.5*(1+i(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=1e-10&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=1e-10&&(this.k0=.5*this.cons*o(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/a(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=o(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-n,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},t.forward=function(e){var t,r,i,o,s,u,c=e.x,p=e.y,f=Math.sin(p),h=Math.cos(p),y=l(c-this.long0);return Math.abs(Math.abs(c-this.long0)-Math.PI)<=1e-10&&Math.abs(p+this.lat0)<=1e-10?(e.x=NaN,e.y=NaN,e):this.sphere?(t=2*this.k0/(1+this.sinlat0*f+this.coslat0*h*Math.cos(y)),e.x=this.a*t*h*Math.sin(y)+this.x0,e.y=this.a*t*(this.coslat0*f-this.sinlat0*h*Math.cos(y))+this.y0,e):(r=2*Math.atan(this.ssfn_(p,f,this.e))-n,o=Math.cos(r),i=Math.sin(r),Math.abs(this.coslat0)<=1e-10?(s=a(this.e,p*this.con,this.con*f),u=2*this.a*this.k0*s/this.cons,e.x=this.x0+u*Math.sin(c-this.long0),e.y=this.y0-this.con*u*Math.cos(c-this.long0),e):(Math.abs(this.sinlat0)<1e-10?(t=2*this.a*this.k0/(1+o*Math.cos(y)),e.y=t*i):(t=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*i+this.cosX0*o*Math.cos(y))),e.y=t*(this.cosX0*i-this.sinX0*o*Math.cos(y))+this.y0),e.x=t*o*Math.sin(y)+this.x0,e))},t.inverse=function(e){var t,r,i,o,a;e.x-=this.x0,e.y-=this.y0;var u=Math.sqrt(e.x*e.x+e.y*e.y);if(this.sphere){var c=2*Math.atan(u/(.5*this.a*this.k0));return t=this.long0,r=this.lat0,u<=1e-10?(e.x=t,e.y=r,e):(r=Math.asin(Math.cos(c)*this.sinlat0+e.y*Math.sin(c)*this.coslat0/u),t=Math.abs(this.coslat0)<1e-10?this.lat0>0?l(this.long0+Math.atan2(e.x,-1*e.y)):l(this.long0+Math.atan2(e.x,e.y)):l(this.long0+Math.atan2(e.x*Math.sin(c),u*this.coslat0*Math.cos(c)-e.y*this.sinlat0*Math.sin(c))),e.x=t,e.y=r,e)}if(Math.abs(this.coslat0)<=1e-10){if(u<=1e-10)return r=this.lat0,t=this.long0,e.x=t,e.y=r,e;e.x*=this.con,e.y*=this.con,i=u*this.cons/(2*this.a*this.k0),r=this.con*s(this.e,i),t=this.con*l(this.con*this.long0+Math.atan2(e.x,-1*e.y))}else o=2*Math.atan(u*this.cosX0/(2*this.a*this.k0*this.ms1)),t=this.long0,u<=1e-10?a=this.X0:(a=Math.asin(Math.cos(o)*this.sinX0+e.y*Math.sin(o)*this.cosX0/u),t=l(this.long0+Math.atan2(e.x*Math.sin(o),u*this.cosX0*Math.cos(o)-e.y*this.sinX0*Math.sin(o)))),r=-1*s(this.e,Math.tan(.5*(n+a)));return e.x=t,e.y=r,e},t.names=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"]},function(e,t,r){"use strict";e.exports=function(e,t){return Math.pow((1-e)/(1+e),t)}},function(e,t,r){"use strict";var n=Math.PI/4,i=r(341),o=Math.PI/2;t.init=function(){var e=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t,this.rc=Math.sqrt(1-this.es)/(1-this.es*e*e),this.C=Math.sqrt(1+this.es*t*t/(1-this.es)),this.phic0=Math.asin(e/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+n)/(Math.pow(Math.tan(.5*this.lat0+n),this.C)*i(this.e*e,this.ratexp))},t.forward=function(e){var t=e.x,r=e.y;return e.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*r+n),this.C)*i(this.e*Math.sin(r),this.ratexp))-o,e.x=this.C*t,e},t.inverse=function(e){for(var t=e.x/this.C,r=e.y,a=Math.pow(Math.tan(.5*r+n)/this.K,1/this.C),s=20;s>0&&(r=2*Math.atan(a*i(this.e*Math.sin(e.y),-.5*this.e))-o,!(Math.abs(r-e.y)<1e-14));--s)e.y=r;return s?(e.x=t,e.y=r,e):null},t.names=["gauss"]},function(e,t,r){"use strict";var n=r(342),i=r(7);t.init=function(){n.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},t.forward=function(e){var t,r,o,a;return e.x=i(e.x-this.long0),n.forward.apply(this,[e]),t=Math.sin(e.y),r=Math.cos(e.y),o=Math.cos(e.x),a=this.k0*this.R2/(1+this.sinc0*t+this.cosc0*r*o),e.x=a*r*Math.sin(e.x),e.y=a*(this.cosc0*t-this.sinc0*r*o),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e},t.inverse=function(e){var t,r,o,a,s;if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,s=Math.sqrt(e.x*e.x+e.y*e.y)){var l=2*Math.atan2(s,this.R2);t=Math.sin(l),r=Math.cos(l),a=Math.asin(r*this.sinc0+e.y*t*this.cosc0/s),o=Math.atan2(e.x*t,s*this.cosc0*r-e.y*this.sinc0*t)}else a=this.phic0,o=0;return e.x=o,e.y=a,n.inverse.apply(this,[e]),e.x=i(e.x+this.long0),e},t.names=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative"]},function(e,t,r){"use strict";var n=r(135);t.dependsOn="tmerc",t.init=function(){this.zone&&(this.lat0=0,this.long0=.017453292519943295*(6*Math.abs(this.zone)-183),this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,n.init.apply(this),this.forward=n.forward,this.inverse=n.inverse)},t.names=["Universal Transverse Mercator System","utm"]},function(e,t,r){"use strict";var n=[r(135),r(344),r(343),r(340),r(339),r(338),r(337),r(336),r(335),r(334),r(333),r(332),r(331),r(329),r(328),r(327),r(326),r(325),r(322),r(321),r(320),r(319)];e.exports=function(e){n.forEach(function(t){e.Proj.projections.add(t)})}},function(e){e.exports={_from:"proj4@2.3.15",_id:"proj4@2.3.15",_inBundle:!1,_integrity:"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=",_location:"/proj4",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"proj4@2.3.15",name:"proj4",escapedName:"proj4",rawSpec:"2.3.15",saveSpec:null,fetchSpec:"2.3.15"},_requiredBy:["/"],_resolved:"http://localhost:4873/proj4/-/proj4-2.3.15.tgz",_shasum:"5ad06e8bca30be0ffa389a49e4565f51f06d089e",_spec:"proj4@2.3.15",_where:"E:\\2018\\git\\iClient-JavaScript",author:"",bugs:{url:"https://github.com/proj4js/proj4js/issues"},bundleDependencies:!1,contributors:[{name:"Mike Adair",email:"madair@dmsolutions.ca"},{name:"Richard Greenwood",email:"rich@greenwoodmap.com"},{name:"Calvin Metcalf",email:"calvin.metcalf@gmail.com"},{name:"Richard Marsden",url:"http://www.winwaed.com"},{name:"T. Mittan"},{name:"D. Steinwand"},{name:"S. Nelson"}],dependencies:{mgrs:"~0.0.2"},deprecated:!1,description:"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",devDependencies:{browserify:"~12.0.1",chai:"~1.8.1",curl:"git://github.com/cujojs/curl.git",grunt:"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0",istanbul:"~0.2.4",mocha:"~1.17.1",tin:"~0.4.0"},directories:{test:"test",doc:"docs"},homepage:"https://github.com/proj4js/proj4js#readme",jam:{main:"dist/proj4.js",include:["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},license:"MIT",main:"lib/index.js",name:"proj4",repository:{type:"git",url:"git://github.com/proj4js/proj4js.git"},scripts:{test:"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},version:"2.3.15"}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(136);function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);if(Array.isArray(e))this.x=e[0],this.y=e[1],this.z=e[2]||0;else if("object"===(void 0===e?"undefined":n(e)))this.x=e.x,this.y=e.y,this.z=e.z||0;else if("string"==typeof e&&void 0===t){var i=e.split(",");this.x=parseFloat(i[0],10),this.y=parseFloat(i[1],10),this.z=parseFloat(i[2],10)||0}else this.x=e,this.y=t,this.z=r||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}o.fromMGRS=function(e){return new o(i.toPoint(e))},o.prototype.toMGRS=function(e){return i.forward([this.x,this.y],e)},e.exports=o},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,i,o,a=r.x,s=r.y,l=r.z||0;for(o=0;o<3;o++)if(!t||2!==o||void 0!==r.z)switch(0===o?(n=a,i="x"):1===o?(n=s,i="y"):(n=l,i="z"),e.axis[o]){case"e":r[i]=n;break;case"w":r[i]=-n;break;case"n":r[i]=n;break;case"s":r[i]=-n;break;case"u":void 0!==r[i]&&(r.z=n);break;case"d":void 0!==r[i]&&(r.z=-n);break;default:return null}return r}},function(e,t,r){"use strict";var n=1,i=2;e.exports=function(e,t,r){var o,a,s;function l(e){return e===n||e===i}if(e.compare_datums(t))return r;if(5===e.datum_type||5===t.datum_type)return r;var u=e.a,c=e.es,p=t.a,f=t.es,h=e.datum_type;if(3===h)if(0===this.apply_gridshift(e,0,r))e.a=6378137,e.es=.006694379990141316;else{if(!e.datum_params)return e.a=u,e.es=e.es,r;for(o=1,a=0,s=e.datum_params.length;a3?i:n}return 3===t.datum_type&&(t.a=6378137,t.es=.006694379990141316),(e.es!==t.es||e.a!==t.a||l(h)||l(t.datum_type))&&(e.geodetic_to_geocentric(r),l(e.datum_type)&&e.geocentric_to_wgs84(r),l(t.datum_type)&&t.geocentric_from_wgs84(r),t.geocentric_to_geodetic(r)),3===t.datum_type&&this.apply_gridshift(t,1,r),e.a=u,e.es=c,t.a=p,t.es=f,r}},function(e,t,r){"use strict";var n=Math.PI/2,i=function e(t){if(!(this instanceof e))return new e(t);this.datum_type=4,t&&(t.datumCode&&"none"===t.datumCode&&(this.datum_type=5),t.datum_params&&(this.datum_params=t.datum_params.map(parseFloat),0===this.datum_params[0]&&0===this.datum_params[1]&&0===this.datum_params[2]||(this.datum_type=1),this.datum_params.length>3&&(0===this.datum_params[3]&&0===this.datum_params[4]&&0===this.datum_params[5]&&0===this.datum_params[6]||(this.datum_type=2,this.datum_params[3]*=484813681109536e-20,this.datum_params[4]*=484813681109536e-20,this.datum_params[5]*=484813681109536e-20,this.datum_params[6]=this.datum_params[6]/1e6+1))),this.datum_type=t.grids?3:this.datum_type,this.a=t.a,this.b=t.b,this.es=t.es,this.ep2=t.ep2,3===this.datum_type&&(this.grids=t.grids))};i.prototype={compare_datums:function(e){return this.datum_type===e.datum_type&&(!(this.a!==e.a||Math.abs(this.es-e.es)>5e-11)&&(1===this.datum_type?this.datum_params[0]===e.datum_params[0]&&this.datum_params[1]===e.datum_params[1]&&this.datum_params[2]===e.datum_params[2]:2===this.datum_type?this.datum_params[0]===e.datum_params[0]&&this.datum_params[1]===e.datum_params[1]&&this.datum_params[2]===e.datum_params[2]&&this.datum_params[3]===e.datum_params[3]&&this.datum_params[4]===e.datum_params[4]&&this.datum_params[5]===e.datum_params[5]&&this.datum_params[6]===e.datum_params[6]:3!==this.datum_type&&3!==e.datum_type||this.nadgrids===e.nadgrids))},geodetic_to_geocentric:function(e){var t,r,i,o,a,s,l,u=e.x,c=e.y,p=e.z?e.z:0;if(c<-n&&c>-1.001*n)c=-n;else if(c>n&&c<1.001*n)c=n;else if(c<-n||c>n)return null;return u>Math.PI&&(u-=2*Math.PI),a=Math.sin(c),l=Math.cos(c),s=a*a,t=((o=this.a/Math.sqrt(1-this.es*s))+p)*l*Math.cos(u),r=(o+p)*l*Math.sin(u),i=(o*(1-this.es)+p)*a,e.x=t,e.y=r,e.z=i,0},geocentric_to_geodetic:function(e){var t,r,i,o,a,s,l,u,c,p,f,h,y,d,v,m,b=e.x,g=e.y,S=e.z?e.z:0;if(!1,t=Math.sqrt(b*b+g*g),r=Math.sqrt(b*b+g*g+S*S),t/this.a<1e-12){if(!0,d=0,r/this.a<1e-12)return v=n,void(m=-this.b)}else d=Math.atan2(g,b);i=S/r,o=t/r,a=1/Math.sqrt(1-this.es*(2-this.es)*o*o),u=o*(1-this.es)*a,c=i*a,y=0;do{y++,m=t*u+S*c-(l=this.a/Math.sqrt(1-this.es*c*c))*(1-this.es*c*c),s=this.es*l/(l+m),h=(f=i*(a=1/Math.sqrt(1-s*(2-s)*o*o)))*u-(p=o*(1-s)*a)*c,u=p,c=f}while(h*h>1e-24&&y<30);return v=Math.atan(f/Math.abs(p)),e.x=d,e.y=v,e.z=m,e},geocentric_to_geodetic_noniter:function(e){var t,r,i,o,a,s,l,u,c,p,f,h,y,d,v,m,b,g=e.x,S=e.y,_=e.z?e.z:0;if(g=parseFloat(g),S=parseFloat(S),_=parseFloat(_),b=!1,0!==g)t=Math.atan2(S,g);else if(S>0)t=n;else if(S<0)t=-n;else if(b=!0,t=0,_>0)r=n;else{if(!(_<0))return r=n,void(i=-this.b);r=-n}return a=g*g+S*S,s=1.0026*_,h=(o=Math.sqrt(a))/(u=Math.sqrt(s*s+a)),f=(p=s/u)*p*p,l=_+this.b*this.ep2*f,m=o-this.a*this.es*h*h*h,y=l/(c=Math.sqrt(l*l+m*m)),d=m/c,v=this.a/Math.sqrt(1-this.es*y*y),i=d>=.3826834323650898?o/d-v:d<=-.3826834323650898?o/-d-v:_/y+v*(this.es-1),!1===b&&(r=Math.atan(y/d)),e.x=t,e.y=r,e.z=i,e},geocentric_to_wgs84:function(e){if(1===this.datum_type)e.x+=this.datum_params[0],e.y+=this.datum_params[1],e.z+=this.datum_params[2];else if(2===this.datum_type){var t=this.datum_params[0],r=this.datum_params[1],n=this.datum_params[2],i=this.datum_params[3],o=this.datum_params[4],a=this.datum_params[5],s=this.datum_params[6],l=s*(e.x-a*e.y+o*e.z)+t,u=s*(a*e.x+e.y-i*e.z)+r,c=s*(-o*e.x+i*e.y+e.z)+n;e.x=l,e.y=u,e.z=c}},geocentric_from_wgs84:function(e){if(1===this.datum_type)e.x-=this.datum_params[0],e.y-=this.datum_params[1],e.z-=this.datum_params[2];else if(2===this.datum_type){var t=this.datum_params[0],r=this.datum_params[1],n=this.datum_params[2],i=this.datum_params[3],o=this.datum_params[4],a=this.datum_params[5],s=this.datum_params[6],l=(e.x-t)/s,u=(e.y-r)/s,c=(e.z-n)/s;e.x=l+a*u-o*c,e.y=-a*l+u+i*c,e.z=o*l-i*u+c}}},e.exports=i},function(e,t,r){"use strict";t.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"},t.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},t.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},t.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"},t.airy={a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},t.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},t.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},t.mod_airy={a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},t.andrae={a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},t.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},t.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},t.bessel={a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},t.bess_nam={a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},t.clrk66={a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},t.clrk80={a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},t.clrk58={a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},t.CPM={a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},t.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},t.engelis={a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},t.evrst30={a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},t.evrst48={a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},t.evrst56={a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},t.evrst69={a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},t.evrstSS={a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},t.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},t.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"},t.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"},t.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"},t.hough={a:6378270,rf:297,ellipseName:"Hough"},t.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},t.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"},t.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"},t.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"},t.new_intl={a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},t.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},t.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},t.SEasia={a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},t.walbeck={a:6376896,b:6355834.8467,ellipseName:"Walbeck"},t.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"},t.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"},t.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"},t.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"},t.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"}},function(e,t,r){"use strict";t.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},t.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},t.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},t.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},t.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},t.potsdam={towgs84:"606.0,23.0,413.0",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},t.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},t.hermannskogel={towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"},t.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},t.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},t.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},t.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},t.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},t.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},t.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},t.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"}},function(e,t,r){"use strict";var n=r(352),i=r(351),o=r(90),a=r(350);e.exports=function(e){if(e.datumCode&&"none"!==e.datumCode){var t=n[e.datumCode];t&&(e.datum_params=t.towgs84?t.towgs84.split(","):null,e.ellps=t.ellipse,e.datumName=t.datumName?t.datumName:e.datumCode)}if(!e.a){var r=i[e.ellps]?i[e.ellps]:i.WGS84;o(e,r)}return e.rf&&!e.b&&(e.b=(1-1/e.rf)*e.a),(0===e.rf||Math.abs(e.a-e.b)<1e-10)&&(e.sphere=!0,e.b=e.a),e.a2=e.a*e.a,e.b2=e.b*e.b,e.es=(e.a2-e.b2)/e.a2,e.e=Math.sqrt(e.es),e.R_A&&(e.a*=1-e.es*(.16666666666666666+e.es*(.04722222222222222+.022156084656084655*e.es)),e.a2=e.a*e.a,e.b2=e.b*e.b,e.es=0),e.ep2=(e.a2-e.b2)/e.b2,e.k0||(e.k0=1),e.axis||(e.axis="enu"),e.datum||(e.datum=a(e)),e}},function(e,t,r){"use strict";function n(e){return e}t.init=function(){},t.forward=n,t.inverse=n,t.names=["longlat","identity"]},function(e,t,r){"use strict";var n=r(38),i=Math.PI/2,o=57.29577951308232,a=r(7),s=Math.PI/4,l=r(61),u=r(60);t.init=function(){var e=this.b/this.a;this.es=1-e*e,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=n(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)},t.forward=function(e){var t,r,n=e.x,u=e.y;if(u*o>90&&u*o<-90&&n*o>180&&n*o<-180)return null;if(Math.abs(Math.abs(u)-i)<=1e-10)return null;if(this.sphere)t=this.x0+this.a*this.k0*a(n-this.long0),r=this.y0+this.a*this.k0*Math.log(Math.tan(s+.5*u));else{var c=Math.sin(u),p=l(this.e,u,c);t=this.x0+this.a*this.k0*a(n-this.long0),r=this.y0-this.a*this.k0*Math.log(p)}return e.x=t,e.y=r,e},t.inverse=function(e){var t,r,n=e.x-this.x0,o=e.y-this.y0;if(this.sphere)r=i-2*Math.atan(Math.exp(-o/(this.a*this.k0)));else{var s=Math.exp(-o/(this.a*this.k0));if(-9999===(r=u(this.e,s)))return null}return t=a(this.long0+n/(this.a*this.k0)),e.x=t,e.y=r,e},t.names=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},function(e,t,r){"use strict";var n=[r(355),r(354)],i={},o=[];function a(e,t){var r=o.length;return e.names?(o[r]=e,e.names.forEach(function(e){i[e.toLowerCase()]=r}),this):(console.log(t),!0)}t.add=a,t.get=function(e){if(!e)return!1;var t=e.toLowerCase();return void 0!==i[t]&&o[i[t]]?o[i[t]]:void 0},t.start=function(){n.forEach(a)}},function(e,t,r){"use strict";t.ft={to_meter:.3048},t["us-ft"]={to_meter:1200/3937}},function(e,t,r){"use strict";t.greenwich=0,t.lisbon=-9.131906111111,t.paris=2.337229166667,t.bogota=-74.080916666667,t.madrid=-3.687938888889,t.rome=12.452333333333,t.bern=7.439583333333,t.jakarta=106.807719444444,t.ferro=-17.666666666667,t.brussels=4.367975,t.stockholm=18.058277777778,t.athens=23.7163375,t.oslo=10.722916666667},function(e,t,r){"use strict";e.exports=function(e){e("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),e("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),e("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),e.WGS84=e["EPSG:4326"],e["EPSG:3785"]=e["EPSG:3857"],e.GOOGLE=e["EPSG:3857"],e["EPSG:900913"]=e["EPSG:3857"],e["EPSG:102113"]=e["EPSG:3857"]}},function(e,t,r){"use strict";var n=r(141),i=r(139),o=r(140);e.exports=function(e){return function(e){return"string"==typeof e}(e)?function(e){return e in n}(e)?n[e]:function(e){return["GEOGCS","GEOCCS","PROJCS","LOCAL_CS"].reduce(function(t,r){return t+1+e.indexOf(r)},0)}(e)?i(e):function(e){return"+"===e[0]}(e)?o(e):void 0:e}},function(e,t,r){"use strict";var n=r(91),i=r(138),o=n("WGS84");function a(e,t,r){var n;return Array.isArray(r)?(n=i(e,t,r),3===r.length?[n.x,n.y,n.z]:[n.x,n.y]):i(e,t,r)}function s(e){return e instanceof n?e:e.oProj?e.oProj:n(e)}e.exports=function(e,t,r){e=s(e);var n,i=!1;return void 0===t?(t=e,e=o,i=!0):(void 0!==t.x||Array.isArray(t))&&(r=t,t=e,e=o,i=!0),t=s(t),r?a(e,t,r):(n={forward:function(r){return a(e,t,r)},inverse:function(r){return a(t,e,r)}},i&&(n.oProj=t),n)}},function(e,t,r){"use strict";var n=r(361);n.defaultDatum="WGS84",n.Proj=r(91),n.WGS84=new n.Proj("WGS84"),n.Point=r(347),n.toPoint=r(137),n.defs=r(141),n.transform=r(138),n.mgrs=r(136),n.version=r(346).version,r(345)(n),e.exports=n},function(e,t,r){"use strict";function n(e){return Object.prototype.toString.call(e)}function i(e){return"[object String]"===n(e)}e.exports={getObjectType:n,isDate:function(e){return"[object Date]"===n(e)},isString:i,isDateString:function(e){return i(e)&&!isNaN(Date.parse(e))},parseDateFromString:function(e){return Date.parse(e)},isNumber:function(e){return"number"==typeof e}}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(363),o="&&",a="||",s="and",l="or",u="=",c="~",p="!"+u,f="!"+c,h=">",y=">=",d="<",v="<=",m="*",b=",",g=".",S="(",_=")",P="where",O={pathway:[],groups:{}},w={},T={},M=console.log;function C(e){var t=E(e,P),r=t[0],n=t[1];O.pathway=E(r,b);for(var i=0,s=O.pathway.length;il&&-1!==l){var C="gr_"+(new Date).getTime();O.groups[C]=n.substring(l+1,T),n=n.replace(S+O.groups[C]+_,C),M=-1}M+=1}!function e(t,r){var n=x(r,o),i=x(r,a);if(n!==Number.MAX_VALUE||i!==Number.MAX_VALUE)if(n-1}function j(e,t){var r=E(t,g),n=e;for(var o in r){if(!n.hasOwnProperty(r[o]))return"";n=n[r[o]]}return n=i.isDate(n)?n.valueOf():i.isDateString(n)?i.parseDateFromString(n):n.toString()}function A(e,t){var r=!1;for(var n in e){if(r=r||(n===s?L:n===l?A:F)(e[n],t),T.trace&&M(O.step,"======((( or",e[n],r),r)return r}return r}function L(e,t){var r=!0;for(var n in e){if(r=r&&(n===s?L:n===l?A:F)(e[n],t),T.trace&&M(O.step,"======((( and",e[n],r),!r)return r}return r}function F(e,t){if(O.step+=1,e.or){var r=A(e.or,t);return T.trace&&M(O.step,"OR",e,r),r}if(e.and){r=L(e.and,t);return T.trace&&M(O.step,"AND",e,r),r}if("object"===(void 0===e?"undefined":n(e)))return e.eq?j(t,e.eq[0])===e.eq[1]:e.ne?j(t,e.ne[0])!==e.ne[1]:e.req?k(j(t,e.req[0]),e.req[1]):e.nreq?!k(j(t,e.nreq[0]),e.nreq[1]):e.gt?j(t,e.gt[0])>e.gt[1]:e.ge?j(t,e.ge[0])>=e.ge[1]:e.lt?j(t,e.lt[0])0?n.map(function(e){for(var t={},r=0,n=O.pathway.length;r0;){var e=n.pop(),i=e.type,o=e.layerType=e.layerType||"BASE_LAYER";"OVERLAY_LAYER"!==o&&(i=o),p.createLayer(i,e)}p.dispatchEvent({type:t.EventType.WEBMAPLOADEND,value:this})}),u.fit(s.extent)}}}},{key:"addLayer",value:function(e){return this.map.addLayer(e)}},{key:"toProjection",value:function(e,t,r){return-1e3==e?new i.default.proj.Projection({extent:r,units:"m"}):910112===e||910102===e?"EPSG:3857":910111===e?"EPSG:3857":910101===e?"EPSG:4326":"EPSG:"+e}},{key:"getResolutionsFromScales",value:function(e,t,r,n){var i=[];if(!e||0==e.length)return i;for(var o=0;o© SuperMap Online with © SuperMap iClient"})}),projection:p});break;case"SUPERMAP_REST_VECTOR":break;case"TIANDITU_VEC":case"TIANDITU_IMG":case"TIANDITU_TER":r=this.createTiandituLayer(t,o);break;case"BAIDU":r=new i.default.layer.Tile({source:new i.default.source.BaiduMap});break;case"BING":r=new i.default.layer.Tile({source:new i.default.source.BingMaps});break;case"WMS":r=this.createWmsLayer(t);break;case"WMTS":var f=t.identifier,h=f.split("_")[0],y=f.substring(f.indexOf("_")+1),d=this.getWmtsResolutionsAndMatrixIds(h,t.units,s,u,c);r=new i.default.layer.Tile({opacity:l,source:new i.default.source.WMTS({url:t.url,layer:y,matrixSet:f,format:"image/png",tileGrid:new i.default.tilegrid.WMTS(d),style:"default"})});break;case"CLOUD":r=new i.default.layer.Tile({source:new i.default.source.SuperMapCloud});break;case"MARKER_LAYER":r=this.createMarkersLayer(t);break;case"FEATURE_LAYER":"ANIMATORVECTOR"==t.identifier||(r="THEME"==t.identifier?this.createThemeLayer(t):this.createVectorLayer(t));break;default:throw new Error("unSupported Layer Type")}r&&(this.addLayer(r),r.labelLayer&&this.addLayer(r.labelLayer))}},{key:"getWmtsResolutionsAndMatrixIds",value:function(e,t,r,n,o){var a=i.default.wellKnownScale.getResolutions(e);if(!a&&r)for(var l=0;l0"},datasetNames:[n+":"+h.name]});new f.FeatureService(r).getFeaturesBySQL(y).on("complete",c)}}}},{key:"createWmsLayer",value:function(e){var t=e.url,r=e.opacity,n=e.subLayers;return n&&"undefined"!==n&&"null"!==n||(n="0"),new i.default.layer.Tile({opacity:r,source:new i.default.source.TileWMS({url:t,params:{LAYERS:n,FORMAT:"image/png"}})})}},{key:"createThemeLayer",value:function(e){var t,r=this,n=e.themeSettings&&JSON.parse(e.themeSettings),i=n.type;if(e.themeSettings=n,(t="HEAT"===i?this.createHeatLayer(e,n):"UNIQUE"===i?this.createUniqueLayer(e,n):"RANGE"===i?this.createRangeLayer(e,n):this.createBaseThemeLayer(e,n))&&(this.addFeature2ThemeLayer(e,t),t.on("add",function(e){r.registerThemeEvent(e.target)})),e.themeSettings&&n.labelField){var o=this.createLabelLayer(e,n);o.on("add",function(e){r.registerThemeEvent(e.target)}),t.labelLayer=o}return t.getSource().setAttributions(" "),t}},{key:"createBaseThemeLayer",value:function(e,t){var r=e.style,n=e.opacity,o=t.vectorType,a=r.pointStyle;a.fill="LINE"!==o;var s={};a.fill&&(s.fill=new i.default.style.Fill({color:a.fillColor})),a.pointRadius&&(s.radius=parseFloat(a.pointRadius)),(a.strokeColor||a.strokeWidth)&&(s.stroke=new i.default.style.Stroke({color:a.strokeColor,width:a.strokeWidth,lineCap:a.strokeLineCap}));var l=new i.default.style.Style({image:new i.default.style.Circle(s)});if(a.unicode){var u=a.label.replace(/^&#x/,"");u=String.fromCharCode(parseInt(u,16)),l.setText(new i.default.style.Text({text:u,font:a.fontSize+" supermapol-icons",fill:new i.default.style.Fill({color:a.fontColor})}))}var c=new i.default.source.Vector({features:[],wrapX:!1});return this.registerThemeEvent(c),new i.default.layer.Vector({source:c,style:l,opacity:n})}},{key:"createUniqueLayer",value:function(e,t){for(var r=e.title,n=t.field,o=[],a=t.settings,s=e.isVisible,l=e.opacity,u=t.vectorType,c=0;c0?{fillColor:"#ffffff"}:a[0].style;var c=s.CommonUtil.extend(new s.ThemeStyle,r);c.fontWeight="bold",c.fontSize="14px",c.labelRect=!0,c.strokeColor=c.fillColor,c.fontColor=t.labelColor,t.labelFont&&(c.fontFamily=t.labelFont);var p=new v.Label(n,{map:this.map,attributions:" ",wrapX:!1,opacity:.7,visibility:l});p.style=c,p.themeField=o,p.styleGroups=[],this.registerThemeEvent(p);var f=new i.default.layer.Image({source:p});return f.setOpacity(u),f}},{key:"createHeatLayer",value:function(e,t){var r=t.colors||["blue","cyan","lime","yellow","red"],n=void 0,o=void 0,a=void 0,s=parseFloat(t.settings[0].radius);return"千米"!==t.heatUnit&&"km"!==t.heatUnit||(s=1e3*t.heatRadius),t.settings[0]&&t.settings[0].featureWeight&&(n=t.settings[0].featureWeight),t.settings[0]&&t.settings[0].shadow&&(a=t.settings[0].shadow),t.settings[0]&&t.settings[0].blur&&(o=t.settings[0].blur),new i.default.layer.Heatmap({source:new i.default.source.Vector({features:[],wrapX:!1}),blur:o,shadow:a,radius:s,gradient:r,weight:n})}},{key:"addFeature2ThemeLayer",value:function(e,t){var r=this;if("FEATURE_LAYER"===e.layerType&&"THEME"===e.identifier){var n=this,a=!!e.datasourceName,l=e.cartoCSS;if(l)var u=this.getCartoCSS2Obj(l).needTransform,c=this.getCartoCSS2Obj(l).isAddFile;var p,f,h,y=e.url,d=e.credential,v=e.themeSettings,m=v.filter;if(c){var b=JSON.parse(e.datasourceName),g=this.getSQLFromFilter(m);if(y)this.getFeatureFromFileAdded(e,function(r){var i,a=[];if("EXCEL"===r.type||"CSV"===r.type)for(var s=0,l=(i=n.parseFeatureFromEXCEL.apply(n,[r.content.rows,r.content.colTitles,!1,b])).length;s0&&a.push(i[s]);else for(var c=0,p=(i=n.parseFeatureFromJson(r.content)).length;c0&&a.push(i[c]);var f=n.mapInfo&&n.mapInfo.epsgCode,h=e.prjCoordSys&&e.prjCoordSys.epsgCode;u?n.changeFeatureLayerEpsgCode(h,f,t,a,function(e){j(e)}):j(a)},function(e){});else{for(var S=[],_=e.features,P=0,O=_.length;P0){var T=w.geometry.points[0].x,M=w.geometry.points[0].y,C=new s.GeometryPoint(T,M),x=new s.GeometryVector(C,w.attributes,w.style);S.push(x)}}j(S)}}else if(a){var E=e.datasourceName;h=(f=(p=e.subLayers&&JSON.parse(e.subLayers)).length&&p.length>0?p[0]:p)&&f.name,this.getFeaturesBySQL(e.url,E,h,v.filter,s.DataFormat.ISERVER,function(i){var o,a,l=i.result,c=[];if(l&&l.features){for(var p=0,f=(o=l.features).length;p0?p[0]:p)&&f.name;var k=e.prjCoordSys&&e.prjCoordSys.epsgCode;this.getFeaturesBySQL(y,d,h,m,s.DataFormat.ISERVER,function(e){var r=n.mapInfo&&n.mapInfo.epsgCode;u?n.changeFeatureLayerEpsgCode(k,r,t,e,function(e){j(e)}):j(e)})}}function j(r){var o=t.getSource();if(t.labelLayer&&n.addFeature2LabelLayer(t.labelLayer,r,e),t instanceof i.default.layer.Heatmap){var a,s=[];v.settings&&v.settings[0]&&v.settings[0].featureWeight&&(a=v.settings[0].featureWeight);for(var l=0,u=r.length;l 0";var a=new s.GetFeaturesBySQLParameters({queryParameter:{name:r+"@"+t,attributeFilter:n},datasetNames:[t+":"+r]});new f.FeatureService(e).getFeaturesBySQL(a,o,i)}},{key:"changeFeatureLayerEpsgCode",value:function(e,t,r,n,i){var o,a,s=this,l=[];if(e&&t){if(n&&n.length>0){for(o=0,a=n.length;o==/g,">=").replace(/<==/g,"<="))+")":" * where (1==1||1>=0)"}},{key:"registerThemeEvent",value:function(e){var t=this;e.on("click",function(r){if(e.map){t.selectedFeature&&(t.fire("featureUnSelected",{feature:t.selectedFeature}),t.selectedFeature=null);var n=void 0;r.target&&r.target.refDataID&&(n=e.getFeatureById(r.target.refDataID)),n&&(t.selectedFeature=n,t.dispatchEvent({type:"featureSelected",feature:n}))}}),e.on("mousemove",function(r){if(e.map&&r.target&&r.target.refDataID){var n=void 0;r.target&&r.target.refDataID&&(n=e.getFeatureById(r.target.refDataID)),n&&t.dispatchEvent({type:"featureMousemove",feature:n})}})}},{key:"getCartoCSS2Obj",value:function(e){var t,r=!1;return e.indexOf("}")>-1?(r=(e=JSON.parse(e)).needTransform,t=e.isAddFile):"needTransform"===e?(r=!0,t=!1):t="true"===e,{isAddFile:t,needTransform:r}}},{key:"_getViewOptions",value:function(e){var t=e.prjCoordSys,r=t&&t.epsgCode||this.mapInfo.epsgCode,n=this.mapInfo.center||e.center,i=this.mapInfo.level||e.level,o=e.bounds||this.mapInfo.extent,a=[o.leftBottom.x,o.rightTop.y],s=[o.leftBottom.x,o.leftBottom.y,o.rightTop.x,o.rightTop.y],l=this.toProjection(r,t?t.type:"",s),u={center:[n.x,n.y],zoom:i,projection:l,extent:s};switch(e.type){case"TIANDITU_VEC":case"TIANDITU_IMG":case"TIANDITU_TER":u.minZoom=1,u.zoom=1+u.zoom;break;case"BAIDU":u.resolutions=[262144,131072,65536,32768,16284,8192,4096,2048,1024,512,256,128,64,32,16,8,4,2,1,.5],u.zoom=3+u.zoom,u.minZoom=3;break;case"WMTS":var c=e.identifier.split("_")[0],p=this.getWmtsResolutionsAndMatrixIds(c,e.units,e.scales,a,s);u.resolutions=p.resolutions;break;case"CLOUD":u.zoom=3+u.zoom,u.minZoom=3}return u}}]),t}();i.default.supermap.WebMap=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TileSuperMapRest=void 0;var n,i=function(){function e(e,t){for(var r=0;r© SuperMap iServer with © SuperMap iClient"}),e.format=e.format?e.format:"png";var r=e.url+"/tileImage."+e.format+"?";e.serverType=e.serverType||s.ServerType.ISERVER;var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,logo:e.logo,opaque:e.opaque,projection:e.projection,reprojectionErrorThreshold:e.reprojectionErrorThreshold,state:e.state,tileClass:e.tileClass,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:function(r,n,u){i.tileGrid||(i.extent?(i.tileGrid=t.createTileGrid(e.extent),i.resolutions&&(i.tileGrid.resolutions=i.resolutions)):("EPSG:3857"===u.getCode()&&(i.tileGrid=t.createTileGrid([-20037508.3427892,-20037508.3427892,20037508.3427892,20037508.3427892]),i.extent=[-20037508.3427892,-20037508.3427892,20037508.3427892,20037508.3427892]),"EPSG:4326"===u.getCode()&&(i.tileGrid=t.createTileGrid([-180,-90,180,90]),i.extent=[-180,-90,180,90])));i.origin=i.tileGrid.getOrigin(0);var c=r[0],p=r[1],f=-r[2]-1,h=i.tileGrid.getResolution(c),y=u.getUnits();"degrees"===y&&(y=s.Unit.DEGREE);"m"===y&&(y=s.Unit.METER);var d=l.Util.resolutionToScale(h,96,y),v=a.default.size.toSize(i.tileGrid.getTileSize(c,i.tmpSize)),m=function(){this._paramsChanged&&(this._layerUrl=o.call(this),this._paramsChanged=!1);return this._layerUrl||o.call(this)}.call(i)+encodeURI("&x="+p+"&y="+f+"&width="+v[0]+"&height="+v[1]+"&scale="+d);i.tileProxy&&(m=i.tileProxy+encodeURIComponent(m));i.cacheEnabled||(m+="&_t="+(new Date).getTime());return m},url:e.url,urls:e.urls,wrapX:void 0!==e.wrapX&&e.wrapX,cacheEnabled:e.cacheEnabled,layersID:e.layersID}));e.tileProxy&&(n.tileProxy=e.tileProxy),n.options=e,n._url=e.url,n.tileSetsIndex=-1,n.tempIndex=-1;var i=n;function o(){return this._layerUrl=r+encodeURI(function(){this.requestParams=this.requestParams||function(){var t={};return t.redirect=void 0!==e.redirect&&e.redirect,t.transparent=void 0===e.transparent||e.transparent,t.cacheEnabled=!(!1===e.cacheEnabled),this.cacheEnabled=t.cacheEnabled,t._cache=t.cacheEnabled,this.origin&&(t.origin=JSON.stringify({x:this.origin[0],y:this.origin[1]})),e.prjCoordSys&&(t.prjCoordSys=JSON.stringify(e.prjCoordSys)),e.layersID&&(t.layersID=e.layersID.toString()),e.clipRegion instanceof a.default.geom.Geometry&&(e.clipRegionEnabled=!0,e.clipRegion=l.Util.toSuperMapGeometry((new a.default.format.GeoJSON).writeGeometryObject(e.clipRegion)),e.clipRegion=s.CommonUtil.toJSON(s.ServerGeometry.fromGeometry(e.clipRegion)),t.clipRegionEnabled=e.clipRegionEnabled,t.clipRegion=JSON.stringify(e.clipRegion)),e.overlapDisplayed?t.overlapDisplayed=!0:(t.overlapDisplayed=!1,e.overlapDisplayedOptions&&(t.overlapDisplayedOptions=this.overlapDisplayedOptions.toString())),e.cacheEnabled&&e.tileversion&&(t.tileversion=e.tileversion.toString()),t}.call(this);var t=[];for(var r in this.requestParams)t.push(r+"="+this.requestParams[r]);return t.join("&")}.call(this)),this._layerUrl=function(e,t){var r,n,o=e;switch(t){case s.ServerType.IPORTAL:(r=(n=s.SecurityManager.getToken(i._url))?new s.Credential(n,"token"):null)||(r=(n=s.SecurityManager.getKey(i._url))?new s.Credential(n,"key"):null);break;case s.ServerType.ONLINE:r=(n=s.SecurityManager.getKey(i._url))?new s.Credential(n,"key"):null;break;default:r=(n=s.SecurityManager.getToken(i._url))?new s.Credential(n,"token"):null}return r&&(o+="&"+r.getUrlParameters()),o}(this._layerUrl,e.serverType),this._layerUrl}return n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.source.TileImage),i(t,[{key:"setTileSetsInfo",value:function(e){this.tileSets=e,l.Util.isArray(this.tileSets)&&(this.tileSets=e[0]),this.tileSets&&(this.dispatchEvent({type:"tilesetsinfoloaded",value:{tileVersions:this.tileSets.tileVersions}}),this.changeTilesVersion())}},{key:"lastTilesVersion",value:function(){this.tempIndex=this.tileSetsIndex-1,this.changeTilesVersion()}},{key:"nextTilesVersion",value:function(){this.tempIndex=this.tileSetsIndex+1,this.changeTilesVersion()}},{key:"changeTilesVersion",value:function(){var e=this;if(null!=e.tileSets&&!(e.tempIndex===e.tileSetsIndex||this.tempIndex<0)){var t=e.tileSets.tileVersions;if(t&&e.tempIndex=0){var r=t[e.tempIndex].name;e.mergeTileVersionParam(r)&&(e.tileSetsIndex=e.tempIndex,e.dispatchEvent({type:"tileversionschanged",value:{tileVersion:t[e.tempIndex]}}))}}}},{key:"updateCurrentTileSetsIndex",value:function(e){this.tempIndex=e}},{key:"mergeTileVersionParam",value:function(e){return!!e&&(this.requestParams.tileversion=e,this._paramsChanged=!0,this.refresh(),!0)}}],[{key:"optionsFromMapJSON",value:function(e,t){var r={};r.url=e,r.crossOrigin="anonymous";var n=[t.bounds.left,t.bounds.bottom,t.bounds.right,t.bounds.top],i=function(){var e,r=n[2]-n[0],i=n[3]-n[1],o=r>=i?r:i;e=o===r?o/t.viewer.width:o/t.viewer.height;var a=[],u=s.Unit.METER;t.coordUnit===s.Unit.DEGREE&&(u=s.Unit.DEGREE);if(t.visibleScalesEnabled&&t.visibleScales&&t.visibleScales.length>0)for(var c=0;c© SuperMap iClient"}),i=r.mapName||"quanguo",a=r.mapType||"web",s=r.url||"http://t2.supermapcloud.com/FileService/image?map={mapName}&type={type}&x={x}&y={y}&z={z}";s=s.replace("{mapName}",i).replace("{type}",a);var l={attributions:n,cacheSize:r.cacheSize,crossOrigin:r.crossOrigin,opaque:void 0===r.opaque||r.opaque,maxZoom:r.maxZoom||18,reprojectionErrorThreshold:r.reprojectionErrorThreshold,url:s,wrapX:r.wrapX};r.tileProxy&&(l.tileLoadFunction=function(e,t){e.getImage().src=c.tileProxy+encodeURIComponent(t)});var u=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,l));r.tileProxy&&(u.tileProxy=r.tileProxy);var c=u;return u}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.source.XYZ),t}();o.default.source.SuperMapCloud=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImageSuperMapRest=void 0;var n,i=function(){function e(e,t){for(var r=0;r© SuperMap iServer with © SuperMap iClient"}),e.format=e.format?e.format:"png";var r=e.url+"/image."+e.format+"?";e.serverType=e.serverType||s.ServerType.ISERVER,r=function(e,t,r){var n,i,o=t;switch(r){case s.ServerType.IPORTAL:i=s.SecurityManager.getToken(e),(n=i?new s.Credential(i,"token"):null)||(i=s.SecurityManager.getKey(e),n=i?new s.Credential(i,"key"):null);break;case s.ServerType.ONLINE:i=s.SecurityManager.getKey(e),n=i?new s.Credential(i,"key"):null;break;default:i=s.SecurityManager.getToken(e),n=i?new s.Credential(i,"token"):null}n&&(o+="&"+n.getUrlParameters());return o}(e.url,r,e.serverType);var n=!0;void 0!==e.opaque&&(n=e.opaque),r+="&transparent="+n;var i=!0;void 0!==e.cacheEnabled&&(i=e.cacheEnabled),r+="&cacheEnabled="+i,void 0!==e.layersID&&(r+="&layersID="+e.layersID);var o=!1;void 0!==e.redirect&&(o=e.redirect),r+="&redirect="+o,e.prjCoordSys&&(r+="prjCoordSys="+JSON.stringify(e.prjCoordSys)),e.clipRegion instanceof a.default.geom.Geometry&&(e.clipRegionEnabled=!0,e.clipRegion=l.Util.toSuperMapGeometry((new a.default.format.GeoJSON).writeGeometryObject(e.clipRegion)),e.clipRegion=s.CommonUtil.toJSON(s.ServerGeometry.fromGeometry(e.clipRegion)),r+="&clipRegionEnabled="+e.clipRegionEnabled+"&clipRegion="+JSON.stringify(e.clipRegion)),e.overlapDisplayed&&e.overlapDisplayedOptions&&(e.overlapDisplayedOptions=e.overlapDisplayedOptions,r+="&overlapDisplayed="+e.overlapDisplayed+"&overlapDisplayedOptions="+e.overlapDisplayedOptions.toString()),!0===e.cacheEnabled&&e.tileversion&&(r+="tileversion="+e.tileversion);var c=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,logo:e.logo,opaque:e.opaque,projection:e.projection,reprojectionErrorThreshold:e.reprojectionErrorThreshold,state:e.state,tileClass:e.tileClass,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:function(e,t,n){this.tileGrid||(this.tileGrid=this.getTileGridForProjection(n));var i=this.tileGrid.getTileCoordExtent(e,this.tmpExtent_),o=a.default.size.toSize(this.tileGrid.getTileSize(e[0]),this.tmpSize),s=encodeURI(r+"&width="+o[0]+"&height="+o[1]+'&viewBounds={"leftBottom" : {"x":'+i[0]+',"y":'+i[1]+'},"rightTop" : {"x":'+i[2]+',"y":'+i[3]+"}}");p.tileProxy&&(s=p.tileProxy+encodeURIComponent(s));p.cacheEnabled||(s+="&_t="+(new Date).getTime());return s},url:e.url,urls:e.urls,wrapX:void 0!==e.wrapX&&e.wrapX,cacheEnabled:e.cacheEnabled,layersID:e.layersID}));c.cacheEnabled=i,e.tileProxy&&(c.tileProxy=e.tileProxy);var p=c;return c}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.source.TileImage),i(t,null,[{key:"optionsFromMapJSON",value:function(e,t){var r={};r.url=e,r.crossOrigin="anonymous";var n=[t.bounds.left,t.bounds.bottom,t.bounds.right,t.bounds.top],i=function(){var e,r=n[2]-n[0],i=n[3]-n[1],o=r>=i?r:i;e=o===r?o/t.viewer.width:o/t.viewer.height;var a=[],u=s.Unit.METER;t.coordUnit===s.Unit.DEGREE&&(u=s.Unit.DEGREE);if(t.visibleScales.length>0)for(var c=0;c© SuperMap iClient"}),i=a.default.source.BaiduMap.defaultTileGrid(),o=void 0!==r.crossOrigin?r.crossOrigin:"anonymous",s=void 0!==r.url?r.url:"http://online1.map.bdimg.com/onlinelabel/?qt=tile&x={x}&y={y}&z={z}&styles={styles}&udt=20170408",l=r.hidpi||(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1;s=s.replace("{styles}",l?"ph":"pl");var u=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{attributions:n,cacheSize:r.cacheSize,crossOrigin:o,opaque:void 0===r.opaque||r.opaque,maxZoom:void 0!==r.maxZoom?r.maxZoom:19,reprojectionErrorThreshold:r.reprojectionErrorThreshold,tileLoadFunction:r.tileLoadFunction,url:s,projection:"EPSG:3857",wrapX:r.wrapX,tilePixelRatio:l?2:1,tileGrid:i,tileUrlFunction:function(e,t,r){var n=s.replace("{z}",e[0].toString()).replace("{x}",e[1].toString()).replace("{y}",function(){var t=e[2];return t.toString()}).replace("{-y}",function(){var t=e[0],r=i.getFullTileRange(t);a.default.asserts.assert(r,55);var n=r.getHeight()+e[2];return n.toString()});c.tileProxy&&(n=c.tileProxy+encodeURIComponent(n));return n}}));r.tileProxy&&(u.tileProxy=r.tileProxy);var c=u;return u}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.source.TileImage),i(t,null,[{key:"defaultTileGrid",value:function(){return new a.default.tilegrid.TileGrid({extent:[-33554432,-33554432,33554432,33554432],resolutions:[262144,131072,65536,32768,16284,8192,4096,2048,1024,512,256,128,64,32,16,8,4,2,1,.5],origin:[0,0],minZoom:3})}}]),t}();a.default.source.BaiduMap=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(369);Object.defineProperty(t,"BaiduMap",{enumerable:!0,get:function(){return n.BaiduMap}});var i=r(368);Object.defineProperty(t,"ImageSuperMapRest",{enumerable:!0,get:function(){return i.ImageSuperMapRest}});var o=r(367);Object.defineProperty(t,"SuperMapCloud",{enumerable:!0,get:function(){return o.SuperMapCloud}});var a=r(142);Object.defineProperty(t,"Tianditu",{enumerable:!0,get:function(){return a.Tianditu}});var s=r(366);Object.defineProperty(t,"TileSuperMapRest",{enumerable:!0,get:function(){return s.TileSuperMapRest}});var l=r(365);Object.defineProperty(t,"WebMap",{enumerable:!0,get:function(){return l.WebMap}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(92);Object.defineProperty(t,"StyleUtils",{enumerable:!0,get:function(){return n.StyleUtils}});var i=r(6);Object.defineProperty(t,"Util",{enumerable:!0,get:function(){return i.Util}});var o=r(143);Object.defineProperty(t,"MapExtend",{enumerable:!0,get:function(){return o.MapExtend}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChangeTileVersion=void 0;var n,i=function(){function e(e,t){for(var r=0;r0&&(this.length=e,this.max=this.length-1,this.slider.setAttribute("max",this.max))}},{key:"setLayer",value:function(e){e&&(this.options.layer=e);var t=this,r=t.options.layer;r.on("tilesetsinfoloaded",function(e){var r=e.value&&e.value.tileVersions;t.update(r)}),r.on("tileversionschanged",function(e){var r=e.value&&e.value.tileVersion;t.setContent(r)}),t.getTileSetsInfo()}},{key:"update",value:function(e){this.tileVersions=e,this.updateLength(this.tileVersions.length)}},{key:"getTileSetsInfo",value:function(){var e=this;e.options.layer&&new s.MapService(e.options.layer._url).getTilesets(function(t){e.options.layer.setTileSetsInfo(t.result)})}},{key:"removeLayer",value:function(){this.options.layer=null}},{key:"nextTilesVersion",value:function(){return this.firstLoad?(this.options.layer.nextTilesVersion(),this.firstLoad=!1,this):parseInt(this.slider.value)>this.max-1?this:(this.slider.value=parseInt(this.slider.value)+1,this.options.layer.nextTilesVersion(),this)}},{key:"lastTilesVersion",value:function(){return parseInt(this.slider.value)4?c*a(2*s/n)/a(s/n):c/3);var f=s/n,h=-s/2,y=l+c*a(h),d=u+c*i(h);h+=f;var v=t.pointList=[];v.push([y,d]);for(var m,b=0,g=2*n-1;b0){var c=o[o.length-1];if(Math.abs(c[0]-n[0])<=s&&Math.abs(c[1]-n[1])<=s)continue}o.push(n)}if(o.length<2)return null;var p=new Object;(p=a.Util.copyAttributesWithClip(p,this.style,["pointList"])).pointList=o;var f=new S.SmicBrokenLine({style:p,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(f.highlightStyle=this.highlightStyle),f.refOriginalPosition=this.location,f.refDataID=this.data.id,f.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(f,this.shapeOptions),this.shapes.push(f)}},{key:"multiPointToTF",value:function(e){for(var t=e.components,r=[],n=[],i=this.location,o=[],s=this.nodesClipPixel,l=0;l0){var c=o[o.length-1];if(Math.abs(c[0]-n[0])<=s&&Math.abs(c[1]-n[1])<=s)continue}o.push(n);var p=new Object;p.r=6,(p=a.Util.copyAttributesWithClip(p,this.style)).x=n[0],p.y=n[1];var f=new g.SmicPoint({style:p,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(f.highlightStyle=this.highlightStyle),f.refOriginalPosition=i,f.refDataID=this.data.id,f.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(f,this.shapeOptions),this.shapes.push(f)}}},{key:"multiLineStringToTF",value:function(e){for(var t=e.components,r=0;r0){var h=o[o.length-1];if(Math.abs(h[0]-n[0])<=u&&Math.abs(h[1]-n[1])<=u)continue}o.push(n)}}else{s=[];for(var y=0;y0){var d=s[s.length-1];if(Math.abs(d[0]-n[0])<=u&&Math.abs(d[1]-n[1])<=u)continue}s.push(n)}}s.length<2||l.push(s)}if(!(o.length<2)){var v={};(v=a.Util.copyAttributesWithClip(v,this.style,["pointList"])).pointList=o;var m=new O.SmicPolygon({style:v,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(m.highlightStyle=this.highlightStyle),m.refOriginalPosition=this.location,m.refDataID=this.data.id,m.isHoverByRefDataID=this.isMultiHover,l.length>0&&(m.holePolygonPointLists=l),this.shapeOptions&&a.Util.copyAttributesWithClip(m,this.shapeOptions),this.shapes.push(m)}}},{key:"rectangleToTF",value:function(e){var t=this.location,r=new w.LonLat(e.x,e.y),n=this.layer.map.getResolution(),i=this.getLocalXY(r),o=new Object;o.r=6,(o=a.Util.copyAttributesWithClip(o,this.style)).x=i[0]-t[0],o.y=i[1]-t[1]-2*e.width/n,o.width=e.width/n,o.height=e.height/n;var s=new P.SmicRectangle({style:o,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(s.highlightStyle=this.highlightStyle),s.refOriginalPosition=t,s.refDataID=this.data.id,s.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(s,this.shapeOptions),this.shapes.push(s)}},{key:"geoTextToTF",value:function(e){var t=this.location,r=this.getLocalXY(e),n=new Object;n.r=6,(n=a.Util.copyAttributesWithClip(n,this.style,["x","y","text"])).x=r[0]-t[0],n.y=r[1]-t[1],n.text=e.text;var i=new _.SmicText({style:n,clickable:this.isClickAble,hoverable:this.isHoverAble});this.highlightStyle&&(i.highlightStyle=this.highlightStyle),i.refOriginalPosition=t,i.refDataID=this.data.id,i.isHoverByRefDataID=this.isMultiHover,this.shapeOptions&&a.Util.copyAttributesWithClip(i,this.shapeOptions),this.shapes.push(i)}},{key:"updateAndAddShapes",value:function(){var e=this.getLocalXY(this.lonlat);this.location=e;for(var t=this.layer.renderer,r=0,n=this.shapes.length;rn[1])return;for(var s=0,l=0;l=0&&t.innerRingRadiusr[1])return null;l=c[p],u=t[1]-(i[p]-r[0])/n;var h=new a.Point(l,u);h.style=o.ShapeFactory.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,p,i[p]),h.highlightStyle=o.ShapeFactory.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(h.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(h.clickable=e.pointClickAble),h.refDataID=this.data.id,h.dataInfo={field:this.fields[p],value:i[p]},this.shapes.push(this.shapeFactory.createShape(h))}this.shapesConvertToRelativeCoordinate()}}}},{key:"calculateXShapeInfo",value:function(){var e,t=this.dataViewBox,r=this.setting,n=this.dataValues.length;if(n<1)return null;var i=[],o=this.DVBWidth,a=0;if(r.xShapeBlank&&r.xShapeBlank.length&&2==r.xShapeBlank.length){var s=o-((e=r.xShapeBlank)[0]+e[1]);if(s<=n)return null;a=s/(n-1)}else e=[a=o/(n+1),a,a];for(var l=0,u=0;un[1])return;for(var s=0,l=0;l=360&&(f=359.9999999);var m=new a.Sector(c[0],c[1],y,p,f);if(void 0===e.sectorStyleByFields){var b=d%t.length;m.style=o.ShapeFactory.ShapeStyleTool(null,e.sectorStyle,t,null,b)}else m.style=o.ShapeFactory.ShapeStyleTool(null,e.sectorStyle,e.sectorStyleByFields,e.sectorStyleByCodomain,d,r[d]);m.highlightStyle=o.ShapeFactory.ShapeStyleTool(null,e.sectorHoverStyle),void 0!==e.sectorHoverAble&&(m.hoverable=e.sectorHoverAble),void 0!==e.sectorClickAble&&(m.clickable=e.sectorClickAble),m.refDataID=this.data.id,m.dataInfo={field:this.fields[d],value:r[d]},this.shapes.push(this.shapeFactory.createShape(m)),p=f}this.shapesConvertToRelativeCoordinate()}}}}]),t}();i.SuperMap.Feature.Theme.Pie=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Line=void 0;var n=function(){function e(e,t){for(var r=0;rr[1])return null;u=p[y],c=t[1]-(i[y]-r[0])/n;var v=new a.Point(u,c);v.style=o.ShapeFactory.ShapeStyleTool({fillColor:"#ee9900"},e.pointStyle,e.pointStyleByFields,e.pointStyleByCodomain,y,i[y]),v.highlightStyle=o.ShapeFactory.ShapeStyleTool(null,e.pointHoverStyle),void 0!==e.pointHoverAble&&(v.hoverable=e.pointHoverAble),void 0!==e.pointClickAble&&(v.clickable=e.pointClickAble),v.refDataID=this.data.id,v.dataInfo={field:this.fields[y],value:i[y]},h.push(this.shapeFactory.createShape(v));var m=[u,c];f.push(m)}var b=new s.Line(f);b.style=o.ShapeFactory.ShapeStyleTool({strokeColor:"#ee9900"},e.lineStyle),b.clickable=!1,b.hoverable=!1;var g=this.shapeFactory.createShape(b);this.shapes.push(g),this.shapes=this.shapes.concat(h),this.shapesConvertToRelativeCoordinate()}}}}},{key:"calculateXShapeInfo",value:function(){var e,t=this.dataViewBox,r=this.setting,n=this.dataValues.length;if(n<1)return null;var i=[],o=this.DVBWidth,a=0;if(r.xShapeBlank&&r.xShapeBlank.length&&2==r.xShapeBlank.length){var s=o-((e=r.xShapeBlank)[0]+e[1]);if(s<=n)return null;a=s/(n-1)}else e=[a=o/(n+1),a,a];for(var l=0,u=0;u0?this.DVBUnitValue=e.maxR/(i[1]-i[0]):this.DVBUnitValue=e.maxR;var l=this.DVBUnitValue,u=n[0]*l+e.minR;if(this.width=2*u,this.height=2*u,this.initBaseParameter()&&(!i||!(n[0]i[1]))){var c=this.DVBCenterPoint,p=new a.Circle(c[0],c[1],u);p.style=s.ShapeFactory.ShapeStyleTool(null,e.circleStyle,null,null,0),void 0!==e.fillColor?p.style.fillColor=e.fillColor:p.style.fillColor="#ff9277",p.highlightStyle=s.ShapeFactory.ShapeStyleTool(null,e.circleHoverStyle),void 0!==e.circleHoverAble&&(p.hoverable=e.circleHoverAble),void 0!==e.circleClickAble&&(p.clickable=e.circleClickAble),p.refDataID=this.data.id,p.dataInfo={field:this.fields[0],r:u,value:n[0]},this.shapes.push(this.shapeFactory.createShape(p)),this.shapesConvertToRelativeCoordinate()}}}]),t}();i.SuperMap.Feature.Theme.Circle=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Bar3D=void 0;var n=function(){function e(e,t){for(var r=0;rt[1])return;var u=this.calculateXShapeInfo();if(u){var c=u.xPositions,p=u.width;(void 0===e.useBackground||e.useBackground)&&this.shapes.push(a.ShapeFactory.Background(this.shapeFactory,this.chartBox,e)),(!e.axis3DParameter||isNaN(e.axis3DParameter)||e.axis3DParameter<15)&&(e.axis3DParameter=20),(void 0===e.useAxis||e.useAxis)&&(this.shapes=this.shapes.concat(a.ShapeFactory.GraphAxis(this.shapeFactory,r,e,u)));for(var f=e.bar3DParameter&&!isNaN(e.bar3DParameter)?e.bar3DParameter:10,h=0;hr[1])return;var c=this.calculateXShapeInfo();if(c){var p=c.xPositions,f=c.width;(void 0===t.useBackground||t.useBackground)&&this.shapes.push(o.ShapeFactory.Background(this.shapeFactory,this.chartBox,t)),(void 0===t.useAxis||t.useAxis)&&(this.shapes=this.shapes.concat(o.ShapeFactory.GraphAxis(this.shapeFactory,n,t,c)));for(var h=0;h=t.length&&(r%=t.length);var u=t[r][0],c=t[r][1],p=(new s.Color).getLinearGradient(a,0,l,0,[[0,u],[1,c]]);i.style.color=p}}}}]),t}();i.SuperMap.Feature.Theme.Bar=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SUtil=t.LevelRendererVector=t.Util=t.Transformable=t.Storage=t.SmicText=t.SmicStar=t.SmicSector=t.SmicRing=t.SmicRectangle=t.SmicPolygon=t.SmicPoint=t.SmicIsogon=t.SmicImage=t.SmicEllipse=t.SmicCircle=t.SmicBrokenLine=t.Shape=t.PaintLayer=t.Painter=t.Matrix=t.Math=t.Log=t.Http=t.Handler=t.Group=t.Eventful=t.LevelRendererEvent=t.Env=t.Easing=t.LevelRendererCurve=t.Config=t.ComputeBoundingBox=t.Color=t.Clip=t.Area=t.Animator=t.Animation=t.Render=t.LevelRenderer=t.FeatureTheme=t.Sector=t.FeatureRectangle=t.FeaturePolygon=t.Point=t.FeatureLine=t.Label=t.Image=t.FeatureCircle=t.ShapeParameters=t.ShapeFactory=t.ThemeVector=t.Ring=t.RankSymbol=t.OverlayPoint=t.Pie=t.Line=t.Graph=t.Circle=t.Bar3D=t.Bar=void 0;var n=r(388),i=r(387),o=r(386),a=r(28),s=r(385),l=r(384),u=r(383),c=r(156),p=r(382),f=r(381),h=r(380),y=r(379);t.Bar=n.Bar,t.Bar3D=i.Bar3D,t.Circle=o.Circle,t.Graph=a.Graph,t.Line=s.Line,t.Pie=l.Pie,t.OverlayPoint=u.Point,t.RankSymbol=c.RankSymbol,t.Ring=p.Ring,t.ThemeVector=f.ThemeVector,t.ShapeFactory=h.ShapeFactory,t.ShapeParameters=h.ShapeParameters,t.FeatureCircle=h.FeatureCircle,t.Image=h.Image,t.Label=h.Label,t.FeatureLine=h.FeatureLine,t.Point=h.Point,t.FeaturePolygon=h.FeaturePolygon,t.FeatureRectangle=h.FeatureRectangle,t.Sector=h.Sector,t.FeatureTheme=h.FeatureTheme,t.LevelRenderer=y.LevelRenderer,t.Render=y.Render,t.Animation=y.Animation,t.Animator=y.Animator,t.Area=y.Area,t.Clip=y.Clip,t.Color=y.Color,t.ComputeBoundingBox=y.ComputeBoundingBox,t.Config=y.Config,t.LevelRendererCurve=y.LevelRendererCurve,t.Easing=y.Easing,t.Env=y.Env,t.LevelRendererEvent=y.LevelRendererEvent,t.Eventful=y.Eventful,t.Group=y.Group,t.Handler=y.Handler,t.Http=y.Http,t.Log=y.Log,t.Math=y.Math,t.Matrix=y.Matrix,t.Painter=y.Painter,t.PaintLayer=y.PaintLayer,t.Shape=y.Shape,t.SmicBrokenLine=y.SmicBrokenLine,t.SmicCircle=y.SmicCircle,t.SmicEllipse=y.SmicEllipse,t.SmicImage=y.SmicImage,t.SmicIsogon=y.SmicIsogon,t.SmicPoint=y.SmicPoint,t.SmicPolygon=y.SmicPolygon,t.SmicRectangle=y.SmicRectangle,t.SmicRing=y.SmicRing,t.SmicSector=y.SmicSector,t.SmicStar=y.SmicStar,t.SmicText=y.SmicText,t.Storage=y.Storage,t.Transformable=y.Transformable,t.Util=y.Util,t.LevelRendererVector=y.LevelRendererVector,t.SUtil=y.SUtil},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeStyle=void 0;var n=r(0),i=r(1);var o=t.ThemeStyle=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=t||{},this.fill=!0,this.fillColor="#000000",this.fillOpacity=1,this.stroke=!1,this.strokeColor="#000000",this.strokeOpacity=1,this.strokeWidth=1,this.strokeLinecap="butt",this.strokeLineJoin="miter",this.strokeDashstyle="solid",this.pointRadius=6,this.shadowBlur=0,this.shadowColor="#000000",this.shadowOffsetX=0,this.shadowOffsetY=0,this.label="",this.labelRect=!1,this.fontColor="",this.fontSize=12,this.fontStyle="normal",this.fontVariant="normal",this.fontWeight="normal",this.fontFamily="arial,sans-serif",this.labelPosition="top",this.labelAlign="center",this.labelBaseline="middle",this.labelXOffset=0,this.labelYOffset=0,i.Util.extend(this,t)};n.SuperMap.ThemeStyle=o},function(e,t,r){"use strict";(function(t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=9007199254740991,i="[object Arguments]",o="[object Function]",a="[object GeneratorFunction]",s="[object Map]",l="[object Set]",u=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,p="object"==(void 0===t?"undefined":r(t))&&t&&t.Object===Object&&t,f="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,h=p||f||Function("return this")();function y(e,t){return function(e,t){for(var r=-1,n=e?e.length:0,i=Array(n);++r-1&&e%1==0&&e-1&&e%1==0&&e<=n}(e.length)&&!z(e)}function z(e){var t=Q(e)?w.call(e):"";return t==o||t==a}function Q(e){var t=void 0===e?"undefined":r(e);return!!e&&("object"==t||"function"==t)}var Y,X=(Y=function(e){return W(e)?D(e):U(e)},function(e){var t,r,n,i=J(e);return i==s?(t=e,r=-1,n=Array(t.size),t.forEach(function(e,t){n[++r]=[t,e]}),n):i==l?function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=[e,e]}),r}(e):y(e,Y(e))});e.exports=X}).call(this,r(116))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CartoCSS=void 0;var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var r=0;ru&&(l[n]=l[n].slice(r-u),u=r)}function d(e){var i,o,a,s;if(e instanceof Function)return e.call(c.parsers);if("string"==typeof e)i=t.charAt(r)===e?e:null,o=1,y();else{if(y(),!(i=e.exec(l[n])))return null;o=i[0].length}if(i){var p=r+=o;for(s=r+l[n].length-o;r=0&&"\n"!==n.charAt(a);a--)r.column++;return new Error([r.filename,r.line,r.column,r.message].join(";"))}return this.env=e=e||{},this.env.filename=this.env.filename||null,this.env.inputs=this.env.inputs||{},c={parse:function(i){var o,c=null;if(r=n=u=s=0,l=[],t=i.replace(/\r\n/g,"\n"),e.filename&&(p.env.inputs[e.filename]=t),l=function(e){for(var r,n,i,o,a=0,s=/(?:@\{[\w-]+\}|[^"'`\{\}\/\(\)\\])+/g,l=/\/\*(?:[^*]|\*+[^\/*])*\*+\/|\/\/.*/g,u=/"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'|`((?:[^`]|\\.)*)`/g,p=0,f=e[0],h=0;h0?"missing closing `}`":"missing opening `{`"}),e.map(function(e){return e.join("")})}([[]]),c)throw v(c);var f=function(e,t){var r=e.specificity,n=t.specificity;return r[0]!=n[0]?n[0]-r[0]:r[1]!=n[1]?n[1]-r[1]:r[2]!=n[2]?n[2]-r[2]:n[3]-r[3]};return(o=new a.SuperMap.CartoCSS.Tree.Ruleset([],d(this.parsers.primary))).root=!0,o.toList=function(e){e.error=function(t){e.errors||(e.errors=new Error("")),e.errors.message?e.errors.message+="\n"+v(t).message:e.errors.message=v(t).message},e.frames=e.frames||[];var t=this.flatten([],[],e);return t.sort(f),t},o},parsers:{primary:function(){for(var e,t=[];(e=d(this.rule)||d(this.ruleset)||d(this.comment))||d(/^[\s\n]+/)||(e=d(this.invalid));)e&&t.push(e);return t},invalid:function(){var e=d(/^[^;\n]*[;\n]/);if(e)return new a.SuperMap.CartoCSS.Tree.Invalid(e,o)},comment:function(){var e;if("/"===t.charAt(r))return"/"===t.charAt(r+1)?new a.SuperMap.CartoCSS.Tree.Comment(d(/^\/\/.*/),!0):(e=d(/^\/\*(?:[^*]|\*+[^\/*])*\*+\/\n?/))?new a.SuperMap.CartoCSS.Tree.Comment(e):void 0},entities:{quoted:function(){if('"'===t.charAt(r)||"'"===t.charAt(r)){var e=d(/^"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'/);return e?new a.SuperMap.CartoCSS.Tree.Quoted(e[1]||e[2]):void 0}},field:function(){if(d("[")){var e=d(/(^[^\]]+)/);if(d("]"))return e?new a.SuperMap.CartoCSS.Tree.Field(e[1]):void 0}},comparison:function(){var e=d(/^=~|=|!=|<=|>=|<|>/);if(e)return e},keyword:function(){var e=d(/^[A-Za-z\u4e00-\u9fa5-]+[A-Za-z-0-9\u4e00-\u9fa5_]*/);if(e)return new a.SuperMap.CartoCSS.Tree.Keyword(e)},call:function(){var e,t;if(e=/^([\w\-]+|%)\(/.exec(l[n])){if("url"===(e=e[1]))return null;r+=e.length;if(d("("),t=d(this.entities.arguments),d(")"))return e?new a.SuperMap.CartoCSS.Tree.Call(e,t,r):void 0}},arguments:function(){for(var e,t=[];e=d(this.expression);){t.push(e);if(!d(","))break}return t},literal:function(){return d(this.entities.dimension)||d(this.entities.keywordcolor)||d(this.entities.hexcolor)||d(this.entities.quoted)},url:function(){var e;if("u"===t.charAt(r)&&d(/^url\(/)){e=d(this.entities.quoted)||d(this.entities.variable)||d(/^[\-\w%@$\/.&=:;#+?~]+/)||"";return d(")")?new a.SuperMap.CartoCSS.Tree.URL(void 0!==e.value||e instanceof a.SuperMap.CartoCSS.Tree.Variable?e:new a.SuperMap.CartoCSS.Tree.Quoted(e)):new a.SuperMap.CartoCSS.Tree.Invalid(e,o,"Missing closing ) in URL.")}},variable:function(){var n,i=r;if("@"===t.charAt(r)&&(n=d(/^@[\w-]+/)))return new a.SuperMap.CartoCSS.Tree.Variable(n,i,e.filename)},hexcolor:function(){var e;if("#"===t.charAt(r)&&(e=d(/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})/)))return new a.SuperMap.CartoCSS.Tree.Color(e[1])},keywordcolor:function(){var e=l[n].match(/^[a-z]+/);if(e&&e[0]in a.SuperMap.CartoCSS.Tree.Reference.data.colors)return new a.SuperMap.CartoCSS.Tree.Color(a.SuperMap.CartoCSS.Tree.Reference.data.colors[d(/^[a-z]+/)])},dimension:function(){var e=t.charCodeAt(r);if(!(e>57||e<45||47===e)){var n=d(/^(-?\d*\.?\d+(?:[eE][-+]?\d+)?)(\%|\w+)?/);return n?new a.SuperMap.CartoCSS.Tree.Dimension(n[1],n[2],o):void 0}}},variable:function(){var e;if("@"===t.charAt(r)&&(e=d(/^(@[\w-]+)\s*:/)))return e[1]},entity:function(){var e=d(this.entities.call)||d(this.entities.literal),t=d(this.entities.field)||d(this.entities.variable),r=d(this.entities.url)||d(this.entities.keyword);return e||t||r},end:function(){var e;return d(";")||("string"==typeof(e="}")?t.charAt(r)===e:!!e.test(l[n]))},element:function(){var e=d(/^(?:[.#][\w\u4e00-\u9fa5\-]+|\*|Map)/);if(e)return new a.SuperMap.CartoCSS.Tree.Element(e)},attachment:function(){var e=d(/^::([\w\-]+(?:\/[\w\-]+)*)/);if(e)return e[1]},selector:function(){for(var e,n,i,s,l,u=[],c=new a.SuperMap.CartoCSS.Tree.Filterset,p=[],f=0,h=0;(i=d(this.element))||(l=d(this.zoom))||(s=d(this.filter))||(e=d(this.attachment));){if(f++,i)u.push(i);else if(l)p.push(l),h++;else if(s){var y=c.add(s);if(y)throw v({message:y,index:r-1});h++}else{if(n)throw v({message:"Encountered second attachment name.",index:r-1});n=e}var m=t.charAt(r);if("{"===m||"}"===m||";"===m||","===m)break}if(f)return new a.SuperMap.CartoCSS.Tree.Selector(c,p,u,n,h,o)},filter:function(){f();var t,r,n;if(d("[")&&(t=d(/^[a-zA-Z0-9\-_]+/)||d(this.entities.quoted)||d(this.entities.variable)||d(this.entities.keyword)||d(this.entities.field))&&(t instanceof a.SuperMap.CartoCSS.Tree.Quoted&&(t=new a.SuperMap.CartoCSS.Tree.Field(t.toString())),(r=d(this.entities.comparison))&&(n=d(this.entities.quoted)||d(this.entities.variable)||d(this.entities.dimension)||d(this.entities.keyword)||d(this.entities.field)))){if(!d("]"))throw v({message:"Missing closing ] of filter.",index:o-1});return t.is||(t=new a.SuperMap.CartoCSS.Tree.Field(t)),new a.SuperMap.CartoCSS.Tree.Filter(t,r,n,o,e.filename)}},zoom:function(){f();var e,t;if(d(/^\[\s*zoom/g)&&(e=d(this.entities.comparison))&&(t=d(this.entities.variable)||d(this.entities.dimension))&&d("]"))return new a.SuperMap.CartoCSS.Tree.Zoom(e,t,o);h()},block:function(){var e;if(d("{")&&(e=d(this.primary))&&d("}"))return e},ruleset:function(){var e,t,r=[];for(f();e=d(this.selector);){for(r.push(e);d(this.comment););if(!d(","))break;for(;d(this.comment););}if(e)for(;d(this.comment););if(r.length>0&&(t=d(this.block))){if(1===r.length&&r[0].elements.length&&"Map"===r[0].elements[0].value){var n=new a.SuperMap.CartoCSS.Tree.Ruleset(r,t);return n.isMap=!0,n}return new a.SuperMap.CartoCSS.Tree.Ruleset(r,t)}h()},rule:function(){var n,i,l=t.charAt(r);if(f(),"."!==l&&"#"!==l&&(n=d(this.variable)||d(this.property))){if((i=d(this.value))&&d(this.end))return new a.SuperMap.CartoCSS.Tree.Rule(n,i,o,e.filename);s=r,h()}},font:function(){for(var e,t=[],r=[];e=d(this.entity);)r.push(e);if(t.push(new a.SuperMap.CartoCSS.Tree.Expression(r)),d(","))for(;(e=d(this.expression))&&(t.push(e),d(",")););return new a.SuperMap.CartoCSS.Tree.Value(t)},value:function(){for(var e,t=[];(e=d(this.expression))&&(t.push(e),d(",")););return t.length>1?new a.SuperMap.CartoCSS.Tree.Value(t.map(function(e){return e.value[0]})):1===t.length?new a.SuperMap.CartoCSS.Tree.Value(t):void 0},sub:function(){var e;if(d("(")&&(e=d(this.expression))&&d(")"))return e},multiplication:function(){var e,t,r,n;if(e=d(this.operand)){for(;(r=d("/")||d("*")||d("%"))&&(t=d(this.operand));)n=new a.SuperMap.CartoCSS.Tree.Operation(r,[n||e,t],o);return n||e}},addition:function(){var e,n,i,s;if(e=d(this.multiplication)){for(;(i=d(/^[-+]\s+/)||" "!=t.charAt(r-1)&&(d("+")||d("-")))&&(n=d(this.multiplication));)s=new a.SuperMap.CartoCSS.Tree.Operation(i,[s||e,n],o);return s||e}},operand:function(){return d(this.sub)||d(this.entity)},expression:function(){for(var e,t=[];e=d(this.addition)||d(this.entity);)t.push(e);if(t.length>0)return new a.SuperMap.CartoCSS.Tree.Expression(t)},property:function(){var e=d(/^(([a-z][-a-z_0-9]*\/)?\*?-?[-a-z_0-9]+)\s*:/);if(e)return e[1]}}}}},{key:"parse",value:function(e){var t=this.parser;return this.ruleSet=t.parse(e)}},{key:"toShaders",value:function(){if(this.ruleSet){var e=this.ruleSet;if(e){var t=e.toList(this.env);t.reverse();var r={},n=[];this._toShaders(r,n,t);for(var i=[],o={},a=0,s=t.length;a=0){if(!t.featureFilter){var o=i+n.length,a=r.indexOf(")",o+1),s="featureId&&(featureId"+r.substring(o,a)+")";Object.defineProperty(t,"featureFilter",{configurable:!0,enumerable:!1,value:function(e){return!!s}})}return{property:h,getValue:Function("attributes","zoom","seftFilter","var _value = null; var isExcute=typeof seftFilter=='function'?sefgFilter():seftFilter;if(isExcute){"+r+";} return _value; ")}}return{property:h,getValue:Function("attributes","zoom","var _value = null;"+r+"; return _value; ")}}(c[h],p);Object.defineProperty(p,"attachment",{configurable:!0,enumerable:!1,value:u}),Object.defineProperty(p,"elements",{configurable:!0,enumerable:!1,value:l.elements}),i.push(p),o[n[a]]=!0}Object.defineProperty(p,"zoom",{configurable:!0,enumerable:!1,value:l.zoom})}return i}}return null}},{key:"_toShaders",value:function(e,t,r){for(var n=0,i=r.length;n= minzoom - 1e-6 and scale < maxzoom + 1e-6"},maxzoom:{"default-value":"1.79769e+308",type:"float","default-meaning":"The layer will be visible at the maximum possible scale",doc:"The maximum scale denominator that this layer will be visible at. The default is the numeric limit of the C++ double type, which may vary slightly by system, but is likely a massive number like 1.79769e+308 and ensures that this layer will always be visible unless the value is reduced. A layer's visibility is determined by whether its status is true and if the Map scale >= minzoom - 1e-6 and scale < maxzoom + 1e-6"},queryable:{"default-value":!1,type:"boolean","default-meaning":"The layer will not be available for the direct querying of data values",doc:"This property was added for GetFeatureInfo/WMS compatibility and is rarely used. It is off by default meaning that in a WMS context the layer will not be able to be queried unless the property is explicitly set to true"},"clear-label-cache":{"default-value":!1,type:"boolean","default-meaning":"The renderer's collision detector cache (used for avoiding duplicate labels and overlapping markers) will not be cleared immediately before processing this layer",doc:"This property, by default off, can be enabled to allow a user to clear the collision detector cache before a given layer is processed. This may be desirable to ensure that a given layers data shows up on the map even if it normally would not because of collisions with previously rendered labels or markers"},"group-by":{"default-value":"",type:"string","default-meaning":"No special layer grouping will be used during rendering",doc:"https://github.com/mapnik/mapnik/wiki/Grouped-rendering"},"buffer-size":{"default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:"Extra tolerance around the Layer extent (in pixels) used to when querying and (potentially) clipping the layer data during rendering"},"maximum-extent":{"default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query this specific layer data during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Layer."}},symbolizers:{"*":{"image-filters":{css:"image-filters","default-value":"none","default-meaning":"no filters",type:"functions",functions:[["agg-stack-blur",2],["emboss",0],["blur",0],["gray",0],["sobel",0],["edge-detect",0],["x-gradient",0],["y-gradient",0],["invert",0],["sharpen",0]],doc:"A list of image filters."},"comp-op":{css:"comp-op","default-value":"src-over","default-meaning":"add the current layer on top of other layers",doc:"Composite operation. This defines how this layer should behave relative to layers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]},opacity:{css:"opacity",type:"float",doc:"An alpha value for the style (which means an alpha applied to all features in separate buffer and then composited back to main buffer)","default-value":1,"default-meaning":"no separate buffer will be used and no alpha will be applied to the style after rendering"}},map:{"background-color":{css:"background-color","default-value":"none","default-meaning":"transparent",type:"color",doc:"Map Background color"},"background-image":{css:"background-image",type:"uri","default-value":"","default-meaning":"transparent",doc:"An image that is repeated below all features on a map as a background.",description:"Map Background image"},srs:{css:"srs",type:"string","default-value":"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs","default-meaning":"The proj4 literal of EPSG:4326 is assumed to be the Map's spatial reference and all data from layers within this map will be plotted using this coordinate system. If any layers do not declare an srs value then they will be assumed to be in the same srs as the Map and not transformations will be needed to plot them in the Map's coordinate space",doc:"Map spatial reference (proj4 string)"},"buffer-size":{css:"buffer-size","default-value":"0",type:"float","default-meaning":"No buffer will be used",doc:'Extra tolerance around the map (in pixels) used to ensure labels crossing tile boundaries are equally rendered in each tile (e.g. cut in each tile). Not intended to be used in combination with "avoid-edges".'},"maximum-extent":{css:"","default-value":"none",type:"bbox","default-meaning":"No clipping extent will be used",doc:"An extent to be used to limit the bounds used to query all layers during rendering. Should be minx, miny, maxx, maxy in the coordinates of the Map."},base:{css:"base","default-value":"","default-meaning":"This base path defaults to an empty string meaning that any relative paths to files referenced in styles or layers will be interpreted relative to the application process.",type:"string",doc:"Any relative paths used to reference files will be understood as relative to this directory path if the map is loaded from an in memory object rather than from the filesystem. If the map is loaded from the filesystem and this option is not provided it will be set to the directory of the stylesheet."},"paths-from-xml":{css:"","default-value":!0,"default-meaning":"Paths read from XML will be interpreted from the location of the XML",type:"boolean",doc:"value to control whether paths in the XML will be interpreted from the location of the XML or from the working directory of the program that calls load_map()"},"minimum-version":{css:"","default-value":"none","default-meaning":"Mapnik version will not be detected and no error will be thrown about compatibility",type:"string",doc:"The minumum Mapnik version (e.g. 0.7.2) needed to use certain functionality in the stylesheet"},"font-directory":{css:"font-directory",type:"uri","default-value":"none","default-meaning":"No map-specific fonts will be registered",doc:"Path to a directory which holds fonts which should be registered when the Map is loaded (in addition to any fonts that may be automatically registered)."}},polygon:{fill:{css:"polygon-fill",type:"color","default-value":"rgba(128,128,128,1)","default-meaning":"gray and fully opaque (alpha = 1), same as rgb(128,128,128)",doc:"Fill color to assign to a polygon"},"fill-opacity":{css:"polygon-opacity",type:"float",doc:"The opacity of the polygon","default-value":1,"default-meaning":"opaque"},gamma:{css:"polygon-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon edges"},"gamma-method":{css:"polygon-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},clip:{css:"polygon-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},line:{stroke:{css:"line-color","default-value":"rgba(0,0,0,1)",type:"color","default-meaning":"black and fully opaque (alpha = 1), same as rgb(0,0,0)",doc:"The color of a drawn line"},"stroke-width":{css:"line-width","default-value":1,type:"float",doc:"The width of a line in pixels"},"stroke-opacity":{css:"line-opacity","default-value":1,type:"float","default-meaning":"opaque",doc:"The opacity of a line"},"stroke-linejoin":{css:"line-join","default-value":"miter",type:["miter","round","bevel"],doc:"The behavior of lines when joining"},"stroke-linecap":{css:"line-cap","default-value":"butt",type:["butt","round","square"],doc:"The display of line endings"},"stroke-gamma":{css:"line-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of stroke line"},"stroke-gamma-method":{css:"line-gamma-method",type:["power","linear","none","threshold","multiply"],"default-value":"power","default-meaning":"pow(x,gamma) is used to calculate pixel gamma, which produces slightly smoother line and polygon antialiasing than the 'linear' method, while other methods are usually only used to disable AA",doc:"An Antigrain Geometry specific rendering hint to control the quality of antialiasing. Under the hood in Mapnik this method is used in combination with the 'gamma' value (which defaults to 1). The methods are in the AGG source at https://github.com/mapnik/mapnik/blob/master/deps/agg/include/agg_gamma_functions.h"},"stroke-dasharray":{css:"line-dasharray",type:"numbers",doc:"A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported for more complex patterns.","default-value":"none","default-meaning":"solid line"},"stroke-dashoffset":{css:"line-dash-offset",type:"numbers",doc:"valid parameter but not currently used in renderers (only exists for experimental svg support in Mapnik which is not yet enabled)","default-value":"none","default-meaning":"solid line"},"stroke-miterlimit":{css:"line-miterlimit",type:"float",doc:"The limit on the ratio of the miter length to the stroke-width. Used to automatically convert miter joins to bevel joins for sharp angles to avoid the miter extending beyond the thickness of the stroking path. Normally will not need to be set, but a larger value can sometimes help avoid jaggy artifacts.","default-value":4,"default-meaning":"Will auto-convert miters to bevel line joins when theta is less than 29 degrees as per the SVG spec: 'miterLength / stroke-width = 1 / sin ( theta / 2 )'"},clip:{css:"line-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},offset:{css:"line-offset",type:"float","default-value":0,"default-meaning":"no offset",doc:"Offsets a line a number of pixels parallel to its actual path. Postive values move the line left, negative values move it right (relative to the directionality of the line)."},rasterizer:{css:"line-rasterizer",type:["full","fast"],"default-value":"full",doc:"Exposes an alternate AGG rendering method that sacrifices some accuracy for speed."},"geometry-transform":{css:"line-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},markers:{file:{css:"marker-file",doc:"An SVG file that this marker shows at each placement. If no file is given, the marker will show an ellipse.","default-value":"","default-meaning":"An ellipse or circle, if width equals height",type:"uri"},opacity:{css:"marker-opacity",doc:"The overall opacity of the marker, if set, overrides both the opacity of both the fill and stroke","default-value":1,"default-meaning":"The stroke-opacity and fill-opacity will be used",type:"float"},"fill-opacity":{css:"marker-fill-opacity",doc:"The fill opacity of the marker","default-value":1,"default-meaning":"opaque",type:"float"},stroke:{css:"marker-line-color",doc:"The color of the stroke around a marker shape.","default-value":"black",type:"color"},"stroke-width":{css:"marker-line-width",doc:"The width of the stroke around a marker shape, in pixels. This is positioned on the boundary, so high values can cover the area itself.",type:"float"},"stroke-opacity":{css:"marker-line-opacity","default-value":1,"default-meaning":"opaque",doc:"The opacity of a line",type:"float"},placement:{css:"marker-placement",type:["point","line","interior"],"default-value":"point","default-meaning":"Place markers at the center point (centroid) of the geometry",doc:"Attempt to place markers on a point, in the center of a polygon, or if markers-placement:line, then multiple times along a line. 'interior' placement can be used to ensure that points placed on polygons are forced to be inside the polygon interior"},"multi-policy":{css:"marker-multi-policy",type:["each","whole","largest"],"default-value":"each","default-meaning":"If a feature contains multiple geometries and the placement type is either point or interior then a marker will be rendered for each",doc:"A special setting to allow the user to control rendering behavior for 'multi-geometries' (when a feature contains multiple geometries). This setting does not apply to markers placed along lines. The 'each' policy is default and means all geometries will get a marker. The 'whole' policy means that the aggregate centroid between all geometries will be used. The 'largest' policy means that only the largest (by bounding box areas) feature will get a rendered marker (this is how text labeling behaves by default)."},"marker-type":{css:"marker-type",type:["arrow","ellipse"],"default-value":"ellipse",doc:"The default marker-type. If a SVG file is not given as the marker-file parameter, the renderer provides either an arrow or an ellipse (a circle if height is equal to width)"},width:{css:"marker-width","default-value":10,doc:"The width of the marker, if using one of the default types.",type:"expression"},height:{css:"marker-height","default-value":10,doc:"The height of the marker, if using one of the default types.",type:"expression"},fill:{css:"marker-fill","default-value":"blue",doc:"The color of the area of the marker.",type:"color"},"allow-overlap":{css:"marker-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping markers are shown or hidden.","default-meaning":"Do not allow makers to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"marker-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},spacing:{css:"marker-spacing",doc:"Space between repeated labels","default-value":100,type:"float"},"max-error":{css:"marker-max-error",type:"float","default-value":.2,doc:"The maximum difference between actual marker placement and the marker-spacing parameter. Setting a high value can allow the renderer to try to resolve placement conflicts with other symbolizers."},transform:{css:"marker-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},clip:{css:"marker-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"marker-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"marker-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"marker-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},shield:{name:{css:"shield-name",type:"expression",serialization:"content",doc:'Value to use for a shield"s text label. Data columns are specified using brackets like [column_name]'},file:{css:"shield-file",required:!0,type:"uri","default-value":"none",doc:"Image file to render behind the shield text"},"face-name":{css:"shield-face-name",type:"string",validate:"font",doc:"Font name and style to use for the shield text","default-value":"",required:!0},"unlock-image":{css:"shield-unlock-image",type:"boolean",doc:"This parameter should be set to true if you are trying to position text beside rather than on top of the shield image","default-value":!1,"default-meaning":"text alignment relative to the shield image uses the center of the image as the anchor for text positioning."},size:{css:"shield-size",type:"float",doc:"The size of the shield text in pixels"},fill:{css:"shield-fill",type:"color",doc:"The color of the shield text"},placement:{css:"shield-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"How this shield should be placed. Point placement attempts to place it on top of points, line places along lines multiple times per feature, vertex places on the vertexes of polygons, and interior attempts to place inside of polygons."},"avoid-edges":{css:"shield-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.",type:"boolean","default-value":!1},"allow-overlap":{css:"shield-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping shields are shown or hidden.","default-meaning":"Do not allow shields to overlap with other map elements already placed."},"minimum-distance":{css:"shield-min-distance",type:"float","default-value":0,doc:"Minimum distance to the next shield symbol, not necessarily the same shield."},spacing:{css:"shield-spacing",type:"float","default-value":0,doc:"The spacing between repeated occurrences of the same shield on a line"},"minimum-padding":{css:"shield-min-padding","default-value":0,doc:"Determines the minimum amount of padding that a shield gets relative to other shields",type:"float"},"wrap-width":{css:"shield-wrap-width",type:"unsigned","default-value":0,doc:"Length of a chunk of text in characters before wrapping text"},"wrap-before":{css:"shield-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"shield-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long names."},"halo-fill":{css:"shield-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"shield-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},"character-spacing":{css:"shield-character-spacing",type:"unsigned","default-value":0,doc:"Horizontal spacing between characters (in pixels). Currently works for point placement only, not line placement."},"line-spacing":{css:"shield-line-spacing",doc:"Vertical spacing between lines of multiline labels (in pixels)",type:"unsigned"},dx:{css:"shield-text-dx",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"shield-text-dy",type:"float",doc:"Displace text within shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"shield-dx":{css:"shield-dx",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},"shield-dy":{css:"shield-dy",type:"float",doc:"Displace shield by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},opacity:{css:"shield-opacity",type:"float",doc:"(Default 1.0) - opacity of the image used for the shield","default-value":1},"text-opacity":{css:"shield-text-opacity",type:"float",doc:"(Default 1.0) - opacity of the text placed on top of the shield","default-value":1},"horizontal-alignment":{css:"shield-horizontal-alignment",type:["left","middle","right","auto"],doc:"The shield's horizontal alignment from its centerpoint","default-value":"auto"},"vertical-alignment":{css:"shield-vertical-alignment",type:["top","middle","bottom","auto"],doc:"The shield's vertical alignment from its centerpoint","default-value":"middle"},"text-transform":{css:"shield-text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"justify-alignment":{css:"shield-justify-alignment",type:["left","center","right","auto"],doc:"Define how text in a shield's label is justified","default-value":"auto"},clip:{css:"shield-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"shield-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"line-pattern":{file:{css:"line-pattern-file",type:"uri","default-value":"none",required:!0,doc:"An image file to be repeated and warped along a line"},clip:{css:"line-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"line-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"line-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"line-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},"polygon-pattern":{file:{css:"polygon-pattern-file",type:"uri","default-value":"none",required:!0,doc:"Image to use as a repeated pattern fill within a polygon"},alignment:{css:"polygon-pattern-alignment",type:["local","global"],"default-value":"local",doc:"Specify whether to align pattern fills to the layer or to the map."},gamma:{css:"polygon-pattern-gamma",type:"float","default-value":1,"default-meaning":"fully antialiased",range:"0-1",doc:"Level of antialiasing of polygon pattern edges"},opacity:{css:"polygon-pattern-opacity",type:"float",doc:"(Default 1.0) - Apply an opacity level to the image used for the pattern","default-value":1,"default-meaning":"The image is rendered without modifications"},clip:{css:"polygon-pattern-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},smooth:{css:"polygon-pattern-smooth",type:"float","default-value":0,"default-meaning":"no smoothing",range:"0-1",doc:"Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."},"geometry-transform":{css:"polygon-pattern-geometry-transform",type:"functions","default-value":"none","default-meaning":"geometry will not be transformed",doc:"Allows transformation functions to be applied to the geometry.",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]]},"comp-op":{css:"polygon-pattern-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},raster:{opacity:{css:"raster-opacity","default-value":1,"default-meaning":"opaque",type:"float",doc:"The opacity of the raster symbolizer on top of other symbolizers."},"filter-factor":{css:"raster-filter-factor","default-value":-1,"default-meaning":"Allow the datasource to choose appropriate downscaling.",type:"float",doc:"This is used by the Raster or Gdal datasources to pre-downscale images using overviews. Higher numbers can sometimes cause much better scaled image output, at the cost of speed."},scaling:{css:"raster-scaling",type:["near","fast","bilinear","bilinear8","bicubic","spline16","spline36","hanning","hamming","hermite","kaiser","quadric","catrom","gaussian","bessel","mitchell","sinc","lanczos","blackman"],"default-value":"near",doc:"The scaling algorithm used to making different resolution versions of this raster layer. Bilinear is a good compromise between speed and accuracy, while lanczos gives the highest quality."},"mesh-size":{css:"raster-mesh-size","default-value":16,"default-meaning":"Reprojection mesh will be 1/16 of the resolution of the source image",type:"unsigned",doc:"A reduced resolution mesh is used for raster reprojection, and the total image size is divided by the mesh-size to determine the quality of that mesh. Values for mesh-size larger than the default will result in faster reprojection but might lead to distortion."},"comp-op":{css:"raster-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},point:{file:{css:"point-file",type:"uri",required:!1,"default-value":"none",doc:"Image file to represent a point"},"allow-overlap":{css:"point-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping points are shown or hidden.","default-meaning":"Do not allow points to overlap with each other - overlapping markers will not be shown."},"ignore-placement":{css:"point-ignore-placement",type:"boolean","default-value":!1,"default-meaning":"do not store the bbox of this geometry in the collision detector cache",doc:"value to control whether the placement of the feature will prevent the placement of other features"},opacity:{css:"point-opacity",type:"float","default-value":1,"default-meaning":"Fully opaque",doc:"A value from 0 to 1 to control the opacity of the point"},placement:{css:"point-placement",type:["centroid","interior"],doc:"How this point should be placed. Centroid calculates the geometric center of a polygon, which can be outside of it, while interior always places inside of a polygon.","default-value":"centroid"},transform:{css:"point-transform",type:"functions",functions:[["matrix",6],["translate",2],["scale",2],["rotate",3],["skewX",1],["skewY",1]],"default-value":"","default-meaning":"No transformation",doc:"SVG transformation definition"},"comp-op":{css:"point-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},text:{name:{css:"text-name",type:"expression",required:!0,"default-value":"",serialization:"content",doc:"Value to use for a text label. Data columns are specified using brackets like [column_name]"},"face-name":{css:"text-face-name",type:"string",validate:"font",doc:"Font name and style to render a label in",required:!0},size:{css:"text-size",type:"float","default-value":10,doc:"Text size in pixels"},"text-ratio":{css:"text-ratio",doc:"Define the amount of text (of the total) present on successive lines when wrapping occurs","default-value":0,type:"unsigned"},"wrap-width":{css:"text-wrap-width",doc:"Length of a chunk of text in characters before wrapping text","default-value":0,type:"unsigned"},"wrap-before":{css:"text-wrap-before",type:"boolean","default-value":!1,doc:"Wrap text before wrap-width is reached. If false, wrapped lines will be a bit longer than wrap-width."},"wrap-character":{css:"text-wrap-character",type:"string","default-value":" ",doc:"Use this character instead of a space to wrap long text."},spacing:{css:"text-spacing",type:"unsigned",doc:"Distance between repeated text labels on a line (aka. label-spacing)"},"character-spacing":{css:"text-character-spacing",type:"float","default-value":0,doc:"Horizontal spacing adjustment between characters in pixels"},"line-spacing":{css:"text-line-spacing","default-value":0,type:"unsigned",doc:"Vertical spacing adjustment between lines in pixels"},"label-position-tolerance":{css:"text-label-position-tolerance","default-value":0,type:"unsigned",doc:"Allows the label to be displaced from its ideal position by a number of pixels (only works with placement:line)"},"max-char-angle-delta":{css:"text-max-char-angle-delta",type:"float","default-value":"22.5",doc:"The maximum angle change, in degrees, allowed between adjacent characters in a label. This value internally is converted to radians to the default is 22.5*math.pi/180.0. The higher the value the fewer labels will be placed around around sharp corners."},fill:{css:"text-fill",doc:"Specifies the color for the text","default-value":"#000000",type:"color"},opacity:{css:"text-opacity",doc:"A number from 0 to 1 specifying the opacity for the text","default-value":1,"default-meaning":"Fully opaque",type:"float"},"halo-fill":{css:"text-halo-fill",type:"color","default-value":"#FFFFFF","default-meaning":"white",doc:"Specifies the color of the halo around the text."},"halo-radius":{css:"text-halo-radius",doc:"Specify the radius of the halo in pixels","default-value":0,"default-meaning":"no halo",type:"float"},dx:{css:"text-dx",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the X axis. A positive value will shift the text right","default-value":0},dy:{css:"text-dy",type:"float",doc:"Displace text by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down","default-value":0},"vertical-alignment":{css:"text-vertical-alignment",type:["top","middle","bottom","auto"],doc:"Position of label relative to point position.","default-value":"auto","default-meaning":'Default affected by value of dy; "bottom" for dy>0, "top" for dy<0.'},"avoid-edges":{css:"text-avoid-edges",doc:"Tell positioning algorithm to avoid labeling near intersection edges.","default-value":!1,type:"boolean"},"minimum-distance":{css:"text-min-distance",doc:"Minimum permitted distance to the next text symbolizer.",type:"float"},"minimum-padding":{css:"text-min-padding",doc:"Determines the minimum amount of padding that a text symbolizer gets relative to other text",type:"float"},"minimum-path-length":{css:"text-min-path-length",type:"float","default-value":0,"default-meaning":"place labels on all paths",doc:"Place labels only on paths longer than this value."},"allow-overlap":{css:"text-allow-overlap",type:"boolean","default-value":!1,doc:"Control whether overlapping text is shown or hidden.","default-meaning":"Do not allow text to overlap with other text - overlapping markers will not be shown."},orientation:{css:"text-orientation",type:"expression",doc:"Rotate the text."},placement:{css:"text-placement",type:["point","line","vertex","interior"],"default-value":"point",doc:"Control the style of placement of a point versus the geometry it is attached to."},"placement-type":{css:"text-placement-type",doc:'Re-position and/or re-size text to avoid overlaps. "simple" for basic algorithm (using text-placements string,) "dummy" to turn this feature off.',type:["dummy","simple"],"default-value":"dummy"},placements:{css:"text-placements",type:"string","default-value":"",doc:'If "placement-type" is set to "simple", use this "POSITIONS,[SIZES]" string. An example is `text-placements: "E,NE,SE,W,NW,SW";` '},"text-transform":{css:"text-transform",type:["none","uppercase","lowercase","capitalize"],doc:"Transform the case of the characters","default-value":"none"},"horizontal-alignment":{css:"text-horizontal-alignment",type:["left","middle","right","auto"],doc:"The text's horizontal alignment from its centerpoint","default-value":"auto"},"justify-alignment":{css:"text-align",type:["left","right","center","auto"],doc:"Define how text is justified","default-value":"auto","default-meaning":"Auto alignment means that text will be centered by default except when using the `placement-type` parameter - in that case either right or left justification will be used automatically depending on where the text could be fit given the `text-placements` directives"},clip:{css:"text-clip",type:"boolean","default-value":!0,"default-meaning":"geometry will be clipped to map bounds before rendering",doc:"geometries are clipped to map bounds by default for best rendering performance. In some cases users may wish to disable this to avoid rendering artifacts."},"comp-op":{css:"text-comp-op","default-value":"src-over","default-meaning":"add the current symbolizer on top of other symbolizer",doc:"Composite operation. This defines how this symbolizer should behave relative to symbolizers atop or below it.",type:["clear","src","dst","src-over","dst-over","src-in","dst-in","src-out","dst-out","src-atop","dst-atop","xor","plus","minus","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","contrast","invert","invert-rgb","grain-merge","grain-extract","hue","saturation","color","value"]}},building:{fill:{css:"building-fill","default-value":"#FFFFFF",doc:"The color of the buildings walls.",type:"color"},"fill-opacity":{css:"building-fill-opacity",type:"float",doc:"The opacity of the building as a whole, including all walls.","default-value":1},height:{css:"building-height",doc:"The height of the building in pixels.",type:"expression","default-value":"0"}}},colors:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50],transparent:[0,0,0,0]},filter:{value:["true","false","null","point","linestring","polygon","collection"]}},c.mapnik_reference={version:{latest:a.SuperMap._mapnik_reference_latest,"2.1.1":a.SuperMap._mapnik_reference_latest}},a.SuperMap.CartoCSS=c,a.SuperMap.CartoCSS.Tree={},a.SuperMap.CartoCSS.Tree.operate=function(e,t,r){switch(e){case"+":return t+r;case"-":return t-r;case"*":return t*r;case"%":return t%r;case"/":return t/r}},a.SuperMap.CartoCSS.Tree.functions={rgb:function(e,t,r){return this.rgba(e,t,r,1)},rgba:function(e,t,r,n){var i=this,o=[e,t,r].map(function(e){return i.number(e)});return n=i.number(n),o.some(isNaN)||isNaN(n)?null:new a.SuperMap.CartoCSS.Tree.Color(o,n)},stop:function(e){var t,r;return arguments.length>1&&(t=arguments[1]),arguments.length>2&&(r=arguments[2]),{is:"tag",val:e,color:t,mode:r,toString:function(n){return'\n\t"}}},hsl:function(e,t,r){return this.hsla(e,t,r,1)},hsla:function(e,t,r,n){if([e=this.number(e)%360/360,t=this.number(t),r=this.number(r),n=this.number(n)].some(isNaN))return null;var i=r<=.5?r*(t+1):r+t-r*t,o=2*r-i;return this.rgba(255*a(e+1/3),255*a(e),255*a(e-1/3),n);function a(e){return 6*(e=e<0?e+1:e>1?e-1:e)<1?o+(i-o)*e*6:2*e<1?i:3*e<2?o+(i-o)*(2/3-e)*6:o}},hue:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(Math.round(e.toHSL().h)):null},saturation:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().s),"%"):null},lightness:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(Math.round(100*e.toHSL().l),"%"):null},alpha:function(e){return"toHSL"in e?new a.SuperMap.CartoCSS.Tree.Dimension(e.toHSL().a):null},saturate:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.s+=t.value/100,r.s=this.clamp(r.s),this.hsla_simple(r)},desaturate:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.s-=t.value/100,r.s=this.clamp(r.s),this.hsla_simple(r)},lighten:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.l+=t.value/100,r.l=this.clamp(r.l),this.hsla_simple(r)},darken:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.l-=t.value/100,r.l=this.clamp(r.l),this.hsla_simple(r)},fadein:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.a+=t.value/100,r.a=this.clamp(r.a),this.hsla_simple(r)},fadeout:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL();return r.a-=t.value/100,r.a=this.clamp(r.a),this.hsla_simple(r)},spin:function(e,t){if(!("toHSL"in e))return null;var r=e.toHSL(),n=(r.h+t.value)%360;return r.h=n<0?360+n:n,this.hsla_simple(r)},replace:function(e,t,r){return"field"===e.is?e.toString+".replace("+t.toString()+", "+r.toString()+")":e.replace(t,r)},mix:function(e,t,r){var n=r.value/100,i=2*n-1,o=e.toHSL().a-t.toHSL().a,s=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,l=1-s,u=[e.rgb[0]*s+t.rgb[0]*l,e.rgb[1]*s+t.rgb[1]*l,e.rgb[2]*s+t.rgb[2]*l],c=e.alpha*n+t.alpha*(1-n);return new a.SuperMap.CartoCSS.Tree.Color(u,c)},greyscale:function(e){return this.desaturate(e,new a.SuperMap.CartoCSS.Tree.Dimension(100))},"%":function(e){for(var t=Array.prototype.slice.call(arguments,1),r=e.value,n=0;n.5?u/(2-a-s):u/(a+s),a){case r:e=(n-i)/u+(n=0){if(!e.ppi)return e.error({message:"ppi is not set, so metric units can't be used",index:this.index}),{is:"undefined",value:"undefined"};this.value=this.value/this.densities[this.unit]*e.ppi,this.unit="px"}return this}},{key:"toColor",value:function(){return new a.SuperMap.CartoCSS.Tree.Color([this.value,this.value,this.value])}},{key:"round",value:function(){return this.value=Math.round(this.value),this}},{key:"toString",value:function(){return this.value.toString()}},{key:"operate",value:function(e,t,r){return"%"===this.unit&&"%"!==r.unit?(e.error({message:"If two operands differ, the first must not be %",index:this.index}),{is:"undefined",value:"undefined"}):"%"!==this.unit&&"%"===r.unit?"*"===t||"/"===t||"%"===t?(e.error({message:"Percent values can only be added or subtracted from other values",index:this.index}),{is:"undefined",value:"undefined"}):new a.SuperMap.CartoCSS.Tree.Dimension(a.SuperMap.CartoCSS.Tree.operate(t,this.value,this.value*r.value*.01),this.unit):new a.SuperMap.CartoCSS.Tree.Dimension(a.SuperMap.CartoCSS.Tree.operate(t,this.value,r.value),this.unit||r.unit)}}]),e}(),a.SuperMap.CartoCSS.Tree.Element=function(){function e(t){u(this,e),this.value=t.trim(),"#"===this.value[0]&&(this.type="id",this.clean=this.value.replace(/^#/,"")),"."===this.value[0]&&(this.type="class",this.clean=this.value.replace(/^\./,"")),-1!==this.value.indexOf("*")&&(this.type="wildcard")}return o(e,[{key:"specificity",value:function(){return["id"===this.type?1:0,"class"===this.type?1:0]}},{key:"toString",value:function(){return this.value}}]),e}(),a.SuperMap.CartoCSS.Tree.Expression=function(){function e(t){u(this,e),this.is="expression",this.value=t}return o(e,[{key:"ev",value:function(e){return this.value.length>1?new a.SuperMap.CartoCSS.Tree.Expression(this.value.map(function(t){return t.ev(e)})):this.value[0].ev(e)}},{key:"toString",value:function(e){return this.value.map(function(t){return t.toString(e)}).join(" ")}}]),e}(),a.SuperMap.CartoCSS.Tree.Field=function(){function e(t){u(this,e),this.is="field",this.value=t||""}return o(e,[{key:"toString",value:function(){return'["'+this.value.toUpperCase()+'"]'}},{key:"ev",value:function(){return this}}]),e}(),a.SuperMap.CartoCSS.Tree.Filter=function(){function e(t,r,n,i,o){u(this,e),this.ops={"<":[" < ","numeric"],">":[" > ","numeric"],"=":[" = ","both"],"!=":[" != ","both"],"<=":[" <= ","numeric"],">=":[" >= ","numeric"],"=~":[".match(","string",")"]},this.key=t,this.op=r,this.val=n,this.index=i,this.filename=o,this.id=this.key+this.op+this.val}return o(e,[{key:"ev",value:function(e){return this.key=this.key.ev(e),this.val=this.val.ev(e),this}},{key:"toString",value:function(){return"["+this.id+"]"}}]),e}(),a.SuperMap.CartoCSS.Tree.Filterset=function(){function e(){u(this,e),this.filters={}}return o(e,[{key:"toJS",value:function(e){function t(e){var t=e.op;"="===t&&(t="==");var r=e.val;void 0!==e._val&&(r=e._val.toString(!0)),e.key&&"scale"===e.key.value?r=+r:"string"!=typeof r&&"object"!==(void 0===r?"undefined":i(r))||(r="'"+r+"'");var n="attributes";return n+"&&"+n+e.key+"&&"+n+e.key+" "+t+r}var r=[];for(var n in this.filters)r.push(t(this.filters[n]));return r.join(" && ")}},{key:"toString",value:function(){var e=[];for(var t in this.filters)e.push(this.filters[t].id);return e.sort().join("\t")}},{key:"ev",value:function(e){for(var t in this.filters)this.filters[t].ev(e);return this}},{key:"clone",value:function(){var e=new a.SuperMap.CartoCSS.Tree.Filterset;for(var t in this.filters)e.filters[t]=this.filters[t];return e}},{key:"cloneWith",value:function(e){var t=[];for(var r in e.filters){var n=this.addable(e.filters[r]);if(!1===n)return!1;!0===n&&t.push(e.filters[r])}if(!t.length)return null;var i=new a.SuperMap.CartoCSS.Tree.Filterset;for(r in this.filters)i.filters[r]=this.filters[r];for(;r=t.shift();)i.add(r);return i}},{key:"addable",value:function(e){var t=e.key.toString(),r=e.val.toString();switch(r.match(/^[0-9]+(\.[0-9]*)?$/)&&(r=parseFloat(r)),e.op){case"=":return void 0!==this.filters[t+"="]?this.filters[t+"="].val.toString()==r&&null:void 0===this.filters[t+"!="+r]&&(!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)&&!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val"]&&this.filters[t+">"].val>=r?null:void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val":return t+"="in this.filters?!(this.filters[t+"="].val<=r)&&null:!(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r)&&(!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=r)&&(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)||null));case">=":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val"]&&this.filters[t+">"].val>=r?null:!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=r)||null));case"<":return void 0!==this.filters[t+"="]?!(this.filters[t+"="].val>=r)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>=r)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].valr)&&null:!(void 0!==this.filters[t+">"]&&this.filters[t+">"].val>=r)&&(!(void 0!==this.filters[t+">="]&&this.filters[t+">="].val>r)&&(void 0!==this.filters[t+"<"]&&this.filters[t+"<"].val<=r?null:!(void 0!==this.filters[t+"<="]&&this.filters[t+"<="].val<=r)||null))}}},{key:"conflict",value:function(e){var t=e.key.toString(),r=e.val.toString();return isNaN(parseFloat(r))||(r=parseFloat(r)),("="===e.op&&void 0!==this.filters[t+"="]&&r!=this.filters[t+"="].val.toString()||"!="===e.op&&void 0!==this.filters[t+"="]&&r==this.filters[t+"="].val.toString()||"="===e.op&&void 0!==this.filters[t+"!="]&&r===this.filters[t+"!="].val.toString())&&e.toString()+" added to "+this.toString()+" produces an invalid filter"}},{key:"add",value:function(e,t){var r,n=e.key.toString(),i=e.op,o=this.conflict(e);if(o)return o;if("="===i){for(var a in this.filters)this.filters[a].key===n&&delete this.filters[a];this.filters[n+"="]=e}else if("!="===i)this.filters[n+"!="+e.val]=e;else if("=~"===i)this.filters[n+"=~"+e.val]=e;else if(">"===i){for(var s in this.filters)this.filters[s].key===n&&this.filters[s].val<=e.val&&delete this.filters[s];this.filters[n+">"]=e}else if(">="===i){for(var l in this.filters)r=+this.filters[l].val.toString(),this.filters[l].key===n&&r",this.filters[n+">"]=e):this.filters[n+">="]=e}else if("<"===i){for(var u in this.filters)r=+this.filters[u].val.toString(),this.filters[u].key===n&&r>=e.val&&delete this.filters[u];this.filters[n+"<"]=e}else if("<="===i){for(var c in this.filters)r=+this.filters[c].val.toString(),this.filters[c].key===n&&r>e.val&&delete this.filters[c];void 0!==this.filters[n+"!="+e.val]?(delete this.filters[n+"!="+e.val],e.op="<",this.filters[n+"<"]=e):this.filters[n+"<="]=e}}}]),e}(),a.SuperMap.CartoCSS.Tree.Fontset=function e(t,r){u(this,e),this.fonts=r,this.name="fontset-"+t.effects.length},a.SuperMap.CartoCSS.Tree.Invalid=function(){function e(t,r,n){u(this,e),this.is="invalid",this.chunk=t,this.index=r,this.type="syntax",this.message=n||"Invalid code: "+this.chunk}return o(e,[{key:"ev",value:function(e){return e.error({chunk:this.chunk,index:this.index,type:"syntax",message:this.message||"Invalid code: "+this.chunk}),{is:"undefined"}}}]),e}(),a.SuperMap.CartoCSS.Tree.Keyword=function(){function e(t){u(this,e),this.value=t;var r={transparent:"color",true:"boolean",false:"boolean"};this.is=r[t]?r[t]:"keyword"}return o(e,[{key:"ev",value:function(){return this}}]),o(e,[{key:"toString",value:function(){return this.value}}]),e}(),a.SuperMap.CartoCSS.Tree.Literal=function(){function e(t){u(this,e),this.value=t||"",this.is="field"}return o(e,[{key:"toString",value:function(){return this.value}},{key:"ev",value:function(){return this}}]),e}(),a.SuperMap.CartoCSS.Tree.Operation=function(){function e(t,r,n){u(this,e),this.is="operation",this.op=t.trim(),this.operands=r,this.index=n}return o(e,[{key:"ev",value:function(e){var t,r=this.operands[0].ev(e),n=this.operands[1].ev(e);return"undefined"===r.is||"undefined"===n.is?{is:"undefined",value:"undefined"}:(r instanceof a.SuperMap.CartoCSS.Tree.Dimension&&n instanceof a.SuperMap.CartoCSS.Tree.Color&&("*"===this.op||"+"===this.op?(t=n,n=r,r=t):e.error({name:"OperationError",message:"Can't substract or divide a color from a number",index:this.index})),r instanceof a.SuperMap.CartoCSS.Tree.Quoted&&n instanceof a.SuperMap.CartoCSS.Tree.Quoted&&"+"!==this.op?(e.error({message:"Can't subtract, divide, or multiply strings.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):r instanceof a.SuperMap.CartoCSS.Tree.Field||n instanceof a.SuperMap.CartoCSS.Tree.Field||r instanceof a.SuperMap.CartoCSS.Tree.Literal||n instanceof a.SuperMap.CartoCSS.Tree.Literal?"color"===r.is||"color"===n.is?(e.error({message:"Can't subtract, divide, or multiply colors in expressions.",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):new a.SuperMap.CartoCSS.Tree.Literal(r.ev(e).toString(!0)+this.op+n.ev(e).toString(!0)):void 0===r.operate?(e.error({message:"Cannot do math with type "+r.is+".",index:this.index,type:"runtime",filename:this.filename}),{is:"undefined",value:"undefined"}):r.operate(e,this.op,n))}}]),e}(),a.SuperMap.CartoCSS.Tree.Quoted=function(){function e(t){u(this,e),this.is="string",this.value=t||""}return o(e,[{key:"toString",value:function(e){var t=this.value.replace(/&/g,"&"),r=t.replace(/\'/g,"\\'").replace(/\"/g,""").replace(//g,">");return!0===e?"'"+r+"'":t}},{key:"ev",value:function(){return this}},{key:"operate",value:function(e,t,r){return new a.SuperMap.CartoCSS.Tree.Quoted(a.SuperMap.CartoCSS.Tree.operate(t,this.toString(),r.toString(this.contains_field)))}}]),e}(),a.SuperMap.CartoCSS.Tree.Reference={_validateValue:{font:function(e,t){return!e.validation_data||!e.validation_data.fonts||-1!=e.validation_data.fonts.indexOf(t)}},setData:function(e){this.data=e,this.selector_cache=function(e){var t={};for(var r in e.symbolizers)for(var n in e.symbolizers[r])e.symbolizers[r][n].hasOwnProperty("css")&&(t[e.symbolizers[r][n].css]=[e.symbolizers[r][n],r,n]);return t}(e),this.mapnikFunctions=function(e){var t={};for(var r in e.symbolizers)for(var n in e.symbolizers[r])if("functions"===e.symbolizers[r][n].type)for(var i=0;i1?Array.prototype.push.apply(r,n.find(new a.SuperMap.CartoCSS.Tree.Selector(null,null,e.elements.slice(1)),t)):r.push(n);break}}),this._lookups[n]=r)}},{key:"evZooms",value:function(e){for(var t=0;ta.SuperMap.CartoCSS.Tree.Zoom.maxZoom||t<0)&&e.error({message:"Only zoom levels between 0 and "+a.SuperMap.CartoCSS.Tree.Zoom.maxZoom+" supported.",index:this.index}),this.op){case"=":return this.zoom="zoom && zoom === "+t,this;case">":this.zoom="zoom && zoom > "+t;break;case">=":this.zoom="zoom && zoom >= "+t;break;case"<":this.zoom="zoom && zoom < "+t;break;case"<=":this.zoom="zoom && zoom <= "+t;break;default:return this}return this}},{key:"toString",value:function(){for(var e="",t=0;t<=a.SuperMap.CartoCSS.Tree.Zoom.maxZoom;t++)e+=this.zoom&1<t.geoFence.radius&&(t.outOfGeoFence&&t.outOfGeoFence(e),t.events.triggerEvent("outOfGeoFence",{data:e})),r})}},{key:"_distance",value:function(e,t,r,n){return Math.sqrt((e-r)*(e-r)+(t-n)*(t-n))}},{key:"_getMeterPerMapUnit",value:function(e){var t=void 0;return"meter"===e?t=1:"degree"===e&&(t=2*Math.PI*6378137/360),t}}]),e}();o.SuperMap.ElasticSearch=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElasticSearch=void 0;var n=r(396);t.ElasticSearch=n.ElasticSearch},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElasticSearch=void 0;var n=r(397);t.ElasticSearch=n.ElasticSearch},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenServiceParameter=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(1===i.length?r+="'displayFilter':\""+i[0]+'",':r+="'displayFilter':\""+i[s]+'",'),(a=e.displayOrderBy)&&a.length>0&&(1===a.length?r+="'displayOrderBy':'"+a[0]+"',":r+="'displayOrderBy':'"+a[s]+"',"),(t=e.fieldValuesDisplayFilter)&&(r+="'fieldValuesDisplayFilter':"+o.Util.toJSON(t)+","),e.joinItems&&e.joinItems.length>0&&e.joinItems[s]&&(r+="'joinItems':["+o.Util.toJSON(e.joinItems[s])+"],"),e.datasetNames&&e.dataSourceNames){var u=e.datasetNames[s]?s:e.datasetNames.length-1,c=e.dataSourceNames[s]?s:e.dataSourceNames.length-1;r+="'datasetInfo': {'name': '"+e.datasetNames[u]+"','dataSourceName': '"+e.dataSourceNames[c]+"'}},"}else r+="},"}e.themes&&e.themes.length>0&&(r=r.substring(0,r.length-1)),r+="]},";var p=this.url.split("/");return r+="'name': '"+p[p.length-2]+"'}]"}}]),t}();i.SuperMap.ThemeService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeLabelUniqueItem=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(n+='"subLayers":'+e.toJSON()),n+=',"visible":true,',n+='"name":"'+this.getMapName(this.mapUrl)+'"',n+="}]",t.request({method:"PUT",data:n,scope:t,success:t.serviceProcessCompleted,failure:t.serviceProcessFailed})}}}},{key:"createTempLayerComplete",value:function(e){(e=o.Util.transformResult(e)).succeed&&(this.lastparams.resourceID=e.newResourceID),this.processAsync(this.lastparams)}},{key:"getMapName",value:function(e){var t=e;"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1));var r=t.lastIndexOf("/");return t.substring(r+1,t.length)}},{key:"serviceProcessCompleted",value:function(e){null!=(e=o.Util.transformResult(e))&&null!=this.lastparams&&(e.newResourceID=this.lastparams.resourceID),this.events.triggerEvent("processCompleted",{result:e})}}]),t}();i.SuperMap.SetLayerStatusService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetLayersInfoService=void 0;var n=function(){function e(e,t){for(var r=0;r=200&&e.code<300||0==e.code||304===e.code,r=e.code&&t;!e.code||r?this.events&&this.events.triggerEvent("processCompleted",{result:e}):this.events.triggerEvent("processFailed",{error:e})}}]),t}();i.SuperMap.MapService=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KernelDensityJobsService=void 0;var n=function(){function e(e,t){for(var r=0;r0?e[0].subLayers.layers:null)?t.length:0,this.handleLayers(r,t),this.events.triggerEvent("processCompleted",{result:e[0]})}},{key:"handleLayers",value:function(e,t){var r;if(e)for(var n=0;n0)this.handleLayers(t[n].subLayers.layers.length,t[n].subLayers.layers);else switch(t[n].ugcLayerType){case"THEME":(r=new s.ServerTheme).fromJson(t[n]),t[n]=r;break;case"GRID":(r=new l.Grid).fromJson(t[n]),t[n]=r;break;case"IMAGE":(r=new u.UGCImage).fromJson(t[n]),t[n]=r;break;case"VECTOR":(r=new c.Vector).fromJson(t[n]),t[n]=r}}}}]),t}();i.SuperMap.GetLayersInfoService=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetGridCellInfosService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(t+=","),t+='{"x":'+i[r].x+',"y":'+i[r].y+"}";o+=t+="]"}else if(1==e.isAnalyzeById){for(var a="[",s=e.nodes,l=s.length,u=0;u0&&(a+=","),a+=s[u];o+=a+="]"}return o}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.tspPathList)return null;var t=new s.GeoJSON;return e.tspPathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}]),t}();i.SuperMap.FindTSPPathsService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindServiceAreasService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.serviceAreaList)return e;var t=new l.GeoJSON;return e.serviceAreaList.map(function(e){return e.serviceRegion&&(e.serviceRegion=JSON.parse(t.write(e.serviceRegion))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e.routes&&(e.routes=JSON.parse(t.write(e.routes))),e}),e}}]),t}();i.SuperMap.FindServiceAreasService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindPathService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.pathList||e.pathList.length<1)return null;var t=new l.GeoJSON;return e.pathList.forEach(function(e){e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures)))}),e}}]),t}();i.SuperMap.FindPathService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindMTSPPathsService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.pathList)return null;var t=new l.GeoJSON;return e.pathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}]),t}();i.SuperMap.FindMTSPPathsService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindLocationService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(t+=","),t+=o.Util.toJSON(e[n]);return t+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e)return null;var t=new l.GeoJSON;return e.demandResults&&(e.demandResults=JSON.parse(t.write(e.demandResults))),e.supplyResults&&(e.supplyResults=JSON.parse(t.write(e.supplyResults))),e}}]),t}();i.SuperMap.FindLocationService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FindClosestFacilitiesService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}},{key:"toGeoJSONResult",value:function(e){if(!e||!e.facilityPathList)return e;var t=new a.GeoJSON;return e.facilityPathList.map(function(e){return e.route&&(e.route=JSON.parse(t.write(e.route))),e.pathGuideItems&&(e.pathGuideItems=JSON.parse(t.write(e.pathGuideItems))),e.edgeFeatures&&(e.edgeFeatures=JSON.parse(t.write(e.edgeFeatures))),e.nodeFeatures&&(e.nodeFeatures=JSON.parse(t.write(e.nodeFeatures))),e}),e}}]),t}();i.SuperMap.FindClosestFacilitiesService=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FieldStatisticService=void 0;var n=function(){function e(e,t){for(var r=0;r0){var t=JSON.parse(e.data);return e.filterParam=t,e.eventType="setFilterParamSuccessed",void this.events.triggerEvent("setFilterParamSuccessed",e)}var r=JSON.parse(e.data);e.featureResult=r,e.eventType="messageSuccessed",this.events.triggerEvent("messageSuccessed",e)}},{key:"_connect",value:function(e){return e=this._appendCredentials(e),"WebSocket"in window?new WebSocket(e):"MozWebSocket"in window?new(0,window.MozWebSocket)(e):(console.log("no WebSocket"),null)}},{key:"_appendCredentials",value:function(e){var t=s.SecurityManager.getToken(e);return t&&(e+="?token="+t),e}}]),t}();i.SuperMap.DataFlowService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComputeWeightMatrixService=void 0;var n=function(){function e(e,t){for(var r=0;r0&&(r+=","),r+='{"x":'+t[i].x+',"y":'+t[i].y+"}";else if(1==e)for(var o=0;o0&&(r+=","),r+=t[o];return r+="]"}}]),t}();i.SuperMap.ComputeWeightMatrixService=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChartQueryService=void 0;var n=function(){function e(e,t){for(var r=0;r599){if(l)return;return l=!0,void i(new TypeError("Network request failed"))}var t={status:e,statusText:a.statusText,headers:function(e){var t=new s;return e.getAllResponseHeaders().trim().split("\n").forEach(function(e){var r=e.trim().split(":"),n=r.shift().trim(),i=r.join(":").trim();t.append(n,i)}),t}(a),url:"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0},r="response"in a?a.response:a.responseText;l||(l=!0,n(new y(r,t)))}}a.onreadystatechange=u,a.onload=u,a.onerror=function(){l||(l=!0,i(new TypeError("Network request failed")))},a.open(o.method,o.url,!0);try{"include"===o.credentials&&("withCredentials"in a?a.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(e){console&&console.warn&&console.warn("set withCredentials error:"+e)}"responseType"in a&&r.blob&&(a.responseType="blob"),o.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send(void 0===o._bodyInit?null:o._bodyInit)})},t.fetch.polyfill=!0,void 0!==e&&e.exports&&(e.exports=t.fetch)}function o(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function s(e){this.map={},e instanceof s?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function l(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function u(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function c(e){var t=new FileReader;return t.readAsArrayBuffer(e),u(t)}function p(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(r.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(r.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!r.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},r.blob?(this.blob=function(){var e=l(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(c)},this.text=function(){var e,t,r,n,i,o,a,s=l(this);if(s)return s;if(this._bodyBlob)return e=this._bodyBlob,t=this._options,r=new FileReader,n=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",i=/charset\=[0-9a-zA-Z\-\_]*;?/,o=e.type.match(i)||n.match(i),a=[e],o&&a.push(o[0].replace(/^charset\=/,"").replace(/;$/,"")),r.readAsText.apply(r,a),u(r);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=l(this);return e||Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(h)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(e,t){var r,i,o=(t=t||{}).body;if(f.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,o||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=(r=t.method||this.method||"GET",i=r.toUpperCase(),n.indexOf(i)>-1?i:r),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o,t)}function h(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof s?t.headers:new s(t.headers),this.url=t.url||""}}("undefined"!=typeof self?self:void 0)},function(e,t,r){"use strict";var n,i,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var u,c=[],p=!1,f=-1;function h(){p&&u&&(p=!1,u.length?c=u.concat(c):f=-1,c.length&&y())}function y(){if(!p){var e=l(h);p=!0;for(var t=c.length;t;){for(u=c,c=[];++f1)for(var r=1;r=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r(486),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||void 0,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||void 0}).call(this,r(116))},function(e,t,r){"use strict";(function(t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(n){var i=setTimeout;function o(){}function a(e){if("object"!==r(this))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],p(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,a._immediateFn(function(){var r=1===e._state?t.onFulfilled:t.onRejected;if(null!==r){var n;try{n=r(e._value)}catch(e){return void u(t.promise,e)}l(t.promise,n)}else(1===e._state?l:u)(t.promise,e._value)})):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":r(t))||"function"==typeof t)){var n=t.then;if(t instanceof a)return e._state=3,e._value=t,void c(e);if("function"==typeof n)return void p((i=n,o=t,function(){i.apply(o,arguments)}),e)}e._state=1,e._value=t,c(e)}catch(t){u(e,t)}var i,o}function u(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&a._immediateFn(function(){e._handled||a._unhandledRejectionFn(e._value)});for(var t=0,r=e._deferreds.length;t=e.endTime&&(e.currentTime=e.endTime)}}}]),t}();o.SuperMap.TimeFlowControl=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeFlowControl=t.TimeControlBase=t.LogoBase64=void 0;var n=r(281),i=r(280),o=r(492);t.LogoBase64=n.LogoBase64,t.TimeControlBase=i.TimeControlBase,t.TimeFlowControl=o.TimeFlowControl},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WKT=void 0;var n=function(){function e(e,t){for(var r=0;r0&&i.push(","),r=t[o].geometry,i.push(this.extractGeometry(r));return n&&i.push(")"),i.join("")}},{key:"extractGeometry",value:function(e){var t=e.CLASS_NAME.split(".")[2].toLowerCase();return this.extract[t]?("collection"===t?"GEOMETRYCOLLECTION":t.toUpperCase())+"("+this.extract[t].apply(this,[e])+")":null}}]),t}();i.SuperMap.Format.WKT=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WKT=t.GeoJSON=t.JSONFormat=t.Format=void 0;var n=r(118),i=r(16),o=r(117),a=r(494);t.Format=n.Format,t.JSONFormat=o.JSONFormat,t.GeoJSON=i.GeoJSON,t.WKT=a.WKT},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DateExt=void 0;var n=r(0);t.DateExt=n.SuperMap.Date={toISOString:function(){if("toISOString"in Date.prototype)return function(e){return e.toISOString()};var e=function(e,t){for(var r=e+"";r.length