function It(t,e){return function(){return t.apply(e,arguments)}}const{toString:ne}=Object.prototype,{getPrototypeOf:lt}=Object,W=(Y=Object.create(null),t=>{const e=ne.call(t);return Y[e]||(Y[e]=e.slice(8,-1).toLowerCase())});var Y;const v=t=>(t=t.toLowerCase(),e=>W(e)===t),X=t=>e=>typeof e===t,{isArray:L}=Array,B=X("undefined"),ht=v("ArrayBuffer"),re=X("string"),A=X("function"),mt=X("number"),I=t=>t!==null&&typeof t=="object",M=t=>{if(W(t)!=="object")return!1;const e=lt(t);return!(e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.toStringTag in t||Symbol.iterator in t)},oe=v("Date"),se=v("File"),ie=v("Blob"),ae=v("FileList"),ce=v("URLSearchParams"),[ue,le,fe,de]=["ReadableStream","Request","Response","Headers"].map(v);function k(t,e,{allOwnKeys:n=!1}={}){if(t==null)return;let r,s;if(typeof t!="object"&&(t=[t]),L(t))for(r=0,s=t.length;r0;)if(r=n[s],e===r.toLowerCase())return r;return null}const N=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,bt=t=>!B(t)&&t!==N,pe=(tt=typeof Uint8Array<"u"&<(Uint8Array),t=>tt&&t instanceof tt);var tt;const he=v("HTMLFormElement"),gt=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),me=v("RegExp"),wt=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};k(n,(s,i)=>{let o;(o=e(s,i,t))!==!1&&(r[i]=o||s)}),Object.defineProperties(t,r)},et="abcdefghijklmnopqrstuvwxyz",Et="0123456789",Rt={DIGIT:Et,ALPHA:et,ALPHA_DIGIT:et+et.toUpperCase()+Et},ye=v("AsyncFunction"),Mt=(Ot=typeof setImmediate=="function",St=A(N.postMessage),Ot?setImmediate:St?(nt=`axios@${Math.random()}`,z=[],N.addEventListener("message",({source:t,data:e})=>{t===N&&e===nt&&z.length&&z.shift()()},!1),t=>{z.push(t),N.postMessage(nt,"*")}):t=>setTimeout(t));var Ot,St,nt,z;const be=typeof queueMicrotask<"u"?queueMicrotask.bind(N):typeof process<"u"&&process.nextTick||Mt,a={isArray:L,isArrayBuffer:ht,isBuffer:function(t){return t!==null&&!B(t)&&t.constructor!==null&&!B(t.constructor)&&A(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||A(t.append)&&((e=W(t))==="formdata"||e==="object"&&A(t.toString)&&t.toString()==="[object FormData]"))},isArrayBufferView:function(t){let e;return e=typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&ht(t.buffer),e},isString:re,isNumber:mt,isBoolean:t=>t===!0||t===!1,isObject:I,isPlainObject:M,isReadableStream:ue,isRequest:le,isResponse:fe,isHeaders:de,isUndefined:B,isDate:oe,isFile:se,isBlob:ie,isRegExp:me,isFunction:A,isStream:t=>I(t)&&A(t.pipe),isURLSearchParams:ce,isTypedArray:pe,isFileList:ae,forEach:k,merge:function t(){const{caseless:e}=bt(this)&&this||{},n={},r=(s,i)=>{const o=e&&yt(n,i)||i;M(n[o])&&M(s)?n[o]=t(n[o],s):M(s)?n[o]=t({},s):L(s)?n[o]=s.slice():n[o]=s};for(let s=0,i=arguments.length;s(k(e,(s,i)=>{n&&A(s)?t[i]=It(s,n):t[i]=s},{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let s,i,o;const u={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),i=s.length;i-- >0;)o=s[i],r&&!r(o,t,e)||u[o]||(e[o]=t[o],u[o]=!0);t=n!==!1&<(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:W,kindOfTest:v,endsWith:(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},toArray:t=>{if(!t)return null;if(L(t))return t;let e=t.length;if(!mt(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const s=r.value;e.call(t,s[0],s[1])}},matchAll:(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},isHTMLForm:he,hasOwnProperty:gt,hasOwnProp:gt,reduceDescriptors:wt,freezeMethods:t=>{wt(t,(e,n)=>{if(A(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];A(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(t,e)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return L(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,n,r){return n.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,findKey:yt,global:N,isContextDefined:bt,ALPHABET:Rt,generateString:(t=16,e=Rt.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n},isSpecCompliantForm:function(t){return!!(t&&A(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(r,s)=>{if(I(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[s]=r;const i=L(r)?[]:{};return k(r,(o,u)=>{const f=n(o,s+1);!B(f)&&(i[u]=f)}),e[s]=void 0,i}}return r};return n(t,0)},isAsyncFn:ye,isThenable:t=>t&&(I(t)||A(t))&&A(t.then)&&A(t.catch),setImmediate:Mt,asap:be};function y(t,e,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}a.inherits(y,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 Tt=y.prototype,At={};["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(t=>{At[t]={value:t}}),Object.defineProperties(y,At),Object.defineProperty(Tt,"isAxiosError",{value:!0}),y.from=(t,e,n,r,s,i)=>{const o=Object.create(Tt);return a.toFlatObject(t,o,function(u){return u!==Error.prototype},u=>u!=="isAxiosError"),y.call(o,t.message,e,n,r,s),o.cause=t,o.name=t.name,i&&Object.assign(o,i),o};function rt(t){return a.isPlainObject(t)||a.isArray(t)}function zt(t){return a.endsWith(t,"[]")?t.slice(0,-2):t}function vt(t,e,n){return t?t.concat(e).map(function(r,s){return r=zt(r),!n&&s?"["+r+"]":r}).join(n?".":""):e}const ge=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function K(t,e,n){if(!a.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,p){return!a.isUndefined(p[m])})).metaTokens,s=n.visitor||c,i=n.dots,o=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(e);if(!a.isFunction(s))throw new TypeError("visitor must be a function");function f(m){if(m===null)return"";if(a.isDate(m))return m.toISOString();if(!u&&a.isBlob(m))throw new y("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(m)||a.isTypedArray(m)?u&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function c(m,p,b){let d=m;if(m&&!b&&typeof m=="object"){if(a.endsWith(p,"{}"))p=r?p:p.slice(0,-2),m=JSON.stringify(m);else if(a.isArray(m)&&function(g){return a.isArray(g)&&!g.some(rt)}(m)||(a.isFileList(m)||a.endsWith(p,"[]"))&&(d=a.toArray(m)))return p=zt(p),d.forEach(function(g,R){!a.isUndefined(g)&&g!==null&&e.append(o===!0?vt([p],R,i):o===null?p:p+"[]",f(g))}),!1}return!!rt(m)||(e.append(vt(b,p,i),f(m)),!1)}const l=[],h=Object.assign(ge,{defaultVisitor:c,convertValue:f,isVisitable:rt});if(!a.isObject(t))throw new TypeError("data must be an object");return function m(p,b){if(!a.isUndefined(p)){if(l.indexOf(p)!==-1)throw Error("Circular reference detected in "+b.join("."));l.push(p),a.forEach(p,function(d,g){(!(a.isUndefined(d)||d===null)&&s.call(e,d,a.isString(g)?g.trim():g,b,h))===!0&&m(d,b?b.concat(g):[g])}),l.pop()}}(t),e}function xt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function ft(t,e){this._pairs=[],t&&K(t,this,e)}const Ct=ft.prototype;function we(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ht(t,e,n){if(!e)return t;const r=n&&n.encode||we;a.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let i;if(i=s?s(e,n):a.isURLSearchParams(e)?e.toString():new ft(e,n).toString(r),i){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}Ct.append=function(t,e){this._pairs.push([t,e])},Ct.toString=function(t){const e=t?function(n){return t.call(this,n,xt)}:xt;return this._pairs.map(function(n){return e(n[0])+"="+e(n[1])},"").join("&")};class jt{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){a.forEach(this.handlers,function(n){n!==null&&e(n)})}}const Jt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ee={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:ft,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},dt=typeof window<"u"&&typeof document<"u",at=typeof navigator=="object"&&navigator||void 0,Re=dt&&(!at||["ReactNative","NativeScript","NS"].indexOf(at.product)<0),Oe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Se=dt&&window.location.href||"http://localhost",O={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:dt,hasStandardBrowserEnv:Re,hasStandardBrowserWebWorkerEnv:Oe,navigator:at,origin:Se},Symbol.toStringTag,{value:"Module"})),...Ee};function Wt(t){function e(n,r,s,i){let o=n[i++];if(o==="__proto__")return!0;const u=Number.isFinite(+o),f=i>=n.length;return o=!o&&a.isArray(s)?s.length:o,f?(a.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!u):(s[o]&&a.isObject(s[o])||(s[o]=[]),e(n,r,s[o],i)&&a.isArray(s[o])&&(s[o]=function(c){const l={},h=Object.keys(c);let m;const p=h.length;let b;for(m=0;m{e(function(i){return a.matchAll(/\w+|\[(\w*)]/g,i).map(o=>o[0]==="[]"?"":o[1]||o[0])}(r),s,n,0)}),n}return null}const D={transitional:Jt,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,s=a.isObject(t);if(s&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return r?JSON.stringify(Wt(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 i;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(o,u){return K(o,new O.classes.URLSearchParams,Object.assign({visitor:function(f,c,l,h){return O.isNode&&a.isBuffer(f)?(this.append(c,f.toString("base64")),!1):h.defaultVisitor.apply(this,arguments)}},u))}(t,this.formSerializer).toString();if((i=a.isFileList(t))||n.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return K(i?{"files[]":t}:t,o&&new o,this.formSerializer)}}return s||r?(e.setContentType("application/json",!1),function(o,u,f){if(a.isString(o))try{return(u||JSON.parse)(o),a.trim(o)}catch(c){if(c.name!=="SyntaxError")throw c}return(f||JSON.stringify)(o)}(t)):t}],transformResponse:[function(t){const e=this.transitional||D.transitional,n=e&&e.forcedJSONParsing,r=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(n&&!this.responseType||r)){const s=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(i){if(s)throw i.name==="SyntaxError"?y.from(i,y.ERR_BAD_RESPONSE,this,null,this.response):i}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:O.classes.FormData,Blob:O.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"],t=>{D.headers[t]={}});const Te=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"]),Nt=Symbol("internals");function F(t){return t&&String(t).trim().toLowerCase()}function H(t){return t===!1||t==null?t:a.isArray(t)?t.map(H):String(t)}function ot(t,e,n,r,s){return a.isFunction(r)?r.call(this,e,n):(s&&(e=n),a.isString(e)?a.isString(r)?e.indexOf(r)!==-1:a.isRegExp(r)?r.test(e):void 0:void 0)}let S=class{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function s(o,u,f){const c=F(u);if(!c)throw new Error("header name must be a non-empty string");const l=a.findKey(r,c);(!l||r[l]===void 0||f===!0||f===void 0&&r[l]!==!1)&&(r[l||u]=H(o))}const i=(o,u)=>a.forEach(o,(f,c)=>s(f,c,u));if(a.isPlainObject(t)||t instanceof this.constructor)i(t,e);else if(a.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))i((o=>{const u={};let f,c,l;return o&&o.split(` `).forEach(function(h){l=h.indexOf(":"),f=h.substring(0,l).trim().toLowerCase(),c=h.substring(l+1).trim(),!f||u[f]&&Te[f]||(f==="set-cookie"?u[f]?u[f].push(c):u[f]=[c]:u[f]=u[f]?u[f]+", "+c:c)}),u})(t),e);else if(a.isHeaders(t))for(const[o,u]of t.entries())s(u,o,n);else t!=null&&s(e,t,n);return this}get(t,e){if(t=F(t)){const n=a.findKey(this,t);if(n){const r=this[n];if(!e)return r;if(e===!0)return function(s){const i=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let u;for(;u=o.exec(s);)i[u[1]]=u[2];return i}(r);if(a.isFunction(e))return e.call(this,r,n);if(a.isRegExp(e))return e.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=F(t)){const n=a.findKey(this,t);return!(!n||this[n]===void 0||e&&!ot(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function s(i){if(i=F(i)){const o=a.findKey(n,i);!o||e&&!ot(0,n[o],o,e)||(delete n[o],r=!0)}}return a.isArray(t)?t.forEach(s):s(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const s=e[n];t&&!ot(0,this[s],s,t,!0)||(delete this[s],r=!0)}return r}normalize(t){const e=this,n={};return a.forEach(this,(r,s)=>{const i=a.findKey(n,s);if(i)return e[i]=H(r),void delete e[s];const o=t?function(u){return u.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(f,c,l)=>c.toUpperCase()+l)}(s):String(s).trim();o!==s&&delete e[s],e[o]=H(r),n[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return a.forEach(this,(n,r)=>{n!=null&&n!==!1&&(e[r]=t&&a.isArray(n)?n.join(", "):n)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach(r=>n.set(r)),n}static accessor(t){const e=(this[Nt]=this[Nt]={accessors:{}}).accessors,n=this.prototype;function r(s){const i=F(s);e[i]||(function(o,u){const f=a.toCamelCase(" "+u);["get","set","has"].forEach(c=>{Object.defineProperty(o,c+f,{value:function(l,h,m){return this[c].call(this,u,l,h,m)},configurable:!0})})}(n,s),e[i]=!0)}return a.isArray(t)?t.forEach(r):r(t),this}};function st(t,e){const n=this||D,r=e||n,s=S.from(r.headers);let i=r.data;return a.forEach(t,function(o){i=o.call(n,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function Kt(t){return!(!t||!t.__CANCEL__)}function U(t,e,n){y.call(this,t??"canceled",y.ERR_CANCELED,e,n),this.name="CanceledError"}function Vt(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new y("Request failed with status code "+n.status,[y.ERR_BAD_REQUEST,y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}S.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),a.reduceDescriptors(S.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),a.freezeMethods(S),a.inherits(U,y,{__CANCEL__:!0});const V=(t,e,n=3)=>{let r=0;const s=function(i,o){i=i||10;const u=new Array(i),f=new Array(i);let c,l=0,h=0;return o=o!==void 0?o:1e3,function(m){const p=Date.now(),b=f[h];c||(c=p),u[l]=m,f[l]=p;let d=h,g=0;for(;d!==l;)g+=u[d++],d%=i;if(l=(l+1)%i,l===h&&(h=(h+1)%i),p-c{c=p,u=null,f&&(clearTimeout(f),f=null),i.apply(null,m)};return[(...m)=>{const p=Date.now(),b=p-c;b>=l?h(m,p):(u=m,f||(f=setTimeout(()=>{f=null,h(u)},l-b)))},()=>u&&h(u)]}(i=>{const o=i.loaded,u=i.lengthComputable?i.total:void 0,f=o-r,c=s(f);r=o,t({loaded:o,total:u,progress:u?o/u:void 0,bytes:f,rate:c||void 0,estimated:c&&u&&o<=u?(u-o)/c:void 0,event:i,lengthComputable:u!=null,[e?"download":"upload"]:!0})},n)},Pt=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},_t=t=>(...e)=>a.asap(()=>t(...e)),Ae=O.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,O.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(O.origin),O.navigator&&/(msie|trident)/i.test(O.navigator.userAgent)):()=>!0,ve=O.hasStandardBrowserEnv?{write(t,e,n,r,s,i){const o=[t+"="+encodeURIComponent(e)];a.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),a.isString(r)&&o.push("path="+r),a.isString(s)&&o.push("domain="+s),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function $t(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(n,r){return r?n.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):n}(t,e):e}const Lt=t=>t instanceof S?{...t}:t;function _(t,e){e=e||{};const n={};function r(c,l,h,m){return a.isPlainObject(c)&&a.isPlainObject(l)?a.merge.call({caseless:m},c,l):a.isPlainObject(l)?a.merge({},l):a.isArray(l)?l.slice():l}function s(c,l,h,m){return a.isUndefined(l)?a.isUndefined(c)?void 0:r(void 0,c,0,m):r(c,l,0,m)}function i(c,l){if(!a.isUndefined(l))return r(void 0,l)}function o(c,l){return a.isUndefined(l)?a.isUndefined(c)?void 0:r(void 0,c):r(void 0,l)}function u(c,l,h){return h in e?r(c,l):h in t?r(void 0,c):void 0}const f={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u,headers:(c,l,h)=>s(Lt(c),Lt(l),0,!0)};return a.forEach(Object.keys(Object.assign({},t,e)),function(c){const l=f[c]||s,h=l(t[c],e[c],c);a.isUndefined(h)&&l!==u||(n[c]=h)}),n}const Gt=t=>{const e=_({},t);let n,{data:r,withXSRFToken:s,xsrfHeaderName:i,xsrfCookieName:o,headers:u,auth:f}=e;if(e.headers=u=S.from(u),e.url=Ht($t(e.baseURL,e.url),t.params,t.paramsSerializer),f&&u.set("Authorization","Basic "+btoa((f.username||"")+":"+(f.password?unescape(encodeURIComponent(f.password)):""))),a.isFormData(r)){if(O.hasStandardBrowserEnv||O.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if((n=u.getContentType())!==!1){const[c,...l]=n?n.split(";").map(h=>h.trim()).filter(Boolean):[];u.setContentType([c||"multipart/form-data",...l].join("; "))}}if(O.hasStandardBrowserEnv&&(s&&a.isFunction(s)&&(s=s(e)),s||s!==!1&&Ae(e.url))){const c=i&&o&&ve.read(o);c&&u.set(i,c)}return e},xe=typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(e,n){const r=Gt(t);let s=r.data;const i=S.from(r.headers).normalize();let o,u,f,c,l,{responseType:h,onUploadProgress:m,onDownloadProgress:p}=r;function b(){c&&c(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(o),r.signal&&r.signal.removeEventListener("abort",o)}let d=new XMLHttpRequest;function g(){if(!d)return;const w=S.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders());Vt(function(T){e(T),b()},function(T){n(T),b()},{data:h&&h!=="text"&&h!=="json"?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:w,config:t,request:d}),d=null}d.open(r.method.toUpperCase(),r.url,!0),d.timeout=r.timeout,"onloadend"in d?d.onloadend=g:d.onreadystatechange=function(){d&&d.readyState===4&&(d.status!==0||d.responseURL&&d.responseURL.indexOf("file:")===0)&&setTimeout(g)},d.onabort=function(){d&&(n(new y("Request aborted",y.ECONNABORTED,t,d)),d=null)},d.onerror=function(){n(new y("Network Error",y.ERR_NETWORK,t,d)),d=null},d.ontimeout=function(){let w=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const T=r.transitional||Jt;r.timeoutErrorMessage&&(w=r.timeoutErrorMessage),n(new y(w,T.clarifyTimeoutError?y.ETIMEDOUT:y.ECONNABORTED,t,d)),d=null},s===void 0&&i.setContentType(null),"setRequestHeader"in d&&a.forEach(i.toJSON(),function(w,T){d.setRequestHeader(T,w)}),a.isUndefined(r.withCredentials)||(d.withCredentials=!!r.withCredentials),h&&h!=="json"&&(d.responseType=r.responseType),p&&([f,l]=V(p,!0),d.addEventListener("progress",f)),m&&d.upload&&([u,c]=V(m),d.upload.addEventListener("progress",u),d.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(o=w=>{d&&(n(!w||w.type?new U(null,t,d):w),d.abort(),d=null)},r.cancelToken&&r.cancelToken.subscribe(o),r.signal&&(r.signal.aborted?o():r.signal.addEventListener("abort",o)));const R=function(w){const T=/^([-+\w]{1,25})(:?\/\/|:)/.exec(w);return T&&T[1]||""}(r.url);R&&O.protocols.indexOf(R)===-1?n(new y("Unsupported protocol "+R+":",y.ERR_BAD_REQUEST,t)):d.send(s||null)})},Ce=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r,s=new AbortController;const i=function(c){if(!r){r=!0,u();const l=c instanceof Error?c:this.reason;s.abort(l instanceof y?l:new U(l instanceof Error?l.message:l))}};let o=e&&setTimeout(()=>{o=null,i(new y(`timeout ${e} of ms exceeded`,y.ETIMEDOUT))},e);const u=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),t=null)};t.forEach(c=>c.addEventListener("abort",i));const{signal:f}=s;return f.unsubscribe=()=>a.asap(u),f}},je=function*(t,e){let n=t.byteLength;if(n{const s=async function*(f,c){for await(const l of Ne(f))yield*je(l,c)}(t,e);let i,o=0,u=f=>{i||(i=!0,r&&r(f))};return new ReadableStream({async pull(f){try{const{done:c,value:l}=await s.next();if(c)return u(),void f.close();let h=l.byteLength;if(n){let m=o+=h;n(m)}f.enqueue(new Uint8Array(l))}catch(c){throw u(c),c}},cancel:f=>(u(f),s.return())},{highWaterMark:2})},Q=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Xt=Q&&typeof ReadableStream=="function",Pe=Q&&(typeof TextEncoder=="function"?(Ft=new TextEncoder,t=>Ft.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var Ft;const Qt=(t,...e)=>{try{return!!t(...e)}catch{return!1}},_e=Xt&&Qt(()=>{let t=!1;const e=new Request(O.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),ct=Xt&&Qt(()=>a.isReadableStream(new Response("").body)),$={stream:ct&&(t=>t.body)};var Bt;Q&&(Bt=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!$[t]&&($[t]=a.isFunction(Bt[t])?e=>e[t]():(e,n)=>{throw new y(`Response type '${t}' is not supported`,y.ERR_NOT_SUPPORT,n)})}));const Le=async(t,e)=>{const n=a.toFiniteNumber(t.getContentLength());return n??(async r=>r==null?0:a.isBlob(r)?r.size:a.isSpecCompliantForm(r)?(await new Request(O.origin,{method:"POST",body:r}).arrayBuffer()).byteLength:a.isArrayBufferView(r)||a.isArrayBuffer(r)?r.byteLength:(a.isURLSearchParams(r)&&(r+=""),a.isString(r)?(await Pe(r)).byteLength:void 0))(e)},Zt={http:null,xhr:xe,fetch:Q&&(async t=>{let{url:e,method:n,data:r,signal:s,cancelToken:i,timeout:o,onDownloadProgress:u,onUploadProgress:f,responseType:c,headers:l,withCredentials:h="same-origin",fetchOptions:m}=Gt(t);c=c?(c+"").toLowerCase():"text";let p,b=Ce([s,i&&i.toAbortSignal()],o);const d=b&&b.unsubscribe&&(()=>{b.unsubscribe()});let g;try{if(f&&_e&&n!=="get"&&n!=="head"&&(g=await Le(l,r))!==0){let C,j=new Request(e,{method:"POST",body:r,duplex:"half"});if(a.isFormData(r)&&(C=j.headers.get("content-type"))&&l.setContentType(C),j.body){const[Z,q]=Pt(g,V(_t(f)));r=Ut(j.body,65536,Z,q)}}a.isString(h)||(h=h?"include":"omit");const R="credentials"in Request.prototype;p=new Request(e,{...m,signal:b,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:R?h:void 0});let w=await fetch(p);const T=ct&&(c==="stream"||c==="response");if(ct&&(u||T&&d)){const C={};["status","statusText","headers"].forEach(pt=>{C[pt]=w[pt]});const j=a.toFiniteNumber(w.headers.get("content-length")),[Z,q]=u&&Pt(j,V(_t(u),!0))||[];w=new Response(Ut(w.body,65536,Z,()=>{q&&q(),d&&d()}),C)}c=c||"text";let ee=await $[a.findKey($,c)||"text"](w,t);return!T&&d&&d(),await new Promise((C,j)=>{Vt(C,j,{data:ee,headers:S.from(w.headers),status:w.status,statusText:w.statusText,config:t,request:p})})}catch(R){throw d&&d(),R&&R.name==="TypeError"&&/fetch/i.test(R.message)?Object.assign(new y("Network Error",y.ERR_NETWORK,t,p),{cause:R.cause||R}):y.from(R,R&&R.code,t,p)}})};a.forEach(Zt,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const kt=t=>`- ${t}`,Ue=t=>a.isFunction(t)||t===null||t===!1,Yt=t=>{t=a.isArray(t)?t:[t];const{length:e}=t;let n,r;const s={};for(let i=0;i`adapter ${o} `+(u===!1?"is not supported by the environment":"is not available in the build"));throw new y("There is no suitable adapter to dispatch the request "+(e?i.length>1?`since : `+i.map(kt).join(` `):" "+kt(i[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function it(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new U(null,t)}function Dt(t){return it(t),t.headers=S.from(t.headers),t.data=st.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Yt(t.adapter||D.adapter)(t).then(function(e){return it(t),e.data=st.call(t,t.transformResponse,e),e.headers=S.from(e.headers),e},function(e){return Kt(e)||(it(t),e&&e.response&&(e.response.data=st.call(t,t.transformResponse,e.response),e.response.headers=S.from(e.response.headers))),Promise.reject(e)})}const Fe="1.7.9",G={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{G[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const qt={};G.transitional=function(t,e,n){function r(s,i){return"[Axios v1.7.9] Transitional option '"+s+"'"+i+(n?". "+n:"")}return(s,i,o)=>{if(t===!1)throw new y(r(i," has been removed"+(e?" in "+e:"")),y.ERR_DEPRECATED);return e&&!qt[i]&&(qt[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(s,i,o)}},G.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};const J={assertOptions:function(t,e,n){if(typeof t!="object")throw new y("options must be an object",y.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const i=r[s],o=e[i];if(o){const u=t[i],f=u===void 0||o(u,i,t);if(f!==!0)throw new y("option "+i+" must be "+f,y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new y("Unknown option "+i,y.ERR_BAD_OPTION)}},validators:G},x=J.validators;let P=class{constructor(t){this.defaults=t,this.interceptors={request:new jt,response:new jt}}async request(t,e){try{return await this._request(t,e)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const s=r.stack?r.stack.replace(/^.+\n/,""):"";try{n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+=` `+s):n.stack=s}catch{}}throw n}}_request(t,e){typeof t=="string"?(e=e||{}).url=t:e=t||{},e=_(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:s}=e;n!==void 0&&J.assertOptions(n,{silentJSONParsing:x.transitional(x.boolean),forcedJSONParsing:x.transitional(x.boolean),clarifyTimeoutError:x.transitional(x.boolean)},!1),r!=null&&(a.isFunction(r)?e.paramsSerializer={serialize:r}:J.assertOptions(r,{encode:x.function,serialize:x.function},!0)),J.assertOptions(e,{baseUrl:x.spelling("baseURL"),withXsrfToken:x.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=s&&a.merge(s.common,s[e.method]);s&&a.forEach(["delete","get","head","post","put","patch","common"],p=>{delete s[p]}),e.headers=S.concat(i,s);const o=[];let u=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(e)===!1||(u=u&&p.synchronous,o.unshift(p.fulfilled,p.rejected))});const f=[];let c;this.interceptors.response.forEach(function(p){f.push(p.fulfilled,p.rejected)});let l,h=0;if(!u){const p=[Dt.bind(this),void 0];for(p.unshift.apply(p,o),p.push.apply(p,f),l=p.length,c=Promise.resolve(e);h{ut[e]=t});const E=function t(e){const n=new P(e),r=It(P.prototype.request,n);return a.extend(r,P.prototype,n,{allOwnKeys:!0}),a.extend(r,n,null,{allOwnKeys:!0}),r.create=function(s){return t(_(e,s))},r}(D);E.Axios=P,E.CanceledError=U,E.CancelToken=class te{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(s=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(u=>{r.subscribe(u),i=u}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},e(function(s,i,o){r.reason||(r.reason=new U(s,i,o),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new te(function(n){e=n}),cancel:e}}},E.isCancel=Kt,E.VERSION=Fe,E.toFormData=K,E.AxiosError=y,E.Cancel=E.CanceledError,E.all=function(t){return Promise.all(t)},E.spread=function(t){return function(e){return t.apply(null,e)}},E.isAxiosError=function(t){return a.isObject(t)&&t.isAxiosError===!0},E.mergeConfig=_,E.AxiosHeaders=S,E.formToJSON=t=>Wt(a.isHTMLForm(t)?new FormData(t):t),E.getAdapter=Yt,E.HttpStatusCode=ut,E.default=E;const{Axios:Be,AxiosError:ke,CanceledError:De,isCancel:qe,CancelToken:Ie,VERSION:Me,all:ze,Cancel:He,isAxiosError:Je,spread:We,toFormData:Ke,AxiosHeaders:Ve,HttpStatusCode:$e,formToJSON:Ge,getAdapter:Xe,mergeConfig:Qe}=E;export{E as a};