diff --git "a/assets/index-ChtOPc_T.js" "b/assets/index-ChtOPc_T.js" deleted file mode 100644--- "a/assets/index-ChtOPc_T.js" +++ /dev/null @@ -1,17 +0,0 @@ -var ta=Object.defineProperty;var na=(e,t,n)=>t in e?ta(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ve=(e,t,n)=>na(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function wr(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Br(e,t,n=".",r){if(!wr(t))return Br(e,{},n,r);const s=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const o=e[i];o!=null&&(r&&r(s,i,o,n)||(Array.isArray(o)&&Array.isArray(s[i])?s[i]=[...o,...s[i]]:wr(o)&&wr(s[i])?s[i]=Br(o,s[i],(n?`${n}.`:"")+i.toString(),r):s[i]=o))}return s}function ra(e){return(...t)=>t.reduce((n,r)=>Br(n,r,"",e),{})}const Bi=ra();/** -* @vue/shared v3.5.13 -* (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 le={},Nt=[],Xe=()=>{},sa=()=>!1,Qn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ps=e=>e.startsWith("onUpdate:"),ye=Object.assign,hs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ia=Object.prototype.hasOwnProperty,ne=(e,t)=>ia.call(e,t),N=Array.isArray,Dt=e=>mn(e)==="[object Map]",er=e=>mn(e)==="[object Set]",Bs=e=>mn(e)==="[object Date]",$=e=>typeof e=="function",he=e=>typeof e=="string",Qe=e=>typeof e=="symbol",ie=e=>e!==null&&typeof e=="object",Wi=e=>(ie(e)||$(e))&&$(e.then)&&$(e.catch),zi=Object.prototype.toString,mn=e=>zi.call(e),oa=e=>mn(e).slice(8,-1),Ki=e=>mn(e)==="[object Object]",gs=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Yt=ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),tr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},la=/-(\w)/g,pt=tr(e=>e.replace(la,(t,n)=>n?n.toUpperCase():"")),aa=/\B([A-Z])/g,Pt=tr(e=>e.replace(aa,"-$1").toLowerCase()),qi=tr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Sr=tr(e=>e?`on${qi(e)}`:""),dt=(e,t)=>!Object.is(e,t),Ln=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ji=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ca=e=>{const t=he(e)?Number(e):NaN;return isNaN(t)?e:t};let Ws;const nr=()=>Ws||(Ws=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function rr(e){if(N(e)){const t={};for(let n=0;n{if(n){const r=n.split(fa);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function sr(e){let t="";if(he(e))t=e;else if(N(e))for(let n=0;nir(n,t))}const Zi=e=>!!(e&&e.__v_isRef===!0),Ft=e=>he(e)?e:e==null?"":N(e)||ie(e)&&(e.toString===zi||!$(e.toString))?Zi(e)?Ft(e.value):JSON.stringify(e,Xi,2):String(e),Xi=(e,t)=>Zi(t)?Xi(e,t.value):Dt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Or(r,i)+" =>"]=s,n),{})}:er(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Or(n))}:Qe(t)?Or(t):ie(t)&&!N(t)&&!Ki(t)?String(t):t,Or=(e,t="")=>{var n;return Qe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Ce;class ya{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ce,!t&&Ce&&(this.index=(Ce.scopes||(Ce.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Xt){let t=Xt;for(Xt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Zt;){let t=Zt;for(Zt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function ro(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function so(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),ys(r),_a(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Wr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(io(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function io(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ln))return;e.globalVersion=ln;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Wr(e)){e.flags&=-3;return}const n=ce,r=Ue;ce=e,Ue=!0;try{ro(e);const s=e.fn(e._value);(t.version===0||dt(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ce=n,Ue=r,so(e),e.flags&=-3}}function ys(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)ys(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function _a(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ue=!0;const oo=[];function mt(){oo.push(Ue),Ue=!1}function vt(){const e=oo.pop();Ue=e===void 0?!0:e}function zs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ce;ce=void 0;try{t()}finally{ce=n}}}let ln=0;class xa{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 or{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}track(t){if(!ce||!Ue||ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ce)n=this.activeLink=new xa(ce,this),ce.deps?(n.prevDep=ce.depsTail,ce.depsTail.nextDep=n,ce.depsTail=n):ce.deps=ce.depsTail=n,lo(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ce.depsTail,n.nextDep=void 0,ce.depsTail.nextDep=n,ce.depsTail=n,ce.deps===n&&(ce.deps=r)}return n}trigger(t){this.version++,ln++,this.notify(t)}notify(t){ms();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{vs()}}}function lo(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)lo(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Hn=new WeakMap,At=Symbol(""),zr=Symbol(""),an=Symbol("");function we(e,t,n){if(Ue&&ce){let r=Hn.get(e);r||Hn.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new or),s.map=r,s.key=n),s.track()}}function rt(e,t,n,r,s,i){const o=Hn.get(e);if(!o){ln++;return}const l=a=>{a&&a.trigger()};if(ms(),t==="clear")o.forEach(l);else{const a=N(e),u=a&&gs(n);if(a&&n==="length"){const c=Number(r);o.forEach((f,h)=>{(h==="length"||h===an||!Qe(h)&&h>=c)&&l(f)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(an)),t){case"add":a?u&&l(o.get("length")):(l(o.get(At)),Dt(e)&&l(o.get(zr)));break;case"delete":a||(l(o.get(At)),Dt(e)&&l(o.get(zr)));break;case"set":Dt(e)&&l(o.get(At));break}}vs()}function wa(e,t){const n=Hn.get(e);return n&&n.get(t)}function Lt(e){const t=G(e);return t===e?t:(we(t,"iterate",an),$e(e)?t:t.map(Se))}function lr(e){return we(e=G(e),"iterate",an),e}const Sa={__proto__:null,[Symbol.iterator](){return Cr(this,Symbol.iterator,Se)},concat(...e){return Lt(this).concat(...e.map(t=>N(t)?Lt(t):t))},entries(){return Cr(this,"entries",e=>(e[1]=Se(e[1]),e))},every(e,t){return et(this,"every",e,t,void 0,arguments)},filter(e,t){return et(this,"filter",e,t,n=>n.map(Se),arguments)},find(e,t){return et(this,"find",e,t,Se,arguments)},findIndex(e,t){return et(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return et(this,"findLast",e,t,Se,arguments)},findLastIndex(e,t){return et(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return et(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ar(this,"includes",e)},indexOf(...e){return Ar(this,"indexOf",e)},join(e){return Lt(this).join(e)},lastIndexOf(...e){return Ar(this,"lastIndexOf",e)},map(e,t){return et(this,"map",e,t,void 0,arguments)},pop(){return qt(this,"pop")},push(...e){return qt(this,"push",e)},reduce(e,...t){return Ks(this,"reduce",e,t)},reduceRight(e,...t){return Ks(this,"reduceRight",e,t)},shift(){return qt(this,"shift")},some(e,t){return et(this,"some",e,t,void 0,arguments)},splice(...e){return qt(this,"splice",e)},toReversed(){return Lt(this).toReversed()},toSorted(e){return Lt(this).toSorted(e)},toSpliced(...e){return Lt(this).toSpliced(...e)},unshift(...e){return qt(this,"unshift",e)},values(){return Cr(this,"values",Se)}};function Cr(e,t,n){const r=lr(e),s=r[t]();return r!==e&&!$e(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=n(i.value)),i}),s}const Oa=Array.prototype;function et(e,t,n,r,s,i){const o=lr(e),l=o!==e&&!$e(e),a=o[t];if(a!==Oa[t]){const f=a.apply(e,i);return l?Se(f):f}let u=n;o!==e&&(l?u=function(f,h){return n.call(this,Se(f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const c=a.call(o,u,r);return l&&s?s(c):c}function Ks(e,t,n,r){const s=lr(e);let i=n;return s!==e&&($e(e)?n.length>3&&(i=function(o,l,a){return n.call(this,o,l,a,e)}):i=function(o,l,a){return n.call(this,o,Se(l),a,e)}),s[t](i,...r)}function Ar(e,t,n){const r=G(e);we(r,"iterate",an);const s=r[t](...n);return(s===-1||s===!1)&&xs(n[0])?(n[0]=G(n[0]),r[t](...n)):s}function qt(e,t,n=[]){mt(),ms();const r=G(e)[t].apply(e,n);return vs(),vt(),r}const Ta=ds("__proto__,__v_isRef,__isVue"),ao=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qe));function Ca(e){Qe(e)||(e=String(e));const t=G(this);return we(t,"has",e),t.hasOwnProperty(e)}class co{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?ka:ho:i?po:fo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=N(t);if(!s){let a;if(o&&(a=Sa[n]))return a;if(n==="hasOwnProperty")return Ca}const l=Reflect.get(t,n,ve(t)?t:r);return(Qe(n)?ao.has(n):Ta(n))||(s||we(t,"get",n),i)?l:ve(l)?o&&gs(n)?l:l.value:ie(l)?s?ar(l):It(l):l}}class uo extends co{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const a=Rt(i);if(!$e(r)&&!Rt(r)&&(i=G(i),r=G(r)),!N(t)&&ve(i)&&!ve(r))return a?!1:(i.value=r,!0)}const o=N(t)&&gs(n)?Number(n)e,Cn=e=>Reflect.getPrototypeOf(e);function Pa(e,t,n){return function(...r){const s=this.__v_raw,i=G(s),o=Dt(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,u=s[e](...r),c=n?Kr:t?qr:Se;return!t&&we(i,"iterate",a?zr:At),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:l?[c(f[0]),c(f[1])]:c(f),done:h}},[Symbol.iterator](){return this}}}}function An(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ia(e,t){const n={get(s){const i=this.__v_raw,o=G(i),l=G(s);e||(dt(s,l)&&we(o,"get",s),we(o,"get",l));const{has:a}=Cn(o),u=t?Kr:e?qr:Se;if(a.call(o,s))return u(i.get(s));if(a.call(o,l))return u(i.get(l));i!==o&&i.get(s)},get size(){const s=this.__v_raw;return!e&&we(G(s),"iterate",At),Reflect.get(s,"size",s)},has(s){const i=this.__v_raw,o=G(i),l=G(s);return e||(dt(s,l)&&we(o,"has",s),we(o,"has",l)),s===l?i.has(s):i.has(s)||i.has(l)},forEach(s,i){const o=this,l=o.__v_raw,a=G(l),u=t?Kr:e?qr:Se;return!e&&we(a,"iterate",At),l.forEach((c,f)=>s.call(i,u(c),u(f),o))}};return ye(n,e?{add:An("add"),set:An("set"),delete:An("delete"),clear:An("clear")}:{add(s){!t&&!$e(s)&&!Rt(s)&&(s=G(s));const i=G(this);return Cn(i).has.call(i,s)||(i.add(s),rt(i,"add",s,s)),this},set(s,i){!t&&!$e(i)&&!Rt(i)&&(i=G(i));const o=G(this),{has:l,get:a}=Cn(o);let u=l.call(o,s);u||(s=G(s),u=l.call(o,s));const c=a.call(o,s);return o.set(s,i),u?dt(i,c)&&rt(o,"set",s,i):rt(o,"add",s,i),this},delete(s){const i=G(this),{has:o,get:l}=Cn(i);let a=o.call(i,s);a||(s=G(s),a=o.call(i,s)),l&&l.call(i,s);const u=i.delete(s);return a&&rt(i,"delete",s,void 0),u},clear(){const s=G(this),i=s.size!==0,o=s.clear();return i&&rt(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Pa(s,e,t)}),n}function bs(e,t){const n=Ia(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ne(n,s)&&s in r?n:r,s,i)}const ja={get:bs(!1,!1)},La={get:bs(!1,!0)},Fa={get:bs(!0,!1)};const fo=new WeakMap,po=new WeakMap,ho=new WeakMap,ka=new WeakMap;function Na(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Da(e){return e.__v_skip||!Object.isExtensible(e)?0:Na(oa(e))}function It(e){return Rt(e)?e:_s(e,!1,Ea,ja,fo)}function Va(e){return _s(e,!1,Ra,La,po)}function ar(e){return _s(e,!0,Ma,Fa,ho)}function _s(e,t,n,r,s){if(!ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=Da(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function Vt(e){return Rt(e)?Vt(e.__v_raw):!!(e&&e.__v_isReactive)}function Rt(e){return!!(e&&e.__v_isReadonly)}function $e(e){return!!(e&&e.__v_isShallow)}function xs(e){return e?!!e.__v_raw:!1}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function Ha(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&Gi(e,"__v_skip",!0),e}const Se=e=>ie(e)?It(e):e,qr=e=>ie(e)?ar(e):e;function ve(e){return e?e.__v_isRef===!0:!1}function te(e){return go(e,!1)}function ge(e){return go(e,!0)}function go(e,t){return ve(e)?e:new $a(e,t)}class $a{constructor(t,n){this.dep=new or,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:G(t),this._value=n?t:Se(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||$e(t)||Rt(t);t=r?t:G(t),dt(t,n)&&(this._rawValue=t,this._value=r?t:Se(t),this.dep.trigger())}}function Ie(e){return ve(e)?e.value:e}function Be(e){return $(e)?e():Ie(e)}const Ua={get:(e,t,n)=>t==="__v_raw"?e:Ie(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ve(s)&&!ve(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function mo(e){return Vt(e)?e:new Proxy(e,Ua)}class Ba{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new or,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Wa(e){return new Ba(e)}class za{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,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 wa(G(this._object),this._key)}}class Ka{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 qa(e,t,n){return ve(e)?e:$(e)?new Ka(e):ie(e)&&arguments.length>1?Ga(e,t,n):te(e)}function Ga(e,t,n){const r=e[t];return ve(r)?r:new za(e,t,n)}class Ja{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new or(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ln-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ce!==this)return no(this,!0),!0}get value(){const t=this.dep.track();return io(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ya(e,t,n=!1){let r,s;return $(e)?r=e:(r=e.get,s=e.set),new Ja(r,s,n)}const En={},$n=new WeakMap;let Ot;function Za(e,t=!1,n=Ot){if(n){let r=$n.get(n);r||$n.set(n,r=[]),r.push(e)}}function Xa(e,t,n=le){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:l,call:a}=n,u=y=>s?y:$e(y)||s===!1||s===0?st(y,1):st(y);let c,f,h,g,m=!1,_=!1;if(ve(e)?(f=()=>e.value,m=$e(e)):Vt(e)?(f=()=>u(e),m=!0):N(e)?(_=!0,m=e.some(y=>Vt(y)||$e(y)),f=()=>e.map(y=>{if(ve(y))return y.value;if(Vt(y))return u(y);if($(y))return a?a(y,2):y()})):$(e)?t?f=a?()=>a(e,2):e:f=()=>{if(h){mt();try{h()}finally{vt()}}const y=Ot;Ot=c;try{return a?a(e,3,[g]):e(g)}finally{Ot=y}}:f=Xe,t&&s){const y=f,j=s===!0?1/0:s;f=()=>st(y(),j)}const T=Qi(),C=()=>{c.stop(),T&&T.active&&hs(T.effects,c)};if(i&&t){const y=t;t=(...j)=>{y(...j),C()}}let A=_?new Array(e.length).fill(En):En;const E=y=>{if(!(!(c.flags&1)||!c.dirty&&!y))if(t){const j=c.run();if(s||m||(_?j.some((V,z)=>dt(V,A[z])):dt(j,A))){h&&h();const V=Ot;Ot=c;try{const z=[j,A===En?void 0:_&&A[0]===En?[]:A,g];a?a(t,3,z):t(...z),A=j}finally{Ot=V}}}else c.run()};return l&&l(E),c=new eo(f),c.scheduler=o?()=>o(E,!1):E,g=y=>Za(y,!1,c),h=c.onStop=()=>{const y=$n.get(c);if(y){if(a)a(y,4);else for(const j of y)j();$n.delete(c)}},t?r?E(!0):A=c.run():o?o(E.bind(null,!0),!0):c.run(),C.pause=c.pause.bind(c),C.resume=c.resume.bind(c),C.stop=C,C}function st(e,t=1/0,n){if(t<=0||!ie(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ve(e))st(e.value,t,n);else if(N(e))for(let r=0;r{st(r,t,n)});else if(Ki(e)){for(const r in e)st(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&st(e[r],t,n)}return e}/** -* @vue/runtime-core v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function vn(e,t,n,r){try{return r?e(...r):e()}catch(s){cr(s,t,n)}}function ze(e,t,n,r){if($(e)){const s=vn(e,t,n,r);return s&&Wi(s)&&s.catch(i=>{cr(i,t,n)}),s}if(N(e)){const s=[];for(let i=0;i>>1,s=Ae[r],i=cn(s);i=cn(n)?Ae.push(e):Ae.splice(ec(t),0,e),e.flags|=1,yo()}}function yo(){Un||(Un=vo.then(_o))}function tc(e){N(e)?Ht.push(...e):at&&e.id===-1?at.splice(kt+1,0,e):e.flags&1||(Ht.push(e),e.flags|=1),yo()}function qs(e,t,n=Ye+1){for(;ncn(n)-cn(r));if(Ht.length=0,at){at.push(...t);return}for(at=t,kt=0;kte.id==null?e.flags&2?-1:1/0:e.id;function _o(e){try{for(Ye=0;Ye{r._d&&ri(-1);const i=Bn(t);let o;try{o=e(...s)}finally{Bn(i),r._d&&ri(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function nc(e,t){if(Le===null)return e;const n=vr(Le),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,ct=Symbol("_leaveCb"),Mn=Symbol("_enterCb");function sc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Et(()=>{e.isMounted=!0}),Po(()=>{e.isUnmounting=!0}),e}const He=[Function,Array],Oo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:He,onEnter:He,onAfterEnter:He,onEnterCancelled:He,onBeforeLeave:He,onLeave:He,onAfterLeave:He,onLeaveCancelled:He,onBeforeAppear:He,onAppear:He,onAfterAppear:He,onAppearCancelled:He},To=e=>{const t=e.subTree;return t.component?To(t.component):t},ic={name:"BaseTransition",props:Oo,setup(e,{slots:t}){const n=Bt(),r=sc();return()=>{const s=t.default&&Eo(t.default(),!0);if(!s||!s.length)return;const i=Co(s),o=G(e),{mode:l}=o;if(r.isLeaving)return Er(i);const a=Gs(i);if(!a)return Er(i);let u=Gr(a,o,r,n,f=>u=f);a.type!==je&&un(a,u);let c=n.subTree&&Gs(n.subTree);if(c&&c.type!==je&&!Tt(a,c)&&To(n).type!==je){let f=Gr(c,o,r,n);if(un(c,f),l==="out-in"&&a.type!==je)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Er(i);l==="in-out"&&a.type!==je?f.delayLeave=(h,g,m)=>{const _=Ao(r,c);_[String(c.key)]=c,h[ct]=()=>{g(),h[ct]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{m(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Co(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==je){t=n;break}}return t}const oc=ic;function Ao(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Gr(e,t,n,r,s){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:g,onAfterLeave:m,onLeaveCancelled:_,onBeforeAppear:T,onAppear:C,onAfterAppear:A,onAppearCancelled:E}=t,y=String(e.key),j=Ao(n,e),V=(L,B)=>{L&&ze(L,r,9,B)},z=(L,B)=>{const q=B[1];V(L,B),N(L)?L.every(R=>R.length<=1)&&q():L.length<=1&&q()},oe={mode:o,persisted:l,beforeEnter(L){let B=a;if(!n.isMounted)if(i)B=T||a;else return;L[ct]&&L[ct](!0);const q=j[y];q&&Tt(e,q)&&q.el[ct]&&q.el[ct](),V(B,[L])},enter(L){let B=u,q=c,R=f;if(!n.isMounted)if(i)B=C||u,q=A||c,R=E||f;else return;let K=!1;const F=L[Mn]=ee=>{K||(K=!0,ee?V(R,[L]):V(q,[L]),oe.delayedLeave&&oe.delayedLeave(),L[Mn]=void 0)};B?z(B,[L,F]):F()},leave(L,B){const q=String(e.key);if(L[Mn]&&L[Mn](!0),n.isUnmounting)return B();V(h,[L]);let R=!1;const K=L[ct]=F=>{R||(R=!0,B(),F?V(_,[L]):V(m,[L]),L[ct]=void 0,j[q]===e&&delete j[q])};j[q]=e,g?z(g,[L,K]):K()},clone(L){const B=Gr(L,t,n,r,s);return s&&s(B),B}};return oe}function Er(e){if(dr(e))return e=ht(e),e.children=null,e}function Gs(e){if(!dr(e))return So(e.type)&&e.children?Co(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&$(n.default))return n.default()}}function un(e,t){e.shapeFlag&6&&e.component?(e.transition=t,un(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 Eo(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;iWn(m,t&&(N(t)?t[_]:t),n,r,s));return}if(Qt(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Wn(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?vr(r.component):r.el,o=s?null:i,{i:l,r:a}=e,u=t&&t.r,c=l.refs===le?l.refs={}:l.refs,f=l.setupState,h=G(f),g=f===le?()=>!1:m=>ne(h,m);if(u!=null&&u!==a&&(he(u)?(c[u]=null,g(u)&&(f[u]=null)):ve(u)&&(u.value=null)),$(a))vn(a,l,12,[o,c]);else{const m=he(a),_=ve(a);if(m||_){const T=()=>{if(e.f){const C=m?g(a)?f[a]:c[a]:a.value;s?N(C)&&hs(C,i):N(C)?C.includes(i)||C.push(i):m?(c[a]=[i],g(a)&&(f[a]=c[a])):(a.value=[i],e.k&&(c[e.k]=a.value))}else m?(c[a]=o,g(a)&&(f[a]=o)):_&&(a.value=o,e.k&&(c[e.k]=o))};o?(T.id=-1,Ne(T,n)):T()}}}nr().requestIdleCallback;nr().cancelIdleCallback;const Qt=e=>!!e.type.__asyncLoader,dr=e=>e.type.__isKeepAlive;function lc(e,t){Ro(e,"a",t)}function ac(e,t){Ro(e,"da",t)}function Ro(e,t,n=_e){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(pr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)dr(s.parent.vnode)&&cc(r,t,n,s),s=s.parent}}function cc(e,t,n,r){const s=pr(t,e,r,!0);hr(()=>{hs(r[t],s)},n)}function pr(e,t,n=_e,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{mt();const l=yn(n),a=ze(t,n,e,o);return l(),vt(),a});return r?s.unshift(i):s.push(i),i}}const ot=e=>(t,n=_e)=>{(!dn||e==="sp")&&pr(e,(...r)=>t(...r),n)},uc=ot("bm"),Et=ot("m"),fc=ot("bu"),dc=ot("u"),Po=ot("bum"),hr=ot("um"),pc=ot("sp"),hc=ot("rtg"),gc=ot("rtc");function mc(e,t=_e){pr("ec",e,t)}const vc=Symbol.for("v-ndc");function yc(e,t,n,r){let s;const i=n,o=N(e);if(o||he(e)){const l=o&&Vt(e);let a=!1;l&&(a=!$e(e),e=lr(e)),s=new Array(e.length);for(let u=0,c=e.length;ut(l,a,void 0,i));else{const l=Object.keys(e);s=new Array(l.length);for(let a=0,u=l.length;ae?Qo(e)?vr(e):Jr(e.parent):null,en=ye(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=>Jr(e.parent),$root:e=>Jr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Lo(e),$forceUpdate:e=>e.f||(e.f=()=>{ws(e.update)}),$nextTick:e=>e.n||(e.n=ur.bind(e.proxy)),$watch:e=>Uc.bind(e)}),Mr=(e,t)=>e!==le&&!e.__isScriptSetup&&ne(e,t),bc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:a}=e;let u;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Mr(r,t))return o[t]=1,r[t];if(s!==le&&ne(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&ne(u,t))return o[t]=3,i[t];if(n!==le&&ne(n,t))return o[t]=4,n[t];Yr&&(o[t]=0)}}const c=en[t];let f,h;if(c)return t==="$attrs"&&we(e.attrs,"get",""),c(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==le&&ne(n,t))return o[t]=4,n[t];if(h=a.config.globalProperties,ne(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Mr(s,t)?(s[t]=n,!0):r!==le&&ne(r,t)?(r[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==le&&ne(e,o)||Mr(t,o)||(l=i[0])&&ne(l,o)||ne(r,o)||ne(en,o)||ne(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Io(){return _c().slots}function _c(){const e=Bt();return e.setupContext||(e.setupContext=tl(e))}function Js(e){return N(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Yr=!0;function xc(e){const t=Lo(e),n=e.proxy,r=e.ctx;Yr=!1,t.beforeCreate&&Ys(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:a,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:g,updated:m,activated:_,deactivated:T,beforeDestroy:C,beforeUnmount:A,destroyed:E,unmounted:y,render:j,renderTracked:V,renderTriggered:z,errorCaptured:oe,serverPrefetch:L,expose:B,inheritAttrs:q,components:R,directives:K,filters:F}=t;if(u&&wc(u,r,null),o)for(const ue in o){const se=o[ue];$(se)&&(r[ue]=se.bind(n))}if(s){const ue=s.call(n,n);ie(ue)&&(e.data=It(ue))}if(Yr=!0,i)for(const ue in i){const se=i[ue],W=$(se)?se.bind(n,n):$(se.get)?se.get.bind(n,n):Xe,X=!$(se)&&$(se.set)?se.set.bind(n):Xe,J=de({get:W,set:X});Object.defineProperty(r,ue,{enumerable:!0,configurable:!0,get:()=>J.value,set:Q=>J.value=Q})}if(l)for(const ue in l)jo(l[ue],r,n,ue);if(a){const ue=$(a)?a.call(n):a;Reflect.ownKeys(ue).forEach(se=>{Ec(se,ue[se])})}c&&Ys(c,e,"c");function Z(ue,se){N(se)?se.forEach(W=>ue(W.bind(n))):se&&ue(se.bind(n))}if(Z(uc,f),Z(Et,h),Z(fc,g),Z(dc,m),Z(lc,_),Z(ac,T),Z(mc,oe),Z(gc,V),Z(hc,z),Z(Po,A),Z(hr,y),Z(pc,L),N(B))if(B.length){const ue=e.exposed||(e.exposed={});B.forEach(se=>{Object.defineProperty(ue,se,{get:()=>n[se],set:W=>n[se]=W})})}else e.exposed||(e.exposed={});j&&e.render===Xe&&(e.render=j),q!=null&&(e.inheritAttrs=q),R&&(e.components=R),K&&(e.directives=K),L&&Mo(e)}function wc(e,t,n=Xe){N(e)&&(e=Zr(e));for(const r in e){const s=e[r];let i;ie(s)?"default"in s?i=$t(s.from||r,s.default,!0):i=$t(s.from||r):i=$t(s),ve(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Ys(e,t,n){ze(N(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function jo(e,t,n,r){let s=r.includes(".")?Go(n,r):()=>n[r];if(he(e)){const i=t[e];$(i)&&fe(s,i)}else if($(e))fe(s,e.bind(n));else if(ie(e))if(N(e))e.forEach(i=>jo(i,t,n,r));else{const i=$(e.handler)?e.handler.bind(n):t[e.handler];$(i)&&fe(s,i,e)}}function Lo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(u=>zn(a,u,o,!0)),zn(a,t,o)),ie(t)&&i.set(t,a),a}function zn(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&zn(e,i,n,!0),s&&s.forEach(o=>zn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=Sc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Sc={data:Zs,props:Xs,emits:Xs,methods:Jt,computed:Jt,beforeCreate:Oe,created:Oe,beforeMount:Oe,mounted:Oe,beforeUpdate:Oe,updated:Oe,beforeDestroy:Oe,beforeUnmount:Oe,destroyed:Oe,unmounted:Oe,activated:Oe,deactivated:Oe,errorCaptured:Oe,serverPrefetch:Oe,components:Jt,directives:Jt,watch:Tc,provide:Zs,inject:Oc};function Zs(e,t){return t?e?function(){return ye($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function Oc(e,t){return Jt(Zr(e),Zr(t))}function Zr(e){if(N(e)){const t={};for(let n=0;n1)return n&&$(t)?t.call(r&&r.proxy):t}}function ko(){return!!(_e||Le||Mt)}const No={},Do=()=>Object.create(No),Vo=e=>Object.getPrototypeOf(e)===No;function Mc(e,t,n,r=!1){const s={},i=Do();e.propsDefaults=Object.create(null),Ho(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Va(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Rc(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=G(s),[a]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[h,g]=$o(f,t,!0);ye(o,h),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!a)return ie(e)&&r.set(e,Nt),Nt;if(N(i))for(let c=0;ce[0]==="_"||e==="$stable",Ss=e=>N(e)?e.map(Ze):[Ze(e)],Ic=(e,t,n)=>{if(t._n)return t;const r=wo((...s)=>Ss(t(...s)),n);return r._c=!1,r},Bo=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Uo(s))continue;const i=e[s];if($(i))t[s]=Ic(s,i,r);else if(i!=null){const o=Ss(i);t[s]=()=>o}}},Wo=(e,t)=>{const n=Ss(t);e.slots.default=()=>n},zo=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},jc=(e,t,n)=>{const r=e.slots=Do();if(e.vnode.shapeFlag&32){const s=t._;s?(zo(r,t,n),n&&Gi(r,"_",s,!0)):Bo(t,r)}else t&&Wo(e,t)},Lc=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=le;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:zo(s,t,n):(i=!t.$stable,Bo(t,s)),o=t}else t&&(Wo(e,t),o={default:1});if(i)for(const l in s)!Uo(l)&&o[l]==null&&delete s[l]},Ne=Jc;function Fc(e){return kc(e)}function kc(e,t){const n=nr();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:a,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:g=Xe,insertStaticContent:m}=e,_=(d,p,v,w=null,b=null,x=null,P=void 0,M=null,O=!!p.dynamicChildren)=>{if(d===p)return;d&&!Tt(d,p)&&(w=Tn(d),Q(d,b,x,!0),d=null),p.patchFlag===-2&&(O=!1,p.dynamicChildren=null);const{type:S,ref:D,shapeFlag:I}=p;switch(S){case mr:T(d,p,v,w);break;case je:C(d,p,v,w);break;case Pr:d==null&&A(p,v,w,P);break;case Ee:R(d,p,v,w,b,x,P,M,O);break;default:I&1?j(d,p,v,w,b,x,P,M,O):I&6?K(d,p,v,w,b,x,P,M,O):(I&64||I&128)&&S.process(d,p,v,w,b,x,P,M,O,zt)}D!=null&&b&&Wn(D,d&&d.ref,x,p||d,!p)},T=(d,p,v,w)=>{if(d==null)r(p.el=l(p.children),v,w);else{const b=p.el=d.el;p.children!==d.children&&u(b,p.children)}},C=(d,p,v,w)=>{d==null?r(p.el=a(p.children||""),v,w):p.el=d.el},A=(d,p,v,w)=>{[d.el,d.anchor]=m(d.children,p,v,w,d.el,d.anchor)},E=({el:d,anchor:p},v,w)=>{let b;for(;d&&d!==p;)b=h(d),r(d,v,w),d=b;r(p,v,w)},y=({el:d,anchor:p})=>{let v;for(;d&&d!==p;)v=h(d),s(d),d=v;s(p)},j=(d,p,v,w,b,x,P,M,O)=>{p.type==="svg"?P="svg":p.type==="math"&&(P="mathml"),d==null?V(p,v,w,b,x,P,M,O):L(d,p,b,x,P,M,O)},V=(d,p,v,w,b,x,P,M)=>{let O,S;const{props:D,shapeFlag:I,transition:k,dirs:H}=d;if(O=d.el=o(d.type,x,D&&D.is,D),I&8?c(O,d.children):I&16&&oe(d.children,O,null,w,b,Rr(d,x),P,M),H&&yt(d,null,w,"created"),z(O,d,d.scopeId,P,w),D){for(const ae in D)ae!=="value"&&!Yt(ae)&&i(O,ae,null,D[ae],x,w);"value"in D&&i(O,"value",null,D.value,x),(S=D.onVnodeBeforeMount)&&Je(S,w,d)}H&&yt(d,null,w,"beforeMount");const Y=Nc(b,k);Y&&k.beforeEnter(O),r(O,p,v),((S=D&&D.onVnodeMounted)||Y||H)&&Ne(()=>{S&&Je(S,w,d),Y&&k.enter(O),H&&yt(d,null,w,"mounted")},b)},z=(d,p,v,w,b)=>{if(v&&g(d,v),w)for(let x=0;x{for(let S=O;S{const M=p.el=d.el;let{patchFlag:O,dynamicChildren:S,dirs:D}=p;O|=d.patchFlag&16;const I=d.props||le,k=p.props||le;let H;if(v&&bt(v,!1),(H=k.onVnodeBeforeUpdate)&&Je(H,v,p,d),D&&yt(p,d,v,"beforeUpdate"),v&&bt(v,!0),(I.innerHTML&&k.innerHTML==null||I.textContent&&k.textContent==null)&&c(M,""),S?B(d.dynamicChildren,S,M,v,w,Rr(p,b),x):P||se(d,p,M,null,v,w,Rr(p,b),x,!1),O>0){if(O&16)q(M,I,k,v,b);else if(O&2&&I.class!==k.class&&i(M,"class",null,k.class,b),O&4&&i(M,"style",I.style,k.style,b),O&8){const Y=p.dynamicProps;for(let ae=0;ae{H&&Je(H,v,p,d),D&&yt(p,d,v,"updated")},w)},B=(d,p,v,w,b,x,P)=>{for(let M=0;M{if(p!==v){if(p!==le)for(const x in p)!Yt(x)&&!(x in v)&&i(d,x,p[x],null,b,w);for(const x in v){if(Yt(x))continue;const P=v[x],M=p[x];P!==M&&x!=="value"&&i(d,x,M,P,b,w)}"value"in v&&i(d,"value",p.value,v.value,b)}},R=(d,p,v,w,b,x,P,M,O)=>{const S=p.el=d?d.el:l(""),D=p.anchor=d?d.anchor:l("");let{patchFlag:I,dynamicChildren:k,slotScopeIds:H}=p;H&&(M=M?M.concat(H):H),d==null?(r(S,v,w),r(D,v,w),oe(p.children||[],v,D,b,x,P,M,O)):I>0&&I&64&&k&&d.dynamicChildren?(B(d.dynamicChildren,k,v,b,x,P,M),(p.key!=null||b&&p===b.subTree)&&Ko(d,p,!0)):se(d,p,v,D,b,x,P,M,O)},K=(d,p,v,w,b,x,P,M,O)=>{p.slotScopeIds=M,d==null?p.shapeFlag&512?b.ctx.activate(p,v,w,P,O):F(p,v,w,b,x,P,O):ee(d,p,O)},F=(d,p,v,w,b,x,P)=>{const M=d.component=ru(d,w,b);if(dr(d)&&(M.ctx.renderer=zt),su(M,!1,P),M.asyncDep){if(b&&b.registerDep(M,Z,P),!d.el){const O=M.subTree=Me(je);C(null,O,p,v)}}else Z(M,d,p,v,b,x,P)},ee=(d,p,v)=>{const w=p.component=d.component;if(qc(d,p,v))if(w.asyncDep&&!w.asyncResolved){ue(w,p,v);return}else w.next=p,w.update();else p.el=d.el,w.vnode=p},Z=(d,p,v,w,b,x,P)=>{const M=()=>{if(d.isMounted){let{next:I,bu:k,u:H,parent:Y,vnode:ae}=d;{const qe=qo(d);if(qe){I&&(I.el=ae.el,ue(d,I,P)),qe.asyncDep.then(()=>{d.isUnmounted||M()});return}}let re=I,Fe;bt(d,!1),I?(I.el=ae.el,ue(d,I,P)):I=ae,k&&Ln(k),(Fe=I.props&&I.props.onVnodeBeforeUpdate)&&Je(Fe,Y,I,ae),bt(d,!0);const Re=ti(d),Ke=d.subTree;d.subTree=Re,_(Ke,Re,f(Ke.el),Tn(Ke),d,b,x),I.el=Re.el,re===null&&Gc(d,Re.el),H&&Ne(H,b),(Fe=I.props&&I.props.onVnodeUpdated)&&Ne(()=>Je(Fe,Y,I,ae),b)}else{let I;const{el:k,props:H}=p,{bm:Y,m:ae,parent:re,root:Fe,type:Re}=d,Ke=Qt(p);bt(d,!1),Y&&Ln(Y),!Ke&&(I=H&&H.onVnodeBeforeMount)&&Je(I,re,p),bt(d,!0);{Fe.ce&&Fe.ce._injectChildStyle(Re);const qe=d.subTree=ti(d);_(null,qe,v,w,d,b,x),p.el=qe.el}if(ae&&Ne(ae,b),!Ke&&(I=H&&H.onVnodeMounted)){const qe=p;Ne(()=>Je(I,re,qe),b)}(p.shapeFlag&256||re&&Qt(re.vnode)&&re.vnode.shapeFlag&256)&&d.a&&Ne(d.a,b),d.isMounted=!0,p=v=w=null}};d.scope.on();const O=d.effect=new eo(M);d.scope.off();const S=d.update=O.run.bind(O),D=d.job=O.runIfDirty.bind(O);D.i=d,D.id=d.uid,O.scheduler=()=>ws(D),bt(d,!0),S()},ue=(d,p,v)=>{p.component=d;const w=d.vnode.props;d.vnode=p,d.next=null,Rc(d,p.props,w,v),Lc(d,p.children,v),mt(),qs(d),vt()},se=(d,p,v,w,b,x,P,M,O=!1)=>{const S=d&&d.children,D=d?d.shapeFlag:0,I=p.children,{patchFlag:k,shapeFlag:H}=p;if(k>0){if(k&128){X(S,I,v,w,b,x,P,M,O);return}else if(k&256){W(S,I,v,w,b,x,P,M,O);return}}H&8?(D&16&&Wt(S,b,x),I!==S&&c(v,I)):D&16?H&16?X(S,I,v,w,b,x,P,M,O):Wt(S,b,x,!0):(D&8&&c(v,""),H&16&&oe(I,v,w,b,x,P,M,O))},W=(d,p,v,w,b,x,P,M,O)=>{d=d||Nt,p=p||Nt;const S=d.length,D=p.length,I=Math.min(S,D);let k;for(k=0;kD?Wt(d,b,x,!0,!1,I):oe(p,v,w,b,x,P,M,O,I)},X=(d,p,v,w,b,x,P,M,O)=>{let S=0;const D=p.length;let I=d.length-1,k=D-1;for(;S<=I&&S<=k;){const H=d[S],Y=p[S]=O?ut(p[S]):Ze(p[S]);if(Tt(H,Y))_(H,Y,v,null,b,x,P,M,O);else break;S++}for(;S<=I&&S<=k;){const H=d[I],Y=p[k]=O?ut(p[k]):Ze(p[k]);if(Tt(H,Y))_(H,Y,v,null,b,x,P,M,O);else break;I--,k--}if(S>I){if(S<=k){const H=k+1,Y=Hk)for(;S<=I;)Q(d[S],b,x,!0),S++;else{const H=S,Y=S,ae=new Map;for(S=Y;S<=k;S++){const ke=p[S]=O?ut(p[S]):Ze(p[S]);ke.key!=null&&ae.set(ke.key,S)}let re,Fe=0;const Re=k-Y+1;let Ke=!1,qe=0;const Kt=new Array(Re);for(S=0;S=Re){Q(ke,b,x,!0);continue}let Ge;if(ke.key!=null)Ge=ae.get(ke.key);else for(re=Y;re<=k;re++)if(Kt[re-Y]===0&&Tt(ke,p[re])){Ge=re;break}Ge===void 0?Q(ke,b,x,!0):(Kt[Ge-Y]=S+1,Ge>=qe?qe=Ge:Ke=!0,_(ke,p[Ge],v,null,b,x,P,M,O),Fe++)}const $s=Ke?Dc(Kt):Nt;for(re=$s.length-1,S=Re-1;S>=0;S--){const ke=Y+S,Ge=p[ke],Us=ke+1{const{el:x,type:P,transition:M,children:O,shapeFlag:S}=d;if(S&6){J(d.component.subTree,p,v,w);return}if(S&128){d.suspense.move(p,v,w);return}if(S&64){P.move(d,p,v,zt);return}if(P===Ee){r(x,p,v);for(let I=0;IM.enter(x),b);else{const{leave:I,delayLeave:k,afterLeave:H}=M,Y=()=>r(x,p,v),ae=()=>{I(x,()=>{Y(),H&&H()})};k?k(x,Y,ae):ae()}else r(x,p,v)},Q=(d,p,v,w=!1,b=!1)=>{const{type:x,props:P,ref:M,children:O,dynamicChildren:S,shapeFlag:D,patchFlag:I,dirs:k,cacheIndex:H}=d;if(I===-2&&(b=!1),M!=null&&Wn(M,null,v,d,!0),H!=null&&(p.renderCache[H]=void 0),D&256){p.ctx.deactivate(d);return}const Y=D&1&&k,ae=!Qt(d);let re;if(ae&&(re=P&&P.onVnodeBeforeUnmount)&&Je(re,p,d),D&6)ea(d.component,v,w);else{if(D&128){d.suspense.unmount(v,w);return}Y&&yt(d,null,p,"beforeUnmount"),D&64?d.type.remove(d,p,v,zt,w):S&&!S.hasOnce&&(x!==Ee||I>0&&I&64)?Wt(S,p,v,!1,!0):(x===Ee&&I&384||!b&&D&16)&&Wt(O,p,v),w&&me(d)}(ae&&(re=P&&P.onVnodeUnmounted)||Y)&&Ne(()=>{re&&Je(re,p,d),Y&&yt(d,null,p,"unmounted")},v)},me=d=>{const{type:p,el:v,anchor:w,transition:b}=d;if(p===Ee){On(v,w);return}if(p===Pr){y(d);return}const x=()=>{s(v),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(d.shapeFlag&1&&b&&!b.persisted){const{leave:P,delayLeave:M}=b,O=()=>P(v,x);M?M(d.el,x,O):O()}else x()},On=(d,p)=>{let v;for(;d!==p;)v=h(d),s(d),d=v;s(p)},ea=(d,p,v)=>{const{bum:w,scope:b,job:x,subTree:P,um:M,m:O,a:S}=d;ei(O),ei(S),w&&Ln(w),b.stop(),x&&(x.flags|=8,Q(P,d,p,v)),M&&Ne(M,p),Ne(()=>{d.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},Wt=(d,p,v,w=!1,b=!1,x=0)=>{for(let P=x;P{if(d.shapeFlag&6)return Tn(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const p=h(d.anchor||d.el),v=p&&p[rc];return v?h(v):p};let xr=!1;const Hs=(d,p,v)=>{d==null?p._vnode&&Q(p._vnode,null,null,!0):_(p._vnode||null,d,p,null,null,null,v),p._vnode=d,xr||(xr=!0,qs(),bo(),xr=!1)},zt={p:_,um:Q,m:J,r:me,mt:F,mc:oe,pc:se,pbc:B,n:Tn,o:e};return{render:Hs,hydrate:void 0,createApp:Ac(Hs)}}function Rr({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 Nc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ko(e,t,n=!1){const r=e.children,s=t.children;if(N(r)&&N(s))for(let i=0;i>1,e[n[l]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function qo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:qo(t)}function ei(e){if(e)for(let t=0;t$t(Vc);function $c(e,t){return Os(e,null,t)}function fe(e,t,n){return Os(e,t,n)}function Os(e,t,n=le){const{immediate:r,deep:s,flush:i,once:o}=n,l=ye({},n),a=t&&r||!t&&i!=="post";let u;if(dn){if(i==="sync"){const g=Hc();u=g.__watcherHandles||(g.__watcherHandles=[])}else if(!a){const g=()=>{};return g.stop=Xe,g.resume=Xe,g.pause=Xe,g}}const c=_e;l.call=(g,m,_)=>ze(g,c,m,_);let f=!1;i==="post"?l.scheduler=g=>{Ne(g,c&&c.suspense)}:i!=="sync"&&(f=!0,l.scheduler=(g,m)=>{m?g():ws(g)}),l.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,c&&(g.id=c.uid,g.i=c))};const h=Xa(e,t,l);return dn&&(u?u.push(h):a&&h()),h}function Uc(e,t,n){const r=this.proxy,s=he(e)?e.includes(".")?Go(r,e):()=>r[e]:e.bind(r,r);let i;$(t)?i=t:(i=t.handler,n=t);const o=yn(this),l=Os(s,i.bind(r),n);return o(),l}function Go(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${pt(t)}Modifiers`]||e[`${Pt(t)}Modifiers`];function Wc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||le;let s=n;const i=t.startsWith("update:"),o=i&&Bc(r,t.slice(7));o&&(o.trim&&(s=n.map(c=>he(c)?c.trim():c)),o.number&&(s=n.map(Ji)));let l,a=r[l=Sr(t)]||r[l=Sr(pt(t))];!a&&i&&(a=r[l=Sr(Pt(t))]),a&&ze(a,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ze(u,e,6,s)}}function Jo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!$(e)){const a=u=>{const c=Jo(u,t,!0);c&&(l=!0,ye(o,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(ie(e)&&r.set(e,null),null):(N(i)?i.forEach(a=>o[a]=null):ye(o,i),ie(e)&&r.set(e,o),o)}function gr(e,t){return!e||!Qn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Pt(t))||ne(e,t))}function ti(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:a,render:u,renderCache:c,props:f,data:h,setupState:g,ctx:m,inheritAttrs:_}=e,T=Bn(e);let C,A;try{if(n.shapeFlag&4){const y=s||r,j=y;C=Ze(u.call(j,y,c,f,g,h,m)),A=l}else{const y=t;C=Ze(y.length>1?y(f,{attrs:l,slots:o,emit:a}):y(f,null)),A=t.props?l:zc(l)}}catch(y){tn.length=0,cr(y,e,1),C=Me(je)}let E=C;if(A&&_!==!1){const y=Object.keys(A),{shapeFlag:j}=E;y.length&&j&7&&(i&&y.some(ps)&&(A=Kc(A,i)),E=ht(E,A,!1,!0))}return n.dirs&&(E=ht(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&un(E,n.transition),C=E,Bn(T),C}const zc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qn(n))&&((t||(t={}))[n]=e[n]);return t},Kc=(e,t)=>{const n={};for(const r in e)(!ps(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function qc(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:a}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?ni(r,o,u):!!o;if(a&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;function Jc(e,t){t&&t.pendingBranch?N(e)?t.effects.push(...e):t.effects.push(e):tc(e)}const Ee=Symbol.for("v-fgt"),mr=Symbol.for("v-txt"),je=Symbol.for("v-cmt"),Pr=Symbol.for("v-stc"),tn=[];let De=null;function xe(e=!1){tn.push(De=e?null:[])}function Yc(){tn.pop(),De=tn[tn.length-1]||null}let fn=1;function ri(e,t=!1){fn+=e,e<0&&De&&t&&(De.hasOnce=!0)}function Zo(e){return e.dynamicChildren=fn>0?De||Nt:null,Yc(),fn>0&&De&&De.push(e),e}function Te(e,t,n,r,s,i){return Zo(pe(e,t,n,r,s,i,!0))}function Zc(e,t,n,r,s){return Zo(Me(e,t,n,r,s,!0))}function Kn(e){return e?e.__v_isVNode===!0:!1}function Tt(e,t){return e.type===t.type&&e.key===t.key}const Xo=({key:e})=>e??null,Fn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?he(e)||ve(e)||$(e)?{i:Le,r:e,k:t,f:!!n}:e:null);function pe(e,t=null,n=null,r=0,s=null,i=e===Ee?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xo(t),ref:t&&Fn(t),scopeId:xo,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:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Le};return l?(Ts(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=he(n)?8:16),fn>0&&!o&&De&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&De.push(a),a}const Me=Xc;function Xc(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===vc)&&(e=je),Kn(e)){const l=ht(e,t,!0);return n&&Ts(l,n),fn>0&&!i&&De&&(l.shapeFlag&6?De[De.indexOf(e)]=l:De.push(l)),l.patchFlag=-2,l}if(lu(e)&&(e=e.__vccOpts),t){t=Qc(t);let{class:l,style:a}=t;l&&!he(l)&&(t.class=sr(l)),ie(a)&&(xs(a)&&!N(a)&&(a=ye({},a)),t.style=rr(a))}const o=he(e)?1:Yo(e)?128:So(e)?64:ie(e)?4:$(e)?2:0;return pe(e,t,n,r,s,o,i,!0)}function Qc(e){return e?xs(e)||Vo(e)?ye({},e):e:null}function ht(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:a}=e,u=t?eu(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Xo(u),ref:t&&t.ref?n&&i?N(i)?i.concat(Fn(t)):[i,Fn(t)]:Fn(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!==Ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ht(e.ssContent),ssFallback:e.ssFallback&&ht(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&un(c,a.clone(c)),c}function Qr(e=" ",t=0){return Me(mr,null,e,t)}function si(e="",t=!1){return t?(xe(),Zc(je,null,e)):Me(je,null,e)}function Ze(e){return e==null||typeof e=="boolean"?Me(je):N(e)?Me(Ee,null,e.slice()):Kn(e)?ut(e):Me(mr,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ht(e)}function Ts(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(N(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Ts(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Vo(t)?t._ctx=Le:s===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),r&64?(n=16,t=[Qr(t)]):n=8);e.children=t,e.shapeFlag|=n}function eu(...e){const t={};for(let n=0;n_e||Le;let qn,es;{const e=nr(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};qn=t("__VUE_INSTANCE_SETTERS__",n=>_e=n),es=t("__VUE_SSR_SETTERS__",n=>dn=n)}const yn=e=>{const t=_e;return qn(e),e.scope.on(),()=>{e.scope.off(),qn(t)}},ii=()=>{_e&&_e.scope.off(),qn(null)};function Qo(e){return e.vnode.shapeFlag&4}let dn=!1;function su(e,t=!1,n=!1){t&&es(t);const{props:r,children:s}=e.vnode,i=Qo(e);Mc(e,r,i,t),jc(e,s,n);const o=i?iu(e,t):void 0;return t&&es(!1),o}function iu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,bc);const{setup:r}=n;if(r){mt();const s=e.setupContext=r.length>1?tl(e):null,i=yn(e),o=vn(r,e,0,[e.props,s]),l=Wi(o);if(vt(),i(),(l||e.sp)&&!Qt(e)&&Mo(e),l){if(o.then(ii,ii),t)return o.then(a=>{oi(e,a)}).catch(a=>{cr(a,e,0)});e.asyncDep=o}else oi(e,o)}else el(e)}function oi(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ie(t)&&(e.setupState=mo(t)),el(e)}function el(e,t,n){const r=e.type;e.render||(e.render=r.render||Xe);{const s=yn(e);mt();try{xc(e)}finally{vt(),s()}}}const ou={get(e,t){return we(e,"get",""),e[t]}};function tl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ou),slots:e.slots,emit:e.emit,expose:t}}function vr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(mo(Ha(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in en)return en[n](e)},has(t,n){return n in t||n in en}})):e.proxy}function lu(e){return $(e)&&"__vccOpts"in e}const de=(e,t)=>Ya(e,t,dn);function Cs(e,t,n){const r=arguments.length;return r===2?ie(t)&&!N(t)?Kn(t)?Me(e,null,[t]):Me(e,t):Me(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Kn(n)&&(n=[n]),Me(e,t,n))}const au="3.5.13";/** -* @vue/runtime-dom v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let ts;const li=typeof window<"u"&&window.trustedTypes;if(li)try{ts=li.createPolicy("vue",{createHTML:e=>e})}catch{}const nl=ts?e=>ts.createHTML(e):e=>e,cu="http://www.w3.org/2000/svg",uu="http://www.w3.org/1998/Math/MathML",nt=typeof document<"u"?document:null,ai=nt&&nt.createElement("template"),fu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?nt.createElementNS(cu,e):t==="mathml"?nt.createElementNS(uu,e):n?nt.createElement(e,{is:n}):nt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>nt.createTextNode(e),createComment:e=>nt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>nt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{ai.innerHTML=nl(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=ai.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},lt="transition",Gt="animation",pn=Symbol("_vtc"),rl={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},du=ye({},Oo,rl),pu=e=>(e.displayName="Transition",e.props=du,e),hu=pu((e,{slots:t})=>Cs(oc,gu(e),t)),_t=(e,t=[])=>{N(e)?e.forEach(n=>n(...t)):e&&e(...t)},ci=e=>e?N(e)?e.some(t=>t.length>1):e.length>1:!1;function gu(e){const t={};for(const R in e)R in rl||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=i,appearActiveClass:u=o,appearToClass:c=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,m=mu(s),_=m&&m[0],T=m&&m[1],{onBeforeEnter:C,onEnter:A,onEnterCancelled:E,onLeave:y,onLeaveCancelled:j,onBeforeAppear:V=C,onAppear:z=A,onAppearCancelled:oe=E}=t,L=(R,K,F,ee)=>{R._enterCancelled=ee,xt(R,K?c:l),xt(R,K?u:o),F&&F()},B=(R,K)=>{R._isLeaving=!1,xt(R,f),xt(R,g),xt(R,h),K&&K()},q=R=>(K,F)=>{const ee=R?z:A,Z=()=>L(K,R,F);_t(ee,[K,Z]),ui(()=>{xt(K,R?a:i),tt(K,R?c:l),ci(ee)||fi(K,r,_,Z)})};return ye(t,{onBeforeEnter(R){_t(C,[R]),tt(R,i),tt(R,o)},onBeforeAppear(R){_t(V,[R]),tt(R,a),tt(R,u)},onEnter:q(!1),onAppear:q(!0),onLeave(R,K){R._isLeaving=!0;const F=()=>B(R,K);tt(R,f),R._enterCancelled?(tt(R,h),hi()):(hi(),tt(R,h)),ui(()=>{R._isLeaving&&(xt(R,f),tt(R,g),ci(y)||fi(R,r,T,F))}),_t(y,[R,F])},onEnterCancelled(R){L(R,!1,void 0,!0),_t(E,[R])},onAppearCancelled(R){L(R,!0,void 0,!0),_t(oe,[R])},onLeaveCancelled(R){B(R),_t(j,[R])}})}function mu(e){if(e==null)return null;if(ie(e))return[Ir(e.enter),Ir(e.leave)];{const t=Ir(e);return[t,t]}}function Ir(e){return ca(e)}function tt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[pn]||(e[pn]=new Set)).add(t)}function xt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[pn];n&&(n.delete(t),n.size||(e[pn]=void 0))}function ui(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let vu=0;function fi(e,t,n,r){const s=e._endId=++vu,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:a}=yu(e,t);if(!o)return r();const u=o+"end";let c=0;const f=()=>{e.removeEventListener(u,h),i()},h=g=>{g.target===e&&++c>=a&&f()};setTimeout(()=>{c(n[m]||"").split(", "),s=r(`${lt}Delay`),i=r(`${lt}Duration`),o=di(s,i),l=r(`${Gt}Delay`),a=r(`${Gt}Duration`),u=di(l,a);let c=null,f=0,h=0;t===lt?o>0&&(c=lt,f=o,h=i.length):t===Gt?u>0&&(c=Gt,f=u,h=a.length):(f=Math.max(o,u),c=f>0?o>u?lt:Gt:null,h=c?c===lt?i.length:a.length:0);const g=c===lt&&/\b(transform|all)(,|$)/.test(r(`${lt}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:g}}function di(e,t){for(;e.lengthpi(n)+pi(e[r])))}function pi(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function hi(){return document.body.offsetHeight}function bu(e,t,n){const r=e[pn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const gi=Symbol("_vod"),_u=Symbol("_vsh"),xu=Symbol(""),wu=/(^|;)\s*display\s*:/;function Su(e,t,n){const r=e.style,s=he(n);let i=!1;if(n&&!s){if(t)if(he(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&kn(r,l,"")}else for(const o in t)n[o]==null&&kn(r,o,"");for(const o in n)o==="display"&&(i=!0),kn(r,o,n[o])}else if(s){if(t!==n){const o=r[xu];o&&(n+=";"+o),r.cssText=n,i=wu.test(n)}}else t&&e.removeAttribute("style");gi in e&&(e[gi]=i?r.display:"",e[_u]&&(r.display="none"))}const mi=/\s*!important$/;function kn(e,t,n){if(N(n))n.forEach(r=>kn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Ou(e,t);mi.test(n)?e.setProperty(Pt(r),n.replace(mi,""),"important"):e[r]=n}}const vi=["Webkit","Moz","ms"],jr={};function Ou(e,t){const n=jr[t];if(n)return n;let r=pt(t);if(r!=="filter"&&r in e)return jr[t]=r;r=qi(r);for(let s=0;sLr||(Eu.then(()=>Lr=0),Lr=Date.now());function Ru(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ze(Pu(r,n.value),t,5,[r])};return n.value=e,n.attached=Mu(),n}function Pu(e,t){if(N(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Si=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Iu=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?bu(e,r,o):t==="style"?Su(e,n,r):Qn(t)?ps(t)||Cu(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ju(e,t,r,o))?(_i(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&bi(e,t,r,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!he(r))?_i(e,pt(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),bi(e,t,r,o))};function ju(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Si(t)&&$(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Si(t)&&he(n)?!1:t in e}const Oi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return N(t)?n=>Ln(t,n):t},Fr=Symbol("_assign"),Lu={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=er(t);sl(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Ji(Gn(o)):Gn(o));e[Fr](e.multiple?s?new Set(i):i:i[0]),e._assigning=!0,ur(()=>{e._assigning=!1})}),e[Fr]=Oi(r)},mounted(e,{value:t}){Ti(e,t)},beforeUpdate(e,t,n){e[Fr]=Oi(n)},updated(e,{value:t}){e._assigning||Ti(e,t)}};function Ti(e,t){const n=e.multiple,r=N(t);if(!(n&&!r&&!er(t))){for(let s=0,i=e.options.length;sString(u)===String(l)):o.selected=va(t,l)>-1}else o.selected=t.has(l);else if(ir(Gn(o),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Gn(e){return"_value"in e?e._value:e.value}const Fu=ye({patchProp:Iu},fu);let Ci;function ku(){return Ci||(Ci=Fc(Fu))}const Nu=(...e)=>{const t=ku().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Vu(r);if(!s)return;const i=t._component;!$(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Du(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function Du(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Vu(e){return he(e)?document.querySelector(e):e}function bn(e){return Qi()?(ba(e),!0):!1}const kr=new WeakMap,Hu=(...e)=>{var t;const n=e[0],r=(t=Bt())==null?void 0:t.proxy;if(r==null&&!ko())throw new Error("injectLocal must be called in setup");return r&&kr.has(r)&&n in kr.get(r)?kr.get(r)[n]:$t(...e)},il=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ol=e=>e!=null,$u=Object.prototype.toString,Jn=e=>$u.call(e)==="[object Object]",Nn=()=>{};function ll(...e){if(e.length!==1)return qa(...e);const t=e[0];return typeof t=="function"?ar(Wa(()=>({get:t,set:Nn}))):te(t)}function Uu(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const al=e=>e();function Bu(e=al,t={}){const{initialState:n="active"}=t,r=ll(n==="active");function s(){r.value=!1}function i(){r.value=!0}const o=(...l)=>{r.value&&e(...l)};return{isActive:ar(r),pause:s,resume:i,eventFilter:o}}function Wu(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Ai(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function nn(e){return Array.isArray(e)?e:[e]}function zu(e){return Bt()}function Ku(e,t,n={}){const{eventFilter:r=al,...s}=n;return fe(e,Uu(r,t),s)}function qu(e,t,n={}){const{eventFilter:r,initialState:s="active",...i}=n,{eventFilter:o,pause:l,resume:a,isActive:u}=Bu(r,{initialState:s});return{stop:Ku(e,t,{...i,eventFilter:o}),pause:l,resume:a,isActive:u}}function As(e,t=!0,n){zu()?Et(e,n):t?e():ur(e)}function Gu(e,t,n){return fe(e,t,{...n,immediate:!0})}const gt=il?window:void 0,Es=il?window.navigator:void 0;function We(e){var t;const n=Be(e);return(t=n==null?void 0:n.$el)!=null?t:n}function be(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},r=(l,a,u,c)=>(l.addEventListener(a,u,c),()=>l.removeEventListener(a,u,c)),s=de(()=>{const l=nn(Be(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=Gu(()=>{var l,a;return[(a=(l=s.value)==null?void 0:l.map(u=>We(u)))!=null?a:[gt].filter(u=>u!=null),nn(Be(s.value?e[1]:e[0])),nn(Ie(s.value?e[2]:e[1])),Be(s.value?e[3]:e[2])]},([l,a,u,c])=>{if(n(),!(l!=null&&l.length)||!(a!=null&&a.length)||!(u!=null&&u.length))return;const f=Jn(c)?{...c}:c;t.push(...l.flatMap(h=>a.flatMap(g=>u.map(m=>r(h,g,m,f)))))},{flush:"post"}),o=()=>{i(),n()};return bn(n),o}function Ju(){const e=ge(!1),t=Bt();return t&&Et(()=>{e.value=!0},t),e}function jt(e){const t=Ju();return de(()=>(t.value,!!e()))}function Yu(e,t,n={}){const{window:r=gt,...s}=n;let i;const o=jt(()=>r&&"MutationObserver"in r),l=()=>{i&&(i.disconnect(),i=void 0)},a=de(()=>{const h=Be(e),g=nn(h).map(We).filter(ol);return new Set(g)}),u=fe(()=>a.value,h=>{l(),o.value&&h.size&&(i=new MutationObserver(t),h.forEach(g=>i.observe(g,s)))},{immediate:!0,flush:"post"}),c=()=>i==null?void 0:i.takeRecords(),f=()=>{u(),l()};return bn(f),{isSupported:o,stop:f,takeRecords:c}}const Zu=Symbol("vueuse-ssr-width");function Xu(){const e=ko()?Hu(Zu,null):null;return typeof e=="number"?e:void 0}function Qu(e,t={}){const{window:n=gt,ssrWidth:r=Xu()}=t,s=jt(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=ge(typeof r=="number"),o=ge(),l=ge(!1),a=u=>{l.value=u.matches};return $c(()=>{if(i.value){i.value=!s.value;const u=Be(e).split(",");l.value=u.some(c=>{const f=c.includes("not all"),h=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),g=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let m=!!(h||g);return h&&m&&(m=r>=Ai(h[1])),g&&m&&(m=r<=Ai(g[1])),f?!m:m});return}s.value&&(o.value=n.matchMedia(Be(e)),l.value=o.value.matches)}),be(o,"change",a,{passive:!0}),de(()=>l.value)}function ef(e,t={}){const{controls:n=!1,navigator:r=Es}=t,s=jt(()=>r&&"permissions"in r),i=ge(),o=typeof e=="string"?{name:e}:e,l=ge(),a=()=>{var c,f;l.value=(f=(c=i.value)==null?void 0:c.state)!=null?f:"prompt"};be(i,"change",a,{passive:!0});const u=Wu(async()=>{if(s.value){if(!i.value)try{i.value=await r.permissions.query(o)}catch{i.value=void 0}finally{a()}if(n)return G(i.value)}});return u(),n?{state:l,isSupported:s,query:u}:l}const Rn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Pn="__vueuse_ssr_handlers__",tf=nf();function nf(){return Pn in Rn||(Rn[Pn]=Rn[Pn]||{}),Rn[Pn]}function cl(e,t){return tf[e]||t}function rf(e){return Qu("(prefers-color-scheme: dark)",e)}function sf(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const of={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ei="vueuse-storage";function lf(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:u=!1,shallow:c,window:f=gt,eventFilter:h,onError:g=F=>{console.error(F)},initOnMounted:m}=r,_=(c?ge:te)(typeof t=="function"?t():t),T=de(()=>Be(e));if(!n)try{n=cl("getDefaultStorage",()=>{var F;return(F=gt)==null?void 0:F.localStorage})()}catch(F){g(F)}if(!n)return _;const C=Be(t),A=sf(C),E=(s=r.serializer)!=null?s:of[A],{pause:y,resume:j}=qu(_,()=>B(_.value),{flush:i,deep:o,eventFilter:h});fe(T,()=>R(),{flush:i});let V=!1;const z=F=>{m&&!V||R(F)},oe=F=>{m&&!V||K(F)};f&&l&&(n instanceof Storage?be(f,"storage",z,{passive:!0}):be(f,Ei,oe)),m?As(()=>{V=!0,R()}):R();function L(F,ee){if(f){const Z={key:T.value,oldValue:F,newValue:ee,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",Z):new CustomEvent(Ei,{detail:Z}))}}function B(F){try{const ee=n.getItem(T.value);if(F==null)L(ee,null),n.removeItem(T.value);else{const Z=E.write(F);ee!==Z&&(n.setItem(T.value,Z),L(ee,Z))}}catch(ee){g(ee)}}function q(F){const ee=F?F.newValue:n.getItem(T.value);if(ee==null)return a&&C!=null&&n.setItem(T.value,E.write(C)),C;if(!F&&u){const Z=E.read(ee);return typeof u=="function"?u(Z,C):A==="object"&&!Array.isArray(Z)?{...C,...Z}:Z}else return typeof ee!="string"?ee:E.read(ee)}function R(F){if(!(F&&F.storageArea!==n)){if(F&&F.key==null){_.value=C;return}if(!(F&&F.key!==T.value)){y();try{(F==null?void 0:F.newValue)!==E.write(_.value)&&(_.value=q(F))}catch(ee){g(ee)}finally{F?ur(j):j()}}}}function K(F){R(F.detail)}return _}const af="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function cf(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=gt,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:a,emitAuto:u,disableTransition:c=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},h=rf({window:s}),g=de(()=>h.value?"dark":"light"),m=a||(o==null?ll(r):lf(o,r,i,{window:s,listenToStorageChanges:l})),_=de(()=>m.value==="auto"?g.value:m.value),T=cl("updateHTMLAttrs",(y,j,V)=>{const z=typeof y=="string"?s==null?void 0:s.document.querySelector(y):We(y);if(!z)return;const oe=new Set,L=new Set;let B=null;if(j==="class"){const R=V.split(/\s/g);Object.values(f).flatMap(K=>(K||"").split(/\s/g)).filter(Boolean).forEach(K=>{R.includes(K)?oe.add(K):L.add(K)})}else B={key:j,value:V};if(oe.size===0&&L.size===0&&B===null)return;let q;c&&(q=s.document.createElement("style"),q.appendChild(document.createTextNode(af)),s.document.head.appendChild(q));for(const R of oe)z.classList.add(R);for(const R of L)z.classList.remove(R);B&&z.setAttribute(B.key,B.value),c&&(s.getComputedStyle(q).opacity,document.head.removeChild(q))});function C(y){var j;T(t,n,(j=f[y])!=null?j:y)}function A(y){e.onChanged?e.onChanged(y,C):C(y)}fe(_,A,{flush:"post",immediate:!0}),As(()=>A(_.value));const E=de({get(){return u?m.value:_.value},set(y){m.value=y}});return Object.assign(E,{store:m,system:g,state:_})}function uf(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=cf({...e,onChanged:(o,l)=>{var a;e.onChanged?(a=e.onChanged)==null||a.call(e,o==="dark",l,o):l(o)},modes:{dark:t,light:n}}),s=de(()=>r.system.value);return de({get(){return r.value==="dark"},set(o){const l=o?"dark":"light";s.value===l?r.value="auto":r.value=l}})}function ff(e={}){const{navigator:t=Es,requestPermissions:n=!1,constraints:r={audio:!0,video:!0},onUpdated:s}=e,i=te([]),o=de(()=>i.value.filter(m=>m.kind==="videoinput")),l=de(()=>i.value.filter(m=>m.kind==="audioinput")),a=de(()=>i.value.filter(m=>m.kind==="audiooutput")),u=jt(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),c=ge(!1);let f;async function h(){u.value&&(i.value=await t.mediaDevices.enumerateDevices(),s==null||s(i.value),f&&(f.getTracks().forEach(m=>m.stop()),f=null))}async function g(){const m=r.video?"camera":"microphone";if(!u.value)return!1;if(c.value)return!0;const{state:_,query:T}=ef(m,{controls:!0});if(await T(),_.value!=="granted"){let C=!0;try{f=await t.mediaDevices.getUserMedia(r)}catch{f=null,C=!1}h(),c.value=C}else c.value=!0;return c.value}return u.value&&(n&&g(),be(t.mediaDevices,"devicechange",h,{passive:!0}),h()),{devices:i,ensurePermissions:g,permissionGranted:c,videoInputs:o,audioInputs:l,audioOutputs:a,isSupported:u}}function df(e,t,n={}){const{window:r=gt,...s}=n;let i;const o=jt(()=>r&&"ResizeObserver"in r),l=()=>{i&&(i.disconnect(),i=void 0)},a=de(()=>{const f=Be(e);return Array.isArray(f)?f.map(h=>We(h)):[We(f)]}),u=fe(a,f=>{if(l(),o.value&&r){i=new ResizeObserver(t);for(const h of f)h&&i.observe(h,s)}},{immediate:!0,flush:"post"}),c=()=>{l(),u()};return bn(c),{isSupported:o,stop:c}}function pf(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:i=!0,updateTiming:o="sync"}=t,l=ge(0),a=ge(0),u=ge(0),c=ge(0),f=ge(0),h=ge(0),g=ge(0),m=ge(0);function _(){const C=We(e);if(!C){n&&(l.value=0,a.value=0,u.value=0,c.value=0,f.value=0,h.value=0,g.value=0,m.value=0);return}const A=C.getBoundingClientRect();l.value=A.height,a.value=A.bottom,u.value=A.left,c.value=A.right,f.value=A.top,h.value=A.width,g.value=A.x,m.value=A.y}function T(){o==="sync"?_():o==="next-frame"&&requestAnimationFrame(()=>_())}return df(e,T),fe(()=>We(e),C=>!C&&T()),Yu(e,T,{attributeFilter:["style","class"]}),s&&be("scroll",T,{capture:!0,passive:!0}),r&&be("resize",T,{passive:!0}),As(()=>{i&&T()}),{height:l,bottom:a,left:u,right:c,top:f,width:h,x:g,y:m,update:T}}function hf(e,t,n={}){const{root:r,rootMargin:s="0px",threshold:i=0,window:o=gt,immediate:l=!0}=n,a=jt(()=>o&&"IntersectionObserver"in o),u=de(()=>{const m=Be(e);return nn(m).map(We).filter(ol)});let c=Nn;const f=ge(l),h=a.value?fe(()=>[u.value,We(r),f.value],([m,_])=>{if(c(),!f.value||!m.length)return;const T=new IntersectionObserver(t,{root:We(_),rootMargin:s,threshold:i});m.forEach(C=>C&&T.observe(C)),c=()=>{T.disconnect(),c=Nn}},{immediate:l,flush:"post"}):Nn,g=()=>{c(),h(),f.value=!1};return bn(g),{isSupported:a,isActive:f,pause(){c(),f.value=!1},resume(){f.value=!0},stop:g}}function gf(e={}){var t,n;const r=ge((t=e.enabled)!=null?t:!1),s=ge((n=e.autoSwitch)!=null?n:!0),i=te(e.constraints),{navigator:o=Es}=e,l=jt(()=>{var _;return(_=o==null?void 0:o.mediaDevices)==null?void 0:_.getUserMedia}),a=ge();function u(_){switch(_){case"video":{if(i.value)return i.value.video||!1;break}case"audio":{if(i.value)return i.value.audio||!1;break}}}async function c(){if(!(!l.value||a.value))return a.value=await o.mediaDevices.getUserMedia({video:u("video"),audio:u("audio")}),a.value}function f(){var _;(_=a.value)==null||_.getTracks().forEach(T=>T.stop()),a.value=void 0}function h(){f(),r.value=!1}async function g(){return await c(),a.value&&(r.value=!0),a.value}async function m(){return f(),await g()}return fe(r,_=>{_?c():f()},{immediate:!0}),fe(i,()=>{s.value&&a.value&&m()},{immediate:!0}),bn(()=>{h()}),{isSupported:l,stream:a,start:g,stop:h,restart:m,constraints:i,enabled:r,autoSwitch:s}}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function mf(e){return Bt()}function vf(e,t){mf()&&hr(e,t)}const ul=1/60*1e3,yf=typeof performance<"u"?()=>performance.now():()=>Date.now(),fl=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(yf()),ul);function bf(e){let t=[],n=[],r=0,s=!1,i=!1;const o=new WeakSet,l={schedule:(a,u=!1,c=!1)=>{const f=c&&s,h=f?t:n;return u&&o.add(a),h.indexOf(a)===-1&&(h.push(a),f&&s&&(r=t.length)),a},cancel:a=>{const u=n.indexOf(a);u!==-1&&n.splice(u,1),o.delete(a)},process:a=>{if(s){i=!0;return}if(s=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=bf(()=>hn=!0),e),{}),ss=_n.reduce((e,t)=>{const n=yr[t];return e[t]=(r,s=!1,i=!1)=>(hn||Sf(),n.schedule(r,s,i)),e},{}),xf=_n.reduce((e,t)=>(e[t]=yr[t].cancel,e),{});_n.reduce((e,t)=>(e[t]=()=>yr[t].process(Ut),e),{});const wf=e=>yr[e].process(Ut),dl=e=>{hn=!1,Ut.delta=ns?ul:Math.max(Math.min(e-Ut.timestamp,_f),1),Ut.timestamp=e,rs=!0,_n.forEach(wf),rs=!1,hn&&(ns=!1,fl(dl))},Sf=()=>{hn=!0,ns=!0,rs||fl(dl)},pl=()=>Ut;function hl(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);sMath.min(Math.max(n,e),t),Ri=.001,Of=.01,Tf=10,Cf=.05,Af=1;function Ef({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let s,i,o=1-t;o=is(Cf,Af,o),e=is(Of,Tf,e/1e3),o<1?(s=u=>{const c=u*o,f=c*e,h=c-n,g=os(u,o),m=Math.exp(-f);return Ri-h/g*m},i=u=>{const f=u*o*e,h=f*n+n,g=Math.pow(o,2)*Math.pow(u,2)*e,m=Math.exp(-f),_=os(Math.pow(u,2),o);return(-s(u)+Ri>0?-1:1)*((h-g)*m)/_}):(s=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-.001+c*f},i=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const l=5/e,a=Rf(s,i,l);if(e=e*1e3,isNaN(a))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(a,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const Mf=12;function Rf(e,t,n){let r=n;for(let s=1;se[n]!==void 0)}function jf(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Pi(e,If)&&Pi(e,Pf)){const n=Ef(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Ms(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:s}=e,i=hl(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:l,damping:a,mass:u,velocity:c,duration:f,isResolvedFromDuration:h}=jf(i),g=Ii,m=Ii;function _(){const T=c?-(c/1e3):0,C=n-t,A=a/(2*Math.sqrt(l*u)),E=Math.sqrt(l/u)/1e3;if(s===void 0&&(s=Math.min(Math.abs(n-t)/100,.4)),A<1){const y=os(E,A);g=j=>{const V=Math.exp(-A*E*j);return n-V*((T+A*E*C)/y*Math.sin(y*j)+C*Math.cos(y*j))},m=j=>{const V=Math.exp(-A*E*j);return A*E*V*(Math.sin(y*j)*(T+A*E*C)/y+C*Math.cos(y*j))-V*(Math.cos(y*j)*(T+A*E*C)-y*C*Math.sin(y*j))}}else if(A===1)g=y=>n-Math.exp(-E*y)*(C+(T+E*C)*y);else{const y=E*Math.sqrt(A*A-1);g=j=>{const V=Math.exp(-A*E*j),z=Math.min(y*j,300);return n-V*((T+A*E*C)*Math.sinh(z)+y*C*Math.cosh(z))/y}}}return _(),{next:T=>{const C=g(T);if(h)o.done=T>=f;else{const A=m(T)*1e3,E=Math.abs(A)<=r,y=Math.abs(n-C)<=s;o.done=E&&y}return o.value=o.done?n:C,o},flipTarget:()=>{c=-c,[t,n]=[n,t],_()}}}Ms.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Ii=e=>0,gl=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Rs=(e,t,n)=>-n*e+n*t+e,ml=(e,t)=>n=>Math.max(Math.min(n,t),e),rn=e=>e%1?Number(e.toFixed(5)):e,gn=/(-)?([\d]*\.?[\d])+/g,ls=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Lf=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function xn(e){return typeof e=="string"}const wn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},sn=Object.assign(Object.assign({},wn),{transform:ml(0,1)}),In=Object.assign(Object.assign({},wn),{default:1}),Ps=e=>({test:t=>xn(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),wt=Ps("deg"),on=Ps("%"),U=Ps("px"),ji=Object.assign(Object.assign({},on),{parse:e=>on.parse(e)/100,transform:e=>on.transform(e*100)}),Is=(e,t)=>n=>!!(xn(n)&&Lf.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),vl=(e,t,n)=>r=>{if(!xn(r))return r;const[s,i,o,l]=r.match(gn);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},Ct={test:Is("hsl","hue"),parse:vl("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+on.transform(rn(t))+", "+on.transform(rn(n))+", "+rn(sn.transform(r))+")"},Ff=ml(0,255),Nr=Object.assign(Object.assign({},wn),{transform:e=>Math.round(Ff(e))}),ft={test:Is("rgb","red"),parse:vl("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Nr.transform(e)+", "+Nr.transform(t)+", "+Nr.transform(n)+", "+rn(sn.transform(r))+")"};function kf(e){let t="",n="",r="",s="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),s=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),s=e.substr(4,1),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const as={test:Is("#"),parse:kf,transform:ft.transform},Pe={test:e=>ft.test(e)||as.test(e)||Ct.test(e),parse:e=>ft.test(e)?ft.parse(e):Ct.test(e)?Ct.parse(e):as.parse(e),transform:e=>xn(e)?e:e.hasOwnProperty("red")?ft.transform(e):Ct.transform(e)},yl="${c}",bl="${n}";function Nf(e){var t,n,r,s;return isNaN(e)&&xn(e)&&((n=(t=e.match(gn))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((s=(r=e.match(ls))===null||r===void 0?void 0:r.length)!==null&&s!==void 0?s:0)>0}function _l(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(ls);r&&(n=r.length,e=e.replace(ls,yl),t.push(...r.map(Pe.parse)));const s=e.match(gn);return s&&(e=e.replace(gn,bl),t.push(...s.map(wn.parse))),{values:t,numColors:n,tokenised:e}}function xl(e){return _l(e).values}function wl(e){const{values:t,numColors:n,tokenised:r}=_l(e),s=t.length;return i=>{let o=r;for(let l=0;ltypeof e=="number"?0:e;function Vf(e){const t=xl(e);return wl(e)(t.map(Df))}const Sn={test:Nf,parse:xl,createTransformer:wl,getAnimatableNone:Vf},Hf=new Set(["brightness","contrast","saturate","opacity"]);function $f(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(gn)||[];if(!r)return e;const s=n.replace(r,"");let i=Hf.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const Uf=/([a-z-]*)\(.*?\)/g,cs=Object.assign(Object.assign({},Sn),{getAnimatableNone:e=>{const t=e.match(Uf);return t?t.map($f).join(" "):e}});function Dr(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Li({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,i=0,o=0;if(!t)s=i=o=n;else{const l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;s=Dr(a,l,e+1/3),i=Dr(a,l,e),o=Dr(a,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}const Bf=(e,t,n)=>{const r=e*e,s=t*t;return Math.sqrt(Math.max(0,n*(s-r)+r))},Wf=[as,ft,Ct],Fi=e=>Wf.find(t=>t.test(e)),Sl=(e,t)=>{let n=Fi(e),r=Fi(t),s=n.parse(e),i=r.parse(t);n===Ct&&(s=Li(s),n=ft),r===Ct&&(i=Li(i),r=ft);const o=Object.assign({},s);return l=>{for(const a in o)a!=="alpha"&&(o[a]=Bf(s[a],i[a],l));return o.alpha=Rs(s.alpha,i.alpha,l),n.transform(o)}},zf=e=>typeof e=="number",Kf=(e,t)=>n=>t(e(n)),Ol=(...e)=>e.reduce(Kf);function Tl(e,t){return zf(e)?n=>Rs(e,t,n):Pe.test(e)?Sl(e,t):Al(e,t)}const Cl=(e,t)=>{const n=[...e],r=n.length,s=e.map((i,o)=>Tl(i,t[o]));return i=>{for(let o=0;o{const n=Object.assign(Object.assign({},e),t),r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Tl(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}};function ki(e){const t=Sn.parse(e),n=t.length;let r=0,s=0,i=0;for(let o=0;o{const n=Sn.createTransformer(t),r=ki(e),s=ki(t);return r.numHSL===s.numHSL&&r.numRGB===s.numRGB&&r.numNumbers>=s.numNumbers?Ol(Cl(r.parsed,s.parsed),n):o=>`${o>0?t:e}`},Gf=(e,t)=>n=>Rs(e,t,n);function Jf(e){if(typeof e=="number")return Gf;if(typeof e=="string")return Pe.test(e)?Sl:Al;if(Array.isArray(e))return Cl;if(typeof e=="object")return qf}function Yf(e,t,n){const r=[],s=n||Jf(e[0]),i=e.length-1;for(let o=0;on(gl(e,t,r))}function Xf(e,t){const n=e.length,r=n-1;return s=>{let i=0,o=!1;if(s<=e[0]?o=!0:s>=e[r]&&(i=r-1,o=!0),!o){let a=1;for(;as||a===r);a++);i=a-1}const l=gl(e[i],e[i+1],s);return t[i](l)}}function El(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;Mi(i===t.length),Mi(!r||!Array.isArray(r)||r.length===i-1),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=Yf(t,r,s),l=i===2?Zf(e,o):Xf(e,o);return n?a=>l(is(e[0],e[i-1],a)):l}const br=e=>t=>1-e(1-t),js=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Qf=e=>t=>Math.pow(t,e),Ml=e=>t=>t*t*((e+1)*t-e),ed=e=>{const t=Ml(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},Rl=1.525,td=4/11,nd=8/11,rd=9/10,Pl=e=>e,Ls=Qf(2),sd=br(Ls),Il=js(Ls),jl=e=>1-Math.sin(Math.acos(e)),Ll=br(jl),id=js(Ll),Fs=Ml(Rl),od=br(Fs),ld=js(Fs),ad=ed(Rl),cd=4356/361,ud=35442/1805,fd=16061/1805,Yn=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-Yn(1-e*2)):.5*Yn(e*2-1)+.5;function hd(e,t){return e.map(()=>t||Il).splice(0,e.length-1)}function gd(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function md(e,t){return e.map(n=>n*t)}function Dn({from:e=0,to:t=1,ease:n,offset:r,duration:s=300}){const i={done:!1,value:e},o=Array.isArray(t)?t:[e,t],l=md(r&&r.length===o.length?r:gd(o),s);function a(){return El(l,o,{ease:Array.isArray(n)?n:hd(o,n)})}let u=a();return{next:c=>(i.value=u(c),i.done=c>=s,i),flipTarget:()=>{o.reverse(),u=a()}}}function vd({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:s=.5,modifyTarget:i}){const o={done:!1,value:t};let l=n*e;const a=t+l,u=i===void 0?a:i(a);return u!==a&&(l=u-t),{next:c=>{const f=-l*Math.exp(-c/r);return o.done=!(f>s||f<-s),o.value=o.done?u:u+f,o},flipTarget:()=>{}}}const Ni={keyframes:Dn,spring:Ms,decay:vd};function yd(e){if(Array.isArray(e.to))return Dn;if(Ni[e.type])return Ni[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Dn:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ms:Dn}function Fl(e,t,n=0){return e-t-n}function bd(e,t,n=0,r=!0){return r?Fl(t+-e,t,n):t-(e-t)+n}function _d(e,t,n,r){return r?e>=t+n:e<=-n}const xd=e=>{const t=({delta:n})=>e(n);return{start:()=>ss.update(t,!0),stop:()=>xf.update(t)}};function kl(e){var t,n,{from:r,autoplay:s=!0,driver:i=xd,elapsed:o=0,repeat:l=0,repeatType:a="loop",repeatDelay:u=0,onPlay:c,onStop:f,onComplete:h,onRepeat:g,onUpdate:m}=e,_=hl(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:T}=_,C,A=0,E=_.duration,y,j=!1,V=!0,z;const oe=yd(_);!((n=(t=oe).needsInterpolation)===null||n===void 0)&&n.call(t,r,T)&&(z=El([0,100],[r,T],{clamp:!1}),r=0,T=100);const L=oe(Object.assign(Object.assign({},_),{from:r,to:T}));function B(){A++,a==="reverse"?(V=A%2===0,o=bd(o,E,u,V)):(o=Fl(o,E,u),a==="mirror"&&L.flipTarget()),j=!1,g&&g()}function q(){C.stop(),h&&h()}function R(F){if(V||(F=-F),o+=F,!j){const ee=L.next(Math.max(0,o));y=ee.value,z&&(y=z(y)),j=V?ee.done:o<=0}m==null||m(y),j&&(A===0&&(E??(E=o)),A{f==null||f(),C.stop()}}}function Nl(e,t){return t?e*(1e3/t):0}function wd({from:e=0,velocity:t=0,min:n,max:r,power:s=.8,timeConstant:i=750,bounceStiffness:o=500,bounceDamping:l=10,restDelta:a=1,modifyTarget:u,driver:c,onUpdate:f,onComplete:h,onStop:g}){let m;function _(E){return n!==void 0&&Er}function T(E){return n===void 0?r:r===void 0||Math.abs(n-E){var j;f==null||f(y),(j=E.onUpdate)===null||j===void 0||j.call(E,y)},onComplete:h,onStop:g}))}function A(E){C(Object.assign({type:"spring",stiffness:o,damping:l,restDelta:a},E))}if(_(e))A({from:e,velocity:t,to:T(e)});else{let E=s*t+e;typeof u<"u"&&(E=u(E));const y=T(E),j=y===n?-1:1;let V,z;const oe=L=>{V=z,z=L,t=Nl(L-V,pl().delta),(j===1&&L>y||j===-1&&Lm==null?void 0:m.stop()}}const Dl=(e,t)=>1-3*t+3*e,Vl=(e,t)=>3*t-6*e,Hl=e=>3*e,Zn=(e,t,n)=>((Dl(t,n)*e+Vl(t,n))*e+Hl(t))*e,$l=(e,t,n)=>3*Dl(t,n)*e*e+2*Vl(t,n)*e+Hl(t),Sd=1e-7,Od=10;function Td(e,t,n,r,s){let i,o,l=0;do o=t+(n-t)/2,i=Zn(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>Sd&&++l=Ad?Ed(o,f,e,n):h===0?f:Td(o,l,l+jn,e,n)}return o=>o===0||o===1?o:Zn(i(o),t,r)}const it={},Vr={};class Rd{constructor(){Ve(this,"subscriptions",new Set)}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,n,r){if(this.subscriptions.size)for(const s of this.subscriptions)s(t,n,r)}clear(){this.subscriptions.clear()}}function Di(e){return!Number.isNaN(Number.parseFloat(e))}class Pd{constructor(t){Ve(this,"current");Ve(this,"prev");Ve(this,"timeDelta",0);Ve(this,"lastUpdated",0);Ve(this,"updateSubscribers",new Rd);Ve(this,"stopAnimation");Ve(this,"canTrackVelocity",!1);Ve(this,"updateAndNotify",t=>{this.prev=this.current,this.current=t;const{delta:n,timestamp:r}=pl();this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r),ss.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)});Ve(this,"scheduleVelocityCheck",()=>ss.postRender(this.velocityCheck));Ve(this,"velocityCheck",({timestamp:t})=>{this.canTrackVelocity||(this.canTrackVelocity=Di(this.current)),t!==this.lastUpdated&&(this.prev=this.current)});this.prev=this.current=t,this.canTrackVelocity=Di(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Nl(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{const{stop:r}=t(n);this.stopAnimation=r}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function Id(e){return new Pd(e)}const{isArray:jd}=Array;function Ld(){const e=te({}),t=r=>{const s=i=>{e.value[i]&&(e.value[i].stop(),e.value[i].destroy(),delete e.value[i])};r?jd(r)?r.forEach(s):s(r):Object.keys(e.value).forEach(s)},n=(r,s,i)=>{if(e.value[r])return e.value[r];const o=Id(s);return o.onChange(l=>i[r]=l),e.value[r]=o,o};return vf(t),{motionValues:e,get:n,stop:t}}function Fd(e){return Array.isArray(e)}function St(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function Hr(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function kd(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function $r(){return{type:"keyframes",ease:"linear",duration:300}}function Nd(e){return{type:"keyframes",duration:800,values:e}}const Vi={default:kd,x:St,y:St,z:St,rotate:St,rotateX:St,rotateY:St,rotateZ:St,scaleX:Hr,scaleY:Hr,scale:Hr,backgroundColor:$r,color:$r,opacity:$r};function Ul(e,t){let n;return Fd(t)?n=Nd:n=Vi[e]||Vi.default,{to:t,...n(t)}}const Hi={...wn,transform:Math.round},Bl={color:Pe,backgroundColor:Pe,outlineColor:Pe,fill:Pe,stroke:Pe,borderColor:Pe,borderTopColor:Pe,borderRightColor:Pe,borderBottomColor:Pe,borderLeftColor:Pe,borderWidth:U,borderTopWidth:U,borderRightWidth:U,borderBottomWidth:U,borderLeftWidth:U,borderRadius:U,radius:U,borderTopLeftRadius:U,borderTopRightRadius:U,borderBottomRightRadius:U,borderBottomLeftRadius:U,width:U,maxWidth:U,height:U,maxHeight:U,size:U,top:U,right:U,bottom:U,left:U,padding:U,paddingTop:U,paddingRight:U,paddingBottom:U,paddingLeft:U,margin:U,marginTop:U,marginRight:U,marginBottom:U,marginLeft:U,rotate:wt,rotateX:wt,rotateY:wt,rotateZ:wt,scale:In,scaleX:In,scaleY:In,scaleZ:In,skew:wt,skewX:wt,skewY:wt,distance:U,translateX:U,translateY:U,translateZ:U,x:U,y:U,z:U,perspective:U,transformPerspective:U,opacity:sn,originX:ji,originY:ji,originZ:U,zIndex:Hi,filter:cs,WebkitFilter:cs,fillOpacity:sn,strokeOpacity:sn,numOctaves:Hi},ks=e=>Bl[e];function us(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function Dd(e,t){let n=ks(e);return n!==cs&&(n=Sn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Vd={linear:Pl,easeIn:Ls,easeInOut:Il,easeOut:sd,circIn:jl,circInOut:id,circOut:Ll,backIn:Fs,backInOut:ld,backOut:od,anticipate:ad,bounceIn:dd,bounceInOut:pd,bounceOut:Yn};function $i(e){if(Array.isArray(e)){const[t,n,r,s]=e;return Md(t,n,r,s)}else if(typeof e=="string")return Vd[e];return e}function Hd(e){return Array.isArray(e)&&typeof e[0]!="number"}function Ui(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Sn.test(t)&&!t.startsWith("url("))}function $d(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function Ud({ease:e,times:t,delay:n,...r}){const s={...r};return t&&(s.offset=t),e&&(s.ease=Hd(e)?e.map($i):$i(e)),n&&(s.elapsed=-n),s}function Bd(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),$d(t),Wd(e)||(e={...e,...Ul(n,t.to)}),{...t,...Ud(e)}}function Wd({delay:e,repeat:t,repeatType:n,repeatDelay:r,from:s,...i}){return!!Object.keys(i).length}function zd(e,t){return e[t]||e.default||e}function Kd(e,t,n,r,s){const i=zd(r,e);let o=i.from===null||i.from===void 0?t.get():i.from;const l=Ui(e,n);o==="none"&&l&&typeof n=="string"&&(o=Dd(e,n));const a=Ui(e,o);function u(f){const h={from:o,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:g=>t.set(g)};return i.type==="inertia"||i.type==="decay"?wd({...h,...i}):kl({...Bd(i,h,e),onUpdate:g=>{h.onUpdate(g),i.onUpdate&&i.onUpdate(g)},onComplete:()=>{s&&s(),f&&f()}})}function c(f){return t.set(n),s&&s(),f&&f(),{stop:()=>{}}}return!a||!l||i.type===!1?c:u}function qd(){const{motionValues:e,stop:t,get:n}=Ld();return{motionValues:e,stop:t,push:(s,i,o,l={},a)=>{const u=o[s],c=n(s,u,o);if(l&&l.immediate){c.set(i);return}const f=Kd(s,c,i,l,a);c.start(f)}}}function Gd(e,t={},{motionValues:n,push:r,stop:s}=qd()){const i=Ie(t),o=te(!1);fe(n,f=>{o.value=Object.values(f).filter(h=>h.isAnimating()).length>0},{immediate:!0,deep:!0});const l=f=>{if(!i||!i[f])throw new Error(`The variant ${f} does not exist.`);return i[f]},a=f=>{typeof f=="string"&&(f=l(f));const h=Object.entries(f).map(([m,_])=>{if(m!=="transition")return new Promise(T=>r(m,_,e,f.transition||Ul(m,f[m]),T))}).filter(Boolean);async function g(){var m,_;await Promise.all(h),(_=(m=f.transition)==null?void 0:m.onComplete)==null||_.call(m)}return Promise.all([g()])};return{isAnimating:o,apply:a,set:f=>{const h=Jn(f)?f:l(f);Object.entries(h).forEach(([g,m])=>{g!=="transition"&&r(g,m,e,{immediate:!0})})},leave:async f=>{let h;if(i&&(i.leave&&(h=i.leave),!i.leave&&i.initial&&(h=i.initial)),!h){f();return}await a(h),f()},stop:s}}const Ns=typeof window<"u",Jd=()=>Ns&&(window.onpointerdown===null||(it==null?void 0:it.TEST)),Yd=()=>Ns&&(window.ontouchstart===null||(it==null?void 0:it.TEST)),Zd=()=>Ns&&(window.onmousedown===null||(it==null?void 0:it.TEST));function Xd({target:e,state:t,variants:n,apply:r}){const s=Ie(n),i=te(!1),o=te(!1),l=te(!1),a=de(()=>{let c=[...Object.keys(t.value||{})];return s&&(s.hovered&&(c=[...c,...Object.keys(s.hovered)]),s.tapped&&(c=[...c,...Object.keys(s.tapped)]),s.focused&&(c=[...c,...Object.keys(s.focused)])),c}),u=de(()=>{const c={};Object.assign(c,t.value),i.value&&s.hovered&&Object.assign(c,s.hovered),o.value&&s.tapped&&Object.assign(c,s.tapped),l.value&&s.focused&&Object.assign(c,s.focused);for(const f in c)a.value.includes(f)||delete c[f];return c});s.hovered&&(be(e,"mouseenter",()=>i.value=!0),be(e,"mouseleave",()=>{i.value=!1,o.value=!1})),s.tapped&&(Zd()&&(be(e,"mousedown",()=>o.value=!0),be(e,"mouseup",()=>o.value=!1)),Jd()&&(be(e,"pointerdown",()=>o.value=!0),be(e,"pointerup",()=>o.value=!1)),Yd()&&(be(e,"touchstart",()=>o.value=!0),be(e,"touchend",()=>o.value=!1))),s.focused&&(be(e,"focus",()=>l.value=!0),be(e,"blur",()=>l.value=!1)),fe([i,o,l],()=>{r(u.value)})}function Qd({set:e,target:t,variants:n,variant:r}){const s=Ie(n);fe(()=>t,()=>{s&&(s.initial&&(e("initial"),r.value="initial"),s.enter&&(r.value="enter"))},{immediate:!0,flush:"pre"})}function ep({state:e,apply:t}){fe(e,n=>{n&&t(n)},{immediate:!0})}function Wl({target:e,variants:t,variant:n}){const r=Ie(t);r&&(r.visible||r.visibleOnce)&&hf(e,([{isIntersecting:s}])=>{r.visible?s?n.value="visible":n.value="initial":r.visibleOnce&&(s&&n.value!=="visibleOnce"?n.value="visibleOnce":n.value||(n.value="initial"))})}function tp(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&Qd(e),t.syncVariants&&ep(e),t.visibilityHooks&&Wl(e),t.eventListeners&&Xd(e)}function zl(e={}){const t=It({...e}),n=te({});return fe(t,()=>{const r={};for(const[s,i]of Object.entries(t)){const o=ks(s),l=us(i,o);r[s]=l}n.value=r},{immediate:!0,deep:!0}),{state:t,style:n}}function Ds(e,t){fe(()=>We(e),n=>{n&&t(n)},{immediate:!0})}const np={x:"translateX",y:"translateY",z:"translateZ"};function Kl(e={},t=!0){const n=It({...e}),r=te("");return fe(n,s=>{let i="",o=!1;if(t&&(s.x||s.y||s.z)){const l=[s.x||0,s.y||0,s.z||0].map(a=>us(a,U)).join(",");i+=`translate3d(${l}) `,o=!0}for(const[l,a]of Object.entries(s)){if(t&&(l==="x"||l==="y"||l==="z"))continue;const u=ks(l),c=us(a,u);i+=`${np[l]||l}(${c}) `}t&&!o&&(i+="translateZ(0px) "),r.value=i.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}const rp=["","X","Y","Z"],sp=["perspective","translate","scale","rotate","skew"],ql=["transformPerspective","x","y","z"];sp.forEach(e=>{rp.forEach(t=>{const n=e+t;ql.push(n)})});const ip=new Set(ql);function Vs(e){return ip.has(e)}const op=new Set(["originX","originY","originZ"]);function Gl(e){return op.has(e)}function lp(e){const t={},n={};return Object.entries(e).forEach(([r,s])=>{Vs(r)||Gl(r)?t[r]=s:n[r]=s}),{transform:t,style:n}}function _r(e){const{transform:t,style:n}=lp(e),{transform:r}=Kl(t),{style:s}=zl(n);return r.value&&(s.value.transform=r.value),s.value}function ap(e,t){let n,r;const{state:s,style:i}=zl();return Ds(e,o=>{r=o;for(const l of Object.keys(Bl))o.style[l]===null||o.style[l]===""||Vs(l)||Gl(l)||(s[l]=o.style[l]);n&&Object.entries(n).forEach(([l,a])=>o.style[l]=a),t&&t(s)}),fe(i,o=>{if(!r){n=o;return}for(const l in o)r.style[l]=o[l]},{immediate:!0}),{style:s}}function cp(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const n=r=>r.endsWith("px")||r.endsWith("deg")?Number.parseFloat(r):Number.isNaN(Number(r))?Number(r):r;return t.reduce((r,s)=>{if(!s)return r;const[i,o]=s.split("("),a=o.split(",").map(c=>n(c.endsWith(")")?c.replace(")",""):c.trim())),u=a.length===1?a[0]:a;return{...r,[i]:u}},{})}function up(e,t){Object.entries(cp(t)).forEach(([n,r])=>{const s=["x","y","z"];if(n==="translate3d"){if(r===0){s.forEach(i=>e[i]=0);return}r.forEach((i,o)=>e[s[o]]=i);return}if(r=Number.parseFloat(`${r}`),n==="translateX"){e.x=r;return}if(n==="translateY"){e.y=r;return}if(n==="translateZ"){e.z=r;return}e[n]=r})}function fp(e,t){let n,r;const{state:s,transform:i}=Kl();return Ds(e,o=>{r=o,o.style.transform&&up(s,o.style.transform),n&&(o.style.transform=n),t&&t(s)}),fe(i,o=>{if(!r){n=o;return}r.style.transform=o},{immediate:!0}),{transform:s}}function dp(e){return Object.entries(e)}function pp(e,t){const n=It({}),r=o=>Object.entries(o).forEach(([l,a])=>n[l]=a),{style:s}=ap(e,r),{transform:i}=fp(e,r);return fe(n,o=>{dp(o).forEach(([l,a])=>{const u=Vs(l)?i:s;u[l]&&u[l]===a||(u[l]=a)})},{immediate:!0,deep:!0}),Ds(e,()=>t),{motionProperties:n,style:s,transform:i}}function hp(e={}){const t=Ie(e),n=te();return{state:de(()=>{if(n.value)return t[n.value]}),variant:n}}function Jl(e,t={},n){const{motionProperties:r}=pp(e),{variant:s,state:i}=hp(t),o=Gd(r,t),l={target:e,variant:s,variants:t,state:i,motionProperties:r,...o};return tp(l,n),l}const Yl=["delay","duration"],gp=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...Yl];function mp(e){return Yl.includes(e)}function vp(e,t){const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(n){n.variants&&Jn(n.variants)&&(t.value={...t.value,...n.variants});for(let r of gp)if(!(!n||!n[r])){if(mp(r)&&typeof n[r]=="number"){for(const s of["enter","visible","visibleOnce"]){const i=t.value[s];i!=null&&(i.transition??(i.transition={}),i.transition[r]=n[r])}continue}if(Jn(n[r])){const s=n[r];r==="visible-once"&&(r="visibleOnce"),t.value[r]=s}}}}function Ur(e,t=!1){return{created:(s,i,o)=>{const l=i.value&&typeof i.value=="string"?i.value:o.key;l&&Vr[l]&&Vr[l].stop();const a=t?structuredClone(G(e)||{}):e||{},u=te(a);typeof i.value=="object"&&(u.value=i.value),vp(o,u);const f=Jl(s,u,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});s.motionInstance=f,l&&(Vr[l]=f)},mounted:(s,i,o)=>{s.motionInstance&&Wl(s.motionInstance)},getSSRProps(s,i){let{initial:o}=s.value||i&&(i==null?void 0:i.props)||{};o=Ie(o);const l=Bi({},(e==null?void 0:e.initial)||{},o||{});return!l||Object.keys(l).length===0?void 0:{style:_r(l)}}}}const yp={initial:{opacity:0},enter:{opacity:1}},bp={initial:{opacity:0},visible:{opacity:1}},_p={initial:{opacity:0},visibleOnce:{opacity:1}},xp={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},wp={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},Sp={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},Op={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Tp={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Cp={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Ap={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Ep={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Mp={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Rp={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Pp={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},Ip={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},jp={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Lp={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},Fp={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},kp={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},Np={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},Dp={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},Vp={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},Hp={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},$p={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},Up={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},Bp={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},Wp={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},zp={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},Kp={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},qp={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},Xn={__proto__:null,fade:yp,fadeVisible:bp,fadeVisibleOnce:_p,pop:xp,popVisible:wp,popVisibleOnce:Sp,rollBottom:jp,rollLeft:Op,rollRight:Ap,rollTop:Rp,rollVisibleBottom:Lp,rollVisibleLeft:Tp,rollVisibleOnceBottom:Fp,rollVisibleOnceLeft:Cp,rollVisibleOnceRight:Mp,rollVisibleOnceTop:Ip,rollVisibleRight:Ep,rollVisibleTop:Pp,slideBottom:zp,slideLeft:kp,slideRight:Vp,slideTop:Up,slideVisibleBottom:Kp,slideVisibleLeft:Np,slideVisibleOnceBottom:qp,slideVisibleOnceLeft:Dp,slideVisibleOnceRight:$p,slideVisibleOnceTop:Wp,slideVisibleRight:Hp,slideVisibleTop:Bp};function Gp(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",r=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,s=>`-${s}`).toLowerCase().replace(/\s+/g,"-").replace(r,s=>n.charAt(t.indexOf(s))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const Zl=Symbol(""),Xl={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function Jp(e){return Object.prototype.toString.call(e)==="[object Object]"}function fs(e){if(Array.isArray(e))return e.map(fs);if(Jp(e)){const t={};for(const n in e)t[n]=fs(e[n]);return t}return e}function Ql(e){const t=It({}),n=$t(Zl,{}),r=de(()=>e.preset==null?{}:n!=null&&e.preset in n?structuredClone(G(n)[e.preset]):e.preset in Xn?structuredClone(Xn[e.preset]):{}),s=de(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused}));function i(a,u){for(const c of["delay","duration"]){if(u[c]==null)continue;const f=Number.parseInt(u[c]);for(const h of["enter","visible","visibleOnce"]){const g=a[h];g!=null&&(g.transition??(g.transition={}),g.transition[c]=f)}}return a}const o=de(()=>{const a=Bi({},s.value,r.value,e.variants||{});return i({...a},e)});function l(a,u,c){var h;a.props??(a.props={}),(h=a.props).style??(h.style={}),a.props.style={...a.props.style,...c};const f=i(fs(o.value),a.props);return a.props.onVnodeMounted=({el:g})=>{t[u]=Jl(g,f)},a.props.onVnodeUpdated=({el:g})=>{const m=_r(t[u].state);for(const[_,T]of Object.entries(m))g.style[_]=T},a}return{motionConfig:o,setNodeInstance:l}}const Yp=fr({name:"Motion",props:{...Xl,is:{type:[String,Object],default:"div"}},setup(e){const t=Io(),{motionConfig:n,setNodeInstance:r}=Ql(e);return()=>{const s=_r(n.value.initial||{}),i=Cs(e.is,void 0,t);return r(i,0,s),i}}}),Zp=fr({name:"MotionGroup",props:{...Xl,is:{type:[String,Object],required:!1}},setup(e){const t=Io(),{motionConfig:n,setNodeInstance:r}=Ql(e);return()=>{var o;const s=_r(n.value.initial||{}),i=((o=t.default)==null?void 0:o.call(t))||[];for(let l=0;lnew Promise(t=>setTimeout(t,e));async function eh(){try{if(th())return{supported:!1,isNode:!0,reason:"",fp16Supported:!1};if(typeof navigator>"u"||!navigator.gpu)return{supported:!1,isNode:!1,reason:"WebGPU is not available (navigator.gpu is undefined)",fp16Supported:!1};const e=await navigator.gpu.requestAdapter();return e?{supported:!0,isNode:!1,reason:"",adapter:e,fp16Supported:e.features.has("shader-f16")}:{supported:!1,isNode:!1,reason:"WebGPU is not supported (no adapter found)",fp16Supported:!1}}catch(e){return{supported:!1,isNode:!1,reason:e instanceof Error?e.toString():String(e),fp16Supported:!1}}}function th(){return typeof process<"u"&&"versions"in process&&process.versions!=null&&typeof process.versions=="object"&&"node"in process.versions&&process.versions.node!=null}const nh={bg:"neutral-500/40 dark:neutral-900/70",border:"neutral-400/40 dark:neutral-700/50 1 solid",transition:"all duration-300 ease-in-out","h-full":"","overflow-hidden":"","rounded-full":"","backdrop-blur-lg":""},rh=fr({__name:"Progress",props:{percentage:{default:0},total:{}},setup(e){return(t,n)=>(xe(),Te("div",nh,[pe("div",{"h-full":"",bg:"white dark:neutral-200",w:"[100%]",style:rr({transform:`translateX(-${Math.max(0,100-t.percentage)}%)`})},null,4)]))}}),sh=e=>{let t,n=!1,r=!1;const s=async(l,a)=>{if(!l)throw new Error("Payload is required");return new Promise((u,c)=>{if(!e.workerURL)throw new Error("Worker URL is required");if(n){u();return}try{let f;if((a==null?void 0:a.onProgress)!=null&&(f=a==null?void 0:a.onProgress,a==null||delete a.onProgress),!r&&!n&&!t){let h;if(e.workerURL instanceof URL?h=new URL(e.workerURL).searchParams.get("worker-url"):h=e.workerURL,!h)throw new Error("Worker URL is required");if(t||(t=new Worker(h,{type:"module"})),!t)throw new Error("Worker not initialized");t.postMessage(l),t.addEventListener("message",g=>{switch(g.data.type){case"error":r=!1,c(g.data.data.error);break;case"progress":f!=null&&typeof f=="function"&&f(g.data.data.progress);break}})}t.addEventListener("message",h=>{h.data.type!=="status"||h.data.data.status!=="ready"||(n=!0,r=!1,u())})}catch(f){r=!1,c(f)}})},i=async l=>{var a,u;l!=null&&!(l!=null&&l.loadOptions)&&await s((a=l==null?void 0:l.loadOptions)==null?void 0:a.payload,(u=l==null?void 0:l.loadOptions)==null?void 0:u.options)};return{dispose:()=>{t&&(t.terminate(),n=!1,r=!1,t=void 0)},load:s,process:(l,a,u)=>new Promise((c,f)=>{i(u).then(()=>{if(!t||!n){f(new Error("Model not loaded"));return}t.addEventListener("error",m=>{f(m)});let h=!1,g=!1;t.addEventListener("message",m=>{var _;switch(m.data.type){case"error":h=!0,f((_=m.data.data)==null?void 0:_.error);break;case a:g=!0,c(m.data.data);break}}),!h&&!g&&(t==null||t.postMessage(l))})})}};function ih(e){if(!e.baseURL)throw new Error("baseURL is required");const t=sh({workerURL:e.baseURL});return{load:s=>{let i;return s&&"onProgress"in s&&typeof s.onProgress=="function"&&(i=s.onProgress,delete s.onProgress),t.load({data:{options:s},type:"load"},{onProgress:i})},process:async s=>(await t.process({data:s,type:"process"},"processResult")).output.data,dispose:()=>t==null?void 0:t.dispose()}}const oh="/assets/worker-B4EBg6qR.js",lh={relative:"","z-0":"","h-full":"","w-full":"","overflow-hidden":"",class:"rounded-none sm:rounded-3xl","shadow-md":""},ah={key:1,"i-svg-spinners:6-dots-rotate":"","size-4":""},ch={key:0,bottom:"20",left:"1/2","translate-x":"-50%","max-w":"50",absolute:"","z-10":"","h-5":"","w-full":""},uh={key:1,"translate-x":"-50%",absolute:"",bottom:"20",left:"1/2","z-10":"",bg:"neutral-700/60 dark:neutral-900/90",text:"white/98 dark:neutral-100/90 {var W;return l.value?l.value:(W=t.value[0])==null?void 0:W.deviceId},set:W=>(l.value=W,l.value)}),u=de(()=>({video:{deviceId:l.value}})),c=te(!0),f=te(!1),h=te(!1),g=te(!1),m=te(!1),_=te("In one sentence, what do you see?"),T=te(""),C=te("500"),A=te([]),E=new Set,y=te(0),j=te(0),V=te(),z=uf({disableTransition:!1}),oe=pf(s,{immediate:!0,windowResize:!0}),{stream:L,start:B}=gf({constraints:u,enabled:!0,autoSwitch:!0});function q(){var me,On;if(!L||!((me=i.value)!=null&&me.videoWidth)||!o.value)return console.warn("Video stream not ready for capture."),null;const{width:W,height:X}=(On=i.value)==null?void 0:On.getBoundingClientRect();o.value.width=W,o.value.height=X;const J=o.value.getContext("2d",{willReadFrequently:!0});if(!J)return console.warn("Canvas context not ready for capture."),null;J.drawImage(i.value,0,0,o.value.width,o.value.height);const Q=J.getImageData(0,0,o.value.width,o.value.height);return{imageBuffer:Q.data,imageWidth:Q.width,imageHeight:Q.height,channels:4}}function R(){eh().then(W=>{c.value=W.supported})}async function K(){var J;if(!h.value)return;const W=_.value,X=q();if(!X){T.value="Capture failed";return}try{const Q=await((J=V.value)==null?void 0:J.process({instruction:W,imageBuffer:X.imageBuffer,imageWidth:X.imageWidth,imageHeight:X.imageHeight,channels:X.channels}));T.value=Q??""}catch(Q){console.error(Q),T.value=`Error: ${Q instanceof Error?Q.message:"Unknown error"}`}}async function F(){const W=Number.parseInt(C.value,10);for(;h.value&&(await K(),!!h.value);)await Qp(W)}const ee=async W=>{if(W.status==="initiate"){if(E.has(W.file))return;E.add(W.file),A.value.push(W),g.value=!0}else if(W.status==="progress"){const X=A.value.findIndex(J=>J.file===W.file);if(X>=0){A.value[X]=W;let J=0,Q=0;for(const me of A.value)"total"in me&&me.total&&(J+=me.total,"loaded"in me&&me.loaded&&(Q+=me.loaded));j.value=J,J>0&&(y.value=Q/J*100)}else{A.value.push(W);let J=0,Q=0;for(const me of A.value)"total"in me&&me.total&&(J+=me.total,"loaded"in me&&me.loaded&&(Q+=me.loaded));j.value=J,J>0&&(y.value=Q/J*100)}}else if(W.status==="done"){const X=A.value.findIndex(Q=>Q.file===W.file);X>=0&&(A.value[X]=W),A.value.every(Q=>Q.status==="done"||Q.status==="ready")&&(g.value=!1,y.value=100)}else W.status==="ready"&&(g.value=!1,y.value=100)};async function Z(){var W;if(!L){T.value="Camera not available. Cannot start.",alert("Camera not available. Please grant permission first.");return}f.value||(m.value=!0,await((W=V.value)==null?void 0:W.load({onProgress:ee})),m.value=!1,f.value=!0),h.value=!0,T.value="...",F()}function ue(){h.value=!1,T.value==="..."&&(T.value="")}function se(){h.value?ue():Z()}return fe([L,i],()=>{L.value&&i.value&&(i.value.srcObject=L.value)}),fe(l,()=>l.value&&B()),Et(()=>V.value=ih({baseURL:oh})),Et(oe.update),Et(R),hr(()=>{var W;return(W=V.value)==null?void 0:W.dispose()}),(W,X)=>(xe(),Te("div",{ref_key:"videoScreenContainer",ref:s,"max-h":"100dvh","max-w":"100dvw",relative:"","h-full":"","w-full":"",class:"p-0 sm:p-4"},[pe("div",lh,[X[5]||(X[5]=pe("div",{absolute:"","left-0":"","top-0":"","z-10":"",class:"p-2 sm:p-4",flex:"","gap-2":""},[pe("div",{bg:"white dark:neutral-900",text:"black dark:white 0&&g.value?(xe(),Te("div",ch,[Me(rh,{percentage:Math.min(100,y.value)},null,8,["percentage"])])):si("",!0),T.value?(xe(),Te("div",uh,Ft(T.value),1)):si("",!0),Ie(r)?c.value?Ie(n)?(xe(),Te(Ee,{key:5},[pe("video",{ref_key:"videoScreen",ref:i,autoplay:"",muted:"",relative:"","z-0":"","h-full":"","w-full":"","object-cover":""},null,512),pe("canvas",{ref_key:"captureCanvas",ref:o,class:"hidden"},null,512)],64)):(xe(),Te("div",ph,X[4]||(X[4]=[pe("div",{text:"orange-700 4xl","font-semibold":""}," Warning ",-1),pe("div",{"max-w":"50%",text:"orange 2xl center"},Ft("Permission not granted. Please grant permission first. Then choose a camera from the dropdown menu."),-1)]))):(xe(),Te("div",dh,X[3]||(X[3]=[pe("div",{text:"neutral-700 dark:neutral-300 4xl","font-semibold":""}," Not Supported ",-1),pe("div",{"max-w":"50%",text:"neutral 2xl center"},Ft("Browser does not support WebGPU. Please use a supported browser."),-1)]))):(xe(),Te("div",fh,X[2]||(X[2]=[pe("div",{text:"neutral-700 dark:neutral-300 4xl","font-semibold":""}," Not Supported ",-1),pe("div",{"max-w":"50%",text:"neutral 2xl center"},Ft("Browser does not support video camera. Please use a supported browser."),-1)]))),pe("div",hh,[nc(pe("select",{"onUpdate:modelValue":X[0]||(X[0]=J=>a.value=J),bg:"neutral-500/40 hover:neutral-600/40 dark:neutral-900/70 hover:dark:neutral-900/60",text:"white/98 dark:neutral-100/90 (xe(),Te("option",{key:J.deviceId,value:J.deviceId,class:"text-xs sm:text-sm","inline-block":""},Ft(J.label),9,gh))),128))],512),[[Lu,a.value]]),pe("button",{bg:"neutral-500/40 hover:neutral-600/40 dark:neutral-900/70 hover:dark:neutral-900/60",text:"white/98 dark:neutral-100/90",border:"neutral-400/40 dark:neutral-500/50 1 solid",outline:"none",shadow:"none hover:lg",transition:"all duration-300 ease-in-out","aspect-square":"","h-full":"",flex:"","cursor-pointer":"","items-center":"","justify-center":"","rounded-full":"","backdrop-blur-lg":"",onClick:X[1]||(X[1]=J=>z.value=!Ie(z))},[Me(hu,{name:"fade",mode:"out-in"},{default:wo(()=>[Ie(z)?(xe(),Te("div",mh)):(xe(),Te("div",vh))]),_:1})])])])],512))}});Nu(yh).use(Xp).mount("#app");