const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Login-Y0eqTexJ.js","assets/Button-BSIDh9oJ.js","assets/Button-BnjR7XOq.css","assets/Login-B_rHAN5Z.css","assets/Dashboard-DRxsgaul.js","assets/projects-gD83Kd3J.js","assets/Modal-CeHY9Rct.js","assets/Modal-DqLHG8CN.css","assets/Dashboard-bZb0kvk2.css","assets/ProjectView-B8BQcCmm.js","assets/Header-qf9RmNM_.js","assets/Header-BGQ1nCqG.css","assets/ProjectView-DYVW7MC2.css","assets/DocumentView-BSlVxAGm.js","assets/DocumentView-DyhIzOS7.css"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** * @vue/shared v3.5.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Gs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Bt=[],Ze=()=>{},xo=()=>!1,Kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Gn=e=>e.startsWith("onUpdate:"),ge=Object.assign,Ws=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fl=Object.prototype.hasOwnProperty,ne=(e,t)=>fl.call(e,t),H=Array.isArray,Ht=e=>yn(e)==="[object Map]",To=e=>yn(e)==="[object Set]",vr=e=>yn(e)==="[object Date]",W=e=>typeof e=="function",ae=e=>typeof e=="string",Le=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Oo=e=>(se(e)||W(e))&&W(e.then)&&W(e.catch),Po=Object.prototype.toString,yn=e=>Po.call(e),al=e=>yn(e).slice(8,-1),Io=e=>yn(e)==="[object Object]",Wn=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xt=Gs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$n=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},hl=/-\w/g,xe=$n(e=>e.replace(hl,t=>t.slice(1).toUpperCase())),dl=/\B([A-Z])/g,Et=$n(e=>e.replace(dl,"-$1").toLowerCase()),qn=$n(e=>e.charAt(0).toUpperCase()+e.slice(1)),is=$n(e=>e?`on${qn(e)}`:""),Xe=(e,t)=>!Object.is(e,t),xn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},$s=e=>{const t=parseFloat(e);return isNaN(t)?e:t},pl=e=>{const t=ae(e)?Number(e):NaN;return isNaN(t)?e:t};let br;const Jn=()=>br||(br=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qs(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(ml);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Js(e){let t="";if(ae(e))t=e;else if(H(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Al=e=>ae(e)?e:e==null?"":H(e)||se(e)&&(e.toString===Po||!W(e.toString))?Do(e)?Al(e.value):JSON.stringify(e,Lo,2):String(e),Lo=(e,t)=>Do(t)?Lo(e,t.value):Ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[ls(s,o)+" =>"]=r,n),{})}:To(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ls(n))}:Le(t)?ls(t):se(t)&&!H(t)&&!Io(t)?String(t):t,ls=(e,t="")=>{var n;return Le(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let ve;class Fo{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=ve,!t&&ve&&(this.index=(ve.scopes||(ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(ve=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(en){let t=en;for(en=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Zt;){let t=Zt;for(Zt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Uo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ko(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Xs(s),Cl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ws(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Go(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Go(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===un)||(e.globalVersion=un,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ws(e))))return;e.flags|=2;const t=e.dep,n=ce,s=Be;ce=e,Be=!0;try{Uo(e);const r=e.fn(e._value);(t.version===0||Xe(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ce=n,Be=s,Ko(e),e.flags&=-3}}function Xs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Xs(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Cl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Be=!0;const Wo=[];function ut(){Wo.push(Be),Be=!1}function ft(){const e=Wo.pop();Be=e===void 0?!0:e}function Er(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ce;ce=void 0;try{t()}finally{ce=n}}}let un=0;class wl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Zs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ce||!Be||ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ce)n=this.activeLink=new wl(ce,this),ce.deps?(n.prevDep=ce.depsTail,ce.depsTail.nextDep=n,ce.depsTail=n):ce.deps=ce.depsTail=n,$o(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ce.depsTail,n.nextDep=void 0,ce.depsTail.nextDep=n,ce.depsTail=n,ce.deps===n&&(ce.deps=s)}return n}trigger(t){this.version++,un++,this.notify(t)}notify(t){Qs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ys()}}}function $o(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)$o(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Nn=new WeakMap,Pt=Symbol(""),Rs=Symbol(""),fn=Symbol("");function be(e,t,n){if(Be&&ce){let s=Nn.get(e);s||Nn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Zs),r.map=s,r.key=n),r.track()}}function it(e,t,n,s,r,o){const i=Nn.get(e);if(!i){un++;return}const l=c=>{c&&c.trigger()};if(Qs(),t==="clear")i.forEach(l);else{const c=H(e),f=c&&Wn(n);if(c&&n==="length"){const u=Number(s);i.forEach((a,p)=>{(p==="length"||p===fn||!Le(p)&&p>=u)&&l(a)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),f&&l(i.get(fn)),t){case"add":c?f&&l(i.get("length")):(l(i.get(Pt)),Ht(e)&&l(i.get(Rs)));break;case"delete":c||(l(i.get(Pt)),Ht(e)&&l(i.get(Rs)));break;case"set":Ht(e)&&l(i.get(Pt));break}}Ys()}function Rl(e,t){const n=Nn.get(e);return n&&n.get(t)}function Dt(e){const t=X(e);return t===e?t:(be(t,"iterate",fn),De(e)?t:t.map(He))}function zn(e){return be(e=X(e),"iterate",fn),e}function Qe(e,t){return at(e)?Kt(ct(e)?He(t):t):He(t)}const xl={__proto__:null,[Symbol.iterator](){return us(this,Symbol.iterator,e=>Qe(this,e))},concat(...e){return Dt(this).concat(...e.map(t=>H(t)?Dt(t):t))},entries(){return us(this,"entries",e=>(e[1]=Qe(this,e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,n=>n.map(s=>Qe(this,s)),arguments)},find(e,t){return tt(this,"find",e,t,n=>Qe(this,n),arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,n=>Qe(this,n),arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return fs(this,"includes",e)},indexOf(...e){return fs(this,"indexOf",e)},join(e){return Dt(this).join(e)},lastIndexOf(...e){return fs(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return qt(this,"pop")},push(...e){return qt(this,"push",e)},reduce(e,...t){return Ar(this,"reduce",e,t)},reduceRight(e,...t){return Ar(this,"reduceRight",e,t)},shift(){return qt(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return qt(this,"splice",e)},toReversed(){return Dt(this).toReversed()},toSorted(e){return Dt(this).toSorted(e)},toSpliced(...e){return Dt(this).toSpliced(...e)},unshift(...e){return qt(this,"unshift",e)},values(){return us(this,"values",e=>Qe(this,e))}};function us(e,t,n){const s=zn(e),r=s[t]();return s!==e&&!De(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const Tl=Array.prototype;function tt(e,t,n,s,r,o){const i=zn(e),l=i!==e&&!De(e),c=i[t];if(c!==Tl[t]){const a=c.apply(e,o);return l?He(a):a}let f=n;i!==e&&(l?f=function(a,p){return n.call(this,Qe(e,a),p,e)}:n.length>2&&(f=function(a,p){return n.call(this,a,p,e)}));const u=c.call(i,f,s);return l&&r?r(u):u}function Ar(e,t,n,s){const r=zn(e),o=r!==e&&!De(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(f,u,a){return l&&(l=!1,f=Qe(e,f)),n.call(this,f,Qe(e,u),a,e)}):n.length>3&&(i=function(f,u,a){return n.call(this,f,u,a,e)}));const c=r[t](i,...s);return l?Qe(e,c):c}function fs(e,t,n){const s=X(e);be(s,"iterate",fn);const r=s[t](...n);return(r===-1||r===!1)&&Qn(n[0])?(n[0]=X(n[0]),s[t](...n)):r}function qt(e,t,n=[]){ut(),Qs();const s=X(e)[t].apply(e,n);return Ys(),ft(),s}const Ol=Gs("__proto__,__v_isRef,__isVue"),qo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Le));function Pl(e){Le(e)||(e=String(e));const t=X(this);return be(t,"has",e),t.hasOwnProperty(e)}class Jo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Hl:Xo:o?Yo:Qo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=H(t);if(!r){let c;if(i&&(c=xl[n]))return c;if(n==="hasOwnProperty")return Pl}const l=Reflect.get(t,n,fe(t)?t:s);if((Le(n)?qo.has(n):Ol(n))||(r||be(t,"get",n),o))return l;if(fe(l)){const c=i&&Wn(n)?l:l.value;return r&&se(c)?Ts(c):c}return se(l)?r?Ts(l):vn(l):l}}class zo extends Jo{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=H(t)&&Wn(n);if(!this._isShallow){const f=at(o);if(!De(s)&&!at(s)&&(o=X(o),s=X(s)),!i&&fe(o)&&!fe(s))return f||(o.value=s),!0}const l=i?Number(n)e,An=e=>Reflect.getPrototypeOf(e);function Ll(e,t,n){return function(...s){const r=this.__v_raw,o=X(r),i=Ht(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=r[e](...s),u=n?xs:t?Kt:He;return!t&&be(o,"iterate",c?Rs:Pt),ge(Object.create(f),{next(){const{value:a,done:p}=f.next();return p?{value:a,done:p}:{value:l?[u(a[0]),u(a[1])]:u(a),done:p}}})}}function Sn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Fl(e,t){const n={get(r){const o=this.__v_raw,i=X(o),l=X(r);e||(Xe(r,l)&&be(i,"get",r),be(i,"get",l));const{has:c}=An(i),f=t?xs:e?Kt:He;if(c.call(i,r))return f(o.get(r));if(c.call(i,l))return f(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&be(X(r),"iterate",Pt),r.size},has(r){const o=this.__v_raw,i=X(o),l=X(r);return e||(Xe(r,l)&&be(i,"has",r),be(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=X(l),f=t?xs:e?Kt:He;return!e&&be(c,"iterate",Pt),l.forEach((u,a)=>r.call(o,f(u),f(a),i))}};return ge(n,e?{add:Sn("add"),set:Sn("set"),delete:Sn("delete"),clear:Sn("clear")}:{add(r){const o=X(this),i=An(o),l=X(r),c=!t&&!De(r)&&!at(r)?l:r;return i.has.call(o,c)||Xe(r,c)&&i.has.call(o,r)||Xe(l,c)&&i.has.call(o,l)||(o.add(c),it(o,"add",c,c)),this},set(r,o){!t&&!De(o)&&!at(o)&&(o=X(o));const i=X(this),{has:l,get:c}=An(i);let f=l.call(i,r);f||(r=X(r),f=l.call(i,r));const u=c.call(i,r);return i.set(r,o),f?Xe(o,u)&&it(i,"set",r,o):it(i,"add",r,o),this},delete(r){const o=X(this),{has:i,get:l}=An(o);let c=i.call(o,r);c||(r=X(r),c=i.call(o,r)),l&&l.call(o,r);const f=o.delete(r);return c&&it(o,"delete",r,void 0),f},clear(){const r=X(this),o=r.size!==0,i=r.clear();return o&&it(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Ll(r,e,t)}),n}function er(e,t){const n=Fl(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ne(n,r)&&r in s?n:s,r,o)}const jl={get:er(!1,!1)},Vl={get:er(!1,!0)},Bl={get:er(!0,!1)};const Qo=new WeakMap,Yo=new WeakMap,Xo=new WeakMap,Hl=new WeakMap;function kl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ul(e){return e.__v_skip||!Object.isExtensible(e)?0:kl(al(e))}function vn(e){return at(e)?e:tr(e,!1,Nl,jl,Qo)}function Zo(e){return tr(e,!1,Dl,Vl,Yo)}function Ts(e){return tr(e,!0,Ml,Bl,Xo)}function tr(e,t,n,s,r){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Ul(e);if(o===0)return e;const i=r.get(e);if(i)return i;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function ct(e){return at(e)?ct(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function De(e){return!!(e&&e.__v_isShallow)}function Qn(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function nr(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&No(e,"__v_skip",!0),e}const He=e=>se(e)?vn(e):e,Kt=e=>se(e)?Ts(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function Mn(e){return ei(e,!1)}function Kl(e){return ei(e,!0)}function ei(e,t){return fe(e)?e:new Gl(e,t)}class Gl{constructor(t,n){this.dep=new Zs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:X(t),this._value=n?t:He(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||De(t)||at(t);t=s?t:X(t),Xe(t,n)&&(this._rawValue=t,this._value=s?t:He(t),this.dep.trigger())}}function vt(e){return fe(e)?e.value:e}const Wl={get:(e,t,n)=>t==="__v_raw"?e:vt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return fe(r)&&!fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ti(e){return ct(e)?e:new Proxy(e,Wl)}function $l(e){const t=H(e)?new Array(e.length):{};for(const n in e)t[n]=Jl(e,n);return t}class ql{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Le(n)?n:String(n),this._raw=X(t);let r=!0,o=t;if(!H(t)||Le(this._key)||!Wn(this._key))do r=!Qn(o)||De(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=vt(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&fe(this._raw[this._key])){const n=this._object[this._key];if(fe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Rl(this._raw,this._key)}}function Jl(e,t,n){return new ql(e,t,n)}class zl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Zs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=un-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ce!==this)return ko(this,!0),!0}get value(){const t=this.dep.track();return Go(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ql(e,t,n=!1){let s,r;return W(e)?s=e:(s=e.get,r=e.set),new zl(s,r,n)}const Cn={},Dn=new WeakMap;let xt;function Yl(e,t=!1,n=xt){if(n){let s=Dn.get(n);s||Dn.set(n,s=[]),s.push(e)}}function Xl(e,t,n=ie){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,f=N=>r?N:De(N)||r===!1||r===0?lt(N,1):lt(N);let u,a,p,m,A=!1,S=!1;if(fe(e)?(a=()=>e.value,A=De(e)):ct(e)?(a=()=>f(e),A=!0):H(e)?(S=!0,A=e.some(N=>ct(N)||De(N)),a=()=>e.map(N=>{if(fe(N))return N.value;if(ct(N))return f(N);if(W(N))return c?c(N,2):N()})):W(e)?t?a=c?()=>c(e,2):e:a=()=>{if(p){ut();try{p()}finally{ft()}}const N=xt;xt=u;try{return c?c(e,3,[m]):e(m)}finally{xt=N}}:a=Ze,t&&r){const N=a,B=r===!0?1/0:r;a=()=>lt(N(),B)}const F=Vo(),M=()=>{u.stop(),F&&F.active&&Ws(F.effects,u)};if(o&&t){const N=t;t=(...B)=>{N(...B),M()}}let C=S?new Array(e.length).fill(Cn):Cn;const L=N=>{if(!(!(u.flags&1)||!u.dirty&&!N))if(t){const B=u.run();if(r||A||(S?B.some((J,q)=>Xe(J,C[q])):Xe(B,C))){p&&p();const J=xt;xt=u;try{const q=[B,C===Cn?void 0:S&&C[0]===Cn?[]:C,m];C=B,c?c(t,3,q):t(...q)}finally{xt=J}}}else u.run()};return l&&l(L),u=new Bo(a),u.scheduler=i?()=>i(L,!1):L,m=N=>Yl(N,!1,u),p=u.onStop=()=>{const N=Dn.get(u);if(N){if(c)c(N,4);else for(const B of N)B();Dn.delete(u)}},t?s?L(!0):C=u.run():i?i(L.bind(null,!0),!0):u.run(),M.pause=u.pause.bind(u),M.resume=u.resume.bind(u),M.stop=M,M}function lt(e,t=1/0,n){if(t<=0||!se(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,fe(e))lt(e.value,t,n);else if(H(e))for(let s=0;s{lt(s,t,n)});else if(Io(e)){for(const s in e)lt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&<(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function bn(e,t,n,s){try{return s?e(...s):e()}catch(r){Yn(r,t,n)}}function ke(e,t,n,s){if(W(e)){const r=bn(e,t,n,s);return r&&Oo(r)&&r.catch(o=>{Yn(o,t,n)}),r}if(H(e)){const r=[];for(let o=0;o>>1,r=Re[s],o=an(r);o=an(n)?Re.push(e):Re.splice(ec(t),0,e),e.flags|=1,si()}}function si(){Ln||(Ln=ni.then(oi))}function tc(e){H(e)?kt.push(...e):_t&&e.id===-1?_t.splice(Ft+1,0,e):e.flags&1||(kt.push(e),e.flags|=1),si()}function Sr(e,t,n=Je+1){for(;nan(n)-an(s));if(kt.length=0,_t){_t.push(...t);return}for(_t=t,Ft=0;Ft<_t.length;Ft++){const n=_t[Ft];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}_t=null,Ft=0}}const an=e=>e.id==null?e.flags&2?-1:1/0:e.id;function oi(e){try{for(Je=0;Je{s._d&&Hn(-1);const o=Fn(t);let i;try{i=e(...r)}finally{Fn(o),s._d&&Hn(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function ua(e,t){if(_e===null)return e;const n=ns(_e),s=e.dirs||(e.dirs=[]);for(let r=0;r1)return n&&W(t)?t.call(s&&s.proxy):t}}function sc(){return!!(fr()||It)}const rc=Symbol.for("v-scx"),oc=()=>Ve(rc);function tn(e,t,n){return li(e,t,n)}function li(e,t,n=ie){const{immediate:s,deep:r,flush:o,once:i}=n,l=ge({},n),c=t&&s||!t&&o!=="post";let f;if(gn){if(o==="sync"){const m=oc();f=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=Ze,m.resume=Ze,m.pause=Ze,m}}const u=Ae;l.call=(m,A,S)=>ke(m,u,A,S);let a=!1;o==="post"?l.scheduler=m=>{ye(m,u&&u.suspense)}:o!=="sync"&&(a=!0,l.scheduler=(m,A)=>{A?m():rr(m)}),l.augmentJob=m=>{t&&(m.flags|=4),a&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const p=Xl(e,t,l);return gn&&(f?f.push(p):c&&p()),p}function ic(e,t,n){const s=this.proxy,r=ae(e)?e.includes(".")?ci(s,e):()=>s[e]:e.bind(s,s);let o;W(t)?o=t:(o=t.handler,n=t);const i=En(this),l=li(r,o.bind(s),n);return i(),l}function ci(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;re.__isTeleport,nn=e=>e&&(e.disabled||e.disabled===""),lc=e=>e&&(e.defer||e.defer===""),Cr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,wr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Os=(e,t)=>{const n=e&&e.to;return ae(n)?t?t(n):null:n},ai={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,c,f){const{mc:u,pc:a,pbc:p,o:{insert:m,querySelector:A,createText:S,createComment:F}}=f,M=nn(t.props);let{shapeFlag:C,children:L,dynamicChildren:N}=t;if(e==null){const B=t.el=S(""),J=t.anchor=S("");m(B,n,s),m(J,n,s);const q=(w,U)=>{C&16&&u(L,w,U,r,o,i,l,c)},k=()=>{const w=t.target=Os(t.props,A),U=Ps(w,t,S,m);w&&(i!=="svg"&&Cr(w)?i="svg":i!=="mathml"&&wr(w)&&(i="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(w),M||(q(w,U),On(t,!1)))};M&&(q(n,J),On(t,!0)),lc(t.props)||o&&o.pendingBranch?(t.el.__isMounted=!1,ye(()=>{t.el.__isMounted===!1&&(k(),delete t.el.__isMounted)},o)):k()}else{t.el=e.el,t.targetStart=e.targetStart;const B=t.anchor=e.anchor,J=t.target=e.target,q=t.targetAnchor=e.targetAnchor;if(e.el.__isMounted===!1){ye(()=>{ai.process(e,t,n,s,r,o,i,l,c,f)},o);return}const k=nn(e.props),w=k?n:J,U=k?B:q;if(i==="svg"||Cr(J)?i="svg":(i==="mathml"||wr(J))&&(i="mathml"),N?(p(e.dynamicChildren,N,w,r,o,i,l),cr(e,t,!0)):c||a(e,t,w,U,r,o,i,l,!1),M)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):wn(t,n,B,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const z=t.target=Os(t.props,A);z&&wn(t,z,null,f,0)}else k&&wn(t,J,q,f,1);On(t,M)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:f,targetAnchor:u,target:a,props:p}=e;if(a&&(r(f),r(u)),o&&r(c),i&16){const m=o||!nn(p);for(let A=0;A{e.isMounted=!0}),bi(()=>{e.isUnmounting=!0}),e}const je=[Function,Array],hi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:je,onEnter:je,onAfterEnter:je,onEnterCancelled:je,onBeforeLeave:je,onLeave:je,onAfterLeave:je,onLeaveCancelled:je,onBeforeAppear:je,onAppear:je,onAfterAppear:je,onAppearCancelled:je},di=e=>{const t=e.subTree;return t.component?di(t.component):t},fc={name:"BaseTransition",props:hi,setup(e,{slots:t}){const n=fr(),s=uc();return()=>{const r=t.default&&mi(t.default(),!0);if(!r||!r.length)return;const o=pi(r),i=X(e),{mode:l}=i;if(s.isLeaving)return as(o);const c=Rr(o);if(!c)return as(o);let f=Is(c,i,s,n,a=>f=a);c.type!==Ee&&hn(c,f);let u=n.subTree&&Rr(n.subTree);if(u&&u.type!==Ee&&!Tt(u,c)&&di(n).type!==Ee){let a=Is(u,i,s,n);if(hn(u,a),l==="out-in"&&c.type!==Ee)return s.isLeaving=!0,a.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete a.afterLeave,u=void 0},as(o);l==="in-out"&&c.type!==Ee?a.delayLeave=(p,m,A)=>{const S=gi(s,u);S[String(u.key)]=u,p[ze]=()=>{m(),p[ze]=void 0,delete f.delayedLeave,u=void 0},f.delayedLeave=()=>{A(),delete f.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function pi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ee){t=n;break}}return t}const ac=fc;function gi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Is(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:u,onEnterCancelled:a,onBeforeLeave:p,onLeave:m,onAfterLeave:A,onLeaveCancelled:S,onBeforeAppear:F,onAppear:M,onAfterAppear:C,onAppearCancelled:L}=t,N=String(e.key),B=gi(n,e),J=(w,U)=>{w&&ke(w,s,9,U)},q=(w,U)=>{const z=U[1];J(w,U),H(w)?w.every(P=>P.length<=1)&&z():w.length<=1&&z()},k={mode:i,persisted:l,beforeEnter(w){let U=c;if(!n.isMounted)if(o)U=F||c;else return;w[ze]&&w[ze](!0);const z=B[N];z&&Tt(e,z)&&z.el[ze]&&z.el[ze](),J(U,[w])},enter(w){if(B[N]===e)return;let U=f,z=u,P=a;if(!n.isMounted)if(o)U=M||f,z=C||u,P=L||a;else return;let Q=!1;w[Jt]=Se=>{Q||(Q=!0,Se?J(P,[w]):J(z,[w]),k.delayedLeave&&k.delayedLeave(),w[Jt]=void 0)};const he=w[Jt].bind(null,!1);U?q(U,[w,he]):he()},leave(w,U){const z=String(e.key);if(w[Jt]&&w[Jt](!0),n.isUnmounting)return U();J(p,[w]);let P=!1;w[ze]=he=>{P||(P=!0,U(),he?J(S,[w]):J(A,[w]),w[ze]=void 0,B[z]===e&&delete B[z])};const Q=w[ze].bind(null,!1);B[z]=e,m?q(m,[w,Q]):Q()},clone(w){const U=Is(w,t,n,s,r);return r&&r(U),U}};return k}function as(e){if(Xn(e))return e=bt(e),e.children=null,e}function Rr(e){if(!Xn(e))return fi(e.type)&&e.children?pi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&W(n.default))return n.default()}}function hn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,hn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function mi(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;osn(S,t&&(H(t)?t[F]:t),n,s,r));return}if(Ut(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&sn(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?ns(s.component):s.el,i=r?null:o,{i:l,r:c}=e,f=t&&t.r,u=l.refs===ie?l.refs={}:l.refs,a=l.setupState,p=X(a),m=a===ie?xo:S=>xr(u,S)?!1:ne(p,S),A=(S,F)=>!(F&&xr(u,F));if(f!=null&&f!==c){if(Tr(t),ae(f))u[f]=null,m(f)&&(a[f]=null);else if(fe(f)){const S=t;A(f,S.k)&&(f.value=null),S.k&&(u[S.k]=null)}}if(W(c))bn(c,l,12,[i,u]);else{const S=ae(c),F=fe(c);if(S||F){const M=()=>{if(e.f){const C=S?m(c)?a[c]:u[c]:A()||!e.k?c.value:u[e.k];if(r)H(C)&&Ws(C,o);else if(H(C))C.includes(o)||C.push(o);else if(S)u[c]=[o],m(c)&&(a[c]=u[c]);else{const L=[o];A(c,e.k)&&(c.value=L),e.k&&(u[e.k]=L)}}else S?(u[c]=i,m(c)&&(a[c]=i)):F&&(A(c,e.k)&&(c.value=i),e.k&&(u[e.k]=i))};if(i){const C=()=>{M(),jn.delete(e)};C.id=-1,jn.set(e,C),ye(C,n)}else Tr(e),M()}}}function Tr(e){const t=jn.get(e);t&&(t.flags|=8,jn.delete(e))}Jn().requestIdleCallback;Jn().cancelIdleCallback;const Ut=e=>!!e.type.__asyncLoader,Xn=e=>e.type.__isKeepAlive;function hc(e,t){yi(e,"a",t)}function dc(e,t){yi(e,"da",t)}function yi(e,t,n=Ae){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Zn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Xn(r.parent.vnode)&&pc(s,t,n,r),r=r.parent}}function pc(e,t,n,s){const r=Zn(t,e,s,!0);Ei(()=>{Ws(s[t],r)},n)}function Zn(e,t,n=Ae,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{ut();const l=En(n),c=ke(t,n,e,i);return l(),ft(),c});return s?r.unshift(o):r.push(o),o}}const ht=e=>(t,n=Ae)=>{(!gn||e==="sp")&&Zn(e,(...s)=>t(...s),n)},gc=ht("bm"),vi=ht("m"),mc=ht("bu"),_c=ht("u"),bi=ht("bum"),Ei=ht("um"),yc=ht("sp"),vc=ht("rtg"),bc=ht("rtc");function Ec(e,t=Ae){Zn("ec",e,t)}const Ac="components";function aa(e,t){return Cc(Ac,e,!0,t)||e}const Sc=Symbol.for("v-ndc");function Cc(e,t,n=!0,s=!1){const r=_e||Ae;if(r){const o=r.type;{const l=uu(o,!1);if(l&&(l===t||l===xe(t)||l===qn(xe(t))))return o}const i=Or(r[e]||o[e],t)||Or(r.appContext[e],t);return!i&&s?o:i}}function Or(e,t){return e&&(e[t]||e[xe(t)]||e[qn(xe(t))])}function ha(e,t,n,s){let r;const o=n,i=H(e);if(i||ae(e)){const l=i&&ct(e);let c=!1,f=!1;l&&(c=!De(e),f=at(e),e=zn(e)),r=new Array(e.length);for(let u=0,a=e.length;ut(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c0;return t!=="default"&&(n.name=t),Bn(),kn(Ie,null,[Oe("slot",n,s)],f?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),Bn();const i=o&&Ai(o(n)),l=n.key||i&&i.key,c=kn(Ie,{key:(l&&!Le(l)?l:`_${t}`)+(!i&&s?"_fb":"")},i||[],i&&e._===1?64:-2);return o&&o._c&&(o._d=!0),c}function Ai(e){return e.some(t=>pn(t)?!(t.type===Ee||t.type===Ie&&!Ai(t.children)):!0)?e:null}const Ns=e=>e?Ui(e)?ns(e):Ns(e.parent):null,rn=ge(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=>Ns(e.parent),$root:e=>Ns(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ci(e),$forceUpdate:e=>e.f||(e.f=()=>{rr(e.update)}),$nextTick:e=>e.n||(e.n=sr.bind(e.proxy)),$watch:e=>ic.bind(e)}),hs=(e,t)=>e!==ie&&!e.__isScriptSetup&&ne(e,t),wc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(hs(s,t))return i[t]=1,s[t];if(r!==ie&&ne(r,t))return i[t]=2,r[t];if(ne(o,t))return i[t]=3,o[t];if(n!==ie&&ne(n,t))return i[t]=4,n[t];Ms&&(i[t]=0)}}const f=rn[t];let u,a;if(f)return t==="$attrs"&&be(e.attrs,"get",""),f(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==ie&&ne(n,t))return i[t]=4,n[t];if(a=c.config.globalProperties,ne(a,t))return a[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return hs(r,t)?(r[t]=n,!0):s!==ie&&ne(s,t)?(s[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:o,type:i}},l){let c;return!!(n[l]||e!==ie&&l[0]!=="$"&&ne(e,l)||hs(t,l)||ne(o,l)||ne(s,l)||ne(rn,l)||ne(r.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Pr(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ms=!0;function Rc(e){const t=Ci(e),n=e.proxy,s=e.ctx;Ms=!1,t.beforeCreate&&Ir(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:f,created:u,beforeMount:a,mounted:p,beforeUpdate:m,updated:A,activated:S,deactivated:F,beforeDestroy:M,beforeUnmount:C,destroyed:L,unmounted:N,render:B,renderTracked:J,renderTriggered:q,errorCaptured:k,serverPrefetch:w,expose:U,inheritAttrs:z,components:P,directives:Q,filters:he}=t;if(f&&xc(f,s,null),i)for(const $ in i){const ee=i[$];W(ee)&&(s[$]=ee.bind(n))}if(r){const $=r.call(n,n);se($)&&(e.data=vn($))}if(Ms=!0,o)for(const $ in o){const ee=o[$],et=W(ee)?ee.bind(n,n):W(ee.get)?ee.get.bind(n,n):Ze,dt=!W(ee)&&W(ee.set)?ee.set.bind(n):Ze,Ke=Ne({get:et,set:dt});Object.defineProperty(s,$,{enumerable:!0,configurable:!0,get:()=>Ke.value,set:Te=>Ke.value=Te})}if(l)for(const $ in l)Si(l[$],s,n,$);if(c){const $=W(c)?c.call(n):c;Reflect.ownKeys($).forEach(ee=>{Tn(ee,$[ee])})}u&&Ir(u,e,"c");function re($,ee){H(ee)?ee.forEach(et=>$(et.bind(n))):ee&&$(ee.bind(n))}if(re(gc,a),re(vi,p),re(mc,m),re(_c,A),re(hc,S),re(dc,F),re(Ec,k),re(bc,J),re(vc,q),re(bi,C),re(Ei,N),re(yc,w),H(U))if(U.length){const $=e.exposed||(e.exposed={});U.forEach(ee=>{Object.defineProperty($,ee,{get:()=>n[ee],set:et=>n[ee]=et,enumerable:!0})})}else e.exposed||(e.exposed={});B&&e.render===Ze&&(e.render=B),z!=null&&(e.inheritAttrs=z),P&&(e.components=P),Q&&(e.directives=Q),w&&_i(e)}function xc(e,t,n=Ze){H(e)&&(e=Ds(e));for(const s in e){const r=e[s];let o;se(r)?"default"in r?o=Ve(r.from||s,r.default,!0):o=Ve(r.from||s):o=Ve(r),fe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Ir(e,t,n){ke(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Si(e,t,n,s){let r=s.includes(".")?ci(n,s):()=>n[s];if(ae(e)){const o=t[e];W(o)&&tn(r,o)}else if(W(e))tn(r,e.bind(n));else if(se(e))if(H(e))e.forEach(o=>Si(o,t,n,s));else{const o=W(e.handler)?e.handler.bind(n):t[e.handler];W(o)&&tn(r,o,e)}}function Ci(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Vn(c,f,i,!0)),Vn(c,t,i)),se(t)&&o.set(t,c),c}function Vn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Vn(e,o,n,!0),r&&r.forEach(i=>Vn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Tc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Tc={data:Nr,props:Mr,emits:Mr,methods:Yt,computed:Yt,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:Yt,directives:Yt,watch:Pc,provide:Nr,inject:Oc};function Nr(e,t){return t?e?function(){return ge(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Oc(e,t){return Yt(Ds(e),Ds(t))}function Ds(e){if(H(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xe(t)}Modifiers`]||e[`${Et(t)}Modifiers`];function Dc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ie;let r=n;const o=t.startsWith("update:"),i=o&&Mc(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>ae(u)?u.trim():u)),i.number&&(r=n.map($s)));let l,c=s[l=is(t)]||s[l=is(xe(t))];!c&&o&&(c=s[l=is(Et(t))]),c&&ke(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ke(f,e,6,r)}}const Lc=new WeakMap;function Ri(e,t,n=!1){const s=n?Lc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!W(e)){const c=f=>{const u=Ri(f,t,!0);u&&(l=!0,ge(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(se(e)&&s.set(e,null),null):(H(o)?o.forEach(c=>i[c]=null):ge(i,o),se(e)&&s.set(e,i),i)}function es(e,t){return!e||!Kn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Et(t))||ne(e,t))}function Dr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:f,renderCache:u,props:a,data:p,setupState:m,ctx:A,inheritAttrs:S}=e,F=Fn(e);let M,C;try{if(n.shapeFlag&4){const N=r||s,B=N;M=Ye(f.call(B,N,u,a,m,p,A)),C=l}else{const N=t;M=Ye(N.length>1?N(a,{attrs:l,slots:i,emit:c}):N(a,null)),C=t.props?l:Fc(l)}}catch(N){on.length=0,Yn(N,e,1),M=Oe(Ee)}let L=M;if(C&&S!==!1){const N=Object.keys(C),{shapeFlag:B}=L;N.length&&B&7&&(o&&N.some(Gn)&&(C=jc(C,o)),L=bt(L,C,!1,!0))}return n.dirs&&(L=bt(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&hn(L,n.transition),M=L,Fn(F),M}const Fc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kn(n))&&((t||(t={}))[n]=e[n]);return t},jc=(e,t)=>{const n={};for(const s in e)(!Gn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Vc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Lr(s,i,f):!!i;if(c&8){const u=t.dynamicProps;for(let a=0;aObject.create(Ti),Pi=e=>Object.getPrototypeOf(e)===Ti;function Hc(e,t,n,s=!1){const r={},o=Oi();e.propsDefaults=Object.create(null),Ii(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Zo(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function kc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=X(r),[c]=e.propsOptions;let f=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let a=0;a{c=!0;const[p,m]=Ni(a,t,!0);ge(i,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return se(e)&&s.set(e,Bt),Bt;if(H(o))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",lr=e=>H(e)?e.map(Ye):[Ye(e)],Kc=(e,t,n)=>{if(t._n)return t;const s=nc((...r)=>lr(t(...r)),n);return s._c=!1,s},Mi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ir(r))continue;const o=e[r];if(W(o))t[r]=Kc(r,o,s);else if(o!=null){const i=lr(o);t[r]=()=>i}}},Di=(e,t)=>{const n=lr(t);e.slots.default=()=>n},Li=(e,t,n)=>{for(const s in t)(n||!ir(s))&&(e[s]=t[s])},Gc=(e,t,n)=>{const s=e.slots=Oi();if(e.vnode.shapeFlag&32){const r=t._;r?(Li(s,t,n),n&&No(s,"_",r,!0)):Mi(t,s)}else t&&Di(e,t)},Wc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ie;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Li(r,t,n):(o=!t.$stable,Mi(t,r)),i=t}else t&&(Di(e,t),i={default:1});if(o)for(const l in r)!ir(l)&&i[l]==null&&delete r[l]},ye=Qc;function $c(e){return qc(e)}function qc(e,t){const n=Jn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:u,parentNode:a,nextSibling:p,setScopeId:m=Ze,insertStaticContent:A}=e,S=(h,d,g,_=null,b=null,y=null,T=void 0,x=null,R=!!d.dynamicChildren)=>{if(h===d)return;h&&!Tt(h,d)&&(_=v(h),Te(h,b,y,!0),h=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:E,ref:K,shapeFlag:I}=d;switch(E){case ts:F(h,d,g,_);break;case Ee:M(h,d,g,_);break;case ps:h==null&&C(d,g,_,T);break;case Ie:P(h,d,g,_,b,y,T,x,R);break;default:I&1?B(h,d,g,_,b,y,T,x,R):I&6?Q(h,d,g,_,b,y,T,x,R):(I&64||I&128)&&E.process(h,d,g,_,b,y,T,x,R,j)}K!=null&&b?sn(K,h&&h.ref,y,d||h,!d):K==null&&h&&h.ref!=null&&sn(h.ref,null,y,h,!0)},F=(h,d,g,_)=>{if(h==null)s(d.el=l(d.children),g,_);else{const b=d.el=h.el;d.children!==h.children&&f(b,d.children)}},M=(h,d,g,_)=>{h==null?s(d.el=c(d.children||""),g,_):d.el=h.el},C=(h,d,g,_)=>{[h.el,h.anchor]=A(h.children,d,g,_,h.el,h.anchor)},L=({el:h,anchor:d},g,_)=>{let b;for(;h&&h!==d;)b=p(h),s(h,g,_),h=b;s(d,g,_)},N=({el:h,anchor:d})=>{let g;for(;h&&h!==d;)g=p(h),r(h),h=g;r(d)},B=(h,d,g,_,b,y,T,x,R)=>{if(d.type==="svg"?T="svg":d.type==="math"&&(T="mathml"),h==null)J(d,g,_,b,y,T,x,R);else{const E=h.el&&h.el._isVueCE?h.el:null;try{E&&E._beginPatch(),w(h,d,b,y,T,x,R)}finally{E&&E._endPatch()}}},J=(h,d,g,_,b,y,T,x)=>{let R,E;const{props:K,shapeFlag:I,transition:V,dirs:G}=h;if(R=h.el=i(h.type,y,K&&K.is,K),I&8?u(R,h.children):I&16&&k(h.children,R,null,_,b,ds(h,y),T,x),G&&St(h,null,_,"created"),q(R,h,h.scopeId,T,_),K){for(const oe in K)oe!=="value"&&!Xt(oe)&&o(R,oe,null,K[oe],y,_);"value"in K&&o(R,"value",null,K.value,y),(E=K.onVnodeBeforeMount)&&qe(E,_,h)}G&&St(h,null,_,"beforeMount");const Z=Jc(b,V);Z&&V.beforeEnter(R),s(R,d,g),((E=K&&K.onVnodeMounted)||Z||G)&&ye(()=>{try{E&&qe(E,_,h),Z&&V.enter(R),G&&St(h,null,_,"mounted")}finally{}},b)},q=(h,d,g,_,b)=>{if(g&&m(h,g),_)for(let y=0;y<_.length;y++)m(h,_[y]);if(b){let y=b.subTree;if(d===y||Vi(y.type)&&(y.ssContent===d||y.ssFallback===d)){const T=b.vnode;q(h,T,T.scopeId,T.slotScopeIds,b.parent)}}},k=(h,d,g,_,b,y,T,x,R=0)=>{for(let E=R;E{const x=d.el=h.el;let{patchFlag:R,dynamicChildren:E,dirs:K}=d;R|=h.patchFlag&16;const I=h.props||ie,V=d.props||ie;let G;if(g&&Ct(g,!1),(G=V.onVnodeBeforeUpdate)&&qe(G,g,d,h),K&&St(d,h,g,"beforeUpdate"),g&&Ct(g,!0),(I.innerHTML&&V.innerHTML==null||I.textContent&&V.textContent==null)&&u(x,""),E?U(h.dynamicChildren,E,x,g,_,ds(d,b),y):T||ee(h,d,x,null,g,_,ds(d,b),y,!1),R>0){if(R&16)z(x,I,V,g,b);else if(R&2&&I.class!==V.class&&o(x,"class",null,V.class,b),R&4&&o(x,"style",I.style,V.style,b),R&8){const Z=d.dynamicProps;for(let oe=0;oe{G&&qe(G,g,d,h),K&&St(d,h,g,"updated")},_)},U=(h,d,g,_,b,y,T)=>{for(let x=0;x{if(d!==g){if(d!==ie)for(const y in d)!Xt(y)&&!(y in g)&&o(h,y,d[y],null,b,_);for(const y in g){if(Xt(y))continue;const T=g[y],x=d[y];T!==x&&y!=="value"&&o(h,y,x,T,b,_)}"value"in g&&o(h,"value",d.value,g.value,b)}},P=(h,d,g,_,b,y,T,x,R)=>{const E=d.el=h?h.el:l(""),K=d.anchor=h?h.anchor:l("");let{patchFlag:I,dynamicChildren:V,slotScopeIds:G}=d;G&&(x=x?x.concat(G):G),h==null?(s(E,g,_),s(K,g,_),k(d.children||[],g,K,b,y,T,x,R)):I>0&&I&64&&V&&h.dynamicChildren&&h.dynamicChildren.length===V.length?(U(h.dynamicChildren,V,g,b,y,T,x),(d.key!=null||b&&d===b.subTree)&&cr(h,d,!0)):ee(h,d,g,K,b,y,T,x,R)},Q=(h,d,g,_,b,y,T,x,R)=>{d.slotScopeIds=x,h==null?d.shapeFlag&512?b.ctx.activate(d,g,_,T,R):he(d,g,_,b,y,T,R):Se(h,d,R)},he=(h,d,g,_,b,y,T)=>{const x=h.component=ru(h,_,b);if(Xn(h)&&(x.ctx.renderer=j),ou(x,!1,T),x.asyncDep){if(b&&b.registerDep(x,re,T),!h.el){const R=x.subTree=Oe(Ee);M(null,R,d,g),h.placeholder=R.el}}else re(x,h,d,g,b,y,T)},Se=(h,d,g)=>{const _=d.component=h.component;if(Vc(h,d,g))if(_.asyncDep&&!_.asyncResolved){$(_,d,g);return}else _.next=d,_.update();else d.el=h.el,_.vnode=d},re=(h,d,g,_,b,y,T)=>{const x=()=>{if(h.isMounted){let{next:I,bu:V,u:G,parent:Z,vnode:oe}=h;{const We=Fi(h);if(We){I&&(I.el=oe.el,$(h,I,T)),We.asyncDep.then(()=>{ye(()=>{h.isUnmounted||E()},b)});return}}let le=I,de;Ct(h,!1),I?(I.el=oe.el,$(h,I,T)):I=oe,V&&xn(V),(de=I.props&&I.props.onVnodeBeforeUpdate)&&qe(de,Z,I,oe),Ct(h,!0);const me=Dr(h),Ge=h.subTree;h.subTree=me,S(Ge,me,a(Ge.el),v(Ge),h,b,y),I.el=me.el,le===null&&Bc(h,me.el),G&&ye(G,b),(de=I.props&&I.props.onVnodeUpdated)&&ye(()=>qe(de,Z,I,oe),b)}else{let I;const{el:V,props:G}=d,{bm:Z,m:oe,parent:le,root:de,type:me}=h,Ge=Ut(d);Ct(h,!1),Z&&xn(Z),!Ge&&(I=G&&G.onVnodeBeforeMount)&&qe(I,le,d),Ct(h,!0);{de.ce&&de.ce._hasShadowRoot()&&de.ce._injectChildStyle(me,h.parent?h.parent.type:void 0);const We=h.subTree=Dr(h);S(null,We,g,_,h,b,y),d.el=We.el}if(oe&&ye(oe,b),!Ge&&(I=G&&G.onVnodeMounted)){const We=d;ye(()=>qe(I,le,We),b)}(d.shapeFlag&256||le&&Ut(le.vnode)&&le.vnode.shapeFlag&256)&&h.a&&ye(h.a,b),h.isMounted=!0,d=g=_=null}};h.scope.on();const R=h.effect=new Bo(x);h.scope.off();const E=h.update=R.run.bind(R),K=h.job=R.runIfDirty.bind(R);K.i=h,K.id=h.uid,R.scheduler=()=>rr(K),Ct(h,!0),E()},$=(h,d,g)=>{d.component=h;const _=h.vnode.props;h.vnode=d,h.next=null,kc(h,d.props,_,g),Wc(h,d.children,g),ut(),Sr(h),ft()},ee=(h,d,g,_,b,y,T,x,R=!1)=>{const E=h&&h.children,K=h?h.shapeFlag:0,I=d.children,{patchFlag:V,shapeFlag:G}=d;if(V>0){if(V&128){dt(E,I,g,_,b,y,T,x,R);return}else if(V&256){et(E,I,g,_,b,y,T,x,R);return}}G&8?(K&16&&Fe(E,b,y),I!==E&&u(g,I)):K&16?G&16?dt(E,I,g,_,b,y,T,x,R):Fe(E,b,y,!0):(K&8&&u(g,""),G&16&&k(I,g,_,b,y,T,x,R))},et=(h,d,g,_,b,y,T,x,R)=>{h=h||Bt,d=d||Bt;const E=h.length,K=d.length,I=Math.min(E,K);let V;for(V=0;VK?Fe(h,b,y,!0,!1,I):k(d,g,_,b,y,T,x,R,I)},dt=(h,d,g,_,b,y,T,x,R)=>{let E=0;const K=d.length;let I=h.length-1,V=K-1;for(;E<=I&&E<=V;){const G=h[E],Z=d[E]=R?ot(d[E]):Ye(d[E]);if(Tt(G,Z))S(G,Z,g,null,b,y,T,x,R);else break;E++}for(;E<=I&&E<=V;){const G=h[I],Z=d[V]=R?ot(d[V]):Ye(d[V]);if(Tt(G,Z))S(G,Z,g,null,b,y,T,x,R);else break;I--,V--}if(E>I){if(E<=V){const G=V+1,Z=GV)for(;E<=I;)Te(h[E],b,y,!0),E++;else{const G=E,Z=E,oe=new Map;for(E=Z;E<=V;E++){const Pe=d[E]=R?ot(d[E]):Ye(d[E]);Pe.key!=null&&oe.set(Pe.key,E)}let le,de=0;const me=V-Z+1;let Ge=!1,We=0;const $t=new Array(me);for(E=0;E=me){Te(Pe,b,y,!0);continue}let $e;if(Pe.key!=null)$e=oe.get(Pe.key);else for(le=Z;le<=V;le++)if($t[le-Z]===0&&Tt(Pe,d[le])){$e=le;break}$e===void 0?Te(Pe,b,y,!0):($t[$e-Z]=E+1,$e>=We?We=$e:Ge=!0,S(Pe,d[$e],g,null,b,y,T,x,R),de++)}const mr=Ge?zc($t):Bt;for(le=mr.length-1,E=me-1;E>=0;E--){const Pe=Z+E,$e=d[Pe],_r=d[Pe+1],yr=Pe+1{const{el:y,type:T,transition:x,children:R,shapeFlag:E}=h;if(E&6){Ke(h.component.subTree,d,g,_);return}if(E&128){h.suspense.move(d,g,_);return}if(E&64){T.move(h,d,g,j);return}if(T===Ie){s(y,d,g);for(let I=0;Ix.enter(y),b);else{const{leave:I,delayLeave:V,afterLeave:G}=x,Z=()=>{h.ctx.isUnmounted?r(y):s(y,d,g)},oe=()=>{y._isLeaving&&y[ze](!0),I(y,()=>{Z(),G&&G()})};V?V(y,Z,oe):oe()}else s(y,d,g)},Te=(h,d,g,_=!1,b=!1)=>{const{type:y,props:T,ref:x,children:R,dynamicChildren:E,shapeFlag:K,patchFlag:I,dirs:V,cacheIndex:G,memo:Z}=h;if(I===-2&&(b=!1),x!=null&&(ut(),sn(x,null,g,h,!0),ft()),G!=null&&(d.renderCache[G]=void 0),K&256){d.ctx.deactivate(h);return}const oe=K&1&&V,le=!Ut(h);let de;if(le&&(de=T&&T.onVnodeBeforeUnmount)&&qe(de,d,h),K&6)At(h.component,g,_);else{if(K&128){h.suspense.unmount(g,_);return}oe&&St(h,null,d,"beforeUnmount"),K&64?h.type.remove(h,d,g,j,_):E&&!E.hasOnce&&(y!==Ie||I>0&&I&64)?Fe(E,d,g,!1,!0):(y===Ie&&I&384||!b&&K&16)&&Fe(R,d,g),_&&Nt(h)}const me=Z!=null&&G==null;(le&&(de=T&&T.onVnodeUnmounted)||oe||me)&&ye(()=>{de&&qe(de,d,h),oe&&St(h,null,d,"unmounted"),me&&(h.el=null)},g)},Nt=h=>{const{type:d,el:g,anchor:_,transition:b}=h;if(d===Ie){Mt(g,_);return}if(d===ps){N(h);return}const y=()=>{r(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(h.shapeFlag&1&&b&&!b.persisted){const{leave:T,delayLeave:x}=b,R=()=>T(g,y);x?x(h.el,y,R):R()}else y()},Mt=(h,d)=>{let g;for(;h!==d;)g=p(h),r(h),h=g;r(d)},At=(h,d,g)=>{const{bum:_,scope:b,job:y,subTree:T,um:x,m:R,a:E}=h;jr(R),jr(E),_&&xn(_),b.stop(),y&&(y.flags|=8,Te(T,h,d,g)),x&&ye(x,d),ye(()=>{h.isUnmounted=!0},d)},Fe=(h,d,g,_=!1,b=!1,y=0)=>{for(let T=y;T{if(h.shapeFlag&6)return v(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const d=p(h.anchor||h.el),g=d&&d[ui];return g?p(g):d};let D=!1;const O=(h,d,g)=>{let _;h==null?d._vnode&&(Te(d._vnode,null,null,!0),_=d._vnode.component):S(d._vnode||null,h,d,null,null,null,g),d._vnode=h,D||(D=!0,Sr(_),ri(),D=!1)},j={p:S,um:Te,m:Ke,r:Nt,mt:he,mc:k,pc:ee,pbc:U,n:v,o:e};return{render:O,hydrate:void 0,createApp:Nc(O)}}function ds({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Jc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function cr(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Fi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fi(t)}function jr(e){if(e)for(let t=0;te.__isSuspense;function Qc(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):tc(e)}const Ie=Symbol.for("v-fgt"),ts=Symbol.for("v-txt"),Ee=Symbol.for("v-cmt"),ps=Symbol.for("v-stc"),on=[];let Me=null;function Bn(e=!1){on.push(Me=e?null:[])}function Yc(){on.pop(),Me=on[on.length-1]||null}let dn=1;function Hn(e,t=!1){dn+=e,e<0&&Me&&t&&(Me.hasOnce=!0)}function Bi(e){return e.dynamicChildren=dn>0?Me||Bt:null,Yc(),dn>0&&Me&&Me.push(e),e}function pa(e,t,n,s,r,o){return Bi(ki(e,t,n,s,r,o,!0))}function kn(e,t,n,s,r){return Bi(Oe(e,t,n,s,r,!0))}function pn(e){return e?e.__v_isVNode===!0:!1}function Tt(e,t){return e.type===t.type&&e.key===t.key}const Hi=({key:e})=>e??null,Pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||fe(e)||W(e)?{i:_e,r:e,k:t,f:!!n}:e:null);function ki(e,t=null,n=null,s=0,r=null,o=e===Ie?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hi(t),ref:t&&Pn(t),scopeId:ii,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:_e};return l?(ur(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ae(n)?8:16),dn>0&&!i&&Me&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Me.push(c),c}const Oe=Xc;function Xc(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Sc)&&(e=Ee),pn(e)){const l=bt(e,t,!0);return n&&ur(l,n),dn>0&&!o&&Me&&(l.shapeFlag&6?Me[Me.indexOf(e)]=l:Me.push(l)),l.patchFlag=-2,l}if(fu(e)&&(e=e.__vccOpts),t){t=Zc(t);let{class:l,style:c}=t;l&&!ae(l)&&(t.class=Js(l)),se(c)&&(Qn(c)&&!H(c)&&(c=ge({},c)),t.style=qs(c))}const i=ae(e)?1:Vi(e)?128:fi(e)?64:se(e)?4:W(e)?2:0;return ki(e,t,n,s,r,i,o,!0)}function Zc(e){return e?Qn(e)||Pi(e)?ge({},e):e:null}function bt(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,f=t?tu(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Hi(f),ref:t&&t.ref?n&&o?H(o)?o.concat(Pn(t)):[o,Pn(t)]:Pn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ie?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bt(e.ssContent),ssFallback:e.ssFallback&&bt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&hn(u,c.clone(u)),u}function eu(e=" ",t=0){return Oe(ts,null,e,t)}function ga(e="",t=!1){return t?(Bn(),kn(Ee,null,e)):Oe(Ee,null,e)}function Ye(e){return e==null||typeof e=="boolean"?Oe(Ee):H(e)?Oe(Ie,null,e.slice()):pn(e)?ot(e):Oe(ts,null,String(e))}function ot(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bt(e)}function ur(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),ur(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Pi(t)?t._ctx=_e:r===3&&_e&&(_e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:_e},n=32):(t=String(t),s&64?(n=16,t=[eu(t)]):n=8);e.children=t,e.shapeFlag|=n}function tu(...e){const t={};for(let n=0;nAe||_e;let Un,Fs;{const e=Jn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};Un=t("__VUE_INSTANCE_SETTERS__",n=>Ae=n),Fs=t("__VUE_SSR_SETTERS__",n=>gn=n)}const En=e=>{const t=Ae;return Un(e),e.scope.on(),()=>{e.scope.off(),Un(t)}},Vr=()=>{Ae&&Ae.scope.off(),Un(null)};function Ui(e){return e.vnode.shapeFlag&4}let gn=!1;function ou(e,t=!1,n=!1){t&&Fs(t);const{props:s,children:r}=e.vnode,o=Ui(e);Hc(e,s,o,t),Gc(e,r,n||t);const i=o?iu(e,t):void 0;return t&&Fs(!1),i}function iu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,wc);const{setup:s}=n;if(s){ut();const r=e.setupContext=s.length>1?cu(e):null,o=En(e),i=bn(s,e,0,[e.props,r]),l=Oo(i);if(ft(),o(),(l||e.sp)&&!Ut(e)&&_i(e),l){if(i.then(Vr,Vr),t)return i.then(c=>{Br(e,c)}).catch(c=>{Yn(c,e,0)});e.asyncDep=i}else Br(e,i)}else Ki(e)}function Br(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=ti(t)),Ki(e)}function Ki(e,t,n){const s=e.type;e.render||(e.render=s.render||Ze);{const r=En(e);ut();try{Rc(e)}finally{ft(),r()}}}const lu={get(e,t){return be(e,"get",""),e[t]}};function cu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,lu),slots:e.slots,emit:e.emit,expose:t}}function ns(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ti(nr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in rn)return rn[n](e)},has(t,n){return n in t||n in rn}})):e.proxy}function uu(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function fu(e){return W(e)&&"__vccOpts"in e}const Ne=(e,t)=>Ql(e,t,gn);function ar(e,t,n){try{Hn(-1);const s=arguments.length;return s===2?se(t)&&!H(t)?pn(t)?Oe(e,null,[t]):Oe(e,t):Oe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&pn(n)&&(n=[n]),Oe(e,t,n))}finally{Hn(1)}}const au="3.5.31";/** * @vue/runtime-dom v3.5.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let js;const Hr=typeof window<"u"&&window.trustedTypes;if(Hr)try{js=Hr.createPolicy("vue",{createHTML:e=>e})}catch{}const Gi=js?e=>js.createHTML(e):e=>e,hu="http://www.w3.org/2000/svg",du="http://www.w3.org/1998/Math/MathML",rt=typeof document<"u"?document:null,kr=rt&&rt.createElement("template"),pu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?rt.createElementNS(hu,e):t==="mathml"?rt.createElementNS(du,e):n?rt.createElement(e,{is:n}):rt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{kr.innerHTML=Gi(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=kr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},pt="transition",zt="animation",mn=Symbol("_vtc"),Wi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},gu=ge({},hi,Wi),mu=e=>(e.displayName="Transition",e.props=gu,e),ma=mu((e,{slots:t})=>ar(ac,_u(e),t)),wt=(e,t=[])=>{H(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ur=e=>e?H(e)?e.some(t=>t.length>1):e.length>1:!1;function _u(e){const t={};for(const P in e)P in Wi||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:f=i,appearToClass:u=l,leaveFromClass:a=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,A=yu(r),S=A&&A[0],F=A&&A[1],{onBeforeEnter:M,onEnter:C,onEnterCancelled:L,onLeave:N,onLeaveCancelled:B,onBeforeAppear:J=M,onAppear:q=C,onAppearCancelled:k=L}=t,w=(P,Q,he,Se)=>{P._enterCancelled=Se,Rt(P,Q?u:l),Rt(P,Q?f:i),he&&he()},U=(P,Q)=>{P._isLeaving=!1,Rt(P,a),Rt(P,m),Rt(P,p),Q&&Q()},z=P=>(Q,he)=>{const Se=P?q:C,re=()=>w(Q,P,he);wt(Se,[Q,re]),Kr(()=>{Rt(Q,P?c:o),nt(Q,P?u:l),Ur(Se)||Gr(Q,s,S,re)})};return ge(t,{onBeforeEnter(P){wt(M,[P]),nt(P,o),nt(P,i)},onBeforeAppear(P){wt(J,[P]),nt(P,c),nt(P,f)},onEnter:z(!1),onAppear:z(!0),onLeave(P,Q){P._isLeaving=!0;const he=()=>U(P,Q);nt(P,a),P._enterCancelled?(nt(P,p),qr(P)):(qr(P),nt(P,p)),Kr(()=>{P._isLeaving&&(Rt(P,a),nt(P,m),Ur(N)||Gr(P,s,F,he))}),wt(N,[P,he])},onEnterCancelled(P){w(P,!1,void 0,!0),wt(L,[P])},onAppearCancelled(P){w(P,!0,void 0,!0),wt(k,[P])},onLeaveCancelled(P){U(P),wt(B,[P])}})}function yu(e){if(e==null)return null;if(se(e))return[gs(e.enter),gs(e.leave)];{const t=gs(e);return[t,t]}}function gs(e){return pl(e)}function nt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[mn]||(e[mn]=new Set)).add(t)}function Rt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[mn];n&&(n.delete(t),n.size||(e[mn]=void 0))}function Kr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let vu=0;function Gr(e,t,n,s){const r=e._endId=++vu,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=bu(e,t);if(!i)return s();const f=i+"end";let u=0;const a=()=>{e.removeEventListener(f,p),o()},p=m=>{m.target===e&&++u>=c&&a()};setTimeout(()=>{u(n[A]||"").split(", "),r=s(`${pt}Delay`),o=s(`${pt}Duration`),i=Wr(r,o),l=s(`${zt}Delay`),c=s(`${zt}Duration`),f=Wr(l,c);let u=null,a=0,p=0;t===pt?i>0&&(u=pt,a=i,p=o.length):t===zt?f>0&&(u=zt,a=f,p=c.length):(a=Math.max(i,f),u=a>0?i>f?pt:zt:null,p=u?u===pt?o.length:c.length:0);const m=u===pt&&/\b(?:transform|all)(?:,|$)/.test(s(`${pt}Property`).toString());return{type:u,timeout:a,propCount:p,hasTransform:m}}function Wr(e,t){for(;e.length$r(n)+$r(e[s])))}function $r(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function qr(e){return(e?e.ownerDocument:document).body.offsetHeight}function Eu(e,t,n){const s=e[mn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Jr=Symbol("_vod"),Au=Symbol("_vsh"),Su=Symbol(""),Cu=/(?:^|;)\s*display\s*:/;function wu(e,t,n){const s=e.style,r=ae(n);let o=!1;if(n&&!r){if(t)if(ae(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&In(s,l,"")}else for(const i in t)n[i]==null&&In(s,i,"");for(const i in n)i==="display"&&(o=!0),In(s,i,n[i])}else if(r){if(t!==n){const i=s[Su];i&&(n+=";"+i),s.cssText=n,o=Cu.test(n)}}else t&&e.removeAttribute("style");Jr in e&&(e[Jr]=o?s.display:"",e[Au]&&(s.display="none"))}const zr=/\s*!important$/;function In(e,t,n){if(H(n))n.forEach(s=>In(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ru(e,t);zr.test(n)?e.setProperty(Et(s),n.replace(zr,""),"important"):e[s]=n}}const Qr=["Webkit","Moz","ms"],ms={};function Ru(e,t){const n=ms[t];if(n)return n;let s=xe(t);if(s!=="filter"&&s in e)return ms[t]=s;s=qn(s);for(let r=0;r_s||(Pu.then(()=>_s=0),_s=Date.now());function Nu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ke(Mu(s,n.value),t,5,[s])};return n.value=e,n.attached=Iu(),n}function Mu(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const no=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Du=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Eu(e,s,i):t==="style"?wu(e,n,s):Kn(t)?Gn(t)||Tu(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Lu(e,t,s,i))?(Zr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Xr(e,t,s,i,o,t!=="value")):e._isVueCE&&(Fu(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ae(s)))?Zr(e,xe(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Xr(e,t,s,i))};function Lu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&no(t)&&W(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return no(t)&&ae(n)?!1:t in e}function Fu(e,t){const n=e._def.props;if(!n)return!1;const s=xe(t);return Array.isArray(n)?n.some(r=>xe(r)===s):Object.keys(n).some(r=>xe(r)===s)}const so=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>xn(t,n):t};function ju(e){e.target.composing=!0}function ro(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ys=Symbol("_assign");function oo(e,t,n){return t&&(e=e.trim()),n&&(e=$s(e)),e}const _a={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ys]=so(r);const o=s||r.props&&r.props.type==="number";jt(e,t?"change":"input",i=>{i.target.composing||e[ys](oo(e.value,n,o))}),(n||o)&&jt(e,"change",()=>{e.value=oo(e.value,n,o)}),t||(jt(e,"compositionstart",ju),jt(e,"compositionend",ro),jt(e,"change",ro))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[ys]=so(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?$s(e.value):e.value,c=t??"";if(l===c)return;const f=e.getRootNode();(f instanceof Document||f instanceof ShadowRoot)&&f.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},Vu=["ctrl","shift","alt","meta"],Bu={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)=>Vu.some(n=>e[`${n}Key`]&&!t.includes(n))},ya=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=Et(r.key);if(t.some(i=>i===o||Hu[i]===o))return e(r)})},ku=ge({patchProp:Du},pu);let io;function Uu(){return io||(io=$c(ku))}const Ku=(...e)=>{const t=Uu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Wu(s);if(!r)return;const o=t._component;!W(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Gu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Gu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Wu(e){return ae(e)?document.querySelector(e):e}/*! * pinia v2.3.1 * (c) 2025 Eduardo San Martin Morote * @license MIT */let $i;const ss=e=>$i=e,qi=Symbol();function Vs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ln;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ln||(ln={}));function $u(){const e=jo(!0),t=e.run(()=>Mn({}));let n=[],s=[];const r=nr({install(o){ss(r),r._a=o,o.provide(qi,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Ji=()=>{};function lo(e,t,n,s=Ji){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Vo()&&Sl(r),r}function Lt(e,...t){e.slice().forEach(n=>{n(...t)})}const qu=e=>e(),co=Symbol(),vs=Symbol();function Bs(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];Vs(r)&&Vs(s)&&e.hasOwnProperty(n)&&!fe(s)&&!ct(s)?e[n]=Bs(r,s):e[n]=s}return e}const Ju=Symbol();function zu(e){return!Vs(e)||!e.hasOwnProperty(Ju)}const{assign:mt}=Object;function Qu(e){return!!(fe(e)&&e.effect)}function Yu(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let c;function f(){l||(n.state.value[e]=r?r():{});const u=$l(n.state.value[e]);return mt(u,o,Object.keys(i||{}).reduce((a,p)=>(a[p]=nr(Ne(()=>{ss(n);const m=n._s.get(e);return i[p].call(m,m)})),a),{}))}return c=zi(e,f,t,n,s,!0),c}function zi(e,t,n={},s,r,o){let i;const l=mt({actions:{}},n),c={deep:!0};let f,u,a=[],p=[],m;const A=s.state.value[e];!o&&!A&&(s.state.value[e]={});let S;function F(k){let w;f=u=!1,typeof k=="function"?(k(s.state.value[e]),w={type:ln.patchFunction,storeId:e,events:m}):(Bs(s.state.value[e],k),w={type:ln.patchObject,payload:k,storeId:e,events:m});const U=S=Symbol();sr().then(()=>{S===U&&(f=!0)}),u=!0,Lt(a,w,s.state.value[e])}const M=o?function(){const{state:w}=n,U=w?w():{};this.$patch(z=>{mt(z,U)})}:Ji;function C(){i.stop(),a=[],p=[],s._s.delete(e)}const L=(k,w="")=>{if(co in k)return k[vs]=w,k;const U=function(){ss(s);const z=Array.from(arguments),P=[],Q=[];function he($){P.push($)}function Se($){Q.push($)}Lt(p,{args:z,name:U[vs],store:B,after:he,onError:Se});let re;try{re=k.apply(this&&this.$id===e?this:B,z)}catch($){throw Lt(Q,$),$}return re instanceof Promise?re.then($=>(Lt(P,$),$)).catch($=>(Lt(Q,$),Promise.reject($))):(Lt(P,re),re)};return U[co]=!0,U[vs]=w,U},N={_p:s,$id:e,$onAction:lo.bind(null,p),$patch:F,$reset:M,$subscribe(k,w={}){const U=lo(a,k,w.detached,()=>z()),z=i.run(()=>tn(()=>s.state.value[e],P=>{(w.flush==="sync"?u:f)&&k({storeId:e,type:ln.direct,events:m},P)},mt({},c,w)));return U},$dispose:C},B=vn(N);s._s.set(e,B);const q=(s._a&&s._a.runWithContext||qu)(()=>s._e.run(()=>(i=jo()).run(()=>t({action:L}))));for(const k in q){const w=q[k];if(fe(w)&&!Qu(w)||ct(w))o||(A&&zu(w)&&(fe(w)?w.value=A[k]:Bs(w,A[k])),s.state.value[e][k]=w);else if(typeof w=="function"){const U=L(w,k);q[k]=U,l.actions[k]=w}}return mt(B,q),mt(X(B),q),Object.defineProperty(B,"$state",{get:()=>s.state.value[e],set:k=>{F(w=>{mt(w,k)})}}),s._p.forEach(k=>{mt(B,i.run(()=>k({store:B,app:s._a,pinia:s,options:l})))}),A&&o&&n.hydrate&&n.hydrate(B.$state,A),f=!0,u=!0,B}/*! #__NO_SIDE_EFFECTS__ */function Xu(e,t,n){let s,r;const o=typeof t=="function";typeof e=="string"?(s=e,r=o?n:t):(r=e,s=e.id);function i(l,c){const f=sc();return l=l||(f?Ve(qi,null):null),l&&ss(l),l=$i,l._s.has(s)||(o?zi(s,t,r,l):Yu(s,r,l)),l._s.get(s)}return i.$id=s,i}/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */const Vt=typeof document<"u";function Qi(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Zu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Qi(e.default)}const te=Object.assign;function bs(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ue(r)?r.map(e):e(r)}return n}const cn=()=>{},Ue=Array.isArray;function uo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Yi=/#/g,ef=/&/g,tf=/\//g,nf=/=/g,sf=/\?/g,Xi=/\+/g,rf=/%5B/g,of=/%5D/g,Zi=/%5E/g,lf=/%60/g,el=/%7B/g,cf=/%7C/g,tl=/%7D/g,uf=/%20/g;function hr(e){return e==null?"":encodeURI(""+e).replace(cf,"|").replace(rf,"[").replace(of,"]")}function ff(e){return hr(e).replace(el,"{").replace(tl,"}").replace(Zi,"^")}function Hs(e){return hr(e).replace(Xi,"%2B").replace(uf,"+").replace(Yi,"%23").replace(ef,"%26").replace(lf,"`").replace(el,"{").replace(tl,"}").replace(Zi,"^")}function af(e){return Hs(e).replace(nf,"%3D")}function hf(e){return hr(e).replace(Yi,"%23").replace(sf,"%3F")}function df(e){return hf(e).replace(tf,"%2F")}function _n(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const pf=/\/$/,gf=e=>e.replace(pf,"");function Es(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),o=t.slice(c,l>0?l:t.length),r=e(o.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=vf(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:_n(i)}}function mf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function fo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function _f(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Gt(t.matched[s],n.matched[r])&&nl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Gt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function nl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!yf(e[n],t[n]))return!1;return!0}function yf(e,t){return Ue(e)?ao(e,t):Ue(t)?ao(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function ao(e,t){return Ue(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function vf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const gt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let ks=function(e){return e.pop="pop",e.push="push",e}({}),As=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function bf(e){if(!e)if(Vt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),gf(e)}const Ef=/^[^#]+#/;function Af(e,t){return e.replace(Ef,"#")+t}function Sf(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const rs=()=>({left:window.scrollX,top:window.scrollY});function Cf(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Sf(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ho(e,t){return(history.state?history.state.position-t:-1)+e}const Us=new Map;function wf(e,t){Us.set(e,t)}function Rf(e){const t=Us.get(e);return Us.delete(e),t}function xf(e){return typeof e=="string"||e&&typeof e=="object"}function sl(e){return typeof e=="string"||typeof e=="symbol"}let ue=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const rl=Symbol("");ue.MATCHER_NOT_FOUND+"",ue.NAVIGATION_GUARD_REDIRECT+"",ue.NAVIGATION_ABORTED+"",ue.NAVIGATION_CANCELLED+"",ue.NAVIGATION_DUPLICATED+"";function Wt(e,t){return te(new Error,{type:e,[rl]:!0},t)}function st(e,t){return e instanceof Error&&rl in e&&(t==null||!!(e.type&t))}const Tf=["params","query","hash"];function Of(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Tf)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Pf(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;sr&&Hs(r)):[s&&Hs(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function If(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ue(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Nf=Symbol(""),go=Symbol(""),os=Symbol(""),dr=Symbol(""),Ks=Symbol("");function Qt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function yt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const f=p=>{p===!1?c(Wt(ue.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):xf(p)?c(Wt(ue.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},u=o(()=>e.call(s&&s.instances[r],t,n,f));let a=Promise.resolve(u);e.length<3&&(a=a.then(f)),a.catch(p=>c(p))})}function Ss(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Qi(c)){const f=(c.__vccOpts||c)[t];f&&o.push(yt(f,n,s,i,l,r))}else{let f=c();o.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const a=Zu(u)?u.default:u;i.mods[l]=u,i.components[l]=a;const p=(a.__vccOpts||a)[t];return p&&yt(p,n,s,i,l,r)()}))}}return o}function Mf(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iGt(f,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(f=>Gt(f,c))||r.push(c))}return[n,s,r]}/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */let Df=()=>location.protocol+"//"+location.host;function ol(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),fo(l,"")}return fo(n,e)+s+r}function Lf(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const m=ol(e,location),A=n.value,S=t.value;let F=0;if(p){if(n.value=m,t.value=p,i&&i===A){i=null;return}F=S?p.position-S.position:0}else s(m);r.forEach(M=>{M(n.value,A,{delta:F,type:ks.pop,direction:F?F>0?As.forward:As.back:As.unknown})})};function c(){i=n.value}function f(p){r.push(p);const m=()=>{const A=r.indexOf(p);A>-1&&r.splice(A,1)};return o.push(m),m}function u(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(te({},p.state,{scroll:rs()}),"")}}function a(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:c,listen:f,destroy:a}}function mo(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?rs():null}}function Ff(e){const{history:t,location:n}=window,s={value:ol(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,f,u){const a=e.indexOf("#"),p=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+c:Df()+e+c;try{t[u?"replaceState":"pushState"](f,"",p),r.value=f}catch(m){console.error(m),n[u?"replace":"assign"](p)}}function i(c,f){o(c,te({},t.state,mo(r.value.back,c,r.value.forward,!0),f,{position:r.value.position}),!0),s.value=c}function l(c,f){const u=te({},r.value,t.state,{forward:c,scroll:rs()});o(u.current,u,!0),o(c,te({},mo(s.value,c,null),{position:u.position+1},f),!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function jf(e){e=bf(e);const t=Ff(e),n=Lf(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=te({location:"",base:e,go:s,createHref:Af.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let Ot=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var pe=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(pe||{});const Vf={type:Ot.Static,value:""},Bf=/[a-zA-Z0-9_]/;function Hf(e){if(!e)return[[]];if(e==="/")return[[Vf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${f}": ${m}`)}let n=pe.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,f="",u="";function a(){f&&(n===pe.Static?o.push({type:Ot.Static,value:f}):n===pe.Param||n===pe.ParamRegExp||n===pe.ParamRegExpEnd?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Ot.Param,value:f,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function p(){f+=c}for(;lt.length?t.length===1&&t[0]===we.Static+we.Segment?1:-1:0}function il(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Wf={strict:!1,end:!0,sensitive:!1};function $f(e,t,n){const s=Kf(Hf(e.path),n),r=te(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function qf(e,t){const n=[],s=new Map;t=uo(Wf,t);function r(a){return s.get(a)}function o(a,p,m){const A=!m,S=bo(a);S.aliasOf=m&&m.record;const F=uo(t,a),M=[S];if("alias"in a){const N=typeof a.alias=="string"?[a.alias]:a.alias;for(const B of N)M.push(bo(te({},S,{components:m?m.record.components:S.components,path:B,aliasOf:m?m.record:S})))}let C,L;for(const N of M){const{path:B}=N;if(p&&B[0]!=="/"){const J=p.record.path,q=J[J.length-1]==="/"?"":"/";N.path=p.record.path+(B&&q+B)}if(C=$f(N,p,F),m?m.alias.push(C):(L=L||C,L!==C&&L.alias.push(C),A&&a.name&&!Eo(C)&&i(a.name)),ll(C)&&c(C),S.children){const J=S.children;for(let q=0;q{i(L)}:cn}function i(a){if(sl(a)){const p=s.get(a);p&&(s.delete(a),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(a);p>-1&&(n.splice(p,1),a.record.name&&s.delete(a.record.name),a.children.forEach(i),a.alias.forEach(i))}}function l(){return n}function c(a){const p=Qf(a,n);n.splice(p,0,a),a.record.name&&!Eo(a)&&s.set(a.record.name,a)}function f(a,p){let m,A={},S,F;if("name"in a&&a.name){if(m=s.get(a.name),!m)throw Wt(ue.MATCHER_NOT_FOUND,{location:a});F=m.record.name,A=te(vo(p.params,m.keys.filter(L=>!L.optional).concat(m.parent?m.parent.keys.filter(L=>L.optional):[]).map(L=>L.name)),a.params&&vo(a.params,m.keys.map(L=>L.name))),S=m.stringify(A)}else if(a.path!=null)S=a.path,m=n.find(L=>L.re.test(S)),m&&(A=m.parse(S),F=m.record.name);else{if(m=p.name?s.get(p.name):n.find(L=>L.re.test(p.path)),!m)throw Wt(ue.MATCHER_NOT_FOUND,{location:a,currentLocation:p});F=m.record.name,A=te({},p.params,a.params),S=m.stringify(A)}const M=[];let C=m;for(;C;)M.unshift(C.record),C=C.parent;return{name:F,path:S,params:A,matched:M,meta:zf(M)}}e.forEach(a=>o(a));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function vo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function bo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Jf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Jf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Eo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function zf(e){return e.reduce((t,n)=>te(t,n.meta),{})}function Qf(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;il(e,t[o])<0?s=o:n=o+1}const r=Yf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Yf(e){let t=e;for(;t=t.parent;)if(ll(t)&&il(e,t)===0)return t}function ll({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ao(e){const t=Ve(os),n=Ve(dr),s=Ne(()=>{const c=vt(e.to);return t.resolve(c)}),r=Ne(()=>{const{matched:c}=s.value,{length:f}=c,u=c[f-1],a=n.matched;if(!u||!a.length)return-1;const p=a.findIndex(Gt.bind(null,u));if(p>-1)return p;const m=So(c[f-2]);return f>1&&So(u)===m&&a[a.length-1].path!==m?a.findIndex(Gt.bind(null,c[f-2])):p}),o=Ne(()=>r.value>-1&&na(n.params,s.value.params)),i=Ne(()=>r.value>-1&&r.value===n.matched.length-1&&nl(n.params,s.value.params));function l(c={}){if(ta(c)){const f=t[vt(e.replace)?"replace":"push"](vt(e.to)).catch(cn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:Ne(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function Xf(e){return e.length===1?e[0]:e}const Zf=or({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Ao,setup(e,{slots:t}){const n=vn(Ao(e)),{options:s}=Ve(os),r=Ne(()=>({[Co(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Co(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Xf(t.default(n));return e.custom?o:ar("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),ea=Zf;function ta(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function na(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ue(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function So(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Co=(e,t,n)=>e??t??n,sa=or({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ve(Ks),r=Ne(()=>e.route||s.value),o=Ve(go,0),i=Ne(()=>{let f=vt(o);const{matched:u}=r.value;let a;for(;(a=u[f])&&!a.components;)f++;return f}),l=Ne(()=>r.value.matched[i.value]);Tn(go,Ne(()=>i.value+1)),Tn(Nf,l),Tn(Ks,r);const c=Mn();return tn(()=>[c.value,l.value,e.name],([f,u,a],[p,m,A])=>{u&&(u.instances[a]=f,m&&m!==u&&f&&f===p&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),f&&u&&(!m||!Gt(u,m)||!p)&&(u.enterCallbacks[a]||[]).forEach(S=>S(f))},{flush:"post"}),()=>{const f=r.value,u=e.name,a=l.value,p=a&&a.components[u];if(!p)return wo(n.default,{Component:p,route:f});const m=a.props[u],A=m?m===!0?f.params:typeof m=="function"?m(f):m:null,F=ar(p,te({},A,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(a.instances[u]=null)},ref:c}));return wo(n.default,{Component:F,route:f})||F}}});function wo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const cl=sa;function ra(e){const t=qf(e.routes,e),n=e.parseQuery||Pf,s=e.stringifyQuery||po,r=e.history,o=Qt(),i=Qt(),l=Qt(),c=Kl(gt);let f=gt;Vt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=bs.bind(null,v=>""+v),a=bs.bind(null,df),p=bs.bind(null,_n);function m(v,D){let O,j;return sl(v)?(O=t.getRecordMatcher(v),j=D):j=v,t.addRoute(j,O)}function A(v){const D=t.getRecordMatcher(v);D&&t.removeRoute(D)}function S(){return t.getRoutes().map(v=>v.record)}function F(v){return!!t.getRecordMatcher(v)}function M(v,D){if(D=te({},D||c.value),typeof v=="string"){const g=Es(n,v,D.path),_=t.resolve({path:g.path},D),b=r.createHref(g.fullPath);return te(g,_,{params:p(_.params),hash:_n(g.hash),redirectedFrom:void 0,href:b})}let O;if(v.path!=null)O=te({},v,{path:Es(n,v.path,D.path).path});else{const g=te({},v.params);for(const _ in g)g[_]==null&&delete g[_];O=te({},v,{params:a(g)}),D.params=a(D.params)}const j=t.resolve(O,D),Y=v.hash||"";j.params=u(p(j.params));const h=mf(s,te({},v,{hash:ff(Y),path:j.path})),d=r.createHref(h);return te({fullPath:h,hash:Y,query:s===po?If(v.query):v.query||{}},j,{redirectedFrom:void 0,href:d})}function C(v){return typeof v=="string"?Es(n,v,c.value.path):te({},v)}function L(v,D){if(f!==v)return Wt(ue.NAVIGATION_CANCELLED,{from:D,to:v})}function N(v){return q(v)}function B(v){return N(te(C(v),{replace:!0}))}function J(v,D){const O=v.matched[v.matched.length-1];if(O&&O.redirect){const{redirect:j}=O;let Y=typeof j=="function"?j(v,D):j;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=C(Y):{path:Y},Y.params={}),te({query:v.query,hash:v.hash,params:Y.path!=null?{}:v.params},Y)}}function q(v,D){const O=f=M(v),j=c.value,Y=v.state,h=v.force,d=v.replace===!0,g=J(O,j);if(g)return q(te(C(g),{state:typeof g=="object"?te({},Y,g.state):Y,force:h,replace:d}),D||O);const _=O;_.redirectedFrom=D;let b;return!h&&_f(s,j,O)&&(b=Wt(ue.NAVIGATION_DUPLICATED,{to:_,from:j}),Ke(j,j,!0,!1)),(b?Promise.resolve(b):U(_,j)).catch(y=>st(y)?st(y,ue.NAVIGATION_GUARD_REDIRECT)?y:dt(y):ee(y,_,j)).then(y=>{if(y){if(st(y,ue.NAVIGATION_GUARD_REDIRECT))return q(te({replace:d},C(y.to),{state:typeof y.to=="object"?te({},Y,y.to.state):Y,force:h}),D||_)}else y=P(_,j,!0,d,Y);return z(_,j,y),y})}function k(v,D){const O=L(v,D);return O?Promise.reject(O):Promise.resolve()}function w(v){const D=Mt.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(v):v()}function U(v,D){let O;const[j,Y,h]=Mf(v,D);O=Ss(j.reverse(),"beforeRouteLeave",v,D);for(const g of j)g.leaveGuards.forEach(_=>{O.push(yt(_,v,D))});const d=k.bind(null,v,D);return O.push(d),Fe(O).then(()=>{O=[];for(const g of o.list())O.push(yt(g,v,D));return O.push(d),Fe(O)}).then(()=>{O=Ss(Y,"beforeRouteUpdate",v,D);for(const g of Y)g.updateGuards.forEach(_=>{O.push(yt(_,v,D))});return O.push(d),Fe(O)}).then(()=>{O=[];for(const g of h)if(g.beforeEnter)if(Ue(g.beforeEnter))for(const _ of g.beforeEnter)O.push(yt(_,v,D));else O.push(yt(g.beforeEnter,v,D));return O.push(d),Fe(O)}).then(()=>(v.matched.forEach(g=>g.enterCallbacks={}),O=Ss(h,"beforeRouteEnter",v,D,w),O.push(d),Fe(O))).then(()=>{O=[];for(const g of i.list())O.push(yt(g,v,D));return O.push(d),Fe(O)}).catch(g=>st(g,ue.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function z(v,D,O){l.list().forEach(j=>w(()=>j(v,D,O)))}function P(v,D,O,j,Y){const h=L(v,D);if(h)return h;const d=D===gt,g=Vt?history.state:{};O&&(j||d?r.replace(v.fullPath,te({scroll:d&&g&&g.scroll},Y)):r.push(v.fullPath,Y)),c.value=v,Ke(v,D,O,d),dt()}let Q;function he(){Q||(Q=r.listen((v,D,O)=>{if(!At.listening)return;const j=M(v),Y=J(j,At.currentRoute.value);if(Y){q(te(Y,{replace:!0,force:!0}),j).catch(cn);return}f=j;const h=c.value;Vt&&wf(ho(h.fullPath,O.delta),rs()),U(j,h).catch(d=>st(d,ue.NAVIGATION_ABORTED|ue.NAVIGATION_CANCELLED)?d:st(d,ue.NAVIGATION_GUARD_REDIRECT)?(q(te(C(d.to),{force:!0}),j).then(g=>{st(g,ue.NAVIGATION_ABORTED|ue.NAVIGATION_DUPLICATED)&&!O.delta&&O.type===ks.pop&&r.go(-1,!1)}).catch(cn),Promise.reject()):(O.delta&&r.go(-O.delta,!1),ee(d,j,h))).then(d=>{d=d||P(j,h,!1),d&&(O.delta&&!st(d,ue.NAVIGATION_CANCELLED)?r.go(-O.delta,!1):O.type===ks.pop&&st(d,ue.NAVIGATION_ABORTED|ue.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),z(j,h,d)}).catch(cn)}))}let Se=Qt(),re=Qt(),$;function ee(v,D,O){dt(v);const j=re.list();return j.length?j.forEach(Y=>Y(v,D,O)):console.error(v),Promise.reject(v)}function et(){return $&&c.value!==gt?Promise.resolve():new Promise((v,D)=>{Se.add([v,D])})}function dt(v){return $||($=!v,he(),Se.list().forEach(([D,O])=>v?O(v):D()),Se.reset()),v}function Ke(v,D,O,j){const{scrollBehavior:Y}=e;if(!Vt||!Y)return Promise.resolve();const h=!O&&Rf(ho(v.fullPath,0))||(j||!O)&&history.state&&history.state.scroll||null;return sr().then(()=>Y(v,D,h)).then(d=>d&&Cf(d)).catch(d=>ee(d,v,D))}const Te=v=>r.go(v);let Nt;const Mt=new Set,At={currentRoute:c,listening:!0,addRoute:m,removeRoute:A,clearRoutes:t.clearRoutes,hasRoute:F,getRoutes:S,resolve:M,options:e,push:N,replace:B,go:Te,back:()=>Te(-1),forward:()=>Te(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:re.add,isReady:et,install(v){v.component("RouterLink",ea),v.component("RouterView",cl),v.config.globalProperties.$router=At,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>vt(c)}),Vt&&!Nt&&c.value===gt&&(Nt=!0,N(r.location).catch(j=>{}));const D={};for(const j in gt)Object.defineProperty(D,j,{get:()=>c.value[j],enumerable:!0});v.provide(os,At),v.provide(dr,Zo(D)),v.provide(Ks,c);const O=v.unmount;Mt.add(v),v.unmount=function(){Mt.delete(v),Mt.size<1&&(f=gt,Q&&Q(),Q=null,c.value=gt,Nt=!1,$=!1),O()}}};function Fe(v){return v.reduce((D,O)=>D.then(()=>w(O)),Promise.resolve())}return At}function ba(){return Ve(os)}function Ea(e){return Ve(dr)}const oa=or({__name:"App",setup(e){return(t,n)=>(Bn(),kn(vt(cl)))}}),ia="modulepreload",la=function(e){return"/"+e},Ro={},Rn=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=la(c),c in Ro)return;Ro[c]=!0;const f=c.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${u}`))return;const a=document.createElement("link");if(a.rel=f?"stylesheet":ia,f||(a.as="script"),a.crossOrigin="",a.href=c,l&&a.setAttribute("nonce",l),document.head.appendChild(a),f)return new Promise((p,m)=>{a.addEventListener("load",p),a.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},Cs="http://localhost:8000/api/v1";function ca(){const e=ul();async function t(){try{const s=await fetch(`${Cs}/auth/refresh`,{method:"POST",credentials:"include"});if(s.ok){const r=await s.json();return e.token=r.access_token,localStorage.setItem("access_token",r.access_token),r.access_token}}catch{}return null}async function n(s,r={},o=0){const i={"Content-Type":"application/json",...r.headers||{}};e.token&&!s.includes("/auth/")&&(i.Authorization=`Bearer ${e.token}`);const l=await fetch(`${Cs}${s}`,{...r,headers:i,body:r.body?JSON.stringify(r.body):void 0});if(l.status===401){if(o===0&&!s.includes("/auth/")){const c=await t();if(c){i.Authorization=`Bearer ${c}`;const f=await fetch(`${Cs}${s}`,{...r,headers:i,body:r.body?JSON.stringify(r.body):void 0});if(f.ok)return f.status===204?{}:f.json()}}throw e.logout(),pr.push("/login"),new Error("Unauthorized")}if(!l.ok){const c=await l.json().catch(()=>({detail:"Request failed"}));throw new Error(c.detail||`HTTP ${l.status}`)}return l.status===204?{}:l.json()}return{get:s=>n(s,{method:"GET"}),post:(s,r)=>n(s,{method:"POST",body:r}),put:(s,r)=>n(s,{method:"PUT",body:r}),delete:s=>n(s,{method:"DELETE"})}}const ul=Xu("auth",()=>{const e=Mn(localStorage.getItem("access_token")),t=Mn(null),n=ca(),s=Ne(()=>!!e.value);async function r(c,f){const u=await n.post("/auth/login",{username:c,password:f});return e.value=u.access_token,localStorage.setItem("access_token",u.access_token),await i(),u}async function o(c,f){return await n.post("/auth/register",{username:c,password:f})}async function i(){if(!e.value)return null;try{return t.value=await n.get("/auth/me"),t.value}catch{return l(),null}}async function l(){try{await n.post("/auth/logout")}catch{}e.value=null,t.value=null,localStorage.removeItem("access_token")}return e.value&&i(),{token:e,user:t,isAuthenticated:s,login:r,register:o,fetchUser:i,logout:l}}),pr=ra({history:jf(),routes:[{path:"/login",name:"login",component:()=>Rn(()=>import("./Login-Y0eqTexJ.js"),__vite__mapDeps([0,1,2,3])),meta:{requiresAuth:!1}},{path:"/",redirect:"/dashboard"},{path:"/dashboard",name:"dashboard",component:()=>Rn(()=>import("./Dashboard-DRxsgaul.js"),__vite__mapDeps([4,5,1,2,6,7,8])),meta:{requiresAuth:!0}},{path:"/projects/:id",name:"project",component:()=>Rn(()=>import("./ProjectView-B8BQcCmm.js"),__vite__mapDeps([9,5,10,1,2,11,6,7,12])),meta:{requiresAuth:!0}},{path:"/documents/:id",name:"document",component:()=>Rn(()=>import("./DocumentView-BSlVxAGm.js"),__vite__mapDeps([13,10,1,2,11,6,7,14])),meta:{requiresAuth:!0}},{path:"/:pathMatch(.*)*",redirect:"/dashboard"}]});pr.beforeEach((e,t,n)=>{const s=ul();e.meta.requiresAuth&&!s.isAuthenticated?n("/login"):e.name==="login"&&s.isAuthenticated?n("/dashboard"):n()});const gr=Ku(oa);gr.use($u());gr.use(pr);gr.mount("#app");export{va as A,qs as B,Ei as C,fa as D,da as E,Ie as F,ma as T,ki as a,ga as b,pa as c,or as d,ua as e,Oe as f,nc as g,eu as h,Ne as i,ba as j,vi as k,vt as l,ha as m,tn as n,Bn as o,aa as p,Js as q,Mn as r,kn as s,Al as t,ul as u,_a as v,ya as w,Ea as x,Xu as y,ca as z};