24 lines
118 KiB
JavaScript
24 lines
118 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.17
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function ds(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Q={},Dt=[],Le=()=>{},Wl=()=>!1,Cn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),mr=e=>e.startsWith("onUpdate:"),se=Object.assign,_r=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ql=Object.prototype.hasOwnProperty,z=(e,t)=>ql.call(e,t),$=Array.isArray,Ht=e=>Gt(e)==="[object Map]",Ot=e=>Gt(e)==="[object Set]",Xr=e=>Gt(e)==="[object Date]",Gl=e=>Gt(e)==="[object RegExp]",W=e=>typeof e=="function",le=e=>typeof e=="string",Ue=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",yr=e=>(ne(e)||W(e))&&W(e.then)&&W(e.catch),Hi=Object.prototype.toString,Gt=e=>Hi.call(e),Yl=e=>Gt(e).slice(8,-1),hs=e=>Gt(e)==="[object Object]",br=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$t=ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ps=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Jl=/-(\w)/g,_e=ps(e=>e.replace(Jl,(t,n)=>n?n.toUpperCase():"")),Ql=/\B([A-Z])/g,Ae=ps(e=>e.replace(Ql,"-$1").toLowerCase()),En=ps(e=>e.charAt(0).toUpperCase()+e.slice(1)),sn=ps(e=>e?`on${En(e)}`:""),Ee=(e,t)=>!Object.is(e,t),kt=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ys=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Jn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Qn=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let Zr;const gs=()=>Zr||(Zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Xl="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",Zl=ds(Xl);function wn(e){if($(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=le(s)?nc(s):wn(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(le(e)||ne(e))return e}const zl=/;(?![^(]*\))/g,ec=/:([^]+)/,tc=/\/\*[^]*?\*\//g;function nc(e){const t={};return e.replace(tc,"").split(zl).forEach(n=>{if(n){const s=n.split(ec);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function At(e){let t="";if(le(e))t=e;else if($(e))for(let n=0;n<e.length;n++){const s=At(e[n]);s&&(t+=s+" ")}else if(ne(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function sc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!le(t)&&(e.class=At(t)),n&&(e.style=wn(n)),e}const rc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ic=ds(rc);function $i(e){return!!e||e===""}function oc(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=mt(e[s],t[s]);return n}function mt(e,t){if(e===t)return!0;let n=Xr(e),s=Xr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Ue(e),s=Ue(t),n||s)return e===t;if(n=$(e),s=$(t),n||s)return n&&s?oc(e,t):!1;if(n=ne(e),s=ne(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!mt(e[o],t[o]))return!1}}return String(e)===String(t)}function ms(e,t){return e.findIndex(n=>mt(n,t))}const ki=e=>!!(e&&e.__v_isRef===!0),dn=e=>le(e)?e:e==null?"":$(e)||ne(e)&&(e.toString===Hi||!W(e.toString))?ki(e)?dn(e.value):JSON.stringify(e,Bi,2):String(e),Bi=(e,t)=>ki(t)?Bi(e,t.value):Ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Ds(s,i)+" =>"]=r,n),{})}:Ot(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ds(n))}:Ue(t)?Ds(t):ne(t)&&!$(t)&&!hs(t)?String(t):t,Ds=(e,t="")=>{var n;return Ue(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.5.17
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let be;class vr{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=be,!t&&be&&(this.index=(be.scopes||(be.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=be;try{return be=this,t()}finally{be=n}}}on(){++this._on===1&&(this.prevScope=be,be=this)}off(){this._on>0&&--this._on===0&&(be=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 lc(e){return new vr(e)}function Vi(){return be}function cc(e,t=!1){be&&be.cleanups.push(e)}let oe;const Hs=new WeakSet;class hn{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,be&&be.active&&be.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Hs.has(this)&&(Hs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ui(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,zr(this),Ki(this);const t=oe,n=je;oe=this,je=!0;try{return this.fn()}finally{Wi(this),oe=t,je=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Er(t);this.deps=this.depsTail=void 0,zr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Hs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Js(this)&&this.run()}get dirty(){return Js(this)}}let ji=0,rn,on;function Ui(e,t=!1){if(e.flags|=8,t){e.next=on,on=e;return}e.next=rn,rn=e}function Tr(){ji++}function Cr(){if(--ji>0)return;if(on){let t=on;for(on=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;rn;){let t=rn;for(rn=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 Ki(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Wi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Er(s),ac(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Js(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(qi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function qi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===pn)||(e.globalVersion=pn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Js(e))))return;e.flags|=2;const t=e.dep,n=oe,s=je;oe=e,je=!0;try{Ki(e);const r=e.fn(e._value);(t.version===0||Ee(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{oe=n,je=s,Wi(e),e.flags&=-3}}function Er(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)Er(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ac(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function fc(e,t){e.effect instanceof hn&&(e=e.effect.fn);const n=new hn(e);t&&se(n,t);try{n.run()}catch(r){throw n.stop(),r}const s=n.run.bind(n);return s.effect=n,s}function uc(e){e.effect.stop()}let je=!0;const Gi=[];function tt(){Gi.push(je),je=!1}function nt(){const e=Gi.pop();je=e===void 0?!0:e}function zr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=oe;oe=void 0;try{t()}finally{oe=n}}}let pn=0;class dc{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 _s{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(!oe||!je||oe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==oe)n=this.activeLink=new dc(oe,this),oe.deps?(n.prevDep=oe.depsTail,oe.depsTail.nextDep=n,oe.depsTail=n):oe.deps=oe.depsTail=n,Yi(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=oe.depsTail,n.nextDep=void 0,oe.depsTail.nextDep=n,oe.depsTail=n,oe.deps===n&&(oe.deps=s)}return n}trigger(t){this.version++,pn++,this.notify(t)}notify(t){Tr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Cr()}}}function Yi(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)Yi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Xn=new WeakMap,Tt=Symbol(""),Qs=Symbol(""),gn=Symbol("");function ve(e,t,n){if(je&&oe){let s=Xn.get(e);s||Xn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new _s),r.map=s,r.key=n),r.track()}}function Ze(e,t,n,s,r,i){const o=Xn.get(e);if(!o){pn++;return}const l=c=>{c&&c.trigger()};if(Tr(),t==="clear")o.forEach(l);else{const c=$(e),u=c&&br(n);if(c&&n==="length"){const a=Number(s);o.forEach((d,_)=>{(_==="length"||_===gn||!Ue(_)&&_>=a)&&l(d)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(gn)),t){case"add":c?u&&l(o.get("length")):(l(o.get(Tt)),Ht(e)&&l(o.get(Qs)));break;case"delete":c||(l(o.get(Tt)),Ht(e)&&l(o.get(Qs)));break;case"set":Ht(e)&&l(o.get(Tt));break}}Cr()}function hc(e,t){const n=Xn.get(e);return n&&n.get(t)}function Rt(e){const t=Z(e);return t===e?t:(ve(t,"iterate",gn),Ne(e)?t:t.map(ge))}function ys(e){return ve(e=Z(e),"iterate",gn),e}const pc={__proto__:null,[Symbol.iterator](){return $s(this,Symbol.iterator,ge)},concat(...e){return Rt(this).concat(...e.map(t=>$(t)?Rt(t):t))},entries(){return $s(this,"entries",e=>(e[1]=ge(e[1]),e))},every(e,t){return Qe(this,"every",e,t,void 0,arguments)},filter(e,t){return Qe(this,"filter",e,t,n=>n.map(ge),arguments)},find(e,t){return Qe(this,"find",e,t,ge,arguments)},findIndex(e,t){return Qe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Qe(this,"findLast",e,t,ge,arguments)},findLastIndex(e,t){return Qe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Qe(this,"forEach",e,t,void 0,arguments)},includes(...e){return ks(this,"includes",e)},indexOf(...e){return ks(this,"indexOf",e)},join(e){return Rt(this).join(e)},lastIndexOf(...e){return ks(this,"lastIndexOf",e)},map(e,t){return Qe(this,"map",e,t,void 0,arguments)},pop(){return Zt(this,"pop")},push(...e){return Zt(this,"push",e)},reduce(e,...t){return ei(this,"reduce",e,t)},reduceRight(e,...t){return ei(this,"reduceRight",e,t)},shift(){return Zt(this,"shift")},some(e,t){return Qe(this,"some",e,t,void 0,arguments)},splice(...e){return Zt(this,"splice",e)},toReversed(){return Rt(this).toReversed()},toSorted(e){return Rt(this).toSorted(e)},toSpliced(...e){return Rt(this).toSpliced(...e)},unshift(...e){return Zt(this,"unshift",e)},values(){return $s(this,"values",ge)}};function $s(e,t,n){const s=ys(e),r=s[t]();return s!==e&&!Ne(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const gc=Array.prototype;function Qe(e,t,n,s,r,i){const o=ys(e),l=o!==e&&!Ne(e),c=o[t];if(c!==gc[t]){const d=c.apply(e,i);return l?ge(d):d}let u=n;o!==e&&(l?u=function(d,_){return n.call(this,ge(d),_,e)}:n.length>2&&(u=function(d,_){return n.call(this,d,_,e)}));const a=c.call(o,u,s);return l&&r?r(a):a}function ei(e,t,n,s){const r=ys(e);let i=n;return r!==e&&(Ne(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ge(l),c,e)}),r[t](i,...s)}function ks(e,t,n){const s=Z(e);ve(s,"iterate",gn);const r=s[t](...n);return(r===-1||r===!1)&&Cs(n[0])?(n[0]=Z(n[0]),s[t](...n)):r}function Zt(e,t,n=[]){tt(),Tr();const s=Z(e)[t].apply(e,n);return Cr(),nt(),s}const mc=ds("__proto__,__v_isRef,__isVue"),Ji=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ue));function _c(e){Ue(e)||(e=String(e));const t=Z(this);return ve(t,"has",e),t.hasOwnProperty(e)}class Qi{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?no:to:i?eo:zi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=$(t);if(!r){let c;if(o&&(c=pc[n]))return c;if(n==="hasOwnProperty")return _c}const l=Reflect.get(t,n,pe(t)?t:s);return(Ue(n)?Ji.has(n):mc(n))||(r||ve(t,"get",n),i)?l:pe(l)?o&&br(n)?l:l.value:ne(l)?r?wr(l):vs(l):l}}class Xi extends Qi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=st(i);if(!Ne(s)&&!st(s)&&(i=Z(i),s=Z(s)),!$(t)&&pe(i)&&!pe(s))return c?!1:(i.value=s,!0)}const o=$(t)&&br(n)?Number(n)<t.length:z(t,n),l=Reflect.set(t,n,s,pe(t)?t:r);return t===Z(r)&&(o?Ee(s,i)&&Ze(t,"set",n,s):Ze(t,"add",n,s)),l}deleteProperty(t,n){const s=z(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(!Ue(n)||!Ji.has(n))&&ve(t,"has",n),s}ownKeys(t){return ve(t,"iterate",$(t)?"length":Tt),Reflect.ownKeys(t)}}class Zi extends Qi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const yc=new Xi,bc=new Zi,vc=new Xi(!0),Tc=new Zi(!0),Xs=e=>e,Nn=e=>Reflect.getPrototypeOf(e);function Cc(e,t,n){return function(...s){const r=this.__v_raw,i=Z(r),o=Ht(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),a=n?Xs:t?Zn:ge;return!t&&ve(i,"iterate",c?Qs:Tt),{next(){const{value:d,done:_}=u.next();return _?{value:d,done:_}:{value:l?[a(d[0]),a(d[1])]:a(d),done:_}},[Symbol.iterator](){return this}}}}function In(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ec(e,t){const n={get(r){const i=this.__v_raw,o=Z(i),l=Z(r);e||(Ee(r,l)&&ve(o,"get",r),ve(o,"get",l));const{has:c}=Nn(o),u=t?Xs:e?Zn:ge;if(c.call(o,r))return u(i.get(r));if(c.call(o,l))return u(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ve(Z(r),"iterate",Tt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=Z(i),l=Z(r);return e||(Ee(r,l)&&ve(o,"has",r),ve(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=Z(l),u=t?Xs:e?Zn:ge;return!e&&ve(c,"iterate",Tt),l.forEach((a,d)=>r.call(i,u(a),u(d),o))}};return se(n,e?{add:In("add"),set:In("set"),delete:In("delete"),clear:In("clear")}:{add(r){!t&&!Ne(r)&&!st(r)&&(r=Z(r));const i=Z(this);return Nn(i).has.call(i,r)||(i.add(r),Ze(i,"add",r,r)),this},set(r,i){!t&&!Ne(i)&&!st(i)&&(i=Z(i));const o=Z(this),{has:l,get:c}=Nn(o);let u=l.call(o,r);u||(r=Z(r),u=l.call(o,r));const a=c.call(o,r);return o.set(r,i),u?Ee(i,a)&&Ze(o,"set",r,i):Ze(o,"add",r,i),this},delete(r){const i=Z(this),{has:o,get:l}=Nn(i);let c=o.call(i,r);c||(r=Z(r),c=o.call(i,r)),l&&l.call(i,r);const u=i.delete(r);return c&&Ze(i,"delete",r,void 0),u},clear(){const r=Z(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]=Cc(r,e,t)}),n}function bs(e,t){const n=Ec(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const wc={get:bs(!1,!1)},xc={get:bs(!1,!0)},Sc={get:bs(!0,!1)},Oc={get:bs(!0,!0)},zi=new WeakMap,eo=new WeakMap,to=new WeakMap,no=new WeakMap;function Ac(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pc(e){return e.__v_skip||!Object.isExtensible(e)?0:Ac(Yl(e))}function vs(e){return st(e)?e:Ts(e,!1,yc,wc,zi)}function so(e){return Ts(e,!1,vc,xc,eo)}function wr(e){return Ts(e,!0,bc,Sc,to)}function Mc(e){return Ts(e,!0,Tc,Oc,no)}function Ts(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Pc(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function ht(e){return st(e)?ht(e.__v_raw):!!(e&&e.__v_isReactive)}function st(e){return!!(e&&e.__v_isReadonly)}function Ne(e){return!!(e&&e.__v_isShallow)}function Cs(e){return e?!!e.__v_raw:!1}function Z(e){const t=e&&e.__v_raw;return t?Z(t):e}function ro(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&Ys(e,"__v_skip",!0),e}const ge=e=>ne(e)?vs(e):e,Zn=e=>ne(e)?wr(e):e;function pe(e){return e?e.__v_isRef===!0:!1}function Ve(e){return oo(e,!1)}function io(e){return oo(e,!0)}function oo(e,t){return pe(e)?e:new Rc(e,t)}class Rc{constructor(t,n){this.dep=new _s,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Z(t),this._value=n?t:ge(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ne(t)||st(t);t=s?t:Z(t),Ee(t,n)&&(this._rawValue=t,this._value=s?t:ge(t),this.dep.trigger())}}function Nc(e){e.dep&&e.dep.trigger()}function Es(e){return pe(e)?e.value:e}function Ic(e){return W(e)?e():Es(e)}const Lc={get:(e,t,n)=>t==="__v_raw"?e:Es(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return pe(r)&&!pe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function xr(e){return ht(e)?e:new Proxy(e,Lc)}class Fc{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new _s,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function lo(e){return new Fc(e)}function Dc(e){const t=$(e)?new Array(e.length):{};for(const n in e)t[n]=co(e,n);return t}class Hc{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return hc(Z(this._object),this._key)}}class $c{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function kc(e,t,n){return pe(e)?e:W(e)?new $c(e):ne(e)&&arguments.length>1?co(e,t,n):Ve(e)}function co(e,t,n){const s=e[t];return pe(s)?s:new Hc(e,t,n)}class Bc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new _s(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=pn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&oe!==this)return Ui(this,!0),!0}get value(){const t=this.dep.track();return qi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Vc(e,t,n=!1){let s,r;return W(e)?s=e:(s=e.get,r=e.set),new Bc(s,r,n)}const jc={GET:"get",HAS:"has",ITERATE:"iterate"},Uc={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Ln={},zn=new WeakMap;let at;function Kc(){return at}function ao(e,t=!1,n=at){if(n){let s=zn.get(n);s||zn.set(n,s=[]),s.push(e)}}function Wc(e,t,n=Q){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,u=g=>r?g:Ne(g)||r===!1||r===0?ze(g,1):ze(g);let a,d,_,y,w=!1,E=!1;if(pe(e)?(d=()=>e.value,w=Ne(e)):ht(e)?(d=()=>u(e),w=!0):$(e)?(E=!0,w=e.some(g=>ht(g)||Ne(g)),d=()=>e.map(g=>{if(pe(g))return g.value;if(ht(g))return u(g);if(W(g))return c?c(g,2):g()})):W(e)?t?d=c?()=>c(e,2):e:d=()=>{if(_){tt();try{_()}finally{nt()}}const g=at;at=a;try{return c?c(e,3,[y]):e(y)}finally{at=g}}:d=Le,t&&r){const g=d,T=r===!0?1/0:r;d=()=>ze(g(),T)}const q=Vi(),k=()=>{a.stop(),q&&q.active&&_r(q.effects,a)};if(i&&t){const g=t;t=(...T)=>{g(...T),k()}}let R=E?new Array(e.length).fill(Ln):Ln;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const T=a.run();if(r||w||(E?T.some((M,H)=>Ee(M,R[H])):Ee(T,R))){_&&_();const M=at;at=a;try{const H=[T,R===Ln?void 0:E&&R[0]===Ln?[]:R,y];R=T,c?c(t,3,H):t(...H)}finally{at=M}}}else a.run()};return l&&l(p),a=new hn(d),a.scheduler=o?()=>o(p,!1):p,y=g=>ao(g,!1,a),_=a.onStop=()=>{const g=zn.get(a);if(g){if(c)c(g,4);else for(const T of g)T();zn.delete(a)}},t?s?p(!0):R=a.run():o?o(p.bind(null,!0),!0):a.run(),k.pause=a.pause.bind(a),k.resume=a.resume.bind(a),k.stop=k,k}function ze(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,pe(e))ze(e.value,t,n);else if($(e))for(let s=0;s<e.length;s++)ze(e[s],t,n);else if(Ot(e)||Ht(e))e.forEach(s=>{ze(s,t,n)});else if(hs(e)){for(const s in e)ze(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ze(e[s],t,n)}return e}/**
|
||
* @vue/runtime-core v3.5.17
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const fo=[];function qc(e){fo.push(e)}function Gc(){fo.pop()}function Yc(e,t){}const Jc={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},Qc={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Yt(e,t,n,s){try{return s?e(...s):e()}catch(r){Pt(r,t,n)}}function He(e,t,n,s){if(W(e)){const r=Yt(e,t,n,s);return r&&yr(r)&&r.catch(i=>{Pt(i,t,n)}),r}if($(e)){const r=[];for(let i=0;i<e.length;i++)r.push(He(e[i],t,n,s));return r}}function Pt(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Q;if(t){let l=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,c,u)===!1)return}l=l.parent}if(i){tt(),Yt(i,null,10,[e,c,u]),nt();return}}Xc(e,n,r,s,o)}function Xc(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const we=[];let Ge=-1;const Bt=[];let ft=null,It=0;const uo=Promise.resolve();let es=null;function xn(e){const t=es||uo;return e?t.then(this?e.bind(this):e):t}function Zc(e){let t=Ge+1,n=we.length;for(;t<n;){const s=t+n>>>1,r=we[s],i=_n(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Sr(e){if(!(e.flags&1)){const t=_n(e),n=we[we.length-1];!n||!(e.flags&2)&&t>=_n(n)?we.push(e):we.splice(Zc(t),0,e),e.flags|=1,ho()}}function ho(){es||(es=uo.then(po))}function mn(e){$(e)?Bt.push(...e):ft&&e.id===-1?ft.splice(It+1,0,e):e.flags&1||(Bt.push(e),e.flags|=1),ho()}function ti(e,t,n=Ge+1){for(;n<we.length;n++){const s=we[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;we.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function ts(e){if(Bt.length){const t=[...new Set(Bt)].sort((n,s)=>_n(n)-_n(s));if(Bt.length=0,ft){ft.push(...t);return}for(ft=t,It=0;It<ft.length;It++){const n=ft[It];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ft=null,It=0}}const _n=e=>e.id==null?e.flags&2?-1:1/0:e.id;function po(e){try{for(Ge=0;Ge<we.length;Ge++){const t=we[Ge];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Yt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ge<we.length;Ge++){const t=we[Ge];t&&(t.flags&=-2)}Ge=-1,we.length=0,ts(),es=null,(we.length||Bt.length)&&po()}}let Lt,Fn=[];function go(e,t){var n,s;Lt=e,Lt?(Lt.enabled=!0,Fn.forEach(({event:r,args:i})=>Lt.emit(r,...i)),Fn=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{go(i,t)}),setTimeout(()=>{Lt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Fn=[])},3e3)):Fn=[]}let he=null,ws=null;function yn(e){const t=he;return he=e,ws=e&&e.type.__scopeId||null,t}function zc(e){ws=e}function ea(){ws=null}const ta=e=>Or;function Or(e,t=he,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ir(-1);const i=yn(t);let o;try{o=e(...r)}finally{yn(i),s._d&&ir(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Ar(e,t){if(he===null)return e;const n=An(he),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=Q]=t[r];i&&(W(i)&&(i={mounted:i,updated:i}),i.deep&&ze(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function Ye(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(tt(),He(c,n,8,[e.el,l,e,t]),nt())}}const mo=Symbol("_vte"),_o=e=>e.__isTeleport,ln=e=>e&&(e.disabled||e.disabled===""),ni=e=>e&&(e.defer||e.defer===""),si=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ri=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Zs=(e,t)=>{const n=e&&e.to;return le(n)?t?t(n):null:n},yo={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,u){const{mc:a,pc:d,pbc:_,o:{insert:y,querySelector:w,createText:E,createComment:q}}=u,k=ln(t.props);let{shapeFlag:R,children:p,dynamicChildren:g}=t;if(e==null){const T=t.el=E(""),M=t.anchor=E("");y(T,n,s),y(M,n,s);const H=(m,b)=>{R&16&&(r&&r.isCE&&(r.ce._teleportTarget=m),a(p,m,b,r,i,o,l,c))},C=()=>{const m=t.target=Zs(t.props,w),b=bo(m,t,E,y);m&&(o!=="svg"&&si(m)?o="svg":o!=="mathml"&&ri(m)&&(o="mathml"),k||(H(m,b),Kn(t,!1)))};k&&(H(n,M),Kn(t,!0)),ni(t.props)?(t.el.__isMounted=!1,ue(()=>{C(),delete t.el.__isMounted},i)):C()}else{if(ni(t.props)&&e.el.__isMounted===!1){ue(()=>{yo.process(e,t,n,s,r,i,o,l,c,u)},i);return}t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,M=t.target=e.target,H=t.targetAnchor=e.targetAnchor,C=ln(e.props),m=C?n:M,b=C?T:H;if(o==="svg"||si(M)?o="svg":(o==="mathml"||ri(M))&&(o="mathml"),g?(_(e.dynamicChildren,g,m,r,i,o,l),Vr(e,t,!0)):c||d(e,t,m,b,r,i,o,l,!1),k)C?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Dn(t,n,T,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const L=t.target=Zs(t.props,w);L&&Dn(t,L,null,u,0)}else C&&Dn(t,M,H,u,1);Kn(t,k)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:u,targetAnchor:a,target:d,props:_}=e;if(d&&(r(u),r(a)),i&&r(c),o&16){const y=i||!ln(_);for(let w=0;w<l.length;w++){const E=l[w];s(E,t,n,y,!!E.dynamicChildren)}}},move:Dn,hydrate:na};function Dn(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:u,props:a}=e,d=i===2;if(d&&s(o,t,n),(!d||ln(a))&&c&16)for(let _=0;_<u.length;_++)r(u[_],t,n,2);d&&s(l,t,n)}function na(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:u,createText:a}},d){const _=t.target=Zs(t.props,c);if(_){const y=ln(t.props),w=_._lpa||_.firstChild;if(t.shapeFlag&16)if(y)t.anchor=d(o(e),t,l(e),n,s,r,i),t.targetStart=w,t.targetAnchor=w&&o(w);else{t.anchor=o(e);let E=w;for(;E;){if(E&&E.nodeType===8){if(E.data==="teleport start anchor")t.targetStart=E;else if(E.data==="teleport anchor"){t.targetAnchor=E,_._lpa=t.targetAnchor&&o(t.targetAnchor);break}}E=o(E)}t.targetAnchor||bo(_,t,a,u),d(w&&o(w),t,_,n,s,r,i)}Kn(t,y)}return t.anchor&&o(t.anchor)}const sa=yo;function Kn(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function bo(e,t,n,s){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[mo]=i,e&&(s(r,e),s(i,e)),i}const ut=Symbol("_leaveCb"),Hn=Symbol("_enterCb");function Pr(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Jt(()=>{e.isMounted=!0}),As(()=>{e.isUnmounting=!0}),e}const Ie=[Function,Array],Mr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ie,onEnter:Ie,onAfterEnter:Ie,onEnterCancelled:Ie,onBeforeLeave:Ie,onLeave:Ie,onAfterLeave:Ie,onLeaveCancelled:Ie,onBeforeAppear:Ie,onAppear:Ie,onAfterAppear:Ie,onAppearCancelled:Ie},vo=e=>{const t=e.subTree;return t.component?vo(t.component):t},ra={name:"BaseTransition",props:Mr,setup(e,{slots:t}){const n=$e(),s=Pr();return()=>{const r=t.default&&xs(t.default(),!0);if(!r||!r.length)return;const i=To(r),o=Z(e),{mode:l}=o;if(s.isLeaving)return Bs(i);const c=ii(i);if(!c)return Bs(i);let u=Ut(c,o,s,n,d=>u=d);c.type!==ae&&rt(c,u);let a=n.subTree&&ii(n.subTree);if(a&&a.type!==ae&&!Be(c,a)&&vo(n).type!==ae){let d=Ut(a,o,s,n);if(rt(a,d),l==="out-in"&&c.type!==ae)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,a=void 0},Bs(i);l==="in-out"&&c.type!==ae?d.delayLeave=(_,y,w)=>{const E=Eo(s,a);E[String(a.key)]=a,_[ut]=()=>{y(),_[ut]=void 0,delete u.delayedLeave,a=void 0},u.delayedLeave=()=>{w(),delete u.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function To(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ae){t=n;break}}return t}const Co=ra;function Eo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ut(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:_,onLeave:y,onAfterLeave:w,onLeaveCancelled:E,onBeforeAppear:q,onAppear:k,onAfterAppear:R,onAppearCancelled:p}=t,g=String(e.key),T=Eo(n,e),M=(m,b)=>{m&&He(m,s,9,b)},H=(m,b)=>{const L=b[1];M(m,b),$(m)?m.every(x=>x.length<=1)&&L():m.length<=1&&L()},C={mode:o,persisted:l,beforeEnter(m){let b=c;if(!n.isMounted)if(i)b=q||c;else return;m[ut]&&m[ut](!0);const L=T[g];L&&Be(e,L)&&L.el[ut]&&L.el[ut](),M(b,[m])},enter(m){let b=u,L=a,x=d;if(!n.isMounted)if(i)b=k||u,L=R||a,x=p||d;else return;let B=!1;const J=m[Hn]=re=>{B||(B=!0,re?M(x,[m]):M(L,[m]),C.delayedLeave&&C.delayedLeave(),m[Hn]=void 0)};b?H(b,[m,J]):J()},leave(m,b){const L=String(e.key);if(m[Hn]&&m[Hn](!0),n.isUnmounting)return b();M(_,[m]);let x=!1;const B=m[ut]=J=>{x||(x=!0,b(),J?M(E,[m]):M(w,[m]),m[ut]=void 0,T[L]===e&&delete T[L])};T[L]=e,y?H(y,[m,B]):B()},clone(m){const b=Ut(m,t,n,s,r);return r&&r(b),b}};return C}function Bs(e){if(Sn(e))return e=Je(e),e.children=null,e}function ii(e){if(!Sn(e))return _o(e.type)&&e.children?To(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&W(n.default))return n.default()}}function rt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,rt(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 xs(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===ce?(o.patchFlag&128&&r++,s=s.concat(xs(o.children,t,l))):(t||o.type!==ae)&&s.push(l!=null?Je(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function Rr(e,t){return W(e)?se({name:e.name},t,{setup:e}):e}function ia(){const e=$e();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Nr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function oa(e){const t=$e(),n=io(null);if(t){const r=t.refs===Q?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:i=>n.value=i})}return n}function Vt(e,t,n,s,r=!1){if($(e)){e.forEach((w,E)=>Vt(w,t&&($(t)?t[E]:t),n,s,r));return}if(pt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Vt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?An(s.component):s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,a=l.refs===Q?l.refs={}:l.refs,d=l.setupState,_=Z(d),y=d===Q?()=>!1:w=>z(_,w);if(u!=null&&u!==c&&(le(u)?(a[u]=null,y(u)&&(d[u]=null)):pe(u)&&(u.value=null)),W(c))Yt(c,l,12,[o,a]);else{const w=le(c),E=pe(c);if(w||E){const q=()=>{if(e.f){const k=w?y(c)?d[c]:a[c]:c.value;r?$(k)&&_r(k,i):$(k)?k.includes(i)||k.push(i):w?(a[c]=[i],y(c)&&(d[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else w?(a[c]=o,y(c)&&(d[c]=o)):E&&(c.value=o,e.k&&(a[e.k]=o))};o?(q.id=-1,ue(q,n)):q()}}}let oi=!1;const Nt=()=>{oi||(console.error("Hydration completed but contains mismatches."),oi=!0)},la=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ca=e=>e.namespaceURI.includes("MathML"),$n=e=>{if(e.nodeType===1){if(la(e))return"svg";if(ca(e))return"mathml"}},Ft=e=>e.nodeType===8;function aa(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),ts(),g._vnode=p;return}d(g.firstChild,p,null,null,null),ts(),g._vnode=p},d=(p,g,T,M,H,C=!1)=>{C=C||!!g.dynamicChildren;const m=Ft(p)&&p.data==="[",b=()=>E(p,g,T,M,H,m),{type:L,ref:x,shapeFlag:B,patchFlag:J}=g;let re=p.nodeType;g.el=p,J===-2&&(C=!1,g.dynamicChildren=null);let V=null;switch(L){case gt:re!==3?g.children===""?(c(g.el=r(""),o(p),p),V=p):V=b():(p.data!==g.children&&(Nt(),p.data=g.children),V=i(p));break;case ae:R(p)?(V=i(p),k(g.el=p.content.firstChild,p,T)):re!==8||m?V=b():V=i(p);break;case wt:if(m&&(p=i(p),re=p.nodeType),re===1||re===3){V=p;const Y=!g.children.length;for(let U=0;U<g.staticCount;U++)Y&&(g.children+=V.nodeType===1?V.outerHTML:V.data),U===g.staticCount-1&&(g.anchor=V),V=i(V);return m?i(V):V}else b();break;case ce:m?V=w(p,g,T,M,H,C):V=b();break;default:if(B&1)(re!==1||g.type.toLowerCase()!==p.tagName.toLowerCase())&&!R(p)?V=b():V=_(p,g,T,M,H,C);else if(B&6){g.slotScopeIds=H;const Y=o(p);if(m?V=q(p):Ft(p)&&p.data==="teleport start"?V=q(p,p.data,"teleport end"):V=i(p),t(g,Y,null,T,M,$n(Y),C),pt(g)&&!g.type.__asyncResolved){let U;m?(U=ee(ce),U.anchor=V?V.previousSibling:Y.lastChild):U=p.nodeType===3?jr(""):ee("div"),U.el=p,g.component.subTree=U}}else B&64?re!==8?V=b():V=g.type.hydrate(p,g,T,M,H,C,e,y):B&128&&(V=g.type.hydrate(p,g,T,M,$n(o(p)),H,C,e,d))}return x!=null&&Vt(x,null,M,g),V},_=(p,g,T,M,H,C)=>{C=C||!!g.dynamicChildren;const{type:m,props:b,patchFlag:L,shapeFlag:x,dirs:B,transition:J}=g,re=m==="input"||m==="option";if(re||L!==-1){B&&Ye(g,null,T,"created");let V=!1;if(R(p)){V=Yo(null,J)&&T&&T.vnode.props&&T.vnode.props.appear;const U=p.content.firstChild;if(V){const fe=U.getAttribute("class");fe&&(U.$cls=fe),J.beforeEnter(U)}k(U,p,T),g.el=p=U}if(x&16&&!(b&&(b.innerHTML||b.textContent))){let U=y(p.firstChild,g,p,T,M,H,C);for(;U;){kn(p,1)||Nt();const fe=U;U=U.nextSibling,l(fe)}}else if(x&8){let U=g.children;U[0]===`
|
||
`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(U=U.slice(1)),p.textContent!==U&&(kn(p,0)||Nt(),p.textContent=g.children)}if(b){if(re||!C||L&48){const U=p.tagName.includes("-");for(const fe in b)(re&&(fe.endsWith("value")||fe==="indeterminate")||Cn(fe)&&!$t(fe)||fe[0]==="."||U)&&s(p,fe,null,b[fe],void 0,T)}else if(b.onClick)s(p,"onClick",null,b.onClick,void 0,T);else if(L&4&&ht(b.style))for(const U in b.style)b.style[U]}let Y;(Y=b&&b.onVnodeBeforeMount)&&Se(Y,T,g),B&&Ye(g,null,T,"beforeMount"),((Y=b&&b.onVnodeMounted)||B||V)&&sl(()=>{Y&&Se(Y,T,g),V&&J.enter(p),B&&Ye(g,null,T,"mounted")},M)}return p.nextSibling},y=(p,g,T,M,H,C,m)=>{m=m||!!g.dynamicChildren;const b=g.children,L=b.length;for(let x=0;x<L;x++){const B=m?b[x]:b[x]=Oe(b[x]),J=B.type===gt;p?(J&&!m&&x+1<L&&Oe(b[x+1]).type===gt&&(c(r(p.data.slice(B.children.length)),T,i(p)),p.data=B.children),p=d(p,B,M,H,C,m)):J&&!B.children?c(B.el=r(""),T):(kn(T,1)||Nt(),n(null,B,T,null,M,H,$n(T),C))}return p},w=(p,g,T,M,H,C)=>{const{slotScopeIds:m}=g;m&&(H=H?H.concat(m):m);const b=o(p),L=y(i(p),g,b,T,M,H,C);return L&&Ft(L)&&L.data==="]"?i(g.anchor=L):(Nt(),c(g.anchor=u("]"),b,L),L)},E=(p,g,T,M,H,C)=>{if(kn(p.parentElement,1)||Nt(),g.el=null,C){const L=q(p);for(;;){const x=i(p);if(x&&x!==L)l(x);else break}}const m=i(p),b=o(p);return l(p),n(null,g,b,m,T,M,$n(b),H),T&&(T.vnode.el=g.el,Rs(T,g.el)),m},q=(p,g="[",T="]")=>{let M=0;for(;p;)if(p=i(p),p&&Ft(p)&&(p.data===g&&M++,p.data===T)){if(M===0)return i(p);M--}return p},k=(p,g,T)=>{const M=g.parentNode;M&&M.replaceChild(p,g);let H=T;for(;H;)H.vnode.el===g&&(H.vnode.el=H.subTree.el=p),H=H.parent},R=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,d]}const li="data-allow-mismatch",fa={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function kn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(li);)e=e.parentElement;const n=e&&e.getAttribute(li);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(fa[t])}}const ua=gs().requestIdleCallback||(e=>setTimeout(e,1)),da=gs().cancelIdleCallback||(e=>clearTimeout(e)),ha=(e=1e4)=>t=>{const n=ua(t,{timeout:e});return()=>da(n)};function pa(e){const{top:t,left:n,bottom:s,right:r}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:o}=window;return(t>0&&t<i||s>0&&s<i)&&(n>0&&n<o||r>0&&r<o)}const ga=e=>(t,n)=>{const s=new IntersectionObserver(r=>{for(const i of r)if(i.isIntersecting){s.disconnect(),t();break}},e);return n(r=>{if(r instanceof Element){if(pa(r))return t(),s.disconnect(),!1;s.observe(r)}}),()=>s.disconnect()},ma=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},_a=(e=[])=>(t,n)=>{le(e)&&(e=[e]);let s=!1;const r=o=>{s||(s=!0,i(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},i=()=>{n(o=>{for(const l of e)o.removeEventListener(l,r)})};return n(o=>{for(const l of e)o.addEventListener(l,r,{once:!0})}),i};function ya(e,t){if(Ft(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Ft(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const pt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function ba(e){W(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let u=null,a,d=0;const _=()=>(d++,u=null,y()),y=()=>{let w;return u||(w=u=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),c)return new Promise((q,k)=>{c(E,()=>q(_()),()=>k(E),d+1)});throw E}).then(E=>w!==u&&u?u:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),a=E,E)))};return Rr({name:"AsyncComponentWrapper",__asyncLoader:y,__asyncHydrate(w,E,q){const k=i?()=>{const p=i(()=>{q()},g=>ya(w,g));p&&(E.bum||(E.bum=[])).push(p),(E.u||(E.u=[])).push(()=>!0)}:q;a?k():y().then(()=>!E.isUnmounted&&k())},get __asyncResolved(){return a},setup(){const w=de;if(Nr(w),a)return()=>Vs(a,w);const E=p=>{u=null,Pt(p,w,13,!s)};if(l&&w.suspense||Kt)return y().then(p=>()=>Vs(p,w)).catch(p=>(E(p),()=>s?ee(s,{error:p}):null));const q=Ve(!1),k=Ve(),R=Ve(!!r);return r&&setTimeout(()=>{R.value=!1},r),o!=null&&setTimeout(()=>{if(!q.value&&!k.value){const p=new Error(`Async component timed out after ${o}ms.`);E(p),k.value=p}},o),y().then(()=>{q.value=!0,w.parent&&Sn(w.parent.vnode)&&w.parent.update()}).catch(p=>{E(p),k.value=p}),()=>{if(q.value&&a)return Vs(a,w);if(k.value&&s)return ee(s,{error:k.value});if(n&&!R.value)return ee(n)}}})}function Vs(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=ee(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const Sn=e=>e.type.__isKeepAlive,va={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=$e(),s=n.ctx;if(!s.renderer)return()=>{const R=t.default&&t.default();return R&&R.length===1?R[0]:R};const r=new Map,i=new Set;let o=null;const l=n.suspense,{renderer:{p:c,m:u,um:a,o:{createElement:d}}}=s,_=d("div");s.activate=(R,p,g,T,M)=>{const H=R.component;u(R,p,g,0,l),c(H.vnode,R,p,g,H,l,T,R.slotScopeIds,M),ue(()=>{H.isDeactivated=!1,H.a&&kt(H.a);const C=R.props&&R.props.onVnodeMounted;C&&Se(C,H.parent,R)},l)},s.deactivate=R=>{const p=R.component;ss(p.m),ss(p.a),u(R,_,null,1,l),ue(()=>{p.da&&kt(p.da);const g=R.props&&R.props.onVnodeUnmounted;g&&Se(g,p.parent,R),p.isDeactivated=!0},l)};function y(R){js(R),a(R,n,l,!0)}function w(R){r.forEach((p,g)=>{const T=ur(p.type);T&&!R(T)&&E(g)})}function E(R){const p=r.get(R);p&&(!o||!Be(p,o))?y(p):o&&js(o),r.delete(R),i.delete(R)}Et(()=>[e.include,e.exclude],([R,p])=>{R&&w(g=>tn(R,g)),p&&w(g=>!tn(p,g))},{flush:"post",deep:!0});let q=null;const k=()=>{q!=null&&(rs(n.subTree.type)?ue(()=>{r.set(q,Bn(n.subTree))},n.subTree.suspense):r.set(q,Bn(n.subTree)))};return Jt(k),Os(k),As(()=>{r.forEach(R=>{const{subTree:p,suspense:g}=n,T=Bn(p);if(R.type===T.type&&R.key===T.key){js(T);const M=T.component.da;M&&ue(M,g);return}y(R)})}),()=>{if(q=null,!t.default)return o=null;const R=t.default(),p=R[0];if(R.length>1)return o=null,R;if(!it(p)||!(p.shapeFlag&4)&&!(p.shapeFlag&128))return o=null,p;let g=Bn(p);if(g.type===ae)return o=null,g;const T=g.type,M=ur(pt(g)?g.type.__asyncResolved||{}:T),{include:H,exclude:C,max:m}=e;if(H&&(!M||!tn(H,M))||C&&M&&tn(C,M))return g.shapeFlag&=-257,o=g,p;const b=g.key==null?T:g.key,L=r.get(b);return g.el&&(g=Je(g),p.shapeFlag&128&&(p.ssContent=g)),q=b,L?(g.el=L.el,g.component=L.component,g.transition&&rt(g,g.transition),g.shapeFlag|=512,i.delete(b),i.add(b)):(i.add(b),m&&i.size>parseInt(m,10)&&E(i.values().next().value)),g.shapeFlag|=256,o=g,rs(p.type)?p:g}}},Ta=va;function tn(e,t){return $(e)?e.some(n=>tn(n,t)):le(e)?e.split(",").includes(t):Gl(e)?(e.lastIndex=0,e.test(t)):!1}function wo(e,t){So(e,"a",t)}function xo(e,t){So(e,"da",t)}function So(e,t,n=de){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ss(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Sn(r.parent.vnode)&&Ca(s,t,n,r),r=r.parent}}function Ca(e,t,n,s){const r=Ss(t,e,s,!0);Ps(()=>{_r(s[t],r)},n)}function js(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Bn(e){return e.shapeFlag&128?e.ssContent:e}function Ss(e,t,n=de,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{tt();const l=St(n),c=He(t,n,e,o);return l(),nt(),c});return s?r.unshift(i):r.push(i),i}}const ot=e=>(t,n=de)=>{(!Kt||e==="sp")&&Ss(e,(...s)=>t(...s),n)},Oo=ot("bm"),Jt=ot("m"),Ir=ot("bu"),Os=ot("u"),As=ot("bum"),Ps=ot("um"),Ao=ot("sp"),Po=ot("rtg"),Mo=ot("rtc");function Ro(e,t=de){Ss("ec",e,t)}const Lr="components",Ea="directives";function wa(e,t){return Fr(Lr,e,!0,t)||e}const No=Symbol.for("v-ndc");function xa(e){return le(e)?Fr(Lr,e,!1)||e:e||No}function Sa(e){return Fr(Ea,e)}function Fr(e,t,n=!0,s=!1){const r=he||de;if(r){const i=r.type;if(e===Lr){const l=ur(i,!1);if(l&&(l===t||l===_e(t)||l===En(_e(t))))return i}const o=ci(r[e]||i[e],t)||ci(r.appContext[e],t);return!o&&s?i:o}}function ci(e,t){return e&&(e[t]||e[_e(t)]||e[En(_e(t))])}function Dr(e,t,n,s){let r;const i=n&&n[s],o=$(e);if(o||le(e)){const l=o&&ht(e);let c=!1,u=!1;l&&(c=!Ne(e),u=st(e),e=ys(e)),r=new Array(e.length);for(let a=0,d=e.length;a<d;a++)r[a]=t(c?u?Zn(ge(e[a])):ge(e[a]):e[a],a,void 0,i&&i[a])}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i&&i[l])}else if(ne(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i&&i[c]));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;c<u;c++){const a=l[c];r[c]=t(e[a],a,c,i&&i[c])}}else r=[];return n&&(n[s]=r),r}function Oa(e,t){for(let n=0;n<t.length;n++){const s=t[n];if($(s))for(let r=0;r<s.length;r++)e[s[r].name]=s[r].fn;else s&&(e[s.name]=s.key?(...r)=>{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function Aa(e,t,n={},s,r){if(he.ce||he.parent&&pt(he.parent)&&he.parent.ce)return t!=="default"&&(n.name=t),me(),is(ce,null,[ee("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),me();const o=i&&Hr(i(n)),l=n.key||o&&o.key,c=is(ce,{key:(l&&!Ue(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Hr(e){return e.some(t=>it(t)?!(t.type===ae||t.type===ce&&!Hr(t.children)):!0)?e:null}function Pa(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:sn(s)]=e[s];return n}const zs=e=>e?fl(e)?An(e):zs(e.parent):null,cn=se(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=>zs(e.parent),$root:e=>zs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>$r(e),$forceUpdate:e=>e.f||(e.f=()=>{Sr(e.update)}),$nextTick:e=>e.n||(e.n=xn.bind(e.proxy)),$watch:e=>cf.bind(e)}),Us=(e,t)=>e!==Q&&!e.__isScriptSetup&&z(e,t),er={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const y=o[t];if(y!==void 0)switch(y){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Us(s,t))return o[t]=1,s[t];if(r!==Q&&z(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&z(u,t))return o[t]=3,i[t];if(n!==Q&&z(n,t))return o[t]=4,n[t];tr&&(o[t]=0)}}const a=cn[t];let d,_;if(a)return t==="$attrs"&&ve(e.attrs,"get",""),a(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==Q&&z(n,t))return o[t]=4,n[t];if(_=c.config.globalProperties,z(_,t))return _[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Us(r,t)?(r[t]=n,!0):s!==Q&&z(s,t)?(s[t]=n,!0):z(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,propsOptions:i}},o){let l;return!!n[o]||e!==Q&&z(e,o)||Us(t,o)||(l=i[0])&&z(l,o)||z(s,o)||z(cn,o)||z(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Ma=se({},er,{get(e,t){if(t!==Symbol.unscopables)return er.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Zl(t)}});function Ra(){return null}function Na(){return null}function Ia(e){}function La(e){}function Fa(){return null}function Da(){}function Ha(e,t){return null}function $a(){return Io().slots}function ka(){return Io().attrs}function Io(){const e=$e();return e.setupContext||(e.setupContext=hl(e))}function bn(e){return $(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Ba(e,t){const n=bn(e);for(const s in t){if(s.startsWith("__skip"))continue;let r=n[s];r?$(r)||W(r)?r=n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(r=n[s]={default:t[s]}),r&&t[`__skip_${s}`]&&(r.skipFactory=!0)}return n}function Va(e,t){return!e||!t?e||t:$(e)&&$(t)?e.concat(t):se({},bn(e),bn(t))}function ja(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function Ua(e){const t=$e();let n=e();return cr(),yr(n)&&(n=n.catch(s=>{throw St(t),s})),[n,()=>St(t)]}let tr=!0;function Ka(e){const t=$r(e),n=e.proxy,s=e.ctx;tr=!1,t.beforeCreate&&ai(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:a,beforeMount:d,mounted:_,beforeUpdate:y,updated:w,activated:E,deactivated:q,beforeDestroy:k,beforeUnmount:R,destroyed:p,unmounted:g,render:T,renderTracked:M,renderTriggered:H,errorCaptured:C,serverPrefetch:m,expose:b,inheritAttrs:L,components:x,directives:B,filters:J}=t;if(u&&Wa(u,s,null),o)for(const Y in o){const U=o[Y];W(U)&&(s[Y]=U.bind(n))}if(r){const Y=r.call(n,n);ne(Y)&&(e.data=vs(Y))}if(tr=!0,i)for(const Y in i){const U=i[Y],fe=W(U)?U.bind(n,n):W(U.get)?U.get.bind(n,n):Le,Mn=!W(U)&&W(U.set)?U.set.bind(n):Le,yt=pl({get:fe,set:Mn});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>yt.value,set:Ke=>yt.value=Ke})}if(l)for(const Y in l)Lo(l[Y],s,n,Y);if(c){const Y=W(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(U=>{Do(U,Y[U])})}a&&ai(a,e,"c");function V(Y,U){$(U)?U.forEach(fe=>Y(fe.bind(n))):U&&Y(U.bind(n))}if(V(Oo,d),V(Jt,_),V(Ir,y),V(Os,w),V(wo,E),V(xo,q),V(Ro,C),V(Mo,M),V(Po,H),V(As,R),V(Ps,g),V(Ao,m),$(b))if(b.length){const Y=e.exposed||(e.exposed={});b.forEach(U=>{Object.defineProperty(Y,U,{get:()=>n[U],set:fe=>n[U]=fe})})}else e.exposed||(e.exposed={});T&&e.render===Le&&(e.render=T),L!=null&&(e.inheritAttrs=L),x&&(e.components=x),B&&(e.directives=B),m&&Nr(e)}function Wa(e,t,n=Le){$(e)&&(e=nr(e));for(const s in e){const r=e[s];let i;ne(r)?"default"in r?i=an(r.from||s,r.default,!0):i=an(r.from||s):i=an(r),pe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function ai(e,t,n){He($(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lo(e,t,n,s){let r=s.includes(".")?zo(n,s):()=>n[s];if(le(e)){const i=t[e];W(i)&&Et(r,i)}else if(W(e))Et(r,e.bind(n));else if(ne(e))if($(e))e.forEach(i=>Lo(i,t,n,s));else{const i=W(e.handler)?e.handler.bind(n):t[e.handler];W(i)&&Et(r,i,e)}}function $r(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>ns(c,u,o,!0)),ns(c,t,o)),ne(t)&&i.set(t,c),c}function ns(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&ns(e,i,n,!0),r&&r.forEach(o=>ns(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=qa[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const qa={data:fi,props:ui,emits:ui,methods:nn,computed:nn,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:nn,directives:nn,watch:Ya,provide:fi,inject:Ga};function fi(e,t){return t?e?function(){return se(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Ga(e,t){return nn(nr(e),nr(t))}function nr(e){if($(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ce(e,t){return e?[...new Set([].concat(e,t))]:t}function nn(e,t){return e?se(Object.create(null),e,t):t}function ui(e,t){return e?$(e)&&$(t)?[...new Set([...e,...t])]:se(Object.create(null),bn(e),bn(t??{})):t}function Ya(e,t){if(!e)return t;if(!t)return e;const n=se(Object.create(null),e);for(const s in t)n[s]=Ce(e[s],t[s]);return n}function Fo(){return{app:null,config:{isNativeTag:Wl,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 Ja=0;function Qa(e,t){return function(s,r=null){W(s)||(s=se({},s)),r!=null&&!ne(r)&&(r=null);const i=Fo(),o=new WeakSet,l=[];let c=!1;const u=i.app={_uid:Ja++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:_l,get config(){return i.config},set config(a){},use(a,...d){return o.has(a)||(a&&W(a.install)?(o.add(a),a.install(u,...d)):W(a)&&(o.add(a),a(u,...d))),u},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),u},component(a,d){return d?(i.components[a]=d,u):i.components[a]},directive(a,d){return d?(i.directives[a]=d,u):i.directives[a]},mount(a,d,_){if(!c){const y=u._ceVNode||ee(s,r);return y.appContext=i,_===!0?_="svg":_===!1&&(_=void 0),d&&t?t(y,a):e(y,a,_),c=!0,u._container=a,a.__vue_app__=u,An(y.component)}},onUnmount(a){l.push(a)},unmount(){c&&(He(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(a,d){return i.provides[a]=d,u},runWithContext(a){const d=Ct;Ct=u;try{return a()}finally{Ct=d}}};return u}}let Ct=null;function Do(e,t){if(de){let n=de.provides;const s=de.parent&&de.parent.provides;s===n&&(n=de.provides=Object.create(s)),n[e]=t}}function an(e,t,n=!1){const s=de||he;if(s||Ct){let r=Ct?Ct._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&&W(t)?t.call(s&&s.proxy):t}}function Xa(){return!!(de||he||Ct)}const Ho={},$o=()=>Object.create(Ho),ko=e=>Object.getPrototypeOf(e)===Ho;function Za(e,t,n,s=!1){const r={},i=$o();e.propsDefaults=Object.create(null),Bo(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:so(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function za(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=Z(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let d=0;d<a.length;d++){let _=a[d];if(Ms(e.emitsOptions,_))continue;const y=t[_];if(c)if(z(i,_))y!==i[_]&&(i[_]=y,u=!0);else{const w=_e(_);r[w]=sr(c,l,w,y,e,!1)}else y!==i[_]&&(i[_]=y,u=!0)}}}else{Bo(e,t,r,i)&&(u=!0);let a;for(const d in l)(!t||!z(t,d)&&((a=Ae(d))===d||!z(t,a)))&&(c?n&&(n[d]!==void 0||n[a]!==void 0)&&(r[d]=sr(c,l,d,void 0,e,!0)):delete r[d]);if(i!==l)for(const d in i)(!t||!z(t,d))&&(delete i[d],u=!0)}u&&Ze(e.attrs,"set","")}function Bo(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if($t(c))continue;const u=t[c];let a;r&&z(r,a=_e(c))?!i||!i.includes(a)?n[a]=u:(l||(l={}))[a]=u:Ms(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,o=!0)}if(i){const c=Z(n),u=l||Q;for(let a=0;a<i.length;a++){const d=i[a];n[d]=sr(r,c,d,u[d],e,!z(u,d))}}return o}function sr(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=z(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&W(c)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const a=St(r);s=u[n]=c.call(null,t),a()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===Ae(n))&&(s=!0))}return s}const ef=new WeakMap;function Vo(e,t,n=!1){const s=n?ef:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!W(e)){const a=d=>{c=!0;const[_,y]=Vo(d,t,!0);se(o,_),y&&l.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&s.set(e,Dt),Dt;if($(i))for(let a=0;a<i.length;a++){const d=_e(i[a]);di(d)&&(o[d]=Q)}else if(i)for(const a in i){const d=_e(a);if(di(d)){const _=i[a],y=o[d]=$(_)||W(_)?{type:_}:se({},_),w=y.type;let E=!1,q=!0;if($(w))for(let k=0;k<w.length;++k){const R=w[k],p=W(R)&&R.name;if(p==="Boolean"){E=!0;break}else p==="String"&&(q=!1)}else E=W(w)&&w.name==="Boolean";y[0]=E,y[1]=q,(E||z(y,"default"))&&l.push(d)}}const u=[o,l];return ne(e)&&s.set(e,u),u}function di(e){return e[0]!=="$"&&!$t(e)}const kr=e=>e[0]==="_"||e==="$stable",Br=e=>$(e)?e.map(Oe):[Oe(e)],tf=(e,t,n)=>{if(t._n)return t;const s=Or((...r)=>Br(t(...r)),n);return s._c=!1,s},jo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(kr(r))continue;const i=e[r];if(W(i))t[r]=tf(r,i,s);else if(i!=null){const o=Br(i);t[r]=()=>o}}},Uo=(e,t)=>{const n=Br(t);e.slots.default=()=>n},Ko=(e,t,n)=>{for(const s in t)(n||!kr(s))&&(e[s]=t[s])},nf=(e,t,n)=>{const s=e.slots=$o();if(e.vnode.shapeFlag&32){const r=t.__;r&&Ys(s,"__",r,!0);const i=t._;i?(Ko(s,t,n),n&&Ys(s,"_",i,!0)):jo(t,s)}else t&&Uo(e,t)},sf=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Q;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Ko(r,t,n):(i=!t.$stable,jo(t,r)),o=t}else t&&(Uo(e,t),o={default:1});if(i)for(const l in r)!kr(l)&&o[l]==null&&delete r[l]},ue=sl;function Wo(e){return Go(e)}function qo(e){return Go(e,aa)}function Go(e,t){const n=gs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:a,parentNode:d,nextSibling:_,setScopeId:y=Le,insertStaticContent:w}=e,E=(f,h,v,A=null,S=null,O=null,F=void 0,I=null,N=!!h.dynamicChildren)=>{if(f===h)return;f&&!Be(f,h)&&(A=Rn(f),Ke(f,S,O,!0),f=null),h.patchFlag===-2&&(N=!1,h.dynamicChildren=null);const{type:P,ref:K,shapeFlag:D}=h;switch(P){case gt:q(f,h,v,A);break;case ae:k(f,h,v,A);break;case wt:f==null&&R(h,v,A,F);break;case ce:x(f,h,v,A,S,O,F,I,N);break;default:D&1?T(f,h,v,A,S,O,F,I,N):D&6?B(f,h,v,A,S,O,F,I,N):(D&64||D&128)&&P.process(f,h,v,A,S,O,F,I,N,Mt)}K!=null&&S?Vt(K,f&&f.ref,O,h||f,!h):K==null&&f&&f.ref!=null&&Vt(f.ref,null,O,f,!0)},q=(f,h,v,A)=>{if(f==null)s(h.el=l(h.children),v,A);else{const S=h.el=f.el;h.children!==f.children&&u(S,h.children)}},k=(f,h,v,A)=>{f==null?s(h.el=c(h.children||""),v,A):h.el=f.el},R=(f,h,v,A)=>{[f.el,f.anchor]=w(f.children,h,v,A,f.el,f.anchor)},p=({el:f,anchor:h},v,A)=>{let S;for(;f&&f!==h;)S=_(f),s(f,v,A),f=S;s(h,v,A)},g=({el:f,anchor:h})=>{let v;for(;f&&f!==h;)v=_(f),r(f),f=v;r(h)},T=(f,h,v,A,S,O,F,I,N)=>{h.type==="svg"?F="svg":h.type==="math"&&(F="mathml"),f==null?M(h,v,A,S,O,F,I,N):m(f,h,S,O,F,I,N)},M=(f,h,v,A,S,O,F,I)=>{let N,P;const{props:K,shapeFlag:D,transition:j,dirs:G}=f;if(N=f.el=o(f.type,O,K&&K.is,K),D&8?a(N,f.children):D&16&&C(f.children,N,null,A,S,Ks(f,O),F,I),G&&Ye(f,null,A,"created"),H(N,f,f.scopeId,F,A),K){for(const ie in K)ie!=="value"&&!$t(ie)&&i(N,ie,null,K[ie],O,A);"value"in K&&i(N,"value",null,K.value,O),(P=K.onVnodeBeforeMount)&&Se(P,A,f)}G&&Ye(f,null,A,"beforeMount");const X=Yo(S,j);X&&j.beforeEnter(N),s(N,h,v),((P=K&&K.onVnodeMounted)||X||G)&&ue(()=>{P&&Se(P,A,f),X&&j.enter(N),G&&Ye(f,null,A,"mounted")},S)},H=(f,h,v,A,S)=>{if(v&&y(f,v),A)for(let O=0;O<A.length;O++)y(f,A[O]);if(S){let O=S.subTree;if(h===O||rs(O.type)&&(O.ssContent===h||O.ssFallback===h)){const F=S.vnode;H(f,F,F.scopeId,F.slotScopeIds,S.parent)}}},C=(f,h,v,A,S,O,F,I,N=0)=>{for(let P=N;P<f.length;P++){const K=f[P]=I?dt(f[P]):Oe(f[P]);E(null,K,h,v,A,S,O,F,I)}},m=(f,h,v,A,S,O,F)=>{const I=h.el=f.el;let{patchFlag:N,dynamicChildren:P,dirs:K}=h;N|=f.patchFlag&16;const D=f.props||Q,j=h.props||Q;let G;if(v&&bt(v,!1),(G=j.onVnodeBeforeUpdate)&&Se(G,v,h,f),K&&Ye(h,f,v,"beforeUpdate"),v&&bt(v,!0),(D.innerHTML&&j.innerHTML==null||D.textContent&&j.textContent==null)&&a(I,""),P?b(f.dynamicChildren,P,I,v,A,Ks(h,S),O):F||U(f,h,I,null,v,A,Ks(h,S),O,!1),N>0){if(N&16)L(I,D,j,v,S);else if(N&2&&D.class!==j.class&&i(I,"class",null,j.class,S),N&4&&i(I,"style",D.style,j.style,S),N&8){const X=h.dynamicProps;for(let ie=0;ie<X.length;ie++){const te=X[ie],xe=D[te],ye=j[te];(ye!==xe||te==="value")&&i(I,te,xe,ye,S,v)}}N&1&&f.children!==h.children&&a(I,h.children)}else!F&&P==null&&L(I,D,j,v,S);((G=j.onVnodeUpdated)||K)&&ue(()=>{G&&Se(G,v,h,f),K&&Ye(h,f,v,"updated")},A)},b=(f,h,v,A,S,O,F)=>{for(let I=0;I<h.length;I++){const N=f[I],P=h[I],K=N.el&&(N.type===ce||!Be(N,P)||N.shapeFlag&198)?d(N.el):v;E(N,P,K,null,A,S,O,F,!0)}},L=(f,h,v,A,S)=>{if(h!==v){if(h!==Q)for(const O in h)!$t(O)&&!(O in v)&&i(f,O,h[O],null,S,A);for(const O in v){if($t(O))continue;const F=v[O],I=h[O];F!==I&&O!=="value"&&i(f,O,I,F,S,A)}"value"in v&&i(f,"value",h.value,v.value,S)}},x=(f,h,v,A,S,O,F,I,N)=>{const P=h.el=f?f.el:l(""),K=h.anchor=f?f.anchor:l("");let{patchFlag:D,dynamicChildren:j,slotScopeIds:G}=h;G&&(I=I?I.concat(G):G),f==null?(s(P,v,A),s(K,v,A),C(h.children||[],v,K,S,O,F,I,N)):D>0&&D&64&&j&&f.dynamicChildren?(b(f.dynamicChildren,j,v,S,O,F,I),(h.key!=null||S&&h===S.subTree)&&Vr(f,h,!0)):U(f,h,v,K,S,O,F,I,N)},B=(f,h,v,A,S,O,F,I,N)=>{h.slotScopeIds=I,f==null?h.shapeFlag&512?S.ctx.activate(h,v,A,F,N):J(h,v,A,S,O,F,N):re(f,h,N)},J=(f,h,v,A,S,O,F)=>{const I=f.component=al(f,A,S);if(Sn(f)&&(I.ctx.renderer=Mt),ul(I,!1,F),I.asyncDep){if(S&&S.registerDep(I,V,F),!f.el){const N=I.subTree=ee(ae);k(null,N,h,v)}}else V(I,f,h,v,S,O,F)},re=(f,h,v)=>{const A=h.component=f.component;if(pf(f,h,v))if(A.asyncDep&&!A.asyncResolved){Y(A,h,v);return}else A.next=h,A.update();else h.el=f.el,A.vnode=h},V=(f,h,v,A,S,O,F)=>{const I=()=>{if(f.isMounted){let{next:D,bu:j,u:G,parent:X,vnode:ie}=f;{const Pe=Jo(f);if(Pe){D&&(D.el=ie.el,Y(f,D,F)),Pe.asyncDep.then(()=>{f.isUnmounted||I()});return}}let te=D,xe;bt(f,!1),D?(D.el=ie.el,Y(f,D,F)):D=ie,j&&kt(j),(xe=D.props&&D.props.onVnodeBeforeUpdate)&&Se(xe,X,D,ie),bt(f,!0);const ye=Wn(f),ke=f.subTree;f.subTree=ye,E(ke,ye,d(ke.el),Rn(ke),f,S,O),D.el=ye.el,te===null&&Rs(f,ye.el),G&&ue(G,S),(xe=D.props&&D.props.onVnodeUpdated)&&ue(()=>Se(xe,X,D,ie),S)}else{let D;const{el:j,props:G}=h,{bm:X,m:ie,parent:te,root:xe,type:ye}=f,ke=pt(h);if(bt(f,!1),X&&kt(X),!ke&&(D=G&&G.onVnodeBeforeMount)&&Se(D,te,h),bt(f,!0),j&&Fs){const Pe=()=>{f.subTree=Wn(f),Fs(j,f.subTree,f,S,null)};ke&&ye.__asyncHydrate?ye.__asyncHydrate(j,f,Pe):Pe()}else{xe.ce&&xe.ce._def.shadowRoot!==!1&&xe.ce._injectChildStyle(ye);const Pe=f.subTree=Wn(f);E(null,Pe,v,A,f,S,O),h.el=Pe.el}if(ie&&ue(ie,S),!ke&&(D=G&&G.onVnodeMounted)){const Pe=h;ue(()=>Se(D,te,Pe),S)}(h.shapeFlag&256||te&&pt(te.vnode)&&te.vnode.shapeFlag&256)&&f.a&&ue(f.a,S),f.isMounted=!0,h=v=A=null}};f.scope.on();const N=f.effect=new hn(I);f.scope.off();const P=f.update=N.run.bind(N),K=f.job=N.runIfDirty.bind(N);K.i=f,K.id=f.uid,N.scheduler=()=>Sr(K),bt(f,!0),P()},Y=(f,h,v)=>{h.component=f;const A=f.vnode.props;f.vnode=h,f.next=null,za(f,h.props,A,v),sf(f,h.children,v),tt(),ti(f),nt()},U=(f,h,v,A,S,O,F,I,N=!1)=>{const P=f&&f.children,K=f?f.shapeFlag:0,D=h.children,{patchFlag:j,shapeFlag:G}=h;if(j>0){if(j&128){Mn(P,D,v,A,S,O,F,I,N);return}else if(j&256){fe(P,D,v,A,S,O,F,I,N);return}}G&8?(K&16&&Qt(P,S,O),D!==P&&a(v,D)):K&16?G&16?Mn(P,D,v,A,S,O,F,I,N):Qt(P,S,O,!0):(K&8&&a(v,""),G&16&&C(D,v,A,S,O,F,I,N))},fe=(f,h,v,A,S,O,F,I,N)=>{f=f||Dt,h=h||Dt;const P=f.length,K=h.length,D=Math.min(P,K);let j;for(j=0;j<D;j++){const G=h[j]=N?dt(h[j]):Oe(h[j]);E(f[j],G,v,null,S,O,F,I,N)}P>K?Qt(f,S,O,!0,!1,D):C(h,v,A,S,O,F,I,N,D)},Mn=(f,h,v,A,S,O,F,I,N)=>{let P=0;const K=h.length;let D=f.length-1,j=K-1;for(;P<=D&&P<=j;){const G=f[P],X=h[P]=N?dt(h[P]):Oe(h[P]);if(Be(G,X))E(G,X,v,null,S,O,F,I,N);else break;P++}for(;P<=D&&P<=j;){const G=f[D],X=h[j]=N?dt(h[j]):Oe(h[j]);if(Be(G,X))E(G,X,v,null,S,O,F,I,N);else break;D--,j--}if(P>D){if(P<=j){const G=j+1,X=G<K?h[G].el:A;for(;P<=j;)E(null,h[P]=N?dt(h[P]):Oe(h[P]),v,X,S,O,F,I,N),P++}}else if(P>j)for(;P<=D;)Ke(f[P],S,O,!0),P++;else{const G=P,X=P,ie=new Map;for(P=X;P<=j;P++){const Me=h[P]=N?dt(h[P]):Oe(h[P]);Me.key!=null&&ie.set(Me.key,P)}let te,xe=0;const ye=j-X+1;let ke=!1,Pe=0;const Xt=new Array(ye);for(P=0;P<ye;P++)Xt[P]=0;for(P=G;P<=D;P++){const Me=f[P];if(xe>=ye){Ke(Me,S,O,!0);continue}let We;if(Me.key!=null)We=ie.get(Me.key);else for(te=X;te<=j;te++)if(Xt[te-X]===0&&Be(Me,h[te])){We=te;break}We===void 0?Ke(Me,S,O,!0):(Xt[We-X]=P+1,We>=Pe?Pe=We:ke=!0,E(Me,h[We],v,null,S,O,F,I,N),xe++)}const Jr=ke?rf(Xt):Dt;for(te=Jr.length-1,P=ye-1;P>=0;P--){const Me=X+P,We=h[Me],Qr=Me+1<K?h[Me+1].el:A;Xt[P]===0?E(null,We,v,Qr,S,O,F,I,N):ke&&(te<0||P!==Jr[te]?yt(We,v,Qr,2):te--)}}},yt=(f,h,v,A,S=null)=>{const{el:O,type:F,transition:I,children:N,shapeFlag:P}=f;if(P&6){yt(f.component.subTree,h,v,A);return}if(P&128){f.suspense.move(h,v,A);return}if(P&64){F.move(f,h,v,Mt);return}if(F===ce){s(O,h,v);for(let D=0;D<N.length;D++)yt(N[D],h,v,A);s(f.anchor,h,v);return}if(F===wt){p(f,h,v);return}if(A!==2&&P&1&&I)if(A===0)I.beforeEnter(O),s(O,h,v),ue(()=>I.enter(O),S);else{const{leave:D,delayLeave:j,afterLeave:G}=I,X=()=>{f.ctx.isUnmounted?r(O):s(O,h,v)},ie=()=>{D(O,()=>{X(),G&&G()})};j?j(O,X,ie):ie()}else s(O,h,v)},Ke=(f,h,v,A=!1,S=!1)=>{const{type:O,props:F,ref:I,children:N,dynamicChildren:P,shapeFlag:K,patchFlag:D,dirs:j,cacheIndex:G}=f;if(D===-2&&(S=!1),I!=null&&(tt(),Vt(I,null,v,f,!0),nt()),G!=null&&(h.renderCache[G]=void 0),K&256){h.ctx.deactivate(f);return}const X=K&1&&j,ie=!pt(f);let te;if(ie&&(te=F&&F.onVnodeBeforeUnmount)&&Se(te,h,f),K&6)Kl(f.component,v,A);else{if(K&128){f.suspense.unmount(v,A);return}X&&Ye(f,null,h,"beforeUnmount"),K&64?f.type.remove(f,h,v,Mt,A):P&&!P.hasOnce&&(O!==ce||D>0&&D&64)?Qt(P,h,v,!1,!0):(O===ce&&D&384||!S&&K&16)&&Qt(N,h,v),A&&Gr(f)}(ie&&(te=F&&F.onVnodeUnmounted)||X)&&ue(()=>{te&&Se(te,h,f),X&&Ye(f,null,h,"unmounted")},v)},Gr=f=>{const{type:h,el:v,anchor:A,transition:S}=f;if(h===ce){Ul(v,A);return}if(h===wt){g(f);return}const O=()=>{r(v),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(f.shapeFlag&1&&S&&!S.persisted){const{leave:F,delayLeave:I}=S,N=()=>F(v,O);I?I(f.el,O,N):N()}else O()},Ul=(f,h)=>{let v;for(;f!==h;)v=_(f),r(f),f=v;r(h)},Kl=(f,h,v)=>{const{bum:A,scope:S,job:O,subTree:F,um:I,m:N,a:P,parent:K,slots:{__:D}}=f;ss(N),ss(P),A&&kt(A),K&&$(D)&&D.forEach(j=>{K.renderCache[j]=void 0}),S.stop(),O&&(O.flags|=8,Ke(F,f,h,v)),I&&ue(I,h),ue(()=>{f.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Qt=(f,h,v,A=!1,S=!1,O=0)=>{for(let F=O;F<f.length;F++)Ke(f[F],h,v,A,S)},Rn=f=>{if(f.shapeFlag&6)return Rn(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=_(f.anchor||f.el),v=h&&h[mo];return v?_(v):h};let Is=!1;const Yr=(f,h,v)=>{f==null?h._vnode&&Ke(h._vnode,null,null,!0):E(h._vnode||null,f,h,null,null,null,v),h._vnode=f,Is||(Is=!0,ti(),ts(),Is=!1)},Mt={p:E,um:Ke,m:yt,r:Gr,mt:J,mc:C,pc:U,pbc:b,n:Rn,o:e};let Ls,Fs;return t&&([Ls,Fs]=t(Mt)),{render:Yr,hydrate:Ls,createApp:Qa(Yr,Ls)}}function Ks({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 bt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Yo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Vr(e,t,n=!1){const s=e.children,r=t.children;if($(s)&&$(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=dt(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Vr(o,l)),l.type===gt&&(l.el=o.el),l.type===ae&&!l.el&&(l.el=o.el)}}function rf(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<u?i=l+1:o=l;u<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 Jo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jo(t)}function ss(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Qo=Symbol.for("v-scx"),Xo=()=>an(Qo);function of(e,t){return On(e,null,t)}function lf(e,t){return On(e,null,{flush:"post"})}function Zo(e,t){return On(e,null,{flush:"sync"})}function Et(e,t,n){return On(e,t,n)}function On(e,t,n=Q){const{immediate:s,deep:r,flush:i,once:o}=n,l=se({},n),c=t&&s||!t&&i!=="post";let u;if(Kt){if(i==="sync"){const y=Xo();u=y.__watcherHandles||(y.__watcherHandles=[])}else if(!c){const y=()=>{};return y.stop=Le,y.resume=Le,y.pause=Le,y}}const a=de;l.call=(y,w,E)=>He(y,a,w,E);let d=!1;i==="post"?l.scheduler=y=>{ue(y,a&&a.suspense)}:i!=="sync"&&(d=!0,l.scheduler=(y,w)=>{w?y():Sr(y)}),l.augmentJob=y=>{t&&(y.flags|=4),d&&(y.flags|=2,a&&(y.id=a.uid,y.i=a))};const _=Wc(e,t,l);return Kt&&(u?u.push(_):c&&_()),_}function cf(e,t,n){const s=this.proxy,r=le(e)?e.includes(".")?zo(s,e):()=>s[e]:e.bind(s,s);let i;W(t)?i=t:(i=t.handler,n=t);const o=St(this),l=On(r,i.bind(s),n);return o(),l}function zo(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}}function af(e,t,n=Q){const s=$e(),r=_e(t),i=Ae(t),o=el(e,r),l=lo((c,u)=>{let a,d=Q,_;return Zo(()=>{const y=e[r];Ee(a,y)&&(a=y,u())}),{get(){return c(),n.get?n.get(a):a},set(y){const w=n.set?n.set(y):y;if(!Ee(w,a)&&!(d!==Q&&Ee(y,d)))return;const E=s.vnode.props;E&&(t in E||r in E||i in E)&&(`onUpdate:${t}`in E||`onUpdate:${r}`in E||`onUpdate:${i}`in E)||(a=y,u()),s.emit(`update:${t}`,w),Ee(y,w)&&Ee(y,d)&&!Ee(w,_)&&u(),d=y,_=w}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||Q:l,done:!1}:{done:!0}}}},l}const el=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${_e(t)}Modifiers`]||e[`${Ae(t)}Modifiers`];function ff(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Q;let r=n;const i=t.startsWith("update:"),o=i&&el(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>le(a)?a.trim():a)),o.number&&(r=n.map(Jn)));let l,c=s[l=sn(t)]||s[l=sn(_e(t))];!c&&i&&(c=s[l=sn(Ae(t))]),c&&He(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,He(u,e,6,r)}}function tl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!W(e)){const c=u=>{const a=tl(u,t,!0);a&&(l=!0,se(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&s.set(e,null),null):($(i)?i.forEach(c=>o[c]=null):se(o,i),ne(e)&&s.set(e,o),o)}function Ms(e,t){return!e||!Cn(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,Ae(t))||z(e,t))}function Wn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:a,props:d,data:_,setupState:y,ctx:w,inheritAttrs:E}=e,q=yn(e);let k,R;try{if(n.shapeFlag&4){const g=r||s,T=g;k=Oe(u.call(T,g,a,d,y,_,w)),R=l}else{const g=t;k=Oe(g.length>1?g(d,{attrs:l,slots:o,emit:c}):g(d,null)),R=t.props?l:df(l)}}catch(g){fn.length=0,Pt(g,e,1),k=ee(ae)}let p=k;if(R&&E!==!1){const g=Object.keys(R),{shapeFlag:T}=p;g.length&&T&7&&(i&&g.some(mr)&&(R=hf(R,i)),p=Je(p,R,!1,!0))}return n.dirs&&(p=Je(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&rt(p,n.transition),k=p,yn(q),k}function uf(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(it(r)){if(r.type!==ae||r.children==="v-if"){if(n)return;n=r}}else return}return n}const df=e=>{let t;for(const n in e)(n==="class"||n==="style"||Cn(n))&&((t||(t={}))[n]=e[n]);return t},hf=(e,t)=>{const n={};for(const s in e)(!mr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function pf(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?hi(s,o,u):!!o;if(c&8){const a=t.dynamicProps;for(let d=0;d<a.length;d++){const _=a[d];if(o[_]!==s[_]&&!Ms(u,_))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?hi(s,o,u):!0:!!o;return!1}function hi(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]&&!Ms(n,i))return!0}return!1}function Rs({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 rs=e=>e.__isSuspense;let rr=0;const gf={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,c,u){if(e==null)_f(t,n,s,r,i,o,l,c,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}yf(e,t,n,s,r,o,l,c,u)}},hydrate:bf,normalize:vf},mf=gf;function vn(e,t){const n=e.props&&e.props[t];W(n)&&n()}function _f(e,t,n,s,r,i,o,l,c){const{p:u,o:{createElement:a}}=c,d=a("div"),_=e.suspense=nl(e,r,s,t,d,n,i,o,l,c);u(null,_.pendingBranch=e.ssContent,d,null,s,_,i,o),_.deps>0?(vn(e,"onPending"),vn(e,"onFallback"),u(null,e.ssFallback,t,n,s,null,i,o),jt(_,e.ssFallback)):_.resolve(!1,!0)}function yf(e,t,n,s,r,i,o,l,{p:c,um:u,o:{createElement:a}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const _=t.ssContent,y=t.ssFallback,{activeBranch:w,pendingBranch:E,isInFallback:q,isHydrating:k}=d;if(E)d.pendingBranch=_,Be(_,E)?(c(E,_,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0?d.resolve():q&&(k||(c(w,y,n,s,r,null,i,o,l),jt(d,y)))):(d.pendingId=rr++,k?(d.isHydrating=!1,d.activeBranch=E):u(E,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=a("div"),q?(c(null,_,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0?d.resolve():(c(w,y,n,s,r,null,i,o,l),jt(d,y))):w&&Be(_,w)?(c(w,_,n,s,r,d,i,o,l),d.resolve(!0)):(c(null,_,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0&&d.resolve()));else if(w&&Be(_,w))c(w,_,n,s,r,d,i,o,l),jt(d,_);else if(vn(t,"onPending"),d.pendingBranch=_,_.shapeFlag&512?d.pendingId=_.component.suspenseId:d.pendingId=rr++,c(null,_,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0)d.resolve();else{const{timeout:R,pendingId:p}=d;R>0?setTimeout(()=>{d.pendingId===p&&d.fallback(y)},R):R===0&&d.fallback(y)}}function nl(e,t,n,s,r,i,o,l,c,u,a=!1){const{p:d,m:_,um:y,n:w,o:{parentNode:E,remove:q}}=u;let k;const R=Tf(e);R&&t&&t.pendingBranch&&(k=t.pendingId,t.deps++);const p=e.props?Qn(e.props.timeout):void 0,g=i,T={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:rr++,timeout:typeof p=="number"?p:-1,activeBranch:null,pendingBranch:null,isInFallback:!a,isHydrating:a,isUnmounted:!1,effects:[],resolve(M=!1,H=!1){const{vnode:C,activeBranch:m,pendingBranch:b,pendingId:L,effects:x,parentComponent:B,container:J}=T;let re=!1;T.isHydrating?T.isHydrating=!1:M||(re=m&&b.transition&&b.transition.mode==="out-in",re&&(m.transition.afterLeave=()=>{L===T.pendingId&&(_(b,J,i===g?w(m):i,0),mn(x))}),m&&(E(m.el)===J&&(i=w(m)),y(m,B,T,!0)),re||_(b,J,i,0)),jt(T,b),T.pendingBranch=null,T.isInFallback=!1;let V=T.parent,Y=!1;for(;V;){if(V.pendingBranch){V.effects.push(...x),Y=!0;break}V=V.parent}!Y&&!re&&mn(x),T.effects=[],R&&t&&t.pendingBranch&&k===t.pendingId&&(t.deps--,t.deps===0&&!H&&t.resolve()),vn(C,"onResolve")},fallback(M){if(!T.pendingBranch)return;const{vnode:H,activeBranch:C,parentComponent:m,container:b,namespace:L}=T;vn(H,"onFallback");const x=w(C),B=()=>{T.isInFallback&&(d(null,M,b,x,m,null,L,l,c),jt(T,M))},J=M.transition&&M.transition.mode==="out-in";J&&(C.transition.afterLeave=B),T.isInFallback=!0,y(C,m,null,!0),J||B()},move(M,H,C){T.activeBranch&&_(T.activeBranch,M,H,C),T.container=M},next(){return T.activeBranch&&w(T.activeBranch)},registerDep(M,H,C){const m=!!T.pendingBranch;m&&T.deps++;const b=M.vnode.el;M.asyncDep.catch(L=>{Pt(L,M,0)}).then(L=>{if(M.isUnmounted||T.isUnmounted||T.pendingId!==M.suspenseId)return;M.asyncResolved=!0;const{vnode:x}=M;ar(M,L,!1),b&&(x.el=b);const B=!b&&M.subTree.el;H(M,x,E(b||M.subTree.el),b?null:w(M.subTree),T,o,C),B&&q(B),Rs(M,x.el),m&&--T.deps===0&&T.resolve()})},unmount(M,H){T.isUnmounted=!0,T.activeBranch&&y(T.activeBranch,n,M,H),T.pendingBranch&&y(T.pendingBranch,n,M,H)}};return T}function bf(e,t,n,s,r,i,o,l,c){const u=t.suspense=nl(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),a=c(e,u.pendingBranch=t.ssContent,n,u,i,o);return u.deps===0&&u.resolve(!1,!0),a}function vf(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=pi(s?n.default:n),e.ssFallback=s?pi(n.fallback):ee(ae)}function pi(e){let t;if(W(e)){const n=xt&&e._c;n&&(e._d=!1,me()),e=e(),n&&(e._d=!0,t=Te,rl())}return $(e)&&(e=uf(e)),e=Oe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function sl(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):mn(e)}function jt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Rs(s,r))}function Tf(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ce=Symbol.for("v-fgt"),gt=Symbol.for("v-txt"),ae=Symbol.for("v-cmt"),wt=Symbol.for("v-stc"),fn=[];let Te=null;function me(e=!1){fn.push(Te=e?null:[])}function rl(){fn.pop(),Te=fn[fn.length-1]||null}let xt=1;function ir(e,t=!1){xt+=e,e<0&&Te&&t&&(Te.hasOnce=!0)}function il(e){return e.dynamicChildren=xt>0?Te||Dt:null,rl(),xt>0&&Te&&Te.push(e),e}function Re(e,t,n,s,r,i){return il(Fe(e,t,n,s,r,i,!0))}function is(e,t,n,s,r){return il(ee(e,t,n,s,r,!0))}function it(e){return e?e.__v_isVNode===!0:!1}function Be(e,t){return e.type===t.type&&e.key===t.key}function Cf(e){}const ol=({key:e})=>e??null,qn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?le(e)||pe(e)||W(e)?{i:he,r:e,k:t,f:!!n}:e:null);function Fe(e,t=null,n=null,s=0,r=null,i=e===ce?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ol(t),ref:t&&qn(t),scopeId:ws,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:he};return l?(Ur(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=le(n)?8:16),xt>0&&!o&&Te&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Te.push(c),c}const ee=Ef;function Ef(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===No)&&(e=ae),it(e)){const l=Je(e,t,!0);return n&&Ur(l,n),xt>0&&!i&&Te&&(l.shapeFlag&6?Te[Te.indexOf(e)]=l:Te.push(l)),l.patchFlag=-2,l}if(Rf(e)&&(e=e.__vccOpts),t){t=ll(t);let{class:l,style:c}=t;l&&!le(l)&&(t.class=At(l)),ne(c)&&(Cs(c)&&!$(c)&&(c=se({},c)),t.style=wn(c))}const o=le(e)?1:rs(e)?128:_o(e)?64:ne(e)?4:W(e)?2:0;return Fe(e,t,n,s,r,o,i,!0)}function ll(e){return e?Cs(e)||ko(e)?se({},e):e:null}function Je(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?cl(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ol(u),ref:t&&t.ref?n&&i?$(i)?i.concat(qn(t)):[i,qn(t)]:qn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ce?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&rt(a,c.clone(a)),a}function jr(e=" ",t=0){return ee(gt,null,e,t)}function wf(e,t){const n=ee(wt,null,e);return n.staticCount=t,n}function or(e="",t=!1){return t?(me(),is(ae,null,e)):ee(ae,null,e)}function Oe(e){return e==null||typeof e=="boolean"?ee(ae):$(e)?ee(ce,null,e.slice()):it(e)?dt(e):ee(gt,null,String(e))}function dt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function Ur(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if($(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ur(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ko(t)?t._ctx=he:r===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:he},n=32):(t=String(t),s&64?(n=16,t=[jr(t)]):n=8);e.children=t,e.shapeFlag|=n}function cl(...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=At([t.class,s.class]));else if(r==="style")t.style=wn([t.style,s.style]);else if(Cn(r)){const i=t[r],o=s[r];o&&i!==o&&!($(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Se(e,t,n,s=null){He(e,t,7,[n,s])}const xf=Fo();let Sf=0;function al(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||xf,i={uid:Sf++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new vr(!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:Vo(s,r),emitsOptions:tl(s,r),emit:null,emitted:null,propsDefaults:Q,inheritAttrs:s.inheritAttrs,ctx:Q,data:Q,props:Q,attrs:Q,slots:Q,refs:Q,setupState:Q,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=ff.bind(null,i),e.ce&&e.ce(i),i}let de=null;const $e=()=>de||he;let os,lr;{const e=gs(),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)}};os=t("__VUE_INSTANCE_SETTERS__",n=>de=n),lr=t("__VUE_SSR_SETTERS__",n=>Kt=n)}const St=e=>{const t=de;return os(e),e.scope.on(),()=>{e.scope.off(),os(t)}},cr=()=>{de&&de.scope.off(),os(null)};function fl(e){return e.vnode.shapeFlag&4}let Kt=!1;function ul(e,t=!1,n=!1){t&&lr(t);const{props:s,children:r}=e.vnode,i=fl(e);Za(e,s,i,t),nf(e,r,n||t);const o=i?Of(e,t):void 0;return t&&lr(!1),o}function Of(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,er);const{setup:s}=n;if(s){tt();const r=e.setupContext=s.length>1?hl(e):null,i=St(e),o=Yt(s,e,0,[e.props,r]),l=yr(o);if(nt(),i(),(l||e.sp)&&!pt(e)&&Nr(e),l){if(o.then(cr,cr),t)return o.then(c=>{ar(e,c,t)}).catch(c=>{Pt(c,e,0)});e.asyncDep=o}else ar(e,o,t)}else dl(e,t)}function ar(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=xr(t)),dl(e,n)}let ls,fr;function Af(e){ls=e,fr=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Ma))}}const Pf=()=>!ls;function dl(e,t,n){const s=e.type;if(!e.render){if(!t&&ls&&!s.render){const r=s.template||$r(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=se(se({isCustomElement:i,delimiters:l},o),c);s.render=ls(r,u)}}e.render=s.render||Le,fr&&fr(e)}{const r=St(e);tt();try{Ka(e)}finally{nt(),r()}}}const Mf={get(e,t){return ve(e,"get",""),e[t]}};function hl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Mf),slots:e.slots,emit:e.emit,expose:t}}function An(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(xr(ro(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cn)return cn[n](e)},has(t,n){return n in t||n in cn}})):e.proxy}function ur(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function Rf(e){return W(e)&&"__vccOpts"in e}const pl=(e,t)=>Vc(e,t,Kt);function gl(e,t,n){const s=arguments.length;return s===2?ne(t)&&!$(t)?it(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&it(n)&&(n=[n]),ee(e,t,n))}function Nf(){}function If(e,t,n,s){const r=n[s];if(r&&ml(r,e))return r;const i=t();return i.memo=e.slice(),i.cacheIndex=s,n[s]=i}function ml(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s<n.length;s++)if(Ee(n[s],t[s]))return!1;return xt>0&&Te&&Te.push(e),!0}const _l="3.5.17",Lf=Le,Ff=Qc,Df=Lt,Hf=go,$f={createComponentInstance:al,setupComponent:ul,renderComponentRoot:Wn,setCurrentRenderingInstance:yn,isVNode:it,normalizeVNode:Oe,getComponentPublicInstance:An,ensureValidVNode:Hr,pushWarningContext:qc,popWarningContext:Gc},kf=$f,Bf=null,Vf=null,jf=null;/**
|
||
* @vue/runtime-dom v3.5.17
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let dr;const gi=typeof window<"u"&&window.trustedTypes;if(gi)try{dr=gi.createPolicy("vue",{createHTML:e=>e})}catch{}const yl=dr?e=>dr.createHTML(e):e=>e,Uf="http://www.w3.org/2000/svg",Kf="http://www.w3.org/1998/Math/MathML",Xe=typeof document<"u"?document:null,mi=Xe&&Xe.createElement("template"),Wf={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"?Xe.createElementNS(Uf,e):t==="mathml"?Xe.createElementNS(Kf,e):n?Xe.createElement(e,{is:n}):Xe.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Xe.createTextNode(e),createComment:e=>Xe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Xe.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{mi.innerHTML=yl(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=mi.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},lt="transition",zt="animation",Wt=Symbol("_vtc"),bl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},vl=se({},Mr,bl),qf=e=>(e.displayName="Transition",e.props=vl,e),Gf=qf((e,{slots:t})=>gl(Co,Tl(e),t)),vt=(e,t=[])=>{$(e)?e.forEach(n=>n(...t)):e&&e(...t)},_i=e=>e?$(e)?e.some(t=>t.length>1):e.length>1:!1;function Tl(e){const t={};for(const x in e)x in bl||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:a=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,w=Yf(r),E=w&&w[0],q=w&&w[1],{onBeforeEnter:k,onEnter:R,onEnterCancelled:p,onLeave:g,onLeaveCancelled:T,onBeforeAppear:M=k,onAppear:H=R,onAppearCancelled:C=p}=t,m=(x,B,J,re)=>{x._enterCancelled=re,ct(x,B?a:l),ct(x,B?u:o),J&&J()},b=(x,B)=>{x._isLeaving=!1,ct(x,d),ct(x,y),ct(x,_),B&&B()},L=x=>(B,J)=>{const re=x?H:R,V=()=>m(B,x,J);vt(re,[B,V]),yi(()=>{ct(B,x?c:i),qe(B,x?a:l),_i(re)||bi(B,s,E,V)})};return se(t,{onBeforeEnter(x){vt(k,[x]),qe(x,i),qe(x,o)},onBeforeAppear(x){vt(M,[x]),qe(x,c),qe(x,u)},onEnter:L(!1),onAppear:L(!0),onLeave(x,B){x._isLeaving=!0;const J=()=>b(x,B);qe(x,d),x._enterCancelled?(qe(x,_),hr()):(hr(),qe(x,_)),yi(()=>{x._isLeaving&&(ct(x,d),qe(x,y),_i(g)||bi(x,s,q,J))}),vt(g,[x,J])},onEnterCancelled(x){m(x,!1,void 0,!0),vt(p,[x])},onAppearCancelled(x){m(x,!0,void 0,!0),vt(C,[x])},onLeaveCancelled(x){b(x),vt(T,[x])}})}function Yf(e){if(e==null)return null;if(ne(e))return[Ws(e.enter),Ws(e.leave)];{const t=Ws(e);return[t,t]}}function Ws(e){return Qn(e)}function qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Wt]||(e[Wt]=new Set)).add(t)}function ct(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Wt];n&&(n.delete(t),n.size||(e[Wt]=void 0))}function yi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Jf=0;function bi(e,t,n,s){const r=e._endId=++Jf,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Cl(e,t);if(!o)return s();const u=o+"end";let a=0;const d=()=>{e.removeEventListener(u,_),i()},_=y=>{y.target===e&&++a>=c&&d()};setTimeout(()=>{a<c&&d()},l+1),e.addEventListener(u,_)}function Cl(e,t){const n=window.getComputedStyle(e),s=w=>(n[w]||"").split(", "),r=s(`${lt}Delay`),i=s(`${lt}Duration`),o=vi(r,i),l=s(`${zt}Delay`),c=s(`${zt}Duration`),u=vi(l,c);let a=null,d=0,_=0;t===lt?o>0&&(a=lt,d=o,_=i.length):t===zt?u>0&&(a=zt,d=u,_=c.length):(d=Math.max(o,u),a=d>0?o>u?lt:zt:null,_=a?a===lt?i.length:c.length:0);const y=a===lt&&/\b(transform|all)(,|$)/.test(s(`${lt}Property`).toString());return{type:a,timeout:d,propCount:_,hasTransform:y}}function vi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Ti(n)+Ti(e[s])))}function Ti(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function hr(){return document.body.offsetHeight}function Qf(e,t,n){const s=e[Wt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const cs=Symbol("_vod"),El=Symbol("_vsh"),Kr={beforeMount(e,{value:t},{transition:n}){e[cs]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):en(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),en(e,!0),s.enter(e)):s.leave(e,()=>{en(e,!1)}):en(e,t))},beforeUnmount(e,{value:t}){en(e,t)}};function en(e,t){e.style.display=t?e[cs]:"none",e[El]=!t}function Xf(){Kr.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const wl=Symbol("");function Zf(e){const t=$e();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>as(i,r))},s=()=>{const r=e(t.proxy);t.ce?as(t.ce,r):pr(t.subTree,r),n(r)};Ir(()=>{mn(s)}),Jt(()=>{Et(s,Le,{flush:"post"});const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Ps(()=>r.disconnect())})}function pr(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{pr(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)as(e.el,t);else if(e.type===ce)e.children.forEach(n=>pr(n,t));else if(e.type===wt){let{el:n,anchor:s}=e;for(;n&&(as(n,t),n!==s);)n=n.nextSibling}}function as(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[wl]=s}}const zf=/(^|;)\s*display\s*:/;function eu(e,t,n){const s=e.style,r=le(n);let i=!1;if(n&&!r){if(t)if(le(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Gn(s,l,"")}else for(const o in t)n[o]==null&&Gn(s,o,"");for(const o in n)o==="display"&&(i=!0),Gn(s,o,n[o])}else if(r){if(t!==n){const o=s[wl];o&&(n+=";"+o),s.cssText=n,i=zf.test(n)}}else t&&e.removeAttribute("style");cs in e&&(e[cs]=i?s.display:"",e[El]&&(s.display="none"))}const Ci=/\s*!important$/;function Gn(e,t,n){if($(n))n.forEach(s=>Gn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=tu(e,t);Ci.test(n)?e.setProperty(Ae(s),n.replace(Ci,""),"important"):e[s]=n}}const Ei=["Webkit","Moz","ms"],qs={};function tu(e,t){const n=qs[t];if(n)return n;let s=_e(t);if(s!=="filter"&&s in e)return qs[t]=s;s=En(s);for(let r=0;r<Ei.length;r++){const i=Ei[r]+s;if(i in e)return qs[t]=i}return t}const wi="http://www.w3.org/1999/xlink";function xi(e,t,n,s,r,i=ic(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(wi,t.slice(6,t.length)):e.setAttributeNS(wi,t,n):n==null||i&&!$i(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Ue(n)?String(n):n)}function Si(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?yl(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=$i(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function et(e,t,n,s){e.addEventListener(t,n,s)}function nu(e,t,n,s){e.removeEventListener(t,n,s)}const Oi=Symbol("_vei");function su(e,t,n,s,r=null){const i=e[Oi]||(e[Oi]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=ru(t);if(s){const u=i[t]=lu(s,r);et(e,l,u,c)}else o&&(nu(e,l,o,c),i[t]=void 0)}}const Ai=/(?:Once|Passive|Capture)$/;function ru(e){let t;if(Ai.test(e)){t={};let s;for(;s=e.match(Ai);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ae(e.slice(2)),t]}let Gs=0;const iu=Promise.resolve(),ou=()=>Gs||(iu.then(()=>Gs=0),Gs=Date.now());function lu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;He(cu(s,n.value),t,5,[s])};return n.value=e,n.attached=ou(),n}function cu(e,t){if($(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 Pi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,au=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Qf(e,s,o):t==="style"?eu(e,n,s):Cn(t)?mr(t)||su(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):fu(e,t,s,o))?(Si(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xi(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!le(s))?Si(e,_e(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),xi(e,t,s,o))};function fu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Pi(t)&&W(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||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 Pi(t)&&le(n)?!1:t in e}const Mi={};/*! #__NO_SIDE_EFFECTS__ */function xl(e,t,n){const s=Rr(e,t);hs(s)&&se(s,t);class r extends Ns{constructor(o){super(s,o,n)}}return r.def=s,r}/*! #__NO_SIDE_EFFECTS__ */const uu=(e,t)=>xl(e,t,Hl),du=typeof HTMLElement<"u"?HTMLElement:class{};class Ns extends du{constructor(t,n={},s=us){super(),this._def=t,this._props=n,this._createApp=s,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&s!==us?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Ns){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,xn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(s=>{for(const r of s)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(s,r=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:o}=s;let l;if(i&&!$(i))for(const c in i){const u=i[c];(u===Number||u&&u.type===Number)&&(c in this._props&&(this._props[c]=Qn(this._props[c])),(l||(l=Object.create(null)))[_e(c)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot&&this._applyStyles(o),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,t(this._def=s,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)z(this,s)||Object.defineProperty(this,s,{get:()=>Es(n[s])})}_resolveProps(t){const{props:n}=t,s=$(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r]);for(const r of s.map(_e))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):Mi;const r=_e(t);n&&this._numberProps&&this._numberProps[r]&&(s=Qn(s)),this._setProp(r,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!1){if(n!==this._props[t]&&(n===Mi?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),r&&this._instance&&this._update(),s)){const i=this._ob;i&&i.disconnect(),n===!0?this.setAttribute(Ae(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Ae(t),n+""):n||this.removeAttribute(Ae(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Dl(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=ee(this._def,se(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0;const r=(i,o)=>{this.dispatchEvent(new CustomEvent(i,hs(o[0])?se({detail:o},o[0]):{detail:o}))};s.emit=(i,...o)=>{r(i,o),Ae(i)!==i&&r(Ae(i),o)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const s=this._nonce;for(let r=t.length-1;r>=0;r--){const i=document.createElement("style");s&&i.setAttribute("nonce",s),i.textContent=t[r],this.shadowRoot.prepend(i)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const s=n.nodeType===1&&n.getAttribute("slot")||"default";(t[s]||(t[s]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let s=0;s<t.length;s++){const r=t[s],i=r.getAttribute("name")||"default",o=this._slots[i],l=r.parentNode;if(o)for(const c of o){if(n&&c.nodeType===1){const u=n+"-s",a=document.createTreeWalker(c,1);c.setAttribute(u,"");let d;for(;d=a.nextNode();)d.setAttribute(u,"")}l.insertBefore(c,r)}else for(;r.firstChild;)l.insertBefore(r.firstChild,r);l.removeChild(r)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function Sl(e){const t=$e(),n=t&&t.ce;return n||null}function hu(){const e=Sl();return e&&e.shadowRoot}function pu(e="$style"){{const t=$e();if(!t)return Q;const n=t.type.__cssModules;if(!n)return Q;const s=n[e];return s||Q}}const Ol=new WeakMap,Al=new WeakMap,fs=Symbol("_moveCb"),Ri=Symbol("_enterCb"),gu=e=>(delete e.props.mode,e),mu=gu({name:"TransitionGroup",props:se({},vl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=$e(),s=Pr();let r,i;return Os(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Tu(r[0].el,n.vnode.el,o)){r=[];return}r.forEach(yu),r.forEach(bu);const l=r.filter(vu);hr(),l.forEach(c=>{const u=c.el,a=u.style;qe(u,o),a.transform=a.webkitTransform=a.transitionDuration="";const d=u[fs]=_=>{_&&_.target!==u||(!_||/transform$/.test(_.propertyName))&&(u.removeEventListener("transitionend",d),u[fs]=null,ct(u,o))};u.addEventListener("transitionend",d)}),r=[]}),()=>{const o=Z(e),l=Tl(o);let c=o.tag||ce;if(r=[],i)for(let u=0;u<i.length;u++){const a=i[u];a.el&&a.el instanceof Element&&(r.push(a),rt(a,Ut(a,l,s,n)),Ol.set(a,a.el.getBoundingClientRect()))}i=t.default?xs(t.default()):[];for(let u=0;u<i.length;u++){const a=i[u];a.key!=null&&rt(a,Ut(a,l,s,n))}return ee(c,null,i)}}}),_u=mu;function yu(e){const t=e.el;t[fs]&&t[fs](),t[Ri]&&t[Ri]()}function bu(e){Al.set(e,e.el.getBoundingClientRect())}function vu(e){const t=Ol.get(e),n=Al.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",e}}function Tu(e,t,n){const s=e.cloneNode(),r=e[Wt];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=Cl(s);return i.removeChild(s),o}const _t=e=>{const t=e.props["onUpdate:modelValue"]||!1;return $(t)?n=>kt(t,n):t};function Cu(e){e.target.composing=!0}function Ni(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const De=Symbol("_assign"),Tn={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[De]=_t(r);const i=s||r.props&&r.props.type==="number";et(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Jn(l)),e[De](l)}),n&&et(e,"change",()=>{e.value=e.value.trim()}),t||(et(e,"compositionstart",Cu),et(e,"compositionend",Ni),et(e,"change",Ni))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[De]=_t(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Jn(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Wr={deep:!0,created(e,t,n){e[De]=_t(n),et(e,"change",()=>{const s=e._modelValue,r=qt(e),i=e.checked,o=e[De];if($(s)){const l=ms(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const u=[...s];u.splice(l,1),o(u)}}else if(Ot(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(Ml(e,i))})},mounted:Ii,beforeUpdate(e,t,n){e[De]=_t(n),Ii(e,t,n)}};function Ii(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if($(t))r=ms(t,s.props.value)>-1;else if(Ot(t))r=t.has(s.props.value);else{if(t===n)return;r=mt(t,Ml(e,!0))}e.checked!==r&&(e.checked=r)}const qr={created(e,{value:t},n){e.checked=mt(t,n.props.value),e[De]=_t(n),et(e,"change",()=>{e[De](qt(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[De]=_t(s),t!==n&&(e.checked=mt(t,s.props.value))}},Pl={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=Ot(t);et(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Jn(qt(o)):qt(o));e[De](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,xn(()=>{e._assigning=!1})}),e[De]=_t(s)},mounted(e,{value:t}){Li(e,t)},beforeUpdate(e,t,n){e[De]=_t(n)},updated(e,{value:t}){e._assigning||Li(e,t)}};function Li(e,t){const n=e.multiple,s=$(t);if(!(n&&!s&&!Ot(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=qt(o);if(n)if(s){const c=typeof l;c==="string"||c==="number"?o.selected=t.some(u=>String(u)===String(l)):o.selected=ms(t,l)>-1}else o.selected=t.has(l);else if(mt(qt(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function qt(e){return"_value"in e?e._value:e.value}function Ml(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Rl={created(e,t,n){Vn(e,t,n,null,"created")},mounted(e,t,n){Vn(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Vn(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Vn(e,t,n,s,"updated")}};function Nl(e,t){switch(e){case"SELECT":return Pl;case"TEXTAREA":return Tn;default:switch(t){case"checkbox":return Wr;case"radio":return qr;default:return Tn}}}function Vn(e,t,n,s,r){const o=Nl(e.tagName,n.props&&n.props.type)[r];o&&o(e,t,n,s)}function Eu(){Tn.getSSRProps=({value:e})=>({value:e}),qr.getSSRProps=({value:e},t)=>{if(t.props&&mt(t.props.value,e))return{checked:!0}},Wr.getSSRProps=({value:e},t)=>{if($(e)){if(t.props&&ms(e,t.props.value)>-1)return{checked:!0}}else if(Ot(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Rl.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Nl(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const wu=["ctrl","shift","alt","meta"],xu={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)=>wu.some(n=>e[`${n}Key`]&&!t.includes(n))},Yn=(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 l=xu[t[o]];if(l&&l(r,t))return}return e(r,...i)})},Su={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},gr=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=Ae(r.key);if(t.some(o=>o===i||Su[o]===i))return e(r)})},Il=se({patchProp:au},Wf);let un,Fi=!1;function Ll(){return un||(un=Wo(Il))}function Fl(){return un=Fi?un:qo(Il),Fi=!0,un}const Dl=(...e)=>{Ll().render(...e)},Ou=(...e)=>{Fl().hydrate(...e)},us=(...e)=>{const t=Ll().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=kl(s);if(!r)return;const i=t._component;!W(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,$l(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Hl=(...e)=>{const t=Fl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=kl(s);if(r)return n(r,!0,$l(r))},t};function $l(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function kl(e){return le(e)?document.querySelector(e):e}let Di=!1;const Au=()=>{Di||(Di=!0,Eu(),Xf())};/**
|
||
* vue v3.5.17
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Pu=()=>{},Mu=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Co,BaseTransitionPropsValidators:Mr,Comment:ae,DeprecationTypes:jf,EffectScope:vr,ErrorCodes:Jc,ErrorTypeStrings:Ff,Fragment:ce,KeepAlive:Ta,ReactiveEffect:hn,Static:wt,Suspense:mf,Teleport:sa,Text:gt,TrackOpTypes:jc,Transition:Gf,TransitionGroup:_u,TriggerOpTypes:Uc,VueElement:Ns,assertNumber:Yc,callWithAsyncErrorHandling:He,callWithErrorHandling:Yt,camelize:_e,capitalize:En,cloneVNode:Je,compatUtils:Vf,compile:Pu,computed:pl,createApp:us,createBlock:is,createCommentVNode:or,createElementBlock:Re,createElementVNode:Fe,createHydrationRenderer:qo,createPropsRestProxy:ja,createRenderer:Wo,createSSRApp:Hl,createSlots:Oa,createStaticVNode:wf,createTextVNode:jr,createVNode:ee,customRef:lo,defineAsyncComponent:ba,defineComponent:Rr,defineCustomElement:xl,defineEmits:Na,defineExpose:Ia,defineModel:Da,defineOptions:La,defineProps:Ra,defineSSRCustomElement:uu,defineSlots:Fa,devtools:Df,effect:fc,effectScope:lc,getCurrentInstance:$e,getCurrentScope:Vi,getCurrentWatcher:Kc,getTransitionRawChildren:xs,guardReactiveProps:ll,h:gl,handleError:Pt,hasInjectionContext:Xa,hydrate:Ou,hydrateOnIdle:ha,hydrateOnInteraction:_a,hydrateOnMediaQuery:ma,hydrateOnVisible:ga,initCustomFormatter:Nf,initDirectivesForSSR:Au,inject:an,isMemoSame:ml,isProxy:Cs,isReactive:ht,isReadonly:st,isRef:pe,isRuntimeOnly:Pf,isShallow:Ne,isVNode:it,markRaw:ro,mergeDefaults:Ba,mergeModels:Va,mergeProps:cl,nextTick:xn,normalizeClass:At,normalizeProps:sc,normalizeStyle:wn,onActivated:wo,onBeforeMount:Oo,onBeforeUnmount:As,onBeforeUpdate:Ir,onDeactivated:xo,onErrorCaptured:Ro,onMounted:Jt,onRenderTracked:Mo,onRenderTriggered:Po,onScopeDispose:cc,onServerPrefetch:Ao,onUnmounted:Ps,onUpdated:Os,onWatcherCleanup:ao,openBlock:me,popScopeId:ea,provide:Do,proxyRefs:xr,pushScopeId:zc,queuePostFlushCb:mn,reactive:vs,readonly:wr,ref:Ve,registerRuntimeCompiler:Af,render:Dl,renderList:Dr,renderSlot:Aa,resolveComponent:wa,resolveDirective:Sa,resolveDynamicComponent:xa,resolveFilter:Bf,resolveTransitionHooks:Ut,setBlockTracking:ir,setDevtoolsHook:Hf,setTransitionHooks:rt,shallowReactive:so,shallowReadonly:Mc,shallowRef:io,ssrContextKey:Qo,ssrUtils:kf,stop:uc,toDisplayString:dn,toHandlerKey:sn,toHandlers:Pa,toRaw:Z,toRef:kc,toRefs:Dc,toValue:Ic,transformVNodeArgs:Cf,triggerRef:Nc,unref:Es,useAttrs:ka,useCssModule:pu,useCssVars:Zf,useHost:Sl,useId:ia,useModel:af,useSSRContext:Xo,useShadowRoot:hu,useSlots:$a,useTemplateRef:oa,useTransitionState:Pr,vModelCheckbox:Wr,vModelDynamic:Rl,vModelRadio:qr,vModelSelect:Pl,vModelText:Tn,vShow:Kr,version:_l,warn:Lf,watch:Et,watchEffect:of,watchPostEffect:lf,watchSyncEffect:Zo,withAsyncContext:Ua,withCtx:Or,withDefaults:Ha,withDirectives:Ar,withKeys:gr,withMemo:If,withModifiers:Yn,withScopeId:ta},Symbol.toStringTag,{value:"Module"})),Pn=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ru={class:"sidebar"},Nu={class:"chat-list"},Iu=["onClick"],Lu={__name:"ChatSidebar",props:{chats:{type:Array,required:!0},currentChatId:{type:String,default:""}},emits:["select-chat","create-chat"],setup(e){return(t,n)=>(me(),Re("aside",Ru,[n[1]||(n[1]=Fe("h2",null,"🗂️ Chats",-1)),Fe("button",{class:"new-chat-btn",onClick:n[0]||(n[0]=s=>t.$emit("create-chat"))}," ➕ Nuevo chat "),Fe("ul",Nu,[(me(!0),Re(ce,null,Dr(e.chats,s=>(me(),Re("li",{key:s.id,class:At({active:s.id===e.currentChatId}),onClick:r=>t.$emit("select-chat",s.id)},dn(s.name),11,Iu))),128))])]))}},Fu=Pn(Lu,[["__scopeId","data-v-cd451cf6"]]),Du={formatDate(e){if(!e)return"";const t=new Date(e),n=t.getDate().toString().padStart(2,"0"),s=(t.getMonth()+1).toString().padStart(2,"0"),r=t.getFullYear(),i=t.getHours().toString().padStart(2,"0"),o=t.getMinutes().toString().padStart(2,"0");return`${n}/${s}/${r} ${i}:${o}`}},Hu={class:"timestamp"},$u={key:0,class:"spinner"},ku={key:1,class:"thinking-text"},Bu={__name:"ChatMessages",props:{messages:{type:Array,required:!0},isLoading:{type:Boolean,default:!1}},setup(e){const t=e,n=Ve(null);Et(()=>t.messages.length,async()=>{await xn(),n.value&&(n.value.scrollTop=n.value.scrollHeight)});const s=r=>Du.formatDate(r);return(r,i)=>(me(),Re(ce,null,[Fe("div",{class:"chat-log",ref_key:"chatLog",ref:n},[(me(!0),Re(ce,null,Dr(e.messages,(o,l)=>Ar((me(),Re("div",{key:l,class:At(["bubble",o.role])},[Fe("span",null,dn(o.text),1),Fe("em",Hu,dn(s(o.date)),1)],2)),[[Kr,o.text]])),128))],512),e.isLoading?(me(),Re("div",$u)):or("",!0),e.isLoading?(me(),Re("div",ku,"Pensando...")):or("",!0)],64))}},Vu=Pn(Bu,[["__scopeId","data-v-96cd1719"]]),ju=["disabled","onKeydown"],Uu=["disabled"],Ku={__name:"ChatForm",props:{disabled:{type:Boolean,default:!1}},emits:["send-message"],setup(e,{emit:t}){const n=t,s=Ve(""),r=()=>{s.value.trim()&&(n("send-message",s.value.trim()),s.value="")},i=()=>{s.value+=`
|
||
`};return(o,l)=>(me(),Re("form",{class:"chat-form",onSubmit:Yn(r,["prevent"])},[Ar(Fe("textarea",{"onUpdate:modelValue":l[0]||(l[0]=c=>s.value=c),"aria-label":"Pregunta del usuario",placeholder:"Escribe tu mensaje...",autocomplete:"off",required:"",disabled:e.disabled,onKeydown:[gr(Yn(r,["exact","prevent"]),["enter"]),gr(Yn(i,["shift","exact"]),["enter"])]},null,40,ju),[[Tn,s.value]]),Fe("button",{type:"submit",disabled:e.disabled||!s.value.trim()}," Enviar ",8,Uu)],32))}},Wu=Pn(Ku,[["__scopeId","data-v-dca915bb"]]),qu={class:"main-content"},Gu={__name:"ChatMain",props:{messages:{type:Array,required:!0},isLoading:{type:Boolean,default:!1}},emits:["send-message"],setup(e,{emit:t}){const n=t,s=r=>{n("send-message",r)};return(r,i)=>(me(),Re("main",qu,[i[0]||(i[0]=Fe("h1",{class:"main-title"},"🤖 Chat IA Offline",-1)),ee(Vu,{messages:e.messages,"is-loading":e.isLoading},null,8,["messages","is-loading"]),ee(Wu,{onSendMessage:s,disabled:e.isLoading},null,8,["disabled"])]))}},Yu=Pn(Gu,[["__scopeId","data-v-2c6be2f2"]]);var Ju=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Xu(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function s(){return this instanceof s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}),n}var Bl={exports:{}};const Zu=Xu(Mu);(function(e,t){(function(s,r){e.exports=r(Zu)})(Ju,n=>(()=>{var s={113:(C,m)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.default=(b,L)=>{const x=b.__vccOpts||b;for(const[B,J]of L)x[B]=J;return x}},594:C=>{C.exports=n}},r={};function i(C){var m=r[C];if(m!==void 0)return m.exports;var b=r[C]={exports:{}};return s[C](b,b.exports,i),b.exports}i.d=(C,m)=>{for(var b in m)i.o(m,b)&&!i.o(C,b)&&Object.defineProperty(C,b,{enumerable:!0,get:m[b]})},i.o=(C,m)=>Object.prototype.hasOwnProperty.call(C,m),i.r=C=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})};var o={};i.r(o),i.d(o,{ToastComponent:()=>g,ToastPlugin:()=>M,ToastPositions:()=>y,default:()=>H,useToast:()=>T});var l=i(594);const c=["innerHTML"];function u(C,m,b,L,x,B){return(0,l.openBlock)(),(0,l.createBlock)(l.Transition,{"enter-active-class":C.transition.enter,"leave-active-class":C.transition.leave},{default:(0,l.withCtx)(()=>[(0,l.withDirectives)((0,l.createElementVNode)("div",{ref:"root",role:"alert",class:(0,l.normalizeClass)(["v-toast__item",[`v-toast__item--${C.type}`,`v-toast__item--${C.position}`]]),onMouseover:m[0]||(m[0]=J=>C.toggleTimer(!0)),onMouseleave:m[1]||(m[1]=J=>C.toggleTimer(!1)),onClick:m[2]||(m[2]=function(){return C.whenClicked&&C.whenClicked(...arguments)})},[m[3]||(m[3]=(0,l.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,l.createElementVNode)("p",{class:"v-toast__text",innerHTML:C.message},null,8,c)],34),[[l.vShow,C.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function a(C){var m;typeof C.remove<"u"?C.remove():(m=C.parentNode)==null||m.removeChild(C)}function d(C,m,b){let L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const x=(0,l.h)(C,m,L),B=document.createElement("div");return B.classList.add("v-toast--pending"),b.appendChild(B),(0,l.render)(x,B),x.component}class _{constructor(m,b){this.startedAt=Date.now(),this.callback=m,this.delay=b,this.timer=setTimeout(m,b)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt}resume(){this.stop(),this.startedAt=Date.now(),this.timer=setTimeout(this.callback,this.delay)}stop(){clearTimeout(this.timer)}}const y=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function w(C){return{all:C=C||new Map,on:function(m,b){var L=C.get(m);L?L.push(b):C.set(m,[b])},off:function(m,b){var L=C.get(m);L&&(b?L.splice(L.indexOf(b)>>>0,1):C.set(m,[]))},emit:function(m,b){var L=C.get(m);L&&L.slice().map(function(x){x(b)}),(L=C.get("*"))&&L.slice().map(function(x){x(m,b)})}}}const q=w(),k=(0,l.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:y.BOTTOM_RIGHT,validator(C){return Object.values(y).includes(C)}},duration:{type:Number,default:3e3},dismissible:{type:Boolean,default:!0},onDismiss:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},queue:Boolean,pauseOnHover:{type:Boolean,default:!0}},data(){return{isActive:!1,parentTop:null,parentBottom:null,isHovered:!1}},beforeMount(){this.setupContainer()},mounted(){this.showNotice(),q.on("toast-clear",this.dismiss)},methods:{setupContainer(){if(this.parentTop=document.querySelector(".v-toast.v-toast--top"),this.parentBottom=document.querySelector(".v-toast.v-toast--bottom"),this.parentTop&&this.parentBottom)return;this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="v-toast v-toast--top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="v-toast v-toast--bottom");const C=document.body;C.appendChild(this.parentTop),C.appendChild(this.parentBottom)},shouldQueue(){return this.queue?this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0:!1},dismiss(){this.timer&&this.timer.stop(),clearTimeout(this.queueTimer),this.isActive=!1,setTimeout(()=>{this.onDismiss.apply(null,arguments);const C=this.$refs.root;(0,l.render)(null,C),a(C)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const C=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),a(C),this.isActive=!0,this.duration&&(this.timer=new _(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(C){!this.pauseOnHover||!this.timer||(C?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case y.TOP:case y.TOP_RIGHT:case y.TOP_LEFT:return this.parentTop;case y.BOTTOM:case y.BOTTOM_RIGHT:case y.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case y.TOP:case y.TOP_RIGHT:case y.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case y.BOTTOM:case y.BOTTOM_RIGHT:case y.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){q.off("toast-clear",this.dismiss)}});var R=i(113);const g=(0,R.default)(k,[["render",u]]),T=function(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(m){let b=null;typeof m=="string"&&(b=m);const x=Object.assign({},{message:b},C,m);return{dismiss:d(g,x,document.body).ctx.dismiss}},clear(){q.emit("toast-clear")},success(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"success"},b))},error(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"error"},b))},info(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"info"},b))},warning(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"warning"},b))},default(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:m,type:"default"},b))}}},M={install:function(C){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=T(m);C.config.globalProperties.$toast=b,C.provide("$toast",b)}},H=M;return o})())})(Bl);var Vl=Bl.exports;const zu=Qu(Vl),jn=Vl.useToast();class ed{async getChats(){try{const t=await fetch("/api/v1/chats",{method:"GET"});if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return await t.json()}catch(t){throw console.error("Error fetching chats:",t),jn.error("Error loading chats"),t}}async createChat(){try{const t=await fetch("/api/v1/chats",{method:"POST"});if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return await t.text()}catch(t){throw console.error("Error creating chat:",t),jn.error("Could not create chat"),t}}async getChatMessages(t){try{const n=await fetch(`/api/v1/chats/${t}`);if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);return await n.json()}catch(n){throw console.error("Error fetching messages:",n),jn.error("Failed to load messages"),n}}async sendMessage(t,n){try{const s=await fetch(`/api/v1/chats/${t}`,{method:"PUT",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({prompt:n})});if(!s.ok)throw new Error(`HTTP error! status: ${s.status}`);return await s.json()}catch(s){throw console.error("Error sending message:",s),jn.error("Message could not be sent"),s}}}const Un=new ed,td={class:"layout-container"},nd={__name:"ChatLayout",setup(e){const t=Ve(""),n=Ve([]),s=Ve([]),r=Ve(!1),i=async()=>{try{const a=await Un.getChats();n.value=a,!t.value&&a.length>0&&(t.value=a[0].id,await o(t.value))}catch(a){console.error("Error cargando historial:",a)}},o=async a=>{try{const d=await Un.getChatMessages(a);s.value=d}catch(d){console.error("Error al cargar mensajes:",d),s.value.push({role:"bot",text:"❌ Error cargando mensajes del chat.",date:new Date().toISOString()})}},l=async a=>{a!==t.value&&(t.value=a,await o(t.value))},c=async()=>{try{const a=await Un.createChat();t.value=a,await i(),await o(t.value)}catch(a){console.error("Error al crear nuevo chat:",a),s.value&&s.value.push({role:"bot",text:"❌ Error creando nuevo chat.",date:new Date().toISOString()})}},u=async a=>{t.value||await c();const d={role:"user",text:a,date:new Date().toISOString()};s.value.push(d),r.value=!0;try{const _=await Un.sendMessage(t.value,a);t.value=_.chatId;const y={role:"bot",text:_.text,date:_.date};s.value.push(y),await i()}catch(_){console.error("Error enviando mensaje:",_),s.value.push({role:"bot",text:"❌ Error procesando la respuesta.",date:new Date().toISOString()})}finally{r.value=!1}};return Jt(async()=>{await i()}),(a,d)=>(me(),Re("div",td,[ee(Fu,{chats:n.value,"current-chat-id":t.value,onSelectChat:l,onCreateChat:c},null,8,["chats","current-chat-id"]),ee(Yu,{messages:s.value,"is-loading":r.value,onSendMessage:u},null,8,["messages","is-loading"])]))}},sd=Pn(nd,[["__scopeId","data-v-643ced73"]]),rd={id:"app"},id={__name:"App",setup(e){return(t,n)=>(me(),Re("div",rd,[ee(sd)]))}},jl=us(id);jl.use(zu,{position:"top-left",duration:1e3,dismissible:!0,queue:!0,maxToasts:3,pauseOnHover:!0,animation:"slide"});jl.mount("#app");
|