/*! Released Version 2.5.0,BUILD 1. Fengmap Javascript SDK, see: https://www.fengmap.com for details */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.navigation=e():t.navigation=e()}(this,function(){return(n=[function(t,e,n){t.exports=n(104)},function(t,e,n){var g=n(3),v=n(2),y=n(70),_=n(14),m=n(11),b="prototype",w=function(t,e,n){var r,i,o,s=t&w.F,a=t&w.G,u=t&w.S,c=t&w.P,h=t&w.B,l=t&w.W,f=a?v:v[e]||(v[e]={}),p=f[b],d=a?g:u?g[e]:(g[e]||{})[b];for(r in a&&(n=e),n)i=!s&&d&&void 0!==d[r],i&&m(f,r)||(o=i?d[r]:n[r],f[r]=a&&"function"!=typeof d[r]?n[r]:h&&i?y(o,g):l&&d[r]==o?function(r){var t=function(t,e,n){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(t);case 2:return new r(t,e)}return new r(t,e,n)}return r.apply(this,arguments)};return t[b]=r[b],t}(o):c&&"function"==typeof o?y(Function.call,o):o,c&&((f.virtual||(f.virtual={}))[r]=o,t&w.R&&p&&!p[r]&&_(p,r,o)))};w.F=1,w.G=2,w.S=4,w.P=8,w.B=16,w.W=32,w.U=64,w.R=128,t.exports=w},function(t){var e=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)},function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,e,n){t.exports=!n(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t){function e(t){return t&&t.__esModule?t:{default:t}}t.exports=e},function(t,e,n){var r=n(16);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(22),i=n(71),o=n(39),s=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(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){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,e,n){"use strict";var r=n(38),i=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=l;var o=Object.create(n(26));o.inherits=n(20);var s=n(96),a=n(68);o.inherits(l,s);for(var u=i(a.prototype),c=0;c";for(e.style.display="none",o(142).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+i+"document.F=Object"+r+"/script"+i),t.close(),h=t.F;n--;)delete h[c][s[n]];return h()};t.exports=Object.create||function(t,e){var n;return null!==t?(u[c]=r(t),n=new u,u[c]=null,n[a]=t):n=h(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(9).f,i=n(11),o=n(19)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){e.f=n(19)},function(t,e,n){var r=n(3),i=n(2),o=n(33),s=n(60),a=n(9).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,n){"use strict";var r,i,s=n(63),a=RegExp.prototype.exec,u=String.prototype.replace,o=a,c="lastIndex",h=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r[c]||0!==i[c]),l=void 0!==/()??/.exec("")[1],f=h||l;f&&(o=function(t){var e,n,r,i,o=this;return l&&(n=new RegExp("^"+o.source+"$(?!\\s)",s.call(o))),h&&(e=o[c]),r=a.call(o,t),h&&r&&(o[c]=o.global?r.index+r[0].length:e),l&&r&&1i&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=s.length,u(a)}return t}function a(){for(var t=[],e=0;e=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|t}function y(t){return+t!=t&&(t=0),l.alloc(+t)}function _(t,e){if(l.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return X(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return $(t).length;default:if(r)return X(t).length;e=(""+e).toLowerCase(),r=!0}}function m(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t=t||"utf8";;)switch(t){case"hex":return C(this,e,n);case"utf8":case"utf-8":return R(this,e,n);case"ascii":return O(this,e,n);case"latin1":case"binary":return P(this,e,n);case"base64":return A(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function b(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function w(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):2147483647=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:x(t,e,n,r,i);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):x(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function x(t,e,n,r,i){var o,s=1,a=t.length,u=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,n/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var h=-1;for(o=n;o>>10&1023|55296),h=56320|1023&h),r.push(h),i+=l}return L(r)}tt.Buffer=l,tt.SlowBuffer=y,tt.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:e(),tt.kMaxLength=n(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return i(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return c(null,t,e,n)},l.allocUnsafe=function(t){return h(null,t)},l.allocUnsafeSlow=function(t){return h(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);ie&&(t+=" ... ")),""},l.prototype.compare=function(t,e,n,r,i){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(i<=r&&n<=e)return 0;if(i<=r)return-1;if(n<=e)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,s=n-e,a=Math.min(o,s),u=this.slice(r,i),c=t.slice(e,n),h=0;hthis.length)throw new RangeError("Attempt to write outside buffer bounds");r=r||"utf8";for(var o=!1;;)switch(r){case"hex":return M(this,t,e,n);case"utf8":case"utf-8":return k(this,t,e,n);case"ascii":return T(this,t,e,n);case"latin1":case"binary":return S(this,t,e,n);case"base64":return E(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function L(t){var e=t.length;if(e<=I)return String.fromCharCode.apply(String,t);for(var n="",r=0;rt.length)throw new RangeError("Index out of range")}function F(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function U(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function B(t,e,n,r){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function G(t,e,n,r,i){return i||B(t,e,n,4,34028234663852886e22,-34028234663852886e22),o.write(t,e,n,r,23,4),n+4}function V(t,e,n,r,i){return i||B(t,e,n,8,17976931348623157e292,-17976931348623157e292),o.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):r>>8):F(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):U(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):U(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);N(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o>0)-a&255;return e+n},l.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);N(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;0<=--o&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):U(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):U(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return G(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return G(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return V(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return V(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(n=n||0,r||0===r||(r=this.length),e>=t.length&&(e=t.length),e=e||0,0=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e>>=0,n=void 0===n?this.length:n>>>0,t=t||0,"number"==typeof t)for(o=e;o>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Z(t){for(var e=[],n=0;n>8,i=n%256,o.push(i),o.push(r);return o}function $(t){return r.toByteArray(W(t))}function J(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function K(t){return t!=t}}).call(this,et(21))},function(z,t,j){"use strict";(function(t,e,n){var s=j(38);function f(t){var e=this;this.next=null,this.entry=null,this.finish=function(){C(e,t)}}z.exports=_;var a,u=!t.browser&&-1<["v0.10","v0.9."].indexOf(t.version.slice(0,5))?e:s.nextTick;_.WritableState=y;var r=Object.create(j(26));r.inherits=j(20);var i={deprecate:j(199)},o=j(97),c=j(66).Buffer,h=n.Uint8Array||function(){};function l(t){return c.from(t)}function p(t){return c.isBuffer(t)||t instanceof h}var d,g=j(98);function v(){}function y(t,e){a=a||j(13),t=t||{};var n=e instanceof a;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,i=t.writableHighWaterMark,o=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n&&(i||0===i)?i:o,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){S(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new f(this)}function _(t){if(a=a||j(13),!(d.call(_,this)||this instanceof a))return new _(t);this._writableState=new y(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),o.call(this)}function m(t,e){var n=new Error("write after end");t.emit("error",n),s.nextTick(e,n)}function b(t,e,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),s.nextTick(r,o),i=!1),i}function w(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=c.from(e,n)),e}function x(t,e,n,r,i,o){if(!n){var s=w(e,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=e.objectMode?1:r.length;e.length+=a;var u=e.length>8&255]+o[t>>16&255]+o[t>>24&255]+"-"+o[255&e]+o[e>>8&255]+"-"+o[e>>16&15|64]+o[e>>24&255]+"-"+o[63&n|128]+o[n>>8&255]+"-"+o[n>>16&255]+o[n>>24&255]+o[255&r]+o[r>>8&255]+o[r>>16&255]+o[r>>24&255];return i.toUpperCase()}}(),clamp:function(t,e,n){return Math.max(e,Math.min(n,t))},euclideanModulo:function(t,e){return(t%e+e)%e},mapLinear:function(t,e,n,r,i){return r+(t-e)*(i-r)/(n-e)},lerp:function(t,e,n){return(1-n)*t+n*e},smoothstep:function(t,e,n){return t<=e?0:n<=t?1:(t=(t-e)/(n-e),t*t*(3-2*t))},smootherstep:function(t,e,n){return t<=e?0:n<=t?1:(t=(t-e)/(n-e),t*t*t*(t*(6*t-15)+10))},randInt:function(t,e){return t+Math.floor(Math.random()*(e-t+1))},randFloat:function(t,e){return t+Math.random()*(e-t)},randFloatSpread:function(t){return t*(.5-Math.random())},degToRad:function(t){return t*i.DEG2RAD},radToDeg:function(t){return t*i.RAD2DEG},isPowerOfTwo:function(t){return 0==(t&t-1)&&0!==t},ceilPowerOfTwo:function(t){return Math.pow(2,Math.ceil(Math.log(t)/Math.LN2))},floorPowerOfTwo:function(t){return Math.pow(2,Math.floor(Math.log(t)/Math.LN2))}};e._Math=i},function(t,e,n){var o=n(106);t.exports=function(r,i,t){if(o(r),void 0===i)return r;switch(t){case 1:return function(t){return r.call(i,t)};case 2:return function(t,e){return r.call(i,t,e)};case 3:return function(t,e,n){return r.call(i,t,e,n)}}return function(){return r.apply(i,arguments)}}},function(t,e,n){t.exports=!n(4)&&!n(10)(function(){return 7!=Object.defineProperty(n(72)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(15),i=n(3).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){t.exports=!n(7)&&!n(8)(function(){return 7!=Object.defineProperty(n(74)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(16),i=n(12).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var o=n(77);t.exports=function(r,i,t){if(o(r),void 0===i)return r;switch(t){case 1:return function(t){return r.call(i,t)};case 2:return function(t,e){return r.call(i,t,e)};case 3:return function(t,e,n){return r.call(i,t,e,n)}}return function(){return r.apply(i,arguments)}}},function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(118),i=n(75),o=n(47),s=n(44),a=n(29),u=n(73),c=Object.getOwnPropertyDescriptor;e.f=n(7)?c:function(t,e){if(t=o(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var s=n(29),a=n(47),u=n(121)(!1),c=n(81)("IE_PROTO");t.exports=function(t,e){var n,r=a(t),i=0,o=[];for(n in r)n!=c&&s(r,n)&&o.push(n);for(;e.length>i;)s(r,n=e[i++])&&(~u(o,n)||o.push(n));return o}},function(t,e,n){var r=n(48),i=Math.min;t.exports=function(t){return 0i;)s(r,n=e[i++])&&(~u(o,n)||o.push(n));return o}},function(t,e,n){var r=n(84);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,e,n){"use strict";var m=n(33),b=n(1),w=n(86),x=n(14),M=n(57),k=n(141),T=n(59),S=n(88),E=n(19)("iterator"),D=!([].keys&&"next"in[].keys()),A="@@iterator",R="keys",I="values",L=function(){return this};t.exports=function(t,e,n,r,i,o,s){k(n,e,r);var a,u,c,h=function(t){if(!D&&t in d)return d[t];switch(t){case R:case I:return function(){return new n(this,t)}}return function(){return new n(this,t)}},l=e+" Iterator",f=i==I,p=!1,d=t.prototype,g=d[E]||d[A]||i&&d[i],v=g||h(i),y=i?f?h("entries"):v:void 0,_="Array"==e&&d.entries||g;if(_&&(c=S(_.call(new t)),c!==Object.prototype&&c.next&&(T(c,l,!0),m||"function"==typeof c[E]||x(c,E,L))),f&&g&&g.name!==I&&(p=!0,v=function(){return g.call(this)}),m&&!s||!D&&!p&&d[E]||x(d,E,v),M[e]=v,M[l]=L,i)if(a={values:f?v:h(I),keys:o?v:h(R),entries:y},s)for(u in a)u in d||w(d,u,a[u]);else b(b.P+b.F*(D||p),e,a);return a}},function(t,e,n){t.exports=n(14)},function(t,e,n){var s=n(9),a=n(22),u=n(31);t.exports=n(4)?Object.defineProperties:function(t,e){a(t);for(var n,r=u(e),i=r.length,o=0;o>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function E(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=S(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function D(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,A(t)}}function A(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(b("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?_.nextTick(R,t):R(t))}function R(t){b("emit readable"),t.emit("readable"),j(t)}function I(t,e){e.readingMore||(e.readingMore=!0,_.nextTick(L,t,e))}function L(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=F(t,e.buffer,e.decoder),n);var n}function F(t,e,n){var r;return to.length?o.length:t;if(s===o.length?i+=o:i+=o.slice(0,t),t-=s,0===t){s===o.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(s));break}++r}return e.length-=r,i}function B(t,e){var n=a.allocUnsafe(t),r=e.head,i=1;for(r.data.copy(n),t-=r.data.length;r=r.next;){var o=r.data,s=t>o.length?o.length:t;if(o.copy(n,n.length-t,0,s),t-=s,0===t){s===o.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(s));break}++i}return e.length-=i,n}function G(t){var e=t._readableState;if(0=e.highWaterMark||e.ended))return b("read: emitReadable",e.length,e.ended),(0===e.length&&e.ended?G:A)(this),null;if(t=E(t,e),0===t&&e.ended)return 0===e.length&&G(this),null;var r,i=e.needReadable;return b("need readable",i),(0===e.length||e.length-t>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function c(t,e,n){var r=e.length-1;if(rM.default){var m=Math.sqrt(_),b=Math.atan2(m,v*y);g=Math.sin(g*b)/m,s=Math.sin(s*b)/m}var w=s*y;if(a=a*g+l*w,u=u*g+f*w,c=c*g+p*w,h=h*g+d*w,g===1-s){var x=1/Math.sqrt(a*a+u*u+c*c+h*h);a*=x,u*=x,c*=x,h*=x}}t[e]=a,t[e+1]=u,t[e+2]=c,t[e+3]=h}}),(0,o.default)(u.prototype,{x:{get:function(){return this._x},set:function(t){this._x=t,this._onChangeCallback()}},y:{get:function(){return this._y},set:function(t){this._y=t,this._onChangeCallback()}},z:{get:function(){return this._z},set:function(t){this._z=t,this._onChangeCallback()}},w:{get:function(){return this._w},set:function(t){this._w=t,this._onChangeCallback()}}}),(0,s.default)(u.prototype,{isQuaternion:!0,set:function(t,e,n,r){return this._x=t,this._y=e,this._z=n,this._w=r,this._onChangeCallback(),this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._w)},copy:function(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this},setFromEuler:function(t,e){if(!t||!t.isEuler)throw new Error("THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.");var n=t._x,r=t._y,i=t._z,o=t.order,s=Math.cos,a=Math.sin,u=s(n/2),c=s(r/2),h=s(i/2),l=a(n/2),f=a(r/2),p=a(i/2);return"XYZ"===o?(this._x=l*c*h+u*f*p,this._y=u*f*h-l*c*p,this._z=u*c*p+l*f*h,this._w=u*c*h-l*f*p):"YXZ"===o?(this._x=l*c*h+u*f*p,this._y=u*f*h-l*c*p,this._z=u*c*p-l*f*h,this._w=u*c*h+l*f*p):"ZXY"===o?(this._x=l*c*h-u*f*p,this._y=u*f*h+l*c*p,this._z=u*c*p+l*f*h,this._w=u*c*h-l*f*p):"ZYX"===o?(this._x=l*c*h-u*f*p,this._y=u*f*h+l*c*p,this._z=u*c*p-l*f*h,this._w=u*c*h+l*f*p):"YZX"===o?(this._x=l*c*h+u*f*p,this._y=u*f*h+l*c*p,this._z=u*c*p-l*f*h,this._w=u*c*h-l*f*p):"XZY"===o&&(this._x=l*c*h-u*f*p,this._y=u*f*h-l*c*p,this._z=u*c*p+l*f*h,this._w=u*c*h+l*f*p),!1!==e&&this._onChangeCallback(),this},setFromAxisAngle:function(t,e){var n=e/2,r=Math.sin(n);return this._x=t.x*r,this._y=t.y*r,this._z=t.z*r,this._w=Math.cos(n),this._onChangeCallback(),this},setFromRotationMatrix:function(t){var e,n=t.elements,r=n[0],i=n[4],o=n[8],s=n[1],a=n[5],u=n[9],c=n[2],h=n[6],l=n[10],f=r+a+l;return 0Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0):(this._x=0,this._y=-t.z,this._z=t.y)):(this._x=t.y*e.z-t.z*e.y,this._y=t.z*e.x-t.x*e.z,this._z=t.x*e.y-t.y*e.x),this._w=r,this.normalize()},angleTo:function(t){return 2*Math.acos(Math.abs(a._Math.clamp(this.dot(t),-1,1)))},rotateTowards:function(t,e){var n=this.angleTo(t);if(0===n)return this;var r=Math.min(1,e/n);return this.slerp(t,r),this},inverse:function(){return this.conjugate()},conjugate:function(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this},dot:function(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w},lengthSq:function(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w},length:function(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)},normalize:function(){var t=this.length();return 0===t?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this},multiply:function(t,e){return void 0!==e?(console.warn("THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead."),this.multiplyQuaternions(t,e)):this.multiplyQuaternions(this,t)},premultiply:function(t){return this.multiplyQuaternions(t,this)},multiplyQuaternions:function(t,e){var n=t._x,r=t._y,i=t._z,o=t._w,s=e._x,a=e._y,u=e._z,c=e._w;return this._x=n*c+o*s+r*u-i*a,this._y=r*c+o*a+i*s-n*u,this._z=i*c+o*u+n*a-r*s,this._w=o*c-n*s-r*a-i*u,this._onChangeCallback(),this},slerp:function(t,e){if(0===e)return this;if(1===e)return this.copy(t);var n=this._x,r=this._y,i=this._z,o=this._w,s=o*t._w+n*t._x+r*t._y+i*t._z;if(s<0?(this._w=-t._w,this._x=-t._x,this._y=-t._y,this._z=-t._z,s=-s):this.copy(t),1<=s)return this._w=o,this._x=n,this._y=r,this._z=i,this;var a=1-s*s;if(a<=M.default){var u=1-e;return this._w=u*o+e*this._w,this._x=u*n+e*this._x,this._y=u*r+e*this._y,this._z=u*i+e*this._z,this.normalize(),this._onChangeCallback(),this}var c=Math.sqrt(a),h=Math.atan2(c,s),l=Math.sin((1-e)*h)/c,f=Math.sin(e*h)/c;return this._w=o*l+this._w*f,this._x=n*l+this._x*f,this._y=r*l+this._y*f,this._z=i*l+this._z*f,this._onChangeCallback(),this},equals:function(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w},fromArray:function(t,e){return void 0===e&&(e=0),this._x=t[e],this._y=t[e+1],this._z=t[e+2],this._w=t[e+3],this._onChangeCallback(),this},toArray:function(t,e){return void 0===t&&(t=[]),void 0===e&&(e=0),t[e]=this._x,t[e+1]=this._y,t[e+2]=this._z,t[e+3]=this._w,t},_onChange:function(t){return this._onChangeCallback=t,this},_onChangeCallback:function(){}})},function(t,e,n){"use strict";var r=n(5),i=n(0);i(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(107)),s=r(n(108)),a=r(n(207)),u=r(n(208)),c=n(101),h=n(69),l=n(218),f=n(102),p=window.fengmap||{},d={VERSION:o.default.VERSION,BUILD:o.default.BUILD,FMNavigation:s.default,FMNaviMode:a.default,FMNaviPriority:u.default};for(var g in d)d.hasOwnProperty(g)&&(p[g]=d[g]);window.fengmap=p,window.Geo=window.Geo||{Vector3:c.Vector3,_Math:h._Math,Matrix4:l.Matrix4,Quaternion:f.Quaternion};var v=p;e.default=v},function(t,e,n){n(105);var r=n(2).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(1);r(r.S+r.F*!n(4),"Object",{defineProperty:n(9).f})},function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=n(0);r(e,"__esModule",{value:!0}),e.default=void 0;var i={VERSION:"2.5.0",BUILD:2},o=i;e.default=o},function(t,e,n){"use strict";var r=n(5),i=n(0);i(e,"__esModule",{value:!0}),e.default=void 0,n(40);var c=r(n(112));n(115);var P,h,o,s,a,u,C,p,l,f,d,g,y=r(n(17)),v=r(n(55)),_=r(n(56)),m=r(n(135)),b=r(n(157)),w=r(n(91)),x=r(n(165)),M=r(n(170));if(n(189),n(206),window.fengmap){var k={};window.fengmap,k=window.fengmap.inner||{},P=k.Graphics||{},h=k.FMSegment||{},o=k.FMNaviMode||{},s=k.FMNaviPriority||{},a=k.FMRouteCalcuResult||{},u=k.EventDispatcher||{},C=k.DataManager||{},p=k.FMUtil||{},l=k.FMImageMarker||{},f=k.FMLineMarker||{},d=k.FMLocationMarker||{},g=k.FMLanguageType||{}}var T=function(t){function n(t){var e;return(0,v.default)(this,n),e=(0,m.default)(this,(0,b.default)(n).call(this)),t.map&&t.scaleLevel&&!t.scale&&(t.scale=t.map.mapScaleLevels[t.scaleLevel]),t.map&&t.offsetHeight&&!t.lineMarkerHeight&&(t.lineMarkerHeight=t.offsetHeight),e.map=null,e.sceneData=null,e.speed=5,e.followSpeed=.2,e.followPosition=!0,e.followAngle=!1,e.locationMarkerFollowAngle=!0,e.isMultiGroups=!1,e.inTime=1.2,e.tiltAngle=80,e.changeGroupTiltAngle=30,e.scale=282,e.changeTiltAngle=!0,e.minScale=141,e.extendScale=1.3,e.locationMarkerUrl="",e.locationMarkerSize=100,e.locationMarkerHeight=3,e.lineMarkerHeight=1,e.imageMarkerHeight=6,e.directionAssert=10,e.combineAsset=5,e.completeDistance=0,e.naviLanguage=g.ZH,e.naviMode=o.MODULE_SHORTEST,e.naviPriority=s.PRIORITY_DEFAULT,e.autoRoute=!0,e.autoClearNaviLine=!0,e.lineStyle={lineWidth:10,radius:.5,dash:{size:4,gap:2}},(0,y.default)((0,w.default)(e),t),e._init(),e}return(0,x.default)(n,t),(0,_.default)(n,[{key:"_init",value:function(){this.map&&(this._analyser=new fengmap.FMNaviAnalyser,this._analyser.init(this.map),this._naviDescriptionsCalculator=new M.default({map:this.map,directionAssert:this.directionAssert,combineAsset:this.combineAsset,naviLanguage:this.naviLanguage,completeDistance:this.completeDistance})),this._simulateParams=null,this._startData=null,this._endData=null,this._startMarker=null,this._endMarker=null,this._startMarkerLayer=null,this._endMarkerLayer=null,this._locationMarker=null,this._naviLineMarkers=[],this._naviResults=[],this._naviDescriptions=[],this._naviDescriptionsData=[],this._naviDistance=0,this._naviGroupsDistance=null,this._naviEntracesDistance=[null,null],this._timer=new fm.Clock,this._pause=!1,this._toPos=null,this._toRot=null,this._allLen=0,this._preGid=0,this._locateLastGroupID=null,this._changeGrouping=!1,this._animateFun=null,this._isSimulating=!1,this._isEnd=!1,this._groupPointsIndex=0,this._gpsData=null,this._tiltToAnimater=null,this._scaleToAnimater=null,this._moveToAnimater=null,this._focusGroupToAnimater=null}},{key:"on",value:function(t,e){this.addEventListener(t,e)}},{key:"off",value:function(t,e){this.removeEventListener(t,e)}},{key:"dispose",value:function(){this.stop(),this.map=null,this._analyser&&(this._analyser.dispose(),this._analyser=null),this._naviDescriptionsCalculator&&(this._naviDescriptionsCalculator.dispose(),this._naviDescriptionsCalculator=null)}},{key:"getRouteDescriptions",value:function(t,e){var n=t||this._naviResults;if(!this._isNaviResultsValide(n))return{};var r=(0,y.default)({},e);r.map||(r.map=this._map,r.analyser=this);var i=new M.default(r),o=i.calculate(n);return{naviDescriptions:o[0],naviDescriptionsData:o[1],naviDistance:o[2],naviGroupsDistance:o[3]}}},{key:"setLineStyle",value:function(t){this._naviLineMarker&&this._naviLineMarker.updateStyle(t),this.lineStyle=t}},{key:"setNaviLanguage",value:function(t){if(!t||"string"!=typeof t)return!1;var e=t.toLowerCase();if(e!=g.ZH&&e!=g.EN)return!1;if(this.naviLanguage!=e&&(this.naviLanguage=e,this._naviDescriptionsCalculator&&(this._naviDescriptionsCalculator.naviLanguage=e),0e.index;d--)if(d-1>e.index){var g=n[d],v=n[d-1];g.groupID==v.groupID&&(p+=P.distanceOfTwoPoints(g,v))}n[e.index+1]&&n[e.index+1].groupID==e.coord.groupID&&(p+=P.distanceOfTwoPoints(n[e.index+1],e.coord)),e.remain=p}return e}}}},{key:"pathConstraint",value:function(t){return this._analyser?this._analyser.pathConstraint(t):null}},{key:"locate",value:function(t,e){this._isSimulating&&this.stop(),t.groupID||t.groupId&&(t.groupID=t.groupId),t.groupID!=this._locateLastGroupID&&(this._locateLastGroupID=t.groupID),this.locateWalking(t,e)}},{key:"locateWalking",value:function(t,e){var n=this.naviConstraint(t);n&&(this.dispatchEvent({type:"walking",distance:n.distance,remain:n.remain,walk:this._naviDistance-n.remain,distanceToNext:n.distanceToNext,angle:n.angle,point:n.coord,groupID:t.groupID,index:n.index,isReal:!0}),this._locationMarker&&(n.coord.height=this.locationMarkerHeight,this._locationMarker.setPosition(n.coord),e?this._locationMarker.rotate(e):this._locationMarker.rotate(n.angle)))}},{key:"locateNoConstraint",value:function(t,e){this._isSimulating&&this.stop(),t.groupID||t.groupId&&(t.groupID=t.groupId),t.groupID!=this._locateLastGroupID&&(this._locateLastGroupID=t.groupID),this.locateWalkingNoConstraint(t,e)}},{key:"locateWalkingNoConstraint",value:function(t,e){var n=this.naviConstraint(t);n&&(this.dispatchEvent({type:"walking",distance:n.distance,remain:n.remain,walk:this._naviDistance-n.remain,distanceToNext:n.distanceToNext,angle:n.angle,point:n.coord,groupID:t.groupID,index:n.index,isReal:!0}),this._locationMarker&&(t.height=this.locationMarkerHeight,this._locationMarker.setPosition(t),e&&this._locationMarker.rotate(e)))}},{key:"clearLocationMarker",value:function(){this._locationMarker&&(this.map.removeLocationMarker(this._locationMarker),this._locationMarker=null)}},{key:"clearMarkers",value:function(){this._startMarker&&(this._startMarkerLayer.removeMarker(this._startMarker),this._startMarkerLayer=null,this._startMarker=null,this._startData=null),this._endMarker&&(this._endMarkerLayer.removeMarker(this._endMarker),this._endMarkerLayer=null,this._endMarker=null,this._endData=null)}},{key:"drawNaviLine",value:function(){if(this._startData&&this._endData)return this._needDrawLines=!1,this.autoClearNaviLine&&this.clearNaviLine(),this._naviLineMarker=this._drawLines(this._naviResults),this._naviLineMarker}},{key:"clearNaviLine",value:function(){this._naviLineMarker&&(this.map.removeLineMarker(this._naviLineMarker),this._naviLineMarker=null)}},{key:"clearNaviLines",value:function(){this.clearNaviLine()}},{key:"focusNaviLineSegment",value:function(t,e){var n,r,i=this,o=null,s=null,a=null;if(this._naviDescriptionsData&&tp&&(h[0]=p),h[1]d&&(h[2]=d),h[3]"+i+""};t.exports=function(e,t){var n={};n[e]=t(o),r(r.P+r.F*i(function(){var t=""[e]('"');return t!==t.toLowerCase()||3x;x++)i(g,b=w[x])&&!i(d,b)&&l(d,b,c(g,b));d.prototype=v,v.constructor=d,n(23)(r,p,d)}},function(t,e,n){var o=n(16),s=n(117).set;t.exports=function(t,e,n){var r,i=e.constructor;return i!==n&&"function"==typeof i&&(r=i.prototype)!==n.prototype&&o(r)&&s&&s(t,r),t}},function(t,e,i){var n=i(16),r=i(6),o=function(t,e){if(r(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=i(76)(Function.call,i(78).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:o}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(30);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(79),i=n(49).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var u=n(47),c=n(80),h=n(122);t.exports=function(a){return function(t,e,n){var r,i=u(t),o=c(i.length),s=h(n,o);if(a&&e!=e){for(;s";for(e.style.display="none",o(128).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+i+"document.F=Object"+r+"/script"+i),t.close(),h=t.F;n--;)delete h[c][s[n]];return h()};t.exports=Object.create||function(t,e){var n;return null!==t?(u[c]=r(t),n=new u,u[c]=null,n[a]=t):n=h(),void 0===e?n:i(n,e)}},function(t,e,n){var s=n(28),a=n(6),u=n(127);t.exports=n(7)?Object.defineProperties:function(t,e){a(t);for(var n,r=u(e),i=r.length,o=0;o=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var u=n(50),c=n(32);t.exports=function(a){return function(t,e){var n,r,i=String(c(t)),o=u(e),s=i.length;return o<0||s<=o?a?"":void 0:(n=i.charCodeAt(o),n<55296||56319=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t){t.exports=function(){}},function(t){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){t.exports=n(148)},function(t,e,n){n(149),n(154),n(155),n(156),t.exports=n(2).Symbol},function(t,e,n){"use strict";var r=n(3),s=n(11),i=n(4),o=n(1),a=n(86),u=n(150).KEY,c=n(10),h=n(52),l=n(59),f=n(34),p=n(19),d=n(60),g=n(61),v=n(151),y=n(152),_=n(22),m=n(15),b=n(36),w=n(18),x=n(39),M=n(27),k=n(58),T=n(153),S=n(90),E=n(54),D=n(9),A=n(31),R=S.f,I=D.f,L=T.f,O=r.Symbol,P=r.JSON,C=P&&P.stringify,z="prototype",j=p("_hidden"),N=p("toPrimitive"),F={}.propertyIsEnumerable,U=h("symbol-registry"),B=h("symbols"),G=h("op-symbols"),V=Object[z],Y="function"==typeof O&&!!E.f,W=r.QObject,q=!W||!W[z]||!W[z].findChild,H=i&&c(function(){return 7!=k(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=R(V,e);r&&delete V[e],I(t,e,n),r&&t!==V&&I(V,e,r)}:I,X=function(t){var e=B[t]=k(O[z]);return e._k=t,e},Z=Y&&"symbol"==typeof O.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof O},Q=function(t,e,n){return t===V&&Q(G,e,n),_(t),e=x(e,!0),_(n),s(B,e)?(n.enumerable?(s(t,j)&&t[j][e]&&(t[j][e]=!1),n=k(n,{enumerable:M(0,!1)})):(s(t,j)||I(t,j,M(1,{})),t[j][e]=!0),H(t,e,n)):I(t,e,n)},$=function(t,e){_(t);for(var n,r=v(e=w(e)),i=0,o=r.length;ii;)s(B,e=n[i++])||e==j||e==u||r.push(e);return r},nt=function(t){for(var e,n=t===V,r=L(n?G:w(t)),i=[],o=0;r.length>o;)!s(B,e=r[o++])||n&&!s(V,e)||i.push(B[e]);return i};Y||(O=function(t){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var e=f(0it;)p(rt[it++]);for(var ot=A(p.store),st=0;ot.length>st;)g(ot[st++]);o(o.S+o.F*!Y,"Symbol",{for:function(t){return s(U,t+="")?U[t]:U[t]=O(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var e in U)if(U[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),o(o.S+o.F*!Y,"Object",{create:J,defineProperty:Q,defineProperties:$,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=c(function(){E.f(1)});o(o.S+o.F*at,"Object",{getOwnPropertySymbols:function(t){return E.f(b(t))}}),P&&o(o.S+o.F*(!Y||c(function(){var t=O();return"[null]"!=C([t])||"{}"!=C({a:t})||"{}"!=C(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;is;)o.call(t,r=i[s++])&&e.push(r);return e}},function(t,e,n){var r=n(84);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(18),i=n(89).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},function(){},function(t,e,n){n(61)("asyncIterator")},function(t,e,n){n(61)("observable")},function(e,t,n){var r=n(158),i=n(92);function o(t){return e.exports=o=i?r:function(t){return t.__proto__||r(t)},o(t)}e.exports=o},function(t,e,n){t.exports=n(159)},function(t,e,n){n(160),t.exports=n(2).Object.getPrototypeOf},function(t,e,n){var r=n(36),i=n(88);n(161)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var i=n(1),o=n(2),s=n(10);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],r={};r[t]=e(n),i(i.S+i.F*s(function(){n(1)}),"Object",r)}},function(t,e,n){n(163),t.exports=n(2).Object.setPrototypeOf},function(t,e,n){var r=n(1);r(r.S,"Object",{setPrototypeOf:n(164).set})},function(t,e,i){var n=i(15),r=i(22),o=function(t,e){if(r(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=i(70)(Function.call,i(90).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:o}},function(t,e,n){var r=n(166),i=n(169);function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=r(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}t.exports=o},function(t,e,n){t.exports=n(167)},function(t,e,n){n(168);var r=n(2).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){var r=n(1);r(r.S,"Object",{create:n(58)})},function(n,t,e){var r=e(92);function i(t,e){return n.exports=i=r||function(t,e){return t.__proto__=e,t},i(t,e)}n.exports=i},function(t,e,n){"use strict";var r=n(5),i=n(0);i(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n(171));n(40);var s=r(n(93)),o=r(n(17)),u=r(n(55)),c=r(n(56)),h=r(n(178)),l=r(n(179)),f=r(n(180)),p=function(){function e(t){(0,u.default)(this,e),this.directionAssert=10,this.combineAsset=5,this.naviLanguage=l.default.ZH,this.completeDistance=0,this.map=null,this.combinePoints=[],this.dirArr=["north","northeast","east","southeast","south","southwest","west","northwest","north"],this.dirArr2=["front_pure","right_front_pure","right_pure","right_back_pure","back_pure","left_back_pure","left_pure","left_front_pure","front_pure"],this.dirArr3=["still_go_straight","right_front","turn_right","turn_right_rear","back_to","turn_left_rear","turn_left","left_front","still_go_straight"],this._boo=!1,this._tailLen=0,(0,o.default)(this,t)}return(0,c.default)(e,[{key:"dispose",value:function(){this.map=null}},{key:"calculate",value:function(t){return this._calculate(t)}},{key:"_getNs",value:function(t){for(var e=[],n=0;n>>0||(s.test(n)?16:10))}:r},function(t,e,n){var s=n(1),r=n(32),a=n(10),u=n(94),i="["+u+"]",c="​…",o=RegExp("^"+i+i+"*"),h=RegExp(i+i+"*$"),l=function(t,e,n){var r={},i=a(function(){return!!u[t]()||c[t]()!=c}),o=r[t]=i?e(f):u[t];n&&(r[n]=o),s(s.P+s.F*i,"String",r)},f=l.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(o,"")),2&e&&(t=t.replace(h,"")),t};t.exports=l},function(t,e,n){"use strict";var r=n(0);r(e,"__esModule",{value:!0}),e.default=void 0;var i={zh:{straight:"直行",still_go_straight:"继续直行",back_to:"后退",turn_right:"右转",turn_left:"左转",right_front:"右前方 继续直行",left_front:"左前方 继续直行",turn_right_rear:"右后方转",turn_left_rear:"左后方转",up:"上",down:"下",up_to:"上行到达",down_to:"下行到达",meter:"米",arrived:"到达目的地",front:"前方",stair:"楼梯",stair_pure:"楼梯",escalator_pure:"扶梯",lift_pure:"直梯",take:"乘",take_stair:"乘梯",front_pure:"前",right_front_pure:"右前",right_pure:"右",right_back_pure:"右后",back_pure:"后",left_back_pure:"左后",left_pure:"左",left_front_pure:"左前",east:"东",west:"西",south:"南",north:"北",southeast:"东南",northeast:"东北",southwest:"西南",northwest:"西北",face_to:"向",start:"起",end:"终"},en:{straight:"go straight",still_go_straight:"go straight",back_to:"back to",turn_right:"turn right",turn_left:"turn left",right_front:"go straight right front ",left_front:"go straight left front ",turn_right_rear:"turn right rear",turn_left_rear:"turn left rear",up:"up",down:"up",up_to:"up to",down_to:"down to",meter:"meter",arrived:"arrived",front:"front",stair:"stair",stair_pure:"stair",escalator_pure:"escalator",lift_pure:"lift",take:"take",take_stair:"take stair",front_pure:"front",right_front_pure:"right front",right_pure:"right",right_back_pure:"right back",back_pure:"back",left_back_pure:"left back",left_pure:"left",left_front_pure:"left front",east:"east",west:"west",south:"south",north:"north",southeast:"southeast",northeast:"northeast",southwest:"southwest",northwest:"northwest",face_to:"face to",start:"start",end:"end"}};e.default=i},function(t,e,n){"use strict";var r=n(0);r(e,"__esModule",{value:!0}),e.default=void 0;var i={ZH:"zh",EN:"en",CHN:"zh"},o=i;e.default=o},function(t,e,n){"use strict";var r=n(5),i=n(0);i(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(93));n(181);var s=r(n(55)),a=r(n(56)),u=function(){function t(){(0,s.default)(this,t)}return(0,a.default)(t,null,[{key:"toColor",value:function(t){if("number"==typeof t)return t;var e=t.split(",");return 3<=e.length?(0,o.default)(e[0])<<16|(0,o.default)(e[1])<<8|(0,o.default)(e[2]):(console.error("color format error",t),0)}},{key:"toRgba",value:function(t){if("number"==typeof t)return"rgba("+(0,o.default)(255*new fm.Color(t).r)+","+(0,o.default)(255*new fm.Color(t).g)+","+(0,o.default)(255*new fm.Color(t).b)+",1)";var e=t.split(",");return 3<=e.length?"rgba("+(0,o.default)(e[0])+","+(0,o.default)(e[1])+","+(0,o.default)(e[2])+",1)":t}},{key:"bindEvent",value:function(t,o,e,s){t.addEventListener(e,function(t){var e=t||window.event,n=e.target||e.srcElement,r=e.currentTarget;for(Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;0<=--n&&e.item(n)!==this;);return-1t);n++);}}]),t}(),c=u;e.default=c},function(t,e,n){"use strict";var l=n(182),m=n(6),b=n(183),w=n(184),x=n(80),M=n(186),f=n(62),r=n(8),k=Math.min,p=[].push,s="split",d="length",g="lastIndex",T=4294967295,S=!r(function(){RegExp(T,"y")});n(187)("split",2,function(i,o,v,y){var _;return _="c"=="abbc"[s](/(b)*/)[1]||4!="test"[s](/(?:)/,-1)[d]||2!="ab"[s](/(?:ab)*/)[d]||4!="."[s](/(.?)(.?)/)[d]||1<"."[s](/()()/)[d]||""[s](/.?/)[d]?function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!l(t))return v.call(n,t,e);for(var r,i,o,s=[],a=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),u=0,c=void 0===e?T:e>>>0,h=new RegExp(t.source,a+"g");(r=f.call(h,n))&&(i=h[g],!(u=c)));)h[g]===r.index&&h[g]++;return u===n[d]?!o&&h.test("")||s.push(""):s.push(n.slice(u)),s[d]>c?s.slice(0,c):s}:"0"[s](void 0,0)[d]?function(t,e){return void 0===t&&0===e?[]:v.call(this,t,e)}:v,[function(t,e){var n=i(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,n,e):_.call(String(n),t,e)},function(t,e){var n=y(_,t,this,e,_!==v);if(n.done)return n.value;var r=m(t),i=String(this),o=b(r,RegExp),s=r.unicode,a=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(S?"y":"g"),u=new o(S?r:"^(?:"+r.source+")",a),c=void 0===e?T:e>>>0;if(0===c)return[];if(0===i.length)return null===M(u,i)?[i]:[];for(var h=0,l=0,f=[];l")}),_=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(n,t,e){var r=d(n),o=!f(function(){var t={};return t[r]=function(){return 7},7!=""[n](t)}),i=o?!f(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===n&&(e.constructor={},e.constructor[v]=function(){return e}),e[r](""),!t}):void 0;if(!o||!i||"replace"===n&&!y||"split"===n&&!_){var s=/./[r],a=e(p,r,""[n],function(t,e,n,r,i){return e.exec===g?o&&!i?{done:!0,value:s.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),u=a[0],c=a[1];h(String.prototype,n,u),l(RegExp.prototype,r,2==t?function(t,e){return c.call(t,this,e)}:function(t){return c.call(t,this)})}}},function(t,e,n){"use strict";var r=n(62);n(41)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){t.exports=i;var h=n(64).EventEmitter,r=n(20);function i(){h.call(this)}r(i,h),i.Readable=n(65),i.Writable=n(202),i.Duplex=n(203),i.Transform=n(204),i.PassThrough=n(205),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function r(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",a));var o=!1;function s(){o||(o=!0,e.end())}function a(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function u(t){if(c(),0===h.listenerCount(this,"error"))throw t}function c(){n.removeListener("data",r),e.removeListener("drain",i),n.removeListener("end",s),n.removeListener("close",a),n.removeListener("error",u),e.removeListener("error",u),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",u),e.on("error",u),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e}},function(t){var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},function(t,e){"use strict";e.byteLength=o,e.toByteArray=s,e.fromByteArray=d;for(var u=[],c=[],h="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,i=n.length;r>16&255,s[a++]=e>>8&255,s[a++]=255&e;return 2===o&&(e=c[t.charCodeAt(n)]<<2|c[t.charCodeAt(n+1)]>>4,s[a++]=255&e),1===o&&(e=c[t.charCodeAt(n)]<<10|c[t.charCodeAt(n+1)]<<4|c[t.charCodeAt(n+2)]>>2,s[a++]=e>>8&255,s[a++]=255&e),s}function a(t){return u[t>>18&63]+u[t>>12&63]+u[t>>6&63]+u[63&t]}function p(t,e,n){for(var r,i=[],o=e;o>2]+u[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],i.push(u[e>>10]+u[e>>4&63]+u[e<<2&63]+"=")),i.join("")}c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,u=(1<>1,h=-7,l=n?i-1:0,f=n?-1:1,p=t[e+l];for(l+=f,o=p&(1<<-h)-1,p>>=-h,h+=a;0>=-h,h+=r;0>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,d=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),e+=1<=s+l?f/u:f*Math.pow(2,1-l),2<=e*u&&(s++,u/=2),h<=s+l?(a=0,s=h):1<=s+l?(a=(e*u-1)*Math.pow(2,i),s+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,i),s=0));8<=i;t[n+p]=255&a,p+=d,a/=256,i-=8);for(s=s<>>0),n=this.head,r=0;n;)s(n.data,e,r),r+=n.data.length,n=n.next;return e},a),o&&o.inspect&&o.inspect.custom&&(t.exports.prototype[o.inspect.custom]=function(){var t=o.inspect({length:this.length});return this.constructor.name+" "+t})},function(){},function(t,i,o){(function(t){var e=void 0!==t&&t||"undefined"!=typeof self&&self||window,n=Function.prototype.apply;function r(t,e){this._id=t,this._clearFn=e}i.setTimeout=function(){return new r(n.call(setTimeout,e,arguments),clearTimeout)},i.setInterval=function(){return new r(n.call(setInterval,e,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(e,this._id)},i.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},i.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},i._unrefActive=i.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;0<=e&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},o(198),i.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,i.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,o(21))},function(t,e,n){(function(t,_){!function(n,r){"use strict";if(!n.setImmediate){var i,o=1,s={},a=!1,u=n.document,t=Object.getPrototypeOf&&Object.getPrototypeOf(n);t=t&&t.setTimeout?t:n,("[object process]"==={}.toString.call(n.process)?f:p()?d:n.MessageChannel?g:u&&"onreadystatechange"in u.createElement("script")?v:y)(),t.setImmediate=e,t.clearImmediate=c}function e(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n