-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathmain-9oHLcIPT.chunk.mjs
More file actions
10 lines (10 loc) · 85 KB
/
main-9oHLcIPT.chunk.mjs
File metadata and controls
10 lines (10 loc) · 85 KB
1
2
3
4
5
6
7
8
9
10
import{o as ge,v as ir,p as At,w as qr,x as Hr,y as dt,z as Wr,d as W,A as le,b as C,c as V,B as sr,i as H,C as Vr,D as Jr,q as yt,N as ar,E as Gr,F as Xr,H as Yr,l as De,I as Zr,J as Kr,K as Qr,L as en,M as tn,O as rn,P as nn,V as ze,Q as on}from"./NcModal-Cxg92Irl.chunk.mjs";const gt=1024,ur=gt/2,qe=e=>document.documentElement.clientWidth<e,lr=ge(qe(gt)),cr=ge(qe(ur));window.addEventListener("resize",()=>{lr.value=qe(gt),cr.value=qe(ur)},{passive:!0});function fr(){return ir(cr)}ir(lr);function hr(e,r){return function(){return e.apply(r,arguments)}}const{toString:sn}=Object.prototype,{getPrototypeOf:mt}=Object,{iterator:Ve,toStringTag:pr}=Symbol,Je=(e=>r=>{const n=sn.call(r);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),X=e=>(e=e.toLowerCase(),r=>Je(r)===e),Ge=e=>r=>typeof r===e,{isArray:we}=Array,me=Ge("undefined");function Be(e){return e!==null&&!me(e)&&e.constructor!==null&&!me(e.constructor)&&F(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const dr=X("ArrayBuffer");function an(e){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(e):r=e&&e.buffer&&dr(e.buffer),r}const un=Ge("string"),F=Ge("function"),yr=Ge("number"),Ae=e=>e!==null&&typeof e=="object",ln=e=>e===!0||e===!1,Fe=e=>{if(Je(e)!=="object")return!1;const r=mt(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(pr in e)&&!(Ve in e)},cn=e=>{if(!Ae(e)||Be(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},fn=X("Date"),hn=X("File"),pn=X("Blob"),dn=X("FileList"),yn=e=>Ae(e)&&F(e.pipe),gn=e=>{let r;return e&&(typeof FormData=="function"&&e instanceof FormData||F(e.append)&&((r=Je(e))==="formdata"||r==="object"&&F(e.toString)&&e.toString()==="[object FormData]"))},mn=X("URLSearchParams"),[wn,bn,vn,_n]=["ReadableStream","Request","Response","Headers"].map(X),En=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Te(e,r,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,a;if(typeof e!="object"&&(e=[e]),we(e))for(s=0,a=e.length;s<a;s++)r.call(null,e[s],s,e);else{if(Be(e))return;const c=n?Object.getOwnPropertyNames(e):Object.keys(e),u=c.length;let g;for(s=0;s<u;s++)g=c[s],r.call(null,e[g],g,e)}}function gr(e,r){if(Be(e))return null;r=r.toLowerCase();const n=Object.keys(e);let s=n.length,a;for(;s-- >0;)if(a=n[s],r===a.toLowerCase())return a;return null}const ae=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:qr,mr=e=>!me(e)&&e!==ae;function at(){const{caseless:e,skipUndefined:r}=mr(this)&&this||{},n={},s=(a,c)=>{const u=e&&gr(n,c)||c;Fe(n[u])&&Fe(a)?n[u]=at(n[u],a):Fe(a)?n[u]=at({},a):we(a)?n[u]=a.slice():(!r||!me(a))&&(n[u]=a)};for(let a=0,c=arguments.length;a<c;a++)arguments[a]&&Te(arguments[a],s);return n}const Rn=(e,r,n,{allOwnKeys:s}={})=>(Te(r,(a,c)=>{n&&F(a)?e[c]=hr(a,n):e[c]=a},{allOwnKeys:s}),e),xn=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Cn=(e,r,n,s)=>{e.prototype=Object.create(r.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:r.prototype}),n&&Object.assign(e.prototype,n)},Sn=(e,r,n,s)=>{let a,c,u;const g={};if(r=r||{},e==null)return r;do{for(a=Object.getOwnPropertyNames(e),c=a.length;c-- >0;)u=a[c],(!s||s(u,e,r))&&!g[u]&&(r[u]=e[u],g[u]=!0);e=n!==!1&&mt(e)}while(e&&(!n||n(e,r))&&e!==Object.prototype);return r},On=(e,r,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=r.length;const s=e.indexOf(r,n);return s!==-1&&s===n},Bn=e=>{if(!e)return null;if(we(e))return e;let r=e.length;if(!yr(r))return null;const n=new Array(r);for(;r-- >0;)n[r]=e[r];return n},An=(e=>r=>e&&r instanceof e)(typeof Uint8Array<"u"&&mt(Uint8Array)),Tn=(e,r)=>{const n=(e&&e[Ve]).call(e);let s;for(;(s=n.next())&&!s.done;){const a=s.value;r.call(e,a[0],a[1])}},Nn=(e,r)=>{let n;const s=[];for(;(n=e.exec(r))!==null;)s.push(n);return s},Pn=X("HTMLFormElement"),kn=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,s){return n.toUpperCase()+s}),Tt=(({hasOwnProperty:e})=>(r,n)=>e.call(r,n))(Object.prototype),Ln=X("RegExp"),wr=(e,r)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Te(n,(a,c)=>{let u;(u=r(a,c,e))!==!1&&(s[c]=u||a)}),Object.defineProperties(e,s)},Un=e=>{wr(e,(r,n)=>{if(F(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(F(s)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},In=(e,r)=>{const n={},s=a=>{a.forEach(c=>{n[c]=!0})};return we(e)?s(e):s(String(e).split(r)),n},zn=()=>{},Fn=(e,r)=>e!=null&&Number.isFinite(e=+e)?e:r;function jn(e){return!!(e&&F(e.append)&&e[pr]==="FormData"&&e[Ve])}const $n=e=>{const r=new Array(10),n=(s,a)=>{if(Ae(s)){if(r.indexOf(s)>=0)return;if(Be(s))return s;if(!("toJSON"in s)){r[a]=s;const c=we(s)?[]:{};return Te(s,(u,g)=>{const m=n(u,a+1);!me(m)&&(c[g]=m)}),r[a]=void 0,c}}return s};return n(e,0)},Mn=X("AsyncFunction"),Dn=e=>e&&(Ae(e)||F(e))&&F(e.then)&&F(e.catch),br=((e,r)=>e?setImmediate:r?((n,s)=>(ae.addEventListener("message",({source:a,data:c})=>{a===ae&&c===n&&s.length&&s.shift()()},!1),a=>{s.push(a),ae.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",F(ae.postMessage)),qn=typeof queueMicrotask<"u"?queueMicrotask.bind(ae):typeof At<"u"&&At.nextTick||br,Hn=e=>e!=null&&F(e[Ve]),p={isArray:we,isArrayBuffer:dr,isBuffer:Be,isFormData:gn,isArrayBufferView:an,isString:un,isNumber:yr,isBoolean:ln,isObject:Ae,isPlainObject:Fe,isEmptyObject:cn,isReadableStream:wn,isRequest:bn,isResponse:vn,isHeaders:_n,isUndefined:me,isDate:fn,isFile:hn,isBlob:pn,isRegExp:Ln,isFunction:F,isStream:yn,isURLSearchParams:mn,isTypedArray:An,isFileList:dn,forEach:Te,merge:at,extend:Rn,trim:En,stripBOM:xn,inherits:Cn,toFlatObject:Sn,kindOf:Je,kindOfTest:X,endsWith:On,toArray:Bn,forEachEntry:Tn,matchAll:Nn,isHTMLForm:Pn,hasOwnProperty:Tt,hasOwnProp:Tt,reduceDescriptors:wr,freezeMethods:Un,toObjectSet:In,toCamelCase:kn,noop:zn,toFiniteNumber:Fn,findKey:gr,global:ae,isContextDefined:mr,isSpecCompliantForm:jn,toJSONObject:$n,isAsyncFn:Mn,isThenable:Dn,setImmediate:br,asap:qn,isIterable:Hn};var vr={},je={};je.byteLength=Jn,je.toByteArray=Xn,je.fromByteArray=Kn;for(var te=[],q=[],Wn=typeof Uint8Array<"u"?Uint8Array:Array,tt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",de=0,Vn=tt.length;de<Vn;++de)te[de]=tt[de],q[tt.charCodeAt(de)]=de;q[45]=62,q[95]=63;function _r(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=r);var s=n===r?0:4-n%4;return[n,s]}function Jn(e){var r=_r(e),n=r[0],s=r[1];return(n+s)*3/4-s}function Gn(e,r,n){return(r+n)*3/4-n}function Xn(e){var r,n=_r(e),s=n[0],a=n[1],c=new Wn(Gn(e,s,a)),u=0,g=a>0?s-4:s,m;for(m=0;m<g;m+=4)r=q[e.charCodeAt(m)]<<18|q[e.charCodeAt(m+1)]<<12|q[e.charCodeAt(m+2)]<<6|q[e.charCodeAt(m+3)],c[u++]=r>>16&255,c[u++]=r>>8&255,c[u++]=r&255;return a===2&&(r=q[e.charCodeAt(m)]<<2|q[e.charCodeAt(m+1)]>>4,c[u++]=r&255),a===1&&(r=q[e.charCodeAt(m)]<<10|q[e.charCodeAt(m+1)]<<4|q[e.charCodeAt(m+2)]>>2,c[u++]=r>>8&255,c[u++]=r&255),c}function Yn(e){return te[e>>18&63]+te[e>>12&63]+te[e>>6&63]+te[e&63]}function Zn(e,r,n){for(var s,a=[],c=r;c<n;c+=3)s=(e[c]<<16&16711680)+(e[c+1]<<8&65280)+(e[c+2]&255),a.push(Yn(s));return a.join("")}function Kn(e){for(var r,n=e.length,s=n%3,a=[],c=16383,u=0,g=n-s;u<g;u+=c)a.push(Zn(e,u,u+c>g?g:u+c));return s===1?(r=e[n-1],a.push(te[r>>2]+te[r<<4&63]+"==")):s===2&&(r=(e[n-2]<<8)+e[n-1],a.push(te[r>>10]+te[r>>4&63]+te[r<<2&63]+"=")),a.join("")}var ut={};ut.read=function(e,r,n,s,a){var c,u,g=a*8-s-1,m=(1<<g)-1,d=m>>1,l=-7,E=n?a-1:0,x=n?-1:1,b=e[r+E];for(E+=x,c=b&(1<<-l)-1,b>>=-l,l+=g;l>0;c=c*256+e[r+E],E+=x,l-=8);for(u=c&(1<<-l)-1,c>>=-l,l+=s;l>0;u=u*256+e[r+E],E+=x,l-=8);if(c===0)c=1-d;else{if(c===m)return u?NaN:(b?-1:1)*(1/0);u=u+Math.pow(2,s),c=c-d}return(b?-1:1)*u*Math.pow(2,c-s)},ut.write=function(e,r,n,s,a,c){var u,g,m,d=c*8-a-1,l=(1<<d)-1,E=l>>1,x=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=s?0:c-1,v=s?1:-1,_=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(g=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(m=Math.pow(2,-u))<1&&(u--,m*=2),u+E>=1?r+=x/m:r+=x*Math.pow(2,1-E),r*m>=2&&(u++,m/=2),u+E>=l?(g=0,u=l):u+E>=1?(g=(r*m-1)*Math.pow(2,a),u=u+E):(g=r*Math.pow(2,E-1)*Math.pow(2,a),u=0));a>=8;e[n+b]=g&255,b+=v,g/=256,a-=8);for(u=u<<a|g,d+=a;d>0;e[n+b]=u&255,b+=v,u/=256,d-=8);e[n+b-v]|=_*128};(function(e){const r=je,n=ut,s=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=_e,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a;const{Uint8Array:c,ArrayBuffer:u,SharedArrayBuffer:g}=globalThis;l.TYPED_ARRAY_SUPPORT=m(),!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 m(){try{const t=new c(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,c.prototype),Object.setPrototypeOf(t,o),t.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 d(t){if(t>a)throw new RangeError('The value "'+t+'" is invalid for option "size"');const o=new c(t);return Object.setPrototypeOf(o,l.prototype),o}function l(t,o,i){if(typeof t=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return v(t)}return E(t,o,i)}l.poolSize=8192;function E(t,o,i){if(typeof t=="string")return _(t,o);if(u.isView(t))return L(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(K(t,u)||t&&K(t.buffer,u)||typeof g<"u"&&(K(t,g)||t&&K(t.buffer,g)))return P(t,o,i);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const f=t.valueOf&&t.valueOf();if(f!=null&&f!==t)return l.from(f,o,i);const h=$(t);if(h)return h;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.from(t[Symbol.toPrimitive]("string"),o,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}l.from=function(t,o,i){return E(t,o,i)},Object.setPrototypeOf(l.prototype,c.prototype),Object.setPrototypeOf(l,c);function x(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function b(t,o,i){return x(t),t<=0?d(t):o!==void 0?typeof i=="string"?d(t).fill(o,i):d(t).fill(o):d(t)}l.alloc=function(t,o,i){return b(t,o,i)};function v(t){return x(t),d(t<0?0:M(t)|0)}l.allocUnsafe=function(t){return v(t)},l.allocUnsafeSlow=function(t){return v(t)};function _(t,o){if((typeof o!="string"||o==="")&&(o="utf8"),!l.isEncoding(o))throw new TypeError("Unknown encoding: "+o);const i=Ee(t,o)|0;let f=d(i);const h=f.write(t,o);return h!==i&&(f=f.slice(0,h)),f}function N(t){const o=t.length<0?0:M(t.length)|0,i=d(o);for(let f=0;f<o;f+=1)i[f]=t[f]&255;return i}function L(t){if(K(t,c)){const o=new c(t);return P(o.buffer,o.byteOffset,o.byteLength)}return N(t)}function P(t,o,i){if(o<0||t.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<o+(i||0))throw new RangeError('"length" is outside of buffer bounds');let f;return o===void 0&&i===void 0?f=new c(t):i===void 0?f=new c(t,o):f=new c(t,o,i),Object.setPrototypeOf(f,l.prototype),f}function $(t){if(l.isBuffer(t)){const o=M(t.length)|0,i=d(o);return i.length===0||t.copy(i,0,0,o),i}if(t.length!==void 0)return typeof t.length!="number"||et(t.length)?d(0):N(t);if(t.type==="Buffer"&&Array.isArray(t.data))return N(t.data)}function M(t){if(t>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return t|0}function _e(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==l.prototype},l.compare=function(t,o){if(K(t,c)&&(t=l.from(t,t.offset,t.byteLength)),K(o,c)&&(o=l.from(o,o.offset,o.byteLength)),!l.isBuffer(t)||!l.isBuffer(o))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===o)return 0;let i=t.length,f=o.length;for(let h=0,y=Math.min(i,f);h<y;++h)if(t[h]!==o[h]){i=t[h],f=o[h];break}return i<f?-1:f<i?1:0},l.isEncoding=function(t){switch(String(t).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(t,o){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return l.alloc(0);let i;if(o===void 0)for(o=0,i=0;i<t.length;++i)o+=t[i].length;const f=l.allocUnsafe(o);let h=0;for(i=0;i<t.length;++i){let y=t[i];if(K(y,c))h+y.length>f.length?(l.isBuffer(y)||(y=l.from(y)),y.copy(f,h)):c.prototype.set.call(f,y,h);else if(l.isBuffer(y))y.copy(f,h);else throw new TypeError('"list" argument must be an Array of Buffers');h+=y.length}return f};function Ee(t,o){if(l.isBuffer(t))return t.length;if(u.isView(t)||K(t,u))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const i=t.length,f=arguments.length>2&&arguments[2]===!0;if(!f&&i===0)return 0;let h=!1;for(;;)switch(o){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return Qe(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i*2;case"hex":return i>>>1;case"base64":return Bt(t).length;default:if(h)return f?-1:Qe(t).length;o=(""+o).toLowerCase(),h=!0}}l.byteLength=Ee;function Y(t,o,i){let f=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((i===void 0||i>this.length)&&(i=this.length),i<=0)||(i>>>=0,o>>>=0,i<=o))return"";for(t||(t="utf8");;)switch(t){case"hex":return ne(this,o,i);case"utf8":case"utf-8":return xe(this,o,i);case"ascii":return Ze(this,o,i);case"latin1":case"binary":return Z(this,o,i);case"base64":return D(this,o,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ce(this,o,i);default:if(f)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),f=!0}}l.prototype._isBuffer=!0;function J(t,o,i){const f=t[o];t[o]=t[i],t[i]=f}l.prototype.swap16=function(){const t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let o=0;o<t;o+=2)J(this,o,o+1);return this},l.prototype.swap32=function(){const t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let o=0;o<t;o+=4)J(this,o,o+3),J(this,o+1,o+2);return this},l.prototype.swap64=function(){const t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let o=0;o<t;o+=8)J(this,o,o+7),J(this,o+1,o+6),J(this,o+2,o+5),J(this,o+3,o+4);return this},l.prototype.toString=function(){const t=this.length;return t===0?"":arguments.length===0?xe(this,0,t):Y.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:l.compare(this,t)===0},l.prototype.inspect=function(){let t="";const o=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,o).replace(/(.{2})/g,"$1 ").trim(),this.length>o&&(t+=" ... "),"<Buffer "+t+">"},s&&(l.prototype[s]=l.prototype.inspect),l.prototype.compare=function(t,o,i,f,h){if(K(t,c)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(o===void 0&&(o=0),i===void 0&&(i=t?t.length:0),f===void 0&&(f=0),h===void 0&&(h=this.length),o<0||i>t.length||f<0||h>this.length)throw new RangeError("out of range index");if(f>=h&&o>=i)return 0;if(f>=h)return-1;if(o>=i)return 1;if(o>>>=0,i>>>=0,f>>>=0,h>>>=0,this===t)return 0;let y=h-f,w=i-o;const O=Math.min(y,w),I=this.slice(f,h),B=t.slice(o,i);for(let S=0;S<O;++S)if(I[S]!==B[S]){y=I[S],w=B[S];break}return y<w?-1:w<y?1:0};function ie(t,o,i,f,h){if(t.length===0)return-1;if(typeof i=="string"?(f=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,et(i)&&(i=h?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(h)return-1;i=t.length-1}else if(i<0)if(h)i=0;else return-1;if(typeof o=="string"&&(o=l.from(o,f)),l.isBuffer(o))return o.length===0?-1:Re(t,o,i,f,h);if(typeof o=="number")return o=o&255,typeof c.prototype.indexOf=="function"?h?c.prototype.indexOf.call(t,o,i):c.prototype.lastIndexOf.call(t,o,i):Re(t,[o],i,f,h);throw new TypeError("val must be string, number or Buffer")}function Re(t,o,i,f,h){let y=1,w=t.length,O=o.length;if(f!==void 0&&(f=String(f).toLowerCase(),f==="ucs2"||f==="ucs-2"||f==="utf16le"||f==="utf-16le")){if(t.length<2||o.length<2)return-1;y=2,w/=2,O/=2,i/=2}function I(S,k){return y===1?S[k]:S.readUInt16BE(k*y)}let B;if(h){let S=-1;for(B=i;B<w;B++)if(I(t,B)===I(o,S===-1?0:B-S)){if(S===-1&&(S=B),B-S+1===O)return S*y}else S!==-1&&(B-=B-S),S=-1}else for(i+O>w&&(i=w-O),B=i;B>=0;B--){let S=!0;for(let k=0;k<O;k++)if(I(t,B+k)!==I(o,k)){S=!1;break}if(S)return B}return-1}l.prototype.includes=function(t,o,i){return this.indexOf(t,o,i)!==-1},l.prototype.indexOf=function(t,o,i){return ie(this,t,o,i,!0)},l.prototype.lastIndexOf=function(t,o,i){return ie(this,t,o,i,!1)};function Pe(t,o,i,f){i=Number(i)||0;const h=t.length-i;f?(f=Number(f),f>h&&(f=h)):f=h;const y=o.length;f>y/2&&(f=y/2);let w;for(w=0;w<f;++w){const O=parseInt(o.substr(w*2,2),16);if(et(O))return w;t[i+w]=O}return w}function fe(t,o,i,f){return Ue(Qe(o,t.length-i),t,i,f)}function se(t,o,i,f){return Ue(jr(o),t,i,f)}function re(t,o,i,f){return Ue(Bt(o),t,i,f)}function ke(t,o,i,f){return Ue($r(o,t.length-i),t,i,f)}l.prototype.write=function(t,o,i,f){if(o===void 0)f="utf8",i=this.length,o=0;else if(i===void 0&&typeof o=="string")f=o,i=this.length,o=0;else if(isFinite(o))o=o>>>0,isFinite(i)?(i=i>>>0,f===void 0&&(f="utf8")):(f=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const h=this.length-o;if((i===void 0||i>h)&&(i=h),t.length>0&&(i<0||o<0)||o>this.length)throw new RangeError("Attempt to write outside buffer bounds");f||(f="utf8");let y=!1;for(;;)switch(f){case"hex":return Pe(this,t,o,i);case"utf8":case"utf-8":return fe(this,t,o,i);case"ascii":case"latin1":case"binary":return se(this,t,o,i);case"base64":return re(this,t,o,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ke(this,t,o,i);default:if(y)throw new TypeError("Unknown encoding: "+f);f=(""+f).toLowerCase(),y=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function D(t,o,i){return o===0&&i===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(o,i))}function xe(t,o,i){i=Math.min(t.length,i);const f=[];let h=o;for(;h<i;){const y=t[h];let w=null,O=y>239?4:y>223?3:y>191?2:1;if(h+O<=i){let I,B,S,k;switch(O){case 1:y<128&&(w=y);break;case 2:I=t[h+1],(I&192)===128&&(k=(y&31)<<6|I&63,k>127&&(w=k));break;case 3:I=t[h+1],B=t[h+2],(I&192)===128&&(B&192)===128&&(k=(y&15)<<12|(I&63)<<6|B&63,k>2047&&(k<55296||k>57343)&&(w=k));break;case 4:I=t[h+1],B=t[h+2],S=t[h+3],(I&192)===128&&(B&192)===128&&(S&192)===128&&(k=(y&15)<<18|(I&63)<<12|(B&63)<<6|S&63,k>65535&&k<1114112&&(w=k))}}w===null?(w=65533,O=1):w>65535&&(w-=65536,f.push(w>>>10&1023|55296),w=56320|w&1023),f.push(w),h+=O}return Le(f)}const G=4096;function Le(t){const o=t.length;if(o<=G)return String.fromCharCode.apply(String,t);let i="",f=0;for(;f<o;)i+=String.fromCharCode.apply(String,t.slice(f,f+=G));return i}function Ze(t,o,i){let f="";i=Math.min(t.length,i);for(let h=o;h<i;++h)f+=String.fromCharCode(t[h]&127);return f}function Z(t,o,i){let f="";i=Math.min(t.length,i);for(let h=o;h<i;++h)f+=String.fromCharCode(t[h]);return f}function ne(t,o,i){const f=t.length;(!o||o<0)&&(o=0),(!i||i<0||i>f)&&(i=f);let h="";for(let y=o;y<i;++y)h+=Mr[t[y]];return h}function Ce(t,o,i){const f=t.slice(o,i);let h="";for(let y=0;y<f.length-1;y+=2)h+=String.fromCharCode(f[y]+f[y+1]*256);return h}l.prototype.slice=function(t,o){const i=this.length;t=~~t,o=o===void 0?i:~~o,t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),o<0?(o+=i,o<0&&(o=0)):o>i&&(o=i),o<t&&(o=t);const f=this.subarray(t,o);return Object.setPrototypeOf(f,l.prototype),f};function A(t,o,i){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+o>i)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(t,o,i){t=t>>>0,o=o>>>0,i||A(t,o,this.length);let f=this[t],h=1,y=0;for(;++y<o&&(h*=256);)f+=this[t+y]*h;return f},l.prototype.readUintBE=l.prototype.readUIntBE=function(t,o,i){t=t>>>0,o=o>>>0,i||A(t,o,this.length);let f=this[t+--o],h=1;for(;o>0&&(h*=256);)f+=this[t+--o]*h;return f},l.prototype.readUint8=l.prototype.readUInt8=function(t,o){return t=t>>>0,o||A(t,1,this.length),this[t]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(t,o){return t=t>>>0,o||A(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(t,o){return t=t>>>0,o||A(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(t,o){return t=t>>>0,o||A(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(t,o){return t=t>>>0,o||A(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readBigUInt64LE=oe(function(t){t=t>>>0,pe(t,"offset");const o=this[t],i=this[t+7];(o===void 0||i===void 0)&&Se(t,this.length-8);const f=o+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24,h=this[++t]+this[++t]*2**8+this[++t]*2**16+i*2**24;return BigInt(f)+(BigInt(h)<<BigInt(32))}),l.prototype.readBigUInt64BE=oe(function(t){t=t>>>0,pe(t,"offset");const o=this[t],i=this[t+7];(o===void 0||i===void 0)&&Se(t,this.length-8);const f=o*2**24+this[++t]*2**16+this[++t]*2**8+this[++t],h=this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+i;return(BigInt(f)<<BigInt(32))+BigInt(h)}),l.prototype.readIntLE=function(t,o,i){t=t>>>0,o=o>>>0,i||A(t,o,this.length);let f=this[t],h=1,y=0;for(;++y<o&&(h*=256);)f+=this[t+y]*h;return h*=128,f>=h&&(f-=Math.pow(2,8*o)),f},l.prototype.readIntBE=function(t,o,i){t=t>>>0,o=o>>>0,i||A(t,o,this.length);let f=o,h=1,y=this[t+--f];for(;f>0&&(h*=256);)y+=this[t+--f]*h;return h*=128,y>=h&&(y-=Math.pow(2,8*o)),y},l.prototype.readInt8=function(t,o){return t=t>>>0,o||A(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]},l.prototype.readInt16LE=function(t,o){t=t>>>0,o||A(t,2,this.length);const i=this[t]|this[t+1]<<8;return i&32768?i|4294901760:i},l.prototype.readInt16BE=function(t,o){t=t>>>0,o||A(t,2,this.length);const i=this[t+1]|this[t]<<8;return i&32768?i|4294901760:i},l.prototype.readInt32LE=function(t,o){return t=t>>>0,o||A(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,o){return t=t>>>0,o||A(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readBigInt64LE=oe(function(t){t=t>>>0,pe(t,"offset");const o=this[t],i=this[t+7];(o===void 0||i===void 0)&&Se(t,this.length-8);const f=this[t+4]+this[t+5]*2**8+this[t+6]*2**16+(i<<24);return(BigInt(f)<<BigInt(32))+BigInt(o+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24)}),l.prototype.readBigInt64BE=oe(function(t){t=t>>>0,pe(t,"offset");const o=this[t],i=this[t+7];(o===void 0||i===void 0)&&Se(t,this.length-8);const f=(o<<24)+this[++t]*2**16+this[++t]*2**8+this[++t];return(BigInt(f)<<BigInt(32))+BigInt(this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+i)}),l.prototype.readFloatLE=function(t,o){return t=t>>>0,o||A(t,4,this.length),n.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,o){return t=t>>>0,o||A(t,4,this.length),n.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,o){return t=t>>>0,o||A(t,8,this.length),n.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,o){return t=t>>>0,o||A(t,8,this.length),n.read(this,t,!1,52,8)};function U(t,o,i,f,h,y){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>h||o<y)throw new RangeError('"value" argument is out of bounds');if(i+f>t.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(t,o,i,f){if(t=+t,o=o>>>0,i=i>>>0,!f){const w=Math.pow(2,8*i)-1;U(this,t,o,i,w,0)}let h=1,y=0;for(this[o]=t&255;++y<i&&(h*=256);)this[o+y]=t/h&255;return o+i},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(t,o,i,f){if(t=+t,o=o>>>0,i=i>>>0,!f){const w=Math.pow(2,8*i)-1;U(this,t,o,i,w,0)}let h=i-1,y=1;for(this[o+h]=t&255;--h>=0&&(y*=256);)this[o+h]=t/y&255;return o+i},l.prototype.writeUint8=l.prototype.writeUInt8=function(t,o,i){return t=+t,o=o>>>0,i||U(this,t,o,1,255,0),this[o]=t&255,o+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(t,o,i){return t=+t,o=o>>>0,i||U(this,t,o,2,65535,0),this[o]=t&255,this[o+1]=t>>>8,o+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(t,o,i){return t=+t,o=o>>>0,i||U(this,t,o,2,65535,0),this[o]=t>>>8,this[o+1]=t&255,o+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(t,o,i){return t=+t,o=o>>>0,i||U(this,t,o,4,4294967295,0),this[o+3]=t>>>24,this[o+2]=t>>>16,this[o+1]=t>>>8,this[o]=t&255,o+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(t,o,i){return t=+t,o=o>>>0,i||U(this,t,o,4,4294967295,0),this[o]=t>>>24,this[o+1]=t>>>16,this[o+2]=t>>>8,this[o+3]=t&255,o+4};function _t(t,o,i,f,h){Ot(o,f,h,t,i,7);let y=Number(o&BigInt(4294967295));t[i++]=y,y=y>>8,t[i++]=y,y=y>>8,t[i++]=y,y=y>>8,t[i++]=y;let w=Number(o>>BigInt(32)&BigInt(4294967295));return t[i++]=w,w=w>>8,t[i++]=w,w=w>>8,t[i++]=w,w=w>>8,t[i++]=w,i}function Et(t,o,i,f,h){Ot(o,f,h,t,i,7);let y=Number(o&BigInt(4294967295));t[i+7]=y,y=y>>8,t[i+6]=y,y=y>>8,t[i+5]=y,y=y>>8,t[i+4]=y;let w=Number(o>>BigInt(32)&BigInt(4294967295));return t[i+3]=w,w=w>>8,t[i+2]=w,w=w>>8,t[i+1]=w,w=w>>8,t[i]=w,i+8}l.prototype.writeBigUInt64LE=oe(function(t,o=0){return _t(this,t,o,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=oe(function(t,o=0){return Et(this,t,o,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(t,o,i,f){if(t=+t,o=o>>>0,!f){const O=Math.pow(2,8*i-1);U(this,t,o,i,O-1,-O)}let h=0,y=1,w=0;for(this[o]=t&255;++h<i&&(y*=256);)t<0&&w===0&&this[o+h-1]!==0&&(w=1),this[o+h]=(t/y>>0)-w&255;return o+i},l.prototype.writeIntBE=function(t,o,i,f){if(t=+t,o=o>>>0,!f){const O=Math.pow(2,8*i-1);U(this,t,o,i,O-1,-O)}let h=i-1,y=1,w=0;for(this[o+h]=t&255;--h>=0&&(y*=256);)t<0&&w===0&&this[o+h+1]!==0&&(w=1),this[o+h]=(t/y>>0)-w&255;return o+i},l.prototype.writeInt8=function(t,o,i){return t=+t,o=o>>>0,i||U(this,t,o,1,127,-128),t<0&&(t=255+t+1),this[o]=t&255,o+1},l.prototype.writeInt16LE=function(t,o,i){return t=+t,o=o>>>0,i||U(this,t,o,2,32767,-32768),this[o]=t&255,this[o+1]=t>>>8,o+2},l.prototype.writeInt16BE=function(t,o,i){return t=+t,o=o>>>0,i||U(this,t,o,2,32767,-32768),this[o]=t>>>8,this[o+1]=t&255,o+2},l.prototype.writeInt32LE=function(t,o,i){return t=+t,o=o>>>0,i||U(this,t,o,4,2147483647,-2147483648),this[o]=t&255,this[o+1]=t>>>8,this[o+2]=t>>>16,this[o+3]=t>>>24,o+4},l.prototype.writeInt32BE=function(t,o,i){return t=+t,o=o>>>0,i||U(this,t,o,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[o]=t>>>24,this[o+1]=t>>>16,this[o+2]=t>>>8,this[o+3]=t&255,o+4},l.prototype.writeBigInt64LE=oe(function(t,o=0){return _t(this,t,o,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=oe(function(t,o=0){return Et(this,t,o,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Rt(t,o,i,f,h,y){if(i+f>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function xt(t,o,i,f,h){return o=+o,i=i>>>0,h||Rt(t,o,i,4),n.write(t,o,i,f,23,4),i+4}l.prototype.writeFloatLE=function(t,o,i){return xt(this,t,o,!0,i)},l.prototype.writeFloatBE=function(t,o,i){return xt(this,t,o,!1,i)};function Ct(t,o,i,f,h){return o=+o,i=i>>>0,h||Rt(t,o,i,8),n.write(t,o,i,f,52,8),i+8}l.prototype.writeDoubleLE=function(t,o,i){return Ct(this,t,o,!0,i)},l.prototype.writeDoubleBE=function(t,o,i){return Ct(this,t,o,!1,i)},l.prototype.copy=function(t,o,i,f){if(!l.isBuffer(t))throw new TypeError("argument should be a Buffer");if(i||(i=0),!f&&f!==0&&(f=this.length),o>=t.length&&(o=t.length),o||(o=0),f>0&&f<i&&(f=i),f===i||t.length===0||this.length===0)return 0;if(o<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=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),t.length-o<f-i&&(f=t.length-o+i);const h=f-i;return this===t&&typeof c.prototype.copyWithin=="function"?this.copyWithin(o,i,f):c.prototype.set.call(t,this.subarray(i,f),o),h},l.prototype.fill=function(t,o,i,f){if(typeof t=="string"){if(typeof o=="string"?(f=o,o=0,i=this.length):typeof i=="string"&&(f=i,i=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(t.length===1){const y=t.charCodeAt(0);(f==="utf8"&&y<128||f==="latin1")&&(t=y)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(o<0||this.length<o||this.length<i)throw new RangeError("Out of range index");if(i<=o)return this;o=o>>>0,i=i===void 0?this.length:i>>>0,t||(t=0);let h;if(typeof t=="number")for(h=o;h<i;++h)this[h]=t;else{const y=l.isBuffer(t)?t:l.from(t,f),w=y.length;if(w===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(h=0;h<i-o;++h)this[h+o]=y[h%w]}return this};const he={};function Ke(t,o,i){he[t]=class extends i{constructor(){super(),Object.defineProperty(this,"message",{value:o.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(f){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:f,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}Ke("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Ke("ERR_INVALID_ARG_TYPE",function(t,o){return`The "${t}" argument must be of type number. Received type ${typeof o}`},TypeError),Ke("ERR_OUT_OF_RANGE",function(t,o,i){let f=`The value of "${t}" is out of range.`,h=i;return Number.isInteger(i)&&Math.abs(i)>2**32?h=St(String(i)):typeof i=="bigint"&&(h=String(i),(i>BigInt(2)**BigInt(32)||i<-(BigInt(2)**BigInt(32)))&&(h=St(h)),h+="n"),f+=` It must be ${o}. Received ${h}`,f},RangeError);function St(t){let o="",i=t.length;const f=t[0]==="-"?1:0;for(;i>=f+4;i-=3)o=`_${t.slice(i-3,i)}${o}`;return`${t.slice(0,i)}${o}`}function Ir(t,o,i){pe(o,"offset"),(t[o]===void 0||t[o+i]===void 0)&&Se(o,t.length-(i+1))}function Ot(t,o,i,f,h,y){if(t>i||t<o){const w=typeof o=="bigint"?"n":"";let O;throw o===0||o===BigInt(0)?O=`>= 0${w} and < 2${w} ** ${(y+1)*8}${w}`:O=`>= -(2${w} ** ${(y+1)*8-1}${w}) and < 2 ** ${(y+1)*8-1}${w}`,new he.ERR_OUT_OF_RANGE("value",O,t)}Ir(f,h,y)}function pe(t,o){if(typeof t!="number")throw new he.ERR_INVALID_ARG_TYPE(o,"number",t)}function Se(t,o,i){throw Math.floor(t)!==t?(pe(t,i),new he.ERR_OUT_OF_RANGE("offset","an integer",t)):o<0?new he.ERR_BUFFER_OUT_OF_BOUNDS:new he.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${o}`,t)}const zr=/[^+/0-9A-Za-z-_]/g;function Fr(t){if(t=t.split("=")[0],t=t.trim().replace(zr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Qe(t,o){o=o||1/0;let i;const f=t.length;let h=null;const y=[];for(let w=0;w<f;++w){if(i=t.charCodeAt(w),i>55295&&i<57344){if(!h){if(i>56319){(o-=3)>-1&&y.push(239,191,189);continue}else if(w+1===f){(o-=3)>-1&&y.push(239,191,189);continue}h=i;continue}if(i<56320){(o-=3)>-1&&y.push(239,191,189),h=i;continue}i=(h-55296<<10|i-56320)+65536}else h&&(o-=3)>-1&&y.push(239,191,189);if(h=null,i<128){if((o-=1)<0)break;y.push(i)}else if(i<2048){if((o-=2)<0)break;y.push(i>>6|192,i&63|128)}else if(i<65536){if((o-=3)<0)break;y.push(i>>12|224,i>>6&63|128,i&63|128)}else if(i<1114112){if((o-=4)<0)break;y.push(i>>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else throw new Error("Invalid code point")}return y}function jr(t){const o=[];for(let i=0;i<t.length;++i)o.push(t.charCodeAt(i)&255);return o}function $r(t,o){let i,f,h;const y=[];for(let w=0;w<t.length&&!((o-=2)<0);++w)i=t.charCodeAt(w),f=i>>8,h=i%256,y.push(h),y.push(f);return y}function Bt(t){return r.toByteArray(Fr(t))}function Ue(t,o,i,f){let h;for(h=0;h<f&&!(h+i>=o.length||h>=t.length);++h)o[h+i]=t[h];return h}function K(t,o){return t instanceof o||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===o.name}function et(t){return t!==t}const Mr=function(){const t="0123456789abcdef",o=new Array(256);for(let i=0;i<16;++i){const f=i*16;for(let h=0;h<16;++h)o[f+h]=t[i]+t[h]}return o}();function oe(t){return typeof BigInt>"u"?Dr:t}function Dr(){throw new Error("BigInt not supported")}})(vr);const Qn=vr.Buffer;function R(e,r,n,s,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",r&&(this.code=r),n&&(this.config=n),s&&(this.request=s),a&&(this.response=a,this.status=a.status?a.status:null)}p.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:p.toJSONObject(this.config),code:this.code,status:this.status}}});const Nt=R.prototype,Pt={};["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=>{Pt[e]={value:e}}),Object.defineProperties(R,Pt),Object.defineProperty(Nt,"isAxiosError",{value:!0}),R.from=(e,r,n,s,a,c)=>{const u=Object.create(Nt);p.toFlatObject(e,u,function(d){return d!==Error.prototype},d=>d!=="isAxiosError");const g=e&&e.message?e.message:"Error",m=r==null&&e?e.code:r;return R.call(u,g,m,n,s,a),e&&u.cause==null&&Object.defineProperty(u,"cause",{value:e,configurable:!0}),u.name=e&&e.name||"Error",c&&Object.assign(u,c),u};const eo=null;function lt(e){return p.isPlainObject(e)||p.isArray(e)}function Er(e){return p.endsWith(e,"[]")?e.slice(0,-2):e}function kt(e,r,n){return e?e.concat(r).map(function(s,a){return s=Er(s),!n&&a?"["+s+"]":s}).join(n?".":""):r}function to(e){return p.isArray(e)&&!e.some(lt)}const ro=p.toFlatObject(p,{},null,function(e){return/^is[A-Z]/.test(e)});function Xe(e,r,n){if(!p.isObject(e))throw new TypeError("target must be an object");r=r||new FormData,n=p.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,v){return!p.isUndefined(v[b])});const s=n.metaTokens,a=n.visitor||d,c=n.dots,u=n.indexes,g=(n.Blob||typeof Blob<"u"&&Blob)&&p.isSpecCompliantForm(r);if(!p.isFunction(a))throw new TypeError("visitor must be a function");function m(b){if(b===null)return"";if(p.isDate(b))return b.toISOString();if(p.isBoolean(b))return b.toString();if(!g&&p.isBlob(b))throw new R("Blob is not supported. Use a Buffer instead.");return p.isArrayBuffer(b)||p.isTypedArray(b)?g&&typeof Blob=="function"?new Blob([b]):Qn.from(b):b}function d(b,v,_){let N=b;if(b&&!_&&typeof b=="object"){if(p.endsWith(v,"{}"))v=s?v:v.slice(0,-2),b=JSON.stringify(b);else if(p.isArray(b)&&to(b)||(p.isFileList(b)||p.endsWith(v,"[]"))&&(N=p.toArray(b)))return v=Er(v),N.forEach(function(L,P){!(p.isUndefined(L)||L===null)&&r.append(u===!0?kt([v],P,c):u===null?v:v+"[]",m(L))}),!1}return lt(b)?!0:(r.append(kt(_,v,c),m(b)),!1)}const l=[],E=Object.assign(ro,{defaultVisitor:d,convertValue:m,isVisitable:lt});function x(b,v){if(!p.isUndefined(b)){if(l.indexOf(b)!==-1)throw Error("Circular reference detected in "+v.join("."));l.push(b),p.forEach(b,function(_,N){(!(p.isUndefined(_)||_===null)&&a.call(r,_,p.isString(N)?N.trim():N,v,E))===!0&&x(_,v?v.concat(N):[N])}),l.pop()}}if(!p.isObject(e))throw new TypeError("data must be an object");return x(e),r}function Lt(e){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return r[n]})}function wt(e,r){this._pairs=[],e&&Xe(e,this,r)}const Ut=wt.prototype;Ut.append=function(e,r){this._pairs.push([e,r])},Ut.toString=function(e){const r=e?function(n){return e.call(this,n,Lt)}:Lt;return this._pairs.map(function(n){return r(n[0])+"="+r(n[1])},"").join("&")};function no(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Rr(e,r,n){if(!r)return e;const s=n&&n.encode||no;p.isFunction(n)&&(n={serialize:n});const a=n&&n.serialize;let c;if(a?c=a(r,n):c=p.isURLSearchParams(r)?r.toString():new wt(r,n).toString(s),c){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+c}return e}class It{constructor(){this.handlers=[]}use(r,n,s){return this.handlers.push({fulfilled:r,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){p.forEach(this.handlers,function(n){n!==null&&r(n)})}}const xr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},oo=typeof URLSearchParams<"u"?URLSearchParams:wt,io=typeof FormData<"u"?FormData:null,so=typeof Blob<"u"?Blob:null,ao={isBrowser:!0,classes:{URLSearchParams:oo,FormData:io,Blob:so},protocols:["http","https","file","blob","url","data"]},bt=typeof window<"u"&&typeof document<"u",ct=typeof navigator=="object"&&navigator||void 0,uo=bt&&(!ct||["ReactNative","NativeScript","NS"].indexOf(ct.product)<0),lo=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",co=bt&&window.location.href||"http://localhost",fo=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:bt,hasStandardBrowserEnv:uo,hasStandardBrowserWebWorkerEnv:lo,navigator:ct,origin:co},Symbol.toStringTag,{value:"Module"})),z={...fo,...ao};function ho(e,r){return Xe(e,new z.classes.URLSearchParams,{visitor:function(n,s,a,c){return z.isNode&&p.isBuffer(n)?(this.append(s,n.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...r})}function po(e){return p.matchAll(/\w+|\[(\w*)]/g,e).map(r=>r[0]==="[]"?"":r[1]||r[0])}function yo(e){const r={},n=Object.keys(e);let s;const a=n.length;let c;for(s=0;s<a;s++)c=n[s],r[c]=e[c];return r}function Cr(e){function r(n,s,a,c){let u=n[c++];if(u==="__proto__")return!0;const g=Number.isFinite(+u),m=c>=n.length;return u=!u&&p.isArray(a)?a.length:u,m?(p.hasOwnProp(a,u)?a[u]=[a[u],s]:a[u]=s,!g):((!a[u]||!p.isObject(a[u]))&&(a[u]=[]),r(n,s,a[u],c)&&p.isArray(a[u])&&(a[u]=yo(a[u])),!g)}if(p.isFormData(e)&&p.isFunction(e.entries)){const n={};return p.forEachEntry(e,(s,a)=>{r(po(s),a,n,0)}),n}return null}function go(e,r,n){if(p.isString(e))try{return(r||JSON.parse)(e),p.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Ne={transitional:xr,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",s=n.indexOf("application/json")>-1,a=p.isObject(e);if(a&&p.isHTMLForm(e)&&(e=new FormData(e)),p.isFormData(e))return s?JSON.stringify(Cr(e)):e;if(p.isArrayBuffer(e)||p.isBuffer(e)||p.isStream(e)||p.isFile(e)||p.isBlob(e)||p.isReadableStream(e))return e;if(p.isArrayBufferView(e))return e.buffer;if(p.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return ho(e,this.formSerializer).toString();if((c=p.isFileList(e))||n.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Xe(c?{"files[]":e}:e,u&&new u,this.formSerializer)}}return a||s?(r.setContentType("application/json",!1),go(e)):e}],transformResponse:[function(e){const r=this.transitional||Ne.transitional,n=r&&r.forcedJSONParsing,s=this.responseType==="json";if(p.isResponse(e)||p.isReadableStream(e))return e;if(e&&p.isString(e)&&(n&&!this.responseType||s)){const a=!(r&&r.silentJSONParsing)&&s;try{return JSON.parse(e,this.parseReviver)}catch(c){if(a)throw c.name==="SyntaxError"?R.from(c,R.ERR_BAD_RESPONSE,this,null,this.response):c}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:z.classes.FormData,Blob:z.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};p.forEach(["delete","get","head","post","put","patch"],e=>{Ne.headers[e]={}});const mo=p.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"]),wo=e=>{const r={};let n,s,a;return e&&e.split(`
`).forEach(function(c){a=c.indexOf(":"),n=c.substring(0,a).trim().toLowerCase(),s=c.substring(a+1).trim(),!(!n||r[n]&&mo[n])&&(n==="set-cookie"?r[n]?r[n].push(s):r[n]=[s]:r[n]=r[n]?r[n]+", "+s:s)}),r},zt=Symbol("internals");function Oe(e){return e&&String(e).trim().toLowerCase()}function $e(e){return e===!1||e==null?e:p.isArray(e)?e.map($e):String(e)}function bo(e){const r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)r[s[1]]=s[2];return r}const vo=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function rt(e,r,n,s,a){if(p.isFunction(s))return s.call(this,r,n);if(a&&(r=n),!!p.isString(r)){if(p.isString(s))return r.indexOf(s)!==-1;if(p.isRegExp(s))return s.test(r)}}function _o(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,n,s)=>n.toUpperCase()+s)}function Eo(e,r){const n=p.toCamelCase(" "+r);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(a,c,u){return this[s].call(this,r,a,c,u)},configurable:!0})})}let j=class{constructor(e){e&&this.set(e)}set(e,r,n){const s=this;function a(u,g,m){const d=Oe(g);if(!d)throw new Error("header name must be a non-empty string");const l=p.findKey(s,d);(!l||s[l]===void 0||m===!0||m===void 0&&s[l]!==!1)&&(s[l||g]=$e(u))}const c=(u,g)=>p.forEach(u,(m,d)=>a(m,d,g));if(p.isPlainObject(e)||e instanceof this.constructor)c(e,r);else if(p.isString(e)&&(e=e.trim())&&!vo(e))c(wo(e),r);else if(p.isObject(e)&&p.isIterable(e)){let u={},g,m;for(const d of e){if(!p.isArray(d))throw TypeError("Object iterator must return a key-value pair");u[m=d[0]]=(g=u[m])?p.isArray(g)?[...g,d[1]]:[g,d[1]]:d[1]}c(u,r)}else e!=null&&a(r,e,n);return this}get(e,r){if(e=Oe(e),e){const n=p.findKey(this,e);if(n){const s=this[n];if(!r)return s;if(r===!0)return bo(s);if(p.isFunction(r))return r.call(this,s,n);if(p.isRegExp(r))return r.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=Oe(e),e){const n=p.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||rt(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let s=!1;function a(c){if(c=Oe(c),c){const u=p.findKey(n,c);u&&(!r||rt(n,n[u],u,r))&&(delete n[u],s=!0)}}return p.isArray(e)?e.forEach(a):a(e),s}clear(e){const r=Object.keys(this);let n=r.length,s=!1;for(;n--;){const a=r[n];(!e||rt(this,this[a],a,e,!0))&&(delete this[a],s=!0)}return s}normalize(e){const r=this,n={};return p.forEach(this,(s,a)=>{const c=p.findKey(n,a);if(c){r[c]=$e(s),delete r[a];return}const u=e?_o(a):String(a).trim();u!==a&&delete r[a],r[u]=$e(s),n[u]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return p.forEach(this,(n,s)=>{n!=null&&n!==!1&&(r[s]=e&&p.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(s=>n.set(s)),n}static accessor(e){const r=(this[zt]=this[zt]={accessors:{}}).accessors,n=this.prototype;function s(a){const c=Oe(a);r[c]||(Eo(n,a),r[c]=!0)}return p.isArray(e)?e.forEach(s):s(e),this}};j.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),p.reduceDescriptors(j.prototype,({value:e},r)=>{let n=r[0].toUpperCase()+r.slice(1);return{get:()=>e,set(s){this[n]=s}}}),p.freezeMethods(j);function nt(e,r){const n=this||Ne,s=r||n,a=j.from(s.headers);let c=s.data;return p.forEach(e,function(u){c=u.call(n,c,a.normalize(),r?r.status:void 0)}),a.normalize(),c}function Sr(e){return!!(e&&e.__CANCEL__)}function be(e,r,n){R.call(this,e??"canceled",R.ERR_CANCELED,r,n),this.name="CanceledError"}p.inherits(be,R,{__CANCEL__:!0});function Or(e,r,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):r(new R("Request failed with status code "+n.status,[R.ERR_BAD_REQUEST,R.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Ro(e){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return r&&r[1]||""}function xo(e,r){e=e||10;const n=new Array(e),s=new Array(e);let a=0,c=0,u;return r=r!==void 0?r:1e3,function(g){const m=Date.now(),d=s[c];u||(u=m),n[a]=g,s[a]=m;let l=c,E=0;for(;l!==a;)E+=n[l++],l=l%e;if(a=(a+1)%e,a===c&&(c=(c+1)%e),m-u<r)return;const x=d&&m-d;return x?Math.round(E*1e3/x):void 0}}function Co(e,r){let n=0,s=1e3/r,a,c;const u=(g,m=Date.now())=>{n=m,a=null,c&&(clearTimeout(c),c=null),e(...g)};return[(...g)=>{const m=Date.now(),d=m-n;d>=s?u(g,m):(a=g,c||(c=setTimeout(()=>{c=null,u(a)},s-d)))},()=>a&&u(a)]}const He=(e,r,n=3)=>{let s=0;const a=xo(50,250);return Co(c=>{const u=c.loaded,g=c.lengthComputable?c.total:void 0,m=u-s,d=a(m),l=u<=g;s=u;const E={loaded:u,total:g,progress:g?u/g:void 0,bytes:m,rate:d||void 0,estimated:d&&g&&l?(g-u)/d:void 0,event:c,lengthComputable:g!=null,[r?"download":"upload"]:!0};e(E)},n)},Ft=(e,r)=>{const n=e!=null;return[s=>r[0]({lengthComputable:n,total:e,loaded:s}),r[1]]},jt=e=>(...r)=>p.asap(()=>e(...r)),So=z.hasStandardBrowserEnv?((e,r)=>n=>(n=new URL(n,z.origin),e.protocol===n.protocol&&e.host===n.host&&(r||e.port===n.port)))(new URL(z.origin),z.navigator&&/(msie|trident)/i.test(z.navigator.userAgent)):()=>!0,Oo=z.hasStandardBrowserEnv?{write(e,r,n,s,a,c){const u=[e+"="+encodeURIComponent(r)];p.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),p.isString(s)&&u.push("path="+s),p.isString(a)&&u.push("domain="+a),c===!0&&u.push("secure"),document.cookie=u.join("; ")},read(e){const r=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Bo(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ao(e,r){return r?e.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):e}function Br(e,r,n){let s=!Bo(r);return e&&(s||n==!1)?Ao(e,r):r}const $t=e=>e instanceof j?{...e}:e;function ce(e,r){r=r||{};const n={};function s(d,l,E,x){return p.isPlainObject(d)&&p.isPlainObject(l)?p.merge.call({caseless:x},d,l):p.isPlainObject(l)?p.merge({},l):p.isArray(l)?l.slice():l}function a(d,l,E,x){if(p.isUndefined(l)){if(!p.isUndefined(d))return s(void 0,d,E,x)}else return s(d,l,E,x)}function c(d,l){if(!p.isUndefined(l))return s(void 0,l)}function u(d,l){if(p.isUndefined(l)){if(!p.isUndefined(d))return s(void 0,d)}else return s(void 0,l)}function g(d,l,E){if(E in r)return s(d,l);if(E in e)return s(void 0,d)}const m={url:c,method:c,data:c,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:g,headers:(d,l,E)=>a($t(d),$t(l),E,!0)};return p.forEach(Object.keys({...e,...r}),function(d){const l=m[d]||a,E=l(e[d],r[d],d);p.isUndefined(E)&&l!==g||(n[d]=E)}),n}const Ar=e=>{const r=ce({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:a,xsrfCookieName:c,headers:u,auth:g}=r;if(r.headers=u=j.from(u),r.url=Rr(Br(r.baseURL,r.url,r.allowAbsoluteUrls),e.params,e.paramsSerializer),g&&u.set("Authorization","Basic "+btoa((g.username||"")+":"+(g.password?unescape(encodeURIComponent(g.password)):""))),p.isFormData(n)){if(z.hasStandardBrowserEnv||z.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if(p.isFunction(n.getHeaders)){const m=n.getHeaders(),d=["content-type","content-length"];Object.entries(m).forEach(([l,E])=>{d.includes(l.toLowerCase())&&u.set(l,E)})}}if(z.hasStandardBrowserEnv&&(s&&p.isFunction(s)&&(s=s(r)),s||s!==!1&&So(r.url))){const m=a&&c&&Oo.read(c);m&&u.set(a,m)}return r},To=typeof XMLHttpRequest<"u",No=To&&function(e){return new Promise(function(r,n){const s=Ar(e);let a=s.data;const c=j.from(s.headers).normalize();let{responseType:u,onUploadProgress:g,onDownloadProgress:m}=s,d,l,E,x,b;function v(){x&&x(),b&&b(),s.cancelToken&&s.cancelToken.unsubscribe(d),s.signal&&s.signal.removeEventListener("abort",d)}let _=new XMLHttpRequest;_.open(s.method.toUpperCase(),s.url,!0),_.timeout=s.timeout;function N(){if(!_)return;const P=j.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),$={data:!u||u==="text"||u==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:P,config:e,request:_};Or(function(M){r(M),v()},function(M){n(M),v()},$),_=null}"onloadend"in _?_.onloadend=N:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(N)},_.onabort=function(){_&&(n(new R("Request aborted",R.ECONNABORTED,e,_)),_=null)},_.onerror=function(P){const $=P&&P.message?P.message:"Network Error",M=new R($,R.ERR_NETWORK,e,_);M.event=P||null,n(M),_=null},_.ontimeout=function(){let P=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const $=s.transitional||xr;s.timeoutErrorMessage&&(P=s.timeoutErrorMessage),n(new R(P,$.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,e,_)),_=null},a===void 0&&c.setContentType(null),"setRequestHeader"in _&&p.forEach(c.toJSON(),function(P,$){_.setRequestHeader($,P)}),p.isUndefined(s.withCredentials)||(_.withCredentials=!!s.withCredentials),u&&u!=="json"&&(_.responseType=s.responseType),m&&([E,b]=He(m,!0),_.addEventListener("progress",E)),g&&_.upload&&([l,x]=He(g),_.upload.addEventListener("progress",l),_.upload.addEventListener("loadend",x)),(s.cancelToken||s.signal)&&(d=P=>{_&&(n(!P||P.type?new be(null,e,_):P),_.abort(),_=null)},s.cancelToken&&s.cancelToken.subscribe(d),s.signal&&(s.signal.aborted?d():s.signal.addEventListener("abort",d)));const L=Ro(s.url);if(L&&z.protocols.indexOf(L)===-1){n(new R("Unsupported protocol "+L+":",R.ERR_BAD_REQUEST,e));return}_.send(a||null)})},Po=(e,r)=>{const{length:n}=e=e?e.filter(Boolean):[];if(r||n){let s=new AbortController,a;const c=function(d){if(!a){a=!0,g();const l=d instanceof Error?d:this.reason;s.abort(l instanceof R?l:new be(l instanceof Error?l.message:l))}};let u=r&&setTimeout(()=>{u=null,c(new R(`timeout ${r} of ms exceeded`,R.ETIMEDOUT))},r);const g=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(c):d.removeEventListener("abort",c)}),e=null)};e.forEach(d=>d.addEventListener("abort",c));const{signal:m}=s;return m.unsubscribe=()=>p.asap(g),m}},ko=function*(e,r){let n=e.byteLength;if(n<r){yield e;return}let s=0,a;for(;s<n;)a=s+r,yield e.slice(s,a),s=a},Lo=async function*(e,r){for await(const n of Uo(e))yield*ko(n,r)},Uo=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const r=e.getReader();try{for(;;){const{done:n,value:s}=await r.read();if(n)break;yield s}}finally{await r.cancel()}},Mt=(e,r,n,s)=>{const a=Lo(e,r);let c=0,u,g=m=>{u||(u=!0,s&&s(m))};return new ReadableStream({async pull(m){try{const{done:d,value:l}=await a.next();if(d){g(),m.close();return}let E=l.byteLength;if(n){let x=c+=E;n(x)}m.enqueue(new Uint8Array(l))}catch(d){throw g(d),d}},cancel(m){return g(m),a.return()}},{highWaterMark:2})},Dt=64*1024,{isFunction:Ie}=p,Io=(({Request:e,Response:r})=>({Request:e,Response:r}))(p.global),{ReadableStream:qt,TextEncoder:Ht}=p.global,Wt=(e,...r)=>{try{return!!e(...r)}catch{return!1}},zo=e=>{e=p.merge.call({skipUndefined:!0},Io,e);const{fetch:r,Request:n,Response:s}=e,a=r?Ie(r):typeof fetch=="function",c=Ie(n),u=Ie(s);if(!a)return!1;const g=a&&Ie(qt),m=a&&(typeof Ht=="function"?(v=>_=>v.encode(_))(new Ht):async v=>new Uint8Array(await new n(v).arrayBuffer())),d=c&&g&&Wt(()=>{let v=!1;const _=new n(z.origin,{body:new qt,method:"POST",get duplex(){return v=!0,"half"}}).headers.has("Content-Type");return v&&!_}),l=u&&g&&Wt(()=>p.isReadableStream(new s("").body)),E={stream:l&&(v=>v.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(v=>{!E[v]&&(E[v]=(_,N)=>{let L=_&&_[v];if(L)return L.call(_);throw new R(`Response type '${v}' is not supported`,R.ERR_NOT_SUPPORT,N)})});const x=async v=>{if(v==null)return 0;if(p.isBlob(v))return v.size;if(p.isSpecCompliantForm(v))return(await new n(z.origin,{method:"POST",body:v}).arrayBuffer()).byteLength;if(p.isArrayBufferView(v)||p.isArrayBuffer(v))return v.byteLength;if(p.isURLSearchParams(v)&&(v=v+""),p.isString(v))return(await m(v)).byteLength},b=async(v,_)=>p.toFiniteNumber(v.getContentLength())??x(_);return async v=>{let{url:_,method:N,data:L,signal:P,cancelToken:$,timeout:M,onDownloadProgress:_e,onUploadProgress:Ee,responseType:Y,headers:J,withCredentials:ie="same-origin",fetchOptions:Re}=Ar(v),Pe=r||fetch;Y=Y?(Y+"").toLowerCase():"text";let fe=Po([P,$&&$.toAbortSignal()],M),se=null;const re=fe&&fe.unsubscribe&&(()=>{fe.unsubscribe()});let ke;try{if(Ee&&d&&N!=="get"&&N!=="head"&&(ke=await b(J,L))!==0){let Z=new n(_,{method:"POST",body:L,duplex:"half"}),ne;if(p.isFormData(L)&&(ne=Z.headers.get("content-type"))&&J.setContentType(ne),Z.body){const[Ce,A]=Ft(ke,He(jt(Ee)));L=Mt(Z.body,Dt,Ce,A)}}p.isString(ie)||(ie=ie?"include":"omit");const D=c&&"credentials"in n.prototype,xe={...Re,signal:fe,method:N.toUpperCase(),headers:J.normalize().toJSON(),body:L,duplex:"half",credentials:D?ie:void 0};se=c&&new n(_,xe);let G=await(c?Pe(se,Re):Pe(_,xe));const Le=l&&(Y==="stream"||Y==="response");if(l&&(_e||Le&&re)){const Z={};["status","statusText","headers"].forEach(U=>{Z[U]=G[U]});const ne=p.toFiniteNumber(G.headers.get("content-length")),[Ce,A]=_e&&Ft(ne,He(jt(_e),!0))||[];G=new s(Mt(G.body,Dt,Ce,()=>{A&&A(),re&&re()}),Z)}Y=Y||"text";let Ze=await E[p.findKey(E,Y)||"text"](G,v);return!Le&&re&&re(),await new Promise((Z,ne)=>{Or(Z,ne,{data:Ze,headers:j.from(G.headers),status:G.status,statusText:G.statusText,config:v,request:se})})}catch(D){throw re&&re(),D&&D.name==="TypeError"&&/Load failed|fetch/i.test(D.message)?Object.assign(new R("Network Error",R.ERR_NETWORK,v,se),{cause:D.cause||D}):R.from(D,D&&D.code,v,se)}}},Fo=new Map,Tr=e=>{let r=e?e.env:{};const{fetch:n,Request:s,Response:a}=r,c=[s,a,n];let u=c.length,g=u,m,d,l=Fo;for(;g--;)m=c[g],d=l.get(m),d===void 0&&l.set(m,d=g?new Map:zo(r)),l=d;return d};Tr();const ft={http:eo,xhr:No,fetch:{get:Tr}};p.forEach(ft,(e,r)=>{if(e){try{Object.defineProperty(e,"name",{value:r})}catch{}Object.defineProperty(e,"adapterName",{value:r})}});const Vt=e=>`- ${e}`,jo=e=>p.isFunction(e)||e===null||e===!1,Nr={getAdapter:(e,r)=>{e=p.isArray(e)?e:[e];const{length:n}=e;let s,a;const c={};for(let u=0;u<n;u++){s=e[u];let g;if(a=s,!jo(s)&&(a=ft[(g=String(s)).toLowerCase()],a===void 0))throw new R(`Unknown adapter '${g}'`);if(a&&(p.isFunction(a)||(a=a.get(r))))break;c[g||"#"+u]=a}if(!a){const u=Object.entries(c).map(([m,d])=>`adapter ${m} `+(d===!1?"is not supported by the environment":"is not available in the build"));let g=n?u.length>1?`since :
`+u.map(Vt).join(`
`):" "+Vt(u[0]):"as no adapter specified";throw new R("There is no suitable adapter to dispatch the request "+g,"ERR_NOT_SUPPORT")}return a},adapters:ft};function ot(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new be(null,e)}function Jt(e){return ot(e),e.headers=j.from(e.headers),e.data=nt.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Nr.getAdapter(e.adapter||Ne.adapter,e)(e).then(function(r){return ot(e),r.data=nt.call(e,e.transformResponse,r),r.headers=j.from(r.headers),r},function(r){return Sr(r)||(ot(e),r&&r.response&&(r.response.data=nt.call(e,e.transformResponse,r.response),r.response.headers=j.from(r.response.headers))),Promise.reject(r)})}const Pr="1.12.2",We={};["object","boolean","number","function","string","symbol"].forEach((e,r)=>{We[e]=function(n){return typeof n===e||"a"+(r<1?"n ":" ")+e}});const Gt={};We.transitional=function(e,r,n){function s(a,c){return"[Axios v"+Pr+"] Transitional option '"+a+"'"+c+(n?". "+n:"")}return(a,c,u)=>{if(e===!1)throw new R(s(c," has been removed"+(r?" in "+r:"")),R.ERR_DEPRECATED);return r&&!Gt[c]&&(Gt[c]=!0,console.warn(s(c," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(a,c,u):!0}},We.spelling=function(e){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function $o(e,r,n){if(typeof e!="object")throw new R("options must be an object",R.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let a=s.length;for(;a-- >0;){const c=s[a],u=r[c];if(u){const g=e[c],m=g===void 0||u(g,c,e);if(m!==!0)throw new R("option "+c+" must be "+m,R.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new R("Unknown option "+c,R.ERR_BAD_OPTION)}}const Me={assertOptions:$o,validators:We},Q=Me.validators;let ue=class{constructor(e){this.defaults=e||{},this.interceptors={request:new It,response:new It}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const a=s.stack?s.stack.replace(/^.+\n/,""):"";try{n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=`
`+a):n.stack=a}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=ce(this.defaults,r);const{transitional:n,paramsSerializer:s,headers:a}=r;n!==void 0&&Me.assertOptions(n,{silentJSONParsing:Q.transitional(Q.boolean),forcedJSONParsing:Q.transitional(Q.boolean),clarifyTimeoutError:Q.transitional(Q.boolean)},!1),s!=null&&(p.isFunction(s)?r.paramsSerializer={serialize:s}:Me.assertOptions(s,{encode:Q.function,serialize:Q.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Me.assertOptions(r,{baseUrl:Q.spelling("baseURL"),withXsrfToken:Q.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let c=a&&p.merge(a.common,a[r.method]);a&&p.forEach(["delete","get","head","post","put","patch","common"],b=>{delete a[b]}),r.headers=j.concat(c,a);const u=[];let g=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(r)===!1||(g=g&&b.synchronous,u.unshift(b.fulfilled,b.rejected))});const m=[];this.interceptors.response.forEach(function(b){m.push(b.fulfilled,b.rejected)});let d,l=0,E;if(!g){const b=[Jt.bind(this),void 0];for(b.unshift(...u),b.push(...m),E=b.length,d=Promise.resolve(r);l<E;)d=d.then(b[l++],b[l++]);return d}E=u.length;let x=r;for(;l<E;){const b=u[l++],v=u[l++];try{x=b(x)}catch(_){v.call(this,_);break}}try{d=Jt.call(this,x)}catch(b){return Promise.reject(b)}for(l=0,E=m.length;l<E;)d=d.then(m[l++],m[l++]);return d}getUri(e){e=ce(this.defaults,e);const r=Br(e.baseURL,e.url,e.allowAbsoluteUrls);return Rr(r,e.params,e.paramsSerializer)}};p.forEach(["delete","get","head","options"],function(e){ue.prototype[e]=function(r,n){return this.request(ce(n||{},{method:e,url:r,data:(n||{}).data}))}}),p.forEach(["post","put","patch"],function(e){function r(n){return function(s,a,c){return this.request(ce(c||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}ue.prototype[e]=r(),ue.prototype[e+"Form"]=r(!0)});let Mo=class kr{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const s=this;this.promise.then(a=>{if(!s._listeners)return;let c=s._listeners.length;for(;c-- >0;)s._listeners[c](a);s._listeners=null}),this.promise.then=a=>{let c;const u=new Promise(g=>{s.subscribe(g),c=g}).then(a);return u.cancel=function(){s.unsubscribe(c)},u},r(function(a,c,u){s.reason||(s.reason=new be(a,c,u),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const n=this._listeners.indexOf(r);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const r=new AbortController,n=s=>{r.abort(s)};return this.subscribe(n),r.signal.unsubscribe=()=>this.unsubscribe(n),r.signal}static source(){let r;return{token:new kr(function(n){r=n}),cancel:r}}};function Do(e){return function(r){return e.apply(null,r)}}function qo(e){return p.isObject(e)&&e.isAxiosError===!0}const ht={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(ht).forEach(([e,r])=>{ht[r]=e});function Lr(e){const r=new ue(e),n=hr(ue.prototype.request,r);return p.extend(n,ue.prototype,r,{allOwnKeys:!0}),p.extend(n,r,null,{allOwnKeys:!0}),n.create=function(s){return Lr(ce(e,s))},n}const T=Lr(Ne);T.Axios=ue,T.CanceledError=be,T.CancelToken=Mo,T.isCancel=Sr,T.VERSION=Pr,T.toFormData=Xe,T.AxiosError=R,T.Cancel=T.CanceledError,T.all=function(e){return Promise.all(e)},T.spread=Do,T.isAxiosError=qo,T.mergeConfig=ce,T.AxiosHeaders=j,T.formToJSON=e=>Cr(p.isHTMLForm(e)?new FormData(e):e),T.getAdapter=Nr.getAdapter,T.HttpStatusCode=ht,T.default=T;const{Axios:Qs,AxiosError:ea,CanceledError:ta,isCancel:ra,CancelToken:na,VERSION:oa,all:ia,Cancel:sa,isAxiosError:vt,spread:aa,toFormData:ua,AxiosHeaders:la,HttpStatusCode:ca,formToJSON:fa,getAdapter:ha,mergeConfig:pa}=T,Ur=T.create({headers:{requesttoken:Hr()??"","X-Requested-With":"XMLHttpRequest"}});Wr(e=>{Ur.defaults.headers.requesttoken=e});const ye=Object.assign(Ur,{CancelToken:T.CancelToken,isCancel:T.isCancel}),Xt=Symbol("csrf-retry");function Ho(e){return async r=>{if(!vt(r))throw r;const{config:n,response:s,request:a}=r,c=a?.responseURL;if(n&&!n[Xt]&&s?.status===412&&s?.data?.message==="CSRF check failed"){console.warn(`Request to ${c} failed because of a CSRF mismatch. Fetching a new token`);const{data:{token:u}}=await e.get(dt("/csrftoken"));return console.debug(`New request token ${u} fetched`),e.defaults.headers.requesttoken=u,e({...n,headers:{...n.headers,requesttoken:u},[Xt]:!0})}throw r}}const it=Symbol("retryDelay");function Wo(e){return async r=>{if(!vt(r))throw r;const{config:n,response:s,request:a}=r,c=a?.responseURL,u=s?.status,g=s?.headers;let m=typeof n?.[it]=="number"?n?.[it]:1;if(u===503&&g?.["x-nextcloud-maintenance-mode"]==="1"&&n?.retryIfMaintenanceMode){if(m*=2,m>32)throw console.error("Retry delay exceeded one minute, giving up.",{responseURL:c}),r;return console.warn(`Request to ${c} failed because of maintenance mode. Retrying in ${m}s`),await new Promise(d=>{setTimeout(d,m*1e3)}),e({...n,[it]:m})}throw r}}async function Vo(e){if(vt(e)){const{config:r,response:n,request:s}=e,a=s?.responseURL;n?.status===401&&n?.data?.message==="Current user is not logged in"&&r?.reloadExpiredSession&&window?.location&&(console.error(`Request to ${a} failed because the user session expired. Reloading the page …`),window.location.reload())}throw e}ye.interceptors.response.use(e=>e,Ho(ye)),ye.interceptors.response.use(e=>e,Wo(ye)),ye.interceptors.response.use(e=>e,Vo);const Jo=W({__name:"IntroAnimation",emits:["next"],setup(e,{emit:r}){const n=le("firstrunwizard","Nextcloud.mp4"),s=le("firstrunwizard","Nextcloud.webm"),a=C("firstrunwizard","Welcome to {cloudName}!",{cloudName:window.OC.theme.name});function c(){r("next")}return{__sfc:!0,emit:r,videoMp4:n,videoWebm:s,videoFallbackText:a,handleEnded:c}}}),Go="_video_1p112_2",Xo="_wrapper_1p112_8",Yo={video:Go,wrapper:Xo};var Zo=function(){var e=this,r=e._self._c,n=e._self._setupProxy;return r("div",{class:e.$style.wrapper},[r("video",{class:e.$style.video,attrs:{playsinline:"",autoplay:"",muted:""},domProps:{muted:!0},on:{ended:n.handleEnded}},[r("source",{attrs:{src:n.videoWebm,type:"video/webm"}}),r("source",{attrs:{src:n.videoMp4,type:"video/mp4"}}),e._v(" "+e._s(n.videoFallbackText)+" ")])])},Ko=[];const Yt={$style:Yo};function Qo(e){for(var r in Yt)this[r]=Yt[r]}var ei=V(Jo,Zo,Ko,!1,Qo);const ti=ei.exports,ri=W({__name:"SlideShow",props:{pages:null,currentIndex:null},emits:["update:current-index"],setup(e,{emit:r}){const n=e;sr((b,v)=>({a8212066:v.cssLogoUrl}));const s=fr(),a=ge(!1),c=H(()=>n.pages[n.currentIndex]),u=H(()=>n.currentIndex===0),g=H(()=>n.currentIndex===n.pages.length-1),m=`url('${le("firstrunwizard","nextcloudLogo.svg")}')`,d=Vr("transitions"),l=H(()=>{const b=a.value?"right":"left";return{active:d["slide-active"],enter:d[`slide-${b}-enter`],leave:d[`slide-${b}-leave-to`]}}),E=H(()=>{const b=a.value?"down":"up";return{active:d["slide-active"],enter:d[`slide-${b}-enter`],leave:d[`slide-${b}-leave-to`]}});Jr(()=>n.currentIndex,(b,v)=>{b<v?a.value=!0:a.value=!1});function x(b){const v=n.pages.findIndex(_=>_.id===b);r("update:current-index",v)}return{__sfc:!0,props:n,emit:r,isMobile:s,reverseTransition:a,currentPage:c,isFirstPage:u,isLastPage:g,cssLogoUrl:m,transitions:d,transitionClasses:l,waveTransitionClasses:E,goToPage:x,t:C,mdiArrowLeft:Yr,mdiArrowRight:Xr,mdiClose:Gr,NcButton:ar,NcIconSvgWrapper:yt}}}),ni="_wrapper_1pqur_1",oi="_background_circle_1pqur_11",ii="_background_bar_1pqur_21",si="_button_back_1pqur_30",ai="_button_close_1pqur_36",ui="_button_wrapper_1pqur_42",li="_logo_1pqur_55",ci="_first_page_scroller_1pqur_68",fi={wrapper:ni,background_circle:oi,background_bar:ii,button_back:si,button_close:ai,button_wrapper:ui,logo:li,first_page_scroller:ci},hi={"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 pi=function(){var e=this,r=e._self._c,n=e._self._setupProxy;return r("div",{class:e.$style.wrapper},[r("Transition",{attrs:{"enter-class":n.waveTransitionClasses.enter,"enter-active-class":n.waveTransitionClasses.active,"leave-active-class":n.waveTransitionClasses.active,"leave-to-class":n.waveTransitionClasses.leave}},[n.isFirstPage?r("div",{class:e.$style.background_circle}):e._e()]),r("div",{class:e.$style.background_bar}),!n.isFirstPage&&n.isMobile?r(n.NcButton,{class:e.$style.button_back,attrs:{"aria-label":n.t("firstrunwizard","Go to previous page"),type:"tertiary"},on:{click:function(s){return e.$emit("update:current-index",e.currentIndex-1)}},scopedSlots:e._u([{key:"icon",fn:function(){return[r(n.NcIconSvgWrapper,{attrs:{path:n.mdiArrowLeft}})]},proxy:!0}],null,!1,1565937943)}):e._e(),r(n.NcButton,{class:e.$style.button_close,attrs:{"aria-label":n.t("firstrunwizard","Close"),type:n.isFirstPage?"primary":"tertiary"},on:{click:function(s){return e.$emit("update:current-index",-1)}},scopedSlots:e._u([{key:"icon",fn:function(){return[r(n.NcIconSvgWrapper,{attrs:{path:n.mdiClose}})]},proxy:!0}])}),n.isFirstPage?r("div",{class:e.$style.logo}):e._e(),r("Transition",{attrs:{mode:"out-in","enter-class":n.transitionClasses.enter,"enter-active-class":n.transitionClasses.active,"leave-active-class":n.transitionClasses.active,"leave-to-class":n.transitionClasses.leave}},[r(n.currentPage.component,{tag:"component",attrs:{"scroller-classes":n.isFirstPage?e.$style.first_page_scroller:""}})],1),r("div",{class:e.$style.button_wrapper},e._l(n.currentPage.buttons,function(s,a){return r(n.NcButton,{key:s.to,attrs:{alignment:"center-reverse",type:a===n.currentPage.buttons.length-1?"primary":"secondary",wide:a===n.currentPage.buttons.length-1},on:{click:function(c){return n.goToPage(s.to)}},scopedSlots:e._u([n.isLastPage?null:{key:"icon",fn:function(){return[r(n.NcIconSvgWrapper,{attrs:{path:n.mdiArrowRight}})]},proxy:!0}],null,!0)},[e._v(" "+e._s(s.label)+" ")])}),1)],1)},di=[];const Zt={$style:fi,transitions:hi};function yi(e){for(var r in Zt)this[r]=Zt[r]}var gi=V(ri,pi,di,!1,yi);const mi=gi.exports,wi=W({__name:"Card",props:{title:null,subtitle:null,href:null},setup(e){const r=e,n=H(()=>!!r.href);return{__sfc:!0,props:r,isLink:n}}}),bi="_card_lwqvv_1",vi="_icon_lwqvv_8",_i="_heading_lwqvv_17",Ei="_link_lwqvv_23",Ri="_text_lwqvv_33",xi={card:bi,icon:vi,heading:_i,link:Ei,text:Ri};var Ci=function(){var e=this,r=e._self._c,n=e._self._setupProxy;return r(n.isLink?"a":"div",{tag:"element",class:[e.$style.card,{[e.$style.link]:n.isLink}],attrs:{href:e.href||void 0,target:n.isLink?"_blank":void 0,rel:n.isLink?"noreferrer":void 0}},[r("div",{class:e.$style.icon},[e._t("default")],2),r("div",{class:e.$style.text},[r("h3",{class:e.$style.heading},[e._v(" "+e._s(e.title)+" ")]),e.subtitle!==void 0?r("p",{domProps:{textContent:e._s(e.subtitle)}}):e._e()])])},Si=[];const Kt={$style:xi};function Oi(e){for(var r in Kt)this[r]=Kt[r]}var Bi=V(wi,Ci,Si,!1,Oi);const Ye=Bi.exports,Ai=W({__name:"WizardPage",props:{title:null,subtitle:null,scrollerClasses:null},setup(e){return{__sfc:!0}}}),Ti="_wrapper_1b76s_2",Ni="_scroller_1b76s_9",Pi="_heading_1b76s_14",ki="_subtitle_1b76s_20",Li="_content_1b76s_26",Ui={wrapper:Ti,scroller:Ni,heading:Pi,subtitle:ki,content:Li};var Ii=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{class:e.$style.wrapper},[r("div",{class:[e.$style.scroller,e.scrollerClasses]},[r("h2",{class:e.$style.heading},[e._v(" "+e._s(e.title)+" ")]),e.subtitle?r("p",{class:e.$style.subtitle},[e._v(" "+e._s(e.subtitle)+" ")]):e._e(),r("div",{class:e.$style.content},[e._t("default")],2)])])},zi=[];const Qt={$style:Ui};function Fi(e){for(var r in Qt)this[r]=Qt[r]}var ji=V(Ai,Ii,zi,!1,Fi);const ve=ji.exports,$i=W({__name:"AboutNextcloud",setup(e){return{__sfc:!0,t:C,Card:Ye,WizardPage:ve}}});var Mi=function(){var e=this,r=e._self._c,n=e._self._setupProxy;return r(n.WizardPage,{attrs:{title:n.t("firstrunwizard","More about Nextcloud")}},[r(n.Card,{attrs:{href:"https://apps.nextcloud.com/",title:n.t("firstrunwizard","Explore more apps ↗"),subtitle:n.t("firstrunwizard","Extend the functionality of Nextcloud with hundreds of community-developed apps.")}}),r(n.Card,{attrs:{href:"https://nextcloud.com/contribute/",title:n.t("firstrunwizard","Get involved! ↗"),subtitle:n.t("firstrunwizard","Be a part of the community that helps build, design, translate and promote Nextcloud!")}}),r(n.Card,{attrs:{href:"https://docs.nextcloud.com/",title:n.t("firstrunwizard","Need help? ↗"),subtitle:n.t("firstrunwizard","Find out more about your Nextcloud setup with the admin, user or developer documentation.")}}),r(n.Card,{attrs:{href:"https://nextcloud.com/enterprise/",title:n.t("firstrunwizard","For large organisations ↗"),subtitle:n.t("firstrunwizard","Get Nextcloud Enterprise for mission critical environments where advanced security and compliance are important.")}})],1)},Di=[],qi=V($i,Mi,Di,!1,null);const Hi=qi.exports,Wi=W({__name:"AppStoreBadge",props:{type:null},setup(e){const r=e;sr((m,d)=>({"7adda1c6":d.cssBackgroundImage}));const n=De("firstrunwizard","android"),s=De("firstrunwizard","ios"),a=H(()=>{if(r.type==="ios")return le("firstrunwizard","iosBadge.png");if(r.type==="android")return le("firstrunwizard","androidBadge.png")}),c=H(()=>`url('${a.value}')`),u=H(()=>{if(r.type==="ios")return s;if(r.type==="android")return n}),g=H(()=>{if(r.type==="ios")return C("firstrunwizard","Download on Apple app store");if(r.type==="android")return C("firstrunwizard","Download on Google play store")});return{__sfc:!0,props:r,android:n,ios:s,badgeImagePath:a,cssBackgroundImage:c,href:u,ariaLabel:g}}}),Vi="_badge_1lvp9_1",Ji={badge:Vi};var Gi=function(){var e=this,r=e._self._c,n=e._self._setupProxy;return r("a",{class:e.$style.badge,attrs:{"aria-label":n.ariaLabel,target:"_blank",rel:"noreferrer",href:n.href}})},Xi=[];const er={$style:Ji};function Yi(e){for(var r in er)this[r]=er[r]}var Zi=V(Wi,Gi,Xi,!1,Yi);const Ki=Zi.exports,Qi=W({__name:"DeviceIntegration",setup(e){const r=De("firstrunwizard","desktop"),n=dt("settings/user/sync-clients");return{__sfc:!0,desktop:r,syncClientsUrl:n,t:C,AppStoreBadge:Ki,Card:Ye,WizardPage:ve}}});var es=function(){var e=this,r=e._self._c,n=e._self._setupProxy;return r(n.WizardPage,{attrs:{title:n.t("firstrunwizard","Seamless integration with your devices."),subtitle:n.t("firstrunwizard","Sync your files across your devices with the desktop and mobile apps, and connect your calendar and contacts.")}},[r(n.AppStoreBadge,{attrs:{type:"android"}}),r(n.AppStoreBadge,{attrs:{type:"ios"}}),r(n.Card,{attrs:{href:n.desktop,title:n.t("firstrunwizard","Desktop app ↗"),subtitle:n.t("firstrunwizard","Download For Windows, Mac OS and Linux.")}}),r(n.Card,{attrs:{href:n.syncClientsUrl,title:n.t("firstrunwizard","Calendar and contacts ↗"),subtitle:n.t("firstrunwizard","Connect your calendar and contacts with your devices.")}})],1)},ts=[],rs=V(Qi,es,ts,!1,null);const ns=rs.exports,ee={version:"9",link:"https://nextcloud.com/blog/nextcloud-hub9/",releaseNotes:["🌐 "+C("firstrunwizard","Federated collaboration: file sharing, messaging, calls"),"📌 "+C("firstrunwizard","Nextcloud Whiteboard"),"✳️ "+C("firstrunwizard","Workflow Engine"),"💌 "+C("firstrunwizard","Safer and swifter mail"),"🔗 "+C("firstrunwizard","Public Collectives sharing, previews and QR-codes"),"🎨 "+C("firstrunwizard","Office and PDF templates"),"💬 "+C("firstrunwizard","Chat mode for Nextcloud Assistant")],videoAltText:C("firstrunwizard","Get to know the new features of Hub 9"),shareSubject:C("firstrunwizard","Nextcloud Hub {version} release",{version:"9"})},os=W({__name:"HubRelease",setup(e){const r=le("firstrunwizard","nextcloudHub.mp4"),n=le("firstrunwizard","nextcloudHub.webm");return{__sfc:!0,videoMp4:r,videoWebm:n,t:C,HUBRelease:ee,WizardPage:ve}}}),is="_anchor_y1t00_2",ss="_animation_y1t00_6",as={anchor:is,animation:ss};var us=function(){var e=this,r=e._self._c,n=e._self._setupProxy;return r(n.WizardPage,{attrs:{title:n.t("firstrunwizard","Introducing Nextcloud Hub {version}",{version:n.HUBRelease.version})}},[r("a",{class:e.$style.anchor,attrs:{href:n.HUBRelease.link,target:"_blank"}},[r("video",{class:e.$style.animation,attrs:{playsinline:"",autoplay:"",muted:""},domProps:{muted:!0}},[r("source",{attrs:{src:n.videoWebm,type:"video/webm;codecs=vp9"}}),r("source",{attrs:{src:n.videoMp4,type:"video/mp4"}}),e._v(" "+e._s(n.HUBRelease.videoAltText)+" ")])])])},ls=[];const tr={$style:as};function cs(e){for(var r in tr)this[r]=tr[r]}var fs=V(os,us,ls,!1,cs);const hs=fs.exports,ps=W({__name:"KeyNotes",props:{scrollerClasses:null},setup(e){return{__sfc:!0,versionNumber:C("firstrunwizard","This Nextcloud is on version {version}",{version:window.OC.config.versionstring}),mdiAccountGroup:en,mdiBriefcaseCheck:Qr,mdiLock:Kr,mdiSwapHorizontal:Zr,t:C,NcIconSvgWrapper:yt,Card:Ye,WizardPage:ve}}}),ds="_icon_rdl0k_2",ys="_version_rdl0k_6",gs={icon:ds,version:ys};var ms=function(){var e=this,r=e._self._c,n=e._self._setupProxy;return r(n.WizardPage,{attrs:{"scroller-classes":e.scrollerClasses,title:n.t("firstrunwizard","A collaboration platform that puts you in control")}},[r(n.Card,{attrs:{title:n.t("firstrunwizard","Privacy"),subtitle:n.t("firstrunwizard","Host your data and files where you decide.")}},[r(n.NcIconSvgWrapper,{class:e.$style.icon,attrs:{inline:"",path:n.mdiLock}})],1),r(n.Card,{attrs:{title:n.t("firstrunwizard","Productivity"),subtitle:n.t("firstrunwizard","Collaborate and communicate across any platform.")}},[r(n.NcIconSvgWrapper,{class:e.$style.icon,attrs:{inline:"",path:n.mdiBriefcaseCheck}})],1),r(n.Card,{attrs:{title:n.t("firstrunwizard","Interoperability"),subtitle:n.t("firstrunwizard","Import and export anything you want with open standards.")}},[r(n.NcIconSvgWrapper,{class:e.$style.icon,attrs:{inline:"",path:n.mdiSwapHorizontal}})],1),r(n.Card,{attrs:{title:n.t("firstrunwizard","Community"),subtitle:n.t("firstrunwizard","Enjoy constant improvements from a thriving open-source community.")}},[r(n.NcIconSvgWrapper,{class:e.$style.icon,attrs:{inline:"",path:n.mdiAccountGroup}})],1),r("p",{class:e.$style.version},[e._v(" "+e._s(n.versionNumber)+" ")])],1)},ws=[];const rr={$style:gs};function bs(e){for(var r in rr)this[r]=rr[r]}var vs=V(ps,ms,ws,!1,bs);const _s=vs.exports,Es='<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>',Rs=`<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>
`,xs=`<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>
`,Cs=W({__name:"SharePage",setup(e){const r=encodeURIComponent(encodeURI(ee.link)),n=encodeURIComponent(ee.shareSubject??C("firstrunwizard","Nextcloud Hub {version} release",{version:ee.version})),s=encodeURIComponent(C("firstrunwizard","Read more about it on the Nextcloud Hub {version} blog",{version:ee.version})+`
`+ee.link),a=[{id:"facebook",name:"Facebook",link:`https://www.facebook.com/sharer/sharer.php?u=${r}`,icon:Es},{id:"x",name:"X",link:`https://x.com/intent/post?url=${r}&via=Nextclouders&text=${encodeURIComponent(ee.shareSubject??"")}`,icon:xs},{id:"mastodon",name:"Mastodon",link:`https://mastodon.social/share?text=${r}`,icon:Rs},{id:"email",name:"EMail",link:`mailto:?subject=${n}&body=${s}`,icon:tn}];return{__sfc:!0,encodedLink:r,mailSubject:n,mailBody:s,shareLinks:a,t:C,NcButton:ar,NcIconSvgWrapper:yt,HubRelease:ee,WizardPage:ve,Card:Ye}}}),Ss="_share_section_1krl5_2",Os="_share_wrapper_1krl5_6",Bs="_card_1krl5_15",As="_heading_1krl5_23",Ts={share_section:Ss,share_wrapper:Os,card:Bs,heading:As};var Ns=function(){var e=this,r=e._self._c,n=e._self._setupProxy;return r(n.WizardPage,{attrs:{title:n.t("firstrunwizard","Find out more on the blog")}},[r(n.NcButton,{attrs:{href:n.HubRelease.link,target:"_blank"}},[e._v(" "+e._s(n.t("firstrunwizard","Read the Nextcloud Hub {version} blog",{version:n.HubRelease.version}))+" ↗ ")]),r("section",{class:e.$style.share_section},[r("h3",{class:e.$style.heading},[e._v(" "+e._s(n.t("firstrunwizard","Share your opinion about Nextcloud Hub {version}",{version:n.HubRelease.version}))+" ")]),r("div",{class:e.$style.share_wrapper},e._l(n.shareLinks,function(s){return r(n.Card,{key:s.id,class:e.$style.card,attrs:{href:s.link,title:s.id==="mail"?n.t("firstrunwizard","Share via email"):n.t("firstrunwizard","Share on {socialMedia}",{socialMedia:s.name})}},[s.icon?r(n.NcIconSvgWrapper,{attrs:{svg:s.id!=="email"?s.icon:void 0,path:s.id==="email"?s.icon:void 0}}):e._e()],1)}),1)])],1)},Ps=[];const nr={$style:Ts};function ks(e){for(var r in nr)this[r]=nr[r]}var Ls=V(Cs,Ns,Ps,!1,ks);const Us=Ls.exports,Is=W({__name:"WhatsNew",setup(e){return{__sfc:!0,t:C,HubRelease:ee,WizardPage:ve}}}),zs="_list_lk7o9_2",Fs="_entry_lk7o9_6",js={list:zs,entry:Fs};var $s=function(){var e=this,r=e._self._c,n=e._self._setupProxy;return r(n.WizardPage,{attrs:{title:n.t("firstrunwizard","New in Nextcloud Hub {version}",{version:n.HubRelease.version})+" 🚀"}},[r("ul",{class:e.$style.list},e._l(n.HubRelease.releaseNotes,function(s,a){return r("li",{key:a,class:e.$style.entry},[e._v(" "+e._s(s)+" ")])}),0)])},Ms=[];const or={$style:js};function Ds(e){for(var r in or)this[r]=or[r]}var qs=V(Is,$s,Ms,!1,Ds);const Hs=qs.exports,st=[{id:"key-aspects",component:_s,buttons:[{to:"hub-release",label:C("firstrunwizard","What's new?")},{to:"devices",label:C("firstrunwizard","Nextcloud on all your devices")}]},{id:"devices",component:ns,buttons:[{to:"about",label:C("firstrunwizard","More about Nextcloud")}]},{id:"about",component:Hi,buttons:[{to:"hub-release",label:C("firstrunwizard","Nextcloud Hub {version}",{version:ee.version})}]},{id:"hub-release",component:hs,buttons:[{to:"whats-new",label:C("firstrunwizard","Read more")}]},{id:"whats-new",component:Hs,buttons:[{to:"share",label:C("firstrunwizard","Share on social media")}]},{id:"share",component:Us,buttons:[{to:"close",label:C("firstrunwizard","Get started!")}]}],Ws=W({__name:"App",setup(e,{expose:r}){const n=fr(),s=De("firstrunwizard","changelogOnly",!1),a=Math.min(st.findIndex(x=>x.id==="hub-release"),0),c=ge(!1),u=ge(null),g=ge(),m=H(()=>!n.value&&u.value!==null&&u.value>0),d=H(()=>!n.value&&u.value!==null&&u.value<st.length-1);function l(x){g.value=x,u.value=null,c.value=!0}function E(){u.value=null,c.value=!1,ye.delete(dt("/apps/firstrunwizard/wizard"))}return r({open:l,close:E}),rn(()=>{u.value===-1&&E()}),{__sfc:!0,isMobile:n,showChangelogOnly:s,changelogPage:a,showModal:c,currentPage:u,setReturnFocus:g,hasPrevious:m,hasNext:d,open:l,close:E,NcModal:nn,IntroAnimation:ti,SlideShow:mi,pages:st}}});var Vs=function(){var e=this,r=e._self._c,n=e._self._setupProxy;return n.showModal?r(n.NcModal,{staticClass:"first-run-wizard",attrs:{id:"firstrunwizard",size:"normal",dark:!n.isMobile,"has-next":n.hasNext,"has-previous":n.hasPrevious,"set-return-focus":n.setReturnFocus},on:{close:n.close,next:function(s){n.currentPage+=1},previous:function(s){n.currentPage-=1}}},[n.currentPage===null?r(n.IntroAnimation,{on:{next:function(s){n.currentPage=n.showChangelogOnly?n.changelogPage:0}}}):r(n.SlideShow,{attrs:{pages:n.pages,"current-index":n.currentPage},on:{"update:currentIndex":function(s){n.currentPage=s},"update:current-index":function(s){n.currentPage=s}}})],1):e._e()},Js=[],Gs=V(Ws,Vs,Js,!1,null);const Xs=Gs.exports;ze.prototype.t=C,ze.prototype.n=on,ze.prototype.oc_defaults=window.oc_defaults;const pt=document.createElement("div");pt.id="firstrunwizard",document.querySelector("body").appendChild(pt);const Ys=ze.extend(Xs),Zs=new Ys().$mount(pt),da=Zs.open;export{da as open};
//# sourceMappingURL=main-9oHLcIPT.chunk.mjs.map