@qlover/fe-corekit 1.4.0 → 1.5.0
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.cjs +1 -0
- package/dist/index.d.ts +489 -168
- package/dist/index.iife.js +1 -0
- package/dist/index.js +5264 -1
- package/package.json +9 -9
- package/dist/index.umd.js +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qlover/fe-corekit",
|
|
3
3
|
"description": "A corekit for frontwork",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
@@ -9,15 +9,17 @@
|
|
|
9
9
|
"package.json",
|
|
10
10
|
"README.md"
|
|
11
11
|
],
|
|
12
|
-
"main": "./dist/index.
|
|
12
|
+
"main": "./dist/index.cjs",
|
|
13
13
|
"module": "./dist/index.js",
|
|
14
|
+
"browser": "./dist/index.iife.js",
|
|
14
15
|
"types": "./dist/index.d.ts",
|
|
15
16
|
"exports": {
|
|
16
17
|
"./package.json": "./package.json",
|
|
17
18
|
".": {
|
|
18
19
|
"types": "./dist/index.d.ts",
|
|
19
20
|
"import": "./dist/index.js",
|
|
20
|
-
"
|
|
21
|
+
"browser": "./dist/index.iife.js",
|
|
22
|
+
"require": "./dist/index.cjs"
|
|
21
23
|
}
|
|
22
24
|
},
|
|
23
25
|
"repository": {
|
|
@@ -39,16 +41,14 @@
|
|
|
39
41
|
"access": "public"
|
|
40
42
|
},
|
|
41
43
|
"dependencies": {
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
+
"axios": "^1.7.9",
|
|
45
|
+
"@types/lodash": "^4.17.12"
|
|
44
46
|
},
|
|
45
47
|
"devDependencies": {
|
|
46
|
-
"
|
|
47
|
-
"axios": "^1.7.9",
|
|
48
|
-
"@qlover/env-loader": "0.3.0"
|
|
48
|
+
"lodash": "^4.17.21"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
|
-
"build": "
|
|
51
|
+
"build": "tsup",
|
|
52
52
|
"build:docs": "fe-code2md --removePrefix -p ./src/index.ts -g ./docs -o ./docs/.output/fe-corekit.json -t ./docs/.output/fe-corekit.tpl.json"
|
|
53
53
|
}
|
|
54
54
|
}
|
package/dist/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((t="undefined"!=typeof globalThis?globalThis:t||self).FeCorekit={})}(this,(function(t){"use strict";var r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},r(t,n)};function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}var e=function(){return e=Object.assign||function(t){for(var r,n=1,e=arguments.length;n<e;n++)for(var o in r=arguments[n])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t},e.apply(this,arguments)};function o(t,r,n,e){return new(n||(n=Promise))((function(o,i){function u(t){try{s(e.next(t))}catch(t){i(t)}}function a(t){try{s(e.throw(t))}catch(t){i(t)}}function s(t){var r;t.done?o(t.value):(r=t.value,r instanceof n?r:new n((function(t){t(r)}))).then(u,a)}s((e=e.apply(t,r||[])).next())}))}function i(t,r){var n,e,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(n=1,e&&(o=2&a[0]?e.return:a[0]?e.throw||((o=e.return)&&o.call(e),0):e.next)&&!(o=o.call(e,a[1])).done)return o;switch(e=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,e=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=r.call(t,i)}catch(t){a=[6,t],e=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function u(t,r,n){if(n||2===arguments.length)for(var e,o=0,i=r.length;o<i;o++)!e&&o in r||(e||(e=Array.prototype.slice.call(r,0,o)),e[o]=r[o]);return t.concat(e||Array.prototype.slice.call(r))}"function"==typeof SuppressedError&&SuppressedError;var a,s=function(){function t(t){this.config=t,this.plugins=[]}return t.prototype.use=function(t){this.plugins.find((function(r){return r===t||r.pluginName===t.pluginName||r.constructor===t.constructor}))&&t.onlyOne?console.warn("Plugin ".concat(t.pluginName," is already used, skip adding")):this.plugins.push(t)},t}(),c=function(t){function r(r,n){var e=this.constructor,o=t.call(this,n instanceof Error?n.message:n||r)||this;return o.id=r,n instanceof Error&&"stack"in n&&(o.stack=n.stack),Object.setPrototypeOf(o,e.prototype),o}return n(r,t),r}(Error),f=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return n(r,t),r.prototype.runHooks=function(t,r,n){for(var e=[],a=3;a<arguments.length;a++)e[a-3]=arguments[a];return o(this,void 0,void 0,(function(){var o,a,s,c,f,l,p,h;return i(this,(function(i){switch(i.label){case 0:o=-1,(s=n||{parameters:void 0,hooksRuntimes:{}}).hooksRuntimes.times=0,s.hooksRuntimes.index=void 0,c=0,f=t,i.label=1;case 1:return c<f.length?(l=f[c],o++,"function"!=typeof l[r]||"function"==typeof l.enabled&&!l.enabled(r,n)?[3,3]:(null===(h=s.hooksRuntimes)||void 0===h?void 0:h.breakChain)?[3,4]:(s.hooksRuntimes.pluginName=l.pluginName,s.hooksRuntimes.hookName=r,s.hooksRuntimes.times++,s.hooksRuntimes.index=o,[4,l[r].apply(l,u([n],e,!1))])):[3,4];case 2:if(void 0!==(p=i.sent())&&(a=p,s.hooksRuntimes.returnValue=p,s.hooksRuntimes.returnBreakChain))return[2,a];i.label=3;case 3:return c++,[3,1];case 4:return[2,a]}}))}))},r.prototype.execNoError=function(t,r){return o(this,void 0,void 0,(function(){var n;return i(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.exec(t,r)];case 1:return[2,e.sent()];case 2:return(n=e.sent())instanceof c?[2,n]:[2,new c("UNKNOWN_ASYNC_ERROR",n)];case 3:return[2]}}))}))},r.prototype.exec=function(t,r){var n=r||t,e=r?t:void 0;if("function"!=typeof n)throw new Error("Task must be a async function!");return this.run(e,n)},r.prototype.run=function(t,r){return o(this,void 0,void 0,(function(){var n,e,u,a=this;return i(this,(function(s){switch(s.label){case 0:n={parameters:t,returnValue:void 0,error:void 0,hooksRuntimes:{pluginName:"",hookName:"",returnValue:void 0,returnBreakChain:!1,times:0}},e=function(t){return o(a,void 0,void 0,(function(){var n;return i(this,(function(e){switch(e.label){case 0:return[4,this.runHooks(this.plugins,"onExec",t,r)];case 1:return e.sent(),0!==t.hooksRuntimes.times?[3,3]:(n=t,[4,r(t)]);case 2:return n.returnValue=e.sent(),[2];case 3:return t.returnValue=t.hooksRuntimes.returnValue,[2]}}))}))},s.label=1;case 1:return s.trys.push([1,5,7,8]),[4,this.runHooks(this.plugins,"onBefore",n)];case 2:return s.sent(),[4,e(n)];case 3:return s.sent(),[4,this.runHooks(this.plugins,"onSuccess",n)];case 4:return s.sent(),[2,n.returnValue];case 5:return u=s.sent(),n.error=u,[4,this.runHooks(this.plugins,"onError",n)];case 6:if(s.sent(),n.hooksRuntimes.returnValue&&(n.error=n.hooksRuntimes.returnValue),n.error instanceof c)throw n.error;throw new c("UNKNOWN_ASYNC_ERROR",n.error);case 7:return n.hooksRuntimes={pluginName:"",hookName:"",returnValue:void 0,returnBreakChain:!1,times:0},[7];case 8:return[2]}}))}))},r}(s),l=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return n(r,t),r.prototype.runHooks=function(t,r,n){for(var e,o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a,s=-1,c=n||{parameters:void 0,hooksRuntimes:{}};c.hooksRuntimes.times=0,c.hooksRuntimes.index=void 0;for(var f=0,l=t;f<l.length;f++){var p=l[f];if(s++,"function"==typeof p[r]&&("function"!=typeof p.enabled||p.enabled(r,c))){if(null===(e=c.hooksRuntimes)||void 0===e?void 0:e.breakChain)break;c.hooksRuntimes.pluginName=p.pluginName,c.hooksRuntimes.hookName=r,c.hooksRuntimes.times++,c.hooksRuntimes.index=s;var h=p[r].apply(p,u([n],o,!1));if(void 0!==h&&(a=h,c.hooksRuntimes.returnValue=h,c.hooksRuntimes.returnBreakChain))return a}}return a},r.prototype.execNoError=function(t,r){try{return this.exec(t,r)}catch(t){return t instanceof c?t:new c("UNKNOWN_SYNC_ERROR",t)}},r.prototype.exec=function(t,r){var n=r||t,e=r?t:void 0;if("function"!=typeof n)throw new Error("Task must be a function!");return this.run(e,n)},r.prototype.run=function(t,r){var n,e=this,o={parameters:t,returnValue:void 0,error:void 0,hooksRuntimes:{pluginName:"",hookName:"",returnValue:void 0,returnBreakChain:!1,times:0}};try{return this.runHooks(this.plugins,"onBefore",o),n=o,e.runHooks(e.plugins,"onExec",n,r),n.returnValue=n.hooksRuntimes.times?n.hooksRuntimes.returnValue:r(n),this.runHooks(this.plugins,"onSuccess",o),o.returnValue}catch(t){if(o.error=t,this.runHooks(this.plugins,"onError",o),o.hooksRuntimes.returnValue&&(o.error=o.hooksRuntimes.returnValue),o.error instanceof c)throw o.error;throw new c("UNKNOWN_SYNC_ERROR",o.error)}finally{o.hooksRuntimes={pluginName:"",hookName:"",returnValue:void 0,returnBreakChain:!1,times:0}}},r}(s),p=function(){return!0},h=function(){function t(t){var r;void 0===t&&(t={}),this.pluginName="RetryPlugin",this.onlyOne=!0,this.options=e(e({retryDelay:1e3,useExponentialBackoff:!1,shouldRetry:p},t),{maxRetries:Math.min(Math.max(1,null!==(r=t.maxRetries)&&void 0!==r?r:3),16)})}return t.prototype.delay=function(t){return o(this,void 0,void 0,(function(){var r;return i(this,(function(n){return r=this.options.useExponentialBackoff?this.options.retryDelay*Math.pow(2,t):this.options.retryDelay,[2,new Promise((function(t){return setTimeout(t,r)}))]}))}))},t.prototype.onExec=function(t,r){return o(this,void 0,void 0,(function(){return i(this,(function(n){return this.options.maxRetries<1?[2,r(t)]:[2,this.retry(r,t,this.options,this.options.maxRetries)]}))}))},t.prototype.shouldRetry=function(t){var r=t.error;return t.retryCount>0&&this.options.shouldRetry(r)},t.prototype.retry=function(t,r,n,e){return o(this,void 0,void 0,(function(){var o;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,4]),[4,t(r)];case 1:return[2,i.sent()];case 2:if(o=i.sent(),!this.shouldRetry({error:o,retryCount:e}))throw new c("RETRY_ERROR","All ".concat(n.maxRetries," attempts failed: ").concat(o.message));return[4,this.delay(n.maxRetries-e)];case 3:return i.sent(),e--,[2,this.retry(t,r,n,e)];case 4:return[2]}}))}))},t}(),v=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return n(r,t),r}(c);t.RequestErrorID=void 0,(a=t.RequestErrorID||(t.RequestErrorID={})).REQUEST_ERROR="REQUEST_ERROR",a.ENV_FETCH_NOT_SUPPORT="ENV_FETCH_NOT_SUPPORT",a.FETCHER_NONE="FETCHER_NONE",a.RESPONSE_NOT_OK="RESPONSE_NOT_OK",a.ABORT_ERROR="ABORT_ERROR",a.URL_NONE="URL_NONE";var y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var g,b={exports:{}};var m,_,R,O,E,w,j,k,x,N,S,T,A,P,q,C,U,z,I,B,F,V,D,H,L,K,M,$,J,W,G,Q,Y,Z,X,tt,rt,nt,et,ot,it,ut,at,st,ct,ft,lt,pt,ht,vt,yt,dt,gt,bt,mt,_t,Rt,Ot,Et,wt,jt,kt,xt,Nt,St,Tt,At,Pt,qt,Ct,Ut,zt,It,Bt,Ft,Vt,Dt,Ht,Lt,Kt,Mt,$t,Jt,Wt,Gt,Qt,Yt,Zt,Xt,tr,rr,nr,er,or,ir,ur,ar,sr,cr,fr,lr,pr,hr,vr,yr,dr,gr,br,mr,_r,Rr,Or,Er,wr,jr,kr,xr,Nr,Sr,Tr,Ar,Pr,qr,Cr,Ur,zr,Ir,Br,Fr,Vr,Dr,Hr,Lr,Kr,Mr,$r,Jr,Wr,Gr,Qr,Yr,Zr,Xr,tn,rn,nn,en,on,un,an,sn,cn,fn,ln,pn=(g||(g=1,function(t,r){function n(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.apply(void 0,t)}function e(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return s(!0===t[0],!1,t)}function o(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return s(!0===t[0],!0,t)}function i(t){if(Array.isArray(t)){for(var r=[],n=0;n<t.length;++n)r.push(i(t[n]));return r}if(u(t)){for(var n in r={},t)r[n]=i(t[n]);return r}return t}function u(t){return t&&"object"==typeof t&&!Array.isArray(t)}function a(t,r){if(!u(t))return r;for(var n in r)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(t[n]=u(t[n])&&u(r[n])?a(t[n],r[n]):r[n]);return t}function s(t,r,n){var e;!t&&u(e=n.shift())||(e={});for(var o=0;o<n.length;++o){var s=n[o];if(u(s))for(var c in s)if("__proto__"!==c&&"constructor"!==c&&"prototype"!==c){var f=t?i(s[c]):s[c];e[c]=r?a(e[c],f):f}}return e}Object.defineProperty(r,"__esModule",{value:!0}),r.isPlainObject=r.clone=r.recursive=r.merge=r.main=void 0,t.exports=r=n,r.default=n,r.main=n,n.clone=i,n.isPlainObject=u,n.recursive=o,r.merge=e,r.recursive=o,r.clone=i,r.isPlainObject=u}(b,b.exports)),b.exports);function hn(){if(_)return m;_=1;var t=Array.isArray;return m=t}function vn(){if(O)return R;O=1;var t="object"==typeof y&&y&&y.Object===Object&&y;return R=t}function yn(){if(w)return E;w=1;var t=vn(),r="object"==typeof self&&self&&self.Object===Object&&self,n=t||r||Function("return this")();return E=n}function dn(){if(k)return j;k=1;var t=yn().Symbol;return j=t}function gn(){if(P)return A;P=1;var t=dn(),r=function(){if(N)return x;N=1;var t=dn(),r=Object.prototype,n=r.hasOwnProperty,e=r.toString,o=t?t.toStringTag:void 0;return x=function(t){var r=n.call(t,o),i=t[o];try{t[o]=void 0;var u=!0}catch(t){}var a=e.call(t);return u&&(r?t[o]=i:delete t[o]),a}}(),n=function(){if(T)return S;T=1;var t=Object.prototype.toString;return S=function(r){return t.call(r)}}(),e=t?t.toStringTag:void 0;return A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":e&&e in Object(t)?r(t):n(t)}}function bn(){if(C)return q;return C=1,q=function(t){return null!=t&&"object"==typeof t}}function mn(){if(z)return U;z=1;var t=gn(),r=bn();return U=function(n){return"symbol"==typeof n||r(n)&&"[object Symbol]"==t(n)}}function _n(){if(V)return F;return V=1,F=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}}function Rn(){if(H)return D;H=1;var t=gn(),r=_n();return D=function(n){if(!r(n))return!1;var e=t(n);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}}function On(){if($)return M;$=1;var t,r=function(){if(K)return L;K=1;var t=yn()["__core-js_shared__"];return L=t}(),n=(t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"";return M=function(t){return!!n&&n in t}}function En(){if(Q)return G;Q=1;var t=Rn(),r=On(),n=_n(),e=function(){if(W)return J;W=1;var t=Function.prototype.toString;return J=function(r){if(null!=r){try{return t.call(r)}catch(t){}try{return r+""}catch(t){}}return""}}(),o=/^\[object .+?Constructor\]$/,i=Function.prototype,u=Object.prototype,a=i.toString,s=u.hasOwnProperty,c=RegExp("^"+a.call(s).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return G=function(i){return!(!n(i)||r(i))&&(t(i)?c:o).test(e(i))}}function wn(){if(tt)return X;tt=1;var t=En(),r=Z?Y:(Z=1,Y=function(t,r){return null==t?void 0:t[r]});return X=function(n,e){var o=r(n,e);return t(o)?o:void 0}}function jn(){if(nt)return rt;nt=1;var t=wn()(Object,"create");return rt=t}function kn(){if(vt)return ht;vt=1;var t=function(){if(ot)return et;ot=1;var t=jn();return et=function(){this.__data__=t?t(null):{},this.size=0}}(),r=ut?it:(ut=1,it=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}),n=function(){if(st)return at;st=1;var t=jn(),r=Object.prototype.hasOwnProperty;return at=function(n){var e=this.__data__;if(t){var o=e[n];return"__lodash_hash_undefined__"===o?void 0:o}return r.call(e,n)?e[n]:void 0}}(),e=function(){if(ft)return ct;ft=1;var t=jn(),r=Object.prototype.hasOwnProperty;return ct=function(n){var e=this.__data__;return t?void 0!==e[n]:r.call(e,n)}}(),o=function(){if(pt)return lt;pt=1;var t=jn();return lt=function(r,n){var e=this.__data__;return this.size+=this.has(r)?0:1,e[r]=t&&void 0===n?"__lodash_hash_undefined__":n,this}}();function i(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}return i.prototype.clear=t,i.prototype.delete=r,i.prototype.get=n,i.prototype.has=e,i.prototype.set=o,ht=i}function xn(){if(bt)return gt;return bt=1,gt=function(t,r){return t===r||t!=t&&r!=r}}function Nn(){if(_t)return mt;_t=1;var t=xn();return mt=function(r,n){for(var e=r.length;e--;)if(t(r[e][0],n))return e;return-1}}function Sn(){if(Tt)return St;Tt=1;var t=dt?yt:(dt=1,yt=function(){this.__data__=[],this.size=0}),r=function(){if(Ot)return Rt;Ot=1;var t=Nn(),r=Array.prototype.splice;return Rt=function(n){var e=this.__data__,o=t(e,n);return!(o<0||(o==e.length-1?e.pop():r.call(e,o,1),--this.size,0))}}(),n=function(){if(wt)return Et;wt=1;var t=Nn();return Et=function(r){var n=this.__data__,e=t(n,r);return e<0?void 0:n[e][1]}}(),e=function(){if(kt)return jt;kt=1;var t=Nn();return jt=function(r){return t(this.__data__,r)>-1}}(),o=function(){if(Nt)return xt;Nt=1;var t=Nn();return xt=function(r,n){var e=this.__data__,o=t(e,r);return o<0?(++this.size,e.push([r,n])):e[o][1]=n,this}}();function i(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}return i.prototype.clear=t,i.prototype.delete=r,i.prototype.get=n,i.prototype.has=e,i.prototype.set=o,St=i}function Tn(){if(Pt)return At;Pt=1;var t=wn()(yn(),"Map");return At=t}function An(){if(Bt)return It;Bt=1;var t=zt?Ut:(zt=1,Ut=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t});return It=function(r,n){var e=r.__data__;return t(n)?e["string"==typeof n?"string":"hash"]:e.map}}function Pn(){if(Wt)return Jt;Wt=1;var t=function(){if(Ct)return qt;Ct=1;var t=kn(),r=Sn(),n=Tn();return qt=function(){this.size=0,this.__data__={hash:new t,map:new(n||r),string:new t}}}(),r=function(){if(Vt)return Ft;Vt=1;var t=An();return Ft=function(r){var n=t(this,r).delete(r);return this.size-=n?1:0,n}}(),n=function(){if(Ht)return Dt;Ht=1;var t=An();return Dt=function(r){return t(this,r).get(r)}}(),e=function(){if(Kt)return Lt;Kt=1;var t=An();return Lt=function(r){return t(this,r).has(r)}}(),o=function(){if($t)return Mt;$t=1;var t=An();return Mt=function(r,n){var e=t(this,r),o=e.size;return e.set(r,n),this.size+=e.size==o?0:1,this}}();function i(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var e=t[r];this.set(e[0],e[1])}}return i.prototype.clear=t,i.prototype.delete=r,i.prototype.get=n,i.prototype.has=e,i.prototype.set=o,Jt=i}function qn(){if(Zt)return Yt;Zt=1;var t=function(){if(Qt)return Gt;Qt=1;var t=Pn();function r(n,e){if("function"!=typeof n||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var o=function(){var t=arguments,r=e?e.apply(this,t):t[0],i=o.cache;if(i.has(r))return i.get(r);var u=n.apply(this,t);return o.cache=i.set(r,u)||i,u};return o.cache=new(r.Cache||t),o}return r.Cache=t,Gt=r}();return Yt=function(r){var n=t(r,(function(t){return 500===e.size&&e.clear(),t})),e=n.cache;return n}}function Cn(){if(or)return er;or=1;var t=dn(),r=nr?rr:(nr=1,rr=function(t,r){for(var n=-1,e=null==t?0:t.length,o=Array(e);++n<e;)o[n]=r(t[n],n,t);return o}),n=hn(),e=mn(),o=t?t.prototype:void 0,i=o?o.toString:void 0;return er=function t(o){if("string"==typeof o)return o;if(n(o))return r(o,t)+"";if(e(o))return i?i.call(o):"";var u=o+"";return"0"==u&&1/o==-1/0?"-0":u},er}function Un(){if(sr)return ar;sr=1;var t=hn(),r=function(){if(B)return I;B=1;var t=hn(),r=mn(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,e=/^\w*$/;return I=function(o,i){if(t(o))return!1;var u=typeof o;return!("number"!=u&&"symbol"!=u&&"boolean"!=u&&null!=o&&!r(o))||e.test(o)||!n.test(o)||null!=i&&o in Object(i)}}(),n=function(){if(tr)return Xt;tr=1;var t=qn(),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,e=t((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(r,(function(t,r,o,i){e.push(o?i.replace(n,"$1"):r||t)})),e}));return Xt=e}(),e=function(){if(ur)return ir;ur=1;var t=Cn();return ir=function(r){return null==r?"":t(r)}}();return ar=function(o,i){return t(o)?o:r(o,i)?[o]:n(e(o))}}function zn(){if(fr)return cr;fr=1;var t=mn();return cr=function(r){if("string"==typeof r||t(r))return r;var n=r+"";return"0"==n&&1/r==-1/0?"-0":n}}function In(){if(vr)return hr;vr=1;var t=wn(),r=function(){try{var r=t(Object,"defineProperty");return r({},"",{}),r}catch(t){}}();return hr=r}function Bn(){if(dr)return yr;dr=1;var t=In();return yr=function(r,n,e){"__proto__"==n&&t?t(r,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):r[n]=e}}function Fn(){if(br)return gr;br=1;var t=Bn(),r=xn(),n=Object.prototype.hasOwnProperty;return gr=function(e,o,i){var u=e[o];n.call(e,o)&&r(u,i)&&(void 0!==i||o in e)||t(e,o,i)}}function Vn(){if(_r)return mr;_r=1;var t=/^(?:0|[1-9]\d*)$/;return mr=function(r,n){var e=typeof r;return!!(n=null==n?9007199254740991:n)&&("number"==e||"symbol"!=e&&t.test(r))&&r>-1&&r%1==0&&r<n}}function Dn(){if(wr)return Er;wr=1;var t=function(){if(pr)return lr;pr=1;var t=Un(),r=zn();return lr=function(n,e){for(var o=0,i=(e=t(e,n)).length;null!=n&&o<i;)n=n[r(e[o++])];return o&&o==i?n:void 0}}(),r=function(){if(Or)return Rr;Or=1;var t=Fn(),r=Un(),n=Vn(),e=_n(),o=zn();return Rr=function(i,u,a,s){if(!e(i))return i;for(var c=-1,f=(u=r(u,i)).length,l=f-1,p=i;null!=p&&++c<f;){var h=o(u[c]),v=a;if("__proto__"===h||"constructor"===h||"prototype"===h)return i;if(c!=l){var y=p[h];void 0===(v=s?s(y,h,p):void 0)&&(v=e(y)?y:n(u[c+1])?[]:{})}t(p,h,v),p=p[h]}return i}}(),n=Un();return Er=function(e,o,i){for(var u=-1,a=o.length,s={};++u<a;){var c=o[u],f=t(e,c);i(f,c)&&r(s,n(c,e),f)}return s}}function Hn(){if(Tr)return Sr;Tr=1;var t=function(){if(Nr)return xr;Nr=1;var t=gn(),r=bn();return xr=function(n){return r(n)&&"[object Arguments]"==t(n)}}(),r=bn(),n=Object.prototype,e=n.hasOwnProperty,o=n.propertyIsEnumerable,i=t(function(){return arguments}())?t:function(t){return r(t)&&e.call(t,"callee")&&!o.call(t,"callee")};return Sr=i}function Ln(){if(Pr)return Ar;Pr=1;return Ar=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}}function Kn(){if(zr)return Ur;zr=1;var t=kr?jr:(kr=1,jr=function(t,r){return null!=t&&r in Object(t)}),r=function(){if(Cr)return qr;Cr=1;var t=Un(),r=Hn(),n=hn(),e=Vn(),o=Ln(),i=zn();return qr=function(u,a,s){for(var c=-1,f=(a=t(a,u)).length,l=!1;++c<f;){var p=i(a[c]);if(!(l=null!=u&&s(u,p)))break;u=u[p]}return l||++c!=f?l:!!(f=null==u?0:u.length)&&o(f)&&e(p,f)&&(n(u)||r(u))}}();return Ur=function(n,e){return null!=n&&r(n,e,t)}}function Mn(){if(Kr)return Lr;Kr=1;var t=Vr?Fr:(Vr=1,Fr=function(t,r){for(var n=-1,e=r.length,o=t.length;++n<e;)t[o+n]=r[n];return t}),r=function(){if(Hr)return Dr;Hr=1;var t=dn(),r=Hn(),n=hn(),e=t?t.isConcatSpreadable:void 0;return Dr=function(t){return n(t)||r(t)||!!(e&&t&&t[e])}}();return Lr=function n(e,o,i,u,a){var s=-1,c=e.length;for(i||(i=r),a||(a=[]);++s<c;){var f=e[s];o>0&&i(f)?o>1?n(f,o-1,i,u,a):t(a,f):u||(a[a.length]=f)}return a},Lr}function $n(){if(Qr)return Gr;Qr=1;var t=Wr?Jr:(Wr=1,Jr=function(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}),r=Math.max;return Gr=function(n,e,o){return e=r(void 0===e?n.length-1:e,0),function(){for(var i=arguments,u=-1,a=r(i.length-e,0),s=Array(a);++u<a;)s[u]=i[e+u];u=-1;for(var c=Array(e+1);++u<e;)c[u]=i[u];return c[e]=o(s),t(n,this,c)}},Gr}function Jn(){if(tn)return Xr;return tn=1,Xr=function(t){return t}}function Wn(){if(nn)return rn;nn=1;var t=Zr?Yr:(Zr=1,Yr=function(t){return function(){return t}}),r=In(),n=Jn();return rn=r?function(n,e){return r(n,"toString",{configurable:!0,enumerable:!1,value:t(e),writable:!0})}:n}function Gn(){if(an)return un;an=1;var t=Wn(),r=function(){if(on)return en;on=1;var t=Date.now;return en=function(r){var n=0,e=0;return function(){var o=t(),i=16-(o-e);if(e=o,i>0){if(++n>=800)return arguments[0]}else n=0;return r.apply(void 0,arguments)}},en}(),n=r(t);return un=n}function Qn(){if(cn)return sn;cn=1;var t=function(){if($r)return Mr;$r=1;var t=Mn();return Mr=function(r){return null!=r&&r.length?t(r,1):[]}}(),r=$n(),n=Gn();return sn=function(e){return n(r(e,void 0,t),e+"")}}var Yn,Zn,Xn,te,re,ne,ee,oe,ie,ue,ae,se,ce,fe,le,pe,he,ve,ye=function(){if(ln)return fn;ln=1;var t=function(){if(Br)return Ir;Br=1;var t=Dn(),r=Kn();return Ir=function(n,e){return t(n,e,(function(t,e){return r(n,e)}))}}(),r=Qn()((function(r,n){return null==r?{}:t(r,n)}));return fn=r}(),de=d(ye),ge=["cache","credentials","headers","integrity","keepalive","mode","priority","redirect","referrer","referrerPolicy","signal"],be=function(){function r(r){if(void 0===r&&(r={}),!r.fetcher){if("function"!=typeof fetch)throw new c(t.RequestErrorID.ENV_FETCH_NOT_SUPPORT);r.fetcher=fetch}this.executor=new f,this.config=r}return r.prototype.getConfig=function(){return this.config},r.prototype.usePlugin=function(t){this.executor.use(t)},r.prototype.request=function(r){return o(this,void 0,void 0,(function(){var n,e,u,a,s,f=this;return i(this,(function(l){if(n=this.getConfig(),e=pn.merge({},n,r),u=e.fetcher,a=function(t,r){var n={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0&&(n[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(e=Object.getOwnPropertySymbols(t);o<e.length;o++)r.indexOf(e[o])<0&&Object.prototype.propertyIsEnumerable.call(t,e[o])&&(n[e[o]]=t[e[o]])}return n}(e,["fetcher"]),"function"!=typeof u)throw new c(t.RequestErrorID.FETCHER_NONE);if(!a.url)throw new c(t.RequestErrorID.URL_NONE);return s=function(t){return o(f,void 0,void 0,(function(){var r;return i(this,(function(n){switch(n.label){case 0:return[4,u(this.parametersToRequest(t.parameters))];case 1:return r=n.sent(),[2,this.toAdapterResponse(r,r,t.parameters)]}}))}))},[2,this.executor.exec(a,s)]}))}))},r.prototype.parametersToRequest=function(t){var r=t.url,n=void 0===r?"/":r,e=t.method,o=void 0===e?"GET":e,i=t.data,u=de(t,ge);return new Request(n,Object.assign(u,{body:i,method:o.toUpperCase()}))},r.prototype.toAdapterResponse=function(t,r,n){return{data:t,status:r.status,statusText:r.statusText,headers:this.getResponseHeaders(r),config:n,response:r}},r.prototype.getResponseHeaders=function(t){var r={};return t.headers.forEach((function(t,n){r[n]=t})),r},r}(),me=function(){function t(t,r){void 0===r&&(r={}),this.config=r,this.axiosInstance=t.create(r)}return t.prototype.getConfig=function(){return this.config},t.prototype.request=function(t){return o(this,void 0,void 0,(function(){return i(this,(function(r){return[2,this.axiosInstance.request(t)]}))}))},t}(),_e=function(){function r(){this.pluginName="FetchAbortPlugin",this.onlyOne=!0,this.controllers=new Map}return r.prototype.generateRequestKey=function(t){if(t.requestId)return t.requestId;var r=t.params?JSON.stringify(t.params):"",n=t.body?JSON.stringify(t.body):"";return"".concat(t.method||"GET","-").concat(t.url,"-").concat(r,"-").concat(n)},r.prototype.onBefore=function(t){var r=this.generateRequestKey(t.parameters);if(this.controllers.has(r)&&this.abort(t.parameters),!t.parameters.signal){var n=new AbortController;this.controllers.set(r,n),t.parameters.signal=n.signal}},r.prototype.onSuccess=function(t){var r=t.parameters;r&&this.controllers.delete(this.generateRequestKey(r))},r.prototype.onError=function(r){var n=r.error,e=r.parameters;if(this.isSameAbortError(n)&&e){var o=this.generateRequestKey(e),i=this.controllers.get(o);return this.controllers.delete(o),new v(t.RequestErrorID.ABORT_ERROR,(null==i?void 0:i.signal.reason)||n)}},r.prototype.isSameAbortError=function(t){return t instanceof Error&&"AbortError"===t.name||(t instanceof DOMException&&"AbortError"===t.name||t instanceof Event&&"abort"===t.type)},r.prototype.abort=function(r){var n="string"==typeof r?r:this.generateRequestKey(r),e=this.controllers.get(n);e&&(e.abort(new v(t.RequestErrorID.ABORT_ERROR,"The operation was aborted")),this.controllers.delete(n),"string"!=typeof r&&"function"==typeof r.onAbort&&r.onAbort.call(r,r))},r.prototype.abortAll=function(){this.controllers.forEach((function(t){return t.abort()})),this.controllers.clear()},r}(),Re=function(){function r(){this.pluginName="FetchURLPlugin"}return r.prototype.isFullURL=function(t){return t.startsWith("http://")||t.startsWith("https://")},r.prototype.appendQueryParams=function(t,r){void 0===r&&(r={});var n=t.split("?"),e=n[0],o=n[1];(void 0===o?"":o).split("&").forEach((function(t){var n=t.split("="),e=n[0],o=n[1];e&&o&&(r[e]=o)}));var i=Object.entries(r).map((function(t){var r=t[0],n=t[1];return"".concat(r,"=").concat(n)})).join("&");return[e,i].join("?")},r.prototype.connectBaseURL=function(t,r){return"".concat(r,"/").concat(t)},r.prototype.buildUrl=function(t){var r=t.url,n=void 0===r?"":r,e=t.baseURL,o=void 0===e?"":e,i=t.params;if(!this.isFullURL(n)){var u=n.startsWith("/")?n.slice(1):n,a=o.endsWith("/")?o.slice(0,-1):o;n=this.connectBaseURL(u,a)}return i&&Object.keys(i).length>0&&(n=this.appendQueryParams(n,i)),n},r.prototype.onBefore=function(t){var r=t.parameters;r.url=this.buildUrl(r)},r.prototype.onSuccess=function(r){var n=r.returnValue;if(!n.response.ok){var e=new v(t.RequestErrorID.RESPONSE_NOT_OK,"Request failed with status: ".concat(n.status," ").concat(n.statusText));throw e.response=n.response,e}},r.prototype.onError=function(r){var n=r.error;return n instanceof v?n:new v(t.RequestErrorID.REQUEST_ERROR,n)},r}();function Oe(){if(se)return ae;se=1;var t=Sn(),r=function(){if(Zn)return Yn;Zn=1;var t=Sn();return Yn=function(){this.__data__=new t,this.size=0}}(),n=te?Xn:(te=1,Xn=function(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}),e=ne?re:(ne=1,re=function(t){return this.__data__.get(t)}),o=oe?ee:(oe=1,ee=function(t){return this.__data__.has(t)}),i=function(){if(ue)return ie;ue=1;var t=Sn(),r=Tn(),n=Pn();return ie=function(e,o){var i=this.__data__;if(i instanceof t){var u=i.__data__;if(!r||u.length<199)return u.push([e,o]),this.size=++i.size,this;i=this.__data__=new n(u)}return i.set(e,o),this.size=i.size,this}}();function u(r){var n=this.__data__=new t(r);this.size=n.size}return u.prototype.clear=r,u.prototype.delete=n,u.prototype.get=e,u.prototype.has=o,u.prototype.set=i,ae=u}function Ee(){if(fe)return ce;fe=1;var t=Bn(),r=xn();return ce=function(n,e,o){(void 0!==o&&!r(n[e],o)||void 0===o&&!(e in n))&&t(n,e,o)}}function we(){if(ve)return he;ve=1;var t=(pe?le:(pe=1,le=function(t){return function(r,n,e){for(var o=-1,i=Object(r),u=e(r),a=u.length;a--;){var s=u[t?a:++o];if(!1===n(i[s],s,i))break}return r}}))();return he=t}var je,ke,xe,Ne,Se,Te,Ae,Pe,qe,Ce,Ue,ze,Ie,Be,Fe,Ve,De,He,Le,Ke,Me,$e,Je,We={exports:{}};function Ge(){if(Se)return Ne;Se=1;var t=function(){if(xe)return ke;xe=1;var t=yn().Uint8Array;return ke=t}();return Ne=function(r){var n=new r.constructor(r.byteLength);return new t(n).set(new t(r)),n}}function Qe(){if(Fe)return Be;Fe=1;var t=(Ie?ze:(Ie=1,ze=function(t,r){return function(n){return t(r(n))}}))(Object.getPrototypeOf,Object);return Be=t}function Ye(){if(De)return Ve;De=1;var t=Object.prototype;return Ve=function(r){var n=r&&r.constructor;return r===("function"==typeof n&&n.prototype||t)}}function Ze(){if(Le)return He;Le=1;var t=function(){if(Ue)return Ce;Ue=1;var t=_n(),r=Object.create,n=function(){function n(){}return function(e){if(!t(e))return{};if(r)return r(e);n.prototype=e;var o=new n;return n.prototype=void 0,o}}();return Ce=n}(),r=Qe(),n=Ye();return He=function(e){return"function"!=typeof e.constructor||n(e)?{}:t(r(e))}}function Xe(){if(Me)return Ke;Me=1;var t=Rn(),r=Ln();return Ke=function(n){return null!=n&&r(n.length)&&!t(n)}}var to,ro,no,eo,oo,io,uo,ao,so,co={exports:{}};function fo(){return no||(no=1,function(t,r){var n=yn(),e=ro?to:(ro=1,to=function(){return!1}),o=r&&!r.nodeType&&r,i=o&&t&&!t.nodeType&&t,u=i&&i.exports===o?n.Buffer:void 0,a=(u?u.isBuffer:void 0)||e;t.exports=a}(co,co.exports)),co.exports}var lo,po,ho,vo,yo,go,bo,mo,_o,Ro,Oo,Eo,wo,jo,ko,xo,No,So,To,Ao,Po,qo,Co,Uo,zo,Io,Bo,Fo,Vo,Do,Ho,Lo={exports:{}};function Ko(){if(ho)return po;ho=1;var t=function(){if(uo)return io;uo=1;var t=gn(),r=Ln(),n=bn(),e={};return e["[object Float32Array]"]=e["[object Float64Array]"]=e["[object Int8Array]"]=e["[object Int16Array]"]=e["[object Int32Array]"]=e["[object Uint8Array]"]=e["[object Uint8ClampedArray]"]=e["[object Uint16Array]"]=e["[object Uint32Array]"]=!0,e["[object Arguments]"]=e["[object Array]"]=e["[object ArrayBuffer]"]=e["[object Boolean]"]=e["[object DataView]"]=e["[object Date]"]=e["[object Error]"]=e["[object Function]"]=e["[object Map]"]=e["[object Number]"]=e["[object Object]"]=e["[object RegExp]"]=e["[object Set]"]=e["[object String]"]=e["[object WeakMap]"]=!1,io=function(o){return n(o)&&r(o.length)&&!!e[t(o)]}}(),r=so?ao:(so=1,ao=function(t){return function(r){return t(r)}}),n=(lo||(lo=1,function(t,r){var n=vn(),e=r&&!r.nodeType&&r,o=e&&t&&!t.nodeType&&t,i=o&&o.exports===e&&n.process,u=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(t){}}();t.exports=u}(Lo,Lo.exports)),Lo.exports),e=n&&n.isTypedArray,o=e?r(e):t;return po=o}function Mo(){if(yo)return vo;return yo=1,vo=function(t,r){if(("constructor"!==r||"function"!=typeof t[r])&&"__proto__"!=r)return t[r]}}function $o(){if(Oo)return Ro;Oo=1;var t=_o?mo:(_o=1,mo=function(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}),r=Hn(),n=hn(),e=fo(),o=Vn(),i=Ko(),u=Object.prototype.hasOwnProperty;return Ro=function(a,s){var c=n(a),f=!c&&r(a),l=!c&&!f&&e(a),p=!c&&!f&&!l&&i(a),h=c||f||l||p,v=h?t(a.length,String):[],y=v.length;for(var d in a)!s&&!u.call(a,d)||h&&("length"==d||l&&("offset"==d||"parent"==d)||p&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||o(d,y))||v.push(d);return v}}function Jo(){if(ko)return jo;ko=1;var t=_n(),r=Ye(),n=wo?Eo:(wo=1,Eo=function(t){var r=[];if(null!=t)for(var n in Object(t))r.push(n);return r}),e=Object.prototype.hasOwnProperty;return jo=function(o){if(!t(o))return n(o);var i=r(o),u=[];for(var a in o)("constructor"!=a||!i&&e.call(o,a))&&u.push(a);return u}}function Wo(){if(No)return xo;No=1;var t=$o(),r=Jo(),n=Xe();return xo=function(e){return n(e)?t(e,!0):r(e)}}function Go(){if(To)return So;To=1;var t=function(){if(bo)return go;bo=1;var t=Fn(),r=Bn();return go=function(n,e,o,i){var u=!o;o||(o={});for(var a=-1,s=e.length;++a<s;){var c=e[a],f=i?i(o[c],n[c],c,o,n):void 0;void 0===f&&(f=n[c]),u?r(o,c,f):t(o,c,f)}return o}}(),r=Wo();return So=function(n){return t(n,r(n))}}function Qo(){if(Po)return Ao;Po=1;var t=Ee(),r=(je||(je=1,function(t,r){var n=yn(),e=r&&!r.nodeType&&r,o=e&&t&&!t.nodeType&&t,i=o&&o.exports===e?n.Buffer:void 0,u=i?i.allocUnsafe:void 0;t.exports=function(t,r){if(r)return t.slice();var n=t.length,e=u?u(n):new t.constructor(n);return t.copy(e),e}}(We,We.exports)),We.exports),n=function(){if(Ae)return Te;Ae=1;var t=Ge();return Te=function(r,n){var e=n?t(r.buffer):r.buffer;return new r.constructor(e,r.byteOffset,r.length)}}(),e=qe?Pe:(qe=1,Pe=function(t,r){var n=-1,e=t.length;for(r||(r=Array(e));++n<e;)r[n]=t[n];return r}),o=Ze(),i=Hn(),u=hn(),a=function(){if(Je)return $e;Je=1;var t=Xe(),r=bn();return $e=function(n){return r(n)&&t(n)}}(),s=fo(),c=Rn(),f=_n(),l=function(){if(oo)return eo;oo=1;var t=gn(),r=Qe(),n=bn(),e=Function.prototype,o=Object.prototype,i=e.toString,u=o.hasOwnProperty,a=i.call(Object);return eo=function(e){if(!n(e)||"[object Object]"!=t(e))return!1;var o=r(e);if(null===o)return!0;var s=u.call(o,"constructor")&&o.constructor;return"function"==typeof s&&s instanceof s&&i.call(s)==a}}(),p=Ko(),h=Mo(),v=Go();return Ao=function(y,d,g,b,m,_,R){var O=h(y,g),E=h(d,g),w=R.get(E);if(w)t(y,g,w);else{var j=_?_(O,E,g+"",y,d,R):void 0,k=void 0===j;if(k){var x=u(E),N=!x&&s(E),S=!x&&!N&&p(E);j=E,x||N||S?u(O)?j=O:a(O)?j=e(O):N?(k=!1,j=r(E,!0)):S?(k=!1,j=n(E,!0)):j=[]:l(E)||i(E)?(j=O,i(O)?j=v(O):f(O)&&!c(O)||(j=o(E))):k=!1}k&&(R.set(E,j),m(j,E,b,_,R),R.delete(E)),t(y,g,j)}}}function Yo(){if(Vo)return Fo;Vo=1;var t=function(){if(zo)return Uo;zo=1;var t=Jn(),r=$n(),n=Gn();return Uo=function(e,o){return n(r(e,o,t),e+"")}}(),r=function(){if(Bo)return Io;Bo=1;var t=xn(),r=Xe(),n=Vn(),e=_n();return Io=function(o,i,u){if(!e(u))return!1;var a=typeof i;return!!("number"==a?r(u)&&n(i,u.length):"string"==a&&i in u)&&t(u[i],o)}}();return Fo=function(n){return t((function(t,e){var o=-1,i=e.length,u=i>1?e[i-1]:void 0,a=i>2?e[2]:void 0;for(u=n.length>3&&"function"==typeof u?(i--,u):void 0,a&&r(e[0],e[1],a)&&(u=i<3?void 0:u,i=1),t=Object(t);++o<i;){var s=e[o];s&&n(t,s,o,u)}return t}))}}var Zo,Xo=function(){if(Ho)return Do;Ho=1;var t=function(){if(Co)return qo;Co=1;var t=Oe(),r=Ee(),n=we(),e=Qo(),o=_n(),i=Wo(),u=Mo();return qo=function a(s,c,f,l,p){s!==c&&n(c,(function(n,i){if(p||(p=new t),o(n))e(s,c,i,f,a,l,p);else{var h=l?l(u(s,i),n,i+"",s,c,p):void 0;void 0===h&&(h=n),r(s,i,h)}}),i)},qo}(),r=Yo()((function(r,n,e){t(r,n,e)}));return Do=r}(),ti=d(Xo),ri=function(){function t(t,r){void 0===r&&(r=new f),this.adapter=t,this.executor=r}return t.prototype.usePlugin=function(t){var r=this;return Array.isArray(t)?t.forEach((function(t){return r.executor.use(t)})):this.executor.use(t),this},t.prototype.request=function(t){var r=this,n=ti({},this.adapter.getConfig(),t);return this.executor.exec(n,(function(t){return r.adapter.request(t.parameters)}))},t}(),ni=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return n(r,t),r.prototype.request=function(r){return t.prototype.request.call(this,r)},r.prototype.get=function(t,r){return o(this,void 0,void 0,(function(){return i(this,(function(n){return[2,this.request(e(e({url:t},r),{method:"GET"}))]}))}))},r.prototype.post=function(t,r){return o(this,void 0,void 0,(function(){return i(this,(function(n){return[2,this.request(e(e({url:t},r),{method:"POST"}))]}))}))},r.prototype.put=function(t,r){return o(this,void 0,void 0,(function(){return i(this,(function(n){return[2,this.request(e(e({url:t},r),{method:"PUT"}))]}))}))},r.prototype.delete=function(t,r){return o(this,void 0,void 0,(function(){return i(this,(function(n){return[2,this.request(e(e({url:t},r),{method:"DELETE"}))]}))}))},r.prototype.patch=function(t,r){return o(this,void 0,void 0,(function(){return i(this,(function(n){return[2,this.request(e(e({url:t},r),{method:"PATCH"}))]}))}))},r.prototype.head=function(t,r){return o(this,void 0,void 0,(function(){return i(this,(function(n){return[2,this.request(e(e({url:t},r),{method:"HEAD"}))]}))}))},r.prototype.options=function(t,r){return o(this,void 0,void 0,(function(){return i(this,(function(n){return[2,this.request(e(e({url:t},r),{method:"OPTIONS"}))]}))}))},r.prototype.trace=function(t,r){return o(this,void 0,void 0,(function(){return i(this,(function(n){return[2,this.request(e(e({url:t},r),{method:"TRACE"}))]}))}))},r.prototype.connect=function(t,r){return o(this,void 0,void 0,(function(){return i(this,(function(n){return[2,this.request(e(e({url:t},r),{method:"CONNECT"}))]}))}))},r}(ri),ei=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return n(r,t),r.prototype.request=function(r){return t.prototype.request.call(this,r)},r.prototype.get=function(t,r){return this.request(e(e({},r),{url:t,method:"GET"}))},r.prototype.post=function(t,r,n){return this.request(e(e({},n),{url:t,method:"POST",data:r}))},r.prototype.put=function(t,r,n){return this.request(e(e({},n),{url:t,method:"PUT",data:r}))},r.prototype.delete=function(t,r){return this.request(e(e({},r),{url:t,method:"DELETE"}))},r.prototype.patch=function(t,r,n){return this.request(e(e({},n),{url:t,method:"PATCH",data:r}))},r}(ri),oi=function(){function t(t){void 0===t&&(t={}),this.options=t,this[Zo]="JSONSerializer"}return t.prototype.createReplacer=function(t){return Array.isArray(t)?t:null===t?function(t,r){return"string"==typeof r?r.replace(/\r\n/g,"\n"):r}:"function"==typeof t?function(r,n){var e="string"==typeof n?n.replace(/\r\n/g,"\n"):n;return t.call(this,r,e)}:function(t,r){return"string"==typeof r?r.replace(/\r\n/g,"\n"):r}},t.prototype.stringify=function(t,r,n){try{var e=this.createReplacer(r);return Array.isArray(e)?JSON.stringify(t,e,n):JSON.stringify(t,e,null!=n?n:this.options.pretty?this.options.indent||2:void 0)}catch(t){if(t instanceof TypeError&&t.message.includes("circular"))throw new TypeError("Cannot stringify data with circular references");throw t}},t.prototype.parse=function(t,r){return JSON.parse(t,r)},t.prototype.serialize=function(t){return this.stringify(t,this.options.replacer||null,this.options.pretty?this.options.indent||2:void 0)},t.prototype.deserialize=function(t,r){try{return this.parse(t)}catch(t){return r}},t.prototype.serializeArray=function(t){return"["+t.map((function(t){return JSON.stringify(t)})).join(",")+"]"},t}();Zo=Symbol.toStringTag;var ii=function(){function t(t){void 0===t&&(t={}),this.options=t}return t.prototype.serialize=function(t){var r=Buffer.from(t,"utf8").toString("base64");return this.options.urlSafe?this.makeUrlSafe(r):r},t.prototype.deserialize=function(t,r){try{return/^[A-Za-z0-9+/]*={0,2}$/.test(t)?(this.options.urlSafe&&(t=this.makeUrlUnsafe(t)),Buffer.from(t,"base64").toString("utf8")):null!=r?r:""}catch(t){return null!=r?r:""}},t.prototype.makeUrlSafe=function(t){return t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},t.prototype.makeUrlUnsafe=function(t){for(t=t.replace(/-/g,"+").replace(/_/g,"/");t.length%4;)t+="=";return t},t}(),ui=function(){function t(t,r){void 0===r&&(r=new oi),this.storage=t,this.serializer=r,this.store={}}return Object.defineProperty(t.prototype,"length",{get:function(){return this.storage?this.storage.length:Object.keys(this.store).length},enumerable:!1,configurable:!0}),t.prototype.setItem=function(t,r,n){var e={key:t,value:r,expire:n};"number"==typeof n&&n>0&&(e.expire=n);var o=this.serializer.serialize(e);this.storage?this.storage.setItem(t,o):this.store[t]=o},t.prototype.getItem=function(t,r){var n,e=this.storage?this.storage.getItem(t):this.store[t],o=null!=r?r:null;if(!e)return o;var i=this.serializer.deserialize(e,o);return"object"==typeof i?"number"==typeof i.expire&&i.expire<Date.now()?(this.removeItem(t),o):null!==(n=null==i?void 0:i.value)&&void 0!==n?n:o:o},t.prototype.removeItem=function(t){this.storage?this.storage.removeItem(t):delete this.store[t]},t.prototype.clear=function(){this.storage?this.storage.clear():this.store={}},t}();t.AsyncExecutor=f,t.Base64Serializer=ii,t.Executor=s,t.ExecutorError=c,t.FetchAbortPlugin=_e,t.FetchURLPlugin=Re,t.JSONSerializer=oi,t.JSONStorage=ui,t.RequestAdapterAxios=me,t.RequestAdapterFetch=be,t.RequestError=v,t.RequestManager=ri,t.RequestScheduler=ni,t.RequestTransaction=ei,t.RetryPlugin=h,t.SyncExecutor=l}));
|