@qlover/fe-corekit 2.4.0 → 3.0.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 +4615 -4544
- package/dist/index.d.ts +7749 -2994
- package/dist/index.iife.js +6169 -4468
- package/dist/index.iife.min.js +13 -1
- package/dist/index.js +4435 -4499
- package/package.json +6 -4
package/dist/index.iife.min.js
CHANGED
|
@@ -1 +1,13 @@
|
|
|
1
|
-
"use strict";function t(t,e){if(e==null||e>t.length)e=t.length;for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function e(t){if(Array.isArray(t))return t}function r(e){if(Array.isArray(e))return t(e)}function n(t){if(t===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return t}function o(t,e,r,n,o,i,u){try{var a=t[i](u);var s=a.value}catch(t){r(t);return}if(a.done){e(s)}else{Promise.resolve(s).then(n,o)}}function i(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function a(t){o(u,n,i,a,s,"next",t)}function s(t){o(u,n,i,a,s,"throw",t)}a(undefined)})}}function u(t,e){if(!(t instanceof e)){throw new TypeError("Cannot call a class as a function")}}function a(t,e,r){if(C()){a=Reflect.construct}else{a=function t(t,e,r){var n=[null];n.push.apply(n,e);var o=Function.bind.apply(t,n);var i=new o;if(r)E(i,r.prototype);return i}}return a.apply(null,arguments)}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(t,n.key,n)}}function c(t,e,r){if(e)s(t.prototype,e);if(r)s(t,r);return t}function l(t,e,r){if(e in t){Object.defineProperty(t,e,{value:r,enumerable:true,configurable:true,writable:true})}else{t[e]=r}return t}function f(t,e,r){if(typeof Reflect!=="undefined"&&Reflect.get){f=Reflect.get}else{f=function t(t,e,r){var n=S(t,e);if(!n)return;var o=Object.getOwnPropertyDescriptor(n,e);if(o.get){return o.get.call(r||t)}return o.value}}return f(t,e,r||t)}function v(t){v=Object.setPrototypeOf?Object.getPrototypeOf:function t(t){return t.__proto__||Object.getPrototypeOf(t)};return v(t)}function p(t,e){if(typeof e!=="function"&&e!==null){throw new TypeError("Super expression must either be null or a function")}t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:true,configurable:true}});if(e)E(t,e)}function h(t,e){if(e!=null&&typeof Symbol!=="undefined"&&e[Symbol.hasInstance]){return!!e[Symbol.hasInstance](t)}else{return t instanceof e}}function y(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function d(t){if(typeof Symbol!=="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function g(t,e){var r=t==null?null:typeof Symbol!=="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(r==null)return;var n=[];var o=true;var i=false;var u,a;try{for(r=r.call(t);!(o=(u=r.next()).done);o=true){n.push(u.value);if(e&&n.length===e)break}}catch(t){i=true;a=t}finally{try{if(!o&&r["return"]!=null)r["return"]()}finally{if(i)throw a}}return n}function b(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(){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 x(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};var n=Object.keys(r);if(typeof Object.getOwnPropertySymbols==="function"){n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))}n.forEach(function(e){l(t,e,r[e])})}return t}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);if(e){n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})}r.push.apply(r,n)}return r}function O(t,e){e=e!=null?e:{};if(Object.getOwnPropertyDescriptors){Object.defineProperties(t,Object.getOwnPropertyDescriptors(e))}else{k(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}return t}function _(t,e){if(t==null)return{};var r=w(t,e);var n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++){n=i[o];if(e.indexOf(n)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(t,n))continue;r[n]=t[n]}}return r}function w(t,e){if(t==null)return{};var r={};var n=Object.keys(t);var o,i;for(i=0;i<n.length;i++){o=n[i];if(e.indexOf(o)>=0)continue;r[o]=t[o]}return r}function R(t,e){if(e&&(T(e)==="object"||typeof e==="function")){return e}return n(t)}function E(t,e){E=Object.setPrototypeOf||function t(t,e){t.__proto__=e;return t};return E(t,e)}function j(t,r){return e(t)||g(t,r)||P(t,r)||b()}function S(t,e){while(!Object.prototype.hasOwnProperty.call(t,e)){t=v(t);if(t===null)break}return t}function A(t){return r(t)||d(t)||P(t)||m()}function T(t){"@swc/helpers - typeof";return t&&typeof Symbol!=="undefined"&&t.constructor===Symbol?"symbol":typeof t}function P(e,r){if(!e)return;if(typeof e==="string")return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor)n=e.constructor.name;if(n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,r)}function N(t){var e=typeof Map==="function"?new Map:undefined;N=function t(t){if(t===null||!y(t))return t;if(typeof t!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof e!=="undefined"){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return a(t,arguments,v(this).constructor)}r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:false,writable:true,configurable:true}});return E(r,t)};return N(t)}function C(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(t){return false}}function H(t){var e=C();return function r(){var r=v(t),n;if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else{n=r.apply(this,arguments)}return R(this,n)}}function q(t,e){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),"throw":a(1),"return":a(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(t){return function(e){return s([t,e])}}function s(i){if(r)throw new TypeError("Generator is already executing.");while(u)try{if(r=1,n&&(o=i[0]&2?n["return"]:i[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;if(n=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:u.label++;return{value:i[1],done:false};case 5:u.label++;n=i[1];i=[0];continue;case 7:i=u.ops.pop();u.trys.pop();continue;default:if(!(o=u.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){u=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(i[0]===6&&u.label<o[1]){u.label=o[1];o=i;break}if(o&&u.label<o[2]){u.label=o[2];u.ops.push(i);break}if(o[2])u.ops.pop();u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t];n=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}}var qloverFeCorekit=function(){var t,e,r,o,a,s;var l=function t(t){return{parameters:t,returnValue:void 0,error:void 0,hooksRuntimes:{pluginName:"",hookName:"",returnValue:void 0,returnBreakChain:!1,times:0,breakChain:!1,index:void 0}}};var y=function t(t){return"type"in t&&"pipe"in t?t:"serialize"in t&&"deserialize"in t?{pipe:t,type:"serialize"}:"encrypt"in t&&"decrypt"in t?{pipe:t,type:"encrypt"}:"setItem"in t&&"getItem"in t&&"removeItem"in t&&"clear"in t?{pipe:t,type:"storage"}:null};var d=Object.create;var g=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var E=function(t,e){return function(){return e||t((e={exports:{}}).exports,e),e.exports}},S=function(t,e){for(var r in e)g(t,r,{get:e[r],enumerable:!0})},P=function(t,e,r,n){var o=true,i=false,u=undefined;if(e&&(typeof e==="undefined"?"undefined":T(e))=="object"||typeof e=="function")try{var a=function(){var o=c.value;!w.call(t,o)&&o!==r&&g(t,o,{get:function(){return e[o]},enumerable:!(n=b(e,o))||n.enumerable})};for(var s=m(e)[Symbol.iterator](),c;!(o=(c=s.next()).done);o=true)a()}catch(t){i=true;u=t}finally{try{if(!o&&s.return!=null){s.return()}}finally{if(i){throw u}}}return t};var C=function(t,e,r){return r=t!=null?d(k(t)):{},P(e||!t||!t.__esModule?g(r,"default",{value:t,enumerable:!0}):r,t)},I=function(t){return P(g({},"__esModule",{value:!0}),t)};var z=E(function(t,e){"use strict";var r=function t(){this.__data__=[],this.size=0};e.exports=r});var U=E(function(t,e){"use strict";var r=function t(t,e){return t===e||t!==t&&e!==e};e.exports=r});var B=E(function(t,e){"use strict";var r=function t(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1};var n=U();e.exports=r});var V=E(function(t,e){"use strict";var r=function t(t){var e=this.__data__,r=n(e,t);if(r<0)return!1;var o=e.length-1;return r==o?e.pop():i.call(e,r,1),--this.size,!0};var n=B(),o=Array.prototype,i=o.splice;e.exports=r});var F=E(function(t,e){"use strict";var r=function t(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]};var n=B();e.exports=r});var D=E(function(t,e){"use strict";var r=function t(t){return n(this.__data__,t)>-1};var n=B();e.exports=r});var K=E(function(t,e){"use strict";var r=function t(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this};var n=B();e.exports=r});var M=E(function(t,e){"use strict";var r=function t(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}};var n=z(),o=V(),i=F(),u=D(),a=K();r.prototype.clear=n;r.prototype.delete=o;r.prototype.get=i;r.prototype.has=u;r.prototype.set=a;e.exports=r});var L=E(function(t,e){"use strict";var r=function t(){this.__data__=new n,this.size=0};var n=M();e.exports=r});var $=E(function(t,e){"use strict";var r=function t(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};e.exports=r});var W=E(function(t,e){"use strict";var r=function t(t){return this.__data__.get(t)};e.exports=r});var J=E(function(t,e){"use strict";var r=function t(t){return this.__data__.has(t)};e.exports=r});var G=E(function(t,e){"use strict";var r=(typeof global==="undefined"?"undefined":T(global))=="object"&&global&&global.Object===Object&&global;e.exports=r});var Q=E(function(t,e){"use strict";var r=G(),n=(typeof self==="undefined"?"undefined":T(self))=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();e.exports=o});var Y=E(function(t,e){"use strict";var r=Q(),n=r.Symbol;e.exports=n});var Z=E(function(t,e){"use strict";var r=function t(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var o=u.call(t);return n&&(e?t[a]=r:delete t[a]),o};var n=Y(),o=Object.prototype,i=o.hasOwnProperty,u=o.toString,a=n?n.toStringTag:void 0;e.exports=r});var X=E(function(t,e){"use strict";var r=function t(t){return o.call(t)};var n=Object.prototype,o=n.toString;e.exports=r});var tt=E(function(t,e){"use strict";var r=function t(t){return t==null?t===void 0?a:u:s&&s in Object(t)?o(t):i(t)};var n=Y(),o=Z(),i=X(),u="[object Null]",a="[object Undefined]",s=n?n.toStringTag:void 0;e.exports=r});var te=E(function(t,e){"use strict";var r=function t(t){var e=typeof t==="undefined"?"undefined":T(t);return t!=null&&(e=="object"||e=="function")};e.exports=r});var tr=E(function(t,e){"use strict";var r=function t(t){if(!o(t))return!1;var e=n(t);return e==u||e==a||e==i||e==s};var n=tt(),o=te(),i="[object AsyncFunction]",u="[object Function]",a="[object GeneratorFunction]",s="[object Proxy]";e.exports=r});var tn=E(function(t,e){"use strict";var r=Q(),n=r["__core-js_shared__"];e.exports=n});var to=E(function(t,e){"use strict";var r=function t(t){return!!o&&o in t};var n=tn(),o=function(){var t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();e.exports=r});var ti=E(function(t,e){"use strict";var r=function t(t){if(t!=null){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var n=Function.prototype,o=n.toString;e.exports=r});var tu=E(function(t,e){"use strict";var r=function t(t){if(!i(t)||o(t))return!1;var e=n(t)?p:s;return e.test(u(t))};var n=tr(),o=to(),i=te(),u=ti(),a=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,f=c.toString,v=l.hasOwnProperty,p=RegExp("^"+f.call(v).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r});var ta=E(function(t,e){"use strict";var r=function t(t,e){return t===null||t===void 0?void 0:t[e]};e.exports=r});var ts=E(function(t,e){"use strict";var r=function t(t,e){var r=o(t,e);return n(r)?r:void 0};var n=tu(),o=ta();e.exports=r});var tc=E(function(t,e){"use strict";var r=ts(),n=Q(),o=r(n,"Map");e.exports=o});var tl=E(function(t,e){"use strict";var r=ts(),n=r(Object,"create");e.exports=n});var tf=E(function(t,e){"use strict";var r=function t(){this.__data__=n?n(null):{},this.size=0};var n=tl();e.exports=r});var tv=E(function(t,e){"use strict";var r=function t(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};e.exports=r});var tp=E(function(t,e){"use strict";var r=function t(t){var e=this.__data__;if(n){var r=e[t];return r===o?void 0:r}return u.call(e,t)?e[t]:void 0};var n=tl(),o="__lodash_hash_undefined__",i=Object.prototype,u=i.hasOwnProperty;e.exports=r});var th=E(function(t,e){"use strict";var r=function t(t){var e=this.__data__;return n?e[t]!==void 0:i.call(e,t)};var n=tl(),o=Object.prototype,i=o.hasOwnProperty;e.exports=r});var ty=E(function(t,e){"use strict";var r=function t(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&e===void 0?o:e,this};var n=tl(),o="__lodash_hash_undefined__";e.exports=r});var td=E(function(t,e){"use strict";var r=function t(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}};var n=tf(),o=tv(),i=tp(),u=th(),a=ty();r.prototype.clear=n;r.prototype.delete=o;r.prototype.get=i;r.prototype.has=u;r.prototype.set=a;e.exports=r});var tg=E(function(t,e){"use strict";var r=function t(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}};var n=td(),o=M(),i=tc();e.exports=r});var tb=E(function(t,e){"use strict";var r=function t(t){var e=typeof t==="undefined"?"undefined":T(t);return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null};e.exports=r});var tm=E(function(t,e){"use strict";var r=function t(t,e){var r=t.__data__;return n(e)?r[typeof e=="string"?"string":"hash"]:r.map};var n=tb();e.exports=r});var tx=E(function(t,e){"use strict";var r=function t(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e};var n=tm();e.exports=r});var tk=E(function(t,e){"use strict";var r=function t(t){return n(this,t).get(t)};var n=tm();e.exports=r});var tO=E(function(t,e){"use strict";var r=function t(t){return n(this,t).has(t)};var n=tm();e.exports=r});var t_=E(function(t,e){"use strict";var r=function t(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this};var n=tm();e.exports=r});var tw=E(function(t,e){"use strict";var r=function t(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}};var n=tg(),o=tx(),i=tk(),u=tO(),a=t_();r.prototype.clear=n;r.prototype.delete=o;r.prototype.get=i;r.prototype.has=u;r.prototype.set=a;e.exports=r});var tR=E(function(t,e){"use strict";var r=function t(t,e){var r=this.__data__;if(h(r,n)){var a=r.__data__;if(!o||a.length<u-1)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(t,e),this.size=r.size,this};var n=M(),o=tc(),i=tw(),u=200;e.exports=r});var tE=E(function(t,e){"use strict";var r=function t(t){var e=this.__data__=new n(t);this.size=e.size};var n=M(),o=L(),i=$(),u=W(),a=J(),s=tR();r.prototype.clear=o;r.prototype.delete=i;r.prototype.get=u;r.prototype.has=a;r.prototype.set=s;e.exports=r});var tj=E(function(t,e){"use strict";var r=ts(),n=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();e.exports=n});var tS=E(function(t,e){"use strict";var r=function t(t,e,r){e=="__proto__"&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r};var n=tj();e.exports=r});var tA=E(function(t,e){"use strict";var r=function t(t,e,r){(r!==void 0&&!o(t[e],r)||r===void 0&&!(e in t))&&n(t,e,r)};var n=tS(),o=U();e.exports=r});var tT=E(function(t,e){"use strict";var r=function t(t){return function(e,r,n){for(var o=-1,i=Object(e),u=n(e),a=u.length;a--;){var s=u[t?a:++o];if(r(i[s],s,i)===!1)break}return e}};e.exports=r});var tP=E(function(t,e){"use strict";var r=tT(),n=r();e.exports=n});var tN=E(function(t,e){"use strict";var r=function t(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n};var n=Q(),o=(typeof t==="undefined"?"undefined":T(t))=="object"&&t&&!t.nodeType&&t,i=o&&(typeof e==="undefined"?"undefined":T(e))=="object"&&e&&!e.nodeType&&e,u=i&&i.exports===o,a=u?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=r});var tC=E(function(t,e){"use strict";var r=Q(),n=r.Uint8Array;e.exports=n});var tH=E(function(t,e){"use strict";var r=function t(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e};var n=tC();e.exports=r});var tq=E(function(t,e){"use strict";var r=function t(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)};var n=tH();e.exports=r});var tI=E(function(t,e){"use strict";var r=function t(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e};e.exports=r});var tz=E(function(t,e){"use strict";var r=te(),n=Object.create,o=function(){function t(){}return function(e){if(!r(e))return{};if(n)return n(e);t.prototype=e;var o=new t;return t.prototype=void 0,o}}();e.exports=o});var tU=E(function(t,e){"use strict";var r=function t(t,e){return function(r){return t(e(r))}};e.exports=r});var tB=E(function(t,e){"use strict";var r=tU(),n=r(Object.getPrototypeOf,Object);e.exports=n});var tV=E(function(t,e){"use strict";var r=function t(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||n;return t===r};var n=Object.prototype;e.exports=r});var tF=E(function(t,e){"use strict";var r=function t(t){return typeof t.constructor=="function"&&!i(t)?n(o(t)):{}};var n=tz(),o=tB(),i=tV();e.exports=r});var tD=E(function(t,e){"use strict";var r=function t(t){return t!=null&&(typeof t==="undefined"?"undefined":T(t))=="object"};e.exports=r});var tK=E(function(t,e){"use strict";var r=function t(t){return o(t)&&n(t)==i};var n=tt(),o=tD(),i="[object Arguments]";e.exports=r});var tM=E(function(t,e){"use strict";var r=tK(),n=tD(),o=Object.prototype,i=o.hasOwnProperty,u=o.propertyIsEnumerable,a=r(function(){return arguments}())?r:function t(t){return n(t)&&i.call(t,"callee")&&!u.call(t,"callee")};e.exports=a});var tL=E(function(t,e){"use strict";var r=Array.isArray;e.exports=r});var t$=E(function(t,e){"use strict";var r=function t(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=n};var n=9007199254740991;e.exports=r});var tW=E(function(t,e){"use strict";var r=function t(t){return t!=null&&o(t.length)&&!n(t)};var n=tr(),o=t$();e.exports=r});var tJ=E(function(t,e){"use strict";var r=function t(t){return o(t)&&n(t)};var n=tW(),o=tD();e.exports=r});var tG=E(function(t,e){"use strict";var r=function t(){return!1};e.exports=r});var tQ=E(function(t,e){"use strict";var r=Q(),n=tG(),o=(typeof t==="undefined"?"undefined":T(t))=="object"&&t&&!t.nodeType&&t,i=o&&(typeof e==="undefined"?"undefined":T(e))=="object"&&e&&!e.nodeType&&e,u=i&&i.exports===o,a=u?r.Buffer:void 0,s=a?a.isBuffer:void 0,c=s||n;e.exports=c});var tY=E(function(t,e){"use strict";var r=function t(t){if(!i(t)||n(t)!=u)return!1;var e=o(t);if(e===null)return!0;var r=l.call(e,"constructor")&&e.constructor;return typeof r=="function"&&h(r,r)&&c.call(r)==f};var n=tt(),o=tB(),i=tD(),u="[object Object]",a=Function.prototype,s=Object.prototype,c=a.toString,l=s.hasOwnProperty,f=c.call(Object);e.exports=r});var tZ=E(function(t,e){"use strict";var r=function t(t){return i(t)&&o(t.length)&&!!T[n(t)]};var n=tt(),o=t$(),i=tD(),u="[object Arguments]",a="[object Array]",s="[object Boolean]",c="[object Date]",l="[object Error]",f="[object Function]",v="[object Map]",p="[object Number]",h="[object Object]",y="[object RegExp]",d="[object Set]",g="[object String]",b="[object WeakMap]",m="[object ArrayBuffer]",x="[object DataView]",k="[object Float32Array]",O="[object Float64Array]",_="[object Int8Array]",w="[object Int16Array]",R="[object Int32Array]",E="[object Uint8Array]",j="[object Uint8ClampedArray]",S="[object Uint16Array]",A="[object Uint32Array]",T={};T[k]=T[O]=T[_]=T[w]=T[R]=T[E]=T[j]=T[S]=T[A]=!0;T[u]=T[a]=T[m]=T[s]=T[x]=T[c]=T[l]=T[f]=T[v]=T[p]=T[h]=T[y]=T[d]=T[g]=T[b]=!1;e.exports=r});var tX=E(function(t,e){"use strict";var r=function t(t){return function(e){return t(e)}};e.exports=r});var t0=E(function(t,e){"use strict";var r=G(),n=(typeof t==="undefined"?"undefined":T(t))=="object"&&t&&!t.nodeType&&t,o=n&&(typeof e==="undefined"?"undefined":T(e))=="object"&&e&&!e.nodeType&&e,i=o&&o.exports===n,u=i&&r.process,a=function(){try{var t=o&&o.require&&o.require("util").types;return t||u&&u.binding&&u.binding("util")}catch(t){}}();e.exports=a});var t1=E(function(t,e){"use strict";var r=tZ(),n=tX(),o=t0(),i=o&&o.isTypedArray,u=i?n(i):r;e.exports=u});var t2=E(function(t,e){"use strict";var r=function t(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]};e.exports=r});var t3=E(function(t,e){"use strict";var r=function t(t,e,r){var i=t[e];(!(u.call(t,e)&&o(i,r))||r===void 0&&!(e in t))&&n(t,e,r)};var n=tS(),o=U(),i=Object.prototype,u=i.hasOwnProperty;e.exports=r});var t4=E(function(t,e){"use strict";var r=function t(t,e,r,i){var u=!r;r||(r={});for(var a=-1,s=e.length;++a<s;){var c=e[a],l=i?i(r[c],t[c],c,r,t):void 0;l===void 0&&(l=t[c]),u?o(r,c,l):n(r,c,l)}return r};var n=t3(),o=tS();e.exports=r});var t6=E(function(t,e){"use strict";var r=function t(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n};e.exports=r});var t8=E(function(t,e){"use strict";var r=function t(t,e){var r=typeof t==="undefined"?"undefined":T(t);return e=e!==null&&e!==void 0?e:n,!!e&&(r=="number"||r!="symbol"&&o.test(t))&&t>-1&&t%1==0&&t<e};var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=r});var t7=E(function(t,e){"use strict";var r=function t(t,e){var r=i(t),c=!r&&o(t),f=!r&&!c&&u(t),v=!r&&!c&&!f&&s(t),p=r||c||f||v,h=p?n(t.length,String):[],y=h.length;for(var d in t)(e||l.call(t,d))&&!(p&&(d=="length"||f&&(d=="offset"||d=="parent")||v&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||a(d,y)))&&h.push(d);return h};var n=t6(),o=tM(),i=tL(),u=tQ(),a=t8(),s=t1(),c=Object.prototype,l=c.hasOwnProperty;e.exports=r});var t5=E(function(t,e){"use strict";var r=function t(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e};e.exports=r});var t9=E(function(t,e){"use strict";var r=function t(t){if(!n(t))return i(t);var e=o(t),r=[];for(var u in t)u=="constructor"&&(e||!a.call(t,u))||r.push(u);return r};var n=te(),o=tV(),i=t5(),u=Object.prototype,a=u.hasOwnProperty;e.exports=r});var et=E(function(t,e){"use strict";var r=function t(t){return i(t)?n(t,!0):o(t)};var n=t7(),o=t9(),i=tW();e.exports=r});var ee=E(function(t,e){"use strict";var r=function t(t){return n(t,o(t))};var n=t4(),o=et();e.exports=r});var er=E(function(t,e){"use strict";var r=function t(t,e,r,b,m,x,k){var O=d(t,r),_=d(e,r),w=k.get(_);if(w){n(t,r,w);return}var R=x?x(O,_,r+"",t,e,k):void 0,E=R===void 0;if(E){var j=c(_),S=!j&&f(_),A=!j&&!S&&y(_);R=_,j||S||A?c(O)?R=O:l(O)?R=u(O):S?(E=!1,R=o(_,!0)):A?(E=!1,R=i(_,!0)):R=[]:h(_)||s(_)?(R=O,s(O)?R=g(O):(!p(O)||v(O))&&(R=a(_))):E=!1}E&&(k.set(_,R),m(R,_,b,x,k),k.delete(_)),n(t,r,R)};var n=tA(),o=tN(),i=tq(),u=tI(),a=tF(),s=tM(),c=tL(),l=tJ(),f=tQ(),v=tr(),p=te(),h=tY(),y=t1(),d=t2(),g=ee();e.exports=r});var en=E(function(t,e){"use strict";var r=tE(),n=tA(),o=tP(),i=er(),u=te(),a=et(),s=t2();function c(t,e,l,f,v){t!==e&&o(e,function(o,a){if(v||(v=new r),u(o))i(t,e,a,l,c,f,v);else{var p=f?f(s(t,a),o,a+"",t,e,v):void 0;p===void 0&&(p=o),n(t,a,p)}},a)}e.exports=c});var eo=E(function(t,e){"use strict";var r=function t(t){return t};e.exports=r});var ei=E(function(t,e){"use strict";var r=function t(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};e.exports=r});var eu=E(function(t,e){"use strict";var r=function t(t,e,r){return e=o(e===void 0?t.length-1:e,0),function(){for(var i=arguments,u=-1,a=o(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]=r(s),n(t,this,c)}};var n=ei(),o=Math.max;e.exports=r});var ea=E(function(t,e){"use strict";var r=function t(t){return function(){return t}};e.exports=r});var es=E(function(t,e){"use strict";var r=ea(),n=tj(),o=eo(),i=n?function t(t,e){return n(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;e.exports=i});var ec=E(function(t,e){"use strict";var r=function t(t){var e=0,r=0;return function(){var u=i(),a=o-(u-r);if(r=u,a>0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}};var n=800,o=16,i=Date.now;e.exports=r});var el=E(function(t,e){"use strict";var r=es(),n=ec(),o=n(r);e.exports=o});var ef=E(function(t,e){"use strict";var r=function t(t,e){return i(o(t,e,n),t+"")};var n=eo(),o=eu(),i=el();e.exports=r});var ev=E(function(t,e){"use strict";var r=function t(t,e,r){if(!u(r))return!1;var a=typeof e==="undefined"?"undefined":T(e);return(a=="number"?o(r)&&i(e,r.length):a=="string"&&e in r)?n(r[e],t):!1};var n=U(),o=tW(),i=t8(),u=te();e.exports=r});var ep=E(function(t,e){"use strict";var r=function t(t){return n(function(e,r){var n=-1,i=r.length,u=i>1?r[i-1]:void 0,a=i>2?r[2]:void 0;for(u=t.length>3&&typeof u=="function"?(i--,u):void 0,a&&o(r[0],r[1],a)&&(u=i<3?void 0:u,i=1),e=Object(e);++n<i;){var s=r[n];s&&t(e,s,n,u)}return e})};var n=ef(),o=ev();e.exports=r});var eh=E(function(t,e){"use strict";var r=en(),n=ep(),o=n(function(t,e,n){r(t,e,n)});e.exports=o});var ey=E(function(t,e){"use strict";var r=function t(t){return(typeof t==="undefined"?"undefined":T(t))=="symbol"||o(t)&&n(t)==i};var n=tt(),o=tD(),i="[object Symbol]";e.exports=r});var ed=E(function(t,e){"use strict";var r=function t(t,e){if(n(t))return!1;var r=typeof t==="undefined"?"undefined":T(t);return r=="number"||r=="symbol"||r=="boolean"||t==null||o(t)?!0:u.test(t)||!i.test(t)||e!=null&&t in Object(e)};var n=tL(),o=ey(),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;e.exports=r});var eg=E(function(t,e){"use strict";var r=tw(),n="Expected a function";function o(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(n);var i=function r(){var r=arguments,n=e?e.apply(this,r):r[0],o=i.cache;if(o.has(n))return o.get(n);var u=t.apply(this,r);return i.cache=o.set(n,u)||o,u};return i.cache=new(o.Cache||r),i}o.Cache=r;e.exports=o});var eb=E(function(t,e){"use strict";var r=function t(t){var e=n(t,function(t){return r.size===o&&r.clear(),t}),r=e.cache;return e};var n=eg(),o=500;e.exports=r});var em=E(function(t,e){"use strict";var r=eb(),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(n,function(t,r,n,i){e.push(n?i.replace(o,"$1"):r||t)}),e});e.exports=i});var ex=E(function(t,e){"use strict";var r=function t(t,e){for(var r=-1,n=t==null?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o};e.exports=r});var ek=E(function(t,e){"use strict";var r=Y(),n=ex(),o=tL(),i=ey(),u=1/0,a=r?r.prototype:void 0,s=a?a.toString:void 0;function c(t){if(typeof t=="string")return t;if(o(t))return n(t,c)+"";if(i(t))return s?s.call(t):"";var e=t+"";return e=="0"&&1/t==-u?"-0":e}e.exports=c});var eO=E(function(t,e){"use strict";var r=function t(t){return t==null?"":n(t)};var n=ek();e.exports=r});var e_=E(function(t,e){"use strict";var r=function t(t,e){return n(t)?t:o(t,e)?[t]:i(u(t))};var n=tL(),o=ed(),i=em(),u=eO();e.exports=r});var ew=E(function(t,e){"use strict";var r=function t(t){if(typeof t=="string"||n(t))return t;var e=t+"";return e=="0"&&1/t==-o?"-0":e};var n=ey(),o=1/0;e.exports=r});var eR=E(function(t,e){"use strict";var r=function t(t,e){e=n(e,t);for(var r=0,i=e.length;t!=null&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0};var n=e_(),o=ew();e.exports=r});var eE=E(function(t,e){"use strict";var r=function t(t,e,r,s){if(!u(t))return t;e=o(e,t);for(var c=-1,l=e.length,f=l-1,v=t;v!=null&&++c<l;){var p=a(e[c]),h=r;if(p==="__proto__"||p==="constructor"||p==="prototype")return t;if(c!=f){var y=v[p];h=s?s(y,p,v):void 0,h===void 0&&(h=u(y)?y:i(e[c+1])?[]:{})}n(v,p,h),v=v[p]}return t};var n=t3(),o=e_(),i=t8(),u=te(),a=ew();e.exports=r});var ej=E(function(t,e){"use strict";var r=function t(t,e,r){for(var u=-1,a=e.length,s={};++u<a;){var c=e[u],l=n(t,c);r(l,c)&&o(s,i(c,t),l)}return s};var n=eR(),o=eE(),i=e_();e.exports=r});var eS=E(function(t,e){"use strict";var r=function t(t,e){return t!=null&&e in Object(t)};e.exports=r});var eA=E(function(t,e){"use strict";var r=function t(t,e,r){e=n(e,t);for(var c=-1,l=e.length,f=!1;++c<l;){var v=s(e[c]);if(!(f=t!=null&&r(t,v)))break;t=t[v]}return f||++c!=l?f:(l=t==null?0:t.length,!!l&&a(l)&&u(v,l)&&(i(t)||o(t)))};var n=e_(),o=tM(),i=tL(),u=t8(),a=t$(),s=ew();e.exports=r});var eT=E(function(t,e){"use strict";var r=function t(t,e){return t!=null&&o(t,e,n)};var n=eS(),o=eA();e.exports=r});var eP=E(function(t,e){"use strict";var r=function t(t,e){return n(t,e,function(e,r){return o(t,r)})};var n=ej(),o=eT();e.exports=r});var eN=E(function(t,e){"use strict";var r=function t(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t};e.exports=r});var eC=E(function(t,e){"use strict";var r=function t(t){return i(t)||o(t)||!!(u&&t&&t[u])};var n=Y(),o=tM(),i=tL(),u=n?n.isConcatSpreadable:void 0;e.exports=r});var eH=E(function(t,e){"use strict";var r=eN(),n=eC();function o(t,e,i,u,a){var s=-1,c=t.length;for(i||(i=n),a||(a=[]);++s<c;){var l=t[s];e>0&&i(l)?e>1?o(l,e-1,i,u,a):r(a,l):u||(a[a.length]=l)}return a}e.exports=o});var eq=E(function(t,e){"use strict";var r=function t(t){var e=t==null?0:t.length;return e?n(t,1):[]};var n=eH();e.exports=r});var eI=E(function(t,e){"use strict";var r=function t(t){return i(o(t,void 0,n),t+"")};var n=eq(),o=eu(),i=el();e.exports=r});var ez=E(function(t,e){"use strict";var r=eP(),n=eI(),o=n(function(t,e){return t==null?{}:r(t,e)});e.exports=o});var eU={};S(eU,{ABORT_ERROR_ID:function(){return eM},AbortError:function(){return eL},AbortPlugin:function(){return e$},AsyncExecutor:function(){return eD},Base64Serializer:function(){return rr},Executor:function(){return eB},ExecutorError:function(){return eV},FetchAbortPlugin:function(){return e4},FetchURLPlugin:function(){return e6},JSONSerializer:function(){return re},KeyStorage:function(){return rn},ObjectStorage:function(){return ro},RequestAdapterAxios:function(){return e3},RequestAdapterFetch:function(){return e2},RequestError:function(){return eY},RequestErrorID:function(){return eZ},RequestManager:function(){return e7},RequestScheduler:function(){return e5},RequestTransaction:function(){return e9},RetryPlugin:function(){return eQ},SyncExecutor:function(){return eK},SyncStorage:function(){return ru}});var eB=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};u(this,t);this.config=e;this.plugins=[]}c(t,[{key:"use",value:function t(t){if((typeof t==="undefined"?"undefined":T(t))!="object"||t===null)throw new Error("Plugin must be an object");if(this.plugins.find(function(e){return e===t||e.pluginName===t.pluginName||e.constructor===t.constructor})&&t.onlyOne){console.warn("Plugin ".concat(t.pluginName," is already used, skip adding"));return}this.plugins.push(t)}}]);return t}();var eV=function t(t){p(r,t);var e=H(r);function r(t,o){u(this,r);var i;i=e.call(this,h(o,Error)?o.message:o||t);i.id=t;h(o,Error)&&"stack"in o&&(i.stack=o.stack),Object.setPrototypeOf(n(i),(h(this,r)?this.constructor:void 0).prototype);return i}return r}(N(Error));var eF=function(){function t(){u(this,t)}c(t,[{key:"resetHooksRuntimes",value:function t(t){t.pluginName="",t.hookName="",t.returnValue=void 0,t.returnBreakChain=!1,t.times=0,t.breakChain=!1,t.index=void 0}},{key:"reset",value:function t(t){this.resetHooksRuntimes(t.hooksRuntimes),t.returnValue=void 0,t.error=void 0}},{key:"shouldSkipPluginHook",value:function t(t,e,r){return typeof t[e]!="function"||typeof t.enabled=="function"&&!t.enabled(e,r)}},{key:"runtimes",value:function t(t,e,r,n){t.hooksRuntimes.pluginName=e.pluginName,t.hooksRuntimes.hookName=r,t.hooksRuntimes.times=(t.hooksRuntimes.times||0)+1,t.hooksRuntimes.index=n}},{key:"runtimeReturnValue",value:function t(t,e){t.hooksRuntimes.returnValue=e}},{key:"shouldBreakChain",value:function t(t){var e;return!!((e=t.hooksRuntimes)===null||e===void 0?void 0:e.breakChain)}},{key:"shouldBreakChainOnReturn",value:function t(t){var e;return!!((e=t.hooksRuntimes)===null||e===void 0?void 0:e.returnBreakChain)}},{key:"setError",value:function t(t,e){t.error=e}}]);return t}();var eD=function(t){p(r,t);var e=H(r);function r(){u(this,r);var t;t=e.call.apply(e,[this].concat(Array.prototype.slice.call(arguments)));t.contextHandler=new eF;return t}c(r,[{key:"runHook",value:function t(t,e,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),u=3;u<n;u++){o[u-3]=arguments[u]}var a=this;return i(function(){var n,i,u,s,c,f,v,p,h,y,d,g;return q(this,function(b){switch(b.label){case 0:n=-1,u=r||l({});a.contextHandler.resetHooksRuntimes(u.hooksRuntimes);s=true,c=false,f=undefined;b.label=1;case 1:b.trys.push([1,6,7,8]);v=t[Symbol.iterator]();b.label=2;case 2:if(!!(s=(p=v.next()).done))return[3,5];h=p.value;if(n++,a.contextHandler.shouldSkipPluginHook(h,e,u))return[3,4];if(a.contextHandler.shouldBreakChain(u))return[3,5];a.contextHandler.runtimes(u,h,e,n);return[4,(y=h)[e].apply(y,[u].concat(A(o)))];case 3:d=b.sent();if(d!==void 0&&(i=d,a.contextHandler.runtimeReturnValue(u,d),a.contextHandler.shouldBreakChainOnReturn(u)))return[2,i];b.label=4;case 4:s=true;return[3,2];case 5:return[3,8];case 6:g=b.sent();c=true;f=g;return[3,8];case 7:try{if(!s&&v.return!=null){v.return()}}finally{if(c){throw f}}return[7];case 8:return[2,i]}})})()}},{key:"runHooks",value:function t(t,e,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),u=3;u<n;u++){o[u-3]=arguments[u]}var a=this;return i(function(){var n,i,u,s,c,l,f,v,p,h;return q(this,function(y){switch(y.label){case 0:n=Array.isArray(e)?e:[e];u=true,s=false,c=undefined;y.label=1;case 1:y.trys.push([1,6,7,8]);l=n[Symbol.iterator]();y.label=2;case 2:if(!!(u=(f=l.next()).done))return[3,5];v=f.value;return[4,a.runHook.apply(a,[t,v,r].concat(A(o)))];case 3:p=y.sent();if(p!==void 0&&(i=p),r&&a.contextHandler.shouldBreakChain(r))return[3,5];y.label=4;case 4:u=true;return[3,2];case 5:return[3,8];case 6:h=y.sent();s=true;c=h;return[3,8];case 7:try{if(!u&&l.return!=null){l.return()}}finally{if(s){throw c}}return[7];case 8:return[2,i]}})})()}},{key:"execNoError",value:function t(t,e){var r=this;return i(function(){var n;return q(this,function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);return[4,r.exec(t,e)];case 1:return[2,o.sent()];case 2:n=o.sent();return[2,h(n,eV)?n:new eV("UNKNOWN_ASYNC_ERROR",n)];case 3:return[2]}})})()}},{key:"exec",value:function t(t,e){var r=e||t,n=e?t:void 0;if(typeof r!="function")throw new Error("Task must be a async function!");return this.run(n,r)}},{key:"runExec",value:function t(t,e){var r=this;return i(function(){var n,o,i;return q(this,function(u){switch(u.label){case 0:o=((n=r.config)===null||n===void 0?void 0:n.execHook)||"onExec";return[4,r.runHook(r.plugins,o,t,e)];case 1:u.sent();if(!t.hooksRuntimes.times)return[3,2];i=t.hooksRuntimes.returnValue;return[3,4];case 2:return[4,e(t)];case 3:i=u.sent();u.label=4;case 4:t.returnValue=i;return[2]}})})()}},{key:"run",value:function t(t,e){var r=this;return i(function(){var n,o,i,u,a,s;return q(this,function(c){switch(c.label){case 0:i=l(t),u=((n=r.config)===null||n===void 0?void 0:n.beforeHooks)||"onBefore",a=((o=r.config)===null||o===void 0?void 0:o.afterHooks)||"onSuccess";c.label=1;case 1:c.trys.push([1,5,7,8]);return[4,r.runHooks(r.plugins,u,i)];case 2:c.sent();return[4,r.runExec(i,e)];case 3:c.sent();return[4,r.runHooks(r.plugins,a,i)];case 4:return[2,(c.sent(),i.returnValue)];case 5:s=c.sent();r.contextHandler.setError(i,s);return[4,r.runHook(r.plugins,"onError",i)];case 6:throw c.sent(),i.hooksRuntimes.returnValue&&r.contextHandler.setError(i,i.hooksRuntimes.returnValue),h(i.error,eV)?i.error:new eV("UNKNOWN_ASYNC_ERROR",i.error);case 7:r.contextHandler.reset(i);return[7];case 8:return[2]}})})()}}]);return r}(eB);var eK=function(t){p(r,t);var e=H(r);function r(){u(this,r);var t;t=e.call.apply(e,[this].concat(Array.prototype.slice.call(arguments)));t.contextHandler=new eF;return t}c(r,[{key:"runHook",value:function t(t,e,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),i=3;i<n;i++){o[i-3]=arguments[i]}var u=-1,a,s=r||l({});this.contextHandler.resetHooksRuntimes(s.hooksRuntimes);var c=true,f=false,v=undefined;try{for(var p=t[Symbol.iterator](),h;!(c=(h=p.next()).done);c=true){var y=h.value;var d;if(u++,this.contextHandler.shouldSkipPluginHook(y,e,s))continue;if(this.contextHandler.shouldBreakChain(s))break;this.contextHandler.runtimes(s,y,e,u);var g=(d=y)[e].apply(d,[s].concat(A(o)));if(g!==void 0&&(a=g,this.contextHandler.runtimeReturnValue(s,g),this.contextHandler.shouldBreakChainOnReturn(s)))return a}}catch(t){f=true;v=t}finally{try{if(!c&&p.return!=null){p.return()}}finally{if(f){throw v}}}return a}},{key:"runHooks",value:function t(t,e,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),i=3;i<n;i++){o[i-3]=arguments[i]}var u=Array.isArray(e)?e:[e],a;var s=true,c=false,l=undefined;try{for(var f=u[Symbol.iterator](),v;!(s=(v=f.next()).done);s=true){var p=v.value;var h=this.runHook.apply(this,[t,p,r].concat(A(o)));if(h!==void 0&&(a=h),r&&this.contextHandler.shouldBreakChain(r))break}}catch(t){c=true;l=t}finally{try{if(!s&&f.return!=null){f.return()}}finally{if(c){throw l}}}return a}},{key:"execNoError",value:function t(t,e){try{return this.exec(t,e)}catch(t){return h(t,eV)?t:new eV("UNKNOWN_SYNC_ERROR",t)}}},{key:"exec",value:function t(t,e){var r=e||t,n=e?t:void 0;if(typeof r!="function")throw new Error("Task must be a function!");return this.run(n,r)}},{key:"runExec",value:function t(t,e){var r;var n=((r=this.config)===null||r===void 0?void 0:r.execHook)||"onExec";this.runHook(this.plugins,n,t,e),t.returnValue=t.hooksRuntimes.times?t.hooksRuntimes.returnValue:e(t)}},{key:"run",value:function t(t,e){var r,n;var o=l(t),i=((r=this.config)===null||r===void 0?void 0:r.beforeHooks)||"onBefore",u=((n=this.config)===null||n===void 0?void 0:n.afterHooks)||"onSuccess";try{return this.runHooks(this.plugins,i,o),this.runExec(o,e),this.runHooks(this.plugins,u,o),o.returnValue}catch(t){throw this.contextHandler.setError(o,t),this.runHook(this.plugins,"onError",o),o.hooksRuntimes.returnValue&&this.contextHandler.setError(o,o.hooksRuntimes.returnValue),h(o.error,eV)?o.error:new eV("UNKNOWN_SYNC_ERROR",o.error)}finally{this.contextHandler.reset(o)}}}]);return r}(eB);var eM="ABORT_ERROR",eL=function(t){p(r,t);var e=H(r);function r(t,n,o){u(this,r);var i;i=e.call(this,eM,t),i.abortId=n,i.timeout=o;return R(i)}c(r,[{key:"isTimeout",value:function t(){return this.timeout!==void 0&&this.timeout>0}},{key:"getDescription",value:function t(){var t=[];return this.abortId&&t.push("Request: ".concat(this.abortId)),this.isTimeout()&&t.push("Timeout: ".concat(this.timeout,"ms")),t.length>0?"".concat(this.message," (").concat(t.join(", "),")"):this.message}}]);return r}(eV),e$=function(){function t(e){u(this,t);this.pluginName="AbortPlugin";this.onlyOne=!0;this.requestCounter=0;this.controllers=new Map;this.timeouts=new Map;this.getConfig=(e===null||e===void 0?void 0:e.getConfig)||function(t){return t},this.logger=e===null||e===void 0?void 0:e.logger}c(t,[{key:"generateRequestKey",value:function t(t){var e=t.requestId,r=t.id;return e||r||"".concat(this.pluginName,"-").concat(++this.requestCounter)}},{key:"cleanup",value:function t(t){var e=typeof t=="string"?t:this.generateRequestKey(t),r=this.controllers.has(e),n=this.timeouts.has(e);if(r||n){var o;this.controllers.delete(e);var i=this.timeouts.get(e);i&&(clearTimeout(i),this.timeouts.delete(e)),(o=this.logger)===null||o===void 0?void 0:o.debug("[".concat(this.pluginName,"] cleanup: ").concat(e))}}},{key:"onBefore",value:function t(t){var e=this;var r;var n=this.getConfig(t.parameters),o=this.generateRequestKey(n),i=n.abortTimeout;if(this.controllers.has(o)&&((r=this.logger)===null||r===void 0?void 0:r.debug("[".concat(this.pluginName,"] aborting previous request: ").concat(o)),this.abort(o)),!n.signal){var u=new AbortController;if(this.controllers.set(o,u),n.signal=u.signal,i&&i>0){var a=setTimeout(function(){var t;var r=e.controllers.get(o);r&&(r.abort(new eL("The operation was aborted due to timeout",o,i)),(t=e.logger)===null||t===void 0?void 0:t.info("[".concat(e.pluginName,"] timeout abort: ").concat(o," (").concat(i,"ms)")),e.cleanup(o),typeof n.onAborted=="function"&&n.onAborted(O(x({},n),{onAborted:void 0})))},i);this.timeouts.set(o,a)}}}},{key:"onSuccess",value:function t(t){var e=t.parameters;if(e){var r=this.getConfig(e),n=this.generateRequestKey(r);this.cleanup(n)}}},{key:"onError",value:function e(e){var r=e.error,n=e.parameters;if(!n)return;var o=this.getConfig(n),i=this.generateRequestKey(o);if(t.isAbortError(r)){var u;var a=(u=this.controllers.get(i))===null||u===void 0?void 0:u.signal.reason;return this.cleanup(i),h(a,eL)?a:new eL((a===null||a===void 0?void 0:a.message)||(r===null||r===void 0?void 0:r.message)||"The operation was aborted",i)}else this.cleanup(i)}},{key:"abort",value:function t(t){var e;var r=typeof t=="string"?t:this.generateRequestKey(t),n=this.controllers.get(r);return n?(n.abort(new eL("The operation was aborted",r)),(e=this.logger)===null||e===void 0?void 0:e.info("[".concat(this.pluginName,"] manual abort: ").concat(r)),this.cleanup(r),typeof t!="string"&&typeof t.onAborted=="function"&&t.onAborted(O(x({},t),{onAborted:void 0})),!0):!1}},{key:"abortAll",value:function t(){var t;var e=this.controllers.size;e>0&&((t=this.logger)===null||t===void 0?void 0:t.debug("[".concat(this.pluginName,"] aborting all ").concat(e," requests"))),this.controllers.forEach(function(t,e){t.abort(new eL("All operations were aborted",e))}),this.controllers.clear(),this.timeouts.forEach(function(t){clearTimeout(t)}),this.timeouts.clear()}},{key:"createAbortPromise",value:function t(t){var e=function(){};return{promise:new Promise(function(r,n){if(t.aborted){n(t.reason||new eL("The operation was aborted"));return}var o=function(){n(t.reason||new eL("The operation was aborted"))};t.addEventListener("abort",o),e=function(){t.removeEventListener("abort",o)}}),cleanup:e}}},{key:"raceWithAbort",value:function t(t,e){if(!e)return t;var r=this.createAbortPromise(e),n=r.promise,o=r.cleanup;return Promise.race([t,n]).finally(function(){o()})}}],[{key:"isAbortError",value:function t(t){return h(t,eL)||h(t,Error)&&t.name==="AbortError"||h(t,eV)&&(t===null||t===void 0?void 0:t.id)===eM||h(t,DOMException)&&t.name==="AbortError"||h(t,Event)&&t.type==="abort"}}]);return t}();var eW=16,eJ=3,eG=function(){return!0},eQ=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};u(this,t);this.pluginName="RetryPlugin";this.onlyOne=!0;var r;this.options=O(x({retryDelay:1e3,useExponentialBackoff:!1,shouldRetry:eG},e),{maxRetries:Math.min(Math.max(1,(r=e.maxRetries)!==null&&r!==void 0?r:eJ),eW)})}c(t,[{key:"delay",value:function t(t){var e=this;return i(function(){var r;return q(this,function(n){r=e.options.useExponentialBackoff?e.options.retryDelay*Math.pow(2,t):e.options.retryDelay;return[2,new Promise(function(t){return setTimeout(t,r)})]})})()}},{key:"onExec",value:function t(t,e){var r=this;return i(function(){return q(this,function(n){return[2,r.options.maxRetries<1?e(t):r.retry(e,t,r.options,r.options.maxRetries)]})})()}},{key:"shouldRetry",value:function t(t){var e=t.error,r=t.retryCount;return r>0&&this.options.shouldRetry(e)}},{key:"retry",value:function t(t,e,r,n){var o=this;return i(function(){var i;return q(this,function(u){switch(u.label){case 0:u.trys.push([0,2,,4]);return[4,t(e)];case 1:return[2,u.sent()];case 2:i=u.sent();if(!o.shouldRetry({error:i,retryCount:n}))throw new eV("RETRY_ERROR","All ".concat(r.maxRetries," attempts failed: ").concat(i.message));return[4,o.delay(r.maxRetries-n)];case 3:return[2,(u.sent(),n--,o.retry(t,e,r,n))];case 4:return[2]}})})()}}]);return t}();var eY=function(t){p(r,t);var e=H(r);function r(){u(this,r);return e.apply(this,arguments)}return r}(eV),eZ=function(t){return t.REQUEST_ERROR="REQUEST_ERROR",t.ENV_FETCH_NOT_SUPPORT="ENV_FETCH_NOT_SUPPORT",t.FETCHER_NONE="FETCHER_NONE",t.RESPONSE_NOT_OK="RESPONSE_NOT_OK",t.ABORT_ERROR="ABORT_ERROR",t.URL_NONE="URL_NONE",t}(eZ||{});var eX=C(eh(),1),e0=C(ez(),1),e1=["cache","credentials","headers","integrity","keepalive","mode","priority","redirect","referrer","referrerPolicy","signal"],e2=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};u(this,t);if(!e.fetcher){if(typeof fetch!="function")throw new eV("ENV_FETCH_NOT_SUPPORT");e.fetcher=fetch}this.executor=new eD,this.config=e}c(t,[{key:"getConfig",value:function t(){return this.config}},{key:"setConfig",value:function t(t){Object.assign(this.config,t)}},{key:"usePlugin",value:function t(t){this.executor.use(t)}},{key:"request",value:function t(t){var e=this;return i(function(){var r,n,o,u,a;return q(this,function(s){r=e.getConfig(),n=(0,eX.default)({},r,t),o=n.fetcher,u=_(n,["fetcher"]);if(typeof o!="function")throw new eV("FETCHER_NONE");if(!u.url)throw new eV("URL_NONE");a=function(){var t=i(function(t){var r;return q(this,function(n){switch(n.label){case 0:return[4,o(e.parametersToRequest(t.parameters))];case 1:r=n.sent();return[2,e.toAdapterResponse(r,r,t.parameters)]}})});return function e(e){return t.apply(this,arguments)}}();return[2,e.executor.exec(u,a)]})})()}},{key:"parametersToRequest",value:function t(t){var e=t.url,r=e===void 0?"/":e,n=t.method,o=n===void 0?"GET":n,i=t.data,u=(0,e0.default)(t,e1);return new Request(r,Object.assign(u,{body:i,method:o.toUpperCase()}))}},{key:"toAdapterResponse",value:function t(t,e,r){return{data:t,status:e.status,statusText:e.statusText,headers:this.getResponseHeaders(e),config:r,response:e}}},{key:"getResponseHeaders",value:function t(t){var e={};return t.headers.forEach(function(t,r){e[r]=t}),e}}]);return t}();var e3=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};u(this,t);this.config=r;this.axiosInstance=e.create(r)}c(t,[{key:"getConfig",value:function t(){return this.config}},{key:"setConfig",value:function t(t){Object.assign(this.config,t)}},{key:"request",value:function t(t){var e=this;return i(function(){return q(this,function(r){return[2,e.axiosInstance.request(t)]})})()}}]);return t}();var e4=function(){function t(){u(this,t);this.pluginName="FetchAbortPlugin";this.onlyOne=!0;this.controllers=new Map}c(t,[{key:"generateRequestKey",value:function t(t){if(t.requestId)return t.requestId;var e=t.params?JSON.stringify(t.params):"",r=t.body?JSON.stringify(t.body):"";return"".concat(t.method||"GET","-").concat(t.url,"-").concat(e,"-").concat(r)}},{key:"onBefore",value:function t(t){var e=this.generateRequestKey(t.parameters);if(this.controllers.has(e)&&this.abort(t.parameters),!t.parameters.signal){var r=new AbortController;this.controllers.set(e,r),t.parameters.signal=r.signal}}},{key:"onSuccess",value:function t(t){var e=t.parameters;e&&this.controllers.delete(this.generateRequestKey(e))}},{key:"onError",value:function t(t){var e=t.error,r=t.parameters;if(this.isSameAbortError(e)&&r){var n=this.generateRequestKey(r),o=this.controllers.get(n);return this.controllers.delete(n),new eY("ABORT_ERROR",(o===null||o===void 0?void 0:o.signal.reason)||e)}}},{key:"isSameAbortError",value:function t(t){return h(t,Error)&&t.name==="AbortError"||h(t,DOMException)&&t.name==="AbortError"||h(t,Event)&&t.type==="abort"}},{key:"abort",value:function t(t){var e=typeof t=="string"?t:this.generateRequestKey(t),r=this.controllers.get(e);r&&(r.abort(new eY("ABORT_ERROR","The operation was aborted")),this.controllers.delete(e),typeof t!="string"&&typeof t.onAbort=="function"&&t.onAbort.call(t,t))}},{key:"abortAll",value:function t(){this.controllers.forEach(function(t){return t.abort()}),this.controllers.clear()}}]);return t}();var e6=function(){function t(){u(this,t);this.pluginName="FetchURLPlugin"}c(t,[{key:"isFullURL",value:function t(t){return t.startsWith("http://")||t.startsWith("https://")}},{key:"appendQueryParams",value:function t(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var r=j(t.split("?"),2),n=r[0],o=r[1],i=o===void 0?"":o;i.split("&").forEach(function(t){var r=j(t.split("="),2),n=r[0],o=r[1];n&&o&&(e[n]=o)});var u=Object.entries(e).map(function(t){var e=j(t,2),r=e[0],n=e[1];return"".concat(r,"=").concat(n)}).join("&");return[n,u].join("?")}},{key:"connectBaseURL",value:function t(t,e){return"".concat(e,"/").concat(t)}},{key:"buildUrl",value:function t(t){var e=t.url,r=e===void 0?"":e,n=t.baseURL,o=n===void 0?"":n,i=t.params;if(!this.isFullURL(r)){var u=r.startsWith("/")?r.slice(1):r,a=o.endsWith("/")?o.slice(0,-1):o;r=this.connectBaseURL(u,a)}return i&&Object.keys(i).length>0&&(r=this.appendQueryParams(r,i)),r}},{key:"onBefore",value:function t(t){var e=t.parameters;e.url=this.buildUrl(e)}},{key:"onSuccess",value:function t(t){var e=t.returnValue;var r=e;if(!r.response.ok){var n=new eY("RESPONSE_NOT_OK","Request failed with status: ".concat(r.status," ").concat(r.statusText));throw n.response=r.response,n}}},{key:"onError",value:function t(t){var e=t.error;return h(e,eY)?e:new eY("REQUEST_ERROR",e)}}]);return t}();var e8=C(eh(),1),e7=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new eD;u(this,t);this.adapter=e;this.executor=r}c(t,[{key:"usePlugin",value:function t(t){var e=this;return Array.isArray(t)?t.forEach(function(t){return e.executor.use(t)}):this.executor.use(t),this}},{key:"request",value:function t(t){var e=this;var r=(0,e8.default)({},this.adapter.getConfig(),t);return this.executor.exec(r,function(t){return e.adapter.request(t.parameters)})}}]);return t}();var e5=function(t){p(r,t);var e=H(r);function r(){u(this,r);return e.apply(this,arguments)}c(r,[{key:"request",value:function t(t){return f(v(r.prototype),"request",this).call(this,t)}},{key:"get",value:function t(t,e){var r=this;return i(function(){return q(this,function(n){return[2,r.request(O(x({url:t},e),{method:"GET"}))]})})()}},{key:"post",value:function t(t,e){var r=this;return i(function(){return q(this,function(n){return[2,r.request(O(x({url:t},e),{method:"POST"}))]})})()}},{key:"put",value:function t(t,e){var r=this;return i(function(){return q(this,function(n){return[2,r.request(O(x({url:t},e),{method:"PUT"}))]})})()}},{key:"delete",value:function t(t,e){var r=this;return i(function(){return q(this,function(n){return[2,r.request(O(x({url:t},e),{method:"DELETE"}))]})})()}},{key:"patch",value:function t(t,e){var r=this;return i(function(){return q(this,function(n){return[2,r.request(O(x({url:t},e),{method:"PATCH"}))]})})()}},{key:"head",value:function t(t,e){var r=this;return i(function(){return q(this,function(n){return[2,r.request(O(x({url:t},e),{method:"HEAD"}))]})})()}},{key:"options",value:function t(t,e){var r=this;return i(function(){return q(this,function(n){return[2,r.request(O(x({url:t},e),{method:"OPTIONS"}))]})})()}},{key:"trace",value:function t(t,e){var r=this;return i(function(){return q(this,function(n){return[2,r.request(O(x({url:t},e),{method:"TRACE"}))]})})()}},{key:"connect",value:function t(t,e){var r=this;return i(function(){return q(this,function(n){return[2,r.request(O(x({url:t},e),{method:"CONNECT"}))]})})()}}]);return r}(e7);var e9=function(t){p(r,t);var e=H(r);function r(){u(this,r);return e.apply(this,arguments)}c(r,[{key:"request",value:function t(t){return f(v(r.prototype),"request",this).call(this,t)}},{key:"get",value:function t(t,e){return this.request(O(x({},e),{url:t,method:"GET"}))}},{key:"post",value:function t(t,e,r){return this.request(O(x({},r),{url:t,method:"POST",data:e}))}},{key:"put",value:function t(t,e,r){return this.request(O(x({},r),{url:t,method:"PUT",data:e}))}},{key:"delete",value:function t(t,e){return this.request(O(x({},e),{url:t,method:"DELETE"}))}},{key:"patch",value:function t(t,e,r){return this.request(O(x({},r),{url:t,method:"PATCH",data:e}))}}]);return r}(e7);var rt;rt=Symbol.toStringTag;var re=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};u(this,t);this.options=e;this[rt]="JSONSerializer"}c(t,[{key:"createReplacer",value:function t(t){return Array.isArray(t)?t:t===null?function(t,e){return typeof e=="string"?e.replace(/\r\n/g,"\n"):e}:typeof t=="function"?function(e,r){var n=typeof r=="string"?r.replace(/\r\n/g,"\n"):r;return t.call(this,e,n)}:function(t,e){return typeof e=="string"?e.replace(/\r\n/g,"\n"):e}}},{key:"stringify",value:function t(t,e,r){try{var n=this.createReplacer(e);return Array.isArray(n)?JSON.stringify(t,n,r):JSON.stringify(t,n,r!==null&&r!==void 0?r:this.options.pretty?this.options.indent||2:void 0)}catch(t){throw h(t,TypeError)&&t.message.includes("circular")?new TypeError("Cannot stringify data with circular references"):t}}},{key:"parse",value:function t(t,e){return JSON.parse(t,e)}},{key:"serialize",value:function t(t){return this.stringify(t,this.options.replacer||null,this.options.pretty?this.options.indent||2:void 0)}},{key:"deserialize",value:function t(t,e){try{return this.parse(t)}catch(t){return e}}},{key:"serializeArray",value:function t(t){return"["+t.map(function(t){return JSON.stringify(t)}).join(",")+"]"}}]);return t}();var rr=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};u(this,t);this.options=e}c(t,[{key:"isNodeEnvironment",value:function t(){return(typeof process==="undefined"?"undefined":T(process))<"u"&&process.versions&&!!process.versions.node}},{key:"isValidBase64",value:function t(t){try{if(!/^[A-Za-z0-9+/\-_]*={0,2}$/.test(t))return!1;var e=this.options.urlSafe?this.makeUrlUnsafe(t):t;return e.length%4!==0?!1:(this.isNodeEnvironment()?Buffer.from(e,"base64").toString("utf8"):atob(e),!0)}catch(t){return!1}}},{key:"serialize",value:function t(t){try{var e;if(this.isNodeEnvironment())e=Buffer.from(t,"utf8").toString("base64");else{var r=new TextEncoder().encode(t),n=Array.from(r,function(t){return String.fromCharCode(t)}).join("");e=btoa(n)}return this.options.urlSafe?this.makeUrlSafe(e):e}catch(t){return""}}},{key:"deserialize",value:function t(t,e){try{if(typeof t!="string")return e!==null&&e!==void 0?e:"";if(t.length===0)return"";if(!this.isValidBase64(t))return e!==null&&e!==void 0?e:"";var r=t;if(this.options.urlSafe&&(r=this.makeUrlUnsafe(t)),this.isNodeEnvironment())return Buffer.from(r,"base64").toString("utf8");{var n=atob(r),o=new Uint8Array(n.length);for(var i=0;i<n.length;i++)o[i]=n.charCodeAt(i);return new TextDecoder().decode(o)}}catch(t){return e!==null&&e!==void 0?e:""}}},{key:"makeUrlSafe",value:function t(t){return t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}},{key:"makeUrlUnsafe",value:function t(t){for(t=t.replace(/-/g,"+").replace(/_/g,"/");t.length%4;)t+="=";return t}}]);return t}();var rn=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};u(this,t);this.key=e;this.options=r;try{var n;var o=(n=r.storage)===null||n===void 0?void 0:n.getItem(e);this.value=o!==null&&o!==void 0?o:null}catch(t){this.value=null}}c(t,[{key:"mergeOptions",value:function t(t){return x({},this.options,t)}},{key:"getKey",value:function t(){return this.key}},{key:"getValue",value:function t(){return this.value}},{key:"get",value:function t(t){var e=this.mergeOptions(t),r=e.storage,n=_(e,["storage"]);if(this.value!=null)return this.value;if(r){var o=r.getItem(this.key,void 0,n);return o==null?(this.remove(),null):(this.value=o,o)}return this.value}},{key:"set",value:function t(t,e){var r=this.mergeOptions(e),n=r.storage,o=_(r,["storage"]);this.value=t,n&&n.setItem(this.key,t,o)}},{key:"remove",value:function t(t){var e=this.mergeOptions(t),r=e.storage,n=_(e,["storage"]);this.value=null,r===null||r===void 0?void 0:r.removeItem(this.key,n)}}]);return t}();var ro=function(){function t(e){u(this,t);this.serializer=e;this.store=new Map}c(t,[{key:"length",get:function t(){return this.store.size}},{key:"setItem",value:function t(t,e,r){var n={key:t,value:e!==null&&e!==void 0?e:null};typeof(r===null||r===void 0?void 0:r.expires)=="number"&&r.expires>0&&(n.expires=r.expires);var o=this.serializer?this.serializer.serialize(n):n;return this.store.set(t,o),o}},{key:"getItem",value:function t(t,e){var r=this.store.get(t),n=e!==null&&e!==void 0?e:null;if(!r)return n;var o=this.serializer?this.serializer.deserialize(r,n):r;return this.getRawValue(o,n)}},{key:"getRawValue",value:function t(t,e){var r,n;return this.isStorageValue(t)?this.isExpired(t)?(this.removeItem(t.key),e!==null&&e!==void 0?e:null):(r=t===null||t===void 0?void 0:t.value)!==null&&r!==void 0?r:e:(n=t!==null&&t!==void 0?t:e)!==null&&n!==void 0?n:null}},{key:"removeItem",value:function t(t){this.store.delete(t)}},{key:"clear",value:function t(){this.store.clear()}},{key:"isExpired",value:function t(t){return typeof t.expires=="number"&&t.expires<Date.now()&&t.expires>0}},{key:"isStorageValue",value:function t(t){return(typeof t==="undefined"?"undefined":T(t))=="object"&&t!==null&&"key"in t&&"value"in t}},{key:"getSerializer",value:function t(){return this.serializer}}]);return t}();var ri={setItem:{serialize:function(e,r){return(t=e).serialize.apply(t,A(r))},encrypt:function(t,r){return(e=t).encrypt.apply(e,A(r))},storage:function(t,e){return(r=t).setItem.apply(r,A(e))}},getItem:{serialize:function(t,e){return(o=t).deserialize.apply(o,A(e))},encrypt:function(t,e){return(a=t).decrypt.apply(a,A(e))},storage:function(t,e){return(s=t).getItem.apply(s,A(e))}}},ru=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];u(this,t);this.storage=e;this.pipes=(Array.isArray(r)?r:[r]).map(function(t){return y(t)}).filter(function(t){return t!=null})}c(t,[{key:"length",get:function t(){return this.storage.length}},{key:"setItem",value:function t(t,e,r){var n=e;var o=true,i=false,u=undefined;try{for(var a=this.pipes[Symbol.iterator](),s;!(o=(s=a.next()).done);o=true){var c=s.value;var l=c.type,f=c.pipe;if(l==="storage")f.setItem(t,n,r);else{var v=ri.setItem[l](f,[n]);v!=null&&(n=v)}}}catch(t){i=true;u=t}finally{try{if(!o&&a.return!=null){a.return()}}finally{if(i){throw u}}}this.storage.setItem(t,n,r)}},{key:"getItem",value:function t(t,e,r){var n=this.storage.getItem(t,e,r);if(n==null){var o=A(this.pipes).reverse();var i=true,u=false,a=undefined;try{for(var s=o[Symbol.iterator](),c;!(i=(c=s.next()).done);i=true){var l=c.value;var f=l.type,v=l.pipe;if(f!=="storage")continue;var p=ri.getItem[f](v,[t,n,r]);if(p!=null){n=p;break}}}catch(t){u=true;a=t}finally{try{if(!i&&s.return!=null){s.return()}}finally{if(u){throw a}}}}if(n==null)return e!==null&&e!==void 0?e:null;var h=A(this.pipes).reverse();var y=true,d=false,g=undefined;try{for(var b=h[Symbol.iterator](),m;!(y=(m=b.next()).done);y=true){var x=m.value;var k=x.type,O=x.pipe;k!=="storage"&&(n=ri.getItem[k](O,[n]))}}catch(t){d=true;g=t}finally{try{if(!y&&b.return!=null){b.return()}}finally{if(d){throw g}}}return n!==null&&this.storage.getRawValue&&(n=this.storage.getRawValue(n,r)),n!==null&&n!==void 0?n:null}},{key:"removeItem",value:function t(t,e){this.storage.removeItem(t,e),this.pipes.filter(function(t){return t.type==="storage"}).forEach(function(r){r.pipe.removeItem(t,e)})}},{key:"clear",value:function t(){this.storage.clear(),this.pipes.filter(function(t){return t.type==="storage"}).forEach(function(t){t.pipe.clear()})}}]);return t}();return I(eU)}();
|
|
1
|
+
"use strict";function e(e,r){if(r==null||r>e.length)r=e.length;for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function r(e){if(Array.isArray(e))return e}function t(r){if(Array.isArray(r))return e(r)}function n(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function o(e,r,t,n,o,a,u){try{var i=e[a](u);var s=i.value}catch(e){t(e);return}if(i.done){r(s)}else{Promise.resolve(s).then(n,o)}}function a(e){return function(){var r=this,t=arguments;return new Promise(function(n,a){var u=e.apply(r,t);function i(e){o(u,n,a,i,s,"next",e)}function s(e){o(u,n,a,i,s,"throw",e)}i(undefined)})}}function u(e,r){if(!(e instanceof r)){throw new TypeError("Cannot call a class as a function")}}function i(e,r,t){if(C()){i=Reflect.construct}else{i=function e(e,r,t){var n=[null];n.push.apply(n,r);var o=Function.bind.apply(e,n);var a=new o;if(t)_(a,t.prototype);return a}}return i.apply(null,arguments)}function s(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function c(e,r,t){if(r)s(e.prototype,r);if(t)s(e,t);return e}function l(e,r,t){if(r in e){Object.defineProperty(e,r,{value:t,enumerable:true,configurable:true,writable:true})}else{e[r]=t}return e}function f(e){f=Object.setPrototypeOf?Object.getPrototypeOf:function e(e){return e.__proto__||Object.getPrototypeOf(e)};return f(e)}function v(e,r){if(typeof r!=="function"&&r!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:true,configurable:true}});if(r)_(e,r)}function h(e,r){if(r!=null&&typeof Symbol!=="undefined"&&r[Symbol.hasInstance]){return!!r[Symbol.hasInstance](e)}else{return e instanceof r}}function p(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function d(e){if(typeof Symbol!=="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function y(e,r){var t=e==null?null:typeof Symbol!=="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(t==null)return;var n=[];var o=true;var a=false;var u,i;try{for(t=t.call(e);!(o=(u=t.next()).done);o=true){n.push(u.value);if(r&&n.length===r)break}}catch(e){a=true;i=e}finally{try{if(!o&&t["return"]!=null)t["return"]()}finally{if(a)throw i}}return n}function b(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(){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 m(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};var n=Object.keys(t);if(typeof Object.getOwnPropertySymbols==="function"){n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))}n.forEach(function(r){l(e,r,t[r])})}return e}function k(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);if(r){n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})}t.push.apply(t,n)}return t}function w(e,r){r=r!=null?r:{};if(Object.getOwnPropertyDescriptors){Object.defineProperties(e,Object.getOwnPropertyDescriptors(r))}else{k(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function j(e,r){if(e==null)return{};var t=O(e,r);var n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++){n=a[o];if(r.indexOf(n)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(e,n))continue;t[n]=e[n]}}return t}function O(e,r){if(e==null)return{};var t={};var n=Object.keys(e);var o,a;for(a=0;a<n.length;a++){o=n[a];if(r.indexOf(o)>=0)continue;t[o]=e[o]}return t}function E(e,r){if(r&&(S(r)==="object"||typeof r==="function")){return r}return n(e)}function _(e,r){_=Object.setPrototypeOf||function e(e,r){e.__proto__=r;return e};return _(e,r)}function A(e,t){return r(e)||y(e,t)||x(e,t)||b()}function R(e){return t(e)||d(e)||x(e)||g()}function S(e){"@swc/helpers - typeof";return e&&typeof Symbol!=="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x(r,t){if(!r)return;if(typeof r==="string")return e(r,t);var n=Object.prototype.toString.call(r).slice(8,-1);if(n==="Object"&&r.constructor)n=r.constructor.name;if(n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(r,t)}function P(e){var r=typeof Map==="function"?new Map:undefined;P=function e(e){if(e===null||!p(e))return e;if(typeof e!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof r!=="undefined"){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return i(e,arguments,f(this).constructor)}t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:false,writable:true,configurable:true}});return _(t,e)};return P(e)}function C(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function T(e){var r=C();return function t(){var t=f(e),n;if(r){var o=f(this).constructor;n=Reflect.construct(t,arguments,o)}else{n=t.apply(this,arguments)}return E(this,n)}}function I(e,r){var t,n,o,a,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),"throw":i(1),"return":i(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(e){return function(r){return s([e,r])}}function s(a){if(t)throw new TypeError("Generator is already executing.");while(u)try{if(t=1,n&&(o=a[0]&2?n["return"]:a[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;if(n=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:u.label++;return{value:a[1],done:false};case 5:u.label++;n=a[1];a=[0];continue;case 7:a=u.ops.pop();u.trys.pop();continue;default:if(!(o=u.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1];o=a;break}if(o&&u.label<o[2]){u.label=o[2];u.ops.push(a);break}if(o[2])u.ops.pop();u.trys.pop();continue}a=r.call(e,u)}catch(e){a=[6,e];n=0}finally{t=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}}var qloverFeCorekit=function(){var e,r,t,n,o,i;var s=function e(e){var r=r0.call(e,r3),t=e[r3];try{e[r3]=void 0;var n=!0}catch(e){}var o=r1.call(e);return n&&(r?e[r3]=t:delete e[r3]),o};var f=function e(e){return r6.call(e)};var p=function e(e){return e==null?e===void 0?r7:r8:r9&&r9 in Object(e)?r2(e):r5(e)};var d=function e(e){return e!=null&&(typeof e==="undefined"?"undefined":S(e))=="object"};var y=function e(e){return(typeof e==="undefined"?"undefined":S(e))=="symbol"||tr(e)&&te(e)==tt};var b=function e(e,r){for(var t=-1,n=e==null?0:e.length,o=Array(n);++t<n;)o[t]=r(e[t],t,e);return o};var g=function e(e){var r=typeof e==="undefined"?"undefined":S(e);return e!=null&&(r=="object"||r=="function")};var k=function e(e){return e};var O=function e(e){if(!tv(e))return!1;var r=te(e);return r==td||r==ty||r==tp||r==tb};var E=function e(e){return!!tw&&tw in e};var _=function e(e){if(e!=null){try{return tE.call(e)}catch(e){}try{return e+""}catch(e){}}return""};var x=function e(e){if(!tv(e)||tj(e))return!1;var r=tg(e)?tT:tR;return r.test(t_(e))};var C=function e(e,r){return e===null||e===void 0?void 0:e[r]};var N=function e(e,r){var t=tN(e,r);return tI(t)?t:void 0};var H=function e(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)};var U=function e(e,r){var t=-1,n=e.length;for(r||(r=Array(n));++t<n;)r[t]=e[t];return r};var z=function e(e){var r=0,t=0;return function(){var n=tK(),o=tM-(n-t);if(t=n,o>0){if(++r>=tq)return arguments[0]}else r=0;return e.apply(void 0,arguments)}};var D=function e(e){return function(){return e}};var F=function e(e,r){for(var t=-1,n=e==null?0:e.length;++t<n&&r(e[t],t,e)!==!1;);return e};var B=function e(e,r){var t=typeof e==="undefined"?"undefined":S(e);return r=r!==null&&r!==void 0?r:t1,!!r&&(t=="number"||t!="symbol"&&t3.test(e))&&e>-1&&e%1==0&&e<r};var L=function e(e,r,t){r=="__proto__"&&tJ?tJ(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[r]=t};var V=function e(e,r){return e===r||e!==e&&r!==r};var q=function e(e,r,t){var n=e[r];(!(t8.call(e,r)&&t6(n,t))||t===void 0&&!(r in e))&&t4(e,r,t)};var M=function e(e,r,t,n){var o=!t;t||(t={});for(var a=-1,u=r.length;++a<u;){var i=r[a],s=n?n(t[i],e[i],i,t,e):void 0;s===void 0&&(s=e[i]),o?t4(t,i,s):t7(t,i,s)}return t};var K=function e(e,r,t){return r=ne(r===void 0?e.length-1:r,0),function(){for(var n=arguments,o=-1,a=ne(n.length-r,0),u=Array(a);++o<a;)u[o]=n[r+o];o=-1;for(var i=Array(r+1);++o<r;)i[o]=n[o];return i[r]=t(u),tL(e,this,i)}};var W=function e(e,r){return tQ(nr(e,r,th),e+"")};var $=function e(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=nn};var G=function e(e){return e!=null&&no(e.length)&&!tg(e)};var J=function e(e,r,t){if(!tv(t))return!1;var n=typeof r==="undefined"?"undefined":S(r);return(n=="number"?na(t)&&t2(r,t.length):n=="string"&&r in t)?t6(t[r],e):!1};var Y=function e(e){return nt(function(r,t){var n=-1,o=t.length,a=o>1?t[o-1]:void 0,u=o>2?t[2]:void 0;for(a=e.length>3&&typeof a=="function"?(o--,a):void 0,u&&nu(t[0],t[1],u)&&(a=o<3?void 0:a,o=1),r=Object(r);++n<o;){var i=t[n];i&&e(r,i,n,a)}return r})};var X=function e(e){var r=e&&e.constructor,t=typeof r=="function"&&r.prototype||ns;return e===t};var Z=function e(e,r){for(var t=-1,n=Array(e);++t<e;)n[t]=r(t);return n};var Q=function e(e){return tr(e)&&te(e)==nf};var ee=function e(){return!1};var er=function e(e){return tr(e)&&no(e.length)&&!!nY[te(e)]};var et=function e(e){return function(r){return e(r)}};var en=function e(e,r){var t=tu(e),n=!t&&nb(e),o=!t&&!n&&n_(e),a=!t&&!n&&!o&&n8(e),u=t||n||o||a,i=u?nl(e.length,String):[],s=i.length;for(var c in e)(r||n9.call(e,c))&&!(u&&(c=="length"||o&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||t2(c,s)))&&i.push(c);return i};var eo=function e(e,r){return function(t){return e(r(t))}};var ea=function e(e){if(!nc(e))return on(e);var r=[];for(var t in Object(e))oa.call(e,t)&&t!="constructor"&&r.push(t);return r};var eu=function e(e){return na(e)?oe(e):ou(e)};var ei=function e(e){var r=[];if(e!=null)for(var t in Object(e))r.push(t);return r};var es=function e(e){if(!tv(e))return os(e);var r=nc(e),t=[];for(var n in e)n=="constructor"&&(r||!ol.call(e,n))||t.push(n);return t};var ec=function e(e){return na(e)?oe(e,!0):of(e)};var el=function e(e,r){if(tu(e))return!1;var t=typeof e==="undefined"?"undefined":S(e);return t=="number"||t=="symbol"||t=="boolean"||e==null||tn(e)?!0:op.test(e)||!oh.test(e)||r!=null&&e in Object(r)};var ef=function e(){this.__data__=ob?ob(null):{},this.size=0};var ev=function e(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r};var eh=function e(e){var r=this.__data__;if(ob){var t=r[e];return t===ok?void 0:t}return oj.call(r,e)?r[e]:void 0};var ep=function e(e){var r=this.__data__;return ob?r[e]!==void 0:o_.call(r,e)};var ed=function e(e,r){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=ob&&r===void 0?oR:r,this};var ey=function e(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}};var eb=function e(){this.__data__=[],this.size=0};var eg=function e(e,r){for(var t=e.length;t--;)if(t6(e[t][0],r))return t;return-1};var em=function e(e){var r=this.__data__,t=oC(r,e);if(t<0)return!1;var n=r.length-1;return t==n?r.pop():oI.call(r,t,1),--this.size,!0};var ek=function e(e){var r=this.__data__,t=oC(r,e);return t<0?void 0:r[t][1]};var ew=function e(e){return oC(this.__data__,e)>-1};var ej=function e(e,r){var t=this.__data__,n=oC(t,e);return n<0?(++this.size,t.push([e,r])):t[n][1]=r,this};var eO=function e(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}};var eE=function e(){this.size=0,this.__data__={hash:new ox,map:new(oB||oD),string:new ox}};var e_=function e(e){var r=typeof e==="undefined"?"undefined":S(e);return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null};var eA=function e(e,r){var t=e.__data__;return oV(r)?t[typeof r=="string"?"string":"hash"]:t.map};var eR=function e(e){var r=oq(this,e).delete(e);return this.size-=r?1:0,r};var eS=function e(e){return oq(this,e).get(e)};var ex=function e(e){return oq(this,e).has(e)};var eP=function e(e,r){var t=oq(this,e),n=t.size;return t.set(e,r),this.size+=t.size==n?0:1,this};var eC=function e(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r<t;){var n=e[r];this.set(n[0],n[1])}};var eT=function e(e){var r=oX(e,function(e){return t.size===oZ&&t.clear(),e}),t=r.cache;return r};var eI=function e(e){return e==null?"":tf(e)};var eN=function e(e,r){return tu(e)?e:od(e,r)?[e]:o2(o4(e))};var eH=function e(e){if(typeof e=="string"||tn(e))return e;var r=e+"";return r=="0"&&1/e==-o5?"-0":r};var eU=function e(e,r){r=o6(r,e);for(var t=0,n=r.length;e!=null&&t<n;)e=e[o8(r[t++])];return t&&t==n?e:void 0};var ez=function e(e,r){for(var t=-1,n=r.length,o=e.length;++t<n;)e[o+t]=r[t];return e};var eD=function e(e){return tu(e)||nb(e)||!!(ae&&e&&e[ae])};var eF=function e(e){var r=e==null?0:e.length;return r?an(e,1):[]};var eB=function e(e){return tQ(nr(e,void 0,ao),e+"")};var eL=function e(e){if(!tr(e)||te(e)!=as)return!1;var r=ai(e);if(r===null)return!0;var t=av.call(r,"constructor")&&r.constructor;return typeof t=="function"&&h(t,t)&&af.call(t)==ah};var eV=function e(){this.__data__=new oD,this.size=0};var eq=function e(e){var r=this.__data__,t=r.delete(e);return this.size=r.size,t};var eM=function e(e){return this.__data__.get(e)};var eK=function e(e){return this.__data__.has(e)};var eW=function e(e,r){var t=this.__data__;if(h(t,oD)){var n=t.__data__;if(!oB||n.length<am-1)return n.push([e,r]),this.size=++t.size,this;t=this.__data__=new oG(n)}return t.set(e,r),this.size=t.size,this};var e$=function e(e){var r=this.__data__=new oD(e);this.size=r.size};var eG=function e(e,r){return e&&t9(r,oi(r),e)};var eJ=function e(e,r){return e&&t9(r,ov(r),e)};var eY=function e(e,r){if(r)return e.slice();var t=e.length,n=aS?aS(t):new e.constructor(t);return e.copy(n),n};var eX=function e(e,r){for(var t=-1,n=e==null?0:e.length,o=0,a=[];++t<n;){var u=e[t];r(u,t,e)&&(a[o++]=u)}return a};var eZ=function e(){return[]};var eQ=function e(e,r){return t9(e,aU(e),r)};var e0=function e(e,r){return t9(e,aB(e),r)};var e1=function e(e,r,t){var n=r(e);return tu(e)?n:o9(n,t(e))};var e3=function e(e){return aV(e,oi,aU)};var e2=function e(e){return aV(e,ov,aB)};var e4=function e(e){var r=e.length,t=new e.constructor(r);return r&&typeof e[0]=="string"&&ur.call(e,"index")&&(t.index=e.index,t.input=e.input),t};var e6=function e(e){var r=new e.constructor(e.byteLength);return new uo(r).set(new uo(e)),r};var e5=function e(e,r){var t=r?ua(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)};var e8=function e(e){var r=new e.constructor(e.source,ui.exec(e));return r.lastIndex=e.lastIndex,r};var e7=function e(e){return ul?Object(ul.call(e)):{}};var e9=function e(e,r){var t=r?ua(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)};var re=function e(e,r,t){var n=e.constructor;switch(r){case uw:return ua(e);case uh:case up:return new n(+e);case uj:return uu(e,t);case uO:case uE:case u_:case uA:case uR:case uS:case ux:case uP:case uC:return uv(e,t);case ud:return new n;case uy:case um:return new n(e);case ub:return us(e);case ug:return new n;case uk:return uf(e)}};var rr=function e(e){return typeof e.constructor=="function"&&!nc(e)?tB(ai(e)):{}};var rt=function e(e){return tr(e)&&a9(e)==uN};var rn=function e(e){return tr(e)&&a9(e)==uF};var ro=function e(e){return ih(e,ip)};var ra=function e(e,r){return e!=null&&r in Object(e)};var ru=function e(e,r,t){r=o6(r,e);for(var n=-1,o=r.length,a=!1;++n<o;){var u=o8(r[n]);if(!(a=e!=null&&t(e,u)))break;e=e[u]}return a||++n!=o?a:(o=e==null?0:e.length,!!o&&no(o)&&t2(u,o)&&(tu(e)||nb(e)))};var ri=function e(e,r){return e!=null&&ib(e,r,iy)};var rs=function e(e){return function(r,t,n){for(var o=-1,a=Object(r),u=n(r),i=u.length;i--;){var s=u[e?i:++o];if(t(a[s],s,a)===!1)break}return r}};var rc=function e(e,r,t){(t!==void 0&&!t6(e[r],t)||t===void 0&&!(r in e))&&t4(e,r,t)};var rl=function e(e){return tr(e)&&na(e)};var rf=function e(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]};var rv=function e(e){return t9(e,ov(e))};var rh=function e(e,r,t,n,o,a,u){var i=iE(e,t),s=iE(r,t),c=u.get(s);if(c){ij(e,t,c);return}var l=a?a(i,s,t+"",e,r,u):void 0,f=l===void 0;if(f){var v=tu(s),h=!v&&n_(s),p=!v&&!h&&n8(s);l=s,v||h||p?tu(i)?l=i:iO(i)?l=tV(i):h?(f=!1,l=ax(s,!0)):p?(f=!1,l=uv(s,!0)):l=[]:ap(s)||nb(s)?(l=i,nb(i)?l=i_(i):(!tv(i)||tg(i))&&(l=uI(s))):f=!1}f&&(u.set(s,l),o(l,s,n,a,u),u.delete(s)),ij(e,t,l)};var rp=function e(e){return typeof e=="string"||!tu(e)&&tr(e)&&te(e)==ix};var rd=function e(e,r,t,n){if(!tv(e))return e;r=o6(r,e);for(var o=-1,a=r.length,u=a-1,i=e;i!=null&&++o<a;){var s=o8(r[o]),c=t;if(s==="__proto__"||s==="constructor"||s==="prototype")return e;if(o!=u){var l=i[s];c=n?n(l,s,i):void 0,c===void 0&&(c=tv(l)?l:t2(r[o+1])?[]:{})}t7(i,s,c),i=i[s]}return e};var ry=function e(e,r,t){for(var n=-1,o=r.length,a={};++n<o;){var u=r[n],i=o7(e,u);t(i,u)&&iI(a,o6(u,e),i)}return a};var rb=function e(e,r){return iN(e,r,function(r,t){return ig(e,t)})};var rg=function e(e){return h(e,iL)||(typeof DOMException==="undefined"?"undefined":S(DOMException))<"u"&&h(e,DOMException)&&(e.name==="AbortError"||e.name==="TimeoutError")||h(e,iF)&&(e===null||e===void 0?void 0:e.id)===iB||h(e,Event)&&e.type==="abort"||h(e,Error)&&e.name==="AbortError"};var rm=function e(e){var r=new globalThis.AbortController;function t(){var n=e.filter(function(e){return(e===null||e===void 0?void 0:e.aborted)===!0}).map(function(e){return e===null||e===void 0?void 0:e.reason}).pop();r.abort(n);var o=true,a=false,u=undefined;try{for(var i=e[Symbol.iterator](),s;!(o=(s=i.next()).done);o=true){var c=s.value;(c===null||c===void 0?void 0:c.removeEventListener)!=null&&c.removeEventListener("abort",t)}}catch(e){a=true;u=e}finally{try{if(!o&&i.return!=null){i.return()}}finally{if(a){throw u}}}}var n=true,o=false,a=undefined;try{for(var u=e[Symbol.iterator](),i;!(n=(i=u.next()).done);n=true){var s=i.value;if((s===null||s===void 0?void 0:s.aborted)===!0){t();break}(s===null||s===void 0?void 0:s.addEventListener)!=null&&s.addEventListener("abort",t)}}catch(e){o=true;a=e}finally{try{if(!n&&u.return!=null){u.return()}}finally{if(o){throw a}}}function c(){var r=true,n=false,o=undefined;try{for(var a=e[Symbol.iterator](),u;!(r=(u=a.next()).done);r=true){var i=u.value;(i===null||i===void 0?void 0:i.removeEventListener)!=null&&i.removeEventListener("abort",t)}}catch(e){n=true;o=e}finally{try{if(!r&&a.return!=null){a.return()}}finally{if(n){throw o}}}}var l=r.signal;return l.clear=c,l};var rk=function e(e){var r=AbortSignal.any;if(typeof r=="function"){var t=e.filter(function(e){return e!=null});if(t.length>0){var n=r(t);return n.clear=function(){},n}}return rm(e)};var rw=function e(e){if(typeof AbortSignal.timeout=="function"&&Number.isFinite(e)&&e>=0)try{return AbortSignal.timeout(e)}catch(e){}var r=new AbortController,t=Number.isFinite(e)&&e>=0?Math.min(e,2147483647):2147483647,n=setTimeout(function(){r.abort(new DOMException("The operation timed out","TimeoutError"))},t),o=r.signal;return o.clear=function(){return clearTimeout(n)},o};var rj=function e(e){var r=function(){};return{promise:new Promise(function(t,n){if(e.aborted){n(e.reason||new iL("The operation was aborted"));return}var o=function(){n(e.reason||new iL("The operation was aborted"))};e.addEventListener("abort",o),r=function(){e.removeEventListener("abort",o)}}),cleanup:r}};var rO=function e(e,r){if(!r)return e;r.throwIfAborted();var t=rj(r),n=t.promise,o=t.cleanup;return Promise.race([e,n]).finally(function(){o()})};var rE=function e(e,r,t){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++){o[a-3]=arguments[a]}var u;if(typeof e[r]=="function")return(u=e)[r].apply(u,[t].concat(R(o)))};var r_=function e(e){return Array.isArray(e)?e:[e]};var rA=function e(e,r,t){return i0.apply(this,arguments)};var rR=function e(e,r,t){return i1.apply(this,arguments)};var rS=function e(e,r,t){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++){o[a-3]=arguments[a]}var u;t.resetHooksRuntimes(r);for(var i=0;i<e.length;i++){var s=e[i];if(t.shouldSkipPluginHook(s,r))continue;if(t.shouldBreakChain())break;var c=(t.hooksRuntimes.times||0)+1;t.runtimes({pluginName:s.pluginName,hookName:r,pluginIndex:i,times:c});try{var l=rE.apply(void 0,[s,r,t].concat(R(o)));if(l!==void 0&&(u=l,t.runtimeReturnValue(l),t.shouldBreakChainOnReturn()))break}catch(e){if(t.shouldContinueOnError())continue;throw e}}return u};var rx=function e(e,r,t){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++){o[a-3]=arguments[a]}var u=r_(r),i;var s=true,c=false,l=undefined;try{for(var f=u[Symbol.iterator](),v;!(s=(v=f.next()).done);s=true){var h=v.value;try{var p=rS.apply(void 0,[e,h,t].concat(R(o)));if(p!==void 0&&(i=p),t.shouldBreakChain())break}catch(e){if(t.shouldContinueOnError())continue;throw e}}}catch(e){c=true;l=e}finally{try{if(!s&&f.return!=null){f.return()}}finally{if(c){throw l}}}return i};var rP=function e(e){return e.startsWith("http://")||e.startsWith("https://")};var rC=function e(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return typeof e!="string"?!1:r!==void 0?t?e===r:e.toLowerCase()===r.toLowerCase():!0};var rT=function e(e,r,t){if(t)return r in e?{found:!0,value:e[r],actualKey:r}:{found:!1};var n=r.toLowerCase();for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&o.toLowerCase()===n)return{found:!0,value:e[o],actualKey:o};return{found:!1}};var rI=function e(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(typeof e==="undefined"?"undefined":S(e))!="object"||e===null?!1:rT(e,r,t).found};var rN=function e(e,r,t,n){if((typeof e==="undefined"?"undefined":S(e))!="object"||e===null)return!1;var o;var a=(o=n===null||n===void 0?void 0:n.keyCaseSensitive)!==null&&o!==void 0?o:!0,u=rT(e,r,a);var i;return u.found?t===void 0?!0:((i=n===null||n===void 0?void 0:n.valueCaseSensitive)!==null&&i!==void 0?i:!0)?u.value===t:typeof u.value=="string"&&typeof t=="string"?u.value.toLowerCase()===t.toLowerCase():u.value===t:!1};var rH=function e(e,r,t){return e?h(e,Headers)?(e.set(r,String(t)),e):w(m({},e),l({},r,t)):l({},r,t)};var rU=function e(e){if(!e||(typeof e==="undefined"?"undefined":S(e))!="object")return!1;var r=e;return"response"in r&&h(r.response,Response)&&"status"in r&&typeof r.status=="number"&&"statusText"in r&&typeof r.statusText=="string"&&"headers"in r&&S(r.headers)=="object"&&r.headers!==null&&"config"in r&&S(r.config)=="object"&&r.config!==null};var rz=function e(e){return"type"in e&&"pipe"in e?e:"serialize"in e&&"deserialize"in e?{pipe:e,type:"serialize"}:"encrypt"in e&&"decrypt"in e?{pipe:e,type:"encrypt"}:"setItem"in e&&"getItem"in e&&"removeItem"in e&&"clear"in e?{pipe:e,type:"storage"}:null};var rD=Object.defineProperty;var rF=Object.getOwnPropertyDescriptor;var rB=Object.getOwnPropertyNames;var rL=Object.prototype.hasOwnProperty;var rV=function(e,r){for(var t in r)rD(e,t,{get:r[t],enumerable:!0})},rq=function(e,r,t,n){var o=true,a=false,u=undefined;if(r&&(typeof r==="undefined"?"undefined":S(r))=="object"||typeof r=="function")try{var i=function(){var o=c.value;!rL.call(e,o)&&o!==t&&rD(e,o,{get:function(){return r[o]},enumerable:!(n=rF(r,o))||n.enumerable})};for(var s=rB(r)[Symbol.iterator](),c;!(o=(c=s.next()).done);o=true)i()}catch(e){a=true;u=e}finally{try{if(!o&&s.return!=null){s.return()}}finally{if(a){throw u}}}return e};var rM=function(e){return rq(rD({},"__esModule",{value:!0}),e)};var rK={};rV(rK,{ABORT_ERROR_ID:function(){return iB},AbortError:function(){return iL},Aborter:function(){return iV},AborterPlugin:function(){return iq},Base64Serializer:function(){return sp},BasePluginExecutor:function(){return iQ},DEFAULT_HOOK_ON_BEFORE:function(){return iG},DEFAULT_HOOK_ON_ERROR:function(){return iX},DEFAULT_HOOK_ON_EXEC:function(){return iJ},DEFAULT_HOOK_ON_FINALLY:function(){return iZ},DEFAULT_HOOK_ON_SUCCESS:function(){return iY},EXECUTOR_ASYNC_ERROR:function(){return i$},EXECUTOR_ERROR_NAME:function(){return iD},EXECUTOR_SYNC_ERROR:function(){return iW},ExecutorContextImpl:function(){return iK},ExecutorError:function(){return iF},HttpMethods:function(){return su},JSONSerializer:function(){return sh},KeyStorage:function(){return sd},LifecycleExecutor:function(){return i3},LifecycleSyncExecutor:function(){return i2},ObjectStorage:function(){return sy},RETRY_ERROR_ID:function(){return i4},RequestAdapterAxios:function(){return sa},RequestAdapterFetch:function(){return so},RequestExecutor:function(){return si},RequestHeaderInjector:function(){return ss},RequestPlugin:function(){return sl},ResponsePlugin:function(){return sf},RetryPlugin:function(){return i6},SimpleUrlBuilder:function(){return sc},SyncStorage:function(){return sg},appendHeaders:function(){return rH},createAbortPromise:function(){return rj},hasObjectKey:function(){return rI},hasObjectKeyWithValue:function(){return rN},isAbortError:function(){return rg},isAbsoluteUrl:function(){return rP},isAsString:function(){return rC},isRequestAdapterResponse:function(){return rU},normalizeHookNames:function(){return r_},raceWithAbort:function(){return rO},runPluginHook:function(){return rE},runPluginsHookAsync:function(){return rA},runPluginsHookSync:function(){return rS},runPluginsHooksAsync:function(){return rR},runPluginsHooksSync:function(){return rx}});var rW=(typeof global==="undefined"?"undefined":S(global))=="object"&&global&&global.Object===Object&&global,r$=rW;var rG=(typeof self==="undefined"?"undefined":S(self))=="object"&&self&&self.Object===Object&&self,rJ=r$||rG||Function("return this")(),rY=rJ;var rX=rY.Symbol,rZ=rX;var rQ=Object.prototype,r0=rQ.hasOwnProperty,r1=rQ.toString,r3=rZ?rZ.toStringTag:void 0;var r2=s;var r4=Object.prototype,r6=r4.toString;var r5=f;var r8="[object Null]",r7="[object Undefined]",r9=rZ?rZ.toStringTag:void 0;var te=p;var tr=d;var tt="[object Symbol]";var tn=y;var to=b;var ta=Array.isArray,tu=ta;var ti=1/0,ts=rZ?rZ.prototype:void 0,tc=ts?ts.toString:void 0;function tl(e){if(typeof e=="string")return e;if(tu(e))return to(e,tl)+"";if(tn(e))return tc?tc.call(e):"";var r=e+"";return r=="0"&&1/e==-ti?"-0":r}var tf=tl;var tv=g;var th=k;var tp="[object AsyncFunction]",td="[object Function]",ty="[object GeneratorFunction]",tb="[object Proxy]";var tg=O;var tm=rY["__core-js_shared__"],tk=tm;var tw=function(){var e=/[^.]+$/.exec(tk&&tk.keys&&tk.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var tj=E;var tO=Function.prototype,tE=tO.toString;var t_=_;var tA=/[\\^$.*+?()[\]{}|]/g,tR=/^\[object .+?Constructor\]$/,tS=Function.prototype,tx=Object.prototype,tP=tS.toString,tC=tx.hasOwnProperty,tT=RegExp("^"+tP.call(tC).replace(tA,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var tI=x;var tN=C;var tH=N;var tU=tH(rY,"WeakMap"),tz=tU;var tD=Object.create,tF=function(){function e(){}return function(r){if(!tv(r))return{};if(tD)return tD(r);e.prototype=r;var t=new e;return e.prototype=void 0,t}}(),tB=tF;var tL=H;var tV=U;var tq=800,tM=16,tK=Date.now;var tW=z;var t$=D;var tG=function(){try{var e=tH(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),tJ=tG;var tY=tJ?function e(e,r){return tJ(e,"toString",{configurable:!0,enumerable:!1,value:t$(r),writable:!0})}:th,tX=tY;var tZ=tW(tX),tQ=tZ;var t0=F;var t1=9007199254740991,t3=/^(?:0|[1-9]\d*)$/;var t2=B;var t4=L;var t6=V;var t5=Object.prototype,t8=t5.hasOwnProperty;var t7=q;var t9=M;var ne=Math.max;var nr=K;var nt=W;var nn=9007199254740991;var no=$;var na=G;var nu=J;var ni=Y;var ns=Object.prototype;var nc=X;var nl=Z;var nf="[object Arguments]";var nv=Q;var nh=Object.prototype,np=nh.hasOwnProperty,nd=nh.propertyIsEnumerable,ny=nv(function(){return arguments}())?nv:function e(e){return tr(e)&&np.call(e,"callee")&&!nd.call(e,"callee")},nb=ny;var ng=ee;var nm=(typeof exports==="undefined"?"undefined":S(exports))=="object"&&exports&&!exports.nodeType&&exports,nk=nm&&(typeof module==="undefined"?"undefined":S(module))=="object"&&module&&!module.nodeType&&module,nw=nk&&nk.exports===nm,nj=nw?rY.Buffer:void 0,nO=nj?nj.isBuffer:void 0,nE=nO||ng,n_=nE;var nA="[object Arguments]",nR="[object Array]",nS="[object Boolean]",nx="[object Date]",nP="[object Error]",nC="[object Function]",nT="[object Map]",nI="[object Number]",nN="[object Object]",nH="[object RegExp]",nU="[object Set]",nz="[object String]",nD="[object WeakMap]",nF="[object ArrayBuffer]",nB="[object DataView]",nL="[object Float32Array]",nV="[object Float64Array]",nq="[object Int8Array]",nM="[object Int16Array]",nK="[object Int32Array]",nW="[object Uint8Array]",n$="[object Uint8ClampedArray]",nG="[object Uint16Array]",nJ="[object Uint32Array]",nY={};nY[nL]=nY[nV]=nY[nq]=nY[nM]=nY[nK]=nY[nW]=nY[n$]=nY[nG]=nY[nJ]=!0;nY[nA]=nY[nR]=nY[nF]=nY[nS]=nY[nB]=nY[nx]=nY[nP]=nY[nC]=nY[nT]=nY[nI]=nY[nN]=nY[nH]=nY[nU]=nY[nz]=nY[nD]=!1;var nX=er;var nZ=et;var nQ=(typeof exports==="undefined"?"undefined":S(exports))=="object"&&exports&&!exports.nodeType&&exports,n0=nQ&&(typeof module==="undefined"?"undefined":S(module))=="object"&&module&&!module.nodeType&&module,n1=n0&&n0.exports===nQ,n3=n1&&r$.process,n2=function(){try{var e=n0&&n0.require&&n0.require("util").types;return e||n3&&n3.binding&&n3.binding("util")}catch(e){}}(),n4=n2;var n6=n4&&n4.isTypedArray,n5=n6?nZ(n6):nX,n8=n5;var n7=Object.prototype,n9=n7.hasOwnProperty;var oe=en;var or=eo;var ot=or(Object.keys,Object),on=ot;var oo=Object.prototype,oa=oo.hasOwnProperty;var ou=ea;var oi=eu;var os=ei;var oc=Object.prototype,ol=oc.hasOwnProperty;var of=es;var ov=ec;var oh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,op=/^\w*$/;var od=el;var oy=tH(Object,"create"),ob=oy;var og=ef;var om=ev;var ok="__lodash_hash_undefined__",ow=Object.prototype,oj=ow.hasOwnProperty;var oO=eh;var oE=Object.prototype,o_=oE.hasOwnProperty;var oA=ep;var oR="__lodash_hash_undefined__";var oS=ed;ey.prototype.clear=og;ey.prototype.delete=om;ey.prototype.get=oO;ey.prototype.has=oA;ey.prototype.set=oS;var ox=ey;var oP=eb;var oC=eg;var oT=Array.prototype,oI=oT.splice;var oN=em;var oH=ek;var oU=ew;var oz=ej;eO.prototype.clear=oP;eO.prototype.delete=oN;eO.prototype.get=oH;eO.prototype.has=oU;eO.prototype.set=oz;var oD=eO;var oF=tH(rY,"Map"),oB=oF;var oL=eE;var oV=e_;var oq=eA;var oM=eR;var oK=eS;var oW=ex;var o$=eP;eC.prototype.clear=oL;eC.prototype.delete=oM;eC.prototype.get=oK;eC.prototype.has=oW;eC.prototype.set=o$;var oG=eC;var oJ="Expected a function";function oY(e,r){if(typeof e!="function"||r!=null&&typeof r!="function")throw new TypeError(oJ);var t=function n(){var n=arguments,o=r?r.apply(this,n):n[0],a=t.cache;if(a.has(o))return a.get(o);var u=e.apply(this,n);return t.cache=a.set(o,u)||a,u};return t.cache=new(oY.Cache||oG),t}oY.Cache=oG;var oX=oY;var oZ=500;var oQ=eT;var o0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o1=/\\(\\)?/g,o3=oQ(function(e){var r=[];return e.charCodeAt(0)===46&&r.push(""),e.replace(o0,function(e,t,n,o){r.push(n?o.replace(o1,"$1"):t||e)}),r}),o2=o3;var o4=eI;var o6=eN;var o5=1/0;var o8=eH;var o7=eU;var o9=ez;var ae=rZ?rZ.isConcatSpreadable:void 0;var ar=eD;function at(e,r,t,n,o){var a=-1,u=e.length;for(t||(t=ar),o||(o=[]);++a<u;){var i=e[a];r>0&&t(i)?r>1?at(i,r-1,t,n,o):o9(o,i):n||(o[o.length]=i)}return o}var an=at;var ao=eF;var aa=eB;var au=or(Object.getPrototypeOf,Object),ai=au;var as="[object Object]",ac=Function.prototype,al=Object.prototype,af=ac.toString,av=al.hasOwnProperty,ah=af.call(Object);var ap=eL;var ad=eV;var ay=eq;var ab=eM;var ag=eK;var am=200;var ak=eW;e$.prototype.clear=ad;e$.prototype.delete=ay;e$.prototype.get=ab;e$.prototype.has=ag;e$.prototype.set=ak;var aw=e$;var aj=eG;var aO=eJ;var aE=(typeof exports==="undefined"?"undefined":S(exports))=="object"&&exports&&!exports.nodeType&&exports,a_=aE&&(typeof module==="undefined"?"undefined":S(module))=="object"&&module&&!module.nodeType&&module,aA=a_&&a_.exports===aE,aR=aA?rY.Buffer:void 0,aS=aR?aR.allocUnsafe:void 0;var ax=eY;var aP=eX;var aC=eZ;var aT=Object.prototype,aI=aT.propertyIsEnumerable,aN=Object.getOwnPropertySymbols,aH=aN?function e(e){return e==null?[]:(e=Object(e),aP(aN(e),function(r){return aI.call(e,r)}))}:aC,aU=aH;var az=eQ;var aD=Object.getOwnPropertySymbols,aF=aD?function e(e){for(var r=[];e;)o9(r,aU(e)),e=ai(e);return r}:aC,aB=aF;var aL=e0;var aV=e1;var aq=e3;var aM=e2;var aK=tH(rY,"DataView"),aW=aK;var a$=tH(rY,"Promise"),aG=a$;var aJ=tH(rY,"Set"),aY=aJ;var aX="[object Map]",aZ="[object Object]",aQ="[object Promise]",a0="[object Set]",a1="[object WeakMap]",a3="[object DataView]",a2=t_(aW),a4=t_(oB),a6=t_(aG),a5=t_(aY),a8=t_(tz),a7=te;(aW&&a7(new aW(new ArrayBuffer(1)))!=a3||oB&&a7(new oB)!=aX||aG&&a7(aG.resolve())!=aQ||aY&&a7(new aY)!=a0||tz&&a7(new tz)!=a1)&&(a7=function e(e){var r=te(e),t=r==aZ?e.constructor:void 0,n=t?t_(t):"";if(n)switch(n){case a2:return a3;case a4:return aX;case a6:return aQ;case a5:return a0;case a8:return a1}return r});var a9=a7;var ue=Object.prototype,ur=ue.hasOwnProperty;var ut=e4;var un=rY.Uint8Array,uo=un;var ua=e6;var uu=e5;var ui=/\w*$/;var us=e8;var uc=rZ?rZ.prototype:void 0,ul=uc?uc.valueOf:void 0;var uf=e7;var uv=e9;var uh="[object Boolean]",up="[object Date]",ud="[object Map]",uy="[object Number]",ub="[object RegExp]",ug="[object Set]",um="[object String]",uk="[object Symbol]",uw="[object ArrayBuffer]",uj="[object DataView]",uO="[object Float32Array]",uE="[object Float64Array]",u_="[object Int8Array]",uA="[object Int16Array]",uR="[object Int32Array]",uS="[object Uint8Array]",ux="[object Uint8ClampedArray]",uP="[object Uint16Array]",uC="[object Uint32Array]";var uT=re;var uI=rr;var uN="[object Map]";var uH=rt;var uU=n4&&n4.isMap,uz=uU?nZ(uU):uH,uD=uz;var uF="[object Set]";var uB=rn;var uL=n4&&n4.isSet,uV=uL?nZ(uL):uB,uq=uV;var uM=1,uK=2,uW=4,u$="[object Arguments]",uG="[object Array]",uJ="[object Boolean]",uY="[object Date]",uX="[object Error]",uZ="[object Function]",uQ="[object GeneratorFunction]",u0="[object Map]",u1="[object Number]",u3="[object Object]",u2="[object RegExp]",u4="[object Set]",u6="[object String]",u5="[object Symbol]",u8="[object WeakMap]",u7="[object ArrayBuffer]",u9="[object DataView]",ie="[object Float32Array]",ir="[object Float64Array]",it="[object Int8Array]",io="[object Int16Array]",ia="[object Int32Array]",iu="[object Uint8Array]",ii="[object Uint8ClampedArray]",is="[object Uint16Array]",ic="[object Uint32Array]",il={};il[u$]=il[uG]=il[u7]=il[u9]=il[uJ]=il[uY]=il[ie]=il[ir]=il[it]=il[io]=il[ia]=il[u0]=il[u1]=il[u3]=il[u2]=il[u4]=il[u6]=il[u5]=il[iu]=il[ii]=il[is]=il[ic]=!0;il[uX]=il[uZ]=il[u8]=!1;function iv(e,r,t,n,o,a){var u,i=r&uM,s=r&uK,c=r&uW;if(t&&(u=o?t(e,n,o,a):t(e)),u!==void 0)return u;if(!tv(e))return e;var l=tu(e);if(l){if(u=ut(e),!i)return tV(e,u)}else{var f=a9(e),v=f==uZ||f==uQ;if(n_(e))return ax(e,i);if(f==u3||f==u$||v&&!o){if(u=s||v?{}:uI(e),!i)return s?aL(e,aO(u,e)):az(e,aj(u,e))}else{if(!il[f])return o?e:{};u=uT(e,f,i)}}a||(a=new aw);var h=a.get(e);if(h)return h;a.set(e,u),uq(e)?e.forEach(function(n){u.add(iv(n,r,t,n,e,a))}):uD(e)&&e.forEach(function(n,o){u.set(o,iv(n,r,t,o,e,a))});var p=c?s?aM:aq:s?ov:oi,d=l?void 0:p(e);return t0(d||e,function(n,o){d&&(o=n,n=e[o]),t7(u,o,iv(n,r,t,o,e,a))}),u}var ih=iv;var ip=4;var id=ro;var iy=ra;var ib=ru;var ig=ri;var im=rs;var ik=im(),iw=ik;var ij=rc;var iO=rl;var iE=rf;var i_=rv;var iA=rh;function iR(e,r,t,n,o){e!==r&&iw(r,function(a,u){if(o||(o=new aw),tv(a))iA(e,r,u,t,iR,n,o);else{var i=n?n(iE(e,u),a,u+"",e,r,o):void 0;i===void 0&&(i=a),ij(e,u,i)}},ov)}var iS=iR;var ix="[object String]";var iP=rp;var iC=ni(function(e,r,t){iS(e,r,t)}),iT=iC;var iI=rd;var iN=ry;var iH=rb;var iU=aa(function(e,r){return e==null?{}:iH(e,r)}),iz=iU;var iD="ExecutorError",iF=function(e){v(t,e);var r=T(t);function t(e,n){u(this,t);var o;o=r.call(this);o.id=e;o.name=o.constructor!==t?o.constructor.name:iD,h(n,Error)?o.message=n.message:typeof n=="string"&&(o.message=n),o.message||(o.message=e),o.message!==n&&(o.cause=n);return o}return t}(P(Error));var iB="ABORT_ERROR",iL=function(e){v(t,e);var r=T(t);function t(e,n,o){u(this,t);var a;a=r.call(this,iB,e);a.name="AbortError";a.abortId=n,a.timeout=o;return a}return t}(iF);var iV=function(){function e(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Aborter";u(this,e);this.aborterName=r;this.requestCounter=0;this.wrappers=new Map}c(e,[{key:"generateAbortedId",value:function e(e){var r;return e?(r=e.abortId)!==null&&r!==void 0?r:"".concat(this.aborterName,"-").concat(++this.requestCounter):"".concat(this.aborterName,"-").concat(++this.requestCounter)}},{key:"register",value:function e(e){var r;var t=this.generateAbortedId(e);if(this.wrappers.has(t))throw new Error('Operation with ID "'.concat(t,'" is already registered in ').concat(this.aborterName));if((r=e.signal)===null||r===void 0?void 0:r.aborted){var n=new AbortController;return n.abort(e.signal.reason),{abortId:t,signal:n.signal}}var o=new AbortController,a=this.createComposedSignal(e,o.signal,t),u=a.signal,i=a.cleanup;return this.wrappers.set(t,{controller:o,config:e,cleanup:i}),{abortId:t,signal:u}}},{key:"createComposedSignal",value:function e(e,r,t){var n=this;var o=[r],a=[];if(this.hasValidTimeout(e)){var u=rw(e.abortTimeout);o.push(u),this.isClearable(u)&&a.push(function(){return u.clear()})}if(e.signal&&o.push(e.signal),o.length===1)return{signal:r};var i=rk(o),s=function(){var r=i.reason;n.isTimeoutError(r)&&n.invokeCallback(e,"onAbortedTimeout"),n.cleanup(t)};return i.addEventListener("abort",s,{once:!0}),a.push(function(){return i.removeEventListener("abort",s)},function(){return i.clear()}),{signal:i,cleanup:function(){return a.forEach(function(e){return e()})}}}},{key:"hasValidTimeout",value:function e(e){return"abortTimeout"in e&&Number.isInteger(e.abortTimeout)&&e.abortTimeout>0}},{key:"isClearable",value:function e(e){return"clear"in e&&typeof e.clear=="function"}},{key:"isTimeoutError",value:function e(e){var r;return(e===null||e===void 0?void 0:e.name)==="TimeoutError"||(e===null||e===void 0?void 0:(r=e.message)===null||r===void 0?void 0:r.includes("timed out"))}},{key:"invokeCallback",value:function e(e,r){if(r in e&&typeof e[r]=="function")try{e[r](w(m({},e),{onAborted:void 0,onAbortedTimeout:void 0}))}catch(e){var t;(typeof process==="undefined"?"undefined":S(process))<"u"&&((t=process.env)===null||t===void 0?void 0:t.NODE_ENV)==="development"&&console.error("[".concat(this.aborterName,"] Error in ").concat(r," callback:"),e)}}},{key:"resolveAbortId",value:function e(e){return iP(e)?e:this.generateAbortedId(e)}},{key:"cleanup",value:function e(e){var r=this.resolveAbortId(e),t=this.wrappers.get(r);if(t){this.wrappers.delete(r);try{var n;(n=t.cleanup)===null||n===void 0?void 0:n.call(t)}catch(e){}return!0}return!1}},{key:"abort",value:function e(e){var r=this.resolveAbortId(e),t=this.wrappers.get(r);if(!t)return!1;var n=iP(e)?t.config:e;return t.controller.abort(new iL("The operation was aborted",r)),this.cleanup(r),this.invokeCallback(n,"onAborted"),!0}},{key:"abortAll",value:function e(){var e=Array.from(this.wrappers.entries());this.wrappers.clear(),e.forEach(function(e){var r=A(e,2),t=r[0],n=r[1];try{n.controller.signal.aborted||n.controller.abort(new iL("All operations were aborted",t))}catch(e){}try{var o;(o=n.cleanup)===null||o===void 0?void 0:o.call(n)}catch(e){}})}},{key:"autoCleanup",value:function e(e,r){var t=this;var n=this.register(r!==null&&r!==void 0?r:{}),o=n.abortId,a=n.signal;try{var u=e({abortId:o,signal:a});return Promise.resolve(u).finally(function(){return t.cleanup(o)})}catch(e){return this.cleanup(o),Promise.reject(e)}}},{key:"getSignal",value:function e(e){var r;return(r=this.wrappers.get(e))===null||r===void 0?void 0:r.controller.signal}}]);return e}();var iq=function(){function e(r){u(this,e);this.onlyOne=!0;var t=r!==null&&r!==void 0?r:{},n=t.pluginName,o=j(t,["pluginName"]);var a;this.pluginName=n!==null&&n!==void 0?n:"AborterPlugin",this.getConfig=(o===null||o===void 0?void 0:o.getConfig)||function(e){return e},this.timeout=o===null||o===void 0?void 0:o.timeout,this.aborter=(a=o===null||o===void 0?void 0:o.aborter)!==null&&a!==void 0?a:new iV(this.pluginName)}c(e,[{key:"onBefore",value:function e(e){var r=this.getConfig(e.parameters);process.env.NODE_ENV!=="production"&&!("signal"in r&&h(r.signal,AbortSignal))&&console.warn("[".concat(this.pluginName,"] Warning: config.signal is missing. Make sure your getConfig extracts the signal property."));var t=this.timeout!==void 0&&"abortTimeout"in r&&(r.abortTimeout===void 0||r.abortTimeout===null)?w(m({},r),{abortTimeout:this.timeout}):r;this.aborter.abort(t);var n=this.aborter.register(t),o=n.signal,a=n.abortId;S(e.parameters)=="object"&&e.parameters!==null&&e.setParameters(w(m({},e.parameters),{signal:o,abortId:a}))}},{key:"cleanupFromContext",value:function e(e){this.aborter.cleanup(e)}},{key:"onError",value:function e(e){if(!e.parameters)return;var r=this.getConfig(e.parameters);if(rg(e.error)){if(h(e.error,iL))return e.error;var t="The operation was aborted",n=e.error;return n&&(typeof n==="undefined"?"undefined":S(n))=="object"&&"message"in n&&(t=String(n.message)),new iL(t,r.abortId)}}},{key:"onFinally",value:function e(e){e.parameters&&this.cleanupFromContext(e.parameters)}},{key:"abort",value:function e(e){return this.aborter.abort(e)}},{key:"abortAll",value:function e(){this.aborter.abortAll()}},{key:"getAborter",value:function e(){return this.aborter}}]);return e}();var iM=new WeakMap,iK=function(){function e(r){u(this,e);this._parameters=r,iM.set(this,{pluginName:"",pluginIndex:void 0,hookName:"",returnValue:void 0,returnBreakChain:!1,times:0,breakChain:!1})}c(e,[{key:"parameters",get:function e(){return this._parameters}},{key:"error",get:function e(){return this._error}},{key:"returnValue",get:function e(){return this._returnValue}},{key:"hooksRuntimes",get:function e(){var e=iM.get(this);if(!e)throw new Error("Runtime state not initialized");return Object.freeze(m({},e))}},{key:"setError",value:function e(e){this._error=e}},{key:"setReturnValue",value:function e(e){this._returnValue=e}},{key:"setParameters",value:function e(e){this._parameters=e}},{key:"resetHooksRuntimes",value:function e(e){var r=iM.get(this);if(!r)throw new Error("Runtime state not initialized");if(e){iM.set(this,w(m({},r),{hookName:e,times:0,returnValue:void 0}));return}iM.set(this,{pluginName:"",pluginIndex:void 0,hookName:"",returnValue:void 0,returnBreakChain:!1,times:0,breakChain:!1})}},{key:"reset",value:function e(){this.resetHooksRuntimes(),this._returnValue=void 0,this._error=void 0}},{key:"shouldSkipPluginHook",value:function e(e,r){return typeof e[r]!="function"||typeof e.enabled=="function"&&!e.enabled(r,this)}},{key:"runtimes",value:function e(e){var r=iM.get(this);if(!r)throw new Error("Runtime state not initialized");iM.set(this,m({},r,e))}},{key:"runtimeReturnValue",value:function e(e){var r=iM.get(this);if(!r)throw new Error("Runtime state not initialized");iM.set(this,w(m({},r),{returnValue:e}))}},{key:"shouldBreakChain",value:function e(){var e;return!!((e=iM.get(this))===null||e===void 0?void 0:e.breakChain)}},{key:"shouldBreakChainOnReturn",value:function e(){var e;return!!((e=iM.get(this))===null||e===void 0?void 0:e.returnBreakChain)}},{key:"shouldContinueOnError",value:function e(){var e;return!!((e=iM.get(this))===null||e===void 0?void 0:e.continueOnError)}}]);return e}();var iW="UNKNOWN_SYNC_ERROR",i$="UNKNOWN_ASYNC_ERROR",iG="onBefore",iJ="onExec",iY="onSuccess",iX="onError",iZ="onFinally";var iQ=function(){function e(r){u(this,e);this.config=r;this.plugins=[]}c(e,[{key:"use",value:function e(e){this.validePlugin(e),this.plugins.push(e)}},{key:"validePlugin",value:function e(e){if((typeof e==="undefined"?"undefined":S(e))!="object"||e===null)throw new Error("Plugin must be an object");if(e.onlyOne&&this.plugins.some(function(r){return r===e||r.pluginName&&e.pluginName&&r.pluginName===e.pluginName||r.constructor===e.constructor})){var r=e.pluginName||"Unknown";throw new Error("Plugin ".concat(r," is already used"))}}},{key:"createContext",value:function e(e){return new iK(e)}},{key:"getBeforeHooks",value:function e(){var e;var r;return(r=(e=this.config)===null||e===void 0?void 0:e.beforeHooks)!==null&&r!==void 0?r:iG}},{key:"getAfterHooks",value:function e(){var e;var r;return(r=(e=this.config)===null||e===void 0?void 0:e.afterHooks)!==null&&r!==void 0?r:iY}},{key:"getExecHook",value:function e(){var e;var r;return(r=(e=this.config)===null||e===void 0?void 0:e.execHook)!==null&&r!==void 0?r:iJ}},{key:"getErrorHook",value:function e(){return iX}},{key:"getFinallyHook",value:function e(){return iZ}}]);return e}();function i0(){i0=a(function(e,r,t){var n,o,a,u,i,s,c,l,f;var v=arguments;return I(this,function(h){switch(h.label){case 0:for(n=v.length,o=new Array(n>3?n-3:0),a=3;a<n;a++){o[a-3]=v[a]}t.resetHooksRuntimes(r);i=0;h.label=1;case 1:if(!(i<e.length))return[3,6];s=e[i];if(t.shouldSkipPluginHook(s,r))return[3,5];if(t.shouldBreakChain())return[3,6];c=(t.hooksRuntimes.times||0)+1;t.runtimes({pluginName:s.pluginName,hookName:r,pluginIndex:i,times:c});h.label=2;case 2:h.trys.push([2,4,,5]);return[4,rE.apply(void 0,[s,r,t].concat(R(o)))];case 3:l=h.sent();if(l!==void 0&&(u=l,t.runtimeReturnValue(l),t.shouldBreakChainOnReturn()))return[3,6];return[3,5];case 4:f=h.sent();if(t.shouldContinueOnError())return[3,5];throw f;case 5:i++;return[3,1];case 6:return[2,u]}})});return i0.apply(this,arguments)}function i1(){i1=a(function(e,r,t){var n,o,a,u,i,s,c,l,f,v,h,p,d,y;var b=arguments;return I(this,function(g){switch(g.label){case 0:for(n=b.length,o=new Array(n>3?n-3:0),a=3;a<n;a++){o[a-3]=b[a]}u=r_(r);s=true,c=false,l=undefined;g.label=1;case 1:g.trys.push([1,8,9,10]);f=u[Symbol.iterator]();g.label=2;case 2:if(!!(s=(v=f.next()).done))return[3,7];h=v.value;g.label=3;case 3:g.trys.push([3,5,,6]);return[4,rA.apply(void 0,[e,h,t].concat(R(o)))];case 4:p=g.sent();if(p!==void 0&&(i=p),t.shouldBreakChain())return[3,7];return[3,6];case 5:d=g.sent();if(t.shouldContinueOnError())return[3,6];throw d;case 6:s=true;return[3,2];case 7:return[3,10];case 8:y=g.sent();c=true;l=y;return[3,10];case 9:try{if(!s&&f.return!=null){f.return()}}finally{if(c){throw l}}return[7];case 10:return[2,i]}})});return i1.apply(this,arguments)}var i3=function(e){v(t,e);var r=T(t);function t(){u(this,t);return r.apply(this,arguments)}c(t,[{key:"execNoError",value:function e(e,r){var t=this;return a(function(){var n,o;return I(this,function(a){switch(a.label){case 0:a.trys.push([0,5,,6]);if(!(r!==void 0))return[3,2];return[4,t.exec(e,r)];case 1:n=a.sent();return[3,4];case 2:return[4,t.exec(e)];case 3:n=a.sent();a.label=4;case 4:return[2,n];case 5:o=a.sent();return[2,h(o,iF)?o:new iF(i$,o)];case 6:return[2]}})})()}},{key:"exec",value:function e(e,r){var t=r||e,n=r?e:void 0;if(typeof t!="function")throw new Error("Task must be a function!");var o=this.createContext(n!==null&&n!==void 0?n:{});return this.run(o,t)}},{key:"runHook",value:function e(e,r,t){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++){o[a-3]=arguments[a]}return rA.apply(void 0,[e,r,t].concat(R(o)))}},{key:"runHooks",value:function e(e,r,t){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++){o[a-3]=arguments[a]}return rR.apply(void 0,[e,r,t].concat(R(o)))}},{key:"runExec",value:function e(e,r){var t=this;return a(function(){var n,o,a,u;return I(this,function(i){switch(i.label){case 0:n=t.getExecHook();return[4,t.runHook(t.plugins,n,e,r)];case 1:i.sent();if(!!e.hooksRuntimes.times)return[3,3];return[4,r(e)];case 2:o=i.sent();return[3,7];case 3:a=e.hooksRuntimes.returnValue;if(!(typeof a=="function"))return[3,5];return[4,a(e)];case 4:u=o=i.sent();return[3,6];case 5:u=o=a;i.label=6;case 6:u;i.label=7;case 7:return[2,(e.setReturnValue(o),o)]}})})()}},{key:"run",value:function e(e,r){var t=this;return a(function(){var n;return I(this,function(o){switch(o.label){case 0:o.trys.push([0,2,4,6]);return[4,t.handler(e,r)];case 1:return[2,(o.sent(),e.returnValue)];case 2:n=o.sent();return[4,t.handlerCatch(e,n)];case 3:throw o.sent();case 4:return[4,t.handlerFinally(e)];case 5:o.sent();return[7];case 6:return[2]}})})()}},{key:"handler",value:function e(e,r){var t=this;return a(function(){var n;return I(this,function(o){switch(o.label){case 0:return[4,t.runHooks(t.plugins,t.getBeforeHooks(),e)];case 1:n=o.sent();n!==void 0&&e.setParameters(n);return[4,t.runExec(e,r)];case 2:o.sent();return[4,t.runHooks(t.plugins,t.getAfterHooks(),e)];case 3:return[2,(o.sent(),e.returnValue)]}})})()}},{key:"handlerCatch",value:function e(e,r){var t=this;return a(function(){var n;return I(this,function(o){switch(o.label){case 0:e.setError(r);return[4,t.runHook(t.plugins,t.getErrorHook(),e)];case 1:if(o.sent(),e.hooksRuntimes.returnValue&&e.setError(e.hooksRuntimes.returnValue),h(e.error,iF))return[2,e.error];n=new iF(i$,e.error);return[2,(e.setError(n),n)]}})})()}},{key:"handlerFinally",value:function e(e){var r=this;return a(function(){return I(this,function(t){switch(t.label){case 0:e.runtimes({continueOnError:!0});return[4,r.runHooks(r.plugins,r.getFinallyHook(),e)];case 1:t.sent(),e.reset();return[2]}})})()}}]);return t}(iQ);var i2=function(e){v(t,e);var r=T(t);function t(){u(this,t);return r.apply(this,arguments)}c(t,[{key:"runHook",value:function e(e,r,t){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++){o[a-3]=arguments[a]}return rS.apply(void 0,[e,r,t].concat(R(o)))}},{key:"runHooks",value:function e(e,r,t){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++){o[a-3]=arguments[a]}return rx.apply(void 0,[e,r,t].concat(R(o)))}},{key:"runExec",value:function e(e,r){var t=this.getExecHook();this.runHook(this.plugins,t,e,r);var n;if(!e.hooksRuntimes.times)n=r(e);else{var o=e.hooksRuntimes.returnValue;o===void 0?n=r(e):typeof o=="function"?n=o(e):n=o}return e.setReturnValue(n),n}},{key:"run",value:function e(e,r){try{return this.handler(e,r),e.returnValue}catch(r){throw this.handlerCatch(e,r)}finally{this.handlerFinally(e)}}},{key:"handler",value:function e(e,r){var t=this.runHooks(this.plugins,this.getBeforeHooks(),e);return t!==void 0&&e.setParameters(t),this.runExec(e,r),this.runHooks(this.plugins,this.getAfterHooks(),e),e.returnValue}},{key:"handlerCatch",value:function e(e,r){var t=h(r,Error)?r:new Error(String(r));if(e.setError(h(t,iF)?t:new iF(iW,t)),this.runHook(this.plugins,this.getErrorHook(),e),e.hooksRuntimes.returnValue){var n=e.hooksRuntimes.returnValue;e.setError(h(n,iF)?n:new iF(iW,n))}return h(e.error,iF)?e.error:new iF(iW,e.error)}},{key:"handlerFinally",value:function e(e){e.runtimes({continueOnError:!0}),this.runHooks(this.plugins,this.getFinallyHook(),e),e.reset()}},{key:"execNoError",value:function e(e,r){try{var t=r||e,n=r?e:void 0;if(typeof t!="function")throw new Error("Task must be a function!");var o=this.createContext(n!==null&&n!==void 0?n:{});return this.run(o,t)}catch(e){if(h(e,iF))return e;var a=h(e,Error)?e:new Error(String(e));return new iF(iW,a)}}},{key:"exec",value:function e(e,r){var t=r||e,n=r?e:void 0;if(typeof t!="function")throw new Error("Task must be a function!");var o=this.createContext(n!==null&&n!==void 0?n:{});return this.run(o,t)}}]);return t}(iQ);var i4="RETRY_ERROR",i6=function(){function e(r,t){u(this,e);this.onlyOne=!0;this.retryer=r,this.pluginName=t!==null&&t!==void 0?t:"RetryPlugin"}c(e,[{key:"onExec",value:function e(e,r){var t=function(){var e=a(function(e){var t;return I(this,function(n){t=r(e);return[2,h(t,Promise)?t:Promise.resolve(t)]})});return function r(r){return e.apply(this,arguments)}}(),n=function(){var e=a(function(e){return I(this,function(r){return[2,t(e)]})});return function r(r){return e.apply(this,arguments)}}(),o=this.retryer.makeRetriable(n);return function(){var e=a(function(e){return I(this,function(r){return[2,o(e)]})});return function(r){return e.apply(this,arguments)}}()}}]);return e}();var i5="Authorization",i8="Content-Type",i7="application/json",i9="json";var se="ENV_FETCH_NOT_SUPPORT",sr="FETCHER_NONE",st="RESPONSE_NOT_OK";var sn=["cache","credentials","headers","integrity","keepalive","mode","priority","redirect","referrer","referrerPolicy","signal"],so=function(){function e(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};u(this,e);if(!r.fetcher){if(typeof fetch!="function")throw new iF(se);r.fetcher=fetch}this.config=r}c(e,[{key:"getConfig",value:function e(){return this.config}},{key:"setConfig",value:function e(e){Object.assign(this.config,e)}},{key:"request",value:function e(e){var r=this;return a(function(){var t,n,o,a,u,i;return I(this,function(s){switch(s.label){case 0:t=r.getConfig(),n=iT({},t,e),o=n.fetcher,a=j(n,["fetcher"]);if(typeof o!="function")throw new iF(sr);u=r.parametersToRequest(a);return[4,o(u)];case 1:i=s.sent();return[2,r.toAdapterResponse(i,i,a)]}})})()}},{key:"buildRequestUrl",value:function e(e,r){return rP(e)||!r?e:r.endsWith("/")&&e.startsWith("/")?r.slice(0,-1)+e:r+e}},{key:"parametersToRequest",value:function e(e){var r=e.url,t=r===void 0?"/":r,n=e.baseURL,o=e.method,a=o===void 0?"GET":o,u=e.data,i=iz(e,sn);return new Request(this.buildRequestUrl(t,n),Object.assign(i,{body:u,method:a.toUpperCase()}))}},{key:"toAdapterResponse",value:function e(e,r,t){return{data:e,status:r.status,statusText:r.statusText,headers:this.getResponseHeaders(r),config:t,response:r}}},{key:"getResponseHeaders",value:function e(e){var r={};return e.headers.forEach(function(e,t){r[t]=e}),r}}]);return e}();var sa=function(){function e(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};u(this,e);this.config=t;this.axiosInstance=r.create(t)}c(e,[{key:"getConfig",value:function e(){return this.config}},{key:"setConfig",value:function e(e){Object.assign(this.config,e)}},{key:"request",value:function e(e){var r=this;return a(function(){return I(this,function(t){return[2,r.axiosInstance.request(e)]})})()}}]);return e}();var su={GET:"GET",POST:"POST",PUT:"PUT",DELETE:"DELETE",PATCH:"PATCH",HEAD:"HEAD",OPTIONS:"OPTIONS",TRACE:"TRACE",CONNECT:"CONNECT"};var si=function(){function e(r,t){u(this,e);this.adapter=r;this.executor=t}c(e,[{key:"use",value:function e(e){if(!this.executor)throw new Error("RequestExecutor: Executor is not set");return this.executor.use(e),this}},{key:"request",value:function e(e){var r=this;var t=Object.assign(id(this.adapter.getConfig()),e);return this.executor?this.executor.exec(t,function(e){return r.adapter.request(e.parameters)}):this.adapter.request(t)}},{key:"get",value:function e(e,r){return this.request(w(m({},r),{url:e,method:su.GET}))}},{key:"delete",value:function e(e,r){return this.request(w(m({},r),{url:e,method:su.DELETE}))}},{key:"head",value:function e(e,r){return this.request(w(m({},r),{url:e,method:su.HEAD}))}},{key:"options",value:function e(e,r){return this.request(w(m({},r),{url:e,method:su.OPTIONS}))}},{key:"post",value:function e(e,r,t){return this.request(w(m({},t),{url:e,data:r,method:su.POST}))}},{key:"put",value:function e(e,r,t){return this.request(w(m({},t),{url:e,data:r,method:su.PUT}))}},{key:"patch",value:function e(e,r,t){return this.request(w(m({},t),{url:e,data:r,method:su.PATCH}))}}]);return e}();var ss=function(){function e(r){u(this,e);this.config=r}c(e,[{key:"inject",value:function e(e){var r,t;var n=m({},this.config,e),o=(r=this.config.headers)!==null&&r!==void 0?r:{},a=(t=e.headers)!==null&&t!==void 0?t:{},u=m({},o,a);!rN(u,i8)&&rC(n.responseType,i9,!0)&&(u=rH(u,i8,i7));var i=this.getAuthKey(n);if(i!==!1&&!rN(u,i)){var s=this.getAuthToken(n);rC(s)&&s.length>0&&(u=rH(u,i,s))}return this.normalizeHeaders(u)}},{key:"normalizeHeaders",value:function e(e){var r={};var t=true,n=false,o=undefined;try{for(var a=Object.entries(e)[Symbol.iterator](),u;!(t=(u=a.next()).done);t=true){var i=A(u.value,2),s=i[0],c=i[1];c!=null&&(r[s]=String(c))}}catch(e){n=true;o=e}finally{try{if(!t&&a.return!=null){a.return()}}finally{if(n){throw o}}}return r}},{key:"getAuthToken",value:function e(e){var r=e.token,t="";if(typeof r=="function"){var n=r.call(e);t=rC(n)?n:""}else rC(r)&&(t=r);if(!t)return"";var o=e.tokenPrefix;return rC(o)&&o.length>0?"".concat(o," ").concat(t):t}},{key:"getAuthKey",value:function e(e){var r;return e.authKey===!1?!1:(r=e.authKey)!==null&&r!==void 0?r:i5}}]);return e}();var sc=function(){function e(r){u(this,e);this.config=r}c(e,[{key:"isFullURL",value:function e(e){return rP(e)}},{key:"createUrlObject",value:function e(e,r){var t;var n,o=!1;if(this.isFullURL(e))n=new URL(e);else if((t=this.config)===null||t===void 0?void 0:t.strict)r?n=new URL(e,r):(n=new URL(e,"http://temp"),o=!0);else{var a=typeof r=="string"&&r?r:"";a&&this.isFullURL(a)?n=new URL(e,a):(n=new URL(e,"http://temp"+a),o=!0)}return{urlObject:n,shouldReturnPathOnly:o}}},{key:"buildUrl",value:function e(e){var r=e.url,t=r===void 0?"":r,n=e.baseURL,o=n===void 0?"":n,a=e.params;if(!t)return"";var u=this.createUrlObject(t,o),i=u.urlObject,s=u.shouldReturnPathOnly;return a&&Object.keys(a).length>0&&Object.entries(a).forEach(function(e){var r=A(e,2),t=r[0],n=r[1];n!=null&&i.searchParams.set(t,String(n))}),s?i.pathname+i.search+i.hash:i.toString()}}]);return e}();var sl=function(){function e(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};u(this,e);this.pluginName="RequestPlugin";var t=r.urlBuilder,n=r.headerInjector,o=j(r,["urlBuilder","headerInjector"]);this.config=o,this.urlBuilder=t!==null&&t!==void 0?t:new sc,this.headerInjector=n!==null&&n!==void 0?n:new ss(o)}c(e,[{key:"onBefore",value:function e(e){var r=this.mergeConfig(e.parameters),t=this.processRequestData(r),n=this.buildUrl(r),o=this.injectHeaders(r);e.setParameters(w(m({},e.parameters,r),{data:t,url:n,headers:o}))}},{key:"mergeConfig",value:function e(e){var r=m({},this.config,e);return!("data"in e)&&"data"in this.config&&(r.data=this.config.data),r}},{key:"buildUrl",value:function e(e){var r=this.urlBuilder.buildUrl(e);var t,n;if(!r||r.trim()==="")throw new Error("RequestPlugin: Invalid URL. URL cannot be empty. baseURL: ".concat((t=e.baseURL)!==null&&t!==void 0?t:"undefined",", url: ").concat((n=e.url)!==null&&n!==void 0?n:"undefined"));return r}},{key:"injectHeaders",value:function e(e){return this.headerInjector.inject(e)}},{key:"processRequestData",value:function e(e){var r;var t=e.requestDataSerializer,n=e.data,o=e.headers,a=e.responseType,u=e.method,i=u===null||u===void 0?void 0:(r=u.toUpperCase())===null||r===void 0?void 0:r.trim();return i==="GET"||i==="HEAD"||i==="OPTIONS"?null:n==null?n:typeof t=="function"?t(n,w(m({},e),{requestDataSerializer:void 0})):a===i9||rN(o,i8,i7,{keyCaseSensitive:!1,valueCaseSensitive:!1})?JSON.stringify(n):n}}]);return e}();var sf=function(){function e(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};u(this,e);this.pluginName="ResponsePlugin";this.defaultParsers={json:function(e){return e.json()},text:function(e){return e.text()},blob:function(e){return e.blob()},arraybuffer:function(e){return e.arrayBuffer()},formdata:function(e){return e.formData()},stream:function(e){var r;return(r=e.body)!==null&&r!==void 0?r:null},document:function(e){return e.text()}};this.config=r,r.responseParsers===!1?this.parsers={}:this.parsers=m({},this.defaultParsers,r.responseParsers)}c(e,[{key:"enabled",value:function e(e,r){return this.config.responseParsers!==!1}},{key:"onSuccess",value:function e(e){var r=this;return a(function(){var t,n,o,a;return I(this,function(u){switch(u.label){case 0:t=e.returnValue,n=e.parameters;if(!h(t,Response))return[3,2];return[4,r.processResponse(t,n)];case 1:o=u.sent();e.setReturnValue(o);return[2];case 2:if(!rU(t))return[3,4];return[4,r.processAdapterResponse(t,n)];case 3:a=u.sent();e.setReturnValue(a);return[2];case 4:return[2]}})})()}},{key:"validateResponseStatus",value:function e(e){if(!e.ok)throw new iF(st,e)}},{key:"processResponse",value:function e(e,r){var t=this;return a(function(){var n;return I(this,function(o){switch(o.label){case 0:t.validateResponseStatus(e);return[4,t.parseResponseData(e,r.responseType)];case 1:n=o.sent();return[2,t.buildAdapterResponse(n,e,r)]}})})()}},{key:"processAdapterResponse",value:function e(e,r){var t=this;return a(function(){var n;return I(this,function(o){switch(o.label){case 0:if(!h(e.data,Response))return[2,e];return[4,t.parseResponseData(e.data,r.responseType)];case 1:n=o.sent();return[2,w(m({},e),{data:n})]}})})()}},{key:"parseResponseData",value:function e(e,r){var t=this;return a(function(){var n;return I(this,function(o){switch(o.label){case 0:if(!tg(t.config.responseDataParser))return[3,2];return[4,t.config.responseDataParser(e,r)];case 1:n=o.sent();return[3,4];case 2:return[4,t.defaultParseResponseData(e,r)];case 3:n=o.sent();o.label=4;case 4:return[2,n]}})})()}},{key:"defaultParseResponseData",value:function e(e,r){var t=this;return a(function(){var n,o,a,u,i,s;return I(this,function(c){switch(c.label){case 0:a=(o=r===null||r===void 0?void 0:(n=r.toLowerCase())===null||n===void 0?void 0:n.trim())!==null&&o!==void 0?o:i9,u=t.parsers[a];if(!(u===!1))return[3,1];i=e;return[3,6];case 1:if(!tg(u))return[3,3];return[4,u(e)];case 2:s=c.sent();return[3,5];case 3:return[4,t.fallbackParseByContentType(e,a)];case 4:s=c.sent();c.label=5;case 5:i=s;c.label=6;case 6:return[2,i]}})})()}},{key:"inferParserFromContentType",value:function e(e){var r=e.toLowerCase();if(r.includes("application/json")){var t=this.parsers.json;if(tg(t))return t}if(r.includes("text/")||r.includes("application/xml")||r.includes("application/xhtml")){var n=this.parsers.text;if(tg(n))return n}}},{key:"getFallbackParsers",value:function e(){var e=[],r=this.parsers.json;tg(r)&&e.push(r);var t=this.parsers.text;return tg(t)&&e.push(t),e}},{key:"fallbackParseByContentType",value:function e(e,r){var t=this;return a(function(){var r,n,o,a,u,i,s,c,l,f,v,h;return I(this,function(p){switch(p.label){case 0:r=e.headers.get("content-type");if(!r)return[3,4];n=t.inferParserFromContentType(r);if(!n)return[3,4];p.label=1;case 1:p.trys.push([1,3,,4]);return[4,n(e)];case 2:return[2,p.sent()];case 3:o=p.sent();return[3,4];case 4:a=t.getFallbackParsers();u=true,i=false,s=undefined;p.label=5;case 5:p.trys.push([5,12,13,14]);c=a[Symbol.iterator]();p.label=6;case 6:if(!!(u=(l=c.next()).done))return[3,11];f=l.value;p.label=7;case 7:p.trys.push([7,9,,10]);return[4,f(e)];case 8:return[2,p.sent()];case 9:v=p.sent();return[3,10];case 10:u=true;return[3,6];case 11:return[3,14];case 12:h=p.sent();i=true;s=h;return[3,14];case 13:try{if(!u&&c.return!=null){c.return()}}finally{if(i){throw s}}return[7];case 14:return[2,e]}})})()}},{key:"extractHeaders",value:function e(e){var r={};return e.headers.forEach(function(e,t){r[t]=e}),r}},{key:"buildAdapterResponse",value:function e(e,r,t){return{data:e,status:r.status,statusText:r.statusText,headers:this.extractHeaders(r),config:t,response:r}}}]);return e}();var sv;sv=Symbol.toStringTag;var sh=function(){function e(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};u(this,e);this.options=r;this[sv]="JSONSerializer"}c(e,[{key:"createReplacer",value:function e(e){return Array.isArray(e)?e:e===null?function(e,r){return typeof r=="string"?r.replace(/\r\n/g,"\n"):r}:typeof e=="function"?function(r,t){var n=typeof t=="string"?t.replace(/\r\n/g,"\n"):t;return e.call(this,r,n)}:function(e,r){return typeof r=="string"?r.replace(/\r\n/g,"\n"):r}}},{key:"stringify",value:function e(e,r,t){try{var n=this.createReplacer(r);return Array.isArray(n)?JSON.stringify(e,n,t):JSON.stringify(e,n,t!==null&&t!==void 0?t:this.options.pretty?this.options.indent||2:void 0)}catch(e){throw h(e,TypeError)&&e.message.includes("circular")?new TypeError("Cannot stringify data with circular references"):e}}},{key:"parse",value:function e(e,r){return JSON.parse(e,r)}},{key:"serialize",value:function e(e){return this.stringify(e,this.options.replacer||null,this.options.pretty?this.options.indent||2:void 0)}},{key:"deserialize",value:function e(e,r){try{return this.parse(e)}catch(e){return r}}},{key:"serializeArray",value:function e(e){return"["+e.map(function(e){return JSON.stringify(e)}).join(",")+"]"}}]);return e}();var sp=function(){function e(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};u(this,e);this.options=r}c(e,[{key:"isNodeEnvironment",value:function e(){return(typeof process==="undefined"?"undefined":S(process))<"u"&&process.versions&&!!process.versions.node}},{key:"isValidBase64",value:function e(e){try{if(!/^[A-Za-z0-9+/\-_]*={0,2}$/.test(e))return!1;var r=this.options.urlSafe?this.makeUrlUnsafe(e):e;return r.length%4!==0?!1:(this.isNodeEnvironment()?Buffer.from(r,"base64").toString("utf8"):atob(r),!0)}catch(e){return!1}}},{key:"serialize",value:function e(e){try{var r;if(this.isNodeEnvironment())r=Buffer.from(e,"utf8").toString("base64");else{var t=new TextEncoder().encode(e),n=Array.from(t,function(e){return String.fromCharCode(e)}).join("");r=btoa(n)}return this.options.urlSafe?this.makeUrlSafe(r):r}catch(e){return""}}},{key:"deserialize",value:function e(e,r){try{if(typeof e!="string")return r!==null&&r!==void 0?r:"";if(e.length===0)return"";if(!this.isValidBase64(e))return r!==null&&r!==void 0?r:"";var t=e;if(this.options.urlSafe&&(t=this.makeUrlUnsafe(e)),this.isNodeEnvironment())return Buffer.from(t,"base64").toString("utf8");{var n=atob(t),o=new Uint8Array(n.length);for(var a=0;a<n.length;a++)o[a]=n.charCodeAt(a);return new TextDecoder().decode(o)}}catch(e){return r!==null&&r!==void 0?r:""}}},{key:"makeUrlSafe",value:function e(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}},{key:"makeUrlUnsafe",value:function e(e){for(e=e.replace(/-/g,"+").replace(/_/g,"/");e.length%4;)e+="=";return e}}]);return e}();var sd=function(){function e(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};u(this,e);this.key=r;this.options=t;try{var n;var o=(n=t.storage)===null||n===void 0?void 0:n.getItem(r);this.value=o!==null&&o!==void 0?o:null}catch(e){this.value=null}}c(e,[{key:"mergeOptions",value:function e(e){return m({},this.options,e)}},{key:"getKey",value:function e(){return this.key}},{key:"getValue",value:function e(){return this.value}},{key:"get",value:function e(e){var r=this.mergeOptions(e),t=r.storage,n=j(r,["storage"]);if(this.value!=null)return this.value;if(t){var o=t.getItem(this.key,void 0,n);return o==null?(this.remove(),null):(this.value=o,o)}return this.value}},{key:"set",value:function e(e,r){var t=this.mergeOptions(r),n=t.storage,o=j(t,["storage"]);this.value=e,n&&n.setItem(this.key,e,o)}},{key:"remove",value:function e(e){var r=this.mergeOptions(e),t=r.storage,n=j(r,["storage"]);this.value=null,t===null||t===void 0?void 0:t.removeItem(this.key,n)}}]);return e}();var sy=function(){function e(r){u(this,e);this.serializer=r;this.store=new Map}c(e,[{key:"length",get:function e(){return this.store.size}},{key:"setItem",value:function e(e,r,t){var n={key:e,value:r!==null&&r!==void 0?r:null};typeof(t===null||t===void 0?void 0:t.expires)=="number"&&t.expires>0&&(n.expires=t.expires);var o=this.serializer?this.serializer.serialize(n):n;return this.store.set(e,o),o}},{key:"getItem",value:function e(e,r){var t=this.store.get(e),n=r!==null&&r!==void 0?r:null;if(!t)return n;var o=this.serializer?this.serializer.deserialize(t,n):t;return this.getRawValue(o,n)}},{key:"getRawValue",value:function e(e,r){var t,n;return this.isStorageValue(e)?this.isExpired(e)?(this.removeItem(e.key),r!==null&&r!==void 0?r:null):(t=e===null||e===void 0?void 0:e.value)!==null&&t!==void 0?t:r:(n=e!==null&&e!==void 0?e:r)!==null&&n!==void 0?n:null}},{key:"removeItem",value:function e(e){this.store.delete(e)}},{key:"clear",value:function e(){this.store.clear()}},{key:"isExpired",value:function e(e){return typeof e.expires=="number"&&e.expires<Date.now()&&e.expires>0}},{key:"isStorageValue",value:function e(e){return(typeof e==="undefined"?"undefined":S(e))=="object"&&e!==null&&"key"in e&&"value"in e}},{key:"getSerializer",value:function e(){return this.serializer}}]);return e}();var sb={setItem:{serialize:function(r,t){return(e=r).serialize.apply(e,R(t))},encrypt:function(e,t){return(r=e).encrypt.apply(r,R(t))},storage:function(e,r){return(t=e).setItem.apply(t,R(r))}},getItem:{serialize:function(e,r){return(n=e).deserialize.apply(n,R(r))},encrypt:function(e,r){return(o=e).decrypt.apply(o,R(r))},storage:function(e,r){return(i=e).getItem.apply(i,R(r))}}},sg=function(){function e(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];u(this,e);this.storage=r;this.pipes=(Array.isArray(t)?t:[t]).map(function(e){return rz(e)}).filter(function(e){return e!=null})}c(e,[{key:"length",get:function e(){return this.storage.length}},{key:"setItem",value:function e(e,r,t){var n=r;var o=true,a=false,u=undefined;try{for(var i=this.pipes[Symbol.iterator](),s;!(o=(s=i.next()).done);o=true){var c=s.value;var l=c.type,f=c.pipe;if(l==="storage")f.setItem(e,n,t);else{var v=sb.setItem[l](f,[n]);v!=null&&(n=v)}}}catch(e){a=true;u=e}finally{try{if(!o&&i.return!=null){i.return()}}finally{if(a){throw u}}}this.storage.setItem(e,n,t)}},{key:"getItem",value:function e(e,r,t){var n=this.storage.getItem(e,r,t);if(n==null){var o=R(this.pipes).reverse();var a=true,u=false,i=undefined;try{for(var s=o[Symbol.iterator](),c;!(a=(c=s.next()).done);a=true){var l=c.value;var f=l.type,v=l.pipe;if(f!=="storage")continue;var h=sb.getItem[f](v,[e,n,t]);if(h!=null){n=h;break}}}catch(e){u=true;i=e}finally{try{if(!a&&s.return!=null){s.return()}}finally{if(u){throw i}}}}if(n==null)return r!==null&&r!==void 0?r:null;var p=R(this.pipes).reverse();var d=true,y=false,b=undefined;try{for(var g=p[Symbol.iterator](),m;!(d=(m=g.next()).done);d=true){var k=m.value;var w=k.type,j=k.pipe;w!=="storage"&&(n=sb.getItem[w](j,[n]))}}catch(e){y=true;b=e}finally{try{if(!d&&g.return!=null){g.return()}}finally{if(y){throw b}}}return n!==null&&this.storage.getRawValue&&(n=this.storage.getRawValue(n,t)),n!==null&&n!==void 0?n:null}},{key:"removeItem",value:function e(e,r){this.storage.removeItem(e,r),this.pipes.filter(function(e){return e.type==="storage"}).forEach(function(t){t.pipe.removeItem(e,r)})}},{key:"clear",value:function e(){this.storage.clear(),this.pipes.filter(function(e){return e.type==="storage"}).forEach(function(e){e.pipe.clear()})}}]);return e}();return rM(rK)}();/*! Bundled license information:
|
|
2
|
+
|
|
3
|
+
lodash-es/lodash.js:
|
|
4
|
+
(**
|
|
5
|
+
* @license
|
|
6
|
+
* Lodash (Custom Build) <https://lodash.com/>
|
|
7
|
+
* Build: `lodash modularize exports="es" -o ./`
|
|
8
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
9
|
+
* Released under MIT license <https://lodash.com/license>
|
|
10
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
11
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
12
|
+
*)
|
|
13
|
+
*/
|