-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathmain-CJwIL9Ll.chunk.mjs
More file actions
1 lines (1 loc) · 95.1 KB
/
main-CJwIL9Ll.chunk.mjs
File metadata and controls
1 lines (1 loc) · 95.1 KB
1
var yr=Object.defineProperty;var Er=(e,t,r)=>t in e?yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ve=(e,t,r)=>Er(e,typeof t!="symbol"?t+"":t,r);import{h as fe,k as gn,o as wr,p as tt,g as mn,_ as pt,d as D,q as oe,b as A,c as M,u as yn,s as z,v as br,x as vr,y as _r,z as Rr,A as Ir,N as En,i as dt,l as Be,B as Or,C as Nr,D as Ar,E as Sr,F as Lr,H as Tr,I as Cr,V as Ne,J as xr}from"./NcIconSvgWrapper-Ckqpz-vm-DfxD4hqH.chunk.mjs";const gt=1024,wn=gt/2,Pe=e=>document.documentElement.clientWidth<e,bn=fe(Pe(gt)),vn=fe(Pe(wn));window.addEventListener("resize",()=>{bn.value=Pe(gt),vn.value=Pe(wn)},{passive:!0});function _n(){return gn(vn)}gn(bn);function Rn(e,t){return function(){return e.apply(t,arguments)}}const{toString:Br}=Object.prototype,{getPrototypeOf:mt}=Object,ke=(e=>t=>{const r=Br.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),X=e=>(e=e.toLowerCase(),t=>ke(t)===e),Fe=e=>t=>typeof t===e,{isArray:he}=Array,be=Fe("undefined");function Pr(e){return e!==null&&!be(e)&&e.constructor!==null&&!be(e.constructor)&&F(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const In=X("ArrayBuffer");function $r(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&In(e.buffer),t}const Ur=Fe("string"),F=Fe("function"),On=Fe("number"),je=e=>e!==null&&typeof e=="object",kr=e=>e===!0||e===!1,Ae=e=>{if(ke(e)!=="object")return!1;const t=mt(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Fr=X("Date"),jr=X("File"),zr=X("Blob"),Dr=X("FileList"),Mr=e=>je(e)&&F(e.pipe),Hr=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||F(e.append)&&((t=ke(e))==="formdata"||t==="object"&&F(e.toString)&&e.toString()==="[object FormData]"))},qr=X("URLSearchParams"),[Gr,Wr,Vr,Xr]=["ReadableStream","Request","Response","Headers"].map(X),Jr=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ve(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let i,a;if(typeof e!="object"&&(e=[e]),he(e))for(i=0,a=e.length;i<a;i++)t.call(null,e[i],i,e);else{const u=r?Object.getOwnPropertyNames(e):Object.keys(e),c=u.length;let y;for(i=0;i<c;i++)y=u[i],t.call(null,e[y],y,e)}}function Nn(e,t){t=t.toLowerCase();const r=Object.keys(e);let i=r.length,a;for(;i-- >0;)if(a=r[i],t===a.toLowerCase())return a;return null}const re=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:wr,An=e=>!be(e)&&e!==re;function nt(){const{caseless:e}=An(this)&&this||{},t={},r=(i,a)=>{const u=e&&Nn(t,a)||a;Ae(t[u])&&Ae(i)?t[u]=nt(t[u],i):Ae(i)?t[u]=nt({},i):he(i)?t[u]=i.slice():t[u]=i};for(let i=0,a=arguments.length;i<a;i++)arguments[i]&&ve(arguments[i],r);return t}const Kr=(e,t,r,{allOwnKeys:i}={})=>(ve(t,(a,u)=>{r&&F(a)?e[u]=Rn(a,r):e[u]=a},{allOwnKeys:i}),e),Zr=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Qr=(e,t,r,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Yr=(e,t,r,i)=>{let a,u,c;const y={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),u=a.length;u-- >0;)c=a[u],(!i||i(c,e,t))&&!y[c]&&(t[c]=e[c],y[c]=!0);e=r!==!1&&mt(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},eo=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const i=e.indexOf(t,r);return i!==-1&&i===r},to=e=>{if(!e)return null;if(he(e))return e;let t=e.length;if(!On(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},no=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&mt(Uint8Array)),ro=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},oo=(e,t)=>{let r;const i=[];for(;(r=e.exec(t))!==null;)i.push(r);return i},io=X("HTMLFormElement"),so=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,i){return r.toUpperCase()+i}),Bt=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),ao=X("RegExp"),Sn=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),i={};ve(r,(a,u)=>{let c;(c=t(a,u,e))!==!1&&(i[u]=c||a)}),Object.defineProperties(e,i)},uo=e=>{Sn(e,(t,r)=>{if(F(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const i=e[r];if(F(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},co=(e,t)=>{const r={},i=a=>{a.forEach(u=>{r[u]=!0})};return he(e)?i(e):i(String(e).split(t)),r},lo=()=>{},fo=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Xe="abcdefghijklmnopqrstuvwxyz",Pt="0123456789",Ln={DIGIT:Pt,ALPHA:Xe,ALPHA_DIGIT:Xe+Xe.toUpperCase()+Pt},ho=(e=16,t=Ln.ALPHA_DIGIT)=>{let r="";const{length:i}=t;for(;e--;)r+=t[Math.random()*i|0];return r};function po(e){return!!(e&&F(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const go=e=>{const t=new Array(10),r=(i,a)=>{if(je(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[a]=i;const u=he(i)?[]:{};return ve(i,(c,y)=>{const p=r(c,a+1);!be(p)&&(u[y]=p)}),t[a]=void 0,u}}return i};return r(e,0)},mo=X("AsyncFunction"),yo=e=>e&&(je(e)||F(e))&&F(e.then)&&F(e.catch),Tn=((e,t)=>e?setImmediate:t?((r,i)=>(re.addEventListener("message",({source:a,data:u})=>{a===re&&u===r&&i.length&&i.shift()()},!1),a=>{i.push(a),re.postMessage(r,"*")}))("axios@".concat(Math.random()),[]):r=>setTimeout(r))(typeof setImmediate=="function",F(re.postMessage)),Eo=typeof queueMicrotask<"u"?queueMicrotask.bind(re):typeof tt<"u"&&tt.nextTick||Tn,g={isArray:he,isArrayBuffer:In,isBuffer:Pr,isFormData:Hr,isArrayBufferView:$r,isString:Ur,isNumber:On,isBoolean:kr,isObject:je,isPlainObject:Ae,isReadableStream:Gr,isRequest:Wr,isResponse:Vr,isHeaders:Xr,isUndefined:be,isDate:Fr,isFile:jr,isBlob:zr,isRegExp:ao,isFunction:F,isStream:Mr,isURLSearchParams:qr,isTypedArray:no,isFileList:Dr,forEach:ve,merge:nt,extend:Kr,trim:Jr,stripBOM:Zr,inherits:Qr,toFlatObject:Yr,kindOf:ke,kindOfTest:X,endsWith:eo,toArray:to,forEachEntry:ro,matchAll:oo,isHTMLForm:io,hasOwnProperty:Bt,hasOwnProp:Bt,reduceDescriptors:Sn,freezeMethods:uo,toObjectSet:co,toCamelCase:so,noop:lo,toFiniteNumber:fo,findKey:Nn,global:re,isContextDefined:An,ALPHABET:Ln,generateString:ho,isSpecCompliantForm:po,toJSONObject:go,isAsyncFn:mo,isThenable:yo,setImmediate:Tn,asap:Eo};var Cn={},Se={};Se.byteLength=vo,Se.toByteArray=Ro,Se.fromByteArray=No;for(var Q=[],j=[],wo=typeof Uint8Array<"u"?Uint8Array:Array,Je="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ue=0,bo=Je.length;ue<bo;++ue)Q[ue]=Je[ue],j[Je.charCodeAt(ue)]=ue;j[45]=62,j[95]=63;function xn(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var i=r===t?0:4-r%4;return[r,i]}function vo(e){var t=xn(e),r=t[0],i=t[1];return(r+i)*3/4-i}function _o(e,t,r){return(t+r)*3/4-r}function Ro(e){var t,r=xn(e),i=r[0],a=r[1],u=new wo(_o(e,i,a)),c=0,y=a>0?i-4:i,p;for(p=0;p<y;p+=4)t=j[e.charCodeAt(p)]<<18|j[e.charCodeAt(p+1)]<<12|j[e.charCodeAt(p+2)]<<6|j[e.charCodeAt(p+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=t&255;return a===2&&(t=j[e.charCodeAt(p)]<<2|j[e.charCodeAt(p+1)]>>4,u[c++]=t&255),a===1&&(t=j[e.charCodeAt(p)]<<10|j[e.charCodeAt(p+1)]<<4|j[e.charCodeAt(p+2)]>>2,u[c++]=t>>8&255,u[c++]=t&255),u}function Io(e){return Q[e>>18&63]+Q[e>>12&63]+Q[e>>6&63]+Q[e&63]}function Oo(e,t,r){for(var i,a=[],u=t;u<r;u+=3)i=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(e[u+2]&255),a.push(Io(i));return a.join("")}function No(e){for(var t,r=e.length,i=r%3,a=[],u=16383,c=0,y=r-i;c<y;c+=u)a.push(Oo(e,c,c+u>y?y:c+u));return i===1?(t=e[r-1],a.push(Q[t>>2]+Q[t<<4&63]+"==")):i===2&&(t=(e[r-2]<<8)+e[r-1],a.push(Q[t>>10]+Q[t>>4&63]+Q[t<<2&63]+"=")),a.join("")}var rt={};rt.read=function(e,t,r,i,a){var u,c,y=a*8-i-1,p=(1<<y)-1,h=p>>1,l=-7,v=r?a-1:0,I=r?-1:1,E=e[t+v];for(v+=I,u=E&(1<<-l)-1,E>>=-l,l+=y;l>0;u=u*256+e[t+v],v+=I,l-=8);for(c=u&(1<<-l)-1,u>>=-l,l+=i;l>0;c=c*256+e[t+v],v+=I,l-=8);if(u===0)u=1-h;else{if(u===p)return c?NaN:(E?-1:1)*(1/0);c=c+Math.pow(2,i),u=u-h}return(E?-1:1)*c*Math.pow(2,u-i)},rt.write=function(e,t,r,i,a,u){var c,y,p,h=u*8-a-1,l=(1<<h)-1,v=l>>1,I=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=i?0:u-1,b=i?1:-1,_=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(y=isNaN(t)?1:0,c=l):(c=Math.floor(Math.log(t)/Math.LN2),t*(p=Math.pow(2,-c))<1&&(c--,p*=2),c+v>=1?t+=I/p:t+=I*Math.pow(2,1-v),t*p>=2&&(c++,p/=2),c+v>=l?(y=0,c=l):c+v>=1?(y=(t*p-1)*Math.pow(2,a),c=c+v):(y=t*Math.pow(2,v-1)*Math.pow(2,a),c=0));a>=8;e[r+E]=y&255,E+=b,y/=256,a-=8);for(c=c<<a|y,h+=a;h>0;e[r+E]=c&255,E+=b,c/=256,h-=8);e[r+E-b]|=_*128};(function(e){const t=Se,r=rt,i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=He,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a;const{Uint8Array:u,ArrayBuffer:c,SharedArrayBuffer:y}=globalThis;l.TYPED_ARRAY_SUPPORT=p(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function p(){try{const n=new u(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,u.prototype),Object.setPrototypeOf(n,o),n.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function h(n){if(n>a)throw new RangeError('The value "'+n+'" is invalid for option "size"');const o=new u(n);return Object.setPrototypeOf(o,l.prototype),o}function l(n,o,s){if(typeof n=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(n)}return v(n,o,s)}l.poolSize=8192;function v(n,o,s){if(typeof n=="string")return _(n,o);if(c.isView(n))return P(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(J(n,c)||n&&J(n.buffer,c)||typeof y<"u"&&(J(n,y)||n&&J(n.buffer,y)))return C(n,o,s);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const f=n.valueOf&&n.valueOf();if(f!=null&&f!==n)return l.from(f,o,s);const d=N(n);if(d)return d;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return l.from(n[Symbol.toPrimitive]("string"),o,s);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}l.from=function(n,o,s){return v(n,o,s)},Object.setPrototypeOf(l.prototype,u.prototype),Object.setPrototypeOf(l,u);function I(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function E(n,o,s){return I(n),n<=0?h(n):o!==void 0?typeof s=="string"?h(n).fill(o,s):h(n).fill(o):h(n)}l.alloc=function(n,o,s){return E(n,o,s)};function b(n){return I(n),h(n<0?0:H(n)|0)}l.allocUnsafe=function(n){return b(n)},l.allocUnsafeSlow=function(n){return b(n)};function _(n,o){if((typeof o!="string"||o==="")&&(o="utf8"),!l.isEncoding(o))throw new TypeError("Unknown encoding: "+o);const s=q(n,o)|0;let f=h(s);const d=f.write(n,o);return d!==s&&(f=f.slice(0,d)),f}function O(n){const o=n.length<0?0:H(n.length)|0,s=h(o);for(let f=0;f<o;f+=1)s[f]=n[f]&255;return s}function P(n){if(J(n,u)){const o=new u(n);return C(o.buffer,o.byteOffset,o.byteLength)}return O(n)}function C(n,o,s){if(o<0||n.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<o+(s||0))throw new RangeError('"length" is outside of buffer bounds');let f;return o===void 0&&s===void 0?f=new u(n):s===void 0?f=new u(n,o):f=new u(n,o,s),Object.setPrototypeOf(f,l.prototype),f}function N(n){if(l.isBuffer(n)){const o=H(n.length)|0,s=h(o);return s.length===0||n.copy(s,0,0,o),s}if(n.length!==void 0)return typeof n.length!="number"||We(n.length)?h(0):O(n);if(n.type==="Buffer"&&Array.isArray(n.data))return O(n.data)}function H(n){if(n>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return n|0}function He(n){return+n!=n&&(n=0),l.alloc(+n)}l.isBuffer=function(n){return n!=null&&n._isBuffer===!0&&n!==l.prototype},l.compare=function(n,o){if(J(n,u)&&(n=l.from(n,n.offset,n.byteLength)),J(o,u)&&(o=l.from(o,o.offset,o.byteLength)),!l.isBuffer(n)||!l.isBuffer(o))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(n===o)return 0;let s=n.length,f=o.length;for(let d=0,m=Math.min(s,f);d<m;++d)if(n[d]!==o[d]){s=n[d],f=o[d];break}return s<f?-1:f<s?1:0},l.isEncoding=function(n){switch(String(n).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(n,o){if(!Array.isArray(n))throw new TypeError('"list" argument must be an Array of Buffers');if(n.length===0)return l.alloc(0);let s;if(o===void 0)for(o=0,s=0;s<n.length;++s)o+=n[s].length;const f=l.allocUnsafe(o);let d=0;for(s=0;s<n.length;++s){let m=n[s];if(J(m,u))d+m.length>f.length?(l.isBuffer(m)||(m=l.from(m)),m.copy(f,d)):u.prototype.set.call(f,m,d);else if(l.isBuffer(m))m.copy(f,d);else throw new TypeError('"list" argument must be an Array of Buffers');d+=m.length}return f};function q(n,o){if(l.isBuffer(n))return n.length;if(c.isView(n)||J(n,c))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);const s=n.length,f=arguments.length>2&&arguments[2]===!0;if(!f&&s===0)return 0;let d=!1;for(;;)switch(o){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":return Ge(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s*2;case"hex":return s>>>1;case"base64":return xt(n).length;default:if(d)return f?-1:Ge(n).length;o=(""+o).toLowerCase(),d=!0}}l.byteLength=q;function Y(n,o,s){let f=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((s===void 0||s>this.length)&&(s=this.length),s<=0)||(s>>>=0,o>>>=0,s<=o))return"";for(n||(n="utf8");;)switch(n){case"hex":return ur(this,o,s);case"utf8":case"utf-8":return Rt(this,o,s);case"ascii":return sr(this,o,s);case"latin1":case"binary":return ar(this,o,s);case"base64":return or(this,o,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return cr(this,o,s);default:if(f)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),f=!0}}l.prototype._isBuffer=!0;function G(n,o,s){const f=n[o];n[o]=n[s],n[s]=f}l.prototype.swap16=function(){const n=this.length;if(n%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let o=0;o<n;o+=2)G(this,o,o+1);return this},l.prototype.swap32=function(){const n=this.length;if(n%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let o=0;o<n;o+=4)G(this,o,o+3),G(this,o+1,o+2);return this},l.prototype.swap64=function(){const n=this.length;if(n%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let o=0;o<n;o+=8)G(this,o,o+7),G(this,o+1,o+6),G(this,o+2,o+5),G(this,o+3,o+4);return this},l.prototype.toString=function(){const n=this.length;return n===0?"":arguments.length===0?Rt(this,0,n):Y.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(n){if(!l.isBuffer(n))throw new TypeError("Argument must be a Buffer");return this===n?!0:l.compare(this,n)===0},l.prototype.inspect=function(){let n="";const o=e.INSPECT_MAX_BYTES;return n=this.toString("hex",0,o).replace(/(.{2})/g,"$1 ").trim(),this.length>o&&(n+=" ... "),"<Buffer "+n+">"},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(n,o,s,f,d){if(J(n,u)&&(n=l.from(n,n.offset,n.byteLength)),!l.isBuffer(n))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof n);if(o===void 0&&(o=0),s===void 0&&(s=n?n.length:0),f===void 0&&(f=0),d===void 0&&(d=this.length),o<0||s>n.length||f<0||d>this.length)throw new RangeError("out of range index");if(f>=d&&o>=s)return 0;if(f>=d)return-1;if(o>=s)return 1;if(o>>>=0,s>>>=0,f>>>=0,d>>>=0,this===n)return 0;let m=d-f,w=s-o;const S=Math.min(m,w),U=this.slice(f,d),T=n.slice(o,s);for(let L=0;L<S;++L)if(U[L]!==T[L]){m=U[L],w=T[L];break}return m<w?-1:w<m?1:0};function ne(n,o,s,f,d){if(n.length===0)return-1;if(typeof s=="string"?(f=s,s=0):s>2147483647?s=2147483647:s<-2147483648&&(s=-2147483648),s=+s,We(s)&&(s=d?0:n.length-1),s<0&&(s=n.length+s),s>=n.length){if(d)return-1;s=n.length-1}else if(s<0)if(d)s=0;else return-1;if(typeof o=="string"&&(o=l.from(o,f)),l.isBuffer(o))return o.length===0?-1:ge(n,o,s,f,d);if(typeof o=="number")return o=o&255,typeof u.prototype.indexOf=="function"?d?u.prototype.indexOf.call(n,o,s):u.prototype.lastIndexOf.call(n,o,s):ge(n,[o],s,f,d);throw new TypeError("val must be string, number or Buffer")}function ge(n,o,s,f,d){let m=1,w=n.length,S=o.length;if(f!==void 0&&(f=String(f).toLowerCase(),f==="ucs2"||f==="ucs-2"||f==="utf16le"||f==="utf-16le")){if(n.length<2||o.length<2)return-1;m=2,w/=2,S/=2,s/=2}function U(L,x){return m===1?L[x]:L.readUInt16BE(x*m)}let T;if(d){let L=-1;for(T=s;T<w;T++)if(U(n,T)===U(o,L===-1?0:T-L)){if(L===-1&&(L=T),T-L+1===S)return L*m}else L!==-1&&(T-=T-L),L=-1}else for(s+S>w&&(s=w-S),T=s;T>=0;T--){let L=!0;for(let x=0;x<S;x++)if(U(n,T+x)!==U(o,x)){L=!1;break}if(L)return T}return-1}l.prototype.includes=function(n,o,s){return this.indexOf(n,o,s)!==-1},l.prototype.indexOf=function(n,o,s){return ne(this,n,o,s,!0)},l.prototype.lastIndexOf=function(n,o,s){return ne(this,n,o,s,!1)};function Yn(n,o,s,f){s=Number(s)||0;const d=n.length-s;f?(f=Number(f),f>d&&(f=d)):f=d;const m=o.length;f>m/2&&(f=m/2);let w;for(w=0;w<f;++w){const S=parseInt(o.substr(w*2,2),16);if(We(S))return w;n[s+w]=S}return w}function er(n,o,s,f){return _e(Ge(o,n.length-s),n,s,f)}function tr(n,o,s,f){return _e(pr(o),n,s,f)}function nr(n,o,s,f){return _e(xt(o),n,s,f)}function rr(n,o,s,f){return _e(dr(o,n.length-s),n,s,f)}l.prototype.write=function(n,o,s,f){if(o===void 0)f="utf8",s=this.length,o=0;else if(s===void 0&&typeof o=="string")f=o,s=this.length,o=0;else if(isFinite(o))o=o>>>0,isFinite(s)?(s=s>>>0,f===void 0&&(f="utf8")):(f=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const d=this.length-o;if((s===void 0||s>d)&&(s=d),n.length>0&&(s<0||o<0)||o>this.length)throw new RangeError("Attempt to write outside buffer bounds");f||(f="utf8");let m=!1;for(;;)switch(f){case"hex":return Yn(this,n,o,s);case"utf8":case"utf-8":return er(this,n,o,s);case"ascii":case"latin1":case"binary":return tr(this,n,o,s);case"base64":return nr(this,n,o,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rr(this,n,o,s);default:if(m)throw new TypeError("Unknown encoding: "+f);f=(""+f).toLowerCase(),m=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function or(n,o,s){return o===0&&s===n.length?t.fromByteArray(n):t.fromByteArray(n.slice(o,s))}function Rt(n,o,s){s=Math.min(n.length,s);const f=[];let d=o;for(;d<s;){const m=n[d];let w=null,S=m>239?4:m>223?3:m>191?2:1;if(d+S<=s){let U,T,L,x;switch(S){case 1:m<128&&(w=m);break;case 2:U=n[d+1],(U&192)===128&&(x=(m&31)<<6|U&63,x>127&&(w=x));break;case 3:U=n[d+1],T=n[d+2],(U&192)===128&&(T&192)===128&&(x=(m&15)<<12|(U&63)<<6|T&63,x>2047&&(x<55296||x>57343)&&(w=x));break;case 4:U=n[d+1],T=n[d+2],L=n[d+3],(U&192)===128&&(T&192)===128&&(L&192)===128&&(x=(m&15)<<18|(U&63)<<12|(T&63)<<6|L&63,x>65535&&x<1114112&&(w=x))}}w===null?(w=65533,S=1):w>65535&&(w-=65536,f.push(w>>>10&1023|55296),w=56320|w&1023),f.push(w),d+=S}return ir(f)}const It=4096;function ir(n){const o=n.length;if(o<=It)return String.fromCharCode.apply(String,n);let s="",f=0;for(;f<o;)s+=String.fromCharCode.apply(String,n.slice(f,f+=It));return s}function sr(n,o,s){let f="";s=Math.min(n.length,s);for(let d=o;d<s;++d)f+=String.fromCharCode(n[d]&127);return f}function ar(n,o,s){let f="";s=Math.min(n.length,s);for(let d=o;d<s;++d)f+=String.fromCharCode(n[d]);return f}function ur(n,o,s){const f=n.length;(!o||o<0)&&(o=0),(!s||s<0||s>f)&&(s=f);let d="";for(let m=o;m<s;++m)d+=gr[n[m]];return d}function cr(n,o,s){const f=n.slice(o,s);let d="";for(let m=0;m<f.length-1;m+=2)d+=String.fromCharCode(f[m]+f[m+1]*256);return d}l.prototype.slice=function(n,o){const s=this.length;n=~~n,o=o===void 0?s:~~o,n<0?(n+=s,n<0&&(n=0)):n>s&&(n=s),o<0?(o+=s,o<0&&(o=0)):o>s&&(o=s),o<n&&(o=n);const f=this.subarray(n,o);return Object.setPrototypeOf(f,l.prototype),f};function $(n,o,s){if(n%1!==0||n<0)throw new RangeError("offset is not uint");if(n+o>s)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(n,o,s){n=n>>>0,o=o>>>0,s||$(n,o,this.length);let f=this[n],d=1,m=0;for(;++m<o&&(d*=256);)f+=this[n+m]*d;return f},l.prototype.readUintBE=l.prototype.readUIntBE=function(n,o,s){n=n>>>0,o=o>>>0,s||$(n,o,this.length);let f=this[n+--o],d=1;for(;o>0&&(d*=256);)f+=this[n+--o]*d;return f},l.prototype.readUint8=l.prototype.readUInt8=function(n,o){return n=n>>>0,o||$(n,1,this.length),this[n]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(n,o){return n=n>>>0,o||$(n,2,this.length),this[n]|this[n+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(n,o){return n=n>>>0,o||$(n,2,this.length),this[n]<<8|this[n+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(n,o){return n=n>>>0,o||$(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+this[n+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(n,o){return n=n>>>0,o||$(n,4,this.length),this[n]*16777216+(this[n+1]<<16|this[n+2]<<8|this[n+3])},l.prototype.readBigUInt64LE=ee(function(n){n=n>>>0,ae(n,"offset");const o=this[n],s=this[n+7];(o===void 0||s===void 0)&&me(n,this.length-8);const f=o+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24,d=this[++n]+this[++n]*2**8+this[++n]*2**16+s*2**24;return BigInt(f)+(BigInt(d)<<BigInt(32))}),l.prototype.readBigUInt64BE=ee(function(n){n=n>>>0,ae(n,"offset");const o=this[n],s=this[n+7];(o===void 0||s===void 0)&&me(n,this.length-8);const f=o*2**24+this[++n]*2**16+this[++n]*2**8+this[++n],d=this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+s;return(BigInt(f)<<BigInt(32))+BigInt(d)}),l.prototype.readIntLE=function(n,o,s){n=n>>>0,o=o>>>0,s||$(n,o,this.length);let f=this[n],d=1,m=0;for(;++m<o&&(d*=256);)f+=this[n+m]*d;return d*=128,f>=d&&(f-=Math.pow(2,8*o)),f},l.prototype.readIntBE=function(n,o,s){n=n>>>0,o=o>>>0,s||$(n,o,this.length);let f=o,d=1,m=this[n+--f];for(;f>0&&(d*=256);)m+=this[n+--f]*d;return d*=128,m>=d&&(m-=Math.pow(2,8*o)),m},l.prototype.readInt8=function(n,o){return n=n>>>0,o||$(n,1,this.length),this[n]&128?(255-this[n]+1)*-1:this[n]},l.prototype.readInt16LE=function(n,o){n=n>>>0,o||$(n,2,this.length);const s=this[n]|this[n+1]<<8;return s&32768?s|4294901760:s},l.prototype.readInt16BE=function(n,o){n=n>>>0,o||$(n,2,this.length);const s=this[n+1]|this[n]<<8;return s&32768?s|4294901760:s},l.prototype.readInt32LE=function(n,o){return n=n>>>0,o||$(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24},l.prototype.readInt32BE=function(n,o){return n=n>>>0,o||$(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]},l.prototype.readBigInt64LE=ee(function(n){n=n>>>0,ae(n,"offset");const o=this[n],s=this[n+7];(o===void 0||s===void 0)&&me(n,this.length-8);const f=this[n+4]+this[n+5]*2**8+this[n+6]*2**16+(s<<24);return(BigInt(f)<<BigInt(32))+BigInt(o+this[++n]*2**8+this[++n]*2**16+this[++n]*2**24)}),l.prototype.readBigInt64BE=ee(function(n){n=n>>>0,ae(n,"offset");const o=this[n],s=this[n+7];(o===void 0||s===void 0)&&me(n,this.length-8);const f=(o<<24)+this[++n]*2**16+this[++n]*2**8+this[++n];return(BigInt(f)<<BigInt(32))+BigInt(this[++n]*2**24+this[++n]*2**16+this[++n]*2**8+s)}),l.prototype.readFloatLE=function(n,o){return n=n>>>0,o||$(n,4,this.length),r.read(this,n,!0,23,4)},l.prototype.readFloatBE=function(n,o){return n=n>>>0,o||$(n,4,this.length),r.read(this,n,!1,23,4)},l.prototype.readDoubleLE=function(n,o){return n=n>>>0,o||$(n,8,this.length),r.read(this,n,!0,52,8)},l.prototype.readDoubleBE=function(n,o){return n=n>>>0,o||$(n,8,this.length),r.read(this,n,!1,52,8)};function k(n,o,s,f,d,m){if(!l.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>d||o<m)throw new RangeError('"value" argument is out of bounds');if(s+f>n.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(n,o,s,f){if(n=+n,o=o>>>0,s=s>>>0,!f){const w=Math.pow(2,8*s)-1;k(this,n,o,s,w,0)}let d=1,m=0;for(this[o]=n&255;++m<s&&(d*=256);)this[o+m]=n/d&255;return o+s},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(n,o,s,f){if(n=+n,o=o>>>0,s=s>>>0,!f){const w=Math.pow(2,8*s)-1;k(this,n,o,s,w,0)}let d=s-1,m=1;for(this[o+d]=n&255;--d>=0&&(m*=256);)this[o+d]=n/m&255;return o+s},l.prototype.writeUint8=l.prototype.writeUInt8=function(n,o,s){return n=+n,o=o>>>0,s||k(this,n,o,1,255,0),this[o]=n&255,o+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(n,o,s){return n=+n,o=o>>>0,s||k(this,n,o,2,65535,0),this[o]=n&255,this[o+1]=n>>>8,o+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(n,o,s){return n=+n,o=o>>>0,s||k(this,n,o,2,65535,0),this[o]=n>>>8,this[o+1]=n&255,o+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(n,o,s){return n=+n,o=o>>>0,s||k(this,n,o,4,4294967295,0),this[o+3]=n>>>24,this[o+2]=n>>>16,this[o+1]=n>>>8,this[o]=n&255,o+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(n,o,s){return n=+n,o=o>>>0,s||k(this,n,o,4,4294967295,0),this[o]=n>>>24,this[o+1]=n>>>16,this[o+2]=n>>>8,this[o+3]=n&255,o+4};function Ot(n,o,s,f,d){Ct(o,f,d,n,s,7);let m=Number(o&BigInt(4294967295));n[s++]=m,m=m>>8,n[s++]=m,m=m>>8,n[s++]=m,m=m>>8,n[s++]=m;let w=Number(o>>BigInt(32)&BigInt(4294967295));return n[s++]=w,w=w>>8,n[s++]=w,w=w>>8,n[s++]=w,w=w>>8,n[s++]=w,s}function Nt(n,o,s,f,d){Ct(o,f,d,n,s,7);let m=Number(o&BigInt(4294967295));n[s+7]=m,m=m>>8,n[s+6]=m,m=m>>8,n[s+5]=m,m=m>>8,n[s+4]=m;let w=Number(o>>BigInt(32)&BigInt(4294967295));return n[s+3]=w,w=w>>8,n[s+2]=w,w=w>>8,n[s+1]=w,w=w>>8,n[s]=w,s+8}l.prototype.writeBigUInt64LE=ee(function(n,o=0){return Ot(this,n,o,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=ee(function(n,o=0){return Nt(this,n,o,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(n,o,s,f){if(n=+n,o=o>>>0,!f){const S=Math.pow(2,8*s-1);k(this,n,o,s,S-1,-S)}let d=0,m=1,w=0;for(this[o]=n&255;++d<s&&(m*=256);)n<0&&w===0&&this[o+d-1]!==0&&(w=1),this[o+d]=(n/m>>0)-w&255;return o+s},l.prototype.writeIntBE=function(n,o,s,f){if(n=+n,o=o>>>0,!f){const S=Math.pow(2,8*s-1);k(this,n,o,s,S-1,-S)}let d=s-1,m=1,w=0;for(this[o+d]=n&255;--d>=0&&(m*=256);)n<0&&w===0&&this[o+d+1]!==0&&(w=1),this[o+d]=(n/m>>0)-w&255;return o+s},l.prototype.writeInt8=function(n,o,s){return n=+n,o=o>>>0,s||k(this,n,o,1,127,-128),n<0&&(n=255+n+1),this[o]=n&255,o+1},l.prototype.writeInt16LE=function(n,o,s){return n=+n,o=o>>>0,s||k(this,n,o,2,32767,-32768),this[o]=n&255,this[o+1]=n>>>8,o+2},l.prototype.writeInt16BE=function(n,o,s){return n=+n,o=o>>>0,s||k(this,n,o,2,32767,-32768),this[o]=n>>>8,this[o+1]=n&255,o+2},l.prototype.writeInt32LE=function(n,o,s){return n=+n,o=o>>>0,s||k(this,n,o,4,2147483647,-2147483648),this[o]=n&255,this[o+1]=n>>>8,this[o+2]=n>>>16,this[o+3]=n>>>24,o+4},l.prototype.writeInt32BE=function(n,o,s){return n=+n,o=o>>>0,s||k(this,n,o,4,2147483647,-2147483648),n<0&&(n=4294967295+n+1),this[o]=n>>>24,this[o+1]=n>>>16,this[o+2]=n>>>8,this[o+3]=n&255,o+4},l.prototype.writeBigInt64LE=ee(function(n,o=0){return Ot(this,n,o,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=ee(function(n,o=0){return Nt(this,n,o,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function At(n,o,s,f,d,m){if(s+f>n.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("Index out of range")}function St(n,o,s,f,d){return o=+o,s=s>>>0,d||At(n,o,s,4),r.write(n,o,s,f,23,4),s+4}l.prototype.writeFloatLE=function(n,o,s){return St(this,n,o,!0,s)},l.prototype.writeFloatBE=function(n,o,s){return St(this,n,o,!1,s)};function Lt(n,o,s,f,d){return o=+o,s=s>>>0,d||At(n,o,s,8),r.write(n,o,s,f,52,8),s+8}l.prototype.writeDoubleLE=function(n,o,s){return Lt(this,n,o,!0,s)},l.prototype.writeDoubleBE=function(n,o,s){return Lt(this,n,o,!1,s)},l.prototype.copy=function(n,o,s,f){if(!l.isBuffer(n))throw new TypeError("argument should be a Buffer");if(s||(s=0),!f&&f!==0&&(f=this.length),o>=n.length&&(o=n.length),o||(o=0),f>0&&f<s&&(f=s),f===s||n.length===0||this.length===0)return 0;if(o<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("sourceEnd out of bounds");f>this.length&&(f=this.length),n.length-o<f-s&&(f=n.length-o+s);const d=f-s;return this===n&&typeof u.prototype.copyWithin=="function"?this.copyWithin(o,s,f):u.prototype.set.call(n,this.subarray(s,f),o),d},l.prototype.fill=function(n,o,s,f){if(typeof n=="string"){if(typeof o=="string"?(f=o,o=0,s=this.length):typeof s=="string"&&(f=s,s=this.length),f!==void 0&&typeof f!="string")throw new TypeError("encoding must be a string");if(typeof f=="string"&&!l.isEncoding(f))throw new TypeError("Unknown encoding: "+f);if(n.length===1){const m=n.charCodeAt(0);(f==="utf8"&&m<128||f==="latin1")&&(n=m)}}else typeof n=="number"?n=n&255:typeof n=="boolean"&&(n=Number(n));if(o<0||this.length<o||this.length<s)throw new RangeError("Out of range index");if(s<=o)return this;o=o>>>0,s=s===void 0?this.length:s>>>0,n||(n=0);let d;if(typeof n=="number")for(d=o;d<s;++d)this[d]=n;else{const m=l.isBuffer(n)?n:l.from(n,f),w=m.length;if(w===0)throw new TypeError('The value "'+n+'" is invalid for argument "value"');for(d=0;d<s-o;++d)this[d+o]=m[d%w]}return this};const se={};function qe(n,o,s){se[n]=class extends s{constructor(){super(),Object.defineProperty(this,"message",{value:o.apply(this,arguments),writable:!0,configurable:!0}),this.name="".concat(this.name," [").concat(n,"]"),this.stack,delete this.name}get code(){return n}set code(f){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:f,writable:!0})}toString(){return"".concat(this.name," [").concat(n,"]: ").concat(this.message)}}}qe("ERR_BUFFER_OUT_OF_BOUNDS",function(n){return n?"".concat(n," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),qe("ERR_INVALID_ARG_TYPE",function(n,o){return'The "'.concat(n,'" argument must be of type number. Received type ').concat(typeof o)},TypeError),qe("ERR_OUT_OF_RANGE",function(n,o,s){let f='The value of "'.concat(n,'" is out of range.'),d=s;return Number.isInteger(s)&&Math.abs(s)>2**32?d=Tt(String(s)):typeof s=="bigint"&&(d=String(s),(s>BigInt(2)**BigInt(32)||s<-(BigInt(2)**BigInt(32)))&&(d=Tt(d)),d+="n"),f+=" It must be ".concat(o,". Received ").concat(d),f},RangeError);function Tt(n){let o="",s=n.length;const f=n[0]==="-"?1:0;for(;s>=f+4;s-=3)o="_".concat(n.slice(s-3,s)).concat(o);return"".concat(n.slice(0,s)).concat(o)}function lr(n,o,s){ae(o,"offset"),(n[o]===void 0||n[o+s]===void 0)&&me(o,n.length-(s+1))}function Ct(n,o,s,f,d,m){if(n>s||n<o){const w=typeof o=="bigint"?"n":"";let S;throw m>3?o===0||o===BigInt(0)?S=">= 0".concat(w," and < 2").concat(w," ** ").concat((m+1)*8).concat(w):S=">= -(2".concat(w," ** ").concat((m+1)*8-1).concat(w,") and < 2 ** ").concat((m+1)*8-1).concat(w):S=">= ".concat(o).concat(w," and <= ").concat(s).concat(w),new se.ERR_OUT_OF_RANGE("value",S,n)}lr(f,d,m)}function ae(n,o){if(typeof n!="number")throw new se.ERR_INVALID_ARG_TYPE(o,"number",n)}function me(n,o,s){throw Math.floor(n)!==n?(ae(n,s),new se.ERR_OUT_OF_RANGE(s||"offset","an integer",n)):o<0?new se.ERR_BUFFER_OUT_OF_BOUNDS:new se.ERR_OUT_OF_RANGE(s||"offset",">= ".concat(s?1:0," and <= ").concat(o),n)}const fr=/[^+/0-9A-Za-z-_]/g;function hr(n){if(n=n.split("=")[0],n=n.trim().replace(fr,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n}function Ge(n,o){o=o||1/0;let s;const f=n.length;let d=null;const m=[];for(let w=0;w<f;++w){if(s=n.charCodeAt(w),s>55295&&s<57344){if(!d){if(s>56319){(o-=3)>-1&&m.push(239,191,189);continue}else if(w+1===f){(o-=3)>-1&&m.push(239,191,189);continue}d=s;continue}if(s<56320){(o-=3)>-1&&m.push(239,191,189),d=s;continue}s=(d-55296<<10|s-56320)+65536}else d&&(o-=3)>-1&&m.push(239,191,189);if(d=null,s<128){if((o-=1)<0)break;m.push(s)}else if(s<2048){if((o-=2)<0)break;m.push(s>>6|192,s&63|128)}else if(s<65536){if((o-=3)<0)break;m.push(s>>12|224,s>>6&63|128,s&63|128)}else if(s<1114112){if((o-=4)<0)break;m.push(s>>18|240,s>>12&63|128,s>>6&63|128,s&63|128)}else throw new Error("Invalid code point")}return m}function pr(n){const o=[];for(let s=0;s<n.length;++s)o.push(n.charCodeAt(s)&255);return o}function dr(n,o){let s,f,d;const m=[];for(let w=0;w<n.length&&!((o-=2)<0);++w)s=n.charCodeAt(w),f=s>>8,d=s%256,m.push(d),m.push(f);return m}function xt(n){return t.toByteArray(hr(n))}function _e(n,o,s,f){let d;for(d=0;d<f&&!(d+s>=o.length||d>=n.length);++d)o[d+s]=n[d];return d}function J(n,o){return n instanceof o||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===o.name}function We(n){return n!==n}const gr=function(){const n="0123456789abcdef",o=new Array(256);for(let s=0;s<16;++s){const f=s*16;for(let d=0;d<16;++d)o[f+d]=n[s]+n[d]}return o}();function ee(n){return typeof BigInt>"u"?mr:n}function mr(){throw new Error("BigInt not supported")}})(Cn);const Ao=Cn.Buffer;function R(e,t,r,i,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),i&&(this.request=i),a&&(this.response=a)}g.inherits(R,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:g.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const $t=R.prototype,Ut={};["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(e=>{Ut[e]={value:e}}),Object.defineProperties(R,Ut),Object.defineProperty($t,"isAxiosError",{value:!0}),R.from=(e,t,r,i,a,u)=>{const c=Object.create($t);return g.toFlatObject(e,c,function(y){return y!==Error.prototype},y=>y!=="isAxiosError"),R.call(c,e.message,t,r,i,a),c.cause=e,c.name=e.name,u&&Object.assign(c,u),c};const So=null;function ot(e){return g.isPlainObject(e)||g.isArray(e)}function Bn(e){return g.endsWith(e,"[]")?e.slice(0,-2):e}function kt(e,t,r){return e?e.concat(t).map(function(i,a){return i=Bn(i),!r&&a?"["+i+"]":i}).join(r?".":""):t}function Lo(e){return g.isArray(e)&&!e.some(ot)}const To=g.toFlatObject(g,{},null,function(e){return/^is[A-Z]/.test(e)});function ze(e,t,r){if(!g.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=g.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,b){return!g.isUndefined(b[E])});const i=r.metaTokens,a=r.visitor||h,u=r.dots,c=r.indexes,y=(r.Blob||typeof Blob<"u"&&Blob)&&g.isSpecCompliantForm(t);if(!g.isFunction(a))throw new TypeError("visitor must be a function");function p(E){if(E===null)return"";if(g.isDate(E))return E.toISOString();if(!y&&g.isBlob(E))throw new R("Blob is not supported. Use a Buffer instead.");return g.isArrayBuffer(E)||g.isTypedArray(E)?y&&typeof Blob=="function"?new Blob([E]):Ao.from(E):E}function h(E,b,_){let O=E;if(E&&!_&&typeof E=="object"){if(g.endsWith(b,"{}"))b=i?b:b.slice(0,-2),E=JSON.stringify(E);else if(g.isArray(E)&&Lo(E)||(g.isFileList(E)||g.endsWith(b,"[]"))&&(O=g.toArray(E)))return b=Bn(b),O.forEach(function(P,C){!(g.isUndefined(P)||P===null)&&t.append(c===!0?kt([b],C,u):c===null?b:b+"[]",p(P))}),!1}return ot(E)?!0:(t.append(kt(_,b,u),p(E)),!1)}const l=[],v=Object.assign(To,{defaultVisitor:h,convertValue:p,isVisitable:ot});function I(E,b){if(!g.isUndefined(E)){if(l.indexOf(E)!==-1)throw Error("Circular reference detected in "+b.join("."));l.push(E),g.forEach(E,function(_,O){(!(g.isUndefined(_)||_===null)&&a.call(t,_,g.isString(O)?O.trim():O,b,v))===!0&&I(_,b?b.concat(O):[O])}),l.pop()}}if(!g.isObject(e))throw new TypeError("data must be an object");return I(e),t}function Ft(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function yt(e,t){this._pairs=[],e&&ze(e,this,t)}const jt=yt.prototype;jt.append=function(e,t){this._pairs.push([e,t])},jt.toString=function(e){const t=e?function(r){return e.call(this,r,Ft)}:Ft;return this._pairs.map(function(r){return t(r[0])+"="+t(r[1])},"").join("&")};function Co(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Pn(e,t,r){if(!t)return e;const i=r&&r.encode||Co,a=r&&r.serialize;let u;if(a?u=a(t,r):u=g.isURLSearchParams(t)?t.toString():new yt(t,r).toString(i),u){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+u}return e}class zt{constructor(){this.handlers=[]}use(t,r,i){return this.handlers.push({fulfilled:t,rejected:r,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){g.forEach(this.handlers,function(r){r!==null&&t(r)})}}const $n={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xo=typeof URLSearchParams<"u"?URLSearchParams:yt,Bo=typeof FormData<"u"?FormData:null,Po=typeof Blob<"u"?Blob:null,$o={isBrowser:!0,classes:{URLSearchParams:xo,FormData:Bo,Blob:Po},protocols:["http","https","file","blob","url","data"]},Et=typeof window<"u"&&typeof document<"u",Uo=(e=>Et&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),ko=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Fo=Et&&window.location.href||"http://localhost",jo=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Et,hasStandardBrowserEnv:Uo,hasStandardBrowserWebWorkerEnv:ko,origin:Fo},Symbol.toStringTag,{value:"Module"})),W={...jo,...$o};function zo(e,t){return ze(e,new W.classes.URLSearchParams,Object.assign({visitor:function(r,i,a,u){return W.isNode&&g.isBuffer(r)?(this.append(i,r.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)}},t))}function Do(e){return g.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Mo(e){const t={},r=Object.keys(e);let i;const a=r.length;let u;for(i=0;i<a;i++)u=r[i],t[u]=e[u];return t}function Un(e){function t(r,i,a,u){let c=r[u++];if(c==="__proto__")return!0;const y=Number.isFinite(+c),p=u>=r.length;return c=!c&&g.isArray(a)?a.length:c,p?(g.hasOwnProp(a,c)?a[c]=[a[c],i]:a[c]=i,!y):((!a[c]||!g.isObject(a[c]))&&(a[c]=[]),t(r,i,a[c],u)&&g.isArray(a[c])&&(a[c]=Mo(a[c])),!y)}if(g.isFormData(e)&&g.isFunction(e.entries)){const r={};return g.forEachEntry(e,(i,a)=>{t(Do(i),a,r,0)}),r}return null}function Ho(e,t,r){if(g.isString(e))try{return(t||JSON.parse)(e),g.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(e)}const wt={transitional:$n,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",i=r.indexOf("application/json")>-1,a=g.isObject(e);if(a&&g.isHTMLForm(e)&&(e=new FormData(e)),g.isFormData(e))return i?JSON.stringify(Un(e)):e;if(g.isArrayBuffer(e)||g.isBuffer(e)||g.isStream(e)||g.isFile(e)||g.isBlob(e)||g.isReadableStream(e))return e;if(g.isArrayBufferView(e))return e.buffer;if(g.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let u;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return zo(e,this.formSerializer).toString();if((u=g.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ze(u?{"files[]":e}:e,c&&new c,this.formSerializer)}}return a||i?(t.setContentType("application/json",!1),Ho(e)):e}],transformResponse:[function(e){const t=this.transitional||wt.transitional,r=t&&t.forcedJSONParsing,i=this.responseType==="json";if(g.isResponse(e)||g.isReadableStream(e))return e;if(e&&g.isString(e)&&(r&&!this.responseType||i)){const a=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(u){if(a)throw u.name==="SyntaxError"?R.from(u,R.ERR_BAD_RESPONSE,this,null,this.response):u}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:W.classes.FormData,Blob:W.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};g.forEach(["delete","get","head","post","put","patch"],e=>{wt.headers[e]={}});const bt=wt,qo=g.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"]),Go=e=>{const t={};let r,i,a;return e&&e.split("\n").forEach(function(u){a=u.indexOf(":"),r=u.substring(0,a).trim().toLowerCase(),i=u.substring(a+1).trim(),!(!r||t[r]&&qo[r])&&(r==="set-cookie"?t[r]?t[r].push(i):t[r]=[i]:t[r]=t[r]?t[r]+", "+i:i)}),t},Dt=Symbol("internals");function ye(e){return e&&String(e).trim().toLowerCase()}function Le(e){return e===!1||e==null?e:g.isArray(e)?e.map(Le):String(e)}function Wo(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=r.exec(e);)t[i[1]]=i[2];return t}const Vo=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ke(e,t,r,i,a){if(g.isFunction(i))return i.call(this,t,r);if(a&&(t=r),!!g.isString(t)){if(g.isString(i))return t.indexOf(i)!==-1;if(g.isRegExp(i))return i.test(t)}}function Xo(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,i)=>r.toUpperCase()+i)}function Jo(e,t){const r=g.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+r,{value:function(a,u,c){return this[i].call(this,t,a,u,c)},configurable:!0})})}class Te{constructor(t){t&&this.set(t)}set(t,r,i){const a=this;function u(y,p,h){const l=ye(p);if(!l)throw new Error("header name must be a non-empty string");const v=g.findKey(a,l);(!v||a[v]===void 0||h===!0||h===void 0&&a[v]!==!1)&&(a[v||p]=Le(y))}const c=(y,p)=>g.forEach(y,(h,l)=>u(h,l,p));if(g.isPlainObject(t)||t instanceof this.constructor)c(t,r);else if(g.isString(t)&&(t=t.trim())&&!Vo(t))c(Go(t),r);else if(g.isHeaders(t))for(const[y,p]of t.entries())u(p,y,i);else t!=null&&u(r,t,i);return this}get(t,r){if(t=ye(t),t){const i=g.findKey(this,t);if(i){const a=this[i];if(!r)return a;if(r===!0)return Wo(a);if(g.isFunction(r))return r.call(this,a,i);if(g.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=ye(t),t){const i=g.findKey(this,t);return!!(i&&this[i]!==void 0&&(!r||Ke(this,this[i],i,r)))}return!1}delete(t,r){const i=this;let a=!1;function u(c){if(c=ye(c),c){const y=g.findKey(i,c);y&&(!r||Ke(i,i[y],y,r))&&(delete i[y],a=!0)}}return g.isArray(t)?t.forEach(u):u(t),a}clear(t){const r=Object.keys(this);let i=r.length,a=!1;for(;i--;){const u=r[i];(!t||Ke(this,this[u],u,t,!0))&&(delete this[u],a=!0)}return a}normalize(t){const r=this,i={};return g.forEach(this,(a,u)=>{const c=g.findKey(i,u);if(c){r[c]=Le(a),delete r[u];return}const y=t?Xo(u):String(u).trim();y!==u&&delete r[u],r[y]=Le(a),i[y]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return g.forEach(this,(i,a)=>{i!=null&&i!==!1&&(r[a]=t&&g.isArray(i)?i.join(", "):i)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const i=new this(t);return r.forEach(a=>i.set(a)),i}static accessor(t){const r=(this[Dt]=this[Dt]={accessors:{}}).accessors,i=this.prototype;function a(u){const c=ye(u);r[c]||(Jo(i,u),r[c]=!0)}return g.isArray(t)?t.forEach(a):a(t),this}}Te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),g.reduceDescriptors(Te.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[r]=i}}}),g.freezeMethods(Te);const V=Te;function Ze(e,t){const r=this||bt,i=t||r,a=V.from(i.headers);let u=i.data;return g.forEach(e,function(c){u=c.call(r,u,a.normalize(),t?t.status:void 0)}),a.normalize(),u}function kn(e){return!!(e&&e.__CANCEL__)}function pe(e,t,r){R.call(this,e!=null?e:"canceled",R.ERR_CANCELED,t,r),this.name="CanceledError"}g.inherits(pe,R,{__CANCEL__:!0});function Fn(e,t,r){const i=r.config.validateStatus;!r.status||!i||i(r.status)?e(r):t(new R("Request failed with status code "+r.status,[R.ERR_BAD_REQUEST,R.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Ko(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Zo(e,t){e=e||10;const r=new Array(e),i=new Array(e);let a=0,u=0,c;return t=t!==void 0?t:1e3,function(y){const p=Date.now(),h=i[u];c||(c=p),r[a]=y,i[a]=p;let l=u,v=0;for(;l!==a;)v+=r[l++],l=l%e;if(a=(a+1)%e,a===u&&(u=(u+1)%e),p-c<t)return;const I=h&&p-h;return I?Math.round(v*1e3/I):void 0}}function Qo(e,t){let r=0,i=1e3/t,a,u;const c=(y,p=Date.now())=>{r=p,a=null,u&&(clearTimeout(u),u=null),e.apply(null,y)};return[(...y)=>{const p=Date.now(),h=p-r;h>=i?c(y,p):(a=y,u||(u=setTimeout(()=>{u=null,c(a)},i-h)))},()=>a&&c(a)]}const $e=(e,t,r=3)=>{let i=0;const a=Zo(50,250);return Qo(u=>{const c=u.loaded,y=u.lengthComputable?u.total:void 0,p=c-i,h=a(p),l=c<=y;i=c;const v={loaded:c,total:y,progress:y?c/y:void 0,bytes:p,rate:h||void 0,estimated:h&&y&&l?(y-c)/h:void 0,event:u,lengthComputable:y!=null,[t?"download":"upload"]:!0};e(v)},r)},Mt=(e,t)=>{const r=e!=null;return[i=>t[0]({lengthComputable:r,total:e,loaded:i}),t[1]]},Ht=e=>(...t)=>g.asap(()=>e(...t)),Yo=W.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let r;function i(a){let u=a;return e&&(t.setAttribute("href",u),u=t.href),t.setAttribute("href",u),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return r=i(window.location.href),function(a){const u=g.isString(a)?i(a):a;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}(),ei=W.hasStandardBrowserEnv?{write(e,t,r,i,a,u){const c=[e+"="+encodeURIComponent(t)];g.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),g.isString(i)&&c.push("path="+i),g.isString(a)&&c.push("domain="+a),u===!0&&c.push("secure"),document.cookie=c.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ti(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ni(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function jn(e,t){return e&&!ti(t)?ni(e,t):t}const qt=e=>e instanceof V?{...e}:e;function ie(e,t){t=t||{};const r={};function i(h,l,v){return g.isPlainObject(h)&&g.isPlainObject(l)?g.merge.call({caseless:v},h,l):g.isPlainObject(l)?g.merge({},l):g.isArray(l)?l.slice():l}function a(h,l,v){if(g.isUndefined(l)){if(!g.isUndefined(h))return i(void 0,h,v)}else return i(h,l,v)}function u(h,l){if(!g.isUndefined(l))return i(void 0,l)}function c(h,l){if(g.isUndefined(l)){if(!g.isUndefined(h))return i(void 0,h)}else return i(void 0,l)}function y(h,l,v){if(v in t)return i(h,l);if(v in e)return i(void 0,h)}const p={url:u,method:u,data:u,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:y,headers:(h,l)=>a(qt(h),qt(l),!0)};return g.forEach(Object.keys(Object.assign({},e,t)),function(h){const l=p[h]||a,v=l(e[h],t[h],h);g.isUndefined(v)&&l!==y||(r[h]=v)}),r}const zn=e=>{const t=ie({},e);let{data:r,withXSRFToken:i,xsrfHeaderName:a,xsrfCookieName:u,headers:c,auth:y}=t;t.headers=c=V.from(c),t.url=Pn(jn(t.baseURL,t.url),e.params,e.paramsSerializer),y&&c.set("Authorization","Basic "+btoa((y.username||"")+":"+(y.password?unescape(encodeURIComponent(y.password)):"")));let p;if(g.isFormData(r)){if(W.hasStandardBrowserEnv||W.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if((p=c.getContentType())!==!1){const[h,...l]=p?p.split(";").map(v=>v.trim()).filter(Boolean):[];c.setContentType([h||"multipart/form-data",...l].join("; "))}}if(W.hasStandardBrowserEnv&&(i&&g.isFunction(i)&&(i=i(t)),i||i!==!1&&Yo(t.url))){const h=a&&u&&ei.read(u);h&&c.set(a,h)}return t},ri=typeof XMLHttpRequest<"u",oi=ri&&function(e){return new Promise(function(t,r){const i=zn(e);let a=i.data;const u=V.from(i.headers).normalize();let{responseType:c,onUploadProgress:y,onDownloadProgress:p}=i,h,l,v,I,E;function b(){I&&I(),E&&E(),i.cancelToken&&i.cancelToken.unsubscribe(h),i.signal&&i.signal.removeEventListener("abort",h)}let _=new XMLHttpRequest;_.open(i.method.toUpperCase(),i.url,!0),_.timeout=i.timeout;function O(){if(!_)return;const C=V.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),N={data:!c||c==="text"||c==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:C,config:e,request:_};Fn(function(H){t(H),b()},function(H){r(H),b()},N),_=null}"onloadend"in _?_.onloadend=O:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(O)},_.onabort=function(){_&&(r(new R("Request aborted",R.ECONNABORTED,e,_)),_=null)},_.onerror=function(){r(new R("Network Error",R.ERR_NETWORK,e,_)),_=null},_.ontimeout=function(){let C=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const N=i.transitional||$n;i.timeoutErrorMessage&&(C=i.timeoutErrorMessage),r(new R(C,N.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,e,_)),_=null},a===void 0&&u.setContentType(null),"setRequestHeader"in _&&g.forEach(u.toJSON(),function(C,N){_.setRequestHeader(N,C)}),g.isUndefined(i.withCredentials)||(_.withCredentials=!!i.withCredentials),c&&c!=="json"&&(_.responseType=i.responseType),p&&([v,E]=$e(p,!0),_.addEventListener("progress",v)),y&&_.upload&&([l,I]=$e(y),_.upload.addEventListener("progress",l),_.upload.addEventListener("loadend",I)),(i.cancelToken||i.signal)&&(h=C=>{_&&(r(!C||C.type?new pe(null,e,_):C),_.abort(),_=null)},i.cancelToken&&i.cancelToken.subscribe(h),i.signal&&(i.signal.aborted?h():i.signal.addEventListener("abort",h)));const P=Ko(i.url);if(P&&W.protocols.indexOf(P)===-1){r(new R("Unsupported protocol "+P+":",R.ERR_BAD_REQUEST,e));return}_.send(a||null)})},ii=(e,t)=>{let r=new AbortController,i;const a=function(p){if(!i){i=!0,c();const h=p instanceof Error?p:this.reason;r.abort(h instanceof R?h:new pe(h instanceof Error?h.message:h))}};let u=t&&setTimeout(()=>{a(new R("timeout ".concat(t," of ms exceeded"),R.ETIMEDOUT))},t);const c=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach(p=>{p&&(p.removeEventListener?p.removeEventListener("abort",a):p.unsubscribe(a))}),e=null)};e.forEach(p=>p&&p.addEventListener&&p.addEventListener("abort",a));const{signal:y}=r;return y.unsubscribe=c,[y,()=>{u&&clearTimeout(u),u=null}]},si=function*(e,t){let r=e.byteLength;if(!t||r<t){yield e;return}let i=0,a;for(;i<r;)a=i+t,yield e.slice(i,a),i=a},ai=async function*(e,t,r){for await(const i of e)yield*si(ArrayBuffer.isView(i)?i:await r(String(i)),t)},Gt=(e,t,r,i,a)=>{const u=ai(e,t,a);let c=0,y,p=h=>{y||(y=!0,i&&i(h))};return new ReadableStream({async pull(h){try{const{done:l,value:v}=await u.next();if(l){p(),h.close();return}let I=v.byteLength;if(r){let E=c+=I;r(E)}h.enqueue(new Uint8Array(v))}catch(l){throw p(l),l}},cancel(h){return p(h),u.return()}},{highWaterMark:2})},De=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Dn=De&&typeof ReadableStream=="function",it=De&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Mn=(e,...t)=>{try{return!!e(...t)}catch{return!1}},ui=Dn&&Mn(()=>{let e=!1;const t=new Request(W.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Wt=64*1024,st=Dn&&Mn(()=>g.isReadableStream(new Response("").body)),Ue={stream:st&&(e=>e.body)};De&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ue[t]&&(Ue[t]=g.isFunction(e[t])?r=>r[t]():(r,i)=>{throw new R("Response type '".concat(t,"' is not supported"),R.ERR_NOT_SUPPORT,i)})})})(new Response);const ci=async e=>{if(e==null)return 0;if(g.isBlob(e))return e.size;if(g.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(g.isArrayBufferView(e)||g.isArrayBuffer(e))return e.byteLength;if(g.isURLSearchParams(e)&&(e=e+""),g.isString(e))return(await it(e)).byteLength},li=async(e,t)=>{const r=g.toFiniteNumber(e.getContentLength());return r!=null?r:ci(t)},fi=De&&(async e=>{let{url:t,method:r,data:i,signal:a,cancelToken:u,timeout:c,onDownloadProgress:y,onUploadProgress:p,responseType:h,headers:l,withCredentials:v="same-origin",fetchOptions:I}=zn(e);h=h?(h+"").toLowerCase():"text";let[E,b]=a||u||c?ii([a,u],c):[],_,O;const P=()=>{!_&&setTimeout(()=>{E&&E.unsubscribe()}),_=!0};let C;try{if(p&&ui&&r!=="get"&&r!=="head"&&(C=await li(l,i))!==0){let q=new Request(t,{method:"POST",body:i,duplex:"half"}),Y;if(g.isFormData(i)&&(Y=q.headers.get("content-type"))&&l.setContentType(Y),q.body){const[G,ne]=Mt(C,$e(Ht(p)));i=Gt(q.body,Wt,G,ne,it)}}g.isString(v)||(v=v?"include":"omit"),O=new Request(t,{...I,signal:E,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:v});let N=await fetch(O);const H=st&&(h==="stream"||h==="response");if(st&&(y||H)){const q={};["status","statusText","headers"].forEach(ge=>{q[ge]=N[ge]});const Y=g.toFiniteNumber(N.headers.get("content-length")),[G,ne]=y&&Mt(Y,$e(Ht(y),!0))||[];N=new Response(Gt(N.body,Wt,G,()=>{ne&&ne(),H&&P()},it),q)}h=h||"text";let He=await Ue[g.findKey(Ue,h)||"text"](N,e);return!H&&P(),b&&b(),await new Promise((q,Y)=>{Fn(q,Y,{data:He,headers:V.from(N.headers),status:N.status,statusText:N.statusText,config:e,request:O})})}catch(N){throw P(),N&&N.name==="TypeError"&&/fetch/i.test(N.message)?Object.assign(new R("Network Error",R.ERR_NETWORK,e,O),{cause:N.cause||N}):R.from(N,N&&N.code,e,O)}}),at={http:So,xhr:oi,fetch:fi};g.forEach(at,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Vt=e=>"- ".concat(e),hi=e=>g.isFunction(e)||e===null||e===!1,Hn={getAdapter:e=>{e=g.isArray(e)?e:[e];const{length:t}=e;let r,i;const a={};for(let u=0;u<t;u++){r=e[u];let c;if(i=r,!hi(r)&&(i=at[(c=String(r)).toLowerCase()],i===void 0))throw new R("Unknown adapter '".concat(c,"'"));if(i)break;a[c||"#"+u]=i}if(!i){const u=Object.entries(a).map(([y,p])=>"adapter ".concat(y," ")+(p===!1?"is not supported by the environment":"is not available in the build"));let c=t?u.length>1?"since :\n"+u.map(Vt).join("\n"):" "+Vt(u[0]):"as no adapter specified";throw new R("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return i},adapters:at};function Qe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new pe(null,e)}function Xt(e){return Qe(e),e.headers=V.from(e.headers),e.data=Ze.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Hn.getAdapter(e.adapter||bt.adapter)(e).then(function(t){return Qe(e),t.data=Ze.call(e,e.transformResponse,t),t.headers=V.from(t.headers),t},function(t){return kn(t)||(Qe(e),t&&t.response&&(t.response.data=Ze.call(e,e.transformResponse,t.response),t.response.headers=V.from(t.response.headers))),Promise.reject(t)})}const qn="1.7.4",vt={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{vt[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Jt={};vt.transitional=function(e,t,r){function i(a,u){return"[Axios v"+qn+"] Transitional option '"+a+"'"+u+(r?". "+r:"")}return(a,u,c)=>{if(e===!1)throw new R(i(u," has been removed"+(t?" in "+t:"")),R.ERR_DEPRECATED);return t&&!Jt[u]&&(Jt[u]=!0,console.warn(i(u," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(a,u,c):!0}};function pi(e,t,r){if(typeof e!="object")throw new R("options must be an object",R.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let a=i.length;for(;a-- >0;){const u=i[a],c=t[u];if(c){const y=e[u],p=y===void 0||c(y,u,e);if(p!==!0)throw new R("option "+u+" must be "+p,R.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new R("Unknown option "+u,R.ERR_BAD_OPTION)}}const ut={assertOptions:pi,validators:vt},te=ut.validators;let Ce=class{constructor(e){this.defaults=e,this.interceptors={request:new zt,response:new zt}}async request(e,t){try{return await this._request(e,t)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const a=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+="\n"+a):r.stack=a}catch{}}throw r}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=ie(this.defaults,t);const{transitional:r,paramsSerializer:i,headers:a}=t;r!==void 0&&ut.assertOptions(r,{silentJSONParsing:te.transitional(te.boolean),forcedJSONParsing:te.transitional(te.boolean),clarifyTimeoutError:te.transitional(te.boolean)},!1),i!=null&&(g.isFunction(i)?t.paramsSerializer={serialize:i}:ut.assertOptions(i,{encode:te.function,serialize:te.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let u=a&&g.merge(a.common,a[t.method]);a&&g.forEach(["delete","get","head","post","put","patch","common"],E=>{delete a[E]}),t.headers=V.concat(u,a);const c=[];let y=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(t)===!1||(y=y&&E.synchronous,c.unshift(E.fulfilled,E.rejected))});const p=[];this.interceptors.response.forEach(function(E){p.push(E.fulfilled,E.rejected)});let h,l=0,v;if(!y){const E=[Xt.bind(this),void 0];for(E.unshift.apply(E,c),E.push.apply(E,p),v=E.length,h=Promise.resolve(t);l<v;)h=h.then(E[l++],E[l++]);return h}v=c.length;let I=t;for(l=0;l<v;){const E=c[l++],b=c[l++];try{I=E(I)}catch(_){b.call(this,_);break}}try{h=Xt.call(this,I)}catch(E){return Promise.reject(E)}for(l=0,v=p.length;l<v;)h=h.then(p[l++],p[l++]);return h}getUri(e){e=ie(this.defaults,e);const t=jn(e.baseURL,e.url);return Pn(t,e.params,e.paramsSerializer)}};g.forEach(["delete","get","head","options"],function(e){Ce.prototype[e]=function(t,r){return this.request(ie(r||{},{method:e,url:t,data:(r||{}).data}))}}),g.forEach(["post","put","patch"],function(e){function t(r){return function(i,a,u){return this.request(ie(u||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Ce.prototype[e]=t(),Ce.prototype[e+"Form"]=t(!0)});const xe=Ce;class _t{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(a){r=a});const i=this;this.promise.then(a=>{if(!i._listeners)return;let u=i._listeners.length;for(;u-- >0;)i._listeners[u](a);i._listeners=null}),this.promise.then=a=>{let u;const c=new Promise(y=>{i.subscribe(y),u=y}).then(a);return c.cancel=function(){i.unsubscribe(u)},c},t(function(a,u,c){i.reason||(i.reason=new pe(a,u,c),r(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new _t(function(r){t=r}),cancel:t}}}const di=_t;function gi(e){return function(t){return e.apply(null,t)}}function mi(e){return g.isObject(e)&&e.isAxiosError===!0}const ct={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ct).forEach(([e,t])=>{ct[t]=e});const yi=ct;function Gn(e){const t=new xe(e),r=Rn(xe.prototype.request,t);return g.extend(r,xe.prototype,t,{allOwnKeys:!0}),g.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return Gn(ie(e,i))},r}const B=Gn(bt);B.Axios=xe,B.CanceledError=pe,B.CancelToken=di,B.isCancel=kn,B.VERSION=qn,B.toFormData=ze,B.AxiosError=R,B.Cancel=B.CanceledError,B.all=function(e){return Promise.all(e)},B.spread=gi,B.isAxiosError=mi,B.mergeConfig=ie,B.AxiosHeaders=V,B.formToJSON=e=>Un(g.isHTMLForm(e)?new FormData(e):e),B.getAdapter=Hn.getAdapter,B.HttpStatusCode=yi,B.default=B;const lt=B;var Ye={};const Ei=typeof tt=="object"&&Ye&&Ye.NODE_DEBUG&&/\bsemver\b/i.test(Ye.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Wn=Ei;const wi="2.0.0",Vn=256,bi=Number.MAX_SAFE_INTEGER||9007199254740991,vi=16,_i=Vn-6,Ri=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Xn={MAX_LENGTH:Vn,MAX_SAFE_COMPONENT_LENGTH:vi,MAX_SAFE_BUILD_LENGTH:_i,MAX_SAFE_INTEGER:bi,RELEASE_TYPES:Ri,SEMVER_SPEC_VERSION:wi,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},ft={exports:{}};(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:a}=Xn,u=Wn;t=e.exports={};const c=t.re=[],y=t.safeRe=[],p=t.src=[],h=t.t={};let l=0;const v="[a-zA-Z0-9-]",I=[["\\s",1],["\\d",a],[v,i]],E=_=>{for(const[O,P]of I)_=_.split("".concat(O,"*")).join("".concat(O,"{0,").concat(P,"}")).split("".concat(O,"+")).join("".concat(O,"{1,").concat(P,"}"));return _},b=(_,O,P)=>{const C=E(O),N=l++;u(_,N,O),h[_]=N,p[N]=O,c[N]=new RegExp(O,P?"g":void 0),y[N]=new RegExp(C,P?"g":void 0)};b("NUMERICIDENTIFIER","0|[1-9]\\d*"),b("NUMERICIDENTIFIERLOOSE","\\d+"),b("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-]".concat(v,"*")),b("MAINVERSION","(".concat(p[h.NUMERICIDENTIFIER],")\\.(").concat(p[h.NUMERICIDENTIFIER],")\\.(").concat(p[h.NUMERICIDENTIFIER],")")),b("MAINVERSIONLOOSE","(".concat(p[h.NUMERICIDENTIFIERLOOSE],")\\.(").concat(p[h.NUMERICIDENTIFIERLOOSE],")\\.(").concat(p[h.NUMERICIDENTIFIERLOOSE],")")),b("PRERELEASEIDENTIFIER","(?:".concat(p[h.NUMERICIDENTIFIER],"|").concat(p[h.NONNUMERICIDENTIFIER],")")),b("PRERELEASEIDENTIFIERLOOSE","(?:".concat(p[h.NUMERICIDENTIFIERLOOSE],"|").concat(p[h.NONNUMERICIDENTIFIER],")")),b("PRERELEASE","(?:-(".concat(p[h.PRERELEASEIDENTIFIER],"(?:\\.").concat(p[h.PRERELEASEIDENTIFIER],")*))")),b("PRERELEASELOOSE","(?:-?(".concat(p[h.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(p[h.PRERELEASEIDENTIFIERLOOSE],")*))")),b("BUILDIDENTIFIER","".concat(v,"+")),b("BUILD","(?:\\+(".concat(p[h.BUILDIDENTIFIER],"(?:\\.").concat(p[h.BUILDIDENTIFIER],")*))")),b("FULLPLAIN","v?".concat(p[h.MAINVERSION]).concat(p[h.PRERELEASE],"?").concat(p[h.BUILD],"?")),b("FULL","^".concat(p[h.FULLPLAIN],"$")),b("LOOSEPLAIN","[v=\\s]*".concat(p[h.MAINVERSIONLOOSE]).concat(p[h.PRERELEASELOOSE],"?").concat(p[h.BUILD],"?")),b("LOOSE","^".concat(p[h.LOOSEPLAIN],"$")),b("GTLT","((?:<|>)?=?)"),b("XRANGEIDENTIFIERLOOSE","".concat(p[h.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),b("XRANGEIDENTIFIER","".concat(p[h.NUMERICIDENTIFIER],"|x|X|\\*")),b("XRANGEPLAIN","[v=\\s]*(".concat(p[h.XRANGEIDENTIFIER],")(?:\\.(").concat(p[h.XRANGEIDENTIFIER],")(?:\\.(").concat(p[h.XRANGEIDENTIFIER],")(?:").concat(p[h.PRERELEASE],")?").concat(p[h.BUILD],"?)?)?")),b("XRANGEPLAINLOOSE","[v=\\s]*(".concat(p[h.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(p[h.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(p[h.XRANGEIDENTIFIERLOOSE],")(?:").concat(p[h.PRERELEASELOOSE],")?").concat(p[h.BUILD],"?)?)?")),b("XRANGE","^".concat(p[h.GTLT],"\\s*").concat(p[h.XRANGEPLAIN],"$")),b("XRANGELOOSE","^".concat(p[h.GTLT],"\\s*").concat(p[h.XRANGEPLAINLOOSE],"$")),b("COERCEPLAIN","(^|[^\\d])(\\d{1,".concat(r,"})(?:\\.(\\d{1,").concat(r,"}))?(?:\\.(\\d{1,").concat(r,"}))?")),b("COERCE","".concat(p[h.COERCEPLAIN],"(?:$|[^\\d])")),b("COERCEFULL",p[h.COERCEPLAIN]+"(?:".concat(p[h.PRERELEASE],")?(?:").concat(p[h.BUILD],")?(?:$|[^\\d])")),b("COERCERTL",p[h.COERCE],!0),b("COERCERTLFULL",p[h.COERCEFULL],!0),b("LONETILDE","(?:~>?)"),b("TILDETRIM","(\\s*)".concat(p[h.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",b("TILDE","^".concat(p[h.LONETILDE]).concat(p[h.XRANGEPLAIN],"$")),b("TILDELOOSE","^".concat(p[h.LONETILDE]).concat(p[h.XRANGEPLAINLOOSE],"$")),b("LONECARET","(?:\\^)"),b("CARETTRIM","(\\s*)".concat(p[h.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",b("CARET","^".concat(p[h.LONECARET]).concat(p[h.XRANGEPLAIN],"$")),b("CARETLOOSE","^".concat(p[h.LONECARET]).concat(p[h.XRANGEPLAINLOOSE],"$")),b("COMPARATORLOOSE","^".concat(p[h.GTLT],"\\s*(").concat(p[h.LOOSEPLAIN],")$|^$")),b("COMPARATOR","^".concat(p[h.GTLT],"\\s*(").concat(p[h.FULLPLAIN],")$|^$")),b("COMPARATORTRIM","(\\s*)".concat(p[h.GTLT],"\\s*(").concat(p[h.LOOSEPLAIN],"|").concat(p[h.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",b("HYPHENRANGE","^\\s*(".concat(p[h.XRANGEPLAIN],")\\s+-\\s+(").concat(p[h.XRANGEPLAIN],")\\s*$")),b("HYPHENRANGELOOSE","^\\s*(".concat(p[h.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(p[h.XRANGEPLAINLOOSE],")\\s*$")),b("STAR","(<|>)?=?\\s*\\*"),b("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),b("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(ft,ft.exports);var Ii=ft.exports;const Oi=Object.freeze({loose:!0}),Ni=Object.freeze({}),Ai=e=>e?typeof e!="object"?Oi:e:Ni;var Si=Ai;const Kt=/^[0-9]+$/,Jn=(e,t)=>{const r=Kt.test(e),i=Kt.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1},Li=(e,t)=>Jn(t,e);var Ti={compareIdentifiers:Jn,rcompareIdentifiers:Li};const Re=Wn,{MAX_LENGTH:Zt,MAX_SAFE_INTEGER:Ie}=Xn,{safeRe:Qt,t:Yt}=Ii,Ci=Si,{compareIdentifiers:ce}=Ti;let xi=class K{constructor(t,r){if(r=Ci(r),t instanceof K){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError('Invalid version. Must be a string. Got type "'.concat(typeof t,'".'));if(t.length>Zt)throw new TypeError("version is longer than ".concat(Zt," characters"));Re("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const i=t.trim().match(r.loose?Qt[Yt.LOOSE]:Qt[Yt.FULL]);if(!i)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>Ie||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ie||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ie||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(a=>{if(/^[0-9]+$/.test(a)){const u=+a;if(u>=0&&u<Ie)return u}return a}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(t){if(Re("SemVer.compare",this.version,this.options,t),!(t instanceof K)){if(typeof t=="string"&&t===this.version)return 0;t=new K(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof K||(t=new K(t,this.options)),ce(this.major,t.major)||ce(this.minor,t.minor)||ce(this.patch,t.patch)}comparePre(t){if(t instanceof K||(t=new K(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{const i=this.prerelease[r],a=t.prerelease[r];if(Re("prerelease compare",r,i,a),i===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(i===void 0)return-1;if(i!==a)return ce(i,a)}while(++r)}compareBuild(t){t instanceof K||(t=new K(t,this.options));let r=0;do{const i=this.build[r],a=t.build[r];if(Re("build compare",r,i,a),i===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(i===void 0)return-1;if(i!==a)return ce(i,a)}while(++r)}inc(t,r,i){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,i),this.inc("pre",r,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,i),this.inc("pre",r,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const a=Number(i)?1:0;if(!r&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[a];else{let u=this.prerelease.length;for(;--u>=0;)typeof this.prerelease[u]=="number"&&(this.prerelease[u]++,u=-2);if(u===-1){if(r===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(a)}}if(r){let u=[r,a];i===!1&&(u=[r]),ce(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=u):this.prerelease=u}break}default:throw new Error("invalid increment argument: ".concat(t))}return this.raw=this.format(),this.build.length&&(this.raw+="+".concat(this.build.join("."))),this}};var Kn=xi;const en=Kn,Bi=(e,t,r=!1)=>{if(e instanceof en)return e;try{return new en(e,t)}catch(i){if(!r)return null;throw i}};var Pi=Bi;const $i=Pi,Ui=(e,t)=>{const r=$i(e,t);return r?r.version:null};var ki=Ui;const Fi=mn(ki),ji=Kn,zi=(e,t)=>new ji(e,t).major;var Di=zi;const tn=mn(Di);class Mi{constructor(t){Ve(this,"bus");typeof t.getVersion!="function"||!Fi(t.getVersion())?console.warn("Proxying an event bus with an unknown or invalid version"):tn(t.getVersion())!==tn(this.getVersion())&&console.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()),this.bus=t}getVersion(){return"3.3.1"}subscribe(t,r){this.bus.subscribe(t,r)}unsubscribe(t,r){this.bus.unsubscribe(t,r)}emit(t,r){this.bus.emit(t,r)}}class Hi{constructor(){Ve(this,"handlers",new Map)}getVersion(){return"3.3.1"}subscribe(t,r){this.handlers.set(t,(this.handlers.get(t)||[]).concat(r))}unsubscribe(t,r){this.handlers.set(t,(this.handlers.get(t)||[]).filter(i=>i!==r))}emit(t,r){(this.handlers.get(t)||[]).forEach(i=>{try{i(r)}catch(a){console.error("could not invoke event listener",a)}})}}let Ee=null;function qi(){var e;return Ee!==null?Ee:typeof window>"u"?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):((e=window.OC)!=null&&e._eventBus&&typeof window._nc_event_bus>"u"&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),typeof(window==null?void 0:window._nc_event_bus)<"u"?Ee=new Mi(window._nc_event_bus):Ee=window._nc_event_bus=new Hi,Ee)}function Gi(e,t){qi().subscribe(e,t)}let we;const Zn=[];function Wi(){if(we===void 0){const e=document==null?void 0:document.getElementsByTagName("head")[0];we=e?e.getAttribute("data-requesttoken"):null}return we}function Vi(e){Zn.push(e)}Gi("csrf-token-update",e=>{we=e.token,Zn.forEach(t=>{try{t(we)}catch(r){console.error("error updating CSRF token observer",r)}})});const nn=Symbol("csrf-retry"),Xi=e=>async t=>{var r;const{config:i,response:a,request:u}=t,c=u==null?void 0:u.responseURL;if((a==null?void 0:a.status)===412&&((r=a==null?void 0:a.data)==null?void 0:r.message)==="CSRF check failed"&&i[nn]===void 0){console.warn("Request to ".concat(c," failed because of a CSRF mismatch. Fetching a new token"));const{data:{token:y}}=await e.get(pt("/csrftoken"));return console.debug("New request token ".concat(y," fetched")),e.defaults.headers.requesttoken=y,e({...i,headers:{...i.headers,requesttoken:y},[nn]:!0})}return Promise.reject(t)},Oe=Symbol("retryDelay"),Ji=e=>async t=>{var r;const{config:i,response:a,request:u}=t,c=u==null?void 0:u.responseURL,y=a==null?void 0:a.status,p=a==null?void 0:a.headers;if(y===503&&p["x-nextcloud-maintenance-mode"]==="1"&&i.retryIfMaintenanceMode&&(!i[Oe]||i[Oe]<=32)){const h=((r=i[Oe])!=null?r:1)*2;return console.warn("Request to ".concat(c," failed because of maintenance mode. Retrying in ").concat(h,"s")),await new Promise(l=>{setTimeout(l,h*1e3)}),e({...i,[Oe]:h})}return Promise.reject(t)},Ki=async e=>{var t;const{config:r,response:i,request:a}=e,u=a==null?void 0:a.responseURL;return(i==null?void 0:i.status)===401&&((t=i==null?void 0:i.data)==null?void 0:t.message)==="Current user is not logged in"&&r.reloadExpiredSession&&(window!=null&&window.location)&&(console.error("Request to ".concat(u," failed because the user session expired. Reloading the page …")),window.location.reload()),Promise.reject(e)};var rn;const Qn=lt.create({headers:{requesttoken:(rn=Wi())!=null?rn:"","X-Requested-With":"XMLHttpRequest"}}),le=Object.assign(Qn,{CancelToken:lt.CancelToken,isCancel:lt.isCancel});le.interceptors.response.use(e=>e,Xi(le)),le.interceptors.response.use(e=>e,Ji(le)),le.interceptors.response.use(e=>e,Ki),Vi(e=>{Qn.defaults.headers.requesttoken=e});const Zi=D({__name:"IntroAnimation",emits:["next"],setup(e,{emit:t}){const r=oe("firstrunwizard","Nextcloud.mp4"),i=oe("firstrunwizard","Nextcloud.webm"),a=A("firstrunwizard","Welcome to {cloudName}!",{cloudName:window.OC.theme.name});function u(){t("next")}return{__sfc:!0,emit:t,videoMp4:r,videoWebm:i,videoFallbackText:a,handleEnded:u}}}),Qi="_video_1p112_2",Yi="_wrapper_1p112_8",es={video:Qi,wrapper:Yi};var ts=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return t("div",{class:e.$style.wrapper},[t("video",{class:e.$style.video,attrs:{playsinline:"",autoplay:"",muted:""},domProps:{muted:!0},on:{ended:r.handleEnded}},[t("source",{attrs:{src:r.videoWebm,type:"video/webm"}}),t("source",{attrs:{src:r.videoMp4,type:"video/mp4"}}),e._v(" "+e._s(r.videoFallbackText)+" ")])])},ns=[];const on={$style:es};function rs(e){for(var t in on)this[t]=on[t]}var os=M(Zi,ts,ns,!1,rs,null,null,null);const is=os.exports,ss=D({__name:"SlideShow",props:{pages:null,currentIndex:null},emits:["update:current-index"],setup(e,{emit:t}){const r=e;yn((E,b)=>({a8212066:b.cssLogoUrl}));const i=_n(),a=fe(!1),u=z(()=>r.pages[r.currentIndex]),c=z(()=>r.currentIndex===0),y=z(()=>r.currentIndex===r.pages.length-1),p="url('".concat(oe("firstrunwizard","nextcloudLogo.svg"),"')"),h=br("transitions"),l=z(()=>{const E=a.value?"right":"left";return{active:h["slide-active"],enter:h["slide-".concat(E,"-enter")],leave:h["slide-".concat(E,"-leave-to")]}}),v=z(()=>{const E=a.value?"down":"up";return{active:h["slide-active"],enter:h["slide-".concat(E,"-enter")],leave:h["slide-".concat(E,"-leave-to")]}});vr(()=>r.currentIndex,(E,b)=>{E<b?a.value=!0:a.value=!1});function I(E){const b=r.pages.findIndex(_=>_.id===E);t("update:current-index",b)}return{__sfc:!0,props:r,emit:t,isMobile:i,reverseTransition:a,currentPage:u,isFirstPage:c,isLastPage:y,cssLogoUrl:p,transitions:h,transitionClasses:l,waveTransitionClasses:v,goToPage:I,t:A,mdiArrowLeft:_r,mdiArrowRight:Rr,mdiClose:Ir,NcButton:En,NcIconSvgWrapper:dt}}}),as="_wrapper_1pqur_1",us="_background_circle_1pqur_11",cs="_background_bar_1pqur_21",ls="_button_back_1pqur_30",fs="_button_close_1pqur_36",hs="_button_wrapper_1pqur_42",ps="_logo_1pqur_55",ds="_first_page_scroller_1pqur_68",gs={wrapper:as,background_circle:us,background_bar:cs,button_back:ls,button_close:fs,button_wrapper:hs,logo:ps,first_page_scroller:ds},ms={"slide-active":"_slide-active_8t7o1_5","slide-left-enter":"_slide-left-enter_8t7o1_9","slide-left-leave-to":"_slide-left-leave-to_8t7o1_14","slide-right-enter":"_slide-right-enter_8t7o1_19","slide-right-leave-to":"_slide-right-leave-to_8t7o1_24","slide-up-enter":"_slide-up-enter_8t7o1_29","slide-up-leave-to":"_slide-up-leave-to_8t7o1_33","slide-down-enter":"_slide-down-enter_8t7o1_37","slide-down-leave-to":"_slide-down-leave-to_8t7o1_41"};var ys=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return t("div",{class:e.$style.wrapper},[t("Transition",{attrs:{"enter-class":r.waveTransitionClasses.enter,"enter-active-class":r.waveTransitionClasses.active,"leave-active-class":r.waveTransitionClasses.active,"leave-to-class":r.waveTransitionClasses.leave}},[r.isFirstPage?t("div",{class:e.$style.background_circle}):e._e()]),t("div",{class:e.$style.background_bar}),!r.isFirstPage&&r.isMobile?t(r.NcButton,{class:e.$style.button_back,attrs:{"aria-label":r.t("firstrunwizard","Go to previous page"),type:"tertiary"},on:{click:function(i){return e.$emit("update:current-index",e.currentIndex-1)}},scopedSlots:e._u([{key:"icon",fn:function(){return[t(r.NcIconSvgWrapper,{attrs:{path:r.mdiArrowLeft}})]},proxy:!0}],null,!1,1565937943)}):e._e(),t(r.NcButton,{class:e.$style.button_close,attrs:{"aria-label":r.t("firstrunwizard","Close"),type:r.isFirstPage?"primary":"tertiary"},on:{click:function(i){return e.$emit("update:current-index",-1)}},scopedSlots:e._u([{key:"icon",fn:function(){return[t(r.NcIconSvgWrapper,{attrs:{path:r.mdiClose}})]},proxy:!0}])}),r.isFirstPage?t("div",{class:e.$style.logo}):e._e(),t("Transition",{attrs:{mode:"out-in","enter-class":r.transitionClasses.enter,"enter-active-class":r.transitionClasses.active,"leave-active-class":r.transitionClasses.active,"leave-to-class":r.transitionClasses.leave}},[t(r.currentPage.component,{tag:"component",attrs:{"scroller-classes":r.isFirstPage?e.$style.first_page_scroller:""}})],1),t("div",{class:e.$style.button_wrapper},e._l(r.currentPage.buttons,function(i,a){return t(r.NcButton,{key:i.to,attrs:{alignment:"center-reverse",type:a===r.currentPage.buttons.length-1?"primary":"secondary",wide:a===r.currentPage.buttons.length-1},on:{click:function(u){return r.goToPage(i.to)}},scopedSlots:e._u([r.isLastPage?null:{key:"icon",fn:function(){return[t(r.NcIconSvgWrapper,{attrs:{path:r.mdiArrowRight}})]},proxy:!0}],null,!0)},[e._v(" "+e._s(i.label)+" ")])}),1)],1)},Es=[];const sn={$style:gs,transitions:ms};function ws(e){for(var t in sn)this[t]=sn[t]}var bs=M(ss,ys,Es,!1,ws,null,null,null);const vs=bs.exports,_s=D({__name:"Card",props:{title:null,subtitle:null,href:null},setup(e){const t=e,r=z(()=>!!t.href);return{__sfc:!0,props:t,isLink:r}}}),Rs="_card_rb2xk_1",Is="_icon_rb2xk_8",Os="_heading_rb2xk_17",Ns="_link_rb2xk_23",As="_text_rb2xk_33",Ss={card:Rs,icon:Is,heading:Os,link:Ns,text:As};var Ls=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return t(r.isLink?"a":"div",{tag:"element",class:[e.$style.card,{[e.$style.link]:r.isLink}],attrs:{href:e.href||void 0,target:r.isLink?"_blank":void 0,rel:r.isLink?"noreferrer":void 0}},[t("div",{class:e.$style.icon},[e._t("default")],2),t("div",{class:e.$style.text},[t("h3",{class:e.$style.heading},[e._v(" "+e._s(e.title)+" ")]),e.subtitle!==void 0?t("p",{domProps:{textContent:e._s(e.subtitle)}}):e._e()])])},Ts=[];const an={$style:Ss};function Cs(e){for(var t in an)this[t]=an[t]}var xs=M(_s,Ls,Ts,!1,Cs,null,null,null);const Me=xs.exports,Bs=D({__name:"WizardPage",props:{title:null,subtitle:null,scrollerClasses:null},setup(e){return{__sfc:!0}}}),Ps="_wrapper_1b76s_2",$s="_scroller_1b76s_9",Us="_heading_1b76s_14",ks="_subtitle_1b76s_20",Fs="_content_1b76s_26",js={wrapper:Ps,scroller:$s,heading:Us,subtitle:ks,content:Fs};var zs=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{class:e.$style.wrapper},[t("div",{class:[e.$style.scroller,e.scrollerClasses]},[t("h2",{class:e.$style.heading},[e._v(" "+e._s(e.title)+" ")]),e.subtitle?t("p",{class:e.$style.subtitle},[e._v(" "+e._s(e.subtitle)+" ")]):e._e(),t("div",{class:e.$style.content},[e._t("default")],2)])])},Ds=[];const un={$style:js};function Ms(e){for(var t in un)this[t]=un[t]}var Hs=M(Bs,zs,Ds,!1,Ms,null,null,null);const de=Hs.exports,qs=D({__name:"AboutNextcloud",setup(e){return{__sfc:!0,versionNumber:A("firstrunwizard","This Nextcloud is on version {version}",{version:window.OC.config.versionstring}),t:A,Card:Me,WizardPage:de}}}),Gs="_version_m2t30_2",Ws={version:Gs};var Vs=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return t(r.WizardPage,{attrs:{title:r.t("firstrunwizard","More about Nextcloud")}},[t(r.Card,{attrs:{href:"https://apps.nextcloud.com/",title:r.t("firstrunwizard","Explore more apps ↗"),subtitle:r.t("firstrunwizard","Extend the functionality of Nextcloud with hundreds of community-developed apps.")}}),t(r.Card,{attrs:{href:"https://nextcloud.com/contribute/",title:r.t("firstrunwizard","Get involved! ↗"),subtitle:r.t("firstrunwizard","Be a part of the community that helps build, design, translate and promote Nextcloud!")}}),t(r.Card,{attrs:{href:"https://docs.nextcloud.com/",title:r.t("firstrunwizard","Need help? ↗"),subtitle:r.t("firstrunwizard","Find out more about your Nextcloud setup with the admin, user or developer documentation.")}}),t(r.Card,{attrs:{href:"https://nextcloud.com/enterprise/",title:r.t("firstrunwizard","For large organisations ↗"),subtitle:r.t("firstrunwizard","Get Nextcloud Enterprise for mission critical environments where advanced security and compliance are important.")}}),t("p",{class:e.$style.version},[e._v(" "+e._s(r.versionNumber)+" ")])],1)},Xs=[];const cn={$style:Ws};function Js(e){for(var t in cn)this[t]=cn[t]}var Ks=M(qs,Vs,Xs,!1,Js,null,null,null);const Zs=Ks.exports,Qs=D({__name:"AppStoreBadge",props:{type:null},setup(e){const t=e;yn((p,h)=>({"7adda1c6":h.cssBackgroundImage}));const r=Be("firstrunwizard","android"),i=Be("firstrunwizard","ios"),a=z(()=>{if(t.type==="ios")return oe("firstrunwizard","iosBadge.png");if(t.type==="android")return oe("firstrunwizard","androidBadge.png")}),u=z(()=>"url('".concat(a.value,"')")),c=z(()=>{if(t.type==="ios")return i;if(t.type==="android")return r}),y=z(()=>{if(t.type==="ios")return A("firstrunwizard","Download on Apple app store");if(t.type==="android")return A("firstrunwizard","Download on Google play store")});return{__sfc:!0,props:t,android:r,ios:i,badgeImagePath:a,cssBackgroundImage:u,href:c,ariaLabel:y}}}),Ys="_badge_1lvp9_1",ea={badge:Ys};var ta=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return t("a",{class:e.$style.badge,attrs:{"aria-label":r.ariaLabel,target:"_blank",rel:"noreferrer",href:r.href}})},na=[];const ln={$style:ea};function ra(e){for(var t in ln)this[t]=ln[t]}var oa=M(Qs,ta,na,!1,ra,null,null,null);const ia=oa.exports,sa=D({__name:"DeviceIntegration",setup(e){const t=Be("firstrunwizard","desktop"),r=pt("settings/user/sync-clients");return{__sfc:!0,desktop:t,syncClientsUrl:r,t:A,AppStoreBadge:ia,Card:Me,WizardPage:de}}});var aa=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return t(r.WizardPage,{attrs:{title:r.t("firstrunwizard","Seamless integration with your devices."),subtitle:r.t("firstrunwizard","Sync your files across your devices with the desktop and mobile apps, and connect your calendar and contacts.")}},[t(r.AppStoreBadge,{attrs:{type:"android"}}),t(r.AppStoreBadge,{attrs:{type:"ios"}}),t(r.Card,{attrs:{href:r.desktop,title:r.t("firstrunwizard","Desktop app ↗"),subtitle:r.t("firstrunwizard","Download For Windows, Mac OS and Linux.")}}),t(r.Card,{attrs:{href:r.syncClientsUrl,title:r.t("firstrunwizard","Calendar and contacts ↗"),subtitle:r.t("firstrunwizard","Connect your calendar and contacts with your devices.")}})],1)},ua=[],ca=M(sa,aa,ua,!1,null,null,null,null);const la=ca.exports,Z={version:"9",link:"https://nextcloud.com/blog/nextcloud-hub9/",releaseNotes:["🌐 "+A("firstrunwizard","Federated collaboration: file sharing, messaging, calls"),"🗂️ "+A("firstrunwizard","Nextcloud Project"),"📌 "+A("firstrunwizard","Nextcloud Whiteboard"),"✳️ "+A("firstrunwizard","Workflow Engine"),"💌 "+A("firstrunwizard","Safer and swifter mail"),"🔗 "+A("firstrunwizard","Public Collectives sharing, previews and QR-codes"),"🎨 "+A("firstrunwizard","Office and PDF templates"),"💬 "+A("firstrunwizard","Chat mode for Nextcloud Assistant")],videoAltText:A("firstrunwizard","Get to know the new features of Hub 9"),shareSubject:A("firstrunwizard","Nextcloud Hub {version} release",{version:"9"})},fa=D({__name:"HubRelease",setup(e){const t=oe("firstrunwizard","nextcloudHub.mp4"),r=oe("firstrunwizard","nextcloudHub.webm");return{__sfc:!0,videoMp4:t,videoWebm:r,t:A,HUBRelease:Z,WizardPage:de}}}),ha="_anchor_y1t00_2",pa="_animation_y1t00_6",da={anchor:ha,animation:pa};var ga=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return t(r.WizardPage,{attrs:{title:r.t("firstrunwizard","Introducing Nextcloud Hub {version}",{version:r.HUBRelease.version})}},[t("a",{class:e.$style.anchor,attrs:{href:r.HUBRelease.link,target:"_blank"}},[t("video",{class:e.$style.animation,attrs:{playsinline:"",autoplay:"",muted:""},domProps:{muted:!0}},[t("source",{attrs:{src:r.videoWebm,type:"video/webm;codecs=vp9"}}),t("source",{attrs:{src:r.videoMp4,type:"video/mp4"}}),e._v(" "+e._s(r.HUBRelease.videoAltText)+" ")])])])},ma=[];const fn={$style:da};function ya(e){for(var t in fn)this[t]=fn[t]}var Ea=M(fa,ga,ma,!1,ya,null,null,null);const wa=Ea.exports,ba=D({__name:"KeyNotes",props:{scrollerClasses:null},setup(e){return{__sfc:!0,mdiAccountGroup:Or,mdiBriefcaseCheck:Nr,mdiLock:Ar,mdiSwapHorizontal:Sr,t:A,NcIconSvgWrapper:dt,Card:Me,WizardPage:de}}}),va="_icon_rxix9_2",_a={icon:va};var Ra=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return t(r.WizardPage,{attrs:{"scroller-classes":e.scrollerClasses,title:r.t("firstrunwizard","A collaboration platform that puts you in control")}},[t(r.Card,{attrs:{title:r.t("firstrunwizard","Privacy"),subtitle:r.t("firstrunwizard","Host your data and files where you decide.")}},[t(r.NcIconSvgWrapper,{class:e.$style.icon,attrs:{inline:"",path:r.mdiLock}})],1),t(r.Card,{attrs:{title:r.t("firstrunwizard","Productivity"),subtitle:r.t("firstrunwizard","Collaborate and communicate across any platform.")}},[t(r.NcIconSvgWrapper,{class:e.$style.icon,attrs:{inline:"",path:r.mdiBriefcaseCheck}})],1),t(r.Card,{attrs:{title:r.t("firstrunwizard","Interoperability"),subtitle:r.t("firstrunwizard","Import and export anything you want with open standards.")}},[t(r.NcIconSvgWrapper,{class:e.$style.icon,attrs:{inline:"",path:r.mdiSwapHorizontal}})],1),t(r.Card,{attrs:{title:r.t("firstrunwizard","Community"),subtitle:r.t("firstrunwizard","Enjoy constant improvements from a thriving open-source community.")}},[t(r.NcIconSvgWrapper,{class:e.$style.icon,attrs:{inline:"",path:r.mdiAccountGroup}})],1)],1)},Ia=[];const hn={$style:_a};function Oa(e){for(var t in hn)this[t]=hn[t]}var Na=M(ba,Ra,Ia,!1,Oa,null,null,null);const Aa=Na.exports,Sa='<svg viewBox="0 0 32 32" height="32" width="32" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2"><path d="M0 1.831c0-138.071-111.929-250-250-250s-250 111.929-250 250c0 117.245 80.715 215.622 189.606 242.638V78.227h-51.552V1.831h51.552v-32.919c0-85.092 38.508-124.532 122.048-124.532 15.838 0 43.167 3.105 54.347 6.211v69.254c-5.901-.621-16.149-.932-28.882-.932-40.993 0-56.832 15.528-56.832 55.9V1.831h81.659l-14.028 76.396h-67.631V250C-95.927 235.049 0 129.649 0 1.831" style="fill-rule:nonzero" transform="matrix(.064 0 0 .064 32 15.883)"/></svg>',La='<svg viewBox="0 0 74 79" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M73.7014 17.9592C72.5616 9.62034 65.1774 3.04876 56.424 1.77536C54.9472 1.56019 49.3517 0.7771 36.3901 0.7771H36.2933C23.3281 0.7771 20.5465 1.56019 19.0697 1.77536C10.56 3.01348 2.78877 8.91838 0.903306 17.356C-0.00357857 21.5113 -0.100361 26.1181 0.068112 30.3439C0.308275 36.404 0.354874 42.4535 0.91406 48.489C1.30064 52.498 1.97502 56.4751 2.93215 60.3905C4.72441 67.6217 11.9795 73.6395 19.0876 76.0945C26.6979 78.6548 34.8821 79.0799 42.724 77.3221C43.5866 77.1245 44.4398 76.8953 45.2833 76.6342C47.1867 76.0381 49.4199 75.3714 51.0616 74.2003C51.0841 74.1839 51.1026 74.1627 51.1156 74.1382C51.1286 74.1138 51.1359 74.0868 51.1368 74.0592V68.2108C51.1364 68.185 51.1302 68.1596 51.1185 68.1365C51.1069 68.1134 51.0902 68.0932 51.0695 68.0773C51.0489 68.0614 51.0249 68.0503 50.9994 68.0447C50.9738 68.0391 50.9473 68.0392 50.9218 68.045C45.8976 69.226 40.7491 69.818 35.5836 69.8087C26.694 69.8087 24.3031 65.6569 23.6184 63.9285C23.0681 62.4347 22.7186 60.8764 22.5789 59.2934C22.5775 59.2669 22.5825 59.2403 22.5934 59.216C22.6043 59.1916 22.621 59.1702 22.6419 59.1533C22.6629 59.1365 22.6876 59.1248 22.714 59.1191C22.7404 59.1134 22.7678 59.1139 22.794 59.1206C27.7345 60.2936 32.799 60.8856 37.8813 60.8843C39.1036 60.8843 40.3223 60.8843 41.5447 60.8526C46.6562 60.7115 52.0437 60.454 57.0728 59.4874C57.1983 59.4628 57.3237 59.4416 57.4313 59.4098C65.3638 57.9107 72.9128 53.2051 73.6799 41.2895C73.7086 40.8204 73.7803 36.3758 73.7803 35.889C73.7839 34.2347 74.3216 24.1533 73.7014 17.9592ZM61.4925 47.6918H53.1514V27.5855C53.1514 23.3526 51.3591 21.1938 47.7136 21.1938C43.7061 21.1938 41.6988 23.7476 41.6988 28.7919V39.7974H33.4078V28.7919C33.4078 23.7476 31.3969 21.1938 27.3894 21.1938C23.7654 21.1938 21.9552 23.3526 21.9516 27.5855V47.6918H13.6176V26.9752C13.6176 22.7423 14.7157 19.3795 16.9118 16.8868C19.1772 14.4 22.1488 13.1231 25.8373 13.1231C30.1064 13.1231 33.3325 14.7386 35.4832 17.9662L37.5587 21.3949L39.6377 17.9662C41.7884 14.7386 45.0145 13.1231 49.2765 13.1231C52.9614 13.1231 55.9329 14.4 58.2055 16.8868C60.4017 19.3772 61.4997 22.74 61.4997 26.9752L61.4925 47.6918Z" fill="inherit"/></svg>\n',Ta='<svg viewBox="0 0 1200 1227" xmlns="http://www.w3.org/2000/svg"><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill="currentColor"/></svg>\n',Ca=D({__name:"SharePage",setup(e){var t,r;const i=encodeURIComponent(encodeURI(Z.link)),a=encodeURIComponent((t=Z.shareSubject)!=null?t:A("firstrunwizard","Nextcloud Hub {version} release",{version:Z.version})),u=encodeURIComponent(A("firstrunwizard","Read more about it on the Nextcloud Hub {version} blog",{version:Z.version})+"\n"+Z.link),c=[{id:"facebook",name:"Facebook",link:"https://www.facebook.com/sharer/sharer.php?u=".concat(i),icon:Sa},{id:"x",name:"X",link:"https://x.com/intent/post?url=".concat(i,"&via=Nextclouders&text=").concat(encodeURIComponent((r=Z.shareSubject)!=null?r:"")),icon:Ta},{id:"mastodon",name:"Mastodon",link:"https://mastodon.social/share?text=".concat(i),icon:La},{id:"email",name:"EMail",link:"mailto:?subject=".concat(a,"&body=").concat(u),icon:Lr}];return{__sfc:!0,encodedLink:i,mailSubject:a,mailBody:u,shareLinks:c,t:A,NcButton:En,NcIconSvgWrapper:dt,HubRelease:Z,WizardPage:de,Card:Me}}}),xa="_share_section_nuzul_2",Ba="_share_wrapper_nuzul_6",Pa="_card_nuzul_15",$a="_heading_nuzul_22",Ua={share_section:xa,share_wrapper:Ba,card:Pa,heading:$a};var ka=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return t(r.WizardPage,{attrs:{title:r.t("firstrunwizard","Find out more on the blog")}},[t(r.NcButton,{attrs:{href:r.HubRelease.link,target:"_blank"}},[e._v(" "+e._s(r.t("firstrunwizard","Read the Nextcloud Hub {version} blog",{version:r.HubRelease.version}))+" ↗ ")]),t("section",{class:e.$style.share_section},[t("h3",{class:e.$style.heading},[e._v(" "+e._s(r.t("firstrunwizard","Share your opinion about Nextcloud Hub {version}",{version:r.HubRelease.version}))+" ")]),t("div",{class:e.$style.share_wrapper},e._l(r.shareLinks,function(i){return t(r.Card,{key:i.id,class:e.$style.card,attrs:{href:i.link,title:i.id==="mail"?r.t("firstrunwizard","Share via email"):r.t("firstrunwizard","Share on {socialMedia}",{socialMedia:i.name})}},[i.icon?t(r.NcIconSvgWrapper,{attrs:{svg:i.id!=="email"?i.icon:void 0,path:i.id==="email"?i.icon:void 0}}):e._e()],1)}),1)])],1)},Fa=[];const pn={$style:Ua};function ja(e){for(var t in pn)this[t]=pn[t]}var za=M(Ca,ka,Fa,!1,ja,null,null,null);const Da=za.exports,Ma=D({__name:"WhatsNew",setup(e){return{__sfc:!0,t:A,HubRelease:Z,WizardPage:de}}}),Ha="_list_lk7o9_2",qa="_entry_lk7o9_6",Ga={list:Ha,entry:qa};var Wa=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return t(r.WizardPage,{attrs:{title:r.t("firstrunwizard","New in Nextcloud Hub {version}",{version:r.HubRelease.version})+" 🚀"}},[t("ul",{class:e.$style.list},e._l(r.HubRelease.releaseNotes,function(i,a){return t("li",{key:a,class:e.$style.entry},[e._v(" "+e._s(i)+" ")])}),0)])},Va=[];const dn={$style:Ga};function Xa(e){for(var t in dn)this[t]=dn[t]}var Ja=M(Ma,Wa,Va,!1,Xa,null,null,null);const Ka=Ja.exports,et=[{id:"key-aspects",component:Aa,buttons:[{to:"hub-release",label:A("firstrunwizard","What's new?")},{to:"devices",label:A("firstrunwizard","Nextcloud on all your devices")}]},{id:"devices",component:la,buttons:[{to:"about",label:A("firstrunwizard","More about Nextcloud")}]},{id:"about",component:Zs,buttons:[{to:"hub-release",label:A("firstrunwizard","Nextcloud Hub {version}",{version:Z.version})}]},{id:"hub-release",component:wa,buttons:[{to:"whats-new",label:A("firstrunwizard","Read more")}]},{id:"whats-new",component:Ka,buttons:[{to:"share",label:A("firstrunwizard","Share on social media")}]},{id:"share",component:Da,buttons:[{to:"close",label:A("firstrunwizard","Get started!")}]}],Za=D({__name:"App",setup(e,{expose:t}){const r=_n(),i=Be("firstrunwizard","changelogOnly",!1),a=Math.min(et.findIndex(I=>I.id==="hub-release"),0),u=fe(!1),c=fe(null),y=fe(),p=z(()=>!r.value&&c.value!==null&&c.value>0),h=z(()=>!r.value&&c.value!==null&&c.value<et.length-1);function l(I){y.value=I,c.value=null,u.value=!0}function v(){c.value=null,u.value=!1,le.delete(pt("/apps/firstrunwizard/wizard"))}return t({open:l,close:v}),Tr(()=>{c.value===-1&&v()}),{__sfc:!0,isMobile:r,showChangelogOnly:i,changelogPage:a,showModal:u,currentPage:c,setReturnFocus:y,hasPrevious:p,hasNext:h,open:l,close:v,NcModal:Cr,IntroAnimation:is,SlideShow:vs,pages:et}}});var Qa=function(){var e=this,t=e._self._c,r=e._self._setupProxy;return r.showModal?t(r.NcModal,{staticClass:"first-run-wizard",attrs:{id:"firstrunwizard",size:"normal",dark:!r.isMobile,"has-next":r.hasNext,"has-previous":r.hasPrevious,"set-return-focus":r.setReturnFocus},on:{close:r.close,next:function(i){r.currentPage+=1},previous:function(i){r.currentPage-=1}}},[r.currentPage===null?t(r.IntroAnimation,{on:{next:function(i){r.currentPage=r.showChangelogOnly?r.changelogPage:0}}}):t(r.SlideShow,{attrs:{pages:r.pages,"current-index":r.currentPage},on:{"update:currentIndex":function(i){r.currentPage=i},"update:current-index":function(i){r.currentPage=i}}})],1):e._e()},Ya=[],eu=M(Za,Qa,Ya,!1,null,null,null,null);const tu=eu.exports;Ne.prototype.t=A,Ne.prototype.n=xr,Ne.prototype.oc_defaults=window.oc_defaults;const ht=document.createElement("div");ht.id="firstrunwizard",document.querySelector("body").appendChild(ht);const nu=Ne.extend(tu),ru=new nu().$mount(ht),su=ru.open;export{su as open};