26 lines
93 KiB
JavaScript
26 lines
93 KiB
JavaScript
(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 i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
|
|
* @vue/shared v3.5.26
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function _s(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Y={},It=[],Ke=()=>{},Vr=()=>!1,On=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vs=e=>e.startsWith("onUpdate:"),ue=Object.assign,ys=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},oo=Object.prototype.hasOwnProperty,q=(e,t)=>oo.call(e,t),B=Array.isArray,Nt=e=>Pn(e)==="[object Map]",Br=e=>Pn(e)==="[object Set]",H=e=>typeof e=="function",re=e=>typeof e=="string",pt=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Hr=e=>(ee(e)||H(e))&&H(e.then)&&H(e.catch),Ur=Object.prototype.toString,Pn=e=>Ur.call(e),lo=e=>Pn(e).slice(8,-1),jr=e=>Pn(e)==="[object Object]",bs=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,qt=_s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},co=/-\w/g,at=Tn(e=>e.replace(co,t=>t.slice(1).toUpperCase())),uo=/\B([A-Z])/g,Rt=Tn(e=>e.replace(uo,"-$1").toLowerCase()),Gr=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Un=Tn(e=>e?`on${Gr(e)}`:""),ft=(e,t)=>!Object.is(e,t),gn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Kr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Es=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ws;const In=()=>Ws||(Ws=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xs(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=re(s)?po(s):xs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(re(e)||ee(e))return e}const fo=/;(?![^(]*\))/g,ao=/:([^]+)/,ho=/\/\*[^]*?\*\//g;function po(e){const t={};return e.replace(ho,"").split(fo).forEach(n=>{if(n){const s=n.split(ao);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Rs(e){let t="";if(re(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const s=Rs(e[n]);s&&(t+=s+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const go="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",mo=_s(go);function Wr(e){return!!e||e===""}const $r=e=>!!(e&&e.__v_isRef===!0),Ye=e=>re(e)?e:e==null?"":B(e)||ee(e)&&(e.toString===Ur||!H(e.toString))?$r(e)?Ye(e.value):JSON.stringify(e,kr,2):String(e),kr=(e,t)=>$r(t)?kr(e,t.value):Nt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[jn(s,i)+" =>"]=r,n),{})}:Br(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>jn(n))}:pt(t)?jn(t):ee(t)&&!B(t)&&!jr(t)?String(t):t,jn=(e,t="")=>{var n;return pt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
* @vue/reactivity v3.5.26
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let ve;class _o{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,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;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ve;try{return ve=this,t()}finally{ve=n}}}on(){++this._on===1&&(this.prevScope=ve,ve=this)}off(){this._on>0&&--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;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function vo(){return ve}let X;const Gn=new WeakSet;class qr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ve&&ve.active&&ve.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Gn.has(this)&&(Gn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||zr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,$s(this),Qr(this);const t=X,n=Ce;X=this,Ce=!0;try{return this.fn()}finally{Yr(this),X=t,Ce=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ss(t);this.deps=this.depsTail=void 0,$s(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Gn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ns(this)&&this.run()}get dirty(){return ns(this)}}let Jr=0,Jt,zt;function zr(e,t=!1){if(e.flags|=8,t){e.next=zt,zt=e;return}e.next=Jt,Jt=e}function ws(){Jr++}function As(){if(--Jr>0)return;if(zt){let t=zt;for(zt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Jt;){let t=Jt;for(Jt=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 Qr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Yr(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ss(s),yo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ns(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Zr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Zr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===nn)||(e.globalVersion=nn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ns(e))))return;e.flags|=2;const t=e.dep,n=X,s=Ce;X=e,Ce=!0;try{Qr(e);const r=e.fn(e._value);(t.version===0||ft(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{X=n,Ce=s,Yr(e),e.flags&=-3}}function Ss(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 i=n.computed.deps;i;i=i.nextDep)Ss(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function yo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ce=!0;const Xr=[];function Ze(){Xr.push(Ce),Ce=!1}function Xe(){const e=Xr.pop();Ce=e===void 0?!0:e}function $s(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=X;X=void 0;try{t()}finally{X=n}}}let nn=0;class bo{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 Cs{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(!X||!Ce||X===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==X)n=this.activeLink=new bo(X,this),X.deps?(n.prevDep=X.depsTail,X.depsTail.nextDep=n,X.depsTail=n):X.deps=X.depsTail=n,ei(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=X.depsTail,n.nextDep=void 0,X.depsTail.nextDep=n,X.depsTail=n,X.deps===n&&(X.deps=s)}return n}trigger(t){this.version++,nn++,this.notify(t)}notify(t){ws();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{As()}}}function ei(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)ei(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ss=new WeakMap,Et=Symbol(""),rs=Symbol(""),sn=Symbol("");function le(e,t,n){if(Ce&&X){let s=ss.get(e);s||ss.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Cs),r.map=s,r.key=n),r.track()}}function ze(e,t,n,s,r,i){const o=ss.get(e);if(!o){nn++;return}const c=l=>{l&&l.trigger()};if(ws(),t==="clear")o.forEach(c);else{const l=B(e),d=l&&bs(n);if(l&&n==="length"){const f=Number(s);o.forEach((h,g)=>{(g==="length"||g===sn||!pt(g)&&g>=f)&&c(h)})}else switch((n!==void 0||o.has(void 0))&&c(o.get(n)),d&&c(o.get(sn)),t){case"add":l?d&&c(o.get("length")):(c(o.get(Et)),Nt(e)&&c(o.get(rs)));break;case"delete":l||(c(o.get(Et)),Nt(e)&&c(o.get(rs)));break;case"set":Nt(e)&&c(o.get(Et));break}}As()}function Ct(e){const t=k(e);return t===e?t:(le(t,"iterate",sn),Oe(e)?t:t.map(et))}function Os(e){return le(e=k(e),"iterate",sn),e}function ot(e,t){return dt(e)?Mt(e)?rn(et(t)):rn(t):et(t)}const Eo={__proto__:null,[Symbol.iterator](){return Kn(this,Symbol.iterator,e=>ot(this,e))},concat(...e){return Ct(this).concat(...e.map(t=>B(t)?Ct(t):t))},entries(){return Kn(this,"entries",e=>(e[1]=ot(this,e[1]),e))},every(e,t){return ke(this,"every",e,t,void 0,arguments)},filter(e,t){return ke(this,"filter",e,t,n=>n.map(s=>ot(this,s)),arguments)},find(e,t){return ke(this,"find",e,t,n=>ot(this,n),arguments)},findIndex(e,t){return ke(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ke(this,"findLast",e,t,n=>ot(this,n),arguments)},findLastIndex(e,t){return ke(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ke(this,"forEach",e,t,void 0,arguments)},includes(...e){return Wn(this,"includes",e)},indexOf(...e){return Wn(this,"indexOf",e)},join(e){return Ct(this).join(e)},lastIndexOf(...e){return Wn(this,"lastIndexOf",e)},map(e,t){return ke(this,"map",e,t,void 0,arguments)},pop(){return Kt(this,"pop")},push(...e){return Kt(this,"push",e)},reduce(e,...t){return ks(this,"reduce",e,t)},reduceRight(e,...t){return ks(this,"reduceRight",e,t)},shift(){return Kt(this,"shift")},some(e,t){return ke(this,"some",e,t,void 0,arguments)},splice(...e){return Kt(this,"splice",e)},toReversed(){return Ct(this).toReversed()},toSorted(e){return Ct(this).toSorted(e)},toSpliced(...e){return Ct(this).toSpliced(...e)},unshift(...e){return Kt(this,"unshift",e)},values(){return Kn(this,"values",e=>ot(this,e))}};function Kn(e,t,n){const s=Os(e),r=s[t]();return s!==e&&!Oe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const xo=Array.prototype;function ke(e,t,n,s,r,i){const o=Os(e),c=o!==e&&!Oe(e),l=o[t];if(l!==xo[t]){const h=l.apply(e,i);return c?et(h):h}let d=n;o!==e&&(c?d=function(h,g){return n.call(this,ot(e,h),g,e)}:n.length>2&&(d=function(h,g){return n.call(this,h,g,e)}));const f=l.call(o,d,s);return c&&r?r(f):f}function ks(e,t,n,s){const r=Os(e);let i=n;return r!==e&&(Oe(e)?n.length>3&&(i=function(o,c,l){return n.call(this,o,c,l,e)}):i=function(o,c,l){return n.call(this,o,ot(e,c),l,e)}),r[t](i,...s)}function Wn(e,t,n){const s=k(e);le(s,"iterate",sn);const r=s[t](...n);return(r===-1||r===!1)&&Is(n[0])?(n[0]=k(n[0]),s[t](...n)):r}function Kt(e,t,n=[]){Ze(),ws();const s=k(e)[t].apply(e,n);return As(),Xe(),s}const Ro=_s("__proto__,__v_isRef,__isVue"),ti=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pt));function wo(e){pt(e)||(e=String(e));const t=k(this);return le(t,"has",e),t.hasOwnProperty(e)}class ni{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,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Do:oi:i?ii:ri).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=B(t);if(!r){let l;if(o&&(l=Eo[n]))return l;if(n==="hasOwnProperty")return wo}const c=Reflect.get(t,n,ce(t)?t:s);if((pt(n)?ti.has(n):Ro(n))||(r||le(t,"get",n),i))return c;if(ce(c)){const l=o&&bs(n)?c:c.value;return r&&ee(l)?os(l):l}return ee(c)?r?os(c):Nn(c):c}}class si extends ni{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=B(t)&&bs(n);if(!this._isShallow){const d=dt(i);if(!Oe(s)&&!dt(s)&&(i=k(i),s=k(s)),!o&&ce(i)&&!ce(s))return d||(i.value=s),!0}const c=o?Number(n)<t.length:q(t,n),l=Reflect.set(t,n,s,ce(t)?t:r);return t===k(r)&&(c?ft(s,i)&&ze(t,"set",n,s):ze(t,"add",n,s)),l}deleteProperty(t,n){const s=q(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&ze(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!pt(n)||!ti.has(n))&&le(t,"has",n),s}ownKeys(t){return le(t,"iterate",B(t)?"length":Et),Reflect.ownKeys(t)}}class Ao extends ni{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const So=new si,Co=new Ao,Oo=new si(!0);const is=e=>e,dn=e=>Reflect.getPrototypeOf(e);function Po(e,t,n){return function(...s){const r=this.__v_raw,i=k(r),o=Nt(i),c=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,d=r[e](...s),f=n?is:t?rn:et;return!t&&le(i,"iterate",l?rs:Et),{next(){const{value:h,done:g}=d.next();return g?{value:h,done:g}:{value:c?[f(h[0]),f(h[1])]:f(h),done:g}},[Symbol.iterator](){return this}}}}function hn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function To(e,t){const n={get(r){const i=this.__v_raw,o=k(i),c=k(r);e||(ft(r,c)&&le(o,"get",r),le(o,"get",c));const{has:l}=dn(o),d=t?is:e?rn:et;if(l.call(o,r))return d(i.get(r));if(l.call(o,c))return d(i.get(c));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&le(k(r),"iterate",Et),r.size},has(r){const i=this.__v_raw,o=k(i),c=k(r);return e||(ft(r,c)&&le(o,"has",r),le(o,"has",c)),r===c?i.has(r):i.has(r)||i.has(c)},forEach(r,i){const o=this,c=o.__v_raw,l=k(c),d=t?is:e?rn:et;return!e&&le(l,"iterate",Et),c.forEach((f,h)=>r.call(i,d(f),d(h),o))}};return ue(n,e?{add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear")}:{add(r){!t&&!Oe(r)&&!dt(r)&&(r=k(r));const i=k(this);return dn(i).has.call(i,r)||(i.add(r),ze(i,"add",r,r)),this},set(r,i){!t&&!Oe(i)&&!dt(i)&&(i=k(i));const o=k(this),{has:c,get:l}=dn(o);let d=c.call(o,r);d||(r=k(r),d=c.call(o,r));const f=l.call(o,r);return o.set(r,i),d?ft(i,f)&&ze(o,"set",r,i):ze(o,"add",r,i),this},delete(r){const i=k(this),{has:o,get:c}=dn(i);let l=o.call(i,r);l||(r=k(r),l=o.call(i,r)),c&&c.call(i,r);const d=i.delete(r);return l&&ze(i,"delete",r,void 0),d},clear(){const r=k(this),i=r.size!==0,o=r.clear();return i&&ze(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Po(r,e,t)}),n}function Ps(e,t){const n=To(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(q(n,r)&&r in s?n:s,r,i)}const Io={get:Ps(!1,!1)},No={get:Ps(!1,!0)},Mo={get:Ps(!0,!1)};const ri=new WeakMap,ii=new WeakMap,oi=new WeakMap,Do=new WeakMap;function Lo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fo(e){return e.__v_skip||!Object.isExtensible(e)?0:Lo(lo(e))}function Nn(e){return dt(e)?e:Ts(e,!1,So,Io,ri)}function li(e){return Ts(e,!1,Oo,No,ii)}function os(e){return Ts(e,!0,Co,Mo,oi)}function Ts(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Fo(e);if(i===0)return e;const o=r.get(e);if(o)return o;const c=new Proxy(e,i===2?s:n);return r.set(e,c),c}function Mt(e){return dt(e)?Mt(e.__v_raw):!!(e&&e.__v_isReactive)}function dt(e){return!!(e&&e.__v_isReadonly)}function Oe(e){return!!(e&&e.__v_isShallow)}function Is(e){return e?!!e.__v_raw:!1}function k(e){const t=e&&e.__v_raw;return t?k(t):e}function Vo(e){return!q(e,"__v_skip")&&Object.isExtensible(e)&&Kr(e,"__v_skip",!0),e}const et=e=>ee(e)?Nn(e):e,rn=e=>ee(e)?os(e):e;function ce(e){return e?e.__v_isRef===!0:!1}function he(e){return ci(e,!1)}function Bo(e){return ci(e,!0)}function ci(e,t){return ce(e)?e:new Ho(e,t)}class Ho{constructor(t,n){this.dep=new Cs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:k(t),this._value=n?t:et(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Oe(t)||dt(t);t=s?t:k(t),ft(t,n)&&(this._rawValue=t,this._value=s?t:et(t),this.dep.trigger())}}function xt(e){return ce(e)?e.value:e}const Uo={get:(e,t,n)=>t==="__v_raw"?e:xt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ce(r)&&!ce(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ui(e){return Mt(e)?e:new Proxy(e,Uo)}class jo{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Cs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=nn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&X!==this)return zr(this,!0),!0}get value(){const t=this.dep.track();return Zr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Go(e,t,n=!1){let s,r;return H(e)?s=e:(s=e.get,r=e.set),new jo(s,r,n)}const pn={},bn=new WeakMap;let yt;function Ko(e,t=!1,n=yt){if(n){let s=bn.get(n);s||bn.set(n,s=[]),s.push(e)}}function Wo(e,t,n=Y){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:c,call:l}=n,d=I=>r?I:Oe(I)||r===!1||r===0?Qe(I,1):Qe(I);let f,h,g,m,A=!1,P=!1;if(ce(e)?(h=()=>e.value,A=Oe(e)):Mt(e)?(h=()=>d(e),A=!0):B(e)?(P=!0,A=e.some(I=>Mt(I)||Oe(I)),h=()=>e.map(I=>{if(ce(I))return I.value;if(Mt(I))return d(I);if(H(I))return l?l(I,2):I()})):H(e)?t?h=l?()=>l(e,2):e:h=()=>{if(g){Ze();try{g()}finally{Xe()}}const I=yt;yt=f;try{return l?l(e,3,[m]):e(m)}finally{yt=I}}:h=Ke,t&&r){const I=h,Q=r===!0?1/0:r;h=()=>Qe(I(),Q)}const U=vo(),N=()=>{f.stop(),U&&U.active&&ys(U.effects,f)};if(i&&t){const I=t;t=(...Q)=>{I(...Q),N()}}let T=P?new Array(e.length).fill(pn):pn;const L=I=>{if(!(!(f.flags&1)||!f.dirty&&!I))if(t){const Q=f.run();if(r||A||(P?Q.some((oe,te)=>ft(oe,T[te])):ft(Q,T))){g&&g();const oe=yt;yt=f;try{const te=[Q,T===pn?void 0:P&&T[0]===pn?[]:T,m];T=Q,l?l(t,3,te):t(...te)}finally{yt=oe}}}else f.run()};return c&&c(L),f=new qr(h),f.scheduler=o?()=>o(L,!1):L,m=I=>Ko(I,!1,f),g=f.onStop=()=>{const I=bn.get(f);if(I){if(l)l(I,4);else for(const Q of I)Q();bn.delete(f)}},t?s?L(!0):T=f.run():o?o(L.bind(null,!0),!0):f.run(),N.pause=f.pause.bind(f),N.resume=f.resume.bind(f),N.stop=N,N}function Qe(e,t=1/0,n){if(t<=0||!ee(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ce(e))Qe(e.value,t,n);else if(B(e))for(let s=0;s<e.length;s++)Qe(e[s],t,n);else if(Br(e)||Nt(e))e.forEach(s=>{Qe(s,t,n)});else if(jr(e)){for(const s in e)Qe(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Qe(e[s],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.26
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function fn(e,t,n,s){try{return s?e(...s):e()}catch(r){Mn(r,t,n)}}function We(e,t,n,s){if(H(e)){const r=fn(e,t,n,s);return r&&Hr(r)&&r.catch(i=>{Mn(i,t,n)}),r}if(B(e)){const r=[];for(let i=0;i<e.length;i++)r.push(We(e[i],t,n,s));return r}}function Mn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Y;if(t){let c=t.parent;const l=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const f=c.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,l,d)===!1)return}c=c.parent}if(i){Ze(),fn(i,null,10,[e,l,d]),Xe();return}}$o(e,n,r,s,o)}function $o(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const de=[];let He=-1;const Dt=[];let lt=null,Ot=0;const fi=Promise.resolve();let En=null;function ai(e){const t=En||fi;return e?t.then(this?e.bind(this):e):t}function ko(e){let t=He+1,n=de.length;for(;t<n;){const s=t+n>>>1,r=de[s],i=on(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Ns(e){if(!(e.flags&1)){const t=on(e),n=de[de.length-1];!n||!(e.flags&2)&&t>=on(n)?de.push(e):de.splice(ko(t),0,e),e.flags|=1,di()}}function di(){En||(En=fi.then(pi))}function qo(e){B(e)?Dt.push(...e):lt&&e.id===-1?lt.splice(Ot+1,0,e):e.flags&1||(Dt.push(e),e.flags|=1),di()}function qs(e,t,n=He+1){for(;n<de.length;n++){const s=de[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;de.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function hi(e){if(Dt.length){const t=[...new Set(Dt)].sort((n,s)=>on(n)-on(s));if(Dt.length=0,lt){lt.push(...t);return}for(lt=t,Ot=0;Ot<lt.length;Ot++){const n=lt[Ot];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}lt=null,Ot=0}}const on=e=>e.id==null?e.flags&2?-1:1/0:e.id;function pi(e){try{for(He=0;He<de.length;He++){const t=de[He];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),fn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;He<de.length;He++){const t=de[He];t&&(t.flags&=-2)}He=-1,de.length=0,hi(),En=null,(de.length||Dt.length)&&pi()}}let we=null,gi=null;function xn(e){const t=we;return we=e,gi=e&&e.type.__scopeId||null,t}function Jo(e,t=we,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&An(-1);const i=xn(t);let o;try{o=e(...r)}finally{xn(i),s._d&&An(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Ft(e,t){if(we===null)return e;const n=Vn(we),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,c,l=Y]=t[r];i&&(H(i)&&(i={mounted:i,updated:i}),i.deep&&Qe(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:c,modifiers:l}))}return e}function _t(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const c=r[o];i&&(c.oldValue=i[o].value);let l=c.dir[s];l&&(Ze(),We(l,n,8,[e.el,c,e,t]),Xe())}}function mn(e,t){if(pe){let n=pe.provides;const s=pe.parent&&pe.parent.provides;s===n&&(n=pe.provides=Object.create(s)),n[e]=t}}function Pe(e,t,n=!1){const s=zl();if(s||Lt){let r=Lt?Lt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&H(t)?t.call(s&&s.proxy):t}}const zo=Symbol.for("v-scx"),Qo=()=>Pe(zo);function _n(e,t,n){return mi(e,t,n)}function mi(e,t,n=Y){const{immediate:s,deep:r,flush:i,once:o}=n,c=ue({},n),l=t&&s||!t&&i!=="post";let d;if(cn){if(i==="sync"){const m=Qo();d=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=Ke,m.resume=Ke,m.pause=Ke,m}}const f=pe;c.call=(m,A,P)=>We(m,f,A,P);let h=!1;i==="post"?c.scheduler=m=>{Ee(m,f&&f.suspense)}:i!=="sync"&&(h=!0,c.scheduler=(m,A)=>{A?m():Ns(m)}),c.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,f&&(m.id=f.uid,m.i=f))};const g=Wo(e,t,c);return cn&&(d?d.push(g):l&&g()),g}function Yo(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?_i(s,e):()=>s[e]:e.bind(s,s);let i;H(t)?i=t:(i=t.handler,n=t);const o=an(this),c=mi(r,i.bind(s),n);return o(),c}function _i(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Zo=Symbol("_vte"),Xo=e=>e.__isTeleport,el=Symbol("_leaveCb");function Ms(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ms(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 vi(e,t){return H(e)?ue({name:e.name},t,{setup:e}):e}function yi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Rn=new WeakMap;function Qt(e,t,n,s,r=!1){if(B(e)){e.forEach((A,P)=>Qt(A,t&&(B(t)?t[P]:t),n,s,r));return}if(Yt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Qt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Vn(s.component):s.el,o=r?null:i,{i:c,r:l}=e,d=t&&t.r,f=c.refs===Y?c.refs={}:c.refs,h=c.setupState,g=k(h),m=h===Y?Vr:A=>q(g,A);if(d!=null&&d!==l){if(Js(t),re(d))f[d]=null,m(d)&&(h[d]=null);else if(ce(d)){d.value=null;const A=t;A.k&&(f[A.k]=null)}}if(H(l))fn(l,c,12,[o,f]);else{const A=re(l),P=ce(l);if(A||P){const U=()=>{if(e.f){const N=A?m(l)?h[l]:f[l]:l.value;if(r)B(N)&&ys(N,i);else if(B(N))N.includes(i)||N.push(i);else if(A)f[l]=[i],m(l)&&(h[l]=f[l]);else{const T=[i];l.value=T,e.k&&(f[e.k]=T)}}else A?(f[l]=o,m(l)&&(h[l]=o)):P&&(l.value=o,e.k&&(f[e.k]=o))};if(o){const N=()=>{U(),Rn.delete(e)};N.id=-1,Rn.set(e,N),Ee(N,n)}else Js(e),U()}}}function Js(e){const t=Rn.get(e);t&&(t.flags|=8,Rn.delete(e))}In().requestIdleCallback;In().cancelIdleCallback;const Yt=e=>!!e.type.__asyncLoader,bi=e=>e.type.__isKeepAlive;function tl(e,t){Ei(e,"a",t)}function nl(e,t){Ei(e,"da",t)}function Ei(e,t,n=pe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Dn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)bi(r.parent.vnode)&&sl(s,t,n,r),r=r.parent}}function sl(e,t,n,s){const r=Dn(t,e,s,!0);xi(()=>{ys(s[t],r)},n)}function Dn(e,t,n=pe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ze();const c=an(n),l=We(t,n,e,o);return c(),Xe(),l});return s?r.unshift(i):r.push(i),i}}const tt=e=>(t,n=pe)=>{(!cn||e==="sp")&&Dn(e,(...s)=>t(...s),n)},rl=tt("bm"),il=tt("m"),ol=tt("bu"),ll=tt("u"),cl=tt("bum"),xi=tt("um"),ul=tt("sp"),fl=tt("rtg"),al=tt("rtc");function dl(e,t=pe){Dn("ec",e,t)}const hl=Symbol.for("v-ndc"),ls=e=>e?ji(e)?Vn(e):ls(e.parent):null,Zt=ue(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=>ls(e.parent),$root:e=>ls(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>wi(e),$forceUpdate:e=>e.f||(e.f=()=>{Ns(e.update)}),$nextTick:e=>e.n||(e.n=ai.bind(e.proxy)),$watch:e=>Yo.bind(e)}),$n=(e,t)=>e!==Y&&!e.__isScriptSetup&&q(e,t),pl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:c,appContext:l}=e;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if($n(s,t))return o[t]=1,s[t];if(r!==Y&&q(r,t))return o[t]=2,r[t];if(q(i,t))return o[t]=3,i[t];if(n!==Y&&q(n,t))return o[t]=4,n[t];cs&&(o[t]=0)}}const d=Zt[t];let f,h;if(d)return t==="$attrs"&&le(e.attrs,"get",""),d(e);if((f=c.__cssModules)&&(f=f[t]))return f;if(n!==Y&&q(n,t))return o[t]=4,n[t];if(h=l.config.globalProperties,q(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return $n(r,t)?(r[t]=n,!0):s!==Y&&q(s,t)?(s[t]=n,!0):q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},c){let l;return!!(n[c]||e!==Y&&c[0]!=="$"&&q(e,c)||$n(t,c)||q(i,c)||q(s,c)||q(Zt,c)||q(r.config.globalProperties,c)||(l=o.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function zs(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let cs=!0;function gl(e){const t=wi(e),n=e.proxy,s=e.ctx;cs=!1,t.beforeCreate&&Qs(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:c,provide:l,inject:d,created:f,beforeMount:h,mounted:g,beforeUpdate:m,updated:A,activated:P,deactivated:U,beforeDestroy:N,beforeUnmount:T,destroyed:L,unmounted:I,render:Q,renderTracked:oe,renderTriggered:te,errorCaptured:Ie,serverPrefetch:nt,expose:Ne,inheritAttrs:st,components:gt,directives:Me,filters:jt}=t;if(d&&ml(d,s,null),o)for(const z in o){const W=o[z];H(W)&&(s[z]=W.bind(n))}if(r){const z=r.call(n,n);ee(z)&&(e.data=Nn(z))}if(cs=!0,i)for(const z in i){const W=i[z],$e=H(W)?W.bind(n,n):H(W.get)?W.get.bind(n,n):Ke,rt=!H(W)&&H(W.set)?W.set.bind(n):Ke,De=Se({get:$e,set:rt});Object.defineProperty(s,z,{enumerable:!0,configurable:!0,get:()=>De.value,set:ge=>De.value=ge})}if(c)for(const z in c)Ri(c[z],s,n,z);if(l){const z=H(l)?l.call(n):l;Reflect.ownKeys(z).forEach(W=>{mn(W,z[W])})}f&&Qs(f,e,"c");function ie(z,W){B(W)?W.forEach($e=>z($e.bind(n))):W&&z(W.bind(n))}if(ie(rl,h),ie(il,g),ie(ol,m),ie(ll,A),ie(tl,P),ie(nl,U),ie(dl,Ie),ie(al,oe),ie(fl,te),ie(cl,T),ie(xi,I),ie(ul,nt),B(Ne))if(Ne.length){const z=e.exposed||(e.exposed={});Ne.forEach(W=>{Object.defineProperty(z,W,{get:()=>n[W],set:$e=>n[W]=$e,enumerable:!0})})}else e.exposed||(e.exposed={});Q&&e.render===Ke&&(e.render=Q),st!=null&&(e.inheritAttrs=st),gt&&(e.components=gt),Me&&(e.directives=Me),nt&&yi(e)}function ml(e,t,n=Ke){B(e)&&(e=us(e));for(const s in e){const r=e[s];let i;ee(r)?"default"in r?i=Pe(r.from||s,r.default,!0):i=Pe(r.from||s):i=Pe(r),ce(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Qs(e,t,n){We(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ri(e,t,n,s){let r=s.includes(".")?_i(n,s):()=>n[s];if(re(e)){const i=t[e];H(i)&&_n(r,i)}else if(H(e))_n(r,e.bind(n));else if(ee(e))if(B(e))e.forEach(i=>Ri(i,t,n,s));else{const i=H(e.handler)?e.handler.bind(n):t[e.handler];H(i)&&_n(r,i,e)}}function wi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,c=i.get(t);let l;return c?l=c:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(d=>wn(l,d,o,!0)),wn(l,t,o)),ee(t)&&i.set(t,l),l}function wn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&wn(e,i,n,!0),r&&r.forEach(o=>wn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const c=_l[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const _l={data:Ys,props:Zs,emits:Zs,methods:kt,computed:kt,beforeCreate:fe,created:fe,beforeMount:fe,mounted:fe,beforeUpdate:fe,updated:fe,beforeDestroy:fe,beforeUnmount:fe,destroyed:fe,unmounted:fe,activated:fe,deactivated:fe,errorCaptured:fe,serverPrefetch:fe,components:kt,directives:kt,watch:yl,provide:Ys,inject:vl};function Ys(e,t){return t?e?function(){return ue(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function vl(e,t){return kt(us(e),us(t))}function us(e){if(B(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function fe(e,t){return e?[...new Set([].concat(e,t))]:t}function kt(e,t){return e?ue(Object.create(null),e,t):t}function Zs(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:ue(Object.create(null),zs(e),zs(t??{})):t}function yl(e,t){if(!e)return t;if(!t)return e;const n=ue(Object.create(null),e);for(const s in t)n[s]=fe(e[s],t[s]);return n}function Ai(){return{app:null,config:{isNativeTag:Vr,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 bl=0;function El(e,t){return function(s,r=null){H(s)||(s=ue({},s)),r!=null&&!ee(r)&&(r=null);const i=Ai(),o=new WeakSet,c=[];let l=!1;const d=i.app={_uid:bl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:tc,get config(){return i.config},set config(f){},use(f,...h){return o.has(f)||(f&&H(f.install)?(o.add(f),f.install(d,...h)):H(f)&&(o.add(f),f(d,...h))),d},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),d},component(f,h){return h?(i.components[f]=h,d):i.components[f]},directive(f,h){return h?(i.directives[f]=h,d):i.directives[f]},mount(f,h,g){if(!l){const m=d._ceVNode||ye(s,r);return m.appContext=i,g===!0?g="svg":g===!1&&(g=void 0),e(m,f,g),l=!0,d._container=f,f.__vue_app__=d,Vn(m.component)}},onUnmount(f){c.push(f)},unmount(){l&&(We(c,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(f,h){return i.provides[f]=h,d},runWithContext(f){const h=Lt;Lt=d;try{return f()}finally{Lt=h}}};return d}}let Lt=null;const xl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${at(t)}Modifiers`]||e[`${Rt(t)}Modifiers`];function Rl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Y;let r=n;const i=t.startsWith("update:"),o=i&&xl(s,t.slice(7));o&&(o.trim&&(r=n.map(f=>re(f)?f.trim():f)),o.number&&(r=n.map(Es)));let c,l=s[c=Un(t)]||s[c=Un(at(t))];!l&&i&&(l=s[c=Un(Rt(t))]),l&&We(l,e,6,r);const d=s[c+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,We(d,e,6,r)}}const wl=new WeakMap;function Si(e,t,n=!1){const s=n?wl:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},c=!1;if(!H(e)){const l=d=>{const f=Si(d,t,!0);f&&(c=!0,ue(o,f))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!c?(ee(e)&&s.set(e,null),null):(B(i)?i.forEach(l=>o[l]=null):ue(o,i),ee(e)&&s.set(e,o),o)}function Ln(e,t){return!e||!On(t)?!1:(t=t.slice(2).replace(/Once$/,""),q(e,t[0].toLowerCase()+t.slice(1))||q(e,Rt(t))||q(e,t))}function Xs(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:c,emit:l,render:d,renderCache:f,props:h,data:g,setupState:m,ctx:A,inheritAttrs:P}=e,U=xn(e);let N,T;try{if(n.shapeFlag&4){const I=r||s,Q=I;N=je(d.call(Q,I,f,h,m,g,A)),T=c}else{const I=t;N=je(I.length>1?I(h,{attrs:c,slots:o,emit:l}):I(h,null)),T=t.props?c:Al(c)}}catch(I){Xt.length=0,Mn(I,e,1),N=ye(ht)}let L=N;if(T&&P!==!1){const I=Object.keys(T),{shapeFlag:Q}=L;I.length&&Q&7&&(i&&I.some(vs)&&(T=Sl(T,i)),L=Vt(L,T,!1,!0))}return n.dirs&&(L=Vt(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&Ms(L,n.transition),N=L,xn(U),N}const Al=e=>{let t;for(const n in e)(n==="class"||n==="style"||On(n))&&((t||(t={}))[n]=e[n]);return t},Sl=(e,t)=>{const n={};for(const s in e)(!vs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Cl(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:c,patchFlag:l}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?er(s,o,d):!!o;if(l&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const g=f[h];if(o[g]!==s[g]&&!Ln(d,g))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===o?!1:s?o?er(s,o,d):!0:!!o;return!1}function er(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Ln(n,i))return!0}return!1}function Ol({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ci={},Oi=()=>Object.create(Ci),Pi=e=>Object.getPrototypeOf(e)===Ci;function Pl(e,t,n,s=!1){const r={},i=Oi();e.propsDefaults=Object.create(null),Ti(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:li(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Tl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,c=k(r),[l]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let g=f[h];if(Ln(e.emitsOptions,g))continue;const m=t[g];if(l)if(q(i,g))m!==i[g]&&(i[g]=m,d=!0);else{const A=at(g);r[A]=fs(l,c,A,m,e,!1)}else m!==i[g]&&(i[g]=m,d=!0)}}}else{Ti(e,t,r,i)&&(d=!0);let f;for(const h in c)(!t||!q(t,h)&&((f=Rt(h))===h||!q(t,f)))&&(l?n&&(n[h]!==void 0||n[f]!==void 0)&&(r[h]=fs(l,c,h,void 0,e,!0)):delete r[h]);if(i!==c)for(const h in i)(!t||!q(t,h))&&(delete i[h],d=!0)}d&&ze(e.attrs,"set","")}function Ti(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,c;if(t)for(let l in t){if(qt(l))continue;const d=t[l];let f;r&&q(r,f=at(l))?!i||!i.includes(f)?n[f]=d:(c||(c={}))[f]=d:Ln(e.emitsOptions,l)||(!(l in s)||d!==s[l])&&(s[l]=d,o=!0)}if(i){const l=k(n),d=c||Y;for(let f=0;f<i.length;f++){const h=i[f];n[h]=fs(r,l,h,d[h],e,!q(d,h))}}return o}function fs(e,t,n,s,r,i){const o=e[n];if(o!=null){const c=q(o,"default");if(c&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&H(l)){const{propsDefaults:d}=r;if(n in d)s=d[n];else{const f=an(r);s=d[n]=l.call(null,t),f()}}else s=l;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!c?s=!1:o[1]&&(s===""||s===Rt(n))&&(s=!0))}return s}const Il=new WeakMap;function Ii(e,t,n=!1){const s=n?Il:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},c=[];let l=!1;if(!H(e)){const f=h=>{l=!0;const[g,m]=Ii(h,t,!0);ue(o,g),m&&c.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!l)return ee(e)&&s.set(e,It),It;if(B(i))for(let f=0;f<i.length;f++){const h=at(i[f]);tr(h)&&(o[h]=Y)}else if(i)for(const f in i){const h=at(f);if(tr(h)){const g=i[f],m=o[h]=B(g)||H(g)?{type:g}:ue({},g),A=m.type;let P=!1,U=!0;if(B(A))for(let N=0;N<A.length;++N){const T=A[N],L=H(T)&&T.name;if(L==="Boolean"){P=!0;break}else L==="String"&&(U=!1)}else P=H(A)&&A.name==="Boolean";m[0]=P,m[1]=U,(P||q(m,"default"))&&c.push(h)}}const d=[o,c];return ee(e)&&s.set(e,d),d}function tr(e){return e[0]!=="$"&&!qt(e)}const Ds=e=>e==="_"||e==="_ctx"||e==="$stable",Ls=e=>B(e)?e.map(je):[je(e)],Nl=(e,t,n)=>{if(t._n)return t;const s=Jo((...r)=>Ls(t(...r)),n);return s._c=!1,s},Ni=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Ds(r))continue;const i=e[r];if(H(i))t[r]=Nl(r,i,s);else if(i!=null){const o=Ls(i);t[r]=()=>o}}},Mi=(e,t)=>{const n=Ls(t);e.slots.default=()=>n},Di=(e,t,n)=>{for(const s in t)(n||!Ds(s))&&(e[s]=t[s])},Ml=(e,t,n)=>{const s=e.slots=Oi();if(e.vnode.shapeFlag&32){const r=t._;r?(Di(s,t,n),n&&Kr(s,"_",r,!0)):Ni(t,s)}else t&&Mi(e,t)},Dl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Y;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:Di(r,t,n):(i=!t.$stable,Ni(t,r)),o=t}else t&&(Mi(e,t),o={default:1});if(i)for(const c in r)!Ds(c)&&o[c]==null&&delete r[c]},Ee=Hl;function Ll(e){return Fl(e)}function Fl(e,t){const n=In();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:c,createComment:l,setText:d,setElementText:f,parentNode:h,nextSibling:g,setScopeId:m=Ke,insertStaticContent:A}=e,P=(u,a,p,_=null,b=null,v=null,w=void 0,R=null,x=!!a.dynamicChildren)=>{if(u===a)return;u&&!Wt(u,a)&&(_=y(u),ge(u,b,v,!0),u=null),a.patchFlag===-2&&(x=!1,a.dynamicChildren=null);const{type:E,ref:F,shapeFlag:C}=a;switch(E){case Fn:U(u,a,p,_);break;case ht:N(u,a,p,_);break;case qn:u==null&&T(a,p,_,w);break;case Ue:gt(u,a,p,_,b,v,w,R,x);break;default:C&1?Q(u,a,p,_,b,v,w,R,x):C&6?Me(u,a,p,_,b,v,w,R,x):(C&64||C&128)&&E.process(u,a,p,_,b,v,w,R,x,M)}F!=null&&b?Qt(F,u&&u.ref,v,a||u,!a):F==null&&u&&u.ref!=null&&Qt(u.ref,null,v,u,!0)},U=(u,a,p,_)=>{if(u==null)s(a.el=c(a.children),p,_);else{const b=a.el=u.el;a.children!==u.children&&d(b,a.children)}},N=(u,a,p,_)=>{u==null?s(a.el=l(a.children||""),p,_):a.el=u.el},T=(u,a,p,_)=>{[u.el,u.anchor]=A(u.children,a,p,_,u.el,u.anchor)},L=({el:u,anchor:a},p,_)=>{let b;for(;u&&u!==a;)b=g(u),s(u,p,_),u=b;s(a,p,_)},I=({el:u,anchor:a})=>{let p;for(;u&&u!==a;)p=g(u),r(u),u=p;r(a)},Q=(u,a,p,_,b,v,w,R,x)=>{if(a.type==="svg"?w="svg":a.type==="math"&&(w="mathml"),u==null)oe(a,p,_,b,v,w,R,x);else{const E=u.el&&u.el._isVueCE?u.el:null;try{E&&E._beginPatch(),nt(u,a,b,v,w,R,x)}finally{E&&E._endPatch()}}},oe=(u,a,p,_,b,v,w,R)=>{let x,E;const{props:F,shapeFlag:C,transition:D,dirs:V}=u;if(x=u.el=o(u.type,v,F&&F.is,F),C&8?f(x,u.children):C&16&&Ie(u.children,x,null,_,b,kn(u,v),w,R),V&&_t(u,null,_,"created"),te(x,u,u.scopeId,w,_),F){for(const Z in F)Z!=="value"&&!qt(Z)&&i(x,Z,null,F[Z],v,_);"value"in F&&i(x,"value",null,F.value,v),(E=F.onVnodeBeforeMount)&&Be(E,_,u)}V&&_t(u,null,_,"beforeMount");const G=Vl(b,D);G&&D.beforeEnter(x),s(x,a,p),((E=F&&F.onVnodeMounted)||G||V)&&Ee(()=>{E&&Be(E,_,u),G&&D.enter(x),V&&_t(u,null,_,"mounted")},b)},te=(u,a,p,_,b)=>{if(p&&m(u,p),_)for(let v=0;v<_.length;v++)m(u,_[v]);if(b){let v=b.subTree;if(a===v||Bi(v.type)&&(v.ssContent===a||v.ssFallback===a)){const w=b.vnode;te(u,w,w.scopeId,w.slotScopeIds,b.parent)}}},Ie=(u,a,p,_,b,v,w,R,x=0)=>{for(let E=x;E<u.length;E++){const F=u[E]=R?ct(u[E]):je(u[E]);P(null,F,a,p,_,b,v,w,R)}},nt=(u,a,p,_,b,v,w)=>{const R=a.el=u.el;let{patchFlag:x,dynamicChildren:E,dirs:F}=a;x|=u.patchFlag&16;const C=u.props||Y,D=a.props||Y;let V;if(p&&vt(p,!1),(V=D.onVnodeBeforeUpdate)&&Be(V,p,a,u),F&&_t(a,u,p,"beforeUpdate"),p&&vt(p,!0),(C.innerHTML&&D.innerHTML==null||C.textContent&&D.textContent==null)&&f(R,""),E?Ne(u.dynamicChildren,E,R,p,_,kn(a,b),v):w||W(u,a,R,null,p,_,kn(a,b),v,!1),x>0){if(x&16)st(R,C,D,p,b);else if(x&2&&C.class!==D.class&&i(R,"class",null,D.class,b),x&4&&i(R,"style",C.style,D.style,b),x&8){const G=a.dynamicProps;for(let Z=0;Z<G.length;Z++){const J=G[Z],me=C[J],_e=D[J];(_e!==me||J==="value")&&i(R,J,me,_e,b,p)}}x&1&&u.children!==a.children&&f(R,a.children)}else!w&&E==null&&st(R,C,D,p,b);((V=D.onVnodeUpdated)||F)&&Ee(()=>{V&&Be(V,p,a,u),F&&_t(a,u,p,"updated")},_)},Ne=(u,a,p,_,b,v,w)=>{for(let R=0;R<a.length;R++){const x=u[R],E=a[R],F=x.el&&(x.type===Ue||!Wt(x,E)||x.shapeFlag&198)?h(x.el):p;P(x,E,F,null,_,b,v,w,!0)}},st=(u,a,p,_,b)=>{if(a!==p){if(a!==Y)for(const v in a)!qt(v)&&!(v in p)&&i(u,v,a[v],null,b,_);for(const v in p){if(qt(v))continue;const w=p[v],R=a[v];w!==R&&v!=="value"&&i(u,v,R,w,b,_)}"value"in p&&i(u,"value",a.value,p.value,b)}},gt=(u,a,p,_,b,v,w,R,x)=>{const E=a.el=u?u.el:c(""),F=a.anchor=u?u.anchor:c("");let{patchFlag:C,dynamicChildren:D,slotScopeIds:V}=a;V&&(R=R?R.concat(V):V),u==null?(s(E,p,_),s(F,p,_),Ie(a.children||[],p,F,b,v,w,R,x)):C>0&&C&64&&D&&u.dynamicChildren&&u.dynamicChildren.length===D.length?(Ne(u.dynamicChildren,D,p,b,v,w,R),(a.key!=null||b&&a===b.subTree)&&Li(u,a,!0)):W(u,a,p,F,b,v,w,R,x)},Me=(u,a,p,_,b,v,w,R,x)=>{a.slotScopeIds=R,u==null?a.shapeFlag&512?b.ctx.activate(a,p,_,w,x):jt(a,p,_,b,v,w,x):wt(u,a,x)},jt=(u,a,p,_,b,v,w)=>{const R=u.component=Jl(u,_,b);if(bi(u)&&(R.ctx.renderer=M),Ql(R,!1,w),R.asyncDep){if(b&&b.registerDep(R,ie,w),!u.el){const x=R.subTree=ye(ht);N(null,x,a,p),u.placeholder=x.el}}else ie(R,u,a,p,b,v,w)},wt=(u,a,p)=>{const _=a.component=u.component;if(Cl(u,a,p))if(_.asyncDep&&!_.asyncResolved){z(_,a,p);return}else _.next=a,_.update();else a.el=u.el,_.vnode=a},ie=(u,a,p,_,b,v,w)=>{const R=()=>{if(u.isMounted){let{next:C,bu:D,u:V,parent:G,vnode:Z}=u;{const Fe=Fi(u);if(Fe){C&&(C.el=Z.el,z(u,C,w)),Fe.asyncDep.then(()=>{u.isUnmounted||R()});return}}let J=C,me;vt(u,!1),C?(C.el=Z.el,z(u,C,w)):C=Z,D&&gn(D),(me=C.props&&C.props.onVnodeBeforeUpdate)&&Be(me,G,C,Z),vt(u,!0);const _e=Xs(u),Le=u.subTree;u.subTree=_e,P(Le,_e,h(Le.el),y(Le),u,b,v),C.el=_e.el,J===null&&Ol(u,_e.el),V&&Ee(V,b),(me=C.props&&C.props.onVnodeUpdated)&&Ee(()=>Be(me,G,C,Z),b)}else{let C;const{el:D,props:V}=a,{bm:G,m:Z,parent:J,root:me,type:_e}=u,Le=Yt(a);vt(u,!1),G&&gn(G),!Le&&(C=V&&V.onVnodeBeforeMount)&&Be(C,J,a),vt(u,!0);{me.ce&&me.ce._def.shadowRoot!==!1&&me.ce._injectChildStyle(_e);const Fe=u.subTree=Xs(u);P(null,Fe,p,_,u,b,v),a.el=Fe.el}if(Z&&Ee(Z,b),!Le&&(C=V&&V.onVnodeMounted)){const Fe=a;Ee(()=>Be(C,J,Fe),b)}(a.shapeFlag&256||J&&Yt(J.vnode)&&J.vnode.shapeFlag&256)&&u.a&&Ee(u.a,b),u.isMounted=!0,a=p=_=null}};u.scope.on();const x=u.effect=new qr(R);u.scope.off();const E=u.update=x.run.bind(x),F=u.job=x.runIfDirty.bind(x);F.i=u,F.id=u.uid,x.scheduler=()=>Ns(F),vt(u,!0),E()},z=(u,a,p)=>{a.component=u;const _=u.vnode.props;u.vnode=a,u.next=null,Tl(u,a.props,_,p),Dl(u,a.children,p),Ze(),qs(u),Xe()},W=(u,a,p,_,b,v,w,R,x=!1)=>{const E=u&&u.children,F=u?u.shapeFlag:0,C=a.children,{patchFlag:D,shapeFlag:V}=a;if(D>0){if(D&128){rt(E,C,p,_,b,v,w,R,x);return}else if(D&256){$e(E,C,p,_,b,v,w,R,x);return}}V&8?(F&16&&Re(E,b,v),C!==E&&f(p,C)):F&16?V&16?rt(E,C,p,_,b,v,w,R,x):Re(E,b,v,!0):(F&8&&f(p,""),V&16&&Ie(C,p,_,b,v,w,R,x))},$e=(u,a,p,_,b,v,w,R,x)=>{u=u||It,a=a||It;const E=u.length,F=a.length,C=Math.min(E,F);let D;for(D=0;D<C;D++){const V=a[D]=x?ct(a[D]):je(a[D]);P(u[D],V,p,null,b,v,w,R,x)}E>F?Re(u,b,v,!0,!1,C):Ie(a,p,_,b,v,w,R,x,C)},rt=(u,a,p,_,b,v,w,R,x)=>{let E=0;const F=a.length;let C=u.length-1,D=F-1;for(;E<=C&&E<=D;){const V=u[E],G=a[E]=x?ct(a[E]):je(a[E]);if(Wt(V,G))P(V,G,p,null,b,v,w,R,x);else break;E++}for(;E<=C&&E<=D;){const V=u[C],G=a[D]=x?ct(a[D]):je(a[D]);if(Wt(V,G))P(V,G,p,null,b,v,w,R,x);else break;C--,D--}if(E>C){if(E<=D){const V=D+1,G=V<F?a[V].el:_;for(;E<=D;)P(null,a[E]=x?ct(a[E]):je(a[E]),p,G,b,v,w,R,x),E++}}else if(E>D)for(;E<=C;)ge(u[E],b,v,!0),E++;else{const V=E,G=E,Z=new Map;for(E=G;E<=D;E++){const be=a[E]=x?ct(a[E]):je(a[E]);be.key!=null&&Z.set(be.key,E)}let J,me=0;const _e=D-G+1;let Le=!1,Fe=0;const Gt=new Array(_e);for(E=0;E<_e;E++)Gt[E]=0;for(E=V;E<=C;E++){const be=u[E];if(me>=_e){ge(be,b,v,!0);continue}let Ve;if(be.key!=null)Ve=Z.get(be.key);else for(J=G;J<=D;J++)if(Gt[J-G]===0&&Wt(be,a[J])){Ve=J;break}Ve===void 0?ge(be,b,v,!0):(Gt[Ve-G]=E+1,Ve>=Fe?Fe=Ve:Le=!0,P(be,a[Ve],p,null,b,v,w,R,x),me++)}const js=Le?Bl(Gt):It;for(J=js.length-1,E=_e-1;E>=0;E--){const be=G+E,Ve=a[be],Gs=a[be+1],Ks=be+1<F?Gs.el||Vi(Gs):_;Gt[E]===0?P(null,Ve,p,Ks,b,v,w,R,x):Le&&(J<0||E!==js[J]?De(Ve,p,Ks,2):J--)}}},De=(u,a,p,_,b=null)=>{const{el:v,type:w,transition:R,children:x,shapeFlag:E}=u;if(E&6){De(u.component.subTree,a,p,_);return}if(E&128){u.suspense.move(a,p,_);return}if(E&64){w.move(u,a,p,M);return}if(w===Ue){s(v,a,p);for(let C=0;C<x.length;C++)De(x[C],a,p,_);s(u.anchor,a,p);return}if(w===qn){L(u,a,p);return}if(_!==2&&E&1&&R)if(_===0)R.beforeEnter(v),s(v,a,p),Ee(()=>R.enter(v),b);else{const{leave:C,delayLeave:D,afterLeave:V}=R,G=()=>{u.ctx.isUnmounted?r(v):s(v,a,p)},Z=()=>{v._isLeaving&&v[el](!0),C(v,()=>{G(),V&&V()})};D?D(v,G,Z):Z()}else s(v,a,p)},ge=(u,a,p,_=!1,b=!1)=>{const{type:v,props:w,ref:R,children:x,dynamicChildren:E,shapeFlag:F,patchFlag:C,dirs:D,cacheIndex:V}=u;if(C===-2&&(b=!1),R!=null&&(Ze(),Qt(R,null,p,u,!0),Xe()),V!=null&&(a.renderCache[V]=void 0),F&256){a.ctx.deactivate(u);return}const G=F&1&&D,Z=!Yt(u);let J;if(Z&&(J=w&&w.onVnodeBeforeUnmount)&&Be(J,a,u),F&6)mt(u.component,p,_);else{if(F&128){u.suspense.unmount(p,_);return}G&&_t(u,null,a,"beforeUnmount"),F&64?u.type.remove(u,a,p,M,_):E&&!E.hasOnce&&(v!==Ue||C>0&&C&64)?Re(E,a,p,!1,!0):(v===Ue&&C&384||!b&&F&16)&&Re(x,a,p),_&&At(u)}(Z&&(J=w&&w.onVnodeUnmounted)||G)&&Ee(()=>{J&&Be(J,a,u),G&&_t(u,null,a,"unmounted")},p)},At=u=>{const{type:a,el:p,anchor:_,transition:b}=u;if(a===Ue){St(p,_);return}if(a===qn){I(u);return}const v=()=>{r(p),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(u.shapeFlag&1&&b&&!b.persisted){const{leave:w,delayLeave:R}=b,x=()=>w(p,v);R?R(u.el,v,x):x()}else v()},St=(u,a)=>{let p;for(;u!==a;)p=g(u),r(u),u=p;r(a)},mt=(u,a,p)=>{const{bum:_,scope:b,job:v,subTree:w,um:R,m:x,a:E}=u;nr(x),nr(E),_&&gn(_),b.stop(),v&&(v.flags|=8,ge(w,u,a,p)),R&&Ee(R,a),Ee(()=>{u.isUnmounted=!0},a)},Re=(u,a,p,_=!1,b=!1,v=0)=>{for(let w=v;w<u.length;w++)ge(u[w],a,p,_,b)},y=u=>{if(u.shapeFlag&6)return y(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const a=g(u.anchor||u.el),p=a&&a[Zo];return p?g(p):a};let O=!1;const S=(u,a,p)=>{let _;u==null?a._vnode&&(ge(a._vnode,null,null,!0),_=a._vnode.component):P(a._vnode||null,u,a,null,null,null,p),a._vnode=u,O||(O=!0,qs(_),hi(),O=!1)},M={p:P,um:ge,m:De,r:At,mt:jt,mc:Ie,pc:W,pbc:Ne,n:y,o:e};return{render:S,hydrate:void 0,createApp:El(S)}}function kn({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 vt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Vl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Li(e,t,n=!1){const s=e.children,r=t.children;if(B(s)&&B(r))for(let i=0;i<s.length;i++){const o=s[i];let c=r[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[i]=ct(r[i]),c.el=o.el),!n&&c.patchFlag!==-2&&Li(o,c)),c.type===Fn&&(c.patchFlag!==-1?c.el=o.el:c.__elIndex=i+(e.type===Ue?1:0)),c.type===ht&&!c.el&&(c.el=o.el)}}function Bl(e){const t=e.slice(),n=[0];let s,r,i,o,c;const l=e.length;for(s=0;s<l;s++){const d=e[s];if(d!==0){if(r=n[n.length-1],e[r]<d){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)c=i+o>>1,e[n[c]]<d?i=c+1:o=c;d<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Fi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fi(t)}function nr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Vi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Vi(t.subTree):null}const Bi=e=>e.__isSuspense;function Hl(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):qo(e)}const Ue=Symbol.for("v-fgt"),Fn=Symbol.for("v-txt"),ht=Symbol.for("v-cmt"),qn=Symbol.for("v-stc"),Xt=[];let xe=null;function Ae(e=!1){Xt.push(xe=e?null:[])}function Ul(){Xt.pop(),xe=Xt[Xt.length-1]||null}let ln=1;function An(e,t=!1){ln+=e,e<0&&xe&&t&&(xe.hasOnce=!0)}function Hi(e){return e.dynamicChildren=ln>0?xe||It:null,Ul(),ln>0&&xe&&xe.push(e),e}function Ge(e,t,n,s,r,i){return Hi(K(e,t,n,s,r,i,!0))}function jl(e,t,n,s,r){return Hi(ye(e,t,n,s,r,!0))}function Sn(e){return e?e.__v_isVNode===!0:!1}function Wt(e,t){return e.type===t.type&&e.key===t.key}const Ui=({key:e})=>e??null,vn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||ce(e)||H(e)?{i:we,r:e,k:t,f:!!n}:e:null);function K(e,t=null,n=null,s=0,r=null,i=e===Ue?0:1,o=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ui(t),ref:t&&vn(t),scopeId:gi,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:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:we};return c?(Fs(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=re(n)?8:16),ln>0&&!o&&xe&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&xe.push(l),l}const ye=Gl;function Gl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===hl)&&(e=ht),Sn(e)){const c=Vt(e,t,!0);return n&&Fs(c,n),ln>0&&!i&&xe&&(c.shapeFlag&6?xe[xe.indexOf(e)]=c:xe.push(c)),c.patchFlag=-2,c}if(ec(e)&&(e=e.__vccOpts),t){t=Kl(t);let{class:c,style:l}=t;c&&!re(c)&&(t.class=Rs(c)),ee(l)&&(Is(l)&&!B(l)&&(l=ue({},l)),t.style=xs(l))}const o=re(e)?1:Bi(e)?128:Xo(e)?64:ee(e)?4:H(e)?2:0;return K(e,t,n,s,r,o,i,!0)}function Kl(e){return e?Is(e)||Pi(e)?ue({},e):e:null}function Vt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:c,transition:l}=e,d=t?$l(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Ui(d),ref:t&&t.ref?n&&i?B(i)?i.concat(vn(t)):[i,vn(t)]:vn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ue?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Vt(e.ssContent),ssFallback:e.ssFallback&&Vt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&Ms(f,l.clone(f)),f}function Wl(e=" ",t=0){return ye(Fn,null,e,t)}function en(e="",t=!1){return t?(Ae(),jl(ht,null,e)):ye(ht,null,e)}function je(e){return e==null||typeof e=="boolean"?ye(ht):B(e)?ye(Ue,null,e.slice()):Sn(e)?ct(e):ye(Fn,null,String(e))}function ct(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Vt(e)}function Fs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Fs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Pi(t)?t._ctx=we:r===3&&we&&(we.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:we},n=32):(t=String(t),s&64?(n=16,t=[Wl(t)]):n=8);e.children=t,e.shapeFlag|=n}function $l(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Rs([t.class,s.class]));else if(r==="style")t.style=xs([t.style,s.style]);else if(On(r)){const i=t[r],o=s[r];o&&i!==o&&!(B(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Be(e,t,n,s=null){We(e,t,7,[n,s])}const kl=Ai();let ql=0;function Jl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||kl,i={uid:ql++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new _o(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ii(s,r),emitsOptions:Si(s,r),emit:null,emitted:null,propsDefaults:Y,inheritAttrs:s.inheritAttrs,ctx:Y,data:Y,props:Y,attrs:Y,slots:Y,refs:Y,setupState:Y,setupContext:null,suspense:n,suspenseId:n?n.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=Rl.bind(null,i),e.ce&&e.ce(i),i}let pe=null;const zl=()=>pe||we;let Cn,as;{const e=In(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Cn=t("__VUE_INSTANCE_SETTERS__",n=>pe=n),as=t("__VUE_SSR_SETTERS__",n=>cn=n)}const an=e=>{const t=pe;return Cn(e),e.scope.on(),()=>{e.scope.off(),Cn(t)}},sr=()=>{pe&&pe.scope.off(),Cn(null)};function ji(e){return e.vnode.shapeFlag&4}let cn=!1;function Ql(e,t=!1,n=!1){t&&as(t);const{props:s,children:r}=e.vnode,i=ji(e);Pl(e,s,i,t),Ml(e,r,n||t);const o=i?Yl(e,t):void 0;return t&&as(!1),o}function Yl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pl);const{setup:s}=n;if(s){Ze();const r=e.setupContext=s.length>1?Xl(e):null,i=an(e),o=fn(s,e,0,[e.props,r]),c=Hr(o);if(Xe(),i(),(c||e.sp)&&!Yt(e)&&yi(e),c){if(o.then(sr,sr),t)return o.then(l=>{rr(e,l)}).catch(l=>{Mn(l,e,0)});e.asyncDep=o}else rr(e,o)}else Gi(e)}function rr(e,t,n){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=ui(t)),Gi(e)}function Gi(e,t,n){const s=e.type;e.render||(e.render=s.render||Ke);{const r=an(e);Ze();try{gl(e)}finally{Xe(),r()}}}const Zl={get(e,t){return le(e,"get",""),e[t]}};function Xl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Zl),slots:e.slots,emit:e.emit,expose:t}}function Vn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ui(Vo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Zt)return Zt[n](e)},has(t,n){return n in t||n in Zt}})):e.proxy}function ec(e){return H(e)&&"__vccOpts"in e}const Se=(e,t)=>Go(e,t,cn);function Ki(e,t,n){try{An(-1);const s=arguments.length;return s===2?ee(t)&&!B(t)?Sn(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Sn(n)&&(n=[n]),ye(e,t,n))}finally{An(1)}}const tc="3.5.26";/**
|
|
* @vue/runtime-dom v3.5.26
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let ds;const ir=typeof window<"u"&&window.trustedTypes;if(ir)try{ds=ir.createPolicy("vue",{createHTML:e=>e})}catch{}const Wi=ds?e=>ds.createHTML(e):e=>e,nc="http://www.w3.org/2000/svg",sc="http://www.w3.org/1998/Math/MathML",Je=typeof document<"u"?document:null,or=Je&&Je.createElement("template"),rc={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"?Je.createElementNS(nc,e):t==="mathml"?Je.createElementNS(sc,e):n?Je.createElement(e,{is:n}):Je.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Je.createTextNode(e),createComment:e=>Je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{or.innerHTML=Wi(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const c=or.content;if(s==="svg"||s==="mathml"){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ic=Symbol("_vtc");function oc(e,t,n){const s=e[ic];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const lr=Symbol("_vod"),lc=Symbol("_vsh"),cc=Symbol(""),uc=/(?:^|;)\s*display\s*:/;function fc(e,t,n){const s=e.style,r=re(n);let i=!1;if(n&&!r){if(t)if(re(t))for(const o of t.split(";")){const c=o.slice(0,o.indexOf(":")).trim();n[c]==null&&yn(s,c,"")}else for(const o in t)n[o]==null&&yn(s,o,"");for(const o in n)o==="display"&&(i=!0),yn(s,o,n[o])}else if(r){if(t!==n){const o=s[cc];o&&(n+=";"+o),s.cssText=n,i=uc.test(n)}}else t&&e.removeAttribute("style");lr in e&&(e[lr]=i?s.display:"",e[lc]&&(s.display="none"))}const cr=/\s*!important$/;function yn(e,t,n){if(B(n))n.forEach(s=>yn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ac(e,t);cr.test(n)?e.setProperty(Rt(s),n.replace(cr,""),"important"):e[s]=n}}const ur=["Webkit","Moz","ms"],Jn={};function ac(e,t){const n=Jn[t];if(n)return n;let s=at(t);if(s!=="filter"&&s in e)return Jn[t]=s;s=Gr(s);for(let r=0;r<ur.length;r++){const i=ur[r]+s;if(i in e)return Jn[t]=i}return t}const fr="http://www.w3.org/1999/xlink";function ar(e,t,n,s,r,i=mo(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(fr,t.slice(6,t.length)):e.setAttributeNS(fr,t,n):n==null||i&&!Wr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":pt(n)?String(n):n)}function dr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Wi(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const c=i==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(c!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Wr(n):n==null&&c==="string"?(n="",o=!0):c==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function Pt(e,t,n,s){e.addEventListener(t,n,s)}function dc(e,t,n,s){e.removeEventListener(t,n,s)}const hr=Symbol("_vei");function hc(e,t,n,s,r=null){const i=e[hr]||(e[hr]={}),o=i[t];if(s&&o)o.value=s;else{const[c,l]=pc(t);if(s){const d=i[t]=_c(s,r);Pt(e,c,d,l)}else o&&(dc(e,c,o,l),i[t]=void 0)}}const pr=/(?:Once|Passive|Capture)$/;function pc(e){let t;if(pr.test(e)){t={};let s;for(;s=e.match(pr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rt(e.slice(2)),t]}let zn=0;const gc=Promise.resolve(),mc=()=>zn||(gc.then(()=>zn=0),zn=Date.now());function _c(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;We(vc(s,n.value),t,5,[s])};return n.value=e,n.attached=mc(),n}function vc(e,t){if(B(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 gr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,yc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?oc(e,s,o):t==="style"?fc(e,n,s):On(t)?vs(t)||hc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bc(e,t,s,o))?(dr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ar(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!re(s))?dr(e,at(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ar(e,t,s,o))};function bc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&gr(t)&&H(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 gr(t)&&re(n)?!1:t in e}const mr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>gn(t,n):t};function Ec(e){e.target.composing=!0}function _r(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qn=Symbol("_assign");function vr(e,t,n){return t&&(e=e.trim()),n&&(e=Es(e)),e}const Bt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Qn]=mr(r);const i=s||r.props&&r.props.type==="number";Pt(e,t?"change":"input",o=>{o.target.composing||e[Qn](vr(e.value,n,i))}),(n||i)&&Pt(e,"change",()=>{e.value=vr(e.value,n,i)}),t||(Pt(e,"compositionstart",Ec),Pt(e,"compositionend",_r),Pt(e,"change",_r))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[Qn]=mr(o),e.composing)return;const c=(i||e.type==="number")&&!/^0\d/.test(e.value)?Es(e.value):e.value,l=t??"";c!==l&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===l)||(e.value=l))}},xc=["ctrl","shift","alt","meta"],Rc={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)=>xc.some(n=>e[`${n}Key`]&&!t.includes(n))},$i=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const c=Rc[t[o]];if(c&&c(r,t))return}return e(r,...i)})},wc=ue({patchProp:yc},rc);let yr;function Ac(){return yr||(yr=Ll(wc))}const Sc=(...e)=>{const t=Ac().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Oc(s);if(!r)return;const i=t._component;!H(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Cc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Cc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Oc(e){return re(e)?document.querySelector(e):e}/*!
|
|
* vue-router v4.6.4
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const Tt=typeof document<"u";function ki(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Pc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ki(e.default)}const $=Object.assign;function Yn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Te(r)?r.map(e):e(r)}return n}const tn=()=>{},Te=Array.isArray;function br(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const qi=/#/g,Tc=/&/g,Ic=/\//g,Nc=/=/g,Mc=/\?/g,Ji=/\+/g,Dc=/%5B/g,Lc=/%5D/g,zi=/%5E/g,Fc=/%60/g,Qi=/%7B/g,Vc=/%7C/g,Yi=/%7D/g,Bc=/%20/g;function Vs(e){return e==null?"":encodeURI(""+e).replace(Vc,"|").replace(Dc,"[").replace(Lc,"]")}function Hc(e){return Vs(e).replace(Qi,"{").replace(Yi,"}").replace(zi,"^")}function hs(e){return Vs(e).replace(Ji,"%2B").replace(Bc,"+").replace(qi,"%23").replace(Tc,"%26").replace(Fc,"`").replace(Qi,"{").replace(Yi,"}").replace(zi,"^")}function Uc(e){return hs(e).replace(Nc,"%3D")}function jc(e){return Vs(e).replace(qi,"%23").replace(Mc,"%3F")}function Gc(e){return jc(e).replace(Ic,"%2F")}function un(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Kc=/\/$/,Wc=e=>e.replace(Kc,"");function Zn(e,t,n="/"){let s,r={},i="",o="";const c=t.indexOf("#");let l=t.indexOf("?");return l=c>=0&&l>c?-1:l,l>=0&&(s=t.slice(0,l),i=t.slice(l,c>0?c:t.length),r=e(i.slice(1))),c>=0&&(s=s||t.slice(0,c),o=t.slice(c,t.length)),s=Jc(s??t,n),{fullPath:s+i+o,path:s,query:r,hash:un(o)}}function $c(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Er(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function kc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Ht(t.matched[s],n.matched[r])&&Zi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ht(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Zi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!qc(e[n],t[n]))return!1;return!0}function qc(e,t){return Te(e)?xr(e,t):Te(t)?xr(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function xr(e,t){return Te(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Jc(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 i=n.length-1,o,c;for(o=0;o<s.length;o++)if(c=s[o],c!==".")if(c==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const it={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let ps=function(e){return e.pop="pop",e.push="push",e}({}),Xn=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function zc(e){if(!e)if(Tt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Wc(e)}const Qc=/^[^#]+#/;function Yc(e,t){return e.replace(Qc,"#")+t}function Zc(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 Bn=()=>({left:window.scrollX,top:window.scrollY});function Xc(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=Zc(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 Rr(e,t){return(history.state?history.state.position-t:-1)+e}const gs=new Map;function eu(e,t){gs.set(e,t)}function tu(e){const t=gs.get(e);return gs.delete(e),t}function nu(e){return typeof e=="string"||e&&typeof e=="object"}function Xi(e){return typeof e=="string"||typeof e=="symbol"}let ne=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 eo=Symbol("");ne.MATCHER_NOT_FOUND+"",ne.NAVIGATION_GUARD_REDIRECT+"",ne.NAVIGATION_ABORTED+"",ne.NAVIGATION_CANCELLED+"",ne.NAVIGATION_DUPLICATED+"";function Ut(e,t){return $(new Error,{type:e,[eo]:!0},t)}function qe(e,t){return e instanceof Error&&eo in e&&(t==null||!!(e.type&t))}const su=["params","query","hash"];function ru(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of su)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function iu(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Ji," "),i=r.indexOf("="),o=un(i<0?r:r.slice(0,i)),c=i<0?null:un(r.slice(i+1));if(o in t){let l=t[o];Te(l)||(l=t[o]=[l]),l.push(c)}else t[o]=c}return t}function wr(e){let t="";for(let n in e){const s=e[n];if(n=Uc(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Te(s)?s.map(r=>r&&hs(r)):[s&&hs(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function ou(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Te(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const lu=Symbol(""),Ar=Symbol(""),Hn=Symbol(""),Bs=Symbol(""),ms=Symbol("");function $t(){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 ut(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((c,l)=>{const d=g=>{g===!1?l(Ut(ne.NAVIGATION_ABORTED,{from:n,to:t})):g instanceof Error?l(g):nu(g)?l(Ut(ne.NAVIGATION_GUARD_REDIRECT,{from:t,to:g})):(o&&s.enterCallbacks[r]===o&&typeof g=="function"&&o.push(g),c())},f=i(()=>e.call(s&&s.instances[r],t,n,d));let h=Promise.resolve(f);e.length<3&&(h=h.then(d)),h.catch(g=>l(g))})}function es(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const c in o.components){let l=o.components[c];if(!(t!=="beforeRouteEnter"&&!o.instances[c]))if(ki(l)){const d=(l.__vccOpts||l)[t];d&&i.push(ut(d,n,s,o,c,r))}else{let d=l();i.push(()=>d.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${c}" at "${o.path}"`);const h=Pc(f)?f.default:f;o.mods[c]=f,o.components[c]=h;const g=(h.__vccOpts||h)[t];return g&&ut(g,n,s,o,c,r)()}))}}return i}function cu(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const c=t.matched[o];c&&(e.matched.find(d=>Ht(d,c))?s.push(c):n.push(c));const l=e.matched[o];l&&(t.matched.find(d=>Ht(d,l))||r.push(l))}return[n,s,r]}/*!
|
|
* vue-router v4.6.4
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/let uu=()=>location.protocol+"//"+location.host;function to(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,c=r.slice(o);return c[0]!=="/"&&(c="/"+c),Er(c,"")}return Er(n,e)+s+r}function fu(e,t,n,s){let r=[],i=[],o=null;const c=({state:g})=>{const m=to(e,location),A=n.value,P=t.value;let U=0;if(g){if(n.value=m,t.value=g,o&&o===A){o=null;return}U=P?g.position-P.position:0}else s(m);r.forEach(N=>{N(n.value,A,{delta:U,type:ps.pop,direction:U?U>0?Xn.forward:Xn.back:Xn.unknown})})};function l(){o=n.value}function d(g){r.push(g);const m=()=>{const A=r.indexOf(g);A>-1&&r.splice(A,1)};return i.push(m),m}function f(){if(document.visibilityState==="hidden"){const{history:g}=window;if(!g.state)return;g.replaceState($({},g.state,{scroll:Bn()}),"")}}function h(){for(const g of i)g();i=[],window.removeEventListener("popstate",c),window.removeEventListener("pagehide",f),document.removeEventListener("visibilitychange",f)}return window.addEventListener("popstate",c),window.addEventListener("pagehide",f),document.addEventListener("visibilitychange",f),{pauseListeners:l,listen:d,destroy:h}}function Sr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Bn():null}}function au(e){const{history:t,location:n}=window,s={value:to(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,d,f){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:uu()+e+l;try{t[f?"replaceState":"pushState"](d,"",g),r.value=d}catch(m){console.error(m),n[f?"replace":"assign"](g)}}function o(l,d){i(l,$({},t.state,Sr(r.value.back,l,r.value.forward,!0),d,{position:r.value.position}),!0),s.value=l}function c(l,d){const f=$({},r.value,t.state,{forward:l,scroll:Bn()});i(f.current,f,!0),i(l,$({},Sr(s.value,l,null),{position:f.position+1},d),!1),s.value=l}return{location:s,state:r,push:c,replace:o}}function du(e){e=zc(e);const t=au(e),n=fu(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=$({location:"",base:e,go:s,createHref:Yc.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 bt=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var se=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}(se||{});const hu={type:bt.Static,value:""},pu=/[a-zA-Z0-9_]/;function gu(e){if(!e)return[[]];if(e==="/")return[[hu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${d}": ${m}`)}let n=se.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let c=0,l,d="",f="";function h(){d&&(n===se.Static?i.push({type:bt.Static,value:d}):n===se.Param||n===se.ParamRegExp||n===se.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),i.push({type:bt.Param,value:d,regexp:f,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),d="")}function g(){d+=l}for(;c<e.length;){if(l=e[c++],l==="\\"&&n!==se.ParamRegExp){s=n,n=se.EscapeNext;continue}switch(n){case se.Static:l==="/"?(d&&h(),o()):l===":"?(h(),n=se.Param):g();break;case se.EscapeNext:g(),n=s;break;case se.Param:l==="("?n=se.ParamRegExp:pu.test(l)?g():(h(),n=se.Static,l!=="*"&&l!=="?"&&l!=="+"&&c--);break;case se.ParamRegExp:l===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+l:n=se.ParamRegExpEnd:f+=l;break;case se.ParamRegExpEnd:h(),n=se.Static,l!=="*"&&l!=="?"&&l!=="+"&&c--,f="";break;default:t("Unknown state");break}}return n===se.ParamRegExp&&t(`Unfinished custom RegExp for param "${d}"`),h(),o(),r}const Cr="[^/]+?",mu={sensitive:!1,strict:!1,start:!0,end:!0};var ae=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(ae||{});const _u=/[.+*?^${}()[\]/\\]/g;function vu(e,t){const n=$({},mu,t),s=[];let r=n.start?"^":"";const i=[];for(const d of e){const f=d.length?[]:[ae.Root];n.strict&&!d.length&&(r+="/");for(let h=0;h<d.length;h++){const g=d[h];let m=ae.Segment+(n.sensitive?ae.BonusCaseSensitive:0);if(g.type===bt.Static)h||(r+="/"),r+=g.value.replace(_u,"\\$&"),m+=ae.Static;else if(g.type===bt.Param){const{value:A,repeatable:P,optional:U,regexp:N}=g;i.push({name:A,repeatable:P,optional:U});const T=N||Cr;if(T!==Cr){m+=ae.BonusCustomRegExp;try{`${T}`}catch(I){throw new Error(`Invalid custom RegExp for param "${A}" (${T}): `+I.message)}}let L=P?`((?:${T})(?:/(?:${T}))*)`:`(${T})`;h||(L=U&&d.length<2?`(?:/${L})`:"/"+L),U&&(L+="?"),r+=L,m+=ae.Dynamic,U&&(m+=ae.BonusOptional),P&&(m+=ae.BonusRepeatable),T===".*"&&(m+=ae.BonusWildcard)}f.push(m)}s.push(f)}if(n.strict&&n.end){const d=s.length-1;s[d][s[d].length-1]+=ae.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function c(d){const f=d.match(o),h={};if(!f)return null;for(let g=1;g<f.length;g++){const m=f[g]||"",A=i[g-1];h[A.name]=m&&A.repeatable?m.split("/"):m}return h}function l(d){let f="",h=!1;for(const g of e){(!h||!f.endsWith("/"))&&(f+="/"),h=!1;for(const m of g)if(m.type===bt.Static)f+=m.value;else if(m.type===bt.Param){const{value:A,repeatable:P,optional:U}=m,N=A in d?d[A]:"";if(Te(N)&&!P)throw new Error(`Provided param "${A}" is an array but it is not repeatable (* or + modifiers)`);const T=Te(N)?N.join("/"):N;if(!T)if(U)g.length<2&&(f.endsWith("/")?f=f.slice(0,-1):h=!0);else throw new Error(`Missing required param "${A}"`);f+=T}}return f||"/"}return{re:o,score:s,keys:i,parse:c,stringify:l}}function yu(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===ae.Static+ae.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===ae.Static+ae.Segment?1:-1:0}function no(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=yu(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(Or(s))return 1;if(Or(r))return-1}return r.length-s.length}function Or(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const bu={strict:!1,end:!0,sensitive:!1};function Eu(e,t,n){const s=vu(gu(e.path),n),r=$(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function xu(e,t){const n=[],s=new Map;t=br(bu,t);function r(h){return s.get(h)}function i(h,g,m){const A=!m,P=Tr(h);P.aliasOf=m&&m.record;const U=br(t,h),N=[P];if("alias"in h){const I=typeof h.alias=="string"?[h.alias]:h.alias;for(const Q of I)N.push(Tr($({},P,{components:m?m.record.components:P.components,path:Q,aliasOf:m?m.record:P})))}let T,L;for(const I of N){const{path:Q}=I;if(g&&Q[0]!=="/"){const oe=g.record.path,te=oe[oe.length-1]==="/"?"":"/";I.path=g.record.path+(Q&&te+Q)}if(T=Eu(I,g,U),m?m.alias.push(T):(L=L||T,L!==T&&L.alias.push(T),A&&h.name&&!Ir(T)&&o(h.name)),so(T)&&l(T),P.children){const oe=P.children;for(let te=0;te<oe.length;te++)i(oe[te],T,m&&m.children[te])}m=m||T}return L?()=>{o(L)}:tn}function o(h){if(Xi(h)){const g=s.get(h);g&&(s.delete(h),n.splice(n.indexOf(g),1),g.children.forEach(o),g.alias.forEach(o))}else{const g=n.indexOf(h);g>-1&&(n.splice(g,1),h.record.name&&s.delete(h.record.name),h.children.forEach(o),h.alias.forEach(o))}}function c(){return n}function l(h){const g=Au(h,n);n.splice(g,0,h),h.record.name&&!Ir(h)&&s.set(h.record.name,h)}function d(h,g){let m,A={},P,U;if("name"in h&&h.name){if(m=s.get(h.name),!m)throw Ut(ne.MATCHER_NOT_FOUND,{location:h});U=m.record.name,A=$(Pr(g.params,m.keys.filter(L=>!L.optional).concat(m.parent?m.parent.keys.filter(L=>L.optional):[]).map(L=>L.name)),h.params&&Pr(h.params,m.keys.map(L=>L.name))),P=m.stringify(A)}else if(h.path!=null)P=h.path,m=n.find(L=>L.re.test(P)),m&&(A=m.parse(P),U=m.record.name);else{if(m=g.name?s.get(g.name):n.find(L=>L.re.test(g.path)),!m)throw Ut(ne.MATCHER_NOT_FOUND,{location:h,currentLocation:g});U=m.record.name,A=$({},g.params,h.params),P=m.stringify(A)}const N=[];let T=m;for(;T;)N.unshift(T.record),T=T.parent;return{name:U,path:P,params:A,matched:N,meta:wu(N)}}e.forEach(h=>i(h));function f(){n.length=0,s.clear()}return{addRoute:i,resolve:d,removeRoute:o,clearRoutes:f,getRoutes:c,getRecordMatcher:r}}function Pr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Tr(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Ru(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 Ru(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 Ir(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function wu(e){return e.reduce((t,n)=>$(t,n.meta),{})}function Au(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;no(e,t[i])<0?s=i:n=i+1}const r=Su(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Su(e){let t=e;for(;t=t.parent;)if(so(t)&&no(e,t)===0)return t}function so({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Nr(e){const t=Pe(Hn),n=Pe(Bs),s=Se(()=>{const l=xt(e.to);return t.resolve(l)}),r=Se(()=>{const{matched:l}=s.value,{length:d}=l,f=l[d-1],h=n.matched;if(!f||!h.length)return-1;const g=h.findIndex(Ht.bind(null,f));if(g>-1)return g;const m=Mr(l[d-2]);return d>1&&Mr(f)===m&&h[h.length-1].path!==m?h.findIndex(Ht.bind(null,l[d-2])):g}),i=Se(()=>r.value>-1&&Iu(n.params,s.value.params)),o=Se(()=>r.value>-1&&r.value===n.matched.length-1&&Zi(n.params,s.value.params));function c(l={}){if(Tu(l)){const d=t[xt(e.replace)?"replace":"push"](xt(e.to)).catch(tn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:s,href:Se(()=>s.value.href),isActive:i,isExactActive:o,navigate:c}}function Cu(e){return e.length===1?e[0]:e}const Ou=vi({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:Nr,setup(e,{slots:t}){const n=Nn(Nr(e)),{options:s}=Pe(Hn),r=Se(()=>({[Dr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Dr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Cu(t.default(n));return e.custom?i:Ki("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Pu=Ou;function Tu(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 Iu(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(!Te(r)||r.length!==s.length||s.some((i,o)=>i.valueOf()!==r[o].valueOf()))return!1}return!0}function Mr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Dr=(e,t,n)=>e??t??n,Nu=vi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Pe(ms),r=Se(()=>e.route||s.value),i=Pe(Ar,0),o=Se(()=>{let d=xt(i);const{matched:f}=r.value;let h;for(;(h=f[d])&&!h.components;)d++;return d}),c=Se(()=>r.value.matched[o.value]);mn(Ar,Se(()=>o.value+1)),mn(lu,c),mn(ms,r);const l=he();return _n(()=>[l.value,c.value,e.name],([d,f,h],[g,m,A])=>{f&&(f.instances[h]=d,m&&m!==f&&d&&d===g&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),d&&f&&(!m||!Ht(f,m)||!g)&&(f.enterCallbacks[h]||[]).forEach(P=>P(d))},{flush:"post"}),()=>{const d=r.value,f=e.name,h=c.value,g=h&&h.components[f];if(!g)return Lr(n.default,{Component:g,route:d});const m=h.props[f],A=m?m===!0?d.params:typeof m=="function"?m(d):m:null,U=Ki(g,$({},A,t,{onVnodeUnmounted:N=>{N.component.isUnmounted&&(h.instances[f]=null)},ref:l}));return Lr(n.default,{Component:U,route:d})||U}}});function Lr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ro=Nu;function Mu(e){const t=xu(e.routes,e),n=e.parseQuery||iu,s=e.stringifyQuery||wr,r=e.history,i=$t(),o=$t(),c=$t(),l=Bo(it);let d=it;Tt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Yn.bind(null,y=>""+y),h=Yn.bind(null,Gc),g=Yn.bind(null,un);function m(y,O){let S,M;return Xi(y)?(S=t.getRecordMatcher(y),M=O):M=y,t.addRoute(M,S)}function A(y){const O=t.getRecordMatcher(y);O&&t.removeRoute(O)}function P(){return t.getRoutes().map(y=>y.record)}function U(y){return!!t.getRecordMatcher(y)}function N(y,O){if(O=$({},O||l.value),typeof y=="string"){const p=Zn(n,y,O.path),_=t.resolve({path:p.path},O),b=r.createHref(p.fullPath);return $(p,_,{params:g(_.params),hash:un(p.hash),redirectedFrom:void 0,href:b})}let S;if(y.path!=null)S=$({},y,{path:Zn(n,y.path,O.path).path});else{const p=$({},y.params);for(const _ in p)p[_]==null&&delete p[_];S=$({},y,{params:h(p)}),O.params=h(O.params)}const M=t.resolve(S,O),j=y.hash||"";M.params=f(g(M.params));const u=$c(s,$({},y,{hash:Hc(j),path:M.path})),a=r.createHref(u);return $({fullPath:u,hash:j,query:s===wr?ou(y.query):y.query||{}},M,{redirectedFrom:void 0,href:a})}function T(y){return typeof y=="string"?Zn(n,y,l.value.path):$({},y)}function L(y,O){if(d!==y)return Ut(ne.NAVIGATION_CANCELLED,{from:O,to:y})}function I(y){return te(y)}function Q(y){return I($(T(y),{replace:!0}))}function oe(y,O){const S=y.matched[y.matched.length-1];if(S&&S.redirect){const{redirect:M}=S;let j=typeof M=="function"?M(y,O):M;return typeof j=="string"&&(j=j.includes("?")||j.includes("#")?j=T(j):{path:j},j.params={}),$({query:y.query,hash:y.hash,params:j.path!=null?{}:y.params},j)}}function te(y,O){const S=d=N(y),M=l.value,j=y.state,u=y.force,a=y.replace===!0,p=oe(S,M);if(p)return te($(T(p),{state:typeof p=="object"?$({},j,p.state):j,force:u,replace:a}),O||S);const _=S;_.redirectedFrom=O;let b;return!u&&kc(s,M,S)&&(b=Ut(ne.NAVIGATION_DUPLICATED,{to:_,from:M}),De(M,M,!0,!1)),(b?Promise.resolve(b):Ne(_,M)).catch(v=>qe(v)?qe(v,ne.NAVIGATION_GUARD_REDIRECT)?v:rt(v):W(v,_,M)).then(v=>{if(v){if(qe(v,ne.NAVIGATION_GUARD_REDIRECT))return te($({replace:a},T(v.to),{state:typeof v.to=="object"?$({},j,v.to.state):j,force:u}),O||_)}else v=gt(_,M,!0,a,j);return st(_,M,v),v})}function Ie(y,O){const S=L(y,O);return S?Promise.reject(S):Promise.resolve()}function nt(y){const O=St.values().next().value;return O&&typeof O.runWithContext=="function"?O.runWithContext(y):y()}function Ne(y,O){let S;const[M,j,u]=cu(y,O);S=es(M.reverse(),"beforeRouteLeave",y,O);for(const p of M)p.leaveGuards.forEach(_=>{S.push(ut(_,y,O))});const a=Ie.bind(null,y,O);return S.push(a),Re(S).then(()=>{S=[];for(const p of i.list())S.push(ut(p,y,O));return S.push(a),Re(S)}).then(()=>{S=es(j,"beforeRouteUpdate",y,O);for(const p of j)p.updateGuards.forEach(_=>{S.push(ut(_,y,O))});return S.push(a),Re(S)}).then(()=>{S=[];for(const p of u)if(p.beforeEnter)if(Te(p.beforeEnter))for(const _ of p.beforeEnter)S.push(ut(_,y,O));else S.push(ut(p.beforeEnter,y,O));return S.push(a),Re(S)}).then(()=>(y.matched.forEach(p=>p.enterCallbacks={}),S=es(u,"beforeRouteEnter",y,O,nt),S.push(a),Re(S))).then(()=>{S=[];for(const p of o.list())S.push(ut(p,y,O));return S.push(a),Re(S)}).catch(p=>qe(p,ne.NAVIGATION_CANCELLED)?p:Promise.reject(p))}function st(y,O,S){c.list().forEach(M=>nt(()=>M(y,O,S)))}function gt(y,O,S,M,j){const u=L(y,O);if(u)return u;const a=O===it,p=Tt?history.state:{};S&&(M||a?r.replace(y.fullPath,$({scroll:a&&p&&p.scroll},j)):r.push(y.fullPath,j)),l.value=y,De(y,O,S,a),rt()}let Me;function jt(){Me||(Me=r.listen((y,O,S)=>{if(!mt.listening)return;const M=N(y),j=oe(M,mt.currentRoute.value);if(j){te($(j,{replace:!0,force:!0}),M).catch(tn);return}d=M;const u=l.value;Tt&&eu(Rr(u.fullPath,S.delta),Bn()),Ne(M,u).catch(a=>qe(a,ne.NAVIGATION_ABORTED|ne.NAVIGATION_CANCELLED)?a:qe(a,ne.NAVIGATION_GUARD_REDIRECT)?(te($(T(a.to),{force:!0}),M).then(p=>{qe(p,ne.NAVIGATION_ABORTED|ne.NAVIGATION_DUPLICATED)&&!S.delta&&S.type===ps.pop&&r.go(-1,!1)}).catch(tn),Promise.reject()):(S.delta&&r.go(-S.delta,!1),W(a,M,u))).then(a=>{a=a||gt(M,u,!1),a&&(S.delta&&!qe(a,ne.NAVIGATION_CANCELLED)?r.go(-S.delta,!1):S.type===ps.pop&&qe(a,ne.NAVIGATION_ABORTED|ne.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),st(M,u,a)}).catch(tn)}))}let wt=$t(),ie=$t(),z;function W(y,O,S){rt(y);const M=ie.list();return M.length?M.forEach(j=>j(y,O,S)):console.error(y),Promise.reject(y)}function $e(){return z&&l.value!==it?Promise.resolve():new Promise((y,O)=>{wt.add([y,O])})}function rt(y){return z||(z=!y,jt(),wt.list().forEach(([O,S])=>y?S(y):O()),wt.reset()),y}function De(y,O,S,M){const{scrollBehavior:j}=e;if(!Tt||!j)return Promise.resolve();const u=!S&&tu(Rr(y.fullPath,0))||(M||!S)&&history.state&&history.state.scroll||null;return ai().then(()=>j(y,O,u)).then(a=>a&&Xc(a)).catch(a=>W(a,y,O))}const ge=y=>r.go(y);let At;const St=new Set,mt={currentRoute:l,listening:!0,addRoute:m,removeRoute:A,clearRoutes:t.clearRoutes,hasRoute:U,getRoutes:P,resolve:N,options:e,push:I,replace:Q,go:ge,back:()=>ge(-1),forward:()=>ge(1),beforeEach:i.add,beforeResolve:o.add,afterEach:c.add,onError:ie.add,isReady:$e,install(y){y.component("RouterLink",Pu),y.component("RouterView",ro),y.config.globalProperties.$router=mt,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>xt(l)}),Tt&&!At&&l.value===it&&(At=!0,I(r.location).catch(M=>{}));const O={};for(const M in it)Object.defineProperty(O,M,{get:()=>l.value[M],enumerable:!0});y.provide(Hn,mt),y.provide(Bs,li(O)),y.provide(ms,l);const S=y.unmount;St.add(y),y.unmount=function(){St.delete(y),St.size<1&&(d=it,Me&&Me(),Me=null,l.value=it,At=!1,z=!1),S()}}};function Re(y){return y.reduce((O,S)=>O.then(()=>nt(S)),Promise.resolve())}return mt}function Hs(){return Pe(Hn)}function Du(e){return Pe(Bs)}const Lu={id:"app"},Fu={__name:"App",setup(e){return(t,n)=>(Ae(),Ge("div",Lu,[ye(xt(ro))]))}},Us=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Vu={class:"login-container"},Bu={class:"login-card"},Hu={key:0,class:"error"},Uu={class:"auth-buttons"},ju=["disabled"],Gu=["disabled"],Ku={__name:"LoginView",setup(e){const t=Hs(),n=he(""),s=he(""),r=he(""),i=he(!1),o=he(!1);async function c(){i.value=!0,r.value="";try{const d=await fetch("/api/method/login",{method:"POST",credentials:"include",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({usr:n.value,pwd:s.value})});if(!d.ok){const f=await d.json();throw new Error(f.message||"账号或密码错误")}window.location.href="http://172.25.162.172:8000/app"}catch(d){r.value=d.message}finally{i.value=!1}}function l(){t.push("/register")}return(d,f)=>(Ae(),Ge("div",Vu,[f[4]||(f[4]=K("div",{class:"bg-pattern"},null,-1)),K("div",Bu,[f[2]||(f[2]=K("div",{class:"logo"},[K("span",{class:"brand"},"决裂者终端")],-1)),K("form",{onSubmit:$i(c,["prevent"])},[Ft(K("input",{"onUpdate:modelValue":f[0]||(f[0]=h=>n.value=h),type:"text",placeholder:"请输入账号",required:"",class:"input-field"},null,512),[[Bt,n.value]]),Ft(K("input",{"onUpdate:modelValue":f[1]||(f[1]=h=>s.value=h),type:"password",placeholder:"请输入密码",required:"",class:"input-field"},null,512),[[Bt,s.value]]),r.value?(Ae(),Ge("div",Hu,Ye(r.value),1)):en("",!0),K("div",Uu,[K("button",{type:"submit",disabled:i.value,class:"login-btn"},Ye(i.value?"正在登录. . .":"登录"),9,ju),K("button",{type:"button",onClick:l,disabled:o.value,class:"register-btn"},Ye(o.value?"注册中...":"注册"),9,Gu)])],32),f[3]||(f[3]=K("p",{class:"footer"},"© 2026 Sunderer games. ",-1))])]))}},ts=Us(Ku,[["__scopeId","data-v-6eda41c4"]]),Wu={class:"register-view"},$u={class:"container"},ku={key:0,class:"step-email"},qu=["disabled"],Ju={key:0,class:"error-msg"},zu={key:1,class:"step-verify"},Qu={key:0,class:"error-msg"},Yu={__name:"RegisterView",setup(e){const t=Hs(),n=he(""),s=he(""),r=he("email"),i=he(""),o=he(!1),c=h=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(h),l=async()=>{if(!c(n.value)){i.value="请输入有效的邮箱地址!";return}o.value=!0,i.value="";try{const g=await(await fetch("/api/method/sunderer_app.api.verification.send_signup_code",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:n.value})})).json();g.exc?i.value=g.exc:(r.value="verify",console.log("验证码发送成功"))}catch(h){i.value="网络错误,请稍后再试",console.error(h)}finally{o.value=!1}},d=async()=>{if(console.log("DEBUG: verifyAndSignup function called"),console.log("点击完成注册"),console.log("email:",n.value),console.log("code:",s.value),s.value.length!==6){i.value="请输入6位验证码!",console.log("DEBUG: Code length check failed");return}console.log("DEBUG: Code length check passed");try{const g=await(await fetch("/api/method/sunderer_app.api.verification.verify_signup_code",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:n.value,code:s.value})})).json();if(console.log("DEBUG: Verify API Response:",g),g.exc){i.value=g.exc,console.log("DEBUG: Verify API returned error:",g.exc);return}console.log("DEBUG: Verify API succeeded, proceeding to trigger email...");const A=await(await fetch("/api/method/sunderer_app.api.custom_user_signup.trigger_account_setup_email",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:n.value})})).json();if(console.log("DEBUG: Trigger Email API Response:",A),A.exc){i.value=A.exc,console.log("DEBUG: Trigger Email API returned error:",A.exc);return}alert("验证成功!请查收邮箱中的注册链接,点击链接完成账户设置。"),console.log("Verification successful, email sent with link."),n.value="",s.value="",r.value="email",i.value=""}catch(h){i.value="网络异常,请稍后再试",console.error("注册异常:",h)}},f=()=>{t.push("/login")};return(h,g)=>(Ae(),Ge("div",Wu,[K("div",$u,[g[2]||(g[2]=K("h2",null,"用户注册",-1)),r.value==="email"?(Ae(),Ge("div",ku,[Ft(K("input",{"onUpdate:modelValue":g[0]||(g[0]=m=>n.value=m),type:"email",placeholder:"请输入邮箱地址",class:"input-field"},null,512),[[Bt,n.value]]),K("button",{onClick:l,disabled:o.value,class:"btn-primary"},Ye(o.value?"发送中...":"发送验证码"),9,qu),i.value?(Ae(),Ge("p",Ju,Ye(i.value),1)):en("",!0)])):r.value==="verify"?(Ae(),Ge("div",zu,[Ft(K("input",{"onUpdate:modelValue":g[1]||(g[1]=m=>s.value=m),type:"text",placeholder:"请输入6位验证码",maxlength:"6",class:"input-field"},null,512),[[Bt,s.value]]),K("button",{onClick:d,class:"btn-primary"}," 完成注册 "),i.value?(Ae(),Ge("p",Qu,Ye(i.value),1)):en("",!0)])):en("",!0),K("div",{class:"back-to-login"},[K("button",{onClick:f,class:"btn-secondary"}," ← 返回登录 ")])])]))}},Zu=Us(Yu,[["__scopeId","data-v-14690773"]]),Xu={class:"password-setup-container"},ef={class:"setup-card"},tf={class:"input-group"},nf={class:"input-group"},sf={key:0,class:"error"},rf=["disabled"],of={__name:"CustomPasswordSetup",setup(e){const t=Hs(),n=Du(),s=he(""),r=he(""),i=he(""),o=he(!1),c=async()=>{if(s.value!==r.value){i.value="两次输入的密码不一致";return}if(s.value.length<6){i.value="密码长度至少为6位";return}o.value=!0,i.value="";try{const l=n.query.key;if(!l){i.value="无效的密码重置链接";return}const f=await(await fetch("http://172.25.162.172:8000/api/method/frappe.core.doctype.user.user.update_password",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({key:l,new_password:s.value})})).json();f.exc?i.value=f.exc||"设置密码失败":(alert("密码设置成功!"),t.push("/login"))}catch(l){i.value="网络错误,请稍后再试",console.error(l)}finally{o.value=!1}};return(l,d)=>(Ae(),Ge("div",Xu,[K("div",ef,[d[4]||(d[4]=K("h2",null,"设置密码",-1)),K("form",{onSubmit:$i(c,["prevent"])},[K("div",tf,[d[2]||(d[2]=K("label",null,"新密码",-1)),Ft(K("input",{"onUpdate:modelValue":d[0]||(d[0]=f=>s.value=f),type:"password",placeholder:"请输入新密码",class:"input-field",required:""},null,512),[[Bt,s.value]])]),K("div",nf,[d[3]||(d[3]=K("label",null,"确认密码",-1)),Ft(K("input",{"onUpdate:modelValue":d[1]||(d[1]=f=>r.value=f),type:"password",placeholder:"请再次输入密码",class:"input-field",required:""},null,512),[[Bt,r.value]])]),i.value?(Ae(),Ge("div",sf,Ye(i.value),1)):en("",!0),K("button",{type:"submit",disabled:o.value,class:"btn-primary"},Ye(o.value?"设置中...":"设置密码"),9,rf)],32)])]))}},Fr=Us(of,[["__scopeId","data-v-378de9a4"]]),lf=[{path:"/",name:"Home",component:ts},{path:"/login",name:"Login",component:ts},{path:"/register",name:"Register",component:Zu},{path:"/update-password",name:"CustomPasswordSetup",component:Fr},{path:"/custom-update-password",name:"CustomPasswordSetupAlt",component:Fr},{path:"/:pathMatch(.*)*",name:"NotFound",component:ts}],cf=Mu({history:du(),routes:lf}),io=Sc(Fu);io.use(cf);io.mount("#app");
|