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