rk-web-core 0.9.39 → 0.9.52
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.
package/rk-web-core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("rk-web-core",[],e):"object"==typeof exports?exports["rk-web-core"]=e():t["rk-web-core"]=e()}(window,(function(){return function(t){function e(e){for(var n,r,i=e[0],o=e[1],a=0,s=[];a<i.length;a++)r=i[a],Object.prototype.hasOwnProperty.call(P,r)&&P[r]&&s.push(P[r][0]),P[r]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n]);for(D&&D(e);s.length;)s.shift()()}var n=window.webpackHotUpdaterk_web_core;window.webpackHotUpdaterk_web_core=function(t,e){!function(t,e){if(!w[t]||!b[t])return;for(var n in b[t]=!1,e)Object.prototype.hasOwnProperty.call(e,n)&&(m[n]=e[n]);0==--y&&0===_&&C()}(t,e),n&&n(t,e)};var r,i=!0,o="49909b29727d8bdbeb62",a={},s=[],c=[];function u(t){var e=L[t];if(!e)return R;var n=function(n){return e.hot.active?(L[n]?-1===L[n].parents.indexOf(t)&&L[n].parents.push(t):(s=[t],r=n),-1===e.children.indexOf(n)&&e.children.push(n)):(console.warn("[HMR] unexpected require("+n+") from disposed module "+t),s=[]),R(n)},i=function(t){return{configurable:!0,enumerable:!0,get:function(){return R[t]},set:function(e){R[t]=e}}};for(var o in R)Object.prototype.hasOwnProperty.call(R,o)&&"e"!==o&&"t"!==o&&Object.defineProperty(n,o,i(o));return n.e=function(t){return"ready"===f&&d("prepare"),_++,R.e(t).then(e,(function(t){throw e(),t}));function e(){_--,"prepare"===f&&(x[t]||A(t),0===_&&0===y&&C())}},n.t=function(t,e){return 1&e&&(t=n(t)),R.t(t,-2&e)},n}function l(e){var n={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:r!==e,active:!0,accept:function(t,e){if(void 0===t)n._selfAccepted=!0;else if("function"==typeof t)n._selfAccepted=t;else if("object"==typeof t)for(var r=0;r<t.length;r++)n._acceptedDependencies[t[r]]=e||function(){};else n._acceptedDependencies[t]=e||function(){}},decline:function(t){if(void 0===t)n._selfDeclined=!0;else if("object"==typeof t)for(var e=0;e<t.length;e++)n._declinedDependencies[t[e]]=!0;else n._declinedDependencies[t]=!0},dispose:function(t){n._disposeHandlers.push(t)},addDisposeHandler:function(t){n._disposeHandlers.push(t)},removeDisposeHandler:function(t){var e=n._disposeHandlers.indexOf(t);e>=0&&n._disposeHandlers.splice(e,1)},invalidate:function(){switch(this._selfInvalidated=!0,f){case"idle":(m={})[e]=t[e],d("ready");break;case"ready":I(e);break;case"prepare":case"check":case"dispose":case"apply":(v=v||[]).push(e)}},check:S,apply:E,status:function(t){if(!t)return f;h.push(t)},addStatusHandler:function(t){h.push(t)},removeStatusHandler:function(t){var e=h.indexOf(t);e>=0&&h.splice(e,1)},data:a[e]};return r=void 0,n}var h=[],f="idle";function d(t){f=t;for(var e=0;e<h.length;e++)h[e].call(null,t)}var p,m,g,v,y=0,_=0,x={},b={},w={};function M(t){return+t+""===t?+t:t}function S(t){if("idle"!==f)throw new Error("check() is only allowed in idle status");return i=t,d("check"),(e=1e4,e=e||1e4,new Promise((function(t,n){if("undefined"==typeof XMLHttpRequest)return n(new Error("No browser support"));try{var r=new XMLHttpRequest,i=R.p+""+o+".hot-update.json";r.open("GET",i,!0),r.timeout=e,r.send(null)}catch(t){return n(t)}r.onreadystatechange=function(){if(4===r.readyState)if(0===r.status)n(new Error("Manifest request to "+i+" timed out."));else if(404===r.status)t();else if(200!==r.status&&304!==r.status)n(new Error("Manifest request to "+i+" failed."));else{try{var e=JSON.parse(r.responseText)}catch(t){return void n(t)}t(e)}}}))).then((function(t){if(!t)return d(T()?"ready":"idle"),null;b={},x={},w=t.c,g=t.h,d("prepare");var e=new Promise((function(t,e){p={resolve:t,reject:e}}));for(var n in m={},P)A(n);return"prepare"===f&&0===_&&0===y&&C(),e}));var e}function A(t){w[t]?(b[t]=!0,y++,function(t){var e=document.createElement("script");e.charset="utf-8",e.src=R.p+""+t+"."+o+".hot-update.js",e.crossOrigin="anonymous",document.head.appendChild(e)}(t)):x[t]=!0}function C(){d("ready");var t=p;if(p=null,t)if(i)Promise.resolve().then((function(){return E(i)})).then((function(e){t.resolve(e)}),(function(e){t.reject(e)}));else{var e=[];for(var n in m)Object.prototype.hasOwnProperty.call(m,n)&&e.push(M(n));t.resolve(e)}}function E(e){if("ready"!==f)throw new Error("apply() is only allowed in ready status");return function e(n){var i,c,u,l,h;function f(t){for(var e=[t],n={},r=e.map((function(t){return{chain:[t],id:t}}));r.length>0;){var i=r.pop(),o=i.id,a=i.chain;if((l=L[o])&&(!l.hot._selfAccepted||l.hot._selfInvalidated)){if(l.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:o};if(l.hot._main)return{type:"unaccepted",chain:a,moduleId:o};for(var s=0;s<l.parents.length;s++){var c=l.parents[s],u=L[c];if(u){if(u.hot._declinedDependencies[o])return{type:"declined",chain:a.concat([c]),moduleId:o,parentId:c};-1===e.indexOf(c)&&(u.hot._acceptedDependencies[o]?(n[c]||(n[c]=[]),p(n[c],[o])):(delete n[c],e.push(c),r.push({chain:a.concat([c]),id:c})))}}}}return{type:"accepted",moduleId:t,outdatedModules:e,outdatedDependencies:n}}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];-1===t.indexOf(r)&&t.push(r)}}T();var y={},_=[],x={},b=function(){console.warn("[HMR] unexpected require("+A.moduleId+") to disposed module")};for(var S in m)if(Object.prototype.hasOwnProperty.call(m,S)){var A;h=M(S),A=m[S]?f(h):{type:"disposed",moduleId:S};var C=!1,E=!1,I=!1,O="";switch(A.chain&&(O="\nUpdate propagation: "+A.chain.join(" -> ")),A.type){case"self-declined":n.onDeclined&&n.onDeclined(A),n.ignoreDeclined||(C=new Error("Aborted because of self decline: "+A.moduleId+O));break;case"declined":n.onDeclined&&n.onDeclined(A),n.ignoreDeclined||(C=new Error("Aborted because of declined dependency: "+A.moduleId+" in "+A.parentId+O));break;case"unaccepted":n.onUnaccepted&&n.onUnaccepted(A),n.ignoreUnaccepted||(C=new Error("Aborted because "+h+" is not accepted"+O));break;case"accepted":n.onAccepted&&n.onAccepted(A),E=!0;break;case"disposed":n.onDisposed&&n.onDisposed(A),I=!0;break;default:throw new Error("Unexception type "+A.type)}if(C)return d("abort"),Promise.reject(C);if(E)for(h in x[h]=m[h],p(_,A.outdatedModules),A.outdatedDependencies)Object.prototype.hasOwnProperty.call(A.outdatedDependencies,h)&&(y[h]||(y[h]=[]),p(y[h],A.outdatedDependencies[h]));I&&(p(_,[A.moduleId]),x[h]=b)}var k,B=[];for(c=0;c<_.length;c++)h=_[c],L[h]&&L[h].hot._selfAccepted&&x[h]!==b&&!L[h].hot._selfInvalidated&&B.push({module:h,parents:L[h].parents.slice(),errorHandler:L[h].hot._selfAccepted});d("dispose"),Object.keys(w).forEach((function(t){!1===w[t]&&function(t){delete P[t]}(t)}));var D,F,U=_.slice();for(;U.length>0;)if(h=U.pop(),l=L[h]){var j={},N=l.hot._disposeHandlers;for(u=0;u<N.length;u++)(i=N[u])(j);for(a[h]=j,l.hot.active=!1,delete L[h],delete y[h],u=0;u<l.children.length;u++){var G=L[l.children[u]];G&&((k=G.parents.indexOf(h))>=0&&G.parents.splice(k,1))}}for(h in y)if(Object.prototype.hasOwnProperty.call(y,h)&&(l=L[h]))for(F=y[h],u=0;u<F.length;u++)D=F[u],(k=l.children.indexOf(D))>=0&&l.children.splice(k,1);d("apply"),void 0!==g&&(o=g,g=void 0);for(h in m=void 0,x)Object.prototype.hasOwnProperty.call(x,h)&&(t[h]=x[h]);var z=null;for(h in y)if(Object.prototype.hasOwnProperty.call(y,h)&&(l=L[h])){F=y[h];var H=[];for(c=0;c<F.length;c++)if(D=F[c],i=l.hot._acceptedDependencies[D]){if(-1!==H.indexOf(i))continue;H.push(i)}for(c=0;c<H.length;c++){i=H[c];try{i(F)}catch(t){n.onErrored&&n.onErrored({type:"accept-errored",moduleId:h,dependencyId:F[c],error:t}),n.ignoreErrored||z||(z=t)}}}for(c=0;c<B.length;c++){var W=B[c];h=W.module,s=W.parents,r=h;try{R(h)}catch(t){if("function"==typeof W.errorHandler)try{W.errorHandler(t)}catch(e){n.onErrored&&n.onErrored({type:"self-accept-error-handler-errored",moduleId:h,error:e,originalError:t}),n.ignoreErrored||z||(z=e),z||(z=t)}else n.onErrored&&n.onErrored({type:"self-accept-errored",moduleId:h,error:t}),n.ignoreErrored||z||(z=t)}}if(z)return d("fail"),Promise.reject(z);if(v)return e(n).then((function(t){return _.forEach((function(e){t.indexOf(e)<0&&t.push(e)})),t}));return d("idle"),new Promise((function(t){t(_)}))}(e=e||{})}function T(){if(v)return m||(m={}),v.forEach(I),v=void 0,!0}function I(e){Object.prototype.hasOwnProperty.call(m,e)||(m[e]=t[e])}var L={},P={0:0};function R(e){if(L[e])return L[e].exports;var n=L[e]={i:e,l:!1,exports:{},hot:l(e),parents:(c=s,s=[],c),children:[]};return t[e].call(n.exports,n,n.exports,u(e)),n.l=!0,n.exports}R.e=function(t){var e=[],n=P[t];if(0!==n)if(n)e.push(n[2]);else{var r=new Promise((function(e,r){n=P[t]=[e,r]}));e.push(n[2]=r);var i,a=document.createElement("script");a.charset="utf-8",a.timeout=120,R.nc&&a.setAttribute("nonce",R.nc),a.src=function(t){return R.p+""+t+"."+o+".js"}(t),0!==a.src.indexOf(window.location.origin+"/")&&(a.crossOrigin="anonymous");var s=new Error;i=function(e){a.onerror=a.onload=null,clearTimeout(c);var n=P[t];if(0!==n){if(n){var r=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src;s.message="Loading chunk "+t+" failed.\n("+r+": "+i+")",s.name="ChunkLoadError",s.type=r,s.request=i,n[1](s)}P[t]=void 0}};var c=setTimeout((function(){i({type:"timeout",target:a})}),12e4);a.onerror=a.onload=i,document.head.appendChild(a)}return Promise.all(e)},R.m=t,R.c=L,R.d=function(t,e,n){R.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},R.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},R.t=function(t,e){if(1&e&&(t=R(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(R.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)R.d(n,r,function(e){return t[e]}.bind(null,r));return n},R.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return R.d(e,"a",e),e},R.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},R.p="./",R.oe=function(t){throw console.error(t),t},R.h=function(){return o};var O=window.webpackJsonprk_web_core=window.webpackJsonprk_web_core||[],k=O.push.bind(O);O.push=e,O=O.slice();for(var B=0;B<O.length;B++)e(O[B]);var D=k;return u(95)(R.s=95)}([function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(t,e,n){"use strict";var r=n(80),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function c(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function u(t){return"[object Function]"===i.call(t)}function l(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:o,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isPlainObject:c,isUndefined:a,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:u,isStream:function(t){return s(t)&&u(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:l,merge:function t(){var e={};function n(n,r){c(e[r])&&c(n)?e[r]=t(e[r],n):c(n)?e[r]=t({},n):o(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)l(arguments[r],n);return e},extend:function(t,e,n){return l(e,(function(e,i){t[i]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(59)("wks"),i=n(60),o=n(2).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(2),i=n(0),o=n(18),a=n(14),s=n(23),c=function(t,e,n){var u,l,h,f=t&c.F,d=t&c.G,p=t&c.S,m=t&c.P,g=t&c.B,v=t&c.W,y=d?i:i[e]||(i[e]={}),_=y.prototype,x=d?r:p?r[e]:(r[e]||{}).prototype;for(u in d&&(n=e),n)(l=!f&&x&&void 0!==x[u])&&s(y,u)||(h=l?x[u]:n[u],y[u]=d&&"function"!=typeof x[u]?n[u]:g&&l?o(h,r):v&&x[u]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(h):m&&"function"==typeof h?o(Function.call,h):h,m&&((y.virtual||(y.virtual={}))[u]=h,t&c.R&&_&&!_[u]&&a(_,u,h)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.treeFindPath=e.prefixCls=void 0;var r,i=n(33),o=(r=i)&&r.__esModule?r:{default:r};e.prefixCls="rk-web-core",e.treeFindPath=function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!e)return[];var i=!0,a=!1,s=void 0;try{for(var c,u=(0,o.default)(e);!(i=(c=u.next()).done);i=!0){var l=c.value;if(r.push(l),n(l))return r;if(l.children){var h=t(l.children,n,r);if(h.length)return h}r.pop()}}catch(t){a=!0,s=t}finally{try{!i&&u.return&&u.return()}finally{if(a)throw s}}return[]}},function(t,e,n){(function(t,r){var i;
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("rk-web-core",[],e):"object"==typeof exports?exports["rk-web-core"]=e():t["rk-web-core"]=e()}(window,(function(){return function(t){function e(e){for(var n,r,i=e[0],o=e[1],a=0,s=[];a<i.length;a++)r=i[a],Object.prototype.hasOwnProperty.call(P,r)&&P[r]&&s.push(P[r][0]),P[r]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n]);for(D&&D(e);s.length;)s.shift()()}var n=window.webpackHotUpdaterk_web_core;window.webpackHotUpdaterk_web_core=function(t,e){!function(t,e){if(!w[t]||!b[t])return;for(var n in b[t]=!1,e)Object.prototype.hasOwnProperty.call(e,n)&&(m[n]=e[n]);0==--y&&0===_&&C()}(t,e),n&&n(t,e)};var r,i=!0,o="0962a63679eeece2e9b3",a={},s=[],c=[];function u(t){var e=L[t];if(!e)return R;var n=function(n){return e.hot.active?(L[n]?-1===L[n].parents.indexOf(t)&&L[n].parents.push(t):(s=[t],r=n),-1===e.children.indexOf(n)&&e.children.push(n)):(console.warn("[HMR] unexpected require("+n+") from disposed module "+t),s=[]),R(n)},i=function(t){return{configurable:!0,enumerable:!0,get:function(){return R[t]},set:function(e){R[t]=e}}};for(var o in R)Object.prototype.hasOwnProperty.call(R,o)&&"e"!==o&&"t"!==o&&Object.defineProperty(n,o,i(o));return n.e=function(t){return"ready"===f&&d("prepare"),_++,R.e(t).then(e,(function(t){throw e(),t}));function e(){_--,"prepare"===f&&(x[t]||A(t),0===_&&0===y&&C())}},n.t=function(t,e){return 1&e&&(t=n(t)),R.t(t,-2&e)},n}function l(e){var n={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:r!==e,active:!0,accept:function(t,e){if(void 0===t)n._selfAccepted=!0;else if("function"==typeof t)n._selfAccepted=t;else if("object"==typeof t)for(var r=0;r<t.length;r++)n._acceptedDependencies[t[r]]=e||function(){};else n._acceptedDependencies[t]=e||function(){}},decline:function(t){if(void 0===t)n._selfDeclined=!0;else if("object"==typeof t)for(var e=0;e<t.length;e++)n._declinedDependencies[t[e]]=!0;else n._declinedDependencies[t]=!0},dispose:function(t){n._disposeHandlers.push(t)},addDisposeHandler:function(t){n._disposeHandlers.push(t)},removeDisposeHandler:function(t){var e=n._disposeHandlers.indexOf(t);e>=0&&n._disposeHandlers.splice(e,1)},invalidate:function(){switch(this._selfInvalidated=!0,f){case"idle":(m={})[e]=t[e],d("ready");break;case"ready":I(e);break;case"prepare":case"check":case"dispose":case"apply":(v=v||[]).push(e)}},check:S,apply:E,status:function(t){if(!t)return f;h.push(t)},addStatusHandler:function(t){h.push(t)},removeStatusHandler:function(t){var e=h.indexOf(t);e>=0&&h.splice(e,1)},data:a[e]};return r=void 0,n}var h=[],f="idle";function d(t){f=t;for(var e=0;e<h.length;e++)h[e].call(null,t)}var p,m,g,v,y=0,_=0,x={},b={},w={};function M(t){return+t+""===t?+t:t}function S(t){if("idle"!==f)throw new Error("check() is only allowed in idle status");return i=t,d("check"),(e=1e4,e=e||1e4,new Promise((function(t,n){if("undefined"==typeof XMLHttpRequest)return n(new Error("No browser support"));try{var r=new XMLHttpRequest,i=R.p+""+o+".hot-update.json";r.open("GET",i,!0),r.timeout=e,r.send(null)}catch(t){return n(t)}r.onreadystatechange=function(){if(4===r.readyState)if(0===r.status)n(new Error("Manifest request to "+i+" timed out."));else if(404===r.status)t();else if(200!==r.status&&304!==r.status)n(new Error("Manifest request to "+i+" failed."));else{try{var e=JSON.parse(r.responseText)}catch(t){return void n(t)}t(e)}}}))).then((function(t){if(!t)return d(T()?"ready":"idle"),null;b={},x={},w=t.c,g=t.h,d("prepare");var e=new Promise((function(t,e){p={resolve:t,reject:e}}));for(var n in m={},P)A(n);return"prepare"===f&&0===_&&0===y&&C(),e}));var e}function A(t){w[t]?(b[t]=!0,y++,function(t){var e=document.createElement("script");e.charset="utf-8",e.src=R.p+""+t+"."+o+".hot-update.js",e.crossOrigin="anonymous",document.head.appendChild(e)}(t)):x[t]=!0}function C(){d("ready");var t=p;if(p=null,t)if(i)Promise.resolve().then((function(){return E(i)})).then((function(e){t.resolve(e)}),(function(e){t.reject(e)}));else{var e=[];for(var n in m)Object.prototype.hasOwnProperty.call(m,n)&&e.push(M(n));t.resolve(e)}}function E(e){if("ready"!==f)throw new Error("apply() is only allowed in ready status");return function e(n){var i,c,u,l,h;function f(t){for(var e=[t],n={},r=e.map((function(t){return{chain:[t],id:t}}));r.length>0;){var i=r.pop(),o=i.id,a=i.chain;if((l=L[o])&&(!l.hot._selfAccepted||l.hot._selfInvalidated)){if(l.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:o};if(l.hot._main)return{type:"unaccepted",chain:a,moduleId:o};for(var s=0;s<l.parents.length;s++){var c=l.parents[s],u=L[c];if(u){if(u.hot._declinedDependencies[o])return{type:"declined",chain:a.concat([c]),moduleId:o,parentId:c};-1===e.indexOf(c)&&(u.hot._acceptedDependencies[o]?(n[c]||(n[c]=[]),p(n[c],[o])):(delete n[c],e.push(c),r.push({chain:a.concat([c]),id:c})))}}}}return{type:"accepted",moduleId:t,outdatedModules:e,outdatedDependencies:n}}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];-1===t.indexOf(r)&&t.push(r)}}T();var y={},_=[],x={},b=function(){console.warn("[HMR] unexpected require("+A.moduleId+") to disposed module")};for(var S in m)if(Object.prototype.hasOwnProperty.call(m,S)){var A;h=M(S),A=m[S]?f(h):{type:"disposed",moduleId:S};var C=!1,E=!1,I=!1,O="";switch(A.chain&&(O="\nUpdate propagation: "+A.chain.join(" -> ")),A.type){case"self-declined":n.onDeclined&&n.onDeclined(A),n.ignoreDeclined||(C=new Error("Aborted because of self decline: "+A.moduleId+O));break;case"declined":n.onDeclined&&n.onDeclined(A),n.ignoreDeclined||(C=new Error("Aborted because of declined dependency: "+A.moduleId+" in "+A.parentId+O));break;case"unaccepted":n.onUnaccepted&&n.onUnaccepted(A),n.ignoreUnaccepted||(C=new Error("Aborted because "+h+" is not accepted"+O));break;case"accepted":n.onAccepted&&n.onAccepted(A),E=!0;break;case"disposed":n.onDisposed&&n.onDisposed(A),I=!0;break;default:throw new Error("Unexception type "+A.type)}if(C)return d("abort"),Promise.reject(C);if(E)for(h in x[h]=m[h],p(_,A.outdatedModules),A.outdatedDependencies)Object.prototype.hasOwnProperty.call(A.outdatedDependencies,h)&&(y[h]||(y[h]=[]),p(y[h],A.outdatedDependencies[h]));I&&(p(_,[A.moduleId]),x[h]=b)}var k,B=[];for(c=0;c<_.length;c++)h=_[c],L[h]&&L[h].hot._selfAccepted&&x[h]!==b&&!L[h].hot._selfInvalidated&&B.push({module:h,parents:L[h].parents.slice(),errorHandler:L[h].hot._selfAccepted});d("dispose"),Object.keys(w).forEach((function(t){!1===w[t]&&function(t){delete P[t]}(t)}));var D,F,U=_.slice();for(;U.length>0;)if(h=U.pop(),l=L[h]){var j={},N=l.hot._disposeHandlers;for(u=0;u<N.length;u++)(i=N[u])(j);for(a[h]=j,l.hot.active=!1,delete L[h],delete y[h],u=0;u<l.children.length;u++){var G=L[l.children[u]];G&&((k=G.parents.indexOf(h))>=0&&G.parents.splice(k,1))}}for(h in y)if(Object.prototype.hasOwnProperty.call(y,h)&&(l=L[h]))for(F=y[h],u=0;u<F.length;u++)D=F[u],(k=l.children.indexOf(D))>=0&&l.children.splice(k,1);d("apply"),void 0!==g&&(o=g,g=void 0);for(h in m=void 0,x)Object.prototype.hasOwnProperty.call(x,h)&&(t[h]=x[h]);var z=null;for(h in y)if(Object.prototype.hasOwnProperty.call(y,h)&&(l=L[h])){F=y[h];var H=[];for(c=0;c<F.length;c++)if(D=F[c],i=l.hot._acceptedDependencies[D]){if(-1!==H.indexOf(i))continue;H.push(i)}for(c=0;c<H.length;c++){i=H[c];try{i(F)}catch(t){n.onErrored&&n.onErrored({type:"accept-errored",moduleId:h,dependencyId:F[c],error:t}),n.ignoreErrored||z||(z=t)}}}for(c=0;c<B.length;c++){var W=B[c];h=W.module,s=W.parents,r=h;try{R(h)}catch(t){if("function"==typeof W.errorHandler)try{W.errorHandler(t)}catch(e){n.onErrored&&n.onErrored({type:"self-accept-error-handler-errored",moduleId:h,error:e,originalError:t}),n.ignoreErrored||z||(z=e),z||(z=t)}else n.onErrored&&n.onErrored({type:"self-accept-errored",moduleId:h,error:t}),n.ignoreErrored||z||(z=t)}}if(z)return d("fail"),Promise.reject(z);if(v)return e(n).then((function(t){return _.forEach((function(e){t.indexOf(e)<0&&t.push(e)})),t}));return d("idle"),new Promise((function(t){t(_)}))}(e=e||{})}function T(){if(v)return m||(m={}),v.forEach(I),v=void 0,!0}function I(e){Object.prototype.hasOwnProperty.call(m,e)||(m[e]=t[e])}var L={},P={0:0};function R(e){if(L[e])return L[e].exports;var n=L[e]={i:e,l:!1,exports:{},hot:l(e),parents:(c=s,s=[],c),children:[]};return t[e].call(n.exports,n,n.exports,u(e)),n.l=!0,n.exports}R.e=function(t){var e=[],n=P[t];if(0!==n)if(n)e.push(n[2]);else{var r=new Promise((function(e,r){n=P[t]=[e,r]}));e.push(n[2]=r);var i,a=document.createElement("script");a.charset="utf-8",a.timeout=120,R.nc&&a.setAttribute("nonce",R.nc),a.src=function(t){return R.p+""+t+"."+o+".js"}(t),0!==a.src.indexOf(window.location.origin+"/")&&(a.crossOrigin="anonymous");var s=new Error;i=function(e){a.onerror=a.onload=null,clearTimeout(c);var n=P[t];if(0!==n){if(n){var r=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src;s.message="Loading chunk "+t+" failed.\n("+r+": "+i+")",s.name="ChunkLoadError",s.type=r,s.request=i,n[1](s)}P[t]=void 0}};var c=setTimeout((function(){i({type:"timeout",target:a})}),12e4);a.onerror=a.onload=i,document.head.appendChild(a)}return Promise.all(e)},R.m=t,R.c=L,R.d=function(t,e,n){R.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},R.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},R.t=function(t,e){if(1&e&&(t=R(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(R.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)R.d(n,r,function(e){return t[e]}.bind(null,r));return n},R.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return R.d(e,"a",e),e},R.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},R.p="./",R.oe=function(t){throw console.error(t),t},R.h=function(){return o};var O=window.webpackJsonprk_web_core=window.webpackJsonprk_web_core||[],k=O.push.bind(O);O.push=e,O=O.slice();for(var B=0;B<O.length;B++)e(O[B]);var D=k;return u(95)(R.s=95)}([function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(t,e,n){"use strict";var r=n(80),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function c(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function u(t){return"[object Function]"===i.call(t)}function l(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:o,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isPlainObject:c,isUndefined:a,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:u,isStream:function(t){return s(t)&&u(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:l,merge:function t(){var e={};function n(n,r){c(e[r])&&c(n)?e[r]=t(e[r],n):c(n)?e[r]=t({},n):o(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)l(arguments[r],n);return e},extend:function(t,e,n){return l(e,(function(e,i){t[i]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(59)("wks"),i=n(60),o=n(2).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(2),i=n(0),o=n(18),a=n(14),s=n(23),c=function(t,e,n){var u,l,h,f=t&c.F,d=t&c.G,p=t&c.S,m=t&c.P,g=t&c.B,v=t&c.W,y=d?i:i[e]||(i[e]={}),_=y.prototype,x=d?r:p?r[e]:(r[e]||{}).prototype;for(u in d&&(n=e),n)(l=!f&&x&&void 0!==x[u])&&s(y,u)||(h=l?x[u]:n[u],y[u]=d&&"function"!=typeof x[u]?n[u]:g&&l?o(h,r):v&&x[u]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(h):m&&"function"==typeof h?o(Function.call,h):h,m&&((y.virtual||(y.virtual={}))[u]=h,t&c.R&&_&&!_[u]&&a(_,u,h)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.treeFindPath=e.prefixCls=void 0;var r,i=n(33),o=(r=i)&&r.__esModule?r:{default:r};e.prefixCls="rk-web-core",e.treeFindPath=function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!e)return[];var i=!0,a=!1,s=void 0;try{for(var c,u=(0,o.default)(e);!(i=(c=u.next()).done);i=!0){var l=c.value;if(r.push(l),n(l))return r;if(l.children){var h=t(l.children,n,r);if(h.length)return h}r.pop()}}catch(t){a=!0,s=t}finally{try{!i&&u.return&&u.return()}finally{if(a)throw s}}return[]}},function(t,e,n){(function(t,r){var i;
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Lodash <https://lodash.com/>
|
|
@@ -80,7 +80,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
80
80
|
|
|
81
81
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
82
82
|
and limitations under the License.
|
|
83
|
-
***************************************************************************** */function M(t,e){function n(){this.constructor=t}w(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var S=function(){return(S=Object.assign||function(t){for(var e,n=arguments,r=1,i=arguments.length;r<i;r++)for(var o in e=n[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},A=null;try{var C="function"==typeof t.require&&n(!function(){var t=new Error("Cannot find module 'worker_threads'");throw t.code="MODULE_NOT_FOUND",t}())||__webpack_require__(!function(){var t=new Error("Cannot find module 'worker_threads'");throw t.code="MODULE_NOT_FOUND",t}())||n(!function(){var t=new Error("Cannot find module 'worker_threads'");throw t.code="MODULE_NOT_FOUND",t}());A=C.Worker}catch(t){}function E(t,e){return r.from(t,"base64").toString(e?"utf16":"utf8")}function T(t,e,n){var r=void 0===e?null:e,i=function(t,e){var n=atob(t);if(e){for(var r=new Uint8Array(n.length),i=0,o=n.length;i<o;++i)r[i]=n.charCodeAt(i);return String.fromCharCode.apply(null,new Uint16Array(r.buffer))}return n}(t,void 0!==n&&n),o=i.indexOf("\n",10)+1,a=i.substring(o)+(r?"//# sourceMappingURL="+r:""),s=new Blob([a],{type:"application/javascript"});return URL.createObjectURL(s)}var I="[object process]"===Object.prototype.toString.call(void 0!==i?i:0),L=function(t,e,n){return I?function(t,e,n){var r=void 0===e?null:e,i=E(t,void 0!==n&&n),o=i.indexOf("\n",10)+1,a=i.substring(o)+(r?"//# sourceMappingURL="+r:"");return function(t){return new A(a,Object.assign({},t,{eval:!0}))}}(t,e,n):function(t,e,n){var r;return function(i){return r=r||T(t,e,n),new Worker(r,i)}}(t,e,n)}("Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwovKiEgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCkNvcHlyaWdodCAoYykgTWljcm9zb2Z0IENvcnBvcmF0aW9uLiBBbGwgcmlnaHRzIHJlc2VydmVkLg0KTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlICJMaWNlbnNlIik7IHlvdSBtYXkgbm90IHVzZQ0KdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUNCkxpY2Vuc2UgYXQgaHR0cDovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wDQoNClRISVMgQ09ERSBJUyBQUk9WSURFRCBPTiBBTiAqQVMgSVMqIEJBU0lTLCBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkNCktJTkQsIEVJVEhFUiBFWFBSRVNTIE9SIElNUExJRUQsIElOQ0xVRElORyBXSVRIT1VUIExJTUlUQVRJT04gQU5ZIElNUExJRUQNCldBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBUSVRMRSwgRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFSIFBVUlBPU0UsDQpNRVJDSEFOVEFCTElUWSBPUiBOT04tSU5GUklOR0VNRU5ULg0KDQpTZWUgdGhlIEFwYWNoZSBWZXJzaW9uIDIuMCBMaWNlbnNlIGZvciBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMNCmFuZCBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS4NCioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovDQoNCmZ1bmN0aW9uIF9fYXdhaXRlcih0aGlzQXJnLCBfYXJndW1lbnRzLCBQLCBnZW5lcmF0b3IpIHsNCiAgICByZXR1cm4gbmV3IChQIHx8IChQID0gUHJvbWlzZSkpKGZ1bmN0aW9uIChyZXNvbHZlLCByZWplY3QpIHsNCiAgICAgICAgZnVuY3Rpb24gZnVsZmlsbGVkKHZhbHVlKSB7IHRyeSB7IHN0ZXAoZ2VuZXJhdG9yLm5leHQodmFsdWUpKTsgfSBjYXRjaCAoZSkgeyByZWplY3QoZSk7IH0gfQ0KICAgICAgICBmdW5jdGlvbiByZWplY3RlZCh2YWx1ZSkgeyB0cnkgeyBzdGVwKGdlbmVyYXRvclsidGhyb3ciXSh2YWx1ZSkpOyB9IGNhdGNoIChlKSB7IHJlamVjdChlKTsgfSB9DQogICAgICAgIGZ1bmN0aW9uIHN0ZXAocmVzdWx0KSB7IHJlc3VsdC5kb25lID8gcmVzb2x2ZShyZXN1bHQudmFsdWUpIDogbmV3IFAoZnVuY3Rpb24gKHJlc29sdmUpIHsgcmVzb2x2ZShyZXN1bHQudmFsdWUpOyB9KS50aGVuKGZ1bGZpbGxlZCwgcmVqZWN0ZWQpOyB9DQogICAgICAgIHN0ZXAoKGdlbmVyYXRvciA9IGdlbmVyYXRvci5hcHBseSh0aGlzQXJnLCBfYXJndW1lbnRzIHx8IFtdKSkubmV4dCgpKTsNCiAgICB9KTsNCn0NCg0KZnVuY3Rpb24gX19nZW5lcmF0b3IodGhpc0FyZywgYm9keSkgew0KICAgIHZhciBfID0geyBsYWJlbDogMCwgc2VudDogZnVuY3Rpb24oKSB7IGlmICh0WzBdICYgMSkgeyB0aHJvdyB0WzFdOyB9IHJldHVybiB0WzFdOyB9LCB0cnlzOiBbXSwgb3BzOiBbXSB9LCBmLCB5LCB0LCBnOw0KICAgIHJldHVybiBnID0geyBuZXh0OiB2ZXJiKDApLCAidGhyb3ciOiB2ZXJiKDEpLCAicmV0dXJuIjogdmVyYigyKSB9LCB0eXBlb2YgU3ltYm9sID09PSAiZnVuY3Rpb24iICYmIChnW1N5bWJvbC5pdGVyYXRvcl0gPSBmdW5jdGlvbigpIHsgcmV0dXJuIHRoaXM7IH0pLCBnOw0KICAgIGZ1bmN0aW9uIHZlcmIobikgeyByZXR1cm4gZnVuY3Rpb24gKHYpIHsgcmV0dXJuIHN0ZXAoW24sIHZdKTsgfTsgfQ0KICAgIGZ1bmN0aW9uIHN0ZXAob3ApIHsNCiAgICAgICAgaWYgKGYpIHsgdGhyb3cgbmV3IFR5cGVFcnJvcigiR2VuZXJhdG9yIGlzIGFscmVhZHkgZXhlY3V0aW5nLiIpOyB9DQogICAgICAgIHdoaWxlIChfKSB7IHRyeSB7DQogICAgICAgICAgICBpZiAoZiA9IDEsIHkgJiYgKHQgPSBvcFswXSAmIDIgPyB5WyJyZXR1cm4iXSA6IG9wWzBdID8geVsidGhyb3ciXSB8fCAoKHQgPSB5WyJyZXR1cm4iXSkgJiYgdC5jYWxsKHkpLCAwKSA6IHkubmV4dCkgJiYgISh0ID0gdC5jYWxsKHksIG9wWzFdKSkuZG9uZSkgeyByZXR1cm4gdDsgfQ0KICAgICAgICAgICAgaWYgKHkgPSAwLCB0KSB7IG9wID0gW29wWzBdICYgMiwgdC52YWx1ZV07IH0NCiAgICAgICAgICAgIHN3aXRjaCAob3BbMF0pIHsNCiAgICAgICAgICAgICAgICBjYXNlIDA6IGNhc2UgMTogdCA9IG9wOyBicmVhazsNCiAgICAgICAgICAgICAgICBjYXNlIDQ6IF8ubGFiZWwrKzsgcmV0dXJuIHsgdmFsdWU6IG9wWzFdLCBkb25lOiBmYWxzZSB9Ow0KICAgICAgICAgICAgICAgIGNhc2UgNTogXy5sYWJlbCsrOyB5ID0gb3BbMV07IG9wID0gWzBdOyBjb250aW51ZTsNCiAgICAgICAgICAgICAgICBjYXNlIDc6IG9wID0gXy5vcHMucG9wKCk7IF8udHJ5cy5wb3AoKTsgY29udGludWU7DQogICAgICAgICAgICAgICAgZGVmYXVsdDoNCiAgICAgICAgICAgICAgICAgICAgaWYgKCEodCA9IF8udHJ5cywgdCA9IHQubGVuZ3RoID4gMCAmJiB0W3QubGVuZ3RoIC0gMV0pICYmIChvcFswXSA9PT0gNiB8fCBvcFswXSA9PT0gMikpIHsgXyA9IDA7IGNvbnRpbnVlOyB9DQogICAgICAgICAgICAgICAgICAgIGlmIChvcFswXSA9PT0gMyAmJiAoIXQgfHwgKG9wWzFdID4gdFswXSAmJiBvcFsxXSA8IHRbM10pKSkgeyBfLmxhYmVsID0gb3BbMV07IGJyZWFrOyB9DQogICAgICAgICAgICAgICAgICAgIGlmIChvcFswXSA9PT0gNiAmJiBfLmxhYmVsIDwgdFsxXSkgeyBfLmxhYmVsID0gdFsxXTsgdCA9IG9wOyBicmVhazsgfQ0KICAgICAgICAgICAgICAgICAgICBpZiAodCAmJiBfLmxhYmVsIDwgdFsyXSkgeyBfLmxhYmVsID0gdFsyXTsgXy5vcHMucHVzaChvcCk7IGJyZWFrOyB9DQogICAgICAgICAgICAgICAgICAgIGlmICh0WzJdKSB7IF8ub3BzLnBvcCgpOyB9DQogICAgICAgICAgICAgICAgICAgIF8udHJ5cy5wb3AoKTsgY29udGludWU7DQogICAgICAgICAgICB9DQogICAgICAgICAgICBvcCA9IGJvZHkuY2FsbCh0aGlzQXJnLCBfKTsNCiAgICAgICAgfSBjYXRjaCAoZSkgeyBvcCA9IFs2LCBlXTsgeSA9IDA7IH0gZmluYWxseSB7IGYgPSB0ID0gMDsgfSB9DQogICAgICAgIGlmIChvcFswXSAmIDUpIHsgdGhyb3cgb3BbMV07IH0gcmV0dXJuIHsgdmFsdWU6IG9wWzBdID8gb3BbMV0gOiB2b2lkIDAsIGRvbmU6IHRydWUgfTsNCiAgICB9DQp9CgpmdW5jdGlvbiBjYWxjTWluTWF4KGFycmF5KSB7CiAgICB2YXIgbWluID0gSW5maW5pdHk7CiAgICB2YXIgbWF4ID0gSW5maW5pdHk7CiAgICAvLyBAZnJvbTogaHR0cHM6Ly9zdGFja292ZXJmbG93LmNvbS9xdWVzdGlvbnMvMTM1NDQ0NzYvaG93LXRvLWZpbmQtbWF4LWFuZC1taW4taW4tYXJyYXktdXNpbmctbWluaW11bS1jb21wYXJpc29ucwogICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnJheS5sZW5ndGg7IGkrKykgewogICAgICAgIHZhciB2YWwgPSBhcnJheVtpXTsKICAgICAgICBpZiAobWluID09PSBJbmZpbml0eSkgewogICAgICAgICAgICBtaW4gPSB2YWw7CiAgICAgICAgfQogICAgICAgIGVsc2UgaWYgKG1heCA9PT0gSW5maW5pdHkpIHsKICAgICAgICAgICAgbWF4ID0gdmFsOwogICAgICAgICAgICAvLyB1cGRhdGUgbWluIG1heAogICAgICAgICAgICAvLyAxLiBQaWNrIDIgZWxlbWVudHMoYSwgYiksIGNvbXBhcmUgdGhlbS4gKHNheSBhID4gYikKICAgICAgICAgICAgbWluID0gTWF0aC5taW4obWluLCBtYXgpOwogICAgICAgICAgICBtYXggPSBNYXRoLm1heChtaW4sIG1heCk7CiAgICAgICAgfQogICAgICAgIGVsc2UgewogICAgICAgICAgICAvLyAyLiBVcGRhdGUgbWluIGJ5IGNvbXBhcmluZyAobWluLCBiKQogICAgICAgICAgICAvLyAzLiBVcGRhdGUgbWF4IGJ5IGNvbXBhcmluZyAobWF4LCBhKQogICAgICAgICAgICBtaW4gPSBNYXRoLm1pbih2YWwsIG1pbik7CiAgICAgICAgICAgIG1heCA9IE1hdGgubWF4KHZhbCwgbWF4KTsKICAgICAgICB9CiAgICB9CiAgICByZXR1cm4gW21pbiwgbWF4XTsKfQoKdmFyIGN0eCA9IHNlbGY7CmN0eC5hZGRFdmVudExpc3RlbmVyKCdtZXNzYWdlJywgZnVuY3Rpb24gKF9hKSB7CiAgICB2YXIgcGF5bG9hZCA9IF9hLmRhdGE7CiAgICByZXR1cm4gX19hd2FpdGVyKHZvaWQgMCwgdm9pZCAwLCB2b2lkIDAsIGZ1bmN0aW9uICgpIHsKICAgICAgICB2YXIgcmVuZGVyRm9ybSwgdURhdGEsIHZEYXRhLCBfYiwgdU1pbiwgdU1heCwgX2MsIHZNaW4sIHZNYXgsIHZlbG9jaXR5RGF0YSwgaSwgciwgZywgc2luZ2xlRGF0YSwgX2QsIG1pbiwgbWF4LCB2ZWxvY2l0eURhdGEsIGksIHI7CiAgICAgICAgcmV0dXJuIF9fZ2VuZXJhdG9yKHRoaXMsIGZ1bmN0aW9uIChfZSkgewogICAgICAgICAgICByZW5kZXJGb3JtID0gcGF5bG9hZFswXTsKICAgICAgICAgICAgaWYgKHJlbmRlckZvcm0gPT09ICdyZycpIHsKICAgICAgICAgICAgICAgIHVEYXRhID0gcGF5bG9hZFsxXTsKICAgICAgICAgICAgICAgIHZEYXRhID0gcGF5bG9hZFsyXTsKICAgICAgICAgICAgICAgIF9iID0gY2FsY01pbk1heCh1RGF0YSksIHVNaW4gPSBfYlswXSwgdU1heCA9IF9iWzFdOwogICAgICAgICAgICAgICAgX2MgPSBjYWxjTWluTWF4KHZEYXRhKSwgdk1pbiA9IF9jWzBdLCB2TWF4ID0gX2NbMV07CiAgICAgICAgICAgICAgICB2ZWxvY2l0eURhdGEgPSBuZXcgVWludDhBcnJheSh1RGF0YS5sZW5ndGggKiA0KTsKICAgICAgICAgICAgICAgIGZvciAoaSA9IDA7IGkgPCB1RGF0YS5sZW5ndGg7IGkrKykgewogICAgICAgICAgICAgICAgICAgIHIgPSAyNTUgKiAodURhdGFbaV0gLSB1TWluKSAvICh1TWF4IC0gdU1pbik7CiAgICAgICAgICAgICAgICAgICAgZyA9IDI1NSAqICh2RGF0YVtpXSAtIHZNaW4pIC8gKHZNYXggLSB2TWluKTsKICAgICAgICAgICAgICAgICAgICB2ZWxvY2l0eURhdGEuc2V0KFtyLCBnLCAwLCAyNTVdLCBpICogNCk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBjdHgucG9zdE1lc3NhZ2UoW3ZlbG9jaXR5RGF0YS5idWZmZXIsIHVNaW4sIHVNYXgsIHZNaW4sIHZNYXhdLCBbdmVsb2NpdHlEYXRhLmJ1ZmZlcl0pOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGVsc2UgewogICAgICAgICAgICAgICAgc2luZ2xlRGF0YSA9IHBheWxvYWRbMV07CiAgICAgICAgICAgICAgICBfZCA9IGNhbGNNaW5NYXgoc2luZ2xlRGF0YSksIG1pbiA9IF9kWzBdLCBtYXggPSBfZFsxXTsKICAgICAgICAgICAgICAgIHZlbG9jaXR5RGF0YSA9IG5ldyBVaW50OEFycmF5KHNpbmdsZURhdGEubGVuZ3RoICogNCk7CiAgICAgICAgICAgICAgICBmb3IgKGkgPSAwOyBpIDwgc2luZ2xlRGF0YS5sZW5ndGg7IGkrKykgewogICAgICAgICAgICAgICAgICAgIHIgPSAyNTUgKiAoc2luZ2xlRGF0YVtpXSAtIG1pbikgLyAobWF4IC0gbWluKTsKICAgICAgICAgICAgICAgICAgICB2ZWxvY2l0eURhdGEuc2V0KFtyLCAwLCAwLCAyNTVdLCBpICogNCk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBjdHgucG9zdE1lc3NhZ2UoW3ZlbG9jaXR5RGF0YS5idWZmZXIsIG1pbiwgbWF4XSwgW3ZlbG9jaXR5RGF0YS5idWZmZXJdKTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gWzIgLypyZXR1cm4qL107CiAgICAgICAgfSk7CiAgICB9KTsKfSk7Cgo=","data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGF0YVByb2Nlc3NlLmpzIiwic291cmNlcyI6WyIuLi8uLi9ub2RlX21vZHVsZXMvdHNsaWIvdHNsaWIuZXM2LmpzIiwic3JjL3V0aWxzL2NvbW1vbi50cyIsInNyYy93b3JrZXJzL0RhdGFQcm9jZXNzZS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKiEgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcclxuQ29weXJpZ2h0IChjKSBNaWNyb3NvZnQgQ29ycG9yYXRpb24uIEFsbCByaWdodHMgcmVzZXJ2ZWQuXHJcbkxpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7IHlvdSBtYXkgbm90IHVzZVxyXG50aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS4gWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZVxyXG5MaWNlbnNlIGF0IGh0dHA6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxyXG5cclxuVEhJUyBDT0RFIElTIFBST1ZJREVEIE9OIEFOICpBUyBJUyogQkFTSVMsIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWVxyXG5LSU5ELCBFSVRIRVIgRVhQUkVTUyBPUiBJTVBMSUVELCBJTkNMVURJTkcgV0lUSE9VVCBMSU1JVEFUSU9OIEFOWSBJTVBMSUVEXHJcbldBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBUSVRMRSwgRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFSIFBVUlBPU0UsXHJcbk1FUkNIQU5UQUJMSVRZIE9SIE5PTi1JTkZSSU5HRU1FTlQuXHJcblxyXG5TZWUgdGhlIEFwYWNoZSBWZXJzaW9uIDIuMCBMaWNlbnNlIGZvciBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnNcclxuYW5kIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxyXG4qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiBnbG9iYWwgUmVmbGVjdCwgUHJvbWlzZSAqL1xyXG5cclxudmFyIGV4dGVuZFN0YXRpY3MgPSBmdW5jdGlvbihkLCBiKSB7XHJcbiAgICBleHRlbmRTdGF0aWNzID0gT2JqZWN0LnNldFByb3RvdHlwZU9mIHx8XHJcbiAgICAgICAgKHsgX19wcm90b19fOiBbXSB9IGluc3RhbmNlb2YgQXJyYXkgJiYgZnVuY3Rpb24gKGQsIGIpIHsgZC5fX3Byb3RvX18gPSBiOyB9KSB8fFxyXG4gICAgICAgIGZ1bmN0aW9uIChkLCBiKSB7IGZvciAodmFyIHAgaW4gYikgaWYgKGIuaGFzT3duUHJvcGVydHkocCkpIGRbcF0gPSBiW3BdOyB9O1xyXG4gICAgcmV0dXJuIGV4dGVuZFN0YXRpY3MoZCwgYik7XHJcbn07XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gX19leHRlbmRzKGQsIGIpIHtcclxuICAgIGV4dGVuZFN0YXRpY3MoZCwgYik7XHJcbiAgICBmdW5jdGlvbiBfXygpIHsgdGhpcy5jb25zdHJ1Y3RvciA9IGQ7IH1cclxuICAgIGQucHJvdG90eXBlID0gYiA9PT0gbnVsbCA/IE9iamVjdC5jcmVhdGUoYikgOiAoX18ucHJvdG90eXBlID0gYi5wcm90b3R5cGUsIG5ldyBfXygpKTtcclxufVxyXG5cclxuZXhwb3J0IHZhciBfX2Fzc2lnbiA9IGZ1bmN0aW9uKCkge1xyXG4gICAgX19hc3NpZ24gPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uIF9fYXNzaWduKHQpIHtcclxuICAgICAgICBmb3IgKHZhciBzLCBpID0gMSwgbiA9IGFyZ3VtZW50cy5sZW5ndGg7IGkgPCBuOyBpKyspIHtcclxuICAgICAgICAgICAgcyA9IGFyZ3VtZW50c1tpXTtcclxuICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBzKSBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHMsIHApKSB0W3BdID0gc1twXTtcclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIHQ7XHJcbiAgICB9XHJcbiAgICByZXR1cm4gX19hc3NpZ24uYXBwbHkodGhpcywgYXJndW1lbnRzKTtcclxufVxyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIF9fcmVzdChzLCBlKSB7XHJcbiAgICB2YXIgdCA9IHt9O1xyXG4gICAgZm9yICh2YXIgcCBpbiBzKSBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHMsIHApICYmIGUuaW5kZXhPZihwKSA8IDApXHJcbiAgICAgICAgdFtwXSA9IHNbcF07XHJcbiAgICBpZiAocyAhPSBudWxsICYmIHR5cGVvZiBPYmplY3QuZ2V0T3duUHJvcGVydHlTeW1ib2xzID09PSBcImZ1bmN0aW9uXCIpXHJcbiAgICAgICAgZm9yICh2YXIgaSA9IDAsIHAgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlTeW1ib2xzKHMpOyBpIDwgcC5sZW5ndGg7IGkrKykge1xyXG4gICAgICAgICAgICBpZiAoZS5pbmRleE9mKHBbaV0pIDwgMCAmJiBPYmplY3QucHJvdG90eXBlLnByb3BlcnR5SXNFbnVtZXJhYmxlLmNhbGwocywgcFtpXSkpXHJcbiAgICAgICAgICAgICAgICB0W3BbaV1dID0gc1twW2ldXTtcclxuICAgICAgICB9XHJcbiAgICByZXR1cm4gdDtcclxufVxyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIF9fZGVjb3JhdGUoZGVjb3JhdG9ycywgdGFyZ2V0LCBrZXksIGRlc2MpIHtcclxuICAgIHZhciBjID0gYXJndW1lbnRzLmxlbmd0aCwgciA9IGMgPCAzID8gdGFyZ2V0IDogZGVzYyA9PT0gbnVsbCA/IGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKHRhcmdldCwga2V5KSA6IGRlc2MsIGQ7XHJcbiAgICBpZiAodHlwZW9mIFJlZmxlY3QgPT09IFwib2JqZWN0XCIgJiYgdHlwZW9mIFJlZmxlY3QuZGVjb3JhdGUgPT09IFwiZnVuY3Rpb25cIikgciA9IFJlZmxlY3QuZGVjb3JhdGUoZGVjb3JhdG9ycywgdGFyZ2V0LCBrZXksIGRlc2MpO1xyXG4gICAgZWxzZSBmb3IgKHZhciBpID0gZGVjb3JhdG9ycy5sZW5ndGggLSAxOyBpID49IDA7IGktLSkgaWYgKGQgPSBkZWNvcmF0b3JzW2ldKSByID0gKGMgPCAzID8gZChyKSA6IGMgPiAzID8gZCh0YXJnZXQsIGtleSwgcikgOiBkKHRhcmdldCwga2V5KSkgfHwgcjtcclxuICAgIHJldHVybiBjID4gMyAmJiByICYmIE9iamVjdC5kZWZpbmVQcm9wZXJ0eSh0YXJnZXQsIGtleSwgciksIHI7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX3BhcmFtKHBhcmFtSW5kZXgsIGRlY29yYXRvcikge1xyXG4gICAgcmV0dXJuIGZ1bmN0aW9uICh0YXJnZXQsIGtleSkgeyBkZWNvcmF0b3IodGFyZ2V0LCBrZXksIHBhcmFtSW5kZXgpOyB9XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX21ldGFkYXRhKG1ldGFkYXRhS2V5LCBtZXRhZGF0YVZhbHVlKSB7XHJcbiAgICBpZiAodHlwZW9mIFJlZmxlY3QgPT09IFwib2JqZWN0XCIgJiYgdHlwZW9mIFJlZmxlY3QubWV0YWRhdGEgPT09IFwiZnVuY3Rpb25cIikgcmV0dXJuIFJlZmxlY3QubWV0YWRhdGEobWV0YWRhdGFLZXksIG1ldGFkYXRhVmFsdWUpO1xyXG59XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gX19hd2FpdGVyKHRoaXNBcmcsIF9hcmd1bWVudHMsIFAsIGdlbmVyYXRvcikge1xyXG4gICAgcmV0dXJuIG5ldyAoUCB8fCAoUCA9IFByb21pc2UpKShmdW5jdGlvbiAocmVzb2x2ZSwgcmVqZWN0KSB7XHJcbiAgICAgICAgZnVuY3Rpb24gZnVsZmlsbGVkKHZhbHVlKSB7IHRyeSB7IHN0ZXAoZ2VuZXJhdG9yLm5leHQodmFsdWUpKTsgfSBjYXRjaCAoZSkgeyByZWplY3QoZSk7IH0gfVxyXG4gICAgICAgIGZ1bmN0aW9uIHJlamVjdGVkKHZhbHVlKSB7IHRyeSB7IHN0ZXAoZ2VuZXJhdG9yW1widGhyb3dcIl0odmFsdWUpKTsgfSBjYXRjaCAoZSkgeyByZWplY3QoZSk7IH0gfVxyXG4gICAgICAgIGZ1bmN0aW9uIHN0ZXAocmVzdWx0KSB7IHJlc3VsdC5kb25lID8gcmVzb2x2ZShyZXN1bHQudmFsdWUpIDogbmV3IFAoZnVuY3Rpb24gKHJlc29sdmUpIHsgcmVzb2x2ZShyZXN1bHQudmFsdWUpOyB9KS50aGVuKGZ1bGZpbGxlZCwgcmVqZWN0ZWQpOyB9XHJcbiAgICAgICAgc3RlcCgoZ2VuZXJhdG9yID0gZ2VuZXJhdG9yLmFwcGx5KHRoaXNBcmcsIF9hcmd1bWVudHMgfHwgW10pKS5uZXh0KCkpO1xyXG4gICAgfSk7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX2dlbmVyYXRvcih0aGlzQXJnLCBib2R5KSB7XHJcbiAgICB2YXIgXyA9IHsgbGFiZWw6IDAsIHNlbnQ6IGZ1bmN0aW9uKCkgeyBpZiAodFswXSAmIDEpIHRocm93IHRbMV07IHJldHVybiB0WzFdOyB9LCB0cnlzOiBbXSwgb3BzOiBbXSB9LCBmLCB5LCB0LCBnO1xyXG4gICAgcmV0dXJuIGcgPSB7IG5leHQ6IHZlcmIoMCksIFwidGhyb3dcIjogdmVyYigxKSwgXCJyZXR1cm5cIjogdmVyYigyKSB9LCB0eXBlb2YgU3ltYm9sID09PSBcImZ1bmN0aW9uXCIgJiYgKGdbU3ltYm9sLml0ZXJhdG9yXSA9IGZ1bmN0aW9uKCkgeyByZXR1cm4gdGhpczsgfSksIGc7XHJcbiAgICBmdW5jdGlvbiB2ZXJiKG4pIHsgcmV0dXJuIGZ1bmN0aW9uICh2KSB7IHJldHVybiBzdGVwKFtuLCB2XSk7IH07IH1cclxuICAgIGZ1bmN0aW9uIHN0ZXAob3ApIHtcclxuICAgICAgICBpZiAoZikgdGhyb3cgbmV3IFR5cGVFcnJvcihcIkdlbmVyYXRvciBpcyBhbHJlYWR5IGV4ZWN1dGluZy5cIik7XHJcbiAgICAgICAgd2hpbGUgKF8pIHRyeSB7XHJcbiAgICAgICAgICAgIGlmIChmID0gMSwgeSAmJiAodCA9IG9wWzBdICYgMiA/IHlbXCJyZXR1cm5cIl0gOiBvcFswXSA/IHlbXCJ0aHJvd1wiXSB8fCAoKHQgPSB5W1wicmV0dXJuXCJdKSAmJiB0LmNhbGwoeSksIDApIDogeS5uZXh0KSAmJiAhKHQgPSB0LmNhbGwoeSwgb3BbMV0pKS5kb25lKSByZXR1cm4gdDtcclxuICAgICAgICAgICAgaWYgKHkgPSAwLCB0KSBvcCA9IFtvcFswXSAmIDIsIHQudmFsdWVdO1xyXG4gICAgICAgICAgICBzd2l0Y2ggKG9wWzBdKSB7XHJcbiAgICAgICAgICAgICAgICBjYXNlIDA6IGNhc2UgMTogdCA9IG9wOyBicmVhaztcclxuICAgICAgICAgICAgICAgIGNhc2UgNDogXy5sYWJlbCsrOyByZXR1cm4geyB2YWx1ZTogb3BbMV0sIGRvbmU6IGZhbHNlIH07XHJcbiAgICAgICAgICAgICAgICBjYXNlIDU6IF8ubGFiZWwrKzsgeSA9IG9wWzFdOyBvcCA9IFswXTsgY29udGludWU7XHJcbiAgICAgICAgICAgICAgICBjYXNlIDc6IG9wID0gXy5vcHMucG9wKCk7IF8udHJ5cy5wb3AoKTsgY29udGludWU7XHJcbiAgICAgICAgICAgICAgICBkZWZhdWx0OlxyXG4gICAgICAgICAgICAgICAgICAgIGlmICghKHQgPSBfLnRyeXMsIHQgPSB0Lmxlbmd0aCA+IDAgJiYgdFt0Lmxlbmd0aCAtIDFdKSAmJiAob3BbMF0gPT09IDYgfHwgb3BbMF0gPT09IDIpKSB7IF8gPSAwOyBjb250aW51ZTsgfVxyXG4gICAgICAgICAgICAgICAgICAgIGlmIChvcFswXSA9PT0gMyAmJiAoIXQgfHwgKG9wWzFdID4gdFswXSAmJiBvcFsxXSA8IHRbM10pKSkgeyBfLmxhYmVsID0gb3BbMV07IGJyZWFrOyB9XHJcbiAgICAgICAgICAgICAgICAgICAgaWYgKG9wWzBdID09PSA2ICYmIF8ubGFiZWwgPCB0WzFdKSB7IF8ubGFiZWwgPSB0WzFdOyB0ID0gb3A7IGJyZWFrOyB9XHJcbiAgICAgICAgICAgICAgICAgICAgaWYgKHQgJiYgXy5sYWJlbCA8IHRbMl0pIHsgXy5sYWJlbCA9IHRbMl07IF8ub3BzLnB1c2gob3ApOyBicmVhazsgfVxyXG4gICAgICAgICAgICAgICAgICAgIGlmICh0WzJdKSBfLm9wcy5wb3AoKTtcclxuICAgICAgICAgICAgICAgICAgICBfLnRyeXMucG9wKCk7IGNvbnRpbnVlO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIG9wID0gYm9keS5jYWxsKHRoaXNBcmcsIF8pO1xyXG4gICAgICAgIH0gY2F0Y2ggKGUpIHsgb3AgPSBbNiwgZV07IHkgPSAwOyB9IGZpbmFsbHkgeyBmID0gdCA9IDA7IH1cclxuICAgICAgICBpZiAob3BbMF0gJiA1KSB0aHJvdyBvcFsxXTsgcmV0dXJuIHsgdmFsdWU6IG9wWzBdID8gb3BbMV0gOiB2b2lkIDAsIGRvbmU6IHRydWUgfTtcclxuICAgIH1cclxufVxyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIF9fZXhwb3J0U3RhcihtLCBleHBvcnRzKSB7XHJcbiAgICBmb3IgKHZhciBwIGluIG0pIGlmICghZXhwb3J0cy5oYXNPd25Qcm9wZXJ0eShwKSkgZXhwb3J0c1twXSA9IG1bcF07XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX3ZhbHVlcyhvKSB7XHJcbiAgICB2YXIgbSA9IHR5cGVvZiBTeW1ib2wgPT09IFwiZnVuY3Rpb25cIiAmJiBvW1N5bWJvbC5pdGVyYXRvcl0sIGkgPSAwO1xyXG4gICAgaWYgKG0pIHJldHVybiBtLmNhbGwobyk7XHJcbiAgICByZXR1cm4ge1xyXG4gICAgICAgIG5leHQ6IGZ1bmN0aW9uICgpIHtcclxuICAgICAgICAgICAgaWYgKG8gJiYgaSA+PSBvLmxlbmd0aCkgbyA9IHZvaWQgMDtcclxuICAgICAgICAgICAgcmV0dXJuIHsgdmFsdWU6IG8gJiYgb1tpKytdLCBkb25lOiAhbyB9O1xyXG4gICAgICAgIH1cclxuICAgIH07XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX3JlYWQobywgbikge1xyXG4gICAgdmFyIG0gPSB0eXBlb2YgU3ltYm9sID09PSBcImZ1bmN0aW9uXCIgJiYgb1tTeW1ib2wuaXRlcmF0b3JdO1xyXG4gICAgaWYgKCFtKSByZXR1cm4gbztcclxuICAgIHZhciBpID0gbS5jYWxsKG8pLCByLCBhciA9IFtdLCBlO1xyXG4gICAgdHJ5IHtcclxuICAgICAgICB3aGlsZSAoKG4gPT09IHZvaWQgMCB8fCBuLS0gPiAwKSAmJiAhKHIgPSBpLm5leHQoKSkuZG9uZSkgYXIucHVzaChyLnZhbHVlKTtcclxuICAgIH1cclxuICAgIGNhdGNoIChlcnJvcikgeyBlID0geyBlcnJvcjogZXJyb3IgfTsgfVxyXG4gICAgZmluYWxseSB7XHJcbiAgICAgICAgdHJ5IHtcclxuICAgICAgICAgICAgaWYgKHIgJiYgIXIuZG9uZSAmJiAobSA9IGlbXCJyZXR1cm5cIl0pKSBtLmNhbGwoaSk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIGZpbmFsbHkgeyBpZiAoZSkgdGhyb3cgZS5lcnJvcjsgfVxyXG4gICAgfVxyXG4gICAgcmV0dXJuIGFyO1xyXG59XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gX19zcHJlYWQoKSB7XHJcbiAgICBmb3IgKHZhciBhciA9IFtdLCBpID0gMDsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKylcclxuICAgICAgICBhciA9IGFyLmNvbmNhdChfX3JlYWQoYXJndW1lbnRzW2ldKSk7XHJcbiAgICByZXR1cm4gYXI7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX3NwcmVhZEFycmF5cygpIHtcclxuICAgIGZvciAodmFyIHMgPSAwLCBpID0gMCwgaWwgPSBhcmd1bWVudHMubGVuZ3RoOyBpIDwgaWw7IGkrKykgcyArPSBhcmd1bWVudHNbaV0ubGVuZ3RoO1xyXG4gICAgZm9yICh2YXIgciA9IEFycmF5KHMpLCBrID0gMCwgaSA9IDA7IGkgPCBpbDsgaSsrKVxyXG4gICAgICAgIGZvciAodmFyIGEgPSBhcmd1bWVudHNbaV0sIGogPSAwLCBqbCA9IGEubGVuZ3RoOyBqIDwgamw7IGorKywgaysrKVxyXG4gICAgICAgICAgICByW2tdID0gYVtqXTtcclxuICAgIHJldHVybiByO1xyXG59O1xyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIF9fYXdhaXQodikge1xyXG4gICAgcmV0dXJuIHRoaXMgaW5zdGFuY2VvZiBfX2F3YWl0ID8gKHRoaXMudiA9IHYsIHRoaXMpIDogbmV3IF9fYXdhaXQodik7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX2FzeW5jR2VuZXJhdG9yKHRoaXNBcmcsIF9hcmd1bWVudHMsIGdlbmVyYXRvcikge1xyXG4gICAgaWYgKCFTeW1ib2wuYXN5bmNJdGVyYXRvcikgdGhyb3cgbmV3IFR5cGVFcnJvcihcIlN5bWJvbC5hc3luY0l0ZXJhdG9yIGlzIG5vdCBkZWZpbmVkLlwiKTtcclxuICAgIHZhciBnID0gZ2VuZXJhdG9yLmFwcGx5KHRoaXNBcmcsIF9hcmd1bWVudHMgfHwgW10pLCBpLCBxID0gW107XHJcbiAgICByZXR1cm4gaSA9IHt9LCB2ZXJiKFwibmV4dFwiKSwgdmVyYihcInRocm93XCIpLCB2ZXJiKFwicmV0dXJuXCIpLCBpW1N5bWJvbC5hc3luY0l0ZXJhdG9yXSA9IGZ1bmN0aW9uICgpIHsgcmV0dXJuIHRoaXM7IH0sIGk7XHJcbiAgICBmdW5jdGlvbiB2ZXJiKG4pIHsgaWYgKGdbbl0pIGlbbl0gPSBmdW5jdGlvbiAodikgeyByZXR1cm4gbmV3IFByb21pc2UoZnVuY3Rpb24gKGEsIGIpIHsgcS5wdXNoKFtuLCB2LCBhLCBiXSkgPiAxIHx8IHJlc3VtZShuLCB2KTsgfSk7IH07IH1cclxuICAgIGZ1bmN0aW9uIHJlc3VtZShuLCB2KSB7IHRyeSB7IHN0ZXAoZ1tuXSh2KSk7IH0gY2F0Y2ggKGUpIHsgc2V0dGxlKHFbMF1bM10sIGUpOyB9IH1cclxuICAgIGZ1bmN0aW9uIHN0ZXAocikgeyByLnZhbHVlIGluc3RhbmNlb2YgX19hd2FpdCA/IFByb21pc2UucmVzb2x2ZShyLnZhbHVlLnYpLnRoZW4oZnVsZmlsbCwgcmVqZWN0KSA6IHNldHRsZShxWzBdWzJdLCByKTsgfVxyXG4gICAgZnVuY3Rpb24gZnVsZmlsbCh2YWx1ZSkgeyByZXN1bWUoXCJuZXh0XCIsIHZhbHVlKTsgfVxyXG4gICAgZnVuY3Rpb24gcmVqZWN0KHZhbHVlKSB7IHJlc3VtZShcInRocm93XCIsIHZhbHVlKTsgfVxyXG4gICAgZnVuY3Rpb24gc2V0dGxlKGYsIHYpIHsgaWYgKGYodiksIHEuc2hpZnQoKSwgcS5sZW5ndGgpIHJlc3VtZShxWzBdWzBdLCBxWzBdWzFdKTsgfVxyXG59XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gX19hc3luY0RlbGVnYXRvcihvKSB7XHJcbiAgICB2YXIgaSwgcDtcclxuICAgIHJldHVybiBpID0ge30sIHZlcmIoXCJuZXh0XCIpLCB2ZXJiKFwidGhyb3dcIiwgZnVuY3Rpb24gKGUpIHsgdGhyb3cgZTsgfSksIHZlcmIoXCJyZXR1cm5cIiksIGlbU3ltYm9sLml0ZXJhdG9yXSA9IGZ1bmN0aW9uICgpIHsgcmV0dXJuIHRoaXM7IH0sIGk7XHJcbiAgICBmdW5jdGlvbiB2ZXJiKG4sIGYpIHsgaVtuXSA9IG9bbl0gPyBmdW5jdGlvbiAodikgeyByZXR1cm4gKHAgPSAhcCkgPyB7IHZhbHVlOiBfX2F3YWl0KG9bbl0odikpLCBkb25lOiBuID09PSBcInJldHVyblwiIH0gOiBmID8gZih2KSA6IHY7IH0gOiBmOyB9XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX2FzeW5jVmFsdWVzKG8pIHtcclxuICAgIGlmICghU3ltYm9sLmFzeW5jSXRlcmF0b3IpIHRocm93IG5ldyBUeXBlRXJyb3IoXCJTeW1ib2wuYXN5bmNJdGVyYXRvciBpcyBub3QgZGVmaW5lZC5cIik7XHJcbiAgICB2YXIgbSA9IG9bU3ltYm9sLmFzeW5jSXRlcmF0b3JdLCBpO1xyXG4gICAgcmV0dXJuIG0gPyBtLmNhbGwobykgOiAobyA9IHR5cGVvZiBfX3ZhbHVlcyA9PT0gXCJmdW5jdGlvblwiID8gX192YWx1ZXMobykgOiBvW1N5bWJvbC5pdGVyYXRvcl0oKSwgaSA9IHt9LCB2ZXJiKFwibmV4dFwiKSwgdmVyYihcInRocm93XCIpLCB2ZXJiKFwicmV0dXJuXCIpLCBpW1N5bWJvbC5hc3luY0l0ZXJhdG9yXSA9IGZ1bmN0aW9uICgpIHsgcmV0dXJuIHRoaXM7IH0sIGkpO1xyXG4gICAgZnVuY3Rpb24gdmVyYihuKSB7IGlbbl0gPSBvW25dICYmIGZ1bmN0aW9uICh2KSB7IHJldHVybiBuZXcgUHJvbWlzZShmdW5jdGlvbiAocmVzb2x2ZSwgcmVqZWN0KSB7IHYgPSBvW25dKHYpLCBzZXR0bGUocmVzb2x2ZSwgcmVqZWN0LCB2LmRvbmUsIHYudmFsdWUpOyB9KTsgfTsgfVxyXG4gICAgZnVuY3Rpb24gc2V0dGxlKHJlc29sdmUsIHJlamVjdCwgZCwgdikgeyBQcm9taXNlLnJlc29sdmUodikudGhlbihmdW5jdGlvbih2KSB7IHJlc29sdmUoeyB2YWx1ZTogdiwgZG9uZTogZCB9KTsgfSwgcmVqZWN0KTsgfVxyXG59XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gX19tYWtlVGVtcGxhdGVPYmplY3QoY29va2VkLCByYXcpIHtcclxuICAgIGlmIChPYmplY3QuZGVmaW5lUHJvcGVydHkpIHsgT2JqZWN0LmRlZmluZVByb3BlcnR5KGNvb2tlZCwgXCJyYXdcIiwgeyB2YWx1ZTogcmF3IH0pOyB9IGVsc2UgeyBjb29rZWQucmF3ID0gcmF3OyB9XHJcbiAgICByZXR1cm4gY29va2VkO1xyXG59O1xyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIF9faW1wb3J0U3Rhcihtb2QpIHtcclxuICAgIGlmIChtb2QgJiYgbW9kLl9fZXNNb2R1bGUpIHJldHVybiBtb2Q7XHJcbiAgICB2YXIgcmVzdWx0ID0ge307XHJcbiAgICBpZiAobW9kICE9IG51bGwpIGZvciAodmFyIGsgaW4gbW9kKSBpZiAoT2JqZWN0Lmhhc093blByb3BlcnR5LmNhbGwobW9kLCBrKSkgcmVzdWx0W2tdID0gbW9kW2tdO1xyXG4gICAgcmVzdWx0LmRlZmF1bHQgPSBtb2Q7XHJcbiAgICByZXR1cm4gcmVzdWx0O1xyXG59XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gX19pbXBvcnREZWZhdWx0KG1vZCkge1xyXG4gICAgcmV0dXJuIChtb2QgJiYgbW9kLl9fZXNNb2R1bGUpID8gbW9kIDogeyBkZWZhdWx0OiBtb2QgfTtcclxufVxyXG4iLCJleHBvcnQgZnVuY3Rpb24gY2FsY01pbk1heChhcnJheTogbnVtYmVyW10pOiBbbnVtYmVyLCBudW1iZXJdIHtcbiAgbGV0IG1pbiA9IEluZmluaXR5O1xuICBsZXQgbWF4ID0gSW5maW5pdHk7XG4gIC8vIEBmcm9tOiBodHRwczovL3N0YWNrb3ZlcmZsb3cuY29tL3F1ZXN0aW9ucy8xMzU0NDQ3Ni9ob3ctdG8tZmluZC1tYXgtYW5kLW1pbi1pbi1hcnJheS11c2luZy1taW5pbXVtLWNvbXBhcmlzb25zXG4gIGZvciAobGV0IGkgPSAwOyBpIDwgYXJyYXkubGVuZ3RoOyBpKyspIHtcbiAgICBjb25zdCB2YWwgPSBhcnJheVtpXTtcblxuICAgIGlmIChtaW4gPT09IEluZmluaXR5KSB7XG4gICAgICBtaW4gPSB2YWw7XG4gICAgfSBlbHNlIGlmIChtYXggPT09IEluZmluaXR5KSB7XG4gICAgICBtYXggPSB2YWw7XG4gICAgICAvLyB1cGRhdGUgbWluIG1heFxuICAgICAgLy8gMS4gUGljayAyIGVsZW1lbnRzKGEsIGIpLCBjb21wYXJlIHRoZW0uIChzYXkgYSA+IGIpXG4gICAgICBtaW4gPSBNYXRoLm1pbihtaW4sIG1heCk7XG4gICAgICBtYXggPSBNYXRoLm1heChtaW4sIG1heCk7XG4gICAgfSBlbHNlIHtcbiAgICAgIC8vIDIuIFVwZGF0ZSBtaW4gYnkgY29tcGFyaW5nIChtaW4sIGIpXG4gICAgICAvLyAzLiBVcGRhdGUgbWF4IGJ5IGNvbXBhcmluZyAobWF4LCBhKVxuICAgICAgbWluID0gTWF0aC5taW4odmFsLCBtaW4pO1xuICAgICAgbWF4ID0gTWF0aC5tYXgodmFsLCBtYXgpO1xuICAgIH1cbiAgfVxuICByZXR1cm4gW21pbiwgbWF4XTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGlzTnVtYmVyKHZhbDogYW55KTogYm9vbGVhbiB7XG4gIHJldHVybiB0eXBlb2YgdmFsID09PSAnbnVtYmVyJyAmJiAhaXNOYU4odmFsKTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGlzVmFsaWRlKHZhbDogYW55KTogYm9vbGVhbiB7XG4gIHJldHVybiB2YWwgIT09IHVuZGVmaW5lZCAmJiB2YWwgIT09IG51bGwgJiYgIWlzTmFOKHZhbCk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBmaW5kU3RvcExlc3NUaGFuT3JFcXVhbFRvKHN0b3BzOiBudW1iZXJbXSwgaW5wdXQ6IG51bWJlcikge1xuICBjb25zdCBsYXN0SW5kZXggPSBzdG9wcy5sZW5ndGggLSAxO1xuICBsZXQgbG93ZXJJbmRleCA9IDA7XG4gIGxldCB1cHBlckluZGV4ID0gbGFzdEluZGV4O1xuICBsZXQgY3VycmVudEluZGV4ID0gMDtcbiAgbGV0IGN1cnJlbnRWYWx1ZTtcbiAgbGV0IG5leHRWYWx1ZTtcblxuICB3aGlsZSAobG93ZXJJbmRleCA8PSB1cHBlckluZGV4KSB7XG4gICAgY3VycmVudEluZGV4ID0gTWF0aC5mbG9vcigobG93ZXJJbmRleCArIHVwcGVySW5kZXgpIC8gMik7XG4gICAgY3VycmVudFZhbHVlID0gc3RvcHNbY3VycmVudEluZGV4XTtcbiAgICBuZXh0VmFsdWUgPSBzdG9wc1tjdXJyZW50SW5kZXggKyAxXTtcblxuICAgIGlmIChjdXJyZW50VmFsdWUgPD0gaW5wdXQpIHtcbiAgICAgIGlmIChjdXJyZW50SW5kZXggPT09IGxhc3RJbmRleCB8fCBpbnB1dCA8IG5leHRWYWx1ZSkge1xuICAgICAgICAvLyBTZWFyY2ggY29tcGxldGVcbiAgICAgICAgcmV0dXJuIGN1cnJlbnRJbmRleDtcbiAgICAgIH1cblxuICAgICAgbG93ZXJJbmRleCA9IGN1cnJlbnRJbmRleCArIDE7XG4gICAgfSBlbHNlIGlmIChjdXJyZW50VmFsdWUgPiBpbnB1dCkge1xuICAgICAgdXBwZXJJbmRleCA9IGN1cnJlbnRJbmRleCAtIDE7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcignSW5wdXQgaXMgbm90IGEgbnVtYmVyLicpO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiAwO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gZnA2NExvd1BhcnQoeDogbnVtYmVyKSB7XG4gIHJldHVybiB4IC0gTWF0aC5mcm91bmQoeCk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBtYXQ0SW52ZXJ0KG91dDogbnVtYmVyW10sIGE6IG51bWJlcltdKSB7XG4gIGNvbnN0IGEwMCA9IGFbMF07XG4gIGNvbnN0IGEwMSA9IGFbMV07XG4gIGNvbnN0IGEwMiA9IGFbMl07XG4gIGNvbnN0IGEwMyA9IGFbM107XG4gIGNvbnN0IGExMCA9IGFbNF07XG4gIGNvbnN0IGExMSA9IGFbNV07XG4gIGNvbnN0IGExMiA9IGFbNl07XG4gIGNvbnN0IGExMyA9IGFbN107XG4gIGNvbnN0IGEyMCA9IGFbOF07XG4gIGNvbnN0IGEyMSA9IGFbOV07XG4gIGNvbnN0IGEyMiA9IGFbMTBdO1xuICBjb25zdCBhMjMgPSBhWzExXTtcbiAgY29uc3QgYTMwID0gYVsxMl07XG4gIGNvbnN0IGEzMSA9IGFbMTNdO1xuICBjb25zdCBhMzIgPSBhWzE0XTtcbiAgY29uc3QgYTMzID0gYVsxNV07XG5cbiAgY29uc3QgYjAwID0gYTAwICogYTExIC0gYTAxICogYTEwO1xuICBjb25zdCBiMDEgPSBhMDAgKiBhMTIgLSBhMDIgKiBhMTA7XG4gIGNvbnN0IGIwMiA9IGEwMCAqIGExMyAtIGEwMyAqIGExMDtcbiAgY29uc3QgYjAzID0gYTAxICogYTEyIC0gYTAyICogYTExO1xuICBjb25zdCBiMDQgPSBhMDEgKiBhMTMgLSBhMDMgKiBhMTE7XG4gIGNvbnN0IGIwNSA9IGEwMiAqIGExMyAtIGEwMyAqIGExMjtcbiAgY29uc3QgYjA2ID0gYTIwICogYTMxIC0gYTIxICogYTMwO1xuICBjb25zdCBiMDcgPSBhMjAgKiBhMzIgLSBhMjIgKiBhMzA7XG4gIGNvbnN0IGIwOCA9IGEyMCAqIGEzMyAtIGEyMyAqIGEzMDtcbiAgY29uc3QgYjA5ID0gYTIxICogYTMyIC0gYTIyICogYTMxO1xuICBjb25zdCBiMTAgPSBhMjEgKiBhMzMgLSBhMjMgKiBhMzE7XG4gIGNvbnN0IGIxMSA9IGEyMiAqIGEzMyAtIGEyMyAqIGEzMjtcblxuICAvLyBDYWxjdWxhdGUgdGhlIGRldGVybWluYW50XG4gIGxldCBkZXQgPVxuICAgIGIwMCAqIGIxMSAtIGIwMSAqIGIxMCArIGIwMiAqIGIwOSArIGIwMyAqIGIwOCAtIGIwNCAqIGIwNyArIGIwNSAqIGIwNjtcblxuICBpZiAoIWRldCkge1xuICAgIHJldHVybiBudWxsO1xuICB9XG4gIGRldCA9IDEuMCAvIGRldDtcblxuICBvdXRbMF0gPSAoYTExICogYjExIC0gYTEyICogYjEwICsgYTEzICogYjA5KSAqIGRldDtcbiAgb3V0WzFdID0gKGEwMiAqIGIxMCAtIGEwMSAqIGIxMSAtIGEwMyAqIGIwOSkgKiBkZXQ7XG4gIG91dFsyXSA9IChhMzEgKiBiMDUgLSBhMzIgKiBiMDQgKyBhMzMgKiBiMDMpICogZGV0O1xuICBvdXRbM10gPSAoYTIyICogYjA0IC0gYTIxICogYjA1IC0gYTIzICogYjAzKSAqIGRldDtcbiAgb3V0WzRdID0gKGExMiAqIGIwOCAtIGExMCAqIGIxMSAtIGExMyAqIGIwNykgKiBkZXQ7XG4gIG91dFs1XSA9IChhMDAgKiBiMTEgLSBhMDIgKiBiMDggKyBhMDMgKiBiMDcpICogZGV0O1xuICBvdXRbNl0gPSAoYTMyICogYjAyIC0gYTMwICogYjA1IC0gYTMzICogYjAxKSAqIGRldDtcbiAgb3V0WzddID0gKGEyMCAqIGIwNSAtIGEyMiAqIGIwMiArIGEyMyAqIGIwMSkgKiBkZXQ7XG4gIG91dFs4XSA9IChhMTAgKiBiMTAgLSBhMTEgKiBiMDggKyBhMTMgKiBiMDYpICogZGV0O1xuICBvdXRbOV0gPSAoYTAxICogYjA4IC0gYTAwICogYjEwIC0gYTAzICogYjA2KSAqIGRldDtcbiAgb3V0WzEwXSA9IChhMzAgKiBiMDQgLSBhMzEgKiBiMDIgKyBhMzMgKiBiMDApICogZGV0O1xuICBvdXRbMTFdID0gKGEyMSAqIGIwMiAtIGEyMCAqIGIwNCAtIGEyMyAqIGIwMCkgKiBkZXQ7XG4gIG91dFsxMl0gPSAoYTExICogYjA3IC0gYTEwICogYjA5IC0gYTEyICogYjA2KSAqIGRldDtcbiAgb3V0WzEzXSA9IChhMDAgKiBiMDkgLSBhMDEgKiBiMDcgKyBhMDIgKiBiMDYpICogZGV0O1xuICBvdXRbMTRdID0gKGEzMSAqIGIwMSAtIGEzMCAqIGIwMyAtIGEzMiAqIGIwMCkgKiBkZXQ7XG4gIG91dFsxNV0gPSAoYTIwICogYjAzIC0gYTIxICogYjAxICsgYTIyICogYjAwKSAqIGRldDtcblxuICByZXR1cm4gb3V0O1xufVxuXG5leHBvcnQgZnVuY3Rpb24gdHJhbnNmb3JtTWF0NChvdXQ6IG51bWJlcltdLCBhOiBudW1iZXJbXSwgbTogbnVtYmVyW10pIHtcbiAgY29uc3QgeCA9IGFbMF07XG4gIGNvbnN0IHkgPSBhWzFdO1xuICBjb25zdCB6ID0gYVsyXTtcbiAgY29uc3QgdyA9IGFbM107XG4gIG91dFswXSA9IG1bMF0gKiB4ICsgbVs0XSAqIHkgKyBtWzhdICogeiArIG1bMTJdICogdzsgLy8gMFxuICBvdXRbMV0gPSBtWzFdICogeCArIG1bNV0gKiB5ICsgbVs5XSAqIHogKyBtWzEzXSAqIHc7IC8vIDBcbiAgb3V0WzJdID0gbVsyXSAqIHggKyBtWzZdICogeSArIG1bMTBdICogeiArIG1bMTRdICogdzsgLy8gMFxuICBvdXRbM10gPSBtWzNdICogeCArIG1bN10gKiB5ICsgbVsxMV0gKiB6ICsgbVsxNV0gKiB3OyAvLyAxXG4gIHJldHVybiBvdXQ7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBnZXRFeWUobWF0cml4OiBudW1iZXJbXSkge1xuICBjb25zdCBkZWZhdWx0TWF0NCA9IFsxLCAwLCAwLCAwLCAwLCAxLCAwLCAwLCAwLCAwLCAxLCAwLCAwLCAwLCAwLCAxXTsgLy8gaW5zdGVkIG9mIG1hdDQuY3JlYXRlKClcbiAgbGV0IGV5ZSA9IHRyYW5zZm9ybU1hdDQoXG4gICAgW10sXG4gICAgWzAsIDAsIDAsIDFdLFxuICAgIG1hdDRJbnZlcnQoZGVmYXVsdE1hdDQsIG1hdHJpeCkgYXMgbnVtYmVyW10sXG4gICk7XG4gIGNvbnN0IGNsaXBXID0gMS4wIC8gZXllWzNdO1xuICBleWUgPSBleWUubWFwKChpdGVtOiBudW1iZXIpID0+IGl0ZW0gLyBleWVbM10pO1xuICBleWVbM10gPSBjbGlwVztcbiAgcmV0dXJuIGV5ZTtcbn1cbiIsImltcG9ydCB7IGNhbGNNaW5NYXggfSBmcm9tICcuLi91dGlscy9jb21tb24nO1xuXG5jb25zdCBjdHg6IFdvcmtlciA9IHNlbGYgYXMgYW55O1xuXG5jdHguYWRkRXZlbnRMaXN0ZW5lcignbWVzc2FnZScsIGFzeW5jICh7IGRhdGE6IHBheWxvYWQgfSkgPT4ge1xuICBjb25zdCByZW5kZXJGb3JtID0gcGF5bG9hZFswXTtcbiAgaWYgKHJlbmRlckZvcm0gPT09ICdyZycpIHtcbiAgICBjb25zdCB1RGF0YSA9IHBheWxvYWRbMV07XG4gICAgY29uc3QgdkRhdGEgPSBwYXlsb2FkWzJdO1xuICAgIGNvbnN0IFt1TWluLCB1TWF4XSA9IGNhbGNNaW5NYXgodURhdGEpO1xuICAgIGNvbnN0IFt2TWluLCB2TWF4XSA9IGNhbGNNaW5NYXgodkRhdGEpO1xuICAgIGNvbnN0IHZlbG9jaXR5RGF0YSA9IG5ldyBVaW50OEFycmF5KHVEYXRhLmxlbmd0aCAqIDQpO1xuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgdURhdGEubGVuZ3RoOyBpKyspIHtcbiAgICAgIGNvbnN0IHIgPSAyNTUgKiAodURhdGFbaV0gLSB1TWluKSAvICh1TWF4IC0gdU1pbik7XG4gICAgICBjb25zdCBnID0gMjU1ICogKHZEYXRhW2ldIC0gdk1pbikgLyAodk1heCAtIHZNaW4pO1xuICAgICAgdmVsb2NpdHlEYXRhLnNldChbciwgZywgMCwgMjU1XSwgaSAqIDQpO1xuICAgIH1cblxuICAgIGN0eC5wb3N0TWVzc2FnZShbdmVsb2NpdHlEYXRhLmJ1ZmZlciwgdU1pbiwgdU1heCwgdk1pbiwgdk1heF0sIFt2ZWxvY2l0eURhdGEuYnVmZmVyXSk7XG4gIH0gZWxzZSB7XG4gICAgY29uc3Qgc2luZ2xlRGF0YSA9IHBheWxvYWRbMV07XG4gICAgY29uc3QgW21pbiwgbWF4XSA9IGNhbGNNaW5NYXgoc2luZ2xlRGF0YSk7XG4gICAgY29uc3QgdmVsb2NpdHlEYXRhID0gbmV3IFVpbnQ4QXJyYXkoc2luZ2xlRGF0YS5sZW5ndGggKiA0KTtcbiAgICBmb3IgKGxldCBpID0gMDsgaSA8IHNpbmdsZURhdGEubGVuZ3RoOyBpKyspIHtcbiAgICAgIGNvbnN0IHIgPSAyNTUgKiAoc2luZ2xlRGF0YVtpXSAtIG1pbikgLyAobWF4IC0gbWluKTtcbiAgICAgIHZlbG9jaXR5RGF0YS5zZXQoW3IsIDAsIDAsIDI1NV0sIGkgKiA0KTtcbiAgICB9XG5cbiAgICBjdHgucG9zdE1lc3NhZ2UoW3ZlbG9jaXR5RGF0YS5idWZmZXIsIG1pbiwgbWF4XSwgW3ZlbG9jaXR5RGF0YS5idWZmZXJdKTtcbiAgfVxufSk7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0FBY0EsQUFvREE7QUFDQSxBQUFPLFNBQVMsU0FBUyxDQUFDLE9BQU8sRUFBRSxVQUFVLEVBQUUsQ0FBQyxFQUFFLFNBQVMsRUFBRTtJQUN6RCxPQUFPLEtBQUssQ0FBQyxLQUFLLENBQUMsR0FBRyxPQUFPLENBQUMsRUFBRSxVQUFVLE9BQU8sRUFBRSxNQUFNLEVBQUU7UUFDdkQsU0FBUyxTQUFTLENBQUMsS0FBSyxFQUFFLEVBQUUsSUFBSSxFQUFFLElBQUksQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLE9BQU8sQ0FBQyxFQUFFLEVBQUUsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRTtRQUMzRixTQUFTLFFBQVEsQ0FBQyxLQUFLLEVBQUUsRUFBRSxJQUFJLEVBQUUsSUFBSSxDQUFDLFNBQVMsQ0FBQyxPQUFPLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxPQUFPLENBQUMsRUFBRSxFQUFFLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUU7UUFDOUYsU0FBUyxJQUFJLENBQUMsTUFBTSxFQUFFLEVBQUUsTUFBTSxDQUFDLElBQUksR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQyxHQUFHLElBQUksQ0FBQyxDQUFDLFVBQVUsT0FBTyxFQUFFLEVBQUUsT0FBTyxDQUFDLE1BQU0sQ0FBQyxLQUFLLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsU0FBUyxFQUFFLFFBQVEsQ0FBQyxDQUFDLEVBQUU7UUFDL0ksSUFBSSxDQUFDLENBQUMsU0FBUyxHQUFHLFNBQVMsQ0FBQyxLQUFLLENBQUMsT0FBTyxFQUFFLFVBQVUsSUFBSSxFQUFFLENBQUMsRUFBRSxJQUFJLEVBQUUsQ0FBQyxDQUFDO0tBQ3pFLENBQUMsQ0FBQztDQUNOOztBQUVELEFBQU8sU0FBUyxXQUFXLENBQUMsT0FBTyxFQUFFLElBQUksRUFBRTtJQUN2QyxJQUFJLENBQUMsR0FBRyxFQUFFLEtBQUssRUFBRSxDQUFDLEVBQUUsSUFBSSxFQUFFLFdBQVcsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLElBQUUsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLEdBQUMsQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsSUFBSSxFQUFFLEVBQUUsRUFBRSxHQUFHLEVBQUUsRUFBRSxFQUFFLEVBQUUsQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0lBQ2pILE9BQU8sQ0FBQyxHQUFHLEVBQUUsSUFBSSxFQUFFLElBQUksQ0FBQyxDQUFDLENBQUMsRUFBRSxPQUFPLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFFLFFBQVEsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRSxPQUFPLE1BQU0sS0FBSyxVQUFVLEtBQUssQ0FBQyxDQUFDLE1BQU0sQ0FBQyxRQUFRLENBQUMsR0FBRyxXQUFXLEVBQUUsT0FBTyxJQUFJLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0lBQ3pKLFNBQVMsSUFBSSxDQUFDLENBQUMsRUFBRSxFQUFFLE9BQU8sVUFBVSxDQUFDLEVBQUUsRUFBRSxPQUFPLElBQUksQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxFQUFFO0lBQ2xFLFNBQVMsSUFBSSxDQUFDLEVBQUUsRUFBRTtRQUNkLElBQUksQ0FBQyxJQUFFLE1BQU0sSUFBSSxTQUFTLENBQUMsaUNBQWlDLENBQUMsR0FBQztRQUM5RCxPQUFPLENBQUMsSUFBRSxJQUFJO1lBQ1YsSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsS0FBSyxDQUFDLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUMsUUFBUSxDQUFDLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRSxJQUFJLElBQUUsT0FBTyxDQUFDLEdBQUM7WUFDN0osSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsSUFBRSxFQUFFLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxLQUFLLENBQUMsR0FBQztZQUN4QyxRQUFRLEVBQUUsQ0FBQyxDQUFDLENBQUM7Z0JBQ1QsS0FBSyxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLEdBQUcsRUFBRSxDQUFDLENBQUMsTUFBTTtnQkFDOUIsS0FBSyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDLENBQUMsT0FBTyxFQUFFLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUFDLEVBQUUsSUFBSSxFQUFFLEtBQUssRUFBRSxDQUFDO2dCQUN4RCxLQUFLLENBQUMsRUFBRSxDQUFDLENBQUMsS0FBSyxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRSxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxTQUFTO2dCQUNqRCxLQUFLLENBQUMsRUFBRSxFQUFFLEdBQUcsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMsQ0FBQyxTQUFTO2dCQUNqRDtvQkFDSSxJQUFJLEVBQUUsQ0FBQyxHQUFHLENBQUMsQ0FBQyxJQUFJLEVBQUUsQ0FBQyxHQUFHLENBQUMsQ0FBQyxNQUFNLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUMsTUFBTSxHQUFHLENBQUMsQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMsSUFBSSxFQUFFLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsU0FBUyxFQUFFO29CQUM1RyxJQUFJLEVBQUUsQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsSUFBSSxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxLQUFLLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsTUFBTSxFQUFFO29CQUN0RixJQUFJLEVBQUUsQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDLEtBQUssR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsS0FBSyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsR0FBRyxFQUFFLENBQUMsQ0FBQyxNQUFNLEVBQUU7b0JBQ3JFLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQyxLQUFLLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLEtBQUssR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLE1BQU0sRUFBRTtvQkFDbkUsSUFBSSxDQUFDLENBQUMsQ0FBQyxDQUFDLElBQUUsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEVBQUUsR0FBQztvQkFDdEIsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQyxDQUFDLFNBQVM7YUFDOUI7WUFDRCxFQUFFLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFDLENBQUM7U0FDOUIsQ0FBQyxPQUFPLENBQUMsRUFBRSxFQUFFLEVBQUUsR0FBRyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsRUFBRSxTQUFTLEVBQUUsQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBRTtRQUMxRCxJQUFJLEVBQUUsQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLElBQUUsTUFBTSxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUMsQ0FBQyxPQUFPLEVBQUUsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsR0FBRyxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUcsS0FBSyxDQUFDLEVBQUUsSUFBSSxFQUFFLElBQUksRUFBRSxDQUFDO0tBQ3BGO0NBQ0o7O1NDdEdlLFVBQVUsQ0FBQyxLQUFlO0lBQ3hDLElBQUksR0FBRyxHQUFHLFFBQVEsQ0FBQztJQUNuQixJQUFJLEdBQUcsR0FBRyxRQUFRLENBQUM7O0lBRW5CLEtBQUssSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxLQUFLLENBQUMsTUFBTSxFQUFFLENBQUMsRUFBRSxFQUFFO1FBQ3JDLElBQU0sR0FBRyxHQUFHLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUVyQixJQUFJLEdBQUcsS0FBSyxRQUFRLEVBQUU7WUFDcEIsR0FBRyxHQUFHLEdBQUcsQ0FBQztTQUNYO2FBQU0sSUFBSSxHQUFHLEtBQUssUUFBUSxFQUFFO1lBQzNCLEdBQUcsR0FBRyxHQUFHLENBQUM7OztZQUdWLEdBQUcsR0FBRyxJQUFJLENBQUMsR0FBRyxDQUFDLEdBQUcsRUFBRSxHQUFHLENBQUMsQ0FBQztZQUN6QixHQUFHLEdBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxHQUFHLEVBQUUsR0FBRyxDQUFDLENBQUM7U0FDMUI7YUFBTTs7O1lBR0wsR0FBRyxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsR0FBRyxFQUFFLEdBQUcsQ0FBQyxDQUFDO1lBQ3pCLEdBQUcsR0FBRyxJQUFJLENBQUMsR0FBRyxDQUFDLEdBQUcsRUFBRSxHQUFHLENBQUMsQ0FBQztTQUMxQjtLQUNGO0lBQ0QsT0FBTyxDQUFDLEdBQUcsRUFBRSxHQUFHLENBQUMsQ0FBQztDQUNuQjs7QUNyQkQsSUFBTSxHQUFHLEdBQVcsSUFBVyxDQUFDO0FBRWhDLEdBQUcsQ0FBQyxnQkFBZ0IsQ0FBQyxTQUFTLEVBQUUsVUFBTyxFQUFpQjtRQUFmLGlCQUFhOzs7O1lBQzlDLFVBQVUsR0FBRyxPQUFPLENBQUMsQ0FBQyxDQUFDLENBQUM7WUFDOUIsSUFBSSxVQUFVLEtBQUssSUFBSSxFQUFFO2dCQUNqQixLQUFLLEdBQUcsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDO2dCQUNuQixLQUFLLEdBQUcsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDO2dCQUNuQixLQUFlLFVBQVUsQ0FBQyxLQUFLLENBQUMsRUFBL0IsSUFBSSxRQUFBLEVBQUUsSUFBSSxRQUFBLENBQXNCO2dCQUNqQyxLQUFlLFVBQVUsQ0FBQyxLQUFLLENBQUMsRUFBL0IsSUFBSSxRQUFBLEVBQUUsSUFBSSxRQUFBLENBQXNCO2dCQUNqQyxZQUFZLEdBQUcsSUFBSSxVQUFVLENBQUMsS0FBSyxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsQ0FBQztnQkFDdEQsS0FBUyxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxLQUFLLENBQUMsTUFBTSxFQUFFLENBQUMsRUFBRSxFQUFFO29CQUMvQixDQUFDLEdBQUcsR0FBRyxJQUFJLEtBQUssQ0FBQyxDQUFDLENBQUMsR0FBRyxJQUFJLENBQUMsSUFBSSxJQUFJLEdBQUcsSUFBSSxDQUFDLENBQUM7b0JBQzVDLENBQUMsR0FBRyxHQUFHLElBQUksS0FBSyxDQUFDLENBQUMsQ0FBQyxHQUFHLElBQUksQ0FBQyxJQUFJLElBQUksR0FBRyxJQUFJLENBQUMsQ0FBQztvQkFDbEQsWUFBWSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxFQUFFLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQztpQkFDekM7Z0JBRUQsR0FBRyxDQUFDLFdBQVcsQ0FBQyxDQUFDLFlBQVksQ0FBQyxNQUFNLEVBQUUsSUFBSSxFQUFFLElBQUksRUFBRSxJQUFJLEVBQUUsSUFBSSxDQUFDLEVBQUUsQ0FBQyxZQUFZLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQzthQUN2RjtpQkFBTTtnQkFDQyxVQUFVLEdBQUcsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDO2dCQUN4QixLQUFhLFVBQVUsQ0FBQyxVQUFVLENBQUMsRUFBbEMsR0FBRyxRQUFBLEVBQUUsR0FBRyxRQUFBLENBQTJCO2dCQUNwQyxZQUFZLEdBQUcsSUFBSSxVQUFVLENBQUMsVUFBVSxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsQ0FBQztnQkFDM0QsS0FBUyxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxVQUFVLENBQUMsTUFBTSxFQUFFLENBQUMsRUFBRSxFQUFFO29CQUNwQyxDQUFDLEdBQUcsR0FBRyxJQUFJLFVBQVUsQ0FBQyxDQUFDLENBQUMsR0FBRyxHQUFHLENBQUMsSUFBSSxHQUFHLEdBQUcsR0FBRyxDQUFDLENBQUM7b0JBQ3BELFlBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxFQUFFLENBQUMsRUFBRSxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUM7aUJBQ3pDO2dCQUVELEdBQUcsQ0FBQyxXQUFXLENBQUMsQ0FBQyxZQUFZLENBQUMsTUFBTSxFQUFFLEdBQUcsRUFBRSxHQUFHLENBQUMsRUFBRSxDQUFDLFlBQVksQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDO2FBQ3pFOzs7O0NBQ0YsQ0FBQyxDQUFDIn0=",!1);function P(t){return"number"==typeof t&&!isNaN(t)}function R(t){return t-Math.fround(t)}function O(t,e){if(!t)return!1;if(e=e||devicePixelRatio||1,!(t instanceof OffscreenCanvas)){var n=t.clientWidth*e,r=t.clientHeight*e;if(n<=0||r<=0)return!1;if(t.width!==n||t.height!==r)return t.width=n,t.height=r,!0}return!1}function k(t,e,n){var r=t.createShader(e);if(t.shaderSource(r,n),t.compileShader(r),!t.getShaderParameter(r,t.COMPILE_STATUS))throw t.deleteShader(r),new Error(t.getShaderInfoLog(r)||"");return r}function B(t,e,n,r,i){var o=t.createTexture();return t.bindTexture(t.TEXTURE_2D,o),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,e),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,e),n instanceof Uint8Array?t.texImage2D(t.TEXTURE_2D,0,t.RGBA,r,i,0,t.RGBA,t.UNSIGNED_BYTE,n):t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,n),t.bindTexture(t.TEXTURE_2D,null),o}function D(t,e){var n=t.createBuffer();return t.bindBuffer(t.ARRAY_BUFFER,n),e&&t.bufferData(t.ARRAY_BUFFER,e,t.STATIC_DRAW),n}function F(t,e){var n=e[0],r=e[1],i=e[2],o=e[3];t.viewport(0,0,t.canvas.width,t.canvas.height),t.clearColor(n,r,i,o),t.clearDepth(1),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),t.enable(t.DEPTH_TEST)}var U,j=function(){function t(t,e,n,r){this.vertShader="",this.fragShader="",e&&(this.vertShader=e),n&&(this.fragShader=n),this.program=function(t,e,n){var r=k(t,t.VERTEX_SHADER,e),i=k(t,t.FRAGMENT_SHADER,n),o=t.createProgram();if(null!==o&&(t.attachShader(o,r),t.attachShader(o,i),t.linkProgram(o),!t.getProgramParameter(o,t.LINK_STATUS)))throw new Error(t.getProgramInfoLog(o)||"");return o}(t,function(t,e){return Object.keys(e).map((function(n){e[n]&&(t=t.replace(new RegExp(n,"g"),e[n]+" \n"))})),t}(this.vertShader,r),this.fragShader),this.gl=t,this.textureUnit=0,this.uniformSetters=this.createUniformSetters(),this.attribSetters=this.createAttributeSetters(),this.transfromStack=[]}return t.prototype.active=function(){return this.gl.useProgram(this.program),this},t.prototype.deactive=function(){return this.gl.deleteProgram(this.program),this},t.prototype.getBindPointForSamplerType=function(t,e){return e===t.SAMPLER_2D?t.TEXTURE_2D:e===t.SAMPLER_CUBE?t.TEXTURE_CUBE_MAP:void 0},t.prototype.createUniformSetter=function(t,e){var n=this.gl,r=n.getUniformLocation(t,e.name),i=e.type,o=e.size>1&&"[0]"===e.name.substr(-3);if(i===n.FLOAT&&o)return function(t){n.uniform1fv(r,t)};if(i===n.FLOAT)return function(t){n.uniform1f(r,t)};if(i===n.FLOAT_VEC2)return function(t){n.uniform2fv(r,t)};if(i===n.FLOAT_VEC3)return function(t){n.uniform3fv(r,t)};if(i===n.FLOAT_VEC4)return function(t){n.uniform4fv(r,t)};if(i===n.INT&&o)return function(t){n.uniform1iv(r,t)};if(i===n.INT)return function(t){n.uniform1i(r,t)};if(i===n.INT_VEC2)return function(t){n.uniform2iv(r,t)};if(i===n.INT_VEC3)return function(t){n.uniform3iv(r,t)};if(i===n.INT_VEC4)return function(t){n.uniform4iv(r,t)};if(i===n.BOOL)return function(t){n.uniform1iv(r,t)};if(i===n.BOOL_VEC2)return function(t){n.uniform2iv(r,t)};if(i===n.BOOL_VEC3)return function(t){n.uniform3iv(r,t)};if(i===n.BOOL_VEC4)return function(t){n.uniform4iv(r,t)};if(i===n.FLOAT_MAT2)return function(t){n.uniformMatrix2fv(r,!1,t)};if(i===n.FLOAT_MAT3)return function(t){n.uniformMatrix3fv(r,!1,t)};if(i===n.FLOAT_MAT4)return function(t){n.uniformMatrix4fv(r,!1,t)};if((i===n.SAMPLER_2D||i===n.SAMPLER_CUBE)&&o){for(var a=[],s=0;s<e.size;++s)a.push(this.textureUnit++);return function(t,e){return function(i){n.uniform1iv(r,e),i.forEach((function(r,i){n.activeTexture(n.TEXTURE0+e[i]),void 0!==t&&n.bindTexture(t,r)}))}}(this.getBindPointForSamplerType(n,i),a)}if(i===n.SAMPLER_2D||i===n.SAMPLER_CUBE)return function(t,e){return function(i){n.uniform1i(r,e),n.activeTexture(n.TEXTURE0+e),void 0!==t&&n.bindTexture(t,i)}}(this.getBindPointForSamplerType(n,i),this.textureUnit++);throw new Error("unknown type: 0x"+i.toString(16))},t.prototype.createUniformSetters=function(){var t=this.gl;this.textureUnit=0;var e={};if(null!==this.program)for(var n=t.getProgramParameter(this.program,t.ACTIVE_UNIFORMS),r=0;r<n;++r){var i=t.getActiveUniform(this.program,r);if(!i)break;var o=i.name;"[0]"===o.substr(-3)&&(o=o.substr(0,o.length-3));var a=this.createUniformSetter(this.program,i);e[o]=a}return e},t.prototype.createAttribSetter=function(t){var e=this.gl;return function(n){e.bindBuffer(e.ARRAY_BUFFER,n.buffer),e.enableVertexAttribArray(t),void 0===n.numComponents&&void 0===n.size||e.vertexAttribPointer(t,n.numComponents||n.size,n.type||e.FLOAT,n.normalize||!1,n.stride||0,n.offset||0)}},t.prototype.createAttributeSetters=function(){var t=this.gl,e={};if(null!==this.program)for(var n=t.getProgramParameter(this.program,t.ACTIVE_ATTRIBUTES),r=0;r<n;++r){var i=t.getActiveAttrib(this.program,r);if(!i)break;var o=t.getAttribLocation(this.program,i.name);e[i.name]=this.createAttribSetter(o)}return e},t.prototype.setAttributes=function(t,e){return e=e?e.attribSetters||e:this.attribSetters,Object.keys(t).forEach((function(n){var r=e[n];r&&r(t[n])})),this},t.prototype.setUniforms=function(t,e){return e=e?e.uniformSetters||e:this.uniformSetters,Object.keys(t).forEach((function(n){var r=e[n];r&&r(t[n])})),this},t.prototype.elements=function(t){var e;return this.elementsBuffer||(this.elementsBuffer=this.gl.createBuffer()),this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,this.elementsBuffer),t.data&&this.gl.bufferData(this.gl.ELEMENT_ARRAY_BUFFER,t.data,(null===(e=t)||void 0===e?void 0:e.usage)||this.gl.STATIC_DRAW),void 0!==t.count&&this.runTimes(t.count),t.primitive&&this.setPrimitive(t.primitive),this},t.prototype.clear=function(t){return F(this.gl,t),this.transfromStack=[],this},t.prototype.runTimes=function(t){return this.count=t||0,this},t.prototype.setPrimitive=function(t){this.primitive=t||this.gl.TRIANGLES},t.prototype.resize=function(){return O(this.gl.canvas),this.gl.viewport(0,0,this.gl.canvas.width,this.gl.canvas.height),this},t.prototype.draw=function(){throw new Error("should override")},t.prototype.translate=function(){throw new Error("should override")},t.prototype.rotate=function(){throw new Error("should override")},t.prototype.scale=function(){throw new Error("should override")},t}(),N="precision highp float;\n#define GLSLIFY 1\nuniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform vec2 u_image_res;uniform vec2 u_range;uniform vec2 u_color_range;uniform vec2 u_display_range;uniform float u_opacity;varying vec2 v_tex_pos;float calcTexture(const vec2 uv){return texture2D(u_image,uv).r;}float bilinear(const vec2 uv){vec2 px=1.0/u_image_res;vec2 vc=(floor(uv*u_image_res))*px;vec2 f=fract(uv*u_image_res);float tl=calcTexture(vc);float tr=calcTexture(vc+vec2(px.x,0));float bl=calcTexture(vc+vec2(0,px.y));float br=calcTexture(vc+px);return mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);}float getValue(const vec2 uv){float min=u_range.x;float max=u_range.y;float r=bilinear(uv);return r*(max-min)+min;}const float PI=3.14159265359;/***Converts mapbox style pseudo-mercator coordinates(this is just like mercator,but the unit isn't a meter,but 0..1*spans the entire world)into texture like WGS84 coordinates(this is just like WGS84,but instead of angles,it uses*intervals of 0..1).*/vec2 mercatorToWGS84(vec2 xy){float y=radians(180.0-xy.y*360.0);y=360.0/PI*atan(exp(y))-90.0;y=y/-180.0+0.5;return vec2(xy.x,y);}void main(){vec2 globalWGS84=mercatorToWGS84(v_tex_pos);float value=getValue(globalWGS84);float value_t=(value-u_color_range.x)/(u_color_range.y-u_color_range.x);vec2 ramp_pos=vec2(fract(16.0*value_t),floor(16.0*value_t)/16.0);vec4 color=texture2D(u_color_ramp,ramp_pos);bool display=value<u_display_range.y&&value>u_display_range.x;if(display){gl_FragColor=vec4(floor(255.0*color*u_opacity)/255.0);}else{gl_FragColor=vec4(0.0,0.0,0.0,0.0);}}",G="#define GLSLIFY 1\nattribute vec3 instancePositions;attribute vec3 instancePositions64Low;attribute vec2 a_texCoord;uniform mat4 u_matrix;uniform vec4 u_cameraEye;uniform vec4 u_cameraEye64Low;uniform float u_offset;uniform sampler2D u_image;uniform vec2 u_image_res;uniform vec2 u_range;uniform vec2 u_mapping_range;varying vec2 v_tex_pos;varying float v_value;float calcTexture(const vec2 uv){return texture2D(u_image,uv).r;}float bilinear(const vec2 uv){vec2 px=1.0/u_image_res;vec2 vc=(floor(uv*u_image_res))*px;vec2 f=fract(uv*u_image_res);float tl=calcTexture(vc);float tr=calcTexture(vc+vec2(px.x,0));float bl=calcTexture(vc+vec2(0,px.y));float br=calcTexture(vc+px);return mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);}float getValue(const vec2 uv){float min=u_mapping_range.x;float max=u_mapping_range.y;float r=bilinear(uv);return r*(max-min)+min;}const float PI=3.14159265359;/***Converts mapbox style pseudo-mercator coordinates(this is just like mercator,but the unit isn't a meter,but 0..1*spans the entire world)into texture like WGS84 coordinates(this is just like WGS84,but instead of angles,it uses*intervals of 0..1).*/vec2 mercatorToWGS84(vec2 xy){float y=radians(180.0-xy.y*360.0);y=360.0/PI*atan(exp(y))-90.0;y=y/-180.0+0.5;return vec2(xy.x,y);}\n#modules-transformZ\nvoid main(){v_tex_pos=a_texCoord;vec2 globalWGS84=mercatorToWGS84(v_tex_pos);float value=getValue(globalWGS84);float z=transformZ(value,instancePositions);vec4 pos=vec4(instancePositions-u_cameraEye.xyz,0.0);pos+=vec4(instancePositions64Low-u_cameraEye64Low.xyz,0.0);\n#modules-project\n}",z=function(t){function e(e,n,r,i){var o=t.call(this,e,n||G,r||N,i||{})||this;return o.vertShader=G,o.fragShader=N,o}return M(e,t),e.prototype.draw=function(){if(void 0!==this.checkExt){var t=this.primitive||this.gl.TRIANGLES;this.checkExt?this.gl.drawElements(t,this.count,this.gl.UNSIGNED_INT,0):this.gl.drawElements(t,this.count,this.gl.UNSIGNED_SHORT,0)}else this.checkExt=this.gl.getExtension("OES_element_index_uint");return this},e.prototype.translate=function(){return this},e.prototype.rotate=function(){return this},e.prototype.scale=function(){return this},e}(j);function H(t,e){var n=document.createElement("canvas"),r=n.getContext("2d");n.width=256,n.height=1;var i=function(t){if(Array.isArray(t)&&t.length>3){for(var e=t[0],n=t[1],r=(t[2],[]),i=3;i<t.length;i+=2){var o=t[i],a=t[i+1];r.push({key:o,value:a})}return{operator:e,interpolation:{name:n[0],base:n[1]},input:r}}return console.warn("[wind-core]: style-parser style config invalid"),{}}(e).input;if(r&&i&&Array.isArray(i)){for(var o=i.map((function(t){return parseFloat(t.key)})),a=[Math.min.apply(Math,o),Math.max.apply(Math,o)],s=[t[0]||a[0],t[1]||a[1]],c=s[0],u=s[1],l=r.createLinearGradient(0,0,256,0),h=0;h<i.length;h+=1){var f=i[h].key,d=i[h].value;l.addColorStop((f-c)/(u-c),d)}return r.fillStyle=l,r.fillRect(0,0,256,1),{data:new Uint8Array(r.getImageData(0,0,256,1).data),colorRange:a}}return{}}function W(t,e,n,r){var i=r-n,o=t-n;return 0===i?0:1===e?o/i:(Math.pow(e,o)-1)/(Math.pow(e,i)-1)}function V(t,e){if(e&&Array.isArray(e)&&(U=function(t){if(Array.isArray(t)&&t.length>3){for(var e=t[0],n=t[1],r=(t[2],[]),i=3;i<t.length;i+=2){var o=t[i],a=t[i+1];r.push({key:o,value:a})}return{operator:e,interpolation:{name:n[0],base:n[1]},input:r}}return console.warn("[wind-core]: style-parser style config invalid"),{}}(e)),U){var n=U||{},r=n.input,i=n.interpolation;if(r&&Array.isArray(r)){var o=r.map((function(t){return t.key})),a=r.map((function(t){return t.value}));if(t<=o[0])return a[0];var s=o.length;if(t>=o[s-1])return a[s-1];var c=function(t,e){for(var n,r,i=t.length-1,o=0,a=i,s=0;o<=a;)if(n=t[s=Math.floor((o+a)/2)],r=t[s+1],n<=e){if(s===i||e<r)return s;o=s+1}else{if(!(n>e))throw new Error("Input is not a number.");a=s-1}return 0}(o,t),u=o.length-1,l=function(t,e,n,r){var i=0;return"exponential"===t.name?i=W(e,t.base,n,r):"linear"===t.name?i=W(e,1,n,r):"cubic-bezier"===t.name&&console.warn("interpolationFactor"),i}(i,t,o[c],o[c>=u?u:c+1]);return function(t,e,n){return t*(1-n)+e*n}(a[c],a[c>=u?u:c+1],l)}return 1}return P(e)?e:1}var Z="precision highp float;\n#define GLSLIFY 1\nuniform sampler2D u_wind;uniform sampler2D u_color_ramp;uniform vec2 u_image_res;uniform vec2 u_wind_min;uniform vec2 u_wind_max;uniform vec2 u_color_range;uniform vec2 u_display_range;uniform float u_opacity;varying vec2 v_tex_pos;vec2 windTexture(const vec2 uv){return texture2D(u_wind,uv).rg;}float bilinearU(const vec2 uv){vec2 px=1.0/u_image_res;vec2 vc=(floor(uv*u_image_res))*px;vec2 f=fract(uv*u_image_res);float tl=windTexture(vc).r;float tr=windTexture(vc+vec2(px.x,0)).r;float bl=windTexture(vc+vec2(0,px.y)).r;float br=windTexture(vc+px).r;return mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);}float bilinearV(const vec2 uv){vec2 px=1.0/u_image_res;vec2 vc=(floor(uv*u_image_res))*px;vec2 f=fract(uv*u_image_res);float tl=windTexture(vc).g;float tr=windTexture(vc+vec2(px.x,0.0)).g;float bl=windTexture(vc+vec2(0.0,px.y)).g;float br=windTexture(vc+px).g;return mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);}float getV(const vec2 uv){float min=u_wind_min.y;float max=u_wind_max.y;float r=bilinearV(uv);return r*(max-min)+min;}float getU(const vec2 uv){float min=u_wind_min.x;float max=u_wind_max.x;float r=bilinearU(uv);return r*(max-min)+min;}float windSpeed(const vec2 uv){float u=getU(uv);float v=getV(uv);return length(vec2(u,v));}const float PI=3.14159265359;/***Converts mapbox style pseudo-mercator coordinates(this is just like mercator,but the unit isn't a meter,but 0..1*spans the entire world)into texture like WGS84 coordinates(this is just like WGS84,but instead of angles,it uses*intervals of 0..1).*/vec2 mercatorToWGS84(vec2 xy){float y=radians(180.0-xy.y*360.0);y=360.0/PI*atan(exp(y))-90.0;y=y/-180.0+0.5;return vec2(xy.x,y);}void main(){vec2 globalWGS84=mercatorToWGS84(v_tex_pos);float value=windSpeed(globalWGS84);float value_t=(value-u_color_range.x)/(u_color_range.y-u_color_range.x);vec2 ramp_pos=vec2(fract(16.0*value_t),floor(16.0*value_t)/16.0);vec4 color=texture2D(u_color_ramp,ramp_pos);bool display=value<u_display_range.y&&value>u_display_range.x;if(display){gl_FragColor=vec4(floor(255.0*color*u_opacity)/255.0);}else{gl_FragColor=vec4(0.0,0.0,0.0,0.0);}}",Q="#define GLSLIFY 1\nattribute vec3 instancePositions;attribute vec3 instancePositions64Low;attribute vec2 a_texCoord;uniform mat4 u_matrix;uniform vec4 u_cameraEye;uniform vec4 u_cameraEye64Low;uniform float u_offset;uniform sampler2D u_wind;uniform vec2 u_image_res;uniform vec2 u_wind_min;uniform vec2 u_wind_max;uniform vec2 u_mapping_range;varying vec2 v_tex_pos;varying float v_value;vec2 windTexture(const vec2 uv){return texture2D(u_wind,uv).rg;}float bilinearU(const vec2 uv){vec2 px=1.0/u_image_res;vec2 vc=(floor(uv*u_image_res))*px;vec2 f=fract(uv*u_image_res);float tl=windTexture(vc).r;float tr=windTexture(vc+vec2(px.x,0)).r;float bl=windTexture(vc+vec2(0,px.y)).r;float br=windTexture(vc+px).r;return mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);}float bilinearV(const vec2 uv){vec2 px=1.0/u_image_res;vec2 vc=(floor(uv*u_image_res))*px;vec2 f=fract(uv*u_image_res);float tl=windTexture(vc).g;float tr=windTexture(vc+vec2(px.x,0.0)).g;float bl=windTexture(vc+vec2(0.0,px.y)).g;float br=windTexture(vc+px).g;return mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);}float getV(const vec2 uv){float min=u_wind_min.y;float max=u_wind_max.y;float r=bilinearV(uv);return r*(max-min)+min;}float getU(const vec2 uv){float min=u_wind_min.x;float max=u_wind_max.x;float r=bilinearU(uv);return r*(max-min)+min;}float windSpeed(const vec2 uv){float u=getU(uv);float v=getV(uv);float min=u_mapping_range.x;float max=u_mapping_range.y;float val=length(vec2(u,v));return val*(max-min)+min;}const float PI=3.14159265359;/***Converts mapbox style pseudo-mercator coordinates(this is just like mercator,but the unit isn't a meter,but 0..1*spans the entire world)into texture like WGS84 coordinates(this is just like WGS84,but instead of angles,it uses*intervals of 0..1).*/vec2 mercatorToWGS84(vec2 xy){float y=radians(180.0-xy.y*360.0);y=360.0/PI*atan(exp(y))-90.0;y=y/-180.0+0.5;return vec2(xy.x,y);}\n#modules-transformZ\nvoid main(){v_tex_pos=a_texCoord;vec2 globalWGS84=mercatorToWGS84(v_tex_pos);float value=windSpeed(globalWGS84);float z=transformZ(value,instancePositions);vec4 pos=vec4(instancePositions-u_cameraEye.xyz,0.0);pos+=vec4(instancePositions64Low-u_cameraEye64Low.xyz,0.0);\n#modules-project\n}",X=function(t){function e(e,n,r,i){var o=t.call(this,e,n||Q,r||Z,i||{})||this;return o.vertShader=Q,o.fragShader=Z,o}return M(e,t),e.prototype.draw=function(){if(void 0!==this.checkExt){var t=this.primitive||this.gl.TRIANGLES;this.checkExt?this.gl.drawElements(t,this.count,this.gl.UNSIGNED_INT,0):this.gl.drawElements(t,this.count,this.gl.UNSIGNED_SHORT,0)}else this.checkExt=this.gl.getExtension("OES_element_index_uint");return this},e.prototype.translate=function(){return this},e.prototype.rotate=function(){return this},e.prototype.scale=function(){return this},e}(j),Y={renderForm:"r",styleSpec:{"fill-color":["interpolate",["linear"],["get","value"],0,"#3288bd",10,"#66c2a5",20,"#abdda4",30,"#e6f598",40,"#fee08b",50,"#fdae61",60,"#f46d43",100,"#d53e4f"],opacity:1},displayRange:[1/0,1/0],mappingRange:[0,0],depthRange:[0,1],widthSegments:1,heightSegments:1,wireframe:!1,createPlaneBuffer:function(t,e,n){var r=[t[0][0],t[2][0],t[0][1],t[1][1]];return function(t,e,n,r,i,o){for(var a=e-t,s=r-n,c=a/2,u=s/2,l=Math.floor(i),h=Math.floor(o),f=l+1,d=h+1,p=a/l,m=s/h,g=[],v=[],y=[],_=[],x=[],b=0;b<d;b++)for(var w=b*m,M=0;M<f;M++){var S=t+M*p/c/2*a,A=n+w/u/2*s;y.push(S,A,0),_.push(R(S),R(A),0),x.push(M/l,b/h)}for(b=0;b<h;b++)for(M=0;M<l;M++){var C=M+f*b,E=M+f*(b+1),T=M+1+f*(b+1),I=M+1+f*b;g.push(C,E,I),g.push(E,T,I)}for(var L=0,P=g.length;L<P;L+=3)C=g[L],E=g[L+1],T=g[L+2],v.push(C,E,E,T,T,C);return{uvs:{data:x,size:2},elements:{data:g,count:g.length},wireframeElements:{data:v,count:v.length},position:{data:y,size:3},positionLow:{data:_,size:3}}}(r[0],r[1],r[2],r[3],e,n)},injectShaderModules:{"#modules-transformZ":"\nfloat transformZ(float value, vec3 pos) {\n return 0.0;\n}\n ","#modules-project":"\ngl_Position = u_matrix * vec4(pos.xy + vec2(u_offset, 0.0), pos.z + z, 1.0);\n "}},J=function(){function t(t,e){if(this.gl=t,!this.gl)throw new Error("initialize error");e||(e={}),this.options=S(S({},Y),e),this.opacity=this.options.opacity||1}return t.prototype.updateOptions=function(t){var e;this.options=S(S({},this.options),t),this.buildColorRamp(),"function"==typeof this.options.getZoom&&this.setOpacity(V(this.options.getZoom(),null===(e=this.options.styleSpec)||void 0===e?void 0:e.opacity))},t.prototype.setFillColor=function(){this.buildColorRamp()},t.prototype.setOpacity=function(t){this.opacity=t},t.prototype.handleZoom=function(){var t;"function"==typeof this.options.getZoom&&this.setOpacity(V(this.options.getZoom(),null===(t=this.options.styleSpec)||void 0===t?void 0:t.opacity))},t.prototype.buildColorRamp=function(){var t,e=H([],null===(t=this.options.styleSpec)||void 0===t?void 0:t["fill-color"]),n=e.data,r=e.colorRange;r&&(this.colorRange=r),n&&(this.colorRampTexture=B(this.gl,this.gl.NEAREST,n,16,16))},t.prototype.initialize=function(t){var e;this.drawCommand||("rg"===this.options.renderForm?this.drawCommand=new X(t,void 0,void 0,this.options.injectShaderModules):"r"===this.options.renderForm?this.drawCommand=new z(t,void 0,void 0,this.options.injectShaderModules):console.warn("This type is not supported temporarily")),this.buildColorRamp(),"function"==typeof this.options.getZoom&&this.setOpacity(V(this.options.getZoom(),null===(e=this.options.styleSpec)||void 0===e?void 0:e.opacity))},t.prototype.initializeVertex=function(t){for(var e=0,n=t.length,r=[];e<n;e++){var i=t[e],o=this.getMercatorCoordinate(i);r.push([o[0],o[1]])}var a=(this.options.createPlaneBuffer||Y.createPlaneBuffer)(r,this.options.widthSegments||1,this.options.heightSegments||1);return{indexes:a.elements.data,wireframeIndexes:a.wireframeElements.data,quadBuffer:D(this.gl,new Float32Array(a.position.data)),quad64LowBuffer:D(this.gl,new Float32Array(a.positionLow.data)),texCoordBuffer:D(this.gl,new Float32Array(a.uvs.data))}},t.prototype.getTextureData=function(t){var e=this;return new Promise((function(n,r){if("image"===t.type&&t.url)(function(t){return new Promise((function(e,n){t||n(new Event("url is null"));var r=new Image;r.crossOrigin="anonymous",r.onload=function(){return e(r)},r.onerror=n,r.src=t,r.complete&&e(r)}))})(t.url).then((function(r){var i=S({width:r.width,height:r.height,texture:B(e.gl,e.gl.LINEAR,r,r.width,r.height)},e.initializeVertex(t.extent));"rg"===e.options.renderForm?(i.uMin=t.uMin,i.uMax=t.uMax,i.vMin=t.vMin,i.vMax=t.vMax):"r"===e.options.renderForm?(i.min=t.min,i.max=t.max):console.warn("This type is not supported temporarily"),n(i)})).catch((function(t){return r(t)}));else if("jsonArray"===t.type&&t.data){var i,o=t.data;i=t.extent?t.extent:[[o[0].header.lo1,o[0].header.la1],[o[0].header.lo1,o[0].header.la2],[o[0].header.lo2,o[0].header.la1],[o[0].header.lo2,o[0].header.la2]];var a=S({width:o[0].header.nx,height:o[0].header.ny},e.initializeVertex(i));if(e.worker||(e.worker=new L,e.worker.addEventListener("message",(function(t){var r=t.data;"rg"===e.options.renderForm?(a.uMin=r[1],a.uMax=r[2],a.vMin=r[3],a.vMax=r[4],a.texture=B(e.gl,e.gl.LINEAR,new Uint8Array(r[0]),a.width,a.height)):"r"===e.options.renderForm?(a.min=r[1],a.max=r[2],a.texture=B(e.gl,e.gl.LINEAR,new Uint8Array(r[0]),a.width,a.height)):console.warn("This type is not supported temporarily"),n(a)}))),"rg"===e.options.renderForm){var s,c;o.forEach((function(t){switch(t.header.parameterCategory+","+t.header.parameterNumber){case"1,2":case"2,2":s=t;break;case"1,3":case"2,3":c=t}}));var u=new Float32Array(s.data),l=new Float32Array(c.data);e.worker.postMessage(["rg",u,l])}else if("r"===e.options.renderForm){var h=new Float32Array(o[0].data);e.worker.postMessage(["r",h])}else console.warn("This type is not supported temporarily")}}))},t.prototype.setData=function(t,e){var n=this;this.gl&&t&&this.getTextureData(t).then((function(t){n.data=t,e&&e(!0),n.data&&n.initialize(n.gl),n.options.triggerRepaint&&(n.handleZoom(),n.options.triggerRepaint())})).catch((function(t){e&&e(!1),console.error(t)}))},t.prototype.getData=function(){return this.data},t.prototype.getMercatorCoordinate=function(t){return[t[0],t[1]]},t.prototype.prerender=function(){},t.prototype.render=function(t,e,n){var r;if(this.data&&this.drawCommand&&this.data.texture&&this.colorRampTexture){var i=this.opacity,o={u_opacity:P(i)?i:1,u_image_res:[this.data.width,this.data.height],u_matrix:t,u_offset:P(e)?e:0,u_color_ramp:this.colorRampTexture,u_color_range:this.colorRange,u_mapping_range:this.options.mappingRange||[0,0]};if(n&&(o.u_cameraEye=n.cameraEye,o.u_cameraEye64Low=n.cameraEye64Low),"rg"===this.options.renderForm){o.u_wind_min=[this.data.uMin,this.data.vMin],o.u_wind_max=[this.data.uMax,this.data.vMax],o.u_wind=this.data.texture;var a=[Math.sqrt(this.data.uMin*this.data.uMin+this.data.vMin*this.data.vMin),Math.sqrt(this.data.uMin*this.data.uMin+this.data.vMax*this.data.vMax),Math.sqrt(this.data.uMax*this.data.uMax+this.data.vMax*this.data.vMax),Math.sqrt(this.data.uMax*this.data.uMax+this.data.vMin*this.data.vMin)],s=Math.max.apply(Math,a);o.u_display_range=this.options.displayRange||[0,s]}else"r"===this.options.renderForm?(o.u_range=[this.data.min,this.data.max],o.u_image=this.data.texture,o.u_display_range=this.options.displayRange||[o.u_range[0]-1,o.u_range[1]+1]):console.warn("This type is not supported temporarily");var c=this.gl.isEnabled(this.gl.CULL_FACE),u=this.gl.getParameter(this.gl.CULL_FACE_MODE);this.gl.enable(this.gl.CULL_FACE),this.gl.cullFace(this.gl.BACK);var l=this.gl.isEnabled(this.gl.DEPTH_TEST);this.gl.enable(this.gl.DEPTH_TEST),this.gl.depthMask(!0),this.gl.depthFunc(this.gl.LEQUAL),this.options.depthRange&&Array.isArray(this.options.depthRange)&&2===this.options.depthRange.length?this.gl.depthRange(this.options.depthRange[0],this.options.depthRange[1]):this.gl.depthRange(0,1);var h=this.options.wireframe?this.data.wireframeIndexes:this.data.indexes;this.drawCommand.active().setUniforms(o).setAttributes({instancePositions:{buffer:this.data.quadBuffer,numComponents:3},instancePositions64Low:{buffer:this.data.quad64LowBuffer,numComponents:3},a_texCoord:{buffer:this.data.texCoordBuffer,numComponents:2}}).elements({data:new Uint32Array(h),primitive:this.options.wireframe?this.gl.LINES:this.gl.TRIANGLES,count:null===(r=h)||void 0===r?void 0:r.length,usage:this.gl.STATIC_DRAW}).draw(),l||this.gl.disable(this.gl.DEPTH_TEST),c||this.gl.disable(this.gl.CULL_FACE),this.gl.cullFace(u)}},t.prototype.postrender=function(){},t}();function q(t,e,n){var r=t.length,i=n>1?n:2,o=e;void 0===o&&(o=i>2?t.slice():new Array(r));for(var a=0;a<r;a+=i)o[a]=180*t[a]/20037508.342789244,o[a+1]=360*Math.atan(Math.exp(t[a+1]/6378137))/Math.PI-90;return o}function K(t,e,n,r){var i=[];if(r>1)for(var o=t[2]-t[0],a=t[3]-t[1],s=0;s<r;++s)i.push(t[0]+o*s/r,t[1],t[2],t[1]+a*s/r,t[2]-o*s/r,t[3],t[0],t[3]-a*s/r);else i=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]];e(i,i,2);for(var c=[],u=[],l=(s=0,i.length);s<l;s+=2)c.push(i[s]),u.push(i[s+1]);return function(t,e,n){return function(t,e,n,r,i){return i?(i[0]=t,i[1]=e,i[2]=n,i[3]=r,i):[t,e,n,r]}(Math.min.apply(null,t),Math.min.apply(null,e),Math.max.apply(null,t),Math.max.apply(null,e),n)}(c,u,n)}var $={renderer:"gl",doubleBuffer:!1,animation:!1,glOptions:{antialias:!0,depth:!0,stencil:!0,alpha:!0,premultipliedAlpha:!0,preserveDrawingBuffer:!0}},tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.checkResources=function(){return[]},e.prototype.getDrawParams=function(){return[]},e.prototype.hitDetect=function(){return!1},e.prototype.draw=function(){this.prepareCanvas(),this.prepareDrawContext(),this.drawWind()},e.prototype._redraw=function(){this.prepareRender(),this.draw()},e.prototype.clearCanvas=function(){this.gl&&F(this.gl,[0,0,0,0])},e.prototype.createContext=function(){this.gl&&this.gl.canvas===this.canvas||(this.gl=function(t,e){void 0===e&&(e={});var n=["webgl","experimental-webgl"],r=null;function i(t){console.error(t.statusMessage)}t.addEventListener("webglcontextcreationerror",i,!1);for(var o=0;o<n.length;++o){try{r=t.getContext(n[o],e)}catch(t){}if(r)break}return t.removeEventListener("webglcontextcreationerror",i,!1),r&&r.getExtension("OES_texture_float")?r:null}(this.canvas,this.layer.options.glOptions))},e.prototype.resizeCanvas=function(t){if(this.canvas&&this.gl){var e=this.getMap(),n=e.getDevicePixelRatio(),r=t||e.getSize();this.canvas.height=n*r.height,this.canvas.width=n*r.width,this.gl&&this.gl.viewport(0,0,this.canvas.width,this.canvas.height)}},e.prototype.getMatrix=function(){return this.getMap().projViewMatrix},e.prototype.handleZoom=function(){this.scalarRender&&this.scalarRender.handleZoom()},e.prototype.drawWind=function(){var t=this,e=this.getMap();if(null!==this.gl){var n=this.layer,r=n.getOptions(),i=n.getData();if(!this.scalarRender&&e&&(this.scalarRender=new J(this.gl,{opacity:r.opacity,renderForm:r.renderForm,styleSpec:r.styleSpec,displayRange:r.displayRange,mappingRange:r.mappingRange,widthSegments:r.widthSegments,heightSegments:r.heightSegments,createPlaneBuffer:r.createPlaneBuffer,wireframe:r.wireframe,depthRange:r.depthRange||[0,1],getZoom:function(){return t.getMap().getZoom()},triggerRepaint:function(){t._redraw()},injectShaderModules:{"#modules-transformZ":"\nfloat transformZ(float value, vec3 pos) {\n return value;\n}\n ","#modules-project":"\ngl_Position = u_matrix * vec4(pos.xy + vec2(u_offset, 0.0), pos.z + z, 1.0);\n "}}),this.scalarRender.getMercatorCoordinate=function(t){var n=t[0],r=t[1],i=e.coordToPoint(new o.Coordinate(n,r),e.getGLZoom());return[i.x,i.y]},this.getMap().on("zoom",this.handleZoom,this),this.scalarRender.setData(i)),this.scalarRender)for(var a=this.getMatrix(),s=[0,0,0,1],c=s.map((function(t){return R(t)})),u=this.getWrappedWorlds(),l=0;l<u.length;l++)this.scalarRender.render(a,u[l],{cameraEye:s,cameraEye64Low:c})}this.completeRender()},e.prototype.getWrappedWorlds=function(){var t=this.getMap(),e=t.getProjection().fullExtent,n=[e.left,e.bottom,e.right,e.top],r=t.getProjExtent(),i=[r.xmin,r.ymin,r.xmax,r.ymax],a=i[0],s=function(t){return t[2]-t[0]}(n),c=Math.abs(t.coordToPoint(t.getProjection().unprojectCoords(new o.Coordinate([n[0],n[1]])),t.getGLZoom()).x-t.coordToPoint(t.getProjection().unprojectCoords(new o.Coordinate([n[2],n[3]])),t.getGLZoom()).x),u=0,l=[];if(this.layer.getOptions().wrapX){for(;a<n[0];)--u,l.push(u*c),a+=s;for(u=0,a=i[2];a>n[2];)++u,l.push(u*c),a-=s}return l.push(0),l},e.prototype.drawOnInteracting=function(){this.draw()},e.prototype.onZoomStart=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];t.prototype.onZoomStart.apply(this,n)},e.prototype.onZoomEnd=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];t.prototype.onZoomEnd.apply(this,n)},e.prototype.onDragRotateStart=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];t.prototype.onDragRotateStart.apply(this,n)},e.prototype.onDragRotateEnd=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];t.prototype.onDragRotateEnd.apply(this,n)},e.prototype.onMoveStart=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];t.prototype.onMoveStart.apply(this,n)},e.prototype.onMoveEnd=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];t.prototype.onMoveEnd.apply(this,n)},e.prototype.remove=function(){delete this._drawContext,t.prototype.remove.call(this)},e.prototype.getMap=function(){return t.prototype.getMap.call(this)},e.prototype.completeRender=function(){return t.prototype.completeRender.call(this)},e.prototype.prepareCanvas=function(){return t.prototype.prepareCanvas.call(this)},e.prototype.prepareDrawContext=function(){t.prototype.prepareDrawContext.call(this)},e.prototype.prepareRender=function(){return t.prototype.prepareRender.call(this)},e}(o.renderer.CanvasLayerRenderer);(function(t){function e(e,n,r){var i=t.call(this,e,c(c({},$),r))||this;return i.data=null,i._map=null,n&&i.setData(n),i}return s(e,t),e.prototype.getData=function(){return this.data},e.prototype.setData=function(t){var e=this;return new Promise((function(n,r){e.data=t;var i=e._getRenderer();e.data&&i&&i.scalarFill?i.scalarFill.setData(e.data,(function(t){t?n(!0):r(!1)})):n(!1)}))},e.prototype.setOptions=function(t){this.options=c(c({},this.options),t||{});var e=this._getRenderer();e&&e.scalarRender&&(e.scalarRender.updateOptions(this.options),e.setToRedraw())},e.prototype.getOptions=function(){return this.options||{}},e.prototype.draw=function(){return this._getRenderer()&&this._getRenderer()._redraw(),this},e.prototype.prepareToDraw=function(){return[]},e.prototype.drawOnInteracting=function(){this.draw()},e.prototype._getRenderer=function(){return t.prototype._getRenderer.call(this)},e})(o.CanvasLayer).registerRenderer("gl",tt);var et={renderer:"canvas",doubleBuffer:!1,animation:!1,windOptions:{}},nt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.checkResources=function(){return[]},e.prototype.getDrawParams=function(){return[]},e.prototype.hitDetect=function(){return!1},e.prototype.draw=function(){this.prepareCanvas(),this.prepareDrawContext(),this.drawWind()},e.prototype._redraw=function(){this.prepareRender(),this.draw()},e.prototype.drawWind=function(){var t=this,e=this.getMap();if(this.context){var n=this.layer,r=n.getWindOptions();if(!this.wind&&e){var i=n.getData();this.wind=new b(this.context,r,i),this.wind.project=this.project.bind(this),this.wind.unproject=this.unproject.bind(this),this.wind.intersectsCoordinate=this.intersectsCoordinate.bind(this),this.wind.postrender=function(){t.setCanvasUpdated()},this.wind.prerender()}this.wind&&(this.wind.prerender(),this.wind.render())}this.completeRender()},e.prototype.project=function(t){var e=this.getMap().coordinateToContainerPoint(new o.Coordinate(t[0],t[1]));return[e.x,e.y]},e.prototype.unproject=function(t){return this.getMap().containerPointToCoordinate(new o.Point(t[0],t[1])).toArray()},e.prototype.intersectsCoordinate=function(t){var e;if(!this.layer)return!1;var n=null===(e=this.layer)||void 0===e?void 0:e.getProjection();if(n&&"EPSG:3857"!==n.code)return!0;var r=this.getMap().getProjExtent();return function(t,e){var n=e[0],r=e[1];return t[0]<=n&&n<=t[2]&&t[1]<=r&&r<=t[3]}(function(t,e){return K(t,q,void 0,e)}([r.xmin,r.ymin,r.xmax,r.ymax],0),[t[0],t[1]])},e.prototype.drawOnInteracting=function(){},e.prototype.onZoomStart=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];this.wind&&this.wind.stop(),t.prototype.onZoomStart.apply(this,n)},e.prototype.onZoomEnd=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];this.wind&&this.wind.start(),t.prototype.onZoomEnd.apply(this,n)},e.prototype.onDragRotateStart=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];this.wind&&this.wind.stop(),t.prototype.onDragRotateStart.apply(this,n)},e.prototype.onDragRotateEnd=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];this.wind&&this.wind.start(),t.prototype.onDragRotateEnd.apply(this,n)},e.prototype.onMoveStart=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];this.wind&&this.wind.stop(),t.prototype.onMoveStart.apply(this,n)},e.prototype.onMoveEnd=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];this.wind&&this.wind.start(),t.prototype.onMoveEnd.apply(this,n)},e.prototype.remove=function(){this.wind&&this.wind.stop(),delete this._drawContext,t.prototype.remove.call(this)},e.prototype.getMap=function(){return t.prototype.getMap.call(this)},e.prototype.prepareCanvas=function(){return t.prototype.prepareCanvas.call(this)},e.prototype.prepareDrawContext=function(){t.prototype.prepareDrawContext.call(this)},e.prototype.prepareRender=function(){return t.prototype.prepareRender.call(this)},e.prototype.completeRender=function(){return t.prototype.completeRender.call(this)},e}(o.renderer.CanvasLayerRenderer),rt=function(t){function e(e,n,r){var i=t.call(this,e,p({},et,r))||this;return i.field=null,i._map=null,i.pickWindOptions(),n&&i.setData(n),i}return s(e,t),e.prototype.pickWindOptions=function(){var t=this;Object.keys(_).forEach((function(e){e in t.options&&(void 0===t.options.windOptions&&(t.options.windOptions={}),t.options.windOptions[e]=t.options[e])}))},e.prototype.getData=function(){return this.field},e.prototype.setData=function(t){t&&t.checkFields&&t.checkFields()?this.field=t:function(t){return Array.isArray(t)}(t)?this.field=function(t){var e,n;if(console.time("format-data"),t.forEach((function(t){switch(t.header.parameterCategory+","+t.header.parameterNumber){case"1,2":case"2,2":e=t;break;case"1,3":case"2,3":n=t}})),n&&e){var r=e.header,i=new y({xmin:r.lo1,ymin:r.la1,xmax:r.lo2,ymax:r.la2,deltaX:r.dx,deltaY:r.dy,cols:r.nx,rows:r.ny,us:e.data,vs:n.data});return console.timeEnd("format-data"),i}}(t):console.error("Illegal data");var e=this._getRenderer();return e&&e.wind&&e.wind.updateData(this.field),this},e.prototype.updateParams=function(t){return void 0===t&&(t={}),m("will move to setWindOptions"),this.setWindOptions(t),this},e.prototype.getParams=function(){return m("will move to getWindOptions"),this.getWindOptions()},e.prototype.setWindOptions=function(t){var e=this.options.windOptions||{};this.options=p(this.options,{windOptions:p(e,t||{})});var n=this._getRenderer();if(n&&n.wind){var r=this.options.windOptions;n.wind.setOptions(r)}},e.prototype.getWindOptions=function(){return this.options.windOptions||{}},e.prototype.draw=function(){return this._getRenderer()&&this._getRenderer()._redraw(),this},e.prototype.prepareToDraw=function(){return[]},e.prototype.drawOnInteracting=function(){this.draw()},e.prototype._getRenderer=function(){return t.prototype._getRenderer.call(this)},e}(o.CanvasLayer);rt.registerRenderer("canvas",nt);var it=rt}).call(this,n("2ffc")(t),n("fd40").Buffer,n("eef6"))},"5e6d":function(t,e){t.exports="object"==typeof window},"5eb3":function(t,e,n){var r=n("3a40").Global;function i(){return r.localStorage}function o(t){return i().getItem(t)}t.exports={name:"localStorage",read:o,write:function(t,e){return i().setItem(t,e)},each:function(t){for(var e=i().length-1;e>=0;e--){var n=i().key(e);t(o(n),n)}},remove:function(t){return i().removeItem(t)},clearAll:function(){return i().clear()}}},"5ede":function(t,e,n){"use strict";var r=n("6dd3"),i=n("a2f4");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},"5f7f":function(t,e,n){var r=n("8e24"),i=n("163f"),o=n("77bb"),a=n("521d"),s=i(n("473f").f),c=i([].push),u=function(t){return function(e){for(var n,i=a(e),u=o(i),l=u.length,h=0,f=[];l>h;)n=u[h++],r&&!s(i,n)||c(f,t?[n,i[n]]:i[n]);return f}};t.exports={entries:u(!0),values:u(!1)}},"5f8e":function(t,e,n){var r=n("8e24"),i=n("d44f").EXISTS,o=n("163f"),a=n("dcc6").f,s=Function.prototype,c=o(s.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=o(u.exec);r&&!i&&a(s,"name",{configurable:!0,get:function(){try{return l(u,c(this))[1]}catch(t){return""}}})},"5ffc":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("5ae2"),n("09be"),n("39dd"),n("00e8"),n("55b1"),n("3946");var r=n("6860");function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||Object(r.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},6054:function(t,e,n){"use strict";var r=n("6dd3"),i=n("9699"),o=n("b51b"),a=n("4a15"),s=n("9801"),c=n("ed2b"),u=n("1de0"),l=n("1657"),h=n("7f81"),f=n("9b46"),d=n("3d1e"),p=n("3e77"),m=d("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",y=i.TypeError,_=p>=51||!o((function(){var t=[];return t[m]=!1,t.concat()[0]!==t})),x=f("concat"),b=function(t){if(!s(t))return!1;var e=t[m];return void 0!==e?!!e:a(t)};r({target:"Array",proto:!0,forced:!_||!x},{concat:function(t){var e,n,r,i,o,a=c(this),s=h(a,0),f=0;for(e=-1,r=arguments.length;e<r;e++)if(b(o=-1===e?a:arguments[e])){if(f+(i=u(o))>g)throw y(v);for(n=0;n<i;n++,f++)n in o&&l(s,f,o[n])}else{if(f>=g)throw y(v);l(s,f++,o)}return s.length=f,s}})},"608a":function(t,e,n){var r=n("6dd3"),i=n("8e24"),o=n("3a80"),a=n("521d"),s=n("162c"),c=n("1657");r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),i=s.f,u=o(r),l={},h=0;u.length>h;)void 0!==(n=i(r,e=u[h++]))&&c(l,e,n);return l}})},6266:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return(i?"/":"")+(e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"))||"."},e.normalize=function(t){var o=e.isAbsolute(t),a="/"===i(t,-1);return(t=n(r(t.split("/"),(function(t){return!!t})),!o).join("/"))||o||(t="."),t&&a&&(t+="/"),(o?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c<a;c++)if(i[c]!==o[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return(u=u.concat(o.slice(s))).join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!=typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,o=t.length-1;o>=1;--o)if(47===(e=t.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=function(t){"string"!=typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=a+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("eef6"))},"62ae":function(t,e,n){var r=n("6dd3"),i=n("74dc");r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},"63c7":function(t,e,n){"use strict";var r=n("9699"),i=n("2c81"),o=n("8ea6"),a=n("5674"),s=r.RangeError;t.exports=function(t){var e=o(a(this)),n="",r=i(t);if(r<0||r==1/0)throw s("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}},"647c":function(t,e,n){var r,i,o,a=n("ba51"),s=n("9699"),c=n("163f"),u=n("9801"),l=n("4efa"),h=n("4c74"),f=n("a0df"),d=n("085d"),p=n("d26b"),m="Object already initialized",g=s.TypeError,v=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new v),_=c(y.get),x=c(y.has),b=c(y.set);r=function(t,e){if(x(y,t))throw new g(m);return e.facade=t,b(y,t,e),e},i=function(t){return _(y,t)||{}},o=function(t){return x(y,t)}}else{var w=d("state");p[w]=!0,r=function(t,e){if(h(t,w))throw new g(m);return e.facade=t,l(t,w,e),e},i=function(t){return h(t,w)?t[w]:{}},o=function(t){return h(t,w)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=i(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}}}},"64c3":function(t,e,n){"use strict";var r=n("ecff");t.exports=function(t){var e=(t=t||{}).reporter,n=t.batchProcessor,i=t.stateHandler.getState;if(!e)throw new Error("Missing required dependency: reporter.");function o(e){var n=t.important?" !important; ":"; ";return(e.join(n)+n).trim()}function a(t){return i(t).object}return{makeDetectable:function(t,a,s){s||(s=a,a=t,t=null),(t=t||{}).debug,r.isIE(8)?s(a):function(a,s){var c=o(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),u=!1,l=window.getComputedStyle(a),h=a.offsetWidth,f=a.offsetHeight;function d(){function n(){if("static"===l.position){a.style.setProperty("position","relative",t.important?"important":"");var n=function(e,n,r,i){var o=r[i];"auto"!==o&&"0"!==function(t){return t.replace(/[^-\d\.]/g,"")}(o)&&(e.warn("An element that is positioned static has style."+i+"="+o+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+i+" will be set to 0. Element: ",n),n.style.setProperty(i,"0",t.important?"important":""))};n(e,a,l,"top"),n(e,a,l,"right"),n(e,a,l,"bottom"),n(e,a,l,"left")}}""!==l.position&&(n(),u=!0);var o=document.createElement("object");o.style.cssText=c,o.tabIndex=-1,o.type="text/html",o.setAttribute("aria-hidden","true"),o.onload=function(){u||n(),function t(e,n){if(!e.contentDocument){var r=i(e);return r.checkForObjectDocumentTimeoutId&&window.clearTimeout(r.checkForObjectDocumentTimeoutId),void(r.checkForObjectDocumentTimeoutId=setTimeout((function(){r.checkForObjectDocumentTimeoutId=0,t(e,n)}),100))}n(e.contentDocument)}(this,(function(t){s(a)}))},r.isIE()||(o.data="about:blank"),i(a)&&(a.appendChild(o),i(a).object=o,r.isIE()&&(o.data="about:blank"))}i(a).startSize={width:h,height:f},n?n.add(d):d()}(a,s)},addListener:function(t,e){function n(){e(t)}if(r.isIE(8))i(t).object={proxy:n},t.attachEvent("onresize",n);else{var o=a(t);if(!o)throw new Error("Element is not detectable by this strategy.");o.contentDocument.defaultView.addEventListener("resize",n)}},uninstall:function(t){if(i(t)){var e=a(t);e&&(r.isIE(8)?t.detachEvent("onresize",e.proxy):t.removeChild(e),i(t).checkForObjectDocumentTimeoutId&&window.clearTimeout(i(t).checkForObjectDocumentTimeoutId),delete i(t).object)}}}}},"64e5":function(t,e,n){var r=n("521d"),i=n("03e9"),o=n("1de0"),a=function(t){return function(e,n,a){var s,c=r(e),u=o(c),l=i(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},6586:function(t,e,n){var r=n("235f"),i=n("0635");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){i(t,"throw",e)}}},"65b8":function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n("e1fd"),n("39dd"),n("9afc");var r=n("9cb3"),i=n("b417"),o=n.n(i),a=n("891d");function s(t,e){if(e&&("object"===o()(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Object(a.a)(t)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=Object(r.a)(t);if(e){var o=Object(r.a)(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return s(this,n)}}},"66da":function(t,e){var n="expire_mixin";t.exports=function(){var t=this.createStore(this.storage,null,this._namespacePrefix+n);return{set:function(e,r,i,o){return this.hasNamespace(n)||t.set(r,o),e()},get:function(t,r){return this.hasNamespace(n)||e.call(this,r),t()},remove:function(e,r){return this.hasNamespace(n)||t.remove(r),e()},getExpiration:function(e,n){return t.get(n)},removeExpiredKeys:function(t){var n=[];this.each((function(t,e){n.push(e)}));for(var r=0;r<n.length;r++)e.call(this,n[r])}};function e(e){t.get(e,Number.MAX_VALUE)<=(new Date).getTime()&&(this.raw.remove(e),t.remove(e))}}},6860:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function i(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}n.d(e,"a",(function(){return i})),n("3901"),n("39dd"),n("5f8e"),n("fc09"),n("55b1"),n("5ede"),n("ccbd")},"69e4":function(t,e,n){var r=n("9699"),i=n("b51b"),o=n("329e"),a=n("5d20").NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;t.exports=!a||!i((function(){c(1)}))||!i((function(){new c(-1)}))||!o((function(t){new c,new c(null),new c(1.5),new c(t)}),!0)||i((function(){return 1!==new c(new s(2),1,void 0).length}))},"6a85":function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},"6b26":function(t,e,n){var r=n("9699"),i=n("e1f6"),o=n("b8fb"),a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not a function")}},"6d38":function(t,e,n){var r=n("b51b"),i=n("e1f6"),o=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==l||n!=u&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},"6d3e":function(t,e,n){"use strict";var r=n("6dd3"),i=n("fb76"),o=n("de16"),a=n("b51b"),s=n("f22c"),c=n("e1f6"),u=n("3a73"),l=n("0f78"),h=n("51ad");if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=u(this,s("Promise")),n=c(t);return this.then(n?function(n){return l(e,t()).then((function(){return n}))}:t,n?function(n){return l(e,t()).then((function(){throw n}))}:t)}}),!i&&c(o)){var f=s("Promise").prototype.finally;o.prototype.finally!==f&&h(o.prototype,"finally",f,{unsafe:!0})}},"6d6e":function(t,e){var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};t.exports=function(t,e){if(!n(t))throw new Error("Coordinates must be an array");if(t.length<2)throw new Error("Coordinates must be at least 2 numbers long");return{type:"Feature",geometry:{type:"Point",coordinates:t},properties:e||{}}}},"6dd3":function(t,e,n){var r=n("9699"),i=n("162c").f,o=n("4efa"),a=n("51ad"),s=n("1a30"),c=n("d88d"),u=n("6d38");t.exports=function(t,e){var n,l,h,f,d,p=t.target,m=t.global,g=t.stat;if(n=m?r:g?r[p]||s(p,{}):(r[p]||{}).prototype)for(l in e){if(f=e[l],h=t.noTargetGet?(d=i(n,l))&&d.value:n[l],!u(m?l:p+(g?".":"#")+l,t.forced)&&void 0!==h){if(typeof f==typeof h)continue;c(f,h)}(t.sham||h&&h.sham)&&o(f,"sham",!0),a(n,l,f,t)}}},"6dda":function(t,e,n){"use strict";var r=n("9699"),i=n("c687"),o=n("5d20"),a=n("b51b"),s=n("906c"),c=r.Int8Array,u=o.aTypedArray,l=o.exportTypedArrayMethod,h=[].toLocaleString,f=!!c&&a((function(){h.call(new c(1))}));l("toLocaleString",(function(){return i(h,f?s(u(this)):u(this),s(arguments))}),a((function(){return[1,2].toLocaleString()!=new c([1,2]).toLocaleString()}))||!a((function(){c.prototype.toLocaleString.call([1,2])})))},"713e":function(t,e,n){var r=n("6dd3"),i=n("a22c"),o=n("9801"),a=n("235f"),s=n("d485"),c=n("162c"),u=n("a625");r({target:"Reflect",stat:!0},{get:function t(e,n){var r,l,h=arguments.length<3?e:arguments[2];return a(e)===h?e[n]:(r=c.f(e,n))?s(r)?r.value:void 0===r.get?void 0:i(r.get,h):o(l=u(e))?t(l,n,h):void 0}})},7161:function(t,e,n){"use strict";var r=n("5d20"),i=n("1de0"),o=n("2c81"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("at",(function(t){var e=a(this),n=i(e),r=o(t),s=r>=0?r:n+r;return s<0||s>=n?void 0:e[s]}))},"71f5":function(t,e,n){"use strict";t.exports=function(t){var e=t.stateHandler.getState;return{isDetectable:function(t){var n=e(t);return n&&!!n.isDetectable},markAsDetectable:function(t){e(t).isDetectable=!0},isBusy:function(t){return!!e(t).busy},markBusy:function(t,n){e(t).busy=!!n}}}},7203:function(t,e,n){t.exports=n.p+"img/kedu.2adfe059.png"},"74cd":function(t,e,n){var r=n("3d1e");e.f=r},"74dc":function(t,e,n){"use strict";var r=n("8e24"),i=n("163f"),o=n("a22c"),a=n("b51b"),s=n("77bb"),c=n("0847"),u=n("473f"),l=n("ed2b"),h=n("efd0"),f=Object.assign,d=Object.defineProperty,p=i([].concat);t.exports=!f||a((function(){if(r&&1!==f({b:1},f(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=f({},t)[n]||s(f({},e)).join("")!=i}))?function(t,e){for(var n=l(t),i=arguments.length,a=1,f=c.f,d=u.f;i>a;)for(var m,g=h(arguments[a++]),v=f?p(s(g),f(g)):s(g),y=v.length,_=0;y>_;)m=v[_++],r&&!o(d,g,m)||(n[m]=g[m]);return n}:f},7579:function(t,e,n){var r=n("1de0");t.exports=function(t,e){for(var n=0,i=r(e),o=new t(i);i>n;)o[n]=e[n++];return o}},"759a":function(t,e,n){var r=n("9699"),i=n("e1f6"),o=r.String,a=r.TypeError;t.exports=function(t){if("object"==typeof t||i(t))return t;throw a("Can't set "+o(t)+" as a prototype")}},7710:function(t,e,n){"use strict";var r=n("6dd3"),i=n("9699"),o=n("a22c"),a=n("163f"),s=n("5674"),c=n("e1f6"),u=n("f55f"),l=n("8ea6"),h=n("5b57"),f=n("40ac"),d=n("5999"),p=n("3d1e"),m=n("fb76"),g=p("replace"),v=RegExp.prototype,y=i.TypeError,_=a(f),x=a("".indexOf),b=a("".replace),w=a("".slice),M=Math.max,S=function(t,e,n){return n>t.length?-1:""===e?n:x(t,e,n)};r({target:"String",proto:!0},{replaceAll:function(t,e){var n,r,i,a,f,p,A,C,E,T=s(this),I=0,L=0,P="";if(null!=t){if((n=u(t))&&(r=l(s("flags"in v?t.flags:_(t))),!~x(r,"g")))throw y("`.replaceAll` does not allow non-global regexes");if(i=h(t,g))return o(i,t,T,e);if(m&&n)return b(l(T),t,e)}for(a=l(T),f=l(t),(p=c(e))||(e=l(e)),A=f.length,C=M(1,A),I=S(a,f,0);-1!==I;)E=p?l(e(f,I,a)):d(f,a,I,[],void 0,e),P+=w(a,L,I)+E,L=I+A,I=S(a,f,I+C);return L<a.length&&(P+=w(a,L)),P}})},7718:function(t,e,n){"use strict";var r=n("b51b");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},"77bb":function(t,e,n){var r=n("5a08"),i=n("dd7b");t.exports=Object.keys||function(t){return r(t,i)}},7909:function(t,e,n){var r=n("4f4c"),i=n("a22c"),o=n("9edc"),a=n("ed2b"),s=n("1de0"),c=n("40ec"),u=n("4557"),l=n("8d89"),h=n("5d20").aTypedArrayConstructor;t.exports=function(t){var e,n,f,d,p,m,g=o(this),v=a(t),y=arguments.length,_=y>1?arguments[1]:void 0,x=void 0!==_,b=u(v);if(b&&!l(b))for(m=(p=c(v,b)).next,v=[];!(d=i(m,p)).done;)v.push(d.value);for(x&&y>2&&(_=r(_,arguments[2])),n=s(v),f=new(h(g))(n),e=0;n>e;e++)f[e]=x?_(v[e],e):v[e];return f}},7970:function(t,e,n){var r=n("5a08"),i=n("dd7b").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"79e6":function(t,e,n){var r=n("9699"),i=n("03e9"),o=n("1de0"),a=n("1657"),s=r.Array,c=Math.max;t.exports=function(t,e,n){for(var r=o(t),u=i(e,r),l=i(void 0===n?r:n,r),h=s(c(l-u,0)),f=0;u<l;u++,f++)a(h,f,t[u]);return h.length=f,h}},"7c3e":function(t,e,n){var r=n("2c9a"),i=n("4c74"),o=n("74cd"),a=n("dcc6").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},"7c98":function(t,e,n){(function(t,r){var i;
|
|
83
|
+
***************************************************************************** */function M(t,e){function n(){this.constructor=t}w(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var S=function(){return(S=Object.assign||function(t){for(var e,n=arguments,r=1,i=arguments.length;r<i;r++)for(var o in e=n[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},A=null;try{var C="function"==typeof t.require&&n(!function(){var t=new Error("Cannot find module 'worker_threads'");throw t.code="MODULE_NOT_FOUND",t}())||__webpack_require__(!function(){var t=new Error("Cannot find module 'worker_threads'");throw t.code="MODULE_NOT_FOUND",t}())||n(!function(){var t=new Error("Cannot find module 'worker_threads'");throw t.code="MODULE_NOT_FOUND",t}());A=C.Worker}catch(t){}function E(t,e){return r.from(t,"base64").toString(e?"utf16":"utf8")}function T(t,e,n){var r=void 0===e?null:e,i=function(t,e){var n=atob(t);if(e){for(var r=new Uint8Array(n.length),i=0,o=n.length;i<o;++i)r[i]=n.charCodeAt(i);return String.fromCharCode.apply(null,new Uint16Array(r.buffer))}return n}(t,void 0!==n&&n),o=i.indexOf("\n",10)+1,a=i.substring(o)+(r?"//# sourceMappingURL="+r:""),s=new Blob([a],{type:"application/javascript"});return URL.createObjectURL(s)}var I="[object process]"===Object.prototype.toString.call(void 0!==i?i:0),L=function(t,e,n){return I?function(t,e,n){var r=void 0===e?null:e,i=E(t,void 0!==n&&n),o=i.indexOf("\n",10)+1,a=i.substring(o)+(r?"//# sourceMappingURL="+r:"");return function(t){return new A(a,Object.assign({},t,{eval:!0}))}}(t,e,n):function(t,e,n){var r;return function(i){return r=r||T(t,e,n),new Worker(r,i)}}(t,e,n)}("Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwovKiEgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCkNvcHlyaWdodCAoYykgTWljcm9zb2Z0IENvcnBvcmF0aW9uLiBBbGwgcmlnaHRzIHJlc2VydmVkLg0KTGljZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlICJMaWNlbnNlIik7IHlvdSBtYXkgbm90IHVzZQ0KdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUNCkxpY2Vuc2UgYXQgaHR0cDovL3d3dy5hcGFjaGUub3JnL2xpY2Vuc2VzL0xJQ0VOU0UtMi4wDQoNClRISVMgQ09ERSBJUyBQUk9WSURFRCBPTiBBTiAqQVMgSVMqIEJBU0lTLCBXSVRIT1VUIFdBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBBTlkNCktJTkQsIEVJVEhFUiBFWFBSRVNTIE9SIElNUExJRUQsIElOQ0xVRElORyBXSVRIT1VUIExJTUlUQVRJT04gQU5ZIElNUExJRUQNCldBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBUSVRMRSwgRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFSIFBVUlBPU0UsDQpNRVJDSEFOVEFCTElUWSBPUiBOT04tSU5GUklOR0VNRU5ULg0KDQpTZWUgdGhlIEFwYWNoZSBWZXJzaW9uIDIuMCBMaWNlbnNlIGZvciBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMNCmFuZCBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS4NCioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovDQoNCmZ1bmN0aW9uIF9fYXdhaXRlcih0aGlzQXJnLCBfYXJndW1lbnRzLCBQLCBnZW5lcmF0b3IpIHsNCiAgICByZXR1cm4gbmV3IChQIHx8IChQID0gUHJvbWlzZSkpKGZ1bmN0aW9uIChyZXNvbHZlLCByZWplY3QpIHsNCiAgICAgICAgZnVuY3Rpb24gZnVsZmlsbGVkKHZhbHVlKSB7IHRyeSB7IHN0ZXAoZ2VuZXJhdG9yLm5leHQodmFsdWUpKTsgfSBjYXRjaCAoZSkgeyByZWplY3QoZSk7IH0gfQ0KICAgICAgICBmdW5jdGlvbiByZWplY3RlZCh2YWx1ZSkgeyB0cnkgeyBzdGVwKGdlbmVyYXRvclsidGhyb3ciXSh2YWx1ZSkpOyB9IGNhdGNoIChlKSB7IHJlamVjdChlKTsgfSB9DQogICAgICAgIGZ1bmN0aW9uIHN0ZXAocmVzdWx0KSB7IHJlc3VsdC5kb25lID8gcmVzb2x2ZShyZXN1bHQudmFsdWUpIDogbmV3IFAoZnVuY3Rpb24gKHJlc29sdmUpIHsgcmVzb2x2ZShyZXN1bHQudmFsdWUpOyB9KS50aGVuKGZ1bGZpbGxlZCwgcmVqZWN0ZWQpOyB9DQogICAgICAgIHN0ZXAoKGdlbmVyYXRvciA9IGdlbmVyYXRvci5hcHBseSh0aGlzQXJnLCBfYXJndW1lbnRzIHx8IFtdKSkubmV4dCgpKTsNCiAgICB9KTsNCn0NCg0KZnVuY3Rpb24gX19nZW5lcmF0b3IodGhpc0FyZywgYm9keSkgew0KICAgIHZhciBfID0geyBsYWJlbDogMCwgc2VudDogZnVuY3Rpb24oKSB7IGlmICh0WzBdICYgMSkgeyB0aHJvdyB0WzFdOyB9IHJldHVybiB0WzFdOyB9LCB0cnlzOiBbXSwgb3BzOiBbXSB9LCBmLCB5LCB0LCBnOw0KICAgIHJldHVybiBnID0geyBuZXh0OiB2ZXJiKDApLCAidGhyb3ciOiB2ZXJiKDEpLCAicmV0dXJuIjogdmVyYigyKSB9LCB0eXBlb2YgU3ltYm9sID09PSAiZnVuY3Rpb24iICYmIChnW1N5bWJvbC5pdGVyYXRvcl0gPSBmdW5jdGlvbigpIHsgcmV0dXJuIHRoaXM7IH0pLCBnOw0KICAgIGZ1bmN0aW9uIHZlcmIobikgeyByZXR1cm4gZnVuY3Rpb24gKHYpIHsgcmV0dXJuIHN0ZXAoW24sIHZdKTsgfTsgfQ0KICAgIGZ1bmN0aW9uIHN0ZXAob3ApIHsNCiAgICAgICAgaWYgKGYpIHsgdGhyb3cgbmV3IFR5cGVFcnJvcigiR2VuZXJhdG9yIGlzIGFscmVhZHkgZXhlY3V0aW5nLiIpOyB9DQogICAgICAgIHdoaWxlIChfKSB7IHRyeSB7DQogICAgICAgICAgICBpZiAoZiA9IDEsIHkgJiYgKHQgPSBvcFswXSAmIDIgPyB5WyJyZXR1cm4iXSA6IG9wWzBdID8geVsidGhyb3ciXSB8fCAoKHQgPSB5WyJyZXR1cm4iXSkgJiYgdC5jYWxsKHkpLCAwKSA6IHkubmV4dCkgJiYgISh0ID0gdC5jYWxsKHksIG9wWzFdKSkuZG9uZSkgeyByZXR1cm4gdDsgfQ0KICAgICAgICAgICAgaWYgKHkgPSAwLCB0KSB7IG9wID0gW29wWzBdICYgMiwgdC52YWx1ZV07IH0NCiAgICAgICAgICAgIHN3aXRjaCAob3BbMF0pIHsNCiAgICAgICAgICAgICAgICBjYXNlIDA6IGNhc2UgMTogdCA9IG9wOyBicmVhazsNCiAgICAgICAgICAgICAgICBjYXNlIDQ6IF8ubGFiZWwrKzsgcmV0dXJuIHsgdmFsdWU6IG9wWzFdLCBkb25lOiBmYWxzZSB9Ow0KICAgICAgICAgICAgICAgIGNhc2UgNTogXy5sYWJlbCsrOyB5ID0gb3BbMV07IG9wID0gWzBdOyBjb250aW51ZTsNCiAgICAgICAgICAgICAgICBjYXNlIDc6IG9wID0gXy5vcHMucG9wKCk7IF8udHJ5cy5wb3AoKTsgY29udGludWU7DQogICAgICAgICAgICAgICAgZGVmYXVsdDoNCiAgICAgICAgICAgICAgICAgICAgaWYgKCEodCA9IF8udHJ5cywgdCA9IHQubGVuZ3RoID4gMCAmJiB0W3QubGVuZ3RoIC0gMV0pICYmIChvcFswXSA9PT0gNiB8fCBvcFswXSA9PT0gMikpIHsgXyA9IDA7IGNvbnRpbnVlOyB9DQogICAgICAgICAgICAgICAgICAgIGlmIChvcFswXSA9PT0gMyAmJiAoIXQgfHwgKG9wWzFdID4gdFswXSAmJiBvcFsxXSA8IHRbM10pKSkgeyBfLmxhYmVsID0gb3BbMV07IGJyZWFrOyB9DQogICAgICAgICAgICAgICAgICAgIGlmIChvcFswXSA9PT0gNiAmJiBfLmxhYmVsIDwgdFsxXSkgeyBfLmxhYmVsID0gdFsxXTsgdCA9IG9wOyBicmVhazsgfQ0KICAgICAgICAgICAgICAgICAgICBpZiAodCAmJiBfLmxhYmVsIDwgdFsyXSkgeyBfLmxhYmVsID0gdFsyXTsgXy5vcHMucHVzaChvcCk7IGJyZWFrOyB9DQogICAgICAgICAgICAgICAgICAgIGlmICh0WzJdKSB7IF8ub3BzLnBvcCgpOyB9DQogICAgICAgICAgICAgICAgICAgIF8udHJ5cy5wb3AoKTsgY29udGludWU7DQogICAgICAgICAgICB9DQogICAgICAgICAgICBvcCA9IGJvZHkuY2FsbCh0aGlzQXJnLCBfKTsNCiAgICAgICAgfSBjYXRjaCAoZSkgeyBvcCA9IFs2LCBlXTsgeSA9IDA7IH0gZmluYWxseSB7IGYgPSB0ID0gMDsgfSB9DQogICAgICAgIGlmIChvcFswXSAmIDUpIHsgdGhyb3cgb3BbMV07IH0gcmV0dXJuIHsgdmFsdWU6IG9wWzBdID8gb3BbMV0gOiB2b2lkIDAsIGRvbmU6IHRydWUgfTsNCiAgICB9DQp9CgpmdW5jdGlvbiBjYWxjTWluTWF4KGFycmF5KSB7CiAgICB2YXIgbWluID0gSW5maW5pdHk7CiAgICB2YXIgbWF4ID0gSW5maW5pdHk7CiAgICAvLyBAZnJvbTogaHR0cHM6Ly9zdGFja292ZXJmbG93LmNvbS9xdWVzdGlvbnMvMTM1NDQ0NzYvaG93LXRvLWZpbmQtbWF4LWFuZC1taW4taW4tYXJyYXktdXNpbmctbWluaW11bS1jb21wYXJpc29ucwogICAgZm9yICh2YXIgaSA9IDA7IGkgPCBhcnJheS5sZW5ndGg7IGkrKykgewogICAgICAgIHZhciB2YWwgPSBhcnJheVtpXTsKICAgICAgICBpZiAobWluID09PSBJbmZpbml0eSkgewogICAgICAgICAgICBtaW4gPSB2YWw7CiAgICAgICAgfQogICAgICAgIGVsc2UgaWYgKG1heCA9PT0gSW5maW5pdHkpIHsKICAgICAgICAgICAgbWF4ID0gdmFsOwogICAgICAgICAgICAvLyB1cGRhdGUgbWluIG1heAogICAgICAgICAgICAvLyAxLiBQaWNrIDIgZWxlbWVudHMoYSwgYiksIGNvbXBhcmUgdGhlbS4gKHNheSBhID4gYikKICAgICAgICAgICAgbWluID0gTWF0aC5taW4obWluLCBtYXgpOwogICAgICAgICAgICBtYXggPSBNYXRoLm1heChtaW4sIG1heCk7CiAgICAgICAgfQogICAgICAgIGVsc2UgewogICAgICAgICAgICAvLyAyLiBVcGRhdGUgbWluIGJ5IGNvbXBhcmluZyAobWluLCBiKQogICAgICAgICAgICAvLyAzLiBVcGRhdGUgbWF4IGJ5IGNvbXBhcmluZyAobWF4LCBhKQogICAgICAgICAgICBtaW4gPSBNYXRoLm1pbih2YWwsIG1pbik7CiAgICAgICAgICAgIG1heCA9IE1hdGgubWF4KHZhbCwgbWF4KTsKICAgICAgICB9CiAgICB9CiAgICByZXR1cm4gW21pbiwgbWF4XTsKfQoKdmFyIGN0eCA9IHNlbGY7CmN0eC5hZGRFdmVudExpc3RlbmVyKCdtZXNzYWdlJywgZnVuY3Rpb24gKF9hKSB7CiAgICB2YXIgcGF5bG9hZCA9IF9hLmRhdGE7CiAgICByZXR1cm4gX19hd2FpdGVyKHZvaWQgMCwgdm9pZCAwLCB2b2lkIDAsIGZ1bmN0aW9uICgpIHsKICAgICAgICB2YXIgcmVuZGVyRm9ybSwgdURhdGEsIHZEYXRhLCBfYiwgdU1pbiwgdU1heCwgX2MsIHZNaW4sIHZNYXgsIHZlbG9jaXR5RGF0YSwgaSwgciwgZywgc2luZ2xlRGF0YSwgX2QsIG1pbiwgbWF4LCB2ZWxvY2l0eURhdGEsIGksIHI7CiAgICAgICAgcmV0dXJuIF9fZ2VuZXJhdG9yKHRoaXMsIGZ1bmN0aW9uIChfZSkgewogICAgICAgICAgICByZW5kZXJGb3JtID0gcGF5bG9hZFswXTsKICAgICAgICAgICAgaWYgKHJlbmRlckZvcm0gPT09ICdyZycpIHsKICAgICAgICAgICAgICAgIHVEYXRhID0gcGF5bG9hZFsxXTsKICAgICAgICAgICAgICAgIHZEYXRhID0gcGF5bG9hZFsyXTsKICAgICAgICAgICAgICAgIF9iID0gY2FsY01pbk1heCh1RGF0YSksIHVNaW4gPSBfYlswXSwgdU1heCA9IF9iWzFdOwogICAgICAgICAgICAgICAgX2MgPSBjYWxjTWluTWF4KHZEYXRhKSwgdk1pbiA9IF9jWzBdLCB2TWF4ID0gX2NbMV07CiAgICAgICAgICAgICAgICB2ZWxvY2l0eURhdGEgPSBuZXcgVWludDhBcnJheSh1RGF0YS5sZW5ndGggKiA0KTsKICAgICAgICAgICAgICAgIGZvciAoaSA9IDA7IGkgPCB1RGF0YS5sZW5ndGg7IGkrKykgewogICAgICAgICAgICAgICAgICAgIHIgPSAyNTUgKiAodURhdGFbaV0gLSB1TWluKSAvICh1TWF4IC0gdU1pbik7CiAgICAgICAgICAgICAgICAgICAgZyA9IDI1NSAqICh2RGF0YVtpXSAtIHZNaW4pIC8gKHZNYXggLSB2TWluKTsKICAgICAgICAgICAgICAgICAgICB2ZWxvY2l0eURhdGEuc2V0KFtyLCBnLCAwLCAyNTVdLCBpICogNCk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBjdHgucG9zdE1lc3NhZ2UoW3ZlbG9jaXR5RGF0YS5idWZmZXIsIHVNaW4sIHVNYXgsIHZNaW4sIHZNYXhdLCBbdmVsb2NpdHlEYXRhLmJ1ZmZlcl0pOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGVsc2UgewogICAgICAgICAgICAgICAgc2luZ2xlRGF0YSA9IHBheWxvYWRbMV07CiAgICAgICAgICAgICAgICBfZCA9IGNhbGNNaW5NYXgoc2luZ2xlRGF0YSksIG1pbiA9IF9kWzBdLCBtYXggPSBfZFsxXTsKICAgICAgICAgICAgICAgIHZlbG9jaXR5RGF0YSA9IG5ldyBVaW50OEFycmF5KHNpbmdsZURhdGEubGVuZ3RoICogNCk7CiAgICAgICAgICAgICAgICBmb3IgKGkgPSAwOyBpIDwgc2luZ2xlRGF0YS5sZW5ndGg7IGkrKykgewogICAgICAgICAgICAgICAgICAgIHIgPSAyNTUgKiAoc2luZ2xlRGF0YVtpXSAtIG1pbikgLyAobWF4IC0gbWluKTsKICAgICAgICAgICAgICAgICAgICB2ZWxvY2l0eURhdGEuc2V0KFtyLCAwLCAwLCAyNTVdLCBpICogNCk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBjdHgucG9zdE1lc3NhZ2UoW3ZlbG9jaXR5RGF0YS5idWZmZXIsIG1pbiwgbWF4XSwgW3ZlbG9jaXR5RGF0YS5idWZmZXJdKTsKICAgICAgICAgICAgfQogICAgICAgICAgICByZXR1cm4gWzIgLypyZXR1cm4qL107CiAgICAgICAgfSk7CiAgICB9KTsKfSk7Cgo=","data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGF0YVByb2Nlc3NlLmpzIiwic291cmNlcyI6WyIuLi8uLi9ub2RlX21vZHVsZXMvdHNsaWIvdHNsaWIuZXM2LmpzIiwic3JjL3V0aWxzL2NvbW1vbi50cyIsInNyYy93b3JrZXJzL0RhdGFQcm9jZXNzZS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKiEgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcclxuQ29weXJpZ2h0IChjKSBNaWNyb3NvZnQgQ29ycG9yYXRpb24uIEFsbCByaWdodHMgcmVzZXJ2ZWQuXHJcbkxpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7IHlvdSBtYXkgbm90IHVzZVxyXG50aGlzIGZpbGUgZXhjZXB0IGluIGNvbXBsaWFuY2Ugd2l0aCB0aGUgTGljZW5zZS4gWW91IG1heSBvYnRhaW4gYSBjb3B5IG9mIHRoZVxyXG5MaWNlbnNlIGF0IGh0dHA6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxyXG5cclxuVEhJUyBDT0RFIElTIFBST1ZJREVEIE9OIEFOICpBUyBJUyogQkFTSVMsIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWVxyXG5LSU5ELCBFSVRIRVIgRVhQUkVTUyBPUiBJTVBMSUVELCBJTkNMVURJTkcgV0lUSE9VVCBMSU1JVEFUSU9OIEFOWSBJTVBMSUVEXHJcbldBUlJBTlRJRVMgT1IgQ09ORElUSU9OUyBPRiBUSVRMRSwgRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFSIFBVUlBPU0UsXHJcbk1FUkNIQU5UQUJMSVRZIE9SIE5PTi1JTkZSSU5HRU1FTlQuXHJcblxyXG5TZWUgdGhlIEFwYWNoZSBWZXJzaW9uIDIuMCBMaWNlbnNlIGZvciBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnNcclxuYW5kIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxyXG4qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiBnbG9iYWwgUmVmbGVjdCwgUHJvbWlzZSAqL1xyXG5cclxudmFyIGV4dGVuZFN0YXRpY3MgPSBmdW5jdGlvbihkLCBiKSB7XHJcbiAgICBleHRlbmRTdGF0aWNzID0gT2JqZWN0LnNldFByb3RvdHlwZU9mIHx8XHJcbiAgICAgICAgKHsgX19wcm90b19fOiBbXSB9IGluc3RhbmNlb2YgQXJyYXkgJiYgZnVuY3Rpb24gKGQsIGIpIHsgZC5fX3Byb3RvX18gPSBiOyB9KSB8fFxyXG4gICAgICAgIGZ1bmN0aW9uIChkLCBiKSB7IGZvciAodmFyIHAgaW4gYikgaWYgKGIuaGFzT3duUHJvcGVydHkocCkpIGRbcF0gPSBiW3BdOyB9O1xyXG4gICAgcmV0dXJuIGV4dGVuZFN0YXRpY3MoZCwgYik7XHJcbn07XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gX19leHRlbmRzKGQsIGIpIHtcclxuICAgIGV4dGVuZFN0YXRpY3MoZCwgYik7XHJcbiAgICBmdW5jdGlvbiBfXygpIHsgdGhpcy5jb25zdHJ1Y3RvciA9IGQ7IH1cclxuICAgIGQucHJvdG90eXBlID0gYiA9PT0gbnVsbCA/IE9iamVjdC5jcmVhdGUoYikgOiAoX18ucHJvdG90eXBlID0gYi5wcm90b3R5cGUsIG5ldyBfXygpKTtcclxufVxyXG5cclxuZXhwb3J0IHZhciBfX2Fzc2lnbiA9IGZ1bmN0aW9uKCkge1xyXG4gICAgX19hc3NpZ24gPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uIF9fYXNzaWduKHQpIHtcclxuICAgICAgICBmb3IgKHZhciBzLCBpID0gMSwgbiA9IGFyZ3VtZW50cy5sZW5ndGg7IGkgPCBuOyBpKyspIHtcclxuICAgICAgICAgICAgcyA9IGFyZ3VtZW50c1tpXTtcclxuICAgICAgICAgICAgZm9yICh2YXIgcCBpbiBzKSBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHMsIHApKSB0W3BdID0gc1twXTtcclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIHQ7XHJcbiAgICB9XHJcbiAgICByZXR1cm4gX19hc3NpZ24uYXBwbHkodGhpcywgYXJndW1lbnRzKTtcclxufVxyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIF9fcmVzdChzLCBlKSB7XHJcbiAgICB2YXIgdCA9IHt9O1xyXG4gICAgZm9yICh2YXIgcCBpbiBzKSBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHMsIHApICYmIGUuaW5kZXhPZihwKSA8IDApXHJcbiAgICAgICAgdFtwXSA9IHNbcF07XHJcbiAgICBpZiAocyAhPSBudWxsICYmIHR5cGVvZiBPYmplY3QuZ2V0T3duUHJvcGVydHlTeW1ib2xzID09PSBcImZ1bmN0aW9uXCIpXHJcbiAgICAgICAgZm9yICh2YXIgaSA9IDAsIHAgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlTeW1ib2xzKHMpOyBpIDwgcC5sZW5ndGg7IGkrKykge1xyXG4gICAgICAgICAgICBpZiAoZS5pbmRleE9mKHBbaV0pIDwgMCAmJiBPYmplY3QucHJvdG90eXBlLnByb3BlcnR5SXNFbnVtZXJhYmxlLmNhbGwocywgcFtpXSkpXHJcbiAgICAgICAgICAgICAgICB0W3BbaV1dID0gc1twW2ldXTtcclxuICAgICAgICB9XHJcbiAgICByZXR1cm4gdDtcclxufVxyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIF9fZGVjb3JhdGUoZGVjb3JhdG9ycywgdGFyZ2V0LCBrZXksIGRlc2MpIHtcclxuICAgIHZhciBjID0gYXJndW1lbnRzLmxlbmd0aCwgciA9IGMgPCAzID8gdGFyZ2V0IDogZGVzYyA9PT0gbnVsbCA/IGRlc2MgPSBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKHRhcmdldCwga2V5KSA6IGRlc2MsIGQ7XHJcbiAgICBpZiAodHlwZW9mIFJlZmxlY3QgPT09IFwib2JqZWN0XCIgJiYgdHlwZW9mIFJlZmxlY3QuZGVjb3JhdGUgPT09IFwiZnVuY3Rpb25cIikgciA9IFJlZmxlY3QuZGVjb3JhdGUoZGVjb3JhdG9ycywgdGFyZ2V0LCBrZXksIGRlc2MpO1xyXG4gICAgZWxzZSBmb3IgKHZhciBpID0gZGVjb3JhdG9ycy5sZW5ndGggLSAxOyBpID49IDA7IGktLSkgaWYgKGQgPSBkZWNvcmF0b3JzW2ldKSByID0gKGMgPCAzID8gZChyKSA6IGMgPiAzID8gZCh0YXJnZXQsIGtleSwgcikgOiBkKHRhcmdldCwga2V5KSkgfHwgcjtcclxuICAgIHJldHVybiBjID4gMyAmJiByICYmIE9iamVjdC5kZWZpbmVQcm9wZXJ0eSh0YXJnZXQsIGtleSwgciksIHI7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX3BhcmFtKHBhcmFtSW5kZXgsIGRlY29yYXRvcikge1xyXG4gICAgcmV0dXJuIGZ1bmN0aW9uICh0YXJnZXQsIGtleSkgeyBkZWNvcmF0b3IodGFyZ2V0LCBrZXksIHBhcmFtSW5kZXgpOyB9XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX21ldGFkYXRhKG1ldGFkYXRhS2V5LCBtZXRhZGF0YVZhbHVlKSB7XHJcbiAgICBpZiAodHlwZW9mIFJlZmxlY3QgPT09IFwib2JqZWN0XCIgJiYgdHlwZW9mIFJlZmxlY3QubWV0YWRhdGEgPT09IFwiZnVuY3Rpb25cIikgcmV0dXJuIFJlZmxlY3QubWV0YWRhdGEobWV0YWRhdGFLZXksIG1ldGFkYXRhVmFsdWUpO1xyXG59XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gX19hd2FpdGVyKHRoaXNBcmcsIF9hcmd1bWVudHMsIFAsIGdlbmVyYXRvcikge1xyXG4gICAgcmV0dXJuIG5ldyAoUCB8fCAoUCA9IFByb21pc2UpKShmdW5jdGlvbiAocmVzb2x2ZSwgcmVqZWN0KSB7XHJcbiAgICAgICAgZnVuY3Rpb24gZnVsZmlsbGVkKHZhbHVlKSB7IHRyeSB7IHN0ZXAoZ2VuZXJhdG9yLm5leHQodmFsdWUpKTsgfSBjYXRjaCAoZSkgeyByZWplY3QoZSk7IH0gfVxyXG4gICAgICAgIGZ1bmN0aW9uIHJlamVjdGVkKHZhbHVlKSB7IHRyeSB7IHN0ZXAoZ2VuZXJhdG9yW1widGhyb3dcIl0odmFsdWUpKTsgfSBjYXRjaCAoZSkgeyByZWplY3QoZSk7IH0gfVxyXG4gICAgICAgIGZ1bmN0aW9uIHN0ZXAocmVzdWx0KSB7IHJlc3VsdC5kb25lID8gcmVzb2x2ZShyZXN1bHQudmFsdWUpIDogbmV3IFAoZnVuY3Rpb24gKHJlc29sdmUpIHsgcmVzb2x2ZShyZXN1bHQudmFsdWUpOyB9KS50aGVuKGZ1bGZpbGxlZCwgcmVqZWN0ZWQpOyB9XHJcbiAgICAgICAgc3RlcCgoZ2VuZXJhdG9yID0gZ2VuZXJhdG9yLmFwcGx5KHRoaXNBcmcsIF9hcmd1bWVudHMgfHwgW10pKS5uZXh0KCkpO1xyXG4gICAgfSk7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX2dlbmVyYXRvcih0aGlzQXJnLCBib2R5KSB7XHJcbiAgICB2YXIgXyA9IHsgbGFiZWw6IDAsIHNlbnQ6IGZ1bmN0aW9uKCkgeyBpZiAodFswXSAmIDEpIHRocm93IHRbMV07IHJldHVybiB0WzFdOyB9LCB0cnlzOiBbXSwgb3BzOiBbXSB9LCBmLCB5LCB0LCBnO1xyXG4gICAgcmV0dXJuIGcgPSB7IG5leHQ6IHZlcmIoMCksIFwidGhyb3dcIjogdmVyYigxKSwgXCJyZXR1cm5cIjogdmVyYigyKSB9LCB0eXBlb2YgU3ltYm9sID09PSBcImZ1bmN0aW9uXCIgJiYgKGdbU3ltYm9sLml0ZXJhdG9yXSA9IGZ1bmN0aW9uKCkgeyByZXR1cm4gdGhpczsgfSksIGc7XHJcbiAgICBmdW5jdGlvbiB2ZXJiKG4pIHsgcmV0dXJuIGZ1bmN0aW9uICh2KSB7IHJldHVybiBzdGVwKFtuLCB2XSk7IH07IH1cclxuICAgIGZ1bmN0aW9uIHN0ZXAob3ApIHtcclxuICAgICAgICBpZiAoZikgdGhyb3cgbmV3IFR5cGVFcnJvcihcIkdlbmVyYXRvciBpcyBhbHJlYWR5IGV4ZWN1dGluZy5cIik7XHJcbiAgICAgICAgd2hpbGUgKF8pIHRyeSB7XHJcbiAgICAgICAgICAgIGlmIChmID0gMSwgeSAmJiAodCA9IG9wWzBdICYgMiA/IHlbXCJyZXR1cm5cIl0gOiBvcFswXSA/IHlbXCJ0aHJvd1wiXSB8fCAoKHQgPSB5W1wicmV0dXJuXCJdKSAmJiB0LmNhbGwoeSksIDApIDogeS5uZXh0KSAmJiAhKHQgPSB0LmNhbGwoeSwgb3BbMV0pKS5kb25lKSByZXR1cm4gdDtcclxuICAgICAgICAgICAgaWYgKHkgPSAwLCB0KSBvcCA9IFtvcFswXSAmIDIsIHQudmFsdWVdO1xyXG4gICAgICAgICAgICBzd2l0Y2ggKG9wWzBdKSB7XHJcbiAgICAgICAgICAgICAgICBjYXNlIDA6IGNhc2UgMTogdCA9IG9wOyBicmVhaztcclxuICAgICAgICAgICAgICAgIGNhc2UgNDogXy5sYWJlbCsrOyByZXR1cm4geyB2YWx1ZTogb3BbMV0sIGRvbmU6IGZhbHNlIH07XHJcbiAgICAgICAgICAgICAgICBjYXNlIDU6IF8ubGFiZWwrKzsgeSA9IG9wWzFdOyBvcCA9IFswXTsgY29udGludWU7XHJcbiAgICAgICAgICAgICAgICBjYXNlIDc6IG9wID0gXy5vcHMucG9wKCk7IF8udHJ5cy5wb3AoKTsgY29udGludWU7XHJcbiAgICAgICAgICAgICAgICBkZWZhdWx0OlxyXG4gICAgICAgICAgICAgICAgICAgIGlmICghKHQgPSBfLnRyeXMsIHQgPSB0Lmxlbmd0aCA+IDAgJiYgdFt0Lmxlbmd0aCAtIDFdKSAmJiAob3BbMF0gPT09IDYgfHwgb3BbMF0gPT09IDIpKSB7IF8gPSAwOyBjb250aW51ZTsgfVxyXG4gICAgICAgICAgICAgICAgICAgIGlmIChvcFswXSA9PT0gMyAmJiAoIXQgfHwgKG9wWzFdID4gdFswXSAmJiBvcFsxXSA8IHRbM10pKSkgeyBfLmxhYmVsID0gb3BbMV07IGJyZWFrOyB9XHJcbiAgICAgICAgICAgICAgICAgICAgaWYgKG9wWzBdID09PSA2ICYmIF8ubGFiZWwgPCB0WzFdKSB7IF8ubGFiZWwgPSB0WzFdOyB0ID0gb3A7IGJyZWFrOyB9XHJcbiAgICAgICAgICAgICAgICAgICAgaWYgKHQgJiYgXy5sYWJlbCA8IHRbMl0pIHsgXy5sYWJlbCA9IHRbMl07IF8ub3BzLnB1c2gob3ApOyBicmVhazsgfVxyXG4gICAgICAgICAgICAgICAgICAgIGlmICh0WzJdKSBfLm9wcy5wb3AoKTtcclxuICAgICAgICAgICAgICAgICAgICBfLnRyeXMucG9wKCk7IGNvbnRpbnVlO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIG9wID0gYm9keS5jYWxsKHRoaXNBcmcsIF8pO1xyXG4gICAgICAgIH0gY2F0Y2ggKGUpIHsgb3AgPSBbNiwgZV07IHkgPSAwOyB9IGZpbmFsbHkgeyBmID0gdCA9IDA7IH1cclxuICAgICAgICBpZiAob3BbMF0gJiA1KSB0aHJvdyBvcFsxXTsgcmV0dXJuIHsgdmFsdWU6IG9wWzBdID8gb3BbMV0gOiB2b2lkIDAsIGRvbmU6IHRydWUgfTtcclxuICAgIH1cclxufVxyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIF9fZXhwb3J0U3RhcihtLCBleHBvcnRzKSB7XHJcbiAgICBmb3IgKHZhciBwIGluIG0pIGlmICghZXhwb3J0cy5oYXNPd25Qcm9wZXJ0eShwKSkgZXhwb3J0c1twXSA9IG1bcF07XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX3ZhbHVlcyhvKSB7XHJcbiAgICB2YXIgbSA9IHR5cGVvZiBTeW1ib2wgPT09IFwiZnVuY3Rpb25cIiAmJiBvW1N5bWJvbC5pdGVyYXRvcl0sIGkgPSAwO1xyXG4gICAgaWYgKG0pIHJldHVybiBtLmNhbGwobyk7XHJcbiAgICByZXR1cm4ge1xyXG4gICAgICAgIG5leHQ6IGZ1bmN0aW9uICgpIHtcclxuICAgICAgICAgICAgaWYgKG8gJiYgaSA+PSBvLmxlbmd0aCkgbyA9IHZvaWQgMDtcclxuICAgICAgICAgICAgcmV0dXJuIHsgdmFsdWU6IG8gJiYgb1tpKytdLCBkb25lOiAhbyB9O1xyXG4gICAgICAgIH1cclxuICAgIH07XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX3JlYWQobywgbikge1xyXG4gICAgdmFyIG0gPSB0eXBlb2YgU3ltYm9sID09PSBcImZ1bmN0aW9uXCIgJiYgb1tTeW1ib2wuaXRlcmF0b3JdO1xyXG4gICAgaWYgKCFtKSByZXR1cm4gbztcclxuICAgIHZhciBpID0gbS5jYWxsKG8pLCByLCBhciA9IFtdLCBlO1xyXG4gICAgdHJ5IHtcclxuICAgICAgICB3aGlsZSAoKG4gPT09IHZvaWQgMCB8fCBuLS0gPiAwKSAmJiAhKHIgPSBpLm5leHQoKSkuZG9uZSkgYXIucHVzaChyLnZhbHVlKTtcclxuICAgIH1cclxuICAgIGNhdGNoIChlcnJvcikgeyBlID0geyBlcnJvcjogZXJyb3IgfTsgfVxyXG4gICAgZmluYWxseSB7XHJcbiAgICAgICAgdHJ5IHtcclxuICAgICAgICAgICAgaWYgKHIgJiYgIXIuZG9uZSAmJiAobSA9IGlbXCJyZXR1cm5cIl0pKSBtLmNhbGwoaSk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIGZpbmFsbHkgeyBpZiAoZSkgdGhyb3cgZS5lcnJvcjsgfVxyXG4gICAgfVxyXG4gICAgcmV0dXJuIGFyO1xyXG59XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gX19zcHJlYWQoKSB7XHJcbiAgICBmb3IgKHZhciBhciA9IFtdLCBpID0gMDsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKylcclxuICAgICAgICBhciA9IGFyLmNvbmNhdChfX3JlYWQoYXJndW1lbnRzW2ldKSk7XHJcbiAgICByZXR1cm4gYXI7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX3NwcmVhZEFycmF5cygpIHtcclxuICAgIGZvciAodmFyIHMgPSAwLCBpID0gMCwgaWwgPSBhcmd1bWVudHMubGVuZ3RoOyBpIDwgaWw7IGkrKykgcyArPSBhcmd1bWVudHNbaV0ubGVuZ3RoO1xyXG4gICAgZm9yICh2YXIgciA9IEFycmF5KHMpLCBrID0gMCwgaSA9IDA7IGkgPCBpbDsgaSsrKVxyXG4gICAgICAgIGZvciAodmFyIGEgPSBhcmd1bWVudHNbaV0sIGogPSAwLCBqbCA9IGEubGVuZ3RoOyBqIDwgamw7IGorKywgaysrKVxyXG4gICAgICAgICAgICByW2tdID0gYVtqXTtcclxuICAgIHJldHVybiByO1xyXG59O1xyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIF9fYXdhaXQodikge1xyXG4gICAgcmV0dXJuIHRoaXMgaW5zdGFuY2VvZiBfX2F3YWl0ID8gKHRoaXMudiA9IHYsIHRoaXMpIDogbmV3IF9fYXdhaXQodik7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX2FzeW5jR2VuZXJhdG9yKHRoaXNBcmcsIF9hcmd1bWVudHMsIGdlbmVyYXRvcikge1xyXG4gICAgaWYgKCFTeW1ib2wuYXN5bmNJdGVyYXRvcikgdGhyb3cgbmV3IFR5cGVFcnJvcihcIlN5bWJvbC5hc3luY0l0ZXJhdG9yIGlzIG5vdCBkZWZpbmVkLlwiKTtcclxuICAgIHZhciBnID0gZ2VuZXJhdG9yLmFwcGx5KHRoaXNBcmcsIF9hcmd1bWVudHMgfHwgW10pLCBpLCBxID0gW107XHJcbiAgICByZXR1cm4gaSA9IHt9LCB2ZXJiKFwibmV4dFwiKSwgdmVyYihcInRocm93XCIpLCB2ZXJiKFwicmV0dXJuXCIpLCBpW1N5bWJvbC5hc3luY0l0ZXJhdG9yXSA9IGZ1bmN0aW9uICgpIHsgcmV0dXJuIHRoaXM7IH0sIGk7XHJcbiAgICBmdW5jdGlvbiB2ZXJiKG4pIHsgaWYgKGdbbl0pIGlbbl0gPSBmdW5jdGlvbiAodikgeyByZXR1cm4gbmV3IFByb21pc2UoZnVuY3Rpb24gKGEsIGIpIHsgcS5wdXNoKFtuLCB2LCBhLCBiXSkgPiAxIHx8IHJlc3VtZShuLCB2KTsgfSk7IH07IH1cclxuICAgIGZ1bmN0aW9uIHJlc3VtZShuLCB2KSB7IHRyeSB7IHN0ZXAoZ1tuXSh2KSk7IH0gY2F0Y2ggKGUpIHsgc2V0dGxlKHFbMF1bM10sIGUpOyB9IH1cclxuICAgIGZ1bmN0aW9uIHN0ZXAocikgeyByLnZhbHVlIGluc3RhbmNlb2YgX19hd2FpdCA/IFByb21pc2UucmVzb2x2ZShyLnZhbHVlLnYpLnRoZW4oZnVsZmlsbCwgcmVqZWN0KSA6IHNldHRsZShxWzBdWzJdLCByKTsgfVxyXG4gICAgZnVuY3Rpb24gZnVsZmlsbCh2YWx1ZSkgeyByZXN1bWUoXCJuZXh0XCIsIHZhbHVlKTsgfVxyXG4gICAgZnVuY3Rpb24gcmVqZWN0KHZhbHVlKSB7IHJlc3VtZShcInRocm93XCIsIHZhbHVlKTsgfVxyXG4gICAgZnVuY3Rpb24gc2V0dGxlKGYsIHYpIHsgaWYgKGYodiksIHEuc2hpZnQoKSwgcS5sZW5ndGgpIHJlc3VtZShxWzBdWzBdLCBxWzBdWzFdKTsgfVxyXG59XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gX19hc3luY0RlbGVnYXRvcihvKSB7XHJcbiAgICB2YXIgaSwgcDtcclxuICAgIHJldHVybiBpID0ge30sIHZlcmIoXCJuZXh0XCIpLCB2ZXJiKFwidGhyb3dcIiwgZnVuY3Rpb24gKGUpIHsgdGhyb3cgZTsgfSksIHZlcmIoXCJyZXR1cm5cIiksIGlbU3ltYm9sLml0ZXJhdG9yXSA9IGZ1bmN0aW9uICgpIHsgcmV0dXJuIHRoaXM7IH0sIGk7XHJcbiAgICBmdW5jdGlvbiB2ZXJiKG4sIGYpIHsgaVtuXSA9IG9bbl0gPyBmdW5jdGlvbiAodikgeyByZXR1cm4gKHAgPSAhcCkgPyB7IHZhbHVlOiBfX2F3YWl0KG9bbl0odikpLCBkb25lOiBuID09PSBcInJldHVyblwiIH0gOiBmID8gZih2KSA6IHY7IH0gOiBmOyB9XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBfX2FzeW5jVmFsdWVzKG8pIHtcclxuICAgIGlmICghU3ltYm9sLmFzeW5jSXRlcmF0b3IpIHRocm93IG5ldyBUeXBlRXJyb3IoXCJTeW1ib2wuYXN5bmNJdGVyYXRvciBpcyBub3QgZGVmaW5lZC5cIik7XHJcbiAgICB2YXIgbSA9IG9bU3ltYm9sLmFzeW5jSXRlcmF0b3JdLCBpO1xyXG4gICAgcmV0dXJuIG0gPyBtLmNhbGwobykgOiAobyA9IHR5cGVvZiBfX3ZhbHVlcyA9PT0gXCJmdW5jdGlvblwiID8gX192YWx1ZXMobykgOiBvW1N5bWJvbC5pdGVyYXRvcl0oKSwgaSA9IHt9LCB2ZXJiKFwibmV4dFwiKSwgdmVyYihcInRocm93XCIpLCB2ZXJiKFwicmV0dXJuXCIpLCBpW1N5bWJvbC5hc3luY0l0ZXJhdG9yXSA9IGZ1bmN0aW9uICgpIHsgcmV0dXJuIHRoaXM7IH0sIGkpO1xyXG4gICAgZnVuY3Rpb24gdmVyYihuKSB7IGlbbl0gPSBvW25dICYmIGZ1bmN0aW9uICh2KSB7IHJldHVybiBuZXcgUHJvbWlzZShmdW5jdGlvbiAocmVzb2x2ZSwgcmVqZWN0KSB7IHYgPSBvW25dKHYpLCBzZXR0bGUocmVzb2x2ZSwgcmVqZWN0LCB2LmRvbmUsIHYudmFsdWUpOyB9KTsgfTsgfVxyXG4gICAgZnVuY3Rpb24gc2V0dGxlKHJlc29sdmUsIHJlamVjdCwgZCwgdikgeyBQcm9taXNlLnJlc29sdmUodikudGhlbihmdW5jdGlvbih2KSB7IHJlc29sdmUoeyB2YWx1ZTogdiwgZG9uZTogZCB9KTsgfSwgcmVqZWN0KTsgfVxyXG59XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gX19tYWtlVGVtcGxhdGVPYmplY3QoY29va2VkLCByYXcpIHtcclxuICAgIGlmIChPYmplY3QuZGVmaW5lUHJvcGVydHkpIHsgT2JqZWN0LmRlZmluZVByb3BlcnR5KGNvb2tlZCwgXCJyYXdcIiwgeyB2YWx1ZTogcmF3IH0pOyB9IGVsc2UgeyBjb29rZWQucmF3ID0gcmF3OyB9XHJcbiAgICByZXR1cm4gY29va2VkO1xyXG59O1xyXG5cclxuZXhwb3J0IGZ1bmN0aW9uIF9faW1wb3J0U3Rhcihtb2QpIHtcclxuICAgIGlmIChtb2QgJiYgbW9kLl9fZXNNb2R1bGUpIHJldHVybiBtb2Q7XHJcbiAgICB2YXIgcmVzdWx0ID0ge307XHJcbiAgICBpZiAobW9kICE9IG51bGwpIGZvciAodmFyIGsgaW4gbW9kKSBpZiAoT2JqZWN0Lmhhc093blByb3BlcnR5LmNhbGwobW9kLCBrKSkgcmVzdWx0W2tdID0gbW9kW2tdO1xyXG4gICAgcmVzdWx0LmRlZmF1bHQgPSBtb2Q7XHJcbiAgICByZXR1cm4gcmVzdWx0O1xyXG59XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gX19pbXBvcnREZWZhdWx0KG1vZCkge1xyXG4gICAgcmV0dXJuIChtb2QgJiYgbW9kLl9fZXNNb2R1bGUpID8gbW9kIDogeyBkZWZhdWx0OiBtb2QgfTtcclxufVxyXG4iLCJleHBvcnQgZnVuY3Rpb24gY2FsY01pbk1heChhcnJheTogbnVtYmVyW10pOiBbbnVtYmVyLCBudW1iZXJdIHtcbiAgbGV0IG1pbiA9IEluZmluaXR5O1xuICBsZXQgbWF4ID0gSW5maW5pdHk7XG4gIC8vIEBmcm9tOiBodHRwczovL3N0YWNrb3ZlcmZsb3cuY29tL3F1ZXN0aW9ucy8xMzU0NDQ3Ni9ob3ctdG8tZmluZC1tYXgtYW5kLW1pbi1pbi1hcnJheS11c2luZy1taW5pbXVtLWNvbXBhcmlzb25zXG4gIGZvciAobGV0IGkgPSAwOyBpIDwgYXJyYXkubGVuZ3RoOyBpKyspIHtcbiAgICBjb25zdCB2YWwgPSBhcnJheVtpXTtcblxuICAgIGlmIChtaW4gPT09IEluZmluaXR5KSB7XG4gICAgICBtaW4gPSB2YWw7XG4gICAgfSBlbHNlIGlmIChtYXggPT09IEluZmluaXR5KSB7XG4gICAgICBtYXggPSB2YWw7XG4gICAgICAvLyB1cGRhdGUgbWluIG1heFxuICAgICAgLy8gMS4gUGljayAyIGVsZW1lbnRzKGEsIGIpLCBjb21wYXJlIHRoZW0uIChzYXkgYSA+IGIpXG4gICAgICBtaW4gPSBNYXRoLm1pbihtaW4sIG1heCk7XG4gICAgICBtYXggPSBNYXRoLm1heChtaW4sIG1heCk7XG4gICAgfSBlbHNlIHtcbiAgICAgIC8vIDIuIFVwZGF0ZSBtaW4gYnkgY29tcGFyaW5nIChtaW4sIGIpXG4gICAgICAvLyAzLiBVcGRhdGUgbWF4IGJ5IGNvbXBhcmluZyAobWF4LCBhKVxuICAgICAgbWluID0gTWF0aC5taW4odmFsLCBtaW4pO1xuICAgICAgbWF4ID0gTWF0aC5tYXgodmFsLCBtYXgpO1xuICAgIH1cbiAgfVxuICByZXR1cm4gW21pbiwgbWF4XTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGlzTnVtYmVyKHZhbDogYW55KTogYm9vbGVhbiB7XG4gIHJldHVybiB0eXBlb2YgdmFsID09PSAnbnVtYmVyJyAmJiAhaXNOYU4odmFsKTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGlzVmFsaWRlKHZhbDogYW55KTogYm9vbGVhbiB7XG4gIHJldHVybiB2YWwgIT09IHVuZGVmaW5lZCAmJiB2YWwgIT09IG51bGwgJiYgIWlzTmFOKHZhbCk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBmaW5kU3RvcExlc3NUaGFuT3JFcXVhbFRvKHN0b3BzOiBudW1iZXJbXSwgaW5wdXQ6IG51bWJlcikge1xuICBjb25zdCBsYXN0SW5kZXggPSBzdG9wcy5sZW5ndGggLSAxO1xuICBsZXQgbG93ZXJJbmRleCA9IDA7XG4gIGxldCB1cHBlckluZGV4ID0gbGFzdEluZGV4O1xuICBsZXQgY3VycmVudEluZGV4ID0gMDtcbiAgbGV0IGN1cnJlbnRWYWx1ZTtcbiAgbGV0IG5leHRWYWx1ZTtcblxuICB3aGlsZSAobG93ZXJJbmRleCA8PSB1cHBlckluZGV4KSB7XG4gICAgY3VycmVudEluZGV4ID0gTWF0aC5mbG9vcigobG93ZXJJbmRleCArIHVwcGVySW5kZXgpIC8gMik7XG4gICAgY3VycmVudFZhbHVlID0gc3RvcHNbY3VycmVudEluZGV4XTtcbiAgICBuZXh0VmFsdWUgPSBzdG9wc1tjdXJyZW50SW5kZXggKyAxXTtcblxuICAgIGlmIChjdXJyZW50VmFsdWUgPD0gaW5wdXQpIHtcbiAgICAgIGlmIChjdXJyZW50SW5kZXggPT09IGxhc3RJbmRleCB8fCBpbnB1dCA8IG5leHRWYWx1ZSkge1xuICAgICAgICAvLyBTZWFyY2ggY29tcGxldGVcbiAgICAgICAgcmV0dXJuIGN1cnJlbnRJbmRleDtcbiAgICAgIH1cblxuICAgICAgbG93ZXJJbmRleCA9IGN1cnJlbnRJbmRleCArIDE7XG4gICAgfSBlbHNlIGlmIChjdXJyZW50VmFsdWUgPiBpbnB1dCkge1xuICAgICAgdXBwZXJJbmRleCA9IGN1cnJlbnRJbmRleCAtIDE7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcignSW5wdXQgaXMgbm90IGEgbnVtYmVyLicpO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiAwO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gZnA2NExvd1BhcnQoeDogbnVtYmVyKSB7XG4gIHJldHVybiB4IC0gTWF0aC5mcm91bmQoeCk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBtYXQ0SW52ZXJ0KG91dDogbnVtYmVyW10sIGE6IG51bWJlcltdKSB7XG4gIGNvbnN0IGEwMCA9IGFbMF07XG4gIGNvbnN0IGEwMSA9IGFbMV07XG4gIGNvbnN0IGEwMiA9IGFbMl07XG4gIGNvbnN0IGEwMyA9IGFbM107XG4gIGNvbnN0IGExMCA9IGFbNF07XG4gIGNvbnN0IGExMSA9IGFbNV07XG4gIGNvbnN0IGExMiA9IGFbNl07XG4gIGNvbnN0IGExMyA9IGFbN107XG4gIGNvbnN0IGEyMCA9IGFbOF07XG4gIGNvbnN0IGEyMSA9IGFbOV07XG4gIGNvbnN0IGEyMiA9IGFbMTBdO1xuICBjb25zdCBhMjMgPSBhWzExXTtcbiAgY29uc3QgYTMwID0gYVsxMl07XG4gIGNvbnN0IGEzMSA9IGFbMTNdO1xuICBjb25zdCBhMzIgPSBhWzE0XTtcbiAgY29uc3QgYTMzID0gYVsxNV07XG5cbiAgY29uc3QgYjAwID0gYTAwICogYTExIC0gYTAxICogYTEwO1xuICBjb25zdCBiMDEgPSBhMDAgKiBhMTIgLSBhMDIgKiBhMTA7XG4gIGNvbnN0IGIwMiA9IGEwMCAqIGExMyAtIGEwMyAqIGExMDtcbiAgY29uc3QgYjAzID0gYTAxICogYTEyIC0gYTAyICogYTExO1xuICBjb25zdCBiMDQgPSBhMDEgKiBhMTMgLSBhMDMgKiBhMTE7XG4gIGNvbnN0IGIwNSA9IGEwMiAqIGExMyAtIGEwMyAqIGExMjtcbiAgY29uc3QgYjA2ID0gYTIwICogYTMxIC0gYTIxICogYTMwO1xuICBjb25zdCBiMDcgPSBhMjAgKiBhMzIgLSBhMjIgKiBhMzA7XG4gIGNvbnN0IGIwOCA9IGEyMCAqIGEzMyAtIGEyMyAqIGEzMDtcbiAgY29uc3QgYjA5ID0gYTIxICogYTMyIC0gYTIyICogYTMxO1xuICBjb25zdCBiMTAgPSBhMjEgKiBhMzMgLSBhMjMgKiBhMzE7XG4gIGNvbnN0IGIxMSA9IGEyMiAqIGEzMyAtIGEyMyAqIGEzMjtcblxuICAvLyBDYWxjdWxhdGUgdGhlIGRldGVybWluYW50XG4gIGxldCBkZXQgPVxuICAgIGIwMCAqIGIxMSAtIGIwMSAqIGIxMCArIGIwMiAqIGIwOSArIGIwMyAqIGIwOCAtIGIwNCAqIGIwNyArIGIwNSAqIGIwNjtcblxuICBpZiAoIWRldCkge1xuICAgIHJldHVybiBudWxsO1xuICB9XG4gIGRldCA9IDEuMCAvIGRldDtcblxuICBvdXRbMF0gPSAoYTExICogYjExIC0gYTEyICogYjEwICsgYTEzICogYjA5KSAqIGRldDtcbiAgb3V0WzFdID0gKGEwMiAqIGIxMCAtIGEwMSAqIGIxMSAtIGEwMyAqIGIwOSkgKiBkZXQ7XG4gIG91dFsyXSA9IChhMzEgKiBiMDUgLSBhMzIgKiBiMDQgKyBhMzMgKiBiMDMpICogZGV0O1xuICBvdXRbM10gPSAoYTIyICogYjA0IC0gYTIxICogYjA1IC0gYTIzICogYjAzKSAqIGRldDtcbiAgb3V0WzRdID0gKGExMiAqIGIwOCAtIGExMCAqIGIxMSAtIGExMyAqIGIwNykgKiBkZXQ7XG4gIG91dFs1XSA9IChhMDAgKiBiMTEgLSBhMDIgKiBiMDggKyBhMDMgKiBiMDcpICogZGV0O1xuICBvdXRbNl0gPSAoYTMyICogYjAyIC0gYTMwICogYjA1IC0gYTMzICogYjAxKSAqIGRldDtcbiAgb3V0WzddID0gKGEyMCAqIGIwNSAtIGEyMiAqIGIwMiArIGEyMyAqIGIwMSkgKiBkZXQ7XG4gIG91dFs4XSA9IChhMTAgKiBiMTAgLSBhMTEgKiBiMDggKyBhMTMgKiBiMDYpICogZGV0O1xuICBvdXRbOV0gPSAoYTAxICogYjA4IC0gYTAwICogYjEwIC0gYTAzICogYjA2KSAqIGRldDtcbiAgb3V0WzEwXSA9IChhMzAgKiBiMDQgLSBhMzEgKiBiMDIgKyBhMzMgKiBiMDApICogZGV0O1xuICBvdXRbMTFdID0gKGEyMSAqIGIwMiAtIGEyMCAqIGIwNCAtIGEyMyAqIGIwMCkgKiBkZXQ7XG4gIG91dFsxMl0gPSAoYTExICogYjA3IC0gYTEwICogYjA5IC0gYTEyICogYjA2KSAqIGRldDtcbiAgb3V0WzEzXSA9IChhMDAgKiBiMDkgLSBhMDEgKiBiMDcgKyBhMDIgKiBiMDYpICogZGV0O1xuICBvdXRbMTRdID0gKGEzMSAqIGIwMSAtIGEzMCAqIGIwMyAtIGEzMiAqIGIwMCkgKiBkZXQ7XG4gIG91dFsxNV0gPSAoYTIwICogYjAzIC0gYTIxICogYjAxICsgYTIyICogYjAwKSAqIGRldDtcblxuICByZXR1cm4gb3V0O1xufVxuXG5leHBvcnQgZnVuY3Rpb24gdHJhbnNmb3JtTWF0NChvdXQ6IG51bWJlcltdLCBhOiBudW1iZXJbXSwgbTogbnVtYmVyW10pIHtcbiAgY29uc3QgeCA9IGFbMF07XG4gIGNvbnN0IHkgPSBhWzFdO1xuICBjb25zdCB6ID0gYVsyXTtcbiAgY29uc3QgdyA9IGFbM107XG4gIG91dFswXSA9IG1bMF0gKiB4ICsgbVs0XSAqIHkgKyBtWzhdICogeiArIG1bMTJdICogdzsgLy8gMFxuICBvdXRbMV0gPSBtWzFdICogeCArIG1bNV0gKiB5ICsgbVs5XSAqIHogKyBtWzEzXSAqIHc7IC8vIDBcbiAgb3V0WzJdID0gbVsyXSAqIHggKyBtWzZdICogeSArIG1bMTBdICogeiArIG1bMTRdICogdzsgLy8gMFxuICBvdXRbM10gPSBtWzNdICogeCArIG1bN10gKiB5ICsgbVsxMV0gKiB6ICsgbVsxNV0gKiB3OyAvLyAxXG4gIHJldHVybiBvdXQ7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBnZXRFeWUobWF0cml4OiBudW1iZXJbXSkge1xuICBjb25zdCBkZWZhdWx0TWF0NCA9IFsxLCAwLCAwLCAwLCAwLCAxLCAwLCAwLCAwLCAwLCAxLCAwLCAwLCAwLCAwLCAxXTsgLy8gaW5zdGVkIG9mIG1hdDQuY3JlYXRlKClcbiAgbGV0IGV5ZSA9IHRyYW5zZm9ybU1hdDQoXG4gICAgW10sXG4gICAgWzAsIDAsIDAsIDFdLFxuICAgIG1hdDRJbnZlcnQoZGVmYXVsdE1hdDQsIG1hdHJpeCkgYXMgbnVtYmVyW10sXG4gICk7XG4gIGNvbnN0IGNsaXBXID0gMS4wIC8gZXllWzNdO1xuICBleWUgPSBleWUubWFwKChpdGVtOiBudW1iZXIpID0+IGl0ZW0gLyBleWVbM10pO1xuICBleWVbM10gPSBjbGlwVztcbiAgcmV0dXJuIGV5ZTtcbn1cbiIsImltcG9ydCB7IGNhbGNNaW5NYXggfSBmcm9tICcuLi91dGlscy9jb21tb24nO1xuXG5jb25zdCBjdHg6IFdvcmtlciA9IHNlbGYgYXMgYW55O1xuXG5jdHguYWRkRXZlbnRMaXN0ZW5lcignbWVzc2FnZScsIGFzeW5jICh7IGRhdGE6IHBheWxvYWQgfSkgPT4ge1xuICBjb25zdCByZW5kZXJGb3JtID0gcGF5bG9hZFswXTtcbiAgaWYgKHJlbmRlckZvcm0gPT09ICdyZycpIHtcbiAgICBjb25zdCB1RGF0YSA9IHBheWxvYWRbMV07XG4gICAgY29uc3QgdkRhdGEgPSBwYXlsb2FkWzJdO1xuICAgIGNvbnN0IFt1TWluLCB1TWF4XSA9IGNhbGNNaW5NYXgodURhdGEpO1xuICAgIGNvbnN0IFt2TWluLCB2TWF4XSA9IGNhbGNNaW5NYXgodkRhdGEpO1xuICAgIGNvbnN0IHZlbG9jaXR5RGF0YSA9IG5ldyBVaW50OEFycmF5KHVEYXRhLmxlbmd0aCAqIDQpO1xuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgdURhdGEubGVuZ3RoOyBpKyspIHtcbiAgICAgIGNvbnN0IHIgPSAyNTUgKiAodURhdGFbaV0gLSB1TWluKSAvICh1TWF4IC0gdU1pbik7XG4gICAgICBjb25zdCBnID0gMjU1ICogKHZEYXRhW2ldIC0gdk1pbikgLyAodk1heCAtIHZNaW4pO1xuICAgICAgdmVsb2NpdHlEYXRhLnNldChbciwgZywgMCwgMjU1XSwgaSAqIDQpO1xuICAgIH1cblxuICAgIGN0eC5wb3N0TWVzc2FnZShbdmVsb2NpdHlEYXRhLmJ1ZmZlciwgdU1pbiwgdU1heCwgdk1pbiwgdk1heF0sIFt2ZWxvY2l0eURhdGEuYnVmZmVyXSk7XG4gIH0gZWxzZSB7XG4gICAgY29uc3Qgc2luZ2xlRGF0YSA9IHBheWxvYWRbMV07XG4gICAgY29uc3QgW21pbiwgbWF4XSA9IGNhbGNNaW5NYXgoc2luZ2xlRGF0YSk7XG4gICAgY29uc3QgdmVsb2NpdHlEYXRhID0gbmV3IFVpbnQ4QXJyYXkoc2luZ2xlRGF0YS5sZW5ndGggKiA0KTtcbiAgICBmb3IgKGxldCBpID0gMDsgaSA8IHNpbmdsZURhdGEubGVuZ3RoOyBpKyspIHtcbiAgICAgIGNvbnN0IHIgPSAyNTUgKiAoc2luZ2xlRGF0YVtpXSAtIG1pbikgLyAobWF4IC0gbWluKTtcbiAgICAgIHZlbG9jaXR5RGF0YS5zZXQoW3IsIDAsIDAsIDI1NV0sIGkgKiA0KTtcbiAgICB9XG5cbiAgICBjdHgucG9zdE1lc3NhZ2UoW3ZlbG9jaXR5RGF0YS5idWZmZXIsIG1pbiwgbWF4XSwgW3ZlbG9jaXR5RGF0YS5idWZmZXJdKTtcbiAgfVxufSk7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0FBY0EsQUFvREE7QUFDQSxBQUFPLFNBQVMsU0FBUyxDQUFDLE9BQU8sRUFBRSxVQUFVLEVBQUUsQ0FBQyxFQUFFLFNBQVMsRUFBRTtJQUN6RCxPQUFPLEtBQUssQ0FBQyxLQUFLLENBQUMsR0FBRyxPQUFPLENBQUMsRUFBRSxVQUFVLE9BQU8sRUFBRSxNQUFNLEVBQUU7UUFDdkQsU0FBUyxTQUFTLENBQUMsS0FBSyxFQUFFLEVBQUUsSUFBSSxFQUFFLElBQUksQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLE9BQU8sQ0FBQyxFQUFFLEVBQUUsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRTtRQUMzRixTQUFTLFFBQVEsQ0FBQyxLQUFLLEVBQUUsRUFBRSxJQUFJLEVBQUUsSUFBSSxDQUFDLFNBQVMsQ0FBQyxPQUFPLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxPQUFPLENBQUMsRUFBRSxFQUFFLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUU7UUFDOUYsU0FBUyxJQUFJLENBQUMsTUFBTSxFQUFFLEVBQUUsTUFBTSxDQUFDLElBQUksR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQyxHQUFHLElBQUksQ0FBQyxDQUFDLFVBQVUsT0FBTyxFQUFFLEVBQUUsT0FBTyxDQUFDLE1BQU0sQ0FBQyxLQUFLLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsU0FBUyxFQUFFLFFBQVEsQ0FBQyxDQUFDLEVBQUU7UUFDL0ksSUFBSSxDQUFDLENBQUMsU0FBUyxHQUFHLFNBQVMsQ0FBQyxLQUFLLENBQUMsT0FBTyxFQUFFLFVBQVUsSUFBSSxFQUFFLENBQUMsRUFBRSxJQUFJLEVBQUUsQ0FBQyxDQUFDO0tBQ3pFLENBQUMsQ0FBQztDQUNOOztBQUVELEFBQU8sU0FBUyxXQUFXLENBQUMsT0FBTyxFQUFFLElBQUksRUFBRTtJQUN2QyxJQUFJLENBQUMsR0FBRyxFQUFFLEtBQUssRUFBRSxDQUFDLEVBQUUsSUFBSSxFQUFFLFdBQVcsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLElBQUUsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLEdBQUMsQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsSUFBSSxFQUFFLEVBQUUsRUFBRSxHQUFHLEVBQUUsRUFBRSxFQUFFLEVBQUUsQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0lBQ2pILE9BQU8sQ0FBQyxHQUFHLEVBQUUsSUFBSSxFQUFFLElBQUksQ0FBQyxDQUFDLENBQUMsRUFBRSxPQUFPLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFFLFFBQVEsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRSxPQUFPLE1BQU0sS0FBSyxVQUFVLEtBQUssQ0FBQyxDQUFDLE1BQU0sQ0FBQyxRQUFRLENBQUMsR0FBRyxXQUFXLEVBQUUsT0FBTyxJQUFJLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0lBQ3pKLFNBQVMsSUFBSSxDQUFDLENBQUMsRUFBRSxFQUFFLE9BQU8sVUFBVSxDQUFDLEVBQUUsRUFBRSxPQUFPLElBQUksQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxFQUFFO0lBQ2xFLFNBQVMsSUFBSSxDQUFDLEVBQUUsRUFBRTtRQUNkLElBQUksQ0FBQyxJQUFFLE1BQU0sSUFBSSxTQUFTLENBQUMsaUNBQWlDLENBQUMsR0FBQztRQUM5RCxPQUFPLENBQUMsSUFBRSxJQUFJO1lBQ1YsSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsS0FBSyxDQUFDLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUMsUUFBUSxDQUFDLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRSxJQUFJLElBQUUsT0FBTyxDQUFDLEdBQUM7WUFDN0osSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsSUFBRSxFQUFFLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxLQUFLLENBQUMsR0FBQztZQUN4QyxRQUFRLEVBQUUsQ0FBQyxDQUFDLENBQUM7Z0JBQ1QsS0FBSyxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLEdBQUcsRUFBRSxDQUFDLENBQUMsTUFBTTtnQkFDOUIsS0FBSyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDLENBQUMsT0FBTyxFQUFFLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUFDLEVBQUUsSUFBSSxFQUFFLEtBQUssRUFBRSxDQUFDO2dCQUN4RCxLQUFLLENBQUMsRUFBRSxDQUFDLENBQUMsS0FBSyxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRSxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxTQUFTO2dCQUNqRCxLQUFLLENBQUMsRUFBRSxFQUFFLEdBQUcsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMsQ0FBQyxTQUFTO2dCQUNqRDtvQkFDSSxJQUFJLEVBQUUsQ0FBQyxHQUFHLENBQUMsQ0FBQyxJQUFJLEVBQUUsQ0FBQyxHQUFHLENBQUMsQ0FBQyxNQUFNLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUMsTUFBTSxHQUFHLENBQUMsQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMsSUFBSSxFQUFFLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsU0FBUyxFQUFFO29CQUM1RyxJQUFJLEVBQUUsQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsSUFBSSxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxLQUFLLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsTUFBTSxFQUFFO29CQUN0RixJQUFJLEVBQUUsQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDLEtBQUssR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsS0FBSyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsR0FBRyxFQUFFLENBQUMsQ0FBQyxNQUFNLEVBQUU7b0JBQ3JFLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQyxLQUFLLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLEtBQUssR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLE1BQU0sRUFBRTtvQkFDbkUsSUFBSSxDQUFDLENBQUMsQ0FBQyxDQUFDLElBQUUsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEVBQUUsR0FBQztvQkFDdEIsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQyxDQUFDLFNBQVM7YUFDOUI7WUFDRCxFQUFFLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFDLENBQUM7U0FDOUIsQ0FBQyxPQUFPLENBQUMsRUFBRSxFQUFFLEVBQUUsR0FBRyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsRUFBRSxTQUFTLEVBQUUsQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBRTtRQUMxRCxJQUFJLEVBQUUsQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLElBQUUsTUFBTSxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUMsQ0FBQyxPQUFPLEVBQUUsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsR0FBRyxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUcsS0FBSyxDQUFDLEVBQUUsSUFBSSxFQUFFLElBQUksRUFBRSxDQUFDO0tBQ3BGO0NBQ0o7O1NDdEdlLFVBQVUsQ0FBQyxLQUFlO0lBQ3hDLElBQUksR0FBRyxHQUFHLFFBQVEsQ0FBQztJQUNuQixJQUFJLEdBQUcsR0FBRyxRQUFRLENBQUM7O0lBRW5CLEtBQUssSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxLQUFLLENBQUMsTUFBTSxFQUFFLENBQUMsRUFBRSxFQUFFO1FBQ3JDLElBQU0sR0FBRyxHQUFHLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUVyQixJQUFJLEdBQUcsS0FBSyxRQUFRLEVBQUU7WUFDcEIsR0FBRyxHQUFHLEdBQUcsQ0FBQztTQUNYO2FBQU0sSUFBSSxHQUFHLEtBQUssUUFBUSxFQUFFO1lBQzNCLEdBQUcsR0FBRyxHQUFHLENBQUM7OztZQUdWLEdBQUcsR0FBRyxJQUFJLENBQUMsR0FBRyxDQUFDLEdBQUcsRUFBRSxHQUFHLENBQUMsQ0FBQztZQUN6QixHQUFHLEdBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxHQUFHLEVBQUUsR0FBRyxDQUFDLENBQUM7U0FDMUI7YUFBTTs7O1lBR0wsR0FBRyxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsR0FBRyxFQUFFLEdBQUcsQ0FBQyxDQUFDO1lBQ3pCLEdBQUcsR0FBRyxJQUFJLENBQUMsR0FBRyxDQUFDLEdBQUcsRUFBRSxHQUFHLENBQUMsQ0FBQztTQUMxQjtLQUNGO0lBQ0QsT0FBTyxDQUFDLEdBQUcsRUFBRSxHQUFHLENBQUMsQ0FBQztDQUNuQjs7QUNyQkQsSUFBTSxHQUFHLEdBQVcsSUFBVyxDQUFDO0FBRWhDLEdBQUcsQ0FBQyxnQkFBZ0IsQ0FBQyxTQUFTLEVBQUUsVUFBTyxFQUFpQjtRQUFmLGlCQUFhOzs7O1lBQzlDLFVBQVUsR0FBRyxPQUFPLENBQUMsQ0FBQyxDQUFDLENBQUM7WUFDOUIsSUFBSSxVQUFVLEtBQUssSUFBSSxFQUFFO2dCQUNqQixLQUFLLEdBQUcsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDO2dCQUNuQixLQUFLLEdBQUcsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDO2dCQUNuQixLQUFlLFVBQVUsQ0FBQyxLQUFLLENBQUMsRUFBL0IsSUFBSSxRQUFBLEVBQUUsSUFBSSxRQUFBLENBQXNCO2dCQUNqQyxLQUFlLFVBQVUsQ0FBQyxLQUFLLENBQUMsRUFBL0IsSUFBSSxRQUFBLEVBQUUsSUFBSSxRQUFBLENBQXNCO2dCQUNqQyxZQUFZLEdBQUcsSUFBSSxVQUFVLENBQUMsS0FBSyxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsQ0FBQztnQkFDdEQsS0FBUyxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxLQUFLLENBQUMsTUFBTSxFQUFFLENBQUMsRUFBRSxFQUFFO29CQUMvQixDQUFDLEdBQUcsR0FBRyxJQUFJLEtBQUssQ0FBQyxDQUFDLENBQUMsR0FBRyxJQUFJLENBQUMsSUFBSSxJQUFJLEdBQUcsSUFBSSxDQUFDLENBQUM7b0JBQzVDLENBQUMsR0FBRyxHQUFHLElBQUksS0FBSyxDQUFDLENBQUMsQ0FBQyxHQUFHLElBQUksQ0FBQyxJQUFJLElBQUksR0FBRyxJQUFJLENBQUMsQ0FBQztvQkFDbEQsWUFBWSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxFQUFFLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQztpQkFDekM7Z0JBRUQsR0FBRyxDQUFDLFdBQVcsQ0FBQyxDQUFDLFlBQVksQ0FBQyxNQUFNLEVBQUUsSUFBSSxFQUFFLElBQUksRUFBRSxJQUFJLEVBQUUsSUFBSSxDQUFDLEVBQUUsQ0FBQyxZQUFZLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQzthQUN2RjtpQkFBTTtnQkFDQyxVQUFVLEdBQUcsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDO2dCQUN4QixLQUFhLFVBQVUsQ0FBQyxVQUFVLENBQUMsRUFBbEMsR0FBRyxRQUFBLEVBQUUsR0FBRyxRQUFBLENBQTJCO2dCQUNwQyxZQUFZLEdBQUcsSUFBSSxVQUFVLENBQUMsVUFBVSxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsQ0FBQztnQkFDM0QsS0FBUyxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxVQUFVLENBQUMsTUFBTSxFQUFFLENBQUMsRUFBRSxFQUFFO29CQUNwQyxDQUFDLEdBQUcsR0FBRyxJQUFJLFVBQVUsQ0FBQyxDQUFDLENBQUMsR0FBRyxHQUFHLENBQUMsSUFBSSxHQUFHLEdBQUcsR0FBRyxDQUFDLENBQUM7b0JBQ3BELFlBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxFQUFFLENBQUMsRUFBRSxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUM7aUJBQ3pDO2dCQUVELEdBQUcsQ0FBQyxXQUFXLENBQUMsQ0FBQyxZQUFZLENBQUMsTUFBTSxFQUFFLEdBQUcsRUFBRSxHQUFHLENBQUMsRUFBRSxDQUFDLFlBQVksQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDO2FBQ3pFOzs7O0NBQ0YsQ0FBQyxDQUFDIn0=",!1);function P(t){return"number"==typeof t&&!isNaN(t)}function R(t){return t-Math.fround(t)}function O(t,e){if(!t)return!1;if(e=e||devicePixelRatio||1,!(t instanceof OffscreenCanvas)){var n=t.clientWidth*e,r=t.clientHeight*e;if(n<=0||r<=0)return!1;if(t.width!==n||t.height!==r)return t.width=n,t.height=r,!0}return!1}function k(t,e,n){var r=t.createShader(e);if(t.shaderSource(r,n),t.compileShader(r),!t.getShaderParameter(r,t.COMPILE_STATUS))throw t.deleteShader(r),new Error(t.getShaderInfoLog(r)||"");return r}function B(t,e,n,r,i){var o=t.createTexture();return t.bindTexture(t.TEXTURE_2D,o),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,e),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,e),n instanceof Uint8Array?t.texImage2D(t.TEXTURE_2D,0,t.RGBA,r,i,0,t.RGBA,t.UNSIGNED_BYTE,n):t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,n),t.bindTexture(t.TEXTURE_2D,null),o}function D(t,e){var n=t.createBuffer();return t.bindBuffer(t.ARRAY_BUFFER,n),e&&t.bufferData(t.ARRAY_BUFFER,e,t.STATIC_DRAW),n}function F(t,e){var n=e[0],r=e[1],i=e[2],o=e[3];t.viewport(0,0,t.canvas.width,t.canvas.height),t.clearColor(n,r,i,o),t.clearDepth(1),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT),t.enable(t.DEPTH_TEST)}var U,j=function(){function t(t,e,n,r){this.vertShader="",this.fragShader="",e&&(this.vertShader=e),n&&(this.fragShader=n),this.program=function(t,e,n){var r=k(t,t.VERTEX_SHADER,e),i=k(t,t.FRAGMENT_SHADER,n),o=t.createProgram();if(null!==o&&(t.attachShader(o,r),t.attachShader(o,i),t.linkProgram(o),!t.getProgramParameter(o,t.LINK_STATUS)))throw new Error(t.getProgramInfoLog(o)||"");return o}(t,function(t,e){return Object.keys(e).map((function(n){e[n]&&(t=t.replace(new RegExp(n,"g"),e[n]+" \n"))})),t}(this.vertShader,r),this.fragShader),this.gl=t,this.textureUnit=0,this.uniformSetters=this.createUniformSetters(),this.attribSetters=this.createAttributeSetters(),this.transfromStack=[]}return t.prototype.active=function(){return this.gl.useProgram(this.program),this},t.prototype.deactive=function(){return this.gl.deleteProgram(this.program),this},t.prototype.getBindPointForSamplerType=function(t,e){return e===t.SAMPLER_2D?t.TEXTURE_2D:e===t.SAMPLER_CUBE?t.TEXTURE_CUBE_MAP:void 0},t.prototype.createUniformSetter=function(t,e){var n=this.gl,r=n.getUniformLocation(t,e.name),i=e.type,o=e.size>1&&"[0]"===e.name.substr(-3);if(i===n.FLOAT&&o)return function(t){n.uniform1fv(r,t)};if(i===n.FLOAT)return function(t){n.uniform1f(r,t)};if(i===n.FLOAT_VEC2)return function(t){n.uniform2fv(r,t)};if(i===n.FLOAT_VEC3)return function(t){n.uniform3fv(r,t)};if(i===n.FLOAT_VEC4)return function(t){n.uniform4fv(r,t)};if(i===n.INT&&o)return function(t){n.uniform1iv(r,t)};if(i===n.INT)return function(t){n.uniform1i(r,t)};if(i===n.INT_VEC2)return function(t){n.uniform2iv(r,t)};if(i===n.INT_VEC3)return function(t){n.uniform3iv(r,t)};if(i===n.INT_VEC4)return function(t){n.uniform4iv(r,t)};if(i===n.BOOL)return function(t){n.uniform1iv(r,t)};if(i===n.BOOL_VEC2)return function(t){n.uniform2iv(r,t)};if(i===n.BOOL_VEC3)return function(t){n.uniform3iv(r,t)};if(i===n.BOOL_VEC4)return function(t){n.uniform4iv(r,t)};if(i===n.FLOAT_MAT2)return function(t){n.uniformMatrix2fv(r,!1,t)};if(i===n.FLOAT_MAT3)return function(t){n.uniformMatrix3fv(r,!1,t)};if(i===n.FLOAT_MAT4)return function(t){n.uniformMatrix4fv(r,!1,t)};if((i===n.SAMPLER_2D||i===n.SAMPLER_CUBE)&&o){for(var a=[],s=0;s<e.size;++s)a.push(this.textureUnit++);return function(t,e){return function(i){n.uniform1iv(r,e),i.forEach((function(r,i){n.activeTexture(n.TEXTURE0+e[i]),void 0!==t&&n.bindTexture(t,r)}))}}(this.getBindPointForSamplerType(n,i),a)}if(i===n.SAMPLER_2D||i===n.SAMPLER_CUBE)return function(t,e){return function(i){n.uniform1i(r,e),n.activeTexture(n.TEXTURE0+e),void 0!==t&&n.bindTexture(t,i)}}(this.getBindPointForSamplerType(n,i),this.textureUnit++);throw new Error("unknown type: 0x"+i.toString(16))},t.prototype.createUniformSetters=function(){var t=this.gl;this.textureUnit=0;var e={};if(null!==this.program)for(var n=t.getProgramParameter(this.program,t.ACTIVE_UNIFORMS),r=0;r<n;++r){var i=t.getActiveUniform(this.program,r);if(!i)break;var o=i.name;"[0]"===o.substr(-3)&&(o=o.substr(0,o.length-3));var a=this.createUniformSetter(this.program,i);e[o]=a}return e},t.prototype.createAttribSetter=function(t){var e=this.gl;return function(n){e.bindBuffer(e.ARRAY_BUFFER,n.buffer),e.enableVertexAttribArray(t),void 0===n.numComponents&&void 0===n.size||e.vertexAttribPointer(t,n.numComponents||n.size,n.type||e.FLOAT,n.normalize||!1,n.stride||0,n.offset||0)}},t.prototype.createAttributeSetters=function(){var t=this.gl,e={};if(null!==this.program)for(var n=t.getProgramParameter(this.program,t.ACTIVE_ATTRIBUTES),r=0;r<n;++r){var i=t.getActiveAttrib(this.program,r);if(!i)break;var o=t.getAttribLocation(this.program,i.name);e[i.name]=this.createAttribSetter(o)}return e},t.prototype.setAttributes=function(t,e){return e=e?e.attribSetters||e:this.attribSetters,Object.keys(t).forEach((function(n){var r=e[n];r&&r(t[n])})),this},t.prototype.setUniforms=function(t,e){return e=e?e.uniformSetters||e:this.uniformSetters,Object.keys(t).forEach((function(n){var r=e[n];r&&r(t[n])})),this},t.prototype.elements=function(t){var e;return this.elementsBuffer||(this.elementsBuffer=this.gl.createBuffer()),this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,this.elementsBuffer),t.data&&this.gl.bufferData(this.gl.ELEMENT_ARRAY_BUFFER,t.data,(null===(e=t)||void 0===e?void 0:e.usage)||this.gl.STATIC_DRAW),void 0!==t.count&&this.runTimes(t.count),t.primitive&&this.setPrimitive(t.primitive),this},t.prototype.clear=function(t){return F(this.gl,t),this.transfromStack=[],this},t.prototype.runTimes=function(t){return this.count=t||0,this},t.prototype.setPrimitive=function(t){this.primitive=t||this.gl.TRIANGLES},t.prototype.resize=function(){return O(this.gl.canvas),this.gl.viewport(0,0,this.gl.canvas.width,this.gl.canvas.height),this},t.prototype.draw=function(){throw new Error("should override")},t.prototype.translate=function(){throw new Error("should override")},t.prototype.rotate=function(){throw new Error("should override")},t.prototype.scale=function(){throw new Error("should override")},t}(),N="precision highp float;\n#define GLSLIFY 1\nuniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform vec2 u_image_res;uniform vec2 u_range;uniform vec2 u_color_range;uniform vec2 u_display_range;uniform float u_opacity;varying vec2 v_tex_pos;float calcTexture(const vec2 uv){return texture2D(u_image,uv).r;}float bilinear(const vec2 uv){vec2 px=1.0/u_image_res;vec2 vc=(floor(uv*u_image_res))*px;vec2 f=fract(uv*u_image_res);float tl=calcTexture(vc);float tr=calcTexture(vc+vec2(px.x,0));float bl=calcTexture(vc+vec2(0,px.y));float br=calcTexture(vc+px);return mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);}float getValue(const vec2 uv){float min=u_range.x;float max=u_range.y;float r=bilinear(uv);return r*(max-min)+min;}const float PI=3.14159265359;/***Converts mapbox style pseudo-mercator coordinates(this is just like mercator,but the unit isn't a meter,but 0..1*spans the entire world)into texture like WGS84 coordinates(this is just like WGS84,but instead of angles,it uses*intervals of 0..1).*/vec2 mercatorToWGS84(vec2 xy){float y=radians(180.0-xy.y*360.0);y=360.0/PI*atan(exp(y))-90.0;y=y/-180.0+0.5;return vec2(xy.x,y);}void main(){vec2 globalWGS84=mercatorToWGS84(v_tex_pos);float value=getValue(globalWGS84);float value_t=(value-u_color_range.x)/(u_color_range.y-u_color_range.x);vec2 ramp_pos=vec2(fract(16.0*value_t),floor(16.0*value_t)/16.0);vec4 color=texture2D(u_color_ramp,ramp_pos);bool display=value<u_display_range.y&&value>u_display_range.x;if(display){gl_FragColor=vec4(floor(255.0*color*u_opacity)/255.0);}else{gl_FragColor=vec4(0.0,0.0,0.0,0.0);}}",G="#define GLSLIFY 1\nattribute vec3 instancePositions;attribute vec3 instancePositions64Low;attribute vec2 a_texCoord;uniform mat4 u_matrix;uniform vec4 u_cameraEye;uniform vec4 u_cameraEye64Low;uniform float u_offset;uniform sampler2D u_image;uniform vec2 u_image_res;uniform vec2 u_range;uniform vec2 u_mapping_range;varying vec2 v_tex_pos;varying float v_value;float calcTexture(const vec2 uv){return texture2D(u_image,uv).r;}float bilinear(const vec2 uv){vec2 px=1.0/u_image_res;vec2 vc=(floor(uv*u_image_res))*px;vec2 f=fract(uv*u_image_res);float tl=calcTexture(vc);float tr=calcTexture(vc+vec2(px.x,0));float bl=calcTexture(vc+vec2(0,px.y));float br=calcTexture(vc+px);return mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);}float getValue(const vec2 uv){float min=u_mapping_range.x;float max=u_mapping_range.y;float r=bilinear(uv);return r*(max-min)+min;}const float PI=3.14159265359;/***Converts mapbox style pseudo-mercator coordinates(this is just like mercator,but the unit isn't a meter,but 0..1*spans the entire world)into texture like WGS84 coordinates(this is just like WGS84,but instead of angles,it uses*intervals of 0..1).*/vec2 mercatorToWGS84(vec2 xy){float y=radians(180.0-xy.y*360.0);y=360.0/PI*atan(exp(y))-90.0;y=y/-180.0+0.5;return vec2(xy.x,y);}\n#modules-transformZ\nvoid main(){v_tex_pos=a_texCoord;vec2 globalWGS84=mercatorToWGS84(v_tex_pos);float value=getValue(globalWGS84);float z=transformZ(value,instancePositions);vec4 pos=vec4(instancePositions-u_cameraEye.xyz,0.0);pos+=vec4(instancePositions64Low-u_cameraEye64Low.xyz,0.0);\n#modules-project\n}",z=function(t){function e(e,n,r,i){var o=t.call(this,e,n||G,r||N,i||{})||this;return o.vertShader=G,o.fragShader=N,o}return M(e,t),e.prototype.draw=function(){if(void 0!==this.checkExt){var t=this.primitive||this.gl.TRIANGLES;this.checkExt?this.gl.drawElements(t,this.count,this.gl.UNSIGNED_INT,0):this.gl.drawElements(t,this.count,this.gl.UNSIGNED_SHORT,0)}else this.checkExt=this.gl.getExtension("OES_element_index_uint");return this},e.prototype.translate=function(){return this},e.prototype.rotate=function(){return this},e.prototype.scale=function(){return this},e}(j);function H(t,e){var n=document.createElement("canvas"),r=n.getContext("2d");n.width=256,n.height=1;var i=function(t){if(Array.isArray(t)&&t.length>3){for(var e=t[0],n=t[1],r=(t[2],[]),i=3;i<t.length;i+=2){var o=t[i],a=t[i+1];r.push({key:o,value:a})}return{operator:e,interpolation:{name:n[0],base:n[1]},input:r}}return console.warn("[wind-core]: style-parser style config invalid"),{}}(e).input;if(r&&i&&Array.isArray(i)){for(var o=i.map((function(t){return parseFloat(t.key)})),a=[Math.min.apply(Math,o),Math.max.apply(Math,o)],s=[t[0]||a[0],t[1]||a[1]],c=s[0],u=s[1],l=r.createLinearGradient(0,0,256,0),h=0;h<i.length;h+=1){var f=i[h].key,d=i[h].value;l.addColorStop((f-c)/(u-c),d)}return r.fillStyle=l,r.fillRect(0,0,256,1),{data:new Uint8Array(r.getImageData(0,0,256,1).data),colorRange:a}}return{}}function W(t,e,n,r){var i=r-n,o=t-n;return 0===i?0:1===e?o/i:(Math.pow(e,o)-1)/(Math.pow(e,i)-1)}function V(t,e){if(e&&Array.isArray(e)&&(U=function(t){if(Array.isArray(t)&&t.length>3){for(var e=t[0],n=t[1],r=(t[2],[]),i=3;i<t.length;i+=2){var o=t[i],a=t[i+1];r.push({key:o,value:a})}return{operator:e,interpolation:{name:n[0],base:n[1]},input:r}}return console.warn("[wind-core]: style-parser style config invalid"),{}}(e)),U){var n=U||{},r=n.input,i=n.interpolation;if(r&&Array.isArray(r)){var o=r.map((function(t){return t.key})),a=r.map((function(t){return t.value}));if(t<=o[0])return a[0];var s=o.length;if(t>=o[s-1])return a[s-1];var c=function(t,e){for(var n,r,i=t.length-1,o=0,a=i,s=0;o<=a;)if(n=t[s=Math.floor((o+a)/2)],r=t[s+1],n<=e){if(s===i||e<r)return s;o=s+1}else{if(!(n>e))throw new Error("Input is not a number.");a=s-1}return 0}(o,t),u=o.length-1,l=function(t,e,n,r){var i=0;return"exponential"===t.name?i=W(e,t.base,n,r):"linear"===t.name?i=W(e,1,n,r):"cubic-bezier"===t.name&&console.warn("interpolationFactor"),i}(i,t,o[c],o[c>=u?u:c+1]);return function(t,e,n){return t*(1-n)+e*n}(a[c],a[c>=u?u:c+1],l)}return 1}return P(e)?e:1}var Z="precision highp float;\n#define GLSLIFY 1\nuniform sampler2D u_wind;uniform sampler2D u_color_ramp;uniform vec2 u_image_res;uniform vec2 u_wind_min;uniform vec2 u_wind_max;uniform vec2 u_color_range;uniform vec2 u_display_range;uniform float u_opacity;varying vec2 v_tex_pos;vec2 windTexture(const vec2 uv){return texture2D(u_wind,uv).rg;}float bilinearU(const vec2 uv){vec2 px=1.0/u_image_res;vec2 vc=(floor(uv*u_image_res))*px;vec2 f=fract(uv*u_image_res);float tl=windTexture(vc).r;float tr=windTexture(vc+vec2(px.x,0)).r;float bl=windTexture(vc+vec2(0,px.y)).r;float br=windTexture(vc+px).r;return mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);}float bilinearV(const vec2 uv){vec2 px=1.0/u_image_res;vec2 vc=(floor(uv*u_image_res))*px;vec2 f=fract(uv*u_image_res);float tl=windTexture(vc).g;float tr=windTexture(vc+vec2(px.x,0.0)).g;float bl=windTexture(vc+vec2(0.0,px.y)).g;float br=windTexture(vc+px).g;return mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);}float getV(const vec2 uv){float min=u_wind_min.y;float max=u_wind_max.y;float r=bilinearV(uv);return r*(max-min)+min;}float getU(const vec2 uv){float min=u_wind_min.x;float max=u_wind_max.x;float r=bilinearU(uv);return r*(max-min)+min;}float windSpeed(const vec2 uv){float u=getU(uv);float v=getV(uv);return length(vec2(u,v));}const float PI=3.14159265359;/***Converts mapbox style pseudo-mercator coordinates(this is just like mercator,but the unit isn't a meter,but 0..1*spans the entire world)into texture like WGS84 coordinates(this is just like WGS84,but instead of angles,it uses*intervals of 0..1).*/vec2 mercatorToWGS84(vec2 xy){float y=radians(180.0-xy.y*360.0);y=360.0/PI*atan(exp(y))-90.0;y=y/-180.0+0.5;return vec2(xy.x,y);}void main(){vec2 globalWGS84=mercatorToWGS84(v_tex_pos);float value=windSpeed(globalWGS84);float value_t=(value-u_color_range.x)/(u_color_range.y-u_color_range.x);vec2 ramp_pos=vec2(fract(16.0*value_t),floor(16.0*value_t)/16.0);vec4 color=texture2D(u_color_ramp,ramp_pos);bool display=value<u_display_range.y&&value>u_display_range.x;if(display){gl_FragColor=vec4(floor(255.0*color*u_opacity)/255.0);}else{gl_FragColor=vec4(0.0,0.0,0.0,0.0);}}",Q="#define GLSLIFY 1\nattribute vec3 instancePositions;attribute vec3 instancePositions64Low;attribute vec2 a_texCoord;uniform mat4 u_matrix;uniform vec4 u_cameraEye;uniform vec4 u_cameraEye64Low;uniform float u_offset;uniform sampler2D u_wind;uniform vec2 u_image_res;uniform vec2 u_wind_min;uniform vec2 u_wind_max;uniform vec2 u_mapping_range;varying vec2 v_tex_pos;varying float v_value;vec2 windTexture(const vec2 uv){return texture2D(u_wind,uv).rg;}float bilinearU(const vec2 uv){vec2 px=1.0/u_image_res;vec2 vc=(floor(uv*u_image_res))*px;vec2 f=fract(uv*u_image_res);float tl=windTexture(vc).r;float tr=windTexture(vc+vec2(px.x,0)).r;float bl=windTexture(vc+vec2(0,px.y)).r;float br=windTexture(vc+px).r;return mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);}float bilinearV(const vec2 uv){vec2 px=1.0/u_image_res;vec2 vc=(floor(uv*u_image_res))*px;vec2 f=fract(uv*u_image_res);float tl=windTexture(vc).g;float tr=windTexture(vc+vec2(px.x,0.0)).g;float bl=windTexture(vc+vec2(0.0,px.y)).g;float br=windTexture(vc+px).g;return mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);}float getV(const vec2 uv){float min=u_wind_min.y;float max=u_wind_max.y;float r=bilinearV(uv);return r*(max-min)+min;}float getU(const vec2 uv){float min=u_wind_min.x;float max=u_wind_max.x;float r=bilinearU(uv);return r*(max-min)+min;}float windSpeed(const vec2 uv){float u=getU(uv);float v=getV(uv);float min=u_mapping_range.x;float max=u_mapping_range.y;float val=length(vec2(u,v));return val*(max-min)+min;}const float PI=3.14159265359;/***Converts mapbox style pseudo-mercator coordinates(this is just like mercator,but the unit isn't a meter,but 0..1*spans the entire world)into texture like WGS84 coordinates(this is just like WGS84,but instead of angles,it uses*intervals of 0..1).*/vec2 mercatorToWGS84(vec2 xy){float y=radians(180.0-xy.y*360.0);y=360.0/PI*atan(exp(y))-90.0;y=y/-180.0+0.5;return vec2(xy.x,y);}\n#modules-transformZ\nvoid main(){v_tex_pos=a_texCoord;vec2 globalWGS84=mercatorToWGS84(v_tex_pos);float value=windSpeed(globalWGS84);float z=transformZ(value,instancePositions);vec4 pos=vec4(instancePositions-u_cameraEye.xyz,0.0);pos+=vec4(instancePositions64Low-u_cameraEye64Low.xyz,0.0);\n#modules-project\n}",X=function(t){function e(e,n,r,i){var o=t.call(this,e,n||Q,r||Z,i||{})||this;return o.vertShader=Q,o.fragShader=Z,o}return M(e,t),e.prototype.draw=function(){if(void 0!==this.checkExt){var t=this.primitive||this.gl.TRIANGLES;this.checkExt?this.gl.drawElements(t,this.count,this.gl.UNSIGNED_INT,0):this.gl.drawElements(t,this.count,this.gl.UNSIGNED_SHORT,0)}else this.checkExt=this.gl.getExtension("OES_element_index_uint");return this},e.prototype.translate=function(){return this},e.prototype.rotate=function(){return this},e.prototype.scale=function(){return this},e}(j),Y={renderForm:"r",styleSpec:{"fill-color":["interpolate",["linear"],["get","value"],0,"#3288bd",10,"#66c2a5",20,"#abdda4",30,"#e6f598",40,"#fee08b",50,"#fdae61",60,"#f46d43",100,"#d53e4f"],opacity:1},displayRange:[1/0,1/0],mappingRange:[0,0],depthRange:[0,1],widthSegments:1,heightSegments:1,wireframe:!1,createPlaneBuffer:function(t,e,n){var r=[t[0][0],t[2][0],t[0][1],t[1][1]];return function(t,e,n,r,i,o){for(var a=e-t,s=r-n,c=a/2,u=s/2,l=Math.floor(i),h=Math.floor(o),f=l+1,d=h+1,p=a/l,m=s/h,g=[],v=[],y=[],_=[],x=[],b=0;b<d;b++)for(var w=b*m,M=0;M<f;M++){var S=t+M*p/c/2*a,A=n+w/u/2*s;y.push(S,A,0),_.push(R(S),R(A),0),x.push(M/l,b/h)}for(b=0;b<h;b++)for(M=0;M<l;M++){var C=M+f*b,E=M+f*(b+1),T=M+1+f*(b+1),I=M+1+f*b;g.push(C,E,I),g.push(E,T,I)}for(var L=0,P=g.length;L<P;L+=3)C=g[L],E=g[L+1],T=g[L+2],v.push(C,E,E,T,T,C);return{uvs:{data:x,size:2},elements:{data:g,count:g.length},wireframeElements:{data:v,count:v.length},position:{data:y,size:3},positionLow:{data:_,size:3}}}(r[0],r[1],r[2],r[3],e,n)},injectShaderModules:{"#modules-transformZ":"\nfloat transformZ(float value, vec3 pos) {\n return 0.0;\n}\n ","#modules-project":"\ngl_Position = u_matrix * vec4(pos.xy + vec2(u_offset, 0.0), pos.z + z, 1.0);\n "}},J=function(){function t(t,e){if(this.gl=t,!this.gl)throw new Error("initialize error");e||(e={}),this.options=S(S({},Y),e),this.opacity=this.options.opacity||1}return t.prototype.updateOptions=function(t){var e;this.options=S(S({},this.options),t),this.buildColorRamp(),"function"==typeof this.options.getZoom&&this.setOpacity(V(this.options.getZoom(),null===(e=this.options.styleSpec)||void 0===e?void 0:e.opacity))},t.prototype.setFillColor=function(){this.buildColorRamp()},t.prototype.setOpacity=function(t){this.opacity=t},t.prototype.handleZoom=function(){var t;"function"==typeof this.options.getZoom&&this.setOpacity(V(this.options.getZoom(),null===(t=this.options.styleSpec)||void 0===t?void 0:t.opacity))},t.prototype.buildColorRamp=function(){var t,e=H([],null===(t=this.options.styleSpec)||void 0===t?void 0:t["fill-color"]),n=e.data,r=e.colorRange;r&&(this.colorRange=r),n&&(this.colorRampTexture=B(this.gl,this.gl.NEAREST,n,16,16))},t.prototype.initialize=function(t){var e;this.drawCommand||("rg"===this.options.renderForm?this.drawCommand=new X(t,void 0,void 0,this.options.injectShaderModules):"r"===this.options.renderForm?this.drawCommand=new z(t,void 0,void 0,this.options.injectShaderModules):console.warn("This type is not supported temporarily")),this.buildColorRamp(),"function"==typeof this.options.getZoom&&this.setOpacity(V(this.options.getZoom(),null===(e=this.options.styleSpec)||void 0===e?void 0:e.opacity))},t.prototype.initializeVertex=function(t){for(var e=0,n=t.length,r=[];e<n;e++){var i=t[e],o=this.getMercatorCoordinate(i);r.push([o[0],o[1]])}var a=(this.options.createPlaneBuffer||Y.createPlaneBuffer)(r,this.options.widthSegments||1,this.options.heightSegments||1);return{indexes:a.elements.data,wireframeIndexes:a.wireframeElements.data,quadBuffer:D(this.gl,new Float32Array(a.position.data)),quad64LowBuffer:D(this.gl,new Float32Array(a.positionLow.data)),texCoordBuffer:D(this.gl,new Float32Array(a.uvs.data))}},t.prototype.getTextureData=function(t){var e=this;return new Promise((function(n,r){if("image"===t.type&&t.url)(function(t){return new Promise((function(e,n){t||n(new Event("url is null"));var r=new Image;r.crossOrigin="anonymous",r.onload=function(){return e(r)},r.onerror=n,r.src=t,r.complete&&e(r)}))})(t.url).then((function(r){var i=S({width:r.width,height:r.height,texture:B(e.gl,e.gl.LINEAR,r,r.width,r.height)},e.initializeVertex(t.extent));"rg"===e.options.renderForm?(i.uMin=t.uMin,i.uMax=t.uMax,i.vMin=t.vMin,i.vMax=t.vMax):"r"===e.options.renderForm?(i.min=t.min,i.max=t.max):console.warn("This type is not supported temporarily"),n(i)})).catch((function(t){return r(t)}));else if("jsonArray"===t.type&&t.data){var i,o=t.data;i=t.extent?t.extent:[[o[0].header.lo1,o[0].header.la1],[o[0].header.lo1,o[0].header.la2],[o[0].header.lo2,o[0].header.la1],[o[0].header.lo2,o[0].header.la2]];var a=S({width:o[0].header.nx,height:o[0].header.ny},e.initializeVertex(i));if(e.worker||(e.worker=new L,e.worker.addEventListener("message",(function(t){var r=t.data;"rg"===e.options.renderForm?(a.uMin=r[1],a.uMax=r[2],a.vMin=r[3],a.vMax=r[4],a.texture=B(e.gl,e.gl.LINEAR,new Uint8Array(r[0]),a.width,a.height)):"r"===e.options.renderForm?(a.min=r[1],a.max=r[2],a.texture=B(e.gl,e.gl.LINEAR,new Uint8Array(r[0]),a.width,a.height)):console.warn("This type is not supported temporarily"),n(a)}))),"rg"===e.options.renderForm){var s,c;o.forEach((function(t){switch(t.header.parameterCategory+","+t.header.parameterNumber){case"1,2":case"2,2":s=t;break;case"1,3":case"2,3":c=t}}));var u=new Float32Array(s.data),l=new Float32Array(c.data);e.worker.postMessage(["rg",u,l])}else if("r"===e.options.renderForm){var h=new Float32Array(o[0].data);e.worker.postMessage(["r",h])}else console.warn("This type is not supported temporarily")}}))},t.prototype.setData=function(t,e){var n=this;this.gl&&t&&this.getTextureData(t).then((function(t){n.data=t,e&&e(!0),n.data&&n.initialize(n.gl),n.options.triggerRepaint&&(n.handleZoom(),n.options.triggerRepaint())})).catch((function(t){e&&e(!1),console.error(t)}))},t.prototype.getData=function(){return this.data},t.prototype.getMercatorCoordinate=function(t){return[t[0],t[1]]},t.prototype.prerender=function(){},t.prototype.render=function(t,e,n){var r;if(this.data&&this.drawCommand&&this.data.texture&&this.colorRampTexture){var i=this.opacity,o={u_opacity:P(i)?i:1,u_image_res:[this.data.width,this.data.height],u_matrix:t,u_offset:P(e)?e:0,u_color_ramp:this.colorRampTexture,u_color_range:this.colorRange,u_mapping_range:this.options.mappingRange||[0,0]};if(n&&(o.u_cameraEye=n.cameraEye,o.u_cameraEye64Low=n.cameraEye64Low),"rg"===this.options.renderForm){o.u_wind_min=[this.data.uMin,this.data.vMin],o.u_wind_max=[this.data.uMax,this.data.vMax],o.u_wind=this.data.texture;var a=[Math.sqrt(this.data.uMin*this.data.uMin+this.data.vMin*this.data.vMin),Math.sqrt(this.data.uMin*this.data.uMin+this.data.vMax*this.data.vMax),Math.sqrt(this.data.uMax*this.data.uMax+this.data.vMax*this.data.vMax),Math.sqrt(this.data.uMax*this.data.uMax+this.data.vMin*this.data.vMin)],s=Math.max.apply(Math,a);o.u_display_range=this.options.displayRange||[0,s]}else"r"===this.options.renderForm?(o.u_range=[this.data.min,this.data.max],o.u_image=this.data.texture,o.u_display_range=this.options.displayRange||[o.u_range[0]-1,o.u_range[1]+1]):console.warn("This type is not supported temporarily");var c=this.gl.isEnabled(this.gl.CULL_FACE),u=this.gl.getParameter(this.gl.CULL_FACE_MODE);this.gl.enable(this.gl.CULL_FACE),this.gl.cullFace(this.gl.BACK);var l=this.gl.isEnabled(this.gl.DEPTH_TEST);this.gl.enable(this.gl.DEPTH_TEST),this.gl.depthMask(!0),this.gl.depthFunc(this.gl.LEQUAL),this.options.depthRange&&Array.isArray(this.options.depthRange)&&2===this.options.depthRange.length?this.gl.depthRange(this.options.depthRange[0],this.options.depthRange[1]):this.gl.depthRange(0,1);var h=this.options.wireframe?this.data.wireframeIndexes:this.data.indexes;this.drawCommand.active().setUniforms(o).setAttributes({instancePositions:{buffer:this.data.quadBuffer,numComponents:3},instancePositions64Low:{buffer:this.data.quad64LowBuffer,numComponents:3},a_texCoord:{buffer:this.data.texCoordBuffer,numComponents:2}}).elements({data:new Uint32Array(h),primitive:this.options.wireframe?this.gl.LINES:this.gl.TRIANGLES,count:null===(r=h)||void 0===r?void 0:r.length,usage:this.gl.STATIC_DRAW}).draw(),l||this.gl.disable(this.gl.DEPTH_TEST),c||this.gl.disable(this.gl.CULL_FACE),this.gl.cullFace(u)}},t.prototype.postrender=function(){},t}();function q(t,e,n){var r=t.length,i=n>1?n:2,o=e;void 0===o&&(o=i>2?t.slice():new Array(r));for(var a=0;a<r;a+=i)o[a]=180*t[a]/20037508.342789244,o[a+1]=360*Math.atan(Math.exp(t[a+1]/6378137))/Math.PI-90;return o}function K(t,e,n,r){var i=[];if(r>1)for(var o=t[2]-t[0],a=t[3]-t[1],s=0;s<r;++s)i.push(t[0]+o*s/r,t[1],t[2],t[1]+a*s/r,t[2]-o*s/r,t[3],t[0],t[3]-a*s/r);else i=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]];e(i,i,2);for(var c=[],u=[],l=(s=0,i.length);s<l;s+=2)c.push(i[s]),u.push(i[s+1]);return function(t,e,n){return function(t,e,n,r,i){return i?(i[0]=t,i[1]=e,i[2]=n,i[3]=r,i):[t,e,n,r]}(Math.min.apply(null,t),Math.min.apply(null,e),Math.max.apply(null,t),Math.max.apply(null,e),n)}(c,u,n)}var $={renderer:"gl",doubleBuffer:!1,animation:!1,glOptions:{antialias:!0,depth:!0,stencil:!0,alpha:!0,premultipliedAlpha:!0,preserveDrawingBuffer:!0}},tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.checkResources=function(){return[]},e.prototype.getDrawParams=function(){return[]},e.prototype.hitDetect=function(){return!1},e.prototype.draw=function(){this.prepareCanvas(),this.prepareDrawContext(),this.drawWind()},e.prototype._redraw=function(){this.prepareRender(),this.draw()},e.prototype.clearCanvas=function(){this.gl&&F(this.gl,[0,0,0,0])},e.prototype.createContext=function(){this.gl&&this.gl.canvas===this.canvas||(this.gl=function(t,e){void 0===e&&(e={});var n=["webgl","experimental-webgl"],r=null;function i(t){console.error(t.statusMessage)}t.addEventListener("webglcontextcreationerror",i,!1);for(var o=0;o<n.length;++o){try{r=t.getContext(n[o],e)}catch(t){}if(r)break}return t.removeEventListener("webglcontextcreationerror",i,!1),r&&r.getExtension("OES_texture_float")?r:null}(this.canvas,this.layer.options.glOptions))},e.prototype.resizeCanvas=function(t){if(this.canvas&&this.gl){var e=this.getMap(),n=e.getDevicePixelRatio(),r=t||e.getSize();this.canvas.height=n*r.height,this.canvas.width=n*r.width,this.gl&&this.gl.viewport(0,0,this.canvas.width,this.canvas.height)}},e.prototype.getMatrix=function(){return this.getMap().projViewMatrix},e.prototype.handleZoom=function(){this.scalarRender&&this.scalarRender.handleZoom()},e.prototype.drawWind=function(){var t=this,e=this.getMap();if(null!==this.gl){var n=this.layer,r=n.getOptions(),i=n.getData();if(!this.scalarRender&&e&&(this.scalarRender=new J(this.gl,{opacity:r.opacity,renderForm:r.renderForm,styleSpec:r.styleSpec,displayRange:r.displayRange,mappingRange:r.mappingRange,widthSegments:r.widthSegments,heightSegments:r.heightSegments,createPlaneBuffer:r.createPlaneBuffer,wireframe:r.wireframe,depthRange:r.depthRange||[0,1],getZoom:function(){return t.getMap().getZoom()},triggerRepaint:function(){t._redraw()},injectShaderModules:{"#modules-transformZ":"\nfloat transformZ(float value, vec3 pos) {\n return value;\n}\n ","#modules-project":"\ngl_Position = u_matrix * vec4(pos.xy + vec2(u_offset, 0.0), pos.z + z, 1.0);\n "}}),this.scalarRender.getMercatorCoordinate=function(t){var n=t[0],r=t[1],i=e.coordToPoint(new o.Coordinate(n,r),e.getGLZoom());return[i.x,i.y]},this.getMap().on("zoom",this.handleZoom,this),this.scalarRender.setData(i)),this.scalarRender)for(var a=this.getMatrix(),s=[0,0,0,1],c=s.map((function(t){return R(t)})),u=this.getWrappedWorlds(),l=0;l<u.length;l++)this.scalarRender.render(a,u[l],{cameraEye:s,cameraEye64Low:c})}this.completeRender()},e.prototype.getWrappedWorlds=function(){var t=this.getMap(),e=t.getProjection().fullExtent,n=[e.left,e.bottom,e.right,e.top],r=t.getProjExtent(),i=[r.xmin,r.ymin,r.xmax,r.ymax],a=i[0],s=function(t){return t[2]-t[0]}(n),c=Math.abs(t.coordToPoint(t.getProjection().unprojectCoords(new o.Coordinate([n[0],n[1]])),t.getGLZoom()).x-t.coordToPoint(t.getProjection().unprojectCoords(new o.Coordinate([n[2],n[3]])),t.getGLZoom()).x),u=0,l=[];if(this.layer.getOptions().wrapX){for(;a<n[0];)--u,l.push(u*c),a+=s;for(u=0,a=i[2];a>n[2];)++u,l.push(u*c),a-=s}return l.push(0),l},e.prototype.drawOnInteracting=function(){this.draw()},e.prototype.onZoomStart=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];t.prototype.onZoomStart.apply(this,n)},e.prototype.onZoomEnd=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];t.prototype.onZoomEnd.apply(this,n)},e.prototype.onDragRotateStart=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];t.prototype.onDragRotateStart.apply(this,n)},e.prototype.onDragRotateEnd=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];t.prototype.onDragRotateEnd.apply(this,n)},e.prototype.onMoveStart=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];t.prototype.onMoveStart.apply(this,n)},e.prototype.onMoveEnd=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];t.prototype.onMoveEnd.apply(this,n)},e.prototype.remove=function(){delete this._drawContext,t.prototype.remove.call(this)},e.prototype.getMap=function(){return t.prototype.getMap.call(this)},e.prototype.completeRender=function(){return t.prototype.completeRender.call(this)},e.prototype.prepareCanvas=function(){return t.prototype.prepareCanvas.call(this)},e.prototype.prepareDrawContext=function(){t.prototype.prepareDrawContext.call(this)},e.prototype.prepareRender=function(){return t.prototype.prepareRender.call(this)},e}(o.renderer.CanvasLayerRenderer);(function(t){function e(e,n,r){var i=t.call(this,e,c(c({},$),r))||this;return i.data=null,i._map=null,n&&i.setData(n),i}return s(e,t),e.prototype.getData=function(){return this.data},e.prototype.setData=function(t){var e=this;return new Promise((function(n,r){e.data=t;var i=e._getRenderer();e.data&&i&&i.scalarFill?i.scalarFill.setData(e.data,(function(t){t?n(!0):r(!1)})):n(!1)}))},e.prototype.setOptions=function(t){this.options=c(c({},this.options),t||{});var e=this._getRenderer();e&&e.scalarRender&&(e.scalarRender.updateOptions(this.options),e.setToRedraw())},e.prototype.getOptions=function(){return this.options||{}},e.prototype.draw=function(){return this._getRenderer()&&this._getRenderer()._redraw(),this},e.prototype.prepareToDraw=function(){return[]},e.prototype.drawOnInteracting=function(){this.draw()},e.prototype._getRenderer=function(){return t.prototype._getRenderer.call(this)},e})(o.CanvasLayer).registerRenderer("gl",tt);var et={renderer:"canvas",doubleBuffer:!1,animation:!1,windOptions:{}},nt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.checkResources=function(){return[]},e.prototype.getDrawParams=function(){return[]},e.prototype.hitDetect=function(){return!1},e.prototype.draw=function(){this.prepareCanvas(),this.prepareDrawContext(),this.drawWind()},e.prototype._redraw=function(){this.prepareRender(),this.draw()},e.prototype.drawWind=function(){var t=this,e=this.getMap();if(this.context){var n=this.layer,r=n.getWindOptions();if(!this.wind&&e){var i=n.getData();this.wind=new b(this.context,r,i),this.wind.project=this.project.bind(this),this.wind.unproject=this.unproject.bind(this),this.wind.intersectsCoordinate=this.intersectsCoordinate.bind(this),this.wind.postrender=function(){t.setCanvasUpdated()},this.wind.prerender()}this.wind&&(this.wind.prerender(),this.wind.render())}this.completeRender()},e.prototype.project=function(t){var e=this.getMap().coordinateToContainerPoint(new o.Coordinate(t[0],t[1]));return[e.x,e.y]},e.prototype.unproject=function(t){return this.getMap().containerPointToCoordinate(new o.Point(t[0],t[1])).toArray()},e.prototype.intersectsCoordinate=function(t){var e;if(!this.layer)return!1;var n=null===(e=this.layer)||void 0===e?void 0:e.getProjection();if(n&&"EPSG:3857"!==n.code)return!0;var r=this.getMap().getProjExtent();return function(t,e){var n=e[0],r=e[1];return t[0]<=n&&n<=t[2]&&t[1]<=r&&r<=t[3]}(function(t,e){return K(t,q,void 0,e)}([r.xmin,r.ymin,r.xmax,r.ymax],0),[t[0],t[1]])},e.prototype.drawOnInteracting=function(){},e.prototype.onZoomStart=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];this.wind&&this.wind.stop(),t.prototype.onZoomStart.apply(this,n)},e.prototype.onZoomEnd=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];this.wind&&this.wind.start(),t.prototype.onZoomEnd.apply(this,n)},e.prototype.onDragRotateStart=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];this.wind&&this.wind.stop(),t.prototype.onDragRotateStart.apply(this,n)},e.prototype.onDragRotateEnd=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];this.wind&&this.wind.start(),t.prototype.onDragRotateEnd.apply(this,n)},e.prototype.onMoveStart=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];this.wind&&this.wind.stop(),t.prototype.onMoveStart.apply(this,n)},e.prototype.onMoveEnd=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++)n[r]=e[r];this.wind&&this.wind.start(),t.prototype.onMoveEnd.apply(this,n)},e.prototype.remove=function(){this.wind&&this.wind.stop(),delete this._drawContext,t.prototype.remove.call(this)},e.prototype.getMap=function(){return t.prototype.getMap.call(this)},e.prototype.prepareCanvas=function(){return t.prototype.prepareCanvas.call(this)},e.prototype.prepareDrawContext=function(){t.prototype.prepareDrawContext.call(this)},e.prototype.prepareRender=function(){return t.prototype.prepareRender.call(this)},e.prototype.completeRender=function(){return t.prototype.completeRender.call(this)},e}(o.renderer.CanvasLayerRenderer),rt=function(t){function e(e,n,r){var i=t.call(this,e,p({},et,r))||this;return i.field=null,i._map=null,i.pickWindOptions(),n&&i.setData(n),i}return s(e,t),e.prototype.pickWindOptions=function(){var t=this;Object.keys(_).forEach((function(e){e in t.options&&(void 0===t.options.windOptions&&(t.options.windOptions={}),t.options.windOptions[e]=t.options[e])}))},e.prototype.getData=function(){return this.field},e.prototype.setData=function(t){t&&t.checkFields&&t.checkFields()?this.field=t:function(t){return Array.isArray(t)}(t)?this.field=function(t){var e,n;if(console.time("format-data"),t.forEach((function(t){switch(t.header.parameterCategory+","+t.header.parameterNumber){case"1,2":case"2,2":e=t;break;case"1,3":case"2,3":n=t}})),n&&e){var r=e.header,i=new y({xmin:r.lo1,ymin:r.la1,xmax:r.lo2,ymax:r.la2,deltaX:r.dx,deltaY:r.dy,cols:r.nx,rows:r.ny,us:e.data,vs:n.data});return console.timeEnd("format-data"),i}}(t):console.error("Illegal data");var e=this._getRenderer();return e&&e.wind&&e.wind.updateData(this.field),this},e.prototype.updateParams=function(t){return void 0===t&&(t={}),m("will move to setWindOptions"),this.setWindOptions(t),this},e.prototype.getParams=function(){return m("will move to getWindOptions"),this.getWindOptions()},e.prototype.setWindOptions=function(t){var e=this.options.windOptions||{};this.options=p(this.options,{windOptions:p(e,t||{})});var n=this._getRenderer();if(n&&n.wind){var r=this.options.windOptions;n.wind.setOptions(r)}},e.prototype.getWindOptions=function(){return this.options.windOptions||{}},e.prototype.draw=function(){return this._getRenderer()&&this._getRenderer()._redraw(),this},e.prototype.prepareToDraw=function(){return[]},e.prototype.drawOnInteracting=function(){this.draw()},e.prototype._getRenderer=function(){return t.prototype._getRenderer.call(this)},e}(o.CanvasLayer);rt.registerRenderer("canvas",nt);var it=rt}).call(this,n("2ffc")(t),n("fd40").Buffer,n("eef6"))},"5e6d":function(t,e){t.exports="object"==typeof window},"5eb3":function(t,e,n){var r=n("3a40").Global;function i(){return r.localStorage}function o(t){return i().getItem(t)}t.exports={name:"localStorage",read:o,write:function(t,e){return i().setItem(t,e)},each:function(t){for(var e=i().length-1;e>=0;e--){var n=i().key(e);t(o(n),n)}},remove:function(t){return i().removeItem(t)},clearAll:function(){return i().clear()}}},"5ede":function(t,e,n){"use strict";var r=n("6dd3"),i=n("a2f4");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},"5f7f":function(t,e,n){var r=n("8e24"),i=n("163f"),o=n("77bb"),a=n("521d"),s=i(n("473f").f),c=i([].push),u=function(t){return function(e){for(var n,i=a(e),u=o(i),l=u.length,h=0,f=[];l>h;)n=u[h++],r&&!s(i,n)||c(f,t?[n,i[n]]:i[n]);return f}};t.exports={entries:u(!0),values:u(!1)}},"5f8e":function(t,e,n){var r=n("8e24"),i=n("d44f").EXISTS,o=n("163f"),a=n("dcc6").f,s=Function.prototype,c=o(s.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=o(u.exec);r&&!i&&a(s,"name",{configurable:!0,get:function(){try{return l(u,c(this))[1]}catch(t){return""}}})},"5ffc":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("5ae2"),n("09be"),n("39dd"),n("00e8"),n("55b1"),n("3946");var r=n("6860");function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||Object(r.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},6054:function(t,e,n){"use strict";var r=n("6dd3"),i=n("9699"),o=n("b51b"),a=n("4a15"),s=n("9801"),c=n("ed2b"),u=n("1de0"),l=n("1657"),h=n("7f81"),f=n("9b46"),d=n("3d1e"),p=n("3e77"),m=d("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",y=i.TypeError,_=p>=51||!o((function(){var t=[];return t[m]=!1,t.concat()[0]!==t})),x=f("concat"),b=function(t){if(!s(t))return!1;var e=t[m];return void 0!==e?!!e:a(t)};r({target:"Array",proto:!0,forced:!_||!x},{concat:function(t){var e,n,r,i,o,a=c(this),s=h(a,0),f=0;for(e=-1,r=arguments.length;e<r;e++)if(b(o=-1===e?a:arguments[e])){if(f+(i=u(o))>g)throw y(v);for(n=0;n<i;n++,f++)n in o&&l(s,f,o[n])}else{if(f>=g)throw y(v);l(s,f++,o)}return s.length=f,s}})},6266:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return(i?"/":"")+(e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"))||"."},e.normalize=function(t){var o=e.isAbsolute(t),a="/"===i(t,-1);return(t=n(r(t.split("/"),(function(t){return!!t})),!o).join("/"))||o||(t="."),t&&a&&(t+="/"),(o?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c<a;c++)if(i[c]!==o[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return(u=u.concat(o.slice(s))).join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!=typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,o=t.length-1;o>=1;--o)if(47===(e=t.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=function(t){"string"!=typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=a+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("eef6"))},"62ae":function(t,e,n){var r=n("6dd3"),i=n("74dc");r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},"63c7":function(t,e,n){"use strict";var r=n("9699"),i=n("2c81"),o=n("8ea6"),a=n("5674"),s=r.RangeError;t.exports=function(t){var e=o(a(this)),n="",r=i(t);if(r<0||r==1/0)throw s("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}},"647c":function(t,e,n){var r,i,o,a=n("ba51"),s=n("9699"),c=n("163f"),u=n("9801"),l=n("4efa"),h=n("4c74"),f=n("a0df"),d=n("085d"),p=n("d26b"),m="Object already initialized",g=s.TypeError,v=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new v),_=c(y.get),x=c(y.has),b=c(y.set);r=function(t,e){if(x(y,t))throw new g(m);return e.facade=t,b(y,t,e),e},i=function(t){return _(y,t)||{}},o=function(t){return x(y,t)}}else{var w=d("state");p[w]=!0,r=function(t,e){if(h(t,w))throw new g(m);return e.facade=t,l(t,w,e),e},i=function(t){return h(t,w)?t[w]:{}},o=function(t){return h(t,w)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=i(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}}}},"64c3":function(t,e,n){"use strict";var r=n("ecff");t.exports=function(t){var e=(t=t||{}).reporter,n=t.batchProcessor,i=t.stateHandler.getState;if(!e)throw new Error("Missing required dependency: reporter.");function o(e){var n=t.important?" !important; ":"; ";return(e.join(n)+n).trim()}function a(t){return i(t).object}return{makeDetectable:function(t,a,s){s||(s=a,a=t,t=null),(t=t||{}).debug,r.isIE(8)?s(a):function(a,s){var c=o(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),u=!1,l=window.getComputedStyle(a),h=a.offsetWidth,f=a.offsetHeight;function d(){function n(){if("static"===l.position){a.style.setProperty("position","relative",t.important?"important":"");var n=function(e,n,r,i){var o=r[i];"auto"!==o&&"0"!==function(t){return t.replace(/[^-\d\.]/g,"")}(o)&&(e.warn("An element that is positioned static has style."+i+"="+o+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+i+" will be set to 0. Element: ",n),n.style.setProperty(i,"0",t.important?"important":""))};n(e,a,l,"top"),n(e,a,l,"right"),n(e,a,l,"bottom"),n(e,a,l,"left")}}""!==l.position&&(n(),u=!0);var o=document.createElement("object");o.style.cssText=c,o.tabIndex=-1,o.type="text/html",o.setAttribute("aria-hidden","true"),o.onload=function(){u||n(),function t(e,n){if(!e.contentDocument){var r=i(e);return r.checkForObjectDocumentTimeoutId&&window.clearTimeout(r.checkForObjectDocumentTimeoutId),void(r.checkForObjectDocumentTimeoutId=setTimeout((function(){r.checkForObjectDocumentTimeoutId=0,t(e,n)}),100))}n(e.contentDocument)}(this,(function(t){s(a)}))},r.isIE()||(o.data="about:blank"),i(a)&&(a.appendChild(o),i(a).object=o,r.isIE()&&(o.data="about:blank"))}i(a).startSize={width:h,height:f},n?n.add(d):d()}(a,s)},addListener:function(t,e){function n(){e(t)}if(r.isIE(8))i(t).object={proxy:n},t.attachEvent("onresize",n);else{var o=a(t);if(!o)throw new Error("Element is not detectable by this strategy.");o.contentDocument.defaultView.addEventListener("resize",n)}},uninstall:function(t){if(i(t)){var e=a(t);e&&(r.isIE(8)?t.detachEvent("onresize",e.proxy):t.removeChild(e),i(t).checkForObjectDocumentTimeoutId&&window.clearTimeout(i(t).checkForObjectDocumentTimeoutId),delete i(t).object)}}}}},"64e5":function(t,e,n){var r=n("521d"),i=n("03e9"),o=n("1de0"),a=function(t){return function(e,n,a){var s,c=r(e),u=o(c),l=i(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},6586:function(t,e,n){var r=n("235f"),i=n("0635");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){i(t,"throw",e)}}},"65b8":function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n("e1fd"),n("39dd"),n("9afc");var r=n("9cb3"),i=n("b417"),o=n.n(i),a=n("891d");function s(t,e){if(e&&("object"===o()(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Object(a.a)(t)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=Object(r.a)(t);if(e){var o=Object(r.a)(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return s(this,n)}}},"66da":function(t,e){var n="expire_mixin";t.exports=function(){var t=this.createStore(this.storage,null,this._namespacePrefix+n);return{set:function(e,r,i,o){return this.hasNamespace(n)||t.set(r,o),e()},get:function(t,r){return this.hasNamespace(n)||e.call(this,r),t()},remove:function(e,r){return this.hasNamespace(n)||t.remove(r),e()},getExpiration:function(e,n){return t.get(n)},removeExpiredKeys:function(t){var n=[];this.each((function(t,e){n.push(e)}));for(var r=0;r<n.length;r++)e.call(this,n[r])}};function e(e){t.get(e,Number.MAX_VALUE)<=(new Date).getTime()&&(this.raw.remove(e),t.remove(e))}}},6860:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function i(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}n.d(e,"a",(function(){return i})),n("3901"),n("39dd"),n("5f8e"),n("fc09"),n("55b1"),n("5ede"),n("ccbd")},"69e4":function(t,e,n){var r=n("9699"),i=n("b51b"),o=n("329e"),a=n("5d20").NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;t.exports=!a||!i((function(){c(1)}))||!i((function(){new c(-1)}))||!o((function(t){new c,new c(null),new c(1.5),new c(t)}),!0)||i((function(){return 1!==new c(new s(2),1,void 0).length}))},"6a85":function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},"6b26":function(t,e,n){var r=n("9699"),i=n("e1f6"),o=n("b8fb"),a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not a function")}},"6d38":function(t,e,n){var r=n("b51b"),i=n("e1f6"),o=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==l||n!=u&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},"6d3e":function(t,e,n){"use strict";var r=n("6dd3"),i=n("fb76"),o=n("de16"),a=n("b51b"),s=n("f22c"),c=n("e1f6"),u=n("3a73"),l=n("0f78"),h=n("51ad");if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=u(this,s("Promise")),n=c(t);return this.then(n?function(n){return l(e,t()).then((function(){return n}))}:t,n?function(n){return l(e,t()).then((function(){throw n}))}:t)}}),!i&&c(o)){var f=s("Promise").prototype.finally;o.prototype.finally!==f&&h(o.prototype,"finally",f,{unsafe:!0})}},"6d6e":function(t,e){var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};t.exports=function(t,e){if(!n(t))throw new Error("Coordinates must be an array");if(t.length<2)throw new Error("Coordinates must be at least 2 numbers long");return{type:"Feature",geometry:{type:"Point",coordinates:t},properties:e||{}}}},"6dd3":function(t,e,n){var r=n("9699"),i=n("162c").f,o=n("4efa"),a=n("51ad"),s=n("1a30"),c=n("d88d"),u=n("6d38");t.exports=function(t,e){var n,l,h,f,d,p=t.target,m=t.global,g=t.stat;if(n=m?r:g?r[p]||s(p,{}):(r[p]||{}).prototype)for(l in e){if(f=e[l],h=t.noTargetGet?(d=i(n,l))&&d.value:n[l],!u(m?l:p+(g?".":"#")+l,t.forced)&&void 0!==h){if(typeof f==typeof h)continue;c(f,h)}(t.sham||h&&h.sham)&&o(f,"sham",!0),a(n,l,f,t)}}},"6dda":function(t,e,n){"use strict";var r=n("9699"),i=n("c687"),o=n("5d20"),a=n("b51b"),s=n("906c"),c=r.Int8Array,u=o.aTypedArray,l=o.exportTypedArrayMethod,h=[].toLocaleString,f=!!c&&a((function(){h.call(new c(1))}));l("toLocaleString",(function(){return i(h,f?s(u(this)):u(this),s(arguments))}),a((function(){return[1,2].toLocaleString()!=new c([1,2]).toLocaleString()}))||!a((function(){c.prototype.toLocaleString.call([1,2])})))},"713e":function(t,e,n){var r=n("6dd3"),i=n("a22c"),o=n("9801"),a=n("235f"),s=n("d485"),c=n("162c"),u=n("a625");r({target:"Reflect",stat:!0},{get:function t(e,n){var r,l,h=arguments.length<3?e:arguments[2];return a(e)===h?e[n]:(r=c.f(e,n))?s(r)?r.value:void 0===r.get?void 0:i(r.get,h):o(l=u(e))?t(l,n,h):void 0}})},7161:function(t,e,n){"use strict";var r=n("5d20"),i=n("1de0"),o=n("2c81"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("at",(function(t){var e=a(this),n=i(e),r=o(t),s=r>=0?r:n+r;return s<0||s>=n?void 0:e[s]}))},"71f5":function(t,e,n){"use strict";t.exports=function(t){var e=t.stateHandler.getState;return{isDetectable:function(t){var n=e(t);return n&&!!n.isDetectable},markAsDetectable:function(t){e(t).isDetectable=!0},isBusy:function(t){return!!e(t).busy},markBusy:function(t,n){e(t).busy=!!n}}}},7203:function(t,e,n){t.exports=n.p+"img/kedu.2adfe059.png"},"74cd":function(t,e,n){var r=n("3d1e");e.f=r},"74dc":function(t,e,n){"use strict";var r=n("8e24"),i=n("163f"),o=n("a22c"),a=n("b51b"),s=n("77bb"),c=n("0847"),u=n("473f"),l=n("ed2b"),h=n("efd0"),f=Object.assign,d=Object.defineProperty,p=i([].concat);t.exports=!f||a((function(){if(r&&1!==f({b:1},f(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=f({},t)[n]||s(f({},e)).join("")!=i}))?function(t,e){for(var n=l(t),i=arguments.length,a=1,f=c.f,d=u.f;i>a;)for(var m,g=h(arguments[a++]),v=f?p(s(g),f(g)):s(g),y=v.length,_=0;y>_;)m=v[_++],r&&!o(d,g,m)||(n[m]=g[m]);return n}:f},7579:function(t,e,n){var r=n("1de0");t.exports=function(t,e){for(var n=0,i=r(e),o=new t(i);i>n;)o[n]=e[n++];return o}},"759a":function(t,e,n){var r=n("9699"),i=n("e1f6"),o=r.String,a=r.TypeError;t.exports=function(t){if("object"==typeof t||i(t))return t;throw a("Can't set "+o(t)+" as a prototype")}},7710:function(t,e,n){"use strict";var r=n("6dd3"),i=n("9699"),o=n("a22c"),a=n("163f"),s=n("5674"),c=n("e1f6"),u=n("f55f"),l=n("8ea6"),h=n("5b57"),f=n("40ac"),d=n("5999"),p=n("3d1e"),m=n("fb76"),g=p("replace"),v=RegExp.prototype,y=i.TypeError,_=a(f),x=a("".indexOf),b=a("".replace),w=a("".slice),M=Math.max,S=function(t,e,n){return n>t.length?-1:""===e?n:x(t,e,n)};r({target:"String",proto:!0},{replaceAll:function(t,e){var n,r,i,a,f,p,A,C,E,T=s(this),I=0,L=0,P="";if(null!=t){if((n=u(t))&&(r=l(s("flags"in v?t.flags:_(t))),!~x(r,"g")))throw y("`.replaceAll` does not allow non-global regexes");if(i=h(t,g))return o(i,t,T,e);if(m&&n)return b(l(T),t,e)}for(a=l(T),f=l(t),(p=c(e))||(e=l(e)),A=f.length,C=M(1,A),I=S(a,f,0);-1!==I;)E=p?l(e(f,I,a)):d(f,a,I,[],void 0,e),P+=w(a,L,I)+E,L=I+A,I=S(a,f,I+C);return L<a.length&&(P+=w(a,L)),P}})},7718:function(t,e,n){"use strict";var r=n("b51b");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},"77bb":function(t,e,n){var r=n("5a08"),i=n("dd7b");t.exports=Object.keys||function(t){return r(t,i)}},7909:function(t,e,n){var r=n("4f4c"),i=n("a22c"),o=n("9edc"),a=n("ed2b"),s=n("1de0"),c=n("40ec"),u=n("4557"),l=n("8d89"),h=n("5d20").aTypedArrayConstructor;t.exports=function(t){var e,n,f,d,p,m,g=o(this),v=a(t),y=arguments.length,_=y>1?arguments[1]:void 0,x=void 0!==_,b=u(v);if(b&&!l(b))for(m=(p=c(v,b)).next,v=[];!(d=i(m,p)).done;)v.push(d.value);for(x&&y>2&&(_=r(_,arguments[2])),n=s(v),f=new(h(g))(n),e=0;n>e;e++)f[e]=x?_(v[e],e):v[e];return f}},7970:function(t,e,n){var r=n("5a08"),i=n("dd7b").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"79e6":function(t,e,n){var r=n("9699"),i=n("03e9"),o=n("1de0"),a=n("1657"),s=r.Array,c=Math.max;t.exports=function(t,e,n){for(var r=o(t),u=i(e,r),l=i(void 0===n?r:n,r),h=s(c(l-u,0)),f=0;u<l;u++,f++)a(h,f,t[u]);return h.length=f,h}},"7c3e":function(t,e,n){var r=n("2c9a"),i=n("4c74"),o=n("74cd"),a=n("dcc6").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},"7c98":function(t,e,n){(function(t,r){var i;
|
|
84
84
|
/**
|
|
85
85
|
* @license
|
|
86
86
|
* Lodash <https://lodash.com/>
|
|
@@ -88,7 +88,7 @@ and limitations under the License.
|
|
|
88
88
|
* Released under MIT license <https://lodash.com/license>
|
|
89
89
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
90
90
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
91
|
-
*/(function(){var o,a="Expected a function",s="__lodash_hash_undefined__",c="__lodash_placeholder__",u=16,l=32,h=64,f=128,d=256,p=1/0,m=9007199254740991,g=NaN,v=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",l],["partialRight",h],["rearg",d]],_="[object Arguments]",x="[object Array]",b="[object Boolean]",w="[object Date]",M="[object Error]",S="[object Function]",A="[object GeneratorFunction]",C="[object Map]",E="[object Number]",T="[object Object]",I="[object Promise]",L="[object RegExp]",P="[object Set]",R="[object String]",O="[object Symbol]",k="[object WeakMap]",B="[object ArrayBuffer]",D="[object DataView]",F="[object Float32Array]",U="[object Float64Array]",j="[object Int8Array]",N="[object Int16Array]",G="[object Int32Array]",z="[object Uint8Array]",H="[object Uint8ClampedArray]",W="[object Uint16Array]",V="[object Uint32Array]",Z=/\b__p \+= '';/g,Q=/\b(__p \+=) '' \+/g,X=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Y=/&(?:amp|lt|gt|quot|#39);/g,J=/[&<>"']/g,q=RegExp(Y.source),K=RegExp(J.source),$=/<%-([\s\S]+?)%>/g,tt=/<%([\s\S]+?)%>/g,et=/<%=([\s\S]+?)%>/g,nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rt=/^\w*$/,it=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ot=/[\\^$.*+?()[\]{}|]/g,at=RegExp(ot.source),st=/^\s+/,ct=/\s/,ut=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,lt=/\{\n\/\* \[wrapped with (.+)\] \*/,ht=/,? & /,ft=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dt=/[()=,{}\[\]\/\s]/,pt=/\\(\\)?/g,mt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gt=/\w*$/,vt=/^[-+]0x[0-9a-f]+$/i,yt=/^0b[01]+$/i,_t=/^\[object .+?Constructor\]$/,xt=/^0o[0-7]+$/i,bt=/^(?:0|[1-9]\d*)$/,wt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Mt=/($^)/,St=/['\n\r\u2028\u2029\\]/g,At="\\ud800-\\udfff",Ct="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Et="\\u2700-\\u27bf",Tt="a-z\\xdf-\\xf6\\xf8-\\xff",It="A-Z\\xc0-\\xd6\\xd8-\\xde",Lt="\\ufe0e\\ufe0f",Pt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Rt="['’]",Ot="["+At+"]",kt="["+Pt+"]",Bt="["+Ct+"]",Dt="\\d+",Ft="["+Et+"]",Ut="["+Tt+"]",jt="[^"+At+Pt+Dt+Et+Tt+It+"]",Nt="\\ud83c[\\udffb-\\udfff]",Gt="[^"+At+"]",zt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ht="[\\ud800-\\udbff][\\udc00-\\udfff]",Wt="["+It+"]",Vt="(?:"+Ut+"|"+jt+")",Zt="(?:"+Wt+"|"+jt+")",Qt="(?:['’](?:d|ll|m|re|s|t|ve))?",Xt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Yt="(?:"+Bt+"|"+Nt+")?",Jt="["+Lt+"]?",qt=Jt+Yt+"(?:\\u200d(?:"+[Gt,zt,Ht].join("|")+")"+Jt+Yt+")*",Kt="(?:"+[Ft,zt,Ht].join("|")+")"+qt,$t="(?:"+[Gt+Bt+"?",Bt,zt,Ht,Ot].join("|")+")",te=RegExp(Rt,"g"),ee=RegExp(Bt,"g"),ne=RegExp(Nt+"(?="+Nt+")|"+$t+qt,"g"),re=RegExp([Wt+"?"+Ut+"+"+Qt+"(?="+[kt,Wt,"$"].join("|")+")",Zt+"+"+Xt+"(?="+[kt,Wt+Vt,"$"].join("|")+")",Wt+"?"+Vt+"+"+Qt,Wt+"+"+Xt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Dt,Kt].join("|"),"g"),ie=RegExp("[\\u200d"+At+Ct+Lt+"]"),oe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ae=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],se=-1,ce={};ce[F]=ce[U]=ce[j]=ce[N]=ce[G]=ce[z]=ce[H]=ce[W]=ce[V]=!0,ce[_]=ce[x]=ce[B]=ce[b]=ce[D]=ce[w]=ce[M]=ce[S]=ce[C]=ce[E]=ce[T]=ce[L]=ce[P]=ce[R]=ce[k]=!1;var ue={};ue[_]=ue[x]=ue[B]=ue[D]=ue[b]=ue[w]=ue[F]=ue[U]=ue[j]=ue[N]=ue[G]=ue[C]=ue[E]=ue[T]=ue[L]=ue[P]=ue[R]=ue[O]=ue[z]=ue[H]=ue[W]=ue[V]=!0,ue[M]=ue[S]=ue[k]=!1;var le={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},he=parseFloat,fe=parseInt,de="object"==typeof t&&t&&t.Object===Object&&t,pe="object"==typeof self&&self&&self.Object===Object&&self,me=de||pe||Function("return this")(),ge=e&&!e.nodeType&&e,ve=ge&&"object"==typeof r&&r&&!r.nodeType&&r,ye=ve&&ve.exports===ge,_e=ye&&de.process,xe=function(){try{return ve&&ve.require&&ve.require("util").types||_e&&_e.binding&&_e.binding("util")}catch(t){}}(),be=xe&&xe.isArrayBuffer,we=xe&&xe.isDate,Me=xe&&xe.isMap,Se=xe&&xe.isRegExp,Ae=xe&&xe.isSet,Ce=xe&&xe.isTypedArray;function Ee(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Te(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function Ie(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Le(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Pe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Re(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function Oe(t,e){return!(null==t||!t.length)&&We(t,e,0)>-1}function ke(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Be(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function De(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Fe(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function Ue(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function je(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var Ne=Xe("length");function Ge(t){return t.match(ft)||[]}function ze(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function He(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function We(t,e,n){return e==e?function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):He(t,Ze,n)}function Ve(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function Ze(t){return t!=t}function Qe(t,e){var n=null==t?0:t.length;return n?qe(t,e)/n:g}function Xe(t){return function(e){return null==e?o:e[t]}}function Ye(t){return function(e){return null==t?o:t[e]}}function Je(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function qe(t,e){for(var n,r=-1,i=t.length;++r<i;){var a=e(t[r]);a!==o&&(n=n===o?a:n+a)}return n}function Ke(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function $e(t){return t?t.slice(0,yn(t)+1).replace(st,""):t}function tn(t){return function(e){return t(e)}}function en(t,e){return Be(e,(function(e){return t[e]}))}function nn(t,e){return t.has(e)}function rn(t,e){for(var n=-1,r=t.length;++n<r&&We(e,t[n],0)>-1;);return n}function on(t,e){for(var n=t.length;n--&&We(e,t[n],0)>-1;);return n}function an(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var sn=Ye({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),cn=Ye({"&":"&","<":"<",">":">",'"':""","'":"'"});function un(t){return"\\"+le[t]}function ln(t){return ie.test(t)}function hn(t){return oe.test(t)}function fn(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function dn(t,e){return function(n){return t(e(n))}}function pn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==c||(t[n]=c,o[i++]=n)}return o}function mn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function gn(t){return ln(t)?function(t){for(var e=ne.lastIndex=0;ne.test(t);)++e;return e}(t):Ne(t)}function vn(t){return ln(t)?function(t){return t.match(ne)||[]}(t):function(t){return t.split("")}(t)}function yn(t){for(var e=t.length;e--&&ct.test(t.charAt(e)););return e}var _n=Ye({"&":"&","<":"<",">":">",""":'"',"'":"'"});function xn(t){return t.match(re)||[]}var bn=function t(e){var n=(e=null==e?me:bn.defaults(me.Object(),e,bn.pick(me,ae))).Array,r=e.Date,i=e.Error,ct=e.Function,ft=e.Math,At=e.Object,Ct=e.RegExp,Et=e.String,Tt=e.TypeError,It=n.prototype,Lt=ct.prototype,Pt=At.prototype,Rt=e["__core-js_shared__"],Ot=Lt.toString,kt=Pt.hasOwnProperty,Bt=0,Dt=function(){var t=/[^.]+$/.exec(Rt&&Rt.keys&&Rt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ft=Pt.toString,Ut=Ot.call(At),jt=me._,Nt=Ct("^"+Ot.call(kt).replace(ot,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Gt=ye?e.Buffer:o,zt=e.Symbol,Ht=e.Uint8Array,Wt=Gt?Gt.allocUnsafe:o,Vt=dn(At.getPrototypeOf,At),Zt=At.create,Qt=Pt.propertyIsEnumerable,Xt=It.splice,Yt=zt?zt.isConcatSpreadable:o,Jt=zt?zt.iterator:o,qt=zt?zt.toStringTag:o,Kt=function(){try{var t=go(At,"defineProperty");return t({},"",{}),t}catch(t){}}(),$t=e.clearTimeout!==me.clearTimeout&&e.clearTimeout,ne=r&&r.now!==me.Date.now&&r.now,re=e.setTimeout!==me.setTimeout&&e.setTimeout,ie=ft.ceil,oe=ft.floor,le=At.getOwnPropertySymbols,de=Gt?Gt.isBuffer:o,pe=e.isFinite,ge=It.join,ve=dn(At.keys,At),_e=ft.max,xe=ft.min,Ne=r.now,Ye=e.parseInt,wn=ft.random,Mn=It.reverse,Sn=go(e,"DataView"),An=go(e,"Map"),Cn=go(e,"Promise"),En=go(e,"Set"),Tn=go(e,"WeakMap"),In=go(At,"create"),Ln=Tn&&new Tn,Pn={},Rn=Wo(Sn),On=Wo(An),kn=Wo(Cn),Bn=Wo(En),Dn=Wo(Tn),Fn=zt?zt.prototype:o,Un=Fn?Fn.valueOf:o,jn=Fn?Fn.toString:o;function Nn(t){if(ss(t)&&!Ja(t)&&!(t instanceof Wn)){if(t instanceof Hn)return t;if(kt.call(t,"__wrapped__"))return Vo(t)}return new Hn(t)}var Gn=function(){function t(){}return function(e){if(!as(e))return{};if(Zt)return Zt(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function zn(){}function Hn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function Wn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=v,this.__views__=[]}function Vn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Zn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Qn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Xn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Qn;++e<n;)this.add(t[e])}function Yn(t){var e=this.__data__=new Zn(t);this.size=e.size}function Jn(t,e){var n=Ja(t),r=!n&&Ya(t),i=!n&&!r&&ts(t),o=!n&&!r&&!i&&ms(t),a=n||r||i||o,s=a?Ke(t.length,Et):[],c=s.length;for(var u in t)!e&&!kt.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Mo(u,c))||s.push(u);return s}function qn(t){var e=t.length;return e?t[Xr(0,e-1)]:o}function Kn(t,e){return Go(Li(t),sr(e,0,t.length))}function $n(t){return Go(Li(t))}function tr(t,e,n){(n!==o&&!Za(t[e],n)||n===o&&!(e in t))&&or(t,e,n)}function er(t,e,n){var r=t[e];kt.call(t,e)&&Za(r,n)&&(n!==o||e in t)||or(t,e,n)}function nr(t,e){for(var n=t.length;n--;)if(Za(t[n][0],e))return n;return-1}function rr(t,e,n,r){return fr(t,(function(t,i,o){e(r,t,n(t),o)})),r}function ir(t,e){return t&&Pi(e,Fs(e),t)}function or(t,e,n){"__proto__"==e&&Kt?Kt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ar(t,e){for(var r=-1,i=e.length,a=n(i),s=null==t;++r<i;)a[r]=s?o:Rs(t,e[r]);return a}function sr(t,e,n){return t==t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function cr(t,e,n,r,i,a){var s,c=1&e,u=2&e,l=4&e;if(n&&(s=i?n(t,r,i,a):n(t)),s!==o)return s;if(!as(t))return t;var h=Ja(t);if(h){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&kt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!c)return Li(t,s)}else{var f=_o(t),d=f==S||f==A;if(ts(t))return Si(t,c);if(f==T||f==_||d&&!i){if(s=u||d?{}:bo(t),!c)return u?function(t,e){return Pi(t,yo(t),e)}(t,function(t,e){return t&&Pi(e,Us(e),t)}(s,t)):function(t,e){return Pi(t,vo(t),e)}(t,ir(s,t))}else{if(!ue[f])return i?t:{};s=function(t,e,n){var r=t.constructor;switch(e){case B:return Ai(t);case b:case w:return new r(+t);case D:return function(t,e){var n=e?Ai(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case F:case U:case j:case N:case G:case z:case H:case W:case V:return Ci(t,n);case C:return new r;case E:case R:return new r(t);case L:return function(t){var e=new t.constructor(t.source,gt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case P:return new r;case O:return function(t){return Un?At(Un.call(t)):{}}(t)}}(t,f,c)}}a||(a=new Yn);var p=a.get(t);if(p)return p;a.set(t,s),fs(t)?t.forEach((function(r){s.add(cr(r,e,n,r,t,a))})):cs(t)&&t.forEach((function(r,i){s.set(i,cr(r,e,n,i,t,a))}));var m=h?o:(l?u?co:so:u?Us:Fs)(t);return Ie(m||t,(function(r,i){m&&(r=t[i=r]),er(s,i,cr(r,e,n,i,t,a))})),s}function ur(t,e,n){var r=n.length;if(null==t)return!r;for(t=At(t);r--;){var i=n[r],a=e[i],s=t[i];if(s===o&&!(i in t)||!a(s))return!1}return!0}function lr(t,e,n){if("function"!=typeof t)throw new Tt(a);return Fo((function(){t.apply(o,n)}),e)}function hr(t,e,n,r){var i=-1,o=Oe,a=!0,s=t.length,c=[],u=e.length;if(!s)return c;n&&(e=Be(e,tn(n))),r?(o=ke,a=!1):e.length>=200&&(o=nn,a=!1,e=new Xn(e));t:for(;++i<s;){var l=t[i],h=null==n?l:n(l);if(l=r||0!==l?l:0,a&&h==h){for(var f=u;f--;)if(e[f]===h)continue t;c.push(l)}else o(e,h,r)||c.push(l)}return c}Nn.templateSettings={escape:$,evaluate:tt,interpolate:et,variable:"",imports:{_:Nn}},Nn.prototype=zn.prototype,Nn.prototype.constructor=Nn,Hn.prototype=Gn(zn.prototype),Hn.prototype.constructor=Hn,Wn.prototype=Gn(zn.prototype),Wn.prototype.constructor=Wn,Vn.prototype.clear=function(){this.__data__=In?In(null):{},this.size=0},Vn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Vn.prototype.get=function(t){var e=this.__data__;if(In){var n=e[t];return n===s?o:n}return kt.call(e,t)?e[t]:o},Vn.prototype.has=function(t){var e=this.__data__;return In?e[t]!==o:kt.call(e,t)},Vn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=In&&e===o?s:e,this},Zn.prototype.clear=function(){this.__data__=[],this.size=0},Zn.prototype.delete=function(t){var e=this.__data__,n=nr(e,t);return!(n<0||(n==e.length-1?e.pop():Xt.call(e,n,1),--this.size,0))},Zn.prototype.get=function(t){var e=this.__data__,n=nr(e,t);return n<0?o:e[n][1]},Zn.prototype.has=function(t){return nr(this.__data__,t)>-1},Zn.prototype.set=function(t,e){var n=this.__data__,r=nr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Vn,map:new(An||Zn),string:new Vn}},Qn.prototype.delete=function(t){var e=po(this,t).delete(t);return this.size-=e?1:0,e},Qn.prototype.get=function(t){return po(this,t).get(t)},Qn.prototype.has=function(t){return po(this,t).has(t)},Qn.prototype.set=function(t,e){var n=po(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(t){return this.__data__.set(t,s),this},Xn.prototype.has=function(t){return this.__data__.has(t)},Yn.prototype.clear=function(){this.__data__=new Zn,this.size=0},Yn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Yn.prototype.get=function(t){return this.__data__.get(t)},Yn.prototype.has=function(t){return this.__data__.has(t)},Yn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Zn){var r=n.__data__;if(!An||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Qn(r)}return n.set(t,e),this.size=n.size,this};var fr=ki(xr),dr=ki(br,!0);function pr(t,e){var n=!0;return fr(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function mr(t,e,n){for(var r=-1,i=t.length;++r<i;){var a=t[r],s=e(a);if(null!=s&&(c===o?s==s&&!ps(s):n(s,c)))var c=s,u=a}return u}function gr(t,e){var n=[];return fr(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function vr(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=wo),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?vr(s,e-1,n,r,i):De(i,s):r||(i[i.length]=s)}return i}var yr=Bi(),_r=Bi(!0);function xr(t,e){return t&&yr(t,e,Fs)}function br(t,e){return t&&_r(t,e,Fs)}function wr(t,e){return Re(e,(function(e){return rs(t[e])}))}function Mr(t,e){for(var n=0,r=(e=xi(e,t)).length;null!=t&&n<r;)t=t[Ho(e[n++])];return n&&n==r?t:o}function Sr(t,e,n){var r=e(t);return Ja(t)?r:De(r,n(t))}function Ar(t){return null==t?t===o?"[object Undefined]":"[object Null]":qt&&qt in At(t)?function(t){var e=kt.call(t,qt),n=t[qt];try{t[qt]=o;var r=!0}catch(t){}var i=Ft.call(t);return r&&(e?t[qt]=n:delete t[qt]),i}(t):function(t){return Ft.call(t)}(t)}function Cr(t,e){return t>e}function Er(t,e){return null!=t&&kt.call(t,e)}function Tr(t,e){return null!=t&&e in At(t)}function Ir(t,e,r){for(var i=r?ke:Oe,a=t[0].length,s=t.length,c=s,u=n(s),l=1/0,h=[];c--;){var f=t[c];c&&e&&(f=Be(f,tn(e))),l=xe(f.length,l),u[c]=!r&&(e||a>=120&&f.length>=120)?new Xn(c&&f):o}f=t[0];var d=-1,p=u[0];t:for(;++d<a&&h.length<l;){var m=f[d],g=e?e(m):m;if(m=r||0!==m?m:0,!(p?nn(p,g):i(h,g,r))){for(c=s;--c;){var v=u[c];if(!(v?nn(v,g):i(t[c],g,r)))continue t}p&&p.push(g),h.push(m)}}return h}function Lr(t,e,n){var r=null==(t=Oo(t,e=xi(e,t)))?t:t[Ho(na(e))];return null==r?o:Ee(r,t,n)}function Pr(t){return ss(t)&&Ar(t)==_}function Rr(t,e,n,r,i){return t===e||(null==t||null==e||!ss(t)&&!ss(e)?t!=t&&e!=e:function(t,e,n,r,i,o){var a=Ja(t),s=Ja(e),c=a?x:_o(t),u=s?x:_o(e),l=(c=c==_?T:c)==T,h=(u=u==_?T:u)==T,f=c==u;if(f&&ts(t)){if(!ts(e))return!1;a=!0,l=!1}if(f&&!l)return o||(o=new Yn),a||ms(t)?io(t,e,n,r,i,o):function(t,e,n,r,i,o,a){switch(n){case D:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case B:return!(t.byteLength!=e.byteLength||!o(new Ht(t),new Ht(e)));case b:case w:case E:return Za(+t,+e);case M:return t.name==e.name&&t.message==e.message;case L:case R:return t==e+"";case C:var s=fn;case P:var c=1&r;if(s||(s=mn),t.size!=e.size&&!c)return!1;var u=a.get(t);if(u)return u==e;r|=2,a.set(t,e);var l=io(s(t),s(e),r,i,o,a);return a.delete(t),l;case O:if(Un)return Un.call(t)==Un.call(e)}return!1}(t,e,c,n,r,i,o);if(!(1&n)){var d=l&&kt.call(t,"__wrapped__"),p=h&&kt.call(e,"__wrapped__");if(d||p){var m=d?t.value():t,g=p?e.value():e;return o||(o=new Yn),i(m,g,n,r,o)}}return!!f&&(o||(o=new Yn),oo(t,e,n,r,i,o))}(t,e,n,r,Rr,i))}function Or(t,e,n,r){var i=n.length,a=i,s=!r;if(null==t)return!a;for(t=At(t);i--;){var c=n[i];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i<a;){var u=(c=n[i])[0],l=t[u],h=c[1];if(s&&c[2]){if(l===o&&!(u in t))return!1}else{var f=new Yn;if(r)var d=r(l,h,u,t,e,f);if(!(d===o?Rr(h,l,3,r,f):d))return!1}}return!0}function kr(t){return!(!as(t)||function(t){return!!Dt&&Dt in t}(t))&&(rs(t)?Nt:_t).test(Wo(t))}function Br(t){return"function"==typeof t?t:null==t?uc:"object"==typeof t?Ja(t)?Gr(t[0],t[1]):Nr(t):yc(t)}function Dr(t){if(!To(t))return ve(t);var e=[];for(var n in At(t))kt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Fr(t){if(!as(t))return function(t){var e=[];if(null!=t)for(var n in At(t))e.push(n);return e}(t);var e=To(t),n=[];for(var r in t)("constructor"!=r||!e&&kt.call(t,r))&&n.push(r);return n}function Ur(t,e){return t<e}function jr(t,e){var r=-1,i=Ka(t)?n(t.length):[];return fr(t,(function(t,n,o){i[++r]=e(t,n,o)})),i}function Nr(t){var e=mo(t);return 1==e.length&&e[0][2]?Lo(e[0][0],e[0][1]):function(n){return n===t||Or(n,t,e)}}function Gr(t,e){return Ao(t)&&Io(e)?Lo(Ho(t),e):function(n){var r=Rs(n,t);return r===o&&r===e?Os(n,t):Rr(e,r,3)}}function zr(t,e,n,r,i){t!==e&&yr(e,(function(a,s){if(i||(i=new Yn),as(a))!function(t,e,n,r,i,a,s){var c=Bo(t,n),u=Bo(e,n),l=s.get(u);if(l)tr(t,n,l);else{var h=a?a(c,u,n+"",t,e,s):o,f=h===o;if(f){var d=Ja(u),p=!d&&ts(u),m=!d&&!p&&ms(u);h=u,d||p||m?Ja(c)?h=c:$a(c)?h=Li(c):p?(f=!1,h=Si(u,!0)):m?(f=!1,h=Ci(u,!0)):h=[]:ls(u)||Ya(u)?(h=c,Ya(c)?h=Ms(c):as(c)&&!rs(c)||(h=bo(u))):f=!1}f&&(s.set(u,h),i(h,u,r,a,s),s.delete(u)),tr(t,n,h)}}(t,e,s,n,zr,r,i);else{var c=r?r(Bo(t,s),a,s+"",t,e,i):o;c===o&&(c=a),tr(t,s,c)}}),Us)}function Hr(t,e){var n=t.length;if(n)return Mo(e+=e<0?n:0,n)?t[e]:o}function Wr(t,e,n){e=e.length?Be(e,(function(t){return Ja(t)?function(e){return Mr(e,1===t.length?t[0]:t)}:t})):[uc];var r=-1;return e=Be(e,tn(fo())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(jr(t,(function(t,n,i){return{criteria:Be(e,(function(e){return e(t)})),index:++r,value:t}})),(function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,a=i.length,s=n.length;++r<a;){var c=Ei(i[r],o[r]);if(c){if(r>=s)return c;var u=n[r];return c*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)}))}function Vr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],s=Mr(t,a);n(s,a)&&ti(o,xi(a,t),s)}return o}function Zr(t,e,n,r){var i=r?Ve:We,o=-1,a=e.length,s=t;for(t===e&&(e=Li(e)),n&&(s=Be(t,tn(n)));++o<a;)for(var c=0,u=e[o],l=n?n(u):u;(c=i(s,l,c,r))>-1;)s!==t&&Xt.call(s,c,1),Xt.call(t,c,1);return t}function Qr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;Mo(i)?Xt.call(t,i,1):fi(t,i)}}return t}function Xr(t,e){return t+oe(wn()*(e-t+1))}function Yr(t,e,r,i){for(var o=-1,a=_e(ie((e-t)/(r||1)),0),s=n(a);a--;)s[i?a:++o]=t,t+=r;return s}function Jr(t,e){var n="";if(!t||e<1||e>m)return n;do{e%2&&(n+=t),(e=oe(e/2))&&(t+=t)}while(e);return n}function qr(t,e){return Uo(Ro(t,e,uc),t+"")}function Kr(t){return qn(Zs(t))}function $r(t,e){var n=Zs(t);return Go(n,sr(e,0,n.length))}function ti(t,e,n,r){if(!as(t))return t;for(var i=-1,a=(e=xi(e,t)).length,s=a-1,c=t;null!=c&&++i<a;){var u=Ho(e[i]),l=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(i!=s){var h=c[u];(l=r?r(h,u,c):o)===o&&(l=as(h)?h:Mo(e[i+1])?[]:{})}er(c,u,l),c=c[u]}return t}var ei=Ln?function(t,e){return Ln.set(t,e),t}:uc,ni=Kt?function(t,e){return Kt(t,"toString",{configurable:!0,enumerable:!1,value:ac(e),writable:!0})}:uc;function ri(t){return Go(Zs(t))}function ii(t,e,r){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var a=n(o);++i<o;)a[i]=t[i+e];return a}function oi(t,e){var n;return fr(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}function ai(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!ps(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return si(t,e,uc,n)}function si(t,e,n,r){var i=0,a=null==t?0:t.length;if(0===a)return 0;for(var s=(e=n(e))!=e,c=null===e,u=ps(e),l=e===o;i<a;){var h=oe((i+a)/2),f=n(t[h]),d=f!==o,p=null===f,m=f==f,g=ps(f);if(s)var v=r||m;else v=l?m&&(r||d):c?m&&d&&(r||!p):u?m&&d&&!p&&(r||!g):!p&&!g&&(r?f<=e:f<e);v?i=h+1:a=h}return xe(a,4294967294)}function ci(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!Za(s,c)){var c=s;o[i++]=0===a?0:a}}return o}function ui(t){return"number"==typeof t?t:ps(t)?g:+t}function li(t){if("string"==typeof t)return t;if(Ja(t))return Be(t,li)+"";if(ps(t))return jn?jn.call(t):"";var e=t+"";return"0"==e&&1/t==-p?"-0":e}function hi(t,e,n){var r=-1,i=Oe,o=t.length,a=!0,s=[],c=s;if(n)a=!1,i=ke;else if(o>=200){var u=e?null:Ki(t);if(u)return mn(u);a=!1,i=nn,c=new Xn}else c=e?[]:s;t:for(;++r<o;){var l=t[r],h=e?e(l):l;if(l=n||0!==l?l:0,a&&h==h){for(var f=c.length;f--;)if(c[f]===h)continue t;e&&c.push(h),s.push(l)}else i(c,h,n)||(c!==s&&c.push(h),s.push(l))}return s}function fi(t,e){return null==(t=Oo(t,e=xi(e,t)))||delete t[Ho(na(e))]}function di(t,e,n,r){return ti(t,e,n(Mr(t,e)),r)}function pi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?ii(t,r?0:o,r?o+1:i):ii(t,r?o+1:0,r?i:o)}function mi(t,e){var n=t;return n instanceof Wn&&(n=n.value()),Fe(e,(function(t,e){return e.func.apply(e.thisArg,De([t],e.args))}),n)}function gi(t,e,r){var i=t.length;if(i<2)return i?hi(t[0]):[];for(var o=-1,a=n(i);++o<i;)for(var s=t[o],c=-1;++c<i;)c!=o&&(a[o]=hr(a[o]||s,t[c],e,r));return hi(vr(a,1),e,r)}function vi(t,e,n){for(var r=-1,i=t.length,a=e.length,s={};++r<i;){var c=r<a?e[r]:o;n(s,t[r],c)}return s}function yi(t){return $a(t)?t:[]}function _i(t){return"function"==typeof t?t:uc}function xi(t,e){return Ja(t)?t:Ao(t,e)?[t]:zo(Ss(t))}var bi=qr;function wi(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:ii(t,e,n)}var Mi=$t||function(t){return me.clearTimeout(t)};function Si(t,e){if(e)return t.slice();var n=t.length,r=Wt?Wt(n):new t.constructor(n);return t.copy(r),r}function Ai(t){var e=new t.constructor(t.byteLength);return new Ht(e).set(new Ht(t)),e}function Ci(t,e){var n=e?Ai(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ei(t,e){if(t!==e){var n=t!==o,r=null===t,i=t==t,a=ps(t),s=e!==o,c=null===e,u=e==e,l=ps(e);if(!c&&!l&&!a&&t>e||a&&s&&u&&!c&&!l||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!l&&t<e||l&&n&&i&&!r&&!a||c&&n&&i||!s&&i||!u)return-1}return 0}function Ti(t,e,r,i){for(var o=-1,a=t.length,s=r.length,c=-1,u=e.length,l=_e(a-s,0),h=n(u+l),f=!i;++c<u;)h[c]=e[c];for(;++o<s;)(f||o<a)&&(h[r[o]]=t[o]);for(;l--;)h[c++]=t[o++];return h}function Ii(t,e,r,i){for(var o=-1,a=t.length,s=-1,c=r.length,u=-1,l=e.length,h=_e(a-c,0),f=n(h+l),d=!i;++o<h;)f[o]=t[o];for(var p=o;++u<l;)f[p+u]=e[u];for(;++s<c;)(d||o<a)&&(f[p+r[s]]=t[o++]);return f}function Li(t,e){var r=-1,i=t.length;for(e||(e=n(i));++r<i;)e[r]=t[r];return e}function Pi(t,e,n,r){var i=!n;n||(n={});for(var a=-1,s=e.length;++a<s;){var c=e[a],u=r?r(n[c],t[c],c,n,t):o;u===o&&(u=t[c]),i?or(n,c,u):er(n,c,u)}return n}function Ri(t,e){return function(n,r){var i=Ja(n)?Te:rr,o=e?e():{};return i(n,t,fo(r,2),o)}}function Oi(t){return qr((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=t.length>3&&"function"==typeof a?(i--,a):o,s&&So(n[0],n[1],s)&&(a=i<3?o:a,i=1),e=At(e);++r<i;){var c=n[r];c&&t(e,c,r,a)}return e}))}function ki(t,e){return function(n,r){if(null==n)return n;if(!Ka(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=At(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Bi(t){return function(e,n,r){for(var i=-1,o=At(e),a=r(e),s=a.length;s--;){var c=a[t?s:++i];if(!1===n(o[c],c,o))break}return e}}function Di(t){return function(e){var n=ln(e=Ss(e))?vn(e):o,r=n?n[0]:e.charAt(0),i=n?wi(n,1).join(""):e.slice(1);return r[t]()+i}}function Fi(t){return function(e){return Fe(rc(Ys(e).replace(te,"")),t,"")}}function Ui(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Gn(t.prototype),r=t.apply(n,e);return as(r)?r:n}}function ji(t,e,r){var i=Ui(t);return function a(){for(var s=arguments.length,c=n(s),u=s,l=ho(a);u--;)c[u]=arguments[u];var h=s<3&&c[0]!==l&&c[s-1]!==l?[]:pn(c,l);if((s-=h.length)<r)return Ji(t,e,zi,a.placeholder,o,c,h,o,o,r-s);var f=this&&this!==me&&this instanceof a?i:t;return Ee(f,this,c)}}function Ni(t){return function(e,n,r){var i=At(e);if(!Ka(e)){var a=fo(n,3);e=Fs(e),n=function(t){return a(i[t],t,i)}}var s=t(e,n,r);return s>-1?i[a?e[s]:s]:o}}function Gi(t){return ao((function(e){var n=e.length,r=n,i=Hn.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new Tt(a);if(i&&!c&&"wrapper"==lo(s))var c=new Hn([],!0)}for(r=c?r:n;++r<n;){var u=lo(s=e[r]),l="wrapper"==u?uo(s):o;c=l&&Co(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?c[lo(l[0])].apply(c,l[3]):1==s.length&&Co(s)?c[u]():c.thru(s)}return function(){var t=arguments,r=t[0];if(c&&1==t.length&&Ja(r))return c.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}}))}function zi(t,e,r,i,a,s,c,u,l,h){var d=e&f,p=1&e,m=2&e,g=24&e,v=512&e,y=m?o:Ui(t);return function o(){for(var f=arguments.length,_=n(f),x=f;x--;)_[x]=arguments[x];if(g)var b=ho(o),w=an(_,b);if(i&&(_=Ti(_,i,a,g)),s&&(_=Ii(_,s,c,g)),f-=w,g&&f<h){var M=pn(_,b);return Ji(t,e,zi,o.placeholder,r,_,M,u,l,h-f)}var S=p?r:this,A=m?S[t]:t;return f=_.length,u?_=ko(_,u):v&&f>1&&_.reverse(),d&&l<f&&(_.length=l),this&&this!==me&&this instanceof o&&(A=y||Ui(A)),A.apply(S,_)}}function Hi(t,e){return function(n,r){return function(t,e,n,r){return xr(t,(function(t,i,o){e(r,n(t),i,o)})),r}(n,t,e(r),{})}}function Wi(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=li(n),r=li(r)):(n=ui(n),r=ui(r)),i=t(n,r)}return i}}function Vi(t){return ao((function(e){return e=Be(e,tn(fo())),qr((function(n){var r=this;return t(e,(function(t){return Ee(t,r,n)}))}))}))}function Zi(t,e){var n=(e=e===o?" ":li(e)).length;if(n<2)return n?Jr(e,t):e;var r=Jr(e,ie(t/gn(e)));return ln(e)?wi(vn(r),0,t).join(""):r.slice(0,t)}function Qi(t,e,r,i){var o=1&e,a=Ui(t);return function e(){for(var s=-1,c=arguments.length,u=-1,l=i.length,h=n(l+c),f=this&&this!==me&&this instanceof e?a:t;++u<l;)h[u]=i[u];for(;c--;)h[u++]=arguments[++s];return Ee(f,o?r:this,h)}}function Xi(t){return function(e,n,r){return r&&"number"!=typeof r&&So(e,n,r)&&(n=r=o),e=_s(e),n===o?(n=e,e=0):n=_s(n),Yr(e,n,r=r===o?e<n?1:-1:_s(r),t)}}function Yi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=ws(e),n=ws(n)),t(e,n)}}function Ji(t,e,n,r,i,a,s,c,u,f){var d=8&e;e|=d?l:h,4&(e&=~(d?h:l))||(e&=-4);var p=[t,e,i,d?a:o,d?s:o,d?o:a,d?o:s,c,u,f],m=n.apply(o,p);return Co(t)&&Do(m,p),m.placeholder=r,jo(m,t,e)}function qi(t){var e=ft[t];return function(t,n){if(t=ws(t),(n=null==n?0:xe(xs(n),292))&&pe(t)){var r=(Ss(t)+"e").split("e");return+((r=(Ss(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Ki=En&&1/mn(new En([,-0]))[1]==p?function(t){return new En(t)}:pc;function $i(t){return function(e){var n=_o(e);return n==C?fn(e):n==P?function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}(e):function(t,e){return Be(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function to(t,e,n,r,i,s,c,f){var d=2&e;if(!d&&"function"!=typeof t)throw new Tt(a);var p=r?r.length:0;if(p||(e&=-97,r=i=o),c=c===o?c:_e(xs(c),0),f=f===o?f:xs(f),p-=i?i.length:0,e&h){var m=r,g=i;r=i=o}var v=d?o:uo(t),y=[t,e,n,r,i,m,g,s,c,f];if(v&&Po(y,v),t=y[0],e=y[1],n=y[2],r=y[3],i=y[4],!(f=y[9]=y[9]===o?d?0:t.length:_e(y[9]-p,0))&&24&e&&(e&=-25),e&&1!=e)_=8==e||e==u?ji(t,e,f):e!=l&&33!=e||i.length?zi.apply(o,y):Qi(t,e,n,r);else var _=function(t,e,n){var r=1&e,i=Ui(t);return function e(){var o=this&&this!==me&&this instanceof e?i:t;return o.apply(r?n:this,arguments)}}(t,e,n);return jo((v?ei:Do)(_,y),t,e)}function eo(t,e,n,r){return t===o||Za(t,Pt[n])&&!kt.call(r,n)?e:t}function no(t,e,n,r,i,a){return as(t)&&as(e)&&(a.set(e,t),zr(t,e,o,no,a),a.delete(e)),t}function ro(t){return ls(t)?o:t}function io(t,e,n,r,i,a){var s=1&n,c=t.length,u=e.length;if(c!=u&&!(s&&u>c))return!1;var l=a.get(t),h=a.get(e);if(l&&h)return l==e&&h==t;var f=-1,d=!0,p=2&n?new Xn:o;for(a.set(t,e),a.set(e,t);++f<c;){var m=t[f],g=e[f];if(r)var v=s?r(g,m,f,e,t,a):r(m,g,f,t,e,a);if(v!==o){if(v)continue;d=!1;break}if(p){if(!je(e,(function(t,e){if(!nn(p,e)&&(m===t||i(m,t,n,r,a)))return p.push(e)}))){d=!1;break}}else if(m!==g&&!i(m,g,n,r,a)){d=!1;break}}return a.delete(t),a.delete(e),d}function oo(t,e,n,r,i,a){var s=1&n,c=so(t),u=c.length;if(u!=so(e).length&&!s)return!1;for(var l=u;l--;){var h=c[l];if(!(s?h in e:kt.call(e,h)))return!1}var f=a.get(t),d=a.get(e);if(f&&d)return f==e&&d==t;var p=!0;a.set(t,e),a.set(e,t);for(var m=s;++l<u;){var g=t[h=c[l]],v=e[h];if(r)var y=s?r(v,g,h,e,t,a):r(g,v,h,t,e,a);if(!(y===o?g===v||i(g,v,n,r,a):y)){p=!1;break}m||(m="constructor"==h)}if(p&&!m){var _=t.constructor,x=e.constructor;_==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x||(p=!1)}return a.delete(t),a.delete(e),p}function ao(t){return Uo(Ro(t,o,qo),t+"")}function so(t){return Sr(t,Fs,vo)}function co(t){return Sr(t,Us,yo)}var uo=Ln?function(t){return Ln.get(t)}:pc;function lo(t){for(var e=t.name+"",n=Pn[e],r=kt.call(Pn,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function ho(t){return(kt.call(Nn,"placeholder")?Nn:t).placeholder}function fo(){var t=Nn.iteratee||lc;return t=t===lc?Br:t,arguments.length?t(arguments[0],arguments[1]):t}function po(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function mo(t){for(var e=Fs(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Io(i)]}return e}function go(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return kr(n)?n:o}var vo=le?function(t){return null==t?[]:(t=At(t),Re(le(t),(function(e){return Qt.call(t,e)})))}:bc,yo=le?function(t){for(var e=[];t;)De(e,vo(t)),t=Vt(t);return e}:bc,_o=Ar;function xo(t,e,n){for(var r=-1,i=(e=xi(e,t)).length,o=!1;++r<i;){var a=Ho(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&os(i)&&Mo(a,i)&&(Ja(t)||Ya(t))}function bo(t){return"function"!=typeof t.constructor||To(t)?{}:Gn(Vt(t))}function wo(t){return Ja(t)||Ya(t)||!!(Yt&&t&&t[Yt])}function Mo(t,e){var n=typeof t;return!!(e=null==e?m:e)&&("number"==n||"symbol"!=n&&bt.test(t))&&t>-1&&t%1==0&&t<e}function So(t,e,n){if(!as(n))return!1;var r=typeof e;return!!("number"==r?Ka(n)&&Mo(e,n.length):"string"==r&&e in n)&&Za(n[e],t)}function Ao(t,e){if(Ja(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ps(t))||rt.test(t)||!nt.test(t)||null!=e&&t in At(e)}function Co(t){var e=lo(t),n=Nn[e];if("function"!=typeof n||!(e in Wn.prototype))return!1;if(t===n)return!0;var r=uo(n);return!!r&&t===r[0]}(Sn&&_o(new Sn(new ArrayBuffer(1)))!=D||An&&_o(new An)!=C||Cn&&_o(Cn.resolve())!=I||En&&_o(new En)!=P||Tn&&_o(new Tn)!=k)&&(_o=function(t){var e=Ar(t),n=e==T?t.constructor:o,r=n?Wo(n):"";if(r)switch(r){case Rn:return D;case On:return C;case kn:return I;case Bn:return P;case Dn:return k}return e});var Eo=Rt?rs:wc;function To(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Pt)}function Io(t){return t==t&&!as(t)}function Lo(t,e){return function(n){return null!=n&&n[t]===e&&(e!==o||t in At(n))}}function Po(t,e){var n=t[1],r=e[1],i=n|r,o=i<131,a=r==f&&8==n||r==f&&n==d&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!o&&!a)return t;1&r&&(t[2]=e[2],i|=1&n?0:4);var s=e[3];if(s){var u=t[3];t[3]=u?Ti(u,s,e[4]):s,t[4]=u?pn(t[3],c):e[4]}return(s=e[5])&&(u=t[5],t[5]=u?Ii(u,s,e[6]):s,t[6]=u?pn(t[5],c):e[6]),(s=e[7])&&(t[7]=s),r&f&&(t[8]=null==t[8]?e[8]:xe(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function Ro(t,e,r){return e=_e(e===o?t.length-1:e,0),function(){for(var i=arguments,o=-1,a=_e(i.length-e,0),s=n(a);++o<a;)s[o]=i[e+o];o=-1;for(var c=n(e+1);++o<e;)c[o]=i[o];return c[e]=r(s),Ee(t,this,c)}}function Oo(t,e){return e.length<2?t:Mr(t,ii(e,0,-1))}function ko(t,e){for(var n=t.length,r=xe(e.length,n),i=Li(t);r--;){var a=e[r];t[r]=Mo(a,n)?i[a]:o}return t}function Bo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Do=No(ei),Fo=re||function(t,e){return me.setTimeout(t,e)},Uo=No(ni);function jo(t,e,n){var r=e+"";return Uo(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(ut,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Ie(y,(function(n){var r="_."+n[0];e&n[1]&&!Oe(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(lt);return e?e[1].split(ht):[]}(r),n)))}function No(t){var e=0,n=0;return function(){var r=Ne(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(o,arguments)}}function Go(t,e){var n=-1,r=t.length,i=r-1;for(e=e===o?r:e;++n<e;){var a=Xr(n,i),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}var zo=function(t){var e=Na(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(it,(function(t,n,r,i){e.push(r?i.replace(pt,"$1"):n||t)})),e}));function Ho(t){if("string"==typeof t||ps(t))return t;var e=t+"";return"0"==e&&1/t==-p?"-0":e}function Wo(t){if(null!=t){try{return Ot.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Vo(t){if(t instanceof Wn)return t.clone();var e=new Hn(t.__wrapped__,t.__chain__);return e.__actions__=Li(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Zo=qr((function(t,e){return $a(t)?hr(t,vr(e,1,$a,!0)):[]})),Qo=qr((function(t,e){var n=na(e);return $a(n)&&(n=o),$a(t)?hr(t,vr(e,1,$a,!0),fo(n,2)):[]})),Xo=qr((function(t,e){var n=na(e);return $a(n)&&(n=o),$a(t)?hr(t,vr(e,1,$a,!0),o,n):[]}));function Yo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:xs(n);return i<0&&(i=_e(r+i,0)),He(t,fo(e,3),i)}function Jo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=xs(n),i=n<0?_e(r+i,0):xe(i,r-1)),He(t,fo(e,3),i,!0)}function qo(t){return null!=t&&t.length?vr(t,1):[]}function Ko(t){return t&&t.length?t[0]:o}var $o=qr((function(t){var e=Be(t,yi);return e.length&&e[0]===t[0]?Ir(e):[]})),ta=qr((function(t){var e=na(t),n=Be(t,yi);return e===na(n)?e=o:n.pop(),n.length&&n[0]===t[0]?Ir(n,fo(e,2)):[]})),ea=qr((function(t){var e=na(t),n=Be(t,yi);return(e="function"==typeof e?e:o)&&n.pop(),n.length&&n[0]===t[0]?Ir(n,o,e):[]}));function na(t){var e=null==t?0:t.length;return e?t[e-1]:o}var ra=qr(ia);function ia(t,e){return t&&t.length&&e&&e.length?Zr(t,e):t}var oa=ao((function(t,e){var n=null==t?0:t.length,r=ar(t,e);return Qr(t,Be(e,(function(t){return Mo(t,n)?+t:t})).sort(Ei)),r}));function aa(t){return null==t?t:Mn.call(t)}var sa=qr((function(t){return hi(vr(t,1,$a,!0))})),ca=qr((function(t){var e=na(t);return $a(e)&&(e=o),hi(vr(t,1,$a,!0),fo(e,2))})),ua=qr((function(t){var e=na(t);return e="function"==typeof e?e:o,hi(vr(t,1,$a,!0),o,e)}));function la(t){if(!t||!t.length)return[];var e=0;return t=Re(t,(function(t){if($a(t))return e=_e(t.length,e),!0})),Ke(e,(function(e){return Be(t,Xe(e))}))}function ha(t,e){if(!t||!t.length)return[];var n=la(t);return null==e?n:Be(n,(function(t){return Ee(e,o,t)}))}var fa=qr((function(t,e){return $a(t)?hr(t,e):[]})),da=qr((function(t){return gi(Re(t,$a))})),pa=qr((function(t){var e=na(t);return $a(e)&&(e=o),gi(Re(t,$a),fo(e,2))})),ma=qr((function(t){var e=na(t);return e="function"==typeof e?e:o,gi(Re(t,$a),o,e)})),ga=qr(la),va=qr((function(t){var e=t.length,n=e>1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,ha(t,n)}));function ya(t){var e=Nn(t);return e.__chain__=!0,e}function _a(t,e){return e(t)}var xa=ao((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return ar(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Wn&&Mo(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:_a,args:[i],thisArg:o}),new Hn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(o),t}))):this.thru(i)})),ba=Ri((function(t,e,n){kt.call(t,n)?++t[n]:or(t,n,1)})),wa=Ni(Yo),Ma=Ni(Jo);function Sa(t,e){return(Ja(t)?Ie:fr)(t,fo(e,3))}function Aa(t,e){return(Ja(t)?Le:dr)(t,fo(e,3))}var Ca=Ri((function(t,e,n){kt.call(t,n)?t[n].push(e):or(t,n,[e])})),Ea=qr((function(t,e,r){var i=-1,o="function"==typeof e,a=Ka(t)?n(t.length):[];return fr(t,(function(t){a[++i]=o?Ee(e,t,r):Lr(t,e,r)})),a})),Ta=Ri((function(t,e,n){or(t,n,e)}));function Ia(t,e){return(Ja(t)?Be:jr)(t,fo(e,3))}var La=Ri((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),Pa=qr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&So(t,e[0],e[1])?e=[]:n>2&&So(e[0],e[1],e[2])&&(e=[e[0]]),Wr(t,vr(e,1),[])})),Ra=ne||function(){return me.Date.now()};function Oa(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,to(t,f,o,o,o,o,e)}function ka(t,e){var n;if("function"!=typeof e)throw new Tt(a);return t=xs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var Ba=qr((function(t,e,n){var r=1;if(n.length){var i=pn(n,ho(Ba));r|=l}return to(t,r,e,n,i)})),Da=qr((function(t,e,n){var r=3;if(n.length){var i=pn(n,ho(Da));r|=l}return to(e,r,t,n,i)}));function Fa(t,e,n){var r,i,s,c,u,l,h=0,f=!1,d=!1,p=!0;if("function"!=typeof t)throw new Tt(a);function m(e){var n=r,a=i;return r=i=o,h=e,c=t.apply(a,n)}function g(t){return h=t,u=Fo(y,e),f?m(t):c}function v(t){var n=t-l;return l===o||n>=e||n<0||d&&t-h>=s}function y(){var t=Ra();if(v(t))return _(t);u=Fo(y,function(t){var n=e-(t-l);return d?xe(n,s-(t-h)):n}(t))}function _(t){return u=o,p&&r?m(t):(r=i=o,c)}function x(){var t=Ra(),n=v(t);if(r=arguments,i=this,l=t,n){if(u===o)return g(l);if(d)return Mi(u),u=Fo(y,e),m(l)}return u===o&&(u=Fo(y,e)),c}return e=ws(e)||0,as(n)&&(f=!!n.leading,s=(d="maxWait"in n)?_e(ws(n.maxWait)||0,e):s,p="trailing"in n?!!n.trailing:p),x.cancel=function(){u!==o&&Mi(u),h=0,r=l=i=u=o},x.flush=function(){return u===o?c:_(Ra())},x}var Ua=qr((function(t,e){return lr(t,1,e)})),ja=qr((function(t,e,n){return lr(t,ws(e)||0,n)}));function Na(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Tt(a);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Na.Cache||Qn),n}function Ga(t){if("function"!=typeof t)throw new Tt(a);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Na.Cache=Qn;var za=bi((function(t,e){var n=(e=1==e.length&&Ja(e[0])?Be(e[0],tn(fo())):Be(vr(e,1),tn(fo()))).length;return qr((function(r){for(var i=-1,o=xe(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return Ee(t,this,r)}))})),Ha=qr((function(t,e){var n=pn(e,ho(Ha));return to(t,l,o,e,n)})),Wa=qr((function(t,e){var n=pn(e,ho(Wa));return to(t,h,o,e,n)})),Va=ao((function(t,e){return to(t,d,o,o,o,e)}));function Za(t,e){return t===e||t!=t&&e!=e}var Qa=Yi(Cr),Xa=Yi((function(t,e){return t>=e})),Ya=Pr(function(){return arguments}())?Pr:function(t){return ss(t)&&kt.call(t,"callee")&&!Qt.call(t,"callee")},Ja=n.isArray,qa=be?tn(be):function(t){return ss(t)&&Ar(t)==B};function Ka(t){return null!=t&&os(t.length)&&!rs(t)}function $a(t){return ss(t)&&Ka(t)}var ts=de||wc,es=we?tn(we):function(t){return ss(t)&&Ar(t)==w};function ns(t){if(!ss(t))return!1;var e=Ar(t);return e==M||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ls(t)}function rs(t){if(!as(t))return!1;var e=Ar(t);return e==S||e==A||"[object AsyncFunction]"==e||"[object Proxy]"==e}function is(t){return"number"==typeof t&&t==xs(t)}function os(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=m}function as(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ss(t){return null!=t&&"object"==typeof t}var cs=Me?tn(Me):function(t){return ss(t)&&_o(t)==C};function us(t){return"number"==typeof t||ss(t)&&Ar(t)==E}function ls(t){if(!ss(t)||Ar(t)!=T)return!1;var e=Vt(t);if(null===e)return!0;var n=kt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Ot.call(n)==Ut}var hs=Se?tn(Se):function(t){return ss(t)&&Ar(t)==L},fs=Ae?tn(Ae):function(t){return ss(t)&&_o(t)==P};function ds(t){return"string"==typeof t||!Ja(t)&&ss(t)&&Ar(t)==R}function ps(t){return"symbol"==typeof t||ss(t)&&Ar(t)==O}var ms=Ce?tn(Ce):function(t){return ss(t)&&os(t.length)&&!!ce[Ar(t)]},gs=Yi(Ur),vs=Yi((function(t,e){return t<=e}));function ys(t){if(!t)return[];if(Ka(t))return ds(t)?vn(t):Li(t);if(Jt&&t[Jt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Jt]());var e=_o(t);return(e==C?fn:e==P?mn:Zs)(t)}function _s(t){return t?(t=ws(t))===p||t===-p?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function xs(t){var e=_s(t),n=e%1;return e==e?n?e-n:e:0}function bs(t){return t?sr(xs(t),0,v):0}function ws(t){if("number"==typeof t)return t;if(ps(t))return g;if(as(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=as(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=$e(t);var n=yt.test(t);return n||xt.test(t)?fe(t.slice(2),n?2:8):vt.test(t)?g:+t}function Ms(t){return Pi(t,Us(t))}function Ss(t){return null==t?"":li(t)}var As=Oi((function(t,e){if(To(e)||Ka(e))Pi(e,Fs(e),t);else for(var n in e)kt.call(e,n)&&er(t,n,e[n])})),Cs=Oi((function(t,e){Pi(e,Us(e),t)})),Es=Oi((function(t,e,n,r){Pi(e,Us(e),t,r)})),Ts=Oi((function(t,e,n,r){Pi(e,Fs(e),t,r)})),Is=ao(ar),Ls=qr((function(t,e){t=At(t);var n=-1,r=e.length,i=r>2?e[2]:o;for(i&&So(e[0],e[1],i)&&(r=1);++n<r;)for(var a=e[n],s=Us(a),c=-1,u=s.length;++c<u;){var l=s[c],h=t[l];(h===o||Za(h,Pt[l])&&!kt.call(t,l))&&(t[l]=a[l])}return t})),Ps=qr((function(t){return t.push(o,no),Ee(Ns,o,t)}));function Rs(t,e,n){var r=null==t?o:Mr(t,e);return r===o?n:r}function Os(t,e){return null!=t&&xo(t,e,Tr)}var ks=Hi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Ft.call(e)),t[e]=n}),ac(uc)),Bs=Hi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Ft.call(e)),kt.call(t,e)?t[e].push(n):t[e]=[n]}),fo),Ds=qr(Lr);function Fs(t){return Ka(t)?Jn(t):Dr(t)}function Us(t){return Ka(t)?Jn(t,!0):Fr(t)}var js=Oi((function(t,e,n){zr(t,e,n)})),Ns=Oi((function(t,e,n,r){zr(t,e,n,r)})),Gs=ao((function(t,e){var n={};if(null==t)return n;var r=!1;e=Be(e,(function(e){return e=xi(e,t),r||(r=e.length>1),e})),Pi(t,co(t),n),r&&(n=cr(n,7,ro));for(var i=e.length;i--;)fi(n,e[i]);return n})),zs=ao((function(t,e){return null==t?{}:function(t,e){return Vr(t,e,(function(e,n){return Os(t,n)}))}(t,e)}));function Hs(t,e){if(null==t)return{};var n=Be(co(t),(function(t){return[t]}));return e=fo(e),Vr(t,n,(function(t,n){return e(t,n[0])}))}var Ws=$i(Fs),Vs=$i(Us);function Zs(t){return null==t?[]:en(t,Fs(t))}var Qs=Fi((function(t,e,n){return e=e.toLowerCase(),t+(n?Xs(e):e)}));function Xs(t){return nc(Ss(t).toLowerCase())}function Ys(t){return(t=Ss(t))&&t.replace(wt,sn).replace(ee,"")}var Js=Fi((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),qs=Fi((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ks=Di("toLowerCase"),$s=Fi((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),tc=Fi((function(t,e,n){return t+(n?" ":"")+nc(e)})),ec=Fi((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),nc=Di("toUpperCase");function rc(t,e,n){return t=Ss(t),(e=n?o:e)===o?hn(t)?xn(t):Ge(t):t.match(e)||[]}var ic=qr((function(t,e){try{return Ee(t,o,e)}catch(t){return ns(t)?t:new i(t)}})),oc=ao((function(t,e){return Ie(e,(function(e){e=Ho(e),or(t,e,Ba(t[e],t))})),t}));function ac(t){return function(){return t}}var sc=Gi(),cc=Gi(!0);function uc(t){return t}function lc(t){return Br("function"==typeof t?t:cr(t,1))}var hc=qr((function(t,e){return function(n){return Lr(n,t,e)}})),fc=qr((function(t,e){return function(n){return Lr(t,n,e)}}));function dc(t,e,n){var r=Fs(e),i=wr(e,r);null!=n||as(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=wr(e,Fs(e)));var o=!(as(n)&&"chain"in n&&!n.chain),a=rs(t);return Ie(i,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=Li(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,De([this.value()],arguments))})})),t}function pc(){}var mc=Vi(Be),gc=Vi(Pe),vc=Vi(je);function yc(t){return Ao(t)?Xe(Ho(t)):function(t){return function(e){return Mr(e,t)}}(t)}var _c=Xi(),xc=Xi(!0);function bc(){return[]}function wc(){return!1}var Mc=Wi((function(t,e){return t+e}),0),Sc=qi("ceil"),Ac=Wi((function(t,e){return t/e}),1),Cc=qi("floor"),Ec=Wi((function(t,e){return t*e}),1),Tc=qi("round"),Ic=Wi((function(t,e){return t-e}),0);return Nn.after=function(t,e){if("function"!=typeof e)throw new Tt(a);return t=xs(t),function(){if(--t<1)return e.apply(this,arguments)}},Nn.ary=Oa,Nn.assign=As,Nn.assignIn=Cs,Nn.assignInWith=Es,Nn.assignWith=Ts,Nn.at=Is,Nn.before=ka,Nn.bind=Ba,Nn.bindAll=oc,Nn.bindKey=Da,Nn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ja(t)?t:[t]},Nn.chain=ya,Nn.chunk=function(t,e,r){e=(r?So(t,e,r):e===o)?1:_e(xs(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var a=0,s=0,c=n(ie(i/e));a<i;)c[s++]=ii(t,a,a+=e);return c},Nn.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},Nn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=n(t-1),r=arguments[0],i=t;i--;)e[i-1]=arguments[i];return De(Ja(r)?Li(r):[r],vr(e,1))},Nn.cond=function(t){var e=null==t?0:t.length,n=fo();return t=e?Be(t,(function(t){if("function"!=typeof t[1])throw new Tt(a);return[n(t[0]),t[1]]})):[],qr((function(n){for(var r=-1;++r<e;){var i=t[r];if(Ee(i[0],this,n))return Ee(i[1],this,n)}}))},Nn.conforms=function(t){return function(t){var e=Fs(t);return function(n){return ur(n,t,e)}}(cr(t,1))},Nn.constant=ac,Nn.countBy=ba,Nn.create=function(t,e){var n=Gn(t);return null==e?n:ir(n,e)},Nn.curry=function t(e,n,r){var i=to(e,8,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},Nn.curryRight=function t(e,n,r){var i=to(e,u,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},Nn.debounce=Fa,Nn.defaults=Ls,Nn.defaultsDeep=Ps,Nn.defer=Ua,Nn.delay=ja,Nn.difference=Zo,Nn.differenceBy=Qo,Nn.differenceWith=Xo,Nn.drop=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,(e=n||e===o?1:xs(e))<0?0:e,r):[]},Nn.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,0,(e=r-(e=n||e===o?1:xs(e)))<0?0:e):[]},Nn.dropRightWhile=function(t,e){return t&&t.length?pi(t,fo(e,3),!0,!0):[]},Nn.dropWhile=function(t,e){return t&&t.length?pi(t,fo(e,3),!0):[]},Nn.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&So(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=xs(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:xs(r))<0&&(r+=i),r=n>r?0:bs(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},Nn.filter=function(t,e){return(Ja(t)?Re:gr)(t,fo(e,3))},Nn.flatMap=function(t,e){return vr(Ia(t,e),1)},Nn.flatMapDeep=function(t,e){return vr(Ia(t,e),p)},Nn.flatMapDepth=function(t,e,n){return n=n===o?1:xs(n),vr(Ia(t,e),n)},Nn.flatten=qo,Nn.flattenDeep=function(t){return null!=t&&t.length?vr(t,p):[]},Nn.flattenDepth=function(t,e){return null!=t&&t.length?vr(t,e=e===o?1:xs(e)):[]},Nn.flip=function(t){return to(t,512)},Nn.flow=sc,Nn.flowRight=cc,Nn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},Nn.functions=function(t){return null==t?[]:wr(t,Fs(t))},Nn.functionsIn=function(t){return null==t?[]:wr(t,Us(t))},Nn.groupBy=Ca,Nn.initial=function(t){return null!=t&&t.length?ii(t,0,-1):[]},Nn.intersection=$o,Nn.intersectionBy=ta,Nn.intersectionWith=ea,Nn.invert=ks,Nn.invertBy=Bs,Nn.invokeMap=Ea,Nn.iteratee=lc,Nn.keyBy=Ta,Nn.keys=Fs,Nn.keysIn=Us,Nn.map=Ia,Nn.mapKeys=function(t,e){var n={};return e=fo(e,3),xr(t,(function(t,r,i){or(n,e(t,r,i),t)})),n},Nn.mapValues=function(t,e){var n={};return e=fo(e,3),xr(t,(function(t,r,i){or(n,r,e(t,r,i))})),n},Nn.matches=function(t){return Nr(cr(t,1))},Nn.matchesProperty=function(t,e){return Gr(t,cr(e,1))},Nn.memoize=Na,Nn.merge=js,Nn.mergeWith=Ns,Nn.method=hc,Nn.methodOf=fc,Nn.mixin=dc,Nn.negate=Ga,Nn.nthArg=function(t){return t=xs(t),qr((function(e){return Hr(e,t)}))},Nn.omit=Gs,Nn.omitBy=function(t,e){return Hs(t,Ga(fo(e)))},Nn.once=function(t){return ka(2,t)},Nn.orderBy=function(t,e,n,r){return null==t?[]:(Ja(e)||(e=null==e?[]:[e]),Ja(n=r?o:n)||(n=null==n?[]:[n]),Wr(t,e,n))},Nn.over=mc,Nn.overArgs=za,Nn.overEvery=gc,Nn.overSome=vc,Nn.partial=Ha,Nn.partialRight=Wa,Nn.partition=La,Nn.pick=zs,Nn.pickBy=Hs,Nn.property=yc,Nn.propertyOf=function(t){return function(e){return null==t?o:Mr(t,e)}},Nn.pull=ra,Nn.pullAll=ia,Nn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Zr(t,e,fo(n,2)):t},Nn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Zr(t,e,o,n):t},Nn.pullAt=oa,Nn.range=_c,Nn.rangeRight=xc,Nn.rearg=Va,Nn.reject=function(t,e){return(Ja(t)?Re:gr)(t,Ga(fo(e,3)))},Nn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=fo(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return Qr(t,i),n},Nn.rest=function(t,e){if("function"!=typeof t)throw new Tt(a);return qr(t,e=e===o?e:xs(e))},Nn.reverse=aa,Nn.sampleSize=function(t,e,n){return e=(n?So(t,e,n):e===o)?1:xs(e),(Ja(t)?Kn:$r)(t,e)},Nn.set=function(t,e,n){return null==t?t:ti(t,e,n)},Nn.setWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:ti(t,e,n,r)},Nn.shuffle=function(t){return(Ja(t)?$n:ri)(t)},Nn.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&So(t,e,n)?(e=0,n=r):(e=null==e?0:xs(e),n=n===o?r:xs(n)),ii(t,e,n)):[]},Nn.sortBy=Pa,Nn.sortedUniq=function(t){return t&&t.length?ci(t):[]},Nn.sortedUniqBy=function(t,e){return t&&t.length?ci(t,fo(e,2)):[]},Nn.split=function(t,e,n){return n&&"number"!=typeof n&&So(t,e,n)&&(e=n=o),(n=n===o?v:n>>>0)?(t=Ss(t))&&("string"==typeof e||null!=e&&!hs(e))&&!(e=li(e))&&ln(t)?wi(vn(t),0,n):t.split(e,n):[]},Nn.spread=function(t,e){if("function"!=typeof t)throw new Tt(a);return e=null==e?0:_e(xs(e),0),qr((function(n){var r=n[e],i=wi(n,0,e);return r&&De(i,r),Ee(t,this,i)}))},Nn.tail=function(t){var e=null==t?0:t.length;return e?ii(t,1,e):[]},Nn.take=function(t,e,n){return t&&t.length?ii(t,0,(e=n||e===o?1:xs(e))<0?0:e):[]},Nn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,(e=r-(e=n||e===o?1:xs(e)))<0?0:e,r):[]},Nn.takeRightWhile=function(t,e){return t&&t.length?pi(t,fo(e,3),!1,!0):[]},Nn.takeWhile=function(t,e){return t&&t.length?pi(t,fo(e,3)):[]},Nn.tap=function(t,e){return e(t),t},Nn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Tt(a);return as(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Fa(t,e,{leading:r,maxWait:e,trailing:i})},Nn.thru=_a,Nn.toArray=ys,Nn.toPairs=Ws,Nn.toPairsIn=Vs,Nn.toPath=function(t){return Ja(t)?Be(t,Ho):ps(t)?[t]:Li(zo(Ss(t)))},Nn.toPlainObject=Ms,Nn.transform=function(t,e,n){var r=Ja(t),i=r||ts(t)||ms(t);if(e=fo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:as(t)&&rs(o)?Gn(Vt(t)):{}}return(i?Ie:xr)(t,(function(t,r,i){return e(n,t,r,i)})),n},Nn.unary=function(t){return Oa(t,1)},Nn.union=sa,Nn.unionBy=ca,Nn.unionWith=ua,Nn.uniq=function(t){return t&&t.length?hi(t):[]},Nn.uniqBy=function(t,e){return t&&t.length?hi(t,fo(e,2)):[]},Nn.uniqWith=function(t,e){return e="function"==typeof e?e:o,t&&t.length?hi(t,o,e):[]},Nn.unset=function(t,e){return null==t||fi(t,e)},Nn.unzip=la,Nn.unzipWith=ha,Nn.update=function(t,e,n){return null==t?t:di(t,e,_i(n))},Nn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:di(t,e,_i(n),r)},Nn.values=Zs,Nn.valuesIn=function(t){return null==t?[]:en(t,Us(t))},Nn.without=fa,Nn.words=rc,Nn.wrap=function(t,e){return Ha(_i(e),t)},Nn.xor=da,Nn.xorBy=pa,Nn.xorWith=ma,Nn.zip=ga,Nn.zipObject=function(t,e){return vi(t||[],e||[],er)},Nn.zipObjectDeep=function(t,e){return vi(t||[],e||[],ti)},Nn.zipWith=va,Nn.entries=Ws,Nn.entriesIn=Vs,Nn.extend=Cs,Nn.extendWith=Es,dc(Nn,Nn),Nn.add=Mc,Nn.attempt=ic,Nn.camelCase=Qs,Nn.capitalize=Xs,Nn.ceil=Sc,Nn.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=ws(n))==n?n:0),e!==o&&(e=(e=ws(e))==e?e:0),sr(ws(t),e,n)},Nn.clone=function(t){return cr(t,4)},Nn.cloneDeep=function(t){return cr(t,5)},Nn.cloneDeepWith=function(t,e){return cr(t,5,e="function"==typeof e?e:o)},Nn.cloneWith=function(t,e){return cr(t,4,e="function"==typeof e?e:o)},Nn.conformsTo=function(t,e){return null==e||ur(t,e,Fs(e))},Nn.deburr=Ys,Nn.defaultTo=function(t,e){return null==t||t!=t?e:t},Nn.divide=Ac,Nn.endsWith=function(t,e,n){t=Ss(t),e=li(e);var r=t.length,i=n=n===o?r:sr(xs(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},Nn.eq=Za,Nn.escape=function(t){return(t=Ss(t))&&K.test(t)?t.replace(J,cn):t},Nn.escapeRegExp=function(t){return(t=Ss(t))&&at.test(t)?t.replace(ot,"\\$&"):t},Nn.every=function(t,e,n){var r=Ja(t)?Pe:pr;return n&&So(t,e,n)&&(e=o),r(t,fo(e,3))},Nn.find=wa,Nn.findIndex=Yo,Nn.findKey=function(t,e){return ze(t,fo(e,3),xr)},Nn.findLast=Ma,Nn.findLastIndex=Jo,Nn.findLastKey=function(t,e){return ze(t,fo(e,3),br)},Nn.floor=Cc,Nn.forEach=Sa,Nn.forEachRight=Aa,Nn.forIn=function(t,e){return null==t?t:yr(t,fo(e,3),Us)},Nn.forInRight=function(t,e){return null==t?t:_r(t,fo(e,3),Us)},Nn.forOwn=function(t,e){return t&&xr(t,fo(e,3))},Nn.forOwnRight=function(t,e){return t&&br(t,fo(e,3))},Nn.get=Rs,Nn.gt=Qa,Nn.gte=Xa,Nn.has=function(t,e){return null!=t&&xo(t,e,Er)},Nn.hasIn=Os,Nn.head=Ko,Nn.identity=uc,Nn.includes=function(t,e,n,r){t=Ka(t)?t:Zs(t),n=n&&!r?xs(n):0;var i=t.length;return n<0&&(n=_e(i+n,0)),ds(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&We(t,e,n)>-1},Nn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:xs(n);return i<0&&(i=_e(r+i,0)),We(t,e,i)},Nn.inRange=function(t,e,n){return e=_s(e),n===o?(n=e,e=0):n=_s(n),function(t,e,n){return t>=xe(e,n)&&t<_e(e,n)}(t=ws(t),e,n)},Nn.invoke=Ds,Nn.isArguments=Ya,Nn.isArray=Ja,Nn.isArrayBuffer=qa,Nn.isArrayLike=Ka,Nn.isArrayLikeObject=$a,Nn.isBoolean=function(t){return!0===t||!1===t||ss(t)&&Ar(t)==b},Nn.isBuffer=ts,Nn.isDate=es,Nn.isElement=function(t){return ss(t)&&1===t.nodeType&&!ls(t)},Nn.isEmpty=function(t){if(null==t)return!0;if(Ka(t)&&(Ja(t)||"string"==typeof t||"function"==typeof t.splice||ts(t)||ms(t)||Ya(t)))return!t.length;var e=_o(t);if(e==C||e==P)return!t.size;if(To(t))return!Dr(t).length;for(var n in t)if(kt.call(t,n))return!1;return!0},Nn.isEqual=function(t,e){return Rr(t,e)},Nn.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:o)?n(t,e):o;return r===o?Rr(t,e,o,n):!!r},Nn.isError=ns,Nn.isFinite=function(t){return"number"==typeof t&&pe(t)},Nn.isFunction=rs,Nn.isInteger=is,Nn.isLength=os,Nn.isMap=cs,Nn.isMatch=function(t,e){return t===e||Or(t,e,mo(e))},Nn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:o,Or(t,e,mo(e),n)},Nn.isNaN=function(t){return us(t)&&t!=+t},Nn.isNative=function(t){if(Eo(t))throw new i("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return kr(t)},Nn.isNil=function(t){return null==t},Nn.isNull=function(t){return null===t},Nn.isNumber=us,Nn.isObject=as,Nn.isObjectLike=ss,Nn.isPlainObject=ls,Nn.isRegExp=hs,Nn.isSafeInteger=function(t){return is(t)&&t>=-m&&t<=m},Nn.isSet=fs,Nn.isString=ds,Nn.isSymbol=ps,Nn.isTypedArray=ms,Nn.isUndefined=function(t){return t===o},Nn.isWeakMap=function(t){return ss(t)&&_o(t)==k},Nn.isWeakSet=function(t){return ss(t)&&"[object WeakSet]"==Ar(t)},Nn.join=function(t,e){return null==t?"":ge.call(t,e)},Nn.kebabCase=Js,Nn.last=na,Nn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=xs(n))<0?_e(r+i,0):xe(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):He(t,Ze,i,!0)},Nn.lowerCase=qs,Nn.lowerFirst=Ks,Nn.lt=gs,Nn.lte=vs,Nn.max=function(t){return t&&t.length?mr(t,uc,Cr):o},Nn.maxBy=function(t,e){return t&&t.length?mr(t,fo(e,2),Cr):o},Nn.mean=function(t){return Qe(t,uc)},Nn.meanBy=function(t,e){return Qe(t,fo(e,2))},Nn.min=function(t){return t&&t.length?mr(t,uc,Ur):o},Nn.minBy=function(t,e){return t&&t.length?mr(t,fo(e,2),Ur):o},Nn.stubArray=bc,Nn.stubFalse=wc,Nn.stubObject=function(){return{}},Nn.stubString=function(){return""},Nn.stubTrue=function(){return!0},Nn.multiply=Ec,Nn.nth=function(t,e){return t&&t.length?Hr(t,xs(e)):o},Nn.noConflict=function(){return me._===this&&(me._=jt),this},Nn.noop=pc,Nn.now=Ra,Nn.pad=function(t,e,n){t=Ss(t);var r=(e=xs(e))?gn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Zi(oe(i),n)+t+Zi(ie(i),n)},Nn.padEnd=function(t,e,n){t=Ss(t);var r=(e=xs(e))?gn(t):0;return e&&r<e?t+Zi(e-r,n):t},Nn.padStart=function(t,e,n){t=Ss(t);var r=(e=xs(e))?gn(t):0;return e&&r<e?Zi(e-r,n)+t:t},Nn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Ye(Ss(t).replace(st,""),e||0)},Nn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&So(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=_s(t),e===o?(e=t,t=0):e=_s(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=wn();return xe(t+i*(e-t+he("1e-"+((i+"").length-1))),e)}return Xr(t,e)},Nn.reduce=function(t,e,n){var r=Ja(t)?Fe:Je,i=arguments.length<3;return r(t,fo(e,4),n,i,fr)},Nn.reduceRight=function(t,e,n){var r=Ja(t)?Ue:Je,i=arguments.length<3;return r(t,fo(e,4),n,i,dr)},Nn.repeat=function(t,e,n){return e=(n?So(t,e,n):e===o)?1:xs(e),Jr(Ss(t),e)},Nn.replace=function(){var t=arguments,e=Ss(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Nn.result=function(t,e,n){var r=-1,i=(e=xi(e,t)).length;for(i||(i=1,t=o);++r<i;){var a=null==t?o:t[Ho(e[r])];a===o&&(r=i,a=n),t=rs(a)?a.call(t):a}return t},Nn.round=Tc,Nn.runInContext=t,Nn.sample=function(t){return(Ja(t)?qn:Kr)(t)},Nn.size=function(t){if(null==t)return 0;if(Ka(t))return ds(t)?gn(t):t.length;var e=_o(t);return e==C||e==P?t.size:Dr(t).length},Nn.snakeCase=$s,Nn.some=function(t,e,n){var r=Ja(t)?je:oi;return n&&So(t,e,n)&&(e=o),r(t,fo(e,3))},Nn.sortedIndex=function(t,e){return ai(t,e)},Nn.sortedIndexBy=function(t,e,n){return si(t,e,fo(n,2))},Nn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=ai(t,e);if(r<n&&Za(t[r],e))return r}return-1},Nn.sortedLastIndex=function(t,e){return ai(t,e,!0)},Nn.sortedLastIndexBy=function(t,e,n){return si(t,e,fo(n,2),!0)},Nn.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ai(t,e,!0)-1;if(Za(t[n],e))return n}return-1},Nn.startCase=tc,Nn.startsWith=function(t,e,n){return t=Ss(t),n=null==n?0:sr(xs(n),0,t.length),e=li(e),t.slice(n,n+e.length)==e},Nn.subtract=Ic,Nn.sum=function(t){return t&&t.length?qe(t,uc):0},Nn.sumBy=function(t,e){return t&&t.length?qe(t,fo(e,2)):0},Nn.template=function(t,e,n){var r=Nn.templateSettings;n&&So(t,e,n)&&(e=o),t=Ss(t),e=Es({},e,r,eo);var a,s,c=Es({},e.imports,r.imports,eo),u=Fs(c),l=en(c,u),h=0,f=e.interpolate||Mt,d="__p += '",p=Ct((e.escape||Mt).source+"|"+f.source+"|"+(f===et?mt:Mt).source+"|"+(e.evaluate||Mt).source+"|$","g"),m="//# sourceURL="+(kt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++se+"]")+"\n";t.replace(p,(function(e,n,r,i,o,c){return r||(r=i),d+=t.slice(h,c).replace(St,un),n&&(a=!0,d+="' +\n__e("+n+") +\n'"),o&&(s=!0,d+="';\n"+o+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),h=c+e.length,e})),d+="';\n";var g=kt.call(e,"variable")&&e.variable;if(g){if(dt.test(g))throw new i("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(Z,""):d).replace(Q,"$1").replace(X,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=ic((function(){return ct(u,m+"return "+d).apply(o,l)}));if(v.source=d,ns(v))throw v;return v},Nn.times=function(t,e){if((t=xs(t))<1||t>m)return[];var n=v,r=xe(t,v);e=fo(e),t-=v;for(var i=Ke(r,e);++n<t;)e(n);return i},Nn.toFinite=_s,Nn.toInteger=xs,Nn.toLength=bs,Nn.toLower=function(t){return Ss(t).toLowerCase()},Nn.toNumber=ws,Nn.toSafeInteger=function(t){return t?sr(xs(t),-m,m):0===t?t:0},Nn.toString=Ss,Nn.toUpper=function(t){return Ss(t).toUpperCase()},Nn.trim=function(t,e,n){if((t=Ss(t))&&(n||e===o))return $e(t);if(!t||!(e=li(e)))return t;var r=vn(t),i=vn(e);return wi(r,rn(r,i),on(r,i)+1).join("")},Nn.trimEnd=function(t,e,n){if((t=Ss(t))&&(n||e===o))return t.slice(0,yn(t)+1);if(!t||!(e=li(e)))return t;var r=vn(t);return wi(r,0,on(r,vn(e))+1).join("")},Nn.trimStart=function(t,e,n){if((t=Ss(t))&&(n||e===o))return t.replace(st,"");if(!t||!(e=li(e)))return t;var r=vn(t);return wi(r,rn(r,vn(e))).join("")},Nn.truncate=function(t,e){var n=30,r="...";if(as(e)){var i="separator"in e?e.separator:i;n="length"in e?xs(e.length):n,r="omission"in e?li(e.omission):r}var a=(t=Ss(t)).length;if(ln(t)){var s=vn(t);a=s.length}if(n>=a)return t;var c=n-gn(r);if(c<1)return r;var u=s?wi(s,0,c).join(""):t.slice(0,c);if(i===o)return u+r;if(s&&(c+=u.length-c),hs(i)){if(t.slice(c).search(i)){var l,h=u;for(i.global||(i=Ct(i.source,Ss(gt.exec(i))+"g")),i.lastIndex=0;l=i.exec(h);)var f=l.index;u=u.slice(0,f===o?c:f)}}else if(t.indexOf(li(i),c)!=c){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r},Nn.unescape=function(t){return(t=Ss(t))&&q.test(t)?t.replace(Y,_n):t},Nn.uniqueId=function(t){var e=++Bt;return Ss(t)+e},Nn.upperCase=ec,Nn.upperFirst=nc,Nn.each=Sa,Nn.eachRight=Aa,Nn.first=Ko,dc(Nn,function(){var t={};return xr(Nn,(function(e,n){kt.call(Nn.prototype,n)||(t[n]=e)})),t}(),{chain:!1}),Nn.VERSION="4.17.21",Ie(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Nn[t].placeholder=Nn})),Ie(["drop","take"],(function(t,e){Wn.prototype[t]=function(n){n=n===o?1:_e(xs(n),0);var r=this.__filtered__&&!e?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=xe(n,r.__takeCount__):r.__views__.push({size:xe(n,v),type:t+(r.__dir__<0?"Right":"")}),r},Wn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Ie(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Wn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:fo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),Ie(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Wn.prototype[t]=function(){return this[n](1).value()[0]}})),Ie(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Wn.prototype[t]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(uc)},Wn.prototype.find=function(t){return this.filter(t).head()},Wn.prototype.findLast=function(t){return this.reverse().find(t)},Wn.prototype.invokeMap=qr((function(t,e){return"function"==typeof t?new Wn(this):this.map((function(n){return Lr(n,t,e)}))})),Wn.prototype.reject=function(t){return this.filter(Ga(fo(t)))},Wn.prototype.slice=function(t,e){t=xs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Wn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=xs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Wn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Wn.prototype.toArray=function(){return this.take(v)},xr(Wn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=Nn[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);i&&(Nn.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,c=e instanceof Wn,u=s[0],l=c||Ja(e),h=function(t){var e=i.apply(Nn,De([t],s));return r&&f?e[0]:e};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var f=this.__chain__,d=!!this.__actions__.length,p=a&&!f,m=c&&!d;if(!a&&l){e=m?e:new Wn(this);var g=t.apply(e,s);return g.__actions__.push({func:_a,args:[h],thisArg:o}),new Hn(g,f)}return p&&m?t.apply(this,s):(g=this.thru(h),p?r?g.value()[0]:g.value():g)})})),Ie(["pop","push","shift","sort","splice","unshift"],(function(t){var e=It[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Nn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Ja(i)?i:[],t)}return this[n]((function(n){return e.apply(Ja(n)?n:[],t)}))}})),xr(Wn.prototype,(function(t,e){var n=Nn[e];if(n){var r=n.name+"";kt.call(Pn,r)||(Pn[r]=[]),Pn[r].push({name:e,func:n})}})),Pn[zi(o,2).name]=[{name:"wrapper",func:o}],Wn.prototype.clone=function(){var t=new Wn(this.__wrapped__);return t.__actions__=Li(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Li(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Li(this.__views__),t},Wn.prototype.reverse=function(){if(this.__filtered__){var t=new Wn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Wn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ja(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=xe(e,t+a);break;case"takeRight":t=_e(t,e-a)}}return{start:t,end:e}}(0,i,this.__views__),a=o.start,s=o.end,c=s-a,u=r?s:a-1,l=this.__iteratees__,h=l.length,f=0,d=xe(c,this.__takeCount__);if(!n||!r&&i==c&&d==c)return mi(t,this.__actions__);var p=[];t:for(;c--&&f<d;){for(var m=-1,g=t[u+=e];++m<h;){var v=l[m],y=v.iteratee,_=v.type,x=y(g);if(2==_)g=x;else if(!x){if(1==_)continue t;break t}}p[f++]=g}return p},Nn.prototype.at=xa,Nn.prototype.chain=function(){return ya(this)},Nn.prototype.commit=function(){return new Hn(this.value(),this.__chain__)},Nn.prototype.next=function(){this.__values__===o&&(this.__values__=ys(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},Nn.prototype.plant=function(t){for(var e,n=this;n instanceof zn;){var r=Vo(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},Nn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Wn){var e=t;return this.__actions__.length&&(e=new Wn(this)),(e=e.reverse()).__actions__.push({func:_a,args:[aa],thisArg:o}),new Hn(e,this.__chain__)}return this.thru(aa)},Nn.prototype.toJSON=Nn.prototype.valueOf=Nn.prototype.value=function(){return mi(this.__wrapped__,this.__actions__)},Nn.prototype.first=Nn.prototype.head,Jt&&(Nn.prototype[Jt]=function(){return this}),Nn}();me._=bn,(i=function(){return bn}.call(e,n,e,r))===o||(r.exports=i)}).call(this)}).call(this,n("2409"),n("adb6")(t))},"7e14":function(t,e,n){var r=n("3a40").Global;t.exports={name:"oldFF-globalStorage",read:function(t){return i[t]},write:function(t,e){i[t]=e},each:o,remove:function(t){return i.removeItem(t)},clearAll:function(){o((function(t,e){delete i[t]}))}};var i=r.globalStorage;function o(t){for(var e=i.length-1;e>=0;e--){var n=i.key(e);t(i[n],n)}}},"7e5b":function(t,e,n){"use strict";var r=n("8e6c").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"7f81":function(t,e,n){var r=n("09f5");t.exports=function(t,e){return new(r(t))(0===e?0:e)}},"7f8c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAKN2lDQ1BzUkdCIElFQzYxOTY2LTIuMQAAeJydlndUU9kWh8+9N71QkhCKlNBraFICSA29SJEuKjEJEErAkAAiNkRUcERRkaYIMijggKNDkbEiioUBUbHrBBlE1HFwFBuWSWStGd+8ee/Nm98f935rn73P3Wfvfda6AJD8gwXCTFgJgAyhWBTh58WIjYtnYAcBDPAAA2wA4HCzs0IW+EYCmQJ82IxsmRP4F726DiD5+yrTP4zBAP+flLlZIjEAUJiM5/L42VwZF8k4PVecJbdPyZi2NE3OMErOIlmCMlaTc/IsW3z2mWUPOfMyhDwZy3PO4mXw5Nwn4405Er6MkWAZF+cI+LkyviZjg3RJhkDGb+SxGXxONgAoktwu5nNTZGwtY5IoMoIt43kA4EjJX/DSL1jMzxPLD8XOzFouEiSniBkmXFOGjZMTi+HPz03ni8XMMA43jSPiMdiZGVkc4XIAZs/8WRR5bRmyIjvYODk4MG0tbb4o1H9d/JuS93aWXoR/7hlEH/jD9ld+mQ0AsKZltdn6h21pFQBd6wFQu/2HzWAvAIqyvnUOfXEeunxeUsTiLGcrq9zcXEsBn2spL+jv+p8Of0NffM9Svt3v5WF485M4knQxQ143bmZ6pkTEyM7icPkM5p+H+B8H/nUeFhH8JL6IL5RFRMumTCBMlrVbyBOIBZlChkD4n5r4D8P+pNm5lona+BHQllgCpSEaQH4eACgqESAJe2Qr0O99C8ZHA/nNi9GZmJ37z4L+fVe4TP7IFiR/jmNHRDK4ElHO7Jr8WgI0IABFQAPqQBvoAxPABLbAEbgAD+ADAkEoiARxYDHgghSQAUQgFxSAtaAYlIKtYCeoBnWgETSDNnAYdIFj4DQ4By6By2AE3AFSMA6egCnwCsxAEISFyBAVUod0IEPIHLKFWJAb5AMFQxFQHJQIJUNCSAIVQOugUqgcqobqoWboW+godBq6AA1Dt6BRaBL6FXoHIzAJpsFasBFsBbNgTzgIjoQXwcnwMjgfLoK3wJVwA3wQ7oRPw5fgEVgKP4GnEYAQETqiizARFsJGQpF4JAkRIauQEqQCaUDakB6kH7mKSJGnyFsUBkVFMVBMlAvKHxWF4qKWoVahNqOqUQdQnag+1FXUKGoK9RFNRmuizdHO6AB0LDoZnYsuRlegm9Ad6LPoEfQ4+hUGg6FjjDGOGH9MHCYVswKzGbMb0445hRnGjGGmsVisOtYc64oNxXKwYmwxtgp7EHsSewU7jn2DI+J0cLY4X1w8TogrxFXgWnAncFdwE7gZvBLeEO+MD8Xz8MvxZfhGfA9+CD+OnyEoE4wJroRIQiphLaGS0EY4S7hLeEEkEvWITsRwooC4hlhJPEQ8TxwlviVRSGYkNimBJCFtIe0nnSLdIr0gk8lGZA9yPFlM3kJuJp8h3ye/UaAqWCoEKPAUVivUKHQqXFF4pohXNFT0VFysmK9YoXhEcUjxqRJeyUiJrcRRWqVUo3RU6YbStDJV2UY5VDlDebNyi/IF5UcULMWI4kPhUYoo+yhnKGNUhKpPZVO51HXURupZ6jgNQzOmBdBSaaW0b2iDtCkVioqdSrRKnkqNynEVKR2hG9ED6On0Mvph+nX6O1UtVU9Vvuom1TbVK6qv1eaoeajx1UrU2tVG1N6pM9R91NPUt6l3qd/TQGmYaYRr5Grs0Tir8XQObY7LHO6ckjmH59zWhDXNNCM0V2ju0xzQnNbS1vLTytKq0jqj9VSbru2hnaq9Q/uE9qQOVcdNR6CzQ+ekzmOGCsOTkc6oZPQxpnQ1df11Jbr1uoO6M3rGelF6hXrtevf0Cfos/ST9Hfq9+lMGOgYhBgUGrQa3DfGGLMMUw12G/YavjYyNYow2GHUZPTJWMw4wzjduNb5rQjZxN1lm0mByzRRjyjJNM91tetkMNrM3SzGrMRsyh80dzAXmu82HLdAWThZCiwaLG0wS05OZw2xljlrSLYMtCy27LJ9ZGVjFW22z6rf6aG1vnW7daH3HhmITaFNo02Pzq62ZLde2xvbaXPJc37mr53bPfW5nbse322N3055qH2K/wb7X/oODo4PIoc1h0tHAMdGx1vEGi8YKY21mnXdCO3k5rXY65vTW2cFZ7HzY+RcXpkuaS4vLo3nG8/jzGueNueq5clzrXaVuDLdEt71uUnddd457g/sDD30PnkeTx4SnqWeq50HPZ17WXiKvDq/XbGf2SvYpb8Tbz7vEe9CH4hPlU+1z31fPN9m31XfKz95vhd8pf7R/kP82/xsBWgHcgOaAqUDHwJWBfUGkoAVB1UEPgs2CRcE9IXBIYMj2kLvzDecL53eFgtCA0O2h98KMw5aFfR+OCQ8Lrwl/GGETURDRv4C6YMmClgWvIr0iyyLvRJlESaJ6oxWjE6Kbo1/HeMeUx0hjrWJXxl6K04gTxHXHY+Oj45vipxf6LNy5cDzBPqE44foi40V5iy4s1licvvj4EsUlnCVHEtGJMYktie85oZwGzvTSgKW1S6e4bO4u7hOeB28Hb5Lvyi/nTyS5JpUnPUp2Td6ePJninlKR8lTAFlQLnqf6p9alvk4LTduf9ik9Jr09A5eRmHFUSBGmCfsytTPzMoezzLOKs6TLnJftXDYlChI1ZUPZi7K7xTTZz9SAxESyXjKa45ZTk/MmNzr3SJ5ynjBvYLnZ8k3LJ/J9879egVrBXdFboFuwtmB0pefK+lXQqqWrelfrry5aPb7Gb82BtYS1aWt/KLQuLC98uS5mXU+RVtGaorH1futbixWKRcU3NrhsqNuI2ijYOLhp7qaqTR9LeCUXS61LK0rfb+ZuvviVzVeVX33akrRlsMyhbM9WzFbh1uvb3LcdKFcuzy8f2x6yvXMHY0fJjpc7l+y8UGFXUbeLsEuyS1oZXNldZVC1tep9dUr1SI1XTXutZu2m2te7ebuv7PHY01anVVda926vYO/Ner/6zgajhop9mH05+x42Rjf2f836urlJo6m06cN+4X7pgYgDfc2Ozc0tmi1lrXCrpHXyYMLBy994f9Pdxmyrb6e3lx4ChySHHn+b+O31w0GHe4+wjrR9Z/hdbQe1o6QT6lzeOdWV0iXtjusePhp4tLfHpafje8vv9x/TPVZzXOV42QnCiaITn07mn5w+lXXq6enk02O9S3rvnIk9c60vvG/wbNDZ8+d8z53p9+w/ed71/LELzheOXmRd7LrkcKlzwH6g4wf7HzoGHQY7hxyHui87Xe4Znjd84or7ldNXva+euxZw7dLI/JHh61HXb95IuCG9ybv56Fb6ree3c27P3FlzF3235J7SvYr7mvcbfjT9sV3qID0+6j068GDBgztj3LEnP2X/9H686CH5YcWEzkTzI9tHxyZ9Jy8/Xvh4/EnWk5mnxT8r/1z7zOTZd794/DIwFTs1/lz0/NOvm1+ov9j/0u5l73TY9P1XGa9mXpe8UX9z4C3rbf+7mHcTM7nvse8rP5h+6PkY9PHup4xPn34D94Tz+49wZioAAAAJcEhZcwAACxIAAAsSAdLdfvwAAADwSURBVHicYwmrmMXPxsVzgoF48ImFlZGHiZGBQYMETe9ZSFAMBxiaZET5GQzUpBm2HL3GwMLMxOBvq8Ow/9wdhnefvuHWFONuzKCpIMYgws/FIMjLxWCgKsXAx83OMH/radya5m49xVAZ68TgaKQC5j95/ZFh7YHL+J33/tN3hudvPjEI83GB+feevWP49PUHfk0pvmYMOkoSDI9ffWDg4mBjsNNXBBr0jWHdwcu4NV29/4JBGOifiauOMHBysDLkhdgw3HnyBr9Nhy/eB2MQ+PL9J0Pt7B3oSjA1EQPI0/T77oZPLFpemsRqYPzL9hcAyOZIEFj9ZVMAAAAASUVORK5CYII="},"7fdb":function(t,e,n){"use strict";var r=n("ed2b"),i=n("03e9"),o=n("1de0"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n),c=i(t,s),u=i(e,s),l=arguments.length>2?arguments[2]:void 0,h=a((void 0===l?s:i(l,s))-u,s-c),f=1;for(u<c&&c<u+h&&(f=-1,u+=h-1,c+=h-1);h-- >0;)u in n?n[c]=n[u]:delete n[c],c+=f,u+=f;return n}},8179:function(t,e,n){var r=n("3a40").Global;function i(){return r.sessionStorage}function o(t){return i().getItem(t)}t.exports={name:"sessionStorage",read:o,write:function(t,e){return i().setItem(t,e)},each:function(t){for(var e=i().length-1;e>=0;e--){var n=i().key(e);t(o(n),n)}},remove:function(t){return i().removeItem(t)},clearAll:function(){return i().clear()}}},8195:function(t,e,n){"use strict";var r=n("c687"),i=n("a22c"),o=n("163f"),a=n("371f"),s=n("f55f"),c=n("235f"),u=n("5674"),l=n("3a73"),h=n("7e5b"),f=n("2e39"),d=n("8ea6"),p=n("5b57"),m=n("79e6"),g=n("5c4a"),v=n("a2f4"),y=n("fde0"),_=n("b51b"),x=y.UNSUPPORTED_Y,b=4294967295,w=Math.min,M=[].push,S=o(/./.exec),A=o(M),C=o("".slice);a("split",(function(t,e,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=d(u(this)),a=void 0===n?b:n>>>0;if(0===a)return[];if(void 0===t)return[o];if(!s(t))return i(e,o,t,a);for(var c,l,h,f=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,y=new RegExp(t.source,p+"g");(c=i(v,y,o))&&!((l=y.lastIndex)>g&&(A(f,C(o,g,c.index)),c.length>1&&c.index<o.length&&r(M,f,m(c,1)),h=c[0].length,g=l,f.length>=a));)y.lastIndex===c.index&&y.lastIndex++;return g===o.length?!h&&S(y,"")||A(f,""):A(f,C(o,g)),f.length>a?m(f,0,a):f}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:i(e,this,t,n)}:e,[function(e,n){var r=u(this),a=null==e?void 0:p(e,t);return a?i(a,e,r,n):i(o,d(r),e,n)},function(t,r){var i=c(this),a=d(t),s=n(o,i,a,r,o!==e);if(s.done)return s.value;var u=l(i,RegExp),p=i.unicode,m=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(x?"g":"y"),v=new u(x?"^(?:"+i.source+")":i,m),y=void 0===r?b:r>>>0;if(0===y)return[];if(0===a.length)return null===g(v,a)?[a]:[];for(var _=0,M=0,S=[];M<a.length;){v.lastIndex=x?0:M;var E,T=g(v,x?C(a,M):a);if(null===T||(E=w(f(v.lastIndex+(x?M:0)),a.length))===_)M=h(a,M,p);else{if(A(S,C(a,_,M)),S.length===y)return S;for(var I=1;I<=T.length-1;I++)if(A(S,T[I]),S.length===y)return S;M=_=E}}return A(S,C(a,_)),S}]}),!!_((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),x)},8219:function(t,e,n){"use strict";var r=n("0b28").IteratorPrototype,i=n("3ab7"),o=n("33cb"),a=n("1c6e"),s=n("f9aa"),c=function(){return this};t.exports=function(t,e,n,u){var l=e+" Iterator";return t.prototype=i(r,{next:o(+!u,n)}),a(t,l,!1,!0),s[l]=c,t}},"82c6":function(t,e,n){var r=n("1cba"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},8444:function(t,e,n){var r=n("5a28"),i=n("9699");t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},"854c":function(t,e,n){var r=n("fcde"),i=n("521d"),o=n("7970").f,a=n("79e6"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"==r(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},8727:function(t,e,n){"use strict";var r=n("5d20"),i=n("aee5").find,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},8745:function(t,e,n){"use strict";var r=n("6dd3"),i=n("163f"),o=n("6b26"),a=n("ed2b"),s=n("1de0"),c=n("8ea6"),u=n("b51b"),l=n("959d"),h=n("7718"),f=n("e8c5"),d=n("aa9c"),p=n("3e77"),m=n("be4f"),g=[],v=i(g.sort),y=i(g.push),_=u((function(){g.sort(void 0)})),x=u((function(){g.sort(null)})),b=h("sort"),w=!u((function(){if(p)return p<70;if(!(f&&f>3)){if(d)return!0;if(m)return m<603;var t,e,n,r,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)g.push({k:e+r,v:n})}for(g.sort((function(t,e){return e.v-t.v})),r=0;r<g.length;r++)e=g[r].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}})),M=function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:c(e)>c(n)?1:-1}};r({target:"Array",proto:!0,forced:_||!x||!b||!w},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(w)return void 0===t?v(e):v(e,t);var n,r,i=[],c=s(e);for(r=0;r<c;r++)r in e&&y(i,e[r]);for(l(i,M(t)),n=i.length,r=0;r<n;)e[r]=i[r++];for(;r<c;)delete e[r++];return e}})},"88f2":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAYAAAAx8TU7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA0ppVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RTM3QjEyRDNBOTZDMTFFNUE2QTA4M0M3MDI4QUVDMTQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RTM3QjEyRDJBOTZDMTFFNUE2QTA4M0M3MDI4QUVDMTQiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo3ZmI2MGZkMi1hOTZjLTExZTUtYWU4Yi1kYzQ2ODQxNzA1ZmIiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo3ZmI2MGZkMi1hOTZjLTExZTUtYWU4Yi1kYzQ2ODQxNzA1ZmIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4r2gBAAAAASklEQVR42mL4////HCBmB2IGGAYRIHACiKXRBUHgORBbgwQZ/4Ol4OA3EOcxMaCCf2AJJO1PgNgC2cyjQCyJbNEMIGZDdhJAgAEACP9sQulYHrwAAAAASUVORK5CYII="},"891d":function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},"8afd":function(t,e,n){"use strict";var r=n("6dd3"),i=n("054f");r({target:"String",proto:!0,forced:n("eeef")("sub")},{sub:function(){return i(this,"sub","","")}})},"8b15":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("d072");e.SpriteText2D=r.SpriteText2D;var i=n("b34b");e.MeshText2D=i.MeshText2D;var o=n("138f");e.textAlign=o.textAlign},"8d89":function(t,e,n){var r=n("3d1e"),i=n("f9aa"),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},"8e24":function(t,e,n){var r=n("b51b");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"8e6c":function(t,e,n){var r=n("163f"),i=n("2c81"),o=n("8ea6"),a=n("5674"),s=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(t){return function(e,n){var r,l,h=o(a(e)),f=i(n),d=h.length;return f<0||f>=d?t?"":void 0:(r=c(h,f))<55296||r>56319||f+1===d||(l=c(h,f+1))<56320||l>57343?t?s(h,f):r:t?u(h,f,f+2):l-56320+(r-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},"8ea6":function(t,e,n){var r=n("9699"),i=n("d0b1"),o=r.String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},"906c":function(t,e,n){var r=n("163f");t.exports=r([].slice)},9090:function(t,e,n){var r=n("8e24"),i=n("dcc6"),o=n("235f"),a=n("521d"),s=n("77bb");t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=a(e),c=s(e),u=c.length,l=0;u>l;)i.f(t,n=c[l++],r[n]);return t}},9091:function(t,e,n){"use strict";var r=n("ed2b"),i=n("03e9"),o=n("1de0");t.exports=function(t){for(var e=r(this),n=o(e),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);u>s;)e[s++]=t;return e}},9192:function(t,e,n){var r=n("3a40"),i=r.Global,o=r.trim;t.exports={name:"cookieStorage",read:function(t){if(!t||!u(t))return null;var e="(?:^|.*;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(e),"$1"))},write:function(t,e){t&&(a.cookie=escape(t)+"="+escape(e)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")},each:s,remove:c,clearAll:function(){s((function(t,e){c(e)}))}};var a=i.document;function s(t){for(var e=a.cookie.split(/; ?/g),n=e.length-1;n>=0;n--)if(o(e[n])){var r=e[n].split("="),i=unescape(r[0]);t(unescape(r[1]),i)}}function c(t){t&&u(t)&&(a.cookie=escape(t)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function u(t){return new RegExp("(?:^|;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},"91c5":function(t,e,n){var r=n("9699"),i=n("f55f"),o=r.TypeError;t.exports=function(t){if(i(t))throw o("The method doesn't accept regular expressions");return t}},"91e5":function(t,e,n){var r=n("6dd3"),i=n("5f7f").entries;r({target:"Object",stat:!0},{entries:function(t){return i(t)}})},"93b0":function(t,e,n){var r=n("a1a8"),i=n("e505"),o=n("7203"),a=n("5cb9"),s=n("88f2"),c=n("3471"),u=n("2a97"),l=n("a91d"),h=n("7f8c"),f=n("fc50"),d=n("aa5a");e=r(!1);var p=i(o),m=i(a),g=i(s),v=i(c),y=i(u),_=i(l),x=i(h),b=i(f),w=i(d);e.push([t.i,".maptalks-zoom{text-align:center}.maptalks-zoom .maptalks-zoom-zoomlevel{display:block;width:29px;height:29px;background:#172029;color:#fff;line-height:29px;font-size:12px;transform:scale(.8);-ms-transform:scale(.8);transform-origin:bottom left;-ms-transform-origin:bottom left}.maptalks-zoom-slider{margin-top:6px}.maptalks-zoom-slider a.maptalks-zoom-zoomin,.maptalks-zoom-slider a.maptalks-zoom-zoomout{display:block;font-size:16px;width:21px;height:21px;border:1px solid #363539;background:#172029;color:#fff;line-height:19px;text-decoration:none}.maptalks-zoom-slider-box{width:21px;height:124px;background:#34495e;background:url("+p+") repeat-y;border:1px solid #35383b;position:relative}.maptalks-zoom-slider-box .maptalks-zoom-slider-ruler{width:5px;height:112px;background:#372e2b;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;margin:4px auto;position:relative}.maptalks-zoom-slider-box .maptalks-zoom-slider-ruler .maptalks-zoom-slider-reading{width:5px;height:50%;position:absolute;bottom:0;left:0;background:#1bbc9b;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px}.maptalks-zoom-slider-box .maptalks-zoom-slider-dot{width:15px;height:15px;background:url("+m+") no-repeat;position:absolute;top:50%;left:3px;cursor:pointer}.maptalks-toolbar-vertical{margin:0;overflow:visible}.maptalks-toolbar-horizonal ul,.maptalks-toolbar-vertical ul{margin:0;padding:0}.maptalks-toolbar-vertical ul li+li{border-top:1px solid #425568}.maptalks-toolbar-vertical li{text-align:center;list-style:none;line-height:28px;color:#fff;background:#34495e;min-width:10px;min-height:28px;position:relative;padding:0 10px}.maptalks-toolbar-vertical li:hover{background:#1bbc9b}.maptalks-toolbar-vertical li .maptalks-dropMenu{padding:0;position:absolute;top:0;overflow:visible}.maptalks-toolbar-vertical li .maptalks-dropMenu li{list-style:none;min-width:95px;background:#223140;height:27px}.maptalks-toolbar-vertical li .maptalks-dropMenu li a{color:#fff;display:block;line-height:27px;background:url("+g+") no-repeat 14px 10px;text-indent:33px;text-decoration:none;font-size:12px}.maptalks-toolbar-vertical li .maptalks-dropMenu em.maptalks-ico{display:block;width:5px;height:6px;position:absolute;top:12px;right:-4px}.maptalks-toolbar-vertical li .maptalks-dropMenu li.maptalks-on,.maptalks-toolbar-vertical li .maptalks-dropMenu li:hover{background:#0e595e}.maptalks-toolbar-horizonal{margin:0;overflow:visible}.maptalks-toolbar-horizonal li{text-align:left;line-height:28px;color:#fff;padding:0 10px;list-style:none;min-width:28px;min-height:28px;float:left;background:#34495e;position:relative}.maptalks-toolbar-horizonal ul li+li{border-left:1px solid #425568}.maptalks-toolbar-horizonal li:hover{background:#1bbc9b}.maptalks-toolbar-horizonal li .maptalks-dropMenu{display:block;position:absolute;left:0;overflow:visible}.maptalks-toolbar-horizonal li .maptalks-dropMenu li{list-style:none;min-width:95px;background:#223140;height:27px}.maptalks-toolbar-horizonal li .maptalks-dropMenu li+li{border-left:none;border-top:1px solid #425568}.maptalks-toolbar-horizonal li .maptalks-dropMenu li a{color:#fff;display:block;line-height:27px;background:url("+g+") no-repeat 5px 10px;text-indent:20px;text-decoration:none;font-size:12px}.maptalks-toolbar-horizonal li .maptalks-dropMenu em.maptalks-ico{display:block;width:5px;height:6px;position:absolute;top:-4px;left:12px}.maptalks-toolbar-horizonal .maptalks-dropMenu li:hover{background:#0e595e}.maptalks-menu{background:#fff;padding:1px;width:172px;border:1px solid #b4b3b3}.maptalks-menu em.maptalks-ico{display:block;width:17px;height:10px;background:url("+v+") no-repeat;position:absolute;top:-10px;left:8px}.maptalks-menu .maptalks-menu-items{color:#5a5756;margin:0;padding:0;font-size:12px}.maptalks-menu .maptalks-menu-items li{list-style:none;height:30px;line-height:30px;text-indent:16px}.maptalks-menu .maptalks-menu-items li:hover{background:#007fbe;color:#fff;cursor:pointer}.maptalks-menu .maptalks-menu-items li.maptalks-menu-splitter{list-style:none;height:2px;background:#ddd}.maptalks-msgBox{background:#fff;border:1px solid #b4b3b3;border-radius:3px}.maptalks-msgBox em.maptalks-ico{display:block;width:17px;height:10px;background:url("+y+") no-repeat;position:absolute;left:50%;margin-left:-5px;bottom:-10px}.maptalks-msgBox h2{display:block;height:30px;line-height:30px;font-weight:700;font-size:14px;padding:0 10px;margin:0}.maptalks-msgBox a.maptalks-close{display:block;width:13px;height:13px;background:url("+_+") no-repeat;position:absolute;top:8px;right:10px}.maptalks-msgBox a.maptalks-close:hover{background:url("+x+") no-repeat}.maptalks-msgBox .maptalks-msgContent{font-size:12px;padding:10px;min-width:200px}.maptalks-panel{background:#fff;border:1px solid #b4b3b3;border-radius:3px}.maptalks-panel .maptalks-panel-content{padding:10px;min-width:200px;min-height:60px}.maptalks-panel a.maptalks-close{display:block;width:6px;height:7px;background:url("+b+") no-repeat;position:absolute;top:10px;right:10px}.maptalks-panel a.maptalks-close:hover{opacity:.5}.maptalks-attribution{display:inline-block;opacity:1;background:#fff;background-color:hsla(0,0%,100%,.7);padding:0;font-size:13px;font-family:microsoft yahei,Helvetica Neue,Helvetica,sans-serif}.maptalks-attribution a{text-decoration:none;color:#0078a8}.maptalks-attribution a:hover{text-decoration:underline}.maptalks-overview{background:#fff;border:1px solid #b4b3b3;width:100%;height:100%}.maptalks-overview-button{cursor:pointer;background:#fff;width:18px;height:18px;position:absolute;bottom:1px;right:1px;font:16px sans-serif;text-align:center;line-height:16px;border:1px solid #b4b3b3;color:#363539}.maptalks-layer-switcher ul{list-style:none}.maptalks-layer-switcher .panel>ul{padding-left:1em}.maptalks-layer-switcher .group>ul{padding-left:10px}.maptalks-layer-switcher .group+.group{padding-top:1em}.maptalks-layer-switcher label{text-overflow:ellipsis;overflow:hidden;display:inline-block;font-size:14px;white-space:nowrap;color:#bbb}.maptalks-layer-switcher .group>label{font-weight:700;color:#ddd;width:100%}.maptalks-layer-switcher .layer label{padding-top:5px;width:92%}.maptalks-layer-switcher input{margin:0 5px;position:relative;top:-2px}.maptalks-layer-switcher input[disabled=disabled]{cursor:not-allowed}.maptalks-layer-switcher input[disabled=disabled]+label{color:#666}.maptalks-layer-switcher .panel,.maptalks-layer-switcher button{border-radius:4px}.maptalks-layer-switcher button{width:28px;height:28px;background:url("+w+") no-repeat 4px 4px;background-color:#172029;border:none}.maptalks-layer-switcher.shown button{display:none}.maptalks-layer-switcher .panel{background-color:#172029;display:none;overflow-y:auto;overflow-x:hidden;min-width:120px;max-width:400px;max-height:500px}.maptalks-layer-switcher li{white-space:nowrap}.maptalks-layer-switcher li.group{margin-right:1em}.maptalks-layer-switcher.shown .panel{display:block}.maptalks-layer-switcher ::-webkit-scrollbar{width:6px}.maptalks-layer-switcher ::-webkit-scrollbar-track{background-color:#1f1f1f}.maptalks-layer-switcher ::-webkit-scrollbar-thumb{border-radius:5px;background-color:#777}.maptalks-tooltip{display:block;background:#fff;border:1px solid #b4b3b3;padding:0 4px;height:24px;line-height:24px;font-size:14px;white-space:nowrap}",""]),t.exports=e},"93b5":function(t,e,n){"use strict";n("5810")},9535:function(t,e,n){"use strict";var r=n("5d20"),i=r.aTypedArray,o=r.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){for(var t,e=this,n=i(e).length,r=a(n/2),o=0;o<r;)t=e[o],e[o++]=e[--n],e[n]=t;return e}))},"959d":function(t,e,n){var r=n("79e6"),i=Math.floor,o=function(t,e){var n=t.length,c=i(n/2);return n<8?a(t,e):s(t,o(r(t,0,c),e),o(r(t,c),e),e)},a=function(t,e){for(var n,r,i=t.length,o=1;o<i;){for(r=o,n=t[o];r&&e(t[r-1],n)>0;)t[r]=t[--r];r!==o++&&(t[r]=n)}return t},s=function(t,e,n,r){for(var i=e.length,o=n.length,a=0,s=0;a<i||s<o;)t[a+s]=a<i&&s<o?r(e[a],n[s])<=0?e[a++]:n[s++]:a<i?e[a++]:n[s++];return t};t.exports=o},9699:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("2409"))},"96a7":function(t,e,n){"use strict";n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return c}));var r=6371008.8,i={centimeters:100*r,centimetres:100*r,degrees:r/111325,feet:3.28084*r,inches:39.37*r,kilometers:r/1e3,kilometres:r/1e3,meters:r,metres:r,miles:r/1609.344,millimeters:1e3*r,millimetres:1e3*r,nauticalmiles:r/1852,radians:1,yards:1.0936*r};function o(t,e){void 0===e&&(e="kilometers");var n=i[e];if(!n)throw new Error(e+" units is invalid");return t*n}function a(t){return t%(2*Math.PI)*180/Math.PI}function s(t){return t%360*Math.PI/180}function c(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)}},9801:function(t,e,n){var r=n("e1f6");t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},"9afc":function(t,e,n){var r=n("6dd3"),i=n("9699"),o=n("1c6e");r({global:!0},{Reflect:{}}),o(i.Reflect,"Reflect",!0)},"9b2d":function(t,e,n){var r=n("a7fe"),i=n("cbe4"),o=[n("e280")];t.exports=r.createStore(i,o)},"9b46":function(t,e,n){var r=n("b51b"),i=n("3d1e"),o=n("3e77"),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"9cb3":function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return r})),n("1cb1")},"9def":function(t,e,n){"use strict";(t.exports={}).forEach=function(t,e){for(var n=0;n<t.length;n++){var r=e(t[n]);if(r)return r}}},"9edc":function(t,e,n){var r=n("9699"),i=n("14b4"),o=n("b8fb"),a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not a constructor")}},a0a7:function(t,e,n){"use strict";var r=n("9699"),i=n("b51b"),o=n("163f"),a=n("5d20"),s=n("bca7"),c=n("3d1e")("iterator"),u=r.Uint8Array,l=o(s.values),h=o(s.keys),f=o(s.entries),d=a.aTypedArray,p=a.exportTypedArrayMethod,m=u&&u.prototype,g=!i((function(){m[c].call([1])})),v=!!m&&m.values&&m[c]===m.values&&"values"===m.values.name,y=function(){return l(d(this))};p("entries",(function(){return f(d(this))}),g),p("keys",(function(){return h(d(this))}),g),p("values",y,g||!v,{name:"values"}),p(c,y,g||!v,{name:"values"})},a0df:function(t,e,n){var r=n("9699"),i=n("1a30"),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},a10d:function(t,e,n){"use strict";t.exports=function(t){function e(){}var n={log:e,warn:e,error:e};if(!t&&window.console){var r=function(t,e){t[e]=function(){var t=console[e];if(t.apply)t.apply(console,arguments);else for(var n=0;n<arguments.length;n++)t(arguments[n])}};r(n,"log"),r(n,"warn"),r(n,"error")}return n}},a1a8:function(t,e,n){"use strict";function r(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=function(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}(r),o=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(o).concat([i]).join("\n")}return[n].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=r(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<t.length;s++){var c=[].concat(t[s]);r&&i[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},a22c:function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},a2b0:function(t,e,n){"use strict";var r=n("9699"),i=n("4a15"),o=n("1de0"),a=n("4f4c"),s=r.TypeError,c=function(t,e,n,r,u,l,h,f){for(var d,p,m=u,g=0,v=!!h&&a(h,f);g<r;){if(g in n){if(d=v?v(n[g],g,e):n[g],l>0&&i(d))p=o(d),m=c(t,e,d,p,m,l-1)-1;else{if(m>=9007199254740991)throw s("Exceed the acceptable array length");t[m]=d}m++}g++}return m};t.exports=c},a2f4:function(t,e,n){"use strict";var r=n("a22c"),i=n("163f"),o=n("8ea6"),a=n("40ac"),s=n("fde0"),c=n("2d62"),u=n("3ab7"),l=n("647c").get,h=n("f4f5"),f=n("c2d5"),d=c("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,m=p,g=i("".charAt),v=i("".indexOf),y=i("".replace),_=i("".slice),x=function(){var t=/a/,e=/b*/g;return r(p,t,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),b=s.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];(x||w||b||h||f)&&(m=function(t){var e,n,i,s,c,h,f,M=this,S=l(M),A=o(t),C=S.raw;if(C)return C.lastIndex=M.lastIndex,e=r(m,C,A),M.lastIndex=C.lastIndex,e;var E=S.groups,T=b&&M.sticky,I=r(a,M),L=M.source,P=0,R=A;if(T&&(I=y(I,"y",""),-1===v(I,"g")&&(I+="g"),R=_(A,M.lastIndex),M.lastIndex>0&&(!M.multiline||M.multiline&&"\n"!==g(A,M.lastIndex-1))&&(L="(?: "+L+")",R=" "+R,P++),n=new RegExp("^(?:"+L+")",I)),w&&(n=new RegExp("^"+L+"$(?!\\s)",I)),x&&(i=M.lastIndex),s=r(p,T?n:M,R),T?s?(s.input=_(s.input,P),s[0]=_(s[0],P),s.index=M.lastIndex,M.lastIndex+=s[0].length):M.lastIndex=0:x&&s&&(M.lastIndex=M.global?s.index+s[0].length:i),w&&s&&s.length>1&&r(d,s[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(s[c]=void 0)})),s&&E)for(s.groups=h=u(null),c=0;c<E.length;c++)h[(f=E[c])[0]]=s[f[1]];return s}),t.exports=m},a421:function(t,e,n){"use strict";var r=n("9def").forEach;t.exports=function(t){var e=(t=t||{}).reporter,n=t.batchProcessor,i=t.stateHandler.getState,o=(t.stateHandler.hasState,t.idHandler);if(!n)throw new Error("Missing required dependency: batchProcessor");if(!e)throw new Error("Missing required dependency: reporter.");var a=function(){var t=500,e=500,n=document.createElement("div");n.style.cssText=u(["position: absolute","width: 1000px","height: 1000px","visibility: hidden","margin: 0","padding: 0"]);var r=document.createElement("div");r.style.cssText=u(["position: absolute","width: 500px","height: 500px","overflow: scroll","visibility: none","top: -1500px","left: -1500px","visibility: hidden","margin: 0","padding: 0"]),r.appendChild(n),document.body.insertBefore(r,document.body.firstChild);var i=t-r.clientWidth,o=e-r.clientHeight;return document.body.removeChild(r),{width:i,height:o}}(),s="erd_scroll_detection_container";function c(t){!function(t,e,n){if(!t.getElementById(e)){var r=n+"_animation",i=n+"_animation_active",o="/* Created by the element-resize-detector library. */\n";o+="."+n+" > div::-webkit-scrollbar { "+u(["display: none"])+" }\n\n",o+="."+i+" { "+u(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+r,"animation-name: "+r])+" }\n",o+="@-webkit-keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",function(n,r){r=r||function(e){t.head.appendChild(e)};var i=t.createElement("style");i.innerHTML=n,i.id=e,r(i)}(o+="@keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}(t,"erd_scroll_detection_scrollbar_style",s)}function u(e){var n=t.important?" !important; ":"; ";return(e.join(n)+n).trim()}function l(t,n,r){if(t.addEventListener)t.addEventListener(n,r);else{if(!t.attachEvent)return e.error("[scroll] Don't know how to add event listeners.");t.attachEvent("on"+n,r)}}function h(t,n,r){if(t.removeEventListener)t.removeEventListener(n,r);else{if(!t.detachEvent)return e.error("[scroll] Don't know how to remove event listeners.");t.detachEvent("on"+n,r)}}function f(t){return i(t).container.childNodes[0].childNodes[0].childNodes[0]}function d(t){return i(t).container.childNodes[0].childNodes[0].childNodes[1]}return c(window.document),{makeDetectable:function(t,c,h){function p(){if(t.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(o.get(c),"Scroll: "),e.log.apply)e.log.apply(null,n);else for(var r=0;r<n.length;r++)e.log(n[r])}}function m(t){var e=i(t).container.childNodes[0],n=window.getComputedStyle(e);return!n.width||-1===n.width.indexOf("px")}function g(){var t=window.getComputedStyle(c),e={};return e.position=t.position,e.width=c.offsetWidth,e.height=c.offsetHeight,e.top=t.top,e.right=t.right,e.bottom=t.bottom,e.left=t.left,e.widthCSS=t.width,e.heightCSS=t.height,e}function v(){if(p("storeStyle invoked."),i(c)){var t=g();i(c).style=t}else p("Aborting because element has been uninstalled")}function y(t,e,n){i(t).lastWidth=e,i(t).lastHeight=n}function _(){return 2*a.width+1}function x(){return 2*a.height+1}function b(t){return t+10+_()}function w(t){return t+10+x()}function M(t,e,n){var r=f(t),i=d(t),o=b(e),a=w(n),s=function(t){return 2*t+_()}(e),c=function(t){return 2*t+x()}(n);r.scrollLeft=o,r.scrollTop=a,i.scrollLeft=s,i.scrollTop=c}function S(){var t=i(c).container;if(!t){(t=document.createElement("div")).className=s,t.style.cssText=u(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),i(c).container=t,function(t){t.className+=" "+s+"_animation_active"}(t),c.appendChild(t);var e=function(){i(c).onRendered&&i(c).onRendered()};l(t,"animationstart",e),i(c).onAnimationStart=e}return t}function A(){if(p("Injecting elements"),i(c)){!function(){var n=i(c).style;if("static"===n.position){c.style.setProperty("position","relative",t.important?"important":"");var r=function(t,e,n,r){var i=n[r];"auto"!==i&&"0"!==function(t){return t.replace(/[^-\d\.]/g,"")}(i)&&(t.warn("An element that is positioned static has style."+r+"="+i+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",e),e.style[r]=0)};r(e,c,n,"top"),r(e,c,n,"right"),r(e,c,n,"bottom"),r(e,c,n,"left")}}();var n=i(c).container;n||(n=S());var r=a.width,o=a.height,h=u(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),f=u(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(function(t,e,n,r){return["left: "+(t=t?t+"px":"0"),"top: "+(e=e?e+"px":"0"),"right: "+(r=r?r+"px":"0"),"bottom: "+(n=n?n+"px":"0")]}(-(1+r),-(1+o),-o,-r))),d=u(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),m=u(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),g=u(["position: absolute","left: 0","top: 0"]),v=u(["position: absolute","width: 200%","height: 200%"]),y=document.createElement("div"),_=document.createElement("div"),x=document.createElement("div"),b=document.createElement("div"),w=document.createElement("div"),M=document.createElement("div");y.dir="ltr",y.style.cssText=h,y.className=s,_.className=s,_.style.cssText=f,x.style.cssText=d,b.style.cssText=g,w.style.cssText=m,M.style.cssText=v,x.appendChild(b),w.appendChild(M),_.appendChild(x),_.appendChild(w),y.appendChild(_),n.appendChild(y),l(x,"scroll",A),l(w,"scroll",C),i(c).onExpandScroll=A,i(c).onShrinkScroll=C}else p("Aborting because element has been uninstalled");function A(){var t=i(c);t&&t.onExpand?t.onExpand():p("Aborting expand scroll handler: element has been uninstalled")}function C(){var t=i(c);t&&t.onShrink?t.onShrink():p("Aborting shrink scroll handler: element has been uninstalled")}}function C(){function a(e,n,r){var i=function(t){return f(t).childNodes[0]}(e),o=b(n),a=w(r);i.style.setProperty("width",o+"px",t.important?"important":""),i.style.setProperty("height",a+"px",t.important?"important":"")}function s(r){var s=c.offsetWidth,l=c.offsetHeight,h=s!==i(c).lastWidth||l!==i(c).lastHeight;p("Storing current size",s,l),y(c,s,l),n.add(0,(function(){if(h)if(i(c))if(u()){if(t.debug){var n=c.offsetWidth,r=c.offsetHeight;n===s&&r===l||e.warn(o.get(c),"Scroll: Size changed before updating detector elements.")}a(c,s,l)}else p("Aborting because element container has not been initialized");else p("Aborting because element has been uninstalled")})),n.add(1,(function(){i(c)?u()?M(c,s,l):p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")})),h&&r&&n.add(2,(function(){i(c)?u()?r():p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")}))}function u(){return!!i(c).container}function l(){p("notifyListenersIfNeeded invoked");var t=i(c);return void 0===i(c).lastNotifiedWidth&&t.lastWidth===t.startSize.width&&t.lastHeight===t.startSize.height?p("Not notifying: Size is the same as the start size, and there has been no notification yet."):t.lastWidth===t.lastNotifiedWidth&&t.lastHeight===t.lastNotifiedHeight?p("Not notifying: Size already notified"):(p("Current size not notified, notifying..."),t.lastNotifiedWidth=t.lastWidth,t.lastNotifiedHeight=t.lastHeight,void r(i(c).listeners,(function(t){t(c)})))}function h(){p("Scroll detected."),m(c)?p("Scroll event fired while unrendered. Ignoring..."):s(l)}if(p("registerListenersAndPositionElements invoked."),i(c)){i(c).onRendered=function(){if(p("startanimation triggered."),m(c))p("Ignoring since element is still unrendered...");else{p("Element rendered.");var t=f(c),e=d(c);0!==t.scrollLeft&&0!==t.scrollTop&&0!==e.scrollLeft&&0!==e.scrollTop||(p("Scrollbars out of sync. Updating detector elements..."),s(l))}},i(c).onExpand=h,i(c).onShrink=h;var g=i(c).style;a(c,g.width,g.height)}else p("Aborting because element has been uninstalled")}function E(){if(p("finalizeDomMutation invoked."),i(c)){var t=i(c).style;y(c,t.width,t.height),M(c,t.width,t.height)}else p("Aborting because element has been uninstalled")}function T(){h(c)}function I(){p("Installing..."),i(c).listeners=[],function(){var t=g();i(c).startSize={width:t.width,height:t.height},p("Element start size",i(c).startSize)}(),n.add(0,v),n.add(1,A),n.add(2,C),n.add(3,E),n.add(4,T)}h||(h=c,c=t,t=null),t=t||{},p("Making detectable..."),function(t){return!function(t){var e=t.getRootNode&&t.getRootNode().contains(t);return t===t.ownerDocument.body||t.ownerDocument.body.contains(t)||e}(t)||null===window.getComputedStyle(t)}(c)?(p("Element is detached"),S(),p("Waiting until element is attached..."),i(c).onRendered=function(){p("Element is now attached"),I()}):I()},addListener:function(t,e){if(!i(t).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");i(t).listeners.push(e)},uninstall:function(t){var e=i(t);e&&(e.onExpandScroll&&h(f(t),"scroll",e.onExpandScroll),e.onShrinkScroll&&h(d(t),"scroll",e.onShrinkScroll),e.onAnimationStart&&h(e.container,"animationstart",e.onAnimationStart),e.container&&t.removeChild(e.container))},initDocument:c}}},a504:function(t,e,n){"use strict";var r=n("9def").forEach,i=n("71f5"),o=n("ccb2"),a=n("c419"),s=n("02c5"),c=n("a10d"),u=n("ecff"),l=n("b0d6"),h=n("152f"),f=n("64c3"),d=n("a421");function p(t){return Array.isArray(t)||void 0!==t.length}function m(t){if(Array.isArray(t))return t;var e=[];return r(t,(function(t){e.push(t)})),e}function g(t){return t&&1===t.nodeType}function v(t,e,n){var r=t[e];return null!=r||void 0===n?r:n}t.exports=function(t){var e;if((t=t||{}).idHandler)e={get:function(e){return t.idHandler.get(e,!0)},set:t.idHandler.set};else{var n=a(),y=s({idGenerator:n,stateHandler:h});e=y}var _=t.reporter;_||(_=c(!1===_));var x=v(t,"batchProcessor",l({reporter:_})),b={};b.callOnAdd=!!v(t,"callOnAdd",!0),b.debug=!!v(t,"debug",!1);var w,M=o(e),S=i({stateHandler:h}),A=v(t,"strategy","object"),C=v(t,"important",!1),E={reporter:_,batchProcessor:x,stateHandler:h,idHandler:e,important:C};if("scroll"===A&&(u.isLegacyOpera()?(_.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),A="object"):u.isIE(9)&&(_.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),A="object")),"scroll"===A)w=d(E);else{if("object"!==A)throw new Error("Invalid strategy name: "+A);w=f(E)}var T={};return{listenTo:function(t,n,i){function o(t){var e=M.get(t);r(e,(function(e){e(t)}))}function a(t,e,n){M.add(e,n),t&&n(e)}if(i||(i=n,n=t,t={}),!n)throw new Error("At least one element required.");if(!i)throw new Error("Listener required.");if(g(n))n=[n];else{if(!p(n))return _.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");n=m(n)}var s=0,c=v(t,"callOnAdd",b.callOnAdd),u=v(t,"onReady",(function(){})),l=v(t,"debug",b.debug);r(n,(function(t){h.getState(t)||(h.initState(t),e.set(t));var f=e.get(t);if(l&&_.log("Attaching listener to element",f,t),!S.isDetectable(t))return l&&_.log(f,"Not detectable."),S.isBusy(t)?(l&&_.log(f,"System busy making it detectable"),a(c,t,i),T[f]=T[f]||[],void T[f].push((function(){++s===n.length&&u()}))):(l&&_.log(f,"Making detectable..."),S.markBusy(t,!0),w.makeDetectable({debug:l,important:C},t,(function(t){if(l&&_.log(f,"onElementDetectable"),h.getState(t)){S.markAsDetectable(t),S.markBusy(t,!1),w.addListener(t,o),a(c,t,i);var e=h.getState(t);if(e&&e.startSize){var d=t.offsetWidth,p=t.offsetHeight;e.startSize.width===d&&e.startSize.height===p||o(t)}T[f]&&r(T[f],(function(t){t()}))}else l&&_.log(f,"Element uninstalled before being detectable.");delete T[f],++s===n.length&&u()})));l&&_.log(f,"Already detecable, adding listener."),a(c,t,i),s++})),s===n.length&&u()},removeListener:M.removeListener,removeAllListeners:M.removeAllListeners,uninstall:function(t){if(!t)return _.error("At least one element is required.");if(g(t))t=[t];else{if(!p(t))return _.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");t=m(t)}r(t,(function(t){M.removeAllListeners(t),w.uninstall(t),h.cleanState(t)}))},initDocument:function(t){w.initDocument&&w.initDocument(t)}}}},a625:function(t,e,n){var r=n("9699"),i=n("4c74"),o=n("e1f6"),a=n("ed2b"),s=n("085d"),c=n("0b7c"),u=s("IE_PROTO"),l=r.Object,h=l.prototype;t.exports=c?l.getPrototypeOf:function(t){var e=a(t);if(i(e,u))return e[u];var n=e.constructor;return o(n)&&e instanceof n?n.prototype:e instanceof l?h:null}},a6a2:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("3a92"),n("39dd"),n("1b03");var r={factor:{aqi:{unit:"",name:"AQI",colorMap:{"00e400":[0,50],ffff00:[50,100],ff7e00:[100,150],ff0000:[150,200],"99004c":[200,300],"7e0023":[300,500],"6e6e6e":[500]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},pm25:{unit:"μg/m³",name:"PM2.5",colorMap:{"00e400":[0,35],ffff00:[35,75],ff7e00:[75,115],ff0000:[115,150],"99004c":[150,250],"7e0023":[250,500],"7e0022":[500]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},pm10:{unit:"μg/m³",name:"PM10",colorMap:{"00e400":[0,50],ffff00:[50,150],ff7e00:[150,250],ff0000:[250,350],"99004c":[350,420],"7e0023":[420,600],"7e0022":[600]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},so2:{unit:"μg/m³",name:"SO₂",colorMap:{"00e400":[0,50],ffff00:[50,150],ff7e00:[150,475],ff0000:[475,800],"99004c":[800,1600],"7e0023":[1600,2620],"6e6e6e":[2620]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},no2:{unit:"μg/m³",name:"NO₂",colorMap:{"00e400":[0,40],ffff00:[40,80],ff7e00:[80,180],ff0000:[180,280],"99004c":[280,565],"7e0023":[565,940],"6e6e6e":[940]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},co:{unit:"mg/m³",name:"CO",colorMap:{"00e400":[0,2],ffff00:[2,4],ff7e00:[4,14],ff0000:[14,24],"99004c":[24,36],"7e0023":[36,60],"6e6e6e":[60]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},o3:{unit:"μg/m³",name:"O₃",colorMap:{"00e400":[0,100],ffff00:[100,160],ff7e00:[160,215],ff0000:[215,265],"99004c":[265,800],"7e0023":[800,1200],"6e6e6e":[1200]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},ci:{unit:"μg/m³",name:"CI",colorMap:{"00e400":[0,1.3],ffff00:[1.3,4],ff7e00:[4,8],ff0000:[8,12],"99004c":[12,20],"7e0023":[20]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},tsp:{unit:"μg/m³",name:"TSP",colorMap:{"00e400":[0,120],ffff00:[120,300],ff7e00:[300,400],ff0000:[400,500],"99004c":[500,625],"7e0023":[625,3e3],"6e6e6e":[3e3]},degreeMap:{"00e400":"",ffff00:"",ff7e00:"",ff0000:"","99004c":"","7e0023":""}},voc:{unit:"mg/m³",name:"VOC",colorMap:{"00e400":[0,.19],ffff00:[.19,.59],ff7e00:[.59,1.79],ff0000:[1.79,2.29],"99004c":[2.29,3],"7e0023":[3]},degreeMap:{"00e400":"",ffff00:"",ff7e00:"",ff0000:"","99004c":"","7e0023":""}},temperature:{unit:"℃",name:"温度",colorMap:{"8274cc":[-40,-30],acb3e2:[-30,-20],"95d0d8":[-20,-10],"61afff":[-10,0],"87b922":[0,10],e5aa06:[10,20],e45914:[20,30],"8a2b0a":[30]},degreeMap:{"8274cc":"",acb3e2:"","95d0d8":"","61afff":"","87b922":"",e5aa06:"",e45914:"","8a2b0a":""}},humidity:{unit:"%",name:"湿度",colorMap:{c4be20:[0,20],c4be21:[20,40],"4fcb46":[40,60],"45afde":[60,80],"6661f1":[80]},degreeMap:{c4be20:"",c4be21:"","4fcb46":"","45afde":"","6661f1":""}},pressure:{unit:"Pa",name:"气压",colorMap:{"6493FF":[1,1e17]},degreeMap:{"6493FF":""}}},colorForValue:{"00e400":"优",ffff00:"良",ff7e00:"轻度",ff0000:"中度","99004c":"重度","7e0023":"严重","6e6e6e":"无"},colorForFont:{"#00e400":"#000","#ffff00":"#000","#ff7e00":"#fff","#ff0000":"#fff","#99004c":"#fff","#7e0023":"#fff","#6e6e6e":"#fff"},wind:{"东北⻛":[22.5,67.5],"东⻛":[67.5,112.5],"东南⻛":[112.5,157.5],"南⻛":[157.5,202.5],"⻄南⻛":[202.5,247.5],"⻄⻛":[247.5,292.5],"⻄北⻛":[292.5,337.5]},windLevel:{"0级":[0,.2],"1级":[.2,1.5],"2级":[1.5,3.3],"3级":[3.3,5.4],"4级":[5.4,7.9],"5级":[7.9,10.7],"6级":[10.7,13.8],"7级":[13.8,17.1],"8级":[17.1,20.7],"9级":[20.7,24.4],"10级":[24.4,28.4],"11级":[28.4,32.6]},windLevelZh:{"零级(⽆⻛)":[0,.2],"⼀级(软⻛)":[.2,1.5],"⼆级(轻⻛)":[1.5,3.3],"三级(微⻛)":[3.3,5.4],"四级(和⻛)":[5.4,7.9],"五级(劲⻛)":[7.9,10.7],"六级(强⻛)":[10.7,13.8],"七级(疾⻛)":[13.8,17.1],"⼋级(⼤⻛)":[17.1,20.7],"九级(烈⻛)":[20.7,24.4],"⼗级(狂⻛)":[24.4,28.4],"⼗⼀级(暴⻛)":[28.4,32.6]}},i=function(t,e){return r.colorForFont[function(t,e){if(!e)return"#8a97a0";var n=(r.factor[e]||r.factor[e.toLowerCase()]||{}).colorMap;if(!n)return"#8a97a0";for(var i in t=+t,n){if(1===n[i].length&&n[i][0]<t)return"#"+i;if(n[i][0]<t&&t<=n[i][1])return"#"+i}return"#8a97a0"}(t,e.toLowerCase())]}},a7fe:function(t,e,n){var r=n("3a40"),i=r.slice,o=r.pluck,a=r.each,s=r.bind,c=r.create,u=r.isList,l=r.isFunction,h=r.isObject;t.exports={createStore:d};var f={version:"2.0.12",enabled:!1,get:function(t,e){var n=this.storage.read(this._namespacePrefix+t);return this._deserialize(n,e)},set:function(t,e){return void 0===e?this.remove(t):(this.storage.write(this._namespacePrefix+t,this._serialize(e)),e)},remove:function(t){this.storage.remove(this._namespacePrefix+t)},each:function(t){var e=this;this.storage.each((function(n,r){t.call(e,e._deserialize(n),(r||"").replace(e._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(t){return this._namespacePrefix=="__storejs_"+t+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(t){this._addPlugin(t)},namespace:function(t){return d(this.storage,this.plugins,t)}};function d(t,e,n){n||(n=""),t&&!u(t)&&(t=[t]),e&&!u(e)&&(e=[e]);var r=n?"__storejs_"+n+"_":"",d=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var p=c({_namespacePrefix:r,_namespaceRegexp:d,_testStorage:function(t){try{var e="__storejs__test__";t.write(e,e);var n=t.read(e)===e;return t.remove(e),n}catch(t){return!1}},_assignPluginFnProp:function(t,e){var n=this[e];this[e]=function(){var e=i(arguments,0),r=this;function o(){if(n)return a(arguments,(function(t,n){e[n]=t})),n.apply(r,e)}var s=[o].concat(e);return t.apply(r,s)}},_serialize:function(t){return JSON.stringify(t)},_deserialize:function(t,e){if(!t)return e;var n="";try{n=JSON.parse(t)}catch(e){n=t}return void 0!==n?n:e},_addStorage:function(t){this.enabled||this._testStorage(t)&&(this.storage=t,this.enabled=!0)},_addPlugin:function(t){var e=this;if(u(t))a(t,(function(t){e._addPlugin(t)}));else if(!o(this.plugins,(function(e){return t===e}))){if(this.plugins.push(t),!l(t))throw new Error("Plugins must be function values that return objects");var n=t.call(this);if(!h(n))throw new Error("Plugins must return an object of function properties");a(n,(function(n,r){if(!l(n))throw new Error("Bad plugin property: "+r+" from plugin "+t.name+". Plugins should only return functions.");e._assignPluginFnProp(n,r)}))}},addStorage:function(t){(function(){var t="undefined"==typeof console?null:console;if(t){var e=t.warn?t.warn:t.log;e.apply(t,arguments)}})("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(t)}},f,{plugins:[]});return p.raw={},a(p,(function(t,e){l(t)&&(p.raw[e]=s(p,t))})),a(t,(function(t){p._addStorage(t)})),a(e,(function(t){p._addPlugin(t)})),p}},a91d:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAKN2lDQ1BzUkdCIElFQzYxOTY2LTIuMQAAeJydlndUU9kWh8+9N71QkhCKlNBraFICSA29SJEuKjEJEErAkAAiNkRUcERRkaYIMijggKNDkbEiioUBUbHrBBlE1HFwFBuWSWStGd+8ee/Nm98f935rn73P3Wfvfda6AJD8gwXCTFgJgAyhWBTh58WIjYtnYAcBDPAAA2wA4HCzs0IW+EYCmQJ82IxsmRP4F726DiD5+yrTP4zBAP+flLlZIjEAUJiM5/L42VwZF8k4PVecJbdPyZi2NE3OMErOIlmCMlaTc/IsW3z2mWUPOfMyhDwZy3PO4mXw5Nwn4405Er6MkWAZF+cI+LkyviZjg3RJhkDGb+SxGXxONgAoktwu5nNTZGwtY5IoMoIt43kA4EjJX/DSL1jMzxPLD8XOzFouEiSniBkmXFOGjZMTi+HPz03ni8XMMA43jSPiMdiZGVkc4XIAZs/8WRR5bRmyIjvYODk4MG0tbb4o1H9d/JuS93aWXoR/7hlEH/jD9ld+mQ0AsKZltdn6h21pFQBd6wFQu/2HzWAvAIqyvnUOfXEeunxeUsTiLGcrq9zcXEsBn2spL+jv+p8Of0NffM9Svt3v5WF485M4knQxQ143bmZ6pkTEyM7icPkM5p+H+B8H/nUeFhH8JL6IL5RFRMumTCBMlrVbyBOIBZlChkD4n5r4D8P+pNm5lona+BHQllgCpSEaQH4eACgqESAJe2Qr0O99C8ZHA/nNi9GZmJ37z4L+fVe4TP7IFiR/jmNHRDK4ElHO7Jr8WgI0IABFQAPqQBvoAxPABLbAEbgAD+ADAkEoiARxYDHgghSQAUQgFxSAtaAYlIKtYCeoBnWgETSDNnAYdIFj4DQ4By6By2AE3AFSMA6egCnwCsxAEISFyBAVUod0IEPIHLKFWJAb5AMFQxFQHJQIJUNCSAIVQOugUqgcqobqoWboW+godBq6AA1Dt6BRaBL6FXoHIzAJpsFasBFsBbNgTzgIjoQXwcnwMjgfLoK3wJVwA3wQ7oRPw5fgEVgKP4GnEYAQETqiizARFsJGQpF4JAkRIauQEqQCaUDakB6kH7mKSJGnyFsUBkVFMVBMlAvKHxWF4qKWoVahNqOqUQdQnag+1FXUKGoK9RFNRmuizdHO6AB0LDoZnYsuRlegm9Ad6LPoEfQ4+hUGg6FjjDGOGH9MHCYVswKzGbMb0445hRnGjGGmsVisOtYc64oNxXKwYmwxtgp7EHsSewU7jn2DI+J0cLY4X1w8TogrxFXgWnAncFdwE7gZvBLeEO+MD8Xz8MvxZfhGfA9+CD+OnyEoE4wJroRIQiphLaGS0EY4S7hLeEEkEvWITsRwooC4hlhJPEQ8TxwlviVRSGYkNimBJCFtIe0nnSLdIr0gk8lGZA9yPFlM3kJuJp8h3ye/UaAqWCoEKPAUVivUKHQqXFF4pohXNFT0VFysmK9YoXhEcUjxqRJeyUiJrcRRWqVUo3RU6YbStDJV2UY5VDlDebNyi/IF5UcULMWI4kPhUYoo+yhnKGNUhKpPZVO51HXURupZ6jgNQzOmBdBSaaW0b2iDtCkVioqdSrRKnkqNynEVKR2hG9ED6On0Mvph+nX6O1UtVU9Vvuom1TbVK6qv1eaoeajx1UrU2tVG1N6pM9R91NPUt6l3qd/TQGmYaYRr5Grs0Tir8XQObY7LHO6ckjmH59zWhDXNNCM0V2ju0xzQnNbS1vLTytKq0jqj9VSbru2hnaq9Q/uE9qQOVcdNR6CzQ+ekzmOGCsOTkc6oZPQxpnQ1df11Jbr1uoO6M3rGelF6hXrtevf0Cfos/ST9Hfq9+lMGOgYhBgUGrQa3DfGGLMMUw12G/YavjYyNYow2GHUZPTJWMw4wzjduNb5rQjZxN1lm0mByzRRjyjJNM91tetkMNrM3SzGrMRsyh80dzAXmu82HLdAWThZCiwaLG0wS05OZw2xljlrSLYMtCy27LJ9ZGVjFW22z6rf6aG1vnW7daH3HhmITaFNo02Pzq62ZLde2xvbaXPJc37mr53bPfW5nbse322N3055qH2K/wb7X/oODo4PIoc1h0tHAMdGx1vEGi8YKY21mnXdCO3k5rXY65vTW2cFZ7HzY+RcXpkuaS4vLo3nG8/jzGueNueq5clzrXaVuDLdEt71uUnddd457g/sDD30PnkeTx4SnqWeq50HPZ17WXiKvDq/XbGf2SvYpb8Tbz7vEe9CH4hPlU+1z31fPN9m31XfKz95vhd8pf7R/kP82/xsBWgHcgOaAqUDHwJWBfUGkoAVB1UEPgs2CRcE9IXBIYMj2kLvzDecL53eFgtCA0O2h98KMw5aFfR+OCQ8Lrwl/GGETURDRv4C6YMmClgWvIr0iyyLvRJlESaJ6oxWjE6Kbo1/HeMeUx0hjrWJXxl6K04gTxHXHY+Oj45vipxf6LNy5cDzBPqE44foi40V5iy4s1licvvj4EsUlnCVHEtGJMYktie85oZwGzvTSgKW1S6e4bO4u7hOeB28Hb5Lvyi/nTyS5JpUnPUp2Td6ePJninlKR8lTAFlQLnqf6p9alvk4LTduf9ik9Jr09A5eRmHFUSBGmCfsytTPzMoezzLOKs6TLnJftXDYlChI1ZUPZi7K7xTTZz9SAxESyXjKa45ZTk/MmNzr3SJ5ynjBvYLnZ8k3LJ/J9879egVrBXdFboFuwtmB0pefK+lXQqqWrelfrry5aPb7Gb82BtYS1aWt/KLQuLC98uS5mXU+RVtGaorH1futbixWKRcU3NrhsqNuI2ijYOLhp7qaqTR9LeCUXS61LK0rfb+ZuvviVzVeVX33akrRlsMyhbM9WzFbh1uvb3LcdKFcuzy8f2x6yvXMHY0fJjpc7l+y8UGFXUbeLsEuyS1oZXNldZVC1tep9dUr1SI1XTXutZu2m2te7ebuv7PHY01anVVda926vYO/Ner/6zgajhop9mH05+x42Rjf2f836urlJo6m06cN+4X7pgYgDfc2Ozc0tmi1lrXCrpHXyYMLBy994f9Pdxmyrb6e3lx4ChySHHn+b+O31w0GHe4+wjrR9Z/hdbQe1o6QT6lzeOdWV0iXtjusePhp4tLfHpafje8vv9x/TPVZzXOV42QnCiaITn07mn5w+lXXq6enk02O9S3rvnIk9c60vvG/wbNDZ8+d8z53p9+w/ed71/LELzheOXmRd7LrkcKlzwH6g4wf7HzoGHQY7hxyHui87Xe4Znjd84or7ldNXva+euxZw7dLI/JHh61HXb95IuCG9ybv56Fb6ree3c27P3FlzF3235J7SvYr7mvcbfjT9sV3qID0+6j068GDBgztj3LEnP2X/9H686CH5YcWEzkTzI9tHxyZ9Jy8/Xvh4/EnWk5mnxT8r/1z7zOTZd794/DIwFTs1/lz0/NOvm1+ov9j/0u5l73TY9P1XGa9mXpe8UX9z4C3rbf+7mHcTM7nvse8rP5h+6PkY9PHup4xPn34D94Tz+49wZioAAAAJcEhZcwAACxIAAAsSAdLdfvwAAADrSURBVHicY/n//z8DqYAFRDAxMTESq+Hfv3//WUi2BmYTMmhqatL7+/fv5cbGxv/19fWSbGxsf6urq1/h1ARU5A+0fj0jI+MsILsXKLTv169fP1atWqUeFhb2D6smFhaWi3/+/HkMZKYBNcYBA4kDyJ6NrAFDU21t7QOgDSlA5k6QBqDGW0A6C6+fmpublYA2zQOxgRq+ATWoAZnTgDgdpyagBk0gJQXUMI2ZmbkPyN8P5DsAbWcFBsxvrJqAEluBtmkDFd8EOvV/a2urOTAg/iJrwNAE9dcNGBsY1C/Q5bFqIgaANYGSBimaAADgbhvLwt8+AAAAAElFTkSuQmCC"},a9ff:function(t,e,n){"use strict";var r=n("9699"),i=n("163f"),o=n("8e24"),a=n("5544"),s=n("d44f"),c=n("4efa"),u=n("1706"),l=n("b51b"),h=n("f9fa"),f=n("2c81"),d=n("2e39"),p=n("481a"),m=n("fe89"),g=n("a625"),v=n("ae62"),y=n("7970").f,_=n("dcc6").f,x=n("9091"),b=n("79e6"),w=n("1c6e"),M=n("647c"),S=s.PROPER,A=s.CONFIGURABLE,C=M.get,E=M.set,T="ArrayBuffer",I="DataView",L="prototype",P="Wrong index",R=r[T],O=R,k=O&&O[L],B=r[I],D=B&&B[L],F=Object.prototype,U=r.Array,j=r.RangeError,N=i(x),G=i([].reverse),z=m.pack,H=m.unpack,W=function(t){return[255&t]},V=function(t){return[255&t,t>>8&255]},Z=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},Q=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},X=function(t){return z(t,23,4)},Y=function(t){return z(t,52,8)},J=function(t,e){_(t[L],e,{get:function(){return C(this)[e]}})},q=function(t,e,n,r){var i=p(n),o=C(t);if(i+e>o.byteLength)throw j(P);var a=C(o.buffer).bytes,s=i+o.byteOffset,c=b(a,s,s+e);return r?c:G(c)},K=function(t,e,n,r,i,o){var a=p(n),s=C(t);if(a+e>s.byteLength)throw j(P);for(var c=C(s.buffer).bytes,u=a+s.byteOffset,l=r(+i),h=0;h<e;h++)c[u+h]=l[o?h:e-h-1]};if(a){var $=S&&R.name!==T;if(l((function(){R(1)}))&&l((function(){new R(-1)}))&&!l((function(){return new R,new R(1.5),new R(NaN),$&&!A})))$&&A&&c(R,"name",T);else{(O=function(t){return h(this,k),new R(p(t))})[L]=k;for(var tt,et=y(R),nt=0;et.length>nt;)(tt=et[nt++])in O||c(O,tt,R[tt]);k.constructor=O}v&&g(D)!==F&&v(D,F);var rt=new B(new O(2)),it=i(D.setInt8);rt.setInt8(0,2147483648),rt.setInt8(1,2147483649),!rt.getInt8(0)&&rt.getInt8(1)||u(D,{setInt8:function(t,e){it(this,t,e<<24>>24)},setUint8:function(t,e){it(this,t,e<<24>>24)}},{unsafe:!0})}else k=(O=function(t){h(this,k);var e=p(t);E(this,{bytes:N(U(e),0),byteLength:e}),o||(this.byteLength=e)})[L],D=(B=function(t,e,n){h(this,D),h(t,k);var r=C(t).byteLength,i=f(e);if(i<0||i>r)throw j("Wrong offset");if(i+(n=void 0===n?r-i:d(n))>r)throw j("Wrong length");E(this,{buffer:t,byteLength:n,byteOffset:i}),o||(this.buffer=t,this.byteLength=n,this.byteOffset=i)})[L],o&&(J(O,"byteLength"),J(B,"buffer"),J(B,"byteLength"),J(B,"byteOffset")),u(D,{getInt8:function(t){return q(this,1,t)[0]<<24>>24},getUint8:function(t){return q(this,1,t)[0]},getInt16:function(t){var e=q(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=q(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return Q(q(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return Q(q(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return H(q(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return H(q(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){K(this,1,t,W,e)},setUint8:function(t,e){K(this,1,t,W,e)},setInt16:function(t,e){K(this,2,t,V,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){K(this,2,t,V,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){K(this,4,t,Z,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){K(this,4,t,Z,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){K(this,4,t,X,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){K(this,8,t,Y,e,arguments.length>2?arguments[2]:void 0)}});w(O,T),w(B,I),t.exports={ArrayBuffer:O,DataView:B}},aa5a:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAUCAYAAABvVQZ0AAAAAXNSR0IArs4c6QAAAUVJREFUOBGdkjFuAjEQRUmBqJC4AvWWSCm24xp0EX3Sp9uLIOUQaejSUXEMGhSJGyzvOx7Ha3mMxEgf2+M/j/HAbNaIcRxXaECnuK4a9vpVBrmxz0NnwR9DZYrmHHIkt0NaLXwoDg/S573j65EP5fIDlZ1MIDlQewf6rosrsvhm83gef0C9Rn6Lq2Ab5LdetIXXG8kmWTE159GA/I8EU4dejepAv8i7c1U96vTMC1L8oG0DKo/GkTqRH6lOcRFsj351ilGDDtx5EJWpfh8aYbNEnzHJEmIClZHsFilvIYjqlgZacJhHswd9w+NCVI8W+rYz0nAHFP5jrDUo6fCc1In8SHWqPwt2QBYeVF15EKs92FN7MkfLsk6gwcQH+bwTs6su/TjmldmDrrmz57QhiRY3FagBtNY7KSHluYA+B6lAX8pc7XwHMYFxBb/kUuEAAAAASUVORK5CYII="},aa9c:function(t,e,n){var r=n("5a28");t.exports=/MSIE|Trident/.test(r)},acb4:function(t,e,n){var r=n("f18d");r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("5925").default)("8b59ec86",r,!0,{sourceMap:!1,shadowMode:!1})},adb6:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.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}}),t.webpackPolyfill=1),t}},ae62:function(t,e,n){var r=n("163f"),i=n("235f"),o=n("759a");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},aee5:function(t,e,n){var r=n("4f4c"),i=n("163f"),o=n("efd0"),a=n("ed2b"),s=n("1de0"),c=n("7f81"),u=i([].push),l=function(t){var e=1==t,n=2==t,i=3==t,l=4==t,h=6==t,f=7==t,d=5==t||h;return function(p,m,g,v){for(var y,_,x=a(p),b=o(x),w=r(m,g),M=s(b),S=0,A=v||c,C=e?A(p,M):n||f?A(p,0):void 0;M>S;S++)if((d||S in b)&&(_=w(y=b[S],S,x),t))if(e)C[S]=_;else if(_)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:u(C,y)}else switch(t){case 4:return!1;case 7:u(C,y)}return h?-1:i||l?l:C}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},b0d6:function(t,e,n){"use strict";var r=n("1e0a");function i(){var t={},e=0,n=0,r=0;return{add:function(i,o){o||(o=i,i=0),i>n?n=i:i<r&&(r=i),t[i]||(t[i]=[]),t[i].push(o),e++},process:function(){for(var e=r;e<=n;e++)for(var i=t[e],o=0;o<i.length;o++)(0,i[o])()},size:function(){return e}}}t.exports=function(t){var e=(t=t||{}).reporter,n=r.getOption(t,"async",!0),o=r.getOption(t,"auto",!0);o&&!n&&(e&&e.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),n=!0);var a,s=i(),c=!1;function u(){for(c=!0;s.size();){var t=s;s=i(),t.process()}c=!1}function l(){a=function(t){return function(t){return setTimeout(t,0)}(t)}(u)}return{add:function(t,e){!c&&o&&n&&0===s.size()&&l(),s.add(t,e)},force:function(t){c||(void 0===t&&(t=n),a&&(function(t){clearTimeout(t)}(a),a=null),t?l():u())}}}},b12b:function(t,e,n){var r=n("3d1e")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},b13f:function(t,e,n){var r=n("f22c");t.exports=r("document","documentElement")},b155:function(t,e,n){var r=n("82c6").Symbol;t.exports=r},b1d9:function(t,e,n){n("1018")("Float32",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},b1e8:function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(t,"prototype",{value:Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),writable:!1}),e&&r(t,e)}n.d(e,"a",(function(){return i}))},b34b:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("1183"),o=function(t){function e(e,n){return void 0===e&&(e=""),void 0===n&&(n={}),t.call(this,e,n)||this}return r(e,t),e.prototype.raycast=function(){this.mesh.raycast.apply(this.mesh,arguments)},e.prototype.updateText=function(){this.cleanUp(),this.canvas.drawText(this._text,{font:this._font,fillStyle:this._fillStyle,shadowBlur:this._shadowBlur,shadowColor:this._shadowColor,shadowOffsetX:this._shadowOffsetX,shadowOffsetY:this._shadowOffsetY,lineHeight:this._lineHeight,align:this.align,backgroundColor:this._backgroundColor,horizontalPadding:this._horizontalPadding,verticalPadding:this._verticalPadding}),this.texture=new i.Texture(this.canvas.canvas),this.texture.needsUpdate=!0,this.applyAntiAlias(),this.material?this.material.map=this.texture:(this.material=new i.MeshBasicMaterial({map:this.texture,side:this.side}),this.material.transparent=!0),this.mesh||(this.geometry=new i.PlaneGeometry(this.canvas.width,this.canvas.height),this.mesh=new i.Mesh(this.geometry,this.material),this.add(this.mesh)),this.mesh.position.x=this.canvas.width/2-this.canvas.textWidth/2+this.canvas.textWidth/2*this.align.x,this.mesh.position.y=-this.canvas.height/2+this.canvas.textHeight/2*this.align.y,this.geometry.vertices[0].x=this.geometry.vertices[2].x=-this.canvas.width/2,this.geometry.vertices[1].x=this.geometry.vertices[3].x=this.canvas.width/2,this.geometry.vertices[0].y=this.geometry.vertices[1].y=this.canvas.height/2,this.geometry.vertices[2].y=this.geometry.vertices[3].y=-this.canvas.height/2,this.geometry.verticesNeedUpdate=!0},e}(n("34af").Text2D);e.MeshText2D=o},b417:function(t,e,n){function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}n("5ae2"),n("09be"),n("39dd"),n("00e8"),n("55b1"),n("3946"),t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},b51b:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},b7f4:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},b7f9:function(t,e,n){"use strict";var r=n("5d20"),i=n("aee5").findIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},b8fb:function(t,e,n){var r=n("9699").String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},ba25:function(t,e,n){var r=n("5a28");t.exports=/web0s(?!.*chrome)/i.test(r)},ba51:function(t,e,n){var r=n("9699"),i=n("e1f6"),o=n("f776"),a=r.WeakMap;t.exports=i(a)&&/native code/.test(o(a))},ba73:function(t,e,n){"use strict";var r=n("9699"),i=n("163f"),o=n("b51b"),a=n("6b26"),s=n("959d"),c=n("5d20"),u=n("e8c5"),l=n("aa9c"),h=n("3e77"),f=n("be4f"),d=r.Array,p=c.aTypedArray,m=c.exportTypedArrayMethod,g=r.Uint16Array,v=g&&i(g.prototype.sort),y=!(!v||o((function(){v(new g(2),null)}))&&o((function(){v(new g(2),{})}))),_=!!v&&!o((function(){if(h)return h<74;if(u)return u<67;if(l)return!0;if(f)return f<602;var t,e,n=new g(516),r=d(516);for(t=0;t<516;t++)e=t%4,n[t]=515-t,r[t]=t-2*e+3;for(v(n,(function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(n[t]!==r[t])return!0}));m("sort",(function(t){return void 0!==t&&a(t),_?v(this,t):s(p(this),function(t){return function(e,n){return void 0!==t?+t(e,n)||0:n!=n?-1:e!=e?1:0===e&&0===n?1/e>0&&1/n<0?1:-1:e>n}}(t))}),!_||y)},ba93:function(t,e,n){"use strict";var r=n("aee5").forEach,i=n("7718")("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},bb7e:function(t,e,n){"use strict";var r=n("6a85"),i=n("45e7"),o=(n("39dd"),n("fd2d"),n("3901"),n("f433"),n("5bee"),n("00e2"),n("5ede"),n("5972"),n("46d7")),a=n("96a7"),s=function(t,e,n){void 0===n&&(n={});var r=Object(o.a)(t),i=Object(o.a)(e),s=Object(a.a)(i[1]-r[1]),c=Object(a.a)(i[0]-r[0]),u=Object(a.a)(r[1]),l=Object(a.a)(i[1]),h=Math.pow(Math.sin(s/2),2)+Math.pow(Math.sin(c/2),2)*Math.cos(u)*Math.cos(l);return Object(a.d)(2*Math.atan2(Math.sqrt(h),Math.sqrt(1-h)),n.units)};function c(t,e,n){var r=!1;e[0][0]===e[e.length-1][0]&&e[0][1]===e[e.length-1][1]&&(e=e.slice(0,e.length-1));for(var i=0,o=e.length-1;i<e.length;o=i++){var a=e[i][0],s=e[i][1],c=e[o][0],u=e[o][1];if(t[1]*(a-c)+s*(c-t[0])+u*(t[0]-a)==0&&(a-t[0])*(c-t[0])<=0&&(s-t[1])*(u-t[1])<=0)return!n;s>t[1]!=u>t[1]&&t[0]<(c-a)*(t[1]-s)/(u-s)+a&&(r=!r)}return r}var u=n("1183"),l=n("f7eb"),h=document.createElement("canvas"),f=function(){function t(){Object(r.a)(this,t),this.type="gisCommon"}return Object(i.a)(t,null,[{key:"getTexture",value:function(t,e,n,r){var i=t.getContext("2d");i.drawImage(e,n,r);var o=new u.Texture(i.getImageData(0,0,t.width,t.height));return o.minFilter=u.LinearFilter,o.generateMipmaps=!1,o.needsUpdate=!0,o}},{key:"getTexture1",value:function(t,e,n,r,i,o){var a=t.getContext("2d");a.drawImage(e,n,r,i,o);var s=new u.Texture(a.getImageData(0,0,t.width,t.height));return s.minFilter=u.LinearFilter,s.generateMipmaps=!1,s.needsUpdate=!0,s}},{key:"addImageProcessImage",value:function(t){return new Promise((function(e,n){var r=document.createElement("img");r.onload=function(){return e(r)},r.onerror=n,r.setAttribute("src",t)}))}},{key:"addImageProcess",value:function(t){return new Promise((function(e,n){var r=document.createElement("img");r.onload=function(){return e(r)},r.onerror=n,r.setAttribute("src","data:image/svg+xml;base64,"+window.btoa(unescape(encodeURIComponent(t))))}))}},{key:"containsCoordinate1",value:function(t,e){var n={type:"Feature",properties:{},geometry:{type:"Point",coordinates:[e.getCenter().x,e.getCenter().y]}};return 1e3*s(n,{type:"Feature",properties:{},geometry:{type:"Point",coordinates:t}},"kilometers")<e.getRadius()}},{key:"containsCoordinate2",value:function(t,e){return function(t,e,n){if(void 0===n&&(n={}),!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");var r=Object(o.a)(t),i=Object(o.b)(e),a=i.type,s=e.bbox,u=i.coordinates;if(s&&!1===function(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}(r,s))return!1;"Polygon"===a&&(u=[u]);for(var l=!1,h=0;h<u.length&&!l;h++)if(c(r,u[h][0],n.ignoreBoundary)){for(var f=!1,d=1;d<u[h].length&&!f;)c(r,u[h][d],!n.ignoreBoundary)&&(f=!0),d++;f||(l=!0)}return l}({type:"Feature",geometry:{type:"Point",coordinates:t}},{type:"Feature",geometry:{type:"Polygon",coordinates:e.geometry.coordinates[0]}})}},{key:"containsCoordinate",value:function(t,e){var n,r;Array.isArray(t)?(n=t[0],r=t[1]):t instanceof l.Coordinate&&(n=t.x,r=t.y);var i=e.xmin,o=e.ymin,a=e.xmax,s=e.ymax;return i<=n&&n<=a&&o<=r&&r<=s}},{key:"isInLevels",value:function(t,e){for(var n=!1,r=0;r<t.rangeArr.length;r+=2){var i=1*t.rangeArr[r],o=1*t.rangeArr[r+1];if(e>i&&e<=o){n=!0;break}}return n}},{key:"getExtent",value:function(t){if(0!==t.length){var e=1/0,n=1/0,r=-1/0,i=-1/0;return 1===t.length?(e=1*t[0].longitude-.5,n=1*t[0].latitude-.5,r=1*t[0].longitude+.5,i=1*t[0].latitude+.5):t.length>1&&t.slice(0,1/0).map((function(t){var o=1*t.longitude,a=1*t.latitude;e=Math.min(e,o),n=Math.min(n,a),r=Math.max(r,o),i=Math.max(i,a)})),{minX:e,minY:n,maxX:r,maxY:i}}}},{key:"vector2Pixel",value:function(t,e,n){var r=t.project(n),i=e.width/2,o=e.height/2;return{x:Math.round(r.x*i+i),y:Math.round(-r.y*o+o)}}},{key:"generateTextureOne",value:function(t,e,n){h.width=e,h.height=n;var r=h.getContext("2d");r.drawImage(t,0,0,e,n);var i=new u.Texture(r.getImageData(0,0,h.width,h.height));return i.magFilter=u.NearestFilter,i.minFilter=u.NearestFilter,i.generateMipmaps=!1,i.needsUpdate=!0,i}},{key:"generateTexture",value:function(t){var e=[64,128,256,512,1024],n=-1/0;t.forEach((function(t){n=Math.max(n,t.w),Math.max(n,t.h)}));var r=Math.sqrt(t.length),i=parseInt(r);r>i&&(i+=1);for(var o=(r=i)*n+5*r,a=0,s=0;s<e.length;s++){if(o<e[s]){a=e[s];break}a=1024}h.width=h.height=a;for(var c=h.getContext("2d"),l=0,f=0,d=[],p=0;p<r;p++){for(var m=5*(p+1)+p*l,g=0;g<r;g++){var v=5*(g+1)+g*t[f].w;if("img"===t[f].type){var y=(t[f].w-t[f].iw)/2,_=(t[f].h-t[f].ih)/2;c.drawImage(t[f].src,v+y,m+_,t[f].iw,t[f].ih)}else if("txt"===t[f].type)c.fillStyle=t[f].color,"#fff"===t[f].color?(c.font="lighter "+t[f].size+"px Microsoft YaHei",c.fillText(t[f].src,v+t[f].offx,m+t[f].offy),c.strokeStyle=t[f].color,c.strokeText(t[f].src,v+t[f].offx,m+t[f].offy)):(c.font="normal "+t[f].size+"px Microsoft YaHei",c.fillText(t[f].src,v+t[f].offx,m+t[f].offy));else{var x=(t[f].w-t[f].iw)/2,b=(t[f].h-t[f].ih)/2;c.drawImage(t[f].src,v+x,m+b,t[f].iw,t[f].ih)}if(d.push({w:t[f].w,h:t[f].h,u:v/a,v:m/a}),l=Math.max(l,t[f].h),(f+=1)>=t.length)break}if(f>=t.length)break}var w=new u.Texture(c.getImageData(0,0,h.width,h.height));if(w.minFilter=u.LinearFilter,w.generateMipmaps=!1,w.needsUpdate=!0,d.length<100)for(var M=100-d.length,S=0;S<M;S++)d.push({w:0,h:0,u:0,v:0});return{xys:d,texture:w,textureSize:a}}},{key:"setPointEventStatus",value:function(t,e){t&&t.getMeshes().forEach((function(t){"Points"===t.type&&(t.options.interactive=e)}))}},{key:"createTextTexture",value:function(t,e){h.width=h.height=t;var n=h.width/2,r=h.height/2;if(e){var i=0;e.forEach((function(t){var e=h.getContext("2d");e.fillStyle=t.fontcolor,e.font="".concat(t.fontsize,"px Arial"),e.textAlign="center",e.textBaseline="middle",e.fillText(t.txt,n,r+i),i+=t.fontsize}))}var o=new u.Texture(h);return o.minFilter=u.LinearFilter,o.generateMipmaps=!1,o.needsUpdate=!0,o}},{key:"createSimpleShader",value:function(t,e,n){return t.uniforms.texture1={value:e},t.uniforms.size1={value:n},t.uniforms.flag={value:1},t.vertexShader="uniform float size1;\n attribute float imgflag;\n varying float vimgflag;\n attribute float visibility;\n varying float vVisible;\n "+t.vertexShader,t.vertexShader=t.vertexShader.replace("#include <project_vertex>","\n #include <project_vertex>\n vimgflag = imgflag;\n vVisible = visibility;\n ").replace("gl_PointSize = size;","\n gl_PointSize = size1;\n "),t.fragmentShader="\n uniform sampler2D texture1;\n varying float vimgflag;\n varying float vVisible;\n "+t.fragmentShader,t.fragmentShader=t.fragmentShader.replace("gl_FragColor = vec4( outgoingLight, diffuseColor.a );","\n\n vec2 pUv = gl_PointCoord;\n pUv.y = 1. - pUv.y;\n\n if(vimgflag < 1.0){\n vec4 texColor = texture2D( texture1, pUv );\n outgoingLight *= texColor.xyz;\n gl_FragColor = vec4( outgoingLight, texColor.a * diffuseColor.a );\n }\n\n if (vVisible < 0.5) discard;\n "),t}}]),t}();e.a=f},bca7:function(t,e,n){"use strict";var r=n("521d"),i=n("e722"),o=n("f9aa"),a=n("647c"),s=n("dcc6").f,c=n("266b"),u=n("fb76"),l=n("8e24"),h="Array Iterator",f=a.set,d=a.getterFor(h);t.exports=c(Array,"Array",(function(t,e){f(this,{type:h,target:r(t),index:0,kind:e})}),(function(){var t=d(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!u&&l&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},bd87:function(t,e,n){var r,i,o,a,s=n("9699"),c=n("c687"),u=n("4f4c"),l=n("e1f6"),h=n("4c74"),f=n("b51b"),d=n("b13f"),p=n("906c"),m=n("4ca1"),g=n("f7b2"),v=n("556e"),y=s.setImmediate,_=s.clearImmediate,x=s.process,b=s.Dispatch,w=s.Function,M=s.MessageChannel,S=s.String,A=0,C={},E="onreadystatechange";try{r=s.location}catch(t){}var T=function(t){if(h(C,t)){var e=C[t];delete C[t],e()}},I=function(t){return function(){T(t)}},L=function(t){T(t.data)},P=function(t){s.postMessage(S(t),r.protocol+"//"+r.host)};y&&_||(y=function(t){var e=p(arguments,1);return C[++A]=function(){c(l(t)?t:w(t),void 0,e)},i(A),A},_=function(t){delete C[t]},v?i=function(t){x.nextTick(I(t))}:b&&b.now?i=function(t){b.now(I(t))}:M&&!g?(a=(o=new M).port2,o.port1.onmessage=L,i=u(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!f(P)?(i=P,s.addEventListener("message",L,!1)):i=E in m("script")?function(t){d.appendChild(m("script"))[E]=function(){d.removeChild(this),T(t)}}:function(t){setTimeout(I(t),0)}),t.exports={set:y,clear:_}},be0a:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var a=t.apply(e,n);function s(t){r(a,i,o,s,c,"next",t)}function c(t){r(a,i,o,s,c,"throw",t)}s(void 0)}))}}n.d(e,"a",(function(){return i})),n("39dd")},be4f:function(t,e,n){var r=n("5a28").match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},bfab:function(t,e,n){var r=n("9699"),i=n("cb3f"),o=r.RangeError;t.exports=function(t,e){var n=i(t);if(n%e)throw o("Wrong offset");return n}},c015:function(t,e,n){var r=n("b155"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}},c08b:function(t,e){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}},t.exports=n},c275:function(t,e,n){var r=n("163f");t.exports=r({}.isPrototypeOf)},c2d5:function(t,e,n){var r=n("b51b"),i=n("9699").RegExp;t.exports=r((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},c419:function(t,e,n){"use strict";t.exports=function(){var t=1;return{generate:function(){return t++}}}},c626:function(t,e,n){"use strict";var r=n("163f"),i=n("5d20"),o=r(n("7fdb")),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(t,e){return o(a(this),t,e,arguments.length>2?arguments[2]:void 0)}))},c687:function(t,e){var n=Function.prototype,r=n.apply,i=n.bind,o=n.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?o.bind(r):function(){return o.apply(r,arguments)})},c75d:function(t,e,n){var r=n("8e24"),i=n("b51b"),o=n("4ca1");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},c7b2:function(t,e,n){"use strict";n.r(e),n.d(e,"install",(function(){return re})),n.d(e,"GMap",(function(){return ee}));var r=n("6a85"),i=n("45e7"),o=(n("bca7"),n("5462"),n("62ae"),n("6d3e"),n("fd2d"),n("39dd"),n("5f8e"),n("be0a")),a=(n("e186"),n("5ede"),n("ef28"),n("5972"),n("7710"),n("7c98")),s=function(){function t(){Object(r.a)(this,t)}return Object(i.a)(t,[{key:"getSvgDict",value:function(t){var e=this;return Object(a.isEmpty)(t)?(console.error("svg javascript file is not null"),!1):new Promise((function(n){var r=[];e.getJSON(t).then((function(t){t.match(/<symbol id=.*?symbol>/g).map((function(t,n){var i=t.match(/id=".*?"/gi),o=t.match(/(?<=viewBox=".*?">).*?(?=<\/symbol>)/gi);r.push({id:i[0].replaceAll('"',"").replace("id=icon-",""),svg:e.createSvg(o[0])})})),n(r)}))}))}},{key:"getJSON",value:function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:return n=t.sent,t.next=6,n.text();case 6:return t.abrupt("return",t.sent);case 9:t.prev=9,t.t0=t.catch(0),console.log("Request Failed",t.t0);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(e){return t.apply(this,arguments)}}()},{key:"createSvg",value:function(t){return'<svg class="icon" style="width: 1em;height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="15737">'.concat(t,"</svg>")}}]),t}(),c=(n("f433"),n("1b03"),n("acb4"),n("1183")),u=n("f7eb"),l={name:"Spin",props:{visible:Boolean},render:function(t,e){var n=arguments[0];return n("div",{class:"sk-chase-box"},[this.visible?null:n("div",{class:"sk-chase-core"},[n("div",{class:"sk-chase"},[n("div",{class:"sk-chase-dot"}),n("div",{class:"sk-chase-dot"}),n("div",{class:"sk-chase-dot"}),n("div",{class:"sk-chase-dot"}),n("div",{class:"sk-chase-dot"}),n("div",{class:"sk-chase-dot"})])]),this.$slots.default])}};n("93b5");var h=function(t,e,n,r,i,o,a,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:u}}(l,void 0,void 0,!1,null,"c8c2036e",null).exports,f=n("a7fe"),d=n.n(f),p=(n("9b2d"),n("5eb3")),m=n.n(p),g=n("8179"),v=n.n(g),y=n("9192"),_=n.n(y),x=n("66da"),b=n.n(x),w=d.a.createStore(v.a,b.a);function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}d.a.createStore(m.a,b.a),d.a.createStore(_.a,b.a),n("5ae2"),n("3a92"),n("363b"),n("608a"),n("3901"),n("55b1"),n("3946");var A=n("47c9"),C=(n("8195"),n("b1e8")),E=n("65b8"),T=n("f1fc"),I={interactive:!1,altitude:0,imageWidth:512,imageHeight:512,texture:null},L=function(t){Object(C.a)(n,t);var e=Object(E.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n);var l=i=u.Util.extend({},I,i),h=l.altitude;l.imageHeight,l.imageWidth,t instanceof u.Extent||(t=new u.Extent(t));var f=t,d=f.xmin,p=f.ymin,m=f.xmax,g=f.ymax,v=1/0,y=1/0,_=-1/0,x=-1/0;[[d,p],[d,g],[m,g],[m,p]].forEach((function(t){var e=a.coordinateToVector3(t),n=e.x,r=e.y;v=Math.min(n,v),y=Math.min(r,y),_=Math.max(n,_),x=Math.max(r,x)}));var b=Math.abs(_-v),w=Math.abs(x-y),M=new c.PlaneBufferGeometry(b,w);(s=e.call(this))._initOptions(i),s._createMesh(M,o);var S=a.distanceToVector3(h,h).x,A=a.coordinateToVector3(t.getCenter(),S);return s.getObject3d().position.copy(A),s.parent=null,s.type="Image",s}return Object(i.a)(n)}(T.a),P=function(){function t(e,n,i,o,a){var s=this;Object(r.a)(this,t),this.threelayer=a,this.textureLoader=new c.TextureLoader;var l=e.split(","),h=n.split(","),f=parseFloat(l[0]),d=parseFloat(l[1]),p=parseFloat(h[0]),m=parseFloat(h[1]),g=o.maxZoom||11,v=o.renderOrder||0,y=o.opacity||1,_=o.maxZoom||3,x=new u.Extent(f,d,p,m);this.textureLoader.load(i,(function(t){var e=new c.MeshBasicMaterial({map:t,transparent:!0,opacity:y}),n=new L(x,{imageWidth:512,imageHeight:512,maxZoom:g,minZoom:_},e,s.threelayer);n.object3d.renderOrder=v,s.imgMesh=n,s.imgMesh.parent=s,s.m=e,s.texture=t,s.threelayer.addMesh(s.imgMesh)}))}return Object(i.a)(t,[{key:"updateImage",value:function(t){var e=this;this.textureLoader.load(t,(function(t){e.texture&&e.texture.dispose(),delete e.texture,t.magFilter=c.NearestFilter,t.minFilter=c.NearestFilter,e.imgMesh.object3d.material.map=t,e.imgMesh.object3d.material.map.needsUpdate=!0,e.texture=t}))}},{key:"clearImage",value:function(){this.imgMesh&&this.threelayer.removeMesh(this.imgMesh)}},{key:"dispose",value:function(){this.threelayer.removeMesh(this.imgMesh),this.imgMesh.object3d.geometry&&this.imgMesh.object3d.geometry.dispose(),this.imgMesh.object3d.material&&(this.imgMesh.object3d.material.dispose(),delete this.m),this.texture&&(this.texture&&this.texture.dispose(),delete this.texture),this.threelayer=null,this.textureLoader&&delete this.textureLoader}}]),t}(),R=(n("6054"),n("0132"),n("2b0f"),n("5d56")),O={0:.05,1:.05,2:.05,3:.003,4:.003,5:.003,6:.003,7:.003,8:.002,9:.001,10:5e-4,11:3e-4,12:15e-5,13:1e-4,14:5e-5,15:25e-6,16:1e-5,16.99:1e-5,17:5e-6,18:2e-6,19:1e-6,20:5e-7,21:2e-7,22:1e-7},k=Object(a.map)(["南","东南偏南","东南","东南偏东","东","东北偏东","东北","东北偏北","北","西北偏北","西北","西北偏西","西","西南偏西","西南","西南偏南"],(function(t,e){var n=22.5,r=n*e;return{bearing:r,range:[r-n/2,r+n/2],label:t}})),B=function(t,e,n){return t>=e&&t<n},D=function(){function t(e,n,i){var o=this;Object(r.a)(this,t),this.map=i,this.windLayer=this.map.getLayer("windLayer"),this.windLayer?this.windLayer.setData(e):(this.windLayer=new R.a("windLayer",e,{windOptions:{colorScale:["rgba(68,162,255,1)","rgba(110,223,255,1)","rgba(142,228,187,1)","rgba(179,253,163,1)","rgba(213,247,176,1)","rgba(255,252,213,1)","rgba(255,238,159,1)","rgba(252,217,125,1)","rgba(255,182,100,1)","rgba(252,150,75,1)","rgba(250,112,52,1)","rgba(245,64,32,1)","rgba(237,45,28,1)","rgba(220,24,32,1)","rgba(180,0,35,1)"],velocityScale:function(){var t=o.map.getZoom();return O[parseInt(t)]||1/40},frameRate:16,maxAge:60,globalAlpha:.9,paths:3782}}),this.map.addLayer(this.windLayer)),this.setToolTip("hello",{showTimeout:0,eventsPropagation:!0,dx:10}),this._bindMapEvents()}return Object(i.a)(t,[{key:"_bindMapEvents",value:function(){this.map.on("mousemove",this._onWind,this)}},{key:"_closeEvent",value:function(){this.map.off("mousemove",this._onWind,this)}},{key:"_onWind",value:function(t){var e,n=this.windLayer.field.interpolatedValueAt(t.coordinate.x,t.coordinate.y);if(n){var r=this.vectorToDegrees(n.u,n.v,"bearingCCW"),i=this.vectorToSpeed(n.u,n.v,"m/s");this.toolTip._content="".concat(null===(e=function(t){return Object(a.find)(k,(function(e){return B(t,e.range[0],e.range[1])||B(t-360,e.range[0],e.range[1])}))}(r))||void 0===e?void 0:e.label).concat(this.windLevel(i),"级;速度").concat(i.toFixed(2),"m/s;高度10米")}}},{key:"windLevel",value:function(t){return t<=0?0:t<=.3?1:t<=1.6?2:t<=3.4?3:t<=5.5?4:t<=8?5:t<=10.8?6:t<=13.9?7:t<=17.2?8:t<=20.8?9:t<=24.5?10:t<=28.5?11:12}},{key:"setToolTip",value:function(t,e){this.removeToolTip(),this.toolTip=new u.ui.ToolTip(t,e),this.toolTip.addTo(this.map)}},{key:"removeToolTip",value:function(){var t;this.toolTip&&(null===(t=this.toolTip)||void 0===t||t.remove(),this.toolTip=null)}},{key:"vectorToDegrees",value:function(t,e,n){n.endsWith("CCW")&&(e=e>0?e=-e:Math.abs(e));var r=Math.sqrt(Math.pow(t,2)+Math.pow(e,2)),i=180*Math.atan2(t/r,e/r)/Math.PI+180;return"bearingCW"!==n&&"meteoCCW"!==n||(i+=180)>=360&&(i-=360),i}},{key:"vectorToSpeed",value:function(t,e,n){var r=Math.sqrt(Math.pow(t,2)+Math.pow(e,2));return"k/h"===n?3.6*r:"kt"===n?r/.514:r}},{key:"closeWind",value:function(){this._closeEvent(),this.removeToolTip(),this.map.removeLayer(this.windLayer),delete this.windLayer,this.windLayer=null}}]),t}(),F=n("bb7e"),U=function(){function t(e,n,i,o){Object(r.a)(this,t),this.map=o.map,this.tlayer=o,this.drawTool=new u.DrawTool({mode:e,symbol:{lineColor:"#E40D56",lineWidth:2,lineDasharray:[5,5],polygonFill:"#E40D56",polygonOpacity:.2}}).addTo(this.map).enable(),this.toolLayer=this.map.getLayer("toolLayer"),this.toolLayer||(this.toolLayer=new u.VectorLayer("toolLayer",{geometryEvents:!1,hitDetect:!1}).addTo(this.map)),this._drawEnd=n,this._bindEvent(),this.geometry=null,this.mode=e,this.type="drawTool",F.a.setPointEventStatus(o,!1)}return Object(i.a)(t,[{key:"_bindEvent",value:function(){this.drawTool.on("drawend",this.drawEnd,this)}},{key:"_closeEvent",value:function(){this.drawTool.off("drawend",this.drawEnd,this)}},{key:"drawEnd",value:function(t){this.toolLayer&&this.toolLayer.addGeometry(t.geometry),this._drawEnd&&("Circle"===this.mode?this._drawEnd(t.geometry.getCoordinates(),t.geometry.getRadius()):this._drawEnd(t.geometry.getCoordinates())),this.geometry=t.geometry}},{key:"disableTool",value:function(){this.drawTool.disable(),F.a.setPointEventStatus(this.tlayer,!0)}},{key:"clearGeometry",value:function(){this.toolLayer&&this.toolLayer.clear()}},{key:"setMode",value:function(t,e){F.a.setPointEventStatus(this.tlayer,!1),this._drawEnd&&delete this._drawEnd,this._drawEnd=e,this.drawTool.setMode(t).enable(),this.mode=t}},{key:"startEdit",value:function(){this.disableTool(),this.geometry&&this.geometry.startEdit()}},{key:"endEdit",value:function(t){this.geometry&&(this.geometry.endEdit(),t&&("Circle"===this.mode?t(this.geometry.getCoordinates(),this.geometry.getRadius()):t(this.geometry.getCoordinates())))}},{key:"dispose",value:function(){this._closeEvent(),this._drawEnd&&delete this._drawEnd,this.geometry&&delete this.geometry,this.map.removeLayer(this.toolLayer),delete this.toolLayer,delete this.drawTool}}]),t}(),j=function(){function t(e,n){Object(r.a)(this,t),this.tlayer=n,this.map=n.map,this.distanceTool=new u.DistanceTool({symbol:{lineColor:"#34495e",lineWidth:2},vertexSymbol:{markerType:"ellipse",markerFill:"#1bbc9b",markerLineColor:"#000",markerLineWidth:3,markerWidth:10,markerHeight:10},labelOptions:{textSymbol:{textFaceName:"monospace",textFill:"#fff",textLineSpacing:1,textHorizontalAlignment:"right",textDx:15,markerLineColor:"#b4b3b3",markerFill:"#000"},boxStyle:{padding:[6,2],symbol:{markerType:"square",markerFill:"#000",markerFillOpacity:.9,markerLineColor:"#b4b3b3"}}},clearButtonSymbol:[{markerType:"square",markerFill:"#000",markerLineColor:"#b4b3b3",markerLineWidth:2,markerWidth:15,markerHeight:15,markerDx:20},{markerType:"x",markerWidth:10,markerHeight:10,markerLineColor:"#fff",markerDx:20}],language:"zh-CN"}).addTo(this.map),F.a.setPointEventStatus(n,!1)}return Object(i.a)(t,[{key:"dispose",value:function(){this.distanceTool&&(this.distanceTool.clear(),delete this.distanceTool),this.tlayer=null,this.map=null}},{key:"disable",value:function(){this.distanceTool.disable(),F.a.setPointEventStatus(this.tlayer,!0)}},{key:"enable",value:function(){F.a.setPointEventStatus(this.tlayer,!1),this.distanceTool.enable()}},{key:"clear",value:function(){this.distanceTool.clear()}}]),t}(),N=(n("8745"),n("d3f4")),G=n.n(N),z=n("8b15"),H={fontSize:20,altitude:0,color:"#fff",text:"hello",weight:0,zoomFilter:!1},W={positionsConvert:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=[],i=0,o=t.length;i<o;i+=3){var a=t[i],s=t[i+1],u=t[i+2];e>0&&(u+=n.distanceToVector3(e,e).x),r.push(new c.Vector3(a,s,u))}return r},vectors2Pixel:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4?arguments[4]:void 0;t[0]instanceof c.Vector3||(t=W.positionsConvert(t,r,i));var o=t.map((function(t){return W.vector2Pixel(t,e,n)}));return o},vector2Pixel:function(t,e,n){var r=t.project(n),i=e.width/2,o=e.height/2;return{x:Math.round(r.x*i+i),y:Math.round(-r.y*o+o)}}},V=function(t){Object(C.a)(n,t);var e=Object(E.a)(n);function n(t,i,o){var a;Object(r.a)(this,n),i=u.Util.extend({},H,i,{layer:o,position:t}),(a=e.call(this))._initOptions(i);var s=i,l=(s.altitude,s.fontSize),h=s.color,f=s.text,d=s.rotation,p=d*(Math.PI/180);a._createGroup();var m=new z.SpriteText2D(f,{align:z.textAlign.center,font:"".concat(2*l,"px Arial"),fillStyle:h,antialias:!1});m.children[0].material.sizeAttenuation=!1,m.children[0].material.rotation=p;var g=.001/3;return m.scale.set(g,g,g),a.getObject3d().add(m),a.getObject3d().name=d,a.getObject3d().position.copy(t),a.textRect={width:a.calTextWidth(f,l)+3*l,height:l+3*l},a._vector=new c.Vector3,a._pixel={x:0,y:0},a}return Object(i.a)(n,[{key:"getTextRect",value:function(){this.getPixel();var t=this._pixel,e=t.x,n=t.y,r=this.textRect,i=r.width,o=r.height;return{minX:e-i/2,minY:n-o/2,maxX:e+i/2,maxY:n+o/2}}},{key:"calTextWidth",value:function(t,e){var n=(t.match(/[\u4e00-\u9fa5]/g)||"").length;return n*e+.5*(t.length-n)*e}},{key:"getPixel",value:function(){var t=this.getMap().getSize(),e=this.getLayer().getCamera(),n=this.getObject3d().position;this._vector.x=n.x,this._vector.y=n.y,this._vector.z=n.z,this._pixel=W.vector2Pixel(this._vector,t,e)}},{key:"identify",value:function(t){var e=this.getTextRect(),n=e.minX,r=e.minY,i=e.maxX,o=e.maxY,a=this.getMap().coordToContainerPoint(t);return a.x>=n&&a.x<=i&&a.y>=r&&a.y<=o}}]),n}(T.a),Z={radius:100,altitude:0},Q=function(t){Object(C.a)(n,t);var e=Object(E.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n),i=u.Util.extend({},Z,i,{layer:a,coordinate:t}),(s=e.call(this))._initOptions(i);var l=i,h=l.altitude,f=l.radius,d=a.distanceToVector3(f,f).x,p=new c.CircleBufferGeometry(d,128,0,90*Math.PI/180);s._createMesh(p,o);var m=a.distanceToVector3(h,h).x,g=a.coordinateToVector3(t,m);return s.getObject3d().position.copy(g),s}return Object(i.a)(n)}(T.a),X=function(){function t(e,n,i,o,a){var s=this;Object(r.a)(this,t),this.threelayer=a,this.map=a.map,this.all_cirles=[],this.rItems={},this.all_texts={},this.all_sectors={},this.textSprites=[],this.rbush=new G.a,this.material=new c.MeshBasicMaterial({color:"#233F75",transparent:!0,opacity:.5,depthTest:!1}),this.vector_circle_layer=this.map.getLayer("vector_circle"),this.vector_circle_layer||(this.vector_circle_layer=new u.VectorLayer("vector_circle",{geometryEvents:!1,hitDetect:!1}).addTo(a.map)),this.sector=null;for(var l=this.threelayer.coordinateToVector3([e,n],0),h=(new c.Matrix4).makeTranslation(l.x,l.y,l.z),f=1e3;f<=1e4;f+=1e3){this.createLine([e,n],f);var d=this.threelayer.distanceToVector3(f,f).x;this.rItems[f]=d,this.all_texts[f]=[]}for(var p=this.vector_circle_layer.getGeometries(),m=0;m<p.length;m++)this.all_cirles.push(p[m]);for(var g=3;g<=360;){for(var v in this.rItems){var y=this.createLabel("".concat(v/1e3,"km"),g,this.rItems[v],h,5,a);this.all_texts[v].push(y)}g+=24}var _=this.createParty(e,n,3e3);this.all_sectors[3e3]=_;var x=this.createParty(e,n,5e3);this.all_sectors[5e3]=x;var b=this.createParty(e,n,1e4);this.all_sectors[1e4]=b,this.vector_circle_layer.clear();for(var w=i/1e3,M=void 0,S=0;S<w;S++){var A=this.all_texts[1e3*(S+1)];A&&A.forEach((function(t){s.textSprites.push(t)})),this.vector_circle_layer.addGeometry(this.all_cirles[S]),S===w-1&&(M=this.all_cirles[S])}if(this.vector_circle_layer.options.visible=!0,this.threelayer.addMesh(this.textSprites),o.rotation){var C=this.all_sectors[i],E=this.calDirection(o.rotation);C.object3d.rotation.z=E*Math.PI/180,this.threelayer.addMesh(C),this.sector=C}this.collides(),this._bindEvent(),o.callback&&o.callback(M)}return Object(i.a)(t,[{key:"update",value:function(t,e,n,r){var i=this;this._closeEvent();var o=this.threelayer.coordinateToVector3([t,e],0),a=(new c.Matrix4).makeTranslation(o.x,o.y,o.z);this.all_cirles.forEach((function(n){n.setCoordinates([t,e])}));for(var s=3,u=0;s<=360;){for(var l in this.rItems){var h=this.getPsVec(s,this.rItems[l],a);this.all_texts[l][u].object3d.position.copy(h)}s+=24,u+=1}for(var f in this.all_sectors)this.all_sectors[f].object3d.position.copy(o);this.threelayer.removeMesh(this.textSprites),this.textSprites=[],this.vector_circle_layer.clear(),this.threelayer.removeMesh(this.sector);for(var d=n/1e3,p=void 0,m=0;m<d;m++){var g=this.all_texts[1e3*(m+1)];g&&g.forEach((function(t){i.textSprites.push(t)})),this.vector_circle_layer.addGeometry(this.all_cirles[m]),m===d-1&&(p=this.all_cirles[m])}if(this.vector_circle_layer.show(),this.threelayer.addMesh(this.textSprites),r.rotation){var v=this.all_sectors[n],y=this.calDirection(r.rotation);v.object3d.rotation.z=y*Math.PI/180,this.threelayer.addMesh(v),this.sector=v}this.collides(),this._bindEvent(),r.callback&&r.callback(p)}},{key:"_bindEvent",value:function(){this.map.on("zooming zoomend moveend animateend",this.circleTextOn,this),this.map.on("rotate",this.circleTextRotationOn,this)}},{key:"_closeEvent",value:function(){this.map.off("zooming zoomend moveend animateend",this.circleTextOn,this),this.map.off("rotate",this.circleTextRotationOn,this)}},{key:"circleTextOn",value:function(){this.textSprites.sort((function(t,e){return e.getOptions().weight-t.getOptions().weight})),this.collides()}},{key:"circleTextRotationOn",value:function(){for(var t=0;t<this.textSprites.length;t++)this.textSprites[t].object3d.children[0].material.rotation=(parseFloat(this.textSprites[t].object3d.name)+this.map.getBearing())*(Math.PI/180);this.textSprites.sort((function(t,e){return e.getOptions().weight-t.getOptions().weight})),this.collides()}},{key:"dispose",value:function(){for(var t in this._closeEvent(),this.all_cirles=[],this.rItems)delete this.rItems[t];for(var e in this.threelayer.removeMesh(this.textSprites),this.sector&&this.threelayer.removeMesh(this.sector),this.rbush.clear(),delete this.rbush,this.textSprites=[],this.all_texts)this.all_texts[e].forEach((function(t){t.object3d.children[0].sprite&&t.object3d.children[0].sprite.geometry&&t.object3d.children[0].sprite.geometry.dispose(),t.object3d.children[0].material&&t.object3d.children[0].material.dispose(),t.object3d.children[0].texture&&t.object3d.children[0].texture.dispose()})),delete this.all_texts[e];for(var n in this.sector=null,this.all_sectors){var r=this.all_sectors[n];r.object3d.geometry&&r.object3d.geometry.dispose(),delete this.all_sectors[n]}this.material&&this.material.dispose(),this.map.removeLayer(this.vector_circle_layer)}},{key:"createLine",value:function(t,e){1e3===e?new u.Circle(t,e,{symbol:{lineColor:"#1bbc9b",lineWidth:1,lineOpacity:1,polygonFill:"#1bbc9b",polygonOpacity:0}}).addTo(this.vector_circle_layer):new u.Circle(t,e,{symbol:{lineColor:"#1bbc9b",lineWidth:1,lineDasharray:[5,5,5],lineOpacity:1,polygonFill:"#1bbc9b",polygonOpacity:0}}).addTo(this.vector_circle_layer)}},{key:"createParty",value:function(t,e,n){return new Q([t,e],{radius:n,interactive:!1},this.material,this.threelayer)}},{key:"createLabel",value:function(t,e,n,r,i,o){var a=this.getArrowPs(e,1),s=this.getPsVec(e,n,r),c=new V(s,{text:t,color:"white",fontSize:18,weight:i,interactive:!1,rotation:a.rotation,minZoom:11},o);return c.object3d.renderOrder=3,c}},{key:"collides",value:function(){this.rbush.clear();for(var t=0,e=this.textSprites.length;t<e;t++){var n=this.textSprites[t],r=n.getTextRect();this.rbush.collides(r)?n.hide():(n.show(),this.rbush.insert(r))}}},{key:"getPsVec",value:function(t,e,n){var r=t*(Math.PI/180),i=new c.Vector3(Math.sin(r)*e,Math.cos(r)*e,0);return i=i.applyMatrix4(n)}},{key:"calDirection",value:function(t){return t<=22.5&&t>337.5?45:t<=67.5&&t>22.5?0:t<=112.5&&t>67.5?315:t<=157.5&&t>112.5?270:t<=202.5&&t>157.5?225:t<=247.5&&t>202.5?180:t<=292.5&&t>247.5?135:t<=337.5&&t>292.5?90:0}},{key:"getArrowPs",value:function(t,e){var n=0;return t<=90?n=-t:t>90&&t<=180||t>180&&t<=270?n=180-t:t>270&&t<360&&(n=360-t),{rotation:n}}}]),t}(),Y={altitude:0,height:0},J=function(t){Object(C.a)(n,t);var e=Object(E.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n),t=u.Util.extend({},Y,t,{layer:a}),s=e.call(this);var c=t;return c.width,c.height,c.altitude,s._initOptions(t),s._createMesh(i,o),s}return Object(i.a)(n)}(T.a),q={computeTangents:function(t){t.computeTangents(),console.warn("THREE.BufferGeometryUtils: .computeTangents() has been removed. Use BufferGeometry.computeTangents() instead.")},mergeBufferGeometries:function(t,e){for(var n=null!==t[0].index,r=new Set(Object.keys(t[0].attributes)),i=new Set(Object.keys(t[0].morphAttributes)),o={},a={},s=t[0].morphTargetsRelative,u=new c.BufferGeometry,l=0,h=0;h<t.length;++h){var f=t[h],d=0;if(n!==(null!==f.index))return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+h+". All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them."),null;for(var p in f.attributes){if(!r.has(p))return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+h+'. All geometries must have compatible attributes; make sure "'+p+'" attribute exists among all geometries, or in none of them.'),null;void 0===o[p]&&(o[p]=[]),o[p].push(f.attributes[p]),d++}if(d!==r.size)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+h+". Make sure all geometries have the same number of attributes."),null;if(s!==f.morphTargetsRelative)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+h+". .morphTargetsRelative must be consistent throughout all geometries."),null;for(var p in f.morphAttributes){if(!i.has(p))return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+h+". .morphAttributes must be consistent throughout all geometries."),null;void 0===a[p]&&(a[p]=[]),a[p].push(f.morphAttributes[p])}if(u.userData.mergedUserData=u.userData.mergedUserData||[],u.userData.mergedUserData.push(f.userData),e){var m;if(n)m=f.index.count;else{if(void 0===f.attributes.position)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+h+". The geometry must have either an index or a position attribute"),null;m=f.attributes.position.count}u.addGroup(l,m,h),l+=m}}if(n){var g=0,v=[];for(h=0;h<t.length;++h){for(var y=t[h].index,_=0;_<y.count;++_)v.push(y.getX(_)+g);g+=t[h].attributes.position.count}u.setIndex(v)}for(var p in o){var x=this.mergeBufferAttributes(o[p]);if(!x)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed while trying to merge the "+p+" attribute."),null;u.setAttribute(p,x)}for(var p in a){var b=a[p][0].length;if(0===b)break;for(u.morphAttributes=u.morphAttributes||{},u.morphAttributes[p]=[],h=0;h<b;++h){var w=[];for(_=0;_<a[p].length;++_)w.push(a[p][_][h]);var M=this.mergeBufferAttributes(w);if(!M)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed while trying to merge the "+p+" morphAttribute."),null;u.morphAttributes[p].push(M)}}return u},mergeBufferAttributes:function(t){for(var e,n,r,i=0,o=0;o<t.length;++o){var a=t[o];if(a.isInterleavedBufferAttribute)return console.error("THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. InterleavedBufferAttributes are not supported."),null;if(void 0===e&&(e=a.array.constructor),e!==a.array.constructor)return console.error("THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. BufferAttribute.array must be of consistent array types across matching attributes."),null;if(void 0===n&&(n=a.itemSize),n!==a.itemSize)return console.error("THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. BufferAttribute.itemSize must be consistent across matching attributes."),null;if(void 0===r&&(r=a.normalized),r!==a.normalized)return console.error("THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. BufferAttribute.normalized must be consistent across matching attributes."),null;i+=a.array.length}var s=new e(i),u=0;for(o=0;o<t.length;++o)s.set(t[o].array,u),u+=t[o].array.length;return new c.BufferAttribute(s,n,r)},interleaveAttributes:function(t){for(var e,n=0,r=0,i=0,o=t.length;i<o;++i){var a=t[i];if(void 0===e&&(e=a.array.constructor),e!==a.array.constructor)return console.error("AttributeBuffers of different types cannot be interleaved"),null;n+=a.array.length,r+=a.itemSize}var s=new c.InterleavedBuffer(new e(n),r),u=0,l=[],h=["getX","getY","getZ","getW"],f=["setX","setY","setZ","setW"],d=0;for(o=t.length;d<o;d++){var p=(a=t[d]).itemSize,m=a.count,g=new c.InterleavedBufferAttribute(s,p,u,a.normalized);l.push(g),u+=p;for(var v=0;v<m;v++)for(var y=0;y<p;y++)g[f[y]](v,a[h[y]](v))}return l},estimateBytesUsed:function(t){var e=0;for(var n in t.attributes){var r=t.getAttribute(n);e+=r.count*r.itemSize*r.array.BYTES_PER_ELEMENT}var i=t.getIndex();return e+=i?i.count*i.itemSize*i.array.BYTES_PER_ELEMENT:0},mergeVertices:function(t,e=1e-4){e=Math.max(e,Number.EPSILON);for(var n={},r=t.getIndex(),i=t.getAttribute("position"),o=r?r.count:i.count,a=0,s=Object.keys(t.attributes),u={},l={},h=[],f=["getX","getY","getZ","getW"],d=0,p=s.length;d<p;d++){var m=s[d];u[m]=[];var g=t.morphAttributes[m];g&&(l[m]=new Array(g.length).fill().map(()=>[]))}var v=Math.log10(1/e),y=Math.pow(10,v);for(d=0;d<o;d++){var _=r?r.getX(d):d,x="",b=0;for(p=s.length;b<p;b++){m=s[b];for(var w=t.getAttribute(m),M=w.itemSize,S=0;S<M;S++)x+=~~(w[f[S]](_)*y)+","}if(x in n)h.push(n[x]);else{for(b=0,p=s.length;b<p;b++){m=s[b],w=t.getAttribute(m),g=t.morphAttributes[m],M=w.itemSize;var A=u[m],C=l[m];for(S=0;S<M;S++){var E=f[S];if(A.push(w[E](_)),g)for(var T=0,I=g.length;T<I;T++)C[T].push(g[T][E](_))}}n[x]=a,h.push(a),a++}}const L=t.clone();for(d=0,p=s.length;d<p;d++){m=s[d];var P=t.getAttribute(m),R=new P.array.constructor(u[m]);if(w=new c.BufferAttribute(R,P.itemSize,P.normalized),L.setAttribute(m,w),m in l)for(b=0;b<l[m].length;b++){var O=t.morphAttributes[m][b],k=(R=new O.array.constructor(l[m][b]),new c.BufferAttribute(R,O.itemSize,O.normalized));L.morphAttributes[m][b]=k}}return L.setIndex(h),L},toTrianglesDrawMode:function(t,e){if(e===c.TrianglesDrawMode)return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."),t;if(e===c.TriangleFanDrawMode||e===c.TriangleStripDrawMode){var n=t.getIndex();if(null===n){var r=[],i=t.getAttribute("position");if(void 0===i)return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),t;for(var o=0;o<i.count;o++)r.push(o);t.setIndex(r),n=t.getIndex()}var a=n.count-2,s=[];if(e===c.TriangleFanDrawMode)for(o=1;o<=a;o++)s.push(n.getX(0)),s.push(n.getX(o)),s.push(n.getX(o+1));else for(o=0;o<a;o++)o%2==0?(s.push(n.getX(o)),s.push(n.getX(o+1)),s.push(n.getX(o+2))):(s.push(n.getX(o+2)),s.push(n.getX(o+1)),s.push(n.getX(o)));s.length/3!==a&&console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.");var u=t.clone();return u.setIndex(s),u.clearGroups(),u}return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",e),t},computeMorphedAttributes:function(t){if(!0!==t.geometry.isBufferGeometry)return console.error("THREE.BufferGeometryUtils: Geometry is not of type BufferGeometry."),null;var e=new c.Vector3,n=new c.Vector3,r=new c.Vector3,i=new c.Vector3,o=new c.Vector3,a=new c.Vector3,s=new c.Vector3,u=new c.Vector3,l=new c.Vector3;function h(t,c,h,f,d,p,m,g,v){e.fromBufferAttribute(h,p),n.fromBufferAttribute(h,m),r.fromBufferAttribute(h,g);var y=t.morphTargetInfluences;if(c.morphTargets&&f&&y){s.set(0,0,0),u.set(0,0,0),l.set(0,0,0);for(var _=0,x=f.length;_<x;_++){var b=y[_],w=f[_];0!==b&&(i.fromBufferAttribute(w,p),o.fromBufferAttribute(w,m),a.fromBufferAttribute(w,g),d?(s.addScaledVector(i,b),u.addScaledVector(o,b),l.addScaledVector(a,b)):(s.addScaledVector(i.sub(e),b),u.addScaledVector(o.sub(n),b),l.addScaledVector(a.sub(r),b)))}e.add(s),n.add(u),r.add(l)}t.isSkinnedMesh&&(t.boneTransform(p,e),t.boneTransform(m,n),t.boneTransform(g,r)),v[3*p+0]=e.x,v[3*p+1]=e.y,v[3*p+2]=e.z,v[3*m+0]=n.x,v[3*m+1]=n.y,v[3*m+2]=n.z,v[3*g+0]=r.x,v[3*g+1]=r.y,v[3*g+2]=r.z}var f,d,p,m,g,v,y,_,x,b=t.geometry,w=t.material,M=b.index,S=b.attributes.position,A=b.morphAttributes.position,C=b.morphTargetsRelative,E=b.attributes.normal,T=b.morphAttributes.position,I=b.groups,L=b.drawRange,P=new Float32Array(S.count*S.itemSize),R=new Float32Array(E.count*E.itemSize);if(null!==M)if(Array.isArray(w))for(m=0,v=I.length;m<v;m++)for(x=w[(_=I[m]).materialIndex],g=Math.max(_.start,L.start),y=Math.min(_.start+_.count,L.start+L.count);g<y;g+=3)h(t,x,S,A,C,f=M.getX(g),d=M.getX(g+1),p=M.getX(g+2),P),h(t,x,E,T,C,f,d,p,R);else for(m=Math.max(0,L.start),v=Math.min(M.count,L.start+L.count);m<v;m+=3)h(t,w,S,A,C,f=M.getX(m),d=M.getX(m+1),p=M.getX(m+2),P),h(t,w,E,T,C,f,d,p,R);else if(void 0!==S)if(Array.isArray(w))for(m=0,v=I.length;m<v;m++)for(x=w[(_=I[m]).materialIndex],g=Math.max(_.start,L.start),y=Math.min(_.start+_.count,L.start+L.count);g<y;g+=3)h(t,x,S,A,C,f=g,d=g+1,p=g+2,P),h(t,x,E,T,C,f,d,p,R);else for(m=Math.max(0,L.start),v=Math.min(S.count,L.start+L.count);m<v;m+=3)h(t,w,S,A,C,f=m,d=m+1,p=m+2,P),h(t,w,E,T,C,f,d,p,R);return{positionAttribute:S,normalAttribute:E,morphedPositionAttribute:new c.Float32BufferAttribute(P,3),morphedNormalAttribute:new c.Float32BufferAttribute(R,3)}}},K=n("faa4"),$=function(){function t(e,n,i){var o=this;Object(r.a)(this,t);var a=n.width||64,s=e.length>100?100:e.length,u=new c.PlaneBufferGeometry(a,a);this.texture=this._createBackGround(a),this.radius=a/3;var l,h=new c.MeshStandardMaterial({map:this.texture}),f=[];this.impacts=[],this.tweens=[],e.slice(0,s).map((function(t){var e=u.clone(),n=i.coordinateToVector3(t,0),r=(new c.Matrix4).makeTranslation(n.x,n.y,n.z);e.applyMatrix4(r),f.push(e),o.impacts.push({impactPosition:new c.Vector3(0,0,0).applyMatrix4(r),impactMaxRadius:o.radius,impactRatio:1})})),h.onBeforeCompile=function(t){t.uniforms.impacts={value:o.impacts},t.uniforms.impactRadius={value:a/2},t.vertexShader="varying vec3 vPosition;\n"+t.vertexShader,t.vertexShader=t.vertexShader.replace("#include <worldpos_vertex>","#include <worldpos_vertex>\n vPosition = transformed.xyz;"),t.fragmentShader="struct impact {\n vec3 impactPosition;\n float impactMaxRadius;\n float impactRatio;\n };\n uniform impact impacts[".concat(s,"];\n uniform float impactRadius;\n varying vec3 vPosition;\n ")+t.fragmentShader,t.fragmentShader=t.fragmentShader.replace("#include <dithering_fragment>","#include <dithering_fragment>\n float finalStep = 0.0;\n for (int i = 0; i < ".concat(s,";i++){\n \n float dist = distance(vPosition, impacts[i].impactPosition);\n //float curRadius = impacts[i].impactMaxRadius * impacts[i].impactRatio;\n float curRadius = impactRadius * impacts[i].impactRatio;\n float sstep = smoothstep(0., curRadius, dist) - smoothstep(curRadius - ( 0.25 * impacts[i].impactRatio ), curRadius, dist);\n sstep *= 1. - impacts[i].impactRatio;\n finalStep += sstep;\n\n }\n finalStep = 1. - clamp(finalStep, 0., 1.);\n\n //vec3 col = mix(vec3(1., 0.5, 0.0625), vec3(1.,0.125, 0.0625), finalStep);\n vec3 col = mix(vec3(1.,0., 0.), vec3(1.,0., 0.), finalStep);\n gl_FragColor = vec4( mix( col, gl_FragColor.rgb, finalStep), diffuseColor.a );")),l=t,o.materialShader=t};var d=q.mergeBufferGeometries(f),p=new J({interactive:!1},d,h,i);i.addMesh(p),this.map=i.map,this.curscale=this.map.getScale();for(var m=this,g=function(t){o.tweens.push({runTween:function(){new K.a({value:0}).to({value:1},c.Math.randInt(2500,5e3)).delay(c.Math.randInt(500,2e3)).onUpdate((function(e){l&&l.uniforms.impacts.value[t]&&(l.uniforms.impacts.value[t].impactRatio=e.value)})).onComplete((function(){var e;null===(e=m.tweens[t])||void 0===e||e.runTween()})).start()}})},v=0;v<s;v++)g(v);this.tweens.forEach((function(t){t.runTween()})),this.width=a,this.shockMeshs=p,this.threelayer=i,this.points=e,this._geom=u,this._bindMapEvents()}return Object(i.a)(t,[{key:"_bindMapEvents",value:function(){this.map&&this.map.on("zooming zoomend",this._setSizeOn,this)}},{key:"_closeEvent",value:function(){this.map&&this.map.off("zooming zoomend",this._setSizeOn,this)}},{key:"_setSizeOn",value:function(){if(this.materialShader){var t=this.map.getScale()/this.curscale;t=(t=t>1?1:t)<.5?.5:t,this.materialShader.uniforms.impactRadius.value=this.radius*t}}},{key:"_createBackGround",value:function(t){var e=document.createElement("canvas");e.width=e.height=t;var n=e.getContext("2d");n.globalCompositeOperation,n.globalAlpha=0,n.fillRect(0,0,e.width,e.height);var r=new c.Texture(e);return r.needsUpdate=!0,r}},{key:"hide",value:function(){this.shockMeshs&&this.threelayer.removeMesh(this.shockMeshs)}},{key:"show",value:function(){this.shockMeshs&&this.threelayer.addMesh(this.shockMeshs)}},{key:"dispose",value:function(){if(this.shockMeshs&&(this.threelayer.removeMesh(this.shockMeshs),this.shockMeshs.object3d.geometry&&this.shockMeshs.object3d.geometry.dispose(),delete this.shockMeshs,this.texture&&this.texture.dispose(),this.material&&(this.material.dispose(),delete this.material)),this.tweens.length>0){for(var t=0;t<this.tweens.length;t++)delete this.tweens[t];this.tweens=[]}if(this.impacts.length>0){for(var e=0;e<this.impacts.length;e++)delete this.impacts[e];this.impacts=[]}this._geom&&(this._geom.dispose(),delete this._geom),this._closeEvent(),this.points=[],this.materialShader&&delete this.materialShader,this.map=null}}]),t}();n("00e2"),c.UniformsLib.line={linewidth:{value:1},resolution:{value:new c.Vector2(1,1)},dashScale:{value:1},dashSize:{value:1},dashOffset:{value:0},gapSize:{value:1},opacity:{value:1}},c.ShaderLib.line={uniforms:c.UniformsUtils.merge([c.UniformsLib.common,c.UniformsLib.fog,c.UniformsLib.line]),vertexShader:"\n\t\t#include <common>\n\t\t#include <color_pars_vertex>\n\t\t#include <fog_pars_vertex>\n\t\t#include <logdepthbuf_pars_vertex>\n\t\t#include <clipping_planes_pars_vertex>\n\n\t\tuniform float linewidth;\n\t\tuniform vec2 resolution;\n\n\t\tattribute vec3 instanceStart;\n\t\tattribute vec3 instanceEnd;\n\n\t\tattribute vec3 instanceColorStart;\n\t\tattribute vec3 instanceColorEnd;\n\n\t\tvarying vec2 vUv;\n\n\t\t#ifdef USE_DASH\n\n\t\t\tuniform float dashScale;\n\t\t\tattribute float instanceDistanceStart;\n\t\t\tattribute float instanceDistanceEnd;\n\t\t\tvarying float vLineDistance;\n\n\t\t#endif\n\n\t\tvoid trimSegment( const in vec4 start, inout vec4 end ) {\n\n\t\t\t// trim end segment so it terminates between the camera plane and the near plane\n\n\t\t\t// conservative estimate of the near plane\n\t\t\tfloat a = projectionMatrix[ 2 ][ 2 ]; // 3nd entry in 3th column\n\t\t\tfloat b = projectionMatrix[ 3 ][ 2 ]; // 3nd entry in 4th column\n\t\t\tfloat nearEstimate = - 0.5 * b / a;\n\n\t\t\tfloat alpha = ( nearEstimate - start.z ) / ( end.z - start.z );\n\n\t\t\tend.xyz = mix( start.xyz, end.xyz, alpha );\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\t#ifdef USE_COLOR\n\n\t\t\t\tvColor.xyz = ( position.y < 0.5 ) ? instanceColorStart : instanceColorEnd;\n\n\t\t\t#endif\n\n\t\t\t#ifdef USE_DASH\n\n\t\t\t\tvLineDistance = ( position.y < 0.5 ) ? dashScale * instanceDistanceStart : dashScale * instanceDistanceEnd;\n\n\t\t\t#endif\n\n\t\t\tfloat aspect = resolution.x / resolution.y;\n\n\t\t\tvUv = uv;\n\n\t\t\t// camera space\n\t\t\tvec4 start = modelViewMatrix * vec4( instanceStart, 1.0 );\n\t\t\tvec4 end = modelViewMatrix * vec4( instanceEnd, 1.0 );\n\n\t\t\t// special case for perspective projection, and segments that terminate either in, or behind, the camera plane\n\t\t\t// clearly the gpu firmware has a way of addressing this issue when projecting into ndc space\n\t\t\t// but we need to perform ndc-space calculations in the shader, so we must address this issue directly\n\t\t\t// perhaps there is a more elegant solution -- WestLangley\n\n\t\t\tbool perspective = ( projectionMatrix[ 2 ][ 3 ] == - 1.0 ); // 4th entry in the 3rd column\n\n\t\t\tif ( perspective ) {\n\n\t\t\t\tif ( start.z < 0.0 && end.z >= 0.0 ) {\n\n\t\t\t\t\ttrimSegment( start, end );\n\n\t\t\t\t} else if ( end.z < 0.0 && start.z >= 0.0 ) {\n\n\t\t\t\t\ttrimSegment( end, start );\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t// clip space\n\t\t\tvec4 clipStart = projectionMatrix * start;\n\t\t\tvec4 clipEnd = projectionMatrix * end;\n\n\t\t\t// ndc space\n\t\t\tvec2 ndcStart = clipStart.xy / clipStart.w;\n\t\t\tvec2 ndcEnd = clipEnd.xy / clipEnd.w;\n\n\t\t\t// direction\n\t\t\tvec2 dir = ndcEnd - ndcStart;\n\n\t\t\t// account for clip-space aspect ratio\n\t\t\tdir.x *= aspect;\n\t\t\tdir = normalize( dir );\n\n\t\t\t// perpendicular to dir\n\t\t\tvec2 offset = vec2( dir.y, - dir.x );\n\n\t\t\t// undo aspect ratio adjustment\n\t\t\tdir.x /= aspect;\n\t\t\toffset.x /= aspect;\n\n\t\t\t// sign flip\n\t\t\tif ( position.x < 0.0 ) offset *= - 1.0;\n\n\t\t\t// endcaps\n\t\t\tif ( position.y < 0.0 ) {\n\n\t\t\t\toffset += - dir;\n\n\t\t\t} else if ( position.y > 1.0 ) {\n\n\t\t\t\toffset += dir;\n\n\t\t\t}\n\n\t\t\t// adjust for linewidth\n\t\t\toffset *= linewidth;\n\n\t\t\t// adjust for clip-space to screen-space conversion // maybe resolution should be based on viewport ...\n\t\t\toffset /= resolution.y;\n\n\t\t\t// select end\n\t\t\tvec4 clip = ( position.y < 0.5 ) ? clipStart : clipEnd;\n\n\t\t\t// back to clip space\n\t\t\toffset *= clip.w;\n\n\t\t\tclip.xy += offset;\n\n\t\t\tgl_Position = clip;\n\n\t\t\tvec4 mvPosition = ( position.y < 0.5 ) ? start : end; // this is an approximation\n\n\t\t\t#include <logdepthbuf_vertex>\n\t\t\t#include <clipping_planes_vertex>\n\t\t\t#include <fog_vertex>\n\n\t\t}\n\t\t",fragmentShader:"\n\t\tuniform vec3 diffuse;\n\t\tuniform float opacity;\n\n\t\t#ifdef USE_DASH\n\n\t\t\tuniform float dashSize;\n\t\t\tuniform float dashOffset;\n\t\t\tuniform float gapSize;\n\n\t\t#endif\n\n\t\tvarying float vLineDistance;\n\n\t\t#include <common>\n\t\t#include <color_pars_fragment>\n\t\t#include <fog_pars_fragment>\n\t\t#include <logdepthbuf_pars_fragment>\n\t\t#include <clipping_planes_pars_fragment>\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\t#include <clipping_planes_fragment>\n\n\t\t\t#ifdef USE_DASH\n\n\t\t\t\tif ( vUv.y < - 1.0 || vUv.y > 1.0 ) discard; // discard endcaps\n\n\t\t\t\tif ( mod( vLineDistance + dashOffset, dashSize + gapSize ) > dashSize ) discard; // todo - FIX\n\n\t\t\t#endif\n\n\t\t\tfloat alpha = opacity;\n\n\t\t\t#ifdef ALPHA_TO_COVERAGE\n\n\t\t\t// artifacts appear on some hardware if a derivative is taken within a conditional\n\t\t\tfloat a = vUv.x;\n\t\t\tfloat b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;\n\t\t\tfloat len2 = a * a + b * b;\n\t\t\tfloat dlen = fwidth( len2 );\n\n\t\t\tif ( abs( vUv.y ) > 1.0 ) {\n\n\t\t\t\talpha = 1.0 - smoothstep( 1.0 - dlen, 1.0 + dlen, len2 );\n\n\t\t\t}\n\n\t\t\t#else\n\n\t\t\tif ( abs( vUv.y ) > 1.0 ) {\n\n\t\t\t\tfloat a = vUv.x;\n\t\t\t\tfloat b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;\n\t\t\t\tfloat len2 = a * a + b * b;\n\n\t\t\t\tif ( len2 > 1.0 ) discard;\n\n\t\t\t}\n\n\t\t\t#endif\n\n\t\t\tvec4 diffuseColor = vec4( diffuse, alpha );\n\n\t\t\t#include <logdepthbuf_fragment>\n\t\t\t#include <color_fragment>\n\n\t\t\tgl_FragColor = vec4( diffuseColor.rgb, alpha );\n\n\t\t\t#include <tonemapping_fragment>\n\t\t\t#include <encodings_fragment>\n\t\t\t#include <fog_fragment>\n\t\t\t#include <premultiplied_alpha_fragment>\n\n\t\t}\n\t\t"};var tt=function(t){c.ShaderMaterial.call(this,{type:"LineMaterial",uniforms:c.UniformsUtils.clone(c.ShaderLib.line.uniforms),vertexShader:c.ShaderLib.line.vertexShader,fragmentShader:c.ShaderLib.line.fragmentShader,clipping:!0}),this.dashed=!1,Object.defineProperties(this,{color:{enumerable:!0,get:function(){return this.uniforms.diffuse.value},set:function(t){this.uniforms.diffuse.value=t}},linewidth:{enumerable:!0,get:function(){return this.uniforms.linewidth.value},set:function(t){this.uniforms.linewidth.value=t}},dashScale:{enumerable:!0,get:function(){return this.uniforms.dashScale.value},set:function(t){this.uniforms.dashScale.value=t}},dashSize:{enumerable:!0,get:function(){return this.uniforms.dashSize.value},set:function(t){this.uniforms.dashSize.value=t}},dashOffset:{enumerable:!0,get:function(){return this.uniforms.dashOffset.value},set:function(t){this.uniforms.dashOffset.value=t}},gapSize:{enumerable:!0,get:function(){return this.uniforms.gapSize.value},set:function(t){this.uniforms.gapSize.value=t}},opacity:{enumerable:!0,get:function(){return this.uniforms.opacity.value},set:function(t){this.uniforms.opacity.value=t}},resolution:{enumerable:!0,get:function(){return this.uniforms.resolution.value},set:function(t){this.uniforms.resolution.value.copy(t)}},alphaToCoverage:{enumerable:!0,get:function(){return Boolean("ALPHA_TO_COVERAGE"in this.defines)},set:function(t){Boolean(t)!==Boolean("ALPHA_TO_COVERAGE"in this.defines)&&(this.needsUpdate=!0),t?(this.defines.ALPHA_TO_COVERAGE="",this.extensions.derivatives=!0):(delete this.defines.ALPHA_TO_COVERAGE,this.extensions.derivatives=!1)}}}),this.setValues(t)};(tt.prototype=Object.create(c.ShaderMaterial.prototype)).constructor=tt,tt.prototype.isLineMaterial=!0;var et=function(){c.InstancedBufferGeometry.call(this),this.type="LineSegmentsGeometry",this.setIndex([0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5]),this.setAttribute("position",new c.Float32BufferAttribute([-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],3)),this.setAttribute("uv",new c.Float32BufferAttribute([-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],2))};et.prototype=Object.assign(Object.create(c.InstancedBufferGeometry.prototype),{constructor:et,isLineSegmentsGeometry:!0,applyMatrix4:function(t){var e=this.attributes.instanceStart,n=this.attributes.instanceEnd;return void 0!==e&&(e.applyMatrix4(t),n.applyMatrix4(t),e.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this},setPositions:function(t){var e;t instanceof Float32Array?e=t:Array.isArray(t)&&(e=new Float32Array(t));var n=new c.InstancedInterleavedBuffer(e,6,1);return this.setAttribute("instanceStart",new c.InterleavedBufferAttribute(n,3,0)),this.setAttribute("instanceEnd",new c.InterleavedBufferAttribute(n,3,3)),this.computeBoundingBox(),this.computeBoundingSphere(),this},setColors:function(t){var e;t instanceof Float32Array?e=t:Array.isArray(t)&&(e=new Float32Array(t));var n=new c.InstancedInterleavedBuffer(e,6,1);return this.setAttribute("instanceColorStart",new c.InterleavedBufferAttribute(n,3,0)),this.setAttribute("instanceColorEnd",new c.InterleavedBufferAttribute(n,3,3)),this},fromWireframeGeometry:function(t){return this.setPositions(t.attributes.position.array),this},fromEdgesGeometry:function(t){return this.setPositions(t.attributes.position.array),this},fromMesh:function(t){return this.fromWireframeGeometry(new c.WireframeGeometry(t.geometry)),this},fromLineSegments:function(t){var e=t.geometry;if(!e.isGeometry)return e.isBufferGeometry&&this.setPositions(e.attributes.position.array),this;console.error("THREE.LineSegmentsGeometry no longer supports Geometry. Use THREE.BufferGeometry instead.")},computeBoundingBox:function(){var t=new c.Box3;return function(){null===this.boundingBox&&(this.boundingBox=new c.Box3);var e=this.attributes.instanceStart,n=this.attributes.instanceEnd;void 0!==e&&void 0!==n&&(this.boundingBox.setFromBufferAttribute(e),t.setFromBufferAttribute(n),this.boundingBox.union(t))}}(),computeBoundingSphere:function(){var t=new c.Vector3;return function(){null===this.boundingSphere&&(this.boundingSphere=new c.Sphere),null===this.boundingBox&&this.computeBoundingBox();var e=this.attributes.instanceStart,n=this.attributes.instanceEnd;if(void 0!==e&&void 0!==n){var r=this.boundingSphere.center;this.boundingBox.getCenter(r);for(var i=0,o=0,a=e.count;o<a;o++)t.fromBufferAttribute(e,o),i=Math.max(i,r.distanceToSquared(t)),t.fromBufferAttribute(n,o),i=Math.max(i,r.distanceToSquared(t));this.boundingSphere.radius=Math.sqrt(i),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}}}(),toJSON:function(){},applyMatrix:function(t){return console.warn("THREE.LineSegmentsGeometry: applyMatrix() has been renamed to applyMatrix4()."),this.applyMatrix4(t)}});var nt=function(){et.call(this),this.type="LineGeometry"};nt.prototype=Object.assign(Object.create(et.prototype),{constructor:nt,isLineGeometry:!0,setPositions:function(t){for(var e=t.length-3,n=new Float32Array(2*e),r=0;r<e;r+=3)n[2*r]=t[r],n[2*r+1]=t[r+1],n[2*r+2]=t[r+2],n[2*r+3]=t[r+3],n[2*r+4]=t[r+4],n[2*r+5]=t[r+5];return et.prototype.setPositions.call(this,n),this},setColors:function(t){for(var e=t.length-3,n=new Float32Array(2*e),r=0;r<e;r+=3)n[2*r]=t[r],n[2*r+1]=t[r+1],n[2*r+2]=t[r+2],n[2*r+3]=t[r+3],n[2*r+4]=t[r+4],n[2*r+5]=t[r+5];return et.prototype.setColors.call(this,n),this},fromLine:function(t){var e=t.geometry;if(!e.isGeometry)return e.isBufferGeometry&&this.setPositions(e.attributes.position.array),this;console.error("THREE.LineGeometry no longer supports Geometry. Use THREE.BufferGeometry instead.")},copy:function(){return this}});var rt={altitude:0,height:0},it=function(t){Object(C.a)(n,t);var e=Object(E.a)(n);function n(t,i,o){var a;Object(r.a)(this,n),t=u.Util.extend({},rt,t,{layer:o}),a=e.call(this);var s=t,l=s.width,h=s.height;s.altitude,a._initOptions(t);var f=new c.PlaneBufferGeometry(l,h);return a._createMesh(f,i),a}return Object(i.a)(n)}(T.a),ot=n("891d"),at=function(t,e){void 0===t&&(t=new et),void 0===e&&(e=new tt({color:16777215*Math.random()})),c.Mesh.call(this,t,e),this.type="LineSegments2"};at.prototype=Object.assign(Object.create(c.Mesh.prototype),{constructor:at,isLineSegments2:!0,computeLineDistances:function(){var t=new c.Vector3,e=new c.Vector3;return function(){for(var n=this.geometry,r=n.attributes.instanceStart,i=n.attributes.instanceEnd,o=new Float32Array(2*r.count),a=0,s=0,u=r.count;a<u;a++,s+=2)t.fromBufferAttribute(r,a),e.fromBufferAttribute(i,a),o[s]=0===s?0:o[s-1],o[s+1]=o[s]+t.distanceTo(e);var l=new c.InstancedInterleavedBuffer(o,2,1);return n.setAttribute("instanceDistanceStart",new c.InterleavedBufferAttribute(l,1,0)),n.setAttribute("instanceDistanceEnd",new c.InterleavedBufferAttribute(l,1,1)),this}}(),raycast:function(){var t=new c.Vector4,e=new c.Vector4,n=new c.Vector4,r=new c.Vector3,i=new c.Matrix4,o=new c.Line3,a=new c.Vector3,s=new c.Box3,u=new c.Sphere,l=new c.Vector4;return function(h,f){null===h.camera&&console.error('LineSegments2: "Raycaster.camera" needs to be set in order to raycast against LineSegments2.');var d=void 0!==h.params.Line2&&h.params.Line2.threshold||0,p=h.ray,m=h.camera,g=m.projectionMatrix,v=this.matrixWorld,y=this.geometry,_=this.material,x=_.resolution,b=_.linewidth+d,w=y.attributes.instanceStart,M=y.attributes.instanceEnd,S=-m.near,A=2*Math.max(b/x.width,b/x.height);null===y.boundingSphere&&y.computeBoundingSphere(),u.copy(y.boundingSphere).applyMatrix4(v);var C=Math.max(m.near,u.distanceToPoint(p.origin));l.set(0,0,-C,1).applyMatrix4(m.projectionMatrix),l.multiplyScalar(1/l.w),l.applyMatrix4(m.projectionMatrixInverse);var E=.5*Math.abs(A/l.w);if(u.radius+=E,!1!==h.ray.intersectsSphere(u)){null===y.boundingBox&&y.computeBoundingBox(),s.copy(y.boundingBox).applyMatrix4(v);var T=Math.max(m.near,s.distanceToPoint(p.origin));l.set(0,0,-T,1).applyMatrix4(m.projectionMatrix),l.multiplyScalar(1/l.w),l.applyMatrix4(m.projectionMatrixInverse);var I=.5*Math.abs(A/l.w);if(s.max.x+=I,s.max.y+=I,s.max.z+=I,s.min.x-=I,s.min.y-=I,s.min.z-=I,!1!==h.ray.intersectsBox(s)){p.at(1,n),n.w=1,n.applyMatrix4(m.matrixWorldInverse),n.applyMatrix4(g),n.multiplyScalar(1/n.w),n.x*=x.x/2,n.y*=x.y/2,n.z=0,r.copy(n),i.multiplyMatrices(m.matrixWorldInverse,v);for(var L=0,P=w.count;L<P;L++)if(t.fromBufferAttribute(w,L),e.fromBufferAttribute(M,L),t.w=1,e.w=1,t.applyMatrix4(i),e.applyMatrix4(i),!(t.z>S&&e.z>S)){if(t.z>S){const n=t.z-e.z,r=(t.z-S)/n;t.lerp(e,r)}else if(e.z>S){const n=e.z-t.z,r=(e.z-S)/n;e.lerp(t,r)}t.applyMatrix4(g),e.applyMatrix4(g),t.multiplyScalar(1/t.w),e.multiplyScalar(1/e.w),t.x*=x.x/2,t.y*=x.y/2,e.x*=x.x/2,e.y*=x.y/2,o.start.copy(t),o.start.z=0,o.end.copy(e),o.end.z=0;var R=o.closestPointToPointParameter(r,!0);o.at(R,a);var O=c.MathUtils.lerp(t.z,e.z,R),k=O>=-1&&O<=1,B=r.distanceTo(a)<.5*b;if(k&&B){o.start.fromBufferAttribute(w,L),o.end.fromBufferAttribute(M,L),o.start.applyMatrix4(v),o.end.applyMatrix4(v);var D=new c.Vector3,F=new c.Vector3;p.distanceSqToSegment(o.start,o.end,F,D),f.push({point:F,pointOnLine:D,distance:p.origin.distanceTo(F),object:this,face:null,faceIndex:L,uv:null,uv2:null})}}}}}}()});var st=function(t,e){void 0===t&&(t=new nt),void 0===e&&(e=new tt({color:16777215*Math.random()})),at.call(this,t,e),this.type="Line2"};st.prototype=Object.assign(Object.create(at.prototype),{constructor:st,isLine2:!0});var ct={radius:100,altitude:0},ut=function(t){Object(C.a)(n,t);var e=Object(E.a)(n);function n(t,i,o,a,s){var c;Object(r.a)(this,n),i=u.Util.extend({},ct,i,{layer:s,coordinate:t}),(c=e.call(this))._initOptions(i);var l=i.altitude;c.object3d=new st(o,a),c.object3d.computeLineDistances(),c.object3d.scale.set(1,1,1),c.object3d.__parent=Object(ot.a)(c);var h=s.distanceToVector3(l,l).x,f=s.coordinateToVector3(t,h);return c.getObject3d().position.copy(f),c}return Object(i.a)(n)}(T.a),lt={radius:100,altitude:0},ht=function(t){Object(C.a)(n,t);var e=Object(E.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n),i=u.Util.extend({},lt,i,{layer:a,coordinate:t}),(s=e.call(this))._initOptions(i);var l=i,h=l.altitude,f=l.inradius,d=l.outradius,p=l.start,m=a.distanceToVector3(f,f).x,g=a.distanceToVector3(d,d).x,v=new c.RingBufferGeometry(m,g,14,1,p*Math.PI/180,45*Math.PI/180);s._createMesh(v,o);var y=a.distanceToVector3(h,h).x,_=a.coordinateToVector3(t,y);return s.getObject3d().position.copy(_),s}return Object(i.a)(n)}(T.a),ft={radius:100,altitude:0},dt=function(t){Object(C.a)(n,t);var e=Object(E.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n),i=u.Util.extend({},ft,i,{layer:a,coordinate:t}),(s=e.call(this))._initOptions(i);var l=i,h=l.altitude,f=l.radius,d=l.start,p=a.distanceToVector3(f,f).x,m=new c.CircleBufferGeometry(p,128,d*Math.PI/180,45*Math.PI/180);s._createMesh(m,o);var g=a.distanceToVector3(h,h).x,v=a.coordinateToVector3(t,g);return s.getObject3d().position.copy(v),s}return Object(i.a)(n)}(T.a),pt=function(){function t(e,n,i,o){Object(r.a)(this,t),this.tlayer=o,this.map=o.map;var a=o.coordinateToVector3(e,0),s=i.maxdis||15e3,l=i.middis||1e4,h=i.mindis||5e3,f=s/2e3,d=i.fontsize||80,p=4*f,m=1*f,g=o.distanceToVector3(s,s).x,v=o.distanceToVector3(l,l).x,y=o.distanceToVector3(h,h).x,_=(new c.Matrix4).makeTranslation(a.x,a.y,a.z);this.matLine=new tt({color:i.color||4227327,linewidth:i.lineWidth||.002,dashed:!1,transparent:!0}),this.matLine.uniforms.opacity.value=i.opacity||.65,this.meshitems=[],this.textures=[],this.lineItems=[],this.psItems=[];var x={type:"label",x_offset:0,y_offset:m,name:"N",degree:0};this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:m,y_offset:m,name:"EN",degree:45},this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:m,y_offset:0,name:"E",degree:90},this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:m,y_offset:-m,name:"ES",degree:135},this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:0,y_offset:-m,name:"S",degree:180},this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:-m,y_offset:-m,name:"WS",degree:225},this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:-m,y_offset:0,name:"W",degree:270},this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:-m,y_offset:m,name:"WN",degree:315},this.createLabelNew(g,d,p,_,x),this.createCircle(g,e),this.createCircle(v,e),this.createCircle(y,e);for(var b=0;b<360;b+=45)this.lineItems.push({x1:0*Math.sin(Math.PI/180*0),y1:0*Math.cos(Math.PI/180*0),z1:0,x2:Math.sin(b*(Math.PI/180))*g,y2:Math.cos(b*(Math.PI/180))*g,z2:0});this.createLine(e);for(var w=0;w<n.length;w++)-1!=n[w].name.indexOf("A")?this.createMinPoly(h,e,n[w].color,this.getDegree(n[w].name),Object.assign(n[w],{type:"poly"})):-1!=n[w].name.indexOf("B")?this.createRing(h,l,e,n[w].color,this.getDegree(n[w].name),Object.assign(n[w],{type:"poly"})):-1!=n[w].name.indexOf("C")&&this.createRing(l,s,e,n[w].color,this.getDegree(n[w].name),Object.assign(n[w],{type:"poly"}));if(o.addMesh(this.meshitems),this.callback=i.callback,this.callback){var M={custom:!0,dy:i.dy||-48,content:"",autoOpenOn:null};this.infoWindow=new u.ui.InfoWindow(M).addTo(this.map)}this._translation=_}return Object(i.a)(t,[{key:"dispose",value:function(){var t=this;if(this.infoWindow&&(this.infoWindow.remove(),delete this.infoWindow),this.meshitems){this.tlayer.removeMesh(this.meshitems),this.meshitems.forEach((function(e){var n=e.getProperties();n&&"poly"===n.type&&t.closeClick(e),n&&e.getProperties()})),this.textures.length>0&&(this.textures.forEach((function(t){t.dispose()})),this.textures=[]),this.meshitems.forEach((function(t){t.object3d.geometry&&t.object3d.geometry.dispose(),t.object3d.material&&t.object3d.material.dispose()}));for(var e=0;e<this.lineItems.length;e++)delete this.lineItems[e];this.lineItems=[];for(var n=0;n<this.psItems.length;n++)delete this.psItems[n];this.psItems=[]}delete this._translation}},{key:"createMinPoly",value:function(t,e,n,r,i){var o=new c.MeshBasicMaterial({color:n,transparent:!0,opacity:.5,depthTest:!1}),a=new dt(e,{radius:t,start:r},o,this.tlayer);a.setProperties(i),this.attachClick(a),this.meshitems.push(a)}},{key:"createRing",value:function(t,e,n,r,i,o){var a=new c.MeshBasicMaterial({color:r,transparent:!0,opacity:.5,depthTest:!1}),s=new ht(n,{inradius:t,outradius:e,start:i},a,this.tlayer);s.setProperties(o),this.meshitems.push(s),this.attachClick(s)}},{key:"closeClick",value:function(t){t.off("click",this._setItemEvent,this)}},{key:"attachClick",value:function(t){t.on("click",this._setItemEvent,this)}},{key:"_setItemEvent",value:function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.callback){t.next=5;break}return n=e.target.getProperties(),t.next=4,this.callback(this.infoWindow,n);case 4:this.infoWindow.show({x:e.coordinate.x,y:e.coordinate.y});case 5:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getPropertiesByName",value:function(t,e){for(var n=0;n<e.length;n++)if(e[n].name===t)return e[n]}},{key:"getDegree",value:function(t){switch(t){case"A1":case"B1":case"C1":return 45;case"A2":case"B2":case"C2":return 0;case"A8":case"B8":case"C8":return 90;case"A7":case"B7":case"C7":return 135;case"A6":case"B6":case"C6":return 180;case"A5":case"B5":case"C5":return 225;case"A4":case"B4":case"C4":return 270;case"A3":case"B3":case"C3":return 315}}},{key:"createLine",value:function(t){for(var e=[],n=0;n<this.lineItems.length;n++){(e=[]).push(this.lineItems[n].x1,this.lineItems[n].y1,this.lineItems[n].z1),e.push(this.lineItems[n].x2,this.lineItems[n].y2,this.lineItems[n].z2);var r=new nt;r.setPositions(e);var i=new ut(t,{interactive:!1},r,this.matLine,this.tlayer);this.meshitems.push(i)}}},{key:"createCircle",value:function(t,e){for(var n=[],r=0;r<=360;r++)n.push(Math.sin(r*(Math.PI/180))*t,Math.cos(r*(Math.PI/180))*t,0);var i=new nt;i.setPositions(n);var o=new ut(e,{interactive:!1},i,this.matLine,this.tlayer);this.meshitems.push(o)}},{key:"createLabelNew",value:function(t,e,n,r,i){var o=new it({interactive:!1,width:n,height:n},this.getTextMaterial(i.name,e,"#fff"),this.tlayer),a=this.getPsVec(i.degree,t,r);o.object3d.position.set(a.x+i.x_offset,a.y+i.y_offset,0),this.psItems.push(a),o.setProperties(i),this.meshitems.push(o)}},{key:"getPsVec",value:function(t,e,n){var r=t*(Math.PI/180),i=new c.Vector3(Math.sin(r)*e,Math.cos(r)*e,0);return i=i.applyMatrix4(n)}},{key:"getTextMaterial",value:function(t,e,n){var r=document.createElement("canvas");r.width=r.height=256;var i=r.getContext("2d");i.fillStyle=n,i.font="".concat(e,"px Aria"),i.textAlign="center",i.textBaseline="middle",i.fillText(t,128,128);var o=new c.Texture(r);return o.needsUpdate=!0,this.textures.push(o),new c.MeshPhongMaterial({map:o,transparent:!0,depthTest:!1})}}]),t}(),mt=(n("20f0"),n("1340"),n("8afd"),Math.PI/180);function gt(t){return t.getCoordinates().map((function(t){return t.toArray()}))}function vt(t){return t*mt}function yt(t,e){if(!t||!e)return 0;Array.isArray(t)||(t=t.toArray()),Array.isArray(e)||(e=e.toArray());var n=vt(t[1]),r=vt(e[1]),i=n-r,o=vt(t[0])-vt(e[0]);return n=2*Math.asin(Math.sqrt(Math.pow(Math.sin(i/2),2)+Math.cos(n)*Math.cos(r)*Math.pow(Math.sin(o/2),2))),n*=6378137,Math.round(1e5*n)/1e5}function _t(t,e){var n=t.len,r=t.c1,i=t.c2,o=i[0]-r[0],a=i[1]-r[1],s=(i[2]||0)-(r[2]||0),c=e/n;return[r[0]+c*o,r[1]+c*a,(r[2]||0)+c*s]}var xt=n("96a7"),bt=n("46d7");function wt(t,e,n){if(void 0===n&&(n={}),!0===n.final)return function(t,e){var n=wt(e,t);return n=(n+180)%360}(t,e);var r=Object(bt.a)(t),i=Object(bt.a)(e),o=Object(xt.a)(r[0]),a=Object(xt.a)(i[0]),s=Object(xt.a)(r[1]),c=Object(xt.a)(i[1]),u=Math.sin(a-o)*Math.cos(c),l=Math.cos(s)*Math.sin(c)-Math.sin(s)*Math.cos(c)*Math.cos(a-o);return Object(xt.c)(Math.atan2(u,l))}var Mt=n("6d6e"),St=n.n(Mt),At={altitude:0,height:0},Ct=function(t){Object(C.a)(n,t);var e=Object(E.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n),o=u.Util.extend({},At,o,{layer:a}),s=e.call(this);var l=o,h=l.width,f=l.height,d=l.altitude;s._initOptions(o);var p=new c.PlaneBufferGeometry(h,f);s._createMesh(p,i);var m=a.distanceToVector3(d,d).x,g=a.coordinateToVector3(t,m);return s.getObject3d().position.copy(g),s}return Object(i.a)(n)}(T.a),Et=function(){function t(e,n,i){var o=this;Object(r.a)(this,t),this.tlayer=i,this.map=i.map,n.color;var a=void 0!==n.smoothFlag&&!0===n.smoothFlag,s=void 0!==n.lineFlag&&!0===n.lineFlag;this.material=null,this.texture=null,this.curve=null,this.meshs=[],this.pts=[],this.newPts=[],this.arrows=[],this.lines=null,this.coordinates=null,this.positions=null,this.bearings=[],s&&(this.lineMaterial=new tt({color:n.lineColor||"red",transparent:!0,linewidth:n.linewidth||4,blending:c.AdditiveBlending})),this.loadTexture().then((function(t){var r=null;if(a?(e.forEach((function(t){var e=i.coordinateToVector3(t);o.pts.push(e)})),o.curve=new c.CatmullRomCurve3(o.pts,!1),o.curve.getPoints(20).forEach((function(t){var e=o.map.pointToCoordinate(t,o.map.getGLZoom());o.newPts.push(e)})),r=new u.LineString(o.newPts)):r=new u.LineString(e),s){var l=i.toFatLine(r,{},o.lineMaterial);o.meshs.push(l),o.tlayer.addMesh(o.meshs)}var h=r.getLength(),f=parseInt(h/30);f=f>10?10:f,o.ArrowNum=f;var d=1/o.ArrowNum;o.addSpan=Math.floor(100*d)/100;for(var p=0;p<o.ArrowNum;p++){var m=new Ct(e[0],t,{width:n.width||.2,height:n.height||.1},o.tlayer);m.object3d.renderOrder=n.arrowOrder||1,o.arrows.push(m)}o.tlayer.addMesh(o.arrows),o.lines=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;e=Math.max(e,1),Array.isArray(t)||(t=gt(t));for(var n=t.length,r=[],i=0,o=0;o<n-1;o++){var a=yt(t[o],t[o+1]),s=Math.floor(a);r.push({c1:t[o],len:s,c2:t[o+1]}),i+=s}if(i<=e){var c=r.map((function(t){return[t.c1,t.c2]}));return c}if(1===r.length&&r[0].len<=e)return[[r[0].c1,r[0].c2]];for(var u,l=r.length,h=r[0],f=0,d=0,p=[],m=[h.c1];f<l;){var g=r[f],v=g.len,y=g.c2;if((d+=v)<e&&(m.push(y),f===l-1&&p.push(m),f++),d==e&&(m.push(y),d=0,p.push(m),m=[y],f++),d>e){var _=v-d+e;u=_t(r[f],_),m.push(u),p.push(m),d=0,r[f].c1=u,r[f].len=v-_,(m=[]).push(u)}}return p}(r,1);var g=o.lines[0][0],v=o.tlayer.coordinateToVector3(g);o.coordinates=[g],o.positions=[v],o.lines.forEach((function(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.join(",").toString()!==o.coordinates[o.coordinates.length-1].join(",").toString()){o.coordinates.push(n);var r=o.tlayer.coordinateToVector3(n);r.z=.02,o.positions.push(r)}}}));for(var y=0;y<o.coordinates.length-1;y++){var _=o.coordinates[y],x=o.coordinates[y+1],b=wt(St()(_),St()(x));o.bearings.push((180-b)*Math.PI/180)}}))}return Object(i.a)(t,[{key:"loadTexture",value:function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.promiseToDoSomething();case 2:return e=t.sent,this.texture=new c.CanvasTexture(e.canvas),this.material=new c.MeshBasicMaterial({map:this.texture,side:c.DoubleSide,depthWrite:!1,depthTest:!1}),t.abrupt("return",this.material);case 6:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"promiseToDoSomething",value:function(){return new Promise((function(t){var e=document.createElement("canvas").getContext("2d");e.canvas.width=64,e.canvas.height=64,e.translate(29,32),e.rotate(.5*Math.PI),e.fillStyle="rgb(0,255,255)",e.textAlign="center",e.textBaseline="middle",e.font="48px sans-serif",e.fillText("➡︎",0,0),setTimeout((function(){return t(e)}),4)}))}},{key:"naimationFunc",value:function(){if(this.coordinates)for(var t=1e-4*performance.now(),e=0;e<this.ArrowNum;e++){var n=(t+this.addSpan*e)%1,r=Math.floor(n*this.coordinates.length);this.arrows[e].getObject3d().position.copy(this.positions[r]);var i=this.bearings[r];null!=i&&(this.arrows[e].getObject3d().rotation.z=i)}}},{key:"dispose",value:function(){this.meshs&&(this.tlayer.removeMesh(this.meshs),this.meshs.forEach((function(t){t.object3d.geometry&&t.object3d.geometry.dispose()}))),this.arrows&&(this.tlayer.removeMesh(this.arrows),this.arrows.forEach((function(t){t.object3d.geometry&&t.object3d.geometry.dispose()}))),this.material&&this.material.dispose(),this.texture&&this.texture.dispose(),this.curve&&delete this.curve;for(var t=0;t<this.pts.length;t++)delete this.pts[t];this.pts=[],this.newPts=[];for(var e=0;e<this.lines.length;e++)delete this.lines[e];this.lines=[],this.coordinates=[],this.positions=[],this.bearings=[]}}]),t}(),Tt=function(){function t(e,n,i){var o=this;Object(r.a)(this,t),this.tlayer=i,this.map=i.map;var a=i.coordinateToVector3(e,0),s=n.distince||15e3,u=s/2,l=s/2e3,h=n.fontsize||80,f=4*l,d=1*l,p=i.distanceToVector3(s,s).x,m=i.distanceToVector3(u,u).x,g=(new c.Matrix4).makeTranslation(a.x,a.y,a.z);if(this.meshitems=[],this.textures=[],this.lineItems=[],this.psItems=[],this.arrowitems=[],this.matLine=new tt({color:n.color||4227327,linewidth:n.lineWidth||.001,dashed:!1,transparent:!0}),this.matLine.uniforms.opacity.value=n.opacity||.65,this.textureLoader=new c.TextureLoader,n.arrowImgPath){var v=n.windSpeed||0,y=n.windDirection||0;console.log(y),this.textureLoader.load(n.arrowImgPath,(function(t){o.textures.push(t),o.arrowMaterial=new c.MeshBasicMaterial({map:t});var e=new it({interactive:!1,width:2*l,height:2*l},o.arrowMaterial,o.tlayer),n=o.getArrowPs(y,l),r=n.rotation*(Math.PI/180),i=o.getPsVec(y,p,g);o.psItems.push(i),o.psItems.push(n),e.object3d.position.set(i.x,i.y,a.z),e.object3d.rotation.z=r,o.arrowitems.push(e);var s=o.createTexture("".concat(v,"级"),60,"#fff");o.textures.push(s);var u=new it({interactive:!1,width:f,height:f},o.getArrowTextMaterial(s),o.tlayer);u.object3d.position.set(i.x+n.offx,i.y+n.offy,a.z),o.arrowitems.push(u),o.tlayer.addMesh(o.arrowitems)}))}var _={type:"label",x_offset:0,y_offset:d,name:"N",degree:0};this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:d,y_offset:d,name:"EN",degree:45},this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:d,y_offset:0,name:"E",degree:90},this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:d,y_offset:-d,name:"ES",degree:135},this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:0,y_offset:-d,name:"S",degree:180},this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:-d,y_offset:-d,name:"WS",degree:225},this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:-d,y_offset:0,name:"W",degree:270},this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:-d,y_offset:d,name:"WN",degree:315},this.createLabelNew(p,h,f,g,_),this.createCircle(p,e),this.createCircle(m,e);for(var x=0;x<360;x+=22.5)this.lineItems.push({x1:0*Math.sin(Math.PI/180*0),y1:0*Math.cos(Math.PI/180*0),z1:0,x2:Math.sin(x*(Math.PI/180))*p,y2:Math.cos(x*(Math.PI/180))*p,z2:0});this.createLine(e),i.addMesh(this.meshitems),this._translation=g,this._r=p,this._factor=l}return Object(i.a)(t,[{key:"dispose",value:function(){if(this.meshitems){this.tlayer.removeMesh(this.meshitems),this.meshitems.forEach((function(t){t.getProperties()&&t.getProperties()})),this.textures.length>0&&(this.textures.forEach((function(t){t.dispose()})),this.textures=[]),this.meshitems.forEach((function(t){t.object3d.geometry&&t.object3d.geometry.dispose(),t.object3d.material&&t.object3d.material.dispose()}));for(var t=0;t<this.lineItems.length;t++)delete this.lineItems[t];this.lineItems=[];for(var e=0;e<this.psItems.length;e++)delete this.psItems[e];this.psItems=[]}this.arrowitems&&(this.tlayer.removeMesh(this.arrowitems),this.arrowitems.forEach((function(t){t.object3d.geometry&&t.object3d.geometry.dispose(),t.object3d.material&&t.object3d.material.dispose()}))),this.textureLoader&&delete this.textureLoader,delete this._translation}},{key:"createLine",value:function(t){for(var e=[],n=0;n<this.lineItems.length;n++){(e=[]).push(this.lineItems[n].x1,this.lineItems[n].y1,this.lineItems[n].z1),e.push(this.lineItems[n].x2,this.lineItems[n].y2,this.lineItems[n].z2);var r=new nt;r.setPositions(e);var i=new ut(t,{interactive:!1},r,this.matLine,this.tlayer);this.meshitems.push(i)}}},{key:"updateDirection",value:function(t,e){if(2===this.arrowitems.length){var n=this.arrowitems[0],r=this.arrowitems[1],i=this.createTexture("".concat(e||0,"级"),60,"#fff");r.object3d.material.map=i,this.textures.push(i),r.object3d.material.map.needsUpdate=!0;var o=this.getArrowPs(t,this._factor),a=o.rotation*(Math.PI/180),s=this.getPsVec(t,this._r,this._translation);n.object3d.position.set(s.x,s.y,0),this.psItems.push(s),this.psItems.push(o),n.object3d.position.set(s.x,s.y,0),n.object3d.rotation.z=a,r.object3d.position.set(s.x+o.offx,s.y+o.offy,0)}}},{key:"createCircle",value:function(t,e){for(var n=[],r=0;r<=360;r++)n.push(Math.sin(r*(Math.PI/180))*t,Math.cos(r*(Math.PI/180))*t,0);var i=new nt;i.setPositions(n);var o=new ut(e,{interactive:!1},i,this.matLine,this.tlayer);this.meshitems.push(o)}},{key:"createLabelNew",value:function(t,e,n,r,i){var o=new it({interactive:!1,width:n,height:n},this.getTextMaterial(i.name,e,"#fff"),this.tlayer),a=this.getPsVec(i.degree,t,r);o.object3d.position.set(a.x+i.x_offset,a.y+i.y_offset,0),this.psItems.push(a),o.setProperties(i),this.meshitems.push(o)}},{key:"getPsVec",value:function(t,e,n){var r=t*(Math.PI/180),i=new c.Vector3(Math.sin(r)*e,Math.cos(r)*e,0);return i=i.applyMatrix4(n)}},{key:"getTextMaterial",value:function(t,e,n){var r=document.createElement("canvas");r.width=r.height=256;var i=r.getContext("2d");i.fillStyle=n,i.font="".concat(e,"px Aria"),i.textAlign="center",i.textBaseline="middle",i.fillText(t,128,128);var o=new c.Texture(r);return o.needsUpdate=!0,this.textures.push(o),new c.MeshPhongMaterial({map:o,transparent:!0,depthTest:!1})}},{key:"getArrowPs",value:function(t,e){var n=0,r=0,i=0;return t>180?(n=360-t+180,r=2*e,i=0):n=180-t,0==t?(r=0,i=-2*e):180==t?(i=0,i=2*e):t>0&&t<180&&(r=-2*e,i=0),{rotation:n,offx:r,offy:i}}},{key:"createTexture",value:function(t,e,n){var r=document.createElement("canvas");r.width=r.height=256;var i=r.getContext("2d");i.fillStyle=n,i.font="".concat(e,"px Aria"),i.textAlign="center",i.textBaseline="middle",i.fillText(t,128,128);var o=new c.Texture(r);return o.needsUpdate=!0,o}},{key:"getArrowTextMaterial",value:function(t){return new c.MeshPhongMaterial({map:t,transparent:!0,depthTest:!1})}}]),t}(),It={altitude:0,height:0},Lt=function(t){Object(C.a)(n,t);var e=Object(E.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n),i=u.Util.extend({},It,i,{layer:a}),(s=e.call(this))._initOptions(i);var l=i.altitude;console.log(l),s._createGroup();var h=new c.Sprite(o);h.material.sizeAttenuation=!1;var f=.005/3;h.scale.set(36*f,36*f,1),console.log(36*f/2*200),s.getObject3d().add(h);var d=a.distanceToVector3(l,l).x,p=a.coordinateToVector3(t,d);return s.getObject3d().position.copy(p),s}return Object(i.a)(n)}(T.a),Pt=function(){function t(e,n,i){var o=this;Object(r.a)(this,t),this.map=i.map,this.threeLayer=i,this.lineStrings=[],this.meshs=[],this.properties=[],this.lineMaterial=new c.LineBasicMaterial({color:n.lineColor||"rgb(0,160,233)"}),this.rfields=null,this.fields=[],this.isToolTip=n.isToolTip,this.isExtrusion=n.isExtrusion,this.oriColor={},this.selectColor=n.selectColor?new c.Color(n.selectColor):null,this.geojson=e,this.iconPath=n.iconPath,this.iconCidName=n.iconCidName,this.fontConfig=n.fontConfig,n.text&&(this.txtLabel=new u.VectorLayer(u.Util.GUID(),{hitDetect:!1,enableAltitude:!0,zIndex:1001}).addTo(i.map),this.rfields=n.text.match(/\{(.+?)\}/g),this.rfields.forEach((function(t){o.fields.push(t.substring(1,t.length-1))})),this.geoItems=[]),this.textureLoader=new c.TextureLoader,e.forEach((function(t){var e=t.geometry,r=u.GeoJSON.toGeometry(t),a=t.properties;o.oriColor[a.name]||(o.oriColor[a.name]=new c.Color(a.color));var s=new c.MeshPhongMaterial({transparent:!0,opacity:void 0!==a.opacity?a.opacity:1,color:o.oriColor[a.name]}),l=.1;o.isExtrusion&&(l=a.height?200*a.height:.1);var h=i.toExtrudePolygon(r,{height:l,interactive:void 0===n.interactive||n.interactive},s);h.setProperties(t.properties),h.object3d.renderOrder=n.renderOrder||0,o.isToolTip&&h.setToolTip("hello",{showTimeout:0,eventsPropagation:!0,dx:10}),o.meshs.push(h),n.isAddLine&&e.coordinates.forEach((function(e){var n=new u.LineString(e[0]),r=i.toLine(n,{altitude:.1===l?1:l,interactive:!1},o.lineMaterial);r.setProperties(t.properties),o.meshs.push(r),o.lineStrings.push(n)}));var f=r.getCenter();if(o.iconPath&&o.iconCidName&&o.iconCidName===a.name){var d=new u.Marker(f,{properties:{altitude:.1===l?1:l,name:a.name},symbol:{markerFile:o.iconPath,markerWidth:64,markerHeight:64,markerDx:0,markerDy:0,markerOpacity:1}});o.geoItems.push(d),o.txtLabel.addGeometry(d)}n.text&&o.createMark(f,l,a)})),i.addMesh(this.meshs),this._bindEvent()}return Object(i.a)(t,[{key:"createMark",value:function(t,e,n){var r=null;1===this.fields.length?r=new u.Marker(t,{properties:{name:n[this.fields[0]],altitude:.1===e?1:e},symbol:[{textFaceName:"sans-serif",textName:"{name}",textWeight:"normal",textStyle:"normal",textSize:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].fontSize?this.fontConfig[0].fontSize:12,textFont:null,textFill:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].fontColor?this.fontConfig[0].fontColor:"#fff",textOpacity:1,textWrapWidth:null,textWrapCharacter:"\n",textLineSpacing:0,textDx:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].dx?this.fontConfig[0].dx:20,textDy:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].dy?this.fontConfig[0].dy:0,textHorizontalAlignment:"top",textVerticalAlignment:"middle",textAlign:"center"}]}):2===this.fields.length&&(r=new u.Marker(t,{properties:{name:n[this.fields[0]],index:n[this.fields[1]],altitude:.1===e?1:e},symbol:[{textFaceName:"sans-serif",textName:"{name}",textWeight:"normal",textStyle:"normal",textSize:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].fontSize?this.fontConfig[0].fontSize:12,textFont:null,textFill:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].fontColor?this.fontConfig[0].fontColor:"#fff",textOpacity:1,textWrapWidth:null,textWrapCharacter:"\n",textLineSpacing:0,textDx:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].dx?this.fontConfig[0].dx:20,textDy:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].dy?this.fontConfig[0].dy:0,textHorizontalAlignment:"top",textVerticalAlignment:"middle",textAlign:"center"},{textFaceName:"sans-serif",textName:"{index}",textWeight:"bold",textStyle:"normal",textSize:this.fontConfig&&this.fontConfig[1]&&this.fontConfig[1].fontSize?this.fontConfig[1].fontSize:20,textFont:null,textFill:this.fontConfig&&this.fontConfig[1]&&this.fontConfig[1].fontColor?this.fontConfig[1].fontColor:"#fff",textOpacity:1,textWrapWidth:null,textWrapCharacter:"\n",textLineSpacing:0,textDx:this.fontConfig&&this.fontConfig[1]&&this.fontConfig[1].dx?this.fontConfig[1].dx:20,textDy:this.fontConfig&&this.fontConfig[1]&&this.fontConfig[1].dy?this.fontConfig[1].dy:-20,textHorizontalAlignment:"top",textVerticalAlignment:"middle",textAlign:"center"}]})),r&&(this.geoItems.push(r),this.txtLabel.addGeometry(r))}},{key:"addIcon",value:function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(e,n){var r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,F.a.addImageProcessImage(this.iconPath);case 2:r=t.sent,i=F.a.generateTextureOne(r,128,128),this.iconMaterial=new c.SpriteMaterial({map:i}),(o=new Lt(e,{altitude:n+=2400},this.iconMaterial,this.threeLayer)).zoomChange=function(){o.getMap()},this.threeLayer.addMesh(o);case 8:case"end":return t.stop()}}),t,this)})));return function(e,n){return t.apply(this,arguments)}}()},{key:"_bindEvent",value:function(){var t=this;this.meshs.forEach((function(e){"ExtrudePolygon"===e.type&&e.on("click mousemove mouseout",t._setEvent,t)}))}},{key:"_closeEvent",value:function(){var t=this;this.meshs.forEach((function(e){"ExtrudePolygon"===e.type&&e.off("click mousemove mouseout",t._setEvent,t)}))}},{key:"_setEvent",value:function(t){var e=t.target.getProperties();"mousemove"===t.type&&t.target&&(this.isToolTip&&(t.target.getToolTip()._content="".concat(e.name)),this.selectColor&&(t.target.object3d.material.color=this.selectColor,t.target.object3d.material.color.needsUpdate=!0)),"mouseout"===t.type&&t.target&&this.selectColor&&(t.target.object3d.material.color=this.oriColor[e.name],t.target.object3d.material.color.needsUpdate=!0),"click"===t.type&&t.target&&this.clickFunc&&this.clickFunc(e)}},{key:"dispose",value:function(){for(var t in this.threeLayer.removeMesh(this.meshs),this._closeEvent(),this.meshs.forEach((function(t){"ExtrudePolygon"===t.type&&t.removeToolTip(),t.object3d.geometry&&t.object3d.geometry.dispose(),t.object3d.material&&t.object3d.material.dispose()})),this.lineMaterial&&this.lineMaterial.dispose(),this.selectColor&&delete this.selectColor,this.oriColor)delete this.oriColor[t];if(this.txtLabel&&this.map.removeLayer(this.txtLabel),this.geoItems)for(var e=0;e<this.geoItems.length;e++)delete this.geoItems[e];if(this.geoItems=[],this.geojson)for(var n=0;n<this.geojson.length;n++)delete this.geojson[n]}},{key:"findMesh",value:function(t){for(var e=0;e<this.meshs.length;e++)if("ExtrudePolygon"===this.meshs[e].type&&this.meshs[e].getProperties().name===t)return this.meshs[e]}},{key:"setOpacity",value:function(t,e){for(var n=0;n<this.meshs.length;n++)"ExtrudePolygon"===this.meshs[n].type&&this.meshs[n].getProperties().name===t&&(this.meshs[n].object3d.material.opacity=e)}},{key:"update",value:function(t){var e=this;this.geojson.forEach((function(n){n.geometry;for(var r=u.GeoJSON.toGeometry(n),i=n.properties,o=function(n){if(t[n].name===i.name){e.oriColor[i.name]&&(delete e.oriColor[i.name],e.oriColor[i.name]=new c.Color(t[n].color));var o=new c.MeshBasicMaterial({transparent:!0,opacity:i.opacity||1,color:e.oriColor[i.name]}),a=.1;e.isExtrusion&&(a=t[n].height?200*t[n].height:.1);for(var s=e.threeLayer.toExtrudePolygon(r,{height:a},o),u=e.findMesh(t[n].name),l=s.object3d.geometry.attributes.position.array,h=u.object3d.geometry.attributes.position.array,f=0;f<h.length;f++)h[f]=l[f];u.object3d.geometry.attributes.position.needsUpdate=!0,u.object3d.material.color=e.oriColor[i.name],u.object3d.material.color.needsUpdate=!0;var d=e.threeLayer.distanceToVector3(a,a).x;e.meshs.forEach((function(e){"Line"===e.type&&e.getProperties().name===t[n].name&&(e.object3d.position.z=d)})),s.object3d.geometry&&s.object3d.geometry.dispose(),s.object3d.material&&s.object3d.material.dispose();for(var p=0;p<e.geoItems.length;p++)e.geoItems[p].getProperties().name===t[n].name&&(e.geoItems[p].getProperties().index&&(e.geoItems[p].getProperties().index=t[n].rank),e.geoItems[p].getProperties().altitude=a,e.geoItems[p].updateSymbol({index:"{index}"}));return"break"}},a=0;a<t.length&&"break"!==o(a);a++);}))}}]),t}();n("09be"),n("00e8"),n("6860"),n("5ffc"),n("91e5"),n("ff86"),n("9afc"),n("2ed2");var Rt=function(){function t(e){Object(r.a)(this,t),this.map=e,this.threeLayer=null,this.animationId=null,this.windObj=null,this.drawTool=null,this.distanceTool=null,this.trafficLayer=null,this.circleObj=null,this.shockObj=null,this.ringObj=null,this.directionObj=null,this.trips=[],this.func=[],this.polygonObjs=[]}return Object(i.a)(t,[{key:"createIepLayer",value:function(t){var e=function(){var t="xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}));return"iep".concat(t,"layer")}();if(!this.threeLayer){var n=this.threeLayer=new T.c(e,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?S(Object(n),!0).forEach((function(e){M(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({forceRenderOnMoving:!0,forceRenderOnRotating:!0,identifyCountOnEvent:1},t));return n.addTo(this.map),this.map.getLayer(e).setZIndex(1e3),{layerId:e,layer:n}}}},{key:"removeIepLayer",value:function(){this.threeLayer&&this.threeLayer.getMeshes().forEach((function(t){var e;"Points"!==t.type&&"Image"!==t.type||null===(e=t.parent)||void 0===e||e.dispose()})),this.windObj&&(this.windObj.closeWind(),delete this.windObj),this.drawTool&&(this.drawTool.dispose(),delete this.drawTool),this.distanceTool&&(this.distanceTool.dispose(),delete this.distanceTool),this.trafficLayer&&(this.trafficLayer.setMap(null),delete this.trafficLayer),this.circleObj&&(this.circleObj.dispose(),delete this.circleObj),this.shockObj&&(this.shockObj.dispose(),delete this.shockObj),this.ringObj&&(this.ringObj.dispose(),delete this.ringObj),this.directionObj&&(this.directionObj.dispose(),delete this.directionObj),this.trips.length>0&&(this.func=[],this.trips.forEach((function(t){t.dispose()})),this.trips=[]),this.clearPolygon()}},{key:"prepareToDraw",value:function(){var t=this,e=function e(){var n,r;t.threeLayer._needsUpdate=!t.threeLayer._needsUpdate,t.threeLayer._needsUpdate&&(null===(n=t.threeLayer)||void 0===n||null===(r=n.getRenderer())||void 0===r||r.clearCanvas(),t.threeLayer.renderScene()),t.func.forEach((function(t){return t()})),K.c(),t.animationId=requestAnimationFrame(e)};return new Promise((function(n){t.threeLayer.prepareToDraw=function(t,r,i){var o=new c.DirectionalLight(16777215);o.position.set(0,-10,10).normalize(),r.add(o),e(),n()}}))}},{key:"clearTrip",value:function(){this.func=[],this.trips.forEach((function(t){t.dispose()})),this.trips=[]}},{key:"clearPolygon",value:function(){for(var t=0;t<this.polygonObjs.length;t++)this.polygonObjs[t].dispose(),delete this.polygonObjs[t];this.polygonObjs=[]}},{key:"drawPolygon",value:function(t,e){var n=this;this.createIepLayer();var r=e||{};if(this.threeLayer.getScene()){var i=new Pt(t,r,this.threeLayer);this.polygonObjs.push(i)}else this.prepareToDraw().then((function(){var e=new Pt(t,r,n.threeLayer);n.polygonObjs.push(e)}))}},{key:"updatePolygon",value:function(t){this.polygonObjs.forEach((function(e){e.update(t)}))}},{key:"updatePolygonOpacity",value:function(t,e){this.polygonObjs.forEach((function(n){n.setOpacity(t,e)}))}},{key:"drawTrip",value:function(t,e){var n=this;this.createIepLayer();var r=e||{};if(this.threeLayer.getScene()){var i=new Et(t,r,this.threeLayer);this.trips.push(i),this.func.push((function(){i.naimationFunc()}))}else this.prepareToDraw().then((function(){var e=new Et(t,r,n.threeLayer);n.trips.push(e),n.func.push((function(){e.naimationFunc()}))}))}},{key:"clearRing",value:function(){this.ringObj&&(this.ringObj.dispose(),delete this.ringObj)}},{key:"drawRing",value:function(t,e,n,r){var i=this;this.createIepLayer();var o=r||{};this.threeLayer.getScene()?(this.ringObj&&(this.ringObj.dispose(),delete this.ringObj),setTimeout((function(){i.ringObj=new pt([t,e],n,o,i.threeLayer)}),500)):this.prepareToDraw().then((function(){i.ringObj||(i.ringObj=new pt([t,e],n,o,i.threeLayer))}))}},{key:"updateDirection",value:function(t,e){this.directionObj&&this.directionObj.updateDirection(t,e)}},{key:"clearDirection",value:function(){this.directionObj&&(this.directionObj.dispose(),delete this.directionObj)}},{key:"drawDirection",value:function(t,e,n){var r=this;this.createIepLayer();var i=n||{};this.threeLayer.getScene()?(this.directionObj&&(this.directionObj.dispose(),delete this.directionObj),setTimeout((function(){r.directionObj=new Tt([t,e],i,r.threeLayer)}),500)):this.prepareToDraw().then((function(){r.directionObj||(r.directionObj=new Tt([t,e],i,r.threeLayer))}))}},{key:"clearCircle",value:function(){this.circleObj&&(this.circleObj.dispose(),delete this.circleObj)}},{key:"drawCircle",value:function(t,e,n,r){var i=this;this.createIepLayer();var o=r||{};this.threeLayer.getScene()?this.circleObj?this.circleObj.update(t,e,n,o):this.circleObj=new X(t,e,n,o,this.threeLayer):this.prepareToDraw().then((function(){i.circleObj?i.circleObj.update(t,e,n,o):i.circleObj=new X(t,e,n,o,i.threeLayer)}))}},{key:"Traffic",value:function(t){var e=this.map.getBaseLayer();if(e){var n=e.getAMap();n&&(this.trafficLayer||(this.trafficLayer=new AMap.TileLayer.Traffic({zIndex:10})),!0===t?this.trafficLayer.setMap(n):this.trafficLayer.setMap(null))}}},{key:"distance",value:function(){var t=this;return new Promise((function(e){t.distanceTool?(t.distanceTool.enable(),e(t.distanceTool)):(t.distanceTool=new j({},t.threeLayer),e(t.distanceTool))}))}},{key:"drawGeometry",value:function(t,e){var n=this;return new Promise((function(r){n.drawTool?(n.drawTool.setMode(t,e),r(n.drawTool)):(n.drawTool=new U(t,e,{},n.threeLayer),r(n.drawTool))}))}},{key:"drawWeatherData",value:function(t,e){var n=this;return new Promise((function(r){var i=null;r(t?i=new D(t,e||{},n.map):i),n.windObj=i}))}},{key:"drawImage",value:function(t,e,n,r){var i=this;return this.createIepLayer(),this.threeLayer.getScene()?new Promise((function(o){o(new P(t,e,n,r,i.threeLayer))})):new Promise((function(o){i.prepareToDraw().then((function(){var a=new P(t,e,n,r,i.threeLayer);o(a)}))}))}},{key:"getPointObjByName",value:function(t){var e=this;return new Promise((function(n){e.threeLayer&&e.threeLayer.getMeshes().forEach((function(e){"Points"===e.type&&e.parent.name===t&&n(e.parent)}))}))}},{key:"drawShock",value:function(t,e){var n=this;this.createIepLayer(),this.threeLayer.getScene()?this.shockObj&&(this.shockObj.dispose(),this.shockObj=null,setTimeout((function(){n.shockObj=new $(t,e||{},n.threeLayer)}),500)):this.prepareToDraw().then((function(){n.shockObj=new $(t,e||{},n.threeLayer)}))}},{key:"clearShock",value:function(){this.shockObj&&(K.b(),this.shockObj.dispose(),this.shockObj=null)}},{key:"drawPoint",value:function(t,e){var n=this;return this.createIepLayer(),this.threeLayer.getScene()?new Promise((function(r){var i=null;t.length>0?(i=new A.a(t,e,n.threeLayer)).addPoint().then((function(){r(i)})):r(i)})):new Promise((function(r){n.prepareToDraw().then((function(){var i=null;t.length>0?(i=new A.a(t,e,n.threeLayer)).addPoint().then((function(){r(i)})):r(i)}))}))}},{key:"saveIndexedDb",value:function(){return new Promise((function(t,e){var n=window.indexedDB.open("iep_db");n.onsuccess=function(e){var n=e.target.result;t(n)},n.onerror=function(t){e(t)},n.onupgradeneeded=function(t){var e=t.target.result;if(!e.objectStoreNames.contains("svg_dict")){var n=e.createObjectStore("svg_dict",{keyPath:"code"});n.createIndex("code","code",{unique:!0}),n.createIndex("file","file",{unique:!1})}}}))}},{key:"getType",value:function(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}},{key:"getDbRecord",value:function(t){var e=this,n="string"===this.getType(t)?[t]:t;return new Promise((function(t){e.saveIndexedDb().then((function(e){var r=e.transaction("svg_dict","readwrite").objectStore("svg_dict");Promise.all(n.map((function(t){return new Promise((function(e){var n=r.get(t);n.onsuccess=function(t){e(t.target.result)},n.onerror=function(t){e()}}))}))).then((function(e){t(e)}))}))}))}}]),t}(),Ot=function(t){return new Rt(t)};
|
|
91
|
+
*/(function(){var o,a="Expected a function",s="__lodash_hash_undefined__",c="__lodash_placeholder__",u=16,l=32,h=64,f=128,d=256,p=1/0,m=9007199254740991,g=NaN,v=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",l],["partialRight",h],["rearg",d]],_="[object Arguments]",x="[object Array]",b="[object Boolean]",w="[object Date]",M="[object Error]",S="[object Function]",A="[object GeneratorFunction]",C="[object Map]",E="[object Number]",T="[object Object]",I="[object Promise]",L="[object RegExp]",P="[object Set]",R="[object String]",O="[object Symbol]",k="[object WeakMap]",B="[object ArrayBuffer]",D="[object DataView]",F="[object Float32Array]",U="[object Float64Array]",j="[object Int8Array]",N="[object Int16Array]",G="[object Int32Array]",z="[object Uint8Array]",H="[object Uint8ClampedArray]",W="[object Uint16Array]",V="[object Uint32Array]",Z=/\b__p \+= '';/g,Q=/\b(__p \+=) '' \+/g,X=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Y=/&(?:amp|lt|gt|quot|#39);/g,J=/[&<>"']/g,q=RegExp(Y.source),K=RegExp(J.source),$=/<%-([\s\S]+?)%>/g,tt=/<%([\s\S]+?)%>/g,et=/<%=([\s\S]+?)%>/g,nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rt=/^\w*$/,it=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ot=/[\\^$.*+?()[\]{}|]/g,at=RegExp(ot.source),st=/^\s+/,ct=/\s/,ut=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,lt=/\{\n\/\* \[wrapped with (.+)\] \*/,ht=/,? & /,ft=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dt=/[()=,{}\[\]\/\s]/,pt=/\\(\\)?/g,mt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gt=/\w*$/,vt=/^[-+]0x[0-9a-f]+$/i,yt=/^0b[01]+$/i,_t=/^\[object .+?Constructor\]$/,xt=/^0o[0-7]+$/i,bt=/^(?:0|[1-9]\d*)$/,wt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Mt=/($^)/,St=/['\n\r\u2028\u2029\\]/g,At="\\ud800-\\udfff",Ct="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Et="\\u2700-\\u27bf",Tt="a-z\\xdf-\\xf6\\xf8-\\xff",It="A-Z\\xc0-\\xd6\\xd8-\\xde",Lt="\\ufe0e\\ufe0f",Pt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Rt="['’]",Ot="["+At+"]",kt="["+Pt+"]",Bt="["+Ct+"]",Dt="\\d+",Ft="["+Et+"]",Ut="["+Tt+"]",jt="[^"+At+Pt+Dt+Et+Tt+It+"]",Nt="\\ud83c[\\udffb-\\udfff]",Gt="[^"+At+"]",zt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ht="[\\ud800-\\udbff][\\udc00-\\udfff]",Wt="["+It+"]",Vt="(?:"+Ut+"|"+jt+")",Zt="(?:"+Wt+"|"+jt+")",Qt="(?:['’](?:d|ll|m|re|s|t|ve))?",Xt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Yt="(?:"+Bt+"|"+Nt+")?",Jt="["+Lt+"]?",qt=Jt+Yt+"(?:\\u200d(?:"+[Gt,zt,Ht].join("|")+")"+Jt+Yt+")*",Kt="(?:"+[Ft,zt,Ht].join("|")+")"+qt,$t="(?:"+[Gt+Bt+"?",Bt,zt,Ht,Ot].join("|")+")",te=RegExp(Rt,"g"),ee=RegExp(Bt,"g"),ne=RegExp(Nt+"(?="+Nt+")|"+$t+qt,"g"),re=RegExp([Wt+"?"+Ut+"+"+Qt+"(?="+[kt,Wt,"$"].join("|")+")",Zt+"+"+Xt+"(?="+[kt,Wt+Vt,"$"].join("|")+")",Wt+"?"+Vt+"+"+Qt,Wt+"+"+Xt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Dt,Kt].join("|"),"g"),ie=RegExp("[\\u200d"+At+Ct+Lt+"]"),oe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ae=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],se=-1,ce={};ce[F]=ce[U]=ce[j]=ce[N]=ce[G]=ce[z]=ce[H]=ce[W]=ce[V]=!0,ce[_]=ce[x]=ce[B]=ce[b]=ce[D]=ce[w]=ce[M]=ce[S]=ce[C]=ce[E]=ce[T]=ce[L]=ce[P]=ce[R]=ce[k]=!1;var ue={};ue[_]=ue[x]=ue[B]=ue[D]=ue[b]=ue[w]=ue[F]=ue[U]=ue[j]=ue[N]=ue[G]=ue[C]=ue[E]=ue[T]=ue[L]=ue[P]=ue[R]=ue[O]=ue[z]=ue[H]=ue[W]=ue[V]=!0,ue[M]=ue[S]=ue[k]=!1;var le={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},he=parseFloat,fe=parseInt,de="object"==typeof t&&t&&t.Object===Object&&t,pe="object"==typeof self&&self&&self.Object===Object&&self,me=de||pe||Function("return this")(),ge=e&&!e.nodeType&&e,ve=ge&&"object"==typeof r&&r&&!r.nodeType&&r,ye=ve&&ve.exports===ge,_e=ye&&de.process,xe=function(){try{return ve&&ve.require&&ve.require("util").types||_e&&_e.binding&&_e.binding("util")}catch(t){}}(),be=xe&&xe.isArrayBuffer,we=xe&&xe.isDate,Me=xe&&xe.isMap,Se=xe&&xe.isRegExp,Ae=xe&&xe.isSet,Ce=xe&&xe.isTypedArray;function Ee(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Te(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function Ie(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Le(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Pe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Re(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function Oe(t,e){return!(null==t||!t.length)&&We(t,e,0)>-1}function ke(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Be(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function De(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Fe(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function Ue(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function je(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var Ne=Xe("length");function Ge(t){return t.match(ft)||[]}function ze(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function He(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function We(t,e,n){return e==e?function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):He(t,Ze,n)}function Ve(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function Ze(t){return t!=t}function Qe(t,e){var n=null==t?0:t.length;return n?qe(t,e)/n:g}function Xe(t){return function(e){return null==e?o:e[t]}}function Ye(t){return function(e){return null==t?o:t[e]}}function Je(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function qe(t,e){for(var n,r=-1,i=t.length;++r<i;){var a=e(t[r]);a!==o&&(n=n===o?a:n+a)}return n}function Ke(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function $e(t){return t?t.slice(0,yn(t)+1).replace(st,""):t}function tn(t){return function(e){return t(e)}}function en(t,e){return Be(e,(function(e){return t[e]}))}function nn(t,e){return t.has(e)}function rn(t,e){for(var n=-1,r=t.length;++n<r&&We(e,t[n],0)>-1;);return n}function on(t,e){for(var n=t.length;n--&&We(e,t[n],0)>-1;);return n}function an(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var sn=Ye({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),cn=Ye({"&":"&","<":"<",">":">",'"':""","'":"'"});function un(t){return"\\"+le[t]}function ln(t){return ie.test(t)}function hn(t){return oe.test(t)}function fn(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function dn(t,e){return function(n){return t(e(n))}}function pn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==c||(t[n]=c,o[i++]=n)}return o}function mn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function gn(t){return ln(t)?function(t){for(var e=ne.lastIndex=0;ne.test(t);)++e;return e}(t):Ne(t)}function vn(t){return ln(t)?function(t){return t.match(ne)||[]}(t):function(t){return t.split("")}(t)}function yn(t){for(var e=t.length;e--&&ct.test(t.charAt(e)););return e}var _n=Ye({"&":"&","<":"<",">":">",""":'"',"'":"'"});function xn(t){return t.match(re)||[]}var bn=function t(e){var n=(e=null==e?me:bn.defaults(me.Object(),e,bn.pick(me,ae))).Array,r=e.Date,i=e.Error,ct=e.Function,ft=e.Math,At=e.Object,Ct=e.RegExp,Et=e.String,Tt=e.TypeError,It=n.prototype,Lt=ct.prototype,Pt=At.prototype,Rt=e["__core-js_shared__"],Ot=Lt.toString,kt=Pt.hasOwnProperty,Bt=0,Dt=function(){var t=/[^.]+$/.exec(Rt&&Rt.keys&&Rt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ft=Pt.toString,Ut=Ot.call(At),jt=me._,Nt=Ct("^"+Ot.call(kt).replace(ot,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Gt=ye?e.Buffer:o,zt=e.Symbol,Ht=e.Uint8Array,Wt=Gt?Gt.allocUnsafe:o,Vt=dn(At.getPrototypeOf,At),Zt=At.create,Qt=Pt.propertyIsEnumerable,Xt=It.splice,Yt=zt?zt.isConcatSpreadable:o,Jt=zt?zt.iterator:o,qt=zt?zt.toStringTag:o,Kt=function(){try{var t=go(At,"defineProperty");return t({},"",{}),t}catch(t){}}(),$t=e.clearTimeout!==me.clearTimeout&&e.clearTimeout,ne=r&&r.now!==me.Date.now&&r.now,re=e.setTimeout!==me.setTimeout&&e.setTimeout,ie=ft.ceil,oe=ft.floor,le=At.getOwnPropertySymbols,de=Gt?Gt.isBuffer:o,pe=e.isFinite,ge=It.join,ve=dn(At.keys,At),_e=ft.max,xe=ft.min,Ne=r.now,Ye=e.parseInt,wn=ft.random,Mn=It.reverse,Sn=go(e,"DataView"),An=go(e,"Map"),Cn=go(e,"Promise"),En=go(e,"Set"),Tn=go(e,"WeakMap"),In=go(At,"create"),Ln=Tn&&new Tn,Pn={},Rn=Wo(Sn),On=Wo(An),kn=Wo(Cn),Bn=Wo(En),Dn=Wo(Tn),Fn=zt?zt.prototype:o,Un=Fn?Fn.valueOf:o,jn=Fn?Fn.toString:o;function Nn(t){if(ss(t)&&!Ja(t)&&!(t instanceof Wn)){if(t instanceof Hn)return t;if(kt.call(t,"__wrapped__"))return Vo(t)}return new Hn(t)}var Gn=function(){function t(){}return function(e){if(!as(e))return{};if(Zt)return Zt(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function zn(){}function Hn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function Wn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=v,this.__views__=[]}function Vn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Zn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Qn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Xn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Qn;++e<n;)this.add(t[e])}function Yn(t){var e=this.__data__=new Zn(t);this.size=e.size}function Jn(t,e){var n=Ja(t),r=!n&&Ya(t),i=!n&&!r&&ts(t),o=!n&&!r&&!i&&ms(t),a=n||r||i||o,s=a?Ke(t.length,Et):[],c=s.length;for(var u in t)!e&&!kt.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Mo(u,c))||s.push(u);return s}function qn(t){var e=t.length;return e?t[Xr(0,e-1)]:o}function Kn(t,e){return Go(Li(t),sr(e,0,t.length))}function $n(t){return Go(Li(t))}function tr(t,e,n){(n!==o&&!Za(t[e],n)||n===o&&!(e in t))&&or(t,e,n)}function er(t,e,n){var r=t[e];kt.call(t,e)&&Za(r,n)&&(n!==o||e in t)||or(t,e,n)}function nr(t,e){for(var n=t.length;n--;)if(Za(t[n][0],e))return n;return-1}function rr(t,e,n,r){return fr(t,(function(t,i,o){e(r,t,n(t),o)})),r}function ir(t,e){return t&&Pi(e,Fs(e),t)}function or(t,e,n){"__proto__"==e&&Kt?Kt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ar(t,e){for(var r=-1,i=e.length,a=n(i),s=null==t;++r<i;)a[r]=s?o:Rs(t,e[r]);return a}function sr(t,e,n){return t==t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function cr(t,e,n,r,i,a){var s,c=1&e,u=2&e,l=4&e;if(n&&(s=i?n(t,r,i,a):n(t)),s!==o)return s;if(!as(t))return t;var h=Ja(t);if(h){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&kt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!c)return Li(t,s)}else{var f=_o(t),d=f==S||f==A;if(ts(t))return Si(t,c);if(f==T||f==_||d&&!i){if(s=u||d?{}:bo(t),!c)return u?function(t,e){return Pi(t,yo(t),e)}(t,function(t,e){return t&&Pi(e,Us(e),t)}(s,t)):function(t,e){return Pi(t,vo(t),e)}(t,ir(s,t))}else{if(!ue[f])return i?t:{};s=function(t,e,n){var r=t.constructor;switch(e){case B:return Ai(t);case b:case w:return new r(+t);case D:return function(t,e){var n=e?Ai(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case F:case U:case j:case N:case G:case z:case H:case W:case V:return Ci(t,n);case C:return new r;case E:case R:return new r(t);case L:return function(t){var e=new t.constructor(t.source,gt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case P:return new r;case O:return function(t){return Un?At(Un.call(t)):{}}(t)}}(t,f,c)}}a||(a=new Yn);var p=a.get(t);if(p)return p;a.set(t,s),fs(t)?t.forEach((function(r){s.add(cr(r,e,n,r,t,a))})):cs(t)&&t.forEach((function(r,i){s.set(i,cr(r,e,n,i,t,a))}));var m=h?o:(l?u?co:so:u?Us:Fs)(t);return Ie(m||t,(function(r,i){m&&(r=t[i=r]),er(s,i,cr(r,e,n,i,t,a))})),s}function ur(t,e,n){var r=n.length;if(null==t)return!r;for(t=At(t);r--;){var i=n[r],a=e[i],s=t[i];if(s===o&&!(i in t)||!a(s))return!1}return!0}function lr(t,e,n){if("function"!=typeof t)throw new Tt(a);return Fo((function(){t.apply(o,n)}),e)}function hr(t,e,n,r){var i=-1,o=Oe,a=!0,s=t.length,c=[],u=e.length;if(!s)return c;n&&(e=Be(e,tn(n))),r?(o=ke,a=!1):e.length>=200&&(o=nn,a=!1,e=new Xn(e));t:for(;++i<s;){var l=t[i],h=null==n?l:n(l);if(l=r||0!==l?l:0,a&&h==h){for(var f=u;f--;)if(e[f]===h)continue t;c.push(l)}else o(e,h,r)||c.push(l)}return c}Nn.templateSettings={escape:$,evaluate:tt,interpolate:et,variable:"",imports:{_:Nn}},Nn.prototype=zn.prototype,Nn.prototype.constructor=Nn,Hn.prototype=Gn(zn.prototype),Hn.prototype.constructor=Hn,Wn.prototype=Gn(zn.prototype),Wn.prototype.constructor=Wn,Vn.prototype.clear=function(){this.__data__=In?In(null):{},this.size=0},Vn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Vn.prototype.get=function(t){var e=this.__data__;if(In){var n=e[t];return n===s?o:n}return kt.call(e,t)?e[t]:o},Vn.prototype.has=function(t){var e=this.__data__;return In?e[t]!==o:kt.call(e,t)},Vn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=In&&e===o?s:e,this},Zn.prototype.clear=function(){this.__data__=[],this.size=0},Zn.prototype.delete=function(t){var e=this.__data__,n=nr(e,t);return!(n<0||(n==e.length-1?e.pop():Xt.call(e,n,1),--this.size,0))},Zn.prototype.get=function(t){var e=this.__data__,n=nr(e,t);return n<0?o:e[n][1]},Zn.prototype.has=function(t){return nr(this.__data__,t)>-1},Zn.prototype.set=function(t,e){var n=this.__data__,r=nr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Vn,map:new(An||Zn),string:new Vn}},Qn.prototype.delete=function(t){var e=po(this,t).delete(t);return this.size-=e?1:0,e},Qn.prototype.get=function(t){return po(this,t).get(t)},Qn.prototype.has=function(t){return po(this,t).has(t)},Qn.prototype.set=function(t,e){var n=po(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(t){return this.__data__.set(t,s),this},Xn.prototype.has=function(t){return this.__data__.has(t)},Yn.prototype.clear=function(){this.__data__=new Zn,this.size=0},Yn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Yn.prototype.get=function(t){return this.__data__.get(t)},Yn.prototype.has=function(t){return this.__data__.has(t)},Yn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Zn){var r=n.__data__;if(!An||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Qn(r)}return n.set(t,e),this.size=n.size,this};var fr=ki(xr),dr=ki(br,!0);function pr(t,e){var n=!0;return fr(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function mr(t,e,n){for(var r=-1,i=t.length;++r<i;){var a=t[r],s=e(a);if(null!=s&&(c===o?s==s&&!ps(s):n(s,c)))var c=s,u=a}return u}function gr(t,e){var n=[];return fr(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function vr(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=wo),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?vr(s,e-1,n,r,i):De(i,s):r||(i[i.length]=s)}return i}var yr=Bi(),_r=Bi(!0);function xr(t,e){return t&&yr(t,e,Fs)}function br(t,e){return t&&_r(t,e,Fs)}function wr(t,e){return Re(e,(function(e){return rs(t[e])}))}function Mr(t,e){for(var n=0,r=(e=xi(e,t)).length;null!=t&&n<r;)t=t[Ho(e[n++])];return n&&n==r?t:o}function Sr(t,e,n){var r=e(t);return Ja(t)?r:De(r,n(t))}function Ar(t){return null==t?t===o?"[object Undefined]":"[object Null]":qt&&qt in At(t)?function(t){var e=kt.call(t,qt),n=t[qt];try{t[qt]=o;var r=!0}catch(t){}var i=Ft.call(t);return r&&(e?t[qt]=n:delete t[qt]),i}(t):function(t){return Ft.call(t)}(t)}function Cr(t,e){return t>e}function Er(t,e){return null!=t&&kt.call(t,e)}function Tr(t,e){return null!=t&&e in At(t)}function Ir(t,e,r){for(var i=r?ke:Oe,a=t[0].length,s=t.length,c=s,u=n(s),l=1/0,h=[];c--;){var f=t[c];c&&e&&(f=Be(f,tn(e))),l=xe(f.length,l),u[c]=!r&&(e||a>=120&&f.length>=120)?new Xn(c&&f):o}f=t[0];var d=-1,p=u[0];t:for(;++d<a&&h.length<l;){var m=f[d],g=e?e(m):m;if(m=r||0!==m?m:0,!(p?nn(p,g):i(h,g,r))){for(c=s;--c;){var v=u[c];if(!(v?nn(v,g):i(t[c],g,r)))continue t}p&&p.push(g),h.push(m)}}return h}function Lr(t,e,n){var r=null==(t=Oo(t,e=xi(e,t)))?t:t[Ho(na(e))];return null==r?o:Ee(r,t,n)}function Pr(t){return ss(t)&&Ar(t)==_}function Rr(t,e,n,r,i){return t===e||(null==t||null==e||!ss(t)&&!ss(e)?t!=t&&e!=e:function(t,e,n,r,i,o){var a=Ja(t),s=Ja(e),c=a?x:_o(t),u=s?x:_o(e),l=(c=c==_?T:c)==T,h=(u=u==_?T:u)==T,f=c==u;if(f&&ts(t)){if(!ts(e))return!1;a=!0,l=!1}if(f&&!l)return o||(o=new Yn),a||ms(t)?io(t,e,n,r,i,o):function(t,e,n,r,i,o,a){switch(n){case D:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case B:return!(t.byteLength!=e.byteLength||!o(new Ht(t),new Ht(e)));case b:case w:case E:return Za(+t,+e);case M:return t.name==e.name&&t.message==e.message;case L:case R:return t==e+"";case C:var s=fn;case P:var c=1&r;if(s||(s=mn),t.size!=e.size&&!c)return!1;var u=a.get(t);if(u)return u==e;r|=2,a.set(t,e);var l=io(s(t),s(e),r,i,o,a);return a.delete(t),l;case O:if(Un)return Un.call(t)==Un.call(e)}return!1}(t,e,c,n,r,i,o);if(!(1&n)){var d=l&&kt.call(t,"__wrapped__"),p=h&&kt.call(e,"__wrapped__");if(d||p){var m=d?t.value():t,g=p?e.value():e;return o||(o=new Yn),i(m,g,n,r,o)}}return!!f&&(o||(o=new Yn),oo(t,e,n,r,i,o))}(t,e,n,r,Rr,i))}function Or(t,e,n,r){var i=n.length,a=i,s=!r;if(null==t)return!a;for(t=At(t);i--;){var c=n[i];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i<a;){var u=(c=n[i])[0],l=t[u],h=c[1];if(s&&c[2]){if(l===o&&!(u in t))return!1}else{var f=new Yn;if(r)var d=r(l,h,u,t,e,f);if(!(d===o?Rr(h,l,3,r,f):d))return!1}}return!0}function kr(t){return!(!as(t)||function(t){return!!Dt&&Dt in t}(t))&&(rs(t)?Nt:_t).test(Wo(t))}function Br(t){return"function"==typeof t?t:null==t?uc:"object"==typeof t?Ja(t)?Gr(t[0],t[1]):Nr(t):yc(t)}function Dr(t){if(!To(t))return ve(t);var e=[];for(var n in At(t))kt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Fr(t){if(!as(t))return function(t){var e=[];if(null!=t)for(var n in At(t))e.push(n);return e}(t);var e=To(t),n=[];for(var r in t)("constructor"!=r||!e&&kt.call(t,r))&&n.push(r);return n}function Ur(t,e){return t<e}function jr(t,e){var r=-1,i=Ka(t)?n(t.length):[];return fr(t,(function(t,n,o){i[++r]=e(t,n,o)})),i}function Nr(t){var e=mo(t);return 1==e.length&&e[0][2]?Lo(e[0][0],e[0][1]):function(n){return n===t||Or(n,t,e)}}function Gr(t,e){return Ao(t)&&Io(e)?Lo(Ho(t),e):function(n){var r=Rs(n,t);return r===o&&r===e?Os(n,t):Rr(e,r,3)}}function zr(t,e,n,r,i){t!==e&&yr(e,(function(a,s){if(i||(i=new Yn),as(a))!function(t,e,n,r,i,a,s){var c=Bo(t,n),u=Bo(e,n),l=s.get(u);if(l)tr(t,n,l);else{var h=a?a(c,u,n+"",t,e,s):o,f=h===o;if(f){var d=Ja(u),p=!d&&ts(u),m=!d&&!p&&ms(u);h=u,d||p||m?Ja(c)?h=c:$a(c)?h=Li(c):p?(f=!1,h=Si(u,!0)):m?(f=!1,h=Ci(u,!0)):h=[]:ls(u)||Ya(u)?(h=c,Ya(c)?h=Ms(c):as(c)&&!rs(c)||(h=bo(u))):f=!1}f&&(s.set(u,h),i(h,u,r,a,s),s.delete(u)),tr(t,n,h)}}(t,e,s,n,zr,r,i);else{var c=r?r(Bo(t,s),a,s+"",t,e,i):o;c===o&&(c=a),tr(t,s,c)}}),Us)}function Hr(t,e){var n=t.length;if(n)return Mo(e+=e<0?n:0,n)?t[e]:o}function Wr(t,e,n){e=e.length?Be(e,(function(t){return Ja(t)?function(e){return Mr(e,1===t.length?t[0]:t)}:t})):[uc];var r=-1;return e=Be(e,tn(fo())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(jr(t,(function(t,n,i){return{criteria:Be(e,(function(e){return e(t)})),index:++r,value:t}})),(function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,a=i.length,s=n.length;++r<a;){var c=Ei(i[r],o[r]);if(c){if(r>=s)return c;var u=n[r];return c*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)}))}function Vr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],s=Mr(t,a);n(s,a)&&ti(o,xi(a,t),s)}return o}function Zr(t,e,n,r){var i=r?Ve:We,o=-1,a=e.length,s=t;for(t===e&&(e=Li(e)),n&&(s=Be(t,tn(n)));++o<a;)for(var c=0,u=e[o],l=n?n(u):u;(c=i(s,l,c,r))>-1;)s!==t&&Xt.call(s,c,1),Xt.call(t,c,1);return t}function Qr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;Mo(i)?Xt.call(t,i,1):fi(t,i)}}return t}function Xr(t,e){return t+oe(wn()*(e-t+1))}function Yr(t,e,r,i){for(var o=-1,a=_e(ie((e-t)/(r||1)),0),s=n(a);a--;)s[i?a:++o]=t,t+=r;return s}function Jr(t,e){var n="";if(!t||e<1||e>m)return n;do{e%2&&(n+=t),(e=oe(e/2))&&(t+=t)}while(e);return n}function qr(t,e){return Uo(Ro(t,e,uc),t+"")}function Kr(t){return qn(Zs(t))}function $r(t,e){var n=Zs(t);return Go(n,sr(e,0,n.length))}function ti(t,e,n,r){if(!as(t))return t;for(var i=-1,a=(e=xi(e,t)).length,s=a-1,c=t;null!=c&&++i<a;){var u=Ho(e[i]),l=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(i!=s){var h=c[u];(l=r?r(h,u,c):o)===o&&(l=as(h)?h:Mo(e[i+1])?[]:{})}er(c,u,l),c=c[u]}return t}var ei=Ln?function(t,e){return Ln.set(t,e),t}:uc,ni=Kt?function(t,e){return Kt(t,"toString",{configurable:!0,enumerable:!1,value:ac(e),writable:!0})}:uc;function ri(t){return Go(Zs(t))}function ii(t,e,r){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var a=n(o);++i<o;)a[i]=t[i+e];return a}function oi(t,e){var n;return fr(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}function ai(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!ps(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return si(t,e,uc,n)}function si(t,e,n,r){var i=0,a=null==t?0:t.length;if(0===a)return 0;for(var s=(e=n(e))!=e,c=null===e,u=ps(e),l=e===o;i<a;){var h=oe((i+a)/2),f=n(t[h]),d=f!==o,p=null===f,m=f==f,g=ps(f);if(s)var v=r||m;else v=l?m&&(r||d):c?m&&d&&(r||!p):u?m&&d&&!p&&(r||!g):!p&&!g&&(r?f<=e:f<e);v?i=h+1:a=h}return xe(a,4294967294)}function ci(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!Za(s,c)){var c=s;o[i++]=0===a?0:a}}return o}function ui(t){return"number"==typeof t?t:ps(t)?g:+t}function li(t){if("string"==typeof t)return t;if(Ja(t))return Be(t,li)+"";if(ps(t))return jn?jn.call(t):"";var e=t+"";return"0"==e&&1/t==-p?"-0":e}function hi(t,e,n){var r=-1,i=Oe,o=t.length,a=!0,s=[],c=s;if(n)a=!1,i=ke;else if(o>=200){var u=e?null:Ki(t);if(u)return mn(u);a=!1,i=nn,c=new Xn}else c=e?[]:s;t:for(;++r<o;){var l=t[r],h=e?e(l):l;if(l=n||0!==l?l:0,a&&h==h){for(var f=c.length;f--;)if(c[f]===h)continue t;e&&c.push(h),s.push(l)}else i(c,h,n)||(c!==s&&c.push(h),s.push(l))}return s}function fi(t,e){return null==(t=Oo(t,e=xi(e,t)))||delete t[Ho(na(e))]}function di(t,e,n,r){return ti(t,e,n(Mr(t,e)),r)}function pi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?ii(t,r?0:o,r?o+1:i):ii(t,r?o+1:0,r?i:o)}function mi(t,e){var n=t;return n instanceof Wn&&(n=n.value()),Fe(e,(function(t,e){return e.func.apply(e.thisArg,De([t],e.args))}),n)}function gi(t,e,r){var i=t.length;if(i<2)return i?hi(t[0]):[];for(var o=-1,a=n(i);++o<i;)for(var s=t[o],c=-1;++c<i;)c!=o&&(a[o]=hr(a[o]||s,t[c],e,r));return hi(vr(a,1),e,r)}function vi(t,e,n){for(var r=-1,i=t.length,a=e.length,s={};++r<i;){var c=r<a?e[r]:o;n(s,t[r],c)}return s}function yi(t){return $a(t)?t:[]}function _i(t){return"function"==typeof t?t:uc}function xi(t,e){return Ja(t)?t:Ao(t,e)?[t]:zo(Ss(t))}var bi=qr;function wi(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:ii(t,e,n)}var Mi=$t||function(t){return me.clearTimeout(t)};function Si(t,e){if(e)return t.slice();var n=t.length,r=Wt?Wt(n):new t.constructor(n);return t.copy(r),r}function Ai(t){var e=new t.constructor(t.byteLength);return new Ht(e).set(new Ht(t)),e}function Ci(t,e){var n=e?Ai(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ei(t,e){if(t!==e){var n=t!==o,r=null===t,i=t==t,a=ps(t),s=e!==o,c=null===e,u=e==e,l=ps(e);if(!c&&!l&&!a&&t>e||a&&s&&u&&!c&&!l||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!l&&t<e||l&&n&&i&&!r&&!a||c&&n&&i||!s&&i||!u)return-1}return 0}function Ti(t,e,r,i){for(var o=-1,a=t.length,s=r.length,c=-1,u=e.length,l=_e(a-s,0),h=n(u+l),f=!i;++c<u;)h[c]=e[c];for(;++o<s;)(f||o<a)&&(h[r[o]]=t[o]);for(;l--;)h[c++]=t[o++];return h}function Ii(t,e,r,i){for(var o=-1,a=t.length,s=-1,c=r.length,u=-1,l=e.length,h=_e(a-c,0),f=n(h+l),d=!i;++o<h;)f[o]=t[o];for(var p=o;++u<l;)f[p+u]=e[u];for(;++s<c;)(d||o<a)&&(f[p+r[s]]=t[o++]);return f}function Li(t,e){var r=-1,i=t.length;for(e||(e=n(i));++r<i;)e[r]=t[r];return e}function Pi(t,e,n,r){var i=!n;n||(n={});for(var a=-1,s=e.length;++a<s;){var c=e[a],u=r?r(n[c],t[c],c,n,t):o;u===o&&(u=t[c]),i?or(n,c,u):er(n,c,u)}return n}function Ri(t,e){return function(n,r){var i=Ja(n)?Te:rr,o=e?e():{};return i(n,t,fo(r,2),o)}}function Oi(t){return qr((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=t.length>3&&"function"==typeof a?(i--,a):o,s&&So(n[0],n[1],s)&&(a=i<3?o:a,i=1),e=At(e);++r<i;){var c=n[r];c&&t(e,c,r,a)}return e}))}function ki(t,e){return function(n,r){if(null==n)return n;if(!Ka(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=At(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Bi(t){return function(e,n,r){for(var i=-1,o=At(e),a=r(e),s=a.length;s--;){var c=a[t?s:++i];if(!1===n(o[c],c,o))break}return e}}function Di(t){return function(e){var n=ln(e=Ss(e))?vn(e):o,r=n?n[0]:e.charAt(0),i=n?wi(n,1).join(""):e.slice(1);return r[t]()+i}}function Fi(t){return function(e){return Fe(rc(Ys(e).replace(te,"")),t,"")}}function Ui(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Gn(t.prototype),r=t.apply(n,e);return as(r)?r:n}}function ji(t,e,r){var i=Ui(t);return function a(){for(var s=arguments.length,c=n(s),u=s,l=ho(a);u--;)c[u]=arguments[u];var h=s<3&&c[0]!==l&&c[s-1]!==l?[]:pn(c,l);if((s-=h.length)<r)return Ji(t,e,zi,a.placeholder,o,c,h,o,o,r-s);var f=this&&this!==me&&this instanceof a?i:t;return Ee(f,this,c)}}function Ni(t){return function(e,n,r){var i=At(e);if(!Ka(e)){var a=fo(n,3);e=Fs(e),n=function(t){return a(i[t],t,i)}}var s=t(e,n,r);return s>-1?i[a?e[s]:s]:o}}function Gi(t){return ao((function(e){var n=e.length,r=n,i=Hn.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new Tt(a);if(i&&!c&&"wrapper"==lo(s))var c=new Hn([],!0)}for(r=c?r:n;++r<n;){var u=lo(s=e[r]),l="wrapper"==u?uo(s):o;c=l&&Co(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?c[lo(l[0])].apply(c,l[3]):1==s.length&&Co(s)?c[u]():c.thru(s)}return function(){var t=arguments,r=t[0];if(c&&1==t.length&&Ja(r))return c.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}}))}function zi(t,e,r,i,a,s,c,u,l,h){var d=e&f,p=1&e,m=2&e,g=24&e,v=512&e,y=m?o:Ui(t);return function o(){for(var f=arguments.length,_=n(f),x=f;x--;)_[x]=arguments[x];if(g)var b=ho(o),w=an(_,b);if(i&&(_=Ti(_,i,a,g)),s&&(_=Ii(_,s,c,g)),f-=w,g&&f<h){var M=pn(_,b);return Ji(t,e,zi,o.placeholder,r,_,M,u,l,h-f)}var S=p?r:this,A=m?S[t]:t;return f=_.length,u?_=ko(_,u):v&&f>1&&_.reverse(),d&&l<f&&(_.length=l),this&&this!==me&&this instanceof o&&(A=y||Ui(A)),A.apply(S,_)}}function Hi(t,e){return function(n,r){return function(t,e,n,r){return xr(t,(function(t,i,o){e(r,n(t),i,o)})),r}(n,t,e(r),{})}}function Wi(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=li(n),r=li(r)):(n=ui(n),r=ui(r)),i=t(n,r)}return i}}function Vi(t){return ao((function(e){return e=Be(e,tn(fo())),qr((function(n){var r=this;return t(e,(function(t){return Ee(t,r,n)}))}))}))}function Zi(t,e){var n=(e=e===o?" ":li(e)).length;if(n<2)return n?Jr(e,t):e;var r=Jr(e,ie(t/gn(e)));return ln(e)?wi(vn(r),0,t).join(""):r.slice(0,t)}function Qi(t,e,r,i){var o=1&e,a=Ui(t);return function e(){for(var s=-1,c=arguments.length,u=-1,l=i.length,h=n(l+c),f=this&&this!==me&&this instanceof e?a:t;++u<l;)h[u]=i[u];for(;c--;)h[u++]=arguments[++s];return Ee(f,o?r:this,h)}}function Xi(t){return function(e,n,r){return r&&"number"!=typeof r&&So(e,n,r)&&(n=r=o),e=_s(e),n===o?(n=e,e=0):n=_s(n),Yr(e,n,r=r===o?e<n?1:-1:_s(r),t)}}function Yi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=ws(e),n=ws(n)),t(e,n)}}function Ji(t,e,n,r,i,a,s,c,u,f){var d=8&e;e|=d?l:h,4&(e&=~(d?h:l))||(e&=-4);var p=[t,e,i,d?a:o,d?s:o,d?o:a,d?o:s,c,u,f],m=n.apply(o,p);return Co(t)&&Do(m,p),m.placeholder=r,jo(m,t,e)}function qi(t){var e=ft[t];return function(t,n){if(t=ws(t),(n=null==n?0:xe(xs(n),292))&&pe(t)){var r=(Ss(t)+"e").split("e");return+((r=(Ss(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Ki=En&&1/mn(new En([,-0]))[1]==p?function(t){return new En(t)}:pc;function $i(t){return function(e){var n=_o(e);return n==C?fn(e):n==P?function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}(e):function(t,e){return Be(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function to(t,e,n,r,i,s,c,f){var d=2&e;if(!d&&"function"!=typeof t)throw new Tt(a);var p=r?r.length:0;if(p||(e&=-97,r=i=o),c=c===o?c:_e(xs(c),0),f=f===o?f:xs(f),p-=i?i.length:0,e&h){var m=r,g=i;r=i=o}var v=d?o:uo(t),y=[t,e,n,r,i,m,g,s,c,f];if(v&&Po(y,v),t=y[0],e=y[1],n=y[2],r=y[3],i=y[4],!(f=y[9]=y[9]===o?d?0:t.length:_e(y[9]-p,0))&&24&e&&(e&=-25),e&&1!=e)_=8==e||e==u?ji(t,e,f):e!=l&&33!=e||i.length?zi.apply(o,y):Qi(t,e,n,r);else var _=function(t,e,n){var r=1&e,i=Ui(t);return function e(){var o=this&&this!==me&&this instanceof e?i:t;return o.apply(r?n:this,arguments)}}(t,e,n);return jo((v?ei:Do)(_,y),t,e)}function eo(t,e,n,r){return t===o||Za(t,Pt[n])&&!kt.call(r,n)?e:t}function no(t,e,n,r,i,a){return as(t)&&as(e)&&(a.set(e,t),zr(t,e,o,no,a),a.delete(e)),t}function ro(t){return ls(t)?o:t}function io(t,e,n,r,i,a){var s=1&n,c=t.length,u=e.length;if(c!=u&&!(s&&u>c))return!1;var l=a.get(t),h=a.get(e);if(l&&h)return l==e&&h==t;var f=-1,d=!0,p=2&n?new Xn:o;for(a.set(t,e),a.set(e,t);++f<c;){var m=t[f],g=e[f];if(r)var v=s?r(g,m,f,e,t,a):r(m,g,f,t,e,a);if(v!==o){if(v)continue;d=!1;break}if(p){if(!je(e,(function(t,e){if(!nn(p,e)&&(m===t||i(m,t,n,r,a)))return p.push(e)}))){d=!1;break}}else if(m!==g&&!i(m,g,n,r,a)){d=!1;break}}return a.delete(t),a.delete(e),d}function oo(t,e,n,r,i,a){var s=1&n,c=so(t),u=c.length;if(u!=so(e).length&&!s)return!1;for(var l=u;l--;){var h=c[l];if(!(s?h in e:kt.call(e,h)))return!1}var f=a.get(t),d=a.get(e);if(f&&d)return f==e&&d==t;var p=!0;a.set(t,e),a.set(e,t);for(var m=s;++l<u;){var g=t[h=c[l]],v=e[h];if(r)var y=s?r(v,g,h,e,t,a):r(g,v,h,t,e,a);if(!(y===o?g===v||i(g,v,n,r,a):y)){p=!1;break}m||(m="constructor"==h)}if(p&&!m){var _=t.constructor,x=e.constructor;_==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x||(p=!1)}return a.delete(t),a.delete(e),p}function ao(t){return Uo(Ro(t,o,qo),t+"")}function so(t){return Sr(t,Fs,vo)}function co(t){return Sr(t,Us,yo)}var uo=Ln?function(t){return Ln.get(t)}:pc;function lo(t){for(var e=t.name+"",n=Pn[e],r=kt.call(Pn,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function ho(t){return(kt.call(Nn,"placeholder")?Nn:t).placeholder}function fo(){var t=Nn.iteratee||lc;return t=t===lc?Br:t,arguments.length?t(arguments[0],arguments[1]):t}function po(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function mo(t){for(var e=Fs(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Io(i)]}return e}function go(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return kr(n)?n:o}var vo=le?function(t){return null==t?[]:(t=At(t),Re(le(t),(function(e){return Qt.call(t,e)})))}:bc,yo=le?function(t){for(var e=[];t;)De(e,vo(t)),t=Vt(t);return e}:bc,_o=Ar;function xo(t,e,n){for(var r=-1,i=(e=xi(e,t)).length,o=!1;++r<i;){var a=Ho(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&os(i)&&Mo(a,i)&&(Ja(t)||Ya(t))}function bo(t){return"function"!=typeof t.constructor||To(t)?{}:Gn(Vt(t))}function wo(t){return Ja(t)||Ya(t)||!!(Yt&&t&&t[Yt])}function Mo(t,e){var n=typeof t;return!!(e=null==e?m:e)&&("number"==n||"symbol"!=n&&bt.test(t))&&t>-1&&t%1==0&&t<e}function So(t,e,n){if(!as(n))return!1;var r=typeof e;return!!("number"==r?Ka(n)&&Mo(e,n.length):"string"==r&&e in n)&&Za(n[e],t)}function Ao(t,e){if(Ja(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ps(t))||rt.test(t)||!nt.test(t)||null!=e&&t in At(e)}function Co(t){var e=lo(t),n=Nn[e];if("function"!=typeof n||!(e in Wn.prototype))return!1;if(t===n)return!0;var r=uo(n);return!!r&&t===r[0]}(Sn&&_o(new Sn(new ArrayBuffer(1)))!=D||An&&_o(new An)!=C||Cn&&_o(Cn.resolve())!=I||En&&_o(new En)!=P||Tn&&_o(new Tn)!=k)&&(_o=function(t){var e=Ar(t),n=e==T?t.constructor:o,r=n?Wo(n):"";if(r)switch(r){case Rn:return D;case On:return C;case kn:return I;case Bn:return P;case Dn:return k}return e});var Eo=Rt?rs:wc;function To(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Pt)}function Io(t){return t==t&&!as(t)}function Lo(t,e){return function(n){return null!=n&&n[t]===e&&(e!==o||t in At(n))}}function Po(t,e){var n=t[1],r=e[1],i=n|r,o=i<131,a=r==f&&8==n||r==f&&n==d&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!o&&!a)return t;1&r&&(t[2]=e[2],i|=1&n?0:4);var s=e[3];if(s){var u=t[3];t[3]=u?Ti(u,s,e[4]):s,t[4]=u?pn(t[3],c):e[4]}return(s=e[5])&&(u=t[5],t[5]=u?Ii(u,s,e[6]):s,t[6]=u?pn(t[5],c):e[6]),(s=e[7])&&(t[7]=s),r&f&&(t[8]=null==t[8]?e[8]:xe(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function Ro(t,e,r){return e=_e(e===o?t.length-1:e,0),function(){for(var i=arguments,o=-1,a=_e(i.length-e,0),s=n(a);++o<a;)s[o]=i[e+o];o=-1;for(var c=n(e+1);++o<e;)c[o]=i[o];return c[e]=r(s),Ee(t,this,c)}}function Oo(t,e){return e.length<2?t:Mr(t,ii(e,0,-1))}function ko(t,e){for(var n=t.length,r=xe(e.length,n),i=Li(t);r--;){var a=e[r];t[r]=Mo(a,n)?i[a]:o}return t}function Bo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Do=No(ei),Fo=re||function(t,e){return me.setTimeout(t,e)},Uo=No(ni);function jo(t,e,n){var r=e+"";return Uo(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(ut,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Ie(y,(function(n){var r="_."+n[0];e&n[1]&&!Oe(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(lt);return e?e[1].split(ht):[]}(r),n)))}function No(t){var e=0,n=0;return function(){var r=Ne(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(o,arguments)}}function Go(t,e){var n=-1,r=t.length,i=r-1;for(e=e===o?r:e;++n<e;){var a=Xr(n,i),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}var zo=function(t){var e=Na(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(it,(function(t,n,r,i){e.push(r?i.replace(pt,"$1"):n||t)})),e}));function Ho(t){if("string"==typeof t||ps(t))return t;var e=t+"";return"0"==e&&1/t==-p?"-0":e}function Wo(t){if(null!=t){try{return Ot.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Vo(t){if(t instanceof Wn)return t.clone();var e=new Hn(t.__wrapped__,t.__chain__);return e.__actions__=Li(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Zo=qr((function(t,e){return $a(t)?hr(t,vr(e,1,$a,!0)):[]})),Qo=qr((function(t,e){var n=na(e);return $a(n)&&(n=o),$a(t)?hr(t,vr(e,1,$a,!0),fo(n,2)):[]})),Xo=qr((function(t,e){var n=na(e);return $a(n)&&(n=o),$a(t)?hr(t,vr(e,1,$a,!0),o,n):[]}));function Yo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:xs(n);return i<0&&(i=_e(r+i,0)),He(t,fo(e,3),i)}function Jo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=xs(n),i=n<0?_e(r+i,0):xe(i,r-1)),He(t,fo(e,3),i,!0)}function qo(t){return null!=t&&t.length?vr(t,1):[]}function Ko(t){return t&&t.length?t[0]:o}var $o=qr((function(t){var e=Be(t,yi);return e.length&&e[0]===t[0]?Ir(e):[]})),ta=qr((function(t){var e=na(t),n=Be(t,yi);return e===na(n)?e=o:n.pop(),n.length&&n[0]===t[0]?Ir(n,fo(e,2)):[]})),ea=qr((function(t){var e=na(t),n=Be(t,yi);return(e="function"==typeof e?e:o)&&n.pop(),n.length&&n[0]===t[0]?Ir(n,o,e):[]}));function na(t){var e=null==t?0:t.length;return e?t[e-1]:o}var ra=qr(ia);function ia(t,e){return t&&t.length&&e&&e.length?Zr(t,e):t}var oa=ao((function(t,e){var n=null==t?0:t.length,r=ar(t,e);return Qr(t,Be(e,(function(t){return Mo(t,n)?+t:t})).sort(Ei)),r}));function aa(t){return null==t?t:Mn.call(t)}var sa=qr((function(t){return hi(vr(t,1,$a,!0))})),ca=qr((function(t){var e=na(t);return $a(e)&&(e=o),hi(vr(t,1,$a,!0),fo(e,2))})),ua=qr((function(t){var e=na(t);return e="function"==typeof e?e:o,hi(vr(t,1,$a,!0),o,e)}));function la(t){if(!t||!t.length)return[];var e=0;return t=Re(t,(function(t){if($a(t))return e=_e(t.length,e),!0})),Ke(e,(function(e){return Be(t,Xe(e))}))}function ha(t,e){if(!t||!t.length)return[];var n=la(t);return null==e?n:Be(n,(function(t){return Ee(e,o,t)}))}var fa=qr((function(t,e){return $a(t)?hr(t,e):[]})),da=qr((function(t){return gi(Re(t,$a))})),pa=qr((function(t){var e=na(t);return $a(e)&&(e=o),gi(Re(t,$a),fo(e,2))})),ma=qr((function(t){var e=na(t);return e="function"==typeof e?e:o,gi(Re(t,$a),o,e)})),ga=qr(la),va=qr((function(t){var e=t.length,n=e>1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,ha(t,n)}));function ya(t){var e=Nn(t);return e.__chain__=!0,e}function _a(t,e){return e(t)}var xa=ao((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return ar(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Wn&&Mo(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:_a,args:[i],thisArg:o}),new Hn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(o),t}))):this.thru(i)})),ba=Ri((function(t,e,n){kt.call(t,n)?++t[n]:or(t,n,1)})),wa=Ni(Yo),Ma=Ni(Jo);function Sa(t,e){return(Ja(t)?Ie:fr)(t,fo(e,3))}function Aa(t,e){return(Ja(t)?Le:dr)(t,fo(e,3))}var Ca=Ri((function(t,e,n){kt.call(t,n)?t[n].push(e):or(t,n,[e])})),Ea=qr((function(t,e,r){var i=-1,o="function"==typeof e,a=Ka(t)?n(t.length):[];return fr(t,(function(t){a[++i]=o?Ee(e,t,r):Lr(t,e,r)})),a})),Ta=Ri((function(t,e,n){or(t,n,e)}));function Ia(t,e){return(Ja(t)?Be:jr)(t,fo(e,3))}var La=Ri((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),Pa=qr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&So(t,e[0],e[1])?e=[]:n>2&&So(e[0],e[1],e[2])&&(e=[e[0]]),Wr(t,vr(e,1),[])})),Ra=ne||function(){return me.Date.now()};function Oa(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,to(t,f,o,o,o,o,e)}function ka(t,e){var n;if("function"!=typeof e)throw new Tt(a);return t=xs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var Ba=qr((function(t,e,n){var r=1;if(n.length){var i=pn(n,ho(Ba));r|=l}return to(t,r,e,n,i)})),Da=qr((function(t,e,n){var r=3;if(n.length){var i=pn(n,ho(Da));r|=l}return to(e,r,t,n,i)}));function Fa(t,e,n){var r,i,s,c,u,l,h=0,f=!1,d=!1,p=!0;if("function"!=typeof t)throw new Tt(a);function m(e){var n=r,a=i;return r=i=o,h=e,c=t.apply(a,n)}function g(t){return h=t,u=Fo(y,e),f?m(t):c}function v(t){var n=t-l;return l===o||n>=e||n<0||d&&t-h>=s}function y(){var t=Ra();if(v(t))return _(t);u=Fo(y,function(t){var n=e-(t-l);return d?xe(n,s-(t-h)):n}(t))}function _(t){return u=o,p&&r?m(t):(r=i=o,c)}function x(){var t=Ra(),n=v(t);if(r=arguments,i=this,l=t,n){if(u===o)return g(l);if(d)return Mi(u),u=Fo(y,e),m(l)}return u===o&&(u=Fo(y,e)),c}return e=ws(e)||0,as(n)&&(f=!!n.leading,s=(d="maxWait"in n)?_e(ws(n.maxWait)||0,e):s,p="trailing"in n?!!n.trailing:p),x.cancel=function(){u!==o&&Mi(u),h=0,r=l=i=u=o},x.flush=function(){return u===o?c:_(Ra())},x}var Ua=qr((function(t,e){return lr(t,1,e)})),ja=qr((function(t,e,n){return lr(t,ws(e)||0,n)}));function Na(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Tt(a);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Na.Cache||Qn),n}function Ga(t){if("function"!=typeof t)throw new Tt(a);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Na.Cache=Qn;var za=bi((function(t,e){var n=(e=1==e.length&&Ja(e[0])?Be(e[0],tn(fo())):Be(vr(e,1),tn(fo()))).length;return qr((function(r){for(var i=-1,o=xe(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return Ee(t,this,r)}))})),Ha=qr((function(t,e){var n=pn(e,ho(Ha));return to(t,l,o,e,n)})),Wa=qr((function(t,e){var n=pn(e,ho(Wa));return to(t,h,o,e,n)})),Va=ao((function(t,e){return to(t,d,o,o,o,e)}));function Za(t,e){return t===e||t!=t&&e!=e}var Qa=Yi(Cr),Xa=Yi((function(t,e){return t>=e})),Ya=Pr(function(){return arguments}())?Pr:function(t){return ss(t)&&kt.call(t,"callee")&&!Qt.call(t,"callee")},Ja=n.isArray,qa=be?tn(be):function(t){return ss(t)&&Ar(t)==B};function Ka(t){return null!=t&&os(t.length)&&!rs(t)}function $a(t){return ss(t)&&Ka(t)}var ts=de||wc,es=we?tn(we):function(t){return ss(t)&&Ar(t)==w};function ns(t){if(!ss(t))return!1;var e=Ar(t);return e==M||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ls(t)}function rs(t){if(!as(t))return!1;var e=Ar(t);return e==S||e==A||"[object AsyncFunction]"==e||"[object Proxy]"==e}function is(t){return"number"==typeof t&&t==xs(t)}function os(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=m}function as(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ss(t){return null!=t&&"object"==typeof t}var cs=Me?tn(Me):function(t){return ss(t)&&_o(t)==C};function us(t){return"number"==typeof t||ss(t)&&Ar(t)==E}function ls(t){if(!ss(t)||Ar(t)!=T)return!1;var e=Vt(t);if(null===e)return!0;var n=kt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Ot.call(n)==Ut}var hs=Se?tn(Se):function(t){return ss(t)&&Ar(t)==L},fs=Ae?tn(Ae):function(t){return ss(t)&&_o(t)==P};function ds(t){return"string"==typeof t||!Ja(t)&&ss(t)&&Ar(t)==R}function ps(t){return"symbol"==typeof t||ss(t)&&Ar(t)==O}var ms=Ce?tn(Ce):function(t){return ss(t)&&os(t.length)&&!!ce[Ar(t)]},gs=Yi(Ur),vs=Yi((function(t,e){return t<=e}));function ys(t){if(!t)return[];if(Ka(t))return ds(t)?vn(t):Li(t);if(Jt&&t[Jt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Jt]());var e=_o(t);return(e==C?fn:e==P?mn:Zs)(t)}function _s(t){return t?(t=ws(t))===p||t===-p?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function xs(t){var e=_s(t),n=e%1;return e==e?n?e-n:e:0}function bs(t){return t?sr(xs(t),0,v):0}function ws(t){if("number"==typeof t)return t;if(ps(t))return g;if(as(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=as(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=$e(t);var n=yt.test(t);return n||xt.test(t)?fe(t.slice(2),n?2:8):vt.test(t)?g:+t}function Ms(t){return Pi(t,Us(t))}function Ss(t){return null==t?"":li(t)}var As=Oi((function(t,e){if(To(e)||Ka(e))Pi(e,Fs(e),t);else for(var n in e)kt.call(e,n)&&er(t,n,e[n])})),Cs=Oi((function(t,e){Pi(e,Us(e),t)})),Es=Oi((function(t,e,n,r){Pi(e,Us(e),t,r)})),Ts=Oi((function(t,e,n,r){Pi(e,Fs(e),t,r)})),Is=ao(ar),Ls=qr((function(t,e){t=At(t);var n=-1,r=e.length,i=r>2?e[2]:o;for(i&&So(e[0],e[1],i)&&(r=1);++n<r;)for(var a=e[n],s=Us(a),c=-1,u=s.length;++c<u;){var l=s[c],h=t[l];(h===o||Za(h,Pt[l])&&!kt.call(t,l))&&(t[l]=a[l])}return t})),Ps=qr((function(t){return t.push(o,no),Ee(Ns,o,t)}));function Rs(t,e,n){var r=null==t?o:Mr(t,e);return r===o?n:r}function Os(t,e){return null!=t&&xo(t,e,Tr)}var ks=Hi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Ft.call(e)),t[e]=n}),ac(uc)),Bs=Hi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Ft.call(e)),kt.call(t,e)?t[e].push(n):t[e]=[n]}),fo),Ds=qr(Lr);function Fs(t){return Ka(t)?Jn(t):Dr(t)}function Us(t){return Ka(t)?Jn(t,!0):Fr(t)}var js=Oi((function(t,e,n){zr(t,e,n)})),Ns=Oi((function(t,e,n,r){zr(t,e,n,r)})),Gs=ao((function(t,e){var n={};if(null==t)return n;var r=!1;e=Be(e,(function(e){return e=xi(e,t),r||(r=e.length>1),e})),Pi(t,co(t),n),r&&(n=cr(n,7,ro));for(var i=e.length;i--;)fi(n,e[i]);return n})),zs=ao((function(t,e){return null==t?{}:function(t,e){return Vr(t,e,(function(e,n){return Os(t,n)}))}(t,e)}));function Hs(t,e){if(null==t)return{};var n=Be(co(t),(function(t){return[t]}));return e=fo(e),Vr(t,n,(function(t,n){return e(t,n[0])}))}var Ws=$i(Fs),Vs=$i(Us);function Zs(t){return null==t?[]:en(t,Fs(t))}var Qs=Fi((function(t,e,n){return e=e.toLowerCase(),t+(n?Xs(e):e)}));function Xs(t){return nc(Ss(t).toLowerCase())}function Ys(t){return(t=Ss(t))&&t.replace(wt,sn).replace(ee,"")}var Js=Fi((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),qs=Fi((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ks=Di("toLowerCase"),$s=Fi((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),tc=Fi((function(t,e,n){return t+(n?" ":"")+nc(e)})),ec=Fi((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),nc=Di("toUpperCase");function rc(t,e,n){return t=Ss(t),(e=n?o:e)===o?hn(t)?xn(t):Ge(t):t.match(e)||[]}var ic=qr((function(t,e){try{return Ee(t,o,e)}catch(t){return ns(t)?t:new i(t)}})),oc=ao((function(t,e){return Ie(e,(function(e){e=Ho(e),or(t,e,Ba(t[e],t))})),t}));function ac(t){return function(){return t}}var sc=Gi(),cc=Gi(!0);function uc(t){return t}function lc(t){return Br("function"==typeof t?t:cr(t,1))}var hc=qr((function(t,e){return function(n){return Lr(n,t,e)}})),fc=qr((function(t,e){return function(n){return Lr(t,n,e)}}));function dc(t,e,n){var r=Fs(e),i=wr(e,r);null!=n||as(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=wr(e,Fs(e)));var o=!(as(n)&&"chain"in n&&!n.chain),a=rs(t);return Ie(i,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=Li(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,De([this.value()],arguments))})})),t}function pc(){}var mc=Vi(Be),gc=Vi(Pe),vc=Vi(je);function yc(t){return Ao(t)?Xe(Ho(t)):function(t){return function(e){return Mr(e,t)}}(t)}var _c=Xi(),xc=Xi(!0);function bc(){return[]}function wc(){return!1}var Mc=Wi((function(t,e){return t+e}),0),Sc=qi("ceil"),Ac=Wi((function(t,e){return t/e}),1),Cc=qi("floor"),Ec=Wi((function(t,e){return t*e}),1),Tc=qi("round"),Ic=Wi((function(t,e){return t-e}),0);return Nn.after=function(t,e){if("function"!=typeof e)throw new Tt(a);return t=xs(t),function(){if(--t<1)return e.apply(this,arguments)}},Nn.ary=Oa,Nn.assign=As,Nn.assignIn=Cs,Nn.assignInWith=Es,Nn.assignWith=Ts,Nn.at=Is,Nn.before=ka,Nn.bind=Ba,Nn.bindAll=oc,Nn.bindKey=Da,Nn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ja(t)?t:[t]},Nn.chain=ya,Nn.chunk=function(t,e,r){e=(r?So(t,e,r):e===o)?1:_e(xs(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var a=0,s=0,c=n(ie(i/e));a<i;)c[s++]=ii(t,a,a+=e);return c},Nn.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},Nn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=n(t-1),r=arguments[0],i=t;i--;)e[i-1]=arguments[i];return De(Ja(r)?Li(r):[r],vr(e,1))},Nn.cond=function(t){var e=null==t?0:t.length,n=fo();return t=e?Be(t,(function(t){if("function"!=typeof t[1])throw new Tt(a);return[n(t[0]),t[1]]})):[],qr((function(n){for(var r=-1;++r<e;){var i=t[r];if(Ee(i[0],this,n))return Ee(i[1],this,n)}}))},Nn.conforms=function(t){return function(t){var e=Fs(t);return function(n){return ur(n,t,e)}}(cr(t,1))},Nn.constant=ac,Nn.countBy=ba,Nn.create=function(t,e){var n=Gn(t);return null==e?n:ir(n,e)},Nn.curry=function t(e,n,r){var i=to(e,8,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},Nn.curryRight=function t(e,n,r){var i=to(e,u,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},Nn.debounce=Fa,Nn.defaults=Ls,Nn.defaultsDeep=Ps,Nn.defer=Ua,Nn.delay=ja,Nn.difference=Zo,Nn.differenceBy=Qo,Nn.differenceWith=Xo,Nn.drop=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,(e=n||e===o?1:xs(e))<0?0:e,r):[]},Nn.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,0,(e=r-(e=n||e===o?1:xs(e)))<0?0:e):[]},Nn.dropRightWhile=function(t,e){return t&&t.length?pi(t,fo(e,3),!0,!0):[]},Nn.dropWhile=function(t,e){return t&&t.length?pi(t,fo(e,3),!0):[]},Nn.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&So(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=xs(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:xs(r))<0&&(r+=i),r=n>r?0:bs(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},Nn.filter=function(t,e){return(Ja(t)?Re:gr)(t,fo(e,3))},Nn.flatMap=function(t,e){return vr(Ia(t,e),1)},Nn.flatMapDeep=function(t,e){return vr(Ia(t,e),p)},Nn.flatMapDepth=function(t,e,n){return n=n===o?1:xs(n),vr(Ia(t,e),n)},Nn.flatten=qo,Nn.flattenDeep=function(t){return null!=t&&t.length?vr(t,p):[]},Nn.flattenDepth=function(t,e){return null!=t&&t.length?vr(t,e=e===o?1:xs(e)):[]},Nn.flip=function(t){return to(t,512)},Nn.flow=sc,Nn.flowRight=cc,Nn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},Nn.functions=function(t){return null==t?[]:wr(t,Fs(t))},Nn.functionsIn=function(t){return null==t?[]:wr(t,Us(t))},Nn.groupBy=Ca,Nn.initial=function(t){return null!=t&&t.length?ii(t,0,-1):[]},Nn.intersection=$o,Nn.intersectionBy=ta,Nn.intersectionWith=ea,Nn.invert=ks,Nn.invertBy=Bs,Nn.invokeMap=Ea,Nn.iteratee=lc,Nn.keyBy=Ta,Nn.keys=Fs,Nn.keysIn=Us,Nn.map=Ia,Nn.mapKeys=function(t,e){var n={};return e=fo(e,3),xr(t,(function(t,r,i){or(n,e(t,r,i),t)})),n},Nn.mapValues=function(t,e){var n={};return e=fo(e,3),xr(t,(function(t,r,i){or(n,r,e(t,r,i))})),n},Nn.matches=function(t){return Nr(cr(t,1))},Nn.matchesProperty=function(t,e){return Gr(t,cr(e,1))},Nn.memoize=Na,Nn.merge=js,Nn.mergeWith=Ns,Nn.method=hc,Nn.methodOf=fc,Nn.mixin=dc,Nn.negate=Ga,Nn.nthArg=function(t){return t=xs(t),qr((function(e){return Hr(e,t)}))},Nn.omit=Gs,Nn.omitBy=function(t,e){return Hs(t,Ga(fo(e)))},Nn.once=function(t){return ka(2,t)},Nn.orderBy=function(t,e,n,r){return null==t?[]:(Ja(e)||(e=null==e?[]:[e]),Ja(n=r?o:n)||(n=null==n?[]:[n]),Wr(t,e,n))},Nn.over=mc,Nn.overArgs=za,Nn.overEvery=gc,Nn.overSome=vc,Nn.partial=Ha,Nn.partialRight=Wa,Nn.partition=La,Nn.pick=zs,Nn.pickBy=Hs,Nn.property=yc,Nn.propertyOf=function(t){return function(e){return null==t?o:Mr(t,e)}},Nn.pull=ra,Nn.pullAll=ia,Nn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Zr(t,e,fo(n,2)):t},Nn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Zr(t,e,o,n):t},Nn.pullAt=oa,Nn.range=_c,Nn.rangeRight=xc,Nn.rearg=Va,Nn.reject=function(t,e){return(Ja(t)?Re:gr)(t,Ga(fo(e,3)))},Nn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=fo(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return Qr(t,i),n},Nn.rest=function(t,e){if("function"!=typeof t)throw new Tt(a);return qr(t,e=e===o?e:xs(e))},Nn.reverse=aa,Nn.sampleSize=function(t,e,n){return e=(n?So(t,e,n):e===o)?1:xs(e),(Ja(t)?Kn:$r)(t,e)},Nn.set=function(t,e,n){return null==t?t:ti(t,e,n)},Nn.setWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:ti(t,e,n,r)},Nn.shuffle=function(t){return(Ja(t)?$n:ri)(t)},Nn.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&So(t,e,n)?(e=0,n=r):(e=null==e?0:xs(e),n=n===o?r:xs(n)),ii(t,e,n)):[]},Nn.sortBy=Pa,Nn.sortedUniq=function(t){return t&&t.length?ci(t):[]},Nn.sortedUniqBy=function(t,e){return t&&t.length?ci(t,fo(e,2)):[]},Nn.split=function(t,e,n){return n&&"number"!=typeof n&&So(t,e,n)&&(e=n=o),(n=n===o?v:n>>>0)?(t=Ss(t))&&("string"==typeof e||null!=e&&!hs(e))&&!(e=li(e))&&ln(t)?wi(vn(t),0,n):t.split(e,n):[]},Nn.spread=function(t,e){if("function"!=typeof t)throw new Tt(a);return e=null==e?0:_e(xs(e),0),qr((function(n){var r=n[e],i=wi(n,0,e);return r&&De(i,r),Ee(t,this,i)}))},Nn.tail=function(t){var e=null==t?0:t.length;return e?ii(t,1,e):[]},Nn.take=function(t,e,n){return t&&t.length?ii(t,0,(e=n||e===o?1:xs(e))<0?0:e):[]},Nn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,(e=r-(e=n||e===o?1:xs(e)))<0?0:e,r):[]},Nn.takeRightWhile=function(t,e){return t&&t.length?pi(t,fo(e,3),!1,!0):[]},Nn.takeWhile=function(t,e){return t&&t.length?pi(t,fo(e,3)):[]},Nn.tap=function(t,e){return e(t),t},Nn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Tt(a);return as(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Fa(t,e,{leading:r,maxWait:e,trailing:i})},Nn.thru=_a,Nn.toArray=ys,Nn.toPairs=Ws,Nn.toPairsIn=Vs,Nn.toPath=function(t){return Ja(t)?Be(t,Ho):ps(t)?[t]:Li(zo(Ss(t)))},Nn.toPlainObject=Ms,Nn.transform=function(t,e,n){var r=Ja(t),i=r||ts(t)||ms(t);if(e=fo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:as(t)&&rs(o)?Gn(Vt(t)):{}}return(i?Ie:xr)(t,(function(t,r,i){return e(n,t,r,i)})),n},Nn.unary=function(t){return Oa(t,1)},Nn.union=sa,Nn.unionBy=ca,Nn.unionWith=ua,Nn.uniq=function(t){return t&&t.length?hi(t):[]},Nn.uniqBy=function(t,e){return t&&t.length?hi(t,fo(e,2)):[]},Nn.uniqWith=function(t,e){return e="function"==typeof e?e:o,t&&t.length?hi(t,o,e):[]},Nn.unset=function(t,e){return null==t||fi(t,e)},Nn.unzip=la,Nn.unzipWith=ha,Nn.update=function(t,e,n){return null==t?t:di(t,e,_i(n))},Nn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:di(t,e,_i(n),r)},Nn.values=Zs,Nn.valuesIn=function(t){return null==t?[]:en(t,Us(t))},Nn.without=fa,Nn.words=rc,Nn.wrap=function(t,e){return Ha(_i(e),t)},Nn.xor=da,Nn.xorBy=pa,Nn.xorWith=ma,Nn.zip=ga,Nn.zipObject=function(t,e){return vi(t||[],e||[],er)},Nn.zipObjectDeep=function(t,e){return vi(t||[],e||[],ti)},Nn.zipWith=va,Nn.entries=Ws,Nn.entriesIn=Vs,Nn.extend=Cs,Nn.extendWith=Es,dc(Nn,Nn),Nn.add=Mc,Nn.attempt=ic,Nn.camelCase=Qs,Nn.capitalize=Xs,Nn.ceil=Sc,Nn.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=ws(n))==n?n:0),e!==o&&(e=(e=ws(e))==e?e:0),sr(ws(t),e,n)},Nn.clone=function(t){return cr(t,4)},Nn.cloneDeep=function(t){return cr(t,5)},Nn.cloneDeepWith=function(t,e){return cr(t,5,e="function"==typeof e?e:o)},Nn.cloneWith=function(t,e){return cr(t,4,e="function"==typeof e?e:o)},Nn.conformsTo=function(t,e){return null==e||ur(t,e,Fs(e))},Nn.deburr=Ys,Nn.defaultTo=function(t,e){return null==t||t!=t?e:t},Nn.divide=Ac,Nn.endsWith=function(t,e,n){t=Ss(t),e=li(e);var r=t.length,i=n=n===o?r:sr(xs(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},Nn.eq=Za,Nn.escape=function(t){return(t=Ss(t))&&K.test(t)?t.replace(J,cn):t},Nn.escapeRegExp=function(t){return(t=Ss(t))&&at.test(t)?t.replace(ot,"\\$&"):t},Nn.every=function(t,e,n){var r=Ja(t)?Pe:pr;return n&&So(t,e,n)&&(e=o),r(t,fo(e,3))},Nn.find=wa,Nn.findIndex=Yo,Nn.findKey=function(t,e){return ze(t,fo(e,3),xr)},Nn.findLast=Ma,Nn.findLastIndex=Jo,Nn.findLastKey=function(t,e){return ze(t,fo(e,3),br)},Nn.floor=Cc,Nn.forEach=Sa,Nn.forEachRight=Aa,Nn.forIn=function(t,e){return null==t?t:yr(t,fo(e,3),Us)},Nn.forInRight=function(t,e){return null==t?t:_r(t,fo(e,3),Us)},Nn.forOwn=function(t,e){return t&&xr(t,fo(e,3))},Nn.forOwnRight=function(t,e){return t&&br(t,fo(e,3))},Nn.get=Rs,Nn.gt=Qa,Nn.gte=Xa,Nn.has=function(t,e){return null!=t&&xo(t,e,Er)},Nn.hasIn=Os,Nn.head=Ko,Nn.identity=uc,Nn.includes=function(t,e,n,r){t=Ka(t)?t:Zs(t),n=n&&!r?xs(n):0;var i=t.length;return n<0&&(n=_e(i+n,0)),ds(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&We(t,e,n)>-1},Nn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:xs(n);return i<0&&(i=_e(r+i,0)),We(t,e,i)},Nn.inRange=function(t,e,n){return e=_s(e),n===o?(n=e,e=0):n=_s(n),function(t,e,n){return t>=xe(e,n)&&t<_e(e,n)}(t=ws(t),e,n)},Nn.invoke=Ds,Nn.isArguments=Ya,Nn.isArray=Ja,Nn.isArrayBuffer=qa,Nn.isArrayLike=Ka,Nn.isArrayLikeObject=$a,Nn.isBoolean=function(t){return!0===t||!1===t||ss(t)&&Ar(t)==b},Nn.isBuffer=ts,Nn.isDate=es,Nn.isElement=function(t){return ss(t)&&1===t.nodeType&&!ls(t)},Nn.isEmpty=function(t){if(null==t)return!0;if(Ka(t)&&(Ja(t)||"string"==typeof t||"function"==typeof t.splice||ts(t)||ms(t)||Ya(t)))return!t.length;var e=_o(t);if(e==C||e==P)return!t.size;if(To(t))return!Dr(t).length;for(var n in t)if(kt.call(t,n))return!1;return!0},Nn.isEqual=function(t,e){return Rr(t,e)},Nn.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:o)?n(t,e):o;return r===o?Rr(t,e,o,n):!!r},Nn.isError=ns,Nn.isFinite=function(t){return"number"==typeof t&&pe(t)},Nn.isFunction=rs,Nn.isInteger=is,Nn.isLength=os,Nn.isMap=cs,Nn.isMatch=function(t,e){return t===e||Or(t,e,mo(e))},Nn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:o,Or(t,e,mo(e),n)},Nn.isNaN=function(t){return us(t)&&t!=+t},Nn.isNative=function(t){if(Eo(t))throw new i("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return kr(t)},Nn.isNil=function(t){return null==t},Nn.isNull=function(t){return null===t},Nn.isNumber=us,Nn.isObject=as,Nn.isObjectLike=ss,Nn.isPlainObject=ls,Nn.isRegExp=hs,Nn.isSafeInteger=function(t){return is(t)&&t>=-m&&t<=m},Nn.isSet=fs,Nn.isString=ds,Nn.isSymbol=ps,Nn.isTypedArray=ms,Nn.isUndefined=function(t){return t===o},Nn.isWeakMap=function(t){return ss(t)&&_o(t)==k},Nn.isWeakSet=function(t){return ss(t)&&"[object WeakSet]"==Ar(t)},Nn.join=function(t,e){return null==t?"":ge.call(t,e)},Nn.kebabCase=Js,Nn.last=na,Nn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=xs(n))<0?_e(r+i,0):xe(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):He(t,Ze,i,!0)},Nn.lowerCase=qs,Nn.lowerFirst=Ks,Nn.lt=gs,Nn.lte=vs,Nn.max=function(t){return t&&t.length?mr(t,uc,Cr):o},Nn.maxBy=function(t,e){return t&&t.length?mr(t,fo(e,2),Cr):o},Nn.mean=function(t){return Qe(t,uc)},Nn.meanBy=function(t,e){return Qe(t,fo(e,2))},Nn.min=function(t){return t&&t.length?mr(t,uc,Ur):o},Nn.minBy=function(t,e){return t&&t.length?mr(t,fo(e,2),Ur):o},Nn.stubArray=bc,Nn.stubFalse=wc,Nn.stubObject=function(){return{}},Nn.stubString=function(){return""},Nn.stubTrue=function(){return!0},Nn.multiply=Ec,Nn.nth=function(t,e){return t&&t.length?Hr(t,xs(e)):o},Nn.noConflict=function(){return me._===this&&(me._=jt),this},Nn.noop=pc,Nn.now=Ra,Nn.pad=function(t,e,n){t=Ss(t);var r=(e=xs(e))?gn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Zi(oe(i),n)+t+Zi(ie(i),n)},Nn.padEnd=function(t,e,n){t=Ss(t);var r=(e=xs(e))?gn(t):0;return e&&r<e?t+Zi(e-r,n):t},Nn.padStart=function(t,e,n){t=Ss(t);var r=(e=xs(e))?gn(t):0;return e&&r<e?Zi(e-r,n)+t:t},Nn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Ye(Ss(t).replace(st,""),e||0)},Nn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&So(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=_s(t),e===o?(e=t,t=0):e=_s(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=wn();return xe(t+i*(e-t+he("1e-"+((i+"").length-1))),e)}return Xr(t,e)},Nn.reduce=function(t,e,n){var r=Ja(t)?Fe:Je,i=arguments.length<3;return r(t,fo(e,4),n,i,fr)},Nn.reduceRight=function(t,e,n){var r=Ja(t)?Ue:Je,i=arguments.length<3;return r(t,fo(e,4),n,i,dr)},Nn.repeat=function(t,e,n){return e=(n?So(t,e,n):e===o)?1:xs(e),Jr(Ss(t),e)},Nn.replace=function(){var t=arguments,e=Ss(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Nn.result=function(t,e,n){var r=-1,i=(e=xi(e,t)).length;for(i||(i=1,t=o);++r<i;){var a=null==t?o:t[Ho(e[r])];a===o&&(r=i,a=n),t=rs(a)?a.call(t):a}return t},Nn.round=Tc,Nn.runInContext=t,Nn.sample=function(t){return(Ja(t)?qn:Kr)(t)},Nn.size=function(t){if(null==t)return 0;if(Ka(t))return ds(t)?gn(t):t.length;var e=_o(t);return e==C||e==P?t.size:Dr(t).length},Nn.snakeCase=$s,Nn.some=function(t,e,n){var r=Ja(t)?je:oi;return n&&So(t,e,n)&&(e=o),r(t,fo(e,3))},Nn.sortedIndex=function(t,e){return ai(t,e)},Nn.sortedIndexBy=function(t,e,n){return si(t,e,fo(n,2))},Nn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=ai(t,e);if(r<n&&Za(t[r],e))return r}return-1},Nn.sortedLastIndex=function(t,e){return ai(t,e,!0)},Nn.sortedLastIndexBy=function(t,e,n){return si(t,e,fo(n,2),!0)},Nn.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ai(t,e,!0)-1;if(Za(t[n],e))return n}return-1},Nn.startCase=tc,Nn.startsWith=function(t,e,n){return t=Ss(t),n=null==n?0:sr(xs(n),0,t.length),e=li(e),t.slice(n,n+e.length)==e},Nn.subtract=Ic,Nn.sum=function(t){return t&&t.length?qe(t,uc):0},Nn.sumBy=function(t,e){return t&&t.length?qe(t,fo(e,2)):0},Nn.template=function(t,e,n){var r=Nn.templateSettings;n&&So(t,e,n)&&(e=o),t=Ss(t),e=Es({},e,r,eo);var a,s,c=Es({},e.imports,r.imports,eo),u=Fs(c),l=en(c,u),h=0,f=e.interpolate||Mt,d="__p += '",p=Ct((e.escape||Mt).source+"|"+f.source+"|"+(f===et?mt:Mt).source+"|"+(e.evaluate||Mt).source+"|$","g"),m="//# sourceURL="+(kt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++se+"]")+"\n";t.replace(p,(function(e,n,r,i,o,c){return r||(r=i),d+=t.slice(h,c).replace(St,un),n&&(a=!0,d+="' +\n__e("+n+") +\n'"),o&&(s=!0,d+="';\n"+o+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),h=c+e.length,e})),d+="';\n";var g=kt.call(e,"variable")&&e.variable;if(g){if(dt.test(g))throw new i("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(Z,""):d).replace(Q,"$1").replace(X,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=ic((function(){return ct(u,m+"return "+d).apply(o,l)}));if(v.source=d,ns(v))throw v;return v},Nn.times=function(t,e){if((t=xs(t))<1||t>m)return[];var n=v,r=xe(t,v);e=fo(e),t-=v;for(var i=Ke(r,e);++n<t;)e(n);return i},Nn.toFinite=_s,Nn.toInteger=xs,Nn.toLength=bs,Nn.toLower=function(t){return Ss(t).toLowerCase()},Nn.toNumber=ws,Nn.toSafeInteger=function(t){return t?sr(xs(t),-m,m):0===t?t:0},Nn.toString=Ss,Nn.toUpper=function(t){return Ss(t).toUpperCase()},Nn.trim=function(t,e,n){if((t=Ss(t))&&(n||e===o))return $e(t);if(!t||!(e=li(e)))return t;var r=vn(t),i=vn(e);return wi(r,rn(r,i),on(r,i)+1).join("")},Nn.trimEnd=function(t,e,n){if((t=Ss(t))&&(n||e===o))return t.slice(0,yn(t)+1);if(!t||!(e=li(e)))return t;var r=vn(t);return wi(r,0,on(r,vn(e))+1).join("")},Nn.trimStart=function(t,e,n){if((t=Ss(t))&&(n||e===o))return t.replace(st,"");if(!t||!(e=li(e)))return t;var r=vn(t);return wi(r,rn(r,vn(e))).join("")},Nn.truncate=function(t,e){var n=30,r="...";if(as(e)){var i="separator"in e?e.separator:i;n="length"in e?xs(e.length):n,r="omission"in e?li(e.omission):r}var a=(t=Ss(t)).length;if(ln(t)){var s=vn(t);a=s.length}if(n>=a)return t;var c=n-gn(r);if(c<1)return r;var u=s?wi(s,0,c).join(""):t.slice(0,c);if(i===o)return u+r;if(s&&(c+=u.length-c),hs(i)){if(t.slice(c).search(i)){var l,h=u;for(i.global||(i=Ct(i.source,Ss(gt.exec(i))+"g")),i.lastIndex=0;l=i.exec(h);)var f=l.index;u=u.slice(0,f===o?c:f)}}else if(t.indexOf(li(i),c)!=c){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r},Nn.unescape=function(t){return(t=Ss(t))&&q.test(t)?t.replace(Y,_n):t},Nn.uniqueId=function(t){var e=++Bt;return Ss(t)+e},Nn.upperCase=ec,Nn.upperFirst=nc,Nn.each=Sa,Nn.eachRight=Aa,Nn.first=Ko,dc(Nn,function(){var t={};return xr(Nn,(function(e,n){kt.call(Nn.prototype,n)||(t[n]=e)})),t}(),{chain:!1}),Nn.VERSION="4.17.21",Ie(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Nn[t].placeholder=Nn})),Ie(["drop","take"],(function(t,e){Wn.prototype[t]=function(n){n=n===o?1:_e(xs(n),0);var r=this.__filtered__&&!e?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=xe(n,r.__takeCount__):r.__views__.push({size:xe(n,v),type:t+(r.__dir__<0?"Right":"")}),r},Wn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Ie(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Wn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:fo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),Ie(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Wn.prototype[t]=function(){return this[n](1).value()[0]}})),Ie(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Wn.prototype[t]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(uc)},Wn.prototype.find=function(t){return this.filter(t).head()},Wn.prototype.findLast=function(t){return this.reverse().find(t)},Wn.prototype.invokeMap=qr((function(t,e){return"function"==typeof t?new Wn(this):this.map((function(n){return Lr(n,t,e)}))})),Wn.prototype.reject=function(t){return this.filter(Ga(fo(t)))},Wn.prototype.slice=function(t,e){t=xs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Wn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=xs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Wn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Wn.prototype.toArray=function(){return this.take(v)},xr(Wn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=Nn[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);i&&(Nn.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,c=e instanceof Wn,u=s[0],l=c||Ja(e),h=function(t){var e=i.apply(Nn,De([t],s));return r&&f?e[0]:e};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var f=this.__chain__,d=!!this.__actions__.length,p=a&&!f,m=c&&!d;if(!a&&l){e=m?e:new Wn(this);var g=t.apply(e,s);return g.__actions__.push({func:_a,args:[h],thisArg:o}),new Hn(g,f)}return p&&m?t.apply(this,s):(g=this.thru(h),p?r?g.value()[0]:g.value():g)})})),Ie(["pop","push","shift","sort","splice","unshift"],(function(t){var e=It[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Nn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Ja(i)?i:[],t)}return this[n]((function(n){return e.apply(Ja(n)?n:[],t)}))}})),xr(Wn.prototype,(function(t,e){var n=Nn[e];if(n){var r=n.name+"";kt.call(Pn,r)||(Pn[r]=[]),Pn[r].push({name:e,func:n})}})),Pn[zi(o,2).name]=[{name:"wrapper",func:o}],Wn.prototype.clone=function(){var t=new Wn(this.__wrapped__);return t.__actions__=Li(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Li(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Li(this.__views__),t},Wn.prototype.reverse=function(){if(this.__filtered__){var t=new Wn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Wn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ja(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=xe(e,t+a);break;case"takeRight":t=_e(t,e-a)}}return{start:t,end:e}}(0,i,this.__views__),a=o.start,s=o.end,c=s-a,u=r?s:a-1,l=this.__iteratees__,h=l.length,f=0,d=xe(c,this.__takeCount__);if(!n||!r&&i==c&&d==c)return mi(t,this.__actions__);var p=[];t:for(;c--&&f<d;){for(var m=-1,g=t[u+=e];++m<h;){var v=l[m],y=v.iteratee,_=v.type,x=y(g);if(2==_)g=x;else if(!x){if(1==_)continue t;break t}}p[f++]=g}return p},Nn.prototype.at=xa,Nn.prototype.chain=function(){return ya(this)},Nn.prototype.commit=function(){return new Hn(this.value(),this.__chain__)},Nn.prototype.next=function(){this.__values__===o&&(this.__values__=ys(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},Nn.prototype.plant=function(t){for(var e,n=this;n instanceof zn;){var r=Vo(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},Nn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Wn){var e=t;return this.__actions__.length&&(e=new Wn(this)),(e=e.reverse()).__actions__.push({func:_a,args:[aa],thisArg:o}),new Hn(e,this.__chain__)}return this.thru(aa)},Nn.prototype.toJSON=Nn.prototype.valueOf=Nn.prototype.value=function(){return mi(this.__wrapped__,this.__actions__)},Nn.prototype.first=Nn.prototype.head,Jt&&(Nn.prototype[Jt]=function(){return this}),Nn}();me._=bn,(i=function(){return bn}.call(e,n,e,r))===o||(r.exports=i)}).call(this)}).call(this,n("2409"),n("adb6")(t))},"7e14":function(t,e,n){var r=n("3a40").Global;t.exports={name:"oldFF-globalStorage",read:function(t){return i[t]},write:function(t,e){i[t]=e},each:o,remove:function(t){return i.removeItem(t)},clearAll:function(){o((function(t,e){delete i[t]}))}};var i=r.globalStorage;function o(t){for(var e=i.length-1;e>=0;e--){var n=i.key(e);t(i[n],n)}}},"7e5b":function(t,e,n){"use strict";var r=n("8e6c").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"7f81":function(t,e,n){var r=n("09f5");t.exports=function(t,e){return new(r(t))(0===e?0:e)}},"7f8c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAKN2lDQ1BzUkdCIElFQzYxOTY2LTIuMQAAeJydlndUU9kWh8+9N71QkhCKlNBraFICSA29SJEuKjEJEErAkAAiNkRUcERRkaYIMijggKNDkbEiioUBUbHrBBlE1HFwFBuWSWStGd+8ee/Nm98f935rn73P3Wfvfda6AJD8gwXCTFgJgAyhWBTh58WIjYtnYAcBDPAAA2wA4HCzs0IW+EYCmQJ82IxsmRP4F726DiD5+yrTP4zBAP+flLlZIjEAUJiM5/L42VwZF8k4PVecJbdPyZi2NE3OMErOIlmCMlaTc/IsW3z2mWUPOfMyhDwZy3PO4mXw5Nwn4405Er6MkWAZF+cI+LkyviZjg3RJhkDGb+SxGXxONgAoktwu5nNTZGwtY5IoMoIt43kA4EjJX/DSL1jMzxPLD8XOzFouEiSniBkmXFOGjZMTi+HPz03ni8XMMA43jSPiMdiZGVkc4XIAZs/8WRR5bRmyIjvYODk4MG0tbb4o1H9d/JuS93aWXoR/7hlEH/jD9ld+mQ0AsKZltdn6h21pFQBd6wFQu/2HzWAvAIqyvnUOfXEeunxeUsTiLGcrq9zcXEsBn2spL+jv+p8Of0NffM9Svt3v5WF485M4knQxQ143bmZ6pkTEyM7icPkM5p+H+B8H/nUeFhH8JL6IL5RFRMumTCBMlrVbyBOIBZlChkD4n5r4D8P+pNm5lona+BHQllgCpSEaQH4eACgqESAJe2Qr0O99C8ZHA/nNi9GZmJ37z4L+fVe4TP7IFiR/jmNHRDK4ElHO7Jr8WgI0IABFQAPqQBvoAxPABLbAEbgAD+ADAkEoiARxYDHgghSQAUQgFxSAtaAYlIKtYCeoBnWgETSDNnAYdIFj4DQ4By6By2AE3AFSMA6egCnwCsxAEISFyBAVUod0IEPIHLKFWJAb5AMFQxFQHJQIJUNCSAIVQOugUqgcqobqoWboW+godBq6AA1Dt6BRaBL6FXoHIzAJpsFasBFsBbNgTzgIjoQXwcnwMjgfLoK3wJVwA3wQ7oRPw5fgEVgKP4GnEYAQETqiizARFsJGQpF4JAkRIauQEqQCaUDakB6kH7mKSJGnyFsUBkVFMVBMlAvKHxWF4qKWoVahNqOqUQdQnag+1FXUKGoK9RFNRmuizdHO6AB0LDoZnYsuRlegm9Ad6LPoEfQ4+hUGg6FjjDGOGH9MHCYVswKzGbMb0445hRnGjGGmsVisOtYc64oNxXKwYmwxtgp7EHsSewU7jn2DI+J0cLY4X1w8TogrxFXgWnAncFdwE7gZvBLeEO+MD8Xz8MvxZfhGfA9+CD+OnyEoE4wJroRIQiphLaGS0EY4S7hLeEEkEvWITsRwooC4hlhJPEQ8TxwlviVRSGYkNimBJCFtIe0nnSLdIr0gk8lGZA9yPFlM3kJuJp8h3ye/UaAqWCoEKPAUVivUKHQqXFF4pohXNFT0VFysmK9YoXhEcUjxqRJeyUiJrcRRWqVUo3RU6YbStDJV2UY5VDlDebNyi/IF5UcULMWI4kPhUYoo+yhnKGNUhKpPZVO51HXURupZ6jgNQzOmBdBSaaW0b2iDtCkVioqdSrRKnkqNynEVKR2hG9ED6On0Mvph+nX6O1UtVU9Vvuom1TbVK6qv1eaoeajx1UrU2tVG1N6pM9R91NPUt6l3qd/TQGmYaYRr5Grs0Tir8XQObY7LHO6ckjmH59zWhDXNNCM0V2ju0xzQnNbS1vLTytKq0jqj9VSbru2hnaq9Q/uE9qQOVcdNR6CzQ+ekzmOGCsOTkc6oZPQxpnQ1df11Jbr1uoO6M3rGelF6hXrtevf0Cfos/ST9Hfq9+lMGOgYhBgUGrQa3DfGGLMMUw12G/YavjYyNYow2GHUZPTJWMw4wzjduNb5rQjZxN1lm0mByzRRjyjJNM91tetkMNrM3SzGrMRsyh80dzAXmu82HLdAWThZCiwaLG0wS05OZw2xljlrSLYMtCy27LJ9ZGVjFW22z6rf6aG1vnW7daH3HhmITaFNo02Pzq62ZLde2xvbaXPJc37mr53bPfW5nbse322N3055qH2K/wb7X/oODo4PIoc1h0tHAMdGx1vEGi8YKY21mnXdCO3k5rXY65vTW2cFZ7HzY+RcXpkuaS4vLo3nG8/jzGueNueq5clzrXaVuDLdEt71uUnddd457g/sDD30PnkeTx4SnqWeq50HPZ17WXiKvDq/XbGf2SvYpb8Tbz7vEe9CH4hPlU+1z31fPN9m31XfKz95vhd8pf7R/kP82/xsBWgHcgOaAqUDHwJWBfUGkoAVB1UEPgs2CRcE9IXBIYMj2kLvzDecL53eFgtCA0O2h98KMw5aFfR+OCQ8Lrwl/GGETURDRv4C6YMmClgWvIr0iyyLvRJlESaJ6oxWjE6Kbo1/HeMeUx0hjrWJXxl6K04gTxHXHY+Oj45vipxf6LNy5cDzBPqE44foi40V5iy4s1licvvj4EsUlnCVHEtGJMYktie85oZwGzvTSgKW1S6e4bO4u7hOeB28Hb5Lvyi/nTyS5JpUnPUp2Td6ePJninlKR8lTAFlQLnqf6p9alvk4LTduf9ik9Jr09A5eRmHFUSBGmCfsytTPzMoezzLOKs6TLnJftXDYlChI1ZUPZi7K7xTTZz9SAxESyXjKa45ZTk/MmNzr3SJ5ynjBvYLnZ8k3LJ/J9879egVrBXdFboFuwtmB0pefK+lXQqqWrelfrry5aPb7Gb82BtYS1aWt/KLQuLC98uS5mXU+RVtGaorH1futbixWKRcU3NrhsqNuI2ijYOLhp7qaqTR9LeCUXS61LK0rfb+ZuvviVzVeVX33akrRlsMyhbM9WzFbh1uvb3LcdKFcuzy8f2x6yvXMHY0fJjpc7l+y8UGFXUbeLsEuyS1oZXNldZVC1tep9dUr1SI1XTXutZu2m2te7ebuv7PHY01anVVda926vYO/Ner/6zgajhop9mH05+x42Rjf2f836urlJo6m06cN+4X7pgYgDfc2Ozc0tmi1lrXCrpHXyYMLBy994f9Pdxmyrb6e3lx4ChySHHn+b+O31w0GHe4+wjrR9Z/hdbQe1o6QT6lzeOdWV0iXtjusePhp4tLfHpafje8vv9x/TPVZzXOV42QnCiaITn07mn5w+lXXq6enk02O9S3rvnIk9c60vvG/wbNDZ8+d8z53p9+w/ed71/LELzheOXmRd7LrkcKlzwH6g4wf7HzoGHQY7hxyHui87Xe4Znjd84or7ldNXva+euxZw7dLI/JHh61HXb95IuCG9ybv56Fb6ree3c27P3FlzF3235J7SvYr7mvcbfjT9sV3qID0+6j068GDBgztj3LEnP2X/9H686CH5YcWEzkTzI9tHxyZ9Jy8/Xvh4/EnWk5mnxT8r/1z7zOTZd794/DIwFTs1/lz0/NOvm1+ov9j/0u5l73TY9P1XGa9mXpe8UX9z4C3rbf+7mHcTM7nvse8rP5h+6PkY9PHup4xPn34D94Tz+49wZioAAAAJcEhZcwAACxIAAAsSAdLdfvwAAADwSURBVHicYwmrmMXPxsVzgoF48ImFlZGHiZGBQYMETe9ZSFAMBxiaZET5GQzUpBm2HL3GwMLMxOBvq8Ow/9wdhnefvuHWFONuzKCpIMYgws/FIMjLxWCgKsXAx83OMH/radya5m49xVAZ68TgaKQC5j95/ZFh7YHL+J33/tN3hudvPjEI83GB+feevWP49PUHfk0pvmYMOkoSDI9ffWDg4mBjsNNXBBr0jWHdwcu4NV29/4JBGOifiauOMHBysDLkhdgw3HnyBr9Nhy/eB2MQ+PL9J0Pt7B3oSjA1EQPI0/T77oZPLFpemsRqYPzL9hcAyOZIEFj9ZVMAAAAASUVORK5CYII="},"7fdb":function(t,e,n){"use strict";var r=n("ed2b"),i=n("03e9"),o=n("1de0"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n),c=i(t,s),u=i(e,s),l=arguments.length>2?arguments[2]:void 0,h=a((void 0===l?s:i(l,s))-u,s-c),f=1;for(u<c&&c<u+h&&(f=-1,u+=h-1,c+=h-1);h-- >0;)u in n?n[c]=n[u]:delete n[c],c+=f,u+=f;return n}},8179:function(t,e,n){var r=n("3a40").Global;function i(){return r.sessionStorage}function o(t){return i().getItem(t)}t.exports={name:"sessionStorage",read:o,write:function(t,e){return i().setItem(t,e)},each:function(t){for(var e=i().length-1;e>=0;e--){var n=i().key(e);t(o(n),n)}},remove:function(t){return i().removeItem(t)},clearAll:function(){return i().clear()}}},8195:function(t,e,n){"use strict";var r=n("c687"),i=n("a22c"),o=n("163f"),a=n("371f"),s=n("f55f"),c=n("235f"),u=n("5674"),l=n("3a73"),h=n("7e5b"),f=n("2e39"),d=n("8ea6"),p=n("5b57"),m=n("79e6"),g=n("5c4a"),v=n("a2f4"),y=n("fde0"),_=n("b51b"),x=y.UNSUPPORTED_Y,b=4294967295,w=Math.min,M=[].push,S=o(/./.exec),A=o(M),C=o("".slice);a("split",(function(t,e,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=d(u(this)),a=void 0===n?b:n>>>0;if(0===a)return[];if(void 0===t)return[o];if(!s(t))return i(e,o,t,a);for(var c,l,h,f=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,y=new RegExp(t.source,p+"g");(c=i(v,y,o))&&!((l=y.lastIndex)>g&&(A(f,C(o,g,c.index)),c.length>1&&c.index<o.length&&r(M,f,m(c,1)),h=c[0].length,g=l,f.length>=a));)y.lastIndex===c.index&&y.lastIndex++;return g===o.length?!h&&S(y,"")||A(f,""):A(f,C(o,g)),f.length>a?m(f,0,a):f}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:i(e,this,t,n)}:e,[function(e,n){var r=u(this),a=null==e?void 0:p(e,t);return a?i(a,e,r,n):i(o,d(r),e,n)},function(t,r){var i=c(this),a=d(t),s=n(o,i,a,r,o!==e);if(s.done)return s.value;var u=l(i,RegExp),p=i.unicode,m=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(x?"g":"y"),v=new u(x?"^(?:"+i.source+")":i,m),y=void 0===r?b:r>>>0;if(0===y)return[];if(0===a.length)return null===g(v,a)?[a]:[];for(var _=0,M=0,S=[];M<a.length;){v.lastIndex=x?0:M;var E,T=g(v,x?C(a,M):a);if(null===T||(E=w(f(v.lastIndex+(x?M:0)),a.length))===_)M=h(a,M,p);else{if(A(S,C(a,_,M)),S.length===y)return S;for(var I=1;I<=T.length-1;I++)if(A(S,T[I]),S.length===y)return S;M=_=E}}return A(S,C(a,_)),S}]}),!!_((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),x)},8219:function(t,e,n){"use strict";var r=n("0b28").IteratorPrototype,i=n("3ab7"),o=n("33cb"),a=n("1c6e"),s=n("f9aa"),c=function(){return this};t.exports=function(t,e,n,u){var l=e+" Iterator";return t.prototype=i(r,{next:o(+!u,n)}),a(t,l,!1,!0),s[l]=c,t}},"82c6":function(t,e,n){var r=n("1cba"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},8444:function(t,e,n){var r=n("5a28"),i=n("9699");t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},"854c":function(t,e,n){var r=n("fcde"),i=n("521d"),o=n("7970").f,a=n("79e6"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"==r(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},8727:function(t,e,n){"use strict";var r=n("5d20"),i=n("aee5").find,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},8745:function(t,e,n){"use strict";var r=n("6dd3"),i=n("163f"),o=n("6b26"),a=n("ed2b"),s=n("1de0"),c=n("8ea6"),u=n("b51b"),l=n("959d"),h=n("7718"),f=n("e8c5"),d=n("aa9c"),p=n("3e77"),m=n("be4f"),g=[],v=i(g.sort),y=i(g.push),_=u((function(){g.sort(void 0)})),x=u((function(){g.sort(null)})),b=h("sort"),w=!u((function(){if(p)return p<70;if(!(f&&f>3)){if(d)return!0;if(m)return m<603;var t,e,n,r,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)g.push({k:e+r,v:n})}for(g.sort((function(t,e){return e.v-t.v})),r=0;r<g.length;r++)e=g[r].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}})),M=function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:c(e)>c(n)?1:-1}};r({target:"Array",proto:!0,forced:_||!x||!b||!w},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(w)return void 0===t?v(e):v(e,t);var n,r,i=[],c=s(e);for(r=0;r<c;r++)r in e&&y(i,e[r]);for(l(i,M(t)),n=i.length,r=0;r<n;)e[r]=i[r++];for(;r<c;)delete e[r++];return e}})},"88f2":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAYAAAAx8TU7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA0ppVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RTM3QjEyRDNBOTZDMTFFNUE2QTA4M0M3MDI4QUVDMTQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RTM3QjEyRDJBOTZDMTFFNUE2QTA4M0M3MDI4QUVDMTQiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo3ZmI2MGZkMi1hOTZjLTExZTUtYWU4Yi1kYzQ2ODQxNzA1ZmIiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo3ZmI2MGZkMi1hOTZjLTExZTUtYWU4Yi1kYzQ2ODQxNzA1ZmIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4r2gBAAAAASklEQVR42mL4////HCBmB2IGGAYRIHACiKXRBUHgORBbgwQZ/4Ol4OA3EOcxMaCCf2AJJO1PgNgC2cyjQCyJbNEMIGZDdhJAgAEACP9sQulYHrwAAAAASUVORK5CYII="},"891d":function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},"8afd":function(t,e,n){"use strict";var r=n("6dd3"),i=n("054f");r({target:"String",proto:!0,forced:n("eeef")("sub")},{sub:function(){return i(this,"sub","","")}})},"8b15":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("d072");e.SpriteText2D=r.SpriteText2D;var i=n("b34b");e.MeshText2D=i.MeshText2D;var o=n("138f");e.textAlign=o.textAlign},"8d89":function(t,e,n){var r=n("3d1e"),i=n("f9aa"),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},"8e24":function(t,e,n){var r=n("b51b");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"8e6c":function(t,e,n){var r=n("163f"),i=n("2c81"),o=n("8ea6"),a=n("5674"),s=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(t){return function(e,n){var r,l,h=o(a(e)),f=i(n),d=h.length;return f<0||f>=d?t?"":void 0:(r=c(h,f))<55296||r>56319||f+1===d||(l=c(h,f+1))<56320||l>57343?t?s(h,f):r:t?u(h,f,f+2):l-56320+(r-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},"8ea6":function(t,e,n){var r=n("9699"),i=n("d0b1"),o=r.String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},"906c":function(t,e,n){var r=n("163f");t.exports=r([].slice)},9090:function(t,e,n){var r=n("8e24"),i=n("dcc6"),o=n("235f"),a=n("521d"),s=n("77bb");t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=a(e),c=s(e),u=c.length,l=0;u>l;)i.f(t,n=c[l++],r[n]);return t}},9091:function(t,e,n){"use strict";var r=n("ed2b"),i=n("03e9"),o=n("1de0");t.exports=function(t){for(var e=r(this),n=o(e),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);u>s;)e[s++]=t;return e}},9192:function(t,e,n){var r=n("3a40"),i=r.Global,o=r.trim;t.exports={name:"cookieStorage",read:function(t){if(!t||!u(t))return null;var e="(?:^|.*;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(e),"$1"))},write:function(t,e){t&&(a.cookie=escape(t)+"="+escape(e)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")},each:s,remove:c,clearAll:function(){s((function(t,e){c(e)}))}};var a=i.document;function s(t){for(var e=a.cookie.split(/; ?/g),n=e.length-1;n>=0;n--)if(o(e[n])){var r=e[n].split("="),i=unescape(r[0]);t(unescape(r[1]),i)}}function c(t){t&&u(t)&&(a.cookie=escape(t)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function u(t){return new RegExp("(?:^|;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},"91c5":function(t,e,n){var r=n("9699"),i=n("f55f"),o=r.TypeError;t.exports=function(t){if(i(t))throw o("The method doesn't accept regular expressions");return t}},"91e5":function(t,e,n){var r=n("6dd3"),i=n("5f7f").entries;r({target:"Object",stat:!0},{entries:function(t){return i(t)}})},"93b0":function(t,e,n){var r=n("a1a8"),i=n("e505"),o=n("7203"),a=n("5cb9"),s=n("88f2"),c=n("3471"),u=n("2a97"),l=n("a91d"),h=n("7f8c"),f=n("fc50"),d=n("aa5a");e=r(!1);var p=i(o),m=i(a),g=i(s),v=i(c),y=i(u),_=i(l),x=i(h),b=i(f),w=i(d);e.push([t.i,".maptalks-zoom{text-align:center}.maptalks-zoom .maptalks-zoom-zoomlevel{display:block;width:29px;height:29px;background:#172029;color:#fff;line-height:29px;font-size:12px;transform:scale(.8);-ms-transform:scale(.8);transform-origin:bottom left;-ms-transform-origin:bottom left}.maptalks-zoom-slider{margin-top:6px}.maptalks-zoom-slider a.maptalks-zoom-zoomin,.maptalks-zoom-slider a.maptalks-zoom-zoomout{display:block;font-size:16px;width:21px;height:21px;border:1px solid #363539;background:#172029;color:#fff;line-height:19px;text-decoration:none}.maptalks-zoom-slider-box{width:21px;height:124px;background:#34495e;background:url("+p+") repeat-y;border:1px solid #35383b;position:relative}.maptalks-zoom-slider-box .maptalks-zoom-slider-ruler{width:5px;height:112px;background:#372e2b;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;margin:4px auto;position:relative}.maptalks-zoom-slider-box .maptalks-zoom-slider-ruler .maptalks-zoom-slider-reading{width:5px;height:50%;position:absolute;bottom:0;left:0;background:#1bbc9b;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px}.maptalks-zoom-slider-box .maptalks-zoom-slider-dot{width:15px;height:15px;background:url("+m+") no-repeat;position:absolute;top:50%;left:3px;cursor:pointer}.maptalks-toolbar-vertical{margin:0;overflow:visible}.maptalks-toolbar-horizonal ul,.maptalks-toolbar-vertical ul{margin:0;padding:0}.maptalks-toolbar-vertical ul li+li{border-top:1px solid #425568}.maptalks-toolbar-vertical li{text-align:center;list-style:none;line-height:28px;color:#fff;background:#34495e;min-width:10px;min-height:28px;position:relative;padding:0 10px}.maptalks-toolbar-vertical li:hover{background:#1bbc9b}.maptalks-toolbar-vertical li .maptalks-dropMenu{padding:0;position:absolute;top:0;overflow:visible}.maptalks-toolbar-vertical li .maptalks-dropMenu li{list-style:none;min-width:95px;background:#223140;height:27px}.maptalks-toolbar-vertical li .maptalks-dropMenu li a{color:#fff;display:block;line-height:27px;background:url("+g+") no-repeat 14px 10px;text-indent:33px;text-decoration:none;font-size:12px}.maptalks-toolbar-vertical li .maptalks-dropMenu em.maptalks-ico{display:block;width:5px;height:6px;position:absolute;top:12px;right:-4px}.maptalks-toolbar-vertical li .maptalks-dropMenu li.maptalks-on,.maptalks-toolbar-vertical li .maptalks-dropMenu li:hover{background:#0e595e}.maptalks-toolbar-horizonal{margin:0;overflow:visible}.maptalks-toolbar-horizonal li{text-align:left;line-height:28px;color:#fff;padding:0 10px;list-style:none;min-width:28px;min-height:28px;float:left;background:#34495e;position:relative}.maptalks-toolbar-horizonal ul li+li{border-left:1px solid #425568}.maptalks-toolbar-horizonal li:hover{background:#1bbc9b}.maptalks-toolbar-horizonal li .maptalks-dropMenu{display:block;position:absolute;left:0;overflow:visible}.maptalks-toolbar-horizonal li .maptalks-dropMenu li{list-style:none;min-width:95px;background:#223140;height:27px}.maptalks-toolbar-horizonal li .maptalks-dropMenu li+li{border-left:none;border-top:1px solid #425568}.maptalks-toolbar-horizonal li .maptalks-dropMenu li a{color:#fff;display:block;line-height:27px;background:url("+g+") no-repeat 5px 10px;text-indent:20px;text-decoration:none;font-size:12px}.maptalks-toolbar-horizonal li .maptalks-dropMenu em.maptalks-ico{display:block;width:5px;height:6px;position:absolute;top:-4px;left:12px}.maptalks-toolbar-horizonal .maptalks-dropMenu li:hover{background:#0e595e}.maptalks-menu{background:#fff;padding:1px;width:172px;border:1px solid #b4b3b3}.maptalks-menu em.maptalks-ico{display:block;width:17px;height:10px;background:url("+v+") no-repeat;position:absolute;top:-10px;left:8px}.maptalks-menu .maptalks-menu-items{color:#5a5756;margin:0;padding:0;font-size:12px}.maptalks-menu .maptalks-menu-items li{list-style:none;height:30px;line-height:30px;text-indent:16px}.maptalks-menu .maptalks-menu-items li:hover{background:#007fbe;color:#fff;cursor:pointer}.maptalks-menu .maptalks-menu-items li.maptalks-menu-splitter{list-style:none;height:2px;background:#ddd}.maptalks-msgBox{background:#fff;border:1px solid #b4b3b3;border-radius:3px}.maptalks-msgBox em.maptalks-ico{display:block;width:17px;height:10px;background:url("+y+") no-repeat;position:absolute;left:50%;margin-left:-5px;bottom:-10px}.maptalks-msgBox h2{display:block;height:30px;line-height:30px;font-weight:700;font-size:14px;padding:0 10px;margin:0}.maptalks-msgBox a.maptalks-close{display:block;width:13px;height:13px;background:url("+_+") no-repeat;position:absolute;top:8px;right:10px}.maptalks-msgBox a.maptalks-close:hover{background:url("+x+") no-repeat}.maptalks-msgBox .maptalks-msgContent{font-size:12px;padding:10px;min-width:200px}.maptalks-panel{background:#fff;border:1px solid #b4b3b3;border-radius:3px}.maptalks-panel .maptalks-panel-content{padding:10px;min-width:200px;min-height:60px}.maptalks-panel a.maptalks-close{display:block;width:6px;height:7px;background:url("+b+") no-repeat;position:absolute;top:10px;right:10px}.maptalks-panel a.maptalks-close:hover{opacity:.5}.maptalks-attribution{display:inline-block;opacity:1;background:#fff;background-color:hsla(0,0%,100%,.7);padding:0;font-size:13px;font-family:microsoft yahei,Helvetica Neue,Helvetica,sans-serif}.maptalks-attribution a{text-decoration:none;color:#0078a8}.maptalks-attribution a:hover{text-decoration:underline}.maptalks-overview{background:#fff;border:1px solid #b4b3b3;width:100%;height:100%}.maptalks-overview-button{cursor:pointer;background:#fff;width:18px;height:18px;position:absolute;bottom:1px;right:1px;font:16px sans-serif;text-align:center;line-height:16px;border:1px solid #b4b3b3;color:#363539}.maptalks-layer-switcher ul{list-style:none}.maptalks-layer-switcher .panel>ul{padding-left:1em}.maptalks-layer-switcher .group>ul{padding-left:10px}.maptalks-layer-switcher .group+.group{padding-top:1em}.maptalks-layer-switcher label{text-overflow:ellipsis;overflow:hidden;display:inline-block;font-size:14px;white-space:nowrap;color:#bbb}.maptalks-layer-switcher .group>label{font-weight:700;color:#ddd;width:100%}.maptalks-layer-switcher .layer label{padding-top:5px;width:92%}.maptalks-layer-switcher input{margin:0 5px;position:relative;top:-2px}.maptalks-layer-switcher input[disabled=disabled]{cursor:not-allowed}.maptalks-layer-switcher input[disabled=disabled]+label{color:#666}.maptalks-layer-switcher .panel,.maptalks-layer-switcher button{border-radius:4px}.maptalks-layer-switcher button{width:28px;height:28px;background:url("+w+") no-repeat 4px 4px;background-color:#172029;border:none}.maptalks-layer-switcher.shown button{display:none}.maptalks-layer-switcher .panel{background-color:#172029;display:none;overflow-y:auto;overflow-x:hidden;min-width:120px;max-width:400px;max-height:500px}.maptalks-layer-switcher li{white-space:nowrap}.maptalks-layer-switcher li.group{margin-right:1em}.maptalks-layer-switcher.shown .panel{display:block}.maptalks-layer-switcher ::-webkit-scrollbar{width:6px}.maptalks-layer-switcher ::-webkit-scrollbar-track{background-color:#1f1f1f}.maptalks-layer-switcher ::-webkit-scrollbar-thumb{border-radius:5px;background-color:#777}.maptalks-tooltip{display:block;background:#fff;border:1px solid #b4b3b3;padding:0 4px;height:24px;line-height:24px;font-size:14px;white-space:nowrap}",""]),t.exports=e},"93b5":function(t,e,n){"use strict";n("5810")},9535:function(t,e,n){"use strict";var r=n("5d20"),i=r.aTypedArray,o=r.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){for(var t,e=this,n=i(e).length,r=a(n/2),o=0;o<r;)t=e[o],e[o++]=e[--n],e[n]=t;return e}))},"959d":function(t,e,n){var r=n("79e6"),i=Math.floor,o=function(t,e){var n=t.length,c=i(n/2);return n<8?a(t,e):s(t,o(r(t,0,c),e),o(r(t,c),e),e)},a=function(t,e){for(var n,r,i=t.length,o=1;o<i;){for(r=o,n=t[o];r&&e(t[r-1],n)>0;)t[r]=t[--r];r!==o++&&(t[r]=n)}return t},s=function(t,e,n,r){for(var i=e.length,o=n.length,a=0,s=0;a<i||s<o;)t[a+s]=a<i&&s<o?r(e[a],n[s])<=0?e[a++]:n[s++]:a<i?e[a++]:n[s++];return t};t.exports=o},9699:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("2409"))},"96a7":function(t,e,n){"use strict";n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return c}));var r=6371008.8,i={centimeters:100*r,centimetres:100*r,degrees:r/111325,feet:3.28084*r,inches:39.37*r,kilometers:r/1e3,kilometres:r/1e3,meters:r,metres:r,miles:r/1609.344,millimeters:1e3*r,millimetres:1e3*r,nauticalmiles:r/1852,radians:1,yards:1.0936*r};function o(t,e){void 0===e&&(e="kilometers");var n=i[e];if(!n)throw new Error(e+" units is invalid");return t*n}function a(t){return t%(2*Math.PI)*180/Math.PI}function s(t){return t%360*Math.PI/180}function c(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)}},9801:function(t,e,n){var r=n("e1f6");t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},"9afc":function(t,e,n){var r=n("6dd3"),i=n("9699"),o=n("1c6e");r({global:!0},{Reflect:{}}),o(i.Reflect,"Reflect",!0)},"9b2d":function(t,e,n){var r=n("a7fe"),i=n("cbe4"),o=[n("e280")];t.exports=r.createStore(i,o)},"9b46":function(t,e,n){var r=n("b51b"),i=n("3d1e"),o=n("3e77"),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"9cb3":function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return r})),n("1cb1")},"9def":function(t,e,n){"use strict";(t.exports={}).forEach=function(t,e){for(var n=0;n<t.length;n++){var r=e(t[n]);if(r)return r}}},"9edc":function(t,e,n){var r=n("9699"),i=n("14b4"),o=n("b8fb"),a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not a constructor")}},a0a7:function(t,e,n){"use strict";var r=n("9699"),i=n("b51b"),o=n("163f"),a=n("5d20"),s=n("bca7"),c=n("3d1e")("iterator"),u=r.Uint8Array,l=o(s.values),h=o(s.keys),f=o(s.entries),d=a.aTypedArray,p=a.exportTypedArrayMethod,m=u&&u.prototype,g=!i((function(){m[c].call([1])})),v=!!m&&m.values&&m[c]===m.values&&"values"===m.values.name,y=function(){return l(d(this))};p("entries",(function(){return f(d(this))}),g),p("keys",(function(){return h(d(this))}),g),p("values",y,g||!v,{name:"values"}),p(c,y,g||!v,{name:"values"})},a0df:function(t,e,n){var r=n("9699"),i=n("1a30"),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},a10d:function(t,e,n){"use strict";t.exports=function(t){function e(){}var n={log:e,warn:e,error:e};if(!t&&window.console){var r=function(t,e){t[e]=function(){var t=console[e];if(t.apply)t.apply(console,arguments);else for(var n=0;n<arguments.length;n++)t(arguments[n])}};r(n,"log"),r(n,"warn"),r(n,"error")}return n}},a1a8:function(t,e,n){"use strict";function r(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=function(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}(r),o=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(o).concat([i]).join("\n")}return[n].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=r(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<t.length;s++){var c=[].concat(t[s]);r&&i[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},a22c:function(t,e){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},a2b0:function(t,e,n){"use strict";var r=n("9699"),i=n("4a15"),o=n("1de0"),a=n("4f4c"),s=r.TypeError,c=function(t,e,n,r,u,l,h,f){for(var d,p,m=u,g=0,v=!!h&&a(h,f);g<r;){if(g in n){if(d=v?v(n[g],g,e):n[g],l>0&&i(d))p=o(d),m=c(t,e,d,p,m,l-1)-1;else{if(m>=9007199254740991)throw s("Exceed the acceptable array length");t[m]=d}m++}g++}return m};t.exports=c},a2f4:function(t,e,n){"use strict";var r=n("a22c"),i=n("163f"),o=n("8ea6"),a=n("40ac"),s=n("fde0"),c=n("2d62"),u=n("3ab7"),l=n("647c").get,h=n("f4f5"),f=n("c2d5"),d=c("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,m=p,g=i("".charAt),v=i("".indexOf),y=i("".replace),_=i("".slice),x=function(){var t=/a/,e=/b*/g;return r(p,t,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),b=s.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];(x||w||b||h||f)&&(m=function(t){var e,n,i,s,c,h,f,M=this,S=l(M),A=o(t),C=S.raw;if(C)return C.lastIndex=M.lastIndex,e=r(m,C,A),M.lastIndex=C.lastIndex,e;var E=S.groups,T=b&&M.sticky,I=r(a,M),L=M.source,P=0,R=A;if(T&&(I=y(I,"y",""),-1===v(I,"g")&&(I+="g"),R=_(A,M.lastIndex),M.lastIndex>0&&(!M.multiline||M.multiline&&"\n"!==g(A,M.lastIndex-1))&&(L="(?: "+L+")",R=" "+R,P++),n=new RegExp("^(?:"+L+")",I)),w&&(n=new RegExp("^"+L+"$(?!\\s)",I)),x&&(i=M.lastIndex),s=r(p,T?n:M,R),T?s?(s.input=_(s.input,P),s[0]=_(s[0],P),s.index=M.lastIndex,M.lastIndex+=s[0].length):M.lastIndex=0:x&&s&&(M.lastIndex=M.global?s.index+s[0].length:i),w&&s&&s.length>1&&r(d,s[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(s[c]=void 0)})),s&&E)for(s.groups=h=u(null),c=0;c<E.length;c++)h[(f=E[c])[0]]=s[f[1]];return s}),t.exports=m},a421:function(t,e,n){"use strict";var r=n("9def").forEach;t.exports=function(t){var e=(t=t||{}).reporter,n=t.batchProcessor,i=t.stateHandler.getState,o=(t.stateHandler.hasState,t.idHandler);if(!n)throw new Error("Missing required dependency: batchProcessor");if(!e)throw new Error("Missing required dependency: reporter.");var a=function(){var t=500,e=500,n=document.createElement("div");n.style.cssText=u(["position: absolute","width: 1000px","height: 1000px","visibility: hidden","margin: 0","padding: 0"]);var r=document.createElement("div");r.style.cssText=u(["position: absolute","width: 500px","height: 500px","overflow: scroll","visibility: none","top: -1500px","left: -1500px","visibility: hidden","margin: 0","padding: 0"]),r.appendChild(n),document.body.insertBefore(r,document.body.firstChild);var i=t-r.clientWidth,o=e-r.clientHeight;return document.body.removeChild(r),{width:i,height:o}}(),s="erd_scroll_detection_container";function c(t){!function(t,e,n){if(!t.getElementById(e)){var r=n+"_animation",i=n+"_animation_active",o="/* Created by the element-resize-detector library. */\n";o+="."+n+" > div::-webkit-scrollbar { "+u(["display: none"])+" }\n\n",o+="."+i+" { "+u(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+r,"animation-name: "+r])+" }\n",o+="@-webkit-keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",function(n,r){r=r||function(e){t.head.appendChild(e)};var i=t.createElement("style");i.innerHTML=n,i.id=e,r(i)}(o+="@keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}(t,"erd_scroll_detection_scrollbar_style",s)}function u(e){var n=t.important?" !important; ":"; ";return(e.join(n)+n).trim()}function l(t,n,r){if(t.addEventListener)t.addEventListener(n,r);else{if(!t.attachEvent)return e.error("[scroll] Don't know how to add event listeners.");t.attachEvent("on"+n,r)}}function h(t,n,r){if(t.removeEventListener)t.removeEventListener(n,r);else{if(!t.detachEvent)return e.error("[scroll] Don't know how to remove event listeners.");t.detachEvent("on"+n,r)}}function f(t){return i(t).container.childNodes[0].childNodes[0].childNodes[0]}function d(t){return i(t).container.childNodes[0].childNodes[0].childNodes[1]}return c(window.document),{makeDetectable:function(t,c,h){function p(){if(t.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(o.get(c),"Scroll: "),e.log.apply)e.log.apply(null,n);else for(var r=0;r<n.length;r++)e.log(n[r])}}function m(t){var e=i(t).container.childNodes[0],n=window.getComputedStyle(e);return!n.width||-1===n.width.indexOf("px")}function g(){var t=window.getComputedStyle(c),e={};return e.position=t.position,e.width=c.offsetWidth,e.height=c.offsetHeight,e.top=t.top,e.right=t.right,e.bottom=t.bottom,e.left=t.left,e.widthCSS=t.width,e.heightCSS=t.height,e}function v(){if(p("storeStyle invoked."),i(c)){var t=g();i(c).style=t}else p("Aborting because element has been uninstalled")}function y(t,e,n){i(t).lastWidth=e,i(t).lastHeight=n}function _(){return 2*a.width+1}function x(){return 2*a.height+1}function b(t){return t+10+_()}function w(t){return t+10+x()}function M(t,e,n){var r=f(t),i=d(t),o=b(e),a=w(n),s=function(t){return 2*t+_()}(e),c=function(t){return 2*t+x()}(n);r.scrollLeft=o,r.scrollTop=a,i.scrollLeft=s,i.scrollTop=c}function S(){var t=i(c).container;if(!t){(t=document.createElement("div")).className=s,t.style.cssText=u(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),i(c).container=t,function(t){t.className+=" "+s+"_animation_active"}(t),c.appendChild(t);var e=function(){i(c).onRendered&&i(c).onRendered()};l(t,"animationstart",e),i(c).onAnimationStart=e}return t}function A(){if(p("Injecting elements"),i(c)){!function(){var n=i(c).style;if("static"===n.position){c.style.setProperty("position","relative",t.important?"important":"");var r=function(t,e,n,r){var i=n[r];"auto"!==i&&"0"!==function(t){return t.replace(/[^-\d\.]/g,"")}(i)&&(t.warn("An element that is positioned static has style."+r+"="+i+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",e),e.style[r]=0)};r(e,c,n,"top"),r(e,c,n,"right"),r(e,c,n,"bottom"),r(e,c,n,"left")}}();var n=i(c).container;n||(n=S());var r=a.width,o=a.height,h=u(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),f=u(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(function(t,e,n,r){return["left: "+(t=t?t+"px":"0"),"top: "+(e=e?e+"px":"0"),"right: "+(r=r?r+"px":"0"),"bottom: "+(n=n?n+"px":"0")]}(-(1+r),-(1+o),-o,-r))),d=u(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),m=u(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),g=u(["position: absolute","left: 0","top: 0"]),v=u(["position: absolute","width: 200%","height: 200%"]),y=document.createElement("div"),_=document.createElement("div"),x=document.createElement("div"),b=document.createElement("div"),w=document.createElement("div"),M=document.createElement("div");y.dir="ltr",y.style.cssText=h,y.className=s,_.className=s,_.style.cssText=f,x.style.cssText=d,b.style.cssText=g,w.style.cssText=m,M.style.cssText=v,x.appendChild(b),w.appendChild(M),_.appendChild(x),_.appendChild(w),y.appendChild(_),n.appendChild(y),l(x,"scroll",A),l(w,"scroll",C),i(c).onExpandScroll=A,i(c).onShrinkScroll=C}else p("Aborting because element has been uninstalled");function A(){var t=i(c);t&&t.onExpand?t.onExpand():p("Aborting expand scroll handler: element has been uninstalled")}function C(){var t=i(c);t&&t.onShrink?t.onShrink():p("Aborting shrink scroll handler: element has been uninstalled")}}function C(){function a(e,n,r){var i=function(t){return f(t).childNodes[0]}(e),o=b(n),a=w(r);i.style.setProperty("width",o+"px",t.important?"important":""),i.style.setProperty("height",a+"px",t.important?"important":"")}function s(r){var s=c.offsetWidth,l=c.offsetHeight,h=s!==i(c).lastWidth||l!==i(c).lastHeight;p("Storing current size",s,l),y(c,s,l),n.add(0,(function(){if(h)if(i(c))if(u()){if(t.debug){var n=c.offsetWidth,r=c.offsetHeight;n===s&&r===l||e.warn(o.get(c),"Scroll: Size changed before updating detector elements.")}a(c,s,l)}else p("Aborting because element container has not been initialized");else p("Aborting because element has been uninstalled")})),n.add(1,(function(){i(c)?u()?M(c,s,l):p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")})),h&&r&&n.add(2,(function(){i(c)?u()?r():p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")}))}function u(){return!!i(c).container}function l(){p("notifyListenersIfNeeded invoked");var t=i(c);return void 0===i(c).lastNotifiedWidth&&t.lastWidth===t.startSize.width&&t.lastHeight===t.startSize.height?p("Not notifying: Size is the same as the start size, and there has been no notification yet."):t.lastWidth===t.lastNotifiedWidth&&t.lastHeight===t.lastNotifiedHeight?p("Not notifying: Size already notified"):(p("Current size not notified, notifying..."),t.lastNotifiedWidth=t.lastWidth,t.lastNotifiedHeight=t.lastHeight,void r(i(c).listeners,(function(t){t(c)})))}function h(){p("Scroll detected."),m(c)?p("Scroll event fired while unrendered. Ignoring..."):s(l)}if(p("registerListenersAndPositionElements invoked."),i(c)){i(c).onRendered=function(){if(p("startanimation triggered."),m(c))p("Ignoring since element is still unrendered...");else{p("Element rendered.");var t=f(c),e=d(c);0!==t.scrollLeft&&0!==t.scrollTop&&0!==e.scrollLeft&&0!==e.scrollTop||(p("Scrollbars out of sync. Updating detector elements..."),s(l))}},i(c).onExpand=h,i(c).onShrink=h;var g=i(c).style;a(c,g.width,g.height)}else p("Aborting because element has been uninstalled")}function E(){if(p("finalizeDomMutation invoked."),i(c)){var t=i(c).style;y(c,t.width,t.height),M(c,t.width,t.height)}else p("Aborting because element has been uninstalled")}function T(){h(c)}function I(){p("Installing..."),i(c).listeners=[],function(){var t=g();i(c).startSize={width:t.width,height:t.height},p("Element start size",i(c).startSize)}(),n.add(0,v),n.add(1,A),n.add(2,C),n.add(3,E),n.add(4,T)}h||(h=c,c=t,t=null),t=t||{},p("Making detectable..."),function(t){return!function(t){var e=t.getRootNode&&t.getRootNode().contains(t);return t===t.ownerDocument.body||t.ownerDocument.body.contains(t)||e}(t)||null===window.getComputedStyle(t)}(c)?(p("Element is detached"),S(),p("Waiting until element is attached..."),i(c).onRendered=function(){p("Element is now attached"),I()}):I()},addListener:function(t,e){if(!i(t).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");i(t).listeners.push(e)},uninstall:function(t){var e=i(t);e&&(e.onExpandScroll&&h(f(t),"scroll",e.onExpandScroll),e.onShrinkScroll&&h(d(t),"scroll",e.onShrinkScroll),e.onAnimationStart&&h(e.container,"animationstart",e.onAnimationStart),e.container&&t.removeChild(e.container))},initDocument:c}}},a504:function(t,e,n){"use strict";var r=n("9def").forEach,i=n("71f5"),o=n("ccb2"),a=n("c419"),s=n("02c5"),c=n("a10d"),u=n("ecff"),l=n("b0d6"),h=n("152f"),f=n("64c3"),d=n("a421");function p(t){return Array.isArray(t)||void 0!==t.length}function m(t){if(Array.isArray(t))return t;var e=[];return r(t,(function(t){e.push(t)})),e}function g(t){return t&&1===t.nodeType}function v(t,e,n){var r=t[e];return null!=r||void 0===n?r:n}t.exports=function(t){var e;if((t=t||{}).idHandler)e={get:function(e){return t.idHandler.get(e,!0)},set:t.idHandler.set};else{var n=a(),y=s({idGenerator:n,stateHandler:h});e=y}var _=t.reporter;_||(_=c(!1===_));var x=v(t,"batchProcessor",l({reporter:_})),b={};b.callOnAdd=!!v(t,"callOnAdd",!0),b.debug=!!v(t,"debug",!1);var w,M=o(e),S=i({stateHandler:h}),A=v(t,"strategy","object"),C=v(t,"important",!1),E={reporter:_,batchProcessor:x,stateHandler:h,idHandler:e,important:C};if("scroll"===A&&(u.isLegacyOpera()?(_.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),A="object"):u.isIE(9)&&(_.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),A="object")),"scroll"===A)w=d(E);else{if("object"!==A)throw new Error("Invalid strategy name: "+A);w=f(E)}var T={};return{listenTo:function(t,n,i){function o(t){var e=M.get(t);r(e,(function(e){e(t)}))}function a(t,e,n){M.add(e,n),t&&n(e)}if(i||(i=n,n=t,t={}),!n)throw new Error("At least one element required.");if(!i)throw new Error("Listener required.");if(g(n))n=[n];else{if(!p(n))return _.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");n=m(n)}var s=0,c=v(t,"callOnAdd",b.callOnAdd),u=v(t,"onReady",(function(){})),l=v(t,"debug",b.debug);r(n,(function(t){h.getState(t)||(h.initState(t),e.set(t));var f=e.get(t);if(l&&_.log("Attaching listener to element",f,t),!S.isDetectable(t))return l&&_.log(f,"Not detectable."),S.isBusy(t)?(l&&_.log(f,"System busy making it detectable"),a(c,t,i),T[f]=T[f]||[],void T[f].push((function(){++s===n.length&&u()}))):(l&&_.log(f,"Making detectable..."),S.markBusy(t,!0),w.makeDetectable({debug:l,important:C},t,(function(t){if(l&&_.log(f,"onElementDetectable"),h.getState(t)){S.markAsDetectable(t),S.markBusy(t,!1),w.addListener(t,o),a(c,t,i);var e=h.getState(t);if(e&&e.startSize){var d=t.offsetWidth,p=t.offsetHeight;e.startSize.width===d&&e.startSize.height===p||o(t)}T[f]&&r(T[f],(function(t){t()}))}else l&&_.log(f,"Element uninstalled before being detectable.");delete T[f],++s===n.length&&u()})));l&&_.log(f,"Already detecable, adding listener."),a(c,t,i),s++})),s===n.length&&u()},removeListener:M.removeListener,removeAllListeners:M.removeAllListeners,uninstall:function(t){if(!t)return _.error("At least one element is required.");if(g(t))t=[t];else{if(!p(t))return _.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");t=m(t)}r(t,(function(t){M.removeAllListeners(t),w.uninstall(t),h.cleanState(t)}))},initDocument:function(t){w.initDocument&&w.initDocument(t)}}}},a625:function(t,e,n){var r=n("9699"),i=n("4c74"),o=n("e1f6"),a=n("ed2b"),s=n("085d"),c=n("0b7c"),u=s("IE_PROTO"),l=r.Object,h=l.prototype;t.exports=c?l.getPrototypeOf:function(t){var e=a(t);if(i(e,u))return e[u];var n=e.constructor;return o(n)&&e instanceof n?n.prototype:e instanceof l?h:null}},a6a2:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n("3a92"),n("39dd"),n("1b03");var r={factor:{aqi:{unit:"",name:"AQI",colorMap:{"00e400":[0,50],ffff00:[50,100],ff7e00:[100,150],ff0000:[150,200],"99004c":[200,300],"7e0023":[300,500],"6e6e6e":[500]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},pm25:{unit:"μg/m³",name:"PM2.5",colorMap:{"00e400":[0,35],ffff00:[35,75],ff7e00:[75,115],ff0000:[115,150],"99004c":[150,250],"7e0023":[250,500],"7e0022":[500]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},pm10:{unit:"μg/m³",name:"PM10",colorMap:{"00e400":[0,50],ffff00:[50,150],ff7e00:[150,250],ff0000:[250,350],"99004c":[350,420],"7e0023":[420,600],"7e0022":[600]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},so2:{unit:"μg/m³",name:"SO₂",colorMap:{"00e400":[0,50],ffff00:[50,150],ff7e00:[150,475],ff0000:[475,800],"99004c":[800,1600],"7e0023":[1600,2620],"6e6e6e":[2620]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},no2:{unit:"μg/m³",name:"NO₂",colorMap:{"00e400":[0,40],ffff00:[40,80],ff7e00:[80,180],ff0000:[180,280],"99004c":[280,565],"7e0023":[565,940],"6e6e6e":[940]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},co:{unit:"mg/m³",name:"CO",colorMap:{"00e400":[0,2],ffff00:[2,4],ff7e00:[4,14],ff0000:[14,24],"99004c":[24,36],"7e0023":[36,60],"6e6e6e":[60]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},o3:{unit:"μg/m³",name:"O₃",colorMap:{"00e400":[0,100],ffff00:[100,160],ff7e00:[160,215],ff0000:[215,265],"99004c":[265,800],"7e0023":[800,1200],"6e6e6e":[1200]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},ci:{unit:"μg/m³",name:"CI",colorMap:{"00e400":[0,1.3],ffff00:[1.3,4],ff7e00:[4,8],ff0000:[8,12],"99004c":[12,20],"7e0023":[20]},degreeMap:{"00e400":"(优)",ffff00:"(良)",ff7e00:"(轻度)",ff0000:"(中度)","99004c":"(重度)","7e0023":"(严重)"}},tsp:{unit:"μg/m³",name:"TSP",colorMap:{"00e400":[0,120],ffff00:[120,300],ff7e00:[300,400],ff0000:[400,500],"99004c":[500,625],"7e0023":[625,3e3],"6e6e6e":[3e3]},degreeMap:{"00e400":"",ffff00:"",ff7e00:"",ff0000:"","99004c":"","7e0023":""}},voc:{unit:"mg/m³",name:"VOC",colorMap:{"00e400":[0,.19],ffff00:[.19,.59],ff7e00:[.59,1.79],ff0000:[1.79,2.29],"99004c":[2.29,3],"7e0023":[3]},degreeMap:{"00e400":"",ffff00:"",ff7e00:"",ff0000:"","99004c":"","7e0023":""}},temperature:{unit:"℃",name:"温度",colorMap:{"8274cc":[-40,-30],acb3e2:[-30,-20],"95d0d8":[-20,-10],"61afff":[-10,0],"87b922":[0,10],e5aa06:[10,20],e45914:[20,30],"8a2b0a":[30]},degreeMap:{"8274cc":"",acb3e2:"","95d0d8":"","61afff":"","87b922":"",e5aa06:"",e45914:"","8a2b0a":""}},humidity:{unit:"%",name:"湿度",colorMap:{c4be20:[0,20],c4be21:[20,40],"4fcb46":[40,60],"45afde":[60,80],"6661f1":[80]},degreeMap:{c4be20:"",c4be21:"","4fcb46":"","45afde":"","6661f1":""}},pressure:{unit:"Pa",name:"气压",colorMap:{"6493FF":[1,1e17]},degreeMap:{"6493FF":""}}},colorForValue:{"00e400":"优",ffff00:"良",ff7e00:"轻度",ff0000:"中度","99004c":"重度","7e0023":"严重","6e6e6e":"无"},colorForFont:{"#00e400":"#000","#ffff00":"#000","#ff7e00":"#fff","#ff0000":"#fff","#99004c":"#fff","#7e0023":"#fff","#6e6e6e":"#fff"},wind:{"东北⻛":[22.5,67.5],"东⻛":[67.5,112.5],"东南⻛":[112.5,157.5],"南⻛":[157.5,202.5],"⻄南⻛":[202.5,247.5],"⻄⻛":[247.5,292.5],"⻄北⻛":[292.5,337.5]},windLevel:{"0级":[0,.2],"1级":[.2,1.5],"2级":[1.5,3.3],"3级":[3.3,5.4],"4级":[5.4,7.9],"5级":[7.9,10.7],"6级":[10.7,13.8],"7级":[13.8,17.1],"8级":[17.1,20.7],"9级":[20.7,24.4],"10级":[24.4,28.4],"11级":[28.4,32.6]},windLevelZh:{"零级(⽆⻛)":[0,.2],"⼀级(软⻛)":[.2,1.5],"⼆级(轻⻛)":[1.5,3.3],"三级(微⻛)":[3.3,5.4],"四级(和⻛)":[5.4,7.9],"五级(劲⻛)":[7.9,10.7],"六级(强⻛)":[10.7,13.8],"七级(疾⻛)":[13.8,17.1],"⼋级(⼤⻛)":[17.1,20.7],"九级(烈⻛)":[20.7,24.4],"⼗级(狂⻛)":[24.4,28.4],"⼗⼀级(暴⻛)":[28.4,32.6]}},i=function(t,e){return r.colorForFont[function(t,e){if(!e)return"#8a97a0";var n=(r.factor[e]||r.factor[e.toLowerCase()]||{}).colorMap;if(!n)return"#8a97a0";for(var i in t=+t,n){if(1===n[i].length&&n[i][0]<t)return"#"+i;if(n[i][0]<t&&t<=n[i][1])return"#"+i}return"#8a97a0"}(t,e.toLowerCase())]}},a7fe:function(t,e,n){var r=n("3a40"),i=r.slice,o=r.pluck,a=r.each,s=r.bind,c=r.create,u=r.isList,l=r.isFunction,h=r.isObject;t.exports={createStore:d};var f={version:"2.0.12",enabled:!1,get:function(t,e){var n=this.storage.read(this._namespacePrefix+t);return this._deserialize(n,e)},set:function(t,e){return void 0===e?this.remove(t):(this.storage.write(this._namespacePrefix+t,this._serialize(e)),e)},remove:function(t){this.storage.remove(this._namespacePrefix+t)},each:function(t){var e=this;this.storage.each((function(n,r){t.call(e,e._deserialize(n),(r||"").replace(e._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(t){return this._namespacePrefix=="__storejs_"+t+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(t){this._addPlugin(t)},namespace:function(t){return d(this.storage,this.plugins,t)}};function d(t,e,n){n||(n=""),t&&!u(t)&&(t=[t]),e&&!u(e)&&(e=[e]);var r=n?"__storejs_"+n+"_":"",d=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var p=c({_namespacePrefix:r,_namespaceRegexp:d,_testStorage:function(t){try{var e="__storejs__test__";t.write(e,e);var n=t.read(e)===e;return t.remove(e),n}catch(t){return!1}},_assignPluginFnProp:function(t,e){var n=this[e];this[e]=function(){var e=i(arguments,0),r=this;function o(){if(n)return a(arguments,(function(t,n){e[n]=t})),n.apply(r,e)}var s=[o].concat(e);return t.apply(r,s)}},_serialize:function(t){return JSON.stringify(t)},_deserialize:function(t,e){if(!t)return e;var n="";try{n=JSON.parse(t)}catch(e){n=t}return void 0!==n?n:e},_addStorage:function(t){this.enabled||this._testStorage(t)&&(this.storage=t,this.enabled=!0)},_addPlugin:function(t){var e=this;if(u(t))a(t,(function(t){e._addPlugin(t)}));else if(!o(this.plugins,(function(e){return t===e}))){if(this.plugins.push(t),!l(t))throw new Error("Plugins must be function values that return objects");var n=t.call(this);if(!h(n))throw new Error("Plugins must return an object of function properties");a(n,(function(n,r){if(!l(n))throw new Error("Bad plugin property: "+r+" from plugin "+t.name+". Plugins should only return functions.");e._assignPluginFnProp(n,r)}))}},addStorage:function(t){(function(){var t="undefined"==typeof console?null:console;if(t){var e=t.warn?t.warn:t.log;e.apply(t,arguments)}})("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(t)}},f,{plugins:[]});return p.raw={},a(p,(function(t,e){l(t)&&(p.raw[e]=s(p,t))})),a(t,(function(t){p._addStorage(t)})),a(e,(function(t){p._addPlugin(t)})),p}},a91d:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAKN2lDQ1BzUkdCIElFQzYxOTY2LTIuMQAAeJydlndUU9kWh8+9N71QkhCKlNBraFICSA29SJEuKjEJEErAkAAiNkRUcERRkaYIMijggKNDkbEiioUBUbHrBBlE1HFwFBuWSWStGd+8ee/Nm98f935rn73P3Wfvfda6AJD8gwXCTFgJgAyhWBTh58WIjYtnYAcBDPAAA2wA4HCzs0IW+EYCmQJ82IxsmRP4F726DiD5+yrTP4zBAP+flLlZIjEAUJiM5/L42VwZF8k4PVecJbdPyZi2NE3OMErOIlmCMlaTc/IsW3z2mWUPOfMyhDwZy3PO4mXw5Nwn4405Er6MkWAZF+cI+LkyviZjg3RJhkDGb+SxGXxONgAoktwu5nNTZGwtY5IoMoIt43kA4EjJX/DSL1jMzxPLD8XOzFouEiSniBkmXFOGjZMTi+HPz03ni8XMMA43jSPiMdiZGVkc4XIAZs/8WRR5bRmyIjvYODk4MG0tbb4o1H9d/JuS93aWXoR/7hlEH/jD9ld+mQ0AsKZltdn6h21pFQBd6wFQu/2HzWAvAIqyvnUOfXEeunxeUsTiLGcrq9zcXEsBn2spL+jv+p8Of0NffM9Svt3v5WF485M4knQxQ143bmZ6pkTEyM7icPkM5p+H+B8H/nUeFhH8JL6IL5RFRMumTCBMlrVbyBOIBZlChkD4n5r4D8P+pNm5lona+BHQllgCpSEaQH4eACgqESAJe2Qr0O99C8ZHA/nNi9GZmJ37z4L+fVe4TP7IFiR/jmNHRDK4ElHO7Jr8WgI0IABFQAPqQBvoAxPABLbAEbgAD+ADAkEoiARxYDHgghSQAUQgFxSAtaAYlIKtYCeoBnWgETSDNnAYdIFj4DQ4By6By2AE3AFSMA6egCnwCsxAEISFyBAVUod0IEPIHLKFWJAb5AMFQxFQHJQIJUNCSAIVQOugUqgcqobqoWboW+godBq6AA1Dt6BRaBL6FXoHIzAJpsFasBFsBbNgTzgIjoQXwcnwMjgfLoK3wJVwA3wQ7oRPw5fgEVgKP4GnEYAQETqiizARFsJGQpF4JAkRIauQEqQCaUDakB6kH7mKSJGnyFsUBkVFMVBMlAvKHxWF4qKWoVahNqOqUQdQnag+1FXUKGoK9RFNRmuizdHO6AB0LDoZnYsuRlegm9Ad6LPoEfQ4+hUGg6FjjDGOGH9MHCYVswKzGbMb0445hRnGjGGmsVisOtYc64oNxXKwYmwxtgp7EHsSewU7jn2DI+J0cLY4X1w8TogrxFXgWnAncFdwE7gZvBLeEO+MD8Xz8MvxZfhGfA9+CD+OnyEoE4wJroRIQiphLaGS0EY4S7hLeEEkEvWITsRwooC4hlhJPEQ8TxwlviVRSGYkNimBJCFtIe0nnSLdIr0gk8lGZA9yPFlM3kJuJp8h3ye/UaAqWCoEKPAUVivUKHQqXFF4pohXNFT0VFysmK9YoXhEcUjxqRJeyUiJrcRRWqVUo3RU6YbStDJV2UY5VDlDebNyi/IF5UcULMWI4kPhUYoo+yhnKGNUhKpPZVO51HXURupZ6jgNQzOmBdBSaaW0b2iDtCkVioqdSrRKnkqNynEVKR2hG9ED6On0Mvph+nX6O1UtVU9Vvuom1TbVK6qv1eaoeajx1UrU2tVG1N6pM9R91NPUt6l3qd/TQGmYaYRr5Grs0Tir8XQObY7LHO6ckjmH59zWhDXNNCM0V2ju0xzQnNbS1vLTytKq0jqj9VSbru2hnaq9Q/uE9qQOVcdNR6CzQ+ekzmOGCsOTkc6oZPQxpnQ1df11Jbr1uoO6M3rGelF6hXrtevf0Cfos/ST9Hfq9+lMGOgYhBgUGrQa3DfGGLMMUw12G/YavjYyNYow2GHUZPTJWMw4wzjduNb5rQjZxN1lm0mByzRRjyjJNM91tetkMNrM3SzGrMRsyh80dzAXmu82HLdAWThZCiwaLG0wS05OZw2xljlrSLYMtCy27LJ9ZGVjFW22z6rf6aG1vnW7daH3HhmITaFNo02Pzq62ZLde2xvbaXPJc37mr53bPfW5nbse322N3055qH2K/wb7X/oODo4PIoc1h0tHAMdGx1vEGi8YKY21mnXdCO3k5rXY65vTW2cFZ7HzY+RcXpkuaS4vLo3nG8/jzGueNueq5clzrXaVuDLdEt71uUnddd457g/sDD30PnkeTx4SnqWeq50HPZ17WXiKvDq/XbGf2SvYpb8Tbz7vEe9CH4hPlU+1z31fPN9m31XfKz95vhd8pf7R/kP82/xsBWgHcgOaAqUDHwJWBfUGkoAVB1UEPgs2CRcE9IXBIYMj2kLvzDecL53eFgtCA0O2h98KMw5aFfR+OCQ8Lrwl/GGETURDRv4C6YMmClgWvIr0iyyLvRJlESaJ6oxWjE6Kbo1/HeMeUx0hjrWJXxl6K04gTxHXHY+Oj45vipxf6LNy5cDzBPqE44foi40V5iy4s1licvvj4EsUlnCVHEtGJMYktie85oZwGzvTSgKW1S6e4bO4u7hOeB28Hb5Lvyi/nTyS5JpUnPUp2Td6ePJninlKR8lTAFlQLnqf6p9alvk4LTduf9ik9Jr09A5eRmHFUSBGmCfsytTPzMoezzLOKs6TLnJftXDYlChI1ZUPZi7K7xTTZz9SAxESyXjKa45ZTk/MmNzr3SJ5ynjBvYLnZ8k3LJ/J9879egVrBXdFboFuwtmB0pefK+lXQqqWrelfrry5aPb7Gb82BtYS1aWt/KLQuLC98uS5mXU+RVtGaorH1futbixWKRcU3NrhsqNuI2ijYOLhp7qaqTR9LeCUXS61LK0rfb+ZuvviVzVeVX33akrRlsMyhbM9WzFbh1uvb3LcdKFcuzy8f2x6yvXMHY0fJjpc7l+y8UGFXUbeLsEuyS1oZXNldZVC1tep9dUr1SI1XTXutZu2m2te7ebuv7PHY01anVVda926vYO/Ner/6zgajhop9mH05+x42Rjf2f836urlJo6m06cN+4X7pgYgDfc2Ozc0tmi1lrXCrpHXyYMLBy994f9Pdxmyrb6e3lx4ChySHHn+b+O31w0GHe4+wjrR9Z/hdbQe1o6QT6lzeOdWV0iXtjusePhp4tLfHpafje8vv9x/TPVZzXOV42QnCiaITn07mn5w+lXXq6enk02O9S3rvnIk9c60vvG/wbNDZ8+d8z53p9+w/ed71/LELzheOXmRd7LrkcKlzwH6g4wf7HzoGHQY7hxyHui87Xe4Znjd84or7ldNXva+euxZw7dLI/JHh61HXb95IuCG9ybv56Fb6ree3c27P3FlzF3235J7SvYr7mvcbfjT9sV3qID0+6j068GDBgztj3LEnP2X/9H686CH5YcWEzkTzI9tHxyZ9Jy8/Xvh4/EnWk5mnxT8r/1z7zOTZd794/DIwFTs1/lz0/NOvm1+ov9j/0u5l73TY9P1XGa9mXpe8UX9z4C3rbf+7mHcTM7nvse8rP5h+6PkY9PHup4xPn34D94Tz+49wZioAAAAJcEhZcwAACxIAAAsSAdLdfvwAAADrSURBVHicY/n//z8DqYAFRDAxMTESq+Hfv3//WUi2BmYTMmhqatL7+/fv5cbGxv/19fWSbGxsf6urq1/h1ARU5A+0fj0jI+MsILsXKLTv169fP1atWqUeFhb2D6smFhaWi3/+/HkMZKYBNcYBA4kDyJ6NrAFDU21t7QOgDSlA5k6QBqDGW0A6C6+fmpublYA2zQOxgRq+ATWoAZnTgDgdpyagBk0gJQXUMI2ZmbkPyN8P5DsAbWcFBsxvrJqAEluBtmkDFd8EOvV/a2urOTAg/iJrwNAE9dcNGBsY1C/Q5bFqIgaANYGSBimaAADgbhvLwt8+AAAAAElFTkSuQmCC"},a9ff:function(t,e,n){"use strict";var r=n("9699"),i=n("163f"),o=n("8e24"),a=n("5544"),s=n("d44f"),c=n("4efa"),u=n("1706"),l=n("b51b"),h=n("f9fa"),f=n("2c81"),d=n("2e39"),p=n("481a"),m=n("fe89"),g=n("a625"),v=n("ae62"),y=n("7970").f,_=n("dcc6").f,x=n("9091"),b=n("79e6"),w=n("1c6e"),M=n("647c"),S=s.PROPER,A=s.CONFIGURABLE,C=M.get,E=M.set,T="ArrayBuffer",I="DataView",L="prototype",P="Wrong index",R=r[T],O=R,k=O&&O[L],B=r[I],D=B&&B[L],F=Object.prototype,U=r.Array,j=r.RangeError,N=i(x),G=i([].reverse),z=m.pack,H=m.unpack,W=function(t){return[255&t]},V=function(t){return[255&t,t>>8&255]},Z=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},Q=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},X=function(t){return z(t,23,4)},Y=function(t){return z(t,52,8)},J=function(t,e){_(t[L],e,{get:function(){return C(this)[e]}})},q=function(t,e,n,r){var i=p(n),o=C(t);if(i+e>o.byteLength)throw j(P);var a=C(o.buffer).bytes,s=i+o.byteOffset,c=b(a,s,s+e);return r?c:G(c)},K=function(t,e,n,r,i,o){var a=p(n),s=C(t);if(a+e>s.byteLength)throw j(P);for(var c=C(s.buffer).bytes,u=a+s.byteOffset,l=r(+i),h=0;h<e;h++)c[u+h]=l[o?h:e-h-1]};if(a){var $=S&&R.name!==T;if(l((function(){R(1)}))&&l((function(){new R(-1)}))&&!l((function(){return new R,new R(1.5),new R(NaN),$&&!A})))$&&A&&c(R,"name",T);else{(O=function(t){return h(this,k),new R(p(t))})[L]=k;for(var tt,et=y(R),nt=0;et.length>nt;)(tt=et[nt++])in O||c(O,tt,R[tt]);k.constructor=O}v&&g(D)!==F&&v(D,F);var rt=new B(new O(2)),it=i(D.setInt8);rt.setInt8(0,2147483648),rt.setInt8(1,2147483649),!rt.getInt8(0)&&rt.getInt8(1)||u(D,{setInt8:function(t,e){it(this,t,e<<24>>24)},setUint8:function(t,e){it(this,t,e<<24>>24)}},{unsafe:!0})}else k=(O=function(t){h(this,k);var e=p(t);E(this,{bytes:N(U(e),0),byteLength:e}),o||(this.byteLength=e)})[L],D=(B=function(t,e,n){h(this,D),h(t,k);var r=C(t).byteLength,i=f(e);if(i<0||i>r)throw j("Wrong offset");if(i+(n=void 0===n?r-i:d(n))>r)throw j("Wrong length");E(this,{buffer:t,byteLength:n,byteOffset:i}),o||(this.buffer=t,this.byteLength=n,this.byteOffset=i)})[L],o&&(J(O,"byteLength"),J(B,"buffer"),J(B,"byteLength"),J(B,"byteOffset")),u(D,{getInt8:function(t){return q(this,1,t)[0]<<24>>24},getUint8:function(t){return q(this,1,t)[0]},getInt16:function(t){var e=q(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=q(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return Q(q(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return Q(q(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return H(q(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return H(q(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){K(this,1,t,W,e)},setUint8:function(t,e){K(this,1,t,W,e)},setInt16:function(t,e){K(this,2,t,V,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){K(this,2,t,V,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){K(this,4,t,Z,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){K(this,4,t,Z,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){K(this,4,t,X,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){K(this,8,t,Y,e,arguments.length>2?arguments[2]:void 0)}});w(O,T),w(B,I),t.exports={ArrayBuffer:O,DataView:B}},aa5a:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAUCAYAAABvVQZ0AAAAAXNSR0IArs4c6QAAAUVJREFUOBGdkjFuAjEQRUmBqJC4AvWWSCm24xp0EX3Sp9uLIOUQaejSUXEMGhSJGyzvOx7Ha3mMxEgf2+M/j/HAbNaIcRxXaECnuK4a9vpVBrmxz0NnwR9DZYrmHHIkt0NaLXwoDg/S573j65EP5fIDlZ1MIDlQewf6rosrsvhm83gef0C9Rn6Lq2Ab5LdetIXXG8kmWTE159GA/I8EU4dejepAv8i7c1U96vTMC1L8oG0DKo/GkTqRH6lOcRFsj351ilGDDtx5EJWpfh8aYbNEnzHJEmIClZHsFilvIYjqlgZacJhHswd9w+NCVI8W+rYz0nAHFP5jrDUo6fCc1In8SHWqPwt2QBYeVF15EKs92FN7MkfLsk6gwcQH+bwTs6su/TjmldmDrrmz57QhiRY3FagBtNY7KSHluYA+B6lAX8pc7XwHMYFxBb/kUuEAAAAASUVORK5CYII="},aa9c:function(t,e,n){var r=n("5a28");t.exports=/MSIE|Trident/.test(r)},acb4:function(t,e,n){var r=n("f18d");r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("5925").default)("8b59ec86",r,!0,{sourceMap:!1,shadowMode:!1})},adb6:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.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}}),t.webpackPolyfill=1),t}},ae62:function(t,e,n){var r=n("163f"),i=n("235f"),o=n("759a");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},aee5:function(t,e,n){var r=n("4f4c"),i=n("163f"),o=n("efd0"),a=n("ed2b"),s=n("1de0"),c=n("7f81"),u=i([].push),l=function(t){var e=1==t,n=2==t,i=3==t,l=4==t,h=6==t,f=7==t,d=5==t||h;return function(p,m,g,v){for(var y,_,x=a(p),b=o(x),w=r(m,g),M=s(b),S=0,A=v||c,C=e?A(p,M):n||f?A(p,0):void 0;M>S;S++)if((d||S in b)&&(_=w(y=b[S],S,x),t))if(e)C[S]=_;else if(_)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:u(C,y)}else switch(t){case 4:return!1;case 7:u(C,y)}return h?-1:i||l?l:C}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},b0d6:function(t,e,n){"use strict";var r=n("1e0a");function i(){var t={},e=0,n=0,r=0;return{add:function(i,o){o||(o=i,i=0),i>n?n=i:i<r&&(r=i),t[i]||(t[i]=[]),t[i].push(o),e++},process:function(){for(var e=r;e<=n;e++)for(var i=t[e],o=0;o<i.length;o++)(0,i[o])()},size:function(){return e}}}t.exports=function(t){var e=(t=t||{}).reporter,n=r.getOption(t,"async",!0),o=r.getOption(t,"auto",!0);o&&!n&&(e&&e.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),n=!0);var a,s=i(),c=!1;function u(){for(c=!0;s.size();){var t=s;s=i(),t.process()}c=!1}function l(){a=function(t){return function(t){return setTimeout(t,0)}(t)}(u)}return{add:function(t,e){!c&&o&&n&&0===s.size()&&l(),s.add(t,e)},force:function(t){c||(void 0===t&&(t=n),a&&(function(t){clearTimeout(t)}(a),a=null),t?l():u())}}}},b12b:function(t,e,n){var r=n("3d1e")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},b13f:function(t,e,n){var r=n("f22c");t.exports=r("document","documentElement")},b155:function(t,e,n){var r=n("82c6").Symbol;t.exports=r},b1d9:function(t,e,n){n("1018")("Float32",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},b1e8:function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(t,"prototype",{value:Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),writable:!1}),e&&r(t,e)}n.d(e,"a",(function(){return i}))},b34b:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("1183"),o=function(t){function e(e,n){return void 0===e&&(e=""),void 0===n&&(n={}),t.call(this,e,n)||this}return r(e,t),e.prototype.raycast=function(){this.mesh.raycast.apply(this.mesh,arguments)},e.prototype.updateText=function(){this.cleanUp(),this.canvas.drawText(this._text,{font:this._font,fillStyle:this._fillStyle,shadowBlur:this._shadowBlur,shadowColor:this._shadowColor,shadowOffsetX:this._shadowOffsetX,shadowOffsetY:this._shadowOffsetY,lineHeight:this._lineHeight,align:this.align,backgroundColor:this._backgroundColor,horizontalPadding:this._horizontalPadding,verticalPadding:this._verticalPadding}),this.texture=new i.Texture(this.canvas.canvas),this.texture.needsUpdate=!0,this.applyAntiAlias(),this.material?this.material.map=this.texture:(this.material=new i.MeshBasicMaterial({map:this.texture,side:this.side}),this.material.transparent=!0),this.mesh||(this.geometry=new i.PlaneGeometry(this.canvas.width,this.canvas.height),this.mesh=new i.Mesh(this.geometry,this.material),this.add(this.mesh)),this.mesh.position.x=this.canvas.width/2-this.canvas.textWidth/2+this.canvas.textWidth/2*this.align.x,this.mesh.position.y=-this.canvas.height/2+this.canvas.textHeight/2*this.align.y,this.geometry.vertices[0].x=this.geometry.vertices[2].x=-this.canvas.width/2,this.geometry.vertices[1].x=this.geometry.vertices[3].x=this.canvas.width/2,this.geometry.vertices[0].y=this.geometry.vertices[1].y=this.canvas.height/2,this.geometry.vertices[2].y=this.geometry.vertices[3].y=-this.canvas.height/2,this.geometry.verticesNeedUpdate=!0},e}(n("34af").Text2D);e.MeshText2D=o},b417:function(t,e,n){function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}n("5ae2"),n("09be"),n("39dd"),n("00e8"),n("55b1"),n("3946"),t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},b51b:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},b7f4:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},b7f9:function(t,e,n){"use strict";var r=n("5d20"),i=n("aee5").findIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},b8fb:function(t,e,n){var r=n("9699").String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},ba25:function(t,e,n){var r=n("5a28");t.exports=/web0s(?!.*chrome)/i.test(r)},ba51:function(t,e,n){var r=n("9699"),i=n("e1f6"),o=n("f776"),a=r.WeakMap;t.exports=i(a)&&/native code/.test(o(a))},ba73:function(t,e,n){"use strict";var r=n("9699"),i=n("163f"),o=n("b51b"),a=n("6b26"),s=n("959d"),c=n("5d20"),u=n("e8c5"),l=n("aa9c"),h=n("3e77"),f=n("be4f"),d=r.Array,p=c.aTypedArray,m=c.exportTypedArrayMethod,g=r.Uint16Array,v=g&&i(g.prototype.sort),y=!(!v||o((function(){v(new g(2),null)}))&&o((function(){v(new g(2),{})}))),_=!!v&&!o((function(){if(h)return h<74;if(u)return u<67;if(l)return!0;if(f)return f<602;var t,e,n=new g(516),r=d(516);for(t=0;t<516;t++)e=t%4,n[t]=515-t,r[t]=t-2*e+3;for(v(n,(function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(n[t]!==r[t])return!0}));m("sort",(function(t){return void 0!==t&&a(t),_?v(this,t):s(p(this),function(t){return function(e,n){return void 0!==t?+t(e,n)||0:n!=n?-1:e!=e?1:0===e&&0===n?1/e>0&&1/n<0?1:-1:e>n}}(t))}),!_||y)},ba93:function(t,e,n){"use strict";var r=n("aee5").forEach,i=n("7718")("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},bb7e:function(t,e,n){"use strict";var r=n("6a85"),i=n("45e7"),o=(n("39dd"),n("fd2d"),n("3901"),n("f433"),n("5bee"),n("00e2"),n("5ede"),n("5972"),n("46d7")),a=n("96a7"),s=function(t,e,n){void 0===n&&(n={});var r=Object(o.a)(t),i=Object(o.a)(e),s=Object(a.a)(i[1]-r[1]),c=Object(a.a)(i[0]-r[0]),u=Object(a.a)(r[1]),l=Object(a.a)(i[1]),h=Math.pow(Math.sin(s/2),2)+Math.pow(Math.sin(c/2),2)*Math.cos(u)*Math.cos(l);return Object(a.d)(2*Math.atan2(Math.sqrt(h),Math.sqrt(1-h)),n.units)};function c(t,e,n){var r=!1;e[0][0]===e[e.length-1][0]&&e[0][1]===e[e.length-1][1]&&(e=e.slice(0,e.length-1));for(var i=0,o=e.length-1;i<e.length;o=i++){var a=e[i][0],s=e[i][1],c=e[o][0],u=e[o][1];if(t[1]*(a-c)+s*(c-t[0])+u*(t[0]-a)==0&&(a-t[0])*(c-t[0])<=0&&(s-t[1])*(u-t[1])<=0)return!n;s>t[1]!=u>t[1]&&t[0]<(c-a)*(t[1]-s)/(u-s)+a&&(r=!r)}return r}var u=n("1183"),l=n("f7eb"),h=document.createElement("canvas"),f=function(){function t(){Object(r.a)(this,t),this.type="gisCommon"}return Object(i.a)(t,null,[{key:"getTexture",value:function(t,e,n,r){var i=t.getContext("2d");i.drawImage(e,n,r);var o=new u.Texture(i.getImageData(0,0,t.width,t.height));return o.minFilter=u.LinearFilter,o.generateMipmaps=!1,o.needsUpdate=!0,o}},{key:"getTexture1",value:function(t,e,n,r,i,o){var a=t.getContext("2d");a.drawImage(e,n,r,i,o);var s=new u.Texture(a.getImageData(0,0,t.width,t.height));return s.minFilter=u.LinearFilter,s.generateMipmaps=!1,s.needsUpdate=!0,s}},{key:"addImageProcessImage",value:function(t){return new Promise((function(e,n){var r=document.createElement("img");r.onload=function(){return e(r)},r.onerror=n,r.setAttribute("src",t)}))}},{key:"addImageProcess",value:function(t){return new Promise((function(e,n){var r=document.createElement("img");r.onload=function(){return e(r)},r.onerror=n,r.setAttribute("src","data:image/svg+xml;base64,"+window.btoa(unescape(encodeURIComponent(t))))}))}},{key:"containsCoordinate1",value:function(t,e){var n={type:"Feature",properties:{},geometry:{type:"Point",coordinates:[e.getCenter().x,e.getCenter().y]}};return 1e3*s(n,{type:"Feature",properties:{},geometry:{type:"Point",coordinates:t}},"kilometers")<e.getRadius()}},{key:"containsCoordinate2",value:function(t,e){return function(t,e,n){if(void 0===n&&(n={}),!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");var r=Object(o.a)(t),i=Object(o.b)(e),a=i.type,s=e.bbox,u=i.coordinates;if(s&&!1===function(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}(r,s))return!1;"Polygon"===a&&(u=[u]);for(var l=!1,h=0;h<u.length&&!l;h++)if(c(r,u[h][0],n.ignoreBoundary)){for(var f=!1,d=1;d<u[h].length&&!f;)c(r,u[h][d],!n.ignoreBoundary)&&(f=!0),d++;f||(l=!0)}return l}({type:"Feature",geometry:{type:"Point",coordinates:t}},{type:"Feature",geometry:{type:"Polygon",coordinates:e.geometry.coordinates[0]}})}},{key:"containsCoordinate",value:function(t,e){var n,r;Array.isArray(t)?(n=t[0],r=t[1]):t instanceof l.Coordinate&&(n=t.x,r=t.y);var i=e.xmin,o=e.ymin,a=e.xmax,s=e.ymax;return i<=n&&n<=a&&o<=r&&r<=s}},{key:"isInLevels",value:function(t,e){for(var n=!1,r=0;r<t.rangeArr.length;r+=2){var i=1*t.rangeArr[r],o=1*t.rangeArr[r+1];if(e>i&&e<=o){n=!0;break}}return n}},{key:"getExtent",value:function(t){if(0!==t.length){var e=1/0,n=1/0,r=-1/0,i=-1/0;return 1===t.length?(e=1*t[0].longitude-.5,n=1*t[0].latitude-.5,r=1*t[0].longitude+.5,i=1*t[0].latitude+.5):t.length>1&&t.slice(0,1/0).map((function(t){var o=1*t.longitude,a=1*t.latitude;e=Math.min(e,o),n=Math.min(n,a),r=Math.max(r,o),i=Math.max(i,a)})),{minX:e,minY:n,maxX:r,maxY:i}}}},{key:"vector2Pixel",value:function(t,e,n){var r=t.project(n),i=e.width/2,o=e.height/2;return{x:Math.round(r.x*i+i),y:Math.round(-r.y*o+o)}}},{key:"generateTextureOne",value:function(t,e,n){h.width=e,h.height=n;var r=h.getContext("2d");r.drawImage(t,0,0,e,n);var i=new u.Texture(r.getImageData(0,0,h.width,h.height));return i.magFilter=u.NearestFilter,i.minFilter=u.NearestFilter,i.generateMipmaps=!1,i.needsUpdate=!0,i}},{key:"generateTexture",value:function(t){var e=[64,128,256,512,1024],n=-1/0;t.forEach((function(t){n=Math.max(n,t.w),Math.max(n,t.h)}));var r=Math.sqrt(t.length),i=parseInt(r);r>i&&(i+=1);for(var o=(r=i)*n+5*r,a=0,s=0;s<e.length;s++){if(o<e[s]){a=e[s];break}a=1024}h.width=h.height=a;for(var c=h.getContext("2d"),l=0,f=0,d=[],p=0;p<r;p++){for(var m=5*(p+1)+p*l,g=0;g<r;g++){var v=5*(g+1)+g*t[f].w;if("img"===t[f].type){var y=(t[f].w-t[f].iw)/2,_=(t[f].h-t[f].ih)/2;c.drawImage(t[f].src,v+y,m+_,t[f].iw,t[f].ih)}else if("txt"===t[f].type)c.fillStyle=t[f].color,"#fff"===t[f].color?(c.font="lighter "+t[f].size+"px Microsoft YaHei",c.fillText(t[f].src,v+t[f].offx,m+t[f].offy),c.strokeStyle=t[f].color,c.strokeText(t[f].src,v+t[f].offx,m+t[f].offy)):(c.font="normal "+t[f].size+"px Microsoft YaHei",c.fillText(t[f].src,v+t[f].offx,m+t[f].offy));else{var x=(t[f].w-t[f].iw)/2,b=(t[f].h-t[f].ih)/2;c.drawImage(t[f].src,v+x,m+b,t[f].iw,t[f].ih)}if(d.push({w:t[f].w,h:t[f].h,u:v/a,v:m/a}),l=Math.max(l,t[f].h),(f+=1)>=t.length)break}if(f>=t.length)break}var w=new u.Texture(c.getImageData(0,0,h.width,h.height));if(w.minFilter=u.LinearFilter,w.generateMipmaps=!1,w.needsUpdate=!0,d.length<100)for(var M=100-d.length,S=0;S<M;S++)d.push({w:0,h:0,u:0,v:0});return{xys:d,texture:w,textureSize:a}}},{key:"setPointEventStatus",value:function(t,e){t&&t.getMeshes().forEach((function(t){"Points"===t.type&&(t.options.interactive=e)}))}},{key:"createTextTexture",value:function(t,e){h.width=h.height=t;var n=h.width/2,r=h.height/2;if(e){var i=0;e.forEach((function(t){var e=h.getContext("2d");e.fillStyle=t.fontcolor,e.font="".concat(t.fontsize,"px Arial"),e.textAlign="center",e.textBaseline="middle",e.fillText(t.txt,n,r+i),i+=t.fontsize}))}var o=new u.Texture(h);return o.minFilter=u.LinearFilter,o.generateMipmaps=!1,o.needsUpdate=!0,o}},{key:"createSimpleShader",value:function(t,e,n){return t.uniforms.texture1={value:e},t.uniforms.size1={value:n},t.uniforms.flag={value:1},t.vertexShader="uniform float size1;\n attribute float imgflag;\n varying float vimgflag;\n attribute float visibility;\n varying float vVisible;\n "+t.vertexShader,t.vertexShader=t.vertexShader.replace("#include <project_vertex>","\n #include <project_vertex>\n vimgflag = imgflag;\n vVisible = visibility;\n ").replace("gl_PointSize = size;","\n gl_PointSize = size1;\n "),t.fragmentShader="\n uniform sampler2D texture1;\n varying float vimgflag;\n varying float vVisible;\n "+t.fragmentShader,t.fragmentShader=t.fragmentShader.replace("gl_FragColor = vec4( outgoingLight, diffuseColor.a );","\n\n vec2 pUv = gl_PointCoord;\n pUv.y = 1. - pUv.y;\n\n if(vimgflag < 1.0){\n vec4 texColor = texture2D( texture1, pUv );\n outgoingLight *= texColor.xyz;\n gl_FragColor = vec4( outgoingLight, texColor.a * diffuseColor.a );\n }\n\n if (vVisible < 0.5) discard;\n "),t}}]),t}();e.a=f},bca7:function(t,e,n){"use strict";var r=n("521d"),i=n("e722"),o=n("f9aa"),a=n("647c"),s=n("dcc6").f,c=n("266b"),u=n("fb76"),l=n("8e24"),h="Array Iterator",f=a.set,d=a.getterFor(h);t.exports=c(Array,"Array",(function(t,e){f(this,{type:h,target:r(t),index:0,kind:e})}),(function(){var t=d(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!u&&l&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},bd87:function(t,e,n){var r,i,o,a,s=n("9699"),c=n("c687"),u=n("4f4c"),l=n("e1f6"),h=n("4c74"),f=n("b51b"),d=n("b13f"),p=n("906c"),m=n("4ca1"),g=n("f7b2"),v=n("556e"),y=s.setImmediate,_=s.clearImmediate,x=s.process,b=s.Dispatch,w=s.Function,M=s.MessageChannel,S=s.String,A=0,C={},E="onreadystatechange";try{r=s.location}catch(t){}var T=function(t){if(h(C,t)){var e=C[t];delete C[t],e()}},I=function(t){return function(){T(t)}},L=function(t){T(t.data)},P=function(t){s.postMessage(S(t),r.protocol+"//"+r.host)};y&&_||(y=function(t){var e=p(arguments,1);return C[++A]=function(){c(l(t)?t:w(t),void 0,e)},i(A),A},_=function(t){delete C[t]},v?i=function(t){x.nextTick(I(t))}:b&&b.now?i=function(t){b.now(I(t))}:M&&!g?(a=(o=new M).port2,o.port1.onmessage=L,i=u(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!f(P)?(i=P,s.addEventListener("message",L,!1)):i=E in m("script")?function(t){d.appendChild(m("script"))[E]=function(){d.removeChild(this),T(t)}}:function(t){setTimeout(I(t),0)}),t.exports={set:y,clear:_}},be0a:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var a=t.apply(e,n);function s(t){r(a,i,o,s,c,"next",t)}function c(t){r(a,i,o,s,c,"throw",t)}s(void 0)}))}}n.d(e,"a",(function(){return i})),n("39dd")},be4f:function(t,e,n){var r=n("5a28").match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},bfab:function(t,e,n){var r=n("9699"),i=n("cb3f"),o=r.RangeError;t.exports=function(t,e){var n=i(t);if(n%e)throw o("Wrong offset");return n}},c015:function(t,e,n){var r=n("b155"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}},c08b:function(t,e){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}},t.exports=n},c275:function(t,e,n){var r=n("163f");t.exports=r({}.isPrototypeOf)},c2d5:function(t,e,n){var r=n("b51b"),i=n("9699").RegExp;t.exports=r((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},c419:function(t,e,n){"use strict";t.exports=function(){var t=1;return{generate:function(){return t++}}}},c626:function(t,e,n){"use strict";var r=n("163f"),i=n("5d20"),o=r(n("7fdb")),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(t,e){return o(a(this),t,e,arguments.length>2?arguments[2]:void 0)}))},c687:function(t,e){var n=Function.prototype,r=n.apply,i=n.bind,o=n.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?o.bind(r):function(){return o.apply(r,arguments)})},c75d:function(t,e,n){var r=n("8e24"),i=n("b51b"),o=n("4ca1");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},c7b2:function(t,e,n){"use strict";n.r(e),n.d(e,"install",(function(){return re})),n.d(e,"GMap",(function(){return ee}));var r=n("6a85"),i=n("45e7"),o=(n("bca7"),n("5462"),n("62ae"),n("6d3e"),n("fd2d"),n("39dd"),n("5f8e"),n("be0a")),a=(n("e186"),n("5ede"),n("ef28"),n("5972"),n("7710"),n("7c98")),s=function(){function t(){Object(r.a)(this,t)}return Object(i.a)(t,[{key:"getSvgDict",value:function(t){var e=this;return Object(a.isEmpty)(t)?(console.error("svg javascript file is not null"),!1):new Promise((function(n){var r=[];e.getJSON(t).then((function(t){t.match(/<symbol id=.*?symbol>/g).map((function(t,n){var i=t.match(/id=".*?"/gi),o=t.match(/(?<=viewBox=".*?">).*?(?=<\/symbol>)/gi);r.push({id:i[0].replaceAll('"',"").replace("id=icon-",""),svg:e.createSvg(o[0])})})),n(r)}))}))}},{key:"getJSON",value:function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:return n=t.sent,t.next=6,n.text();case 6:return t.abrupt("return",t.sent);case 9:t.prev=9,t.t0=t.catch(0),console.log("Request Failed",t.t0);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(e){return t.apply(this,arguments)}}()},{key:"createSvg",value:function(t){return'<svg class="icon" style="width: 1em;height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="15737">'.concat(t,"</svg>")}}]),t}(),c=(n("f433"),n("1b03"),n("acb4"),n("1183")),u=n("f7eb"),l={name:"Spin",props:{visible:Boolean},render:function(t,e){var n=arguments[0];return n("div",{class:"sk-chase-box"},[this.visible?null:n("div",{class:"sk-chase-core"},[n("div",{class:"sk-chase"},[n("div",{class:"sk-chase-dot"}),n("div",{class:"sk-chase-dot"}),n("div",{class:"sk-chase-dot"}),n("div",{class:"sk-chase-dot"}),n("div",{class:"sk-chase-dot"}),n("div",{class:"sk-chase-dot"})])]),this.$slots.default])}};n("93b5");var h=function(t,e,n,r,i,o,a,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:u}}(l,void 0,void 0,!1,null,"c8c2036e",null).exports,f=n("a7fe"),d=n.n(f),p=(n("9b2d"),n("5eb3")),m=n.n(p),g=n("8179"),v=n.n(g),y=n("9192"),_=n.n(y),x=n("66da"),b=n.n(x),w=d.a.createStore(v.a,b.a),M=(d.a.createStore(m.a,b.a),d.a.createStore(_.a,b.a),n("3901"),n("55b1"),n("3946"),n("47c9")),S=(n("8195"),n("b1e8")),A=n("65b8"),C=n("f1fc"),E={interactive:!1,altitude:0,imageWidth:512,imageHeight:512,texture:null},T=function(t){Object(S.a)(n,t);var e=Object(A.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n);var l=i=u.Util.extend({},E,i),h=l.altitude;l.imageHeight,l.imageWidth,t instanceof u.Extent||(t=new u.Extent(t));var f=t,d=f.xmin,p=f.ymin,m=f.xmax,g=f.ymax,v=1/0,y=1/0,_=-1/0,x=-1/0;[[d,p],[d,g],[m,g],[m,p]].forEach((function(t){var e=a.coordinateToVector3(t),n=e.x,r=e.y;v=Math.min(n,v),y=Math.min(r,y),_=Math.max(n,_),x=Math.max(r,x)}));var b=Math.abs(_-v),w=Math.abs(x-y),M=new c.PlaneBufferGeometry(b,w);(s=e.call(this))._initOptions(i),s._createMesh(M,o);var S=a.distanceToVector3(h,h).x,A=a.coordinateToVector3(t.getCenter(),S);return s.getObject3d().position.copy(A),s.parent=null,s.type="Image",s}return Object(i.a)(n)}(C.a),I=function(){function t(e,n,i,o,a){var s=this;Object(r.a)(this,t),this.threelayer=a,this.textureLoader=new c.TextureLoader;var l=e.split(","),h=n.split(","),f=parseFloat(l[0]),d=parseFloat(l[1]),p=parseFloat(h[0]),m=parseFloat(h[1]),g=o.maxZoom||11,v=o.renderOrder||0,y=o.opacity||1,_=o.maxZoom||3,x=new u.Extent(f,d,p,m);this.textureLoader.load(i,(function(t){var e=new c.MeshBasicMaterial({map:t,transparent:!0,opacity:y}),n=new T(x,{imageWidth:512,imageHeight:512,maxZoom:g,minZoom:_},e,s.threelayer);n.object3d.renderOrder=v,s.imgMesh=n,s.imgMesh.parent=s,s.m=e,s.texture=t,s.threelayer.addMesh(s.imgMesh)}))}return Object(i.a)(t,[{key:"updateImage",value:function(t){var e=this;this.textureLoader.load(t,(function(t){e.texture&&e.texture.dispose(),delete e.texture,t.magFilter=c.NearestFilter,t.minFilter=c.NearestFilter,e.imgMesh.object3d.material.map=t,e.imgMesh.object3d.material.map.needsUpdate=!0,e.texture=t}))}},{key:"clearImage",value:function(){this.imgMesh&&this.threelayer.removeMesh(this.imgMesh)}},{key:"dispose",value:function(){this.threelayer.removeMesh(this.imgMesh),this.imgMesh.object3d.geometry&&this.imgMesh.object3d.geometry.dispose(),this.imgMesh.object3d.material&&(this.imgMesh.object3d.material.dispose(),delete this.m),this.texture&&(this.texture&&this.texture.dispose(),delete this.texture),this.threelayer=null,this.textureLoader&&delete this.textureLoader}}]),t}(),L=(n("6054"),n("0132"),n("2b0f"),n("5d56")),P={0:.05,1:.05,2:.05,3:.003,4:.003,5:.003,6:.003,7:.003,8:.002,9:.001,10:5e-4,11:3e-4,12:15e-5,13:1e-4,14:5e-5,15:25e-6,16:1e-5,16.99:1e-5,17:5e-6,18:2e-6,19:1e-6,20:5e-7,21:2e-7,22:1e-7},R=Object(a.map)(["南","东南偏南","东南","东南偏东","东","东北偏东","东北","东北偏北","北","西北偏北","西北","西北偏西","西","西南偏西","西南","西南偏南"],(function(t,e){var n=22.5,r=n*e;return{bearing:r,range:[r-n/2,r+n/2],label:t}})),O=function(t,e,n){return t>=e&&t<n},k=function(){function t(e,n,i){var o=this;Object(r.a)(this,t),this.map=i,this.windLayer=this.map.getLayer("windLayer"),this.windLayer?this.windLayer.setData(e):(this.windLayer=new L.a("windLayer",e,{windOptions:{colorScale:["rgba(68,162,255,1)","rgba(110,223,255,1)","rgba(142,228,187,1)","rgba(179,253,163,1)","rgba(213,247,176,1)","rgba(255,252,213,1)","rgba(255,238,159,1)","rgba(252,217,125,1)","rgba(255,182,100,1)","rgba(252,150,75,1)","rgba(250,112,52,1)","rgba(245,64,32,1)","rgba(237,45,28,1)","rgba(220,24,32,1)","rgba(180,0,35,1)"],velocityScale:function(){var t=o.map.getZoom();return P[parseInt(t)]||1/40},frameRate:16,maxAge:60,globalAlpha:.9,paths:3782}}),this.map.addLayer(this.windLayer)),this.setToolTip("hello",{showTimeout:0,eventsPropagation:!0,dx:10}),this._bindMapEvents()}return Object(i.a)(t,[{key:"_bindMapEvents",value:function(){this.map.on("mousemove",this._onWind,this)}},{key:"_closeEvent",value:function(){this.map.off("mousemove",this._onWind,this)}},{key:"_onWind",value:function(t){var e,n=this.windLayer.field.interpolatedValueAt(t.coordinate.x,t.coordinate.y);if(n){var r=this.vectorToDegrees(n.u,n.v,"bearingCCW"),i=this.vectorToSpeed(n.u,n.v,"m/s");this.toolTip._content="".concat(null===(e=function(t){return Object(a.find)(R,(function(e){return O(t,e.range[0],e.range[1])||O(t-360,e.range[0],e.range[1])}))}(r))||void 0===e?void 0:e.label).concat(this.windLevel(i),"级;速度").concat(i.toFixed(2),"m/s;高度10米")}}},{key:"windLevel",value:function(t){return t<=0?0:t<=.3?1:t<=1.6?2:t<=3.4?3:t<=5.5?4:t<=8?5:t<=10.8?6:t<=13.9?7:t<=17.2?8:t<=20.8?9:t<=24.5?10:t<=28.5?11:12}},{key:"setToolTip",value:function(t,e){this.removeToolTip(),this.toolTip=new u.ui.ToolTip(t,e),this.toolTip.addTo(this.map)}},{key:"removeToolTip",value:function(){var t;this.toolTip&&(null===(t=this.toolTip)||void 0===t||t.remove(),this.toolTip=null)}},{key:"vectorToDegrees",value:function(t,e,n){n.endsWith("CCW")&&(e=e>0?e=-e:Math.abs(e));var r=Math.sqrt(Math.pow(t,2)+Math.pow(e,2)),i=180*Math.atan2(t/r,e/r)/Math.PI+180;return"bearingCW"!==n&&"meteoCCW"!==n||(i+=180)>=360&&(i-=360),i}},{key:"vectorToSpeed",value:function(t,e,n){var r=Math.sqrt(Math.pow(t,2)+Math.pow(e,2));return"k/h"===n?3.6*r:"kt"===n?r/.514:r}},{key:"closeWind",value:function(){this._closeEvent(),this.removeToolTip(),this.map.removeLayer(this.windLayer),delete this.windLayer,this.windLayer=null}}]),t}(),B=n("bb7e"),D=function(){function t(e,n,i,o){Object(r.a)(this,t),this.map=o.map,this.tlayer=o,this.drawTool=new u.DrawTool({mode:e,symbol:{lineColor:"#E40D56",lineWidth:2,lineDasharray:[5,5],polygonFill:"#E40D56",polygonOpacity:.2}}).addTo(this.map).enable(),this.toolLayer=this.map.getLayer("toolLayer"),this.toolLayer||(this.toolLayer=new u.VectorLayer("toolLayer",{geometryEvents:!1,hitDetect:!1}).addTo(this.map)),this._drawEnd=n,this._bindEvent(),this.geometry=null,this.mode=e,this.type="drawTool",B.a.setPointEventStatus(o,!1)}return Object(i.a)(t,[{key:"_bindEvent",value:function(){this.drawTool.on("drawend",this.drawEnd,this)}},{key:"_closeEvent",value:function(){this.drawTool.off("drawend",this.drawEnd,this)}},{key:"drawEnd",value:function(t){this.toolLayer&&this.toolLayer.addGeometry(t.geometry),this._drawEnd&&("Circle"===this.mode?this._drawEnd(t.geometry.getCoordinates(),t.geometry.getRadius()):this._drawEnd(t.geometry.getCoordinates())),this.geometry=t.geometry}},{key:"disableTool",value:function(){this.drawTool.disable(),B.a.setPointEventStatus(this.tlayer,!0)}},{key:"clearGeometry",value:function(){this.toolLayer&&this.toolLayer.clear()}},{key:"setMode",value:function(t,e){B.a.setPointEventStatus(this.tlayer,!1),this._drawEnd&&delete this._drawEnd,this._drawEnd=e,this.drawTool.setMode(t).enable(),this.mode=t}},{key:"startEdit",value:function(){this.disableTool(),this.geometry&&this.geometry.startEdit()}},{key:"endEdit",value:function(t){this.geometry&&(this.geometry.endEdit(),t&&("Circle"===this.mode?t(this.geometry.getCoordinates(),this.geometry.getRadius()):t(this.geometry.getCoordinates())))}},{key:"dispose",value:function(){this._closeEvent(),this._drawEnd&&delete this._drawEnd,this.geometry&&delete this.geometry,this.map.removeLayer(this.toolLayer),delete this.toolLayer,delete this.drawTool}}]),t}(),F=function(){function t(e,n){Object(r.a)(this,t),this.tlayer=n,this.map=n.map,this.distanceTool=new u.DistanceTool({symbol:{lineColor:"#34495e",lineWidth:2},vertexSymbol:{markerType:"ellipse",markerFill:"#1bbc9b",markerLineColor:"#000",markerLineWidth:3,markerWidth:10,markerHeight:10},labelOptions:{textSymbol:{textFaceName:"monospace",textFill:"#fff",textLineSpacing:1,textHorizontalAlignment:"right",textDx:15,markerLineColor:"#b4b3b3",markerFill:"#000"},boxStyle:{padding:[6,2],symbol:{markerType:"square",markerFill:"#000",markerFillOpacity:.9,markerLineColor:"#b4b3b3"}}},clearButtonSymbol:[{markerType:"square",markerFill:"#000",markerLineColor:"#b4b3b3",markerLineWidth:2,markerWidth:15,markerHeight:15,markerDx:20},{markerType:"x",markerWidth:10,markerHeight:10,markerLineColor:"#fff",markerDx:20}],language:"zh-CN"}).addTo(this.map),B.a.setPointEventStatus(n,!1)}return Object(i.a)(t,[{key:"dispose",value:function(){this.distanceTool&&(this.distanceTool.clear(),delete this.distanceTool),this.tlayer=null,this.map=null}},{key:"disable",value:function(){this.distanceTool.disable(),B.a.setPointEventStatus(this.tlayer,!0)}},{key:"enable",value:function(){B.a.setPointEventStatus(this.tlayer,!1),this.distanceTool.enable()}},{key:"clear",value:function(){this.distanceTool.clear()}}]),t}(),U=(n("8745"),n("d3f4")),j=n.n(U),N=n("8b15"),G={fontSize:20,altitude:0,color:"#fff",text:"hello",weight:0,zoomFilter:!1},z={positionsConvert:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=[],i=0,o=t.length;i<o;i+=3){var a=t[i],s=t[i+1],u=t[i+2];e>0&&(u+=n.distanceToVector3(e,e).x),r.push(new c.Vector3(a,s,u))}return r},vectors2Pixel:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4?arguments[4]:void 0;t[0]instanceof c.Vector3||(t=z.positionsConvert(t,r,i));var o=t.map((function(t){return z.vector2Pixel(t,e,n)}));return o},vector2Pixel:function(t,e,n){var r=t.project(n),i=e.width/2,o=e.height/2;return{x:Math.round(r.x*i+i),y:Math.round(-r.y*o+o)}}},H=function(t){Object(S.a)(n,t);var e=Object(A.a)(n);function n(t,i,o){var a;Object(r.a)(this,n),i=u.Util.extend({},G,i,{layer:o,position:t}),(a=e.call(this))._initOptions(i);var s=i,l=(s.altitude,s.fontSize),h=s.color,f=s.text,d=s.rotation,p=d*(Math.PI/180);a._createGroup();var m=new N.SpriteText2D(f,{align:N.textAlign.center,font:"".concat(2*l,"px Arial"),fillStyle:h,antialias:!1});m.children[0].material.sizeAttenuation=!1,m.children[0].material.rotation=p;var g=.001/3;return m.scale.set(g,g,g),a.getObject3d().add(m),a.getObject3d().name=d,a.getObject3d().position.copy(t),a.textRect={width:a.calTextWidth(f,l)+3*l,height:l+3*l},a._vector=new c.Vector3,a._pixel={x:0,y:0},a}return Object(i.a)(n,[{key:"getTextRect",value:function(){this.getPixel();var t=this._pixel,e=t.x,n=t.y,r=this.textRect,i=r.width,o=r.height;return{minX:e-i/2,minY:n-o/2,maxX:e+i/2,maxY:n+o/2}}},{key:"calTextWidth",value:function(t,e){var n=(t.match(/[\u4e00-\u9fa5]/g)||"").length;return n*e+.5*(t.length-n)*e}},{key:"getPixel",value:function(){var t=this.getMap().getSize(),e=this.getLayer().getCamera(),n=this.getObject3d().position;this._vector.x=n.x,this._vector.y=n.y,this._vector.z=n.z,this._pixel=z.vector2Pixel(this._vector,t,e)}},{key:"identify",value:function(t){var e=this.getTextRect(),n=e.minX,r=e.minY,i=e.maxX,o=e.maxY,a=this.getMap().coordToContainerPoint(t);return a.x>=n&&a.x<=i&&a.y>=r&&a.y<=o}}]),n}(C.a),W={radius:100,altitude:0},V=function(t){Object(S.a)(n,t);var e=Object(A.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n),i=u.Util.extend({},W,i,{layer:a,coordinate:t}),(s=e.call(this))._initOptions(i);var l=i,h=l.altitude,f=l.radius,d=a.distanceToVector3(f,f).x,p=new c.CircleBufferGeometry(d,128,0,90*Math.PI/180);s._createMesh(p,o);var m=a.distanceToVector3(h,h).x,g=a.coordinateToVector3(t,m);return s.getObject3d().position.copy(g),s}return Object(i.a)(n)}(C.a),Z=function(){function t(e,n,i,o,a){var s=this;Object(r.a)(this,t),this.threelayer=a,this.map=a.map,this.all_cirles=[],this.rItems={},this.all_texts={},this.all_sectors={},this.textSprites=[],this.rbush=new j.a,this.material=new c.MeshBasicMaterial({color:"#233F75",transparent:!0,opacity:.5,depthTest:!1}),this.vector_circle_layer=this.map.getLayer("vector_circle"),this.vector_circle_layer||(this.vector_circle_layer=new u.VectorLayer("vector_circle",{geometryEvents:!1,hitDetect:!1}).addTo(a.map)),this.sector=null;for(var l=this.threelayer.coordinateToVector3([e,n],0),h=(new c.Matrix4).makeTranslation(l.x,l.y,l.z),f=1e3;f<=1e4;f+=1e3){this.createLine([e,n],f);var d=this.threelayer.distanceToVector3(f,f).x;this.rItems[f]=d,this.all_texts[f]=[]}for(var p=this.vector_circle_layer.getGeometries(),m=0;m<p.length;m++)this.all_cirles.push(p[m]);for(var g=3;g<=360;){for(var v in this.rItems){var y=this.createLabel("".concat(v/1e3,"km"),g,this.rItems[v],h,5,a);this.all_texts[v].push(y)}g+=24}var _=this.createParty(e,n,3e3);this.all_sectors[3e3]=_;var x=this.createParty(e,n,5e3);this.all_sectors[5e3]=x;var b=this.createParty(e,n,1e4);this.all_sectors[1e4]=b,this.vector_circle_layer.clear();for(var w=i/1e3,M=void 0,S=0;S<w;S++){var A=this.all_texts[1e3*(S+1)];A&&A.forEach((function(t){s.textSprites.push(t)})),this.vector_circle_layer.addGeometry(this.all_cirles[S]),S===w-1&&(M=this.all_cirles[S])}if(this.vector_circle_layer.options.visible=!0,this.threelayer.addMesh(this.textSprites),o.rotation){var C=this.all_sectors[i],E=this.calDirection(o.rotation);C.object3d.rotation.z=E*Math.PI/180,this.threelayer.addMesh(C),this.sector=C}this.collides(),this._bindEvent(),o.callback&&o.callback(M)}return Object(i.a)(t,[{key:"update",value:function(t,e,n,r){var i=this;this._closeEvent();var o=this.threelayer.coordinateToVector3([t,e],0),a=(new c.Matrix4).makeTranslation(o.x,o.y,o.z);this.all_cirles.forEach((function(n){n.setCoordinates([t,e])}));for(var s=3,u=0;s<=360;){for(var l in this.rItems){var h=this.getPsVec(s,this.rItems[l],a);this.all_texts[l][u].object3d.position.copy(h)}s+=24,u+=1}for(var f in this.all_sectors)this.all_sectors[f].object3d.position.copy(o);this.threelayer.removeMesh(this.textSprites),this.textSprites=[],this.vector_circle_layer.clear(),this.threelayer.removeMesh(this.sector);for(var d=n/1e3,p=void 0,m=0;m<d;m++){var g=this.all_texts[1e3*(m+1)];g&&g.forEach((function(t){i.textSprites.push(t)})),this.vector_circle_layer.addGeometry(this.all_cirles[m]),m===d-1&&(p=this.all_cirles[m])}if(this.vector_circle_layer.show(),this.threelayer.addMesh(this.textSprites),r.rotation){var v=this.all_sectors[n],y=this.calDirection(r.rotation);v.object3d.rotation.z=y*Math.PI/180,this.threelayer.addMesh(v),this.sector=v}this.collides(),this._bindEvent(),r.callback&&r.callback(p)}},{key:"_bindEvent",value:function(){this.map.on("zooming zoomend moveend animateend",this.circleTextOn,this),this.map.on("rotate",this.circleTextRotationOn,this)}},{key:"_closeEvent",value:function(){this.map.off("zooming zoomend moveend animateend",this.circleTextOn,this),this.map.off("rotate",this.circleTextRotationOn,this)}},{key:"circleTextOn",value:function(){this.textSprites.sort((function(t,e){return e.getOptions().weight-t.getOptions().weight})),this.collides()}},{key:"circleTextRotationOn",value:function(){for(var t=0;t<this.textSprites.length;t++)this.textSprites[t].object3d.children[0].material.rotation=(parseFloat(this.textSprites[t].object3d.name)+this.map.getBearing())*(Math.PI/180);this.textSprites.sort((function(t,e){return e.getOptions().weight-t.getOptions().weight})),this.collides()}},{key:"dispose",value:function(){for(var t in this._closeEvent(),this.all_cirles=[],this.rItems)delete this.rItems[t];for(var e in this.threelayer.removeMesh(this.textSprites),this.sector&&this.threelayer.removeMesh(this.sector),this.rbush.clear(),delete this.rbush,this.textSprites=[],this.all_texts)this.all_texts[e].forEach((function(t){t.object3d.children[0].sprite&&t.object3d.children[0].sprite.geometry&&t.object3d.children[0].sprite.geometry.dispose(),t.object3d.children[0].material&&t.object3d.children[0].material.dispose(),t.object3d.children[0].texture&&t.object3d.children[0].texture.dispose()})),delete this.all_texts[e];for(var n in this.sector=null,this.all_sectors){var r=this.all_sectors[n];r.object3d.geometry&&r.object3d.geometry.dispose(),delete this.all_sectors[n]}this.material&&this.material.dispose(),this.map.removeLayer(this.vector_circle_layer)}},{key:"createLine",value:function(t,e){1e3===e?new u.Circle(t,e,{symbol:{lineColor:"#1bbc9b",lineWidth:1,lineOpacity:1,polygonFill:"#1bbc9b",polygonOpacity:0}}).addTo(this.vector_circle_layer):new u.Circle(t,e,{symbol:{lineColor:"#1bbc9b",lineWidth:1,lineDasharray:[5,5,5],lineOpacity:1,polygonFill:"#1bbc9b",polygonOpacity:0}}).addTo(this.vector_circle_layer)}},{key:"createParty",value:function(t,e,n){return new V([t,e],{radius:n,interactive:!1},this.material,this.threelayer)}},{key:"createLabel",value:function(t,e,n,r,i,o){var a=this.getArrowPs(e,1),s=this.getPsVec(e,n,r),c=new H(s,{text:t,color:"white",fontSize:18,weight:i,interactive:!1,rotation:a.rotation,minZoom:11},o);return c.object3d.renderOrder=3,c}},{key:"collides",value:function(){this.rbush.clear();for(var t=0,e=this.textSprites.length;t<e;t++){var n=this.textSprites[t],r=n.getTextRect();this.rbush.collides(r)?n.hide():(n.show(),this.rbush.insert(r))}}},{key:"getPsVec",value:function(t,e,n){var r=t*(Math.PI/180),i=new c.Vector3(Math.sin(r)*e,Math.cos(r)*e,0);return i=i.applyMatrix4(n)}},{key:"calDirection",value:function(t){return t<=22.5&&t>337.5?45:t<=67.5&&t>22.5?0:t<=112.5&&t>67.5?315:t<=157.5&&t>112.5?270:t<=202.5&&t>157.5?225:t<=247.5&&t>202.5?180:t<=292.5&&t>247.5?135:t<=337.5&&t>292.5?90:0}},{key:"getArrowPs",value:function(t,e){var n=0;return t<=90?n=-t:t>90&&t<=180||t>180&&t<=270?n=180-t:t>270&&t<360&&(n=360-t),{rotation:n}}}]),t}(),Q={altitude:0,height:0},X=function(t){Object(S.a)(n,t);var e=Object(A.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n),t=u.Util.extend({},Q,t,{layer:a}),s=e.call(this);var c=t;return c.width,c.height,c.altitude,s._initOptions(t),s._createMesh(i,o),s}return Object(i.a)(n)}(C.a),Y={computeTangents:function(t){t.computeTangents(),console.warn("THREE.BufferGeometryUtils: .computeTangents() has been removed. Use BufferGeometry.computeTangents() instead.")},mergeBufferGeometries:function(t,e){for(var n=null!==t[0].index,r=new Set(Object.keys(t[0].attributes)),i=new Set(Object.keys(t[0].morphAttributes)),o={},a={},s=t[0].morphTargetsRelative,u=new c.BufferGeometry,l=0,h=0;h<t.length;++h){var f=t[h],d=0;if(n!==(null!==f.index))return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+h+". All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them."),null;for(var p in f.attributes){if(!r.has(p))return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+h+'. All geometries must have compatible attributes; make sure "'+p+'" attribute exists among all geometries, or in none of them.'),null;void 0===o[p]&&(o[p]=[]),o[p].push(f.attributes[p]),d++}if(d!==r.size)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+h+". Make sure all geometries have the same number of attributes."),null;if(s!==f.morphTargetsRelative)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+h+". .morphTargetsRelative must be consistent throughout all geometries."),null;for(var p in f.morphAttributes){if(!i.has(p))return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+h+". .morphAttributes must be consistent throughout all geometries."),null;void 0===a[p]&&(a[p]=[]),a[p].push(f.morphAttributes[p])}if(u.userData.mergedUserData=u.userData.mergedUserData||[],u.userData.mergedUserData.push(f.userData),e){var m;if(n)m=f.index.count;else{if(void 0===f.attributes.position)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+h+". The geometry must have either an index or a position attribute"),null;m=f.attributes.position.count}u.addGroup(l,m,h),l+=m}}if(n){var g=0,v=[];for(h=0;h<t.length;++h){for(var y=t[h].index,_=0;_<y.count;++_)v.push(y.getX(_)+g);g+=t[h].attributes.position.count}u.setIndex(v)}for(var p in o){var x=this.mergeBufferAttributes(o[p]);if(!x)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed while trying to merge the "+p+" attribute."),null;u.setAttribute(p,x)}for(var p in a){var b=a[p][0].length;if(0===b)break;for(u.morphAttributes=u.morphAttributes||{},u.morphAttributes[p]=[],h=0;h<b;++h){var w=[];for(_=0;_<a[p].length;++_)w.push(a[p][_][h]);var M=this.mergeBufferAttributes(w);if(!M)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed while trying to merge the "+p+" morphAttribute."),null;u.morphAttributes[p].push(M)}}return u},mergeBufferAttributes:function(t){for(var e,n,r,i=0,o=0;o<t.length;++o){var a=t[o];if(a.isInterleavedBufferAttribute)return console.error("THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. InterleavedBufferAttributes are not supported."),null;if(void 0===e&&(e=a.array.constructor),e!==a.array.constructor)return console.error("THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. BufferAttribute.array must be of consistent array types across matching attributes."),null;if(void 0===n&&(n=a.itemSize),n!==a.itemSize)return console.error("THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. BufferAttribute.itemSize must be consistent across matching attributes."),null;if(void 0===r&&(r=a.normalized),r!==a.normalized)return console.error("THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. BufferAttribute.normalized must be consistent across matching attributes."),null;i+=a.array.length}var s=new e(i),u=0;for(o=0;o<t.length;++o)s.set(t[o].array,u),u+=t[o].array.length;return new c.BufferAttribute(s,n,r)},interleaveAttributes:function(t){for(var e,n=0,r=0,i=0,o=t.length;i<o;++i){var a=t[i];if(void 0===e&&(e=a.array.constructor),e!==a.array.constructor)return console.error("AttributeBuffers of different types cannot be interleaved"),null;n+=a.array.length,r+=a.itemSize}var s=new c.InterleavedBuffer(new e(n),r),u=0,l=[],h=["getX","getY","getZ","getW"],f=["setX","setY","setZ","setW"],d=0;for(o=t.length;d<o;d++){var p=(a=t[d]).itemSize,m=a.count,g=new c.InterleavedBufferAttribute(s,p,u,a.normalized);l.push(g),u+=p;for(var v=0;v<m;v++)for(var y=0;y<p;y++)g[f[y]](v,a[h[y]](v))}return l},estimateBytesUsed:function(t){var e=0;for(var n in t.attributes){var r=t.getAttribute(n);e+=r.count*r.itemSize*r.array.BYTES_PER_ELEMENT}var i=t.getIndex();return e+=i?i.count*i.itemSize*i.array.BYTES_PER_ELEMENT:0},mergeVertices:function(t,e=1e-4){e=Math.max(e,Number.EPSILON);for(var n={},r=t.getIndex(),i=t.getAttribute("position"),o=r?r.count:i.count,a=0,s=Object.keys(t.attributes),u={},l={},h=[],f=["getX","getY","getZ","getW"],d=0,p=s.length;d<p;d++){var m=s[d];u[m]=[];var g=t.morphAttributes[m];g&&(l[m]=new Array(g.length).fill().map(()=>[]))}var v=Math.log10(1/e),y=Math.pow(10,v);for(d=0;d<o;d++){var _=r?r.getX(d):d,x="",b=0;for(p=s.length;b<p;b++){m=s[b];for(var w=t.getAttribute(m),M=w.itemSize,S=0;S<M;S++)x+=~~(w[f[S]](_)*y)+","}if(x in n)h.push(n[x]);else{for(b=0,p=s.length;b<p;b++){m=s[b],w=t.getAttribute(m),g=t.morphAttributes[m],M=w.itemSize;var A=u[m],C=l[m];for(S=0;S<M;S++){var E=f[S];if(A.push(w[E](_)),g)for(var T=0,I=g.length;T<I;T++)C[T].push(g[T][E](_))}}n[x]=a,h.push(a),a++}}const L=t.clone();for(d=0,p=s.length;d<p;d++){m=s[d];var P=t.getAttribute(m),R=new P.array.constructor(u[m]);if(w=new c.BufferAttribute(R,P.itemSize,P.normalized),L.setAttribute(m,w),m in l)for(b=0;b<l[m].length;b++){var O=t.morphAttributes[m][b],k=(R=new O.array.constructor(l[m][b]),new c.BufferAttribute(R,O.itemSize,O.normalized));L.morphAttributes[m][b]=k}}return L.setIndex(h),L},toTrianglesDrawMode:function(t,e){if(e===c.TrianglesDrawMode)return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."),t;if(e===c.TriangleFanDrawMode||e===c.TriangleStripDrawMode){var n=t.getIndex();if(null===n){var r=[],i=t.getAttribute("position");if(void 0===i)return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),t;for(var o=0;o<i.count;o++)r.push(o);t.setIndex(r),n=t.getIndex()}var a=n.count-2,s=[];if(e===c.TriangleFanDrawMode)for(o=1;o<=a;o++)s.push(n.getX(0)),s.push(n.getX(o)),s.push(n.getX(o+1));else for(o=0;o<a;o++)o%2==0?(s.push(n.getX(o)),s.push(n.getX(o+1)),s.push(n.getX(o+2))):(s.push(n.getX(o+2)),s.push(n.getX(o+1)),s.push(n.getX(o)));s.length/3!==a&&console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.");var u=t.clone();return u.setIndex(s),u.clearGroups(),u}return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",e),t},computeMorphedAttributes:function(t){if(!0!==t.geometry.isBufferGeometry)return console.error("THREE.BufferGeometryUtils: Geometry is not of type BufferGeometry."),null;var e=new c.Vector3,n=new c.Vector3,r=new c.Vector3,i=new c.Vector3,o=new c.Vector3,a=new c.Vector3,s=new c.Vector3,u=new c.Vector3,l=new c.Vector3;function h(t,c,h,f,d,p,m,g,v){e.fromBufferAttribute(h,p),n.fromBufferAttribute(h,m),r.fromBufferAttribute(h,g);var y=t.morphTargetInfluences;if(c.morphTargets&&f&&y){s.set(0,0,0),u.set(0,0,0),l.set(0,0,0);for(var _=0,x=f.length;_<x;_++){var b=y[_],w=f[_];0!==b&&(i.fromBufferAttribute(w,p),o.fromBufferAttribute(w,m),a.fromBufferAttribute(w,g),d?(s.addScaledVector(i,b),u.addScaledVector(o,b),l.addScaledVector(a,b)):(s.addScaledVector(i.sub(e),b),u.addScaledVector(o.sub(n),b),l.addScaledVector(a.sub(r),b)))}e.add(s),n.add(u),r.add(l)}t.isSkinnedMesh&&(t.boneTransform(p,e),t.boneTransform(m,n),t.boneTransform(g,r)),v[3*p+0]=e.x,v[3*p+1]=e.y,v[3*p+2]=e.z,v[3*m+0]=n.x,v[3*m+1]=n.y,v[3*m+2]=n.z,v[3*g+0]=r.x,v[3*g+1]=r.y,v[3*g+2]=r.z}var f,d,p,m,g,v,y,_,x,b=t.geometry,w=t.material,M=b.index,S=b.attributes.position,A=b.morphAttributes.position,C=b.morphTargetsRelative,E=b.attributes.normal,T=b.morphAttributes.position,I=b.groups,L=b.drawRange,P=new Float32Array(S.count*S.itemSize),R=new Float32Array(E.count*E.itemSize);if(null!==M)if(Array.isArray(w))for(m=0,v=I.length;m<v;m++)for(x=w[(_=I[m]).materialIndex],g=Math.max(_.start,L.start),y=Math.min(_.start+_.count,L.start+L.count);g<y;g+=3)h(t,x,S,A,C,f=M.getX(g),d=M.getX(g+1),p=M.getX(g+2),P),h(t,x,E,T,C,f,d,p,R);else for(m=Math.max(0,L.start),v=Math.min(M.count,L.start+L.count);m<v;m+=3)h(t,w,S,A,C,f=M.getX(m),d=M.getX(m+1),p=M.getX(m+2),P),h(t,w,E,T,C,f,d,p,R);else if(void 0!==S)if(Array.isArray(w))for(m=0,v=I.length;m<v;m++)for(x=w[(_=I[m]).materialIndex],g=Math.max(_.start,L.start),y=Math.min(_.start+_.count,L.start+L.count);g<y;g+=3)h(t,x,S,A,C,f=g,d=g+1,p=g+2,P),h(t,x,E,T,C,f,d,p,R);else for(m=Math.max(0,L.start),v=Math.min(S.count,L.start+L.count);m<v;m+=3)h(t,w,S,A,C,f=m,d=m+1,p=m+2,P),h(t,w,E,T,C,f,d,p,R);return{positionAttribute:S,normalAttribute:E,morphedPositionAttribute:new c.Float32BufferAttribute(P,3),morphedNormalAttribute:new c.Float32BufferAttribute(R,3)}}},J=n("faa4"),q=function(){function t(e,n,i){var o=this;Object(r.a)(this,t);var a=n.width||64,s=e.length>100?100:e.length,u=new c.PlaneBufferGeometry(a,a);this.texture=this._createBackGround(a),this.radius=a/3;var l,h=new c.MeshStandardMaterial({map:this.texture}),f=[];this.impacts=[],this.tweens=[],e.slice(0,s).map((function(t){var e=u.clone(),n=i.coordinateToVector3(t,0),r=(new c.Matrix4).makeTranslation(n.x,n.y,n.z);e.applyMatrix4(r),f.push(e),o.impacts.push({impactPosition:new c.Vector3(0,0,0).applyMatrix4(r),impactMaxRadius:o.radius,impactRatio:1})})),h.onBeforeCompile=function(t){t.uniforms.impacts={value:o.impacts},t.uniforms.impactRadius={value:a/2},t.vertexShader="varying vec3 vPosition;\n"+t.vertexShader,t.vertexShader=t.vertexShader.replace("#include <worldpos_vertex>","#include <worldpos_vertex>\n vPosition = transformed.xyz;"),t.fragmentShader="struct impact {\n vec3 impactPosition;\n float impactMaxRadius;\n float impactRatio;\n };\n uniform impact impacts[".concat(s,"];\n uniform float impactRadius;\n varying vec3 vPosition;\n ")+t.fragmentShader,t.fragmentShader=t.fragmentShader.replace("#include <dithering_fragment>","#include <dithering_fragment>\n float finalStep = 0.0;\n for (int i = 0; i < ".concat(s,";i++){\n \n float dist = distance(vPosition, impacts[i].impactPosition);\n //float curRadius = impacts[i].impactMaxRadius * impacts[i].impactRatio;\n float curRadius = impactRadius * impacts[i].impactRatio;\n float sstep = smoothstep(0., curRadius, dist) - smoothstep(curRadius - ( 0.25 * impacts[i].impactRatio ), curRadius, dist);\n sstep *= 1. - impacts[i].impactRatio;\n finalStep += sstep;\n\n }\n finalStep = 1. - clamp(finalStep, 0., 1.);\n\n //vec3 col = mix(vec3(1., 0.5, 0.0625), vec3(1.,0.125, 0.0625), finalStep);\n vec3 col = mix(vec3(1.,0., 0.), vec3(1.,0., 0.), finalStep);\n gl_FragColor = vec4( mix( col, gl_FragColor.rgb, finalStep), diffuseColor.a );")),l=t,o.materialShader=t};var d=Y.mergeBufferGeometries(f),p=new X({interactive:!1},d,h,i);i.addMesh(p),this.map=i.map,this.curscale=this.map.getScale();for(var m=this,g=function(t){o.tweens.push({runTween:function(){new J.a({value:0}).to({value:1},c.Math.randInt(2500,5e3)).delay(c.Math.randInt(500,2e3)).onUpdate((function(e){l&&l.uniforms.impacts.value[t]&&(l.uniforms.impacts.value[t].impactRatio=e.value)})).onComplete((function(){var e;null===(e=m.tweens[t])||void 0===e||e.runTween()})).start()}})},v=0;v<s;v++)g(v);this.tweens.forEach((function(t){t.runTween()})),this.width=a,this.shockMeshs=p,this.threelayer=i,this.points=e,this._geom=u,this._bindMapEvents()}return Object(i.a)(t,[{key:"_bindMapEvents",value:function(){this.map&&this.map.on("zooming zoomend",this._setSizeOn,this)}},{key:"_closeEvent",value:function(){this.map&&this.map.off("zooming zoomend",this._setSizeOn,this)}},{key:"_setSizeOn",value:function(){if(this.materialShader){var t=this.map.getScale()/this.curscale;t=(t=t>1?1:t)<.5?.5:t,this.materialShader.uniforms.impactRadius.value=this.radius*t}}},{key:"_createBackGround",value:function(t){var e=document.createElement("canvas");e.width=e.height=t;var n=e.getContext("2d");n.globalCompositeOperation,n.globalAlpha=0,n.fillRect(0,0,e.width,e.height);var r=new c.Texture(e);return r.needsUpdate=!0,r}},{key:"hide",value:function(){this.shockMeshs&&this.threelayer.removeMesh(this.shockMeshs)}},{key:"show",value:function(){this.shockMeshs&&this.threelayer.addMesh(this.shockMeshs)}},{key:"dispose",value:function(){if(this.shockMeshs&&(this.threelayer.removeMesh(this.shockMeshs),this.shockMeshs.object3d.geometry&&this.shockMeshs.object3d.geometry.dispose(),delete this.shockMeshs,this.texture&&this.texture.dispose(),this.material&&(this.material.dispose(),delete this.material)),this.tweens.length>0){for(var t=0;t<this.tweens.length;t++)delete this.tweens[t];this.tweens=[]}if(this.impacts.length>0){for(var e=0;e<this.impacts.length;e++)delete this.impacts[e];this.impacts=[]}this._geom&&(this._geom.dispose(),delete this._geom),this._closeEvent(),this.points=[],this.materialShader&&delete this.materialShader,this.map=null}}]),t}();n("00e2"),c.UniformsLib.line={linewidth:{value:1},resolution:{value:new c.Vector2(1,1)},dashScale:{value:1},dashSize:{value:1},dashOffset:{value:0},gapSize:{value:1},opacity:{value:1}},c.ShaderLib.line={uniforms:c.UniformsUtils.merge([c.UniformsLib.common,c.UniformsLib.fog,c.UniformsLib.line]),vertexShader:"\n\t\t#include <common>\n\t\t#include <color_pars_vertex>\n\t\t#include <fog_pars_vertex>\n\t\t#include <logdepthbuf_pars_vertex>\n\t\t#include <clipping_planes_pars_vertex>\n\n\t\tuniform float linewidth;\n\t\tuniform vec2 resolution;\n\n\t\tattribute vec3 instanceStart;\n\t\tattribute vec3 instanceEnd;\n\n\t\tattribute vec3 instanceColorStart;\n\t\tattribute vec3 instanceColorEnd;\n\n\t\tvarying vec2 vUv;\n\n\t\t#ifdef USE_DASH\n\n\t\t\tuniform float dashScale;\n\t\t\tattribute float instanceDistanceStart;\n\t\t\tattribute float instanceDistanceEnd;\n\t\t\tvarying float vLineDistance;\n\n\t\t#endif\n\n\t\tvoid trimSegment( const in vec4 start, inout vec4 end ) {\n\n\t\t\t// trim end segment so it terminates between the camera plane and the near plane\n\n\t\t\t// conservative estimate of the near plane\n\t\t\tfloat a = projectionMatrix[ 2 ][ 2 ]; // 3nd entry in 3th column\n\t\t\tfloat b = projectionMatrix[ 3 ][ 2 ]; // 3nd entry in 4th column\n\t\t\tfloat nearEstimate = - 0.5 * b / a;\n\n\t\t\tfloat alpha = ( nearEstimate - start.z ) / ( end.z - start.z );\n\n\t\t\tend.xyz = mix( start.xyz, end.xyz, alpha );\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\t#ifdef USE_COLOR\n\n\t\t\t\tvColor.xyz = ( position.y < 0.5 ) ? instanceColorStart : instanceColorEnd;\n\n\t\t\t#endif\n\n\t\t\t#ifdef USE_DASH\n\n\t\t\t\tvLineDistance = ( position.y < 0.5 ) ? dashScale * instanceDistanceStart : dashScale * instanceDistanceEnd;\n\n\t\t\t#endif\n\n\t\t\tfloat aspect = resolution.x / resolution.y;\n\n\t\t\tvUv = uv;\n\n\t\t\t// camera space\n\t\t\tvec4 start = modelViewMatrix * vec4( instanceStart, 1.0 );\n\t\t\tvec4 end = modelViewMatrix * vec4( instanceEnd, 1.0 );\n\n\t\t\t// special case for perspective projection, and segments that terminate either in, or behind, the camera plane\n\t\t\t// clearly the gpu firmware has a way of addressing this issue when projecting into ndc space\n\t\t\t// but we need to perform ndc-space calculations in the shader, so we must address this issue directly\n\t\t\t// perhaps there is a more elegant solution -- WestLangley\n\n\t\t\tbool perspective = ( projectionMatrix[ 2 ][ 3 ] == - 1.0 ); // 4th entry in the 3rd column\n\n\t\t\tif ( perspective ) {\n\n\t\t\t\tif ( start.z < 0.0 && end.z >= 0.0 ) {\n\n\t\t\t\t\ttrimSegment( start, end );\n\n\t\t\t\t} else if ( end.z < 0.0 && start.z >= 0.0 ) {\n\n\t\t\t\t\ttrimSegment( end, start );\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t// clip space\n\t\t\tvec4 clipStart = projectionMatrix * start;\n\t\t\tvec4 clipEnd = projectionMatrix * end;\n\n\t\t\t// ndc space\n\t\t\tvec2 ndcStart = clipStart.xy / clipStart.w;\n\t\t\tvec2 ndcEnd = clipEnd.xy / clipEnd.w;\n\n\t\t\t// direction\n\t\t\tvec2 dir = ndcEnd - ndcStart;\n\n\t\t\t// account for clip-space aspect ratio\n\t\t\tdir.x *= aspect;\n\t\t\tdir = normalize( dir );\n\n\t\t\t// perpendicular to dir\n\t\t\tvec2 offset = vec2( dir.y, - dir.x );\n\n\t\t\t// undo aspect ratio adjustment\n\t\t\tdir.x /= aspect;\n\t\t\toffset.x /= aspect;\n\n\t\t\t// sign flip\n\t\t\tif ( position.x < 0.0 ) offset *= - 1.0;\n\n\t\t\t// endcaps\n\t\t\tif ( position.y < 0.0 ) {\n\n\t\t\t\toffset += - dir;\n\n\t\t\t} else if ( position.y > 1.0 ) {\n\n\t\t\t\toffset += dir;\n\n\t\t\t}\n\n\t\t\t// adjust for linewidth\n\t\t\toffset *= linewidth;\n\n\t\t\t// adjust for clip-space to screen-space conversion // maybe resolution should be based on viewport ...\n\t\t\toffset /= resolution.y;\n\n\t\t\t// select end\n\t\t\tvec4 clip = ( position.y < 0.5 ) ? clipStart : clipEnd;\n\n\t\t\t// back to clip space\n\t\t\toffset *= clip.w;\n\n\t\t\tclip.xy += offset;\n\n\t\t\tgl_Position = clip;\n\n\t\t\tvec4 mvPosition = ( position.y < 0.5 ) ? start : end; // this is an approximation\n\n\t\t\t#include <logdepthbuf_vertex>\n\t\t\t#include <clipping_planes_vertex>\n\t\t\t#include <fog_vertex>\n\n\t\t}\n\t\t",fragmentShader:"\n\t\tuniform vec3 diffuse;\n\t\tuniform float opacity;\n\n\t\t#ifdef USE_DASH\n\n\t\t\tuniform float dashSize;\n\t\t\tuniform float dashOffset;\n\t\t\tuniform float gapSize;\n\n\t\t#endif\n\n\t\tvarying float vLineDistance;\n\n\t\t#include <common>\n\t\t#include <color_pars_fragment>\n\t\t#include <fog_pars_fragment>\n\t\t#include <logdepthbuf_pars_fragment>\n\t\t#include <clipping_planes_pars_fragment>\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\t#include <clipping_planes_fragment>\n\n\t\t\t#ifdef USE_DASH\n\n\t\t\t\tif ( vUv.y < - 1.0 || vUv.y > 1.0 ) discard; // discard endcaps\n\n\t\t\t\tif ( mod( vLineDistance + dashOffset, dashSize + gapSize ) > dashSize ) discard; // todo - FIX\n\n\t\t\t#endif\n\n\t\t\tfloat alpha = opacity;\n\n\t\t\t#ifdef ALPHA_TO_COVERAGE\n\n\t\t\t// artifacts appear on some hardware if a derivative is taken within a conditional\n\t\t\tfloat a = vUv.x;\n\t\t\tfloat b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;\n\t\t\tfloat len2 = a * a + b * b;\n\t\t\tfloat dlen = fwidth( len2 );\n\n\t\t\tif ( abs( vUv.y ) > 1.0 ) {\n\n\t\t\t\talpha = 1.0 - smoothstep( 1.0 - dlen, 1.0 + dlen, len2 );\n\n\t\t\t}\n\n\t\t\t#else\n\n\t\t\tif ( abs( vUv.y ) > 1.0 ) {\n\n\t\t\t\tfloat a = vUv.x;\n\t\t\t\tfloat b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;\n\t\t\t\tfloat len2 = a * a + b * b;\n\n\t\t\t\tif ( len2 > 1.0 ) discard;\n\n\t\t\t}\n\n\t\t\t#endif\n\n\t\t\tvec4 diffuseColor = vec4( diffuse, alpha );\n\n\t\t\t#include <logdepthbuf_fragment>\n\t\t\t#include <color_fragment>\n\n\t\t\tgl_FragColor = vec4( diffuseColor.rgb, alpha );\n\n\t\t\t#include <tonemapping_fragment>\n\t\t\t#include <encodings_fragment>\n\t\t\t#include <fog_fragment>\n\t\t\t#include <premultiplied_alpha_fragment>\n\n\t\t}\n\t\t"};var K=function(t){c.ShaderMaterial.call(this,{type:"LineMaterial",uniforms:c.UniformsUtils.clone(c.ShaderLib.line.uniforms),vertexShader:c.ShaderLib.line.vertexShader,fragmentShader:c.ShaderLib.line.fragmentShader,clipping:!0}),this.dashed=!1,Object.defineProperties(this,{color:{enumerable:!0,get:function(){return this.uniforms.diffuse.value},set:function(t){this.uniforms.diffuse.value=t}},linewidth:{enumerable:!0,get:function(){return this.uniforms.linewidth.value},set:function(t){this.uniforms.linewidth.value=t}},dashScale:{enumerable:!0,get:function(){return this.uniforms.dashScale.value},set:function(t){this.uniforms.dashScale.value=t}},dashSize:{enumerable:!0,get:function(){return this.uniforms.dashSize.value},set:function(t){this.uniforms.dashSize.value=t}},dashOffset:{enumerable:!0,get:function(){return this.uniforms.dashOffset.value},set:function(t){this.uniforms.dashOffset.value=t}},gapSize:{enumerable:!0,get:function(){return this.uniforms.gapSize.value},set:function(t){this.uniforms.gapSize.value=t}},opacity:{enumerable:!0,get:function(){return this.uniforms.opacity.value},set:function(t){this.uniforms.opacity.value=t}},resolution:{enumerable:!0,get:function(){return this.uniforms.resolution.value},set:function(t){this.uniforms.resolution.value.copy(t)}},alphaToCoverage:{enumerable:!0,get:function(){return Boolean("ALPHA_TO_COVERAGE"in this.defines)},set:function(t){Boolean(t)!==Boolean("ALPHA_TO_COVERAGE"in this.defines)&&(this.needsUpdate=!0),t?(this.defines.ALPHA_TO_COVERAGE="",this.extensions.derivatives=!0):(delete this.defines.ALPHA_TO_COVERAGE,this.extensions.derivatives=!1)}}}),this.setValues(t)};(K.prototype=Object.create(c.ShaderMaterial.prototype)).constructor=K,K.prototype.isLineMaterial=!0;var $=function(){c.InstancedBufferGeometry.call(this),this.type="LineSegmentsGeometry",this.setIndex([0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5]),this.setAttribute("position",new c.Float32BufferAttribute([-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],3)),this.setAttribute("uv",new c.Float32BufferAttribute([-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],2))};$.prototype=Object.assign(Object.create(c.InstancedBufferGeometry.prototype),{constructor:$,isLineSegmentsGeometry:!0,applyMatrix4:function(t){var e=this.attributes.instanceStart,n=this.attributes.instanceEnd;return void 0!==e&&(e.applyMatrix4(t),n.applyMatrix4(t),e.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this},setPositions:function(t){var e;t instanceof Float32Array?e=t:Array.isArray(t)&&(e=new Float32Array(t));var n=new c.InstancedInterleavedBuffer(e,6,1);return this.setAttribute("instanceStart",new c.InterleavedBufferAttribute(n,3,0)),this.setAttribute("instanceEnd",new c.InterleavedBufferAttribute(n,3,3)),this.computeBoundingBox(),this.computeBoundingSphere(),this},setColors:function(t){var e;t instanceof Float32Array?e=t:Array.isArray(t)&&(e=new Float32Array(t));var n=new c.InstancedInterleavedBuffer(e,6,1);return this.setAttribute("instanceColorStart",new c.InterleavedBufferAttribute(n,3,0)),this.setAttribute("instanceColorEnd",new c.InterleavedBufferAttribute(n,3,3)),this},fromWireframeGeometry:function(t){return this.setPositions(t.attributes.position.array),this},fromEdgesGeometry:function(t){return this.setPositions(t.attributes.position.array),this},fromMesh:function(t){return this.fromWireframeGeometry(new c.WireframeGeometry(t.geometry)),this},fromLineSegments:function(t){var e=t.geometry;if(!e.isGeometry)return e.isBufferGeometry&&this.setPositions(e.attributes.position.array),this;console.error("THREE.LineSegmentsGeometry no longer supports Geometry. Use THREE.BufferGeometry instead.")},computeBoundingBox:function(){var t=new c.Box3;return function(){null===this.boundingBox&&(this.boundingBox=new c.Box3);var e=this.attributes.instanceStart,n=this.attributes.instanceEnd;void 0!==e&&void 0!==n&&(this.boundingBox.setFromBufferAttribute(e),t.setFromBufferAttribute(n),this.boundingBox.union(t))}}(),computeBoundingSphere:function(){var t=new c.Vector3;return function(){null===this.boundingSphere&&(this.boundingSphere=new c.Sphere),null===this.boundingBox&&this.computeBoundingBox();var e=this.attributes.instanceStart,n=this.attributes.instanceEnd;if(void 0!==e&&void 0!==n){var r=this.boundingSphere.center;this.boundingBox.getCenter(r);for(var i=0,o=0,a=e.count;o<a;o++)t.fromBufferAttribute(e,o),i=Math.max(i,r.distanceToSquared(t)),t.fromBufferAttribute(n,o),i=Math.max(i,r.distanceToSquared(t));this.boundingSphere.radius=Math.sqrt(i),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}}}(),toJSON:function(){},applyMatrix:function(t){return console.warn("THREE.LineSegmentsGeometry: applyMatrix() has been renamed to applyMatrix4()."),this.applyMatrix4(t)}});var tt=function(){$.call(this),this.type="LineGeometry"};tt.prototype=Object.assign(Object.create($.prototype),{constructor:tt,isLineGeometry:!0,setPositions:function(t){for(var e=t.length-3,n=new Float32Array(2*e),r=0;r<e;r+=3)n[2*r]=t[r],n[2*r+1]=t[r+1],n[2*r+2]=t[r+2],n[2*r+3]=t[r+3],n[2*r+4]=t[r+4],n[2*r+5]=t[r+5];return $.prototype.setPositions.call(this,n),this},setColors:function(t){for(var e=t.length-3,n=new Float32Array(2*e),r=0;r<e;r+=3)n[2*r]=t[r],n[2*r+1]=t[r+1],n[2*r+2]=t[r+2],n[2*r+3]=t[r+3],n[2*r+4]=t[r+4],n[2*r+5]=t[r+5];return $.prototype.setColors.call(this,n),this},fromLine:function(t){var e=t.geometry;if(!e.isGeometry)return e.isBufferGeometry&&this.setPositions(e.attributes.position.array),this;console.error("THREE.LineGeometry no longer supports Geometry. Use THREE.BufferGeometry instead.")},copy:function(){return this}});var et={altitude:0,height:0},nt=function(t){Object(S.a)(n,t);var e=Object(A.a)(n);function n(t,i,o){var a;Object(r.a)(this,n),t=u.Util.extend({},et,t,{layer:o}),a=e.call(this);var s=t,l=s.width,h=s.height;s.altitude,a._initOptions(t);var f=new c.PlaneBufferGeometry(l,h);return a._createMesh(f,i),a}return Object(i.a)(n)}(C.a),rt=n("891d"),it=function(t,e){void 0===t&&(t=new $),void 0===e&&(e=new K({color:16777215*Math.random()})),c.Mesh.call(this,t,e),this.type="LineSegments2"};it.prototype=Object.assign(Object.create(c.Mesh.prototype),{constructor:it,isLineSegments2:!0,computeLineDistances:function(){var t=new c.Vector3,e=new c.Vector3;return function(){for(var n=this.geometry,r=n.attributes.instanceStart,i=n.attributes.instanceEnd,o=new Float32Array(2*r.count),a=0,s=0,u=r.count;a<u;a++,s+=2)t.fromBufferAttribute(r,a),e.fromBufferAttribute(i,a),o[s]=0===s?0:o[s-1],o[s+1]=o[s]+t.distanceTo(e);var l=new c.InstancedInterleavedBuffer(o,2,1);return n.setAttribute("instanceDistanceStart",new c.InterleavedBufferAttribute(l,1,0)),n.setAttribute("instanceDistanceEnd",new c.InterleavedBufferAttribute(l,1,1)),this}}(),raycast:function(){var t=new c.Vector4,e=new c.Vector4,n=new c.Vector4,r=new c.Vector3,i=new c.Matrix4,o=new c.Line3,a=new c.Vector3,s=new c.Box3,u=new c.Sphere,l=new c.Vector4;return function(h,f){null===h.camera&&console.error('LineSegments2: "Raycaster.camera" needs to be set in order to raycast against LineSegments2.');var d=void 0!==h.params.Line2&&h.params.Line2.threshold||0,p=h.ray,m=h.camera,g=m.projectionMatrix,v=this.matrixWorld,y=this.geometry,_=this.material,x=_.resolution,b=_.linewidth+d,w=y.attributes.instanceStart,M=y.attributes.instanceEnd,S=-m.near,A=2*Math.max(b/x.width,b/x.height);null===y.boundingSphere&&y.computeBoundingSphere(),u.copy(y.boundingSphere).applyMatrix4(v);var C=Math.max(m.near,u.distanceToPoint(p.origin));l.set(0,0,-C,1).applyMatrix4(m.projectionMatrix),l.multiplyScalar(1/l.w),l.applyMatrix4(m.projectionMatrixInverse);var E=.5*Math.abs(A/l.w);if(u.radius+=E,!1!==h.ray.intersectsSphere(u)){null===y.boundingBox&&y.computeBoundingBox(),s.copy(y.boundingBox).applyMatrix4(v);var T=Math.max(m.near,s.distanceToPoint(p.origin));l.set(0,0,-T,1).applyMatrix4(m.projectionMatrix),l.multiplyScalar(1/l.w),l.applyMatrix4(m.projectionMatrixInverse);var I=.5*Math.abs(A/l.w);if(s.max.x+=I,s.max.y+=I,s.max.z+=I,s.min.x-=I,s.min.y-=I,s.min.z-=I,!1!==h.ray.intersectsBox(s)){p.at(1,n),n.w=1,n.applyMatrix4(m.matrixWorldInverse),n.applyMatrix4(g),n.multiplyScalar(1/n.w),n.x*=x.x/2,n.y*=x.y/2,n.z=0,r.copy(n),i.multiplyMatrices(m.matrixWorldInverse,v);for(var L=0,P=w.count;L<P;L++)if(t.fromBufferAttribute(w,L),e.fromBufferAttribute(M,L),t.w=1,e.w=1,t.applyMatrix4(i),e.applyMatrix4(i),!(t.z>S&&e.z>S)){if(t.z>S){const n=t.z-e.z,r=(t.z-S)/n;t.lerp(e,r)}else if(e.z>S){const n=e.z-t.z,r=(e.z-S)/n;e.lerp(t,r)}t.applyMatrix4(g),e.applyMatrix4(g),t.multiplyScalar(1/t.w),e.multiplyScalar(1/e.w),t.x*=x.x/2,t.y*=x.y/2,e.x*=x.x/2,e.y*=x.y/2,o.start.copy(t),o.start.z=0,o.end.copy(e),o.end.z=0;var R=o.closestPointToPointParameter(r,!0);o.at(R,a);var O=c.MathUtils.lerp(t.z,e.z,R),k=O>=-1&&O<=1,B=r.distanceTo(a)<.5*b;if(k&&B){o.start.fromBufferAttribute(w,L),o.end.fromBufferAttribute(M,L),o.start.applyMatrix4(v),o.end.applyMatrix4(v);var D=new c.Vector3,F=new c.Vector3;p.distanceSqToSegment(o.start,o.end,F,D),f.push({point:F,pointOnLine:D,distance:p.origin.distanceTo(F),object:this,face:null,faceIndex:L,uv:null,uv2:null})}}}}}}()});var ot=function(t,e){void 0===t&&(t=new tt),void 0===e&&(e=new K({color:16777215*Math.random()})),it.call(this,t,e),this.type="Line2"};ot.prototype=Object.assign(Object.create(it.prototype),{constructor:ot,isLine2:!0});var at={radius:100,altitude:0},st=function(t){Object(S.a)(n,t);var e=Object(A.a)(n);function n(t,i,o,a,s){var c;Object(r.a)(this,n),i=u.Util.extend({},at,i,{layer:s,coordinate:t}),(c=e.call(this))._initOptions(i);var l=i.altitude;c.object3d=new ot(o,a),c.object3d.computeLineDistances(),c.object3d.scale.set(1,1,1),c.object3d.__parent=Object(rt.a)(c);var h=s.distanceToVector3(l,l).x,f=s.coordinateToVector3(t,h);return c.getObject3d().position.copy(f),c}return Object(i.a)(n)}(C.a),ct={radius:100,altitude:0},ut=function(t){Object(S.a)(n,t);var e=Object(A.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n),i=u.Util.extend({},ct,i,{layer:a,coordinate:t}),(s=e.call(this))._initOptions(i);var l=i,h=l.altitude,f=l.inradius,d=l.outradius,p=l.start,m=a.distanceToVector3(f,f).x,g=a.distanceToVector3(d,d).x,v=new c.RingBufferGeometry(m,g,14,1,p*Math.PI/180,45*Math.PI/180);s._createMesh(v,o);var y=a.distanceToVector3(h,h).x,_=a.coordinateToVector3(t,y);return s.getObject3d().position.copy(_),s}return Object(i.a)(n)}(C.a),lt={radius:100,altitude:0},ht=function(t){Object(S.a)(n,t);var e=Object(A.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n),i=u.Util.extend({},lt,i,{layer:a,coordinate:t}),(s=e.call(this))._initOptions(i);var l=i,h=l.altitude,f=l.radius,d=l.start,p=a.distanceToVector3(f,f).x,m=new c.CircleBufferGeometry(p,128,d*Math.PI/180,45*Math.PI/180);s._createMesh(m,o);var g=a.distanceToVector3(h,h).x,v=a.coordinateToVector3(t,g);return s.getObject3d().position.copy(v),s}return Object(i.a)(n)}(C.a),ft=function(){function t(e,n,i,o){Object(r.a)(this,t),this.tlayer=o,this.map=o.map;var a=o.coordinateToVector3(e,0),s=i.maxdis||15e3,l=i.middis||1e4,h=i.mindis||5e3,f=s/2e3,d=i.fontsize||80,p=4*f,m=1*f,g=o.distanceToVector3(s,s).x,v=o.distanceToVector3(l,l).x,y=o.distanceToVector3(h,h).x,_=(new c.Matrix4).makeTranslation(a.x,a.y,a.z);this.matLine=new K({color:i.color||4227327,linewidth:i.lineWidth||.002,dashed:!1,transparent:!0}),this.matLine.uniforms.opacity.value=i.opacity||.65,this.meshitems=[],this.textures=[],this.lineItems=[],this.psItems=[];var x={type:"label",x_offset:0,y_offset:m,name:"N",degree:0};this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:m,y_offset:m,name:"EN",degree:45},this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:m,y_offset:0,name:"E",degree:90},this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:m,y_offset:-m,name:"ES",degree:135},this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:0,y_offset:-m,name:"S",degree:180},this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:-m,y_offset:-m,name:"WS",degree:225},this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:-m,y_offset:0,name:"W",degree:270},this.createLabelNew(g,d,p,_,x),x={type:"label",x_offset:-m,y_offset:m,name:"WN",degree:315},this.createLabelNew(g,d,p,_,x),this.createCircle(g,e),this.createCircle(v,e),this.createCircle(y,e);for(var b=0;b<360;b+=45)this.lineItems.push({x1:0*Math.sin(Math.PI/180*0),y1:0*Math.cos(Math.PI/180*0),z1:0,x2:Math.sin(b*(Math.PI/180))*g,y2:Math.cos(b*(Math.PI/180))*g,z2:0});this.createLine(e);for(var w=0;w<n.length;w++)-1!=n[w].name.indexOf("A")?this.createMinPoly(h,e,n[w].color,this.getDegree(n[w].name),Object.assign(n[w],{type:"poly"})):-1!=n[w].name.indexOf("B")?this.createRing(h,l,e,n[w].color,this.getDegree(n[w].name),Object.assign(n[w],{type:"poly"})):-1!=n[w].name.indexOf("C")&&this.createRing(l,s,e,n[w].color,this.getDegree(n[w].name),Object.assign(n[w],{type:"poly"}));if(o.addMesh(this.meshitems),this.callback=i.callback,this.callback){var M={custom:!0,dy:i.dy||-48,content:"",autoOpenOn:null};this.infoWindow=new u.ui.InfoWindow(M).addTo(this.map)}this._translation=_}return Object(i.a)(t,[{key:"dispose",value:function(){var t=this;if(this.infoWindow&&(this.infoWindow.remove(),delete this.infoWindow),this.meshitems){this.tlayer.removeMesh(this.meshitems),this.meshitems.forEach((function(e){var n=e.getProperties();n&&"poly"===n.type&&t.closeClick(e),n&&e.getProperties()})),this.textures.length>0&&(this.textures.forEach((function(t){t.dispose()})),this.textures=[]),this.meshitems.forEach((function(t){t.object3d.geometry&&t.object3d.geometry.dispose(),t.object3d.material&&t.object3d.material.dispose()}));for(var e=0;e<this.lineItems.length;e++)delete this.lineItems[e];this.lineItems=[];for(var n=0;n<this.psItems.length;n++)delete this.psItems[n];this.psItems=[]}delete this._translation}},{key:"createMinPoly",value:function(t,e,n,r,i){var o=new c.MeshBasicMaterial({color:n,transparent:!0,opacity:.5,depthTest:!1}),a=new ht(e,{radius:t,start:r},o,this.tlayer);a.setProperties(i),this.attachClick(a),this.meshitems.push(a)}},{key:"createRing",value:function(t,e,n,r,i,o){var a=new c.MeshBasicMaterial({color:r,transparent:!0,opacity:.5,depthTest:!1}),s=new ut(n,{inradius:t,outradius:e,start:i},a,this.tlayer);s.setProperties(o),this.meshitems.push(s),this.attachClick(s)}},{key:"closeClick",value:function(t){t.off("click",this._setItemEvent,this)}},{key:"attachClick",value:function(t){t.on("click",this._setItemEvent,this)}},{key:"_setItemEvent",value:function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.callback){t.next=5;break}return n=e.target.getProperties(),t.next=4,this.callback(this.infoWindow,n);case 4:this.infoWindow.show({x:e.coordinate.x,y:e.coordinate.y});case 5:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getPropertiesByName",value:function(t,e){for(var n=0;n<e.length;n++)if(e[n].name===t)return e[n]}},{key:"getDegree",value:function(t){switch(t){case"A1":case"B1":case"C1":return 45;case"A2":case"B2":case"C2":return 0;case"A8":case"B8":case"C8":return 90;case"A7":case"B7":case"C7":return 135;case"A6":case"B6":case"C6":return 180;case"A5":case"B5":case"C5":return 225;case"A4":case"B4":case"C4":return 270;case"A3":case"B3":case"C3":return 315}}},{key:"createLine",value:function(t){for(var e=[],n=0;n<this.lineItems.length;n++){(e=[]).push(this.lineItems[n].x1,this.lineItems[n].y1,this.lineItems[n].z1),e.push(this.lineItems[n].x2,this.lineItems[n].y2,this.lineItems[n].z2);var r=new tt;r.setPositions(e);var i=new st(t,{interactive:!1},r,this.matLine,this.tlayer);this.meshitems.push(i)}}},{key:"createCircle",value:function(t,e){for(var n=[],r=0;r<=360;r++)n.push(Math.sin(r*(Math.PI/180))*t,Math.cos(r*(Math.PI/180))*t,0);var i=new tt;i.setPositions(n);var o=new st(e,{interactive:!1},i,this.matLine,this.tlayer);this.meshitems.push(o)}},{key:"createLabelNew",value:function(t,e,n,r,i){var o=new nt({interactive:!1,width:n,height:n},this.getTextMaterial(i.name,e,"#fff"),this.tlayer),a=this.getPsVec(i.degree,t,r);o.object3d.position.set(a.x+i.x_offset,a.y+i.y_offset,0),this.psItems.push(a),o.setProperties(i),this.meshitems.push(o)}},{key:"getPsVec",value:function(t,e,n){var r=t*(Math.PI/180),i=new c.Vector3(Math.sin(r)*e,Math.cos(r)*e,0);return i=i.applyMatrix4(n)}},{key:"getTextMaterial",value:function(t,e,n){var r=document.createElement("canvas");r.width=r.height=256;var i=r.getContext("2d");i.fillStyle=n,i.font="".concat(e,"px Aria"),i.textAlign="center",i.textBaseline="middle",i.fillText(t,128,128);var o=new c.Texture(r);return o.needsUpdate=!0,this.textures.push(o),new c.MeshPhongMaterial({map:o,transparent:!0,depthTest:!1})}}]),t}(),dt=(n("20f0"),n("1340"),n("8afd"),Math.PI/180);function pt(t){return t.getCoordinates().map((function(t){return t.toArray()}))}function mt(t){return t*dt}function gt(t,e){if(!t||!e)return 0;Array.isArray(t)||(t=t.toArray()),Array.isArray(e)||(e=e.toArray());var n=mt(t[1]),r=mt(e[1]),i=n-r,o=mt(t[0])-mt(e[0]);return n=2*Math.asin(Math.sqrt(Math.pow(Math.sin(i/2),2)+Math.cos(n)*Math.cos(r)*Math.pow(Math.sin(o/2),2))),n*=6378137,Math.round(1e5*n)/1e5}function vt(t,e){var n=t.len,r=t.c1,i=t.c2,o=i[0]-r[0],a=i[1]-r[1],s=(i[2]||0)-(r[2]||0),c=e/n;return[r[0]+c*o,r[1]+c*a,(r[2]||0)+c*s]}var yt=n("96a7"),_t=n("46d7");function xt(t,e,n){if(void 0===n&&(n={}),!0===n.final)return function(t,e){var n=xt(e,t);return n=(n+180)%360}(t,e);var r=Object(_t.a)(t),i=Object(_t.a)(e),o=Object(yt.a)(r[0]),a=Object(yt.a)(i[0]),s=Object(yt.a)(r[1]),c=Object(yt.a)(i[1]),u=Math.sin(a-o)*Math.cos(c),l=Math.cos(s)*Math.sin(c)-Math.sin(s)*Math.cos(c)*Math.cos(a-o);return Object(yt.c)(Math.atan2(u,l))}var bt=n("6d6e"),wt=n.n(bt),Mt={altitude:0,height:0},St=function(t){Object(S.a)(n,t);var e=Object(A.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n),o=u.Util.extend({},Mt,o,{layer:a}),s=e.call(this);var l=o,h=l.width,f=l.height,d=l.altitude;s._initOptions(o);var p=new c.PlaneBufferGeometry(h,f);s._createMesh(p,i);var m=a.distanceToVector3(d,d).x,g=a.coordinateToVector3(t,m);return s.getObject3d().position.copy(g),s}return Object(i.a)(n)}(C.a),At=function(){function t(e,n,i){var o=this;Object(r.a)(this,t),this.tlayer=i,this.map=i.map,n.color;var a=void 0!==n.smoothFlag&&!0===n.smoothFlag,s=void 0!==n.lineFlag&&!0===n.lineFlag;this.material=null,this.texture=null,this.curve=null,this.meshs=[],this.pts=[],this.newPts=[],this.arrows=[],this.lines=null,this.coordinates=null,this.positions=null,this.bearings=[],s&&(this.lineMaterial=new K({color:n.lineColor||"red",transparent:!0,linewidth:n.linewidth||4,blending:c.AdditiveBlending})),this.loadTexture().then((function(t){var r=null;if(a?(e.forEach((function(t){var e=i.coordinateToVector3(t);o.pts.push(e)})),o.curve=new c.CatmullRomCurve3(o.pts,!1),o.curve.getPoints(20).forEach((function(t){var e=o.map.pointToCoordinate(t,o.map.getGLZoom());o.newPts.push(e)})),r=new u.LineString(o.newPts)):r=new u.LineString(e),s){var l=i.toFatLine(r,{},o.lineMaterial);o.meshs.push(l),o.tlayer.addMesh(o.meshs)}var h=r.getLength(),f=parseInt(h/30);f=f>10?10:f,o.ArrowNum=f;var d=1/o.ArrowNum;o.addSpan=Math.floor(100*d)/100;for(var p=0;p<o.ArrowNum;p++){var m=new St(e[0],t,{width:n.width||.2,height:n.height||.1},o.tlayer);m.object3d.renderOrder=n.arrowOrder||1,o.arrows.push(m)}o.tlayer.addMesh(o.arrows),o.lines=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;e=Math.max(e,1),Array.isArray(t)||(t=pt(t));for(var n=t.length,r=[],i=0,o=0;o<n-1;o++){var a=gt(t[o],t[o+1]),s=Math.floor(a);r.push({c1:t[o],len:s,c2:t[o+1]}),i+=s}if(i<=e){var c=r.map((function(t){return[t.c1,t.c2]}));return c}if(1===r.length&&r[0].len<=e)return[[r[0].c1,r[0].c2]];for(var u,l=r.length,h=r[0],f=0,d=0,p=[],m=[h.c1];f<l;){var g=r[f],v=g.len,y=g.c2;if((d+=v)<e&&(m.push(y),f===l-1&&p.push(m),f++),d==e&&(m.push(y),d=0,p.push(m),m=[y],f++),d>e){var _=v-d+e;u=vt(r[f],_),m.push(u),p.push(m),d=0,r[f].c1=u,r[f].len=v-_,(m=[]).push(u)}}return p}(r,1);var g=o.lines[0][0],v=o.tlayer.coordinateToVector3(g);o.coordinates=[g],o.positions=[v],o.lines.forEach((function(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.join(",").toString()!==o.coordinates[o.coordinates.length-1].join(",").toString()){o.coordinates.push(n);var r=o.tlayer.coordinateToVector3(n);r.z=.02,o.positions.push(r)}}}));for(var y=0;y<o.coordinates.length-1;y++){var _=o.coordinates[y],x=o.coordinates[y+1],b=xt(wt()(_),wt()(x));o.bearings.push((180-b)*Math.PI/180)}}))}return Object(i.a)(t,[{key:"loadTexture",value:function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.promiseToDoSomething();case 2:return e=t.sent,this.texture=new c.CanvasTexture(e.canvas),this.material=new c.MeshBasicMaterial({map:this.texture,side:c.DoubleSide,depthWrite:!1,depthTest:!1}),t.abrupt("return",this.material);case 6:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"promiseToDoSomething",value:function(){return new Promise((function(t){var e=document.createElement("canvas").getContext("2d");e.canvas.width=64,e.canvas.height=64,e.translate(29,32),e.rotate(.5*Math.PI),e.fillStyle="rgb(0,255,255)",e.textAlign="center",e.textBaseline="middle",e.font="48px sans-serif",e.fillText("➡︎",0,0),setTimeout((function(){return t(e)}),4)}))}},{key:"naimationFunc",value:function(){if(this.coordinates)for(var t=1e-4*performance.now(),e=0;e<this.ArrowNum;e++){var n=(t+this.addSpan*e)%1,r=Math.floor(n*this.coordinates.length);this.arrows[e].getObject3d().position.copy(this.positions[r]);var i=this.bearings[r];null!=i&&(this.arrows[e].getObject3d().rotation.z=i)}}},{key:"dispose",value:function(){this.meshs&&(this.tlayer.removeMesh(this.meshs),this.meshs.forEach((function(t){t.object3d.geometry&&t.object3d.geometry.dispose()}))),this.arrows&&(this.tlayer.removeMesh(this.arrows),this.arrows.forEach((function(t){t.object3d.geometry&&t.object3d.geometry.dispose()}))),this.material&&this.material.dispose(),this.texture&&this.texture.dispose(),this.curve&&delete this.curve;for(var t=0;t<this.pts.length;t++)delete this.pts[t];this.pts=[],this.newPts=[];for(var e=0;e<this.lines.length;e++)delete this.lines[e];this.lines=[],this.coordinates=[],this.positions=[],this.bearings=[]}}]),t}(),Ct=function(){function t(e,n,i){var o=this;Object(r.a)(this,t),this.tlayer=i,this.map=i.map;var a=i.coordinateToVector3(e,0),s=n.distince||15e3,u=s/2,l=s/2e3,h=n.fontsize||80,f=4*l,d=1*l,p=i.distanceToVector3(s,s).x,m=i.distanceToVector3(u,u).x,g=(new c.Matrix4).makeTranslation(a.x,a.y,a.z);if(this.meshitems=[],this.textures=[],this.lineItems=[],this.psItems=[],this.arrowitems=[],this.matLine=new K({color:n.color||4227327,linewidth:n.lineWidth||.001,dashed:!1,transparent:!0}),this.matLine.uniforms.opacity.value=n.opacity||.65,this.textureLoader=new c.TextureLoader,n.arrowImgPath){var v=n.windSpeed||0,y=n.windDirection||0;console.log(y),this.textureLoader.load(n.arrowImgPath,(function(t){o.textures.push(t),o.arrowMaterial=new c.MeshBasicMaterial({map:t});var e=new nt({interactive:!1,width:2*l,height:2*l},o.arrowMaterial,o.tlayer),n=o.getArrowPs(y,l),r=n.rotation*(Math.PI/180),i=o.getPsVec(y,p,g);o.psItems.push(i),o.psItems.push(n),e.object3d.position.set(i.x,i.y,a.z),e.object3d.rotation.z=r,o.arrowitems.push(e);var s=o.createTexture("".concat(v,"级"),60,"#fff");o.textures.push(s);var u=new nt({interactive:!1,width:f,height:f},o.getArrowTextMaterial(s),o.tlayer);u.object3d.position.set(i.x+n.offx,i.y+n.offy,a.z),o.arrowitems.push(u),o.tlayer.addMesh(o.arrowitems)}))}var _={type:"label",x_offset:0,y_offset:d,name:"N",degree:0};this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:d,y_offset:d,name:"EN",degree:45},this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:d,y_offset:0,name:"E",degree:90},this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:d,y_offset:-d,name:"ES",degree:135},this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:0,y_offset:-d,name:"S",degree:180},this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:-d,y_offset:-d,name:"WS",degree:225},this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:-d,y_offset:0,name:"W",degree:270},this.createLabelNew(p,h,f,g,_),_={type:"label",x_offset:-d,y_offset:d,name:"WN",degree:315},this.createLabelNew(p,h,f,g,_),this.createCircle(p,e),this.createCircle(m,e);for(var x=0;x<360;x+=22.5)this.lineItems.push({x1:0*Math.sin(Math.PI/180*0),y1:0*Math.cos(Math.PI/180*0),z1:0,x2:Math.sin(x*(Math.PI/180))*p,y2:Math.cos(x*(Math.PI/180))*p,z2:0});this.createLine(e),i.addMesh(this.meshitems),this._translation=g,this._r=p,this._factor=l}return Object(i.a)(t,[{key:"dispose",value:function(){if(this.meshitems){this.tlayer.removeMesh(this.meshitems),this.meshitems.forEach((function(t){t.getProperties()&&t.getProperties()})),this.textures.length>0&&(this.textures.forEach((function(t){t.dispose()})),this.textures=[]),this.meshitems.forEach((function(t){t.object3d.geometry&&t.object3d.geometry.dispose(),t.object3d.material&&t.object3d.material.dispose()}));for(var t=0;t<this.lineItems.length;t++)delete this.lineItems[t];this.lineItems=[];for(var e=0;e<this.psItems.length;e++)delete this.psItems[e];this.psItems=[]}this.arrowitems&&(this.tlayer.removeMesh(this.arrowitems),this.arrowitems.forEach((function(t){t.object3d.geometry&&t.object3d.geometry.dispose(),t.object3d.material&&t.object3d.material.dispose()}))),this.textureLoader&&delete this.textureLoader,delete this._translation}},{key:"createLine",value:function(t){for(var e=[],n=0;n<this.lineItems.length;n++){(e=[]).push(this.lineItems[n].x1,this.lineItems[n].y1,this.lineItems[n].z1),e.push(this.lineItems[n].x2,this.lineItems[n].y2,this.lineItems[n].z2);var r=new tt;r.setPositions(e);var i=new st(t,{interactive:!1},r,this.matLine,this.tlayer);this.meshitems.push(i)}}},{key:"updateDirection",value:function(t,e){if(2===this.arrowitems.length){var n=this.arrowitems[0],r=this.arrowitems[1],i=this.createTexture("".concat(e||0,"级"),60,"#fff");r.object3d.material.map=i,this.textures.push(i),r.object3d.material.map.needsUpdate=!0;var o=this.getArrowPs(t,this._factor),a=o.rotation*(Math.PI/180),s=this.getPsVec(t,this._r,this._translation);n.object3d.position.set(s.x,s.y,0),this.psItems.push(s),this.psItems.push(o),n.object3d.position.set(s.x,s.y,0),n.object3d.rotation.z=a,r.object3d.position.set(s.x+o.offx,s.y+o.offy,0)}}},{key:"createCircle",value:function(t,e){for(var n=[],r=0;r<=360;r++)n.push(Math.sin(r*(Math.PI/180))*t,Math.cos(r*(Math.PI/180))*t,0);var i=new tt;i.setPositions(n);var o=new st(e,{interactive:!1},i,this.matLine,this.tlayer);this.meshitems.push(o)}},{key:"createLabelNew",value:function(t,e,n,r,i){var o=new nt({interactive:!1,width:n,height:n},this.getTextMaterial(i.name,e,"#fff"),this.tlayer),a=this.getPsVec(i.degree,t,r);o.object3d.position.set(a.x+i.x_offset,a.y+i.y_offset,0),this.psItems.push(a),o.setProperties(i),this.meshitems.push(o)}},{key:"getPsVec",value:function(t,e,n){var r=t*(Math.PI/180),i=new c.Vector3(Math.sin(r)*e,Math.cos(r)*e,0);return i=i.applyMatrix4(n)}},{key:"getTextMaterial",value:function(t,e,n){var r=document.createElement("canvas");r.width=r.height=256;var i=r.getContext("2d");i.fillStyle=n,i.font="".concat(e,"px Aria"),i.textAlign="center",i.textBaseline="middle",i.fillText(t,128,128);var o=new c.Texture(r);return o.needsUpdate=!0,this.textures.push(o),new c.MeshPhongMaterial({map:o,transparent:!0,depthTest:!1})}},{key:"getArrowPs",value:function(t,e){var n=0,r=0,i=0;return t>180?(n=360-t+180,r=2*e,i=0):n=180-t,0==t?(r=0,i=-2*e):180==t?(i=0,i=2*e):t>0&&t<180&&(r=-2*e,i=0),{rotation:n,offx:r,offy:i}}},{key:"createTexture",value:function(t,e,n){var r=document.createElement("canvas");r.width=r.height=256;var i=r.getContext("2d");i.fillStyle=n,i.font="".concat(e,"px Aria"),i.textAlign="center",i.textBaseline="middle",i.fillText(t,128,128);var o=new c.Texture(r);return o.needsUpdate=!0,o}},{key:"getArrowTextMaterial",value:function(t){return new c.MeshPhongMaterial({map:t,transparent:!0,depthTest:!1})}}]),t}(),Et={altitude:0,height:0},Tt=function(t){Object(S.a)(n,t);var e=Object(A.a)(n);function n(t,i,o,a){var s;Object(r.a)(this,n),i=u.Util.extend({},Et,i,{layer:a}),(s=e.call(this))._initOptions(i);var l=i.altitude;console.log(l),s._createGroup();var h=new c.Sprite(o);h.material.sizeAttenuation=!1;var f=.005/3;h.scale.set(36*f,36*f,1),console.log(36*f/2*200),s.getObject3d().add(h);var d=a.distanceToVector3(l,l).x,p=a.coordinateToVector3(t,d);return s.getObject3d().position.copy(p),s}return Object(i.a)(n)}(C.a),It=function(){function t(e,n,i){var o=this;Object(r.a)(this,t),this.map=i.map,this.threeLayer=i,this.lineStrings=[],this.meshs=[],this.properties=[],this.lineMaterial=new c.LineBasicMaterial({color:n.lineColor||"rgb(0,160,233)"}),this.rfields=null,this.fields=[],this.isToolTip=n.isToolTip,this.isExtrusion=n.isExtrusion,this.oriColor={},this.selectColor=n.selectColor?new c.Color(n.selectColor):null,this.geojson=e,this.iconPath=n.iconPath,this.iconCidName=n.iconCidName,this.fontConfig=n.fontConfig,n.text&&(this.txtLabel=new u.VectorLayer(u.Util.GUID(),{hitDetect:!1,enableAltitude:!0,zIndex:1001}).addTo(i.map),this.rfields=n.text.match(/\{(.+?)\}/g),this.rfields.forEach((function(t){o.fields.push(t.substring(1,t.length-1))})),this.geoItems=[]),this.textureLoader=new c.TextureLoader,e.forEach((function(t){var e=t.geometry,r=u.GeoJSON.toGeometry(t),a=t.properties;o.oriColor[a.name]||(o.oriColor[a.name]=new c.Color(a.color));var s=new c.MeshPhongMaterial({transparent:!0,opacity:void 0!==a.opacity?a.opacity:1,color:o.oriColor[a.name]}),l=.1;o.isExtrusion&&(l=a.height?200*a.height:.1);var h=i.toExtrudePolygon(r,{height:l,interactive:void 0===n.interactive||n.interactive},s);h.setProperties(t.properties),h.object3d.renderOrder=n.renderOrder||0,o.isToolTip&&h.setToolTip("hello",{showTimeout:0,eventsPropagation:!0,dx:10}),o.meshs.push(h),n.isAddLine&&e.coordinates.forEach((function(e){var n=new u.LineString(e[0]),r=i.toLine(n,{altitude:.1===l?1:l,interactive:!1},o.lineMaterial);r.setProperties(t.properties),o.meshs.push(r),o.lineStrings.push(n)}));var f=r.getCenter();if(o.iconPath&&o.iconCidName&&o.iconCidName===a.name){var d=new u.Marker(f,{properties:{altitude:.1===l?1:l,name:a.name},symbol:{markerFile:o.iconPath,markerWidth:64,markerHeight:64,markerDx:0,markerDy:0,markerOpacity:1}});o.geoItems.push(d),o.txtLabel.addGeometry(d)}n.text&&o.createMark(f,l,a)})),i.addMesh(this.meshs),this._bindEvent()}return Object(i.a)(t,[{key:"createMark",value:function(t,e,n){var r=null;1===this.fields.length?r=new u.Marker(t,{properties:{name:n[this.fields[0]],altitude:.1===e?1:e},symbol:[{textFaceName:"sans-serif",textName:"{name}",textWeight:"normal",textStyle:"normal",textSize:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].fontSize?this.fontConfig[0].fontSize:12,textFont:null,textFill:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].fontColor?this.fontConfig[0].fontColor:"#fff",textOpacity:1,textWrapWidth:null,textWrapCharacter:"\n",textLineSpacing:0,textDx:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].dx?this.fontConfig[0].dx:20,textDy:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].dy?this.fontConfig[0].dy:0,textHorizontalAlignment:"top",textVerticalAlignment:"middle",textAlign:"center"}]}):2===this.fields.length&&(r=new u.Marker(t,{properties:{name:n[this.fields[0]],index:n[this.fields[1]],altitude:.1===e?1:e},symbol:[{textFaceName:"sans-serif",textName:"{name}",textWeight:"normal",textStyle:"normal",textSize:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].fontSize?this.fontConfig[0].fontSize:12,textFont:null,textFill:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].fontColor?this.fontConfig[0].fontColor:"#fff",textOpacity:1,textWrapWidth:null,textWrapCharacter:"\n",textLineSpacing:0,textDx:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].dx?this.fontConfig[0].dx:20,textDy:this.fontConfig&&this.fontConfig[0]&&this.fontConfig[0].dy?this.fontConfig[0].dy:0,textHorizontalAlignment:"top",textVerticalAlignment:"middle",textAlign:"center"},{textFaceName:"sans-serif",textName:"{index}",textWeight:"bold",textStyle:"normal",textSize:this.fontConfig&&this.fontConfig[1]&&this.fontConfig[1].fontSize?this.fontConfig[1].fontSize:20,textFont:null,textFill:this.fontConfig&&this.fontConfig[1]&&this.fontConfig[1].fontColor?this.fontConfig[1].fontColor:"#fff",textOpacity:1,textWrapWidth:null,textWrapCharacter:"\n",textLineSpacing:0,textDx:this.fontConfig&&this.fontConfig[1]&&this.fontConfig[1].dx?this.fontConfig[1].dx:20,textDy:this.fontConfig&&this.fontConfig[1]&&this.fontConfig[1].dy?this.fontConfig[1].dy:-20,textHorizontalAlignment:"top",textVerticalAlignment:"middle",textAlign:"center"}]})),r&&(this.geoItems.push(r),this.txtLabel.addGeometry(r))}},{key:"addIcon",value:function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(e,n){var r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,B.a.addImageProcessImage(this.iconPath);case 2:r=t.sent,i=B.a.generateTextureOne(r,128,128),this.iconMaterial=new c.SpriteMaterial({map:i}),(o=new Tt(e,{altitude:n+=2400},this.iconMaterial,this.threeLayer)).zoomChange=function(){o.getMap()},this.threeLayer.addMesh(o);case 8:case"end":return t.stop()}}),t,this)})));return function(e,n){return t.apply(this,arguments)}}()},{key:"_bindEvent",value:function(){var t=this;this.meshs.forEach((function(e){"ExtrudePolygon"===e.type&&e.on("click mousemove mouseout",t._setEvent,t)}))}},{key:"_closeEvent",value:function(){var t=this;this.meshs.forEach((function(e){"ExtrudePolygon"===e.type&&e.off("click mousemove mouseout",t._setEvent,t)}))}},{key:"_setEvent",value:function(t){var e=t.target.getProperties();"mousemove"===t.type&&t.target&&(this.isToolTip&&(t.target.getToolTip()._content="".concat(e.name)),this.selectColor&&(t.target.object3d.material.color=this.selectColor,t.target.object3d.material.color.needsUpdate=!0)),"mouseout"===t.type&&t.target&&this.selectColor&&(t.target.object3d.material.color=this.oriColor[e.name],t.target.object3d.material.color.needsUpdate=!0),"click"===t.type&&t.target&&this.clickFunc&&this.clickFunc(e)}},{key:"dispose",value:function(){for(var t in this.threeLayer.removeMesh(this.meshs),this._closeEvent(),this.meshs.forEach((function(t){"ExtrudePolygon"===t.type&&t.removeToolTip(),t.object3d.geometry&&t.object3d.geometry.dispose(),t.object3d.material&&t.object3d.material.dispose()})),this.lineMaterial&&this.lineMaterial.dispose(),this.selectColor&&delete this.selectColor,this.oriColor)delete this.oriColor[t];if(this.txtLabel&&this.map.removeLayer(this.txtLabel),this.geoItems)for(var e=0;e<this.geoItems.length;e++)delete this.geoItems[e];if(this.geoItems=[],this.geojson)for(var n=0;n<this.geojson.length;n++)delete this.geojson[n]}},{key:"findMesh",value:function(t){for(var e=0;e<this.meshs.length;e++)if("ExtrudePolygon"===this.meshs[e].type&&this.meshs[e].getProperties().name===t)return this.meshs[e]}},{key:"setOpacity",value:function(t,e){for(var n=0;n<this.meshs.length;n++)"ExtrudePolygon"===this.meshs[n].type&&this.meshs[n].getProperties().name===t&&(this.meshs[n].object3d.material.opacity=e)}},{key:"update",value:function(t){var e=this;this.geojson.forEach((function(n){n.geometry;for(var r=u.GeoJSON.toGeometry(n),i=n.properties,o=function(n){if(t[n].name===i.name){e.oriColor[i.name]&&(delete e.oriColor[i.name],e.oriColor[i.name]=new c.Color(t[n].color));var o=new c.MeshBasicMaterial({transparent:!0,opacity:i.opacity||1,color:e.oriColor[i.name]}),a=.1;e.isExtrusion&&(a=t[n].height?200*t[n].height:.1);for(var s=e.threeLayer.toExtrudePolygon(r,{height:a},o),u=e.findMesh(t[n].name),l=s.object3d.geometry.attributes.position.array,h=u.object3d.geometry.attributes.position.array,f=0;f<h.length;f++)h[f]=l[f];u.object3d.geometry.attributes.position.needsUpdate=!0,u.object3d.material.color=e.oriColor[i.name],u.object3d.material.color.needsUpdate=!0;var d=e.threeLayer.distanceToVector3(a,a).x;e.meshs.forEach((function(e){"Line"===e.type&&e.getProperties().name===t[n].name&&(e.object3d.position.z=d)})),s.object3d.geometry&&s.object3d.geometry.dispose(),s.object3d.material&&s.object3d.material.dispose();for(var p=0;p<e.geoItems.length;p++)e.geoItems[p].getProperties().name===t[n].name&&(e.geoItems[p].getProperties().index&&(e.geoItems[p].getProperties().index=t[n].rank),e.geoItems[p].getProperties().altitude=a,e.geoItems[p].updateSymbol({index:"{index}"}));return"break"}},a=0;a<t.length&&"break"!==o(a);a++);}))}}]),t}();function Lt(){var t="xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}));return"iep".concat(t,"layer")}n("5ae2"),n("09be"),n("00e8"),n("6860"),n("5ffc"),n("91e5"),n("ff86"),n("9afc"),n("363b"),n("2ed2");var Pt=function(){function t(e,n){var i=this;Object(r.a)(this,t),this.map=n,this.animationId=null,this.func=[];var o=void 0!==e?e:Lt();this.threeLayer=new C.c(o,{forceRenderOnMoving:!0,forceRenderOnRotating:!0,identifyCountOnEvent:1});var a=function t(){var e,n;i.threeLayer._needsUpdate=!i.threeLayer._needsUpdate,i.threeLayer._needsUpdate&&(null===(e=i.threeLayer)||void 0===e||null===(n=e.getRenderer())||void 0===n||n.clearCanvas(),i.threeLayer.renderScene()),i.func.forEach((function(t){return t()})),J.c(),i.animationId=requestAnimationFrame(t)};this.threeLayer.prepareToDraw=function(t,e,n){var r=new c.DirectionalLight(16777215);r.position.set(0,-10,10).normalize(),e.add(r),a()},this.threeLayer.addTo(n),n.getLayer(o).setZIndex(1e3),this.layerId=o,this.dirty=!1,this.polygonObjs=[],this.circleObj=null,this.directionObj=null,this.trips=[],this.ringObj=null,this.shockObj=null}return Object(i.a)(t,[{key:"getLayerId",value:function(){return this.layerId}},{key:"changeLayerId",value:function(){if(this.threeLayer){var t=Lt();this.threeLayer.setId(t),this.layerId=t}}},{key:"setVisible",value:function(t,e){this.threeLayer&&(!0===t?(this.threeLayer.show(),e&&e()):(this.threeLayer.hide(),e&&e()))}},{key:"prepareToDraw",value:function(){var t=this,e=function e(){var n,r;t.threeLayer._needsUpdate=!t.threeLayer._needsUpdate,t.threeLayer._needsUpdate&&(null===(n=t.threeLayer)||void 0===n||null===(r=n.getRenderer())||void 0===r||r.clearCanvas(),t.threeLayer.renderScene()),t.func.forEach((function(t){return t()})),J.c(),t.animationId=requestAnimationFrame(e)};return new Promise((function(n){t.threeLayer.prepareToDraw=function(t,r,i){var o=new c.DirectionalLight(16777215);o.position.set(0,-10,10).normalize(),r.add(o),e(),n()}}))}},{key:"removeIepLayer",value:function(){this.threeLayer&&this.threeLayer.getMeshes().forEach((function(t){var e;"Points"!==t.type&&"Image"!==t.type||null===(e=t.parent)||void 0===e||e.dispose()})),this.directionObj&&(this.directionObj.dispose(),delete this.directionObj),this.trips.length>0&&(this.func=[],this.trips.forEach((function(t){t.dispose()})),this.trips=[]),this.circleObj&&(this.circleObj.dispose(),delete this.circleObj),this.ringObj&&(this.ringObj.dispose(),delete this.ringObj),this.clearShock(),this.clearPolygon()}},{key:"getPointObjByName",value:function(t,e){this.threeLayer&&this.threeLayer.getMeshes().forEach((function(n){"Points"===n.type&&n.parent.name===t&&e(n.parent)}))}},{key:"updateDirection",value:function(t,e){this.directionObj&&this.directionObj.updateDirection(t,e)}},{key:"clearDirection",value:function(){this.directionObj&&(this.directionObj.dispose(),delete this.directionObj)}},{key:"drawDirection",value:function(t,e,n){var r=this,i=n||{};this.threeLayer.getScene()?(this.directionObj&&(this.directionObj.dispose(),delete this.directionObj),setTimeout((function(){r.directionObj=new Ct([t,e],i,r.threeLayer)}),500)):this.prepareToDraw().then((function(){r.directionObj||(r.directionObj=new Ct([t,e],i,r.threeLayer))}))}},{key:"clearCircle",value:function(){this.circleObj&&(this.circleObj.dispose(),delete this.circleObj)}},{key:"drawCircle",value:function(t,e,n,r){var i=this,o=r||{};this.threeLayer.getScene()?this.circleObj?this.circleObj.update(t,e,n,o):this.circleObj=new Z(t,e,n,o,this.threeLayer):this.prepareToDraw().then((function(){i.circleObj?i.circleObj.update(t,e,n,o):i.circleObj=new Z(t,e,n,o,i.threeLayer)}))}},{key:"drawImage",value:function(t,e,n,r,i){var o=this;if(this.threeLayer.getScene()){var a=new I(t,e,n,r,this.threeLayer);i(a)}else this.prepareToDraw().then((function(){var a=new I(t,e,n,r,o.threeLayer);i(a)}))}},{key:"drawPoint",value:function(t,e,n){var r=this;if(this.threeLayer.getScene()){var i=null;t.length>0?(i=new M.a(t,e,this.threeLayer)).addPoint().then((function(){n(i)})):n(i)}else this.prepareToDraw().then((function(){var i=null;t.length>0?(i=new M.a(t,e,r.threeLayer)).addPoint().then((function(){n(i)})):n(i)}))}},{key:"updatePolygonOpacity",value:function(t,e){this.polygonObjs.forEach((function(n){n.setOpacity(t,e)}))}},{key:"clearTrip",value:function(){this.func=[],this.trips.forEach((function(t){t.dispose()})),this.trips=[]}},{key:"drawTrip",value:function(t,e){var n=this,r=e||{};if(this.threeLayer.getScene()){var i=new At(t,r,this.threeLayer);this.trips.push(i),this.func.push((function(){i.naimationFunc()}))}else this.prepareToDraw().then((function(){var e=new At(t,r,n.threeLayer);n.trips.push(e),n.func.push((function(){e.naimationFunc()}))}))}},{key:"updatePolygon",value:function(t){this.polygonObjs.forEach((function(e){e.update(t)}))}},{key:"clearPolygon",value:function(){for(var t=0;t<this.polygonObjs.length;t++)this.polygonObjs[t].dispose(),delete this.polygonObjs[t];this.polygonObjs=[]}},{key:"drawPolygon",value:function(t,e){var n=this,r=e||{};if(this.threeLayer.getScene()){var i=new It(t,r,this.threeLayer);this.polygonObjs.push(i)}else this.prepareToDraw().then((function(){var e=new It(t,r,n.threeLayer);n.polygonObjs.push(e)}))}},{key:"clearRing",value:function(){this.ringObj&&(this.ringObj.dispose(),delete this.ringObj)}},{key:"drawRing",value:function(t,e,n,r){var i=this,o=r||{};this.threeLayer.getScene()?(this.ringObj&&(this.ringObj.dispose(),delete this.ringObj),setTimeout((function(){i.ringObj=new ft([t,e],n,o,i.threeLayer)}),500)):this.prepareToDraw().then((function(){i.ringObj||(i.ringObj=new ft([t,e],n,o,i.threeLayer))}))}},{key:"drawShock",value:function(t,e){var n=this;this.threeLayer.getScene()?this.shockObj&&(this.shockObj.dispose(),this.shockObj=null,setTimeout((function(){n.shockObj=new q(t,e||{},n.threeLayer)}),500)):this.prepareToDraw().then((function(){n.shockObj=new q(t,e||{},n.threeLayer)}))}},{key:"clearShock",value:function(){this.shockObj&&(J.b(),this.shockObj.dispose(),this.shockObj=null)}}]),t}(),Rt=function(){function t(e){Object(r.a)(this,t),this.map=e,this.windObj=null,this.drawTool=null,this.distanceTool=null,this.trafficLayer=null,this.threeLayers=[]}return Object(i.a)(t,[{key:"getLayer",value:function(t){if(0===this.threeLayers.length){var e=new Pt(t,this.map);return this.threeLayers.push(e),e.layerId}for(var n=0;n<this.threeLayers.length;n++)if(!1===this.threeLayers[n].dirty)return this.threeLayers[n].layerId;if(!(this.threeLayers.length>=2)){var r=new Pt(t,this.map);return this.threeLayers.push(r),r.layerId}}},{key:"removeAllLayer",value:function(){this.windObj&&(this.windObj.closeWind(),delete this.windObj),this.drawTool&&(this.drawTool.dispose(),delete this.drawTool),this.distanceTool&&(this.distanceTool.dispose(),delete this.distanceTool),this.trafficLayer&&(this.trafficLayer.setMap(null),delete this.trafficLayer);for(var t=0;t<this.threeLayers.length;t++)this.threeLayers[t].removeIepLayer(),delete this.threeLayers[t]}},{key:"clearPolygon",value:function(t){if(void 0!==t){var e=this.findLayerById(t);void 0!==e&&e.clearPolygon()}}},{key:"findLayerById",value:function(t){for(var e=0;e<this.threeLayers.length;e++)if(this.threeLayers[e].layerId==t)return this.threeLayers[e]}},{key:"setLayerVisible",value:function(t,e,n){if(void 0!==t){var r=this.findLayerById(t);void 0!==r&&r.setVisible(e,n)}}},{key:"clearLayerById",value:function(t){if(void 0!==t){var e=this.findLayerById(t);void 0!==e&&(e.changeLayerId(),e.removeIepLayer())}}},{key:"setLayerDirty",value:function(t){if(void 0!==t){var e=this.findLayerById(t);void 0!==e&&(e.dirty=!0)}}},{key:"drawPolygon",value:function(t,e,n){if(void 0!==n){var r=this.findLayerById(n);if(void 0!==r)return r.drawPolygon(t,e)}}},{key:"updatePolygon",value:function(t,e){if(void 0!==e){var n=this.findLayerById(e);void 0!==n&&n.updatePolygon(t)}}},{key:"updatePolygonOpacity",value:function(t,e,n){if(void 0!==n){var r=this.findLayerById(n);void 0!==r&&r.updatePolygonOpacity(t,e)}}},{key:"clearTrip",value:function(t){if(void 0!==t){var e=this.findLayerById(t);void 0!==e&&e.clearTrip()}}},{key:"drawTrip",value:function(t,e,n){if(void 0!==n){var r=this.findLayerById(n);void 0!==r&&r.drawTrip(t,e)}}},{key:"clearRing",value:function(t){if(void 0!==t){var e=this.findLayerById(t);void 0!==e&&e.clearRing()}}},{key:"drawRing",value:function(t,e,n,r,i){if(void 0!==i){var o=this.findLayerById(i);void 0!==o&&o.drawRing(t,e,n,r)}}},{key:"updateDirection",value:function(t,e,n){if(void 0!==n){var r=this.findLayerById(n);void 0!==r&&r.updateDirection(t,e)}}},{key:"clearDirection",value:function(t){if(void 0!==t){var e=this.findLayerById(t);void 0!==e&&e.clearDirection()}}},{key:"drawDirection",value:function(t,e,n,r){if(void 0!==r){var i=this.findLayerById(r);void 0!==i&&i.drawDirection(t,e,n)}}},{key:"clearCircle",value:function(t){if(void 0!==t){var e=this.findLayerById(t);void 0!==e&&e.clearCircle()}}},{key:"drawCircle",value:function(t,e,n,r,i){if(void 0!==i){var o=this.findLayerById(i);void 0!==o&&o.drawCircle(t,e,n,r)}}},{key:"Traffic",value:function(t){var e=this.map.getBaseLayer();if(e){var n=e.getAMap();n&&(this.trafficLayer||(this.trafficLayer=new AMap.TileLayer.Traffic({zIndex:10})),!0===t?this.trafficLayer.setMap(n):this.trafficLayer.setMap(null))}}},{key:"distance",value:function(){var t=this;return new Promise((function(e){t.distanceTool?(t.distanceTool.enable(),e(t.distanceTool)):(t.distanceTool=new F({},t.threeLayer),e(t.distanceTool))}))}},{key:"drawGeometry",value:function(t,e){var n=this;return new Promise((function(r){n.drawTool?(n.drawTool.setMode(t,e),r(n.drawTool)):(n.drawTool=new D(t,e,{},n.threeLayer),r(n.drawTool))}))}},{key:"drawWeatherData",value:function(t,e){var n=this;return new Promise((function(r){var i=null;r(t?i=new k(t,e||{},n.map):i),n.windObj=i}))}},{key:"drawImage",value:function(t,e,n,r,i){var o=this;return new Promise((function(a){setTimeout((function(){void 0===i&&a(null);var s=o.findLayerById(i);void 0===s&&a(null),s.drawImage(t,e,n,r,a)}),200)}))}},{key:"getPointObjByName",value:function(t,e){var n=this;return new Promise((function(r){void 0===t&&r(null);var i=n.findLayerById(t);void 0===i&&r(null),i.getPointObjByName(e,r)}))}},{key:"drawShock",value:function(t,e,n){if(void 0!==n){var r=this.findLayerById(n);void 0!==r&&r.drawShock(t,e)}}},{key:"clearShock",value:function(t){if(void 0!==t){var e=this.findLayerById(t);void 0!==e&&e.clearShock()}}},{key:"drawPoint",value:function(t,e,n){var r=this;return new Promise((function(i){setTimeout((function(){void 0===n&&i(null);var o=r.findLayerById(n);void 0===o&&i(null),o.drawPoint(t,e,i)}),200)}))}},{key:"saveIndexedDb",value:function(){return new Promise((function(t,e){var n=window.indexedDB.open("iep_db");n.onsuccess=function(e){var n=e.target.result;t(n)},n.onerror=function(t){e(t)},n.onupgradeneeded=function(t){var e=t.target.result;if(!e.objectStoreNames.contains("svg_dict")){var n=e.createObjectStore("svg_dict",{keyPath:"code"});n.createIndex("code","code",{unique:!0}),n.createIndex("file","file",{unique:!1})}}}))}},{key:"getType",value:function(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}},{key:"getDbRecord",value:function(t){var e=this,n="string"===this.getType(t)?[t]:t;return new Promise((function(t){e.saveIndexedDb().then((function(e){var r=e.transaction("svg_dict","readwrite").objectStore("svg_dict");Promise.all(n.map((function(t){return new Promise((function(e){var n=r.get(t);n.onsuccess=function(t){e(t.target.result)},n.onerror=function(t){e()}}))}))).then((function(e){t(e)}))}))}))}}]),t}(),Ot=function(t){return new Rt(t)};
|
|
92
92
|
/*!
|
|
93
93
|
* maptalks.amap v0.10.1
|
|
94
94
|
* LICENSE : MIT
|
|
@@ -120,7 +120,7 @@ var i="_maptalks__internal_layer_",o=["MultiPoint","MultiLineString","MultiPolyg
|
|
|
120
120
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
121
121
|
* @license MIT
|
|
122
122
|
*/
|
|
123
|
-
var r=n("3560"),i=n("e248"),o=n("571a");function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return h(this,t)}return u(this,t,e,n)}function u(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=f(t,e),t}(t,e,n,r):"string"==typeof e?function(t,e,n){if("string"==typeof n&&""!==n||(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(e,n),i=(t=s(t,r)).write(e,n);return i!==r&&(t=t.slice(0,i)),t}(t,e,n):function(t,e){if(c.isBuffer(e)){var n=0|d(e.length);return 0===(t=s(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||function(t){return t!=t}(e.length)?s(t,0):f(t,e);if("Buffer"===e.type&&o(e.data))return f(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e){if(l(e),t=s(t,e<0?0:0|d(e)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e){var n=e.length<0?0:0|d(e.length);t=s(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function d(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return N(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(t).length;default:if(r)return N(t).length;e=(""+e).toLowerCase(),r=!0}}function m(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return I(this,e,n);case"utf8":case"utf-8":return C(this,e,n);case"ascii":return E(this,e,n);case"latin1":case"binary":return T(this,e,n);case"base64":return A(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function g(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function v(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=c.from(e,r)),c.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,i);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,r,i){var o,a=1,s=t.length,c=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,c/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=n;o<s;o++)if(u(t,o)===u(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+c>s&&(n=s-c),o=n;o>=0;o--){for(var h=!0,f=0;f<c;f++)if(u(t,o+f)!==u(e,f)){h=!1;break}if(h)return o}return-1}function _(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function x(t,e,n,r){return z(N(e,t.length-n),t,n,r)}function b(t,e,n,r){return z(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function w(t,e,n,r){return b(t,e,n,r)}function M(t,e,n,r){return z(G(e),t,n,r)}function S(t,e,n,r){return z(function(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function A(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function C(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,a,s,c,u=t[i],l=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=n)switch(h){case 1:u<128&&(l=u);break;case 2:128==(192&(o=t[i+1]))&&(c=(31&u)<<6|63&o)>127&&(l=c);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var n="",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}function E(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function T(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function I(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=j(t[o]);return i}function L(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function P(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function R(t,e,n,r,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function O(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function k(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function B(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(t,e,n,r,o){return o||B(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function F(t,e,n,r,o){return o||B(t,0,n,8),i.write(t,e,n,r,52,8),n+8}e.Buffer=c,e.SlowBuffer=function(t){return+t!=t&&(t=0),c.alloc(+t)},e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=a(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return u(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return function(t,e,n,r){return l(e),e<=0?s(t,e):void 0!==n?"string"==typeof r?s(t,e).fill(n,r):s(t,e).fill(n):s(t,e)}(null,t,e,n)},c.allocUnsafe=function(t){return h(null,t)},c.allocUnsafeSlow=function(t){return h(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=c.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var a=t[n];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},c.byteLength=p,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?C(this,0,t):m.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,n,r,i){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(o,a),u=this.slice(r,i),l=t.slice(e,n),h=0;h<s;++h)if(u[h]!==l[h]){o=u[h],a=l[h];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},c.prototype.indexOf=function(t,e,n){return v(this,t,e,n,!0)},c.prototype.lastIndexOf=function(t,e,n){return v(this,t,e,n,!1)},c.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return _(this,t,e,n);case"utf8":case"utf-8":return x(this,t,e,n);case"ascii":return b(this,t,e,n);case"latin1":case"binary":return w(this,t,e,n);case"base64":return M(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=c.prototype;else{var i=e-t;n=new c(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},c.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},c.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},c.prototype.readUInt8=function(t,e){return e||P(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||P(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||P(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||P(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||P(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||P(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||P(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||P(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||P(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||P(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||P(t,4,this.length),i.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||P(t,4,this.length),i.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||P(t,8,this.length),i.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||P(t,8,this.length),i.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,r){t=+t,e|=0,n|=0,r||R(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},c.prototype.writeUIntBE=function(t,e,n,r){t=+t,e|=0,n|=0,r||R(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):O(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):O(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):k(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):k(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);R(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);R(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):O(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):O(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):k(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):k(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return D(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return D(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return F(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},c.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var a=c.isBuffer(t)?t:N(new c(t,r).toString()),s=a.length;for(o=0;o<n-e;++o)this[o+e]=a[o%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function j(t){return t<16?"0"+t.toString(16):t.toString(16)}function N(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function G(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(U,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function z(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n("2409"))},fde0:function(t,e,n){var r=n("b51b"),i=n("9699").RegExp,o=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},fe89:function(t,e,n){var r=n("9699").Array,i=Math.abs,o=Math.pow,a=Math.floor,s=Math.log,c=Math.LN2;t.exports={pack:function(t,e,n){var u,l,h,f=r(n),d=8*n-e-1,p=(1<<d)-1,m=p>>1,g=23===e?o(2,-24)-o(2,-77):0,v=t<0||0===t&&1/t<0?1:0,y=0;for((t=i(t))!=t||t===1/0?(l=t!=t?1:0,u=p):(u=a(s(t)/c),t*(h=o(2,-u))<1&&(u--,h*=2),(t+=u+m>=1?g/h:g*o(2,1-m))*h>=2&&(u++,h/=2),u+m>=p?(l=0,u=p):u+m>=1?(l=(t*h-1)*o(2,e),u+=m):(l=t*o(2,m-1)*o(2,e),u=0));e>=8;)f[y++]=255&l,l/=256,e-=8;for(u=u<<e|l,d+=e;d>0;)f[y++]=255&u,u/=256,d-=8;return f[--y]|=128*v,f},unpack:function(t,e){var n,r=t.length,i=8*r-e-1,a=(1<<i)-1,s=a>>1,c=i-7,u=r-1,l=t[u--],h=127&l;for(l>>=7;c>0;)h=256*h+t[u--],c-=8;for(n=h&(1<<-c)-1,h>>=-c,c+=e;c>0;)n=256*n+t[u--],c-=8;if(0===h)h=1-s;else{if(h===a)return n?NaN:l?-1/0:1/0;n+=o(2,e),h-=s}return(l?-1:1)*n*o(2,h-e)}}},ff86:function(t,e,n){n("6dd3")({target:"Reflect",stat:!0},{ownKeys:n("3a80")})}})},module.exports=e()}).call(this,__webpack_require__(94).setImmediate)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),i=n(6),o=s(n(8)),a=s(n(219));function s(t){return t&&t.__esModule?t:{default:t}}e.default={name:"Sidebar",computed:{nav:function(){return this.$store.state.user.addRouters}},props:{theme:{type:String,default:"light"},sidebarList:{type:Array,default:function(){return[]}}},data:function(){return{currentSelect:[],openKeys:[],currentOpen:[],isOpenSideBar:!0}},mounted:function(){var t=this;this.$watch("$route",(function(e){e.path&&t.highMenu(e)}),{immediate:!0,deep:!0})},methods:{findParent:function(t,e){var n=[];return function e(r,i){for(var o=0;o<r.length;o++){var a=r[o];if(a.name===i){n.push(a),e(t,a.meta.parentId);break}a.children&&e(a.children,i)}}(t,e),n},highMenu:function(t){var e=this.findParent(this.nav[0].children,t.name),n=(0,i.find)(e,{type:1});if(this.currentSelect=[n.name],(0,i.isEmpty)(t.meta.subType))this.isOpenSideBar=!0;else{var r=JSON.parse(t.meta.subType);r&&"1"===r.fullPage?this.isOpenSideBar=!1:this.isOpenSideBar=!0}console.log(e,n,t,this.isOpenSideBar),this.$emit("change",this.isOpenSideBar)},findCurrentNodes:function(t,e,n){var r=this;return t.forEach((function(t){t.name===e?n.push(t):t.children&&r.findCurrentNodes(t.children,e,n)})),n},handleNav:function(t){t.item;var e=t.key;t.keyPath;if(!e)return!1;var n=[];if(this.findCurrentNodes(this.nav[0].children,e,n),!(0,i.isEmpty)(n))if(1===n[0].meta.chainType){var r=e.indexOf("http")>-1?e:"http://"+e;window.open(r)}else this.currentSelect=[e],this.$router.push({name:e}).then((function(t){}))},renderIcon:function(t){var e=this.$createElement;return t?e("i",{class:(0,o.default)(["icon","iconfont",t])}):e(a.default)},getChildrenType1:function(t){return t.children.every((function(t){return 3===t.type}))}},render:function(){var t=this,e=arguments[0],n=function n(r){if(r){if(t.getChildrenType1(r))return e("a-menu-item",{key:r.name},[t.renderIcon(r.meta.icon),e("span",[r.meta.title])]);var i=r.children.map((function(r){return r.children?n(r):1===r.type?e("a-menu-item",{key:r.name},[t.renderIcon(r.meta.icon),e("span",[r.meta.title])]):null}));return e("a-sub-menu",{key:r.name},[e("span",{slot:"title"},[t.renderIcon(r.meta.icon),e("span",[r.meta.title])]),i])}return[]},o=this.sidebarList&&!(0,i.isEmpty)(this.sidebarList)?this.sidebarList.map((function(r){return r.meta&&r.meta.subType?null:!r.children||t.getChildrenType1(r)?e("a-menu-item",{key:r.name},[t.renderIcon(r.meta.icon),e("span",[r.meta.title])]):n(r)})):null,a=o&&o.length?e("a-menu",{attrs:{mode:"inline",theme:this.theme,inlineCollapsed:!0,selectedKeys:this.currentSelect},on:{click:this.handleNav}},[o]):null;return e("a-layout-sider",{class:r.prefixCls+"-slider",attrs:{width:this.isOpenSideBar?250:0}},[a])}}},function(t,e,n){t.exports={default:n(96),__esModule:!0}},function(t,e,n){var r=n(25);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(0),i=n(2),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(40)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var r=n(40),i=n(4),o=n(123),a=n(14),s=n(16),c=n(124),u=n(44),l=n(127),h=n(3)("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,m,g,v){c(n,e,p);var y,_,x,b=function(t){if(!f&&t in A)return A[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",M="values"==m,S=!1,A=t.prototype,C=A[h]||A["@@iterator"]||m&&A[m],E=C||b(m),T=m?M?b("entries"):E:void 0,I="Array"==e&&A.entries||C;if(I&&(x=l(I.call(new t)))!==Object.prototype&&x.next&&(u(x,w,!0),r||"function"==typeof x[h]||a(x,h,d)),M&&C&&"values"!==C.name&&(S=!0,E=function(){return C.call(this)}),r&&!v||!f&&!S&&A[h]||a(A,h,E),s[e]=E,s[w]=d,m)if(y={values:M?E:b("values"),keys:g?E:b("keys"),entries:T},v)for(_ in y)_ in A||o(A,_,y[_]);else i(i.P+i.F*(f||S),e,y);return y}},function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(9);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(16),i=n(3)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(9),i=n(26),o=n(3)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},function(t,e,n){var r,i,o,a=n(18),s=n(134),c=n(64),u=n(41),l=n(2),h=l.process,f=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,m=l.Dispatch,g=0,v={},y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},_=function(t){y.call(t.data)};f&&d||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete v[t]},"process"==n(25)(h)?r=function(t){h.nextTick(a(y,t,1))}:m&&m.now?r=function(t){m.now(a(y,t,1))}:p?(o=(i=new p).port2,i.port1.onmessage=_,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",_,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:f,clear:d}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(9),i=n(19),o=n(48);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(3)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(51),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),s=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:s,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var i=e[r],a=i.obj[i.prop],s=Object.keys(a),c=0;c<s.length;++c){var u=s[c],l=a[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(e.push({obj:a,prop:u}),n.push(l))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n,i,o){if(0===t.length)return t;var s=t;if("symbol"==typeof t?s=Symbol.prototype.toString.call(t):"string"!=typeof t&&(s=String(t)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var c="",u=0;u<s.length;++u){var l=s.charCodeAt(u);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===r.RFC1738&&(40===l||41===l)?c+=s.charAt(u):l<128?c+=a[l]:l<2048?c+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(u)),c+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return c},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,r){if(!n)return e;if("object"!=typeof n){if(o(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var a=e;return o(e)&&!o(n)&&(a=s(e,r)),o(e)&&o(n)?(n.forEach((function(n,o){if(i.call(e,o)){var a=e[o];a&&"object"==typeof a&&n&&"object"==typeof n?e[o]=t(a,n,r):e.push(n)}else e[o]=n})),e):Object.keys(n).reduce((function(e,o){var a=n[o];return i.call(e,o)?e[o]=t(e[o],a,r):e[o]=a,e}),a)}}},function(t,e,n){var r=n(17),i=r.slice,o=r.pluck,a=r.each,s=r.bind,c=r.create,u=r.isList,l=r.isFunction,h=r.isObject;t.exports={createStore:d};var f={version:"2.0.12",enabled:!1,get:function(t,e){var n=this.storage.read(this._namespacePrefix+t);return this._deserialize(n,e)},set:function(t,e){return void 0===e?this.remove(t):(this.storage.write(this._namespacePrefix+t,this._serialize(e)),e)},remove:function(t){this.storage.remove(this._namespacePrefix+t)},each:function(t){var e=this;this.storage.each((function(n,r){t.call(e,e._deserialize(n),(r||"").replace(e._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(t){return this._namespacePrefix=="__storejs_"+t+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(t){this._addPlugin(t)},namespace:function(t){return d(this.storage,this.plugins,t)}};function d(t,e,n){n||(n=""),t&&!u(t)&&(t=[t]),e&&!u(e)&&(e=[e]);var r=n?"__storejs_"+n+"_":"",d=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var p=c({_namespacePrefix:r,_namespaceRegexp:d,_testStorage:function(t){try{var e="__storejs__test__";t.write(e,e);var n=t.read(e)===e;return t.remove(e),n}catch(t){return!1}},_assignPluginFnProp:function(t,e){var n=this[e];this[e]=function(){var e=i(arguments,0),r=this;function o(){if(n)return a(arguments,(function(t,n){e[n]=t})),n.apply(r,e)}var s=[o].concat(e);return t.apply(r,s)}},_serialize:function(t){return JSON.stringify(t)},_deserialize:function(t,e){if(!t)return e;var n="";try{n=JSON.parse(t)}catch(e){n=t}return void 0!==n?n:e},_addStorage:function(t){this.enabled||this._testStorage(t)&&(this.storage=t,this.enabled=!0)},_addPlugin:function(t){var e=this;if(u(t))a(t,(function(t){e._addPlugin(t)}));else if(!o(this.plugins,(function(e){return t===e}))){if(this.plugins.push(t),!l(t))throw new Error("Plugins must be function values that return objects");var n=t.call(this);if(!h(n))throw new Error("Plugins must return an object of function properties");a(n,(function(n,r){if(!l(n))throw new Error("Bad plugin property: "+r+" from plugin "+t.name+". Plugins should only return functions.");e._assignPluginFnProp(n,r)}))}},addStorage:function(t){!function(){var t="undefined"==typeof console?null:console;if(t){var e=t.warn?t.warn:t.log;e.apply(t,arguments)}}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(t)}},f,{plugins:[]});return p.raw={},a(p,(function(t,e){l(t)&&(p.raw[e]=s(p,t))})),a(t,(function(t){p._addStorage(t)})),a(e,(function(t){p._addPlugin(t)})),p}},function(t,e,n){var r=n(73),i=n(152),o=[n(156)];t.exports=r.createStore(i,o)},function(t,e,n){var r=n(17).Global;function i(){return r.localStorage}function o(t){return i().getItem(t)}t.exports={name:"localStorage",read:o,write:function(t,e){return i().setItem(t,e)},each:function(t){for(var e=i().length-1;e>=0;e--){var n=i().key(e);t(o(n),n)}},remove:function(t){return i().removeItem(t)},clearAll:function(){return i().clear()}}},function(t,e,n){var r=n(17),i=r.Global,o=r.trim;t.exports={name:"cookieStorage",read:function(t){if(!t||!u(t))return null;var e="(?:^|.*;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(e),"$1"))},write:function(t,e){if(!t)return;a.cookie=escape(t)+"="+escape(e)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:s,remove:c,clearAll:function(){s((function(t,e){c(e)}))}};var a=i.document;function s(t){for(var e=a.cookie.split(/; ?/g),n=e.length-1;n>=0;n--)if(o(e[n])){var r=e[n].split("="),i=unescape(r[0]);t(unescape(r[1]),i)}}function c(t){t&&u(t)&&(a.cookie=escape(t)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function u(t){return new RegExp("(?:^|;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},function(t,e,n){var r=n(17).Global;function i(){return r.sessionStorage}function o(t){return i().getItem(t)}t.exports={name:"sessionStorage",read:o,write:function(t,e){return i().setItem(t,e)},each:function(t){for(var e=i().length-1;e>=0;e--){var n=i().key(e);t(o(n),n)}},remove:function(t){return i().removeItem(t)},clearAll:function(){return i().clear()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(11)),i=u(n(43)),o=u(n(79)),a=u(n(20)),s=n(13),c=n(7);function u(t){return t&&t.__esModule?t:{default:t}}var l=!1,h=[],f=o.default.create({timeout:6e4,withCredentials:!0});function d(t){if(!t)return{};if(t instanceof FormData)return t;var e=new FormData,n=function(n){var r=t[n];Array.isArray(t[n])?t[n].forEach((function(t){e.append(n,t)})):e.append(n,r)};for(var r in t)n(r);return e}f.interceptors.request.use((function(t){return t.headers["Authorization-sys"]||(t.headers["Authorization-sys"]="Bearer "+c.localStore.get("access_token")),t.url=t.url.replace(/{\w+}/g,(function(e){var n=e.substring(1,e.length-1),r=t.params[n];return["delete","get"].includes(t.method)&&delete t.params[n],r})),t.baseURL=c.sessionStore.get("BASE_URL"),t}),(function(t){return i.default.reject(t)})),f.interceptors.response.use((function(t){return t.data}),(function(t){var e=c.localStore.get("IAM_OATH_TYPE");return t&&t.response&&(401===t.response.status||400===t.response.status)?(e?window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/sys/oauth/logout?"+a.default.stringify({redirectUri:window.origin,oauthType:e}),"_self"):window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/sys/oauth/logout?"+a.default.stringify({redirectUri:window.origin}),"_self"),(t.response.config.url.includes("refresh/token")||t.response.config.url.includes("oauth/token"))&&(c.storage.clearAll(),window.open(OPEN_URL,"_self")),l?new i.default((function(e){h.push((function(n){t.config.headers["Authorization-sys"]="Bearer "+n,e(f(t.config))}))})):(l=!0,(0,s.refreshToken)(e?{refreshTokenIdp:"Bearer "+c.localStore.get("idp_refresh_token")}:{refreshTokenSys:"Bearer "+c.localStore.get("refresh_token")}).then((function(n){var r=n.data,i=r.access_token,o=r.refresh_token;if(c.localStore.set("access_token",i),c.localStore.set("refresh_token",o),e){var a=n.data,s=a.idp_access_token,u=a.idp_refresh_token;c.localStore.set("idp_access_token",s),c.localStore.set("idp_refresh_token",u)}return t.config.headers["Authorization-sys"]="Bearer "+i,h.forEach((function(t){return t(i)})),h=[],f(t.config)})).catch((function(t){c.storage.clearAll(),window.open(OPEN_URL,"_self")})).finally((function(){l=!1})))):i.default.reject(t)})),e.default={service:f,get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.get(t,{params:e,headers:(0,r.default)({},n)})},post:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.post(t,e,{headers:n})},postQuery:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.post(t,{},{headers:n,params:e})},put:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.put(t,e,{headers:n})},file:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.post(t,d(e),{headers:(0,r.default)({"Content-Type":"multipart/form-data"},n)})},download:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.get(t,{params:e,responseType:"blob",headers:(0,r.default)({},n)})},delete:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.delete(t,{params:e,headers:(0,r.default)({"Content-Type":"multipart/form-data"},n)})}}},function(t,e,n){t.exports=n(159)},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(1);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(i(e)+"="+i(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,u=[],l=!1,h=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):h=-1,u.length&&d())}function d(){if(!l){var t=s(f);l=!0;for(var e=u.length;e;){for(c=u,u=[];++h<e;)c&&c[h].run();h=-1,e=u.length}c=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function m(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new p(t,e)),1!==u.length||l||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(1),i=n(165),o=n(166),a=n(81),s=n(167),c=n(170),u=n(171),l=n(85);t.exports=function(t){return new Promise((function(e,n){var h=t.data,f=t.headers,d=t.responseType;r.isFormData(h)&&delete f["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var m=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(m+":"+g)}var v=s(t.baseURL,t.url);function y(){if(p){var r="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,o={data:d&&"text"!==d&&"json"!==d?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:t,request:p};i(e,n,o),p=null}}if(p.open(t.method.toUpperCase(),a(v,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,"onloadend"in p?p.onloadend=y:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(y)},p.onabort=function(){p&&(n(l("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(l("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var _=(t.withCredentials||u(v))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;_&&(f[t.xsrfHeaderName]=_)}"setRequestHeader"in p&&r.forEach(f,(function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete f[e]:p.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),d&&"json"!==d&&(p.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),n(t),p=null)})),h||(h=null),p.send(h)}))}},function(t,e,n){"use strict";var r=n(83);t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function u(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),r.forEach(o,u),r.forEach(a,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(void 0,e[i])})),r.forEach(s,(function(r){r in e?n[r]=c(t[r],e[r]):r in t&&(n[r]=c(void 0,t[r]))}));var l=i.concat(o).concat(a).concat(s),h=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===l.indexOf(t)}));return r.forEach(h,u),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){var r=n(10),i=n(22),o=n(24),a=n(62).f;t.exports=function(t){return function(e){for(var n,s=o(e),c=i(s),u=c.length,l=0,h=[];u>l;)n=c[l++],r&&!a.call(s,n)||h.push(t?[n,s[n]]:s[n]);return h}}},function(t,e,n){var r=n(193).Symbol;t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=l(n(8)),i=n(5),o=l(n(53)),a=n(6),s=l(n(92)),c=l(n(93)),u=l(n(208));function l(t){return t&&t.__esModule?t:{default:t}}e.default={name:"MapAndBasicHeader",inject:["slotsList","propsList"],props:{theme:{type:String,default:"light"},fixed:{type:Boolean,default:!1},navList:{type:Array,default:function(){return[]}}},data:function(){return{currentPath:void 0,currentIndex:0}},mounted:function(){var t=this;this.$watch("$route",(function(e){var n=e.matched;if(t.navList&&!(0,a.isEmpty)(t.navList)&&n.length){var r=(0,i.treeFindPath)(t.navList,(function(t){return t.meta.id===n[n.length-1].meta.id}));t.currentPath=r[0].path;var o=t.navList.findIndex((function(e){return e.path===t.currentPath}));t.currentIndex=-1!==o?o:0,t.propsList.nav&&u.default._toggle(t.currentIndex)}}),{immediate:!0}),this.propsList.nav&&this.$nextTick((function(){u.default.drawNav({index:t.currentIndex,canvas:document.getElementById("navCanvas"),navItem:document.querySelector(".rk-web-core-header-right-nav-item"),navCount:t.navList.length})}))},methods:{renderNav:function(){var t=this,e=this.$createElement;return this.navList&&!(0,a.isEmpty)(this.navList)?this.navList.filter((function(t){return 1===t.type})).map((function(n,o){var a="dark"!==t.theme?(0,r.default)([i.prefixCls+"-header-right-nav-item",n.path===t.currentPath?i.prefixCls+"-header-right-nav-active":""]):(0,r.default)([i.prefixCls+"-header-right-nav-item",i.prefixCls+"-header-dark-nav-item",n.path===t.currentPath?i.prefixCls+"-header-dark-nav-active":""]);return e("div",{class:a,ref:"navItem",on:{click:function(){return t.handleTap(n,o)}}},[n.meta.title])})):null},handleTap:function(t,e){if(1===t.meta.chainType){var n=t.path.indexOf("http")>-1?t.path:"http://"+t.path;window.open(n)}else this.propsList.nav&&u.default._toggle(e),this.currentPath=t.path,this.$store.commit("user/SET_NAV_INDEX",e),this.$router.push(t.path).then((function(t){})),this.$emit("change",t)},setNavIndex:function(t){u.default._toggle(t)}},render:function(){var t=arguments[0],e=this.theme,n=this.fixed,a=this.slotsList,u=this.propsList,l=(0,r.default)([i.prefixCls+"-header",i.prefixCls+"-header-"+e,n?i.prefixCls+"-header-fixed":""]);return t("a-layout-header",{class:l},[t("div",{class:[i.prefixCls+"-header-"+e+"-inner",i.prefixCls+"-header-inner"]},[a.logo?a.logo:t(o.default,{attrs:{prefix:"basic",theme:e}}),a.prefix,t("div",{class:i.prefixCls+"-header-right"},[u.nav?t("div",{class:[i.prefixCls+"-header-right-nav","dark"===e?i.prefixCls+"-header-dark":""]},[t("canvas",{attrs:{id:"navCanvas"},style:"position: absolute; z-index: -1"}),this.renderNav()]):null,u.right?t("div",{class:i.prefixCls+"-header-right-extra"},[a.header,t(s.default,{attrs:{theme:e}}),a.extends,t(c.default,{attrs:{theme:e}})]):null]),a.suffix])])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=p(n(30)),o=p(n(31)),a=p(n(11)),s=n(5),c=n(7),u=p(n(74)),l=n(13),h=n(6),f=p(n(8)),d=p(n(20));function p(t){return t&&t.__esModule?t:{default:t}}e.default={name:"AppExternal",props:{theme:{type:String,default:"light"}},computed:{currentUser:function(){return c.localStore.get("userName")},currentProject:function(){return c.localStore.get("currentProject")}},data:function(){return{projectList:[],currentProjectInfo:void 0}},mounted:function(){this.getAllProject()},methods:{getAllProject:function(){var t=this;(0,l.getBelongList)().then((function(e){c.sessionStore.get("CLIENT_ID");t.projectList=e.data.map((function(e){return(0,a.default)({},e,{check:e.id===t.currentProject.id})}));var n=(0,h.find)(t.projectList,["id",t.currentProject.id]);(0,h.isEmpty)(n)||(t.currentProjectInfo=n.name)}))},changeBtn:(r=(0,o.default)(i.default.mark((function t(e,n){var r,o,a;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(1!==e){t.next=14;break}return localStorage.removeItem("menuList"),localStorage.removeItem("consumer"),localStorage.removeItem("currentProject"),localStorage.removeItem("consumerExtList"),localStorage.removeItem("userMessage"),c.localStore.set("currentProject",n),t.next=9,(0,l.postConsumer)(n.id);case 9:r=t.sent,o=r.data,!(0,h.isEmpty)(o)&&o.access_token&&(localStorage.removeItem("access_token"),localStorage.setItem("access_token",o.access_token),this.$nextTick((function(){window.location.reload()}))),t.next=17;break;case 14:u.default.clearAll(),(a=c.localStore.get("IAM_OATH_TYPE"))?window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/sys/oauth/logout?"+d.default.stringify({redirectUri:window.origin,oauthType:a}),"_self"):window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/sys/oauth/logout?"+d.default.stringify({redirectUri:window.origin}),"_self");case 17:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},render:function(){var t=this,e=arguments[0],n=this.projectList.map((function(n){var r=(0,f.default)([s.prefixCls+"-app-external-cell",n.check?s.prefixCls+"-app-external-active":""]);return e("div",{class:r,on:{click:function(){return t.changeBtn(1,n)}}},[n.name])}));return e("a-dropdown",{attrs:{trigger:["click"]}},[e("span",{class:[s.prefixCls+"-app-external-link",s.prefixCls+"-app-external-link-"+this.theme]},[e("span",{class:s.prefixCls+"-app-external-link-title"},[this.currentUser]),this.currentProject?e("span",{class:s.prefixCls+"-app-external-link-sub"},["【",this.currentProjectInfo,"】"]):null,e("a-icon",{attrs:{type:"caret-down"}})]),e("div",{slot:"overlay",class:s.prefixCls+"-app-external-wrapper"},[(0,h.isEmpty)(this.projectList)?null:e("div",{class:s.prefixCls+"-app-external-list"},[n]),e("div",{class:s.prefixCls+"-app-external-btn",on:{click:function(){return t.changeBtn(2)}}},[e("span",["退出登录"])])])])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(57)),i=u(n(204)),o=n(5),a=n(13),s=u(n(207)),c=n(7);function u(t){return t&&t.__esModule?t:{default:t}}var l={"东北⻛":[22.5,67.5],"东⻛":[67.5,112.5],"东南⻛":[112.5,157.5],"南⻛":[157.5,202.5],"⻄南⻛":[202.5,247.5],"⻄⻛":[247.5,292.5],"⻄北⻛":[292.5,337.5]},h={"0级":[0,.2],"1级":[.2,1.5],"2级":[1.5,3.3],"3级":[3.3,5.4],"4级":[5.4,7.9],"5级":[7.9,10.7],"6级":[10.7,13.8],"7级":[13.8,17.1],"8级":[17.1,20.7],"9级":[20.7,24.4],"10级":[24.4,28.4],"11级":[28.4,32.6]};e.default={name:"HeaderInfoGroup",inject:["propsList"],props:{theme:{type:String,default:"light"}},data:function(){return{ymd:"00-00-00",hms:"--:--:--",regionDataInfo:{temperature:0,time:void 0,url:void 0,value:0,windDirection:0,windSpeed:0,iconDay:void 0,iconNight:void 0,weather:"晴",windDegrees:180,windLevel:2},isDay:!0}},mounted:function(){var t=this;this.timer=setInterval((function(){t.initDateTime()}),1e3),this.getRealDate()},methods:{calcWindDirection:function(t){return{transform:"rotateZ("+t+"deg)"}},calcWind:function(t){var e=(0,i.default)(l).findIndex((function(e){return t>e[0]&&t<=e[1]}));return""+((0,r.default)(l)[e]||"北风")},calcWindLevel:function(t){if(0===t)return"0级";var e=(0,i.default)(h).findIndex((function(e){return t>e[0]&&t<=e[1]}));return""+((0,r.default)(h)[e]||"12级")},initDateTime:function(){var t=new Date,e=t.getFullYear(),n=t.getMonth()+1,r=t.getDate(),i=(new Date).getHours(),o=(new Date).getMinutes(),a=(new Date).getSeconds();this.ymd=e+"-"+this.addZero(n)+"-"+this.addZero(r),this.isDay=i>6&&i<=18,this.hms=this.addZero(i)+":"+this.addZero(o)+":"+this.addZero(a)},addZero:function(t){return t<10?"0"+t:t},getRealDate:function(){var t=this,e=c.localStore.get("consumer").regionId;(0,a.getRegionDataInfo)({areaCode:e}).then((function(e){t.regionDataInfo=e.data.live}))}},beforeDestroy:function(){this.timer&&clearInterval(this.timer)},render:function(){var t=arguments[0];return t("div",{class:[o.prefixCls+"-header-info-group",o.prefixCls+"-header-info-group-"+this.theme]},[this.propsList.datetime?t("div",{class:[o.prefixCls+"-header-info-group-time",o.prefixCls+"-header-info-group-item"]},[t("span",[this.hms]),t("small",[this.ymd])]):null,this.propsList.weather?t("div",{class:[o.prefixCls+"-header-info-group-weather",o.prefixCls+"-header-info-group-item"]},[t("img",{attrs:{src:this.regionDataInfo.icon,alt:""}}),t("span",[this.regionDataInfo.temperature,"℃"])]):null,this.propsList.wind?t("div",{class:[o.prefixCls+"-header-info-group-wind",o.prefixCls+"-header-info-group-item"]},[t("div",{class:o.prefixCls+"-header-info-group-wind-img"},[t(s.default,{style:this.calcWindDirection(this.regionDataInfo.windDegrees)})]),t("div",{class:o.prefixCls+"-header-info-group-wind-info"},[t("span",[this.regionDataInfo.windLevel,"级"]),t("span",[this.regionDataInfo.windDirection])])]):null])}}},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(214),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(12))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GMap=e.AppLayout=e.install=void 0;var r=b(n(57)),i=b(n(28)),o=b(n(29)),a=n(6),s=n(108),c=b(n(109)),u=n(110),l=b(n(117)),h=n(177),f=b(n(78)),d=n(228),p=n(34),m=b(n(79)),g=b(n(229));n(230);var v=n(55),y=b(v),_=n(240),x=b(_);function b(t){return t&&t.__esModule?t:{default:t}}var w={loadView:void 0,store:{},filters:[],vueConfig:{},authToken:void 0,svgFile:"https://at.alicdn.com/t/font_614860_f0motpq03e.js",isNeedMapTalks:!1,mapOptions:{},routerOptions:{},microOptions:{}},M=function(){function t(e,n){(0,i.default)(this,t),e&&n&&(this.vueInstance=e,this.basicRouter=c.default,this.initOptions(n))}return(0,o.default)(t,[{key:"initOptions",value:function(t){var e=(0,r.default)(w);this.basicOptions=(0,a.pick)((0,p.mergeProps)(w,t),e),this.storeInstance=this.basicOptions.store,this.useInstance(),this.filterInstance(),this.vueConfigPick()}},{key:"getRequestInstance",value:function(){return f.default}},{key:"useInstance",value:function(){this.vueInstance.use(this.basicRouter),this.routerInstance=(0,u.routerInit)(this.basicRouter,this.basicOptions.routerOptions),this.storeInstance.registerModule("user",l.default),(0,h.registerPermission)(this,(0,u.pkRouter)(this.basicRouter,this.basicOptions.routerOptions)),this.basicOptions.isNeedMapTalks&&this.loadAMap()}},{key:"loadAMap",value:function(){var t=this;this.routerInstance.onReady((function(){(0,y.default)((0,p.mergeProps)({svgFile:t.basicOptions.svgFile,zoom:9.6},t.basicOptions.mapOptions))}))}},{key:"filterInstance",value:function(){var t=this;(0,r.default)(this.basicOptions.filters).forEach((function(e){t.vueInstance.filter(e,t.basicOptions.filters[e])}))}},{key:"vueConfigPick",value:function(){var t=this;(0,r.default)(this.basicOptions.vueConfig).forEach((function(e){t.vueInstance.config[e]=t.basicOptions.vueConfig[e]}))}},{key:"mount",value:function(){return{version:s.version,router:this.routerInstance,store:this.storeInstance,resetRouter:(0,u.pkRouter)(this.basicRouter),request:this.getRequestInstance(),axios:m.default,vueInstance:this.vueInstance,bootstrap:(0,d.noLogin)(this.routerInstance,this.basicOptions.authToken)}}},{key:"loadMicro",value:function(){return{micro:x.default,microOne:_.microOne,microTwo:_.microTwo,microThree:_.microThree}}}]),t}(),S=function(t){t.use(g.default)};"undefined"!=typeof window&&window.Vue&&S(window.Vue),g.default.install=function(t){t.component(g.default.name,g.default)},e.install=S,e.AppLayout=g.default,e.GMap=v.GMap,e.default=function(t,e){return new M(t,e)}},function(t,e,n){n(97),t.exports=n(0).Object.keys},function(t,e,n){var r=n(21),i=n(22);n(101)("keys",(function(){return function(t){return i(r(t))}}))},function(t,e,n){var r=n(23),i=n(24),o=n(99)(!1),a=n(39)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var r=n(24),i=n(37),o=n(100);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(38),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(4),i=n(0),o=n(27);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(t,e,n){t.exports=!n(10)&&!n(27)((function(){return 7!=Object.defineProperty(n(41)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(19);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){t.exports={default:n(105),__esModule:!0}},function(t,e,n){n(106);var r=n(0).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(4);r(r.S+r.F*!n(10),"Object",{defineProperty:n(15).f})},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.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}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.version="V0.6.26"},function(t,e,n){"use strict";function r(t,e){for(var n in e)t[n]=e[n];return t}n.r(e);var i=/[!'()*]/g,o=function(t){return"%"+t.charCodeAt(0).toString(16)},a=/%2C/g,s=function(t){return encodeURIComponent(t).replace(i,o).replace(a,",")};function c(t){try{return decodeURIComponent(t)}catch(t){0}return t}var u=function(t){return null==t||"object"==typeof t?t:String(t)};function l(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=c(n.shift()),i=n.length>0?c(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),e):e}function h(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return s(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(s(e)):r.push(s(e)+"="+s(t)))})),r.join("&")}return s(e)+"="+s(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var f=/\/?$/;function d(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=p(o)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:v(e,i),matched:t?g(t):[]};return n&&(a.redirectedFrom=v(n,i)),Object.freeze(a)}function p(t){if(Array.isArray(t))return t.map(p);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=p(t[n]);return e}return t}var m=d(null,{path:"/"});function g(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function v(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;return void 0===i&&(i=""),(n||"/")+(e||h)(r)+i}function y(t,e,n){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(f,"")===e.path.replace(f,"")&&(n||t.hash===e.hash&&_(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params))))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,i){var o=t[n];if(r[i]!==n)return!1;var a=e[n];return null==o||null==a?o===a:"object"==typeof o&&"object"==typeof a?_(o,a):String(o)===String(a)}))}function x(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var r in n.instances){var i=n.instances[r],o=n.enteredCbs[r];if(i&&o){delete n.enteredCbs[r];for(var a=0;a<o.length;a++)i._isBeingDestroyed||o[a](i)}}}}var b={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,o=e.parent,a=e.data;a.routerView=!0;for(var s=o.$createElement,c=n.name,u=o.$route,l=o._routerViewCache||(o._routerViewCache={}),h=0,f=!1;o&&o._routerRoot!==o;){var d=o.$vnode?o.$vnode.data:{};d.routerView&&h++,d.keepAlive&&o._directInactive&&o._inactive&&(f=!0),o=o.$parent}if(a.routerViewDepth=h,f){var p=l[c],m=p&&p.component;return m?(p.configProps&&w(m,a,p.route,p.configProps),s(m,a,i)):s()}var g=u.matched[h],v=g&&g.components[c];if(!g||!v)return l[c]=null,s();l[c]={component:v},a.registerRouteInstance=function(t,e){var n=g.instances[c];(e&&n!==t||!e&&n===t)&&(g.instances[c]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){g.instances[c]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==g.instances[c]&&(g.instances[c]=t.componentInstance),x(u)};var y=g.props&&g.props[c];return y&&(r(l[c],{route:u,configProps:y}),w(v,a,u,y)),s(v,a,i)}};function w(t,e,n,i){var o=e.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(n,i);if(o){o=e.props=r({},o);var a=e.attrs=e.attrs||{};for(var s in o)t.props&&s in t.props||(a[s]=o[s],delete o[s])}}function M(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var o=t.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?i.pop():"."!==s&&i.push(s)}return""!==i[0]&&i.unshift(""),i.join("/")}function S(t){return t.replace(/\/+/g,"/")}var A=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},C=N,E=R,T=function(t,e){return k(R(t,e),e)},I=k,L=j,P=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function R(t,e){for(var n,r=[],i=0,o=0,a="",s=e&&e.delimiter||"/";null!=(n=P.exec(t));){var c=n[0],u=n[1],l=n.index;if(a+=t.slice(o,l),o=l+c.length,u)a+=u[1];else{var h=t[o],f=n[2],d=n[3],p=n[4],m=n[5],g=n[6],v=n[7];a&&(r.push(a),a="");var y=null!=f&&null!=h&&h!==f,_="+"===g||"*"===g,x="?"===g||"*"===g,b=n[2]||s,w=p||m;r.push({name:d||i++,prefix:f||"",delimiter:b,optional:x,repeat:_,partial:y,asterisk:!!v,pattern:w?D(w):v?".*":"[^"+B(b)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&r.push(a),r}function O(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function k(t,e){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(n[r]=new RegExp("^(?:"+t[r].pattern+")$",U(e)));return function(e,r){for(var i="",o=e||{},a=(r||{}).pretty?O:encodeURIComponent,s=0;s<t.length;s++){var c=t[s];if("string"!=typeof c){var u,l=o[c.name];if(null==l){if(c.optional){c.partial&&(i+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(A(l)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(l)+"`");if(0===l.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var h=0;h<l.length;h++){if(u=a(l[h]),!n[s].test(u))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(u)+"`");i+=(0===h?c.prefix:c.delimiter)+u}}else{if(u=c.asterisk?encodeURI(l).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):a(l),!n[s].test(u))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+u+'"');i+=c.prefix+u}}else i+=c}return i}}function B(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function D(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function F(t,e){return t.keys=e,t}function U(t){return t&&t.sensitive?"":"i"}function j(t,e,n){A(e)||(n=e||n,e=[]);for(var r=(n=n||{}).strict,i=!1!==n.end,o="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)o+=B(s);else{var c=B(s.prefix),u="(?:"+s.pattern+")";e.push(s),s.repeat&&(u+="(?:"+c+u+")*"),o+=u=s.optional?s.partial?c+"("+u+")?":"(?:"+c+"("+u+"))?":c+"("+u+")"}}var l=B(n.delimiter||"/"),h=o.slice(-l.length)===l;return r||(o=(h?o.slice(0,-l.length):o)+"(?:"+l+"(?=$))?"),o+=i?"$":r&&h?"":"(?="+l+"|$)",F(new RegExp("^"+o,U(n)),e)}function N(t,e,n){return A(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return F(t,e)}(t,e):A(t)?function(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(N(t[i],e,n).source);return F(new RegExp("(?:"+r.join("|")+")",U(n)),e)}(t,e,n):function(t,e,n){return j(R(t,n),e,n)}(t,e,n)}C.parse=E,C.compile=T,C.tokensToFunction=I,C.tokensToRegExp=L;var G=Object.create(null);function z(t,e,n){e=e||{};try{var r=G[t]||(G[t]=C.compile(t));return"string"==typeof e.pathMatch&&(e[0]=e.pathMatch),r(e,{pretty:!0})}catch(t){return""}finally{delete e[0]}}function H(t,e,n,i){var o="string"==typeof t?{path:t}:t;if(o._normalized)return o;if(o.name){var a=(o=r({},t)).params;return a&&"object"==typeof a&&(o.params=r({},a)),o}if(!o.path&&o.params&&e){(o=r({},o))._normalized=!0;var s=r(r({},e.params),o.params);if(e.name)o.name=e.name,o.params=s;else if(e.matched.length){var c=e.matched[e.matched.length-1].path;o.path=z(c,s,e.path)}else 0;return o}var h=function(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}(o.path||""),f=e&&e.path||"/",d=h.path?M(h.path,f,n||o.append):f,p=function(t,e,n){void 0===e&&(e={});var r,i=n||l;try{r=i(t||"")}catch(t){r={}}for(var o in e){var a=e[o];r[o]=Array.isArray(a)?a.map(u):u(a)}return r}(h.query,o.query,i&&i.options.parseQuery),m=o.hash||h.hash;return m&&"#"!==m.charAt(0)&&(m="#"+m),{_normalized:!0,path:d,query:p,hash:m}}var W,V=function(){},Z={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,o=n.resolve(this.to,i,this.append),a=o.location,s=o.route,c=o.href,u={},l=n.options.linkActiveClass,h=n.options.linkExactActiveClass,p=null==l?"router-link-active":l,m=null==h?"router-link-exact-active":h,g=null==this.activeClass?p:this.activeClass,v=null==this.exactActiveClass?m:this.exactActiveClass,_=s.redirectedFrom?d(null,H(s.redirectedFrom),null,n):s;u[v]=y(i,_,this.exactPath),u[g]=this.exact||this.exactPath?u[v]:function(t,e){return 0===t.path.replace(f,"/").indexOf(e.path.replace(f,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(i,_);var x=u[v]?this.ariaCurrentValue:null,b=function(t){Q(t)&&(e.replace?n.replace(a,V):n.push(a,V))},w={click:Q};Array.isArray(this.event)?this.event.forEach((function(t){w[t]=b})):w[this.event]=b;var M={class:u},S=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:c,route:s,navigate:b,isActive:u[g],isExactActive:u[v]});if(S){if(1===S.length)return S[0];if(S.length>1||!S.length)return 0===S.length?t():t("span",{},S)}if("a"===this.tag)M.on=w,M.attrs={href:c,"aria-current":x};else{var A=function t(e){var n;if(e)for(var r=0;r<e.length;r++){if("a"===(n=e[r]).tag)return n;if(n.children&&(n=t(n.children)))return n}}(this.$slots.default);if(A){A.isStatic=!1;var C=A.data=r({},A.data);for(var E in C.on=C.on||{},C.on){var T=C.on[E];E in w&&(C.on[E]=Array.isArray(T)?T:[T])}for(var I in w)I in C.on?C.on[I].push(w[I]):C.on[I]=b;var L=A.data.attrs=r({},A.data.attrs);L.href=c,L["aria-current"]=x}else M.on=w}return t(this.tag,M,this.$slots.default)}};function Q(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}var X="undefined"!=typeof window;function Y(t,e,n,r,i){var o=e||[],a=n||Object.create(null),s=r||Object.create(null);t.forEach((function(t){!function t(e,n,r,i,o,a){var s=i.path,c=i.name;0;var u=i.pathToRegexpOptions||{},l=function(t,e,n){n||(t=t.replace(/\/$/,""));if("/"===t[0])return t;if(null==e)return t;return S(e.path+"/"+t)}(s,o,u.strict);"boolean"==typeof i.caseSensitive&&(u.sensitive=i.caseSensitive);var h={path:l,regex:J(l,u),components:i.components||{default:i.component},alias:i.alias?"string"==typeof i.alias?[i.alias]:i.alias:[],instances:{},enteredCbs:{},name:c,parent:o,matchAs:a,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};i.children&&i.children.forEach((function(i){var o=a?S(a+"/"+i.path):void 0;t(e,n,r,i,h,o)}));n[h.path]||(e.push(h.path),n[h.path]=h);if(void 0!==i.alias)for(var f=Array.isArray(i.alias)?i.alias:[i.alias],d=0;d<f.length;++d){0;var p={path:f[d],children:i.children};t(e,n,r,p,o,h.path||"/")}c&&(r[c]||(r[c]=h))}(o,a,s,t,i)}));for(var c=0,u=o.length;c<u;c++)"*"===o[c]&&(o.push(o.splice(c,1)[0]),u--,c--);return{pathList:o,pathMap:a,nameMap:s}}function J(t,e){return C(t,[],e)}function q(t,e){var n=Y(t),r=n.pathList,i=n.pathMap,o=n.nameMap;function a(t,n,a){var s=H(t,n,!1,e),u=s.name;if(u){var l=o[u];if(!l)return c(null,s);var h=l.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var f in n.params)!(f in s.params)&&h.indexOf(f)>-1&&(s.params[f]=n.params[f]);return s.path=z(l.path,s.params),c(l,s,a)}if(s.path){s.params={};for(var d=0;d<r.length;d++){var p=r[d],m=i[p];if(K(m.regex,s.path,s.params))return c(m,s,a)}}return c(null,s)}function s(t,n){var r=t.redirect,i="function"==typeof r?r(d(t,n,null,e)):r;if("string"==typeof i&&(i={path:i}),!i||"object"!=typeof i)return c(null,n);var s=i,u=s.name,l=s.path,h=n.query,f=n.hash,p=n.params;if(h=s.hasOwnProperty("query")?s.query:h,f=s.hasOwnProperty("hash")?s.hash:f,p=s.hasOwnProperty("params")?s.params:p,u){o[u];return a({_normalized:!0,name:u,query:h,hash:f,params:p},void 0,n)}if(l){var m=function(t,e){return M(t,e.parent?e.parent.path:"/",!0)}(l,t);return a({_normalized:!0,path:z(m,p),query:h,hash:f},void 0,n)}return c(null,n)}function c(t,n,r){return t&&t.redirect?s(t,r||n):t&&t.matchAs?function(t,e,n){var r=a({_normalized:!0,path:z(n,e.params)});if(r){var i=r.matched,o=i[i.length-1];return e.params=r.params,c(o,e)}return c(null,e)}(0,n,t.matchAs):d(t,n,r,e)}return{match:a,addRoute:function(t,e){var n="object"!=typeof t?o[t]:void 0;Y([e||t],r,i,o,n),n&&n.alias.length&&Y(n.alias.map((function(t){return{path:t,children:[e]}})),r,i,o,n)},getRoutes:function(){return r.map((function(t){return i[t]}))},addRoutes:function(t){Y(t,r,i,o)}}}function K(t,e,n){var r=e.match(t);if(!r)return!1;if(!n)return!0;for(var i=1,o=r.length;i<o;++i){var a=t.keys[i-1];a&&(n[a.name||"pathMatch"]="string"==typeof r[i]?c(r[i]):r[i])}return!0}var $=X&&window.performance&&window.performance.now?window.performance:Date;function tt(){return $.now().toFixed(3)}var et=tt();function nt(){return et}function rt(t){return et=t}var it=Object.create(null);function ot(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=r({},window.history.state);return n.key=nt(),window.history.replaceState(n,"",e),window.addEventListener("popstate",ct),function(){window.removeEventListener("popstate",ct)}}function at(t,e,n,r){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick((function(){var o=function(){var t=nt();if(t)return it[t]}(),a=i.call(t,e,n,r?o:null);a&&("function"==typeof a.then?a.then((function(t){dt(t,o)})).catch((function(t){0})):dt(a,o))}))}}function st(){var t=nt();t&&(it[t]={x:window.pageXOffset,y:window.pageYOffset})}function ct(t){st(),t.state&&t.state.key&&rt(t.state.key)}function ut(t){return ht(t.x)||ht(t.y)}function lt(t){return{x:ht(t.x)?t.x:window.pageXOffset,y:ht(t.y)?t.y:window.pageYOffset}}function ht(t){return"number"==typeof t}var ft=/^#\d/;function dt(t,e){var n,r="object"==typeof t;if(r&&"string"==typeof t.selector){var i=ft.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(i){var o=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-n.left-e.x,y:r.top-n.top-e.y}}(i,o={x:ht((n=o).x)?n.x:0,y:ht(n.y)?n.y:0})}else ut(t)&&(e=lt(t))}else r&&ut(t)&&(e=lt(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var pt,mt=X&&((-1===(pt=window.navigator.userAgent).indexOf("Android 2.")&&-1===pt.indexOf("Android 4.0")||-1===pt.indexOf("Mobile Safari")||-1!==pt.indexOf("Chrome")||-1!==pt.indexOf("Windows Phone"))&&window.history&&"function"==typeof window.history.pushState);function gt(t,e){st();var n=window.history;try{if(e){var i=r({},n.state);i.key=nt(),n.replaceState(i,"",t)}else n.pushState({key:rt(tt())},"",t)}catch(n){window.location[e?"replace":"assign"](t)}}function vt(t){gt(t,!0)}function yt(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}var _t={redirected:2,aborted:4,cancelled:8,duplicated:16};function xt(t,e){return wt(t,e,_t.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return Mt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function bt(t,e){return wt(t,e,_t.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function wt(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var Mt=["params","query","hash"];function St(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function At(t,e){return St(t)&&t._isRouter&&(null==e||t.type===e)}function Ct(t){return function(e,n,r){var i=!1,o=0,a=null;Et(t,(function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){i=!0,o++;var c,u=Lt((function(e){var i;((i=e).__esModule||It&&"Module"===i[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:W.extend(e),n.components[s]=e,--o<=0&&r()})),l=Lt((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=St(t)?t:new Error(e),r(a))}));try{c=t(u,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(u,l);else{var h=c.component;h&&"function"==typeof h.then&&h.then(u,l)}}})),i||r()}}function Et(t,e){return Tt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Tt(t){return Array.prototype.concat.apply([],t)}var It="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Lt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Pt=function(t,e){this.router=t,this.base=function(t){if(!t)if(X){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Rt(t,e,n,r){var i=Et(t,(function(t,r,i,o){var a=function(t,e){"function"!=typeof t&&(t=W.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map((function(t){return n(t,r,i,o)})):n(a,r,i,o)}));return Tt(r?i.reverse():i)}function Ot(t,e){if(e)return function(){return t.apply(e,arguments)}}Pt.prototype.listen=function(t){this.cb=t},Pt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Pt.prototype.onError=function(t){this.errorCbs.push(t)},Pt.prototype.transitionTo=function(t,e,n){var r,i=this;try{r=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var o=this.current;this.confirmTransition(r,(function(){i.updateRoute(r),e&&e(r),i.ensureURL(),i.router.afterHooks.forEach((function(t){t&&t(r,o)})),i.ready||(i.ready=!0,i.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!i.ready&&(At(t,_t.redirected)&&o===m||(i.ready=!0,i.readyErrorCbs.forEach((function(e){e(t)}))))}))},Pt.prototype.confirmTransition=function(t,e,n){var r=this,i=this.current;this.pending=t;var o,a,s=function(t){!At(t)&&St(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},c=t.matched.length-1,u=i.matched.length-1;if(y(t,i)&&c===u&&t.matched[c]===i.matched[u])return this.ensureURL(),t.hash&&at(this.router,i,t,!1),s(((a=wt(o=i,t,_t.duplicated,'Avoided redundant navigation to current location: "'+o.fullPath+'".')).name="NavigationDuplicated",a));var l=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}(this.current.matched,t.matched),h=l.updated,f=l.deactivated,d=l.activated,p=[].concat(function(t){return Rt(t,"beforeRouteLeave",Ot,!0)}(f),this.router.beforeHooks,function(t){return Rt(t,"beforeRouteUpdate",Ot)}(h),d.map((function(t){return t.beforeEnter})),Ct(d)),m=function(e,n){if(r.pending!==t)return s(bt(i,t));try{e(t,i,(function(e){!1===e?(r.ensureURL(!0),s(function(t,e){return wt(t,e,_t.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}(i,t))):St(e)?(r.ensureURL(!0),s(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(s(xt(i,t)),"object"==typeof e&&e.replace?r.replace(e):r.push(e)):n(e)}))}catch(t){s(t)}};yt(p,m,(function(){yt(function(t){return Rt(t,"beforeRouteEnter",(function(t,e,n,r){return function(t,e,n){return function(r,i,o){return t(r,i,(function(t){"function"==typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),o(t)}))}}(t,n,r)}))}(d).concat(r.router.resolveHooks),m,(function(){if(r.pending!==t)return s(bt(i,t));r.pending=null,e(t),r.router.app&&r.router.app.$nextTick((function(){x(t)}))}))}))},Pt.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},Pt.prototype.setupListeners=function(){},Pt.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=m,this.pending=null};var kt=function(t){function e(e,n){t.call(this,e,n),this._startLocation=Bt(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=mt&&n;r&&this.listeners.push(ot());var i=function(){var n=t.current,i=Bt(t.base);t.current===m&&i===t._startLocation||t.transitionTo(i,(function(t){r&&at(e,t,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){gt(S(r.base+t.fullPath)),at(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){vt(S(r.base+t.fullPath)),at(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(Bt(this.base)!==this.current.fullPath){var e=S(this.base+this.current.fullPath);t?gt(e):vt(e)}},e.prototype.getCurrentLocation=function(){return Bt(this.base)},e}(Pt);function Bt(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(S(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Dt=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=Bt(t);if(!/^\/#/.test(e))return window.location.replace(S(t+"/#"+e)),!0}(this.base)||Ft()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=mt&&e;n&&this.listeners.push(ot());var r=function(){var e=t.current;Ft()&&t.transitionTo(Ut(),(function(r){n&&at(t.router,r,e,!0),mt||Gt(r.fullPath)}))},i=mt?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push((function(){window.removeEventListener(i,r)}))}},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Nt(t.fullPath),at(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Gt(t.fullPath),at(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Ut()!==e&&(t?Nt(e):Gt(e))},e.prototype.getCurrentLocation=function(){return Ut()},e}(Pt);function Ft(){var t=Ut();return"/"===t.charAt(0)||(Gt("/"+t),!1)}function Ut(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function jt(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Nt(t){mt?gt(jt(t)):window.location.hash=t}function Gt(t){mt?vt(jt(t)):window.location.replace(jt(t))}var zt=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){At(t,_t.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Pt),Ht=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=q(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!mt&&!1!==t.fallback,this.fallback&&(e="hash"),X||(e="abstract"),this.mode=e,e){case"history":this.history=new kt(this,t.base);break;case"hash":this.history=new Dt(this,t.base,this.fallback);break;case"abstract":this.history=new zt(this,t.base);break;default:0}},Wt={currentRoute:{configurable:!0}};function Vt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Ht.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Wt.currentRoute.get=function(){return this.history&&this.history.current},Ht.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof kt||n instanceof Dt){var r=function(t){n.setupListeners(),function(t){var r=n.current,i=e.options.scrollBehavior;mt&&i&&"fullPath"in t&&at(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Ht.prototype.beforeEach=function(t){return Vt(this.beforeHooks,t)},Ht.prototype.beforeResolve=function(t){return Vt(this.resolveHooks,t)},Ht.prototype.afterEach=function(t){return Vt(this.afterHooks,t)},Ht.prototype.onReady=function(t,e){this.history.onReady(t,e)},Ht.prototype.onError=function(t){this.history.onError(t)},Ht.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},Ht.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},Ht.prototype.go=function(t){this.history.go(t)},Ht.prototype.back=function(){this.go(-1)},Ht.prototype.forward=function(){this.go(1)},Ht.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Ht.prototype.resolve=function(t,e,n){var r=H(t,e=e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?S(t+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},Ht.prototype.getRoutes=function(){return this.matcher.getRoutes()},Ht.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Ht.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ht.prototype,Wt),Ht.install=function t(e){if(!t.installed||W!==e){t.installed=!0,W=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",b),e.component("RouterLink",Z);var i=e.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},Ht.version="3.5.3",Ht.isNavigationFailure=At,Ht.NavigationFailureType=_t,Ht.START_LOCATION=m,X&&window.Vue&&window.Vue.use(Ht),e.default=Ht},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pkRouter=e.routerInit=void 0;var r=o(n(11)),i=o(n(116));function o(t){return t&&t.__esModule?t:{default:t}}e.routerInit=function(t,e){var n=t.prototype.push,r=t.prototype.replace;t.prototype.push=function(t,e,r){return e||r?n.call(this,t,e,r):n.call(this,t).catch((function(t){return t}))},t.prototype.replace=function(t,e,n){return e||n?r.call(this,t,e,n):r.call(this,t).catch((function(t){return t}))};var i=a(t,e);return s(i),i};var a=e.pkRouter=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){return new t((0,r.default)({},e,{mode:"history",routes:[{path:"/404",component:i.default}],scrollBehavior:function(t,e,n){return n||{x:0,y:0}}}))},o=n(),a=n();return o.matcher=a.matcher,o},s=function(t){t.onError((function(e){console.log("\n *************************ROUTER ERROR BEGIN**********************************\n\n "+e+"\n\n *************************ROUTER ERROR FINAL**********************************\n ");var n=e.message.match(/Loading chunk (\w)+ failed/g),r=t.history.pending.fullPath;n&&t.replace(r).then()}))}},function(t,e,n){t.exports={default:n(112),__esModule:!0}},function(t,e,n){n(113),t.exports=n(0).Object.assign},function(t,e,n){var r=n(4);r(r.S+r.F,"Object",{assign:n(114)})},function(t,e,n){"use strict";var r=n(10),i=n(22),o=n(115),a=n(62),s=n(21),c=n(58),u=Object.assign;t.exports=!u||n(27)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){for(var n=s(t),u=arguments.length,l=1,h=o.f,f=a.f;u>l;)for(var d,p=c(arguments[l++]),m=h?i(p).concat(h(p)):i(p),g=m.length,v=0;g>v;)d=m[v++],r&&!f.call(p,d)||(n[d]=p[d]);return n}:u},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={render:function(){var t=arguments[0];return t("a-result",{attrs:{status:"404",title:"404","sub-title":"Sorry, the page you visited does not exist."}},[t("a-button",{attrs:{type:"primary"},slot:"extra",on:{click:this.toHome}},["Back Home"])])},methods:{toHome:function(){return this.$router.replace({path:"/"}),!1}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MENU_LIST=void 0;var r=u(n(30)),i=u(n(31)),o=u(n(43)),a=u(n(20)),s=n(7),c=n(13);function u(t){return t&&t.__esModule?t:{default:t}}var l=e.MENU_LIST="menuList",h={namespaced:!0,state:{menu_list:s.localStore.get(l)||[],addRouters:[],appRouters:[],appCurrentHeader:{},currentMap:{},navIndex:0,timeStamp:{}},mutations:{SET_MENU_LIST:function(t,e){t.menu_list=e},SET_ROUTERS:function(t,e){t.addRouters=e},SET_APP_ROUTERS:function(t,e){t.appRouters=e},SET_APP_CURRENT_HEADER:function(t,e){t.appCurrentHeader=e},SET_CURRENT_MAP:function(t,e){t.currentMap=e},SET_NAV_INDEX:function(t,e){t.navIndex=e},SET_TIME_STAMP:function(t,e){t.timeStamp=e}},actions:{appRouters:function(t,e){(0,t.commit)("SET_ROUTERS",e)},GetUserInfo:function(t,e){var n,u=this,h=t.commit;return new o.default((n=(0,i.default)(r.default.mark((function t(n,i){var o,f,d,p,m,g,v,y,_;return r.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,c.getUserInfo)(e);case 2:o=t.sent,f=o.data,d=f.id,p=f.phone,m=f.consumer,g=f.menuList,v=f.userName,y=s.localStore.get("IAM_OATH_TYPE"),g||(i({message:"获取菜单失败,请重新登录"}),s.localStore.clearAll(),y?window.open(sessionStorage.getItem("IAM_BASE_URL")+"/noallow?"+a.default.stringify({redirectUri:window.origin,oauthType:y}),"_self"):window.open(sessionStorage.getItem("IAM_BASE_URL")+"/noallow?"+a.default.stringify({redirectUri:window.origin}),"_self")),s.localStore.set(l,g),h("SET_MENU_LIST",g),_={userId:d,userName:v,phone:p},s.localStore.set("userMessage",_),s.localStore.set("consumer",m),s.localStore.set("userName",v),s.localStore.set("userAllInfo",o.data),s.localStore.set("currentProject",{id:m.id,name:m.name,regionId:m.regionId}),o.data.consumerExtList&&s.localStore.set("consumerExtList",o.data.consumerExtList),n(g);case 16:case"end":return t.stop()}}),t,u)}))),function(t,e){return n.apply(this,arguments)}))},LogOut:function(t){var e=t.commit;s.localStore.clearAll(),e("SET_MENU_LIST",[]),e("SET_ROUTERS",[]);var n=s.localStore.get("IAM_OATH_TYPE");n?window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/sys/oauth/logout?"+a.default.stringify({redirectUri:window.origin,oauthType:n}),"_self"):window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/sys/oauth/logout?"+a.default.stringify({redirectUri:window.origin}),"_self")}}};e.default=h},function(t,e,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(119),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},function(t,e){!function(e){"use strict";var n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag",c="object"==typeof t,u=e.regeneratorRuntime;if(u)c&&(t.exports=u);else{(u=e.regeneratorRuntime=c?t.exports:{}).wrap=m;var l={},h={};h[o]=function(){return this};var f=Object.getPrototypeOf,d=f&&f(f(C([])));d&&d!==n&&r.call(d,o)&&(h=d);var p=_.prototype=v.prototype=Object.create(h);y.prototype=p.constructor=_,_.constructor=y,_[s]=y.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(p),t},u.awrap=function(t){return{__await:t}},x(b.prototype),b.prototype[a]=function(){return this},u.AsyncIterator=b,u.async=function(t,e,n,r){var i=new b(m(t,e,n,r));return u.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},x(p),p[s]="Generator",p[o]=function(){return this},p.toString=function(){return"[object Generator]"},u.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},u.values=C,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}}}function m(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,o=Object.create(i.prototype),a=new A(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=g(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function g(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function v(){}function y(){}function _(){}function x(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function b(t){var e;this._invoke=function(n,i){function o(){return new Promise((function(e,o){!function e(n,i,o,a){var s=g(t[n],t,i);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?Promise.resolve(u.__await).then((function(t){e("next",t,o,a)}),(function(t){e("throw",t,o,a)})):Promise.resolve(u).then((function(t){c.value=t,o(c)}),a)}a(s.arg)}(n,i,e,o)}))}return e=e?e.then(o,o):o()}}function w(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=g(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,l;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function M(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(M,this),this.reset(!0)}function C(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}}(function(){return this}()||Function("return this")())},function(t,e,n){n(121),n(32),n(45),n(131),n(139),n(140),t.exports=n(0).Promise},function(t,e){},function(t,e,n){var r=n(38),i=n(36);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}}},function(t,e,n){t.exports=n(14)},function(t,e,n){"use strict";var r=n(125),i=n(42),o=n(44),a={};n(14)(a,n(3)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(9),i=n(126),o=n(61),a=n(39)("IE_PROTO"),s=function(){},c=function(){var t,e=n(41)("iframe"),r=o.length;for(e.style.display="none",n(64).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(15),i=n(9),o=n(22);t.exports=n(10)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var r=n(23),i=n(21),o=n(39)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){"use strict";var r=n(129),i=n(130),o=n(16),a=n(24);t.exports=n(63)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r,i,o,a,s=n(40),c=n(2),u=n(18),l=n(46),h=n(4),f=n(19),d=n(26),p=n(132),m=n(133),g=n(67),v=n(68).set,y=n(135)(),_=n(48),x=n(69),b=n(136),w=n(70),M=c.TypeError,S=c.process,A=S&&S.versions,C=A&&A.v8||"",E=c.Promise,T="process"==l(S),I=function(){},L=i=_.f,P=!!function(){try{var t=E.resolve(1),e=(t.constructor={})[n(3)("species")]=function(t){t(I,I)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(I)instanceof e&&0!==C.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),R=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},O=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){for(var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a,s=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(i||(2==t._h&&D(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(M("Promise-chain cycle")):(o=R(n))?o.call(n,c,u):c(n)):u(r)}catch(t){l&&!a&&l.exit(),u(t)}};n.length>o;)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&k(t)}))}},k=function(t){v.call(c,(function(){var e,n,r,i=t._v,o=B(t);if(o&&(e=x((function(){T?S.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=T||B(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},B=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){v.call(c,(function(){var e;T?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},F=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),O(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw M("Promise can't be resolved itself");(e=R(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,u(U,r,1),u(F,r,1))}catch(t){F.call(r,t)}})):(n._v=t,n._s=1,O(n,!1))}catch(t){F.call({_w:n,_d:!1},t)}}};P||(E=function(t){p(this,E,"Promise","_h"),d(t),r.call(this);try{t(u(U,this,1),u(F,this,1))}catch(t){F.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(137)(E.prototype,{then:function(t,e){var n=L(g(this,E));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=T?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&O(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(U,t,1),this.reject=u(F,t,1)},_.f=L=function(t){return t===E||t===a?new o(t):i(t)}),h(h.G+h.W+h.F*!P,{Promise:E}),n(44)(E,"Promise"),n(138)("Promise"),a=n(0).Promise,h(h.S+h.F*!P,"Promise",{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),h(h.S+h.F*(s||!P),"Promise",{resolve:function(t){return w(s&&this===a?E:this,t)}}),h(h.S+h.F*!(P&&n(71)((function(t){E.all(t).catch(I)}))),"Promise",{all:function(t){var e=this,n=L(e),r=n.resolve,i=n.reject,o=x((function(){var n=[],o=0,a=1;m(t,!1,(function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=L(e),r=n.reject,i=x((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(18),i=n(65),o=n(66),a=n(9),s=n(37),c=n(47),u={},l={};(e=t.exports=function(t,e,n,h,f){var d,p,m,g,v=f?function(){return t}:c(t),y=r(n,h,e?2:1),_=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(d=s(t.length);d>_;_++)if((g=e?y(a(p=t[_])[0],p[1]):y(t[_]))===u||g===l)return g}else for(m=v.call(t);!(p=m.next()).done;)if((g=i(m,y,p.value,e))===u||g===l)return g}).BREAK=u,e.RETURN=l},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(2),i=n(68).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(25)(a);t.exports=function(){var t,e,n,u=function(){var r,i;for(c&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var h=!0,f=document.createTextNode("");new o(u).observe(f,{characterData:!0}),n=function(){f.data=h=!h}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){var r=n(2).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var r=n(14);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(15),a=n(10),s=n(3)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(4),i=n(0),o=n(2),a=n(67),s=n(70);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){"use strict";var r=n(4),i=n(48),o=n(69);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){"use strict";var r=n(142),i=n(72),o=n(51),a=Object.prototype.hasOwnProperty,s={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},c=Array.isArray,u=String.prototype.split,l=Array.prototype.push,h=function(t,e){l.apply(t,c(e)?e:[e])},f=Date.prototype.toISOString,d=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},m={},g=function t(e,n,o,a,s,l,f,d,g,v,y,_,x,b,w){for(var M,S=e,A=w,C=0,E=!1;void 0!==(A=A.get(m))&&!E;){var T=A.get(e);if(C+=1,void 0!==T){if(T===C)throw new RangeError("Cyclic object value");E=!0}void 0===A.get(m)&&(C=0)}if("function"==typeof f?S=f(n,S):S instanceof Date?S=v(S):"comma"===o&&c(S)&&(S=i.maybeMap(S,(function(t){return t instanceof Date?v(t):t}))),null===S){if(a)return l&&!x?l(n,p.encoder,b,"key",y):n;S=""}if("string"==typeof(M=S)||"number"==typeof M||"boolean"==typeof M||"symbol"==typeof M||"bigint"==typeof M||i.isBuffer(S)){if(l){var I=x?n:l(n,p.encoder,b,"key",y);if("comma"===o&&x){for(var L=u.call(String(S),","),P="",R=0;R<L.length;++R)P+=(0===R?"":",")+_(l(L[R],p.encoder,b,"value",y));return[_(I)+"="+P]}return[_(I)+"="+_(l(S,p.encoder,b,"value",y))]}return[_(n)+"="+_(String(S))]}var O,k=[];if(void 0===S)return k;if("comma"===o&&c(S))O=[{value:S.length>0?S.join(",")||null:void 0}];else if(c(f))O=f;else{var B=Object.keys(S);O=d?B.sort(d):B}for(var D=0;D<O.length;++D){var F=O[D],U="object"==typeof F&&void 0!==F.value?F.value:S[F];if(!s||null!==U){var j=c(S)?"function"==typeof o?o(n,F):n:n+(g?"."+F:"["+F+"]");w.set(e,C);var N=r();N.set(m,w),h(k,t(U,j,o,a,s,l,f,d,g,v,y,_,x,b,N))}}return k};t.exports=function(t,e){var n,i=t,u=function(t){if(!t)return p;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||p.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==t.format){if(!a.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=o.formatters[n],i=p.filter;return("function"==typeof t.filter||c(t.filter))&&(i=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===t.allowDots?p.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:p.charsetSentinel,delimiter:void 0===t.delimiter?p.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:p.encode,encoder:"function"==typeof t.encoder?t.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:p.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:p.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:p.strictNullHandling}}(e);"function"==typeof u.filter?i=(0,u.filter)("",i):c(u.filter)&&(n=u.filter);var l,f=[];if("object"!=typeof i||null===i)return"";l=e&&e.arrayFormat in s?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var d=s[l];n||(n=Object.keys(i)),u.sort&&n.sort(u.sort);for(var m=r(),v=0;v<n.length;++v){var y=n[v];u.skipNulls&&null===i[y]||h(f,g(i[y],y,d,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,m))}var _=f.join(u.delimiter),x=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?x+="utf8=%26%2310003%3B&":x+="utf8=%E2%9C%93&"),_.length>0?x+_:""}},function(t,e,n){"use strict";var r=n(49),i=n(147),o=n(149),a=r("%TypeError%"),s=r("%WeakMap%",!0),c=r("%Map%",!0),u=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),f=i("Map.prototype.get",!0),d=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),m=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new a("Side channel does not contain "+o(t))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return u(t,r)}else if(c){if(e)return f(e,r)}else if(n)return function(t,e){var n=m(t,e);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return h(t,r)}else if(c){if(e)return p(e,r)}else if(n)return function(t,e){return!!m(t,e)}(n,r);return!1},set:function(r,i){s&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new s),l(t,r,i)):c?(e||(e=new c),d(e,r,i)):(n||(n={key:{},next:null}),function(t,e,n){var r=m(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(n,r,i))}};return r}},function(t,e,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(144);t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},function(t,e,n){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},function(t,e,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==o.call(e))throw new TypeError(r+e);for(var n,a=i.call(arguments,1),s=function(){if(this instanceof n){var r=e.apply(this,a.concat(i.call(arguments)));return Object(r)===r?r:this}return e.apply(t,a.concat(i.call(arguments)))},c=Math.max(0,e.length-a.length),u=[],l=0;l<c;l++)u.push("$"+l);if(n=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(s),e.prototype){var h=function(){};h.prototype=e.prototype,n.prototype=new h,h.prototype=null}return n}},function(t,e,n){"use strict";var r=n(50);t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(t,e,n){"use strict";var r=n(49),i=n(148),o=i(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"==typeof n&&o(t,".prototype.")>-1?i(n):n}},function(t,e,n){"use strict";var r=n(50),i=n(49),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),c=i("%Object.getOwnPropertyDescriptor%",!0),u=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(r,a,arguments);if(c&&u){var n=c(e,"length");n.configurable&&u(e,"length",{value:1+l(0,t.length-(arguments.length-1))})}return e};var h=function(){return s(r,o,arguments)};u?u(t.exports,"apply",{value:h}):t.exports.apply=h},function(t,e,n){var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&c&&"function"==typeof c.get?c.get:null,l=s&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,v=String.prototype.match,y=String.prototype.slice,_=String.prototype.replace,x=String.prototype.toUpperCase,b=String.prototype.toLowerCase,w=RegExp.prototype.test,M=Array.prototype.concat,S=Array.prototype.join,A=Array.prototype.slice,C=Math.floor,E="function"==typeof BigInt?BigInt.prototype.valueOf:null,T=Object.getOwnPropertySymbols,I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,L="function"==typeof Symbol&&"object"==typeof Symbol.iterator,P="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===L||"symbol")?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function k(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||w.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var r=t<0?-C(-t):C(t);if(r!==t){var i=String(r),o=y.call(e,i.length+1);return _.call(i,n,"$&_")+"."+_.call(_.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(e,n,"$&_")}var B=n(150).custom,D=B&&N(B)?B:null;function F(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function U(t){return _.call(String(t),/"/g,""")}function j(t){return!("[object Array]"!==H(t)||P&&"object"==typeof t&&P in t)}function N(t){if(L)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!I)return!1;try{return I.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,r,i){var s=n||{};if(z(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(z(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!z(s,"customInspect")||s.customInspect;if("boolean"!=typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(z(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(z(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,n){if(e.length>n.maxStringLength){var r=e.length-n.maxStringLength,i="... "+r+" more character"+(r>1?"s":"");return t(y.call(e,0,n.maxStringLength),n)+i}return F(_.call(_.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,V),"single",n)}(e,s);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var x=String(e);return m?k(e,x):x}if("bigint"==typeof e){var w=String(e)+"n";return m?k(e,w):w}var C=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=C&&C>0&&"object"==typeof e)return j(e)?"[Array]":"[Object]";var T=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=S.call(Array(t.indent+1)," ")}return{base:n,prev:S.call(Array(e+1),n)}}(s,r);if(void 0===i)i=[];else if(W(i,e)>=0)return"[Circular]";function B(e,n,o){if(n&&(i=A.call(i)).push(n),o){var a={depth:s.depth};return z(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),t(e,a,r+1,i)}return t(e,s,r+1,i)}if("function"==typeof e){var G=function(t){if(t.name)return t.name;var e=v.call(g.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),q=J(e,B);return"[Function"+(G?": "+G:" (anonymous)")+"]"+(q.length>0?" { "+S.call(q,", ")+" }":"")}if(N(e)){var K=L?_.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(e);return"object"!=typeof e||L?K:Z(K)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var $="<"+b.call(String(e.nodeName)),tt=e.attributes||[],et=0;et<tt.length;et++)$+=" "+tt[et].name+"="+F(U(tt[et].value),"double",s);return $+=">",e.childNodes&&e.childNodes.length&&($+="..."),$+="</"+b.call(String(e.nodeName))+">"}if(j(e)){if(0===e.length)return"[]";var nt=J(e,B);return T&&!function(t){for(var e=0;e<t.length;e++)if(W(t[e],"\n")>=0)return!1;return!0}(nt)?"["+Y(nt,T)+"]":"[ "+S.call(nt,", ")+" ]"}if(function(t){return!("[object Error]"!==H(t)||P&&"object"==typeof t&&P in t)}(e)){var rt=J(e,B);return"cause"in e&&!R.call(e,"cause")?"{ ["+String(e)+"] "+S.call(M.call("[cause]: "+B(e.cause),rt),", ")+" }":0===rt.length?"["+String(e)+"]":"{ ["+String(e)+"] "+S.call(rt,", ")+" }"}if("object"==typeof e&&c){if(D&&"function"==typeof e[D])return e[D]();if("symbol"!==c&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{u.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var it=[];return a.call(e,(function(t,n){it.push(B(n,e,!0)+" => "+B(t,e))})),X("Map",o.call(e),it,T)}if(function(t){if(!u||!t||"object"!=typeof t)return!1;try{u.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var ot=[];return l.call(e,(function(t){ot.push(B(t,e))})),X("Set",u.call(e),ot,T)}if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return Q("WeakMap");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return Q("WeakSet");if(function(t){if(!d||!t||"object"!=typeof t)return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return Q("WeakRef");if(function(t){return!("[object Number]"!==H(t)||P&&"object"==typeof t&&P in t)}(e))return Z(B(Number(e)));if(function(t){if(!t||"object"!=typeof t||!E)return!1;try{return E.call(t),!0}catch(t){}return!1}(e))return Z(B(E.call(e)));if(function(t){return!("[object Boolean]"!==H(t)||P&&"object"==typeof t&&P in t)}(e))return Z(p.call(e));if(function(t){return!("[object String]"!==H(t)||P&&"object"==typeof t&&P in t)}(e))return Z(B(String(e)));if(!function(t){return!("[object Date]"!==H(t)||P&&"object"==typeof t&&P in t)}(e)&&!function(t){return!("[object RegExp]"!==H(t)||P&&"object"==typeof t&&P in t)}(e)){var at=J(e,B),st=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,ct=e instanceof Object?"":"null prototype",ut=!st&&P&&Object(e)===e&&P in e?y.call(H(e),8,-1):ct?"Object":"",lt=(st||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(ut||ct?"["+S.call(M.call([],ut||[],ct||[]),": ")+"] ":"");return 0===at.length?lt+"{}":T?lt+"{"+Y(at,T)+"}":lt+"{ "+S.call(at,", ")+" }"}return String(e)};var G=Object.prototype.hasOwnProperty||function(t){return t in this};function z(t,e){return G.call(t,e)}function H(t){return m.call(t)}function W(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function V(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+x.call(e.toString(16))}function Z(t){return"Object("+t+")"}function Q(t){return t+" { ? }"}function X(t,e,n,r){return t+" ("+e+") {"+(r?Y(n,r):S.call(n,", "))+"}"}function Y(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+S.call(t,","+n)+"\n"+e.prev}function J(t,e){var n=j(t),r=[];if(n){r.length=t.length;for(var i=0;i<t.length;i++)r[i]=z(t,i)?e(t[i],t):""}var o,a="function"==typeof T?T(t):[];if(L){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var c in t)z(t,c)&&(n&&String(Number(c))===c&&c<t.length||L&&o["$"+c]instanceof Symbol||(w.call(/[^\w$]/,c)?r.push(e(c,t)+": "+e(t[c],t)):r.push(c+": "+e(t[c],t))));if("function"==typeof T)for(var u=0;u<a.length;u++)R.call(t,a[u])&&r.push("["+e(a[u])+"]: "+e(t[a[u]],t));return r}},function(t,e){},function(t,e,n){"use strict";var r=n(72),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,n,r){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),u=s?o.slice(0,s.index):o,l=[];if(u){if(!n.plainObjects&&i.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var h=0;n.depth>0&&null!==(s=a.exec(o))&&h<n.depth;){if(h+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+o.slice(s.index)+"]"),function(t,e,n,r){for(var i=r?e:c(e,n),o=t.length-1;o>=0;--o){var a,s=t[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=i:"__proto__"!==u&&(a[u]=i):a={0:i}}i=a}return i}(l,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof t?function(t,e){var n,u={},l=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,h=e.parameterLimit===1/0?void 0:e.parameterLimit,f=l.split(e.delimiter,h),d=-1,p=e.charset;if(e.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?p="utf-8":"utf8=%26%2310003%3B"===f[n]&&(p="iso-8859-1"),d=n,n=f.length);for(n=0;n<f.length;++n)if(n!==d){var m,g,v=f[n],y=v.indexOf("]="),_=-1===y?v.indexOf("="):y+1;-1===_?(m=e.decoder(v,a.decoder,p,"key"),g=e.strictNullHandling?null:""):(m=e.decoder(v.slice(0,_),a.decoder,p,"key"),g=r.maybeMap(c(v.slice(_+1),e),(function(t){return e.decoder(t,a.decoder,p,"value")}))),g&&e.interpretNumericEntities&&"iso-8859-1"===p&&(g=s(g)),v.indexOf("[]=")>-1&&(g=o(g)?[g]:g),i.call(u,m)?u[m]=r.combine(u[m],g):u[m]=g}return u}(t,n):t,h=n.plainObjects?Object.create(null):{},f=Object.keys(l),d=0;d<f.length;++d){var p=f[d],m=u(p,l[p],n,"string"==typeof t);h=r.merge(h,m,n)}return!0===n.allowSparse?h:r.compact(h)}},function(t,e,n){t.exports=[n(75),n(153),n(154),n(76),n(77),n(155)]},function(t,e,n){var r=n(17).Global;t.exports={name:"oldFF-globalStorage",read:function(t){return i[t]},write:function(t,e){i[t]=e},each:o,remove:function(t){return i.removeItem(t)},clearAll:function(){o((function(t,e){delete i[t]}))}};var i=r.globalStorage;function o(t){for(var e=i.length-1;e>=0;e--){var n=i.key(e);t(i[n],n)}}},function(t,e,n){var r=n(17).Global;t.exports={name:"oldIE-userDataStorage",write:function(t,e){if(a)return;var n=c(t);o((function(t){t.setAttribute(n,e),t.save("storejs")}))},read:function(t){if(a)return;var e=c(t),n=null;return o((function(t){n=t.getAttribute(e)})),n},each:function(t){o((function(e){for(var n=e.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var i=n[r];t(e.getAttribute(i.name),i.name)}}))},remove:function(t){var e=c(t);o((function(t){t.removeAttribute(e),t.save("storejs")}))},clearAll:function(){o((function(t){var e=t.XMLDocument.documentElement.attributes;t.load("storejs");for(var n=e.length-1;n>=0;n--)t.removeAttribute(e[n].name);t.save("storejs")}))}};var i=r.document,o=function(){if(!i||!i.documentElement||!i.documentElement.addBehavior)return null;var t,e,n;try{(e=new ActiveXObject("htmlfile")).open(),e.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),e.close(),t=e.w.frames[0].document,n=t.createElement("div")}catch(e){n=i.createElement("div"),t=i.body}return function(e){var r=[].slice.call(arguments,0);r.unshift(n),t.appendChild(n),n.addBehavior("#default#userData"),n.load("storejs"),e.apply(this,r),t.removeChild(n)}}(),a=(r.navigator?r.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);var s=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(t){return t.replace(/^\d/,"___$&").replace(s,"___")}},function(t,e){t.exports={name:"memoryStorage",read:function(t){return n[t]},write:function(t,e){n[t]=e},each:function(t){for(var e in n)n.hasOwnProperty(e)&&t(n[e],e)},remove:function(t){delete n[t]},clearAll:function(t){n={}}};var n={}},function(t,e,n){t.exports=function(){return n(157),{}}},function(module,exports){"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(t){return t<10?"0"+t:t}function this_value(){return this.valueOf()}function quote(t){return rx_escapable.lastIndex=0,rx_escapable.test(t)?'"'+t.replace(rx_escapable,(function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+t+'"'}function str(t,e){var n,r,i,o,a,s=gap,c=e[t];switch(c&&"object"==typeof c&&"function"==typeof c.toJSON&&(c=c.toJSON(t)),"function"==typeof rep&&(c=rep.call(e,t,c)),typeof c){case"string":return quote(c);case"number":return isFinite(c)?String(c):"null";case"boolean":case"null":return String(c);case"object":if(!c)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(c)){for(o=c.length,n=0;n<o;n+=1)a[n]=str(n,c)||"null";return i=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,i}if(rep&&"object"==typeof rep)for(o=rep.length,n=0;n<o;n+=1)"string"==typeof rep[n]&&(i=str(r=rep[n],c))&&a.push(quote(r)+(gap?": ":":")+i);else for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(i=str(r,c))&&a.push(quote(r)+(gap?": ":":")+i);return i=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,i}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(t,e,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(t,e){var n,r,i=t[e];if(i&&"object"==typeof i)for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(void 0!==(r=walk(i,n))?i[n]=r:delete i[n]);return reviver.call(t,e,i)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},function(t,e){t.exports=function(){var t=this.createStore(this.storage,null,this._namespacePrefix+"expire_mixin");return{set:function(e,n,r,i){this.hasNamespace("expire_mixin")||t.set(n,i);return e()},get:function(t,n){this.hasNamespace("expire_mixin")||e.call(this,n);return t()},remove:function(e,n){this.hasNamespace("expire_mixin")||t.remove(n);return e()},getExpiration:function(e,n){return t.get(n)},removeExpiredKeys:function(t){var n=[];this.each((function(t,e){n.push(e)}));for(var r=0;r<n.length;r++)e.call(this,n[r])}};function e(e){t.get(e,Number.MAX_VALUE)<=(new Date).getTime()&&(this.raw.remove(e),t.remove(e))}}},function(t,e,n){"use strict";var r=n(1),i=n(80),o=n(160),a=n(87);function s(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var c=s(n(52));c.Axios=o,c.create=function(t){return s(a(c.defaults,t))},c.Cancel=n(88),c.CancelToken=n(174),c.isCancel=n(86),c.all=function(t){return Promise.all(t)},c.spread=n(175),c.isAxiosError=n(176),t.exports=c,t.exports.default=c},function(t,e,n){"use strict";var r=n(1),i=n(81),o=n(161),a=n(162),s=n(87),c=n(172),u=c.validators;function l(t){this.defaults=t,this.interceptors={request:new o,response:new o}}l.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!r){var l=[a,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(o),i=Promise.resolve(t);l.length;)i=i.then(l.shift(),l.shift());return i}for(var h=t;n.length;){var f=n.shift(),d=n.shift();try{h=f(h)}catch(t){d(t);break}}try{i=a(h)}catch(t){return Promise.reject(t)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},l.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=l},function(t,e,n){"use strict";var r=n(1);function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},function(t,e,n){"use strict";var r=n(1),i=n(163),o=n(86),a=n(52);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return s(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(1),i=n(52);t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(85);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";var r=n(1);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(168),i=n(169);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(1),i=["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"];t.exports=function(t){var e,n,o,a={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){"use strict";var r=n(1);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(173),i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={},a=r.version.split(".");function s(t,e){for(var n=e?e.split("."):a,r=t.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]<r[i])return!1}return!1}i.transitional=function(t,e,n){var i=e&&s(e);function a(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new Error(a(r," has been removed in "+e));return i&&!o[r]&&(o[r]=!0,console.warn(a(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={isOlderVersion:s,assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),i=r.length;i-- >0;){var o=r[i],a=e[o];if(a){var s=t[o],c=void 0===s||a(s,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},function(t){t.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"__npminstall_done":true,"_from":"axios@0.21.4","_resolved":"https://registry.npmmirror.com/axios/download/axios-0.21.4.tgz"}')},function(t,e,n){"use strict";var r=n(88);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerPermission=void 0;var r=d(n(30)),i=d(n(11)),o=d(n(31)),a=n(13),s=n(7),c=d(n(178));n(179);var u=n(6),l=n(181),h=n(34),f=d(n(20));function d(t){return t&&t.__esModule?t:{default:t}}e.registerPermission=function(t,e){var n,d=t.routerInstance,m=t.storeInstance,g=t.basicOptions;d.beforeEach((n=(0,o.default)(r.default.mark((function t(n,o,v){var y,_,x,b,w,M,S;return r.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c.default.start(),n.meta.title&&(y=s.sessionStore.get("SYS_PROJECT_NAME"),document.title=n.meta.title+(y?"-"+y:"")),!s.localStore.get("access_token")){t.next=15;break}if(!m.state.user.addRouters.length){t.next=8;break}p(n,v),t.next=13;break;case 8:return t.next=10,m.dispatch("user/GetUserInfo",{loadAuth:!0,sysCode:s.sessionStore.get("CLIENT_ID")});case 10:_=t.sent,(0,l.setAsyncRoutes)(d,m,_,e,g),v({path:n.fullPath,replace:!0});case 13:t.next=17;break;case 15:x=(0,h.getUrlParam)("code"),(0,u.isEmpty)(x)?(b=(0,h.getUrlParam)("oauthType"),w={responseType:s.localStore.get("code")||"code",clientId:s.sessionStore.get("CLIENT_ID"),redirectUri:window.origin,scope:"all",state:"hello"},b?(s.localStore.set("IAM_OATH_TYPE",b),w=(0,i.default)(w,{oauthType:b}),window.open(s.sessionStore.get("IAM_BASE_URL")+"/iam/v1/sys/oauth/authorize?"+f.default.stringify(w),"_self")):window.open(s.sessionStore.get("IAM_BASE_URL")+"/iam/v1/sys/oauth/authorize?"+f.default.stringify(w),"_self")):(M={code:x,grantType:"authorization_code",redirectUri:window.origin,sysCode:s.sessionStore.get("CLIENT_ID"),sysSecret:s.sessionStore.get("SYS_SECRET")},(S=s.localStore.get("IAM_OATH_TYPE"))&&(M=(0,i.default)(M,{oauthType:S})),(0,a.getToken)(M).then((function(t){if(t.data){var e=t.data,r=e.access_token,i=e.refresh_token;if(s.localStore.set("access_token",r),s.localStore.set("refresh_token",i),S){var o=t.data,a=o.idp_access_token,c=o.idp_refresh_token;s.localStore.set("idp_access_token",a),s.localStore.set("idp_refresh_token",c)}s.localStore.set("code",x),v({path:n.fullPath,replace:!0})}})));case 17:case"end":return t.stop()}}),t,void 0)}))),function(t,e,r){return n.apply(this,arguments)})),d.afterEach((function(t){c.default.done()}))};var p=function(t,e){var n=s.localStore.get("test_project");n?t.query.shopId?e():e({path:t.path,query:(0,i.default)({},t.query,{shopId:n.shopId,noLogin:!0,flag:n.flag})}):e()}},function(t,e,n){var r,i;
|
|
123
|
+
var r=n("3560"),i=n("e248"),o=n("571a");function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return h(this,t)}return u(this,t,e,n)}function u(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=f(t,e),t}(t,e,n,r):"string"==typeof e?function(t,e,n){if("string"==typeof n&&""!==n||(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(e,n),i=(t=s(t,r)).write(e,n);return i!==r&&(t=t.slice(0,i)),t}(t,e,n):function(t,e){if(c.isBuffer(e)){var n=0|d(e.length);return 0===(t=s(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||function(t){return t!=t}(e.length)?s(t,0):f(t,e);if("Buffer"===e.type&&o(e.data))return f(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e){if(l(e),t=s(t,e<0?0:0|d(e)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e){var n=e.length<0?0:0|d(e.length);t=s(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function d(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return N(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(t).length;default:if(r)return N(t).length;e=(""+e).toLowerCase(),r=!0}}function m(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return I(this,e,n);case"utf8":case"utf-8":return C(this,e,n);case"ascii":return E(this,e,n);case"latin1":case"binary":return T(this,e,n);case"base64":return A(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function g(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function v(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=c.from(e,r)),c.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,i);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,r,i){var o,a=1,s=t.length,c=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,c/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=n;o<s;o++)if(u(t,o)===u(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+c>s&&(n=s-c),o=n;o>=0;o--){for(var h=!0,f=0;f<c;f++)if(u(t,o+f)!==u(e,f)){h=!1;break}if(h)return o}return-1}function _(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function x(t,e,n,r){return z(N(e,t.length-n),t,n,r)}function b(t,e,n,r){return z(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function w(t,e,n,r){return b(t,e,n,r)}function M(t,e,n,r){return z(G(e),t,n,r)}function S(t,e,n,r){return z(function(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function A(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function C(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,a,s,c,u=t[i],l=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=n)switch(h){case 1:u<128&&(l=u);break;case 2:128==(192&(o=t[i+1]))&&(c=(31&u)<<6|63&o)>127&&(l=c);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var n="",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}function E(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function T(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function I(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=j(t[o]);return i}function L(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function P(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function R(t,e,n,r,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function O(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function k(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function B(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(t,e,n,r,o){return o||B(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function F(t,e,n,r,o){return o||B(t,0,n,8),i.write(t,e,n,r,52,8),n+8}e.Buffer=c,e.SlowBuffer=function(t){return+t!=t&&(t=0),c.alloc(+t)},e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=a(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return u(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return function(t,e,n,r){return l(e),e<=0?s(t,e):void 0!==n?"string"==typeof r?s(t,e).fill(n,r):s(t,e).fill(n):s(t,e)}(null,t,e,n)},c.allocUnsafe=function(t){return h(null,t)},c.allocUnsafeSlow=function(t){return h(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=c.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var a=t[n];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},c.byteLength=p,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?C(this,0,t):m.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,n,r,i){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(o,a),u=this.slice(r,i),l=t.slice(e,n),h=0;h<s;++h)if(u[h]!==l[h]){o=u[h],a=l[h];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},c.prototype.indexOf=function(t,e,n){return v(this,t,e,n,!0)},c.prototype.lastIndexOf=function(t,e,n){return v(this,t,e,n,!1)},c.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return _(this,t,e,n);case"utf8":case"utf-8":return x(this,t,e,n);case"ascii":return b(this,t,e,n);case"latin1":case"binary":return w(this,t,e,n);case"base64":return M(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=c.prototype;else{var i=e-t;n=new c(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},c.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},c.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},c.prototype.readUInt8=function(t,e){return e||P(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||P(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||P(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||P(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||P(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||P(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||P(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||P(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||P(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||P(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||P(t,4,this.length),i.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||P(t,4,this.length),i.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||P(t,8,this.length),i.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||P(t,8,this.length),i.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,r){t=+t,e|=0,n|=0,r||R(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},c.prototype.writeUIntBE=function(t,e,n,r){t=+t,e|=0,n|=0,r||R(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):O(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):O(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):k(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):k(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);R(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);R(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):O(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):O(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):k(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):k(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return D(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return D(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return F(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},c.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var a=c.isBuffer(t)?t:N(new c(t,r).toString()),s=a.length;for(o=0;o<n-e;++o)this[o+e]=a[o%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function j(t){return t<16?"0"+t.toString(16):t.toString(16)}function N(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function G(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(U,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function z(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n("2409"))},fde0:function(t,e,n){var r=n("b51b"),i=n("9699").RegExp,o=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},fe89:function(t,e,n){var r=n("9699").Array,i=Math.abs,o=Math.pow,a=Math.floor,s=Math.log,c=Math.LN2;t.exports={pack:function(t,e,n){var u,l,h,f=r(n),d=8*n-e-1,p=(1<<d)-1,m=p>>1,g=23===e?o(2,-24)-o(2,-77):0,v=t<0||0===t&&1/t<0?1:0,y=0;for((t=i(t))!=t||t===1/0?(l=t!=t?1:0,u=p):(u=a(s(t)/c),t*(h=o(2,-u))<1&&(u--,h*=2),(t+=u+m>=1?g/h:g*o(2,1-m))*h>=2&&(u++,h/=2),u+m>=p?(l=0,u=p):u+m>=1?(l=(t*h-1)*o(2,e),u+=m):(l=t*o(2,m-1)*o(2,e),u=0));e>=8;)f[y++]=255&l,l/=256,e-=8;for(u=u<<e|l,d+=e;d>0;)f[y++]=255&u,u/=256,d-=8;return f[--y]|=128*v,f},unpack:function(t,e){var n,r=t.length,i=8*r-e-1,a=(1<<i)-1,s=a>>1,c=i-7,u=r-1,l=t[u--],h=127&l;for(l>>=7;c>0;)h=256*h+t[u--],c-=8;for(n=h&(1<<-c)-1,h>>=-c,c+=e;c>0;)n=256*n+t[u--],c-=8;if(0===h)h=1-s;else{if(h===a)return n?NaN:l?-1/0:1/0;n+=o(2,e),h-=s}return(l?-1:1)*n*o(2,h-e)}}},ff86:function(t,e,n){n("6dd3")({target:"Reflect",stat:!0},{ownKeys:n("3a80")})}})},module.exports=e()}).call(this,__webpack_require__(94).setImmediate)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),i=n(6),o=s(n(8)),a=s(n(219));function s(t){return t&&t.__esModule?t:{default:t}}e.default={name:"Sidebar",computed:{nav:function(){return this.$store.state.user.addRouters}},props:{theme:{type:String,default:"light"},sidebarList:{type:Array,default:function(){return[]}}},data:function(){return{currentSelect:[],openKeys:[],currentOpen:[],isOpenSideBar:!0}},mounted:function(){var t=this;this.$watch("$route",(function(e){e.path&&t.highMenu(e)}),{immediate:!0,deep:!0})},methods:{findParent:function(t,e){var n=[];return function e(r,i){for(var o=0;o<r.length;o++){var a=r[o];if(a.name===i){n.push(a),e(t,a.meta.parentId);break}a.children&&e(a.children,i)}}(t,e),n},highMenu:function(t){var e=this.findParent(this.nav[0].children,t.name),n=(0,i.find)(e,{type:1});if(this.currentSelect=[n.name],(0,i.isEmpty)(t.meta.subType))this.isOpenSideBar=!0;else{var r=JSON.parse(t.meta.subType);r&&"1"===r.fullPage?this.isOpenSideBar=!1:this.isOpenSideBar=!0}console.log(e,n,t,this.isOpenSideBar),this.$emit("change",this.isOpenSideBar)},findCurrentNodes:function(t,e,n){var r=this;return t.forEach((function(t){t.name===e?n.push(t):t.children&&r.findCurrentNodes(t.children,e,n)})),n},handleNav:function(t){t.item;var e=t.key;t.keyPath;if(!e)return!1;var n=[];if(this.findCurrentNodes(this.nav[0].children,e,n),!(0,i.isEmpty)(n))if(1===n[0].meta.chainType){var r=e.indexOf("http")>-1?e:"http://"+e;window.open(r)}else this.currentSelect=[e],this.$router.push({name:e}).then((function(t){}))},renderIcon:function(t){var e=this.$createElement;return t?e("i",{class:(0,o.default)(["icon","iconfont",t])}):e(a.default)},getChildrenType1:function(t){return t.children.every((function(t){return 3===t.type}))}},render:function(){var t=this,e=arguments[0],n=function n(r){if(r){if(t.getChildrenType1(r))return e("a-menu-item",{key:r.name},[t.renderIcon(r.meta.icon),e("span",[r.meta.title])]);var i=r.children.map((function(r){return r.children?n(r):1===r.type?e("a-menu-item",{key:r.name},[t.renderIcon(r.meta.icon),e("span",[r.meta.title])]):null}));return e("a-sub-menu",{key:r.name},[e("span",{slot:"title"},[t.renderIcon(r.meta.icon),e("span",[r.meta.title])]),i])}return[]},o=this.sidebarList&&!(0,i.isEmpty)(this.sidebarList)?this.sidebarList.map((function(r){return r.meta&&r.meta.subType?null:!r.children||t.getChildrenType1(r)?e("a-menu-item",{key:r.name},[t.renderIcon(r.meta.icon),e("span",[r.meta.title])]):n(r)})):null,a=o&&o.length?e("a-menu",{attrs:{mode:"inline",theme:this.theme,inlineCollapsed:!0,selectedKeys:this.currentSelect},on:{click:this.handleNav}},[o]):null;return e("a-layout-sider",{class:r.prefixCls+"-slider",attrs:{width:this.isOpenSideBar?250:0}},[a])}}},function(t,e,n){t.exports={default:n(96),__esModule:!0}},function(t,e,n){var r=n(25);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(0),i=n(2),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(40)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var r=n(40),i=n(4),o=n(123),a=n(14),s=n(16),c=n(124),u=n(44),l=n(127),h=n(3)("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,m,g,v){c(n,e,p);var y,_,x,b=function(t){if(!f&&t in A)return A[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",M="values"==m,S=!1,A=t.prototype,C=A[h]||A["@@iterator"]||m&&A[m],E=C||b(m),T=m?M?b("entries"):E:void 0,I="Array"==e&&A.entries||C;if(I&&(x=l(I.call(new t)))!==Object.prototype&&x.next&&(u(x,w,!0),r||"function"==typeof x[h]||a(x,h,d)),M&&C&&"values"!==C.name&&(S=!0,E=function(){return C.call(this)}),r&&!v||!f&&!S&&A[h]||a(A,h,E),s[e]=E,s[w]=d,m)if(y={values:M?E:b("values"),keys:g?E:b("keys"),entries:T},v)for(_ in y)_ in A||o(A,_,y[_]);else i(i.P+i.F*(f||S),e,y);return y}},function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(9);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(16),i=n(3)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(9),i=n(26),o=n(3)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},function(t,e,n){var r,i,o,a=n(18),s=n(134),c=n(64),u=n(41),l=n(2),h=l.process,f=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,m=l.Dispatch,g=0,v={},y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},_=function(t){y.call(t.data)};f&&d||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete v[t]},"process"==n(25)(h)?r=function(t){h.nextTick(a(y,t,1))}:m&&m.now?r=function(t){m.now(a(y,t,1))}:p?(o=(i=new p).port2,i.port1.onmessage=_,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",_,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:f,clear:d}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(9),i=n(19),o=n(48);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(3)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(51),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),s=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:s,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var i=e[r],a=i.obj[i.prop],s=Object.keys(a),c=0;c<s.length;++c){var u=s[c],l=a[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(e.push({obj:a,prop:u}),n.push(l))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n,i,o){if(0===t.length)return t;var s=t;if("symbol"==typeof t?s=Symbol.prototype.toString.call(t):"string"!=typeof t&&(s=String(t)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var c="",u=0;u<s.length;++u){var l=s.charCodeAt(u);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===r.RFC1738&&(40===l||41===l)?c+=s.charAt(u):l<128?c+=a[l]:l<2048?c+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(u)),c+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return c},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,r){if(!n)return e;if("object"!=typeof n){if(o(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var a=e;return o(e)&&!o(n)&&(a=s(e,r)),o(e)&&o(n)?(n.forEach((function(n,o){if(i.call(e,o)){var a=e[o];a&&"object"==typeof a&&n&&"object"==typeof n?e[o]=t(a,n,r):e.push(n)}else e[o]=n})),e):Object.keys(n).reduce((function(e,o){var a=n[o];return i.call(e,o)?e[o]=t(e[o],a,r):e[o]=a,e}),a)}}},function(t,e,n){var r=n(17),i=r.slice,o=r.pluck,a=r.each,s=r.bind,c=r.create,u=r.isList,l=r.isFunction,h=r.isObject;t.exports={createStore:d};var f={version:"2.0.12",enabled:!1,get:function(t,e){var n=this.storage.read(this._namespacePrefix+t);return this._deserialize(n,e)},set:function(t,e){return void 0===e?this.remove(t):(this.storage.write(this._namespacePrefix+t,this._serialize(e)),e)},remove:function(t){this.storage.remove(this._namespacePrefix+t)},each:function(t){var e=this;this.storage.each((function(n,r){t.call(e,e._deserialize(n),(r||"").replace(e._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(t){return this._namespacePrefix=="__storejs_"+t+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(t){this._addPlugin(t)},namespace:function(t){return d(this.storage,this.plugins,t)}};function d(t,e,n){n||(n=""),t&&!u(t)&&(t=[t]),e&&!u(e)&&(e=[e]);var r=n?"__storejs_"+n+"_":"",d=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var p=c({_namespacePrefix:r,_namespaceRegexp:d,_testStorage:function(t){try{var e="__storejs__test__";t.write(e,e);var n=t.read(e)===e;return t.remove(e),n}catch(t){return!1}},_assignPluginFnProp:function(t,e){var n=this[e];this[e]=function(){var e=i(arguments,0),r=this;function o(){if(n)return a(arguments,(function(t,n){e[n]=t})),n.apply(r,e)}var s=[o].concat(e);return t.apply(r,s)}},_serialize:function(t){return JSON.stringify(t)},_deserialize:function(t,e){if(!t)return e;var n="";try{n=JSON.parse(t)}catch(e){n=t}return void 0!==n?n:e},_addStorage:function(t){this.enabled||this._testStorage(t)&&(this.storage=t,this.enabled=!0)},_addPlugin:function(t){var e=this;if(u(t))a(t,(function(t){e._addPlugin(t)}));else if(!o(this.plugins,(function(e){return t===e}))){if(this.plugins.push(t),!l(t))throw new Error("Plugins must be function values that return objects");var n=t.call(this);if(!h(n))throw new Error("Plugins must return an object of function properties");a(n,(function(n,r){if(!l(n))throw new Error("Bad plugin property: "+r+" from plugin "+t.name+". Plugins should only return functions.");e._assignPluginFnProp(n,r)}))}},addStorage:function(t){!function(){var t="undefined"==typeof console?null:console;if(t){var e=t.warn?t.warn:t.log;e.apply(t,arguments)}}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(t)}},f,{plugins:[]});return p.raw={},a(p,(function(t,e){l(t)&&(p.raw[e]=s(p,t))})),a(t,(function(t){p._addStorage(t)})),a(e,(function(t){p._addPlugin(t)})),p}},function(t,e,n){var r=n(73),i=n(152),o=[n(156)];t.exports=r.createStore(i,o)},function(t,e,n){var r=n(17).Global;function i(){return r.localStorage}function o(t){return i().getItem(t)}t.exports={name:"localStorage",read:o,write:function(t,e){return i().setItem(t,e)},each:function(t){for(var e=i().length-1;e>=0;e--){var n=i().key(e);t(o(n),n)}},remove:function(t){return i().removeItem(t)},clearAll:function(){return i().clear()}}},function(t,e,n){var r=n(17),i=r.Global,o=r.trim;t.exports={name:"cookieStorage",read:function(t){if(!t||!u(t))return null;var e="(?:^|.*;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(e),"$1"))},write:function(t,e){if(!t)return;a.cookie=escape(t)+"="+escape(e)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:s,remove:c,clearAll:function(){s((function(t,e){c(e)}))}};var a=i.document;function s(t){for(var e=a.cookie.split(/; ?/g),n=e.length-1;n>=0;n--)if(o(e[n])){var r=e[n].split("="),i=unescape(r[0]);t(unescape(r[1]),i)}}function c(t){t&&u(t)&&(a.cookie=escape(t)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function u(t){return new RegExp("(?:^|;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},function(t,e,n){var r=n(17).Global;function i(){return r.sessionStorage}function o(t){return i().getItem(t)}t.exports={name:"sessionStorage",read:o,write:function(t,e){return i().setItem(t,e)},each:function(t){for(var e=i().length-1;e>=0;e--){var n=i().key(e);t(o(n),n)}},remove:function(t){return i().removeItem(t)},clearAll:function(){return i().clear()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(11)),i=u(n(43)),o=u(n(79)),a=u(n(20)),s=n(13),c=n(7);function u(t){return t&&t.__esModule?t:{default:t}}var l=!1,h=[],f=o.default.create({timeout:6e4,withCredentials:!0});function d(t){if(!t)return{};if(t instanceof FormData)return t;var e=new FormData,n=function(n){var r=t[n];Array.isArray(t[n])?t[n].forEach((function(t){e.append(n,t)})):e.append(n,r)};for(var r in t)n(r);return e}f.interceptors.request.use((function(t){return t.headers["Authorization-sys"]||(t.headers["Authorization-sys"]="Bearer "+c.localStore.get("access_token")),t.url=t.url.replace(/{\w+}/g,(function(e){var n=e.substring(1,e.length-1),r=t.params[n];return["delete","get"].includes(t.method)&&delete t.params[n],r})),t.baseURL=c.sessionStore.get("BASE_URL"),t}),(function(t){return i.default.reject(t)})),f.interceptors.response.use((function(t){return t.data}),(function(t){var e=c.localStore.get("IAM_OATH_TYPE");return t&&t.response&&(401===t.response.status||400===t.response.status)?(e?window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/sys/oauth/logout?"+a.default.stringify({redirectUri:window.origin,oauthType:e}),"_self"):window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/sys/oauth/logout?"+a.default.stringify({redirectUri:window.origin}),"_self"),(t.response.config.url.includes("refresh/token")||t.response.config.url.includes("oauth/token"))&&(c.storage.clearAll(),window.open(OPEN_URL,"_self")),l?new i.default((function(e){h.push((function(n){t.config.headers["Authorization-sys"]="Bearer "+n,e(f(t.config))}))})):(l=!0,(0,s.refreshToken)(e?{refreshTokenIdp:"Bearer "+c.localStore.get("idp_refresh_token")}:{refreshTokenSys:"Bearer "+c.localStore.get("refresh_token")}).then((function(n){var r=n.data,i=r.access_token,o=r.refresh_token;if(c.localStore.set("access_token",i),c.localStore.set("refresh_token",o),e){var a=n.data,s=a.idp_access_token,u=a.idp_refresh_token;c.localStore.set("idp_access_token",s),c.localStore.set("idp_refresh_token",u)}return t.config.headers["Authorization-sys"]="Bearer "+i,h.forEach((function(t){return t(i)})),h=[],f(t.config)})).catch((function(t){c.storage.clearAll(),window.open(OPEN_URL,"_self")})).finally((function(){l=!1})))):i.default.reject(t)})),e.default={service:f,get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.get(t,{params:e,headers:(0,r.default)({},n)})},post:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.post(t,e,{headers:n})},postQuery:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.post(t,{},{headers:n,params:e})},put:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.put(t,e,{headers:n})},file:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.post(t,d(e),{headers:(0,r.default)({"Content-Type":"multipart/form-data"},n)})},download:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.get(t,{params:e,responseType:"blob",headers:(0,r.default)({},n)})},delete:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.delete(t,{params:e,headers:(0,r.default)({"Content-Type":"multipart/form-data"},n)})}}},function(t,e,n){t.exports=n(159)},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(1);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(i(e)+"="+i(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,u=[],l=!1,h=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):h=-1,u.length&&d())}function d(){if(!l){var t=s(f);l=!0;for(var e=u.length;e;){for(c=u,u=[];++h<e;)c&&c[h].run();h=-1,e=u.length}c=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function m(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new p(t,e)),1!==u.length||l||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(1),i=n(165),o=n(166),a=n(81),s=n(167),c=n(170),u=n(171),l=n(85);t.exports=function(t){return new Promise((function(e,n){var h=t.data,f=t.headers,d=t.responseType;r.isFormData(h)&&delete f["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var m=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(m+":"+g)}var v=s(t.baseURL,t.url);function y(){if(p){var r="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,o={data:d&&"text"!==d&&"json"!==d?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:t,request:p};i(e,n,o),p=null}}if(p.open(t.method.toUpperCase(),a(v,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,"onloadend"in p?p.onloadend=y:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(y)},p.onabort=function(){p&&(n(l("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(l("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var _=(t.withCredentials||u(v))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;_&&(f[t.xsrfHeaderName]=_)}"setRequestHeader"in p&&r.forEach(f,(function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete f[e]:p.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),d&&"json"!==d&&(p.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),n(t),p=null)})),h||(h=null),p.send(h)}))}},function(t,e,n){"use strict";var r=n(83);t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function u(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),r.forEach(o,u),r.forEach(a,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(void 0,e[i])})),r.forEach(s,(function(r){r in e?n[r]=c(t[r],e[r]):r in t&&(n[r]=c(void 0,t[r]))}));var l=i.concat(o).concat(a).concat(s),h=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===l.indexOf(t)}));return r.forEach(h,u),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){var r=n(10),i=n(22),o=n(24),a=n(62).f;t.exports=function(t){return function(e){for(var n,s=o(e),c=i(s),u=c.length,l=0,h=[];u>l;)n=c[l++],r&&!a.call(s,n)||h.push(t?[n,s[n]]:s[n]);return h}}},function(t,e,n){var r=n(193).Symbol;t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=l(n(8)),i=n(5),o=l(n(53)),a=n(6),s=l(n(92)),c=l(n(93)),u=l(n(208));function l(t){return t&&t.__esModule?t:{default:t}}e.default={name:"MapAndBasicHeader",inject:["slotsList","propsList"],props:{theme:{type:String,default:"light"},fixed:{type:Boolean,default:!1},navList:{type:Array,default:function(){return[]}}},data:function(){return{currentPath:void 0,currentIndex:0}},mounted:function(){var t=this;this.$watch("$route",(function(e){var n=e.matched;if(t.navList&&!(0,a.isEmpty)(t.navList)&&n.length){var r=(0,i.treeFindPath)(t.navList,(function(t){return t.meta.id===n[n.length-1].meta.id}));t.currentPath=r[0].path;var o=t.navList.findIndex((function(e){return e.path===t.currentPath}));t.currentIndex=-1!==o?o:0,t.propsList.nav&&u.default._toggle(t.currentIndex)}}),{immediate:!0}),this.propsList.nav&&this.$nextTick((function(){u.default.drawNav({index:t.currentIndex,canvas:document.getElementById("navCanvas"),navItem:document.querySelector(".rk-web-core-header-right-nav-item"),navCount:t.navList.length})}))},methods:{renderNav:function(){var t=this,e=this.$createElement;return this.navList&&!(0,a.isEmpty)(this.navList)?this.navList.filter((function(t){return 1===t.type})).map((function(n,o){var a="dark"!==t.theme?(0,r.default)([i.prefixCls+"-header-right-nav-item",n.path===t.currentPath?i.prefixCls+"-header-right-nav-active":""]):(0,r.default)([i.prefixCls+"-header-right-nav-item",i.prefixCls+"-header-dark-nav-item",n.path===t.currentPath?i.prefixCls+"-header-dark-nav-active":""]);return e("div",{class:a,ref:"navItem",on:{click:function(){return t.handleTap(n,o)}}},[n.meta.title])})):null},handleTap:function(t,e){if(1===t.meta.chainType){var n=t.path.indexOf("http")>-1?t.path:"http://"+t.path;window.open(n)}else this.propsList.nav&&u.default._toggle(e),this.currentPath=t.path,this.$store.commit("user/SET_NAV_INDEX",e),this.$router.push(t.path).then((function(t){})),this.$emit("change",t)},setNavIndex:function(t){u.default._toggle(t)}},render:function(){var t=arguments[0],e=this.theme,n=this.fixed,a=this.slotsList,u=this.propsList,l=(0,r.default)([i.prefixCls+"-header",i.prefixCls+"-header-"+e,n?i.prefixCls+"-header-fixed":""]);return t("a-layout-header",{class:l},[t("div",{class:[i.prefixCls+"-header-"+e+"-inner",i.prefixCls+"-header-inner"]},[a.logo?a.logo:t(o.default,{attrs:{prefix:"basic",theme:e}}),a.prefix,t("div",{class:i.prefixCls+"-header-right"},[u.nav?t("div",{class:[i.prefixCls+"-header-right-nav","dark"===e?i.prefixCls+"-header-dark":""]},[t("canvas",{attrs:{id:"navCanvas"},style:"position: absolute; z-index: -1"}),this.renderNav()]):null,u.right?t("div",{class:i.prefixCls+"-header-right-extra"},[a.header,t(s.default,{attrs:{theme:e}}),a.extends,t(c.default,{attrs:{theme:e}})]):null]),a.suffix])])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=p(n(30)),o=p(n(31)),a=p(n(11)),s=n(5),c=n(7),u=p(n(74)),l=n(13),h=n(6),f=p(n(8)),d=p(n(20));function p(t){return t&&t.__esModule?t:{default:t}}e.default={name:"AppExternal",props:{theme:{type:String,default:"light"}},computed:{currentUser:function(){return c.localStore.get("userName")},currentProject:function(){return c.localStore.get("currentProject")}},data:function(){return{projectList:[],currentProjectInfo:void 0}},mounted:function(){this.getAllProject()},methods:{getAllProject:function(){var t=this;(0,l.getBelongList)().then((function(e){c.sessionStore.get("CLIENT_ID");t.projectList=e.data.map((function(e){return(0,a.default)({},e,{check:e.id===t.currentProject.id})}));var n=(0,h.find)(t.projectList,["id",t.currentProject.id]);(0,h.isEmpty)(n)||(t.currentProjectInfo=n.name)}))},changeBtn:(r=(0,o.default)(i.default.mark((function t(e,n){var r,o,a;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(1!==e){t.next=14;break}return localStorage.removeItem("menuList"),localStorage.removeItem("consumer"),localStorage.removeItem("currentProject"),localStorage.removeItem("consumerExtList"),localStorage.removeItem("userMessage"),c.localStore.set("currentProject",n),t.next=9,(0,l.postConsumer)(n.id);case 9:r=t.sent,o=r.data,!(0,h.isEmpty)(o)&&o.access_token&&(localStorage.removeItem("access_token"),localStorage.setItem("access_token",o.access_token),this.$nextTick((function(){window.location.reload()}))),t.next=17;break;case 14:u.default.clearAll(),(a=c.localStore.get("IAM_OATH_TYPE"))?window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/sys/oauth/logout?"+d.default.stringify({redirectUri:window.origin,oauthType:a}),"_self"):window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/sys/oauth/logout?"+d.default.stringify({redirectUri:window.origin}),"_self");case 17:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},render:function(){var t=this,e=arguments[0],n=this.projectList.map((function(n){var r=(0,f.default)([s.prefixCls+"-app-external-cell",n.check?s.prefixCls+"-app-external-active":""]);return e("div",{class:r,on:{click:function(){return t.changeBtn(1,n)}}},[n.name])}));return e("a-dropdown",{attrs:{trigger:["click"]}},[e("span",{class:[s.prefixCls+"-app-external-link",s.prefixCls+"-app-external-link-"+this.theme]},[e("span",{class:s.prefixCls+"-app-external-link-title"},[this.currentUser]),this.currentProject?e("span",{class:s.prefixCls+"-app-external-link-sub"},["【",this.currentProjectInfo,"】"]):null,e("a-icon",{attrs:{type:"caret-down"}})]),e("div",{slot:"overlay",class:s.prefixCls+"-app-external-wrapper"},[(0,h.isEmpty)(this.projectList)?null:e("div",{class:s.prefixCls+"-app-external-list"},[n]),e("div",{class:s.prefixCls+"-app-external-btn",on:{click:function(){return t.changeBtn(2)}}},[e("span",["退出登录"])])])])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(57)),i=u(n(204)),o=n(5),a=n(13),s=u(n(207)),c=n(7);function u(t){return t&&t.__esModule?t:{default:t}}var l={"东北⻛":[22.5,67.5],"东⻛":[67.5,112.5],"东南⻛":[112.5,157.5],"南⻛":[157.5,202.5],"⻄南⻛":[202.5,247.5],"⻄⻛":[247.5,292.5],"⻄北⻛":[292.5,337.5]},h={"0级":[0,.2],"1级":[.2,1.5],"2级":[1.5,3.3],"3级":[3.3,5.4],"4级":[5.4,7.9],"5级":[7.9,10.7],"6级":[10.7,13.8],"7级":[13.8,17.1],"8级":[17.1,20.7],"9级":[20.7,24.4],"10级":[24.4,28.4],"11级":[28.4,32.6]};e.default={name:"HeaderInfoGroup",inject:["propsList"],props:{theme:{type:String,default:"light"}},data:function(){return{ymd:"00-00-00",hms:"--:--:--",regionDataInfo:{temperature:0,time:void 0,url:void 0,value:0,windDirection:0,windSpeed:0,iconDay:void 0,iconNight:void 0,weather:"晴",windDegrees:180,windLevel:2},isDay:!0}},mounted:function(){var t=this;this.timer=setInterval((function(){t.initDateTime()}),1e3),this.getRealDate()},methods:{calcWindDirection:function(t){return{transform:"rotateZ("+t+"deg)"}},calcWind:function(t){var e=(0,i.default)(l).findIndex((function(e){return t>e[0]&&t<=e[1]}));return""+((0,r.default)(l)[e]||"北风")},calcWindLevel:function(t){if(0===t)return"0级";var e=(0,i.default)(h).findIndex((function(e){return t>e[0]&&t<=e[1]}));return""+((0,r.default)(h)[e]||"12级")},initDateTime:function(){var t=new Date,e=t.getFullYear(),n=t.getMonth()+1,r=t.getDate(),i=(new Date).getHours(),o=(new Date).getMinutes(),a=(new Date).getSeconds();this.ymd=e+"-"+this.addZero(n)+"-"+this.addZero(r),this.isDay=i>6&&i<=18,this.hms=this.addZero(i)+":"+this.addZero(o)+":"+this.addZero(a)},addZero:function(t){return t<10?"0"+t:t},getRealDate:function(){var t=this,e=c.localStore.get("consumer").regionId;(0,a.getRegionDataInfo)({areaCode:e}).then((function(e){t.regionDataInfo=e.data.live}))}},beforeDestroy:function(){this.timer&&clearInterval(this.timer)},render:function(){var t=arguments[0];return t("div",{class:[o.prefixCls+"-header-info-group",o.prefixCls+"-header-info-group-"+this.theme]},[this.propsList.datetime?t("div",{class:[o.prefixCls+"-header-info-group-time",o.prefixCls+"-header-info-group-item"]},[t("span",[this.hms]),t("small",[this.ymd])]):null,this.propsList.weather?t("div",{class:[o.prefixCls+"-header-info-group-weather",o.prefixCls+"-header-info-group-item"]},[t("img",{attrs:{src:this.regionDataInfo.icon,alt:""}}),t("span",[this.regionDataInfo.temperature,"℃"])]):null,this.propsList.wind?t("div",{class:[o.prefixCls+"-header-info-group-wind",o.prefixCls+"-header-info-group-item"]},[t("div",{class:o.prefixCls+"-header-info-group-wind-img"},[t(s.default,{style:this.calcWindDirection(this.regionDataInfo.windDegrees)})]),t("div",{class:o.prefixCls+"-header-info-group-wind-info"},[t("span",[this.regionDataInfo.windLevel,"级"]),t("span",[this.regionDataInfo.windDirection])])]):null])}}},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(214),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(12))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GMap=e.AppLayout=e.install=void 0;var r=b(n(57)),i=b(n(28)),o=b(n(29)),a=n(6),s=n(108),c=b(n(109)),u=n(110),l=b(n(117)),h=n(177),f=b(n(78)),d=n(228),p=n(34),m=b(n(79)),g=b(n(229));n(230);var v=n(55),y=b(v),_=n(240),x=b(_);function b(t){return t&&t.__esModule?t:{default:t}}var w={loadView:void 0,store:{},filters:[],vueConfig:{},authToken:void 0,svgFile:"https://at.alicdn.com/t/font_614860_f0motpq03e.js",isNeedMapTalks:!1,mapOptions:{},routerOptions:{},microOptions:{}},M=function(){function t(e,n){(0,i.default)(this,t),e&&n&&(this.vueInstance=e,this.basicRouter=c.default,this.initOptions(n))}return(0,o.default)(t,[{key:"initOptions",value:function(t){var e=(0,r.default)(w);this.basicOptions=(0,a.pick)((0,p.mergeProps)(w,t),e),this.storeInstance=this.basicOptions.store,this.useInstance(),this.filterInstance(),this.vueConfigPick()}},{key:"getRequestInstance",value:function(){return f.default}},{key:"useInstance",value:function(){this.vueInstance.use(this.basicRouter),this.routerInstance=(0,u.routerInit)(this.basicRouter,this.basicOptions.routerOptions),this.storeInstance.registerModule("user",l.default),(0,h.registerPermission)(this,(0,u.pkRouter)(this.basicRouter,this.basicOptions.routerOptions)),this.basicOptions.isNeedMapTalks&&this.loadAMap()}},{key:"loadAMap",value:function(){var t=this;this.routerInstance.onReady((function(){(0,y.default)((0,p.mergeProps)({svgFile:t.basicOptions.svgFile,zoom:9.6},t.basicOptions.mapOptions))}))}},{key:"filterInstance",value:function(){var t=this;(0,r.default)(this.basicOptions.filters).forEach((function(e){t.vueInstance.filter(e,t.basicOptions.filters[e])}))}},{key:"vueConfigPick",value:function(){var t=this;(0,r.default)(this.basicOptions.vueConfig).forEach((function(e){t.vueInstance.config[e]=t.basicOptions.vueConfig[e]}))}},{key:"mount",value:function(){return{version:s.version,router:this.routerInstance,store:this.storeInstance,resetRouter:(0,u.pkRouter)(this.basicRouter),request:this.getRequestInstance(),axios:m.default,vueInstance:this.vueInstance,bootstrap:(0,d.noLogin)(this.routerInstance,this.basicOptions.authToken)}}},{key:"loadMicro",value:function(){return{micro:x.default,microOne:_.microOne,microTwo:_.microTwo,microThree:_.microThree}}}]),t}(),S=function(t){t.use(g.default)};"undefined"!=typeof window&&window.Vue&&S(window.Vue),g.default.install=function(t){t.component(g.default.name,g.default)},e.install=S,e.AppLayout=g.default,e.GMap=v.GMap,e.default=function(t,e){return new M(t,e)}},function(t,e,n){n(97),t.exports=n(0).Object.keys},function(t,e,n){var r=n(21),i=n(22);n(101)("keys",(function(){return function(t){return i(r(t))}}))},function(t,e,n){var r=n(23),i=n(24),o=n(99)(!1),a=n(39)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var r=n(24),i=n(37),o=n(100);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(38),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(4),i=n(0),o=n(27);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(t,e,n){t.exports=!n(10)&&!n(27)((function(){return 7!=Object.defineProperty(n(41)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(19);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){t.exports={default:n(105),__esModule:!0}},function(t,e,n){n(106);var r=n(0).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(4);r(r.S+r.F*!n(10),"Object",{defineProperty:n(15).f})},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.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}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.version="V0.9.51"},function(t,e,n){"use strict";function r(t,e){for(var n in e)t[n]=e[n];return t}n.r(e);var i=/[!'()*]/g,o=function(t){return"%"+t.charCodeAt(0).toString(16)},a=/%2C/g,s=function(t){return encodeURIComponent(t).replace(i,o).replace(a,",")};function c(t){try{return decodeURIComponent(t)}catch(t){0}return t}var u=function(t){return null==t||"object"==typeof t?t:String(t)};function l(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=c(n.shift()),i=n.length>0?c(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),e):e}function h(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return s(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(s(e)):r.push(s(e)+"="+s(t)))})),r.join("&")}return s(e)+"="+s(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var f=/\/?$/;function d(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=p(o)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:v(e,i),matched:t?g(t):[]};return n&&(a.redirectedFrom=v(n,i)),Object.freeze(a)}function p(t){if(Array.isArray(t))return t.map(p);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=p(t[n]);return e}return t}var m=d(null,{path:"/"});function g(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function v(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;return void 0===i&&(i=""),(n||"/")+(e||h)(r)+i}function y(t,e,n){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(f,"")===e.path.replace(f,"")&&(n||t.hash===e.hash&&_(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params))))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,i){var o=t[n];if(r[i]!==n)return!1;var a=e[n];return null==o||null==a?o===a:"object"==typeof o&&"object"==typeof a?_(o,a):String(o)===String(a)}))}function x(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var r in n.instances){var i=n.instances[r],o=n.enteredCbs[r];if(i&&o){delete n.enteredCbs[r];for(var a=0;a<o.length;a++)i._isBeingDestroyed||o[a](i)}}}}var b={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,o=e.parent,a=e.data;a.routerView=!0;for(var s=o.$createElement,c=n.name,u=o.$route,l=o._routerViewCache||(o._routerViewCache={}),h=0,f=!1;o&&o._routerRoot!==o;){var d=o.$vnode?o.$vnode.data:{};d.routerView&&h++,d.keepAlive&&o._directInactive&&o._inactive&&(f=!0),o=o.$parent}if(a.routerViewDepth=h,f){var p=l[c],m=p&&p.component;return m?(p.configProps&&w(m,a,p.route,p.configProps),s(m,a,i)):s()}var g=u.matched[h],v=g&&g.components[c];if(!g||!v)return l[c]=null,s();l[c]={component:v},a.registerRouteInstance=function(t,e){var n=g.instances[c];(e&&n!==t||!e&&n===t)&&(g.instances[c]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){g.instances[c]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==g.instances[c]&&(g.instances[c]=t.componentInstance),x(u)};var y=g.props&&g.props[c];return y&&(r(l[c],{route:u,configProps:y}),w(v,a,u,y)),s(v,a,i)}};function w(t,e,n,i){var o=e.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(n,i);if(o){o=e.props=r({},o);var a=e.attrs=e.attrs||{};for(var s in o)t.props&&s in t.props||(a[s]=o[s],delete o[s])}}function M(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var o=t.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?i.pop():"."!==s&&i.push(s)}return""!==i[0]&&i.unshift(""),i.join("/")}function S(t){return t.replace(/\/+/g,"/")}var A=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},C=N,E=R,T=function(t,e){return k(R(t,e),e)},I=k,L=j,P=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function R(t,e){for(var n,r=[],i=0,o=0,a="",s=e&&e.delimiter||"/";null!=(n=P.exec(t));){var c=n[0],u=n[1],l=n.index;if(a+=t.slice(o,l),o=l+c.length,u)a+=u[1];else{var h=t[o],f=n[2],d=n[3],p=n[4],m=n[5],g=n[6],v=n[7];a&&(r.push(a),a="");var y=null!=f&&null!=h&&h!==f,_="+"===g||"*"===g,x="?"===g||"*"===g,b=n[2]||s,w=p||m;r.push({name:d||i++,prefix:f||"",delimiter:b,optional:x,repeat:_,partial:y,asterisk:!!v,pattern:w?D(w):v?".*":"[^"+B(b)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&r.push(a),r}function O(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function k(t,e){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(n[r]=new RegExp("^(?:"+t[r].pattern+")$",U(e)));return function(e,r){for(var i="",o=e||{},a=(r||{}).pretty?O:encodeURIComponent,s=0;s<t.length;s++){var c=t[s];if("string"!=typeof c){var u,l=o[c.name];if(null==l){if(c.optional){c.partial&&(i+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(A(l)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(l)+"`");if(0===l.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var h=0;h<l.length;h++){if(u=a(l[h]),!n[s].test(u))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(u)+"`");i+=(0===h?c.prefix:c.delimiter)+u}}else{if(u=c.asterisk?encodeURI(l).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):a(l),!n[s].test(u))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+u+'"');i+=c.prefix+u}}else i+=c}return i}}function B(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function D(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function F(t,e){return t.keys=e,t}function U(t){return t&&t.sensitive?"":"i"}function j(t,e,n){A(e)||(n=e||n,e=[]);for(var r=(n=n||{}).strict,i=!1!==n.end,o="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)o+=B(s);else{var c=B(s.prefix),u="(?:"+s.pattern+")";e.push(s),s.repeat&&(u+="(?:"+c+u+")*"),o+=u=s.optional?s.partial?c+"("+u+")?":"(?:"+c+"("+u+"))?":c+"("+u+")"}}var l=B(n.delimiter||"/"),h=o.slice(-l.length)===l;return r||(o=(h?o.slice(0,-l.length):o)+"(?:"+l+"(?=$))?"),o+=i?"$":r&&h?"":"(?="+l+"|$)",F(new RegExp("^"+o,U(n)),e)}function N(t,e,n){return A(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return F(t,e)}(t,e):A(t)?function(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(N(t[i],e,n).source);return F(new RegExp("(?:"+r.join("|")+")",U(n)),e)}(t,e,n):function(t,e,n){return j(R(t,n),e,n)}(t,e,n)}C.parse=E,C.compile=T,C.tokensToFunction=I,C.tokensToRegExp=L;var G=Object.create(null);function z(t,e,n){e=e||{};try{var r=G[t]||(G[t]=C.compile(t));return"string"==typeof e.pathMatch&&(e[0]=e.pathMatch),r(e,{pretty:!0})}catch(t){return""}finally{delete e[0]}}function H(t,e,n,i){var o="string"==typeof t?{path:t}:t;if(o._normalized)return o;if(o.name){var a=(o=r({},t)).params;return a&&"object"==typeof a&&(o.params=r({},a)),o}if(!o.path&&o.params&&e){(o=r({},o))._normalized=!0;var s=r(r({},e.params),o.params);if(e.name)o.name=e.name,o.params=s;else if(e.matched.length){var c=e.matched[e.matched.length-1].path;o.path=z(c,s,e.path)}else 0;return o}var h=function(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}(o.path||""),f=e&&e.path||"/",d=h.path?M(h.path,f,n||o.append):f,p=function(t,e,n){void 0===e&&(e={});var r,i=n||l;try{r=i(t||"")}catch(t){r={}}for(var o in e){var a=e[o];r[o]=Array.isArray(a)?a.map(u):u(a)}return r}(h.query,o.query,i&&i.options.parseQuery),m=o.hash||h.hash;return m&&"#"!==m.charAt(0)&&(m="#"+m),{_normalized:!0,path:d,query:p,hash:m}}var W,V=function(){},Z={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,o=n.resolve(this.to,i,this.append),a=o.location,s=o.route,c=o.href,u={},l=n.options.linkActiveClass,h=n.options.linkExactActiveClass,p=null==l?"router-link-active":l,m=null==h?"router-link-exact-active":h,g=null==this.activeClass?p:this.activeClass,v=null==this.exactActiveClass?m:this.exactActiveClass,_=s.redirectedFrom?d(null,H(s.redirectedFrom),null,n):s;u[v]=y(i,_,this.exactPath),u[g]=this.exact||this.exactPath?u[v]:function(t,e){return 0===t.path.replace(f,"/").indexOf(e.path.replace(f,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(i,_);var x=u[v]?this.ariaCurrentValue:null,b=function(t){Q(t)&&(e.replace?n.replace(a,V):n.push(a,V))},w={click:Q};Array.isArray(this.event)?this.event.forEach((function(t){w[t]=b})):w[this.event]=b;var M={class:u},S=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:c,route:s,navigate:b,isActive:u[g],isExactActive:u[v]});if(S){if(1===S.length)return S[0];if(S.length>1||!S.length)return 0===S.length?t():t("span",{},S)}if("a"===this.tag)M.on=w,M.attrs={href:c,"aria-current":x};else{var A=function t(e){var n;if(e)for(var r=0;r<e.length;r++){if("a"===(n=e[r]).tag)return n;if(n.children&&(n=t(n.children)))return n}}(this.$slots.default);if(A){A.isStatic=!1;var C=A.data=r({},A.data);for(var E in C.on=C.on||{},C.on){var T=C.on[E];E in w&&(C.on[E]=Array.isArray(T)?T:[T])}for(var I in w)I in C.on?C.on[I].push(w[I]):C.on[I]=b;var L=A.data.attrs=r({},A.data.attrs);L.href=c,L["aria-current"]=x}else M.on=w}return t(this.tag,M,this.$slots.default)}};function Q(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}var X="undefined"!=typeof window;function Y(t,e,n,r,i){var o=e||[],a=n||Object.create(null),s=r||Object.create(null);t.forEach((function(t){!function t(e,n,r,i,o,a){var s=i.path,c=i.name;0;var u=i.pathToRegexpOptions||{},l=function(t,e,n){n||(t=t.replace(/\/$/,""));if("/"===t[0])return t;if(null==e)return t;return S(e.path+"/"+t)}(s,o,u.strict);"boolean"==typeof i.caseSensitive&&(u.sensitive=i.caseSensitive);var h={path:l,regex:J(l,u),components:i.components||{default:i.component},alias:i.alias?"string"==typeof i.alias?[i.alias]:i.alias:[],instances:{},enteredCbs:{},name:c,parent:o,matchAs:a,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};i.children&&i.children.forEach((function(i){var o=a?S(a+"/"+i.path):void 0;t(e,n,r,i,h,o)}));n[h.path]||(e.push(h.path),n[h.path]=h);if(void 0!==i.alias)for(var f=Array.isArray(i.alias)?i.alias:[i.alias],d=0;d<f.length;++d){0;var p={path:f[d],children:i.children};t(e,n,r,p,o,h.path||"/")}c&&(r[c]||(r[c]=h))}(o,a,s,t,i)}));for(var c=0,u=o.length;c<u;c++)"*"===o[c]&&(o.push(o.splice(c,1)[0]),u--,c--);return{pathList:o,pathMap:a,nameMap:s}}function J(t,e){return C(t,[],e)}function q(t,e){var n=Y(t),r=n.pathList,i=n.pathMap,o=n.nameMap;function a(t,n,a){var s=H(t,n,!1,e),u=s.name;if(u){var l=o[u];if(!l)return c(null,s);var h=l.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var f in n.params)!(f in s.params)&&h.indexOf(f)>-1&&(s.params[f]=n.params[f]);return s.path=z(l.path,s.params),c(l,s,a)}if(s.path){s.params={};for(var d=0;d<r.length;d++){var p=r[d],m=i[p];if(K(m.regex,s.path,s.params))return c(m,s,a)}}return c(null,s)}function s(t,n){var r=t.redirect,i="function"==typeof r?r(d(t,n,null,e)):r;if("string"==typeof i&&(i={path:i}),!i||"object"!=typeof i)return c(null,n);var s=i,u=s.name,l=s.path,h=n.query,f=n.hash,p=n.params;if(h=s.hasOwnProperty("query")?s.query:h,f=s.hasOwnProperty("hash")?s.hash:f,p=s.hasOwnProperty("params")?s.params:p,u){o[u];return a({_normalized:!0,name:u,query:h,hash:f,params:p},void 0,n)}if(l){var m=function(t,e){return M(t,e.parent?e.parent.path:"/",!0)}(l,t);return a({_normalized:!0,path:z(m,p),query:h,hash:f},void 0,n)}return c(null,n)}function c(t,n,r){return t&&t.redirect?s(t,r||n):t&&t.matchAs?function(t,e,n){var r=a({_normalized:!0,path:z(n,e.params)});if(r){var i=r.matched,o=i[i.length-1];return e.params=r.params,c(o,e)}return c(null,e)}(0,n,t.matchAs):d(t,n,r,e)}return{match:a,addRoute:function(t,e){var n="object"!=typeof t?o[t]:void 0;Y([e||t],r,i,o,n),n&&n.alias.length&&Y(n.alias.map((function(t){return{path:t,children:[e]}})),r,i,o,n)},getRoutes:function(){return r.map((function(t){return i[t]}))},addRoutes:function(t){Y(t,r,i,o)}}}function K(t,e,n){var r=e.match(t);if(!r)return!1;if(!n)return!0;for(var i=1,o=r.length;i<o;++i){var a=t.keys[i-1];a&&(n[a.name||"pathMatch"]="string"==typeof r[i]?c(r[i]):r[i])}return!0}var $=X&&window.performance&&window.performance.now?window.performance:Date;function tt(){return $.now().toFixed(3)}var et=tt();function nt(){return et}function rt(t){return et=t}var it=Object.create(null);function ot(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=r({},window.history.state);return n.key=nt(),window.history.replaceState(n,"",e),window.addEventListener("popstate",ct),function(){window.removeEventListener("popstate",ct)}}function at(t,e,n,r){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick((function(){var o=function(){var t=nt();if(t)return it[t]}(),a=i.call(t,e,n,r?o:null);a&&("function"==typeof a.then?a.then((function(t){dt(t,o)})).catch((function(t){0})):dt(a,o))}))}}function st(){var t=nt();t&&(it[t]={x:window.pageXOffset,y:window.pageYOffset})}function ct(t){st(),t.state&&t.state.key&&rt(t.state.key)}function ut(t){return ht(t.x)||ht(t.y)}function lt(t){return{x:ht(t.x)?t.x:window.pageXOffset,y:ht(t.y)?t.y:window.pageYOffset}}function ht(t){return"number"==typeof t}var ft=/^#\d/;function dt(t,e){var n,r="object"==typeof t;if(r&&"string"==typeof t.selector){var i=ft.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(i){var o=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-n.left-e.x,y:r.top-n.top-e.y}}(i,o={x:ht((n=o).x)?n.x:0,y:ht(n.y)?n.y:0})}else ut(t)&&(e=lt(t))}else r&&ut(t)&&(e=lt(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var pt,mt=X&&((-1===(pt=window.navigator.userAgent).indexOf("Android 2.")&&-1===pt.indexOf("Android 4.0")||-1===pt.indexOf("Mobile Safari")||-1!==pt.indexOf("Chrome")||-1!==pt.indexOf("Windows Phone"))&&window.history&&"function"==typeof window.history.pushState);function gt(t,e){st();var n=window.history;try{if(e){var i=r({},n.state);i.key=nt(),n.replaceState(i,"",t)}else n.pushState({key:rt(tt())},"",t)}catch(n){window.location[e?"replace":"assign"](t)}}function vt(t){gt(t,!0)}function yt(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}var _t={redirected:2,aborted:4,cancelled:8,duplicated:16};function xt(t,e){return wt(t,e,_t.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return Mt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function bt(t,e){return wt(t,e,_t.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function wt(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var Mt=["params","query","hash"];function St(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function At(t,e){return St(t)&&t._isRouter&&(null==e||t.type===e)}function Ct(t){return function(e,n,r){var i=!1,o=0,a=null;Et(t,(function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){i=!0,o++;var c,u=Lt((function(e){var i;((i=e).__esModule||It&&"Module"===i[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:W.extend(e),n.components[s]=e,--o<=0&&r()})),l=Lt((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=St(t)?t:new Error(e),r(a))}));try{c=t(u,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(u,l);else{var h=c.component;h&&"function"==typeof h.then&&h.then(u,l)}}})),i||r()}}function Et(t,e){return Tt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Tt(t){return Array.prototype.concat.apply([],t)}var It="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Lt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Pt=function(t,e){this.router=t,this.base=function(t){if(!t)if(X){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Rt(t,e,n,r){var i=Et(t,(function(t,r,i,o){var a=function(t,e){"function"!=typeof t&&(t=W.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map((function(t){return n(t,r,i,o)})):n(a,r,i,o)}));return Tt(r?i.reverse():i)}function Ot(t,e){if(e)return function(){return t.apply(e,arguments)}}Pt.prototype.listen=function(t){this.cb=t},Pt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Pt.prototype.onError=function(t){this.errorCbs.push(t)},Pt.prototype.transitionTo=function(t,e,n){var r,i=this;try{r=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var o=this.current;this.confirmTransition(r,(function(){i.updateRoute(r),e&&e(r),i.ensureURL(),i.router.afterHooks.forEach((function(t){t&&t(r,o)})),i.ready||(i.ready=!0,i.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!i.ready&&(At(t,_t.redirected)&&o===m||(i.ready=!0,i.readyErrorCbs.forEach((function(e){e(t)}))))}))},Pt.prototype.confirmTransition=function(t,e,n){var r=this,i=this.current;this.pending=t;var o,a,s=function(t){!At(t)&&St(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},c=t.matched.length-1,u=i.matched.length-1;if(y(t,i)&&c===u&&t.matched[c]===i.matched[u])return this.ensureURL(),t.hash&&at(this.router,i,t,!1),s(((a=wt(o=i,t,_t.duplicated,'Avoided redundant navigation to current location: "'+o.fullPath+'".')).name="NavigationDuplicated",a));var l=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}(this.current.matched,t.matched),h=l.updated,f=l.deactivated,d=l.activated,p=[].concat(function(t){return Rt(t,"beforeRouteLeave",Ot,!0)}(f),this.router.beforeHooks,function(t){return Rt(t,"beforeRouteUpdate",Ot)}(h),d.map((function(t){return t.beforeEnter})),Ct(d)),m=function(e,n){if(r.pending!==t)return s(bt(i,t));try{e(t,i,(function(e){!1===e?(r.ensureURL(!0),s(function(t,e){return wt(t,e,_t.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}(i,t))):St(e)?(r.ensureURL(!0),s(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(s(xt(i,t)),"object"==typeof e&&e.replace?r.replace(e):r.push(e)):n(e)}))}catch(t){s(t)}};yt(p,m,(function(){yt(function(t){return Rt(t,"beforeRouteEnter",(function(t,e,n,r){return function(t,e,n){return function(r,i,o){return t(r,i,(function(t){"function"==typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),o(t)}))}}(t,n,r)}))}(d).concat(r.router.resolveHooks),m,(function(){if(r.pending!==t)return s(bt(i,t));r.pending=null,e(t),r.router.app&&r.router.app.$nextTick((function(){x(t)}))}))}))},Pt.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},Pt.prototype.setupListeners=function(){},Pt.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=m,this.pending=null};var kt=function(t){function e(e,n){t.call(this,e,n),this._startLocation=Bt(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=mt&&n;r&&this.listeners.push(ot());var i=function(){var n=t.current,i=Bt(t.base);t.current===m&&i===t._startLocation||t.transitionTo(i,(function(t){r&&at(e,t,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){gt(S(r.base+t.fullPath)),at(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){vt(S(r.base+t.fullPath)),at(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(Bt(this.base)!==this.current.fullPath){var e=S(this.base+this.current.fullPath);t?gt(e):vt(e)}},e.prototype.getCurrentLocation=function(){return Bt(this.base)},e}(Pt);function Bt(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(S(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Dt=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=Bt(t);if(!/^\/#/.test(e))return window.location.replace(S(t+"/#"+e)),!0}(this.base)||Ft()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=mt&&e;n&&this.listeners.push(ot());var r=function(){var e=t.current;Ft()&&t.transitionTo(Ut(),(function(r){n&&at(t.router,r,e,!0),mt||Gt(r.fullPath)}))},i=mt?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push((function(){window.removeEventListener(i,r)}))}},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Nt(t.fullPath),at(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Gt(t.fullPath),at(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Ut()!==e&&(t?Nt(e):Gt(e))},e.prototype.getCurrentLocation=function(){return Ut()},e}(Pt);function Ft(){var t=Ut();return"/"===t.charAt(0)||(Gt("/"+t),!1)}function Ut(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function jt(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Nt(t){mt?gt(jt(t)):window.location.hash=t}function Gt(t){mt?vt(jt(t)):window.location.replace(jt(t))}var zt=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){At(t,_t.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Pt),Ht=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=q(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!mt&&!1!==t.fallback,this.fallback&&(e="hash"),X||(e="abstract"),this.mode=e,e){case"history":this.history=new kt(this,t.base);break;case"hash":this.history=new Dt(this,t.base,this.fallback);break;case"abstract":this.history=new zt(this,t.base);break;default:0}},Wt={currentRoute:{configurable:!0}};function Vt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Ht.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Wt.currentRoute.get=function(){return this.history&&this.history.current},Ht.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof kt||n instanceof Dt){var r=function(t){n.setupListeners(),function(t){var r=n.current,i=e.options.scrollBehavior;mt&&i&&"fullPath"in t&&at(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Ht.prototype.beforeEach=function(t){return Vt(this.beforeHooks,t)},Ht.prototype.beforeResolve=function(t){return Vt(this.resolveHooks,t)},Ht.prototype.afterEach=function(t){return Vt(this.afterHooks,t)},Ht.prototype.onReady=function(t,e){this.history.onReady(t,e)},Ht.prototype.onError=function(t){this.history.onError(t)},Ht.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},Ht.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},Ht.prototype.go=function(t){this.history.go(t)},Ht.prototype.back=function(){this.go(-1)},Ht.prototype.forward=function(){this.go(1)},Ht.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Ht.prototype.resolve=function(t,e,n){var r=H(t,e=e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?S(t+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},Ht.prototype.getRoutes=function(){return this.matcher.getRoutes()},Ht.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Ht.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ht.prototype,Wt),Ht.install=function t(e){if(!t.installed||W!==e){t.installed=!0,W=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",b),e.component("RouterLink",Z);var i=e.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},Ht.version="3.5.3",Ht.isNavigationFailure=At,Ht.NavigationFailureType=_t,Ht.START_LOCATION=m,X&&window.Vue&&window.Vue.use(Ht),e.default=Ht},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pkRouter=e.routerInit=void 0;var r=o(n(11)),i=o(n(116));function o(t){return t&&t.__esModule?t:{default:t}}e.routerInit=function(t,e){var n=t.prototype.push,r=t.prototype.replace;t.prototype.push=function(t,e,r){return e||r?n.call(this,t,e,r):n.call(this,t).catch((function(t){return t}))},t.prototype.replace=function(t,e,n){return e||n?r.call(this,t,e,n):r.call(this,t).catch((function(t){return t}))};var i=a(t,e);return s(i),i};var a=e.pkRouter=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){return new t((0,r.default)({},e,{mode:"history",routes:[{path:"/404",component:i.default}],scrollBehavior:function(t,e,n){return n||{x:0,y:0}}}))},o=n(),a=n();return o.matcher=a.matcher,o},s=function(t){t.onError((function(e){console.log("\n *************************ROUTER ERROR BEGIN**********************************\n\n "+e+"\n\n *************************ROUTER ERROR FINAL**********************************\n ");var n=e.message.match(/Loading chunk (\w)+ failed/g),r=t.history.pending.fullPath;n&&t.replace(r).then()}))}},function(t,e,n){t.exports={default:n(112),__esModule:!0}},function(t,e,n){n(113),t.exports=n(0).Object.assign},function(t,e,n){var r=n(4);r(r.S+r.F,"Object",{assign:n(114)})},function(t,e,n){"use strict";var r=n(10),i=n(22),o=n(115),a=n(62),s=n(21),c=n(58),u=Object.assign;t.exports=!u||n(27)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){for(var n=s(t),u=arguments.length,l=1,h=o.f,f=a.f;u>l;)for(var d,p=c(arguments[l++]),m=h?i(p).concat(h(p)):i(p),g=m.length,v=0;g>v;)d=m[v++],r&&!f.call(p,d)||(n[d]=p[d]);return n}:u},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={render:function(){var t=arguments[0];return t("a-result",{attrs:{status:"404",title:"404","sub-title":"Sorry, the page you visited does not exist."}},[t("a-button",{attrs:{type:"primary"},slot:"extra",on:{click:this.toHome}},["Back Home"])])},methods:{toHome:function(){return this.$router.replace({path:"/"}),!1}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MENU_LIST=void 0;var r=u(n(30)),i=u(n(31)),o=u(n(43)),a=u(n(20)),s=n(7),c=n(13);function u(t){return t&&t.__esModule?t:{default:t}}var l=e.MENU_LIST="menuList",h={namespaced:!0,state:{menu_list:s.localStore.get(l)||[],addRouters:[],appRouters:[],appCurrentHeader:{},currentMap:{},navIndex:0,timeStamp:{}},mutations:{SET_MENU_LIST:function(t,e){t.menu_list=e},SET_ROUTERS:function(t,e){t.addRouters=e},SET_APP_ROUTERS:function(t,e){t.appRouters=e},SET_APP_CURRENT_HEADER:function(t,e){t.appCurrentHeader=e},SET_CURRENT_MAP:function(t,e){t.currentMap=e},SET_NAV_INDEX:function(t,e){t.navIndex=e},SET_TIME_STAMP:function(t,e){t.timeStamp=e}},actions:{appRouters:function(t,e){(0,t.commit)("SET_ROUTERS",e)},GetUserInfo:function(t,e){var n,u=this,h=t.commit;return new o.default((n=(0,i.default)(r.default.mark((function t(n,i){var o,f,d,p,m,g,v,y,_;return r.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,c.getUserInfo)(e);case 2:o=t.sent,f=o.data,d=f.id,p=f.phone,m=f.consumer,g=f.menuList,v=f.userName,y=s.localStore.get("IAM_OATH_TYPE"),g||(i({message:"获取菜单失败,请重新登录"}),s.localStore.clearAll(),y?window.open(sessionStorage.getItem("IAM_BASE_URL")+"/noallow?"+a.default.stringify({redirectUri:window.origin,oauthType:y}),"_self"):window.open(sessionStorage.getItem("IAM_BASE_URL")+"/noallow?"+a.default.stringify({redirectUri:window.origin}),"_self")),s.localStore.set(l,g),h("SET_MENU_LIST",g),_={userId:d,userName:v,phone:p},s.localStore.set("userMessage",_),s.localStore.set("consumer",m),s.localStore.set("userName",v),s.localStore.set("userAllInfo",o.data),s.localStore.set("currentProject",{id:m.id,name:m.name,regionId:m.regionId}),o.data.consumerExtList&&s.localStore.set("consumerExtList",o.data.consumerExtList),n(g);case 16:case"end":return t.stop()}}),t,u)}))),function(t,e){return n.apply(this,arguments)}))},LogOut:function(t){var e=t.commit;s.localStore.clearAll(),e("SET_MENU_LIST",[]),e("SET_ROUTERS",[]);var n=s.localStore.get("IAM_OATH_TYPE");n?window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/sys/oauth/logout?"+a.default.stringify({redirectUri:window.origin,oauthType:n}),"_self"):window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/sys/oauth/logout?"+a.default.stringify({redirectUri:window.origin}),"_self")}}};e.default=h},function(t,e,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(119),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},function(t,e){!function(e){"use strict";var n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag",c="object"==typeof t,u=e.regeneratorRuntime;if(u)c&&(t.exports=u);else{(u=e.regeneratorRuntime=c?t.exports:{}).wrap=m;var l={},h={};h[o]=function(){return this};var f=Object.getPrototypeOf,d=f&&f(f(C([])));d&&d!==n&&r.call(d,o)&&(h=d);var p=_.prototype=v.prototype=Object.create(h);y.prototype=p.constructor=_,_.constructor=y,_[s]=y.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(p),t},u.awrap=function(t){return{__await:t}},x(b.prototype),b.prototype[a]=function(){return this},u.AsyncIterator=b,u.async=function(t,e,n,r){var i=new b(m(t,e,n,r));return u.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},x(p),p[s]="Generator",p[o]=function(){return this},p.toString=function(){return"[object Generator]"},u.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},u.values=C,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}}}function m(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,o=Object.create(i.prototype),a=new A(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=g(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function g(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function v(){}function y(){}function _(){}function x(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function b(t){var e;this._invoke=function(n,i){function o(){return new Promise((function(e,o){!function e(n,i,o,a){var s=g(t[n],t,i);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?Promise.resolve(u.__await).then((function(t){e("next",t,o,a)}),(function(t){e("throw",t,o,a)})):Promise.resolve(u).then((function(t){c.value=t,o(c)}),a)}a(s.arg)}(n,i,e,o)}))}return e=e?e.then(o,o):o()}}function w(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=g(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,l;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function M(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(M,this),this.reset(!0)}function C(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}}(function(){return this}()||Function("return this")())},function(t,e,n){n(121),n(32),n(45),n(131),n(139),n(140),t.exports=n(0).Promise},function(t,e){},function(t,e,n){var r=n(38),i=n(36);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}}},function(t,e,n){t.exports=n(14)},function(t,e,n){"use strict";var r=n(125),i=n(42),o=n(44),a={};n(14)(a,n(3)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(9),i=n(126),o=n(61),a=n(39)("IE_PROTO"),s=function(){},c=function(){var t,e=n(41)("iframe"),r=o.length;for(e.style.display="none",n(64).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(15),i=n(9),o=n(22);t.exports=n(10)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var r=n(23),i=n(21),o=n(39)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){"use strict";var r=n(129),i=n(130),o=n(16),a=n(24);t.exports=n(63)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r,i,o,a,s=n(40),c=n(2),u=n(18),l=n(46),h=n(4),f=n(19),d=n(26),p=n(132),m=n(133),g=n(67),v=n(68).set,y=n(135)(),_=n(48),x=n(69),b=n(136),w=n(70),M=c.TypeError,S=c.process,A=S&&S.versions,C=A&&A.v8||"",E=c.Promise,T="process"==l(S),I=function(){},L=i=_.f,P=!!function(){try{var t=E.resolve(1),e=(t.constructor={})[n(3)("species")]=function(t){t(I,I)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(I)instanceof e&&0!==C.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),R=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},O=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){for(var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a,s=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(i||(2==t._h&&D(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(M("Promise-chain cycle")):(o=R(n))?o.call(n,c,u):c(n)):u(r)}catch(t){l&&!a&&l.exit(),u(t)}};n.length>o;)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&k(t)}))}},k=function(t){v.call(c,(function(){var e,n,r,i=t._v,o=B(t);if(o&&(e=x((function(){T?S.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=T||B(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},B=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){v.call(c,(function(){var e;T?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},F=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),O(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw M("Promise can't be resolved itself");(e=R(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,u(U,r,1),u(F,r,1))}catch(t){F.call(r,t)}})):(n._v=t,n._s=1,O(n,!1))}catch(t){F.call({_w:n,_d:!1},t)}}};P||(E=function(t){p(this,E,"Promise","_h"),d(t),r.call(this);try{t(u(U,this,1),u(F,this,1))}catch(t){F.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(137)(E.prototype,{then:function(t,e){var n=L(g(this,E));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=T?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&O(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(U,t,1),this.reject=u(F,t,1)},_.f=L=function(t){return t===E||t===a?new o(t):i(t)}),h(h.G+h.W+h.F*!P,{Promise:E}),n(44)(E,"Promise"),n(138)("Promise"),a=n(0).Promise,h(h.S+h.F*!P,"Promise",{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),h(h.S+h.F*(s||!P),"Promise",{resolve:function(t){return w(s&&this===a?E:this,t)}}),h(h.S+h.F*!(P&&n(71)((function(t){E.all(t).catch(I)}))),"Promise",{all:function(t){var e=this,n=L(e),r=n.resolve,i=n.reject,o=x((function(){var n=[],o=0,a=1;m(t,!1,(function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=L(e),r=n.reject,i=x((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(18),i=n(65),o=n(66),a=n(9),s=n(37),c=n(47),u={},l={};(e=t.exports=function(t,e,n,h,f){var d,p,m,g,v=f?function(){return t}:c(t),y=r(n,h,e?2:1),_=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(d=s(t.length);d>_;_++)if((g=e?y(a(p=t[_])[0],p[1]):y(t[_]))===u||g===l)return g}else for(m=v.call(t);!(p=m.next()).done;)if((g=i(m,y,p.value,e))===u||g===l)return g}).BREAK=u,e.RETURN=l},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(2),i=n(68).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(25)(a);t.exports=function(){var t,e,n,u=function(){var r,i;for(c&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var h=!0,f=document.createTextNode("");new o(u).observe(f,{characterData:!0}),n=function(){f.data=h=!h}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){var r=n(2).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var r=n(14);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(15),a=n(10),s=n(3)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(4),i=n(0),o=n(2),a=n(67),s=n(70);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){"use strict";var r=n(4),i=n(48),o=n(69);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){"use strict";var r=n(142),i=n(72),o=n(51),a=Object.prototype.hasOwnProperty,s={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},c=Array.isArray,u=String.prototype.split,l=Array.prototype.push,h=function(t,e){l.apply(t,c(e)?e:[e])},f=Date.prototype.toISOString,d=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},m={},g=function t(e,n,o,a,s,l,f,d,g,v,y,_,x,b,w){for(var M,S=e,A=w,C=0,E=!1;void 0!==(A=A.get(m))&&!E;){var T=A.get(e);if(C+=1,void 0!==T){if(T===C)throw new RangeError("Cyclic object value");E=!0}void 0===A.get(m)&&(C=0)}if("function"==typeof f?S=f(n,S):S instanceof Date?S=v(S):"comma"===o&&c(S)&&(S=i.maybeMap(S,(function(t){return t instanceof Date?v(t):t}))),null===S){if(a)return l&&!x?l(n,p.encoder,b,"key",y):n;S=""}if("string"==typeof(M=S)||"number"==typeof M||"boolean"==typeof M||"symbol"==typeof M||"bigint"==typeof M||i.isBuffer(S)){if(l){var I=x?n:l(n,p.encoder,b,"key",y);if("comma"===o&&x){for(var L=u.call(String(S),","),P="",R=0;R<L.length;++R)P+=(0===R?"":",")+_(l(L[R],p.encoder,b,"value",y));return[_(I)+"="+P]}return[_(I)+"="+_(l(S,p.encoder,b,"value",y))]}return[_(n)+"="+_(String(S))]}var O,k=[];if(void 0===S)return k;if("comma"===o&&c(S))O=[{value:S.length>0?S.join(",")||null:void 0}];else if(c(f))O=f;else{var B=Object.keys(S);O=d?B.sort(d):B}for(var D=0;D<O.length;++D){var F=O[D],U="object"==typeof F&&void 0!==F.value?F.value:S[F];if(!s||null!==U){var j=c(S)?"function"==typeof o?o(n,F):n:n+(g?"."+F:"["+F+"]");w.set(e,C);var N=r();N.set(m,w),h(k,t(U,j,o,a,s,l,f,d,g,v,y,_,x,b,N))}}return k};t.exports=function(t,e){var n,i=t,u=function(t){if(!t)return p;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||p.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==t.format){if(!a.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=o.formatters[n],i=p.filter;return("function"==typeof t.filter||c(t.filter))&&(i=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===t.allowDots?p.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:p.charsetSentinel,delimiter:void 0===t.delimiter?p.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:p.encode,encoder:"function"==typeof t.encoder?t.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:p.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:p.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:p.strictNullHandling}}(e);"function"==typeof u.filter?i=(0,u.filter)("",i):c(u.filter)&&(n=u.filter);var l,f=[];if("object"!=typeof i||null===i)return"";l=e&&e.arrayFormat in s?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var d=s[l];n||(n=Object.keys(i)),u.sort&&n.sort(u.sort);for(var m=r(),v=0;v<n.length;++v){var y=n[v];u.skipNulls&&null===i[y]||h(f,g(i[y],y,d,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,m))}var _=f.join(u.delimiter),x=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?x+="utf8=%26%2310003%3B&":x+="utf8=%E2%9C%93&"),_.length>0?x+_:""}},function(t,e,n){"use strict";var r=n(49),i=n(147),o=n(149),a=r("%TypeError%"),s=r("%WeakMap%",!0),c=r("%Map%",!0),u=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),f=i("Map.prototype.get",!0),d=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),m=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new a("Side channel does not contain "+o(t))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return u(t,r)}else if(c){if(e)return f(e,r)}else if(n)return function(t,e){var n=m(t,e);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return h(t,r)}else if(c){if(e)return p(e,r)}else if(n)return function(t,e){return!!m(t,e)}(n,r);return!1},set:function(r,i){s&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new s),l(t,r,i)):c?(e||(e=new c),d(e,r,i)):(n||(n={key:{},next:null}),function(t,e,n){var r=m(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(n,r,i))}};return r}},function(t,e,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(144);t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},function(t,e,n){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},function(t,e,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==o.call(e))throw new TypeError(r+e);for(var n,a=i.call(arguments,1),s=function(){if(this instanceof n){var r=e.apply(this,a.concat(i.call(arguments)));return Object(r)===r?r:this}return e.apply(t,a.concat(i.call(arguments)))},c=Math.max(0,e.length-a.length),u=[],l=0;l<c;l++)u.push("$"+l);if(n=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(s),e.prototype){var h=function(){};h.prototype=e.prototype,n.prototype=new h,h.prototype=null}return n}},function(t,e,n){"use strict";var r=n(50);t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(t,e,n){"use strict";var r=n(49),i=n(148),o=i(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"==typeof n&&o(t,".prototype.")>-1?i(n):n}},function(t,e,n){"use strict";var r=n(50),i=n(49),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),c=i("%Object.getOwnPropertyDescriptor%",!0),u=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=s(r,a,arguments);if(c&&u){var n=c(e,"length");n.configurable&&u(e,"length",{value:1+l(0,t.length-(arguments.length-1))})}return e};var h=function(){return s(r,o,arguments)};u?u(t.exports,"apply",{value:h}):t.exports.apply=h},function(t,e,n){var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&c&&"function"==typeof c.get?c.get:null,l=s&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,v=String.prototype.match,y=String.prototype.slice,_=String.prototype.replace,x=String.prototype.toUpperCase,b=String.prototype.toLowerCase,w=RegExp.prototype.test,M=Array.prototype.concat,S=Array.prototype.join,A=Array.prototype.slice,C=Math.floor,E="function"==typeof BigInt?BigInt.prototype.valueOf:null,T=Object.getOwnPropertySymbols,I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,L="function"==typeof Symbol&&"object"==typeof Symbol.iterator,P="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===L||"symbol")?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function k(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||w.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var r=t<0?-C(-t):C(t);if(r!==t){var i=String(r),o=y.call(e,i.length+1);return _.call(i,n,"$&_")+"."+_.call(_.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(e,n,"$&_")}var B=n(150).custom,D=B&&N(B)?B:null;function F(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function U(t){return _.call(String(t),/"/g,""")}function j(t){return!("[object Array]"!==H(t)||P&&"object"==typeof t&&P in t)}function N(t){if(L)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!I)return!1;try{return I.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,r,i){var s=n||{};if(z(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(z(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!z(s,"customInspect")||s.customInspect;if("boolean"!=typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(z(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(z(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,n){if(e.length>n.maxStringLength){var r=e.length-n.maxStringLength,i="... "+r+" more character"+(r>1?"s":"");return t(y.call(e,0,n.maxStringLength),n)+i}return F(_.call(_.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,V),"single",n)}(e,s);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var x=String(e);return m?k(e,x):x}if("bigint"==typeof e){var w=String(e)+"n";return m?k(e,w):w}var C=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=C&&C>0&&"object"==typeof e)return j(e)?"[Array]":"[Object]";var T=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=S.call(Array(t.indent+1)," ")}return{base:n,prev:S.call(Array(e+1),n)}}(s,r);if(void 0===i)i=[];else if(W(i,e)>=0)return"[Circular]";function B(e,n,o){if(n&&(i=A.call(i)).push(n),o){var a={depth:s.depth};return z(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),t(e,a,r+1,i)}return t(e,s,r+1,i)}if("function"==typeof e){var G=function(t){if(t.name)return t.name;var e=v.call(g.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),q=J(e,B);return"[Function"+(G?": "+G:" (anonymous)")+"]"+(q.length>0?" { "+S.call(q,", ")+" }":"")}if(N(e)){var K=L?_.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(e);return"object"!=typeof e||L?K:Z(K)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var $="<"+b.call(String(e.nodeName)),tt=e.attributes||[],et=0;et<tt.length;et++)$+=" "+tt[et].name+"="+F(U(tt[et].value),"double",s);return $+=">",e.childNodes&&e.childNodes.length&&($+="..."),$+="</"+b.call(String(e.nodeName))+">"}if(j(e)){if(0===e.length)return"[]";var nt=J(e,B);return T&&!function(t){for(var e=0;e<t.length;e++)if(W(t[e],"\n")>=0)return!1;return!0}(nt)?"["+Y(nt,T)+"]":"[ "+S.call(nt,", ")+" ]"}if(function(t){return!("[object Error]"!==H(t)||P&&"object"==typeof t&&P in t)}(e)){var rt=J(e,B);return"cause"in e&&!R.call(e,"cause")?"{ ["+String(e)+"] "+S.call(M.call("[cause]: "+B(e.cause),rt),", ")+" }":0===rt.length?"["+String(e)+"]":"{ ["+String(e)+"] "+S.call(rt,", ")+" }"}if("object"==typeof e&&c){if(D&&"function"==typeof e[D])return e[D]();if("symbol"!==c&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{u.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var it=[];return a.call(e,(function(t,n){it.push(B(n,e,!0)+" => "+B(t,e))})),X("Map",o.call(e),it,T)}if(function(t){if(!u||!t||"object"!=typeof t)return!1;try{u.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var ot=[];return l.call(e,(function(t){ot.push(B(t,e))})),X("Set",u.call(e),ot,T)}if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return Q("WeakMap");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return Q("WeakSet");if(function(t){if(!d||!t||"object"!=typeof t)return!1;try{return d.call(t),!0}catch(t){}return!1}(e))return Q("WeakRef");if(function(t){return!("[object Number]"!==H(t)||P&&"object"==typeof t&&P in t)}(e))return Z(B(Number(e)));if(function(t){if(!t||"object"!=typeof t||!E)return!1;try{return E.call(t),!0}catch(t){}return!1}(e))return Z(B(E.call(e)));if(function(t){return!("[object Boolean]"!==H(t)||P&&"object"==typeof t&&P in t)}(e))return Z(p.call(e));if(function(t){return!("[object String]"!==H(t)||P&&"object"==typeof t&&P in t)}(e))return Z(B(String(e)));if(!function(t){return!("[object Date]"!==H(t)||P&&"object"==typeof t&&P in t)}(e)&&!function(t){return!("[object RegExp]"!==H(t)||P&&"object"==typeof t&&P in t)}(e)){var at=J(e,B),st=O?O(e)===Object.prototype:e instanceof Object||e.constructor===Object,ct=e instanceof Object?"":"null prototype",ut=!st&&P&&Object(e)===e&&P in e?y.call(H(e),8,-1):ct?"Object":"",lt=(st||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(ut||ct?"["+S.call(M.call([],ut||[],ct||[]),": ")+"] ":"");return 0===at.length?lt+"{}":T?lt+"{"+Y(at,T)+"}":lt+"{ "+S.call(at,", ")+" }"}return String(e)};var G=Object.prototype.hasOwnProperty||function(t){return t in this};function z(t,e){return G.call(t,e)}function H(t){return m.call(t)}function W(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function V(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+x.call(e.toString(16))}function Z(t){return"Object("+t+")"}function Q(t){return t+" { ? }"}function X(t,e,n,r){return t+" ("+e+") {"+(r?Y(n,r):S.call(n,", "))+"}"}function Y(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+S.call(t,","+n)+"\n"+e.prev}function J(t,e){var n=j(t),r=[];if(n){r.length=t.length;for(var i=0;i<t.length;i++)r[i]=z(t,i)?e(t[i],t):""}var o,a="function"==typeof T?T(t):[];if(L){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var c in t)z(t,c)&&(n&&String(Number(c))===c&&c<t.length||L&&o["$"+c]instanceof Symbol||(w.call(/[^\w$]/,c)?r.push(e(c,t)+": "+e(t[c],t)):r.push(c+": "+e(t[c],t))));if("function"==typeof T)for(var u=0;u<a.length;u++)R.call(t,a[u])&&r.push("["+e(a[u])+"]: "+e(t[a[u]],t));return r}},function(t,e){},function(t,e,n){"use strict";var r=n(72),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,n,r){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),u=s?o.slice(0,s.index):o,l=[];if(u){if(!n.plainObjects&&i.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var h=0;n.depth>0&&null!==(s=a.exec(o))&&h<n.depth;){if(h+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+o.slice(s.index)+"]"),function(t,e,n,r){for(var i=r?e:c(e,n),o=t.length-1;o>=0;--o){var a,s=t[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=i:"__proto__"!==u&&(a[u]=i):a={0:i}}i=a}return i}(l,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof t?function(t,e){var n,u={},l=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,h=e.parameterLimit===1/0?void 0:e.parameterLimit,f=l.split(e.delimiter,h),d=-1,p=e.charset;if(e.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?p="utf-8":"utf8=%26%2310003%3B"===f[n]&&(p="iso-8859-1"),d=n,n=f.length);for(n=0;n<f.length;++n)if(n!==d){var m,g,v=f[n],y=v.indexOf("]="),_=-1===y?v.indexOf("="):y+1;-1===_?(m=e.decoder(v,a.decoder,p,"key"),g=e.strictNullHandling?null:""):(m=e.decoder(v.slice(0,_),a.decoder,p,"key"),g=r.maybeMap(c(v.slice(_+1),e),(function(t){return e.decoder(t,a.decoder,p,"value")}))),g&&e.interpretNumericEntities&&"iso-8859-1"===p&&(g=s(g)),v.indexOf("[]=")>-1&&(g=o(g)?[g]:g),i.call(u,m)?u[m]=r.combine(u[m],g):u[m]=g}return u}(t,n):t,h=n.plainObjects?Object.create(null):{},f=Object.keys(l),d=0;d<f.length;++d){var p=f[d],m=u(p,l[p],n,"string"==typeof t);h=r.merge(h,m,n)}return!0===n.allowSparse?h:r.compact(h)}},function(t,e,n){t.exports=[n(75),n(153),n(154),n(76),n(77),n(155)]},function(t,e,n){var r=n(17).Global;t.exports={name:"oldFF-globalStorage",read:function(t){return i[t]},write:function(t,e){i[t]=e},each:o,remove:function(t){return i.removeItem(t)},clearAll:function(){o((function(t,e){delete i[t]}))}};var i=r.globalStorage;function o(t){for(var e=i.length-1;e>=0;e--){var n=i.key(e);t(i[n],n)}}},function(t,e,n){var r=n(17).Global;t.exports={name:"oldIE-userDataStorage",write:function(t,e){if(a)return;var n=c(t);o((function(t){t.setAttribute(n,e),t.save("storejs")}))},read:function(t){if(a)return;var e=c(t),n=null;return o((function(t){n=t.getAttribute(e)})),n},each:function(t){o((function(e){for(var n=e.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var i=n[r];t(e.getAttribute(i.name),i.name)}}))},remove:function(t){var e=c(t);o((function(t){t.removeAttribute(e),t.save("storejs")}))},clearAll:function(){o((function(t){var e=t.XMLDocument.documentElement.attributes;t.load("storejs");for(var n=e.length-1;n>=0;n--)t.removeAttribute(e[n].name);t.save("storejs")}))}};var i=r.document,o=function(){if(!i||!i.documentElement||!i.documentElement.addBehavior)return null;var t,e,n;try{(e=new ActiveXObject("htmlfile")).open(),e.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),e.close(),t=e.w.frames[0].document,n=t.createElement("div")}catch(e){n=i.createElement("div"),t=i.body}return function(e){var r=[].slice.call(arguments,0);r.unshift(n),t.appendChild(n),n.addBehavior("#default#userData"),n.load("storejs"),e.apply(this,r),t.removeChild(n)}}(),a=(r.navigator?r.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);var s=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(t){return t.replace(/^\d/,"___$&").replace(s,"___")}},function(t,e){t.exports={name:"memoryStorage",read:function(t){return n[t]},write:function(t,e){n[t]=e},each:function(t){for(var e in n)n.hasOwnProperty(e)&&t(n[e],e)},remove:function(t){delete n[t]},clearAll:function(t){n={}}};var n={}},function(t,e,n){t.exports=function(){return n(157),{}}},function(module,exports){"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(t){return t<10?"0"+t:t}function this_value(){return this.valueOf()}function quote(t){return rx_escapable.lastIndex=0,rx_escapable.test(t)?'"'+t.replace(rx_escapable,(function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+t+'"'}function str(t,e){var n,r,i,o,a,s=gap,c=e[t];switch(c&&"object"==typeof c&&"function"==typeof c.toJSON&&(c=c.toJSON(t)),"function"==typeof rep&&(c=rep.call(e,t,c)),typeof c){case"string":return quote(c);case"number":return isFinite(c)?String(c):"null";case"boolean":case"null":return String(c);case"object":if(!c)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(c)){for(o=c.length,n=0;n<o;n+=1)a[n]=str(n,c)||"null";return i=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,i}if(rep&&"object"==typeof rep)for(o=rep.length,n=0;n<o;n+=1)"string"==typeof rep[n]&&(i=str(r=rep[n],c))&&a.push(quote(r)+(gap?": ":":")+i);else for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(i=str(r,c))&&a.push(quote(r)+(gap?": ":":")+i);return i=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,i}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(t,e,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(t,e){var n,r,i=t[e];if(i&&"object"==typeof i)for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(void 0!==(r=walk(i,n))?i[n]=r:delete i[n]);return reviver.call(t,e,i)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},function(t,e){t.exports=function(){var t=this.createStore(this.storage,null,this._namespacePrefix+"expire_mixin");return{set:function(e,n,r,i){this.hasNamespace("expire_mixin")||t.set(n,i);return e()},get:function(t,n){this.hasNamespace("expire_mixin")||e.call(this,n);return t()},remove:function(e,n){this.hasNamespace("expire_mixin")||t.remove(n);return e()},getExpiration:function(e,n){return t.get(n)},removeExpiredKeys:function(t){var n=[];this.each((function(t,e){n.push(e)}));for(var r=0;r<n.length;r++)e.call(this,n[r])}};function e(e){t.get(e,Number.MAX_VALUE)<=(new Date).getTime()&&(this.raw.remove(e),t.remove(e))}}},function(t,e,n){"use strict";var r=n(1),i=n(80),o=n(160),a=n(87);function s(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var c=s(n(52));c.Axios=o,c.create=function(t){return s(a(c.defaults,t))},c.Cancel=n(88),c.CancelToken=n(174),c.isCancel=n(86),c.all=function(t){return Promise.all(t)},c.spread=n(175),c.isAxiosError=n(176),t.exports=c,t.exports.default=c},function(t,e,n){"use strict";var r=n(1),i=n(81),o=n(161),a=n(162),s=n(87),c=n(172),u=c.validators;function l(t){this.defaults=t,this.interceptors={request:new o,response:new o}}l.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!r){var l=[a,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(o),i=Promise.resolve(t);l.length;)i=i.then(l.shift(),l.shift());return i}for(var h=t;n.length;){var f=n.shift(),d=n.shift();try{h=f(h)}catch(t){d(t);break}}try{i=a(h)}catch(t){return Promise.reject(t)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},l.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=l},function(t,e,n){"use strict";var r=n(1);function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},function(t,e,n){"use strict";var r=n(1),i=n(163),o=n(86),a=n(52);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return s(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(1),i=n(52);t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(85);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";var r=n(1);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(168),i=n(169);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(1),i=["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"];t.exports=function(t){var e,n,o,a={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){"use strict";var r=n(1);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(173),i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={},a=r.version.split(".");function s(t,e){for(var n=e?e.split("."):a,r=t.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]<r[i])return!1}return!1}i.transitional=function(t,e,n){var i=e&&s(e);function a(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new Error(a(r," has been removed in "+e));return i&&!o[r]&&(o[r]=!0,console.warn(a(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={isOlderVersion:s,assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),i=r.length;i-- >0;){var o=r[i],a=e[o];if(a){var s=t[o],c=void 0===s||a(s,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},function(t){t.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"__npminstall_done":true,"_from":"axios@0.21.4","_resolved":"https://registry.npmmirror.com/axios/download/axios-0.21.4.tgz"}')},function(t,e,n){"use strict";var r=n(88);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerPermission=void 0;var r=d(n(30)),i=d(n(11)),o=d(n(31)),a=n(13),s=n(7),c=d(n(178));n(179);var u=n(6),l=n(181),h=n(34),f=d(n(20));function d(t){return t&&t.__esModule?t:{default:t}}e.registerPermission=function(t,e){var n,d=t.routerInstance,m=t.storeInstance,g=t.basicOptions;d.beforeEach((n=(0,o.default)(r.default.mark((function t(n,o,v){var y,_,x,b,w,M,S;return r.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c.default.start(),n.meta.title&&(y=s.sessionStore.get("SYS_PROJECT_NAME"),document.title=n.meta.title+(y?"-"+y:"")),!s.localStore.get("access_token")){t.next=15;break}if(!m.state.user.addRouters.length){t.next=8;break}p(n,v),t.next=13;break;case 8:return t.next=10,m.dispatch("user/GetUserInfo",{loadAuth:!0,sysCode:s.sessionStore.get("CLIENT_ID")});case 10:_=t.sent,(0,l.setAsyncRoutes)(d,m,_,e,g),v({path:n.fullPath,replace:!0});case 13:t.next=17;break;case 15:x=(0,h.getUrlParam)("code"),(0,u.isEmpty)(x)?(b=(0,h.getUrlParam)("oauthType"),w={responseType:s.localStore.get("code")||"code",clientId:s.sessionStore.get("CLIENT_ID"),redirectUri:window.origin,scope:"all",state:"hello"},b?(s.localStore.set("IAM_OATH_TYPE",b),w=(0,i.default)(w,{oauthType:b}),window.open(s.sessionStore.get("IAM_BASE_URL")+"/iam/v1/sys/oauth/authorize?"+f.default.stringify(w),"_self")):window.open(s.sessionStore.get("IAM_BASE_URL")+"/iam/v1/sys/oauth/authorize?"+f.default.stringify(w),"_self")):(M={code:x,grantType:"authorization_code",redirectUri:window.origin,sysCode:s.sessionStore.get("CLIENT_ID"),sysSecret:s.sessionStore.get("SYS_SECRET")},(S=s.localStore.get("IAM_OATH_TYPE"))&&(M=(0,i.default)(M,{oauthType:S})),(0,a.getToken)(M).then((function(t){if(t.data){var e=t.data,r=e.access_token,i=e.refresh_token;if(s.localStore.set("access_token",r),s.localStore.set("refresh_token",i),S){var o=t.data,a=o.idp_access_token,c=o.idp_refresh_token;s.localStore.set("idp_access_token",a),s.localStore.set("idp_refresh_token",c)}s.localStore.set("code",x),v({path:n.fullPath,replace:!0})}})));case 17:case"end":return t.stop()}}),t,void 0)}))),function(t,e,r){return n.apply(this,arguments)})),d.afterEach((function(t){c.default.done()}))};var p=function(t,e){var n=s.localStore.get("test_project");n?t.query.shopId?e():e({path:t.path,query:(0,i.default)({},t.query,{shopId:n.shopId,noLogin:!0,flag:n.flag})}):e()}},function(t,e,n){var r,i;
|
|
124
124
|
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
125
125
|
* @license MIT */void 0===(i="function"==typeof(r=function(){var t,e,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function i(t,e,n){return t<e?e:t>n?n:t}function o(t){return 100*(-1+t)}n.configure=function(t){var e,n;for(e in t)void 0!==(n=t[e])&&t.hasOwnProperty(e)&&(r[e]=n);return this},n.status=null,n.set=function(t){var e=n.isStarted();t=i(t,r.minimum,1),n.status=1===t?null:t;var c=n.render(!e),u=c.querySelector(r.barSelector),l=r.speed,h=r.easing;return c.offsetWidth,a((function(e){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,function(t,e,n){var i;return(i="translate3d"===r.positionUsing?{transform:"translate3d("+o(t)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(t)+"%,0)"}:{"margin-left":o(t)+"%"}).transition="all "+e+"ms "+n,i}(t,l,h)),1===t?(s(c,{transition:"none",opacity:1}),c.offsetWidth,setTimeout((function(){s(c,{transition:"all "+l+"ms linear",opacity:0}),setTimeout((function(){n.remove(),e()}),l)}),l)):setTimeout(e,l)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var t=function(){setTimeout((function(){n.status&&(n.trickle(),t())}),r.trickleSpeed)};return r.trickle&&t(),this},n.done=function(t){return t||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(t){var e=n.status;return e?("number"!=typeof t&&(t=(1-e)*i(Math.random()*e,.1,.95)),e=i(e+t,0,.994),n.set(e)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},t=0,e=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===e&&n.start(),t++,e++,r.always((function(){0==--e?(t=0,n.done()):n.set((t-e)/t)})),this):this},n.render=function(t){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=r.template;var i,a=e.querySelector(r.barSelector),c=t?"-100":o(n.status||0),l=document.querySelector(r.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),r.showSpinner||(i=e.querySelector(r.spinnerSelector))&&f(i),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(e),e},n.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(r.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&f(t)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var a=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),s=function(){var t=["Webkit","O","Moz","ms"],e={};function n(n){return n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()})),e[n]||(e[n]=function(e){var n=document.body.style;if(e in n)return e;for(var r,i=t.length,o=e.charAt(0).toUpperCase()+e.slice(1);i--;)if((r=t[i]+o)in n)return r;return e}(n))}function r(t,e,r){e=n(e),t.style[e]=r}return function(t,e){var n,i,o=arguments;if(2==o.length)for(n in e)void 0!==(i=e[n])&&e.hasOwnProperty(n)&&r(t,n,i);else r(t,o[1],o[2])}}();function c(t,e){return("string"==typeof t?t:h(t)).indexOf(" "+e+" ")>=0}function u(t,e){var n=h(t),r=n+e;c(n,e)||(t.className=r.substring(1))}function l(t,e){var n,r=h(t);c(t,e)&&(n=r.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function h(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function f(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return n})?r.call(e,n,e,t):r)||(t.exports=i)},function(t,e,n){(e=n(180)(!1)).push([t.i,"/* Make clicks pass-through */\n#nprogress {\n pointer-events: none;\n}\n\n#nprogress .bar {\n background: #29d;\n\n position: fixed;\n z-index: 1031;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 2px;\n}\n\n/* Fancy blur effect */\n#nprogress .peg {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px #29d, 0 0 5px #29d;\n opacity: 1.0;\n\n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n}\n\n/* Remove these to get rid of the spinner */\n#nprogress .spinner {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n}\n\n#nprogress .spinner-icon {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n\n border: solid 2px transparent;\n border-top-color: #29d;\n border-left-color: #29d;\n border-radius: 50%;\n\n -webkit-animation: nprogress-spinner 400ms linear infinite;\n animation: nprogress-spinner 400ms linear infinite;\n}\n\n.nprogress-custom-parent {\n overflow: hidden;\n position: relative;\n}\n\n.nprogress-custom-parent #nprogress .spinner,\n.nprogress-custom-parent #nprogress .bar {\n position: absolute;\n}\n\n@-webkit-keyframes nprogress-spinner {\n 0% { -webkit-transform: rotate(0deg); }\n 100% { -webkit-transform: rotate(360deg); }\n}\n@keyframes nprogress-spinner {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}\n\n",""]),t.exports=e},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(c," */")),o=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(o).concat([i]).join("\n")}var a,s,c;return[n].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<t.length;s++){var c=[].concat(t[s]);r&&i[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setAsyncRoutes=e.getAsyncRoutes=void 0;c(n(33));var r=c(n(11)),i=n(34),o=c(n(200)),a=n(6),s=c(n(222));function c(t){return t&&t.__esModule?t:{default:t}}var u=e.getAsyncRoutes=function t(e,n,s,c,u){return e.map((function(e){var l={path:e.data.path,name:e.data.id,meta:(0,r.default)({require:!0,title:e.data.name,groupName:n?n.name:null},e.data),type:e.data.type};if((0,a.isEmpty)(e.data.layout)?1!==e.data.type&&3!==e.data.type||2===e.data.chainType||1===e.data.chainType||(l.component=u.loadView?u.loadView(e.data.path):(0,i.loadView)(e.data.path,u.routerPathPrefix,u.routerContext)):l.component=o.default[e.data.layout],l.props={router:s,store:c},l.path.startsWith("http")||(l.path=l.path.replace("//","/")),e.children&&e.children.length){var h=e.children.findIndex((function(t){return 1===t.data.type}));h>-1&&(l.redirect=""+e.children[h].data.path),l.children=t(e.children,l,s,c,u)}return l}))};e.setAsyncRoutes=function(t,e,n,r,c){var l=function(t){var e=new s.default;!function t(n,r){n.forEach((function(n){e.add(n,r,e.traverseBF),n.childMenuList&&t(n.childMenuList,n)}))}(t);return function t(n,r){n.forEach((function(n){n.subType&&!(0,a.isEmpty)(n.subType)&&(e.remove(n,r,e.traverseBF),e.traverseDF((function(t){t.data.id===r.parentId&&e.add(n,t.data,e.traverseBF)}))),n.childMenuList&&t(n.childMenuList,n)}))}(t),e}(function t(e,n){return e.filter((function(e){return!!e.path&&(e.keys=n+1,e.childMenuList&&(e.childMenuList=t(e.childMenuList,e.keys)),!0)}))}(n,0))._root;if("BlankLayout"===l.data.layout&&l.children.length&&l.children.length>0){var h=l.children.map((function(n){var r=u([n],null,t,e,c)[0];return{path:r.path,redirect:r.children[0].path,children:r.children,component:r.component?r.component:o.default.BlankLayout,props:{router:t,store:e}}})),f=[{path:"/",redirect:h[0].path,children:h,component:o.default.BlankLayout,props:{router:t,store:e}}];t.addRoutes([].concat(f,[i.notFoundRouter])),e.commit("user/SET_ROUTERS",[f[0].children[0]]),e.commit("user/SET_APP_ROUTERS",f)}else{var d=u(l.children,null,t,e,c),p=[{path:"/",redirect:d[0].path,children:d,component:l.data.layout&&o.default[l.data.layout]?o.default[l.data.layout]:o.default.BlankLayout,props:{router:t,store:e}}];t.addRoutes([].concat(p,[i.notFoundRouter])),e.commit("user/SET_ROUTERS",p),e.commit("user/SET_APP_ROUTERS",p)}return t}},function(t,e,n){n(45),n(32),t.exports=n(183)},function(t,e,n){var r=n(9),i=n(47);t.exports=n(0).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e,n){t.exports={default:n(185),__esModule:!0}},function(t,e,n){n(186),t.exports=n(0).Object.entries},function(t,e,n){var r=n(4),i=n(89)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,e,n){"use strict";e.__esModule=!0;var r=o(n(188)),i=o(n(33));function o(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e){if(Array.isArray(t))return t;if((0,r.default)(Object(t)))return function(t,e){var n=[],r=!0,o=!1,a=void 0;try{for(var s,c=(0,i.default)(t);!(r=(s=c.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){o=!0,a=t}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(t,e,n){t.exports={default:n(189),__esModule:!0}},function(t,e,n){n(45),n(32),t.exports=n(190)},function(t,e,n){var r=n(46),i=n(3)("iterator"),o=n(16);t.exports=n(0).isIterable=function(t){var e=Object(t);return void 0!==e[i]||"@@iterator"in e||o.hasOwnProperty(r(e))}},function(t,e,n){var r=n(192),i=n(197),o=n(199),a=Function.prototype,s=Object.prototype,c=a.toString,u=s.hasOwnProperty,l=c.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},function(t,e,n){var r=n(90),i=n(195),o=n(196),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},function(t,e,n){var r=n(194),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(12))},function(t,e,n){var r=n(90),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e,n){var r=n(198)(Object.getPrototypeOf,Object);t.exports=r},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=h(n(201)),i=h(n(215)),o=h(n(216)),a=h(n(217)),s=h(n(218)),c=h(n(220)),u=h(n(221)),l=h(n(35));function h(t){return t&&t.__esModule?t:{default:t}}e.default={MapNavLayout:r.default,BasicLayout:i.default,MapWrapper:o.default,NoSidebarWrapper:a.default,SidebarWrapper:s.default,AdminLayout:c.default,FullHeaderLayout:u.default,BlankLayout:l.default}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=c(n(8)),i=n(5),o=c(n(91)),a=c(n(54)),s=n(55);c(s);function c(t){return t&&t.__esModule?t:{default:t}}e.default={name:"MapNavLayout",inject:["slotsList","propsList","instance"],components:{GMap:s.GMap},computed:{nav:function(){return this.$store.state.user.addRouters},appRouter:function(){return this.$store.state.user.appRouters}},data:function(){return{isLoaded:!1}},methods:{mapLoad:function(t){t&&(this.isLoaded=!0),a.default.$emit("loadMap",t)},changeLayout:function(){var t=this.$route.matched;t[1]&&"MapNavLayout"===t[1].components.default.name&&this.$store.commit("user/SET_ROUTERS",[this.appRouter[0].children[0]])}},created:function(){this.changeLayout()},updated:function(){var t=this;this.$nextTick((function(){t.$store.commit("user/SET_TIME_STAMP",{type:"map",timeStamp:""+(new Date).getTime()})}))},render:function(){var t=this,e=arguments[0],n=(0,r.default)([i.prefixCls+"-layout-light",i.prefixCls+"-basic-layout"]),a=function(){return t.propsList.needMap?[t.propsList.keep?e("keep-alive",[e(s.GMap,{on:{load:t.mapLoad}})]):e(s.GMap,{on:{load:t.mapLoad}}),t.isLoaded?e("router-view",{attrs:{theme:"dark",fixed:!0},ref:"$$coreContent",class:i.prefixCls+"-layout-content"}):null]:e("router-view",{attrs:{theme:"dark",fixed:!0},ref:"$$coreContent",class:i.prefixCls+"-layout-content"})};return e("a-layout",{class:n},[e(o.default,{attrs:{theme:"dark",fixed:!0,"nav-list":this.nav[0].children}}),e("a-layout-content",[this.slotsList.content?this.slotsList.content:null,a()])])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=h(n(11)),o=h(n(30)),a=h(n(31)),s=h(n(203)),c=n(13),u=n(7),l=h(n(8));function h(t){return t&&t.__esModule?t:{default:t}}e.default={name:"HeaderExtend",data:function(){return{projectList:[]}},computed:{currentCode:function(){return u.sessionStore.get("CLIENT_ID")},theme:function(){return this.$store.state.common.theme}},mounted:function(){this.getProject()},methods:{getProject:(r=(0,a.default)(o.default.mark((function t(){var e,n,r=this;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,c.getByCuser)();case 2:e=t.sent,(n=e.data).forEach((function(t,e){r.currentCode===t.code&&n.unshift(n.splice(e,1)[0])})),this.projectList=n;case 6:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)}),goToPage:function(t){var e=u.localStore.get("IAM_OATH_TYPE");if(t.domain)if(t.domain.indexOf("http")>-1||t.domain.indexOf("https")>-1){var n={redirectUri:t.domain,clientId:t.code,scope:"all",state:"hello"};e&&(n=(0,i.default)(n,{oauthType:e})),(0,c.iamRedirect)(n).then((function(t){0===t.code&&window.open(t.data,"_self")}))}else this.$router.push(t.domain)}},render:function(){var t=this,e=arguments[0],n=this.projectList.length?this.projectList.map((function(n){var r=(0,l.default)(["header-extend-content-footer-item",t.currentCode===n.code?"header-extend-content-footer-item-active":""]);return e("div",{class:r,on:{click:function(){return t.goToPage(n)}}},[n.icon?e("img",{attrs:{src:n.icon,alt:""}}):e("a-avatar",{slot:"avatar"}),e("span",[n.name])])})):e("div",{class:"header-extend-content-footer-item"},[e("a-skeleton",{attrs:{avatar:!0,active:!0,paragraph:{rows:0}}})]);return e("div",{class:"header-extend"},[e("a-popover",{attrs:{trigger:"hover",placement:"bottomRight",overlayClassName:"header-extend-popover app-dropdown-"+this.theme}},[e("div",{class:"header-extend-content",slot:"content"},[e("div",{class:"header-extend-content-header"},[e("img",{attrs:{src:s.default,alt:""}}),e("div",{class:"header-extend-content-header-title"},[e("span",["智慧环保"]),e("span",["creative"])])]),e("div",{class:"header-extend-content-footer"},[e("a-scrollbar",[e("div",{class:"header-extend-content-footer-inner"},[n])])])]),e("div",{class:"header-extend-inner"},[e("a-icon",{attrs:{type:"caret-down"}})])])])}}},function(t,e,n){"use strict";n.r(e),e.default=n.p+"logo-icon.webp"},function(t,e,n){t.exports={default:n(205),__esModule:!0}},function(t,e,n){n(206),t.exports=n(0).Object.values},function(t,e,n){var r=n(4),i=n(89)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"WindIcon",render:function(){var t=arguments[0];return t("svg",{attrs:{t:"1631762801140",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11652",width:"200",height:"200"},class:"rk-web-core-normal-icon"},[t("path",{attrs:{d:"M534.272 236.544a32 32 0 0 0-58.848 0L263.84 727.872a32 32 0 0 0 41.536 42.144l200-82.368 195.584 84.064a32 32 0 0 0 42.08-41.856z","p-id":"11653"}})])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(209)),i=a(n(28)),o=a(n(29));function a(t){return t&&t.__esModule?t:{default:t}}var s=new(function(){function t(){(0,i.default)(this,t),this.c=Math.min,this.h=r.default,this.m=Math.max,this.n=Math.abs,this.j=.85,this.k=10,this.l=4,this.opt={},this.opt.currentIndex=1}return(0,o.default)(t,[{key:"calcAVGSpeed",value:function(t){var e=(this.l*this.j*t+this.k*(1-this.j)*t)/(this.k*this.l*20);return e=this.m(this.n(e),2.5)*this.h(e)}},{key:"getCurSpeed",value:function(t,e){return this.n(t)>this.n(this.j*e)?this.l*this.opt.avgSpeed:this.k*this.opt.avgSpeed}},{key:"_calCurve",value:function(t,e,n,r,i,o){i.bezierCurveTo(t+o,e,n-o,r,n,r)}},{key:"_initCanvas",value:function(t,e,n){var r=window.devicePixelRatio,i=t.getContext("2d");t.width=e*r,t.height=n*r,t.style.width=e+"px",t.style.height=n+"px",i.scale(r,r)}},{key:"resize",value:function(){this.opt.timer&&cancelAnimationFrame(this.opt.timer),this._initCanvas(this.opt.canvas,this.opt.width,this.opt.height),this.draw(0)}},{key:"_toggle",value:function(t){return void 0!==t&&t!==this.opt.currentIndex&&this.opt.tabWidthList&&this.opt,this.opt.tabWidthList&&this.opt.tabWidthList.length&&(!this.opt.animating||t!==this.opt.nextIndex)&&(this.opt.animating=!0,this.opt.distance=this.opt.tabWidthList[t]-this.opt.tabWidthList[this.opt.currentIndex],this.opt.avgSpeed=this.calcAVGSpeed(this.opt.distance),this.opt.curDisX=0,this.opt.nextIndex=t),!1}},{key:"_createPattern",value:function(t){var e=document.createElement("canvas");e.width=140,e.height=63,e.style.width="140px",e.style.height="63px";var n=e.getContext("2d");n.scale(1,1),n.lineWidth=.4;for(var r=.8,i=1;30>i;i++)n.strokeStyle="RGBA(22, 120, 160, "+r+")",n.beginPath(),n.moveTo(0,3*i),n.lineTo(140,3*i),n.stroke(),n.closePath(),10<i&&(r-=.1);var o=t.getContext("2d").createPattern(e,"repeat-x");this.opt.pattern=o,e=null}},{key:"_drawHightlight",value:function(t){var e=this.opt.canvas.getContext("2d");e.clearRect(0,0,2*this.opt.width,2*this.opt.height),e.shadowColor="rgba(0, 193, 220, 1)",e.shadowBlur=5,e.strokeStyle="#004CB3",e.lineWidth=.8,e.fillStyle="none",this._draw(e,!1);var n=e.createLinearGradient(this.opt.tabWidthList[this.opt.currentIndex]-this.opt.tabWidth/2,0,this.opt.tabWidthList[this.opt.currentIndex+1]+this.opt.tabWidth/2,this.opt.height),r=t-.3,i=this.c(1,this.m(0,0+r)),o=this.c(1,this.m(0,0+r+.1)),a=this.c(1,0+r+.3),s=this.c(1,0+r+.3+.1),c=1-i;n.addColorStop(i,"rgba(0,0,0,0)"),n.addColorStop(o,"rgba(142,214,255,"+c+")"),n.addColorStop(a,"rgba(142,214,255,"+c+")"),n.addColorStop(s,"rgba(0,0,0,0)"),n.addColorStop(1,"rgba(0,0,0,0)"),e.lineWidth=1.5,e.strokeStyle=n,e.fillStyle=this.opt.pattern,this._draw(e,!0)}},{key:"draw",value:function(t){this._drawHightlight(t),this.opt.timer=requestAnimationFrame(function(){this.draw((t+.005)%1.6)}.bind(this))}},{key:"_draw",value:function(t,e){var n=this.opt.currentIndex,r=this.opt.tabHeight,i=.5,o=0,a=this.opt.tabWidthList[n]-(e?this.opt.tabWidth/2:0);if(t.beginPath(),t.moveTo(a,this.opt.height+10),t.lineTo(a,r+i),this.opt.animating){var s=this.getCurSpeed(this.opt.curDisX,this.opt.distance);o=this.c(this.n(this.opt.distance),this.n(this.opt.curDisX+s))*this.h(s)}if(t.lineTo(0+this.opt.tabWidthList[n]+o-20,r+i),this._calCurve(0+this.opt.tabWidthList[n]+o-20,r+i,0+this.opt.tabWidthList[n]+o+20,3,t,20),this.opt.animating){var c=this.opt.tabWidthList[this.opt.nextIndex+1]-this.opt.tabWidthList[this.opt.nextIndex];t.lineTo(0+this.opt.tabWidthList[n]+c+o-20,3),this._calCurve(0+this.opt.tabWidthList[n]+c+o-20,3,0+this.opt.tabWidthList[n]+c+o+20,r+i,t,20)}else t.lineTo(0+this.opt.tabWidthList[n+1]+o-20,3),this._calCurve(0+this.opt.tabWidthList[n+1]+o-20,3,0+this.opt.tabWidthList[n+1]+o+20,r+i,t,20);e&&(t.lineTo(this.opt.tabWidthList[n+1]+this.opt.tabWidth/2,r+i),t.lineTo(this.opt.tabWidthList[n+1]+this.opt.tabWidth/2,this.opt.height)),t.closePath(),t.stroke(),e&&t.fill(),this.opt.animating&&e&&(this.opt.curDisX=o,this.n(o)>=this.n(this.opt.distance)&&(this.opt.animating=!1,this.opt.currentIndex=this.opt.nextIndex))}},{key:"initTabs",value:function(){this.opt.tabHeight=this.opt.navItem.offsetHeight,this.opt.tabWidth=this.opt.navItem.offsetWidth,this.opt.height=this.opt.navItem.offsetHeight,this.opt.width=this.opt.tabWidth*this.opt.navCount+this.opt.tabWidth,this.opt.canvas.style.left=-this.opt.tabWidth/2+"px",this.opt.tabWidthList=[];for(var t=0;t<=this.opt.navCount;t++)this.opt.tabWidthList.push(this.opt.tabWidth/2+t*this.opt.tabWidth)}},{key:"drawNav",value:function(t){this.opt.canvas=t.canvas,this.opt.navItem=t.navItem,this.opt.navCount=t.navCount,this.initTabs(),this._toggle(t.index),this._initCanvas(this.opt.canvas,this.opt.width,this.opt.height),this._createPattern(this.opt.canvas),this.draw(0),window.addEventListener("resize",function(){this.initTabs(),this._initCanvas(this.opt.canvas,this.opt.width,this.opt.height),this._createPattern(this.opt.canvas),this.draw(0)}.bind(this),!1)}}]),t}());e.default=s},function(t,e,n){t.exports={default:n(210),__esModule:!0}},function(t,e,n){n(211),t.exports=n(0).Math.sign},function(t,e,n){var r=n(4);r(r.S,"Math",{sign:n(212)})},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){"use strict";n.r(e),function(t,n){
|
|
126
126
|
/*!
|
|
@@ -128,4 +128,4 @@ var r=n("3560"),i=n("e248"),o=n("571a");function a(){return c.TYPED_ARRAY_SUPPOR
|
|
|
128
128
|
* (c) 2014-2021 Evan You
|
|
129
129
|
* Released under the MIT License.
|
|
130
130
|
*/
|
|
131
|
-
var r=Object.freeze({});function i(t){return null==t}function o(t){return null!=t}function a(t){return!0===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return null!==t&&"object"==typeof t}var u=Object.prototype.toString;function l(t){return"[object Object]"===u.call(t)}function h(t){return"[object RegExp]"===u.call(t)}function f(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function m(t){var e=parseFloat(t);return isNaN(e)?t:e}function g(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var v=g("slot,component",!0),y=g("key,ref,slot,slot-scope,is");function _(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var x=Object.prototype.hasOwnProperty;function b(t,e){return x.call(t,e)}function w(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var M=/-(\w)/g,S=w((function(t){return t.replace(M,(function(t,e){return e?e.toUpperCase():""}))})),A=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),C=/\B([A-Z])/g,E=w((function(t){return t.replace(C,"-$1").toLowerCase()}));var T=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function I(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function L(t,e){for(var n in e)t[n]=e[n];return t}function P(t){for(var e={},n=0;n<t.length;n++)t[n]&&L(e,t[n]);return e}function R(t,e,n){}var O=function(t,e,n){return!1},k=function(t){return t};function B(t,e){if(t===e)return!0;var n=c(t),r=c(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return B(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return B(t[n],e[n])}))}catch(t){return!1}}function D(t,e){for(var n=0;n<t.length;n++)if(B(t[n],e))return n;return-1}function F(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var U=["component","directive","filter"],j=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],N={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:O,isReservedAttr:O,isUnknownElement:O,getTagNamespace:R,parsePlatformTagName:k,mustUseProp:O,async:!0,_lifecycleHooks:j},G=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function z(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function H(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var W=new RegExp("[^"+G.source+".$_\\d]");var V,Z="__proto__"in{},Q="undefined"!=typeof window,X="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Y=X&&WXEnvironment.platform.toLowerCase(),J=Q&&window.navigator.userAgent.toLowerCase(),q=J&&/msie|trident/.test(J),K=J&&J.indexOf("msie 9.0")>0,$=J&&J.indexOf("edge/")>0,tt=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===Y),et=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),nt={}.watch,rt=!1;if(Q)try{var it={};Object.defineProperty(it,"passive",{get:function(){rt=!0}}),window.addEventListener("test-passive",null,it)}catch(t){}var ot=function(){return void 0===V&&(V=!Q&&!X&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),V},at=Q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function st(t){return"function"==typeof t&&/native code/.test(t.toString())}var ct,ut="undefined"!=typeof Symbol&&st(Symbol)&&"undefined"!=typeof Reflect&&st(Reflect.ownKeys);ct="undefined"!=typeof Set&&st(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var lt=R,ht=0,ft=function(){this.id=ht++,this.subs=[]};ft.prototype.addSub=function(t){this.subs.push(t)},ft.prototype.removeSub=function(t){_(this.subs,t)},ft.prototype.depend=function(){ft.target&&ft.target.addDep(this)},ft.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},ft.target=null;var dt=[];function pt(t){dt.push(t),ft.target=t}function mt(){dt.pop(),ft.target=dt[dt.length-1]}var gt=function(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},vt={child:{configurable:!0}};vt.child.get=function(){return this.componentInstance},Object.defineProperties(gt.prototype,vt);var yt=function(t){void 0===t&&(t="");var e=new gt;return e.text=t,e.isComment=!0,e};function _t(t){return new gt(void 0,void 0,void 0,String(t))}function xt(t){var e=new gt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var bt=Array.prototype,wt=Object.create(bt);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=bt[t];H(wt,t,(function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o}))}));var Mt=Object.getOwnPropertyNames(wt),St=!0;function At(t){St=t}var Ct=function(t){this.value=t,this.dep=new ft,this.vmCount=0,H(t,"__ob__",this),Array.isArray(t)?(Z?function(t,e){t.__proto__=e}(t,wt):function(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];H(t,o,e[o])}}(t,wt,Mt),this.observeArray(t)):this.walk(t)};function Et(t,e){var n;if(c(t)&&!(t instanceof gt))return b(t,"__ob__")&&t.__ob__ instanceof Ct?n=t.__ob__:St&&!ot()&&(Array.isArray(t)||l(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Ct(t)),e&&n&&n.vmCount++,n}function Tt(t,e,n,r,i){var o=new ft,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=t[e]);var u=!i&&Et(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return ft.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(e)&&Pt(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!=e&&r!=r||s&&!c||(c?c.call(t,e):n=e,u=!i&&Et(e),o.notify())}})}}function It(t,e,n){if(Array.isArray(t)&&f(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(Tt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function Lt(t,e){if(Array.isArray(t)&&f(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||b(t,e)&&(delete t[e],n&&n.dep.notify())}}function Pt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&Pt(e)}Ct.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Tt(t,e[n])},Ct.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Et(t[e])};var Rt=N.optionMergeStrategies;function Ot(t,e){if(!e)return t;for(var n,r,i,o=ut?Reflect.ownKeys(e):Object.keys(e),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(r=t[n],i=e[n],b(t,n)?r!==i&&l(r)&&l(i)&&Ot(r,i):It(t,n,i));return t}function kt(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,i="function"==typeof t?t.call(n,n):t;return r?Ot(r,i):i}:e?t?function(){return Ot("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Bt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Dt(t,e,n,r){var i=Object.create(t||null);return e?L(i,e):i}Rt.data=function(t,e,n){return n?kt(t,e,n):e&&"function"!=typeof e?t:kt(t,e)},j.forEach((function(t){Rt[t]=Bt})),U.forEach((function(t){Rt[t+"s"]=Dt})),Rt.watch=function(t,e,n,r){if(t===nt&&(t=void 0),e===nt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var o in L(i,t),e){var a=i[o],s=e[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Rt.props=Rt.methods=Rt.inject=Rt.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return L(i,t),e&&L(i,e),i},Rt.provide=kt;var Ft=function(t,e){return void 0===e?t:e};function Ut(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[S(i)]={type:null});else if(l(n))for(var a in n)i=n[a],o[S(a)]=l(i)?i:{type:i};else 0;t.props=o}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(l(n))for(var o in n){var a=n[o];r[o]=l(a)?L({from:o},a):{from:a}}else 0}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Ut(t,e.extends,n)),e.mixins))for(var r=0,i=e.mixins.length;r<i;r++)t=Ut(t,e.mixins[r],n);var o,a={};for(o in t)s(o);for(o in e)b(t,o)||s(o);function s(r){var i=Rt[r]||Ft;a[r]=i(t[r],e[r],n,r)}return a}function jt(t,e,n,r){if("string"==typeof n){var i=t[e];if(b(i,n))return i[n];var o=S(n);if(b(i,o))return i[o];var a=A(o);return b(i,a)?i[a]:i[n]||i[o]||i[a]}}function Nt(t,e,n,r){var i=e[t],o=!b(n,t),a=n[t],s=Wt(Boolean,i.type);if(s>-1)if(o&&!b(i,"default"))a=!1;else if(""===a||a===E(t)){var c=Wt(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(!b(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof r&&"Function"!==zt(e.type)?r.call(t):r}(r,i,t);var u=St;At(!0),Et(a),At(u)}return a}var Gt=/^\s*function (\w+)/;function zt(t){var e=t&&t.toString().match(Gt);return e?e[1]:""}function Ht(t,e){return zt(t)===zt(e)}function Wt(t,e){if(!Array.isArray(e))return Ht(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Ht(e[n],t))return n;return-1}function Vt(t,e,n){pt();try{if(e)for(var r=e;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,t,e,n))return}catch(t){Qt(t,r,"errorCaptured hook")}}Qt(t,e,n)}finally{mt()}}function Zt(t,e,n,r,i){var o;try{(o=n?t.apply(e,n):t.call(e))&&!o._isVue&&d(o)&&!o._handled&&(o.catch((function(t){return Vt(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(t){Vt(t,r,i)}return o}function Qt(t,e,n){if(N.errorHandler)try{return N.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Xt(e,null,"config.errorHandler")}Xt(t,e,n)}function Xt(t,e,n){if(!Q&&!X||"undefined"==typeof console)throw t;console.error(t)}var Yt,Jt=!1,qt=[],Kt=!1;function $t(){Kt=!1;var t=qt.slice(0);qt.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&st(Promise)){var te=Promise.resolve();Yt=function(){te.then($t),tt&&setTimeout(R)},Jt=!0}else if(q||"undefined"==typeof MutationObserver||!st(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Yt=void 0!==n&&st(n)?function(){n($t)}:function(){setTimeout($t,0)};else{var ee=1,ne=new MutationObserver($t),re=document.createTextNode(String(ee));ne.observe(re,{characterData:!0}),Yt=function(){ee=(ee+1)%2,re.data=String(ee)},Jt=!0}function ie(t,e){var n;if(qt.push((function(){if(t)try{t.call(e)}catch(t){Vt(t,e,"nextTick")}else n&&n(e)})),Kt||(Kt=!0,Yt()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}var oe=new ct;function ae(t){!function t(e,n){var r,i,o=Array.isArray(e);if(!o&&!c(e)||Object.isFrozen(e)||e instanceof gt)return;if(e.__ob__){var a=e.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=e.length;r--;)t(e[r],n);else for(i=Object.keys(e),r=i.length;r--;)t(e[i[r]],n)}(t,oe),oe.clear()}var se=w((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}));function ce(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return Zt(r,null,arguments,e,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)Zt(i[o],null,t,e,"v-on handler")}return n.fns=t,n}function ue(t,e,n,r,o,s){var c,u,l,h;for(c in t)u=t[c],l=e[c],h=se(c),i(u)||(i(l)?(i(u.fns)&&(u=t[c]=ce(u,s)),a(h.once)&&(u=t[c]=o(h.name,u,h.capture)),n(h.name,u,h.capture,h.passive,h.params)):u!==l&&(l.fns=u,t[c]=l));for(c in e)i(t[c])&&r((h=se(c)).name,e[c],h.capture)}function le(t,e,n){var r;t instanceof gt&&(t=t.data.hook||(t.data.hook={}));var s=t[e];function c(){n.apply(this,arguments),_(r.fns,c)}i(s)?r=ce([c]):o(s.fns)&&a(s.merged)?(r=s).fns.push(c):r=ce([s,c]),r.merged=!0,t[e]=r}function he(t,e,n,r,i){if(o(e)){if(b(e,n))return t[n]=e[n],i||delete e[n],!0;if(b(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function fe(t){return s(t)?[_t(t)]:Array.isArray(t)?function t(e,n){var r,c,u,l,h=[];for(r=0;r<e.length;r++)i(c=e[r])||"boolean"==typeof c||(u=h.length-1,l=h[u],Array.isArray(c)?c.length>0&&(de((c=t(c,(n||"")+"_"+r))[0])&&de(l)&&(h[u]=_t(l.text+c[0].text),c.shift()),h.push.apply(h,c)):s(c)?de(l)?h[u]=_t(l.text+c):""!==c&&h.push(_t(c)):de(c)&&de(l)?h[u]=_t(l.text+c.text):(a(e._isVList)&&o(c.tag)&&i(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+r+"__"),h.push(c)));return h}(t):void 0}function de(t){return o(t)&&o(t.text)&&!1===t.isComment}function pe(t,e){if(t){for(var n=Object.create(null),r=ut?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){for(var a=t[o].from,s=e;s;){if(s._provided&&b(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in t[o]){var c=t[o].default;n[o]="function"==typeof c?c.call(e):c}else 0}}return n}}function me(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var u in n)n[u].every(ge)&&delete n[u];return n}function ge(t){return t.isComment&&!t.asyncFactory||" "===t.text}function ve(t){return t.isComment&&t.asyncFactory}function ye(t,e,n){var i,o=Object.keys(e).length>0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==r&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=_e(e,c,t[c]))}else i={};for(var u in e)u in i||(i[u]=xe(e,u));return t&&Object.isExtensible(t)&&(t._normalized=i),H(i,"$stable",a),H(i,"$key",s),H(i,"$hasNormal",o),i}function _e(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({}),e=(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:fe(t))&&t[0];return t&&(!e||1===t.length&&e.isComment&&!ve(e))?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function xe(t,e){return function(){return t[e]}}function be(t,e){var n,r,i,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(c(t))if(ut&&t[Symbol.iterator]){n=[];for(var u=t[Symbol.iterator](),l=u.next();!l.done;)n.push(e(l.value,n.length)),l=u.next()}else for(a=Object.keys(t),n=new Array(a.length),r=0,i=a.length;r<i;r++)s=a[r],n[r]=e(t[s],s,r);return o(n)||(n=[]),n._isVList=!0,n}function we(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=L(L({},r),n)),i=o(n)||("function"==typeof e?e():e)):i=this.$slots[t]||("function"==typeof e?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function Me(t){return jt(this.$options,"filters",t)||k}function Se(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Ae(t,e,n,r,i){var o=N.keyCodes[e]||n;return i&&r&&!N.keyCodes[e]?Se(i,r):o?Se(o,t):r?E(r)!==e:void 0===t}function Ce(t,e,n,r,i){if(n)if(c(n)){var o;Array.isArray(n)&&(n=P(n));var a=function(a){if("class"===a||"style"===a||y(a))o=t;else{var s=t.attrs&&t.attrs.type;o=r||N.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=S(a),u=E(a);c in o||u in o||(o[a]=n[a],i&&((t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}))};for(var s in n)a(s)}else;return t}function Ee(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||Ie(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),r}function Te(t,e,n){return Ie(t,"__once__"+e+(n?"_"+n:""),!0),t}function Ie(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&Le(t[r],e+"_"+r,n);else Le(t,e,n)}function Le(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Pe(t,e){if(e)if(l(e)){var n=t.on=t.on?L({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function Re(t,e,n,r){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var o=t[i];Array.isArray(o)?Re(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return r&&(e.$key=r),e}function Oe(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function ke(t,e){return"string"==typeof t?e+t:t}function Be(t){t._o=Te,t._n=m,t._s=p,t._l=be,t._t=we,t._q=B,t._i=D,t._m=Ee,t._f=Me,t._k=Ae,t._b=Ce,t._v=_t,t._e=yt,t._u=Re,t._g=Pe,t._d=Oe,t._p=ke}function De(t,e,n,i,o){var s,c=this,u=o.options;b(i,"_uid")?(s=Object.create(i))._original=i:(s=i,i=i._original);var l=a(u._compiled),h=!l;this.data=t,this.props=e,this.children=n,this.parent=i,this.listeners=t.on||r,this.injections=pe(u.inject,i),this.slots=function(){return c.$slots||ye(t.scopedSlots,c.$slots=me(n,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ye(t.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=ye(t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,r){var o=He(s,t,e,n,r,h);return o&&!Array.isArray(o)&&(o.fnScopeId=u._scopeId,o.fnContext=i),o}:this._c=function(t,e,n,r){return He(s,t,e,n,r,h)}}function Fe(t,e,n,r,i){var o=xt(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function Ue(t,e){for(var n in e)t[S(n)]=e[n]}Be(De.prototype);var je={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;je.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;o(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,Ke)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,i,o){0;var a=i.data.scopedSlots,s=t.$scopedSlots,c=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),u=!!(o||t.$options._renderChildren||c);t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i);if(t.$options._renderChildren=o,t.$attrs=i.data.attrs||r,t.$listeners=n||r,e&&t.$options.props){At(!1);for(var l=t._props,h=t.$options._propKeys||[],f=0;f<h.length;f++){var d=h[f],p=t.$options.props;l[d]=Nt(d,p,e,t)}At(!0),t.$options.propsData=e}n=n||r;var m=t.$options._parentListeners;t.$options._parentListeners=n,qe(t,n,m),u&&(t.$slots=me(o,i.context),t.$forceUpdate());0}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,nn(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,on.push(e)):en(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(n&&(e._directInactive=!0,tn(e)))return;if(!e._inactive){e._inactive=!0;for(var r=0;r<e.$children.length;r++)t(e.$children[r]);nn(e,"deactivated")}}(e,!0):e.$destroy())}},Ne=Object.keys(je);function Ge(t,e,n,s,u){if(!i(t)){var l=n.$options._base;if(c(t)&&(t=l.extend(t)),"function"==typeof t){var h;if(i(t.cid)&&void 0===(t=function(t,e){if(a(t.error)&&o(t.errorComp))return t.errorComp;if(o(t.resolved))return t.resolved;var n=Ve;n&&o(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n);if(a(t.loading)&&o(t.loadingComp))return t.loadingComp;if(n&&!o(t.owners)){var r=t.owners=[n],s=!0,u=null,l=null;n.$on("hook:destroyed",(function(){return _(r,n)}));var h=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},f=F((function(n){t.resolved=Ze(n,e),s?r.length=0:h(!0)})),p=F((function(e){o(t.errorComp)&&(t.error=!0,h(!0))})),m=t(f,p);return c(m)&&(d(m)?i(t.resolved)&&m.then(f,p):d(m.component)&&(m.component.then(f,p),o(m.error)&&(t.errorComp=Ze(m.error,e)),o(m.loading)&&(t.loadingComp=Ze(m.loading,e),0===m.delay?t.loading=!0:u=setTimeout((function(){u=null,i(t.resolved)&&i(t.error)&&(t.loading=!0,h(!1))}),m.delay||200)),o(m.timeout)&&(l=setTimeout((function(){l=null,i(t.resolved)&&p(null)}),m.timeout)))),s=!1,t.loading?t.loadingComp:t.resolved}}(h=t,l)))return function(t,e,n,r,i){var o=yt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}(h,e,n,s,u);e=e||{},An(t),o(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var i=e.on||(e.on={}),a=i[r],s=e.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(i[r]=[s].concat(a)):i[r]=s}(t.options,e);var f=function(t,e,n){var r=e.options.props;if(!i(r)){var a={},s=t.attrs,c=t.props;if(o(s)||o(c))for(var u in r){var l=E(u);he(a,c,u,l,!0)||he(a,s,u,l,!1)}return a}}(e,t);if(a(t.options.functional))return function(t,e,n,i,a){var s=t.options,c={},u=s.props;if(o(u))for(var l in u)c[l]=Nt(l,u,e||r);else o(n.attrs)&&Ue(c,n.attrs),o(n.props)&&Ue(c,n.props);var h=new De(n,c,a,i,t),f=s.render.call(null,h._c,h);if(f instanceof gt)return Fe(f,n,h.parent,s,h);if(Array.isArray(f)){for(var d=fe(f)||[],p=new Array(d.length),m=0;m<d.length;m++)p[m]=Fe(d[m],n,h.parent,s,h);return p}}(t,f,e,n,s);var p=e.on;if(e.on=e.nativeOn,a(t.options.abstract)){var m=e.slot;e={},m&&(e.slot=m)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Ne.length;n++){var r=Ne[n],i=e[r],o=je[r];i===o||i&&i._merged||(e[r]=i?ze(o,i):o)}}(e);var g=t.options.name||u;return new gt("vue-component-"+t.cid+(g?"-"+g:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:p,tag:u,children:s},h)}}}function ze(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function He(t,e,n,r,u,l){return(Array.isArray(n)||s(n))&&(u=r,r=n,n=void 0),a(l)&&(u=2),function(t,e,n,r,s){if(o(n)&&o(n.__ob__))return yt();o(n)&&o(n.is)&&(e=n.is);if(!e)return yt();0;Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);2===s?r=fe(r):1===s&&(r=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(r));var u,l;if("string"==typeof e){var h;l=t.$vnode&&t.$vnode.ns||N.getTagNamespace(e),u=N.isReservedTag(e)?new gt(N.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!o(h=jt(t.$options,"components",e))?new gt(e,n,r,void 0,void 0,t):Ge(h,n,t,r,e)}else u=Ge(e,n,t,r);return Array.isArray(u)?u:o(u)?(o(l)&&function t(e,n,r){e.ns=n,"foreignObject"===e.tag&&(n=void 0,r=!0);if(o(e.children))for(var s=0,c=e.children.length;s<c;s++){var u=e.children[s];o(u.tag)&&(i(u.ns)||a(r)&&"svg"!==u.tag)&&t(u,n,r)}}(u,l),o(n)&&function(t){c(t.style)&&ae(t.style);c(t.class)&&ae(t.class)}(n),u):yt()}(t,e,n,r,u)}var We,Ve=null;function Ze(t,e){return(t.__esModule||ut&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function Qe(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(o(n)&&(o(n.componentOptions)||ve(n)))return n}}function Xe(t,e){We.$on(t,e)}function Ye(t,e){We.$off(t,e)}function Je(t,e){var n=We;return function r(){var i=e.apply(null,arguments);null!==i&&n.$off(t,r)}}function qe(t,e,n){We=t,ue(e,n||{},Xe,Ye,Je,t),We=void 0}var Ke=null;function $e(t){var e=Ke;return Ke=t,function(){Ke=e}}function tn(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function en(t,e){if(e){if(t._directInactive=!1,tn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)en(t.$children[n]);nn(t,"activated")}}function nn(t,e){pt();var n=t.$options[e],r=e+" hook";if(n)for(var i=0,o=n.length;i<o;i++)Zt(n[i],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),mt()}var rn=[],on=[],an={},sn=!1,cn=!1,un=0;var ln=0,hn=Date.now;if(Q&&!q){var fn=window.performance;fn&&"function"==typeof fn.now&&hn()>document.createEvent("Event").timeStamp&&(hn=function(){return fn.now()})}function dn(){var t,e;for(ln=hn(),cn=!0,rn.sort((function(t,e){return t.id-e.id})),un=0;un<rn.length;un++)(t=rn[un]).before&&t.before(),e=t.id,an[e]=null,t.run();var n=on.slice(),r=rn.slice();un=rn.length=on.length=0,an={},sn=cn=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,en(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&nn(r,"updated")}}(r),at&&N.devtools&&at.emit("flush")}var pn=0,mn=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++pn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ct,this.newDepIds=new ct,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!W.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=R)),this.value=this.lazy?void 0:this.get()};mn.prototype.get=function(){var t;pt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Vt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ae(t),mt(),this.cleanupDeps()}return t},mn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},mn.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},mn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==an[e]){if(an[e]=!0,cn){for(var n=rn.length-1;n>un&&rn[n].id>t.id;)n--;rn.splice(n+1,0,t)}else rn.push(t);sn||(sn=!0,ie(dn))}}(this)},mn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'+this.expression+'"';Zt(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},mn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},mn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},mn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var gn={enumerable:!0,configurable:!0,get:R,set:R};function vn(t,e,n){gn.get=function(){return this[e][n]},gn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,gn)}function yn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[];t.$parent&&At(!1);var o=function(o){i.push(o);var a=Nt(o,e,n,t);Tt(r,o,a),o in t||vn(t,"_props",o)};for(var a in e)o(a);At(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?R:T(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;l(e=t._data="function"==typeof e?function(t,e){pt();try{return t.call(e,e)}catch(t){return Vt(t,e,"data()"),{}}finally{mt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&b(r,o)||z(o)||vn(t,"_data",o)}Et(e,!0)}(t):Et(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=ot();for(var i in e){var o=e[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new mn(t,a||R,R,_n)),i in t||xn(t,i,o)}}(t,e.computed),e.watch&&e.watch!==nt&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Mn(t,n,r[i]);else Mn(t,n,r)}}(t,e.watch)}var _n={lazy:!0};function xn(t,e,n){var r=!ot();"function"==typeof n?(gn.get=r?bn(e):wn(n),gn.set=R):(gn.get=n.get?r&&!1!==n.cache?bn(e):wn(n.get):R,gn.set=n.set||R),Object.defineProperty(t,e,gn)}function bn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ft.target&&e.depend(),e.value}}function wn(t){return function(){return t.call(this,this)}}function Mn(t,e,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}var Sn=0;function An(t){var e=t.options;if(t.super){var n=An(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}(t);r&&L(t.extendOptions,r),(e=t.options=Ut(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Cn(t){this._init(t)}function En(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Ut(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)vn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)xn(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,U.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=L({},a.options),i[r]=a,a}}function Tn(t){return t&&(t.Ctor.options.name||t.tag)}function In(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function Ln(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&Pn(n,o,r,i)}}}function Pn(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,_(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Sn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Ut(An(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&qe(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=me(e._renderChildren,i),t.$scopedSlots=r,t._c=function(e,n,r,i){return He(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return He(t,e,n,r,i,!0)};var o=n&&n.data;Tt(t,"$attrs",o&&o.attrs||r,null,!0),Tt(t,"$listeners",e._parentListeners||r,null,!0)}(e),nn(e,"beforeCreate"),function(t){var e=pe(t.$options.inject,t);e&&(At(!1),Object.keys(e).forEach((function(n){Tt(t,n,e[n])})),At(!0))}(e),yn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),nn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Cn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=It,t.prototype.$delete=Lt,t.prototype.$watch=function(t,e,n){if(l(e))return Mn(this,t,e,n);(n=n||{}).user=!0;var r=new mn(this,t,e,n);if(n.immediate){var i='callback for immediate watcher "'+r.expression+'"';pt(),Zt(e,this,[r.value],this,i),mt()}return function(){r.teardown()}}}(Cn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i<o;i++)r.$on(t[i],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,i=t.length;r<i;r++)n.$off(t[r],e);return n}var o,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;for(var s=a.length;s--;)if((o=a[s])===e||o.fn===e){a.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?I(n):n;for(var r=I(arguments,1),i='event handler for "'+t+'"',o=0,a=n.length;o<a;o++)Zt(n[o],e,r,e,i)}return e}}(Cn),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=$e(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){nn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||_(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),nn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(Cn),function(t){Be(t.prototype),t.prototype.$nextTick=function(t){return ie(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&(e.$scopedSlots=ye(i.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=i;try{Ve=e,t=r.call(e._renderProxy,e.$createElement)}catch(n){Vt(n,e,"render"),t=e._vnode}finally{Ve=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof gt||(t=yt()),t.parent=i,t}}(Cn);var Rn=[String,RegExp,Array],On={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Rn,exclude:Rn,max:[String,Number]},methods:{cacheVNode:function(){var t=this.cache,e=this.keys,n=this.vnodeToCache,r=this.keyToCache;if(n){var i=n.tag,o=n.componentInstance,a=n.componentOptions;t[r]={name:Tn(a),tag:i,componentInstance:o},e.push(r),this.max&&e.length>parseInt(this.max)&&Pn(t,e[0],e,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Pn(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Ln(t,(function(t){return In(e,t)}))})),this.$watch("exclude",(function(e){Ln(t,(function(t){return!In(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Qe(t),n=e&&e.componentOptions;if(n){var r=Tn(n),i=this.include,o=this.exclude;if(i&&(!r||!In(i,r))||o&&r&&In(o,r))return e;var a=this.cache,s=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;a[c]?(e.componentInstance=a[c].componentInstance,_(s,c),s.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return N}};Object.defineProperty(t,"config",e),t.util={warn:lt,extend:L,mergeOptions:Ut,defineReactive:Tt},t.set=It,t.delete=Lt,t.nextTick=ie,t.observable=function(t){return Et(t),t},t.options=Object.create(null),U.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,L(t.options.components,On),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=I(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Ut(this.options,t),this}}(t),En(t),function(t){U.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(Cn),Object.defineProperty(Cn.prototype,"$isServer",{get:ot}),Object.defineProperty(Cn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Cn,"FunctionalRenderContext",{value:De}),Cn.version="2.6.14";var kn=g("style,class"),Bn=g("input,textarea,option,select,progress"),Dn=function(t,e,n){return"value"===n&&Bn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Fn=g("contenteditable,draggable,spellcheck"),Un=g("events,caret,typing,plaintext-only"),jn=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Nn="http://www.w3.org/1999/xlink",Gn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},zn=function(t){return Gn(t)?t.slice(6,t.length):""},Hn=function(t){return null==t||!1===t};function Wn(t){for(var e=t.data,n=t,r=t;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Vn(r.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Vn(e,n.data));return function(t,e){if(o(t)||o(e))return Zn(t,Qn(e));return""}(e.staticClass,e.class)}function Vn(t,e){return{staticClass:Zn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Zn(t,e){return t?e?t+" "+e:t:e||""}function Qn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r<i;r++)o(e=Qn(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):c(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Xn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Yn=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Jn=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),qn=function(t){return Yn(t)||Jn(t)};function Kn(t){return Jn(t)?"svg":"math"===t?"math":void 0}var $n=Object.create(null);var tr=g("text,number,password,search,email,tel,url");function er(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}var nr=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Xn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),rr={create:function(t,e){ir(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ir(t,!0),ir(e))},destroy:function(t){ir(t,!0)}};function ir(t,e){var n=t.data.ref;if(o(n)){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?_(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}var or=new gt("",{},[]),ar=["create","activate","update","remove","destroy"];function sr(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&o(t.data)===o(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=o(n=t.data)&&o(n=n.attrs)&&n.type,i=o(n=e.data)&&o(n=n.attrs)&&n.type;return r===i||tr(r)&&tr(i)}(t,e)||a(t.isAsyncPlaceholder)&&i(e.asyncFactory.error))}function cr(t,e,n){var r,i,a={};for(r=e;r<=n;++r)o(i=t[r].key)&&(a[i]=r);return a}var ur={create:lr,update:lr,destroy:function(t){lr(t,or)}};function lr(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,i,o=t===or,a=e===or,s=fr(t.data.directives,t.context),c=fr(e.data.directives,e.context),u=[],l=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,i.oldArg=r.arg,pr(i,"update",e,t),i.def&&i.def.componentUpdated&&l.push(i)):(pr(i,"bind",e,t),i.def&&i.def.inserted&&u.push(i));if(u.length){var h=function(){for(var n=0;n<u.length;n++)pr(u[n],"inserted",e,t)};o?le(e,"insert",h):h()}l.length&&le(e,"postpatch",(function(){for(var n=0;n<l.length;n++)pr(l[n],"componentUpdated",e,t)}));if(!o)for(n in s)c[n]||pr(s[n],"unbind",t,t,a)}(t,e)}var hr=Object.create(null);function fr(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++)(r=t[n]).modifiers||(r.modifiers=hr),i[dr(r)]=r,r.def=jt(e.$options,"directives",r.name);return i}function dr(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function pr(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){Vt(r,n.context,"directive "+t.name+" "+e+" hook")}}var mr=[rr,ur];function gr(t,e){var n=e.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||i(t.data.attrs)&&i(e.data.attrs))){var r,a,s=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};for(r in o(u.__ob__)&&(u=e.data.attrs=L({},u)),u)a=u[r],c[r]!==a&&vr(s,r,a,e.data.pre);for(r in(q||$)&&u.value!==c.value&&vr(s,"value",u.value),c)i(u[r])&&(Gn(r)?s.removeAttributeNS(Nn,zn(r)):Fn(r)||s.removeAttribute(r))}}function vr(t,e,n,r){r||t.tagName.indexOf("-")>-1?yr(t,e,n):jn(e)?Hn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Fn(e)?t.setAttribute(e,function(t,e){return Hn(e)||"false"===e?"false":"contenteditable"===t&&Un(e)?e:"true"}(e,n)):Gn(e)?Hn(n)?t.removeAttributeNS(Nn,zn(e)):t.setAttributeNS(Nn,e,n):yr(t,e,n)}function yr(t,e,n){if(Hn(n))t.removeAttribute(e);else{if(q&&!K&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var _r={create:gr,update:gr};function xr(t,e){var n=e.elm,r=e.data,a=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=Wn(e),c=n._transitionClasses;o(c)&&(s=Zn(s,Qn(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var br,wr,Mr,Sr,Ar,Cr,Er={create:xr,update:xr},Tr=/[\w).+\-_$\]]/;function Ir(t){var e,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,h=0,f=0,d=0;for(r=0;r<t.length;r++)if(n=e,e=t.charCodeAt(r),a)39===e&&92!==n&&(a=!1);else if(s)34===e&&92!==n&&(s=!1);else if(c)96===e&&92!==n&&(c=!1);else if(u)47===e&&92!==n&&(u=!1);else if(124!==e||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||l||h||f){switch(e){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:f++;break;case 41:f--;break;case 91:h++;break;case 93:h--;break;case 123:l++;break;case 125:l--}if(47===e){for(var p=r-1,m=void 0;p>=0&&" "===(m=t.charAt(p));p--);m&&Tr.test(m)||(u=!0)}}else void 0===i?(d=r+1,i=t.slice(0,r).trim()):g();function g(){(o||(o=[])).push(t.slice(d,r).trim()),d=r+1}if(void 0===i?i=t.slice(0,r).trim():0!==d&&g(),o)for(r=0;r<o.length;r++)i=Lr(i,o[r]);return i}function Lr(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var r=e.slice(0,n),i=e.slice(n+1);return'_f("'+r+'")('+t+(")"!==i?","+i:i)}function Pr(t,e){console.error("[Vue compiler]: "+t)}function Rr(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function Or(t,e,n,r,i){(t.props||(t.props=[])).push(zr({name:e,value:n,dynamic:i},r)),t.plain=!1}function kr(t,e,n,r,i){(i?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(zr({name:e,value:n,dynamic:i},r)),t.plain=!1}function Br(t,e,n,r){t.attrsMap[e]=n,t.attrsList.push(zr({name:e,value:n},r))}function Dr(t,e,n,r,i,o,a,s){(t.directives||(t.directives=[])).push(zr({name:e,rawName:n,value:r,arg:i,isDynamicArg:o,modifiers:a},s)),t.plain=!1}function Fr(t,e,n){return n?"_p("+e+',"'+t+'")':t+e}function Ur(t,e,n,i,o,a,s,c){var u;(i=i||r).right?c?e="("+e+")==='click'?'contextmenu':("+e+")":"click"===e&&(e="contextmenu",delete i.right):i.middle&&(c?e="("+e+")==='click'?'mouseup':("+e+")":"click"===e&&(e="mouseup")),i.capture&&(delete i.capture,e=Fr("!",e,c)),i.once&&(delete i.once,e=Fr("~",e,c)),i.passive&&(delete i.passive,e=Fr("&",e,c)),i.native?(delete i.native,u=t.nativeEvents||(t.nativeEvents={})):u=t.events||(t.events={});var l=zr({value:n.trim(),dynamic:c},s);i!==r&&(l.modifiers=i);var h=u[e];Array.isArray(h)?o?h.unshift(l):h.push(l):u[e]=h?o?[l,h]:[h,l]:l,t.plain=!1}function jr(t,e,n){var r=Nr(t,":"+e)||Nr(t,"v-bind:"+e);if(null!=r)return Ir(r);if(!1!==n){var i=Nr(t,e);if(null!=i)return JSON.stringify(i)}}function Nr(t,e,n){var r;if(null!=(r=t.attrsMap[e]))for(var i=t.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===e){i.splice(o,1);break}return n&&delete t.attrsMap[e],r}function Gr(t,e){for(var n=t.attrsList,r=0,i=n.length;r<i;r++){var o=n[r];if(e.test(o.name))return n.splice(r,1),o}}function zr(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function Hr(t,e,n){var r=n||{},i=r.number,o="$$v";r.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(o="_n("+o+")");var a=Wr(e,o);t.model={value:"("+e+")",expression:JSON.stringify(e),callback:"function ($$v) {"+a+"}"}}function Wr(t,e){var n=function(t){if(t=t.trim(),br=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<br-1)return(Sr=t.lastIndexOf("."))>-1?{exp:t.slice(0,Sr),key:'"'+t.slice(Sr+1)+'"'}:{exp:t,key:null};wr=t,Sr=Ar=Cr=0;for(;!Zr();)Qr(Mr=Vr())?Yr(Mr):91===Mr&&Xr(Mr);return{exp:t.slice(0,Ar),key:t.slice(Ar+1,Cr)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Vr(){return wr.charCodeAt(++Sr)}function Zr(){return Sr>=br}function Qr(t){return 34===t||39===t}function Xr(t){var e=1;for(Ar=Sr;!Zr();)if(Qr(t=Vr()))Yr(t);else if(91===t&&e++,93===t&&e--,0===e){Cr=Sr;break}}function Yr(t){for(var e=t;!Zr()&&(t=Vr())!==e;);}var Jr;function qr(t,e,n){var r=Jr;return function i(){var o=e.apply(null,arguments);null!==o&&ti(t,i,n,r)}}var Kr=Jt&&!(et&&Number(et[1])<=53);function $r(t,e,n,r){if(Kr){var i=ln,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Jr.addEventListener(t,e,rt?{capture:n,passive:r}:n)}function ti(t,e,n,r){(r||Jr).removeEventListener(t,e._wrapper||e,n)}function ei(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Jr=e.elm,function(t){if(o(t.__r)){var e=q?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}o(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),ue(n,r,$r,ti,qr,e.context),Jr=void 0}}var ni,ri={create:ei,update:ei};function ii(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in o(c.__ob__)&&(c=e.data.domProps=L({},c)),s)n in c||(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var u=i(r)?"":String(r);oi(a,u)&&(a.value=u)}else if("innerHTML"===n&&Jn(a.tagName)&&i(a.innerHTML)){(ni=ni||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var l=ni.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(r!==s[n])try{a[n]=r}catch(t){}}}}function oi(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.number)return m(n)!==m(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var ai={create:ii,update:ii},si=w((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function ci(t){var e=ui(t.style);return t.staticStyle?L(t.staticStyle,e):e}function ui(t){return Array.isArray(t)?P(t):"string"==typeof t?si(t):t}var li,hi=/^--/,fi=/\s*!important$/,di=function(t,e,n){if(hi.test(e))t.style.setProperty(e,n);else if(fi.test(n))t.style.setProperty(E(e),n.replace(fi,""),"important");else{var r=mi(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},pi=["Webkit","Moz","ms"],mi=w((function(t){if(li=li||document.createElement("div").style,"filter"!==(t=S(t))&&t in li)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<pi.length;n++){var r=pi[n]+e;if(r in li)return r}}));function gi(t,e){var n=e.data,r=t.data;if(!(i(n.staticStyle)&&i(n.style)&&i(r.staticStyle)&&i(r.style))){var a,s,c=e.elm,u=r.staticStyle,l=r.normalizedStyle||r.style||{},h=u||l,f=ui(e.data.style)||{};e.data.normalizedStyle=o(f.__ob__)?L({},f):f;var d=function(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=ci(i.data))&&L(r,n);(n=ci(t.data))&&L(r,n);for(var o=t;o=o.parent;)o.data&&(n=ci(o.data))&&L(r,n);return r}(e,!0);for(s in h)i(d[s])&&di(c,s,"");for(s in d)(a=d[s])!==h[s]&&di(c,s,null==a?"":a)}}var vi={create:gi,update:gi},yi=/\s+/;function _i(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(yi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function xi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(yi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function bi(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&L(e,wi(t.name||"v")),L(e,t),e}return"string"==typeof t?wi(t):void 0}}var wi=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Mi=Q&&!K,Si="transition",Ai="transitionend",Ci="animation",Ei="animationend";Mi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Si="WebkitTransition",Ai="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ci="WebkitAnimation",Ei="webkitAnimationEnd"));var Ti=Q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Ii(t){Ti((function(){Ti(t)}))}function Li(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),_i(t,e))}function Pi(t,e){t._transitionClasses&&_(t._transitionClasses,e),xi(t,e)}function Ri(t,e,n){var r=ki(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s="transition"===i?Ai:Ei,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c<a&&u()}),o+1),t.addEventListener(s,l)}var Oi=/\b(transform|all)(,|$)/;function ki(t,e){var n,r=window.getComputedStyle(t),i=(r[Si+"Delay"]||"").split(", "),o=(r[Si+"Duration"]||"").split(", "),a=Bi(i,o),s=(r[Ci+"Delay"]||"").split(", "),c=(r[Ci+"Duration"]||"").split(", "),u=Bi(s,c),l=0,h=0;return"transition"===e?a>0&&(n="transition",l=a,h=o.length):"animation"===e?u>0&&(n="animation",l=u,h=c.length):h=(n=(l=Math.max(a,u))>0?a>u?"transition":"animation":null)?"transition"===n?o.length:c.length:0,{type:n,timeout:l,propCount:h,hasTransform:"transition"===n&&Oi.test(r[Si+"Property"])}}function Bi(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Di(e)+Di(t[n])})))}function Di(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Fi(t,e){var n=t.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=bi(t.data.transition);if(!i(r)&&!o(n._enterCb)&&1===n.nodeType){for(var a=r.css,s=r.type,u=r.enterClass,l=r.enterToClass,h=r.enterActiveClass,f=r.appearClass,d=r.appearToClass,p=r.appearActiveClass,g=r.beforeEnter,v=r.enter,y=r.afterEnter,_=r.enterCancelled,x=r.beforeAppear,b=r.appear,w=r.afterAppear,M=r.appearCancelled,S=r.duration,A=Ke,C=Ke.$vnode;C&&C.parent;)A=C.context,C=C.parent;var E=!A._isMounted||!t.isRootInsert;if(!E||b||""===b){var T=E&&f?f:u,I=E&&p?p:h,L=E&&d?d:l,P=E&&x||g,R=E&&"function"==typeof b?b:v,O=E&&w||y,k=E&&M||_,B=m(c(S)?S.enter:S);0;var D=!1!==a&&!K,U=Ni(R),j=n._enterCb=F((function(){D&&(Pi(n,L),Pi(n,I)),j.cancelled?(D&&Pi(n,T),k&&k(n)):O&&O(n),n._enterCb=null}));t.data.show||le(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),R&&R(n,j)})),P&&P(n),D&&(Li(n,T),Li(n,I),Ii((function(){Pi(n,T),j.cancelled||(Li(n,L),U||(ji(B)?setTimeout(j,B):Ri(n,s,j)))}))),t.data.show&&(e&&e(),R&&R(n,j)),D||U||j()}}}function Ui(t,e){var n=t.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=bi(t.data.transition);if(i(r)||1!==n.nodeType)return e();if(!o(n._leaveCb)){var a=r.css,s=r.type,u=r.leaveClass,l=r.leaveToClass,h=r.leaveActiveClass,f=r.beforeLeave,d=r.leave,p=r.afterLeave,g=r.leaveCancelled,v=r.delayLeave,y=r.duration,_=!1!==a&&!K,x=Ni(d),b=m(c(y)?y.leave:y);0;var w=n._leaveCb=F((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),_&&(Pi(n,l),Pi(n,h)),w.cancelled?(_&&Pi(n,u),g&&g(n)):(e(),p&&p(n)),n._leaveCb=null}));v?v(M):M()}function M(){w.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),f&&f(n),_&&(Li(n,u),Li(n,h),Ii((function(){Pi(n,u),w.cancelled||(Li(n,l),x||(ji(b)?setTimeout(w,b):Ri(n,s,w)))}))),d&&d(n,w),_||x||w())}}function ji(t){return"number"==typeof t&&!isNaN(t)}function Ni(t){if(i(t))return!1;var e=t.fns;return o(e)?Ni(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Gi(t,e){!0!==e.data.show&&Fi(e)}var zi=function(t){var e,n,r={},c=t.modules,u=t.nodeOps;for(e=0;e<ar.length;++e)for(r[ar[e]]=[],n=0;n<c.length;++n)o(c[n][ar[e]])&&r[ar[e]].push(c[n][ar[e]]);function l(t){var e=u.parentNode(t);o(e)&&u.removeChild(e,t)}function h(t,e,n,i,s,c,l){if(o(t.elm)&&o(c)&&(t=c[l]=xt(t)),t.isRootInsert=!s,!function(t,e,n,i){var s=t.data;if(o(s)){var c=o(t.componentInstance)&&s.keepAlive;if(o(s=s.hook)&&o(s=s.init)&&s(t,!1),o(t.componentInstance))return f(t,e),d(n,t.elm,i),a(c)&&function(t,e,n,i){var a,s=t;for(;s.componentInstance;)if(s=s.componentInstance._vnode,o(a=s.data)&&o(a=a.transition)){for(a=0;a<r.activate.length;++a)r.activate[a](or,s);e.push(s);break}d(n,t.elm,i)}(t,e,n,i),!0}}(t,e,n,i)){var h=t.data,m=t.children,g=t.tag;o(g)?(t.elm=t.ns?u.createElementNS(t.ns,g):u.createElement(g,t),y(t),p(t,m,e),o(h)&&v(t,e),d(n,t.elm,i)):a(t.isComment)?(t.elm=u.createComment(t.text),d(n,t.elm,i)):(t.elm=u.createTextNode(t.text),d(n,t.elm,i))}}function f(t,e){o(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,m(t)?(v(t,e),y(t)):(ir(t),e.push(t))}function d(t,e,n){o(t)&&(o(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function p(t,e,n){if(Array.isArray(e)){0;for(var r=0;r<e.length;++r)h(e[r],n,t.elm,null,!0,e,r)}else s(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function m(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return o(t.tag)}function v(t,n){for(var i=0;i<r.create.length;++i)r.create[i](or,t);o(e=t.data.hook)&&(o(e.create)&&e.create(or,t),o(e.insert)&&n.push(t))}function y(t){var e;if(o(e=t.fnScopeId))u.setStyleScope(t.elm,e);else for(var n=t;n;)o(e=n.context)&&o(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent;o(e=Ke)&&e!==t.context&&e!==t.fnContext&&o(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function _(t,e,n,r,i,o){for(;r<=i;++r)h(n[r],o,t,e,!1,n,r)}function x(t){var e,n,i=t.data;if(o(i))for(o(e=i.hook)&&o(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(o(e=t.children))for(n=0;n<t.children.length;++n)x(t.children[n])}function b(t,e,n){for(;e<=n;++e){var r=t[e];o(r)&&(o(r.tag)?(w(r),x(r)):l(r.elm))}}function w(t,e){if(o(e)||o(t.data)){var n,i=r.remove.length+1;for(o(e)?e.listeners+=i:e=function(t,e){function n(){0==--n.listeners&&l(t)}return n.listeners=e,n}(t.elm,i),o(n=t.componentInstance)&&o(n=n._vnode)&&o(n.data)&&w(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);o(n=t.data.hook)&&o(n=n.remove)?n(t,e):e()}else l(t.elm)}function M(t,e,n,r){for(var i=n;i<r;i++){var a=e[i];if(o(a)&&sr(t,a))return i}}function S(t,e,n,s,c,l){if(t!==e){o(e.elm)&&o(s)&&(e=s[c]=xt(e));var f=e.elm=t.elm;if(a(t.isAsyncPlaceholder))o(e.asyncFactory.resolved)?E(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(a(e.isStatic)&&a(t.isStatic)&&e.key===t.key&&(a(e.isCloned)||a(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,p=e.data;o(p)&&o(d=p.hook)&&o(d=d.prepatch)&&d(t,e);var g=t.children,v=e.children;if(o(p)&&m(e)){for(d=0;d<r.update.length;++d)r.update[d](t,e);o(d=p.hook)&&o(d=d.update)&&d(t,e)}i(e.text)?o(g)&&o(v)?g!==v&&function(t,e,n,r,a){var s,c,l,f=0,d=0,p=e.length-1,m=e[0],g=e[p],v=n.length-1,y=n[0],x=n[v],w=!a;for(0;f<=p&&d<=v;)i(m)?m=e[++f]:i(g)?g=e[--p]:sr(m,y)?(S(m,y,r,n,d),m=e[++f],y=n[++d]):sr(g,x)?(S(g,x,r,n,v),g=e[--p],x=n[--v]):sr(m,x)?(S(m,x,r,n,v),w&&u.insertBefore(t,m.elm,u.nextSibling(g.elm)),m=e[++f],x=n[--v]):sr(g,y)?(S(g,y,r,n,d),w&&u.insertBefore(t,g.elm,m.elm),g=e[--p],y=n[++d]):(i(s)&&(s=cr(e,f,p)),i(c=o(y.key)?s[y.key]:M(y,e,f,p))?h(y,r,t,m.elm,!1,n,d):sr(l=e[c],y)?(S(l,y,r,n,d),e[c]=void 0,w&&u.insertBefore(t,l.elm,m.elm)):h(y,r,t,m.elm,!1,n,d),y=n[++d]);f>p?_(t,i(n[v+1])?null:n[v+1].elm,n,d,v,r):d>v&&b(e,f,p)}(f,g,v,n,l):o(v)?(o(t.text)&&u.setTextContent(f,""),_(f,null,v,0,v.length-1,n)):o(g)?b(g,0,g.length-1):o(t.text)&&u.setTextContent(f,""):t.text!==e.text&&u.setTextContent(f,e.text),o(p)&&o(d=p.hook)&&o(d=d.postpatch)&&d(t,e)}}}function A(t,e,n){if(a(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var C=g("attrs,class,staticClass,staticStyle,key");function E(t,e,n,r){var i,s=e.tag,c=e.data,u=e.children;if(r=r||c&&c.pre,e.elm=t,a(e.isComment)&&o(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(o(c)&&(o(i=c.hook)&&o(i=i.init)&&i(e,!0),o(i=e.componentInstance)))return f(e,n),!0;if(o(s)){if(o(u))if(t.hasChildNodes())if(o(i=c)&&o(i=i.domProps)&&o(i=i.innerHTML)){if(i!==t.innerHTML)return!1}else{for(var l=!0,h=t.firstChild,d=0;d<u.length;d++){if(!h||!E(h,u[d],n,r)){l=!1;break}h=h.nextSibling}if(!l||h)return!1}else p(e,u,n);if(o(c)){var m=!1;for(var g in c)if(!C(g)){m=!0,v(e,n);break}!m&&c.class&&ae(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,s){if(!i(e)){var c,l=!1,f=[];if(i(t))l=!0,h(e,f);else{var d=o(t.nodeType);if(!d&&sr(t,e))S(t,e,f,null,null,s);else{if(d){if(1===t.nodeType&&t.hasAttribute("data-server-rendered")&&(t.removeAttribute("data-server-rendered"),n=!0),a(n)&&E(t,e,f))return A(e,f,!0),t;c=t,t=new gt(u.tagName(c).toLowerCase(),{},[],void 0,c)}var p=t.elm,g=u.parentNode(p);if(h(e,f,p._leaveCb?null:g,u.nextSibling(p)),o(e.parent))for(var v=e.parent,y=m(e);v;){for(var _=0;_<r.destroy.length;++_)r.destroy[_](v);if(v.elm=e.elm,y){for(var w=0;w<r.create.length;++w)r.create[w](or,v);var M=v.data.hook.insert;if(M.merged)for(var C=1;C<M.fns.length;C++)M.fns[C]()}else ir(v);v=v.parent}o(g)?b([t],0,0):o(t.tag)&&x(t)}}return A(e,f,l),e.elm}o(t)&&x(t)}}({nodeOps:nr,modules:[_r,Er,ri,ai,vi,Q?{create:Gi,activate:Gi,remove:function(t,e){!0!==t.data.show?Ui(t,e):e()}}:{}].concat(mr)});K&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Ji(t,"input")}));var Hi={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?le(n,"postpatch",(function(){Hi.componentUpdated(t,e,n)})):Wi(t,e,n.context),t._vOptions=[].map.call(t.options,Qi)):("textarea"===n.tag||tr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Xi),t.addEventListener("compositionend",Yi),t.addEventListener("change",Yi),K&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Wi(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,Qi);if(i.some((function(t,e){return!B(t,r[e])})))(t.multiple?e.value.some((function(t){return Zi(t,i)})):e.value!==e.oldValue&&Zi(e.value,i))&&Ji(t,"change")}}};function Wi(t,e,n){Vi(t,e,n),(q||$)&&setTimeout((function(){Vi(t,e,n)}),0)}function Vi(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],i)o=D(r,Qi(a))>-1,a.selected!==o&&(a.selected=o);else if(B(Qi(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function Zi(t,e){return e.every((function(e){return!B(e,t)}))}function Qi(t){return"_value"in t?t._value:t.value}function Xi(t){t.target.composing=!0}function Yi(t){t.target.composing&&(t.target.composing=!1,Ji(t.target,"input"))}function Ji(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function qi(t){return!t.componentInstance||t.data&&t.data.transition?t:qi(t.componentInstance._vnode)}var Ki={model:Hi,show:{bind:function(t,e,n){var r=e.value,i=(n=qi(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Fi(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=qi(n)).data&&n.data.transition?(n.data.show=!0,r?Fi(n,(function(){t.style.display=t.__vOriginalDisplay})):Ui(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}}},$i={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function to(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?to(Qe(e.children)):t}function eo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[S(o)]=i[o];return e}function no(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var ro=function(t){return t.tag||ve(t)},io=function(t){return"show"===t.name},oo={name:"transition",props:$i,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(ro)).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=to(i);if(!o)return i;if(this._leaving)return no(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var c=(o.data||(o.data={})).transition=eo(this),u=this._vnode,l=to(u);if(o.data.directives&&o.data.directives.some(io)&&(o.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,l)&&!ve(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var h=l.data.transition=L({},c);if("out-in"===r)return this._leaving=!0,le(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),no(t,i);if("in-out"===r){if(ve(o))return u;var f,d=function(){f()};le(c,"afterEnter",d),le(c,"enterCancelled",d),le(h,"delayLeave",(function(t){f=t}))}}return i}}},ao=L({tag:String,moveClass:String},$i);function so(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function co(t){t.data.newPos=t.elm.getBoundingClientRect()}function uo(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete ao.mode;var lo={Transition:oo,TransitionGroup:{props:ao,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=$e(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=eo(this),s=0;s<i.length;s++){var c=i[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(r){for(var u=[],l=[],h=0;h<r.length;h++){var f=r[h];f.data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?u.push(f):l.push(f)}this.kept=t(e,null,u),this.removed=l}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(so),t.forEach(co),t.forEach(uo),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;Li(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Ai,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Ai,t),n._moveCb=null,Pi(n,e))})}})))},methods:{hasMove:function(t,e){if(!Mi)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){xi(n,t)})),_i(n,e),n.style.display="none",this.$el.appendChild(n);var r=ki(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};Cn.config.mustUseProp=Dn,Cn.config.isReservedTag=qn,Cn.config.isReservedAttr=kn,Cn.config.getTagNamespace=Kn,Cn.config.isUnknownElement=function(t){if(!Q)return!0;if(qn(t))return!1;if(t=t.toLowerCase(),null!=$n[t])return $n[t];var e=document.createElement(t);return t.indexOf("-")>-1?$n[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:$n[t]=/HTMLUnknownElement/.test(e.toString())},L(Cn.options.directives,Ki),L(Cn.options.components,lo),Cn.prototype.__patch__=Q?zi:R,Cn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=yt),nn(t,"beforeMount"),r=function(){t._update(t._render(),n)},new mn(t,r,R,{before:function(){t._isMounted&&!t._isDestroyed&&nn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,nn(t,"mounted")),t}(this,t=t&&Q?er(t):void 0,e)},Q&&setTimeout((function(){N.devtools&&at&&at.emit("init",Cn)}),0);var ho=/\{\{((?:.|\r?\n)+?)\}\}/g,fo=/[-.*+?^${}()|[\]\/\\]/g,po=w((function(t){var e=t[0].replace(fo,"\\$&"),n=t[1].replace(fo,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));var mo={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Nr(t,"class");n&&(t.staticClass=JSON.stringify(n));var r=jr(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var go,vo={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Nr(t,"style");n&&(t.staticStyle=JSON.stringify(si(n)));var r=jr(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},yo=function(t){return(go=go||document.createElement("div")).innerHTML=t,go.textContent},_o=g("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),xo=g("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),bo=g("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),wo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Mo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,So="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+G.source+"]*",Ao="((?:"+So+"\\:)?"+So+")",Co=new RegExp("^<"+Ao),Eo=/^\s*(\/?)>/,To=new RegExp("^<\\/"+Ao+"[^>]*>"),Io=/^<!DOCTYPE [^>]+>/i,Lo=/^<!\--/,Po=/^<!\[/,Ro=g("script,style,textarea",!0),Oo={},ko={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},Bo=/&(?:lt|gt|quot|amp|#39);/g,Do=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Fo=g("pre,textarea",!0),Uo=function(t,e){return t&&Fo(t)&&"\n"===e[0]};function jo(t,e){var n=e?Do:Bo;return t.replace(n,(function(t){return ko[t]}))}var No,Go,zo,Ho,Wo,Vo,Zo,Qo,Xo=/^@|^v-on:/,Yo=/^v-|^@|^:|^#/,Jo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,qo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ko=/^\(|\)$/g,$o=/^\[.*\]$/,ta=/:(.*)$/,ea=/^:|^\.|^v-bind:/,na=/\.[^.\]]+(?=[^\]]*$)/g,ra=/^v-slot(:|$)|^#/,ia=/[\r\n]/,oa=/[ \f\t\r\n]+/g,aa=w(yo);function sa(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:pa(e),rawAttrsMap:{},parent:n,children:[]}}function ca(t,e){No=e.warn||Pr,Vo=e.isPreTag||O,Zo=e.mustUseProp||O,Qo=e.getTagNamespace||O;var n=e.isReservedTag||O;(function(t){return!(!(t.component||t.attrsMap[":is"]||t.attrsMap["v-bind:is"])&&(t.attrsMap.is?n(t.attrsMap.is):n(t.tag)))}),zo=Rr(e.modules,"transformNode"),Ho=Rr(e.modules,"preTransformNode"),Wo=Rr(e.modules,"postTransformNode"),Go=e.delimiters;var r,i,o=[],a=!1!==e.preserveWhitespace,s=e.whitespace,c=!1,u=!1;function l(t){if(h(t),c||t.processed||(t=ua(t,e)),o.length||t===r||r.if&&(t.elseif||t.else)&&ha(r,{exp:t.elseif,block:t}),i&&!t.forbidden)if(t.elseif||t.else)a=t,(s=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(i.children))&&s.if&&ha(s,{exp:a.elseif,block:a});else{if(t.slotScope){var n=t.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=t}i.children.push(t),t.parent=i}var a,s;t.children=t.children.filter((function(t){return!t.slotScope})),h(t),t.pre&&(c=!1),Vo(t.tag)&&(u=!1);for(var l=0;l<Wo.length;l++)Wo[l](t,e)}function h(t){if(!u)for(var e;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}return function(t,e){for(var n,r,i=[],o=e.expectHTML,a=e.isUnaryTag||O,s=e.canBeLeftOpenTag||O,c=0;t;){if(n=t,r&&Ro(r)){var u=0,l=r.toLowerCase(),h=Oo[l]||(Oo[l]=new RegExp("([\\s\\S]*?)(</"+l+"[^>]*>)","i")),f=t.replace(h,(function(t,n,r){return u=r.length,Ro(l)||"noscript"===l||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Uo(l,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));c+=t.length-f.length,t=f,C(l,c-u,c)}else{var d=t.indexOf("<");if(0===d){if(Lo.test(t)){var p=t.indexOf("--\x3e");if(p>=0){e.shouldKeepComment&&e.comment(t.substring(4,p),c,c+p+3),M(p+3);continue}}if(Po.test(t)){var m=t.indexOf("]>");if(m>=0){M(m+2);continue}}var g=t.match(Io);if(g){M(g[0].length);continue}var v=t.match(To);if(v){var y=c;M(v[0].length),C(v[1],y,c);continue}var _=S();if(_){A(_),Uo(_.tagName,t)&&M(1);continue}}var x=void 0,b=void 0,w=void 0;if(d>=0){for(b=t.slice(d);!(To.test(b)||Co.test(b)||Lo.test(b)||Po.test(b)||(w=b.indexOf("<",1))<0);)d+=w,b=t.slice(d);x=t.substring(0,d)}d<0&&(x=t),x&&M(x.length),e.chars&&x&&e.chars(x,c-x.length,c)}if(t===n){e.chars&&e.chars(t);break}}function M(e){c+=e,t=t.substring(e)}function S(){var e=t.match(Co);if(e){var n,r,i={tagName:e[1],attrs:[],start:c};for(M(e[0].length);!(n=t.match(Eo))&&(r=t.match(Mo)||t.match(wo));)r.start=c,M(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],M(n[0].length),i.end=c,i}}function A(t){var n=t.tagName,c=t.unarySlash;o&&("p"===r&&bo(n)&&C(r),s(n)&&r===n&&C(n));for(var u=a(n)||!!c,l=t.attrs.length,h=new Array(l),f=0;f<l;f++){var d=t.attrs[f],p=d[3]||d[4]||d[5]||"",m="a"===n&&"href"===d[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;h[f]={name:d[1],value:jo(p,m)}}u||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h,start:t.start,end:t.end}),r=n),e.start&&e.start(n,h,u,t.start,t.end)}function C(t,n,o){var a,s;if(null==n&&(n=c),null==o&&(o=c),t)for(s=t.toLowerCase(),a=i.length-1;a>=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)e.end&&e.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}C()}(t,{warn:No,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,a,s,h){var f=i&&i.ns||Qo(t);q&&"svg"===f&&(n=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];ma.test(r.name)||(r.name=r.name.replace(ga,""),e.push(r))}return e}(n));var d,p=sa(t,n,i);f&&(p.ns=f),"style"!==(d=p).tag&&("script"!==d.tag||d.attrsMap.type&&"text/javascript"!==d.attrsMap.type)||ot()||(p.forbidden=!0);for(var m=0;m<Ho.length;m++)p=Ho[m](p,e)||p;c||(!function(t){null!=Nr(t,"v-pre")&&(t.pre=!0)}(p),p.pre&&(c=!0)),Vo(p.tag)&&(u=!0),c?function(t){var e=t.attrsList,n=e.length;if(n)for(var r=t.attrs=new Array(n),i=0;i<n;i++)r[i]={name:e[i].name,value:JSON.stringify(e[i].value)},null!=e[i].start&&(r[i].start=e[i].start,r[i].end=e[i].end);else t.pre||(t.plain=!0)}(p):p.processed||(la(p),function(t){var e=Nr(t,"v-if");if(e)t.if=e,ha(t,{exp:e,block:t});else{null!=Nr(t,"v-else")&&(t.else=!0);var n=Nr(t,"v-else-if");n&&(t.elseif=n)}}(p),function(t){null!=Nr(t,"v-once")&&(t.once=!0)}(p)),r||(r=p),a?l(p):(i=p,o.push(p))},end:function(t,e,n){var r=o[o.length-1];o.length-=1,i=o[o.length-1],l(r)},chars:function(t,e,n){if(i&&(!q||"textarea"!==i.tag||i.attrsMap.placeholder!==t)){var r,o,l,h=i.children;if(t=u||t.trim()?"script"===(r=i).tag||"style"===r.tag?t:aa(t):h.length?s?"condense"===s&&ia.test(t)?"":" ":a?" ":"":"")u||"condense"!==s||(t=t.replace(oa," ")),!c&&" "!==t&&(o=function(t,e){var n=e?po(e):ho;if(n.test(t)){for(var r,i,o,a=[],s=[],c=n.lastIndex=0;r=n.exec(t);){(i=r.index)>c&&(s.push(o=t.slice(c,i)),a.push(JSON.stringify(o)));var u=Ir(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c<t.length&&(s.push(o=t.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}(t,Go))?l={type:2,expression:o.expression,tokens:o.tokens,text:t}:" "===t&&h.length&&" "===h[h.length-1].text||(l={type:3,text:t}),l&&h.push(l)}},comment:function(t,e,n){if(i){var r={type:3,text:t,isComment:!0};0,i.children.push(r)}}}),r}function ua(t,e){var n;!function(t){var e=jr(t,"key");if(e){t.key=e}}(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=jr(t,"ref");e&&(t.ref=e,t.refInFor=function(t){var e=t;for(;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=Nr(t,"scope"),t.slotScope=e||Nr(t,"slot-scope")):(e=Nr(t,"slot-scope"))&&(t.slotScope=e);var n=jr(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||kr(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot")));if("template"===t.tag){var r=Gr(t,ra);if(r){0;var i=fa(r),o=i.name,a=i.dynamic;t.slotTarget=o,t.slotTargetDynamic=a,t.slotScope=r.value||"_empty_"}}else{var s=Gr(t,ra);if(s){0;var c=t.scopedSlots||(t.scopedSlots={}),u=fa(s),l=u.name,h=u.dynamic,f=c[l]=sa("template",[],t);f.slotTarget=l,f.slotTargetDynamic=h,f.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=f,!0})),f.slotScope=s.value||"_empty_",t.children=[],t.plain=!1}}}(t),"slot"===(n=t).tag&&(n.slotName=jr(n,"name")),function(t){var e;(e=jr(t,"is"))&&(t.component=e);null!=Nr(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var r=0;r<zo.length;r++)t=zo[r](t,e)||t;return function(t){var e,n,r,i,o,a,s,c,u=t.attrsList;for(e=0,n=u.length;e<n;e++){if(r=i=u[e].name,o=u[e].value,Yo.test(r))if(t.hasBindings=!0,(a=da(r.replace(Yo,"")))&&(r=r.replace(na,"")),ea.test(r))r=r.replace(ea,""),o=Ir(o),(c=$o.test(r))&&(r=r.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(r=S(r))&&(r="innerHTML"),a.camel&&!c&&(r=S(r)),a.sync&&(s=Wr(o,"$event"),c?Ur(t,'"update:"+('+r+")",s,null,!1,0,u[e],!0):(Ur(t,"update:"+S(r),s,null,!1,0,u[e]),E(r)!==S(r)&&Ur(t,"update:"+E(r),s,null,!1,0,u[e])))),a&&a.prop||!t.component&&Zo(t.tag,t.attrsMap.type,r)?Or(t,r,o,u[e],c):kr(t,r,o,u[e],c);else if(Xo.test(r))r=r.replace(Xo,""),(c=$o.test(r))&&(r=r.slice(1,-1)),Ur(t,r,o,a,!1,0,u[e],c);else{var l=(r=r.replace(Yo,"")).match(ta),h=l&&l[1];c=!1,h&&(r=r.slice(0,-(h.length+1)),$o.test(h)&&(h=h.slice(1,-1),c=!0)),Dr(t,r,i,o,h,c,a,u[e])}else kr(t,r,JSON.stringify(o),u[e]),!t.component&&"muted"===r&&Zo(t.tag,t.attrsMap.type,r)&&Or(t,r,"true",u[e])}}(t),t}function la(t){var e;if(e=Nr(t,"v-for")){var n=function(t){var e=t.match(Jo);if(!e)return;var n={};n.for=e[2].trim();var r=e[1].trim().replace(Ko,""),i=r.match(qo);i?(n.alias=r.replace(qo,"").trim(),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r;return n}(e);n&&L(t,n)}}function ha(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function fa(t){var e=t.name.replace(ra,"");return e||"#"!==t.name[0]&&(e="default"),$o.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function da(t){var e=t.match(na);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function pa(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}var ma=/^xmlns:NS\d+/,ga=/^NS\d+:/;function va(t){return sa(t.tag,t.attrsList.slice(),t.parent)}var ya=[mo,vo,{preTransformNode:function(t,e){if("input"===t.tag){var n,r=t.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=jr(t,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var i=Nr(t,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Nr(t,"v-else",!0),s=Nr(t,"v-else-if",!0),c=va(t);la(c),Br(c,"type","checkbox"),ua(c,e),c.processed=!0,c.if="("+n+")==='checkbox'"+o,ha(c,{exp:c.if,block:c});var u=va(t);Nr(u,"v-for",!0),Br(u,"type","radio"),ua(u,e),ha(c,{exp:"("+n+")==='radio'"+o,block:u});var l=va(t);return Nr(l,"v-for",!0),Br(l,":type",n),ua(l,e),ha(c,{exp:i,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}}];var _a,xa,ba={expectHTML:!0,modules:ya,directives:{model:function(t,e,n){n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return Hr(t,r,i),!1;if("select"===o)!function(t,e,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+Wr(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Ur(t,"change",r,null,!0)}(t,r,i);else if("input"===o&&"checkbox"===a)!function(t,e,n){var r=n&&n.number,i=jr(t,"value")||"null",o=jr(t,"true-value")||"true",a=jr(t,"false-value")||"false";Or(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Ur(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Wr(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Wr(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Wr(e,"$$c")+"}",null,!0)}(t,r,i);else if("input"===o&&"radio"===a)!function(t,e,n){var r=n&&n.number,i=jr(t,"value")||"null";Or(t,"checked","_q("+e+","+(i=r?"_n("+i+")":i)+")"),Ur(t,"change",Wr(e,i),null,!0)}(t,r,i);else if("input"===o||"textarea"===o)!function(t,e,n){var r=t.attrsMap.type;0;var i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?"__r":"input",l="$event.target.value";s&&(l="$event.target.value.trim()");a&&(l="_n("+l+")");var h=Wr(e,l);c&&(h="if($event.target.composing)return;"+h);Or(t,"value","("+e+")"),Ur(t,u,h,null,!0),(s||a)&&Ur(t,"blur","$forceUpdate()")}(t,r,i);else{if(!N.isReservedTag(o))return Hr(t,r,i),!1}return!0},text:function(t,e){e.value&&Or(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Or(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:_o,mustUseProp:Dn,canBeLeftOpenTag:xo,isReservedTag:qn,getTagNamespace:Kn,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(ya)},wa=w((function(t){return g("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function Ma(t,e){t&&(_a=wa(e.staticKeys||""),xa=e.isReservedTag||O,function t(e){if(e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||v(t.tag)||!xa(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(_a)))}(e),1===e.type){if(!xa(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,r=e.children.length;n<r;n++){var i=e.children[n];t(i),i.static||(e.static=!1)}if(e.ifConditions)for(var o=1,a=e.ifConditions.length;o<a;o++){var s=e.ifConditions[o].block;t(s),s.static||(e.static=!1)}}}(t),function t(e,n){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=n),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var r=0,i=e.children.length;r<i;r++)t(e.children[r],n||!!e.for);if(e.ifConditions)for(var o=1,a=e.ifConditions.length;o<a;o++)t(e.ifConditions[o].block,n)}}(t,!1))}var Sa=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Aa=/\([^)]*?\);*$/,Ca=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ea={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ta={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Ia=function(t){return"if("+t+")return null;"},La={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ia("$event.target !== $event.currentTarget"),ctrl:Ia("!$event.ctrlKey"),shift:Ia("!$event.shiftKey"),alt:Ia("!$event.altKey"),meta:Ia("!$event.metaKey"),left:Ia("'button' in $event && $event.button !== 0"),middle:Ia("'button' in $event && $event.button !== 1"),right:Ia("'button' in $event && $event.button !== 2")};function Pa(t,e){var n=e?"nativeOn:":"on:",r="",i="";for(var o in t){var a=Ra(t[o]);t[o]&&t[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Ra(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return Ra(t)})).join(",")+"]";var e=Ca.test(t.value),n=Sa.test(t.value),r=Ca.test(t.value.replace(Aa,""));if(t.modifiers){var i="",o="",a=[];for(var s in t.modifiers)if(La[s])o+=La[s],Ea[s]&&a.push(s);else if("exact"===s){var c=t.modifiers;o+=Ia(["ctrl","shift","alt","meta"].filter((function(t){return!c[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else a.push(s);return a.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map(Oa).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(e?"return "+t.value+".apply(null, arguments)":n?"return ("+t.value+").apply(null, arguments)":r?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(r?"return "+t.value:t.value)+"}"}function Oa(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=Ea[t],r=Ta[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var ka={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:R},Ba=function(t){this.options=t,this.warn=t.warn||Pr,this.transforms=Rr(t.modules,"transformCode"),this.dataGenFns=Rr(t.modules,"genData"),this.directives=L(L({},ka),t.directives);var e=t.isReservedTag||O;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Da(t,e){var n=new Ba(e);return{render:"with(this){return "+(t?"script"===t.tag?"null":Fa(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Fa(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Ua(t,e);if(t.once&&!t.onceProcessed)return ja(t,e);if(t.for&&!t.forProcessed)return Ga(t,e);if(t.if&&!t.ifProcessed)return Na(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=Va(t,e),i="_t("+n+(r?",function(){return "+r+"}":""),o=t.attrs||t.dynamicAttrs?Xa((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:S(t.name),value:t.value,dynamic:t.dynamic}}))):null,a=t.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(t,e);var n;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:Va(e,n,!0);return"_c("+t+","+za(e,n)+(r?","+r:"")+")"}(t.component,t,e);else{var r;(!t.plain||t.pre&&e.maybeComponent(t))&&(r=za(t,e));var i=t.inlineTemplate?null:Va(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<e.transforms.length;o++)n=e.transforms[o](t,n);return n}return Va(t,e)||"void 0"}function Ua(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return "+Fa(t,e)+"}"),e.pre=n,"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function ja(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Na(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+Fa(t,e)+","+e.onceId+++","+n+")":Fa(t,e)}return Ua(t,e)}function Na(t,e,n,r){return t.ifProcessed=!0,function t(e,n,r,i){if(!e.length)return i||"_e()";var o=e.shift();return o.exp?"("+o.exp+")?"+a(o.block)+":"+t(e,n,r,i):""+a(o.block);function a(t){return r?r(t,n):t.once?ja(t,n):Fa(t,n)}}(t.ifConditions.slice(),e,n,r)}function Ga(t,e,n,r){var i=t.for,o=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(r||"_l")+"(("+i+"),function("+o+a+s+"){return "+(n||Fa)(t,e)+"})"}function za(t,e){var n="{",r=function(t,e){var n=t.directives;if(!n)return;var r,i,o,a,s="directives:[",c=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var u=e.directives[o.name];u&&(a=!!u(t,o,e.warn)),a&&(c=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}if(c)return s.slice(0,-1)+"]"}(t,e);r&&(n+=r+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var i=0;i<e.dataGenFns.length;i++)n+=e.dataGenFns[i](t);if(t.attrs&&(n+="attrs:"+Xa(t.attrs)+","),t.props&&(n+="domProps:"+Xa(t.props)+","),t.events&&(n+=Pa(t.events,!1)+","),t.nativeEvents&&(n+=Pa(t.nativeEvents,!0)+","),t.slotTarget&&!t.slotScope&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=function(t,e,n){var r=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||Ha(n)})),i=!!t.if;if(!r)for(var o=t.parent;o;){if(o.slotScope&&"_empty_"!==o.slotScope||o.for){r=!0;break}o.if&&(i=!0),o=o.parent}var a=Object.keys(e).map((function(t){return Wa(e[t],n)})).join(",");return"scopedSlots:_u(["+a+"]"+(r?",null,true":"")+(!r&&i?",null,false,"+function(t){var e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e>>>0}(a):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var r=Da(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+Xa(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Ha(t){return 1===t.type&&("slot"===t.tag||t.children.some(Ha))}function Wa(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Na(t,e,Wa,"null");if(t.for&&!t.forProcessed)return Ga(t,e,Wa);var r="_empty_"===t.slotScope?"":String(t.slotScope),i="function("+r+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Va(t,e)||"undefined")+":undefined":Va(t,e)||"undefined":Fa(t,e))+"}",o=r?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+i+o+"}"}function Va(t,e,n,r,i){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(r||Fa)(a,e)+s}var c=n?function(t,e){for(var n=0,r=0;r<t.length;r++){var i=t[r];if(1===i.type){if(Za(i)||i.ifConditions&&i.ifConditions.some((function(t){return Za(t.block)}))){n=2;break}(e(i)||i.ifConditions&&i.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}(o,e.maybeComponent):0,u=i||Qa;return"["+o.map((function(t){return u(t,e)})).join(",")+"]"+(c?","+c:"")}}function Za(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Qa(t,e){return 1===t.type?Fa(t,e):3===t.type&&t.isComment?function(t){return"_e("+JSON.stringify(t.text)+")"}(t):function(t){return"_v("+(2===t.type?t.expression:Ya(JSON.stringify(t.text)))+")"}(t)}function Xa(t){for(var e="",n="",r=0;r<t.length;r++){var i=t[r],o=Ya(i.value);i.dynamic?n+=i.name+","+o+",":e+='"'+i.name+'":'+o+","}return e="{"+e.slice(0,-1)+"}",n?"_d("+e+",["+n.slice(0,-1)+"])":e}function Ya(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function Ja(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),R}}function qa(t){var e=Object.create(null);return function(n,r,i){(r=L({},r)).warn;delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(e[o])return e[o];var a=t(n,r);var s={},c=[];return s.render=Ja(a.render,c),s.staticRenderFns=a.staticRenderFns.map((function(t){return Ja(t,c)})),e[o]=s}}var Ka,$a,ts=(Ka=function(t,e){var n=ca(t.trim(),e);!1!==e.optimize&&Ma(n,e);var r=Da(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(t){function e(e,n){var r=Object.create(t),i=[],o=[];if(n)for(var a in n.modules&&(r.modules=(t.modules||[]).concat(n.modules)),n.directives&&(r.directives=L(Object.create(t.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(r[a]=n[a]);r.warn=function(t,e,n){(n?o:i).push(t)};var s=Ka(e.trim(),r);return s.errors=i,s.tips=o,s}return{compile:e,compileToFunctions:qa(e)}})(ba),es=(ts.compile,ts.compileToFunctions);function ns(t){return($a=$a||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',$a.innerHTML.indexOf(" ")>0}var rs=!!Q&&ns(!1),is=!!Q&&ns(!0),os=w((function(t){var e=er(t);return e&&e.innerHTML})),as=Cn.prototype.$mount;Cn.prototype.$mount=function(t,e){if((t=t&&er(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=os(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){0;var i=es(r,{outputSourceRange:!1,shouldDecodeNewlines:rs,shouldDecodeNewlinesForHref:is,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return as.call(this,t,e)},Cn.compile=es,e.default=Cn}.call(this,n(12),n(94).setImmediate)},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,i,o,a,s,c=1,u={},l=!1,h=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){p(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){p(t.data)},r=function(t){o.port2.postMessage(t)}):h&&"onreadystatechange"in h.createElement("script")?(i=h.documentElement,r=function(t){var e=h.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):r=function(t){setTimeout(p,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&p(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(e){t.postMessage(a+e,"*")}),f.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var i={callback:t,args:e};return u[c]=i,r(c),c++},f.clearImmediate=d}function d(t){delete u[t]}function p(t){if(l)setTimeout(p,0,t);else{var e=u[t];if(e){l=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{d(t),l=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(12),n(82))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s(n(91)),i=n(5),o=s(n(8)),a=n(6);function s(t){return t&&t.__esModule?t:{default:t}}e.default={name:"BasicLayout",inject:["slotsList"],computed:{nav:function(){return this.$store.state.user.addRouters},appRouter:function(){return this.$store.state.user.appRouters}},data:function(){return{layout:"SidebarWrapper"}},methods:{changeLayout:function(){var t=this.$route.matched;t[1]&&"BasicLayout"===t[1].components.default.name&&this.$store.commit("user/SET_ROUTERS",[this.appRouter[0].children[1]])}},created:function(){this.changeLayout()},mounted:function(){var t=this;this.$watch("$route",(function(e){var n=e.matched;if(t.nav&&!(0,a.isEmpty)(t.nav)&&!(0,a.isEmpty)(t.nav[0].children)){var r=(0,i.treeFindPath)(t.nav[0].children,(function(t){return t.meta.id===n[n.length-1].meta.id}));(0,a.isEmpty)(r)||!r.length||(0,a.isFunction)(r[0].component)||(t.layout=r[0].component.name)}}),{immediate:!0,deep:!0})},render:function(){var t=arguments[0],e=(0,o.default)([i.prefixCls+"-layout-light",i.prefixCls+"-basic-layout"]);return t("a-layout",{class:e},[t(r.default,{attrs:{theme:"MapWrapper"===this.layout?"dark":"light",fixed:"MapWrapper"===this.layout,"nav-list":this.nav[0].children}}),t("a-layout-content",[this.slotsList.content?this.slotsList.content:null,t("router-view",{class:i.prefixCls+"-layout-content"})])])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),i=a(n(54)),o=n(55);a(o);function a(t){return t&&t.__esModule?t:{default:t}}e.default={name:"MapWrapper",components:{GMap:o.GMap},data:function(){return{isLoaded:!1}},methods:{mapLoad:function(t,e,n){t&&(this.isLoaded=!0),i.default.$emit("loadMap",t)}},render:function(){var t=arguments[0];return t("span",[t(o.GMap,{on:{load:this.mapLoad}}),this.isLoaded?t("router-view",{attrs:{theme:"dark",fixed:!0},class:r.prefixCls+"-layout-content"}):null])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"NoSliderWrapper",render:function(){var t=arguments[0];return t("router-view")}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=c(n(56)),i=c(n(35)),o=n(5),a=n(6),s=c(n(8));function c(t){return t&&t.__esModule?t:{default:t}}e.default={name:"SliderWrapper",props:{theme:{type:String,default:"light"},fixed:{type:Boolean,default:!1}},computed:{nav:function(){return this.$store.state.user.addRouters}},data:function(){return{sidebarList:[],openKeys:[],selectedKeys:[]}},mounted:function(){var t=this;this.$watch("$route",(function(e){var n=e.matched;if(t.nav&&!(0,a.isEmpty)(t.nav)&&!(0,a.isEmpty)(t.nav[0].children)){var r=(0,o.treeFindPath)(t.nav[0].children,(function(t){return t.meta.id===n[n.length-1].meta.id}));t.sidebarList=r[0].children}}),{immediate:!0})},render:function(){var t=arguments[0],e=(0,s.default)([o.prefixCls+"-slider-"+this.theme,this.fixed?o.prefixCls+"-slider-fixed":""]);return t("a-layout",{class:o.prefixCls+"-full-layout"},[this.fixed?t("a-affix",{attrs:{"offset-top":70}},[t(r.default,{attrs:{sidebarList:this.sidebarList,theme:this.theme},class:e})]):t(r.default,{attrs:{sidebarList:this.sidebarList,theme:this.theme},class:e}),t("a-layout-content",[t("div",{attrs:{id:"microApp"}}),t(i.default)])])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"NormalIcon",render:function(){var t=arguments[0];return t("svg",{attrs:{t:"1631500138971",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"12851",width:"200",height:"200"},class:"rk-web-core-normal-icon"},[t("path",{attrs:{d:"M51.2 320m51.2 0l102.4 0q51.2 0 51.2 51.2l0 512q0 51.2-51.2 51.2l-102.4 0q-51.2 0-51.2-51.2l0-512q0-51.2 51.2-51.2Z","p-id":"12852"}}),t("path",{attrs:{d:"M409.6 512m51.2 0l102.4 0q51.2 0 51.2 51.2l0 307.2q0 51.2-51.2 51.2l-102.4 0q-51.2 0-51.2-51.2l0-307.2q0-51.2 51.2-51.2Z","p-id":"12853"}}),t("path",{attrs:{d:"M768 115.2m51.2 0l102.4 0q51.2 0 51.2 51.2l0 716.8q0 51.2-51.2 51.2l-102.4 0q-51.2 0-51.2-51.2l0-716.8q0-51.2 51.2-51.2Z","p-id":"12854"}})])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=l(n(8)),i=n(5),o=l(n(35)),a=l(n(53)),s=l(n(56)),c=l(n(92)),u=l(n(93));function l(t){return t&&t.__esModule?t:{default:t}}e.default={name:"AdminLayout",inject:["slotsList"],computed:{nav:function(){return this.$store.state.user.addRouters}},data:function(){return{sidebarList:[],openKeys:[],selectedKeys:[],isOpen:!0}},methods:{handleSidebarChange:function(t){this.isOpen=t}},render:function(){var t=this,e=arguments[0],n=(0,r.default)([i.prefixCls+"-layout-light",i.prefixCls+"-basic-layout",i.prefixCls+"-admin-layout"]),l=(0,r.default)([i.prefixCls+"-header",i.prefixCls+"-header-light",i.prefixCls+"-header-light-header",this.isOpen?"":i.prefixCls+"-header-between"]),h=(0,r.default)([i.prefixCls+"-slider-light"]);return e("a-layout",{class:n},[e("a-layout-sider",{class:i.prefixCls+"-slider",attrs:{width:this.isOpen?250:0}},[this.slotsList.logo?this.slotsList.logo:e(a.default,{attrs:{prefix:"basic",theme:"light"}}),e(s.default,{attrs:{sidebarList:this.nav[0].children},class:h,on:{change:function(e){return t.handleSidebarChange(e)}}})]),e("a-layout",[e("a-layout-header",{class:l},[this.isOpen?null:this.slotsList.logo?this.slotsList.logo:e(a.default,{attrs:{prefix:"basic",theme:"light"}}),e("div",{class:[i.prefixCls+"-header-light-inner",i.prefixCls+"-header-inner"]},[this.slotsList.header?this.slotsList.header:null,e(c.default),e(u.default)])]),e("a-layout-content",[e(o.default)])])])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=c(n(8)),i=n(5),o=c(n(35)),a=c(n(53)),s=c(n(56));function c(t){return t&&t.__esModule?t:{default:t}}e.default={name:"FullHeaderLayout",inject:["slotsList"],computed:{nav:function(){return this.$store.state.user.addRouters}},data:function(){return{sidebarList:[],openKeys:[],selectedKeys:[]}},render:function(){var t=arguments[0],e=(0,r.default)([i.prefixCls+"-layout-light",i.prefixCls+"-basic-layout",i.prefixCls+"-admin-layout",i.prefixCls+"-fullHeader-layout"]),n=(0,r.default)([i.prefixCls+"-header",i.prefixCls+"-header-light"]),c=(0,r.default)([i.prefixCls+"-slider-light"]);return t("a-layout",{class:e},[t("a-layout-header",{class:n},[t("div",{class:[i.prefixCls+"-header-light-inner",i.prefixCls+"-header-inner"]},[this.slotsList.logo?this.slotsList.logo:t(a.default,{attrs:{prefix:"basic",theme:"light"}}),t("div",{class:i.prefixCls+"-header-right"},[t("div",{class:i.prefixCls+"-header-right-extra"},[this.slotsList.header])])])]),t("a-layout",[t(s.default,{attrs:{sidebarList:this.nav[0].children},class:c}),t("a-layout-content",[t(o.default)])])])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(223)),i=a(n(29)),o=a(n(28));function a(t){return t&&t.__esModule?t:{default:t}}var s=function t(e){(0,o.default)(this,t),this.data=e,this.parent=null,this.children=[]},c=function(){function t(){(0,o.default)(this,t),this._root=null}return(0,i.default)(t,[{key:"traverseDF",value:function(t){var e=[],n=!1;e.unshift(this._root);for(var i=e.shift();!n&&i;)(n=!0===t(i))||(e.unshift.apply(e,(0,r.default)(i.children)),i=e.shift())}},{key:"traverseBF",value:function(t){var e=[],n=!1;e.push(this._root);for(var i=e.shift();!n&&i;)(n=!0===t(i))||(e.push.apply(e,(0,r.default)(i.children)),i=e.shift())}},{key:"contains",value:function(t,e){e.call(this,t)}},{key:"add",value:function(t,e,n){var r=new s(t);if(null===this._root)return this._root=r,this;var i=null;if(this.contains((function(t){if(t.data===e)return i=t,!0}),n),i)return i.children.push(r),r.parent=i,this;throw new Error("Cannot add node to a non-existent parent.")}},{key:"remove",value:function(t,e,n){var r=null;if(this.contains((function(t){if(t.data===e)return r=t,!0}),n),!r)throw new Error("Parent does not exist.");var i=this._findIndex(r.children,t);if(i<0)throw new Error("Node to remove does not exist.");return r.children.splice(i,1)}},{key:"_findIndex",value:function(t,e){for(var n=-1,r=0,i=t.length;r<i;r++)if(t[r].data===e){n=r;break}return n}}]),t}();e.default=c},function(t,e,n){"use strict";e.__esModule=!0;var r,i=n(224),o=(r=i)&&r.__esModule?r:{default:r};e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,o.default)(t)}},function(t,e,n){t.exports={default:n(225),__esModule:!0}},function(t,e,n){n(32),n(226),t.exports=n(0).Array.from},function(t,e,n){"use strict";var r=n(18),i=n(4),o=n(21),a=n(65),s=n(66),c=n(37),u=n(227),l=n(47);i(i.S+i.F*!n(71)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,h,f=o(t),d="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=0,y=l(f);if(g&&(m=r(m,p>2?arguments[2]:void 0,2)),null==y||d==Array&&s(y))for(n=new d(e=c(f.length));e>v;v++)u(n,v,g?m(f[v],v):f[v]);else for(h=y.call(f),n=new d;!(i=h.next()).done;v++)u(n,v,g?a(h,m,[i.value,v],!0):i.value);return n.length=v,n}})},function(t,e,n){"use strict";var r=n(15),i=n(42);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.noLogin=void 0;var r=n(34),i=n(7);e.noLogin=function(t,e){return e||console.warn("token is not undefined"),function(){var n=(0,r.getUrlParam)("shopId");n?(i.localStore.set("access_token",e),i.localStore.set("code","demo"),i.localStore.set("test_project",{shopId:(0,r.getUrlParam)("shopId")||i.localStore.get("test_project").shopId,flag:(0,r.getUrlParam)("flag")||i.localStore.get("test_project").flag}),t.replace({path:"/",query:{shopId:n}}).then()):(i.localStore.remove("test_project"),sessionStorage.removeItem("noLogin"))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(54),o=(r=i)&&r.__esModule?r:{default:r};n(6);var a={name:"AppLayout",props:{datetime:{type:Boolean,default:!0},weather:{type:Boolean,default:!0},wind:{type:Boolean,default:!0},keep:{type:Boolean,default:!1},needMap:{type:Boolean,default:!1},project:{type:Boolean,default:!1},nav:{type:Boolean,default:!0},right:{type:Boolean,default:!0}},provide:function(){return{slotsList:this.$slots,propsList:this.$props,instance:this}},mounted:function(){var t=this;o.default.$on("loadMap",(function(e){console.log("***************MAPTALKS*****************"),console.log(e),console.log("***************MAPTALKS*****************"),t.$emit("load",e)}))},updated:function(){var t=this;this.$nextTick((function(){t.$store.commit("user/SET_TIME_STAMP",{type:"app",timeStamp:""+(new Date).getTime()})}))},beforeDestroy:function(){o.default.$off("loadMap")},methods:{},render:function(){var t=arguments[0],e=this.$slots;return t("div",{class:"rk-web-core-layout"},[e.default])},install:function(t){t.component(a.name,a)}};e.default=a},function(t,e,n){"use strict";n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239)},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s(n(11)),i=s(n(28)),o=s(n(29));e.microOne=h,e.microTwo=f,e.microThree=function(){window.__MICRO_APP_ENVIRONMENT__?window["micro-app-"+window.__MICRO_APP_NAME__]={mount:h(),unmount:f()}:h()};var a=s(n(241));function s(t){return t&&t.__esModule?t:{default:t}}var c=void 0,u=void 0,l=function(){function t(){(0,i.default)(this,t)}return(0,o.default)(t,[{key:"start",value:function(t){a.default.start((0,r.default)({},t))}},{key:"isMicro",value:function(){return window.__MICRO_APP_ENVIRONMENT__}},{key:"publicPath",value:function(){window.__MICRO_APP_ENVIRONMENT__&&(n.p=window.__MICRO_APP_PUBLIC_PATH__)}},{key:"registerMicro",value:function(t,e){return c=function(){console.log("********************render micro app********************"),u=new t(e).$mount("#app")},window.__MICRO_APP_ENVIRONMENT__||c(),{renderSub:c,subInstance:u,instance:a.default}}}]),t}();function h(){c()}function f(){u.$destroy(),u.$el.innerHTML="",u=null}e.default=new l},function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"EventCenterForMicroApp",(function(){return Lt})),n.d(e,"MicroApp",(function(){return $t})),n.d(e,"getActiveApps",(function(){return Yt})),n.d(e,"getAllApps",(function(){return Jt})),n.d(e,"preFetch",(function(){return Qt})),n.d(e,"pureCreateElement",(function(){return P})),n.d(e,"removeDomScope",(function(){return L})),n.d(e,"unmountAllApps",(function(){return Kt})),n.d(e,"unmountApp",(function(){return qt})),n.d(e,"version",(function(){return r}));const r="0.8.4",i="undefined"!=typeof window,o=void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:Function("return this")();function a(t){return"string"==typeof t}function s(t){return"boolean"==typeof t}function c(t){return"function"==typeof t}const u=Array.isArray;function l(t){return"[object Object]"===toString.call(t)}function h(t){return"[object Promise]"===toString.call(t)}function f(t){return c(t)&&0===t.name.indexOf("bound ")&&!t.hasOwnProperty("prototype")}const d=Object.defineProperty,p=Object.defineProperties,m=Object.prototype.hasOwnProperty;function g(t,e=null,...n){const r=e&&a(e)?` app ${e}:`:"";a(t)?console.error(`[micro-app]${r} ${t}`,...n):console.error("[micro-app]"+r,t,...n)}function v(t,e=null,...n){const r=e&&a(e)?` app ${e}:`:"";a(t)?console.warn(`[micro-app]${r} ${t}`,...n):console.warn("[micro-app]"+r,t,...n)}function y(t,...e){Promise.resolve().then(t.bind(null,...e))}function _(t){return t.startsWith("//")?`${location.protocol}${t}`:t}function x(t,e=null){if(!a(t)||!t)return"";try{const{origin:e,pathname:n,search:r}=new URL(_(t));if(/\.(\w+)$/.test(n))return`${e}${n}${r}`;const i=`${e}${n}/`.replace(/\/\/$/,"/");return/^https?:\/\//.test(i)?`${i}${r}`:""}catch(t){return g(t,e),""}}function b(t){return a(t)&&t?t.replace(/(^\d+)|([^\w\d-_])/gi,""):""}function w(t){const{origin:e,pathname:n}=new URL(t);if(/\.(\w+)$/.test(n)){const t=`${e}${n}`.split("/");return t.pop(),t.join("/")+"/"}return`${e}${n}/`.replace(/\/\/$/,"/")}function M(t,e){return!t||/^((((ht|f)tps?)|file):)?\/\//.test(t)||/^(data|blob):/.test(t)?t:new URL(t,w(_(e))).toString()}function S(t,e,n,r){let i=0;function o(){++i===t.length&&r&&r()}t.forEach((t,r)=>{h(t)?t.then(t=>{e({data:t,index:r}),o()}).catch(t=>{n({error:t,index:r}),o()}):(e({data:t,index:r}),o())})}const A=o.requestIdleCallback||function(t){const e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))})}),50)};let C=null;function E(t){C=t}function T(t){C!==t&&(E(t),y(()=>{E(null)}))}function I(){return C}function L(){E(null)}function P(t,e){const n=document.createElement(t,e);return n.__MICRO_APP_NAME__&&delete n.__MICRO_APP_NAME__,n}function R(t,e,n){if(e.innerHTML="",n){const n=t.cloneNode(!0),r=document.createDocumentFragment();Array.from(n.childNodes).forEach(t=>{r.appendChild(t)}),e.appendChild(r)}else Array.from(t.childNodes).forEach(t=>{e.appendChild(t)})}function O(t){return!t||/(^\d)|([^\w\d-_\u4e00-\u9fa5])/gi.test(t)}function k(t){return/^body$/i.test(t)||/^head$/i.test(t)||/^html$/i.test(t)}function B(t){return function(t){return"undefined"!=typeof ShadowRoot&&t instanceof ShadowRoot}(t)?t.host:t}function D(t){return t?t.replace(/^\s+|\s+$/g,""):""}function F(){return navigator.userAgent.indexOf("Firefox")>-1}var U,j,N,G;!function(t){t.NAME="name",t.URL="url"}(U||(U={})),function(t){t.NOT_LOADED="NOT_LOADED",t.LOADING_SOURCE_CODE="LOADING_SOURCE_CODE",t.LOAD_SOURCE_FINISHED="LOAD_SOURCE_FINISHED",t.LOAD_SOURCE_ERROR="LOAD_SOURCE_ERROR",t.MOUNTING="MOUNTING",t.MOUNTED="MOUNTED",t.UNMOUNT="UNMOUNT"}(j||(j={})),function(t){t.CREATED="created",t.BEFOREMOUNT="beforemount",t.MOUNTED="mounted",t.UNMOUNT="unmount",t.ERROR="error",t.BEFORESHOW="beforeshow",t.AFTERSHOW="aftershow",t.AFTERHIDDEN="afterhidden"}(N||(N={})),function(t){t.KEEP_ALIVE_SHOW="KEEP_ALIVE_SHOW",t.KEEP_ALIVE_HIDDEN="KEEP_ALIVE_HIDDEN"}(G||(G={}));const z="window,self,globalThis,Array,Object,String,Boolean,Math,Number,Symbol,Date,Promise,Function,Proxy,WeakMap,WeakSet,Set,Map,Reflect,Element,Node,Document,RegExp,Error,TypeError,JSON,isNaN,parseFloat,parseInt,performance,console,decodeURI,encodeURI,decodeURIComponent,encodeURIComponent,location,navigator,undefined";function H(t,e=null,n={}){return c(te.fetch)?te.fetch(t,n,e):fetch(t,n).then(t=>t.text())}const W=/(^|\s+)(html|:root)(?=[\s>~[.#:]+|$)/,V=/(^|\s+)((html[\s>~]+body)|body)(?=[\s>~[.#:]+|$)/;function Z(t,e){t=e?`${e} ${t}`:t;const n=new Error(t);throw n.reason=t,e&&(n.filename=e),n}class Q{constructor(){this.cssText="",this.prefix="",this.baseURI="",this.linkPath="",this.result="",this.scopecssDisable=!1,this.scopecssDisableSelectors=[],this.scopecssDisableNextLine=!1,this.mediaRule=this.createMatcherForAtRuleWithChildRule(/^@media *([^{]+)/,"media"),this.supportsRule=this.createMatcherForAtRuleWithChildRule(/^@supports *([^{]+)/,"supports"),this.documentRule=this.createMatcherForAtRuleWithChildRule(/^@([-\w]+)?document *([^{]+)/,"document"),this.hostRule=this.createMatcherForAtRuleWithChildRule(/^@host\s*/,"host"),this.importRule=this.createMatcherForNoneBraceAtRule("import"),this.charsetRule=this.createMatcherForNoneBraceAtRule("charset"),this.namespaceRule=this.createMatcherForNoneBraceAtRule("namespace")}exec(t,e,n,r){return this.cssText=t,this.prefix=e,this.baseURI=n,this.linkPath=r||"",this.matchRules(),F()?decodeURIComponent(this.result):this.result}reset(){this.cssText=this.prefix=this.baseURI=this.linkPath=this.result="",this.scopecssDisable=this.scopecssDisableNextLine=!1,this.scopecssDisableSelectors=[]}matchRules(){for(this.matchLeadingSpaces(),this.matchComments();this.cssText.length&&"}"!==this.cssText.charAt(0)&&(this.matchAtRule()||this.matchStyleRule());)this.matchComments()}matchStyleRule(){const t=this.formatSelector(!0);return this.scopecssDisableNextLine=!1,t?(this.recordResult(t),this.matchComments(),this.styleDeclarations(),this.matchLeadingSpaces(),!0):Z("selector missing",this.linkPath)}formatSelector(t){const e=this.commonMatch(/^([^{]+)/,t);return!!e&&e[0].replace(/(^|,[\n\s]*)([^,]+)/g,(t,e,n)=>(n=D(n),this.scopecssDisableNextLine||this.scopecssDisable&&(!this.scopecssDisableSelectors.length||this.scopecssDisableSelectors.includes(n))||W.test(n)||(n=V.test(n)?n.replace(V,this.prefix+" micro-app-body"):this.prefix+" "+n),e+n))}styleDeclarations(){return this.matchOpenBrace()?(this.matchAllDeclarations(),!!this.matchCloseBrace()||Z("Declaration missing '}'",this.linkPath)):Z("Declaration missing '{'",this.linkPath)}matchAllDeclarations(){let t=this.commonMatch(/^(?:url\(["']?(?:[^)"'}]+)["']?\)|[^}/])*/,!0)[0];if(t&&(this.scopecssDisableNextLine||this.scopecssDisable&&!this.scopecssDisableSelectors.length||(t=t.replace(/url\(["']?([^)"']+)["']?\)/gm,(t,e)=>/^((data|blob):|#)/.test(e)||/^(https?:)?\/\//.test(e)?t:(/^((\.\.?\/)|[^/])/.test(e)&&this.linkPath&&(this.baseURI=function(t){const e=t.split("/");return e.pop(),_(e.join("/")+"/")}(this.linkPath)),`url("${M(e,this.baseURI)}")`))),this.recordResult(t)),this.scopecssDisableNextLine=!1,this.cssText&&"}"!==this.cssText.charAt(0))return"/"===this.cssText.charAt(0)&&"*"===this.cssText.charAt(1)?this.matchComments():this.commonMatch(/\/+/),this.matchAllDeclarations()}matchAtRule(){return"@"===this.cssText[0]&&(this.scopecssDisableNextLine=!1,this.keyframesRule()||this.mediaRule()||this.customMediaRule()||this.supportsRule()||this.importRule()||this.charsetRule()||this.namespaceRule()||this.documentRule()||this.pageRule()||this.hostRule()||this.fontFaceRule())}keyframesRule(){if(!this.commonMatch(/^@([-\w]+)?keyframes\s*/))return!1;if(!this.commonMatch(/^([-\w]+)\s*/))return Z("@keyframes missing name",this.linkPath);if(this.matchComments(),!this.matchOpenBrace())return Z("@keyframes missing '{'",this.linkPath);for(this.matchComments();this.keyframeRule();)this.matchComments();return this.matchCloseBrace()?(this.matchLeadingSpaces(),!0):Z("@keyframes missing '}'",this.linkPath)}keyframeRule(){let t;const e=[];for(;t=this.commonMatch(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)e.push(t[1]),this.commonMatch(/^,\s*/);return!!e.length&&(this.styleDeclarations(),this.matchLeadingSpaces(),!0)}customMediaRule(){return!!this.commonMatch(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/)&&(this.matchLeadingSpaces(),!0)}pageRule(){return!!this.commonMatch(/^@page */)&&(this.formatSelector(!1),this.scopecssDisableNextLine=!1,this.commonHandlerForAtRuleWithSelfRule("page"))}fontFaceRule(){return!!this.commonMatch(/^@font-face\s*/)&&this.commonHandlerForAtRuleWithSelfRule("font-face")}createMatcherForAtRuleWithChildRule(t,e){return()=>!!this.commonMatch(t)&&(this.matchOpenBrace()?(this.matchComments(),this.matchRules(),this.matchCloseBrace()?(this.matchLeadingSpaces(),!0):Z(`@${e} missing '}'`,this.linkPath)):Z(`@${e} missing '{'`,this.linkPath))}createMatcherForNoneBraceAtRule(t){const e=new RegExp("^@"+t+"\\s*([^;]+);");return()=>!!this.commonMatch(e)&&(this.matchLeadingSpaces(),!0)}commonHandlerForAtRuleWithSelfRule(t){return this.matchOpenBrace()?(this.matchAllDeclarations(),this.matchCloseBrace()?(this.matchLeadingSpaces(),!0):Z(`@${t} missing '}'`,this.linkPath)):Z(`@${t} missing '{'`,this.linkPath)}matchComments(){for(;this.matchComment(););}matchComment(){if("/"!==this.cssText.charAt(0)||"*"!==this.cssText.charAt(1))return!1;this.scopecssDisableNextLine=!1;let t=2;for(;""!==this.cssText.charAt(t)&&("*"!==this.cssText.charAt(t)||"/"!==this.cssText.charAt(t+1));)++t;if(t+=2,""===this.cssText.charAt(t-1))return Z("End of comment missing",this.linkPath);let e=this.cssText.slice(2,t-2);if(this.recordResult(`/*${e}*/`),e=D(e.replace(/^\s*!/,"")),"scopecss-disable-next-line"===e)this.scopecssDisableNextLine=!0;else if(/^scopecss-disable/.test(e))if("scopecss-disable"===e)this.scopecssDisable=!0;else{this.scopecssDisable=!0;e.replace("scopecss-disable","").split(",").forEach(t=>{this.scopecssDisableSelectors.push(D(t))})}else"scopecss-enable"===e&&(this.scopecssDisable=!1,this.scopecssDisableSelectors=[]);return this.cssText=this.cssText.slice(t),this.matchLeadingSpaces(),!0}commonMatch(t,e=!1){const n=t.exec(this.cssText);if(!n)return;const r=n[0];return this.cssText=this.cssText.slice(r.length),e||this.recordResult(r),n}matchOpenBrace(){return this.commonMatch(/^{\s*/)}matchCloseBrace(){return this.commonMatch(/^}/)}matchLeadingSpaces(){this.commonMatch(/^\s*/)}recordResult(t){F()?this.result+=encodeURIComponent(t):this.result+=t}}function X(t,e,n,r,i){if(!t.__MICRO_APP_HAS_SCOPED__){t.__MICRO_APP_HAS_SCOPED__=!0;let o=null;try{o=Y.exec(t.textContent,n,r,i),Y.reset()}catch(t){Y.reset(),g("An error occurred while parsing CSS:\n",e,t)}o&&(t.textContent=o)}}let Y;function J(t,e){if(e.scopecss){const n=`${te.tagName}[name=${e.name}]`;if(Y||(Y=new Q),t.textContent)X(t,e.name,n,e.url,t.__MICRO_APP_LINK_PATH__);else{const r=new MutationObserver((function(){r.disconnect(),t.textContent&&!t.hasAttribute("data-styled")&&X(t,e.name,n,e.url,t.__MICRO_APP_LINK_PATH__)}));r.observe(t,{childList:!0})}}return t}function q(t,e){Object.defineProperties(t,{currentTarget:{get:()=>e},srcElement:{get:()=>e},target:{get:()=>e}})}function K(t){const e=new CustomEvent("load");q(e,t),c(t.onload)?t.onload(e):t.dispatchEvent(e)}function $(t){const e=new CustomEvent("error");q(e,t),c(t.onerror)?t.onerror(e):t.dispatchEvent(e)}const tt=new Map;function et(t,e,n,r=!1){const i=t.getAttribute("rel");let o=t.getAttribute("href"),a=null;if("stylesheet"===i&&o){if(o=M(o,n.url),r)return{url:o,info:{code:"",isGlobal:t.hasAttribute("global")}};a=document.createComment(`link element with href=${o} move to micro-app-head as style element`),n.source.links.set(o,{code:"",placeholder:a,isGlobal:t.hasAttribute("global")})}else i&&["prefetch","preload","prerender","icon","apple-touch-icon"].includes(i)?r?a=document.createComment(`link element with rel=${i}${o?" & href="+o:""} removed by micro-app`):e.removeChild(t):o&&t.setAttribute("href",M(o,n.url));return r?{replaceComment:a}:a?e.replaceChild(a,t):void 0}function nt(t,e,n){const r=Array.from(e.source.links.entries());S(r.map(([t])=>tt.has(t)?tt.get(t):H(t,e.name)),t=>{!function(t,e,n,r,i){e.isGlobal&&!tt.has(t)&&tt.set(t,n);const o=P("style");o.textContent=n,o.__MICRO_APP_LINK_PATH__=t,o.setAttribute("data-origin-href",t),e.placeholder.parentNode?e.placeholder.parentNode.replaceChild(J(o,i),e.placeholder):r.appendChild(J(o,i));e.placeholder=null,e.code=n}(r[t.index][0],r[t.index][1],t.data,n,e)},t=>{g(t,e.name)},()=>{e.onLoad(t)})}const rt=new WeakMap;function it(t,e,n){if(e instanceof HTMLStyleElement){if(e.hasAttribute("exclude")){const t=document.createComment("style element with exclude attribute ignored by micro-app");return rt.set(e,t),t}return n.scopecss&&!e.hasAttribute("ignore")?J(e,n):e}if(e instanceof HTMLLinkElement){if(e.hasAttribute("exclude")){const t=document.createComment("link element with exclude attribute ignored by micro-app");return rt.set(e,t),t}if(e.hasAttribute("ignore"))return e;const{url:r,info:i,replaceComment:o}=et(e,t,n,!0);if(r&&i){const t=P("style");return t.__MICRO_APP_LINK_PATH__=r,function(t,e,n,r,i){if(n.source.links.has(t))return i.textContent=n.source.links.get(t).code,J(i,n),void y(()=>K(r));if(tt.has(t)){const o=tt.get(t);return e.code=o,n.source.links.set(t,e),i.textContent=o,J(i,n),void y(()=>K(r))}H(t,n.name).then(o=>{e.code=o,n.source.links.set(t,e),e.isGlobal&&tt.set(t,o),i.textContent=o,J(i,n),K(r)}).catch(t=>{g(t,n.name),$(r)})}(r,i,n,e,t),rt.set(e,t),t}return o?(rt.set(e,o),o):e}if(e instanceof HTMLScriptElement){const{replaceComment:r,url:i,info:o}=yt(e,t,n,!0)||{};if(i&&o){if(o.isExternal){const t=function(t,e,n,r){const i=()=>K(r);if(n.source.scripts.has(t)){const e=n.source.scripts.get(t);return!e.module&&y(i),xt(t,n,e,!0,i)}if(vt.has(t)){const r=vt.get(t);return e.code=r,n.source.scripts.set(t,e),!e.module&&y(i),xt(t,n,e,!0,i)}let o;o=n.inline||e.module?P("script"):document.createComment(`dynamic script with src='${t}' extract by micro-app`);return H(t,n.name).then(a=>{e.code=a,n.source.scripts.set(t,e),e.isGlobal&&vt.set(t,a);try{a=Mt(t,n,a,e.module),n.inline||e.module?bt(t,a,e.module,o,i):wt(a,e)}catch(e){console.error(`[micro-app from runDynamicScript] app ${n.name}: `,e,t)}!e.module&&K(r)}).catch(t=>{g(t,n.name),$(r)}),o}(i,o,n,e);return rt.set(e,t),t}{const t=xt(i,n,o,!0);return rt.set(e,t),t}}return r?(rt.set(e,r),r):e}return e}function ot(t,e,n,r,i){if(n===document.head){const o=t.container.querySelector("micro-app-head");return i&&!o.contains(i)?mt.rawAppendChild.call(o,r):e!==mt.rawRemoveChild||o.contains(r)?e===mt.rawAppend||e===mt.rawPrepend?e.call(o,r):e.call(o,r,i):n.contains(r)?e.call(n,r):r}if(n===document.body){const o=t.container.querySelector("micro-app-body");return i&&!o.contains(i)?mt.rawAppendChild.call(o,r):e!==mt.rawRemoveChild||o.contains(r)?e===mt.rawAppend||e===mt.rawPrepend?e.call(o,r):e.call(o,r,i):n.contains(r)?e.call(n,r):r}return e===mt.rawAppend||e===mt.rawPrepend?e.call(n,r):e.call(n,r,i)}function at(t){var e;return null!==(e=rt.get(t))&&void 0!==e?e:t}function st(t,e,n,r){if(null==e?void 0:e.__MICRO_APP_NAME__){const i=Wt.get(e.__MICRO_APP_NAME__);return(null==i?void 0:i.container)?ot(i,r,t,it(t,e,i),n&&at(n)):r===mt.rawAppend||r===mt.rawPrepend?r.call(t,e):r.call(t,e,n)}if(r===mt.rawAppend||r===mt.rawPrepend){const n=I();if(!(e instanceof Node)&&n){const i=Wt.get(n);if(null==i?void 0:i.container){if(t===document.head)return r.call(i.container.querySelector("micro-app-head"),e);if(t===document.body)return r.call(i.container.querySelector("micro-app-body"),e)}}return r.call(t,e)}return r.call(t,e,n)}function ct(){!function(){const t=mt.rawDocument;function e(e){var n,r,i;const o=I();return o&&e&&!k(e)&&t===this?null!==(i=null===(r=null===(n=Wt.get(o))||void 0===n?void 0:n.container)||void 0===r?void 0:r.querySelector(e))&&void 0!==i?i:null:mt.rawQuerySelector.call(this,e)}function n(e){var n,r,i;const o=I();return o&&e&&!k(e)&&t===this?null!==(i=null===(r=null===(n=Wt.get(o))||void 0===n?void 0:n.container)||void 0===r?void 0:r.querySelectorAll(e))&&void 0!==i?i:[]:mt.rawQuerySelectorAll.call(this,e)}Document.prototype.createElement=function(t,e){return ut(mt.rawCreateElement.call(this,t,e))},Document.prototype.createElementNS=function(t,e,n){return ut(mt.rawCreateElementNS.call(this,t,e,n))},Document.prototype.createDocumentFragment=function(){return ut(mt.rawCreateDocumentFragment.call(this))},Document.prototype.querySelector=e,Document.prototype.querySelectorAll=n,Document.prototype.getElementById=function(t){if(!I()||O(t))return mt.rawGetElementById.call(this,t);try{return e.call(this,"#"+t)}catch(e){return mt.rawGetElementById.call(this,t)}},Document.prototype.getElementsByClassName=function(t){if(!I()||O(t))return mt.rawGetElementsByClassName.call(this,t);try{return n.call(this,"."+t)}catch(e){return mt.rawGetElementsByClassName.call(this,t)}},Document.prototype.getElementsByTagName=function(t){var e;const r=I();if(!r||k(t)||O(t)||!(null===(e=Wt.get(r))||void 0===e?void 0:e.inline)&&/^script$/i.test(t))return mt.rawGetElementsByTagName.call(this,t);try{return n.call(this,t)}catch(e){return mt.rawGetElementsByTagName.call(this,t)}},Document.prototype.getElementsByName=function(t){if(!I()||O(t))return mt.rawGetElementsByName.call(this,t);try{return n.call(this,`[name=${t}]`)}catch(e){return mt.rawGetElementsByName.call(this,t)}}}(),Element.prototype.appendChild=function(t){return st(this,t,null,mt.rawAppendChild)},Element.prototype.insertBefore=function(t,e){return st(this,t,e,mt.rawInsertBefore)},Element.prototype.replaceChild=function(t,e){return st(this,t,e,mt.rawReplaceChild)},Element.prototype.append=function(...t){let e=0;const n=t.length;for(;e<n;)st(this,t[e],null,mt.rawAppend),e++},Element.prototype.prepend=function(...t){let e=t.length;for(;e>0;)st(this,t[e-1],null,mt.rawPrepend),e--},Element.prototype.removeChild=function(t){if(null==t?void 0:t.__MICRO_APP_NAME__){const e=Wt.get(t.__MICRO_APP_NAME__);return(null==e?void 0:e.container)?ot(e,mt.rawRemoveChild,this,at(t)):mt.rawRemoveChild.call(this,t)}return mt.rawRemoveChild.call(this,t)},Element.prototype.cloneNode=function(t){const e=mt.rawCloneNode.call(this,t);return this.__MICRO_APP_NAME__&&(e.__MICRO_APP_NAME__=this.__MICRO_APP_NAME__),e}}function ut(t){const e=I();return e&&(t.__MICRO_APP_NAME__=e),t}let lt=!1;function ht(){E(null),Document.prototype.createElement=mt.rawCreateElement,Document.prototype.createElementNS=mt.rawCreateElementNS,Document.prototype.createDocumentFragment=mt.rawCreateDocumentFragment,Document.prototype.querySelector=mt.rawQuerySelector,Document.prototype.querySelectorAll=mt.rawQuerySelectorAll,Document.prototype.getElementById=mt.rawGetElementById,Document.prototype.getElementsByClassName=mt.rawGetElementsByClassName,Document.prototype.getElementsByTagName=mt.rawGetElementsByTagName,Document.prototype.getElementsByName=mt.rawGetElementsByName,Element.prototype.appendChild=mt.rawAppendChild,Element.prototype.insertBefore=mt.rawInsertBefore,Element.prototype.replaceChild=mt.rawReplaceChild,Element.prototype.removeChild=mt.rawRemoveChild,Element.prototype.append=mt.rawAppend,Element.prototype.prepend=mt.rawPrepend,Element.prototype.cloneNode=mt.rawCloneNode}let ft=!1;function dt(){pt(),Wt.forEach(t=>{t.container&&B(t.container).disconnectedCallback()}),!window.__MICRO_APP_UMD_MODE__&&Wt.clear()}function pt(){window.__MICRO_APP_ENVIRONMENT__&&window.removeEventListener("unmount",dt,!1)}const mt={};function gt(){if(i){const t=Element.prototype.setAttribute,e=Element.prototype.appendChild,n=Element.prototype.insertBefore,r=Element.prototype.replaceChild,i=Element.prototype.removeChild,o=Element.prototype.append,a=Element.prototype.prepend,s=Element.prototype.cloneNode,c=Document.prototype.createElement,u=Document.prototype.createElementNS,l=Document.prototype.createDocumentFragment,h=Document.prototype.querySelector,f=Document.prototype.querySelectorAll,d=Document.prototype.getElementById,p=Document.prototype.getElementsByClassName,m=Document.prototype.getElementsByTagName,g=Document.prototype.getElementsByName,v=new Proxy(Image,{construct(t,e){const n=new t(...e);return n.__MICRO_APP_NAME__=I(),n}}),y=Function("return window")(),_=Function("return document")(),x="noModule"in document.createElement("script"),b=y.addEventListener,w=y.removeEventListener,M=y.setInterval,S=y.setTimeout,A=y.clearInterval,C=y.clearTimeout,E=_.addEventListener,T=_.removeEventListener;window.__MICRO_APP_BASE_APPLICATION__=!0,Object.assign(mt,{rawSetAttribute:t,rawAppendChild:e,rawInsertBefore:n,rawReplaceChild:r,rawRemoveChild:i,rawAppend:o,rawPrepend:a,rawCloneNode:s,rawCreateElement:c,rawCreateElementNS:u,rawCreateDocumentFragment:l,rawQuerySelector:h,rawQuerySelectorAll:f,rawGetElementById:d,rawGetElementsByClassName:p,rawGetElementsByTagName:m,rawGetElementsByName:g,ImageProxy:v,rawWindow:y,rawDocument:_,supportModuleScript:x,rawWindowAddEventListener:b,rawWindowRemoveEventListener:w,rawSetInterval:M,rawSetTimeout:S,rawClearInterval:A,rawClearTimeout:C,rawDocumentAddEventListener:E,rawDocumentRemoveEventListener:T}),function(){if(!ft){ft=!0;const t=P("style");mt.rawSetAttribute.call(t,"type","text/css"),t.textContent=`\n${te.tagName}, micro-app-body { display: block; } \nmicro-app-head { display: none; }`,mt.rawDocument.head.appendChild(t)}}(),pt(),window.__MICRO_APP_ENVIRONMENT__&&window.addEventListener("unmount",dt,!1)}}const vt=new Map;function yt(t,e,n,r=!1){let i=null,o=t.getAttribute("src");if(t.hasAttribute("exclude"))i=document.createComment("script element with exclude attribute removed by micro-app");else{if(t.type&&!["text/javascript","text/ecmascript","application/javascript","application/ecmascript","module"].includes(t.type)||t.hasAttribute("ignore"))return null;if(mt.supportModuleScript&&t.noModule||!mt.supportModuleScript&&"module"===t.type)i=document.createComment((t.noModule?"noModule":"module")+" script ignored by micro-app");else if(o){o=M(o,n.url);const e={code:"",isExternal:!0,isDynamic:r,async:t.hasAttribute("async"),defer:t.defer||"module"===t.type,module:"module"===t.type,isGlobal:t.hasAttribute("global")};if(r)return{url:o,info:e};n.source.scripts.set(o,e),i=document.createComment(`script with src='${o}' extract by micro-app`)}else if(t.textContent){const e="inline-"+Math.random().toString(36).substr(2,15),o={code:t.textContent,isExternal:!1,isDynamic:r,async:!1,defer:"module"===t.type,module:"module"===t.type};if(r)return{url:e,info:o};n.source.scripts.set(e,o),i=document.createComment("inline script extract by micro-app")}else r||(i=document.createComment("script element removed by micro-app"))}return r?{replaceComment:i}:e.replaceChild(i,t)}function _t(t,e){const n=Array.from(e.source.scripts.entries()),r=[],i=[];for(const[t,o]of n)if(o.isExternal){const n=vt.get(t);n?o.code=n:(!o.defer&&!o.async||e.isPrefetch)&&(r.push(H(t,e.name)),i.push([t,o]))}r.length?S(r,t=>{!function(t,e,n){e.isGlobal&&!vt.has(t)&&vt.set(t,n);e.code=n}(i[t.index][0],i[t.index][1],t.data)},t=>{g(t,e.name)},()=>{e.onLoad(t)}):e.onLoad(t)}function xt(t,e,n,r,i){var o;try{const a=Mt(t,e,n.code,n.module);if(e.inline||n.module){const s=P("script");if(bt(t,a,n.module,s,i),r)return s;null===(o=e.container)||void 0===o||o.querySelector("micro-app-body").appendChild(s)}else if(wt(a,n),r)return document.createComment("dynamic script extract by micro-app")}catch(t){console.error(`[micro-app from runScript] app ${e.name}: `,t)}}function bt(t,e,n,r,i){if(n){const t=new Blob([e],{type:"text/javascript"});r.src=URL.createObjectURL(t),r.setAttribute("type","module"),i&&(i.moduleCount&&i.moduleCount--,r.onload=i.bind(r,0===i.moduleCount))}else r.textContent=e;t.startsWith("inline-")||r.setAttribute("data-origin-src",t)}function wt(t,e){e.code2Function||(e.code2Function=new Function(t)),e.code2Function.call(window)}function Mt(t,e,n,r){return l(te.plugins)&&(n=function(t,e,n,r){var i;const o=St(r.global,e,t);return St(null===(i=r.modules)||void 0===i?void 0:i[n],o,t)}(t,n,e.name,te.plugins)),e.sandBox&&!r?(mt.rawWindow.__MICRO_APP_PROXY_WINDOW__=e.sandBox.proxyWindow,`;(function(proxyWindow){with(proxyWindow.__MICRO_APP_WINDOW__){(function(${z}){;${n}\n}).call(proxyWindow,${z})}})(window.__MICRO_APP_PROXY_WINDOW__);`):n}function St(t,e,n){return u(t)?t.reduce((t,e)=>l(e)&&c(e.loader)?e.loader(t,n,e.options):t,e):e}function At(t,e){const n=function(t){const e=P("div");return e.innerHTML=t,e}(t),r=n.querySelector("micro-app-head"),i=n.querySelector("micro-app-body");if(!r||!i){const t=`element ${r?"body":"head"} is missing`;return e.onerror(new Error(t)),g(t,e.name)}!function t(e,n,r){const i=Array.from(e.children);i.length&&i.forEach(e=>{t(e,n)});for(const t of i)t instanceof HTMLLinkElement?t.hasAttribute("exclude")?e.replaceChild(document.createComment("link element with exclude attribute ignored by micro-app"),t):t.hasAttribute("ignore")?t.hasAttribute("href")&&t.setAttribute("href",M(t.getAttribute("href"),n.url)):et(t,e,n):t instanceof HTMLStyleElement?t.hasAttribute("exclude")?e.replaceChild(document.createComment("style element with exclude attribute ignored by micro-app"),t):n.scopecss&&!t.hasAttribute("ignore")&&J(t,n):t instanceof HTMLScriptElement?yt(t,e,n):t instanceof HTMLMetaElement||t instanceof HTMLTitleElement?e.removeChild(t):t instanceof HTMLImageElement&&t.hasAttribute("src")&&t.setAttribute("src",M(t.getAttribute("src"),n.url))}(n,e),e.source.links.size?nt(n,e,r):e.onLoad(n),e.source.scripts.size?_t(n,e):e.onLoad(n)}const Ct=new class{constructor(){this.eventList=new Map}isLegalName(t){return!!t||(g("event-center: Invalid name"),!1)}on(t,e,n=!1){if(this.isLegalName(t)){if(!c(e))return g("event-center: Invalid callback function");let r=this.eventList.get(t);r?n&&Object.getOwnPropertyNames(r.data).length&&e(r.data):(r={data:{},callbacks:new Set},this.eventList.set(t,r)),r.callbacks.add(e)}}off(t,e){if(this.isLegalName(t)){const n=this.eventList.get(t);n&&(c(e)?n.callbacks.delete(e):n.callbacks.clear())}}dispatch(t,e){if(this.isLegalName(t)){if(!l(e))return g("event-center: data must be object");let n=this.eventList.get(t);if(n){if(n.data!==e){n.data=e;for(const t of n.callbacks)t(e)}}else n={data:e,callbacks:new Set},this.eventList.set(t,n)}}getData(t){var e;const n=this.eventList.get(t);return null!==(e=null==n?void 0:n.data)&&void 0!==e?e:null}};function Et(t,e){return a(t)&&t?e?`__from_base_app_${t}__`:`__from_micro_app_${t}__`:""}class Tt{addGlobalDataListener(t,e){const n=this.appName;n&&(t.__APP_NAME__=n,t.__AUTO_TRIGGER__=e),Ct.on("global",t,e)}removeGlobalDataListener(t){c(t)&&Ct.off("global",t)}setGlobalData(t){L(),Ct.dispatch("global",t)}getGlobalData(){return Ct.getData("global")}clearGlobalDataListener(){const t=this.appName,e=Ct.eventList.get("global");if(e)for(const n of e.callbacks)(t&&t===n.__APP_NAME__||!t&&!n.__APP_NAME__)&&e.callbacks.delete(n)}}class It extends Tt{addDataListener(t,e,n){Ct.on(Et(b(t),!1),e,n)}removeDataListener(t,e){c(e)&&Ct.off(Et(b(t),!1),e)}getData(t,e=!1){return Ct.getData(Et(b(t),e))}setData(t,e){Ct.dispatch(Et(b(t),!0),e)}clearDataListener(t){Ct.off(Et(b(t),!1))}}class Lt extends Tt{constructor(t){super(),this.appName=b(t),!this.appName&&g("Invalid appName "+t)}addDataListener(t,e){t.__AUTO_TRIGGER__=e,Ct.on(Et(this.appName,!0),t,e)}removeDataListener(t){c(t)&&Ct.off(Et(this.appName,!0),t)}getData(){return Ct.getData(Et(this.appName,!0))}dispatch(t){L(),Ct.dispatch(Et(this.appName,!1),t);const e=Wt.get(this.appName);if((null==e?void 0:e.container)&&l(t)){const n=new CustomEvent("datachange",{detail:{data:t}});B(e.container).dispatchEvent(n)}}clearDataListener(){Ct.off(Et(this.appName,!0))}}function Pt(t,e){if(e.__MICRO_APP_BOUND_WINDOW_FUNCTION__)return e.__MICRO_APP_BOUND_WINDOW_FUNCTION__;if(!function(t){var e;if(s(t.__MICRO_APP_IS_CONSTRUCTOR__))return t.__MICRO_APP_IS_CONSTRUCTOR__;const n=t.toString(),r=(null===(e=t.prototype)||void 0===e?void 0:e.constructor)===t&&Object.getOwnPropertyNames(t.prototype).length>1||/^function\s+[A-Z]/.test(n)||/^class\s+/.test(n);return t.__MICRO_APP_IS_CONSTRUCTOR__=r}(e)&&!function(t){return s(t.__MICRO_APP_IS_BOUND_FUNCTION__)?t.__MICRO_APP_IS_BOUND_FUNCTION__:t.__MICRO_APP_IS_BOUND_FUNCTION__=f(t)}(e)){const n=e.bind(t);for(const t in e)n[t]=e[t];return e.hasOwnProperty("prototype")&&d(n,"prototype",{value:e.prototype,configurable:!0,enumerable:!1,writable:!0}),e.__MICRO_APP_BOUND_WINDOW_FUNCTION__=n}return e}const Rt=new Map;let Ot=!1;const kt=new Map;function Bt(){const{rawDocument:t,rawDocumentAddEventListener:e,rawDocumentRemoveEventListener:n}=mt;!Ot&&function(){if(Ot=!0,Object.getOwnPropertyDescriptor(document,"onclick"))return v("Cannot redefine document property onclick");const t=document.onclick;document.onclick=null;let e=!1;function n(t){Rt.forEach(e=>{c(e)&&e.call(document,t)})}d(document,"onclick",{configurable:!0,enumerable:!0,get(){const t=I();return t?Rt.get(t):Rt.get("base")},set(t){const r=I();r?Rt.set(r,t):Rt.set("base",t),!e&&c(t)&&(e=!0,mt.rawDocumentAddEventListener.call(mt.rawDocument,"click",n,!1))}}),t&&(document.onclick=t)}(),document.addEventListener=function(n,r,i){var o;const a=I();if(a&&(!(null===(o=Wt.get(a))||void 0===o?void 0:o.umdMode)||!f(r))){const t=kt.get(a);if(t){const e=t.get(n);e?e.add(r):t.set(n,new Set([r]))}else kt.set(a,new Map([[n,new Set([r])]]));r&&(r.__MICRO_APP_MARK_OPTIONS__=i)}e.call(t,n,r,i)},document.removeEventListener=function(e,r,i){var o;const a=I();if(a&&(!(null===(o=Wt.get(a))||void 0===o?void 0:o.umdMode)||!f(r))){const t=kt.get(a);if(t){const n=t.get(e);(null==n?void 0:n.size)&&n.has(r)&&n.delete(r)}}n.call(t,e,r,i)}}const Dt=["unmount","appstate-change"];function Ft(t,e){return Dt.includes(t)?`${t}-${e.__MICRO_APP_NAME__}`:t}const Ut=["System","__cjsWrapper"],jt=["location"],Nt=["window","self","globalThis"];class Gt{constructor(t,e){this.scopeProperties=["webpackJsonp","Vue"],this.escapeProperties=[],this.injectedKeys=new Set,this.escapeKeys=new Set,this.active=!1,this.microAppWindow={},this.getSpecialProperties(t),this.proxyWindow=this.createProxyWindow(t),this.initMicroAppWindow(this.microAppWindow,t,e),Object.assign(this,function(t){const e=t.__MICRO_APP_NAME__,n=new Map,r=new Map,i=new Map,{rawWindow:o,rawDocument:a,rawWindowAddEventListener:s,rawWindowRemoveEventListener:c,rawSetInterval:u,rawSetTimeout:l,rawClearInterval:h,rawClearTimeout:f,rawDocumentRemoveEventListener:d}=mt;t.addEventListener=function(e,r,i){e=Ft(e,t);const a=n.get(e);a?a.add(r):n.set(e,new Set([r])),r&&(r.__MICRO_APP_MARK_OPTIONS__=i),s.call(o,e,r,i)},t.removeEventListener=function(e,r,i){e=Ft(e,t);const a=n.get(e);(null==a?void 0:a.size)&&a.has(r)&&a.delete(r),c.call(o,e,r,i)},t.setInterval=function(t,e,...n){const i=u.call(o,t,e,...n);return r.set(i,{handler:t,timeout:e,args:n}),i},t.setTimeout=function(t,e,...n){const r=l.call(o,t,e,...n);return i.set(r,{handler:t,timeout:e,args:n}),r},t.clearInterval=function(t){r.delete(t),h.call(o,t)},t.clearTimeout=function(t){i.delete(t),f.call(o,t)};const p=new Map,m=new Map;let g,v=new Map,y=new Map;return{recordUmdEffect:()=>{n.forEach((t,e)=>{t.size&&p.set(e,new Set(t))}),r.size&&(v=new Map(r)),i.size&&(y=new Map(i)),g=Rt.get(e);const t=kt.get(e);t&&t.forEach((t,e)=>{t.size&&m.set(e,new Set(t))})},rebuildUmdEffect:()=>{p.forEach((e,n)=>{for(const r of e)t.addEventListener(n,r,null==r?void 0:r.__MICRO_APP_MARK_OPTIONS__)}),v.forEach(e=>{t.setInterval(e.handler,e.timeout,...e.args)}),y.forEach(e=>{t.setTimeout(e.handler,e.timeout,...e.args)}),g&&Rt.set(e,g),E(e),m.forEach((t,e)=>{for(const n of t)document.addEventListener(e,n,null==n?void 0:n.__MICRO_APP_MARK_OPTIONS__)}),E(null)},releaseEffect:()=>{n.size&&(n.forEach((t,e)=>{for(const n of t)c.call(o,e,n)}),n.clear()),r.size&&(r.forEach((t,e)=>{h.call(o,e)}),r.clear()),i.size&&(i.forEach((t,e)=>{f.call(o,e)}),i.clear()),Rt.delete(e);const t=kt.get(e);t&&(t.forEach((t,e)=>{for(const n of t)d.call(a,e,n)}),t.clear())}}}(this.microAppWindow))}start(t){this.active||(this.active=!0,this.microAppWindow.__MICRO_APP_BASE_ROUTE__=this.microAppWindow.__MICRO_APP_BASE_URL__=t,mt.rawWindow._babelPolyfill&&(mt.rawWindow._babelPolyfill=!1),1==++Gt.activeCount&&(Bt(),ct()))}stop(){this.active&&(this.active=!1,this.releaseEffect(),this.microAppWindow.microApp.clearDataListener(),this.microAppWindow.microApp.clearGlobalDataListener(),this.injectedKeys.forEach(t=>{Reflect.deleteProperty(this.microAppWindow,t)}),this.injectedKeys.clear(),this.escapeKeys.forEach(t=>{Reflect.deleteProperty(mt.rawWindow,t)}),this.escapeKeys.clear(),0==--Gt.activeCount&&(document.addEventListener=mt.rawDocumentAddEventListener,document.removeEventListener=mt.rawDocumentRemoveEventListener,ht()))}recordUmdSnapshot(){this.microAppWindow.__MICRO_APP_UMD_MODE__=!0,this.recordUmdEffect(),function(t){const e=t.appName;t.umdDataListeners={global:new Set,normal:new Set};const n=Ct.eventList.get("global");if(n)for(const r of n.callbacks)e===r.__APP_NAME__&&t.umdDataListeners.global.add(r);const r=Ct.eventList.get(Et(e,!0));r&&(t.umdDataListeners.normal=new Set(r.callbacks))}(this.microAppWindow.microApp),this.recordUmdInjectedValues=new Map,this.injectedKeys.forEach(t=>{this.recordUmdInjectedValues.set(t,Reflect.get(this.microAppWindow,t))})}rebuildUmdSnapshot(){this.recordUmdInjectedValues.forEach((t,e)=>{Reflect.set(this.proxyWindow,e,t)}),this.rebuildUmdEffect(),function(t){for(const e of t.umdDataListeners.global)t.addGlobalDataListener(e,e.__AUTO_TRIGGER__);for(const e of t.umdDataListeners.normal)t.addDataListener(e,e.__AUTO_TRIGGER__)}(this.microAppWindow.microApp)}getSpecialProperties(t){var e;l(te.plugins)&&(this.commonActionForSpecialProperties(te.plugins.global),this.commonActionForSpecialProperties(null===(e=te.plugins.modules)||void 0===e?void 0:e[t]))}commonActionForSpecialProperties(t){if(u(t))for(const e of t)l(e)&&(u(e.scopeProperties)&&(this.scopeProperties=this.scopeProperties.concat(e.scopeProperties)),u(e.escapeProperties)&&(this.escapeProperties=this.escapeProperties.concat(e.escapeProperties)))}createProxyWindow(t){const e=mt.rawWindow,n=new Map;return new Proxy(this.microAppWindow,{get:(n,r)=>{if(T(t),Reflect.has(n,r)||a(r)&&/^__MICRO_APP_/.test(r)||this.scopeProperties.includes(r))return Reflect.get(n,r);const i=Reflect.get(e,r);return c(i)?Pt(e,i):i},set:(t,n,r)=>{if(this.active){if(jt.includes(n))Reflect.set(e,n,r);else if(m.call(t,n)||!m.call(e,n)||this.scopeProperties.includes(n))Reflect.set(t,n,r),this.injectedKeys.add(n);else{const i=Object.getOwnPropertyDescriptor(e,n),{configurable:o,enumerable:a,writable:s,set:c}=i;d(t,n,{value:r,configurable:o,enumerable:a,writable:null!=s?s:!!c}),this.injectedKeys.add(n)}(this.escapeProperties.includes(n)||Ut.includes(n)&&!Reflect.has(e,n))&&!this.scopeProperties.includes(n)&&(Reflect.set(e,n,r),this.escapeKeys.add(n))}return!0},has:(t,n)=>this.scopeProperties.includes(n)?n in t:n in t||n in e,getOwnPropertyDescriptor:(t,r)=>{if(m.call(t,r))return n.set(r,"target"),Object.getOwnPropertyDescriptor(t,r);if(m.call(e,r)){n.set(r,"rawWindow");const t=Object.getOwnPropertyDescriptor(e,r);return t&&!t.configurable&&(t.configurable=!0),t}},defineProperty:(t,r,i)=>"rawWindow"===n.get(r)?Reflect.defineProperty(e,r,i):Reflect.defineProperty(t,r,i),ownKeys:t=>Reflect.ownKeys(e).concat(Reflect.ownKeys(t)).filter((function(t){return!(t in this)&&(this[t]=!0)}),Object.create(null)),deleteProperty:(t,n)=>!m.call(t,n)||(this.injectedKeys.has(n)&&this.injectedKeys.delete(n),this.escapeKeys.has(n)&&Reflect.deleteProperty(e,n),Reflect.deleteProperty(t,n))})}initMicroAppWindow(t,e,n){t.__MICRO_APP_ENVIRONMENT__=!0,t.__MICRO_APP_NAME__=e,t.__MICRO_APP_PUBLIC_PATH__=w(n),t.__MICRO_APP_WINDOW__=t,t.microApp=Object.assign(new Lt(e),{removeDomScope:L,pureCreateElement:P}),t.rawWindow=mt.rawWindow,t.rawDocument=mt.rawDocument,t.hasOwnProperty=e=>m.call(t,e)||m.call(mt.rawWindow,e),this.setMappingPropertiesWithRawDescriptor(t),this.setHijackProperties(t,e)}setMappingPropertiesWithRawDescriptor(t){let e,n;const r=mt.rawWindow;r===r.parent?e=n=this.proxyWindow:(e=r.top,n=r.parent),d(t,"top",this.createDescriptorForMicroAppWindow("top",e)),d(t,"parent",this.createDescriptorForMicroAppWindow("parent",n)),Nt.forEach(e=>{d(t,e,this.createDescriptorForMicroAppWindow(e,this.proxyWindow))})}createDescriptorForMicroAppWindow(t,e){const{configurable:n=!0,enumerable:r=!0,writable:i,set:o}=Object.getOwnPropertyDescriptor(mt.rawWindow,t)||{writable:!0};return{value:e,configurable:n,enumerable:r,writable:null!=i?i:!!o}}setHijackProperties(t,e){let n,r;p(t,{document:{get:()=>(T(e),mt.rawDocument),configurable:!1,enumerable:!0},eval:{get:()=>(T(e),n||eval),set:t=>{n=t},configurable:!0,enumerable:!1},Image:{get:()=>(T(e),r||mt.ImageProxy),set:t=>{r=t},configurable:!0,enumerable:!1}})}}function zt(t,e,n,r){var i;if(!t)return g("element does not exist in lifecycle "+n,e);t=B(t),L();const o=Object.assign({name:e,container:t},r&&{error:r}),a=new CustomEvent(n,{detail:o});!function(t,e){Object.defineProperties(t,{currentTarget:{get:()=>e},target:{get:()=>e}})}(a,t),c(null===(i=te.lifeCycles)||void 0===i?void 0:i[n])&&te.lifeCycles[n](a),t.dispatchEvent(a)}function Ht(t,e,n={}){const r=new CustomEvent(`${t}-${e}`,{detail:n});window.dispatchEvent(r)}Gt.activeCount=0;const Wt=new Map;class Vt{constructor({name:t,url:e,ssrUrl:n,container:r,inline:i,scopecss:o,useSandbox:a,baseroute:s}){this.state=j.NOT_LOADED,this.keepAliveState=null,this.keepAliveContainer=null,this.loadSourceLevel=0,this.umdHookMount=null,this.umdHookUnmount=null,this.libraryName=null,this.umdMode=!1,this.isPrefetch=!1,this.prefetchResolve=null,this.container=null,this.baseroute="",this.sandBox=null,this.container=null!=r?r:null,this.inline=null!=i&&i,this.baseroute=null!=s?s:"",this.ssrUrl=null!=n?n:"",this.name=t,this.url=e,this.useSandbox=a,this.scopecss=this.useSandbox&&o,this.source={links:new Map,scripts:new Map},this.loadSourceCode(),this.useSandbox&&(this.sandBox=new Gt(t,e))}loadSourceCode(){var t;this.state=j.LOADING_SOURCE_CODE,H((t=this).ssrUrl||t.url,t.name,{cache:"no-cache"}).then(e=>{if(!e){const e="html is empty, please check in detail";return t.onerror(new Error(e)),g(e,t.name)}At(e=e.replace(/<head[^>]*>[\s\S]*?<\/head>/i,t=>t.replace(/<head/i,"<micro-app-head").replace(/<\/head>/i,"</micro-app-head>")).replace(/<body[^>]*>[\s\S]*?<\/body>/i,t=>t.replace(/<body/i,"<micro-app-body").replace(/<\/body>/i,"</micro-app-body>")),t)}).catch(e=>{g(`Failed to fetch data from ${t.url}, micro-app stop rendering`,t.name,e),t.onLoadError(e)})}onLoad(t){var e;2==++this.loadSourceLevel&&(this.source.html=t,this.isPrefetch?(null===(e=this.prefetchResolve)||void 0===e||e.call(this),this.prefetchResolve=null):j.UNMOUNT!==this.state&&(this.state=j.LOAD_SOURCE_FINISHED,this.mount()))}onLoadError(t){this.loadSourceLevel=-1,this.prefetchResolve&&(this.prefetchResolve(),this.prefetchResolve=null),j.UNMOUNT!==this.state&&(this.onerror(t),this.state=j.LOAD_SOURCE_ERROR)}mount(t,e,n){var r,i,o;if(s(e)&&e!==this.inline&&(this.inline=e),this.container=null!==(r=this.container)&&void 0!==r?r:t,this.baseroute=null!=n?n:this.baseroute,2!==this.loadSourceLevel)return void(this.state=j.LOADING_SOURCE_CODE);let a;if(zt(this.container,this.name,N.BEFOREMOUNT),this.state=j.MOUNTING,R(this.source.html,this.container,!this.umdMode),null===(i=this.sandBox)||void 0===i||i.start(this.baseroute),this.umdMode){null===(o=this.sandBox)||void 0===o||o.rebuildUmdSnapshot();try{a=this.umdHookMount()}catch(t){g("an error occurred in the mount function \n",this.name,t)}this.handleMounted(a)}else{let t=!1;!function(t,e,n){const r=Array.from(t.entries()),i=[],o=[];for(const[t,a]of r)a.isDynamic||(a.defer||a.async?(a.isExternal&&!a.code?i.push(H(t,e.name)):i.push(a.code),o.push([t,a]),a.module&&(n.moduleCount=n.moduleCount?++n.moduleCount:1)):(xt(t,e,a,!1),n(!1)));i.length?S(i,t=>{const e=o[t.index][1];e.code=e.code||t.data},t=>{n.errorCount=n.errorCount?++n.errorCount:1,g(t,e.name)},()=>{o.forEach(([t,r])=>{r.code&&(xt(t,e,r,!1,n),!r.module&&n(!1))}),n(void 0===n.moduleCount||n.errorCount===i.length)}):n(!0)}(this.source.scripts,this,e=>{var n;if(!this.umdMode){const{mount:t,unmount:e}=this.getUmdLibraryHooks();if(c(t)&&c(e)){this.umdHookMount=t,this.umdHookUnmount=e,this.umdMode=!0,null===(n=this.sandBox)||void 0===n||n.recordUmdSnapshot();try{a=this.umdHookMount()}catch(t){g("an error occurred in the mount function \n",this.name,t)}}}t||!0!==e&&!this.umdMode||(t=!0,this.handleMounted(a))})}}handleMounted(t){h(t)?t.then(()=>this.dispatchMountedEvent()).catch(t=>this.onerror(t)):this.dispatchMountedEvent()}dispatchMountedEvent(){j.UNMOUNT!==this.state&&(this.state=j.MOUNTED,zt(this.container,this.name,N.MOUNTED))}unmount(t,e){let n;if(this.state===j.LOAD_SOURCE_ERROR&&(t=!0),this.state=j.UNMOUNT,this.keepAliveState=null,this.keepAliveContainer=null,this.umdHookUnmount)try{n=this.umdHookUnmount()}catch(t){g("an error occurred in the unmount function \n",this.name,t)}Ht("unmount",this.name),this.handleUnmounted(t,n,e)}handleUnmounted(t,e,n){h(e)?e.then(()=>this.actionsForUnmount(t,n)).catch(()=>this.actionsForUnmount(t,n)):this.actionsForUnmount(t,n)}actionsForUnmount(t,e){var n;t?this.actionsForCompletelyDestroy():this.umdMode&&this.container.childElementCount&&R(this.container,this.source.html,!1),null===(n=this.sandBox)||void 0===n||n.stop(),Yt().length||(lt=!1,Element.prototype.setAttribute=mt.rawSetAttribute),zt(this.container,this.name,N.UNMOUNT),this.container.innerHTML="",this.container=null,e&&e()}actionsForCompletelyDestroy(){!this.useSandbox&&this.umdMode&&delete window[this.libraryName],Wt.delete(this.name)}hiddenKeepAliveApp(){const t=this.container;R(this.container,this.keepAliveContainer?this.keepAliveContainer:this.keepAliveContainer=document.createElement("div"),!1),this.container=this.keepAliveContainer,this.keepAliveState=G.KEEP_ALIVE_HIDDEN,Ht("appstate-change",this.name,{appState:"afterhidden"}),zt(t,this.name,N.AFTERHIDDEN)}showKeepAliveApp(t){Ht("appstate-change",this.name,{appState:"beforeshow"}),zt(t,this.name,N.BEFORESHOW),R(this.container,t,!1),this.container=t,this.keepAliveState=G.KEEP_ALIVE_SHOW,Ht("appstate-change",this.name,{appState:"aftershow"}),zt(this.container,this.name,N.AFTERSHOW)}onerror(t){zt(this.container,this.name,N.ERROR,t)}getAppState(){return this.state}getKeepAliveState(){return this.keepAliveState}getUmdLibraryHooks(){var t,e;if(j.UNMOUNT!==this.state){const n=null!==(e=null===(t=this.sandBox)||void 0===t?void 0:t.proxyWindow)&&void 0!==e?e:mt.rawWindow;return this.libraryName=B(this.container).getAttribute("library")||"micro-app-"+this.name,"object"==typeof n[this.libraryName]?n[this.libraryName]:{}}return{}}}function Zt(t){class e extends HTMLElement{constructor(){super(),this.isWaiting=!1,this.cacheData=null,this.hasConnected=!1,this.appName="",this.appUrl="",this.ssrUrl="",this.version=r,this.handleAttributeUpdate=()=>{this.isWaiting=!1;const t=b(this.getAttribute("name")),e=x(this.getAttribute("url"),this.appName);if(this.legalAttribute("name",t)&&this.legalAttribute("url",e)){const n=Wt.get(t);if(t!==this.appName&&n&&j.UNMOUNT!==n.getAppState()&&G.KEEP_ALIVE_HIDDEN!==n.getKeepAliveState()&&!n.isPrefetch)return this.setAttribute("name",this.appName),g(`app name conflict, an app named ${t} is running`,this.appName);t===this.appName&&e===this.appUrl||(t===this.appName?this.handleUnmount(!0,()=>{this.actionsForAttributeChange(t,e,n)}):this.getKeepAliveModeResult()?(this.handleHiddenKeepAliveApp(),this.actionsForAttributeChange(t,e,n)):this.handleUnmount(this.getDestroyCompatibleResult(),()=>{this.actionsForAttributeChange(t,e,n)}))}else t!==this.appName&&this.setAttribute("name",this.appName)},lt||(lt=!0,Element.prototype.setAttribute=function(t,e){if(/^micro-app(-\S+)?/i.test(this.tagName)&&"data"===t)if(l(e)){const t={};Object.getOwnPropertyNames(e).forEach(n=>{a(n)&&0===n.indexOf("__")||(t[n]=e[n])}),this.data=t}else"[object Object]"!==e&&v("property data must be an object",this.getAttribute("name"));else if((("src"===t||"srcset"===t)&&/^(img|script)$/i.test(this.tagName)||"href"===t&&/^link$/i.test(this.tagName))&&this.__MICRO_APP_NAME__&&Wt.has(this.__MICRO_APP_NAME__)){const n=Wt.get(this.__MICRO_APP_NAME__);mt.rawSetAttribute.call(this,t,M(e,n.url))}else mt.rawSetAttribute.call(this,t,e)})}static get observedAttributes(){return["name","url"]}connectedCallback(){this.hasConnected=!0,y(()=>zt(this,this.appName,N.CREATED)),this.initialMount()}disconnectedCallback(){this.hasConnected=!1,this.getKeepAliveModeResult()?this.handleHiddenKeepAliveApp():this.handleUnmount(this.getDestroyCompatibleResult())}attributeChangedCallback(t,e,n){if(this.legalAttribute(t,n)&&this[t===U.NAME?"appName":"appUrl"]!==n)if(t!==U.URL||this.appUrl)if(t!==U.NAME||this.appName)this.isWaiting||(this.isWaiting=!0,y(this.handleAttributeUpdate));else{const t=b(n);if(!t)return g("Invalid attribute name "+n,this.appName);this.cacheData&&(te.setData(t,this.cacheData),this.cacheData=null),this.appName=t,t!==n&&this.setAttribute("name",this.appName),this.handleInitialNameAndUrl()}else{if(!(n=x(n,this.appName)))return g("Invalid attribute url "+n,this.appName);this.appUrl=n,this.handleInitialNameAndUrl()}}handleInitialNameAndUrl(){this.hasConnected&&this.initialMount()}initialMount(){if(this.appName&&this.appUrl)if(this.getDisposeResult("shadowDOM")&&!this.shadowRoot&&c(this.attachShadow)&&this.attachShadow({mode:"open"}),this.getDisposeResult("ssr")?this.ssrUrl=M(mt.rawWindow.location.pathname,this.appUrl):this.ssrUrl&&(this.ssrUrl=""),Wt.has(this.appName)){const t=Wt.get(this.appName),e=t.ssrUrl||t.url,n=this.ssrUrl||this.appUrl;t.getKeepAliveState()===G.KEEP_ALIVE_HIDDEN&&t.url===this.appUrl?this.handleShowKeepAliveApp(t):e!==n||!t.isPrefetch&&t.getAppState()!==j.UNMOUNT?t.isPrefetch||t.getAppState()===j.UNMOUNT?(v(`the ${t.isPrefetch?"prefetch":"unmounted"} app with url: ${e} is replaced by a new app`,this.appName),this.handleCreateApp()):g(`app name conflict, an app named ${this.appName} is running`,this.appName):this.handleAppMount(t)}else this.handleCreateApp()}actionsForAttributeChange(t,e,n){var r;this.getDisposeResult("ssr")?this.ssrUrl=M(mt.rawWindow.location.pathname,e):this.ssrUrl&&(this.ssrUrl=""),this.appName=t,this.appUrl=e,(null!==(r=this.shadowRoot)&&void 0!==r?r:this).innerHTML="",t!==this.getAttribute("name")&&this.setAttribute("name",this.appName),n?n.getKeepAliveState()===G.KEEP_ALIVE_HIDDEN?n.url===this.appUrl?this.handleShowKeepAliveApp(n):g(`app name conflict, an app named ${this.appName} is running`,this.appName):n.url===this.appUrl&&n.ssrUrl===this.ssrUrl?this.handleAppMount(n):this.handleCreateApp():this.handleCreateApp()}legalAttribute(t,e){return!(!a(e)||!e)||(g(`unexpected attribute ${t}, please check again`,this.appName),!1)}handleAppMount(t){t.isPrefetch=!1,y(()=>{var e;return t.mount(null!==(e=this.shadowRoot)&&void 0!==e?e:this,this.getDisposeResult("inline"),this.getBaseRouteCompatible())})}handleCreateApp(){var t;Wt.has(this.appName)&&Wt.get(this.appName).actionsForCompletelyDestroy();const e=new Vt({name:this.appName,url:this.appUrl,ssrUrl:this.ssrUrl,container:null!==(t=this.shadowRoot)&&void 0!==t?t:this,inline:this.getDisposeResult("inline"),scopecss:!(this.getDisposeResult("disableScopecss")||this.getDisposeResult("shadowDOM")),useSandbox:!this.getDisposeResult("disableSandbox"),baseroute:this.getBaseRouteCompatible()});Wt.set(this.appName,e)}handleUnmount(t,e){const n=Wt.get(this.appName);n&&n.getAppState()!==j.UNMOUNT&&n.unmount(t,e)}handleHiddenKeepAliveApp(){const t=Wt.get(this.appName);t&&t.getAppState()!==j.UNMOUNT&&t.getKeepAliveState()!==G.KEEP_ALIVE_HIDDEN&&t.hiddenKeepAliveApp()}handleShowKeepAliveApp(t){y(()=>{var e;return t.showKeepAliveApp(null!==(e=this.shadowRoot)&&void 0!==e?e:this)})}getDisposeResult(t){return(this.compatibleSpecialProperties(t)||te[t])&&this.compatibleDisableSpecialProperties(t)}compatibleSpecialProperties(t){return"disableScopecss"===t?this.hasAttribute("disableScopecss")||this.hasAttribute("disable-scopecss"):"disableSandbox"===t?this.hasAttribute("disableSandbox")||this.hasAttribute("disable-sandbox"):this.hasAttribute(t)}compatibleDisableSpecialProperties(t){return"disableScopecss"===t?"false"!==this.getAttribute("disableScopecss")&&"false"!==this.getAttribute("disable-scopecss"):"disableSandbox"===t?"false"!==this.getAttribute("disableSandbox")&&"false"!==this.getAttribute("disable-sandbox"):"false"!==this.getAttribute(t)}getBaseRouteCompatible(){var t,e;return null!==(e=null!==(t=this.getAttribute("baseroute"))&&void 0!==t?t:this.getAttribute("baseurl"))&&void 0!==e?e:""}getDestroyCompatibleResult(){return this.getDisposeResult("destroy")||this.getDisposeResult("destory")}getKeepAliveModeResult(){return this.getDisposeResult("keep-alive")&&!this.getDestroyCompatibleResult()}set data(t){this.appName?te.setData(this.appName,t):this.cacheData=t}get data(){return this.appName?te.getData(this.appName,!0):this.cacheData?this.cacheData:null}}window.customElements.define(t,e)}function Qt(t){if(!i)return g("preFetch is only supported in browser environment");A(()=>{c(t)&&(t=t()),u(t)&&t.reduce((t,e)=>t.then(()=>{return t=e,new Promise(e=>{A(()=>{var n,r;if(l(t)&&navigator.onLine)if(t.name=b(t.name),t.url=x(t.url,t.name),t.name&&t.url&&!Wt.has(t.name)){const i=new Vt({name:t.name,url:t.url,scopecss:!(null!==(n=t.disableScopecss)&&void 0!==n?n:te.disableScopecss),useSandbox:!(null!==(r=t.disableSandbox)&&void 0!==r?r:te.disableSandbox)});i.isPrefetch=!0,i.prefetchResolve=e,Wt.set(t.name,i)}else e();else e()})});var t}),Promise.resolve())})}function Xt(t,e,n){if(u(t)){const r=t.filter(t=>a(t)&&t.includes("."+e)&&!n.has(t));S(r.map(t=>H(t)),t=>{const e=r[t.index];n.has(e)||n.set(e,t.data)},t=>{g(t)})}}function Yt(t){const e=[];return Wt.forEach((n,r)=>{j.UNMOUNT===n.getAppState()||n.isPrefetch||t&&G.KEEP_ALIVE_HIDDEN===n.getKeepAliveState()||e.push(r)}),e}function Jt(){return Array.from(Wt.keys())}function qt(t,e){const n=Wt.get(b(t));return new Promise(r=>{if(n)if(n.getAppState()===j.UNMOUNT||n.isPrefetch)(null==e?void 0:e.destroy)&&n.actionsForCompletelyDestroy(),r();else if(n.getKeepAliveState()===G.KEEP_ALIVE_HIDDEN)(null==e?void 0:e.destroy)?n.unmount(!0,r):(null==e?void 0:e.clearAliveState)?n.unmount(!1,r):r();else{const t=B(n.container),i=()=>{t.removeEventListener("unmount",i),t.removeEventListener("afterhidden",o),r()},o=()=>{t.removeEventListener("unmount",i),t.removeEventListener("afterhidden",o),r()};if(t.addEventListener("unmount",i),t.addEventListener("afterhidden",o),null==e?void 0:e.destroy){let e,n;t.hasAttribute("destroy")&&(e=t.getAttribute("destroy")),t.hasAttribute("destory")&&(n=t.getAttribute("destory")),t.setAttribute("destroy","true"),t.parentNode.removeChild(t),t.removeAttribute("destroy"),"string"==typeof e&&t.setAttribute("destroy",e),"string"==typeof n&&t.setAttribute("destory",n)}else if((null==e?void 0:e.clearAliveState)&&t.hasAttribute("keep-alive")){const e=t.getAttribute("keep-alive");t.removeAttribute("keep-alive"),t.parentNode.removeChild(t),t.setAttribute("keep-alive",e)}else t.parentNode.removeChild(t)}else v(`app ${t} does not exist`),r()})}function Kt(t){return Array.from(Wt.keys()).reduce((e,n)=>e.then(()=>qt(n,t)),Promise.resolve())}class $t extends It{constructor(){super(...arguments),this.tagName="micro-app",this.preFetch=Qt}start(t){if(!i||!window.customElements)return g("micro-app is not supported in this environment");if(null==t?void 0:t.tagName){if(!/^micro-app(-\S+)?/.test(t.tagName))return g(t.tagName+" is invalid tagName");this.tagName=t.tagName}if(window.customElements.get(this.tagName))return v(`element ${this.tagName} is already defined`);if(gt(),t&&l(t)&&(this.shadowDOM=t.shadowDOM,this.destroy=t.destroy,this.destory=t.destory,this.inline=t.inline,this.disableScopecss=t.disableScopecss,this.disableSandbox=t.disableSandbox,this.ssr=t.ssr,c(t.fetch)&&(this.fetch=t.fetch),l(t.lifeCycles)&&(this.lifeCycles=t.lifeCycles),t.preFetchApps&&Qt(t.preFetchApps),t.globalAssets&&(l(e=t.globalAssets)&&A(()=>{Xt(e.js,"js",vt),Xt(e.css,"css",tt)})),l(t.plugins))){const e=t.plugins.modules;if(l(e))for(const t in e){const n=b(t);n&&t!==n&&(e[n]=e[t],delete e[t])}this.plugins=t.plugins}var e;Zt(this.tagName)}}var te=new $t;e.default=te}.call(this,n(12))}])}));
|
|
131
|
+
var r=Object.freeze({});function i(t){return null==t}function o(t){return null!=t}function a(t){return!0===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return null!==t&&"object"==typeof t}var u=Object.prototype.toString;function l(t){return"[object Object]"===u.call(t)}function h(t){return"[object RegExp]"===u.call(t)}function f(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function m(t){var e=parseFloat(t);return isNaN(e)?t:e}function g(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var v=g("slot,component",!0),y=g("key,ref,slot,slot-scope,is");function _(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var x=Object.prototype.hasOwnProperty;function b(t,e){return x.call(t,e)}function w(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var M=/-(\w)/g,S=w((function(t){return t.replace(M,(function(t,e){return e?e.toUpperCase():""}))})),A=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),C=/\B([A-Z])/g,E=w((function(t){return t.replace(C,"-$1").toLowerCase()}));var T=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function I(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function L(t,e){for(var n in e)t[n]=e[n];return t}function P(t){for(var e={},n=0;n<t.length;n++)t[n]&&L(e,t[n]);return e}function R(t,e,n){}var O=function(t,e,n){return!1},k=function(t){return t};function B(t,e){if(t===e)return!0;var n=c(t),r=c(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return B(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return B(t[n],e[n])}))}catch(t){return!1}}function D(t,e){for(var n=0;n<t.length;n++)if(B(t[n],e))return n;return-1}function F(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var U=["component","directive","filter"],j=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],N={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:O,isReservedAttr:O,isUnknownElement:O,getTagNamespace:R,parsePlatformTagName:k,mustUseProp:O,async:!0,_lifecycleHooks:j},G=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function z(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function H(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var W=new RegExp("[^"+G.source+".$_\\d]");var V,Z="__proto__"in{},Q="undefined"!=typeof window,X="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Y=X&&WXEnvironment.platform.toLowerCase(),J=Q&&window.navigator.userAgent.toLowerCase(),q=J&&/msie|trident/.test(J),K=J&&J.indexOf("msie 9.0")>0,$=J&&J.indexOf("edge/")>0,tt=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===Y),et=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),nt={}.watch,rt=!1;if(Q)try{var it={};Object.defineProperty(it,"passive",{get:function(){rt=!0}}),window.addEventListener("test-passive",null,it)}catch(t){}var ot=function(){return void 0===V&&(V=!Q&&!X&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),V},at=Q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function st(t){return"function"==typeof t&&/native code/.test(t.toString())}var ct,ut="undefined"!=typeof Symbol&&st(Symbol)&&"undefined"!=typeof Reflect&&st(Reflect.ownKeys);ct="undefined"!=typeof Set&&st(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var lt=R,ht=0,ft=function(){this.id=ht++,this.subs=[]};ft.prototype.addSub=function(t){this.subs.push(t)},ft.prototype.removeSub=function(t){_(this.subs,t)},ft.prototype.depend=function(){ft.target&&ft.target.addDep(this)},ft.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},ft.target=null;var dt=[];function pt(t){dt.push(t),ft.target=t}function mt(){dt.pop(),ft.target=dt[dt.length-1]}var gt=function(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},vt={child:{configurable:!0}};vt.child.get=function(){return this.componentInstance},Object.defineProperties(gt.prototype,vt);var yt=function(t){void 0===t&&(t="");var e=new gt;return e.text=t,e.isComment=!0,e};function _t(t){return new gt(void 0,void 0,void 0,String(t))}function xt(t){var e=new gt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var bt=Array.prototype,wt=Object.create(bt);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=bt[t];H(wt,t,(function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o}))}));var Mt=Object.getOwnPropertyNames(wt),St=!0;function At(t){St=t}var Ct=function(t){this.value=t,this.dep=new ft,this.vmCount=0,H(t,"__ob__",this),Array.isArray(t)?(Z?function(t,e){t.__proto__=e}(t,wt):function(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];H(t,o,e[o])}}(t,wt,Mt),this.observeArray(t)):this.walk(t)};function Et(t,e){var n;if(c(t)&&!(t instanceof gt))return b(t,"__ob__")&&t.__ob__ instanceof Ct?n=t.__ob__:St&&!ot()&&(Array.isArray(t)||l(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Ct(t)),e&&n&&n.vmCount++,n}function Tt(t,e,n,r,i){var o=new ft,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=t[e]);var u=!i&&Et(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return ft.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(e)&&Pt(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!=e&&r!=r||s&&!c||(c?c.call(t,e):n=e,u=!i&&Et(e),o.notify())}})}}function It(t,e,n){if(Array.isArray(t)&&f(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(Tt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function Lt(t,e){if(Array.isArray(t)&&f(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||b(t,e)&&(delete t[e],n&&n.dep.notify())}}function Pt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&Pt(e)}Ct.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Tt(t,e[n])},Ct.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Et(t[e])};var Rt=N.optionMergeStrategies;function Ot(t,e){if(!e)return t;for(var n,r,i,o=ut?Reflect.ownKeys(e):Object.keys(e),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(r=t[n],i=e[n],b(t,n)?r!==i&&l(r)&&l(i)&&Ot(r,i):It(t,n,i));return t}function kt(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,i="function"==typeof t?t.call(n,n):t;return r?Ot(r,i):i}:e?t?function(){return Ot("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Bt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Dt(t,e,n,r){var i=Object.create(t||null);return e?L(i,e):i}Rt.data=function(t,e,n){return n?kt(t,e,n):e&&"function"!=typeof e?t:kt(t,e)},j.forEach((function(t){Rt[t]=Bt})),U.forEach((function(t){Rt[t+"s"]=Dt})),Rt.watch=function(t,e,n,r){if(t===nt&&(t=void 0),e===nt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var o in L(i,t),e){var a=i[o],s=e[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Rt.props=Rt.methods=Rt.inject=Rt.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return L(i,t),e&&L(i,e),i},Rt.provide=kt;var Ft=function(t,e){return void 0===e?t:e};function Ut(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[S(i)]={type:null});else if(l(n))for(var a in n)i=n[a],o[S(a)]=l(i)?i:{type:i};else 0;t.props=o}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(l(n))for(var o in n){var a=n[o];r[o]=l(a)?L({from:o},a):{from:a}}else 0}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Ut(t,e.extends,n)),e.mixins))for(var r=0,i=e.mixins.length;r<i;r++)t=Ut(t,e.mixins[r],n);var o,a={};for(o in t)s(o);for(o in e)b(t,o)||s(o);function s(r){var i=Rt[r]||Ft;a[r]=i(t[r],e[r],n,r)}return a}function jt(t,e,n,r){if("string"==typeof n){var i=t[e];if(b(i,n))return i[n];var o=S(n);if(b(i,o))return i[o];var a=A(o);return b(i,a)?i[a]:i[n]||i[o]||i[a]}}function Nt(t,e,n,r){var i=e[t],o=!b(n,t),a=n[t],s=Wt(Boolean,i.type);if(s>-1)if(o&&!b(i,"default"))a=!1;else if(""===a||a===E(t)){var c=Wt(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(!b(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof r&&"Function"!==zt(e.type)?r.call(t):r}(r,i,t);var u=St;At(!0),Et(a),At(u)}return a}var Gt=/^\s*function (\w+)/;function zt(t){var e=t&&t.toString().match(Gt);return e?e[1]:""}function Ht(t,e){return zt(t)===zt(e)}function Wt(t,e){if(!Array.isArray(e))return Ht(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Ht(e[n],t))return n;return-1}function Vt(t,e,n){pt();try{if(e)for(var r=e;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,t,e,n))return}catch(t){Qt(t,r,"errorCaptured hook")}}Qt(t,e,n)}finally{mt()}}function Zt(t,e,n,r,i){var o;try{(o=n?t.apply(e,n):t.call(e))&&!o._isVue&&d(o)&&!o._handled&&(o.catch((function(t){return Vt(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(t){Vt(t,r,i)}return o}function Qt(t,e,n){if(N.errorHandler)try{return N.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Xt(e,null,"config.errorHandler")}Xt(t,e,n)}function Xt(t,e,n){if(!Q&&!X||"undefined"==typeof console)throw t;console.error(t)}var Yt,Jt=!1,qt=[],Kt=!1;function $t(){Kt=!1;var t=qt.slice(0);qt.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&st(Promise)){var te=Promise.resolve();Yt=function(){te.then($t),tt&&setTimeout(R)},Jt=!0}else if(q||"undefined"==typeof MutationObserver||!st(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Yt=void 0!==n&&st(n)?function(){n($t)}:function(){setTimeout($t,0)};else{var ee=1,ne=new MutationObserver($t),re=document.createTextNode(String(ee));ne.observe(re,{characterData:!0}),Yt=function(){ee=(ee+1)%2,re.data=String(ee)},Jt=!0}function ie(t,e){var n;if(qt.push((function(){if(t)try{t.call(e)}catch(t){Vt(t,e,"nextTick")}else n&&n(e)})),Kt||(Kt=!0,Yt()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}var oe=new ct;function ae(t){!function t(e,n){var r,i,o=Array.isArray(e);if(!o&&!c(e)||Object.isFrozen(e)||e instanceof gt)return;if(e.__ob__){var a=e.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=e.length;r--;)t(e[r],n);else for(i=Object.keys(e),r=i.length;r--;)t(e[i[r]],n)}(t,oe),oe.clear()}var se=w((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}));function ce(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return Zt(r,null,arguments,e,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)Zt(i[o],null,t,e,"v-on handler")}return n.fns=t,n}function ue(t,e,n,r,o,s){var c,u,l,h;for(c in t)u=t[c],l=e[c],h=se(c),i(u)||(i(l)?(i(u.fns)&&(u=t[c]=ce(u,s)),a(h.once)&&(u=t[c]=o(h.name,u,h.capture)),n(h.name,u,h.capture,h.passive,h.params)):u!==l&&(l.fns=u,t[c]=l));for(c in e)i(t[c])&&r((h=se(c)).name,e[c],h.capture)}function le(t,e,n){var r;t instanceof gt&&(t=t.data.hook||(t.data.hook={}));var s=t[e];function c(){n.apply(this,arguments),_(r.fns,c)}i(s)?r=ce([c]):o(s.fns)&&a(s.merged)?(r=s).fns.push(c):r=ce([s,c]),r.merged=!0,t[e]=r}function he(t,e,n,r,i){if(o(e)){if(b(e,n))return t[n]=e[n],i||delete e[n],!0;if(b(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function fe(t){return s(t)?[_t(t)]:Array.isArray(t)?function t(e,n){var r,c,u,l,h=[];for(r=0;r<e.length;r++)i(c=e[r])||"boolean"==typeof c||(u=h.length-1,l=h[u],Array.isArray(c)?c.length>0&&(de((c=t(c,(n||"")+"_"+r))[0])&&de(l)&&(h[u]=_t(l.text+c[0].text),c.shift()),h.push.apply(h,c)):s(c)?de(l)?h[u]=_t(l.text+c):""!==c&&h.push(_t(c)):de(c)&&de(l)?h[u]=_t(l.text+c.text):(a(e._isVList)&&o(c.tag)&&i(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+r+"__"),h.push(c)));return h}(t):void 0}function de(t){return o(t)&&o(t.text)&&!1===t.isComment}function pe(t,e){if(t){for(var n=Object.create(null),r=ut?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){for(var a=t[o].from,s=e;s;){if(s._provided&&b(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in t[o]){var c=t[o].default;n[o]="function"==typeof c?c.call(e):c}else 0}}return n}}function me(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var u in n)n[u].every(ge)&&delete n[u];return n}function ge(t){return t.isComment&&!t.asyncFactory||" "===t.text}function ve(t){return t.isComment&&t.asyncFactory}function ye(t,e,n){var i,o=Object.keys(e).length>0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==r&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=_e(e,c,t[c]))}else i={};for(var u in e)u in i||(i[u]=xe(e,u));return t&&Object.isExtensible(t)&&(t._normalized=i),H(i,"$stable",a),H(i,"$key",s),H(i,"$hasNormal",o),i}function _e(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({}),e=(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:fe(t))&&t[0];return t&&(!e||1===t.length&&e.isComment&&!ve(e))?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function xe(t,e){return function(){return t[e]}}function be(t,e){var n,r,i,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(c(t))if(ut&&t[Symbol.iterator]){n=[];for(var u=t[Symbol.iterator](),l=u.next();!l.done;)n.push(e(l.value,n.length)),l=u.next()}else for(a=Object.keys(t),n=new Array(a.length),r=0,i=a.length;r<i;r++)s=a[r],n[r]=e(t[s],s,r);return o(n)||(n=[]),n._isVList=!0,n}function we(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=L(L({},r),n)),i=o(n)||("function"==typeof e?e():e)):i=this.$slots[t]||("function"==typeof e?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function Me(t){return jt(this.$options,"filters",t)||k}function Se(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Ae(t,e,n,r,i){var o=N.keyCodes[e]||n;return i&&r&&!N.keyCodes[e]?Se(i,r):o?Se(o,t):r?E(r)!==e:void 0===t}function Ce(t,e,n,r,i){if(n)if(c(n)){var o;Array.isArray(n)&&(n=P(n));var a=function(a){if("class"===a||"style"===a||y(a))o=t;else{var s=t.attrs&&t.attrs.type;o=r||N.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=S(a),u=E(a);c in o||u in o||(o[a]=n[a],i&&((t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}))};for(var s in n)a(s)}else;return t}function Ee(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||Ie(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),r}function Te(t,e,n){return Ie(t,"__once__"+e+(n?"_"+n:""),!0),t}function Ie(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&Le(t[r],e+"_"+r,n);else Le(t,e,n)}function Le(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Pe(t,e){if(e)if(l(e)){var n=t.on=t.on?L({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function Re(t,e,n,r){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var o=t[i];Array.isArray(o)?Re(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return r&&(e.$key=r),e}function Oe(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function ke(t,e){return"string"==typeof t?e+t:t}function Be(t){t._o=Te,t._n=m,t._s=p,t._l=be,t._t=we,t._q=B,t._i=D,t._m=Ee,t._f=Me,t._k=Ae,t._b=Ce,t._v=_t,t._e=yt,t._u=Re,t._g=Pe,t._d=Oe,t._p=ke}function De(t,e,n,i,o){var s,c=this,u=o.options;b(i,"_uid")?(s=Object.create(i))._original=i:(s=i,i=i._original);var l=a(u._compiled),h=!l;this.data=t,this.props=e,this.children=n,this.parent=i,this.listeners=t.on||r,this.injections=pe(u.inject,i),this.slots=function(){return c.$slots||ye(t.scopedSlots,c.$slots=me(n,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ye(t.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=ye(t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,r){var o=He(s,t,e,n,r,h);return o&&!Array.isArray(o)&&(o.fnScopeId=u._scopeId,o.fnContext=i),o}:this._c=function(t,e,n,r){return He(s,t,e,n,r,h)}}function Fe(t,e,n,r,i){var o=xt(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function Ue(t,e){for(var n in e)t[S(n)]=e[n]}Be(De.prototype);var je={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;je.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;o(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,Ke)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,i,o){0;var a=i.data.scopedSlots,s=t.$scopedSlots,c=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),u=!!(o||t.$options._renderChildren||c);t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i);if(t.$options._renderChildren=o,t.$attrs=i.data.attrs||r,t.$listeners=n||r,e&&t.$options.props){At(!1);for(var l=t._props,h=t.$options._propKeys||[],f=0;f<h.length;f++){var d=h[f],p=t.$options.props;l[d]=Nt(d,p,e,t)}At(!0),t.$options.propsData=e}n=n||r;var m=t.$options._parentListeners;t.$options._parentListeners=n,qe(t,n,m),u&&(t.$slots=me(o,i.context),t.$forceUpdate());0}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,nn(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,on.push(e)):en(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(n&&(e._directInactive=!0,tn(e)))return;if(!e._inactive){e._inactive=!0;for(var r=0;r<e.$children.length;r++)t(e.$children[r]);nn(e,"deactivated")}}(e,!0):e.$destroy())}},Ne=Object.keys(je);function Ge(t,e,n,s,u){if(!i(t)){var l=n.$options._base;if(c(t)&&(t=l.extend(t)),"function"==typeof t){var h;if(i(t.cid)&&void 0===(t=function(t,e){if(a(t.error)&&o(t.errorComp))return t.errorComp;if(o(t.resolved))return t.resolved;var n=Ve;n&&o(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n);if(a(t.loading)&&o(t.loadingComp))return t.loadingComp;if(n&&!o(t.owners)){var r=t.owners=[n],s=!0,u=null,l=null;n.$on("hook:destroyed",(function(){return _(r,n)}));var h=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},f=F((function(n){t.resolved=Ze(n,e),s?r.length=0:h(!0)})),p=F((function(e){o(t.errorComp)&&(t.error=!0,h(!0))})),m=t(f,p);return c(m)&&(d(m)?i(t.resolved)&&m.then(f,p):d(m.component)&&(m.component.then(f,p),o(m.error)&&(t.errorComp=Ze(m.error,e)),o(m.loading)&&(t.loadingComp=Ze(m.loading,e),0===m.delay?t.loading=!0:u=setTimeout((function(){u=null,i(t.resolved)&&i(t.error)&&(t.loading=!0,h(!1))}),m.delay||200)),o(m.timeout)&&(l=setTimeout((function(){l=null,i(t.resolved)&&p(null)}),m.timeout)))),s=!1,t.loading?t.loadingComp:t.resolved}}(h=t,l)))return function(t,e,n,r,i){var o=yt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}(h,e,n,s,u);e=e||{},An(t),o(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var i=e.on||(e.on={}),a=i[r],s=e.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(i[r]=[s].concat(a)):i[r]=s}(t.options,e);var f=function(t,e,n){var r=e.options.props;if(!i(r)){var a={},s=t.attrs,c=t.props;if(o(s)||o(c))for(var u in r){var l=E(u);he(a,c,u,l,!0)||he(a,s,u,l,!1)}return a}}(e,t);if(a(t.options.functional))return function(t,e,n,i,a){var s=t.options,c={},u=s.props;if(o(u))for(var l in u)c[l]=Nt(l,u,e||r);else o(n.attrs)&&Ue(c,n.attrs),o(n.props)&&Ue(c,n.props);var h=new De(n,c,a,i,t),f=s.render.call(null,h._c,h);if(f instanceof gt)return Fe(f,n,h.parent,s,h);if(Array.isArray(f)){for(var d=fe(f)||[],p=new Array(d.length),m=0;m<d.length;m++)p[m]=Fe(d[m],n,h.parent,s,h);return p}}(t,f,e,n,s);var p=e.on;if(e.on=e.nativeOn,a(t.options.abstract)){var m=e.slot;e={},m&&(e.slot=m)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Ne.length;n++){var r=Ne[n],i=e[r],o=je[r];i===o||i&&i._merged||(e[r]=i?ze(o,i):o)}}(e);var g=t.options.name||u;return new gt("vue-component-"+t.cid+(g?"-"+g:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:p,tag:u,children:s},h)}}}function ze(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function He(t,e,n,r,u,l){return(Array.isArray(n)||s(n))&&(u=r,r=n,n=void 0),a(l)&&(u=2),function(t,e,n,r,s){if(o(n)&&o(n.__ob__))return yt();o(n)&&o(n.is)&&(e=n.is);if(!e)return yt();0;Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);2===s?r=fe(r):1===s&&(r=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(r));var u,l;if("string"==typeof e){var h;l=t.$vnode&&t.$vnode.ns||N.getTagNamespace(e),u=N.isReservedTag(e)?new gt(N.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!o(h=jt(t.$options,"components",e))?new gt(e,n,r,void 0,void 0,t):Ge(h,n,t,r,e)}else u=Ge(e,n,t,r);return Array.isArray(u)?u:o(u)?(o(l)&&function t(e,n,r){e.ns=n,"foreignObject"===e.tag&&(n=void 0,r=!0);if(o(e.children))for(var s=0,c=e.children.length;s<c;s++){var u=e.children[s];o(u.tag)&&(i(u.ns)||a(r)&&"svg"!==u.tag)&&t(u,n,r)}}(u,l),o(n)&&function(t){c(t.style)&&ae(t.style);c(t.class)&&ae(t.class)}(n),u):yt()}(t,e,n,r,u)}var We,Ve=null;function Ze(t,e){return(t.__esModule||ut&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function Qe(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(o(n)&&(o(n.componentOptions)||ve(n)))return n}}function Xe(t,e){We.$on(t,e)}function Ye(t,e){We.$off(t,e)}function Je(t,e){var n=We;return function r(){var i=e.apply(null,arguments);null!==i&&n.$off(t,r)}}function qe(t,e,n){We=t,ue(e,n||{},Xe,Ye,Je,t),We=void 0}var Ke=null;function $e(t){var e=Ke;return Ke=t,function(){Ke=e}}function tn(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function en(t,e){if(e){if(t._directInactive=!1,tn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)en(t.$children[n]);nn(t,"activated")}}function nn(t,e){pt();var n=t.$options[e],r=e+" hook";if(n)for(var i=0,o=n.length;i<o;i++)Zt(n[i],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),mt()}var rn=[],on=[],an={},sn=!1,cn=!1,un=0;var ln=0,hn=Date.now;if(Q&&!q){var fn=window.performance;fn&&"function"==typeof fn.now&&hn()>document.createEvent("Event").timeStamp&&(hn=function(){return fn.now()})}function dn(){var t,e;for(ln=hn(),cn=!0,rn.sort((function(t,e){return t.id-e.id})),un=0;un<rn.length;un++)(t=rn[un]).before&&t.before(),e=t.id,an[e]=null,t.run();var n=on.slice(),r=rn.slice();un=rn.length=on.length=0,an={},sn=cn=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,en(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&nn(r,"updated")}}(r),at&&N.devtools&&at.emit("flush")}var pn=0,mn=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++pn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ct,this.newDepIds=new ct,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!W.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=R)),this.value=this.lazy?void 0:this.get()};mn.prototype.get=function(){var t;pt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Vt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ae(t),mt(),this.cleanupDeps()}return t},mn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},mn.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},mn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==an[e]){if(an[e]=!0,cn){for(var n=rn.length-1;n>un&&rn[n].id>t.id;)n--;rn.splice(n+1,0,t)}else rn.push(t);sn||(sn=!0,ie(dn))}}(this)},mn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'+this.expression+'"';Zt(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},mn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},mn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},mn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var gn={enumerable:!0,configurable:!0,get:R,set:R};function vn(t,e,n){gn.get=function(){return this[e][n]},gn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,gn)}function yn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[];t.$parent&&At(!1);var o=function(o){i.push(o);var a=Nt(o,e,n,t);Tt(r,o,a),o in t||vn(t,"_props",o)};for(var a in e)o(a);At(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?R:T(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;l(e=t._data="function"==typeof e?function(t,e){pt();try{return t.call(e,e)}catch(t){return Vt(t,e,"data()"),{}}finally{mt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&b(r,o)||z(o)||vn(t,"_data",o)}Et(e,!0)}(t):Et(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=ot();for(var i in e){var o=e[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new mn(t,a||R,R,_n)),i in t||xn(t,i,o)}}(t,e.computed),e.watch&&e.watch!==nt&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Mn(t,n,r[i]);else Mn(t,n,r)}}(t,e.watch)}var _n={lazy:!0};function xn(t,e,n){var r=!ot();"function"==typeof n?(gn.get=r?bn(e):wn(n),gn.set=R):(gn.get=n.get?r&&!1!==n.cache?bn(e):wn(n.get):R,gn.set=n.set||R),Object.defineProperty(t,e,gn)}function bn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ft.target&&e.depend(),e.value}}function wn(t){return function(){return t.call(this,this)}}function Mn(t,e,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}var Sn=0;function An(t){var e=t.options;if(t.super){var n=An(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}(t);r&&L(t.extendOptions,r),(e=t.options=Ut(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Cn(t){this._init(t)}function En(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Ut(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)vn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)xn(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,U.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=L({},a.options),i[r]=a,a}}function Tn(t){return t&&(t.Ctor.options.name||t.tag)}function In(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function Ln(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&Pn(n,o,r,i)}}}function Pn(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,_(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Sn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Ut(An(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&qe(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=me(e._renderChildren,i),t.$scopedSlots=r,t._c=function(e,n,r,i){return He(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return He(t,e,n,r,i,!0)};var o=n&&n.data;Tt(t,"$attrs",o&&o.attrs||r,null,!0),Tt(t,"$listeners",e._parentListeners||r,null,!0)}(e),nn(e,"beforeCreate"),function(t){var e=pe(t.$options.inject,t);e&&(At(!1),Object.keys(e).forEach((function(n){Tt(t,n,e[n])})),At(!0))}(e),yn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),nn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Cn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=It,t.prototype.$delete=Lt,t.prototype.$watch=function(t,e,n){if(l(e))return Mn(this,t,e,n);(n=n||{}).user=!0;var r=new mn(this,t,e,n);if(n.immediate){var i='callback for immediate watcher "'+r.expression+'"';pt(),Zt(e,this,[r.value],this,i),mt()}return function(){r.teardown()}}}(Cn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i<o;i++)r.$on(t[i],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,i=t.length;r<i;r++)n.$off(t[r],e);return n}var o,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;for(var s=a.length;s--;)if((o=a[s])===e||o.fn===e){a.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?I(n):n;for(var r=I(arguments,1),i='event handler for "'+t+'"',o=0,a=n.length;o<a;o++)Zt(n[o],e,r,e,i)}return e}}(Cn),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=$e(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){nn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||_(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),nn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(Cn),function(t){Be(t.prototype),t.prototype.$nextTick=function(t){return ie(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&(e.$scopedSlots=ye(i.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=i;try{Ve=e,t=r.call(e._renderProxy,e.$createElement)}catch(n){Vt(n,e,"render"),t=e._vnode}finally{Ve=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof gt||(t=yt()),t.parent=i,t}}(Cn);var Rn=[String,RegExp,Array],On={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Rn,exclude:Rn,max:[String,Number]},methods:{cacheVNode:function(){var t=this.cache,e=this.keys,n=this.vnodeToCache,r=this.keyToCache;if(n){var i=n.tag,o=n.componentInstance,a=n.componentOptions;t[r]={name:Tn(a),tag:i,componentInstance:o},e.push(r),this.max&&e.length>parseInt(this.max)&&Pn(t,e[0],e,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Pn(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Ln(t,(function(t){return In(e,t)}))})),this.$watch("exclude",(function(e){Ln(t,(function(t){return!In(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Qe(t),n=e&&e.componentOptions;if(n){var r=Tn(n),i=this.include,o=this.exclude;if(i&&(!r||!In(i,r))||o&&r&&In(o,r))return e;var a=this.cache,s=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;a[c]?(e.componentInstance=a[c].componentInstance,_(s,c),s.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return N}};Object.defineProperty(t,"config",e),t.util={warn:lt,extend:L,mergeOptions:Ut,defineReactive:Tt},t.set=It,t.delete=Lt,t.nextTick=ie,t.observable=function(t){return Et(t),t},t.options=Object.create(null),U.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,L(t.options.components,On),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=I(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Ut(this.options,t),this}}(t),En(t),function(t){U.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(Cn),Object.defineProperty(Cn.prototype,"$isServer",{get:ot}),Object.defineProperty(Cn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Cn,"FunctionalRenderContext",{value:De}),Cn.version="2.6.14";var kn=g("style,class"),Bn=g("input,textarea,option,select,progress"),Dn=function(t,e,n){return"value"===n&&Bn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Fn=g("contenteditable,draggable,spellcheck"),Un=g("events,caret,typing,plaintext-only"),jn=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Nn="http://www.w3.org/1999/xlink",Gn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},zn=function(t){return Gn(t)?t.slice(6,t.length):""},Hn=function(t){return null==t||!1===t};function Wn(t){for(var e=t.data,n=t,r=t;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Vn(r.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Vn(e,n.data));return function(t,e){if(o(t)||o(e))return Zn(t,Qn(e));return""}(e.staticClass,e.class)}function Vn(t,e){return{staticClass:Zn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Zn(t,e){return t?e?t+" "+e:t:e||""}function Qn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r<i;r++)o(e=Qn(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):c(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Xn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Yn=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Jn=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),qn=function(t){return Yn(t)||Jn(t)};function Kn(t){return Jn(t)?"svg":"math"===t?"math":void 0}var $n=Object.create(null);var tr=g("text,number,password,search,email,tel,url");function er(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}var nr=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Xn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),rr={create:function(t,e){ir(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ir(t,!0),ir(e))},destroy:function(t){ir(t,!0)}};function ir(t,e){var n=t.data.ref;if(o(n)){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?_(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}var or=new gt("",{},[]),ar=["create","activate","update","remove","destroy"];function sr(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&o(t.data)===o(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=o(n=t.data)&&o(n=n.attrs)&&n.type,i=o(n=e.data)&&o(n=n.attrs)&&n.type;return r===i||tr(r)&&tr(i)}(t,e)||a(t.isAsyncPlaceholder)&&i(e.asyncFactory.error))}function cr(t,e,n){var r,i,a={};for(r=e;r<=n;++r)o(i=t[r].key)&&(a[i]=r);return a}var ur={create:lr,update:lr,destroy:function(t){lr(t,or)}};function lr(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,i,o=t===or,a=e===or,s=fr(t.data.directives,t.context),c=fr(e.data.directives,e.context),u=[],l=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,i.oldArg=r.arg,pr(i,"update",e,t),i.def&&i.def.componentUpdated&&l.push(i)):(pr(i,"bind",e,t),i.def&&i.def.inserted&&u.push(i));if(u.length){var h=function(){for(var n=0;n<u.length;n++)pr(u[n],"inserted",e,t)};o?le(e,"insert",h):h()}l.length&&le(e,"postpatch",(function(){for(var n=0;n<l.length;n++)pr(l[n],"componentUpdated",e,t)}));if(!o)for(n in s)c[n]||pr(s[n],"unbind",t,t,a)}(t,e)}var hr=Object.create(null);function fr(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++)(r=t[n]).modifiers||(r.modifiers=hr),i[dr(r)]=r,r.def=jt(e.$options,"directives",r.name);return i}function dr(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function pr(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){Vt(r,n.context,"directive "+t.name+" "+e+" hook")}}var mr=[rr,ur];function gr(t,e){var n=e.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||i(t.data.attrs)&&i(e.data.attrs))){var r,a,s=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};for(r in o(u.__ob__)&&(u=e.data.attrs=L({},u)),u)a=u[r],c[r]!==a&&vr(s,r,a,e.data.pre);for(r in(q||$)&&u.value!==c.value&&vr(s,"value",u.value),c)i(u[r])&&(Gn(r)?s.removeAttributeNS(Nn,zn(r)):Fn(r)||s.removeAttribute(r))}}function vr(t,e,n,r){r||t.tagName.indexOf("-")>-1?yr(t,e,n):jn(e)?Hn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Fn(e)?t.setAttribute(e,function(t,e){return Hn(e)||"false"===e?"false":"contenteditable"===t&&Un(e)?e:"true"}(e,n)):Gn(e)?Hn(n)?t.removeAttributeNS(Nn,zn(e)):t.setAttributeNS(Nn,e,n):yr(t,e,n)}function yr(t,e,n){if(Hn(n))t.removeAttribute(e);else{if(q&&!K&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var _r={create:gr,update:gr};function xr(t,e){var n=e.elm,r=e.data,a=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=Wn(e),c=n._transitionClasses;o(c)&&(s=Zn(s,Qn(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var br,wr,Mr,Sr,Ar,Cr,Er={create:xr,update:xr},Tr=/[\w).+\-_$\]]/;function Ir(t){var e,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,h=0,f=0,d=0;for(r=0;r<t.length;r++)if(n=e,e=t.charCodeAt(r),a)39===e&&92!==n&&(a=!1);else if(s)34===e&&92!==n&&(s=!1);else if(c)96===e&&92!==n&&(c=!1);else if(u)47===e&&92!==n&&(u=!1);else if(124!==e||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||l||h||f){switch(e){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:f++;break;case 41:f--;break;case 91:h++;break;case 93:h--;break;case 123:l++;break;case 125:l--}if(47===e){for(var p=r-1,m=void 0;p>=0&&" "===(m=t.charAt(p));p--);m&&Tr.test(m)||(u=!0)}}else void 0===i?(d=r+1,i=t.slice(0,r).trim()):g();function g(){(o||(o=[])).push(t.slice(d,r).trim()),d=r+1}if(void 0===i?i=t.slice(0,r).trim():0!==d&&g(),o)for(r=0;r<o.length;r++)i=Lr(i,o[r]);return i}function Lr(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var r=e.slice(0,n),i=e.slice(n+1);return'_f("'+r+'")('+t+(")"!==i?","+i:i)}function Pr(t,e){console.error("[Vue compiler]: "+t)}function Rr(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function Or(t,e,n,r,i){(t.props||(t.props=[])).push(zr({name:e,value:n,dynamic:i},r)),t.plain=!1}function kr(t,e,n,r,i){(i?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(zr({name:e,value:n,dynamic:i},r)),t.plain=!1}function Br(t,e,n,r){t.attrsMap[e]=n,t.attrsList.push(zr({name:e,value:n},r))}function Dr(t,e,n,r,i,o,a,s){(t.directives||(t.directives=[])).push(zr({name:e,rawName:n,value:r,arg:i,isDynamicArg:o,modifiers:a},s)),t.plain=!1}function Fr(t,e,n){return n?"_p("+e+',"'+t+'")':t+e}function Ur(t,e,n,i,o,a,s,c){var u;(i=i||r).right?c?e="("+e+")==='click'?'contextmenu':("+e+")":"click"===e&&(e="contextmenu",delete i.right):i.middle&&(c?e="("+e+")==='click'?'mouseup':("+e+")":"click"===e&&(e="mouseup")),i.capture&&(delete i.capture,e=Fr("!",e,c)),i.once&&(delete i.once,e=Fr("~",e,c)),i.passive&&(delete i.passive,e=Fr("&",e,c)),i.native?(delete i.native,u=t.nativeEvents||(t.nativeEvents={})):u=t.events||(t.events={});var l=zr({value:n.trim(),dynamic:c},s);i!==r&&(l.modifiers=i);var h=u[e];Array.isArray(h)?o?h.unshift(l):h.push(l):u[e]=h?o?[l,h]:[h,l]:l,t.plain=!1}function jr(t,e,n){var r=Nr(t,":"+e)||Nr(t,"v-bind:"+e);if(null!=r)return Ir(r);if(!1!==n){var i=Nr(t,e);if(null!=i)return JSON.stringify(i)}}function Nr(t,e,n){var r;if(null!=(r=t.attrsMap[e]))for(var i=t.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===e){i.splice(o,1);break}return n&&delete t.attrsMap[e],r}function Gr(t,e){for(var n=t.attrsList,r=0,i=n.length;r<i;r++){var o=n[r];if(e.test(o.name))return n.splice(r,1),o}}function zr(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function Hr(t,e,n){var r=n||{},i=r.number,o="$$v";r.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(o="_n("+o+")");var a=Wr(e,o);t.model={value:"("+e+")",expression:JSON.stringify(e),callback:"function ($$v) {"+a+"}"}}function Wr(t,e){var n=function(t){if(t=t.trim(),br=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<br-1)return(Sr=t.lastIndexOf("."))>-1?{exp:t.slice(0,Sr),key:'"'+t.slice(Sr+1)+'"'}:{exp:t,key:null};wr=t,Sr=Ar=Cr=0;for(;!Zr();)Qr(Mr=Vr())?Yr(Mr):91===Mr&&Xr(Mr);return{exp:t.slice(0,Ar),key:t.slice(Ar+1,Cr)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Vr(){return wr.charCodeAt(++Sr)}function Zr(){return Sr>=br}function Qr(t){return 34===t||39===t}function Xr(t){var e=1;for(Ar=Sr;!Zr();)if(Qr(t=Vr()))Yr(t);else if(91===t&&e++,93===t&&e--,0===e){Cr=Sr;break}}function Yr(t){for(var e=t;!Zr()&&(t=Vr())!==e;);}var Jr;function qr(t,e,n){var r=Jr;return function i(){var o=e.apply(null,arguments);null!==o&&ti(t,i,n,r)}}var Kr=Jt&&!(et&&Number(et[1])<=53);function $r(t,e,n,r){if(Kr){var i=ln,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Jr.addEventListener(t,e,rt?{capture:n,passive:r}:n)}function ti(t,e,n,r){(r||Jr).removeEventListener(t,e._wrapper||e,n)}function ei(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Jr=e.elm,function(t){if(o(t.__r)){var e=q?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}o(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),ue(n,r,$r,ti,qr,e.context),Jr=void 0}}var ni,ri={create:ei,update:ei};function ii(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in o(c.__ob__)&&(c=e.data.domProps=L({},c)),s)n in c||(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var u=i(r)?"":String(r);oi(a,u)&&(a.value=u)}else if("innerHTML"===n&&Jn(a.tagName)&&i(a.innerHTML)){(ni=ni||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var l=ni.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(r!==s[n])try{a[n]=r}catch(t){}}}}function oi(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.number)return m(n)!==m(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var ai={create:ii,update:ii},si=w((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function ci(t){var e=ui(t.style);return t.staticStyle?L(t.staticStyle,e):e}function ui(t){return Array.isArray(t)?P(t):"string"==typeof t?si(t):t}var li,hi=/^--/,fi=/\s*!important$/,di=function(t,e,n){if(hi.test(e))t.style.setProperty(e,n);else if(fi.test(n))t.style.setProperty(E(e),n.replace(fi,""),"important");else{var r=mi(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},pi=["Webkit","Moz","ms"],mi=w((function(t){if(li=li||document.createElement("div").style,"filter"!==(t=S(t))&&t in li)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<pi.length;n++){var r=pi[n]+e;if(r in li)return r}}));function gi(t,e){var n=e.data,r=t.data;if(!(i(n.staticStyle)&&i(n.style)&&i(r.staticStyle)&&i(r.style))){var a,s,c=e.elm,u=r.staticStyle,l=r.normalizedStyle||r.style||{},h=u||l,f=ui(e.data.style)||{};e.data.normalizedStyle=o(f.__ob__)?L({},f):f;var d=function(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=ci(i.data))&&L(r,n);(n=ci(t.data))&&L(r,n);for(var o=t;o=o.parent;)o.data&&(n=ci(o.data))&&L(r,n);return r}(e,!0);for(s in h)i(d[s])&&di(c,s,"");for(s in d)(a=d[s])!==h[s]&&di(c,s,null==a?"":a)}}var vi={create:gi,update:gi},yi=/\s+/;function _i(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(yi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function xi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(yi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function bi(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&L(e,wi(t.name||"v")),L(e,t),e}return"string"==typeof t?wi(t):void 0}}var wi=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Mi=Q&&!K,Si="transition",Ai="transitionend",Ci="animation",Ei="animationend";Mi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Si="WebkitTransition",Ai="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ci="WebkitAnimation",Ei="webkitAnimationEnd"));var Ti=Q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Ii(t){Ti((function(){Ti(t)}))}function Li(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),_i(t,e))}function Pi(t,e){t._transitionClasses&&_(t._transitionClasses,e),xi(t,e)}function Ri(t,e,n){var r=ki(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s="transition"===i?Ai:Ei,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c<a&&u()}),o+1),t.addEventListener(s,l)}var Oi=/\b(transform|all)(,|$)/;function ki(t,e){var n,r=window.getComputedStyle(t),i=(r[Si+"Delay"]||"").split(", "),o=(r[Si+"Duration"]||"").split(", "),a=Bi(i,o),s=(r[Ci+"Delay"]||"").split(", "),c=(r[Ci+"Duration"]||"").split(", "),u=Bi(s,c),l=0,h=0;return"transition"===e?a>0&&(n="transition",l=a,h=o.length):"animation"===e?u>0&&(n="animation",l=u,h=c.length):h=(n=(l=Math.max(a,u))>0?a>u?"transition":"animation":null)?"transition"===n?o.length:c.length:0,{type:n,timeout:l,propCount:h,hasTransform:"transition"===n&&Oi.test(r[Si+"Property"])}}function Bi(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Di(e)+Di(t[n])})))}function Di(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Fi(t,e){var n=t.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=bi(t.data.transition);if(!i(r)&&!o(n._enterCb)&&1===n.nodeType){for(var a=r.css,s=r.type,u=r.enterClass,l=r.enterToClass,h=r.enterActiveClass,f=r.appearClass,d=r.appearToClass,p=r.appearActiveClass,g=r.beforeEnter,v=r.enter,y=r.afterEnter,_=r.enterCancelled,x=r.beforeAppear,b=r.appear,w=r.afterAppear,M=r.appearCancelled,S=r.duration,A=Ke,C=Ke.$vnode;C&&C.parent;)A=C.context,C=C.parent;var E=!A._isMounted||!t.isRootInsert;if(!E||b||""===b){var T=E&&f?f:u,I=E&&p?p:h,L=E&&d?d:l,P=E&&x||g,R=E&&"function"==typeof b?b:v,O=E&&w||y,k=E&&M||_,B=m(c(S)?S.enter:S);0;var D=!1!==a&&!K,U=Ni(R),j=n._enterCb=F((function(){D&&(Pi(n,L),Pi(n,I)),j.cancelled?(D&&Pi(n,T),k&&k(n)):O&&O(n),n._enterCb=null}));t.data.show||le(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),R&&R(n,j)})),P&&P(n),D&&(Li(n,T),Li(n,I),Ii((function(){Pi(n,T),j.cancelled||(Li(n,L),U||(ji(B)?setTimeout(j,B):Ri(n,s,j)))}))),t.data.show&&(e&&e(),R&&R(n,j)),D||U||j()}}}function Ui(t,e){var n=t.elm;o(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=bi(t.data.transition);if(i(r)||1!==n.nodeType)return e();if(!o(n._leaveCb)){var a=r.css,s=r.type,u=r.leaveClass,l=r.leaveToClass,h=r.leaveActiveClass,f=r.beforeLeave,d=r.leave,p=r.afterLeave,g=r.leaveCancelled,v=r.delayLeave,y=r.duration,_=!1!==a&&!K,x=Ni(d),b=m(c(y)?y.leave:y);0;var w=n._leaveCb=F((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),_&&(Pi(n,l),Pi(n,h)),w.cancelled?(_&&Pi(n,u),g&&g(n)):(e(),p&&p(n)),n._leaveCb=null}));v?v(M):M()}function M(){w.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),f&&f(n),_&&(Li(n,u),Li(n,h),Ii((function(){Pi(n,u),w.cancelled||(Li(n,l),x||(ji(b)?setTimeout(w,b):Ri(n,s,w)))}))),d&&d(n,w),_||x||w())}}function ji(t){return"number"==typeof t&&!isNaN(t)}function Ni(t){if(i(t))return!1;var e=t.fns;return o(e)?Ni(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Gi(t,e){!0!==e.data.show&&Fi(e)}var zi=function(t){var e,n,r={},c=t.modules,u=t.nodeOps;for(e=0;e<ar.length;++e)for(r[ar[e]]=[],n=0;n<c.length;++n)o(c[n][ar[e]])&&r[ar[e]].push(c[n][ar[e]]);function l(t){var e=u.parentNode(t);o(e)&&u.removeChild(e,t)}function h(t,e,n,i,s,c,l){if(o(t.elm)&&o(c)&&(t=c[l]=xt(t)),t.isRootInsert=!s,!function(t,e,n,i){var s=t.data;if(o(s)){var c=o(t.componentInstance)&&s.keepAlive;if(o(s=s.hook)&&o(s=s.init)&&s(t,!1),o(t.componentInstance))return f(t,e),d(n,t.elm,i),a(c)&&function(t,e,n,i){var a,s=t;for(;s.componentInstance;)if(s=s.componentInstance._vnode,o(a=s.data)&&o(a=a.transition)){for(a=0;a<r.activate.length;++a)r.activate[a](or,s);e.push(s);break}d(n,t.elm,i)}(t,e,n,i),!0}}(t,e,n,i)){var h=t.data,m=t.children,g=t.tag;o(g)?(t.elm=t.ns?u.createElementNS(t.ns,g):u.createElement(g,t),y(t),p(t,m,e),o(h)&&v(t,e),d(n,t.elm,i)):a(t.isComment)?(t.elm=u.createComment(t.text),d(n,t.elm,i)):(t.elm=u.createTextNode(t.text),d(n,t.elm,i))}}function f(t,e){o(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,m(t)?(v(t,e),y(t)):(ir(t),e.push(t))}function d(t,e,n){o(t)&&(o(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function p(t,e,n){if(Array.isArray(e)){0;for(var r=0;r<e.length;++r)h(e[r],n,t.elm,null,!0,e,r)}else s(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function m(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return o(t.tag)}function v(t,n){for(var i=0;i<r.create.length;++i)r.create[i](or,t);o(e=t.data.hook)&&(o(e.create)&&e.create(or,t),o(e.insert)&&n.push(t))}function y(t){var e;if(o(e=t.fnScopeId))u.setStyleScope(t.elm,e);else for(var n=t;n;)o(e=n.context)&&o(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent;o(e=Ke)&&e!==t.context&&e!==t.fnContext&&o(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function _(t,e,n,r,i,o){for(;r<=i;++r)h(n[r],o,t,e,!1,n,r)}function x(t){var e,n,i=t.data;if(o(i))for(o(e=i.hook)&&o(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(o(e=t.children))for(n=0;n<t.children.length;++n)x(t.children[n])}function b(t,e,n){for(;e<=n;++e){var r=t[e];o(r)&&(o(r.tag)?(w(r),x(r)):l(r.elm))}}function w(t,e){if(o(e)||o(t.data)){var n,i=r.remove.length+1;for(o(e)?e.listeners+=i:e=function(t,e){function n(){0==--n.listeners&&l(t)}return n.listeners=e,n}(t.elm,i),o(n=t.componentInstance)&&o(n=n._vnode)&&o(n.data)&&w(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);o(n=t.data.hook)&&o(n=n.remove)?n(t,e):e()}else l(t.elm)}function M(t,e,n,r){for(var i=n;i<r;i++){var a=e[i];if(o(a)&&sr(t,a))return i}}function S(t,e,n,s,c,l){if(t!==e){o(e.elm)&&o(s)&&(e=s[c]=xt(e));var f=e.elm=t.elm;if(a(t.isAsyncPlaceholder))o(e.asyncFactory.resolved)?E(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(a(e.isStatic)&&a(t.isStatic)&&e.key===t.key&&(a(e.isCloned)||a(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,p=e.data;o(p)&&o(d=p.hook)&&o(d=d.prepatch)&&d(t,e);var g=t.children,v=e.children;if(o(p)&&m(e)){for(d=0;d<r.update.length;++d)r.update[d](t,e);o(d=p.hook)&&o(d=d.update)&&d(t,e)}i(e.text)?o(g)&&o(v)?g!==v&&function(t,e,n,r,a){var s,c,l,f=0,d=0,p=e.length-1,m=e[0],g=e[p],v=n.length-1,y=n[0],x=n[v],w=!a;for(0;f<=p&&d<=v;)i(m)?m=e[++f]:i(g)?g=e[--p]:sr(m,y)?(S(m,y,r,n,d),m=e[++f],y=n[++d]):sr(g,x)?(S(g,x,r,n,v),g=e[--p],x=n[--v]):sr(m,x)?(S(m,x,r,n,v),w&&u.insertBefore(t,m.elm,u.nextSibling(g.elm)),m=e[++f],x=n[--v]):sr(g,y)?(S(g,y,r,n,d),w&&u.insertBefore(t,g.elm,m.elm),g=e[--p],y=n[++d]):(i(s)&&(s=cr(e,f,p)),i(c=o(y.key)?s[y.key]:M(y,e,f,p))?h(y,r,t,m.elm,!1,n,d):sr(l=e[c],y)?(S(l,y,r,n,d),e[c]=void 0,w&&u.insertBefore(t,l.elm,m.elm)):h(y,r,t,m.elm,!1,n,d),y=n[++d]);f>p?_(t,i(n[v+1])?null:n[v+1].elm,n,d,v,r):d>v&&b(e,f,p)}(f,g,v,n,l):o(v)?(o(t.text)&&u.setTextContent(f,""),_(f,null,v,0,v.length-1,n)):o(g)?b(g,0,g.length-1):o(t.text)&&u.setTextContent(f,""):t.text!==e.text&&u.setTextContent(f,e.text),o(p)&&o(d=p.hook)&&o(d=d.postpatch)&&d(t,e)}}}function A(t,e,n){if(a(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var C=g("attrs,class,staticClass,staticStyle,key");function E(t,e,n,r){var i,s=e.tag,c=e.data,u=e.children;if(r=r||c&&c.pre,e.elm=t,a(e.isComment)&&o(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(o(c)&&(o(i=c.hook)&&o(i=i.init)&&i(e,!0),o(i=e.componentInstance)))return f(e,n),!0;if(o(s)){if(o(u))if(t.hasChildNodes())if(o(i=c)&&o(i=i.domProps)&&o(i=i.innerHTML)){if(i!==t.innerHTML)return!1}else{for(var l=!0,h=t.firstChild,d=0;d<u.length;d++){if(!h||!E(h,u[d],n,r)){l=!1;break}h=h.nextSibling}if(!l||h)return!1}else p(e,u,n);if(o(c)){var m=!1;for(var g in c)if(!C(g)){m=!0,v(e,n);break}!m&&c.class&&ae(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,s){if(!i(e)){var c,l=!1,f=[];if(i(t))l=!0,h(e,f);else{var d=o(t.nodeType);if(!d&&sr(t,e))S(t,e,f,null,null,s);else{if(d){if(1===t.nodeType&&t.hasAttribute("data-server-rendered")&&(t.removeAttribute("data-server-rendered"),n=!0),a(n)&&E(t,e,f))return A(e,f,!0),t;c=t,t=new gt(u.tagName(c).toLowerCase(),{},[],void 0,c)}var p=t.elm,g=u.parentNode(p);if(h(e,f,p._leaveCb?null:g,u.nextSibling(p)),o(e.parent))for(var v=e.parent,y=m(e);v;){for(var _=0;_<r.destroy.length;++_)r.destroy[_](v);if(v.elm=e.elm,y){for(var w=0;w<r.create.length;++w)r.create[w](or,v);var M=v.data.hook.insert;if(M.merged)for(var C=1;C<M.fns.length;C++)M.fns[C]()}else ir(v);v=v.parent}o(g)?b([t],0,0):o(t.tag)&&x(t)}}return A(e,f,l),e.elm}o(t)&&x(t)}}({nodeOps:nr,modules:[_r,Er,ri,ai,vi,Q?{create:Gi,activate:Gi,remove:function(t,e){!0!==t.data.show?Ui(t,e):e()}}:{}].concat(mr)});K&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Ji(t,"input")}));var Hi={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?le(n,"postpatch",(function(){Hi.componentUpdated(t,e,n)})):Wi(t,e,n.context),t._vOptions=[].map.call(t.options,Qi)):("textarea"===n.tag||tr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Xi),t.addEventListener("compositionend",Yi),t.addEventListener("change",Yi),K&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Wi(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,Qi);if(i.some((function(t,e){return!B(t,r[e])})))(t.multiple?e.value.some((function(t){return Zi(t,i)})):e.value!==e.oldValue&&Zi(e.value,i))&&Ji(t,"change")}}};function Wi(t,e,n){Vi(t,e,n),(q||$)&&setTimeout((function(){Vi(t,e,n)}),0)}function Vi(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],i)o=D(r,Qi(a))>-1,a.selected!==o&&(a.selected=o);else if(B(Qi(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function Zi(t,e){return e.every((function(e){return!B(e,t)}))}function Qi(t){return"_value"in t?t._value:t.value}function Xi(t){t.target.composing=!0}function Yi(t){t.target.composing&&(t.target.composing=!1,Ji(t.target,"input"))}function Ji(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function qi(t){return!t.componentInstance||t.data&&t.data.transition?t:qi(t.componentInstance._vnode)}var Ki={model:Hi,show:{bind:function(t,e,n){var r=e.value,i=(n=qi(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Fi(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=qi(n)).data&&n.data.transition?(n.data.show=!0,r?Fi(n,(function(){t.style.display=t.__vOriginalDisplay})):Ui(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}}},$i={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function to(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?to(Qe(e.children)):t}function eo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[S(o)]=i[o];return e}function no(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var ro=function(t){return t.tag||ve(t)},io=function(t){return"show"===t.name},oo={name:"transition",props:$i,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(ro)).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=to(i);if(!o)return i;if(this._leaving)return no(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var c=(o.data||(o.data={})).transition=eo(this),u=this._vnode,l=to(u);if(o.data.directives&&o.data.directives.some(io)&&(o.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,l)&&!ve(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var h=l.data.transition=L({},c);if("out-in"===r)return this._leaving=!0,le(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),no(t,i);if("in-out"===r){if(ve(o))return u;var f,d=function(){f()};le(c,"afterEnter",d),le(c,"enterCancelled",d),le(h,"delayLeave",(function(t){f=t}))}}return i}}},ao=L({tag:String,moveClass:String},$i);function so(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function co(t){t.data.newPos=t.elm.getBoundingClientRect()}function uo(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete ao.mode;var lo={Transition:oo,TransitionGroup:{props:ao,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=$e(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=eo(this),s=0;s<i.length;s++){var c=i[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(r){for(var u=[],l=[],h=0;h<r.length;h++){var f=r[h];f.data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?u.push(f):l.push(f)}this.kept=t(e,null,u),this.removed=l}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(so),t.forEach(co),t.forEach(uo),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;Li(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Ai,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Ai,t),n._moveCb=null,Pi(n,e))})}})))},methods:{hasMove:function(t,e){if(!Mi)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){xi(n,t)})),_i(n,e),n.style.display="none",this.$el.appendChild(n);var r=ki(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};Cn.config.mustUseProp=Dn,Cn.config.isReservedTag=qn,Cn.config.isReservedAttr=kn,Cn.config.getTagNamespace=Kn,Cn.config.isUnknownElement=function(t){if(!Q)return!0;if(qn(t))return!1;if(t=t.toLowerCase(),null!=$n[t])return $n[t];var e=document.createElement(t);return t.indexOf("-")>-1?$n[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:$n[t]=/HTMLUnknownElement/.test(e.toString())},L(Cn.options.directives,Ki),L(Cn.options.components,lo),Cn.prototype.__patch__=Q?zi:R,Cn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=yt),nn(t,"beforeMount"),r=function(){t._update(t._render(),n)},new mn(t,r,R,{before:function(){t._isMounted&&!t._isDestroyed&&nn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,nn(t,"mounted")),t}(this,t=t&&Q?er(t):void 0,e)},Q&&setTimeout((function(){N.devtools&&at&&at.emit("init",Cn)}),0);var ho=/\{\{((?:.|\r?\n)+?)\}\}/g,fo=/[-.*+?^${}()|[\]\/\\]/g,po=w((function(t){var e=t[0].replace(fo,"\\$&"),n=t[1].replace(fo,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));var mo={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Nr(t,"class");n&&(t.staticClass=JSON.stringify(n));var r=jr(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var go,vo={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Nr(t,"style");n&&(t.staticStyle=JSON.stringify(si(n)));var r=jr(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},yo=function(t){return(go=go||document.createElement("div")).innerHTML=t,go.textContent},_o=g("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),xo=g("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),bo=g("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),wo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Mo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,So="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+G.source+"]*",Ao="((?:"+So+"\\:)?"+So+")",Co=new RegExp("^<"+Ao),Eo=/^\s*(\/?)>/,To=new RegExp("^<\\/"+Ao+"[^>]*>"),Io=/^<!DOCTYPE [^>]+>/i,Lo=/^<!\--/,Po=/^<!\[/,Ro=g("script,style,textarea",!0),Oo={},ko={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},Bo=/&(?:lt|gt|quot|amp|#39);/g,Do=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Fo=g("pre,textarea",!0),Uo=function(t,e){return t&&Fo(t)&&"\n"===e[0]};function jo(t,e){var n=e?Do:Bo;return t.replace(n,(function(t){return ko[t]}))}var No,Go,zo,Ho,Wo,Vo,Zo,Qo,Xo=/^@|^v-on:/,Yo=/^v-|^@|^:|^#/,Jo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,qo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ko=/^\(|\)$/g,$o=/^\[.*\]$/,ta=/:(.*)$/,ea=/^:|^\.|^v-bind:/,na=/\.[^.\]]+(?=[^\]]*$)/g,ra=/^v-slot(:|$)|^#/,ia=/[\r\n]/,oa=/[ \f\t\r\n]+/g,aa=w(yo);function sa(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:pa(e),rawAttrsMap:{},parent:n,children:[]}}function ca(t,e){No=e.warn||Pr,Vo=e.isPreTag||O,Zo=e.mustUseProp||O,Qo=e.getTagNamespace||O;var n=e.isReservedTag||O;(function(t){return!(!(t.component||t.attrsMap[":is"]||t.attrsMap["v-bind:is"])&&(t.attrsMap.is?n(t.attrsMap.is):n(t.tag)))}),zo=Rr(e.modules,"transformNode"),Ho=Rr(e.modules,"preTransformNode"),Wo=Rr(e.modules,"postTransformNode"),Go=e.delimiters;var r,i,o=[],a=!1!==e.preserveWhitespace,s=e.whitespace,c=!1,u=!1;function l(t){if(h(t),c||t.processed||(t=ua(t,e)),o.length||t===r||r.if&&(t.elseif||t.else)&&ha(r,{exp:t.elseif,block:t}),i&&!t.forbidden)if(t.elseif||t.else)a=t,(s=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(i.children))&&s.if&&ha(s,{exp:a.elseif,block:a});else{if(t.slotScope){var n=t.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=t}i.children.push(t),t.parent=i}var a,s;t.children=t.children.filter((function(t){return!t.slotScope})),h(t),t.pre&&(c=!1),Vo(t.tag)&&(u=!1);for(var l=0;l<Wo.length;l++)Wo[l](t,e)}function h(t){if(!u)for(var e;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}return function(t,e){for(var n,r,i=[],o=e.expectHTML,a=e.isUnaryTag||O,s=e.canBeLeftOpenTag||O,c=0;t;){if(n=t,r&&Ro(r)){var u=0,l=r.toLowerCase(),h=Oo[l]||(Oo[l]=new RegExp("([\\s\\S]*?)(</"+l+"[^>]*>)","i")),f=t.replace(h,(function(t,n,r){return u=r.length,Ro(l)||"noscript"===l||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Uo(l,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));c+=t.length-f.length,t=f,C(l,c-u,c)}else{var d=t.indexOf("<");if(0===d){if(Lo.test(t)){var p=t.indexOf("--\x3e");if(p>=0){e.shouldKeepComment&&e.comment(t.substring(4,p),c,c+p+3),M(p+3);continue}}if(Po.test(t)){var m=t.indexOf("]>");if(m>=0){M(m+2);continue}}var g=t.match(Io);if(g){M(g[0].length);continue}var v=t.match(To);if(v){var y=c;M(v[0].length),C(v[1],y,c);continue}var _=S();if(_){A(_),Uo(_.tagName,t)&&M(1);continue}}var x=void 0,b=void 0,w=void 0;if(d>=0){for(b=t.slice(d);!(To.test(b)||Co.test(b)||Lo.test(b)||Po.test(b)||(w=b.indexOf("<",1))<0);)d+=w,b=t.slice(d);x=t.substring(0,d)}d<0&&(x=t),x&&M(x.length),e.chars&&x&&e.chars(x,c-x.length,c)}if(t===n){e.chars&&e.chars(t);break}}function M(e){c+=e,t=t.substring(e)}function S(){var e=t.match(Co);if(e){var n,r,i={tagName:e[1],attrs:[],start:c};for(M(e[0].length);!(n=t.match(Eo))&&(r=t.match(Mo)||t.match(wo));)r.start=c,M(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],M(n[0].length),i.end=c,i}}function A(t){var n=t.tagName,c=t.unarySlash;o&&("p"===r&&bo(n)&&C(r),s(n)&&r===n&&C(n));for(var u=a(n)||!!c,l=t.attrs.length,h=new Array(l),f=0;f<l;f++){var d=t.attrs[f],p=d[3]||d[4]||d[5]||"",m="a"===n&&"href"===d[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;h[f]={name:d[1],value:jo(p,m)}}u||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h,start:t.start,end:t.end}),r=n),e.start&&e.start(n,h,u,t.start,t.end)}function C(t,n,o){var a,s;if(null==n&&(n=c),null==o&&(o=c),t)for(s=t.toLowerCase(),a=i.length-1;a>=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)e.end&&e.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}C()}(t,{warn:No,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,a,s,h){var f=i&&i.ns||Qo(t);q&&"svg"===f&&(n=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];ma.test(r.name)||(r.name=r.name.replace(ga,""),e.push(r))}return e}(n));var d,p=sa(t,n,i);f&&(p.ns=f),"style"!==(d=p).tag&&("script"!==d.tag||d.attrsMap.type&&"text/javascript"!==d.attrsMap.type)||ot()||(p.forbidden=!0);for(var m=0;m<Ho.length;m++)p=Ho[m](p,e)||p;c||(!function(t){null!=Nr(t,"v-pre")&&(t.pre=!0)}(p),p.pre&&(c=!0)),Vo(p.tag)&&(u=!0),c?function(t){var e=t.attrsList,n=e.length;if(n)for(var r=t.attrs=new Array(n),i=0;i<n;i++)r[i]={name:e[i].name,value:JSON.stringify(e[i].value)},null!=e[i].start&&(r[i].start=e[i].start,r[i].end=e[i].end);else t.pre||(t.plain=!0)}(p):p.processed||(la(p),function(t){var e=Nr(t,"v-if");if(e)t.if=e,ha(t,{exp:e,block:t});else{null!=Nr(t,"v-else")&&(t.else=!0);var n=Nr(t,"v-else-if");n&&(t.elseif=n)}}(p),function(t){null!=Nr(t,"v-once")&&(t.once=!0)}(p)),r||(r=p),a?l(p):(i=p,o.push(p))},end:function(t,e,n){var r=o[o.length-1];o.length-=1,i=o[o.length-1],l(r)},chars:function(t,e,n){if(i&&(!q||"textarea"!==i.tag||i.attrsMap.placeholder!==t)){var r,o,l,h=i.children;if(t=u||t.trim()?"script"===(r=i).tag||"style"===r.tag?t:aa(t):h.length?s?"condense"===s&&ia.test(t)?"":" ":a?" ":"":"")u||"condense"!==s||(t=t.replace(oa," ")),!c&&" "!==t&&(o=function(t,e){var n=e?po(e):ho;if(n.test(t)){for(var r,i,o,a=[],s=[],c=n.lastIndex=0;r=n.exec(t);){(i=r.index)>c&&(s.push(o=t.slice(c,i)),a.push(JSON.stringify(o)));var u=Ir(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c<t.length&&(s.push(o=t.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}(t,Go))?l={type:2,expression:o.expression,tokens:o.tokens,text:t}:" "===t&&h.length&&" "===h[h.length-1].text||(l={type:3,text:t}),l&&h.push(l)}},comment:function(t,e,n){if(i){var r={type:3,text:t,isComment:!0};0,i.children.push(r)}}}),r}function ua(t,e){var n;!function(t){var e=jr(t,"key");if(e){t.key=e}}(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=jr(t,"ref");e&&(t.ref=e,t.refInFor=function(t){var e=t;for(;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=Nr(t,"scope"),t.slotScope=e||Nr(t,"slot-scope")):(e=Nr(t,"slot-scope"))&&(t.slotScope=e);var n=jr(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||kr(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot")));if("template"===t.tag){var r=Gr(t,ra);if(r){0;var i=fa(r),o=i.name,a=i.dynamic;t.slotTarget=o,t.slotTargetDynamic=a,t.slotScope=r.value||"_empty_"}}else{var s=Gr(t,ra);if(s){0;var c=t.scopedSlots||(t.scopedSlots={}),u=fa(s),l=u.name,h=u.dynamic,f=c[l]=sa("template",[],t);f.slotTarget=l,f.slotTargetDynamic=h,f.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=f,!0})),f.slotScope=s.value||"_empty_",t.children=[],t.plain=!1}}}(t),"slot"===(n=t).tag&&(n.slotName=jr(n,"name")),function(t){var e;(e=jr(t,"is"))&&(t.component=e);null!=Nr(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var r=0;r<zo.length;r++)t=zo[r](t,e)||t;return function(t){var e,n,r,i,o,a,s,c,u=t.attrsList;for(e=0,n=u.length;e<n;e++){if(r=i=u[e].name,o=u[e].value,Yo.test(r))if(t.hasBindings=!0,(a=da(r.replace(Yo,"")))&&(r=r.replace(na,"")),ea.test(r))r=r.replace(ea,""),o=Ir(o),(c=$o.test(r))&&(r=r.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(r=S(r))&&(r="innerHTML"),a.camel&&!c&&(r=S(r)),a.sync&&(s=Wr(o,"$event"),c?Ur(t,'"update:"+('+r+")",s,null,!1,0,u[e],!0):(Ur(t,"update:"+S(r),s,null,!1,0,u[e]),E(r)!==S(r)&&Ur(t,"update:"+E(r),s,null,!1,0,u[e])))),a&&a.prop||!t.component&&Zo(t.tag,t.attrsMap.type,r)?Or(t,r,o,u[e],c):kr(t,r,o,u[e],c);else if(Xo.test(r))r=r.replace(Xo,""),(c=$o.test(r))&&(r=r.slice(1,-1)),Ur(t,r,o,a,!1,0,u[e],c);else{var l=(r=r.replace(Yo,"")).match(ta),h=l&&l[1];c=!1,h&&(r=r.slice(0,-(h.length+1)),$o.test(h)&&(h=h.slice(1,-1),c=!0)),Dr(t,r,i,o,h,c,a,u[e])}else kr(t,r,JSON.stringify(o),u[e]),!t.component&&"muted"===r&&Zo(t.tag,t.attrsMap.type,r)&&Or(t,r,"true",u[e])}}(t),t}function la(t){var e;if(e=Nr(t,"v-for")){var n=function(t){var e=t.match(Jo);if(!e)return;var n={};n.for=e[2].trim();var r=e[1].trim().replace(Ko,""),i=r.match(qo);i?(n.alias=r.replace(qo,"").trim(),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r;return n}(e);n&&L(t,n)}}function ha(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function fa(t){var e=t.name.replace(ra,"");return e||"#"!==t.name[0]&&(e="default"),$o.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function da(t){var e=t.match(na);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function pa(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}var ma=/^xmlns:NS\d+/,ga=/^NS\d+:/;function va(t){return sa(t.tag,t.attrsList.slice(),t.parent)}var ya=[mo,vo,{preTransformNode:function(t,e){if("input"===t.tag){var n,r=t.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=jr(t,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var i=Nr(t,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Nr(t,"v-else",!0),s=Nr(t,"v-else-if",!0),c=va(t);la(c),Br(c,"type","checkbox"),ua(c,e),c.processed=!0,c.if="("+n+")==='checkbox'"+o,ha(c,{exp:c.if,block:c});var u=va(t);Nr(u,"v-for",!0),Br(u,"type","radio"),ua(u,e),ha(c,{exp:"("+n+")==='radio'"+o,block:u});var l=va(t);return Nr(l,"v-for",!0),Br(l,":type",n),ua(l,e),ha(c,{exp:i,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}}];var _a,xa,ba={expectHTML:!0,modules:ya,directives:{model:function(t,e,n){n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return Hr(t,r,i),!1;if("select"===o)!function(t,e,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+Wr(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Ur(t,"change",r,null,!0)}(t,r,i);else if("input"===o&&"checkbox"===a)!function(t,e,n){var r=n&&n.number,i=jr(t,"value")||"null",o=jr(t,"true-value")||"true",a=jr(t,"false-value")||"false";Or(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Ur(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Wr(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Wr(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Wr(e,"$$c")+"}",null,!0)}(t,r,i);else if("input"===o&&"radio"===a)!function(t,e,n){var r=n&&n.number,i=jr(t,"value")||"null";Or(t,"checked","_q("+e+","+(i=r?"_n("+i+")":i)+")"),Ur(t,"change",Wr(e,i),null,!0)}(t,r,i);else if("input"===o||"textarea"===o)!function(t,e,n){var r=t.attrsMap.type;0;var i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?"__r":"input",l="$event.target.value";s&&(l="$event.target.value.trim()");a&&(l="_n("+l+")");var h=Wr(e,l);c&&(h="if($event.target.composing)return;"+h);Or(t,"value","("+e+")"),Ur(t,u,h,null,!0),(s||a)&&Ur(t,"blur","$forceUpdate()")}(t,r,i);else{if(!N.isReservedTag(o))return Hr(t,r,i),!1}return!0},text:function(t,e){e.value&&Or(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Or(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:_o,mustUseProp:Dn,canBeLeftOpenTag:xo,isReservedTag:qn,getTagNamespace:Kn,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(ya)},wa=w((function(t){return g("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function Ma(t,e){t&&(_a=wa(e.staticKeys||""),xa=e.isReservedTag||O,function t(e){if(e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||v(t.tag)||!xa(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(_a)))}(e),1===e.type){if(!xa(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,r=e.children.length;n<r;n++){var i=e.children[n];t(i),i.static||(e.static=!1)}if(e.ifConditions)for(var o=1,a=e.ifConditions.length;o<a;o++){var s=e.ifConditions[o].block;t(s),s.static||(e.static=!1)}}}(t),function t(e,n){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=n),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var r=0,i=e.children.length;r<i;r++)t(e.children[r],n||!!e.for);if(e.ifConditions)for(var o=1,a=e.ifConditions.length;o<a;o++)t(e.ifConditions[o].block,n)}}(t,!1))}var Sa=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Aa=/\([^)]*?\);*$/,Ca=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ea={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ta={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Ia=function(t){return"if("+t+")return null;"},La={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ia("$event.target !== $event.currentTarget"),ctrl:Ia("!$event.ctrlKey"),shift:Ia("!$event.shiftKey"),alt:Ia("!$event.altKey"),meta:Ia("!$event.metaKey"),left:Ia("'button' in $event && $event.button !== 0"),middle:Ia("'button' in $event && $event.button !== 1"),right:Ia("'button' in $event && $event.button !== 2")};function Pa(t,e){var n=e?"nativeOn:":"on:",r="",i="";for(var o in t){var a=Ra(t[o]);t[o]&&t[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Ra(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return Ra(t)})).join(",")+"]";var e=Ca.test(t.value),n=Sa.test(t.value),r=Ca.test(t.value.replace(Aa,""));if(t.modifiers){var i="",o="",a=[];for(var s in t.modifiers)if(La[s])o+=La[s],Ea[s]&&a.push(s);else if("exact"===s){var c=t.modifiers;o+=Ia(["ctrl","shift","alt","meta"].filter((function(t){return!c[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else a.push(s);return a.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map(Oa).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(e?"return "+t.value+".apply(null, arguments)":n?"return ("+t.value+").apply(null, arguments)":r?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(r?"return "+t.value:t.value)+"}"}function Oa(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=Ea[t],r=Ta[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var ka={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:R},Ba=function(t){this.options=t,this.warn=t.warn||Pr,this.transforms=Rr(t.modules,"transformCode"),this.dataGenFns=Rr(t.modules,"genData"),this.directives=L(L({},ka),t.directives);var e=t.isReservedTag||O;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Da(t,e){var n=new Ba(e);return{render:"with(this){return "+(t?"script"===t.tag?"null":Fa(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Fa(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Ua(t,e);if(t.once&&!t.onceProcessed)return ja(t,e);if(t.for&&!t.forProcessed)return Ga(t,e);if(t.if&&!t.ifProcessed)return Na(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=Va(t,e),i="_t("+n+(r?",function(){return "+r+"}":""),o=t.attrs||t.dynamicAttrs?Xa((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:S(t.name),value:t.value,dynamic:t.dynamic}}))):null,a=t.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(t,e);var n;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:Va(e,n,!0);return"_c("+t+","+za(e,n)+(r?","+r:"")+")"}(t.component,t,e);else{var r;(!t.plain||t.pre&&e.maybeComponent(t))&&(r=za(t,e));var i=t.inlineTemplate?null:Va(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<e.transforms.length;o++)n=e.transforms[o](t,n);return n}return Va(t,e)||"void 0"}function Ua(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return "+Fa(t,e)+"}"),e.pre=n,"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function ja(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Na(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+Fa(t,e)+","+e.onceId+++","+n+")":Fa(t,e)}return Ua(t,e)}function Na(t,e,n,r){return t.ifProcessed=!0,function t(e,n,r,i){if(!e.length)return i||"_e()";var o=e.shift();return o.exp?"("+o.exp+")?"+a(o.block)+":"+t(e,n,r,i):""+a(o.block);function a(t){return r?r(t,n):t.once?ja(t,n):Fa(t,n)}}(t.ifConditions.slice(),e,n,r)}function Ga(t,e,n,r){var i=t.for,o=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(r||"_l")+"(("+i+"),function("+o+a+s+"){return "+(n||Fa)(t,e)+"})"}function za(t,e){var n="{",r=function(t,e){var n=t.directives;if(!n)return;var r,i,o,a,s="directives:[",c=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var u=e.directives[o.name];u&&(a=!!u(t,o,e.warn)),a&&(c=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}if(c)return s.slice(0,-1)+"]"}(t,e);r&&(n+=r+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var i=0;i<e.dataGenFns.length;i++)n+=e.dataGenFns[i](t);if(t.attrs&&(n+="attrs:"+Xa(t.attrs)+","),t.props&&(n+="domProps:"+Xa(t.props)+","),t.events&&(n+=Pa(t.events,!1)+","),t.nativeEvents&&(n+=Pa(t.nativeEvents,!0)+","),t.slotTarget&&!t.slotScope&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=function(t,e,n){var r=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||Ha(n)})),i=!!t.if;if(!r)for(var o=t.parent;o;){if(o.slotScope&&"_empty_"!==o.slotScope||o.for){r=!0;break}o.if&&(i=!0),o=o.parent}var a=Object.keys(e).map((function(t){return Wa(e[t],n)})).join(",");return"scopedSlots:_u(["+a+"]"+(r?",null,true":"")+(!r&&i?",null,false,"+function(t){var e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e>>>0}(a):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var r=Da(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+Xa(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Ha(t){return 1===t.type&&("slot"===t.tag||t.children.some(Ha))}function Wa(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Na(t,e,Wa,"null");if(t.for&&!t.forProcessed)return Ga(t,e,Wa);var r="_empty_"===t.slotScope?"":String(t.slotScope),i="function("+r+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Va(t,e)||"undefined")+":undefined":Va(t,e)||"undefined":Fa(t,e))+"}",o=r?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+i+o+"}"}function Va(t,e,n,r,i){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(r||Fa)(a,e)+s}var c=n?function(t,e){for(var n=0,r=0;r<t.length;r++){var i=t[r];if(1===i.type){if(Za(i)||i.ifConditions&&i.ifConditions.some((function(t){return Za(t.block)}))){n=2;break}(e(i)||i.ifConditions&&i.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}(o,e.maybeComponent):0,u=i||Qa;return"["+o.map((function(t){return u(t,e)})).join(",")+"]"+(c?","+c:"")}}function Za(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Qa(t,e){return 1===t.type?Fa(t,e):3===t.type&&t.isComment?function(t){return"_e("+JSON.stringify(t.text)+")"}(t):function(t){return"_v("+(2===t.type?t.expression:Ya(JSON.stringify(t.text)))+")"}(t)}function Xa(t){for(var e="",n="",r=0;r<t.length;r++){var i=t[r],o=Ya(i.value);i.dynamic?n+=i.name+","+o+",":e+='"'+i.name+'":'+o+","}return e="{"+e.slice(0,-1)+"}",n?"_d("+e+",["+n.slice(0,-1)+"])":e}function Ya(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function Ja(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),R}}function qa(t){var e=Object.create(null);return function(n,r,i){(r=L({},r)).warn;delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(e[o])return e[o];var a=t(n,r);var s={},c=[];return s.render=Ja(a.render,c),s.staticRenderFns=a.staticRenderFns.map((function(t){return Ja(t,c)})),e[o]=s}}var Ka,$a,ts=(Ka=function(t,e){var n=ca(t.trim(),e);!1!==e.optimize&&Ma(n,e);var r=Da(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(t){function e(e,n){var r=Object.create(t),i=[],o=[];if(n)for(var a in n.modules&&(r.modules=(t.modules||[]).concat(n.modules)),n.directives&&(r.directives=L(Object.create(t.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(r[a]=n[a]);r.warn=function(t,e,n){(n?o:i).push(t)};var s=Ka(e.trim(),r);return s.errors=i,s.tips=o,s}return{compile:e,compileToFunctions:qa(e)}})(ba),es=(ts.compile,ts.compileToFunctions);function ns(t){return($a=$a||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',$a.innerHTML.indexOf(" ")>0}var rs=!!Q&&ns(!1),is=!!Q&&ns(!0),os=w((function(t){var e=er(t);return e&&e.innerHTML})),as=Cn.prototype.$mount;Cn.prototype.$mount=function(t,e){if((t=t&&er(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=os(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){0;var i=es(r,{outputSourceRange:!1,shouldDecodeNewlines:rs,shouldDecodeNewlinesForHref:is,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return as.call(this,t,e)},Cn.compile=es,e.default=Cn}.call(this,n(12),n(94).setImmediate)},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,i,o,a,s,c=1,u={},l=!1,h=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){p(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){p(t.data)},r=function(t){o.port2.postMessage(t)}):h&&"onreadystatechange"in h.createElement("script")?(i=h.documentElement,r=function(t){var e=h.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):r=function(t){setTimeout(p,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&p(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(e){t.postMessage(a+e,"*")}),f.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var i={callback:t,args:e};return u[c]=i,r(c),c++},f.clearImmediate=d}function d(t){delete u[t]}function p(t){if(l)setTimeout(p,0,t);else{var e=u[t];if(e){l=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{d(t),l=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(12),n(82))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s(n(91)),i=n(5),o=s(n(8)),a=n(6);function s(t){return t&&t.__esModule?t:{default:t}}e.default={name:"BasicLayout",inject:["slotsList"],computed:{nav:function(){return this.$store.state.user.addRouters},appRouter:function(){return this.$store.state.user.appRouters}},data:function(){return{layout:"SidebarWrapper"}},methods:{changeLayout:function(){var t=this.$route.matched;t[1]&&"BasicLayout"===t[1].components.default.name&&this.$store.commit("user/SET_ROUTERS",[this.appRouter[0].children[1]])}},created:function(){this.changeLayout()},mounted:function(){var t=this;this.$watch("$route",(function(e){var n=e.matched;if(t.nav&&!(0,a.isEmpty)(t.nav)&&!(0,a.isEmpty)(t.nav[0].children)){var r=(0,i.treeFindPath)(t.nav[0].children,(function(t){return t.meta.id===n[n.length-1].meta.id}));(0,a.isEmpty)(r)||!r.length||(0,a.isFunction)(r[0].component)||(t.layout=r[0].component.name)}}),{immediate:!0,deep:!0})},render:function(){var t=arguments[0],e=(0,o.default)([i.prefixCls+"-layout-light",i.prefixCls+"-basic-layout"]);return t("a-layout",{class:e},[t(r.default,{attrs:{theme:"MapWrapper"===this.layout?"dark":"light",fixed:"MapWrapper"===this.layout,"nav-list":this.nav[0].children}}),t("a-layout-content",[this.slotsList.content?this.slotsList.content:null,t("router-view",{class:i.prefixCls+"-layout-content"})])])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),i=a(n(54)),o=n(55);a(o);function a(t){return t&&t.__esModule?t:{default:t}}e.default={name:"MapWrapper",components:{GMap:o.GMap},data:function(){return{isLoaded:!1}},methods:{mapLoad:function(t,e,n){t&&(this.isLoaded=!0),i.default.$emit("loadMap",t)}},render:function(){var t=arguments[0];return t("span",[t(o.GMap,{on:{load:this.mapLoad}}),this.isLoaded?t("router-view",{attrs:{theme:"dark",fixed:!0},class:r.prefixCls+"-layout-content"}):null])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"NoSliderWrapper",render:function(){var t=arguments[0];return t("router-view")}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=c(n(56)),i=c(n(35)),o=n(5),a=n(6),s=c(n(8));function c(t){return t&&t.__esModule?t:{default:t}}e.default={name:"SliderWrapper",props:{theme:{type:String,default:"light"},fixed:{type:Boolean,default:!1}},computed:{nav:function(){return this.$store.state.user.addRouters}},data:function(){return{sidebarList:[],openKeys:[],selectedKeys:[]}},mounted:function(){var t=this;this.$watch("$route",(function(e){var n=e.matched;if(t.nav&&!(0,a.isEmpty)(t.nav)&&!(0,a.isEmpty)(t.nav[0].children)){var r=(0,o.treeFindPath)(t.nav[0].children,(function(t){return t.meta.id===n[n.length-1].meta.id}));t.sidebarList=r[0].children}}),{immediate:!0})},render:function(){var t=arguments[0],e=(0,s.default)([o.prefixCls+"-slider-"+this.theme,this.fixed?o.prefixCls+"-slider-fixed":""]);return t("a-layout",{class:o.prefixCls+"-full-layout"},[this.fixed?t("a-affix",{attrs:{"offset-top":70}},[t(r.default,{attrs:{sidebarList:this.sidebarList,theme:this.theme},class:e})]):t(r.default,{attrs:{sidebarList:this.sidebarList,theme:this.theme},class:e}),t("a-layout-content",[t("div",{attrs:{id:"microApp"}}),t(i.default)])])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"NormalIcon",render:function(){var t=arguments[0];return t("svg",{attrs:{t:"1631500138971",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"12851",width:"200",height:"200"},class:"rk-web-core-normal-icon"},[t("path",{attrs:{d:"M51.2 320m51.2 0l102.4 0q51.2 0 51.2 51.2l0 512q0 51.2-51.2 51.2l-102.4 0q-51.2 0-51.2-51.2l0-512q0-51.2 51.2-51.2Z","p-id":"12852"}}),t("path",{attrs:{d:"M409.6 512m51.2 0l102.4 0q51.2 0 51.2 51.2l0 307.2q0 51.2-51.2 51.2l-102.4 0q-51.2 0-51.2-51.2l0-307.2q0-51.2 51.2-51.2Z","p-id":"12853"}}),t("path",{attrs:{d:"M768 115.2m51.2 0l102.4 0q51.2 0 51.2 51.2l0 716.8q0 51.2-51.2 51.2l-102.4 0q-51.2 0-51.2-51.2l0-716.8q0-51.2 51.2-51.2Z","p-id":"12854"}})])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=l(n(8)),i=n(5),o=l(n(35)),a=l(n(53)),s=l(n(56)),c=l(n(92)),u=l(n(93));function l(t){return t&&t.__esModule?t:{default:t}}e.default={name:"AdminLayout",inject:["slotsList"],computed:{nav:function(){return this.$store.state.user.addRouters}},data:function(){return{sidebarList:[],openKeys:[],selectedKeys:[],isOpen:!0}},methods:{handleSidebarChange:function(t){this.isOpen=t}},render:function(){var t=this,e=arguments[0],n=(0,r.default)([i.prefixCls+"-layout-light",i.prefixCls+"-basic-layout",i.prefixCls+"-admin-layout"]),l=(0,r.default)([i.prefixCls+"-header",i.prefixCls+"-header-light",i.prefixCls+"-header-light-header",this.isOpen?"":i.prefixCls+"-header-between"]),h=(0,r.default)([i.prefixCls+"-slider-light"]);return e("a-layout",{class:n},[e("a-layout-sider",{class:i.prefixCls+"-slider",attrs:{width:this.isOpen?250:0}},[this.slotsList.logo?this.slotsList.logo:e(a.default,{attrs:{prefix:"basic",theme:"light"}}),e(s.default,{attrs:{sidebarList:this.nav[0].children},class:h,on:{change:function(e){return t.handleSidebarChange(e)}}})]),e("a-layout",[e("a-layout-header",{class:l},[this.isOpen?null:this.slotsList.logo?this.slotsList.logo:e(a.default,{attrs:{prefix:"basic",theme:"light"}}),e("div",{class:[i.prefixCls+"-header-light-inner",i.prefixCls+"-header-inner"]},[this.slotsList.header?this.slotsList.header:null,e(c.default),e(u.default)])]),e("a-layout-content",[e(o.default)])])])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=c(n(8)),i=n(5),o=c(n(35)),a=c(n(53)),s=c(n(56));function c(t){return t&&t.__esModule?t:{default:t}}e.default={name:"FullHeaderLayout",inject:["slotsList"],computed:{nav:function(){return this.$store.state.user.addRouters}},data:function(){return{sidebarList:[],openKeys:[],selectedKeys:[]}},render:function(){var t=arguments[0],e=(0,r.default)([i.prefixCls+"-layout-light",i.prefixCls+"-basic-layout",i.prefixCls+"-admin-layout",i.prefixCls+"-fullHeader-layout"]),n=(0,r.default)([i.prefixCls+"-header",i.prefixCls+"-header-light"]),c=(0,r.default)([i.prefixCls+"-slider-light"]);return t("a-layout",{class:e},[t("a-layout-header",{class:n},[t("div",{class:[i.prefixCls+"-header-light-inner",i.prefixCls+"-header-inner"]},[this.slotsList.logo?this.slotsList.logo:t(a.default,{attrs:{prefix:"basic",theme:"light"}}),t("div",{class:i.prefixCls+"-header-right"},[t("div",{class:i.prefixCls+"-header-right-extra"},[this.slotsList.header])])])]),t("a-layout",[t(s.default,{attrs:{sidebarList:this.nav[0].children},class:c}),t("a-layout-content",[t(o.default)])])])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(223)),i=a(n(29)),o=a(n(28));function a(t){return t&&t.__esModule?t:{default:t}}var s=function t(e){(0,o.default)(this,t),this.data=e,this.parent=null,this.children=[]},c=function(){function t(){(0,o.default)(this,t),this._root=null}return(0,i.default)(t,[{key:"traverseDF",value:function(t){var e=[],n=!1;e.unshift(this._root);for(var i=e.shift();!n&&i;)(n=!0===t(i))||(e.unshift.apply(e,(0,r.default)(i.children)),i=e.shift())}},{key:"traverseBF",value:function(t){var e=[],n=!1;e.push(this._root);for(var i=e.shift();!n&&i;)(n=!0===t(i))||(e.push.apply(e,(0,r.default)(i.children)),i=e.shift())}},{key:"contains",value:function(t,e){e.call(this,t)}},{key:"add",value:function(t,e,n){var r=new s(t);if(null===this._root)return this._root=r,this;var i=null;if(this.contains((function(t){if(t.data===e)return i=t,!0}),n),i)return i.children.push(r),r.parent=i,this;throw new Error("Cannot add node to a non-existent parent.")}},{key:"remove",value:function(t,e,n){var r=null;if(this.contains((function(t){if(t.data===e)return r=t,!0}),n),!r)throw new Error("Parent does not exist.");var i=this._findIndex(r.children,t);if(i<0)throw new Error("Node to remove does not exist.");return r.children.splice(i,1)}},{key:"_findIndex",value:function(t,e){for(var n=-1,r=0,i=t.length;r<i;r++)if(t[r].data===e){n=r;break}return n}}]),t}();e.default=c},function(t,e,n){"use strict";e.__esModule=!0;var r,i=n(224),o=(r=i)&&r.__esModule?r:{default:r};e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,o.default)(t)}},function(t,e,n){t.exports={default:n(225),__esModule:!0}},function(t,e,n){n(32),n(226),t.exports=n(0).Array.from},function(t,e,n){"use strict";var r=n(18),i=n(4),o=n(21),a=n(65),s=n(66),c=n(37),u=n(227),l=n(47);i(i.S+i.F*!n(71)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,h,f=o(t),d="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=0,y=l(f);if(g&&(m=r(m,p>2?arguments[2]:void 0,2)),null==y||d==Array&&s(y))for(n=new d(e=c(f.length));e>v;v++)u(n,v,g?m(f[v],v):f[v]);else for(h=y.call(f),n=new d;!(i=h.next()).done;v++)u(n,v,g?a(h,m,[i.value,v],!0):i.value);return n.length=v,n}})},function(t,e,n){"use strict";var r=n(15),i=n(42);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.noLogin=void 0;var r=n(34),i=n(7);e.noLogin=function(t,e){return e||console.warn("token is not undefined"),function(){var n=(0,r.getUrlParam)("shopId");n?(i.localStore.set("access_token",e),i.localStore.set("code","demo"),i.localStore.set("test_project",{shopId:(0,r.getUrlParam)("shopId")||i.localStore.get("test_project").shopId,flag:(0,r.getUrlParam)("flag")||i.localStore.get("test_project").flag}),t.replace({path:"/",query:{shopId:n}}).then()):(i.localStore.remove("test_project"),sessionStorage.removeItem("noLogin"))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(54),o=(r=i)&&r.__esModule?r:{default:r};var a={name:"AppLayout",props:{datetime:{type:Boolean,default:!0},weather:{type:Boolean,default:!0},wind:{type:Boolean,default:!0},keep:{type:Boolean,default:!1},needMap:{type:Boolean,default:!1},project:{type:Boolean,default:!1},nav:{type:Boolean,default:!0},right:{type:Boolean,default:!0}},provide:function(){return{slotsList:this.$slots,propsList:this.$props,instance:this}},mounted:function(){var t=this;o.default.$on("loadMap",(function(e){console.log("***************MAPTALKS*****************"),console.log(e),console.log("***************MAPTALKS*****************"),t.$emit("load",e)}))},updated:function(){var t=this;this.$nextTick((function(){t.$store.commit("user/SET_TIME_STAMP",{type:"app",timeStamp:""+(new Date).getTime()})}))},beforeDestroy:function(){o.default.$off("loadMap")},methods:{},render:function(){var t=arguments[0],e=this.$slots;return t("div",{class:"rk-web-core-layout"},[e.default])},install:function(t){t.component(a.name,a)}};e.default=a},function(t,e,n){"use strict";n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239)},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s(n(11)),i=s(n(28)),o=s(n(29));e.microOne=h,e.microTwo=f,e.microThree=function(){window.__MICRO_APP_ENVIRONMENT__?window["micro-app-"+window.__MICRO_APP_NAME__]={mount:h(),unmount:f()}:h()};var a=s(n(241));function s(t){return t&&t.__esModule?t:{default:t}}var c=void 0,u=void 0,l=function(){function t(){(0,i.default)(this,t)}return(0,o.default)(t,[{key:"start",value:function(t){a.default.start((0,r.default)({},t))}},{key:"isMicro",value:function(){return window.__MICRO_APP_ENVIRONMENT__}},{key:"publicPath",value:function(){window.__MICRO_APP_ENVIRONMENT__&&(n.p=window.__MICRO_APP_PUBLIC_PATH__)}},{key:"registerMicro",value:function(t,e){return c=function(){console.log("********************render micro app********************"),u=new t(e).$mount("#app")},window.__MICRO_APP_ENVIRONMENT__||c(),{renderSub:c,subInstance:u,instance:a.default}}}]),t}();function h(){c()}function f(){u.$destroy(),u.$el.innerHTML="",u=null}e.default=new l},function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"EventCenterForMicroApp",(function(){return Lt})),n.d(e,"MicroApp",(function(){return $t})),n.d(e,"getActiveApps",(function(){return Yt})),n.d(e,"getAllApps",(function(){return Jt})),n.d(e,"preFetch",(function(){return Qt})),n.d(e,"pureCreateElement",(function(){return P})),n.d(e,"removeDomScope",(function(){return L})),n.d(e,"unmountAllApps",(function(){return Kt})),n.d(e,"unmountApp",(function(){return qt})),n.d(e,"version",(function(){return r}));const r="0.8.4",i="undefined"!=typeof window,o=void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:Function("return this")();function a(t){return"string"==typeof t}function s(t){return"boolean"==typeof t}function c(t){return"function"==typeof t}const u=Array.isArray;function l(t){return"[object Object]"===toString.call(t)}function h(t){return"[object Promise]"===toString.call(t)}function f(t){return c(t)&&0===t.name.indexOf("bound ")&&!t.hasOwnProperty("prototype")}const d=Object.defineProperty,p=Object.defineProperties,m=Object.prototype.hasOwnProperty;function g(t,e=null,...n){const r=e&&a(e)?` app ${e}:`:"";a(t)?console.error(`[micro-app]${r} ${t}`,...n):console.error("[micro-app]"+r,t,...n)}function v(t,e=null,...n){const r=e&&a(e)?` app ${e}:`:"";a(t)?console.warn(`[micro-app]${r} ${t}`,...n):console.warn("[micro-app]"+r,t,...n)}function y(t,...e){Promise.resolve().then(t.bind(null,...e))}function _(t){return t.startsWith("//")?`${location.protocol}${t}`:t}function x(t,e=null){if(!a(t)||!t)return"";try{const{origin:e,pathname:n,search:r}=new URL(_(t));if(/\.(\w+)$/.test(n))return`${e}${n}${r}`;const i=`${e}${n}/`.replace(/\/\/$/,"/");return/^https?:\/\//.test(i)?`${i}${r}`:""}catch(t){return g(t,e),""}}function b(t){return a(t)&&t?t.replace(/(^\d+)|([^\w\d-_])/gi,""):""}function w(t){const{origin:e,pathname:n}=new URL(t);if(/\.(\w+)$/.test(n)){const t=`${e}${n}`.split("/");return t.pop(),t.join("/")+"/"}return`${e}${n}/`.replace(/\/\/$/,"/")}function M(t,e){return!t||/^((((ht|f)tps?)|file):)?\/\//.test(t)||/^(data|blob):/.test(t)?t:new URL(t,w(_(e))).toString()}function S(t,e,n,r){let i=0;function o(){++i===t.length&&r&&r()}t.forEach((t,r)=>{h(t)?t.then(t=>{e({data:t,index:r}),o()}).catch(t=>{n({error:t,index:r}),o()}):(e({data:t,index:r}),o())})}const A=o.requestIdleCallback||function(t){const e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))})}),50)};let C=null;function E(t){C=t}function T(t){C!==t&&(E(t),y(()=>{E(null)}))}function I(){return C}function L(){E(null)}function P(t,e){const n=document.createElement(t,e);return n.__MICRO_APP_NAME__&&delete n.__MICRO_APP_NAME__,n}function R(t,e,n){if(e.innerHTML="",n){const n=t.cloneNode(!0),r=document.createDocumentFragment();Array.from(n.childNodes).forEach(t=>{r.appendChild(t)}),e.appendChild(r)}else Array.from(t.childNodes).forEach(t=>{e.appendChild(t)})}function O(t){return!t||/(^\d)|([^\w\d-_\u4e00-\u9fa5])/gi.test(t)}function k(t){return/^body$/i.test(t)||/^head$/i.test(t)||/^html$/i.test(t)}function B(t){return function(t){return"undefined"!=typeof ShadowRoot&&t instanceof ShadowRoot}(t)?t.host:t}function D(t){return t?t.replace(/^\s+|\s+$/g,""):""}function F(){return navigator.userAgent.indexOf("Firefox")>-1}var U,j,N,G;!function(t){t.NAME="name",t.URL="url"}(U||(U={})),function(t){t.NOT_LOADED="NOT_LOADED",t.LOADING_SOURCE_CODE="LOADING_SOURCE_CODE",t.LOAD_SOURCE_FINISHED="LOAD_SOURCE_FINISHED",t.LOAD_SOURCE_ERROR="LOAD_SOURCE_ERROR",t.MOUNTING="MOUNTING",t.MOUNTED="MOUNTED",t.UNMOUNT="UNMOUNT"}(j||(j={})),function(t){t.CREATED="created",t.BEFOREMOUNT="beforemount",t.MOUNTED="mounted",t.UNMOUNT="unmount",t.ERROR="error",t.BEFORESHOW="beforeshow",t.AFTERSHOW="aftershow",t.AFTERHIDDEN="afterhidden"}(N||(N={})),function(t){t.KEEP_ALIVE_SHOW="KEEP_ALIVE_SHOW",t.KEEP_ALIVE_HIDDEN="KEEP_ALIVE_HIDDEN"}(G||(G={}));const z="window,self,globalThis,Array,Object,String,Boolean,Math,Number,Symbol,Date,Promise,Function,Proxy,WeakMap,WeakSet,Set,Map,Reflect,Element,Node,Document,RegExp,Error,TypeError,JSON,isNaN,parseFloat,parseInt,performance,console,decodeURI,encodeURI,decodeURIComponent,encodeURIComponent,location,navigator,undefined";function H(t,e=null,n={}){return c(te.fetch)?te.fetch(t,n,e):fetch(t,n).then(t=>t.text())}const W=/(^|\s+)(html|:root)(?=[\s>~[.#:]+|$)/,V=/(^|\s+)((html[\s>~]+body)|body)(?=[\s>~[.#:]+|$)/;function Z(t,e){t=e?`${e} ${t}`:t;const n=new Error(t);throw n.reason=t,e&&(n.filename=e),n}class Q{constructor(){this.cssText="",this.prefix="",this.baseURI="",this.linkPath="",this.result="",this.scopecssDisable=!1,this.scopecssDisableSelectors=[],this.scopecssDisableNextLine=!1,this.mediaRule=this.createMatcherForAtRuleWithChildRule(/^@media *([^{]+)/,"media"),this.supportsRule=this.createMatcherForAtRuleWithChildRule(/^@supports *([^{]+)/,"supports"),this.documentRule=this.createMatcherForAtRuleWithChildRule(/^@([-\w]+)?document *([^{]+)/,"document"),this.hostRule=this.createMatcherForAtRuleWithChildRule(/^@host\s*/,"host"),this.importRule=this.createMatcherForNoneBraceAtRule("import"),this.charsetRule=this.createMatcherForNoneBraceAtRule("charset"),this.namespaceRule=this.createMatcherForNoneBraceAtRule("namespace")}exec(t,e,n,r){return this.cssText=t,this.prefix=e,this.baseURI=n,this.linkPath=r||"",this.matchRules(),F()?decodeURIComponent(this.result):this.result}reset(){this.cssText=this.prefix=this.baseURI=this.linkPath=this.result="",this.scopecssDisable=this.scopecssDisableNextLine=!1,this.scopecssDisableSelectors=[]}matchRules(){for(this.matchLeadingSpaces(),this.matchComments();this.cssText.length&&"}"!==this.cssText.charAt(0)&&(this.matchAtRule()||this.matchStyleRule());)this.matchComments()}matchStyleRule(){const t=this.formatSelector(!0);return this.scopecssDisableNextLine=!1,t?(this.recordResult(t),this.matchComments(),this.styleDeclarations(),this.matchLeadingSpaces(),!0):Z("selector missing",this.linkPath)}formatSelector(t){const e=this.commonMatch(/^([^{]+)/,t);return!!e&&e[0].replace(/(^|,[\n\s]*)([^,]+)/g,(t,e,n)=>(n=D(n),this.scopecssDisableNextLine||this.scopecssDisable&&(!this.scopecssDisableSelectors.length||this.scopecssDisableSelectors.includes(n))||W.test(n)||(n=V.test(n)?n.replace(V,this.prefix+" micro-app-body"):this.prefix+" "+n),e+n))}styleDeclarations(){return this.matchOpenBrace()?(this.matchAllDeclarations(),!!this.matchCloseBrace()||Z("Declaration missing '}'",this.linkPath)):Z("Declaration missing '{'",this.linkPath)}matchAllDeclarations(){let t=this.commonMatch(/^(?:url\(["']?(?:[^)"'}]+)["']?\)|[^}/])*/,!0)[0];if(t&&(this.scopecssDisableNextLine||this.scopecssDisable&&!this.scopecssDisableSelectors.length||(t=t.replace(/url\(["']?([^)"']+)["']?\)/gm,(t,e)=>/^((data|blob):|#)/.test(e)||/^(https?:)?\/\//.test(e)?t:(/^((\.\.?\/)|[^/])/.test(e)&&this.linkPath&&(this.baseURI=function(t){const e=t.split("/");return e.pop(),_(e.join("/")+"/")}(this.linkPath)),`url("${M(e,this.baseURI)}")`))),this.recordResult(t)),this.scopecssDisableNextLine=!1,this.cssText&&"}"!==this.cssText.charAt(0))return"/"===this.cssText.charAt(0)&&"*"===this.cssText.charAt(1)?this.matchComments():this.commonMatch(/\/+/),this.matchAllDeclarations()}matchAtRule(){return"@"===this.cssText[0]&&(this.scopecssDisableNextLine=!1,this.keyframesRule()||this.mediaRule()||this.customMediaRule()||this.supportsRule()||this.importRule()||this.charsetRule()||this.namespaceRule()||this.documentRule()||this.pageRule()||this.hostRule()||this.fontFaceRule())}keyframesRule(){if(!this.commonMatch(/^@([-\w]+)?keyframes\s*/))return!1;if(!this.commonMatch(/^([-\w]+)\s*/))return Z("@keyframes missing name",this.linkPath);if(this.matchComments(),!this.matchOpenBrace())return Z("@keyframes missing '{'",this.linkPath);for(this.matchComments();this.keyframeRule();)this.matchComments();return this.matchCloseBrace()?(this.matchLeadingSpaces(),!0):Z("@keyframes missing '}'",this.linkPath)}keyframeRule(){let t;const e=[];for(;t=this.commonMatch(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)e.push(t[1]),this.commonMatch(/^,\s*/);return!!e.length&&(this.styleDeclarations(),this.matchLeadingSpaces(),!0)}customMediaRule(){return!!this.commonMatch(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/)&&(this.matchLeadingSpaces(),!0)}pageRule(){return!!this.commonMatch(/^@page */)&&(this.formatSelector(!1),this.scopecssDisableNextLine=!1,this.commonHandlerForAtRuleWithSelfRule("page"))}fontFaceRule(){return!!this.commonMatch(/^@font-face\s*/)&&this.commonHandlerForAtRuleWithSelfRule("font-face")}createMatcherForAtRuleWithChildRule(t,e){return()=>!!this.commonMatch(t)&&(this.matchOpenBrace()?(this.matchComments(),this.matchRules(),this.matchCloseBrace()?(this.matchLeadingSpaces(),!0):Z(`@${e} missing '}'`,this.linkPath)):Z(`@${e} missing '{'`,this.linkPath))}createMatcherForNoneBraceAtRule(t){const e=new RegExp("^@"+t+"\\s*([^;]+);");return()=>!!this.commonMatch(e)&&(this.matchLeadingSpaces(),!0)}commonHandlerForAtRuleWithSelfRule(t){return this.matchOpenBrace()?(this.matchAllDeclarations(),this.matchCloseBrace()?(this.matchLeadingSpaces(),!0):Z(`@${t} missing '}'`,this.linkPath)):Z(`@${t} missing '{'`,this.linkPath)}matchComments(){for(;this.matchComment(););}matchComment(){if("/"!==this.cssText.charAt(0)||"*"!==this.cssText.charAt(1))return!1;this.scopecssDisableNextLine=!1;let t=2;for(;""!==this.cssText.charAt(t)&&("*"!==this.cssText.charAt(t)||"/"!==this.cssText.charAt(t+1));)++t;if(t+=2,""===this.cssText.charAt(t-1))return Z("End of comment missing",this.linkPath);let e=this.cssText.slice(2,t-2);if(this.recordResult(`/*${e}*/`),e=D(e.replace(/^\s*!/,"")),"scopecss-disable-next-line"===e)this.scopecssDisableNextLine=!0;else if(/^scopecss-disable/.test(e))if("scopecss-disable"===e)this.scopecssDisable=!0;else{this.scopecssDisable=!0;e.replace("scopecss-disable","").split(",").forEach(t=>{this.scopecssDisableSelectors.push(D(t))})}else"scopecss-enable"===e&&(this.scopecssDisable=!1,this.scopecssDisableSelectors=[]);return this.cssText=this.cssText.slice(t),this.matchLeadingSpaces(),!0}commonMatch(t,e=!1){const n=t.exec(this.cssText);if(!n)return;const r=n[0];return this.cssText=this.cssText.slice(r.length),e||this.recordResult(r),n}matchOpenBrace(){return this.commonMatch(/^{\s*/)}matchCloseBrace(){return this.commonMatch(/^}/)}matchLeadingSpaces(){this.commonMatch(/^\s*/)}recordResult(t){F()?this.result+=encodeURIComponent(t):this.result+=t}}function X(t,e,n,r,i){if(!t.__MICRO_APP_HAS_SCOPED__){t.__MICRO_APP_HAS_SCOPED__=!0;let o=null;try{o=Y.exec(t.textContent,n,r,i),Y.reset()}catch(t){Y.reset(),g("An error occurred while parsing CSS:\n",e,t)}o&&(t.textContent=o)}}let Y;function J(t,e){if(e.scopecss){const n=`${te.tagName}[name=${e.name}]`;if(Y||(Y=new Q),t.textContent)X(t,e.name,n,e.url,t.__MICRO_APP_LINK_PATH__);else{const r=new MutationObserver((function(){r.disconnect(),t.textContent&&!t.hasAttribute("data-styled")&&X(t,e.name,n,e.url,t.__MICRO_APP_LINK_PATH__)}));r.observe(t,{childList:!0})}}return t}function q(t,e){Object.defineProperties(t,{currentTarget:{get:()=>e},srcElement:{get:()=>e},target:{get:()=>e}})}function K(t){const e=new CustomEvent("load");q(e,t),c(t.onload)?t.onload(e):t.dispatchEvent(e)}function $(t){const e=new CustomEvent("error");q(e,t),c(t.onerror)?t.onerror(e):t.dispatchEvent(e)}const tt=new Map;function et(t,e,n,r=!1){const i=t.getAttribute("rel");let o=t.getAttribute("href"),a=null;if("stylesheet"===i&&o){if(o=M(o,n.url),r)return{url:o,info:{code:"",isGlobal:t.hasAttribute("global")}};a=document.createComment(`link element with href=${o} move to micro-app-head as style element`),n.source.links.set(o,{code:"",placeholder:a,isGlobal:t.hasAttribute("global")})}else i&&["prefetch","preload","prerender","icon","apple-touch-icon"].includes(i)?r?a=document.createComment(`link element with rel=${i}${o?" & href="+o:""} removed by micro-app`):e.removeChild(t):o&&t.setAttribute("href",M(o,n.url));return r?{replaceComment:a}:a?e.replaceChild(a,t):void 0}function nt(t,e,n){const r=Array.from(e.source.links.entries());S(r.map(([t])=>tt.has(t)?tt.get(t):H(t,e.name)),t=>{!function(t,e,n,r,i){e.isGlobal&&!tt.has(t)&&tt.set(t,n);const o=P("style");o.textContent=n,o.__MICRO_APP_LINK_PATH__=t,o.setAttribute("data-origin-href",t),e.placeholder.parentNode?e.placeholder.parentNode.replaceChild(J(o,i),e.placeholder):r.appendChild(J(o,i));e.placeholder=null,e.code=n}(r[t.index][0],r[t.index][1],t.data,n,e)},t=>{g(t,e.name)},()=>{e.onLoad(t)})}const rt=new WeakMap;function it(t,e,n){if(e instanceof HTMLStyleElement){if(e.hasAttribute("exclude")){const t=document.createComment("style element with exclude attribute ignored by micro-app");return rt.set(e,t),t}return n.scopecss&&!e.hasAttribute("ignore")?J(e,n):e}if(e instanceof HTMLLinkElement){if(e.hasAttribute("exclude")){const t=document.createComment("link element with exclude attribute ignored by micro-app");return rt.set(e,t),t}if(e.hasAttribute("ignore"))return e;const{url:r,info:i,replaceComment:o}=et(e,t,n,!0);if(r&&i){const t=P("style");return t.__MICRO_APP_LINK_PATH__=r,function(t,e,n,r,i){if(n.source.links.has(t))return i.textContent=n.source.links.get(t).code,J(i,n),void y(()=>K(r));if(tt.has(t)){const o=tt.get(t);return e.code=o,n.source.links.set(t,e),i.textContent=o,J(i,n),void y(()=>K(r))}H(t,n.name).then(o=>{e.code=o,n.source.links.set(t,e),e.isGlobal&&tt.set(t,o),i.textContent=o,J(i,n),K(r)}).catch(t=>{g(t,n.name),$(r)})}(r,i,n,e,t),rt.set(e,t),t}return o?(rt.set(e,o),o):e}if(e instanceof HTMLScriptElement){const{replaceComment:r,url:i,info:o}=yt(e,t,n,!0)||{};if(i&&o){if(o.isExternal){const t=function(t,e,n,r){const i=()=>K(r);if(n.source.scripts.has(t)){const e=n.source.scripts.get(t);return!e.module&&y(i),xt(t,n,e,!0,i)}if(vt.has(t)){const r=vt.get(t);return e.code=r,n.source.scripts.set(t,e),!e.module&&y(i),xt(t,n,e,!0,i)}let o;o=n.inline||e.module?P("script"):document.createComment(`dynamic script with src='${t}' extract by micro-app`);return H(t,n.name).then(a=>{e.code=a,n.source.scripts.set(t,e),e.isGlobal&&vt.set(t,a);try{a=Mt(t,n,a,e.module),n.inline||e.module?bt(t,a,e.module,o,i):wt(a,e)}catch(e){console.error(`[micro-app from runDynamicScript] app ${n.name}: `,e,t)}!e.module&&K(r)}).catch(t=>{g(t,n.name),$(r)}),o}(i,o,n,e);return rt.set(e,t),t}{const t=xt(i,n,o,!0);return rt.set(e,t),t}}return r?(rt.set(e,r),r):e}return e}function ot(t,e,n,r,i){if(n===document.head){const o=t.container.querySelector("micro-app-head");return i&&!o.contains(i)?mt.rawAppendChild.call(o,r):e!==mt.rawRemoveChild||o.contains(r)?e===mt.rawAppend||e===mt.rawPrepend?e.call(o,r):e.call(o,r,i):n.contains(r)?e.call(n,r):r}if(n===document.body){const o=t.container.querySelector("micro-app-body");return i&&!o.contains(i)?mt.rawAppendChild.call(o,r):e!==mt.rawRemoveChild||o.contains(r)?e===mt.rawAppend||e===mt.rawPrepend?e.call(o,r):e.call(o,r,i):n.contains(r)?e.call(n,r):r}return e===mt.rawAppend||e===mt.rawPrepend?e.call(n,r):e.call(n,r,i)}function at(t){var e;return null!==(e=rt.get(t))&&void 0!==e?e:t}function st(t,e,n,r){if(null==e?void 0:e.__MICRO_APP_NAME__){const i=Wt.get(e.__MICRO_APP_NAME__);return(null==i?void 0:i.container)?ot(i,r,t,it(t,e,i),n&&at(n)):r===mt.rawAppend||r===mt.rawPrepend?r.call(t,e):r.call(t,e,n)}if(r===mt.rawAppend||r===mt.rawPrepend){const n=I();if(!(e instanceof Node)&&n){const i=Wt.get(n);if(null==i?void 0:i.container){if(t===document.head)return r.call(i.container.querySelector("micro-app-head"),e);if(t===document.body)return r.call(i.container.querySelector("micro-app-body"),e)}}return r.call(t,e)}return r.call(t,e,n)}function ct(){!function(){const t=mt.rawDocument;function e(e){var n,r,i;const o=I();return o&&e&&!k(e)&&t===this?null!==(i=null===(r=null===(n=Wt.get(o))||void 0===n?void 0:n.container)||void 0===r?void 0:r.querySelector(e))&&void 0!==i?i:null:mt.rawQuerySelector.call(this,e)}function n(e){var n,r,i;const o=I();return o&&e&&!k(e)&&t===this?null!==(i=null===(r=null===(n=Wt.get(o))||void 0===n?void 0:n.container)||void 0===r?void 0:r.querySelectorAll(e))&&void 0!==i?i:[]:mt.rawQuerySelectorAll.call(this,e)}Document.prototype.createElement=function(t,e){return ut(mt.rawCreateElement.call(this,t,e))},Document.prototype.createElementNS=function(t,e,n){return ut(mt.rawCreateElementNS.call(this,t,e,n))},Document.prototype.createDocumentFragment=function(){return ut(mt.rawCreateDocumentFragment.call(this))},Document.prototype.querySelector=e,Document.prototype.querySelectorAll=n,Document.prototype.getElementById=function(t){if(!I()||O(t))return mt.rawGetElementById.call(this,t);try{return e.call(this,"#"+t)}catch(e){return mt.rawGetElementById.call(this,t)}},Document.prototype.getElementsByClassName=function(t){if(!I()||O(t))return mt.rawGetElementsByClassName.call(this,t);try{return n.call(this,"."+t)}catch(e){return mt.rawGetElementsByClassName.call(this,t)}},Document.prototype.getElementsByTagName=function(t){var e;const r=I();if(!r||k(t)||O(t)||!(null===(e=Wt.get(r))||void 0===e?void 0:e.inline)&&/^script$/i.test(t))return mt.rawGetElementsByTagName.call(this,t);try{return n.call(this,t)}catch(e){return mt.rawGetElementsByTagName.call(this,t)}},Document.prototype.getElementsByName=function(t){if(!I()||O(t))return mt.rawGetElementsByName.call(this,t);try{return n.call(this,`[name=${t}]`)}catch(e){return mt.rawGetElementsByName.call(this,t)}}}(),Element.prototype.appendChild=function(t){return st(this,t,null,mt.rawAppendChild)},Element.prototype.insertBefore=function(t,e){return st(this,t,e,mt.rawInsertBefore)},Element.prototype.replaceChild=function(t,e){return st(this,t,e,mt.rawReplaceChild)},Element.prototype.append=function(...t){let e=0;const n=t.length;for(;e<n;)st(this,t[e],null,mt.rawAppend),e++},Element.prototype.prepend=function(...t){let e=t.length;for(;e>0;)st(this,t[e-1],null,mt.rawPrepend),e--},Element.prototype.removeChild=function(t){if(null==t?void 0:t.__MICRO_APP_NAME__){const e=Wt.get(t.__MICRO_APP_NAME__);return(null==e?void 0:e.container)?ot(e,mt.rawRemoveChild,this,at(t)):mt.rawRemoveChild.call(this,t)}return mt.rawRemoveChild.call(this,t)},Element.prototype.cloneNode=function(t){const e=mt.rawCloneNode.call(this,t);return this.__MICRO_APP_NAME__&&(e.__MICRO_APP_NAME__=this.__MICRO_APP_NAME__),e}}function ut(t){const e=I();return e&&(t.__MICRO_APP_NAME__=e),t}let lt=!1;function ht(){E(null),Document.prototype.createElement=mt.rawCreateElement,Document.prototype.createElementNS=mt.rawCreateElementNS,Document.prototype.createDocumentFragment=mt.rawCreateDocumentFragment,Document.prototype.querySelector=mt.rawQuerySelector,Document.prototype.querySelectorAll=mt.rawQuerySelectorAll,Document.prototype.getElementById=mt.rawGetElementById,Document.prototype.getElementsByClassName=mt.rawGetElementsByClassName,Document.prototype.getElementsByTagName=mt.rawGetElementsByTagName,Document.prototype.getElementsByName=mt.rawGetElementsByName,Element.prototype.appendChild=mt.rawAppendChild,Element.prototype.insertBefore=mt.rawInsertBefore,Element.prototype.replaceChild=mt.rawReplaceChild,Element.prototype.removeChild=mt.rawRemoveChild,Element.prototype.append=mt.rawAppend,Element.prototype.prepend=mt.rawPrepend,Element.prototype.cloneNode=mt.rawCloneNode}let ft=!1;function dt(){pt(),Wt.forEach(t=>{t.container&&B(t.container).disconnectedCallback()}),!window.__MICRO_APP_UMD_MODE__&&Wt.clear()}function pt(){window.__MICRO_APP_ENVIRONMENT__&&window.removeEventListener("unmount",dt,!1)}const mt={};function gt(){if(i){const t=Element.prototype.setAttribute,e=Element.prototype.appendChild,n=Element.prototype.insertBefore,r=Element.prototype.replaceChild,i=Element.prototype.removeChild,o=Element.prototype.append,a=Element.prototype.prepend,s=Element.prototype.cloneNode,c=Document.prototype.createElement,u=Document.prototype.createElementNS,l=Document.prototype.createDocumentFragment,h=Document.prototype.querySelector,f=Document.prototype.querySelectorAll,d=Document.prototype.getElementById,p=Document.prototype.getElementsByClassName,m=Document.prototype.getElementsByTagName,g=Document.prototype.getElementsByName,v=new Proxy(Image,{construct(t,e){const n=new t(...e);return n.__MICRO_APP_NAME__=I(),n}}),y=Function("return window")(),_=Function("return document")(),x="noModule"in document.createElement("script"),b=y.addEventListener,w=y.removeEventListener,M=y.setInterval,S=y.setTimeout,A=y.clearInterval,C=y.clearTimeout,E=_.addEventListener,T=_.removeEventListener;window.__MICRO_APP_BASE_APPLICATION__=!0,Object.assign(mt,{rawSetAttribute:t,rawAppendChild:e,rawInsertBefore:n,rawReplaceChild:r,rawRemoveChild:i,rawAppend:o,rawPrepend:a,rawCloneNode:s,rawCreateElement:c,rawCreateElementNS:u,rawCreateDocumentFragment:l,rawQuerySelector:h,rawQuerySelectorAll:f,rawGetElementById:d,rawGetElementsByClassName:p,rawGetElementsByTagName:m,rawGetElementsByName:g,ImageProxy:v,rawWindow:y,rawDocument:_,supportModuleScript:x,rawWindowAddEventListener:b,rawWindowRemoveEventListener:w,rawSetInterval:M,rawSetTimeout:S,rawClearInterval:A,rawClearTimeout:C,rawDocumentAddEventListener:E,rawDocumentRemoveEventListener:T}),function(){if(!ft){ft=!0;const t=P("style");mt.rawSetAttribute.call(t,"type","text/css"),t.textContent=`\n${te.tagName}, micro-app-body { display: block; } \nmicro-app-head { display: none; }`,mt.rawDocument.head.appendChild(t)}}(),pt(),window.__MICRO_APP_ENVIRONMENT__&&window.addEventListener("unmount",dt,!1)}}const vt=new Map;function yt(t,e,n,r=!1){let i=null,o=t.getAttribute("src");if(t.hasAttribute("exclude"))i=document.createComment("script element with exclude attribute removed by micro-app");else{if(t.type&&!["text/javascript","text/ecmascript","application/javascript","application/ecmascript","module"].includes(t.type)||t.hasAttribute("ignore"))return null;if(mt.supportModuleScript&&t.noModule||!mt.supportModuleScript&&"module"===t.type)i=document.createComment((t.noModule?"noModule":"module")+" script ignored by micro-app");else if(o){o=M(o,n.url);const e={code:"",isExternal:!0,isDynamic:r,async:t.hasAttribute("async"),defer:t.defer||"module"===t.type,module:"module"===t.type,isGlobal:t.hasAttribute("global")};if(r)return{url:o,info:e};n.source.scripts.set(o,e),i=document.createComment(`script with src='${o}' extract by micro-app`)}else if(t.textContent){const e="inline-"+Math.random().toString(36).substr(2,15),o={code:t.textContent,isExternal:!1,isDynamic:r,async:!1,defer:"module"===t.type,module:"module"===t.type};if(r)return{url:e,info:o};n.source.scripts.set(e,o),i=document.createComment("inline script extract by micro-app")}else r||(i=document.createComment("script element removed by micro-app"))}return r?{replaceComment:i}:e.replaceChild(i,t)}function _t(t,e){const n=Array.from(e.source.scripts.entries()),r=[],i=[];for(const[t,o]of n)if(o.isExternal){const n=vt.get(t);n?o.code=n:(!o.defer&&!o.async||e.isPrefetch)&&(r.push(H(t,e.name)),i.push([t,o]))}r.length?S(r,t=>{!function(t,e,n){e.isGlobal&&!vt.has(t)&&vt.set(t,n);e.code=n}(i[t.index][0],i[t.index][1],t.data)},t=>{g(t,e.name)},()=>{e.onLoad(t)}):e.onLoad(t)}function xt(t,e,n,r,i){var o;try{const a=Mt(t,e,n.code,n.module);if(e.inline||n.module){const s=P("script");if(bt(t,a,n.module,s,i),r)return s;null===(o=e.container)||void 0===o||o.querySelector("micro-app-body").appendChild(s)}else if(wt(a,n),r)return document.createComment("dynamic script extract by micro-app")}catch(t){console.error(`[micro-app from runScript] app ${e.name}: `,t)}}function bt(t,e,n,r,i){if(n){const t=new Blob([e],{type:"text/javascript"});r.src=URL.createObjectURL(t),r.setAttribute("type","module"),i&&(i.moduleCount&&i.moduleCount--,r.onload=i.bind(r,0===i.moduleCount))}else r.textContent=e;t.startsWith("inline-")||r.setAttribute("data-origin-src",t)}function wt(t,e){e.code2Function||(e.code2Function=new Function(t)),e.code2Function.call(window)}function Mt(t,e,n,r){return l(te.plugins)&&(n=function(t,e,n,r){var i;const o=St(r.global,e,t);return St(null===(i=r.modules)||void 0===i?void 0:i[n],o,t)}(t,n,e.name,te.plugins)),e.sandBox&&!r?(mt.rawWindow.__MICRO_APP_PROXY_WINDOW__=e.sandBox.proxyWindow,`;(function(proxyWindow){with(proxyWindow.__MICRO_APP_WINDOW__){(function(${z}){;${n}\n}).call(proxyWindow,${z})}})(window.__MICRO_APP_PROXY_WINDOW__);`):n}function St(t,e,n){return u(t)?t.reduce((t,e)=>l(e)&&c(e.loader)?e.loader(t,n,e.options):t,e):e}function At(t,e){const n=function(t){const e=P("div");return e.innerHTML=t,e}(t),r=n.querySelector("micro-app-head"),i=n.querySelector("micro-app-body");if(!r||!i){const t=`element ${r?"body":"head"} is missing`;return e.onerror(new Error(t)),g(t,e.name)}!function t(e,n,r){const i=Array.from(e.children);i.length&&i.forEach(e=>{t(e,n)});for(const t of i)t instanceof HTMLLinkElement?t.hasAttribute("exclude")?e.replaceChild(document.createComment("link element with exclude attribute ignored by micro-app"),t):t.hasAttribute("ignore")?t.hasAttribute("href")&&t.setAttribute("href",M(t.getAttribute("href"),n.url)):et(t,e,n):t instanceof HTMLStyleElement?t.hasAttribute("exclude")?e.replaceChild(document.createComment("style element with exclude attribute ignored by micro-app"),t):n.scopecss&&!t.hasAttribute("ignore")&&J(t,n):t instanceof HTMLScriptElement?yt(t,e,n):t instanceof HTMLMetaElement||t instanceof HTMLTitleElement?e.removeChild(t):t instanceof HTMLImageElement&&t.hasAttribute("src")&&t.setAttribute("src",M(t.getAttribute("src"),n.url))}(n,e),e.source.links.size?nt(n,e,r):e.onLoad(n),e.source.scripts.size?_t(n,e):e.onLoad(n)}const Ct=new class{constructor(){this.eventList=new Map}isLegalName(t){return!!t||(g("event-center: Invalid name"),!1)}on(t,e,n=!1){if(this.isLegalName(t)){if(!c(e))return g("event-center: Invalid callback function");let r=this.eventList.get(t);r?n&&Object.getOwnPropertyNames(r.data).length&&e(r.data):(r={data:{},callbacks:new Set},this.eventList.set(t,r)),r.callbacks.add(e)}}off(t,e){if(this.isLegalName(t)){const n=this.eventList.get(t);n&&(c(e)?n.callbacks.delete(e):n.callbacks.clear())}}dispatch(t,e){if(this.isLegalName(t)){if(!l(e))return g("event-center: data must be object");let n=this.eventList.get(t);if(n){if(n.data!==e){n.data=e;for(const t of n.callbacks)t(e)}}else n={data:e,callbacks:new Set},this.eventList.set(t,n)}}getData(t){var e;const n=this.eventList.get(t);return null!==(e=null==n?void 0:n.data)&&void 0!==e?e:null}};function Et(t,e){return a(t)&&t?e?`__from_base_app_${t}__`:`__from_micro_app_${t}__`:""}class Tt{addGlobalDataListener(t,e){const n=this.appName;n&&(t.__APP_NAME__=n,t.__AUTO_TRIGGER__=e),Ct.on("global",t,e)}removeGlobalDataListener(t){c(t)&&Ct.off("global",t)}setGlobalData(t){L(),Ct.dispatch("global",t)}getGlobalData(){return Ct.getData("global")}clearGlobalDataListener(){const t=this.appName,e=Ct.eventList.get("global");if(e)for(const n of e.callbacks)(t&&t===n.__APP_NAME__||!t&&!n.__APP_NAME__)&&e.callbacks.delete(n)}}class It extends Tt{addDataListener(t,e,n){Ct.on(Et(b(t),!1),e,n)}removeDataListener(t,e){c(e)&&Ct.off(Et(b(t),!1),e)}getData(t,e=!1){return Ct.getData(Et(b(t),e))}setData(t,e){Ct.dispatch(Et(b(t),!0),e)}clearDataListener(t){Ct.off(Et(b(t),!1))}}class Lt extends Tt{constructor(t){super(),this.appName=b(t),!this.appName&&g("Invalid appName "+t)}addDataListener(t,e){t.__AUTO_TRIGGER__=e,Ct.on(Et(this.appName,!0),t,e)}removeDataListener(t){c(t)&&Ct.off(Et(this.appName,!0),t)}getData(){return Ct.getData(Et(this.appName,!0))}dispatch(t){L(),Ct.dispatch(Et(this.appName,!1),t);const e=Wt.get(this.appName);if((null==e?void 0:e.container)&&l(t)){const n=new CustomEvent("datachange",{detail:{data:t}});B(e.container).dispatchEvent(n)}}clearDataListener(){Ct.off(Et(this.appName,!0))}}function Pt(t,e){if(e.__MICRO_APP_BOUND_WINDOW_FUNCTION__)return e.__MICRO_APP_BOUND_WINDOW_FUNCTION__;if(!function(t){var e;if(s(t.__MICRO_APP_IS_CONSTRUCTOR__))return t.__MICRO_APP_IS_CONSTRUCTOR__;const n=t.toString(),r=(null===(e=t.prototype)||void 0===e?void 0:e.constructor)===t&&Object.getOwnPropertyNames(t.prototype).length>1||/^function\s+[A-Z]/.test(n)||/^class\s+/.test(n);return t.__MICRO_APP_IS_CONSTRUCTOR__=r}(e)&&!function(t){return s(t.__MICRO_APP_IS_BOUND_FUNCTION__)?t.__MICRO_APP_IS_BOUND_FUNCTION__:t.__MICRO_APP_IS_BOUND_FUNCTION__=f(t)}(e)){const n=e.bind(t);for(const t in e)n[t]=e[t];return e.hasOwnProperty("prototype")&&d(n,"prototype",{value:e.prototype,configurable:!0,enumerable:!1,writable:!0}),e.__MICRO_APP_BOUND_WINDOW_FUNCTION__=n}return e}const Rt=new Map;let Ot=!1;const kt=new Map;function Bt(){const{rawDocument:t,rawDocumentAddEventListener:e,rawDocumentRemoveEventListener:n}=mt;!Ot&&function(){if(Ot=!0,Object.getOwnPropertyDescriptor(document,"onclick"))return v("Cannot redefine document property onclick");const t=document.onclick;document.onclick=null;let e=!1;function n(t){Rt.forEach(e=>{c(e)&&e.call(document,t)})}d(document,"onclick",{configurable:!0,enumerable:!0,get(){const t=I();return t?Rt.get(t):Rt.get("base")},set(t){const r=I();r?Rt.set(r,t):Rt.set("base",t),!e&&c(t)&&(e=!0,mt.rawDocumentAddEventListener.call(mt.rawDocument,"click",n,!1))}}),t&&(document.onclick=t)}(),document.addEventListener=function(n,r,i){var o;const a=I();if(a&&(!(null===(o=Wt.get(a))||void 0===o?void 0:o.umdMode)||!f(r))){const t=kt.get(a);if(t){const e=t.get(n);e?e.add(r):t.set(n,new Set([r]))}else kt.set(a,new Map([[n,new Set([r])]]));r&&(r.__MICRO_APP_MARK_OPTIONS__=i)}e.call(t,n,r,i)},document.removeEventListener=function(e,r,i){var o;const a=I();if(a&&(!(null===(o=Wt.get(a))||void 0===o?void 0:o.umdMode)||!f(r))){const t=kt.get(a);if(t){const n=t.get(e);(null==n?void 0:n.size)&&n.has(r)&&n.delete(r)}}n.call(t,e,r,i)}}const Dt=["unmount","appstate-change"];function Ft(t,e){return Dt.includes(t)?`${t}-${e.__MICRO_APP_NAME__}`:t}const Ut=["System","__cjsWrapper"],jt=["location"],Nt=["window","self","globalThis"];class Gt{constructor(t,e){this.scopeProperties=["webpackJsonp","Vue"],this.escapeProperties=[],this.injectedKeys=new Set,this.escapeKeys=new Set,this.active=!1,this.microAppWindow={},this.getSpecialProperties(t),this.proxyWindow=this.createProxyWindow(t),this.initMicroAppWindow(this.microAppWindow,t,e),Object.assign(this,function(t){const e=t.__MICRO_APP_NAME__,n=new Map,r=new Map,i=new Map,{rawWindow:o,rawDocument:a,rawWindowAddEventListener:s,rawWindowRemoveEventListener:c,rawSetInterval:u,rawSetTimeout:l,rawClearInterval:h,rawClearTimeout:f,rawDocumentRemoveEventListener:d}=mt;t.addEventListener=function(e,r,i){e=Ft(e,t);const a=n.get(e);a?a.add(r):n.set(e,new Set([r])),r&&(r.__MICRO_APP_MARK_OPTIONS__=i),s.call(o,e,r,i)},t.removeEventListener=function(e,r,i){e=Ft(e,t);const a=n.get(e);(null==a?void 0:a.size)&&a.has(r)&&a.delete(r),c.call(o,e,r,i)},t.setInterval=function(t,e,...n){const i=u.call(o,t,e,...n);return r.set(i,{handler:t,timeout:e,args:n}),i},t.setTimeout=function(t,e,...n){const r=l.call(o,t,e,...n);return i.set(r,{handler:t,timeout:e,args:n}),r},t.clearInterval=function(t){r.delete(t),h.call(o,t)},t.clearTimeout=function(t){i.delete(t),f.call(o,t)};const p=new Map,m=new Map;let g,v=new Map,y=new Map;return{recordUmdEffect:()=>{n.forEach((t,e)=>{t.size&&p.set(e,new Set(t))}),r.size&&(v=new Map(r)),i.size&&(y=new Map(i)),g=Rt.get(e);const t=kt.get(e);t&&t.forEach((t,e)=>{t.size&&m.set(e,new Set(t))})},rebuildUmdEffect:()=>{p.forEach((e,n)=>{for(const r of e)t.addEventListener(n,r,null==r?void 0:r.__MICRO_APP_MARK_OPTIONS__)}),v.forEach(e=>{t.setInterval(e.handler,e.timeout,...e.args)}),y.forEach(e=>{t.setTimeout(e.handler,e.timeout,...e.args)}),g&&Rt.set(e,g),E(e),m.forEach((t,e)=>{for(const n of t)document.addEventListener(e,n,null==n?void 0:n.__MICRO_APP_MARK_OPTIONS__)}),E(null)},releaseEffect:()=>{n.size&&(n.forEach((t,e)=>{for(const n of t)c.call(o,e,n)}),n.clear()),r.size&&(r.forEach((t,e)=>{h.call(o,e)}),r.clear()),i.size&&(i.forEach((t,e)=>{f.call(o,e)}),i.clear()),Rt.delete(e);const t=kt.get(e);t&&(t.forEach((t,e)=>{for(const n of t)d.call(a,e,n)}),t.clear())}}}(this.microAppWindow))}start(t){this.active||(this.active=!0,this.microAppWindow.__MICRO_APP_BASE_ROUTE__=this.microAppWindow.__MICRO_APP_BASE_URL__=t,mt.rawWindow._babelPolyfill&&(mt.rawWindow._babelPolyfill=!1),1==++Gt.activeCount&&(Bt(),ct()))}stop(){this.active&&(this.active=!1,this.releaseEffect(),this.microAppWindow.microApp.clearDataListener(),this.microAppWindow.microApp.clearGlobalDataListener(),this.injectedKeys.forEach(t=>{Reflect.deleteProperty(this.microAppWindow,t)}),this.injectedKeys.clear(),this.escapeKeys.forEach(t=>{Reflect.deleteProperty(mt.rawWindow,t)}),this.escapeKeys.clear(),0==--Gt.activeCount&&(document.addEventListener=mt.rawDocumentAddEventListener,document.removeEventListener=mt.rawDocumentRemoveEventListener,ht()))}recordUmdSnapshot(){this.microAppWindow.__MICRO_APP_UMD_MODE__=!0,this.recordUmdEffect(),function(t){const e=t.appName;t.umdDataListeners={global:new Set,normal:new Set};const n=Ct.eventList.get("global");if(n)for(const r of n.callbacks)e===r.__APP_NAME__&&t.umdDataListeners.global.add(r);const r=Ct.eventList.get(Et(e,!0));r&&(t.umdDataListeners.normal=new Set(r.callbacks))}(this.microAppWindow.microApp),this.recordUmdInjectedValues=new Map,this.injectedKeys.forEach(t=>{this.recordUmdInjectedValues.set(t,Reflect.get(this.microAppWindow,t))})}rebuildUmdSnapshot(){this.recordUmdInjectedValues.forEach((t,e)=>{Reflect.set(this.proxyWindow,e,t)}),this.rebuildUmdEffect(),function(t){for(const e of t.umdDataListeners.global)t.addGlobalDataListener(e,e.__AUTO_TRIGGER__);for(const e of t.umdDataListeners.normal)t.addDataListener(e,e.__AUTO_TRIGGER__)}(this.microAppWindow.microApp)}getSpecialProperties(t){var e;l(te.plugins)&&(this.commonActionForSpecialProperties(te.plugins.global),this.commonActionForSpecialProperties(null===(e=te.plugins.modules)||void 0===e?void 0:e[t]))}commonActionForSpecialProperties(t){if(u(t))for(const e of t)l(e)&&(u(e.scopeProperties)&&(this.scopeProperties=this.scopeProperties.concat(e.scopeProperties)),u(e.escapeProperties)&&(this.escapeProperties=this.escapeProperties.concat(e.escapeProperties)))}createProxyWindow(t){const e=mt.rawWindow,n=new Map;return new Proxy(this.microAppWindow,{get:(n,r)=>{if(T(t),Reflect.has(n,r)||a(r)&&/^__MICRO_APP_/.test(r)||this.scopeProperties.includes(r))return Reflect.get(n,r);const i=Reflect.get(e,r);return c(i)?Pt(e,i):i},set:(t,n,r)=>{if(this.active){if(jt.includes(n))Reflect.set(e,n,r);else if(m.call(t,n)||!m.call(e,n)||this.scopeProperties.includes(n))Reflect.set(t,n,r),this.injectedKeys.add(n);else{const i=Object.getOwnPropertyDescriptor(e,n),{configurable:o,enumerable:a,writable:s,set:c}=i;d(t,n,{value:r,configurable:o,enumerable:a,writable:null!=s?s:!!c}),this.injectedKeys.add(n)}(this.escapeProperties.includes(n)||Ut.includes(n)&&!Reflect.has(e,n))&&!this.scopeProperties.includes(n)&&(Reflect.set(e,n,r),this.escapeKeys.add(n))}return!0},has:(t,n)=>this.scopeProperties.includes(n)?n in t:n in t||n in e,getOwnPropertyDescriptor:(t,r)=>{if(m.call(t,r))return n.set(r,"target"),Object.getOwnPropertyDescriptor(t,r);if(m.call(e,r)){n.set(r,"rawWindow");const t=Object.getOwnPropertyDescriptor(e,r);return t&&!t.configurable&&(t.configurable=!0),t}},defineProperty:(t,r,i)=>"rawWindow"===n.get(r)?Reflect.defineProperty(e,r,i):Reflect.defineProperty(t,r,i),ownKeys:t=>Reflect.ownKeys(e).concat(Reflect.ownKeys(t)).filter((function(t){return!(t in this)&&(this[t]=!0)}),Object.create(null)),deleteProperty:(t,n)=>!m.call(t,n)||(this.injectedKeys.has(n)&&this.injectedKeys.delete(n),this.escapeKeys.has(n)&&Reflect.deleteProperty(e,n),Reflect.deleteProperty(t,n))})}initMicroAppWindow(t,e,n){t.__MICRO_APP_ENVIRONMENT__=!0,t.__MICRO_APP_NAME__=e,t.__MICRO_APP_PUBLIC_PATH__=w(n),t.__MICRO_APP_WINDOW__=t,t.microApp=Object.assign(new Lt(e),{removeDomScope:L,pureCreateElement:P}),t.rawWindow=mt.rawWindow,t.rawDocument=mt.rawDocument,t.hasOwnProperty=e=>m.call(t,e)||m.call(mt.rawWindow,e),this.setMappingPropertiesWithRawDescriptor(t),this.setHijackProperties(t,e)}setMappingPropertiesWithRawDescriptor(t){let e,n;const r=mt.rawWindow;r===r.parent?e=n=this.proxyWindow:(e=r.top,n=r.parent),d(t,"top",this.createDescriptorForMicroAppWindow("top",e)),d(t,"parent",this.createDescriptorForMicroAppWindow("parent",n)),Nt.forEach(e=>{d(t,e,this.createDescriptorForMicroAppWindow(e,this.proxyWindow))})}createDescriptorForMicroAppWindow(t,e){const{configurable:n=!0,enumerable:r=!0,writable:i,set:o}=Object.getOwnPropertyDescriptor(mt.rawWindow,t)||{writable:!0};return{value:e,configurable:n,enumerable:r,writable:null!=i?i:!!o}}setHijackProperties(t,e){let n,r;p(t,{document:{get:()=>(T(e),mt.rawDocument),configurable:!1,enumerable:!0},eval:{get:()=>(T(e),n||eval),set:t=>{n=t},configurable:!0,enumerable:!1},Image:{get:()=>(T(e),r||mt.ImageProxy),set:t=>{r=t},configurable:!0,enumerable:!1}})}}function zt(t,e,n,r){var i;if(!t)return g("element does not exist in lifecycle "+n,e);t=B(t),L();const o=Object.assign({name:e,container:t},r&&{error:r}),a=new CustomEvent(n,{detail:o});!function(t,e){Object.defineProperties(t,{currentTarget:{get:()=>e},target:{get:()=>e}})}(a,t),c(null===(i=te.lifeCycles)||void 0===i?void 0:i[n])&&te.lifeCycles[n](a),t.dispatchEvent(a)}function Ht(t,e,n={}){const r=new CustomEvent(`${t}-${e}`,{detail:n});window.dispatchEvent(r)}Gt.activeCount=0;const Wt=new Map;class Vt{constructor({name:t,url:e,ssrUrl:n,container:r,inline:i,scopecss:o,useSandbox:a,baseroute:s}){this.state=j.NOT_LOADED,this.keepAliveState=null,this.keepAliveContainer=null,this.loadSourceLevel=0,this.umdHookMount=null,this.umdHookUnmount=null,this.libraryName=null,this.umdMode=!1,this.isPrefetch=!1,this.prefetchResolve=null,this.container=null,this.baseroute="",this.sandBox=null,this.container=null!=r?r:null,this.inline=null!=i&&i,this.baseroute=null!=s?s:"",this.ssrUrl=null!=n?n:"",this.name=t,this.url=e,this.useSandbox=a,this.scopecss=this.useSandbox&&o,this.source={links:new Map,scripts:new Map},this.loadSourceCode(),this.useSandbox&&(this.sandBox=new Gt(t,e))}loadSourceCode(){var t;this.state=j.LOADING_SOURCE_CODE,H((t=this).ssrUrl||t.url,t.name,{cache:"no-cache"}).then(e=>{if(!e){const e="html is empty, please check in detail";return t.onerror(new Error(e)),g(e,t.name)}At(e=e.replace(/<head[^>]*>[\s\S]*?<\/head>/i,t=>t.replace(/<head/i,"<micro-app-head").replace(/<\/head>/i,"</micro-app-head>")).replace(/<body[^>]*>[\s\S]*?<\/body>/i,t=>t.replace(/<body/i,"<micro-app-body").replace(/<\/body>/i,"</micro-app-body>")),t)}).catch(e=>{g(`Failed to fetch data from ${t.url}, micro-app stop rendering`,t.name,e),t.onLoadError(e)})}onLoad(t){var e;2==++this.loadSourceLevel&&(this.source.html=t,this.isPrefetch?(null===(e=this.prefetchResolve)||void 0===e||e.call(this),this.prefetchResolve=null):j.UNMOUNT!==this.state&&(this.state=j.LOAD_SOURCE_FINISHED,this.mount()))}onLoadError(t){this.loadSourceLevel=-1,this.prefetchResolve&&(this.prefetchResolve(),this.prefetchResolve=null),j.UNMOUNT!==this.state&&(this.onerror(t),this.state=j.LOAD_SOURCE_ERROR)}mount(t,e,n){var r,i,o;if(s(e)&&e!==this.inline&&(this.inline=e),this.container=null!==(r=this.container)&&void 0!==r?r:t,this.baseroute=null!=n?n:this.baseroute,2!==this.loadSourceLevel)return void(this.state=j.LOADING_SOURCE_CODE);let a;if(zt(this.container,this.name,N.BEFOREMOUNT),this.state=j.MOUNTING,R(this.source.html,this.container,!this.umdMode),null===(i=this.sandBox)||void 0===i||i.start(this.baseroute),this.umdMode){null===(o=this.sandBox)||void 0===o||o.rebuildUmdSnapshot();try{a=this.umdHookMount()}catch(t){g("an error occurred in the mount function \n",this.name,t)}this.handleMounted(a)}else{let t=!1;!function(t,e,n){const r=Array.from(t.entries()),i=[],o=[];for(const[t,a]of r)a.isDynamic||(a.defer||a.async?(a.isExternal&&!a.code?i.push(H(t,e.name)):i.push(a.code),o.push([t,a]),a.module&&(n.moduleCount=n.moduleCount?++n.moduleCount:1)):(xt(t,e,a,!1),n(!1)));i.length?S(i,t=>{const e=o[t.index][1];e.code=e.code||t.data},t=>{n.errorCount=n.errorCount?++n.errorCount:1,g(t,e.name)},()=>{o.forEach(([t,r])=>{r.code&&(xt(t,e,r,!1,n),!r.module&&n(!1))}),n(void 0===n.moduleCount||n.errorCount===i.length)}):n(!0)}(this.source.scripts,this,e=>{var n;if(!this.umdMode){const{mount:t,unmount:e}=this.getUmdLibraryHooks();if(c(t)&&c(e)){this.umdHookMount=t,this.umdHookUnmount=e,this.umdMode=!0,null===(n=this.sandBox)||void 0===n||n.recordUmdSnapshot();try{a=this.umdHookMount()}catch(t){g("an error occurred in the mount function \n",this.name,t)}}}t||!0!==e&&!this.umdMode||(t=!0,this.handleMounted(a))})}}handleMounted(t){h(t)?t.then(()=>this.dispatchMountedEvent()).catch(t=>this.onerror(t)):this.dispatchMountedEvent()}dispatchMountedEvent(){j.UNMOUNT!==this.state&&(this.state=j.MOUNTED,zt(this.container,this.name,N.MOUNTED))}unmount(t,e){let n;if(this.state===j.LOAD_SOURCE_ERROR&&(t=!0),this.state=j.UNMOUNT,this.keepAliveState=null,this.keepAliveContainer=null,this.umdHookUnmount)try{n=this.umdHookUnmount()}catch(t){g("an error occurred in the unmount function \n",this.name,t)}Ht("unmount",this.name),this.handleUnmounted(t,n,e)}handleUnmounted(t,e,n){h(e)?e.then(()=>this.actionsForUnmount(t,n)).catch(()=>this.actionsForUnmount(t,n)):this.actionsForUnmount(t,n)}actionsForUnmount(t,e){var n;t?this.actionsForCompletelyDestroy():this.umdMode&&this.container.childElementCount&&R(this.container,this.source.html,!1),null===(n=this.sandBox)||void 0===n||n.stop(),Yt().length||(lt=!1,Element.prototype.setAttribute=mt.rawSetAttribute),zt(this.container,this.name,N.UNMOUNT),this.container.innerHTML="",this.container=null,e&&e()}actionsForCompletelyDestroy(){!this.useSandbox&&this.umdMode&&delete window[this.libraryName],Wt.delete(this.name)}hiddenKeepAliveApp(){const t=this.container;R(this.container,this.keepAliveContainer?this.keepAliveContainer:this.keepAliveContainer=document.createElement("div"),!1),this.container=this.keepAliveContainer,this.keepAliveState=G.KEEP_ALIVE_HIDDEN,Ht("appstate-change",this.name,{appState:"afterhidden"}),zt(t,this.name,N.AFTERHIDDEN)}showKeepAliveApp(t){Ht("appstate-change",this.name,{appState:"beforeshow"}),zt(t,this.name,N.BEFORESHOW),R(this.container,t,!1),this.container=t,this.keepAliveState=G.KEEP_ALIVE_SHOW,Ht("appstate-change",this.name,{appState:"aftershow"}),zt(this.container,this.name,N.AFTERSHOW)}onerror(t){zt(this.container,this.name,N.ERROR,t)}getAppState(){return this.state}getKeepAliveState(){return this.keepAliveState}getUmdLibraryHooks(){var t,e;if(j.UNMOUNT!==this.state){const n=null!==(e=null===(t=this.sandBox)||void 0===t?void 0:t.proxyWindow)&&void 0!==e?e:mt.rawWindow;return this.libraryName=B(this.container).getAttribute("library")||"micro-app-"+this.name,"object"==typeof n[this.libraryName]?n[this.libraryName]:{}}return{}}}function Zt(t){class e extends HTMLElement{constructor(){super(),this.isWaiting=!1,this.cacheData=null,this.hasConnected=!1,this.appName="",this.appUrl="",this.ssrUrl="",this.version=r,this.handleAttributeUpdate=()=>{this.isWaiting=!1;const t=b(this.getAttribute("name")),e=x(this.getAttribute("url"),this.appName);if(this.legalAttribute("name",t)&&this.legalAttribute("url",e)){const n=Wt.get(t);if(t!==this.appName&&n&&j.UNMOUNT!==n.getAppState()&&G.KEEP_ALIVE_HIDDEN!==n.getKeepAliveState()&&!n.isPrefetch)return this.setAttribute("name",this.appName),g(`app name conflict, an app named ${t} is running`,this.appName);t===this.appName&&e===this.appUrl||(t===this.appName?this.handleUnmount(!0,()=>{this.actionsForAttributeChange(t,e,n)}):this.getKeepAliveModeResult()?(this.handleHiddenKeepAliveApp(),this.actionsForAttributeChange(t,e,n)):this.handleUnmount(this.getDestroyCompatibleResult(),()=>{this.actionsForAttributeChange(t,e,n)}))}else t!==this.appName&&this.setAttribute("name",this.appName)},lt||(lt=!0,Element.prototype.setAttribute=function(t,e){if(/^micro-app(-\S+)?/i.test(this.tagName)&&"data"===t)if(l(e)){const t={};Object.getOwnPropertyNames(e).forEach(n=>{a(n)&&0===n.indexOf("__")||(t[n]=e[n])}),this.data=t}else"[object Object]"!==e&&v("property data must be an object",this.getAttribute("name"));else if((("src"===t||"srcset"===t)&&/^(img|script)$/i.test(this.tagName)||"href"===t&&/^link$/i.test(this.tagName))&&this.__MICRO_APP_NAME__&&Wt.has(this.__MICRO_APP_NAME__)){const n=Wt.get(this.__MICRO_APP_NAME__);mt.rawSetAttribute.call(this,t,M(e,n.url))}else mt.rawSetAttribute.call(this,t,e)})}static get observedAttributes(){return["name","url"]}connectedCallback(){this.hasConnected=!0,y(()=>zt(this,this.appName,N.CREATED)),this.initialMount()}disconnectedCallback(){this.hasConnected=!1,this.getKeepAliveModeResult()?this.handleHiddenKeepAliveApp():this.handleUnmount(this.getDestroyCompatibleResult())}attributeChangedCallback(t,e,n){if(this.legalAttribute(t,n)&&this[t===U.NAME?"appName":"appUrl"]!==n)if(t!==U.URL||this.appUrl)if(t!==U.NAME||this.appName)this.isWaiting||(this.isWaiting=!0,y(this.handleAttributeUpdate));else{const t=b(n);if(!t)return g("Invalid attribute name "+n,this.appName);this.cacheData&&(te.setData(t,this.cacheData),this.cacheData=null),this.appName=t,t!==n&&this.setAttribute("name",this.appName),this.handleInitialNameAndUrl()}else{if(!(n=x(n,this.appName)))return g("Invalid attribute url "+n,this.appName);this.appUrl=n,this.handleInitialNameAndUrl()}}handleInitialNameAndUrl(){this.hasConnected&&this.initialMount()}initialMount(){if(this.appName&&this.appUrl)if(this.getDisposeResult("shadowDOM")&&!this.shadowRoot&&c(this.attachShadow)&&this.attachShadow({mode:"open"}),this.getDisposeResult("ssr")?this.ssrUrl=M(mt.rawWindow.location.pathname,this.appUrl):this.ssrUrl&&(this.ssrUrl=""),Wt.has(this.appName)){const t=Wt.get(this.appName),e=t.ssrUrl||t.url,n=this.ssrUrl||this.appUrl;t.getKeepAliveState()===G.KEEP_ALIVE_HIDDEN&&t.url===this.appUrl?this.handleShowKeepAliveApp(t):e!==n||!t.isPrefetch&&t.getAppState()!==j.UNMOUNT?t.isPrefetch||t.getAppState()===j.UNMOUNT?(v(`the ${t.isPrefetch?"prefetch":"unmounted"} app with url: ${e} is replaced by a new app`,this.appName),this.handleCreateApp()):g(`app name conflict, an app named ${this.appName} is running`,this.appName):this.handleAppMount(t)}else this.handleCreateApp()}actionsForAttributeChange(t,e,n){var r;this.getDisposeResult("ssr")?this.ssrUrl=M(mt.rawWindow.location.pathname,e):this.ssrUrl&&(this.ssrUrl=""),this.appName=t,this.appUrl=e,(null!==(r=this.shadowRoot)&&void 0!==r?r:this).innerHTML="",t!==this.getAttribute("name")&&this.setAttribute("name",this.appName),n?n.getKeepAliveState()===G.KEEP_ALIVE_HIDDEN?n.url===this.appUrl?this.handleShowKeepAliveApp(n):g(`app name conflict, an app named ${this.appName} is running`,this.appName):n.url===this.appUrl&&n.ssrUrl===this.ssrUrl?this.handleAppMount(n):this.handleCreateApp():this.handleCreateApp()}legalAttribute(t,e){return!(!a(e)||!e)||(g(`unexpected attribute ${t}, please check again`,this.appName),!1)}handleAppMount(t){t.isPrefetch=!1,y(()=>{var e;return t.mount(null!==(e=this.shadowRoot)&&void 0!==e?e:this,this.getDisposeResult("inline"),this.getBaseRouteCompatible())})}handleCreateApp(){var t;Wt.has(this.appName)&&Wt.get(this.appName).actionsForCompletelyDestroy();const e=new Vt({name:this.appName,url:this.appUrl,ssrUrl:this.ssrUrl,container:null!==(t=this.shadowRoot)&&void 0!==t?t:this,inline:this.getDisposeResult("inline"),scopecss:!(this.getDisposeResult("disableScopecss")||this.getDisposeResult("shadowDOM")),useSandbox:!this.getDisposeResult("disableSandbox"),baseroute:this.getBaseRouteCompatible()});Wt.set(this.appName,e)}handleUnmount(t,e){const n=Wt.get(this.appName);n&&n.getAppState()!==j.UNMOUNT&&n.unmount(t,e)}handleHiddenKeepAliveApp(){const t=Wt.get(this.appName);t&&t.getAppState()!==j.UNMOUNT&&t.getKeepAliveState()!==G.KEEP_ALIVE_HIDDEN&&t.hiddenKeepAliveApp()}handleShowKeepAliveApp(t){y(()=>{var e;return t.showKeepAliveApp(null!==(e=this.shadowRoot)&&void 0!==e?e:this)})}getDisposeResult(t){return(this.compatibleSpecialProperties(t)||te[t])&&this.compatibleDisableSpecialProperties(t)}compatibleSpecialProperties(t){return"disableScopecss"===t?this.hasAttribute("disableScopecss")||this.hasAttribute("disable-scopecss"):"disableSandbox"===t?this.hasAttribute("disableSandbox")||this.hasAttribute("disable-sandbox"):this.hasAttribute(t)}compatibleDisableSpecialProperties(t){return"disableScopecss"===t?"false"!==this.getAttribute("disableScopecss")&&"false"!==this.getAttribute("disable-scopecss"):"disableSandbox"===t?"false"!==this.getAttribute("disableSandbox")&&"false"!==this.getAttribute("disable-sandbox"):"false"!==this.getAttribute(t)}getBaseRouteCompatible(){var t,e;return null!==(e=null!==(t=this.getAttribute("baseroute"))&&void 0!==t?t:this.getAttribute("baseurl"))&&void 0!==e?e:""}getDestroyCompatibleResult(){return this.getDisposeResult("destroy")||this.getDisposeResult("destory")}getKeepAliveModeResult(){return this.getDisposeResult("keep-alive")&&!this.getDestroyCompatibleResult()}set data(t){this.appName?te.setData(this.appName,t):this.cacheData=t}get data(){return this.appName?te.getData(this.appName,!0):this.cacheData?this.cacheData:null}}window.customElements.define(t,e)}function Qt(t){if(!i)return g("preFetch is only supported in browser environment");A(()=>{c(t)&&(t=t()),u(t)&&t.reduce((t,e)=>t.then(()=>{return t=e,new Promise(e=>{A(()=>{var n,r;if(l(t)&&navigator.onLine)if(t.name=b(t.name),t.url=x(t.url,t.name),t.name&&t.url&&!Wt.has(t.name)){const i=new Vt({name:t.name,url:t.url,scopecss:!(null!==(n=t.disableScopecss)&&void 0!==n?n:te.disableScopecss),useSandbox:!(null!==(r=t.disableSandbox)&&void 0!==r?r:te.disableSandbox)});i.isPrefetch=!0,i.prefetchResolve=e,Wt.set(t.name,i)}else e();else e()})});var t}),Promise.resolve())})}function Xt(t,e,n){if(u(t)){const r=t.filter(t=>a(t)&&t.includes("."+e)&&!n.has(t));S(r.map(t=>H(t)),t=>{const e=r[t.index];n.has(e)||n.set(e,t.data)},t=>{g(t)})}}function Yt(t){const e=[];return Wt.forEach((n,r)=>{j.UNMOUNT===n.getAppState()||n.isPrefetch||t&&G.KEEP_ALIVE_HIDDEN===n.getKeepAliveState()||e.push(r)}),e}function Jt(){return Array.from(Wt.keys())}function qt(t,e){const n=Wt.get(b(t));return new Promise(r=>{if(n)if(n.getAppState()===j.UNMOUNT||n.isPrefetch)(null==e?void 0:e.destroy)&&n.actionsForCompletelyDestroy(),r();else if(n.getKeepAliveState()===G.KEEP_ALIVE_HIDDEN)(null==e?void 0:e.destroy)?n.unmount(!0,r):(null==e?void 0:e.clearAliveState)?n.unmount(!1,r):r();else{const t=B(n.container),i=()=>{t.removeEventListener("unmount",i),t.removeEventListener("afterhidden",o),r()},o=()=>{t.removeEventListener("unmount",i),t.removeEventListener("afterhidden",o),r()};if(t.addEventListener("unmount",i),t.addEventListener("afterhidden",o),null==e?void 0:e.destroy){let e,n;t.hasAttribute("destroy")&&(e=t.getAttribute("destroy")),t.hasAttribute("destory")&&(n=t.getAttribute("destory")),t.setAttribute("destroy","true"),t.parentNode.removeChild(t),t.removeAttribute("destroy"),"string"==typeof e&&t.setAttribute("destroy",e),"string"==typeof n&&t.setAttribute("destory",n)}else if((null==e?void 0:e.clearAliveState)&&t.hasAttribute("keep-alive")){const e=t.getAttribute("keep-alive");t.removeAttribute("keep-alive"),t.parentNode.removeChild(t),t.setAttribute("keep-alive",e)}else t.parentNode.removeChild(t)}else v(`app ${t} does not exist`),r()})}function Kt(t){return Array.from(Wt.keys()).reduce((e,n)=>e.then(()=>qt(n,t)),Promise.resolve())}class $t extends It{constructor(){super(...arguments),this.tagName="micro-app",this.preFetch=Qt}start(t){if(!i||!window.customElements)return g("micro-app is not supported in this environment");if(null==t?void 0:t.tagName){if(!/^micro-app(-\S+)?/.test(t.tagName))return g(t.tagName+" is invalid tagName");this.tagName=t.tagName}if(window.customElements.get(this.tagName))return v(`element ${this.tagName} is already defined`);if(gt(),t&&l(t)&&(this.shadowDOM=t.shadowDOM,this.destroy=t.destroy,this.destory=t.destory,this.inline=t.inline,this.disableScopecss=t.disableScopecss,this.disableSandbox=t.disableSandbox,this.ssr=t.ssr,c(t.fetch)&&(this.fetch=t.fetch),l(t.lifeCycles)&&(this.lifeCycles=t.lifeCycles),t.preFetchApps&&Qt(t.preFetchApps),t.globalAssets&&(l(e=t.globalAssets)&&A(()=>{Xt(e.js,"js",vt),Xt(e.css,"css",tt)})),l(t.plugins))){const e=t.plugins.modules;if(l(e))for(const t in e){const n=b(t);n&&t!==n&&(e[n]=e[t],delete e[t])}this.plugins=t.plugins}var e;Zt(this.tagName)}}var te=new $t;e.default=te}.call(this,n(12))}])}));
|