nekomeowww's picture
release: build 2243b825ff047c41fdc1f4382b6848dda4fd633a
b0be875
var oa=Object.defineProperty;var la=(e,t,n)=>t in e?oa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Le=(e,t,n)=>la(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 aa(e){return(...t)=>t.reduce((n,s)=>Us(n,s,"",e),{})}const Ui=aa();/**
* @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 ie={},Lt=[],Xe=()=>{},ca=()=>!1,es=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),pr=e=>e.startsWith("onUpdate:"),me=Object.assign,hr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ua=Object.prototype.hasOwnProperty,ee=(e,t)=>ua.call(e,t),V=Array.isArray,kt=e=>vn(e)==="[object Map]",ts=e=>vn(e)==="[object Set]",Ur=e=>vn(e)==="[object Date]",W=e=>typeof e=="function",de=e=>typeof e=="string",Qe=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",zi=e=>(ne(e)||W(e))&&W(e.then)&&W(e.catch),Ki=Object.prototype.toString,vn=e=>Ki.call(e),fa=e=>vn(e).slice(8,-1),qi=e=>vn(e)==="[object Object]",gr=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zt=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))},da=/-(\w)/g,pt=ns(e=>e.replace(da,(t,n)=>n?n.toUpperCase():"")),pa=/\B([A-Z])/g,Pt=ns(e=>e.replace(pa,"-$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<e.length;n++)e[n](...t)},Ji=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Yi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ha=e=>{const t=de(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<e.length;n++){const s=e[n],r=de(s)?va(s):rs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(de(e)||ne(e))return e}const ga=/;(?![^(]*\))/g,ma=/:([^]+)/,ya=/\/\*[^]*?\*\//g;function va(e){const t={};return e.replace(ya,"").split(ga).forEach(n=>{if(n){const s=n.split(ma);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function is(e){let t="";if(de(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const s=is(e[n]);s&&(t+=s+" ")}else if(ne(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ba="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_a=dr(ba);function Zi(e){return!!e||e===""}function xa(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=os(e[s],t[s]);return n}function os(e,t){if(e===t)return!0;let n=Ur(e),s=Ur(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Qe(e),s=Qe(t),n||s)return e===t;if(n=V(e),s=V(t),n||s)return n&&s?xa(e,t):!1;if(n=ne(e),s=ne(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),a=t.hasOwnProperty(o);if(l&&!a||!l&&a||!os(e[o],t[o]))return!1}}return String(e)===String(t)}function Sa(e,t){return e.findIndex(n=>os(n,t))}const Xi=e=>!!(e&&e.__v_isRef===!0),Ot=e=>de(e)?e:e==null?"":V(e)||ne(e)&&(e.toString===Ki||!W(e.toString))?Xi(e)?Ot(e.value):JSON.stringify(e,Qi,2):String(e),Qi=(e,t)=>Xi(t)?Qi(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))}:Qe(t)?Ts(t):ne(t)&&!V(t)&&!qi(t)?String(t):t,Ts=(e,t="")=>{var n;return Qe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Se;class wa{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Se,!t&&Se&&(this.index=(Se.scopes||(Se.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Se;try{return Se=this,t()}finally{Se=n}}}on(){Se=this}off(){Se=this.parent}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function eo(){return Se}function Oa(e,t=!1){Se&&Se.cleanups.push(e)}let le;const Cs=new WeakSet;class to{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Se&&Se.active&&Se.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Cs.has(this)&&(Cs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||so(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Kr(this),ro(this);const t=le,n=$e;le=this,$e=!0;try{return this.fn()}finally{io(this),le=t,$e=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)vr(t);this.deps=this.depsTail=void 0,Kr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Cs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){zs(this)&&this.run()}get dirty(){return zs(this)}}let no=0,Xt,Qt;function so(e,t=!1){if(e.flags|=8,t){e.next=Qt,Qt=e;return}e.next=Xt,Xt=e}function mr(){no++}function yr(){if(--no>0)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(;Xt;){let t=Xt;for(Xt=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),Ta(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===cn))return;e.globalVersion=cn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!zs(e)){e.flags&=-3;return}const n=le,s=$e;le=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{le=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 Ta(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=le;le=void 0;try{t()}finally{le=n}}}let cn=0;class Ca{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(!le||!$e||le===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==le)n=this.activeLink=new Ca(le,this),le.deps?(n.prevDep=le.depsTail,le.depsTail.nextDep=n,le.depsTail=n):le.deps=le.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=le.depsTail,n.nextDep=void 0,le.depsTail.nextDep=n,le.depsTail=n,le.deps===n&&(le.deps=s)}return n}trigger(t){this.version++,cn++,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,Mt=Symbol(""),Ks=Symbol(""),un=Symbol("");function be(e,t,n){if($e&&le){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){cn++;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===un||!Qe(h)&&h>=c)&&l(f)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(un)),t){case"add":a?u&&l(o.get("length")):(l(o.get(Mt)),kt(e)&&l(o.get(Ks)));break;case"delete":a||(l(o.get(Mt)),kt(e)&&l(o.get(Ks)));break;case"set":kt(e)&&l(o.get(Mt));break}}yr()}function Aa(e,t){const n=$n.get(e);return n&&n.get(t)}function Ft(e){const t=J(e);return t===e?t:(be(t,"iterate",un),He(e)?t:t.map(_e))}function as(e){return be(e=J(e),"iterate",un),e}const Ma={__proto__:null,[Symbol.iterator](){return As(this,Symbol.iterator,_e)},concat(...e){return Ft(this).concat(...e.map(t=>V(t)?Ft(t):t))},entries(){return As(this,"entries",e=>(e[1]=_e(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(_e),arguments)},find(e,t){return et(this,"find",e,t,_e,arguments)},findIndex(e,t){return et(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return et(this,"findLast",e,t,_e,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 Ms(this,"includes",e)},indexOf(...e){return Ms(this,"indexOf",e)},join(e){return Ft(this).join(e)},lastIndexOf(...e){return Ms(this,"lastIndexOf",e)},map(e,t){return et(this,"map",e,t,void 0,arguments)},pop(){return Gt(this,"pop")},push(...e){return Gt(this,"push",e)},reduce(e,...t){return qr(this,"reduce",e,t)},reduceRight(e,...t){return qr(this,"reduceRight",e,t)},shift(){return Gt(this,"shift")},some(e,t){return et(this,"some",e,t,void 0,arguments)},splice(...e){return Gt(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 Gt(this,"unshift",e)},values(){return As(this,"values",_e)}};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 Ea=Array.prototype;function et(e,t,n,s,r,i){const o=as(e),l=o!==e&&!He(e),a=o[t];if(a!==Ea[t]){const f=a.apply(e,i);return l?_e(f):f}let u=n;o!==e&&(l?u=function(f,h){return n.call(this,_e(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,_e(l),a,e)}),r[t](i,...s)}function Ms(e,t,n){const s=J(e);be(s,"iterate",un);const r=s[t](...n);return(r===-1||r===!1)&&xr(n[0])?(n[0]=J(n[0]),s[t](...n)):r}function Gt(e,t,n=[]){mt(),mr();const s=J(e)[t].apply(e,n);return yr(),yt(),s}const Ra=dr("__proto__,__v_isRef,__isVue"),co=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qe));function Pa(e){Qe(e)||(e=String(e));const t=J(this);return be(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?$a: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 Pa}const l=Reflect.get(t,n,ge(t)?t:s);return(Qe(n)?co.has(n):Ra(n))||(r||be(t,"get",n),i)?l:ge(l)?o&&gr(n)?l:l.value:ne(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=J(i),s=J(s)),!V(t)&&ge(i)&&!ge(s))return a?!1:(i.value=s,!0)}const o=V(t)&&gr(n)?Number(n)<t.length:ee(t,n),l=Reflect.set(t,n,s,ge(t)?t:r);return t===J(r)&&(o?dt(s,i)&&st(t,"set",n,s):st(t,"add",n,s)),l}deleteProperty(t,n){const s=ee(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&st(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Qe(n)||!co.has(n))&&be(t,"has",n),s}ownKeys(t){return be(t,"iterate",V(t)?"length":Mt),Reflect.ownKeys(t)}}class Ia extends uo{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const ja=new fo,Fa=new Ia,Na=new fo(!0);const qs=e=>e,An=e=>Reflect.getPrototypeOf(e);function Da(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),o=kt(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,u=r[e](...s),c=n?qs:t?Gs:_e;return!t&&be(i,"iterate",a?Ks:Mt),{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 Mn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function La(e,t){const n={get(r){const i=this.__v_raw,o=J(i),l=J(r);e||(dt(r,l)&&be(o,"get",r),be(o,"get",l));const{has:a}=An(o),u=t?qs:e?Gs:_e;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&&be(J(r),"iterate",Mt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=J(i),l=J(r);return e||(dt(r,l)&&be(o,"has",r),be(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=J(l),u=t?qs:e?Gs:_e;return!e&&be(a,"iterate",Mt),l.forEach((c,f)=>r.call(i,u(c),u(f),o))}};return me(n,e?{add:Mn("add"),set:Mn("set"),delete:Mn("delete"),clear:Mn("clear")}:{add(r){!t&&!He(r)&&!Rt(r)&&(r=J(r));const i=J(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=J(i));const o=J(this),{has:l,get:a}=An(o);let u=l.call(o,r);u||(r=J(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=J(this),{has:o,get:l}=An(i);let a=o.call(i,r);a||(r=J(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=J(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]=Da(r,e,t)}),n}function br(e,t){const n=La(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ee(n,r)&&r in s?n:s,r,i)}const ka={get:br(!1,!1)},Va={get:br(!1,!0)},Ha={get:br(!0,!1)};const po=new WeakMap,ho=new WeakMap,go=new WeakMap,$a=new WeakMap;function Ba(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Wa(e){return e.__v_skip||!Object.isExtensible(e)?0:Ba(fa(e))}function It(e){return Rt(e)?e:_r(e,!1,ja,ka,po)}function Ua(e){return _r(e,!1,Na,Va,ho)}function cs(e){return _r(e,!0,Fa,Ha,go)}function _r(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Wa(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 J(e){const t=e&&e.__v_raw;return t?J(t):e}function za(e){return!ee(e,"__v_skip")&&Object.isExtensible(e)&&Ji(e,"__v_skip",!0),e}const _e=e=>ne(e)?It(e):e,Gs=e=>ne(e)?cs(e):e;function ge(e){return e?e.__v_isRef===!0:!1}function re(e){return mo(e,!1)}function pe(e){return mo(e,!0)}function mo(e,t){return ge(e)?e:new Ka(e,t)}class Ka{constructor(t,n){this.dep=new ls,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:_e(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:J(t),dt(t,n)&&(this._rawValue=t,this._value=s?t:_e(t),this.dep.trigger())}}function Me(e){return ge(e)?e.value:e}function Be(e){return W(e)?e():Me(e)}const qa={get:(e,t,n)=>t==="__v_raw"?e:Me(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ge(r)&&!ge(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function yo(e){return Vt(e)?e:new Proxy(e,qa)}class Ga{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 Ja(e){return new Ga(e)}class Ya{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 Aa(J(this._object),this._key)}}class Za{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 ge(e)?e:W(e)?new Za(e):ne(e)&&arguments.length>1?Xa(e,t,n):re(e)}function Xa(e,t,n){const s=e[t];return ge(s)?s:new Ya(e,t,n)}class Qa{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=cn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&le!==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 ec(e,t,n=!1){let s,r;return W(e)?s=e:(s=e.get,r=e.set),new Qa(s,r,n)}const En={},Bn=new WeakMap;let Tt;function tc(e,t=!1,n=Tt){if(n){let s=Bn.get(n);s||Bn.set(n,s=[]),s.push(e)}}function nc(e,t,n=ie){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(ge(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(ge(b))return b.value;if(Vt(b))return u(b);if(W(b))return a?a(b,2):b()})):W(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=Xe,t&&r){const b=f,j=r===!0?1/0:r;f=()=>rt(b(),j)}const R=eo(),O=()=>{c.stop(),R&&R.active&&hr(R.effects,c)};if(i&&t){const b=t;t=(...j)=>{b(...j),O()}}let P=v?new Array(e.length).fill(En):En;const T=b=>{if(!(!(c.flags&1)||!c.dirty&&!b))if(t){const j=c.run();if(r||y||(v?j.some(($,Y)=>dt($,P[Y])):dt(j,P))){h&&h();const $=Tt;Tt=c;try{const Y=[j,P===En?void 0:v&&P[0]===En?[]:P,g];a?a(t,3,Y):t(...Y),P=j}finally{Tt=$}}}else c.run()};return l&&l(T),c=new to(f),c.scheduler=o?()=>o(T,!1):T,g=b=>tc(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?T(!0):P=c.run():o?o(T.bind(null,!0),!0):c.run(),O.pause=c.pause.bind(c),O.resume=c.resume.bind(c),O.stop=O,O}function rt(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ge(e))rt(e.value,t,n);else if(V(e))for(let s=0;s<e.length;s++)rt(e[s],t,n);else if(ts(e)||kt(e))e.forEach(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 bn(e,t,n,s){try{return s?e(...s):e()}catch(r){us(r,t,n)}}function Ue(e,t,n,s){if(W(e)){const r=bn(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<e.length;i++)r.push(Ue(e[i],t,n,s));return r}}function us(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ie;if(t){let l=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,a,u)===!1)return}l=l.parent}if(i){mt(),bn(i,null,10,[e,a,u]),yt();return}}sc(e,n,r,s,o)}function sc(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Oe=[];let Ye=-1;const Ht=[];let at=null,Nt=0;const bo=Promise.resolve();let Wn=null;function fs(e){const t=Wn||bo;return e?t.then(this?e.bind(this):e):t}function rc(e){let t=Ye+1,n=Oe.length;for(;t<n;){const s=t+n>>>1,r=Oe[s],i=fn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Sr(e){if(!(e.flags&1)){const t=fn(e),n=Oe[Oe.length-1];!n||!(e.flags&2)&&t>=fn(n)?Oe.push(e):Oe.splice(rc(t),0,e),e.flags|=1,_o()}}function _o(){Wn||(Wn=bo.then(So))}function ic(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(;n<Oe.length;n++){const s=Oe[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Oe.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function xo(e){if(Ht.length){const t=[...new Set(Ht)].sort((n,s)=>fn(n)-fn(s));if(Ht.length=0,at){at.push(...t);return}for(at=t,Nt=0;Nt<at.length;Nt++){const n=at[Nt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}at=null,Nt=0}}const fn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function So(e){try{for(Ye=0;Ye<Oe.length;Ye++){const t=Oe[Ye];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),bn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ye<Oe.length;Ye++){const t=Oe[Ye];t&&(t.flags&=-2)}Ye=-1,Oe.length=0,xo(),Wn=null,(Oe.length||Ht.length)&&So()}}let Re=null,wo=null;function Un(e){const t=Re;return Re=e,wo=e&&e.type.__scopeId||null,t}function Oo(e,t=Re,n){if(!t||e._n)return e;const s=(...r)=>{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 oc(e,t){if(Re===null)return e;const n=vs(Re),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,a=ie]=t[r];i&&(W(i)&&(i={mounted:i,updated:i}),i.deep&&rt(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:a}))}return e}function vt(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let a=l.dir[s];a&&(mt(),Ue(a,n,8,[e.el,l,e,t]),yt())}}const lc=Symbol("_vte"),To=e=>e.__isTeleport,ct=Symbol("_leaveCb"),Rn=Symbol("_enterCb");function ac(){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},cc={name:"BaseTransition",props:Co,setup(e,{slots:t}){const n=Ut(),s=ac();return()=>{const r=t.default&&Ro(t.default(),!0);if(!r||!r.length)return;const i=Mo(r),o=J(e),{mode:l}=o;if(s.isLeaving)return Es(i);const a=Jr(i);if(!a)return Es(i);let u=Js(a,o,s,n,f=>u=f);a.type!==Ee&&dn(a,u);let c=n.subTree&&Jr(n.subTree);if(c&&c.type!==Ee&&!Ct(a,c)&&Ao(n).type!==Ee){let f=Js(c,o,s,n);if(dn(c,f),l==="out-in"&&a.type!==Ee)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Es(i);l==="in-out"&&a.type!==Ee?f.delayLeave=(h,g,y)=>{const v=Eo(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 Mo(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ee){t=n;break}}return t}const uc=cc;function Eo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function 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:O,onAfterAppear:P,onAppearCancelled:T}=t,b=String(e.key),j=Eo(n,e),$=(N,z)=>{N&&Ue(N,s,9,z)},Y=(N,z)=>{const G=z[1];$(N,z),V(N)?N.every(M=>M.length<=1)&&G():N.length<=1&&G()},se={mode:o,persisted:l,beforeEnter(N){let z=a;if(!n.isMounted)if(i)z=R||a;else return;N[ct]&&N[ct](!0);const G=j[b];G&&Ct(e,G)&&G.el[ct]&&G.el[ct](),$(z,[N])},enter(N){let z=u,G=c,M=f;if(!n.isMounted)if(i)z=O||u,G=P||c,M=T||f;else return;let K=!1;const D=N[Rn]=Q=>{K||(K=!0,Q?$(M,[N]):$(G,[N]),se.delayedLeave&&se.delayedLeave(),N[Rn]=void 0)};z?Y(z,[N,D]):D()},leave(N,z){const G=String(e.key);if(N[Rn]&&N[Rn](!0),n.isUnmounting)return z();$(h,[N]);let M=!1;const K=N[ct]=D=>{M||(M=!0,z(),D?$(v,[N]):$(y,[N]),N[ct]=void 0,j[G]===e&&delete j[G])};j[G]=e,g?Y(g,[N,K]):K()},clone(N){const z=Js(N,t,n,s,r);return r&&r(z),z}};return se}function Es(e){if(ps(e))return e=ht(e),e.children=null,e}function Jr(e){if(!ps(e))return To(e.type)&&e.children?Mo(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&W(n.default))return n.default()}}function dn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,dn(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;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Ne?(o.patchFlag&128&&r++,s=s.concat(Ro(o.children,t,l))):(t||o.type!==Ee)&&s.push(l!=null?ht(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function ds(e,t){return W(e)?me({name:e.name},t,{setup:e}):e}function Po(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function zn(e,t,n,s,r=!1){if(V(e)){e.forEach((y,v)=>zn(y,t&&(V(t)?t[v]:t),n,s,r));return}if(en(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===ie?l.refs={}:l.refs,f=l.setupState,h=J(f),g=f===ie?()=>!1:y=>ee(h,y);if(u!=null&&u!==a&&(de(u)?(c[u]=null,g(u)&&(f[u]=null)):ge(u)&&(u.value=null)),W(a))bn(a,l,12,[o,c]);else{const y=de(a),v=ge(a);if(y||v){const R=()=>{if(e.f){const O=y?g(a)?f[a]:c[a]:a.value;r?V(O)&&hr(O,i):V(O)?O.includes(i)||O.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 en=e=>!!e.type.__asyncLoader,ps=e=>e.type.__isKeepAlive;function fc(e,t){Io(e,"a",t)}function dc(e,t){Io(e,"da",t)}function Io(e,t,n=ve){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)&&pc(s,t,n,r),r=r.parent}}function pc(e,t,n,s){const r=hs(t,e,s,!0);gs(()=>{hr(s[t],r)},n)}function hs(e,t,n=ve,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=ve)=>{(!hn||e==="sp")&&hs(e,(...s)=>t(...s),n)},hc=ot("bm"),Wt=ot("m"),gc=ot("bu"),mc=ot("u"),jo=ot("bum"),gs=ot("um"),yc=ot("sp"),vc=ot("rtg"),bc=ot("rtc");function _c(e,t=ve){hs("ec",e,t)}const xc=Symbol.for("v-ndc");function Sc(e,t,n,s){let r;const i=n,o=V(e);if(o||de(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;u<c;u++)r[u]=t(a?_e(e[u]):e[u],u,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(ne(e))if(e[Symbol.iterator])r=Array.from(e,(l,a)=>t(l,a,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let a=0,u=l.length;a<u;a++){const c=l[a];r[a]=t(e[c],c,a,i)}}else r=[];return r}const Ys=e=>e?tl(e)?vs(e):Ys(e.parent):null,tn=me(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=>Kc.bind(e)}),Rs=(e,t)=>e!==ie&&!e.__isScriptSetup&&ee(e,t),wc={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!==ie&&ee(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&ee(u,t))return o[t]=3,i[t];if(n!==ie&&ee(n,t))return o[t]=4,n[t];Zs&&(o[t]=0)}}const c=tn[t];let f,h;if(c)return t==="$attrs"&&be(e.attrs,"get",""),c(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ie&&ee(n,t))return o[t]=4,n[t];if(h=a.config.globalProperties,ee(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!==ie&&ee(s,t)?(s[t]=n,!0):ee(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!==ie&&ee(e,o)||Rs(t,o)||(l=i[0])&&ee(l,o)||ee(s,o)||ee(tn,o)||ee(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ee(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Fo(){return Oc().slots}function Oc(){const e=Ut();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 Tc(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:O,beforeUnmount:P,destroyed:T,unmounted:b,render:j,renderTracked:$,renderTriggered:Y,errorCaptured:se,serverPrefetch:N,expose:z,inheritAttrs:G,components:M,directives:K,filters:D}=t;if(u&&Cc(u,s,null),o)for(const L in o){const F=o[L];W(F)&&(s[L]=F.bind(n))}if(r){const L=r.call(n,n);ne(L)&&(e.data=It(L))}if(Zs=!0,i)for(const L in i){const F=i[L],q=W(F)?F.bind(n,n):W(F.get)?F.get.bind(n,n):Xe,he=!W(F)&&W(F.set)?F.set.bind(n):Xe,ce=ue({get:q,set:he});Object.defineProperty(s,L,{enumerable:!0,configurable:!0,get:()=>ce.value,set:ze=>ce.value=ze})}if(l)for(const L in l)No(l[L],s,n,L);if(a){const L=W(a)?a.call(n):a;Reflect.ownKeys(L).forEach(F=>{Ic(F,L[F])})}c&&Zr(c,e,"c");function X(L,F){V(F)?F.forEach(q=>L(q.bind(n))):F&&L(F.bind(n))}if(X(hc,f),X(Wt,h),X(gc,g),X(mc,y),X(fc,v),X(dc,R),X(_c,se),X(bc,$),X(vc,Y),X(jo,P),X(gs,b),X(yc,N),V(z))if(z.length){const L=e.exposed||(e.exposed={});z.forEach(F=>{Object.defineProperty(L,F,{get:()=>n[F],set:q=>n[F]=q})})}else e.exposed||(e.exposed={});j&&e.render===Xe&&(e.render=j),G!=null&&(e.inheritAttrs=G),M&&(e.components=M),K&&(e.directives=K),N&&Po(e)}function Cc(e,t,n=Xe){V(e)&&(e=Xs(e));for(const s in e){const r=e[s];let i;ne(r)?"default"in r?i=$t(r.from||s,r.default,!0):i=$t(r.from||s):i=$t(r),ge(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(de(e)){const i=t[e];W(i)&&ae(r,i)}else if(W(e))ae(r,e.bind(n));else if(ne(e))if(V(e))e.forEach(i=>No(i,t,n,s));else{const i=W(e.handler)?e.handler.bind(n):t[e.handler];W(i)&&ae(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)),ne(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=Ac[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ac={data:Xr,props:Qr,emits:Qr,methods:Yt,computed:Yt,beforeCreate:xe,created:xe,beforeMount:xe,mounted:xe,beforeUpdate:xe,updated:xe,beforeDestroy:xe,beforeUnmount:xe,destroyed:xe,unmounted:xe,activated:xe,deactivated:xe,errorCaptured:xe,serverPrefetch:xe,components:Yt,directives:Yt,watch:Ec,provide:Xr,inject:Mc};function Xr(e,t){return t?e?function(){return me(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Mc(e,t){return Yt(Xs(e),Xs(t))}function Xs(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function xe(e,t){return e?[...new Set([].concat(e,t))]:t}function Yt(e,t){return e?me(Object.create(null),e,t):t}function Qr(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:me(Object.create(null),Yr(e),Yr(t??{})):t}function Ec(e,t){if(!e)return t;if(!t)return e;const n=me(Object.create(null),e);for(const s in t)n[s]=xe(e[s],t[s]);return n}function Lo(){return{app:null,config:{isNativeTag:ca,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Rc=0;function Pc(e,t){return function(s,r=null){W(s)||(s=me({},s)),r!=null&&!ne(r)&&(r=null);const i=Lo(),o=new WeakSet,l=[];let a=!1;const u=i.app={_uid:Rc++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:pu,get config(){return i.config},set config(c){},use(c,...f){return o.has(c)||(c&&W(c.install)?(o.add(c),c.install(u,...f)):W(c)&&(o.add(c),c(u,...f))),u},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),u},component(c,f){return f?(i.components[c]=f,u):i.components[c]},directive(c,f){return f?(i.directives[c]=f,u):i.directives[c]},mount(c,f,h){if(!a){const g=u._ceVNode||Te(s,r);return g.appContext=i,h===!0?h="svg":h===!1&&(h=void 0),e(g,c,h),a=!0,u._container=c,c.__vue_app__=u,vs(g.component)}},onUnmount(c){l.push(c)},unmount(){a&&(Ue(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return i.provides[c]=f,u},runWithContext(c){const f=Et;Et=u;try{return c()}finally{Et=f}}};return u}}let Et=null;function Ic(e,t){if(ve){let n=ve.provides;const s=ve.parent&&ve.parent.provides;s===n&&(n=ve.provides=Object.create(s)),n[e]=t}}function $t(e,t,n=!1){const s=ve||Re;if(s||Et){const r=Et?Et._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&W(t)?t.call(s&&s.proxy):t}}function ko(){return!!(ve||Re||Et)}const Vo={},Ho=()=>Object.create(Vo),$o=e=>Object.getPrototypeOf(e)===Vo;function jc(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:Ua(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Fc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=J(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<c.length;f++){let h=c[f];if(ms(e.emitsOptions,h))continue;const g=t[h];if(a)if(ee(i,h))g!==i[h]&&(i[h]=g,u=!0);else{const y=pt(h);r[y]=Qs(a,l,y,g,e,!1)}else g!==i[h]&&(i[h]=g,u=!0)}}}else{Bo(e,t,r,i)&&(u=!0);let c;for(const f in l)(!t||!ee(t,f)&&((c=Pt(f))===f||!ee(t,c)))&&(a?n&&(n[f]!==void 0||n[c]!==void 0)&&(r[f]=Qs(a,l,f,void 0,e,!0)):delete r[f]);if(i!==l)for(const f in i)(!t||!ee(t,f))&&(delete i[f],u=!0)}u&&st(e.attrs,"set","")}function Bo(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(Zt(a))continue;const u=t[a];let c;r&&ee(r,c=pt(a))?!i||!i.includes(c)?n[c]=u:(l||(l={}))[c]=u:ms(e.emitsOptions,a)||(!(a in s)||u!==s[a])&&(s[a]=u,o=!0)}if(i){const a=J(n),u=l||ie;for(let c=0;c<i.length;c++){const f=i[c];n[f]=Qs(r,a,f,u[f],e,!ee(u,f))}}return o}function Qs(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=ee(o,"default");if(l&&s===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&W(a)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const c=_n(r);s=u[n]=a.call(null,t),c()}}else s=a;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===Pt(n))&&(s=!0))}return s}const Nc=new WeakMap;function Wo(e,t,n=!1){const s=n?Nc:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let a=!1;if(!W(e)){const c=f=>{a=!0;const[h,g]=Wo(f,t,!0);me(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 ne(e)&&s.set(e,Lt),Lt;if(V(i))for(let c=0;c<i.length;c++){const f=pt(i[c]);ei(f)&&(o[f]=ie)}else if(i)for(const c in i){const f=pt(c);if(ei(f)){const h=i[c],g=o[f]=V(h)||W(h)?{type:h}:me({},h),y=g.type;let v=!1,R=!0;if(V(y))for(let O=0;O<y.length;++O){const P=y[O],T=W(P)&&P.name;if(T==="Boolean"){v=!0;break}else T==="String"&&(R=!1)}else v=W(y)&&y.name==="Boolean";g[0]=v,g[1]=R,(v||ee(g,"default"))&&l.push(f)}}const u=[o,l];return ne(e)&&s.set(e,u),u}function ei(e){return e[0]!=="$"&&!Zt(e)}const Uo=e=>e[0]==="_"||e==="$stable",wr=e=>V(e)?e.map(Ze):[Ze(e)],Dc=(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(W(i))t[r]=Dc(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])},Lc=(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)},kc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=ie;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=Qc;function Vc(e){return Hc(e)}function Hc(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=Xe,insertStaticContent:y}=e,v=(d,p,m,S=null,_=null,x=null,E=void 0,A=null,C=!!p.dynamicChildren)=>{if(d===p)return;d&&!Ct(d,p)&&(S=Cn(d),ze(d,_,x,!0),d=null),p.patchFlag===-2&&(C=!1,p.dynamicChildren=null);const{type:w,ref:H,shapeFlag:I}=p;switch(w){case ys:R(d,p,m,S);break;case Ee:O(d,p,m,S);break;case Is:d==null&&P(p,m,S,E);break;case Ne:M(d,p,m,S,_,x,E,A,C);break;default:I&1?j(d,p,m,S,_,x,E,A,C):I&6?K(d,p,m,S,_,x,E,A,C):(I&64||I&128)&&w.process(d,p,m,S,_,x,E,A,C,Kt)}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)}},O=(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)},T=({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,E,A,C)=>{p.type==="svg"?E="svg":p.type==="math"&&(E="mathml"),d==null?$(p,m,S,_,x,E,A,C):N(d,p,_,x,E,A,C)},$=(d,p,m,S,_,x,E,A)=>{let C,w;const{props:H,shapeFlag:I,transition:k,dirs:B}=d;if(C=d.el=o(d.type,x,H&&H.is,H),I&8?c(C,d.children):I&16&&se(d.children,C,null,S,_,Ps(d,x),E,A),B&&vt(d,null,S,"created"),Y(C,d,d.scopeId,E,S),H){for(const oe in H)oe!=="value"&&!Zt(oe)&&i(C,oe,null,H[oe],x,S);"value"in H&&i(C,"value",null,H.value,x),(w=H.onVnodeBeforeMount)&&Je(w,S,d)}B&&vt(d,null,S,"beforeMount");const Z=$c(_,k);Z&&k.beforeEnter(C),s(C,p,m),((w=H&&H.onVnodeMounted)||Z||B)&&je(()=>{w&&Je(w,S,d),Z&&k.enter(C),B&&vt(d,null,S,"mounted")},_)},Y=(d,p,m,S,_)=>{if(m&&g(d,m),S)for(let x=0;x<S.length;x++)g(d,S[x]);if(_){let x=_.subTree;if(p===x||Xo(x.type)&&(x.ssContent===p||x.ssFallback===p)){const E=_.vnode;Y(d,E,E.scopeId,E.slotScopeIds,_.parent)}}},se=(d,p,m,S,_,x,E,A,C=0)=>{for(let w=C;w<d.length;w++){const H=d[w]=A?ut(d[w]):Ze(d[w]);v(null,H,p,m,S,_,x,E,A)}},N=(d,p,m,S,_,x,E)=>{const A=p.el=d.el;let{patchFlag:C,dynamicChildren:w,dirs:H}=p;C|=d.patchFlag&16;const I=d.props||ie,k=p.props||ie;let B;if(m&&bt(m,!1),(B=k.onVnodeBeforeUpdate)&&Je(B,m,p,d),H&&vt(p,d,m,"beforeUpdate"),m&&bt(m,!0),(I.innerHTML&&k.innerHTML==null||I.textContent&&k.textContent==null)&&c(A,""),w?z(d.dynamicChildren,w,A,m,S,Ps(p,_),x):E||F(d,p,A,null,m,S,Ps(p,_),x,!1),C>0){if(C&16)G(A,I,k,m,_);else if(C&2&&I.class!==k.class&&i(A,"class",null,k.class,_),C&4&&i(A,"style",I.style,k.style,_),C&8){const Z=p.dynamicProps;for(let oe=0;oe<Z.length;oe++){const te=Z[oe],Pe=I[te],Ce=k[te];(Ce!==Pe||te==="value")&&i(A,te,Pe,Ce,_,m)}}C&1&&d.children!==p.children&&c(A,p.children)}else!E&&w==null&&G(A,I,k,m,_);((B=k.onVnodeUpdated)||H)&&je(()=>{B&&Je(B,m,p,d),H&&vt(p,d,m,"updated")},S)},z=(d,p,m,S,_,x,E)=>{for(let A=0;A<p.length;A++){const C=d[A],w=p[A],H=C.el&&(C.type===Ne||!Ct(C,w)||C.shapeFlag&70)?f(C.el):m;v(C,w,H,null,S,_,x,E,!0)}},G=(d,p,m,S,_)=>{if(p!==m){if(p!==ie)for(const x in p)!Zt(x)&&!(x in m)&&i(d,x,p[x],null,_,S);for(const x in m){if(Zt(x))continue;const E=m[x],A=p[x];E!==A&&x!=="value"&&i(d,x,A,E,_,S)}"value"in m&&i(d,"value",p.value,m.value,_)}},M=(d,p,m,S,_,x,E,A,C)=>{const w=p.el=d?d.el:l(""),H=p.anchor=d?d.anchor:l("");let{patchFlag:I,dynamicChildren:k,slotScopeIds:B}=p;B&&(A=A?A.concat(B):B),d==null?(s(w,m,S),s(H,m,S),se(p.children||[],m,H,_,x,E,A,C)):I>0&&I&64&&k&&d.dynamicChildren?(z(d.dynamicChildren,k,m,_,x,E,A),(p.key!=null||_&&p===_.subTree)&&Go(d,p,!0)):F(d,p,m,H,_,x,E,A,C)},K=(d,p,m,S,_,x,E,A,C)=>{p.slotScopeIds=A,d==null?p.shapeFlag&512?_.ctx.activate(p,m,S,E,C):D(p,m,S,_,x,E,C):Q(d,p,C)},D=(d,p,m,S,_,x,E)=>{const A=d.component=au(d,S,_);if(ps(d)&&(A.ctx.renderer=Kt),cu(A,!1,E),A.asyncDep){if(_&&_.registerDep(A,X,E),!d.el){const C=A.subTree=Te(Ee);O(null,C,p,m)}}else X(A,d,p,m,_,x,E)},Q=(d,p,m)=>{const S=p.component=d.component;if(Zc(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},X=(d,p,m,S,_,x,E)=>{const A=()=>{if(d.isMounted){let{next:I,bu:k,u:B,parent:Z,vnode:oe}=d;{const qe=Jo(d);if(qe){I&&(I.el=oe.el,L(d,I,E)),qe.asyncDep.then(()=>{d.isUnmounted||A()});return}}let te=I,Pe;bt(d,!1),I?(I.el=oe.el,L(d,I,E)):I=oe,k&&Nn(k),(Pe=I.props&&I.props.onVnodeBeforeUpdate)&&Je(Pe,Z,I,oe),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,te===null&&Xc(d,Ce.el),B&&je(B,_),(Pe=I.props&&I.props.onVnodeUpdated)&&je(()=>Je(Pe,Z,I,oe),_)}else{let I;const{el:k,props:B}=p,{bm:Z,m:oe,parent:te,root:Pe,type:Ce}=d,Ke=en(p);bt(d,!1),Z&&Nn(Z),!Ke&&(I=B&&B.onVnodeBeforeMount)&&Je(I,te,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(oe&&je(oe,_),!Ke&&(I=B&&B.onVnodeMounted)){const qe=p;je(()=>Je(I,te,qe),_)}(p.shapeFlag&256||te&&en(te.vnode)&&te.vnode.shapeFlag&256)&&d.a&&je(d.a,_),d.isMounted=!0,p=m=S=null}};d.scope.on();const C=d.effect=new to(A);d.scope.off();const w=d.update=C.run.bind(C),H=d.job=C.runIfDirty.bind(C);H.i=d,H.id=d.uid,C.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,Fc(d,p.props,S,m),kc(d,p.children,m),mt(),Gr(d),yt()},F=(d,p,m,S,_,x,E,A,C=!1)=>{const w=d&&d.children,H=d?d.shapeFlag:0,I=p.children,{patchFlag:k,shapeFlag:B}=p;if(k>0){if(k&128){he(w,I,m,S,_,x,E,A,C);return}else if(k&256){q(w,I,m,S,_,x,E,A,C);return}}B&8?(H&16&&zt(w,_,x),I!==w&&c(m,I)):H&16?B&16?he(w,I,m,S,_,x,E,A,C):zt(w,_,x,!0):(H&8&&c(m,""),B&16&&se(I,m,S,_,x,E,A,C))},q=(d,p,m,S,_,x,E,A,C)=>{d=d||Lt,p=p||Lt;const w=d.length,H=p.length,I=Math.min(w,H);let k;for(k=0;k<I;k++){const B=p[k]=C?ut(p[k]):Ze(p[k]);v(d[k],B,m,null,_,x,E,A,C)}w>H?zt(d,_,x,!0,!1,I):se(p,m,S,_,x,E,A,C,I)},he=(d,p,m,S,_,x,E,A,C)=>{let w=0;const H=p.length;let I=d.length-1,k=H-1;for(;w<=I&&w<=k;){const B=d[w],Z=p[w]=C?ut(p[w]):Ze(p[w]);if(Ct(B,Z))v(B,Z,m,null,_,x,E,A,C);else break;w++}for(;w<=I&&w<=k;){const B=d[I],Z=p[k]=C?ut(p[k]):Ze(p[k]);if(Ct(B,Z))v(B,Z,m,null,_,x,E,A,C);else break;I--,k--}if(w>I){if(w<=k){const B=k+1,Z=B<H?p[B].el:S;for(;w<=k;)v(null,p[w]=C?ut(p[w]):Ze(p[w]),m,Z,_,x,E,A,C),w++}}else if(w>k)for(;w<=I;)ze(d[w],_,x,!0),w++;else{const B=w,Z=w,oe=new Map;for(w=Z;w<=k;w++){const Ie=p[w]=C?ut(p[w]):Ze(p[w]);Ie.key!=null&&oe.set(Ie.key,w)}let te,Pe=0;const Ce=k-Z+1;let Ke=!1,qe=0;const qt=new Array(Ce);for(w=0;w<Ce;w++)qt[w]=0;for(w=B;w<=I;w++){const Ie=d[w];if(Pe>=Ce){ze(Ie,_,x,!0);continue}let Ge;if(Ie.key!=null)Ge=oe.get(Ie.key);else for(te=Z;te<=k;te++)if(qt[te-Z]===0&&Ct(Ie,p[te])){Ge=te;break}Ge===void 0?ze(Ie,_,x,!0):(qt[Ge-Z]=w+1,Ge>=qe?qe=Ge:Ke=!0,v(Ie,p[Ge],m,null,_,x,E,A,C),Pe++)}const Br=Ke?Bc(qt):Lt;for(te=Br.length-1,w=Ce-1;w>=0;w--){const Ie=Z+w,Ge=p[Ie],Wr=Ie+1<H?p[Ie+1].el:S;qt[w]===0?v(null,Ge,m,Wr,_,x,E,A,C):Ke&&(te<0||w!==Br[te]?ce(Ge,m,Wr,2):te--)}}},ce=(d,p,m,S,_=null)=>{const{el:x,type:E,transition:A,children:C,shapeFlag:w}=d;if(w&6){ce(d.component.subTree,p,m,S);return}if(w&128){d.suspense.move(p,m,S);return}if(w&64){E.move(d,p,m,Kt);return}if(E===Ne){s(x,p,m);for(let I=0;I<C.length;I++)ce(C[I],p,m,S);s(d.anchor,p,m);return}if(E===Is){T(d,p,m);return}if(S!==2&&w&1&&A)if(S===0)A.beforeEnter(x),s(x,p,m),je(()=>A.enter(x),_);else{const{leave:I,delayLeave:k,afterLeave:B}=A,Z=()=>s(x,p,m),oe=()=>{I(x,()=>{Z(),B&&B()})};k?k(x,Z,oe):oe()}else s(x,p,m)},ze=(d,p,m,S=!1,_=!1)=>{const{type:x,props:E,ref:A,children:C,dynamicChildren:w,shapeFlag:H,patchFlag:I,dirs:k,cacheIndex:B}=d;if(I===-2&&(_=!1),A!=null&&zn(A,null,m,d,!0),B!=null&&(p.renderCache[B]=void 0),H&256){p.ctx.deactivate(d);return}const Z=H&1&&k,oe=!en(d);let te;if(oe&&(te=E&&E.onVnodeBeforeUnmount)&&Je(te,p,d),H&6)ia(d.component,m,S);else{if(H&128){d.suspense.unmount(m,S);return}Z&&vt(d,null,p,"beforeUnmount"),H&64?d.type.remove(d,p,m,Kt,S):w&&!w.hasOnce&&(x!==Ne||I>0&&I&64)?zt(w,p,m,!1,!0):(x===Ne&&I&384||!_&&H&16)&&zt(C,p,m),S&&Hr(d)}(oe&&(te=E&&E.onVnodeUnmounted)||Z)&&je(()=>{te&&Je(te,p,d),Z&&vt(d,null,p,"unmounted")},m)},Hr=d=>{const{type:p,el:m,anchor:S,transition:_}=d;if(p===Ne){ra(m,S);return}if(p===Is){b(d);return}const x=()=>{r(m),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(d.shapeFlag&1&&_&&!_.persisted){const{leave:E,delayLeave:A}=_,C=()=>E(m,x);A?A(d.el,x,C):C()}else x()},ra=(d,p)=>{let m;for(;d!==p;)m=h(d),r(d),d=m;r(p)},ia=(d,p,m)=>{const{bum:S,scope:_,job:x,subTree:E,um:A,m:C,a:w}=d;ti(C),ti(w),S&&Nn(S),_.stop(),x&&(x.flags|=8,ze(E,d,p,m)),A&&je(A,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())},zt=(d,p,m,S=!1,_=!1,x=0)=>{for(let E=x;E<d.length;E++)ze(d[E],p,m,S,_)},Cn=d=>{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[lc];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)},Kt={p:v,um:ze,m:ce,r:Hr,mt:D,mc:se,pc:F,pbc:z,n:Cn,o:e};return{render:$r,hydrate:void 0,createApp:Pc($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 $c(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<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=ut(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Go(o,l)),l.type===ys&&(l.el=o.el)}}function Bc(e){const t=e.slice(),n=[0];let s,r,i,o,l;const a=e.length;for(s=0;s<a;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<u?i=l+1:o=l;u<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Jo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jo(t)}function ti(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Wc=Symbol.for("v-scx"),Uc=()=>$t(Wc);function zc(e,t){return Or(e,null,t)}function ae(e,t,n){return Or(e,t,n)}function Or(e,t,n=ie){const{immediate:s,deep:r,flush:i,once:o}=n,l=me({},n),a=t&&s||!t&&i!=="post";let u;if(hn){if(i==="sync"){const g=Uc();u=g.__watcherHandles||(g.__watcherHandles=[])}else if(!a){const g=()=>{};return g.stop=Xe,g.resume=Xe,g.pause=Xe,g}}const c=ve;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=nc(e,t,l);return hn&&(u?u.push(h):a&&h()),h}function Kc(e,t,n){const s=this.proxy,r=de(e)?e.includes(".")?Yo(s,e):()=>s[e]:e.bind(s,s);let i;W(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;r<n.length&&s;r++)s=s[n[r]];return s}}const qc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${pt(t)}Modifiers`]||e[`${Pt(t)}Modifiers`];function Gc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ie;let r=n;const i=t.startsWith("update:"),o=i&&qc(s,t.slice(7));o&&(o.trim&&(r=n.map(c=>de(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(!W(e)){const a=u=>{const c=Zo(u,t,!0);c&&(l=!0,me(o,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(ne(e)&&s.set(e,null),null):(V(i)?i.forEach(a=>o[a]=null):me(o,i),ne(e)&&s.set(e,o),o)}function ms(e,t){return!e||!es(t)?!1:(t=t.slice(2).replace(/Once$/,""),ee(e,t[0].toLowerCase()+t.slice(1))||ee(e,Pt(t))||ee(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 O,P;try{if(n.shapeFlag&4){const b=r||s,j=b;O=Ze(u.call(j,b,c,f,g,h,y)),P=l}else{const b=t;O=Ze(b.length>1?b(f,{attrs:l,slots:o,emit:a}):b(f,null)),P=t.props?l:Jc(l)}}catch(b){nn.length=0,us(b,e,1),O=Te(Ee)}let T=O;if(P&&v!==!1){const b=Object.keys(P),{shapeFlag:j}=T;b.length&&j&7&&(i&&b.some(pr)&&(P=Yc(P,i)),T=ht(T,P,!1,!0))}return n.dirs&&(T=ht(T,null,!1,!0),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&dn(T,n.transition),O=T,Un(R),O}const Jc=e=>{let t;for(const n in e)(n==="class"||n==="style"||es(n))&&((t||(t={}))[n]=e[n]);return t},Yc=(e,t)=>{const n={};for(const s in e)(!pr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Zc(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;f<c.length;f++){const h=c[f];if(o[h]!==s[h]&&!ms(u,h))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?si(s,o,u):!0:!!o;return!1}function si(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!ms(n,i))return!0}return!1}function Xc({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Xo=e=>e.__isSuspense;function Qc(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):ic(e)}const Ne=Symbol.for("v-fgt"),ys=Symbol.for("v-txt"),Ee=Symbol.for("v-cmt"),Is=Symbol.for("v-stc"),nn=[];let De=null;function Fe(e=!1){nn.push(De=e?null:[])}function eu(){nn.pop(),De=nn[nn.length-1]||null}let pn=1;function ri(e,t=!1){pn+=e,e<0&&De&&t&&(De.hasOnce=!0)}function Qo(e){return e.dynamicChildren=pn>0?De||Lt:null,eu(),pn>0&&De&&De.push(e),e}function Ve(e,t,n,s,r,i){return Qo(fe(e,t,n,s,r,i,!0))}function tu(e,t,n,s,r){return Qo(Te(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?de(e)||ge(e)||W(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function fe(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|=de(n)?8:16),pn>0&&!o&&De&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&De.push(a),a}const Te=nu;function nu(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===xc)&&(e=Ee),qn(e)){const l=ht(e,t,!0);return n&&Tr(l,n),pn>0&&!i&&De&&(l.shapeFlag&6?De[De.indexOf(e)]=l:De.push(l)),l.patchFlag=-2,l}if(du(e)&&(e=e.__vccOpts),t){t=su(t);let{class:l,style:a}=t;l&&!de(l)&&(t.class=is(l)),ne(a)&&(xr(a)&&!V(a)&&(a=me({},a)),t.style=rs(a))}const o=de(e)?1:Xo(e)?128:To(e)?64:ne(e)?4:W(e)?2:0;return fe(e,t,n,s,r,o,i,!0)}function su(e){return e?xr(e)||$o(e)?me({},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?iu(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&&dn(c,a.clone(c)),c}function ru(e=" ",t=0){return Te(ys,null,e,t)}function ii(e="",t=!1){return t?(Fe(),tu(Ee,null,e)):Te(Ee,null,e)}function Ze(e){return e==null||typeof e=="boolean"?Te(Ee):V(e)?Te(Ne,null,e.slice()):qn(e)?ut(e):Te(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 W(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),s&64?(n=16,t=[ru(t)]):n=8);e.children=t,e.shapeFlag|=n}function iu(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=is([t.class,s.class]));else if(r==="style")t.style=rs([t.style,s.style]);else if(es(r)){const i=t[r],o=s[r];o&&i!==o&&!(V(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Je(e,t,n,s=null){Ue(e,t,7,[n,s])}const ou=Lo();let lu=0;function au(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||ou,i={uid:lu++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new wa(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Wo(s,r),emitsOptions:Zo(s,r),emit:null,emitted:null,propsDefaults:ie,inheritAttrs:s.inheritAttrs,ctx:ie,data:ie,props:ie,attrs:ie,slots:ie,refs:ie,setupState:ie,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Gc.bind(null,i),e.ce&&e.ce(i),i}let ve=null;const Ut=()=>ve||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=>ve=n),er=t("__VUE_SSR_SETTERS__",n=>hn=n)}const _n=e=>{const t=ve;return Gn(e),e.scope.on(),()=>{e.scope.off(),Gn(t)}},oi=()=>{ve&&ve.scope.off(),Gn(null)};function tl(e){return e.vnode.shapeFlag&4}let hn=!1;function cu(e,t=!1,n=!1){t&&er(t);const{props:s,children:r}=e.vnode,i=tl(e);jc(e,s,i,t),Lc(e,r,n);const o=i?uu(e,t):void 0;return t&&er(!1),o}function uu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,wc);const{setup:s}=n;if(s){mt();const r=e.setupContext=s.length>1?sl(e):null,i=_n(e),o=bn(s,e,0,[e.props,r]),l=zi(o);if(yt(),i(),(l||e.sp)&&!en(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){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=yo(t)),nl(e)}function nl(e,t,n){const s=e.type;e.render||(e.render=s.render||Xe);{const r=_n(e);mt();try{Tc(e)}finally{yt(),r()}}}const fu={get(e,t){return be(e,"get",""),e[t]}};function sl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,fu),slots:e.slots,emit:e.emit,expose:t}}function vs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(yo(za(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in tn)return tn[n](e)},has(t,n){return n in t||n in tn}})):e.proxy}function du(e){return W(e)&&"__vccOpts"in e}const ue=(e,t)=>ec(e,t,hn);function Cr(e,t,n){const s=arguments.length;return s===2?ne(t)&&!V(t)?qn(t)?Te(e,null,[t]):Te(e,t):Te(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&qn(n)&&(n=[n]),Te(e,t,n))}const pu="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,hu="http://www.w3.org/2000/svg",gu="http://www.w3.org/1998/Math/MathML",nt=typeof document<"u"?document:null,ci=nt&&nt.createElement("template"),mu={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(hu,e):t==="mathml"?nt.createElementNS(gu,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"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`: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",Jt="animation",gn=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},yu=me({},Co,il),vu=e=>(e.displayName="Transition",e.props=yu,e),bu=vu((e,{slots:t})=>Cr(uc,_u(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 _u(e){const t={};for(const M in e)M in il||(t[M]=e[M]);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=xu(r),v=y&&y[0],R=y&&y[1],{onBeforeEnter:O,onEnter:P,onEnterCancelled:T,onLeave:b,onLeaveCancelled:j,onBeforeAppear:$=O,onAppear:Y=P,onAppearCancelled:se=T}=t,N=(M,K,D,Q)=>{M._enterCancelled=Q,xt(M,K?c:l),xt(M,K?u:o),D&&D()},z=(M,K)=>{M._isLeaving=!1,xt(M,f),xt(M,g),xt(M,h),K&&K()},G=M=>(K,D)=>{const Q=M?Y:P,X=()=>N(K,M,D);_t(Q,[K,X]),fi(()=>{xt(K,M?a:i),tt(K,M?c:l),ui(Q)||di(K,s,v,X)})};return me(t,{onBeforeEnter(M){_t(O,[M]),tt(M,i),tt(M,o)},onBeforeAppear(M){_t($,[M]),tt(M,a),tt(M,u)},onEnter:G(!1),onAppear:G(!0),onLeave(M,K){M._isLeaving=!0;const D=()=>z(M,K);tt(M,f),M._enterCancelled?(tt(M,h),gi()):(gi(),tt(M,h)),fi(()=>{M._isLeaving&&(xt(M,f),tt(M,g),ui(b)||di(M,s,R,D))}),_t(b,[M,D])},onEnterCancelled(M){N(M,!1,void 0,!0),_t(T,[M])},onAppearCancelled(M){N(M,!0,void 0,!0),_t(se,[M])},onLeaveCancelled(M){z(M),_t(j,[M])}})}function xu(e){if(e==null)return null;if(ne(e))return[js(e.enter),js(e.leave)];{const t=js(e);return[t,t]}}function js(e){return ha(e)}function tt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[gn]||(e[gn]=new Set)).add(t)}function xt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[gn];n&&(n.delete(t),n.size||(e[gn]=void 0))}function fi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Su=0;function di(e,t,n,s){const r=e._endId=++Su,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:a}=wu(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<a&&f()},l+1),e.addEventListener(u,h)}function wu(e,t){const n=window.getComputedStyle(e),s=y=>(n[y]||"").split(", "),r=s(`${lt}Delay`),i=s(`${lt}Duration`),o=pi(r,i),l=s(`${Jt}Delay`),a=s(`${Jt}Duration`),u=pi(l,a);let c=null,f=0,h=0;t===lt?o>0&&(c=lt,f=o,h=i.length):t===Jt?u>0&&(c=Jt,f=u,h=a.length):(f=Math.max(o,u),c=f>0?o>u?lt:Jt: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.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>hi(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 Ou(e,t,n){const s=e[gn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const mi=Symbol("_vod"),Tu=Symbol("_vsh"),Cu=Symbol(""),Au=/(^|;)\s*display\s*:/;function Mu(e,t,n){const s=e.style,r=de(n);let i=!1;if(n&&!r){if(t)if(de(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[Cu];o&&(n+=";"+o),s.cssText=n,i=Au.test(n)}}else t&&e.removeAttribute("style");mi in e&&(e[mi]=i?s.display:"",e[Tu]&&(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=Eu(e,t);yi.test(n)?e.setProperty(Pt(s),n.replace(yi,""),"important"):e[s]=n}}const vi=["Webkit","Moz","ms"],Fs={};function Eu(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;r<vi.length;r++){const i=vi[r]+s;if(i in e)return Fs[t]=i}return t}const bi="http://www.w3.org/1999/xlink";function _i(e,t,n,s,r,i=_a(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(bi,t.slice(6,t.length)):e.setAttributeNS(bi,t,n):n==null||i&&!Zi(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Qe(n)?String(n):n)}function xi(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?rl(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Zi(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function ol(e,t,n,s){e.addEventListener(t,n,s)}function Ru(e,t,n,s){e.removeEventListener(t,n,s)}const Si=Symbol("_vei");function Pu(e,t,n,s,r=null){const i=e[Si]||(e[Si]={}),o=i[t];if(s&&o)o.value=s;else{const[l,a]=Iu(t);if(s){const u=i[t]=Nu(s,r);ol(e,l,u,a)}else o&&(Ru(e,l,o,a),i[t]=void 0)}}const wi=/(?:Once|Passive|Capture)$/;function Iu(e){let t;if(wi.test(e)){t={};let s;for(;s=e.match(wi);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Pt(e.slice(2)),t]}let Ns=0;const ju=Promise.resolve(),Fu=()=>Ns||(ju.then(()=>Ns=0),Ns=Date.now());function Nu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ue(Du(s,n.value),t,5,[s])};return n.value=e,n.attached=Fu(),n}function Du(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,Lu=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Ou(e,s,o):t==="style"?Mu(e,n,s):es(t)?pr(t)||Pu(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ku(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)||!de(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 ku(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Oi(t)&&W(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)&&de(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"),Vu={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;r<i;r++){const o=e.options[r],l=Jn(o);if(n)if(s){const a=typeof l;a==="string"||a==="number"?o.selected=t.some(u=>String(u)===String(l)):o.selected=Sa(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 Hu=me({patchProp:Lu},mu);let Ai;function $u(){return Ai||(Ai=Vc(Hu))}const Bu=(...e)=>{const t=$u().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Uu(s);if(!r)return;const i=t._component;!W(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Wu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Wu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Uu(e){return de(e)?document.querySelector(e):e}function xn(e){return eo()?(Oa(e),!0):!1}const Ls=new WeakMap,zu=(...e)=>{var t;const n=e[0],s=(t=Ut())==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,Ku=Object.prototype.toString,Yn=e=>Ku.call(e)==="[object Object]",kn=()=>{};function cl(...e){if(e.length!==1)return vo(...e);const t=e[0];return typeof t=="function"?cs(Ja(()=>({get:t,set:kn}))):re(t)}function qu(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 Gu(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 Ju(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 Mi(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function sn(e){return Array.isArray(e)?e:[e]}function Yu(e){return Ut()}function Zu(e,t,n={}){const{eventFilter:s=ul,...r}=n;return ae(e,qu(s,t),r)}function Xu(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:l,resume:a,isActive:u}=Gu(s,{initialState:r});return{stop:Zu(e,t,{...i,eventFilter:o}),pause:l,resume:a,isActive:u}}function Ar(e,t=!0,n){Yu()?Wt(e,n):t?e():fs(e)}function Qu(e,t,n){return ae(e,t,{...n,immediate:!0})}const gt=ll?window:void 0,Mr=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 ye(...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=ue(()=>{const l=sn(Be(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=Qu(()=>{var l,a;return[(a=(l=r.value)==null?void 0:l.map(u=>We(u)))!=null?a:[gt].filter(u=>u!=null),sn(Be(r.value?e[1]:e[0])),sn(Me(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 ef(){const e=pe(!1),t=Ut();return t&&Wt(()=>{e.value=!0},t),e}function jt(e){const t=ef();return ue(()=>(t.value,!!e()))}function tf(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=ue(()=>{const h=Be(e),g=sn(h).map(We).filter(al);return new Set(g)}),u=ae(()=>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 nf=Symbol("vueuse-ssr-width");function sf(){const e=ko()?zu(nf,null):null;return typeof e=="number"?e:void 0}function rf(e,t={}){const{window:n=gt,ssrWidth:s=sf()}=t,r=jt(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=pe(typeof s=="number"),o=pe(),l=pe(!1),a=u=>{l.value=u.matches};return zc(()=>{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>=Mi(h[1])),g&&y&&(y=s<=Mi(g[1])),f?!y:y});return}r.value&&(o.value=n.matchMedia(Be(e)),l.value=o.value.matches)}),ye(o,"change",a,{passive:!0}),ue(()=>l.value)}function of(e,t={}){const{controls:n=!1,navigator:s=Mr}=t,r=jt(()=>s&&"permissions"in s),i=pe(),o=typeof e=="string"?{name:e}:e,l=pe(),a=()=>{var c,f;l.value=(f=(c=i.value)==null?void 0:c.state)!=null?f:"prompt"};ye(i,"change",a,{passive:!0});const u=Ju(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 J(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__",lf=af();function af(){return In in Pn||(Pn[In]=Pn[In]||{}),Pn[In]}function fl(e,t){return lf[e]||t}function cf(e){return rf("(prefers-color-scheme: dark)",e)}function uf(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 ff={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ei="vueuse-storage";function df(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=D=>{console.error(D)},initOnMounted:y}=s,v=(c?pe:re)(typeof t=="function"?t():t),R=ue(()=>Be(e));if(!n)try{n=fl("getDefaultStorage",()=>{var D;return(D=gt)==null?void 0:D.localStorage})()}catch(D){g(D)}if(!n)return v;const O=Be(t),P=uf(O),T=(r=s.serializer)!=null?r:ff[P],{pause:b,resume:j}=Xu(v,()=>z(v.value),{flush:i,deep:o,eventFilter:h});ae(R,()=>M(),{flush:i});let $=!1;const Y=D=>{y&&!$||M(D)},se=D=>{y&&!$||K(D)};f&&l&&(n instanceof Storage?ye(f,"storage",Y,{passive:!0}):ye(f,Ei,se)),y?Ar(()=>{$=!0,M()}):M();function N(D,Q){if(f){const X={key:R.value,oldValue:D,newValue:Q,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",X):new CustomEvent(Ei,{detail:X}))}}function z(D){try{const Q=n.getItem(R.value);if(D==null)N(Q,null),n.removeItem(R.value);else{const X=T.write(D);Q!==X&&(n.setItem(R.value,X),N(Q,X))}}catch(Q){g(Q)}}function G(D){const Q=D?D.newValue:n.getItem(R.value);if(Q==null)return a&&O!=null&&n.setItem(R.value,T.write(O)),O;if(!D&&u){const X=T.read(Q);return typeof u=="function"?u(X,O):P==="object"&&!Array.isArray(X)?{...O,...X}:X}else return typeof Q!="string"?Q:T.read(Q)}function M(D){if(!(D&&D.storageArea!==n)){if(D&&D.key==null){v.value=O;return}if(!(D&&D.key!==R.value)){b();try{(D==null?void 0:D.newValue)!==T.write(v.value)&&(v.value=G(D))}catch(Q){g(Q)}finally{D?fs(j):j()}}}}function K(D){M(D.detail)}return v}const pf="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function hf(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=cf({window:r}),g=ue(()=>h.value?"dark":"light"),y=a||(o==null?cl(s):df(o,s,i,{window:r,listenToStorageChanges:l})),v=ue(()=>y.value==="auto"?g.value:y.value),R=fl("updateHTMLAttrs",(b,j,$)=>{const Y=typeof b=="string"?r==null?void 0:r.document.querySelector(b):We(b);if(!Y)return;const se=new Set,N=new Set;let z=null;if(j==="class"){const M=$.split(/\s/g);Object.values(f).flatMap(K=>(K||"").split(/\s/g)).filter(Boolean).forEach(K=>{M.includes(K)?se.add(K):N.add(K)})}else z={key:j,value:$};if(se.size===0&&N.size===0&&z===null)return;let G;c&&(G=r.document.createElement("style"),G.appendChild(document.createTextNode(pf)),r.document.head.appendChild(G));for(const M of se)Y.classList.add(M);for(const M of N)Y.classList.remove(M);z&&Y.setAttribute(z.key,z.value),c&&(r.getComputedStyle(G).opacity,document.head.removeChild(G))});function O(b){var j;R(t,n,(j=f[b])!=null?j:b)}function P(b){e.onChanged?e.onChanged(b,O):O(b)}ae(v,P,{flush:"post",immediate:!0}),Ar(()=>P(v.value));const T=ue({get(){return u?y.value:v.value},set(b){y.value=b}});return Object.assign(T,{store:y,system:g,state:v})}function gf(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=hf({...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=ue(()=>s.system.value);return ue({get(){return s.value==="dark"},set(o){const l=o?"dark":"light";r.value===l?s.value="auto":s.value=l}})}function mf(e={}){const{navigator:t=Mr,requestPermissions:n=!1,constraints:s={audio:!0,video:!0},onUpdated:r}=e,i=re([]),o=ue(()=>i.value.filter(y=>y.kind==="videoinput")),l=ue(()=>i.value.filter(y=>y.kind==="audioinput")),a=ue(()=>i.value.filter(y=>y.kind==="audiooutput")),u=jt(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),c=pe(!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}=of(y,{controls:!0});if(await R(),v.value!=="granted"){let O=!0;try{f=await t.mediaDevices.getUserMedia(s)}catch{f=null,O=!1}h(),c.value=O}else c.value=!0;return c.value}return u.value&&(n&&g(),ye(t.mediaDevices,"devicechange",h,{passive:!0}),h()),{devices:i,ensurePermissions:g,permissionGranted:c,videoInputs:o,audioInputs:l,audioOutputs:a,isSupported:u}}function yf(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=ue(()=>{const f=Be(e);return Array.isArray(f)?f.map(h=>We(h)):[We(f)]}),u=ae(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 vf(e,t={}){const{reset:n=!0,windowResize:s=!0,windowScroll:r=!0,immediate:i=!0,updateTiming:o="sync"}=t,l=pe(0),a=pe(0),u=pe(0),c=pe(0),f=pe(0),h=pe(0),g=pe(0),y=pe(0);function v(){const O=We(e);if(!O){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=O.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 yf(e,R),ae(()=>We(e),O=>!O&&R()),tf(e,R,{attributeFilter:["style","class"]}),r&&ye("scroll",R,{capture:!0,passive:!0}),s&&ye("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 bf(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=ue(()=>{const y=Be(e);return sn(y).map(We).filter(al)});let c=kn;const f=pe(l),h=a.value?ae(()=>[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(O=>O&&R.observe(O)),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 _f(e={}){var t,n;const s=pe((t=e.enabled)!=null?t:!1),r=pe((n=e.autoSwitch)!=null?n:!0),i=re(e.constraints),{navigator:o=Mr}=e,l=jt(()=>{var v;return(v=o==null?void 0:o.mediaDevices)==null?void 0:v.getUserMedia}),a=pe();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 ae(s,v=>{v?c():f()},{immediate:!0}),ae(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}}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function xf(e){return Ut()}function Sf(e,t){xf()&&gs(e,t)}const dl=1/60*1e3,wf=typeof performance<"u"?()=>performance.now():()=>Date.now(),pl=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(wf()),dl);function Of(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<s;u++){const c=t[u];c(a),o.has(c)&&(l.schedule(c),e())}r=!1,i&&(i=!1,l.process(a))}};return l}const Tf=40;let nr=!0,mn=!1,sr=!1;const Bt={delta:0,timestamp:0},Sn=["read","update","preRender","render","postRender"],bs=Sn.reduce((e,t)=>(e[t]=Of(()=>mn=!0),e),{}),rr=Sn.reduce((e,t)=>{const n=bs[t];return e[t]=(s,r=!1,i=!1)=>(mn||Mf(),n.schedule(s,r,i)),e},{}),Cf=Sn.reduce((e,t)=>(e[t]=bs[t].cancel,e),{});Sn.reduce((e,t)=>(e[t]=()=>bs[t].process(Bt),e),{});const Af=e=>bs[e].process(Bt),hl=e=>{mn=!1,Bt.delta=nr?dl:Math.max(Math.min(e-Bt.timestamp,Tf),1),Bt.timestamp=e,sr=!0,Sn.forEach(Af),sr=!1,mn&&(nr=!1,pl(hl))},Mf=()=>{mn=!0,nr=!0,sr||pl(hl)},gl=()=>Bt;function ml(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);r<s.length;r++)t.indexOf(s[r])<0&&Object.prototype.propertyIsEnumerable.call(e,s[r])&&(n[s[r]]=e[s[r]]);return n}var Ri=function(){};const ir=(e,t,n)=>Math.min(Math.max(n,e),t),Pi=.001,Ef=.01,Rf=10,Pf=.05,If=1;function jf({duration:e=800,bounce:t=.25,velocity:n=0,mass:s=1}){let r,i,o=1-t;o=ir(Pf,If,o),e=ir(Ef,Rf,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=Nf(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 Ff=12;function Nf(e,t,n){let s=n;for(let r=1;r<Ff;r++)s=s-e(s)/t(s);return s}function or(e,t){return e*Math.sqrt(1-t*t)}const Df=["duration","bounce"],Lf=["stiffness","damping","mass"];function Ii(e,t){return t.some(n=>e[n]!==void 0)}function kf(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ii(e,Lf)&&Ii(e,Df)){const n=jf(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Er(e){var{from:t=0,to:n=1,restSpeed:s=2,restDelta:r}=e,i=ml(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:l,damping:a,mass:u,velocity:c,duration:f,isResolvedFromDuration:h}=kf(i),g=ji,y=ji;function v(){const R=c?-(c/1e3):0,O=n-t,P=a/(2*Math.sqrt(l*u)),T=Math.sqrt(l/u)/1e3;if(r===void 0&&(r=Math.min(Math.abs(n-t)/100,.4)),P<1){const b=or(T,P);g=j=>{const $=Math.exp(-P*T*j);return n-$*((R+P*T*O)/b*Math.sin(b*j)+O*Math.cos(b*j))},y=j=>{const $=Math.exp(-P*T*j);return P*T*$*(Math.sin(b*j)*(R+P*T*O)/b+O*Math.cos(b*j))-$*(Math.cos(b*j)*(R+P*T*O)-b*O*Math.sin(b*j))}}else if(P===1)g=b=>n-Math.exp(-T*b)*(O+(R+T*O)*b);else{const b=T*Math.sqrt(P*P-1);g=j=>{const $=Math.exp(-P*T*j),Y=Math.min(b*j,300);return n-$*((R+P*T*O)*Math.sinh(Y)+b*O*Math.cosh(Y))/b}}}return v(),{next:R=>{const O=g(R);if(h)o.done=R>=f;else{const P=y(R)*1e3,T=Math.abs(P)<=s,b=Math.abs(n-O)<=r;o.done=T&&b}return o.value=o.done?n:O,o},flipTarget:()=>{c=-c,[t,n]=[n,t],v()}}}Er.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const ji=e=>0,yl=(e,t,n)=>{const s=t-e;return s===0?1:(n-e)/s},Rr=(e,t,n)=>-n*e+n*t+e,vl=(e,t)=>n=>Math.max(Math.min(n,t),e),rn=e=>e%1?Number(e.toFixed(5)):e,yn=/(-)?([\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,Vf=/^(#[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},on=Object.assign(Object.assign({},On),{transform:vl(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"),ln=Pr("%"),U=Pr("px"),Fi=Object.assign(Object.assign({},ln),{parse:e=>ln.parse(e)/100,transform:e=>ln.transform(e*100)}),Ir=(e,t)=>n=>!!(wn(n)&&Vf.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),bl=(e,t,n)=>s=>{if(!wn(s))return s;const[r,i,o,l]=s.match(yn);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},At={test:Ir("hsl","hue"),parse:bl("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+ln.transform(rn(t))+", "+ln.transform(rn(n))+", "+rn(on.transform(s))+")"},Hf=vl(0,255),ks=Object.assign(Object.assign({},On),{transform:e=>Math.round(Hf(e))}),ft={test:Ir("rgb","red"),parse:bl("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+ks.transform(e)+", "+ks.transform(t)+", "+ks.transform(n)+", "+rn(on.transform(s))+")"};function $f(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:$f,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)},_l="${c}",xl="${n}";function Bf(e){var t,n,s,r;return isNaN(e)&&wn(e)&&((n=(t=e.match(yn))===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 Sl(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const s=e.match(lr);s&&(n=s.length,e=e.replace(lr,_l),t.push(...s.map(Ae.parse)));const r=e.match(yn);return r&&(e=e.replace(yn,xl),t.push(...r.map(On.parse))),{values:t,numColors:n,tokenised:e}}function wl(e){return Sl(e).values}function Ol(e){const{values:t,numColors:n,tokenised:s}=Sl(e),r=t.length;return i=>{let o=s;for(let l=0;l<r;l++)o=o.replace(l<n?_l:xl,l<n?Ae.transform(i[l]):rn(i[l]));return o}}const Wf=e=>typeof e=="number"?0:e;function Uf(e){const t=wl(e);return Ol(e)(t.map(Wf))}const Tn={test:Bf,parse:wl,createTransformer:Ol,getAnimatableNone:Uf},zf=new Set(["brightness","contrast","saturate","opacity"]);function Kf(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=n.match(yn)||[];if(!s)return e;const r=n.replace(s,"");let i=zf.has(t)?1:0;return s!==n&&(i*=100),t+"("+i+r+")"}const qf=/([a-z-]*)\(.*?\)/g,cr=Object.assign(Object.assign({},Tn),{getAnimatableNone:e=>{const t=e.match(qf);return t?t.map(Kf).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 Gf=(e,t,n)=>{const s=e*e,r=t*t;return Math.sqrt(Math.max(0,n*(r-s)+s))},Jf=[ar,ft,At],Di=e=>Jf.find(t=>t.test(e)),Tl=(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]=Gf(r[a],i[a],l));return o.alpha=Rr(r.alpha,i.alpha,l),n.transform(o)}},Yf=e=>typeof e=="number",Zf=(e,t)=>n=>t(e(n)),Cl=(...e)=>e.reduce(Zf);function Al(e,t){return Yf(e)?n=>Rr(e,t,n):Ae.test(e)?Tl(e,t):El(e,t)}const Ml=(e,t)=>{const n=[...e],s=n.length,r=e.map((i,o)=>Al(i,t[o]));return i=>{for(let o=0;o<s;o++)n[o]=r[o](i);return n}},Xf=(e,t)=>{const n=Object.assign(Object.assign({},e),t),s={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(s[r]=Al(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<n;o++)s||typeof t[o]=="number"?s++:t[o].hue!==void 0?i++:r++;return{parsed:t,numNumbers:s,numRGB:r,numHSL:i}}const El=(e,t)=>{const n=Tn.createTransformer(t),s=Li(e),r=Li(t);return s.numHSL===r.numHSL&&s.numRGB===r.numRGB&&s.numNumbers>=r.numNumbers?Cl(Ml(s.parsed,r.parsed),n):o=>`${o>0?t:e}`},Qf=(e,t)=>n=>Rr(e,t,n);function ed(e){if(typeof e=="number")return Qf;if(typeof e=="string")return Ae.test(e)?Tl:El;if(Array.isArray(e))return Ml;if(typeof e=="object")return Xf}function td(e,t,n){const s=[],r=n||ed(e[0]),i=e.length-1;for(let o=0;o<i;o++){let l=r(e[o],e[o+1]);if(t){const a=Array.isArray(t)?t[o]:t;l=Cl(a,l)}s.push(l)}return s}function nd([e,t],[n]){return s=>n(yl(e,t,s))}function sd(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(;a<n&&!(e[a]>r||a===s);a++);i=a-1}const l=yl(e[i],e[i+1],r);return t[i](l)}}function Rl(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=td(t,s,r),l=i===2?nd(e,o):sd(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,rd=e=>t=>Math.pow(t,e),Pl=e=>t=>t*t*((e+1)*t-e),id=e=>{const t=Pl(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},Il=1.525,od=4/11,ld=8/11,ad=9/10,jl=e=>e,Fr=rd(2),cd=_s(Fr),Fl=jr(Fr),Nl=e=>1-Math.sin(Math.acos(e)),Dl=_s(Nl),ud=jr(Dl),Nr=Pl(Il),fd=_s(Nr),dd=jr(Nr),pd=id(Il),hd=4356/361,gd=35442/1805,md=16061/1805,Zn=e=>{if(e===1||e===0)return e;const t=e*e;return e<od?7.5625*t:e<ld?9.075*t-9.9*e+3.4:e<ad?hd*t-gd*e+md:10.8*e*e-20.52*e+10.72},yd=_s(Zn),vd=e=>e<.5?.5*(1-Zn(1-e*2)):.5*Zn(e*2-1)+.5;function bd(e,t){return e.map(()=>t||Fl).splice(0,e.length-1)}function _d(e){const t=e.length;return e.map((n,s)=>s!==0?s/(t-1):0)}function xd(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=xd(s&&s.length===o.length?s:_d(o),r);function a(){return Rl(l,o,{ease:Array.isArray(n)?n:bd(o,n)})}let u=a();return{next:c=>(i.value=u(c),i.done=c>=r,i),flipTarget:()=>{o.reverse(),u=a()}}}function Sd({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:Er,decay:Sd};function wd(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")?Er:Vn}function Ll(e,t,n=0){return e-t-n}function Od(e,t,n=0,s=!0){return s?Ll(t+-e,t,n):t-(e-t)+n}function Td(e,t,n,s){return s?e>=t+n:e<=-n}const Cd=e=>{const t=({delta:n})=>e(n);return{start:()=>rr.update(t,!0),stop:()=>Cf.update(t)}};function kl(e){var t,n,{from:s,autoplay:r=!0,driver:i=Cd,elapsed:o=0,repeat:l=0,repeatType:a="loop",repeatDelay:u=0,onPlay:c,onStop:f,onComplete:h,onRepeat:g,onUpdate:y}=e,v=ml(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:R}=v,O,P=0,T=v.duration,b,j=!1,$=!0,Y;const se=wd(v);!((n=(t=se).needsInterpolation)===null||n===void 0)&&n.call(t,s,R)&&(Y=Rl([0,100],[s,R],{clamp:!1}),s=0,R=100);const N=se(Object.assign(Object.assign({},v),{from:s,to:R}));function z(){P++,a==="reverse"?($=P%2===0,o=Od(o,T,u,$)):(o=Ll(o,T,u),a==="mirror"&&N.flipTarget()),j=!1,g&&g()}function G(){O.stop(),h&&h()}function M(D){if($||(D=-D),o+=D,!j){const Q=N.next(Math.max(0,o));b=Q.value,Y&&(b=Y(b)),j=$?Q.done:o<=0}y==null||y(b),j&&(P===0&&(T??(T=o)),P<l?Td(o,T,u,$)&&z():G())}function K(){c==null||c(),O=i(M),O.start()}return r&&K(),{stop:()=>{f==null||f(),O.stop()}}}function Vl(e,t){return t?e*(1e3/t):0}function Ad({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(T){return n!==void 0&&T<n||s!==void 0&&T>s}function R(T){return n===void 0?s:s===void 0||Math.abs(n-T)<Math.abs(s-T)?n:s}function O(T){y==null||y.stop(),y=kl(Object.assign(Object.assign({},T),{driver:c,onUpdate:b=>{var j;f==null||f(b),(j=T.onUpdate)===null||j===void 0||j.call(T,b)},onComplete:h,onStop:g}))}function P(T){O(Object.assign({type:"spring",stiffness:o,damping:l,restDelta:a},T))}if(v(e))P({from:e,velocity:t,to:R(e)});else{let T=r*t+e;typeof u<"u"&&(T=u(T));const b=R(T),j=b===n?-1:1;let $,Y;const se=N=>{$=Y,Y=N,t=Vl(N-$,gl().delta),(j===1&&N>b||j===-1&&N<b)&&P({from:N,to:b,velocity:t})};O({type:"decay",from:e,velocity:t,timeConstant:i,power:r,restDelta:a,modifyTarget:u,onUpdate:v(T)?se:void 0})}return{stop:()=>y==null?void 0:y.stop()}}const Hl=(e,t)=>1-3*t+3*e,$l=(e,t)=>3*t-6*e,Bl=e=>3*e,Xn=(e,t,n)=>((Hl(t,n)*e+$l(t,n))*e+Bl(t))*e,Wl=(e,t,n)=>3*Hl(t,n)*e*e+2*$l(t,n)*e+Bl(t),Md=1e-7,Ed=10;function Rd(e,t,n,s,r){let i,o,l=0;do o=t+(n-t)/2,i=Xn(o,s,r)-e,i>0?n=o:t=o;while(Math.abs(i)>Md&&++l<Ed);return o}const Pd=8,Id=.001;function jd(e,t,n,s){for(let r=0;r<Pd;++r){const i=Wl(t,n,s);if(i===0)return t;const o=Xn(t,n,s)-e;t-=o/i}return t}const Hn=11,Fn=1/(Hn-1);function Fd(e,t,n,s){if(e===t&&n===s)return jl;const r=new Float32Array(Hn);for(let o=0;o<Hn;++o)r[o]=Xn(o*Fn,e,n);function i(o){let l=0,a=1;const u=Hn-1;for(;a!==u&&r[a]<=o;++a)l+=Fn;--a;const c=(o-r[a])/(r[a+1]-r[a]),f=l+c*Fn,h=Wl(f,e,n);return h>=Id?jd(o,f,e,n):h===0?f:Rd(o,l,l+Fn,e,n)}return o=>o===0||o===1?o:Xn(i(o),t,s)}const it={},Hs={};class Nd{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 Dd{constructor(t){Le(this,"current");Le(this,"prev");Le(this,"timeDelta",0);Le(this,"lastUpdated",0);Le(this,"updateSubscribers",new Nd);Le(this,"stopAnimation");Le(this,"canTrackVelocity",!1);Le(this,"updateAndNotify",t=>{this.prev=this.current,this.current=t;const{delta:n,timestamp:s}=gl();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?Vl(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 Ld(e){return new Dd(e)}const{isArray:kd}=Array;function Vd(){const e=re({}),t=s=>{const r=i=>{e.value[i]&&(e.value[i].stop(),e.value[i].destroy(),delete e.value[i])};s?kd(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=Ld(r);return o.onChange(l=>i[s]=l),e.value[s]=o,o};return Sf(t),{motionValues:e,get:n,stop:t}}function Hd(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 $d(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 Bd(e){return{type:"keyframes",duration:800,values:e}}const Hi={default:$d,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 Ul(e,t){let n;return Hd(t)?n=Bd:n=Hi[e]||Hi.default,{to:t,...n(t)}}const $i={...On,transform:Math.round},zl={color:Ae,backgroundColor:Ae,outlineColor:Ae,fill:Ae,stroke:Ae,borderColor:Ae,borderTopColor:Ae,borderRightColor:Ae,borderBottomColor:Ae,borderLeftColor:Ae,borderWidth:U,borderTopWidth:U,borderRightWidth:U,borderBottomWidth:U,borderLeftWidth:U,borderRadius:U,radius:U,borderTopLeftRadius:U,borderTopRightRadius:U,borderBottomRightRadius:U,borderBottomLeftRadius:U,width:U,maxWidth:U,height:U,maxHeight:U,size:U,top:U,right:U,bottom:U,left:U,padding:U,paddingTop:U,paddingRight:U,paddingBottom:U,paddingLeft:U,margin:U,marginTop:U,marginRight:U,marginBottom:U,marginLeft:U,rotate:St,rotateX:St,rotateY:St,rotateZ:St,scale:jn,scaleX:jn,scaleY:jn,scaleZ:jn,skew:St,skewX:St,skewY:St,distance:U,translateX:U,translateY:U,translateZ:U,x:U,y:U,z:U,perspective:U,transformPerspective:U,opacity:on,originX:Fi,originY:Fi,originZ:U,zIndex:$i,filter:cr,WebkitFilter:cr,fillOpacity:on,strokeOpacity:on,numOctaves:$i},Dr=e=>zl[e];function ur(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function Wd(e,t){let n=Dr(e);return n!==cr&&(n=Tn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Ud={linear:jl,easeIn:Fr,easeInOut:Fl,easeOut:cd,circIn:Nl,circInOut:ud,circOut:Dl,backIn:Nr,backInOut:dd,backOut:fd,anticipate:pd,bounceIn:yd,bounceInOut:vd,bounceOut:Zn};function Bi(e){if(Array.isArray(e)){const[t,n,s,r]=e;return Fd(t,n,s,r)}else if(typeof e=="string")return Ud[e];return e}function zd(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 Kd(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function qd({ease:e,times:t,delay:n,...s}){const r={...s};return t&&(r.offset=t),e&&(r.ease=zd(e)?e.map(Bi):Bi(e)),n&&(r.elapsed=-n),r}function Gd(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),Kd(t),Jd(e)||(e={...e,...Ul(n,t.to)}),{...t,...qd(e)}}function Jd({delay:e,repeat:t,repeatType:n,repeatDelay:s,from:r,...i}){return!!Object.keys(i).length}function Yd(e,t){return e[t]||e.default||e}function Zd(e,t,n,s,r){const i=Yd(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=Wd(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"?Ad({...h,...i}):kl({...Gd(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 Xd(){const{motionValues:e,stop:t,get:n}=Vd();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=Zd(r,c,i,l,a);c.start(f)}}}function Qd(e,t={},{motionValues:n,push:s,stop:r}=Xd()){const i=Me(t),o=re(!1);ae(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||Ul(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",ep=()=>Lr&&(window.onpointerdown===null||(it==null?void 0:it.TEST)),tp=()=>Lr&&(window.ontouchstart===null||(it==null?void 0:it.TEST)),np=()=>Lr&&(window.onmousedown===null||(it==null?void 0:it.TEST));function sp({target:e,state:t,variants:n,apply:s}){const r=Me(n),i=re(!1),o=re(!1),l=re(!1),a=ue(()=>{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=ue(()=>{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&&(ye(e,"mouseenter",()=>i.value=!0),ye(e,"mouseleave",()=>{i.value=!1,o.value=!1})),r.tapped&&(np()&&(ye(e,"mousedown",()=>o.value=!0),ye(e,"mouseup",()=>o.value=!1)),ep()&&(ye(e,"pointerdown",()=>o.value=!0),ye(e,"pointerup",()=>o.value=!1)),tp()&&(ye(e,"touchstart",()=>o.value=!0),ye(e,"touchend",()=>o.value=!1))),r.focused&&(ye(e,"focus",()=>l.value=!0),ye(e,"blur",()=>l.value=!1)),ae([i,o,l],()=>{s(u.value)})}function rp({set:e,target:t,variants:n,variant:s}){const r=Me(n);ae(()=>t,()=>{r&&(r.initial&&(e("initial"),s.value="initial"),r.enter&&(s.value="enter"))},{immediate:!0,flush:"pre"})}function ip({state:e,apply:t}){ae(e,n=>{n&&t(n)},{immediate:!0})}function Kl({target:e,variants:t,variant:n}){const s=Me(t);s&&(s.visible||s.visibleOnce)&&bf(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 op(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&rp(e),t.syncVariants&&ip(e),t.visibilityHooks&&Kl(e),t.eventListeners&&sp(e)}function ql(e={}){const t=It({...e}),n=re({});return ae(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){ae(()=>We(e),n=>{n&&t(n)},{immediate:!0})}const lp={x:"translateX",y:"translateY",z:"translateZ"};function Gl(e={},t=!0){const n=It({...e}),s=re("");return ae(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,U)).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+=`${lp[l]||l}(${c}) `}t&&!o&&(i+="translateZ(0px) "),s.value=i.trim()},{immediate:!0,deep:!0}),{state:n,transform:s}}const ap=["","X","Y","Z"],cp=["perspective","translate","scale","rotate","skew"],Jl=["transformPerspective","x","y","z"];cp.forEach(e=>{ap.forEach(t=>{const n=e+t;Jl.push(n)})});const up=new Set(Jl);function Vr(e){return up.has(e)}const fp=new Set(["originX","originY","originZ"]);function Yl(e){return fp.has(e)}function dp(e){const t={},n={};return Object.entries(e).forEach(([s,r])=>{Vr(s)||Yl(s)?t[s]=r:n[s]=r}),{transform:t,style:n}}function xs(e){const{transform:t,style:n}=dp(e),{transform:s}=Gl(t),{style:r}=ql(n);return s.value&&(r.value.transform=s.value),r.value}function pp(e,t){let n,s;const{state:r,style:i}=ql();return kr(e,o=>{s=o;for(const l of Object.keys(zl))o.style[l]===null||o.style[l]===""||Vr(l)||Yl(l)||(r[l]=o.style[l]);n&&Object.entries(n).forEach(([l,a])=>o.style[l]=a),t&&t(r)}),ae(i,o=>{if(!s){n=o;return}for(const l in o)s.style[l]=o[l]},{immediate:!0}),{style:r}}function hp(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 gp(e,t){Object.entries(hp(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 mp(e,t){let n,s;const{state:r,transform:i}=Gl();return kr(e,o=>{s=o,o.style.transform&&gp(r,o.style.transform),n&&(o.style.transform=n),t&&t(r)}),ae(i,o=>{if(!s){n=o;return}s.style.transform=o},{immediate:!0}),{transform:r}}function yp(e){return Object.entries(e)}function vp(e,t){const n=It({}),s=o=>Object.entries(o).forEach(([l,a])=>n[l]=a),{style:r}=pp(e,s),{transform:i}=mp(e,s);return ae(n,o=>{yp(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 bp(e={}){const t=Me(e),n=re();return{state:ue(()=>{if(n.value)return t[n.value]}),variant:n}}function Zl(e,t={},n){const{motionProperties:s}=vp(e),{variant:r,state:i}=bp(t),o=Qd(s,t),l={target:e,variant:r,variants:t,state:i,motionProperties:s,...o};return op(l,n),l}const Xl=["delay","duration"],_p=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...Xl];function xp(e){return Xl.includes(e)}function Sp(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 _p)if(!(!n||!n[s])){if(xp(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(J(e)||{}):e||{},u=re(a);typeof i.value=="object"&&(u.value=i.value),Sp(o,u);const f=Zl(r,u,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});r.motionInstance=f,l&&(Hs[l]=f)},mounted:(r,i,o)=>{r.motionInstance&&Kl(r.motionInstance)},getSSRProps(r,i){let{initial:o}=r.value||i&&(i==null?void 0:i.props)||{};o=Me(o);const l=Ui({},(e==null?void 0:e.initial)||{},o||{});return!l||Object.keys(l).length===0?void 0:{style:xs(l)}}}}const wp={initial:{opacity:0},enter:{opacity:1}},Op={initial:{opacity:0},visible:{opacity:1}},Tp={initial:{opacity:0},visibleOnce:{opacity:1}},Cp={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},Ap={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},Mp={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}},Rp={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Pp={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Ip={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},jp={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Fp={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Np={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Dp={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},Lp={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},kp={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Vp={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},Hp={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},$p={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},Bp={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},Wp={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},Up={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},zp={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},Kp={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},qp={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},Gp={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},Jp={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},Yp={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},Zp={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},Xp={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},Qn={__proto__:null,fade:wp,fadeVisible:Op,fadeVisibleOnce:Tp,pop:Cp,popVisible:Ap,popVisibleOnce:Mp,rollBottom:kp,rollLeft:Ep,rollRight:Ip,rollTop:Np,rollVisibleBottom:Vp,rollVisibleLeft:Rp,rollVisibleOnceBottom:Hp,rollVisibleOnceLeft:Pp,rollVisibleOnceRight:Fp,rollVisibleOnceTop:Lp,rollVisibleRight:jp,rollVisibleTop:Dp,slideBottom:Yp,slideLeft:$p,slideRight:Up,slideTop:qp,slideVisibleBottom:Zp,slideVisibleLeft:Bp,slideVisibleOnceBottom:Xp,slideVisibleOnceLeft:Wp,slideVisibleOnceRight:Kp,slideVisibleOnceTop:Jp,slideVisibleRight:zp,slideVisibleTop:Gp};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 Ql=Symbol(""),ea={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 eh(e){return Object.prototype.toString.call(e)==="[object Object]"}function fr(e){if(Array.isArray(e))return e.map(fr);if(eh(e)){const t={};for(const n in e)t[n]=fr(e[n]);return t}return e}function ta(e){const t=It({}),n=$t(Ql,{}),s=ue(()=>e.preset==null?{}:n!=null&&e.preset in n?structuredClone(J(n)[e.preset]):e.preset in Qn?structuredClone(Qn[e.preset]):{}),r=ue(()=>({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=ue(()=>{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]=Zl(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 th=ds({name:"Motion",props:{...ea,is:{type:[String,Object],default:"div"}},setup(e){const t=Fo(),{motionConfig:n,setNodeInstance:s}=ta(e);return()=>{const r=xs(n.value.initial||{}),i=Cr(e.is,void 0,t);return s(i,0,r),i}}}),nh=ds({name:"MotionGroup",props:{...ea,is:{type:[String,Object],required:!1}},setup(e){const t=Fo(),{motionConfig:n,setNodeInstance:s}=ta(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<i.length;l++){const a=i[l];a.type===Ne&&Array.isArray(a.children)?a.children.forEach(function u(c,f){if(c!=null){if(Array.isArray(c)){u(c,f);return}typeof c=="object"&&s(c,f,r)}}):s(a,l,r)}return e.is?Cr(e.is,void 0,i):i}}}),sh={install(e,t){if(e.directive("motion",Ws()),!t||t&&!t.excludePresets)for(const n in Qn){const s=Qn[n];e.directive(`motion-${Qp(n)}`,Ws(s,!0))}if(t&&t.directives)for(const n in t.directives){const s=t.directives[n];s.initial,e.directive(`motion-${n}`,Ws(s,!0))}e.provide(Ql,t==null?void 0:t.directives),e.component("Motion",th),e.component("MotionGroup",nh)}};async function rh(){try{if(ih())return{supported:!1,isNode:!0,reason:"",fp16Supported:!1};if(typeof navigator>"u"||!navigator.gpu)return{supported:!1,isNode:!1,reason:"WebGPU is not available (navigator.gpu is undefined)",fp16Supported:!1};const e=await navigator.gpu.requestAdapter();return e?{supported:!0,isNode:!1,reason:"",adapter:e,fp16Supported:e.features.has("shader-f16")}:{supported:!1,isNode:!1,reason:"WebGPU is not supported (no adapter found)",fp16Supported:!1}}catch(e){return{supported:!1,isNode:!1,reason:e instanceof Error?e.toString():String(e),fp16Supported:!1}}}function ih(){return typeof process<"u"&&"versions"in process&&process.versions!=null&&typeof process.versions=="object"&&"node"in process.versions&&process.versions.node!=null}const oh={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":""},lh=ds({__name:"Progress",props:{percentage:{default:0},total:{}},setup(e){return(t,n)=>(Fe(),Ve("div",oh,[fe("div",{"h-full":"",bg:"white dark:neutral-200",w:"[100%]",style:rs({transform:`translateX(-${Math.max(0,100-t.percentage)}%)`})},null,4)]))}}),ah="/assets/worker-MMghZe94.js";let we,an=!1,Dt=!1,na;async function sa(e){return na=e,new Promise((t,n)=>{if(an){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&&!an&&!we){try{if(we=new Worker(ah,{type:"module"}),!we)throw new Error("Worker not initialized");we.postMessage({type:"load",data:void 0})}catch(r){Dt=!1,n(r);return}we.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}})}we==null||we.addEventListener("message",r=>{r.data.type!=="status"||r.data.data.status!=="ready"||(an=!0,Dt=!1,t())})}catch(s){Dt=!1,n(s)}})}async function ch(e){return new Promise((t,n)=>{sa(na).then(()=>{if(!we||!an){n(new Error("Model not loaded"));return}we.addEventListener("error",i=>{n(i)});let s=!1,r=!1;we.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&&we.postMessage({data:{instruction:e.instruction,imageBuffer:e.imageBuffer,imageWidth:e.imageWidth,imageHeight:e.imageHeight,channels:e.channels},type:"process"})})})}function uh(){we&&(we.terminate(),an=!1,Dt=!1,we=void 0)}const fh={relative:"","z-0":"","h-full":"","w-full":"","overflow-hidden":"",class:"rounded-none sm:rounded-3xl","shadow-md":""},dh={key:0,bottom:"20",left:"1/2","translate-x":"-50%","max-w":"50",absolute:"","z-10":"","h-10":"","w-full":""},ph={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 <sm:xs",border:"neutral-400/40 dark:neutral-500/50 1 solid",transition:"all duration-300 ease-in-out",class:"rounded-xl px-2 py-1 sm:rounded-2xl sm:px-3 sm:py-2","backdrop-blur-lg":""},hh={key:2,absolute:"","left-0":"","top-0":"","z-1":"","h-full":"","w-full":"",flex:"","flex-col":"","items-center":"","justify-center":"","gap-3":"",bg:"neutral-50/20"},gh={key:3,absolute:"","left-0":"","top-0":"","z-1":"","h-full":"","w-full":"",flex:"","flex-col":"","items-center":"","justify-center":"","gap-3":"",bg:"neutral-50/20"},mh={key:4,absolute:"","left-0":"","top-0":"","z-1":"","h-full":"","w-full":"",flex:"","flex-col":"","items-center":"","justify-center":"","gap-3":"",bg:"orange-50/20 dark:orange-900/10"},yh={gap:"1 sm:2",absolute:"","bottom-0":"","right-0":"","z-10":"","h-full":"",flex:"","items-center":"",class:"max-h-12 p-2 sm:max-h-18 sm:p-4"},vh=["value"],bh={key:0,"i-solar:moon-stars-bold":"",class:"size-4"},_h={key:1,"i-solar:sun-bold":"",class:"size-4"},xh=ds({__name:"App",setup(e){const{videoInputs:t,permissionGranted:n,isSupported:s}=mf({constraints:{video:!0,audio:!1},requestPermissions:!0}),r=re(),i=re(),o=re(),l=vo(()=>{var L;return(L=t.value[0])==null?void 0:L.deviceId}),a=ue(()=>({video:{deviceId:l.value}})),u=re(!1),c=re(!1),f=re("In one sentence, what do you see?"),h=re(""),g=re("1000"),y=re(!0),v=re([]),R=new Set,O=re(0),P=re(0),T=re(!1),b=gf({disableTransition:!1}),j=vf(r,{immediate:!0,windowResize:!0}),{stream:$,start:Y}=_f({constraints:a,enabled:!0,autoSwitch:!0});function se(){var q,he,ce;if(!$||!((q=i.value)!=null&&q.videoWidth)||!o.value)return console.warn("Video stream not ready for capture."),null;o.value.width=(he=i.value)==null?void 0:he.videoWidth,o.value.height=(ce=i.value)==null?void 0:ce.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 F=L.getImageData(0,0,o.value.width,o.value.height);return{imageBuffer:F.data,imageWidth:F.width,imageHeight:F.height,channels:4}}function N(){rh().then(L=>{y.value=L.supported})}async function z(){if(!c.value)return;const L=f.value,F=se();if(!F){h.value="Capture failed";return}try{const q=await ch({instruction:L,imageBuffer:F.imageBuffer,imageWidth:F.imageWidth,imageHeight:F.imageHeight,channels:F.channels});h.value=q.data??""}catch(q){console.error(q),h.value=`Error: ${q instanceof Error?q.message:"Unknown error"}`}}function G(L){return new Promise(F=>setTimeout(F,L))}async function M(){const L=Number.parseInt(g.value,10);for(;c.value&&(await z(),!!c.value);)await G(L)}const K=async L=>{if(L.status==="initiate"){if(R.has(L.file))return;R.add(L.file),v.value.push(L),T.value=!0}else if(L.status==="progress"){const F=v.value.findIndex(q=>q.file===L.file);if(F>=0){v.value[F]=L;let q=0,he=0;for(const ce of v.value)"total"in ce&&ce.total&&(q+=ce.total,"loaded"in ce&&ce.loaded&&(he+=ce.loaded));P.value=q,q>0&&(O.value=he/q*100)}else{v.value.push(L);let q=0,he=0;for(const ce of v.value)"total"in ce&&ce.total&&(q+=ce.total,"loaded"in ce&&ce.loaded&&(he+=ce.loaded));P.value=q,q>0&&(O.value=he/q*100)}}else if(L.status==="done"){const F=v.value.findIndex(he=>he.file===L.file);F>=0&&(v.value[F]=L),v.value.every(he=>he.status==="done"||he.status==="ready")&&(T.value=!1,O.value=100)}else L.status==="ready"&&(T.value=!1,O.value=100)};async function D(){if(!$){h.value="Camera not available. Cannot start.",alert("Camera not available. Please grant permission first.");return}u.value||(await sa({onProgress:K}),u.value=!0),c.value=!0,h.value="...",M()}function Q(){c.value=!1,h.value==="..."&&(h.value="")}function X(){c.value?Q():D()}return ae([$,i],()=>{$.value&&i.value&&(i.value.srcObject=$.value)}),ae(l,()=>l.value&&Y()),Wt(j.update),gs(()=>uh()),Wt(N),(L,F)=>(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"},[fe("div",fh,[F[5]||(F[5]=fe("div",{absolute:"","left-0":"","top-0":"","z-10":"",class:"p-2 sm:p-4",flex:"","gap-2":""},[fe("div",{bg:"white dark:neutral-900",text:"black dark:white <sm:xs",border:"neutral-400/40 dark:neutral-500/50 1 solid",class:"rounded-xl p-2 sm:rounded-2xl sm:px-3 sm:py-2",transition:"all duration-300 ease-in-out"},[fe("div",null," SmolVLM Realtime WebGPU (Vue) ")]),fe("a",{href:"https://github.com/proj-airi/webai-examples/tree/main/apps/smolvlm-realtime-webgpu",bg:"white dark:neutral-900 hover:neutral-100 dark:hover:neutral-800",border:"neutral-400/40 dark:neutral-500/50 1 solid",class:"rounded-xl p-2 text-black sm:rounded-2xl sm:px-3 sm:py-2 dark:text-white",transition:"all duration-300 ease-in-out",flex:"","items-center":"","justify-center":""},[fe("div",{"i-simple-icons:github":"",class:"size-4"})])],-1)),fe("button",{text:"white/98 dark:neutral-100/90 <sm:xs",border:"neutral-400/40 dark:neutral-500/50 1 solid",transition:"all duration-300 ease-in-out",class:is(["bottom-2 left-2 max-h-8 px-2 sm:bottom-4 sm:left-4 sm:max-h-10 sm:px-3 sm:py-2",[c.value?"bg-red-700/60 dark:bg-red-900/90 hover:bg-red-800/60 dark:hover:bg-red-900/90":"bg-green-700/60 dark:bg-green-900/90 hover:bg-green-800/60 dark:hover:bg-green-900/90"]]),absolute:"","z-10":"","h-full":"",flex:"","items-center":"","rounded-full":"","backdrop-blur-lg":"",onClick:X},Ot(c.value?"Stop":"Start"),3),v.value.length>0&&T.value?(Fe(),Ve("div",dh,[Te(lh,{percentage:Math.min(100,O.value)},null,8,["percentage"])])):ii("",!0),h.value?(Fe(),Ve("div",ph,Ot(h.value),1)):ii("",!0),Me(s)?y.value?Me(n)?(Fe(),Ve(Ne,{key:5},[fe("video",{ref_key:"videoScreen",ref:i,autoplay:"",muted:"",relative:"","z-0":"","h-full":"","w-full":"","object-cover":""},null,512),fe("canvas",{ref_key:"captureCanvas",ref:o,class:"hidden"},null,512)],64)):(Fe(),Ve("div",mh,F[4]||(F[4]=[fe("div",{text:"orange-700 4xl","font-semibold":""}," Warning ",-1),fe("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",gh,F[3]||(F[3]=[fe("div",{text:"neutral-700 dark:neutral-300 4xl","font-semibold":""}," Not Supported ",-1),fe("div",{"max-w":"50%",text:"neutral 2xl center"},Ot("Browser does not support WebGPU. Please use a supported browser."),-1)]))):(Fe(),Ve("div",hh,F[2]||(F[2]=[fe("div",{text:"neutral-700 dark:neutral-300 4xl","font-semibold":""}," Not Supported ",-1),fe("div",{"max-w":"50%",text:"neutral 2xl center"},Ot("Browser does not support video camera. Please use a supported browser."),-1)]))),fe("div",yh,[oc(fe("select",{"onUpdate:modelValue":F[0]||(F[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 <sm:xs",border:"neutral-400/40 dark:neutral-500/50 1 solid",outline:"none",shadow:"none hover:lg",transition:"all duration-300 ease-in-out","h-full":"","cursor-pointer":"","rounded-full":"",class:"px-2 sm:px-3","backdrop-blur-lg":""},[(Fe(!0),Ve(Ne,null,Sc(Me(t),q=>(Fe(),Ve("option",{key:q.deviceId,value:q.deviceId,class:"text-xs sm:text-sm","inline-block":""},Ot(q.label),9,vh))),128))],512),[[Vu,l.value]]),fe("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:F[1]||(F[1]=q=>b.value=!Me(b))},[Te(bu,{name:"fade",mode:"out-in"},{default:Oo(()=>[Me(b)?(Fe(),Ve("div",bh)):(Fe(),Ve("div",_h))]),_:1})])])])],512))}});Bu(xh).use(sh).mount("#app");