file-viewer-demo/public/file-viewer3/assets/index-0fd2d185.js

9 lines
123 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var Il=Object.defineProperty;var Nl=(e,t,r)=>t in e?Il(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Jo=(e,t,r)=>(Nl(e,typeof t!="symbol"?t+"":t,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();function io(e,t){const r=Object.create(null),n=e.split(",");for(let o=0;o<n.length;o++)r[n[o]]=!0;return t?o=>!!r[o.toLowerCase()]:o=>!!r[o]}function so(e){if(M(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],o=Z(n)?Dl(n):so(n);if(o)for(const i in o)t[i]=o[i]}return t}else{if(Z(e))return e;if(V(e))return e}}const $l=/;(?![^(]*\))/g,Ml=/:([^]+)/,Bl=/\/\*.*?\*\//gs;function Dl(e){const t={};return e.replace(Bl,"").split($l).forEach(r=>{if(r){const n=r.split(Ml);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Jr(e){let t="";if(Z(e))t=e;else if(M(e))for(let r=0;r<e.length;r++){const n=Jr(e[r]);n&&(t+=n+" ")}else if(V(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const Ll="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ul=io(Ll);function ts(e){return!!e||e===""}const gt=e=>Z(e)?e:e==null?"":M(e)||V(e)&&(e.toString===is||!$(e.toString))?JSON.stringify(e,rs,2):String(e),rs=(e,t)=>t&&t.__v_isRef?rs(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o])=>(r[`${n} =>`]=o,r),{})}:ns(t)?{[`Set(${t.size})`]:[...t.values()]}:V(t)&&!M(t)&&!ss(t)?String(t):t,K={},Rt=[],Pe=()=>{},jl=()=>!1,Hl=/^on[^a-z]/,Gr=e=>Hl.test(e),lo=e=>e.startsWith("onUpdate:"),fe=Object.assign,ao=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Wl=Object.prototype.hasOwnProperty,U=(e,t)=>Wl.call(e,t),M=Array.isArray,Tt=e=>Qr(e)==="[object Map]",ns=e=>Qr(e)==="[object Set]",$=e=>typeof e=="function",Z=e=>typeof e=="string",co=e=>typeof e=="symbol",V=e=>e!==null&&typeof e=="object",os=e=>V(e)&&$(e.then)&&$(e.catch),is=Object.prototype.toString,Qr=e=>is.call(e),kl=e=>Qr(e).slice(8,-1),ss=e=>Qr(e)==="[object Object]",uo=e=>Z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Cr=io(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xr=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},zl=/-(\w)/g,He=Xr(e=>e.replace(zl,(t,r)=>r?r.toUpperCase():"")),ql=/\B([A-Z])/g,Ht=Xr(e=>e.replace(ql,"-$1").toLowerCase()),Yr=Xr(e=>e.charAt(0).toUpperCase()+e.slice(1)),hn=Xr(e=>e?`on${Yr(e)}`:""),sr=(e,t)=>!Object.is(e,t),Fr=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},Ur=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Mn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Go;const Kl=()=>Go||(Go=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Oe;class Vl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Oe,!t&&Oe&&(this.index=(Oe.scopes||(Oe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=Oe;try{return Oe=this,t()}finally{Oe=r}}}on(){Oe=this}off(){Oe=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Jl(e,t=Oe){t&&t.active&&t.effects.push(e)}function Gl(){return Oe}const fo=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ls=e=>(e.w&nt)>0,as=e=>(e.n&nt)>0,Ql=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=nt},Xl=e=>{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n<t.length;n++){const o=t[n];ls(o)&&!as(o)?o.delete(e):t[r++]=o,o.w&=~nt,o.n&=~nt}t.length=r}},Bn=new WeakMap;let Yt=0,nt=1;const Dn=30;let xe;const bt=Symbol(""),Ln=Symbol("");class po{constructor(t,r=null,n){this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,Jl(this,n)}run(){if(!this.active)return this.fn();let t=xe,r=tt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=xe,xe=this,tt=!0,nt=1<<++Yt,Yt<=Dn?Ql(this):Qo(this),this.fn()}finally{Yt<=Dn&&Xl(this),nt=1<<--Yt,xe=this.parent,tt=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){xe===this?this.deferStop=!0:this.active&&(Qo(this),this.onStop&&this.onStop(),this.active=!1)}}function Qo(e){const{deps:t}=e;if(t.length){for(let r=0;r<t.length;r++)t[r].delete(e);t.length=0}}let tt=!0;const cs=[];function Wt(){cs.push(tt),tt=!1}function kt(){const e=cs.pop();tt=e===void 0?!0:e}function me(e,t,r){if(tt&&xe){let n=Bn.get(e);n||Bn.set(e,n=new Map);let o=n.get(r);o||n.set(r,o=fo()),us(o)}}function us(e,t){let r=!1;Yt<=Dn?as(e)||(e.n|=nt,r=!ls(e)):r=!e.has(xe),r&&(e.add(xe),xe.deps.push(e))}function Ke(e,t,r,n,o,i){const s=Bn.get(e);if(!s)return;let l=[];if(t==="clear")l=[...s.values()];else if(r==="length"&&M(e)){const a=Number(n);s.forEach((c,u)=>{(u==="length"||u>=a)&&l.push(c)})}else switch(r!==void 0&&l.push(s.get(r)),t){case"add":M(e)?uo(r)&&l.push(s.get("length")):(l.push(s.get(bt)),Tt(e)&&l.push(s.get(Ln)));break;case"delete":M(e)||(l.push(s.get(bt)),Tt(e)&&l.push(s.get(Ln)));break;case"set":Tt(e)&&l.push(s.get(bt));break}if(l.length===1)l[0]&&Un(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);Un(fo(a))}}function Un(e,t){const r=M(e)?e:[...e];for(const n of r)n.computed&&Xo(n);for(const n of r)n.computed||Xo(n)}function Xo(e,t){(e!==xe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Yl=io("__proto__,__v_isRef,__isVue"),fs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(co)),Zl=ho(),ea=ho(!1,!0),ta=ho(!0),Yo=ra();function ra(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=H(this);for(let i=0,s=this.length;i<s;i++)me(n,"get",i+"");const o=n[t](...r);return o===-1||o===!1?n[t](...r.map(H)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){Wt();const n=H(this)[t].apply(this,r);return kt(),n}}),e}function na(e){const t=H(this);return me(t,"has",e),t.hasOwnProperty(e)}function ho(e=!1,t=!1){return function(n,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&i===(e?t?va:ms:t?ys:hs).get(n))return n;const s=M(n);if(!e){if(s&&U(Yo,o))return Reflect.get(Yo,o,i);if(o==="hasOwnProperty")return na}const l=Reflect.get(n,o,i);return(co(o)?fs.has(o):Yl(o))||(e||me(n,"get",o),t)?l:se(l)?s&&uo(o)?l:l.value:V(l)?e?gs(l):go(l):l}}const oa=ds(),ia=ds(!0);function ds(e=!1){return function(r,n,o,i){let s=r[n];if(Nt(s)&&se(s)&&!se(o))return!1;if(!e&&(!jr(o)&&!Nt(o)&&(s=H(s),o=H(o)),!M(r)&&se(s)&&!se(o)))return s.value=o,!0;const l=M(r)&&uo(n)?Number(n)<r.length:U(r,n),a=Reflect.set(r,n,o,i);return r===H(i)&&(l?sr(o,s)&&Ke(r,"set",n,o):Ke(r,"add",n,o)),a}}function sa(e,t){const r=U(e,t);e[t];const n=Reflect.deleteProperty(e,t);return n&&r&&Ke(e,"delete",t,void 0),n}function la(e,t){const r=Reflect.has(e,t);return(!co(t)||!fs.has(t))&&me(e,"has",t),r}function aa(e){return me(e,"iterate",M(e)?"length":bt),Reflect.ownKeys(e)}const ps={get:Zl,set:oa,deleteProperty:sa,has:la,ownKeys:aa},ca={get:ta,set(e,t){return!0},deleteProperty(e,t){return!0}},ua=fe({},ps,{get:ea,set:ia}),yo=e=>e,Zr=e=>Reflect.getPrototypeOf(e);function _r(e,t,r=!1,n=!1){e=e.__v_raw;const o=H(e),i=H(t);r||(t!==i&&me(o,"get",t),me(o,"get",i));const{has:s}=Zr(o),l=n?yo:r?vo:lr;if(s.call(o,t))return l(e.get(t));if(s.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function wr(e,t=!1){const r=this.__v_raw,n=H(r),o=H(e);return t||(e!==o&&me(n,"has",e),me(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function Er(e,t=!1){return e=e.__v_raw,!t&&me(H(e),"iterate",bt),Reflect.get(e,"size",e)}function Zo(e){e=H(e);const t=H(this);return Zr(t).has.call(t,e)||(t.add(e),Ke(t,"add",e,e)),this}function ei(e,t){t=H(t);const r=H(this),{has:n,get:o}=Zr(r);let i=n.call(r,e);i||(e=H(e),i=n.call(r,e));const s=o.call(r,e);return r.set(e,t),i?sr(t,s)&&Ke(r,"set",e,t):Ke(r,"add",e,t),this}function ti(e){const t=H(this),{has:r,get:n}=Zr(t);let o=r.call(t,e);o||(e=H(e),o=r.call(t,e)),n&&n.call(t,e);const i=t.delete(e);return o&&Ke(t,"delete",e,void 0),i}function ri(){const e=H(this),t=e.size!==0,r=e.clear();return t&&Ke(e,"clear",void 0,void 0),r}function Sr(e,t){return function(n,o){const i=this,s=i.__v_raw,l=H(s),a=t?yo:e?vo:lr;return!e&&me(l,"iterate",bt),s.forEach((c,u)=>n.call(o,a(c),a(u),i))}}function Or(e,t,r){return function(...n){const o=this.__v_raw,i=H(o),s=Tt(i),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=o[e](...n),u=r?yo:t?vo:lr;return!t&&me(i,"iterate",a?Ln:bt),{next(){const{value:p,done:h}=c.next();return h?{value:p,done:h}:{value:l?[u(p[0]),u(p[1])]:u(p),done:h}},[Symbol.iterator](){return this}}}}function Qe(e){return function(...t){return e==="delete"?!1:this}}function fa(){const e={get(i){return _r(this,i)},get size(){return Er(this)},has:wr,add:Zo,set:ei,delete:ti,clear:ri,forEach:Sr(!1,!1)},t={get(i){return _r(this,i,!1,!0)},get size(){return Er(this)},has:wr,add:Zo,set:ei,delete:ti,clear:ri,forEach:Sr(!1,!0)},r={get(i){return _r(this,i,!0)},get size(){return Er(this,!0)},has(i){return wr.call(this,i,!0)},add:Qe("add"),set:Qe("set"),delete:Qe("delete"),clear:Qe("clear"),forEach:Sr(!0,!1)},n={get(i){return _r(this,i,!0,!0)},get size(){return Er(this,!0)},has(i){return wr.call(this,i,!0)},add:Qe("add"),set:Qe("set"),delete:Qe("delete"),clear:Qe("clear"),forEach:Sr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Or(i,!1,!1),r[i]=Or(i,!0,!1),t[i]=Or(i,!1,!0),n[i]=Or(i,!0,!0)}),[e,r,t,n]}const[da,pa,ha,ya]=fa();function mo(e,t){const r=t?e?ya:ha:e?pa:da;return(n,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(U(r,o)&&o in n?r:n,o,i)}const ma={get:mo(!1,!1)},ga={get:mo(!1,!0)},ba={get:mo(!0,!1)},hs=new WeakMap,ys=new WeakMap,ms=new WeakMap,va=new WeakMap;function _a(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wa(e){return e.__v_skip||!Object.isExtensible(e)?0:_a(kl(e))}function go(e){return Nt(e)?e:bo(e,!1,ps,ma,hs)}function Ea(e){return bo(e,!1,ua,ga,ys)}function gs(e){return bo(e,!0,ca,ba,ms)}function bo(e,t,r,n,o){if(!V(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=wa(e);if(s===0)return e;const l=new Proxy(e,s===2?n:r);return o.set(e,l),l}function Ct(e){return Nt(e)?Ct(e.__v_raw):!!(e&&e.__v_isReactive)}function Nt(e){return!!(e&&e.__v_isReadonly)}function jr(e){return!!(e&&e.__v_isShallow)}function bs(e){return Ct(e)||Nt(e)}function H(e){const t=e&&e.__v_raw;return t?H(t):e}function vs(e){return Ur(e,"__v_skip",!0),e}const lr=e=>V(e)?go(e):e,vo=e=>V(e)?gs(e):e;function _s(e){tt&&xe&&(e=H(e),us(e.dep||(e.dep=fo())))}function ws(e,t){e=H(e);const r=e.dep;r&&Un(r)}function se(e){return!!(e&&e.__v_isRef===!0)}function ue(e){return Sa(e,!1)}function Sa(e,t){return se(e)?e:new Oa(e,t)}class Oa{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:H(t),this._value=r?t:lr(t)}get value(){return _s(this),this._value}set value(t){const r=this.__v_isShallow||jr(t)||Nt(t);t=r?t:H(t),sr(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:lr(t),ws(this))}}function xa(e){return se(e)?e.value:e}const Aa={get:(e,t,r)=>xa(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return se(o)&&!se(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function Es(e){return Ct(e)?e:new Proxy(e,Aa)}var Ss;class Pa{constructor(t,r,n,o){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[Ss]=!1,this._dirty=!0,this.effect=new po(t,()=>{this._dirty||(this._dirty=!0,ws(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const t=H(this);return _s(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Ss="__v_isReadonly";function Ra(e,t,r=!1){let n,o;const i=$(e);return i?(n=e,o=Pe):(n=e.get,o=e.set),new Pa(n,o,i||!o,r)}function rt(e,t,r,n){let o;try{o=n?e(...n):e()}catch(i){dr(i,t,r)}return o}function Re(e,t,r,n){if($(e)){const i=rt(e,t,r,n);return i&&os(i)&&i.catch(s=>{dr(s,t,r)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(Re(e[i],t,r,n));return o}function dr(e,t,r,n=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const s=t.proxy,l=r;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,s,l)===!1)return}i=i.parent}const a=t.appContext.config.errorHandler;if(a){rt(a,null,10,[e,s,l]);return}}Ta(e,r,o,n)}function Ta(e,t,r,n=!0){console.error(e)}let ar=!1,jn=!1;const ie=[];let Ue=0;const Ft=[];let ke=null,pt=0;const Os=Promise.resolve();let _o=null;function Ca(e){const t=_o||Os;return e?t.then(this?e.bind(this):e):t}function Fa(e){let t=Ue+1,r=ie.length;for(;t<r;){const n=t+r>>>1;cr(ie[n])<e?t=n+1:r=n}return t}function en(e){(!ie.length||!ie.includes(e,ar&&e.allowRecurse?Ue+1:Ue))&&(e.id==null?ie.push(e):ie.splice(Fa(e.id),0,e),xs())}function xs(){!ar&&!jn&&(jn=!0,_o=Os.then(Ps))}function Ia(e){const t=ie.indexOf(e);t>Ue&&ie.splice(t,1)}function Na(e){M(e)?Ft.push(...e):(!ke||!ke.includes(e,e.allowRecurse?pt+1:pt))&&Ft.push(e),xs()}function ni(e,t=ar?Ue+1:0){for(;t<ie.length;t++){const r=ie[t];r&&r.pre&&(ie.splice(t,1),t--,r())}}function As(e){if(Ft.length){const t=[...new Set(Ft)];if(Ft.length=0,ke){ke.push(...t);return}for(ke=t,ke.sort((r,n)=>cr(r)-cr(n)),pt=0;pt<ke.length;pt++)ke[pt]();ke=null,pt=0}}const cr=e=>e.id==null?1/0:e.id,$a=(e,t)=>{const r=cr(e)-cr(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function Ps(e){jn=!1,ar=!0,ie.sort($a);const t=Pe;try{for(Ue=0;Ue<ie.length;Ue++){const r=ie[Ue];r&&r.active!==!1&&rt(r,null,14)}}finally{Ue=0,ie.length=0,As(),ar=!1,_o=null,(ie.length||Ft.length)&&Ps()}}function Ma(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||K;let o=r;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in n){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:p,trim:h}=n[u]||K;h&&(o=r.map(b=>Z(b)?b.trim():b)),p&&(o=r.map(Mn))}let l,a=n[l=hn(t)]||n[l=hn(He(t))];!a&&i&&(a=n[l=hn(Ht(t))]),a&&Re(a,e,6,o);const c=n[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Re(c,e,6,o)}}function Rs(e,t,r=!1){const n=t.emitsCache,o=n.get(e);if(o!==void 0)return o;const i=e.emits;let s={},l=!1;if(!$(e)){const a=c=>{const u=Rs(c,t,!0);u&&(l=!0,fe(s,u))};!r&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(V(e)&&n.set(e,null),null):(M(i)?i.forEach(a=>s[a]=null):fe(s,i),V(e)&&n.set(e,s),s)}function tn(e,t){return!e||!Gr(t)?!1:(t=t.slice(2).replace(/Once$/,""),U(e,t[0].toLowerCase()+t.slice(1))||U(e,Ht(t))||U(e,t))}let le=null,rn=null;function Hr(e){const t=le;return le=e,rn=e&&e.type.__scopeId||null,t}function Ba(e){rn=e}function Da(){rn=null}function La(e,t=le,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&di(-1);const i=Hr(t);let s;try{s=e(...o)}finally{Hr(i),n._d&&di(1)}return s};return n._n=!0,n._c=!0,n._d=!0,n}function yn(e){const{type:t,vnode:r,proxy:n,withProxy:o,props:i,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:p,data:h,setupState:b,ctx:y,inheritAttrs:E}=e;let I,A;const B=Hr(e);try{if(r.shapeFlag&4){const k=o||n;I=Be(u.call(k,k,p,i,b,h,y)),A=a}else{const k=t;I=Be(k.length>1?k(i,{attrs:a,slots:l,emit:c}):k(i,null)),A=t.props?a:Ua(a)}}catch(k){rr.length=0,dr(k,e,1),I=X(ot)}let F=I;if(A&&E!==!1){const k=Object.keys(A),{shapeFlag:de}=F;k.length&&de&7&&(s&&k.some(lo)&&(A=ja(A,s)),F=$t(F,A))}return r.dirs&&(F=$t(F),F.dirs=F.dirs?F.dirs.concat(r.dirs):r.dirs),r.transition&&(F.transition=r.transition),I=F,Hr(B),I}const Ua=e=>{let t;for(const r in e)(r==="class"||r==="style"||Gr(r))&&((t||(t={}))[r]=e[r]);return t},ja=(e,t)=>{const r={};for(const n in e)(!lo(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function Ha(e,t,r){const{props:n,children:o,component:i}=e,{props:s,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&a>=0){if(a&1024)return!0;if(a&16)return n?oi(n,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let p=0;p<u.length;p++){const h=u[p];if(s[h]!==n[h]&&!tn(c,h))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:n===s?!1:n?s?oi(n,s,c):!0:!!s;return!1}function oi(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const i=n[o];if(t[i]!==e[i]&&!tn(r,i))return!0}return!1}function Wa({vnode:e,parent:t},r){for(;t&&t.subTree===e;)(e=t.vnode).el=r,t=t.parent}const ka=e=>e.__isSuspense;function za(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):Na(e)}function qa(e,t){if(Q){let r=Q.provides;const n=Q.parent&&Q.parent.provides;n===r&&(r=Q.provides=Object.create(n)),r[e]=t}}function Ir(e,t,r=!1){const n=Q||le;if(n){const o=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return r&&$(t)?t.call(n.proxy):t}}const xr={};function Zt(e,t,r){return Ts(e,t,r)}function Ts(e,t,{immediate:r,deep:n,flush:o,onTrack:i,onTrigger:s}=K){const l=Gl()===(Q==null?void 0:Q.scope)?Q:null;let a,c=!1,u=!1;if(se(e)?(a=()=>e.value,c=jr(e)):Ct(e)?(a=()=>e,n=!0):M(e)?(u=!0,c=e.some(F=>Ct(F)||jr(F)),a=()=>e.map(F=>{if(se(F))return F.value;if(Ct(F))return mt(F);if($(F))return rt(F,l,2)})):$(e)?t?a=()=>rt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return p&&p(),Re(e,l,3,[h])}:a=Pe,t&&n){const F=a;a=()=>mt(F())}let p,h=F=>{p=A.onStop=()=>{rt(F,l,4)}},b;if(Bt)if(h=Pe,t?r&&Re(t,l,3,[a(),u?[]:void 0,h]):a(),o==="sync"){const F=Hc();b=F.__watcherHandles||(F.__watcherHandles=[])}else return Pe;let y=u?new Array(e.length).fill(xr):xr;const E=()=>{if(A.active)if(t){const F=A.run();(n||c||(u?F.some((k,de)=>sr(k,y[de])):sr(F,y)))&&(p&&p(),Re(t,l,3,[F,y===xr?void 0:u&&y[0]===xr?[]:y,h]),y=F)}else A.run()};E.allowRecurse=!!t;let I;o==="sync"?I=E:o==="post"?I=()=>ye(E,l&&l.suspense):(E.pre=!0,l&&(E.id=l.uid),I=()=>en(E));const A=new po(a,I);t?r?E():y=A.run():o==="post"?ye(A.run.bind(A),l&&l.suspense):A.run();const B=()=>{A.stop(),l&&l.scope&&ao(l.scope.effects,A)};return b&&b.push(B),B}function Ka(e,t,r){const n=this.proxy,o=Z(e)?e.includes(".")?Cs(n,e):()=>n[e]:e.bind(n,n);let i;$(t)?i=t:(i=t.handler,r=t);const s=Q;Mt(this);const l=Ts(o,i.bind(n),r);return s?Mt(s):vt(),l}function Cs(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o<r.length&&n;o++)n=n[r[o]];return n}}function mt(e,t){if(!V(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),se(e))mt(e.value,t);else if(M(e))for(let r=0;r<e.length;r++)mt(e[r],t);else if(ns(e)||Tt(e))e.forEach(r=>{mt(r,t)});else if(ss(e))for(const r in e)mt(e[r],t);return e}function pr(e){return $(e)?{setup:e,name:e.name}:e}const er=e=>!!e.type.__asyncLoader;function hr(e){$(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:o=200,timeout:i,suspensible:s=!0,onError:l}=e;let a=null,c,u=0;const p=()=>(u++,a=null,h()),h=()=>{let b;return a||(b=a=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((E,I)=>{l(y,()=>E(p()),()=>I(y),u+1)});throw y}).then(y=>b!==a&&a?a:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),c=y,y)))};return pr({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return c},setup(){const b=Q;if(c)return()=>mn(c,b);const y=B=>{a=null,dr(B,b,13,!n)};if(s&&b.suspense||Bt)return h().then(B=>()=>mn(B,b)).catch(B=>(y(B),()=>n?X(n,{error:B}):null));const E=ue(!1),I=ue(),A=ue(!!o);return o&&setTimeout(()=>{A.value=!1},o),i!=null&&setTimeout(()=>{if(!E.value&&!I.value){const B=new Error(`Async component timed out after ${i}ms.`);y(B),I.value=B}},i),h().then(()=>{E.value=!0,b.parent&&wo(b.parent.vnode)&&en(b.parent.update)}).catch(B=>{y(B),I.value=B}),()=>{if(E.value&&c)return mn(c,b);if(I.value&&n)return X(n,{error:I.value});if(r&&!A.value)return X(r)}}})}function mn(e,t){const{ref:r,props:n,children:o,ce:i}=t.vnode,s=X(e,n,o);return s.ref=r,s.ce=i,delete t.vnode.ce,s}const wo=e=>e.type.__isKeepAlive;function Va(e,t){Fs(e,"a",t)}function Ja(e,t){Fs(e,"da",t)}function Fs(e,t,r=Q){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(nn(t,n,r),r){let o=r.parent;for(;o&&o.parent;)wo(o.parent.vnode)&&Ga(n,t,r,o),o=o.parent}}function Ga(e,t,r,n){const o=nn(t,e,n,!0);Is(()=>{ao(n[t],o)},r)}function nn(e,t,r=Q,n=!1){if(r){const o=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(r.isUnmounted)return;Wt(),Mt(r);const l=Re(t,r,e,s);return vt(),kt(),l});return n?o.unshift(i):o.push(i),i}}const Ve=e=>(t,r=Q)=>(!Bt||e==="sp")&&nn(e,(...n)=>t(...n),r),Qa=Ve("bm"),Eo=Ve("m"),Xa=Ve("bu"),Ya=Ve("u"),Za=Ve("bum"),Is=Ve("um"),ec=Ve("sp"),tc=Ve("rtg"),rc=Ve("rtc");function nc(e,t=Q){nn("ec",e,t)}function Hn(e,t){const r=le;if(r===null)return e;const n=ln(r)||r.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[s,l,a,c=K]=t[i];s&&($(s)&&(s={mounted:s,updated:s}),s.deep&&mt(l),o.push({dir:s,instance:n,value:l,oldValue:void 0,arg:a,modifiers:c}))}return e}function ut(e,t,r,n){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const l=o[s];i&&(l.oldValue=i[s].value);let a=l.dir[n];a&&(Wt(),Re(a,r,8,[e.el,l,e,t]),kt())}}const Ns="components";function oc(e,t){return sc(Ns,e,!0,t)||e}const ic=Symbol();function sc(e,t,r=!0,n=!1){const o=le||Q;if(o){const i=o.type;if(e===Ns){const l=Dc(i,!1);if(l&&(l===t||l===He(t)||l===Yr(He(t))))return i}const s=ii(o[e]||i[e],t)||ii(o.appContext[e],t);return!s&&n?i:s}}function ii(e,t){return e&&(e[t]||e[He(t)]||e[Yr(He(t))])}function fh(e,t,r,n){let o;const i=r&&r[n];if(M(e)||Z(e)){o=new Array(e.length);for(let s=0,l=e.length;s<l;s++)o[s]=t(e[s],s,void 0,i&&i[s])}else if(typeof e=="number"){o=new Array(e);for(let s=0;s<e;s++)o[s]=t(s+1,s,void 0,i&&i[s])}else if(V(e))if(e[Symbol.iterator])o=Array.from(e,(s,l)=>t(s,l,void 0,i&&i[l]));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,a=s.length;l<a;l++){const c=s[l];o[l]=t(e[c],c,l,i&&i[l])}}else o=[];return r&&(r[n]=o),o}function dh(e,t,r={},n,o){if(le.isCE||le.parent&&er(le.parent)&&le.parent.isCE)return t!=="default"&&(r.name=t),X("slot",r,n&&n());let i=e[t];i&&i._c&&(i._d=!1),ve();const s=i&&$s(i(r)),l=xo(we,{key:r.key||s&&s.key||`_${t}`},s||(n?n():[]),s&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function $s(e){return e.some(t=>zs(t)?!(t.type===ot||t.type===we&&!$s(t.children)):!0)?e:null}const Wn=e=>e?Ks(e)?ln(e)||e.proxy:Wn(e.parent):null,tr=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Wn(e.parent),$root:e=>Wn(e.root),$emit:e=>e.emit,$options:e=>So(e),$forceUpdate:e=>e.f||(e.f=()=>en(e.update)),$nextTick:e=>e.n||(e.n=Ca.bind(e.proxy)),$watch:e=>Ka.bind(e)}),gn=(e,t)=>e!==K&&!e.__isScriptSetup&&U(e,t),lc={get({_:e},t){const{ctx:r,setupState:n,data:o,props:i,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const b=s[t];if(b!==void 0)switch(b){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return i[t]}else{if(gn(n,t))return s[t]=1,n[t];if(o!==K&&U(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&U(c,t))return s[t]=3,i[t];if(r!==K&&U(r,t))return s[t]=4,r[t];kn&&(s[t]=0)}}const u=tr[t];let p,h;if(u)return t==="$attrs"&&me(e,"get",t),u(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(r!==K&&U(r,t))return s[t]=4,r[t];if(h=a.config.globalProperties,U(h,t))return h[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:i}=e;return gn(o,t)?(o[t]=r,!0):n!==K&&U(n,t)?(n[t]=r,!0):U(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,propsOptions:i}},s){let l;return!!r[s]||e!==K&&U(e,s)||gn(t,s)||(l=i[0])&&U(l,s)||U(n,s)||U(tr,s)||U(o.config.globalProperties,s)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:U(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};let kn=!0;function ac(e){const t=So(e),r=e.proxy,n=e.ctx;kn=!1,t.beforeCreate&&si(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:p,mounted:h,beforeUpdate:b,updated:y,activated:E,deactivated:I,beforeDestroy:A,beforeUnmount:B,destroyed:F,unmounted:k,render:de,renderTracked:Ge,renderTriggered:_e,errorCaptured:re,serverPrefetch:Te,expose:pe,inheritAttrs:Ee,components:ne,directives:he,filters:Ce}=t;if(c&&cc(c,n,null,e.appContext.config.unwrapInjectedRef),s)for(const G in s){const z=s[G];$(z)&&(n[G]=z.bind(r))}if(o){const G=o.call(r,r);V(G)&&(e.data=go(G))}if(kn=!0,i)for(const G in i){const z=i[G],at=$(z)?z.bind(r,r):$(z.get)?z.get.bind(r,r):Pe,br=!$(z)&&$(z.set)?z.set.bind(r):Pe,ct=Uc({get:at,set:br});Object.defineProperty(n,G,{enumerable:!0,configurable:!0,get:()=>ct.value,set:Fe=>ct.value=Fe})}if(l)for(const G in l)Ms(l[G],n,r,G);if(a){const G=$(a)?a.call(r):a;Reflect.ownKeys(G).forEach(z=>{qa(z,G[z])})}u&&si(u,e,"c");function J(G,z){M(z)?z.forEach(at=>G(at.bind(r))):z&&G(z.bind(r))}if(J(Qa,p),J(Eo,h),J(Xa,b),J(Ya,y),J(Va,E),J(Ja,I),J(nc,re),J(rc,Ge),J(tc,_e),J(Za,B),J(Is,k),J(ec,Te),M(pe))if(pe.length){const G=e.exposed||(e.exposed={});pe.forEach(z=>{Object.defineProperty(G,z,{get:()=>r[z],set:at=>r[z]=at})})}else e.exposed||(e.exposed={});de&&e.render===Pe&&(e.render=de),Ee!=null&&(e.inheritAttrs=Ee),ne&&(e.components=ne),he&&(e.directives=he)}function cc(e,t,r=Pe,n=!1){M(e)&&(e=zn(e));for(const o in e){const i=e[o];let s;V(i)?"default"in i?s=Ir(i.from||o,i.default,!0):s=Ir(i.from||o):s=Ir(i),se(s)&&n?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):t[o]=s}}function si(e,t,r){Re(M(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function Ms(e,t,r,n){const o=n.includes(".")?Cs(r,n):()=>r[n];if(Z(e)){const i=t[e];$(i)&&Zt(o,i)}else if($(e))Zt(o,e.bind(r));else if(V(e))if(M(e))e.forEach(i=>Ms(i,t,r,n));else{const i=$(e.handler)?e.handler.bind(r):t[e.handler];$(i)&&Zt(o,i,e)}}function So(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let a;return l?a=l:!o.length&&!r&&!n?a=t:(a={},o.length&&o.forEach(c=>Wr(a,c,s,!0)),Wr(a,t,s)),V(t)&&i.set(t,a),a}function Wr(e,t,r,n=!1){const{mixins:o,extends:i}=t;i&&Wr(e,i,r,!0),o&&o.forEach(s=>Wr(e,s,r,!0));for(const s in t)if(!(n&&s==="expose")){const l=uc[s]||r&&r[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const uc={data:li,props:dt,emits:dt,methods:dt,computed:dt,beforeCreate:ce,created:ce,beforeMount:ce,mounted:ce,beforeUpdate:ce,updated:ce,beforeDestroy:ce,beforeUnmount:ce,destroyed:ce,unmounted:ce,activated:ce,deactivated:ce,errorCaptured:ce,serverPrefetch:ce,components:dt,directives:dt,watch:dc,provide:li,inject:fc};function li(e,t){return t?e?function(){return fe($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function fc(e,t){return dt(zn(e),zn(t))}function zn(e){if(M(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function ce(e,t){return e?[...new Set([].concat(e,t))]:t}function dt(e,t){return e?fe(fe(Object.create(null),e),t):t}function dc(e,t){if(!e)return t;if(!t)return e;const r=fe(Object.create(null),e);for(const n in t)r[n]=ce(e[n],t[n]);return r}function pc(e,t,r,n=!1){const o={},i={};Ur(i,sn,1),e.propsDefaults=Object.create(null),Bs(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);r?e.props=n?o:Ea(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function hc(e,t,r,n){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=H(o),[a]=e.propsOptions;let c=!1;if((n||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let p=0;p<u.length;p++){let h=u[p];if(tn(e.emitsOptions,h))continue;const b=t[h];if(a)if(U(i,h))b!==i[h]&&(i[h]=b,c=!0);else{const y=He(h);o[y]=qn(a,l,y,b,e,!1)}else b!==i[h]&&(i[h]=b,c=!0)}}}else{Bs(e,t,o,i)&&(c=!0);let u;for(const p in l)(!t||!U(t,p)&&((u=Ht(p))===p||!U(t,u)))&&(a?r&&(r[p]!==void 0||r[u]!==void 0)&&(o[p]=qn(a,l,p,void 0,e,!0)):delete o[p]);if(i!==l)for(const p in i)(!t||!U(t,p))&&(delete i[p],c=!0)}c&&Ke(e,"set","$attrs")}function Bs(e,t,r,n){const[o,i]=e.propsOptions;let s=!1,l;if(t)for(let a in t){if(Cr(a))continue;const c=t[a];let u;o&&U(o,u=He(a))?!i||!i.includes(u)?r[u]=c:(l||(l={}))[u]=c:tn(e.emitsOptions,a)||(!(a in n)||c!==n[a])&&(n[a]=c,s=!0)}if(i){const a=H(r),c=l||K;for(let u=0;u<i.length;u++){const p=i[u];r[p]=qn(o,a,p,c[p],e,!U(c,p))}}return s}function qn(e,t,r,n,o,i){const s=e[r];if(s!=null){const l=U(s,"default");if(l&&n===void 0){const a=s.default;if(s.type!==Function&&$(a)){const{propsDefaults:c}=o;r in c?n=c[r]:(Mt(o),n=c[r]=a.call(null,t),vt())}else n=a}s[0]&&(i&&!l?n=!1:s[1]&&(n===""||n===Ht(r))&&(n=!0))}return n}function Ds(e,t,r=!1){const n=t.propsCache,o=n.get(e);if(o)return o;const i=e.props,s={},l=[];let a=!1;if(!$(e)){const u=p=>{a=!0;const[h,b]=Ds(p,t,!0);fe(s,h),b&&l.push(...b)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return V(e)&&n.set(e,Rt),Rt;if(M(i))for(let u=0;u<i.length;u++){const p=He(i[u]);ai(p)&&(s[p]=K)}else if(i)for(const u in i){const p=He(u);if(ai(p)){const h=i[u],b=s[p]=M(h)||$(h)?{type:h}:Object.assign({},h);if(b){const y=fi(Boolean,b.type),E=fi(String,b.type);b[0]=y>-1,b[1]=E<0||y<E,(y>-1||U(b,"default"))&&l.push(p)}}}const c=[s,l];return V(e)&&n.set(e,c),c}function ai(e){return e[0]!=="$"}function ci(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ui(e,t){return ci(e)===ci(t)}function fi(e,t){return M(t)?t.findIndex(r=>ui(r,e)):$(t)&&ui(t,e)?0:-1}const Ls=e=>e[0]==="_"||e==="$stable",Oo=e=>M(e)?e.map(Be):[Be(e)],yc=(e,t,r)=>{if(t._n)return t;const n=La((...o)=>Oo(t(...o)),r);return n._c=!1,n},Us=(e,t,r)=>{const n=e._ctx;for(const o in e){if(Ls(o))continue;const i=e[o];if($(i))t[o]=yc(o,i,n);else if(i!=null){const s=Oo(i);t[o]=()=>s}}},js=(e,t)=>{const r=Oo(t);e.slots.default=()=>r},mc=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=H(t),Ur(t,"_",r)):Us(t,e.slots={})}else e.slots={},t&&js(e,t);Ur(e.slots,sn,1)},gc=(e,t,r)=>{const{vnode:n,slots:o}=e;let i=!0,s=K;if(n.shapeFlag&32){const l=t._;l?r&&l===1?i=!1:(fe(o,t),!r&&l===1&&delete o._):(i=!t.$stable,Us(t,o)),s=t}else t&&(js(e,t),s={default:1});if(i)for(const l in o)!Ls(l)&&!(l in s)&&delete o[l]};function Hs(){return{app:null,config:{isNativeTag:jl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let bc=0;function vc(e,t){return function(n,o=null){$(n)||(n=Object.assign({},n)),o!=null&&!V(o)&&(o=null);const i=Hs(),s=new Set;let l=!1;const a=i.app={_uid:bc++,_component:n,_props:o,_container:null,_context:i,_instance:null,version:Wc,get config(){return i.config},set config(c){},use(c,...u){return s.has(c)||(c&&$(c.install)?(s.add(c),c.install(a,...u)):$(c)&&(s.add(c),c(a,...u))),a},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),a},component(c,u){return u?(i.components[c]=u,a):i.components[c]},directive(c,u){return u?(i.directives[c]=u,a):i.directives[c]},mount(c,u,p){if(!l){const h=X(n,o);return h.appContext=i,u&&t?t(h,c):e(h,c,p),l=!0,a._container=c,c.__vue_app__=a,ln(h.component)||h.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return i.provides[c]=u,a}};return a}}function Kn(e,t,r,n,o=!1){if(M(e)){e.forEach((h,b)=>Kn(h,t&&(M(t)?t[b]:t),r,n,o));return}if(er(n)&&!o)return;const i=n.shapeFlag&4?ln(n.component)||n.component.proxy:n.el,s=o?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===K?l.refs={}:l.refs,p=l.setupState;if(c!=null&&c!==a&&(Z(c)?(u[c]=null,U(p,c)&&(p[c]=null)):se(c)&&(c.value=null)),$(a))rt(a,l,12,[s,u]);else{const h=Z(a),b=se(a);if(h||b){const y=()=>{if(e.f){const E=h?U(p,a)?p[a]:u[a]:a.value;o?M(E)&&ao(E,i):M(E)?E.includes(i)||E.push(i):h?(u[a]=[i],U(p,a)&&(p[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else h?(u[a]=s,U(p,a)&&(p[a]=s)):b&&(a.value=s,e.k&&(u[e.k]=s))};s?(y.id=-1,ye(y,r)):y()}}}const ye=za;function _c(e){return wc(e)}function wc(e,t){const r=Kl();r.__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:p,nextSibling:h,setScopeId:b=Pe,insertStaticContent:y}=e,E=(f,d,m,_=null,v=null,O=null,P=!1,S=null,x=!!d.dynamicChildren)=>{if(f===d)return;f&&!Jt(f,d)&&(_=vr(f),Fe(f,v,O,!0),f=null),d.patchFlag===-2&&(x=!1,d.dynamicChildren=null);const{type:w,ref:T,shapeFlag:R}=d;switch(w){case on:I(f,d,m,_);break;case ot:A(f,d,m,_);break;case bn:f==null&&B(d,m,_,P);break;case we:ne(f,d,m,_,v,O,P,S,x);break;default:R&1?de(f,d,m,_,v,O,P,S,x):R&6?he(f,d,m,_,v,O,P,S,x):(R&64||R&128)&&w.process(f,d,m,_,v,O,P,S,x,St)}T!=null&&v&&Kn(T,f&&f.ref,O,d||f,!d)},I=(f,d,m,_)=>{if(f==null)n(d.el=l(d.children),m,_);else{const v=d.el=f.el;d.children!==f.children&&c(v,d.children)}},A=(f,d,m,_)=>{f==null?n(d.el=a(d.children||""),m,_):d.el=f.el},B=(f,d,m,_)=>{[f.el,f.anchor]=y(f.children,d,m,_,f.el,f.anchor)},F=({el:f,anchor:d},m,_)=>{let v;for(;f&&f!==d;)v=h(f),n(f,m,_),f=v;n(d,m,_)},k=({el:f,anchor:d})=>{let m;for(;f&&f!==d;)m=h(f),o(f),f=m;o(d)},de=(f,d,m,_,v,O,P,S,x)=>{P=P||d.type==="svg",f==null?Ge(d,m,_,v,O,P,S,x):Te(f,d,v,O,P,S,x)},Ge=(f,d,m,_,v,O,P,S)=>{let x,w;const{type:T,props:R,shapeFlag:C,transition:N,dirs:D}=f;if(x=f.el=s(f.type,O,R&&R.is,R),C&8?u(x,f.children):C&16&&re(f.children,x,null,_,v,O&&T!=="foreignObject",P,S),D&&ut(f,null,_,"created"),_e(x,f,f.scopeId,P,_),R){for(const W in R)W!=="value"&&!Cr(W)&&i(x,W,null,R[W],O,f.children,_,v,We);"value"in R&&i(x,"value",null,R.value),(w=R.onVnodeBeforeMount)&&Ne(w,_,f)}D&&ut(f,null,_,"beforeMount");const q=(!v||v&&!v.pendingBranch)&&N&&!N.persisted;q&&N.beforeEnter(x),n(x,d,m),((w=R&&R.onVnodeMounted)||q||D)&&ye(()=>{w&&Ne(w,_,f),q&&N.enter(x),D&&ut(f,null,_,"mounted")},v)},_e=(f,d,m,_,v)=>{if(m&&b(f,m),_)for(let O=0;O<_.length;O++)b(f,_[O]);if(v){let O=v.subTree;if(d===O){const P=v.vnode;_e(f,P,P.scopeId,P.slotScopeIds,v.parent)}}},re=(f,d,m,_,v,O,P,S,x=0)=>{for(let w=x;w<f.length;w++){const T=f[w]=S?Ye(f[w]):Be(f[w]);E(null,T,d,m,_,v,O,P,S)}},Te=(f,d,m,_,v,O,P)=>{const S=d.el=f.el;let{patchFlag:x,dynamicChildren:w,dirs:T}=d;x|=f.patchFlag&16;const R=f.props||K,C=d.props||K;let N;m&&ft(m,!1),(N=C.onVnodeBeforeUpdate)&&Ne(N,m,d,f),T&&ut(d,f,m,"beforeUpdate"),m&&ft(m,!0);const D=v&&d.type!=="foreignObject";if(w?pe(f.dynamicChildren,w,S,m,_,D,O):P||z(f,d,S,null,m,_,D,O,!1),x>0){if(x&16)Ee(S,d,R,C,m,_,v);else if(x&2&&R.class!==C.class&&i(S,"class",null,C.class,v),x&4&&i(S,"style",R.style,C.style,v),x&8){const q=d.dynamicProps;for(let W=0;W<q.length;W++){const Y=q[W],Se=R[Y],Ot=C[Y];(Ot!==Se||Y==="value")&&i(S,Y,Se,Ot,v,f.children,m,_,We)}}x&1&&f.children!==d.children&&u(S,d.children)}else!P&&w==null&&Ee(S,d,R,C,m,_,v);((N=C.onVnodeUpdated)||T)&&ye(()=>{N&&Ne(N,m,d,f),T&&ut(d,f,m,"updated")},_)},pe=(f,d,m,_,v,O,P)=>{for(let S=0;S<d.length;S++){const x=f[S],w=d[S],T=x.el&&(x.type===we||!Jt(x,w)||x.shapeFlag&70)?p(x.el):m;E(x,w,T,null,_,v,O,P,!0)}},Ee=(f,d,m,_,v,O,P)=>{if(m!==_){if(m!==K)for(const S in m)!Cr(S)&&!(S in _)&&i(f,S,m[S],null,P,d.children,v,O,We);for(const S in _){if(Cr(S))continue;const x=_[S],w=m[S];x!==w&&S!=="value"&&i(f,S,w,x,P,d.children,v,O,We)}"value"in _&&i(f,"value",m.value,_.value)}},ne=(f,d,m,_,v,O,P,S,x)=>{const w=d.el=f?f.el:l(""),T=d.anchor=f?f.anchor:l("");let{patchFlag:R,dynamicChildren:C,slotScopeIds:N}=d;N&&(S=S?S.concat(N):N),f==null?(n(w,m,_),n(T,m,_),re(d.children,m,T,v,O,P,S,x)):R>0&&R&64&&C&&f.dynamicChildren?(pe(f.dynamicChildren,C,m,v,O,P,S),(d.key!=null||v&&d===v.subTree)&&Ws(f,d,!0)):z(f,d,m,T,v,O,P,S,x)},he=(f,d,m,_,v,O,P,S,x)=>{d.slotScopeIds=S,f==null?d.shapeFlag&512?v.ctx.activate(d,m,_,P,x):Ce(d,m,_,v,O,P,x):lt(f,d,x)},Ce=(f,d,m,_,v,O,P)=>{const S=f.component=Ic(f,_,v);if(wo(f)&&(S.ctx.renderer=St),Nc(S),S.asyncDep){if(v&&v.registerDep(S,J),!f.el){const x=S.subTree=X(ot);A(null,x,d,m)}return}J(S,f,d,m,v,O,P)},lt=(f,d,m)=>{const _=d.component=f.component;if(Ha(f,d,m))if(_.asyncDep&&!_.asyncResolved){G(_,d,m);return}else _.next=d,Ia(_.update),_.update();else d.el=f.el,_.vnode=d},J=(f,d,m,_,v,O,P)=>{const S=()=>{if(f.isMounted){let{next:T,bu:R,u:C,parent:N,vnode:D}=f,q=T,W;ft(f,!1),T?(T.el=D.el,G(f,T,P)):T=D,R&&Fr(R),(W=T.props&&T.props.onVnodeBeforeUpdate)&&Ne(W,N,T,D),ft(f,!0);const Y=yn(f),Se=f.subTree;f.subTree=Y,E(Se,Y,p(Se.el),vr(Se),f,v,O),T.el=Y.el,q===null&&Wa(f,Y.el),C&&ye(C,v),(W=T.props&&T.props.onVnodeUpdated)&&ye(()=>Ne(W,N,T,D),v)}else{let T;const{el:R,props:C}=d,{bm:N,m:D,parent:q}=f,W=er(d);if(ft(f,!1),N&&Fr(N),!W&&(T=C&&C.onVnodeBeforeMount)&&Ne(T,q,d),ft(f,!0),R&&pn){const Y=()=>{f.subTree=yn(f),pn(R,f.subTree,f,v,null)};W?d.type.__asyncLoader().then(()=>!f.isUnmounted&&Y()):Y()}else{const Y=f.subTree=yn(f);E(null,Y,m,_,f,v,O),d.el=Y.el}if(D&&ye(D,v),!W&&(T=C&&C.onVnodeMounted)){const Y=d;ye(()=>Ne(T,q,Y),v)}(d.shapeFlag&256||q&&er(q.vnode)&&q.vnode.shapeFlag&256)&&f.a&&ye(f.a,v),f.isMounted=!0,d=m=_=null}},x=f.effect=new po(S,()=>en(w),f.scope),w=f.update=()=>x.run();w.id=f.uid,ft(f,!0),w()},G=(f,d,m)=>{d.component=f;const _=f.vnode.props;f.vnode=d,f.next=null,hc(f,d.props,_,m),gc(f,d.children,m),Wt(),ni(),kt()},z=(f,d,m,_,v,O,P,S,x=!1)=>{const w=f&&f.children,T=f?f.shapeFlag:0,R=d.children,{patchFlag:C,shapeFlag:N}=d;if(C>0){if(C&128){br(w,R,m,_,v,O,P,S,x);return}else if(C&256){at(w,R,m,_,v,O,P,S,x);return}}N&8?(T&16&&We(w,v,O),R!==w&&u(m,R)):T&16?N&16?br(w,R,m,_,v,O,P,S,x):We(w,v,O,!0):(T&8&&u(m,""),N&16&&re(R,m,_,v,O,P,S,x))},at=(f,d,m,_,v,O,P,S,x)=>{f=f||Rt,d=d||Rt;const w=f.length,T=d.length,R=Math.min(w,T);let C;for(C=0;C<R;C++){const N=d[C]=x?Ye(d[C]):Be(d[C]);E(f[C],N,m,null,v,O,P,S,x)}w>T?We(f,v,O,!0,!1,R):re(d,m,_,v,O,P,S,x,R)},br=(f,d,m,_,v,O,P,S,x)=>{let w=0;const T=d.length;let R=f.length-1,C=T-1;for(;w<=R&&w<=C;){const N=f[w],D=d[w]=x?Ye(d[w]):Be(d[w]);if(Jt(N,D))E(N,D,m,null,v,O,P,S,x);else break;w++}for(;w<=R&&w<=C;){const N=f[R],D=d[C]=x?Ye(d[C]):Be(d[C]);if(Jt(N,D))E(N,D,m,null,v,O,P,S,x);else break;R--,C--}if(w>R){if(w<=C){const N=C+1,D=N<T?d[N].el:_;for(;w<=C;)E(null,d[w]=x?Ye(d[w]):Be(d[w]),m,D,v,O,P,S,x),w++}}else if(w>C)for(;w<=R;)Fe(f[w],v,O,!0),w++;else{const N=w,D=w,q=new Map;for(w=D;w<=C;w++){const ge=d[w]=x?Ye(d[w]):Be(d[w]);ge.key!=null&&q.set(ge.key,w)}let W,Y=0;const Se=C-D+1;let Ot=!1,qo=0;const Vt=new Array(Se);for(w=0;w<Se;w++)Vt[w]=0;for(w=N;w<=R;w++){const ge=f[w];if(Y>=Se){Fe(ge,v,O,!0);continue}let Ie;if(ge.key!=null)Ie=q.get(ge.key);else for(W=D;W<=C;W++)if(Vt[W-D]===0&&Jt(ge,d[W])){Ie=W;break}Ie===void 0?Fe(ge,v,O,!0):(Vt[Ie-D]=w+1,Ie>=qo?qo=Ie:Ot=!0,E(ge,d[Ie],m,null,v,O,P,S,x),Y++)}const Ko=Ot?Ec(Vt):Rt;for(W=Ko.length-1,w=Se-1;w>=0;w--){const ge=D+w,Ie=d[ge],Vo=ge+1<T?d[ge+1].el:_;Vt[w]===0?E(null,Ie,m,Vo,v,O,P,S,x):Ot&&(W<0||w!==Ko[W]?ct(Ie,m,Vo,2):W--)}}},ct=(f,d,m,_,v=null)=>{const{el:O,type:P,transition:S,children:x,shapeFlag:w}=f;if(w&6){ct(f.component.subTree,d,m,_);return}if(w&128){f.suspense.move(d,m,_);return}if(w&64){P.move(f,d,m,St);return}if(P===we){n(O,d,m);for(let R=0;R<x.length;R++)ct(x[R],d,m,_);n(f.anchor,d,m);return}if(P===bn){F(f,d,m);return}if(_!==2&&w&1&&S)if(_===0)S.beforeEnter(O),n(O,d,m),ye(()=>S.enter(O),v);else{const{leave:R,delayLeave:C,afterLeave:N}=S,D=()=>n(O,d,m),q=()=>{R(O,()=>{D(),N&&N()})};C?C(O,D,q):q()}else n(O,d,m)},Fe=(f,d,m,_=!1,v=!1)=>{const{type:O,props:P,ref:S,children:x,dynamicChildren:w,shapeFlag:T,patchFlag:R,dirs:C}=f;if(S!=null&&Kn(S,null,m,f,!0),T&256){d.ctx.deactivate(f);return}const N=T&1&&C,D=!er(f);let q;if(D&&(q=P&&P.onVnodeBeforeUnmount)&&Ne(q,d,f),T&6)Fl(f.component,m,_);else{if(T&128){f.suspense.unmount(m,_);return}N&&ut(f,null,d,"beforeUnmount"),T&64?f.type.remove(f,d,m,v,St,_):w&&(O!==we||R>0&&R&64)?We(w,d,m,!1,!0):(O===we&&R&384||!v&&T&16)&&We(x,d,m),_&&ko(f)}(D&&(q=P&&P.onVnodeUnmounted)||N)&&ye(()=>{q&&Ne(q,d,f),N&&ut(f,null,d,"unmounted")},m)},ko=f=>{const{type:d,el:m,anchor:_,transition:v}=f;if(d===we){Cl(m,_);return}if(d===bn){k(f);return}const O=()=>{o(m),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(f.shapeFlag&1&&v&&!v.persisted){const{leave:P,delayLeave:S}=v,x=()=>P(m,O);S?S(f.el,O,x):x()}else O()},Cl=(f,d)=>{let m;for(;f!==d;)m=h(f),o(f),f=m;o(d)},Fl=(f,d,m)=>{const{bum:_,scope:v,update:O,subTree:P,um:S}=f;_&&Fr(_),v.stop(),O&&(O.active=!1,Fe(P,f,d,m)),S&&ye(S,d),ye(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},We=(f,d,m,_=!1,v=!1,O=0)=>{for(let P=O;P<f.length;P++)Fe(f[P],d,m,_,v)},vr=f=>f.shapeFlag&6?vr(f.component.subTree):f.shapeFlag&128?f.suspense.next():h(f.anchor||f.el),zo=(f,d,m)=>{f==null?d._vnode&&Fe(d._vnode,null,null,!0):E(d._vnode||null,f,d,null,null,null,m),ni(),As(),d._vnode=f},St={p:E,um:Fe,m:ct,r:ko,mt:Ce,mc:re,pc:z,pbc:pe,n:vr,o:e};let dn,pn;return t&&([dn,pn]=t(St)),{render:zo,hydrate:dn,createApp:vc(zo,dn)}}function ft({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function Ws(e,t,r=!1){const n=e.children,o=t.children;if(M(n)&&M(o))for(let i=0;i<n.length;i++){const s=n[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=Ye(o[i]),l.el=s.el),r||Ws(s,l)),l.type===on&&(l.el=s.el)}}function Ec(e){const t=e.slice(),r=[0];let n,o,i,s,l;const a=e.length;for(n=0;n<a;n++){const c=e[n];if(c!==0){if(o=r[r.length-1],e[o]<c){t[n]=o,r.push(n);continue}for(i=0,s=r.length-1;i<s;)l=i+s>>1,e[r[l]]<c?i=l+1:s=l;c<e[r[i]]&&(i>0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,s=r[i-1];i-- >0;)r[i]=s,s=t[s];return r}const Sc=e=>e.__isTeleport,we=Symbol(void 0),on=Symbol(void 0),ot=Symbol(void 0),bn=Symbol(void 0),rr=[];let Ae=null;function ve(e=!1){rr.push(Ae=e?null:[])}function Oc(){rr.pop(),Ae=rr[rr.length-1]||null}let ur=1;function di(e){ur+=e}function ks(e){return e.dynamicChildren=ur>0?Ae||Rt:null,Oc(),ur>0&&Ae&&Ae.push(e),e}function Me(e,t,r,n,o,i){return ks(be(e,t,r,n,o,i,!0))}function xo(e,t,r,n,o){return ks(X(e,t,r,n,o,!0))}function zs(e){return e?e.__v_isVNode===!0:!1}function Jt(e,t){return e.type===t.type&&e.key===t.key}const sn="__vInternal",qs=({key:e})=>e??null,Nr=({ref:e,ref_key:t,ref_for:r})=>e!=null?Z(e)||se(e)||$(e)?{i:le,r:e,k:t,f:!!r}:e:null;function be(e,t=null,r=null,n=0,o=null,i=e===we?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qs(t),ref:t&&Nr(t),scopeId:rn,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:le};return l?(Ao(a,r),i&128&&e.normalize(a)):r&&(a.shapeFlag|=Z(r)?8:16),ur>0&&!s&&Ae&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Ae.push(a),a}const X=xc;function xc(e,t=null,r=null,n=0,o=null,i=!1){if((!e||e===ic)&&(e=ot),zs(e)){const l=$t(e,t,!0);return r&&Ao(l,r),ur>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag|=-2,l}if(Lc(e)&&(e=e.__vccOpts),t){t=Ac(t);let{class:l,style:a}=t;l&&!Z(l)&&(t.class=Jr(l)),V(a)&&(bs(a)&&!M(a)&&(a=fe({},a)),t.style=so(a))}const s=Z(e)?1:ka(e)?128:Sc(e)?64:V(e)?4:$(e)?2:0;return be(e,t,r,n,o,s,i,!0)}function Ac(e){return e?bs(e)||sn in e?fe({},e):e:null}function $t(e,t,r=!1){const{props:n,ref:o,patchFlag:i,children:s}=e,l=t?Tc(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&qs(l),ref:t&&t.ref?r&&o?M(o)?o.concat(Nr(t)):[o,Nr(t)]:Nr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&$t(e.ssContent),ssFallback:e.ssFallback&&$t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Pc(e=" ",t=0){return X(on,null,e,t)}function Rc(e="",t=!1){return t?(ve(),xo(ot,null,e)):X(ot,null,e)}function Be(e){return e==null||typeof e=="boolean"?X(ot):M(e)?X(we,null,e.slice()):typeof e=="object"?Ye(e):X(on,null,String(e))}function Ye(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:$t(e)}function Ao(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(M(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),Ao(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(sn in t)?t._ctx=le:o===3&&le&&(le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:le},r=32):(t=String(t),n&64?(r=16,t=[Pc(t)]):r=8);e.children=t,e.shapeFlag|=r}function Tc(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=Jr([t.class,n.class]));else if(o==="style")t.style=so([t.style,n.style]);else if(Gr(o)){const i=t[o],s=n[o];s&&i!==s&&!(M(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=n[o])}return t}function Ne(e,t,r,n=null){Re(e,t,7,[r,n])}const Cc=Hs();let Fc=0;function Ic(e,t,r){const n=e.type,o=(t?t.appContext:e.appContext)||Cc,i={uid:Fc++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Vl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ds(n,o),emitsOptions:Rs(n,o),emit:null,emitted:null,propsDefaults:K,inheritAttrs:n.inheritAttrs,ctx:K,data:K,props:K,attrs:K,slots:K,refs:K,setupState:K,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Ma.bind(null,i),e.ce&&e.ce(i),i}let Q=null;const Mt=e=>{Q=e,e.scope.on()},vt=()=>{Q&&Q.scope.off(),Q=null};function Ks(e){return e.vnode.shapeFlag&4}let Bt=!1;function Nc(e,t=!1){Bt=t;const{props:r,children:n}=e.vnode,o=Ks(e);pc(e,r,o,t),mc(e,n);const i=o?$c(e,t):void 0;return Bt=!1,i}function $c(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=vs(new Proxy(e.ctx,lc));const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?Bc(e):null;Mt(e),Wt();const i=rt(n,e,0,[e.props,o]);if(kt(),vt(),os(i)){if(i.then(vt,vt),t)return i.then(s=>{pi(e,s,t)}).catch(s=>{dr(s,e,0)});e.asyncDep=i}else pi(e,i,t)}else Vs(e,t)}function pi(e,t,r){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:V(t)&&(e.setupState=Es(t)),Vs(e,r)}let hi;function Vs(e,t,r){const n=e.type;if(!e.render){if(!t&&hi&&!n.render){const o=n.template||So(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=n,c=fe(fe({isCustomElement:i,delimiters:l},s),a);n.render=hi(o,c)}}e.render=n.render||Pe}Mt(e),Wt(),ac(e),kt(),vt()}function Mc(e){return new Proxy(e.attrs,{get(t,r){return me(e,"get","$attrs"),t[r]}})}function Bc(e){const t=n=>{e.exposed=n||{}};let r;return{get attrs(){return r||(r=Mc(e))},slots:e.slots,emit:e.emit,expose:t}}function ln(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Es(vs(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in tr)return tr[r](e)},has(t,r){return r in t||r in tr}}))}function Dc(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function Lc(e){return $(e)&&"__vccOpts"in e}const Uc=(e,t)=>Ra(e,t,Bt),jc=Symbol(""),Hc=()=>Ir(jc),Wc="3.2.47",kc="http://www.w3.org/2000/svg",ht=typeof document<"u"?document:null,yi=ht&&ht.createElement("template"),zc={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t?ht.createElementNS(kc,e):ht.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,i){const s=r?r.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===i||!(o=o.nextSibling)););else{yi.innerHTML=n?`<svg>${e}</svg>`:e;const l=yi.content;if(n){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,r)}return[s?s.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function qc(e,t,r){const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function Kc(e,t,r){const n=e.style,o=Z(r);if(r&&!o){if(t&&!Z(t))for(const i in t)r[i]==null&&Vn(n,i,"");for(const i in r)Vn(n,i,r[i])}else{const i=n.display;o?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=i)}}const mi=/\s*!important$/;function Vn(e,t,r){if(M(r))r.forEach(n=>Vn(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=Vc(e,t);mi.test(r)?e.setProperty(Ht(n),r.replace(mi,""),"important"):e[n]=r}}const gi=["Webkit","Moz","ms"],vn={};function Vc(e,t){const r=vn[t];if(r)return r;let n=He(t);if(n!=="filter"&&n in e)return vn[t]=n;n=Yr(n);for(let o=0;o<gi.length;o++){const i=gi[o]+n;if(i in e)return vn[t]=i}return t}const bi="http://www.w3.org/1999/xlink";function Jc(e,t,r,n,o){if(n&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(bi,t.slice(6,t.length)):e.setAttributeNS(bi,t,r);else{const i=Ul(t);r==null||i&&!ts(r)?e.removeAttribute(t):e.setAttribute(t,i?"":r)}}function Gc(e,t,r,n,o,i,s){if(t==="innerHTML"||t==="textContent"){n&&s(n,o,i),e[t]=r??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=r;const a=r??"";(e.value!==a||e.tagName==="OPTION")&&(e.value=a),r==null&&e.removeAttribute(t);return}let l=!1;if(r===""||r==null){const a=typeof e[t];a==="boolean"?r=ts(r):r==null&&a==="string"?(r="",l=!0):a==="number"&&(r=0,l=!0)}try{e[t]=r}catch{}l&&e.removeAttribute(t)}function At(e,t,r,n){e.addEventListener(t,r,n)}function Qc(e,t,r,n){e.removeEventListener(t,r,n)}function Xc(e,t,r,n,o=null){const i=e._vei||(e._vei={}),s=i[t];if(n&&s)s.value=n;else{const[l,a]=Yc(t);if(n){const c=i[t]=tu(n,o);At(e,l,c,a)}else s&&(Qc(e,l,s,a),i[t]=void 0)}}const vi=/(?:Once|Passive|Capture)$/;function Yc(e){let t;if(vi.test(e)){t={};let n;for(;n=e.match(vi);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ht(e.slice(2)),t]}let _n=0;const Zc=Promise.resolve(),eu=()=>_n||(Zc.then(()=>_n=0),_n=Date.now());function tu(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Re(ru(n,r.value),t,5,[n])};return r.value=e,r.attached=eu(),r}function ru(e,t){if(M(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const _i=/^on[a-z]/,nu=(e,t,r,n,o=!1,i,s,l,a)=>{t==="class"?qc(e,n,o):t==="style"?Kc(e,r,n):Gr(t)?lo(t)||Xc(e,t,r,n,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ou(e,t,n,o))?Gc(e,t,n,i,s,l,a):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Jc(e,t,n,o))};function ou(e,t,r,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&_i.test(t)&&$(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||_i.test(t)&&Z(r)?!1:t in e}const wi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return M(t)?r=>Fr(t,r):t};function iu(e){e.target.composing=!0}function Ei(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const su={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e._assign=wi(o);const i=n||o.props&&o.props.type==="number";At(e,t?"change":"input",s=>{if(s.target.composing)return;let l=e.value;r&&(l=l.trim()),i&&(l=Mn(l)),e._assign(l)}),r&&At(e,"change",()=>{e.value=e.value.trim()}),t||(At(e,"compositionstart",iu),At(e,"compositionend",Ei),At(e,"change",Ei))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:o}},i){if(e._assign=wi(i),e.composing||document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===t||(o||e.type==="number")&&Mn(e.value)===t))return;const s=t??"";e.value!==s&&(e.value=s)}},lu=["ctrl","shift","alt","meta"],au={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>lu.some(r=>e[`${r}Key`]&&!t.includes(r))},Si=(e,t)=>(r,...n)=>{for(let o=0;o<t.length;o++){const i=au[t[o]];if(i&&i(r,t))return}return e(r,...n)},Oi={beforeMount(e,{value:t},{transition:r}){e._vod=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Gt(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Gt(e,!0),n.enter(e)):n.leave(e,()=>{Gt(e,!1)}):Gt(e,t))},beforeUnmount(e,{value:t}){Gt(e,t)}};function Gt(e,t){e.style.display=t?e._vod:"none"}const cu=fe({patchProp:nu},zc);let xi;function uu(){return xi||(xi=_c(cu))}const Et=(...e)=>{const t=uu().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=fu(n);if(!o)return;const i=t._component;!$(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=r(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function fu(e){return Z(e)?document.querySelector(e):e}var ph=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function du(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var o=[null];o.push.apply(o,arguments);var i=Function.bind.apply(t,o);return new i}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var pu=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==o||s.enumerable!==!0)return!1}return!0},Ai=typeof Symbol<"u"&&Symbol,hu=pu,yu=function(){return typeof Ai!="function"||typeof Symbol!="function"||typeof Ai("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hu()},mu="Function.prototype.bind called on incompatible ",wn=Array.prototype.slice,gu=Object.prototype.toString,bu="[object Function]",vu=function(t){var r=this;if(typeof r!="function"||gu.call(r)!==bu)throw new TypeError(mu+r);for(var n=wn.call(arguments,1),o,i=function(){if(this instanceof o){var u=r.apply(this,n.concat(wn.call(arguments)));return Object(u)===u?u:this}else return r.apply(t,n.concat(wn.call(arguments)))},s=Math.max(0,r.length-n.length),l=[],a=0;a<s;a++)l.push("$"+a);if(o=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var c=function(){};c.prototype=r.prototype,o.prototype=new c,c.prototype=null}return o},_u=vu,Po=Function.prototype.bind||_u,wu=Po,Eu=wu.call(Function.call,Object.prototype.hasOwnProperty),L,Dt=SyntaxError,Js=Function,It=TypeError,En=function(e){try{return Js('"use strict"; return ('+e+").constructor;")()}catch{}},_t=Object.getOwnPropertyDescriptor;if(_t)try{_t({},"")}catch{_t=null}var Sn=function(){throw new It},Su=_t?function(){try{return arguments.callee,Sn}catch{try{return _t(arguments,"callee").get}catch{return Sn}}}():Sn,xt=yu(),De=Object.getPrototypeOf||function(e){return e.__proto__},Pt={},Ou=typeof Uint8Array>"u"?L:De(Uint8Array),wt={"%AggregateError%":typeof AggregateError>"u"?L:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?L:ArrayBuffer,"%ArrayIteratorPrototype%":xt?De([][Symbol.iterator]()):L,"%AsyncFromSyncIteratorPrototype%":L,"%AsyncFunction%":Pt,"%AsyncGenerator%":Pt,"%AsyncGeneratorFunction%":Pt,"%AsyncIteratorPrototype%":Pt,"%Atomics%":typeof Atomics>"u"?L:Atomics,"%BigInt%":typeof BigInt>"u"?L:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?L:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?L:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?L:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?L:Float32Array,"%Float64Array%":typeof Float64Array>"u"?L:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?L:FinalizationRegistry,"%Function%":Js,"%GeneratorFunction%":Pt,"%Int8Array%":typeof Int8Array>"u"?L:Int8Array,"%Int16Array%":typeof Int16Array>"u"?L:Int16Array,"%Int32Array%":typeof Int32Array>"u"?L:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":xt?De(De([][Symbol.iterator]())):L,"%JSON%":typeof JSON=="object"?JSON:L,"%Map%":typeof Map>"u"?L:Map,"%MapIteratorPrototype%":typeof Map>"u"||!xt?L:De(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?L:Promise,"%Proxy%":typeof Proxy>"u"?L:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?L:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?L:Set,"%SetIteratorPrototype%":typeof Set>"u"||!xt?L:De(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?L:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":xt?De(""[Symbol.iterator]()):L,"%Symbol%":xt?Symbol:L,"%SyntaxError%":Dt,"%ThrowTypeError%":Su,"%TypedArray%":Ou,"%TypeError%":It,"%Uint8Array%":typeof Uint8Array>"u"?L:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?L:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?L:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?L:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?L:WeakMap,"%WeakRef%":typeof WeakRef>"u"?L:WeakRef,"%WeakSet%":typeof WeakSet>"u"?L:WeakSet};try{null.error}catch(e){var xu=De(De(e));wt["%Error.prototype%"]=xu}var Au=function e(t){var r;if(t==="%AsyncFunction%")r=En("async function () {}");else if(t==="%GeneratorFunction%")r=En("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=En("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&(r=De(o.prototype))}return wt[t]=r,r},Pi={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},yr=Po,kr=Eu,Pu=yr.call(Function.call,Array.prototype.concat),Ru=yr.call(Function.apply,Array.prototype.splice),Ri=yr.call(Function.call,String.prototype.replace),zr=yr.call(Function.call,String.prototype.slice),Tu=yr.call(Function.call,RegExp.prototype.exec),Cu=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Fu=/\\(\\)?/g,Iu=function(t){var r=zr(t,0,1),n=zr(t,-1);if(r==="%"&&n!=="%")throw new Dt("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Dt("invalid intrinsic syntax, expected opening `%`");var o=[];return Ri(t,Cu,function(i,s,l,a){o[o.length]=l?Ri(a,Fu,"$1"):s||i}),o},Nu=function(t,r){var n=t,o;if(kr(Pi,n)&&(o=Pi[n],n="%"+o[0]+"%"),kr(wt,n)){var i=wt[n];if(i===Pt&&(i=Au(n)),typeof i>"u"&&!r)throw new It("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new Dt("intrinsic "+t+" does not exist!")},Ro=function(t,r){if(typeof t!="string"||t.length===0)throw new It("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new It('"allowMissing" argument must be a boolean');if(Tu(/^%?[^%]*%?$/,t)===null)throw new Dt("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Iu(t),o=n.length>0?n[0]:"",i=Nu("%"+o+"%",r),s=i.name,l=i.value,a=!1,c=i.alias;c&&(o=c[0],Ru(n,Pu([0,1],c)));for(var u=1,p=!0;u<n.length;u+=1){var h=n[u],b=zr(h,0,1),y=zr(h,-1);if((b==='"'||b==="'"||b==="`"||y==='"'||y==="'"||y==="`")&&b!==y)throw new Dt("property names with quotes must have matching quotes");if((h==="constructor"||!p)&&(a=!0),o+="."+h,s="%"+o+"%",kr(wt,s))l=wt[s];else if(l!=null){if(!(h in l)){if(!r)throw new It("base intrinsic for "+t+" exists, but the property is not available.");return}if(_t&&u+1>=n.length){var E=_t(l,h);p=!!E,p&&"get"in E&&!("originalValue"in E.get)?l=E.get:l=l[h]}else p=kr(l,h),l=l[h];p&&!a&&(wt[s]=l)}}return l},Jn={},$u={get exports(){return Jn},set exports(e){Jn=e}};(function(e){var t=Po,r=Ro,n=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||t.call(o,n),s=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),a=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}e.exports=function(p){var h=i(t,o,arguments);if(s&&l){var b=s(h,"length");b.configurable&&l(h,"length",{value:1+a(0,p.length-(arguments.length-1))})}return h};var c=function(){return i(t,n,arguments)};l?l(e.exports,"apply",{value:c}):e.exports.apply=c})($u);var Gs=Ro,Qs=Jn,Mu=Qs(Gs("String.prototype.indexOf")),Bu=function(t,r){var n=Gs(t,!!r);return typeof n=="function"&&Mu(t,".prototype.")>-1?Qs(n):n};const Du={},Lu=Object.freeze(Object.defineProperty({__proto__:null,default:Du},Symbol.toStringTag,{value:"Module"})),Uu=du(Lu);var To=typeof Map=="function"&&Map.prototype,On=Object.getOwnPropertyDescriptor&&To?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,qr=To&&On&&typeof On.get=="function"?On.get:null,Ti=To&&Map.prototype.forEach,Co=typeof Set=="function"&&Set.prototype,xn=Object.getOwnPropertyDescriptor&&Co?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Kr=Co&&xn&&typeof xn.get=="function"?xn.get:null,Ci=Co&&Set.prototype.forEach,ju=typeof WeakMap=="function"&&WeakMap.prototype,nr=ju?WeakMap.prototype.has:null,Hu=typeof WeakSet=="function"&&WeakSet.prototype,or=Hu?WeakSet.prototype.has:null,Wu=typeof WeakRef=="function"&&WeakRef.prototype,Fi=Wu?WeakRef.prototype.deref:null,ku=Boolean.prototype.valueOf,zu=Object.prototype.toString,qu=Function.prototype.toString,Ku=String.prototype.match,Fo=String.prototype.slice,et=String.prototype.replace,Vu=String.prototype.toUpperCase,Ii=String.prototype.toLowerCase,Xs=RegExp.prototype.test,Ni=Array.prototype.concat,Le=Array.prototype.join,Ju=Array.prototype.slice,$i=Math.floor,Gn=typeof BigInt=="function"?BigInt.prototype.valueOf:null,An=Object.getOwnPropertySymbols,Qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Lt=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ae=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Lt||"symbol")?Symbol.toStringTag:null,Ys=Object.prototype.propertyIsEnumerable,Mi=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Bi(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Xs.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-$i(-e):$i(e);if(n!==e){var o=String(n),i=Fo.call(t,o.length+1);return et.call(o,r,"$&_")+"."+et.call(et.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return et.call(t,r,"$&_")}var Xn=Uu,Di=Xn.custom,Li=el(Di)?Di:null,Gu=function e(t,r,n,o){var i=r||{};if(Ze(i,"quoteStyle")&&i.quoteStyle!=="single"&&i.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ze(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=Ze(i,"customInspect")?i.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ze(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ze(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=i.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return rl(t,i);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var a=String(t);return l?Bi(t,a):a}if(typeof t=="bigint"){var c=String(t)+"n";return l?Bi(t,c):c}var u=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=u&&u>0&&typeof t=="object")return Yn(t)?"[Array]":"[Object]";var p=hf(i,n);if(typeof o>"u")o=[];else if(tl(o,t)>=0)return"[Circular]";function h(he,Ce,lt){if(Ce&&(o=Ju.call(o),o.push(Ce)),lt){var J={depth:i.depth};return Ze(i,"quoteStyle")&&(J.quoteStyle=i.quoteStyle),e(he,J,n+1,o)}return e(he,i,n+1,o)}if(typeof t=="function"&&!Ui(t)){var b=of(t),y=Ar(t,h);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(y.length>0?" { "+Le.call(y,", ")+" }":"")}if(el(t)){var E=Lt?et.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Qn.call(t);return typeof t=="object"&&!Lt?Qt(E):E}if(ff(t)){for(var I="<"+Ii.call(String(t.nodeName)),A=t.attributes||[],B=0;B<A.length;B++)I+=" "+A[B].name+"="+Zs(Qu(A[B].value),"double",i);return I+=">",t.childNodes&&t.childNodes.length&&(I+="..."),I+="</"+Ii.call(String(t.nodeName))+">",I}if(Yn(t)){if(t.length===0)return"[]";var F=Ar(t,h);return p&&!pf(F)?"["+Zn(F,p)+"]":"[ "+Le.call(F,", ")+" ]"}if(Yu(t)){var k=Ar(t,h);return!("cause"in Error.prototype)&&"cause"in t&&!Ys.call(t,"cause")?"{ ["+String(t)+"] "+Le.call(Ni.call("[cause]: "+h(t.cause),k),", ")+" }":k.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Le.call(k,", ")+" }"}if(typeof t=="object"&&s){if(Li&&typeof t[Li]=="function"&&Xn)return Xn(t,{depth:u-n});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(sf(t)){var de=[];return Ti&&Ti.call(t,function(he,Ce){de.push(h(Ce,t,!0)+" => "+h(he,t))}),ji("Map",qr.call(t),de,p)}if(cf(t)){var Ge=[];return Ci&&Ci.call(t,function(he){Ge.push(h(he,t))}),ji("Set",Kr.call(t),Ge,p)}if(lf(t))return Pn("WeakMap");if(uf(t))return Pn("WeakSet");if(af(t))return Pn("WeakRef");if(ef(t))return Qt(h(Number(t)));if(rf(t))return Qt(h(Gn.call(t)));if(tf(t))return Qt(ku.call(t));if(Zu(t))return Qt(h(String(t)));if(!Xu(t)&&!Ui(t)){var _e=Ar(t,h),re=Mi?Mi(t)===Object.prototype:t instanceof Object||t.constructor===Object,Te=t instanceof Object?"":"null prototype",pe=!re&&ae&&Object(t)===t&&ae in t?Fo.call(st(t),8,-1):Te?"Object":"",Ee=re||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",ne=Ee+(pe||Te?"["+Le.call(Ni.call([],pe||[],Te||[]),": ")+"] ":"");return _e.length===0?ne+"{}":p?ne+"{"+Zn(_e,p)+"}":ne+"{ "+Le.call(_e,", ")+" }"}return String(t)};function Zs(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function Qu(e){return et.call(String(e),/"/g,"&quot;")}function Yn(e){return st(e)==="[object Array]"&&(!ae||!(typeof e=="object"&&ae in e))}function Xu(e){return st(e)==="[object Date]"&&(!ae||!(typeof e=="object"&&ae in e))}function Ui(e){return st(e)==="[object RegExp]"&&(!ae||!(typeof e=="object"&&ae in e))}function Yu(e){return st(e)==="[object Error]"&&(!ae||!(typeof e=="object"&&ae in e))}function Zu(e){return st(e)==="[object String]"&&(!ae||!(typeof e=="object"&&ae in e))}function ef(e){return st(e)==="[object Number]"&&(!ae||!(typeof e=="object"&&ae in e))}function tf(e){return st(e)==="[object Boolean]"&&(!ae||!(typeof e=="object"&&ae in e))}function el(e){if(Lt)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Qn)return!1;try{return Qn.call(e),!0}catch{}return!1}function rf(e){if(!e||typeof e!="object"||!Gn)return!1;try{return Gn.call(e),!0}catch{}return!1}var nf=Object.prototype.hasOwnProperty||function(e){return e in this};function Ze(e,t){return nf.call(e,t)}function st(e){return zu.call(e)}function of(e){if(e.name)return e.name;var t=Ku.call(qu.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function tl(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function sf(e){if(!qr||!e||typeof e!="object")return!1;try{qr.call(e);try{Kr.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function lf(e){if(!nr||!e||typeof e!="object")return!1;try{nr.call(e,nr);try{or.call(e,or)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function af(e){if(!Fi||!e||typeof e!="object")return!1;try{return Fi.call(e),!0}catch{}return!1}function cf(e){if(!Kr||!e||typeof e!="object")return!1;try{Kr.call(e);try{qr.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function uf(e){if(!or||!e||typeof e!="object")return!1;try{or.call(e,or);try{nr.call(e,nr)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function ff(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function rl(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return rl(Fo.call(e,0,t.maxStringLength),t)+n}var o=et.call(et.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,df);return Zs(o,"single",t)}function df(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+Vu.call(t.toString(16))}function Qt(e){return"Object("+e+")"}function Pn(e){return e+" { ? }"}function ji(e,t,r,n){var o=n?Zn(r,n):Le.call(r,", ");return e+" ("+t+") {"+o+"}"}function pf(e){for(var t=0;t<e.length;t++)if(tl(e[t],`
`)>=0)return!1;return!0}function hf(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Le.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Le.call(Array(t+1),r)}}function Zn(e,t){if(e.length===0)return"";var r=`
`+t.prev+t.base;return r+Le.call(e,","+r)+`
`+t.prev}function Ar(e,t){var r=Yn(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=Ze(e,o)?t(e[o],e):""}var i=typeof An=="function"?An(e):[],s;if(Lt){s={};for(var l=0;l<i.length;l++)s["$"+i[l]]=i[l]}for(var a in e)Ze(e,a)&&(r&&String(Number(a))===a&&a<e.length||Lt&&s["$"+a]instanceof Symbol||(Xs.call(/[^\w$]/,a)?n.push(t(a,e)+": "+t(e[a],e)):n.push(a+": "+t(e[a],e))));if(typeof An=="function")for(var c=0;c<i.length;c++)Ys.call(e,i[c])&&n.push("["+t(i[c])+"]: "+t(e[i[c]],e));return n}var Io=Ro,zt=Bu,yf=Gu,mf=Io("%TypeError%"),Pr=Io("%WeakMap%",!0),Rr=Io("%Map%",!0),gf=zt("WeakMap.prototype.get",!0),bf=zt("WeakMap.prototype.set",!0),vf=zt("WeakMap.prototype.has",!0),_f=zt("Map.prototype.get",!0),wf=zt("Map.prototype.set",!0),Ef=zt("Map.prototype.has",!0),No=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},Sf=function(e,t){var r=No(e,t);return r&&r.value},Of=function(e,t,r){var n=No(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},xf=function(e,t){return!!No(e,t)},Af=function(){var t,r,n,o={assert:function(i){if(!o.has(i))throw new mf("Side channel does not contain "+yf(i))},get:function(i){if(Pr&&i&&(typeof i=="object"||typeof i=="function")){if(t)return gf(t,i)}else if(Rr){if(r)return _f(r,i)}else if(n)return Sf(n,i)},has:function(i){if(Pr&&i&&(typeof i=="object"||typeof i=="function")){if(t)return vf(t,i)}else if(Rr){if(r)return Ef(r,i)}else if(n)return xf(n,i);return!1},set:function(i,s){Pr&&i&&(typeof i=="object"||typeof i=="function")?(t||(t=new Pr),bf(t,i,s)):Rr?(r||(r=new Rr),wf(r,i,s)):(n||(n={key:{},next:null}),Of(n,i,s))}};return o},Pf=String.prototype.replace,Rf=/%20/g,Rn={RFC1738:"RFC1738",RFC3986:"RFC3986"},$o={default:Rn.RFC3986,formatters:{RFC1738:function(e){return Pf.call(e,Rf,"+")},RFC3986:function(e){return String(e)}},RFC1738:Rn.RFC1738,RFC3986:Rn.RFC3986},Tf=$o,Tn=Object.prototype.hasOwnProperty,yt=Array.isArray,$e=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Cf=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(yt(n)){for(var o=[],i=0;i<n.length;++i)typeof n[i]<"u"&&o.push(n[i]);r.obj[r.prop]=o}}},nl=function(t,r){for(var n=r&&r.plainObjects?Object.create(null):{},o=0;o<t.length;++o)typeof t[o]<"u"&&(n[o]=t[o]);return n},Ff=function e(t,r,n){if(!r)return t;if(typeof r!="object"){if(yt(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Tn.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var o=t;return yt(t)&&!yt(r)&&(o=nl(t,n)),yt(t)&&yt(r)?(r.forEach(function(i,s){if(Tn.call(t,s)){var l=t[s];l&&typeof l=="object"&&i&&typeof i=="object"?t[s]=e(l,i,n):t.push(i)}else t[s]=i}),t):Object.keys(r).reduce(function(i,s){var l=r[s];return Tn.call(i,s)?i[s]=e(i[s],l,n):i[s]=l,i},o)},If=function(t,r){return Object.keys(r).reduce(function(n,o){return n[o]=r[o],n},t)},Nf=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},$f=function(t,r,n,o,i){if(t.length===0)return t;var s=t;if(typeof t=="symbol"?s=Symbol.prototype.toString.call(t):typeof t!="string"&&(s=String(t)),n==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(u){return"%26%23"+parseInt(u.slice(2),16)+"%3B"});for(var l="",a=0;a<s.length;++a){var c=s.charCodeAt(a);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===Tf.RFC1738&&(c===40||c===41)){l+=s.charAt(a);continue}if(c<128){l=l+$e[c];continue}if(c<2048){l=l+($e[192|c>>6]+$e[128|c&63]);continue}if(c<55296||c>=57344){l=l+($e[224|c>>12]+$e[128|c>>6&63]+$e[128|c&63]);continue}a+=1,c=65536+((c&1023)<<10|s.charCodeAt(a)&1023),l+=$e[240|c>>18]+$e[128|c>>12&63]+$e[128|c>>6&63]+$e[128|c&63]}return l},Mf=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],o=0;o<r.length;++o)for(var i=r[o],s=i.obj[i.prop],l=Object.keys(s),a=0;a<l.length;++a){var c=l[a],u=s[c];typeof u=="object"&&u!==null&&n.indexOf(u)===-1&&(r.push({obj:s,prop:c}),n.push(u))}return Cf(r),t},Bf=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},Df=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},Lf=function(t,r){return[].concat(t,r)},Uf=function(t,r){if(yt(t)){for(var n=[],o=0;o<t.length;o+=1)n.push(r(t[o]));return n}return r(t)},ol={arrayToObject:nl,assign:If,combine:Lf,compact:Mf,decode:Nf,encode:$f,isBuffer:Df,isRegExp:Bf,maybeMap:Uf,merge:Ff},il=Af,$r=ol,ir=$o,jf=Object.prototype.hasOwnProperty,Hi={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},ze=Array.isArray,Hf=Array.prototype.push,sl=function(e,t){Hf.apply(e,ze(t)?t:[t])},Wf=Date.prototype.toISOString,Wi=ir.default,oe={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:$r.encode,encodeValuesOnly:!1,format:Wi,formatter:ir.formatters[Wi],indices:!1,serializeDate:function(t){return Wf.call(t)},skipNulls:!1,strictNullHandling:!1},kf=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Cn={},zf=function e(t,r,n,o,i,s,l,a,c,u,p,h,b,y,E,I){for(var A=t,B=I,F=0,k=!1;(B=B.get(Cn))!==void 0&&!k;){var de=B.get(t);if(F+=1,typeof de<"u"){if(de===F)throw new RangeError("Cyclic object value");k=!0}typeof B.get(Cn)>"u"&&(F=0)}if(typeof a=="function"?A=a(r,A):A instanceof Date?A=p(A):n==="comma"&&ze(A)&&(A=$r.maybeMap(A,function(J){return J instanceof Date?p(J):J})),A===null){if(i)return l&&!y?l(r,oe.encoder,E,"key",h):r;A=""}if(kf(A)||$r.isBuffer(A)){if(l){var Ge=y?r:l(r,oe.encoder,E,"key",h);return[b(Ge)+"="+b(l(A,oe.encoder,E,"value",h))]}return[b(r)+"="+b(String(A))]}var _e=[];if(typeof A>"u")return _e;var re;if(n==="comma"&&ze(A))y&&l&&(A=$r.maybeMap(A,l)),re=[{value:A.length>0?A.join(",")||null:void 0}];else if(ze(a))re=a;else{var Te=Object.keys(A);re=c?Te.sort(c):Te}for(var pe=o&&ze(A)&&A.length===1?r+"[]":r,Ee=0;Ee<re.length;++Ee){var ne=re[Ee],he=typeof ne=="object"&&typeof ne.value<"u"?ne.value:A[ne];if(!(s&&he===null)){var Ce=ze(A)?typeof n=="function"?n(pe,ne):pe:pe+(u?"."+ne:"["+ne+"]");I.set(t,F);var lt=il();lt.set(Cn,I),sl(_e,e(he,Ce,n,o,i,s,n==="comma"&&y&&ze(A)?null:l,a,c,u,p,h,b,y,E,lt))}}return _e},qf=function(t){if(!t)return oe;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||oe.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=ir.default;if(typeof t.format<"u"){if(!jf.call(ir.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var o=ir.formatters[n],i=oe.filter;return(typeof t.filter=="function"||ze(t.filter))&&(i=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:oe.addQueryPrefix,allowDots:typeof t.allowDots>"u"?oe.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:oe.charsetSentinel,delimiter:typeof t.delimiter>"u"?oe.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:oe.encode,encoder:typeof t.encoder=="function"?t.encoder:oe.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:oe.encodeValuesOnly,filter:i,format:n,formatter:o,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:oe.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:oe.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:oe.strictNullHandling}},Kf=function(e,t){var r=e,n=qf(t),o,i;typeof n.filter=="function"?(i=n.filter,r=i("",r)):ze(n.filter)&&(i=n.filter,o=i);var s=[];if(typeof r!="object"||r===null)return"";var l;t&&t.arrayFormat in Hi?l=t.arrayFormat:t&&"indices"in t?l=t.indices?"indices":"repeat":l="indices";var a=Hi[l];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=a==="comma"&&t&&t.commaRoundTrip;o||(o=Object.keys(r)),n.sort&&o.sort(n.sort);for(var u=il(),p=0;p<o.length;++p){var h=o[p];n.skipNulls&&r[h]===null||sl(s,zf(r[h],h,a,c,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,u))}var b=s.join(n.delimiter),y=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),b.length>0?y+b:""},Ut=ol,eo=Object.prototype.hasOwnProperty,Vf=Array.isArray,te={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Ut.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Jf=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},ll=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},Gf="utf8=%26%2310003%3B",Qf="utf8=%E2%9C%93",Xf=function(t,r){var n={},o=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=r.parameterLimit===1/0?void 0:r.parameterLimit,s=o.split(r.delimiter,i),l=-1,a,c=r.charset;if(r.charsetSentinel)for(a=0;a<s.length;++a)s[a].indexOf("utf8=")===0&&(s[a]===Qf?c="utf-8":s[a]===Gf&&(c="iso-8859-1"),l=a,a=s.length);for(a=0;a<s.length;++a)if(a!==l){var u=s[a],p=u.indexOf("]="),h=p===-1?u.indexOf("="):p+1,b,y;h===-1?(b=r.decoder(u,te.decoder,c,"key"),y=r.strictNullHandling?null:""):(b=r.decoder(u.slice(0,h),te.decoder,c,"key"),y=Ut.maybeMap(ll(u.slice(h+1),r),function(E){return r.decoder(E,te.decoder,c,"value")})),y&&r.interpretNumericEntities&&c==="iso-8859-1"&&(y=Jf(y)),u.indexOf("[]=")>-1&&(y=Vf(y)?[y]:y),eo.call(n,b)?n[b]=Ut.combine(n[b],y):n[b]=y}return n},Yf=function(e,t,r,n){for(var o=n?t:ll(t,r),i=e.length-1;i>=0;--i){var s,l=e[i];if(l==="[]"&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var a=l.charAt(0)==="["&&l.charAt(l.length-1)==="]"?l.slice(1,-1):l,c=parseInt(a,10);!r.parseArrays&&a===""?s={0:o}:!isNaN(c)&&l!==a&&String(c)===a&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(s=[],s[c]=o):a!=="__proto__"&&(s[a]=o)}o=s}return o},Zf=function(t,r,n,o){if(t){var i=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,l=/(\[[^[\]]*])/g,a=n.depth>0&&s.exec(i),c=a?i.slice(0,a.index):i,u=[];if(c){if(!n.plainObjects&&eo.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var p=0;n.depth>0&&(a=l.exec(i))!==null&&p<n.depth;){if(p+=1,!n.plainObjects&&eo.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+i.slice(a.index)+"]"),Yf(u,r,n,o)}},ed=function(t){if(!t)return te;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof t.charset>"u"?te.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?te.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:te.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:te.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:te.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:te.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:te.comma,decoder:typeof t.decoder=="function"?t.decoder:te.decoder,delimiter:typeof t.delimiter=="string"||Ut.isRegExp(t.delimiter)?t.delimiter:te.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:te.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:te.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:te.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:te.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:te.strictNullHandling}},td=function(e,t){var r=ed(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?Xf(e,r):e,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),s=0;s<i.length;++s){var l=i[s],a=Zf(l,n[l],r,typeof e=="string");o=Ut.merge(o,a,r)}return r.allowSparse===!0?o:Ut.compact(o)},rd=Kf,nd=td,od=$o,id={formats:od,parse:nd,stringify:rd};function sd(e){const t=id.parse(location.search.substring(1)),{url:r,from:n,name:o}=t;if(r)return e(void 0,r);n&&typeof o=="string"&&window.addEventListener("message",i=>{const{origin:s,data:l}=i;if(s===n&&l instanceof Blob){const a=new File([l],o,{});e(a)}})}const ld=e=>(Ba("data-v-efe72cc6"),e=e(),Da(),e),ad={class:"banner"},cd={class:"container"},ud={class:"file-select"},fd={key:0,class:"overlay"},dd={key:3,class:"upload-cover"},pd=ld(()=>be("a",{href:"/"},"Vue在线文档查看器",-1)),hd={class:"viewport"},yd=pr({__name:"HelloWorld",setup(e){const t=ue(!1),r=ue(!1),n=ue(!0),o=ue(""),i=ue(),s=ue("http://flyfish.group/%E6%95%B0%E6%8D%AE%E4%B8%AD%E5%8F%B0%E7%AC%94%E8%AE%B0(1).docx"),l=ue("");sd((c,u)=>{t.value=!0,c&&(i.value=c),u&&(s.value=u)}),Eo(()=>{l.value=s.value});async function a(c){const u=c.target;if(u.files){const p=u.files.item(0);p&&(o.value=p.name&&decodeURIComponent(p.name)||"",i.value=p)}}return(c,u)=>{const p=oc("file-viewer");return ve(),Me("div",{class:Jr({hidden:t.value})},[be("div",ad,[be("div",cd,[be("h1",null,[be("div",ud,[be("button",{type:"button",style:{"margin-right":"20px"},onClick:u[0]||(u[0]=Si(h=>r.value=!r.value,["stop"]))}," 【点击切换】"+gt(r.value?"🐧 输入网址":"👆🏻 上传预览"),1),be("button",{type:"button",onClick:u[1]||(u[1]=h=>n.value=!n.value)},gt(n.value?"🏄‍隐藏浮层":"👁显示浮层"),1)]),n.value?(ve(),Me("div",fd,[r.value?Hn((ve(),Me("input",{key:0,type:"text","onUpdate:modelValue":u[2]||(u[2]=h=>s.value=h),placeholder:"http://"},null,512)),[[su,s.value]]):(ve(),Me("input",{key:1,type:"file",onChange:a},null,32)),r.value?(ve(),Me("button",{key:2,type:"button",onClick:u[3]||(u[3]=Si(h=>l.value=s.value,["stop"]))},"预览")):(ve(),Me("div",dd," 📃 "+gt(o.value||"请选择文件上传"),1))])):Rc("",!0),pd])])]),be("div",hd,[X(p,{file:i.value,url:l.value},null,8,["file","url"])])],2)}}});const Mo=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r},md=Mo(yd,[["__scopeId","data-v-efe72cc6"]]),gd=pr({__name:"App",setup(e){return(t,r)=>(ve(),xo(md))}});const bd="modulepreload",vd=function(e,t){return new URL(e,t).href},ki={},qt=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(i=>{if(i=vd(i,n),i in ki)return;ki[i]=!0;const s=i.endsWith(".css"),l=s?'[rel="stylesheet"]':"";if(!!n)for(let u=o.length-1;u>=0;u--){const p=o[u];if(p.href===i&&(!s||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":bd,s||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),s)return new Promise((u,p)=>{c.addEventListener("load",u),c.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())},_d=(()=>{const e={module:null,async load(){return this.module||(this.module=qt(()=>import("./docx-preview.min-6246d1ca.js").then(t=>t.d),["./docx-preview.min-6246d1ca.js","./_commonjs-dynamic-modules-302442b1.js"],import.meta.url)),this.module}};return async()=>await e.load()})();async function wd(e,t){const{defaultOptions:r,renderAsync:n}=await _d(),o=Object.assign(r,{debug:!0,experimental:!0});await n(e,t,void 0,o)}const Ed=hr(()=>qt(()=>import("./PptxRender-3032ddac.js"),["./PptxRender-3032ddac.js","./worker-ref-fadf3283.js","./PptxRender-dce7f53f.css"],import.meta.url));async function Sd(e,t){return Et({render:()=>X(Ed,{data:e},null)}).mount(t)}const Od=hr(()=>qt(()=>import("./XlsxTable-23e08fb8.js"),["./XlsxTable-23e08fb8.js","./worker-ref-fadf3283.js","./_commonjs-dynamic-modules-302442b1.js","./XlsxTable-0dea8fc3.css"],import.meta.url));async function xd(e,t){const r=Et({render:()=>X(Od,{data:e},null)});return r.mount(t),r}const Ad=hr(()=>qt(()=>import("./PdfView-ea7f4226.js"),["./PdfView-ea7f4226.js","./_commonjs-dynamic-modules-302442b1.js","./worker-ref-fadf3283.js","./PdfView-89e0fbd8.css"],import.meta.url));async function Pd(e,t){const r=Et({render:()=>X(Ad,{data:e},null)});return r.mount(t),r}async function Rd(e){return new Promise((t,r)=>{const n=new FileReader;n.onload=o=>{var i;return t((i=o.target)==null?void 0:i.result)},n.onerror=o=>r(o),n.readAsArrayBuffer(e)})}async function Td(e){return new Promise((t,r)=>{const n=new FileReader;n.onload=o=>{var s;const i=(s=o.target)==null?void 0:s.result;typeof i=="string"&&t(i)},n.onerror=o=>r(o),n.readAsDataURL(new Blob([e]))})}async function al(e){return new Promise((t,r)=>{const n=new FileReader;n.onload=o=>{var s;const i=(s=o.target)==null?void 0:s.result;typeof i=="string"&&t(i)},n.onerror=o=>r(o),n.readAsText(new Blob([e]),"utf-8")})}const Cd=hr(()=>qt(()=>import("./ImageViewer-1106b38d.js"),["./ImageViewer-1106b38d.js","./ImageViewer-86ad1294.css"],import.meta.url));async function Fd(e,t){const r=await Td(e),n=Et({render:()=>X(Cd,{image:r},null)});return n.mount(t),n}const Id=hr(()=>qt(()=>import("./MarkdownViewer-07ff3033.js"),["./MarkdownViewer-07ff3033.js","./MarkdownViewer-26784219.css"],import.meta.url));async function Nd(e,t){const r=await al(e),n=Et({render:()=>X(Id,{data:r},null)});return n.mount(t),n}const $d={class:"code-area"},Md=pr({__name:"CodeViewer",props:{value:null},setup(e){return(t,r)=>(ve(),Me("pre",$d," "+gt(e.value)+`
`,1))}});const Bd=Mo(Md,[["__scopeId","data-v-3be501eb"]]);async function Dd(e,t){const r=await al(e),n=Et({render:()=>X(Bd,{value:r},null)});return n.mount(t),n}function Ld(e,t){const r=document.createElement("video");r.width=840,r.height=480,r.controls=!0;const n=document.createElement("source");n.src=URL.createObjectURL(new Blob([e])),r.appendChild(n),t.appendChild(r)}const Tr=e=>({$el:e,unmount(){}}),Ud=[{accepts:["docx"],handler:async(e,t)=>(await wd(e,t),window.dispatchEvent(new Event("resize")),Tr(t))},{accepts:["pptx"],handler:async(e,t)=>(await Sd(e,t),window.dispatchEvent(new Event("resize")),Tr(t))},{accepts:["xlsx"],handler:async(e,t)=>xd(e,t)},{accepts:["pdf"],handler:async(e,t)=>Pd(e,t)},{accepts:["gif","jpg","jpeg","bmp","tiff","tif","png","svg"],handler:async(e,t)=>Fd(e,t)},{accepts:["md","markdown"],handler:async(e,t)=>Nd(e,t)},{accepts:["txt","json","js","css","java","py","html","jsx","ts","tsx","xml","log"],handler:async(e,t)=>Dd(e,t)},{accepts:["mp4"],handler:async(e,t)=>(Ld(e,t),Tr(t))},{accepts:["error"],handler:async(e,t,r)=>(t.innerHTML=`<div style='text-align: center; margin-top: 80px'>不支持.${r}格式的在线预览请下载后预览或转换为支持的格式</div>
<div style='text-align: center'>支持docx, xlsx, pptx, pdf, 以及纯文本格式和各种图片格式的在线预览</div>`,Tr(t))}],cl=Ud.reduce((e,{accepts:t,handler:r})=>(t.forEach(n=>e.set(n,r)),e),new Map),zi=cl.get("error");function jd(e){const t=e.lastIndexOf(".");return e.substring(t+1)}async function Hd(e,t,r){const n=cl.get(t.toLowerCase());if(n)return n(e,r);if(zi)return zi(e,r,t)}function ul(e,t){return function(){return e.apply(t,arguments)}}const{toString:fl}=Object.prototype,{getPrototypeOf:Bo}=Object,Do=(e=>t=>{const r=fl.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Je=e=>(e=e.toLowerCase(),t=>Do(t)===e),an=e=>t=>typeof t===e,{isArray:Kt}=Array,fr=an("undefined");function Wd(e){return e!==null&&!fr(e)&&e.constructor!==null&&!fr(e.constructor)&&it(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const dl=Je("ArrayBuffer");function kd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&dl(e.buffer),t}const zd=an("string"),it=an("function"),pl=an("number"),Lo=e=>e!==null&&typeof e=="object",qd=e=>e===!0||e===!1,Mr=e=>{if(Do(e)!=="object")return!1;const t=Bo(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Kd=Je("Date"),Vd=Je("File"),Jd=Je("Blob"),Gd=Je("FileList"),Qd=e=>Lo(e)&&it(e.pipe),Xd=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||fl.call(e)===t||it(e.toString)&&e.toString()===t)},Yd=Je("URLSearchParams"),Zd=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function mr(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),Kt(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let l;for(n=0;n<s;n++)l=i[n],t.call(null,e[l],l,e)}}function hl(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const yl=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ml=e=>!fr(e)&&e!==yl;function to(){const{caseless:e}=ml(this)&&this||{},t={},r=(n,o)=>{const i=e&&hl(t,o)||o;Mr(t[i])&&Mr(n)?t[i]=to(t[i],n):Mr(n)?t[i]=to({},n):Kt(n)?t[i]=n.slice():t[i]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&mr(arguments[n],r);return t}const ep=(e,t,r,{allOwnKeys:n}={})=>(mr(t,(o,i)=>{r&&it(o)?e[i]=ul(o,r):e[i]=o},{allOwnKeys:n}),e),tp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),rp=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},np=(e,t,r,n)=>{let o,i,s;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!n||n(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=r!==!1&&Bo(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},op=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},ip=e=>{if(!e)return null;if(Kt(e))return e;let t=e.length;if(!pl(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},sp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Bo(Uint8Array)),lp=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},ap=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},cp=Je("HTMLFormElement"),up=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),qi=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),fp=Je("RegExp"),gl=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};mr(r,(o,i)=>{t(o,i,e)!==!1&&(n[i]=o)}),Object.defineProperties(e,n)},dp=e=>{gl(e,(t,r)=>{if(it(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(it(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},pp=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return Kt(e)?n(e):n(String(e).split(t)),r},hp=()=>{},yp=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Fn="abcdefghijklmnopqrstuvwxyz",Ki="0123456789",bl={DIGIT:Ki,ALPHA:Fn,ALPHA_DIGIT:Fn+Fn.toUpperCase()+Ki},mp=(e=16,t=bl.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function gp(e){return!!(e&&it(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const bp=e=>{const t=new Array(10),r=(n,o)=>{if(Lo(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const i=Kt(n)?[]:{};return mr(n,(s,l)=>{const a=r(s,o+1);!fr(a)&&(i[l]=a)}),t[o]=void 0,i}}return n};return r(e,0)},g={isArray:Kt,isArrayBuffer:dl,isBuffer:Wd,isFormData:Xd,isArrayBufferView:kd,isString:zd,isNumber:pl,isBoolean:qd,isObject:Lo,isPlainObject:Mr,isUndefined:fr,isDate:Kd,isFile:Vd,isBlob:Jd,isRegExp:fp,isFunction:it,isStream:Qd,isURLSearchParams:Yd,isTypedArray:sp,isFileList:Gd,forEach:mr,merge:to,extend:ep,trim:Zd,stripBOM:tp,inherits:rp,toFlatObject:np,kindOf:Do,kindOfTest:Je,endsWith:op,toArray:ip,forEachEntry:lp,matchAll:ap,isHTMLForm:cp,hasOwnProperty:qi,hasOwnProp:qi,reduceDescriptors:gl,freezeMethods:dp,toObjectSet:pp,toCamelCase:up,noop:hp,toFiniteNumber:yp,findKey:hl,global:yl,isContextDefined:ml,ALPHABET:bl,generateString:mp,isSpecCompliantForm:gp,toJSONObject:bp};function j(e,t,r,n,o){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),n&&(this.request=n),o&&(this.response=o)}g.inherits(j,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 vl=j.prototype,_l={};["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=>{_l[e]={value:e}});Object.defineProperties(j,_l);Object.defineProperty(vl,"isAxiosError",{value:!0});j.from=(e,t,r,n,o,i)=>{const s=Object.create(vl);return g.toFlatObject(e,s,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),j.call(s,e.message,t,r,n,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const vp=null;function ro(e){return g.isPlainObject(e)||g.isArray(e)}function wl(e){return g.endsWith(e,"[]")?e.slice(0,-2):e}function Vi(e,t,r){return e?e.concat(t).map(function(o,i){return o=wl(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function _p(e){return g.isArray(e)&&!e.some(ro)}const wp=g.toFlatObject(g,{},null,function(t){return/^is[A-Z]/.test(t)});function cn(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,I){return!g.isUndefined(I[E])});const n=r.metaTokens,o=r.visitor||u,i=r.dots,s=r.indexes,a=(r.Blob||typeof Blob<"u"&&Blob)&&g.isSpecCompliantForm(t);if(!g.isFunction(o))throw new TypeError("visitor must be a function");function c(y){if(y===null)return"";if(g.isDate(y))return y.toISOString();if(!a&&g.isBlob(y))throw new j("Blob is not supported. Use a Buffer instead.");return g.isArrayBuffer(y)||g.isTypedArray(y)?a&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function u(y,E,I){let A=y;if(y&&!I&&typeof y=="object"){if(g.endsWith(E,"{}"))E=n?E:E.slice(0,-2),y=JSON.stringify(y);else if(g.isArray(y)&&_p(y)||(g.isFileList(y)||g.endsWith(E,"[]"))&&(A=g.toArray(y)))return E=wl(E),A.forEach(function(F,k){!(g.isUndefined(F)||F===null)&&t.append(s===!0?Vi([E],k,i):s===null?E:E+"[]",c(F))}),!1}return ro(y)?!0:(t.append(Vi(I,E,i),c(y)),!1)}const p=[],h=Object.assign(wp,{defaultVisitor:u,convertValue:c,isVisitable:ro});function b(y,E){if(!g.isUndefined(y)){if(p.indexOf(y)!==-1)throw Error("Circular reference detected in "+E.join("."));p.push(y),g.forEach(y,function(A,B){(!(g.isUndefined(A)||A===null)&&o.call(t,A,g.isString(B)?B.trim():B,E,h))===!0&&b(A,E?E.concat(B):[B])}),p.pop()}}if(!g.isObject(e))throw new TypeError("data must be an object");return b(e),t}function Ji(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Uo(e,t){this._pairs=[],e&&cn(e,this,t)}const El=Uo.prototype;El.append=function(t,r){this._pairs.push([t,r])};El.toString=function(t){const r=t?function(n){return t.call(this,n,Ji)}:Ji;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Ep(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Sl(e,t,r){if(!t)return e;const n=r&&r.encode||Ep,o=r&&r.serialize;let i;if(o?i=o(t,r):i=g.isURLSearchParams(t)?t.toString():new Uo(t,r).toString(n),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Sp{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.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(n){n!==null&&t(n)})}}const Gi=Sp,Ol={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Op=typeof URLSearchParams<"u"?URLSearchParams:Uo,xp=typeof FormData<"u"?FormData:null,Ap=typeof Blob<"u"?Blob:null,Pp=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Rp=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),je={isBrowser:!0,classes:{URLSearchParams:Op,FormData:xp,Blob:Ap},isStandardBrowserEnv:Pp,isStandardBrowserWebWorkerEnv:Rp,protocols:["http","https","file","blob","url","data"]};function Tp(e,t){return cn(e,new je.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,i){return je.isNode&&g.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Cp(e){return g.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Fp(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function xl(e){function t(r,n,o,i){let s=r[i++];const l=Number.isFinite(+s),a=i>=r.length;return s=!s&&g.isArray(o)?o.length:s,a?(g.hasOwnProp(o,s)?o[s]=[o[s],n]:o[s]=n,!l):((!o[s]||!g.isObject(o[s]))&&(o[s]=[]),t(r,n,o[s],i)&&g.isArray(o[s])&&(o[s]=Fp(o[s])),!l)}if(g.isFormData(e)&&g.isFunction(e.entries)){const r={};return g.forEachEntry(e,(n,o)=>{t(Cp(n),o,r,0)}),r}return null}const Ip={"Content-Type":void 0};function Np(e,t,r){if(g.isString(e))try{return(t||JSON.parse)(e),g.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const un={transitional:Ol,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=g.isObject(t);if(i&&g.isHTMLForm(t)&&(t=new FormData(t)),g.isFormData(t))return o&&o?JSON.stringify(xl(t)):t;if(g.isArrayBuffer(t)||g.isBuffer(t)||g.isStream(t)||g.isFile(t)||g.isBlob(t))return t;if(g.isArrayBufferView(t))return t.buffer;if(g.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Tp(t,this.formSerializer).toString();if((l=g.isFileList(t))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return cn(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),Np(t)):t}],transformResponse:[function(t){const r=this.transitional||un.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&g.isString(t)&&(n&&!this.responseType||o)){const s=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?j.from(l,j.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:je.classes.FormData,Blob:je.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};g.forEach(["delete","get","head"],function(t){un.headers[t]={}});g.forEach(["post","put","patch"],function(t){un.headers[t]=g.merge(Ip)});const jo=un,$p=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"]),Mp=e=>{const t={};let r,n,o;return e&&e.split(`
`).forEach(function(s){o=s.indexOf(":"),r=s.substring(0,o).trim().toLowerCase(),n=s.substring(o+1).trim(),!(!r||t[r]&&$p[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Qi=Symbol("internals");function Xt(e){return e&&String(e).trim().toLowerCase()}function Br(e){return e===!1||e==null?e:g.isArray(e)?e.map(Br):String(e)}function Bp(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}function Dp(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function In(e,t,r,n,o){if(g.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!g.isString(t)){if(g.isString(n))return t.indexOf(n)!==-1;if(g.isRegExp(n))return n.test(t)}}function Lp(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Up(e,t){const r=g.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,s){return this[n].call(this,t,o,i,s)},configurable:!0})})}class fn{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(l,a,c){const u=Xt(a);if(!u)throw new Error("header name must be a non-empty string");const p=g.findKey(o,u);(!p||o[p]===void 0||c===!0||c===void 0&&o[p]!==!1)&&(o[p||a]=Br(l))}const s=(l,a)=>g.forEach(l,(c,u)=>i(c,u,a));return g.isPlainObject(t)||t instanceof this.constructor?s(t,r):g.isString(t)&&(t=t.trim())&&!Dp(t)?s(Mp(t),r):t!=null&&i(r,t,n),this}get(t,r){if(t=Xt(t),t){const n=g.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return Bp(o);if(g.isFunction(r))return r.call(this,o,n);if(g.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Xt(t),t){const n=g.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||In(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(s){if(s=Xt(s),s){const l=g.findKey(n,s);l&&(!r||In(n,n[l],l,r))&&(delete n[l],o=!0)}}return g.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||In(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return g.forEach(this,(o,i)=>{const s=g.findKey(n,i);if(s){r[s]=Br(o),delete r[i];return}const l=t?Lp(i):String(i).trim();l!==i&&delete r[i],r[l]=Br(o),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return g.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&g.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[Qi]=this[Qi]={accessors:{}}).accessors,o=this.prototype;function i(s){const l=Xt(s);n[l]||(Up(o,s),n[l]=!0)}return g.isArray(t)?t.forEach(i):i(t),this}}fn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);g.freezeMethods(fn.prototype);g.freezeMethods(fn);const qe=fn;function Nn(e,t){const r=this||jo,n=t||r,o=qe.from(n.headers);let i=n.data;return g.forEach(e,function(l){i=l.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Al(e){return!!(e&&e.__CANCEL__)}function gr(e,t,r){j.call(this,e??"canceled",j.ERR_CANCELED,t,r),this.name="CanceledError"}g.inherits(gr,j,{__CANCEL__:!0});function jp(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new j("Request failed with status code "+r.status,[j.ERR_BAD_REQUEST,j.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const Hp=je.isStandardBrowserEnv?function(){return{write:function(r,n,o,i,s,l){const a=[];a.push(r+"="+encodeURIComponent(n)),g.isNumber(o)&&a.push("expires="+new Date(o).toGMTString()),g.isString(i)&&a.push("path="+i),g.isString(s)&&a.push("domain="+s),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(r){const n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Wp(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function kp(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Pl(e,t){return e&&!Wp(t)?kp(e,t):t}const zp=je.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(i){let s=i;return t&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(s){const l=g.isString(s)?o(s):s;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}();function qp(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Kp(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=n[i];s||(s=c),r[o]=a,n[o]=c;let p=i,h=0;for(;p!==o;)h+=r[p++],p=p%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-s<t)return;const b=u&&c-u;return b?Math.round(h*1e3/b):void 0}}function Xi(e,t){let r=0;const n=Kp(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,l=i-r,a=n(l),c=i<=s;r=i;const u={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:a||void 0,estimated:a&&s&&c?(s-i)/a:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const Vp=typeof XMLHttpRequest<"u",Jp=Vp&&function(e){return new Promise(function(r,n){let o=e.data;const i=qe.from(e.headers).normalize(),s=e.responseType;let l;function a(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}g.isFormData(o)&&(je.isStandardBrowserEnv||je.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let c=new XMLHttpRequest;if(e.auth){const b=e.auth.username||"",y=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(b+":"+y))}const u=Pl(e.baseURL,e.url);c.open(e.method.toUpperCase(),Sl(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function p(){if(!c)return;const b=qe.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),E={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:b,config:e,request:c};jp(function(A){r(A),a()},function(A){n(A),a()},E),c=null}if("onloadend"in c?c.onloadend=p:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(p)},c.onabort=function(){c&&(n(new j("Request aborted",j.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new j("Network Error",j.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let y=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const E=e.transitional||Ol;e.timeoutErrorMessage&&(y=e.timeoutErrorMessage),n(new j(y,E.clarifyTimeoutError?j.ETIMEDOUT:j.ECONNABORTED,e,c)),c=null},je.isStandardBrowserEnv){const b=(e.withCredentials||zp(u))&&e.xsrfCookieName&&Hp.read(e.xsrfCookieName);b&&i.set(e.xsrfHeaderName,b)}o===void 0&&i.setContentType(null),"setRequestHeader"in c&&g.forEach(i.toJSON(),function(y,E){c.setRequestHeader(E,y)}),g.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),s&&s!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",Xi(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Xi(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=b=>{c&&(n(!b||b.type?new gr(null,e,c):b),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=qp(u);if(h&&je.protocols.indexOf(h)===-1){n(new j("Unsupported protocol "+h+":",j.ERR_BAD_REQUEST,e));return}c.send(o||null)})},Dr={http:vp,xhr:Jp};g.forEach(Dr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Gp={getAdapter:e=>{e=g.isArray(e)?e:[e];const{length:t}=e;let r,n;for(let o=0;o<t&&(r=e[o],!(n=g.isString(r)?Dr[r.toLowerCase()]:r));o++);if(!n)throw n===!1?new j(`Adapter ${r} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(g.hasOwnProp(Dr,r)?`Adapter '${r}' is not available in the build`:`Unknown adapter '${r}'`);if(!g.isFunction(n))throw new TypeError("adapter is not a function");return n},adapters:Dr};function $n(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gr(null,e)}function Yi(e){return $n(e),e.headers=qe.from(e.headers),e.data=Nn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Gp.getAdapter(e.adapter||jo.adapter)(e).then(function(n){return $n(e),n.data=Nn.call(e,e.transformResponse,n),n.headers=qe.from(n.headers),n},function(n){return Al(n)||($n(e),n&&n.response&&(n.response.data=Nn.call(e,e.transformResponse,n.response),n.response.headers=qe.from(n.response.headers))),Promise.reject(n)})}const Zi=e=>e instanceof qe?e.toJSON():e;function jt(e,t){t=t||{};const r={};function n(c,u,p){return g.isPlainObject(c)&&g.isPlainObject(u)?g.merge.call({caseless:p},c,u):g.isPlainObject(u)?g.merge({},u):g.isArray(u)?u.slice():u}function o(c,u,p){if(g.isUndefined(u)){if(!g.isUndefined(c))return n(void 0,c,p)}else return n(c,u,p)}function i(c,u){if(!g.isUndefined(u))return n(void 0,u)}function s(c,u){if(g.isUndefined(u)){if(!g.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function l(c,u,p){if(p in t)return n(c,u);if(p in e)return n(void 0,c)}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(c,u)=>o(Zi(c),Zi(u),!0)};return g.forEach(Object.keys(e).concat(Object.keys(t)),function(u){const p=a[u]||o,h=p(e[u],t[u],u);g.isUndefined(h)&&p!==l||(r[u]=h)}),r}const Rl="1.3.4",Ho={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ho[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const es={};Ho.transitional=function(t,r,n){function o(i,s){return"[Axios v"+Rl+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,l)=>{if(t===!1)throw new j(o(s," has been removed"+(r?" in "+r:"")),j.ERR_DEPRECATED);return r&&!es[s]&&(es[s]=!0,console.warn(o(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,l):!0}};function Qp(e,t,r){if(typeof e!="object")throw new j("options must be an object",j.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],s=t[i];if(s){const l=e[i],a=l===void 0||s(l,i,e);if(a!==!0)throw new j("option "+i+" must be "+a,j.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new j("Unknown option "+i,j.ERR_BAD_OPTION)}}const no={assertOptions:Qp,validators:Ho},Xe=no.validators;class Vr{constructor(t){this.defaults=t,this.interceptors={request:new Gi,response:new Gi}}request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=jt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&no.assertOptions(n,{silentJSONParsing:Xe.transitional(Xe.boolean),forcedJSONParsing:Xe.transitional(Xe.boolean),clarifyTimeoutError:Xe.transitional(Xe.boolean)},!1),o!==void 0&&no.assertOptions(o,{encode:Xe.function,serialize:Xe.function},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s;s=i&&g.merge(i.common,i[r.method]),s&&g.forEach(["delete","get","head","post","put","patch","common"],y=>{delete i[y]}),r.headers=qe.concat(s,i);const l=[];let a=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(r)===!1||(a=a&&E.synchronous,l.unshift(E.fulfilled,E.rejected))});const c=[];this.interceptors.response.forEach(function(E){c.push(E.fulfilled,E.rejected)});let u,p=0,h;if(!a){const y=[Yi.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,c),h=y.length,u=Promise.resolve(r);p<h;)u=u.then(y[p++],y[p++]);return u}h=l.length;let b=r;for(p=0;p<h;){const y=l[p++],E=l[p++];try{b=y(b)}catch(I){E.call(this,I);break}}try{u=Yi.call(this,b)}catch(y){return Promise.reject(y)}for(p=0,h=c.length;p<h;)u=u.then(c[p++],c[p++]);return u}getUri(t){t=jt(this.defaults,t);const r=Pl(t.baseURL,t.url);return Sl(r,t.params,t.paramsSerializer)}}g.forEach(["delete","get","head","options"],function(t){Vr.prototype[t]=function(r,n){return this.request(jt(n||{},{method:t,url:r,data:(n||{}).data}))}});g.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,l){return this.request(jt(l||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Vr.prototype[t]=r(),Vr.prototype[t+"Form"]=r(!0)});const Lr=Vr;class Wo{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(o=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(l=>{n.subscribe(l),i=l}).then(o);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,l){n.reason||(n.reason=new gr(i,s,l),r(n.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 Wo(function(o){t=o}),cancel:t}}}const Xp=Wo;function Yp(e){return function(r){return e.apply(null,r)}}function Zp(e){return g.isObject(e)&&e.isAxiosError===!0}const oo={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(oo).forEach(([e,t])=>{oo[t]=e});const eh=oo;function Tl(e){const t=new Lr(e),r=ul(Lr.prototype.request,t);return g.extend(r,Lr.prototype,t,{allOwnKeys:!0}),g.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return Tl(jt(e,o))},r}const ee=Tl(jo);ee.Axios=Lr;ee.CanceledError=gr;ee.CancelToken=Xp;ee.isCancel=Al;ee.VERSION=Rl;ee.toFormData=cn;ee.AxiosError=j;ee.Cancel=ee.CanceledError;ee.all=function(t){return Promise.all(t)};ee.spread=Yp;ee.isAxiosError=Zp;ee.mergeConfig=jt;ee.AxiosHeaders=qe;ee.formToJSON=e=>xl(g.isHTMLForm(e)?new FormData(e):e);ee.HttpStatusCode=eh;ee.default=ee;const th=ee,rh={class:"file-viewer"},nh={class:"name"},oh={key:0,class:"content loading"},ih=pr({__name:"FileViewer",props:{file:null,url:null},setup(e){const t=e,r=ue(!1),n=ue(""),o=ue(""),i=ue(""),s=ue();return(()=>{const l={loading:"正在加载中,请耐心等待...",reading:"正在努力解析文件...",errorLoading:u=>`加载文件异常:${u}`,errorReading:u=>`读取文件异常:${u}`};let a;const c={async loadFromUrl(){const{url:u}=t;if(!u)return;this.startLoading(l.loading);const p=u.substring(u.lastIndexOf("/")+1);try{const{data:h}=await th({url:u,method:"get",responseType:"blob"});if(!h)return this.showError("文件下载失败");const b=this.wrap(h,p);return this.resolveFile(b)}catch(h){this.showError(l.errorLoading(h))}finally{this.endLoading()}},wrap(u,p){if(u instanceof File)return u;if(u instanceof Blob&&p)return new File([u],p,{});if(u instanceof ArrayBuffer)return this.wrap(new Blob([u]));throw new Error("不支持的文件类型格式!")},async resolveFile(u){r.value&&this.endLoading();const p=this.wrap(u);this.startLoading(l.reading);try{i.value=p.name&&decodeURIComponent(p.name)||"";const h=await Rd(p);h instanceof ArrayBuffer&&(a=await this.displayResult(h,p))}catch(h){console.error(h),this.showError(l.errorReading(h))}finally{this.endLoading()}},displayResult(u,p){const{name:h}=p,b=jd(h),y=s.value;if(!y)return Promise.resolve();a&&(y.lastChild&&y.removeChild(y.lastChild),a.unmount());const E=document.createElement("div");E.className="file-render";const I=y.appendChild(E);return new Promise((A,B)=>Hd(u,b,I).then(A).catch(B))},showError(u){n.value=u},startLoading(u){r.value=!0,o.value=u,n.value=""},endLoading(){r.value=!1,o.value=""}};Eo(()=>{t.file&&c.resolveFile(t.file),c.loadFromUrl()}),Zt(()=>t.url,()=>c.loadFromUrl()),Zt(()=>t.file,u=>u&&c.resolveFile(u))})(),(l,a)=>(ve(),Me("div",rh,[be("div",nh,gt(i.value),1),n.value?(ve(),Me("div",oh,gt(n.value),1)):(ve(),Me(we,{key:1},[Hn(be("div",{class:"content loading"},gt(o.value),513),[[Oi,r.value]]),Hn(be("div",{class:"content",ref_key:"output",ref:s},null,512),[[Oi,!r.value]])],64))]))}});const sh=Mo(ih,[["__scopeId","data-v-4732f9f2"]]),lh=[["file-viewer",sh]];class ah{constructor(){Jo(this,"installed",!1)}install(t){this.installed||(lh.forEach(([r,n])=>t.component(r,n)),this.installed=!0)}}const ch=new ah;Et(gd).use(ch).mount("#app");export{La as A,we as F,Mo as _,ve as a,Me as b,ph as c,pr as d,dh as e,du as f,hh as g,Is as h,Pc as i,Rc as j,be as k,X as l,vs as m,fh as n,Eo as o,Ca as p,Ba as q,ue as r,Da as s,Jr as t,xa as u,gt as v,Zt as w,Uu as x,Uc as y,xo as z};