rk-web-core 0.7.92 → 0.7.97
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.
|
File without changes
|
package/package.json
CHANGED
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(F&&F(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)&&(g[n]=e[n]);0==--y&&0===_&&C()}(t,e),n&&n(t,e)};var r,i=!0,o="0ea6dcfcfa0154601c33",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":(g={})[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,g,m,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,m=t.h,d("prepare");var e=new Promise((function(t,e){p={resolve:t,reject:e}}));for(var n in g={},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 g)Object.prototype.hasOwnProperty.call(g,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 g)if(Object.prototype.hasOwnProperty.call(g,S)){var A;h=M(S),A=g[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]=g[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 F,D,U=_.slice();for(;U.length>0;)if(h=U.pop(),l=L[h]){var N={},j=l.hot._disposeHandlers;for(u=0;u<j.length;u++)(i=j[u])(N);for(a[h]=N,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(D=y[h],u=0;u<D.length;u++)F=D[u],(k=l.children.indexOf(F))>=0&&l.children.splice(k,1);d("apply"),void 0!==m&&(o=m,m=void 0);for(h in g=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])){D=y[h];var H=[];for(c=0;c<D.length;c++)if(F=D[c],i=l.hot._acceptedDependencies[F]){if(-1!==H.indexOf(i))continue;H.push(i)}for(c=0;c<H.length;c++){i=H[c];try{i(D)}catch(t){n.onErrored&&n.onErrored({type:"accept-errored",moduleId:h,dependencyId:D[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 g||(g={}),v.forEach(I),v=void 0,!0}function I(e){Object.prototype.hasOwnProperty.call(g,e)||(g[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 F=k;return u(164)(R.s=164)}([function(t,e,n){t.exports=n(335)},function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return Ct})),n.d(e,"d",(function(){return St})),n.d(e,"e",(function(){return wt})),n.d(e,"f",(function(){return z})),n.d(e,"g",(function(){return it})),n.d(e,"h",(function(){return At})),n.d(e,"i",(function(){return h})),n.d(e,"j",(function(){return Nt}));var r=Object.freeze({__proto__:null,get start(){return Nt},get ensureJQuerySupport(){return dt},get setBootstrapMaxTime(){return Q},get setMountMaxTime(){return X},get setUnmountMaxTime(){return Y},get setUnloadMaxTime(){return J},get registerApplication(){return At},get unregisterApplication(){return Et},get getMountedApps(){return wt},get getAppStatus(){return St},get unloadApplication(){return Tt},get checkActivityFunctions(){return Ct},get getAppNames(){return Mt},get pathToActiveWhen(){return Pt},get navigateToUrl(){return it},get triggerAppChange(){return Bt},get addErrorHandler(){return l},get removeErrorHandler(){return h},get mountRootParcel(){return z},get NOT_LOADED(){return p},get LOADING_SOURCE_CODE(){return g},get NOT_BOOTSTRAPPED(){return m},get BOOTSTRAPPING(){return v},get NOT_MOUNTED(){return y},get MOUNTING(){return _},get UPDATING(){return b},get LOAD_ERROR(){return M},get MOUNTED(){return x},get UNMOUNTING(){return w},get SKIP_BECAUSE_BROKEN(){return S}});function i(t){return(i="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)}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).CustomEvent,s=function(){try{var t=new a("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?a:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,e){var n=document.createEvent("CustomEvent");return e?n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail):n.initCustomEvent(t,!1,!1,void 0),n}:function(t,e){var n=document.createEventObject();return n.type=t,e?(n.bubbles=Boolean(e.bubbles),n.cancelable=Boolean(e.cancelable),n.detail=e.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n},c=[];function u(t,e,n){var r=d(t,e,n);c.length?c.forEach((function(t){return t(r)})):setTimeout((function(){throw r}))}function l(t){if("function"!=typeof t)throw Error(f(28,!1));c.push(t)}function h(t){if("function"!=typeof t)throw Error(f(29,!1));var e=!1;return c=c.filter((function(n){var r=n===t;return e=e||r,!r})),e}function f(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return"single-spa minified message #".concat(t,": ").concat(e?e+" ":"","See https://single-spa.js.org/error/?code=").concat(t).concat(r.length?"&arg=".concat(r.join("&arg=")):"")}function d(t,e,n){var r,i="".concat(I(e)," '").concat(E(e),"' died in status ").concat(e.status,": ");if(t instanceof Error){try{t.message=i+t.message}catch(t){}r=t}else{console.warn(f(30,!1,e.status,E(e)));try{r=Error(i+JSON.stringify(t))}catch(e){r=t}}return r.appOrParcelName=E(e),e.status=n,r}var p="NOT_LOADED",g="LOADING_SOURCE_CODE",m="NOT_BOOTSTRAPPED",v="BOOTSTRAPPING",y="NOT_MOUNTED",_="MOUNTING",x="MOUNTED",b="UPDATING",w="UNMOUNTING",M="LOAD_ERROR",S="SKIP_BECAUSE_BROKEN";function A(t){return t.status===x}function C(t){try{return t.activeWhen(window.location)}catch(e){return u(e,t,S),!1}}function E(t){return t.name}function T(t){return Boolean(t.unmountThisParcel)}function I(t){return T(t)?"parcel":"application"}function L(){for(var t=arguments.length-1;t>0;t--)for(var e in arguments[t])"__proto__"!==e&&(arguments[t-1][e]=arguments[t][e]);return arguments[0]}function P(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return t[n];return null}function R(t){return t&&("function"==typeof t||(e=t,Array.isArray(e)&&!P(e,(function(t){return"function"!=typeof t}))));var e}function O(t,e){var n=t[e]||[];0===(n=Array.isArray(n)?n:[n]).length&&(n=[function(){return Promise.resolve()}]);var r=I(t),i=E(t);return function(t){return n.reduce((function(n,o,a){return n.then((function(){var n=o(t);return k(n)?n:Promise.reject(f(15,!1,r,i,e,a))}))}),Promise.resolve())}}function k(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}function B(t,e){return Promise.resolve().then((function(){return t.status!==m?t:(t.status=v,t.bootstrap?q(t,"bootstrap").then(n).catch((function(n){if(e)throw d(n,t,S);return u(n,t,S),t})):Promise.resolve().then(n))}));function n(){return t.status=y,t}}function F(t,e){return Promise.resolve().then((function(){if(t.status!==x)return t;t.status=w;var n=Object.keys(t.parcels).map((function(e){return t.parcels[e].unmountThisParcel()}));return Promise.all(n).then(r,(function(n){return r().then((function(){var r=Error(n.message);if(e)throw d(r,t,S);u(r,t,S)}))})).then((function(){return t}));function r(){return q(t,"unmount").then((function(){t.status=y})).catch((function(n){if(e)throw d(n,t,S);u(n,t,S)}))}}))}var D=!1,U=!1;function N(t,e){return Promise.resolve().then((function(){return t.status!==y?t:(D||(window.dispatchEvent(new s("single-spa:before-first-mount")),D=!0),q(t,"mount").then((function(){return t.status=x,U||(window.dispatchEvent(new s("single-spa:first-mount")),U=!0),t})).catch((function(n){return t.status=x,F(t,!0).then(r,r);function r(){if(e)throw d(n,t,S);return u(n,t,S),t}})))}))}var j=0,G={parcels:{}};function z(){return H.apply(G,arguments)}function H(t,e){var n=this;if(!t||"object"!==i(t)&&"function"!=typeof t)throw Error(f(2,!1));if(t.name&&"string"!=typeof t.name)throw Error(f(3,!1,i(t.name)));if("object"!==i(e))throw Error(f(4,!1,name,i(e)));if(!e.domElement)throw Error(f(5,!1,name));var r,o=j++,a="function"==typeof t,s=a?t:function(){return Promise.resolve(t)},c={id:o,parcels:{},status:a?g:m,customProps:e,parentName:E(n),unmountThisParcel:function(){return v.then((function(){if(c.status!==x)throw Error(f(6,!1,name,c.status));return F(c,!0)})).then((function(t){return c.parentName&&delete n.parcels[c.id],t})).then((function(t){return l(t),t})).catch((function(t){throw c.status=S,h(t),t}))}};n.parcels[o]=c;var u=s();if(!u||"function"!=typeof u.then)throw Error(f(7,!1));var l,h,p=(u=u.then((function(t){if(!t)throw Error(f(8,!1));var e=t.name||"parcel-".concat(o);if(Object.prototype.hasOwnProperty.call(t,"bootstrap")&&!R(t.bootstrap))throw Error(f(9,!1,e));if(!R(t.mount))throw Error(f(10,!1,e));if(!R(t.unmount))throw Error(f(11,!1,e));if(t.update&&!R(t.update))throw Error(f(12,!1,e));var n=O(t,"bootstrap"),i=O(t,"mount"),a=O(t,"unmount");c.status=m,c.name=e,c.bootstrap=n,c.mount=i,c.unmount=a,c.timeouts=K(t.timeouts),t.update&&(c.update=O(t,"update"),r.update=function(t){return c.customProps=t,W(function(t){return Promise.resolve().then((function(){if(t.status!==x)throw Error(f(32,!1,E(t)));return t.status=b,q(t,"update").then((function(){return t.status=x,t})).catch((function(e){throw d(e,t,S)}))}))}(c))})}))).then((function(){return B(c,!0)})),v=p.then((function(){return N(c,!0)})),_=new Promise((function(t,e){l=t,h=e}));return r={mount:function(){return W(Promise.resolve().then((function(){if(c.status!==y)throw Error(f(13,!1,name,c.status));return n.parcels[o]=c,N(c)})))},unmount:function(){return W(c.unmountThisParcel())},getStatus:function(){return c.status},loadPromise:W(u),bootstrapPromise:W(p),mountPromise:W(v),unmountPromise:W(_)}}function W(t){return t.then((function(){return null}))}function V(t){var e=E(t),n="function"==typeof t.customProps?t.customProps(e,window.location):t.customProps;("object"!==i(n)||null===n||Array.isArray(n))&&(n={},console.warn(f(40,!1),e,n));var o=L({},n,{name:e,mountParcel:H.bind(t),singleSpa:r});return T(t)&&(o.unmountSelf=t.unmountThisParcel),o}var Z={bootstrap:{millis:4e3,dieOnTimeout:!1,warningMillis:1e3},mount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unmount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unload:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},update:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3}};function Q(t,e,n){if("number"!=typeof t||t<=0)throw Error(f(16,!1));Z.bootstrap={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function X(t,e,n){if("number"!=typeof t||t<=0)throw Error(f(17,!1));Z.mount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function Y(t,e,n){if("number"!=typeof t||t<=0)throw Error(f(18,!1));Z.unmount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function J(t,e,n){if("number"!=typeof t||t<=0)throw Error(f(19,!1));Z.unload={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function q(t,e){var n=t.timeouts[e],r=n.warningMillis,i=I(t);return new Promise((function(o,a){var s=!1,c=!1;t[e](V(t)).then((function(t){s=!0,o(t)})).catch((function(t){s=!0,a(t)})),setTimeout((function(){return l(1)}),r),setTimeout((function(){return l(!0)}),n.millis);var u=f(31,!1,e,i,E(t),n.millis);function l(t){if(!s)if(!0===t)c=!0,n.dieOnTimeout?a(Error(u)):console.error(u);else if(!c){var e=t,i=e*r;console.warn(u),i+r<n.millis&&setTimeout((function(){return l(e+1)}),r)}}}))}function K(t){var e={};for(var n in Z)e[n]=L({},Z[n],t&&t[n]||{});return e}function $(t){return Promise.resolve().then((function(){return t.loadPromise?t.loadPromise:t.status!==p&&t.status!==M?t:(t.status=g,t.loadPromise=Promise.resolve().then((function(){var r=t.loadApp(V(t));if(!k(r))throw n=!0,Error(f(33,!1,E(t)));return r.then((function(n){var r;t.loadErrorTime=null,"object"!==i(e=n)&&(r=34),Object.prototype.hasOwnProperty.call(e,"bootstrap")&&!R(e.bootstrap)&&(r=35),R(e.mount)||(r=36),R(e.unmount)||(r=37);var o=I(e);if(r){var a;try{a=JSON.stringify(e)}catch(t){}return console.error(f(r,!1,o,E(t),a),e),u(void 0,t,S),t}return e.devtools&&e.devtools.overlays&&(t.devtools.overlays=L({},t.devtools.overlays,e.devtools.overlays)),t.status=m,t.bootstrap=O(e,"bootstrap"),t.mount=O(e,"mount"),t.unmount=O(e,"unmount"),t.unload=O(e,"unload"),t.timeouts=K(e.timeouts),delete t.loadPromise,t}))})).catch((function(e){var r;return delete t.loadPromise,n?r=S:(r=M,t.loadErrorTime=(new Date).getTime()),u(e,t,r),t})));var e,n}))}var tt,et="undefined"!=typeof window,nt={hashchange:[],popstate:[]},rt=["hashchange","popstate"];function it(t){var e;if("string"==typeof t)e=t;else if(this&&this.href)e=this.href;else{if(!(t&&t.currentTarget&&t.currentTarget.href&&t.preventDefault))throw Error(f(14,!1));e=t.currentTarget.href,t.preventDefault()}var n=ht(window.location.href),r=ht(e);0===e.indexOf("#")?window.location.hash=r.hash:n.host!==r.host&&r.host?window.location.href=e:r.pathname===n.pathname&&r.search===n.search?window.location.hash=r.hash:window.history.pushState(null,null,e)}function ot(t){var e=this;if(t){var n=t[0].type;rt.indexOf(n)>=0&&nt[n].forEach((function(n){try{n.apply(e,t)}catch(t){setTimeout((function(){throw t}))}}))}}function at(){Ft([],arguments)}function st(t,e){return function(){var n=window.location.href,r=t.apply(this,arguments),i=window.location.href;return tt&&n===i||(jt()?window.dispatchEvent(ct(window.history.state,e)):Ft([])),r}}function ct(t,e){var n;try{n=new PopStateEvent("popstate",{state:t})}catch(e){(n=document.createEvent("PopStateEvent")).initPopStateEvent("popstate",!1,!1,t)}return n.singleSpa=!0,n.singleSpaTrigger=e,n}if(et){window.addEventListener("hashchange",at),window.addEventListener("popstate",at);var ut=window.addEventListener,lt=window.removeEventListener;window.addEventListener=function(t,e){if(!("function"==typeof e&&rt.indexOf(t)>=0)||P(nt[t],(function(t){return t===e})))return ut.apply(this,arguments);nt[t].push(e)},window.removeEventListener=function(t,e){if(!("function"==typeof e&&rt.indexOf(t)>=0))return lt.apply(this,arguments);nt[t]=nt[t].filter((function(t){return t!==e}))},window.history.pushState=st(window.history.pushState,"pushState"),window.history.replaceState=st(window.history.replaceState,"replaceState"),window.singleSpaNavigate?console.warn(f(41,!1)):window.singleSpaNavigate=it}function ht(t){var e=document.createElement("a");return e.href=t,e}var ft=!1;function dt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.jQuery;if(t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!ft){var e=t.fn.on,n=t.fn.off;t.fn.on=function(t,n){return pt.call(this,e,window.addEventListener,t,n,arguments)},t.fn.off=function(t,e){return pt.call(this,n,window.removeEventListener,t,e,arguments)},ft=!0}}function pt(t,e,n,r,i){return"string"!=typeof n?t.apply(this,i):(n.split(/\s+/).forEach((function(t){rt.indexOf(t)>=0&&(e(t,r),n=n.replace(t,""))})),""===n.trim()?this:t.apply(this,i))}var gt={};function mt(t){return Promise.resolve().then((function(){var e=gt[E(t)];if(!e)return t;if(t.status===p)return vt(t,e),t;if("UNLOADING"===t.status)return e.promise.then((function(){return t}));if(t.status!==y&&t.status!==M)return t;var n=t.status===M?Promise.resolve():q(t,"unload");return t.status="UNLOADING",n.then((function(){return vt(t,e),t})).catch((function(n){return function(t,e,n){delete gt[E(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,u(n,t,S),e.reject(n)}(t,e,n),t}))}))}function vt(t,e){delete gt[E(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=p,e.resolve()}function yt(t,e,n,r){gt[E(t)]={app:t,resolve:n,reject:r},Object.defineProperty(gt[E(t)],"promise",{get:e})}function _t(t){return gt[t]}var xt=[];function bt(){var t=[],e=[],n=[],r=[],i=(new Date).getTime();return xt.forEach((function(o){var a=o.status!==S&&C(o);switch(o.status){case M:a&&i-o.loadErrorTime>=200&&n.push(o);break;case p:case g:a&&n.push(o);break;case m:case y:!a&&_t(E(o))?t.push(o):a&&r.push(o);break;case x:a||e.push(o)}})),{appsToUnload:t,appsToUnmount:e,appsToLoad:n,appsToMount:r}}function wt(){return xt.filter(A).map(E)}function Mt(){return xt.map(E)}function St(t){var e=P(xt,(function(e){return E(e)===t}));return e?e.status:null}function At(t,e,n,r){var o=function(t,e,n,r){var o,a={name:null,loadApp:null,activeWhen:null,customProps:null};return"object"===i(t)?(function(t){if(Array.isArray(t)||null===t)throw Error(f(39,!1));var e=["name","app","activeWhen","customProps"],n=Object.keys(t).reduce((function(t,n){return e.indexOf(n)>=0?t:t.concat(n)}),[]);if(0!==n.length)throw Error(f(38,!1,e.join(", "),n.join(", ")));if("string"!=typeof t.name||0===t.name.length)throw Error(f(20,!1));if("object"!==i(t.app)&&"function"!=typeof t.app)throw Error(f(20,!1));var r=function(t){return"string"==typeof t||"function"==typeof t};if(!(r(t.activeWhen)||Array.isArray(t.activeWhen)&&t.activeWhen.every(r)))throw Error(f(24,!1));if(!Lt(t.customProps))throw Error(f(22,!1))}(t),a.name=t.name,a.loadApp=t.app,a.activeWhen=t.activeWhen,a.customProps=t.customProps):(function(t,e,n,r){if("string"!=typeof t||0===t.length)throw Error(f(20,!1));if(!e)throw Error(f(23,!1));if("function"!=typeof n)throw Error(f(24,!1));if(!Lt(r))throw Error(f(22,!1))}(t,e,n,r),a.name=t,a.loadApp=e,a.activeWhen=n,a.customProps=r),a.loadApp="function"!=typeof(o=a.loadApp)?function(){return Promise.resolve(o)}:o,a.customProps=function(t){return t||{}}(a.customProps),a.activeWhen=function(t){var e=Array.isArray(t)?t:[t];return e=e.map((function(t){return"function"==typeof t?t:Pt(t)})),function(t){return e.some((function(e){return e(t)}))}}(a.activeWhen),a}(t,e,n,r);if(-1!==Mt().indexOf(o.name))throw Error(f(21,!1,o.name));xt.push(L({loadErrorTime:null,status:p,parcels:{},devtools:{overlays:{options:{},selectors:[]}}},o)),et&&(dt(),Ft())}function Ct(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location;return xt.filter((function(e){return e.activeWhen(t)})).map(E)}function Et(t){if(0===xt.filter((function(e){return E(e)===t})).length)throw Error(f(25,!1,t));return Tt(t).then((function(){var e=xt.map(E).indexOf(t);xt.splice(e,1)}))}function Tt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{waitForUnmount:!1};if("string"!=typeof t)throw Error(f(26,!1));var n=P(xt,(function(e){return E(e)===t}));if(!n)throw Error(f(27,!1,t));var r,i=_t(E(n));if(e&&e.waitForUnmount){if(i)return i.promise;var o=new Promise((function(t,e){yt(n,(function(){return o}),t,e)}));return o}return i?(r=i.promise,It(n,i.resolve,i.reject)):r=new Promise((function(t,e){yt(n,(function(){return r}),t,e),It(n,t,e)})),r}function It(t,e,n){F(t).then(mt).then((function(){e(),setTimeout((function(){Ft()}))})).catch(n)}function Lt(t){return!t||"function"==typeof t||"object"===i(t)&&null!==t&&!Array.isArray(t)}function Pt(t,e){var n=function(t,e){var n=0,r=!1,i="^";"/"!==t[0]&&(t="/"+t);for(var o=0;o<t.length;o++){var a=t[o];(!r&&":"===a||r&&"/"===a)&&s(o)}return s(t.length),new RegExp(i,"i");function s(o){var a=t.slice(n,o).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");if(i+=r?"[^/]+/?":a,o===t.length)if(r)e&&(i+="$");else{var s=e?"":".*";i="/"===i.charAt(i.length-1)?"".concat(i).concat(s,"$"):"".concat(i,"(/").concat(s,")?(#.*)?$")}r=!r,n=o}}(t,e);return function(t){var e=t.origin;e||(e="".concat(t.protocol,"//").concat(t.host));var r=t.href.replace(e,"").replace(t.search,"").split("?")[0];return n.test(r)}}var Rt=!1,Ot=[],kt=et&&window.location.href;function Bt(){return Ft()}function Ft(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;if(Rt)return new Promise((function(t,n){Ot.push({resolve:t,reject:n,eventArguments:e})}));var n,r=bt(),i=r.appsToUnload,a=r.appsToUnmount,c=r.appsToLoad,u=r.appsToMount,l=!1,h=kt,f=kt=window.location.href;return jt()?(Rt=!0,n=i.concat(c,a,u),m()):(n=c,g());function d(){l=!0}function g(){return Promise.resolve().then((function(){var t=c.map($);return Promise.all(t).then(_).then((function(){return[]})).catch((function(t){throw _(),t}))}))}function m(){return Promise.resolve().then((function(){if(window.dispatchEvent(new s(0===n.length?"single-spa:before-no-app-change":"single-spa:before-app-change",b(!0))),window.dispatchEvent(new s("single-spa:before-routing-event",b(!0,{cancelNavigation:d}))),l)return window.dispatchEvent(new s("single-spa:before-mount-routing-event",b(!0))),v(),void it(h);var e=i.map(mt),r=a.map(F).map((function(t){return t.then(mt)})).concat(e),o=Promise.all(r);o.then((function(){window.dispatchEvent(new s("single-spa:before-mount-routing-event",b(!0)))}));var f=c.map((function(t){return $(t).then((function(t){return Dt(t,o)}))})),p=u.filter((function(t){return c.indexOf(t)<0})).map((function(t){return Dt(t,o)}));return o.catch((function(t){throw _(),t})).then((function(){return _(),Promise.all(f.concat(p)).catch((function(e){throw t.forEach((function(t){return t.reject(e)})),e})).then(v)}))}))}function v(){var e=wt();t.forEach((function(t){return t.resolve(e)}));try{var r=0===n.length?"single-spa:no-app-change":"single-spa:app-change";window.dispatchEvent(new s(r,b())),window.dispatchEvent(new s("single-spa:routing-event",b()))}catch(t){setTimeout((function(){throw t}))}if(Rt=!1,Ot.length>0){var i=Ot;Ot=[],Ft(i)}return e}function _(){t.forEach((function(t){ot(t.eventArguments)})),ot(e)}function b(){var t,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=arguments.length>1?arguments[1]:void 0,d={},g=(o(t={},x,[]),o(t,y,[]),o(t,p,[]),o(t,S,[]),t);r?(c.concat(u).forEach((function(t,e){v(t,x)})),i.forEach((function(t){v(t,p)})),a.forEach((function(t){v(t,y)}))):n.forEach((function(t){v(t)}));var m={detail:{newAppStatuses:d,appsByNewStatus:g,totalAppChanges:n.length,originalEvent:null==e?void 0:e[0],oldUrl:h,newUrl:f,navigationIsCanceled:l}};return s&&L(m.detail,s),m;function v(t,e){var n=E(t);e=e||St(n),d[n]=e,(g[e]=g[e]||[]).push(n)}}}function Dt(t,e){return C(t)?B(t).then((function(t){return e.then((function(){return C(t)?N(t):t}))})):e.then((function(){return t}))}var Ut=!1;function Nt(t){var e;Ut=!0,t&&t.urlRerouteOnly&&(e=t.urlRerouteOnly,tt=e),et&&Ft()}function jt(){return Ut}et&&setTimeout((function(){Ut||console.warn(f(1,!1))}),5e3);var Gt={getRawAppData:function(){return[].concat(xt)},reroute:Ft,NOT_LOADED:p,toLoadPromise:$,toBootstrapPromise:B,unregisterApplication:Et};et&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=Gt)}).call(this,n(20))},function(t,e,n){var r=n(28),i=n(12);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,n){"use strict";var r=n(122),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(102)("wks"),i=n(103),o=n(5).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(5),i=n(1),o=n(29),a=n(23),s=n(37),c=function(t,e,n){var u,l,h,f=t&c.F,d=t&c.G,p=t&c.S,g=t&c.P,m=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]:m&&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):g&&"function"==typeof h?o(Function.call,h):h,g&&((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){(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(F&&F(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)&&(g[n]=e[n]);0==--y&&0===_&&C()}(t,e),n&&n(t,e)};var r,i=!0,o="dff1a46ebe5d8d3c45bf",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":(g={})[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,g,m,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,m=t.h,d("prepare");var e=new Promise((function(t,e){p={resolve:t,reject:e}}));for(var n in g={},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 g)Object.prototype.hasOwnProperty.call(g,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 g)if(Object.prototype.hasOwnProperty.call(g,S)){var A;h=M(S),A=g[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]=g[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 F,D,U=_.slice();for(;U.length>0;)if(h=U.pop(),l=L[h]){var N={},j=l.hot._disposeHandlers;for(u=0;u<j.length;u++)(i=j[u])(N);for(a[h]=N,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(D=y[h],u=0;u<D.length;u++)F=D[u],(k=l.children.indexOf(F))>=0&&l.children.splice(k,1);d("apply"),void 0!==m&&(o=m,m=void 0);for(h in g=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])){D=y[h];var H=[];for(c=0;c<D.length;c++)if(F=D[c],i=l.hot._acceptedDependencies[F]){if(-1!==H.indexOf(i))continue;H.push(i)}for(c=0;c<H.length;c++){i=H[c];try{i(D)}catch(t){n.onErrored&&n.onErrored({type:"accept-errored",moduleId:h,dependencyId:D[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 g||(g={}),v.forEach(I),v=void 0,!0}function I(e){Object.prototype.hasOwnProperty.call(g,e)||(g[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 F=k;return u(164)(R.s=164)}([function(t,e,n){t.exports=n(335)},function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return Ct})),n.d(e,"d",(function(){return St})),n.d(e,"e",(function(){return wt})),n.d(e,"f",(function(){return z})),n.d(e,"g",(function(){return it})),n.d(e,"h",(function(){return At})),n.d(e,"i",(function(){return h})),n.d(e,"j",(function(){return Nt}));var r=Object.freeze({__proto__:null,get start(){return Nt},get ensureJQuerySupport(){return dt},get setBootstrapMaxTime(){return Q},get setMountMaxTime(){return X},get setUnmountMaxTime(){return Y},get setUnloadMaxTime(){return J},get registerApplication(){return At},get unregisterApplication(){return Et},get getMountedApps(){return wt},get getAppStatus(){return St},get unloadApplication(){return Tt},get checkActivityFunctions(){return Ct},get getAppNames(){return Mt},get pathToActiveWhen(){return Pt},get navigateToUrl(){return it},get triggerAppChange(){return Bt},get addErrorHandler(){return l},get removeErrorHandler(){return h},get mountRootParcel(){return z},get NOT_LOADED(){return p},get LOADING_SOURCE_CODE(){return g},get NOT_BOOTSTRAPPED(){return m},get BOOTSTRAPPING(){return v},get NOT_MOUNTED(){return y},get MOUNTING(){return _},get UPDATING(){return b},get LOAD_ERROR(){return M},get MOUNTED(){return x},get UNMOUNTING(){return w},get SKIP_BECAUSE_BROKEN(){return S}});function i(t){return(i="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)}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).CustomEvent,s=function(){try{var t=new a("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?a:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,e){var n=document.createEvent("CustomEvent");return e?n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail):n.initCustomEvent(t,!1,!1,void 0),n}:function(t,e){var n=document.createEventObject();return n.type=t,e?(n.bubbles=Boolean(e.bubbles),n.cancelable=Boolean(e.cancelable),n.detail=e.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n},c=[];function u(t,e,n){var r=d(t,e,n);c.length?c.forEach((function(t){return t(r)})):setTimeout((function(){throw r}))}function l(t){if("function"!=typeof t)throw Error(f(28,!1));c.push(t)}function h(t){if("function"!=typeof t)throw Error(f(29,!1));var e=!1;return c=c.filter((function(n){var r=n===t;return e=e||r,!r})),e}function f(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return"single-spa minified message #".concat(t,": ").concat(e?e+" ":"","See https://single-spa.js.org/error/?code=").concat(t).concat(r.length?"&arg=".concat(r.join("&arg=")):"")}function d(t,e,n){var r,i="".concat(I(e)," '").concat(E(e),"' died in status ").concat(e.status,": ");if(t instanceof Error){try{t.message=i+t.message}catch(t){}r=t}else{console.warn(f(30,!1,e.status,E(e)));try{r=Error(i+JSON.stringify(t))}catch(e){r=t}}return r.appOrParcelName=E(e),e.status=n,r}var p="NOT_LOADED",g="LOADING_SOURCE_CODE",m="NOT_BOOTSTRAPPED",v="BOOTSTRAPPING",y="NOT_MOUNTED",_="MOUNTING",x="MOUNTED",b="UPDATING",w="UNMOUNTING",M="LOAD_ERROR",S="SKIP_BECAUSE_BROKEN";function A(t){return t.status===x}function C(t){try{return t.activeWhen(window.location)}catch(e){return u(e,t,S),!1}}function E(t){return t.name}function T(t){return Boolean(t.unmountThisParcel)}function I(t){return T(t)?"parcel":"application"}function L(){for(var t=arguments.length-1;t>0;t--)for(var e in arguments[t])"__proto__"!==e&&(arguments[t-1][e]=arguments[t][e]);return arguments[0]}function P(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return t[n];return null}function R(t){return t&&("function"==typeof t||(e=t,Array.isArray(e)&&!P(e,(function(t){return"function"!=typeof t}))));var e}function O(t,e){var n=t[e]||[];0===(n=Array.isArray(n)?n:[n]).length&&(n=[function(){return Promise.resolve()}]);var r=I(t),i=E(t);return function(t){return n.reduce((function(n,o,a){return n.then((function(){var n=o(t);return k(n)?n:Promise.reject(f(15,!1,r,i,e,a))}))}),Promise.resolve())}}function k(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}function B(t,e){return Promise.resolve().then((function(){return t.status!==m?t:(t.status=v,t.bootstrap?q(t,"bootstrap").then(n).catch((function(n){if(e)throw d(n,t,S);return u(n,t,S),t})):Promise.resolve().then(n))}));function n(){return t.status=y,t}}function F(t,e){return Promise.resolve().then((function(){if(t.status!==x)return t;t.status=w;var n=Object.keys(t.parcels).map((function(e){return t.parcels[e].unmountThisParcel()}));return Promise.all(n).then(r,(function(n){return r().then((function(){var r=Error(n.message);if(e)throw d(r,t,S);u(r,t,S)}))})).then((function(){return t}));function r(){return q(t,"unmount").then((function(){t.status=y})).catch((function(n){if(e)throw d(n,t,S);u(n,t,S)}))}}))}var D=!1,U=!1;function N(t,e){return Promise.resolve().then((function(){return t.status!==y?t:(D||(window.dispatchEvent(new s("single-spa:before-first-mount")),D=!0),q(t,"mount").then((function(){return t.status=x,U||(window.dispatchEvent(new s("single-spa:first-mount")),U=!0),t})).catch((function(n){return t.status=x,F(t,!0).then(r,r);function r(){if(e)throw d(n,t,S);return u(n,t,S),t}})))}))}var j=0,G={parcels:{}};function z(){return H.apply(G,arguments)}function H(t,e){var n=this;if(!t||"object"!==i(t)&&"function"!=typeof t)throw Error(f(2,!1));if(t.name&&"string"!=typeof t.name)throw Error(f(3,!1,i(t.name)));if("object"!==i(e))throw Error(f(4,!1,name,i(e)));if(!e.domElement)throw Error(f(5,!1,name));var r,o=j++,a="function"==typeof t,s=a?t:function(){return Promise.resolve(t)},c={id:o,parcels:{},status:a?g:m,customProps:e,parentName:E(n),unmountThisParcel:function(){return v.then((function(){if(c.status!==x)throw Error(f(6,!1,name,c.status));return F(c,!0)})).then((function(t){return c.parentName&&delete n.parcels[c.id],t})).then((function(t){return l(t),t})).catch((function(t){throw c.status=S,h(t),t}))}};n.parcels[o]=c;var u=s();if(!u||"function"!=typeof u.then)throw Error(f(7,!1));var l,h,p=(u=u.then((function(t){if(!t)throw Error(f(8,!1));var e=t.name||"parcel-".concat(o);if(Object.prototype.hasOwnProperty.call(t,"bootstrap")&&!R(t.bootstrap))throw Error(f(9,!1,e));if(!R(t.mount))throw Error(f(10,!1,e));if(!R(t.unmount))throw Error(f(11,!1,e));if(t.update&&!R(t.update))throw Error(f(12,!1,e));var n=O(t,"bootstrap"),i=O(t,"mount"),a=O(t,"unmount");c.status=m,c.name=e,c.bootstrap=n,c.mount=i,c.unmount=a,c.timeouts=K(t.timeouts),t.update&&(c.update=O(t,"update"),r.update=function(t){return c.customProps=t,W(function(t){return Promise.resolve().then((function(){if(t.status!==x)throw Error(f(32,!1,E(t)));return t.status=b,q(t,"update").then((function(){return t.status=x,t})).catch((function(e){throw d(e,t,S)}))}))}(c))})}))).then((function(){return B(c,!0)})),v=p.then((function(){return N(c,!0)})),_=new Promise((function(t,e){l=t,h=e}));return r={mount:function(){return W(Promise.resolve().then((function(){if(c.status!==y)throw Error(f(13,!1,name,c.status));return n.parcels[o]=c,N(c)})))},unmount:function(){return W(c.unmountThisParcel())},getStatus:function(){return c.status},loadPromise:W(u),bootstrapPromise:W(p),mountPromise:W(v),unmountPromise:W(_)}}function W(t){return t.then((function(){return null}))}function V(t){var e=E(t),n="function"==typeof t.customProps?t.customProps(e,window.location):t.customProps;("object"!==i(n)||null===n||Array.isArray(n))&&(n={},console.warn(f(40,!1),e,n));var o=L({},n,{name:e,mountParcel:H.bind(t),singleSpa:r});return T(t)&&(o.unmountSelf=t.unmountThisParcel),o}var Z={bootstrap:{millis:4e3,dieOnTimeout:!1,warningMillis:1e3},mount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unmount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unload:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},update:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3}};function Q(t,e,n){if("number"!=typeof t||t<=0)throw Error(f(16,!1));Z.bootstrap={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function X(t,e,n){if("number"!=typeof t||t<=0)throw Error(f(17,!1));Z.mount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function Y(t,e,n){if("number"!=typeof t||t<=0)throw Error(f(18,!1));Z.unmount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function J(t,e,n){if("number"!=typeof t||t<=0)throw Error(f(19,!1));Z.unload={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function q(t,e){var n=t.timeouts[e],r=n.warningMillis,i=I(t);return new Promise((function(o,a){var s=!1,c=!1;t[e](V(t)).then((function(t){s=!0,o(t)})).catch((function(t){s=!0,a(t)})),setTimeout((function(){return l(1)}),r),setTimeout((function(){return l(!0)}),n.millis);var u=f(31,!1,e,i,E(t),n.millis);function l(t){if(!s)if(!0===t)c=!0,n.dieOnTimeout?a(Error(u)):console.error(u);else if(!c){var e=t,i=e*r;console.warn(u),i+r<n.millis&&setTimeout((function(){return l(e+1)}),r)}}}))}function K(t){var e={};for(var n in Z)e[n]=L({},Z[n],t&&t[n]||{});return e}function $(t){return Promise.resolve().then((function(){return t.loadPromise?t.loadPromise:t.status!==p&&t.status!==M?t:(t.status=g,t.loadPromise=Promise.resolve().then((function(){var r=t.loadApp(V(t));if(!k(r))throw n=!0,Error(f(33,!1,E(t)));return r.then((function(n){var r;t.loadErrorTime=null,"object"!==i(e=n)&&(r=34),Object.prototype.hasOwnProperty.call(e,"bootstrap")&&!R(e.bootstrap)&&(r=35),R(e.mount)||(r=36),R(e.unmount)||(r=37);var o=I(e);if(r){var a;try{a=JSON.stringify(e)}catch(t){}return console.error(f(r,!1,o,E(t),a),e),u(void 0,t,S),t}return e.devtools&&e.devtools.overlays&&(t.devtools.overlays=L({},t.devtools.overlays,e.devtools.overlays)),t.status=m,t.bootstrap=O(e,"bootstrap"),t.mount=O(e,"mount"),t.unmount=O(e,"unmount"),t.unload=O(e,"unload"),t.timeouts=K(e.timeouts),delete t.loadPromise,t}))})).catch((function(e){var r;return delete t.loadPromise,n?r=S:(r=M,t.loadErrorTime=(new Date).getTime()),u(e,t,r),t})));var e,n}))}var tt,et="undefined"!=typeof window,nt={hashchange:[],popstate:[]},rt=["hashchange","popstate"];function it(t){var e;if("string"==typeof t)e=t;else if(this&&this.href)e=this.href;else{if(!(t&&t.currentTarget&&t.currentTarget.href&&t.preventDefault))throw Error(f(14,!1));e=t.currentTarget.href,t.preventDefault()}var n=ht(window.location.href),r=ht(e);0===e.indexOf("#")?window.location.hash=r.hash:n.host!==r.host&&r.host?window.location.href=e:r.pathname===n.pathname&&r.search===n.search?window.location.hash=r.hash:window.history.pushState(null,null,e)}function ot(t){var e=this;if(t){var n=t[0].type;rt.indexOf(n)>=0&&nt[n].forEach((function(n){try{n.apply(e,t)}catch(t){setTimeout((function(){throw t}))}}))}}function at(){Ft([],arguments)}function st(t,e){return function(){var n=window.location.href,r=t.apply(this,arguments),i=window.location.href;return tt&&n===i||(jt()?window.dispatchEvent(ct(window.history.state,e)):Ft([])),r}}function ct(t,e){var n;try{n=new PopStateEvent("popstate",{state:t})}catch(e){(n=document.createEvent("PopStateEvent")).initPopStateEvent("popstate",!1,!1,t)}return n.singleSpa=!0,n.singleSpaTrigger=e,n}if(et){window.addEventListener("hashchange",at),window.addEventListener("popstate",at);var ut=window.addEventListener,lt=window.removeEventListener;window.addEventListener=function(t,e){if(!("function"==typeof e&&rt.indexOf(t)>=0)||P(nt[t],(function(t){return t===e})))return ut.apply(this,arguments);nt[t].push(e)},window.removeEventListener=function(t,e){if(!("function"==typeof e&&rt.indexOf(t)>=0))return lt.apply(this,arguments);nt[t]=nt[t].filter((function(t){return t!==e}))},window.history.pushState=st(window.history.pushState,"pushState"),window.history.replaceState=st(window.history.replaceState,"replaceState"),window.singleSpaNavigate?console.warn(f(41,!1)):window.singleSpaNavigate=it}function ht(t){var e=document.createElement("a");return e.href=t,e}var ft=!1;function dt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.jQuery;if(t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!ft){var e=t.fn.on,n=t.fn.off;t.fn.on=function(t,n){return pt.call(this,e,window.addEventListener,t,n,arguments)},t.fn.off=function(t,e){return pt.call(this,n,window.removeEventListener,t,e,arguments)},ft=!0}}function pt(t,e,n,r,i){return"string"!=typeof n?t.apply(this,i):(n.split(/\s+/).forEach((function(t){rt.indexOf(t)>=0&&(e(t,r),n=n.replace(t,""))})),""===n.trim()?this:t.apply(this,i))}var gt={};function mt(t){return Promise.resolve().then((function(){var e=gt[E(t)];if(!e)return t;if(t.status===p)return vt(t,e),t;if("UNLOADING"===t.status)return e.promise.then((function(){return t}));if(t.status!==y&&t.status!==M)return t;var n=t.status===M?Promise.resolve():q(t,"unload");return t.status="UNLOADING",n.then((function(){return vt(t,e),t})).catch((function(n){return function(t,e,n){delete gt[E(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,u(n,t,S),e.reject(n)}(t,e,n),t}))}))}function vt(t,e){delete gt[E(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=p,e.resolve()}function yt(t,e,n,r){gt[E(t)]={app:t,resolve:n,reject:r},Object.defineProperty(gt[E(t)],"promise",{get:e})}function _t(t){return gt[t]}var xt=[];function bt(){var t=[],e=[],n=[],r=[],i=(new Date).getTime();return xt.forEach((function(o){var a=o.status!==S&&C(o);switch(o.status){case M:a&&i-o.loadErrorTime>=200&&n.push(o);break;case p:case g:a&&n.push(o);break;case m:case y:!a&&_t(E(o))?t.push(o):a&&r.push(o);break;case x:a||e.push(o)}})),{appsToUnload:t,appsToUnmount:e,appsToLoad:n,appsToMount:r}}function wt(){return xt.filter(A).map(E)}function Mt(){return xt.map(E)}function St(t){var e=P(xt,(function(e){return E(e)===t}));return e?e.status:null}function At(t,e,n,r){var o=function(t,e,n,r){var o,a={name:null,loadApp:null,activeWhen:null,customProps:null};return"object"===i(t)?(function(t){if(Array.isArray(t)||null===t)throw Error(f(39,!1));var e=["name","app","activeWhen","customProps"],n=Object.keys(t).reduce((function(t,n){return e.indexOf(n)>=0?t:t.concat(n)}),[]);if(0!==n.length)throw Error(f(38,!1,e.join(", "),n.join(", ")));if("string"!=typeof t.name||0===t.name.length)throw Error(f(20,!1));if("object"!==i(t.app)&&"function"!=typeof t.app)throw Error(f(20,!1));var r=function(t){return"string"==typeof t||"function"==typeof t};if(!(r(t.activeWhen)||Array.isArray(t.activeWhen)&&t.activeWhen.every(r)))throw Error(f(24,!1));if(!Lt(t.customProps))throw Error(f(22,!1))}(t),a.name=t.name,a.loadApp=t.app,a.activeWhen=t.activeWhen,a.customProps=t.customProps):(function(t,e,n,r){if("string"!=typeof t||0===t.length)throw Error(f(20,!1));if(!e)throw Error(f(23,!1));if("function"!=typeof n)throw Error(f(24,!1));if(!Lt(r))throw Error(f(22,!1))}(t,e,n,r),a.name=t,a.loadApp=e,a.activeWhen=n,a.customProps=r),a.loadApp="function"!=typeof(o=a.loadApp)?function(){return Promise.resolve(o)}:o,a.customProps=function(t){return t||{}}(a.customProps),a.activeWhen=function(t){var e=Array.isArray(t)?t:[t];return e=e.map((function(t){return"function"==typeof t?t:Pt(t)})),function(t){return e.some((function(e){return e(t)}))}}(a.activeWhen),a}(t,e,n,r);if(-1!==Mt().indexOf(o.name))throw Error(f(21,!1,o.name));xt.push(L({loadErrorTime:null,status:p,parcels:{},devtools:{overlays:{options:{},selectors:[]}}},o)),et&&(dt(),Ft())}function Ct(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location;return xt.filter((function(e){return e.activeWhen(t)})).map(E)}function Et(t){if(0===xt.filter((function(e){return E(e)===t})).length)throw Error(f(25,!1,t));return Tt(t).then((function(){var e=xt.map(E).indexOf(t);xt.splice(e,1)}))}function Tt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{waitForUnmount:!1};if("string"!=typeof t)throw Error(f(26,!1));var n=P(xt,(function(e){return E(e)===t}));if(!n)throw Error(f(27,!1,t));var r,i=_t(E(n));if(e&&e.waitForUnmount){if(i)return i.promise;var o=new Promise((function(t,e){yt(n,(function(){return o}),t,e)}));return o}return i?(r=i.promise,It(n,i.resolve,i.reject)):r=new Promise((function(t,e){yt(n,(function(){return r}),t,e),It(n,t,e)})),r}function It(t,e,n){F(t).then(mt).then((function(){e(),setTimeout((function(){Ft()}))})).catch(n)}function Lt(t){return!t||"function"==typeof t||"object"===i(t)&&null!==t&&!Array.isArray(t)}function Pt(t,e){var n=function(t,e){var n=0,r=!1,i="^";"/"!==t[0]&&(t="/"+t);for(var o=0;o<t.length;o++){var a=t[o];(!r&&":"===a||r&&"/"===a)&&s(o)}return s(t.length),new RegExp(i,"i");function s(o){var a=t.slice(n,o).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");if(i+=r?"[^/]+/?":a,o===t.length)if(r)e&&(i+="$");else{var s=e?"":".*";i="/"===i.charAt(i.length-1)?"".concat(i).concat(s,"$"):"".concat(i,"(/").concat(s,")?(#.*)?$")}r=!r,n=o}}(t,e);return function(t){var e=t.origin;e||(e="".concat(t.protocol,"//").concat(t.host));var r=t.href.replace(e,"").replace(t.search,"").split("?")[0];return n.test(r)}}var Rt=!1,Ot=[],kt=et&&window.location.href;function Bt(){return Ft()}function Ft(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;if(Rt)return new Promise((function(t,n){Ot.push({resolve:t,reject:n,eventArguments:e})}));var n,r=bt(),i=r.appsToUnload,a=r.appsToUnmount,c=r.appsToLoad,u=r.appsToMount,l=!1,h=kt,f=kt=window.location.href;return jt()?(Rt=!0,n=i.concat(c,a,u),m()):(n=c,g());function d(){l=!0}function g(){return Promise.resolve().then((function(){var t=c.map($);return Promise.all(t).then(_).then((function(){return[]})).catch((function(t){throw _(),t}))}))}function m(){return Promise.resolve().then((function(){if(window.dispatchEvent(new s(0===n.length?"single-spa:before-no-app-change":"single-spa:before-app-change",b(!0))),window.dispatchEvent(new s("single-spa:before-routing-event",b(!0,{cancelNavigation:d}))),l)return window.dispatchEvent(new s("single-spa:before-mount-routing-event",b(!0))),v(),void it(h);var e=i.map(mt),r=a.map(F).map((function(t){return t.then(mt)})).concat(e),o=Promise.all(r);o.then((function(){window.dispatchEvent(new s("single-spa:before-mount-routing-event",b(!0)))}));var f=c.map((function(t){return $(t).then((function(t){return Dt(t,o)}))})),p=u.filter((function(t){return c.indexOf(t)<0})).map((function(t){return Dt(t,o)}));return o.catch((function(t){throw _(),t})).then((function(){return _(),Promise.all(f.concat(p)).catch((function(e){throw t.forEach((function(t){return t.reject(e)})),e})).then(v)}))}))}function v(){var e=wt();t.forEach((function(t){return t.resolve(e)}));try{var r=0===n.length?"single-spa:no-app-change":"single-spa:app-change";window.dispatchEvent(new s(r,b())),window.dispatchEvent(new s("single-spa:routing-event",b()))}catch(t){setTimeout((function(){throw t}))}if(Rt=!1,Ot.length>0){var i=Ot;Ot=[],Ft(i)}return e}function _(){t.forEach((function(t){ot(t.eventArguments)})),ot(e)}function b(){var t,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=arguments.length>1?arguments[1]:void 0,d={},g=(o(t={},x,[]),o(t,y,[]),o(t,p,[]),o(t,S,[]),t);r?(c.concat(u).forEach((function(t,e){v(t,x)})),i.forEach((function(t){v(t,p)})),a.forEach((function(t){v(t,y)}))):n.forEach((function(t){v(t)}));var m={detail:{newAppStatuses:d,appsByNewStatus:g,totalAppChanges:n.length,originalEvent:null==e?void 0:e[0],oldUrl:h,newUrl:f,navigationIsCanceled:l}};return s&&L(m.detail,s),m;function v(t,e){var n=E(t);e=e||St(n),d[n]=e,(g[e]=g[e]||[]).push(n)}}}function Dt(t,e){return C(t)?B(t).then((function(t){return e.then((function(){return C(t)?N(t):t}))})):e.then((function(){return t}))}var Ut=!1;function Nt(t){var e;Ut=!0,t&&t.urlRerouteOnly&&(e=t.urlRerouteOnly,tt=e),et&&Ft()}function jt(){return Ut}et&&setTimeout((function(){Ut||console.warn(f(1,!1))}),5e3);var Gt={getRawAppData:function(){return[].concat(xt)},reroute:Ft,NOT_LOADED:p,toLoadPromise:$,toBootstrapPromise:B,unregisterApplication:Et};et&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=Gt)}).call(this,n(20))},function(t,e,n){var r=n(28),i=n(12);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,n){"use strict";var r=n(122),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(102)("wks"),i=n(103),o=n(5).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(5),i=n(1),o=n(29),a=n(23),s=n(37),c=function(t,e,n){var u,l,h,f=t&c.F,d=t&c.G,p=t&c.S,g=t&c.P,m=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]:m&&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):g&&"function"==typeof h?o(Function.call,h):h,g&&((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){(function(t,r){var i;
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Lodash <https://lodash.com/>
|
|
@@ -134,7 +134,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
134
134
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
135
135
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
136
136
|
PERFORMANCE OF THIS SOFTWARE.
|
|
137
|
-
***************************************************************************** */function h(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function f(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}c((r=r.apply(t,e||[])).next())}))}var d,p,g,m=n(2),v=n(61),y=n.n(v),_=n(62),x=n.n(_),b=n(163),w=n.n(b),M=n(64),S=n.n(M),A=n(63),C=n.n(A),E="undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Trident");function T(t,e){if(!t.hasOwnProperty(e)||!isNaN(e)&&e<t.length)return!0;if(!E)return!1;try{return t[e]&&"undefined"!=typeof window&&t[e].parent===window}catch(t){return!0}}function I(t){var e,n=0,r=!1;for(var i in t)if(!T(t,i)){for(var o=0;o<window.frames.length&&!r;o++){if(window.frames[o]===t[i]){r=!0;break}}if(!r&&(0===n&&i!==d||1===n&&i!==p))return i;n++,e=i}if(e!==g)return e}function L(t){for(var e in d=p=void 0,t)T(t,e)||(d?p||(p=e):d=e,g=e);return g}function P(t){var e=t.indexOf(">")+1,n=t.lastIndexOf("<");return t.substring(e,n)}function R(t){if("object"===C()(t))return"/";try{var e=new URL(t.startsWith("//")?"".concat(location.protocol).concat(t):t,location.href),n=e.origin,r=e.pathname.split("/");return r.pop(),"".concat(n).concat(r.join("/"),"/")}catch(t){return console.warn(t),""}}var O=window.requestIdleCallback||function(t){var e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)};function k(t,e){if(!e)return t.text();if(!t.headers)return t.text();var n=t.headers.get("Content-Type");if(!n)return t.text();var r="utf-8",i=n.split(";");if(2===i.length){var o=i[1].split("="),a=S()(o,2)[1],s=a&&a.trim();s&&(r=s)}return"UTF-8"===r.toUpperCase()?t.text():t.blob().then((function(t){return new Promise((function(e,n){var i=new window.FileReader;i.onload=function(){e(i.result)},i.onerror=n,i.readAsText(t,r)}))}))}var B=/(<script[\s\S]*?>)[\s\S]*?<\/script>/gi,F=/<(script)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+((?!type=('|')text\/ng\x2Dtemplate\3)[\s\S])*?>[\s\S]*?<\/\1>/i,D=/.*\ssrc=('|")?([^>'"\s]+)/,U=/.*\stype=('|")?([^>'"\s]+)/,N=/.*\sentry\s*.*/,j=/.*\sasync\s*.*/,G=/.*\snomodule\s*.*/,z=/.*\stype=('|")?module('|")?\s*.*/,H=/<(link)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]*?>/gi,W=/\srel=('|")?(preload|prefetch)\1/,V=/.*\shref=('|")?([^>'"\s]+)/,Z=/.*\sas=('|")?font\1.*/,Q=/<style[^>]*>[\s\S]*?<\/style>/gi,X=/\s+rel=('|")?stylesheet\1.*/,Y=/.*\shref=('|")?([^>'"\s]+)/,J=/<!--([\s\S]*?)-->/g,q=/<link([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+)ignore([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]*|=[\s\S]*)>/i,K=/<style([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+)ignore([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]*|=[\s\S]*)>/i,$=/<script([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+)ignore([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]*|=[\s\S]*)>/i;function tt(t){return t.startsWith("//")||t.startsWith("http://")||t.startsWith("https://")}function et(t,e){return new URL(t,e).toString()}var nt=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"\x3c!-- ".concat(e?"prefetch/preload":""," link ").concat(t," replaced by import-html-entry --\x3e")},rt=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"\x3c!-- ".concat(e?"async":""," script ").concat(t," replaced by import-html-entry --\x3e")},it=function(t){return"\x3c!-- ignore asset ".concat(t||"file"," replaced by import-html-entry --\x3e")},ot=function(t,e){return"\x3c!-- ".concat(e?"nomodule":"module"," script ").concat(t," ignored by import-html-entry --\x3e")};function at(t,e){var n=[],r=[],i=null,o="noModule"in document.createElement("script");return{template:t.replace(J,"").replace(H,(function(t){if(!!t.match(X)){var n=t.match(Y),i=t.match(q);if(n){var o=n&&n[2],a=o;return o&&!tt(o)&&(a=et(o,e)),i?it(a):(r.push(a),nt(a))}}if(t.match(W)&&t.match(V)&&!t.match(Z)){var s=t.match(V),c=S()(s,3)[2];return nt(c,!0)}return t})).replace(Q,(function(t){return K.test(t)?it("style file"):t})).replace(B,(function(t,r){var a,s=r.match($),c=o&&!!r.match(G)||!o&&!!r.match(z),u=r.match(U),l=u&&u[2];if((a=l)&&-1===["text/javascript","module","application/javascript","text/ecmascript","application/ecmascript"].indexOf(a))return t;if(F.test(t)&&r.match(D)){var h=r.match(N),f=r.match(D),d=f&&f[2];if(i&&h)throw new SyntaxError("You should not set multiply entry script!");if(d&&!tt(d)&&(d=et(d,e)),i=i||h&&d,s)return it(d||"js file");if(c)return ot(d||"js file",o);if(d){var p=!!r.match(j);return n.push(p?{async:!0,src:d}:d),rt(d,p)}return t}return s?it("js file"):c?ot("js file",o):(P(t).split(/[\r\n]+/).every((function(t){return!t.trim()||t.trim().startsWith("//")}))||n.push(t),"\x3c!-- inline scripts replaced by import-html-entry --\x3e")})),scripts:n=n.filter((function(t){return!!t})),styles:r,entry:i||n[n.length-1]}}var st={},ct={},ut={};if(!window.fetch)throw new Error('[import-html-entry] Here is no "fetch" on the window env, you need to polyfill it');var lt=window.fetch.bind(window);function ht(t){return t}function ft(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.fetch,i=void 0===r?lt:r,o=t;return gt(e,i).then((function(t){return o=e.reduce((function(e,n,r){return e=e.replace(nt(n),"<style>/* ".concat(n," */").concat(t[r],"</style>"))}),o)}))}var dt=function(t){return t.startsWith("<")};function pt(t,e,n,r){var i=dt(t)?"":"//# sourceURL=".concat(t,"\n");return(0,eval)("window").proxy=n,r?";(function(window, self, globalThis){with(window){;".concat(e,"\n").concat(i,"}}).bind(window.proxy)(window.proxy, window.proxy, window.proxy);"):";(function(window, self, globalThis){;".concat(e,"\n").concat(i,"}).bind(window.proxy)(window.proxy, window.proxy, window.proxy);")}function gt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:lt;return Promise.all(t.map((function(t){return dt(t)?P(t):st[t]||(st[t]=e(t).then((function(t){return t.text()})))})))}function mt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:lt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=function(t){return ct[t]||(ct[t]=e(t).then((function(e){if(e.status>=400)throw n(),new Error("".concat(t," load failed with status ").concat(e.status));return e.text()})))};return Promise.all(t.map((function(t){if("string"==typeof t)return dt(t)?P(t):r(t);var e=t.src;return t.async?{src:e,async:!0,content:new Promise((function(t,n){return O((function(){return r(e).then(t,n)}))}))}:r(e)})))}function vt(t,e){setTimeout((function(){throw console.error(e),t}))}"undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&performance.clearMeasures;function yt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.fetch,o=void 0===i?lt:i,a=r.strictGlobal,s=void 0!==a&&a,c=r.success,u=r.error,l=void 0===u?function(){}:u,h=r.beforeExec,f=void 0===h?function(){}:h,d=r.afterExec,p=void 0===d?function(){}:d;return mt(e,o,l).then((function(r){var i=function(t,e){var r=pt(t,f(e,t)||e,n,s);(0,eval)(r),p(e,t)};function o(a,c){a<e.length&&(!function(e,r,o){if("Evaluating script ".concat(e),"Evaluating Time Consuming: ".concat(e),e===t){L(s?n:window);try{i(e,r),o(n[I(s?n:window)]||{})}catch(t){throw console.error("[import-html-entry]: error occurs while executing entry script ".concat(e)),t}}else if("string"==typeof r)try{i(e,r)}catch(t){vt(t,"[import-html-entry]: error occurs while executing normal script ".concat(e))}else r.async&&(null==r||r.content.then((function(t){return i(r.src,t)})).catch((function(t){vt(t,"[import-html-entry]: error occurs while executing async script ".concat(r.src))})))}(e[a],r[a],c),t||a!==e.length-1?o(a+1,c):c())}return new Promise((function(t){return o(0,c||t)}))}))}function _t(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=lt,r=!1,i=R,o=ht;return"function"==typeof e?n=e:(e.fetch&&("function"==typeof e.fetch?n=e.fetch:(n=e.fetch.fn||lt,r=!!e.fetch.autoDecodeResponse)),i=e.getPublicPath||e.getDomain||R,o=e.getTemplate||ht),ut[t]||(ut[t]=n(t).then((function(t){return k(t,r)})).then((function(e){var r=i(t),a=at(o(e),r),s=a.template,c=a.scripts,u=a.entry,l=a.styles;return ft(s,l,{fetch:n}).then((function(t){return{template:t,assetPublicPath:r,getExternalScripts:function(){return mt(c,n)},getExternalStyleSheets:function(){return gt(l,n)},execScripts:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c.length?yt(u,c,t,{fetch:n,strictGlobal:e,beforeExec:r.beforeExec,afterExec:r.afterExec}):Promise.resolve()}}}))})))}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.fetch,r=void 0===n?lt:n,i=e.getTemplate,o=void 0===i?ht:i,a=e.getPublicPath||e.getDomain||R;if(!t)throw new SyntaxError("entry should not be empty!");if("string"==typeof t)return _t(t,{fetch:r,getPublicPath:a,getTemplate:o});if(Array.isArray(t.scripts)||Array.isArray(t.styles)){var s=t.scripts,c=void 0===s?[]:s,u=t.styles,l=void 0===u?[]:u,h=t.html,f=void 0===h?"":h,d=function(t){return l.reduceRight((function(t,e){return"".concat(nt(e)).concat(t)}),t)},p=function(t){return c.reduce((function(t,e){return"".concat(t).concat(rt(e))}),t)};return ft(o(p(d(f))),l,{fetch:r}).then((function(e){return{template:e,assetPublicPath:a(t),getExternalScripts:function(){return mt(c,r)},getExternalStyleSheets:function(){return gt(l,r)},execScripts:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c.length?yt(c[c.length-1],c,t,{fetch:r,strictGlobal:e,beforeExec:n.beforeExec,afterExec:n.afterExec}):Promise.resolve()}}}))}throw new SyntaxError("entry scripts or styles should be array!")}var bt=window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__;function wt(t,e){return x()({},function(t){return{beforeLoad:function(){return f(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.__POWERED_BY_QIANKUN__=!0;case 1:case"end":return e.stop()}}),e)})))},beforeMount:function(){return f(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.__POWERED_BY_QIANKUN__=!0;case 1:case"end":return e.stop()}}),e)})))},beforeUnmount:function(){return f(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:delete t.__POWERED_BY_QIANKUN__;case 1:case"end":return e.stop()}}),e)})))}}}(t),function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n=!1;return{beforeLoad:function(){return f(this,void 0,void 0,o.a.mark((function n(){return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.__INJECTED_PUBLIC_PATH_BY_QIANKUN__=e;case 1:case"end":return n.stop()}}),n)})))},beforeMount:function(){return f(this,void 0,void 0,o.a.mark((function r(){return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n&&(t.__INJECTED_PUBLIC_PATH_BY_QIANKUN__=e);case 1:case"end":return r.stop()}}),r)})))},beforeUnmount:function(){return f(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:void 0===bt?delete t.__INJECTED_PUBLIC_PATH_BY_QIANKUN__:t.__INJECTED_PUBLIC_PATH_BY_QIANKUN__=bt,n=!0;case 2:case"end":return e.stop()}}),e)})))}}}(t,e),(function(t,e){return y()(null!=t?t:[],null!=e?e:[])}))}function Mt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function St(t,e){return(St=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function At(t){return(At=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ct(){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}}function Et(t,e){if(e&&("object"===C()(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Tt(t,e,n){return(Tt=Ct()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&St(i,n.prototype),i}).apply(null,arguments)}function It(t){var e="function"==typeof Map?new Map:void 0;return(It=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return Tt(t,arguments,At(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),St(r,t)})(t)}var Lt=function(t){!function(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&&St(t,e)}(i,t);var e,n,r=(e=i,n=Ct(),function(){var t,r=At(e);if(n){var i=At(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return Et(this,t)});function i(t){return Mt(this,i),r.call(this,"[qiankun]: ".concat(t))}return i}(It(Error));function Pt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Rt,Ot,kt=n(19),Bt=n.n(kt),Ft={},Dt={};function Ut(t,e){Object.keys(Dt).forEach((function(n){Dt[n]instanceof Function&&Dt[n](Bt()(t),Bt()(e))}))}function Nt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t===Ft)console.warn("[qiankun] state has not changed!");else{var e=Bt()(Ft);Ut(Ft=Bt()(t),e)}return jt("global-".concat(+new Date),!0)}function jt(t,e){return{onGlobalStateChange:function(e,n){if(e instanceof Function){if(Dt[t]&&console.warn("[qiankun] '".concat(t,"' global listener already exists before this, new listener will overwrite it.")),Dt[t]=e,n){var r=Bt()(Ft);e(r,r)}}else console.error("[qiankun] callback must be function!")},setGlobalState:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t===Ft)return console.warn("[qiankun] state has not changed!"),!1;var n=[],r=Bt()(Ft);return Ft=Bt()(Object.keys(t).reduce((function(r,i){return e||r.hasOwnProperty(i)?(n.push(i),Object.assign(r,Pt({},i,t[i]))):(console.warn("[qiankun] '".concat(i,"' not declared when init state!")),r)}),Ft)),0===n.length?(console.warn("[qiankun] state has not changed!"),!1):(Ut(Ft,r),!0)},offGlobalStateChange:function(){return delete Dt[t],!0}}}function Gt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function zt(t,e,n){return e&&Gt(t.prototype,e),n&&Gt(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}!function(t){t.Proxy="Proxy",t.Snapshot="Snapshot",t.LegacyProxy="LegacyProxy"}(Rt||(Rt={})),function(t){t[t.STYLE=1]="STYLE",t[t.MEDIA=4]="MEDIA",t[t.SUPPORTS=12]="SUPPORTS",t[t.IMPORT=3]="IMPORT",t[t.FONT_FACE=5]="FONT_FACE",t[t.PAGE=6]="PAGE",t[t.KEYFRAMES=7]="KEYFRAMES",t[t.KEYFRAME=8]="KEYFRAME"}(Ot||(Ot={}));var Ht,Wt=function(t){return[].slice.call(t,0)},Vt=HTMLBodyElement.prototype.appendChild,Zt=function(){function t(){Mt(this,t);var e=document.createElement("style");Vt.call(document.body,e),this.swapNode=e,this.sheet=e.sheet,this.sheet.disabled=!0}return zt(t,[{key:"process",value:function(e){var n,r=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""!==e.textContent){var o=document.createTextNode(e.textContent||"");this.swapNode.appendChild(o);var a=this.swapNode.sheet,s=Wt(null!==(n=null==a?void 0:a.cssRules)&&void 0!==n?n:[]),c=this.rewrite(s,i);return e.textContent=c,void this.swapNode.removeChild(o)}var u=new MutationObserver((function(n){for(var o,a=0;a<n.length;a+=1){var s=n[a];if(t.ModifiedTag in e)return;if("childList"===s.type){var c=e.sheet,u=Wt(null!==(o=null==c?void 0:c.cssRules)&&void 0!==o?o:[]),l=r.rewrite(u,i);e.textContent=l,e[t.ModifiedTag]=!0}}}));u.observe(e,{childList:!0})}},{key:"rewrite",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r="";return t.forEach((function(t){switch(t.type){case Ot.STYLE:r+=e.ruleStyle(t,n);break;case Ot.MEDIA:r+=e.ruleMedia(t,n);break;case Ot.SUPPORTS:r+=e.ruleSupport(t,n);break;default:r+="".concat(t.cssText)}})),r}},{key:"ruleStyle",value:function(t,e){var n=/((?:[^\w\-.#]|^)(body|html|:root))/gm,r=/(html[^\w{[]+)/gm,i=t.selectorText.trim(),o=t.cssText;if("html"===i||"body"===i||":root"===i)return o.replace(n,e);if(r.test(t.selectorText)){/(html[^\w{]+)(\+|~)/gm.test(t.selectorText)||(o=o.replace(r,""))}return o=o.replace(/^[\s\S]+{/,(function(t){return t.replace(/(^|,\n?)([^,]+)/g,(function(t,r,i){return n.test(t)?t.replace(n,(function(t){return t&&[",","("].includes(t[0])?"".concat(t[0]).concat(e):e})):"".concat(r).concat(e," ").concat(i.replace(/^ */,""))}))}))}},{key:"ruleMedia",value:function(t,e){var n=this.rewrite(Wt(t.cssRules),e);return"@media ".concat(t.conditionText," {").concat(n,"}")}},{key:"ruleSupport",value:function(t,e){var n=this.rewrite(Wt(t.cssRules),e);return"@supports ".concat(t.conditionText," {").concat(n,"}")}}]),t}();Zt.ModifiedTag="Symbol(style-modified-qiankun)";var Qt="data-qiankun",Xt=function(t,e,n){Ht||(Ht=new Zt),"LINK"===e.tagName&&console.warn("Feature: sandbox.experimentalStyleIsolation is not support for link element yet.");if(t){var r=(t.tagName||"").toLowerCase();if(r&&"STYLE"===e.tagName){var i="".concat(r,"[").concat(Qt,'="').concat(n,'"]');Ht.process(e,i)}}},Yt=n(3),Jt=n.n(Yt),qt=HTMLHeadElement.prototype.appendChild,Kt=HTMLHeadElement.prototype.removeChild,$t=HTMLBodyElement.prototype.appendChild,te=HTMLBodyElement.prototype.removeChild,ee=HTMLHeadElement.prototype.insertBefore,ne=HTMLElement.prototype.removeChild;function re(t){return"LINK"===(null==t?void 0:t.toUpperCase())||"STYLE"===(null==t?void 0:t.toUpperCase())||"SCRIPT"===(null==t?void 0:t.toUpperCase())}function ie(t){var e,n;return!t.textContent&&((null===(e=t.sheet)||void 0===e?void 0:e.cssRules.length)||(null===(n=de(t))||void 0===n?void 0:n.length))}function oe(t,e){return Object.defineProperties(t,{srcElement:{get:e},target:{get:e}}),t}function ae(t){var e=oe(new CustomEvent("load"),(function(){return t}));Jt()(t.onload)?t.onload(e):t.dispatchEvent(e)}function se(t){var e=oe(new CustomEvent("error"),(function(){return t}));Jt()(t.onerror)?t.onerror(e):t.dispatchEvent(e)}function ce(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fetch,r=document.createElement("style"),i=t.href;return r.dataset.qiankunHref=i,n(i).then((function(t){return t.text()})).then((function(n){r.appendChild(document.createTextNode(n)),e(r),ae(t)})).catch((function(){return se(t)})),r}var ue=new WeakMap,le=new WeakMap,he=new WeakMap;function fe(t){t.forEach((function(t){t instanceof HTMLStyleElement&&ie(t)&&t.sheet&&ue.set(t,t.sheet.cssRules)}))}function de(t){return ue.get(t)}function pe(t){return function(e){var n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=e,a=t.rawDOMAppendOrInsertBefore,s=t.isInvokedByMicroApp,c=t.containerConfigGetter;if(!re(o.tagName)||!s(o))return a.call(this,o,i);if(o.tagName){var u=c(o),l=u.appName,h=u.appWrapperGetter,f=u.proxy,d=u.strictGlobal,p=u.dynamicStyleSheetElements,g=u.scopedCSS,m=u.excludeAssetFilter;switch(o.tagName){case"LINK":case"STYLE":var v=e,y=v,_=y.href;if(m&&_&&m(_))return a.call(this,o,i);var x=h();if(g){var b="LINK"===(null===(n=o.tagName)||void 0===n?void 0:n.toUpperCase())&&"stylesheet"===o.rel&&o.href;if(b){var w="function"==typeof Dn.fetch?Dn.fetch:null===(r=Dn.fetch)||void 0===r?void 0:r.fn;v=ce(o,(function(t){return Xt(x,t,l)}),w),he.set(o,v)}else Xt(x,v,l)}p.push(v);var M=x.contains(i)?i:null;return a.call(x,v,M);case"SCRIPT":var S=o,A=S.src,C=S.text;if(m&&A&&m(A))return a.call(this,o,i);var E=h(),T=Dn.fetch,I=E.contains(i)?i:null;if(A){yt(null,[A],f,{fetch:T,strictGlobal:d,beforeExec:function(){var t;(!(t=Object.getOwnPropertyDescriptor(document,"currentScript"))||t.configurable)&&Object.defineProperty(document,"currentScript",{get:function(){return o},configurable:!0})},success:function(){ae(o),o=null},error:function(){se(o),o=null}});var L=document.createComment("dynamic script ".concat(A," replaced by qiankun"));return le.set(o,L),a.call(E,L,I)}yt(null,["<script>".concat(C,"<\/script>")],f,{strictGlobal:d});var P=document.createComment("dynamic inline script replaced by qiankun");return le.set(o,P),a.call(E,P,I)}}return a.call(this,o,i)}}function ge(t,e){return function(n){var r=n.tagName;if(!re(r))return t.call(this,n);try{var i;switch(r){case"LINK":i=he.get(n)||n;break;case"SCRIPT":i=le.get(n)||n;break;default:i=n}var o=e(n)();if(o.contains(i))return ne.call(o,i)}catch(t){console.warn(t)}return t.call(this,n)}}function me(t,e){return HTMLHeadElement.prototype.appendChild===qt&&HTMLBodyElement.prototype.appendChild===$t&&HTMLHeadElement.prototype.insertBefore===ee&&(HTMLHeadElement.prototype.appendChild=pe({rawDOMAppendOrInsertBefore:qt,containerConfigGetter:e,isInvokedByMicroApp:t}),HTMLBodyElement.prototype.appendChild=pe({rawDOMAppendOrInsertBefore:$t,containerConfigGetter:e,isInvokedByMicroApp:t}),HTMLHeadElement.prototype.insertBefore=pe({rawDOMAppendOrInsertBefore:ee,containerConfigGetter:e,isInvokedByMicroApp:t})),HTMLHeadElement.prototype.removeChild===Kt&&HTMLBodyElement.prototype.removeChild===te&&(HTMLHeadElement.prototype.removeChild=ge(Kt,(function(t){return e(t).appWrapperGetter})),HTMLBodyElement.prototype.removeChild=ge(te,(function(t){return e(t).appWrapperGetter}))),function(){HTMLHeadElement.prototype.appendChild=qt,HTMLHeadElement.prototype.removeChild=Kt,HTMLBodyElement.prototype.appendChild=$t,HTMLBodyElement.prototype.removeChild=te,HTMLHeadElement.prototype.insertBefore=ee}}function ve(t,e){t.forEach((function(t){if(e(t)&&t instanceof HTMLStyleElement&&ie(t)){var n=de(t);if(n)for(var r=0;r<n.length;r++){var i=n[r],o=t.sheet;o.insertRule(i.cssText,o.cssRules.length)}}}))}var ye=0,_e=0;function xe(t,e,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5?arguments[5]:void 0,a=[],s=me((function(){return Object(m.c)(window.location).some((function(e){return e===t}))}),(function(){return{appName:t,appWrapperGetter:e,proxy:n,strictGlobal:!1,scopedCSS:i,dynamicStyleSheetElements:a,excludeAssetFilter:o}}));return r||ye++,r&&_e++,function(){return r||0===ye||ye--,r&&_e--,0===_e&&0===ye&&s(),fe(a),function(){ve(a,(function(t){var n=e();return!n.contains(t)&&(document.head.appendChild.call(n,t),!0)})),r&&(a=[])}}}var be=n(161),we=n.n(be),Me=n(162),Se=n.n(Me);function Ae(t){return Array.isArray(t)?t:[t]}var Ce="function"==typeof window.Zone?setTimeout:function(t){return Promise.resolve().then(t)},Ee=!1;var Te=new WeakMap;var Ie="function"==typeof document.all&&void 0===document.all,Le=new WeakMap,Pe=new WeakMap;function Re(t){return function(e){return'<div id="'.concat(Oe(t),'" data-name="').concat(t,'" data-version="').concat("2.6.3",'">').concat(e,"</div>")}}function Oe(t){return"__qiankun_microapp_wrapper_for_".concat(Se()(t),"__")}var ke=new Function("return this")(),Be=we()((function(){return ke.hasOwnProperty("__app_instance_name_map__")||Object.defineProperty(ke,"__app_instance_name_map__",{enumerable:!1,configurable:!0,writable:!0,value:{}}),ke.__app_instance_name_map__})),Fe=function(t){var e=Be();return t in e?(e[t]++,"".concat(t,"_").concat(e[t])):(ke.__app_instance_name_map__[t]=0,t)};function De(t){var e=null!=t?t:{},n=e.bootstrap,r=e.mount,i=e.unmount;return Jt()(n)&&Jt()(r)&&Jt()(i)}var Ue=function t(){var e=this;Mt(this,t),this.promise=new Promise((function(t,n){e.resolve=t,e.reject=n}))};"undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures&&performance.getEntriesByName;function Ne(t){return"object"===l(t)&&(!t.strictStyleIsolation&&!!t.experimentalStyleIsolation)}function je(t){return"string"==typeof t?document.querySelector(t):t}var Ge=null;function ze(){return Ge}function He(t){Ge=t}var We=new WeakMap;function Ve(t,e){if(function(t){if(Le.has(t))return!0;var e=Ie?"function"==typeof t&&void 0!==t:"function"==typeof t;return e&&Le.set(t,e),e}(e)&&!function(t){if(Pe.has(t))return Pe.get(t);var e=0===t.name.indexOf("bound ")&&!t.hasOwnProperty("prototype");return Pe.set(t,e),e}(e)&&!function(t){var e=t.prototype&&t.prototype.constructor===t&&Object.getOwnPropertyNames(t.prototype).length>1;if(e)return!0;if(Te.has(t))return Te.get(t);var n=e;if(!n){var r=t.toString();n=/^function\b\s[A-Z].*/.test(r)||/^class\b/.test(r)}return Te.set(t,n),n}(e)){var n=We.get(e);if(n)return n;var r=Function.prototype.bind.call(e,t);for(var i in e)r[i]=e[i];if(e.hasOwnProperty("prototype")&&!r.hasOwnProperty("prototype")&&Object.defineProperty(r,"prototype",{value:e.prototype,enumerable:!1,writable:!0}),"function"==typeof e.toString){var o=e.hasOwnProperty("toString")&&!r.hasOwnProperty("toString"),a=r.toString===Function.prototype.toString;if(o||a){var s=Object.getOwnPropertyDescriptor(o?e:Function.prototype,"toString");Object.defineProperty(r,"toString",Object.assign(Object.assign({},s),(null==s?void 0:s.get)?null:{value:function(){return e.toString()}}))}}return We.set(e,r),r}return e}new WeakMap;Object.defineProperty(ke,"__proxyAttachContainerConfigMap__",{enumerable:!1,writable:!0}),ke.__proxyAttachContainerConfigMap__=ke.__proxyAttachContainerConfigMap__||new WeakMap;var Ze=ke.__proxyAttachContainerConfigMap__,Qe=new WeakMap,Xe=new WeakMap;function Ye(){var t=Xe.get(document.createElement);if(!t){var e=document.createElement;Document.prototype.createElement=function(t,n){var r=e.call(this,t,n);if(re(t)){var i=(ze()||{}).window;if(i){var o=Ze.get(i);o&&Qe.set(r,o)}}return r},document.hasOwnProperty("createElement")&&(document.createElement=Document.prototype.createElement),Xe.set(Document.prototype.createElement,e)}return function(){t&&(Document.prototype.createElement=t,document.createElement=t)}}var Je=0,qe=0;function Ke(t,e,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5?arguments[5]:void 0,a=Ze.get(n);a||(a={appName:t,proxy:n,appWrapperGetter:e,dynamicStyleSheetElements:[],strictGlobal:!0,excludeAssetFilter:o,scopedCSS:i},Ze.set(n,a));var s=a,c=s.dynamicStyleSheetElements,u=Ye(),l=me((function(t){return Qe.has(t)}),(function(t){return Qe.get(t)}));return r||Je++,r&&qe++,function(){return r||0===Je||Je--,r&&qe--,0===qe&&0===Je&&(l(),u()),fe(c),function(){ve(c,(function(t){var n=e();return!n.contains(t)&&(qt.call(n,t),!0)}))}}}var $e=window.setInterval,tn=window.clearInterval;var en=window.addEventListener,nn=window.removeEventListener;function rn(t,e,n,r,i){var o,a,c=[function(){return t=n.proxy,e=[],t.clearInterval=function(t){return e=e.filter((function(e){return e!==t})),tn.call(window,t)},t.setInterval=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];var a=$e.apply(void 0,[t,n].concat(i));return e=[].concat(u(e),[a]),a},function(){return e.forEach((function(e){return t.clearInterval(e)})),t.setInterval=$e,t.clearInterval=tn,s.a};var t,e},function(){return t=n.proxy,e=new Map,t.addEventListener=function(t,n,r){var i=e.get(t)||[];return e.set(t,[].concat(u(i),[n])),en.call(window,t,n,r)},t.removeEventListener=function(t,n,r){var i=e.get(t);return i&&i.length&&-1!==i.indexOf(n)&&i.splice(i.indexOf(n),1),nn.call(window,t,n,r)},function(){return e.forEach((function(e,n){return u(e).forEach((function(e){return t.removeEventListener(n,e)}))})),t.addEventListener=en,t.removeEventListener=nn,s.a};var t,e},function(){return t=function(t){return s.a},e=[],n=[],window.g_history&&Jt()(window.g_history.listen)&&(t=window.g_history.listen.bind(window.g_history),window.g_history.listen=function(r){e.push(r);var i=t(r);return n.push(i),function(){i(),n.splice(n.indexOf(i),1),e.splice(e.indexOf(r),1)}}),function(){var r=s.a;return e.length&&(r=function(){e.forEach((function(t){return window.g_history.listen(t)}))}),n.forEach((function(t){return t()})),window.g_history&&Jt()(window.g_history.listen)&&(window.g_history.listen=t),r};var t,e,n}];return null===(a=(Pt(o={},Rt.LegacyProxy,[].concat(c,[function(){return xe(t,e,n.proxy,!0,r,i)}])),Pt(o,Rt.Proxy,[].concat(c,[function(){return Ke(t,e,n.proxy,!0,r,i)}])),Pt(o,Rt.Snapshot,[].concat(c,[function(){return xe(t,e,n.proxy,!0,r,i)}])),o)[n.type])||void 0===a?void 0:a.map((function(t){return t()}))}var on=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;Mt(this,t),this.addedPropsMapInSandbox=new Map,this.modifiedPropsOriginalValueMapInSandbox=new Map,this.currentUpdatedPropsValueMap=new Map,this.sandboxRunning=!0,this.latestSetProp=null,this.name=e,this.globalContext=r,this.type=Rt.LegacyProxy;var i=this.addedPropsMapInSandbox,o=this.modifiedPropsOriginalValueMapInSandbox,a=this.currentUpdatedPropsValueMap,s=r,c=Object.create(null),u=function(t,e,r){var c=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return!n.sandboxRunning||(s.hasOwnProperty(t)?o.has(t)||o.set(t,r):i.set(t,e),a.set(t,e),c&&(s[t]=e),n.latestSetProp=t,!0)},l=new Proxy(c,{set:function(t,e,n){var r=s[e];return u(e,n,r,!0)},get:function(t,e){if("top"===e||"parent"===e||"window"===e||"self"===e)return l;var n=s[e];return Ve(s,n)},has:function(t,e){return e in s},getOwnPropertyDescriptor:function(t,e){var n=Object.getOwnPropertyDescriptor(s,e);return n&&!n.configurable&&(n.configurable=!0),n},defineProperty:function(t,e,n){var r=s[e],i=Reflect.defineProperty(s,e,n),o=s[e];return u(e,o,r,!1),i}});this.proxy=l}return zt(t,[{key:"setWindowProp",value:function(t,e,n){void 0===e&&n?delete this.globalContext[t]:function(t,e){var n=Object.getOwnPropertyDescriptor(t,e);return!n||n.configurable}(this.globalContext,t)&&"symbol"!==l(t)&&(Object.defineProperty(this.globalContext,t,{writable:!0,configurable:!0}),this.globalContext[t]=e)}},{key:"active",value:function(){var t=this;this.sandboxRunning||this.currentUpdatedPropsValueMap.forEach((function(e,n){return t.setWindowProp(n,e)})),this.sandboxRunning=!0}},{key:"inactive",value:function(){var t=this;this.modifiedPropsOriginalValueMapInSandbox.forEach((function(e,n){return t.setWindowProp(n,e)})),this.addedPropsMapInSandbox.forEach((function(e,n){return t.setWindowProp(n,void 0,!0)})),this.sandboxRunning=!1}}]),t}();function an(t){return t.filter((function(t){return!(t in this)&&(this[t]=!0)}),Object.create(null))}var sn=Object.defineProperty,cn=window.__QIANKUN_DEVELOPMENT__?["__REACT_ERROR_OVERLAY_GLOBAL_HOOK__"]:[],un=["System","__cjsWrapper"].concat(cn),ln={undefined:!0,Array:!0,Object:!0,String:!0,Boolean:!0,Math:!0,Number:!0,Symbol:!0,parseFloat:!0,Float32Array:!0,isNaN:!0,Infinity:!0,Reflect:!0,Float64Array:!0,Function:!0,Map:!0,NaN:!0,Promise:!0,Proxy:!0,Set:!0,parseInt:!0,requestAnimationFrame:!0},hn=new Map([["fetch",!0],["mockDomAPIInBlackList",!1]]);function fn(t){var e=new Map,n={};return Object.getOwnPropertyNames(t).filter((function(e){var n=Object.getOwnPropertyDescriptor(t,e);return!(null==n?void 0:n.configurable)})).forEach((function(r){var i=Object.getOwnPropertyDescriptor(t,r);if(i){var o=Object.prototype.hasOwnProperty.call(i,"get");"top"!==r&&"parent"!==r&&"self"!==r&&"window"!==r||(i.configurable=!0,o||(i.writable=!0)),o&&e.set(r,!0),sn(n,r,Object.freeze(i))}})),{fakeWindow:n,propertiesWithGetter:e}}var dn=0,pn=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;Mt(this,t),this.updatedValueSet=new Set,this.sandboxRunning=!0,this.latestSetProp=null,this.name=e,this.globalContext=r,this.type=Rt.Proxy;var i=this.updatedValueSet,o=fn(r),a=o.fakeWindow,s=o.propertiesWithGetter,c=new Map,u=function(t){return a.hasOwnProperty(t)||r.hasOwnProperty(t)},l=new Proxy(a,{set:function(t,o,a){if(n.sandboxRunning){if(n.registerRunningApp(e,l),!t.hasOwnProperty(o)&&r.hasOwnProperty(o)){var s=Object.getOwnPropertyDescriptor(r,o),c=s.writable,u=s.configurable,h=s.enumerable;c&&Object.defineProperty(t,o,{configurable:u,enumerable:h,writable:c,value:a})}else t[o]=a;return-1!==un.indexOf(o)&&(r[o]=a),i.add(o),n.latestSetProp=o,!0}return!0},get:function(t,i){if(n.registerRunningApp(e,l),i===Symbol.unscopables)return ln;if("window"===i||"self"===i)return l;if("globalThis"===i)return l;if("top"===i||"parent"===i)return r===r.parent?l:r[i];if("hasOwnProperty"===i)return u;if("document"===i)return document;if("eval"===i)return eval;var o=s.has(i)?r[i]:i in t?t[i]:r[i];return Ve(hn.get(i)?ke:r,o)},has:function(t,e){return e in ln||e in t||e in r},getOwnPropertyDescriptor:function(t,e){if(t.hasOwnProperty(e)){var n=Object.getOwnPropertyDescriptor(t,e);return c.set(e,"target"),n}if(r.hasOwnProperty(e)){var i=Object.getOwnPropertyDescriptor(r,e);return c.set(e,"globalContext"),i&&!i.configurable&&(i.configurable=!0),i}},ownKeys:function(t){return an(Reflect.ownKeys(r).concat(Reflect.ownKeys(t)))},defineProperty:function(t,e,n){switch(c.get(e)){case"globalContext":return Reflect.defineProperty(r,e,n);default:return Reflect.defineProperty(t,e,n)}},deleteProperty:function(t,r){return n.registerRunningApp(e,l),!t.hasOwnProperty(r)||(delete t[r],i.delete(r),!0)},getPrototypeOf:function(){return Reflect.getPrototypeOf(r)}});this.proxy=l,dn++}return zt(t,[{key:"registerRunningApp",value:function(t,e){if(this.sandboxRunning){var n=ze();n&&n.name===t||He({name:t,window:e}),r=function(){He(null)},Ee||(Ee=!0,Ce((function(){r(),Ee=!1})))}var r}},{key:"active",value:function(){this.sandboxRunning||dn++,this.sandboxRunning=!0}},{key:"inactive",value:function(){var t=this;0==--dn&&un.forEach((function(e){t.proxy.hasOwnProperty(e)&&delete t.globalContext[e]})),this.sandboxRunning=!1}}]),t}();function gn(t,e){for(var n in t)(t.hasOwnProperty(n)||"clearInterval"===n)&&e(n)}var mn=function(){function t(e){Mt(this,t),this.sandboxRunning=!0,this.modifyPropsMap={},this.name=e,this.proxy=window,this.type=Rt.Snapshot}return zt(t,[{key:"active",value:function(){var t=this;this.windowSnapshot={},gn(window,(function(e){t.windowSnapshot[e]=window[e]})),Object.keys(this.modifyPropsMap).forEach((function(e){window[e]=t.modifyPropsMap[e]})),this.sandboxRunning=!0}},{key:"inactive",value:function(){var t=this;this.modifyPropsMap={},gn(window,(function(e){window[e]!==t.windowSnapshot[e]&&(t.modifyPropsMap[e]=window[e],window[e]=t.windowSnapshot[e])})),this.sandboxRunning=!1}}]),t}();function vn(t,e,n,r,i,a){var s;s=window.Proxy?r?new on(t,a):new pn(t,a):new mn(t);var c=function(t,e,n,r,i){var o,a;return null===(a=(Pt(o={},Rt.LegacyProxy,[function(){return xe(t,e,n.proxy,!1,r,i)}]),Pt(o,Rt.Proxy,[function(){return Ke(t,e,n.proxy,!1,r,i)}]),Pt(o,Rt.Snapshot,[function(){return xe(t,e,n.proxy,!1,r,i)}]),o)[n.type])||void 0===a?void 0:a.map((function(t){return t()}))}(t,e,s,n,i),l=[],h=[];return{instance:s,mount:function(){return f(this,void 0,void 0,o.a.mark((function r(){var a,u;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:s.active(),a=h.slice(0,c.length),u=h.slice(c.length),a.length&&a.forEach((function(t){return t()})),l=rn(t,e,s,n,i),u.length&&u.forEach((function(t){return t()})),h=[];case 7:case"end":return r.stop()}}),r)})))},unmount:function(){return f(this,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:h=[].concat(u(c),u(l)).map((function(t){return t()})),s.inactive();case 2:case"end":return t.stop()}}),t)})))}}}function yn(t,e){if(!t){if(e)throw new Lt(e);throw new Lt("element not existed!")}}function _n(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;return t.length?t.reduce((function(t,r){return t.then((function(){return r(e,n)}))}),Promise.resolve()):Promise.resolve()}function xn(t,e){return f(this,void 0,void 0,o.a.mark((function n(){return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return","function"==typeof t?t(e):!!t);case 1:case"end":return n.stop()}}),n)})))}var bn=document.head.attachShadow||document.head.createShadowRoot;function wn(t,e,n,i){var o=document.createElement("div");o.innerHTML=t;var a=o.firstChild;if(e)if(bn){var s=a.innerHTML;a.innerHTML="",(a.attachShadow?a.attachShadow({mode:"open"}):a.createShadowRoot()).innerHTML=s}else console.warn("[qiankun]: As current browser not support shadow dom, your strictStyleIsolation configuration will be ignored!");if(n){a.getAttribute(r.QiankunCSSRewriteAttr)||a.setAttribute(r.QiankunCSSRewriteAttr,i);var c=a.querySelectorAll("style")||[];w()(c,(function(t){r.process(a,t,i)}))}return a}function Mn(t,e,n,r,i){return function(){if(e){if(n)throw new Lt("strictStyleIsolation can not be used with legacy render!");if(r)throw new Lt("experimentalStyleIsolation can not be used with legacy render!");var o=document.getElementById(Oe(t));return yn(o,"Wrapper element for ".concat(t," is not existed!")),o}var a=i();return yn(a,"Wrapper element for ".concat(t," is not existed!")),n&&bn?a.shadowRoot:a}}var Sn,An=HTMLElement.prototype.appendChild,Cn=HTMLElement.prototype.removeChild;function En(t,e,n){return function(r,i){var o=r.element,a=r.loading,s=r.container;if(n)return n({loading:a,appContent:o?e:""});var c=je(s);"unmounted"!==i&&yn(c,function(){switch(i){case"loading":case"mounting":return"Target container with ".concat(s," not existed while ").concat(t," ").concat(i,"!");case"mounted":return"Target container with ".concat(s," not existed after ").concat(t," ").concat(i,"!");default:return"Target container with ".concat(s," not existed while ").concat(t," rendering!")}}());if(c&&!c.contains(o)){for(;c.firstChild;)Cn.call(c,c.firstChild);o&&An.call(c,o)}}}function Tn(t,e,n,r){if(De(t))return t;if(r){var i=n[r];if(De(i))return i}var o=n[e];if(De(o))return o;throw new Lt("You need to export lifecycle functions in ".concat(e," entry"))}function In(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return f(this,void 0,void 0,o.a.mark((function i(){var a,s,c,u,d,p,g,m,v,_,b,w,M,S,A,C,E,T,I,L,P,R,O,k,B,F,D,U,N,j,G,z,H,W,V,Z,Q,X,Y,J,q,K,$,tt,et,nt,rt,it,ot,at,st,ct=this;return o.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return a=t.entry,s=t.name,c=Fe(s),"[qiankun] App ".concat(c," Loading"),u=n.singular,d=void 0!==u&&u,p=n.sandbox,g=void 0===p||p,m=n.excludeAssetFilter,v=n.globalContext,_=void 0===v?window:v,b=h(n,["singular","sandbox","excludeAssetFilter","globalContext"]),i.next=7,xt(a,b);case 7:return w=i.sent,M=w.template,S=w.execScripts,A=w.assetPublicPath,i.next=13,xn(d,t);case 13:if(!i.sent){i.next=16;break}return i.next=16,Sn&&Sn.promise;case 16:return C=Re(c)(M),E="object"===l(g)&&!!g.strictStyleIsolation,T=Ne(g),I=wn(C,E,T,c),L="container"in t?t.container:void 0,P="render"in t?t.render:void 0,(R=En(c,C,P))({element:I,loading:!0,container:L},"loading"),O=Mn(c,!!P,E,T,(function(){return I})),k=_,B=function(){return Promise.resolve()},F=function(){return Promise.resolve()},D="object"===l(g)&&!!g.loose,g&&(U=vn(c,O,T,D,m,k),k=U.instance.proxy,B=U.mount,F=U.unmount),N=x()({},wt(k,A),r,(function(t,e){return y()(null!=t?t:[],null!=e?e:[])})),j=N.beforeUnmount,G=void 0===j?[]:j,z=N.afterUnmount,H=void 0===z?[]:z,W=N.afterMount,V=void 0===W?[]:W,Z=N.beforeMount,Q=void 0===Z?[]:Z,X=N.beforeLoad,Y=void 0===X?[]:X,i.next=34,_n(Ae(Y),t,k);case 34:return i.next=36,S(k,g&&!D);case 36:return J=i.sent,q=Tn(J,s,k,null===(e=null==U?void 0:U.instance)||void 0===e?void 0:e.latestSetProp),K=q.bootstrap,$=q.mount,tt=q.unmount,et=q.update,nt=jt(c),rt=nt.onGlobalStateChange,it=nt.setGlobalState,ot=nt.offGlobalStateChange,at=function(t){return I=t},st=function(){var e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L,i={name:c,bootstrap:K,mount:[function(){return f(ct,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:0;case 1:case"end":return t.stop()}}),t)})))},function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xn(d,t);case 2:if(e.t0=e.sent,!e.t0){e.next=5;break}e.t0=Sn;case 5:if(!e.t0){e.next=7;break}return e.abrupt("return",Sn.promise);case 7:return e.abrupt("return",void 0);case 8:case"end":return e.stop()}}),e)})))},function(){return f(ct,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=I,n=Mn(c,!!P,E,T,(function(){return e}));case 2:case"end":return t.stop()}}),t)})))},function(){return f(ct,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:!(r!==L)&&e||(e=wn(C,E,T,c),at(e)),R({element:e,loading:!0,container:r},"mounting");case 3:case"end":return t.stop()}}),t)})))},B,function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",_n(Ae(Q),t,k));case 1:case"end":return e.stop()}}),e)})))},function(t){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",$(Object.assign(Object.assign({},t),{container:n(),setGlobalState:it,onGlobalStateChange:rt})));case 1:case"end":return e.stop()}}),e)})))},function(){return f(ct,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",R({element:e,loading:!1,container:r},"mounted"));case 1:case"end":return t.stop()}}),t)})))},function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",_n(Ae(V),t,k));case 1:case"end":return e.stop()}}),e)})))},function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xn(d,t);case 2:if(!e.sent){e.next=4;break}Sn=new Ue;case 4:case"end":return e.stop()}}),e)})))},function(){return f(ct,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:0;case 1:case"end":return t.stop()}}),t)})))}],unmount:[function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",_n(Ae(G),t,k));case 1:case"end":return e.stop()}}),e)})))},function(t){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",tt(Object.assign(Object.assign({},t),{container:n()})));case 1:case"end":return e.stop()}}),e)})))},F,function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",_n(Ae(H),t,k));case 1:case"end":return e.stop()}}),e)})))},function(){return f(ct,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:R({element:null,loading:!1,container:r},"unmounted"),ot(c),at(e=null);case 4:case"end":return t.stop()}}),t)})))},function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xn(d,t);case 2:if(e.t0=e.sent,!e.t0){e.next=5;break}e.t0=Sn;case 5:if(!e.t0){e.next=7;break}Sn.resolve();case 7:case"end":return e.stop()}}),e)})))}]};return"function"==typeof et&&(i.update=et),i},i.abrupt("return",st);case 42:case"end":return i.stop()}}),i)})))}var Ln=window.requestIdleCallback||function(t){var e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)},Pn=!!navigator.connection&&(navigator.connection.saveData||"wifi"!==navigator.connection.type&&"ethernet"!==navigator.connection.type&&/([23])g/.test(navigator.connection.effectiveType));function Rn(t,e){var n=this;navigator.onLine&&!Pn&&Ln((function(){return f(n,void 0,void 0,o.a.mark((function n(){var r,i,a;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,xt(t,e);case 2:r=n.sent,i=r.getExternalScripts,a=r.getExternalStyleSheets,Ln(a),Ln(i);case 7:case"end":return n.stop()}}),n)})))}))}function On(t,e){window.addEventListener("single-spa:first-mount",(function n(){t.filter((function(t){return Object(m.d)(t.name)===m.a})).forEach((function(t){return Rn(t.entry,e)})),window.removeEventListener("single-spa:first-mount",n)}))}function kn(t,e){t.forEach((function(t){return Rn(t.entry,e)}))}function Bn(t,e,n){var r=this,i=function(e){return t.filter((function(t){return e.includes(t.name)}))};if(Array.isArray(e))On(i(e),n);else if(Jt()(e))f(r,void 0,void 0,o.a.mark((function r(){var a,s,c,u,l;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e(t);case 2:a=r.sent,s=a.criticalAppNames,c=void 0===s?[]:s,u=a.minorAppsName,l=void 0===u?[]:u,kn(i(c),n),On(i(l),n);case 9:case"end":return r.stop()}}),r)})));else switch(e){case!0:On(t,n);break;case"all":kn(t,n)}}var Fn=[],Dn={},Un=!1,Nn=new Ue,jn=function(t){var e=t.sandbox,n=t.singular;return e&&!window.Proxy?(console.warn("[qiankun] Miss window.Proxy, proxySandbox will degenerate into snapshotSandbox"),!1===n&&console.warn("[qiankun] Setting singular as false may cause unexpected behavior while your browser not support window.Proxy"),Object.assign(Object.assign({},t),{sandbox:"object"===l(e)?Object.assign(Object.assign({},e),{loose:!0}):{loose:!0}})):t};function Gn(t,e){var n=this,r=t.filter((function(t){return!Fn.some((function(e){return e.name===t.name}))}));Fn=[].concat(u(Fn),u(r)),r.forEach((function(t){var r=t.name,i=t.activeRule,a=t.loader,c=void 0===a?s.a:a,l=t.props,d=h(t,["name","activeRule","loader","props"]);Object(m.h)({name:r,app:function(){return f(n,void 0,void 0,o.a.mark((function t(){var n,i,a,s=this;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c(!0),t.next=3,Nn.promise;case 3:return t.next=5,In(Object.assign({name:r,props:l},d),Dn,e);case 5:return t.t0=t.sent,n=(0,t.t0)(),i=n.mount,a=h(n,["mount"]),t.abrupt("return",Object.assign({mount:[function(){return f(s,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",c(!0));case 1:case"end":return t.stop()}}),t)})))}].concat(u(Ae(i)),[function(){return f(s,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",c(!1));case 1:case"end":return t.stop()}}),t)})))}])},a));case 10:case"end":return t.stop()}}),t)})))},activeWhen:i,customProps:l})}))}var zn=new Map,Hn=new Map;function Wn(t,e,n){var r,i,a=this,s=t.props,c=t.name,l="container"in t?t.container:void 0,h=function(t){if(t){var e=je(t);if(e)return function(t,e){if(e.body.contains(t)){for(var n,r,i="",o=t;o!==e.documentElement;){for(n=0,r=o;r;)1===r.nodeType&&r.nodeName===o.nodeName&&(n+=1),r=r.previousSibling;i="*[name()='".concat(o.nodeName,"'][").concat(n,"]/").concat(i),o=o.parentNode}return i=(i="/*[name()='".concat(e.documentElement.nodeName,"']/").concat(i)).replace(/\/$/,"")}}(e,document)}}(l),d="".concat(c,"-").concat(h),p=function(t){var e=t;if(l&&h){var n=Hn.get(d);if(null==n?void 0:n.length){var r=[function(){return f(a,void 0,void 0,o.a.mark((function t(){var e,r;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.slice(0,n.indexOf(i)),r=e.filter((function(t){return"LOAD_ERROR"!==t.getStatus()&&"SKIP_BECAUSE_BROKEN"!==t.getStatus()})),t.next=4,Promise.all(r.map((function(t){return t.unmountPromise})));case 4:case"end":return t.stop()}}),t)})))}].concat(u(Ae(e.mount)));e=Object.assign(Object.assign({},t),{mount:r})}}return Object.assign(Object.assign({},e),{bootstrap:function(){return Promise.resolve()}})};if(Un||!1===(null==e?void 0:e.autoStart)||Object(m.j)({urlRerouteOnly:null===(r=Dn.urlRerouteOnly)||void 0===r||r}),i=Object(m.f)((function(){return f(a,void 0,void 0,o.a.mark((function r(){var i,a,s,u,f;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=jn(null!=e?e:Object.assign(Object.assign({},Dn),{singular:!1})),a=i.$$cacheLifecycleByAppName,!l){r.next=21;break}if(!a){r.next=12;break}if(!(s=zn.get(c))){r.next=12;break}return r.t0=p,r.next=9,s;case 9:return r.t1=r.sent,r.t2=(0,r.t1)(l),r.abrupt("return",(0,r.t0)(r.t2));case 12:if(!h){r.next=21;break}if(!(u=zn.get(d))){r.next=21;break}return r.t3=p,r.next=18,u;case 18:return r.t4=r.sent,r.t5=(0,r.t4)(l),r.abrupt("return",(0,r.t3)(r.t5));case 21:return f=In(t,i,n),l&&(a?zn.set(c,f):h&&zn.set(d,f)),r.next=25,f;case 25:return r.t6=r.sent,r.abrupt("return",(0,r.t6)(l));case 27:case"end":return r.stop()}}),r)})))}),Object.assign({domElement:document.createElement("div")},s)),l&&h){var g=Hn.get(d)||[];g.push(i),Hn.set(d,g);var v=function(){var t=g.indexOf(i);g.splice(t,1),i=null};i.unmountPromise.then(v).catch(v)}return i}function Vn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Dn=Object.assign({prefetch:!0,singular:!0,sandbox:!0},t),n=e.prefetch,r=(e.sandbox,e.singular,e.urlRerouteOnly),i=void 0===r||r,o=h(Dn,["prefetch","sandbox","singular","urlRerouteOnly"]);n&&Bn(Fn,n,o),Dn=jn(Dn),Object(m.j)({urlRerouteOnly:i}),Un=!0,Nn.resolve()}function Zn(t){window.addEventListener("error",t),window.addEventListener("unhandledrejection",t)}function Qn(t){window.removeEventListener("error",t),window.removeEventListener("unhandledrejection",t)}function Xn(t){window.addEventListener("single-spa:no-app-change",(function e(){Object(m.e)().length||Object(m.g)(t),window.removeEventListener("single-spa:no-app-change",e)}))}function Yn(t){console.warn("[qiankun] runDefaultMountEffects will be removed in next version, please use setDefaultMountApp instead"),Xn(t)}function Jn(t){window.addEventListener("single-spa:first-mount",(function e(){t(),window.removeEventListener("single-spa:first-mount",e)}))}},function(t,e,n){var r=n(336);t.exports=function(t){return r(2,t)}},function(t,e,n){var r=n(342)((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));t.exports=r},function(t,e,n){var r=n(156),i=n(371),o=n(376),a=n(10);t.exports=function(t,e){return(a(t)?r:i)(t,o(e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GMap=e.AppLayout=e.install=void 0;var r=b(n(100)),i=b(n(42)),o=b(n(43)),a=(n(8),n(176)),s=b(n(177)),c=n(178),u=b(n(185)),l=n(237),h=b(n(120)),f=n(279),d=n(48),p=b(n(280)),g=b(n(121)),m=b(n(323));n(324);var v=n(83),y=b(v),_=n(333),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),this.vueInstance=e,this.basicRouter=s.default,this.initOptions(n)}return(0,o.default)(t,[{key:"initOptions",value:function(t){var e=(0,r.default)(w);this.basicOptions=(0,p.default)((0,d.mergeProps)(w,t),e),this.storeInstance=this.basicOptions.store,this.useInstance(),this.filterInstance(),this.vueConfigPick()}},{key:"getRequestInstance",value:function(){return h.default}},{key:"useInstance",value:function(){this.vueInstance.use(this.basicRouter),this.routerInstance=(0,c.routerInit)(this.basicRouter,this.basicOptions.routerOptions),this.storeInstance.registerModule("user",u.default),(0,l.registerPermission)(this,(0,c.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,d.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:a.version,router:this.routerInstance,store:this.storeInstance,resetRouter:(0,c.pkRouter)(this.basicRouter),request:this.getRequestInstance(),axios:g.default,vueInstance:this.vueInstance,bootstrap:(0,f.noLogin)(this.routerInstance,this.basicOptions.authToken),micro:x.default,microOne:_.microOne,microTwo:_.microTwo,microThree:_.microThree}}}]),t}(),S=function(t){t.use(m.default)};"undefined"!=typeof window&&window.Vue&&S(window.Vue),m.default.install=function(t){t.component(m.default.name,m.default)},e.install=S,e.AppLayout=m.default,e.GMap=v.GMap,e.default=function(t,e){return new M(t,e)}},function(t,e,n){n(166),t.exports=n(1).Object.keys},function(t,e,n){var r=n(35),i=n(36);n(170)("keys",(function(){return function(t){return i(r(t))}}))},function(t,e,n){var r=n(37),i=n(38),o=n(168)(!1),a=n(68)("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(38),i=n(66),o=n(169);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(67),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(7),i=n(1),o=n(41);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(16)&&!n(41)((function(){return 7!=Object.defineProperty(n(70)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(30);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(174),__esModule:!0}},function(t,e,n){n(175);var r=n(1).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(7);r(r.S+r.F*!n(16),"Object",{defineProperty:n(24).f})},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?m(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 g=d(null,{path:"/"});function m(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===g?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],g=p&&p.component;return g?(p.configProps&&w(g,a,p.route,p.configProps),s(g,a,i)):s()}var m=u.matched[h],v=m&&m.components[c];if(!m||!v)return l[c]=null,s();l[c]={component:v},a.registerRouteInstance=function(t,e){var n=m.instances[c];(e&&n!==t||!e&&n===t)&&(m.instances[c]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){m.instances[c]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==m.instances[c]&&(m.instances[c]=t.componentInstance),x(u)};var y=m.props&&m.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=j,E=R,T=function(t,e){return k(R(t,e),e)},I=k,L=N,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],g=n[5],m=n[6],v=n[7];a&&(r.push(a),a="");var y=null!=f&&null!=h&&h!==f,_="+"===m||"*"===m,x="?"===m||"*"===m,b=n[2]||s,w=p||g;r.push({name:d||i++,prefix:f||"",delimiter:b,optional:x,repeat:_,partial:y,asterisk:!!v,pattern:w?F(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 F(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function D(t,e){return t.keys=e,t}function U(t){return t&&t.sensitive?"":"i"}function N(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+"|$)",D(new RegExp("^"+o,U(n)),e)}function j(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 D(t,e)}(t,e):A(t)?function(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(j(t[i],e,n).source);return D(new RegExp("(?:"+r.join("|")+")",U(n)),e)}(t,e,n):function(t,e,n){return N(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),g=o.hash||h.hash;return g&&"#"!==g.charAt(0)&&(g="#"+g),{_normalized:!0,path:d,query:p,hash:g}}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,g=null==h?"router-link-exact-active":h,m=null==this.activeClass?p:this.activeClass,v=null==this.exactActiveClass?g:this.exactActiveClass,_=s.redirectedFrom?d(null,H(s.redirectedFrom),null,n):s;u[v]=y(i,_,this.exactPath),u[m]=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[m],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],g=i[p];if(K(g.regex,s.path,s.params))return c(g,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 g=function(t,e){return M(t,e.parent?e.parent.path:"/",!0)}(l,t);return a({_normalized:!0,path:z(g,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&&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,gt=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 mt(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){mt(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=g,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===g||(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(),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)),g=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,g,(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),g,(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=g,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=gt&&n;r&&this.listeners.push(ot());var i=function(){var n=t.current,i=Bt(t.base);t.current===g&&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){mt(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?mt(e):vt(e)}},e.prototype.getCurrentLocation=function(){return Bt(this.base)},e}(Pt);function Bt(t){var e=window.location.pathname;return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Ft=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)||Dt()}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=gt&&e;n&&this.listeners.push(ot());var r=function(){var e=t.current;Dt()&&t.transitionTo(Ut(),(function(r){n&&at(t.router,r,e,!0),gt||Gt(r.fullPath)}))},i=gt?"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){jt(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?jt(e):Gt(e))},e.prototype.getCurrentLocation=function(){return Ut()},e}(Pt);function Dt(){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 Nt(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function jt(t){gt?mt(Nt(t)):window.location.hash=t}function Gt(t){gt?vt(Nt(t)):window.location.replace(Nt(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&&!gt&&!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 Ft(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 Ft){var r=function(t){n.setupListeners(),function(t){var r=n.current,i=e.options.scrollBehavior;gt&&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!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Ht.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==g&&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.1",Ht.isNavigationFailure=At,Ht.NavigationFailureType=_t,Ht.START_LOCATION=g,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(21)),i=o(n(184));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(180),__esModule:!0}},function(t,e,n){n(181),t.exports=n(1).Object.assign},function(t,e,n){var r=n(7);r(r.S+r.F,"Object",{assign:n(182)})},function(t,e,n){"use strict";var r=n(16),i=n(36),o=n(183),a=n(105),s=n(35),c=n(101),u=Object.assign;t.exports=!u||n(41)((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++]),g=h?i(p).concat(h(p)):i(p),m=g.length,v=0;m>v;)d=g[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=c(n(72)),i=c(n(73)),o=c(n(45)),a=n(13),s=n(27);function c(t){return t&&t.__esModule?t:{default:t}}var u=e.MENU_LIST="menuList",l={namespaced:!0,state:{menu_list:a.localStore.get(u)||[],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,c=this,l=t.commit;return new o.default((n=(0,i.default)(r.default.mark((function t(n,i){var o,h,f,d,p,g,m,v;return r.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,s.getUserInfo)(e);case 2:o=t.sent,h=o.data,f=h.id,d=h.phone,p=h.consumer,g=h.menuList,m=h.userName,g||(i({message:"获取菜单失败,请重新登录"}),a.localStore.clearAll(),window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/oauth/logout?redirect_uri="+window.origin,"_self")),a.localStore.set(u,g),l("SET_MENU_LIST",g),v={userId:f,userName:m,phone:d},a.localStore.set("userMessage",v),a.localStore.set("consumer",p),a.localStore.set("userName",m),a.localStore.set("currentProject",{id:p.id,name:p.name,regionId:p.regionId}),o.data.consumerExtList&&a.localStore.set("consumerExtList",o.data.consumerExtList),n(g);case 14:case"end":return t.stop()}}),t,c)}))),function(t,e){return n.apply(this,arguments)}))},LogOut:function(t){var e=t.commit;a.localStore.clearAll(),e("SET_MENU_LIST",[]),e("SET_ROUTERS",[]),window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/oauth/logout?redirect_uri="+window.origin,"_self")}}};e.default=l},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(187),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=g;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(g(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 g(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=m(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 m(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=m(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=m(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(189),n(46),n(75),n(199),n(207),n(208),t.exports=n(1).Promise},function(t,e){},function(t,e,n){var r=n(67),i=n(65);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(23)},function(t,e,n){"use strict";var r=n(193),i=n(71),o=n(74),a={};n(23)(a,n(6)("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(15),i=n(194),o=n(104),a=n(68)("IE_PROTO"),s=function(){},c=function(){var t,e=n(70)("iframe"),r=o.length;for(e.style.display="none",n(107).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(24),i=n(15),o=n(36);t.exports=n(16)?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(37),i=n(35),o=n(68)("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(197),i=n(198),o=n(25),a=n(38);t.exports=n(106)(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(69),c=n(5),u=n(29),l=n(76),h=n(7),f=n(30),d=n(40),p=n(200),g=n(201),m=n(110),v=n(111).set,y=n(203)(),_=n(78),x=n(112),b=n(204),w=n(113),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(6)("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&&F(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},F=function(t){v.call(c,(function(){var e;T?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},D=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(D,r,1))}catch(t){D.call(r,t)}})):(n._v=t,n._s=1,O(n,!1))}catch(t){D.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(D,this,1))}catch(t){D.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(205)(E.prototype,{then:function(t,e){var n=L(m(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(D,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(74)(E,"Promise"),n(206)("Promise"),a=n(1).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(114)((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;g(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(){g(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(29),i=n(108),o=n(109),a=n(15),s=n(66),c=n(77),u={},l={};(e=t.exports=function(t,e,n,h,f){var d,p,g,m,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((m=e?y(a(p=t[_])[0],p[1]):y(t[_]))===u||m===l)return m}else for(g=v.call(t);!(p=g.next()).done;)if((m=i(g,y,p.value,e))===u||m===l)return m}).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(5),i=n(111).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(39)(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(5).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var r=n(23);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(5),i=n(1),o=n(24),a=n(16),s=n(6)("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(7),i=n(1),o=n(5),a=n(110),s=n(113);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(7),i=n(78),o=n(112);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){t.exports=[n(117),n(210),n(211),n(118),n(119),n(212)]},function(t,e,n){var r=n(26).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(26).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(214),{}}},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(4),i=n(122),o=n(217),a=n(129);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(79));c.Axios=o,c.create=function(t){return s(a(c.defaults,t))},c.Cancel=n(130),c.CancelToken=n(231),c.isCancel=n(128),c.all=function(t){return Promise.all(t)},c.spread=n(232),c.isAxiosError=n(233),t.exports=c,t.exports.default=c},function(t,e,n){"use strict";var r=n(4),i=n(123),o=n(218),a=n(219),s=n(129),c=n(229),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(4);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(4),i=n(220),o=n(128),a=n(79);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(4),i=n(79);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(4);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(127);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(4);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(225),i=n(226);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(4),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(4);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(230),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(130);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";var r=n(235),i=n(236),o=n(132);t.exports={formats:o,parse:i,stringify:r}},function(t,e,n){"use strict";var r=n(131),i=n(132),o=Object.prototype.hasOwnProperty,a={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},s=Array.isArray,c=Array.prototype.push,u=function(t,e){c.apply(t,s(e)?e:[e])},l=Date.prototype.toISOString,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,formatter:i.formatters[i.default],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},f=function t(e,n,i,o,a,c,l,f,d,p,g,m,v){var y=e;if("function"==typeof l?y=l(n,y):y instanceof Date?y=p(y):"comma"===i&&s(y)&&(y=y.join(",")),null===y){if(o)return c&&!m?c(n,h.encoder,v):n;y=""}if("string"==typeof y||"number"==typeof y||"boolean"==typeof y||r.isBuffer(y))return c?[g(m?n:c(n,h.encoder,v))+"="+g(c(y,h.encoder,v))]:[g(n)+"="+g(String(y))];var _,x=[];if(void 0===y)return x;if(s(l))_=l;else{var b=Object.keys(y);_=f?b.sort(f):b}for(var w=0;w<_.length;++w){var M=_[w];a&&null===y[M]||(s(y)?u(x,t(y[M],"function"==typeof i?i(n,M):n,i,o,a,c,l,f,d,p,g,m,v)):u(x,t(y[M],n+(d?"."+M:"["+M+"]"),i,o,a,c,l,f,d,p,g,m,v)))}return x};t.exports=function(t,e){var n,r=t,c=function(t){if(!t)return h;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||h.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=i.default;if(void 0!==t.format){if(!o.call(i.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=i.formatters[n],a=h.filter;return("function"==typeof t.filter||s(t.filter))&&(a=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===t.allowDots?h.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:h.charsetSentinel,delimiter:void 0===t.delimiter?h.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:h.encode,encoder:"function"==typeof t.encoder?t.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:h.encodeValuesOnly,filter:a,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:h.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:h.strictNullHandling}}(e);"function"==typeof c.filter?r=(0,c.filter)("",r):s(c.filter)&&(n=c.filter);var l,d=[];if("object"!=typeof r||null===r)return"";l=e&&e.arrayFormat in a?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var p=a[l];n||(n=Object.keys(r)),c.sort&&n.sort(c.sort);for(var g=0;g<n.length;++g){var m=n[g];c.skipNulls&&null===r[m]||u(d,f(r[m],m,p,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.formatter,c.encodeValuesOnly,c.charset))}var v=d.join(c.delimiter),y=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),v.length>0?y+v:""}},function(t,e,n){"use strict";var r=n(131),i=Object.prototype.hasOwnProperty,o={allowDots:!1,allowPrototypes:!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},a=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},s=function(t,e,n){if(t){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,c=[];if(s){if(!n.plainObjects&&i.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var u=0;null!==(a=o.exec(r))&&u<n.depth;){if(u+=1,!n.plainObjects&&i.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+r.slice(a.index)+"]"),function(t,e,n){for(var r=e,i=t.length-1;i>=0;--i){var o,a=t[i];if("[]"===a&&n.parseArrays)o=[].concat(r);else{o=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(s,10);n.parseArrays||""!==s?!isNaN(c)&&a!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(o=[])[c]=r:o[s]=r:o={0:r}}r=o}return r}(c,e,n)}};t.exports=function(t,e){var n=function(t){if(!t)return o;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 Error("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?o.charset:t.charset;return{allowDots:void 0===t.allowDots?o.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:o.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:o.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:o.comma,decoder:"function"==typeof t.decoder?t.decoder:o.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:o.delimiter,depth:"number"==typeof t.depth?t.depth:o.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:o.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:o.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:o.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof t?function(t,e){var n,s={},c=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,u=e.parameterLimit===1/0?void 0:e.parameterLimit,l=c.split(e.delimiter,u),h=-1,f=e.charset;if(e.charsetSentinel)for(n=0;n<l.length;++n)0===l[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===l[n]?f="utf-8":"utf8=%26%2310003%3B"===l[n]&&(f="iso-8859-1"),h=n,n=l.length);for(n=0;n<l.length;++n)if(n!==h){var d,p,g=l[n],m=g.indexOf("]="),v=-1===m?g.indexOf("="):m+1;-1===v?(d=e.decoder(g,o.decoder,f),p=e.strictNullHandling?null:""):(d=e.decoder(g.slice(0,v),o.decoder,f),p=e.decoder(g.slice(v+1),o.decoder,f)),p&&e.interpretNumericEntities&&"iso-8859-1"===f&&(p=a(p)),p&&e.comma&&p.indexOf(",")>-1&&(p=p.split(",")),i.call(s,d)?s[d]=r.combine(s[d],p):s[d]=p}return s}(t,n):t,u=n.plainObjects?Object.create(null):{},l=Object.keys(c),h=0;h<l.length;++h){var f=l[h],d=s(f,c[f],n);u=r.merge(u,d,n)}return r.compact(u)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerPermission=void 0;var r=f(n(21)),i=f(n(72)),o=f(n(73)),a=n(27),s=n(13),c=f(n(238));n(239);var u=n(8),l=n(241),h=n(48);function f(t){return t&&t.__esModule?t:{default:t}}e.registerPermission=function(t,e){var n,r=t.routerInstance,f=t.storeInstance,p=t.basicOptions;r.beforeEach((n=(0,o.default)(i.default.mark((function t(n,o,g){var m,v,y,_;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c.default.start(),n.meta.title&&(m=s.sessionStore.get("SYS_PROJECT_NAME"),document.title=n.meta.title+(m?"-"+m:"")),!s.localStore.get("access_token")){t.next=15;break}if(!f.state.user.addRouters.length){t.next=8;break}d(n,g),t.next=13;break;case 8:return t.next=10,f.dispatch("user/GetUserInfo",{loadAuth:!0,sysCode:s.sessionStore.get("CLIENT_ID")});case 10:v=t.sent,(0,l.setAsyncRoutes)(r,f,v,e,p),g({path:n.fullPath,replace:!0});case 13:t.next=17;break;case 15:y=(0,h.getUrlParam)("code"),(0,u.isEmpty)(y)?window.open(s.sessionStore.get("IAM_BASE_URL")+"/iam/v1/oauth/oauth/authorize?response_type=code&client_id="+s.sessionStore.get("CLIENT_ID")+"&redirect_uri="+window.origin+"&scope=all&state=hello","_self"):(_={code:y,grantType:"authorization_code",redirectUri:window.origin,sysCode:s.sessionStore.get("CLIENT_ID"),sysSecret:s.sessionStore.get("SYS_SECRET")},(0,a.getToken)(_).then((function(t){if(t.data){var e=t.data,r=e.access_token,i=e.refresh_token;s.localStore.set("access_token",r),s.localStore.set("code",y),s.localStore.set("refresh_token",i),g({path:n.fullPath,replace:!0})}})));case 17:case"end":return t.stop()}}),t,void 0)}))),function(t,e,r){return n.apply(this,arguments)})),r.afterEach((function(t){c.default.done()}))};var d=function(t,e){var n=s.localStore.get("test_project");n?t.query.shopId?e():e({path:t.path,query:(0,r.default)({},t.query,{shopId:n.shopId,noLogin:!0,flag:n.flag})}):e()}},function(t,e,n){var r,i;
|
|
137
|
+
***************************************************************************** */function h(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function f(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}c((r=r.apply(t,e||[])).next())}))}var d,p,g,m=n(2),v=n(61),y=n.n(v),_=n(62),x=n.n(_),b=n(163),w=n.n(b),M=n(64),S=n.n(M),A=n(63),C=n.n(A),E="undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Trident");function T(t,e){if(!t.hasOwnProperty(e)||!isNaN(e)&&e<t.length)return!0;if(!E)return!1;try{return t[e]&&"undefined"!=typeof window&&t[e].parent===window}catch(t){return!0}}function I(t){var e,n=0,r=!1;for(var i in t)if(!T(t,i)){for(var o=0;o<window.frames.length&&!r;o++){if(window.frames[o]===t[i]){r=!0;break}}if(!r&&(0===n&&i!==d||1===n&&i!==p))return i;n++,e=i}if(e!==g)return e}function L(t){for(var e in d=p=void 0,t)T(t,e)||(d?p||(p=e):d=e,g=e);return g}function P(t){var e=t.indexOf(">")+1,n=t.lastIndexOf("<");return t.substring(e,n)}function R(t){if("object"===C()(t))return"/";try{var e=new URL(t.startsWith("//")?"".concat(location.protocol).concat(t):t,location.href),n=e.origin,r=e.pathname.split("/");return r.pop(),"".concat(n).concat(r.join("/"),"/")}catch(t){return console.warn(t),""}}var O=window.requestIdleCallback||function(t){var e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)};function k(t,e){if(!e)return t.text();if(!t.headers)return t.text();var n=t.headers.get("Content-Type");if(!n)return t.text();var r="utf-8",i=n.split(";");if(2===i.length){var o=i[1].split("="),a=S()(o,2)[1],s=a&&a.trim();s&&(r=s)}return"UTF-8"===r.toUpperCase()?t.text():t.blob().then((function(t){return new Promise((function(e,n){var i=new window.FileReader;i.onload=function(){e(i.result)},i.onerror=n,i.readAsText(t,r)}))}))}var B=/(<script[\s\S]*?>)[\s\S]*?<\/script>/gi,F=/<(script)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+((?!type=('|')text\/ng\x2Dtemplate\3)[\s\S])*?>[\s\S]*?<\/\1>/i,D=/.*\ssrc=('|")?([^>'"\s]+)/,U=/.*\stype=('|")?([^>'"\s]+)/,N=/.*\sentry\s*.*/,j=/.*\sasync\s*.*/,G=/.*\snomodule\s*.*/,z=/.*\stype=('|")?module('|")?\s*.*/,H=/<(link)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]*?>/gi,W=/\srel=('|")?(preload|prefetch)\1/,V=/.*\shref=('|")?([^>'"\s]+)/,Z=/.*\sas=('|")?font\1.*/,Q=/<style[^>]*>[\s\S]*?<\/style>/gi,X=/\s+rel=('|")?stylesheet\1.*/,Y=/.*\shref=('|")?([^>'"\s]+)/,J=/<!--([\s\S]*?)-->/g,q=/<link([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+)ignore([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]*|=[\s\S]*)>/i,K=/<style([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+)ignore([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]*|=[\s\S]*)>/i,$=/<script([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+)ignore([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+[\s\S]*|=[\s\S]*)>/i;function tt(t){return t.startsWith("//")||t.startsWith("http://")||t.startsWith("https://")}function et(t,e){return new URL(t,e).toString()}var nt=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"\x3c!-- ".concat(e?"prefetch/preload":""," link ").concat(t," replaced by import-html-entry --\x3e")},rt=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"\x3c!-- ".concat(e?"async":""," script ").concat(t," replaced by import-html-entry --\x3e")},it=function(t){return"\x3c!-- ignore asset ".concat(t||"file"," replaced by import-html-entry --\x3e")},ot=function(t,e){return"\x3c!-- ".concat(e?"nomodule":"module"," script ").concat(t," ignored by import-html-entry --\x3e")};function at(t,e){var n=[],r=[],i=null,o="noModule"in document.createElement("script");return{template:t.replace(J,"").replace(H,(function(t){if(!!t.match(X)){var n=t.match(Y),i=t.match(q);if(n){var o=n&&n[2],a=o;return o&&!tt(o)&&(a=et(o,e)),i?it(a):(r.push(a),nt(a))}}if(t.match(W)&&t.match(V)&&!t.match(Z)){var s=t.match(V),c=S()(s,3)[2];return nt(c,!0)}return t})).replace(Q,(function(t){return K.test(t)?it("style file"):t})).replace(B,(function(t,r){var a,s=r.match($),c=o&&!!r.match(G)||!o&&!!r.match(z),u=r.match(U),l=u&&u[2];if((a=l)&&-1===["text/javascript","module","application/javascript","text/ecmascript","application/ecmascript"].indexOf(a))return t;if(F.test(t)&&r.match(D)){var h=r.match(N),f=r.match(D),d=f&&f[2];if(i&&h)throw new SyntaxError("You should not set multiply entry script!");if(d&&!tt(d)&&(d=et(d,e)),i=i||h&&d,s)return it(d||"js file");if(c)return ot(d||"js file",o);if(d){var p=!!r.match(j);return n.push(p?{async:!0,src:d}:d),rt(d,p)}return t}return s?it("js file"):c?ot("js file",o):(P(t).split(/[\r\n]+/).every((function(t){return!t.trim()||t.trim().startsWith("//")}))||n.push(t),"\x3c!-- inline scripts replaced by import-html-entry --\x3e")})),scripts:n=n.filter((function(t){return!!t})),styles:r,entry:i||n[n.length-1]}}var st={},ct={},ut={};if(!window.fetch)throw new Error('[import-html-entry] Here is no "fetch" on the window env, you need to polyfill it');var lt=window.fetch.bind(window);function ht(t){return t}function ft(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.fetch,i=void 0===r?lt:r,o=t;return gt(e,i).then((function(t){return o=e.reduce((function(e,n,r){return e=e.replace(nt(n),"<style>/* ".concat(n," */").concat(t[r],"</style>"))}),o)}))}var dt=function(t){return t.startsWith("<")};function pt(t,e,n,r){var i=dt(t)?"":"//# sourceURL=".concat(t,"\n");return(0,eval)("window").proxy=n,r?";(function(window, self, globalThis){with(window){;".concat(e,"\n").concat(i,"}}).bind(window.proxy)(window.proxy, window.proxy, window.proxy);"):";(function(window, self, globalThis){;".concat(e,"\n").concat(i,"}).bind(window.proxy)(window.proxy, window.proxy, window.proxy);")}function gt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:lt;return Promise.all(t.map((function(t){return dt(t)?P(t):st[t]||(st[t]=e(t).then((function(t){return t.text()})))})))}function mt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:lt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=function(t){return ct[t]||(ct[t]=e(t).then((function(e){if(e.status>=400)throw n(),new Error("".concat(t," load failed with status ").concat(e.status));return e.text()})))};return Promise.all(t.map((function(t){if("string"==typeof t)return dt(t)?P(t):r(t);var e=t.src;return t.async?{src:e,async:!0,content:new Promise((function(t,n){return O((function(){return r(e).then(t,n)}))}))}:r(e)})))}function vt(t,e){setTimeout((function(){throw console.error(e),t}))}"undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&performance.clearMeasures;function yt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.fetch,o=void 0===i?lt:i,a=r.strictGlobal,s=void 0!==a&&a,c=r.success,u=r.error,l=void 0===u?function(){}:u,h=r.beforeExec,f=void 0===h?function(){}:h,d=r.afterExec,p=void 0===d?function(){}:d;return mt(e,o,l).then((function(r){var i=function(t,e){var r=pt(t,f(e,t)||e,n,s);(0,eval)(r),p(e,t)};function o(a,c){a<e.length&&(!function(e,r,o){if("Evaluating script ".concat(e),"Evaluating Time Consuming: ".concat(e),e===t){L(s?n:window);try{i(e,r),o(n[I(s?n:window)]||{})}catch(t){throw console.error("[import-html-entry]: error occurs while executing entry script ".concat(e)),t}}else if("string"==typeof r)try{i(e,r)}catch(t){vt(t,"[import-html-entry]: error occurs while executing normal script ".concat(e))}else r.async&&(null==r||r.content.then((function(t){return i(r.src,t)})).catch((function(t){vt(t,"[import-html-entry]: error occurs while executing async script ".concat(r.src))})))}(e[a],r[a],c),t||a!==e.length-1?o(a+1,c):c())}return new Promise((function(t){return o(0,c||t)}))}))}function _t(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=lt,r=!1,i=R,o=ht;return"function"==typeof e?n=e:(e.fetch&&("function"==typeof e.fetch?n=e.fetch:(n=e.fetch.fn||lt,r=!!e.fetch.autoDecodeResponse)),i=e.getPublicPath||e.getDomain||R,o=e.getTemplate||ht),ut[t]||(ut[t]=n(t).then((function(t){return k(t,r)})).then((function(e){var r=i(t),a=at(o(e),r),s=a.template,c=a.scripts,u=a.entry,l=a.styles;return ft(s,l,{fetch:n}).then((function(t){return{template:t,assetPublicPath:r,getExternalScripts:function(){return mt(c,n)},getExternalStyleSheets:function(){return gt(l,n)},execScripts:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c.length?yt(u,c,t,{fetch:n,strictGlobal:e,beforeExec:r.beforeExec,afterExec:r.afterExec}):Promise.resolve()}}}))})))}function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.fetch,r=void 0===n?lt:n,i=e.getTemplate,o=void 0===i?ht:i,a=e.getPublicPath||e.getDomain||R;if(!t)throw new SyntaxError("entry should not be empty!");if("string"==typeof t)return _t(t,{fetch:r,getPublicPath:a,getTemplate:o});if(Array.isArray(t.scripts)||Array.isArray(t.styles)){var s=t.scripts,c=void 0===s?[]:s,u=t.styles,l=void 0===u?[]:u,h=t.html,f=void 0===h?"":h,d=function(t){return l.reduceRight((function(t,e){return"".concat(nt(e)).concat(t)}),t)},p=function(t){return c.reduce((function(t,e){return"".concat(t).concat(rt(e))}),t)};return ft(o(p(d(f))),l,{fetch:r}).then((function(e){return{template:e,assetPublicPath:a(t),getExternalScripts:function(){return mt(c,r)},getExternalStyleSheets:function(){return gt(l,r)},execScripts:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c.length?yt(c[c.length-1],c,t,{fetch:r,strictGlobal:e,beforeExec:n.beforeExec,afterExec:n.afterExec}):Promise.resolve()}}}))}throw new SyntaxError("entry scripts or styles should be array!")}var bt=window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__;function wt(t,e){return x()({},function(t){return{beforeLoad:function(){return f(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.__POWERED_BY_QIANKUN__=!0;case 1:case"end":return e.stop()}}),e)})))},beforeMount:function(){return f(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.__POWERED_BY_QIANKUN__=!0;case 1:case"end":return e.stop()}}),e)})))},beforeUnmount:function(){return f(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:delete t.__POWERED_BY_QIANKUN__;case 1:case"end":return e.stop()}}),e)})))}}}(t),function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",n=!1;return{beforeLoad:function(){return f(this,void 0,void 0,o.a.mark((function n(){return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t.__INJECTED_PUBLIC_PATH_BY_QIANKUN__=e;case 1:case"end":return n.stop()}}),n)})))},beforeMount:function(){return f(this,void 0,void 0,o.a.mark((function r(){return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n&&(t.__INJECTED_PUBLIC_PATH_BY_QIANKUN__=e);case 1:case"end":return r.stop()}}),r)})))},beforeUnmount:function(){return f(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:void 0===bt?delete t.__INJECTED_PUBLIC_PATH_BY_QIANKUN__:t.__INJECTED_PUBLIC_PATH_BY_QIANKUN__=bt,n=!0;case 2:case"end":return e.stop()}}),e)})))}}}(t,e),(function(t,e){return y()(null!=t?t:[],null!=e?e:[])}))}function Mt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function St(t,e){return(St=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function At(t){return(At=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ct(){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}}function Et(t,e){if(e&&("object"===C()(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Tt(t,e,n){return(Tt=Ct()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&St(i,n.prototype),i}).apply(null,arguments)}function It(t){var e="function"==typeof Map?new Map:void 0;return(It=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return Tt(t,arguments,At(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),St(r,t)})(t)}var Lt=function(t){!function(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&&St(t,e)}(i,t);var e,n,r=(e=i,n=Ct(),function(){var t,r=At(e);if(n){var i=At(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return Et(this,t)});function i(t){return Mt(this,i),r.call(this,"[qiankun]: ".concat(t))}return i}(It(Error));function Pt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Rt,Ot,kt=n(19),Bt=n.n(kt),Ft={},Dt={};function Ut(t,e){Object.keys(Dt).forEach((function(n){Dt[n]instanceof Function&&Dt[n](Bt()(t),Bt()(e))}))}function Nt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t===Ft)console.warn("[qiankun] state has not changed!");else{var e=Bt()(Ft);Ut(Ft=Bt()(t),e)}return jt("global-".concat(+new Date),!0)}function jt(t,e){return{onGlobalStateChange:function(e,n){if(e instanceof Function){if(Dt[t]&&console.warn("[qiankun] '".concat(t,"' global listener already exists before this, new listener will overwrite it.")),Dt[t]=e,n){var r=Bt()(Ft);e(r,r)}}else console.error("[qiankun] callback must be function!")},setGlobalState:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t===Ft)return console.warn("[qiankun] state has not changed!"),!1;var n=[],r=Bt()(Ft);return Ft=Bt()(Object.keys(t).reduce((function(r,i){return e||r.hasOwnProperty(i)?(n.push(i),Object.assign(r,Pt({},i,t[i]))):(console.warn("[qiankun] '".concat(i,"' not declared when init state!")),r)}),Ft)),0===n.length?(console.warn("[qiankun] state has not changed!"),!1):(Ut(Ft,r),!0)},offGlobalStateChange:function(){return delete Dt[t],!0}}}function Gt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function zt(t,e,n){return e&&Gt(t.prototype,e),n&&Gt(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}!function(t){t.Proxy="Proxy",t.Snapshot="Snapshot",t.LegacyProxy="LegacyProxy"}(Rt||(Rt={})),function(t){t[t.STYLE=1]="STYLE",t[t.MEDIA=4]="MEDIA",t[t.SUPPORTS=12]="SUPPORTS",t[t.IMPORT=3]="IMPORT",t[t.FONT_FACE=5]="FONT_FACE",t[t.PAGE=6]="PAGE",t[t.KEYFRAMES=7]="KEYFRAMES",t[t.KEYFRAME=8]="KEYFRAME"}(Ot||(Ot={}));var Ht,Wt=function(t){return[].slice.call(t,0)},Vt=HTMLBodyElement.prototype.appendChild,Zt=function(){function t(){Mt(this,t);var e=document.createElement("style");Vt.call(document.body,e),this.swapNode=e,this.sheet=e.sheet,this.sheet.disabled=!0}return zt(t,[{key:"process",value:function(e){var n,r=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""!==e.textContent){var o=document.createTextNode(e.textContent||"");this.swapNode.appendChild(o);var a=this.swapNode.sheet,s=Wt(null!==(n=null==a?void 0:a.cssRules)&&void 0!==n?n:[]),c=this.rewrite(s,i);return e.textContent=c,void this.swapNode.removeChild(o)}var u=new MutationObserver((function(n){for(var o,a=0;a<n.length;a+=1){var s=n[a];if(t.ModifiedTag in e)return;if("childList"===s.type){var c=e.sheet,u=Wt(null!==(o=null==c?void 0:c.cssRules)&&void 0!==o?o:[]),l=r.rewrite(u,i);e.textContent=l,e[t.ModifiedTag]=!0}}}));u.observe(e,{childList:!0})}},{key:"rewrite",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r="";return t.forEach((function(t){switch(t.type){case Ot.STYLE:r+=e.ruleStyle(t,n);break;case Ot.MEDIA:r+=e.ruleMedia(t,n);break;case Ot.SUPPORTS:r+=e.ruleSupport(t,n);break;default:r+="".concat(t.cssText)}})),r}},{key:"ruleStyle",value:function(t,e){var n=/((?:[^\w\-.#]|^)(body|html|:root))/gm,r=/(html[^\w{[]+)/gm,i=t.selectorText.trim(),o=t.cssText;if("html"===i||"body"===i||":root"===i)return o.replace(n,e);if(r.test(t.selectorText)){/(html[^\w{]+)(\+|~)/gm.test(t.selectorText)||(o=o.replace(r,""))}return o=o.replace(/^[\s\S]+{/,(function(t){return t.replace(/(^|,\n?)([^,]+)/g,(function(t,r,i){return n.test(t)?t.replace(n,(function(t){return t&&[",","("].includes(t[0])?"".concat(t[0]).concat(e):e})):"".concat(r).concat(e," ").concat(i.replace(/^ */,""))}))}))}},{key:"ruleMedia",value:function(t,e){var n=this.rewrite(Wt(t.cssRules),e);return"@media ".concat(t.conditionText," {").concat(n,"}")}},{key:"ruleSupport",value:function(t,e){var n=this.rewrite(Wt(t.cssRules),e);return"@supports ".concat(t.conditionText," {").concat(n,"}")}}]),t}();Zt.ModifiedTag="Symbol(style-modified-qiankun)";var Qt="data-qiankun",Xt=function(t,e,n){Ht||(Ht=new Zt),"LINK"===e.tagName&&console.warn("Feature: sandbox.experimentalStyleIsolation is not support for link element yet.");if(t){var r=(t.tagName||"").toLowerCase();if(r&&"STYLE"===e.tagName){var i="".concat(r,"[").concat(Qt,'="').concat(n,'"]');Ht.process(e,i)}}},Yt=n(3),Jt=n.n(Yt),qt=HTMLHeadElement.prototype.appendChild,Kt=HTMLHeadElement.prototype.removeChild,$t=HTMLBodyElement.prototype.appendChild,te=HTMLBodyElement.prototype.removeChild,ee=HTMLHeadElement.prototype.insertBefore,ne=HTMLElement.prototype.removeChild;function re(t){return"LINK"===(null==t?void 0:t.toUpperCase())||"STYLE"===(null==t?void 0:t.toUpperCase())||"SCRIPT"===(null==t?void 0:t.toUpperCase())}function ie(t){var e,n;return!t.textContent&&((null===(e=t.sheet)||void 0===e?void 0:e.cssRules.length)||(null===(n=de(t))||void 0===n?void 0:n.length))}function oe(t,e){return Object.defineProperties(t,{srcElement:{get:e},target:{get:e}}),t}function ae(t){var e=oe(new CustomEvent("load"),(function(){return t}));Jt()(t.onload)?t.onload(e):t.dispatchEvent(e)}function se(t){var e=oe(new CustomEvent("error"),(function(){return t}));Jt()(t.onerror)?t.onerror(e):t.dispatchEvent(e)}function ce(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fetch,r=document.createElement("style"),i=t.href;return r.dataset.qiankunHref=i,n(i).then((function(t){return t.text()})).then((function(n){r.appendChild(document.createTextNode(n)),e(r),ae(t)})).catch((function(){return se(t)})),r}var ue=new WeakMap,le=new WeakMap,he=new WeakMap;function fe(t){t.forEach((function(t){t instanceof HTMLStyleElement&&ie(t)&&t.sheet&&ue.set(t,t.sheet.cssRules)}))}function de(t){return ue.get(t)}function pe(t){return function(e){var n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=e,a=t.rawDOMAppendOrInsertBefore,s=t.isInvokedByMicroApp,c=t.containerConfigGetter;if(!re(o.tagName)||!s(o))return a.call(this,o,i);if(o.tagName){var u=c(o),l=u.appName,h=u.appWrapperGetter,f=u.proxy,d=u.strictGlobal,p=u.dynamicStyleSheetElements,g=u.scopedCSS,m=u.excludeAssetFilter;switch(o.tagName){case"LINK":case"STYLE":var v=e,y=v,_=y.href;if(m&&_&&m(_))return a.call(this,o,i);var x=h();if(g){var b="LINK"===(null===(n=o.tagName)||void 0===n?void 0:n.toUpperCase())&&"stylesheet"===o.rel&&o.href;if(b){var w="function"==typeof Dn.fetch?Dn.fetch:null===(r=Dn.fetch)||void 0===r?void 0:r.fn;v=ce(o,(function(t){return Xt(x,t,l)}),w),he.set(o,v)}else Xt(x,v,l)}p.push(v);var M=x.contains(i)?i:null;return a.call(x,v,M);case"SCRIPT":var S=o,A=S.src,C=S.text;if(m&&A&&m(A))return a.call(this,o,i);var E=h(),T=Dn.fetch,I=E.contains(i)?i:null;if(A){yt(null,[A],f,{fetch:T,strictGlobal:d,beforeExec:function(){var t;(!(t=Object.getOwnPropertyDescriptor(document,"currentScript"))||t.configurable)&&Object.defineProperty(document,"currentScript",{get:function(){return o},configurable:!0})},success:function(){ae(o),o=null},error:function(){se(o),o=null}});var L=document.createComment("dynamic script ".concat(A," replaced by qiankun"));return le.set(o,L),a.call(E,L,I)}yt(null,["<script>".concat(C,"<\/script>")],f,{strictGlobal:d});var P=document.createComment("dynamic inline script replaced by qiankun");return le.set(o,P),a.call(E,P,I)}}return a.call(this,o,i)}}function ge(t,e){return function(n){var r=n.tagName;if(!re(r))return t.call(this,n);try{var i;switch(r){case"LINK":i=he.get(n)||n;break;case"SCRIPT":i=le.get(n)||n;break;default:i=n}var o=e(n)();if(o.contains(i))return ne.call(o,i)}catch(t){console.warn(t)}return t.call(this,n)}}function me(t,e){return HTMLHeadElement.prototype.appendChild===qt&&HTMLBodyElement.prototype.appendChild===$t&&HTMLHeadElement.prototype.insertBefore===ee&&(HTMLHeadElement.prototype.appendChild=pe({rawDOMAppendOrInsertBefore:qt,containerConfigGetter:e,isInvokedByMicroApp:t}),HTMLBodyElement.prototype.appendChild=pe({rawDOMAppendOrInsertBefore:$t,containerConfigGetter:e,isInvokedByMicroApp:t}),HTMLHeadElement.prototype.insertBefore=pe({rawDOMAppendOrInsertBefore:ee,containerConfigGetter:e,isInvokedByMicroApp:t})),HTMLHeadElement.prototype.removeChild===Kt&&HTMLBodyElement.prototype.removeChild===te&&(HTMLHeadElement.prototype.removeChild=ge(Kt,(function(t){return e(t).appWrapperGetter})),HTMLBodyElement.prototype.removeChild=ge(te,(function(t){return e(t).appWrapperGetter}))),function(){HTMLHeadElement.prototype.appendChild=qt,HTMLHeadElement.prototype.removeChild=Kt,HTMLBodyElement.prototype.appendChild=$t,HTMLBodyElement.prototype.removeChild=te,HTMLHeadElement.prototype.insertBefore=ee}}function ve(t,e){t.forEach((function(t){if(e(t)&&t instanceof HTMLStyleElement&&ie(t)){var n=de(t);if(n)for(var r=0;r<n.length;r++){var i=n[r],o=t.sheet;o.insertRule(i.cssText,o.cssRules.length)}}}))}var ye=0,_e=0;function xe(t,e,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5?arguments[5]:void 0,a=[],s=me((function(){return Object(m.c)(window.location).some((function(e){return e===t}))}),(function(){return{appName:t,appWrapperGetter:e,proxy:n,strictGlobal:!1,scopedCSS:i,dynamicStyleSheetElements:a,excludeAssetFilter:o}}));return r||ye++,r&&_e++,function(){return r||0===ye||ye--,r&&_e--,0===_e&&0===ye&&s(),fe(a),function(){ve(a,(function(t){var n=e();return!n.contains(t)&&(document.head.appendChild.call(n,t),!0)})),r&&(a=[])}}}var be=n(161),we=n.n(be),Me=n(162),Se=n.n(Me);function Ae(t){return Array.isArray(t)?t:[t]}var Ce="function"==typeof window.Zone?setTimeout:function(t){return Promise.resolve().then(t)},Ee=!1;var Te=new WeakMap;var Ie="function"==typeof document.all&&void 0===document.all,Le=new WeakMap,Pe=new WeakMap;function Re(t){return function(e){return'<div id="'.concat(Oe(t),'" data-name="').concat(t,'" data-version="').concat("2.6.3",'">').concat(e,"</div>")}}function Oe(t){return"__qiankun_microapp_wrapper_for_".concat(Se()(t),"__")}var ke=new Function("return this")(),Be=we()((function(){return ke.hasOwnProperty("__app_instance_name_map__")||Object.defineProperty(ke,"__app_instance_name_map__",{enumerable:!1,configurable:!0,writable:!0,value:{}}),ke.__app_instance_name_map__})),Fe=function(t){var e=Be();return t in e?(e[t]++,"".concat(t,"_").concat(e[t])):(ke.__app_instance_name_map__[t]=0,t)};function De(t){var e=null!=t?t:{},n=e.bootstrap,r=e.mount,i=e.unmount;return Jt()(n)&&Jt()(r)&&Jt()(i)}var Ue=function t(){var e=this;Mt(this,t),this.promise=new Promise((function(t,n){e.resolve=t,e.reject=n}))};"undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures&&performance.getEntriesByName;function Ne(t){return"object"===l(t)&&(!t.strictStyleIsolation&&!!t.experimentalStyleIsolation)}function je(t){return"string"==typeof t?document.querySelector(t):t}var Ge=null;function ze(){return Ge}function He(t){Ge=t}var We=new WeakMap;function Ve(t,e){if(function(t){if(Le.has(t))return!0;var e=Ie?"function"==typeof t&&void 0!==t:"function"==typeof t;return e&&Le.set(t,e),e}(e)&&!function(t){if(Pe.has(t))return Pe.get(t);var e=0===t.name.indexOf("bound ")&&!t.hasOwnProperty("prototype");return Pe.set(t,e),e}(e)&&!function(t){var e=t.prototype&&t.prototype.constructor===t&&Object.getOwnPropertyNames(t.prototype).length>1;if(e)return!0;if(Te.has(t))return Te.get(t);var n=e;if(!n){var r=t.toString();n=/^function\b\s[A-Z].*/.test(r)||/^class\b/.test(r)}return Te.set(t,n),n}(e)){var n=We.get(e);if(n)return n;var r=Function.prototype.bind.call(e,t);for(var i in e)r[i]=e[i];if(e.hasOwnProperty("prototype")&&!r.hasOwnProperty("prototype")&&Object.defineProperty(r,"prototype",{value:e.prototype,enumerable:!1,writable:!0}),"function"==typeof e.toString){var o=e.hasOwnProperty("toString")&&!r.hasOwnProperty("toString"),a=r.toString===Function.prototype.toString;if(o||a){var s=Object.getOwnPropertyDescriptor(o?e:Function.prototype,"toString");Object.defineProperty(r,"toString",Object.assign(Object.assign({},s),(null==s?void 0:s.get)?null:{value:function(){return e.toString()}}))}}return We.set(e,r),r}return e}new WeakMap;Object.defineProperty(ke,"__proxyAttachContainerConfigMap__",{enumerable:!1,writable:!0}),ke.__proxyAttachContainerConfigMap__=ke.__proxyAttachContainerConfigMap__||new WeakMap;var Ze=ke.__proxyAttachContainerConfigMap__,Qe=new WeakMap,Xe=new WeakMap;function Ye(){var t=Xe.get(document.createElement);if(!t){var e=document.createElement;Document.prototype.createElement=function(t,n){var r=e.call(this,t,n);if(re(t)){var i=(ze()||{}).window;if(i){var o=Ze.get(i);o&&Qe.set(r,o)}}return r},document.hasOwnProperty("createElement")&&(document.createElement=Document.prototype.createElement),Xe.set(Document.prototype.createElement,e)}return function(){t&&(Document.prototype.createElement=t,document.createElement=t)}}var Je=0,qe=0;function Ke(t,e,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5?arguments[5]:void 0,a=Ze.get(n);a||(a={appName:t,proxy:n,appWrapperGetter:e,dynamicStyleSheetElements:[],strictGlobal:!0,excludeAssetFilter:o,scopedCSS:i},Ze.set(n,a));var s=a,c=s.dynamicStyleSheetElements,u=Ye(),l=me((function(t){return Qe.has(t)}),(function(t){return Qe.get(t)}));return r||Je++,r&&qe++,function(){return r||0===Je||Je--,r&&qe--,0===qe&&0===Je&&(l(),u()),fe(c),function(){ve(c,(function(t){var n=e();return!n.contains(t)&&(qt.call(n,t),!0)}))}}}var $e=window.setInterval,tn=window.clearInterval;var en=window.addEventListener,nn=window.removeEventListener;function rn(t,e,n,r,i){var o,a,c=[function(){return t=n.proxy,e=[],t.clearInterval=function(t){return e=e.filter((function(e){return e!==t})),tn.call(window,t)},t.setInterval=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];var a=$e.apply(void 0,[t,n].concat(i));return e=[].concat(u(e),[a]),a},function(){return e.forEach((function(e){return t.clearInterval(e)})),t.setInterval=$e,t.clearInterval=tn,s.a};var t,e},function(){return t=n.proxy,e=new Map,t.addEventListener=function(t,n,r){var i=e.get(t)||[];return e.set(t,[].concat(u(i),[n])),en.call(window,t,n,r)},t.removeEventListener=function(t,n,r){var i=e.get(t);return i&&i.length&&-1!==i.indexOf(n)&&i.splice(i.indexOf(n),1),nn.call(window,t,n,r)},function(){return e.forEach((function(e,n){return u(e).forEach((function(e){return t.removeEventListener(n,e)}))})),t.addEventListener=en,t.removeEventListener=nn,s.a};var t,e},function(){return t=function(t){return s.a},e=[],n=[],window.g_history&&Jt()(window.g_history.listen)&&(t=window.g_history.listen.bind(window.g_history),window.g_history.listen=function(r){e.push(r);var i=t(r);return n.push(i),function(){i(),n.splice(n.indexOf(i),1),e.splice(e.indexOf(r),1)}}),function(){var r=s.a;return e.length&&(r=function(){e.forEach((function(t){return window.g_history.listen(t)}))}),n.forEach((function(t){return t()})),window.g_history&&Jt()(window.g_history.listen)&&(window.g_history.listen=t),r};var t,e,n}];return null===(a=(Pt(o={},Rt.LegacyProxy,[].concat(c,[function(){return xe(t,e,n.proxy,!0,r,i)}])),Pt(o,Rt.Proxy,[].concat(c,[function(){return Ke(t,e,n.proxy,!0,r,i)}])),Pt(o,Rt.Snapshot,[].concat(c,[function(){return xe(t,e,n.proxy,!0,r,i)}])),o)[n.type])||void 0===a?void 0:a.map((function(t){return t()}))}var on=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;Mt(this,t),this.addedPropsMapInSandbox=new Map,this.modifiedPropsOriginalValueMapInSandbox=new Map,this.currentUpdatedPropsValueMap=new Map,this.sandboxRunning=!0,this.latestSetProp=null,this.name=e,this.globalContext=r,this.type=Rt.LegacyProxy;var i=this.addedPropsMapInSandbox,o=this.modifiedPropsOriginalValueMapInSandbox,a=this.currentUpdatedPropsValueMap,s=r,c=Object.create(null),u=function(t,e,r){var c=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return!n.sandboxRunning||(s.hasOwnProperty(t)?o.has(t)||o.set(t,r):i.set(t,e),a.set(t,e),c&&(s[t]=e),n.latestSetProp=t,!0)},l=new Proxy(c,{set:function(t,e,n){var r=s[e];return u(e,n,r,!0)},get:function(t,e){if("top"===e||"parent"===e||"window"===e||"self"===e)return l;var n=s[e];return Ve(s,n)},has:function(t,e){return e in s},getOwnPropertyDescriptor:function(t,e){var n=Object.getOwnPropertyDescriptor(s,e);return n&&!n.configurable&&(n.configurable=!0),n},defineProperty:function(t,e,n){var r=s[e],i=Reflect.defineProperty(s,e,n),o=s[e];return u(e,o,r,!1),i}});this.proxy=l}return zt(t,[{key:"setWindowProp",value:function(t,e,n){void 0===e&&n?delete this.globalContext[t]:function(t,e){var n=Object.getOwnPropertyDescriptor(t,e);return!n||n.configurable}(this.globalContext,t)&&"symbol"!==l(t)&&(Object.defineProperty(this.globalContext,t,{writable:!0,configurable:!0}),this.globalContext[t]=e)}},{key:"active",value:function(){var t=this;this.sandboxRunning||this.currentUpdatedPropsValueMap.forEach((function(e,n){return t.setWindowProp(n,e)})),this.sandboxRunning=!0}},{key:"inactive",value:function(){var t=this;this.modifiedPropsOriginalValueMapInSandbox.forEach((function(e,n){return t.setWindowProp(n,e)})),this.addedPropsMapInSandbox.forEach((function(e,n){return t.setWindowProp(n,void 0,!0)})),this.sandboxRunning=!1}}]),t}();function an(t){return t.filter((function(t){return!(t in this)&&(this[t]=!0)}),Object.create(null))}var sn=Object.defineProperty,cn=window.__QIANKUN_DEVELOPMENT__?["__REACT_ERROR_OVERLAY_GLOBAL_HOOK__"]:[],un=["System","__cjsWrapper"].concat(cn),ln={undefined:!0,Array:!0,Object:!0,String:!0,Boolean:!0,Math:!0,Number:!0,Symbol:!0,parseFloat:!0,Float32Array:!0,isNaN:!0,Infinity:!0,Reflect:!0,Float64Array:!0,Function:!0,Map:!0,NaN:!0,Promise:!0,Proxy:!0,Set:!0,parseInt:!0,requestAnimationFrame:!0},hn=new Map([["fetch",!0],["mockDomAPIInBlackList",!1]]);function fn(t){var e=new Map,n={};return Object.getOwnPropertyNames(t).filter((function(e){var n=Object.getOwnPropertyDescriptor(t,e);return!(null==n?void 0:n.configurable)})).forEach((function(r){var i=Object.getOwnPropertyDescriptor(t,r);if(i){var o=Object.prototype.hasOwnProperty.call(i,"get");"top"!==r&&"parent"!==r&&"self"!==r&&"window"!==r||(i.configurable=!0,o||(i.writable=!0)),o&&e.set(r,!0),sn(n,r,Object.freeze(i))}})),{fakeWindow:n,propertiesWithGetter:e}}var dn=0,pn=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;Mt(this,t),this.updatedValueSet=new Set,this.sandboxRunning=!0,this.latestSetProp=null,this.name=e,this.globalContext=r,this.type=Rt.Proxy;var i=this.updatedValueSet,o=fn(r),a=o.fakeWindow,s=o.propertiesWithGetter,c=new Map,u=function(t){return a.hasOwnProperty(t)||r.hasOwnProperty(t)},l=new Proxy(a,{set:function(t,o,a){if(n.sandboxRunning){if(n.registerRunningApp(e,l),!t.hasOwnProperty(o)&&r.hasOwnProperty(o)){var s=Object.getOwnPropertyDescriptor(r,o),c=s.writable,u=s.configurable,h=s.enumerable;c&&Object.defineProperty(t,o,{configurable:u,enumerable:h,writable:c,value:a})}else t[o]=a;return-1!==un.indexOf(o)&&(r[o]=a),i.add(o),n.latestSetProp=o,!0}return!0},get:function(t,i){if(n.registerRunningApp(e,l),i===Symbol.unscopables)return ln;if("window"===i||"self"===i)return l;if("globalThis"===i)return l;if("top"===i||"parent"===i)return r===r.parent?l:r[i];if("hasOwnProperty"===i)return u;if("document"===i)return document;if("eval"===i)return eval;var o=s.has(i)?r[i]:i in t?t[i]:r[i];return Ve(hn.get(i)?ke:r,o)},has:function(t,e){return e in ln||e in t||e in r},getOwnPropertyDescriptor:function(t,e){if(t.hasOwnProperty(e)){var n=Object.getOwnPropertyDescriptor(t,e);return c.set(e,"target"),n}if(r.hasOwnProperty(e)){var i=Object.getOwnPropertyDescriptor(r,e);return c.set(e,"globalContext"),i&&!i.configurable&&(i.configurable=!0),i}},ownKeys:function(t){return an(Reflect.ownKeys(r).concat(Reflect.ownKeys(t)))},defineProperty:function(t,e,n){switch(c.get(e)){case"globalContext":return Reflect.defineProperty(r,e,n);default:return Reflect.defineProperty(t,e,n)}},deleteProperty:function(t,r){return n.registerRunningApp(e,l),!t.hasOwnProperty(r)||(delete t[r],i.delete(r),!0)},getPrototypeOf:function(){return Reflect.getPrototypeOf(r)}});this.proxy=l,dn++}return zt(t,[{key:"registerRunningApp",value:function(t,e){if(this.sandboxRunning){var n=ze();n&&n.name===t||He({name:t,window:e}),r=function(){He(null)},Ee||(Ee=!0,Ce((function(){r(),Ee=!1})))}var r}},{key:"active",value:function(){this.sandboxRunning||dn++,this.sandboxRunning=!0}},{key:"inactive",value:function(){var t=this;0==--dn&&un.forEach((function(e){t.proxy.hasOwnProperty(e)&&delete t.globalContext[e]})),this.sandboxRunning=!1}}]),t}();function gn(t,e){for(var n in t)(t.hasOwnProperty(n)||"clearInterval"===n)&&e(n)}var mn=function(){function t(e){Mt(this,t),this.sandboxRunning=!0,this.modifyPropsMap={},this.name=e,this.proxy=window,this.type=Rt.Snapshot}return zt(t,[{key:"active",value:function(){var t=this;this.windowSnapshot={},gn(window,(function(e){t.windowSnapshot[e]=window[e]})),Object.keys(this.modifyPropsMap).forEach((function(e){window[e]=t.modifyPropsMap[e]})),this.sandboxRunning=!0}},{key:"inactive",value:function(){var t=this;this.modifyPropsMap={},gn(window,(function(e){window[e]!==t.windowSnapshot[e]&&(t.modifyPropsMap[e]=window[e],window[e]=t.windowSnapshot[e])})),this.sandboxRunning=!1}}]),t}();function vn(t,e,n,r,i,a){var s;s=window.Proxy?r?new on(t,a):new pn(t,a):new mn(t);var c=function(t,e,n,r,i){var o,a;return null===(a=(Pt(o={},Rt.LegacyProxy,[function(){return xe(t,e,n.proxy,!1,r,i)}]),Pt(o,Rt.Proxy,[function(){return Ke(t,e,n.proxy,!1,r,i)}]),Pt(o,Rt.Snapshot,[function(){return xe(t,e,n.proxy,!1,r,i)}]),o)[n.type])||void 0===a?void 0:a.map((function(t){return t()}))}(t,e,s,n,i),l=[],h=[];return{instance:s,mount:function(){return f(this,void 0,void 0,o.a.mark((function r(){var a,u;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:s.active(),a=h.slice(0,c.length),u=h.slice(c.length),a.length&&a.forEach((function(t){return t()})),l=rn(t,e,s,n,i),u.length&&u.forEach((function(t){return t()})),h=[];case 7:case"end":return r.stop()}}),r)})))},unmount:function(){return f(this,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:h=[].concat(u(c),u(l)).map((function(t){return t()})),s.inactive();case 2:case"end":return t.stop()}}),t)})))}}}function yn(t,e){if(!t){if(e)throw new Lt(e);throw new Lt("element not existed!")}}function _n(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;return t.length?t.reduce((function(t,r){return t.then((function(){return r(e,n)}))}),Promise.resolve()):Promise.resolve()}function xn(t,e){return f(this,void 0,void 0,o.a.mark((function n(){return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return","function"==typeof t?t(e):!!t);case 1:case"end":return n.stop()}}),n)})))}var bn=document.head.attachShadow||document.head.createShadowRoot;function wn(t,e,n,i){var o=document.createElement("div");o.innerHTML=t;var a=o.firstChild;if(e)if(bn){var s=a.innerHTML;a.innerHTML="",(a.attachShadow?a.attachShadow({mode:"open"}):a.createShadowRoot()).innerHTML=s}else console.warn("[qiankun]: As current browser not support shadow dom, your strictStyleIsolation configuration will be ignored!");if(n){a.getAttribute(r.QiankunCSSRewriteAttr)||a.setAttribute(r.QiankunCSSRewriteAttr,i);var c=a.querySelectorAll("style")||[];w()(c,(function(t){r.process(a,t,i)}))}return a}function Mn(t,e,n,r,i){return function(){if(e){if(n)throw new Lt("strictStyleIsolation can not be used with legacy render!");if(r)throw new Lt("experimentalStyleIsolation can not be used with legacy render!");var o=document.getElementById(Oe(t));return yn(o,"Wrapper element for ".concat(t," is not existed!")),o}var a=i();return yn(a,"Wrapper element for ".concat(t," is not existed!")),n&&bn?a.shadowRoot:a}}var Sn,An=HTMLElement.prototype.appendChild,Cn=HTMLElement.prototype.removeChild;function En(t,e,n){return function(r,i){var o=r.element,a=r.loading,s=r.container;if(n)return n({loading:a,appContent:o?e:""});var c=je(s);"unmounted"!==i&&yn(c,function(){switch(i){case"loading":case"mounting":return"Target container with ".concat(s," not existed while ").concat(t," ").concat(i,"!");case"mounted":return"Target container with ".concat(s," not existed after ").concat(t," ").concat(i,"!");default:return"Target container with ".concat(s," not existed while ").concat(t," rendering!")}}());if(c&&!c.contains(o)){for(;c.firstChild;)Cn.call(c,c.firstChild);o&&An.call(c,o)}}}function Tn(t,e,n,r){if(De(t))return t;if(r){var i=n[r];if(De(i))return i}var o=n[e];if(De(o))return o;throw new Lt("You need to export lifecycle functions in ".concat(e," entry"))}function In(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return f(this,void 0,void 0,o.a.mark((function i(){var a,s,c,u,d,p,g,m,v,_,b,w,M,S,A,C,E,T,I,L,P,R,O,k,B,F,D,U,N,j,G,z,H,W,V,Z,Q,X,Y,J,q,K,$,tt,et,nt,rt,it,ot,at,st,ct=this;return o.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return a=t.entry,s=t.name,c=Fe(s),"[qiankun] App ".concat(c," Loading"),u=n.singular,d=void 0!==u&&u,p=n.sandbox,g=void 0===p||p,m=n.excludeAssetFilter,v=n.globalContext,_=void 0===v?window:v,b=h(n,["singular","sandbox","excludeAssetFilter","globalContext"]),i.next=7,xt(a,b);case 7:return w=i.sent,M=w.template,S=w.execScripts,A=w.assetPublicPath,i.next=13,xn(d,t);case 13:if(!i.sent){i.next=16;break}return i.next=16,Sn&&Sn.promise;case 16:return C=Re(c)(M),E="object"===l(g)&&!!g.strictStyleIsolation,T=Ne(g),I=wn(C,E,T,c),L="container"in t?t.container:void 0,P="render"in t?t.render:void 0,(R=En(c,C,P))({element:I,loading:!0,container:L},"loading"),O=Mn(c,!!P,E,T,(function(){return I})),k=_,B=function(){return Promise.resolve()},F=function(){return Promise.resolve()},D="object"===l(g)&&!!g.loose,g&&(U=vn(c,O,T,D,m,k),k=U.instance.proxy,B=U.mount,F=U.unmount),N=x()({},wt(k,A),r,(function(t,e){return y()(null!=t?t:[],null!=e?e:[])})),j=N.beforeUnmount,G=void 0===j?[]:j,z=N.afterUnmount,H=void 0===z?[]:z,W=N.afterMount,V=void 0===W?[]:W,Z=N.beforeMount,Q=void 0===Z?[]:Z,X=N.beforeLoad,Y=void 0===X?[]:X,i.next=34,_n(Ae(Y),t,k);case 34:return i.next=36,S(k,g&&!D);case 36:return J=i.sent,q=Tn(J,s,k,null===(e=null==U?void 0:U.instance)||void 0===e?void 0:e.latestSetProp),K=q.bootstrap,$=q.mount,tt=q.unmount,et=q.update,nt=jt(c),rt=nt.onGlobalStateChange,it=nt.setGlobalState,ot=nt.offGlobalStateChange,at=function(t){return I=t},st=function(){var e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L,i={name:c,bootstrap:K,mount:[function(){return f(ct,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:0;case 1:case"end":return t.stop()}}),t)})))},function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xn(d,t);case 2:if(e.t0=e.sent,!e.t0){e.next=5;break}e.t0=Sn;case 5:if(!e.t0){e.next=7;break}return e.abrupt("return",Sn.promise);case 7:return e.abrupt("return",void 0);case 8:case"end":return e.stop()}}),e)})))},function(){return f(ct,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=I,n=Mn(c,!!P,E,T,(function(){return e}));case 2:case"end":return t.stop()}}),t)})))},function(){return f(ct,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:!(r!==L)&&e||(e=wn(C,E,T,c),at(e)),R({element:e,loading:!0,container:r},"mounting");case 3:case"end":return t.stop()}}),t)})))},B,function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",_n(Ae(Q),t,k));case 1:case"end":return e.stop()}}),e)})))},function(t){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",$(Object.assign(Object.assign({},t),{container:n(),setGlobalState:it,onGlobalStateChange:rt})));case 1:case"end":return e.stop()}}),e)})))},function(){return f(ct,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",R({element:e,loading:!1,container:r},"mounted"));case 1:case"end":return t.stop()}}),t)})))},function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",_n(Ae(V),t,k));case 1:case"end":return e.stop()}}),e)})))},function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xn(d,t);case 2:if(!e.sent){e.next=4;break}Sn=new Ue;case 4:case"end":return e.stop()}}),e)})))},function(){return f(ct,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:0;case 1:case"end":return t.stop()}}),t)})))}],unmount:[function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",_n(Ae(G),t,k));case 1:case"end":return e.stop()}}),e)})))},function(t){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",tt(Object.assign(Object.assign({},t),{container:n()})));case 1:case"end":return e.stop()}}),e)})))},F,function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",_n(Ae(H),t,k));case 1:case"end":return e.stop()}}),e)})))},function(){return f(ct,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:R({element:null,loading:!1,container:r},"unmounted"),ot(c),at(e=null);case 4:case"end":return t.stop()}}),t)})))},function(){return f(ct,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xn(d,t);case 2:if(e.t0=e.sent,!e.t0){e.next=5;break}e.t0=Sn;case 5:if(!e.t0){e.next=7;break}Sn.resolve();case 7:case"end":return e.stop()}}),e)})))}]};return"function"==typeof et&&(i.update=et),i},i.abrupt("return",st);case 42:case"end":return i.stop()}}),i)})))}var Ln=window.requestIdleCallback||function(t){var e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)},Pn=!!navigator.connection&&(navigator.connection.saveData||"wifi"!==navigator.connection.type&&"ethernet"!==navigator.connection.type&&/([23])g/.test(navigator.connection.effectiveType));function Rn(t,e){var n=this;navigator.onLine&&!Pn&&Ln((function(){return f(n,void 0,void 0,o.a.mark((function n(){var r,i,a;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,xt(t,e);case 2:r=n.sent,i=r.getExternalScripts,a=r.getExternalStyleSheets,Ln(a),Ln(i);case 7:case"end":return n.stop()}}),n)})))}))}function On(t,e){window.addEventListener("single-spa:first-mount",(function n(){t.filter((function(t){return Object(m.d)(t.name)===m.a})).forEach((function(t){return Rn(t.entry,e)})),window.removeEventListener("single-spa:first-mount",n)}))}function kn(t,e){t.forEach((function(t){return Rn(t.entry,e)}))}function Bn(t,e,n){var r=this,i=function(e){return t.filter((function(t){return e.includes(t.name)}))};if(Array.isArray(e))On(i(e),n);else if(Jt()(e))f(r,void 0,void 0,o.a.mark((function r(){var a,s,c,u,l;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e(t);case 2:a=r.sent,s=a.criticalAppNames,c=void 0===s?[]:s,u=a.minorAppsName,l=void 0===u?[]:u,kn(i(c),n),On(i(l),n);case 9:case"end":return r.stop()}}),r)})));else switch(e){case!0:On(t,n);break;case"all":kn(t,n)}}var Fn=[],Dn={},Un=!1,Nn=new Ue,jn=function(t){var e=t.sandbox,n=t.singular;return e&&!window.Proxy?(console.warn("[qiankun] Miss window.Proxy, proxySandbox will degenerate into snapshotSandbox"),!1===n&&console.warn("[qiankun] Setting singular as false may cause unexpected behavior while your browser not support window.Proxy"),Object.assign(Object.assign({},t),{sandbox:"object"===l(e)?Object.assign(Object.assign({},e),{loose:!0}):{loose:!0}})):t};function Gn(t,e){var n=this,r=t.filter((function(t){return!Fn.some((function(e){return e.name===t.name}))}));Fn=[].concat(u(Fn),u(r)),r.forEach((function(t){var r=t.name,i=t.activeRule,a=t.loader,c=void 0===a?s.a:a,l=t.props,d=h(t,["name","activeRule","loader","props"]);Object(m.h)({name:r,app:function(){return f(n,void 0,void 0,o.a.mark((function t(){var n,i,a,s=this;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c(!0),t.next=3,Nn.promise;case 3:return t.next=5,In(Object.assign({name:r,props:l},d),Dn,e);case 5:return t.t0=t.sent,n=(0,t.t0)(),i=n.mount,a=h(n,["mount"]),t.abrupt("return",Object.assign({mount:[function(){return f(s,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",c(!0));case 1:case"end":return t.stop()}}),t)})))}].concat(u(Ae(i)),[function(){return f(s,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",c(!1));case 1:case"end":return t.stop()}}),t)})))}])},a));case 10:case"end":return t.stop()}}),t)})))},activeWhen:i,customProps:l})}))}var zn=new Map,Hn=new Map;function Wn(t,e,n){var r,i,a=this,s=t.props,c=t.name,l="container"in t?t.container:void 0,h=function(t){if(t){var e=je(t);if(e)return function(t,e){if(e.body.contains(t)){for(var n,r,i="",o=t;o!==e.documentElement;){for(n=0,r=o;r;)1===r.nodeType&&r.nodeName===o.nodeName&&(n+=1),r=r.previousSibling;i="*[name()='".concat(o.nodeName,"'][").concat(n,"]/").concat(i),o=o.parentNode}return i=(i="/*[name()='".concat(e.documentElement.nodeName,"']/").concat(i)).replace(/\/$/,"")}}(e,document)}}(l),d="".concat(c,"-").concat(h),p=function(t){var e=t;if(l&&h){var n=Hn.get(d);if(null==n?void 0:n.length){var r=[function(){return f(a,void 0,void 0,o.a.mark((function t(){var e,r;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.slice(0,n.indexOf(i)),r=e.filter((function(t){return"LOAD_ERROR"!==t.getStatus()&&"SKIP_BECAUSE_BROKEN"!==t.getStatus()})),t.next=4,Promise.all(r.map((function(t){return t.unmountPromise})));case 4:case"end":return t.stop()}}),t)})))}].concat(u(Ae(e.mount)));e=Object.assign(Object.assign({},t),{mount:r})}}return Object.assign(Object.assign({},e),{bootstrap:function(){return Promise.resolve()}})};if(Un||!1===(null==e?void 0:e.autoStart)||Object(m.j)({urlRerouteOnly:null===(r=Dn.urlRerouteOnly)||void 0===r||r}),i=Object(m.f)((function(){return f(a,void 0,void 0,o.a.mark((function r(){var i,a,s,u,f;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=jn(null!=e?e:Object.assign(Object.assign({},Dn),{singular:!1})),a=i.$$cacheLifecycleByAppName,!l){r.next=21;break}if(!a){r.next=12;break}if(!(s=zn.get(c))){r.next=12;break}return r.t0=p,r.next=9,s;case 9:return r.t1=r.sent,r.t2=(0,r.t1)(l),r.abrupt("return",(0,r.t0)(r.t2));case 12:if(!h){r.next=21;break}if(!(u=zn.get(d))){r.next=21;break}return r.t3=p,r.next=18,u;case 18:return r.t4=r.sent,r.t5=(0,r.t4)(l),r.abrupt("return",(0,r.t3)(r.t5));case 21:return f=In(t,i,n),l&&(a?zn.set(c,f):h&&zn.set(d,f)),r.next=25,f;case 25:return r.t6=r.sent,r.abrupt("return",(0,r.t6)(l));case 27:case"end":return r.stop()}}),r)})))}),Object.assign({domElement:document.createElement("div")},s)),l&&h){var g=Hn.get(d)||[];g.push(i),Hn.set(d,g);var v=function(){var t=g.indexOf(i);g.splice(t,1),i=null};i.unmountPromise.then(v).catch(v)}return i}function Vn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Dn=Object.assign({prefetch:!0,singular:!0,sandbox:!0},t),n=e.prefetch,r=(e.sandbox,e.singular,e.urlRerouteOnly),i=void 0===r||r,o=h(Dn,["prefetch","sandbox","singular","urlRerouteOnly"]);n&&Bn(Fn,n,o),Dn=jn(Dn),Object(m.j)({urlRerouteOnly:i}),Un=!0,Nn.resolve()}function Zn(t){window.addEventListener("error",t),window.addEventListener("unhandledrejection",t)}function Qn(t){window.removeEventListener("error",t),window.removeEventListener("unhandledrejection",t)}function Xn(t){window.addEventListener("single-spa:no-app-change",(function e(){Object(m.e)().length||Object(m.g)(t),window.removeEventListener("single-spa:no-app-change",e)}))}function Yn(t){console.warn("[qiankun] runDefaultMountEffects will be removed in next version, please use setDefaultMountApp instead"),Xn(t)}function Jn(t){window.addEventListener("single-spa:first-mount",(function e(){t(),window.removeEventListener("single-spa:first-mount",e)}))}},function(t,e,n){var r=n(336);t.exports=function(t){return r(2,t)}},function(t,e,n){var r=n(342)((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));t.exports=r},function(t,e,n){var r=n(156),i=n(371),o=n(376),a=n(10);t.exports=function(t,e){return(a(t)?r:i)(t,o(e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.micro=e.microThree=e.microTwo=e.microOne=e.GMap=e.AppLayout=e.install=void 0;var r=b(n(100)),i=b(n(42)),o=b(n(43)),a=(n(8),n(176)),s=b(n(177)),c=n(178),u=b(n(185)),l=n(237),h=b(n(120)),f=n(279),d=n(48),p=b(n(280)),g=b(n(121)),m=b(n(323));n(324);var v=n(83),y=b(v),_=n(333),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),this.vueInstance=e,this.basicRouter=s.default,this.initOptions(n)}return(0,o.default)(t,[{key:"initOptions",value:function(t){var e=(0,r.default)(w);this.basicOptions=(0,p.default)((0,d.mergeProps)(w,t),e),this.storeInstance=this.basicOptions.store,this.useInstance(),this.filterInstance(),this.vueConfigPick()}},{key:"getRequestInstance",value:function(){return h.default}},{key:"useInstance",value:function(){this.vueInstance.use(this.basicRouter),this.routerInstance=(0,c.routerInit)(this.basicRouter,this.basicOptions.routerOptions),this.storeInstance.registerModule("user",u.default),(0,l.registerPermission)(this,(0,c.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,d.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:a.version,router:this.routerInstance,store:this.storeInstance,resetRouter:(0,c.pkRouter)(this.basicRouter),request:this.getRequestInstance(),axios:g.default,vueInstance:this.vueInstance,bootstrap:(0,f.noLogin)(this.routerInstance,this.basicOptions.authToken)}}}]),t}(),S=function(t){t.use(m.default)};"undefined"!=typeof window&&window.Vue&&S(window.Vue),m.default.install=function(t){t.component(m.default.name,m.default)},e.install=S,e.AppLayout=m.default,e.GMap=v.GMap,e.microOne=_.microOne,e.microTwo=_.microTwo,e.microThree=_.microThree,e.micro=x.default,e.default=function(t,e){return new M(t,e)}},function(t,e,n){n(166),t.exports=n(1).Object.keys},function(t,e,n){var r=n(35),i=n(36);n(170)("keys",(function(){return function(t){return i(r(t))}}))},function(t,e,n){var r=n(37),i=n(38),o=n(168)(!1),a=n(68)("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(38),i=n(66),o=n(169);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(67),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(7),i=n(1),o=n(41);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(16)&&!n(41)((function(){return 7!=Object.defineProperty(n(70)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(30);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(174),__esModule:!0}},function(t,e,n){n(175);var r=n(1).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(7);r(r.S+r.F*!n(16),"Object",{defineProperty:n(24).f})},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?m(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 g=d(null,{path:"/"});function m(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===g?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],g=p&&p.component;return g?(p.configProps&&w(g,a,p.route,p.configProps),s(g,a,i)):s()}var m=u.matched[h],v=m&&m.components[c];if(!m||!v)return l[c]=null,s();l[c]={component:v},a.registerRouteInstance=function(t,e){var n=m.instances[c];(e&&n!==t||!e&&n===t)&&(m.instances[c]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){m.instances[c]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==m.instances[c]&&(m.instances[c]=t.componentInstance),x(u)};var y=m.props&&m.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=j,E=R,T=function(t,e){return k(R(t,e),e)},I=k,L=N,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],g=n[5],m=n[6],v=n[7];a&&(r.push(a),a="");var y=null!=f&&null!=h&&h!==f,_="+"===m||"*"===m,x="?"===m||"*"===m,b=n[2]||s,w=p||g;r.push({name:d||i++,prefix:f||"",delimiter:b,optional:x,repeat:_,partial:y,asterisk:!!v,pattern:w?F(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 F(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function D(t,e){return t.keys=e,t}function U(t){return t&&t.sensitive?"":"i"}function N(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+"|$)",D(new RegExp("^"+o,U(n)),e)}function j(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 D(t,e)}(t,e):A(t)?function(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(j(t[i],e,n).source);return D(new RegExp("(?:"+r.join("|")+")",U(n)),e)}(t,e,n):function(t,e,n){return N(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),g=o.hash||h.hash;return g&&"#"!==g.charAt(0)&&(g="#"+g),{_normalized:!0,path:d,query:p,hash:g}}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,g=null==h?"router-link-exact-active":h,m=null==this.activeClass?p:this.activeClass,v=null==this.exactActiveClass?g:this.exactActiveClass,_=s.redirectedFrom?d(null,H(s.redirectedFrom),null,n):s;u[v]=y(i,_,this.exactPath),u[m]=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[m],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],g=i[p];if(K(g.regex,s.path,s.params))return c(g,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 g=function(t,e){return M(t,e.parent?e.parent.path:"/",!0)}(l,t);return a({_normalized:!0,path:z(g,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&&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,gt=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 mt(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){mt(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=g,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===g||(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(),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)),g=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,g,(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),g,(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=g,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=gt&&n;r&&this.listeners.push(ot());var i=function(){var n=t.current,i=Bt(t.base);t.current===g&&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){mt(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?mt(e):vt(e)}},e.prototype.getCurrentLocation=function(){return Bt(this.base)},e}(Pt);function Bt(t){var e=window.location.pathname;return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Ft=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)||Dt()}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=gt&&e;n&&this.listeners.push(ot());var r=function(){var e=t.current;Dt()&&t.transitionTo(Ut(),(function(r){n&&at(t.router,r,e,!0),gt||Gt(r.fullPath)}))},i=gt?"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){jt(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?jt(e):Gt(e))},e.prototype.getCurrentLocation=function(){return Ut()},e}(Pt);function Dt(){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 Nt(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function jt(t){gt?mt(Nt(t)):window.location.hash=t}function Gt(t){gt?vt(Nt(t)):window.location.replace(Nt(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&&!gt&&!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 Ft(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 Ft){var r=function(t){n.setupListeners(),function(t){var r=n.current,i=e.options.scrollBehavior;gt&&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!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Ht.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==g&&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.1",Ht.isNavigationFailure=At,Ht.NavigationFailureType=_t,Ht.START_LOCATION=g,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(21)),i=o(n(184));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(180),__esModule:!0}},function(t,e,n){n(181),t.exports=n(1).Object.assign},function(t,e,n){var r=n(7);r(r.S+r.F,"Object",{assign:n(182)})},function(t,e,n){"use strict";var r=n(16),i=n(36),o=n(183),a=n(105),s=n(35),c=n(101),u=Object.assign;t.exports=!u||n(41)((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++]),g=h?i(p).concat(h(p)):i(p),m=g.length,v=0;m>v;)d=g[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=c(n(72)),i=c(n(73)),o=c(n(45)),a=n(13),s=n(27);function c(t){return t&&t.__esModule?t:{default:t}}var u=e.MENU_LIST="menuList",l={namespaced:!0,state:{menu_list:a.localStore.get(u)||[],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,c=this,l=t.commit;return new o.default((n=(0,i.default)(r.default.mark((function t(n,i){var o,h,f,d,p,g,m,v;return r.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,s.getUserInfo)(e);case 2:o=t.sent,h=o.data,f=h.id,d=h.phone,p=h.consumer,g=h.menuList,m=h.userName,g||(i({message:"获取菜单失败,请重新登录"}),a.localStore.clearAll(),window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/oauth/logout?redirect_uri="+window.origin,"_self")),a.localStore.set(u,g),l("SET_MENU_LIST",g),v={userId:f,userName:m,phone:d},a.localStore.set("userMessage",v),a.localStore.set("consumer",p),a.localStore.set("userName",m),a.localStore.set("currentProject",{id:p.id,name:p.name,regionId:p.regionId}),o.data.consumerExtList&&a.localStore.set("consumerExtList",o.data.consumerExtList),n(g);case 14:case"end":return t.stop()}}),t,c)}))),function(t,e){return n.apply(this,arguments)}))},LogOut:function(t){var e=t.commit;a.localStore.clearAll(),e("SET_MENU_LIST",[]),e("SET_ROUTERS",[]),window.open(sessionStorage.getItem("IAM_BASE_URL")+"/iam/v1/oauth/logout?redirect_uri="+window.origin,"_self")}}};e.default=l},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(187),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=g;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(g(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 g(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=m(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 m(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=m(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=m(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(189),n(46),n(75),n(199),n(207),n(208),t.exports=n(1).Promise},function(t,e){},function(t,e,n){var r=n(67),i=n(65);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(23)},function(t,e,n){"use strict";var r=n(193),i=n(71),o=n(74),a={};n(23)(a,n(6)("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(15),i=n(194),o=n(104),a=n(68)("IE_PROTO"),s=function(){},c=function(){var t,e=n(70)("iframe"),r=o.length;for(e.style.display="none",n(107).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(24),i=n(15),o=n(36);t.exports=n(16)?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(37),i=n(35),o=n(68)("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(197),i=n(198),o=n(25),a=n(38);t.exports=n(106)(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(69),c=n(5),u=n(29),l=n(76),h=n(7),f=n(30),d=n(40),p=n(200),g=n(201),m=n(110),v=n(111).set,y=n(203)(),_=n(78),x=n(112),b=n(204),w=n(113),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(6)("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&&F(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},F=function(t){v.call(c,(function(){var e;T?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},D=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(D,r,1))}catch(t){D.call(r,t)}})):(n._v=t,n._s=1,O(n,!1))}catch(t){D.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(D,this,1))}catch(t){D.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(205)(E.prototype,{then:function(t,e){var n=L(m(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(D,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(74)(E,"Promise"),n(206)("Promise"),a=n(1).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(114)((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;g(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(){g(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(29),i=n(108),o=n(109),a=n(15),s=n(66),c=n(77),u={},l={};(e=t.exports=function(t,e,n,h,f){var d,p,g,m,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((m=e?y(a(p=t[_])[0],p[1]):y(t[_]))===u||m===l)return m}else for(g=v.call(t);!(p=g.next()).done;)if((m=i(g,y,p.value,e))===u||m===l)return m}).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(5),i=n(111).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(39)(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(5).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var r=n(23);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(5),i=n(1),o=n(24),a=n(16),s=n(6)("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(7),i=n(1),o=n(5),a=n(110),s=n(113);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(7),i=n(78),o=n(112);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){t.exports=[n(117),n(210),n(211),n(118),n(119),n(212)]},function(t,e,n){var r=n(26).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(26).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(214),{}}},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(4),i=n(122),o=n(217),a=n(129);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(79));c.Axios=o,c.create=function(t){return s(a(c.defaults,t))},c.Cancel=n(130),c.CancelToken=n(231),c.isCancel=n(128),c.all=function(t){return Promise.all(t)},c.spread=n(232),c.isAxiosError=n(233),t.exports=c,t.exports.default=c},function(t,e,n){"use strict";var r=n(4),i=n(123),o=n(218),a=n(219),s=n(129),c=n(229),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(4);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(4),i=n(220),o=n(128),a=n(79);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(4),i=n(79);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(4);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(127);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(4);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(225),i=n(226);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(4),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(4);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(230),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(130);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";var r=n(235),i=n(236),o=n(132);t.exports={formats:o,parse:i,stringify:r}},function(t,e,n){"use strict";var r=n(131),i=n(132),o=Object.prototype.hasOwnProperty,a={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},s=Array.isArray,c=Array.prototype.push,u=function(t,e){c.apply(t,s(e)?e:[e])},l=Date.prototype.toISOString,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,formatter:i.formatters[i.default],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},f=function t(e,n,i,o,a,c,l,f,d,p,g,m,v){var y=e;if("function"==typeof l?y=l(n,y):y instanceof Date?y=p(y):"comma"===i&&s(y)&&(y=y.join(",")),null===y){if(o)return c&&!m?c(n,h.encoder,v):n;y=""}if("string"==typeof y||"number"==typeof y||"boolean"==typeof y||r.isBuffer(y))return c?[g(m?n:c(n,h.encoder,v))+"="+g(c(y,h.encoder,v))]:[g(n)+"="+g(String(y))];var _,x=[];if(void 0===y)return x;if(s(l))_=l;else{var b=Object.keys(y);_=f?b.sort(f):b}for(var w=0;w<_.length;++w){var M=_[w];a&&null===y[M]||(s(y)?u(x,t(y[M],"function"==typeof i?i(n,M):n,i,o,a,c,l,f,d,p,g,m,v)):u(x,t(y[M],n+(d?"."+M:"["+M+"]"),i,o,a,c,l,f,d,p,g,m,v)))}return x};t.exports=function(t,e){var n,r=t,c=function(t){if(!t)return h;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||h.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=i.default;if(void 0!==t.format){if(!o.call(i.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=i.formatters[n],a=h.filter;return("function"==typeof t.filter||s(t.filter))&&(a=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===t.allowDots?h.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:h.charsetSentinel,delimiter:void 0===t.delimiter?h.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:h.encode,encoder:"function"==typeof t.encoder?t.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:h.encodeValuesOnly,filter:a,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:h.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:h.strictNullHandling}}(e);"function"==typeof c.filter?r=(0,c.filter)("",r):s(c.filter)&&(n=c.filter);var l,d=[];if("object"!=typeof r||null===r)return"";l=e&&e.arrayFormat in a?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var p=a[l];n||(n=Object.keys(r)),c.sort&&n.sort(c.sort);for(var g=0;g<n.length;++g){var m=n[g];c.skipNulls&&null===r[m]||u(d,f(r[m],m,p,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.formatter,c.encodeValuesOnly,c.charset))}var v=d.join(c.delimiter),y=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),v.length>0?y+v:""}},function(t,e,n){"use strict";var r=n(131),i=Object.prototype.hasOwnProperty,o={allowDots:!1,allowPrototypes:!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},a=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},s=function(t,e,n){if(t){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,c=[];if(s){if(!n.plainObjects&&i.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var u=0;null!==(a=o.exec(r))&&u<n.depth;){if(u+=1,!n.plainObjects&&i.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+r.slice(a.index)+"]"),function(t,e,n){for(var r=e,i=t.length-1;i>=0;--i){var o,a=t[i];if("[]"===a&&n.parseArrays)o=[].concat(r);else{o=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(s,10);n.parseArrays||""!==s?!isNaN(c)&&a!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(o=[])[c]=r:o[s]=r:o={0:r}}r=o}return r}(c,e,n)}};t.exports=function(t,e){var n=function(t){if(!t)return o;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 Error("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?o.charset:t.charset;return{allowDots:void 0===t.allowDots?o.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:o.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:o.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:o.comma,decoder:"function"==typeof t.decoder?t.decoder:o.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:o.delimiter,depth:"number"==typeof t.depth?t.depth:o.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:o.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:o.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:o.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof t?function(t,e){var n,s={},c=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,u=e.parameterLimit===1/0?void 0:e.parameterLimit,l=c.split(e.delimiter,u),h=-1,f=e.charset;if(e.charsetSentinel)for(n=0;n<l.length;++n)0===l[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===l[n]?f="utf-8":"utf8=%26%2310003%3B"===l[n]&&(f="iso-8859-1"),h=n,n=l.length);for(n=0;n<l.length;++n)if(n!==h){var d,p,g=l[n],m=g.indexOf("]="),v=-1===m?g.indexOf("="):m+1;-1===v?(d=e.decoder(g,o.decoder,f),p=e.strictNullHandling?null:""):(d=e.decoder(g.slice(0,v),o.decoder,f),p=e.decoder(g.slice(v+1),o.decoder,f)),p&&e.interpretNumericEntities&&"iso-8859-1"===f&&(p=a(p)),p&&e.comma&&p.indexOf(",")>-1&&(p=p.split(",")),i.call(s,d)?s[d]=r.combine(s[d],p):s[d]=p}return s}(t,n):t,u=n.plainObjects?Object.create(null):{},l=Object.keys(c),h=0;h<l.length;++h){var f=l[h],d=s(f,c[f],n);u=r.merge(u,d,n)}return r.compact(u)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerPermission=void 0;var r=f(n(21)),i=f(n(72)),o=f(n(73)),a=n(27),s=n(13),c=f(n(238));n(239);var u=n(8),l=n(241),h=n(48);function f(t){return t&&t.__esModule?t:{default:t}}e.registerPermission=function(t,e){var n,r=t.routerInstance,f=t.storeInstance,p=t.basicOptions;r.beforeEach((n=(0,o.default)(i.default.mark((function t(n,o,g){var m,v,y,_;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c.default.start(),n.meta.title&&(m=s.sessionStore.get("SYS_PROJECT_NAME"),document.title=n.meta.title+(m?"-"+m:"")),!s.localStore.get("access_token")){t.next=15;break}if(!f.state.user.addRouters.length){t.next=8;break}d(n,g),t.next=13;break;case 8:return t.next=10,f.dispatch("user/GetUserInfo",{loadAuth:!0,sysCode:s.sessionStore.get("CLIENT_ID")});case 10:v=t.sent,(0,l.setAsyncRoutes)(r,f,v,e,p),g({path:n.fullPath,replace:!0});case 13:t.next=17;break;case 15:y=(0,h.getUrlParam)("code"),(0,u.isEmpty)(y)?window.open(s.sessionStore.get("IAM_BASE_URL")+"/iam/v1/oauth/oauth/authorize?response_type=code&client_id="+s.sessionStore.get("CLIENT_ID")+"&redirect_uri="+window.origin+"&scope=all&state=hello","_self"):(_={code:y,grantType:"authorization_code",redirectUri:window.origin,sysCode:s.sessionStore.get("CLIENT_ID"),sysSecret:s.sessionStore.get("SYS_SECRET")},(0,a.getToken)(_).then((function(t){if(t.data){var e=t.data,r=e.access_token,i=e.refresh_token;s.localStore.set("access_token",r),s.localStore.set("code",y),s.localStore.set("refresh_token",i),g({path:n.fullPath,replace:!0})}})));case 17:case"end":return t.stop()}}),t,void 0)}))),function(t,e,r){return n.apply(this,arguments)})),r.afterEach((function(t){c.default.done()}))};var d=function(t,e){var n=s.localStore.get("test_project");n?t.query.shopId?e():e({path:t.path,query:(0,r.default)({},t.query,{shopId:n.shopId,noLogin:!0,flag:n.flag})}):e()}},function(t,e,n){var r,i;
|
|
138
138
|
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
139
139
|
* @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(240)(!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(47));var r=c(n(21)),i=n(48),o=c(n(253)),a=n(8),s=c(n(273));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,a){var c=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&&(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"===c.data.layout&&c.children.length&&c.children.length>0){var l=c.children.map((function(n){var r=u([n],null,t,e,a)[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}}})),h=[{path:"/",redirect:l[0].path,children:l,component:o.default.BlankLayout,props:{router:t,store:e}}];console.log(h),t.addRoutes([].concat(h,[i.notFoundRouter])),e.commit("user/SET_ROUTERS",[h[0].children[0]]),e.commit("user/SET_APP_ROUTERS",h)}else{var f=u(c,null,t,e,a),d=[{path:"/",redirect:f[0].redirect,children:f[0].children,component:f[0].component?f[0].component:o.default.BlankLayout,props:{router:t,store:e}}];t.addRoutes([].concat(d,[i.notFoundRouter])),e.commit("user/SET_ROUTERS",d)}return t}},function(t,e,n){n(75),n(46),t.exports=n(243)},function(t,e,n){var r=n(15),i=n(77);t.exports=n(1).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(245),__esModule:!0}},function(t,e,n){n(246),t.exports=n(1).Object.entries},function(t,e,n){var r=n(7),i=n(133)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,e,n){"use strict";e.__esModule=!0;var r=o(n(248)),i=o(n(47));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(249),__esModule:!0}},function(t,e,n){n(75),n(46),t.exports=n(250)},function(t,e,n){var r=n(76),i=n(6)("iterator"),o=n(25);t.exports=n(1).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(31),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){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=h(n(254)),i=h(n(266)),o=h(n(267)),a=h(n(268)),s=h(n(269)),c=h(n(271)),u=h(n(272)),l=h(n(49));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(18)),i=n(9),o=c(n(137)),a=c(n(82)),s=n(83);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(){"MapNavLayout"===this.$route.matched[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){t.exports={default:n(256),__esModule:!0}},function(t,e,n){n(257),t.exports=n(1).Object.values},function(t,e,n){var r=n(7),i=n(133)(!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(260)),i=a(n(42)),o=a(n(43));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(261),__esModule:!0}},function(t,e,n){n(262),t.exports=n(1).Math.sign},function(t,e,n){var r=n(7);r(r.S,"Math",{sign:n(263)})},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){
|
|
140
140
|
/*!
|