TMap = window.TMap || {}; if (!TMap.__load) { TMap.__load = function(onLoad) { onLoad({"key":"I5RBZ-VQWCZ-BFYXQ-ZDWJV-TPXIK-QHFVV","version":"1.6.4.22","highQualityRender":false}, 1702652340142); delete TMap.__load; }; } /*! @version 1.6.4.22 */ !function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=639)}([function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var i=n(75),o=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=function(){function t(t,e){for(var n=0;nn?t[e]:n;return n},e.getMin=function(t){for(var e=t.length,n=1/0;e;)e-=1,n=t[e]=e&&t<=n},e.clamp=function(t,e,n){return Math.min(n,Math.max(e,t))},e.wrap=function(t,e,n){var i=n-e,o=((t-e)%i+i)%i+e;return o===e?n:o},e.round=function(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n},e.mix=function(t,e,n){return t*(1-n)+e*n},e.degreeToRadian=m.default,e.radianToDegree=_.default,e.extend=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i>0&255,n=t>>8&255,i=t>>16&255,o=t>>24&255;return o/=255,new Array(e,n,i,o)},e.rgbaToGLColor=function(t){t=String(t).replace(/ /g,"");var e=t.substring(t.indexOf("(")+1,t.indexOf(")")).split(",");return 3===e.length&&(e[3]=1),e=e.map(function(t,e){return 3===e?Number(t):Number(t)/255})},e.uniqueId=function(){var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),e=new Array(36),n=0,i=void 0;return function(){for(var o=0;o<36;o++)8===o||13===o||18===o||23===o?e[o]="-":14===o?e[o]="4":(n<=2&&(n=33554432+16777216*Math.random()|0),i=15&n,n>>=4,e[o]=t[19===o?3&i|8:i]);return e.join("")}}(),e.objectClone=function(t){var e=this;if("object"!==(void 0===t?"undefined":(0,l.default)(t))||null===t)return t;if(t instanceof Array)return[].concat(t);var n=new Object;return o(t,function(t,i){n[t]=e.objectClone(i)}),n},e.keysDifference=function(t,e){var n=[];return o(t,function(t){t in e||n.push(t)}),n},e.bezier=function(t,e,n,i){var o=new b(t,e,n,i);return function(t){return o.solve(t)}},e.ease=e.bezier(.25,.1,.25,1),e.linearEase=function(t){return t},e.asyncAll=function(t,e,n){if(!t.length)return n(null,[]);var i=t.length,o=new Array(t.length),r=null;t.forEach(function(t,a){e(t,function(t,e){t&&(r=t),o[a]=e,0===i&&n(r,o),i-=1})})},e.deepEqual=function(t,n){if(Array.isArray(t)){if(!Array.isArray(n)||t.length!==n.length)return!1;for(var i=0;i=0){i="mobile";break}for(var r=0;r=0){i="pc";break}return i}function a(t,e,n){if(e.includes(":")){var i=n,o=e.split(":"),r=o[0].trim();e=o[1].trim(),n=function(t){for(var e=!1,n=t.target;n&&!(e=s(n,r));)n=n.parentNode;e&&(t.selectorTarget=n,i(t))}}return"addEventListener"in t?(t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}}):"attachEvent"in t?(t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}):"on"in t?(t.on(e,n),{remove:function(){t.off&&t.off(e,n),t.removeListener&&t.removeListener(e,n)}}):void 0}function s(t,e){var n=["matches","webkitMatchesSelector","msMatchesSelector","mozMatchesSelector","oMatchesSelector"],i=!0,o=!1,r=void 0;try{for(var a,s=(0,u.default)(n);!(i=(a=s.next()).done);i=!0){var l=a.value;if(t[l]&&"function"==typeof t[l])return t[l](e)}}catch(t){o=!0,r=t}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return!1}var l=n(26),u=i(l),c=n(17),f=i(c),d=n(21),h=i(d),v=n(19),p=i(v);e.now=function(){return self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date)}();var m=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame;e.frame=function(t){return m(t)};var g=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame;e.cancelFrame=function(t){g(t)},e.timed=function(n,i,o,r){function a(i){l||(i=t.exports.now(),i>=u+o?n.call(r,1):(n.call(r,(i-u)/o),e.frame(a)))}var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!o)return n.call(r,1),null;var l=!1,u=t.exports.now()-s*o;return e.frame(a),function(){l=!0,i&&i.call(r)}},e.getImageData=function(t){var e=self.document.createElement("canvas"),n=e.getContext("2d");return e.width=t.width,e.height=t.height,n.drawImage(t,0,0,t.width,t.height),n.getImageData(0,0,t.width,t.height).data},e.hardwareConcurrency=self.navigator.hardwareConcurrency||4,Object.defineProperty(e,"devicePixelRatio",{get:function(){return self.devicePixelRatio||1}}),e.isPC=function(){var t=self.navigator.userAgent,e=["Android","iPhone","iPad","iPod","SymbianOS","selfs Phone"],n=!0;if(o()){if("mobile"===r())return!1;if("pc"===r())return!0}for(var i=0;i=0){n=!1;break}return n},e.isMiniProgram=o,e.getMiniProgramEnv=r,e.isLowMobileDevice=function(){var t=self.navigator.userAgent;if(this.isPC())return!1;if(t.includes("SymbianOS")||t.includes("selfs Phone"))return!0;try{var e=t.includes("Android")&&parseFloat(t.match(/Android (\d+)/)[1]),n=(t.includes("iPhone")||t.includes("iPad")||t.includes("iPod"))&&t.match(/OS ((\d+_?){2,3})\s/)&&parseFloat(String(t.match(/OS ((\d+_?){2,3})\s/)[1]).replace("_","."));if(e&&e<6||n&&n<11)return!0}catch(t){return!1}return!1},e.mobileSystem=function(){var t=self.navigator.userAgent,e="";if(this.isPC())return!1;if(t.includes("SymbianOS")||t.includes("selfs Phone"))e=t.includes("SymbianOS")?"SymbianOS":"selfs Phone";else try{var n=t.includes("Android")&&parseFloat(t.match(/Android ([\d.]+?);/)[1]),i=(t.includes("iPhone")||t.includes("iPad")||t.includes("iPod"))&&t.match(/OS ((\d+_?){2,3})\s/)&&parseFloat(String(t.match(/OS ((\d+_?){2,3})\s/)[1]).replace("_","."));e=n?"Android"+n.toFixed(1):"iOS"+i.toFixed(1)}catch(e){return"无法识别: "+t}return e},e.debounce=function(t,e){var n=null;return function(){var i=arguments;n&&clearTimeout(n),n=setTimeout(function(){t.apply(void 0,(0,p.default)(i))},e)}},e.throttle=function(t,e){var n=0;return function(){var i=+new Date;if(i-n>e){n=i;for(var o=arguments.length,r=Array(o),a=0;a=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var i=n(87),o=n(58);t.exports=Object.keys||function(t){return i(t,o)}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(3),r=i(o),a=n(117),s=i(a);e.default=function t(e,n,i){null===e&&(e=Function.prototype);var o=(0,s.default)(e,n);if(void 0===o){var a=(0,r.default)(e);return null===a?void 0:t(a,n,i)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(i)}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(30),r=i(o),a=n(141),s=i(a),l=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/,u=/^rgb\((\d+,?\s*){3}\)$/,c=/^rgba\((\d+,?\s*){3},\s*[0-9.]+\)$/,f={};!function(t){["Number","String","Function","Undefined","Boolean","Object","Array"].forEach(function(e){var n=function(t){return"[object "+e+"]"===Object.prototype.toString.call(t)};t["is"+e]=n})}(f),f.isNaN=s.default,f.isValidLatLng=function(){var t=void 0,e=void 0;if(1===arguments.length){var n=arguments[0];if(f.isArray(n)){var i=(0,r.default)(n,2);t=i[0],e=i[1]}else t=n.lat,e=n.lng}else{if(2!==arguments.length)return!1;t=arguments[0],e=arguments[1]}return!(!f.isNumber(t)||!f.isNumber(e))&&(Math.abs(t)<=90&&Math.abs(e)<=180)},f.isValidColor=function(t){return f.isArray(t)?(3===t.length||4===t.length)&&t.every(function(t){return t>=0&&t<=255}):!!f.isString(t)&&(l.test(t)||u.test(t)||c.test(t))},f.isValidOffset=function(t){return!!(f.isObject(t)&&"x"in t&&"y"in t&&f.isNumber(t.x)&&f.isNumber(t.y))},e.default=f},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=!0},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){n(135);for(var i=n(8),o=n(20),r=n(29),a=n(9)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l0&&void 0!==arguments[0]?arguments[0]:{},e=t.type,n=t.code,i=t.message,o=void 0===i?"":i,a=t.key,s=void 0===a?A.default.key:a;(0,T.sendOnce)(r(b.default.prSrc,{logid:"err",key:s,type:e,code:n,msg:o,dt:k.default.OS}))}function l(t,e,n){t.once("tilesloaded",function(){(0,T.sendOnce)(r(b.default.prSrc,{logid:"rt",frt:Date.now()-e,device:n}))})}function u(t,e,n){(0,L.isPC)()||t.once("tilesloaded",function(){(0,T.sendOnce)(r(b.default.prSrc,{logid:"ds",lowdevice:e,systemid:n}))})}function c(t){var e=(0,I.isWebGLSupportedCached)(),n=null,i=0,o=null,a=function(){var a=(0,L.now)(),s=(a-o)/1e3,l=Math.round(i/(60*s)*60);t.removeRenderCallback(n),(0,T.sendOnce)(r(b.default.prSrc,{logid:"fps",dt:k.default.OS,num:l,cd:e.isIndependentDisplayCard?1:0}))};t.on("movestart",function(){n&&(t.removeListener("moveend",a),t.removeRenderCallback(n),i=0),o=(0,L.now)(),n=function(){i++},t.addRenderCallback(n),t.once("moveend",a)})}function f(t){(0,T.sendOnce)(r(b.default.prSrc,{logid:"cl",key:t.key||A.default.key,subkey:t.subkey||"",id:t.id||""}))}function d(t){(0,T.sendOnce)(r(b.default.prSrc,{logid:"cs",key:t.key||A.default.key,subkey:t.subkey||"",id:t.styleId}))}function h(t,e){(0,T.sendOnce)(r(b.default.prSrc,{logid:"os",key:t.key||A.default.key,num:e||0}))}function v(t){var e=t.zoom,n=t.pitch,i=t.rotation,o=t.width,a=t.height;(0,T.sendOnce)(r(b.default.prSrc,{logid:"minfo",zoom:Math.floor(e),pitch:n,rotation:i,width:o,height:a}))}function p(t,e){if("tile"===t){var n=e.id,i=e.status,o=e.time,a=M[n];a||(a=new R(n),M[n]=a),a.logStatus(i),0===i&&o&&a.logTime(o)}else{var s={logid:"qos",t:t,info:e.styleId+"|"+e.version};e.error||0===e.error?s.e=e.error:s.lt=e.loadTime,(0,T.sendOnce)(r(b.default.prSrc,s))}}Object.defineProperty(e,"__esModule",{value:!0}),e.statCn=e.qos=e.minfo=e.os=e.cs=e.cl=e.fps=e.ds=e.frt=e.err=e.pv=void 0;var m=n(0),g=i(m),_=n(1),y=i(_),x=n(23),b=i(x),S=n(105),A=i(S),w=n(89),E=i(w),I=n(146),T=n(145),P=n(139),k=i(P),L=n(25),C=!!A.default.isLocal,M=(e.pv=o(a),e.err=o(s),e.frt=o(l),e.ds=o(u),e.fps=o(c),e.cl=o(f),e.cs=o(d),e.os=o(h),e.minfo=o(v),{}),R=(e.qos=o(p),function(){function t(e){function n(){var t=this.id[0]+"_stat",e=this.id[0]+"_avg",n={},i=this.tilesStatus.join("|");if("0|0|0"!==i&&(n[t]=i,this.tilesStatus=[0,0,0]),this.tilesTime.length>0){var o=this.tilesTime.reduce(function(t,e){return t+e},0)/this.tilesTime.length;n[e]=Math.max(0,Math.floor(o)),this.tilesTime=[]}return n}(0,g.default)(this,t),this.id=e,this.tilesStatus=[0,0,0],this.tilesTime=[],(0,T.sendPeriodically)("tile",r(b.default.prSrc,{logid:"qos",t:"tile"}),n.bind(this))}return(0,y.default)(t,[{key:"logStatus",value:function(t){this.tilesStatus[t]+=1}},{key:"logTime",value:function(t){this.tilesTime.push(t)}}]),t}()),B=function(){function t(){setTimeout(function(){e.length>0&&((0,T.sendOnce)(r(b.default.prSrc,{logid:"cn",cn:e.join(",")})),e=[]),t()},5e3)}var e=[];return t(),function(t){t&&e.push(t)}}();e.statCn=o(B)},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}var o=n(21),r=i(o),a=n(0),s=i(a),l=n(1),u=i(l),c=n(10),f=90,d=180,h=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments[3];if((0,s.default)(this,t),e=Number(e),n=Number(n),i=Number(i),isNaN(n)||isNaN(e)||isNaN(i))throw new Error("参数错误:LatLng 传入参数 ("+e+", "+n+") 非合法数字。");if(o)e=(0,c.clamp)(e,-f,f),n=(0,c.wrap)(n,-d,d);else{if(e>f||e<-f)throw new Error("参数错误:LatLng.lat 取值应在 ["+-f+", "+f+"] 区间内。");if(n>d||n<-d)throw new Error("参数错误:LatLng.lng 取值应在 ["+-d+", "+d+"] 区间内。")}this.lat=e,this.lng=n,this.height=i}return(0,u.default)(t,[{key:"toString",value:function(){return this.lat+", "+this.lng}},{key:"getLat",value:function(){return this.lat}},{key:"getLng",value:function(){return this.lng}},{key:"getHeight",value:function(){return this.height}},{key:"equals",value:function(t){return this.lat===t.lat&&this.lng===t.lng&&this.height===t.height}}],[{key:"convert",value:function(e){if(e instanceof t)return e;if(Array.isArray(e))return new t(e[0],e[1],e[2],!0);if(!Array.isArray(e)&&"object"===(void 0===e?"undefined":(0,r.default)(e))&&null!==e)return new t(e.lat,e.lng,e.height,!0);throw new Error("`LatLng` argument must be specified as a LatLng instance, an object {lat: , lng: }, or an array of [, ]")}}]),t}();t.exports=h},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){var i=n(37),o=n(9)("toStringTag"),r="Arguments"==i(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:r?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){!function(n,i){t.exports=e=i()}(0,function(){var t=t||function(t,e){var n=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),i={},o=i.lib={},r=o.Base=function(){return{extend:function(t){var e=n(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),a=o.WordArray=r.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=void 0!=e?e:4*t.length},toString:function(t){return(t||l).stringify(this)},concat:function(t){var e=this.words,n=t.words,i=this.sigBytes,o=t.sigBytes;if(this.clamp(),i%4)for(var r=0;r>>2]>>>24-r%4*8&255;e[i+r>>>2]|=a<<24-(i+r)%4*8}else for(var r=0;r>>2]=n[r>>>2];return this.sigBytes+=o,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=r.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var n,i=[],o=0;o>16)&i,e=18e3*(65535&e)+(e>>16)&i;var o=(n<<16)+e&i;return o/=4294967296,(o+=.5)*(t.random()>.5?1:-1)}}(4294967296*(n||t.random()));n=987654071*r(),i.push(4294967296*r()|0)}return new a.init(i,e)}}),s=i.enc={},l=s.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,i=[],o=0;o>>2]>>>24-o%4*8&255;i.push((r>>>4).toString(16)),i.push((15&r).toString(16))}return i.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new a.init(n,e/2)}},u=s.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,i=[],o=0;o>>2]>>>24-o%4*8&255;i.push(String.fromCharCode(r))}return i.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new a.init(n,e)}},c=s.Utf8={stringify:function(t){try{return decodeURIComponent(escape(u.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return u.parse(unescape(encodeURIComponent(t)))}},f=o.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n=this._data,i=n.words,o=n.sigBytes,r=this.blockSize,s=4*r,l=o/s;l=e?t.ceil(l):t.max((0|l)-this._minBufferSize,0);var u=l*r,c=t.min(4*u,o);if(u){for(var f=0;fdocument.F=Object<\/script>"),t.close(),l=t.F;i--;)delete l.prototype[r[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=i(t),n=new s,s.prototype=null,n[a]=t):n=l(),void 0===e?n:o(n,e)}},function(t,e,n){var i=n(55),o=Math.min;t.exports=function(t){return t>0?o(i(t),9007199254740991):0}},,function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var i=n(59)("keys"),o=n(47);t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){"use strict";t.exports="TMap"},function(t,e,n){var i=n(7),o=n(8).document,r=i(o)&&i(o.createElement);t.exports=function(t){return r?o.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(2),o=n(8),r=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(38)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var i=n(63);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){"use strict";function i(t){return[l.circle,l.ellipse,l.rectangle,l.polygon,l.polyline,l.marker,l.label].some(function(e){return t===e})}function o(t){return[l.grayTile].some(function(e){return t===e})}function r(t){return[l.imageGround,l.canvasGround].some(function(e){return t===e})}function a(t){return[l.indoorRegion,l.indoorPoi,l.indoorEscalator,l.indoor].some(function(e){return t===e})}Object.defineProperty(e,"__esModule",{value:!0}),e.isOverlayLayer=i,e.isGrayTileLayer=o,e.isTextureLayer=r,e.isIndoorLayer=a;var s=e.BASE_LAYER_TYPE={arrow:"arrow",point:"point",label:"label",line:"line",region:"region",ground:"ground",base:"base",building3d:"building3d",building2d:"building2d",text:"text"},l=e.RENDER_LAYER_TYPE={base:s.base,arrow:s.arrow,building3d:s.building3d,building2d:s.building2d,text:s.text,visualPlugin:"VISUAL_PLUGIN",marker:"MARKER",polyline:"POLYLINE",polygon:"POLYGON",label:"LABEL",circle:"CIRCLE",rectangle:"RECTANGLE",ellipse:"ELLIPSE",imageTile:"IMAGE_TILE",imageGround:"IMAGE_Ground",grayTile:"GRAY_TILE",canvasGround:"CANVAS_Ground",indoor:"INDOOR",indoorRegion:"INDOOR_REGION",indoorPoi:"INDOOR_POI",indoorEscalator:"INDOOR_ESCALATOR",mask:"MASK",highlight:"HIGHLIGHT",trafficFlow:"TRAFFIC_FLOW",trafficBase:"TRAFFIC_BASE"}},function(t,e,n){var i=n(7);t.exports=function(t,e){if(!i(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!i(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var i=n(48),o=n(9)("iterator"),r=n(29);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||r[i(t)]}},function(t,e,n){"use strict";function i(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=o(e),this.reject=o(n)}var o=n(44);t.exports.f=function(t){return new i(t)}},function(t,e,n){var i=n(45),o=n(39),r=n(18),a=n(65),s=n(22),l=n(84),u=Object.getOwnPropertyDescriptor;e.f=n(12)?u:function(t,e){if(t=r(t),e=a(e,!0),l)try{return u(t,e)}catch(t){}if(s(t,e))return o(!i.f.call(t,e),t[e])}},function(t,e,n){var i=n(8),o=n(2),r=n(38),a=n(70),s=n(14).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=r?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){e.f=n(9)},function(t,e,n){var i=n(24),o=n(93),r=n(92),a=n(13),s=n(51),l=n(66),u={},c={},e=t.exports=function(t,e,n,f,d){var h,v,p,m,g=d?function(){return t}:l(t),_=i(n,f,e?2:1),y=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(r(g)){for(h=s(t.length);h>y;y++)if((m=e?_(a(v=t[y])[0],v[1]):_(t[y]))===u||m===c)return m}else for(p=g.call(t);!(v=p.next()).done;)if((m=o(p,_,v.value,e))===u||m===c)return m};e.BREAK=u,e.RETURN=c},function(t,e,n){"use strict";var i=n(38),o=n(6),r=n(81),a=n(20),s=n(29),l=n(130),u=n(42),c=n(86),f=n(9)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,v,p,m,g){l(n,e,v);var _,y,x,b=function(t){if(!d&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",A="values"==p,w=!1,E=t.prototype,I=E[f]||E["@@iterator"]||p&&E[p],T=I||b(p),P=p?A?b("entries"):T:void 0,k="Array"==e?E.entries||I:I;if(k&&(x=c(k.call(new t)))!==Object.prototype&&x.next&&(u(x,S,!0),i||"function"==typeof x[f]||a(x,f,h)),A&&I&&"values"!==I.name&&(w=!0,T=function(){return I.call(this)}),i&&!g||!d&&!w&&E[f]||a(E,f,T),s[e]=T,s[S]=h,p)if(_={values:A?T:b("values"),keys:m?T:b("keys"),entries:P},g)for(y in _)y in E||r(E,y,_[y]);else o(o.P+o.F*(d||w),e,_);return _}},function(t,e){},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}var o=n(0),r=i(o),a=n(1),s=i(a),l=function(){function t(e,n){(0,r.default)(this,t),this.x=e,this.y=n}return(0,s.default)(t,[{key:"toString",value:function(){return this.x+", "+this.y}},{key:"getX",value:function(){return this.x}},{key:"getY",value:function(){return this.y}},{key:"clone",value:function(){return new t(this.x,this.y)}},{key:"add",value:function(t){return this.clone()._add(t)}},{key:"sub",value:function(t){return this.clone()._sub(t)}},{key:"mult",value:function(t){return this.clone()._mult(t)}},{key:"div",value:function(t){return this.clone()._div(t)}},{key:"rotate",value:function(t){return this.clone()._rotate(t)}},{key:"matMult",value:function(t){return this.clone()._matMult(t)}},{key:"unit",value:function(){return this.clone()._unit()}},{key:"perp",value:function(){return this.clone()._perp()}},{key:"round",value:function(){return this.clone()._round()}},{key:"mag",value:function(){return Math.sqrt(this.magSq())}},{key:"magSq",value:function(){return this.x*this.x+this.y*this.y}},{key:"equals",value:function(t){return this.x===t.x&&this.y===t.y}},{key:"dist",value:function(t){return Math.sqrt(this.distSqr(t))}},{key:"distSqr",value:function(t){var e=t.x-this.x,n=t.y-this.y;return e*e+n*n}},{key:"angle",value:function(){return Math.atan2(this.y,this.x)}},{key:"angleTo",value:function(t){return Math.atan2(this.y-t.y,this.x-t.x)}},{key:"angleWith",value:function(t){return this.angleWithSep(t.x,t.y)}},{key:"angleWithSep",value:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)}},{key:"normalize",value:function(){return this.clone()._unit()}},{key:"dot",value:function(t){return this.x*t.x+this.y*t.y}},{key:"length",value:function(){return this.mag()}},{key:"lengthSq",value:function(){return this.magSq()}},{key:"_matMult",value:function(t){var e=t[0]*this.x+t[1]*this.y,n=t[2]*this.x+t[3]*this.y;return this.x=e,this.y=n,this}},{key:"_add",value:function(t){return this.x+=t.x,this.y+=t.y,this}},{key:"_sub",value:function(t){return this.x-=t.x,this.y-=t.y,this}},{key:"_mult",value:function(t){return this.x*=t,this.y*=t,this}},{key:"_div",value:function(t){return this.x/=t,this.y/=t,this}},{key:"_unit",value:function(){return 0===this.x&&0===this.y?this:(this._div(this.mag()),this)}},{key:"_perp",value:function(){var t=this.y;return this.y=this.x,this.x=-t,this}},{key:"_rotate",value:function(t){var e=Math.cos(t),n=Math.sin(t),i=e*this.x-n*this.y,o=n*this.x+e*this.y;return this.x=i,this.y=o,this}},{key:"_round",value:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}}]),t}();l.convert=function(t){return t instanceof l?t:Array.isArray(t)?new l(t[0],t[1]):"x"in t&&"y"in t&&"number"==typeof t.x&&"number"==typeof t.y?new l(t.x,t.y):t},t.exports=l},function(t,e,n){t.exports={default:n(163),__esModule:!0}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){t.exports={default:n(161),__esModule:!0}},function(t,e,n){var i=n(355)("wks"),o=n(272),r=n(62).Symbol,a="function"==typeof r;(t.exports=function(t){return i[t]||(i[t]=a&&r[t]||(a?r:o)("Symbol."+t))}).store=i},function(t,e,n){"use strict";var i=n(27),o=function(t){return t&&t.__esModule?t:{default:t}}(i),r=n(28);e.getJSON=function(t,n,i,o){o=o||0;var a=void 0,s=void 0,l=new XMLHttpRequest;return l.open("GET",n,!0),l.setRequestHeader("Accept","application/json"),l.onloadstart=function(){return a=+new Date},l.onerror=function(){console.error(l.response,l,n),o>2?i(new r.AJAXError(n,0)):(o+=1,e.getJSON(t,n,i,o))},l.onload=function(){if(l.status>=200&&l.status<300&&l.response){s=+new Date;var t=void 0;try{t=JSON.parse(l.response)}catch(t){return i(t)}i(null,t,s-a)}else i(new r.AJAXError(l.statusText,l.status))},l.send(),l},e.getArrayBuffer=function(t,e){var n=new XMLHttpRequest;return n.open("GET",t,!0),n.responseType="arraybuffer",n.onerror=function(t){e(t)},n.onload=function(){if(0===n.response.byteLength&&200===n.status)return e(new Error("http status 200 returned without content."));n.status>=200&&n.status<300&&n.response?e(null,{data:n.response,cacheControl:n.getResponseHeader("Cache-Control"),expires:n.getResponseHeader("Expires")}):e(new r.AJAXError(n.statusText,n.status))},n.send(),n},e.getImage=function(t,e){var n=new XMLHttpRequest,i=new o.default(function(i,o){n.open("GET",t),n.responseType="blob",n.timeout=e,n.onload=function(){n.status>=200&&n.status<300&&n.response?(0===n.response.size&&o(new r.AJAXError("The size of image is 0",404)),i(n.response)):o(new r.AJAXError(n.statusText,n.status))},n.onerror=function(){o(new r.AJAXError("error",0))},n.ontimeout=function(){o(new r.AJAXError("timeout",0))},n.onabort=function(){o(new r.AJAXError("abort",0))},n.send()});return{xhr:n,promise:i}},e.getImageData=function(t,n){return e.getArrayBuffer(t,function(t,e){if(t)return n(t);n(null,e)})}},function(t,e,n){var i=n(37);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e,n){t.exports=n(20)},function(t,e,n){t.exports={default:n(160),__esModule:!0}},function(t,e,n){var i=n(8).document;t.exports=i&&i.documentElement},function(t,e,n){t.exports=!n(12)&&!n(31)(function(){return 7!=Object.defineProperty(n(57)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(14),o=n(13),r=n(34);t.exports=n(12)?Object.defineProperties:function(t,e){o(t);for(var n,a=r(e),s=a.length,l=0;s>l;)i.f(t,n=a[l++],e[n]);return t}},function(t,e,n){var i=n(22),o=n(32),r=n(54)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),i(t,r)?t[r]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var i=n(22),o=n(18),r=n(129)(!1),a=n(54)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~r(u,n)||u.push(n));return u}},function(t,e,n){var i=n(236),o=Math.min;t.exports=function(t){return t>0?o(i(t),9007199254740991):0}},function(t,e,n){"use strict";var i=n(210),o=i&&i.setItem&&i.getItem;t.exports={set:function(t,e,n){(null!==e?i.setItem(t,e):i.removeItem(t)).then(function(){n&&n()},function(t){console.error(t),n&&n(t)})},get:function(t,e){i.getItem(t).then(function(t){e&&e(t)},function(t){console.error(t),e&&e(null)})},support:function(){return o}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.SOURCE_TYPE={vector:"vector",geojson:"geojson",geoTask:"geo_task",imageTile:"image_tile",indoor:"indoor",indoorIndex:"indoor_index",ground:"ground",traffic:"traffic"}},function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var i=n(29),o=n(9)("iterator"),r=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||r[o]===t)}},function(t,e,n){var i=n(13);t.exports=function(t,e,n,o){try{return o?e(i(n)[0],n[1]):e(n)}catch(e){var r=t.return;throw void 0!==r&&i(r.call(t)),e}}},function(t,e,n){var i=n(9)("iterator"),o=!1;try{var r=[7][i]();r.return=function(){o=!0},Array.from(r,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var r=[7],a=r[i]();a.next=function(){return{done:n=!0}},r[i]=function(){return a},t(r)}catch(t){}return n}},function(t,e,n){var i=n(18),o=n(96).f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==r.call(t)?s(t):o(i(t))}},function(t,e,n){var i=n(87),o=n(58).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var i=n(13),o=n(7),r=n(67);t.exports=function(t,e){if(i(t),o(e)&&e.constructor===t)return e;var n=r.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var i=n(20);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:i(t,o,e[o]);return t}},function(t,e,n){var i=n(13),o=n(44),r=n(9)("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||void 0==(n=i(a)[r])?e:o(n)}},function(t,e,n){var i,o,r,a=n(24),s=n(181),l=n(83),u=n(57),c=n(8),f=c.process,d=c.setImmediate,h=c.clearImmediate,v=c.MessageChannel,p=c.Dispatch,m=0,g={},_=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},y=function(t){_.call(t.data)};d&&h||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return g[++m]=function(){s("function"==typeof t?t:Function(t),e)},i(m),m},h=function(t){delete g[t]},"process"==n(37)(f)?i=function(t){f.nextTick(a(_,t,1))}:p&&p.now?i=function(t){p.now(a(_,t,1))}:v?(o=new v,r=o.port2,o.port1.onmessage=y,i=a(r.postMessage,r,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(i=function(t){c.postMessage(t+"","*")},c.addEventListener("message",y,!1)):i="onreadystatechange"in u("script")?function(t){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),_.call(t)}}:function(t){setTimeout(a(_,t,1),0)}),t.exports={set:d,clear:h}},function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(t,e,n){t.exports=!n(61)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(60),o=n(535),r=n(255),a=Object.defineProperty;e.f=n(103)?Object.defineProperty:function(t,e,n){if(i(t),e=r(e,!0),i(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(121),o=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=o.default[0]},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){n[t]=n[t]||[],n[t].push(e)}function r(t,e,n){if(n&&n[t]){var i=n[t].indexOf(e);-1!==i&&n[t].splice(i,1)}}var a=n(3),s=i(a),l=n(0),u=i(l),c=n(1),f=i(c),d=n(5),h=i(d),v=n(4),p=i(v),m=n(10),g=n(112),_=function(t){function e(){(0,u.default)(this,e);var t=(0,h.default)(this,(e.__proto__||(0,s.default)(e)).call(this));return t.setMaxListeners(500),t}return(0,p.default)(e,t),(0,f.default)(e,[{key:"_on",value:function(t,e){return this._listeners=this._listeners||{},o(t,e,this._listeners),this.on(t,e),e}},{key:"_off",value:function(t,e){return r(t,e,this._listeners),r(t,e,this._oneTimeListeners),this.off(t,e),this}},{key:"_once",value:function(t,e){return this._oneTimeListeners=this._oneTimeListeners||{},o(t,e,this._oneTimeListeners),this.once(t,e),e}},{key:"_fire",value:function(t,e,n){if(this._listens(t)){e=n?m.extend({},e,{type:t}):m.extend({},e,{type:t,target:this});for(var i=this._listeners&&this._listeners[t]?this._listeners[t].slice():[],o=0;o0||this._oneTimeListeners&&this._oneTimeListeners[t]&&this._oneTimeListeners[t].length>0||this._eventedParent&&this._eventedParent._listens(t)||this.listenerCount(t)>0}},{key:"_setEventedParent",value:function(t,e){return this._eventedParent=t,this._eventedParentData=e,this}},{key:"_clearAllListeners",value:function(){this._listeners={},this.removeAllListeners()}}]),e}(g);t.exports=_},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Vector4=e.Vector3=e.Matrix4=void 0;var i=n(21),o=function(t){return t&&t.__esModule?t:{default:t}}(i),r=function(t){var e=void 0,n=void 0,i=void 0;if(t&&"object"===(void 0===t?"undefined":(0,o.default)(t))&&t.hasOwnProperty("elements")){for(n=t.elements,i=new Float32Array(16),e=0;e<16;++e)i[e]=n[e];this.elements=i}else{var r=new Float32Array(16);r[0]=1,r[1]=0,r[2]=0,r[3]=0,r[4]=0,r[5]=1,r[6]=0,r[7]=0,r[8]=0,r[9]=0,r[10]=1,r[11]=0,r[12]=0,r[13]=0,r[14]=0,r[15]=1,this.elements=r}};r.prototype.setIdentity=function(){var t=this.elements;return t[0]=1,t[4]=0,t[8]=0,t[12]=0,t[1]=0,t[5]=1,t[9]=0,t[13]=0,t[2]=0,t[6]=0,t[10]=1,t[14]=0,t[3]=0,t[7]=0,t[11]=0,t[15]=1,this},r.prototype.clone=function(){var t=new r,e=this.elements,n=t.elements;return n[0]=e[0],n[1]=e[1],n[2]=e[2],n[3]=e[3],n[4]=e[4],n[5]=e[5],n[6]=e[6],n[7]=e[7],n[8]=e[8],n[9]=e[9],n[10]=e[10],n[11]=e[11],n[12]=e[12],n[13]=e[13],n[14]=e[14],n[15]=e[15],t},r.prototype.set=function(t){var e=void 0,n=t.elements,i=this.elements;if(n!==i){for(e=0;e<16;++e)i[e]=n[e];return this}},r.prototype.concat=function(t){var e=void 0,n=void 0,i=void 0,o=void 0,r=void 0,a=void 0,s=this.elements,l=this.elements;if(n=t.elements,s===n)for(n=new Float32Array(16),e=0;e<16;++e)n[e]=s[e];for(e=0;e<4;e++)i=l[e],o=l[e+4],r=l[e+8],a=l[e+12],s[e]=i*n[0]+o*n[1]+r*n[2]+a*n[3],s[e+4]=i*n[4]+o*n[5]+r*n[6]+a*n[7],s[e+8]=i*n[8]+o*n[9]+r*n[10]+a*n[11],s[e+12]=i*n[12]+o*n[13]+r*n[14]+a*n[15];return this},r.prototype.multiply=r.prototype.concat,r.prototype.multiplyVector3=function(t){var e=this.elements,n=t.elements,i=new a,o=i.elements;return o[0]=n[0]*e[0]+n[1]*e[4]+n[2]*e[8]+e[12],o[1]=n[0]*e[1]+n[1]*e[5]+n[2]*e[9]+e[13],o[2]=n[0]*e[2]+n[1]*e[6]+n[2]*e[10]+e[14],i},r.prototype.multiplyVector4=function(t){var e=this.elements,n=t.elements,i=new s,o=i.elements;return o[0]=n[0]*e[0]+n[1]*e[4]+n[2]*e[8]+n[3]*e[12],o[1]=n[0]*e[1]+n[1]*e[5]+n[2]*e[9]+n[3]*e[13],o[2]=n[0]*e[2]+n[1]*e[6]+n[2]*e[10]+n[3]*e[14],o[3]=n[0]*e[3]+n[1]*e[7]+n[2]*e[11]+n[3]*e[15],i},r.prototype.transpose=function(){var t=void 0,e=this.elements;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this},r.prototype.setInverseOf=function(t){var e=void 0,n=void 0,i=t.elements,o=this.elements,r=new Float32Array(16);if(r[0]=i[5]*i[10]*i[15]-i[5]*i[11]*i[14]-i[9]*i[6]*i[15]+i[9]*i[7]*i[14]+i[13]*i[6]*i[11]-i[13]*i[7]*i[10],r[4]=-i[4]*i[10]*i[15]+i[4]*i[11]*i[14]+i[8]*i[6]*i[15]-i[8]*i[7]*i[14]-i[12]*i[6]*i[11]+i[12]*i[7]*i[10],r[8]=i[4]*i[9]*i[15]-i[4]*i[11]*i[13]-i[8]*i[5]*i[15]+i[8]*i[7]*i[13]+i[12]*i[5]*i[11]-i[12]*i[7]*i[9],r[12]=-i[4]*i[9]*i[14]+i[4]*i[10]*i[13]+i[8]*i[5]*i[14]-i[8]*i[6]*i[13]-i[12]*i[5]*i[10]+i[12]*i[6]*i[9],r[1]=-i[1]*i[10]*i[15]+i[1]*i[11]*i[14]+i[9]*i[2]*i[15]-i[9]*i[3]*i[14]-i[13]*i[2]*i[11]+i[13]*i[3]*i[10],r[5]=i[0]*i[10]*i[15]-i[0]*i[11]*i[14]-i[8]*i[2]*i[15]+i[8]*i[3]*i[14]+i[12]*i[2]*i[11]-i[12]*i[3]*i[10],r[9]=-i[0]*i[9]*i[15]+i[0]*i[11]*i[13]+i[8]*i[1]*i[15]-i[8]*i[3]*i[13]-i[12]*i[1]*i[11]+i[12]*i[3]*i[9],r[13]=i[0]*i[9]*i[14]-i[0]*i[10]*i[13]-i[8]*i[1]*i[14]+i[8]*i[2]*i[13]+i[12]*i[1]*i[10]-i[12]*i[2]*i[9],r[2]=i[1]*i[6]*i[15]-i[1]*i[7]*i[14]-i[5]*i[2]*i[15]+i[5]*i[3]*i[14]+i[13]*i[2]*i[7]-i[13]*i[3]*i[6],r[6]=-i[0]*i[6]*i[15]+i[0]*i[7]*i[14]+i[4]*i[2]*i[15]-i[4]*i[3]*i[14]-i[12]*i[2]*i[7]+i[12]*i[3]*i[6],r[10]=i[0]*i[5]*i[15]-i[0]*i[7]*i[13]-i[4]*i[1]*i[15]+i[4]*i[3]*i[13]+i[12]*i[1]*i[7]-i[12]*i[3]*i[5],r[14]=-i[0]*i[5]*i[14]+i[0]*i[6]*i[13]+i[4]*i[1]*i[14]-i[4]*i[2]*i[13]-i[12]*i[1]*i[6]+i[12]*i[2]*i[5],r[3]=-i[1]*i[6]*i[11]+i[1]*i[7]*i[10]+i[5]*i[2]*i[11]-i[5]*i[3]*i[10]-i[9]*i[2]*i[7]+i[9]*i[3]*i[6],r[7]=i[0]*i[6]*i[11]-i[0]*i[7]*i[10]-i[4]*i[2]*i[11]+i[4]*i[3]*i[10]+i[8]*i[2]*i[7]-i[8]*i[3]*i[6],r[11]=-i[0]*i[5]*i[11]+i[0]*i[7]*i[9]+i[4]*i[1]*i[11]-i[4]*i[3]*i[9]-i[8]*i[1]*i[7]+i[8]*i[3]*i[5],r[15]=i[0]*i[5]*i[10]-i[0]*i[6]*i[9]-i[4]*i[1]*i[10]+i[4]*i[2]*i[9]+i[8]*i[1]*i[6]-i[8]*i[2]*i[5],0===(n=i[0]*r[0]+i[1]*r[4]+i[2]*r[8]+i[3]*r[12]))return this;for(n=1/n,e=0;e<16;e++)o[e]=r[e]*n;return this},r.prototype.invert=function(){return this.setInverseOf(this)},r.prototype.setOrtho=function(t,e,n,i,o,r){if(t===e||n===i||o===r)throw"null frustum";var a=1/(e-t),s=1/(i-n),l=1/(r-o),u=this.elements;return u[0]=2*a,u[1]=0,u[2]=0,u[3]=0,u[4]=0,u[5]=2*s,u[6]=0,u[7]=0,u[8]=0,u[9]=0,u[10]=-2*l,u[11]=0,u[12]=-(e+t)*a,u[13]=-(i+n)*s,u[14]=-(r+o)*l,u[15]=1,this},r.prototype.ortho=function(t,e,n,i,o,a){return this.concat((new r).setOrtho(t,e,n,i,o,a))},r.prototype.setFrustum=function(t,e,n,i,o,r){if(t===e||i===n||o===r)throw"null frustum";if(o<=0)throw"near <= 0";if(r<=0)throw"far <= 0";var a=1/(e-t),s=1/(i-n),l=1/(r-o),u=this.elements;return u[0]=2*o*a,u[1]=0,u[2]=0,u[3]=0,u[4]=0,u[5]=2*o*s,u[6]=0,u[7]=0,u[8]=(e+t)*a,u[9]=(i+n)*s,u[10]=-(r+o)*l,u[11]=-1,u[12]=0,u[13]=0,u[14]=-2*o*r*l,u[15]=0,this},r.prototype.frustum=function(t,e,n,i,o,a){return this.concat((new r).setFrustum(t,e,n,i,o,a))},r.prototype.setPerspective=function(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(n===i||0===e)throw"null frustum";if(n<=0)throw"near <= 0";if(i<=0)throw"far <= 0";t=Math.PI*t/180/2;var a=Math.sin(t);if(0===a)throw"null frustum";var s=1/(i-n),l=Math.cos(t)/a,u=this.elements;return u[0]=l/e,u[1]=0,u[2]=0,u[3]=0,u[4]=0,u[5]=l,u[6]=0,u[7]=0,u[8]=-o,u[9]=-r,u[10]=-(i+n)*s,u[11]=-1,u[12]=0,u[13]=0,u[14]=-2*n*i*s,u[15]=0,this},r.prototype.perspective=function(t,e,n,i){return this.concat((new r).setPerspective(t,e,n,i))},r.prototype.setScale=function(t,e,n){var i=this.elements;return i[0]=t,i[4]=0,i[8]=0,i[12]=0,i[1]=0,i[5]=e,i[9]=0,i[13]=0,i[2]=0,i[6]=0,i[10]=n,i[14]=0,i[3]=0,i[7]=0,i[11]=0,i[15]=1,this},r.prototype.scale=function(t,e,n){var i=this.elements;return i[0]*=t,i[4]*=e,i[8]*=n,i[1]*=t,i[5]*=e,i[9]*=n,i[2]*=t,i[6]*=e,i[10]*=n,i[3]*=t,i[7]*=e,i[11]*=n,this},r.prototype.setTranslate=function(t,e,n){var i=this.elements;return i[0]=1,i[4]=0,i[8]=0,i[12]=t,i[1]=0,i[5]=1,i[9]=0,i[13]=e,i[2]=0,i[6]=0,i[10]=1,i[14]=n,i[3]=0,i[7]=0,i[11]=0,i[15]=1,this},r.prototype.translate=function(t,e,n){var i=this.elements;return i[12]+=i[0]*t+i[4]*e+i[8]*n,i[13]+=i[1]*t+i[5]*e+i[9]*n,i[14]+=i[2]*t+i[6]*e+i[10]*n,i[15]+=i[3]*t+i[7]*e+i[11]*n,this},r.prototype.setRotate=function(t,e,n,i){var o=void 0,r=void 0,a=void 0,s=void 0,l=void 0,u=void 0,c=void 0,f=void 0,d=void 0,h=void 0;t=Math.PI*t/180;var v=this.elements;o=Math.sin(t);var p=Math.cos(t);return 0!==e&&0===n&&0===i?(e<0&&(o=-o),v[0]=1,v[4]=0,v[8]=0,v[12]=0,v[1]=0,v[5]=p,v[9]=-o,v[13]=0,v[2]=0,v[6]=o,v[10]=p,v[14]=0,v[3]=0,v[7]=0,v[11]=0,v[15]=1):0===e&&0!==n&&0===i?(n<0&&(o=-o),v[0]=p,v[4]=0,v[8]=o,v[12]=0,v[1]=0,v[5]=1,v[9]=0,v[13]=0,v[2]=-o,v[6]=0,v[10]=p,v[14]=0,v[3]=0,v[7]=0,v[11]=0,v[15]=1):0===e&&0===n&&0!==i?(i<0&&(o=-o),v[0]=p,v[4]=-o,v[8]=0,v[12]=0,v[1]=o,v[5]=p,v[9]=0,v[13]=0,v[2]=0,v[6]=0,v[10]=1,v[14]=0,v[3]=0,v[7]=0,v[11]=0,v[15]=1):(r=Math.sqrt(e*e+n*n+i*i),1!==r&&(a=1/r,e*=a,n*=a,i*=a),s=1-p,l=e*n,u=n*i,c=i*e,f=e*o,d=n*o,h=i*o,v[0]=e*e*s+p,v[1]=l*s+h,v[2]=c*s-d,v[3]=0,v[4]=l*s-h,v[5]=n*n*s+p,v[6]=u*s+f,v[7]=0,v[8]=c*s+d,v[9]=u*s-f,v[10]=i*i*s+p,v[11]=0,v[12]=0,v[13]=0,v[14]=0,v[15]=1),this},r.prototype.rotate=function(t,e,n,i){return this.concat((new r).setRotate(t,e,n,i))},r.prototype.setLookAt=function(t,e,n,i,o,r,a,s,l){var u=void 0,c=void 0,f=void 0,d=void 0,h=void 0,v=void 0;u=i-t,c=o-e,f=r-n;var p=1/Math.sqrt(u*u+c*c+f*f);u*=p,c*=p,f*=p,d=c*l-f*s,h=f*a-u*l,v=u*s-c*a;var m=1/Math.sqrt(d*d+h*h+v*v);d*=m,h*=m,v*=m;var g=h*f-v*c,_=v*u-d*f,y=d*c-h*u,x=this.elements;return x[0]=d,x[1]=g,x[2]=-u,x[3]=0,x[4]=h,x[5]=_,x[6]=-c,x[7]=0,x[8]=v,x[9]=y,x[10]=-f,x[11]=0,x[12]=0,x[13]=0,x[14]=0,x[15]=1,this.translate(-t,-e,-n)},r.prototype.lookAt=function(t,e,n,i,o,a,s,l,u){return this.concat((new r).setLookAt(t,e,n,i,o,a,s,l,u))},r.prototype.dropShadow=function(t,e){var n=new r,i=n.elements,o=t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3];return i[0]=o-e[0]*t[0],i[1]=-e[1]*t[0],i[2]=-e[2]*t[0],i[3]=-e[3]*t[0],i[4]=-e[0]*t[1],i[5]=o-e[1]*t[1],i[6]=-e[2]*t[1],i[7]=-e[3]*t[1],i[8]=-e[0]*t[2],i[9]=-e[1]*t[2],i[10]=o-e[2]*t[2],i[11]=-e[3]*t[2],i[12]=-e[0]*t[3],i[13]=-e[1]*t[3],i[14]=-e[2]*t[3],i[15]=o-e[3]*t[3],this.concat(n)},r.prototype.dropShadowDirectionally=function(t,e,n,i,o,r,a,s,l){var u=i*t+o*e+r*n;return this.dropShadow([t,e,n,-u],[a,s,l,0])};var a=function(){var t=1===arguments.length?arguments[0]:arguments,e=new Float32Array(3);t&&"object"===(void 0===t?"undefined":(0,o.default)(t))&&(e[0]=t[0],e[1]=t[1],e[2]=t[2]),this.elements=e};a.prototype.normalize=function(){var t=this.elements,e=t[0],n=t[1],i=t[2],o=Math.sqrt(e*e+n*n+i*i);return o?1===o?this:(o=1/o,t[0]=e*o,t[1]=n*o,t[2]=i*o,this):(t[0]=0,t[1]=0,t[2]=0,this)},a.prototype.scale=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=this.elements;return i[0]*=t,i[1]*=e,i[2]*=n,this},a.prototype.cross=function(t){var e=this.elements,n=t.elements;return new a(e[1]*n[2]-e[2]*n[1],e[2]*n[0]-e[0]*n[2],e[0]*n[1]-e[1]*n[0])},a.prototype.equals=function(t){var e=this.elements,n=t.elements;return e[0]===n[0]&&e[1]===n[1]&&e[2]===n[2]};var s=function(){var t=1===arguments.length?arguments[0]:arguments,e=new Float32Array(4);t&&"object"===(void 0===t?"undefined":(0,o.default)(t))&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3]),this.elements=e};s.prototype.set=function(t,e,n){this.elements[0]=t,this.elements[1]=e,this.elements[2]=n},s.prototype.multiply=function(t){return this.elements[0]*=t,this.elements[1]*=t,this.elements[2]*=t,this.elements[3]*=t,this},s.prototype.add=function(t){return this.elements[0]+=t.elements[0],this.elements[1]+=t.elements[1],this.elements[2]+=t.elements[2],this.elements[3]+=t.elements[3],this},s.prototype.minus=function(t){return this.elements[0]-=t.elements[0],this.elements[1]-=t.elements[1],this.elements[2]-=t.elements[2],this.elements[3]-=t.elements[3],this},e.Matrix4=r,e.Vector3=a,e.Vector4=s},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Store=e.textures=void 0;var o=n(0),r=i(o),a=n(1),s=i(a),l=function(){},u=function(){function t(e,n,i,o){(0,r.default)(this,t),this.max=n||1e4,this.type=e||"default",this.count=0,this.store={},this.reduceRange=i||Math.max(1,~~this.max/100),this.deleteCallback=o||l}return(0,s.default)(t,[{key:"set",value:function(t,e){return this.count>=this.max&&this.reduce(),t in this.store||(this.count+=1),this.store[t]=e,e}},{key:"get",value:function(t){return this.store[t]}},{key:"reduce",value:function(){var t=0,e=this.reduceRange;for(var n in this.store)if(this.store.hasOwnProperty(n)){if(!(t>>2];t.sigBytes-=e}},g=(i.BlockCipher=f.extend({cfg:f.cfg.extend({mode:v,padding:m}),reset:function(){f.reset.call(this);var t=this.cfg,e=t.iv,n=t.mode;if(this._xformMode==this._ENC_XFORM_MODE)var i=n.createEncryptor;else{var i=n.createDecryptor;this._minBufferSize=1}this._mode&&this._mode.__creator==i?this._mode.init(this,e&&e.words):(this._mode=i.call(n,this,e&&e.words),this._mode.__creator=i)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){t.pad(this._data,this.blockSize);var e=this._process(!0)}else{var e=this._process(!0);t.unpad(e)}return e},blockSize:4}),i.CipherParams=o.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),_=n.format={},y=_.OpenSSL={stringify:function(t){var e=t.ciphertext,n=t.salt;if(n)var i=r.create([1398893684,1701076831]).concat(n).concat(e);else var i=e;return i.toString(l)},parse:function(t){var e=l.parse(t),n=e.words;if(1398893684==n[0]&&1701076831==n[1]){var i=r.create(n.slice(2,4));n.splice(0,4),e.sigBytes-=16}return g.create({ciphertext:e,salt:i})}},x=i.SerializableCipher=o.extend({cfg:o.extend({format:y}),encrypt:function(t,e,n,i){i=this.cfg.extend(i);var o=t.createEncryptor(n,i),r=o.finalize(e),a=o.cfg;return g.create({ciphertext:r,key:n,iv:a.iv,algorithm:t,mode:a.mode,padding:a.padding,blockSize:t.blockSize,formatter:i.format})},decrypt:function(t,e,n,i){return i=this.cfg.extend(i),e=this._parse(e,i.format),t.createDecryptor(n,i).finalize(e.ciphertext)},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),b=n.kdf={},S=b.OpenSSL={execute:function(t,e,n,i){i||(i=r.random(8));var o=c.create({keySize:e+n}).compute(t,i),a=r.create(o.words.slice(e),4*n);return o.sigBytes=4*e,g.create({key:o,iv:a,salt:i})}},A=i.PasswordBasedCipher=x.extend({cfg:x.cfg.extend({kdf:S}),encrypt:function(t,e,n,i){i=this.cfg.extend(i);var o=i.kdf.execute(n,t.keySize,t.ivSize);i.iv=o.iv;var r=x.encrypt.call(this,t,e,o.key,i);return r.mixIn(o),r},decrypt:function(t,e,n,i){i=this.cfg.extend(i),e=this._parse(e,i.format);var o=i.kdf.execute(n,t.keySize,t.ivSize,e.salt);return i.iv=o.iv,x.decrypt.call(this,t,e,o.key,i)}})}()})},function(t,e,n){"use strict";function i(t){console&&console.warn&&console.warn(t)}function o(){o.init.call(this)}function r(t){return void 0===t._maxListeners?o.defaultMaxListeners:t._maxListeners}function a(t,e,n,o){var a,s,l;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(s=t._events,void 0===s?(s=t._events=Object.create(null),t._eventsCount=0):(void 0!==s.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),s=t._events),l=s[e]),void 0===l)l=s[e]=n,++t._eventsCount;else if("function"==typeof l?l=s[e]=o?[n,l]:[l,n]:o?l.unshift(n):l.push(n),(a=r(t))>0&&l.length>a&&!l.warned){l.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=l.length,i(u)}return t}function s(){for(var t=[],e=0;e0&&(r=e[0]),r instanceof Error)throw r;var a=new Error("Unhandled error."+(r?" ("+r.message+")":""));throw a.context=r,a}var s=o[t];if(void 0===s)return!1;if("function"==typeof s)m(s,this,e);else for(var l=s.length,u=f(s,l),n=0;n=0;r--)if(n[r]===e||n[r].listener===e){a=n[r].listener,o=r;break}if(o<0)return this;0===o?n.shift():d(n,o),1===n.length&&(i[t]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",t,a||e)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(t){var e,n,i;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var o,r=Object.keys(n);for(i=0;i=0;i--)this.removeListener(t,e[i]);return this},o.prototype.listeners=function(t){return u(this,t,!0)},o.prototype.rawListeners=function(t){return u(this,t,!1)},o.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):c.call(t,e)},o.prototype.listenerCount=c,o.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={QMAPI_style:"QMAPI__style__",QMAPI_style_indoor:"QMAPI__style__indoor__",QMAPI_poi_icon:"QMAPI__poi__icon",QMAPI_poi_icon_json:"QMAPI__poi__icon__json",QMAPI_indoor_buffer:"QMAPI__indoor__buffer__",QMAPI_indoor_index:"QMAPI__indoor__index__",VECTOR_SOURCE_ID:"vector_source",QMAPI_oversea:"QMAPI__oversea"};e.IMAGE_DISPLAY={ORIGIN:0,SCALE:1,REPEAT:2},e.VIEW_MODE={MAP_2D:"2D",MAP_3D:"3D",SPHERE:"SPHERE"},e.AUTH_STATE={SUCCESS:"success",FAIL:"fail"},e.AUTH_ERROR={netError:{error:-1,msg:"NETWORK_ERROR"}},e.DEFAULT_MARKER_ANIMATION_PARAMS={scaleStart:1,scaleEnd:1,alphaStart:1,alphaEnd:1,duration:500};e.default=i},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return{x:t/n.width*2-1,y:-e/n.height*2+1,z:1}}function r(t,e,n){return{x:(t+1)/2*n.width,y:(1-e)/2*n.height}}function a(t,e,n){var i=t.multiplyVector4(e),o=i.elements.map(function(t){return t/i.elements[3]}),a=r(o[0],o[1],n);return{x:a.x,y:a.y,depthScale:1}}function s(t,e){var n=t.multiplyVector4(e);return n.multiply(1/n.elements[3])}function l(t,e){var n=t.clone().invert(),i=new b.Vector4(e.x,e.y,0,1),o=new b.Vector4(e.x,e.y,1,1),r=n.multiplyVector4(i),a=n.multiplyVector4(o);r.multiply(1/r.elements[3]),a.multiply(1/a.elements[3]);var s=(0-r.elements[2])/(a.elements[2]-r.elements[2]),l=r.add(a.minus(r).multiply(s));return{x:l.elements[0],y:l.elements[1]}}function u(t,e,n){var i=t.clone().invert(),o=new b.Vector4(e.x,e.y,0,1),r=new b.Vector4(e.x,e.y,1,1),a=i.multiplyVector4(o),s=i.multiplyVector4(r);a.multiply(1/a.elements[3]),s.multiply(1/s.elements[3]);var l=new T.default(new b.Vector3(a.elements),new b.Vector3(s.elements)),u=new k.default(new b.Vector3(0,0,-n),n),c=u.intersectWithLine(l);if(c.length){var f=(0,v.default)(c,2),d=f[0],h=f[1],p=d.elements[2]>h.elements[2]?d:h,m=(0,v.default)(p.elements,3);return{x:m[0],y:m[1],z:m[2]}}return null}function c(t){return 2*Math.PI*m.default/(Math.pow(2,t)*_.default.tileSize)}function f(t){var e=t.x,n=t.y;return e=e/C*180,n=n/C*180,n=180/Math.PI*(2*Math.atan(Math.exp(n*Math.PI/180))-Math.PI/2),new A.default(n,e)}function d(t){var e=t.lng,n=t.lat;return e=e*C/180,n=Math.log(Math.tan((90+n)*Math.PI/360))/(Math.PI/180),n=n*C/180,new E.default(e,n)}Object.defineProperty(e,"__esModule",{value:!0});var h=n(30),v=i(h);e.fromScreenToNdc=o,e.fromNdcToScreen=r,e.getScreenCoordsByCustomMatrix=a,e.getNdcCoordsByCustomMatrix=s,e.getZPlaneCoordsByCustomMatrix=l,e.getSphereCoordsByCustomMatrix=u,e.getSpatialResolution=c,e.mercatorToLatLng=f,e.latLngToMercator=d;var p=n(297),m=i(p),g=n(23),_=i(g),y=n(239),x=i(y),b=n(107),S=n(46),A=i(S),w=n(74),E=i(w),I=n(382),T=i(I),P=n(383),k=i(P),L=x.default[1],C=L/2},function(t,e,n){t.exports={default:n(412),__esModule:!0}},function(t,e,n){t.exports={default:n(162),__esModule:!0}},function(t,e,n){t.exports={default:n(166),__esModule:!0}},function(t,e,n){var i=n(37);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(12),o=n(34),r=n(18),a=n(45).f;t.exports=function(t){return function(e){for(var n,s=r(e),l=o(s),u=l.length,c=0,f=[];u>c;)n=l[c++],i&&!a.call(s,n)||f.push(t?[n,s[n]]:s[n]);return f}}},function(t,e,n){"use strict";var i=n(8),o=n(2),r=n(14),a=n(12),s=n(9)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:i[t];a&&e&&!e[s]&&r.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";function i(t,e){t.loadScriptTime=e,l[0]=t;for(var n in t)r.hasOwnProperty(n)&&(r[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0});var o=n(56),r=n(23),a=2*Math.PI*6378136.49,s=[6378136.49,a],l=[{},s],u=self[o]&&self[o].__load;u&&u(i),self.CESIUM_BASE_URL=r.cesiumStaticSrc,e.default=l},,function(t,e,n){"use strict";function i(t){return t*(Math.PI/180)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},function(t,e,n){t.exports={default:n(127),__esModule:!0}},function(t,e,n){t.exports={default:n(310),__esModule:!0}},function(t,e,n){n(40),n(33),t.exports=n(133)},function(t,e,n){n(40),n(33),t.exports=n(134)},function(t,e){t.exports=function(){}},function(t,e,n){var i=n(18),o=n(51),r=n(132);t.exports=function(t){return function(e,n,a){var s,l=i(e),u=o(l.length),c=r(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},function(t,e,n){"use strict";var i=n(50),o=n(39),r=n(42),a={};n(20)(a,n(9)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(a,{next:o(1,n)}),r(t,e+" Iterator")}},function(t,e,n){var i=n(55),o=n(53);t.exports=function(t){return function(e,n){var r,a,s=String(o(e)),l=i(n),u=s.length;return l<0||l>=u?t?"":void 0:(r=s.charCodeAt(l),r<55296||r>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):r:t?s.slice(l,l+2):a-56320+(r-55296<<10)+65536)}}},function(t,e,n){var i=n(55),o=Math.max,r=Math.min;t.exports=function(t,e){return t=i(t),t<0?o(t+e,0):r(t,e)}},function(t,e,n){var i=n(13),o=n(66);t.exports=n(2).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return i(e.call(t))}},function(t,e,n){var i=n(48),o=n(9)("iterator"),r=n(29);t.exports=n(2).isIterable=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||r.hasOwnProperty(i(e))}},function(t,e,n){"use strict";var i=n(128),o=n(108),r=n(29),a=n(18);t.exports=n(72)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},function(t,e,n){var i=n(247);t.exports=function(t){return Object(i(t))}},,function(t,e,n){"use strict";function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.GROUND,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return 1e4*t+(0,r.clamp)(e,0,9999)}function o(){return 1e4*a.TEXT}Object.defineProperty(e,"__esModule",{value:!0}),e.LAYER_LEVEL=void 0,e.getRank=i,e.getNAALine=o;var r=n(10),a=e.LAYER_LEVEL={UNDERGROUND:0,BASE:1,GROUND:2,BUILDING:3,OVERLAY_AA:4,POST_PROCESS:5,TEXT:6,OVERLAY_NAA:7}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser",this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version",this.OS=this.searchString(this.dataOS)||"an unknown OS"},searchString:function(t){for(var e=0;e0){var t=this.path+(-1===this.path.indexOf("?")?"?":"&")+this.dataList.join("&");this.dataList=[],a(t)}}}]),e}(_.EventEmitter)},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function o(){return!!(r()&&a()&&s()&&l()&&u()&&c()&&f()&&d())}function r(){return"undefined"!=typeof window&&"undefined"!=typeof document}function a(){return Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray}function s(){return Function.prototype&&Function.prototype.bind}function l(){return V.default&&D.default&&N.default&&R.default&&C.default&&k.default&&T.default&&E.default&&A.default&&b.default&&y.default&&g.default&&p.default}function u(){return"JSON"in window&&"parse"in JSON&&"stringify"in JSON}function c(){return"Worker"in window}function f(){return"Uint8ClampedArray"in window}function d(){var t=F.context||null;if(!t){t=h(),F.context=t;var e=t.getExtension("WEBGL_debug_renderer_info"),n=t.getParameter(e.UNMASKED_VENDOR_WEBGL),i=t.getParameter(e.UNMASKED_RENDERER_WEBGL);F.vendor=n,F.renderer=i,F.isIndependentDisplayCard=!/(\bHD\b)|(\bUHD\b)/.test(i)}return F}function h(){var t=document.createElement("canvas"),e=(0,D.default)(o.webGLContextAttributes);return t.getContext("webgl",e)||t.getContext("experimental-webgl",e)}Object.defineProperty(e,"__esModule",{value:!0});var v=n(153),p=i(v),m=n(142),g=i(m),_=n(154),y=i(_),x=n(116),b=i(x),S=n(75),A=i(S),w=n(117),E=i(w),I=n(150),T=i(I),P=n(151),k=i(P),L=n(152),C=i(L),M=n(149),R=i(M),B=n(3),N=i(B),O=n(77),D=i(O),z=n(17),V=i(z);e.isSupported=o,e.isWebGLSupportedCached=d;var F={};o.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}var o=n(0),r=i(o),a=n(1),s=i(a),l=function(){function t(e,n,i,o){(0,r.default)(this,t),this.cx=3*e,this.bx=3*(i-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*n,this.by=3*(o-n)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=n,this.p2x=i,this.p2y=o}return(0,s.default)(t,[{key:"sampleCurveX",value:function(t){return((this.ax*t+this.bx)*t+this.cx)*t}},{key:"sampleCurveY",value:function(t){return((this.ay*t+this.by)*t+this.cy)*t}},{key:"sampleCurveDerivativeX",value:function(t){return(3*this.ax*t+2*this.bx)*t+this.cx}},{key:"solveCurveX",value:function(t,e){void 0===e&&(e=1e-6);var n=void 0,i=void 0,o=void 0,r=void 0,a=void 0;for(o=t,a=0;a<8;a++){if(r=this.sampleCurveX(o)-t,Math.abs(r)i)return i;for(;nr?n=o:i=o,o=.5*(i-n)+n}return o}},{key:"solve",value:function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))}}]),t}();t.exports=l},function(t,e,n){"use strict";function i(t){return t/(Math.PI/180)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},function(t,e,n){t.exports={default:n(167),__esModule:!0}},function(t,e,n){t.exports={default:n(169),__esModule:!0}},function(t,e,n){t.exports={default:n(170),__esModule:!0}},function(t,e,n){t.exports={default:n(171),__esModule:!0}},function(t,e,n){t.exports={default:n(173),__esModule:!0}},function(t,e,n){t.exports={default:n(174),__esModule:!0}},function(t,e,n){t.exports={default:n(175),__esModule:!0}},function(t,e,n){t.exports={default:n(312),__esModule:!0}},function(t,e,n){t.exports={default:n(177),__esModule:!0}},function(t,e,n){t.exports={default:n(178),__esModule:!0}},function(t,e,n){"use strict";e.__esModule=!0;var i=n(16),o=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=o.default||function(t){for(var e=1;eu;)l.call(t,a=s[u++])&&e.push(a);return e}},function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var i=n(8),o=n(101).set,r=i.MutationObserver||i.WebKitMutationObserver,a=i.process,s=i.Promise,l="process"==n(37)(a);t.exports=function(){var t,e,n,u=function(){var i,o;for(l&&(i=a.domain)&&i.exit();t;){o=t.fn,t=t.next;try{o()}catch(i){throw t?n():e=void 0,i}}e=void 0,i&&i.enter()};if(l)n=function(){a.nextTick(u)};else if(!r||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){o.call(i,u)};else{var f=!0,d=document.createTextNode("");new r(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(i){var o={fn:i,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e,n){var i=n(7),o=n(13),r=function(t,e){if(o(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{i=n(24)(Function.call,n(68).f(Object.prototype,"__proto__").set,2),i(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return r(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:r}},function(t,e,n){var i=n(8),o=i.navigator;t.exports=o&&o.userAgent||""},function(t,e,n){var i=n(7);t.exports=function(t,e){if(!i(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){"use strict";var i=n(24),o=n(6),r=n(32),a=n(93),s=n(92),l=n(51),u=n(179),c=n(66);o(o.S+o.F*!n(94)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,f,d=r(t),h="function"==typeof this?this:Array,v=arguments.length,p=v>1?arguments[1]:void 0,m=void 0!==p,g=0,_=c(d);if(m&&(p=i(p,v>2?arguments[2]:void 0,2)),void 0==_||h==Array&&s(_))for(e=l(d.length),n=new h(e);e>g;g++)u(n,g,m?p(d[g],g):d[g]);else for(f=_.call(d),n=new h;!(o=f.next()).done;g++)u(n,g,m?a(f,p,[o.value,g],!0):o.value);return n.length=g,n}})},function(t,e,n){var i=n(6);i(i.S,"Object",{create:n(50)})},function(t,e,n){var i=n(6);i(i.S+i.F*!n(12),"Object",{defineProperties:n(85)})},function(t,e,n){var i=n(6);i(i.S+i.F*!n(12),"Object",{defineProperty:n(14).f})},function(t,e,n){var i=n(7),o=n(41).onFreeze;n(15)("freeze",function(t){return function(e){return t&&i(e)?t(o(e)):e}})},function(t,e,n){var i=n(18),o=n(68).f;n(15)("getOwnPropertyDescriptor",function(){return function(t,e){return o(i(t),e)}})},function(t,e,n){n(15)("getOwnPropertyNames",function(){return n(95).f})},function(t,e,n){var i=n(32),o=n(86);n(15)("getPrototypeOf",function(){return function(t){return o(i(t))}})},function(t,e,n){var i=n(7);n(15)("isExtensible",function(t){return function(e){return!!i(e)&&(!t||t(e))}})},function(t,e,n){var i=n(7);n(15)("isFrozen",function(t){return function(e){return!i(e)||!!t&&t(e)}})},function(t,e,n){var i=n(7);n(15)("isSealed",function(t){return function(e){return!i(e)||!!t&&t(e)}})},function(t,e,n){var i=n(32),o=n(34);n(15)("keys",function(){return function(t){return o(i(t))}})},function(t,e,n){var i=n(7),o=n(41).onFreeze;n(15)("preventExtensions",function(t){return function(e){return t&&i(e)?t(o(e)):e}})},function(t,e,n){var i=n(7),o=n(41).onFreeze;n(15)("seal",function(t){return function(e){return t&&i(e)?t(o(e)):e}})},function(t,e,n){var i=n(6);i(i.S,"Object",{setPrototypeOf:n(183).set})},function(t,e,n){"use strict";var i,o,r,a,s=n(38),l=n(8),u=n(24),c=n(48),f=n(6),d=n(7),h=n(44),v=n(91),p=n(71),m=n(100),g=n(101).set,_=n(182)(),y=n(67),x=n(97),b=n(184),S=n(98),A=l.TypeError,w=l.process,E=w&&w.versions,I=E&&E.v8||"",T=l.Promise,P="process"==c(w),k=function(){},L=o=y.f,C=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[n(9)("species")]=function(t){t(k,k)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e&&0!==I.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),M=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;_(function(){for(var i=t._v,o=1==t._s,r=0;n.length>r;)!function(e){var n,r,a,s=o?e.ok:e.fail,l=e.resolve,u=e.reject,c=e.domain;try{s?(o||(2==t._h&&O(t),t._h=1),!0===s?n=i:(c&&c.enter(),n=s(i),c&&(c.exit(),a=!0)),n===e.promise?u(A("Promise-chain cycle")):(r=M(n))?r.call(n,l,u):l(n)):u(i)}catch(t){c&&!a&&c.exit(),u(t)}}(n[r++]);t._c=[],t._n=!1,e&&!t._h&&B(t)})}},B=function(t){g.call(l,function(){var e,n,i,o=t._v,r=N(t);if(r&&(e=x(function(){P?w.emit("unhandledRejection",o,t):(n=l.onunhandledrejection)?n({promise:t,reason:o}):(i=l.console)&&i.error&&i.error("Unhandled promise rejection",o)}),t._h=P||N(t)?2:1),t._a=void 0,r&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},O=function(t){g.call(l,function(){var e;P?w.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})})},D=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),R(e,!0))},z=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw A("Promise can't be resolved itself");(e=M(t))?_(function(){var i={_w:n,_d:!1};try{e.call(t,u(z,i,1),u(D,i,1))}catch(t){D.call(i,t)}}):(n._v=t,n._s=1,R(n,!1))}catch(t){D.call({_w:n,_d:!1},t)}}};C||(T=function(t){v(this,T,"Promise","_h"),h(t),i.call(this);try{t(u(z,this,1),u(D,this,1))}catch(t){D.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n(99)(T.prototype,{then:function(t,e){var n=L(m(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?w.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),r=function(){var t=new i;this.promise=t,this.resolve=u(z,t,1),this.reject=u(D,t,1)},y.f=L=function(t){return t===T||t===a?new r(t):o(t)}),f(f.G+f.W+f.F*!C,{Promise:T}),n(42)(T,"Promise"),n(120)("Promise"),a=n(2).Promise,f(f.S+f.F*!C,"Promise",{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!C),"Promise",{resolve:function(t){return S(s&&this===a?T:this,t)}}),f(f.S+f.F*!(C&&n(94)(function(t){T.all(t).catch(k)})),"Promise",{all:function(t){var e=this,n=L(e),i=n.resolve,o=n.reject,r=x(function(){var n=[],r=0,a=1;p(t,!1,function(t){var s=r++,l=!1;n.push(void 0),a++,e.resolve(t).then(function(t){l||(l=!0,n[s]=t,--a||i(n))},o)}),--a||i(n)});return r.e&&o(r.v),n.promise},race:function(t){var e=this,n=L(e),i=n.reject,o=x(function(){p(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return o.e&&i(o.v),n.promise}})},function(t,e,n){"use strict";var i=n(8),o=n(22),r=n(12),a=n(6),s=n(81),l=n(41).KEY,u=n(31),c=n(59),f=n(42),d=n(47),h=n(9),v=n(70),p=n(69),m=n(180),g=n(118),_=n(13),y=n(7),x=n(32),b=n(18),S=n(65),A=n(39),w=n(50),E=n(95),I=n(68),T=n(76),P=n(14),k=n(34),L=I.f,C=P.f,M=E.f,R=i.Symbol,B=i.JSON,N=B&&B.stringify,O=h("_hidden"),D=h("toPrimitive"),z={}.propertyIsEnumerable,V=c("symbol-registry"),F=c("symbols"),Y=c("op-symbols"),U=Object.prototype,j="function"==typeof R&&!!T.f,G=i.QObject,Z=!G||!G.prototype||!G.prototype.findChild,W=r&&u(function(){return 7!=w(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=L(U,e);i&&delete U[e],C(t,e,n),i&&t!==U&&C(U,e,i)}:C,H=function(t){var e=F[t]=w(R.prototype);return e._k=t,e},X=j&&"symbol"==typeof R.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof R},Q=function(t,e,n){return t===U&&Q(Y,e,n),_(t),e=S(e,!0),_(n),o(F,e)?(n.enumerable?(o(t,O)&&t[O][e]&&(t[O][e]=!1),n=w(n,{enumerable:A(0,!1)})):(o(t,O)||C(t,O,A(1,{})),t[O][e]=!0),W(t,e,n)):C(t,e,n)},q=function(t,e){_(t);for(var n,i=m(e=b(e)),o=0,r=i.length;r>o;)Q(t,n=i[o++],e[n]);return t},K=function(t,e){return void 0===e?w(t):q(w(t),e)},J=function(t){var e=z.call(this,t=S(t,!0));return!(this===U&&o(F,t)&&!o(Y,t))&&(!(e||!o(this,t)||!o(F,t)||o(this,O)&&this[O][t])||e)},$=function(t,e){if(t=b(t),e=S(e,!0),t!==U||!o(F,e)||o(Y,e)){var n=L(t,e);return!n||!o(F,e)||o(t,O)&&t[O][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=M(b(t)),i=[],r=0;n.length>r;)o(F,e=n[r++])||e==O||e==l||i.push(e);return i},et=function(t){for(var e,n=t===U,i=M(n?Y:b(t)),r=[],a=0;i.length>a;)!o(F,e=i[a++])||n&&!o(U,e)||r.push(F[e]);return r};j||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call(Y,n),o(this,O)&&o(this[O],t)&&(this[O][t]=!1),W(this,t,A(1,n))};return r&&Z&&W(U,t,{configurable:!0,set:e}),H(t)},s(R.prototype,"toString",function(){return this._k}),I.f=$,P.f=Q,n(96).f=E.f=tt,n(45).f=J,T.f=et,r&&!n(38)&&s(U,"propertyIsEnumerable",J,!0),v.f=function(t){return H(h(t))}),a(a.G+a.W+a.F*!j,{Symbol:R});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;nt.length>it;)h(nt[it++]);for(var ot=k(h.store),rt=0;ot.length>rt;)p(ot[rt++]);a(a.S+a.F*!j,"Symbol",{for:function(t){return o(V,t+="")?V[t]:V[t]=R(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in V)if(V[e]===t)return e},useSetter:function(){Z=!0},useSimple:function(){Z=!1}}),a(a.S+a.F*!j,"Object",{create:K,defineProperty:Q,defineProperties:q,getOwnPropertyDescriptor:$,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var at=u(function(){T.f(1)});a(a.S+a.F*at,"Object",{getOwnPropertySymbols:function(t){return T.f(x(t))}}),B&&a(a.S+a.F*(!j||u(function(){var t=R();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))})),"JSON",{stringify:function(t){for(var e,n,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(n=e=i[1],(y(e)||void 0!==t)&&!X(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),i[1]=e,N.apply(B,i)}}),R.prototype[D]||n(20)(R.prototype,D,R.prototype.valueOf),f(R,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},function(t,e,n){var i=n(6),o=n(119)(!0);i(i.S,"Object",{entries:function(t){return o(t)}})},function(t,e,n){"use strict";var i=n(6),o=n(2),r=n(8),a=n(100),s=n(98);i(i.P+i.R,"Promise",{finally:function(t){var e=a(this,o.Promise||r.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var i=n(6),o=n(67),r=n(97);i(i.S,"Promise",{try:function(t){var e=o.f(this),n=r(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){n(69)("asyncIterator")},function(t,e,n){n(69)("observable")},function(t,e,n){var i=n(62),o=n(217),r=n(216),a=n(272)("src"),s=n(834),l=(""+s).split("toString");n(102).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var u="function"==typeof n;u&&(r(n,"name")||o(n,"name",e)),t[e]!==n&&(u&&(r(n,a)||o(n,a,t[e]?""+t[e]:l.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(t,e,n){var i=n(11),o=n(61),r=n(247),a=/"/g,s=function(t,e,n,i){var o=String(r(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(i).replace(a,""")+'"'),s+">"+o+""};t.exports=function(t,e){var n={};n[t]=e(s),i(i.P+i.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){(function(e){var n,n;/*! localForage -- Offline Storage, Improved Version 1.7.3 https://localforage.github.io/localForage (c) 2013-2017 Mozilla, Apache License 2.0 */ !function(e){t.exports=e()}(function(){return function t(e,i,o){function r(s,l){if(!i[s]){if(!e[s]){var u="function"==typeof n&&n;if(!l&&u)return n(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var f=i[s]={exports:{}};e[s][0].call(f.exports,function(t){var n=e[s][1][t];return r(n||t)},f,f.exports,t,e,i,o)}return i[s].exports}for(var a="function"==typeof n&&n,s=0;s=43)}}).catch(function(){return!1})}function f(t){return"boolean"==typeof yt?gt.resolve(yt):c(t).then(function(t){return yt=t})}function d(t){var e=xt[t.name],n={};n.promise=new gt(function(t,e){n.resolve=t,n.reject=e}),e.deferredOperations.push(n),e.dbReady?e.dbReady=e.dbReady.then(function(){return n.promise}):e.dbReady=n.promise}function h(t){var e=xt[t.name],n=e.deferredOperations.pop();if(n)return n.resolve(),n.promise}function v(t,e){var n=xt[t.name],i=n.deferredOperations.pop();if(i)return i.reject(e),i.promise}function p(t,e){return new gt(function(n,i){if(xt[t.name]=xt[t.name]||E(),t.db){if(!e)return n(t.db);d(t),t.db.close()}var o=[t.name];e&&o.push(t.version);var r=mt.open.apply(mt,o);e&&(r.onupgradeneeded=function(e){var n=r.result;try{n.createObjectStore(t.storeName),e.oldVersion<=1&&n.createObjectStore(_t)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+t.name+'" has been upgraded from version '+e.oldVersion+" to version "+e.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),r.onerror=function(t){t.preventDefault(),i(r.error)},r.onsuccess=function(){n(r.result),h(t)}})}function m(t){return p(t,!1)}function g(t){return p(t,!0)}function _(t,e){if(!t.db)return!0;var n=!t.db.objectStoreNames.contains(t.storeName),i=t.versiont.db.version;if(i&&(t.version!==e&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),o||n){if(n){var r=t.db.version+1;r>t.version&&(t.version=r)}return!0}return!1}function y(t){return new gt(function(e,n){var i=new FileReader;i.onerror=n,i.onloadend=function(n){var i=btoa(n.target.result||"");e({__local_forage_encoded_blob:!0,data:i,type:t.type})},i.readAsBinaryString(t)})}function x(t){return o([u(atob(t.data))],{type:t.type})}function b(t){return t&&t.__local_forage_encoded_blob}function S(t){var e=this,n=e._initReady().then(function(){var t=xt[e._dbInfo.name];if(t&&t.dbReady)return t.dbReady});return a(n,t,t),n}function A(t){d(t);for(var e=xt[t.name],n=e.forages,i=0;i0&&(!t.db||"InvalidStateError"===o.name||"NotFoundError"===o.name))return gt.resolve().then(function(){if(!t.db||"NotFoundError"===o.name&&!t.db.objectStoreNames.contains(t.storeName)&&t.version<=t.db.version)return t.db&&(t.version=t.db.version+1),g(t)}).then(function(){return A(t).then(function(){w(t,e,n,i-1)})}).catch(n);n(o)}}function E(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function I(t){function e(){return gt.resolve()}var n=this,i={db:null};if(t)for(var o in t)i[o]=t[o];var r=xt[i.name];r||(r=E(),xt[i.name]=r),r.forages.push(n),n._initReady||(n._initReady=n.ready,n.ready=S);for(var a=[],s=0;s>4,c[l++]=(15&i)<<4|o>>2,c[l++]=(3&o)<<6|63&r;return u}function D(t){var e,n=new Uint8Array(t),i="";for(e=0;e>2],i+=Et[(3&n[e])<<4|n[e+1]>>4],i+=Et[(15&n[e+1])<<2|n[e+2]>>6],i+=Et[63&n[e+2]];return n.length%3==2?i=i.substring(0,i.length-1)+"=":n.length%3==1&&(i=i.substring(0,i.length-2)+"=="),i}function z(t,e){var n="";if(t&&(n=Ut.call(t)),t&&("[object ArrayBuffer]"===n||t.buffer&&"[object ArrayBuffer]"===Ut.call(t.buffer))){var i,o=Pt;t instanceof ArrayBuffer?(i=t,o+=Lt):(i=t.buffer,"[object Int8Array]"===n?o+=Mt:"[object Uint8Array]"===n?o+=Rt:"[object Uint8ClampedArray]"===n?o+=Bt:"[object Int16Array]"===n?o+=Nt:"[object Uint16Array]"===n?o+=Dt:"[object Int32Array]"===n?o+=Ot:"[object Uint32Array]"===n?o+=zt:"[object Float32Array]"===n?o+=Vt:"[object Float64Array]"===n?o+=Ft:e(new Error("Failed to get type for BinaryArray"))),e(o+D(i))}else if("[object Blob]"===n){var r=new FileReader;r.onload=function(){var n=It+t.type+"~"+D(this.result);e(Pt+Ct+n)},r.readAsArrayBuffer(t)}else try{e(JSON.stringify(t))}catch(n){console.error("Couldn't convert value into a JSON string: ",t),e(null,n)}}function V(t){if(t.substring(0,kt)!==Pt)return JSON.parse(t);var e,n=t.substring(Yt),i=t.substring(kt,Yt);if(i===Ct&&Tt.test(n)){var r=n.match(Tt);e=r[1],n=n.substring(r[0].length)}var a=O(n);switch(i){case Lt:return a;case Ct:return o([a],{type:e});case Mt:return new Int8Array(a);case Rt:return new Uint8Array(a);case Bt:return new Uint8ClampedArray(a);case Nt:return new Int16Array(a);case Dt:return new Uint16Array(a);case Ot:return new Int32Array(a);case zt:return new Uint32Array(a);case Vt:return new Float32Array(a);case Ft:return new Float64Array(a);default:throw new Error("Unkown type: "+i)}}function F(t,e,n,i){t.executeSql("CREATE TABLE IF NOT EXISTS "+e.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,i)}function Y(t){var e=this,n={db:null};if(t)for(var i in t)n[i]="string"!=typeof t[i]?t[i].toString():t[i];var o=new gt(function(t,i){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(t){return i(t)}n.db.transaction(function(o){F(o,n,function(){e._dbInfo=n,t()},function(t,e){i(e)})},i)});return n.serializer=jt,o}function U(t,e,n,i,o,r){t.executeSql(n,i,o,function(t,a){a.code===a.SYNTAX_ERR?t.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[e.storeName],function(t,s){s.rows.length?r(t,a):F(t,e,function(){t.executeSql(n,i,o,r)},r)},r):r(t,a)},r)}function j(t,e){var n=this;t=s(t);var i=new gt(function(e,i){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){U(n,o,"SELECT * FROM "+o.storeName+" WHERE key = ? LIMIT 1",[t],function(t,n){var i=n.rows.length?n.rows.item(0).value:null;i&&(i=o.serializer.deserialize(i)),e(i)},function(t,e){i(e)})})}).catch(i)});return r(i,e),i}function G(t,e){var n=this,i=new gt(function(e,i){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){U(n,o,"SELECT * FROM "+o.storeName,[],function(n,i){for(var r=i.rows,a=r.length,s=0;s0)return void r(Z.apply(o,[t,s,n,i-1]));a(e)}})})}).catch(a)});return r(a,n),a}function W(t,e,n){return Z.apply(this,[t,e,n,1])}function H(t,e){var n=this;t=s(t);var i=new gt(function(e,i){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){U(n,o,"DELETE FROM "+o.storeName+" WHERE key = ?",[t],function(){e()},function(t,e){i(e)})})}).catch(i)});return r(i,e),i}function X(t){var e=this,n=new gt(function(t,n){e.ready().then(function(){var i=e._dbInfo;i.db.transaction(function(e){U(e,i,"DELETE FROM "+i.storeName,[],function(){t()},function(t,e){n(e)})})}).catch(n)});return r(n,t),n}function Q(t){var e=this,n=new gt(function(t,n){e.ready().then(function(){var i=e._dbInfo;i.db.transaction(function(e){U(e,i,"SELECT COUNT(key) as c FROM "+i.storeName,[],function(e,n){var i=n.rows.item(0).c;t(i)},function(t,e){n(e)})})}).catch(n)});return r(n,t),n}function q(t,e){var n=this,i=new gt(function(e,i){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){U(n,o,"SELECT key FROM "+o.storeName+" WHERE id = ? LIMIT 1",[t+1],function(t,n){var i=n.rows.length?n.rows.item(0).key:null;e(i)},function(t,e){i(e)})})}).catch(i)});return r(i,e),i}function K(t){var e=this,n=new gt(function(t,n){e.ready().then(function(){var i=e._dbInfo;i.db.transaction(function(e){U(e,i,"SELECT key FROM "+i.storeName,[],function(e,n){for(var i=[],o=0;o '__WebKitDatabaseInfoTable__'",[],function(n,i){for(var o=[],r=0;r0}function it(t){var e=this,n={};if(t)for(var i in t)n[i]=t[i];return n.keyPrefix=tt(t,e._defaultConfig),nt()?(e._dbInfo=n,n.serializer=jt,gt.resolve()):gt.reject()}function ot(t){var e=this,n=e.ready().then(function(){for(var t=e._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var i=localStorage.key(n);0===i.indexOf(t)&&localStorage.removeItem(i)}});return r(n,t),n}function rt(t,e){var n=this;t=s(t);var i=n.ready().then(function(){var e=n._dbInfo,i=localStorage.getItem(e.keyPrefix+t);return i&&(i=e.serializer.deserialize(i)),i});return r(i,e),i}function at(t,e){var n=this,i=n.ready().then(function(){for(var e=n._dbInfo,i=e.keyPrefix,o=i.length,r=localStorage.length,a=1,s=0;s=0;e--){var n=localStorage.key(e);0===n.indexOf(t)&&localStorage.removeItem(n)}}):gt.reject("Invalid arguments"),r(i,e),i}function ht(t,e){t[e]=function(){var n=arguments;return t.ready().then(function(){return t[e].apply(t,n)})}}function vt(){for(var t=1;tn.getLat()||e.getLng()>n.getLng())&&console.error("LatLngBounds中sw 的经纬度必须小于ne的经纬度,实际传入sw为:",e,"ne 为:",n),this.setSouthWest(e).setNorthEast(n)):4===e.length?this.setSouthWest([e[0],e[1]]).setNorthEast([e[2],e[3]]):2===e.length&&this.setSouthWest(e[0]).setNorthEast(e[1]))):void new l.BaseTypeError("LatLngBounds.ne","LatLng",n).error():void new l.BaseTypeError("LatLngBounds.sw","LatLng",e).error()}return(0,s.default)(t,[{key:"setNorthEast",value:function(t){return this._ne=u.convert(t),this}},{key:"setSouthWest",value:function(t){return this._sw=u.convert(t),this}},{key:"getCenter",value:function(){return new u((this._sw.lat+this._ne.lat)/2,(this._sw.lng+this._ne.lng)/2,0,!0)}},{key:"getSouthWest",value:function(){return this._sw}},{key:"getNorthEast",value:function(){return this._ne}},{key:"extend",value:function(e){var n=this._sw,i=this._ne,o=void 0,r=void 0;if(e instanceof u)o=e,r=e;else{if(!(e instanceof t))return Array.isArray(e)?e.every(Array.isArray)?this.extend(t.convert(e)):this.extend(u.convert(e)):this;if(o=e._sw,r=e._ne,!o||!r)return this}return n||i?(this._sw=new u(Math.min(o.lat,n.lat),Math.min(o.lng,n.lng),0,!0),this._ne=new u(Math.max(r.lat,i.lat),Math.max(r.lng,i.lng),0,!0)):(this._sw=new u(o.lat,o.lng,0,!0),this._ne=new u(r.lat,r.lng,0,!0)),this}},{key:"union",value:function(t){return this.extend(t)}},{key:"equals",value:function(t){var e=this._sw,n=this._ne,i=t.getSouthWest(),o=t.getNorthEast();return e.equals(i)&&n.equals(o)}},{key:"intersects",value:function(t){var e=this._sw,n=this._ne,i=t.getSouthWest(),o=t.getNorthEast();return!(i.lat>n.lat||o.latn.lng||o.lng=t.lat&&this._ne.lng>=t.lng}},{key:"getNorthWest",value:function(){return new u(this.getNorth(),this.getWest(),0,!0)}},{key:"getSouthEast",value:function(){return new u(this.getSouth(),this.getEast(),0,!0)}},{key:"getWest",value:function(){return this._sw.lng}},{key:"getSouth",value:function(){return this._sw.lat}},{key:"getEast",value:function(){return this._ne.lng}},{key:"getNorth",value:function(){return this._ne.lat}},{key:"toString",value:function(){return"LatLngBounds("+this._sw.toString()+", "+this._ne.toString()+")"}}]),t}();c.convert=function(t){return!t||t instanceof c?t:new c(t)},c._convertFromWorker=function(t){return t._sw&&t._ne?new c(u.convert(t._sw),u.convert(t._ne)):t},t.exports=c},function(t,e,n){"use strict";function i(t,e,n){var i=window.document.createElement(t);return e&&(i.className=e),n&&n.appendChild(i),i}function o(t){for(var e=0;e0){var e=t.touches[0];return{x:e.pageX,y:e.pageY}}if("changedTouches"in t&&t.changedTouches.length>0){var n=t.changedTouches[0];return{x:n.pageX,y:n.pageY}}}function m(t,e){t&&(Array.isArray(e)||(e=[e]),e.forEach(function(e){_(t,e)||(t.className+=" "+e)}))}function g(t,e){t&&(Array.isArray(e)||(e=[e]),e.forEach(function(e){_(t,e)&&(t.className=t.className.replace(" "+e,""))}))}function _(t,e){if(t){var n=" "+e+" ";return(" "+t.className+" ").includes(n)}}Object.defineProperty(e,"__esModule",{value:!0}),e.TRANSITIONTIMINGFUNCTION=e.TRANSITIONDURATION=e.TRANSITIONEND=e.TRANSITION=e.TRANSFORM=e.TRANSFORMORIGIN=void 0;var y=n(30),x=function(t){return t&&t.__esModule?t:{default:t}}(y);e.create=i,e.disableDrag=r,e.enableDrag=a,e.setTransform=s,e.suppressClick=u,e.mousePos=c,e.touchPos=f,e.remove=h,e.toDom=v,e.getPointerXY=p,e.addClass=m,e.removeClass=g,e.hasClass=_;var b=n(107),S=n(74),A=window.document.documentElement.style,w=o(["userSelect","MozUserSelect","WebkitUserSelect","msUserSelect"]),E=void 0,I=(e.TRANSFORMORIGIN=o(["TRANSFORMORIGIN","WebkitTransformOrigin","OTransformOrigin","MozTransformOrigin","msTransformOrigin"]),e.TRANSFORM=o(["transform","WebkitTransform","OTransform","MozTransform","msTransform"])),T=e.TRANSITION=o(["transition","webkitTransition","OTransition","MozTransition","msTransition"]);e.TRANSITIONEND="transition"===T?T+"end":T+"End",e.TRANSITIONDURATION=T+"Duration",e.TRANSITIONTIMINGFUNCTION=T+"TimingFunction"},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(16),r=i(o),a=n(0),s=i(a),l=n(1),u=i(l),c=n(214),f=i(c),d=n(789),h=i(d),v=void 0,p={},m=function(){function t(e){(0,s.default)(this,t),this.gl=e.gl,this.location={},this.store=null,this.shaderSource=null,this.shaderParams=null}return(0,u.default)(t,[{key:"preDraw",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.programId;e!==v&&(v=e,this.enableProgram(t.updated)),this.loadTexture(t),this.applyLight(t.lightUniforms,t.shadowTexture)}},{key:"afterDraw",value:function(){if(this.enableLight){var t=this.gl;t.activeTexture(t.TEXTURE3),t.bindTexture(t.TEXTURE_2D,null)}}},{key:"loadTexture",value:function(){}},{key:"applyLight",value:function(t,e){if(t&&this.enableLight){var n=this.gl,i=t.lighting_uBase,o=t.lighting_uToneMapping,r=t.lighting_uAmbientColor,a=t.lighting_uDirDirection,s=t.lighting_uDirColor,l=t.lighting_uDirCount,u=t.lighting_uPointPosition,c=t.lighting_uPointAtt,f=t.lighting_uPointColor,d=t.lighting_uPointCount,h=t.lighting_uShadow,v=t.lighting_uViewPos,p=t.lighting_uShadowLightPVMatrix;e&&e.bind(n,{textureIndex:3}),n.uniform4f(this.lighting_uBase,i[0],i[1],i[2],i[3]),n.uniform4f(this.lighting_uAdvanced,o[0],o[1],h[0],h[1]),n.uniform3f(this.lighting_uAmbientColor,r[0],r[1],r[2]),n.uniform3fv(this.lighting_uDirDirection,a),n.uniform3fv(this.lighting_uDirColor,s),n.uniform3fv(this.lighting_uPointPosition,u),n.uniform3fv(this.lighting_uPointAtt,c),n.uniform3fv(this.lighting_uPointColor,f),n.uniform2f(this.lighting_uLightCount,l,d),n.uniform3f(this.lighting_uViewPos,v[0],v[1],v[2]),n.uniformMatrix4fv(this.lighting_uShadowLightPVMatrix,!1,p),e&&n.uniform1i(this.lighting_uShadowSampler,3)}}},{key:"createBuffer",value:function(t,e,n,i){var o=this.gl,r={};return e&&(r.vertices=new f.default(o,{data:e,usage:o.DYNAMIC_DRAW})),n&&(r.indices=new f.default(o,{target:o.ELEMENT_ARRAY_BUFFER,data:n,usage:o.DYNAMIC_DRAW}),r.length=n.byteLength/n.BYTES_PER_ELEMENT),i&&(r.fillCoordinates=new f.default(o,{data:i,usage:o.DYNAMIC_DRAW})),r}},{key:"bindVertexBuffer",value:function(t,e){var n=this.gl,i=t.attributes,o=void 0;e?e.bind():e=new f.default(n,{data:t.arrayBuffer,usage:n.DYNAMIC_DRAW});for(var r=0,a=i.length;r1&&void 0!==arguments[1]?arguments[1]:[],i=this.gl;n.forEach(function(t){t.name in e.location||(e.location[t.name]=i.getAttribLocation(i.program,t.name));var n=e.location[t.name];n<0||e.gl.disableVertexAttribArray(n)}),t.unbind()}},{key:"bindElementBuffer",value:function(t,e){var n=this.gl;return e?e.bind():e=new f.default(n,{target:n.ELEMENT_ARRAY_BUFFER,data:t.arrayBuffer,usage:n.DYNAMIC_DRAW}),e}},{key:"getVariableLocations",value:function(t){var e=(0,r.default)({},this.shaderParams);if(this.enableLight){var n;(n=e.uniforms).push.apply(n,["lighting_uBase","lighting_uAdvanced","lighting_uAmbientColor","lighting_uDirDirection","lighting_uDirColor","lighting_uPointPosition","lighting_uPointAtt","lighting_uPointColor","lighting_uLightCount","lighting_uViewPos","lighting_uShadowLightPVMatrix","lighting_uShadowSampler"])}return(0,r.default)({},t.getLocations("attributes",e.attributes),t.getLocations("uniforms",e.uniforms))}},{key:"enableProgram",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.gl,n=this.programId,i=this.shaderSource,o=p[n];o?t&&(o.attachShader(i.v,i.f,t),o.locations=this.getVariableLocations(o),p[n]=o):(o=new h.default(e,{vShader:i.v,fShader:i.f}),o.locations=this.getVariableLocations(o),p[n]=o),o.enable(),(0,r.default)(this,o.locations)}},{key:"clearStore",value:function(){this.store&&this.store.clear()}},{key:"destroy",value:function(){this.store&&(this.store.clear(),this.store=null);var t=this.shaderSource.name+this.gl.id;p[t]&&(p[t].delete(),delete p[t]),this.shaderParams=null,this.shaderSource=null,this.location=null,this.gl=null}},{key:"isBufferChanged",value:function(t,e){if(t&&e){for(var n in t)if(t.hasOwnProperty(n)&&e[n]&&t[n].data!==e[n])return!0;return!1}}},{key:"programId",get:function(){return this.shaderSource.name+this.gl.id}}]),t}();e.default=m},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),r=i(o),a=n(0),s=i(a),l=n(1),u=i(l),c=n(5),f=i(c),d=n(4),h=i(d),v=n(283),p=i(v),m=function(t){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,s.default)(this,e),(0,f.default)(this,(e.__proto__||(0,r.default)(e)).call(this,t,n))}return(0,h.default)(e,t),(0,u.default)(e,[{key:"_onCreate",value:function(){return this.gl.createBuffer()}},{key:"_onDelete",value:function(){this.unbind(),this.gl.deleteBuffer(this._object),this.gl.disableVertexAttribArray(this.location)}},{key:"_initialize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.target=t.target||this.gl.ARRAY_BUFFER,t.data&&(this.bind(),this.bufferData(t.data,t))}},{key:"bind",value:function(t,e){t=t||this.gl,e=e||this.target,t.bindBuffer(e,this._object)}},{key:"unbind",value:function(t,e){t=t||this.gl,e=e||this.target,t.bindBuffer(e,null)}},{key:"bufferData",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.gl.bufferData(this.target,t,e.usage||this.gl.STATIC_DRAW)}},{key:"bufferSubData",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.gl.bufferSubData(this.target,e.offset||0,t)}},{key:"pointToAttrib",value:function(t){var e=t.location,n=t.size,i=t.type,o=t.normalized,r=void 0!==o&&o,a=t.stride,s=void 0===a?0:a,l=t.offset,u=void 0===l?0:l,c=t.enable,f=void 0===c||c;this.location=e,this.gl.vertexAttribPointer(e,n,i,r,s,u),f&&this.gl.enableVertexAttribArray(e)}},{key:"buffer",get:function(){return this._object}}]),e}(p.default);e.default=m},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),r=i(o),a=n(0),s=i(a),l=n(1),u=i(l),c=n(5),f=i(c),d=n(4),h=i(d),v=n(283),p=i(v),m=function(t){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,s.default)(this,e);var i=(0,f.default)(this,(e.__proto__||(0,r.default)(e)).call(this,t,n));return i._initialize(n),i}return(0,h.default)(e,t),(0,u.default)(e,[{key:"_onCreate",value:function(){return this.gl.createTexture()}},{key:"_onDelete",value:function(){this.unbind(),this.gl.deleteTexture(this._object)}},{key:"_initialize",value:function(t){var e=t.pixels,n=t.originalWidth,i=t.originalHeight,o=t.width,r=t.height,a=t.internalformat,s=t.type,l=void 0===s?"UNSIGNED_BYTE":s,u=t.format,c=void 0===u?"RGBA":u,f=t.target,d=void 0===f?"TEXTURE_2D":f,h=e&&e.width,v=e&&e.height;this.pixels=e||null,this.originalWidth=n||h,this.originalHeight=i||v,this.width=o||h,this.height=r||v,this.type=l,this.format=c,this.internalformat=a||c,this.target=d,this._uploaded=!1}},{key:"bind",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=t||this.gl;var n=this.target,i=this._object,o=t.TEXTURE0+(e.textureIndex||0);t.activeTexture(o),t.bindTexture(t[n],i)}},{key:"unbind",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=t||this.gl;var n=this.target,i=t.TEXTURE0+(e.textureIndex||0);t.activeTexture(i),t.bindTexture(this.gl[n],null)}},{key:"resize",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.width=t,this.height=e;var i=this.gl,o=this.target;i&&(this.bind(null,n),this._preSet(n),i.texImage2D(i[o],0,i[this.internalformat],t,e,0,i[this.format],i[this.type],this.pixels))}},{key:"update",value:function(t,e){t&&(this.originalWidth=t.width,this.width=t.width||e.width,this.height=t.height||e.height,this.originalHeight=t.height,this.pixels=t||null,this._uploaded=!1,this.upload(e))}},{key:"updateSub",value:function(t,e){if(t){this.bind(null,e),this._preSet(e);var n=this.gl,i=this.target,o=this.format,r=this.type,a=e.xOffset,s=e.yOffset;n.texSubImage2D(n[i],0,a,s,n[o],n[r],t)}}},{key:"upload",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.gl||console.error("Texture donnot have gl, unable upload to GPU!");var e=this.gl,n=this.target;this.bind(null,t),this._preSet(t),this._uploaded||(e.isWebGL2?e.texImage2D(e[n],0,e[this.internalformat],this.width,this.height,0,e[this.format],e[this.type],this.pixels):e.texImage2D(e[n],0,e[this.internalformat],e[this.format],e[this.type],this.pixels),t.useMipmap&&e.generateMipmap(e[n])),this._uploaded=!0}},{key:"copy",value:function(t){var e=this.gl,n=this.width,i=this.height,o=this.target;e||console.error("Texture donnot have gl, unable upload to GPU!"),this.bind(null,t),this._preSet(t),e.copyTexImage2D(e[o],0,e[this.internalformat],0,0,n,i,0)}},{key:"destroy",value:function(){this.gl&&this.delete()}},{key:"_preSet",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.gl,n=this.target;t.flipY&&e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,1),t.premultiply&&e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),e.texParameteri(e[n],e.TEXTURE_MIN_FILTER,t.minFilter||e.LINEAR),e.texParameteri(e[n],e.TEXTURE_MAG_FILTER,t.magFilter||e.LINEAR),e.texParameteri(e[n],e.TEXTURE_WRAP_S,t.wrapS||e.CLAMP_TO_EDGE),e.texParameteri(e[n],e.TEXTURE_WRAP_T,t.wrapT||e.CLAMP_TO_EDGE)}},{key:"texture",get:function(){return this._object}}]),e}(p.default);e.default=m},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(104),o=n(270);t.exports=n(103)?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(324),o=n(247);t.exports=function(t){return i(o(t))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.UNIFORM_PART="\n uniform mat4 uMatrix;\n uniform vec4 uCenter;\n uniform float uZoom;\n\n uniform vec3 uPixelsPerMeter;\n\n uniform vec2 uResolution;\n uniform vec3 uProject_uCommonUnitsPerWorldUnit;\n uniform vec3 uProject_uCommonUnitsPerWorldUnit2;\n",e.PROJECTION_PART="\n float PI = 3.141592653589793;\n\n float degreeToRadian(float deg) {\n \treturn deg * PI / 180.;\n\t}\n\tconst float THRESHOLD_ZOOM = 9.0;\n\tfloat radianToDegree(float rad) {\n\t\treturn rad / PI * 180.;\n\t}\n\t\n\t\n\tvec2 fromPointToLatLng(vec2 point) {\n\t\tvec2 c = vec2(128.0, 128.0);\n\t\tfloat lng = (point.x - c.x) / 256. * 360.;\n\t\tfloat a = - (point.y - c.y) / 256. * 2. * PI;\n\t\tfloat lat = radianToDegree(2. * atan(exp(a)) - PI / 2.);\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\treturn vec2(lng, lat);\n\t}\n\n\n vec2 fromLatLngToPoint(vec2 latlng) {\n \tvec2 c = vec2(0.0, 0.0);\n \tvec2 d = vec2(128.0, 128.0);\n \tc.x = d.x + latlng.x * (256. / 360.);\n \tfloat e = clamp(sin(degreeToRadian(latlng.y)), -(1. - 1E-15), 1. - 1E-15);\n \tc.y = d.y + 0.5 * log((1. + e) / (1. - e)) * -(256. / (2. * PI));\n \treturn c;\n }\n\n\n\n vec2 project_position(vec2 latlng, float mapzoom) {\n \tvec2 tileCoord = fromLatLngToPoint(latlng);\n \tfloat dimension = pow(2., mapzoom);\n \ttileCoord.xy *= dimension;\n\n \treturn tileCoord;\n }\n\n\n vec2 project_view_local_position(vec2 latlng) {\n \tvec2 centerCoord = project_position(uCenter.xy, uZoom);\n \tvec2 p = project_position(latlng.xy, uZoom);\n\n \t\n \treturn vec2(p.x - centerCoord.x, centerCoord.y - p.y);\n }\n\n vec3 project_offset(vec3 offset) {\n \tfloat dy = offset.y;\n\t\t\n \tdy = clamp(dy, -1., 1.);\n \tvec3 commonUnitsPerWorldUnit = uProject_uCommonUnitsPerWorldUnit + uProject_uCommonUnitsPerWorldUnit2 * dy;\n\t\t\n \treturn vec3(offset.xyz * commonUnitsPerWorldUnit.xyz);\n }\n \n\n\tvec3 project_view_local_position_precision(vec3 latlngHigh, vec2 latlngLow) {\n\t\t\n\n\t\t\n\t\tvec3 temp_latlng_high = vec3(latlngHigh.x ,latlngHigh.y, latlngHigh.z);\n\t\t\n\t\tif (uCenter.x > 0.0) {\n\t\t\ttemp_latlng_high = vec3(latlngHigh.x ,latlngHigh.y, latlngHigh.z);\n\t\t} else {\n\t\t\ttemp_latlng_high = vec3(latlngHigh.x ,latlngHigh.y, latlngHigh.z);\n\t\t}\n\n\t\tvec2 high = temp_latlng_high.xy - uCenter.xy;\n\t\tvec2 low = latlngLow.xy - uCenter.zw;\n\n\t\treturn mix(\n\t\t\tvec3(project_view_local_position(temp_latlng_high.xy), uProject_uCommonUnitsPerWorldUnit.z * temp_latlng_high.z),\n\t\t\tproject_offset(vec3(high + low, temp_latlng_high.z)),\n\t\t\tstep(9.0, uZoom)\n\t\t);\n\t}\n\n\n vec2 project_view_local_position_precision(vec2 latlngHigh, vec2 latlngLow) {\n \tvec3 result = project_view_local_position_precision(vec3(latlngHigh.xy, 0.0), latlngLow);\n\n \treturn result.xy;\n\t}\n\t\n vec2 centerPositiveCross0( vec3 startTemp, vec3 endTemp,vec3 latlngHigh,vec3 endLatlngHigh,float startLng,float endLng,float centerLng, float halfPixelDegree){\n startTemp.x = mix(latlngHigh.x ,latlngHigh.x + 360.0, step(halfPixelDegree, centerLng - startLng) * step( halfPixelDegree, centerLng - endLng));\n endTemp.x = mix(endLatlngHigh.x ,endLatlngHigh.x + 360.0, step(halfPixelDegree, centerLng - startLng) * step( halfPixelDegree, centerLng - endLng));\n return vec2(startTemp.x, endTemp.x);\n }\n\n vec2 centerPositiveCross180( vec3 startTemp, vec3 endTemp,vec3 latlngHigh,vec3 endLatlngHigh,float startLng,float endLng,float centerLng, float halfPixelDegree){\n float transit = 1.0;\n\n startTemp.x = mix(latlngHigh.x , latlngHigh.x + 360.0, step( halfPixelDegree,centerLng -startLng));\n\n endTemp.x = mix(endLatlngHigh.x , endLatlngHigh.x + 360.0, step( halfPixelDegree, centerLng -endLng));\n transit = step(halfPixelDegree,centerLng -startLng) * step(halfPixelDegree, centerLng -endLng);\n\n\n\n endTemp.x = mix(\n endTemp.x,\n mix(endLatlngHigh.x , endLatlngHigh.x + 360.0, step(startLng - endLng,180.0)),\n transit\n );\n\n startTemp.x = mix(\n startTemp.x,\n mix(latlngHigh.x , latlngHigh.x + 360.0, step( endLng - startLng ,180.0)),\n transit\n );\n return vec2(startTemp.x, endTemp.x);\n }\n\n vec2 centerNegativeCross0( vec3 startTemp, vec3 endTemp,vec3 latlngHigh,vec3 endLatlngHigh,float startLng,float endLng,float centerLng, float halfPixelDegree){\n startTemp.x = mix(latlngHigh.x , latlngHigh.x - 360.0, step(halfPixelDegree, startLng - centerLng ) * step( halfPixelDegree, endLng - centerLng));\n endTemp.x = mix(endLatlngHigh.x , endLatlngHigh.x - 360.0, step(halfPixelDegree, startLng - centerLng ) * step( halfPixelDegree, endLng - centerLng));\n return vec2(startTemp.x, endTemp.x);\n }\n\n vec2 centerNegativeCross180( vec3 startTemp, vec3 endTemp,vec3 latlngHigh,vec3 endLatlngHigh,float startLng,float endLng,float centerLng, float halfPixelDegree){\n float transit = 1.0;\n startTemp.x = mix(latlngHigh.x , latlngHigh.x - 360.0, step( halfPixelDegree, startLng - centerLng));\n endTemp.x = mix(endLatlngHigh.x , endLatlngHigh.x - 360.0, step( halfPixelDegree, endLng - centerLng));\n\n transit = step(halfPixelDegree,centerLng -startLng) * step(halfPixelDegree, centerLng -endLng);\n startTemp.x = mix(\n startTemp.x,\n mix(latlngHigh.x , latlngHigh.x - 360.0, step( startLng - endLng ,180.0)),\n transit\n );\n endTemp.x = mix(\n endTemp.x,\n mix(endLatlngHigh.x , endLatlngHigh.x - 360.0, step(endLng - startLng ,180.0)),\n transit\n );\n return vec2(startTemp.x, endTemp.x);\n }\n\n\tvoid geodesic_project_view_local_precision(vec3 latlngHigh, vec2 latlngLow,vec3 endLatlngHigh, vec2 endLatlngLow, inout vec3 geodesic_Position_Start, inout vec3 geodesic_Position_End, vec2 uProject_uDegreePerPixels) {\n\t\t\n float halfPixelDegree = uResolution.x * uProject_uDegreePerPixels.x / 2.0;\n\t\tvec3 startTemp = latlngHigh;\n\t\tvec3 endTemp = endLatlngHigh;\n\t\tfloat startLng = latlngHigh.x + latlngLow.x;\n float endLng = endLatlngHigh.x + endLatlngLow.x;\n float centerLng = uCenter.x + uCenter.z;\n vec2 startEndLngCross0 = mix(\n centerNegativeCross0(startTemp,endTemp,latlngHigh,endLatlngHigh,startLng,endLng,centerLng, halfPixelDegree),\n centerPositiveCross0(startTemp,endTemp,latlngHigh,endLatlngHigh,startLng,endLng,centerLng, halfPixelDegree),\n step(0.0, uCenter.x)\n );\n vec2 startEndLngCross180 = mix(\n centerNegativeCross180(startTemp,endTemp,latlngHigh,endLatlngHigh,startLng,endLng,centerLng, halfPixelDegree),\n centerPositiveCross180(startTemp,endTemp,latlngHigh,endLatlngHigh,startLng,endLng,centerLng, halfPixelDegree),\n step(0.0, uCenter.x)\n );\n startTemp.x = mix(\n startEndLngCross180.x,\n startEndLngCross0.x,\n step(abs(startLng - endLng), 180.0));\n endTemp.x = mix(\n startEndLngCross180.y,\n startEndLngCross0.y,\n step(abs(startLng - endLng), 180.0));\n \n\t\tvec3 startNew = project_view_local_position_precision(startTemp, latlngLow);\n\t\tvec3 endNew = project_view_local_position_precision(endTemp, endLatlngLow);\n\t\tgeodesic_Position_Start = startNew;\n\t\tgeodesic_Position_End = endNew;\n\t}\n\tvec3 latlng_to_cartesian(vec2 latlng) {\n\t\t\n\t\tvec2 spherical = vec2(degreeToRadian(latlng.x), degreeToRadian(latlng.y));\n\t\t\n\t\t\n\t\tvec3 cartesian = vec3(\n\t\t\tcos(spherical.y) * sin(spherical.x),\n\t\t\tsin(spherical.y),\n\t\t\tcos(spherical.y) * cos(spherical.x)\n\t\t);\n\n\t\treturn cartesian;\n\t}\n\t\n\t\n\tvec4 project_view_sphere_position(vec2 latlng) {\n\t\tvec3 cartesian = latlng_to_cartesian(latlng);\n\n\t\t\n\t\tfloat rotateY = - degreeToRadian(uCenter.x);\n\t\tfloat rotateX = degreeToRadian(uCenter.y);\n\t\tfloat r = 256. * pow(2., uZoom) / (2. * PI);\n\t\tmat4 rotate1 = mat4(\n\t\t\tcos(rotateY), 0., -sin(rotateY), 0.,\n\t\t\t0., 1., 0., 0.,\n\t\t\tsin(rotateY), 0., cos(rotateY), 0.,\n\t\t\t0., 0., 0., 1.\n\t\t);\n\t\tmat4 rotate2 = mat4(\n\t\t\t1., 0., 0., 0.,\n\t\t\t0., cos(rotateX), sin(rotateX), 0.,\n\t\t\t0., -sin(rotateX), cos(rotateX), 0.,\n\t\t\t0., 0., 0., 1.\n\t\t);\n\t\tmat4 scaleAndTrans = mat4(\n\t\t\tr, 0., 0., 0.,\n\t\t\t0., r, 0., 0.,\n\t\t\t0., 0., r, 0.,\n\t\t\t0., 0., -r, 1.\n\t\t);\n\t\tvec4 position = scaleAndTrans * rotate2 * rotate1 * vec4(cartesian, 1.0);\n\t\treturn position;\n\t}\n\n\n vec2 proj_position_to_screen(vec4 device) {\n\t\tvec3 device_normal = device.xyz / device.w;\n\t\tvec2 clip_pos = (device_normal * 0.5 + 0.5).xy;\n\t\treturn clip_pos * uResolution;\n }\n \n\n\tvec4 screen_to_proj_position(vec2 screen, float z, float w) {\n\t vec2 clip_pos = screen / uResolution;\n\t vec2 device_normal = clip_pos * 2.0 - 1.0;\n\t return vec4(device_normal * w, z, w);\n\t}\n\n vec3 project_scale(vec3 meters) {\n \treturn meters * uPixelsPerMeter;\n }\n\n vec2 rotate_by_angle_onScreen(vec2 vertex, float angle) {\n \tfloat angle_radian = angle * PI / 180.0;\n \tfloat cos_angle = cos(angle_radian);\n \tfloat sin_angle = sin(angle_radian);\n \tmat2 rotationMatrix = mat2(cos_angle, -sin_angle, sin_angle, cos_angle);\n \treturn rotationMatrix * vertex;\n }\n",e.SDF_PART="\n\t\n\tfloat distance = texture2D(u_sampler, vTextureCoords).a;\n\n\t\n\tfloat finalAlpha = smoothstep(usedBuff - vGamma, usedBuff + vGamma, distance);\n\n\t\n\tfloat outlineFactor = smoothstep(u_buffer - vGamma, u_buffer + vGamma, distance);\n\n\t\n\tvec4 color = mix(vStrokeColor, vColor, outlineFactor) * finalAlpha;\n"},,function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.EllipseStyle=e.RectangleStyle=e.CircleStyle=e.ExtrudablePolygonStyle=e.PolygonStyle=void 0;var o=n(3),r=i(o),a=n(5),s=i(a),l=n(4),u=i(l),c=n(0),f=i(c),d=n(10),h={color:"rgba(55,119,255,0.16)",borderColor:"#3777FF",showBorder:!0,borderWidth:2,borderDashArray:[0,0],extrudeHeight:1},v=e.PolygonStyle=function t(e){(0,f.default)(this,t),e=(0,d.extend)({},h,e),this.color=e.color,this.borderColor=e.borderColor,this.showBorder=!0===e.showBorder,this.borderWidth=e.borderWidth,this.borderDashArray=e.borderDashArray};e.ExtrudablePolygonStyle=function t(e){(0,f.default)(this,t),e=(0,d.extend)({},h,e),this.color=e.color,this.borderColor=e.borderColor,this.showBorder=!0===e.showBorder,this.extrudeHeight=e.extrudeHeight},e.CircleStyle=function(t){function e(t){return(0,f.default)(this,e),(0,s.default)(this,(e.__proto__||(0,r.default)(e)).call(this,t))}return(0,u.default)(e,t),e}(v),e.RectangleStyle=function(t){function e(t){return(0,f.default)(this,e),(0,s.default)(this,(e.__proto__||(0,r.default)(e)).call(this,t))}return(0,u.default)(e,t),e}(v),e.EllipseStyle=function(t){function e(t){return(0,f.default)(this,e),(0,s.default)(this,(e.__proto__||(0,r.default)(e)).call(this,t))}return(0,u.default)(e,t),e}(v)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.deleteInstanceCacllback=function(t){t.data&&(t.data=null),t.buffer&&t.buffer.delete()},e.deleteBuffersCallback=function(t){t.vertices&&t.vertices.delete(),t.indeices&&t.indeices.delete()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.GEOMETRY_TYPES={POINT:"POINT",POLYLINE:"POLYLINE",POLYGON:"POLYGON",LABEL:"LABEL",CIRCLE:"CIRCLE",RECTANGLE:"RECTANGLE",ELLIPSE:"ELLIPSE",MASK:"MASK",HIGHLIGHT:"HIGHLIGHT"}},function(t,e,n){t.exports={default:n(415),__esModule:!0}},function(t,e,n){"use strict";e.__esModule=!0;var i=n(75),o=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=function(t,e,n){return e in t?(0,o.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){n(227),t.exports=n(2).Number.isNaN},function(t,e,n){var i=n(6);i(i.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){"use strict";var i=n(61);t.exports=function(t,e){return!!t&&i(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function o(t){if(4===t.length){for(var e="#",n=1;n<4;n+=1)e+=t.slice(n,n+1).concat(t.slice(n,n+1));t=e}var i=t.slice(1);return{r:parseInt(i.slice(0,2),16),g:parseInt(i.slice(2,4),16),b:parseInt(i.slice(4),16)}}function r(t){return t=t.replace(/rgb/,"rgba").replace(")",",")+"1)",a(t)}function a(t){return t=t.replace(/rgba\(/,"").replace(")","").split(","),{r:parseInt(t[0]),g:parseInt(t[1]),b:parseInt(t[2]),a:parseFloat(t[3])}}Object.defineProperty(e,"__esModule",{value:!0});var s=n(0),l=i(s),u=n(1),c=i(u),f=n(36),d=i(f),h=n(401),v=d.default.isString,p=d.default.isArray,m=d.default.isUndefined,g=function(){function t(e,n){if((0,l.default)(this,t),this.r=1,this.g=1,this.b=1,this.a=1,n&&n.defaultColor&&this.turnStr2Rgba(n.defaultColor),v(e))this.turnStr2Rgba(e);else if(p(e)){var i=n&&n.max||255;this.r=e[0]/i,this.g=e[1]/i,this.b=e[2]/i,this.a=m(e[3])?1:e[3]}}return(0,c.default)(t,[{key:"turnStr2Rgba",value:function(t){t=t.toLowerCase();var e=h.HEX_REG,n=h.RGB_REG,i=h.RGBA_REG,s=null;e.test(t)?s=o(t):n.test(t)?s=r(t):i.test(t)&&(s=a(t)),s&&(this.r=s.r/255,this.g=s.g/255,this.b=s.b/255,this.a=m(s.a)?1:s.a)}},{key:"toArray",value:function(){return[this.r,this.g,this.b,this.a]}},{key:"toUpArray",value:function(){return this.toArray().map(function(t){return 255*t})}},{key:"toString",value:function(){return"rgba("+[""+Math.round(255*this.r),""+Math.round(255*this.g),""+Math.round(255*this.b),""+this.a].join(",")+")"}}]),t}();e.default=g},function(t,e,n){"use strict";var i=n(12),o=n(34),r=n(76),a=n(45),s=n(32),l=n(80),u=Object.assign;t.exports=!u||n(31)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=i})?function(t,e){for(var n=s(t),u=arguments.length,c=1,f=r.f,d=a.f;u>c;)for(var h,v=l(arguments[c++]),p=f?o(v).concat(f(v)):o(v),m=p.length,g=0;m>g;)h=p[g++],i&&!d.call(v,h)||(n[h]=v[h]);return n}:u},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var i=n(233),o=n(324),r=n(136),a=n(88),s=n(531);t.exports=function(t,e){var n=1==t,l=2==t,u=3==t,c=4==t,f=6==t,d=5==t||f,h=e||s;return function(e,s,v){for(var p,m,g=r(e),_=o(g),y=i(s,v,3),x=a(_.length),b=0,S=n?h(e,x):l?h(e,0):void 0;x>b;b++)if((d||b in _)&&(p=_[b],m=y(p,b,g),t))if(n)S[b]=m;else if(m)switch(t){case 3:return!0;case 5:return p;case 6:return b;case 2:S.push(p)}else if(c)return!1;return f?-1:u||c?c:S}}},function(t,e,n){var i=n(231);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,o){return t.call(e,n,i,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(325),o=n(270),r=n(218),a=n(255),s=n(216),l=n(535),u=Object.getOwnPropertyDescriptor;e.f=n(103)?u:function(t,e){if(t=r(t),e=a(e,!0),l)try{return u(t,e)}catch(t){}if(s(t,e))return o(!i.f.call(t,e),t[e])}},function(t,e,n){var i=n(11),o=n(102),r=n(61);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*r(function(){n(1)}),"Object",a)}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(121),o=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=o.default[1]},function(t,e,n){"use strict";function i(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.result,o=void 0===n?[]:n,r=e.dimensions,a=void 0===r?3:r,s=0;s4&&void 0!==arguments[4]?arguments[4]:1,r=[];if(i=i||0,n)for(var a=0,s=t.length/2;a1&&void 0!==arguments[1]&&arguments[1]?[t+1&255,t+1>>8&255,t+1>>8>>8&255,255]:[t+1&255,t+1>>8&255,t+1>>8>>8&255]}function r(t){var e=(0,h.default)(t,3);return e[0]+256*e[1]+65536*e[2]-1}function a(t){for(var e=new f.default,n=[],i=0;in;)o[n]=e[n++];return o},kt=function(t,e,n){Y(t,e,{get:function(){return this._d[n]}})},Lt=function(t){var e,n,i,o,r,a,s=S(t),l=arguments.length,c=l>1?arguments[1]:void 0,f=void 0!==c,d=T(s);if(void 0!=d&&!A(d)){for(a=d.call(s),i=[],e=0;!(r=a.next()).done;e++)i.push(r.value);s=i}for(f&&l>2&&(c=u(c,arguments[2],2)),e=0,n=p(s.length),o=It(this,n);n>e;e++)o[e]=f?c(s[e],e):s[e];return o},Ct=function(){for(var t=0,e=arguments.length,n=It(this,e);e>t;)n[t]=arguments[t++];return n},Mt=!!Z&&r(function(){ht.call(new Z(1))}),Rt=function(){return ht.apply(Mt?ft.call(Et(this)):Et(this),arguments)},Bt={copyWithin:function(t,e){return z.call(Et(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return J(Et(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return D.apply(Et(this),arguments)},filter:function(t){return Tt(this,q(Et(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return $(Et(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Et(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(Et(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(Et(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(Et(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ut.apply(Et(this),arguments)},lastIndexOf:function(t){return at.apply(Et(this),arguments)},map:function(t){return bt(Et(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(Et(this),arguments)},reduceRight:function(t){return lt.apply(Et(this),arguments)},reverse:function(){for(var t,e=this,n=Et(e).length,i=Math.floor(n/2),o=0;o1?arguments[1]:void 0)},sort:function(t){return ct.call(Et(this),t)},subarray:function(t,e){var n=Et(this),i=n.length,o=g(t,i);return new(M(n,n[gt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,p((void 0===e?i:g(e,i))-o))}},Nt=function(t,e){return Tt(this,ft.call(Et(this),t,e))},Ot=function(t){Et(this);var e=wt(arguments[1],1),n=this.length,i=S(t),o=p(i.length),r=0;if(o+e>n)throw j("Wrong length!");for(;r255?255:255&i),o.v[h](n*e+o.o,i,St)},k=function(t,e){Y(t,e,{get:function(){return T(this,e)},set:function(t){return P(this,e,t)},enumerable:!0})};y?(v=n(function(t,n,i,o){c(t,v,u,"_d");var r,a,s,l,f=0,h=0;if(b(n)){if(!(n instanceof H||"ArrayBuffer"==(l=x(n))||"SharedArrayBuffer"==l))return yt in n?Pt(v,n):Lt.call(v,n);r=n,h=wt(i,e);var g=n.byteLength;if(void 0===o){if(g%e)throw j("Wrong length!");if((a=g-h)<0)throw j("Wrong length!")}else if((a=p(o)*e)+h>g)throw j("Wrong length!");s=a/e}else s=m(n),a=s*e,r=new H(a);for(d(t,"_d",{b:r,o:h,l:a,e:s,v:new X(r)});f0&&void 0!==arguments[0]?arguments[0]:m.CONTROL_POSITION.TOP_LEFT;return t!==this.position&&(this.appendToContainer(t),this.position=t),this}},{key:"setClassName",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.dom&&(this.dom.className=t),this.className=t,this}},{key:"getDomPositionContainer",value:function(t){var e=t.id,n=this.options,i=n.position,o=n.className;return this.setPosition(i),this.setClassName(o),b[e][i]}},{key:"appendToContainer",value:function(t){if(!this.map||!this.map.id)return void console.error("当前没有添加该控件,请先添加控件再设置位置!");var e=this.map.id;if(b[e]||(b[e]={}),!b[e][t]){b[e][t]=document.createElement("div");var n=b[e][t];n.style.right="auto",n.style.left="auto",n.style.top="auto",n.style.bottom="auto",n.style.cssText+=m.CONTROL_POSITION_STYLE[t],m.CONTROL_POSITION.BOTTOM_LEFT,this.dom.parentNode&&this.dom.parentNode.parentNode&&this.dom.parentNode.parentNode.appendChild(n)}return b[e][t].firstChild?b[e][t].insertBefore(this.dom,b[e][t].firstChild):b[e][t].appendChild(this.dom),b[e][t]}},{key:"createDOM",value:function(){}},{key:"onInit",value:function(){}},{key:"onDestroy",value:function(){}},{key:"onAdd",value:function(){}},{key:"onRemove",value:function(){}},{key:"addTo",value:function(t,e){this.map=t;var n=this.getDomPositionContainer(t);e.appendChild(n),this.onAdd()}},{key:"remove",value:function(){var t=this.map&&this.map.id;if(this.dom){var e=this.dom.parentNode;this.dom.remove(),e&&!e.firstChild&&(e.remove(),e=null,x(this.position)&&t&&delete b[t][this.position]),this.position=null,this.onRemove(),this.map=null}}},{key:"destroy",value:function(){this.remove(),this.onDestroy(),this.removeAllListeners(),this.dom=null,this.className=null,this.position=null,this.id=null}}]),e}(p.default);e.default=S},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),r=i(o),a=n(0),s=i(a),l=n(1),u=i(l),c=n(5),f=i(c),d=n(4),h=i(d),v=n(305),p=i(v),m=n(28),g=n(36),_=i(g),y=n(138),x=n(23),b=n(106),S=n(10),A=_.default.isNumber,w=_.default.isUndefined,E=function(t){function e(t){(0,s.default)(this,e);var n=(0,f.default)(this,(e.__proto__||(0,r.default)(e)).call(this));return n.id=t.id||S.uniqueId(),n.type=t.type||null,n.sourceId=t.sourceId||null,n.setZoomRange(t.minZoom,t.maxZoom),n.setDataZoomRange(t.minDataZoom||t.minZoom,t.maxDataZoom||t.maxZoom),n.visible=!!w(t.visible)||Boolean(t.visible),n.setLevel(t.level||y.LAYER_LEVEL.GROUND),n.setZIndex(t.zIndex||0),n.setOpacity(t.opacity),n._childLayers={},n._initialize(t),t.map&&n.setMap(t.map),n}return(0,h.default)(e,t),(0,u.default)(e,[{key:"getId",value:function(){return this.id}},{key:"setVisible",value:function(t){return t=Boolean(t),this._forEachChild(function(e,n){n.setVisible(t)}),this.visible===t?this:(this.visible=t,this._fire("layer",{}),this)}},{key:"setZIndex",value:function(t){return A(t)||(new m.BaseTypeError("Layer.zIndex","number",t).error(),t=0),this._forEachChild(function(e,n){n.setZIndex(t)}),this.zIndex=t,this.setRank((0,y.getRank)(this.level,this.zIndex)),this}},{key:"setLevel",value:function(t){this.level=t,this.setRank((0,y.getRank)(this.level,this.zIndex))}},{key:"setRank",value:function(t){this.rank=t,this._forEachChild(function(e,n){n.setRank(t)}),this.emit("rank_changed")}},{key:"getRank",value:function(){return this.rank}},{key:"setMap",value:function(t){return t instanceof p.default||null===t?this.map===t?this:(this.map&&(this.map.removeLayer(this.id),this._removeSource(),this.map=null),t&&(this.map=t,t.addLayer(this),this._addSource()),this):(console.error("传入的map参数并非TMap.Map实例"),this)}},{key:"getMap",value:function(){return this.map}},{key:"getZIndex",value:function(){return this.zIndex}},{key:"setZoomRange",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.minZoom,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.maxZoom;return A(t)||(new m.BaseTypeError("Layer.minZoom","number",t).error(),t=x.minZoom),A(e)||(new m.BaseTypeError("Layer.maxZoom","number",e).error(),e=x.maxZoom),this._forEachChild(function(n,i){i.setZoomRange(t,e)}),this.minZoom=t,this.maxZoom=e,this}},{key:"setDataZoomRange",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.minZoom,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.maxZoom;return A(t)||(new m.BaseTypeError("Layer.minDataZoom","number",t).error(),t=x.minZoom),A(e)||(new m.BaseTypeError("Layer.maxDataZoom","number",e).error(),e=x.maxZoom),this._forEachChild(function(n,i){i.setDataZoomRange(t,e)}),this.minDataZoom=t,this.maxDataZoom=e,this}},{key:"setOpacity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return A(t)||(new m.BaseTypeError("Layer.opacity","number",t).error(),t=1),(t<0||t>1)&&(console.error("Layer.opacity 传入参数值范围应当在0~1之间!"),t=S.clamp(t,0,1)),this.opacity=t,this}},{key:"_removeSource",value:function(){}},{key:"_addSource",value:function(){}},{key:"_initialize",value:function(){}},{key:"isHidden",value:function(t){return!!(this.minZoom&&tthis.maxZoom)||!this.visible)}},{key:"appendChild",value:function(t){var n=t instanceof e?t:new e(t);return n.setMap(null),n.setZIndex(this.zIndex),n.setRank(this.rank),n.setZoomRange(this.minZoom,this.maxZoom),n.setVisible(this.visible),this._childLayers[n.id]=n,n}},{key:"removeChild",value:function(t){this._childLayers[t]&&delete this._childLayers[t]}},{key:"hasChild",value:function(t){return!!this._childLayers[t]}},{key:"getChild",value:function(t){return this.hasChild(t)?this._childLayers[t]:null}},{key:"_forEachChild",value:function(t){S.forIn(this._childLayers,function(e,n){t(e,n)})}},{key:"flat",value:function(){var t=[];return this.sourceId&&t.push(this),this._forEachChild(function(e,n){t=t.concat(n.flat())}),t}}]),e}(b);e.default=E},,function(t,e,n){var i=n(24),o=n(80),r=n(32),a=n(51),s=n(315);t.exports=function(t,e){var n=1==t,l=2==t,u=3==t,c=4==t,f=6==t,d=5==t||f,h=e||s;return function(e,s,v){for(var p,m,g=r(e),_=o(g),y=i(s,v,3),x=a(_.length),b=0,S=n?h(e,x):l?h(e,0):void 0;x>b;b++)if((d||b in _)&&(p=_[b],m=y(p,b,g),t))if(n)S[b]=m;else if(m)switch(t){case 3:return!0;case 5:return p;case 6:return b;case 2:S.push(p)}else if(c)return!1;return f?-1:u||c?c:S}}},function(t,e,n){"use strict";var i=n(14).f,o=n(50),r=n(99),a=n(24),s=n(91),l=n(71),u=n(72),c=n(108),f=n(120),d=n(12),h=n(41).fastKey,v=n(185),p=d?"_s":"size",m=function(t,e){var n,i=h(e);if("F"!==i)return t._i[i];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var c=t(function(t,i){s(t,c,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[p]=0,void 0!=i&&l(i,n,t[u],t)});return r(c.prototype,{clear:function(){for(var t=v(this,e),n=t._i,i=t._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete n[i.i];t._f=t._l=void 0,t[p]=0},delete:function(t){var n=v(this,e),i=m(n,t);if(i){var o=i.n,r=i.p;delete n._i[i.i],i.r=!0,r&&(r.n=o),o&&(o.p=r),n._f==i&&(n._f=o),n._l==i&&(n._l=r),n[p]--}return!!i},forEach:function(t){v(this,e);for(var n,i=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(i(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!m(v(this,e),t)}}),d&&i(c.prototype,"size",{get:function(){return v(this,e)[p]}}),c},def:function(t,e,n){var i,o,r=m(t,e);return r?r.v=n:(t._l=r={i:o=h(e,!0),k:e,v:n,p:i=t._l,n:void 0,r:!1},t._f||(t._f=r),i&&(i.n=r),t[p]++,"F"!==o&&(t._i[o]=r)),t},getEntry:m,setStrong:function(t,e,n){u(t,e,function(t,n){this._t=v(t,e),this._k=n,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?c(0,n.k):"values"==e?c(0,n.v):c(0,[n.k,n.v]):(t._t=void 0,c(1))},n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){var i=n(48),o=n(313);t.exports=function(t){return function(){if(i(this)!=t)throw TypeError(t+"#toJSON isn't generic");return o(this)}}},function(t,e,n){var i=n(78)("unscopables"),o=Array.prototype;void 0==o[i]&&n(217)(o,i,{}),t.exports=function(t){o[i][t]=!0}},function(t,e){t.exports=!1},function(t,e,n){var i=n(60),o=n(544),r=n(427),a=n(438)("IE_PROTO"),s=function(){},l=function(){var t,e=n(426)("iframe"),i=r.length;for(e.style.display="none",n(429).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("