@mapxus/mapxus-map-jp 5.3.0-jp → 5.4.0-jp

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/mapxus-map.js +2 -2
  2. package/package.json +1 -1
package/mapxus-map.js CHANGED
@@ -1,8 +1,8 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.MapxusMap=t():e.MapxusMap=t()}(window,(function(){return t=[function(e,t,n){"use strict";n.r(t),n=Array.isArray,t.default=n},function(e,t,n){"use strict";n=n(40);var r="object"==typeof self&&self&&self.Object===Object&&self;n=n.a||r||Function("return this")();t.a=n},function(e,t,n){"use strict";var r=n(18);var o=n(20),i=n(22);function a(e){e=this.__data__=new r.a(e),this.size=e.size}a.prototype.clear=function(){this.__data__=new r.a,this.size=0},a.prototype.delete=function(e){var t=this.__data__;return e=t.delete(e),this.size=t.size,e},a.prototype.get=function(e){return this.__data__.get(e)},a.prototype.has=function(e){return this.__data__.has(e)},a.prototype.set=function(e,t){var n=this.__data__;if(n instanceof r.a){var a=n.__data__;if(!o.a||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i.a(a)}return n.set(e,t),this.size=n.size,this};var s=a,u=n(53),l=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},c=n(44),d=function(e,t,n,r,o,i){var a=1&n,s=e.length;if(s!=(d=t.length)&&!(a&&s<d))return!1;var d=i.get(e),f=i.get(t);if(d&&f)return d==t&&f==e;var h=-1,p=!0,g=2&n?new u.a:void 0;for(i.set(e,t),i.set(t,e);++h<s;){var y,m=e[h],v=t[h];if(void 0!==(y=r?a?r(v,m,h,t,e,i):r(m,v,h,e,t,i):y)){if(y)continue;p=!1;break}if(g){if(!l(t,(function(e,t){if(!Object(c.a)(g,t)&&(m===e||o(m,e,n,r,i)))return g.push(t)}))){p=!1;break}}else if(m!==v&&!o(m,v,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p},f=n(9),h=(N=n(1)).a.Uint8Array,p=n(17);function g(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}var y=n(26),m=(f=f.a?f.a.prototype:void 0)?f.valueOf:void 0,v=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new h(e),new h(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Object(p.a)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=g;case"[object Set]":if(s=s||y.a,e.size!=t.size&&!(1&r))return!1;var u=a.get(e);return u?u==t:(r|=2,a.set(e,t),u=d(s(e),s(t),r,o,i,a),a.delete(e),u);case"[object Symbol]":if(m)return m.call(e)==m.call(t)}return!1},_=n(45),b=n(47),w=n(10),x=function(e){return Object(_.a)(e,w.default,b.a)},C=Object.prototype.hasOwnProperty,O=(f=n(5),Object(f.a)(N.a,"DataView")),T=Object(f.a)(N.a,"Promise"),S=n(21),j=(f=Object(f.a)(N.a,"WeakMap"),n(7)),B=n(14),A="[object Map]",E="[object Promise]",P="[object Set]",L="[object WeakMap]",M="[object DataView]",F=Object(B.a)(O),R=Object(B.a)(o.a),I=Object(B.a)(T),k=Object(B.a)(S.a),D=Object(B.a)(f),N=j.a,H=N=O&&N(new O(new ArrayBuffer(1)))!=M||o.a&&N(new o.a)!=A||T&&N(T.resolve())!=E||S.a&&N(new S.a)!=P||f&&N(new f)!=L?function(e){var t=Object(j.a)(e);if(e=(e="[object Object]"==t?e.constructor:void 0)?Object(B.a)(e):"")switch(e){case F:return M;case R:return A;case I:return E;case k:return P;case D:return L}return t}:N,U=n(0),G=n(27),z=n(52),V="[object Arguments]",K="[object Array]",q="[object Object]",X=Object.prototype.hasOwnProperty,W=function(e,t,n,r,o,i){var a=Object(U.default)(e),u=Object(U.default)(t),l=a?K:H(e),c=(u=u?K:H(t),(l=l==V?q:l)==q),f=(u=u==V?q:u)==q;if((u=l==u)&&Object(G.a)(e)){if(!Object(G.a)(t))return!1;c=!(a=!0)}return u&&!c?(i=i||new s,a||Object(z.a)(e)?d(e,t,n,r,o,i):v(e,t,l,n,r,o,i)):1&n||(a=c&&X.call(e,"__wrapped__"),l=f&&X.call(t,"__wrapped__"),!a&&!l)?u&&function(e,t,n,r,o,i){var a=1&n,s=x(e),u=s.length;if(u!=x(t).length&&!a)return!1;for(var l=u;l--;){var c=s[l];if(!(a?c in t:C.call(t,c)))return!1}var d=i.get(e),f=i.get(t);if(d&&f)return d==t&&f==e;for(var h=!0,p=(i.set(e,t),i.set(t,e),a);++l<u;){var g,y=e[c=s[l]],m=t[c];if(!(void 0===(g=r?a?r(m,y,c,t,e,i):r(y,m,c,e,t,i):g)?y===m||o(y,m,n,r,i):g)){h=!1;break}p=p||"constructor"==c}return h&&!p&&(d=e.constructor)!=(f=t.constructor)&&"constructor"in e&&"constructor"in t&&!("function"==typeof d&&d instanceof d&&"function"==typeof f&&f instanceof f)&&(h=!1),i.delete(e),i.delete(t),h}(e,t,n,r,o,i=i||new s):o(a?e.value():e,l?t.value():t,n,r,i=i||new s)},Q=n(6),J=function e(t,n,r,o,i){return t===n||(null==t||null==n||!Object(Q.a)(t)&&!Object(Q.a)(n)?t!=t&&n!=n:W(t,n,r,o,e,i))},Y=n(3),Z=function(e){return e==e&&!Object(Y.a)(e)},$=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},ee=function(e){var t=function(e){for(var t=Object(w.default)(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Z(o)]}return t}(e);return 1==t.length&&t[0][2]?$(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<i;){var l=(u=n[o])[0],c=e[l],d=u[1];if(a&&u[2]){if(void 0===c&&!(l in e))return!1}else{var f,h=new s;if(!(void 0===(f=r?r(c,d,l,e,t,h):f)?J(d,c,3,r,h):f))return!1}}return!0}(n,e,t)}},te=n(25);function ne(e,t){return null!=e&&t in Object(e)}var re=n(19),oe=n(58),ie=n(16),ae=n(23),se=n(12),ue=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,o=(t=Object(re.a)(t,e)).length,i=!1;++r<o;){var a=Object(se.a)(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Object(ae.a)(o)&&Object(ie.a)(a,o)&&(Object(U.default)(e)||Object(oe.a)(e))}(e,t,ne)},le=n(24),ce=function(e,t){return Object(le.a)(e)&&Z(t)?$(Object(se.a)(e),t):function(n){var r=function(e,t,n){return void 0===(e=null==e?void 0:Object(te.a)(e,t))?n:e}(n,e);return void 0===r&&r===t?ue(n,e):J(t,r,3)}},de=n(43),fe=function(e){return Object(le.a)(e)?function(e){return function(t){return null==t?void 0:t[e]}}(Object(se.a)(e)):function(e){return function(t){return Object(te.a)(t,e)}}(e)};t.a=function(e){return"function"==typeof e?e:null==e?de.a:"object"==typeof e?Object(U.default)(e)?ce(e[0],e[1]):ee(e):fe(e)}},function(e,t,n){"use strict";t.a=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";var r=n(39),o=n(23);t.a=function(e){return null!=e&&Object(o.a)(e.length)&&!Object(r.a)(e)}},function(e,t,n){"use strict";var r=n(39),o=n(1).a["__core-js_shared__"],i=(o=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"",a=n(3),s=n(14),u=/^\[object .+?Constructor\]$/,l=(o=Function.prototype,n=Object.prototype,o=o.toString,n=n.hasOwnProperty,RegExp("^"+o.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$")),c=function(e){return!(!Object(a.a)(e)||function(e){return!!i&&i in e}(e))&&(Object(r.a)(e)?l:u).test(Object(s.a)(e))};t.a=function(e,t){return e=function(e,t){return null==e?void 0:e[t]}(e,t),c(e)?e:void 0}},function(e,t,n){"use strict";t.a=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";n=n(9);var r=Object.prototype,o=r.hasOwnProperty,i=r.toString,a=n.a?n.a.toStringTag:void 0,s=function(e){var t=o.call(e,a),n=e[a];try{var r=!(e[a]=void 0)}catch(e){}var s=i.call(e);return r&&(t?e[a]=n:delete e[a]),s},u=Object.prototype.toString,l=function(e){return u.call(e)},c=n.a?n.a.toStringTag:void 0;t.a=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(c&&c in Object(e)?s:l)(e)}},function(e,t,n){"use strict";var r=n(70),o=(n=n(90),Object.prototype.toString);function i(e){return"[object Array]"===o.call(e)}function a(e){return null!==e&&"object"==typeof e}function s(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!=e)if(i(e="object"!=typeof e?[e]:e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:n,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:s,isStream:function(e){return a(e)&&s(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function e(){var t={};function n(n,r){t[r]="object"==typeof t[r]&&"object"==typeof n?e(t[r],n):n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){"use strict";n=n(1).a.Symbol,t.a=n},function(e,t,n){"use strict";n.r(t);var r=n(54),o=n(41),i=n(42),a=Object(i.a)(Object.keys,Object),s=Object.prototype.hasOwnProperty,u=function(e){if(!Object(o.a)(e))return a(e);var t,n=[];for(t in Object(e))s.call(e,t)&&"constructor"!=t&&n.push(t);return n},l=n(4);t.default=function(e){return(Object(l.a)(e)?Object(r.a):u)(e)}},function(e,t,n){"use strict";var r=n(7),o=n(6);t.a=function(e){return"symbol"==typeof e||Object(o.a)(e)&&"[object Symbol]"==Object(r.a)(e)}},function(e,t,n){"use strict";var r=n(11);t.a=function(e){var t;return"string"==typeof e||Object(r.a)(e)?e:"0"==(t=e+"")&&1/e==-1/0?"-0":t}},function(e,t,n){"use strict";var r=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[++r];if(!1===t(o[s],s,o))break}return e},o=n(10);var i=n(4);n=function(e,t){return function(t,n){if(null!=t){if(!Object(i.a)(t))return e(t,n);for(var r=t.length,o=-1,a=Object(t);++o<r&&!1!==n(a[o],o,a););}return t}}((function(e,t){return e&&r(e,t,o.default)})),t.a=n},function(e,t,n){"use strict";var r=Function.prototype.toString;t.a=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t,n){"use strict";var r=/^(?:0|[1-9]\d*)$/;t.a=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&-1<e&&e%1==0&&e<t}},function(e,t,n){"use strict";t.a=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(17),o=function(e,t){for(var n=e.length;n--;)if(Object(r.a)(e[n][0],t))return n;return-1},i=Array.prototype.splice;function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=[],this.size=0},a.prototype.delete=function(e){var t=this.__data__;return!((e=o(t,e))<0||(e==t.length-1?t.pop():i.call(t,e,1),--this.size,0))},a.prototype.get=function(e){var t=this.__data__;return(e=o(t,e))<0?void 0:t[e][1]},a.prototype.has=function(e){return-1<o(this.__data__,e)},a.prototype.set=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},t.a=a},function(e,t,n){"use strict";var r=n(0),o=n(24),i=n(22);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;return i.has(o)?i.get(o):(r=e.apply(this,r),n.cache=i.set(o,r)||i,r)}return n.cache=new(a.Cache||i.a),n}a.Cache=i.a;var s=a,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,c=function(e){var t=(e=s(e,(function(e){return 500===t.size&&t.clear(),e}))).cache;return e}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(u,(function(e,n,r,o){t.push(r?o.replace(l,"$1"):n||e)})),t})),d=n(55);t.a=function(e,t){return Object(r.default)(e)?e:Object(o.a)(e,t)?[e]:c(Object(d.a)(e))}},function(e,t,n){"use strict";var r=n(5);n=n(1),r=Object(r.a)(n.a,"Map");t.a=r},function(e,t,n){"use strict";var r=n(5);n=n(1),r=Object(r.a)(n.a,"Set");t.a=r},function(e,t,n){"use strict";var r=n(5),o=Object(r.a)(Object,"create");var i=Object.prototype.hasOwnProperty;var a=Object.prototype.hasOwnProperty;function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=function(){this.__data__=o?o(null):{},this.size=0},s.prototype.delete=function(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e},s.prototype.get=function(e){var t,n=this.__data__;return o?"__lodash_hash_undefined__"===(t=n[e])?void 0:t:i.call(n,e)?n[e]:void 0},s.prototype.has=function(e){var t=this.__data__;return o?void 0!==t[e]:a.call(t,e)},s.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this};var u=s,l=n(18),c=n(20),d=function(e,t){return e=e.__data__,function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?e["string"==typeof t?"string":"hash"]:e.map};function f(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}f.prototype.clear=function(){this.size=0,this.__data__={hash:new u,map:new(c.a||l.a),string:new u}},f.prototype.delete=function(e){return e=d(this,e).delete(e),this.size-=e?1:0,e},f.prototype.get=function(e){return d(this,e).get(e)},f.prototype.has=function(e){return d(this,e).has(e)},f.prototype.set=function(e,t){var n=d(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},t.a=f},function(e,t,n){"use strict";t.a=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991}},function(e,t,n){"use strict";var r=n(0),o=n(11),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.a=function(e,t){var n;return!Object(r.default)(e)&&(!("number"!=(n=typeof e)&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Object(o.a)(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){"use strict";var r=n(19),o=n(12);t.a=function(e,t){for(var n=0,i=(t=Object(r.a)(t,e)).length;null!=e&&n<i;)e=e[Object(o.a)(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){"use strict";t.a=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){"use strict";(function(e){var r=n(1),o=n(84),i=((e=(e=(i="object"==typeof exports&&exports&&!exports.nodeType&&exports)&&"object"==typeof e&&e&&!e.nodeType&&e)&&e.exports===i?r.a.Buffer:void 0)?e.isBuffer:void 0)||o.a;t.a=i}).call(this,n(75)(e))},function(e,t,n){"use strict";var r=/\s/,o=/^\s+/,i=function(e){return e&&e.slice(0,function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t}(e)+1).replace(o,"")},a=n(3),s=n(11),u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;t.a=function(e){if("number"==typeof e)return e;if(Object(s.a)(e))return NaN;if(Object(a.a)(e)&&(t="function"==typeof e.valueOf?e.valueOf():e,e=Object(a.a)(t)?t+"":t),"string"!=typeof e)return 0===e?e:+e;e=i(e);var t=l.test(e);return t||c.test(e)?d(e.slice(2),t?2:8):u.test(e)?NaN:+e}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.Evented=t.ErrorEvent=t.DefinedEvent=void 0,n(87));function a(e,t,n){n[e]&&-1!==n[e].indexOf(t)||(n[e]=n[e]||[],n[e].push(t))}function s(e,t,n){n&&n[e]&&-1!==(t=n[e].indexOf(t))&&n[e].splice(t,1)}Object.defineProperty(l.prototype,"type",{get:function(){return this._type},set:function(e){this._type=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"target",{get:function(){return this._target},set:function(e){this._target=e},enumerable:!1,configurable:!0});var u=l;function l(e,t){(0,i.extend)(this,t=void 0===t?{}:t),this.type=e}t.DefinedEvent=u,o(f,c=u);var c,d=f;function f(e,t){return c.call(this,"error",(0,i.extend)({error:e},t=void 0===t?{}:t))||this}function h(){}t.ErrorEvent=d,h.prototype.on=function(e,t){return this._listeners=this._listeners||{},a(e,t,this._listeners),this},h.prototype.off=function(e,t){return s(e,t,this._listeners),s(e,t,this._oneTimeListeners),this},h.prototype.once=function(e,t){return this._oneTimeListeners=this._oneTimeListeners||{},a(e,t,this._oneTimeListeners),this},h.prototype.fire=function(e){var t=(e="string"==typeof e?new u(e,arguments[1]||{}):e).type;if(this.listens(t)){for(var n=0,r=(e.target=this)._listeners&&this._listeners[t]?this._listeners[t].slice():[];n<r.length;n++)(o=r[n]).call(this,e);for(var o,a=0,l=this._oneTimeListeners&&this._oneTimeListeners[t]?this._oneTimeListeners[t].slice():[];a<l.length;a++)s(t,o=l[a],this._oneTimeListeners),o.call(this,e);var c=this._eventedParent;c&&((0,i.extend)(e,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),c.fire(e))}else e instanceof d&&console.error(e.error);return this},h.prototype.listens=function(e){return this._listeners&&this._listeners[e]&&0<this._listeners[e].length||this._oneTimeListeners&&this._oneTimeListeners[e]&&0<this._oneTimeListeners[e].length||this._eventedParent&&this._eventedParent.listens(e)},h.prototype.setEventedParent=function(e,t){return this._eventedParent=e,this._eventedParentData=t,this},t.Evented=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PAGE=t.OFFSET=t.BMS_URL=t.AUTH_URL=void 0,t.AUTH_URL="https://map-api.mapxus.co.jp/ums/v2/applications/auth",t.BMS_URL="https://map-api.mapxus.co.jp/bms",t.OFFSET=10,t.PAGE=1},function(e,t,n){"use strict";var r,o,i=this&&this.__awaiter||function(e,t,n,r){return new(n=n||Promise)((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a={next:s(0),throw:s(1),return:s(2)};return"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){var u=[a,s];if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,(u=o?[2&u[0],o.value]:u)[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=0<(o=i.trys).length&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3]))i.label=u[1];else if(6===u[0]&&i.label<o[1])i.label=o[1],o=u;else{if(!(o&&i.label<o[2])){o[2]&&i.ops.pop(),i.trys.pop();continue}i.label=o[2],i.ops.push(u)}}u=t.call(e,i)}catch(s){u=[6,s],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},u=(Object.defineProperty(t,"__esModule",{value:!0}),t.Request=void 0,n(30)),l=s(n(88)),c=n(67);function d(e){this._instance=l.default.create({baseURL:e||u.BMS_URL}),l.default.defaults.baseURL=u.BMS_URL,l.default.defaults.headers.common.token=d.token,l.default.defaults.headers.common.identifier=d.identifier,l.default.defaults.headers.common.sdkVersion=c.version,l.default.interceptors.response.use((function(e){return e}),(function(e){return Promise.reject(e)}))}Object.defineProperty(d,"map",{get:function(){return this._map},set:function(e){this._map=e},enumerable:!1,configurable:!0}),d.authorization=function(e,t){return i(this,void 0,void 0,(function(){var n,s,u,c=this;return a(this,(function(f){switch(f.label){case 0:return this._appId=e,this._secret=t,delete l.default.defaults.headers.common.identifier,n=l.default.defaults.headers.common,s=d,[4,this._fetchToken(this._api)];case 1:return n.token=s.token=f.sent(),u=JSON.parse(decodeURIComponent(escape(window.atob(d.token.split(".")[1])))),o=1e3*(u.exp-u.iat),r=setInterval((function(){return i(c,void 0,void 0,(function(){var e,t;return a(this,(function(n){switch(n.label){case 0:return e=l.default.defaults.headers.common,t=d,[4,this._fetchToken(this._api)];case 1:return e.token=t.token=n.sent(),[2]}}))}))}),o),window.onbeforeunload=function(){return clearInterval(r)},[2]}}))}))},d.transformRequest=function(e){return/.mapxus./.test(e)?{url:e,headers:{token:d.token,sdkVersion:c.version,identifier:d.identifier}}:{url:e}},d._fetchToken=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,(0,l.default)({method:"post",url:e,data:this._getVerificationData()})];case 1:return[2,t.sent().data.result.idToken]}}))}))},d._getVerificationData=function(){return{appId:this._appId,secret:this._secret,origin:window.location.hostname||"restriction.test.example.com",keyPlatform:"WEB"}},d.prototype.get=function(e){return this._instance.get(e)},d._api="".concat(u.AUTH_URL),t.Request=d},function(e,t,n){"use strict";n.r(t);var r=n(55),o=0;t.default=function(e){var t=++o;return Object(r.a)(e)+t}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];return r?t&&"function"==typeof btoa?(e=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),t=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"})),[n].concat(t).concat([e]).join("\n")):[n].join("\n"):n}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,o,i,a={},s=(r=function(){return window&&document&&document.all&&!window.atob},function(){return o=void 0===o?r.apply(this,arguments):o}),u=(i={},function(e){return void 0===i[e]&&(i[e]=function(e){return document.querySelector(e)}.call(this,e)),i[e]}),l=null,c=0,d=[],f=n(113);function h(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=a[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(_(r.parts[i],t))}else{var s=[];for(i=0;i<r.parts.length;i++)s.push(_(r.parts[i],t));a[r.id]={id:r.id,refs:1,parts:s}}}}function p(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0];i={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(i):n.push(r[a]={id:a,parts:[i]})}return n}function g(e,t){var n=u(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=d[d.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),d.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function y(e){null!==e.parentNode&&(e.parentNode.removeChild(e),0<=(e=d.indexOf(e)))&&d.splice(e,1)}function m(e){var t=document.createElement("style");return e.attrs.type="text/css",v(t,e.attrs),g(e,t),t}function v(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function _(e,t){var n,r,o,i,a;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}return o=t.singleton?(i=c++,n=l=l||m(t),r=w.bind(null,n,i,!1),w.bind(null,n,i,!0)):e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=t,a=document.createElement("link"),i.attrs.type="text/css",i.attrs.rel="stylesheet",v(a,i.attrs),g(i,a),r=function(e,t,n){var r=n.css,o=(n=n.sourceMap,void 0===t.convertToAbsoluteUrls&&n);(t.convertToAbsoluteUrls||o)&&(r=f(r)),n&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t=new Blob([r],{type:"text/css"}),o=e.href,e.href=URL.createObjectURL(t),o&&URL.revokeObjectURL(o)}.bind(null,n=a,t),function(){y(n),n.href&&URL.revokeObjectURL(n.href)}):(n=m(t),r=function(e,t){var n=t.css;if((t=t.media)&&e.setAttribute("media",t),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),function(){y(n)}),r(e),function(t){t?t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap||r(e=t):o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=s()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return h(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var i=n[o];(s=a[i.id]).refs--,r.push(s)}e&&h(p(e,t),t);var s;for(o=0;o<r.length;o++)if(0===(s=r[o]).refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete a[s.id]}}},b=[];var b;function w(e,t,n,r){n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=function(e,t){return b[e]=t,b.filter(Boolean).join("\n")}(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.domCreate=t.domRemove=void 0,t.domRemove=function(e){e.parentNode&&e.parentNode.removeChild(e)},t.domCreate=function(e,t,n){return e=window.document.createElement(e),t&&(e.className=t),n&&n.appendChild(e),e}},function(e,t,n){"use strict";n.r(t);var r=n(51),o=n(4),i=n(7),a=n(0),s=n(6),u=function(e){return"string"==typeof e||!Object(a.default)(e)&&Object(s.a)(e)&&"[object String]"==Object(i.a)(e)},l=n(57),c=n(38),d=Math.max;t.default=function(e,t,n,i){return e=Object(o.a)(e)?e:Object(c.default)(e),n=n&&!i?Object(l.a)(n):0,i=e.length,n<0&&(n=d(i+n,0)),u(e)?n<=i&&-1<e.indexOf(t,n):!!i&&-1<Object(r.a)(e,t,n)}},function(e,t,n){"use strict";n.r(t);var r=n(50),o=n(2),i=n(57),a=Math.max;t.default=function(e,t,n){var s=null==e?0:e.length;return s?((n=null==n?0:Object(i.a)(n))<0&&(n=a(s+n,0)),Object(r.a)(e,Object(o.a)(t,3),n)):-1}},function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(10);t.default=function(e){return null==e?[]:function(e,t){return Object(r.a)(t,(function(t){return e[t]}))}(e,Object(o.default)(e))}},function(e,t,n){"use strict";var r=n(7),o=n(3);t.a=function(e){return!!Object(o.a)(e)&&("[object Function]"==(e=Object(r.a)(e))||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e)}},function(e,t,n){"use strict";(function(e){e="object"==typeof e&&e&&e.Object===Object&&e,t.a=e}).call(this,n(107))},function(e,t,n){"use strict";var r=Object.prototype;t.a=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,n){"use strict";t.a=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){"use strict";t.a=function(e){return e}},function(e,t,n){"use strict";t.a=function(e,t){return e.has(t)}},function(e,t,n){"use strict";var r=n(46),o=n(0);t.a=function(e,t,n){return t=t(e),Object(o.default)(e)?t:Object(r.a)(t,n(e))}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){"use strict";var r=n(49),o=(n=n(48),Object.prototype.propertyIsEnumerable),i=Object.getOwnPropertySymbols;n=i?function(e){return null==e?[]:(e=Object(e),Object(r.a)(i(e),(function(t){return o.call(e,t)})))}:n.a;t.a=n},function(e,t,n){"use strict";t.a=function(){return[]}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},function(e,t,n){"use strict";t.a=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t,n){"use strict";var r=n(50);function o(e){return e!=e}t.a=function(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Object(r.a)(e,o,n)}},function(e,t,n){"use strict";var r=n(7),o=n(23),i=n(6),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=function(e){return function(t){return e(t)}};s=(n=(n=n(66)).a&&n.a.isTypedArray)?s(n):function(e){return Object(i.a)(e)&&Object(o.a)(e.length)&&!!a[Object(r.a)(e)]};t.a=s},function(e,t,n){"use strict";var r=n(22);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r.a;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},o.prototype.has=function(e){return this.__data__.has(e)},t.a=o},function(e,t,n){"use strict";var r=n(58),o=n(0),i=n(27),a=n(16),s=n(52),u=Object.prototype.hasOwnProperty;t.a=function(e,t){var n,l=Object(o.default)(e),c=!l&&Object(r.a)(e),d=!l&&!c&&Object(i.a)(e),f=!l&&!c&&!d&&Object(s.a)(e),h=l||c||d||f,p=h?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],g=p.length;for(n in e)!t&&!u.call(e,n)||h&&("length"==n||d&&("offset"==n||"parent"==n)||f&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||Object(a.a)(n,g))||p.push(n);return p}},function(e,t,n){"use strict";var r=n(9),o=n(15),i=n(0),a=n(11),s=(n=r.a?r.a.prototype:void 0)?n.toString:void 0;t.a=function(e){return null==e?"":function e(t){var n;return"string"==typeof t?t:Object(i.default)(t)?Object(o.a)(t,e)+"":Object(a.a)(t)?s?s.call(t):"":"0"==(n=t+"")&&1/t==-1/0?"-0":n}(e)}},function(e,t,n){"use strict";var r=n(5),o=function(){try{var e=Object(r.a)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.a=function(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){"use strict";var r=n(28);t.a=function(e){var t=(e=function(e){return e?(e=Object(r.a)(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e))%1;return e==e?t?e-t:e:0}},function(e,t,n){"use strict";var r=n(7),o=n(6),i=(n=function(e){return Object(o.a)(e)&&"[object Arguments]"==Object(r.a)(e)},(s=Object.prototype).hasOwnProperty),a=s.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(e){return Object(o.a)(e)&&i.call(e,"callee")&&!a.call(e,"callee")};t.a=s},function(e,t,n){"use strict";function r(e){return e.source===t.INDOOR_SOURCE&&-1<e.id.indexOf("mapxus")}function o(e){return e.source!==t.INDOOR_SOURCE}Object.defineProperty(t,"__esModule",{value:!0}),t.INDOOR_SOURCE=t.getLayers=t.getOutdoorLayers=void 0,t.getOutdoorLayers=function(e){return e.layers.filter(o).map((function(e){return{id:e.id,layer:e["source-layer"]}}))},t.getLayers=function(e){return e.layers.filter(r).map((function(e){return{id:e.id,layer:e["source-layer"]}}))},t.INDOOR_SOURCE="indoor-planet"},function(e,t,n){"use strict";(function(t){var r=n(8),o=n(93),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,u={adapter:s="undefined"==typeof XMLHttpRequest&&void 0===t?s:n(71),transformRequest:[function(e,t){return o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return 200<=e&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(i)})),e.exports=u}).call(this,n(92))},function(e,t){e.exports=function(e){return"string"==typeof e&&(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e))?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e}},function(e,t,n){"use strict";function r(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}n.r(t);var o=n(13),i=n(43),a=n(0);t.default=function(e,t){return(Object(a.default)(e)?r:o.a)(e,function(e){return"function"==typeof e?e:i.a}(t))}},function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(2),i=n(13),a=n(4);function s(e,t){var n=-1,r=Object(a.a)(e)?Array(e.length):[];return Object(i.a)(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}var u=n(0);t.default=function(e,t){return(Object(u.default)(e)?r.a:s)(e,Object(o.a)(t,3))}},function(e,t,n){"use strict";n.r(t);var r,o=n(2),i=n(4),a=n(10);r=n(37).default,n=function(e,t,n){var s,u=Object(e);return-1<(Object(i.a)(e)||(s=Object(o.a)(t,3),e=Object(a.default)(e),t=function(e){return s(u[e],e,u)}),t=r(e,t,n))?u[s?e[t]:t]:void 0},t.default=n},function(e,t,n){"use strict";n.r(t),n.d(t,"dispatch",(function(){return s}));var r={value:()=>{}};function o(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new i(r)}function i(e){this._=e}function a(e,t,n){for(var o=0,i=e.length;o<i;++o)if(e[o].name===t){e[o]=r,e=e.slice(0,o).concat(e.slice(o+1));break}return null!=n&&e.push({name:t,value:n}),e}i.prototype=o.prototype={constructor:i,on:function(e,t){var n,r,o=this._,i=(r=o,(e+"").trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");if(0<=n&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))),s=-1,u=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++s<u;)if(n=(e=i[s]).type)o[n]=a(o[n],e.name,t);else if(null==t)for(n in o)o[n]=a(o[n],e.name,null);return this}for(;++s<u;)if(n=(n=(e=i[s]).type)&&function(e,t){for(var n,r=0,o=e.length;r<o;++r)if((n=e[r]).name===t)return n.value}(o[n],e.name))return n},copy:function(){var e,t={},n=this._;for(e in n)t[e]=n[e].slice();return new i(t)},call:function(e,t){if(0<(n=arguments.length-2))for(var n,r,o=new Array(n),i=0;i<n;++i)o[i]=arguments[i+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(i=0,n=(r=this._[e]).length;i<n;++i)r[i].value.apply(t,o)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],o=0,i=r.length;o<i;++o)r[o].value.apply(t,n)}};var s=o},function(e,t,n){"use strict";(function(e){var r=n(40),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.a.process;e=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();t.a=e}).call(this,n(75)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.Evented=t.RouteService=t.PoisService=t.BuildingsService=t.BuildingFilterControl=t.FloorsControl=t.Poi=t.Marker=t.Indoor=t.Map=void 0;var r=n(85),o=(Object.defineProperty(t,"Map",{enumerable:!0,get:function(){return r.Map}}),n(68)),i=(Object.defineProperty(t,"Indoor",{enumerable:!0,get:function(){return o.Indoor}}),n(129)),a=(Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return i.Marker}}),n(76)),s=(Object.defineProperty(t,"Poi",{enumerable:!0,get:function(){return a.Poi}}),n(77)),u=(Object.defineProperty(t,"FloorsControl",{enumerable:!0,get:function(){return s.FloorsControl}}),n(78)),l=(Object.defineProperty(t,"BuildingFilterControl",{enumerable:!0,get:function(){return u.BuildingFilterControl}}),n(69)),c=(Object.defineProperty(t,"BuildingsService",{enumerable:!0,get:function(){return l.BuildingsService}}),n(80)),d=(Object.defineProperty(t,"PoisService",{enumerable:!0,get:function(){return c.PoisService}}),n(130)),f=(Object.defineProperty(t,"RouteService",{enumerable:!0,get:function(){return d.RouteService}}),n(29)),h=(Object.defineProperty(t,"Evented",{enumerable:!0,get:function(){return f.Evented}}),n(132));Object.defineProperty(t,"version",{enumerable:!0,get:function(){return h.version}})},function(e,t,n){"use strict";var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||((r=r||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},u=(Object.defineProperty(t,"__esModule",{value:!0}),t.Indoor=void 0,s(n(86))),l=n(59),c=n(29),d=n(69),f=s(n(64)),h=s(n(37)),p=s(n(62)),g=s(n(36)),y=s(n(0)),m=s(n(108)),v=s(n(63)),_=s(n(136)),b=s(n(82)),w=s(n(134)),x=s(n(133)),C=s(n(135)),O=s(n(10)),T=s(n(38)),S=s(n(83)),j=new d.BuildingsService;i(B,o=c.Evented),B.isFilterHasBeenReset=function(e){var t=!1;return e&&(e=e[e.length-1],(0,y.default)(e))?"any"===e[0]&&(0,w.default)(e.slice(1),(function(e){return"id"===e[1]||"ref:level"===e[1]})):t},B.isLevel=function(e){return-1<e.indexOf("mapxus-level")},B.isPoi=function(e){return"symbol"===e},B.getBuildingPoint=function(e){var t=(e=e.geometry).coordinates[0];return 1<e.coordinates.length&&(t=e.coordinates[0][0]),(0,v.default)(t,(function(e){return{lng:e[0],lat:e[1]}}))},B.prototype.enableSwitch=function(){return this._enableSwitch=!0,this},B.prototype.disableSwitch=function(){return this._enableSwitch=!1,this},B.prototype.enableSwitchBuilding=function(){return this._enableSwitchBuilding=!0,this},B.prototype.disableSwitchBuilding=function(){return this._enableSwitchBuilding=!1,this},Object.defineProperty(B.prototype,"buildingFloors",{get:function(){return this._buildingFloors},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"ordinals",{get:function(){return this._curOrdinals},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"buildingId",{get:function(){return this._curBuildingId},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"currentFloor",{get:function(){return this._buildingFloor},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"ordinal",{get:function(){return this._curOrdinal},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"venueId",{get:function(){return this._curVenueId},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"venueFloors",{get:function(){return this._venueFloors},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"refLevel",{get:function(){return this._refLevel},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"refLevels",{get:function(){return this._refLevels},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"features",{get:function(){return this._features},enumerable:!1,configurable:!0}),B.prototype.getFeature=function(e){return(0,f.default)(this.features,(function(t){return t.properties.id===e}))},B.prototype.getBuildingByPoint=function(e){if((e=this._map.queryRenderedFeatures(e,{layers:["mapxus-level-fill"]})).length)return e=e[0].properties["ref:building"],this.getFeature(e)},B.prototype.selectBuilding=function(e){this._isNotCurrentFeature(e)&&(this._curBuildingFeature=e,this._load()),e||(this._clear(),this.fire(new c.DefinedEvent("selectVenue",{venueFeature:null}))),this.fire(new c.DefinedEvent("selectBuilding",{feature:e}))},B.prototype.switchBuilding=function(e){var t=(0,u.default)(B.getBuildingPoint(e));this._map.panTo(t),this.selectBuilding(e)},B.prototype.goToBuilding=function(e,t){var n=this,r=function(){var o;n._map.areTilesLoaded()&&(o=n.getFeature(e))&&(n._map.off("render",r),n.selectBuilding(o),t)&&t(o)};j.searchByIds(e).then((function(e){e=e.data.result.buildings[0],n._map.panTo([e.labelCenter.lon,e.labelCenter.lat]),n._map.off("render",r),n._map.on("render",r)})).catch((function(e){n.fire(new c.DefinedEvent("isIndoorLoaded",{error:e})),t&&t(null)}))},B.prototype.switchFloor=function(e){e&&(0,g.default)(this._venueFloors,e)&&(this._curOrdinal=this._getOrdinal(null,e),this._footprints.set(this._curVenueId,this._curOrdinal),this._buildingFloor=this._getLevelName(),this._refLevel=this._getRefLevel(),this.setFloorsFilter(),this.fire(new c.DefinedEvent("switchFloor")))},B.prototype.hiddenOutdoorLayer=function(e){this._isHiddenOutdoor=e,this._setOutdoorLayersHidden(e)},B.prototype.updateLayers=function(){this._indoorLayers=(0,l.getLayers)(this._map.getStyle()),this._setPoiTextColor(),this._isHiddenOutdoor&&this._setOutdoorLayersHidden(!0)},B.prototype.setFloorsFilter=function(){var e,t,n=this,r=this._levelsMap.get("".concat(this._curVenueId,"_").concat(this._curOrdinal))||[];r.length&&(this._removeDisplayedLevels(this._curVenueLevelIds),this._addDisplayedLevels(r)),(0,p.default)(this._indoorLayers,(function(r){e=r.id,t=null==(t=n._map.getLayer(e))?void 0:t.filter,!(0,g.default)(["mapxus-venue-fill","mapxus-building-line","mapxus-building-name"],e)&&t&&(t=B.isLevel(e)?n._updateFilter(t,a(["any"],n._getConditionsExpression("==",n._displayedLevels,"id"),!0)):n._updateFilter(t,a(["any"],n._getConditionsExpression("==",n._displayedLevels,"ref:level"),!0)),n._map.setFilter(e,t))}))},B.prototype._getConditionsExpression=function(e,t,n){return(0,v.default)(t,(function(t){return[e,n,t]}))},B.prototype._loadData=function(){this._map.on("load",this._init.bind(this))},B.prototype._init=function(){var e=this;this.updateLayers(),this._map.on("data",(0,b.default)((function(t){t.isSourceLoaded&&(e._map.setPaintProperty("mapxus-building-line","fill-opacity",0),e.fire(new c.DefinedEvent("isDataLoaded")),e.fire(new c.DefinedEvent("isIndoorLoaded"))),e._load()}),300)).on("click",(function(t){e._enableSwitch&&e._enableSwitchBuilding&&(t=e.getBuildingByPoint(t.point),e.selectBuilding(t))}))},B.prototype._load=function(){this._features=this._getFeatures(),this._initVenues(),this._initLostBuildings(),this._setCurIndoorStates(),this._setLevelsCache(),this._addCustomLevelFillLayer(),this.setFloorsFilter()},B.prototype._clear=function(){this._curBuildingId=null,this._buildingFloors=[],this._buildingFloor=null,this._refLevel=null,this._curBuildingFeature=null,this._curVenueId=null,this._curVenueFeature=null,this._refLevels=[],this._venueFloors=[],this._curOrdinals=[]},B.prototype._initVenues=function(){var e=this,t=(0,S.default)(this._features,(function(e){return"mapxus-venue-fill"===e.layer.id}));t.length&&(0,p.default)(t,(function(t){var n,r=(a=t.properties).id,o=a.building_ids,i=a.level_names,a=a.level_ordinals;o&&i&&a?(n=e._footprints.get(r)||e._getOrdinal(t),i=(0,v.default)(o.split(","),(function(t){return(0,f.default)(e._features,(function(e){return"mapxus-building-line"===e.layer.id&&(null==(e=null==e?void 0:e.properties)?void 0:e.id)===t}))})),(0,p.default)((0,S.default)(i,(function(e){return Boolean(e)})),(function(t){var r=(t=t.properties).ordinals;t=t.level_ids,r=r.split(","),t=t.split(",");r.includes(n)?(r=(0,h.default)(r,(function(e){return e===n})),e._addDisplayedLevels(t[r])):e._removeDisplayedLevels(t)}))):(e._incompleteVenues.includes(r)||(e._incompleteVenues=e._incompleteVenues.concat(r)),console.error("Venue(ID: ".concat(t.properties.id,") is missing level_names/level_ordinals/building_ids.")))}))},B.prototype._initLostBuildings=function(){var e,t=this;this._incompleteVenues.length&&(e=(0,S.default)(this._features,(function(e){return"mapxus-building-name"===e.layer.id&&t._incompleteVenues.includes(null==(e=e.properties)?void 0:e["ref:venue"])}))).length&&(e=(0,v.default)(e,(function(e){var n=(r=e.properties).level_ids,r=r.ordinals,o=t._getOrdinal(e);e=(0,h.default)(r.split(","),(function(e){return e===o}));return n.split(",")[e]})),this._addDisplayedLevels(e))},B.prototype._addDisplayedLevels=function(e){var t=this;(0,y.default)(e)&&e.length?(0,p.default)(e,(function(e){return t._addDisplayedLevels(e)})):"string"!=typeof e||this._displayedLevels.includes(e)||(this._displayedLevels=this._displayedLevels.concat(e))},B.prototype._removeDisplayedLevels=function(e){var t=this;(0,y.default)(e)&&e.length?(0,p.default)(e,(function(e){return t._removeDisplayedLevels(e)})):"string"==typeof e&&this._displayedLevels.includes(e)&&(this._displayedLevels=(0,S.default)(this._displayedLevels,(function(t){return t!==e})))},B.prototype._setCurIndoorStates=function(){var e,t=(null==(e=null==(e=this._curBuildingFeature)?void 0:e.properties)?void 0:e["ref:venue"])||null;t!==this._curVenueId?(this._curVenueId=t||null,this._curVenueFeature=t?(0,f.default)(this._features,(function(e){return"mapxus-venue-fill"===e.layer.id&&e.properties.id===t})):null,this._curOrdinal=this._footprints.get(this._curVenueId)||this._getOrdinal(this._curBuildingFeature),this._curOrdinals=this._getOrdinals(),this._venueFloors=this._getLevelNames(),this._footprints.set(this._curVenueId,this._curOrdinal),this._curBuildingId=this._getBuildingId(),this._buildingFloors=this._getLevelNames(this._curBuildingFeature),this._buildingFloor=this._getLevelName(),this._refLevel=this._getRefLevel(),this.fire(new c.DefinedEvent("selectVenue",{venueFeature:this._curVenueFeature}))):this._curBuildingId!==((null==(e=null==(e=this._curBuildingFeature)?void 0:e.properties)?void 0:e.id)||null)&&(this._curBuildingId=(null==(e=null==(e=this._curBuildingFeature)?void 0:e.properties)?void 0:e.id)||null,this._buildingFloors=this._getLevelNames(this._curBuildingFeature),this._buildingFloor=this._getLevelName(),this._refLevel=this._getRefLevel())},B.prototype._setLevelsCache=function(){var e,t,n,r,o,i,a,s=this;Boolean(this._curVenueFeature)&&((e=this._curVenueFeature.properties.building_ids)?(a=this._features.filter((function(t){return"mapxus-building-line"===t.layer.id&&e.split(",").includes(t.properties.id)})),t=[],(0,p.default)(a,(function(e){var n=(e=e.properties).level_ids,r=e.ordinals.split(",");r.forEach((function(e){var o,i=(0,h.default)(r,(function(t){return t===e}));i=n.split(",")[i];t=t.concat(((o={})["".concat(s._curVenueId,"_").concat(e)]=i,o))}))})),a=(0,C.default)(t,(function(e){return(0,O.default)(e)[0]})),n=[],r=[],(0,p.default)(a,(function(e,t){n=(0,v.default)(e,(function(e){return(0,T.default)(e)[0]})),r=r.concat(n),s._levelsMap.set(t,n)})),this._refLevels=this._levelsMap.get("".concat(this._curVenueId,"_").concat(this._curOrdinal))||[],this._curVenueLevelIds=r):this._curBuildingFeature&&(o=(a=this._curBuildingFeature.properties).level_ids,i=a.ordinals.split(","),a=o.split(","),(0,p.default)(a,(function(e,t){s._levelsMap.set("".concat(s._curVenueFeature.properties.id,"_").concat(i[t]),[e])})),this._curVenueLevelIds=a))},B.prototype._updateFilter=function(e,t){var n=!B.isFilterHasBeenReset(e),r=e.length-1,o=e;return n?o="all"===e[0]?a(a([],e,!0),[t],!1):"match"===e[0]?["all",["any",["==",e[1][1],e[2][0]],["==",e[1][1],e[2][1]]],t]:["all",e,t]:JSON.stringify((0,m.default)(e))!==JSON.stringify(t)&&(o=(0,v.default)(e,(function(e,n){return n===r?t:e}))),o},B.prototype._setPoiTextColor=function(){var e=this;this._indoorLayers.forEach((function(t){t=t.id;var n=e._map.getLayer(t);n&&B.isPoi(n.type)&&e._addTextHaloColor(t)}))},B.prototype._addTextHaloColor=function(e,t){this._map.setPaintProperty(e,"text-halo-color",t||"white"),this._map.setPaintProperty(e,"text-halo-width",2)},B.prototype._getFeatures=function(){var e=[(t=this._map.getCanvas().getBoundingClientRect()).x,t.y],t=[t.width,t.height];return(0,x.default)(this._map.queryRenderedFeatures([e,t]),(function(e){return e.layer.id+":"+e.properties.id}))},B.prototype._getFeatureInfo=function(){return this._curBuildingFeature||null},B.prototype._getLevelNames=function(e){var t=[];return e?t=(null==(e=null==(e=null==e?void 0:e.properties)?void 0:e.level_names)?void 0:e.split(","))||[]:null!=(e=null==(e=this._curVenueFeature)?void 0:e.properties)&&e.level_names?t=this._curVenueFeature.properties.level_names.split(","):null!=(e=null==(e=this._curBuildingFeature)?void 0:e.properties)&&e.level_names&&(t=this._curBuildingFeature.properties.level_names.split(",")),t},B.prototype._getBuildingId=function(){var e=this._getFeatureInfo();return e&&e.properties.id||null},B.prototype._getRefLevel=function(){var e,t,n=this,r=null;return this._curBuildingFeature&&this._curOrdinal&&(e=(t=this._curBuildingFeature.properties).level_ids,t=t.ordinals,t=(0,h.default)(t.split(","),(function(e){return e===n._curOrdinal})),r=e.split(",")[t]),r},B.prototype._getOrdinals=function(){var e,t=[];return null!=(e=null==(e=this._curVenueFeature)?void 0:e.properties)&&e.level_ordinals?t=this._curVenueFeature.properties.level_ordinals.split(","):null!=(e=null==(e=this._curBuildingFeature)?void 0:e.properties)&&e.ordinals&&(t=this._curBuildingFeature.properties.ordinals.split(",")),t},B.prototype._getOrdinal=function(e,t){var n,r,o,i,a,s,u=null;return e?(n=Boolean(e.properties.building),r=(a=e.properties).id,o=a.building_ids,i=a.level_names,a=a.level_ordinals,n||o&&i&&a?(o=e.properties.level_names.split(","),i=(n?e.properties.ordinals:e.properties.level_ordinals).split(","),u=t?i[s=(0,h.default)(o,(function(e){return e===t}))]:(a=this._footprints.get(e.properties.id)||null,n||!n&&!a?(0,_.default)(i,(function(e){return Math.abs(Number(e)-.1)})):a)):console.error("Venue(ID: ".concat(r,") is missing level_names/level_ordinals/building_ids."))):u=t?(s=(0,h.default)(this._venueFloors,(function(e){return e===t})),this._curOrdinals[s]):this._curOrdinal,u},B.prototype._getLevelName=function(){var e,t,n=this,r=null;return this._curBuildingFeature&&this._curOrdinal&&(t=(e=this._curBuildingFeature.properties).ordinals,e=e.level_names,-1<(t=(0,h.default)(t.split(","),(function(e){return e===n._curOrdinal}))))?e.split(",")[t]:r},B.prototype._isNotCurrentFeature=function(e){return!e||!this._curBuildingFeature||(null==(e=null==e?void 0:e.properties)?void 0:e.id)!==(null==(e=null==(e=this._curBuildingFeature)?void 0:e.properties)?void 0:e.id)},B.prototype._setOutdoorLayersHidden=function(e){var t=this,n=(0,l.getOutdoorLayers)(this._map.getStyle()),r=e?"none":"visible";(0,p.default)(n,(function(e){t._map.getLayer(e.id)&&t._map.setLayoutProperty(e.id,"visibility",r)}))},B.prototype._addCustomLevelFillLayer=function(){this._hasCustomLevelFill||(this._map.addLayer({id:"custom-level-fill",source:"indoor-planet","source-layer":"mapxus_level",type:"fill",paint:{"fill-opacity":0}}),this._hasCustomLevelFill=!0)},s=B;function B(e,t){var n=o.call(this)||this;return n._curVenueId=null,n._curVenueFeature=null,n._curOrdinal=null,n._curOrdinals=[],n._venueFloors=[],n._refLevels=[],n._displayedLevels=[],n._curVenueLevelIds=[],n._incompleteVenues=[],n._map=e,n._enableSwitch=!0,n._enableSwitchBuilding=!0,n._isHiddenOutdoor=t||!1,n._footprints=new Map,n._hasCustomLevelFill=!1,n._levelsMap=new Map,n._loadData(),n}t.Indoor=s},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=(Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingsService=void 0,n(30)),i=n(31),a=r(n(0)),s=r(n(63)),u=r(n(81)),l=r(n(36)),c=["specialHours","businessStatus","serviceHours","keywords","siteCode","refPhotoId","totalPhotoCount","photos"];function d(){this._api="/api/v1/buildings",this._request=new i.Request}d.prototype.searchByIds=function(e){if(e.length)return e="".concat(this._api,"/").concat((0,a.default)(e)?e.join(","):e),this._request.get(e);throw new Error("Parameter cannot be empty.")},d.prototype.searchByDistance=function(e,t,n,r,i){if(void 0===r&&(r=o.OFFSET),void 0===i&&(i=o.PAGE),arguments.length<3)throw new Error("Parameter cannot be empty.");if(2!==t.length)throw new Error("Center lon lat cannot be less than 2.");return t=["region=0","center=".concat(t.join(",")),"distance=".concat(n),"offset=".concat(r),"page=".concat(i)],e&&t.unshift("keywords=".concat(e)),n="".concat(this._api,"?").concat(t.join("&")),this._request.get(n)},d.prototype.searchByBbox=function(e,t,n,r){if(void 0===n&&(n=o.OFFSET),void 0===r&&(r=o.PAGE),arguments.length<2)throw new Error("Parameter cannot be empty.");if(4!==t.length)throw new Error("Bbox parameters cannot be less than 2.");return t=["region=0","bbox=".concat(t.join(",")),"offset=".concat(n),"page=".concat(r)],e&&t.unshift("keywords=".concat(e)),n="".concat(this._api,"?").concat(t.join("&")),this._request.get(n)},d.prototype.searchByGlobal=function(e,t,n){if(void 0===t&&(t=o.OFFSET),void 0===n&&(n=o.PAGE),arguments.length)return t=["region=0","searchGlobal=true","offset=".concat(t),"page=".concat(n)],e&&t.unshift("keywords=".concat(e)),n="".concat(this._api,"?").concat(t.join("&")),this._request.get(n);throw new Error("Parameter cannot be empty.")},d.prototype._changedRes=function(e){var t=this;return new Promise((function(n){t._request.get(e).then((function(e){e.data.result.buildings=(0,s.default)(e.data.result.buildings,(function(e){return(0,u.default)(e,(function(e,t){return(0,l.default)(c,t)}))})),n(e)}))}))},t.BuildingsService=d},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(8),o=n(94),i=n(96),a=n(97),s=n(98),u=n(72);e.exports=function(e){return new Promise((function(t,l){var c,d,f=e.data,h=e.headers,p=(r.isFormData(f)&&delete h["Content-Type"],new XMLHttpRequest);if(e.auth&&(c=e.auth.username||"",d=e.auth.password||"",h.Authorization="Basic "+btoa(c+":"+d)),p.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){var n;p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&(n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:n,config:e,request:p},o(t,l,n),p=null)},p.onerror=function(){l(u("Network Error",e,null,p)),p=null},p.ontimeout=function(){l(u("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()&&(c=n(99),d=(e.withCredentials||s(e.url))&&e.xsrfCookieName?c.read(e.xsrfCookieName):void 0)&&(h[e.xsrfHeaderName]=d),"setRequestHeader"in p&&r.forEach(h,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete h[t]:p.setRequestHeader(t,e)})),e.withCredentials&&(p.withCredentials=!0),e.responseType)try{p.responseType=e.responseType}catch(c){if("json"!==e.responseType)throw c}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),l(e),p=null)})),void 0===f&&(f=null),p.send(f)}))}},function(e,t,n){"use strict";var r=n(95);e.exports=function(e,t,n,o,i){return e=new Error(e),r(e,t,n,o,i)}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t){e.exports=function(e){var t;return e.webpackPolyfill||((t=Object.create(e)).children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1),t}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=(Object.defineProperty(t,"__esModule",{value:!0}),t.Poi=void 0,n(59)),i=n(65),a=r(n(32));function s(e){this._map=e,this._dispatch=(0,i.dispatch)("pointClick"),this._loadData()}s.prototype.onPointClick=function(e){var t=this,n=(0,a.default)("pointClick.");return this._dispatch.on(n,e),{unsubscribe:function(){return t._dispatch.on(n,null)}}},s.prototype._loadData=function(){this._map.on("style.load",this._init.bind(this))},s.prototype._init=function(){this._layers=(0,o.getLayers)(this._map.getStyle()).filter((function(e){return-1<e.id.indexOf("mapxus-poi")})),this._initClick()},s.prototype._initClick=function(){var e=this;this._map.on("click",(function(t){var n=e._map.queryRenderedFeatures(t.point,{layers:e._layers.map((function(e){return e.id}))});n.length&&e._dispatch.call("pointClick",null,{lngLat:t.lngLat,originalEvent:t.originalEvent,point:t.point,feature:n[0]})}))},t.Poi=s},function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||((r=r||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.FloorsControl=void 0,n(109),n(35)),a=n(65),s=o(n(37)),u=o(n(32)),l=o(n(64));function c(e,t){this._floor=null,this._venueId=null,this._ordinal=null,this._fontColor="#bdbdbf",this._selectFontColor="#fff",this._selectBoxColor="#68afce",this._map=e,this._indoor=this._map.getIndoor(),this._enableFloorControl=!0,this._position=t||"top-right",this._$floorControlButtons=[],this._dispatch=(0,a.dispatch)("floorClick")}c._$createFloor=function(e){var t=(0,i.domCreate)("button","floor");return t.setAttribute("data-floor",e),t.innerText=e,t},Object.defineProperty(c.prototype,"position",{get:function(){return this._position},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"enabled",{get:function(){return this._enableFloorControl},enumerable:!1,configurable:!0}),c.prototype.onAdd=function(e){return this._$container=(0,i.domCreate)("div","maplibregl-ctrl maplibregl-ctrl-floors",e.getContainer()),this._$container.appendChild(this._$createLayout("div")),this._listener(),this._bindEvent(),this._$container},c.prototype.onRemove=function(){(0,i.domRemove)(this._$container)},c.prototype.onFloorClick=function(e){var t=this,n=(0,u.default)("floorClick.");return this._dispatch.on(n,e),{unsubscribe:function(){return t._dispatch.on(n,null)}}},c.prototype.switchFloor=function(e,t){var n,r,o,i,a,u,c=this;this._indoor.venueFloors&&((r=(0,l.default)(this._indoor.venueFloors,(function(t){return t===e})))||(o=this._indoor.getFeature(this._indoor.buildingId))&&(i=(o=o.properties).level_names,u=o.ordinals,-1<(o=(0,s.default)(i.split(","),(function(t){return t===e}))))&&(n=u.split(",")[o],r=this._indoor.venueFloors[(0,s.default)(this._indoor.ordinals,(function(e){return e===n}))]),r)&&(this._setCurrentButtonActive(!1),this._$currentButton.style.color=this._fontColor,this._$floorControlButtons.forEach((function(e){e.getAttribute("data-floor")===r&&(c._floor=r,c._$currentButton=e,c._setCurrentButtonActive(!0),c._scrollToClickedFloor())})),this._indoor.switchFloor(r),this._ordinal=this._indoor.ordinal,u=(a=(o=this._indoor.getFeature(this._indoor.buildingId)).properties).ordinals,i=a.level_names,u=-1<(a=(0,s.default)(u.split(","),(function(e){return e===c._ordinal})))?i.split(",")[a]:null,this._dispatch.call("floorClick",null,{floor:u,feature:o}),t)&&t({floor:u,feature:o})},c.prototype.setStyle=function(e){var t=this;["fontColor","selectFontColor","selectBoxColor"].forEach((function(n){e.hasOwnProperty(n)&&("fontColor"===n&&(t._fontColor=e[n],t._$floorControlButtons.forEach((function(e){e.style.color=t._fontColor}))),"selectFontColor"===n&&(t._selectFontColor=e[n],t._$currentButton.style.color=t._selectFontColor),"selectBoxColor"===n)&&(t._selectBoxColor=e[n],t._$currentButton.style.backgroundColor=t._selectBoxColor)}))},c.prototype.setLayoutHidden=function(e){this._enableFloorControl=!e,e?this._$hideLayout():this._$showLayout()},c.prototype.moveFloorControl=function(e,t){var n=(e=document.querySelector(".maplibregl-ctrl-".concat(e))).querySelector(".maplibregl-ctrl-floors"),r=document.querySelector(".maplibregl-ctrl-".concat(t));n&&(e.removeChild(n),r.prepend(n),this._position=t,this._scrollToClickedFloor())},c.prototype._listener=function(){this._map.getMap().on("moveend",this._refresh.bind(this)),this._map.getIndoor().on("selectVenue",this._init.bind(this))},c.prototype._init=function(e){var t=this;e=e.venueFeature;this._venueId===this._indoor.venueId&&this._ordinal===this._indoor.ordinal||(this._venueId=this._indoor.venueId,this._ordinal=this._indoor.ordinal,this._floor=this._getCurrentFloor(),this._$hideLayout(),this._$clearFloors(),e&&(this._$configLayoutHeight(),this._$createFloors(),this._isEnableDisplay()&&this._$showLayout(),setTimeout((function(){t._scrollToClickedFloor(),t._$showOrHideArrow()}),300)))},c.prototype._refresh=function(){this._isEnableDisplay()?this._$showLayout():this._$hideLayout(),this._isEmptyFloors()&&this._$hideLayout()},c.prototype._$createLayout=function(e){return this._$layout=(0,i.domCreate)(e,"mapxus-floor-selector-layout hide"),this._$arrowUp=(0,i.domCreate)(e,"mapxus-floor-selector-up",this._$layout),this._$arrowDown=(0,i.domCreate)(e,"mapxus-floor-selector-down",this._$layout),this._$outer=(0,i.domCreate)(e,"mapxus-floor-selector-outer",this._$layout),this._$inner=(0,i.domCreate)(e,"mapxus-floor-selector-inner",this._$outer),this._$layout.appendChild(this._$outer),this._$layout},c.prototype._$configLayoutHeight=function(){var e=5<=(e=this._indoor.venueFloors.length)?5:e;this._$outer.style.height="".concat(34*e,"px"),this._$configArrowDownTop()},c.prototype._$configArrowDownTop=function(){var e=parseInt(this._$outer.style.height.replace(/px/,""),10);this._$arrowDown.style.marginTop="".concat(e-26,"px")},c.prototype._$showOrHideArrow=function(){this._$hideArrowDown(),this._$hideArrowUp(),this._floorScroll()},c.prototype._$showLayout=function(){this._$container.classList.remove("hide")},c.prototype._$hideLayout=function(){this._$container.classList.add("hide")},c.prototype._$showArrowUp=function(){this._$arrowUp.classList.remove("hide")},c.prototype._$hideArrowUp=function(){this._$arrowUp.classList.add("hide")},c.prototype._$showArrowDown=function(){this._$arrowDown.classList.remove("hide")},c.prototype._$hideArrowDown=function(){this._$arrowDown.classList.add("hide")},c.prototype._$createFloors=function(){var e=this;r([],this._indoor.venueFloors,!0).reverse().forEach((function(t){var n=c._$createFloor(t);e._$inner.appendChild(n),e._$floorControlButtons.push(n),n.style.color=e._fontColor,t===e._floor&&(e._$currentButton=n,e._setCurrentButtonActive(!0))})),this._$layout.classList.remove("hide")},c.prototype._$clearFloors=function(){this._$inner.innerHTML=""},c.prototype._isEmptyFloors=function(){return!Boolean(this._$inner.innerHTML)},c.prototype._isOverflowFloorMax=function(){return 5<Array.prototype.slice.call(this._$inner.querySelectorAll("button.floor")).length},c.prototype._isEnableDisplay=function(){return 16<=this._map.getMap().getZoom()&&this._enableFloorControl},c.prototype._scrollToClickedFloor=function(){var e,t=this;5<this._indoor.venueFloors.length&&(e=(0,s.default)(this._indoor.venueFloors,(function(e){return e===t._floor})))<this._indoor.venueFloors.length-1-2&&(this._$inner.scrollTop=34*(this._indoor.venueFloors.slice(e+1).length-2))},c.prototype._setCurrentButtonActive=function(e){this._$currentButton.style.color=e?this._selectFontColor:this._fontColor,this._$currentButton.style.backgroundColor=e?this._selectBoxColor:"#fff",this._$currentButton.disabled=e,this._$currentButton.style.cursor=e?"initial":"pointer"},c.prototype._floorClick=function(e){e=e.target.getAttribute("data-floor"),this.switchFloor(e)},c.prototype._floorScroll=function(){var e=this._$inner.clientHeight,t=this._$inner.scrollHeight,n=0===this._$inner.scrollTop;t=this._$inner.scrollTop===t-e;this._isOverflowFloorMax()&&(n?(this._$hideArrowUp(),this._$showArrowDown()):t?(this._$hideArrowDown(),this._$showArrowUp()):(this._$showArrowUp(),this._$showArrowDown()))},c.prototype._floorClickEvent=function(){this._$inner.addEventListener("click",this._floorClick.bind(this))},c.prototype._floorScrollEvent=function(){this._$inner.addEventListener("scroll",this._floorScroll.bind(this))},c.prototype._bindEvent=function(){this._floorClickEvent(),this._floorScrollEvent()},c.prototype._getCurrentFloor=function(){var e,t=this,n=null;return this._ordinal&&-1<(e=(0,s.default)(this._indoor.ordinals,(function(e){return e===t._ordinal})))?this._indoor.venueFloors[e]:n},t.FloorsControl=c},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=(Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingFilterControl=void 0,n(114),n(35)),i=r(n(64)),a=r(n(62));function s(e,t){this._map=e,this._position=t||"top-right",this._enableBuildingSelector=!0}s.prototype.onAdd=function(e){return this._container=(0,o.domCreate)("div","maplibregl-ctrl maplibregl-ctrl-building-filter",e.getContainer()),this._container.appendChild(this._buildingFilterIconCreate("div")),this._container.appendChild(this._buildingNameListCreate("div")),this._loadData(),this._container},s.prototype.onRemove=function(){(0,o.domRemove)(this._container)},Object.defineProperty(s.prototype,"position",{get:function(){return this._position},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"enabled",{get:function(){return this._enableBuildingSelector},enumerable:!1,configurable:!0}),s.prototype.setLayoutHidden=function(e){this._enableBuildingSelector=!e,e?this._$hideLayout():this._$showLayout()},s.prototype.moveBuildingFilter=function(e,t){var n=(e=document.querySelector(".maplibregl-ctrl-".concat(e))).querySelector(".maplibregl-ctrl-building-filter");t=document.querySelector(".maplibregl-ctrl-".concat(t));n&&(e.removeChild(n),t.prepend(n))},s.prototype._loadData=function(){this._init(),this._map.getMap().on("moveend",this._refresh.bind(this)),this._map.getIndoor().on("selectBuilding",this._select.bind(this)).on("isDataLoaded",this._refresh.bind(this))},s.prototype._init=function(){this._load()},s.prototype._refresh=function(){this._load()},s.prototype._select=function(e){this._buildingId=e.feature?e.feature.properties.id:null,this._refresh()},s.prototype._load=function(){this._indoor=this._map.getIndoor(),this._buildingNameListClean(),this._buildingNameListUpdate(this._indoor.features,this._features=[],this._buildingId)},s.prototype._getFeatureByName=function(e){return(0,i.default)(this._features,(function(t){return t.properties.name===e}))},s.prototype._buildingFilterIconCreate=function(e){return(e=window.document.createElement(e)).className="mapxus-building-filter-icon",this._buildingToggleListEvent(e,!0),e},s.prototype._buildingNameListCreate=function(e){return this._buildingNameLayout=window.document.createElement(e),this._buildingNameLayout.className="mapxus-building-name-layout",this._buildingNameLayout.style.display="none",this._buildingNameList=window.document.createElement(e),this._buildingNameList.className="mapxus-building-name-list",this._buildingNameLayout.appendChild(this._buildingNameList),this._buildingToggleListEvent(this._buildingNameLayout,!1),this._buildingNameLayout},s.prototype._buildingNameListUpdate=function(e,t,n){var r=this;(0,a.default)(e,(function(e){var o,a,s;!(0,i.default)(t,(function(t){return t.properties.id===e.properties.id}))&&Boolean(null==(o=e.properties)?void 0:o.building)&&(t.push(e),o=!1,n&&e.properties.id===n&&(o=!0),a=(s=e.properties).name,s=s.id,r._buildingNameList.appendChild(r._buildingNameCreate("p",a,s,o)))})),this._buildingNameListHeight(t)},s.prototype._buildingNameListClean=function(){this._buildingNameList.innerHTML=""},s.prototype._buildingNameListHeight=function(e){e=26*e.length,this._buildingNameList.style.height=this._buildingNameLayout.style.height="".concat(208<=e?208:e,"px"),-1<this._position.indexOf("bottom")&&(this._buildingNameLayout.style.marginTop="".concat(-(208<=e?208:e),"px")),-1<this._position.indexOf("left")&&(this._buildingNameLayout.style.left="".concat(45,"px")),-1<this._position.indexOf("right")&&(this._buildingNameLayout.style.right="".concat(45,"px"))},s.prototype._buildingNameCreate=function(e,t,n,r){return(e=window.document.createElement(e)).dataset.id=n,e.className="mapxus-building-name",e.innerHTML=t,r&&e.classList.add("active"),this._buildingNameClickEvent(e),e},s.prototype._toggleList=function(e){this._buildingNameLayout.style.display=e?"block":"none"},s.prototype._buildingNameClickEvent=function(e){var t=this;e.onclick||(e.onclick=function(e){e=e.target,t._indoor.goToBuilding(e.dataset.id)})},s.prototype._buildingToggleListEvent=function(e,t){var n=this;e.onmouseenter||(e.onmouseenter=function(e){n._toggleList(!0)}),e.onmouseleave||t||(e.onmouseleave=function(e){n._toggleList(!1)})},s.prototype._$showLayout=function(){this._container.classList.remove("hide")},s.prototype._$hideLayout=function(){this._container.classList.add("hide")},t.BuildingFilterControl=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCustomizedThemeUrl=t.mapxusTheme_v2=t.landsDTheme=t.mapxusTheme=t.mappyBeeTheme=t.halloweenTheme=t.commonTheme=t.christmasTheme=void 0;var r=n(30);function o(e){return"".concat(r.BMS_URL,"/api/").concat("v2","/tiles/styles/").concat(e)}t.christmasTheme=o("christmas_mims2_v1"),t.commonTheme=o("common_mims2_v1"),t.halloweenTheme=o("halloween_mims2_v1"),t.mappyBeeTheme=o("mappybee_mims2_v1"),t.mapxusTheme=o("mapxus_mims2_v1"),t.landsDTheme=o("lands_d_mims2_v1"),t.mapxusTheme_v2=o("mapxus_mims2_v4"),t.getCustomizedThemeUrl=o},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=(Object.defineProperty(t,"__esModule",{value:!0}),t.PoisService=void 0,n(30)),i=n(31),a=n(126),s=r(n(63)),u=r(n(81)),l=r(n(0)),c=r(n(36)),d=["specialHours","businessStatus","serviceHours","keywords","siteCode","refPhotoId","totalPhotoCount","photos"];function f(){this._api="/api/v1/pois",this._categories="/api/v1/categories",this._request=new i.Request}f.prototype.searchByIds=function(e){if(e.length)return e="".concat(this._api,"/").concat((0,l.default)(e)?e.join(","):e),this._request.get(e);throw new Error("Parameter cannot be empty.")},f.prototype.searchByDistance=function(e,t,n,r,i){if(void 0===r&&(r=o.OFFSET),void 0===i&&(i=o.PAGE),arguments.length<3)throw new Error("Parameter cannot be empty.");if(2!==t.length)throw new Error("Center lon lat cannot be less than 2.");return n=Math.round(n),t=["center=".concat(t.join(",")),"distance=".concat(n),"offset=".concat(r),"page=".concat(i)],e&&t.unshift("category=".concat(e)),n="".concat(this._api,"?").concat(t.join("&")),this._request.get(n)},f.prototype.searchByBbox=function(e,t,n,r){if(void 0===n&&(n=o.OFFSET),void 0===r&&(r=o.PAGE),arguments.length<2)throw new Error("Parameter cannot be empty.");if(4!==t.length)throw new Error("Bbox parameters cannot be less than 2.");return t=["bbox=".concat(t.join(",")),"offset=".concat(n),"page=".concat(r)],e&&t.unshift("keywords=".concat(e)),n="".concat(this._api,"?").concat(t.join("&")),this._request.get(n)},f.prototype.searchByBuildingId=function(e,t,n,r){if(void 0===n&&(n=o.OFFSET),void 0===r&&(r=o.PAGE),arguments.length<2)throw new Error("Parameter cannot be empty.");return t=["buildingId=".concat(t),"offset=".concat(n),"page=".concat(r)],e&&t.unshift("keywords=".concat(e)),n="".concat(this._api,"?").concat(t.join("&")),this._request.get(n)},f.prototype.searchCategory=function(e,t){if(arguments.length)return e=["buildingId=".concat(e)],t&&e.push("floor=".concat(t)),t="".concat(this._categories,"/pois?").concat(e.join("&")),this._request.get(t);throw new Error("Missing buildingId")},f.prototype.searchOrientation=function(e,t,n,r,o,i){if(void 0===o&&(o=a.DistanceSearchType.POINT),6!==arguments.length)throw new Error("Parameter length should be 6.");return e=Math.round(e),r=Math.round(r),e=["angle=".concat(e),"buildingId=".concat(t),"center=".concat(n.join(",")),"distance=".concat(r),"distanceSearchType=".concat(o),"floor=".concat(i)],t="".concat(this._api,"/orientation?").concat(e.join("&")),this._request.get(t)},f.prototype._changedRes=function(e){var t=this;return new Promise((function(n){t._request.get(e).then((function(e){e.data.result.pois=(0,s.default)(e.data.result.pois,(function(e){return(0,u.default)(e,(function(e,t){return(0,c.default)(d,t)}))})),n(e)}))}))},t.PoisService=f},function(e,t,n){"use strict";n.r(t);var r=n(2),o=n(15),i=n(25),a=n(56),s=n(17),u=Object.prototype.hasOwnProperty,l=function(e,t,n){var r=e[t];u.call(e,t)&&Object(s.a)(r,n)&&(void 0!==n||t in e)||Object(a.a)(e,t,n)},c=n(19),d=n(16),f=n(3),h=n(12),p=function(e,t,n,r){if(Object(f.a)(e))for(var o=-1,i=(t=Object(c.a)(t,e)).length,a=i-1,s=e;null!=s&&++o<i;){var u,p=Object(h.a)(t[o]),g=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;o!=a&&(u=s[p],void 0===(g=r?r(u,p,s):void 0))&&(g=Object(f.a)(u)?u:Object(d.a)(t[o+1])?[]:{}),l(s,p,g),s=s[p]}return e},g=n(45),y=n(46),m=n(42),v=Object(m.a)(Object.getPrototypeOf,Object),_=n(47),b=(m=n(48),Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Object(y.a)(t,Object(_.a)(e)),e=v(e);return t}:m.a),w=n(54),x=n(41),C=Object.prototype.hasOwnProperty,O=function(e){if(!Object(f.a)(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t,n=Object(x.a)(e),r=[];for(t in e)("constructor"!=t||!n&&C.call(e,t))&&r.push(t);return r},T=n(4);function S(e){return Object(T.a)(e)?Object(w.a)(e,!0):O(e)}var j=function(e,t){var n;return null==e?{}:(n=Object(o.a)(function(e){return Object(g.a)(e,S,b)}(e),(function(e){return[e]})),t=Object(r.a)(t),function(e,t,n){for(var r=-1,o=t.length,a={};++r<o;){var s=t[r],u=Object(i.a)(e,s);n(u,s)&&p(a,Object(c.a)(s,e),u)}return a}(e,n,(function(e,n){return t(e,n[0])})))};t.default=function(e,t){return j(e,function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}(Object(r.a)(t)))}},function(e,t,n){"use strict";n.r(t);var r=n(3),o=n(1),i=function(){return o.a.Date.now()},a=n(28),s=Math.max,u=Math.min;t.default=function(e,t,n){var o,l,c,d,f,h,p=0,g=!1,y=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=o,r=l;return o=l=void 0,p=t,d=e.apply(r,n)}function _(e){var n=e-h;return void 0===h||t<=n||n<0||y&&c<=e-p}function b(){var e,n=i();if(_(n))return w(n);f=setTimeout(b,(e=t-((n=n)-h),y?u(e,c-(n-p)):e))}function w(e){return f=void 0,m&&o?v(e):(o=l=void 0,d)}function x(){var e=i(),n=_(e);if(o=arguments,l=this,h=e,n){if(void 0===f)return p=e=h,f=setTimeout(b,t),g?v(e):d;if(y)return clearTimeout(f),f=setTimeout(b,t),v(h)}return void 0===f&&(f=setTimeout(b,t)),d}return t=Object(a.a)(t)||0,Object(r.a)(n)&&(g=!!n.leading,c=(y="maxWait"in n)?s(Object(a.a)(n.maxWait)||0,t):c,m="trailing"in n?!!n.trailing:m),x.cancel=function(){void 0!==f&&clearTimeout(f),o=h=l=f=void(p=0)},x.flush=function(){return void 0===f?d:w(i())},x}},function(e,t,n){"use strict";n.r(t);var r=n(49),o=n(13);function i(e,t){var n=[];return Object(o.a)(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}var a=n(2),s=n(0);t.default=function(e,t){return(Object(s.default)(e)?r.a:i)(e,Object(a.a)(t,3))}},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){"use strict";var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s=(Object.defineProperty(t,"__esModule",{value:!0}),t.Map=void 0,n(68)),u=n(76),l=n(77),c=n(78),d=n(117),f=n(31),h=n(118),p=n(29),g=n(119),y=n(123),m=n(80),v=n(127),_=n(59),b=n(128),w=n(79),x=n(65),C=a(n(83)),O=a(n(62)),T=a(n(36)),S=a(n(38)),j=a(n(82)),B=a(n(32));i(A,o=p.Evented),A._getThemeStyleName=function(e){var t;if(-1<(0,S.default)(b.ThemeType).indexOf(e))switch(e){case b.ThemeType.CHRISTMAS:t=w.christmasTheme;break;case b.ThemeType.HALLOWEEN:t=w.halloweenTheme;break;case b.ThemeType.MAPPY_BEE:t=w.mappyBeeTheme;break;case b.ThemeType.MAPXUS:t=w.mapxusTheme;break;case b.ThemeType.MAPXUS_V2:t=w.mapxusTheme_v2;break;case b.ThemeType.COMMON:t=w.commonTheme;break;case b.ThemeType.LANDS_D:t=w.landsDTheme}else t=(0,w.getCustomizedThemeUrl)(e);return t},A.prototype.renderComplete=function(e){this.on("isRenderComplete",(function(t){return e(t)}))},A.prototype.getIndoor=function(){return this._indoor},A.prototype.getMap=function(){return this._map},A.prototype.transformPoiTextFieldLanguage=function(e){var t=this,n=null==(n=this._map)?void 0:n.getStyle();n&&(n=(0,_.getLayers)(n),(n=(0,C.default)(n,(function(e){return"symbol"===t._map.getLayer(e.id).type}))).length)&&(0,v.getTextFieldCoalesceList)(n,e).forEach((function(e){t._map.setLayoutProperty(e.layerId,"text-field",e.coalesce)}))},A.prototype.enableSwitch=function(){var e;return null!=(e=this._indoor)&&e.enableSwitch(),this},A.prototype.disableSwitch=function(){var e;return null!=(e=this._indoor)&&e.disableSwitch(),this},A.prototype.enableSwitchBuilding=function(){var e;return null!=(e=this._indoor)&&e.enableSwitchBuilding(),this},A.prototype.disableSwitchBuilding=function(){var e;return null!=(e=this._indoor)&&e.disableSwitchBuilding(),this},A.prototype.hiddenOutdoorLayer=function(e){var t;null!=(t=this.getIndoor())&&t.hiddenOutdoorLayer(e)},Object.defineProperty(A.prototype,"floors",{get:function(){var e;return null==(e=this.getIndoor())?void 0:e.buildingFloors},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"currentFloor",{get:function(){var e;return null==(e=this.getIndoor())?void 0:e.currentFloor},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"building",{get:function(){var e=null==(e=this.getIndoor())?void 0:e.getFeature(this._indoor.buildingId);return null==e?void 0:e.properties},enumerable:!1,configurable:!0}),A.prototype.getFeature=function(e){var t;return null==(t=this.getIndoor())?void 0:t.getFeature(e)},A.prototype.selectBuilding=function(e){var t;return null!=(t=this._indoor)&&t.selectBuilding(e),this},A.prototype.switchBuilding=function(e,t){var n;return null!=(n=this._indoor)&&n.goToBuilding(e,t),this},A.prototype.switchFloor=function(e,t){var n;return null!=(n=this._floorsControl)&&n.switchFloor(e,t),this},A.prototype.onMapClickListener=function(e){var t,n=this,r=(0,B.default)("mapClick.");return null!=(t=this._dispatch)&&t.on(r,e),{unsubscribe:function(){return n._dispatch.on(r,null)}}},A.prototype.onIndoorPoiListener=function(e){var t;return null==(t=this._poi)?void 0:t.onPointClick(e)},A.prototype.onFloorChangeListener=function(e){var t;return null==(t=this._floorsControl)?void 0:t.onFloorClick(e)},A.prototype.onBuildingChangeListener=function(e){var t,n=this,r=(0,B.default)("buildingChange.");return null!=(t=this._dispatch)&&t.on(r,e),{unsubscribe:function(){return n._dispatch.on(r,null)}}},A.prototype.disableFloorControl=function(){var e;return null!=(e=this._floorsControl)&&e.setLayoutHidden(!0),this},A.prototype.enableFloorControl=function(e){var t;return e&&e!==(null==(t=this._floorsControl)?void 0:t.position)?(null!=(t=this._floorsControl)&&t.moveFloorControl(this._floorsControl.position,e),null!=(t=this._floorsControl)&&t.enabled||null!=(e=this._floorsControl)&&e.setLayoutHidden(!1)):this._floorsControl.enabled||this._floorsControl.setLayoutHidden(!1),this},A.prototype.disableBuildingSelector=function(){var e;return null!=(e=this._buildingFilterControl)&&e.setLayoutHidden(!0),this},A.prototype.enableBuildingSelector=function(e){var t;return e&&e!==(null==(t=this._buildingFilterControl)?void 0:t.position)?(null!=(t=this._buildingFilterControl)&&t.moveBuildingFilter(this._buildingFilterControl.position,e),null!=(t=this._buildingFilterControl)&&t.enabled||null!=(e=this._buildingFilterControl)&&e.setLayoutHidden(!1)):this._buildingFilterControl.enabled||this._buildingFilterControl.setLayoutHidden(!1),this},A.prototype.switchTheme=function(e){var t;this._setStyle(A._getThemeStyleName(e)),null!=(t=this._attributionControl)&&t.changeTheme(e),null!=(t=this._map)&&t.on("styledata",(0,j.default)(this._setIndoorFilter.bind(this),250))},A.prototype.setFloorsControlStyle=function(e){var t;null!=(t=this._floorsControl)&&t.setStyle(e)},A.prototype._setIndoorFilter=function(){this._indoor.updateLayers(),this._indoor.setFloorsFilter()},A.prototype._setStyle=function(e){var t;null!=(t=this._map)&&t.setStyle(e,{localIdeographFontFamily:"'Arial Unicode MS', 'Open Sans'"})},A.prototype._addControl=function(e,t){return this._map.addControl(e,t),this},A.prototype._defaultSetMapZoom=function(){return this._map.setZoom(17),this},A.prototype._defaultSelectedBuilding=function(e){var t=this;return this._buildingId=e.buildingId,this._indoor.goToBuilding(this._buildingId,(function(){if(e.floor){if(!(0,T.default)(t.building.level_names.split(","),e.floor))throw new Error("floor exclude in the building");t._floorsControl.switchFloor(e.floor)}t.fire(new p.DefinedEvent("isLoadedBuilding"))})),this},A.prototype._defaultSelectedPoi=function(e){var t=this;return(new m.PoisService).searchByIds([e.poiId]).then((function(e){var n=e.data.result.pois[0];t._buildingId=n.buildingId,t._indoor.goToBuilding(t._buildingId,(function(){t._floorsControl&&t._floorsControl.switchFloor(n.floor),t._map.setZoom(19),t._map.panTo([n.location.lon,n.location.lat]),t.fire(new p.DefinedEvent("isLoadedBuilding"))}))})).catch((function(){throw new Error("poi don't exist.")})),this},a=A;function A(e){var t=o.call(this)||this;if(!e.map)throw new Error("Outdoor Map parameter missing.");if(e.appId&&e.secret)return f.Request.authorization(e.appId,e.secret).then((function(){return t._enableFloorControl=!1!==e.enableFloorControl,t._enableBuildingSelector=!1!==e.enableBuildingSelector,t._map=e.map,t._poi=new u.Poi(t._map),t._indoor=new s.Indoor(t._map,e.hiddenOutdoor),t._mapZoom=e.map.getZoom(),f.Request.map=t._map,new Promise((function(e,t){(new h).get((function(t){e(t)}))}))})).then((function(n){f.Request.identifier=n,(n=t._map)._requestManager?n._requestManager.transformRequest=f.Request.transformRequest:n._transformRequest=f.Request.transformRequest,t._indoor.setEventedParent(t,{indoor:t._indoor}),t._addControl(t._buildingFilterControl=new c.BuildingFilterControl(t)),t._addControl(t._floorsControl=new l.FloorsControl(t)),t._addControl(new g.LogoControl),t._addControl(t._attributionControl=new y.AttributionControl({theme:e.theme})),t._dispatch=(0,x.dispatch)("mapClick","buildingChange"),(t._mapZoom<8||22<t._mapZoom)&&(t._defaultSetMapZoom(),1<t._mapZoom)&&console.error("The allowed map zoom is in the range of [8, 22]."),e.buildingId&&t._defaultSelectedBuilding(e),e.poiId&&t._defaultSelectedPoi(e),t._enableBuildingSelector||t._buildingFilterControl.setLayoutHidden(!0),t._enableFloorControl||t._floorsControl.setLayoutHidden(!0),n=(0,d.outdoorConfig)().url,e.theme&&(n=A._getThemeStyleName(e.theme)),t._setStyle(n),t._map.once("styledata",(function(){t._initialHiddenLayers=(0,_.getLayers)(t._map.getStyle()).filter((function(e){return e.id.indexOf("mapxus-building")<0||"mapxus-venue-fill"!==e.id})),t._initialHiddenLayers.forEach((function(e){t._map.setLayoutProperty(e.id,"visibility","none")}))})),t._map.on("click",(function(e){e.feature=t._indoor.getBuildingByPoint(e.point),t._dispatch.call("mapClick",null,e)})),t._indoor.once("isIndoorLoaded",(function(){(0,O.default)(t._initialHiddenLayers,(function(e){t._map.setLayoutProperty(e.id,"visibility","visible")}))})),t._indoor.on("selectBuilding",(function(e){t._dispatch.call("buildingChange",null,e.feature)})),t.once("isIndoorLoaded",(function(e){!e.error&&(t.transformPoiTextFieldLanguage(window.navigator.language),t._buildingId)?t.once("isLoadedBuilding",(function(){t.fire(new p.DefinedEvent("isRenderComplete",e))})):t.fire(new p.DefinedEvent("isRenderComplete",e))}))})).catch((function(){throw new Error("Authorization does not pass.")})),t;throw new Error("Permission parameter missing.")}t.Map=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.length,n=0,r=0;return e.forEach((function(e){n+=e.lng*Math.PI/180,r+=e.lat*Math.PI/180})),r/=t,{lng:180*(n/=t)/Math.PI,lat:180*r/Math.PI}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extend=void 0,t.extend=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++){var i,a=o[r];for(i in a)a.hasOwnProperty(i)&&(e[i]=a[i])}return e}},function(e,t,n){e.exports=n(89)},function(e,t,n){"use strict";var r=n(8),o=n(70),i=n(91),a=n(60);function s(e){e=new i(e);var t=o(i.prototype.request,e);return r.extend(t,i.prototype,e),r.extend(t,e),t}var u=s(a);u.Axios=i,u.create=function(e){return s(r.merge(a,e))},u.Cancel=n(74),u.CancelToken=n(105),u.isCancel=n(73),u.all=function(e){return Promise.all(e)},u.spread=n(106),e.exports=u,e.exports.default=u},function(e,t){
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.MapxusMap=t():e.MapxusMap=t()}(window,(function(){return t=[function(e,t,n){"use strict";n.r(t),n=Array.isArray,t.default=n},function(e,t,n){"use strict";n=n(40);var r="object"==typeof self&&self&&self.Object===Object&&self;n=n.a||r||Function("return this")();t.a=n},function(e,t,n){"use strict";var r=n(18);var o=n(20),i=n(22);function a(e){e=this.__data__=new r.a(e),this.size=e.size}a.prototype.clear=function(){this.__data__=new r.a,this.size=0},a.prototype.delete=function(e){var t=this.__data__;return e=t.delete(e),this.size=t.size,e},a.prototype.get=function(e){return this.__data__.get(e)},a.prototype.has=function(e){return this.__data__.has(e)},a.prototype.set=function(e,t){var n=this.__data__;if(n instanceof r.a){var a=n.__data__;if(!o.a||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i.a(a)}return n.set(e,t),this.size=n.size,this};var s=a,u=n(53),l=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},c=n(44),d=function(e,t,n,r,o,i){var a=1&n,s=e.length;if(s!=(d=t.length)&&!(a&&s<d))return!1;var d=i.get(e),f=i.get(t);if(d&&f)return d==t&&f==e;var h=-1,p=!0,g=2&n?new u.a:void 0;for(i.set(e,t),i.set(t,e);++h<s;){var y,m=e[h],v=t[h];if(void 0!==(y=r?a?r(v,m,h,t,e,i):r(m,v,h,e,t,i):y)){if(y)continue;p=!1;break}if(g){if(!l(t,(function(e,t){if(!Object(c.a)(g,t)&&(m===e||o(m,e,n,r,i)))return g.push(t)}))){p=!1;break}}else if(m!==v&&!o(m,v,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p},f=n(9),h=(N=n(1)).a.Uint8Array,p=n(17);function g(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}var y=n(26),m=(f=f.a?f.a.prototype:void 0)?f.valueOf:void 0,v=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new h(e),new h(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Object(p.a)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=g;case"[object Set]":if(s=s||y.a,e.size!=t.size&&!(1&r))return!1;var u=a.get(e);return u?u==t:(r|=2,a.set(e,t),u=d(s(e),s(t),r,o,i,a),a.delete(e),u);case"[object Symbol]":if(m)return m.call(e)==m.call(t)}return!1},_=n(45),b=n(47),w=n(10),x=function(e){return Object(_.a)(e,w.default,b.a)},C=Object.prototype.hasOwnProperty,O=(f=n(5),Object(f.a)(N.a,"DataView")),T=Object(f.a)(N.a,"Promise"),S=n(21),j=(f=Object(f.a)(N.a,"WeakMap"),n(7)),B=n(14),A="[object Map]",E="[object Promise]",P="[object Set]",L="[object WeakMap]",M="[object DataView]",R=Object(B.a)(O),F=Object(B.a)(o.a),I=Object(B.a)(T),k=Object(B.a)(S.a),D=Object(B.a)(f),N=j.a,H=N=O&&N(new O(new ArrayBuffer(1)))!=M||o.a&&N(new o.a)!=A||T&&N(T.resolve())!=E||S.a&&N(new S.a)!=P||f&&N(new f)!=L?function(e){var t=Object(j.a)(e);if(e=(e="[object Object]"==t?e.constructor:void 0)?Object(B.a)(e):"")switch(e){case R:return M;case F:return A;case I:return E;case k:return P;case D:return L}return t}:N,U=n(0),G=n(27),z=n(52),V="[object Arguments]",K="[object Array]",X="[object Object]",q=Object.prototype.hasOwnProperty,W=function(e,t,n,r,o,i){var a=Object(U.default)(e),u=Object(U.default)(t),l=a?K:H(e),c=(u=u?K:H(t),(l=l==V?X:l)==X),f=(u=u==V?X:u)==X;if((u=l==u)&&Object(G.a)(e)){if(!Object(G.a)(t))return!1;c=!(a=!0)}return u&&!c?(i=i||new s,a||Object(z.a)(e)?d(e,t,n,r,o,i):v(e,t,l,n,r,o,i)):1&n||(a=c&&q.call(e,"__wrapped__"),l=f&&q.call(t,"__wrapped__"),!a&&!l)?u&&function(e,t,n,r,o,i){var a=1&n,s=x(e),u=s.length;if(u!=x(t).length&&!a)return!1;for(var l=u;l--;){var c=s[l];if(!(a?c in t:C.call(t,c)))return!1}var d=i.get(e),f=i.get(t);if(d&&f)return d==t&&f==e;for(var h=!0,p=(i.set(e,t),i.set(t,e),a);++l<u;){var g,y=e[c=s[l]],m=t[c];if(!(void 0===(g=r?a?r(m,y,c,t,e,i):r(y,m,c,e,t,i):g)?y===m||o(y,m,n,r,i):g)){h=!1;break}p=p||"constructor"==c}return h&&!p&&(d=e.constructor)!=(f=t.constructor)&&"constructor"in e&&"constructor"in t&&!("function"==typeof d&&d instanceof d&&"function"==typeof f&&f instanceof f)&&(h=!1),i.delete(e),i.delete(t),h}(e,t,n,r,o,i=i||new s):o(a?e.value():e,l?t.value():t,n,r,i=i||new s)},Q=n(6),J=function e(t,n,r,o,i){return t===n||(null==t||null==n||!Object(Q.a)(t)&&!Object(Q.a)(n)?t!=t&&n!=n:W(t,n,r,o,e,i))},Y=n(3),Z=function(e){return e==e&&!Object(Y.a)(e)},$=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},ee=function(e){var t=function(e){for(var t=Object(w.default)(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Z(o)]}return t}(e);return 1==t.length&&t[0][2]?$(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<i;){var l=(u=n[o])[0],c=e[l],d=u[1];if(a&&u[2]){if(void 0===c&&!(l in e))return!1}else{var f,h=new s;if(!(void 0===(f=r?r(c,d,l,e,t,h):f)?J(d,c,3,r,h):f))return!1}}return!0}(n,e,t)}},te=n(25);function ne(e,t){return null!=e&&t in Object(e)}var re=n(19),oe=n(58),ie=n(16),ae=n(23),se=n(12),ue=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,o=(t=Object(re.a)(t,e)).length,i=!1;++r<o;){var a=Object(se.a)(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Object(ae.a)(o)&&Object(ie.a)(a,o)&&(Object(U.default)(e)||Object(oe.a)(e))}(e,t,ne)},le=n(24),ce=function(e,t){return Object(le.a)(e)&&Z(t)?$(Object(se.a)(e),t):function(n){var r=function(e,t,n){return void 0===(e=null==e?void 0:Object(te.a)(e,t))?n:e}(n,e);return void 0===r&&r===t?ue(n,e):J(t,r,3)}},de=n(43),fe=function(e){return Object(le.a)(e)?function(e){return function(t){return null==t?void 0:t[e]}}(Object(se.a)(e)):function(e){return function(t){return Object(te.a)(t,e)}}(e)};t.a=function(e){return"function"==typeof e?e:null==e?de.a:"object"==typeof e?Object(U.default)(e)?ce(e[0],e[1]):ee(e):fe(e)}},function(e,t,n){"use strict";t.a=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";var r=n(39),o=n(23);t.a=function(e){return null!=e&&Object(o.a)(e.length)&&!Object(r.a)(e)}},function(e,t,n){"use strict";var r=n(39),o=n(1).a["__core-js_shared__"],i=(o=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"",a=n(3),s=n(14),u=/^\[object .+?Constructor\]$/,l=(o=Function.prototype,n=Object.prototype,o=o.toString,n=n.hasOwnProperty,RegExp("^"+o.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$")),c=function(e){return!(!Object(a.a)(e)||function(e){return!!i&&i in e}(e))&&(Object(r.a)(e)?l:u).test(Object(s.a)(e))};t.a=function(e,t){return e=function(e,t){return null==e?void 0:e[t]}(e,t),c(e)?e:void 0}},function(e,t,n){"use strict";t.a=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";n=n(9);var r=Object.prototype,o=r.hasOwnProperty,i=r.toString,a=n.a?n.a.toStringTag:void 0,s=function(e){var t=o.call(e,a),n=e[a];try{var r=!(e[a]=void 0)}catch(e){}var s=i.call(e);return r&&(t?e[a]=n:delete e[a]),s},u=Object.prototype.toString,l=function(e){return u.call(e)},c=n.a?n.a.toStringTag:void 0;t.a=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(c&&c in Object(e)?s:l)(e)}},function(e,t,n){"use strict";var r=n(70),o=(n=n(90),Object.prototype.toString);function i(e){return"[object Array]"===o.call(e)}function a(e){return null!==e&&"object"==typeof e}function s(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!=e)if(i(e="object"!=typeof e?[e]:e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:n,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:s,isStream:function(e){return a(e)&&s(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function e(){var t={};function n(n,r){t[r]="object"==typeof t[r]&&"object"==typeof n?e(t[r],n):n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){"use strict";n=n(1).a.Symbol,t.a=n},function(e,t,n){"use strict";n.r(t);var r=n(54),o=n(41),i=n(42),a=Object(i.a)(Object.keys,Object),s=Object.prototype.hasOwnProperty,u=function(e){if(!Object(o.a)(e))return a(e);var t,n=[];for(t in Object(e))s.call(e,t)&&"constructor"!=t&&n.push(t);return n},l=n(4);t.default=function(e){return(Object(l.a)(e)?Object(r.a):u)(e)}},function(e,t,n){"use strict";var r=n(7),o=n(6);t.a=function(e){return"symbol"==typeof e||Object(o.a)(e)&&"[object Symbol]"==Object(r.a)(e)}},function(e,t,n){"use strict";var r=n(11);t.a=function(e){var t;return"string"==typeof e||Object(r.a)(e)?e:"0"==(t=e+"")&&1/e==-1/0?"-0":t}},function(e,t,n){"use strict";var r=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[++r];if(!1===t(o[s],s,o))break}return e},o=n(10);var i=n(4);n=function(e,t){return function(t,n){if(null!=t){if(!Object(i.a)(t))return e(t,n);for(var r=t.length,o=-1,a=Object(t);++o<r&&!1!==n(a[o],o,a););}return t}}((function(e,t){return e&&r(e,t,o.default)})),t.a=n},function(e,t,n){"use strict";var r=Function.prototype.toString;t.a=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t,n){"use strict";var r=/^(?:0|[1-9]\d*)$/;t.a=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&-1<e&&e%1==0&&e<t}},function(e,t,n){"use strict";t.a=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(17),o=function(e,t){for(var n=e.length;n--;)if(Object(r.a)(e[n][0],t))return n;return-1},i=Array.prototype.splice;function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=[],this.size=0},a.prototype.delete=function(e){var t=this.__data__;return!((e=o(t,e))<0||(e==t.length-1?t.pop():i.call(t,e,1),--this.size,0))},a.prototype.get=function(e){var t=this.__data__;return(e=o(t,e))<0?void 0:t[e][1]},a.prototype.has=function(e){return-1<o(this.__data__,e)},a.prototype.set=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},t.a=a},function(e,t,n){"use strict";var r=n(0),o=n(24),i=n(22);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;return i.has(o)?i.get(o):(r=e.apply(this,r),n.cache=i.set(o,r)||i,r)}return n.cache=new(a.Cache||i.a),n}a.Cache=i.a;var s=a,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,c=function(e){var t=(e=s(e,(function(e){return 500===t.size&&t.clear(),e}))).cache;return e}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(u,(function(e,n,r,o){t.push(r?o.replace(l,"$1"):n||e)})),t})),d=n(55);t.a=function(e,t){return Object(r.default)(e)?e:Object(o.a)(e,t)?[e]:c(Object(d.a)(e))}},function(e,t,n){"use strict";var r=n(5);n=n(1),r=Object(r.a)(n.a,"Map");t.a=r},function(e,t,n){"use strict";var r=n(5);n=n(1),r=Object(r.a)(n.a,"Set");t.a=r},function(e,t,n){"use strict";var r=n(5),o=Object(r.a)(Object,"create");var i=Object.prototype.hasOwnProperty;var a=Object.prototype.hasOwnProperty;function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=function(){this.__data__=o?o(null):{},this.size=0},s.prototype.delete=function(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e},s.prototype.get=function(e){var t,n=this.__data__;return o?"__lodash_hash_undefined__"===(t=n[e])?void 0:t:i.call(n,e)?n[e]:void 0},s.prototype.has=function(e){var t=this.__data__;return o?void 0!==t[e]:a.call(t,e)},s.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this};var u=s,l=n(18),c=n(20),d=function(e,t){return e=e.__data__,function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?e["string"==typeof t?"string":"hash"]:e.map};function f(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}f.prototype.clear=function(){this.size=0,this.__data__={hash:new u,map:new(c.a||l.a),string:new u}},f.prototype.delete=function(e){return e=d(this,e).delete(e),this.size-=e?1:0,e},f.prototype.get=function(e){return d(this,e).get(e)},f.prototype.has=function(e){return d(this,e).has(e)},f.prototype.set=function(e,t){var n=d(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},t.a=f},function(e,t,n){"use strict";t.a=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991}},function(e,t,n){"use strict";var r=n(0),o=n(11),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.a=function(e,t){var n;return!Object(r.default)(e)&&(!("number"!=(n=typeof e)&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Object(o.a)(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){"use strict";var r=n(19),o=n(12);t.a=function(e,t){for(var n=0,i=(t=Object(r.a)(t,e)).length;null!=e&&n<i;)e=e[Object(o.a)(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){"use strict";t.a=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){"use strict";(function(e){var r=n(1),o=n(84),i=((e=(e=(i="object"==typeof exports&&exports&&!exports.nodeType&&exports)&&"object"==typeof e&&e&&!e.nodeType&&e)&&e.exports===i?r.a.Buffer:void 0)?e.isBuffer:void 0)||o.a;t.a=i}).call(this,n(75)(e))},function(e,t,n){"use strict";var r=/\s/,o=/^\s+/,i=function(e){return e&&e.slice(0,function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t}(e)+1).replace(o,"")},a=n(3),s=n(11),u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;t.a=function(e){if("number"==typeof e)return e;if(Object(s.a)(e))return NaN;if(Object(a.a)(e)&&(t="function"==typeof e.valueOf?e.valueOf():e,e=Object(a.a)(t)?t+"":t),"string"!=typeof e)return 0===e?e:+e;e=i(e);var t=l.test(e);return t||c.test(e)?d(e.slice(2),t?2:8):u.test(e)?NaN:+e}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=(Object.defineProperty(t,"__esModule",{value:!0}),t.Evented=t.ErrorEvent=t.DefinedEvent=void 0,n(87));function a(e,t,n){n[e]&&-1!==n[e].indexOf(t)||(n[e]=n[e]||[],n[e].push(t))}function s(e,t,n){n&&n[e]&&-1!==(t=n[e].indexOf(t))&&n[e].splice(t,1)}Object.defineProperty(l.prototype,"type",{get:function(){return this._type},set:function(e){this._type=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"target",{get:function(){return this._target},set:function(e){this._target=e},enumerable:!1,configurable:!0});var u=l;function l(e,t){(0,i.extend)(this,t=void 0===t?{}:t),this.type=e}t.DefinedEvent=u,o(f,c=u);var c,d=f;function f(e,t){return c.call(this,"error",(0,i.extend)({error:e},t=void 0===t?{}:t))||this}function h(){}t.ErrorEvent=d,h.prototype.on=function(e,t){return this._listeners=this._listeners||{},a(e,t,this._listeners),this},h.prototype.off=function(e,t){return s(e,t,this._listeners),s(e,t,this._oneTimeListeners),this},h.prototype.once=function(e,t){return this._oneTimeListeners=this._oneTimeListeners||{},a(e,t,this._oneTimeListeners),this},h.prototype.fire=function(e){var t=(e="string"==typeof e?new u(e,arguments[1]||{}):e).type;if(this.listens(t)){for(var n=0,r=(e.target=this)._listeners&&this._listeners[t]?this._listeners[t].slice():[];n<r.length;n++)(o=r[n]).call(this,e);for(var o,a=0,l=this._oneTimeListeners&&this._oneTimeListeners[t]?this._oneTimeListeners[t].slice():[];a<l.length;a++)s(t,o=l[a],this._oneTimeListeners),o.call(this,e);var c=this._eventedParent;c&&((0,i.extend)(e,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),c.fire(e))}else e instanceof d&&console.error(e.error);return this},h.prototype.listens=function(e){return this._listeners&&this._listeners[e]&&0<this._listeners[e].length||this._oneTimeListeners&&this._oneTimeListeners[e]&&0<this._oneTimeListeners[e].length||this._eventedParent&&this._eventedParent.listens(e)},h.prototype.setEventedParent=function(e,t){return this._eventedParent=e,this._eventedParentData=t,this},t.Evented=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PAGE=t.OFFSET=t.BMS_URL=t.AUTH_URL=void 0,t.AUTH_URL="https://map-api.mapxus.co.jp/sc/api/v1/apikeys/auth",t.BMS_URL="https://map-api.mapxus.co.jp/bms",t.OFFSET=10,t.PAGE=1},function(e,t,n){"use strict";var r,o,i=this&&this.__awaiter||function(e,t,n,r){return new(n=n||Promise)((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a={next:s(0),throw:s(1),return:s(2)};return"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){var u=[a,s];if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,(u=o?[2&u[0],o.value]:u)[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=0<(o=i.trys).length&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3]))i.label=u[1];else if(6===u[0]&&i.label<o[1])i.label=o[1],o=u;else{if(!(o&&i.label<o[2])){o[2]&&i.ops.pop(),i.trys.pop();continue}i.label=o[2],i.ops.push(u)}}u=t.call(e,i)}catch(s){u=[6,s],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},u=(Object.defineProperty(t,"__esModule",{value:!0}),t.Request=void 0,n(30)),l=s(n(88)),c=n(67);function d(e){this._instance=l.default.create({baseURL:e||u.BMS_URL}),l.default.defaults.baseURL=u.BMS_URL,l.default.defaults.headers.common.token=d.token,l.default.defaults.headers.common.identifier=d.identifier,l.default.defaults.headers.common.sdkVersion=c.version,l.default.interceptors.response.use((function(e){return e}),(function(e){return Promise.reject(e)}))}Object.defineProperty(d,"map",{get:function(){return this._map},set:function(e){this._map=e},enumerable:!1,configurable:!0}),d.authorization=function(e,t){return i(this,void 0,void 0,(function(){var n,s,u,c=this;return a(this,(function(f){switch(f.label){case 0:return this._appId=e,this._secret=t,delete l.default.defaults.headers.common.identifier,n=l.default.defaults.headers.common,s=d,[4,this._fetchToken(this._api)];case 1:return n.token=s.token=f.sent(),u=JSON.parse(decodeURIComponent(window.atob(d.token.split(".")[1]))),o=1e3*(u.exp-u.iat),r=setInterval((function(){return i(c,void 0,void 0,(function(){var e,t;return a(this,(function(n){switch(n.label){case 0:return e=l.default.defaults.headers.common,t=d,[4,this._fetchToken(this._api)];case 1:return e.token=t.token=n.sent(),[2]}}))}))}),o),window.onbeforeunload=function(){return clearInterval(r)},[2]}}))}))},d.transformRequest=function(e){return/.mapxus./.test(e)?{url:e,headers:{token:d.token,sdkVersion:c.version,identifier:d.identifier}}:{url:e}},d._fetchToken=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,(0,l.default)({method:"post",url:e,data:this._getVerificationData()})];case 1:return[2,t.sent().data.result.idToken]}}))}))},d._getVerificationData=function(){return{appId:this._appId,secret:this._secret,origin:window.location.hostname||"restriction.test.example.com",keyPlatform:"WEB"}},d.prototype.get=function(e){return this._instance.get(e)},d._api="".concat(u.AUTH_URL),t.Request=d},function(e,t,n){"use strict";n.r(t);var r=n(55),o=0;t.default=function(e){var t=++o;return Object(r.a)(e)+t}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];return r?t&&"function"==typeof btoa?(e=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),t=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"})),[n].concat(t).concat([e]).join("\n")):[n].join("\n"):n}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,o,i,a={},s=(r=function(){return window&&document&&document.all&&!window.atob},function(){return o=void 0===o?r.apply(this,arguments):o}),u=(i={},function(e){return void 0===i[e]&&(i[e]=function(e){return document.querySelector(e)}.call(this,e)),i[e]}),l=null,c=0,d=[],f=n(113);function h(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=a[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(_(r.parts[i],t))}else{var s=[];for(i=0;i<r.parts.length;i++)s.push(_(r.parts[i],t));a[r.id]={id:r.id,refs:1,parts:s}}}}function p(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0];i={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(i):n.push(r[a]={id:a,parts:[i]})}return n}function g(e,t){var n=u(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=d[d.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),d.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function y(e){null!==e.parentNode&&(e.parentNode.removeChild(e),0<=(e=d.indexOf(e)))&&d.splice(e,1)}function m(e){var t=document.createElement("style");return e.attrs.type="text/css",v(t,e.attrs),g(e,t),t}function v(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function _(e,t){var n,r,o,i,a;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}return o=t.singleton?(i=c++,n=l=l||m(t),r=w.bind(null,n,i,!1),w.bind(null,n,i,!0)):e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=t,a=document.createElement("link"),i.attrs.type="text/css",i.attrs.rel="stylesheet",v(a,i.attrs),g(i,a),r=function(e,t,n){var r=n.css,o=(n=n.sourceMap,void 0===t.convertToAbsoluteUrls&&n);(t.convertToAbsoluteUrls||o)&&(r=f(r)),n&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t=new Blob([r],{type:"text/css"}),o=e.href,e.href=URL.createObjectURL(t),o&&URL.revokeObjectURL(o)}.bind(null,n=a,t),function(){y(n),n.href&&URL.revokeObjectURL(n.href)}):(n=m(t),r=function(e,t){var n=t.css;if((t=t.media)&&e.setAttribute("media",t),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),function(){y(n)}),r(e),function(t){t?t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap||r(e=t):o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=s()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return h(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var i=n[o];(s=a[i.id]).refs--,r.push(s)}e&&h(p(e,t),t);var s;for(o=0;o<r.length;o++)if(0===(s=r[o]).refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete a[s.id]}}},b=[];var b;function w(e,t,n,r){n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=function(e,t){return b[e]=t,b.filter(Boolean).join("\n")}(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.domCreate=t.domRemove=void 0,t.domRemove=function(e){e.parentNode&&e.parentNode.removeChild(e)},t.domCreate=function(e,t,n){return e=window.document.createElement(e),t&&(e.className=t),n&&n.appendChild(e),e}},function(e,t,n){"use strict";n.r(t);var r=n(51),o=n(4),i=n(7),a=n(0),s=n(6),u=function(e){return"string"==typeof e||!Object(a.default)(e)&&Object(s.a)(e)&&"[object String]"==Object(i.a)(e)},l=n(57),c=n(38),d=Math.max;t.default=function(e,t,n,i){return e=Object(o.a)(e)?e:Object(c.default)(e),n=n&&!i?Object(l.a)(n):0,i=e.length,n<0&&(n=d(i+n,0)),u(e)?n<=i&&-1<e.indexOf(t,n):!!i&&-1<Object(r.a)(e,t,n)}},function(e,t,n){"use strict";n.r(t);var r=n(50),o=n(2),i=n(57),a=Math.max;t.default=function(e,t,n){var s=null==e?0:e.length;return s?((n=null==n?0:Object(i.a)(n))<0&&(n=a(s+n,0)),Object(r.a)(e,Object(o.a)(t,3),n)):-1}},function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(10);t.default=function(e){return null==e?[]:function(e,t){return Object(r.a)(t,(function(t){return e[t]}))}(e,Object(o.default)(e))}},function(e,t,n){"use strict";var r=n(7),o=n(3);t.a=function(e){return!!Object(o.a)(e)&&("[object Function]"==(e=Object(r.a)(e))||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e)}},function(e,t,n){"use strict";(function(e){e="object"==typeof e&&e&&e.Object===Object&&e,t.a=e}).call(this,n(107))},function(e,t,n){"use strict";var r=Object.prototype;t.a=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,n){"use strict";t.a=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){"use strict";t.a=function(e){return e}},function(e,t,n){"use strict";t.a=function(e,t){return e.has(t)}},function(e,t,n){"use strict";var r=n(46),o=n(0);t.a=function(e,t,n){return t=t(e),Object(o.default)(e)?t:Object(r.a)(t,n(e))}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){"use strict";var r=n(49),o=(n=n(48),Object.prototype.propertyIsEnumerable),i=Object.getOwnPropertySymbols;n=i?function(e){return null==e?[]:(e=Object(e),Object(r.a)(i(e),(function(t){return o.call(e,t)})))}:n.a;t.a=n},function(e,t,n){"use strict";t.a=function(){return[]}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},function(e,t,n){"use strict";t.a=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t,n){"use strict";var r=n(50);function o(e){return e!=e}t.a=function(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Object(r.a)(e,o,n)}},function(e,t,n){"use strict";var r=n(7),o=n(23),i=n(6),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=function(e){return function(t){return e(t)}};s=(n=(n=n(66)).a&&n.a.isTypedArray)?s(n):function(e){return Object(i.a)(e)&&Object(o.a)(e.length)&&!!a[Object(r.a)(e)]};t.a=s},function(e,t,n){"use strict";var r=n(22);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r.a;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},o.prototype.has=function(e){return this.__data__.has(e)},t.a=o},function(e,t,n){"use strict";var r=n(58),o=n(0),i=n(27),a=n(16),s=n(52),u=Object.prototype.hasOwnProperty;t.a=function(e,t){var n,l=Object(o.default)(e),c=!l&&Object(r.a)(e),d=!l&&!c&&Object(i.a)(e),f=!l&&!c&&!d&&Object(s.a)(e),h=l||c||d||f,p=h?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],g=p.length;for(n in e)!t&&!u.call(e,n)||h&&("length"==n||d&&("offset"==n||"parent"==n)||f&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||Object(a.a)(n,g))||p.push(n);return p}},function(e,t,n){"use strict";var r=n(9),o=n(15),i=n(0),a=n(11),s=(n=r.a?r.a.prototype:void 0)?n.toString:void 0;t.a=function(e){return null==e?"":function e(t){var n;return"string"==typeof t?t:Object(i.default)(t)?Object(o.a)(t,e)+"":Object(a.a)(t)?s?s.call(t):"":"0"==(n=t+"")&&1/t==-1/0?"-0":n}(e)}},function(e,t,n){"use strict";var r=n(5),o=function(){try{var e=Object(r.a)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.a=function(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){"use strict";var r=n(28);t.a=function(e){var t=(e=function(e){return e?(e=Object(r.a)(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e))%1;return e==e?t?e-t:e:0}},function(e,t,n){"use strict";var r=n(7),o=n(6),i=(n=function(e){return Object(o.a)(e)&&"[object Arguments]"==Object(r.a)(e)},(s=Object.prototype).hasOwnProperty),a=s.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(e){return Object(o.a)(e)&&i.call(e,"callee")&&!a.call(e,"callee")};t.a=s},function(e,t,n){"use strict";function r(e){return e.source===t.INDOOR_SOURCE&&-1<e.id.indexOf("mapxus")}function o(e){return e.source!==t.INDOOR_SOURCE}Object.defineProperty(t,"__esModule",{value:!0}),t.INDOOR_SOURCE=t.getLayers=t.getOutdoorLayers=void 0,t.getOutdoorLayers=function(e){return e.layers.filter(o).map((function(e){return{id:e.id,layer:e["source-layer"]}}))},t.getLayers=function(e){return e.layers.filter(r).map((function(e){return{id:e.id,layer:e["source-layer"]}}))},t.INDOOR_SOURCE="indoor-planet"},function(e,t,n){"use strict";(function(t){var r=n(8),o=n(93),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,u={adapter:s="undefined"==typeof XMLHttpRequest&&void 0===t?s:n(71),transformRequest:[function(e,t){return o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return 200<=e&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(i)})),e.exports=u}).call(this,n(92))},function(e,t){e.exports=function(e){return"string"==typeof e&&(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e))?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e}},function(e,t,n){"use strict";function r(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}n.r(t);var o=n(13),i=n(43),a=n(0);t.default=function(e,t){return(Object(a.default)(e)?r:o.a)(e,function(e){return"function"==typeof e?e:i.a}(t))}},function(e,t,n){"use strict";n.r(t);var r=n(15),o=n(2),i=n(13),a=n(4);function s(e,t){var n=-1,r=Object(a.a)(e)?Array(e.length):[];return Object(i.a)(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}var u=n(0);t.default=function(e,t){return(Object(u.default)(e)?r.a:s)(e,Object(o.a)(t,3))}},function(e,t,n){"use strict";n.r(t);var r,o=n(2),i=n(4),a=n(10);r=n(37).default,n=function(e,t,n){var s,u=Object(e);return-1<(Object(i.a)(e)||(s=Object(o.a)(t,3),e=Object(a.default)(e),t=function(e){return s(u[e],e,u)}),t=r(e,t,n))?u[s?e[t]:t]:void 0},t.default=n},function(e,t,n){"use strict";n.r(t),n.d(t,"dispatch",(function(){return s}));var r={value:()=>{}};function o(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new i(r)}function i(e){this._=e}function a(e,t,n){for(var o=0,i=e.length;o<i;++o)if(e[o].name===t){e[o]=r,e=e.slice(0,o).concat(e.slice(o+1));break}return null!=n&&e.push({name:t,value:n}),e}i.prototype=o.prototype={constructor:i,on:function(e,t){var n,r,o=this._,i=(r=o,(e+"").trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");if(0<=n&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))),s=-1,u=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++s<u;)if(n=(e=i[s]).type)o[n]=a(o[n],e.name,t);else if(null==t)for(n in o)o[n]=a(o[n],e.name,null);return this}for(;++s<u;)if(n=(n=(e=i[s]).type)&&function(e,t){for(var n,r=0,o=e.length;r<o;++r)if((n=e[r]).name===t)return n.value}(o[n],e.name))return n},copy:function(){var e,t={},n=this._;for(e in n)t[e]=n[e].slice();return new i(t)},call:function(e,t){if(0<(n=arguments.length-2))for(var n,r,o=new Array(n),i=0;i<n;++i)o[i]=arguments[i+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(i=0,n=(r=this._[e]).length;i<n;++i)r[i].value.apply(t,o)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],o=0,i=r.length;o<i;++o)r[o].value.apply(t,n)}};var s=o},function(e,t,n){"use strict";(function(e){var r=n(40),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.a.process;e=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();t.a=e}).call(this,n(75)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.Evented=t.RouteService=t.PoisService=t.BuildingsService=t.BuildingFilterControl=t.FloorsControl=t.Poi=t.Marker=t.Indoor=t.Map=void 0;var r=n(85),o=(Object.defineProperty(t,"Map",{enumerable:!0,get:function(){return r.Map}}),n(68)),i=(Object.defineProperty(t,"Indoor",{enumerable:!0,get:function(){return o.Indoor}}),n(129)),a=(Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return i.Marker}}),n(76)),s=(Object.defineProperty(t,"Poi",{enumerable:!0,get:function(){return a.Poi}}),n(77)),u=(Object.defineProperty(t,"FloorsControl",{enumerable:!0,get:function(){return s.FloorsControl}}),n(78)),l=(Object.defineProperty(t,"BuildingFilterControl",{enumerable:!0,get:function(){return u.BuildingFilterControl}}),n(69)),c=(Object.defineProperty(t,"BuildingsService",{enumerable:!0,get:function(){return l.BuildingsService}}),n(80)),d=(Object.defineProperty(t,"PoisService",{enumerable:!0,get:function(){return c.PoisService}}),n(130)),f=(Object.defineProperty(t,"RouteService",{enumerable:!0,get:function(){return d.RouteService}}),n(29)),h=(Object.defineProperty(t,"Evented",{enumerable:!0,get:function(){return f.Evented}}),n(132));Object.defineProperty(t,"version",{enumerable:!0,get:function(){return h.version}})},function(e,t,n){"use strict";var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||((r=r||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},u=(Object.defineProperty(t,"__esModule",{value:!0}),t.Indoor=void 0,s(n(86))),l=n(59),c=n(29),d=n(69),f=s(n(64)),h=s(n(37)),p=s(n(62)),g=s(n(36)),y=s(n(0)),m=s(n(108)),v=s(n(63)),_=s(n(136)),b=s(n(82)),w=s(n(134)),x=s(n(133)),C=s(n(135)),O=s(n(10)),T=s(n(38)),S=s(n(83)),j=new d.BuildingsService;i(B,o=c.Evented),B.isFilterHasBeenReset=function(e){var t=!1;return e&&(e=e[e.length-1],(0,y.default)(e))?"any"===e[0]&&(0,w.default)(e.slice(1),(function(e){return"id"===e[1]||"ref:level"===e[1]})):t},B.isLevel=function(e){return-1<e.indexOf("mapxus-level")},B.isPoi=function(e){return"symbol"===e},B.getBuildingPoint=function(e){var t=(e=e.geometry).coordinates[0];return 1<e.coordinates.length&&(t=e.coordinates[0][0]),(0,v.default)(t,(function(e){return{lng:e[0],lat:e[1]}}))},B.prototype.enableSwitch=function(){return this._enableSwitch=!0,this},B.prototype.disableSwitch=function(){return this._enableSwitch=!1,this},B.prototype.enableSwitchBuilding=function(){return this._enableSwitchBuilding=!0,this},B.prototype.disableSwitchBuilding=function(){return this._enableSwitchBuilding=!1,this},Object.defineProperty(B.prototype,"buildingFloors",{get:function(){return this._buildingFloors},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"ordinals",{get:function(){return this._curOrdinals},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"buildingId",{get:function(){return this._curBuildingId},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"currentFloor",{get:function(){return this._buildingFloor},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"ordinal",{get:function(){return this._curOrdinal},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"venueId",{get:function(){return this._curVenueId},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"venueFloors",{get:function(){return this._venueFloors},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"refLevel",{get:function(){return this._refLevel},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"refLevels",{get:function(){return this._refLevels},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"features",{get:function(){return this._features},enumerable:!1,configurable:!0}),B.prototype.getFeature=function(e){return(0,f.default)(this.features,(function(t){return t.properties.id===e}))},B.prototype.getBuildingByPoint=function(e){if((e=this._map.queryRenderedFeatures(e,{layers:["mapxus-level-fill"]})).length)return e=e[0].properties["ref:building"],this.getFeature(e)},B.prototype.selectBuilding=function(e){this._isNotCurrentFeature(e)&&(this._curBuildingFeature=e,this._load()),e||(this._clear(),this.fire(new c.DefinedEvent("selectVenue",{venueFeature:null}))),this.fire(new c.DefinedEvent("selectBuilding",{feature:e}))},B.prototype.switchBuilding=function(e){var t=(0,u.default)(B.getBuildingPoint(e));this._map.panTo(t),this.selectBuilding(e)},B.prototype.goToBuilding=function(e,t){var n=this,r=function(){var o;n._map.areTilesLoaded()&&(o=n.getFeature(e))&&(n._map.off("render",r),n.selectBuilding(o),t)&&t(o)};j.searchByIds(e).then((function(e){e=e.data.result.buildings[0],n._map.panTo([e.labelCenter.lon,e.labelCenter.lat]),n._map.off("render",r),n._map.on("render",r)})).catch((function(e){n.fire(new c.DefinedEvent("isIndoorLoaded",{error:e})),t&&t(null)}))},B.prototype.switchFloor=function(e){e&&(0,g.default)(this._venueFloors,e)&&(this._curOrdinal=this._getOrdinal(null,e),this._footprints.set(this._curVenueId,this._curOrdinal),this._buildingFloor=this._getLevelName(),this._refLevel=this._getRefLevel(),this.setFloorsFilter(),this.fire(new c.DefinedEvent("switchFloor")))},B.prototype.hiddenOutdoorLayer=function(e){this._isHiddenOutdoor=e,this._setOutdoorLayersHidden(e)},B.prototype.updateLayers=function(){this._indoorLayers=(0,l.getLayers)(this._map.getStyle()),this._setPoiTextColor(),this._isHiddenOutdoor&&this._setOutdoorLayersHidden(!0)},B.prototype.setFloorsFilter=function(){var e,t,n=this,r=this._levelsMap.get("".concat(this._curVenueId,"_").concat(this._curOrdinal))||[];r.length&&(this._removeDisplayedLevels(this._curVenueLevelIds),this._addDisplayedLevels(r)),(0,p.default)(this._indoorLayers,(function(r){e=r.id,t=null==(t=n._map.getLayer(e))?void 0:t.filter,!(0,g.default)(["mapxus-venue-fill","mapxus-building-line","mapxus-building-name"],e)&&t&&(t=B.isLevel(e)?n._updateFilter(t,a(["any"],n._getConditionsExpression("==",n._displayedLevels,"id"),!0)):n._updateFilter(t,a(["any"],n._getConditionsExpression("==",n._displayedLevels,"ref:level"),!0)),n._map.setFilter(e,t))}))},B.prototype._getConditionsExpression=function(e,t,n){return(0,v.default)(t,(function(t){return[e,n,t]}))},B.prototype._loadData=function(){this._map.on("load",this._init.bind(this))},B.prototype._init=function(){var e=this;this.updateLayers(),this._map.on("data",(0,b.default)((function(t){t.isSourceLoaded&&(e._map.setPaintProperty("mapxus-building-line","fill-opacity",0),e.fire(new c.DefinedEvent("isDataLoaded")),e.fire(new c.DefinedEvent("isIndoorLoaded"))),e._load()}),300)).on("click",(function(t){e._enableSwitch&&e._enableSwitchBuilding&&(t=e.getBuildingByPoint(t.point),e.selectBuilding(t))}))},B.prototype._load=function(){this._features=this._getFeatures(),this._initVenues(),this._initLostBuildings(),this._setCurIndoorStates(),this._setLevelsCache(),this._addCustomLevelFillLayer(),this.setFloorsFilter()},B.prototype._clear=function(){this._curBuildingId=null,this._buildingFloors=[],this._buildingFloor=null,this._refLevel=null,this._curBuildingFeature=null,this._curVenueId=null,this._curVenueFeature=null,this._refLevels=[],this._venueFloors=[],this._curOrdinals=[]},B.prototype._initVenues=function(){var e=this,t=(0,S.default)(this._features,(function(e){return"mapxus-venue-fill"===e.layer.id}));t.length&&(0,p.default)(t,(function(t){var n,r=(a=t.properties).id,o=a.building_ids,i=a.level_names,a=a.level_ordinals;o&&i&&a?(n=e._footprints.get(r)||e._getOrdinal(t),i=(0,v.default)(o.split(","),(function(t){return(0,f.default)(e._features,(function(e){return"mapxus-building-line"===e.layer.id&&(null==(e=null==e?void 0:e.properties)?void 0:e.id)===t}))})),(0,p.default)((0,S.default)(i,(function(e){return Boolean(e)})),(function(t){var r=(t=t.properties).ordinals;t=t.level_ids,r=r.split(","),t=t.split(",");r.includes(n)?(r=(0,h.default)(r,(function(e){return e===n})),e._addDisplayedLevels(t[r])):e._removeDisplayedLevels(t)}))):(e._incompleteVenues.includes(r)||(e._incompleteVenues=e._incompleteVenues.concat(r)),console.error("Venue(ID: ".concat(t.properties.id,") is missing level_names/level_ordinals/building_ids.")))}))},B.prototype._initLostBuildings=function(){var e,t=this;this._incompleteVenues.length&&(e=(0,S.default)(this._features,(function(e){return"mapxus-building-name"===e.layer.id&&t._incompleteVenues.includes(null==(e=e.properties)?void 0:e["ref:venue"])}))).length&&(e=(0,v.default)(e,(function(e){var n=(r=e.properties).level_ids,r=r.ordinals,o=t._getOrdinal(e);e=(0,h.default)(r.split(","),(function(e){return e===o}));return n.split(",")[e]})),this._addDisplayedLevels(e))},B.prototype._addDisplayedLevels=function(e){var t=this;(0,y.default)(e)&&e.length?(0,p.default)(e,(function(e){return t._addDisplayedLevels(e)})):"string"!=typeof e||this._displayedLevels.includes(e)||(this._displayedLevels=this._displayedLevels.concat(e))},B.prototype._removeDisplayedLevels=function(e){var t=this;(0,y.default)(e)&&e.length?(0,p.default)(e,(function(e){return t._removeDisplayedLevels(e)})):"string"==typeof e&&this._displayedLevels.includes(e)&&(this._displayedLevels=(0,S.default)(this._displayedLevels,(function(t){return t!==e})))},B.prototype._setCurIndoorStates=function(){var e,t=(null==(e=null==(e=this._curBuildingFeature)?void 0:e.properties)?void 0:e["ref:venue"])||null;t!==this._curVenueId?(this._curVenueId=t||null,this._curVenueFeature=t?(0,f.default)(this._features,(function(e){return"mapxus-venue-fill"===e.layer.id&&e.properties.id===t})):null,this._curOrdinal=this._footprints.get(this._curVenueId)||this._getOrdinal(this._curBuildingFeature),this._curOrdinals=this._getOrdinals(),this._venueFloors=this._getLevelNames(),this._footprints.set(this._curVenueId,this._curOrdinal),this._curBuildingId=this._getBuildingId(),this._buildingFloors=this._getLevelNames(this._curBuildingFeature),this._buildingFloor=this._getLevelName(),this._refLevel=this._getRefLevel(),this.fire(new c.DefinedEvent("selectVenue",{venueFeature:this._curVenueFeature}))):this._curBuildingId!==((null==(e=null==(e=this._curBuildingFeature)?void 0:e.properties)?void 0:e.id)||null)&&(this._curBuildingId=(null==(e=null==(e=this._curBuildingFeature)?void 0:e.properties)?void 0:e.id)||null,this._buildingFloors=this._getLevelNames(this._curBuildingFeature),this._buildingFloor=this._getLevelName(),this._refLevel=this._getRefLevel())},B.prototype._setLevelsCache=function(){var e,t,n,r,o,i,a,s=this;Boolean(this._curVenueFeature)&&((e=this._curVenueFeature.properties.building_ids)?(a=this._features.filter((function(t){return"mapxus-building-line"===t.layer.id&&e.split(",").includes(t.properties.id)})),t=[],(0,p.default)(a,(function(e){var n=(e=e.properties).level_ids,r=e.ordinals.split(",");r.forEach((function(e){var o,i=(0,h.default)(r,(function(t){return t===e}));i=n.split(",")[i];t=t.concat(((o={})["".concat(s._curVenueId,"_").concat(e)]=i,o))}))})),a=(0,C.default)(t,(function(e){return(0,O.default)(e)[0]})),n=[],r=[],(0,p.default)(a,(function(e,t){n=(0,v.default)(e,(function(e){return(0,T.default)(e)[0]})),r=r.concat(n),s._levelsMap.set(t,n)})),this._refLevels=this._levelsMap.get("".concat(this._curVenueId,"_").concat(this._curOrdinal))||[],this._curVenueLevelIds=r):this._curBuildingFeature&&(o=(a=this._curBuildingFeature.properties).level_ids,i=a.ordinals.split(","),a=o.split(","),(0,p.default)(a,(function(e,t){s._levelsMap.set("".concat(s._curVenueFeature.properties.id,"_").concat(i[t]),[e])})),this._curVenueLevelIds=a))},B.prototype._updateFilter=function(e,t){var n=!B.isFilterHasBeenReset(e),r=e.length-1,o=e;return n?o="all"===e[0]?a(a([],e,!0),[t],!1):"match"===e[0]?["all",["any",["==",e[1][1],e[2][0]],["==",e[1][1],e[2][1]]],t]:["all",e,t]:JSON.stringify((0,m.default)(e))!==JSON.stringify(t)&&(o=(0,v.default)(e,(function(e,n){return n===r?t:e}))),o},B.prototype._setPoiTextColor=function(){var e=this;this._indoorLayers.forEach((function(t){t=t.id;var n=e._map.getLayer(t);n&&B.isPoi(n.type)&&e._addTextHaloColor(t)}))},B.prototype._addTextHaloColor=function(e,t){this._map.setPaintProperty(e,"text-halo-color",t||"white"),this._map.setPaintProperty(e,"text-halo-width",2)},B.prototype._getFeatures=function(){var e=[(t=this._map.getCanvas().getBoundingClientRect()).x,t.y],t=[t.width,t.height];return(0,x.default)(this._map.queryRenderedFeatures([e,t]),(function(e){return e.layer.id+":"+e.properties.id}))},B.prototype._getFeatureInfo=function(){return this._curBuildingFeature||null},B.prototype._getLevelNames=function(e){var t=[];return e?t=(null==(e=null==(e=null==e?void 0:e.properties)?void 0:e.level_names)?void 0:e.split(","))||[]:null!=(e=null==(e=this._curVenueFeature)?void 0:e.properties)&&e.level_names?t=this._curVenueFeature.properties.level_names.split(","):null!=(e=null==(e=this._curBuildingFeature)?void 0:e.properties)&&e.level_names&&(t=this._curBuildingFeature.properties.level_names.split(",")),t},B.prototype._getBuildingId=function(){var e=this._getFeatureInfo();return e&&e.properties.id||null},B.prototype._getRefLevel=function(){var e,t,n=this,r=null;return this._curBuildingFeature&&this._curOrdinal&&(e=(t=this._curBuildingFeature.properties).level_ids,t=t.ordinals,t=(0,h.default)(t.split(","),(function(e){return e===n._curOrdinal})),r=e.split(",")[t]),r},B.prototype._getOrdinals=function(){var e,t=[];return null!=(e=null==(e=this._curVenueFeature)?void 0:e.properties)&&e.level_ordinals?t=this._curVenueFeature.properties.level_ordinals.split(","):null!=(e=null==(e=this._curBuildingFeature)?void 0:e.properties)&&e.ordinals&&(t=this._curBuildingFeature.properties.ordinals.split(",")),t},B.prototype._getOrdinal=function(e,t){var n,r,o,i,a,s,u=null;return e?(n=Boolean(e.properties.building),r=(a=e.properties).id,o=a.building_ids,i=a.level_names,a=a.level_ordinals,n||o&&i&&a?(o=e.properties.level_names.split(","),i=(n?e.properties.ordinals:e.properties.level_ordinals).split(","),u=t?i[s=(0,h.default)(o,(function(e){return e===t}))]:(a=this._footprints.get(e.properties.id)||null,n||!n&&!a?(0,_.default)(i,(function(e){return Math.abs(Number(e)-.1)})):a)):console.error("Venue(ID: ".concat(r,") is missing level_names/level_ordinals/building_ids."))):u=t?(s=(0,h.default)(this._venueFloors,(function(e){return e===t})),this._curOrdinals[s]):this._curOrdinal,u},B.prototype._getLevelName=function(){var e,t,n=this,r=null;return this._curBuildingFeature&&this._curOrdinal&&(t=(e=this._curBuildingFeature.properties).ordinals,e=e.level_names,-1<(t=(0,h.default)(t.split(","),(function(e){return e===n._curOrdinal}))))?e.split(",")[t]:r},B.prototype._isNotCurrentFeature=function(e){return!e||!this._curBuildingFeature||(null==(e=null==e?void 0:e.properties)?void 0:e.id)!==(null==(e=null==(e=this._curBuildingFeature)?void 0:e.properties)?void 0:e.id)},B.prototype._setOutdoorLayersHidden=function(e){var t=this,n=(0,l.getOutdoorLayers)(this._map.getStyle()),r=e?"none":"visible";(0,p.default)(n,(function(e){t._map.getLayer(e.id)&&t._map.setLayoutProperty(e.id,"visibility",r)}))},B.prototype._addCustomLevelFillLayer=function(){this._hasCustomLevelFill||(this._map.addLayer({id:"custom-level-fill",source:"indoor-planet","source-layer":"mapxus_level",type:"fill",paint:{"fill-opacity":0}}),this._hasCustomLevelFill=!0)},s=B;function B(e,t){var n=o.call(this)||this;return n._curVenueId=null,n._curVenueFeature=null,n._curOrdinal=null,n._curOrdinals=[],n._venueFloors=[],n._refLevels=[],n._displayedLevels=[],n._curVenueLevelIds=[],n._incompleteVenues=[],n._map=e,n._enableSwitch=!0,n._enableSwitchBuilding=!0,n._isHiddenOutdoor=t||!1,n._footprints=new Map,n._hasCustomLevelFill=!1,n._levelsMap=new Map,n._loadData(),n}t.Indoor=s},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=(Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingsService=void 0,n(30)),i=n(31),a=r(n(0)),s=r(n(63)),u=r(n(81)),l=r(n(36)),c=["specialHours","businessStatus","serviceHours","keywords","siteCode","refPhotoId","totalPhotoCount","photos"];function d(){this._api="/api/v3/buildings",this._request=new i.Request}d.prototype.searchByIds=function(e){if(e.length)return e="".concat(this._api,"/").concat((0,a.default)(e)?e.join(","):e),this._changedRes(e);throw new Error("Parameter cannot be empty.")},d.prototype.searchByDistance=function(e,t,n,r,i){if(void 0===r&&(r=o.OFFSET),void 0===i&&(i=o.PAGE),arguments.length<3)throw new Error("Parameter cannot be empty.");if(2!==t.length)throw new Error("Center lon lat cannot be less than 2.");return t=["region=0","center=".concat(t.join(",")),"distance=".concat(n),"offset=".concat(r),"page=".concat(i)],e&&t.unshift("keywords=".concat(e)),n="".concat(this._api,"?").concat(t.join("&")),this._changedRes(n)},d.prototype.searchByBbox=function(e,t,n,r){if(void 0===n&&(n=o.OFFSET),void 0===r&&(r=o.PAGE),arguments.length<2)throw new Error("Parameter cannot be empty.");if(4!==t.length)throw new Error("Bbox parameters cannot be less than 2.");return t=["region=0","bbox=".concat(t.join(",")),"offset=".concat(n),"page=".concat(r)],e&&t.unshift("keywords=".concat(e)),n="".concat(this._api,"?").concat(t.join("&")),this._changedRes(n)},d.prototype.searchByGlobal=function(e,t,n){if(void 0===t&&(t=o.OFFSET),void 0===n&&(n=o.PAGE),arguments.length)return t=["region=0","searchGlobal=true","offset=".concat(t),"page=".concat(n)],e&&t.unshift("keywords=".concat(e)),n="".concat(this._api,"?").concat(t.join("&")),this._changedRes(n);throw new Error("Parameter cannot be empty.")},d.prototype._changedRes=function(e){var t=this;return new Promise((function(n,r){t._request.get(e).then((function(e){e.data.result.buildings=(0,s.default)(e.data.result.buildings,(function(e){return(0,u.default)(e,(function(e,t){return(0,l.default)(c,t)}))})),n(e)})).catch(r)}))},t.BuildingsService=d},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(8),o=n(94),i=n(96),a=n(97),s=n(98),u=n(72);e.exports=function(e){return new Promise((function(t,l){var c,d,f=e.data,h=e.headers,p=(r.isFormData(f)&&delete h["Content-Type"],new XMLHttpRequest);if(e.auth&&(c=e.auth.username||"",d=e.auth.password||"",h.Authorization="Basic "+btoa(c+":"+d)),p.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){var n;p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&(n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:n,config:e,request:p},o(t,l,n),p=null)},p.onerror=function(){l(u("Network Error",e,null,p)),p=null},p.ontimeout=function(){l(u("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()&&(c=n(99),d=(e.withCredentials||s(e.url))&&e.xsrfCookieName?c.read(e.xsrfCookieName):void 0)&&(h[e.xsrfHeaderName]=d),"setRequestHeader"in p&&r.forEach(h,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete h[t]:p.setRequestHeader(t,e)})),e.withCredentials&&(p.withCredentials=!0),e.responseType)try{p.responseType=e.responseType}catch(c){if("json"!==e.responseType)throw c}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),l(e),p=null)})),void 0===f&&(f=null),p.send(f)}))}},function(e,t,n){"use strict";var r=n(95);e.exports=function(e,t,n,o,i){return e=new Error(e),r(e,t,n,o,i)}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t){e.exports=function(e){var t;return e.webpackPolyfill||((t=Object.create(e)).children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1),t}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=(Object.defineProperty(t,"__esModule",{value:!0}),t.Poi=void 0,n(59)),i=n(65),a=r(n(32));function s(e){this._map=e,this._dispatch=(0,i.dispatch)("pointClick"),this._loadData()}s.prototype.onPointClick=function(e){var t=this,n=(0,a.default)("pointClick.");return this._dispatch.on(n,e),{unsubscribe:function(){return t._dispatch.on(n,null)}}},s.prototype._loadData=function(){this._map.on("style.load",this._init.bind(this))},s.prototype._init=function(){this._layers=(0,o.getLayers)(this._map.getStyle()).filter((function(e){return-1<e.id.indexOf("mapxus-poi")})),this._initClick()},s.prototype._initClick=function(){var e=this;this._map.on("click",(function(t){var n=e._map.queryRenderedFeatures(t.point,{layers:e._layers.map((function(e){return e.id}))});n.length&&e._dispatch.call("pointClick",null,{lngLat:t.lngLat,originalEvent:t.originalEvent,point:t.point,feature:n[0]})}))},t.Poi=s},function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||((r=r||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.FloorsControl=void 0,n(109),n(35)),a=n(65),s=o(n(37)),u=o(n(32)),l=o(n(64));function c(e,t){this._floor=null,this._venueId=null,this._ordinal=null,this._fontColor="#bdbdbf",this._selectFontColor="#fff",this._selectBoxColor="#68afce",this._map=e,this._indoor=this._map.getIndoor(),this._enableFloorControl=!0,this._position=t||"top-right",this._$floorControlButtons=[],this._dispatch=(0,a.dispatch)("floorClick")}c._$createFloor=function(e){var t=(0,i.domCreate)("button","floor");return t.setAttribute("data-floor",e),t.innerText=e,t},Object.defineProperty(c.prototype,"position",{get:function(){return this._position},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"enabled",{get:function(){return this._enableFloorControl},enumerable:!1,configurable:!0}),c.prototype.onAdd=function(e){return this._$container=(0,i.domCreate)("div","maplibregl-ctrl maplibregl-ctrl-floors",e.getContainer()),this._$container.appendChild(this._$createLayout("div")),this._listener(),this._bindEvent(),this._$container},c.prototype.onRemove=function(){(0,i.domRemove)(this._$container)},c.prototype.onFloorClick=function(e){var t=this,n=(0,u.default)("floorClick.");return this._dispatch.on(n,e),{unsubscribe:function(){return t._dispatch.on(n,null)}}},c.prototype.switchFloor=function(e,t){var n,r,o,i,a,u,c=this;this._indoor.venueFloors&&((r=(0,l.default)(this._indoor.venueFloors,(function(t){return t===e})))||(o=this._indoor.getFeature(this._indoor.buildingId))&&(i=(o=o.properties).level_names,u=o.ordinals,-1<(o=(0,s.default)(i.split(","),(function(t){return t===e}))))&&(n=u.split(",")[o],r=this._indoor.venueFloors[(0,s.default)(this._indoor.ordinals,(function(e){return e===n}))]),r)&&(this._setCurrentButtonActive(!1),this._$currentButton.style.color=this._fontColor,this._$floorControlButtons.forEach((function(e){e.getAttribute("data-floor")===r&&(c._floor=r,c._$currentButton=e,c._setCurrentButtonActive(!0),c._scrollToClickedFloor())})),this._indoor.switchFloor(r),this._ordinal=this._indoor.ordinal,u=(a=(o=this._indoor.getFeature(this._indoor.buildingId)).properties).ordinals,i=a.level_names,u=-1<(a=(0,s.default)(u.split(","),(function(e){return e===c._ordinal})))?i.split(",")[a]:null,this._dispatch.call("floorClick",null,{floor:u,feature:o}),t)&&t({floor:u,feature:o})},c.prototype.setStyle=function(e){var t=this;["fontColor","selectFontColor","selectBoxColor"].forEach((function(n){e.hasOwnProperty(n)&&("fontColor"===n&&(t._fontColor=e[n],t._$floorControlButtons.forEach((function(e){e.style.color=t._fontColor}))),"selectFontColor"===n&&(t._selectFontColor=e[n],t._$currentButton.style.color=t._selectFontColor),"selectBoxColor"===n)&&(t._selectBoxColor=e[n],t._$currentButton.style.backgroundColor=t._selectBoxColor)}))},c.prototype.setLayoutHidden=function(e){this._enableFloorControl=!e,e?this._$hideLayout():this._$showLayout()},c.prototype.moveFloorControl=function(e,t){var n=(e=document.querySelector(".maplibregl-ctrl-".concat(e))).querySelector(".maplibregl-ctrl-floors"),r=document.querySelector(".maplibregl-ctrl-".concat(t));n&&(e.removeChild(n),r.prepend(n),this._position=t,this._scrollToClickedFloor())},c.prototype._listener=function(){this._map.getMap().on("moveend",this._refresh.bind(this)),this._map.getIndoor().on("selectVenue",this._init.bind(this))},c.prototype._init=function(e){var t=this;e=e.venueFeature;this._venueId===this._indoor.venueId&&this._ordinal===this._indoor.ordinal||(this._venueId=this._indoor.venueId,this._ordinal=this._indoor.ordinal,this._floor=this._getCurrentFloor(),this._$hideLayout(),this._$clearFloors(),e&&(this._$configLayoutHeight(),this._$createFloors(),this._isEnableDisplay()&&this._$showLayout(),setTimeout((function(){t._scrollToClickedFloor(),t._$showOrHideArrow()}),300)))},c.prototype._refresh=function(){this._isEnableDisplay()?this._$showLayout():this._$hideLayout(),this._isEmptyFloors()&&this._$hideLayout()},c.prototype._$createLayout=function(e){return this._$layout=(0,i.domCreate)(e,"mapxus-floor-selector-layout hide"),this._$arrowUp=(0,i.domCreate)(e,"mapxus-floor-selector-up",this._$layout),this._$arrowDown=(0,i.domCreate)(e,"mapxus-floor-selector-down",this._$layout),this._$outer=(0,i.domCreate)(e,"mapxus-floor-selector-outer",this._$layout),this._$inner=(0,i.domCreate)(e,"mapxus-floor-selector-inner",this._$outer),this._$layout.appendChild(this._$outer),this._$layout},c.prototype._$configLayoutHeight=function(){var e=5<=(e=this._indoor.venueFloors.length)?5:e;this._$outer.style.height="".concat(34*e,"px"),this._$configArrowDownTop()},c.prototype._$configArrowDownTop=function(){var e=parseInt(this._$outer.style.height.replace(/px/,""),10);this._$arrowDown.style.marginTop="".concat(e-26,"px")},c.prototype._$showOrHideArrow=function(){this._$hideArrowDown(),this._$hideArrowUp(),this._floorScroll()},c.prototype._$showLayout=function(){this._$container.classList.remove("hide")},c.prototype._$hideLayout=function(){this._$container.classList.add("hide")},c.prototype._$showArrowUp=function(){this._$arrowUp.classList.remove("hide")},c.prototype._$hideArrowUp=function(){this._$arrowUp.classList.add("hide")},c.prototype._$showArrowDown=function(){this._$arrowDown.classList.remove("hide")},c.prototype._$hideArrowDown=function(){this._$arrowDown.classList.add("hide")},c.prototype._$createFloors=function(){var e=this;r([],this._indoor.venueFloors,!0).reverse().forEach((function(t){var n=c._$createFloor(t);e._$inner.appendChild(n),e._$floorControlButtons.push(n),n.style.color=e._fontColor,t===e._floor&&(e._$currentButton=n,e._setCurrentButtonActive(!0))})),this._$layout.classList.remove("hide")},c.prototype._$clearFloors=function(){this._$inner.innerHTML=""},c.prototype._isEmptyFloors=function(){return!Boolean(this._$inner.innerHTML)},c.prototype._isOverflowFloorMax=function(){return 5<Array.prototype.slice.call(this._$inner.querySelectorAll("button.floor")).length},c.prototype._isEnableDisplay=function(){return 16<=this._map.getMap().getZoom()&&this._enableFloorControl},c.prototype._scrollToClickedFloor=function(){var e,t=this;5<this._indoor.venueFloors.length&&(e=(0,s.default)(this._indoor.venueFloors,(function(e){return e===t._floor})))<this._indoor.venueFloors.length-1-2&&(this._$inner.scrollTop=34*(this._indoor.venueFloors.slice(e+1).length-2))},c.prototype._setCurrentButtonActive=function(e){this._$currentButton.style.color=e?this._selectFontColor:this._fontColor,this._$currentButton.style.backgroundColor=e?this._selectBoxColor:"#fff",this._$currentButton.disabled=e,this._$currentButton.style.cursor=e?"initial":"pointer"},c.prototype._floorClick=function(e){e=e.target.getAttribute("data-floor"),this.switchFloor(e)},c.prototype._floorScroll=function(){var e=this._$inner.clientHeight,t=this._$inner.scrollHeight,n=0===this._$inner.scrollTop;t=this._$inner.scrollTop===t-e;this._isOverflowFloorMax()&&(n?(this._$hideArrowUp(),this._$showArrowDown()):t?(this._$hideArrowDown(),this._$showArrowUp()):(this._$showArrowUp(),this._$showArrowDown()))},c.prototype._floorClickEvent=function(){this._$inner.addEventListener("click",this._floorClick.bind(this))},c.prototype._floorScrollEvent=function(){this._$inner.addEventListener("scroll",this._floorScroll.bind(this))},c.prototype._bindEvent=function(){this._floorClickEvent(),this._floorScrollEvent()},c.prototype._getCurrentFloor=function(){var e,t=this,n=null;return this._ordinal&&-1<(e=(0,s.default)(this._indoor.ordinals,(function(e){return e===t._ordinal})))?this._indoor.venueFloors[e]:n},t.FloorsControl=c},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=(Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingFilterControl=void 0,n(114),n(35)),i=r(n(64)),a=r(n(62));function s(e,t){this._map=e,this._position=t||"top-right",this._enableBuildingSelector=!0}s.prototype.onAdd=function(e){return this._container=(0,o.domCreate)("div","maplibregl-ctrl maplibregl-ctrl-building-filter",e.getContainer()),this._container.appendChild(this._buildingFilterIconCreate("div")),this._container.appendChild(this._buildingNameListCreate("div")),this._loadData(),this._container},s.prototype.onRemove=function(){(0,o.domRemove)(this._container)},Object.defineProperty(s.prototype,"position",{get:function(){return this._position},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"enabled",{get:function(){return this._enableBuildingSelector},enumerable:!1,configurable:!0}),s.prototype.setLayoutHidden=function(e){this._enableBuildingSelector=!e,e?this._$hideLayout():this._$showLayout()},s.prototype.moveBuildingFilter=function(e,t){var n=(e=document.querySelector(".maplibregl-ctrl-".concat(e))).querySelector(".maplibregl-ctrl-building-filter");t=document.querySelector(".maplibregl-ctrl-".concat(t));n&&(e.removeChild(n),t.prepend(n))},s.prototype._loadData=function(){this._init(),this._map.getMap().on("moveend",this._refresh.bind(this)),this._map.getIndoor().on("selectBuilding",this._select.bind(this)).on("isDataLoaded",this._refresh.bind(this))},s.prototype._init=function(){this._load()},s.prototype._refresh=function(){this._load()},s.prototype._select=function(e){this._buildingId=e.feature?e.feature.properties.id:null,this._refresh()},s.prototype._load=function(){this._indoor=this._map.getIndoor(),this._buildingNameListClean(),this._buildingNameListUpdate(this._indoor.features,this._features=[],this._buildingId)},s.prototype._getFeatureByName=function(e){return(0,i.default)(this._features,(function(t){return t.properties.name===e}))},s.prototype._buildingFilterIconCreate=function(e){return(e=window.document.createElement(e)).className="mapxus-building-filter-icon",this._buildingToggleListEvent(e,!0),e},s.prototype._buildingNameListCreate=function(e){return this._buildingNameLayout=window.document.createElement(e),this._buildingNameLayout.className="mapxus-building-name-layout",this._buildingNameLayout.style.display="none",this._buildingNameList=window.document.createElement(e),this._buildingNameList.className="mapxus-building-name-list",this._buildingNameLayout.appendChild(this._buildingNameList),this._buildingToggleListEvent(this._buildingNameLayout,!1),this._buildingNameLayout},s.prototype._buildingNameListUpdate=function(e,t,n){var r=this;(0,a.default)(e,(function(e){var o,a,s;!(0,i.default)(t,(function(t){return t.properties.id===e.properties.id}))&&Boolean(null==(o=e.properties)?void 0:o.building)&&(t.push(e),o=!1,n&&e.properties.id===n&&(o=!0),a=(s=e.properties).name,s=s.id,r._buildingNameList.appendChild(r._buildingNameCreate("p",a,s,o)))})),this._buildingNameListHeight(t)},s.prototype._buildingNameListClean=function(){this._buildingNameList.innerHTML=""},s.prototype._buildingNameListHeight=function(e){e=26*e.length,this._buildingNameList.style.height=this._buildingNameLayout.style.height="".concat(208<=e?208:e,"px"),-1<this._position.indexOf("bottom")&&(this._buildingNameLayout.style.marginTop="".concat(-(208<=e?208:e),"px")),-1<this._position.indexOf("left")&&(this._buildingNameLayout.style.left="".concat(45,"px")),-1<this._position.indexOf("right")&&(this._buildingNameLayout.style.right="".concat(45,"px"))},s.prototype._buildingNameCreate=function(e,t,n,r){return(e=window.document.createElement(e)).dataset.id=n,e.className="mapxus-building-name",e.innerHTML=t,r&&e.classList.add("active"),this._buildingNameClickEvent(e),e},s.prototype._toggleList=function(e){this._buildingNameLayout.style.display=e?"block":"none"},s.prototype._buildingNameClickEvent=function(e){var t=this;e.onclick||(e.onclick=function(e){e=e.target,t._indoor.goToBuilding(e.dataset.id)})},s.prototype._buildingToggleListEvent=function(e,t){var n=this;e.onmouseenter||(e.onmouseenter=function(e){n._toggleList(!0)}),e.onmouseleave||t||(e.onmouseleave=function(e){n._toggleList(!1)})},s.prototype._$showLayout=function(){this._container.classList.remove("hide")},s.prototype._$hideLayout=function(){this._container.classList.add("hide")},t.BuildingFilterControl=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCustomizedThemeUrl=t.mapxusTheme_v2=t.landsDTheme=t.mapxusTheme=t.mappyBeeTheme=t.halloweenTheme=t.commonTheme=t.christmasTheme=void 0;var r=n(30);function o(e){return"".concat(r.BMS_URL,"/api/").concat("v3","/tiles/styles/").concat(e)}t.christmasTheme=o("christmas_mims2_v1"),t.commonTheme=o("common_mims2_v1"),t.halloweenTheme=o("halloween_mims2_v1"),t.mappyBeeTheme=o("mappybee_mims2_v1"),t.mapxusTheme=o("mapxus_mims2_v1"),t.landsDTheme=o("lands_d_mims2_v1"),t.mapxusTheme_v2=o("mapxus_mims2_v4"),t.getCustomizedThemeUrl=o},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=(Object.defineProperty(t,"__esModule",{value:!0}),t.PoisService=void 0,n(30)),i=n(31),a=n(126),s=r(n(63)),u=r(n(81)),l=r(n(0)),c=r(n(36)),d=["specialHours","businessStatus","serviceHours","keywords","siteCode","refPhotoId","totalPhotoCount","photos"];function f(){this._api="/api/v3/pois",this._categories="/api/v1/categories",this._request=new i.Request}f.prototype.searchByIds=function(e){if(e.length)return e="".concat(this._api,"/").concat((0,l.default)(e)?e.join(","):e),this._changedRes(e);throw new Error("Parameter cannot be empty.")},f.prototype.searchByDistance=function(e,t,n,r,i){if(void 0===r&&(r=o.OFFSET),void 0===i&&(i=o.PAGE),arguments.length<3)throw new Error("Parameter cannot be empty.");if(2!==t.length)throw new Error("Center lon lat cannot be less than 2.");return n=Math.round(n),t=["center=".concat(t.join(",")),"distance=".concat(n),"offset=".concat(r),"page=".concat(i)],e&&t.unshift("category=".concat(e)),n="".concat(this._api,"?").concat(t.join("&")),this._changedRes(n)},f.prototype.searchByBbox=function(e,t,n,r){if(void 0===n&&(n=o.OFFSET),void 0===r&&(r=o.PAGE),arguments.length<2)throw new Error("Parameter cannot be empty.");if(4!==t.length)throw new Error("Bbox parameters cannot be less than 2.");return t=["bbox=".concat(t.join(",")),"offset=".concat(n),"page=".concat(r)],e&&t.unshift("keywords=".concat(e)),n="".concat(this._api,"?").concat(t.join("&")),this._changedRes(n)},f.prototype.searchByBuildingId=function(e,t,n,r){if(void 0===n&&(n=o.OFFSET),void 0===r&&(r=o.PAGE),arguments.length<2)throw new Error("Parameter cannot be empty.");return t=["buildingId=".concat(t),"offset=".concat(n),"page=".concat(r)],e&&t.unshift("keywords=".concat(e)),n="".concat(this._api,"?").concat(t.join("&")),this._changedRes(n)},f.prototype.searchCategory=function(e,t){if(!arguments.length)throw new Error("Missing buildingId");e=["buildingId=".concat(e)],t&&e.push("floor=".concat(t)),t="".concat(this._categories,"/pois?").concat(e.join("&"));try{return this._request.get(t)}catch(e){}},f.prototype.searchOrientation=function(e,t,n,r,o,i){if(void 0===o&&(o=a.DistanceSearchType.POINT),6!==arguments.length)throw new Error("Parameter length should be 6.");return e=Math.round(e),r=Math.round(r),e=["angle=".concat(e),"buildingId=".concat(t),"center=".concat(n.join(",")),"distance=".concat(r),"distanceSearchType=".concat(o),"floor=".concat(i)],t="".concat(this._api,"/orientation?").concat(e.join("&")),this._changedRes(t)},f.prototype._changedRes=function(e){var t=this;return new Promise((function(n,r){t._request.get(e).then((function(e){e.data.result.pois=(0,s.default)(e.data.result.pois,(function(e){return(0,u.default)(e,(function(e,t){return(0,c.default)(d,t)}))})),n(e)})).catch(r)}))},t.PoisService=f},function(e,t,n){"use strict";n.r(t);var r=n(2),o=n(15),i=n(25),a=n(56),s=n(17),u=Object.prototype.hasOwnProperty,l=function(e,t,n){var r=e[t];u.call(e,t)&&Object(s.a)(r,n)&&(void 0!==n||t in e)||Object(a.a)(e,t,n)},c=n(19),d=n(16),f=n(3),h=n(12),p=function(e,t,n,r){if(Object(f.a)(e))for(var o=-1,i=(t=Object(c.a)(t,e)).length,a=i-1,s=e;null!=s&&++o<i;){var u,p=Object(h.a)(t[o]),g=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;o!=a&&(u=s[p],void 0===(g=r?r(u,p,s):void 0))&&(g=Object(f.a)(u)?u:Object(d.a)(t[o+1])?[]:{}),l(s,p,g),s=s[p]}return e},g=n(45),y=n(46),m=n(42),v=Object(m.a)(Object.getPrototypeOf,Object),_=n(47),b=(m=n(48),Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Object(y.a)(t,Object(_.a)(e)),e=v(e);return t}:m.a),w=n(54),x=n(41),C=Object.prototype.hasOwnProperty,O=function(e){if(!Object(f.a)(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t,n=Object(x.a)(e),r=[];for(t in e)("constructor"!=t||!n&&C.call(e,t))&&r.push(t);return r},T=n(4);function S(e){return Object(T.a)(e)?Object(w.a)(e,!0):O(e)}var j=function(e,t){var n;return null==e?{}:(n=Object(o.a)(function(e){return Object(g.a)(e,S,b)}(e),(function(e){return[e]})),t=Object(r.a)(t),function(e,t,n){for(var r=-1,o=t.length,a={};++r<o;){var s=t[r],u=Object(i.a)(e,s);n(u,s)&&p(a,Object(c.a)(s,e),u)}return a}(e,n,(function(e,n){return t(e,n[0])})))};t.default=function(e,t){return j(e,function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}(Object(r.a)(t)))}},function(e,t,n){"use strict";n.r(t);var r=n(3),o=n(1),i=function(){return o.a.Date.now()},a=n(28),s=Math.max,u=Math.min;t.default=function(e,t,n){var o,l,c,d,f,h,p=0,g=!1,y=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=o,r=l;return o=l=void 0,p=t,d=e.apply(r,n)}function _(e){var n=e-h;return void 0===h||t<=n||n<0||y&&c<=e-p}function b(){var e,n=i();if(_(n))return w(n);f=setTimeout(b,(e=t-((n=n)-h),y?u(e,c-(n-p)):e))}function w(e){return f=void 0,m&&o?v(e):(o=l=void 0,d)}function x(){var e=i(),n=_(e);if(o=arguments,l=this,h=e,n){if(void 0===f)return p=e=h,f=setTimeout(b,t),g?v(e):d;if(y)return clearTimeout(f),f=setTimeout(b,t),v(h)}return void 0===f&&(f=setTimeout(b,t)),d}return t=Object(a.a)(t)||0,Object(r.a)(n)&&(g=!!n.leading,c=(y="maxWait"in n)?s(Object(a.a)(n.maxWait)||0,t):c,m="trailing"in n?!!n.trailing:m),x.cancel=function(){void 0!==f&&clearTimeout(f),o=h=l=f=void(p=0)},x.flush=function(){return void 0===f?d:w(i())},x}},function(e,t,n){"use strict";n.r(t);var r=n(49),o=n(13);function i(e,t){var n=[];return Object(o.a)(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}var a=n(2),s=n(0);t.default=function(e,t){return(Object(s.default)(e)?r.a:i)(e,Object(a.a)(t,3))}},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){"use strict";var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s=(Object.defineProperty(t,"__esModule",{value:!0}),t.Map=void 0,n(68)),u=n(76),l=n(77),c=n(78),d=n(117),f=n(31),h=n(118),p=n(29),g=n(119),y=n(123),m=n(80),v=n(127),_=n(59),b=n(128),w=n(79),x=n(65),C=a(n(83)),O=a(n(62)),T=a(n(36)),S=a(n(38)),j=a(n(82)),B=a(n(32));i(A,o=p.Evented),A._getThemeStyleName=function(e){var t;if(-1<(0,S.default)(b.ThemeType).indexOf(e))switch(e){case b.ThemeType.CHRISTMAS:t=w.christmasTheme;break;case b.ThemeType.HALLOWEEN:t=w.halloweenTheme;break;case b.ThemeType.MAPPY_BEE:t=w.mappyBeeTheme;break;case b.ThemeType.MAPXUS:t=w.mapxusTheme;break;case b.ThemeType.MAPXUS_V2:t=w.mapxusTheme_v2;break;case b.ThemeType.COMMON:t=w.commonTheme;break;case b.ThemeType.LANDS_D:t=w.landsDTheme}else t=(0,w.getCustomizedThemeUrl)(e);return t},A.prototype.renderComplete=function(e){this.on("isRenderComplete",(function(t){return e(t)}))},A.prototype.getIndoor=function(){return this._indoor},A.prototype.getMap=function(){return this._map},A.prototype.transformPoiTextFieldLanguage=function(e){var t=this,n=null==(n=this._map)?void 0:n.getStyle();n&&(n=(0,_.getLayers)(n),(n=(0,C.default)(n,(function(e){return"symbol"===t._map.getLayer(e.id).type}))).length)&&(0,v.getTextFieldCoalesceList)(n,e).forEach((function(e){t._map.setLayoutProperty(e.layerId,"text-field",e.coalesce)}))},A.prototype.enableSwitch=function(){var e;return null!=(e=this._indoor)&&e.enableSwitch(),this},A.prototype.disableSwitch=function(){var e;return null!=(e=this._indoor)&&e.disableSwitch(),this},A.prototype.enableSwitchBuilding=function(){var e;return null!=(e=this._indoor)&&e.enableSwitchBuilding(),this},A.prototype.disableSwitchBuilding=function(){var e;return null!=(e=this._indoor)&&e.disableSwitchBuilding(),this},A.prototype.hiddenOutdoorLayer=function(e){var t;null!=(t=this.getIndoor())&&t.hiddenOutdoorLayer(e)},Object.defineProperty(A.prototype,"floors",{get:function(){var e;return null==(e=this.getIndoor())?void 0:e.buildingFloors},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"currentFloor",{get:function(){var e;return null==(e=this.getIndoor())?void 0:e.currentFloor},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"building",{get:function(){var e=null==(e=this.getIndoor())?void 0:e.getFeature(this._indoor.buildingId);return null==e?void 0:e.properties},enumerable:!1,configurable:!0}),A.prototype.getFeature=function(e){var t;return null==(t=this.getIndoor())?void 0:t.getFeature(e)},A.prototype.selectBuilding=function(e){var t;return null!=(t=this._indoor)&&t.selectBuilding(e),this},A.prototype.switchBuilding=function(e,t){var n;return null!=(n=this._indoor)&&n.goToBuilding(e,t),this},A.prototype.switchFloor=function(e,t){var n;return null!=(n=this._floorsControl)&&n.switchFloor(e,t),this},A.prototype.onMapClickListener=function(e){var t,n=this,r=(0,B.default)("mapClick.");return null!=(t=this._dispatch)&&t.on(r,e),{unsubscribe:function(){return n._dispatch.on(r,null)}}},A.prototype.onIndoorPoiListener=function(e){var t;return null==(t=this._poi)?void 0:t.onPointClick(e)},A.prototype.onFloorChangeListener=function(e){var t;return null==(t=this._floorsControl)?void 0:t.onFloorClick(e)},A.prototype.onBuildingChangeListener=function(e){var t,n=this,r=(0,B.default)("buildingChange.");return null!=(t=this._dispatch)&&t.on(r,e),{unsubscribe:function(){return n._dispatch.on(r,null)}}},A.prototype.disableFloorControl=function(){var e;return null!=(e=this._floorsControl)&&e.setLayoutHidden(!0),this},A.prototype.enableFloorControl=function(e){var t;return e&&e!==(null==(t=this._floorsControl)?void 0:t.position)?(null!=(t=this._floorsControl)&&t.moveFloorControl(this._floorsControl.position,e),null!=(t=this._floorsControl)&&t.enabled||null!=(e=this._floorsControl)&&e.setLayoutHidden(!1)):this._floorsControl.enabled||this._floorsControl.setLayoutHidden(!1),this},A.prototype.disableBuildingSelector=function(){var e;return null!=(e=this._buildingFilterControl)&&e.setLayoutHidden(!0),this},A.prototype.enableBuildingSelector=function(e){var t;return e&&e!==(null==(t=this._buildingFilterControl)?void 0:t.position)?(null!=(t=this._buildingFilterControl)&&t.moveBuildingFilter(this._buildingFilterControl.position,e),null!=(t=this._buildingFilterControl)&&t.enabled||null!=(e=this._buildingFilterControl)&&e.setLayoutHidden(!1)):this._buildingFilterControl.enabled||this._buildingFilterControl.setLayoutHidden(!1),this},A.prototype.switchTheme=function(e){var t;this._setStyle(A._getThemeStyleName(e)),null!=(t=this._attributionControl)&&t.changeTheme(e),null!=(t=this._map)&&t.on("styledata",(0,j.default)(this._setIndoorFilter.bind(this),250))},A.prototype.setFloorsControlStyle=function(e){var t;null!=(t=this._floorsControl)&&t.setStyle(e)},A.prototype._setIndoorFilter=function(){this._indoor.updateLayers(),this._indoor.setFloorsFilter()},A.prototype._setStyle=function(e){var t;null!=(t=this._map)&&t.setStyle(e,{localIdeographFontFamily:"'Arial Unicode MS', 'Open Sans'"})},A.prototype._addControl=function(e,t){return this._map.addControl(e,t),this},A.prototype._defaultSetMapZoom=function(){return this._map.setZoom(17),this},A.prototype._defaultSelectedBuilding=function(e){var t=this;return this._buildingId=e.buildingId,this._indoor.goToBuilding(this._buildingId,(function(){if(e.floor){if(!(0,T.default)(t.building.level_names.split(","),e.floor))throw new Error("floor exclude in the building");t._floorsControl.switchFloor(e.floor)}t.fire(new p.DefinedEvent("isLoadedBuilding"))})),this},A.prototype._defaultSelectedPoi=function(e){var t=this;return(new m.PoisService).searchByIds([e.poiId]).then((function(e){var n=e.data.result.pois[0];t._buildingId=n.buildingId,t._indoor.goToBuilding(t._buildingId,(function(){t._floorsControl&&t._floorsControl.switchFloor(n.floor),t._map.setZoom(19),t._map.panTo([n.location.lon,n.location.lat]),t.fire(new p.DefinedEvent("isLoadedBuilding"))}))})).catch((function(){throw new Error("poi don't exist.")})),this},a=A;function A(e){var t=o.call(this)||this;if(!e.map)throw new Error("Outdoor Map parameter missing.");if(e.appId&&e.secret)return f.Request.authorization(e.appId,e.secret).then((function(){return t._enableFloorControl=!1!==e.enableFloorControl,t._enableBuildingSelector=!1!==e.enableBuildingSelector,t._map=e.map,t._poi=new u.Poi(t._map),t._indoor=new s.Indoor(t._map,e.hiddenOutdoor),t._mapZoom=e.map.getZoom(),f.Request.map=t._map,new Promise((function(e,t){(new h).get((function(t){e(t)}))}))})).then((function(n){f.Request.identifier=n,(n=t._map)._requestManager?n._requestManager.transformRequest=f.Request.transformRequest:n._transformRequest=f.Request.transformRequest,t._indoor.setEventedParent(t,{indoor:t._indoor}),t._addControl(t._buildingFilterControl=new c.BuildingFilterControl(t)),t._addControl(t._floorsControl=new l.FloorsControl(t)),t._addControl(new g.LogoControl),t._addControl(t._attributionControl=new y.AttributionControl({theme:e.theme})),t._dispatch=(0,x.dispatch)("mapClick","buildingChange"),(t._mapZoom<8||22<t._mapZoom)&&(t._defaultSetMapZoom(),1<t._mapZoom)&&console.error("The allowed map zoom is in the range of [8, 22]."),e.buildingId&&t._defaultSelectedBuilding(e),e.poiId&&t._defaultSelectedPoi(e),t._enableBuildingSelector||t._buildingFilterControl.setLayoutHidden(!0),t._enableFloorControl||t._floorsControl.setLayoutHidden(!0),n=(0,d.outdoorConfig)().url,e.theme&&(n=A._getThemeStyleName(e.theme)),t._setStyle(n),t._map.once("styledata",(function(){t._initialHiddenLayers=(0,_.getLayers)(t._map.getStyle()).filter((function(e){return e.id.indexOf("mapxus-building")<0||"mapxus-venue-fill"!==e.id})),t._initialHiddenLayers.forEach((function(e){t._map.setLayoutProperty(e.id,"visibility","none")}))})),t._map.on("click",(function(e){e.feature=t._indoor.getBuildingByPoint(e.point),t._dispatch.call("mapClick",null,e)})),t._indoor.once("isIndoorLoaded",(function(){(0,O.default)(t._initialHiddenLayers,(function(e){t._map.setLayoutProperty(e.id,"visibility","visible")}))})),t._indoor.on("selectBuilding",(function(e){t._dispatch.call("buildingChange",null,e.feature)})),t.once("isIndoorLoaded",(function(e){!e.error&&(t.transformPoiTextFieldLanguage(window.navigator.language),t._buildingId)?t.once("isLoadedBuilding",(function(){t.fire(new p.DefinedEvent("isRenderComplete",e))})):t.fire(new p.DefinedEvent("isRenderComplete",e))}))})).catch((function(){throw new Error("Authorization does not pass.")})),t;throw new Error("Permission parameter missing.")}t.Map=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.length,n=0,r=0;return e.forEach((function(e){n+=e.lng*Math.PI/180,r+=e.lat*Math.PI/180})),r/=t,{lng:180*(n/=t)/Math.PI,lat:180*r/Math.PI}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extend=void 0,t.extend=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++){var i,a=o[r];for(i in a)a.hasOwnProperty(i)&&(e[i]=a[i])}return e}},function(e,t,n){e.exports=n(89)},function(e,t,n){"use strict";var r=n(8),o=n(70),i=n(91),a=n(60);function s(e){e=new i(e);var t=o(i.prototype.request,e);return r.extend(t,i.prototype,e),r.extend(t,e),t}var u=s(a);u.Axios=i,u.create=function(e){return s(r.merge(a,e))},u.Cancel=n(74),u.CancelToken=n(105),u.isCancel=n(73),u.all=function(e){return Promise.all(e)},u.spread=n(106),e.exports=u,e.exports.default=u},function(e,t){
2
2
  /*!
3
3
  * Determine if an object is a Buffer
4
4
  *
5
5
  * @author Feross Aboukhadijeh <https://feross.org>
6
6
  * @license MIT
7
7
  */
8
- e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},function(e,t,n){"use strict";var r=n(60),o=n(8),i=n(100),a=n(101);function s(e){this.defaults=e,this.interceptors={request:new i,response:new i}}s.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),(e=o.merge(r,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],(function(e){s.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}})),o.forEach(["post","put","patch"],(function(e){s.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}})),e.exports=s},function(e,t){var n,r;e=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return(n=setTimeout)(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}var s,u=[],l=!1,c=-1;function d(){l&&s&&(l=!1,s.length?u=s.concat(u):c=-1,u.length)&&f()}function f(){if(!l){for(var e=a(d),t=(l=!0,u.length);t;){for(s=u,u=[];++c<t;)s&&s[c].run();c=-1,t=u.length}s=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return(r=clearTimeout)(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}e.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||l||a(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=p,e.addListener=p,e.once=p,e.off=p,e.removeListener=p,e.removeAllListeners=p,e.emit=p,e.prependListener=p,e.prependOnceListener=p,e.listeners=function(e){return[]},e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(8);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(72);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},function(e,t,n){"use strict";var r=n(8);function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){var i;return t&&(n=n?n(t):r.isURLSearchParams(t)?t.toString():(i=[],r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))})))})),i.join("&")))&&(e+=(-1===e.indexOf("?")?"?":"&")+n),e}},function(e,t,n){"use strict";var r=n(8),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i={};return e&&r.forEach(e.split("\n"),(function(e){n=e.indexOf(":"),t=r.trim(e.substr(0,n)).toLowerCase(),n=r.trim(e.substr(n+1)),!t||i[t]&&0<=o.indexOf(t)||(i[t]="set-cookie"===t?(i[t]||[]).concat([n]):i[t]?i[t]+", "+n:n)})),i}},function(e,t,n){"use strict";var r,o,i,a=n(8);function s(e){return o&&(i.setAttribute("href",e),e=i.href),i.setAttribute("href",e),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}e.exports=a.isStandardBrowserEnv()?(o=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),r=s(window.location.href),function(e){return(e=a.isString(e)?s(e):e).protocol===r.protocol&&e.host===r.host}):function(){return!0}},function(e,t,n){"use strict";var r=n(8);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){return(e=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)")))?decodeURIComponent(e[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(8);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";var r=n(8),o=n(102),i=n(73),a=n(60),s=n(103),u=n(104);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return l(e),e.baseURL&&!s(e.url)&&(e.url=u(e.baseURL,e.url)),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(8);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(74);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");this.promise=new Promise((function(e){t=e}));var t,n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t){var n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.r(t),t.default=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(110),o=("string"==typeof r&&(r=[[e.i,r,""]]),{});o.transform=void 0,n(34)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(61);(e.exports=n(33)(!1)).push([e.i,".maplibregl-ctrl-floors.hide,\n.mapxus-floor-selector-layout.hide{\n display: none;\n}\n.mapxus-floor-selector-layout {\n -moz-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.5);\n -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.5);\n box-shadow: 0 1px 1px 0 rgba(0,0,0,0.5);\n width: 30px;\n visibility: visible;\n}\n.mapxus-floor-selector-outer {\n position: relative;\n width: 30px;\n z-index: 100;\n overflow: hidden;\n}\n.mapxus-floor-selector-inner {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: -20px;\n overflow-y: auto;\n overflow-x: hidden\n}\n.mapxus-floor-selector-inner > .floor {\n outline: none;\n font-family: Helvetica, Arial, sans-serif;\n cursor: pointer;\n width: 30px;\n border: 0;\n background: #fff;\n font-weight: bold;\n font-size: 12px;\n padding: inherit;\n height: 34px;\n overflow-x: auto;\n overflow-y: hidden\n}\n.mapxus-floor-selector-inner > .floor:not(:disabled):hover {\n background-color: rgba(0,0,0,.05) !important;\n}\n.mapxus-floor-selector-inner > .floor::-webkit-scrollbar {\n height: 4px;\n}\n.mapxus-floor-selector-inner > .floor::-webkit-scrollbar-track {\n background-color: white;\n -webkit-border-radius: 2em;\n -moz-border-radius: 2em;\n border-radius:2em;\n}\n.mapxus-floor-selector-inner > .floor::-webkit-scrollbar-thumb {\n background-color: rgb(83, 177, 207);\n -webkit-border-radius: 2em;\n -moz-border-radius: 2em;\n border-radius:2em;\n}\n.mapxus-floor-selector-up {\n margin-top: -4px;\n z-index: 102;\n position: absolute;\n width: 30px;\n height: 26px;\n cursor: pointer;\n background-size: 38px;\n background-position-x: center;\n background-repeat: no-repeat;\n background-image:url("+r(n(111))+");\n}\n.mapxus-floor-selector-up.hide {\n visibility: hidden;\n}\n.mapxus-floor-selector-down {\n z-index: 101;\n position: absolute;\n width: 30px;\n height: 26px;\n cursor: pointer;\n background-size: 38px;\n background-position-x: center;\n background-repeat: no-repeat;\n background-image:url("+r(n(112))+");\n}\n.mapxus-floor-selector-down.hide {\n visibility: hidden;\n}\n",""])},function(e,t){e.exports="\"data:image/svg+xml,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='41.409260218957115' width='51.409260218957115'%3E %3Cdefs%3E %3Crect id='rect-0' opacity='1' x='4.704630109478558' y='4.704630109478558' width='42' height='32'/%3E %3ClinearGradient id='linearGradient-1' x1='0.5' y1='0' x2='0.5' y2='1'%3E %3Cstop offset='0' stop-color='rgb(255,255,255)' stop-opacity='0'/%3E %3Cstop offset='0.41' stop-color='rgb(255,255,255)' stop-opacity='0.8'/%3E %3Cstop offset='1' stop-color='rgb(200,200,200)' stop-opacity='1'/%3E %3C/linearGradient%3E %3Cpath id='path-2' opacity='1' fill-rule='evenodd' d='M18.02605868090714,23.704630109478558 L25.70463010947857,30.704630109478558 L33.38320153805,23.704630109478558 '/%3E %3C/defs%3E %3Cg transform='translate(25.704630109478558, 20.704630109478558) rotate(180.00006436155007) translate(-25.704630109478558, -20.704630109478558)' opacity='1'%3E %3Cg opacity='1'%3E %3Cuse xlink:href='%23rect-0' fill='url(%23linearGradient-1)'/%3E %3C/g%3E %3Cg opacity='1'%3E %3Cuse xlink:href='%23path-2' fill-opacity='0' stroke='rgb(187,187,189)' stroke-opacity='1' stroke-width='2'/%3E %3C/g%3E %3C/g%3E %3C/svg%3E\""},function(e,t){e.exports="\"data:image/svg+xml,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='41.409260218957115' width='51.409260218957115'%3E %3Cdefs%3E %3Crect id='rect-0' opacity='1' x='4.704630109478558' y='4.704630109478558' width='42' height='32'/%3E %3ClinearGradient id='linearGradient-1' x1='0.5' y1='0' x2='0.5' y2='1'%3E %3Cstop offset='0' stop-color='rgb(255,255,255)' stop-opacity='0'/%3E %3Cstop offset='0.41' stop-color='rgb(255,255,255)' stop-opacity='0.8'/%3E %3Cstop offset='1' stop-color='rgb(200,200,200)' stop-opacity='1'/%3E %3C/linearGradient%3E %3Cpath id='path-2' opacity='1' fill-rule='evenodd' d='M18.02605868090714,23.704630109478558 L25.70463010947857,30.704630109478558 L33.38320153805,23.704630109478558 '/%3E %3C/defs%3E %3Cg opacity='1'%3E %3Cg opacity='1'%3E %3Cuse xlink:href='%23rect-0' fill='url(%23linearGradient-1)'/%3E %3C/g%3E %3Cg opacity='1'%3E %3Cuse xlink:href='%23path-2' fill-opacity='0' stroke='rgb(187,187,189)' stroke-opacity='1' stroke-width='2'/%3E %3C/g%3E %3C/g%3E %3C/svg%3E\""},function(e,t){e.exports=function(e){var t,n,r="undefined"!=typeof window&&window.location;if(r)return e&&"string"==typeof e?(t=r.protocol+"//"+r.host,n=t+r.pathname.replace(/\/[^\/]*$/,"/"),e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,r){return r=r.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t})),/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r)?e:(e=0===r.indexOf("//")?r:0===r.indexOf("/")?t+r:n+r.replace(/^\.\//,""),"url("+JSON.stringify(e)+")")}))):e;throw new Error("fixUrls requires window.location")}},function(e,t,n){var r=n(115),o=("string"==typeof r&&(r=[[e.i,r,""]]),{});o.transform=void 0,n(34)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(61);(e.exports=n(33)(!1)).push([e.i,".maplibregl-ctrl-building-filter.hide {\n display: none;\n}\n.mapxus-building-filter-icon {\n width: 30px;\n height: 30px;\n background-image: url("+r(n(116))+");\n background-size: 30px;\n background-color: white;\n border-radius: 4px;\n -moz-box-shadow: 0 0 2px rgba(0,0,0,0.1);\n -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.1);\n box-shadow: 0 0 0 2px rgba(0,0,0,0.1);\n cursor: pointer;\n}\n.mapxus-building-name-layout {\n width: 125px;\n right: 45px;\n margin-top: -30px;\n position: absolute;\n overflow: hidden;\n}\n.mapxus-building-name-list {\n width: 140px;\n position: absolute;\n overflow-y: auto;\n}\n.mapxus-building-name {\n width: 115px;\n color: white;\n background: red;\n border-radius: 3px;\n padding: 2px 4px;\n margin: 2px;\n cursor: pointer;\n word-wrap: break-word;\n}\n.mapxus-building-name.active {\n background: cornflowerblue;\n}\n.mapxus-building-name:hover {\n background: rgba(0,0,0,0.5);\n}\n",""])},function(e,t){e.exports="\"data:image/svg+xml,%3C?xml version='1.0' encoding='utf-8'?%3E %3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E %3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0' y='0' width='15' height='15' viewBox='0, 0, 15, 15'%3E %3Cg%3E %3Cpath d='M13.639 4H12V1.361A.361.361 0 0 0 11.639 1h-.278a.361.361 0 0 0-.361.361V4H9.361A.361.361 0 0 0 9 4.361V10H5.363a.363.363 0 0 0-.363.363v3.275a.363.363 0 0 0 .363.362h8.276a.361.361 0 0 0 .361-.361V4.361A.361.361 0 0 0 13.639 4zM7 12H6v-1h1zm2 0H8v-1h1zm2 0h-1v-1h1zm0-2h-1V9h1zm0-2h-1V7h1zm0-2h-1V5h1zm2 6h-1v-1h1zm0-2h-1V9h1zm0-2h-1V7h1zm0-2h-1V5h1zM8 1.361A.361.361 0 0 0 7.639 1H5.361A.361.361 0 0 0 5 1.361V3H3.361A.361.361 0 0 0 3 3.361V4H1.361A.361.361 0 0 0 1 4.361v9.278a.361.361 0 0 0 .361.361H4V9h4zM3 12H2v-1h1zm0-2H2V9h1zm0-2H2V7h1zm0-2H2V5h1zm2 2H4V7h1zm0-2H4V5h1zm2 2H6V7h1zm0-2H6V5h1zm0-2H6V3h1z'%3E%3C/path%3E %3C/g%3E %3C/svg%3E\""},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.outdoorConfig=void 0;var r=n(79);t.outdoorConfig=function(){return{url:r.mapxusTheme_v2}}},function(e,t,n){!function(t,n){"use strict";"function"==typeof window.define&&window.define.amd?window.define(n):e.exports?e.exports=n():t.exports?t.exports=n():t.Fingerprint2=n()}(this,(function(){"use strict";function e(t){if(!(this instanceof e))return new e(t);this.options=this.extend(t,{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",detectScreenOrientation:!0,sortPluginsFor:[/palemoon/i],userDefinedFonts:[],excludeDoNotTrack:!0,excludePixelRatio:!0}),this.nativeForEach=Array.prototype.forEach,this.nativeMap=Array.prototype.map}return e.prototype={extend:function(e,t){if(null!=e)for(var n in e)null!=e[n]&&t[n]!==e[n]&&(t[n]=e[n]);return t},get:function(e){var t=this,n={data:[],addPreprocessedComponent:function(e){var r=e.value;"function"==typeof t.options.preprocessor&&(r=t.options.preprocessor(e.key,r)),n.data.push({key:e.key,value:r})}};n=this.userAgentKey(n);n=this.languageKey(n),n=this.colorDepthKey(n),n=this.deviceMemoryKey(n),n=this.pixelRatioKey(n),n=this.hardwareConcurrencyKey(n),n=this.screenResolutionKey(n),n=this.availableScreenResolutionKey(n),n=this.timezoneOffsetKey(n),n=this.sessionStorageKey(n),n=this.localStorageKey(n),n=this.indexedDbKey(n),n=this.addBehaviorKey(n),n=this.openDatabaseKey(n),n=this.cpuClassKey(n),n=this.platformKey(n),n=this.doNotTrackKey(n),n=this.pluginsKey(n),n=this.canvasKey(n),n=this.webglKey(n),n=this.webglVendorAndRendererKey(n),n=this.adBlockKey(n),n=this.hasLiedLanguagesKey(n),n=this.hasLiedResolutionKey(n),n=this.hasLiedOsKey(n),n=this.hasLiedBrowserKey(n),n=this.touchSupportKey(n),n=this.customEntropyFunction(n),this.fontsKey(n,(function(n){t.audioKey(n,(function(n){var r=[],o=(t.each(n.data,(function(e){(e=e.value)&&"function"==typeof e.join?r.push(e.join(";")):r.push(e)})),t.x64hash128(r.join("~~~"),31));return e(o,n.data)}))}))},audioKey:function(e,t){var n,r,o,i;return this.options.excludeAudioFP?t(e):null==(n=window.OfflineAudioContext||window.webkitOfflineAudioContext)?(e.addPreprocessedComponent({key:"audio_fp",value:null}),t(e)):(r=new n(1,44100,44100),(o=r.createOscillator()).type="triangle",o.frequency.setValueAtTime(1e4,r.currentTime),i=r.createDynamicsCompressor(),this.each([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==i[e[0]]&&"function"==typeof i[e[0]].setValueAtTime&&i[e[0]].setValueAtTime(e[1],r.currentTime)})),r.oncomplete=function(n){return n=n.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),o.disconnect(),i.disconnect(),e.addPreprocessedComponent({key:"audio_fp",value:n}),t(e)},o.connect(i),i.connect(r.destination),o.start(0),void r.startRendering())},customEntropyFunction:function(e){return"function"==typeof this.options.customFunction&&e.addPreprocessedComponent({key:"custom",value:this.options.customFunction()}),e},userAgentKey:function(e){return this.options.excludeUserAgent||e.addPreprocessedComponent({key:"user_agent",value:this.getUserAgent()}),e},getUserAgent:function(){return navigator.userAgent},languageKey:function(e){return this.options.excludeLanguage||e.addPreprocessedComponent({key:"language",value:navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||""}),e},colorDepthKey:function(e){return this.options.excludeColorDepth||e.addPreprocessedComponent({key:"color_depth",value:window.screen.colorDepth||-1}),e},deviceMemoryKey:function(e){return this.options.excludeDeviceMemory||e.addPreprocessedComponent({key:"device_memory",value:this.getDeviceMemory()}),e},getDeviceMemory:function(){return navigator.deviceMemory||-1},pixelRatioKey:function(e){return this.options.excludePixelRatio||e.addPreprocessedComponent({key:"pixel_ratio",value:this.getPixelRatio()}),e},getPixelRatio:function(){return window.devicePixelRatio||""},screenResolutionKey:function(e){return this.options.excludeScreenResolution?e:this.getScreenResolution(e)},getScreenResolution:function(e){var t=this.options.detectScreenOrientation&&window.screen.height>window.screen.width?[window.screen.height,window.screen.width]:[window.screen.width,window.screen.height];return e.addPreprocessedComponent({key:"resolution",value:t}),e},availableScreenResolutionKey:function(e){return this.options.excludeAvailableScreenResolution?e:this.getAvailableScreenResolution(e)},getAvailableScreenResolution:function(e){var t;return void 0!==(t=window.screen.availWidth&&window.screen.availHeight?!this.options.detectScreenOrientation||window.screen.availHeight>window.screen.availWidth?[window.screen.availHeight,window.screen.availWidth]:[window.screen.availWidth,window.screen.availHeight]:t)&&e.addPreprocessedComponent({key:"available_resolution",value:t}),e},timezoneOffsetKey:function(e){return this.options.excludeTimezoneOffset||e.addPreprocessedComponent({key:"timezone_offset",value:(new Date).getTimezoneOffset()}),e},sessionStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasSessionStorage()&&e.addPreprocessedComponent({key:"session_storage",value:1}),e},localStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasLocalStorage()&&e.addPreprocessedComponent({key:"local_storage",value:1}),e},indexedDbKey:function(e){return!this.options.excludeIndexedDB&&this.hasIndexedDB()&&e.addPreprocessedComponent({key:"indexed_db",value:1}),e},addBehaviorKey:function(e){return!this.options.excludeAddBehavior&&document.body&&document.body.addBehavior&&e.addPreprocessedComponent({key:"add_behavior",value:1}),e},openDatabaseKey:function(e){return!this.options.excludeOpenDatabase&&window.openDatabase&&e.addPreprocessedComponent({key:"open_database",value:1}),e},cpuClassKey:function(e){return this.options.excludeCpuClass||e.addPreprocessedComponent({key:"cpu_class",value:this.getNavigatorCpuClass()}),e},platformKey:function(e){return this.options.excludePlatform||e.addPreprocessedComponent({key:"navigator_platform",value:this.getNavigatorPlatform()}),e},doNotTrackKey:function(e){return this.options.excludeDoNotTrack||e.addPreprocessedComponent({key:"do_not_track",value:this.getDoNotTrack()}),e},canvasKey:function(e){return!this.options.excludeCanvas&&this.isCanvasSupported()&&e.addPreprocessedComponent({key:"canvas",value:this.getCanvasFp()}),e},webglKey:function(e){return!this.options.excludeWebGL&&this.isWebGlSupported()&&e.addPreprocessedComponent({key:"webgl",value:this.getWebglFp()}),e},webglVendorAndRendererKey:function(e){return!this.options.excludeWebGLVendorAndRenderer&&this.isWebGlSupported()&&e.addPreprocessedComponent({key:"webgl_vendor",value:this.getWebglVendorAndRenderer()}),e},adBlockKey:function(e){return this.options.excludeAdBlock||e.addPreprocessedComponent({key:"adblock",value:this.getAdBlock()}),e},hasLiedLanguagesKey:function(e){return this.options.excludeHasLiedLanguages||e.addPreprocessedComponent({key:"has_lied_languages",value:this.getHasLiedLanguages()}),e},hasLiedResolutionKey:function(e){return this.options.excludeHasLiedResolution||e.addPreprocessedComponent({key:"has_lied_resolution",value:this.getHasLiedResolution()}),e},hasLiedOsKey:function(e){return this.options.excludeHasLiedOs||e.addPreprocessedComponent({key:"has_lied_os",value:this.getHasLiedOs()}),e},hasLiedBrowserKey:function(e){return this.options.excludeHasLiedBrowser||e.addPreprocessedComponent({key:"has_lied_browser",value:this.getHasLiedBrowser()}),e},fontsKey:function(e,t){return this.options.excludeJsFonts?this.flashFontsKey(e,t):this.jsFontsKey(e,t)},flashFontsKey:function(e,t){return!this.options.excludeFlashFonts&&this.hasSwfObjectLoaded()&&this.hasMinFlashInstalled()&&void 0!==this.options.swfPath?void this.loadSwfAndDetectFonts((function(n){e.addPreprocessedComponent({key:"swf_fonts",value:n.join(";")}),t(e)})):t(e)},jsFontsKey:function(e,t){var n=this;return setTimeout((function(){function r(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e}var o=["monospace","sans-serif","serif"],i=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"],a=(i=(i=(i=n.options.extendedJsFonts?i.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"]):i).concat(n.options.userDefinedFonts)).filter((function(e,t){return i.indexOf(e)===t})),document.getElementsByTagName("body")[0]),s=document.createElement("div"),u=document.createElement("div"),l={},c={},d=function(){for(var e=[],t=0,n=o.length;t<n;t++){var i=r();i.style.fontFamily=o[t],s.appendChild(i),e.push(i)}return e}();a.appendChild(s);for(var f=0,h=o.length;f<h;f++)l[o[f]]=d[f].offsetWidth,c[o[f]]=d[f].offsetHeight;var p=function(){for(var e,t,n={},a=0,s=i.length;a<s;a++){for(var l=[],c=0,d=o.length;c<d;c++){f=i[a],e=o[c],t=void 0,(t=r()).style.fontFamily="'"+f+"',"+e;var f=t;u.appendChild(f),l.push(f)}n[i[a]]=l}return n}();a.appendChild(u);for(var g=[],y=0,m=i.length;y<m;y++)!function(e){for(var t=!1,n=0;n<o.length;n++)if(t=e[n].offsetWidth!==l[o[n]]||e[n].offsetHeight!==c[o[n]])return t;return t}(p[i[y]])||g.push(i[y]);a.removeChild(u),a.removeChild(s),e.addPreprocessedComponent({key:"js_fonts",value:g}),t(e)}),1)},pluginsKey:function(e){return this.options.excludePlugins||(this.isIE()?this.options.excludeIEPlugins||e.addPreprocessedComponent({key:"ie_plugins",value:this.getIEPlugins()}):e.addPreprocessedComponent({key:"regular_plugins",value:this.getRegularPlugins()})),e},getRegularPlugins:function(){var e=[];if(navigator.plugins)for(var t=0,n=navigator.plugins.length;t<n;t++)navigator.plugins[t]&&e.push(navigator.plugins[t]);return this.pluginsShouldBeSorted()&&(e=e.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),this.map(e,(function(e){var t=this.map(e,(function(e){return[e.type,e.suffixes].join("~")})).join(",");return[e.name,e.description,t].join("::")}),this)},getIEPlugins:function(){var e=[];return(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window)&&(e=this.map(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],(function(e){try{return new window.ActiveXObject(e),e}catch(e){return null}}))),navigator.plugins?e.concat(this.getRegularPlugins()):e},pluginsShouldBeSorted:function(){for(var e=!1,t=0,n=this.options.sortPluginsFor.length;t<n;t++){var r=this.options.sortPluginsFor[t];if(navigator.userAgent.match(r)){e=!0;break}}return e},touchSupportKey:function(e){return this.options.excludeTouchSupport||e.addPreprocessedComponent({key:"touch_support",value:this.getTouchSupport()}),e},hardwareConcurrencyKey:function(e){return this.options.excludeHardwareConcurrency||e.addPreprocessedComponent({key:"hardware_concurrency",value:this.getHardwareConcurrency()}),e},hasSessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},hasLocalStorage:function(){try{return!!window.localStorage}catch(e){return!0}},hasIndexedDB:function(){try{return!!window.indexedDB}catch(e){return!0}},getHardwareConcurrency:function(){return navigator.hardwareConcurrency||"unknown"},getNavigatorCpuClass:function(){return navigator.cpuClass||"unknown"},getNavigatorPlatform:function(){return navigator.platform||"unknown"},getDoNotTrack:function(){return navigator.doNotTrack||navigator.msDoNotTrack||window.doNotTrack||"unknown"},getTouchSupport:function(){var e=0,t=!1;void 0!==navigator.maxTouchPoints?e=navigator.maxTouchPoints:void 0!==navigator.msMaxTouchPoints&&(e=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch(e){}return[e,t,"ontouchstart"in window]},getCanvasFp:function(){var e=[],t=document.createElement("canvas"),n=(t.width=2e3,t.height=200,t.style.display="inline",t.getContext("2d"));return n.rect(0,0,10,10),n.rect(2,2,6,6),e.push("canvas winding:"+(!1===n.isPointInPath(5,5,"evenodd")?"yes":"no")),n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",this.options.dontUseFakeFontInCanvas?n.font="11pt Arial":n.font="11pt no-real-font-123",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),t.toDataURL&&e.push("canvas fp:"+t.toDataURL()),e.join("~")},getWebglFp:function(){function e(e){return t.clearColor(0,0,0,1),t.enable(t.DEPTH_TEST),t.depthFunc(t.LEQUAL),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),"["+e[0]+", "+e[1]+"]"}var t;if(!(t=this.getWebglCanvas()))return null;var n,r=[],o=t.createBuffer(),i=(t.bindBuffer(t.ARRAY_BUFFER,o),new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0])),a=(i=(t.bufferData(t.ARRAY_BUFFER,i,t.STATIC_DRAW),o.itemSize=3,o.numItems=3,t.createProgram()),t.createShader(t.VERTEX_SHADER)),s=(t.shaderSource(a,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),t.compileShader(a),t.createShader(t.FRAGMENT_SHADER));t.shaderSource(s,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),t.compileShader(s),t.attachShader(i,a),t.attachShader(i,s),t.linkProgram(i),t.useProgram(i),i.vertexPosAttrib=t.getAttribLocation(i,"attrVertex"),i.offsetUniform=t.getUniformLocation(i,"uniformOffset"),t.enableVertexAttribArray(i.vertexPosArray),t.vertexAttribPointer(i.vertexPosAttrib,o.itemSize,t.FLOAT,!1,0,0),t.uniform2f(i.offsetUniform,1,1),t.drawArrays(t.TRIANGLE_STRIP,0,o.numItems);try{r.push(t.canvas.toDataURL())}catch(e){}r.push("extensions:"+(t.getSupportedExtensions()||[]).join(";")),r.push("webgl aliased line width range:"+e(t.getParameter(t.ALIASED_LINE_WIDTH_RANGE))),r.push("webgl aliased point size range:"+e(t.getParameter(t.ALIASED_POINT_SIZE_RANGE))),r.push("webgl alpha bits:"+t.getParameter(t.ALPHA_BITS)),r.push("webgl antialiasing:"+(t.getContextAttributes().antialias?"yes":"no")),r.push("webgl blue bits:"+t.getParameter(t.BLUE_BITS)),r.push("webgl depth bits:"+t.getParameter(t.DEPTH_BITS)),r.push("webgl green bits:"+t.getParameter(t.GREEN_BITS)),r.push("webgl max anisotropy:"+((s=(a=t).getExtension("EXT_texture_filter_anisotropic")||a.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||a.getExtension("MOZ_EXT_texture_filter_anisotropic"))?0===(a=a.getParameter(s.MAX_TEXTURE_MAX_ANISOTROPY_EXT))?2:a:null)),r.push("webgl max combined texture image units:"+t.getParameter(t.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),r.push("webgl max cube map texture size:"+t.getParameter(t.MAX_CUBE_MAP_TEXTURE_SIZE)),r.push("webgl max fragment uniform vectors:"+t.getParameter(t.MAX_FRAGMENT_UNIFORM_VECTORS)),r.push("webgl max render buffer size:"+t.getParameter(t.MAX_RENDERBUFFER_SIZE)),r.push("webgl max texture image units:"+t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS)),r.push("webgl max texture size:"+t.getParameter(t.MAX_TEXTURE_SIZE)),r.push("webgl max varying vectors:"+t.getParameter(t.MAX_VARYING_VECTORS)),r.push("webgl max vertex attribs:"+t.getParameter(t.MAX_VERTEX_ATTRIBS)),r.push("webgl max vertex texture image units:"+t.getParameter(t.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),r.push("webgl max vertex uniform vectors:"+t.getParameter(t.MAX_VERTEX_UNIFORM_VECTORS)),r.push("webgl max viewport dims:"+e(t.getParameter(t.MAX_VIEWPORT_DIMS))),r.push("webgl red bits:"+t.getParameter(t.RED_BITS)),r.push("webgl renderer:"+t.getParameter(t.RENDERER)),r.push("webgl shading language version:"+t.getParameter(t.SHADING_LANGUAGE_VERSION)),r.push("webgl stencil bits:"+t.getParameter(t.STENCIL_BITS)),r.push("webgl vendor:"+t.getParameter(t.VENDOR)),r.push("webgl version:"+t.getParameter(t.VERSION));try{var u=t.getExtension("WEBGL_debug_renderer_info");u&&(r.push("webgl unmasked vendor:"+t.getParameter(u.UNMASKED_VENDOR_WEBGL)),r.push("webgl unmasked renderer:"+t.getParameter(u.UNMASKED_RENDERER_WEBGL)))}catch(e){}return t.getShaderPrecisionFormat&&(n=this).each(["FLOAT","INT"],(function(e){n.each(["VERTEX","FRAGMENT"],(function(o){n.each(["HIGH","MEDIUM","LOW"],(function(i){n.each(["precision","rangeMin","rangeMax"],(function(n){var a=t.getShaderPrecisionFormat(t[o+"_SHADER"],t[i+"_"+e])[n];"precision"!==n&&(n="precision "+n),n=["webgl ",o.toLowerCase()," shader ",i.toLowerCase()," ",e.toLowerCase()," ",n,":",a];r.push(n.join(""))}))}))}))})),r.join("~")},getWebglVendorAndRenderer:function(){try{var e=this.getWebglCanvas(),t=e.getExtension("WEBGL_debug_renderer_info");return e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL)}catch(e){return null}},getAdBlock:function(){var e=document.createElement("div"),t=(e.innerHTML="&nbsp;",!(e.className="adsbox"));try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t},getHasLiedLanguages:function(){if(void 0!==navigator.languages)try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1},getHasLiedResolution:function(){return window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight},getHasLiedOs:function(){var e=navigator.userAgent.toLowerCase(),t=navigator.oscpu,n=navigator.platform.toLowerCase();e=0<=e.indexOf("windows phone")?"Windows Phone":0<=e.indexOf("win")?"Windows":0<=e.indexOf("android")?"Android":0<=e.indexOf("linux")?"Linux":0<=e.indexOf("iphone")||0<=e.indexOf("ipad")?"iOS":0<=e.indexOf("mac")?"Mac":"Other";if(("ontouchstart"in window||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)&&"Windows Phone"!=e&&"Android"!=e&&"iOS"!=e&&"Other"!=e)return!0;if(void 0!==t){if(0<=(t=t.toLowerCase()).indexOf("win")&&"Windows"!=e&&"Windows Phone"!=e)return!0;if(0<=t.indexOf("linux")&&"Linux"!=e&&"Android"!=e)return!0;if(0<=t.indexOf("mac")&&"Mac"!=e&&"iOS"!=e)return!0;if((-1===t.indexOf("win")&&-1===t.indexOf("linux")&&-1===t.indexOf("mac"))!=("Other"==e))return!0}return 0<=n.indexOf("win")&&"Windows"!=e&&"Windows Phone"!=e||(0<=n.indexOf("linux")||0<=n.indexOf("android")||0<=n.indexOf("pike"))&&"Linux"!=e&&"Android"!=e||(0<=n.indexOf("mac")||0<=n.indexOf("ipad")||0<=n.indexOf("ipod")||0<=n.indexOf("iphone"))&&"Mac"!=e&&"iOS"!=e||(-1===n.indexOf("win")&&-1===n.indexOf("linux")&&-1===n.indexOf("mac"))!=("Other"==e)||void 0===navigator.plugins&&"Windows"!=e&&"Windows Phone"!=e},getHasLiedBrowser:function(){var e,t,n=navigator.userAgent.toLowerCase(),r=navigator.productSub;if(("Chrome"==(e=0<=n.indexOf("firefox")?"Firefox":0<=n.indexOf("opera")||0<=n.indexOf("opr")?"Opera":0<=n.indexOf("chrome")?"Chrome":0<=n.indexOf("safari")?"Safari":0<=n.indexOf("trident")?"Internet Explorer":"Other")||"Safari"==e||"Opera"==e)&&"20030107"!==r)return!0;if(37===(n=eval.toString().length)&&"Safari"!=e&&"Firefox"!=e&&"Other"!=e)return!0;if(39===n&&"Internet Explorer"!=e&&"Other"!=e)return!0;if(33===n&&"Chrome"!=e&&"Opera"!=e&&"Other"!=e)return!0;try{throw"a"}catch(e){try{e.toSource(),t=!0}catch(e){t=!1}}return!(!t||"Firefox"==e||"Other"==e)},isCanvasSupported:function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},isWebGlSupported:function(){var e;return!!this.isCanvasSupported()&&(e=this.getWebglCanvas(),!!window.WebGLRenderingContext)&&!!e},isIE:function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},hasSwfObjectLoaded:function(){return void 0!==window.swfobject},hasMinFlashInstalled:function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},addFlashDivNode:function(){var e=document.createElement("div");e.setAttribute("id",this.options.swfContainerId),document.body.appendChild(e)},loadSwfAndDetectFonts:function(e){var t="___fp_swf_loaded",n=(window[t]=function(t){e(t)},this.options.swfContainerId);this.addFlashDivNode(),t={onReady:t};window.swfobject.embedSWF(this.options.swfPath,n,"1","1","9.0.0",!1,t,{allowScriptAccess:"always",menu:"false"},{})},getWebglCanvas:function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||null},each:function(e,t,n){if(null!==e)if(this.nativeForEach&&e.forEach===this.nativeForEach)e.forEach(t,n);else if(e.length===+e.length){for(var r=0,o=e.length;r<o;r++)if(t.call(n,e[r],r,e)==={})return}else for(var i in e)if(e.hasOwnProperty(i)&&t.call(n,e[i],i,e)==={})return},map:function(e,t,n){var r=[];return null==e?r:this.nativeMap&&e.map===this.nativeMap?e.map(t,n):(this.each(e,(function(e,o,i){r[r.length]=t.call(n,e,o,i)})),r)},x64Add:function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},x64Multiply:function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},x64Rotl:function(e,t){return 32==(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:[e[1]<<(t-=32)|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t]},x64LeftShift:function(e,t){return 0==(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},x64Xor:function(e,t){return[e[0]^t[0],e[1]^t[1]]},x64Fmix:function(e){return e=this.x64Xor(e,[0,e[0]>>>1]),e=this.x64Multiply(e,[4283543511,3981806797]),e=this.x64Xor(e,[0,e[0]>>>1]),e=this.x64Multiply(e,[3301882366,444984403]),this.x64Xor(e,[0,e[0]>>>1])},x64hash128:function(e,t){for(var n=(e=e||"").length%16,r=e.length-n,o=[0,t=t||0],i=[0,t],a=[0,0],s=[0,0],u=[2277735313,289559509],l=[1291169091,658871167],c=0;c<r;c+=16)a=[255&e.charCodeAt(c+4)|(255&e.charCodeAt(c+5))<<8|(255&e.charCodeAt(c+6))<<16|(255&e.charCodeAt(c+7))<<24,255&e.charCodeAt(c)|(255&e.charCodeAt(c+1))<<8|(255&e.charCodeAt(c+2))<<16|(255&e.charCodeAt(c+3))<<24],s=[255&e.charCodeAt(c+12)|(255&e.charCodeAt(c+13))<<8|(255&e.charCodeAt(c+14))<<16|(255&e.charCodeAt(c+15))<<24,255&e.charCodeAt(c+8)|(255&e.charCodeAt(c+9))<<8|(255&e.charCodeAt(c+10))<<16|(255&e.charCodeAt(c+11))<<24],a=this.x64Multiply(a,u),a=this.x64Rotl(a,31),a=this.x64Multiply(a,l),o=this.x64Xor(o,a),o=this.x64Rotl(o,27),o=this.x64Add(o,i),o=this.x64Add(this.x64Multiply(o,[0,5]),[0,1390208809]),s=this.x64Multiply(s,l),s=this.x64Rotl(s,33),s=this.x64Multiply(s,u),i=this.x64Xor(i,s),i=this.x64Rotl(i,31),i=this.x64Add(i,o),i=this.x64Add(this.x64Multiply(i,[0,5]),[0,944331445]);switch(a=[0,0],s=[0,0],n){case 15:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(c+14)],48));case 14:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(c+13)],40));case 13:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(c+12)],32));case 12:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(c+11)],24));case 11:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(c+10)],16));case 10:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(c+9)],8));case 9:s=this.x64Xor(s,[0,e.charCodeAt(c+8)]),s=this.x64Multiply(s,l),s=this.x64Rotl(s,33),s=this.x64Multiply(s,u),i=this.x64Xor(i,s);case 8:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+7)],56));case 7:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+6)],48));case 6:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+5)],40));case 5:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+4)],32));case 4:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+3)],24));case 3:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+2)],16));case 2:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+1)],8));case 1:a=this.x64Xor(a,[0,e.charCodeAt(c)]),a=this.x64Multiply(a,u),a=this.x64Rotl(a,31),a=this.x64Multiply(a,l),o=this.x64Xor(o,a)}return o=this.x64Xor(o,[0,e.length]),i=this.x64Xor(i,[0,e.length]),o=this.x64Add(o,i),i=this.x64Add(i,o),o=this.x64Fmix(o),i=this.x64Fmix(i),o=this.x64Add(o,i),i=this.x64Add(i,o),("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)+("00000000"+(i[0]>>>0).toString(16)).slice(-8)+("00000000"+(i[1]>>>0).toString(16)).slice(-8)}},e.VERSION="1.8.0",e}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogoControl=void 0,n(120);var r=n(35);function o(){}o.prototype.onAdd=function(e){return this._container=(0,r.domCreate)("div","maplibregl-ctrl mapxus-ctrl-logo",e.getContainer()),(e=(0,r.domCreate)("a","mapxus-logo",this._container)).target="_blank",e.href="http://www.mapxus.com/",e.setAttribute("aria-label","Mapxus logo"),e.setAttribute("rel","noopener"),this._container.appendChild(e),this._container},o.prototype.onRemove=function(){(0,r.domRemove)(this._container)},o.prototype.getDefaultPosition=function(){return"bottom-left"},t.LogoControl=o},function(e,t,n){var r=n(121),o=("string"==typeof r&&(r=[[e.i,r,""]]),{});o.transform=void 0,n(34)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(61);(e.exports=n(33)(!1)).push([e.i,".mapxus-logo {\n width: 106.4px;\n height: 28.4px;\n margin: 0 0 -3px 3px;\n display: block;\n background-repeat: no-repeat;\n cursor: pointer;\n background-image: url("+r(n(122))+");\n background-size: contain;\n}",""])},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATAAAABRCAYAAABVJPq4AAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABzbSURBVHgB7Z0HnBfVtcfPLrANdqVlETCWZU0MVqyAaDAosHR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BRFURRFURRFURRFURRFURRFURRFURRFURRFURRFURRFURRFURRFURRFSQX/BO3KWsJPj46IAAAAAElFTkSuQmCC"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AttributionControl=void 0,n(124);var r=n(35);function o(e){this._theme=e.theme||"default"}o.prototype.onAdd=function(e){return this._container=(0,r.domCreate)("div","maplibregl-ctrl mapxus-ctrl-attribution",e.getContainer()),this._anchor=(0,r.domCreate)("a","mapxus-attribution",this._container),this._anchor.target="_blank",this._setCopyrightInfo(this._theme),this._anchor.setAttribute("aria-label","Mapxus attribution"),this._anchor.setAttribute("rel","noopener"),this._container.appendChild(this._anchor),this._container},o.prototype.onRemove=function(){(0,r.domRemove)(this._container)},o.prototype.getDefaultPosition=function(){return"bottom-right"},o.prototype.changeTheme=function(e){this._setCopyrightInfo(e)},o.prototype._setCopyrightInfo=function(e){this._anchor.innerText="landsD"===e?"© The Government of the Hong Kong SAR":"© OpenStreetMap contributors",this._anchor.href="landsD"===e?"https://www.map.gov.hk/gm/":"https://www.openstreetmap.org/copyright/"},t.AttributionControl=o},function(e,t,n){var r=n(125),o=("string"==typeof r&&(r=[[e.i,r,""]]),{});o.transform=void 0,n(34)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(33)(!1)).push([e.i,".mapxus-ctrl-attribution {\n margin: 0 10px 5px 0 !important;\n}\n.mapxus-attribution {\n text-decoration: none;\n color: #404040;\n}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DistanceSearchType=void 0,(t=t.DistanceSearchType||(t.DistanceSearchType={})).POINT="Point",t.POLYGON="Polygon"},function(e,t,n){"use strict";function r(e){return/en/.test(e)}function o(e){return"zh-Hans"===e||"zh"===e||"zh-CN"===e}function i(e){return"zh-Hant"===e||"zh-TW"===e||"zh-HK"===e}Object.defineProperty(t,"__esModule",{value:!0}),t.isTraditionalChinese=t.isSimplifiedChinese=t.isEnglish=t.isConnectorPoi=t.isToiletPoi=t.getTextFieldCoalesceList=void 0,t.getTextFieldCoalesceList=function(e,t){return e.map((function(e){var n=r(t)?["coalesce",["get","name:en"],["get","name"]]:o(t)?["coalesce",["get","name:zh-Hans"],["get","name"]]:i(t)?["coalesce",["get","name:zh-Hant"],["get","name"]]:"ja"===t?["coalesce",["get","name:ja"],["get","name"]]:"ko"===t?["coalesce",["get","name:ko"],["get","name"]]:["coalesce",["get","name"]];return{layerId:e.id,coalesce:n}}))},t.isToiletPoi=function(e){return-1<e.id.indexOf("mapxus-poi-restroom")},t.isConnectorPoi=function(e){var t=-1<e.id.indexOf("mapxus-poi-stairs"),n=-1<e.id.indexOf("mapxus-poi-escalator"),r=-1<e.id.indexOf("mapxus-poi-elevator");e=-1<e.id.indexOf("mapxus-poi-ramp");return t||n||r||e},t.isEnglish=r,t.isSimplifiedChinese=o,t.isTraditionalChinese=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeType=void 0,(t=t.ThemeType||(t.ThemeType={})).CHRISTMAS="christmas",t.HALLOWEEN="halloween",t.MAPPY_BEE="mappyBee",t.MAPXUS="mapxus",t.LANDS_D="landsD",t.COMMON="common",t.MAPXUS_V2="mapxus_v2"},function(e,t,n){"use strict";var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||((r=r||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},u=(Object.defineProperty(t,"__esModule",{value:!0}),t.Marker=void 0,n(29)),l=s(n(32));i(c,o=u.Evented),c.isMultiArray=function(e){for(var t=0,n=e;t<n.length;t++)if(n[t]instanceof Array)return!0;return!1},c.prototype.addTo=function(e){return this._maplibreMap=e.getMap(),this},c.prototype.onEventListener=function(e,t){this._maplibreMap.on(e,this._layerId,t)},c.prototype.create=function(e,t,n){var r=this;if(Boolean(this._coordinates))(t||null)===this._floor&&(n||null)===this._buildingId&&(c.isMultiArray(this._coordinates)?this._coordinates=c.isMultiArray(e)?a(a([],this._coordinates,!0),e,!0):a(a([],this._coordinates,!0),[e],!1):this._coordinates=c.isMultiArray(e)?a(a([],e,!0),[this._coordinates],!1):[e,this._coordinates],this._createData());else{if(this._coordinates=e,this._floor=t||null,this._buildingId=n||null,this._maplibreMap.hasImage(this._imageName))return this._createData(),this;this._loadImage(this._imageUrl,(function(e){r._maplibreMap.addImage(r._imageName,e),r._createData()}))}return this},c.prototype.remove=function(){return this._coordinates=null,this._floor=null,this._buildingId=null,this._maplibreMap.getLayer(this._layerId)&&(this._maplibreMap.removeLayer(this._layerId),this._maplibreMap.removeSource(this._sourceId)),this},c.prototype.switch=function(e,t){return this._maplibreMap.getLayer(this._layerId)&&this._maplibreMap.setFilter(this._layerId,["any",["all",["==","floor",e],["==","buildingId",t]],["==","buildingId",""],["==","floor",""]]),this},Object.defineProperty(c.prototype,"layerId",{get:function(){return this._layerId},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"sourceId",{get:function(){return this._sourceId},enumerable:!1,configurable:!0}),c.prototype.setImageUrl=function(e){return this._imageUrl=e,this._imageName="".concat(this._imageName,"_").concat(e),this},c.prototype.setImageScale=function(e){return this._imageScale=e,this},c.prototype._bindEvents=function(){var e=this;this._map.onFloorChangeListener((function(t){var n;e._setFilter((null==(n=null==(n=t.feature)?void 0:n.properties)?void 0:n.id)||"",(null==t?void 0:t.floor)||"")})),this._map.onBuildingChangeListener((function(){var t;e._setFilter((null==(t=e._map.building)?void 0:t.id)||"",e._map.currentFloor||"")}))},c.prototype._createData=function(){this._addSource()._addLayer()},c.prototype._loadImage=function(e,t){this._maplibreMap.loadImage(e,(function(e,n){if(e)throw e;t(n)}))},c.prototype._addSource=function(){var e=this._maplibreMap.getSource(this._sourceId),t={type:"Feature",geometry:{type:c.isMultiArray(this._coordinates)?"MultiPoint":"Point",coordinates:this._coordinates},properties:{floor:"".concat(this._floor),buildingId:"".concat(this._buildingId)}};return Boolean(e)?e.setData(t):this._maplibreMap.addSource(this._sourceId,{type:"geojson",data:t}),this},c.prototype._addLayer=function(){return this._maplibreMap.getLayer(this._layerId)||this._maplibreMap.addLayer({id:this._layerId,type:"symbol",source:this._sourceId,layout:{"icon-image":this._imageName,"icon-size":this._imageScale}}),this},c.prototype._setFilter=function(e,t){this._maplibreMap.getLayer(this._layerId)&&this._maplibreMap.setFilter(this._layerId,["any",["all",["==","floor",t],["==","buildingId",e]],["==","buildingId","null"],["==","floor","null"]])},s=c;function c(e){var t=o.call(this)||this,n=(e=(e&&(t._map=e,t._maplibreMap=e.getMap()),t._bindEvents(),"mapxus_marker"),(0,l.default)());return t._sourceId="".concat(e,"_source_").concat(n),t._layerId="".concat(e,"_layer_").concat(n),t._imageName="poi-01",t._imageUrl="https://map-service.mapxus.com/bssww/assets/origin-marker.png",t._imageScale=.65,t}t.Marker=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RouteService=void 0;var r=n(31),o=n(131);function i(){this._api="/api/v1/route",this._request=new r.Request}i.prototype.search=function(e,t,n,r,i,a,s,u,l){if(void 0===s&&(s=o.WayFindingVehicleType.FOOT),!e.length||!t.length)throw new Error("Coord cannot be empty.");if(2!==e.length||2!==t.length)throw new Error("Coord cannot less than 2.");return e=["".concat(this._api,"?fromLon=").concat(e[0]),"fromLat=".concat(e[1]),"toLon=".concat(t[0]),"toLat=".concat(t[1]),"fromBuilding=".concat(i),"toBuilding=".concat(a),"fromFloor=".concat(n),"toFloor=".concat(r),"vehicle=".concat(s)],u&&e.push("locale=".concat(u)),l&&e.push("toDoor=".concat(l)),this._request.get(e.join("&"))},t.RouteService=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WayFindingVehicleType=void 0,(t=t.WayFindingVehicleType||(t.WayFindingVehicleType={})).FOOT="foot",t.WHEELCHAIR="wheelchair",t.ESCALATOR="escalator"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="5.3.0-jp"},function(e,t,n){"use strict";n.r(t);var r=n(2),o=n(53),i=n(51);function a(e,t){return!(null==e||!e.length)&&-1<Object(i.a)(e,t,0)}function s(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}var u=n(44),l=n(21);var c=n(26),d=l.a&&1/Object(c.a)(new l.a([,-0]))[1]==1/0?function(e){return new l.a(e)}:function(){};t.default=function(e,t){return e&&e.length?function(e,t,n){var r=-1,i=a,l=e.length,f=!0,h=[],p=h;if(n)f=!1,i=s;else if(200<=l){var g=t?null:d(e);if(g)return Object(c.a)(g);f=!1,i=u.a,p=new o.a}else p=t?[]:h;e:for(;++r<l;){var y=e[r],m=t?t(y):y;y=n||0!==y?y:0;if(f&&m==m){for(var v=p.length;v--;)if(p[v]===m)continue e;t&&p.push(m),h.push(y)}else i(p,m,n)||(p!==h&&p.push(m),h.push(y))}return h}(e,Object(r.a)(t,2)):[]}},function(e,t,n){"use strict";function r(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}n.r(t);var o=n(13);function i(e,t){var n=!0;return Object(o.a)(e,(function(e,r,o){return n=!!t(e,r,o)})),n}var a=n(2),s=n(0),u=n(17),l=n(4),c=n(16),d=n(3);t.default=function(e,t,n){var o=Object(s.default)(e)?r:i;return n&&function(e,t,n){var r;return!!Object(d.a)(n)&&!!("number"==(r=typeof t)?Object(l.a)(n)&&Object(c.a)(t,n.length):"string"==r&&t in n)&&Object(u.a)(n[t],e)}(e,t,n)&&(t=void 0),o(e,Object(a.a)(t,3))}},function(e,t,n){"use strict";n.r(t);var r=n(56);function o(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}var i=n(13);function a(e,t,n,r){return Object(i.a)(e,(function(e,o,i){t(r,e,n(e),i)})),r}var s=n(2),u=n(0),l=(n=function(e,t){return function(n,r){var i=Object(u.default)(n)?o:a,l=t?t():{};return i(n,e,Object(s.a)(r,2),l)}},Object.prototype.hasOwnProperty);n=n((function(e,t,n){l.call(e,n)?e[n].push(t):Object(r.a)(e,n,[t])}));t.default=n},function(e,t,n){"use strict";n.r(t);var r=n(11),o=n(2);function i(e,t){return e<t}t.default=function(e,t){return e&&e.length?function(e,t,n){for(var o=-1,i=e.length;++o<i;){var a,s,u=e[o],l=t(u);null!=l&&(void 0===a?l==l&&!Object(r.a)(l):n(l,a))&&(a=l,s=u)}return s}(e,Object(o.a)(t,2),i):void 0}}],n={},e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(e){return t[e]}.bind(null,o));return r},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(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e.p="",e(e.s=67);function e(r){var o;return(n[r]||(o=n[r]={i:r,l:!1,exports:{}},t[r].call(o.exports,o,o.exports,e),o.l=!0,o)).exports}var t,n}));
8
+ e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},function(e,t,n){"use strict";var r=n(60),o=n(8),i=n(100),a=n(101);function s(e){this.defaults=e,this.interceptors={request:new i,response:new i}}s.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),(e=o.merge(r,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],(function(e){s.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}})),o.forEach(["post","put","patch"],(function(e){s.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}})),e.exports=s},function(e,t){var n,r;e=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return(n=setTimeout)(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}var s,u=[],l=!1,c=-1;function d(){l&&s&&(l=!1,s.length?u=s.concat(u):c=-1,u.length)&&f()}function f(){if(!l){for(var e=a(d),t=(l=!0,u.length);t;){for(s=u,u=[];++c<t;)s&&s[c].run();c=-1,t=u.length}s=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return(r=clearTimeout)(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}e.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||l||a(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=p,e.addListener=p,e.once=p,e.off=p,e.removeListener=p,e.removeAllListeners=p,e.emit=p,e.prependListener=p,e.prependOnceListener=p,e.listeners=function(e){return[]},e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(8);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(72);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},function(e,t,n){"use strict";var r=n(8);function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){var i;return t&&(n=n?n(t):r.isURLSearchParams(t)?t.toString():(i=[],r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))})))})),i.join("&")))&&(e+=(-1===e.indexOf("?")?"?":"&")+n),e}},function(e,t,n){"use strict";var r=n(8),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i={};return e&&r.forEach(e.split("\n"),(function(e){n=e.indexOf(":"),t=r.trim(e.substr(0,n)).toLowerCase(),n=r.trim(e.substr(n+1)),!t||i[t]&&0<=o.indexOf(t)||(i[t]="set-cookie"===t?(i[t]||[]).concat([n]):i[t]?i[t]+", "+n:n)})),i}},function(e,t,n){"use strict";var r,o,i,a=n(8);function s(e){return o&&(i.setAttribute("href",e),e=i.href),i.setAttribute("href",e),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}e.exports=a.isStandardBrowserEnv()?(o=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),r=s(window.location.href),function(e){return(e=a.isString(e)?s(e):e).protocol===r.protocol&&e.host===r.host}):function(){return!0}},function(e,t,n){"use strict";var r=n(8);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){return(e=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)")))?decodeURIComponent(e[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(8);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";var r=n(8),o=n(102),i=n(73),a=n(60),s=n(103),u=n(104);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return l(e),e.baseURL&&!s(e.url)&&(e.url=u(e.baseURL,e.url)),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(8);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(74);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");this.promise=new Promise((function(e){t=e}));var t,n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t){var n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.r(t),t.default=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(110),o=("string"==typeof r&&(r=[[e.i,r,""]]),{});o.transform=void 0,n(34)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(61);(e.exports=n(33)(!1)).push([e.i,".maplibregl-ctrl-floors.hide,\n.mapxus-floor-selector-layout.hide{\n display: none;\n}\n.mapxus-floor-selector-layout {\n -moz-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.5);\n -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.5);\n box-shadow: 0 1px 1px 0 rgba(0,0,0,0.5);\n width: 30px;\n visibility: visible;\n}\n.mapxus-floor-selector-outer {\n position: relative;\n width: 30px;\n z-index: 100;\n overflow: hidden;\n}\n.mapxus-floor-selector-inner {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: -20px;\n overflow-y: auto;\n overflow-x: hidden\n}\n.mapxus-floor-selector-inner > .floor {\n outline: none;\n font-family: Helvetica, Arial, sans-serif;\n cursor: pointer;\n width: 30px;\n border: 0;\n background: #fff;\n font-weight: bold;\n font-size: 12px;\n padding: inherit;\n height: 34px;\n overflow-x: auto;\n overflow-y: hidden\n}\n.mapxus-floor-selector-inner > .floor:not(:disabled):hover {\n background-color: rgba(0,0,0,.05) !important;\n}\n.mapxus-floor-selector-inner > .floor::-webkit-scrollbar {\n height: 4px;\n}\n.mapxus-floor-selector-inner > .floor::-webkit-scrollbar-track {\n background-color: white;\n -webkit-border-radius: 2em;\n -moz-border-radius: 2em;\n border-radius:2em;\n}\n.mapxus-floor-selector-inner > .floor::-webkit-scrollbar-thumb {\n background-color: rgb(83, 177, 207);\n -webkit-border-radius: 2em;\n -moz-border-radius: 2em;\n border-radius:2em;\n}\n.mapxus-floor-selector-up {\n margin-top: -4px;\n z-index: 102;\n position: absolute;\n width: 30px;\n height: 26px;\n cursor: pointer;\n background-size: 38px;\n background-position-x: center;\n background-repeat: no-repeat;\n background-image:url("+r(n(111))+");\n}\n.mapxus-floor-selector-up.hide {\n visibility: hidden;\n}\n.mapxus-floor-selector-down {\n z-index: 101;\n position: absolute;\n width: 30px;\n height: 26px;\n cursor: pointer;\n background-size: 38px;\n background-position-x: center;\n background-repeat: no-repeat;\n background-image:url("+r(n(112))+");\n}\n.mapxus-floor-selector-down.hide {\n visibility: hidden;\n}\n",""])},function(e,t){e.exports="\"data:image/svg+xml,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='41.409260218957115' width='51.409260218957115'%3E %3Cdefs%3E %3Crect id='rect-0' opacity='1' x='4.704630109478558' y='4.704630109478558' width='42' height='32'/%3E %3ClinearGradient id='linearGradient-1' x1='0.5' y1='0' x2='0.5' y2='1'%3E %3Cstop offset='0' stop-color='rgb(255,255,255)' stop-opacity='0'/%3E %3Cstop offset='0.41' stop-color='rgb(255,255,255)' stop-opacity='0.8'/%3E %3Cstop offset='1' stop-color='rgb(200,200,200)' stop-opacity='1'/%3E %3C/linearGradient%3E %3Cpath id='path-2' opacity='1' fill-rule='evenodd' d='M18.02605868090714,23.704630109478558 L25.70463010947857,30.704630109478558 L33.38320153805,23.704630109478558 '/%3E %3C/defs%3E %3Cg transform='translate(25.704630109478558, 20.704630109478558) rotate(180.00006436155007) translate(-25.704630109478558, -20.704630109478558)' opacity='1'%3E %3Cg opacity='1'%3E %3Cuse xlink:href='%23rect-0' fill='url(%23linearGradient-1)'/%3E %3C/g%3E %3Cg opacity='1'%3E %3Cuse xlink:href='%23path-2' fill-opacity='0' stroke='rgb(187,187,189)' stroke-opacity='1' stroke-width='2'/%3E %3C/g%3E %3C/g%3E %3C/svg%3E\""},function(e,t){e.exports="\"data:image/svg+xml,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='41.409260218957115' width='51.409260218957115'%3E %3Cdefs%3E %3Crect id='rect-0' opacity='1' x='4.704630109478558' y='4.704630109478558' width='42' height='32'/%3E %3ClinearGradient id='linearGradient-1' x1='0.5' y1='0' x2='0.5' y2='1'%3E %3Cstop offset='0' stop-color='rgb(255,255,255)' stop-opacity='0'/%3E %3Cstop offset='0.41' stop-color='rgb(255,255,255)' stop-opacity='0.8'/%3E %3Cstop offset='1' stop-color='rgb(200,200,200)' stop-opacity='1'/%3E %3C/linearGradient%3E %3Cpath id='path-2' opacity='1' fill-rule='evenodd' d='M18.02605868090714,23.704630109478558 L25.70463010947857,30.704630109478558 L33.38320153805,23.704630109478558 '/%3E %3C/defs%3E %3Cg opacity='1'%3E %3Cg opacity='1'%3E %3Cuse xlink:href='%23rect-0' fill='url(%23linearGradient-1)'/%3E %3C/g%3E %3Cg opacity='1'%3E %3Cuse xlink:href='%23path-2' fill-opacity='0' stroke='rgb(187,187,189)' stroke-opacity='1' stroke-width='2'/%3E %3C/g%3E %3C/g%3E %3C/svg%3E\""},function(e,t){e.exports=function(e){var t,n,r="undefined"!=typeof window&&window.location;if(r)return e&&"string"==typeof e?(t=r.protocol+"//"+r.host,n=t+r.pathname.replace(/\/[^\/]*$/,"/"),e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,r){return r=r.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t})),/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r)?e:(e=0===r.indexOf("//")?r:0===r.indexOf("/")?t+r:n+r.replace(/^\.\//,""),"url("+JSON.stringify(e)+")")}))):e;throw new Error("fixUrls requires window.location")}},function(e,t,n){var r=n(115),o=("string"==typeof r&&(r=[[e.i,r,""]]),{});o.transform=void 0,n(34)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(61);(e.exports=n(33)(!1)).push([e.i,".maplibregl-ctrl-building-filter.hide {\n display: none;\n}\n.mapxus-building-filter-icon {\n width: 30px;\n height: 30px;\n background-image: url("+r(n(116))+");\n background-size: 30px;\n background-color: white;\n border-radius: 4px;\n -moz-box-shadow: 0 0 2px rgba(0,0,0,0.1);\n -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.1);\n box-shadow: 0 0 0 2px rgba(0,0,0,0.1);\n cursor: pointer;\n}\n.mapxus-building-name-layout {\n width: 125px;\n right: 45px;\n margin-top: -30px;\n position: absolute;\n overflow: hidden;\n}\n.mapxus-building-name-list {\n width: 140px;\n position: absolute;\n overflow-y: auto;\n}\n.mapxus-building-name {\n width: 115px;\n color: white;\n background: red;\n border-radius: 3px;\n padding: 2px 4px;\n margin: 2px;\n cursor: pointer;\n word-wrap: break-word;\n}\n.mapxus-building-name.active {\n background: cornflowerblue;\n}\n.mapxus-building-name:hover {\n background: rgba(0,0,0,0.5);\n}\n",""])},function(e,t){e.exports="\"data:image/svg+xml,%3C?xml version='1.0' encoding='utf-8'?%3E %3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E %3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0' y='0' width='15' height='15' viewBox='0, 0, 15, 15'%3E %3Cg%3E %3Cpath d='M13.639 4H12V1.361A.361.361 0 0 0 11.639 1h-.278a.361.361 0 0 0-.361.361V4H9.361A.361.361 0 0 0 9 4.361V10H5.363a.363.363 0 0 0-.363.363v3.275a.363.363 0 0 0 .363.362h8.276a.361.361 0 0 0 .361-.361V4.361A.361.361 0 0 0 13.639 4zM7 12H6v-1h1zm2 0H8v-1h1zm2 0h-1v-1h1zm0-2h-1V9h1zm0-2h-1V7h1zm0-2h-1V5h1zm2 6h-1v-1h1zm0-2h-1V9h1zm0-2h-1V7h1zm0-2h-1V5h1zM8 1.361A.361.361 0 0 0 7.639 1H5.361A.361.361 0 0 0 5 1.361V3H3.361A.361.361 0 0 0 3 3.361V4H1.361A.361.361 0 0 0 1 4.361v9.278a.361.361 0 0 0 .361.361H4V9h4zM3 12H2v-1h1zm0-2H2V9h1zm0-2H2V7h1zm0-2H2V5h1zm2 2H4V7h1zm0-2H4V5h1zm2 2H6V7h1zm0-2H6V5h1zm0-2H6V3h1z'%3E%3C/path%3E %3C/g%3E %3C/svg%3E\""},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.outdoorConfig=void 0;var r=n(79);t.outdoorConfig=function(){return{url:r.mapxusTheme_v2}}},function(e,t,n){!function(t,n){"use strict";"function"==typeof window.define&&window.define.amd?window.define(n):e.exports?e.exports=n():t.exports?t.exports=n():t.Fingerprint2=n()}(this,(function(){"use strict";function e(t){if(!(this instanceof e))return new e(t);this.options=this.extend(t,{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",detectScreenOrientation:!0,sortPluginsFor:[/palemoon/i],userDefinedFonts:[],excludeDoNotTrack:!0,excludePixelRatio:!0}),this.nativeForEach=Array.prototype.forEach,this.nativeMap=Array.prototype.map}return e.prototype={extend:function(e,t){if(null!=e)for(var n in e)null!=e[n]&&t[n]!==e[n]&&(t[n]=e[n]);return t},get:function(e){var t=this,n={data:[],addPreprocessedComponent:function(e){var r=e.value;"function"==typeof t.options.preprocessor&&(r=t.options.preprocessor(e.key,r)),n.data.push({key:e.key,value:r})}};n=this.userAgentKey(n);n=this.languageKey(n),n=this.colorDepthKey(n),n=this.deviceMemoryKey(n),n=this.pixelRatioKey(n),n=this.hardwareConcurrencyKey(n),n=this.screenResolutionKey(n),n=this.availableScreenResolutionKey(n),n=this.timezoneOffsetKey(n),n=this.sessionStorageKey(n),n=this.localStorageKey(n),n=this.indexedDbKey(n),n=this.addBehaviorKey(n),n=this.openDatabaseKey(n),n=this.cpuClassKey(n),n=this.platformKey(n),n=this.doNotTrackKey(n),n=this.pluginsKey(n),n=this.canvasKey(n),n=this.webglKey(n),n=this.webglVendorAndRendererKey(n),n=this.adBlockKey(n),n=this.hasLiedLanguagesKey(n),n=this.hasLiedResolutionKey(n),n=this.hasLiedOsKey(n),n=this.hasLiedBrowserKey(n),n=this.touchSupportKey(n),n=this.customEntropyFunction(n),this.fontsKey(n,(function(n){t.audioKey(n,(function(n){var r=[],o=(t.each(n.data,(function(e){(e=e.value)&&"function"==typeof e.join?r.push(e.join(";")):r.push(e)})),t.x64hash128(r.join("~~~"),31));return e(o,n.data)}))}))},audioKey:function(e,t){var n,r,o,i;return this.options.excludeAudioFP?t(e):null==(n=window.OfflineAudioContext||window.webkitOfflineAudioContext)?(e.addPreprocessedComponent({key:"audio_fp",value:null}),t(e)):(r=new n(1,44100,44100),(o=r.createOscillator()).type="triangle",o.frequency.setValueAtTime(1e4,r.currentTime),i=r.createDynamicsCompressor(),this.each([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==i[e[0]]&&"function"==typeof i[e[0]].setValueAtTime&&i[e[0]].setValueAtTime(e[1],r.currentTime)})),r.oncomplete=function(n){return n=n.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),o.disconnect(),i.disconnect(),e.addPreprocessedComponent({key:"audio_fp",value:n}),t(e)},o.connect(i),i.connect(r.destination),o.start(0),void r.startRendering())},customEntropyFunction:function(e){return"function"==typeof this.options.customFunction&&e.addPreprocessedComponent({key:"custom",value:this.options.customFunction()}),e},userAgentKey:function(e){return this.options.excludeUserAgent||e.addPreprocessedComponent({key:"user_agent",value:this.getUserAgent()}),e},getUserAgent:function(){return navigator.userAgent},languageKey:function(e){return this.options.excludeLanguage||e.addPreprocessedComponent({key:"language",value:navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||""}),e},colorDepthKey:function(e){return this.options.excludeColorDepth||e.addPreprocessedComponent({key:"color_depth",value:window.screen.colorDepth||-1}),e},deviceMemoryKey:function(e){return this.options.excludeDeviceMemory||e.addPreprocessedComponent({key:"device_memory",value:this.getDeviceMemory()}),e},getDeviceMemory:function(){return navigator.deviceMemory||-1},pixelRatioKey:function(e){return this.options.excludePixelRatio||e.addPreprocessedComponent({key:"pixel_ratio",value:this.getPixelRatio()}),e},getPixelRatio:function(){return window.devicePixelRatio||""},screenResolutionKey:function(e){return this.options.excludeScreenResolution?e:this.getScreenResolution(e)},getScreenResolution:function(e){var t=this.options.detectScreenOrientation&&window.screen.height>window.screen.width?[window.screen.height,window.screen.width]:[window.screen.width,window.screen.height];return e.addPreprocessedComponent({key:"resolution",value:t}),e},availableScreenResolutionKey:function(e){return this.options.excludeAvailableScreenResolution?e:this.getAvailableScreenResolution(e)},getAvailableScreenResolution:function(e){var t;return void 0!==(t=window.screen.availWidth&&window.screen.availHeight?!this.options.detectScreenOrientation||window.screen.availHeight>window.screen.availWidth?[window.screen.availHeight,window.screen.availWidth]:[window.screen.availWidth,window.screen.availHeight]:t)&&e.addPreprocessedComponent({key:"available_resolution",value:t}),e},timezoneOffsetKey:function(e){return this.options.excludeTimezoneOffset||e.addPreprocessedComponent({key:"timezone_offset",value:(new Date).getTimezoneOffset()}),e},sessionStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasSessionStorage()&&e.addPreprocessedComponent({key:"session_storage",value:1}),e},localStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasLocalStorage()&&e.addPreprocessedComponent({key:"local_storage",value:1}),e},indexedDbKey:function(e){return!this.options.excludeIndexedDB&&this.hasIndexedDB()&&e.addPreprocessedComponent({key:"indexed_db",value:1}),e},addBehaviorKey:function(e){return!this.options.excludeAddBehavior&&document.body&&document.body.addBehavior&&e.addPreprocessedComponent({key:"add_behavior",value:1}),e},openDatabaseKey:function(e){return!this.options.excludeOpenDatabase&&window.openDatabase&&e.addPreprocessedComponent({key:"open_database",value:1}),e},cpuClassKey:function(e){return this.options.excludeCpuClass||e.addPreprocessedComponent({key:"cpu_class",value:this.getNavigatorCpuClass()}),e},platformKey:function(e){return this.options.excludePlatform||e.addPreprocessedComponent({key:"navigator_platform",value:this.getNavigatorPlatform()}),e},doNotTrackKey:function(e){return this.options.excludeDoNotTrack||e.addPreprocessedComponent({key:"do_not_track",value:this.getDoNotTrack()}),e},canvasKey:function(e){return!this.options.excludeCanvas&&this.isCanvasSupported()&&e.addPreprocessedComponent({key:"canvas",value:this.getCanvasFp()}),e},webglKey:function(e){return!this.options.excludeWebGL&&this.isWebGlSupported()&&e.addPreprocessedComponent({key:"webgl",value:this.getWebglFp()}),e},webglVendorAndRendererKey:function(e){return!this.options.excludeWebGLVendorAndRenderer&&this.isWebGlSupported()&&e.addPreprocessedComponent({key:"webgl_vendor",value:this.getWebglVendorAndRenderer()}),e},adBlockKey:function(e){return this.options.excludeAdBlock||e.addPreprocessedComponent({key:"adblock",value:this.getAdBlock()}),e},hasLiedLanguagesKey:function(e){return this.options.excludeHasLiedLanguages||e.addPreprocessedComponent({key:"has_lied_languages",value:this.getHasLiedLanguages()}),e},hasLiedResolutionKey:function(e){return this.options.excludeHasLiedResolution||e.addPreprocessedComponent({key:"has_lied_resolution",value:this.getHasLiedResolution()}),e},hasLiedOsKey:function(e){return this.options.excludeHasLiedOs||e.addPreprocessedComponent({key:"has_lied_os",value:this.getHasLiedOs()}),e},hasLiedBrowserKey:function(e){return this.options.excludeHasLiedBrowser||e.addPreprocessedComponent({key:"has_lied_browser",value:this.getHasLiedBrowser()}),e},fontsKey:function(e,t){return this.options.excludeJsFonts?this.flashFontsKey(e,t):this.jsFontsKey(e,t)},flashFontsKey:function(e,t){return!this.options.excludeFlashFonts&&this.hasSwfObjectLoaded()&&this.hasMinFlashInstalled()&&void 0!==this.options.swfPath?void this.loadSwfAndDetectFonts((function(n){e.addPreprocessedComponent({key:"swf_fonts",value:n.join(";")}),t(e)})):t(e)},jsFontsKey:function(e,t){var n=this;return setTimeout((function(){function r(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e}var o=["monospace","sans-serif","serif"],i=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"],a=(i=(i=(i=n.options.extendedJsFonts?i.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"]):i).concat(n.options.userDefinedFonts)).filter((function(e,t){return i.indexOf(e)===t})),document.getElementsByTagName("body")[0]),s=document.createElement("div"),u=document.createElement("div"),l={},c={},d=function(){for(var e=[],t=0,n=o.length;t<n;t++){var i=r();i.style.fontFamily=o[t],s.appendChild(i),e.push(i)}return e}();a.appendChild(s);for(var f=0,h=o.length;f<h;f++)l[o[f]]=d[f].offsetWidth,c[o[f]]=d[f].offsetHeight;var p=function(){for(var e,t,n={},a=0,s=i.length;a<s;a++){for(var l=[],c=0,d=o.length;c<d;c++){f=i[a],e=o[c],t=void 0,(t=r()).style.fontFamily="'"+f+"',"+e;var f=t;u.appendChild(f),l.push(f)}n[i[a]]=l}return n}();a.appendChild(u);for(var g=[],y=0,m=i.length;y<m;y++)!function(e){for(var t=!1,n=0;n<o.length;n++)if(t=e[n].offsetWidth!==l[o[n]]||e[n].offsetHeight!==c[o[n]])return t;return t}(p[i[y]])||g.push(i[y]);a.removeChild(u),a.removeChild(s),e.addPreprocessedComponent({key:"js_fonts",value:g}),t(e)}),1)},pluginsKey:function(e){return this.options.excludePlugins||(this.isIE()?this.options.excludeIEPlugins||e.addPreprocessedComponent({key:"ie_plugins",value:this.getIEPlugins()}):e.addPreprocessedComponent({key:"regular_plugins",value:this.getRegularPlugins()})),e},getRegularPlugins:function(){var e=[];if(navigator.plugins)for(var t=0,n=navigator.plugins.length;t<n;t++)navigator.plugins[t]&&e.push(navigator.plugins[t]);return this.pluginsShouldBeSorted()&&(e=e.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),this.map(e,(function(e){var t=this.map(e,(function(e){return[e.type,e.suffixes].join("~")})).join(",");return[e.name,e.description,t].join("::")}),this)},getIEPlugins:function(){var e=[];return(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window)&&(e=this.map(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],(function(e){try{return new window.ActiveXObject(e),e}catch(e){return null}}))),navigator.plugins?e.concat(this.getRegularPlugins()):e},pluginsShouldBeSorted:function(){for(var e=!1,t=0,n=this.options.sortPluginsFor.length;t<n;t++){var r=this.options.sortPluginsFor[t];if(navigator.userAgent.match(r)){e=!0;break}}return e},touchSupportKey:function(e){return this.options.excludeTouchSupport||e.addPreprocessedComponent({key:"touch_support",value:this.getTouchSupport()}),e},hardwareConcurrencyKey:function(e){return this.options.excludeHardwareConcurrency||e.addPreprocessedComponent({key:"hardware_concurrency",value:this.getHardwareConcurrency()}),e},hasSessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},hasLocalStorage:function(){try{return!!window.localStorage}catch(e){return!0}},hasIndexedDB:function(){try{return!!window.indexedDB}catch(e){return!0}},getHardwareConcurrency:function(){return navigator.hardwareConcurrency||"unknown"},getNavigatorCpuClass:function(){return navigator.cpuClass||"unknown"},getNavigatorPlatform:function(){return navigator.platform||"unknown"},getDoNotTrack:function(){return navigator.doNotTrack||navigator.msDoNotTrack||window.doNotTrack||"unknown"},getTouchSupport:function(){var e=0,t=!1;void 0!==navigator.maxTouchPoints?e=navigator.maxTouchPoints:void 0!==navigator.msMaxTouchPoints&&(e=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch(e){}return[e,t,"ontouchstart"in window]},getCanvasFp:function(){var e=[],t=document.createElement("canvas"),n=(t.width=2e3,t.height=200,t.style.display="inline",t.getContext("2d"));return n.rect(0,0,10,10),n.rect(2,2,6,6),e.push("canvas winding:"+(!1===n.isPointInPath(5,5,"evenodd")?"yes":"no")),n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",this.options.dontUseFakeFontInCanvas?n.font="11pt Arial":n.font="11pt no-real-font-123",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),t.toDataURL&&e.push("canvas fp:"+t.toDataURL()),e.join("~")},getWebglFp:function(){function e(e){return t.clearColor(0,0,0,1),t.enable(t.DEPTH_TEST),t.depthFunc(t.LEQUAL),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),"["+e[0]+", "+e[1]+"]"}var t;if(!(t=this.getWebglCanvas()))return null;var n,r=[],o=t.createBuffer(),i=(t.bindBuffer(t.ARRAY_BUFFER,o),new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0])),a=(i=(t.bufferData(t.ARRAY_BUFFER,i,t.STATIC_DRAW),o.itemSize=3,o.numItems=3,t.createProgram()),t.createShader(t.VERTEX_SHADER)),s=(t.shaderSource(a,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),t.compileShader(a),t.createShader(t.FRAGMENT_SHADER));t.shaderSource(s,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),t.compileShader(s),t.attachShader(i,a),t.attachShader(i,s),t.linkProgram(i),t.useProgram(i),i.vertexPosAttrib=t.getAttribLocation(i,"attrVertex"),i.offsetUniform=t.getUniformLocation(i,"uniformOffset"),t.enableVertexAttribArray(i.vertexPosArray),t.vertexAttribPointer(i.vertexPosAttrib,o.itemSize,t.FLOAT,!1,0,0),t.uniform2f(i.offsetUniform,1,1),t.drawArrays(t.TRIANGLE_STRIP,0,o.numItems);try{r.push(t.canvas.toDataURL())}catch(e){}r.push("extensions:"+(t.getSupportedExtensions()||[]).join(";")),r.push("webgl aliased line width range:"+e(t.getParameter(t.ALIASED_LINE_WIDTH_RANGE))),r.push("webgl aliased point size range:"+e(t.getParameter(t.ALIASED_POINT_SIZE_RANGE))),r.push("webgl alpha bits:"+t.getParameter(t.ALPHA_BITS)),r.push("webgl antialiasing:"+(t.getContextAttributes().antialias?"yes":"no")),r.push("webgl blue bits:"+t.getParameter(t.BLUE_BITS)),r.push("webgl depth bits:"+t.getParameter(t.DEPTH_BITS)),r.push("webgl green bits:"+t.getParameter(t.GREEN_BITS)),r.push("webgl max anisotropy:"+((s=(a=t).getExtension("EXT_texture_filter_anisotropic")||a.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||a.getExtension("MOZ_EXT_texture_filter_anisotropic"))?0===(a=a.getParameter(s.MAX_TEXTURE_MAX_ANISOTROPY_EXT))?2:a:null)),r.push("webgl max combined texture image units:"+t.getParameter(t.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),r.push("webgl max cube map texture size:"+t.getParameter(t.MAX_CUBE_MAP_TEXTURE_SIZE)),r.push("webgl max fragment uniform vectors:"+t.getParameter(t.MAX_FRAGMENT_UNIFORM_VECTORS)),r.push("webgl max render buffer size:"+t.getParameter(t.MAX_RENDERBUFFER_SIZE)),r.push("webgl max texture image units:"+t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS)),r.push("webgl max texture size:"+t.getParameter(t.MAX_TEXTURE_SIZE)),r.push("webgl max varying vectors:"+t.getParameter(t.MAX_VARYING_VECTORS)),r.push("webgl max vertex attribs:"+t.getParameter(t.MAX_VERTEX_ATTRIBS)),r.push("webgl max vertex texture image units:"+t.getParameter(t.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),r.push("webgl max vertex uniform vectors:"+t.getParameter(t.MAX_VERTEX_UNIFORM_VECTORS)),r.push("webgl max viewport dims:"+e(t.getParameter(t.MAX_VIEWPORT_DIMS))),r.push("webgl red bits:"+t.getParameter(t.RED_BITS)),r.push("webgl renderer:"+t.getParameter(t.RENDERER)),r.push("webgl shading language version:"+t.getParameter(t.SHADING_LANGUAGE_VERSION)),r.push("webgl stencil bits:"+t.getParameter(t.STENCIL_BITS)),r.push("webgl vendor:"+t.getParameter(t.VENDOR)),r.push("webgl version:"+t.getParameter(t.VERSION));try{var u=t.getExtension("WEBGL_debug_renderer_info");u&&(r.push("webgl unmasked vendor:"+t.getParameter(u.UNMASKED_VENDOR_WEBGL)),r.push("webgl unmasked renderer:"+t.getParameter(u.UNMASKED_RENDERER_WEBGL)))}catch(e){}return t.getShaderPrecisionFormat&&(n=this).each(["FLOAT","INT"],(function(e){n.each(["VERTEX","FRAGMENT"],(function(o){n.each(["HIGH","MEDIUM","LOW"],(function(i){n.each(["precision","rangeMin","rangeMax"],(function(n){var a=t.getShaderPrecisionFormat(t[o+"_SHADER"],t[i+"_"+e])[n];"precision"!==n&&(n="precision "+n),n=["webgl ",o.toLowerCase()," shader ",i.toLowerCase()," ",e.toLowerCase()," ",n,":",a];r.push(n.join(""))}))}))}))})),r.join("~")},getWebglVendorAndRenderer:function(){try{var e=this.getWebglCanvas(),t=e.getExtension("WEBGL_debug_renderer_info");return e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL)}catch(e){return null}},getAdBlock:function(){var e=document.createElement("div"),t=(e.innerHTML="&nbsp;",!(e.className="adsbox"));try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t},getHasLiedLanguages:function(){if(void 0!==navigator.languages)try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1},getHasLiedResolution:function(){return window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight},getHasLiedOs:function(){var e=navigator.userAgent.toLowerCase(),t=navigator.oscpu,n=navigator.platform.toLowerCase();e=0<=e.indexOf("windows phone")?"Windows Phone":0<=e.indexOf("win")?"Windows":0<=e.indexOf("android")?"Android":0<=e.indexOf("linux")?"Linux":0<=e.indexOf("iphone")||0<=e.indexOf("ipad")?"iOS":0<=e.indexOf("mac")?"Mac":"Other";if(("ontouchstart"in window||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)&&"Windows Phone"!=e&&"Android"!=e&&"iOS"!=e&&"Other"!=e)return!0;if(void 0!==t){if(0<=(t=t.toLowerCase()).indexOf("win")&&"Windows"!=e&&"Windows Phone"!=e)return!0;if(0<=t.indexOf("linux")&&"Linux"!=e&&"Android"!=e)return!0;if(0<=t.indexOf("mac")&&"Mac"!=e&&"iOS"!=e)return!0;if((-1===t.indexOf("win")&&-1===t.indexOf("linux")&&-1===t.indexOf("mac"))!=("Other"==e))return!0}return 0<=n.indexOf("win")&&"Windows"!=e&&"Windows Phone"!=e||(0<=n.indexOf("linux")||0<=n.indexOf("android")||0<=n.indexOf("pike"))&&"Linux"!=e&&"Android"!=e||(0<=n.indexOf("mac")||0<=n.indexOf("ipad")||0<=n.indexOf("ipod")||0<=n.indexOf("iphone"))&&"Mac"!=e&&"iOS"!=e||(-1===n.indexOf("win")&&-1===n.indexOf("linux")&&-1===n.indexOf("mac"))!=("Other"==e)||void 0===navigator.plugins&&"Windows"!=e&&"Windows Phone"!=e},getHasLiedBrowser:function(){var e,t,n=navigator.userAgent.toLowerCase(),r=navigator.productSub;if(("Chrome"==(e=0<=n.indexOf("firefox")?"Firefox":0<=n.indexOf("opera")||0<=n.indexOf("opr")?"Opera":0<=n.indexOf("chrome")?"Chrome":0<=n.indexOf("safari")?"Safari":0<=n.indexOf("trident")?"Internet Explorer":"Other")||"Safari"==e||"Opera"==e)&&"20030107"!==r)return!0;if(37===(n=eval.toString().length)&&"Safari"!=e&&"Firefox"!=e&&"Other"!=e)return!0;if(39===n&&"Internet Explorer"!=e&&"Other"!=e)return!0;if(33===n&&"Chrome"!=e&&"Opera"!=e&&"Other"!=e)return!0;try{throw"a"}catch(e){try{e.toSource(),t=!0}catch(e){t=!1}}return!(!t||"Firefox"==e||"Other"==e)},isCanvasSupported:function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},isWebGlSupported:function(){var e;return!!this.isCanvasSupported()&&(e=this.getWebglCanvas(),!!window.WebGLRenderingContext)&&!!e},isIE:function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},hasSwfObjectLoaded:function(){return void 0!==window.swfobject},hasMinFlashInstalled:function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},addFlashDivNode:function(){var e=document.createElement("div");e.setAttribute("id",this.options.swfContainerId),document.body.appendChild(e)},loadSwfAndDetectFonts:function(e){var t="___fp_swf_loaded",n=(window[t]=function(t){e(t)},this.options.swfContainerId);this.addFlashDivNode(),t={onReady:t};window.swfobject.embedSWF(this.options.swfPath,n,"1","1","9.0.0",!1,t,{allowScriptAccess:"always",menu:"false"},{})},getWebglCanvas:function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||null},each:function(e,t,n){if(null!==e)if(this.nativeForEach&&e.forEach===this.nativeForEach)e.forEach(t,n);else if(e.length===+e.length){for(var r=0,o=e.length;r<o;r++)if(t.call(n,e[r],r,e)==={})return}else for(var i in e)if(e.hasOwnProperty(i)&&t.call(n,e[i],i,e)==={})return},map:function(e,t,n){var r=[];return null==e?r:this.nativeMap&&e.map===this.nativeMap?e.map(t,n):(this.each(e,(function(e,o,i){r[r.length]=t.call(n,e,o,i)})),r)},x64Add:function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},x64Multiply:function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},x64Rotl:function(e,t){return 32==(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:[e[1]<<(t-=32)|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t]},x64LeftShift:function(e,t){return 0==(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},x64Xor:function(e,t){return[e[0]^t[0],e[1]^t[1]]},x64Fmix:function(e){return e=this.x64Xor(e,[0,e[0]>>>1]),e=this.x64Multiply(e,[4283543511,3981806797]),e=this.x64Xor(e,[0,e[0]>>>1]),e=this.x64Multiply(e,[3301882366,444984403]),this.x64Xor(e,[0,e[0]>>>1])},x64hash128:function(e,t){for(var n=(e=e||"").length%16,r=e.length-n,o=[0,t=t||0],i=[0,t],a=[0,0],s=[0,0],u=[2277735313,289559509],l=[1291169091,658871167],c=0;c<r;c+=16)a=[255&e.charCodeAt(c+4)|(255&e.charCodeAt(c+5))<<8|(255&e.charCodeAt(c+6))<<16|(255&e.charCodeAt(c+7))<<24,255&e.charCodeAt(c)|(255&e.charCodeAt(c+1))<<8|(255&e.charCodeAt(c+2))<<16|(255&e.charCodeAt(c+3))<<24],s=[255&e.charCodeAt(c+12)|(255&e.charCodeAt(c+13))<<8|(255&e.charCodeAt(c+14))<<16|(255&e.charCodeAt(c+15))<<24,255&e.charCodeAt(c+8)|(255&e.charCodeAt(c+9))<<8|(255&e.charCodeAt(c+10))<<16|(255&e.charCodeAt(c+11))<<24],a=this.x64Multiply(a,u),a=this.x64Rotl(a,31),a=this.x64Multiply(a,l),o=this.x64Xor(o,a),o=this.x64Rotl(o,27),o=this.x64Add(o,i),o=this.x64Add(this.x64Multiply(o,[0,5]),[0,1390208809]),s=this.x64Multiply(s,l),s=this.x64Rotl(s,33),s=this.x64Multiply(s,u),i=this.x64Xor(i,s),i=this.x64Rotl(i,31),i=this.x64Add(i,o),i=this.x64Add(this.x64Multiply(i,[0,5]),[0,944331445]);switch(a=[0,0],s=[0,0],n){case 15:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(c+14)],48));case 14:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(c+13)],40));case 13:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(c+12)],32));case 12:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(c+11)],24));case 11:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(c+10)],16));case 10:s=this.x64Xor(s,this.x64LeftShift([0,e.charCodeAt(c+9)],8));case 9:s=this.x64Xor(s,[0,e.charCodeAt(c+8)]),s=this.x64Multiply(s,l),s=this.x64Rotl(s,33),s=this.x64Multiply(s,u),i=this.x64Xor(i,s);case 8:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+7)],56));case 7:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+6)],48));case 6:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+5)],40));case 5:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+4)],32));case 4:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+3)],24));case 3:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+2)],16));case 2:a=this.x64Xor(a,this.x64LeftShift([0,e.charCodeAt(c+1)],8));case 1:a=this.x64Xor(a,[0,e.charCodeAt(c)]),a=this.x64Multiply(a,u),a=this.x64Rotl(a,31),a=this.x64Multiply(a,l),o=this.x64Xor(o,a)}return o=this.x64Xor(o,[0,e.length]),i=this.x64Xor(i,[0,e.length]),o=this.x64Add(o,i),i=this.x64Add(i,o),o=this.x64Fmix(o),i=this.x64Fmix(i),o=this.x64Add(o,i),i=this.x64Add(i,o),("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)+("00000000"+(i[0]>>>0).toString(16)).slice(-8)+("00000000"+(i[1]>>>0).toString(16)).slice(-8)}},e.VERSION="1.8.0",e}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogoControl=void 0,n(120);var r=n(35);function o(){}o.prototype.onAdd=function(e){return this._container=(0,r.domCreate)("div","maplibregl-ctrl mapxus-ctrl-logo",e.getContainer()),(e=(0,r.domCreate)("a","mapxus-logo",this._container)).target="_blank",e.href="http://www.mapxus.com/",e.setAttribute("aria-label","Mapxus logo"),e.setAttribute("rel","noopener"),this._container.appendChild(e),this._container},o.prototype.onRemove=function(){(0,r.domRemove)(this._container)},o.prototype.getDefaultPosition=function(){return"bottom-left"},t.LogoControl=o},function(e,t,n){var r=n(121),o=("string"==typeof r&&(r=[[e.i,r,""]]),{});o.transform=void 0,n(34)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(61);(e.exports=n(33)(!1)).push([e.i,".mapxus-logo {\n width: 106.4px;\n height: 28.4px;\n margin: 0 0 -3px 3px;\n display: block;\n background-repeat: no-repeat;\n cursor: pointer;\n background-image: url("+r(n(122))+");\n background-size: contain;\n}",""])},function(e,t){e.exports="data:image/png;base64,iVBORw0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M0J/S1DZc+C5bcYLZ6Fhd9Ln2irJxUYDktGjR3eqr6/vh4banN4J6PaKaaZ9EBCK9I862C8N8l8DgbAi7HceUwnDG+Peh+La+Mk3hgJZg/+v69Wr1wLbr4EripIcrASY0hJ+QaagoKBw27ZtGxghQBRFURRFURRFURRFURRFURRFURRFURRFURRFURRFURRFURRFURRFURRFSQX/BO3KWsJPj46IAAAAAElFTkSuQmCC"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AttributionControl=void 0,n(124);var r=n(35);function o(e){this._theme=e.theme||"default"}o.prototype.onAdd=function(e){return this._container=(0,r.domCreate)("div","maplibregl-ctrl mapxus-ctrl-attribution",e.getContainer()),this._anchor=(0,r.domCreate)("a","mapxus-attribution",this._container),this._anchor.target="_blank",this._setCopyrightInfo(this._theme),this._anchor.setAttribute("aria-label","Mapxus attribution"),this._anchor.setAttribute("rel","noopener"),this._container.appendChild(this._anchor),this._container},o.prototype.onRemove=function(){(0,r.domRemove)(this._container)},o.prototype.getDefaultPosition=function(){return"bottom-right"},o.prototype.changeTheme=function(e){this._setCopyrightInfo(e)},o.prototype._setCopyrightInfo=function(e){this._anchor.innerText="landsD"===e?"© The Government of the Hong Kong SAR":"© OpenStreetMap contributors",this._anchor.href="landsD"===e?"https://www.map.gov.hk/gm/":"https://www.openstreetmap.org/copyright/"},t.AttributionControl=o},function(e,t,n){var r=n(125),o=("string"==typeof r&&(r=[[e.i,r,""]]),{});o.transform=void 0,n(34)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(33)(!1)).push([e.i,".mapxus-ctrl-attribution {\n margin: 0 10px 5px 0 !important;\n}\n.mapxus-attribution {\n text-decoration: none;\n color: #404040;\n}",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DistanceSearchType=void 0,(t=t.DistanceSearchType||(t.DistanceSearchType={})).POINT="Point",t.POLYGON="Polygon"},function(e,t,n){"use strict";function r(e){return/en/.test(e)}function o(e){return"zh-Hans"===e||"zh"===e||"zh-CN"===e}function i(e){return"zh-Hant"===e||"zh-TW"===e||"zh-HK"===e}Object.defineProperty(t,"__esModule",{value:!0}),t.isTraditionalChinese=t.isSimplifiedChinese=t.isEnglish=t.isConnectorPoi=t.isToiletPoi=t.getTextFieldCoalesceList=void 0,t.getTextFieldCoalesceList=function(e,t){return e.map((function(e){var n=r(t)?["coalesce",["get","name:en"],["get","name"]]:o(t)?["coalesce",["get","name:zh-Hans"],["get","name"]]:i(t)?["coalesce",["get","name:zh-Hant"],["get","name"]]:"ja"===t?["coalesce",["get","name:ja"],["get","name"]]:"ko"===t?["coalesce",["get","name:ko"],["get","name"]]:["coalesce",["get","name"]];return{layerId:e.id,coalesce:n}}))},t.isToiletPoi=function(e){return-1<e.id.indexOf("mapxus-poi-restroom")},t.isConnectorPoi=function(e){var t=-1<e.id.indexOf("mapxus-poi-stairs"),n=-1<e.id.indexOf("mapxus-poi-escalator"),r=-1<e.id.indexOf("mapxus-poi-elevator");e=-1<e.id.indexOf("mapxus-poi-ramp");return t||n||r||e},t.isEnglish=r,t.isSimplifiedChinese=o,t.isTraditionalChinese=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeType=void 0,(t=t.ThemeType||(t.ThemeType={})).CHRISTMAS="christmas",t.HALLOWEEN="halloween",t.MAPPY_BEE="mappyBee",t.MAPXUS="mapxus",t.LANDS_D="landsD",t.COMMON="common",t.MAPXUS_V2="mapxus_v2"},function(e,t,n){"use strict";var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||((r=r||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},u=(Object.defineProperty(t,"__esModule",{value:!0}),t.Marker=void 0,n(29)),l=s(n(32));i(c,o=u.Evented),c.isMultiArray=function(e){for(var t=0,n=e;t<n.length;t++)if(n[t]instanceof Array)return!0;return!1},c.prototype.addTo=function(e){return this._maplibreMap=e.getMap(),this},c.prototype.onEventListener=function(e,t){this._maplibreMap.on(e,this._layerId,t)},c.prototype.create=function(e,t,n){var r=this;if(Boolean(this._coordinates))(t||null)===this._floor&&(n||null)===this._buildingId&&(c.isMultiArray(this._coordinates)?this._coordinates=c.isMultiArray(e)?a(a([],this._coordinates,!0),e,!0):a(a([],this._coordinates,!0),[e],!1):this._coordinates=c.isMultiArray(e)?a(a([],e,!0),[this._coordinates],!1):[e,this._coordinates],this._createData());else{if(this._coordinates=e,this._floor=t||null,this._buildingId=n||null,this._maplibreMap.hasImage(this._imageName))return this._createData(),this;this._loadImage(this._imageUrl,(function(e){r._maplibreMap.addImage(r._imageName,e),r._createData()}))}return this},c.prototype.remove=function(){return this._coordinates=null,this._floor=null,this._buildingId=null,this._maplibreMap.getLayer(this._layerId)&&(this._maplibreMap.removeLayer(this._layerId),this._maplibreMap.removeSource(this._sourceId)),this},c.prototype.switch=function(e,t){return this._maplibreMap.getLayer(this._layerId)&&this._maplibreMap.setFilter(this._layerId,["any",["all",["==","floor",e],["==","buildingId",t]],["==","buildingId",""],["==","floor",""]]),this},Object.defineProperty(c.prototype,"layerId",{get:function(){return this._layerId},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"sourceId",{get:function(){return this._sourceId},enumerable:!1,configurable:!0}),c.prototype.setImageUrl=function(e){return this._imageUrl=e,this._imageName="".concat(this._imageName,"_").concat(e),this},c.prototype.setImageScale=function(e){return this._imageScale=e,this},c.prototype._bindEvents=function(){var e=this;this._map.onFloorChangeListener((function(t){var n;e._setFilter((null==(n=null==(n=t.feature)?void 0:n.properties)?void 0:n.id)||"",(null==t?void 0:t.floor)||"")})),this._map.onBuildingChangeListener((function(){var t;e._setFilter((null==(t=e._map.building)?void 0:t.id)||"",e._map.currentFloor||"")}))},c.prototype._createData=function(){this._addSource()._addLayer()},c.prototype._loadImage=function(e,t){this._maplibreMap.loadImage(e,(function(e,n){if(e)throw e;t(n)}))},c.prototype._addSource=function(){var e=this._maplibreMap.getSource(this._sourceId),t={type:"Feature",geometry:{type:c.isMultiArray(this._coordinates)?"MultiPoint":"Point",coordinates:this._coordinates},properties:{floor:"".concat(this._floor),buildingId:"".concat(this._buildingId)}};return Boolean(e)?e.setData(t):this._maplibreMap.addSource(this._sourceId,{type:"geojson",data:t}),this},c.prototype._addLayer=function(){return this._maplibreMap.getLayer(this._layerId)||this._maplibreMap.addLayer({id:this._layerId,type:"symbol",source:this._sourceId,layout:{"icon-image":this._imageName,"icon-size":this._imageScale}}),this},c.prototype._setFilter=function(e,t){this._maplibreMap.getLayer(this._layerId)&&this._maplibreMap.setFilter(this._layerId,["any",["all",["==","floor",t],["==","buildingId",e]],["==","buildingId","null"],["==","floor","null"]])},s=c;function c(e){var t=o.call(this)||this,n=(e=(e&&(t._map=e,t._maplibreMap=e.getMap()),t._bindEvents(),"mapxus_marker"),(0,l.default)());return t._sourceId="".concat(e,"_source_").concat(n),t._layerId="".concat(e,"_layer_").concat(n),t._imageName="poi-01",t._imageUrl="https://map-service.mapxus.com/bssww/assets/origin-marker.png",t._imageScale=.65,t}t.Marker=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RouteService=void 0;var r=n(31),o=n(131);function i(){this._api="/api/v1/route",this._request=new r.Request}i.prototype.search=function(e,t,n,r,i,a,s,u,l){if(void 0===s&&(s=o.WayFindingVehicleType.FOOT),!e.length||!t.length)throw new Error("Coord cannot be empty.");if(2!==e.length||2!==t.length)throw new Error("Coord cannot less than 2.");e=["".concat(this._api,"?fromLon=").concat(e[0]),"fromLat=".concat(e[1]),"toLon=".concat(t[0]),"toLat=".concat(t[1]),"fromBuilding=".concat(i),"toBuilding=".concat(a),"fromFloor=".concat(n),"toFloor=".concat(r),"vehicle=".concat(s)],u&&e.push("locale=".concat(u)),l&&e.push("toDoor=".concat(l));try{return this._request.get(e.join("&"))}catch(e){}},t.RouteService=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WayFindingVehicleType=void 0,(t=t.WayFindingVehicleType||(t.WayFindingVehicleType={})).FOOT="foot",t.WHEELCHAIR="wheelchair",t.ESCALATOR="escalator"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="5.4.0-jp"},function(e,t,n){"use strict";n.r(t);var r=n(2),o=n(53),i=n(51);function a(e,t){return!(null==e||!e.length)&&-1<Object(i.a)(e,t,0)}function s(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}var u=n(44),l=n(21);var c=n(26),d=l.a&&1/Object(c.a)(new l.a([,-0]))[1]==1/0?function(e){return new l.a(e)}:function(){};t.default=function(e,t){return e&&e.length?function(e,t,n){var r=-1,i=a,l=e.length,f=!0,h=[],p=h;if(n)f=!1,i=s;else if(200<=l){var g=t?null:d(e);if(g)return Object(c.a)(g);f=!1,i=u.a,p=new o.a}else p=t?[]:h;e:for(;++r<l;){var y=e[r],m=t?t(y):y;y=n||0!==y?y:0;if(f&&m==m){for(var v=p.length;v--;)if(p[v]===m)continue e;t&&p.push(m),h.push(y)}else i(p,m,n)||(p!==h&&p.push(m),h.push(y))}return h}(e,Object(r.a)(t,2)):[]}},function(e,t,n){"use strict";function r(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}n.r(t);var o=n(13);function i(e,t){var n=!0;return Object(o.a)(e,(function(e,r,o){return n=!!t(e,r,o)})),n}var a=n(2),s=n(0),u=n(17),l=n(4),c=n(16),d=n(3);t.default=function(e,t,n){var o=Object(s.default)(e)?r:i;return n&&function(e,t,n){var r;return!!Object(d.a)(n)&&!!("number"==(r=typeof t)?Object(l.a)(n)&&Object(c.a)(t,n.length):"string"==r&&t in n)&&Object(u.a)(n[t],e)}(e,t,n)&&(t=void 0),o(e,Object(a.a)(t,3))}},function(e,t,n){"use strict";n.r(t);var r=n(56);function o(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}var i=n(13);function a(e,t,n,r){return Object(i.a)(e,(function(e,o,i){t(r,e,n(e),i)})),r}var s=n(2),u=n(0),l=(n=function(e,t){return function(n,r){var i=Object(u.default)(n)?o:a,l=t?t():{};return i(n,e,Object(s.a)(r,2),l)}},Object.prototype.hasOwnProperty);n=n((function(e,t,n){l.call(e,n)?e[n].push(t):Object(r.a)(e,n,[t])}));t.default=n},function(e,t,n){"use strict";n.r(t);var r=n(11),o=n(2);function i(e,t){return e<t}t.default=function(e,t){return e&&e.length?function(e,t,n){for(var o=-1,i=e.length;++o<i;){var a,s,u=e[o],l=t(u);null!=l&&(void 0===a?l==l&&!Object(r.a)(l):n(l,a))&&(a=l,s=u)}return s}(e,Object(o.a)(t,2),i):void 0}}],n={},e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(e){return t[e]}.bind(null,o));return r},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(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e.p="",e(e.s=67);function e(r){var o;return(n[r]||(o=n[r]={i:r,l:!1,exports:{}},t[r].call(o.exports,o,o.exports,e),o.l=!0,o)).exports}var t,n}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapxus/mapxus-map-jp",
3
- "version": "5.3.0-jp",
3
+ "version": "5.4.0-jp",
4
4
  "description": "mapxus map web sdk - kawasaki-prod",
5
5
  "main": "mapxus-map.js",
6
6
  "types": "index.d.ts",