@alicloud/alfa-core 1.3.0-beta.0 → 1.3.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/es/base.js +1 -1
- package/es/utils/logger.js +30 -21
- package/lib/base.js +1 -1
- package/lib/utils/logger.d.ts +3 -1
- package/lib/utils/logger.js +30 -21
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.aliAlfa=e():t.aliAlfa=e()}(window,function(){return r=[function(t,e,r){t.exports=r(59)},function(t,e,r){"use strict";function u(t,e,r,n,o,i,s){try{var a=t[i](s),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,o)}function n(a){return function(){var t=this,s=arguments;return new Promise(function(e,r){var n=a.apply(t,s);function o(t){u(n,e,r,o,i,"next",t)}function i(t){u(n,e,r,o,i,"throw",t)}o(void 0)})}}r.d(e,"a",function(){return n})},function(t,e,r){"use strict";r.d(e,"d",function(){return s}),r.d(e,"f",function(){return a}),r.d(e,"h",function(){return u}),r.d(e,"b",function(){return c}),r.d(e,"g",function(){return f}),r.d(e,"a",function(){return l}),r.d(e,"c",function(){return p}),r.d(e,"e",function(){return h});var n=r(1),e=r(0),o=r.n(e),e=r(5),i=r.n(e),s=function(){var e=Object(n.a)(o.a.mark(function t(e){var r;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.a.get(e);case 2:if(r=t.sent,200===r.status)return t.abrupt("return",r.data);t.next=5;break;case 5:throw r;case 6:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),a=function(){var r=Object(n.a)(o.a.mark(function t(e,r){return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:e instanceof Array?Promise.all(e.map(function(t){return t(r)})):e(r);case 3:case"end":return t.stop()}},t)}));return function(t,e){return r.apply(this,arguments)}}();function u(t){if(!t.bootstrap&&!t.mount&&!t.unmount)throw new Error("The app ".concat(t.name,"'s export is invalid, you should export bootstrap, mount, unmount"))}function c(a,u){return a=Array.isArray(a)?a:[a],0===a.length&&(a=[function(){return Promise.resolve()}]),function(s){return new Promise(function(o,i){!function t(e){var r,n=a[e](s);r=n,r&&"function"==typeof r.then&&"function"==typeof r.catch?n.then(function(){e===a.length-1?o():t(e+1)}).catch(i):i("".concat(u," at index ").concat(e," did not return a promise"))}(0)})}}var f=function(t){return JSON.parse(JSON.stringify(t))},l=function(t){return t.default||t},p=function(t,e){var r=t;-1!==e.indexOf("dev.g.alicdn.com")&&(r=t.replace("//g.alicdn.com","//dev.g.alicdn.com"));e=new URL(r,e);return e.toString()},h=function(t){try{var e=new URL(t);e.pathname=(e.pathname||"").split("/").slice(0,-1).join("/")}catch(t){return"/"}}},function(t,e,r){"use strict";var o=r(32),n=Object.prototype.toString;function i(t){return"[object Array]"===n.call(t)}function s(t){return void 0===t}function a(t){return null!==t&&"object"==typeof t}function u(t){return"[object Function]"===n.call(t)}function c(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===n.call(t)},isBuffer:function(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(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 t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,t},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isUndefined:s,isDate:function(t){return"[object Date]"===n.call(t)},isFile:function(t){return"[object File]"===n.call(t)},isBlob:function(t){return"[object Blob]"===n.call(t)},isFunction:u,isStream:function(t){return a(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:c,merge:function r(){var n={};function t(t,e){"object"==typeof n[e]&&"object"==typeof t?n[e]=r(n[e],t):n[e]=t}for(var e=0,o=arguments.length;e<o;e++)c(arguments[e],t);return n},deepMerge:function r(){var n={};function t(t,e){"object"==typeof n[e]&&"object"==typeof t?n[e]=r(n[e],t):n[e]="object"==typeof t?r({},t):t}for(var e=0,o=arguments.length;e<o;e++)c(arguments[e],t);return n},extend:function(r,t,n){return c(t,function(t,e){r[e]=n&&"function"==typeof t?o(t,n):t}),r},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,c,f){"use strict";!function(o){f.d(c,"a",function(){return r}),f.d(c,"b",function(){return t}),f.d(c,"e",function(){return n}),f.d(c,"c",function(){return i}),f.d(c,"h",function(){return e}),f.d(c,"g",function(){return s}),f.d(c,"f",function(){return a}),f.d(c,"d",function(){return u});var r=function(){var t;return(null===(t=null===(t=window)||void 0===t?void 0:t.ALIYUN_CONSOLE_CONFIG)||void 0===t?void 0:t.fEnv)||"prod"},t=function(){var t=((null===(t=null===(t=window)||void 0===t?void 0:t.ALIYUN_CONSOLE_CONFIG)||void 0===t?void 0:t.LOCALE)||"").replace("-","_");return["zh_CN","en_US","ja_JP","zh_TW","zh-HK"].includes(t)?t:"en_US"},n=function(t,e){var r="https://cws.alicdn.com/Release/alfa/"+t+"/release.json",n="https://cws2.alicdn.com/Prepub/alfa/"+t+"/release.json";switch(e){case"local":return o.env.ALFA_RELEASE_URL||n;case"daily":case"pre":return n;case"prod":return r}},i=function(t,e){var r="https://cws.alicdn.com/Release/alfa-products/"+t+"/config.json",n="https://cws2.alicdn.com/Prepub/alfa-products/"+t+"/config.json";switch(e){case"local":case"daily":case"pre":return n;case"prod":return r}},e=function(t){var e=t.name,t=t.env;return n(e,t||r())},s=function(t){var e=t.name,t=t.env;return i(e,t||r())},a=function(t){t=t.entry,t="string"==typeof t?t:"";return t},u=function(t){return t.entry&&"string"!=typeof t.entry?{name:t.name,resources:{},entrypoints:{index:{js:t.entry.scripts,css:t.entry.styles}}}:t.manifest}}.call(this,f(6))},function(t,e,r){t.exports=r(60)},function(t,e){var r,n,t=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(t){r=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(t){n=i}}();var a,u=[],c=!1,f=-1;function l(){c&&a&&(c=!1,a.length?u=a.concat(u):f=-1,u.length&&p())}function p(){if(!c){var t=s(l);c=!0;for(var e=u.length;e;){for(a=u,u=[];++f<e;)a&&a[f].run();f=-1,e=u.length}a=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function d(){}t.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];u.push(new h(t,e)),1!==u.length||c||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=d,t.addListener=d,t.once=d,t.off=d,t.removeListener=d,t.removeAllListeners=d,t.emit=d,t.prependListener=d,t.prependOnceListener=d,t.listeners=function(t){return[]},t.binding=function(t){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(t){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}},function(t,e,r){"use strict";let{isClean:o,my:i}=r(20),s=r(12),a=r(14);r=r(13);let u,c,f;class l extends r{push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}each(r){if(this.proxyOf.nodes){var n=this.getIterator();let t,e;for(;this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],e=r(this.proxyOf.nodes[t],t),!1!==e);)this.indexes[n]+=1;return delete this.indexes[n],e}}walk(n){return this.each((e,t)=>{let r;try{r=n(e,t)}catch(t){throw e.addToError(t)}return!1!==r&&e.walk&&(r=e.walk(n)),r})}walkDecls(r,n){return n?r instanceof RegExp?this.walk((t,e)=>{if("decl"===t.type&&r.test(t.prop))return n(t,e)}):this.walk((t,e)=>{if("decl"===t.type&&t.prop===r)return n(t,e)}):(n=r,this.walk((t,e)=>{if("decl"===t.type)return n(t,e)}))}walkRules(r,n){return n?r instanceof RegExp?this.walk((t,e)=>{if("rule"===t.type&&r.test(t.selector))return n(t,e)}):this.walk((t,e)=>{if("rule"===t.type&&t.selector===r)return n(t,e)}):(n=r,this.walk((t,e)=>{if("rule"===t.type)return n(t,e)}))}walkAtRules(r,n){return n?r instanceof RegExp?this.walk((t,e)=>{if("atrule"===t.type&&r.test(t.name))return n(t,e)}):this.walk((t,e)=>{if("atrule"===t.type&&t.name===r)return n(t,e)}):(n=r,this.walk((t,e)=>{if("atrule"===t.type)return n(t,e)}))}walkComments(r){return this.walk((t,e)=>{if("comment"===t.type)return r(t,e)})}append(...t){for(var e of t){var r,e=this.normalize(e,this.last);for(r of e)this.proxyOf.nodes.push(r)}return this.markDirty(),this}prepend(...t){t=t.reverse();for(var e of t){var r,n,o=this.normalize(e,this.first,"prepend").reverse();for(r of o)this.proxyOf.nodes.unshift(r);for(n in this.indexes)this.indexes[n]=this.indexes[n]+o.length}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(var e of this.nodes)e.cleanRaws(t)}insertBefore(t,e){t=this.index(t);var r,n,o,i=0===t&&"prepend",s=this.normalize(e,this.proxyOf.nodes[t],i).reverse();for(r of s)this.proxyOf.nodes.splice(t,0,r);for(o in this.indexes)n=this.indexes[o],t<=n&&(this.indexes[o]=n+s.length);return this.markDirty(),this}insertAfter(t,e){t=this.index(t);var r,n,o,i=this.normalize(e,this.proxyOf.nodes[t]).reverse();for(r of i)this.proxyOf.nodes.splice(t+1,0,r);for(o in this.indexes)n=this.indexes[o],t<n&&(this.indexes[o]=n+i.length);return this.markDirty(),this}removeChild(t){var e,r;for(r in t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1),this.indexes)e=this.indexes[r],t<=e&&(this.indexes[r]=e-1);return this.markDirty(),this}removeAll(){for(var t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,r,n){return n||(n=r,r={}),this.walkDecls(t=>{r.props&&!r.props.includes(t.prop)||r.fast&&!t.value.includes(r.fast)||(t.value=t.value.replace(e,n))}),this.markDirty(),this}every(t){return this.nodes.every(t)}some(t){return this.nodes.some(t)}index(t){return"number"==typeof t?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(t,e){if("string"==typeof t)t=function e(t){return t.map(t=>(t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t))}(u(t).nodes);else if(Array.isArray(t)){t=t.slice(0);for(var r of t)r.parent&&r.parent.removeChild(r,"ignore")}else if("root"===t.type&&"document"!==this.type){t=t.nodes.slice(0);for(var n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type)t=[t];else if(t.prop){if(void 0===t.value)throw new Error("Value field is missed in node creation");"string"!=typeof t.value&&(t.value=String(t.value)),t=[new s(t)]}else if(t.selector)t=[new c(t)];else if(t.name)t=[new f(t)];else{if(!t.text)throw new Error("Unknown node type in node creation");t=[new a(t)]}t=t.map(t=>(t[i]||l.rebuild(t),t=t.proxyOf,t.parent&&t.parent.removeChild(t),t[o]&&function t(e){if(e[o]=!1,e.proxyOf.nodes)for(var r of e.proxyOf.nodes)t(r)}(t),void 0===t.raws.before&&e&&void 0!==e.raws.before&&(t.raws.before=e.raws.before.replace(/\S/g,"")),t.parent=this,t));return t}getProxyProcessor(){return{set(t,e,r){return t[e]===r||(t[e]=r,"name"!==e&&"params"!==e&&"selector"!==e||t.markDirty()),!0},get(e,n){return"proxyOf"===n?e:e[n]&&("each"===n||"string"==typeof n&&n.startsWith("walk")?(...t)=>e[n](...t.map(r=>"function"==typeof r?(t,e)=>r(t.toProxy(),e):r)):"every"===n||"some"===n?r=>e[n]((t,...e)=>r(t.toProxy(),...e)):"root"===n?()=>e.root().toProxy():"nodes"===n?e.nodes.map(t=>t.toProxy()):"first"===n||"last"===n?e[n].toProxy():e[n])}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var t=this.lastEach;return this.indexes[t]=0,t}}l.registerParse=t=>{u=t},l.registerRule=t=>{c=t},l.registerAtRule=t=>{f=t},t.exports=l,l.default=l,l.rebuild=t=>{"atrule"===t.type?Object.setPrototypeOf(t,f.prototype):"rule"===t.type?Object.setPrototypeOf(t,c.prototype):"decl"===t.type?Object.setPrototypeOf(t,s.prototype):"comment"===t.type&&Object.setPrototypeOf(t,a.prototype),t[i]=!0,t.nodes&&t.nodes.forEach(t=>{l.rebuild(t)})}},function(t,Mt,Bt){"use strict";!function(t){Bt.d(Mt,"a",function(){return xt}),Bt.d(Mt,"b",function(){return et}),Bt.d(Mt,"c",function(){return Dt}),Bt.d(Mt,"d",function(){return lt});var r=Object.freeze({__proto__:null,get start(){return Dt},get ensureJQuerySupport(){return mt},get setBootstrapMaxTime(){return M},get setMountMaxTime(){return B},get setUnmountMaxTime(){return F},get setUnloadMaxTime(){return W},get registerApplication(){return Pt},get getMountedApps(){return Et},get getAppStatus(){return St},get unloadApplication(){return Tt},get checkActivityFunctions(){return _t},get getAppNames(){return xt},get declareChildApplication(){return At},get unloadChildApplication(){return Rt},get navigateToUrl(){return ct},get toggleNavigationCalling(){return lt},get triggerAppChange(){return Lt},get addErrorHandler(){return d},get removeErrorHandler(){return m},get mountRootParcel(){return et},get NOT_LOADED(){return v},get LOADING_SOURCE_CODE(){return g},get NOT_BOOTSTRAPPED(){return w},get BOOTSTRAPPING(){return b},get NOT_MOUNTED(){return O},get MOUNTING(){return E},get UPDATING(){return S},get LOAD_ERROR(){return P},get MOUNTED(){return x},get UNMOUNTING(){return A},get SKIP_BECAUSE_BROKEN(){return _}}),e=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).CustomEvent,f=function(){try{var t=new e("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}}()?e:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,e){var r=document.createEvent("CustomEvent");return e?r.initCustomEvent(t,e.bubbles,e.cancelable,e.detail):r.initCustomEvent(t,!1,!1,void 0),r}:function(t,e){var r=document.createEventObject();return r.type=t,e?(r.bubbles=Boolean(e.bubbles),r.cancelable=Boolean(e.cancelable),r.detail=e.detail):(r.bubbles=!1,r.cancelable=!1,r.detail=void 0),r};function l(t){return(l="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 i(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function o(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(Object(o),!0).forEach(function(t){var e,r;e=n,r=t,t=o[t],r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(o,t))})}return n}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(){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 c(t,e,r){return(c=u()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);n=new(Function.bind.apply(t,n));return r&&a(n,r.prototype),n}).apply(null,arguments)}function p(t){var n="function"==typeof Map?new Map:void 0;return function(t){if(null===t||(e=t,-1===Function.toString.call(e).indexOf("[native code]")))return t;var e;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return c(t,arguments,s(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,t)}(t)}var n=[];function h(t,e){var r=y(t,e);n.length?n.forEach(function(t){return t(r)}):setTimeout(function(){throw r})}function d(t){if("function"!=typeof t)throw Error("a single-spa error handler must be a function");n.push(t)}function m(e){if("function"!=typeof e)throw Error("a single-spa error handler must be a function");var r=!1;return n=n.filter(function(t){t=t===e;return r=r||t,!t}),r}function y(t,e){var r,n=e.unmountThisParcel?"Parcel":"Application",n="".concat(n," '").concat(e.name,"' died in status ").concat(e.status,": ");if(t instanceof Error){try{t.message=n+t.message}catch(t){}r=t}else{console.warn("While ".concat(e.status,", '").concat(e.name,"' rejected its lifecycle function promise with a non-Error. This will cause stack traces to not be accurate."));try{r=Error(n+JSON.stringify(t))}catch(e){r=t}}r.appName=e.name,r.appOrParcelName=e.name;try{r.name=e.name}catch(t){}return r}var v="NOT_LOADED",g="LOADING_SOURCE_CODE",w="NOT_BOOTSTRAPPED",b="BOOTSTRAPPING",O="NOT_MOUNTED",E="MOUNTING",x="MOUNTED",S="UPDATING",A="UNMOUNTING",P="LOAD_ERROR",_="SKIP_BECAUSE_BROKEN";function j(t){return t.status===x}function R(t){return!j(t)}function T(t){return t.status!==v&&t.status!==g&&t.status!==P}function C(t){return!T(t)}function N(e){try{return e.activeWhen(window.location)}catch(t){h(t,e),e.status=_}}function k(e){try{return!e.activeWhen(window.location)}catch(t){h(t,e),e.status=_}}function L(t){return t!==_&&(!t||t.status!==_)}function I(t){return t.status!==P||200<=(new Date).getTime()-t.loadErrorTime}function U(t){return t.name}var D={bootstrap:{millis:4e3,dieOnTimeout:!1},mount:{millis:3e3,dieOnTimeout:!1},unmount:{millis:3e3,dieOnTimeout:!1},unload:{millis:3e3,dieOnTimeout:!1}};function M(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if("number"!=typeof t||t<=0)throw Error("bootstrap max time must be a positive integer number of milliseconds");D.bootstrap={millis:t,dieOnTimeout:e}}function B(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if("number"!=typeof t||t<=0)throw Error("mount max time must be a positive integer number of milliseconds");D.mount={millis:t,dieOnTimeout:e}}function F(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if("number"!=typeof t||t<=0)throw Error("unmount max time must be a positive integer number of milliseconds");D.unmount={millis:t,dieOnTimeout:e}}function W(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if("number"!=typeof t||t<=0)throw Error("unload max time must be a positive integer number of milliseconds");D.unload={millis:t,dieOnTimeout:e}}function z(t,s,a){return new Promise(function(e,r){var n=!1,o=!1;function i(t){var e;n||(!0===t?(o=!0,a.dieOnTimeout?r("".concat(s," did not resolve or reject for ").concat(a.millis," milliseconds")):console.error("".concat(s," did not resolve or reject for ").concat(a.millis," milliseconds -- we're no longer going to warn you about it."))):o||(e=t,t=1e3*e,console.warn("".concat(s," did not resolve or reject within ").concat(t," milliseconds")),1e3+t<a.millis&&setTimeout(function(){return i(e+1)},1e3)))}t.then(function(t){n=!0,e(t)}).catch(function(t){n=!0,r(t)}),setTimeout(function(){return i(1)},1e3),setTimeout(function(){return i(!0)},a.millis)})}function H(t){t=0<arguments.length&&void 0!==t?t:{};return o(o({},D),t)}function G(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return t[r];return null}function Y(t){return t&&("function"==typeof t||(t=t,Array.isArray(t)&&!G(t,function(t){return"function"!=typeof t})))}function $(s,a){return 0===(s=Array.isArray(s)?s:[s]).length&&(s=[function(){return Promise.resolve()}]),function(i){return new Promise(function(n,o){!function t(e){var r=s[e](i);V(r)?r.then(function(){e===s.length-1?n():t(e+1)}).catch(o):o("".concat(a," at index ").concat(e," did not return a promise"))}(0)})}}function V(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}function q(e){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return Promise.resolve().then(function(){return e.status!==w?e:(e.status=b,z(e.bootstrap(ot(e)),"Bootstrapping appOrParcel '".concat(e.name,"'"),e.timeouts.bootstrap).then(function(){return e.status=O,e}).catch(function(t){if(e.status=_,r)throw y(t,e);return h(t,e),e}))})}function K(n){var o=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return Promise.resolve().then(function(){if(n.status!==x)return n;n.status=A;var t=Object.keys(n.parcels).map(function(t){return n.parcels[t].unmountThisParcel()});return Promise.all(t).then(e,function(r){return e().then(function(){var t=Error(r.message);if(o){var e=y(t,n);throw n.status=_,e}h(t,n),n.status=_})}).then(function(){return n});function e(){return z(n.unmount(ot(n)),"Unmounting application ".concat(n.name,"'"),n.timeouts.unmount).then(function(){n.status=O}).catch(function(t){if(o){var e=y(t,n);throw n.status=_,e}h(t,n),n.status=_})}})}var J=!1,Z=!1;function X(r,t){var n=1<arguments.length&&void 0!==t&&t;return Promise.resolve().then(function(){return r.status!==O?r:(J||(window.dispatchEvent(new f("single-spa:before-first-mount")),J=!0),z(r.mount(ot(r)),"Mounting application '".concat(r.name,"'"),r.timeouts.mount).then(function(){return r.status=x,Z||(window.dispatchEvent(new f("single-spa:first-mount")),Z=!0),r}).catch(function(e){return r.status=x,K(r).then(t,t);function t(){if(n){var t=y(e,r);throw r.status=_,t}return h(e,r),r.status=_,r}}))})}var Q=0,tt={parcels:{}};function et(){return rt.apply(tt,arguments)}function rt(t,e){var r=this;if(!t||"object"!==l(t)&&"function"!=typeof t)throw Error("Cannot mount parcel without a config object or config loading function");if(t.name&&"string"!=typeof t.name)throw Error("Parcel name must be a string, if provided");if("object"!==l(e))throw Error("Parcel ".concat(name," has invalid customProps -- must be an object"));if(!e.domElement)throw Error("Parcel ".concat(name," cannot be mounted without a domElement provided as a prop"));var i,s=Q++,n="function"==typeof t,o=n?t:function(){return Promise.resolve(t)},a={id:s,parcels:{},status:n?g:w,customProps:e,parentName:r.name,unmountThisParcel:function(){if(a.status!==x)throw Error("Cannot unmount parcel '".concat(name,"' -- it is in a ").concat(a.status," status"));return K(a,!0).then(function(t){return a.parentName&&delete r.parcels[a.id],t}).then(function(t){return c(t),t}).catch(function(t){throw a.status=_,f(t),t})}};r.parcels[s]=a;var u=o();if(!u||"function"!=typeof u.then)throw Error("When mounting a parcel, the config loading function must return a promise that resolves with the parcel config");var c,f,n=(u=u.then(function(t){if(!t)throw Error("When mounting a parcel, the config loading function returned a promise that did not resolve with a parcel config");var e=t.name||"parcel-".concat(s);if(!Y(t.bootstrap))throw Error("Parcel ".concat(e," must have a valid bootstrap function"));if(!Y(t.mount))throw Error("Parcel ".concat(e," must have a valid mount function"));if(!Y(t.unmount))throw Error("Parcel ".concat(e," must have a valid unmount function"));if(t.update&&!Y(t.update))throw Error("Parcel ".concat(e," provided an invalid update function"));var r=$(t.bootstrap),n=$(t.mount),o=$(t.unmount);a.status=w,a.name=e,a.bootstrap=r,a.mount=n,a.unmount=o,a.timeouts=H(t.timeouts),t.update&&(a.update=$(t.update),i.update=function(t){return a.customProps=t,nt((e=a,Promise.resolve().then(function(){if(e.status===x)return e.status=S,z(e.update(ot(e)),"Updating parcel '".concat(e.name,"'"),e.timeouts.mount).then(function(){return e.status=x,e}).catch(function(t){t=y(t,e);throw e.status=_,t})})));var e})})).then(function(){return q(a,!0)}),e=n.then(function(){return X(a,!0)}),o=new Promise(function(t,e){c=t,f=e});return i={mount:function(){return nt(Promise.resolve().then(function(){if(a.status!==O)throw Error("Cannot mount parcel '".concat(name,"' -- it is in a ").concat(a.status," status"));return r.parcels[s]=a,X(a)}))},unmount:function(){return nt(a.unmountThisParcel())},getStatus:function(){return a.status},loadPromise:nt(u),bootstrapPromise:nt(n),mountPromise:nt(e),unmountPromise:nt(o)}}function nt(t){return t.then(function(){return null})}function ot(t){var e=o(o({},t.customProps),{},{name:t.name,mountParcel:rt.bind(t),singleSpa:r});return t.unmountThisParcel&&(e.unmountSelf=t.unmountThisParcel),e}var it=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(e,p(Error));var r,n,t=(r=e,n=u(),function(){var t,e=s(r);return t=n?(t=s(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),e=this,t=t,!t||"object"!=typeof t&&"function"!=typeof t?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e):t});function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t.apply(this,arguments)}return e}();function st(n){return Promise.resolve().then(function(){return n.status!==v&&n.status!==P?n:(n.status=g,Promise.resolve().then(function(){var t=n.loadImpl(ot(n));if(!V(t))throw new it("single-spa loading function did not return a promise. Check the second argument to registerApplication('".concat(n.name,"', loadingFunction, activityFunction)"));return t.then(function(t){var e;return n.loadErrorTime=null,"object"!==l(r=t)&&(e="does not export anything"),Y(r.bootstrap)||(e="does not export a bootstrap function or array of functions"),Y(r.mount)||(e="does not export a mount function or array of functions"),Y(r.unmount)||(e="does not export an unmount function or array of functions"),e?(console.error("The loading function for single-spa application '".concat(n.name,"' resolved with the following, which does not have bootstrap, mount, and unmount functions"),r),h(e,n),n.status=_):(r.devtools&&r.devtools.overlays&&(n.devtools.overlays=o(o({},n.devtools.overlays),r.devtools.overlays)),n.status=w,n.bootstrap=$(r.bootstrap,"App '".concat(n.name,"' bootstrap function")),n.mount=$(r.mount,"App '".concat(n.name,"' mount function")),n.unmount=$(r.unmount,"App '".concat(n.name,"' unmount function")),n.unload=$(r.unload||[],"App '".concat(n.name,"' unload function")),n.timeouts=H(r.timeouts)),n})}).catch(function(t){return h(t,n),t instanceof it?n.status=_:(n.status=P,n.loadErrorTime=(new Date).getTime()),n}));var r})}var at={hashchange:[],popstate:[]},ut=["hashchange","popstate"];function ct(t){var e,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};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("singleSpaNavigate must be either called with a string url, with an <a> tag as its context, or with an event whose currentTarget is an <a> tag");e=t.currentTarget.href,t.preventDefault()}var n,o,i=ht(window.location.href),t=ht(e);if(0===e.indexOf("#"))window.location.hash="#"+t.anchor;else if(i.host!==t.host&&t.host){if(r.isTestingEnv)return{wouldHaveReloadedThePage:!0};window.location.href=e}else n=t.path+"?"+t.query,o=i.path+"?"+i.query,o===n||o==="/"+n?window.location.hash="#"+t.anchor:window.history.pushState(null,null,e)}var ft=!1;function lt(t){ft=!!t}function pt(e){var t,r=this;e&&(t=e[0].type,0<=ut.indexOf(t)&&!ft&&at[t].forEach(function(t){t.apply(r,e)}))}function ht(t){for(var n={strictMode:!0,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},e=n.parser.strict.exec(t),o={},r=14;r--;)o[n.key[r]]=e[r]||"";return o[n.q.name]={},o[n.key[12]].replace(n.q.parser,function(t,e,r){e&&(o[n.q.name][e]=r)}),o}window.singleSpaNavigate=ct;var dt=!1;function mt(){var r,n,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:window.jQuery;t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!dt&&(r=t.fn.on,n=t.fn.off,t.fn.on=function(t,e){return yt.call(this,r,window.addEventListener,t,e,arguments)},t.fn.off=function(t,e){return yt.call(this,n,window.removeEventListener,t,e,arguments)},dt=!0)}function yt(t,e,r,n,o){return"string"!=typeof r?t.apply(this,o):(r.split(/\s+/).forEach(function(t){0<=ut.indexOf(t)&&(e(t,n),r=r.replace(t,""))}),""===r.trim()?this:t.apply(this,o))}var vt={};function gt(o){return Promise.resolve().then(function(){var n=vt[o.name];return n?o.status===v?(wt(o,n),o):"UNLOADING"===o.status?n.promise.then(function(){return o}):o.status!==O?o:(o.status="UNLOADING",z(o.unload(ot(o)),"Unloading application '".concat(o.name,"'"),o.timeouts.unload).then(function(){return wt(o,n),o}).catch(function(t){return e=o,r=n,t=t,delete vt[e.name],delete e.bootstrap,delete e.mount,delete e.unmount,delete e.unload,h(t,e),e.status=_,r.reject(t),o;var e,r})):o})}function wt(t,e){delete vt[t.name],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=v,e.resolve()}function bt(t,e,r,n){vt[t.name]={app:t,resolve:r,reject:n},Object.defineProperty(vt[t.name],"promise",{get:e})}var Ot=[];function Et(){return Ot.filter(j).map(U)}function xt(){return Ot.map(U)}function St(e){var t=G(Ot,function(t){return t.name===e});return t?t.status:null}function At(t,e,r){return console.warn('declareChildApplication is deprecated and will be removed in the next major version, use "registerApplication" instead'),Pt(t,e,r)}function Pt(t,e,r){var n,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};if("string"!=typeof t||0===t.length)throw Error("The first argument must be a non-empty string 'appName'");if(-1!==xt().indexOf(t))throw Error("There is already an app declared with name ".concat(t));if("object"!==l(o)||Array.isArray(o))throw Error("customProps must be an object");if(!e)throw Error("The application or loading function is required");if(n="function"!=typeof e?function(){return Promise.resolve(e)}:e,"function"!=typeof r)throw Error("The activeWhen argument must be a function");Ot.push({loadErrorTime:null,name:t,loadImpl:n,activeWhen:r,status:v,parcels:{},devtools:{overlays:{options:{},selectors:[]}},customProps:o}),mt(),It()}function _t(t){for(var e=[],r=0;r<Ot.length;r++)Ot[r].activeWhen(t)&&e.push(Ot[r].name);return e}function jt(){return Ot.filter(L).filter(I).filter(C).filter(N)}function Rt(t,e){return console.warn('unloadChildApplication is deprecated and will be removed in the next major version, use "unloadApplication" instead'),Tt(t,e)}function Tt(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{waitForUnmount:!1};if("string"!=typeof e)throw Error("unloadApplication requires a string 'appName'");var r=G(Ot,function(t){return t.name===e});if(!r)throw Error("Could not unload application '".concat(e,"' because no such application has been registered"));var n,o,o=(o=r.name,vt[o]);if(t&&t.waitForUnmount){if(o)return o.promise;var i=new Promise(function(t,e){bt(r,function(){return i},t,e)});return i}return o?(n=o.promise,Ct(r,o.resolve,o.reject)):n=new Promise(function(t,e){bt(r,function(){return n},t,e),Ct(r,t,e)}),n}function Ct(t,e,r){K(t).then(gt).then(function(){e(),setTimeout(function(){It()})}).catch(r)}var Nt=!1,kt=[];function Lt(){return It()}function It(){var i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],r=1<arguments.length?arguments[1]:void 0;if(Nt)return new Promise(function(t,e){kt.push({resolve:t,reject:e,eventArguments:r})});Nt=!0;var s=!0;return Ut?Promise.resolve().then(function(){window.dispatchEvent(new f("single-spa:before-routing-event",c()));var t=Object.keys(vt).map(function(t){return vt[t].app}).filter(R).map(gt),t=Ot.filter(L).filter(j).filter(k).map(K).map(function(t){return t.then(gt)}).concat(t);0<t.length&&(s=!1);var e=Promise.all(t),r=jt(),n=r.map(function(t){return st(t).then(q).then(function(t){return e.then(function(){return X(t)})})});0<n.length&&(s=!1);var o=Ot.filter(L).filter(R).filter(T).filter(N).filter(function(t){return r.indexOf(t)<0}).map(function(t){return q(t).then(function(){return e}).then(function(){return X(t)})});return 0<o.length&&(s=!1),e.catch(function(t){throw u(),t}).then(function(){return u(),Promise.all(n.concat(o)).catch(function(e){throw i.forEach(function(t){return t.reject(e)}),e}).then(function(){return a(!1)})})}):Promise.resolve().then(function(){var t=jt().map(st);return 0<t.length&&(s=!1),Promise.all(t).then(a).catch(function(t){throw u(),t})});function a(){var t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],e=Et();t&&u(),i.forEach(function(t){return t.resolve(e)});try{var r=s?"single-spa:no-app-change":"single-spa:app-change";window.dispatchEvent(new f(r,c())),window.dispatchEvent(new f("single-spa:routing-event",c()))}catch(t){setTimeout(function(){throw t})}return Nt=!1,0<kt.length&&(r=kt,kt=[],It(r)),e}function u(){i.forEach(function(t){pt(t.eventArguments)}),pt(r)}function c(){var t={detail:{}};return r&&r[0]&&(t.detail.originalEvent=r[0]),t}}var Ut=!1;function Dt(){Ut=!0,It()}setTimeout(function(){Ut||console.warn("singleSpa.start() has not been called, ".concat(5e3,"ms after single-spa was loaded. Before start() is called, apps can be declared and loaded, but not bootstrapped or mounted. See https://github.com/CanopyTax/single-spa/blob/master/docs/single-spa-api.md#start"))},5e3);t={getRawAppData:function(){return[].concat(Ot)},reroute:It,NOT_LOADED:v,toLoadPromise:st,toBootstrapPromise:q,unregisterApplication:function(e){if(!Ot.find(function(t){return t.name===e}))throw Error("Cannot unregister application '".concat(e,"' because no such application has been registered"));return Tt(e).then(function(){var t=Ot.findIndex(function(t){return t.name===e});Ot.splice(t,1)})}};window&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=t)}.call(this,Bt(18))},function(t,e,r){"use strict";r=r(7);let n,o;class i extends r{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}removeChild(t,e){var r=this.index(t);return!e&&0===r&&1<this.nodes.length&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(t)}normalize(t,e,r){t=super.normalize(t);if(e)if("prepend"===r)1<this.nodes.length?e.raws.before=this.nodes[1].raws.before:delete e.raws.before;else if(this.first!==e)for(var n of t)n.raws.before=e.raws.before;return t}toResult(t={}){let e=new n(new o,this,t);return e.stringify()}}i.registerLazyResult=t=>{n=t},i.registerProcessor=t=>{o=t},t.exports=i,i.default=i},function(t,i,s){"use strict";!function(t){s.d(i,"b",function(){return n}),s.d(i,"a",function(){return o});var e=s(1),r=s(0),f=s.n(r),l=(s(5),s(11)),p=s(2),h=s(55),n=function(t){t=t.entrypoints,t=Object.values(t);return 1<t.length&&console.error("invalid manifest, entrypoints for manifest show contain one key"),t[0]},o=function(){var r=Object(e.a)(f.a.mark(function t(e,r){var n,o,i,s,a,u,c;return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.manifest,"string"!=typeof n)return t.abrupt("return",n);t.next=3;break;case 3:if(o=n,i=l.b(o),i&&i.loaded)return t.abrupt("return",i.manifest);t.next=7;break;case 7:if(i&&i.loaded){t.next=14;break}if(i)return t.abrupt("return",i.promise);t.next=12;break;case 12:s=new Promise(function(t,e){i={resolve:t,reject:e,manifest:null,loading:!0,loaded:!1,promise:s},l.c(o,i)}),i.promise=s;case 14:a=o,t.prev=15,t.next=22;break;case 19:u=t.sent,a=u.data.manifest||a,e.manifest=a;case 22:return t.next=24,Object(p.d)(a);case 24:return c=t.sent,i.manifest=c,i.loaded=!0,i.loading=!1,i.resolve(c),t.abrupt("return",c);case 32:throw t.prev=32,t.t0=t.catch(15),c=h.a.manifest(t.t0,{url:a}),i.reject(c),c;case 37:case"end":return t.stop()}},t,null,[[15,32]])}));return function(t,e){return r.apply(this,arguments)}}()}.call(this,s(6))},function(t,e,r){"use strict";r.d(e,"a",function(){return i}),r.d(e,"b",function(){return s}),r.d(e,"c",function(){return a});var e=r(16),n=r.n(e),o=null;function i(){o=new n.a({max:30})}function s(t){return o.get(t)}function a(t,e){o.set(t,e)}},function(t,e,r){"use strict";r=r(13);class n extends r{constructor(t){t&&void 0!==t.value&&"string"!=typeof t.value&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}t.exports=n,n.default=n},function(t,e,r){"use strict";let{isClean:n,my:o}=r(20),i=r(19),s=r(43),a=r(21);function u(e,r){let n=new e.constructor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&"proxyCache"!==o){let t=e[o];var i=typeof t;"parent"===o&&"object"==i?r&&(n[o]=r):"source"===o?n[o]=t:Array.isArray(t)?n[o]=t.map(t=>u(t,n)):("object"==i&&null!==t&&(t=u(t)),n[o]=t)}return n}class c{constructor(t={}){for(var e in this.raws={},this[n]=!1,this[o]=!0,t)if("nodes"===e){this.nodes=[];for(var r of t[e])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[e]=t[e]}error(t,e={}){if(this.source){var r=this.positionBy(e);return this.source.input.error(t,r.line,r.column,e)}return new i(t)}warn(t,e,r){let n={node:this};for(var o in r)n[o]=r[o];return t.warn(e,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(t=a){t.stringify&&(t=t.stringify);let e="";return t(this,t=>{e+=t}),e}assign(t={}){for(var e in t)this[e]=t[e];return this}clone(t={}){let e=u(this);for(var r in t)e[r]=t[r];return e}cloneBefore(t={}){t=this.clone(t);return this.parent.insertBefore(this,t),t}cloneAfter(t={}){t=this.clone(t);return this.parent.insertAfter(this,t),t}replaceWith(...r){if(this.parent){let t=this,e=!1;for(var n of r)n===this?e=!0:e?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);e||this.remove()}return this}next(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t+1]}}prev(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t-1]}}before(t){return this.parent.insertBefore(this,t),this}after(t){return this.parent.insertAfter(this,t),this}root(){let t=this;for(;t.parent&&"document"!==t.parent.type;)t=t.parent;return t}raw(t,e){let r=new s;return r.raw(this,t,e)}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}toJSON(t,r){let n={};var o,e=null==r;r=r||new Map;let i=0;for(o in this)if(Object.prototype.hasOwnProperty.call(this,o)&&"parent"!==o&&"proxyCache"!==o){let e=this[o];if(Array.isArray(e))n[o]=e.map(t=>"object"==typeof t&&t.toJSON?t.toJSON(null,r):t);else if("object"==typeof e&&e.toJSON)n[o]=e.toJSON(null,r);else if("source"===o){let t=r.get(e.input);null==t&&(t=i,r.set(e.input,i),i++),n[o]={inputId:t,start:e.start,end:e.end}}else n[o]=e}return e&&(n.inputs=[...r.keys()].map(t=>t.toJSON())),n}positionInside(e){var r=this.toString();let n=this.source.start.column,o=this.source.start.line;for(let t=0;t<e;t++)"\n"===r[t]?(n=1,o+=1):n+=1;return{line:o,column:n}}positionBy(t){let e=this.source.start;return t.index?e=this.positionInside(t.index):t.word&&(t=this.toString().indexOf(t.word),-1!==t&&(e=this.positionInside(t))),e}getProxyProcessor(){return{set(t,e,r){return t[e]===r||(t[e]=r,"prop"!==e&&"value"!==e&&"name"!==e&&"params"!==e&&"important"!==e&&"text"!==e||t.markDirty()),!0},get(t,e){return"proxyOf"===e?t:"root"===e?()=>t.root().toProxy():t[e]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(t){var e;return t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)&&(e=this.source,t.stack=t.stack.replace(/\n\s{4}at /,`$&${e.input.from}:${e.start.line}:${e.start.column}$&`)),t}markDirty(){if(this[n]){this[n]=!1;let t=this;for(;t=t.parent;)t[n]=!1}}get proxyOf(){return this}}t.exports=c,c.default=c},function(t,e,r){"use strict";r=r(13);class n extends r{constructor(t){super(t),this.type="comment"}}t.exports=n,n.default=n},function(b,t,O){"use strict";!function(e){var t=O(19);let r=O(12),n=O(44);var o=O(7);let i=O(92);var s=O(21),a=O(93);let u=O(24);var c=O(48);let f=O(14),l=O(25);var p=O(47),h=O(27),d=O(49),m=O(50);let y=O(26),v=O(9);var g=O(13);function w(...t){return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new i(t)}w.plugin=function(r,n){function o(...t){let e=n(...t);return e.postcssPlugin=r,e.postcssVersion=(new i).version,e}console&&console.warn&&(console.warn(r+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),e.env.LANG&&e.env.LANG.startsWith("cn")&&console.warn(r+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let t;return Object.defineProperty(o,"postcss",{get(){return t=t||o(),t}}),o.process=function(t,e,r){return w([o(r)]).process(t,e)},o},w.stringify=s,w.parse=d,w.fromJSON=a,w.list=m,w.comment=t=>new f(t),w.atRule=t=>new l(t),w.decl=t=>new r(t),w.rule=t=>new y(t),w.root=t=>new v(t),w.document=t=>new u(t),w.CssSyntaxError=t,w.Declaration=r,w.Container=o,w.Document=u,w.Comment=f,w.Warning=c,w.AtRule=l,w.Result=p,w.Input=h,w.Rule=y,w.Root=v,w.Node=g,n.registerPostcss(w),b.exports=w,w.default=w}.call(this,O(6))},function(O,t,E){"use strict";!function(t){O.exports=n;var e=E(94),c=E(96),r=E(99),t="function"==typeof Symbol&&"1"!==t.env._nodeLRUCacheForceNoSymbol,t=t?function(t){return Symbol(t)}:function(t){return"_"+t},f=t("max"),l=t("length"),p=t("lengthCalculator"),h=t("allowStale"),d=t("maxAge"),s=t("dispose"),a=t("noDisposeOnSet"),m=t("lruList"),u=t("cache");function y(){return 1}function n(t){if(!(this instanceof n))return new n(t);"number"==typeof t&&(t={max:t}),t=t||{};var e=this[f]=t.max;(!e||"number"!=typeof e||e<=0)&&(this[f]=1/0);e=t.length||y;"function"!=typeof e&&(e=y),this[p]=e,this[h]=t.stale||!1,this[d]=t.maxAge||0,this[s]=t.dispose,this[a]=t.noDisposeOnSet||!1,this.reset()}function o(t,e,r,n){var o=r.value;v(t,o)&&(w(t,r),t[h]||(o=void 0)),o&&e.call(n,o.value,o.key,t)}function i(t,e,r){var n,e=t[u].get(e);return e&&(n=e.value,v(t,n)?(w(t,e),t[h]||(n=void 0)):r&&t[m].unshiftNode(e),n=n&&n.value),n}function v(t,e){if(e&&(e.maxAge||t[d])){var r=!1,n=Date.now()-e.now,r=e.maxAge?n>e.maxAge:t[d]&&n>t[d];return r}}function g(t){if(t[l]>t[f])for(var e=t[m].tail;t[l]>t[f]&&null!==e;){var r=e.prev;w(t,e),e=r}}function w(t,e){var r;e&&(r=e.value,t[s]&&t[s](r.key,r.value),t[l]-=r.length,t[u].delete(r.key),t[m].removeNode(e))}function b(t,e,r,n,o){this.key=t,this.value=e,this.length=r,this.now=n,this.maxAge=o||0}Object.defineProperty(n.prototype,"max",{set:function(t){(!t||"number"!=typeof t||t<=0)&&(t=1/0),this[f]=t,g(this)},get:function(){return this[f]},enumerable:!0}),Object.defineProperty(n.prototype,"allowStale",{set:function(t){this[h]=!!t},get:function(){return this[h]},enumerable:!0}),Object.defineProperty(n.prototype,"maxAge",{set:function(t){(!t||"number"!=typeof t||t<0)&&(t=0),this[d]=t,g(this)},get:function(){return this[d]},enumerable:!0}),Object.defineProperty(n.prototype,"lengthCalculator",{set:function(t){"function"!=typeof t&&(t=y),t!==this[p]&&(this[p]=t,this[l]=0,this[m].forEach(function(t){t.length=this[p](t.value,t.key),this[l]+=t.length},this)),g(this)},get:function(){return this[p]},enumerable:!0}),Object.defineProperty(n.prototype,"length",{get:function(){return this[l]},enumerable:!0}),Object.defineProperty(n.prototype,"itemCount",{get:function(){return this[m].length},enumerable:!0}),n.prototype.rforEach=function(t,e){e=e||this;for(var r=this[m].tail;null!==r;){var n=r.prev;o(this,t,r,e),r=n}},n.prototype.forEach=function(t,e){e=e||this;for(var r=this[m].head;null!==r;){var n=r.next;o(this,t,r,e),r=n}},n.prototype.keys=function(){return this[m].toArray().map(function(t){return t.key},this)},n.prototype.values=function(){return this[m].toArray().map(function(t){return t.value},this)},n.prototype.reset=function(){this[s]&&this[m]&&this[m].length&&this[m].forEach(function(t){this[s](t.key,t.value)},this),this[u]=new e,this[m]=new r,this[l]=0},n.prototype.dump=function(){return this[m].map(function(t){if(!v(this,t))return{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}},this).toArray().filter(function(t){return t})},n.prototype.dumpLru=function(){return this[m]},n.prototype.inspect=function(t,n){var o="LRUCache {",i=!1,e=this[h];e&&(o+="\n allowStale: true",i=!0);e=this[f];e&&e!==1/0&&(i&&(o+=","),o+="\n max: "+c.inspect(e,n),i=!0);var s=this[d];s&&(i&&(o+=","),o+="\n maxAge: "+c.inspect(s,n),i=!0);var a=this[p];a&&a!==y&&(i&&(o+=","),o+="\n length: "+c.inspect(this[l],n),i=!0);var u=!1;return this[m].forEach(function(t){u?o+=",\n ":(i&&(o+=",\n"),u=!0,o+="\n ");var e=c.inspect(t.key).split("\n").join("\n "),r={value:t.value};t.maxAge!==s&&(r.maxAge=t.maxAge),a!==y&&(r.length=t.length),v(this,t)&&(r.stale=!0),r=c.inspect(r,n).split("\n").join("\n "),o+=e+" => "+r}),(u||i)&&(o+="\n"),o+="}",o},n.prototype.set=function(t,e,r){r=r||this[d];var n=r?Date.now():0,o=this[p](e,t);if(this[u].has(t)){if(o>this[f])return w(this,this[u].get(t)),!1;var i=this[u].get(t),i=i.value;return this[s]&&(this[a]||this[s](t,i.value)),i.now=n,i.maxAge=r,i.value=e,this[l]+=o-i.length,i.length=o,this.get(t),g(this),!0}r=new b(t,e,o,n,r);return r.length>this[f]?(this[s]&&this[s](t,e),!1):(this[l]+=r.length,this[m].unshift(r),this[u].set(t,this[m].head),g(this),!0)},n.prototype.has=function(t){if(!this[u].has(t))return!1;t=this[u].get(t).value;return!v(this,t)},n.prototype.get=function(t){return i(this,t,!0)},n.prototype.peek=function(t){return i(this,t,!1)},n.prototype.pop=function(){var t=this[m].tail;return t?(w(this,t),t.value):null},n.prototype.del=function(t){w(this,this[u].get(t))},n.prototype.load=function(t){this.reset();for(var e=Date.now(),r=t.length-1;0<=r;r--){var n=t[r],o=n.e||0;0===o?this.set(n.k,n.v):(o=o-e,0<o&&this.set(n.k,n.v,o))}},n.prototype.prune=function(){var r=this;this[u].forEach(function(t,e){i(r,e,!1)})}}.call(this,E(6))},,function(t,e){var r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";let u=r(82),c=r(42);class s extends Error{constructor(t,e,r,n,o,i){super(t),this.name="CssSyntaxError",this.reason=t,o&&(this.file=o),n&&(this.source=n),i&&(this.plugin=i),void 0!==e&&void 0!==r&&(this.line=e,this.column=r),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,s)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file||"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let e=this.source;null==t&&(t=u.isColorSupported),c&&t&&(e=c(e));let r=e.split(/\r?\n/),n=Math.max(this.line-3,0);var o=Math.min(this.line+2,r.length);let i=String(o).length,s,a;if(t){let{bold:e,red:r,gray:n}=u.createColors(!0);s=t=>e(r(t)),a=t=>n(t)}else s=a=t=>t;return r.slice(n,o).map((t,e)=>{e=n+1+e;let r=" "+(" "+e).slice(-i)+" | ";if(e!==this.line)return" "+a(r)+t;e=a(r.replace(/\d/g," "))+t.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+a(r)+t+"\n "+e+s("^")}).join("\n")}toString(){let t=this.showSourceCode();return t=t&&"\n\n"+t+"\n",this.name+": "+this.message+t}}t.exports=s,s.default=s},function(t,e,r){"use strict";t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")},function(t,e,r){"use strict";let n=r(43);function o(t,e){let r=new n(e);r.stringify(t)}t.exports=o,o.default=o},function(t,e){},function(t,e){},function(t,e,r){"use strict";r=r(7);let n,o;class i extends r{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){let e=new n(new o,this,t);return e.stringify()}}i.registerLazyResult=t=>{n=t},i.registerProcessor=t=>{o=t},t.exports=i,i.default=i},function(t,e,r){"use strict";let n=r(7);class o extends n{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}}t.exports=o,o.default=o,n.registerAtRule(o)},function(t,e,r){"use strict";let n=r(7),o=r(50);class i extends n{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return o.comma(this.selector)}set selectors(t){var e=this.selector?this.selector.match(/,\s*/):null,e=e?e[0]:","+this.raw("between","beforeOpen");this.selector=t.join(e)}}t.exports=i,i.default=i,n.registerRule(i)},function(t,e,r){"use strict";var{SourceMapConsumer:n,SourceMapGenerator:o}=r(22);let{fileURLToPath:i,pathToFileURL:s}=r(46),{resolve:a,isAbsolute:u}=r(23),c=r(90)["nanoid"],f=r(42),l=r(19),p=r(51),h=Symbol("fromOffsetCache"),d=Boolean(n&&o),m=Boolean(a&&u);class y{constructor(t,e={}){if(null==t||"object"==typeof t&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,e.from&&(!m||/^\w+:\/\//.test(e.from)||u(e.from)?this.file=e.from:this.file=a(e.from)),m&&d){let t=new p(this.css,e);t.text&&(this.map=t,e=t.consumer().file,!this.file&&e&&(this.file=this.mapResolve(e)))}this.file||(this.id="<input css "+c(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,n;if(this[h])n=this[h];else{var o=this.css.split("\n");n=new Array(o.length);let r=0;for(let t=0,e=o.length;t<e;t++)n[t]=r,r+=o[t].length+1;this[h]=n}t=n[n.length-1];let r=0;if(t<=e)r=n.length-1;else{let t=n.length-2;for(var i;r<t;)if(i=r+(t-r>>1),e<n[i])t=i-1;else{if(!(e>=n[i+1])){r=i;break}r=i+1}}return{line:r+1,col:e-n[r]+1}}error(t,e,r,n={}){let o;r||(i=this.fromOffset(e),e=i.line,r=i.col);var i=this.origin(e,r);return o=i?new l(t,i.line,i.column,i.source,i.file,n.plugin):new l(t,e,r,this.css,this.file,n.plugin),o.input={line:e,column:r,source:this.css},this.file&&(s&&(o.input.url=s(this.file).toString()),o.input.file=this.file),o}origin(t,e){if(!this.map)return!1;let r=this.map.consumer();e=r.originalPositionFor({line:t,column:e});if(!e.source)return!1;let n;n=u(e.source)?s(e.source):new URL(e.source,this.map.consumer().sourceRoot||s(this.map.mapFile));let o={url:n.toString(),line:e.line,column:e.column};if("file:"===n.protocol){if(!i)throw new Error("file: protocol is not available in this PostCSS build");o.file=i(n)}e=r.sourceContentFor(e.source);return e&&(o.source=e),o}mapResolve(t){return/^\w+:\/\//.test(t)?t:a(this.map.consumer().sourceRoot||this.map.root||".",t)}get from(){return this.file||this.id}toJSON(){let t={};for(var e of["hasBOM","css","file","id"])null!=this[e]&&(t[e]=this[e]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}}t.exports=y,y.default=y,f&&f.registerInput&&f.registerInput(y)},,,,,function(t,e,r){"use strict";t.exports=function(r,n){return function(){for(var t=new Array(arguments.length),e=0;e<t.length;e++)t[e]=arguments[e];return r.apply(n,t)}}},function(t,e,r){"use strict";var o=r(3);function i(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var n,r=r?r(e):o.isURLSearchParams(e)?e.toString():(n=[],o.forEach(e,function(t,e){null!=t&&(o.isArray(t)?e+="[]":t=[t],o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),n.push(i(e)+"="+i(t))}))}),n.join("&"));return r&&(e=t.indexOf("#"),-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+r),t}},function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(a,t,u){"use strict";!function(t){var r=u(3),n=u(65),e={"Content-Type":"application/x-www-form-urlencoded"};function o(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var i,s={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t&&"[object process]"===Object.prototype.toString.call(t))&&(i=u(36)),i),transformRequest:[function(t,e){return n(e,"Accept"),n(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(o(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(o(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return 200<=t&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(t){s.headers[t]={}}),r.forEach(["post","put","patch"],function(t){s.headers[t]=r.merge(e)}),a.exports=s}.call(this,u(6))},function(t,e,u){"use strict";var c=u(3),f=u(66),l=u(33),p=u(68),h=u(71),d=u(72),m=u(37);t.exports=function(a){return new Promise(function(r,n){var o=a.data,i=a.headers;c.isFormData(o)&&delete i["Content-Type"];var s=new XMLHttpRequest;a.auth&&(e=a.auth.username||"",t=a.auth.password||"",i.Authorization="Basic "+btoa(e+":"+t));var t,e=p(a.baseURL,a.url);if(s.open(a.method.toUpperCase(),l(e,a.params,a.paramsSerializer),!0),s.timeout=a.timeout,s.onreadystatechange=function(){var t,e;s&&4===s.readyState&&(0!==s.status||s.responseURL&&0===s.responseURL.indexOf("file:"))&&(e="getAllResponseHeaders"in s?h(s.getAllResponseHeaders()):null,t=a.responseType&&"text"!==a.responseType?s.response:s.responseText,e={data:t,status:s.status,statusText:s.statusText,headers:e,config:a,request:s},f(r,n,e),s=null)},s.onabort=function(){s&&(n(m("Request aborted",a,"ECONNABORTED",s)),s=null)},s.onerror=function(){n(m("Network Error",a,null,s)),s=null},s.ontimeout=function(){var t="timeout of "+a.timeout+"ms exceeded";a.timeoutErrorMessage&&(t=a.timeoutErrorMessage),n(m(t,a,"ECONNABORTED",s)),s=null},c.isStandardBrowserEnv()&&(t=u(73),t=(a.withCredentials||d(e))&&a.xsrfCookieName?t.read(a.xsrfCookieName):void 0,t&&(i[a.xsrfHeaderName]=t)),"setRequestHeader"in s&&c.forEach(i,function(t,e){void 0===o&&"content-type"===e.toLowerCase()?delete i[e]:s.setRequestHeader(e,t)}),c.isUndefined(a.withCredentials)||(s.withCredentials=!!a.withCredentials),a.responseType)try{s.responseType=a.responseType}catch(t){if("json"!==a.responseType)throw t}"function"==typeof a.onDownloadProgress&&s.addEventListener("progress",a.onDownloadProgress),"function"==typeof a.onUploadProgress&&s.upload&&s.upload.addEventListener("progress",a.onUploadProgress),a.cancelToken&&a.cancelToken.promise.then(function(t){s&&(s.abort(),n(t),s=null)}),void 0===o&&(o=null),s.send(o)})}},function(t,e,r){"use strict";var i=r(67);t.exports=function(t,e,r,n,o){t=new Error(t);return i(t,e,r,n,o)}},function(t,e,r){"use strict";var a=r(3);t.exports=function(e,r){r=r||{};var n={},t=["url","method","params","data"],o=["headers","auth","proxy"],i=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];a.forEach(t,function(t){void 0!==r[t]&&(n[t]=r[t])}),a.forEach(o,function(t){a.isObject(r[t])?n[t]=a.deepMerge(e[t],r[t]):void 0!==r[t]?n[t]=r[t]:a.isObject(e[t])?n[t]=a.deepMerge(e[t]):void 0!==e[t]&&(n[t]=e[t])}),a.forEach(i,function(t){void 0!==r[t]?n[t]=r[t]:void 0!==e[t]&&(n[t]=e[t])});var s=t.concat(o).concat(i),i=Object.keys(r).filter(function(t){return-1===s.indexOf(t)});return a.forEach(i,function(t){void 0!==r[t]?n[t]=r[t]:void 0!==e[t]&&(n[t]=e[t])}),n}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t,e,r){"use strict";var n="object"==typeof Reflect?Reflect:null,u=n&&"function"==typeof n.apply?n.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};var o=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)},i=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(a,u){return new Promise(function(t,e){function r(t){a.removeListener(u,n),e(t)}function n(){"function"==typeof a.removeListener&&a.removeListener("error",r),t([].slice.call(arguments))}var o,i,s;y(a,u,n,{once:!0}),"error"!==u&&(o=a,i=r,s={once:!0},"function"==typeof o.on&&y(o,"error",i,s))})},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var a=10;function c(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function f(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function l(t,e,r,n){var o,i;return c(r),o=t._events,void 0===o?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener||r),o=t._events),i=o[e]),void 0===i?(i=o[e]=r,++t._eventsCount):("function"==typeof i?i=o[e]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),r=f(t),0<r&&i.length>r&&!i.warned&&(i.warned=!0,r=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit"),r.name="MaxListenersExceededWarning",r.emitter=t,r.type=e,r.count=i.length,r=r,console&&console.warn&&console.warn(r))),t}function p(t,e,r){t={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},e=function(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(t);return e.listener=r,t.wrapFn=e,e}function h(t,e,r){t=t._events;if(void 0===t)return[];e=t[e];return void 0===e?[]:"function"==typeof e?r?[e.listener||e]:[e]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(e):m(e,e.length)}function d(t){var e=this._events;if(void 0!==e){t=e[t];if("function"==typeof t)return 1;if(void 0!==t)return t.length}return 0}function m(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}function y(r,n,o,i){if("function"==typeof r.on)i.once?r.once(n,o):r.on(n,o);else{if("function"!=typeof r.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r);r.addEventListener(n,function t(e){i.once&&r.removeEventListener(n,t),o(e)})}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");a=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return f(this)},s.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n,o="error"===t,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){if(0<e.length&&(n=e[0]),n instanceof Error)throw n;o=new Error("Unhandled error."+(n?" ("+n.message+")":""));throw o.context=n,o}t=i[t];if(void 0===t)return!1;if("function"==typeof t)u(t,this,e);else for(var s=t.length,a=m(t,s),r=0;r<s;++r)u(a[r],this,e);return!0},s.prototype.addListener=function(t,e){return l(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return l(this,t,e,!0)},s.prototype.once=function(t,e){return c(e),this.on(t,p(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return c(e),this.prependListener(t,p(this,t,e)),this},s.prototype.removeListener=function(t,e){var r,n,o,i,s;if(c(e),n=this._events,void 0===n)return this;if(r=n[t],void 0===r)return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(o=-1,i=r.length-1;0<=i;i--)if(r[i]===e||r[i].listener===e){s=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,o),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,s||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,r=this._events;if(void 0===r)return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){for(var n,o=Object.keys(r),i=0;i<o.length;++i)n=o[i],"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(e=r[t],"function"==typeof e)this.removeListener(t,e);else if(void 0!==e)for(i=e.length-1;0<=i;i--)this.removeListener(t,e[i]);return this},s.prototype.listeners=function(t){return h(this,t,!0)},s.prototype.rawListeners=function(t){return h(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):d.call(t,e)},s.prototype.listenerCount=d,s.prototype.eventNames=function(){return 0<this._eventsCount?o(this._events):[]}},function(t,e,r){r=r(77),r=r.Symbol;t.exports=r},function(t,e){},function(t,e,r){"use strict";const s={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};t.exports=class{constructor(t){this.builder=t}stringify(t,e){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,e)}document(t){this.body(t)}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}comment(t){var e=this.raw(t,"left","commentLeft"),r=this.raw(t,"right","commentRight");this.builder("/*"+e+t.text+r+"*/",t)}decl(t,e){var r=this.raw(t,"between","colon");let n=t.prop+r+this.rawValue(t,"value");t.important&&(n+=t.raws.important||" !important"),e&&(n+=";"),this.builder(n,t)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}atrule(t,e){let r="@"+t.name;var n=t.params?this.rawValue(t,"params"):"";void 0!==t.raws.afterName?r+=t.raws.afterName:n&&(r+=" "),t.nodes?this.block(t,r+n):(e=(t.raws.between||"")+(e?";":""),this.builder(r+n+e,t))}body(e){let r=e.nodes.length-1;for(;0<r&&"comment"===e.nodes[r].type;)--r;var n=this.raw(e,"semicolon");for(let t=0;t<e.nodes.length;t++){var o=e.nodes[t],i=this.raw(o,"before");i&&this.builder(i),this.stringify(o,r!==t||n)}}block(t,e){var r=this.raw(t,"between","beforeOpen");this.builder(e+r+"{",t,"start");let n;n=t.nodes&&t.nodes.length?(this.body(t),this.raw(t,"after")):this.raw(t,"after","emptyBody"),n&&this.builder(n),this.builder("}",t,"end")}raw(t,e,r){let n;if(r=r||e,e&&(n=t.raws[e],void 0!==n))return n;var o=t.parent;if("before"===r){if(!o||"root"===o.type&&o.first===t)return"";if(o&&"document"===o.type)return""}if(!o)return s[r];let i=t.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(t,r);o="raw"+(o=r,o[0].toUpperCase()+o.slice(1));return this[o]?n=this[o](i,t):i.walk(t=>{if(n=t.raws[e],void 0!==n)return!1}),void 0===n&&(n=s[r]),i.rawCache[r]=n,n}rawSemicolon(t){let e;return t.walk(t=>{if(t.nodes&&t.nodes.length&&"decl"===t.last.type&&(e=t.raws.semicolon,void 0!==e))return!1}),e}rawEmptyBody(t){let e;return t.walk(t=>{if(t.nodes&&0===t.nodes.length&&(e=t.raws.after,void 0!==e))return!1}),e}rawIndent(r){if(r.raws.indent)return r.raws.indent;let n;return r.walk(t=>{var e=t.parent;if(e&&e!==r&&e.parent&&e.parent===r&&void 0!==t.raws.before){t=t.raws.before.split("\n");return n=t[t.length-1],n=n.replace(/\S/g,""),!1}}),n}rawBeforeComment(t,e){let r;return t.walkComments(t=>{if(void 0!==t.raws.before)return r=t.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),r=void 0===r?this.raw(e,null,"beforeDecl"):r&&r.replace(/\S/g,""),r}rawBeforeDecl(t,e){let r;return t.walkDecls(t=>{if(void 0!==t.raws.before)return r=t.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),r=void 0===r?this.raw(e,null,"beforeRule"):r&&r.replace(/\S/g,""),r}rawBeforeRule(e){let r;return e.walk(t=>{if(t.nodes&&(t.parent!==e||e.first!==t)&&void 0!==t.raws.before)return r=t.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),r=r&&r.replace(/\S/g,""),r}rawBeforeClose(t){let e;return t.walk(t=>{if(t.nodes&&0<t.nodes.length&&void 0!==t.raws.after)return e=t.raws.after,e.includes("\n")&&(e=e.replace(/[^\n]+$/,"")),!1}),e=e&&e.replace(/\S/g,""),e}rawBeforeOpen(t){let e;return t.walk(t=>{if("decl"!==t.type&&(e=t.raws.between,void 0!==e))return!1}),e}rawColon(t){let e;return t.walkDecls(t=>{if(void 0!==t.raws.between)return e=t.raws.between.replace(/[^\s:]/g,""),!1}),e}beforeAfter(t,e){let r;r="decl"===t.type?this.raw(t,null,"beforeDecl"):"comment"===t.type?this.raw(t,null,"beforeComment"):"before"===e?this.raw(t,null,"beforeRule"):this.raw(t,null,"beforeClose");let n=t.parent,o=0;for(;n&&"root"!==n.type;)o+=1,n=n.parent;if(r.includes("\n")){var i=this.raw(t,null,"indent");if(i.length)for(let t=0;t<o;t++)r+=i}return r}rawValue(t,e){var r=t[e],e=t.raws[e];return e&&e.value===r?e.raw:r}}},function(t,e,r){"use strict";let{isClean:a,my:o}=r(20),n=r(83),i=r(21),s=r(7),u=r(24);r(87);let c=r(47),f=r(49),l=r(9);const p={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},h={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},d={postcssPlugin:!0,prepare:!0,Once:!0};function m(t){return"object"==typeof t&&"function"==typeof t.then}function y(t){let e=!1;var r=p[t.type];return"decl"===t.type?e=t.prop.toLowerCase():"atrule"===t.type&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,0,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function v(t){let e;return e="document"===t.type?["Document",0,"DocumentExit"]:"root"===t.type?["Root",0,"RootExit"]:y(t),{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function g(t){return t[a]=!1,t.nodes&&t.nodes.forEach(t=>g(t)),t}let w={};class b{constructor(t,e,r){this.stringified=!1,this.processed=!1;let n;if("object"!=typeof e||null===e||"root"!==e.type&&"document"!==e.type)if(e instanceof b||e instanceof c)n=g(e.root),e.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=e.map);else{let t=f;r.syntax&&(t=r.syntax.parse),r.parser&&(t=r.parser),t.parse&&(t=t.parse);try{n=t(e,r)}catch(t){this.processed=!0,this.error=t}n&&!n[o]&&s.rebuild(n)}else n=g(e);this.result=new c(t,n,r),this.helpers={...w,result:this.result,postcss:w},this.plugins=this.processor.plugins.map(t=>"object"==typeof t&&t.prepare?{...t,...t.prepare(this.result)}:t)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(t,e){return this.async().then(t,e)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var t of this.plugins){t=this.runOnRoot(t);if(m(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[a];)t[a]=!0,this.walkSync(t);if(this.listeners.OnceExit)if("document"===t.type)for(var e of t.nodes)this.visitSync(this.listeners.OnceExit,e);else this.visitSync(this.listeners.OnceExit,t)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var t=this.result.opts;let e=i;t.syntax&&(e=t.syntax.stringify),t.stringifier&&(e=t.stringifier),e.stringify&&(e=e.stringify);let r=new n(e,this.result.root,this.result.opts);t=r.generate();return this.result.css=t[0],this.result.map=t[1],this.result}walkSync(t){t[a]=!0;var e,r=y(t);for(e of r)if(0===e)t.nodes&&t.each(t=>{t[a]||this.walkSync(t)});else{var n=this.listeners[e];if(n&&this.visitSync(n,t.toProxy()))return}}visitSync(t,e){for(var[r,n]of t){this.result.lastPlugin=r;let t;try{t=n(e,this.helpers)}catch(t){throw this.handleError(t,e.proxyOf)}if("root"!==e.type&&"document"!==e.type&&!e.parent)return!0;if(m(t))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"!==this.result.root.type)return e.Once(this.result.root,this.helpers);var t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return m(t[0])?Promise.all(t):t}if("function"==typeof e)return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,e){var r=this.result.lastPlugin;try{e&&e.addToError(t),this.error=t,"CssSyntaxError"!==t.name||t.plugin?r.postcssVersion:(t.plugin=r.postcssPlugin,t.setMessage())}catch(t){console&&console.error&&console.error(t)}return t}async runAsync(){this.plugin=0;for(let t=0;t<this.plugins.length;t++){var e=this.plugins[t],e=this.runOnRoot(e);if(m(e))try{await e}catch(t){throw this.handleError(t)}}if(this.prepareVisitors(),this.hasListener){let r=this.result.root;for(;!r[a];){r[a]=!0;for(var n=[v(r)];0<n.length;){var o=this.visitTick(n);if(m(o))try{await o}catch(t){o=n[n.length-1].node;throw this.handleError(t,o)}}}if(this.listeners.OnceExit)for(let[t,e]of this.listeners.OnceExit){this.result.lastPlugin=t;try{var i;"document"===r.type?(i=r.nodes.map(t=>e(t,this.helpers)),await Promise.all(i)):await e(r,this.helpers)}catch(t){throw this.handleError(t)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};var t,e=(t,e,r)=>{this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push([t,r])};for(t of this.plugins)if("object"==typeof t)for(var r in t){if(!h[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. `+`Try to update PostCSS (${this.processor.version} now).`);if(!d[r])if("object"==typeof t[r])for(var n in t[r])"*"===n?e(t,r,t[r][n]):e(t,r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=0<Object.keys(this.listeners).length}visitTick(e){let r=e[e.length-1],{node:n,visitors:o}=r;if("root"===n.type||"document"===n.type||n.parent){if(0<o.length&&r.visitorIndex<o.length){let[t,e]=o[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===o.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=t;try{return e(n.toProxy(),this.helpers)}catch(t){throw this.handleError(t,n)}}if(0!==r.iterator){var i=r.iterator;let t;for(;t=n.nodes[n.indexes[i]];)if(n.indexes[i]+=1,!t[a])return t[a]=!0,void e.push(v(t));r.iterator=0,delete n.indexes[i]}for(var t=r.events;r.eventIndex<t.length;){var s=t[r.eventIndex];if(r.eventIndex+=1,0===s)return void(n.nodes&&n.nodes.length&&(n[a]=!0,r.iterator=n.getIterator()));if(this.listeners[s])return void(r.visitors=this.listeners[s])}e.pop()}else e.pop()}}b.registerPostcss=t=>{w=t},t.exports=b,b.default=b,l.registerLazyResult(b),u.registerLazyResult(b)},function(t,N,k){"use strict";!function(t){
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.aliAlfa=e():t.aliAlfa=e()}(window,function(){return r=[function(t,e,r){t.exports=r(59)},function(t,e,r){"use strict";function u(t,e,r,n,o,i,s){try{var a=t[i](s),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,o)}function n(a){return function(){var t=this,s=arguments;return new Promise(function(e,r){var n=a.apply(t,s);function o(t){u(n,e,r,o,i,"next",t)}function i(t){u(n,e,r,o,i,"throw",t)}o(void 0)})}}r.d(e,"a",function(){return n})},function(t,e,r){"use strict";r.d(e,"d",function(){return s}),r.d(e,"f",function(){return a}),r.d(e,"h",function(){return u}),r.d(e,"b",function(){return c}),r.d(e,"g",function(){return f}),r.d(e,"a",function(){return l}),r.d(e,"c",function(){return p}),r.d(e,"e",function(){return h});var n=r(1),e=r(0),o=r.n(e),e=r(5),i=r.n(e),s=function(){var e=Object(n.a)(o.a.mark(function t(e){var r;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.a.get(e);case 2:if(r=t.sent,200===r.status)return t.abrupt("return",r.data);t.next=5;break;case 5:throw r;case 6:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),a=function(){var r=Object(n.a)(o.a.mark(function t(e,r){return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:e instanceof Array?Promise.all(e.map(function(t){return t(r)})):e(r);case 3:case"end":return t.stop()}},t)}));return function(t,e){return r.apply(this,arguments)}}();function u(t){if(!t.bootstrap&&!t.mount&&!t.unmount)throw new Error("The app ".concat(t.name,"'s export is invalid, you should export bootstrap, mount, unmount"))}function c(a,u){return a=Array.isArray(a)?a:[a],0===a.length&&(a=[function(){return Promise.resolve()}]),function(s){return new Promise(function(o,i){!function t(e){var r,n=a[e](s);r=n,r&&"function"==typeof r.then&&"function"==typeof r.catch?n.then(function(){e===a.length-1?o():t(e+1)}).catch(i):i("".concat(u," at index ").concat(e," did not return a promise"))}(0)})}}var f=function(t){return JSON.parse(JSON.stringify(t))},l=function(t){return t.default||t},p=function(t,e){var r=t;-1!==e.indexOf("dev.g.alicdn.com")&&(r=t.replace("//g.alicdn.com","//dev.g.alicdn.com"));e=new URL(r,e);return e.toString()},h=function(t){try{var e=new URL(t);e.pathname=(e.pathname||"").split("/").slice(0,-1).join("/")}catch(t){return"/"}}},function(t,e,r){"use strict";var o=r(32),n=Object.prototype.toString;function i(t){return"[object Array]"===n.call(t)}function s(t){return void 0===t}function a(t){return null!==t&&"object"==typeof t}function u(t){return"[object Function]"===n.call(t)}function c(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===n.call(t)},isBuffer:function(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(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 t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,t},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isUndefined:s,isDate:function(t){return"[object Date]"===n.call(t)},isFile:function(t){return"[object File]"===n.call(t)},isBlob:function(t){return"[object Blob]"===n.call(t)},isFunction:u,isStream:function(t){return a(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:c,merge:function r(){var n={};function t(t,e){"object"==typeof n[e]&&"object"==typeof t?n[e]=r(n[e],t):n[e]=t}for(var e=0,o=arguments.length;e<o;e++)c(arguments[e],t);return n},deepMerge:function r(){var n={};function t(t,e){"object"==typeof n[e]&&"object"==typeof t?n[e]=r(n[e],t):n[e]="object"==typeof t?r({},t):t}for(var e=0,o=arguments.length;e<o;e++)c(arguments[e],t);return n},extend:function(r,t,n){return c(t,function(t,e){r[e]=n&&"function"==typeof t?o(t,n):t}),r},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,c,f){"use strict";!function(o){f.d(c,"a",function(){return r}),f.d(c,"b",function(){return t}),f.d(c,"e",function(){return n}),f.d(c,"c",function(){return i}),f.d(c,"h",function(){return e}),f.d(c,"g",function(){return s}),f.d(c,"f",function(){return a}),f.d(c,"d",function(){return u});var r=function(){var t;return(null===(t=null===(t=window)||void 0===t?void 0:t.ALIYUN_CONSOLE_CONFIG)||void 0===t?void 0:t.fEnv)||"prod"},t=function(){var t=((null===(t=null===(t=window)||void 0===t?void 0:t.ALIYUN_CONSOLE_CONFIG)||void 0===t?void 0:t.LOCALE)||"").replace("-","_");return["zh_CN","en_US","ja_JP","zh_TW","zh-HK"].includes(t)?t:"en_US"},n=function(t,e){var r="https://cws.alicdn.com/Release/alfa/"+t+"/release.json",n="https://cws2.alicdn.com/Prepub/alfa/"+t+"/release.json";switch(e){case"local":return o.env.ALFA_RELEASE_URL||n;case"daily":case"pre":return n;case"prod":return r}},i=function(t,e){var r="https://cws.alicdn.com/Release/alfa-products/"+t+"/config.json",n="https://cws2.alicdn.com/Prepub/alfa-products/"+t+"/config.json";switch(e){case"local":case"daily":case"pre":return n;case"prod":return r}},e=function(t){var e=t.name,t=t.env;return n(e,t||r())},s=function(t){var e=t.name,t=t.env;return i(e,t||r())},a=function(t){t=t.entry,t="string"==typeof t?t:"";return t},u=function(t){return t.entry&&"string"!=typeof t.entry?{name:t.name,resources:{},entrypoints:{index:{js:t.entry.scripts,css:t.entry.styles}}}:t.manifest}}.call(this,f(6))},function(t,e,r){t.exports=r(60)},function(t,e){var r,n,t=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(t){r=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(t){n=i}}();var a,u=[],c=!1,f=-1;function l(){c&&a&&(c=!1,a.length?u=a.concat(u):f=-1,u.length&&p())}function p(){if(!c){var t=s(l);c=!0;for(var e=u.length;e;){for(a=u,u=[];++f<e;)a&&a[f].run();f=-1,e=u.length}a=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function d(){}t.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];u.push(new h(t,e)),1!==u.length||c||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=d,t.addListener=d,t.once=d,t.off=d,t.removeListener=d,t.removeAllListeners=d,t.emit=d,t.prependListener=d,t.prependOnceListener=d,t.listeners=function(t){return[]},t.binding=function(t){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(t){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}},function(t,e,r){"use strict";let{isClean:o,my:i}=r(20),s=r(12),a=r(14);r=r(13);let u,c,f;class l extends r{push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}each(r){if(this.proxyOf.nodes){var n=this.getIterator();let t,e;for(;this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],e=r(this.proxyOf.nodes[t],t),!1!==e);)this.indexes[n]+=1;return delete this.indexes[n],e}}walk(n){return this.each((e,t)=>{let r;try{r=n(e,t)}catch(t){throw e.addToError(t)}return!1!==r&&e.walk&&(r=e.walk(n)),r})}walkDecls(r,n){return n?r instanceof RegExp?this.walk((t,e)=>{if("decl"===t.type&&r.test(t.prop))return n(t,e)}):this.walk((t,e)=>{if("decl"===t.type&&t.prop===r)return n(t,e)}):(n=r,this.walk((t,e)=>{if("decl"===t.type)return n(t,e)}))}walkRules(r,n){return n?r instanceof RegExp?this.walk((t,e)=>{if("rule"===t.type&&r.test(t.selector))return n(t,e)}):this.walk((t,e)=>{if("rule"===t.type&&t.selector===r)return n(t,e)}):(n=r,this.walk((t,e)=>{if("rule"===t.type)return n(t,e)}))}walkAtRules(r,n){return n?r instanceof RegExp?this.walk((t,e)=>{if("atrule"===t.type&&r.test(t.name))return n(t,e)}):this.walk((t,e)=>{if("atrule"===t.type&&t.name===r)return n(t,e)}):(n=r,this.walk((t,e)=>{if("atrule"===t.type)return n(t,e)}))}walkComments(r){return this.walk((t,e)=>{if("comment"===t.type)return r(t,e)})}append(...t){for(var e of t){var r,e=this.normalize(e,this.last);for(r of e)this.proxyOf.nodes.push(r)}return this.markDirty(),this}prepend(...t){t=t.reverse();for(var e of t){var r,n,o=this.normalize(e,this.first,"prepend").reverse();for(r of o)this.proxyOf.nodes.unshift(r);for(n in this.indexes)this.indexes[n]=this.indexes[n]+o.length}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(var e of this.nodes)e.cleanRaws(t)}insertBefore(t,e){t=this.index(t);var r,n,o,i=0===t&&"prepend",s=this.normalize(e,this.proxyOf.nodes[t],i).reverse();for(r of s)this.proxyOf.nodes.splice(t,0,r);for(o in this.indexes)n=this.indexes[o],t<=n&&(this.indexes[o]=n+s.length);return this.markDirty(),this}insertAfter(t,e){t=this.index(t);var r,n,o,i=this.normalize(e,this.proxyOf.nodes[t]).reverse();for(r of i)this.proxyOf.nodes.splice(t+1,0,r);for(o in this.indexes)n=this.indexes[o],t<n&&(this.indexes[o]=n+i.length);return this.markDirty(),this}removeChild(t){var e,r;for(r in t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1),this.indexes)e=this.indexes[r],t<=e&&(this.indexes[r]=e-1);return this.markDirty(),this}removeAll(){for(var t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,r,n){return n||(n=r,r={}),this.walkDecls(t=>{r.props&&!r.props.includes(t.prop)||r.fast&&!t.value.includes(r.fast)||(t.value=t.value.replace(e,n))}),this.markDirty(),this}every(t){return this.nodes.every(t)}some(t){return this.nodes.some(t)}index(t){return"number"==typeof t?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(t,e){if("string"==typeof t)t=function e(t){return t.map(t=>(t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t))}(u(t).nodes);else if(Array.isArray(t)){t=t.slice(0);for(var r of t)r.parent&&r.parent.removeChild(r,"ignore")}else if("root"===t.type&&"document"!==this.type){t=t.nodes.slice(0);for(var n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type)t=[t];else if(t.prop){if(void 0===t.value)throw new Error("Value field is missed in node creation");"string"!=typeof t.value&&(t.value=String(t.value)),t=[new s(t)]}else if(t.selector)t=[new c(t)];else if(t.name)t=[new f(t)];else{if(!t.text)throw new Error("Unknown node type in node creation");t=[new a(t)]}t=t.map(t=>(t[i]||l.rebuild(t),t=t.proxyOf,t.parent&&t.parent.removeChild(t),t[o]&&function t(e){if(e[o]=!1,e.proxyOf.nodes)for(var r of e.proxyOf.nodes)t(r)}(t),void 0===t.raws.before&&e&&void 0!==e.raws.before&&(t.raws.before=e.raws.before.replace(/\S/g,"")),t.parent=this,t));return t}getProxyProcessor(){return{set(t,e,r){return t[e]===r||(t[e]=r,"name"!==e&&"params"!==e&&"selector"!==e||t.markDirty()),!0},get(e,n){return"proxyOf"===n?e:e[n]&&("each"===n||"string"==typeof n&&n.startsWith("walk")?(...t)=>e[n](...t.map(r=>"function"==typeof r?(t,e)=>r(t.toProxy(),e):r)):"every"===n||"some"===n?r=>e[n]((t,...e)=>r(t.toProxy(),...e)):"root"===n?()=>e.root().toProxy():"nodes"===n?e.nodes.map(t=>t.toProxy()):"first"===n||"last"===n?e[n].toProxy():e[n])}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var t=this.lastEach;return this.indexes[t]=0,t}}l.registerParse=t=>{u=t},l.registerRule=t=>{c=t},l.registerAtRule=t=>{f=t},t.exports=l,l.default=l,l.rebuild=t=>{"atrule"===t.type?Object.setPrototypeOf(t,f.prototype):"rule"===t.type?Object.setPrototypeOf(t,c.prototype):"decl"===t.type?Object.setPrototypeOf(t,s.prototype):"comment"===t.type&&Object.setPrototypeOf(t,a.prototype),t[i]=!0,t.nodes&&t.nodes.forEach(t=>{l.rebuild(t)})}},function(t,Mt,Bt){"use strict";!function(t){Bt.d(Mt,"a",function(){return xt}),Bt.d(Mt,"b",function(){return et}),Bt.d(Mt,"c",function(){return Dt}),Bt.d(Mt,"d",function(){return lt});var r=Object.freeze({__proto__:null,get start(){return Dt},get ensureJQuerySupport(){return mt},get setBootstrapMaxTime(){return M},get setMountMaxTime(){return B},get setUnmountMaxTime(){return F},get setUnloadMaxTime(){return W},get registerApplication(){return Pt},get getMountedApps(){return Et},get getAppStatus(){return St},get unloadApplication(){return Ct},get checkActivityFunctions(){return _t},get getAppNames(){return xt},get declareChildApplication(){return At},get unloadChildApplication(){return Rt},get navigateToUrl(){return ct},get toggleNavigationCalling(){return lt},get triggerAppChange(){return Lt},get addErrorHandler(){return d},get removeErrorHandler(){return m},get mountRootParcel(){return et},get NOT_LOADED(){return v},get LOADING_SOURCE_CODE(){return g},get NOT_BOOTSTRAPPED(){return w},get BOOTSTRAPPING(){return b},get NOT_MOUNTED(){return O},get MOUNTING(){return E},get UPDATING(){return S},get LOAD_ERROR(){return P},get MOUNTED(){return x},get UNMOUNTING(){return A},get SKIP_BECAUSE_BROKEN(){return _}}),e=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).CustomEvent,f=function(){try{var t=new e("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}}()?e:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,e){var r=document.createEvent("CustomEvent");return e?r.initCustomEvent(t,e.bubbles,e.cancelable,e.detail):r.initCustomEvent(t,!1,!1,void 0),r}:function(t,e){var r=document.createEventObject();return r.type=t,e?(r.bubbles=Boolean(e.bubbles),r.cancelable=Boolean(e.cancelable),r.detail=e.detail):(r.bubbles=!1,r.cancelable=!1,r.detail=void 0),r};function l(t){return(l="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 i(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function o(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(Object(o),!0).forEach(function(t){var e,r;e=n,r=t,t=o[t],r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(o,t))})}return n}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(){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 c(t,e,r){return(c=u()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);n=new(Function.bind.apply(t,n));return r&&a(n,r.prototype),n}).apply(null,arguments)}function p(t){var n="function"==typeof Map?new Map:void 0;return function(t){if(null===t||(e=t,-1===Function.toString.call(e).indexOf("[native code]")))return t;var e;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return c(t,arguments,s(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,t)}(t)}var n=[];function h(t,e){var r=y(t,e);n.length?n.forEach(function(t){return t(r)}):setTimeout(function(){throw r})}function d(t){if("function"!=typeof t)throw Error("a single-spa error handler must be a function");n.push(t)}function m(e){if("function"!=typeof e)throw Error("a single-spa error handler must be a function");var r=!1;return n=n.filter(function(t){t=t===e;return r=r||t,!t}),r}function y(t,e){var r,n=e.unmountThisParcel?"Parcel":"Application",n="".concat(n," '").concat(e.name,"' died in status ").concat(e.status,": ");if(t instanceof Error){try{t.message=n+t.message}catch(t){}r=t}else{console.warn("While ".concat(e.status,", '").concat(e.name,"' rejected its lifecycle function promise with a non-Error. This will cause stack traces to not be accurate."));try{r=Error(n+JSON.stringify(t))}catch(e){r=t}}r.appName=e.name,r.appOrParcelName=e.name;try{r.name=e.name}catch(t){}return r}var v="NOT_LOADED",g="LOADING_SOURCE_CODE",w="NOT_BOOTSTRAPPED",b="BOOTSTRAPPING",O="NOT_MOUNTED",E="MOUNTING",x="MOUNTED",S="UPDATING",A="UNMOUNTING",P="LOAD_ERROR",_="SKIP_BECAUSE_BROKEN";function j(t){return t.status===x}function R(t){return!j(t)}function C(t){return t.status!==v&&t.status!==g&&t.status!==P}function T(t){return!C(t)}function N(e){try{return e.activeWhen(window.location)}catch(t){h(t,e),e.status=_}}function k(e){try{return!e.activeWhen(window.location)}catch(t){h(t,e),e.status=_}}function L(t){return t!==_&&(!t||t.status!==_)}function I(t){return t.status!==P||200<=(new Date).getTime()-t.loadErrorTime}function U(t){return t.name}var D={bootstrap:{millis:4e3,dieOnTimeout:!1},mount:{millis:3e3,dieOnTimeout:!1},unmount:{millis:3e3,dieOnTimeout:!1},unload:{millis:3e3,dieOnTimeout:!1}};function M(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if("number"!=typeof t||t<=0)throw Error("bootstrap max time must be a positive integer number of milliseconds");D.bootstrap={millis:t,dieOnTimeout:e}}function B(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if("number"!=typeof t||t<=0)throw Error("mount max time must be a positive integer number of milliseconds");D.mount={millis:t,dieOnTimeout:e}}function F(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if("number"!=typeof t||t<=0)throw Error("unmount max time must be a positive integer number of milliseconds");D.unmount={millis:t,dieOnTimeout:e}}function W(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if("number"!=typeof t||t<=0)throw Error("unload max time must be a positive integer number of milliseconds");D.unload={millis:t,dieOnTimeout:e}}function z(t,s,a){return new Promise(function(e,r){var n=!1,o=!1;function i(t){var e;n||(!0===t?(o=!0,a.dieOnTimeout?r("".concat(s," did not resolve or reject for ").concat(a.millis," milliseconds")):console.error("".concat(s," did not resolve or reject for ").concat(a.millis," milliseconds -- we're no longer going to warn you about it."))):o||(e=t,t=1e3*e,console.warn("".concat(s," did not resolve or reject within ").concat(t," milliseconds")),1e3+t<a.millis&&setTimeout(function(){return i(e+1)},1e3)))}t.then(function(t){n=!0,e(t)}).catch(function(t){n=!0,r(t)}),setTimeout(function(){return i(1)},1e3),setTimeout(function(){return i(!0)},a.millis)})}function H(t){t=0<arguments.length&&void 0!==t?t:{};return o(o({},D),t)}function G(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return t[r];return null}function Y(t){return t&&("function"==typeof t||(t=t,Array.isArray(t)&&!G(t,function(t){return"function"!=typeof t})))}function $(s,a){return 0===(s=Array.isArray(s)?s:[s]).length&&(s=[function(){return Promise.resolve()}]),function(i){return new Promise(function(n,o){!function t(e){var r=s[e](i);q(r)?r.then(function(){e===s.length-1?n():t(e+1)}).catch(o):o("".concat(a," at index ").concat(e," did not return a promise"))}(0)})}}function q(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}function V(e){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return Promise.resolve().then(function(){return e.status!==w?e:(e.status=b,z(e.bootstrap(ot(e)),"Bootstrapping appOrParcel '".concat(e.name,"'"),e.timeouts.bootstrap).then(function(){return e.status=O,e}).catch(function(t){if(e.status=_,r)throw y(t,e);return h(t,e),e}))})}function K(n){var o=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return Promise.resolve().then(function(){if(n.status!==x)return n;n.status=A;var t=Object.keys(n.parcels).map(function(t){return n.parcels[t].unmountThisParcel()});return Promise.all(t).then(e,function(r){return e().then(function(){var t=Error(r.message);if(o){var e=y(t,n);throw n.status=_,e}h(t,n),n.status=_})}).then(function(){return n});function e(){return z(n.unmount(ot(n)),"Unmounting application ".concat(n.name,"'"),n.timeouts.unmount).then(function(){n.status=O}).catch(function(t){if(o){var e=y(t,n);throw n.status=_,e}h(t,n),n.status=_})}})}var J=!1,Z=!1;function X(r,t){var n=1<arguments.length&&void 0!==t&&t;return Promise.resolve().then(function(){return r.status!==O?r:(J||(window.dispatchEvent(new f("single-spa:before-first-mount")),J=!0),z(r.mount(ot(r)),"Mounting application '".concat(r.name,"'"),r.timeouts.mount).then(function(){return r.status=x,Z||(window.dispatchEvent(new f("single-spa:first-mount")),Z=!0),r}).catch(function(e){return r.status=x,K(r).then(t,t);function t(){if(n){var t=y(e,r);throw r.status=_,t}return h(e,r),r.status=_,r}}))})}var Q=0,tt={parcels:{}};function et(){return rt.apply(tt,arguments)}function rt(t,e){var r=this;if(!t||"object"!==l(t)&&"function"!=typeof t)throw Error("Cannot mount parcel without a config object or config loading function");if(t.name&&"string"!=typeof t.name)throw Error("Parcel name must be a string, if provided");if("object"!==l(e))throw Error("Parcel ".concat(name," has invalid customProps -- must be an object"));if(!e.domElement)throw Error("Parcel ".concat(name," cannot be mounted without a domElement provided as a prop"));var i,s=Q++,n="function"==typeof t,o=n?t:function(){return Promise.resolve(t)},a={id:s,parcels:{},status:n?g:w,customProps:e,parentName:r.name,unmountThisParcel:function(){if(a.status!==x)throw Error("Cannot unmount parcel '".concat(name,"' -- it is in a ").concat(a.status," status"));return K(a,!0).then(function(t){return a.parentName&&delete r.parcels[a.id],t}).then(function(t){return c(t),t}).catch(function(t){throw a.status=_,f(t),t})}};r.parcels[s]=a;var u=o();if(!u||"function"!=typeof u.then)throw Error("When mounting a parcel, the config loading function must return a promise that resolves with the parcel config");var c,f,n=(u=u.then(function(t){if(!t)throw Error("When mounting a parcel, the config loading function returned a promise that did not resolve with a parcel config");var e=t.name||"parcel-".concat(s);if(!Y(t.bootstrap))throw Error("Parcel ".concat(e," must have a valid bootstrap function"));if(!Y(t.mount))throw Error("Parcel ".concat(e," must have a valid mount function"));if(!Y(t.unmount))throw Error("Parcel ".concat(e," must have a valid unmount function"));if(t.update&&!Y(t.update))throw Error("Parcel ".concat(e," provided an invalid update function"));var r=$(t.bootstrap),n=$(t.mount),o=$(t.unmount);a.status=w,a.name=e,a.bootstrap=r,a.mount=n,a.unmount=o,a.timeouts=H(t.timeouts),t.update&&(a.update=$(t.update),i.update=function(t){return a.customProps=t,nt((e=a,Promise.resolve().then(function(){if(e.status===x)return e.status=S,z(e.update(ot(e)),"Updating parcel '".concat(e.name,"'"),e.timeouts.mount).then(function(){return e.status=x,e}).catch(function(t){t=y(t,e);throw e.status=_,t})})));var e})})).then(function(){return V(a,!0)}),e=n.then(function(){return X(a,!0)}),o=new Promise(function(t,e){c=t,f=e});return i={mount:function(){return nt(Promise.resolve().then(function(){if(a.status!==O)throw Error("Cannot mount parcel '".concat(name,"' -- it is in a ").concat(a.status," status"));return r.parcels[s]=a,X(a)}))},unmount:function(){return nt(a.unmountThisParcel())},getStatus:function(){return a.status},loadPromise:nt(u),bootstrapPromise:nt(n),mountPromise:nt(e),unmountPromise:nt(o)}}function nt(t){return t.then(function(){return null})}function ot(t){var e=o(o({},t.customProps),{},{name:t.name,mountParcel:rt.bind(t),singleSpa:r});return t.unmountThisParcel&&(e.unmountSelf=t.unmountThisParcel),e}var it=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(e,p(Error));var r,n,t=(r=e,n=u(),function(){var t,e=s(r);return t=n?(t=s(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),e=this,t=t,!t||"object"!=typeof t&&"function"!=typeof t?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e):t});function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t.apply(this,arguments)}return e}();function st(n){return Promise.resolve().then(function(){return n.status!==v&&n.status!==P?n:(n.status=g,Promise.resolve().then(function(){var t=n.loadImpl(ot(n));if(!q(t))throw new it("single-spa loading function did not return a promise. Check the second argument to registerApplication('".concat(n.name,"', loadingFunction, activityFunction)"));return t.then(function(t){var e;return n.loadErrorTime=null,"object"!==l(r=t)&&(e="does not export anything"),Y(r.bootstrap)||(e="does not export a bootstrap function or array of functions"),Y(r.mount)||(e="does not export a mount function or array of functions"),Y(r.unmount)||(e="does not export an unmount function or array of functions"),e?(console.error("The loading function for single-spa application '".concat(n.name,"' resolved with the following, which does not have bootstrap, mount, and unmount functions"),r),h(e,n),n.status=_):(r.devtools&&r.devtools.overlays&&(n.devtools.overlays=o(o({},n.devtools.overlays),r.devtools.overlays)),n.status=w,n.bootstrap=$(r.bootstrap,"App '".concat(n.name,"' bootstrap function")),n.mount=$(r.mount,"App '".concat(n.name,"' mount function")),n.unmount=$(r.unmount,"App '".concat(n.name,"' unmount function")),n.unload=$(r.unload||[],"App '".concat(n.name,"' unload function")),n.timeouts=H(r.timeouts)),n})}).catch(function(t){return h(t,n),t instanceof it?n.status=_:(n.status=P,n.loadErrorTime=(new Date).getTime()),n}));var r})}var at={hashchange:[],popstate:[]},ut=["hashchange","popstate"];function ct(t){var e,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};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("singleSpaNavigate must be either called with a string url, with an <a> tag as its context, or with an event whose currentTarget is an <a> tag");e=t.currentTarget.href,t.preventDefault()}var n,o,i=ht(window.location.href),t=ht(e);if(0===e.indexOf("#"))window.location.hash="#"+t.anchor;else if(i.host!==t.host&&t.host){if(r.isTestingEnv)return{wouldHaveReloadedThePage:!0};window.location.href=e}else n=t.path+"?"+t.query,o=i.path+"?"+i.query,o===n||o==="/"+n?window.location.hash="#"+t.anchor:window.history.pushState(null,null,e)}var ft=!1;function lt(t){ft=!!t}function pt(e){var t,r=this;e&&(t=e[0].type,0<=ut.indexOf(t)&&!ft&&at[t].forEach(function(t){t.apply(r,e)}))}function ht(t){for(var n={strictMode:!0,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},e=n.parser.strict.exec(t),o={},r=14;r--;)o[n.key[r]]=e[r]||"";return o[n.q.name]={},o[n.key[12]].replace(n.q.parser,function(t,e,r){e&&(o[n.q.name][e]=r)}),o}window.singleSpaNavigate=ct;var dt=!1;function mt(){var r,n,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:window.jQuery;t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!dt&&(r=t.fn.on,n=t.fn.off,t.fn.on=function(t,e){return yt.call(this,r,window.addEventListener,t,e,arguments)},t.fn.off=function(t,e){return yt.call(this,n,window.removeEventListener,t,e,arguments)},dt=!0)}function yt(t,e,r,n,o){return"string"!=typeof r?t.apply(this,o):(r.split(/\s+/).forEach(function(t){0<=ut.indexOf(t)&&(e(t,n),r=r.replace(t,""))}),""===r.trim()?this:t.apply(this,o))}var vt={};function gt(o){return Promise.resolve().then(function(){var n=vt[o.name];return n?o.status===v?(wt(o,n),o):"UNLOADING"===o.status?n.promise.then(function(){return o}):o.status!==O?o:(o.status="UNLOADING",z(o.unload(ot(o)),"Unloading application '".concat(o.name,"'"),o.timeouts.unload).then(function(){return wt(o,n),o}).catch(function(t){return e=o,r=n,t=t,delete vt[e.name],delete e.bootstrap,delete e.mount,delete e.unmount,delete e.unload,h(t,e),e.status=_,r.reject(t),o;var e,r})):o})}function wt(t,e){delete vt[t.name],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=v,e.resolve()}function bt(t,e,r,n){vt[t.name]={app:t,resolve:r,reject:n},Object.defineProperty(vt[t.name],"promise",{get:e})}var Ot=[];function Et(){return Ot.filter(j).map(U)}function xt(){return Ot.map(U)}function St(e){var t=G(Ot,function(t){return t.name===e});return t?t.status:null}function At(t,e,r){return console.warn('declareChildApplication is deprecated and will be removed in the next major version, use "registerApplication" instead'),Pt(t,e,r)}function Pt(t,e,r){var n,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};if("string"!=typeof t||0===t.length)throw Error("The first argument must be a non-empty string 'appName'");if(-1!==xt().indexOf(t))throw Error("There is already an app declared with name ".concat(t));if("object"!==l(o)||Array.isArray(o))throw Error("customProps must be an object");if(!e)throw Error("The application or loading function is required");if(n="function"!=typeof e?function(){return Promise.resolve(e)}:e,"function"!=typeof r)throw Error("The activeWhen argument must be a function");Ot.push({loadErrorTime:null,name:t,loadImpl:n,activeWhen:r,status:v,parcels:{},devtools:{overlays:{options:{},selectors:[]}},customProps:o}),mt(),It()}function _t(t){for(var e=[],r=0;r<Ot.length;r++)Ot[r].activeWhen(t)&&e.push(Ot[r].name);return e}function jt(){return Ot.filter(L).filter(I).filter(T).filter(N)}function Rt(t,e){return console.warn('unloadChildApplication is deprecated and will be removed in the next major version, use "unloadApplication" instead'),Ct(t,e)}function Ct(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{waitForUnmount:!1};if("string"!=typeof e)throw Error("unloadApplication requires a string 'appName'");var r=G(Ot,function(t){return t.name===e});if(!r)throw Error("Could not unload application '".concat(e,"' because no such application has been registered"));var n,o,o=(o=r.name,vt[o]);if(t&&t.waitForUnmount){if(o)return o.promise;var i=new Promise(function(t,e){bt(r,function(){return i},t,e)});return i}return o?(n=o.promise,Tt(r,o.resolve,o.reject)):n=new Promise(function(t,e){bt(r,function(){return n},t,e),Tt(r,t,e)}),n}function Tt(t,e,r){K(t).then(gt).then(function(){e(),setTimeout(function(){It()})}).catch(r)}var Nt=!1,kt=[];function Lt(){return It()}function It(){var i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],r=1<arguments.length?arguments[1]:void 0;if(Nt)return new Promise(function(t,e){kt.push({resolve:t,reject:e,eventArguments:r})});Nt=!0;var s=!0;return Ut?Promise.resolve().then(function(){window.dispatchEvent(new f("single-spa:before-routing-event",c()));var t=Object.keys(vt).map(function(t){return vt[t].app}).filter(R).map(gt),t=Ot.filter(L).filter(j).filter(k).map(K).map(function(t){return t.then(gt)}).concat(t);0<t.length&&(s=!1);var e=Promise.all(t),r=jt(),n=r.map(function(t){return st(t).then(V).then(function(t){return e.then(function(){return X(t)})})});0<n.length&&(s=!1);var o=Ot.filter(L).filter(R).filter(C).filter(N).filter(function(t){return r.indexOf(t)<0}).map(function(t){return V(t).then(function(){return e}).then(function(){return X(t)})});return 0<o.length&&(s=!1),e.catch(function(t){throw u(),t}).then(function(){return u(),Promise.all(n.concat(o)).catch(function(e){throw i.forEach(function(t){return t.reject(e)}),e}).then(function(){return a(!1)})})}):Promise.resolve().then(function(){var t=jt().map(st);return 0<t.length&&(s=!1),Promise.all(t).then(a).catch(function(t){throw u(),t})});function a(){var t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],e=Et();t&&u(),i.forEach(function(t){return t.resolve(e)});try{var r=s?"single-spa:no-app-change":"single-spa:app-change";window.dispatchEvent(new f(r,c())),window.dispatchEvent(new f("single-spa:routing-event",c()))}catch(t){setTimeout(function(){throw t})}return Nt=!1,0<kt.length&&(r=kt,kt=[],It(r)),e}function u(){i.forEach(function(t){pt(t.eventArguments)}),pt(r)}function c(){var t={detail:{}};return r&&r[0]&&(t.detail.originalEvent=r[0]),t}}var Ut=!1;function Dt(){Ut=!0,It()}setTimeout(function(){Ut||console.warn("singleSpa.start() has not been called, ".concat(5e3,"ms after single-spa was loaded. Before start() is called, apps can be declared and loaded, but not bootstrapped or mounted. See https://github.com/CanopyTax/single-spa/blob/master/docs/single-spa-api.md#start"))},5e3);t={getRawAppData:function(){return[].concat(Ot)},reroute:It,NOT_LOADED:v,toLoadPromise:st,toBootstrapPromise:V,unregisterApplication:function(e){if(!Ot.find(function(t){return t.name===e}))throw Error("Cannot unregister application '".concat(e,"' because no such application has been registered"));return Ct(e).then(function(){var t=Ot.findIndex(function(t){return t.name===e});Ot.splice(t,1)})}};window&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=t)}.call(this,Bt(18))},function(t,e,r){"use strict";r=r(7);let n,o;class i extends r{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}removeChild(t,e){var r=this.index(t);return!e&&0===r&&1<this.nodes.length&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(t)}normalize(t,e,r){t=super.normalize(t);if(e)if("prepend"===r)1<this.nodes.length?e.raws.before=this.nodes[1].raws.before:delete e.raws.before;else if(this.first!==e)for(var n of t)n.raws.before=e.raws.before;return t}toResult(t={}){let e=new n(new o,this,t);return e.stringify()}}i.registerLazyResult=t=>{n=t},i.registerProcessor=t=>{o=t},t.exports=i,i.default=i},function(t,i,s){"use strict";!function(t){s.d(i,"b",function(){return n}),s.d(i,"a",function(){return o});var e=s(1),r=s(0),f=s.n(r),l=(s(5),s(11)),p=s(2),h=s(55),n=function(t){t=t.entrypoints,t=Object.values(t);return 1<t.length&&console.error("invalid manifest, entrypoints for manifest show contain one key"),t[0]},o=function(){var r=Object(e.a)(f.a.mark(function t(e,r){var n,o,i,s,a,u,c;return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.manifest,"string"!=typeof n)return t.abrupt("return",n);t.next=3;break;case 3:if(o=n,i=l.b(o),i&&i.loaded)return t.abrupt("return",i.manifest);t.next=7;break;case 7:if(i&&i.loaded){t.next=14;break}if(i)return t.abrupt("return",i.promise);t.next=12;break;case 12:s=new Promise(function(t,e){i={resolve:t,reject:e,manifest:null,loading:!0,loaded:!1,promise:s},l.c(o,i)}),i.promise=s;case 14:a=o,t.prev=15,t.next=22;break;case 19:u=t.sent,a=u.data.manifest||a,e.manifest=a;case 22:return t.next=24,Object(p.d)(a);case 24:return c=t.sent,i.manifest=c,i.loaded=!0,i.loading=!1,i.resolve(c),t.abrupt("return",c);case 32:throw t.prev=32,t.t0=t.catch(15),c=h.a.manifest(t.t0,{url:a}),i.reject(c),c;case 37:case"end":return t.stop()}},t,null,[[15,32]])}));return function(t,e){return r.apply(this,arguments)}}()}.call(this,s(6))},function(t,e,r){"use strict";r.d(e,"a",function(){return i}),r.d(e,"b",function(){return s}),r.d(e,"c",function(){return a});var e=r(16),n=r.n(e),o=null;function i(){o=new n.a({max:30})}function s(t){return o.get(t)}function a(t,e){o.set(t,e)}},function(t,e,r){"use strict";r=r(13);class n extends r{constructor(t){t&&void 0!==t.value&&"string"!=typeof t.value&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}t.exports=n,n.default=n},function(t,e,r){"use strict";let{isClean:n,my:o}=r(20),i=r(19),s=r(43),a=r(21);function u(e,r){let n=new e.constructor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&"proxyCache"!==o){let t=e[o];var i=typeof t;"parent"===o&&"object"==i?r&&(n[o]=r):"source"===o?n[o]=t:Array.isArray(t)?n[o]=t.map(t=>u(t,n)):("object"==i&&null!==t&&(t=u(t)),n[o]=t)}return n}class c{constructor(t={}){for(var e in this.raws={},this[n]=!1,this[o]=!0,t)if("nodes"===e){this.nodes=[];for(var r of t[e])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[e]=t[e]}error(t,e={}){if(this.source){var r=this.positionBy(e);return this.source.input.error(t,r.line,r.column,e)}return new i(t)}warn(t,e,r){let n={node:this};for(var o in r)n[o]=r[o];return t.warn(e,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(t=a){t.stringify&&(t=t.stringify);let e="";return t(this,t=>{e+=t}),e}assign(t={}){for(var e in t)this[e]=t[e];return this}clone(t={}){let e=u(this);for(var r in t)e[r]=t[r];return e}cloneBefore(t={}){t=this.clone(t);return this.parent.insertBefore(this,t),t}cloneAfter(t={}){t=this.clone(t);return this.parent.insertAfter(this,t),t}replaceWith(...r){if(this.parent){let t=this,e=!1;for(var n of r)n===this?e=!0:e?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);e||this.remove()}return this}next(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t+1]}}prev(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t-1]}}before(t){return this.parent.insertBefore(this,t),this}after(t){return this.parent.insertAfter(this,t),this}root(){let t=this;for(;t.parent&&"document"!==t.parent.type;)t=t.parent;return t}raw(t,e){let r=new s;return r.raw(this,t,e)}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}toJSON(t,r){let n={};var o,e=null==r;r=r||new Map;let i=0;for(o in this)if(Object.prototype.hasOwnProperty.call(this,o)&&"parent"!==o&&"proxyCache"!==o){let e=this[o];if(Array.isArray(e))n[o]=e.map(t=>"object"==typeof t&&t.toJSON?t.toJSON(null,r):t);else if("object"==typeof e&&e.toJSON)n[o]=e.toJSON(null,r);else if("source"===o){let t=r.get(e.input);null==t&&(t=i,r.set(e.input,i),i++),n[o]={inputId:t,start:e.start,end:e.end}}else n[o]=e}return e&&(n.inputs=[...r.keys()].map(t=>t.toJSON())),n}positionInside(e){var r=this.toString();let n=this.source.start.column,o=this.source.start.line;for(let t=0;t<e;t++)"\n"===r[t]?(n=1,o+=1):n+=1;return{line:o,column:n}}positionBy(t){let e=this.source.start;return t.index?e=this.positionInside(t.index):t.word&&(t=this.toString().indexOf(t.word),-1!==t&&(e=this.positionInside(t))),e}getProxyProcessor(){return{set(t,e,r){return t[e]===r||(t[e]=r,"prop"!==e&&"value"!==e&&"name"!==e&&"params"!==e&&"important"!==e&&"text"!==e||t.markDirty()),!0},get(t,e){return"proxyOf"===e?t:"root"===e?()=>t.root().toProxy():t[e]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(t){var e;return t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)&&(e=this.source,t.stack=t.stack.replace(/\n\s{4}at /,`$&${e.input.from}:${e.start.line}:${e.start.column}$&`)),t}markDirty(){if(this[n]){this[n]=!1;let t=this;for(;t=t.parent;)t[n]=!1}}get proxyOf(){return this}}t.exports=c,c.default=c},function(t,e,r){"use strict";r=r(13);class n extends r{constructor(t){super(t),this.type="comment"}}t.exports=n,n.default=n},function(b,t,O){"use strict";!function(e){var t=O(19);let r=O(12),n=O(44);var o=O(7);let i=O(92);var s=O(21),a=O(93);let u=O(24);var c=O(48);let f=O(14),l=O(25);var p=O(47),h=O(27),d=O(49),m=O(50);let y=O(26),v=O(9);var g=O(13);function w(...t){return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new i(t)}w.plugin=function(r,n){function o(...t){let e=n(...t);return e.postcssPlugin=r,e.postcssVersion=(new i).version,e}console&&console.warn&&(console.warn(r+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),e.env.LANG&&e.env.LANG.startsWith("cn")&&console.warn(r+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let t;return Object.defineProperty(o,"postcss",{get(){return t=t||o(),t}}),o.process=function(t,e,r){return w([o(r)]).process(t,e)},o},w.stringify=s,w.parse=d,w.fromJSON=a,w.list=m,w.comment=t=>new f(t),w.atRule=t=>new l(t),w.decl=t=>new r(t),w.rule=t=>new y(t),w.root=t=>new v(t),w.document=t=>new u(t),w.CssSyntaxError=t,w.Declaration=r,w.Container=o,w.Document=u,w.Comment=f,w.Warning=c,w.AtRule=l,w.Result=p,w.Input=h,w.Rule=y,w.Root=v,w.Node=g,n.registerPostcss(w),b.exports=w,w.default=w}.call(this,O(6))},function(O,t,E){"use strict";!function(t){O.exports=n;var e=E(94),c=E(96),r=E(99),t="function"==typeof Symbol&&"1"!==t.env._nodeLRUCacheForceNoSymbol,t=t?function(t){return Symbol(t)}:function(t){return"_"+t},f=t("max"),l=t("length"),p=t("lengthCalculator"),h=t("allowStale"),d=t("maxAge"),s=t("dispose"),a=t("noDisposeOnSet"),m=t("lruList"),u=t("cache");function y(){return 1}function n(t){if(!(this instanceof n))return new n(t);"number"==typeof t&&(t={max:t}),t=t||{};var e=this[f]=t.max;(!e||"number"!=typeof e||e<=0)&&(this[f]=1/0);e=t.length||y;"function"!=typeof e&&(e=y),this[p]=e,this[h]=t.stale||!1,this[d]=t.maxAge||0,this[s]=t.dispose,this[a]=t.noDisposeOnSet||!1,this.reset()}function o(t,e,r,n){var o=r.value;v(t,o)&&(w(t,r),t[h]||(o=void 0)),o&&e.call(n,o.value,o.key,t)}function i(t,e,r){var n,e=t[u].get(e);return e&&(n=e.value,v(t,n)?(w(t,e),t[h]||(n=void 0)):r&&t[m].unshiftNode(e),n=n&&n.value),n}function v(t,e){if(e&&(e.maxAge||t[d])){var r=!1,n=Date.now()-e.now,r=e.maxAge?n>e.maxAge:t[d]&&n>t[d];return r}}function g(t){if(t[l]>t[f])for(var e=t[m].tail;t[l]>t[f]&&null!==e;){var r=e.prev;w(t,e),e=r}}function w(t,e){var r;e&&(r=e.value,t[s]&&t[s](r.key,r.value),t[l]-=r.length,t[u].delete(r.key),t[m].removeNode(e))}function b(t,e,r,n,o){this.key=t,this.value=e,this.length=r,this.now=n,this.maxAge=o||0}Object.defineProperty(n.prototype,"max",{set:function(t){(!t||"number"!=typeof t||t<=0)&&(t=1/0),this[f]=t,g(this)},get:function(){return this[f]},enumerable:!0}),Object.defineProperty(n.prototype,"allowStale",{set:function(t){this[h]=!!t},get:function(){return this[h]},enumerable:!0}),Object.defineProperty(n.prototype,"maxAge",{set:function(t){(!t||"number"!=typeof t||t<0)&&(t=0),this[d]=t,g(this)},get:function(){return this[d]},enumerable:!0}),Object.defineProperty(n.prototype,"lengthCalculator",{set:function(t){"function"!=typeof t&&(t=y),t!==this[p]&&(this[p]=t,this[l]=0,this[m].forEach(function(t){t.length=this[p](t.value,t.key),this[l]+=t.length},this)),g(this)},get:function(){return this[p]},enumerable:!0}),Object.defineProperty(n.prototype,"length",{get:function(){return this[l]},enumerable:!0}),Object.defineProperty(n.prototype,"itemCount",{get:function(){return this[m].length},enumerable:!0}),n.prototype.rforEach=function(t,e){e=e||this;for(var r=this[m].tail;null!==r;){var n=r.prev;o(this,t,r,e),r=n}},n.prototype.forEach=function(t,e){e=e||this;for(var r=this[m].head;null!==r;){var n=r.next;o(this,t,r,e),r=n}},n.prototype.keys=function(){return this[m].toArray().map(function(t){return t.key},this)},n.prototype.values=function(){return this[m].toArray().map(function(t){return t.value},this)},n.prototype.reset=function(){this[s]&&this[m]&&this[m].length&&this[m].forEach(function(t){this[s](t.key,t.value)},this),this[u]=new e,this[m]=new r,this[l]=0},n.prototype.dump=function(){return this[m].map(function(t){if(!v(this,t))return{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}},this).toArray().filter(function(t){return t})},n.prototype.dumpLru=function(){return this[m]},n.prototype.inspect=function(t,n){var o="LRUCache {",i=!1,e=this[h];e&&(o+="\n allowStale: true",i=!0);e=this[f];e&&e!==1/0&&(i&&(o+=","),o+="\n max: "+c.inspect(e,n),i=!0);var s=this[d];s&&(i&&(o+=","),o+="\n maxAge: "+c.inspect(s,n),i=!0);var a=this[p];a&&a!==y&&(i&&(o+=","),o+="\n length: "+c.inspect(this[l],n),i=!0);var u=!1;return this[m].forEach(function(t){u?o+=",\n ":(i&&(o+=",\n"),u=!0,o+="\n ");var e=c.inspect(t.key).split("\n").join("\n "),r={value:t.value};t.maxAge!==s&&(r.maxAge=t.maxAge),a!==y&&(r.length=t.length),v(this,t)&&(r.stale=!0),r=c.inspect(r,n).split("\n").join("\n "),o+=e+" => "+r}),(u||i)&&(o+="\n"),o+="}",o},n.prototype.set=function(t,e,r){r=r||this[d];var n=r?Date.now():0,o=this[p](e,t);if(this[u].has(t)){if(o>this[f])return w(this,this[u].get(t)),!1;var i=this[u].get(t),i=i.value;return this[s]&&(this[a]||this[s](t,i.value)),i.now=n,i.maxAge=r,i.value=e,this[l]+=o-i.length,i.length=o,this.get(t),g(this),!0}r=new b(t,e,o,n,r);return r.length>this[f]?(this[s]&&this[s](t,e),!1):(this[l]+=r.length,this[m].unshift(r),this[u].set(t,this[m].head),g(this),!0)},n.prototype.has=function(t){if(!this[u].has(t))return!1;t=this[u].get(t).value;return!v(this,t)},n.prototype.get=function(t){return i(this,t,!0)},n.prototype.peek=function(t){return i(this,t,!1)},n.prototype.pop=function(){var t=this[m].tail;return t?(w(this,t),t.value):null},n.prototype.del=function(t){w(this,this[u].get(t))},n.prototype.load=function(t){this.reset();for(var e=Date.now(),r=t.length-1;0<=r;r--){var n=t[r],o=n.e||0;0===o?this.set(n.k,n.v):(o=o-e,0<o&&this.set(n.k,n.v,o))}},n.prototype.prune=function(){var r=this;this[u].forEach(function(t,e){i(r,e,!1)})}}.call(this,E(6))},,function(t,e){var r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";let u=r(82),c=r(42);class s extends Error{constructor(t,e,r,n,o,i){super(t),this.name="CssSyntaxError",this.reason=t,o&&(this.file=o),n&&(this.source=n),i&&(this.plugin=i),void 0!==e&&void 0!==r&&(this.line=e,this.column=r),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,s)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file||"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let e=this.source;null==t&&(t=u.isColorSupported),c&&t&&(e=c(e));let r=e.split(/\r?\n/),n=Math.max(this.line-3,0);var o=Math.min(this.line+2,r.length);let i=String(o).length,s,a;if(t){let{bold:e,red:r,gray:n}=u.createColors(!0);s=t=>e(r(t)),a=t=>n(t)}else s=a=t=>t;return r.slice(n,o).map((t,e)=>{e=n+1+e;let r=" "+(" "+e).slice(-i)+" | ";if(e!==this.line)return" "+a(r)+t;e=a(r.replace(/\d/g," "))+t.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+a(r)+t+"\n "+e+s("^")}).join("\n")}toString(){let t=this.showSourceCode();return t=t&&"\n\n"+t+"\n",this.name+": "+this.message+t}}t.exports=s,s.default=s},function(t,e,r){"use strict";t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")},function(t,e,r){"use strict";let n=r(43);function o(t,e){let r=new n(e);r.stringify(t)}t.exports=o,o.default=o},function(t,e){},function(t,e){},function(t,e,r){"use strict";r=r(7);let n,o;class i extends r{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){let e=new n(new o,this,t);return e.stringify()}}i.registerLazyResult=t=>{n=t},i.registerProcessor=t=>{o=t},t.exports=i,i.default=i},function(t,e,r){"use strict";let n=r(7);class o extends n{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}}t.exports=o,o.default=o,n.registerAtRule(o)},function(t,e,r){"use strict";let n=r(7),o=r(50);class i extends n{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return o.comma(this.selector)}set selectors(t){var e=this.selector?this.selector.match(/,\s*/):null,e=e?e[0]:","+this.raw("between","beforeOpen");this.selector=t.join(e)}}t.exports=i,i.default=i,n.registerRule(i)},function(t,e,r){"use strict";var{SourceMapConsumer:n,SourceMapGenerator:o}=r(22);let{fileURLToPath:i,pathToFileURL:s}=r(46),{resolve:a,isAbsolute:u}=r(23),c=r(90)["nanoid"],f=r(42),l=r(19),p=r(51),h=Symbol("fromOffsetCache"),d=Boolean(n&&o),m=Boolean(a&&u);class y{constructor(t,e={}){if(null==t||"object"==typeof t&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,e.from&&(!m||/^\w+:\/\//.test(e.from)||u(e.from)?this.file=e.from:this.file=a(e.from)),m&&d){let t=new p(this.css,e);t.text&&(this.map=t,e=t.consumer().file,!this.file&&e&&(this.file=this.mapResolve(e)))}this.file||(this.id="<input css "+c(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,n;if(this[h])n=this[h];else{var o=this.css.split("\n");n=new Array(o.length);let r=0;for(let t=0,e=o.length;t<e;t++)n[t]=r,r+=o[t].length+1;this[h]=n}t=n[n.length-1];let r=0;if(t<=e)r=n.length-1;else{let t=n.length-2;for(var i;r<t;)if(i=r+(t-r>>1),e<n[i])t=i-1;else{if(!(e>=n[i+1])){r=i;break}r=i+1}}return{line:r+1,col:e-n[r]+1}}error(t,e,r,n={}){let o;r||(i=this.fromOffset(e),e=i.line,r=i.col);var i=this.origin(e,r);return o=i?new l(t,i.line,i.column,i.source,i.file,n.plugin):new l(t,e,r,this.css,this.file,n.plugin),o.input={line:e,column:r,source:this.css},this.file&&(s&&(o.input.url=s(this.file).toString()),o.input.file=this.file),o}origin(t,e){if(!this.map)return!1;let r=this.map.consumer();e=r.originalPositionFor({line:t,column:e});if(!e.source)return!1;let n;n=u(e.source)?s(e.source):new URL(e.source,this.map.consumer().sourceRoot||s(this.map.mapFile));let o={url:n.toString(),line:e.line,column:e.column};if("file:"===n.protocol){if(!i)throw new Error("file: protocol is not available in this PostCSS build");o.file=i(n)}e=r.sourceContentFor(e.source);return e&&(o.source=e),o}mapResolve(t){return/^\w+:\/\//.test(t)?t:a(this.map.consumer().sourceRoot||this.map.root||".",t)}get from(){return this.file||this.id}toJSON(){let t={};for(var e of["hasBOM","css","file","id"])null!=this[e]&&(t[e]=this[e]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}}t.exports=y,y.default=y,f&&f.registerInput&&f.registerInput(y)},,,,,function(t,e,r){"use strict";t.exports=function(r,n){return function(){for(var t=new Array(arguments.length),e=0;e<t.length;e++)t[e]=arguments[e];return r.apply(n,t)}}},function(t,e,r){"use strict";var o=r(3);function i(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var n,r=r?r(e):o.isURLSearchParams(e)?e.toString():(n=[],o.forEach(e,function(t,e){null!=t&&(o.isArray(t)?e+="[]":t=[t],o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),n.push(i(e)+"="+i(t))}))}),n.join("&"));return r&&(e=t.indexOf("#"),-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+r),t}},function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(a,t,u){"use strict";!function(t){var r=u(3),n=u(65),e={"Content-Type":"application/x-www-form-urlencoded"};function o(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var i,s={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t&&"[object process]"===Object.prototype.toString.call(t))&&(i=u(36)),i),transformRequest:[function(t,e){return n(e,"Accept"),n(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(o(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(o(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return 200<=t&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(t){s.headers[t]={}}),r.forEach(["post","put","patch"],function(t){s.headers[t]=r.merge(e)}),a.exports=s}.call(this,u(6))},function(t,e,u){"use strict";var c=u(3),f=u(66),l=u(33),p=u(68),h=u(71),d=u(72),m=u(37);t.exports=function(a){return new Promise(function(r,n){var o=a.data,i=a.headers;c.isFormData(o)&&delete i["Content-Type"];var s=new XMLHttpRequest;a.auth&&(e=a.auth.username||"",t=a.auth.password||"",i.Authorization="Basic "+btoa(e+":"+t));var t,e=p(a.baseURL,a.url);if(s.open(a.method.toUpperCase(),l(e,a.params,a.paramsSerializer),!0),s.timeout=a.timeout,s.onreadystatechange=function(){var t,e;s&&4===s.readyState&&(0!==s.status||s.responseURL&&0===s.responseURL.indexOf("file:"))&&(e="getAllResponseHeaders"in s?h(s.getAllResponseHeaders()):null,t=a.responseType&&"text"!==a.responseType?s.response:s.responseText,e={data:t,status:s.status,statusText:s.statusText,headers:e,config:a,request:s},f(r,n,e),s=null)},s.onabort=function(){s&&(n(m("Request aborted",a,"ECONNABORTED",s)),s=null)},s.onerror=function(){n(m("Network Error",a,null,s)),s=null},s.ontimeout=function(){var t="timeout of "+a.timeout+"ms exceeded";a.timeoutErrorMessage&&(t=a.timeoutErrorMessage),n(m(t,a,"ECONNABORTED",s)),s=null},c.isStandardBrowserEnv()&&(t=u(73),t=(a.withCredentials||d(e))&&a.xsrfCookieName?t.read(a.xsrfCookieName):void 0,t&&(i[a.xsrfHeaderName]=t)),"setRequestHeader"in s&&c.forEach(i,function(t,e){void 0===o&&"content-type"===e.toLowerCase()?delete i[e]:s.setRequestHeader(e,t)}),c.isUndefined(a.withCredentials)||(s.withCredentials=!!a.withCredentials),a.responseType)try{s.responseType=a.responseType}catch(t){if("json"!==a.responseType)throw t}"function"==typeof a.onDownloadProgress&&s.addEventListener("progress",a.onDownloadProgress),"function"==typeof a.onUploadProgress&&s.upload&&s.upload.addEventListener("progress",a.onUploadProgress),a.cancelToken&&a.cancelToken.promise.then(function(t){s&&(s.abort(),n(t),s=null)}),void 0===o&&(o=null),s.send(o)})}},function(t,e,r){"use strict";var i=r(67);t.exports=function(t,e,r,n,o){t=new Error(t);return i(t,e,r,n,o)}},function(t,e,r){"use strict";var a=r(3);t.exports=function(e,r){r=r||{};var n={},t=["url","method","params","data"],o=["headers","auth","proxy"],i=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];a.forEach(t,function(t){void 0!==r[t]&&(n[t]=r[t])}),a.forEach(o,function(t){a.isObject(r[t])?n[t]=a.deepMerge(e[t],r[t]):void 0!==r[t]?n[t]=r[t]:a.isObject(e[t])?n[t]=a.deepMerge(e[t]):void 0!==e[t]&&(n[t]=e[t])}),a.forEach(i,function(t){void 0!==r[t]?n[t]=r[t]:void 0!==e[t]&&(n[t]=e[t])});var s=t.concat(o).concat(i),i=Object.keys(r).filter(function(t){return-1===s.indexOf(t)});return a.forEach(i,function(t){void 0!==r[t]?n[t]=r[t]:void 0!==e[t]&&(n[t]=e[t])}),n}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t,e,r){"use strict";var n="object"==typeof Reflect?Reflect:null,u=n&&"function"==typeof n.apply?n.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};var o=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)},i=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(a,u){return new Promise(function(t,e){function r(t){a.removeListener(u,n),e(t)}function n(){"function"==typeof a.removeListener&&a.removeListener("error",r),t([].slice.call(arguments))}var o,i,s;y(a,u,n,{once:!0}),"error"!==u&&(o=a,i=r,s={once:!0},"function"==typeof o.on&&y(o,"error",i,s))})},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var a=10;function c(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function f(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function l(t,e,r,n){var o,i;return c(r),o=t._events,void 0===o?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener||r),o=t._events),i=o[e]),void 0===i?(i=o[e]=r,++t._eventsCount):("function"==typeof i?i=o[e]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),r=f(t),0<r&&i.length>r&&!i.warned&&(i.warned=!0,r=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit"),r.name="MaxListenersExceededWarning",r.emitter=t,r.type=e,r.count=i.length,r=r,console&&console.warn&&console.warn(r))),t}function p(t,e,r){t={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},e=function(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(t);return e.listener=r,t.wrapFn=e,e}function h(t,e,r){t=t._events;if(void 0===t)return[];e=t[e];return void 0===e?[]:"function"==typeof e?r?[e.listener||e]:[e]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(e):m(e,e.length)}function d(t){var e=this._events;if(void 0!==e){t=e[t];if("function"==typeof t)return 1;if(void 0!==t)return t.length}return 0}function m(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}function y(r,n,o,i){if("function"==typeof r.on)i.once?r.once(n,o):r.on(n,o);else{if("function"!=typeof r.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r);r.addEventListener(n,function t(e){i.once&&r.removeEventListener(n,t),o(e)})}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");a=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return f(this)},s.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n,o="error"===t,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){if(0<e.length&&(n=e[0]),n instanceof Error)throw n;o=new Error("Unhandled error."+(n?" ("+n.message+")":""));throw o.context=n,o}t=i[t];if(void 0===t)return!1;if("function"==typeof t)u(t,this,e);else for(var s=t.length,a=m(t,s),r=0;r<s;++r)u(a[r],this,e);return!0},s.prototype.addListener=function(t,e){return l(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return l(this,t,e,!0)},s.prototype.once=function(t,e){return c(e),this.on(t,p(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return c(e),this.prependListener(t,p(this,t,e)),this},s.prototype.removeListener=function(t,e){var r,n,o,i,s;if(c(e),n=this._events,void 0===n)return this;if(r=n[t],void 0===r)return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(o=-1,i=r.length-1;0<=i;i--)if(r[i]===e||r[i].listener===e){s=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,o),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,s||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,r=this._events;if(void 0===r)return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){for(var n,o=Object.keys(r),i=0;i<o.length;++i)n=o[i],"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(e=r[t],"function"==typeof e)this.removeListener(t,e);else if(void 0!==e)for(i=e.length-1;0<=i;i--)this.removeListener(t,e[i]);return this},s.prototype.listeners=function(t){return h(this,t,!0)},s.prototype.rawListeners=function(t){return h(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):d.call(t,e)},s.prototype.listenerCount=d,s.prototype.eventNames=function(){return 0<this._eventsCount?o(this._events):[]}},function(t,e,r){r=r(77),r=r.Symbol;t.exports=r},function(t,e){},function(t,e,r){"use strict";const s={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};t.exports=class{constructor(t){this.builder=t}stringify(t,e){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,e)}document(t){this.body(t)}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}comment(t){var e=this.raw(t,"left","commentLeft"),r=this.raw(t,"right","commentRight");this.builder("/*"+e+t.text+r+"*/",t)}decl(t,e){var r=this.raw(t,"between","colon");let n=t.prop+r+this.rawValue(t,"value");t.important&&(n+=t.raws.important||" !important"),e&&(n+=";"),this.builder(n,t)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}atrule(t,e){let r="@"+t.name;var n=t.params?this.rawValue(t,"params"):"";void 0!==t.raws.afterName?r+=t.raws.afterName:n&&(r+=" "),t.nodes?this.block(t,r+n):(e=(t.raws.between||"")+(e?";":""),this.builder(r+n+e,t))}body(e){let r=e.nodes.length-1;for(;0<r&&"comment"===e.nodes[r].type;)--r;var n=this.raw(e,"semicolon");for(let t=0;t<e.nodes.length;t++){var o=e.nodes[t],i=this.raw(o,"before");i&&this.builder(i),this.stringify(o,r!==t||n)}}block(t,e){var r=this.raw(t,"between","beforeOpen");this.builder(e+r+"{",t,"start");let n;n=t.nodes&&t.nodes.length?(this.body(t),this.raw(t,"after")):this.raw(t,"after","emptyBody"),n&&this.builder(n),this.builder("}",t,"end")}raw(t,e,r){let n;if(r=r||e,e&&(n=t.raws[e],void 0!==n))return n;var o=t.parent;if("before"===r){if(!o||"root"===o.type&&o.first===t)return"";if(o&&"document"===o.type)return""}if(!o)return s[r];let i=t.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(t,r);o="raw"+(o=r,o[0].toUpperCase()+o.slice(1));return this[o]?n=this[o](i,t):i.walk(t=>{if(n=t.raws[e],void 0!==n)return!1}),void 0===n&&(n=s[r]),i.rawCache[r]=n,n}rawSemicolon(t){let e;return t.walk(t=>{if(t.nodes&&t.nodes.length&&"decl"===t.last.type&&(e=t.raws.semicolon,void 0!==e))return!1}),e}rawEmptyBody(t){let e;return t.walk(t=>{if(t.nodes&&0===t.nodes.length&&(e=t.raws.after,void 0!==e))return!1}),e}rawIndent(r){if(r.raws.indent)return r.raws.indent;let n;return r.walk(t=>{var e=t.parent;if(e&&e!==r&&e.parent&&e.parent===r&&void 0!==t.raws.before){t=t.raws.before.split("\n");return n=t[t.length-1],n=n.replace(/\S/g,""),!1}}),n}rawBeforeComment(t,e){let r;return t.walkComments(t=>{if(void 0!==t.raws.before)return r=t.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),r=void 0===r?this.raw(e,null,"beforeDecl"):r&&r.replace(/\S/g,""),r}rawBeforeDecl(t,e){let r;return t.walkDecls(t=>{if(void 0!==t.raws.before)return r=t.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),r=void 0===r?this.raw(e,null,"beforeRule"):r&&r.replace(/\S/g,""),r}rawBeforeRule(e){let r;return e.walk(t=>{if(t.nodes&&(t.parent!==e||e.first!==t)&&void 0!==t.raws.before)return r=t.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),r=r&&r.replace(/\S/g,""),r}rawBeforeClose(t){let e;return t.walk(t=>{if(t.nodes&&0<t.nodes.length&&void 0!==t.raws.after)return e=t.raws.after,e.includes("\n")&&(e=e.replace(/[^\n]+$/,"")),!1}),e=e&&e.replace(/\S/g,""),e}rawBeforeOpen(t){let e;return t.walk(t=>{if("decl"!==t.type&&(e=t.raws.between,void 0!==e))return!1}),e}rawColon(t){let e;return t.walkDecls(t=>{if(void 0!==t.raws.between)return e=t.raws.between.replace(/[^\s:]/g,""),!1}),e}beforeAfter(t,e){let r;r="decl"===t.type?this.raw(t,null,"beforeDecl"):"comment"===t.type?this.raw(t,null,"beforeComment"):"before"===e?this.raw(t,null,"beforeRule"):this.raw(t,null,"beforeClose");let n=t.parent,o=0;for(;n&&"root"!==n.type;)o+=1,n=n.parent;if(r.includes("\n")){var i=this.raw(t,null,"indent");if(i.length)for(let t=0;t<o;t++)r+=i}return r}rawValue(t,e){var r=t[e],e=t.raws[e];return e&&e.value===r?e.raw:r}}},function(t,e,r){"use strict";let{isClean:a,my:o}=r(20),n=r(83),i=r(21),s=r(7),u=r(24);r(87);let c=r(47),f=r(49),l=r(9);const p={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},h={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},d={postcssPlugin:!0,prepare:!0,Once:!0};function m(t){return"object"==typeof t&&"function"==typeof t.then}function y(t){let e=!1;var r=p[t.type];return"decl"===t.type?e=t.prop.toLowerCase():"atrule"===t.type&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,0,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function v(t){let e;return e="document"===t.type?["Document",0,"DocumentExit"]:"root"===t.type?["Root",0,"RootExit"]:y(t),{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function g(t){return t[a]=!1,t.nodes&&t.nodes.forEach(t=>g(t)),t}let w={};class b{constructor(t,e,r){this.stringified=!1,this.processed=!1;let n;if("object"!=typeof e||null===e||"root"!==e.type&&"document"!==e.type)if(e instanceof b||e instanceof c)n=g(e.root),e.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=e.map);else{let t=f;r.syntax&&(t=r.syntax.parse),r.parser&&(t=r.parser),t.parse&&(t=t.parse);try{n=t(e,r)}catch(t){this.processed=!0,this.error=t}n&&!n[o]&&s.rebuild(n)}else n=g(e);this.result=new c(t,n,r),this.helpers={...w,result:this.result,postcss:w},this.plugins=this.processor.plugins.map(t=>"object"==typeof t&&t.prepare?{...t,...t.prepare(this.result)}:t)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(t,e){return this.async().then(t,e)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var t of this.plugins){t=this.runOnRoot(t);if(m(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[a];)t[a]=!0,this.walkSync(t);if(this.listeners.OnceExit)if("document"===t.type)for(var e of t.nodes)this.visitSync(this.listeners.OnceExit,e);else this.visitSync(this.listeners.OnceExit,t)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var t=this.result.opts;let e=i;t.syntax&&(e=t.syntax.stringify),t.stringifier&&(e=t.stringifier),e.stringify&&(e=e.stringify);let r=new n(e,this.result.root,this.result.opts);t=r.generate();return this.result.css=t[0],this.result.map=t[1],this.result}walkSync(t){t[a]=!0;var e,r=y(t);for(e of r)if(0===e)t.nodes&&t.each(t=>{t[a]||this.walkSync(t)});else{var n=this.listeners[e];if(n&&this.visitSync(n,t.toProxy()))return}}visitSync(t,e){for(var[r,n]of t){this.result.lastPlugin=r;let t;try{t=n(e,this.helpers)}catch(t){throw this.handleError(t,e.proxyOf)}if("root"!==e.type&&"document"!==e.type&&!e.parent)return!0;if(m(t))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"!==this.result.root.type)return e.Once(this.result.root,this.helpers);var t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return m(t[0])?Promise.all(t):t}if("function"==typeof e)return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,e){var r=this.result.lastPlugin;try{e&&e.addToError(t),this.error=t,"CssSyntaxError"!==t.name||t.plugin?r.postcssVersion:(t.plugin=r.postcssPlugin,t.setMessage())}catch(t){console&&console.error&&console.error(t)}return t}async runAsync(){this.plugin=0;for(let t=0;t<this.plugins.length;t++){var e=this.plugins[t],e=this.runOnRoot(e);if(m(e))try{await e}catch(t){throw this.handleError(t)}}if(this.prepareVisitors(),this.hasListener){let r=this.result.root;for(;!r[a];){r[a]=!0;for(var n=[v(r)];0<n.length;){var o=this.visitTick(n);if(m(o))try{await o}catch(t){o=n[n.length-1].node;throw this.handleError(t,o)}}}if(this.listeners.OnceExit)for(let[t,e]of this.listeners.OnceExit){this.result.lastPlugin=t;try{var i;"document"===r.type?(i=r.nodes.map(t=>e(t,this.helpers)),await Promise.all(i)):await e(r,this.helpers)}catch(t){throw this.handleError(t)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};var t,e=(t,e,r)=>{this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push([t,r])};for(t of this.plugins)if("object"==typeof t)for(var r in t){if(!h[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. `+`Try to update PostCSS (${this.processor.version} now).`);if(!d[r])if("object"==typeof t[r])for(var n in t[r])"*"===n?e(t,r,t[r][n]):e(t,r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=0<Object.keys(this.listeners).length}visitTick(e){let r=e[e.length-1],{node:n,visitors:o}=r;if("root"===n.type||"document"===n.type||n.parent){if(0<o.length&&r.visitorIndex<o.length){let[t,e]=o[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===o.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=t;try{return e(n.toProxy(),this.helpers)}catch(t){throw this.handleError(t,n)}}if(0!==r.iterator){var i=r.iterator;let t;for(;t=n.nodes[n.indexes[i]];)if(n.indexes[i]+=1,!t[a])return t[a]=!0,void e.push(v(t));r.iterator=0,delete n.indexes[i]}for(var t=r.events;r.eventIndex<t.length;){var s=t[r.eventIndex];if(r.eventIndex+=1,0===s)return void(n.nodes&&n.nodes.length&&(n[a]=!0,r.iterator=n.getIterator()));if(this.listeners[s])return void(r.visitors=this.listeners[s])}e.pop()}else e.pop()}}b.registerPostcss=t=>{w=t},t.exports=b,b.default=b,l.registerLazyResult(b),u.registerLazyResult(b)},function(t,N,k){"use strict";!function(t){
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
5
5
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
6
6
|
* @license MIT
|
|
7
7
|
*/
|
|
8
|
-
var a=k(84),i=k(85),s=k(86);function r(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,e){if(r()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=l.prototype):(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,r){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(t,e,r);if("number"!=typeof t)return n(this,t,e,r);if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return c(this,t)}function n(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);l.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=l.prototype):t=f(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!l.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(e,r);t=o(t,n);r=t.write(e,r);r!==n&&(t=t.slice(0,r));return t}(t,e,r):function(t,e){if(l.isBuffer(e)){var r=0|p(e.length);return(t=o(t,r),0===t.length)?t:(e.copy(t,0,0,r),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||function(t){return t!=t}(e.length)?o(t,0):f(t,e);if("Buffer"===e.type&&s(e.data))return f(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function c(t,e){if(u(e),t=o(t,e<0?0:0|p(e)),!l.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function f(t,e){var r=e.length<0?0:0|p(e.length);t=o(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function p(t){if(t>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function h(t,e){if(l.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return R(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return T(t).length;default:if(n)return R(t).length;e=(""+e).toLowerCase(),n=!0}}function e(t,e,r){var n,o,i,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";for(t=t||"utf8";;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0);(!r||r<0||n<r)&&(r=n);for(var o="",i=e;i<r;++i)o+=function(t){return t<16?"0"+t.toString(16):t.toString(16)}(t[i]);return o}(this,e,r);case"utf8":case"utf-8":return w(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}(this,e,r);case"base64":return n=this,o=e,i=r,0===o&&i===n.length?a.fromByteArray(n):a.fromByteArray(n.slice(o,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,e,r);default:if(s)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function d(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):2147483647<r?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=l.from(e,n)),l.isBuffer(e))return 0===e.length?-1:y(t,e,r,n,o);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?(o?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(t,e,r):y(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function y(t,e,r,n,o){var i=1,s=t.length,a=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;i=2,s/=2,a/=2,r/=2}function u(t,e){return 1===i?t[e]:t.readUInt16BE(e*i)}if(o)for(var c=-1,f=r;f<s;f++)if(u(t,f)===u(e,-1===c?0:f-c)){if(-1===c&&(c=f),f-c+1===a)return c*i}else-1!==c&&(f-=f-c),c=-1;else for(s<r+a&&(r=s-a),f=r;0<=f;f--){for(var l=!0,p=0;p<a;p++)if(u(t,f+p)!==u(e,p)){l=!1;break}if(l)return f}return-1}function v(t,e,r,n){return C(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function g(t,e,r,n){return C(function(t,e){for(var r,n,o=[],i=0;i<t.length&&!((e-=2)<0);++i)n=t.charCodeAt(i),r=n>>8,n=n%256,o.push(n),o.push(r);return o}(e,t.length-r),t,r,n)}function w(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,s,a,u,c=t[o],f=null,l=239<c?4:223<c?3:191<c?2:1;if(o+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:i=t[o+1],128==(192&i)&&(u=(31&c)<<6|63&i,127<u&&(f=u));break;case 3:i=t[o+1],s=t[o+2],128==(192&i)&&128==(192&s)&&(u=(15&c)<<12|(63&i)<<6|63&s,2047<u&&(u<55296||57343<u)&&(f=u));break;case 4:i=t[o+1],s=t[o+2],a=t[o+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&(u=(15&c)<<18|(63&i)<<12|(63&s)<<6|63&a,65535<u&&u<1114112&&(f=u))}null===f?(f=65533,l=1):65535<f&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),o+=l}return function(t){var e=t.length;if(e<=b)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=b));return r}(n)}N.Buffer=l,N.SlowBuffer=function(t){+t!=t&&(t=0);return l.alloc(+t)},N.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),N.kMaxLength=r(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,r){return n(null,t,e,r)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,r){return n=null,t=t,e=e,r=r,u(t),!(t<=0)&&void 0!==e?"string"==typeof r?o(n,t).fill(e,r):o(n,t).fill(e):o(n,t);var n},l.allocUnsafe=function(t){return c(null,t)},l.allocUnsafeSlow=function(t){return c(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!s(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);if(void 0===e)for(e=0,o=0;o<t.length;++o)e+=t[o].length;for(var r=l.allocUnsafe(e),n=0,o=0;o<t.length;++o){var i=t[o];if(!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,n),n+=i.length}return r},l.byteLength=h,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)d(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)d(this,e,e+3),d(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)d(this,e,e+7),d(this,e+1,e+6),d(this,e+2,e+5),d(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0==t?"":0===arguments.length?w(this,0,t):e.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",e=N.INSPECT_MAX_BYTES;return 0<this.length&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},l.prototype.compare=function(t,e,r,n,o){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(o<=n&&r<=e)return 0;if(o<=n)return-1;if(r<=e)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,s=r-e,a=Math.min(i,s),u=this.slice(n,o),c=t.slice(e,r),f=0;f<a;++f)if(u[f]!==c[f]){i=u[f],s=c[f];break}return i<s?-1:s<i?1:0},l.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},l.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},l.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},l.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||o<r)&&(r=o),0<t.length&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n=n||"utf8";for(var i,s,a,u,c=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var o=t.length-r;if(n?(n=Number(n),o<n&&(n=o)):n=o,o=e.length,o%2!=0)throw new TypeError("Invalid hex string");o/2<n&&(n=o/2);for(var i=0;i<n;++i){var s=parseInt(e.substr(2*i,2),16);if(isNaN(s))return i;t[r+i]=s}return i}(this,t,e,r);case"utf8":case"utf-8":return i=this,s=t,a=e,u=r,C(R(s,i.length-a),i,a,u);case"ascii":return v(this,t,e,r);case"latin1":case"binary":return v(this,t,e,r);case"base64":return s=this,i=t,a=e,u=r,C(T(i),s,a,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g(this,t,e,r);default:if(c)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),c=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var b=4096;function O(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(r<t+e)throw new RangeError("Trying to access beyond buffer length")}function E(t,e,r,n,o,i){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(o<e||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function x(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function S(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function A(t,e,r,n){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function P(t,e,r,n,o){return o||A(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function _(t,e,r,n,o){return o||A(t,0,r,8),i.write(t,e,r,n,52,8),r+8}l.prototype.slice=function(t,e){var r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):r<t&&(t=r),e<0?(e+=r,e<0&&(e=0)):r<e&&(e=r),e<t&&(e=t),l.TYPED_ARRAY_SUPPORT)o=this.subarray(t,e),o.__proto__=l.prototype;else for(var n=e-t,o=new l(n,void 0),i=0;i<n;++i)o[i]=this[i+t];return o},l.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},l.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=this[t+--e],o=1;0<e&&(o*=256);)n+=this[t+--e]*o;return n},l.prototype.readUInt8=function(t,e){return e||O(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||O(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||O(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return o*=128,o<=n&&(n-=Math.pow(2,8*e)),n},l.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=e,o=1,i=this[t+--n];0<n&&(o*=256);)i+=this[t+--n]*o;return o*=128,o<=i&&(i-=Math.pow(2,8*e)),i},l.prototype.readInt8=function(t,e){return e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||O(t,2,this.length);t=this[t]|this[t+1]<<8;return 32768&t?4294901760|t:t},l.prototype.readInt16BE=function(t,e){e||O(t,2,this.length);t=this[t+1]|this[t]<<8;return 32768&t?4294901760|t:t},l.prototype.readInt32LE=function(t,e){return e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||O(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||O(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||O(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||O(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,r,n){t=+t,e|=0,r|=0,n||(n=Math.pow(2,8*r)-1,E(this,t,e,r,n,0));var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},l.prototype.writeUIntBE=function(t,e,r,n){t=+t,e|=0,r|=0,n||(n=Math.pow(2,8*r)-1,E(this,t,e,r,n,0));var o=r-1,i=1;for(this[e+o]=255&t;0<=--o&&(i*=256);)this[e+o]=t/i&255;return e+r},l.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):x(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):x(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):S(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):S(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,r,n){t=+t,e|=0,n||(n=Math.pow(2,8*r-1),E(this,t,e,r,n-1,-n));var o=0,i=1,s=0;for(this[e]=255&t;++o<r&&(i*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/i>>0)-s&255;return e+r},l.prototype.writeIntBE=function(t,e,r,n){t=+t,e|=0,n||(n=Math.pow(2,8*r-1),E(this,t,e,r,n-1,-n));var o=r-1,i=1,s=0;for(this[e+o]=255&t;0<=--o&&(i*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/i>>0)-s&255;return e+r},l.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):x(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):x(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):S(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):S(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,r){return P(this,t,e,!0,r)},l.prototype.writeFloatBE=function(t,e,r){return P(this,t,e,!1,r)},l.prototype.writeDoubleLE=function(t,e,r){return _(this,t,e,!0,r)},l.prototype.writeDoubleBE=function(t,e,r){return _(this,t,e,!1,r)},l.prototype.copy=function(t,e,r,n){if(r=r||0,n||0===n||(n=this.length),e>=t.length&&(e=t.length),e=e||0,0<n&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;0<=o;--o)t[o+e]=this[o+r];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},l.prototype.fill=function(t,e,r,n){if("string"==typeof t){var o;if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length&&(o=t.charCodeAt(0),o<256&&(t=o)),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t=t||0,"number"==typeof t)for(a=e;a<r;++a)this[a]=t;else for(var i=l.isBuffer(t)?t:R(new l(t,n).toString()),s=i.length,a=0;a<r-e;++a)this[a+e]=i[a%s];return this};var j=/[^+\/0-9A-Za-z-_]/g;function R(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],s=0;s<n;++s){if(r=t.charCodeAt(s),55295<r&&r<57344){if(!o){if(56319<r){-1<(e-=3)&&i.push(239,191,189);continue}if(s+1===n){-1<(e-=3)&&i.push(239,191,189);continue}o=r;continue}if(r<56320){-1<(e-=3)&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&-1<(e-=3)&&i.push(239,191,189);if(o=null,r<128){if(--e<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function T(t){return a.toByteArray(function(t){var e;if(e=t,t=(e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")).replace(j,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function C(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}}.call(this,k(18))},function(t,e){},function(t,e,r){"use strict";let n=r(48);class o{constructor(t,e,r){this.processor=t,this.messages=[],this.root=e,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,e={}){e.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(e.plugin=this.lastPlugin.postcssPlugin);e=new n(t,e);return this.messages.push(e),e}warnings(){return this.messages.filter(t=>"warning"===t.type)}get content(){return this.css}}t.exports=o,o.default=o},function(t,e,r){"use strict";class n{constructor(t,e={}){for(var r in this.type="warning",this.text=t,e.node&&e.node.source&&(t=e.node.positionBy(e),this.line=t.line,this.column=t.column),e)this[r]=e[r]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}t.exports=n,n.default=n},function(t,e,r){"use strict";let n=r(7),o=r(88),i=r(27);function s(t,e){e=new i(t,e);let r=new o(e);try{r.parse()}catch(t){throw t}return r.root}t.exports=s,s.default=s,n.registerParse(s)},function(t,e,r){"use strict";let n={split(t,e,r){let n=[],o="",i=!1,s=0,a=!1,u=!1;for(var c of t)u?u=!1:"\\"===c?u=!0:a?c===a&&(a=!1):'"'===c||"'"===c?a=c:"("===c?s+=1:")"===c?0<s&&--s:0===s&&e.includes(c)&&(i=!0),i?(""!==o&&n.push(o.trim()),o="",i=!1):o+=c;return!r&&""===o||n.push(o.trim()),n},space(t){return n.split(t,[" ","\n","\t"])},comma(t){return n.split(t,[","],!0)}};t.exports=n,n.default=n},function(u,t,c){"use strict";!function(r){let{SourceMapConsumer:t,SourceMapGenerator:n}=c(22),{existsSync:e,readFileSync:o}=c(91),{dirname:i,join:s}=c(23);class a{constructor(t,e){!1!==e.map&&(this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:"),t=e.map?e.map.prev:void 0,t=this.loadMap(e.from,t),!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=i(this.mapFile)),t&&(this.text=t))}consumer(){return this.consumerCache||(this.consumerCache=new t(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&0<this.consumer().sourcesContent.length)}startWith(t,e){return!!t&&t.substr(0,e.length)===e}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(t){let e=t.match(/\/\*\s*# sourceMappingURL=/gm);var r,n;e&&(r=t.lastIndexOf(e.pop()),n=t.indexOf("*/",r),-1<r&&-1<n&&(this.annotation=this.getAnnotationURL(t.substring(r,n))))}decodeInline(t){var e;if(/^data:application\/json;charset=utf-?8,/.test(t)||/^data:application\/json,/.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(t)||/^data:application\/json;base64,/.test(t))return e=t.substr(RegExp.lastMatch.length),r?r.from(e,"base64").toString():window.atob(e);t=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+t)}loadFile(t){if(this.root=i(t),e(t))return this.mapFile=t,o(t,"utf-8").toString().trim()}loadMap(e,r){if(!1===r)return!1;if(r){if("string"==typeof r)return r;if("function"!=typeof r){if(r instanceof t)return n.fromSourceMap(r).toString();if(r instanceof n)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}{let t=r(e);if(t){r=this.loadFile(t);if(!r)throw new Error("Unable to load previous source map: "+t.toString());return r}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=s(i(e),t)),this.loadFile(t)}}}isMap(t){return"object"==typeof t&&("string"==typeof t.mappings||"string"==typeof t._mappings||Array.isArray(t.sections))}}u.exports=a,a.default=a}.call(this,c(45).Buffer)},function(t,e,r){var n=r(76),o=r(81);t.exports=function(t){return!!o(t)&&(t=n(t),"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}},function(t,e,r){"use strict";
|
|
8
|
+
var a=k(84),i=k(85),s=k(86);function r(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,e){if(r()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=l.prototype):(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,r){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(t,e,r);if("number"!=typeof t)return n(this,t,e,r);if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return c(this,t)}function n(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);l.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=l.prototype):t=f(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!l.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(e,r);t=o(t,n);r=t.write(e,r);r!==n&&(t=t.slice(0,r));return t}(t,e,r):function(t,e){if(l.isBuffer(e)){var r=0|p(e.length);return(t=o(t,r),0===t.length)?t:(e.copy(t,0,0,r),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||function(t){return t!=t}(e.length)?o(t,0):f(t,e);if("Buffer"===e.type&&s(e.data))return f(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function c(t,e){if(u(e),t=o(t,e<0?0:0|p(e)),!l.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function f(t,e){var r=e.length<0?0:0|p(e.length);t=o(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function p(t){if(t>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function h(t,e){if(l.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return R(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return C(t).length;default:if(n)return R(t).length;e=(""+e).toLowerCase(),n=!0}}function e(t,e,r){var n,o,i,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";for(t=t||"utf8";;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0);(!r||r<0||n<r)&&(r=n);for(var o="",i=e;i<r;++i)o+=function(t){return t<16?"0"+t.toString(16):t.toString(16)}(t[i]);return o}(this,e,r);case"utf8":case"utf-8":return w(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}(this,e,r);case"base64":return n=this,o=e,i=r,0===o&&i===n.length?a.fromByteArray(n):a.fromByteArray(n.slice(o,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,e,r);default:if(s)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function d(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):2147483647<r?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=l.from(e,n)),l.isBuffer(e))return 0===e.length?-1:y(t,e,r,n,o);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?(o?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(t,e,r):y(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function y(t,e,r,n,o){var i=1,s=t.length,a=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;i=2,s/=2,a/=2,r/=2}function u(t,e){return 1===i?t[e]:t.readUInt16BE(e*i)}if(o)for(var c=-1,f=r;f<s;f++)if(u(t,f)===u(e,-1===c?0:f-c)){if(-1===c&&(c=f),f-c+1===a)return c*i}else-1!==c&&(f-=f-c),c=-1;else for(s<r+a&&(r=s-a),f=r;0<=f;f--){for(var l=!0,p=0;p<a;p++)if(u(t,f+p)!==u(e,p)){l=!1;break}if(l)return f}return-1}function v(t,e,r,n){return T(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function g(t,e,r,n){return T(function(t,e){for(var r,n,o=[],i=0;i<t.length&&!((e-=2)<0);++i)n=t.charCodeAt(i),r=n>>8,n=n%256,o.push(n),o.push(r);return o}(e,t.length-r),t,r,n)}function w(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,s,a,u,c=t[o],f=null,l=239<c?4:223<c?3:191<c?2:1;if(o+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:i=t[o+1],128==(192&i)&&(u=(31&c)<<6|63&i,127<u&&(f=u));break;case 3:i=t[o+1],s=t[o+2],128==(192&i)&&128==(192&s)&&(u=(15&c)<<12|(63&i)<<6|63&s,2047<u&&(u<55296||57343<u)&&(f=u));break;case 4:i=t[o+1],s=t[o+2],a=t[o+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&(u=(15&c)<<18|(63&i)<<12|(63&s)<<6|63&a,65535<u&&u<1114112&&(f=u))}null===f?(f=65533,l=1):65535<f&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),o+=l}return function(t){var e=t.length;if(e<=b)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=b));return r}(n)}N.Buffer=l,N.SlowBuffer=function(t){+t!=t&&(t=0);return l.alloc(+t)},N.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),N.kMaxLength=r(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,r){return n(null,t,e,r)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,r){return n=null,t=t,e=e,r=r,u(t),!(t<=0)&&void 0!==e?"string"==typeof r?o(n,t).fill(e,r):o(n,t).fill(e):o(n,t);var n},l.allocUnsafe=function(t){return c(null,t)},l.allocUnsafeSlow=function(t){return c(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!s(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);if(void 0===e)for(e=0,o=0;o<t.length;++o)e+=t[o].length;for(var r=l.allocUnsafe(e),n=0,o=0;o<t.length;++o){var i=t[o];if(!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,n),n+=i.length}return r},l.byteLength=h,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)d(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)d(this,e,e+3),d(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)d(this,e,e+7),d(this,e+1,e+6),d(this,e+2,e+5),d(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0==t?"":0===arguments.length?w(this,0,t):e.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",e=N.INSPECT_MAX_BYTES;return 0<this.length&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},l.prototype.compare=function(t,e,r,n,o){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(o<=n&&r<=e)return 0;if(o<=n)return-1;if(r<=e)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,s=r-e,a=Math.min(i,s),u=this.slice(n,o),c=t.slice(e,r),f=0;f<a;++f)if(u[f]!==c[f]){i=u[f],s=c[f];break}return i<s?-1:s<i?1:0},l.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},l.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},l.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},l.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||o<r)&&(r=o),0<t.length&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n=n||"utf8";for(var i,s,a,u,c=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var o=t.length-r;if(n?(n=Number(n),o<n&&(n=o)):n=o,o=e.length,o%2!=0)throw new TypeError("Invalid hex string");o/2<n&&(n=o/2);for(var i=0;i<n;++i){var s=parseInt(e.substr(2*i,2),16);if(isNaN(s))return i;t[r+i]=s}return i}(this,t,e,r);case"utf8":case"utf-8":return i=this,s=t,a=e,u=r,T(R(s,i.length-a),i,a,u);case"ascii":return v(this,t,e,r);case"latin1":case"binary":return v(this,t,e,r);case"base64":return s=this,i=t,a=e,u=r,T(C(i),s,a,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g(this,t,e,r);default:if(c)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),c=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var b=4096;function O(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(r<t+e)throw new RangeError("Trying to access beyond buffer length")}function E(t,e,r,n,o,i){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(o<e||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function x(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function S(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function A(t,e,r,n){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function P(t,e,r,n,o){return o||A(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function _(t,e,r,n,o){return o||A(t,0,r,8),i.write(t,e,r,n,52,8),r+8}l.prototype.slice=function(t,e){var r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):r<t&&(t=r),e<0?(e+=r,e<0&&(e=0)):r<e&&(e=r),e<t&&(e=t),l.TYPED_ARRAY_SUPPORT)o=this.subarray(t,e),o.__proto__=l.prototype;else for(var n=e-t,o=new l(n,void 0),i=0;i<n;++i)o[i]=this[i+t];return o},l.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},l.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=this[t+--e],o=1;0<e&&(o*=256);)n+=this[t+--e]*o;return n},l.prototype.readUInt8=function(t,e){return e||O(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||O(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||O(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return o*=128,o<=n&&(n-=Math.pow(2,8*e)),n},l.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=e,o=1,i=this[t+--n];0<n&&(o*=256);)i+=this[t+--n]*o;return o*=128,o<=i&&(i-=Math.pow(2,8*e)),i},l.prototype.readInt8=function(t,e){return e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||O(t,2,this.length);t=this[t]|this[t+1]<<8;return 32768&t?4294901760|t:t},l.prototype.readInt16BE=function(t,e){e||O(t,2,this.length);t=this[t+1]|this[t]<<8;return 32768&t?4294901760|t:t},l.prototype.readInt32LE=function(t,e){return e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||O(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||O(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||O(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||O(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,r,n){t=+t,e|=0,r|=0,n||(n=Math.pow(2,8*r)-1,E(this,t,e,r,n,0));var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},l.prototype.writeUIntBE=function(t,e,r,n){t=+t,e|=0,r|=0,n||(n=Math.pow(2,8*r)-1,E(this,t,e,r,n,0));var o=r-1,i=1;for(this[e+o]=255&t;0<=--o&&(i*=256);)this[e+o]=t/i&255;return e+r},l.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):x(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):x(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):S(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):S(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,r,n){t=+t,e|=0,n||(n=Math.pow(2,8*r-1),E(this,t,e,r,n-1,-n));var o=0,i=1,s=0;for(this[e]=255&t;++o<r&&(i*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/i>>0)-s&255;return e+r},l.prototype.writeIntBE=function(t,e,r,n){t=+t,e|=0,n||(n=Math.pow(2,8*r-1),E(this,t,e,r,n-1,-n));var o=r-1,i=1,s=0;for(this[e+o]=255&t;0<=--o&&(i*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/i>>0)-s&255;return e+r},l.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):x(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):x(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):S(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):S(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,r){return P(this,t,e,!0,r)},l.prototype.writeFloatBE=function(t,e,r){return P(this,t,e,!1,r)},l.prototype.writeDoubleLE=function(t,e,r){return _(this,t,e,!0,r)},l.prototype.writeDoubleBE=function(t,e,r){return _(this,t,e,!1,r)},l.prototype.copy=function(t,e,r,n){if(r=r||0,n||0===n||(n=this.length),e>=t.length&&(e=t.length),e=e||0,0<n&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;0<=o;--o)t[o+e]=this[o+r];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},l.prototype.fill=function(t,e,r,n){if("string"==typeof t){var o;if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length&&(o=t.charCodeAt(0),o<256&&(t=o)),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t=t||0,"number"==typeof t)for(a=e;a<r;++a)this[a]=t;else for(var i=l.isBuffer(t)?t:R(new l(t,n).toString()),s=i.length,a=0;a<r-e;++a)this[a+e]=i[a%s];return this};var j=/[^+\/0-9A-Za-z-_]/g;function R(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],s=0;s<n;++s){if(r=t.charCodeAt(s),55295<r&&r<57344){if(!o){if(56319<r){-1<(e-=3)&&i.push(239,191,189);continue}if(s+1===n){-1<(e-=3)&&i.push(239,191,189);continue}o=r;continue}if(r<56320){-1<(e-=3)&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&-1<(e-=3)&&i.push(239,191,189);if(o=null,r<128){if(--e<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function C(t){return a.toByteArray(function(t){var e;if(e=t,t=(e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")).replace(j,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function T(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}}.call(this,k(18))},function(t,e){},function(t,e,r){"use strict";let n=r(48);class o{constructor(t,e,r){this.processor=t,this.messages=[],this.root=e,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,e={}){e.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(e.plugin=this.lastPlugin.postcssPlugin);e=new n(t,e);return this.messages.push(e),e}warnings(){return this.messages.filter(t=>"warning"===t.type)}get content(){return this.css}}t.exports=o,o.default=o},function(t,e,r){"use strict";class n{constructor(t,e={}){for(var r in this.type="warning",this.text=t,e.node&&e.node.source&&(t=e.node.positionBy(e),this.line=t.line,this.column=t.column),e)this[r]=e[r]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}t.exports=n,n.default=n},function(t,e,r){"use strict";let n=r(7),o=r(88),i=r(27);function s(t,e){e=new i(t,e);let r=new o(e);try{r.parse()}catch(t){throw t}return r.root}t.exports=s,s.default=s,n.registerParse(s)},function(t,e,r){"use strict";let n={split(t,e,r){let n=[],o="",i=!1,s=0,a=!1,u=!1;for(var c of t)u?u=!1:"\\"===c?u=!0:a?c===a&&(a=!1):'"'===c||"'"===c?a=c:"("===c?s+=1:")"===c?0<s&&--s:0===s&&e.includes(c)&&(i=!0),i?(""!==o&&n.push(o.trim()),o="",i=!1):o+=c;return!r&&""===o||n.push(o.trim()),n},space(t){return n.split(t,[" ","\n","\t"])},comma(t){return n.split(t,[","],!0)}};t.exports=n,n.default=n},function(u,t,c){"use strict";!function(r){let{SourceMapConsumer:t,SourceMapGenerator:n}=c(22),{existsSync:e,readFileSync:o}=c(91),{dirname:i,join:s}=c(23);class a{constructor(t,e){!1!==e.map&&(this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:"),t=e.map?e.map.prev:void 0,t=this.loadMap(e.from,t),!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=i(this.mapFile)),t&&(this.text=t))}consumer(){return this.consumerCache||(this.consumerCache=new t(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&0<this.consumer().sourcesContent.length)}startWith(t,e){return!!t&&t.substr(0,e.length)===e}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(t){let e=t.match(/\/\*\s*# sourceMappingURL=/gm);var r,n;e&&(r=t.lastIndexOf(e.pop()),n=t.indexOf("*/",r),-1<r&&-1<n&&(this.annotation=this.getAnnotationURL(t.substring(r,n))))}decodeInline(t){var e;if(/^data:application\/json;charset=utf-?8,/.test(t)||/^data:application\/json,/.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(t)||/^data:application\/json;base64,/.test(t))return e=t.substr(RegExp.lastMatch.length),r?r.from(e,"base64").toString():window.atob(e);t=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+t)}loadFile(t){if(this.root=i(t),e(t))return this.mapFile=t,o(t,"utf-8").toString().trim()}loadMap(e,r){if(!1===r)return!1;if(r){if("string"==typeof r)return r;if("function"!=typeof r){if(r instanceof t)return n.fromSourceMap(r).toString();if(r instanceof n)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}{let t=r(e);if(t){r=this.loadFile(t);if(!r)throw new Error("Unable to load previous source map: "+t.toString());return r}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=s(i(e),t)),this.loadFile(t)}}}isMap(t){return"object"==typeof t&&("string"==typeof t.mappings||"string"==typeof t._mappings||Array.isArray(t.sections))}}u.exports=a,a.default=a}.call(this,c(45).Buffer)},function(t,e,r){var n=r(76),o=r(81);t.exports=function(t){return!!o(t)&&(t=n(t),"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}},function(t,e,r){"use strict";
|
|
9
9
|
/*
|
|
10
10
|
object-assign
|
|
11
11
|
(c) Sindre Sorhus
|
|
12
12
|
@license MIT
|
|
13
13
|
*/var u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==n.join(""))return;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},o)).join("")?void 0:1}catch(t){return}}()?Object.assign:function(t,e){for(var r,n=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),o=1;o<arguments.length;o++){for(var i in r=Object(arguments[o]),r)c.call(r,i)&&(n[i]=r[i]);if(u)for(var s=u(r),a=0;a<s.length;a++)f.call(r,s[a])&&(n[s[a]]=r[s[a]])}return n}},function(t,e,r){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(n,"\\$&")}},function(t,e,r){"use strict";var n;r.d(e,"a",function(){return o}),e=n=n||{},e.manifest="manifest",e.performance="performance",e.error="error",e.api="api";var e=function(r){return function(t,e){return{type:r,error:t,meta:e}}},o={manifest:e(n.manifest),api:e(n.api),error:e(n.error),performance:e(n.performance)}},,,function(t,e,r){t.exports=r(100)},function(e,t,r){e=function(s){"use strict";var u,t=Object.prototype,c=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(t){i=function(t,e,r){return t[e]=r}}function a(t,e,r,n){var o,i,s,a,e=e&&e.prototype instanceof y?e:y,e=Object.create(e.prototype),n=new A(n||[]);return e._invoke=(o=t,i=r,s=n,a=l,function(t,e){if(a===h)throw new Error("Generator is already running");if(a===d){if("throw"===t)throw e;return _()}for(s.method=t,s.arg=e;;){var r=s.delegate;if(r){var n=function t(e,r){var n=e.iterator[r.method];if(n===u){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=u,t(e,r),"throw"===r.method))return m;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var n=f(n,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,m;n=n.arg;if(!n)return r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m;{if(!n.done)return n;r[e.resultName]=n.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=u)}r.delegate=null;return m}(r,s);if(n){if(n===m)continue;return n}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(a===l)throw a=d,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);a=h;n=f(o,i,s);if("normal"===n.type){if(a=s.done?d:p,n.arg!==m)return{value:n.arg,done:s.done}}else"throw"===n.type&&(a=d,s.method="throw",s.arg=n.arg)}}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}s.wrap=a;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",m={};function y(){}function v(){}function g(){}var w={};i(w,n,function(){return this});e=Object.getPrototypeOf,e=e&&e(e(P([])));e&&e!==t&&c.call(e,n)&&(w=e);var b=g.prototype=y.prototype=Object.create(w);function O(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function E(s,a){var e;this._invoke=function(r,n){function t(){return new a(function(t,e){!function e(t,r,n,o){t=f(s[t],s,r);if("throw"!==t.type){var i=t.arg,r=i.value;return r&&"object"==typeof r&&c.call(r,"__await")?a.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):a.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)})}o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}}function x(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(x,this),this.reset(!0)}function P(e){if(e){var t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,t=function t(){for(;++r<e.length;)if(c.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=u,t.done=!0,t};return t.next=t}}return{next:_}}function _(){return{value:u,done:!0}}return v.prototype=g,i(b,"constructor",g),i(g,"constructor",v),v.displayName=i(g,o,"GeneratorFunction"),s.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},s.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,i(t,o,"GeneratorFunction")),t.prototype=Object.create(b),t},s.awrap=function(t){return{__await:t}},O(E.prototype),i(E.prototype,r,function(){return this}),s.AsyncIterator=E,s.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new E(a(t,e,r,n),o);return s.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},O(b),i(b,o,"Generator"),i(b,n,function(){return this}),i(b,"toString",function(){return"[object Generator]"}),s.keys=function(r){var t,n=[];for(t in r)n.push(t);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},s.values=P,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&c.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0],t=t.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var s=c.call(o,"catchLoc"),a=c.call(o,"finallyLoc");if(s&&a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&c.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},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),m},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n,o=r.completion;return"throw"===o.type&&(n=o.arg,S(r)),n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=u),m}},s}(e.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},function(t,e,r){"use strict";var n=r(3),o=r(32),i=r(61),s=r(38),a=r(35);function u(t){var e=new i(t),t=o(i.prototype.request,e);return n.extend(t,i.prototype,e),n.extend(t,e),t}var c=u(a);c.Axios=i,c.create=function(t){return u(s(c.defaults,t))},c.Cancel=r(39),c.CancelToken=r(74),c.isCancel=r(34),c.all=function(t){return Promise.all(t)},c.spread=r(75),t.exports=c,t.exports.default=c},function(t,e,r){"use strict";var o=r(3),n=r(33),i=r(62),s=r(63),a=r(38);function u(t){this.defaults=t,this.interceptors={request:new i,response:new i}}u.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=a(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[s,void 0],r=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)r=r.then(e.shift(),e.shift());return r},u.prototype.getUri=function(t){return t=a(this.defaults,t),n(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],function(r){u.prototype[r]=function(t,e){return this.request(o.merge(e||{},{method:r,url:t}))}}),o.forEach(["post","put","patch"],function(n){u.prototype[n]=function(t,e,r){return this.request(o.merge(r||{},{method:n,url:t,data:e}))}}),t.exports=u},function(t,e,r){"use strict";var n=r(3);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,function(t){null!==t&&e(t)})},t.exports=o},function(t,e,r){"use strict";var n=r(3),o=r(64),i=r(34),s=r(35);function a(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(e){a(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]});var t=e.adapter||s.adapter;return t(e).then(function(t){return a(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return i(t)||(a(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(t,e,r){"use strict";var n=r(3);t.exports=function(e,r,t){return n.forEach(t,function(t){e=t(e,r)}),e}},function(t,e,r){"use strict";var o=r(3);t.exports=function(r,n){o.forEach(r,function(t,e){e!==n&&e.toUpperCase()===n.toUpperCase()&&(r[n]=t,delete r[e])})}},function(t,e,r){"use strict";var o=r(37);t.exports=function(t,e,r){var n=r.config.validateStatus;!n||n(r.status)?t(r):e(o("Request failed with status code "+r.status,r.config,null,r.request,r))}},function(t,e,r){"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,r){"use strict";var n=r(69),o=r(70);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},function(t,e,r){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,r){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,r){"use strict";var o=r(3),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,r,n={};return t&&o.forEach(t.split("\n"),function(t){r=t.indexOf(":"),e=o.trim(t.substr(0,r)).toLowerCase(),r=o.trim(t.substr(r+1)),e&&(n[e]&&0<=i.indexOf(e)||(n[e]="set-cookie"===e?(n[e]||[]).concat([r]):n[e]?n[e]+", "+r:r))}),n}},function(t,e,r){"use strict";var n,o,i,s=r(3);function a(t){return o&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}t.exports=s.isStandardBrowserEnv()?(o=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),n=a(window.location.href),function(t){t=s.isString(t)?a(t):t;return t.protocol===n.protocol&&t.host===n.host}):function(){return!0}},function(t,e,r){"use strict";var a=r(3);t.exports=a.isStandardBrowserEnv()?{write:function(t,e,r,n,o,i){var s=[];s.push(t+"="+encodeURIComponent(e)),a.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),a.isString(n)&&s.push("path="+n),a.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){t=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,r){"use strict";var n=r(39);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var r=this;t(function(t){r.reason||(r.reason=new n(t),e(r.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e,t=new o(function(t){e=t});return{token:t,cancel:e}},t.exports=o},function(t,e,r){"use strict";t.exports=function(e){return function(t){return e.apply(null,t)}}},function(t,e,r){var n=r(41),o=r(79),i=r(80),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":(s&&s in Object(t)?o:i)(t)}},function(t,e,r){var n=r(78),r="object"==typeof self&&self&&self.Object===Object&&self,r=n||r||Function("return this")();t.exports=r},function(e,t,r){!function(t){t="object"==typeof t&&t&&t.Object===Object&&t;e.exports=t}.call(this,r(18))},function(t,e,r){var n=r(41),r=Object.prototype,i=r.hasOwnProperty,s=r.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var o=s.call(t);return n&&(e?t[a]=r:delete t[a]),o}},function(t,e){var r=Object.prototype,n=r.toString;t.exports=function(t){return n.call(t)}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e){function r(){return{isColorSupported:!1,reset:n,bold:n,dim:n,italic:n,underline:n,inverse:n,hidden:n,strikethrough:n,black:n,red:n,green:n,yellow:n,blue:n,magenta:n,cyan:n,white:n,gray:n,bgBlack:n,bgRed:n,bgGreen:n,bgYellow:n,bgBlue:n,bgMagenta:n,bgCyan:n,bgWhite:n}}var n=String;t.exports=r(),t.exports.createColors=r},function(f,t,l){"use strict";!function(e){let{SourceMapConsumer:o,SourceMapGenerator:t}=l(22),{dirname:i,resolve:r,relative:n,sep:s}=l(23),a=l(46)["pathToFileURL"],u=Boolean(o&&t),c=Boolean(i&&r&&n&&s);f.exports=class{constructor(t,e,r){this.stringify=t,this.mapOpts=r.map||{},this.root=e,this.opts=r}isMap(){return void 0!==this.opts.map?!!this.opts.map:0<this.previous().length}previous(){return this.previousMaps||(this.previousMaps=[],this.root.walk(t=>{t.source&&t.source.input.map&&(t=t.source.input.map,this.previousMaps.includes(t)||this.previousMaps.push(t))})),this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var t=this.mapOpts.annotation;return(void 0===t||!0===t)&&(!this.previous().length||this.previous().some(t=>t.inline))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(t=>t.withContent())}clearAnnotation(){if(!1!==this.mapOpts.annotation){let e;for(let t=this.root.nodes.length-1;0<=t;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}}setSourcesContent(){let r={};this.root.walk(t=>{var e;t.source&&(e=t.source.input.from,e&&!r[e]&&(r[e]=!0,this.map.setSourceContent(this.toUrl(this.path(e)),t.source.input.css)))})}applyPrevMaps(){for(var e of this.previous()){var r=this.toUrl(this.path(e.file)),n=e.root||i(e.file);let t;!1===this.mapOpts.sourcesContent?(t=new o(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map(()=>null))):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(n)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(t=>t.annotation))}toBase64(t){return e?e.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}addAnnotation(){let t;t=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let e="\n";this.css.includes("\r\n")&&(e="\r\n"),this.css+=e+"/*# sourceMappingURL="+t+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),0<this.previous().length&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(t){if(0===t.indexOf("<"))return t;if(/^\w+:\/\//.test(t))return t;if(this.mapOpts.absolute)return t;let e=this.opts.to?i(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(e=i(r(e,this.mapOpts.annotation))),t=n(e,t),t}toUrl(t){return"\\"===s&&(t=t.replace(/\\/g,"/")),encodeURI(t).replace(/[#?]/g,encodeURIComponent)}sourcePath(t){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(a)return a(t.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(t.source.input.from))}generateString(){this.css="",this.map=new t({file:this.outputFile()});let n=1,o=1,i="<no source>",s={source:"",generated:{line:0,column:0},original:{line:0,column:0}},a,u;this.stringify(this.root,(t,e,r)=>{this.css+=t,e&&"end"!==r&&(s.generated.line=n,s.generated.column=o-1,e.source&&e.source.start?(s.source=this.sourcePath(e),s.original.line=e.source.start.line,s.original.column=e.source.start.column-1):(s.source=i,s.original.line=1,s.original.column=0),this.map.addMapping(s)),a=t.match(/\n/g),a?(n+=a.length,u=t.lastIndexOf("\n"),o=t.length-u):o+=t.length,e&&"start"!==r&&(r=e.parent||{raws:{}},"decl"===e.type&&e===r.last&&!r.raws.semicolon||(e.source&&e.source.end?(s.source=this.sourcePath(e),s.original.line=e.source.end.line,s.original.column=e.source.end.column-1,s.generated.line=n,s.generated.column=o-2):(s.source=i,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=o-1),this.map.addMapping(s)))})}generate(){if(this.clearAnnotation(),c&&u&&this.isMap())return this.generateMap();let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}}.call(this,l(45).Buffer)},function(t,e,r){"use strict";e.byteLength=function(t){var e=f(t),t=e[0],e=e[1];return 3*(t+e)/4-e},e.toByteArray=function(t){var e,r,n=f(t),o=n[0],n=n[1],i=new c(function(t,e){return 3*(t+e)/4-e}(o,n)),s=0,a=0<n?o-4:o;for(r=0;r<a;r+=4)e=u[t.charCodeAt(r)]<<18|u[t.charCodeAt(r+1)]<<12|u[t.charCodeAt(r+2)]<<6|u[t.charCodeAt(r+3)],i[s++]=e>>16&255,i[s++]=e>>8&255,i[s++]=255&e;2===n&&(e=u[t.charCodeAt(r)]<<2|u[t.charCodeAt(r+1)]>>4,i[s++]=255&e);1===n&&(e=u[t.charCodeAt(r)]<<10|u[t.charCodeAt(r+1)]<<4|u[t.charCodeAt(r+2)]>>2,i[s++]=e>>8&255,i[s++]=255&e);return i},e.fromByteArray=function(t){for(var e,r=t.length,n=r%3,o=[],i=0,s=r-n;i<s;i+=16383)o.push(function(t,e,r){for(var n,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(function(t){return a[t>>18&63]+a[t>>12&63]+a[t>>6&63]+a[63&t]}(n));return o.join("")}(t,i,s<i+16383?s:i+16383));1==n?(e=t[r-1],o.push(a[e>>2]+a[e<<4&63]+"==")):2==n&&(e=(t[r-2]<<8)+t[r-1],o.push(a[e>>10]+a[e>>4&63]+a[e<<2&63]+"="));return o.join("")};for(var a=[],u=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,i=n.length;o<i;++o)a[o]=n[o],u[n.charCodeAt(o)]=o;function f(t){var e=t.length;if(0<e%4)throw new Error("Invalid string. Length must be a multiple of 4");t=t.indexOf("=");-1===t&&(t=e);e=t===e?0:4-t%4;return[t,e]}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},function(t,e){
|
|
14
14
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
15
|
-
e.read=function(t,e,r,n,o){var i,s,a=8*o-n-1,u=(1<<a)-1,c=u>>1,f=-7,l=r?o-1:0,p=r?-1:1,r=t[e+l];for(l+=p,i=r&(1<<-f)-1,r>>=-f,f+=a;0<f;i=256*i+t[e+l],l+=p,f-=8);for(s=i&(1<<-f)-1,i>>=-f,f+=n;0<f;s=256*s+t[e+l],l+=p,f-=8);if(0===i)i=1-c;else{if(i===u)return s?NaN:1/0*(r?-1:1);s+=Math.pow(2,n),i-=c}return(r?-1:1)*s*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var s,a,u=8*i-o-1,c=(1<<u)-1,f=c>>1,l=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,h=n?1:-1,i=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(n=Math.pow(2,-s))<1&&(s--,n*=2),e+=1<=s+f?l/n:l*Math.pow(2,1-f),2<=e*n&&(s++,n/=2),c<=s+f?(a=0,s=c):1<=s+f?(a=(e*n-1)*Math.pow(2,o),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,o),s=0));8<=o;t[r+p]=255&a,p+=h,a/=256,o-=8);for(s=s<<o|a,u+=o;0<u;t[r+p]=255&s,p+=h,s/=256,u-=8);t[r+p-h]|=128*i}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){"use strict";let n={};t.exports=function(t){n[t]||(n[t]=!0,"undefined"!=typeof console&&console.warn&&console.warn(t))}},function(t,e,r){"use strict";let c=r(12),n=r(89),o=r(14),f=r(25),i=r(9),s=r(26);t.exports=class{constructor(t){this.input=t,this.root=new i,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:t,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=n(this.input)}parse(){for(var t;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t)}this.endFile()}comment(t){let e=new o;this.init(e,t[2]),e.source.end=this.getPosition(t[3]||t[2]);let r=t[1].slice(2,-2);/^\s*$/.test(r)?(e.text="",e.raws.left=r,e.raws.right=""):(t=r.match(/^(\s*)([^]*\S)(\s*)$/),e.text=t[2],e.raws.left=t[1],e.raws.right=t[3])}emptyRule(t){let e=new s;this.init(e,t[2]),e.selector="",e.raws.between="",this.current=e}other(t){let e=!1;var r;let n=!1,o=null,i=[];var s=t[1].startsWith("--");let a=[],u=t;for(;u;){if(r=u[0],a.push(u),"("===r||"["===r)o=o||u,i.push("("===r?")":"]");else if(s&&n&&"{"===r)o=o||u,i.push("}");else if(0===i.length){if(";"===r){if(n)return void this.decl(a,s);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),e=!0;break}":"===r&&(n=!0)}else r===i[i.length-1]&&(i.pop(),0===i.length&&(o=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(e=!0),0<i.length&&this.unclosedBracket(o),e&&n){for(;a.length&&(u=a[a.length-1][0],"space"===u||"comment"===u);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)}rule(t){t.pop();let e=new s;this.init(e,t[0][2]),e.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(e,"selector",t),this.current=e}decl(t,e){let o=new c;this.init(o,t[0][2]);var r=t[t.length-1];for(";"===r[0]&&(this.semicolon=!0,t.pop()),o.source.end=this.getPosition(r[3]||r[2]);"word"!==t[0][0];)1===t.length&&this.unknownWord(t),o.raws.before+=t.shift()[1];for(o.source.start=this.getPosition(t[0][2]),o.prop="";t.length;){var n=t[0][0];if(":"===n||"space"===n||"comment"===n)break;o.prop+=t.shift()[1]}o.raws.between="";let i;for(;t.length;){if(i=t.shift(),":"===i[0]){o.raws.between+=i[1];break}"word"===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),o.raws.between+=i[1]}"_"!==o.prop[0]&&"*"!==o.prop[0]||(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));var s=this.spacesAndCommentsFromStart(t);this.precheckMissedSemicolon(t);for(let n=t.length-1;0<=n;n--){if(i=t[n],"!important"===i[1].toLowerCase()){o.important=!0;var a=this.stringFrom(t,n),a=this.spacesFromEnd(t)+a;" !important"!==a&&(o.raws.important=a);break}if("important"===i[1].toLowerCase()){let e=t.slice(0),r="";for(let t=n;0<t;t--){var u=e[t][0];if(0===r.trim().indexOf("!")&&"space"!==u)break;r=e.pop()[1]+r}0===r.trim().indexOf("!")&&(o.important=!0,o.raws.important=r,t=e)}if("space"!==i[0]&&"comment"!==i[0])break}r=t.some(t=>"space"!==t[0]&&"comment"!==t[0]);this.raw(o,"value",t),r?o.raws.between+=s:o.value=s+o.value,o.value.includes(":")&&!e&&this.checkMissedSemicolon(t)}atrule(t){let e=new f;var r;e.name=t[1].slice(1),""===e.name&&this.unnamedAtrule(e,t),this.init(e,t[2]);let n,o,i=!1,s=!1,a=[],u=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),r=t[0],"("===r||"["===r?u.push("("===r?")":"]"):"{"===r&&0<u.length?u.push("}"):r===u[u.length-1]&&u.pop(),0===u.length){if(";"===r){e.source.end=this.getPosition(t[2]),this.semicolon=!0;break}if("{"===r){s=!0;break}if("}"===r){if(0<a.length){for(o=a.length-1,n=a[o];n&&"space"===n[0];)n=a[--o];n&&(e.source.end=this.getPosition(n[3]||n[2]))}this.end(t);break}a.push(t)}else a.push(t);if(this.tokenizer.endOfFile()){i=!0;break}}e.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(e.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(e,"params",a),i&&(t=a[a.length-1],e.source.end=this.getPosition(t[3]||t[2]),this.spaces=e.raws.between,e.raws.between="")):(e.raws.afterName="",e.params=""),s&&(e.nodes=[],this.current=e)}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){var e=this.input.fromOffset(t);return{offset:t,line:e.line,column:e.col}}init(t,e){this.current.push(t),t.source={start:this.getPosition(e),input:this.input},t.raws.before=this.spaces,this.spaces="","comment"!==t.type&&(this.semicolon=!1)}raw(e,t,r){var n,o,i,s,a=r.length;let u="",c=!0,f=/^([#.|])?(\w)+/i;for(let t=0;t<a;t+=1)n=r[t],o=n[0],"comment"!==o||"rule"!==e.type?"comment"===o||"space"===o&&t===a-1?c=!1:u+=n[1]:(i=r[t-1],o=r[t+1],"space"!==i[0]&&"space"!==o[0]&&f.test(i[1])&&f.test(o[1])?u+=n[1]:c=!1);c||(s=r.reduce((t,e)=>t+e[1],""),e.raws[t]={value:u,raw:s}),e[t]=u}spacesAndCommentsFromEnd(t){var e;let r="";for(;t.length&&(e=t[t.length-1][0],"space"===e||"comment"===e);)r=t.pop()[1]+r;return r}spacesAndCommentsFromStart(t){var e;let r="";for(;t.length&&(e=t[0][0],"space"===e||"comment"===e);)r+=t.shift()[1];return r}spacesFromEnd(t){var e;let r="";for(;t.length&&(e=t[t.length-1][0],"space"===e);)r=t.pop()[1]+r;return r}stringFrom(e,r){let n="";for(let t=r;t<e.length;t++)n+=e[t][1];return e.splice(r,e.length-r),n}colon(t){let e=0,r,n,o;for(var[i,s]of t.entries()){if(r=s,n=r[0],"("===n&&(e+=1),")"===n&&--e,0===e&&":"===n){if(o){if("word"===o[0]&&"progid"===o[1])continue;return i}this.doubleColon(r)}o=r}return!1}unclosedBracket(t){throw this.input.error("Unclosed bracket",t[2])}unknownWord(t){throw this.input.error("Unknown word",t[0][2])}unexpectedClose(t){throw this.input.error("Unexpected }",t[2])}unclosedBlock(){var t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}doubleColon(t){throw this.input.error("Double colon",t[2])}unnamedAtrule(t,e){throw this.input.error("At-rule without name",e[2])}precheckMissedSemicolon(){}checkMissedSemicolon(n){var o=this.colon(n);if(!1!==o){let e=0,r;for(let t=o-1;0<=t&&(r=n[t],"space"===r[0]||(e+=1,2!==e));t--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}}}},function(t,e,r){"use strict";const b="'".charCodeAt(0),O='"'.charCodeAt(0),E="\\".charCodeAt(0),x="/".charCodeAt(0),S="\n".charCodeAt(0),A=" ".charCodeAt(0),P="\f".charCodeAt(0),_="\t".charCodeAt(0),j="\r".charCodeAt(0),R="[".charCodeAt(0),T="]".charCodeAt(0),C="(".charCodeAt(0),N=")".charCodeAt(0),k="{".charCodeAt(0),L="}".charCodeAt(0),I=";".charCodeAt(0),U="*".charCodeAt(0),D=":".charCodeAt(0),M="@".charCodeAt(0),B=/[\t\n\f\r "#'()/;[\\\]{}]/g,F=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,W=/.[\n"'(/\\]/,z=/[\da-f]/i;t.exports=function(e,t={}){let n=e.css.valueOf(),o=t.ignoreErrors,i,s,a,u,c,f,l,p,h,d,m=n.length,y=0,v=[],g=[];function w(t){throw e.error("Unclosed "+t,y)}return{back:function(t){g.push(t)},nextToken:function(t){if(g.length)return g.pop();if(!(y>=m)){var e=!!t&&t.ignoreUnclosed;switch(i=n.charCodeAt(y),i){case S:case A:case _:case j:case P:for(s=y;s+=1,i=n.charCodeAt(s),i===A||i===S||i===_||i===j||i===P;);d=["space",n.slice(y,s)],y=s-1;break;case R:case T:case k:case L:case D:case I:case N:var r=String.fromCharCode(i);d=[r,r,y];break;case C:if(p=v.length?v.pop()[1]:"",h=n.charCodeAt(y+1),"url"===p&&h!==b&&h!==O&&h!==A&&h!==S&&h!==_&&h!==P&&h!==j){s=y;do{if(f=!1,s=n.indexOf(")",s+1),-1===s){if(o||e){s=y;break}w("bracket")}for(l=s;n.charCodeAt(l-1)===E;)--l,f=!f}while(f);d=["brackets",n.slice(y,s+1),y,s],y=s}else s=n.indexOf(")",y+1),u=n.slice(y,s+1),-1===s||W.test(u)?d=["(","(",y]:(d=["brackets",u,y,s],y=s);break;case b:case O:a=i===b?"'":'"',s=y;do{if(f=!1,s=n.indexOf(a,s+1),-1===s){if(o||e){s=y+1;break}w("string")}for(l=s;n.charCodeAt(l-1)===E;)--l,f=!f}while(f);d=["string",n.slice(y,s+1),y,s],y=s;break;case M:B.lastIndex=y+1,B.test(n),s=0===B.lastIndex?n.length-1:B.lastIndex-2,d=["at-word",n.slice(y,s+1),y,s],y=s;break;case E:for(s=y,c=!0;n.charCodeAt(s+1)===E;)s+=1,c=!c;if(i=n.charCodeAt(s+1),c&&i!==x&&i!==A&&i!==S&&i!==_&&i!==j&&i!==P&&(s+=1,z.test(n.charAt(s)))){for(;z.test(n.charAt(s+1));)s+=1;n.charCodeAt(s+1)===A&&(s+=1)}d=["word",n.slice(y,s+1),y,s],y=s;break;default:y=(i===x&&n.charCodeAt(y+1)===U?(s=n.indexOf("*/",y+2)+1,0===s&&(o||e?s=n.length:w("comment")),d=["comment",n.slice(y,s+1),y,s]):(F.lastIndex=y+1,F.test(n),s=0===F.lastIndex?n.length-1:F.lastIndex-2,d=["word",n.slice(y,s+1),y,s],v.push(d)),s)}return y++,d}},endOfFile:function(){return 0===g.length&&y>=m},position:function(){return y}}}},function(t,e,r){"use strict";r.r(e),r.d(e,"nanoid",function(){return o}),r.d(e,"customAlphabet",function(){return n});let n=(r,n)=>()=>{let t="",e=n;for(;e--;)t+=r[Math.random()*r.length|0];return t},o=(t=21)=>{let e="",r=t;for(;r--;)e+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return e}},function(t,e){},function(t,e,r){"use strict";let n=r(44),o=r(24),i=r(9);class s{constructor(t=[]){this.version="8.3.11",this.plugins=this.normalize(t)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}process(t,e={}){return 0!==this.plugins.length||void 0!==e.parser||void 0!==e.stringifier||void 0!==e.syntax||e.hideNothingWarning,new n(this,t,e)}normalize(t){let e=[];for(var r of t)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))e=e.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)e.push(r);else if("function"==typeof r)e.push(r);else{if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin")}return e}}t.exports=s,s.default=s,i.registerProcessor(s),o.registerProcessor(s)},function(t,e,r){"use strict";let i=r(12),s=r(51),a=r(14),u=r(25),c=r(27),f=r(9),l=r(26);function p(t,r){if(Array.isArray(t))return t.map(t=>p(t));let{inputs:e,...n}=t;if(e){r=[];for(var o of e){let t={...o,__proto__:c.prototype};t.map&&(t.map={...t.map,__proto__:s.prototype}),r.push(t)}}if(n.nodes&&(n.nodes=t.nodes.map(t=>p(t,r))),n.source){let{inputId:t,...e}=n.source;n.source=e,null!=t&&(n.source.input=r[t])}if("root"===n.type)return new f(n);if("decl"===n.type)return new i(n);if("rule"===n.type)return new l(n);if("comment"===n.type)return new a(n);if("atrule"===n.type)return new u(n);throw new Error("Unknown node type: "+t.type)}t.exports=p,p.default=p},function(e,t,r){!function(t){"pseudomap"===t.env.npm_package_name&&"test"===t.env.npm_lifecycle_script&&(t.env.TEST_PSEUDOMAP="true"),"function"!=typeof Map||t.env.TEST_PSEUDOMAP?e.exports=r(95):e.exports=Map}.call(this,r(6))},function(t,e){var s=Object.prototype.hasOwnProperty;function r(t){if(!(this instanceof r))throw new TypeError("Constructor PseudoMap requires 'new'");if(this.clear(),t)if(t instanceof r||"function"==typeof Map&&t instanceof Map)t.forEach(function(t,e){this.set(e,t)},this);else{if(!Array.isArray(t))throw new TypeError("invalid argument");t.forEach(function(t){this.set(t[0],t[1])},this)}}function a(t,e){return t===e||t!=t&&e!=e}function u(t,e,r){this.key=t,this.value=e,this._index=r}function n(t,e){for(var r=0,n="_"+e,o=n;s.call(t,o);o=n+r++)if(a(t[o].key,e))return t[o]}t.exports=r,r.prototype.forEach=function(e,r){r=r||this,Object.keys(this._data).forEach(function(t){"size"!==t&&e.call(r,this._data[t].value,this._data[t].key)},this)},r.prototype.has=function(t){return!!n(this._data,t)},r.prototype.get=function(t){t=n(this._data,t);return t&&t.value},r.prototype.set=function(t,e){!function(t,e,r){for(var n=0,o="_"+e,i=o;s.call(t,i);i=o+n++)if(a(t[i].key,e))return t[i].value=r;t.size++,t[i]=new u(e,r,i)}(this._data,t,e)},r.prototype.delete=function(t){t=n(this._data,t);t&&(delete this._data[t._index],this._data.size--)},r.prototype.clear=function(){var t=Object.create(null);t.size=0,Object.defineProperty(this,"_data",{value:t,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(r.prototype,"size",{get:function(){return this._data.size},set:function(t){},enumerable:!0,configurable:!0}),r.prototype.values=r.prototype.keys=r.prototype.entries=function(){throw new Error("iterators are not implemented in this version")}},function(t,j,R){!function(s){var e=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},a=/%[sdj%]/g;j.format=function(t){if(!v(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(u(arguments[r]));return e.join(" ")}for(var r=1,n=arguments,o=n.length,i=String(t).replace(a,function(t){if("%%"===t)return"%";if(o<=r)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}}),s=n[r];r<o;s=n[++r])m(s)||!c(s)?i+=" "+s:i+=" "+u(s);return i},j.deprecate=function(t,e){if(void 0!==s&&!0===s.noDeprecation)return t;if(void 0===s)return function(){return j.deprecate(t,e).apply(this,arguments)};var r=!1;return function(){if(!r){if(s.throwDeprecation)throw new Error(e);s.traceDeprecation?console.trace(e):console.error(e),r=!0}return t.apply(this,arguments)}};var t,n={};function u(t,e){var r={seen:[],stylize:i};return 3<=arguments.length&&(r.depth=arguments[2]),4<=arguments.length&&(r.colors=arguments[3]),d(e)?r.showHidden=e:e&&j._extend(r,e),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),f(r,t,r.depth)}function o(t,e){e=u.styles[e];return e?"["+u.colors[e][0]+"m"+t+"["+u.colors[e][1]+"m":t}function i(t,e){return t}function f(e,r,n){if(e.customInspect&&r&&E(r.inspect)&&r.inspect!==j.inspect&&(!r.constructor||r.constructor.prototype!==r)){var t=r.inspect(n,e);return v(t)||(t=f(e,t,n)),t}var o=function(t,e){if(g(e))return t.stylize("undefined","undefined");if(v(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return y(e)?t.stylize(""+e,"number"):d(e)?t.stylize(""+e,"boolean"):m(e)?t.stylize("null","null"):void 0}(e,r);if(o)return o;var i,s=Object.keys(r),a=(t=s,i={},t.forEach(function(t,e){i[t]=!0}),i);if(e.showHidden&&(s=Object.getOwnPropertyNames(r)),O(r)&&(0<=s.indexOf("message")||0<=s.indexOf("description")))return l(r);if(0===s.length){if(E(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(w(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(b(r))return e.stylize(Date.prototype.toString.call(r),"date");if(O(r))return l(r)}var o="",c=!1,t=["{","}"];return h(r)&&(c=!0,t=["[","]"]),E(r)&&(u=r.name?": "+r.name:"",o=" [Function"+u+"]"),w(r)&&(o=" "+RegExp.prototype.toString.call(r)),b(r)&&(o=" "+Date.prototype.toUTCString.call(r)),O(r)&&(o=" "+l(r)),0!==s.length||c&&0!=r.length?n<0?w(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),s=c?function(e,r,n,o,t){for(var i=[],s=0,a=r.length;s<a;++s)A(r,String(s))?i.push(p(e,r,n,o,String(s),!0)):i.push("");return t.forEach(function(t){t.match(/^\d+$/)||i.push(p(e,r,n,o,t,!0))}),i}(e,r,n,a,s):s.map(function(t){return p(e,r,n,a,t,c)}),e.seen.pop(),function(t,e,r){var n=t.reduce(function(t,e){return 0<=e.indexOf("\n")&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(60<n)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(s,o,t)):t[0]+o+t[1]}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,r,n,o,i){var s,a,e=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]};if(e.get?a=e.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):e.set&&(a=t.stylize("[Setter]","special")),A(n,o)||(s="["+o+"]"),a||(t.seen.indexOf(e.value)<0?(a=m(r)?f(t,e.value,null):f(t,e.value,r-1),-1<a.indexOf("\n")&&(a=i?a.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n"))):a=t.stylize("[Circular]","special")),g(s)){if(i&&o.match(/^\d+$/))return a;s=JSON.stringify(""+o),s=s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),t.stylize(s,"string"))}return s+": "+a}function h(t){return Array.isArray(t)}function d(t){return"boolean"==typeof t}function m(t){return null===t}function y(t){return"number"==typeof t}function v(t){return"string"==typeof t}function g(t){return void 0===t}function w(t){return c(t)&&"[object RegExp]"===r(t)}function c(t){return"object"==typeof t&&null!==t}function b(t){return c(t)&&"[object Date]"===r(t)}function O(t){return c(t)&&("[object Error]"===r(t)||t instanceof Error)}function E(t){return"function"==typeof t}function r(t){return Object.prototype.toString.call(t)}function x(t){return t<10?"0"+t.toString(10):t.toString(10)}j.debuglog=function(e){var r;return g(t)&&(t=s.env.NODE_DEBUG||""),e=e.toUpperCase(),n[e]||(new RegExp("\\b"+e+"\\b","i").test(t)?(r=s.pid,n[e]=function(){var t=j.format.apply(j,arguments);console.error("%s %d: %s",e,r,t)}):n[e]=function(){}),n[e]},j.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},j.isArray=h,j.isBoolean=d,j.isNull=m,j.isNullOrUndefined=function(t){return null==t},j.isNumber=y,j.isString=v,j.isSymbol=function(t){return"symbol"==typeof t},j.isUndefined=g,j.isRegExp=w,j.isObject=c,j.isDate=b,j.isError=O,j.isFunction=E,j.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},j.isBuffer=R(97);var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(t,e){return Object.prototype.hasOwnProperty.call(t,e)}j.log=function(){var t,e;console.log("%s - %s",(t=new Date,e=[x(t.getHours()),x(t.getMinutes()),x(t.getSeconds())].join(":"),[t.getDate(),S[t.getMonth()],e].join(" ")),j.format.apply(j,arguments))},j.inherits=R(98),j._extend=function(t,e){if(!e||!c(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function _(t,e){var r;return t||(r=new Error("Promise was rejected with a falsy value"),r.reason=t,t=r),e(t)}j.promisify=function(i){if("function"!=typeof i)throw new TypeError('The "original" argument must be of type Function');if(P&&i[P]){var t=i[P];if("function"!=typeof t)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var r,n,t=new Promise(function(t,e){r=t,n=e}),e=[],o=0;o<arguments.length;o++)e.push(arguments[o]);e.push(function(t,e){t?n(t):r(e)});try{i.apply(this,e)}catch(t){n(t)}return t}return Object.setPrototypeOf(t,Object.getPrototypeOf(i)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,e(i))},j.promisify.custom=P,j.callbackify=function(i){if("function"!=typeof i)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],e=0;e<arguments.length;e++)t.push(arguments[e]);var r=t.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");function n(){return r.apply(o,arguments)}var o=this;i.apply(this,t).then(function(t){s.nextTick(n,null,t)},function(t){s.nextTick(_,t,n)})}return Object.setPrototypeOf(t,Object.getPrototypeOf(i)),Object.defineProperties(t,e(i)),t}}.call(this,R(6))},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;function r(){}r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},function(t,e){function i(t){var e=this;if(e instanceof i||(e=new i),e.tail=null,e.head=null,e.length=0,t&&"function"==typeof t.forEach)t.forEach(function(t){e.push(t)});else if(0<arguments.length)for(var r=0,n=arguments.length;r<n;r++)e.push(arguments[r]);return e}function o(t,e,r,n){if(!(this instanceof o))return new o(t,e,r,n);this.list=n,this.value=t,e?(e.next=this,this.prev=e):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}t.exports=i,i.Node=o,i.create=i,i.prototype.removeNode=function(t){if(t.list!==this)throw new Error("removing node which does not belong to this list");var e=t.next,r=t.prev;e&&(e.prev=r),r&&(r.next=e),t===this.head&&(this.head=e),t===this.tail&&(this.tail=r),t.list.length--,t.next=null,t.prev=null,t.list=null},i.prototype.unshiftNode=function(t){var e;t!==this.head&&(t.list&&t.list.removeNode(t),e=this.head,t.list=this,t.next=e,e&&(e.prev=t),this.head=t,this.tail||(this.tail=t),this.length++)},i.prototype.pushNode=function(t){var e;t!==this.tail&&(t.list&&t.list.removeNode(t),e=this.tail,t.list=this,t.prev=e,e&&(e.next=t),this.tail=t,this.head||(this.head=t),this.length++)},i.prototype.push=function(){for(var t=0,e=arguments.length;t<e;t++)!function(t,e){t.tail=new o(e,t.tail,null,t),t.head||(t.head=t.tail);t.length++}(this,arguments[t]);return this.length},i.prototype.unshift=function(){for(var t=0,e=arguments.length;t<e;t++)!function(t,e){t.head=new o(e,null,t.head,t),t.tail||(t.tail=t.head);t.length++}(this,arguments[t]);return this.length},i.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}},i.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}},i.prototype.forEach=function(t,e){e=e||this;for(var r=this.head,n=0;null!==r;n++)t.call(e,r.value,n,this),r=r.next},i.prototype.forEachReverse=function(t,e){e=e||this;for(var r=this.tail,n=this.length-1;null!==r;n--)t.call(e,r.value,n,this),r=r.prev},i.prototype.get=function(t){for(var e=0,r=this.head;null!==r&&e<t;e++)r=r.next;if(e===t&&null!==r)return r.value},i.prototype.getReverse=function(t){for(var e=0,r=this.tail;null!==r&&e<t;e++)r=r.prev;if(e===t&&null!==r)return r.value},i.prototype.map=function(t,e){e=e||this;for(var r=new i,n=this.head;null!==n;)r.push(t.call(e,n.value,this)),n=n.next;return r},i.prototype.mapReverse=function(t,e){e=e||this;for(var r=new i,n=this.tail;null!==n;)r.push(t.call(e,n.value,this)),n=n.prev;return r},i.prototype.reduce=function(t,e){var r,n=this.head;if(1<arguments.length)r=e;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var o=0;null!==n;o++)r=t(r,n.value,o),n=n.next;return r},i.prototype.reduceReverse=function(t,e){var r,n=this.tail;if(1<arguments.length)r=e;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==n;o--)r=t(r,n.value,o),n=n.prev;return r},i.prototype.toArray=function(){for(var t=new Array(this.length),e=0,r=this.head;null!==r;e++)t[e]=r.value,r=r.next;return t},i.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,r=this.tail;null!==r;e++)t[e]=r.value,r=r.prev;return t},i.prototype.slice=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new i;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=0,o=this.head;null!==o&&n<t;n++)o=o.next;for(;null!==o&&n<e;n++,o=o.next)r.push(o.value);return r},i.prototype.sliceReverse=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new i;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=this.length,o=this.tail;null!==o&&e<n;n--)o=o.prev;for(;null!==o&&t<n;n--,o=o.prev)r.push(o.value);return r},i.prototype.reverse=function(){for(var t=this.head,e=this.tail,r=t;null!==r;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=e,this.tail=t,this}},function(t,e,r){"use strict";r.r(e),r.d(e,"createMicroApp",function(){return ce}),r.d(e,"getManifest",function(){return ye}),r.d(e,"getConfig",function(){return ge}),r.d(e,"getLocale",function(){return we}),r.d(e,"BaseLoader",function(){return Ir}),r.d(e,"Logger",function(){return kr}),r.d(e,"getAlfaEnv",function(){return ue.a}),r.d(e,"getAlfaLocale",function(){return ue.b}),r.d(e,"getReleaseUrl",function(){return ue.e}),r.d(e,"getConfigUrl",function(){return ue.c}),r.d(e,"resolveReleaseUrl",function(){return ue.h}),r.d(e,"resolveConfigUrl",function(){return ue.g}),r.d(e,"getURL",function(){return ue.f}),r.d(e,"getManifestFromConfig",function(){return ue.d}),r.d(e,"createEventBus",function(){return K}),r.d(e,"prefetch",function(){return ae}),r.d(e,"IAppConfig",function(){}),r.d(e,"IOptions",function(){}),r.d(e,"AlfaFactoryOption",function(){}),r.d(e,"AlfaConfig",function(){}),r.d(e,"IWin",function(){}),r.d(e,"AlfaEnvEnum",function(){}),r.d(e,"AlfaLogger",function(){return Ur});var u={};function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(u),r.d(u,"createEventBus",function(){return K}),r.d(u,"mountApp",function(){return Jt}),r.d(u,"isAppRegistered",function(){return Zt}),r.d(u,"start",function(){return Xt}),r.d(u,"load",function(){return Qt}),r.d(u,"destroy",function(){return te}),r.d(u,"update",function(){return ee}),r.d(u,"getExposedModule",function(){return re}),r.d(u,"loadExposedModule",function(){return ne}),r.d(u,"mount",function(){return oe}),r.d(u,"unmount",function(){return ie}),r.d(u,"createMicroApp",function(){return se}),r.d(u,"prefetch",function(){return ae});var p=r(1),o=r(0),h=r.n(o),a=r(8);function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){if(t){if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}function d(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||s(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function l(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),t}function m(t){try{e=new URL(t)}catch(t){return}var e=e.searchParams;return e?e.get("callback")||e.get("cb"):null}var y=function(t){setTimeout(function(){var e,r;t.src&&(e=t.ownerContext.window,r=m(t.src),r&&"function"==typeof e[r]&&(window[r]=function(){var t=e[r].apply(e,arguments);return window[r]=null,t}))},0)};if("function"==typeof window.Element)for(var v=0,g=["appendChild","insertBefore","append"];v<g.length;v++){var w=g[v],b=window.Element.prototype[w];window.Element.prototype[w]=function(o){return function(r){if(r&&r._evalScriptInSandbox&&r.ownerContext&&"SCRIPT"===r.nodeName&&r.src&&-1===r.ownerContext.allowResources.indexOf(r.src)&&!m(r.src))return r.ownerContext.loadScripts(r.src).then(function(){var t=r._listenerMap.get("load");t&&t.forEach(function(t){t()}),r.onload&&r.onload()}).catch(function(e){console.error(e);var t=r._listenerMap.get("error");t&&t.forEach(function(t){t(e)}),r.onerror&&r.onerror(e)});r&&"SCRIPT"===r.nodeName&&r.ownerContext&&y(r),r&&r.scriptText&&r.ownerContext.evalScript(r.scriptText);for(var t=arguments.length,e=new Array(1<t?t-1:0),n=1;n<t;n++)e[n-1]=arguments[n];try{return o.call.apply(o,[this,r].concat(e))}catch(t){return o.apply(this,[r].concat(e))}}}(b)}var O=window.addEventListener,E=window.removeEventListener,x=["webkitmouseforcedown","webkitmouseforcewillbegin","visibilitychange","error","mousemove","mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","close","cancel","copy","cut","paste","click","change","contextmenu","reset","submit","resize","scroll","foucs","blur"];function S(t){t=t.prototype&&t.prototype.constructor===t&&1<Object.getOwnPropertyNames(t.prototype).length||/^class\b/.test(t.toString());return t}function A(t){t=0===t.name.indexOf("bound ")&&!t.hasOwnProperty("prototype");return t}var P=["setTimeout","setInterval","clearInterval","clearTimeout"],_=["requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","cancelAnimationFrame","webkitCancelAnimationFrame","mozCancelAnimationFrame","oCancelAnimationFrame","msCancelAnimationFrame"],j=function t(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},a=1<arguments.length?arguments[1]:void 0,r=2<arguments.length?arguments[2]:void 0;f(this,t);var u=[].concat(_,d(e.externals||[])),c={};return P.forEach(function(t){u.includes(t)||(c[t]=r.contentWindow[t].bind(r.contentWindow))}),new Proxy(r.contentWindow,{set:function(t,e,r){return t[e]=r,c[e]=r,!0},get:function(t,e){if(u.includes(e)){var r=window[e];if("function"!=typeof r||A(r)||S(r))return r;var n,o=r.bind(window);for(n in r)o[n]=r[n];return o}switch(e){case"document":return a.document;case"location":return a.location;case"history":return a.history;case"__CONSOLE_OS_GLOBAL_VARS_":return c;case"addEventListener":return s=a,function(t,e,r){var n=s._listenerMap.get(t)||[];return s._listenerMap.set(t,[].concat(d(n),[e])),-1===x.indexOf(t)?s.baseFrame.addEventListener.apply(s.baseFrame.contentWindow,[t,e,r]):O.apply(window,[t,e,r])};case"removeEventListener":return i=a,function(t,e,r){var n=i._listenerMap.get(t);return n&&n.length&&-1!==n.indexOf(e)&&n.splice(n.indexOf(e),1),-1===x.indexOf(t)?i.baseFrame.removeEventListener.apply(i.baseFrame.contentWindow,[t,e,r]):E.apply(window,[t,e,r])}}var i,s;if(c[e])return c[e];e=t[e];return"function"!=typeof e||A(e)||S(e)?e:e.bind&&e.bind(t)}})},R=j,T=function(o,i){return function(t,e,r){var n=o._listenerMap.get(t)||[];return o._listenerMap.set(t,[].concat(d(n),[e])),i.apply(o,[t,e,r])}},C=function(o,i){return function(t,e,r){var n=o._listenerMap.get(t);return n&&n.length&&-1!==n.indexOf(e)&&n.splice(n.indexOf(e),1),i.apply(o,[t,e,r])}},N=["innerHTML","text","innerText"];function k(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return L(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,e=function(){};return{s:e,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var I=function t(){var r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},o=1<arguments.length?arguments[1]:void 0;f(this,t);var i=[];return new Proxy(document,{set:function(t,e,r){return"cookie"===e?document.cookie=r:t[e]=r,!0},get:function(n,t){switch(t){case"body":return o.body;case"location":return o.location;case"defaultView":return o.window;case"write":case"writeln":return function(){};case"createElement":return function(){var e,t=(t=document).createElement.apply(t,arguments);return t.ownerContext=o,t.appId=r.id,"SCRIPT"!==t.tagName||r.enableScriptEscape||(t._evalScriptInSandbox=!0,e=t,e._listenerMap=new Map,e.addEventListener=T(e,e.addEventListener),e.removeEventListener=C(e,e.removeEventListener),N.forEach(function(t){Object.defineProperty(e,t,{get:function(){return this.scriptText||""},set:function(t){this.scriptText=t,e.parentNode&&this.ownerContext.evalScript&&e.ownerContext.evalScript(t.toString())},enumerable:!1})})),t};case"addEventListener":return function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return i.push(e),n.addEventListener.apply(n,e)};case"removeEventListeners":return function(){var t,e=k(i);try{for(e.s();!(t=e.n()).done;){var r=t.value;n.removeEventListener.apply(n,d(r))}}catch(t){e.e(t)}finally{e.f()}}}return"function"==typeof n[t]?n[t].bind&&n[t].bind(n):n[t]}})},U=I,D=function t(n){return f(this,t),new Proxy({},{set:function(t,e,r){return"href"===e||(n[e]=r),!0},get:function(t,e){switch(e){case"reload":case"replace":return function(){};case"toString":return function(){try{return n.toString()}catch(t){return n.href}}}return"function"==typeof n[e]?n[e].bind&&n[e].bind(t):n[e]}})},M=D,B=function t(e,o){if(f(this,t),!e)return o.history;function i(){o.postMessage({type:"".concat(e,":history-change"),data:JSON.parse(JSON.stringify(o.location))},"*")}var s=o.history.pushState,a=o.history.replaceState;return o.history.pushState=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=s.apply(o.history,[].concat(e));return i(),n},o.history.replaceState=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=a.apply(o.history,[].concat(e));return i(),n},o.history},F=B;function W(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var e=function(){function n(t,e){f(this,n),this.location=new M(e.contentWindow.location),this.history=new F(t.id,e.contentWindow),this.window=new R(t,this,e,location),this.allowResources=t.allowResources||[];var r=t.body;t.disableBody?r=document.body:t.body||(r=document.createElement("body"),document.documentElement.appendChild(r)),this.body=r,this.document=new U(z({enableScriptEscape:!0},t),this,e,location),this.baseFrame=e,this._listenerMap=new Map,this.window.__IS_CONSOLE_OS_CONTEXT__=!0}var e,r;return l(n,[{key:"loadScripts",value:(r=Object(p.a)(h.a.mark(function t(r){var n;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(r,{credentials:(e=r,e.includes("console.aliyun.com")?"include":"omit")});case 2:return n=t.sent,t.next=5,n.text();case 5:n=t.sent,this.evalScript(n,r);case 7:case"end":return t.stop()}var e},t,this)})),function(t){return r.apply(this,arguments)})},{key:"evalScript",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",e=new Function("\n return function ({window, location, history, document}){ \n with(window.__CONSOLE_OS_GLOBAL_VARS_) {\n try {\n ".concat(t,"\n }\n catch(e) {\n console.log(e)\n }\n }\n }//@ sourceMappingURL=").concat(e));e().call(this.window,z({},this))}},{key:"updateBody",value:function(t){this.body=t}},{key:"remove",value:function(){this.document.removeEventListeners(),this.baseFrame&&(this.baseFrame.parentNode?this.baseFrame.parentNode.removeChild(this.baseFrame):this.baseFrame.setAttribute("src","about:blank"))}}],[{key:"create",value:function(r){var n=this;return new Promise(function(t){var e=document.createElement("iframe");if(e.setAttribute("src",r.url||"/api.json"),e.style.cssText="position: absolute; top: -20000px; width: 100%; height: 1px;",document.body.appendChild(e),"about:blank"===r.url)return t(new n(r,e));e.onload=function(){t(new n(r,e))}})}},{key:"remove",value:(e=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.remove&&e.remove();case 1:case"end":return t.stop()}},t)})),function(t){return e.apply(this,arguments)})}]),n}(),H=e;var G=function(){var t=Object(p.a)(h.a.mark(function t(){var e,r=arguments;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<r.length&&void 0!==r[0]?r[0]:{},t.next=3,H.create(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}(),Y=function(){var e=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,H.remove(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),$=r(2);function V(t){return V="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},V(t)}var o=r(40),q=new o.EventEmitter,K=function(){try{return void 0!==("undefined"==typeof _aliOSKernel?"undefined":V(_aliOSKernel))&&_aliOSKernel.createEventBus?_aliOSKernel.createEventBus():q}catch(t){}return q};function J(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}var Z=function(){function o(t,e){var n=this;f(this,o),this.cache=new Map,this.resolved=function(t){return n.cache.has(t)},this.require=function(t){var e,r=n.resolveModule(t);return(null===(e=n.context)||void 0===e?void 0:e.window[t])||r.exports},this.id=t,this.exports={},this.parent=e,this.filename=t,this.loaded=!1}return l(o,[{key:"requireIsolateWithContext",value:function(t,e){t=this.resolveModule(t);return t.resolver(t.require,t,t.exports,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e)),t.exports}},{key:"resolveModule",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,r=this.cache.get(t);if(void 0!==r)return r;e=new o(t,e);return this.cache.set(t,e),e}}]),o}();Z.record=new Map;var X=new Z("main",null),Q=function t(){f(this,t)};function tt(t,e,r){e.onerror=e.onload=null,clearTimeout(r);r=Z.record.get(t);t&&t.endsWith&&!t.endsWith("_scripts_")&&r&&!r.loaded&&Z.record.delete(t)}function et(t,e,r){var n=Z.record.get(t);tt(t,e,r),n&&n.reject(new Error("script load fail"))}function rt(){return rt=Object(p.a)(h.a.mark(function t(e,r,n){var o;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(r);case 2:return o=t.sent,t.next=5,o.text();case 5:o=t.sent,window.eval("__CONSOLE_OS_GLOBAL_HOOK__('".concat(e.replace("_scripts_",""),"', function(require, module, exports, {window, location, history, document}){\n with(window.__CONSOLE_OS_GLOBAL_VARS_){\n ").concat(n(o),"\n }\n })"));case 7:case"end":return t.stop()}},t)})),rt.apply(this,arguments)}function nt(){return ot.apply(this,arguments)}function ot(){return ot=Object(p.a)(h.a.mark(function t(r){var e,n,o;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r.transform||(r.transform=function(t){return t}),r.noCache||!X.resolved(r.id)){t.next=5;break}if(r.context)return t.abrupt("return",X.requireIsolateWithContext(r.id,r.context));t.next=4;break;case 4:return t.abrupt("return",X.require(r.id));case 5:return e=[],n=Z.record.get(r.id),n&&n.loaded||(n?e.push(n.promise):(o=new Promise(function(t,e){n=new Q,n.resolve=t,n.reject=e,n.context=r.context,n.deps=r.deps,Z.record.set(r.id,n)}),n.promise=o,e.push(o),r.xmlrequest?function(){rt.apply(this,arguments)}(r.id,r.url,r.transform):function(t,e){var r=document.createElement("script");r.charset="utf-8",r.src=e,r.setAttribute("nonce","");var n=window.setTimeout(function(){et(t,r,n)},12e4);r.onerror=function(){et(t,r,n)},r.onload=function(){tt(t,r,n)},document.head.appendChild(r)}(r.id,r.url))),t.next=10,Promise.all(e);case 10:return t.abrupt("return",X.require(r.id));case 11:case"end":return t.stop()}},t)})),ot.apply(this,arguments)}function it(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}(t,e)||s(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var j=r(52),st=r.n(j);function at(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var ct=function(t,e){var r=e.context;return st()(e.context)&&(r=r({id:t})),r},ft=null;function lt(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function pt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ht(){return dt.apply(this,arguments)}function dt(){return dt=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t)})),dt.apply(this,arguments)}function mt(){return yt.apply(this,arguments)}function yt(){return yt=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt(pt(pt({},e),{},{id:"".concat(e.id,"_scripts_"),noCache:!0}));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t)})),yt.apply(this,arguments)}window.__CONSOLE_OS_GLOBAL_HOOK__&&void 0!==("undefined"==typeof document?"undefined":V(document))&&(ft=window.__CONSOLE_OS_GLOBAL_HOOK__),window.__CONSOLE_OS_GLOBAL_HOOK__=function(t,e){if(t&&e){var r=Z.record.get(t),n=Z.record.get("".concat(t,"_scripts_"));if(!r&&!n)return s=t,a=e,void(ft&&!ft.standalone&&ft(s,a));if(n)return function(t,e,r){try{var n=ct(t,r);e.call(n.window,void 0,void 0,void 0,ut({},n)),Z.record.delete("".concat(t,"_scripts_")),r.loaded=!0,r.resolve()}catch(t){r.reject(t)}}(t,e,n);if(r){var o=X.resolveModule(t);try{var i=ct(t,r);r.deps&&Object.entries(r.deps).forEach(function(t){var e=it(t,2),t=e[0],e=e[1];e||console.warn("".concat(t," is null or undefined, please check the import statement for ").concat(t));t=o.resolveModule(t);t.exports=e}),o.resolver=e,i=i||X.context,o.context=i,e(o.require,o,o.exports,ut({},i)),r.resolve(r)}catch(t){r.reject(t)}r.loaded=!0}}var s,a};var I=r(5),vt=r.n(I),D=r(15),gt=r.n(D),B=r(53),wt=r.n(B),e=r(54),bt=r.n(e);var Ot={repeat:3,overrideIds:!0,stackableRoot:":not(#\\9)"},Et=gt.a.plugin("postcss-css-wrapper",function(t){var n=wt()({},Ot,t);return function(t){t.walkRules(function(t){var e,r="atrule"===t.parent.type&&"keyframes"===t.parent.name;r||(t=t,e=n,t.selectors=t.selectors.map(function(t){return"html"===t||":root"===t||":host"===t||t===e.stackableRoot?t+e.stackableRoot.repeat(e.repeat):e.stackableRoot.repeat(e.repeat)+" "+t}),e.overrideIds&&(new RegExp("#(?!"+bt()("\\9")+")").test(t.selector)||/\[id/.test(t.selector))&&t.walkDecls(function(t){t.important=!0}))})}}),xt=r(10);function St(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function At(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?St(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):St(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Pt(t){return"string"==typeof t.manifest?t.manifest:location.href}var _t=function(){var r=Object(p.a)(h.a.mark(function t(e,r){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.url){t.next=2;break}return t.abrupt("return",Promise.resolve(null));case 2:return t.t0=$.a,t.next=5,ht({id:e.name,url:e.url,context:r});case 5:return t.t1=t.sent,t.abrupt("return",(0,t.t0)(t.t1));case 7:case"end":return t.stop()}},t)}));return function(t,e){return r.apply(this,arguments)}}(),jt=function(){var r=Object(p.a)(h.a.mark(function t(e,r){var n,o,i,s,a,u,c,f,l;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.name,o=e.url,i=null,e.manifest)return t.next=5,Object(xt.a)(e,e.name);t.next=36;break;case 5:if(s=t.sent,!s){t.next=36;break}if(n=s.name,c=Object(xt.b)(s),a=c.js,u=c.css,s.runtime)return t.next=12,_t(s.runtime,{window:window,document:document,location:location,history:history});t.next=14;break;case 12:c=t.sent,c&&(e.deps=c);case 14:if(!s.externals||!s.externals.length){t.next=27;break}f=0;case 16:if(!(f<s.externals.length)){t.next=27;break}if(s.externals[f].startsWith&&s.externals[f].startsWith("http")){t.next=19;break}return t.abrupt("continue",24);case 19:if(s.externals[f].endsWith(".css"))return function(t,n){t.forEach(function(){var e=Object(p.a)(h.a.mark(function t(e){var r;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,vt.a.get(e);case 2:return r=t.sent,t.abrupt("return",gt()([Et({stackableRoot:n,repeat:1,overrideIds:!1})]).process(r.data).then(function(t){var e=document.createElement("style");e.innerHTML=t.css,document.head.appendChild(e)}));case 4:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}())}([s.externals[f]],e.name),t.abrupt("continue",24);t.next=22;break;case 22:return t.next=24,mt({id:n,url:s.externals[f],context:r,xmlrequest:!0});case 24:f++,t.next=16;break;case 27:f=0;case 28:if(f<a.length-1)return t.next=31,mt({id:n,url:Object($.c)(a[f],Pt(e)),context:r});t.next=34;break;case 31:f++,t.next=28;break;case 34:o=Object($.c)(a[a.length-1],Pt(e)),i=u;case 36:return i&&function(t,r){t.forEach(function(t){var e=document.createElement("link");e.rel="stylesheet",e.href=Object($.c)(t,r),document.head.appendChild(e)})}(i,Pt(e)),t.t0=$.a,t.next=40,ht({id:n,url:o,context:r,deps:At(At({},e.deps||{}),{},{"@alicloud/console-os-environment":{publicPath:e.publicPath||Object($.e)(o)}})});case 40:return t.t1=t.sent,l=(0,t.t0)(t.t1),Object($.h)(l),t.abrupt("return",{name:n,bootstrap:d(l.bootstrap),mount:[Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object($.f)(e.appWillMount,l);case 2:case"end":return t.stop()}},t)}))].concat(d(l.mount),[Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object($.f)(e.appDidMount,l);case 2:case"end":return t.stop()}},t)}))]),unmount:[Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object($.f)(e.appWillUnmount,l);case 2:case"end":return t.stop()}},t)}))].concat(d(l.unmount),[Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object($.f)(e.appDidUnmount,l);case 2:case"end":return t.stop()}},t)}))]),update:[Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object($.f)(e.appWillUpdate,l);case 2:case"end":return t.stop()}},t)}))].concat(d(l.update||[])),exposedModule:l.exposedModule});case 44:case"end":return t.stop()}},t)}));return function(t,e){return r.apply(this,arguments)}}();function Rt(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function Tt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Ct=K(),Nt=function(){function o(t,e,r){var n=this;f(this,o),this._emitLocationChange=function(){Ct.emit(n.historyEventName,n.context.location)},this._emitGlobalEvent=function(t){var e=t.data;e.type&&-1!==n.allowEvents.indexOf(t.data.type)&&(e.appId=n.appInfo.name,e.type===n.historyEventName?n._emitLocationChange():Ct.emit(e.type,Object($.g)(e)))},this.appInfo=t,this.context=e,this.inited=!1;e=[this.historyEventName];this.allowEvents=r.allowEvents?[].concat(d(r.allowEvents),e):[].concat(e)}var t,e,r,n,i,s;return l(o,[{key:"isInited",value:function(){return this.inited}},{key:"setPendingPromise",value:function(t){this.pendingPromise=t}},{key:"getPendingPromise",value:function(){return this.pendingPromise}},{key:"setPendingResolver",value:function(t){this._pendingResolver=t}},{key:"pendingResolver",get:function(){return this._pendingResolver}},{key:"setPendingRejecter",value:function(t){this._pendingRejecter=t}},{key:"pendingRejecter",get:function(){return this._pendingRejecter}},{key:"load",value:(s=Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.remoteApp){t.next=4;break}return t.next=3,jt(this.appInfo,this.context);case 3:this.remoteApp=t.sent;case 4:return this.inited=!0,t.abrupt("return",this.remoteApp);case 6:case"end":return t.stop()}},t,this)})),function(){return s.apply(this,arguments)})},{key:"mount",value:(i=Object(p.a)(h.a.mark(function t(e){var r,n,o=arguments;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=1<o.length&&void 0!==o[1]?o[1]:{},n=r.customProps,r=this.context.baseFrame,r&&(r.contentWindow.addEventListener("popstate",this._emitLocationChange),r.contentWindow.addEventListener("message",this._emitGlobalEvent)),n=Object(a.b)({name:this.appInfo.name,customProps:{},domElement:void 0,bootstrap:Object($.b)(this.remoteApp.bootstrap,"bootstrap"),mount:Object($.b)(this.remoteApp.mount,"mount"),unmount:Object($.b)(this.remoteApp.unmount,"unmount"),update:Object($.b)(this.remoteApp.update,"update")},{domElement:e||this.appInfo.dom,appProps:Tt({emitter:K()},n||this.appInfo.customProps)}),this.attachParcel(n),t.abrupt("return",this.parcel.mountPromise);case 6:case"end":return t.stop()}},t,this)})),function(t){return i.apply(this,arguments)})},{key:"update",value:(n=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.parcel&&this.parcel.update&&this.parcel.update({appProps:Tt(Tt({},e),{},{emitter:K()})}));case 1:case"end":return t.stop()}},t,this)})),function(t){return n.apply(this,arguments)})},{key:"unmount",value:(r=Object(p.a)(h.a.mark(function t(){var e;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.parcel&&"MOUNTED"===this.parcel.getStatus()&&(e=this.context.baseFrame,e&&(e.contentWindow.removeEventListener("popstate",this._emitLocationChange),e.contentWindow.removeEventListener("message",this._emitGlobalEvent)),this.parcel.unmount());case 1:case"end":return t.stop()}},t,this)})),function(){return r.apply(this,arguments)})},{key:"destroy",value:(e=Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.unmount();case 2:Y(this.context);case 3:case"end":return t.stop()}},t,this)})),function(){return e.apply(this,arguments)})},{key:"dispose",value:(t=Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.destroy());case 1:case"end":return t.stop()}},t,this)})),function(){return t.apply(this,arguments)})},{key:"getExposedModule",value:function(t){if(this.remoteApp.exposedModule)return this.remoteApp.exposedModule[t]}},{key:"attachParcel",value:function(t){this.parcel=t}},{key:"historyEventName",get:function(){return"".concat(this.appInfo.name,":history-change")}}]),o}(),kt=function(){var e=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",G(e));case 1:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),o=r(16),Lt=r.n(o),It=null;var Ut=function(){var r=Object(p.a)(h.a.mark(function t(n,o){var i,s,a;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i={window:window,document:document,location:location,history:history},s=new Nt(n,i,o),a=new Promise(function(t,e){s.setPendingResolver(t),s.setPendingRejecter(e)}),s.setPendingPromise(a),e=n.name,r=s,It.set(e,r),o.disable){t.next=12;break}return t.next=8,kt({body:n.dom,id:n.name,externals:o?o.externalsVars:[],url:o.sandBoxUrl,disableBody:o.disableFakeBody,allowResources:o.allowResources,enableScriptEscape:!1});case 8:i=t.sent,i.history.replaceState(null,"",o.initialPath||"/"),t.next=13;break;case 12:window.__IS_CONSOLE_OS_CONTEXT__=!0;case 13:return i._aliOSKernel=n.sharingKernel?u:null,s.context=i,t.abrupt("return",s);case 16:case"end":return t.stop()}var e,r},t)}));return function(t,e){return r.apply(this,arguments)}}(),Dt=function(){var r=Object(p.a)(h.a.mark(function t(r,n){var o,i;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(xt.a)(r,r.name);case 2:if(o=t.sent,r.name=o.name,e=r.name,i=It.get(e),i&&i.isInited())return i.context.updateBody&&!n.disableFakeBody&&i.context.updateBody&&i.context.updateBody(r.dom),n.syncInitHref&&i.context.baseFrame&&i.context.baseFrame.contentWindow.history.replaceState(null,null,n.initialPath||"/"),t.abrupt("return",i);t.next=9;break;case 9:if(i&&i.isInited()){t.next=12;break}if(i)return t.abrupt("return",new Promise(function(t){t(i.getPendingPromise())}));t.next=12;break;case 12:return t.next=14,Ut(r,n);case 14:return i=t.sent,i.pendingResolver&&i.pendingResolver(i),t.abrupt("return",i);case 17:case"end":return t.stop()}var e},t)}));return function(t,e){return r.apply(this,arguments)}}(),Mt=r(11);function Bt(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function Ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bt(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Wt(t,e){return t.getExposedModule(e)}var zt={},Ht=!1,Gt=function(){var e=Object(p.a)(h.a.mark(function t(e){var r,n=arguments;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=1<n.length&&void 0!==n[1]?n[1]:{},Ht||Vt(),r=Ft(Ft({singleton:!0},zt.sandbox),r.sandbox),e.deps||(e.deps=zt.deps||{}),t.next=6,Dt(e,r);case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),Yt=function(){var e=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.load();case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),$t=function(){var r=Object(p.a)(h.a.mark(function t(e,r){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.mount(r.dom,{customProps:r.customProps});case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}},t)}));return function(t,e){return r.apply(this,arguments)}}(),j=function(){var r=Object(p.a)(h.a.mark(function t(e,r){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.update(r);case 2:case"end":return t.stop()}},t)}));return function(t,e){return r.apply(this,arguments)}}(),I=function(){var e=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.unmount();case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),D=function(){var e=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.destroy();case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),B=function(){var r=Object(p.a)(h.a.mark(function t(e,r){var n,o,i=arguments;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=2<i.length&&void 0!==i[2]?i[2]:{},t.next=3,Gt(e,n);case 3:return o=t.sent,t.next=6,Yt(o);case 6:return t.abrupt("return",Wt(o,r));case 7:case"end":return t.stop()}},t)}));return function(t,e){return r.apply(this,arguments)}}(),e=function(){var e=Object(p.a)(h.a.mark(function t(e){var r,n,o=arguments;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=1<o.length&&void 0!==o[1]?o[1]:{},t.next=3,Gt(e,r);case 3:return n=t.sent,t.next=6,Yt(n);case 6:return t.next=8,$t(n,e);case 8:return t.abrupt("return",n);case 9:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),Vt=function(t){Ht=!0,zt=t||{},Object(a.d)(!0),Object(a.c)(),t={},It=new Lt.a({max:t.max||10,dispose:function(t,e){e.dispose()}}),Mt.a()};function qt(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function Kt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}Vt();o=function(t,e){try{return void 0!==("undefined"==typeof _aliOSKernel?"undefined":V(_aliOSKernel))&&_aliOSKernel&&_aliOSKernel[e]?_aliOSKernel[e]:t}catch(t){}return t};window.__CONSOLE_OS_GLOBAL_VARS_={};var Jt=o(e,"mountApp"),Zt=o(e,"isAppRegistered"),Xt=o(Vt,"start"),Qt=o(Yt,"load"),te=o(D,"destroy"),ee=o(j,"update"),re=o(Wt,"getExposedModule"),ne=o(B,"loadExposedModule"),oe=o($t,"mount"),ie=o(I,"unmount"),se=o(Gt,"createMicroApp"),ae=o(function(t){t.forEach(function(){var e=Object(p.a)(h.a.mark(function t(e){var r;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.deps||(e.deps=zt.deps||{}),t.next=3,Dt(Kt({},e),Kt({},zt.sandbox));case 3:return r=t.sent,t.next=6,r.load();case 6:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}())},"prefetch"),ue=r(4),ce=function(t,e){void 0===e&&(e={});var r=Object(ue.d)(t),n=Object(ue.f)(t);if(!r&&!n)throw new Error("No entry or manifest in "+t.name);return se({name:t.name,dom:t.container,manifest:r,customProps:t.props,deps:t.deps,url:n,appWillMount:e.beforeMount,appDidMount:e.afterMount,appWillUnmount:e.beforeUnmount,appDidUnmount:e.afterUnmount,appWillUpdate:e.beforeUpdate},{sandbox:e.sandbox})};var fe=function(){return fe=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r],e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},fe.apply(this,arguments)};function le(t,s,a,u){return new(a=a||Promise)(function(r,e){function n(t){try{i(u.next(t))}catch(t){e(t)}}function o(t){try{i(u.throw(t))}catch(t){e(t)}}function i(t){var e;t.done?r(t.value):(e=t.value,(e instanceof a?e:new a(function(t){t(e)})).then(n,o))}i((u=u.apply(t,s||[])).next())})}function pe(r,n){var o,i,s,a={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},t={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function(e){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(s=2&e[0]?i.return:e[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,e[1])).done)return s;switch(i=0,s&&(e=[2&e[0],s.value]),e[0]){case 0:case 1:s=e;break;case 4:return a.label++,{value:e[1],done:!1};case 5:a.label++,i=e[1],e=[0];continue;case 7:e=a.ops.pop(),a.trys.pop();continue;default:if(s=a.trys,!(s=0<s.length&&s[s.length-1])&&(6===e[0]||2===e[0])){a=0;continue}if(3===e[0]&&(!s||e[1]>s[0]&&e[1]<s[3])){a.label=e[1];break}if(6===e[0]&&a.label<s[1]){a.label=s[1],s=e;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(e);break}s[2]&&a.ops.pop(),a.trys.pop();continue}e=n.call(r,a)}catch(t){e=[6,t],i=0}finally{o=s=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([e,t])}}}he.create=function(){return new this},he.prototype.getRemote=function(r){return le(this,void 0,void 0,function(){var e;return pe(this,function(t){switch(t.label){case 0:return this.store[r]?[2,this.store[r]]:[4,vt.a.get(r)];case 1:return e=t.sent(),e=e.data,e&&(this.store[r]=e),[2,e]}})})},he.prototype.get=function(t){return this.store[t]},he.prototype.set=function(t,e){this.store[t]=e},he.prototype.clear=function(){this.store={}},I=he;function he(){this.store={}}function de(n){return le(void 0,void 0,void 0,function(){var e,r;return pe(this,function(t){switch(t.label){case 0:e=n.name,t.label=1;case 1:return t.trys.push([1,3,,4]),[4,me.getRemote(Object(ue.h)(n))];case 2:return r=t.sent(),[2,r];case 3:throw t.sent(),new Error(e+" releaseConfig loading failed, please try again or connect developers.");case 4:return[2]}})})}var me=I.create(),ye=function(i){return le(void 0,void 0,void 0,function(){var e,r,n,o;return pe(this,function(t){switch(t.label){case 0:return e=i.name,r=i.version,[4,de(i)];case 1:if(n=t.sent(),i.version||(r=null===(o=n["dist-tags"])||void 0===o?void 0:o.latest),null!==(o=n["dist-tags"])&&void 0!==o&&o[i.version]&&(r=n["dist-tags"][i.version]),o=n.versions[r],!o)throw new Error(e+"@"+r+" is not found, please check you release.");return[2,n.versions[r].entry]}})})},ve={ALL_CHANNEL_FEATURE_STATUS:{},ALL_CHANNEL_LINKS:{},ALL_FEATURE_STATUS:{}},ge=function(o){return le(void 0,void 0,void 0,function(){var e,r,n;return pe(this,function(t){switch(t.label){case 0:return[4,de(o)];case 1:if(n=t.sent(),e=null===(r=n["dist-tags"])||void 0===r?void 0:r["config-latest"],r=null===(n=null===(r=n["config-versions"])||void 0===r?void 0:r[e])||void 0===n?void 0:n.entry,n=ve,!e||r)return[2,n];t.label=2;case 2:return t.trys.push([2,4,,5]),[4,me.getRemote(r)];case 3:return n=t.sent(),[3,5];case 4:return t.sent(),[3,5];case 5:return[2,n]}})})},we=function(o){return le(void 0,void 0,void 0,function(){var e,r,n;return pe(this,function(t){switch(t.label){case 0:return[4,de(o)];case 1:if(r=t.sent(),e=Object(ue.b)(),n=null===(n=r["dist-tags"])||void 0===n?void 0:n["locales-latest"],n=null===(n=null===(r=r["locales-versions"])||void 0===r?void 0:r[n])||void 0===n?void 0:n[e],e={},!n)return[2,e];t.label=2;case 2:return t.trys.push([2,4,,5]),[4,me.getRemote(n)];case 3:return e=t.sent(),[3,5];case 4:return t.sent(),[3,5];case 5:return[2,e]}})})},o=(be.prototype.use=function(t,e){var r=this;void 0===e&&(e=void 0);var n={fulfilled:t,rejected:e};return this.handlers.push(n),function(){r.handlers=r.handlers.filter(function(t){return t!==n})}},be);function be(){this.handlers=[]}var Oe=o;function Ee(t){var o=0<arguments.length&&void 0!==t?t:{};return Object.keys(o||{}).reduce(function(t,e){var r,n;return t[e]=(r=o[e],n={},Object.keys(r).forEach(function(t){var e=r[t];"true"===e?n[t]=!0:"false"===e?n[t]=!1:/^\d+$/.test(e)?n[t]=Number(e):n[t]=e}),n),t},{})}function xe(t,e){t.ONE="one"===e.portalType,t.ENV=e.fEnv||t.ENV,t.CHANNEL=e.CHANNEL||t.CHANNEL,t.LANG=e.LANG||t.LANG,t.LOCALE=e.LOCALE||t.LOCALE,t.SEC_TOKEN=e.SEC_TOKEN||t.SEC_TOKEN,t.ACCOUNT={ID:e.CURRENT_PK||t.ACCOUNT.ID,ID_MAIN:e.MAIN_ACCOUNT_PK||t.ACCOUNT.ID_MAIN,TYPE:e.ACCOUNT_TYPE||t.ACCOUNT.TYPE,CERTIFIED:"true"===e.IS_CERTIFIED},t.APP_ID=e.APP_ID||"",t.REGIONS=function(t){return t=0<arguments.length&&void 0!==t?t:[],t.map(function(t){var e=t.regionId,r=t.name,n=t.physicalList,n=void 0===n?[]:n,t=t.zoneList,t=void 0===t?[]:t;return{id:e,name:r||e,physicalIds:n.map(function(t){return t.id}).filter(function(t){return t}),zones:t.map(function(t){return{id:t.zoneId,name:t.name}})}})}(e.REGIONS),t.OPEN_STATUS=Ee(e.OPEN_STATUS),t.LINK=e.CHANNEL_LINKS||t.LINK,t.FEATURE_SWITCH=e.CHANNEL_FEATURE_STATUS||t.FEATURE_SWITCH,t.FEATURE_GRAY=e.FEATURE_STATUS||t.FEATURE_GRAY,t.API_RESULT=function(t){var n=0<arguments.length&&void 0!==t?t:{};return Object.keys(n||{}).reduce(function(t,e){var r=n[e];return r&&"200"===r.code&&void 0!==r.data&&(t[e]=r.data),t},{})}(e.STATIC_API),t.RULE_CONFIG=e.RULE_CONFIG||t.RULE_CONFIG,t.LABELS=e.LABELS||t.LABELS,t.USER_PREFERENCE=e.USER_PREFERENCE||t.USER_PREFERENCE,t.NEW_VERSION="true"===e.NEW_VERSION}var Se,Ae,Pe,_e=(Se={ONE:!1,ENV:"prod",CHANNEL:"OFFICIAL",LANG:"zh",LOCALE:"zh-CN",SEC_TOKEN:"",ACCOUNT:{ID:"",ID_MAIN:"",TYPE:"main",CERTIFIED:!1},APP_ID:"",REGIONS:[],OPEN_STATUS:{},LINK:{},FEATURE_SWITCH:{},FEATURE_GRAY:{},API_RESULT:{},RULE_CONFIG:{},LABELS:{},USER_PREFERENCE:{},NEW_VERSION:!1},Ae="undefined"!=typeof window?window.ALIYUN_CONSOLE_CONFIG:void 0,Ae&&xe(Se,Ae),"zh-TW"===Se.LOCALE&&(Se.LANG="zh-TW"),Se);function je(t){return("undefined"!=typeof document&&document.cookie?document.cookie.split(/\s*;\s*/).reduce(function(e,r){var n=r.split("="),r=it(n,2),n=r[0],r=r[1];try{e[n]=decodeURIComponent(r)}catch(t){e[n]=unescape(r)}return e},{}):{})[t]}function Re(t){var e=window,r=e.ALIYUN_ECS_CONSOLE_CONFIG,e="";return _e.ONE?e=_e.CHANNEL:r&&(e=r.channel),e||function(t){switch(t){case"INTL":return"SIN";case"JP":return"JP";case"CN":return"OFFICIAL";default:return t}}(t)}r=Pe=Pe||{},r.DEV="dev",r.DAILY="daily",r.PRE="pre",r.PROD="prod";var Te,Ce,Ne,ke,Le,Ie,Ue,De=(Te=window,Ce=Te.location.hostname,Le=window,ke=Le.location,Ie=ke.protocol,Le=ke.hostname,ke=ke.port,Ne=ke||/^127(?:\.0\.0)?\.1$|^0\.0\.0\.0$|^localhost$/.test(Le)?Pe.DEV:_e.ONE&&"daily"===_e.ENV||/\.test$/.test(Le)||/daily-|-daily/i.test(Le)?Pe.DAILY:_e.ONE&&"pre"===_e.ENV||/pre-|-pre/i.test(Le)||"http:"===Ie?Pe.PRE:Pe.PROD,Te=je("aliyun_site")||"CN",ke=/4service/.test(Ce),Le=/\.test$/.test(Ce),Ie=/\.console\.aliyun\.(?:com|test)$/.test(Ce),Ce=/\.alibabacloud\.(?:com|test)$/.test(Ce),Ce="".concat(ke?"fecs4service":"fecs",".console.").concat(Ce?"alibabacloud":"aliyun",".").concat(Le?"test":"com"),Le="https://".concat(Ce),{ENV:Ne,ENV_IS_DEV:Ne===Pe.DEV,ENV_IS_DAILY:Ne===Pe.DAILY,ENV_IS_PRE:Ne===Pe.PRE,ENV_IS_PROD:Ne===Pe.PROD,APP_ID:_e.APP_ID,DOMAIN_IS_4SERVICE:ke,DOMAIN_IS_CONSOLE:Ie,SITE:Te,CHANNEL:Re(Te),FECS_HOST:Ce,FECS_URL_BASE:Le});I=Ue=Ue||{},I.MAIN="main",I.RAM="sub",I.STS="sts";var Me,Be,Fe,We,ze,He,o=(Me=window,Be=Me.ALIYUN_ECS_CONSOLE_CONFIG,Fe="",We="",Me=Ue.MAIN,_e.ONE?(Fe=_e.ACCOUNT.ID,We=_e.ACCOUNT.ID_MAIN,Me=_e.ACCOUNT.TYPE):Be&&(Fe=Be.CURRENT_PK,We=Be.MASTER_PK,Be.isChildAccount?Me=Ue.RAM:Be.isRoleAccount&&(Me=Ue.STS)),Fe||(Fe=je("login_aliyunid_pk")||"",Fe||(Me=Ue.RAM)),{ID:Fe,ID_MAIN:We||Fe,TYPE:Me});r=ze=ze||{},r.ZH="zh",r.EN="en",r.JA="ja",r.ZT="zh-TW",r.KO="ko",r.FR="fr",r.DE="de",I=He=He||{},I.ZH="zh-CN",I.EN="en-US",I.JA="ja-JP",I.ZT="zh-TW",I.KO="ko-KR",I.FR="fr-FR",I.DE="de-DE";var Ge="aliyun_lang",Ye=[ze.EN,ze.ZH,ze.ZT,ze.JA,ze.KO,ze.FR,ze.DE],$e=(r={},n(r,ze.ZH,He.ZH),n(r,ze.ZT,He.ZT),n(r,ze.EN,He.EN),n(r,ze.JA,He.JA),n(r,ze.KO,He.KO),n(r,ze.FR,He.FR),n(r,ze.DE,He.DE),r);function Ve(){var t,e;return _e.ONE?(t=_e.LANG,e=_e.LOCALE):(t=je(Ge)||ze.ZH,e=$e[t],e||(t=ze.ZH,e=He.ZH)),[t,e]}var qe,Ke,Je,Ze,Xe,I=(qe=window,Ke=qe.CONSOLE_BASE_SETTINGS,Je=void 0===Ke?{}:Ke,Ke=qe.viewframeSetting,qe=void 0===Ke?{}:Ke,Ke=function(t){if(t=0<arguments.length&&void 0!==t?t:[],!t.length)return[ze.EN,ze.ZH,ze.ZT,ze.JA];var e=[ze.EN,ze.ZH];return t.forEach(function(t){!e.includes(t)&&Ye.includes(t)&&e.push(t)}),e}(Je.LANGUAGES||qe.languages),Je=Ve(),qe=it(Je,2),Je=qe[0],qe=qe[1],Ke.includes(Je)||(Je=Je===ze.ZT&&Ke.includes(ze.ZH)?ze.ZH:ze.EN,qe=$e[Je]),{LOCALE:qe,LANGUAGE:Je,LANGUAGES:Ke});function Qe(t,e){if(null==t)return{};var r,n=function(t,e){if(null==t)return{};for(var r,n={},o=Object.keys(t),i=0;i<o.length;i++)r=o[i],0<=e.indexOf(r)||(n[r]=t[r]);return n}(t,e);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(t),i=0;i<o.length;i++)r=o[i],0<=e.indexOf(r)||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r]);return n}function tr(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function er(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tr(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}r=Ze=Ze||{},r.WINDOWS="Windows",r.WINDOWS_PHONE="WindowsPhone",r.WINDOWS_MOBILE="WindowsMobile",r.MAC_OS="MacOS",r.IOS="iOS",r.ANDROID="Android",r.UBUNTU="Ubuntu",r.FEDORA="Fedora",r.RED_HAT="RedHat",r.SUSE="SUSE",r.LINUX="Linux",r.CHROME_OS="ChromeOS",r.FREE_BSD="FreeBSD",r.OTHER="OTHER",r=Xe=Xe||{},r.OPERA_MINI="OperaMini",r.OPERA="Opera",r.FIREFOX="Firefox",r.SAFARI="Safari",r.YANDEX="Yandex",r.TAO_BAO="TaoBao",r.LIE_BAO="LieBao",r.QQ="QQ",r.SOU_GOU="SouGou",r.MAXTHON="Maxthon",r.UC="UC",r.HEADLESS_CHROME="HeadlessChrome",r.EDGE="Edge",r.IE="IE",r.CHROME="Chrome",r.OTHER="OTHER";var rr={"NT 5.0":"2000","NT 5.1":"XP","NT 5.2":"XP","NT 6.0":"Vista","NT 6.1":"7","NT 6.2":"8","NT 6.3":"8.1","NT 6.4":"10","NT 10.0":"10"};function nr(t){return/Opera Mini\/([^ /;()]+)/i.test(t)?[Xe.OPERA_MINI,RegExp.$1]:/Opera[/ ]([^ /;()]+)/i.test(t)?[Xe.OPERA,(e=RegExp.$1,r=t,/Version\/([^ /;()]+)/i.test(r)?RegExp.$1:e)]:/OPR\/([^ /;()]+)/i.test(t)?[Xe.OPERA,RegExp.$1]:/Firefox\/([^ /;()]+)/i.test(t)?[Xe.FIREFOX,RegExp.$1]:/Version\/([\w.]+)\s+Safari\//i.test(t)?[Xe.SAFARI,RegExp.$1]:/YaBrowser\/([^ /;()]+)/i.test(t)?[Xe.YANDEX,RegExp.$1]:/TaoBrowser\/([^ /;()]+)/i.test(t)?[Xe.TAO_BAO,RegExp.$1]:/LBBROWSER/i.test(t)?[Xe.LIE_BAO,""]:/QQBrowser\/([^ /;()]+)/i.test(t)?[Xe.QQ,RegExp.$1]:/\sSE\s([^ /;()]+)/i.test(t)?[Xe.SOU_GOU,RegExp.$1]:/Maxthon\/([^ /;()]+)/i.test(t)?[Xe.MAXTHON,RegExp.$1]:/UBrowser\/([^ /;()]+)/i.test(t)?[Xe.UC,RegExp.$1]:/HeadlessChrome\/([^ /;()]+)/i.test(t)?[Xe.HEADLESS_CHROME,RegExp.$1]:/Edge?\/([^ /;()]+)/i.test(t)?[Xe.EDGE,RegExp.$1]:/Trident\/7\.0;/i.test(t)?[Xe.IE,"11"]:/MSIE\s+([^ /;()]+)/i.test(t)?[Xe.IE,RegExp.$1]:/\sChrome\/([^ /;()]+)/i.test(t)?[Xe.CHROME,RegExp.$1]:[Xe.OTHER,""];var e,r}var or,ir,sr,ar,r=(or=navigator.userAgent,ir=function(t){if(/Windows/i.test(t)){if(/Windows NT ([^ /;()]+)/i.test(t)){var e="NT ".concat(RegExp.$1);return[Ze.WINDOWS,rr[e]||e]}return/Windows Phone[/ ]([^ /;()]+)/i.test(t)?[Ze.WINDOWS_PHONE,RegExp.$1]:/Windows Mobile/i.test(t)?[Ze.WINDOWS_MOBILE,""]:[Ze.WINDOWS,""]}return/Mac OS X ([^ /;()]+)/i.test(t)?[Ze.MAC_OS,RegExp.$1.replace(/_/g,".")]:/iPhone|iPad/i.test(t)&&/CPU (?:iPhone )?OS ([^ /;()]+)/i.test(t)?[Ze.IOS,RegExp.$1.replace(/_/g,".")]:/Linux/i.test(t)?/Android ([^ /;()]+)+/i.test(t)?[Ze.ANDROID,RegExp.$1]:/Ubuntu\/([^ /;()]+)/i.test(t)?[Ze.UBUNTU,RegExp.$1]:/Ubuntu/i.test(t)?[Ze.UBUNTU,""]:/Fedora\/([^ /;()]+)/i.test(t)?[Ze.FEDORA,RegExp.$1]:/Fedora/i.test(t)?[Ze.FEDORA,""]:/Red Hat\/([^ /;()]+)/i.test(t)?[Ze.RED_HAT,RegExp.$1]:/Red Hat/i.test(t)?[Ze.RED_HAT,""]:/SUSE\/([^ /;()]+)/i.test(t)?[Ze.SUSE,RegExp.$1]:[Ze.LINUX,""]:/CrOS/i.test(t)?[Ze.CHROME_OS,""]:/FreeBSD/i.test(t)?[Ze.FREE_BSD,""]:[Ze.OTHER,""]}(or),sr=it(ir,2),ar=sr[0],ir=sr[1],sr=nr(or),or=it(sr,2),sr=or[0],or=or[1],{OS:ar,OS_VERSION:ir,BROWSER:sr,BROWSER_VERSION:or}),ur=r;var cr=window!==window.top;function fr(){return{TIME:Date.now(),OS:ur.OS,OS_VERSION:ur.OS_VERSION,BROWSER:ur.BROWSER,BROWSER_VERSION:ur.BROWSER_VERSION,LOCATION_HOST:window.location.host,LOCATION_PATHNAME:window.location.pathname,LOCATION_SEARCH:window.location.search.replace("?","&").replace(/&(?:spm|scm|accounttraceid)=[^&]+/g,"").replace(/^&+/,""),LOCATION_HASH:window.location.hash.substring(1),RESOLUTION_SCREEN:function(){try{return"".concat(window.screen.width,"x").concat(window.screen.height)}catch(t){return""}}(),RESOLUTION_BROWSER:function(){try{return"".concat(document.documentElement.clientWidth,"x").concat(document.documentElement.clientHeight)}catch(t){return""}}(),IN_IFRAME:cr,REFERRER:"undefined"==typeof document?"SSR":document.referrer}}function lr(u,c){return c=c||{},new Promise(function(t,e){var r,n=new XMLHttpRequest,o=[],i=[],s={},a=function(){return{ok:2==(n.status/100|0),statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){return Promise.resolve(n.responseText)},json:function(){return Promise.resolve(n.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([n.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return i},get:function(t){return s[t.toLowerCase()]},has:function(t){return t.toLowerCase()in s}}}};for(r in n.open(c.method||"get",u,!0),n.onload=function(){n.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(t,e,r){o.push(e=e.toLowerCase()),i.push([e,r]),s[e]=s[e]?s[e]+","+r:r}),t(a())},n.onerror=e,n.withCredentials="include"==c.credentials,c.headers)n.setRequestHeader(r,c.headers[r]);n.send(c.body||null)})}var pr,hr="@alicloud/logger-sls/merged";function dr(t,e){e=new Error(e);return e.name=t,e}r=pr=pr||{},r.TIMEOUT="EFetchTimeout",r.NETWORK="EFetchNetwork";var mr=["timeout"],yr=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=e.timeout,o=void 0===r?0:r,r=Qe(e,mr),e=window.fetch||lr,i=e(t,r).catch(function(t){if(t.name===pr.TIMEOUT)throw t;throw dr(pr.NETWORK,t.message)});return 0<o?new Promise(function(e,r){var n=window.setTimeout(function(){r(dr(pr.TIMEOUT,"fetch('".concat(t,"') timeout after ").concat(o,"ms")))},o);i.then(function(t){clearTimeout(n),e(t)},function(t){clearTimeout(n),r(t)})}):i};function vr(r){var n={};return Object.keys(r).forEach(function(e){var t=r[e];if(""!==t&&null!=t)if("string"==typeof t)n[e]=t;else if("number"==typeof t||"boolean"==typeof t)n[e]=t.toString();else try{n[e]=JSON.stringify(t)}catch(t){n[e]="TypeError: cyclic object value"}}),n.TOPIC=n.__topic__,n}function gr(t,e,r){var n,o;if(r.length)try{var i=JSON.stringify((n=r,o=hr,1===n.length&&(o=n[0].__topic__),{__topic__:o,__logs__:n.map(vr)}));yr(t,{method:"POST",timeout:2e4,credentials:"omit",headers:{"Content-Type":"application/json","x-log-apiversion":e,"x-log-bodyrawsize":i.length},body:i}).catch(function(){})}catch(t){}}function wr(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function br(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wr(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Or=function(){function i(t,e,r){var n=this,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"0.6.0";f(this,i),this.clearQueue=function(){n.clearTimer(),gr(n.trackUrl,n.apiVersion,n.queue),n.queue=[]},this.put=function(t,e,r){t=br(br({},e),{},{__topic__:t});r?gr(n.trackUrl,n.apiVersion,[t]):(n.queue.push(t),n.signalSend())},this.trackUrl="//".concat(t,".").concat(e,"/logstores/").concat(r,"/track"),this.apiVersion=o,this.queue=[],this.timer=null,this.frozen=!0,setTimeout(function(){n.frozen=!1,n.signalSend()},1e4)}return l(i,[{key:"signalSend",value:function(){this.queue.length&&!this.frozen&&(64<=this.queue.length?this.clearQueue():this.resetTimer())}},{key:"clearTimer",value:function(){this.timer&&(window.clearTimeout(this.timer),this.timer=null)}},{key:"resetTimer",value:function(){this.clearTimer(),this.timer=window.setTimeout(this.clearQueue,200)}}]),i}();function Er(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function xr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Er(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Sr(c){var t=c.project,e=c.endpoint,r=c.logstore,n=c.apiVersion,f=c.sampling,l=c.delay,p=c.defaultParams,h=c.onBeforeSend,d=(t=t,e=e,r=r,n=n,n=new Or(t,e,r,n),n.put),m={};function o(t,e){var r,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=n.group,i=void 0===o?"LOG":o,s=n.sampling,a=void 0===s?f:s,u=n.delay,o=void 0===u?l:u,s=n.once,u=n.instant,n=function(t,e){if(e)return!0===e?t:"".concat(t,"~").concat(e)}(t,s);s=a,a=n,h&&!1===h(c)||(a&&m[a]||"number"==typeof s&&0<s&&s<1&&Math.random()>s)||(n&&(m[n]=1),r=xr(xr(xr({__topic__:t,GROUP:i},fr()),"function"==typeof p?p():p),e),!u&&"number"==typeof o&&0<o?setTimeout(function(){return d(t,r)},o):d(t,r,u))}function i(n){return function(t,e,r){return o(t,e,xr(xr({},r),{},{group:n}))}}return o.debug=i("DEBUG"),o.log=i("LOG"),o.info=i("INFO"),o.warn=i("WARN"),o.error=i("ERROR"),o.fatal=i("FATAL"),o.biz=i("BIZ"),o}var Ar=["defaultParams","onBeforeSend"];function Pr(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function _r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pr(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var jr,Rr,Tr=["INTL","SIN","JP"],o=(jr={APP_ID:De.APP_ID,channel:De.CHANNEL,locale:I.LOCALE,uid:o.ID,uidMain:o.ID_MAIN},Rr=function(t){t=t.endpoint;if(/^cn-/.test(t)&&0<=Tr.indexOf(De.CHANNEL))return!1},function(t){var e,r,n,o,i=t.defaultParams,s=t.onBeforeSend,t=Qe(t,Ar);return Sr(_r(_r({},t),{},{defaultParams:(n=jr,o=i,o&&n?"function"==typeof n||"function"==typeof o?function(){var t="function"==typeof n?n():n,e="function"==typeof o?o():o;return er(er({},t),e)}:er(er({},n),o):n||o),onBeforeSend:(e=Rr,r=s,e&&r?function(t){return!1!==e(t)&&r(t)}:r||e)}))}),Cr=o({project:"alfa",endpoint:"cn-wulanchabu.log.aliyuncs.com",logstore:"loader",defaultParams:{LOADER_VERSION:"",START_TIME:"",END_TIME:"",NAME:"",TYPE:"",ENV:""}}),o=(Nr.prototype.set=function(t){this.context=fe(fe({},this.context),t)},Nr.prototype.record=function(t){this.cache=fe(fe({},this.cache),t)},Nr.prototype.send=function(){Cr.log("ALFA_LOADER",this.cache),this.caches.push(fe(fe({},this.context),this.cache)),this.cache={}},Nr.prototype.info=function(t){Cr.info("ALFA_INFO",fe(fe({},this.context),t))},Nr.prototype.debug=function(t){console.log("ALFA_DEBUG",fe(fe({},this.context),t)),Cr.debug("ALFA_DEBUG",fe(fe({},this.context),t))},Nr.prototype.warn=function(t){Cr.error("ALFA_WARN",fe(fe({},this.context),t))},Nr.prototype.error=function(t){Cr.error("ALFA_ERROR",fe(fe({},this.context),t))},Nr);function Nr(t){void 0===t&&(t={}),this.cache={},this.caches=[],this.context=t}var kr=o,o=(Lr.create=function(){return new this},Lr.prototype.register=function(c){return le(this,void 0,void 0,function(){var n,o,i,s,a,u;return pe(this,function(t){if(n=new kr,!c)return n.error({E_MSG:"cannot find config before start."}),[2,Promise.reject(new Error("[alfa-core] cannot find config before start."))];var e,r;for(this.config=(e=c,r=n,fe(fe({},e),{env:e.env||Object(ue.a)(),logger:e.logger||r})),a=this.config,o=a.name,i=a.version,a=a.env,n.set({NAME:o,VERSION:i,ENV:a}),s=[],a=function(t){var e=t.fulfilled,t=t.rejected;s.push(e,t)},this.beforeResolve.handlers.forEach(a),s.push(this.resolve,void 0),this.afterResolve.handlers.forEach(a),this.beforeLoad.handlers.forEach(a),s.push(this.load,void 0),this.afterLoad.handlers.forEach(a),u=Promise.resolve(this.config);s.length;)u=u.then(s.shift(),s.shift());return[2,u]})})},Lr.prototype.resolve=function(n){return le(this,void 0,void 0,function(){var e,r;return pe(this,function(t){if(e=Object(ue.d)(n),r=Object(ue.f)(n),!e&&!r)throw new Error("No entry or manifest in "+n.name);return[2,fe(fe({},n),{manifest:e,url:r})]})})},Lr.prototype.load=function(d){return le(this,void 0,void 0,function(){var e,r,n,o,i,s,a,u,c,f,l,p,h;return pe(this,function(t){switch(t.label){case 0:return e=d.name,r=d.container,n=d.manifest,o=d.props,i=d.deps,s=d.url,a=d.beforeMount,u=d.afterMount,c=d.beforeUnmount,f=d.afterUnmount,l=d.beforeUpdate,p=d.sandbox,[4,se({name:e,dom:r,manifest:n,customProps:o,deps:i,url:s,appWillMount:a,appDidMount:u,appWillUnmount:c,appDidUnmount:f,appWillUpdate:l},{sandbox:p})];case 1:return h=t.sent(),[4,h.load()];case 2:return t.sent(),[2,fe(fe({},d),{app:h})]}})})},Lr);function Lr(){this.beforeResolve=new Oe,this.afterResolve=new Oe,this.beforeLoad=new Oe,this.afterLoad=new Oe}var Ir=o,Ur=function(){}}],n={},o.m=r,o.c=n,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="/",o(o.s=58);function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var r,n});
|
|
15
|
+
e.read=function(t,e,r,n,o){var i,s,a=8*o-n-1,u=(1<<a)-1,c=u>>1,f=-7,l=r?o-1:0,p=r?-1:1,r=t[e+l];for(l+=p,i=r&(1<<-f)-1,r>>=-f,f+=a;0<f;i=256*i+t[e+l],l+=p,f-=8);for(s=i&(1<<-f)-1,i>>=-f,f+=n;0<f;s=256*s+t[e+l],l+=p,f-=8);if(0===i)i=1-c;else{if(i===u)return s?NaN:1/0*(r?-1:1);s+=Math.pow(2,n),i-=c}return(r?-1:1)*s*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var s,a,u=8*i-o-1,c=(1<<u)-1,f=c>>1,l=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,h=n?1:-1,i=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(n=Math.pow(2,-s))<1&&(s--,n*=2),e+=1<=s+f?l/n:l*Math.pow(2,1-f),2<=e*n&&(s++,n/=2),c<=s+f?(a=0,s=c):1<=s+f?(a=(e*n-1)*Math.pow(2,o),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,o),s=0));8<=o;t[r+p]=255&a,p+=h,a/=256,o-=8);for(s=s<<o|a,u+=o;0<u;t[r+p]=255&s,p+=h,s/=256,u-=8);t[r+p-h]|=128*i}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){"use strict";let n={};t.exports=function(t){n[t]||(n[t]=!0,"undefined"!=typeof console&&console.warn&&console.warn(t))}},function(t,e,r){"use strict";let c=r(12),n=r(89),o=r(14),f=r(25),i=r(9),s=r(26);t.exports=class{constructor(t){this.input=t,this.root=new i,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:t,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=n(this.input)}parse(){for(var t;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t)}this.endFile()}comment(t){let e=new o;this.init(e,t[2]),e.source.end=this.getPosition(t[3]||t[2]);let r=t[1].slice(2,-2);/^\s*$/.test(r)?(e.text="",e.raws.left=r,e.raws.right=""):(t=r.match(/^(\s*)([^]*\S)(\s*)$/),e.text=t[2],e.raws.left=t[1],e.raws.right=t[3])}emptyRule(t){let e=new s;this.init(e,t[2]),e.selector="",e.raws.between="",this.current=e}other(t){let e=!1;var r;let n=!1,o=null,i=[];var s=t[1].startsWith("--");let a=[],u=t;for(;u;){if(r=u[0],a.push(u),"("===r||"["===r)o=o||u,i.push("("===r?")":"]");else if(s&&n&&"{"===r)o=o||u,i.push("}");else if(0===i.length){if(";"===r){if(n)return void this.decl(a,s);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),e=!0;break}":"===r&&(n=!0)}else r===i[i.length-1]&&(i.pop(),0===i.length&&(o=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(e=!0),0<i.length&&this.unclosedBracket(o),e&&n){for(;a.length&&(u=a[a.length-1][0],"space"===u||"comment"===u);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)}rule(t){t.pop();let e=new s;this.init(e,t[0][2]),e.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(e,"selector",t),this.current=e}decl(t,e){let o=new c;this.init(o,t[0][2]);var r=t[t.length-1];for(";"===r[0]&&(this.semicolon=!0,t.pop()),o.source.end=this.getPosition(r[3]||r[2]);"word"!==t[0][0];)1===t.length&&this.unknownWord(t),o.raws.before+=t.shift()[1];for(o.source.start=this.getPosition(t[0][2]),o.prop="";t.length;){var n=t[0][0];if(":"===n||"space"===n||"comment"===n)break;o.prop+=t.shift()[1]}o.raws.between="";let i;for(;t.length;){if(i=t.shift(),":"===i[0]){o.raws.between+=i[1];break}"word"===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),o.raws.between+=i[1]}"_"!==o.prop[0]&&"*"!==o.prop[0]||(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));var s=this.spacesAndCommentsFromStart(t);this.precheckMissedSemicolon(t);for(let n=t.length-1;0<=n;n--){if(i=t[n],"!important"===i[1].toLowerCase()){o.important=!0;var a=this.stringFrom(t,n),a=this.spacesFromEnd(t)+a;" !important"!==a&&(o.raws.important=a);break}if("important"===i[1].toLowerCase()){let e=t.slice(0),r="";for(let t=n;0<t;t--){var u=e[t][0];if(0===r.trim().indexOf("!")&&"space"!==u)break;r=e.pop()[1]+r}0===r.trim().indexOf("!")&&(o.important=!0,o.raws.important=r,t=e)}if("space"!==i[0]&&"comment"!==i[0])break}r=t.some(t=>"space"!==t[0]&&"comment"!==t[0]);this.raw(o,"value",t),r?o.raws.between+=s:o.value=s+o.value,o.value.includes(":")&&!e&&this.checkMissedSemicolon(t)}atrule(t){let e=new f;var r;e.name=t[1].slice(1),""===e.name&&this.unnamedAtrule(e,t),this.init(e,t[2]);let n,o,i=!1,s=!1,a=[],u=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),r=t[0],"("===r||"["===r?u.push("("===r?")":"]"):"{"===r&&0<u.length?u.push("}"):r===u[u.length-1]&&u.pop(),0===u.length){if(";"===r){e.source.end=this.getPosition(t[2]),this.semicolon=!0;break}if("{"===r){s=!0;break}if("}"===r){if(0<a.length){for(o=a.length-1,n=a[o];n&&"space"===n[0];)n=a[--o];n&&(e.source.end=this.getPosition(n[3]||n[2]))}this.end(t);break}a.push(t)}else a.push(t);if(this.tokenizer.endOfFile()){i=!0;break}}e.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(e.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(e,"params",a),i&&(t=a[a.length-1],e.source.end=this.getPosition(t[3]||t[2]),this.spaces=e.raws.between,e.raws.between="")):(e.raws.afterName="",e.params=""),s&&(e.nodes=[],this.current=e)}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){var e=this.input.fromOffset(t);return{offset:t,line:e.line,column:e.col}}init(t,e){this.current.push(t),t.source={start:this.getPosition(e),input:this.input},t.raws.before=this.spaces,this.spaces="","comment"!==t.type&&(this.semicolon=!1)}raw(e,t,r){var n,o,i,s,a=r.length;let u="",c=!0,f=/^([#.|])?(\w)+/i;for(let t=0;t<a;t+=1)n=r[t],o=n[0],"comment"!==o||"rule"!==e.type?"comment"===o||"space"===o&&t===a-1?c=!1:u+=n[1]:(i=r[t-1],o=r[t+1],"space"!==i[0]&&"space"!==o[0]&&f.test(i[1])&&f.test(o[1])?u+=n[1]:c=!1);c||(s=r.reduce((t,e)=>t+e[1],""),e.raws[t]={value:u,raw:s}),e[t]=u}spacesAndCommentsFromEnd(t){var e;let r="";for(;t.length&&(e=t[t.length-1][0],"space"===e||"comment"===e);)r=t.pop()[1]+r;return r}spacesAndCommentsFromStart(t){var e;let r="";for(;t.length&&(e=t[0][0],"space"===e||"comment"===e);)r+=t.shift()[1];return r}spacesFromEnd(t){var e;let r="";for(;t.length&&(e=t[t.length-1][0],"space"===e);)r=t.pop()[1]+r;return r}stringFrom(e,r){let n="";for(let t=r;t<e.length;t++)n+=e[t][1];return e.splice(r,e.length-r),n}colon(t){let e=0,r,n,o;for(var[i,s]of t.entries()){if(r=s,n=r[0],"("===n&&(e+=1),")"===n&&--e,0===e&&":"===n){if(o){if("word"===o[0]&&"progid"===o[1])continue;return i}this.doubleColon(r)}o=r}return!1}unclosedBracket(t){throw this.input.error("Unclosed bracket",t[2])}unknownWord(t){throw this.input.error("Unknown word",t[0][2])}unexpectedClose(t){throw this.input.error("Unexpected }",t[2])}unclosedBlock(){var t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}doubleColon(t){throw this.input.error("Double colon",t[2])}unnamedAtrule(t,e){throw this.input.error("At-rule without name",e[2])}precheckMissedSemicolon(){}checkMissedSemicolon(n){var o=this.colon(n);if(!1!==o){let e=0,r;for(let t=o-1;0<=t&&(r=n[t],"space"===r[0]||(e+=1,2!==e));t--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}}}},function(t,e,r){"use strict";const b="'".charCodeAt(0),O='"'.charCodeAt(0),E="\\".charCodeAt(0),x="/".charCodeAt(0),S="\n".charCodeAt(0),A=" ".charCodeAt(0),P="\f".charCodeAt(0),_="\t".charCodeAt(0),j="\r".charCodeAt(0),R="[".charCodeAt(0),C="]".charCodeAt(0),T="(".charCodeAt(0),N=")".charCodeAt(0),k="{".charCodeAt(0),L="}".charCodeAt(0),I=";".charCodeAt(0),U="*".charCodeAt(0),D=":".charCodeAt(0),M="@".charCodeAt(0),B=/[\t\n\f\r "#'()/;[\\\]{}]/g,F=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,W=/.[\n"'(/\\]/,z=/[\da-f]/i;t.exports=function(e,t={}){let n=e.css.valueOf(),o=t.ignoreErrors,i,s,a,u,c,f,l,p,h,d,m=n.length,y=0,v=[],g=[];function w(t){throw e.error("Unclosed "+t,y)}return{back:function(t){g.push(t)},nextToken:function(t){if(g.length)return g.pop();if(!(y>=m)){var e=!!t&&t.ignoreUnclosed;switch(i=n.charCodeAt(y),i){case S:case A:case _:case j:case P:for(s=y;s+=1,i=n.charCodeAt(s),i===A||i===S||i===_||i===j||i===P;);d=["space",n.slice(y,s)],y=s-1;break;case R:case C:case k:case L:case D:case I:case N:var r=String.fromCharCode(i);d=[r,r,y];break;case T:if(p=v.length?v.pop()[1]:"",h=n.charCodeAt(y+1),"url"===p&&h!==b&&h!==O&&h!==A&&h!==S&&h!==_&&h!==P&&h!==j){s=y;do{if(f=!1,s=n.indexOf(")",s+1),-1===s){if(o||e){s=y;break}w("bracket")}for(l=s;n.charCodeAt(l-1)===E;)--l,f=!f}while(f);d=["brackets",n.slice(y,s+1),y,s],y=s}else s=n.indexOf(")",y+1),u=n.slice(y,s+1),-1===s||W.test(u)?d=["(","(",y]:(d=["brackets",u,y,s],y=s);break;case b:case O:a=i===b?"'":'"',s=y;do{if(f=!1,s=n.indexOf(a,s+1),-1===s){if(o||e){s=y+1;break}w("string")}for(l=s;n.charCodeAt(l-1)===E;)--l,f=!f}while(f);d=["string",n.slice(y,s+1),y,s],y=s;break;case M:B.lastIndex=y+1,B.test(n),s=0===B.lastIndex?n.length-1:B.lastIndex-2,d=["at-word",n.slice(y,s+1),y,s],y=s;break;case E:for(s=y,c=!0;n.charCodeAt(s+1)===E;)s+=1,c=!c;if(i=n.charCodeAt(s+1),c&&i!==x&&i!==A&&i!==S&&i!==_&&i!==j&&i!==P&&(s+=1,z.test(n.charAt(s)))){for(;z.test(n.charAt(s+1));)s+=1;n.charCodeAt(s+1)===A&&(s+=1)}d=["word",n.slice(y,s+1),y,s],y=s;break;default:y=(i===x&&n.charCodeAt(y+1)===U?(s=n.indexOf("*/",y+2)+1,0===s&&(o||e?s=n.length:w("comment")),d=["comment",n.slice(y,s+1),y,s]):(F.lastIndex=y+1,F.test(n),s=0===F.lastIndex?n.length-1:F.lastIndex-2,d=["word",n.slice(y,s+1),y,s],v.push(d)),s)}return y++,d}},endOfFile:function(){return 0===g.length&&y>=m},position:function(){return y}}}},function(t,e,r){"use strict";r.r(e),r.d(e,"nanoid",function(){return o}),r.d(e,"customAlphabet",function(){return n});let n=(r,n)=>()=>{let t="",e=n;for(;e--;)t+=r[Math.random()*r.length|0];return t},o=(t=21)=>{let e="",r=t;for(;r--;)e+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return e}},function(t,e){},function(t,e,r){"use strict";let n=r(44),o=r(24),i=r(9);class s{constructor(t=[]){this.version="8.3.11",this.plugins=this.normalize(t)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}process(t,e={}){return 0!==this.plugins.length||void 0!==e.parser||void 0!==e.stringifier||void 0!==e.syntax||e.hideNothingWarning,new n(this,t,e)}normalize(t){let e=[];for(var r of t)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))e=e.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)e.push(r);else if("function"==typeof r)e.push(r);else{if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin")}return e}}t.exports=s,s.default=s,i.registerProcessor(s),o.registerProcessor(s)},function(t,e,r){"use strict";let i=r(12),s=r(51),a=r(14),u=r(25),c=r(27),f=r(9),l=r(26);function p(t,r){if(Array.isArray(t))return t.map(t=>p(t));let{inputs:e,...n}=t;if(e){r=[];for(var o of e){let t={...o,__proto__:c.prototype};t.map&&(t.map={...t.map,__proto__:s.prototype}),r.push(t)}}if(n.nodes&&(n.nodes=t.nodes.map(t=>p(t,r))),n.source){let{inputId:t,...e}=n.source;n.source=e,null!=t&&(n.source.input=r[t])}if("root"===n.type)return new f(n);if("decl"===n.type)return new i(n);if("rule"===n.type)return new l(n);if("comment"===n.type)return new a(n);if("atrule"===n.type)return new u(n);throw new Error("Unknown node type: "+t.type)}t.exports=p,p.default=p},function(e,t,r){!function(t){"pseudomap"===t.env.npm_package_name&&"test"===t.env.npm_lifecycle_script&&(t.env.TEST_PSEUDOMAP="true"),"function"!=typeof Map||t.env.TEST_PSEUDOMAP?e.exports=r(95):e.exports=Map}.call(this,r(6))},function(t,e){var s=Object.prototype.hasOwnProperty;function r(t){if(!(this instanceof r))throw new TypeError("Constructor PseudoMap requires 'new'");if(this.clear(),t)if(t instanceof r||"function"==typeof Map&&t instanceof Map)t.forEach(function(t,e){this.set(e,t)},this);else{if(!Array.isArray(t))throw new TypeError("invalid argument");t.forEach(function(t){this.set(t[0],t[1])},this)}}function a(t,e){return t===e||t!=t&&e!=e}function u(t,e,r){this.key=t,this.value=e,this._index=r}function n(t,e){for(var r=0,n="_"+e,o=n;s.call(t,o);o=n+r++)if(a(t[o].key,e))return t[o]}t.exports=r,r.prototype.forEach=function(e,r){r=r||this,Object.keys(this._data).forEach(function(t){"size"!==t&&e.call(r,this._data[t].value,this._data[t].key)},this)},r.prototype.has=function(t){return!!n(this._data,t)},r.prototype.get=function(t){t=n(this._data,t);return t&&t.value},r.prototype.set=function(t,e){!function(t,e,r){for(var n=0,o="_"+e,i=o;s.call(t,i);i=o+n++)if(a(t[i].key,e))return t[i].value=r;t.size++,t[i]=new u(e,r,i)}(this._data,t,e)},r.prototype.delete=function(t){t=n(this._data,t);t&&(delete this._data[t._index],this._data.size--)},r.prototype.clear=function(){var t=Object.create(null);t.size=0,Object.defineProperty(this,"_data",{value:t,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(r.prototype,"size",{get:function(){return this._data.size},set:function(t){},enumerable:!0,configurable:!0}),r.prototype.values=r.prototype.keys=r.prototype.entries=function(){throw new Error("iterators are not implemented in this version")}},function(t,j,R){!function(s){var e=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},a=/%[sdj%]/g;j.format=function(t){if(!v(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(u(arguments[r]));return e.join(" ")}for(var r=1,n=arguments,o=n.length,i=String(t).replace(a,function(t){if("%%"===t)return"%";if(o<=r)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}}),s=n[r];r<o;s=n[++r])m(s)||!c(s)?i+=" "+s:i+=" "+u(s);return i},j.deprecate=function(t,e){if(void 0!==s&&!0===s.noDeprecation)return t;if(void 0===s)return function(){return j.deprecate(t,e).apply(this,arguments)};var r=!1;return function(){if(!r){if(s.throwDeprecation)throw new Error(e);s.traceDeprecation?console.trace(e):console.error(e),r=!0}return t.apply(this,arguments)}};var t,n={};function u(t,e){var r={seen:[],stylize:i};return 3<=arguments.length&&(r.depth=arguments[2]),4<=arguments.length&&(r.colors=arguments[3]),d(e)?r.showHidden=e:e&&j._extend(r,e),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),f(r,t,r.depth)}function o(t,e){e=u.styles[e];return e?"["+u.colors[e][0]+"m"+t+"["+u.colors[e][1]+"m":t}function i(t,e){return t}function f(e,r,n){if(e.customInspect&&r&&E(r.inspect)&&r.inspect!==j.inspect&&(!r.constructor||r.constructor.prototype!==r)){var t=r.inspect(n,e);return v(t)||(t=f(e,t,n)),t}var o=function(t,e){if(g(e))return t.stylize("undefined","undefined");if(v(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return y(e)?t.stylize(""+e,"number"):d(e)?t.stylize(""+e,"boolean"):m(e)?t.stylize("null","null"):void 0}(e,r);if(o)return o;var i,s=Object.keys(r),a=(t=s,i={},t.forEach(function(t,e){i[t]=!0}),i);if(e.showHidden&&(s=Object.getOwnPropertyNames(r)),O(r)&&(0<=s.indexOf("message")||0<=s.indexOf("description")))return l(r);if(0===s.length){if(E(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(w(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(b(r))return e.stylize(Date.prototype.toString.call(r),"date");if(O(r))return l(r)}var o="",c=!1,t=["{","}"];return h(r)&&(c=!0,t=["[","]"]),E(r)&&(u=r.name?": "+r.name:"",o=" [Function"+u+"]"),w(r)&&(o=" "+RegExp.prototype.toString.call(r)),b(r)&&(o=" "+Date.prototype.toUTCString.call(r)),O(r)&&(o=" "+l(r)),0!==s.length||c&&0!=r.length?n<0?w(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),s=c?function(e,r,n,o,t){for(var i=[],s=0,a=r.length;s<a;++s)A(r,String(s))?i.push(p(e,r,n,o,String(s),!0)):i.push("");return t.forEach(function(t){t.match(/^\d+$/)||i.push(p(e,r,n,o,t,!0))}),i}(e,r,n,a,s):s.map(function(t){return p(e,r,n,a,t,c)}),e.seen.pop(),function(t,e,r){var n=t.reduce(function(t,e){return 0<=e.indexOf("\n")&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(60<n)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(s,o,t)):t[0]+o+t[1]}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,r,n,o,i){var s,a,e=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]};if(e.get?a=e.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):e.set&&(a=t.stylize("[Setter]","special")),A(n,o)||(s="["+o+"]"),a||(t.seen.indexOf(e.value)<0?(a=m(r)?f(t,e.value,null):f(t,e.value,r-1),-1<a.indexOf("\n")&&(a=i?a.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n"))):a=t.stylize("[Circular]","special")),g(s)){if(i&&o.match(/^\d+$/))return a;s=JSON.stringify(""+o),s=s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),t.stylize(s,"string"))}return s+": "+a}function h(t){return Array.isArray(t)}function d(t){return"boolean"==typeof t}function m(t){return null===t}function y(t){return"number"==typeof t}function v(t){return"string"==typeof t}function g(t){return void 0===t}function w(t){return c(t)&&"[object RegExp]"===r(t)}function c(t){return"object"==typeof t&&null!==t}function b(t){return c(t)&&"[object Date]"===r(t)}function O(t){return c(t)&&("[object Error]"===r(t)||t instanceof Error)}function E(t){return"function"==typeof t}function r(t){return Object.prototype.toString.call(t)}function x(t){return t<10?"0"+t.toString(10):t.toString(10)}j.debuglog=function(e){var r;return g(t)&&(t=s.env.NODE_DEBUG||""),e=e.toUpperCase(),n[e]||(new RegExp("\\b"+e+"\\b","i").test(t)?(r=s.pid,n[e]=function(){var t=j.format.apply(j,arguments);console.error("%s %d: %s",e,r,t)}):n[e]=function(){}),n[e]},j.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},j.isArray=h,j.isBoolean=d,j.isNull=m,j.isNullOrUndefined=function(t){return null==t},j.isNumber=y,j.isString=v,j.isSymbol=function(t){return"symbol"==typeof t},j.isUndefined=g,j.isRegExp=w,j.isObject=c,j.isDate=b,j.isError=O,j.isFunction=E,j.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},j.isBuffer=R(97);var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(t,e){return Object.prototype.hasOwnProperty.call(t,e)}j.log=function(){var t,e;console.log("%s - %s",(t=new Date,e=[x(t.getHours()),x(t.getMinutes()),x(t.getSeconds())].join(":"),[t.getDate(),S[t.getMonth()],e].join(" ")),j.format.apply(j,arguments))},j.inherits=R(98),j._extend=function(t,e){if(!e||!c(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function _(t,e){var r;return t||(r=new Error("Promise was rejected with a falsy value"),r.reason=t,t=r),e(t)}j.promisify=function(i){if("function"!=typeof i)throw new TypeError('The "original" argument must be of type Function');if(P&&i[P]){var t=i[P];if("function"!=typeof t)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var r,n,t=new Promise(function(t,e){r=t,n=e}),e=[],o=0;o<arguments.length;o++)e.push(arguments[o]);e.push(function(t,e){t?n(t):r(e)});try{i.apply(this,e)}catch(t){n(t)}return t}return Object.setPrototypeOf(t,Object.getPrototypeOf(i)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,e(i))},j.promisify.custom=P,j.callbackify=function(i){if("function"!=typeof i)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],e=0;e<arguments.length;e++)t.push(arguments[e]);var r=t.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");function n(){return r.apply(o,arguments)}var o=this;i.apply(this,t).then(function(t){s.nextTick(n,null,t)},function(t){s.nextTick(_,t,n)})}return Object.setPrototypeOf(t,Object.getPrototypeOf(i)),Object.defineProperties(t,e(i)),t}}.call(this,R(6))},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;function r(){}r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},function(t,e){function i(t){var e=this;if(e instanceof i||(e=new i),e.tail=null,e.head=null,e.length=0,t&&"function"==typeof t.forEach)t.forEach(function(t){e.push(t)});else if(0<arguments.length)for(var r=0,n=arguments.length;r<n;r++)e.push(arguments[r]);return e}function o(t,e,r,n){if(!(this instanceof o))return new o(t,e,r,n);this.list=n,this.value=t,e?(e.next=this,this.prev=e):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}t.exports=i,i.Node=o,i.create=i,i.prototype.removeNode=function(t){if(t.list!==this)throw new Error("removing node which does not belong to this list");var e=t.next,r=t.prev;e&&(e.prev=r),r&&(r.next=e),t===this.head&&(this.head=e),t===this.tail&&(this.tail=r),t.list.length--,t.next=null,t.prev=null,t.list=null},i.prototype.unshiftNode=function(t){var e;t!==this.head&&(t.list&&t.list.removeNode(t),e=this.head,t.list=this,t.next=e,e&&(e.prev=t),this.head=t,this.tail||(this.tail=t),this.length++)},i.prototype.pushNode=function(t){var e;t!==this.tail&&(t.list&&t.list.removeNode(t),e=this.tail,t.list=this,t.prev=e,e&&(e.next=t),this.tail=t,this.head||(this.head=t),this.length++)},i.prototype.push=function(){for(var t=0,e=arguments.length;t<e;t++)!function(t,e){t.tail=new o(e,t.tail,null,t),t.head||(t.head=t.tail);t.length++}(this,arguments[t]);return this.length},i.prototype.unshift=function(){for(var t=0,e=arguments.length;t<e;t++)!function(t,e){t.head=new o(e,null,t.head,t),t.tail||(t.tail=t.head);t.length++}(this,arguments[t]);return this.length},i.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}},i.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}},i.prototype.forEach=function(t,e){e=e||this;for(var r=this.head,n=0;null!==r;n++)t.call(e,r.value,n,this),r=r.next},i.prototype.forEachReverse=function(t,e){e=e||this;for(var r=this.tail,n=this.length-1;null!==r;n--)t.call(e,r.value,n,this),r=r.prev},i.prototype.get=function(t){for(var e=0,r=this.head;null!==r&&e<t;e++)r=r.next;if(e===t&&null!==r)return r.value},i.prototype.getReverse=function(t){for(var e=0,r=this.tail;null!==r&&e<t;e++)r=r.prev;if(e===t&&null!==r)return r.value},i.prototype.map=function(t,e){e=e||this;for(var r=new i,n=this.head;null!==n;)r.push(t.call(e,n.value,this)),n=n.next;return r},i.prototype.mapReverse=function(t,e){e=e||this;for(var r=new i,n=this.tail;null!==n;)r.push(t.call(e,n.value,this)),n=n.prev;return r},i.prototype.reduce=function(t,e){var r,n=this.head;if(1<arguments.length)r=e;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var o=0;null!==n;o++)r=t(r,n.value,o),n=n.next;return r},i.prototype.reduceReverse=function(t,e){var r,n=this.tail;if(1<arguments.length)r=e;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==n;o--)r=t(r,n.value,o),n=n.prev;return r},i.prototype.toArray=function(){for(var t=new Array(this.length),e=0,r=this.head;null!==r;e++)t[e]=r.value,r=r.next;return t},i.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,r=this.tail;null!==r;e++)t[e]=r.value,r=r.prev;return t},i.prototype.slice=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new i;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=0,o=this.head;null!==o&&n<t;n++)o=o.next;for(;null!==o&&n<e;n++,o=o.next)r.push(o.value);return r},i.prototype.sliceReverse=function(t,e){e=e||this.length,e<0&&(e+=this.length),t=t||0,t<0&&(t+=this.length);var r=new i;if(e<t||e<0)return r;t<0&&(t=0),e>this.length&&(e=this.length);for(var n=this.length,o=this.tail;null!==o&&e<n;n--)o=o.prev;for(;null!==o&&t<n;n--,o=o.prev)r.push(o.value);return r},i.prototype.reverse=function(){for(var t=this.head,e=this.tail,r=t;null!==r;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=e,this.tail=t,this}},function(t,e,r){"use strict";r.r(e),r.d(e,"createMicroApp",function(){return ce}),r.d(e,"getManifest",function(){return ye}),r.d(e,"getConfig",function(){return ge}),r.d(e,"getLocale",function(){return we}),r.d(e,"BaseLoader",function(){return Ur}),r.d(e,"Logger",function(){return Lr}),r.d(e,"getAlfaEnv",function(){return ue.a}),r.d(e,"getAlfaLocale",function(){return ue.b}),r.d(e,"getReleaseUrl",function(){return ue.e}),r.d(e,"getConfigUrl",function(){return ue.c}),r.d(e,"resolveReleaseUrl",function(){return ue.h}),r.d(e,"resolveConfigUrl",function(){return ue.g}),r.d(e,"getURL",function(){return ue.f}),r.d(e,"getManifestFromConfig",function(){return ue.d}),r.d(e,"createEventBus",function(){return K}),r.d(e,"prefetch",function(){return ae}),r.d(e,"IAppConfig",function(){}),r.d(e,"IOptions",function(){}),r.d(e,"AlfaFactoryOption",function(){}),r.d(e,"AlfaConfig",function(){}),r.d(e,"IWin",function(){}),r.d(e,"AlfaEnvEnum",function(){}),r.d(e,"AlfaLogger",function(){return Dr});var u={};function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(u),r.d(u,"createEventBus",function(){return K}),r.d(u,"mountApp",function(){return Jt}),r.d(u,"isAppRegistered",function(){return Zt}),r.d(u,"start",function(){return Xt}),r.d(u,"load",function(){return Qt}),r.d(u,"destroy",function(){return te}),r.d(u,"update",function(){return ee}),r.d(u,"getExposedModule",function(){return re}),r.d(u,"loadExposedModule",function(){return ne}),r.d(u,"mount",function(){return oe}),r.d(u,"unmount",function(){return ie}),r.d(u,"createMicroApp",function(){return se}),r.d(u,"prefetch",function(){return ae});var p=r(1),o=r(0),h=r.n(o),a=r(8);function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){if(t){if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}function d(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||s(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function l(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),t}function m(t){try{e=new URL(t)}catch(t){return}var e=e.searchParams;return e?e.get("callback")||e.get("cb"):null}var y=function(t){setTimeout(function(){var e,r;t.src&&(e=t.ownerContext.window,r=m(t.src),r&&"function"==typeof e[r]&&(window[r]=function(){var t=e[r].apply(e,arguments);return window[r]=null,t}))},0)};if("function"==typeof window.Element)for(var v=0,g=["appendChild","insertBefore","append"];v<g.length;v++){var w=g[v],b=window.Element.prototype[w];window.Element.prototype[w]=function(o){return function(r){if(r&&r._evalScriptInSandbox&&r.ownerContext&&"SCRIPT"===r.nodeName&&r.src&&-1===r.ownerContext.allowResources.indexOf(r.src)&&!m(r.src))return r.ownerContext.loadScripts(r.src).then(function(){var t=r._listenerMap.get("load");t&&t.forEach(function(t){t()}),r.onload&&r.onload()}).catch(function(e){console.error(e);var t=r._listenerMap.get("error");t&&t.forEach(function(t){t(e)}),r.onerror&&r.onerror(e)});r&&"SCRIPT"===r.nodeName&&r.ownerContext&&y(r),r&&r.scriptText&&r.ownerContext.evalScript(r.scriptText);for(var t=arguments.length,e=new Array(1<t?t-1:0),n=1;n<t;n++)e[n-1]=arguments[n];try{return o.call.apply(o,[this,r].concat(e))}catch(t){return o.apply(this,[r].concat(e))}}}(b)}var O=window.addEventListener,E=window.removeEventListener,x=["webkitmouseforcedown","webkitmouseforcewillbegin","visibilitychange","error","mousemove","mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","close","cancel","copy","cut","paste","click","change","contextmenu","reset","submit","resize","scroll","foucs","blur"];function S(t){t=t.prototype&&t.prototype.constructor===t&&1<Object.getOwnPropertyNames(t.prototype).length||/^class\b/.test(t.toString());return t}function A(t){t=0===t.name.indexOf("bound ")&&!t.hasOwnProperty("prototype");return t}var P=["setTimeout","setInterval","clearInterval","clearTimeout"],_=["requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","cancelAnimationFrame","webkitCancelAnimationFrame","mozCancelAnimationFrame","oCancelAnimationFrame","msCancelAnimationFrame"],j=function t(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},a=1<arguments.length?arguments[1]:void 0,r=2<arguments.length?arguments[2]:void 0;f(this,t);var u=[].concat(_,d(e.externals||[])),c={};return P.forEach(function(t){u.includes(t)||(c[t]=r.contentWindow[t].bind(r.contentWindow))}),new Proxy(r.contentWindow,{set:function(t,e,r){return t[e]=r,c[e]=r,!0},get:function(t,e){if(u.includes(e)){var r=window[e];if("function"!=typeof r||A(r)||S(r))return r;var n,o=r.bind(window);for(n in r)o[n]=r[n];return o}switch(e){case"document":return a.document;case"location":return a.location;case"history":return a.history;case"__CONSOLE_OS_GLOBAL_VARS_":return c;case"addEventListener":return s=a,function(t,e,r){var n=s._listenerMap.get(t)||[];return s._listenerMap.set(t,[].concat(d(n),[e])),-1===x.indexOf(t)?s.baseFrame.addEventListener.apply(s.baseFrame.contentWindow,[t,e,r]):O.apply(window,[t,e,r])};case"removeEventListener":return i=a,function(t,e,r){var n=i._listenerMap.get(t);return n&&n.length&&-1!==n.indexOf(e)&&n.splice(n.indexOf(e),1),-1===x.indexOf(t)?i.baseFrame.removeEventListener.apply(i.baseFrame.contentWindow,[t,e,r]):E.apply(window,[t,e,r])}}var i,s;if(c[e])return c[e];e=t[e];return"function"!=typeof e||A(e)||S(e)?e:e.bind&&e.bind(t)}})},R=j,C=function(o,i){return function(t,e,r){var n=o._listenerMap.get(t)||[];return o._listenerMap.set(t,[].concat(d(n),[e])),i.apply(o,[t,e,r])}},T=function(o,i){return function(t,e,r){var n=o._listenerMap.get(t);return n&&n.length&&-1!==n.indexOf(e)&&n.splice(n.indexOf(e),1),i.apply(o,[t,e,r])}},N=["innerHTML","text","innerText"];function k(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return L(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,e=function(){};return{s:e,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var I=function t(){var r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},o=1<arguments.length?arguments[1]:void 0;f(this,t);var i=[];return new Proxy(document,{set:function(t,e,r){return"cookie"===e?document.cookie=r:t[e]=r,!0},get:function(n,t){switch(t){case"body":return o.body;case"location":return o.location;case"defaultView":return o.window;case"write":case"writeln":return function(){};case"createElement":return function(){var e,t=(t=document).createElement.apply(t,arguments);return t.ownerContext=o,t.appId=r.id,"SCRIPT"!==t.tagName||r.enableScriptEscape||(t._evalScriptInSandbox=!0,e=t,e._listenerMap=new Map,e.addEventListener=C(e,e.addEventListener),e.removeEventListener=T(e,e.removeEventListener),N.forEach(function(t){Object.defineProperty(e,t,{get:function(){return this.scriptText||""},set:function(t){this.scriptText=t,e.parentNode&&this.ownerContext.evalScript&&e.ownerContext.evalScript(t.toString())},enumerable:!1})})),t};case"addEventListener":return function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return i.push(e),n.addEventListener.apply(n,e)};case"removeEventListeners":return function(){var t,e=k(i);try{for(e.s();!(t=e.n()).done;){var r=t.value;n.removeEventListener.apply(n,d(r))}}catch(t){e.e(t)}finally{e.f()}}}return"function"==typeof n[t]?n[t].bind&&n[t].bind(n):n[t]}})},U=I,D=function t(n){return f(this,t),new Proxy({},{set:function(t,e,r){return"href"===e||(n[e]=r),!0},get:function(t,e){switch(e){case"reload":case"replace":return function(){};case"toString":return function(){try{return n.toString()}catch(t){return n.href}}}return"function"==typeof n[e]?n[e].bind&&n[e].bind(t):n[e]}})},M=D,B=function t(e,o){if(f(this,t),!e)return o.history;function i(){o.postMessage({type:"".concat(e,":history-change"),data:JSON.parse(JSON.stringify(o.location))},"*")}var s=o.history.pushState,a=o.history.replaceState;return o.history.pushState=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=s.apply(o.history,[].concat(e));return i(),n},o.history.replaceState=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=a.apply(o.history,[].concat(e));return i(),n},o.history},F=B;function W(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var e=function(){function n(t,e){f(this,n),this.location=new M(e.contentWindow.location),this.history=new F(t.id,e.contentWindow),this.window=new R(t,this,e,location),this.allowResources=t.allowResources||[];var r=t.body;t.disableBody?r=document.body:t.body||(r=document.createElement("body"),document.documentElement.appendChild(r)),this.body=r,this.document=new U(z({enableScriptEscape:!0},t),this,e,location),this.baseFrame=e,this._listenerMap=new Map,this.window.__IS_CONSOLE_OS_CONTEXT__=!0}var e,r;return l(n,[{key:"loadScripts",value:(r=Object(p.a)(h.a.mark(function t(r){var n;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(r,{credentials:(e=r,e.includes("console.aliyun.com")?"include":"omit")});case 2:return n=t.sent,t.next=5,n.text();case 5:n=t.sent,this.evalScript(n,r);case 7:case"end":return t.stop()}var e},t,this)})),function(t){return r.apply(this,arguments)})},{key:"evalScript",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",e=new Function("\n return function ({window, location, history, document}){ \n with(window.__CONSOLE_OS_GLOBAL_VARS_) {\n try {\n ".concat(t,"\n }\n catch(e) {\n console.log(e)\n }\n }\n }//@ sourceMappingURL=").concat(e));e().call(this.window,z({},this))}},{key:"updateBody",value:function(t){this.body=t}},{key:"remove",value:function(){this.document.removeEventListeners(),this.baseFrame&&(this.baseFrame.parentNode?this.baseFrame.parentNode.removeChild(this.baseFrame):this.baseFrame.setAttribute("src","about:blank"))}}],[{key:"create",value:function(r){var n=this;return new Promise(function(t){var e=document.createElement("iframe");if(e.setAttribute("src",r.url||"/api.json"),e.style.cssText="position: absolute; top: -20000px; width: 100%; height: 1px;",document.body.appendChild(e),"about:blank"===r.url)return t(new n(r,e));e.onload=function(){t(new n(r,e))}})}},{key:"remove",value:(e=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.remove&&e.remove();case 1:case"end":return t.stop()}},t)})),function(t){return e.apply(this,arguments)})}]),n}(),H=e;var G=function(){var t=Object(p.a)(h.a.mark(function t(){var e,r=arguments;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<r.length&&void 0!==r[0]?r[0]:{},t.next=3,H.create(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}(),Y=function(){var e=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,H.remove(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),$=r(2);function q(t){return q="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},q(t)}var o=r(40),V=new o.EventEmitter,K=function(){try{return void 0!==("undefined"==typeof _aliOSKernel?"undefined":q(_aliOSKernel))&&_aliOSKernel.createEventBus?_aliOSKernel.createEventBus():V}catch(t){}return V};function J(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}var Z=function(){function o(t,e){var n=this;f(this,o),this.cache=new Map,this.resolved=function(t){return n.cache.has(t)},this.require=function(t){var e,r=n.resolveModule(t);return(null===(e=n.context)||void 0===e?void 0:e.window[t])||r.exports},this.id=t,this.exports={},this.parent=e,this.filename=t,this.loaded=!1}return l(o,[{key:"requireIsolateWithContext",value:function(t,e){t=this.resolveModule(t);return t.resolver(t.require,t,t.exports,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e)),t.exports}},{key:"resolveModule",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,r=this.cache.get(t);if(void 0!==r)return r;e=new o(t,e);return this.cache.set(t,e),e}}]),o}();Z.record=new Map;var X=new Z("main",null),Q=function t(){f(this,t)};function tt(t,e,r){e.onerror=e.onload=null,clearTimeout(r);r=Z.record.get(t);t&&t.endsWith&&!t.endsWith("_scripts_")&&r&&!r.loaded&&Z.record.delete(t)}function et(t,e,r){var n=Z.record.get(t);tt(t,e,r),n&&n.reject(new Error("script load fail"))}function rt(){return rt=Object(p.a)(h.a.mark(function t(e,r,n){var o;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(r);case 2:return o=t.sent,t.next=5,o.text();case 5:o=t.sent,window.eval("__CONSOLE_OS_GLOBAL_HOOK__('".concat(e.replace("_scripts_",""),"', function(require, module, exports, {window, location, history, document}){\n with(window.__CONSOLE_OS_GLOBAL_VARS_){\n ").concat(n(o),"\n }\n })"));case 7:case"end":return t.stop()}},t)})),rt.apply(this,arguments)}function nt(){return ot.apply(this,arguments)}function ot(){return ot=Object(p.a)(h.a.mark(function t(r){var e,n,o;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r.transform||(r.transform=function(t){return t}),r.noCache||!X.resolved(r.id)){t.next=5;break}if(r.context)return t.abrupt("return",X.requireIsolateWithContext(r.id,r.context));t.next=4;break;case 4:return t.abrupt("return",X.require(r.id));case 5:return e=[],n=Z.record.get(r.id),n&&n.loaded||(n?e.push(n.promise):(o=new Promise(function(t,e){n=new Q,n.resolve=t,n.reject=e,n.context=r.context,n.deps=r.deps,Z.record.set(r.id,n)}),n.promise=o,e.push(o),r.xmlrequest?function(){rt.apply(this,arguments)}(r.id,r.url,r.transform):function(t,e){var r=document.createElement("script");r.charset="utf-8",r.src=e,r.setAttribute("nonce","");var n=window.setTimeout(function(){et(t,r,n)},12e4);r.onerror=function(){et(t,r,n)},r.onload=function(){tt(t,r,n)},document.head.appendChild(r)}(r.id,r.url))),t.next=10,Promise.all(e);case 10:return t.abrupt("return",X.require(r.id));case 11:case"end":return t.stop()}},t)})),ot.apply(this,arguments)}function it(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}}(t,e)||s(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var j=r(52),st=r.n(j);function at(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var ct=function(t,e){var r=e.context;return st()(e.context)&&(r=r({id:t})),r},ft=null;function lt(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function pt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ht(){return dt.apply(this,arguments)}function dt(){return dt=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t)})),dt.apply(this,arguments)}function mt(){return yt.apply(this,arguments)}function yt(){return yt=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt(pt(pt({},e),{},{id:"".concat(e.id,"_scripts_"),noCache:!0}));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t)})),yt.apply(this,arguments)}window.__CONSOLE_OS_GLOBAL_HOOK__&&void 0!==("undefined"==typeof document?"undefined":q(document))&&(ft=window.__CONSOLE_OS_GLOBAL_HOOK__),window.__CONSOLE_OS_GLOBAL_HOOK__=function(t,e){if(t&&e){var r=Z.record.get(t),n=Z.record.get("".concat(t,"_scripts_"));if(!r&&!n)return s=t,a=e,void(ft&&!ft.standalone&&ft(s,a));if(n)return function(t,e,r){try{var n=ct(t,r);e.call(n.window,void 0,void 0,void 0,ut({},n)),Z.record.delete("".concat(t,"_scripts_")),r.loaded=!0,r.resolve()}catch(t){r.reject(t)}}(t,e,n);if(r){var o=X.resolveModule(t);try{var i=ct(t,r);r.deps&&Object.entries(r.deps).forEach(function(t){var e=it(t,2),t=e[0],e=e[1];e||console.warn("".concat(t," is null or undefined, please check the import statement for ").concat(t));t=o.resolveModule(t);t.exports=e}),o.resolver=e,i=i||X.context,o.context=i,e(o.require,o,o.exports,ut({},i)),r.resolve(r)}catch(t){r.reject(t)}r.loaded=!0}}var s,a};var I=r(5),vt=r.n(I),D=r(15),gt=r.n(D),B=r(53),wt=r.n(B),e=r(54),bt=r.n(e);var Ot={repeat:3,overrideIds:!0,stackableRoot:":not(#\\9)"},Et=gt.a.plugin("postcss-css-wrapper",function(t){var n=wt()({},Ot,t);return function(t){t.walkRules(function(t){var e,r="atrule"===t.parent.type&&"keyframes"===t.parent.name;r||(t=t,e=n,t.selectors=t.selectors.map(function(t){return"html"===t||":root"===t||":host"===t||t===e.stackableRoot?t+e.stackableRoot.repeat(e.repeat):e.stackableRoot.repeat(e.repeat)+" "+t}),e.overrideIds&&(new RegExp("#(?!"+bt()("\\9")+")").test(t.selector)||/\[id/.test(t.selector))&&t.walkDecls(function(t){t.important=!0}))})}}),xt=r(10);function St(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function At(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?St(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):St(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Pt(t){return"string"==typeof t.manifest?t.manifest:location.href}var _t=function(){var r=Object(p.a)(h.a.mark(function t(e,r){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.url){t.next=2;break}return t.abrupt("return",Promise.resolve(null));case 2:return t.t0=$.a,t.next=5,ht({id:e.name,url:e.url,context:r});case 5:return t.t1=t.sent,t.abrupt("return",(0,t.t0)(t.t1));case 7:case"end":return t.stop()}},t)}));return function(t,e){return r.apply(this,arguments)}}(),jt=function(){var r=Object(p.a)(h.a.mark(function t(e,r){var n,o,i,s,a,u,c,f,l;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.name,o=e.url,i=null,e.manifest)return t.next=5,Object(xt.a)(e,e.name);t.next=36;break;case 5:if(s=t.sent,!s){t.next=36;break}if(n=s.name,c=Object(xt.b)(s),a=c.js,u=c.css,s.runtime)return t.next=12,_t(s.runtime,{window:window,document:document,location:location,history:history});t.next=14;break;case 12:c=t.sent,c&&(e.deps=c);case 14:if(!s.externals||!s.externals.length){t.next=27;break}f=0;case 16:if(!(f<s.externals.length)){t.next=27;break}if(s.externals[f].startsWith&&s.externals[f].startsWith("http")){t.next=19;break}return t.abrupt("continue",24);case 19:if(s.externals[f].endsWith(".css"))return function(t,n){t.forEach(function(){var e=Object(p.a)(h.a.mark(function t(e){var r;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,vt.a.get(e);case 2:return r=t.sent,t.abrupt("return",gt()([Et({stackableRoot:n,repeat:1,overrideIds:!1})]).process(r.data).then(function(t){var e=document.createElement("style");e.innerHTML=t.css,document.head.appendChild(e)}));case 4:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}())}([s.externals[f]],e.name),t.abrupt("continue",24);t.next=22;break;case 22:return t.next=24,mt({id:n,url:s.externals[f],context:r,xmlrequest:!0});case 24:f++,t.next=16;break;case 27:f=0;case 28:if(f<a.length-1)return t.next=31,mt({id:n,url:Object($.c)(a[f],Pt(e)),context:r});t.next=34;break;case 31:f++,t.next=28;break;case 34:o=Object($.c)(a[a.length-1],Pt(e)),i=u;case 36:return i&&function(t,r){t.forEach(function(t){var e=document.createElement("link");e.rel="stylesheet",e.href=Object($.c)(t,r),document.head.appendChild(e)})}(i,Pt(e)),t.t0=$.a,t.next=40,ht({id:n,url:o,context:r,deps:At(At({},e.deps||{}),{},{"@alicloud/console-os-environment":{publicPath:e.publicPath||Object($.e)(o)}})});case 40:return t.t1=t.sent,l=(0,t.t0)(t.t1),Object($.h)(l),t.abrupt("return",{name:n,bootstrap:d(l.bootstrap),mount:[Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object($.f)(e.appWillMount,l);case 2:case"end":return t.stop()}},t)}))].concat(d(l.mount),[Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object($.f)(e.appDidMount,l);case 2:case"end":return t.stop()}},t)}))]),unmount:[Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object($.f)(e.appWillUnmount,l);case 2:case"end":return t.stop()}},t)}))].concat(d(l.unmount),[Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object($.f)(e.appDidUnmount,l);case 2:case"end":return t.stop()}},t)}))]),update:[Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object($.f)(e.appWillUpdate,l);case 2:case"end":return t.stop()}},t)}))].concat(d(l.update||[])),exposedModule:l.exposedModule});case 44:case"end":return t.stop()}},t)}));return function(t,e){return r.apply(this,arguments)}}();function Rt(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function Ct(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Tt=K(),Nt=function(){function o(t,e,r){var n=this;f(this,o),this._emitLocationChange=function(){Tt.emit(n.historyEventName,n.context.location)},this._emitGlobalEvent=function(t){var e=t.data;e.type&&-1!==n.allowEvents.indexOf(t.data.type)&&(e.appId=n.appInfo.name,e.type===n.historyEventName?n._emitLocationChange():Tt.emit(e.type,Object($.g)(e)))},this.appInfo=t,this.context=e,this.inited=!1;e=[this.historyEventName];this.allowEvents=r.allowEvents?[].concat(d(r.allowEvents),e):[].concat(e)}var t,e,r,n,i,s;return l(o,[{key:"isInited",value:function(){return this.inited}},{key:"setPendingPromise",value:function(t){this.pendingPromise=t}},{key:"getPendingPromise",value:function(){return this.pendingPromise}},{key:"setPendingResolver",value:function(t){this._pendingResolver=t}},{key:"pendingResolver",get:function(){return this._pendingResolver}},{key:"setPendingRejecter",value:function(t){this._pendingRejecter=t}},{key:"pendingRejecter",get:function(){return this._pendingRejecter}},{key:"load",value:(s=Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.remoteApp){t.next=4;break}return t.next=3,jt(this.appInfo,this.context);case 3:this.remoteApp=t.sent;case 4:return this.inited=!0,t.abrupt("return",this.remoteApp);case 6:case"end":return t.stop()}},t,this)})),function(){return s.apply(this,arguments)})},{key:"mount",value:(i=Object(p.a)(h.a.mark(function t(e){var r,n,o=arguments;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=1<o.length&&void 0!==o[1]?o[1]:{},n=r.customProps,r=this.context.baseFrame,r&&(r.contentWindow.addEventListener("popstate",this._emitLocationChange),r.contentWindow.addEventListener("message",this._emitGlobalEvent)),n=Object(a.b)({name:this.appInfo.name,customProps:{},domElement:void 0,bootstrap:Object($.b)(this.remoteApp.bootstrap,"bootstrap"),mount:Object($.b)(this.remoteApp.mount,"mount"),unmount:Object($.b)(this.remoteApp.unmount,"unmount"),update:Object($.b)(this.remoteApp.update,"update")},{domElement:e||this.appInfo.dom,appProps:Ct({emitter:K()},n||this.appInfo.customProps)}),this.attachParcel(n),t.abrupt("return",this.parcel.mountPromise);case 6:case"end":return t.stop()}},t,this)})),function(t){return i.apply(this,arguments)})},{key:"update",value:(n=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.parcel&&this.parcel.update&&this.parcel.update({appProps:Ct(Ct({},e),{},{emitter:K()})}));case 1:case"end":return t.stop()}},t,this)})),function(t){return n.apply(this,arguments)})},{key:"unmount",value:(r=Object(p.a)(h.a.mark(function t(){var e;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.parcel&&"MOUNTED"===this.parcel.getStatus()&&(e=this.context.baseFrame,e&&(e.contentWindow.removeEventListener("popstate",this._emitLocationChange),e.contentWindow.removeEventListener("message",this._emitGlobalEvent)),this.parcel.unmount());case 1:case"end":return t.stop()}},t,this)})),function(){return r.apply(this,arguments)})},{key:"destroy",value:(e=Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.unmount();case 2:Y(this.context);case 3:case"end":return t.stop()}},t,this)})),function(){return e.apply(this,arguments)})},{key:"dispose",value:(t=Object(p.a)(h.a.mark(function t(){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.destroy());case 1:case"end":return t.stop()}},t,this)})),function(){return t.apply(this,arguments)})},{key:"getExposedModule",value:function(t){if(this.remoteApp.exposedModule)return this.remoteApp.exposedModule[t]}},{key:"attachParcel",value:function(t){this.parcel=t}},{key:"historyEventName",get:function(){return"".concat(this.appInfo.name,":history-change")}}]),o}(),kt=function(){var e=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",G(e));case 1:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),o=r(16),Lt=r.n(o),It=null;var Ut=function(){var r=Object(p.a)(h.a.mark(function t(n,o){var i,s,a;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i={window:window,document:document,location:location,history:history},s=new Nt(n,i,o),a=new Promise(function(t,e){s.setPendingResolver(t),s.setPendingRejecter(e)}),s.setPendingPromise(a),e=n.name,r=s,It.set(e,r),o.disable){t.next=12;break}return t.next=8,kt({body:n.dom,id:n.name,externals:o?o.externalsVars:[],url:o.sandBoxUrl,disableBody:o.disableFakeBody,allowResources:o.allowResources,enableScriptEscape:!1});case 8:i=t.sent,i.history.replaceState(null,"",o.initialPath||"/"),t.next=13;break;case 12:window.__IS_CONSOLE_OS_CONTEXT__=!0;case 13:return i._aliOSKernel=n.sharingKernel?u:null,s.context=i,t.abrupt("return",s);case 16:case"end":return t.stop()}var e,r},t)}));return function(t,e){return r.apply(this,arguments)}}(),Dt=function(){var r=Object(p.a)(h.a.mark(function t(r,n){var o,i;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(xt.a)(r,r.name);case 2:if(o=t.sent,r.name=o.name,e=r.name,i=It.get(e),i&&i.isInited())return i.context.updateBody&&!n.disableFakeBody&&i.context.updateBody&&i.context.updateBody(r.dom),n.syncInitHref&&i.context.baseFrame&&i.context.baseFrame.contentWindow.history.replaceState(null,null,n.initialPath||"/"),t.abrupt("return",i);t.next=9;break;case 9:if(i&&i.isInited()){t.next=12;break}if(i)return t.abrupt("return",new Promise(function(t){t(i.getPendingPromise())}));t.next=12;break;case 12:return t.next=14,Ut(r,n);case 14:return i=t.sent,i.pendingResolver&&i.pendingResolver(i),t.abrupt("return",i);case 17:case"end":return t.stop()}var e},t)}));return function(t,e){return r.apply(this,arguments)}}(),Mt=r(11);function Bt(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function Ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bt(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Wt(t,e){return t.getExposedModule(e)}var zt={},Ht=!1,Gt=function(){var e=Object(p.a)(h.a.mark(function t(e){var r,n=arguments;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=1<n.length&&void 0!==n[1]?n[1]:{},Ht||qt(),r=Ft(Ft({singleton:!0},zt.sandbox),r.sandbox),e.deps||(e.deps=zt.deps||{}),t.next=6,Dt(e,r);case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),Yt=function(){var e=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.load();case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),$t=function(){var r=Object(p.a)(h.a.mark(function t(e,r){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.mount(r.dom,{customProps:r.customProps});case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}},t)}));return function(t,e){return r.apply(this,arguments)}}(),j=function(){var r=Object(p.a)(h.a.mark(function t(e,r){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.update(r);case 2:case"end":return t.stop()}},t)}));return function(t,e){return r.apply(this,arguments)}}(),I=function(){var e=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.unmount();case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),D=function(){var e=Object(p.a)(h.a.mark(function t(e){return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.destroy();case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),B=function(){var r=Object(p.a)(h.a.mark(function t(e,r){var n,o,i=arguments;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=2<i.length&&void 0!==i[2]?i[2]:{},t.next=3,Gt(e,n);case 3:return o=t.sent,t.next=6,Yt(o);case 6:return t.abrupt("return",Wt(o,r));case 7:case"end":return t.stop()}},t)}));return function(t,e){return r.apply(this,arguments)}}(),e=function(){var e=Object(p.a)(h.a.mark(function t(e){var r,n,o=arguments;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=1<o.length&&void 0!==o[1]?o[1]:{},t.next=3,Gt(e,r);case 3:return n=t.sent,t.next=6,Yt(n);case 6:return t.next=8,$t(n,e);case 8:return t.abrupt("return",n);case 9:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}(),qt=function(t){Ht=!0,zt=t||{},Object(a.d)(!0),Object(a.c)(),t={},It=new Lt.a({max:t.max||10,dispose:function(t,e){e.dispose()}}),Mt.a()};function Vt(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function Kt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}qt();o=function(t,e){try{return void 0!==("undefined"==typeof _aliOSKernel?"undefined":q(_aliOSKernel))&&_aliOSKernel&&_aliOSKernel[e]?_aliOSKernel[e]:t}catch(t){}return t};window.__CONSOLE_OS_GLOBAL_VARS_={};var Jt=o(e,"mountApp"),Zt=o(e,"isAppRegistered"),Xt=o(qt,"start"),Qt=o(Yt,"load"),te=o(D,"destroy"),ee=o(j,"update"),re=o(Wt,"getExposedModule"),ne=o(B,"loadExposedModule"),oe=o($t,"mount"),ie=o(I,"unmount"),se=o(Gt,"createMicroApp"),ae=o(function(t){t.forEach(function(){var e=Object(p.a)(h.a.mark(function t(e){var r;return h.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.deps||(e.deps=zt.deps||{}),t.next=3,Dt(Kt({},e),Kt({},zt.sandbox));case 3:return r=t.sent,t.next=6,r.load();case 6:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}())},"prefetch"),ue=r(4),ce=function(t,e){void 0===e&&(e={});var r=Object(ue.d)(t),n=Object(ue.f)(t);if(!r&&!n)throw new Error("No entry or manifest in "+t.name);return se({name:t.name,dom:t.container,manifest:r,customProps:t.props,deps:t.deps,url:n,appWillMount:e.beforeMount,appDidMount:e.afterMount,appWillUnmount:e.beforeUnmount,appDidUnmount:e.afterUnmount,appWillUpdate:e.beforeUpdate},{sandbox:e.sandbox})};var fe=function(){return fe=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r],e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},fe.apply(this,arguments)};function le(t,s,a,u){return new(a=a||Promise)(function(r,e){function n(t){try{i(u.next(t))}catch(t){e(t)}}function o(t){try{i(u.throw(t))}catch(t){e(t)}}function i(t){var e;t.done?r(t.value):(e=t.value,(e instanceof a?e:new a(function(t){t(e)})).then(n,o))}i((u=u.apply(t,s||[])).next())})}function pe(r,n){var o,i,s,a={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},t={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function(e){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(s=2&e[0]?i.return:e[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,e[1])).done)return s;switch(i=0,s&&(e=[2&e[0],s.value]),e[0]){case 0:case 1:s=e;break;case 4:return a.label++,{value:e[1],done:!1};case 5:a.label++,i=e[1],e=[0];continue;case 7:e=a.ops.pop(),a.trys.pop();continue;default:if(s=a.trys,!(s=0<s.length&&s[s.length-1])&&(6===e[0]||2===e[0])){a=0;continue}if(3===e[0]&&(!s||e[1]>s[0]&&e[1]<s[3])){a.label=e[1];break}if(6===e[0]&&a.label<s[1]){a.label=s[1],s=e;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(e);break}s[2]&&a.ops.pop(),a.trys.pop();continue}e=n.call(r,a)}catch(t){e=[6,t],i=0}finally{o=s=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([e,t])}}}he.create=function(){return new this},he.prototype.getRemote=function(r){return le(this,void 0,void 0,function(){var e;return pe(this,function(t){switch(t.label){case 0:return this.store[r]?[2,this.store[r]]:[4,vt.a.get(r)];case 1:return e=t.sent(),e=e.data,e&&(this.store[r]=e),[2,e]}})})},he.prototype.get=function(t){return this.store[t]},he.prototype.set=function(t,e){this.store[t]=e},he.prototype.clear=function(){this.store={}},I=he;function he(){this.store={}}function de(n){return le(void 0,void 0,void 0,function(){var e,r;return pe(this,function(t){switch(t.label){case 0:e=n.name,t.label=1;case 1:return t.trys.push([1,3,,4]),[4,me.getRemote(Object(ue.h)(n))];case 2:return r=t.sent(),[2,r];case 3:throw t.sent(),new Error(e+" releaseConfig loading failed, please try again or connect developers.");case 4:return[2]}})})}var me=I.create(),ye=function(i){return le(void 0,void 0,void 0,function(){var e,r,n,o;return pe(this,function(t){switch(t.label){case 0:return e=i.name,r=i.version,[4,de(i)];case 1:if(n=t.sent(),i.version||(r=null===(o=n["dist-tags"])||void 0===o?void 0:o.latest),null!==(o=n["dist-tags"])&&void 0!==o&&o[i.version]&&(r=n["dist-tags"][i.version]),o=n.versions[r],!o)throw new Error(e+"@"+r+" is not found, please check you release.");return[2,n.versions[r].entry]}})})},ve={ALL_CHANNEL_FEATURE_STATUS:{},ALL_CHANNEL_LINKS:{},ALL_FEATURE_STATUS:{}},ge=function(o){return le(void 0,void 0,void 0,function(){var e,r,n;return pe(this,function(t){switch(t.label){case 0:return[4,de(o)];case 1:if(n=t.sent(),e=null===(r=n["dist-tags"])||void 0===r?void 0:r["config-latest"],r=null===(n=null===(r=n["config-versions"])||void 0===r?void 0:r[e])||void 0===n?void 0:n.entry,n=ve,!e||r)return[2,n];t.label=2;case 2:return t.trys.push([2,4,,5]),[4,me.getRemote(r)];case 3:return n=t.sent(),[3,5];case 4:return t.sent(),[3,5];case 5:return[2,n]}})})},we=function(o){return le(void 0,void 0,void 0,function(){var e,r,n;return pe(this,function(t){switch(t.label){case 0:return[4,de(o)];case 1:if(r=t.sent(),e=Object(ue.b)(),n=null===(n=r["dist-tags"])||void 0===n?void 0:n["locales-latest"],n=null===(n=null===(r=r["locales-versions"])||void 0===r?void 0:r[n])||void 0===n?void 0:n[e],e={},!n)return[2,e];t.label=2;case 2:return t.trys.push([2,4,,5]),[4,me.getRemote(n)];case 3:return e=t.sent(),[3,5];case 4:return t.sent(),[3,5];case 5:return[2,e]}})})},o=(be.prototype.use=function(t,e){var r=this;void 0===e&&(e=void 0);var n={fulfilled:t,rejected:e};return this.handlers.push(n),function(){r.handlers=r.handlers.filter(function(t){return t!==n})}},be);function be(){this.handlers=[]}var Oe=o;function Ee(t){var o=0<arguments.length&&void 0!==t?t:{};return Object.keys(o||{}).reduce(function(t,e){var r,n;return t[e]=(r=o[e],n={},Object.keys(r).forEach(function(t){var e=r[t];"true"===e?n[t]=!0:"false"===e?n[t]=!1:/^\d+$/.test(e)?n[t]=Number(e):n[t]=e}),n),t},{})}function xe(t,e){t.ONE="one"===e.portalType,t.ENV=e.fEnv||t.ENV,t.CHANNEL=e.CHANNEL||t.CHANNEL,t.LANG=e.LANG||t.LANG,t.LOCALE=e.LOCALE||t.LOCALE,t.SEC_TOKEN=e.SEC_TOKEN||t.SEC_TOKEN,t.ACCOUNT={ID:e.CURRENT_PK||t.ACCOUNT.ID,ID_MAIN:e.MAIN_ACCOUNT_PK||t.ACCOUNT.ID_MAIN,TYPE:e.ACCOUNT_TYPE||t.ACCOUNT.TYPE,CERTIFIED:"true"===e.IS_CERTIFIED},t.APP_ID=e.APP_ID||"",t.REGIONS=function(t){return t=0<arguments.length&&void 0!==t?t:[],t.map(function(t){var e=t.regionId,r=t.name,n=t.physicalList,n=void 0===n?[]:n,t=t.zoneList,t=void 0===t?[]:t;return{id:e,name:r||e,physicalIds:n.map(function(t){return t.id}).filter(function(t){return t}),zones:t.map(function(t){return{id:t.zoneId,name:t.name}})}})}(e.REGIONS),t.OPEN_STATUS=Ee(e.OPEN_STATUS),t.LINK=e.CHANNEL_LINKS||t.LINK,t.FEATURE_SWITCH=e.CHANNEL_FEATURE_STATUS||t.FEATURE_SWITCH,t.FEATURE_GRAY=e.FEATURE_STATUS||t.FEATURE_GRAY,t.API_RESULT=function(t){var n=0<arguments.length&&void 0!==t?t:{};return Object.keys(n||{}).reduce(function(t,e){var r=n[e];return r&&"200"===r.code&&void 0!==r.data&&(t[e]=r.data),t},{})}(e.STATIC_API),t.RULE_CONFIG=e.RULE_CONFIG||t.RULE_CONFIG,t.LABELS=e.LABELS||t.LABELS,t.USER_PREFERENCE=e.USER_PREFERENCE||t.USER_PREFERENCE,t.NEW_VERSION="true"===e.NEW_VERSION}var Se,Ae,Pe,_e=(Se={ONE:!1,ENV:"prod",CHANNEL:"OFFICIAL",LANG:"zh",LOCALE:"zh-CN",SEC_TOKEN:"",ACCOUNT:{ID:"",ID_MAIN:"",TYPE:"main",CERTIFIED:!1},APP_ID:"",REGIONS:[],OPEN_STATUS:{},LINK:{},FEATURE_SWITCH:{},FEATURE_GRAY:{},API_RESULT:{},RULE_CONFIG:{},LABELS:{},USER_PREFERENCE:{},NEW_VERSION:!1},Ae="undefined"!=typeof window?window.ALIYUN_CONSOLE_CONFIG:void 0,Ae&&xe(Se,Ae),"zh-TW"===Se.LOCALE&&(Se.LANG="zh-TW"),Se);function je(t){return("undefined"!=typeof document&&document.cookie?document.cookie.split(/\s*;\s*/).reduce(function(e,r){var n=r.split("="),r=it(n,2),n=r[0],r=r[1];try{e[n]=decodeURIComponent(r)}catch(t){e[n]=unescape(r)}return e},{}):{})[t]}function Re(t){var e=window,r=e.ALIYUN_ECS_CONSOLE_CONFIG,e="";return _e.ONE?e=_e.CHANNEL:r&&(e=r.channel),e||function(t){switch(t){case"INTL":return"SIN";case"JP":return"JP";case"CN":return"OFFICIAL";default:return t}}(t)}r=Pe=Pe||{},r.DEV="dev",r.DAILY="daily",r.PRE="pre",r.PROD="prod";var Ce,Te,Ne,ke,Le,Ie,Ue,De=(Ce=window,Te=Ce.location.hostname,Le=window,ke=Le.location,Ie=ke.protocol,Le=ke.hostname,ke=ke.port,Ne=ke||/^127(?:\.0\.0)?\.1$|^0\.0\.0\.0$|^localhost$/.test(Le)?Pe.DEV:_e.ONE&&"daily"===_e.ENV||/\.test$/.test(Le)||/daily-|-daily/i.test(Le)?Pe.DAILY:_e.ONE&&"pre"===_e.ENV||/pre-|-pre/i.test(Le)||"http:"===Ie?Pe.PRE:Pe.PROD,Ce=je("aliyun_site")||"CN",ke=/4service/.test(Te),Le=/\.test$/.test(Te),Ie=/\.console\.aliyun\.(?:com|test)$/.test(Te),Te=/\.alibabacloud\.(?:com|test)$/.test(Te),Te="".concat(ke?"fecs4service":"fecs",".console.").concat(Te?"alibabacloud":"aliyun",".").concat(Le?"test":"com"),Le="https://".concat(Te),{ENV:Ne,ENV_IS_DEV:Ne===Pe.DEV,ENV_IS_DAILY:Ne===Pe.DAILY,ENV_IS_PRE:Ne===Pe.PRE,ENV_IS_PROD:Ne===Pe.PROD,APP_ID:_e.APP_ID,DOMAIN_IS_4SERVICE:ke,DOMAIN_IS_CONSOLE:Ie,SITE:Ce,CHANNEL:Re(Ce),FECS_HOST:Te,FECS_URL_BASE:Le});I=Ue=Ue||{},I.MAIN="main",I.RAM="sub",I.STS="sts";var Me,Be,Fe,We,ze,He,o=(Me=window,Be=Me.ALIYUN_ECS_CONSOLE_CONFIG,Fe="",We="",Me=Ue.MAIN,_e.ONE?(Fe=_e.ACCOUNT.ID,We=_e.ACCOUNT.ID_MAIN,Me=_e.ACCOUNT.TYPE):Be&&(Fe=Be.CURRENT_PK,We=Be.MASTER_PK,Be.isChildAccount?Me=Ue.RAM:Be.isRoleAccount&&(Me=Ue.STS)),Fe||(Fe=je("login_aliyunid_pk")||"",Fe||(Me=Ue.RAM)),{ID:Fe,ID_MAIN:We||Fe,TYPE:Me});r=ze=ze||{},r.ZH="zh",r.EN="en",r.JA="ja",r.ZT="zh-TW",r.KO="ko",r.FR="fr",r.DE="de",I=He=He||{},I.ZH="zh-CN",I.EN="en-US",I.JA="ja-JP",I.ZT="zh-TW",I.KO="ko-KR",I.FR="fr-FR",I.DE="de-DE";var Ge="aliyun_lang",Ye=[ze.EN,ze.ZH,ze.ZT,ze.JA,ze.KO,ze.FR,ze.DE],$e=(r={},n(r,ze.ZH,He.ZH),n(r,ze.ZT,He.ZT),n(r,ze.EN,He.EN),n(r,ze.JA,He.JA),n(r,ze.KO,He.KO),n(r,ze.FR,He.FR),n(r,ze.DE,He.DE),r);function qe(){var t,e;return _e.ONE?(t=_e.LANG,e=_e.LOCALE):(t=je(Ge)||ze.ZH,e=$e[t],e||(t=ze.ZH,e=He.ZH)),[t,e]}var Ve,Ke,Je,Ze,Xe,I=(Ve=window,Ke=Ve.CONSOLE_BASE_SETTINGS,Je=void 0===Ke?{}:Ke,Ke=Ve.viewframeSetting,Ve=void 0===Ke?{}:Ke,Ke=function(t){if(t=0<arguments.length&&void 0!==t?t:[],!t.length)return[ze.EN,ze.ZH,ze.ZT,ze.JA];var e=[ze.EN,ze.ZH];return t.forEach(function(t){!e.includes(t)&&Ye.includes(t)&&e.push(t)}),e}(Je.LANGUAGES||Ve.languages),Je=qe(),Ve=it(Je,2),Je=Ve[0],Ve=Ve[1],Ke.includes(Je)||(Je=Je===ze.ZT&&Ke.includes(ze.ZH)?ze.ZH:ze.EN,Ve=$e[Je]),{LOCALE:Ve,LANGUAGE:Je,LANGUAGES:Ke});function Qe(t,e){if(null==t)return{};var r,n=function(t,e){if(null==t)return{};for(var r,n={},o=Object.keys(t),i=0;i<o.length;i++)r=o[i],0<=e.indexOf(r)||(n[r]=t[r]);return n}(t,e);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(t),i=0;i<o.length;i++)r=o[i],0<=e.indexOf(r)||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r]);return n}function tr(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function er(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tr(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}r=Ze=Ze||{},r.WINDOWS="Windows",r.WINDOWS_PHONE="WindowsPhone",r.WINDOWS_MOBILE="WindowsMobile",r.MAC_OS="MacOS",r.IOS="iOS",r.ANDROID="Android",r.UBUNTU="Ubuntu",r.FEDORA="Fedora",r.RED_HAT="RedHat",r.SUSE="SUSE",r.LINUX="Linux",r.CHROME_OS="ChromeOS",r.FREE_BSD="FreeBSD",r.OTHER="OTHER",r=Xe=Xe||{},r.OPERA_MINI="OperaMini",r.OPERA="Opera",r.FIREFOX="Firefox",r.SAFARI="Safari",r.YANDEX="Yandex",r.TAO_BAO="TaoBao",r.LIE_BAO="LieBao",r.QQ="QQ",r.SOU_GOU="SouGou",r.MAXTHON="Maxthon",r.UC="UC",r.HEADLESS_CHROME="HeadlessChrome",r.EDGE="Edge",r.IE="IE",r.CHROME="Chrome",r.OTHER="OTHER";var rr={"NT 5.0":"2000","NT 5.1":"XP","NT 5.2":"XP","NT 6.0":"Vista","NT 6.1":"7","NT 6.2":"8","NT 6.3":"8.1","NT 6.4":"10","NT 10.0":"10"};function nr(t){return/Opera Mini\/([^ /;()]+)/i.test(t)?[Xe.OPERA_MINI,RegExp.$1]:/Opera[/ ]([^ /;()]+)/i.test(t)?[Xe.OPERA,(e=RegExp.$1,r=t,/Version\/([^ /;()]+)/i.test(r)?RegExp.$1:e)]:/OPR\/([^ /;()]+)/i.test(t)?[Xe.OPERA,RegExp.$1]:/Firefox\/([^ /;()]+)/i.test(t)?[Xe.FIREFOX,RegExp.$1]:/Version\/([\w.]+)\s+Safari\//i.test(t)?[Xe.SAFARI,RegExp.$1]:/YaBrowser\/([^ /;()]+)/i.test(t)?[Xe.YANDEX,RegExp.$1]:/TaoBrowser\/([^ /;()]+)/i.test(t)?[Xe.TAO_BAO,RegExp.$1]:/LBBROWSER/i.test(t)?[Xe.LIE_BAO,""]:/QQBrowser\/([^ /;()]+)/i.test(t)?[Xe.QQ,RegExp.$1]:/\sSE\s([^ /;()]+)/i.test(t)?[Xe.SOU_GOU,RegExp.$1]:/Maxthon\/([^ /;()]+)/i.test(t)?[Xe.MAXTHON,RegExp.$1]:/UBrowser\/([^ /;()]+)/i.test(t)?[Xe.UC,RegExp.$1]:/HeadlessChrome\/([^ /;()]+)/i.test(t)?[Xe.HEADLESS_CHROME,RegExp.$1]:/Edge?\/([^ /;()]+)/i.test(t)?[Xe.EDGE,RegExp.$1]:/Trident\/7\.0;/i.test(t)?[Xe.IE,"11"]:/MSIE\s+([^ /;()]+)/i.test(t)?[Xe.IE,RegExp.$1]:/\sChrome\/([^ /;()]+)/i.test(t)?[Xe.CHROME,RegExp.$1]:[Xe.OTHER,""];var e,r}var or,ir,sr,ar,r=(or=navigator.userAgent,ir=function(t){if(/Windows/i.test(t)){if(/Windows NT ([^ /;()]+)/i.test(t)){var e="NT ".concat(RegExp.$1);return[Ze.WINDOWS,rr[e]||e]}return/Windows Phone[/ ]([^ /;()]+)/i.test(t)?[Ze.WINDOWS_PHONE,RegExp.$1]:/Windows Mobile/i.test(t)?[Ze.WINDOWS_MOBILE,""]:[Ze.WINDOWS,""]}return/Mac OS X ([^ /;()]+)/i.test(t)?[Ze.MAC_OS,RegExp.$1.replace(/_/g,".")]:/iPhone|iPad/i.test(t)&&/CPU (?:iPhone )?OS ([^ /;()]+)/i.test(t)?[Ze.IOS,RegExp.$1.replace(/_/g,".")]:/Linux/i.test(t)?/Android ([^ /;()]+)+/i.test(t)?[Ze.ANDROID,RegExp.$1]:/Ubuntu\/([^ /;()]+)/i.test(t)?[Ze.UBUNTU,RegExp.$1]:/Ubuntu/i.test(t)?[Ze.UBUNTU,""]:/Fedora\/([^ /;()]+)/i.test(t)?[Ze.FEDORA,RegExp.$1]:/Fedora/i.test(t)?[Ze.FEDORA,""]:/Red Hat\/([^ /;()]+)/i.test(t)?[Ze.RED_HAT,RegExp.$1]:/Red Hat/i.test(t)?[Ze.RED_HAT,""]:/SUSE\/([^ /;()]+)/i.test(t)?[Ze.SUSE,RegExp.$1]:[Ze.LINUX,""]:/CrOS/i.test(t)?[Ze.CHROME_OS,""]:/FreeBSD/i.test(t)?[Ze.FREE_BSD,""]:[Ze.OTHER,""]}(or),sr=it(ir,2),ar=sr[0],ir=sr[1],sr=nr(or),or=it(sr,2),sr=or[0],or=or[1],{OS:ar,OS_VERSION:ir,BROWSER:sr,BROWSER_VERSION:or}),ur=r;var cr=window!==window.top;function fr(){return{TIME:Date.now(),OS:ur.OS,OS_VERSION:ur.OS_VERSION,BROWSER:ur.BROWSER,BROWSER_VERSION:ur.BROWSER_VERSION,LOCATION_HOST:window.location.host,LOCATION_PATHNAME:window.location.pathname,LOCATION_SEARCH:window.location.search.replace("?","&").replace(/&(?:spm|scm|accounttraceid)=[^&]+/g,"").replace(/^&+/,""),LOCATION_HASH:window.location.hash.substring(1),RESOLUTION_SCREEN:function(){try{return"".concat(window.screen.width,"x").concat(window.screen.height)}catch(t){return""}}(),RESOLUTION_BROWSER:function(){try{return"".concat(document.documentElement.clientWidth,"x").concat(document.documentElement.clientHeight)}catch(t){return""}}(),IN_IFRAME:cr,REFERRER:"undefined"==typeof document?"SSR":document.referrer}}function lr(u,c){return c=c||{},new Promise(function(t,e){var r,n=new XMLHttpRequest,o=[],i=[],s={},a=function(){return{ok:2==(n.status/100|0),statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){return Promise.resolve(n.responseText)},json:function(){return Promise.resolve(n.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([n.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return i},get:function(t){return s[t.toLowerCase()]},has:function(t){return t.toLowerCase()in s}}}};for(r in n.open(c.method||"get",u,!0),n.onload=function(){n.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(t,e,r){o.push(e=e.toLowerCase()),i.push([e,r]),s[e]=s[e]?s[e]+","+r:r}),t(a())},n.onerror=e,n.withCredentials="include"==c.credentials,c.headers)n.setRequestHeader(r,c.headers[r]);n.send(c.body||null)})}var pr,hr="@alicloud/logger-sls/merged";function dr(t,e){e=new Error(e);return e.name=t,e}r=pr=pr||{},r.TIMEOUT="EFetchTimeout",r.NETWORK="EFetchNetwork";var mr=["timeout"],yr=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=e.timeout,o=void 0===r?0:r,r=Qe(e,mr),e=window.fetch||lr,i=e(t,r).catch(function(t){if(t.name===pr.TIMEOUT)throw t;throw dr(pr.NETWORK,t.message)});return 0<o?new Promise(function(e,r){var n=window.setTimeout(function(){r(dr(pr.TIMEOUT,"fetch('".concat(t,"') timeout after ").concat(o,"ms")))},o);i.then(function(t){clearTimeout(n),e(t)},function(t){clearTimeout(n),r(t)})}):i};function vr(r){var n={};return Object.keys(r).forEach(function(e){var t=r[e];if(""!==t&&null!=t)if("string"==typeof t)n[e]=t;else if("number"==typeof t||"boolean"==typeof t)n[e]=t.toString();else try{n[e]=JSON.stringify(t)}catch(t){n[e]="TypeError: cyclic object value"}}),n.TOPIC=n.__topic__,n}function gr(t,e,r){var n,o;if(r.length)try{var i=JSON.stringify((n=r,o=hr,1===n.length&&(o=n[0].__topic__),{__topic__:o,__logs__:n.map(vr)}));yr(t,{method:"POST",timeout:2e4,credentials:"omit",headers:{"Content-Type":"application/json","x-log-apiversion":e,"x-log-bodyrawsize":i.length},body:i}).catch(function(){})}catch(t){}}function wr(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function br(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wr(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Or=function(){function i(t,e,r){var n=this,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"0.6.0";f(this,i),this.clearQueue=function(){n.clearTimer(),gr(n.trackUrl,n.apiVersion,n.queue),n.queue=[]},this.put=function(t,e,r){t=br(br({},e),{},{__topic__:t});r?gr(n.trackUrl,n.apiVersion,[t]):(n.queue.push(t),n.signalSend())},this.trackUrl="//".concat(t,".").concat(e,"/logstores/").concat(r,"/track"),this.apiVersion=o,this.queue=[],this.timer=null,this.frozen=!0,setTimeout(function(){n.frozen=!1,n.signalSend()},1e4)}return l(i,[{key:"signalSend",value:function(){this.queue.length&&!this.frozen&&(64<=this.queue.length?this.clearQueue():this.resetTimer())}},{key:"clearTimer",value:function(){this.timer&&(window.clearTimeout(this.timer),this.timer=null)}},{key:"resetTimer",value:function(){this.clearTimer(),this.timer=window.setTimeout(this.clearQueue,200)}}]),i}();function Er(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function xr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Er(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Sr(c){var t=c.project,e=c.endpoint,r=c.logstore,n=c.apiVersion,f=c.sampling,l=c.delay,p=c.defaultParams,h=c.onBeforeSend,d=(t=t,e=e,r=r,n=n,n=new Or(t,e,r,n),n.put),m={};function o(t,e){var r,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=n.group,i=void 0===o?"LOG":o,s=n.sampling,a=void 0===s?f:s,u=n.delay,o=void 0===u?l:u,s=n.once,u=n.instant,n=function(t,e){if(e)return!0===e?t:"".concat(t,"~").concat(e)}(t,s);s=a,a=n,h&&!1===h(c)||(a&&m[a]||"number"==typeof s&&0<s&&s<1&&Math.random()>s)||(n&&(m[n]=1),r=xr(xr(xr({__topic__:t,GROUP:i},fr()),"function"==typeof p?p():p),e),!u&&"number"==typeof o&&0<o?setTimeout(function(){return d(t,r)},o):d(t,r,u))}function i(n){return function(t,e,r){return o(t,e,xr(xr({},r),{},{group:n}))}}return o.debug=i("DEBUG"),o.log=i("LOG"),o.info=i("INFO"),o.warn=i("WARN"),o.error=i("ERROR"),o.fatal=i("FATAL"),o.biz=i("BIZ"),o}var Ar=["defaultParams","onBeforeSend"];function Pr(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function _r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pr(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var jr,Rr,Cr,Tr=["INTL","SIN","JP"],o=(jr={APP_ID:De.APP_ID,channel:De.CHANNEL,locale:I.LOCALE,uid:o.ID,uidMain:o.ID_MAIN},Rr=function(t){t=t.endpoint;if(/^cn-/.test(t)&&0<=Tr.indexOf(De.CHANNEL))return!1},function(t){var e,r,n,o,i=t.defaultParams,s=t.onBeforeSend,t=Qe(t,Ar);return Sr(_r(_r({},t),{},{defaultParams:(n=jr,o=i,o&&n?"function"==typeof n||"function"==typeof o?function(){var t="function"==typeof n?n():n,e="function"==typeof o?o():o;return er(er({},t),e)}:er(er({},n),o):n||o),onBeforeSend:(e=Rr,r=s,e&&r?function(t){return!1!==e(t)&&r(t)}:r||e)}))}),Nr=o({project:"alfa",endpoint:"cn-wulanchabu.log.aliyuncs.com",logstore:"loader"});o=Cr=Cr||{},o.log="log",o.info="info",o.warn="warn",o.error="error";kr.prototype.setContext=function(t){this.context=fe(fe({},this.context),t)},kr.prototype.record=function(t){this.cache=fe(fe({},this.cache),t)},kr.prototype.send=function(){this.track(Cr.log,"METRIC",this.cache),this.cache={}},kr.prototype.info=function(t){this.track(Cr.info,"INFO",t)},kr.prototype.debug=function(t){"prod"!==this.context.env&&console.log("DEBUG",this.mergeData(t))},kr.prototype.warn=function(t){this.track(Cr.warn,"WARN",t)},kr.prototype.error=function(t){this.track(Cr.error,"ERROR",t)},kr.prototype.mergeData=function(t){return fe(fe({},this.context),t)},kr.prototype.track=function(t,e,r){"local"!==this.context.env&&Nr[t](e,this.mergeData(r))},o=kr;function kr(t){void 0===t&&(t={}),this.cache={},this.context=t}var Lr=o,o=(Ir.create=function(){return new this},Ir.prototype.register=function(c){return le(this,void 0,void 0,function(){var n,o,i,s,a,u;return pe(this,function(t){if(n=new Lr,!c)return n.error({E_MSG:"cannot find config before start."}),[2,Promise.reject(new Error("[alfa-core] cannot find config before start."))];var e,r;for(this.config=(e=c,r=n,fe(fe({},e),{env:e.env||Object(ue.a)(),logger:e.logger||r})),a=this.config,o=a.name,i=a.version,a=a.env,n.setContext({NAME:o,VERSION:i,ENV:a}),s=[],a=function(t){var e=t.fulfilled,t=t.rejected;s.push(e,t)},this.beforeResolve.handlers.forEach(a),s.push(this.resolve,void 0),this.afterResolve.handlers.forEach(a),this.beforeLoad.handlers.forEach(a),s.push(this.load,void 0),this.afterLoad.handlers.forEach(a),u=Promise.resolve(this.config);s.length;)u=u.then(s.shift(),s.shift());return[2,u]})})},Ir.prototype.resolve=function(n){return le(this,void 0,void 0,function(){var e,r;return pe(this,function(t){if(e=Object(ue.d)(n),r=Object(ue.f)(n),!e&&!r)throw new Error("No entry or manifest in "+n.name);return[2,fe(fe({},n),{manifest:e,url:r})]})})},Ir.prototype.load=function(d){return le(this,void 0,void 0,function(){var e,r,n,o,i,s,a,u,c,f,l,p,h;return pe(this,function(t){switch(t.label){case 0:return e=d.name,r=d.container,n=d.manifest,o=d.props,i=d.deps,s=d.url,a=d.beforeMount,u=d.afterMount,c=d.beforeUnmount,f=d.afterUnmount,l=d.beforeUpdate,p=d.sandbox,[4,se({name:e,dom:r,manifest:n,customProps:o,deps:i,url:s,appWillMount:a,appDidMount:u,appWillUnmount:c,appDidUnmount:f,appWillUpdate:l},{sandbox:p})];case 1:return h=t.sent(),[4,h.load()];case 2:return t.sent(),[2,fe(fe({},d),{app:h})]}})})},Ir);function Ir(){this.beforeResolve=new Oe,this.afterResolve=new Oe,this.beforeLoad=new Oe,this.afterLoad=new Oe}var Ur=o,Dr=function(){}}],n={},o.m=r,o.c=n,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="/",o(o.s=58);function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var r,n});
|