@zyzgroup/core-web 0.1.34 → 0.1.35
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.
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|[\u{2B740}-\u{2B81D}]
|
|
8
8
|
|[\u{2B820}-\u{2CEAF}]
|
|
9
9
|
|[\u{2CEB0}-\u{2EBEF}]
|
|
10
|
-
`.replace(/\s+/g,""),"u");break;case"mime-image":t=/^image\//;break;case"mime-video":t=/^video\//;break;case"mime-audio":t=/^audio\//;break;case"mime-document-word":t=/^application\/(?:vnd\.openxmlformats-officedocument\.wordprocessingml\.document|msword|vnd\.ms-word\.document\.macroenabled\.12|vnd\.openxmlformats-officedocument\.wordprocessingml\.template|vnd\.ms-word\.template\.macroenabled\.12)$/;break;case"mime-document-excel":t=/^application\/(?:vnd\.openxmlformats-officedocument\.spreadsheetml\.sheet|vnd\.ms-excel|vnd\.ms-excel\.sheet\.macroenabled\.12|vnd\.openxmlformats-officedocument\.spreadsheetml\.template|vnd\.ms-excel\.template\.macroenabled\.12)$/;break;case"mime-document-ppt":t=/^application\/(?:vnd\.ms-powerpoint|vnd\.openxmlformats-officedocument\.presentationml\.presentation|vnd\.ms-powerpoint\.presentation\.macroenabled\.12|vnd\.openxmlformats-officedocument\.presentationml\.template|vnd\.ms-powerpoint\.template\.macroenabled\.12)$/;break;case"mime-document-json":t=/^application\/json$/;break;case"mime-document-xml":t=/^(?:application|text)\/(?:xml|xhtml\+xml)$/;break}return t},te=(i,t)=>(typeof i=="string"&&(i=Ms(i)||new RegExp(i)),i.test(t)),gr=(i,t)=>{typeof i=="string"&&(i=Ms(i)||new RegExp(i));const e=t.match(i);return e?i.flags.toLowerCase().indexOf("g")>=0?e.map(s=>({matchIndex:-1,fullMatch:s,groupMatchs:[]})):{matchIndex:typeof e.index=="number"?e.index:-1,fullMatch:e[0],groupMatchs:e.slice(1)}:null},pr=(i,t)=>{typeof i=="string"&&(i=Ms(i)||new RegExp(i));const e=[],s=t.matchAll(i);for(const n of s)e.push({matchIndex:typeof n.index=="number"?n.index:-1,fullMatch:n[0],groupMatchs:n.slice(1)});return e};function Ch(i){const t=i.match(/[\s\S]/gu);return t?t.length:0}function yr(i,t){const e=i.codePointAt(t);return e?String.fromCodePoint(e):void 0}function wr(i=12){const t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789",e=t.length;let s="";for(let n=0;n<i;n++)s+=t[Math.floor(Math.random()*e)];return s}function Th(i){return i.replace(/(^\w)/g,t=>t.toLowerCase())}const mt=(i,t="-")=>{let e=i.replace(new RegExp(`${t}?([A-Z])`,"g"),t+"$1").toLowerCase();return e=e.replace(new RegExp(`^${t}`),""),e};function _h(i){return i.replace(/(^\w|[_-]\w)/g,t=>t.slice(-1).toUpperCase())}function xr(i){return Th(_h(i))}function br(i){let t="";for(let e=0,s=i.length;e<s;e++){const n=i.charCodeAt(e);n>=1&&n<=127?t+=i.charAt(e):n>2047?(t+=String.fromCharCode(224|n>>12&15),t+=String.fromCharCode(128|n>>6&63),t+=String.fromCharCode(128|n>>0&63)):(t+=String.fromCharCode(192|n>>6&31),t+=String.fromCharCode(128|n>>0&63))}return t}function Ph(i){return i.slice(0)}function Mh(i,t=!0){const e=t?Ph(i.buffer):i.buffer;return new i.constructor(e,i.byteOffset,i.length)}const Eh="[object String]",Ah="[object Symbol]";function Sr(i){return Object.prototype.toString.call(i)}function kh(i){return i!=null}function Ih(i){return Sr(i)===Eh}function Dh(i){return i===i+0}function Rh(i){return Sr(i)===Ah}function vr(i,...t){return new i.constructor(...t)}function Cr(i,t){for(const e in i)Object.prototype.hasOwnProperty.call(i,e)&&!t(e,i[e])&&delete i[e];return i}function Lh(i,t="",e=["","sign","key"]){return Object.keys(i).filter(s=>{for(let n=0,r=e.length;n<r;n++)if(i[s]==e[n])return!1;return!0}).sort().map(s=>`${s}=${i[s]}`).join("&")+t}function zh(i){return JSON.stringify(i)}function Oh(i){for(;i.length;)i.pop()}function Te(i,t){const e=i.findIndex(s=>s===t);return e>=0&&i.splice(e,1),i}function Tr(i,t){return i.findIndex(e=>e==t)>=0}function Fh(i,...t){return t.forEach(e=>{Tr(i,e)||i.push(e)}),i}let _r;try{_r=Map}catch{_r=function(){}}let Pr;try{Pr=Set}catch{Pr=function(){}}function It(i,t){const e=parseFloat(i);if(Number.isNaN(e)){if(typeof t=="number")return t;throw new Error(`parseNumber(${i}) is NaN!`)}return e}function Es(i,t,e=Number.EPSILON*Math.pow(2,2)){return Math.abs(i-t)<e}function F(i,t,e){const s=Math.min(t,e),n=Math.max(t,e);return i<s?s:i>n?n:i}function Bh(i,t){return(i%t+t)%t}function Di(i,t,e){return(1-e)*i+e*t}const Nh=(i,t,e)=>s=>{const n=F(s,i,t);return e==0?n:t-n<e?t:Math.round(n/e)*e};function Yh(i,t=12){return It(i,0).toFixed(t)}function $t(i,t=12){return+Yh(i,t)}function Ri(i,t){const e=gr("number-single",String(i));return{hasNumber:!!e,number:e&&!Array.isArray(e)&&e.fullMatch?parseFloat(e.fullMatch):kh(t)?t:NaN,prefix:e&&!Array.isArray(e)&&e.fullMatch?i.substring(0,e.matchIndex):"",suffix:e&&!Array.isArray(e)&&e.fullMatch?i.substring(e.matchIndex+e.fullMatch.length):""}}function Mr(i){const t=gr("number",i);return t?Array.isArray(t)?t.map(e=>Number(e.fullMatch)):[Number(t.fullMatch)]:[]}const ee=Uh();function Uh(){const i=new ArrayBuffer(4),t=new Float32Array(i),e=new Uint32Array(i),s=new Uint32Array(512),n=new Uint32Array(512);for(let h=0;h<256;++h){const c=h-127;c<-27?(s[h]=0,s[h|256]=32768,n[h]=24,n[h|256]=24):c<-14?(s[h]=1024>>-c-14,s[h|256]=1024>>-c-14|32768,n[h]=-c-1,n[h|256]=-c-1):c<=15?(s[h]=c+15<<10,s[h|256]=c+15<<10|32768,n[h]=13,n[h|256]=13):c<128?(s[h]=31744,s[h|256]=64512,n[h]=24,n[h|256]=24):(s[h]=31744,s[h|256]=64512,n[h]=13,n[h|256]=13)}const r=new Uint32Array(2048),a=new Uint32Array(64),o=new Uint32Array(64);for(let h=1;h<1024;++h){let c=h<<13,l=0;for(;!(c&8388608);)c<<=1,l-=8388608;c&=-8388609,l+=947912704,r[h]=c|l}for(let h=1024;h<2048;++h)r[h]=939524096+(h-1024<<13);for(let h=1;h<31;++h)a[h]=h<<23;a[31]=1199570944,a[32]=2147483648;for(let h=33;h<63;++h)a[h]=2147483648+(h-32<<23);a[63]=3347054592;for(let h=1;h<64;++h)h!==32&&(o[h]=1024);return{floatView:t,uint32View:e,baseTable:s,shiftTable:n,mantissaTable:r,exponentTable:a,offsetTable:o}}function Ct(i){Math.abs(i)>65504&&console.warn("toHalfFloat(): Value out of range."),i=F(i,-65504,65504),ee.floatView[0]=i;const t=ee.uint32View[0],e=t>>23&511;return ee.baseTable[e]+((t&8388607)>>ee.shiftTable[e])}function As(i){const t=i>>10;return ee.uint32View[0]=ee.mantissaTable[ee.offsetTable[t]+(i&1023)]+ee.exponentTable[t],ee.floatView[0]}var gt=(i=>(i.UNKNOWN="",i.TEXT="text/plain",i.MD="text/plain",i.HTML="text/html",i.XML_TEXT="text/xml",i.CSS="text/css",i.JPEG="image/jpeg",i.PNG="image/png",i.GIF="image/gif",i.BMP="image/bmp",i.WEBP="image/webp",i.SVG="image/svg+xml",i.ICON="image/x-icon",i.MICROSOFT_ICON="image/vnd.microsoft.icon",i.MPEG="audio/mpeg",i.MP3="audio/mpeg",i.MP4="video/mp4",i.OGG="audio/ogg",i.WAV="audio/wav",i.MIDI="audio/midi",i.WEBM="video/webm",i.VIDEO_OGG="video/ogg",i.OCTET_STREAM="application/octet-stream",i.JAVASCRIPT="application/javascript",i.ECMASCRIPT="application/ecmascript",i.JSON="application/json",i.XML="application/xml",i.XHTML="application/xhtml+xml",i.XWWW="application/x-www-form-urlencoded",i.DOC="application/msword",i.CSV="application/x-csv",i.EXCEL="application/vnb.ms-excel",i.PPT="application/vnb.mspowerpoint",i.PDF="application/pdf",i.ZIP="application/zip",i.TGZ="application/x-gtar",i.TAR_GZ="application/x-gzip",i.EOT="appliaction/vnd.ms-fontobject",i.TTF="aplication/font-sfnt",i.PKCS12="aplication/pkcs12",i))(gt||{}),ks=(i=>(i.ascii="ascii",i.utf8="utf8",i.utf16le="utf16le",i.ucs2="ucs2",i.base64="base64",i.base64url="base64url",i.latin1="latin1",i.binary="binary",i.hex="hex",i))(ks||{}),Dt=(i=>(i.text="text",i.dataURL="dataURL",i.binaryString="binaryString",i.arraybuffer="arraybuffer",i))(Dt||{});const Ve=(i,t=16)=>{let e=i.toLowerCase();const s=e.indexOf("0b")==0,n=e.indexOf("0o")==0,r=e.indexOf("0x")==0;(s||n||r)&&(e=e.slice(2)),s&&(t=2),n&&(t=8),r&&(t=16);const a=parseInt(e,t);if(isNaN(a))throw new Error(`radixStringToNumber(${i}, ${t}) 无法解析!`);return a};function Xh(i){return new TextEncoder().encode(i)}function Vh(i){return String.fromCharCode.apply(null,new Uint16Array(i))}const Li=(i,t,e)=>t?e===ks.base64?new Blob([i],{type:`${t};${e}`}):e===ks.utf8?new Blob([i],{type:`${t};charset=${e}`}):new Blob([i],{type:`${t}`}):new Blob([i]),Gh=i=>{let t=gt.UNKNOWN;switch(new DataView(i).getUint32(0,qh()).toString(16).toUpperCase()){case"FFD8FFDB":t=gt.JPEG;break;case"FFD8FFE0":case"FFD8FFE1":case"FFD8FFE2":case"FFD8FFE3":t=gt.JPEG;break;case"89504E47":t=gt.PNG;break;case"47494638":t=gt.GIF;break;case"52494646":t=gt.WEBP;break;case"25504446":t=gt.PDF;break;case"504B0304":t=gt.ZIP;break}return t};function qh(){const i=Uint32Array.of(305419896),t=new Uint8Array(i.buffer);switch(t[0]*16777216+t[1]*65536+t[2]*256+t[3]){case 305419896:return!1;case 2018915346:return!0}}function J(){return(performance||Date).now()}function jh(i,t=3){const e=Math.max(i.length,6);let s="";for(let r=0;r<e-4;r++)s+=i[r]||"0";const n=[s,""+(i[e-4]||"0")+(i[e-3]||"0"),""+(i[e-2]||"0")+(i[e-1]||"0")];switch(t){case 1:return n[0];case 2:return n[0]+":"+n[1];case 3:return n[0]+":"+n[1]+":"+n[2]}}function Hh(i){const t=Math.max(i.length,6);let e=0;e+=(i[t-2]||0)*10+(i[t-1]||0),e+=((i[t-4]||0)*10+(i[t-3]||0))*60;let s=0;for(let n=0;n<t-4;n++)s=s*10+(i[n]||0);return e+=s*60*60,e=Math.floor(Math.max(0,e)),e}function $h(i,t=!1){let e=0,s;typeof i=="number"?(e=i,s=[]):(s=i,e=Hh(s),Oh(s));const n=e%60;s.unshift(n%10),s.unshift(Math.floor(n/10)),e=Math.floor(e/60);const r=e%60;if(s.unshift(r%10),s.unshift(Math.floor(r/10)),e=Math.floor(e/60),t){const a=e%100;for(s.unshift(a%10),s.unshift(Math.floor(a/10)),e=Math.floor(e/100);e;)s.unshift(e%10),e=Math.floor(e/10)}else{const a=e%24;s.unshift(a%10),s.unshift(Math.floor(a/10))}return s}function Wh(i,t=1,e=!1){return i[i.length-1]+=t,$h(i,e)}class Ge{events;constructor(){this.events={}}isEmpty(t){return this.events[t]==null||this.events[t].length==0}has(t,e){return this.events[t]!==void 0&&this.events[t].indexOf(e)!==-1}prependListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].unshift(e),this}addListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].push(e),this}on(t,e){return this.addListener(t,e),this}removeListener(t,e){return this.events[t]&&(this.events[t]=this.events[t].filter(s=>s!==e)),this}off(t,e){return this.removeListener(t,e),this}removeAllListeners(t){return t?this.events[t]=[]:this.events={},this}emit(t,...e){return this.events[t]&&this.events[t].slice(0).forEach(n=>{n(...e)}),this}once(t,e){const n=(()=>{let r=!1;return(...a)=>{r||(r=!0,e(...a),this.off(t,n))}})();return this.on(t,n),this}}class _e{_maps=new Map;_mapsAddedDuringUpdate=new Map;_overflow;constructor(t){this._overflow=()=>{if(!t)return!1;const e=this.length;return e==0?!1:t?.overflow?t.overflow():!!t.size&&t.size>0&&e>=t.size}}entries(){return Array.from(this._maps.entries())}keys(){return Array.from(this._maps.keys())}values(){return Array.from(this._maps.values())}json(){return this.entries().reduce((t,[e,s])=>((Ih(e)||Dh(e)||Rh(e))&&(t[e]=s),t),{})}get length(){return this.entries().length}set(t,e){for(;this._overflow();){const s=this._maps.keys().next();s.done||this.delete(s.value)}this._maps.set(t,e),this._mapsAddedDuringUpdate.set(t,e)}get(t){return this._maps.get(t)}has(t){return this._maps.has(t)}getIndex(t){const e=this.entries();if(e.length&&e[t])return e[t]}top(){return this.getIndex(0)}shift(){const t=this.top();if(t){const[e]=t;this.delete(e)}return t}delete(t){return this._mapsAddedDuringUpdate.delete(t),this._maps.delete(t)}clear(){this._maps.clear(),this._mapsAddedDuringUpdate.clear()}flush(){this.clear()}filter(t){let e=Array.from(this._maps.entries());for(;e.length>0;){this._mapsAddedDuringUpdate.clear();for(let s=0,n=e.length;s<n;s++){const[r,a]=e[s];t(r,a)===!1&&this.delete(r)}e=Array.from(this._mapsAddedDuringUpdate.entries())}}}const Er=Ps().openLog||!1,Ar=Ps().logUploadFn||((i,t)=>{});function Pe(i){Ar("info",i),Er&&(!console||typeof console!="object"||typeof console.log!="function"||console.log(i))}function Jh(i){Ar("warn",i),Er&&(!console||typeof console!="object"||typeof console.warn!="function"||console.warn(i))}const zi=()=>{};function Oi(i,t=3,e){return async function(...s){let n;for(let r=0;r<t;r++)try{return await i.call(this,...s)}catch(a){Pe(`(${i.name}) attempt ${r+1} failed, retrying...`),n=a,await new Promise(o=>setTimeout(o,typeof e=="number"?e:300*Math.pow(2,r)))}throw Pe(`(${i.name}) max retries reached. Last error: ${n.message}`),n}}function Fi(i,t=6e4){const e=new _e,s=new _e;return async function(...n){const r=Date.now();e.filter((h,c)=>r-c.timestamp<t);const a=JSON.stringify(n),o=e.get(a);if(o){if(r-o.timestamp<t)return Pe(`(${i.name}) cache hit!`),o.value;e.delete(a)}try{let h;const c=s.get(a);if(c)Pe(`(${i.name}) cache waiting previous!`),h=await c,s.delete(a),Pe(`(${i.name}) cache waited!`);else{Pe(`(${i.name}) cache miss, fetching fresh data...`);const l=i.call(this,...n);s.set(a,l),h=await l,Pe(`(${i.name}) cache settled!`)}return e.set(a,{value:h,timestamp:Date.now()}),s.delete(a),h}catch(h){throw h}}}Array.prototype.ap=function(i){return this.reduce((t,e)=>t.concat(i.map(e)),[])};let es;function xt(i){es=i,i(),es=null}class Zh{subscribers=new Set;add(){es&&!this.subscribers.has(es)&&this.subscribers.add(es)}notify(){this.subscribers.forEach(t=>t())}}const kr=new WeakMap;function Is(i,t){let e=kr.get(i);e||(e=new Map,kr.set(i,e));let s=e.get(t);return s||(s=new Zh,e.set(t,s)),s}function Kh(i,t=!1){return Object.keys(i).forEach(e=>{let s=i[e];if(t&&typeof s=="object"&&s!==null)i[e]=Bi(s,t);else{const n=Is(i,e);Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get(){return n.add(),s},set(r){s!=r&&(s=r,n.notify())}})}}),i}function Ds(i,t=!1){return Kh({value:i},t)}function Bi(i,t=!1){const e={get(n,r,a){const o=Reflect.get(n,r,a);if(t&&typeof o=="object"&&o!==null&&!("isYZReactiveProxy"in o)){const c=Bi(o,t);c.YZReactiveProxyParentTarget=n,c.YZReactiveProxyParentKey=r,Reflect.set(a,r,c)}return Is(n,r).add(),Reflect.get(n,r,a)},set(n,r,a,o){const h=Reflect.get(n,r,o),c=Reflect.set(n,r,a,o);return Array.isArray(n)?Is(n.YZReactiveProxyParentTarget,n.YZReactiveProxyParentKey).notify():h!=a&&Is(n,r).notify(),c},has(n,r){return r==="isYZReactiveProxy"||r in n}};return new Proxy(i,e)}const Ir=Bi;function Qh(i=3,t){return function(e,s,n){const r=`${e.constructor.name}.${String(s)}`,a=n.value;if(typeof a!="function")throw new SyntaxError(`@Retry() can only be used on functions, not: ${r}`);const o=Oi(a,i,t);return{...n,async value(...h){return await o.apply(this,h)}}}}function tc(i=6e4){return function(t,e,s){const n=`${t.constructor.name}.${String(e)}`,r=s.value;if(typeof r!="function")throw new SyntaxError(`@Cache() can only be used on functions, not: ${n}`);const a=Fi(r,i);return{...s,async value(...o){return await a.apply(this,o)}}}}function ec(i,t=(e,s)=>e<=s){const e=i.length;let s=Math.floor(e/2);for(;s>0;){for(let n=s;n<e;n++){const r=i[n];let a=n;for(;a>=s&&!t(i[a-s],r);)i[a]=i[a-s],a-=s;i[a]=r}s=Math.floor(s/2)}}function sc(){const i={};return i.promise=new Promise((t,e)=>{i.resolve=t,i.reject=e}),i}let Dr;try{Dr=Promise}catch{Dr=function(){}}function Rr(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Lr={exports:{}};(function(i,t){(function(e){i.exports=e()})(function(e){var s=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function n(b,S){var y=b[0],w=b[1],P=b[2],_=b[3];y+=(w&P|~w&_)+S[0]-680876936|0,y=(y<<7|y>>>25)+w|0,_+=(y&w|~y&P)+S[1]-389564586|0,_=(_<<12|_>>>20)+y|0,P+=(_&y|~_&w)+S[2]+606105819|0,P=(P<<17|P>>>15)+_|0,w+=(P&_|~P&y)+S[3]-1044525330|0,w=(w<<22|w>>>10)+P|0,y+=(w&P|~w&_)+S[4]-176418897|0,y=(y<<7|y>>>25)+w|0,_+=(y&w|~y&P)+S[5]+1200080426|0,_=(_<<12|_>>>20)+y|0,P+=(_&y|~_&w)+S[6]-1473231341|0,P=(P<<17|P>>>15)+_|0,w+=(P&_|~P&y)+S[7]-45705983|0,w=(w<<22|w>>>10)+P|0,y+=(w&P|~w&_)+S[8]+1770035416|0,y=(y<<7|y>>>25)+w|0,_+=(y&w|~y&P)+S[9]-1958414417|0,_=(_<<12|_>>>20)+y|0,P+=(_&y|~_&w)+S[10]-42063|0,P=(P<<17|P>>>15)+_|0,w+=(P&_|~P&y)+S[11]-1990404162|0,w=(w<<22|w>>>10)+P|0,y+=(w&P|~w&_)+S[12]+1804603682|0,y=(y<<7|y>>>25)+w|0,_+=(y&w|~y&P)+S[13]-40341101|0,_=(_<<12|_>>>20)+y|0,P+=(_&y|~_&w)+S[14]-1502002290|0,P=(P<<17|P>>>15)+_|0,w+=(P&_|~P&y)+S[15]+1236535329|0,w=(w<<22|w>>>10)+P|0,y+=(w&_|P&~_)+S[1]-165796510|0,y=(y<<5|y>>>27)+w|0,_+=(y&P|w&~P)+S[6]-1069501632|0,_=(_<<9|_>>>23)+y|0,P+=(_&w|y&~w)+S[11]+643717713|0,P=(P<<14|P>>>18)+_|0,w+=(P&y|_&~y)+S[0]-373897302|0,w=(w<<20|w>>>12)+P|0,y+=(w&_|P&~_)+S[5]-701558691|0,y=(y<<5|y>>>27)+w|0,_+=(y&P|w&~P)+S[10]+38016083|0,_=(_<<9|_>>>23)+y|0,P+=(_&w|y&~w)+S[15]-660478335|0,P=(P<<14|P>>>18)+_|0,w+=(P&y|_&~y)+S[4]-405537848|0,w=(w<<20|w>>>12)+P|0,y+=(w&_|P&~_)+S[9]+568446438|0,y=(y<<5|y>>>27)+w|0,_+=(y&P|w&~P)+S[14]-1019803690|0,_=(_<<9|_>>>23)+y|0,P+=(_&w|y&~w)+S[3]-187363961|0,P=(P<<14|P>>>18)+_|0,w+=(P&y|_&~y)+S[8]+1163531501|0,w=(w<<20|w>>>12)+P|0,y+=(w&_|P&~_)+S[13]-1444681467|0,y=(y<<5|y>>>27)+w|0,_+=(y&P|w&~P)+S[2]-51403784|0,_=(_<<9|_>>>23)+y|0,P+=(_&w|y&~w)+S[7]+1735328473|0,P=(P<<14|P>>>18)+_|0,w+=(P&y|_&~y)+S[12]-1926607734|0,w=(w<<20|w>>>12)+P|0,y+=(w^P^_)+S[5]-378558|0,y=(y<<4|y>>>28)+w|0,_+=(y^w^P)+S[8]-2022574463|0,_=(_<<11|_>>>21)+y|0,P+=(_^y^w)+S[11]+1839030562|0,P=(P<<16|P>>>16)+_|0,w+=(P^_^y)+S[14]-35309556|0,w=(w<<23|w>>>9)+P|0,y+=(w^P^_)+S[1]-1530992060|0,y=(y<<4|y>>>28)+w|0,_+=(y^w^P)+S[4]+1272893353|0,_=(_<<11|_>>>21)+y|0,P+=(_^y^w)+S[7]-155497632|0,P=(P<<16|P>>>16)+_|0,w+=(P^_^y)+S[10]-1094730640|0,w=(w<<23|w>>>9)+P|0,y+=(w^P^_)+S[13]+681279174|0,y=(y<<4|y>>>28)+w|0,_+=(y^w^P)+S[0]-358537222|0,_=(_<<11|_>>>21)+y|0,P+=(_^y^w)+S[3]-722521979|0,P=(P<<16|P>>>16)+_|0,w+=(P^_^y)+S[6]+76029189|0,w=(w<<23|w>>>9)+P|0,y+=(w^P^_)+S[9]-640364487|0,y=(y<<4|y>>>28)+w|0,_+=(y^w^P)+S[12]-421815835|0,_=(_<<11|_>>>21)+y|0,P+=(_^y^w)+S[15]+530742520|0,P=(P<<16|P>>>16)+_|0,w+=(P^_^y)+S[2]-995338651|0,w=(w<<23|w>>>9)+P|0,y+=(P^(w|~_))+S[0]-198630844|0,y=(y<<6|y>>>26)+w|0,_+=(w^(y|~P))+S[7]+1126891415|0,_=(_<<10|_>>>22)+y|0,P+=(y^(_|~w))+S[14]-1416354905|0,P=(P<<15|P>>>17)+_|0,w+=(_^(P|~y))+S[5]-57434055|0,w=(w<<21|w>>>11)+P|0,y+=(P^(w|~_))+S[12]+1700485571|0,y=(y<<6|y>>>26)+w|0,_+=(w^(y|~P))+S[3]-1894986606|0,_=(_<<10|_>>>22)+y|0,P+=(y^(_|~w))+S[10]-1051523|0,P=(P<<15|P>>>17)+_|0,w+=(_^(P|~y))+S[1]-2054922799|0,w=(w<<21|w>>>11)+P|0,y+=(P^(w|~_))+S[8]+1873313359|0,y=(y<<6|y>>>26)+w|0,_+=(w^(y|~P))+S[15]-30611744|0,_=(_<<10|_>>>22)+y|0,P+=(y^(_|~w))+S[6]-1560198380|0,P=(P<<15|P>>>17)+_|0,w+=(_^(P|~y))+S[13]+1309151649|0,w=(w<<21|w>>>11)+P|0,y+=(P^(w|~_))+S[4]-145523070|0,y=(y<<6|y>>>26)+w|0,_+=(w^(y|~P))+S[11]-1120210379|0,_=(_<<10|_>>>22)+y|0,P+=(y^(_|~w))+S[2]+718787259|0,P=(P<<15|P>>>17)+_|0,w+=(_^(P|~y))+S[9]-343485551|0,w=(w<<21|w>>>11)+P|0,b[0]=y+b[0]|0,b[1]=w+b[1]|0,b[2]=P+b[2]|0,b[3]=_+b[3]|0}function r(b){var S=[],y;for(y=0;y<64;y+=4)S[y>>2]=b.charCodeAt(y)+(b.charCodeAt(y+1)<<8)+(b.charCodeAt(y+2)<<16)+(b.charCodeAt(y+3)<<24);return S}function a(b){var S=[],y;for(y=0;y<64;y+=4)S[y>>2]=b[y]+(b[y+1]<<8)+(b[y+2]<<16)+(b[y+3]<<24);return S}function o(b){var S=b.length,y=[1732584193,-271733879,-1732584194,271733878],w,P,_,R,X,G;for(w=64;w<=S;w+=64)n(y,r(b.substring(w-64,w)));for(b=b.substring(w-64),P=b.length,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w=0;w<P;w+=1)_[w>>2]|=b.charCodeAt(w)<<(w%4<<3);if(_[w>>2]|=128<<(w%4<<3),w>55)for(n(y,_),w=0;w<16;w+=1)_[w]=0;return R=S*8,R=R.toString(16).match(/(.*?)(.{0,8})$/),X=parseInt(R[2],16),G=parseInt(R[1],16)||0,_[14]=X,_[15]=G,n(y,_),y}function h(b){var S=b.length,y=[1732584193,-271733879,-1732584194,271733878],w,P,_,R,X,G;for(w=64;w<=S;w+=64)n(y,a(b.subarray(w-64,w)));for(b=w-64<S?b.subarray(w-64):new Uint8Array(0),P=b.length,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w=0;w<P;w+=1)_[w>>2]|=b[w]<<(w%4<<3);if(_[w>>2]|=128<<(w%4<<3),w>55)for(n(y,_),w=0;w<16;w+=1)_[w]=0;return R=S*8,R=R.toString(16).match(/(.*?)(.{0,8})$/),X=parseInt(R[2],16),G=parseInt(R[1],16)||0,_[14]=X,_[15]=G,n(y,_),y}function c(b){var S="",y;for(y=0;y<4;y+=1)S+=s[b>>y*8+4&15]+s[b>>y*8&15];return S}function l(b){var S;for(S=0;S<b.length;S+=1)b[S]=c(b[S]);return b.join("")}l(o("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function b(S,y){return S=S|0||0,S<0?Math.max(S+y,0):Math.min(S,y)}ArrayBuffer.prototype.slice=function(S,y){var w=this.byteLength,P=b(S,w),_=w,R,X,G,$;return y!==e&&(_=b(y,w)),P>_?new ArrayBuffer(0):(R=_-P,X=new ArrayBuffer(R),G=new Uint8Array(X),$=new Uint8Array(this,P,R),G.set($),X)}}();function u(b){return/[\u0080-\uFFFF]/.test(b)&&(b=unescape(encodeURIComponent(b))),b}function d(b,S){var y=b.length,w=new ArrayBuffer(y),P=new Uint8Array(w),_;for(_=0;_<y;_+=1)P[_]=b.charCodeAt(_);return S?P:w}function m(b){return String.fromCharCode.apply(null,new Uint8Array(b))}function g(b,S,y){var w=new Uint8Array(b.byteLength+S.byteLength);return w.set(new Uint8Array(b)),w.set(new Uint8Array(S),b.byteLength),y?w:w.buffer}function v(b){var S=[],y=b.length,w;for(w=0;w<y-1;w+=2)S.push(parseInt(b.substr(w,2),16));return String.fromCharCode.apply(String,S)}function C(){this.reset()}return C.prototype.append=function(b){return this.appendBinary(u(b)),this},C.prototype.appendBinary=function(b){this._buff+=b,this._length+=b.length;var S=this._buff.length,y;for(y=64;y<=S;y+=64)n(this._hash,r(this._buff.substring(y-64,y)));return this._buff=this._buff.substring(y-64),this},C.prototype.end=function(b){var S=this._buff,y=S.length,w,P=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_;for(w=0;w<y;w+=1)P[w>>2]|=S.charCodeAt(w)<<(w%4<<3);return this._finish(P,y),_=l(this._hash),b&&(_=v(_)),this.reset(),_},C.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},C.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},C.prototype.setState=function(b){return this._buff=b.buff,this._length=b.length,this._hash=b.hash,this},C.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},C.prototype._finish=function(b,S){var y=S,w,P,_;if(b[y>>2]|=128<<(y%4<<3),y>55)for(n(this._hash,b),y=0;y<16;y+=1)b[y]=0;w=this._length*8,w=w.toString(16).match(/(.*?)(.{0,8})$/),P=parseInt(w[2],16),_=parseInt(w[1],16)||0,b[14]=P,b[15]=_,n(this._hash,b)},C.hash=function(b,S){return C.hashBinary(u(b),S)},C.hashBinary=function(b,S){var y=o(b),w=l(y);return S?v(w):w},C.ArrayBuffer=function(){this.reset()},C.ArrayBuffer.prototype.append=function(b){var S=g(this._buff.buffer,b,!0),y=S.length,w;for(this._length+=b.byteLength,w=64;w<=y;w+=64)n(this._hash,a(S.subarray(w-64,w)));return this._buff=w-64<y?new Uint8Array(S.buffer.slice(w-64)):new Uint8Array(0),this},C.ArrayBuffer.prototype.end=function(b){var S=this._buff,y=S.length,w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],P,_;for(P=0;P<y;P+=1)w[P>>2]|=S[P]<<(P%4<<3);return this._finish(w,y),_=l(this._hash),b&&(_=v(_)),this.reset(),_},C.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},C.ArrayBuffer.prototype.getState=function(){var b=C.prototype.getState.call(this);return b.buff=m(b.buff),b},C.ArrayBuffer.prototype.setState=function(b){return b.buff=d(b.buff,!0),C.prototype.setState.call(this,b)},C.ArrayBuffer.prototype.destroy=C.prototype.destroy,C.ArrayBuffer.prototype._finish=C.prototype._finish,C.ArrayBuffer.hash=function(b,S){var y=h(new Uint8Array(b)),w=l(y);return S?v(w):w},C})})(Lr);var ic=Lr.exports;const nc=Rr(ic);function zr(i,t){return function(){return i.apply(t,arguments)}}const{toString:rc}=Object.prototype,{getPrototypeOf:Ni}=Object,Rs=(i=>t=>{const e=rc.call(t);return i[e]||(i[e]=e.slice(8,-1).toLowerCase())})(Object.create(null)),Nt=i=>(i=i.toLowerCase(),t=>Rs(t)===i),Ls=i=>t=>typeof t===i,{isArray:qe}=Array,ss=Ls("undefined");function ac(i){return i!==null&&!ss(i)&&i.constructor!==null&&!ss(i.constructor)&&Tt(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}const Or=Nt("ArrayBuffer");function oc(i){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(i):t=i&&i.buffer&&Or(i.buffer),t}const hc=Ls("string"),Tt=Ls("function"),Fr=Ls("number"),zs=i=>i!==null&&typeof i=="object",cc=i=>i===!0||i===!1,Os=i=>{if(Rs(i)!=="object")return!1;const t=Ni(i);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in i)&&!(Symbol.iterator in i)},lc=Nt("Date"),uc=Nt("File"),fc=Nt("Blob"),dc=Nt("FileList"),mc=i=>zs(i)&&Tt(i.pipe),gc=i=>{let t;return i&&(typeof FormData=="function"&&i instanceof FormData||Tt(i.append)&&((t=Rs(i))==="formdata"||t==="object"&&Tt(i.toString)&&i.toString()==="[object FormData]"))},pc=Nt("URLSearchParams"),[yc,wc,xc,bc]=["ReadableStream","Request","Response","Headers"].map(Nt),Sc=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function is(i,t,{allOwnKeys:e=!1}={}){if(i===null||typeof i>"u")return;let s,n;if(typeof i!="object"&&(i=[i]),qe(i))for(s=0,n=i.length;s<n;s++)t.call(null,i[s],s,i);else{const r=e?Object.getOwnPropertyNames(i):Object.keys(i),a=r.length;let o;for(s=0;s<a;s++)o=r[s],t.call(null,i[o],o,i)}}function Br(i,t){t=t.toLowerCase();const e=Object.keys(i);let s=e.length,n;for(;s-- >0;)if(n=e[s],t===n.toLowerCase())return n;return null}const Me=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Nr=i=>!ss(i)&&i!==Me;function Yi(){const{caseless:i}=Nr(this)&&this||{},t={},e=(s,n)=>{const r=i&&Br(t,n)||n;Os(t[r])&&Os(s)?t[r]=Yi(t[r],s):Os(s)?t[r]=Yi({},s):qe(s)?t[r]=s.slice():t[r]=s};for(let s=0,n=arguments.length;s<n;s++)arguments[s]&&is(arguments[s],e);return t}const vc=(i,t,e,{allOwnKeys:s}={})=>(is(t,(n,r)=>{e&&Tt(n)?i[r]=zr(n,e):i[r]=n},{allOwnKeys:s}),i),Cc=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),Tc=(i,t,e,s)=>{i.prototype=Object.create(t.prototype,s),i.prototype.constructor=i,Object.defineProperty(i,"super",{value:t.prototype}),e&&Object.assign(i.prototype,e)},_c=(i,t,e,s)=>{let n,r,a;const o={};if(t=t||{},i==null)return t;do{for(n=Object.getOwnPropertyNames(i),r=n.length;r-- >0;)a=n[r],(!s||s(a,i,t))&&!o[a]&&(t[a]=i[a],o[a]=!0);i=e!==!1&&Ni(i)}while(i&&(!e||e(i,t))&&i!==Object.prototype);return t},Pc=(i,t,e)=>{i=String(i),(e===void 0||e>i.length)&&(e=i.length),e-=t.length;const s=i.indexOf(t,e);return s!==-1&&s===e},Mc=i=>{if(!i)return null;if(qe(i))return i;let t=i.length;if(!Fr(t))return null;const e=new Array(t);for(;t-- >0;)e[t]=i[t];return e},Ec=(i=>t=>i&&t instanceof i)(typeof Uint8Array<"u"&&Ni(Uint8Array)),Ac=(i,t)=>{const s=(i&&i[Symbol.iterator]).call(i);let n;for(;(n=s.next())&&!n.done;){const r=n.value;t.call(i,r[0],r[1])}},kc=(i,t)=>{let e;const s=[];for(;(e=i.exec(t))!==null;)s.push(e);return s},Ic=Nt("HTMLFormElement"),Dc=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,s,n){return s.toUpperCase()+n}),Yr=(({hasOwnProperty:i})=>(t,e)=>i.call(t,e))(Object.prototype),Rc=Nt("RegExp"),Ur=(i,t)=>{const e=Object.getOwnPropertyDescriptors(i),s={};is(e,(n,r)=>{let a;(a=t(n,r,i))!==!1&&(s[r]=a||n)}),Object.defineProperties(i,s)},Lc=i=>{Ur(i,(t,e)=>{if(Tt(i)&&["arguments","caller","callee"].indexOf(e)!==-1)return!1;const s=i[e];if(Tt(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+e+"'")})}})},zc=(i,t)=>{const e={},s=n=>{n.forEach(r=>{e[r]=!0})};return qe(i)?s(i):s(String(i).split(t)),e},Oc=()=>{},Fc=(i,t)=>i!=null&&Number.isFinite(i=+i)?i:t;function Bc(i){return!!(i&&Tt(i.append)&&i[Symbol.toStringTag]==="FormData"&&i[Symbol.iterator])}const Nc=i=>{const t=new Array(10),e=(s,n)=>{if(zs(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[n]=s;const r=qe(s)?[]:{};return is(s,(a,o)=>{const h=e(a,n+1);!ss(h)&&(r[o]=h)}),t[n]=void 0,r}}return s};return e(i,0)},Yc=Nt("AsyncFunction"),Uc=i=>i&&(zs(i)||Tt(i))&&Tt(i.then)&&Tt(i.catch),Xr=((i,t)=>i?setImmediate:t?((e,s)=>(Me.addEventListener("message",({source:n,data:r})=>{n===Me&&r===e&&s.length&&s.shift()()},!1),n=>{s.push(n),Me.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate=="function",Tt(Me.postMessage)),Xc=typeof queueMicrotask<"u"?queueMicrotask.bind(Me):typeof process<"u"&&process.nextTick||Xr,A={isArray:qe,isArrayBuffer:Or,isBuffer:ac,isFormData:gc,isArrayBufferView:oc,isString:hc,isNumber:Fr,isBoolean:cc,isObject:zs,isPlainObject:Os,isReadableStream:yc,isRequest:wc,isResponse:xc,isHeaders:bc,isUndefined:ss,isDate:lc,isFile:uc,isBlob:fc,isRegExp:Rc,isFunction:Tt,isStream:mc,isURLSearchParams:pc,isTypedArray:Ec,isFileList:dc,forEach:is,merge:Yi,extend:vc,trim:Sc,stripBOM:Cc,inherits:Tc,toFlatObject:_c,kindOf:Rs,kindOfTest:Nt,endsWith:Pc,toArray:Mc,forEachEntry:Ac,matchAll:kc,isHTMLForm:Ic,hasOwnProperty:Yr,hasOwnProp:Yr,reduceDescriptors:Ur,freezeMethods:Lc,toObjectSet:zc,toCamelCase:Dc,noop:Oc,toFiniteNumber:Fc,findKey:Br,global:Me,isContextDefined:Nr,isSpecCompliantForm:Bc,toJSONObject:Nc,isAsyncFn:Yc,isThenable:Uc,setImmediate:Xr,asap:Xc};function N(i,t,e,s,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=i,this.name="AxiosError",t&&(this.code=t),e&&(this.config=e),s&&(this.request=s),n&&(this.response=n,this.status=n.status?n.status:null)}A.inherits(N,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:A.toJSONObject(this.config),code:this.code,status:this.status}}});const Vr=N.prototype,Gr={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(i=>{Gr[i]={value:i}}),Object.defineProperties(N,Gr),Object.defineProperty(Vr,"isAxiosError",{value:!0}),N.from=(i,t,e,s,n,r)=>{const a=Object.create(Vr);return A.toFlatObject(i,a,function(h){return h!==Error.prototype},o=>o!=="isAxiosError"),N.call(a,i.message,t,e,s,n),a.cause=i,a.name=i.name,r&&Object.assign(a,r),a};const Vc=null;function Ui(i){return A.isPlainObject(i)||A.isArray(i)}function qr(i){return A.endsWith(i,"[]")?i.slice(0,-2):i}function jr(i,t,e){return i?i.concat(t).map(function(n,r){return n=qr(n),!e&&r?"["+n+"]":n}).join(e?".":""):t}function Gc(i){return A.isArray(i)&&!i.some(Ui)}const qc=A.toFlatObject(A,{},null,function(t){return/^is[A-Z]/.test(t)});function Fs(i,t,e){if(!A.isObject(i))throw new TypeError("target must be an object");t=t||new FormData,e=A.toFlatObject(e,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,C){return!A.isUndefined(C[v])});const s=e.metaTokens,n=e.visitor||l,r=e.dots,a=e.indexes,h=(e.Blob||typeof Blob<"u"&&Blob)&&A.isSpecCompliantForm(t);if(!A.isFunction(n))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(A.isDate(g))return g.toISOString();if(!h&&A.isBlob(g))throw new N("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(g)||A.isTypedArray(g)?h&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function l(g,v,C){let b=g;if(g&&!C&&typeof g=="object"){if(A.endsWith(v,"{}"))v=s?v:v.slice(0,-2),g=JSON.stringify(g);else if(A.isArray(g)&&Gc(g)||(A.isFileList(g)||A.endsWith(v,"[]"))&&(b=A.toArray(g)))return v=qr(v),b.forEach(function(y,w){!(A.isUndefined(y)||y===null)&&t.append(a===!0?jr([v],w,r):a===null?v:v+"[]",c(y))}),!1}return Ui(g)?!0:(t.append(jr(C,v,r),c(g)),!1)}const u=[],d=Object.assign(qc,{defaultVisitor:l,convertValue:c,isVisitable:Ui});function m(g,v){if(!A.isUndefined(g)){if(u.indexOf(g)!==-1)throw Error("Circular reference detected in "+v.join("."));u.push(g),A.forEach(g,function(b,S){(!(A.isUndefined(b)||b===null)&&n.call(t,b,A.isString(S)?S.trim():S,v,d))===!0&&m(b,v?v.concat(S):[S])}),u.pop()}}if(!A.isObject(i))throw new TypeError("data must be an object");return m(i),t}function Hr(i){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Xi(i,t){this._pairs=[],i&&Fs(i,this,t)}const $r=Xi.prototype;$r.append=function(t,e){this._pairs.push([t,e])},$r.toString=function(t){const e=t?function(s){return t.call(this,s,Hr)}:Hr;return this._pairs.map(function(n){return e(n[0])+"="+e(n[1])},"").join("&")};function jc(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Wr(i,t,e){if(!t)return i;const s=e&&e.encode||jc;A.isFunction(e)&&(e={serialize:e});const n=e&&e.serialize;let r;if(n?r=n(t,e):r=A.isURLSearchParams(t)?t.toString():new Xi(t,e).toString(s),r){const a=i.indexOf("#");a!==-1&&(i=i.slice(0,a)),i+=(i.indexOf("?")===-1?"?":"&")+r}return i}class Hc{constructor(){this.handlers=[]}use(t,e,s){return this.handlers.push({fulfilled:t,rejected:e,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){A.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Jr=Hc,Zr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$c={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Xi,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Vi=typeof window<"u"&&typeof document<"u",Gi=typeof navigator=="object"&&navigator||void 0,Wc=Vi&&(!Gi||["ReactNative","NativeScript","NS"].indexOf(Gi.product)<0),Jc=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Zc=Vi&&window.location.href||"http://localhost",ut={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Vi,hasStandardBrowserEnv:Wc,hasStandardBrowserWebWorkerEnv:Jc,navigator:Gi,origin:Zc},Symbol.toStringTag,{value:"Module"})),...$c};function Kc(i,t){return Fs(i,new ut.classes.URLSearchParams,Object.assign({visitor:function(e,s,n,r){return ut.isNode&&A.isBuffer(e)?(this.append(s,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function Qc(i){return A.matchAll(/\w+|\[(\w*)]/g,i).map(t=>t[0]==="[]"?"":t[1]||t[0])}function tl(i){const t={},e=Object.keys(i);let s;const n=e.length;let r;for(s=0;s<n;s++)r=e[s],t[r]=i[r];return t}function Kr(i){function t(e,s,n,r){let a=e[r++];if(a==="__proto__")return!0;const o=Number.isFinite(+a),h=r>=e.length;return a=!a&&A.isArray(n)?n.length:a,h?(A.hasOwnProp(n,a)?n[a]=[n[a],s]:n[a]=s,!o):((!n[a]||!A.isObject(n[a]))&&(n[a]=[]),t(e,s,n[a],r)&&A.isArray(n[a])&&(n[a]=tl(n[a])),!o)}if(A.isFormData(i)&&A.isFunction(i.entries)){const e={};return A.forEachEntry(i,(s,n)=>{t(Qc(s),n,e,0)}),e}return null}function el(i,t,e){if(A.isString(i))try{return(t||JSON.parse)(i),A.trim(i)}catch(s){if(s.name!=="SyntaxError")throw s}return(e||JSON.stringify)(i)}const qi={transitional:Zr,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const s=e.getContentType()||"",n=s.indexOf("application/json")>-1,r=A.isObject(t);if(r&&A.isHTMLForm(t)&&(t=new FormData(t)),A.isFormData(t))return n?JSON.stringify(Kr(t)):t;if(A.isArrayBuffer(t)||A.isBuffer(t)||A.isStream(t)||A.isFile(t)||A.isBlob(t)||A.isReadableStream(t))return t;if(A.isArrayBufferView(t))return t.buffer;if(A.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Kc(t,this.formSerializer).toString();if((o=A.isFileList(t))||s.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return Fs(o?{"files[]":t}:t,h&&new h,this.formSerializer)}}return r||n?(e.setContentType("application/json",!1),el(t)):t}],transformResponse:[function(t){const e=this.transitional||qi.transitional,s=e&&e.forcedJSONParsing,n=this.responseType==="json";if(A.isResponse(t)||A.isReadableStream(t))return t;if(t&&A.isString(t)&&(s&&!this.responseType||n)){const a=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?N.from(o,N.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ut.classes.FormData,Blob:ut.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch"],i=>{qi.headers[i]={}});const ji=qi,sl=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),il=i=>{const t={};let e,s,n;return i&&i.split(`
|
|
10
|
+
`.replace(/\s+/g,""),"u");break;case"mime-image":t=/^image\//;break;case"mime-video":t=/^video\//;break;case"mime-audio":t=/^audio\//;break;case"mime-document-word":t=/^application\/(?:vnd\.openxmlformats-officedocument\.wordprocessingml\.document|msword|vnd\.ms-word\.document\.macroenabled\.12|vnd\.openxmlformats-officedocument\.wordprocessingml\.template|vnd\.ms-word\.template\.macroenabled\.12)$/;break;case"mime-document-excel":t=/^application\/(?:vnd\.openxmlformats-officedocument\.spreadsheetml\.sheet|vnd\.ms-excel|vnd\.ms-excel\.sheet\.macroenabled\.12|vnd\.openxmlformats-officedocument\.spreadsheetml\.template|vnd\.ms-excel\.template\.macroenabled\.12)$/;break;case"mime-document-ppt":t=/^application\/(?:vnd\.ms-powerpoint|vnd\.openxmlformats-officedocument\.presentationml\.presentation|vnd\.ms-powerpoint\.presentation\.macroenabled\.12|vnd\.openxmlformats-officedocument\.presentationml\.template|vnd\.ms-powerpoint\.template\.macroenabled\.12)$/;break;case"mime-document-json":t=/^application\/json$/;break;case"mime-document-xml":t=/^(?:application|text)\/(?:xml|xhtml\+xml)$/;break}return t},te=(i,t)=>(typeof i=="string"&&(i=Ms(i)||new RegExp(i)),i.test(t)),gr=(i,t)=>{typeof i=="string"&&(i=Ms(i)||new RegExp(i));const e=t.match(i);return e?i.flags.toLowerCase().indexOf("g")>=0?e.map(s=>({matchIndex:-1,fullMatch:s,groupMatchs:[]})):{matchIndex:typeof e.index=="number"?e.index:-1,fullMatch:e[0],groupMatchs:e.slice(1)}:null},pr=(i,t)=>{typeof i=="string"&&(i=Ms(i)||new RegExp(i));const e=[],s=t.matchAll(i);for(const n of s)e.push({matchIndex:typeof n.index=="number"?n.index:-1,fullMatch:n[0],groupMatchs:n.slice(1)});return e};function Ch(i){const t=i.match(/[\s\S]/gu);return t?t.length:0}function yr(i,t){const e=i.codePointAt(t);return e?String.fromCodePoint(e):void 0}function wr(i=12){const t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789",e=t.length;let s="";for(let n=0;n<i;n++)s+=t[Math.floor(Math.random()*e)];return s}function Th(i){return i.replace(/(^\w)/g,t=>t.toLowerCase())}const mt=(i,t="-")=>{let e=i.replace(new RegExp(`${t}?([A-Z])`,"g"),t+"$1").toLowerCase();return e=e.replace(new RegExp(`^${t}`),""),e};function _h(i){return i.replace(/(^\w|[_-]\w)/g,t=>t.slice(-1).toUpperCase())}function xr(i){return Th(_h(i))}function br(i){let t="";for(let e=0,s=i.length;e<s;e++){const n=i.charCodeAt(e);n>=1&&n<=127?t+=i.charAt(e):n>2047?(t+=String.fromCharCode(224|n>>12&15),t+=String.fromCharCode(128|n>>6&63),t+=String.fromCharCode(128|n>>0&63)):(t+=String.fromCharCode(192|n>>6&31),t+=String.fromCharCode(128|n>>0&63))}return t}function Ph(i){return i.slice(0)}function Mh(i,t=!0){const e=t?Ph(i.buffer):i.buffer;return new i.constructor(e,i.byteOffset,i.length)}const Eh="[object String]",Ah="[object Symbol]";function Sr(i){return Object.prototype.toString.call(i)}function kh(i){return i!=null}function Ih(i){return Sr(i)===Eh}function Dh(i){return i===i+0}function Rh(i){return Sr(i)===Ah}function vr(i,...t){return new i.constructor(...t)}function Cr(i,t){for(const e in i)Object.prototype.hasOwnProperty.call(i,e)&&!t(e,i[e])&&delete i[e];return i}function Lh(i,t="",e=["","sign","key"]){return Object.keys(i).filter(s=>{for(let n=0,r=e.length;n<r;n++)if(i[s]==e[n])return!1;return!0}).sort().map(s=>`${s}=${i[s]}`).join("&")+t}function zh(i){return JSON.stringify(i)}function Oh(i){for(;i.length;)i.pop()}function Te(i,t){const e=i.findIndex(s=>s===t);return e>=0&&i.splice(e,1),i}function Tr(i,t){return i.findIndex(e=>e==t)>=0}function Fh(i,...t){return t.forEach(e=>{Tr(i,e)||i.push(e)}),i}let _r;try{_r=Map}catch{_r=function(){}}let Pr;try{Pr=Set}catch{Pr=function(){}}function It(i,t){const e=parseFloat(i);if(Number.isNaN(e)){if(typeof t=="number")return t;throw new Error(`parseNumber(${i}) is NaN!`)}return e}function Es(i,t,e=Number.EPSILON*Math.pow(2,2)){return Math.abs(i-t)<e}function F(i,t,e){const s=Math.min(t,e),n=Math.max(t,e);return i<s?s:i>n?n:i}function Bh(i,t){return(i%t+t)%t}function Di(i,t,e){return(1-e)*i+e*t}const Nh=(i,t,e)=>s=>{const n=F(s,i,t);return e==0?n:t-n<e?t:Math.round(n/e)*e};function Yh(i,t=12){return It(i,0).toFixed(t)}function $t(i,t=12){return+Yh(i,t)}function Ri(i,t){const e=gr("number-single",String(i));return{hasNumber:!!e,number:e&&!Array.isArray(e)&&e.fullMatch?parseFloat(e.fullMatch):kh(t)?t:NaN,prefix:e&&!Array.isArray(e)&&e.fullMatch?i.substring(0,e.matchIndex):"",suffix:e&&!Array.isArray(e)&&e.fullMatch?i.substring(e.matchIndex+e.fullMatch.length):""}}function Mr(i){const t=gr("number",i);return t?Array.isArray(t)?t.map(e=>Number(e.fullMatch)):[Number(t.fullMatch)]:[]}const ee=Uh();function Uh(){const i=new ArrayBuffer(4),t=new Float32Array(i),e=new Uint32Array(i),s=new Uint32Array(512),n=new Uint32Array(512);for(let h=0;h<256;++h){const c=h-127;c<-27?(s[h]=0,s[h|256]=32768,n[h]=24,n[h|256]=24):c<-14?(s[h]=1024>>-c-14,s[h|256]=1024>>-c-14|32768,n[h]=-c-1,n[h|256]=-c-1):c<=15?(s[h]=c+15<<10,s[h|256]=c+15<<10|32768,n[h]=13,n[h|256]=13):c<128?(s[h]=31744,s[h|256]=64512,n[h]=24,n[h|256]=24):(s[h]=31744,s[h|256]=64512,n[h]=13,n[h|256]=13)}const r=new Uint32Array(2048),a=new Uint32Array(64),o=new Uint32Array(64);for(let h=1;h<1024;++h){let c=h<<13,l=0;for(;!(c&8388608);)c<<=1,l-=8388608;c&=-8388609,l+=947912704,r[h]=c|l}for(let h=1024;h<2048;++h)r[h]=939524096+(h-1024<<13);for(let h=1;h<31;++h)a[h]=h<<23;a[31]=1199570944,a[32]=2147483648;for(let h=33;h<63;++h)a[h]=2147483648+(h-32<<23);a[63]=3347054592;for(let h=1;h<64;++h)h!==32&&(o[h]=1024);return{floatView:t,uint32View:e,baseTable:s,shiftTable:n,mantissaTable:r,exponentTable:a,offsetTable:o}}function Ct(i){Math.abs(i)>65504&&console.warn("toHalfFloat(): Value out of range."),i=F(i,-65504,65504),ee.floatView[0]=i;const t=ee.uint32View[0],e=t>>23&511;return ee.baseTable[e]+((t&8388607)>>ee.shiftTable[e])}function As(i){const t=i>>10;return ee.uint32View[0]=ee.mantissaTable[ee.offsetTable[t]+(i&1023)]+ee.exponentTable[t],ee.floatView[0]}var gt=(i=>(i.UNKNOWN="",i.TEXT="text/plain",i.MD="text/plain",i.HTML="text/html",i.XML_TEXT="text/xml",i.CSS="text/css",i.JPEG="image/jpeg",i.PNG="image/png",i.GIF="image/gif",i.BMP="image/bmp",i.WEBP="image/webp",i.SVG="image/svg+xml",i.ICON="image/x-icon",i.MICROSOFT_ICON="image/vnd.microsoft.icon",i.MPEG="audio/mpeg",i.MP3="audio/mpeg",i.MP4="video/mp4",i.OGG="audio/ogg",i.WAV="audio/wav",i.MIDI="audio/midi",i.WEBM="video/webm",i.VIDEO_OGG="video/ogg",i.OCTET_STREAM="application/octet-stream",i.JAVASCRIPT="application/javascript",i.ECMASCRIPT="application/ecmascript",i.JSON="application/json",i.XML="application/xml",i.XHTML="application/xhtml+xml",i.XWWW="application/x-www-form-urlencoded",i.DOC="application/msword",i.CSV="application/x-csv",i.EXCEL="application/vnb.ms-excel",i.PPT="application/vnb.mspowerpoint",i.PDF="application/pdf",i.ZIP="application/zip",i.TGZ="application/x-gtar",i.TAR_GZ="application/x-gzip",i.EOT="appliaction/vnd.ms-fontobject",i.TTF="aplication/font-sfnt",i.PKCS12="aplication/pkcs12",i))(gt||{}),ks=(i=>(i.ascii="ascii",i.utf8="utf8",i.utf16le="utf16le",i.ucs2="ucs2",i.base64="base64",i.base64url="base64url",i.latin1="latin1",i.binary="binary",i.hex="hex",i))(ks||{}),Dt=(i=>(i.text="text",i.dataURL="dataURL",i.binaryString="binaryString",i.arraybuffer="arraybuffer",i))(Dt||{});const Ve=(i,t=16)=>{let e=i.toLowerCase();const s=e.indexOf("0b")==0,n=e.indexOf("0o")==0,r=e.indexOf("0x")==0;(s||n||r)&&(e=e.slice(2)),s&&(t=2),n&&(t=8),r&&(t=16);const a=parseInt(e,t);if(isNaN(a))throw new Error(`radixStringToNumber(${i}, ${t}) 无法解析!`);return a};function Xh(i){return new TextEncoder().encode(i)}function Vh(i){return String.fromCharCode.apply(null,new Uint16Array(i))}const Li=(i,t,e)=>t?e===ks.base64?new Blob([i],{type:`${t};${e}`}):e===ks.utf8?new Blob([i],{type:`${t};charset=${e}`}):new Blob([i],{type:`${t}`}):new Blob([i]),Gh=i=>{let t=gt.UNKNOWN;switch(new DataView(i).getUint32(0,qh()).toString(16).toUpperCase()){case"FFD8FFDB":t=gt.JPEG;break;case"FFD8FFE0":case"FFD8FFE1":case"FFD8FFE2":case"FFD8FFE3":t=gt.JPEG;break;case"89504E47":t=gt.PNG;break;case"47494638":t=gt.GIF;break;case"52494646":t=gt.WEBP;break;case"25504446":t=gt.PDF;break;case"504B0304":t=gt.ZIP;break}return t};function qh(){const i=Uint32Array.of(305419896),t=new Uint8Array(i.buffer);switch(t[0]*16777216+t[1]*65536+t[2]*256+t[3]){case 305419896:return!1;case 2018915346:return!0}}function J(){return(performance||Date).now()}function jh(i,t=3){const e=Math.max(i.length,6);let s="";for(let r=0;r<e-4;r++)s+=i[r]||"0";const n=[s,""+(i[e-4]||"0")+(i[e-3]||"0"),""+(i[e-2]||"0")+(i[e-1]||"0")];switch(t){case 1:return n[0];case 2:return n[0]+":"+n[1];case 3:return n[0]+":"+n[1]+":"+n[2]}}function Hh(i){const t=Math.max(i.length,6);let e=0;e+=(i[t-2]||0)*10+(i[t-1]||0),e+=((i[t-4]||0)*10+(i[t-3]||0))*60;let s=0;for(let n=0;n<t-4;n++)s=s*10+(i[n]||0);return e+=s*60*60,e=Math.floor(Math.max(0,e)),e}function $h(i,t=!1){let e=0,s;typeof i=="number"?(e=i,s=[]):(s=i,e=Hh(s),Oh(s));const n=e%60;s.unshift(n%10),s.unshift(Math.floor(n/10)),e=Math.floor(e/60);const r=e%60;if(s.unshift(r%10),s.unshift(Math.floor(r/10)),e=Math.floor(e/60),t){const a=e%100;for(s.unshift(a%10),s.unshift(Math.floor(a/10)),e=Math.floor(e/100);e;)s.unshift(e%10),e=Math.floor(e/10)}else{const a=e%24;s.unshift(a%10),s.unshift(Math.floor(a/10))}return s}function Wh(i,t=1,e=!1){return i[i.length-1]+=t,$h(i,e)}class Ge{events;constructor(){this.events={}}isEmpty(t){return this.events[t]==null||this.events[t].length==0}has(t,e){return this.events[t]!==void 0&&this.events[t].indexOf(e)!==-1}prependListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].unshift(e),this}addListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].push(e),this}on(t,e){return this.addListener(t,e),this}removeListener(t,e){return this.events[t]&&(this.events[t]=this.events[t].filter(s=>s!==e)),this}off(t,e){return this.removeListener(t,e),this}removeAllListeners(t){return t?this.events[t]=[]:this.events={},this}emit(t,...e){return this.events[t]&&this.events[t].slice(0).forEach(n=>{n(...e)}),this}once(t,e){const n=(()=>{let r=!1;return(...a)=>{r||(r=!0,e(...a),this.off(t,n))}})();return this.on(t,n),this}}class _e{_maps=new Map;_mapsAddedDuringUpdate=new Map;_overflow;constructor(t){this._overflow=()=>{if(!t)return!1;const e=this.length;return e==0?!1:t?.overflow?t.overflow():!!t.size&&t.size>0&&e>=t.size}}entries(){return Array.from(this._maps.entries())}keys(){return Array.from(this._maps.keys())}values(){return Array.from(this._maps.values())}json(){return this.entries().reduce((t,[e,s])=>((Ih(e)||Dh(e)||Rh(e))&&(t[e]=s),t),{})}get length(){return this.entries().length}set(t,e){for(;this._overflow();){const s=this._maps.keys().next();s.done||this.delete(s.value)}this._maps.set(t,e),this._mapsAddedDuringUpdate.set(t,e)}get(t){return this._maps.get(t)}has(t){return this._maps.has(t)}getIndex(t){const e=this.entries();if(e.length&&e[t])return e[t]}top(){return this.getIndex(0)}shift(){const t=this.top();if(t){const[e]=t;this.delete(e)}return t}delete(t){return this._mapsAddedDuringUpdate.delete(t),this._maps.delete(t)}clear(){this._maps.clear(),this._mapsAddedDuringUpdate.clear()}flush(){this.clear()}filter(t){let e=Array.from(this._maps.entries());for(;e.length>0;){this._mapsAddedDuringUpdate.clear();for(let s=0,n=e.length;s<n;s++){const[r,a]=e[s];t(r,a)===!1&&this.delete(r)}e=Array.from(this._mapsAddedDuringUpdate.entries())}}}function Er(){return Ps().openLog||!1}function Ar(i,t){const e=Ps().logUploadFn;e&&e(i,t)}function Pe(i){Ar("info",i),Er()&&(!console||typeof console!="object"||typeof console.log!="function"||console.log(i))}function Jh(i){Ar("warn",i),Er()&&(!console||typeof console!="object"||typeof console.warn!="function"||console.warn(i))}const zi=()=>{};function Oi(i,t=3,e){return async function(...s){let n;for(let r=0;r<t;r++)try{return await i.call(this,...s)}catch(a){Pe(`(${i.name}) attempt ${r+1} failed, retrying...`),n=a,await new Promise(o=>setTimeout(o,typeof e=="number"?e:300*Math.pow(2,r)))}throw Pe(`(${i.name}) max retries reached. Last error: ${n.message}`),n}}function Fi(i,t=6e4){const e=new _e,s=new _e;return async function(...n){const r=Date.now();e.filter((h,c)=>r-c.timestamp<t);const a=JSON.stringify(n),o=e.get(a);if(o){if(r-o.timestamp<t)return Pe(`(${i.name}) cache hit!`),o.value;e.delete(a)}try{let h;const c=s.get(a);if(c)Pe(`(${i.name}) cache waiting previous!`),h=await c,s.delete(a),Pe(`(${i.name}) cache waited!`);else{Pe(`(${i.name}) cache miss, fetching fresh data...`);const l=i.call(this,...n);s.set(a,l),h=await l,Pe(`(${i.name}) cache settled!`)}return e.set(a,{value:h,timestamp:Date.now()}),s.delete(a),h}catch(h){throw h}}}Array.prototype.ap=function(i){return this.reduce((t,e)=>t.concat(i.map(e)),[])};let es;function xt(i){es=i,i(),es=null}class Zh{subscribers=new Set;add(){es&&!this.subscribers.has(es)&&this.subscribers.add(es)}notify(){this.subscribers.forEach(t=>t())}}const kr=new WeakMap;function Is(i,t){let e=kr.get(i);e||(e=new Map,kr.set(i,e));let s=e.get(t);return s||(s=new Zh,e.set(t,s)),s}function Kh(i,t=!1){return Object.keys(i).forEach(e=>{let s=i[e];if(t&&typeof s=="object"&&s!==null)i[e]=Bi(s,t);else{const n=Is(i,e);Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get(){return n.add(),s},set(r){s!=r&&(s=r,n.notify())}})}}),i}function Ds(i,t=!1){return Kh({value:i},t)}function Bi(i,t=!1){const e={get(n,r,a){const o=Reflect.get(n,r,a);if(t&&typeof o=="object"&&o!==null&&!("isYZReactiveProxy"in o)){const c=Bi(o,t);c.YZReactiveProxyParentTarget=n,c.YZReactiveProxyParentKey=r,Reflect.set(a,r,c)}return Is(n,r).add(),Reflect.get(n,r,a)},set(n,r,a,o){const h=Reflect.get(n,r,o),c=Reflect.set(n,r,a,o);return Array.isArray(n)?Is(n.YZReactiveProxyParentTarget,n.YZReactiveProxyParentKey).notify():h!=a&&Is(n,r).notify(),c},has(n,r){return r==="isYZReactiveProxy"||r in n}};return new Proxy(i,e)}const Ir=Bi;function Qh(i=3,t){return function(e,s,n){const r=`${e.constructor.name}.${String(s)}`,a=n.value;if(typeof a!="function")throw new SyntaxError(`@Retry() can only be used on functions, not: ${r}`);const o=Oi(a,i,t);return{...n,async value(...h){return await o.apply(this,h)}}}}function tc(i=6e4){return function(t,e,s){const n=`${t.constructor.name}.${String(e)}`,r=s.value;if(typeof r!="function")throw new SyntaxError(`@Cache() can only be used on functions, not: ${n}`);const a=Fi(r,i);return{...s,async value(...o){return await a.apply(this,o)}}}}function ec(i,t=(e,s)=>e<=s){const e=i.length;let s=Math.floor(e/2);for(;s>0;){for(let n=s;n<e;n++){const r=i[n];let a=n;for(;a>=s&&!t(i[a-s],r);)i[a]=i[a-s],a-=s;i[a]=r}s=Math.floor(s/2)}}function sc(){const i={};return i.promise=new Promise((t,e)=>{i.resolve=t,i.reject=e}),i}let Dr;try{Dr=Promise}catch{Dr=function(){}}function Rr(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Lr={exports:{}};(function(i,t){(function(e){i.exports=e()})(function(e){var s=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function n(b,S){var y=b[0],w=b[1],P=b[2],_=b[3];y+=(w&P|~w&_)+S[0]-680876936|0,y=(y<<7|y>>>25)+w|0,_+=(y&w|~y&P)+S[1]-389564586|0,_=(_<<12|_>>>20)+y|0,P+=(_&y|~_&w)+S[2]+606105819|0,P=(P<<17|P>>>15)+_|0,w+=(P&_|~P&y)+S[3]-1044525330|0,w=(w<<22|w>>>10)+P|0,y+=(w&P|~w&_)+S[4]-176418897|0,y=(y<<7|y>>>25)+w|0,_+=(y&w|~y&P)+S[5]+1200080426|0,_=(_<<12|_>>>20)+y|0,P+=(_&y|~_&w)+S[6]-1473231341|0,P=(P<<17|P>>>15)+_|0,w+=(P&_|~P&y)+S[7]-45705983|0,w=(w<<22|w>>>10)+P|0,y+=(w&P|~w&_)+S[8]+1770035416|0,y=(y<<7|y>>>25)+w|0,_+=(y&w|~y&P)+S[9]-1958414417|0,_=(_<<12|_>>>20)+y|0,P+=(_&y|~_&w)+S[10]-42063|0,P=(P<<17|P>>>15)+_|0,w+=(P&_|~P&y)+S[11]-1990404162|0,w=(w<<22|w>>>10)+P|0,y+=(w&P|~w&_)+S[12]+1804603682|0,y=(y<<7|y>>>25)+w|0,_+=(y&w|~y&P)+S[13]-40341101|0,_=(_<<12|_>>>20)+y|0,P+=(_&y|~_&w)+S[14]-1502002290|0,P=(P<<17|P>>>15)+_|0,w+=(P&_|~P&y)+S[15]+1236535329|0,w=(w<<22|w>>>10)+P|0,y+=(w&_|P&~_)+S[1]-165796510|0,y=(y<<5|y>>>27)+w|0,_+=(y&P|w&~P)+S[6]-1069501632|0,_=(_<<9|_>>>23)+y|0,P+=(_&w|y&~w)+S[11]+643717713|0,P=(P<<14|P>>>18)+_|0,w+=(P&y|_&~y)+S[0]-373897302|0,w=(w<<20|w>>>12)+P|0,y+=(w&_|P&~_)+S[5]-701558691|0,y=(y<<5|y>>>27)+w|0,_+=(y&P|w&~P)+S[10]+38016083|0,_=(_<<9|_>>>23)+y|0,P+=(_&w|y&~w)+S[15]-660478335|0,P=(P<<14|P>>>18)+_|0,w+=(P&y|_&~y)+S[4]-405537848|0,w=(w<<20|w>>>12)+P|0,y+=(w&_|P&~_)+S[9]+568446438|0,y=(y<<5|y>>>27)+w|0,_+=(y&P|w&~P)+S[14]-1019803690|0,_=(_<<9|_>>>23)+y|0,P+=(_&w|y&~w)+S[3]-187363961|0,P=(P<<14|P>>>18)+_|0,w+=(P&y|_&~y)+S[8]+1163531501|0,w=(w<<20|w>>>12)+P|0,y+=(w&_|P&~_)+S[13]-1444681467|0,y=(y<<5|y>>>27)+w|0,_+=(y&P|w&~P)+S[2]-51403784|0,_=(_<<9|_>>>23)+y|0,P+=(_&w|y&~w)+S[7]+1735328473|0,P=(P<<14|P>>>18)+_|0,w+=(P&y|_&~y)+S[12]-1926607734|0,w=(w<<20|w>>>12)+P|0,y+=(w^P^_)+S[5]-378558|0,y=(y<<4|y>>>28)+w|0,_+=(y^w^P)+S[8]-2022574463|0,_=(_<<11|_>>>21)+y|0,P+=(_^y^w)+S[11]+1839030562|0,P=(P<<16|P>>>16)+_|0,w+=(P^_^y)+S[14]-35309556|0,w=(w<<23|w>>>9)+P|0,y+=(w^P^_)+S[1]-1530992060|0,y=(y<<4|y>>>28)+w|0,_+=(y^w^P)+S[4]+1272893353|0,_=(_<<11|_>>>21)+y|0,P+=(_^y^w)+S[7]-155497632|0,P=(P<<16|P>>>16)+_|0,w+=(P^_^y)+S[10]-1094730640|0,w=(w<<23|w>>>9)+P|0,y+=(w^P^_)+S[13]+681279174|0,y=(y<<4|y>>>28)+w|0,_+=(y^w^P)+S[0]-358537222|0,_=(_<<11|_>>>21)+y|0,P+=(_^y^w)+S[3]-722521979|0,P=(P<<16|P>>>16)+_|0,w+=(P^_^y)+S[6]+76029189|0,w=(w<<23|w>>>9)+P|0,y+=(w^P^_)+S[9]-640364487|0,y=(y<<4|y>>>28)+w|0,_+=(y^w^P)+S[12]-421815835|0,_=(_<<11|_>>>21)+y|0,P+=(_^y^w)+S[15]+530742520|0,P=(P<<16|P>>>16)+_|0,w+=(P^_^y)+S[2]-995338651|0,w=(w<<23|w>>>9)+P|0,y+=(P^(w|~_))+S[0]-198630844|0,y=(y<<6|y>>>26)+w|0,_+=(w^(y|~P))+S[7]+1126891415|0,_=(_<<10|_>>>22)+y|0,P+=(y^(_|~w))+S[14]-1416354905|0,P=(P<<15|P>>>17)+_|0,w+=(_^(P|~y))+S[5]-57434055|0,w=(w<<21|w>>>11)+P|0,y+=(P^(w|~_))+S[12]+1700485571|0,y=(y<<6|y>>>26)+w|0,_+=(w^(y|~P))+S[3]-1894986606|0,_=(_<<10|_>>>22)+y|0,P+=(y^(_|~w))+S[10]-1051523|0,P=(P<<15|P>>>17)+_|0,w+=(_^(P|~y))+S[1]-2054922799|0,w=(w<<21|w>>>11)+P|0,y+=(P^(w|~_))+S[8]+1873313359|0,y=(y<<6|y>>>26)+w|0,_+=(w^(y|~P))+S[15]-30611744|0,_=(_<<10|_>>>22)+y|0,P+=(y^(_|~w))+S[6]-1560198380|0,P=(P<<15|P>>>17)+_|0,w+=(_^(P|~y))+S[13]+1309151649|0,w=(w<<21|w>>>11)+P|0,y+=(P^(w|~_))+S[4]-145523070|0,y=(y<<6|y>>>26)+w|0,_+=(w^(y|~P))+S[11]-1120210379|0,_=(_<<10|_>>>22)+y|0,P+=(y^(_|~w))+S[2]+718787259|0,P=(P<<15|P>>>17)+_|0,w+=(_^(P|~y))+S[9]-343485551|0,w=(w<<21|w>>>11)+P|0,b[0]=y+b[0]|0,b[1]=w+b[1]|0,b[2]=P+b[2]|0,b[3]=_+b[3]|0}function r(b){var S=[],y;for(y=0;y<64;y+=4)S[y>>2]=b.charCodeAt(y)+(b.charCodeAt(y+1)<<8)+(b.charCodeAt(y+2)<<16)+(b.charCodeAt(y+3)<<24);return S}function a(b){var S=[],y;for(y=0;y<64;y+=4)S[y>>2]=b[y]+(b[y+1]<<8)+(b[y+2]<<16)+(b[y+3]<<24);return S}function o(b){var S=b.length,y=[1732584193,-271733879,-1732584194,271733878],w,P,_,R,X,G;for(w=64;w<=S;w+=64)n(y,r(b.substring(w-64,w)));for(b=b.substring(w-64),P=b.length,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w=0;w<P;w+=1)_[w>>2]|=b.charCodeAt(w)<<(w%4<<3);if(_[w>>2]|=128<<(w%4<<3),w>55)for(n(y,_),w=0;w<16;w+=1)_[w]=0;return R=S*8,R=R.toString(16).match(/(.*?)(.{0,8})$/),X=parseInt(R[2],16),G=parseInt(R[1],16)||0,_[14]=X,_[15]=G,n(y,_),y}function h(b){var S=b.length,y=[1732584193,-271733879,-1732584194,271733878],w,P,_,R,X,G;for(w=64;w<=S;w+=64)n(y,a(b.subarray(w-64,w)));for(b=w-64<S?b.subarray(w-64):new Uint8Array(0),P=b.length,_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w=0;w<P;w+=1)_[w>>2]|=b[w]<<(w%4<<3);if(_[w>>2]|=128<<(w%4<<3),w>55)for(n(y,_),w=0;w<16;w+=1)_[w]=0;return R=S*8,R=R.toString(16).match(/(.*?)(.{0,8})$/),X=parseInt(R[2],16),G=parseInt(R[1],16)||0,_[14]=X,_[15]=G,n(y,_),y}function c(b){var S="",y;for(y=0;y<4;y+=1)S+=s[b>>y*8+4&15]+s[b>>y*8&15];return S}function l(b){var S;for(S=0;S<b.length;S+=1)b[S]=c(b[S]);return b.join("")}l(o("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function b(S,y){return S=S|0||0,S<0?Math.max(S+y,0):Math.min(S,y)}ArrayBuffer.prototype.slice=function(S,y){var w=this.byteLength,P=b(S,w),_=w,R,X,G,$;return y!==e&&(_=b(y,w)),P>_?new ArrayBuffer(0):(R=_-P,X=new ArrayBuffer(R),G=new Uint8Array(X),$=new Uint8Array(this,P,R),G.set($),X)}}();function u(b){return/[\u0080-\uFFFF]/.test(b)&&(b=unescape(encodeURIComponent(b))),b}function d(b,S){var y=b.length,w=new ArrayBuffer(y),P=new Uint8Array(w),_;for(_=0;_<y;_+=1)P[_]=b.charCodeAt(_);return S?P:w}function m(b){return String.fromCharCode.apply(null,new Uint8Array(b))}function g(b,S,y){var w=new Uint8Array(b.byteLength+S.byteLength);return w.set(new Uint8Array(b)),w.set(new Uint8Array(S),b.byteLength),y?w:w.buffer}function v(b){var S=[],y=b.length,w;for(w=0;w<y-1;w+=2)S.push(parseInt(b.substr(w,2),16));return String.fromCharCode.apply(String,S)}function C(){this.reset()}return C.prototype.append=function(b){return this.appendBinary(u(b)),this},C.prototype.appendBinary=function(b){this._buff+=b,this._length+=b.length;var S=this._buff.length,y;for(y=64;y<=S;y+=64)n(this._hash,r(this._buff.substring(y-64,y)));return this._buff=this._buff.substring(y-64),this},C.prototype.end=function(b){var S=this._buff,y=S.length,w,P=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_;for(w=0;w<y;w+=1)P[w>>2]|=S.charCodeAt(w)<<(w%4<<3);return this._finish(P,y),_=l(this._hash),b&&(_=v(_)),this.reset(),_},C.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},C.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},C.prototype.setState=function(b){return this._buff=b.buff,this._length=b.length,this._hash=b.hash,this},C.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},C.prototype._finish=function(b,S){var y=S,w,P,_;if(b[y>>2]|=128<<(y%4<<3),y>55)for(n(this._hash,b),y=0;y<16;y+=1)b[y]=0;w=this._length*8,w=w.toString(16).match(/(.*?)(.{0,8})$/),P=parseInt(w[2],16),_=parseInt(w[1],16)||0,b[14]=P,b[15]=_,n(this._hash,b)},C.hash=function(b,S){return C.hashBinary(u(b),S)},C.hashBinary=function(b,S){var y=o(b),w=l(y);return S?v(w):w},C.ArrayBuffer=function(){this.reset()},C.ArrayBuffer.prototype.append=function(b){var S=g(this._buff.buffer,b,!0),y=S.length,w;for(this._length+=b.byteLength,w=64;w<=y;w+=64)n(this._hash,a(S.subarray(w-64,w)));return this._buff=w-64<y?new Uint8Array(S.buffer.slice(w-64)):new Uint8Array(0),this},C.ArrayBuffer.prototype.end=function(b){var S=this._buff,y=S.length,w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],P,_;for(P=0;P<y;P+=1)w[P>>2]|=S[P]<<(P%4<<3);return this._finish(w,y),_=l(this._hash),b&&(_=v(_)),this.reset(),_},C.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},C.ArrayBuffer.prototype.getState=function(){var b=C.prototype.getState.call(this);return b.buff=m(b.buff),b},C.ArrayBuffer.prototype.setState=function(b){return b.buff=d(b.buff,!0),C.prototype.setState.call(this,b)},C.ArrayBuffer.prototype.destroy=C.prototype.destroy,C.ArrayBuffer.prototype._finish=C.prototype._finish,C.ArrayBuffer.hash=function(b,S){var y=h(new Uint8Array(b)),w=l(y);return S?v(w):w},C})})(Lr);var ic=Lr.exports;const nc=Rr(ic);function zr(i,t){return function(){return i.apply(t,arguments)}}const{toString:rc}=Object.prototype,{getPrototypeOf:Ni}=Object,Rs=(i=>t=>{const e=rc.call(t);return i[e]||(i[e]=e.slice(8,-1).toLowerCase())})(Object.create(null)),Nt=i=>(i=i.toLowerCase(),t=>Rs(t)===i),Ls=i=>t=>typeof t===i,{isArray:qe}=Array,ss=Ls("undefined");function ac(i){return i!==null&&!ss(i)&&i.constructor!==null&&!ss(i.constructor)&&Tt(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}const Or=Nt("ArrayBuffer");function oc(i){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(i):t=i&&i.buffer&&Or(i.buffer),t}const hc=Ls("string"),Tt=Ls("function"),Fr=Ls("number"),zs=i=>i!==null&&typeof i=="object",cc=i=>i===!0||i===!1,Os=i=>{if(Rs(i)!=="object")return!1;const t=Ni(i);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in i)&&!(Symbol.iterator in i)},lc=Nt("Date"),uc=Nt("File"),fc=Nt("Blob"),dc=Nt("FileList"),mc=i=>zs(i)&&Tt(i.pipe),gc=i=>{let t;return i&&(typeof FormData=="function"&&i instanceof FormData||Tt(i.append)&&((t=Rs(i))==="formdata"||t==="object"&&Tt(i.toString)&&i.toString()==="[object FormData]"))},pc=Nt("URLSearchParams"),[yc,wc,xc,bc]=["ReadableStream","Request","Response","Headers"].map(Nt),Sc=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function is(i,t,{allOwnKeys:e=!1}={}){if(i===null||typeof i>"u")return;let s,n;if(typeof i!="object"&&(i=[i]),qe(i))for(s=0,n=i.length;s<n;s++)t.call(null,i[s],s,i);else{const r=e?Object.getOwnPropertyNames(i):Object.keys(i),a=r.length;let o;for(s=0;s<a;s++)o=r[s],t.call(null,i[o],o,i)}}function Br(i,t){t=t.toLowerCase();const e=Object.keys(i);let s=e.length,n;for(;s-- >0;)if(n=e[s],t===n.toLowerCase())return n;return null}const Me=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Nr=i=>!ss(i)&&i!==Me;function Yi(){const{caseless:i}=Nr(this)&&this||{},t={},e=(s,n)=>{const r=i&&Br(t,n)||n;Os(t[r])&&Os(s)?t[r]=Yi(t[r],s):Os(s)?t[r]=Yi({},s):qe(s)?t[r]=s.slice():t[r]=s};for(let s=0,n=arguments.length;s<n;s++)arguments[s]&&is(arguments[s],e);return t}const vc=(i,t,e,{allOwnKeys:s}={})=>(is(t,(n,r)=>{e&&Tt(n)?i[r]=zr(n,e):i[r]=n},{allOwnKeys:s}),i),Cc=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),Tc=(i,t,e,s)=>{i.prototype=Object.create(t.prototype,s),i.prototype.constructor=i,Object.defineProperty(i,"super",{value:t.prototype}),e&&Object.assign(i.prototype,e)},_c=(i,t,e,s)=>{let n,r,a;const o={};if(t=t||{},i==null)return t;do{for(n=Object.getOwnPropertyNames(i),r=n.length;r-- >0;)a=n[r],(!s||s(a,i,t))&&!o[a]&&(t[a]=i[a],o[a]=!0);i=e!==!1&&Ni(i)}while(i&&(!e||e(i,t))&&i!==Object.prototype);return t},Pc=(i,t,e)=>{i=String(i),(e===void 0||e>i.length)&&(e=i.length),e-=t.length;const s=i.indexOf(t,e);return s!==-1&&s===e},Mc=i=>{if(!i)return null;if(qe(i))return i;let t=i.length;if(!Fr(t))return null;const e=new Array(t);for(;t-- >0;)e[t]=i[t];return e},Ec=(i=>t=>i&&t instanceof i)(typeof Uint8Array<"u"&&Ni(Uint8Array)),Ac=(i,t)=>{const s=(i&&i[Symbol.iterator]).call(i);let n;for(;(n=s.next())&&!n.done;){const r=n.value;t.call(i,r[0],r[1])}},kc=(i,t)=>{let e;const s=[];for(;(e=i.exec(t))!==null;)s.push(e);return s},Ic=Nt("HTMLFormElement"),Dc=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,s,n){return s.toUpperCase()+n}),Yr=(({hasOwnProperty:i})=>(t,e)=>i.call(t,e))(Object.prototype),Rc=Nt("RegExp"),Ur=(i,t)=>{const e=Object.getOwnPropertyDescriptors(i),s={};is(e,(n,r)=>{let a;(a=t(n,r,i))!==!1&&(s[r]=a||n)}),Object.defineProperties(i,s)},Lc=i=>{Ur(i,(t,e)=>{if(Tt(i)&&["arguments","caller","callee"].indexOf(e)!==-1)return!1;const s=i[e];if(Tt(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+e+"'")})}})},zc=(i,t)=>{const e={},s=n=>{n.forEach(r=>{e[r]=!0})};return qe(i)?s(i):s(String(i).split(t)),e},Oc=()=>{},Fc=(i,t)=>i!=null&&Number.isFinite(i=+i)?i:t;function Bc(i){return!!(i&&Tt(i.append)&&i[Symbol.toStringTag]==="FormData"&&i[Symbol.iterator])}const Nc=i=>{const t=new Array(10),e=(s,n)=>{if(zs(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[n]=s;const r=qe(s)?[]:{};return is(s,(a,o)=>{const h=e(a,n+1);!ss(h)&&(r[o]=h)}),t[n]=void 0,r}}return s};return e(i,0)},Yc=Nt("AsyncFunction"),Uc=i=>i&&(zs(i)||Tt(i))&&Tt(i.then)&&Tt(i.catch),Xr=((i,t)=>i?setImmediate:t?((e,s)=>(Me.addEventListener("message",({source:n,data:r})=>{n===Me&&r===e&&s.length&&s.shift()()},!1),n=>{s.push(n),Me.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate=="function",Tt(Me.postMessage)),Xc=typeof queueMicrotask<"u"?queueMicrotask.bind(Me):typeof process<"u"&&process.nextTick||Xr,A={isArray:qe,isArrayBuffer:Or,isBuffer:ac,isFormData:gc,isArrayBufferView:oc,isString:hc,isNumber:Fr,isBoolean:cc,isObject:zs,isPlainObject:Os,isReadableStream:yc,isRequest:wc,isResponse:xc,isHeaders:bc,isUndefined:ss,isDate:lc,isFile:uc,isBlob:fc,isRegExp:Rc,isFunction:Tt,isStream:mc,isURLSearchParams:pc,isTypedArray:Ec,isFileList:dc,forEach:is,merge:Yi,extend:vc,trim:Sc,stripBOM:Cc,inherits:Tc,toFlatObject:_c,kindOf:Rs,kindOfTest:Nt,endsWith:Pc,toArray:Mc,forEachEntry:Ac,matchAll:kc,isHTMLForm:Ic,hasOwnProperty:Yr,hasOwnProp:Yr,reduceDescriptors:Ur,freezeMethods:Lc,toObjectSet:zc,toCamelCase:Dc,noop:Oc,toFiniteNumber:Fc,findKey:Br,global:Me,isContextDefined:Nr,isSpecCompliantForm:Bc,toJSONObject:Nc,isAsyncFn:Yc,isThenable:Uc,setImmediate:Xr,asap:Xc};function N(i,t,e,s,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=i,this.name="AxiosError",t&&(this.code=t),e&&(this.config=e),s&&(this.request=s),n&&(this.response=n,this.status=n.status?n.status:null)}A.inherits(N,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:A.toJSONObject(this.config),code:this.code,status:this.status}}});const Vr=N.prototype,Gr={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(i=>{Gr[i]={value:i}}),Object.defineProperties(N,Gr),Object.defineProperty(Vr,"isAxiosError",{value:!0}),N.from=(i,t,e,s,n,r)=>{const a=Object.create(Vr);return A.toFlatObject(i,a,function(h){return h!==Error.prototype},o=>o!=="isAxiosError"),N.call(a,i.message,t,e,s,n),a.cause=i,a.name=i.name,r&&Object.assign(a,r),a};const Vc=null;function Ui(i){return A.isPlainObject(i)||A.isArray(i)}function qr(i){return A.endsWith(i,"[]")?i.slice(0,-2):i}function jr(i,t,e){return i?i.concat(t).map(function(n,r){return n=qr(n),!e&&r?"["+n+"]":n}).join(e?".":""):t}function Gc(i){return A.isArray(i)&&!i.some(Ui)}const qc=A.toFlatObject(A,{},null,function(t){return/^is[A-Z]/.test(t)});function Fs(i,t,e){if(!A.isObject(i))throw new TypeError("target must be an object");t=t||new FormData,e=A.toFlatObject(e,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,C){return!A.isUndefined(C[v])});const s=e.metaTokens,n=e.visitor||l,r=e.dots,a=e.indexes,h=(e.Blob||typeof Blob<"u"&&Blob)&&A.isSpecCompliantForm(t);if(!A.isFunction(n))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(A.isDate(g))return g.toISOString();if(!h&&A.isBlob(g))throw new N("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(g)||A.isTypedArray(g)?h&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function l(g,v,C){let b=g;if(g&&!C&&typeof g=="object"){if(A.endsWith(v,"{}"))v=s?v:v.slice(0,-2),g=JSON.stringify(g);else if(A.isArray(g)&&Gc(g)||(A.isFileList(g)||A.endsWith(v,"[]"))&&(b=A.toArray(g)))return v=qr(v),b.forEach(function(y,w){!(A.isUndefined(y)||y===null)&&t.append(a===!0?jr([v],w,r):a===null?v:v+"[]",c(y))}),!1}return Ui(g)?!0:(t.append(jr(C,v,r),c(g)),!1)}const u=[],d=Object.assign(qc,{defaultVisitor:l,convertValue:c,isVisitable:Ui});function m(g,v){if(!A.isUndefined(g)){if(u.indexOf(g)!==-1)throw Error("Circular reference detected in "+v.join("."));u.push(g),A.forEach(g,function(b,S){(!(A.isUndefined(b)||b===null)&&n.call(t,b,A.isString(S)?S.trim():S,v,d))===!0&&m(b,v?v.concat(S):[S])}),u.pop()}}if(!A.isObject(i))throw new TypeError("data must be an object");return m(i),t}function Hr(i){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Xi(i,t){this._pairs=[],i&&Fs(i,this,t)}const $r=Xi.prototype;$r.append=function(t,e){this._pairs.push([t,e])},$r.toString=function(t){const e=t?function(s){return t.call(this,s,Hr)}:Hr;return this._pairs.map(function(n){return e(n[0])+"="+e(n[1])},"").join("&")};function jc(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Wr(i,t,e){if(!t)return i;const s=e&&e.encode||jc;A.isFunction(e)&&(e={serialize:e});const n=e&&e.serialize;let r;if(n?r=n(t,e):r=A.isURLSearchParams(t)?t.toString():new Xi(t,e).toString(s),r){const a=i.indexOf("#");a!==-1&&(i=i.slice(0,a)),i+=(i.indexOf("?")===-1?"?":"&")+r}return i}class Hc{constructor(){this.handlers=[]}use(t,e,s){return this.handlers.push({fulfilled:t,rejected:e,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){A.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Jr=Hc,Zr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$c={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Xi,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Vi=typeof window<"u"&&typeof document<"u",Gi=typeof navigator=="object"&&navigator||void 0,Wc=Vi&&(!Gi||["ReactNative","NativeScript","NS"].indexOf(Gi.product)<0),Jc=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Zc=Vi&&window.location.href||"http://localhost",ut={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Vi,hasStandardBrowserEnv:Wc,hasStandardBrowserWebWorkerEnv:Jc,navigator:Gi,origin:Zc},Symbol.toStringTag,{value:"Module"})),...$c};function Kc(i,t){return Fs(i,new ut.classes.URLSearchParams,Object.assign({visitor:function(e,s,n,r){return ut.isNode&&A.isBuffer(e)?(this.append(s,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function Qc(i){return A.matchAll(/\w+|\[(\w*)]/g,i).map(t=>t[0]==="[]"?"":t[1]||t[0])}function tl(i){const t={},e=Object.keys(i);let s;const n=e.length;let r;for(s=0;s<n;s++)r=e[s],t[r]=i[r];return t}function Kr(i){function t(e,s,n,r){let a=e[r++];if(a==="__proto__")return!0;const o=Number.isFinite(+a),h=r>=e.length;return a=!a&&A.isArray(n)?n.length:a,h?(A.hasOwnProp(n,a)?n[a]=[n[a],s]:n[a]=s,!o):((!n[a]||!A.isObject(n[a]))&&(n[a]=[]),t(e,s,n[a],r)&&A.isArray(n[a])&&(n[a]=tl(n[a])),!o)}if(A.isFormData(i)&&A.isFunction(i.entries)){const e={};return A.forEachEntry(i,(s,n)=>{t(Qc(s),n,e,0)}),e}return null}function el(i,t,e){if(A.isString(i))try{return(t||JSON.parse)(i),A.trim(i)}catch(s){if(s.name!=="SyntaxError")throw s}return(e||JSON.stringify)(i)}const qi={transitional:Zr,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const s=e.getContentType()||"",n=s.indexOf("application/json")>-1,r=A.isObject(t);if(r&&A.isHTMLForm(t)&&(t=new FormData(t)),A.isFormData(t))return n?JSON.stringify(Kr(t)):t;if(A.isArrayBuffer(t)||A.isBuffer(t)||A.isStream(t)||A.isFile(t)||A.isBlob(t)||A.isReadableStream(t))return t;if(A.isArrayBufferView(t))return t.buffer;if(A.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Kc(t,this.formSerializer).toString();if((o=A.isFileList(t))||s.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return Fs(o?{"files[]":t}:t,h&&new h,this.formSerializer)}}return r||n?(e.setContentType("application/json",!1),el(t)):t}],transformResponse:[function(t){const e=this.transitional||qi.transitional,s=e&&e.forcedJSONParsing,n=this.responseType==="json";if(A.isResponse(t)||A.isReadableStream(t))return t;if(t&&A.isString(t)&&(s&&!this.responseType||n)){const a=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?N.from(o,N.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ut.classes.FormData,Blob:ut.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch"],i=>{qi.headers[i]={}});const ji=qi,sl=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),il=i=>{const t={};let e,s,n;return i&&i.split(`
|
|
11
11
|
`).forEach(function(a){n=a.indexOf(":"),e=a.substring(0,n).trim().toLowerCase(),s=a.substring(n+1).trim(),!(!e||t[e]&&sl[e])&&(e==="set-cookie"?t[e]?t[e].push(s):t[e]=[s]:t[e]=t[e]?t[e]+", "+s:s)}),t},Qr=Symbol("internals");function ns(i){return i&&String(i).trim().toLowerCase()}function Bs(i){return i===!1||i==null?i:A.isArray(i)?i.map(Bs):String(i)}function nl(i){const t=Object.create(null),e=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=e.exec(i);)t[s[1]]=s[2];return t}const rl=i=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function Hi(i,t,e,s,n){if(A.isFunction(s))return s.call(this,t,e);if(n&&(t=e),!!A.isString(t)){if(A.isString(s))return t.indexOf(s)!==-1;if(A.isRegExp(s))return s.test(t)}}function al(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,s)=>e.toUpperCase()+s)}function ol(i,t){const e=A.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(i,s+e,{value:function(n,r,a){return this[s].call(this,t,n,r,a)},configurable:!0})})}class Ns{constructor(t){t&&this.set(t)}set(t,e,s){const n=this;function r(o,h,c){const l=ns(h);if(!l)throw new Error("header name must be a non-empty string");const u=A.findKey(n,l);(!u||n[u]===void 0||c===!0||c===void 0&&n[u]!==!1)&&(n[u||h]=Bs(o))}const a=(o,h)=>A.forEach(o,(c,l)=>r(c,l,h));if(A.isPlainObject(t)||t instanceof this.constructor)a(t,e);else if(A.isString(t)&&(t=t.trim())&&!rl(t))a(il(t),e);else if(A.isHeaders(t))for(const[o,h]of t.entries())r(h,o,s);else t!=null&&r(e,t,s);return this}get(t,e){if(t=ns(t),t){const s=A.findKey(this,t);if(s){const n=this[s];if(!e)return n;if(e===!0)return nl(n);if(A.isFunction(e))return e.call(this,n,s);if(A.isRegExp(e))return e.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=ns(t),t){const s=A.findKey(this,t);return!!(s&&this[s]!==void 0&&(!e||Hi(this,this[s],s,e)))}return!1}delete(t,e){const s=this;let n=!1;function r(a){if(a=ns(a),a){const o=A.findKey(s,a);o&&(!e||Hi(s,s[o],o,e))&&(delete s[o],n=!0)}}return A.isArray(t)?t.forEach(r):r(t),n}clear(t){const e=Object.keys(this);let s=e.length,n=!1;for(;s--;){const r=e[s];(!t||Hi(this,this[r],r,t,!0))&&(delete this[r],n=!0)}return n}normalize(t){const e=this,s={};return A.forEach(this,(n,r)=>{const a=A.findKey(s,r);if(a){e[a]=Bs(n),delete e[r];return}const o=t?al(r):String(r).trim();o!==r&&delete e[r],e[o]=Bs(n),s[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return A.forEach(this,(s,n)=>{s!=null&&s!==!1&&(e[n]=t&&A.isArray(s)?s.join(", "):s)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join(`
|
|
12
12
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const s=new this(t);return e.forEach(n=>s.set(n)),s}static accessor(t){const s=(this[Qr]=this[Qr]={accessors:{}}).accessors,n=this.prototype;function r(a){const o=ns(a);s[o]||(ol(n,a),s[o]=!0)}return A.isArray(t)?t.forEach(r):r(t),this}}Ns.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),A.reduceDescriptors(Ns.prototype,({value:i},t)=>{let e=t[0].toUpperCase()+t.slice(1);return{get:()=>i,set(s){this[e]=s}}}),A.freezeMethods(Ns);const Yt=Ns;function $i(i,t){const e=this||ji,s=t||e,n=Yt.from(s.headers);let r=s.data;return A.forEach(i,function(o){r=o.call(e,r,n.normalize(),t?t.status:void 0)}),n.normalize(),r}function ta(i){return!!(i&&i.__CANCEL__)}function je(i,t,e){N.call(this,i??"canceled",N.ERR_CANCELED,t,e),this.name="CanceledError"}A.inherits(je,N,{__CANCEL__:!0});function ea(i,t,e){const s=e.config.validateStatus;!e.status||!s||s(e.status)?i(e):t(new N("Request failed with status code "+e.status,[N.ERR_BAD_REQUEST,N.ERR_BAD_RESPONSE][Math.floor(e.status/100)-4],e.config,e.request,e))}function hl(i){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(i);return t&&t[1]||""}function cl(i,t){i=i||10;const e=new Array(i),s=new Array(i);let n=0,r=0,a;return t=t!==void 0?t:1e3,function(h){const c=Date.now(),l=s[r];a||(a=c),e[n]=h,s[n]=c;let u=r,d=0;for(;u!==n;)d+=e[u++],u=u%i;if(n=(n+1)%i,n===r&&(r=(r+1)%i),c-a<t)return;const m=l&&c-l;return m?Math.round(d*1e3/m):void 0}}function ll(i,t){let e=0,s=1e3/t,n,r;const a=(c,l=Date.now())=>{e=l,n=null,r&&(clearTimeout(r),r=null),i.apply(null,c)};return[(...c)=>{const l=Date.now(),u=l-e;u>=s?a(c,l):(n=c,r||(r=setTimeout(()=>{r=null,a(n)},s-u)))},()=>n&&a(n)]}const Ys=(i,t,e=3)=>{let s=0;const n=cl(50,250);return ll(r=>{const a=r.loaded,o=r.lengthComputable?r.total:void 0,h=a-s,c=n(h),l=a<=o;s=a;const u={loaded:a,total:o,progress:o?a/o:void 0,bytes:h,rate:c||void 0,estimated:c&&o&&l?(o-a)/c:void 0,event:r,lengthComputable:o!=null,[t?"download":"upload"]:!0};i(u)},e)},sa=(i,t)=>{const e=i!=null;return[s=>t[0]({lengthComputable:e,total:i,loaded:s}),t[1]]},ia=i=>(...t)=>A.asap(()=>i(...t)),ul=ut.hasStandardBrowserEnv?((i,t)=>e=>(e=new URL(e,ut.origin),i.protocol===e.protocol&&i.host===e.host&&(t||i.port===e.port)))(new URL(ut.origin),ut.navigator&&/(msie|trident)/i.test(ut.navigator.userAgent)):()=>!0,fl=ut.hasStandardBrowserEnv?{write(i,t,e,s,n,r){const a=[i+"="+encodeURIComponent(t)];A.isNumber(e)&&a.push("expires="+new Date(e).toGMTString()),A.isString(s)&&a.push("path="+s),A.isString(n)&&a.push("domain="+n),r===!0&&a.push("secure"),document.cookie=a.join("; ")},read(i){const t=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(i){this.write(i,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function dl(i){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function ml(i,t){return t?i.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):i}function na(i,t,e){let s=!dl(t);return i&&(s||e==!1)?ml(i,t):t}const ra=i=>i instanceof Yt?{...i}:i;function Ee(i,t){t=t||{};const e={};function s(c,l,u,d){return A.isPlainObject(c)&&A.isPlainObject(l)?A.merge.call({caseless:d},c,l):A.isPlainObject(l)?A.merge({},l):A.isArray(l)?l.slice():l}function n(c,l,u,d){if(A.isUndefined(l)){if(!A.isUndefined(c))return s(void 0,c,u,d)}else return s(c,l,u,d)}function r(c,l){if(!A.isUndefined(l))return s(void 0,l)}function a(c,l){if(A.isUndefined(l)){if(!A.isUndefined(c))return s(void 0,c)}else return s(void 0,l)}function o(c,l,u){if(u in t)return s(c,l);if(u in i)return s(void 0,c)}const h={url:r,method:r,data:r,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:o,headers:(c,l,u)=>n(ra(c),ra(l),u,!0)};return A.forEach(Object.keys(Object.assign({},i,t)),function(l){const u=h[l]||n,d=u(i[l],t[l],l);A.isUndefined(d)&&u!==o||(e[l]=d)}),e}const aa=i=>{const t=Ee({},i);let{data:e,withXSRFToken:s,xsrfHeaderName:n,xsrfCookieName:r,headers:a,auth:o}=t;t.headers=a=Yt.from(a),t.url=Wr(na(t.baseURL,t.url,t.allowAbsoluteUrls),i.params,i.paramsSerializer),o&&a.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):"")));let h;if(A.isFormData(e)){if(ut.hasStandardBrowserEnv||ut.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((h=a.getContentType())!==!1){const[c,...l]=h?h.split(";").map(u=>u.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...l].join("; "))}}if(ut.hasStandardBrowserEnv&&(s&&A.isFunction(s)&&(s=s(t)),s||s!==!1&&ul(t.url))){const c=n&&r&&fl.read(r);c&&a.set(n,c)}return t},gl=typeof XMLHttpRequest<"u"&&function(i){return new Promise(function(e,s){const n=aa(i);let r=n.data;const a=Yt.from(n.headers).normalize();let{responseType:o,onUploadProgress:h,onDownloadProgress:c}=n,l,u,d,m,g;function v(){m&&m(),g&&g(),n.cancelToken&&n.cancelToken.unsubscribe(l),n.signal&&n.signal.removeEventListener("abort",l)}let C=new XMLHttpRequest;C.open(n.method.toUpperCase(),n.url,!0),C.timeout=n.timeout;function b(){if(!C)return;const y=Yt.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),P={data:!o||o==="text"||o==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:y,config:i,request:C};ea(function(R){e(R),v()},function(R){s(R),v()},P),C=null}"onloadend"in C?C.onloadend=b:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(b)},C.onabort=function(){C&&(s(new N("Request aborted",N.ECONNABORTED,i,C)),C=null)},C.onerror=function(){s(new N("Network Error",N.ERR_NETWORK,i,C)),C=null},C.ontimeout=function(){let w=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const P=n.transitional||Zr;n.timeoutErrorMessage&&(w=n.timeoutErrorMessage),s(new N(w,P.clarifyTimeoutError?N.ETIMEDOUT:N.ECONNABORTED,i,C)),C=null},r===void 0&&a.setContentType(null),"setRequestHeader"in C&&A.forEach(a.toJSON(),function(w,P){C.setRequestHeader(P,w)}),A.isUndefined(n.withCredentials)||(C.withCredentials=!!n.withCredentials),o&&o!=="json"&&(C.responseType=n.responseType),c&&([d,g]=Ys(c,!0),C.addEventListener("progress",d)),h&&C.upload&&([u,m]=Ys(h),C.upload.addEventListener("progress",u),C.upload.addEventListener("loadend",m)),(n.cancelToken||n.signal)&&(l=y=>{C&&(s(!y||y.type?new je(null,i,C):y),C.abort(),C=null)},n.cancelToken&&n.cancelToken.subscribe(l),n.signal&&(n.signal.aborted?l():n.signal.addEventListener("abort",l)));const S=hl(n.url);if(S&&ut.protocols.indexOf(S)===-1){s(new N("Unsupported protocol "+S+":",N.ERR_BAD_REQUEST,i));return}C.send(r||null)})},pl=(i,t)=>{const{length:e}=i=i?i.filter(Boolean):[];if(t||e){let s=new AbortController,n;const r=function(c){if(!n){n=!0,o();const l=c instanceof Error?c:this.reason;s.abort(l instanceof N?l:new je(l instanceof Error?l.message:l))}};let a=t&&setTimeout(()=>{a=null,r(new N(`timeout ${t} of ms exceeded`,N.ETIMEDOUT))},t);const o=()=>{i&&(a&&clearTimeout(a),a=null,i.forEach(c=>{c.unsubscribe?c.unsubscribe(r):c.removeEventListener("abort",r)}),i=null)};i.forEach(c=>c.addEventListener("abort",r));const{signal:h}=s;return h.unsubscribe=()=>A.asap(o),h}},yl=function*(i,t){let e=i.byteLength;if(!t||e<t){yield i;return}let s=0,n;for(;s<e;)n=s+t,yield i.slice(s,n),s=n},wl=async function*(i,t){for await(const e of xl(i))yield*yl(e,t)},xl=async function*(i){if(i[Symbol.asyncIterator]){yield*i;return}const t=i.getReader();try{for(;;){const{done:e,value:s}=await t.read();if(e)break;yield s}}finally{await t.cancel()}},oa=(i,t,e,s)=>{const n=wl(i,t);let r=0,a,o=h=>{a||(a=!0,s&&s(h))};return new ReadableStream({async pull(h){try{const{done:c,value:l}=await n.next();if(c){o(),h.close();return}let u=l.byteLength;if(e){let d=r+=u;e(d)}h.enqueue(new Uint8Array(l))}catch(c){throw o(c),c}},cancel(h){return o(h),n.return()}},{highWaterMark:2})},Us=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ha=Us&&typeof ReadableStream=="function",bl=Us&&(typeof TextEncoder=="function"?(i=>t=>i.encode(t))(new TextEncoder):async i=>new Uint8Array(await new Response(i).arrayBuffer())),ca=(i,...t)=>{try{return!!i(...t)}catch{return!1}},Sl=ha&&ca(()=>{let i=!1;const t=new Request(ut.origin,{body:new ReadableStream,method:"POST",get duplex(){return i=!0,"half"}}).headers.has("Content-Type");return i&&!t}),la=64*1024,Wi=ha&&ca(()=>A.isReadableStream(new Response("").body)),Xs={stream:Wi&&(i=>i.body)};Us&&(i=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Xs[t]&&(Xs[t]=A.isFunction(i[t])?e=>e[t]():(e,s)=>{throw new N(`Response type '${t}' is not supported`,N.ERR_NOT_SUPPORT,s)})})})(new Response);const vl=async i=>{if(i==null)return 0;if(A.isBlob(i))return i.size;if(A.isSpecCompliantForm(i))return(await new Request(ut.origin,{method:"POST",body:i}).arrayBuffer()).byteLength;if(A.isArrayBufferView(i)||A.isArrayBuffer(i))return i.byteLength;if(A.isURLSearchParams(i)&&(i=i+""),A.isString(i))return(await bl(i)).byteLength},Cl=async(i,t)=>{const e=A.toFiniteNumber(i.getContentLength());return e??vl(t)},Ji={http:Vc,xhr:gl,fetch:Us&&(async i=>{let{url:t,method:e,data:s,signal:n,cancelToken:r,timeout:a,onDownloadProgress:o,onUploadProgress:h,responseType:c,headers:l,withCredentials:u="same-origin",fetchOptions:d}=aa(i);c=c?(c+"").toLowerCase():"text";let m=pl([n,r&&r.toAbortSignal()],a),g;const v=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let C;try{if(h&&Sl&&e!=="get"&&e!=="head"&&(C=await Cl(l,s))!==0){let P=new Request(t,{method:"POST",body:s,duplex:"half"}),_;if(A.isFormData(s)&&(_=P.headers.get("content-type"))&&l.setContentType(_),P.body){const[R,X]=sa(C,Ys(ia(h)));s=oa(P.body,la,R,X)}}A.isString(u)||(u=u?"include":"omit");const b="credentials"in Request.prototype;g=new Request(t,{...d,signal:m,method:e.toUpperCase(),headers:l.normalize().toJSON(),body:s,duplex:"half",credentials:b?u:void 0});let S=await fetch(g);const y=Wi&&(c==="stream"||c==="response");if(Wi&&(o||y&&v)){const P={};["status","statusText","headers"].forEach(G=>{P[G]=S[G]});const _=A.toFiniteNumber(S.headers.get("content-length")),[R,X]=o&&sa(_,Ys(ia(o),!0))||[];S=new Response(oa(S.body,la,R,()=>{X&&X(),v&&v()}),P)}c=c||"text";let w=await Xs[A.findKey(Xs,c)||"text"](S,i);return!y&&v&&v(),await new Promise((P,_)=>{ea(P,_,{data:w,headers:Yt.from(S.headers),status:S.status,statusText:S.statusText,config:i,request:g})})}catch(b){throw v&&v(),b&&b.name==="TypeError"&&/fetch/i.test(b.message)?Object.assign(new N("Network Error",N.ERR_NETWORK,i,g),{cause:b.cause||b}):N.from(b,b&&b.code,i,g)}})};A.forEach(Ji,(i,t)=>{if(i){try{Object.defineProperty(i,"name",{value:t})}catch{}Object.defineProperty(i,"adapterName",{value:t})}});const ua=i=>`- ${i}`,Tl=i=>A.isFunction(i)||i===null||i===!1,fa={getAdapter:i=>{i=A.isArray(i)?i:[i];const{length:t}=i;let e,s;const n={};for(let r=0;r<t;r++){e=i[r];let a;if(s=e,!Tl(e)&&(s=Ji[(a=String(e)).toLowerCase()],s===void 0))throw new N(`Unknown adapter '${a}'`);if(s)break;n[a||"#"+r]=s}if(!s){const r=Object.entries(n).map(([o,h])=>`adapter ${o} `+(h===!1?"is not supported by the environment":"is not available in the build"));let a=t?r.length>1?`since :
|
|
13
13
|
`+r.map(ua).join(`
|