diff --git "a/assets/index-CPrmpFS4.js" "b/assets/index-CPrmpFS4.js" new file mode 100644--- /dev/null +++ "b/assets/index-CPrmpFS4.js" @@ -0,0 +1,17 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function zn(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const V={},pt=[],Ve=()=>{},gi=()=>!1,ln=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jn=e=>e.startsWith("onUpdate:"),le=Object.assign,Yn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},mi=Object.prototype.hasOwnProperty,$=(e,t)=>mi.call(e,t),M=Array.isArray,gt=e=>Lt(e)==="[object Map]",cn=e=>Lt(e)==="[object Set]",ys=e=>Lt(e)==="[object Date]",I=e=>typeof e=="function",Z=e=>typeof e=="string",$e=e=>typeof e=="symbol",G=e=>e!==null&&typeof e=="object",nr=e=>(G(e)||I(e))&&I(e.then)&&I(e.catch),sr=Object.prototype.toString,Lt=e=>sr.call(e),vi=e=>Lt(e).slice(8,-1),rr=e=>Lt(e)==="[object Object]",Xn=e=>Z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,At=zn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),un=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},bi=/-(\w)/g,Ge=un(e=>e.replace(bi,(t,n)=>n?n.toUpperCase():"")),_i=/\B([A-Z])/g,Xe=un(e=>e.replace(_i,"-$1").toLowerCase()),ir=un(e=>e.charAt(0).toUpperCase()+e.slice(1)),Tn=un(e=>e?`on${ir(e)}`:""),pe=(e,t)=>!Object.is(e,t),zt=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},lr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let xs;const fn=()=>xs||(xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vt(e){if(M(e)){const t={};for(let n=0;n{if(n){const s=n.split(xi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Zn(e){let t="";if(Z(e))t=e;else if(M(e))for(let n=0;nan(n,t))}const ur=e=>!!(e&&e.__v_isRef===!0),Ke=e=>Z(e)?e:e==null?"":M(e)||G(e)&&(e.toString===sr||!I(e.toString))?ur(e)?Ke(e.value):JSON.stringify(e,fr,2):String(e),fr=(e,t)=>ur(t)?fr(e,t.value):gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[An(s,i)+" =>"]=r,n),{})}:cn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>An(n))}:$e(t)?An(t):G(t)&&!M(t)&&!rr(t)?String(t):t,An=(e,t="")=>{var n;return $e(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 fe;class Oi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=fe,!t&&fe&&(this.index=(fe.scopes||(fe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Ot){let t=Ot;for(Ot=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Et;){let t=Et;for(Et=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 gr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function mr(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),ts(s),Mi(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Nn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(vr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function vr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===It))return;e.globalVersion=It;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Nn(e)){e.flags&=-3;return}const n=q,s=Ee;q=e,Ee=!0;try{gr(e);const r=e.fn(e._value);(t.version===0||pe(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{q=n,Ee=s,mr(e),e.flags&=-3}}function ts(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)ts(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Mi(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ee=!0;const br=[];function Ze(){br.push(Ee),Ee=!1}function Qe(){const e=br.pop();Ee=e===void 0?!0:e}function ws(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=q;q=void 0;try{t()}finally{q=n}}}let It=0;class Ri{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 dn{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(!q||!Ee||q===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==q)n=this.activeLink=new Ri(q,this),q.deps?(n.prevDep=q.depsTail,q.depsTail.nextDep=n,q.depsTail=n):q.deps=q.depsTail=n,_r(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=q.depsTail,n.nextDep=void 0,q.depsTail.nextDep=n,q.depsTail=n,q.deps===n&&(q.deps=s)}return n}trigger(t){this.version++,It++,this.notify(t)}notify(t){Qn();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{es()}}}function _r(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)_r(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ln=new WeakMap,lt=Symbol(""),Vn=Symbol(""),Dt=Symbol("");function se(e,t,n){if(Ee&&q){let s=Ln.get(e);s||Ln.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new dn),r.map=s,r.key=n),r.track()}}function We(e,t,n,s,r,i){const o=Ln.get(e);if(!o){It++;return}const l=c=>{c&&c.trigger()};if(Qn(),t==="clear")o.forEach(l);else{const c=M(e),d=c&&Xn(n);if(c&&n==="length"){const f=Number(s);o.forEach((h,b)=>{(b==="length"||b===Dt||!$e(b)&&b>=f)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),d&&l(o.get(Dt)),t){case"add":c?d&&l(o.get("length")):(l(o.get(lt)),gt(e)&&l(o.get(Vn)));break;case"delete":c||(l(o.get(lt)),gt(e)&&l(o.get(Vn)));break;case"set":gt(e)&&l(o.get(lt));break}}es()}function at(e){const t=L(e);return t===e?t:(se(t,"iterate",Dt),Se(e)?t:t.map(re))}function hn(e){return se(e=L(e),"iterate",Dt),e}const Ii={__proto__:null,[Symbol.iterator](){return On(this,Symbol.iterator,re)},concat(...e){return at(this).concat(...e.map(t=>M(t)?at(t):t))},entries(){return On(this,"entries",e=>(e[1]=re(e[1]),e))},every(e,t){return Ue(this,"every",e,t,void 0,arguments)},filter(e,t){return Ue(this,"filter",e,t,n=>n.map(re),arguments)},find(e,t){return Ue(this,"find",e,t,re,arguments)},findIndex(e,t){return Ue(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ue(this,"findLast",e,t,re,arguments)},findLastIndex(e,t){return Ue(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ue(this,"forEach",e,t,void 0,arguments)},includes(...e){return Pn(this,"includes",e)},indexOf(...e){return Pn(this,"indexOf",e)},join(e){return at(this).join(e)},lastIndexOf(...e){return Pn(this,"lastIndexOf",e)},map(e,t){return Ue(this,"map",e,t,void 0,arguments)},pop(){return St(this,"pop")},push(...e){return St(this,"push",e)},reduce(e,...t){return Ss(this,"reduce",e,t)},reduceRight(e,...t){return Ss(this,"reduceRight",e,t)},shift(){return St(this,"shift")},some(e,t){return Ue(this,"some",e,t,void 0,arguments)},splice(...e){return St(this,"splice",e)},toReversed(){return at(this).toReversed()},toSorted(e){return at(this).toSorted(e)},toSpliced(...e){return at(this).toSpliced(...e)},unshift(...e){return St(this,"unshift",e)},values(){return On(this,"values",re)}};function On(e,t,n){const s=hn(e),r=s[t]();return s!==e&&!Se(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const Di=Array.prototype;function Ue(e,t,n,s,r,i){const o=hn(e),l=o!==e&&!Se(e),c=o[t];if(c!==Di[t]){const h=c.apply(e,i);return l?re(h):h}let d=n;o!==e&&(l?d=function(h,b){return n.call(this,re(h),b,e)}:n.length>2&&(d=function(h,b){return n.call(this,h,b,e)}));const f=c.call(o,d,s);return l&&r?r(f):f}function Ss(e,t,n,s){const r=hn(e);let i=n;return r!==e&&(Se(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,re(l),c,e)}),r[t](i,...s)}function Pn(e,t,n){const s=L(e);se(s,"iterate",Dt);const r=s[t](...n);return(r===-1||r===!1)&&is(n[0])?(n[0]=L(n[0]),s[t](...n)):r}function St(e,t,n=[]){Ze(),Qn();const s=L(e)[t].apply(e,n);return es(),Qe(),s}const Fi=zn("__proto__,__v_isRef,__isVue"),yr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($e));function ji(e){$e(e)||(e=String(e));const t=L(this);return se(t,"has",e),t.hasOwnProperty(e)}class xr{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?Ki:Tr:i?Cr:Sr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=M(t);if(!r){let c;if(o&&(c=Ii[n]))return c;if(n==="hasOwnProperty")return ji}const l=Reflect.get(t,n,oe(t)?t:s);return($e(n)?yr.has(n):Fi(n))||(r||se(t,"get",n),i)?l:oe(l)?o&&Xn(n)?l:l.value:G(l)?r?Ar(l):ss(l):l}}class wr extends xr{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=ct(i);if(!Se(s)&&!ct(s)&&(i=L(i),s=L(s)),!M(t)&&oe(i)&&!oe(s))return c?!1:(i.value=s,!0)}const o=M(t)&&Xn(n)?Number(n)e,Wt=e=>Reflect.getPrototypeOf(e);function Hi(e,t,n){return function(...s){const r=this.__v_raw,i=L(r),o=gt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,d=r[e](...s),f=n?$n:t?Hn:re;return!t&&se(i,"iterate",c?Vn:lt),{next(){const{value:h,done:b}=d.next();return b?{value:h,done:b}:{value:l?[f(h[0]),f(h[1])]:f(h),done:b}},[Symbol.iterator](){return this}}}}function Bt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ui(e,t){const n={get(r){const i=this.__v_raw,o=L(i),l=L(r);e||(pe(r,l)&&se(o,"get",r),se(o,"get",l));const{has:c}=Wt(o),d=t?$n:e?Hn:re;if(c.call(o,r))return d(i.get(r));if(c.call(o,l))return d(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&se(L(r),"iterate",lt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=L(i),l=L(r);return e||(pe(r,l)&&se(o,"has",r),se(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=L(l),d=t?$n:e?Hn:re;return!e&&se(c,"iterate",lt),l.forEach((f,h)=>r.call(i,d(f),d(h),o))}};return le(n,e?{add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear")}:{add(r){!t&&!Se(r)&&!ct(r)&&(r=L(r));const i=L(this);return Wt(i).has.call(i,r)||(i.add(r),We(i,"add",r,r)),this},set(r,i){!t&&!Se(i)&&!ct(i)&&(i=L(i));const o=L(this),{has:l,get:c}=Wt(o);let d=l.call(o,r);d||(r=L(r),d=l.call(o,r));const f=c.call(o,r);return o.set(r,i),d?pe(i,f)&&We(o,"set",r,i):We(o,"add",r,i),this},delete(r){const i=L(this),{has:o,get:l}=Wt(i);let c=o.call(i,r);c||(r=L(r),c=o.call(i,r)),l&&l.call(i,r);const d=i.delete(r);return c&&We(i,"delete",r,void 0),d},clear(){const r=L(this),i=r.size!==0,o=r.clear();return i&&We(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Hi(r,e,t)}),n}function ns(e,t){const n=Ui(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get($(n,r)&&r in s?n:s,r,i)}const ki={get:ns(!1,!1)},Wi={get:ns(!1,!0)},Bi={get:ns(!0,!1)};const Sr=new WeakMap,Cr=new WeakMap,Tr=new WeakMap,Ki=new WeakMap;function qi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gi(e){return e.__v_skip||!Object.isExtensible(e)?0:qi(vi(e))}function ss(e){return ct(e)?e:rs(e,!1,Li,ki,Sr)}function zi(e){return rs(e,!1,$i,Wi,Cr)}function Ar(e){return rs(e,!0,Vi,Bi,Tr)}function rs(e,t,n,s,r){if(!G(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Gi(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function mt(e){return ct(e)?mt(e.__v_raw):!!(e&&e.__v_isReactive)}function ct(e){return!!(e&&e.__v_isReadonly)}function Se(e){return!!(e&&e.__v_isShallow)}function is(e){return e?!!e.__v_raw:!1}function L(e){const t=e&&e.__v_raw;return t?L(t):e}function Ji(e){return!$(e,"__v_skip")&&Object.isExtensible(e)&&or(e,"__v_skip",!0),e}const re=e=>G(e)?ss(e):e,Hn=e=>G(e)?Ar(e):e;function oe(e){return e?e.__v_isRef===!0:!1}function te(e){return Er(e,!1)}function _e(e){return Er(e,!0)}function Er(e,t){return oe(e)?e:new Yi(e,t)}class Yi{constructor(t,n){this.dep=new dn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:L(t),this._value=n?t:re(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Se(t)||ct(t);t=s?t:L(t),pe(t,n)&&(this._rawValue=t,this._value=s?t:re(t),this.dep.trigger())}}function Te(e){return oe(e)?e.value:e}function Ae(e){return I(e)?e():Te(e)}const Xi={get:(e,t,n)=>t==="__v_raw"?e:Te(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return oe(r)&&!oe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Or(e){return mt(e)?e:new Proxy(e,Xi)}class Zi{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new dn,{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 Qi(e){return new Zi(e)}class eo{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new dn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=It-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&q!==this)return pr(this,!0),!0}get value(){const t=this.dep.track();return vr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function to(e,t,n=!1){let s,r;return I(e)?s=e:(s=e.get,r=e.set),new eo(s,r,n)}const Kt={},Qt=new WeakMap;let it;function no(e,t=!1,n=it){if(n){let s=Qt.get(n);s||Qt.set(n,s=[]),s.push(e)}}function so(e,t,n=V){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,d=P=>r?P:Se(P)||r===!1||r===0?Be(P,1):Be(P);let f,h,b,g,T=!1,A=!1;if(oe(e)?(h=()=>e.value,T=Se(e)):mt(e)?(h=()=>d(e),T=!0):M(e)?(A=!0,T=e.some(P=>mt(P)||Se(P)),h=()=>e.map(P=>{if(oe(P))return P.value;if(mt(P))return d(P);if(I(P))return c?c(P,2):P()})):I(e)?t?h=c?()=>c(e,2):e:h=()=>{if(b){Ze();try{b()}finally{Qe()}}const P=it;it=f;try{return c?c(e,3,[g]):e(g)}finally{it=P}}:h=Ve,t&&r){const P=h,J=r===!0?1/0:r;h=()=>Be(P(),J)}const U=ar(),j=()=>{f.stop(),U&&U.active&&Yn(U.effects,f)};if(i&&t){const P=t;t=(...J)=>{P(...J),j()}}let W=A?new Array(e.length).fill(Kt):Kt;const z=P=>{if(!(!(f.flags&1)||!f.dirty&&!P))if(t){const J=f.run();if(r||T||(A?J.some((Pe,ce)=>pe(Pe,W[ce])):pe(J,W))){b&&b();const Pe=it;it=f;try{const ce=[J,W===Kt?void 0:A&&W[0]===Kt?[]:W,g];c?c(t,3,ce):t(...ce),W=J}finally{it=Pe}}}else f.run()};return l&&l(z),f=new dr(h),f.scheduler=o?()=>o(z,!1):z,g=P=>no(P,!1,f),b=f.onStop=()=>{const P=Qt.get(f);if(P){if(c)c(P,4);else for(const J of P)J();Qt.delete(f)}},t?s?z(!0):W=f.run():o?o(z.bind(null,!0),!0):f.run(),j.pause=f.pause.bind(f),j.resume=f.resume.bind(f),j.stop=j,j}function Be(e,t=1/0,n){if(t<=0||!G(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,oe(e))Be(e.value,t,n);else if(M(e))for(let s=0;s{Be(s,t,n)});else if(rr(e)){for(const s in e)Be(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Be(e[s],t,n)}return e}/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function $t(e,t,n,s){try{return s?e(...s):e()}catch(r){pn(r,t,n)}}function He(e,t,n,s){if(I(e)){const r=$t(e,t,n,s);return r&&nr(r)&&r.catch(i=>{pn(i,t,n)}),r}if(M(e)){const r=[];for(let i=0;i>>1,r=ae[s],i=Ft(r);i=Ft(n)?ae.push(e):ae.splice(io(t),0,e),e.flags|=1,Rr()}}function Rr(){en||(en=Pr.then(Dr))}function oo(e){M(e)?vt.push(...e):Je&&e.id===-1?Je.splice(ht+1,0,e):e.flags&1||(vt.push(e),e.flags|=1),Rr()}function Cs(e,t,n=Ne+1){for(;nFt(n)-Ft(s));if(vt.length=0,Je){Je.push(...t);return}for(Je=t,ht=0;hte.id==null?e.flags&2?-1:1/0:e.id;function Dr(e){try{for(Ne=0;Ne{s._d&&Ds(-1);const i=tn(t);let o;try{o=e(...r)}finally{tn(i),s._d&&Ds(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function jr(e,t){if(ye===null)return e;const n=yn(ye),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport;function ls(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ls(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function gn(e,t){return I(e)?le({name:e.name},t,{setup:e}):e}function Nr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function nn(e,t,n,s,r=!1){if(M(e)){e.forEach((T,A)=>nn(T,t&&(M(t)?t[A]:t),n,s,r));return}if(Pt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&nn(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?yn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,d=t&&t.r,f=l.refs===V?l.refs={}:l.refs,h=l.setupState,b=L(h),g=h===V?()=>!1:T=>$(b,T);if(d!=null&&d!==c&&(Z(d)?(f[d]=null,g(d)&&(h[d]=null)):oe(d)&&(d.value=null)),I(c))$t(c,l,12,[o,f]);else{const T=Z(c),A=oe(c);if(T||A){const U=()=>{if(e.f){const j=T?g(c)?h[c]:f[c]:c.value;r?M(j)&&Yn(j,i):M(j)?j.includes(i)||j.push(i):T?(f[c]=[i],g(c)&&(h[c]=f[c])):(c.value=[i],e.k&&(f[e.k]=c.value))}else T?(f[c]=o,g(c)&&(h[c]=o)):A&&(c.value=o,e.k&&(f[e.k]=o))};o?(U.id=-1,ve(U,n)):U()}}}fn().requestIdleCallback;fn().cancelIdleCallback;const Pt=e=>!!e.type.__asyncLoader,Lr=e=>e.type.__isKeepAlive;function fo(e,t){Vr(e,"a",t)}function ao(e,t){Vr(e,"da",t)}function Vr(e,t,n=ie){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(mn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Lr(r.parent.vnode)&&ho(s,t,n,r),r=r.parent}}function ho(e,t,n,s){const r=mn(t,e,s,!0);us(()=>{Yn(s[t],r)},n)}function mn(e,t,n=ie,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ze();const l=Ht(n),c=He(t,n,e,o);return l(),Qe(),c});return s?r.unshift(i):r.push(i),i}}const ze=e=>(t,n=ie)=>{(!Nt||e==="sp")&&mn(e,(...s)=>t(...s),n)},po=ze("bm"),cs=ze("m"),go=ze("bu"),mo=ze("u"),vo=ze("bum"),us=ze("um"),bo=ze("sp"),_o=ze("rtg"),yo=ze("rtc");function xo(e,t=ie){mn("ec",e,t)}const wo=Symbol.for("v-ndc");function Un(e,t,n,s){let r;const i=n,o=M(e);if(o||Z(e)){const l=o&&mt(e);let c=!1;l&&(c=!Se(e),e=hn(e)),r=new Array(e.length);for(let d=0,f=e.length;dt(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,d=l.length;ce?ci(e)?yn(e):kn(e.parent):null,Mt=le(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=>kn(e.parent),$root:e=>kn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Hr(e),$forceUpdate:e=>e.f||(e.f=()=>{os(e.update)}),$nextTick:e=>e.n||(e.n=Mr.bind(e.proxy)),$watch:e=>qo.bind(e)}),Mn=(e,t)=>e!==V&&!e.__isScriptSetup&&$(e,t),So={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let d;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(Mn(s,t))return o[t]=1,s[t];if(r!==V&&$(r,t))return o[t]=2,r[t];if((d=e.propsOptions[0])&&$(d,t))return o[t]=3,i[t];if(n!==V&&$(n,t))return o[t]=4,n[t];Wn&&(o[t]=0)}}const f=Mt[t];let h,b;if(f)return t==="$attrs"&&se(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==V&&$(n,t))return o[t]=4,n[t];if(b=c.config.globalProperties,$(b,t))return b[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Mn(r,t)?(r[t]=n,!0):s!==V&&$(s,t)?(s[t]=n,!0):$(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!==V&&$(e,o)||Mn(t,o)||(l=i[0])&&$(l,o)||$(s,o)||$(Mt,o)||$(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ts(e){return M(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Wn=!0;function Co(e){const t=Hr(e),n=e.proxy,s=e.ctx;Wn=!1,t.beforeCreate&&As(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:d,created:f,beforeMount:h,mounted:b,beforeUpdate:g,updated:T,activated:A,deactivated:U,beforeDestroy:j,beforeUnmount:W,destroyed:z,unmounted:P,render:J,renderTracked:Pe,renderTriggered:ce,errorCaptured:Me,serverPrefetch:ft,expose:N,inheritAttrs:D,components:Y,directives:de,filters:et}=t;if(d&&To(d,s,null),o)for(const X in o){const B=o[X];I(B)&&(s[X]=B.bind(n))}if(r){const X=r.call(n,n);G(X)&&(e.data=ss(X))}if(Wn=!0,i)for(const X in i){const B=i[X],tt=I(B)?B.bind(n,n):I(B.get)?B.get.bind(n,n):Ve,Ut=!I(B)&&I(B.set)?B.set.bind(n):Ve,nt=qe({get:tt,set:Ut});Object.defineProperty(s,X,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Re=>nt.value=Re})}if(l)for(const X in l)$r(l[X],s,n,X);if(c){const X=I(c)?c.call(n):c;Reflect.ownKeys(X).forEach(B=>{Ro(B,X[B])})}f&&As(f,e,"c");function ee(X,B){M(B)?B.forEach(tt=>X(tt.bind(n))):B&&X(B.bind(n))}if(ee(po,h),ee(cs,b),ee(go,g),ee(mo,T),ee(fo,A),ee(ao,U),ee(xo,Me),ee(yo,Pe),ee(_o,ce),ee(vo,W),ee(us,P),ee(bo,ft),M(N))if(N.length){const X=e.exposed||(e.exposed={});N.forEach(B=>{Object.defineProperty(X,B,{get:()=>n[B],set:tt=>n[B]=tt})})}else e.exposed||(e.exposed={});J&&e.render===Ve&&(e.render=J),D!=null&&(e.inheritAttrs=D),Y&&(e.components=Y),de&&(e.directives=de),ft&&Nr(e)}function To(e,t,n=Ve){M(e)&&(e=Bn(e));for(const s in e){const r=e[s];let i;G(r)?"default"in r?i=Jt(r.from||s,r.default,!0):i=Jt(r.from||s):i=Jt(r),oe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function As(e,t,n){He(M(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function $r(e,t,n,s){let r=s.includes(".")?Qr(n,s):()=>n[s];if(Z(e)){const i=t[e];I(i)&&we(r,i)}else if(I(e))we(r,e.bind(n));else if(G(e))if(M(e))e.forEach(i=>$r(i,t,n,s));else{const i=I(e.handler)?e.handler.bind(n):t[e.handler];I(i)&&we(r,i,e)}}function Hr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(d=>sn(c,d,o,!0)),sn(c,t,o)),G(t)&&i.set(t,c),c}function sn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&sn(e,i,n,!0),r&&r.forEach(o=>sn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Ao[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ao={data:Es,props:Os,emits:Os,methods:Tt,computed:Tt,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Tt,directives:Tt,watch:Oo,provide:Es,inject:Eo};function Es(e,t){return t?e?function(){return le(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function Eo(e,t){return Tt(Bn(e),Bn(t))}function Bn(e){if(M(e)){const t={};for(let n=0;n1)return n&&I(t)?t.call(s&&s.proxy):t}}const kr={},Wr=()=>Object.create(kr),Br=e=>Object.getPrototypeOf(e)===kr;function Io(e,t,n,s=!1){const r={},i=Wr();e.propsDefaults=Object.create(null),Kr(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:zi(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Do(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=L(r),[c]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[b,g]=qr(h,t,!0);le(o,b),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return G(e)&&s.set(e,pt),pt;if(M(i))for(let f=0;fe[0]==="_"||e==="$stable",fs=e=>M(e)?e.map(Le):[Le(e)],jo=(e,t,n)=>{if(t._n)return t;const s=lo((...r)=>fs(t(...r)),n);return s._c=!1,s},zr=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Gr(r))continue;const i=e[r];if(I(i))t[r]=jo(r,i,s);else if(i!=null){const o=fs(i);t[r]=()=>o}}},Jr=(e,t)=>{const n=fs(t);e.slots.default=()=>n},Yr=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},No=(e,t,n)=>{const s=e.slots=Wr();if(e.vnode.shapeFlag&32){const r=t._;r?(Yr(s,t,n),n&&or(s,"_",r,!0)):zr(t,s)}else t&&Jr(e,t)},Lo=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=V;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Yr(r,t,n):(i=!t.$stable,zr(t,r)),o=t}else t&&(Jr(e,t),o={default:1});if(i)for(const l in r)!Gr(l)&&o[l]==null&&delete r[l]},ve=Qo;function Vo(e){return $o(e)}function $o(e,t){const n=fn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:d,setElementText:f,parentNode:h,nextSibling:b,setScopeId:g=Ve,insertStaticContent:T}=e,A=(u,a,p,_=null,m=null,v=null,S=void 0,w=null,x=!!a.dynamicChildren)=>{if(u===a)return;u&&!Ct(u,a)&&(_=kt(u),Re(u,m,v,!0),u=null),a.patchFlag===-2&&(x=!1,a.dynamicChildren=null);const{type:y,ref:O,shapeFlag:C}=a;switch(y){case _n:U(u,a,p,_);break;case ut:j(u,a,p,_);break;case In:u==null&&W(a,p,_,S);break;case be:Y(u,a,p,_,m,v,S,w,x);break;default:C&1?J(u,a,p,_,m,v,S,w,x):C&6?de(u,a,p,_,m,v,S,w,x):(C&64||C&128)&&y.process(u,a,p,_,m,v,S,w,x,xt)}O!=null&&m&&nn(O,u&&u.ref,v,a||u,!a)},U=(u,a,p,_)=>{if(u==null)s(a.el=l(a.children),p,_);else{const m=a.el=u.el;a.children!==u.children&&d(m,a.children)}},j=(u,a,p,_)=>{u==null?s(a.el=c(a.children||""),p,_):a.el=u.el},W=(u,a,p,_)=>{[u.el,u.anchor]=T(u.children,a,p,_,u.el,u.anchor)},z=({el:u,anchor:a},p,_)=>{let m;for(;u&&u!==a;)m=b(u),s(u,p,_),u=m;s(a,p,_)},P=({el:u,anchor:a})=>{let p;for(;u&&u!==a;)p=b(u),r(u),u=p;r(a)},J=(u,a,p,_,m,v,S,w,x)=>{a.type==="svg"?S="svg":a.type==="math"&&(S="mathml"),u==null?Pe(a,p,_,m,v,S,w,x):ft(u,a,m,v,S,w,x)},Pe=(u,a,p,_,m,v,S,w)=>{let x,y;const{props:O,shapeFlag:C,transition:E,dirs:R}=u;if(x=u.el=o(u.type,v,O&&O.is,O),C&8?f(x,u.children):C&16&&Me(u.children,x,null,_,m,Rn(u,v),S,w),R&&st(u,null,_,"created"),ce(x,u,u.scopeId,S,_),O){for(const K in O)K!=="value"&&!At(K)&&i(x,K,null,O[K],v,_);"value"in O&&i(x,"value",null,O.value,v),(y=O.onVnodeBeforeMount)&&je(y,_,u)}R&&st(u,null,_,"beforeMount");const F=Ho(m,E);F&&E.beforeEnter(x),s(x,a,p),((y=O&&O.onVnodeMounted)||F||R)&&ve(()=>{y&&je(y,_,u),F&&E.enter(x),R&&st(u,null,_,"mounted")},m)},ce=(u,a,p,_,m)=>{if(p&&g(u,p),_)for(let v=0;v<_.length;v++)g(u,_[v]);if(m){let v=m.subTree;if(a===v||ni(v.type)&&(v.ssContent===a||v.ssFallback===a)){const S=m.vnode;ce(u,S,S.scopeId,S.slotScopeIds,m.parent)}}},Me=(u,a,p,_,m,v,S,w,x=0)=>{for(let y=x;y{const w=a.el=u.el;let{patchFlag:x,dynamicChildren:y,dirs:O}=a;x|=u.patchFlag&16;const C=u.props||V,E=a.props||V;let R;if(p&&rt(p,!1),(R=E.onVnodeBeforeUpdate)&&je(R,p,a,u),O&&st(a,u,p,"beforeUpdate"),p&&rt(p,!0),(C.innerHTML&&E.innerHTML==null||C.textContent&&E.textContent==null)&&f(w,""),y?N(u.dynamicChildren,y,w,p,_,Rn(a,m),v):S||B(u,a,w,null,p,_,Rn(a,m),v,!1),x>0){if(x&16)D(w,C,E,p,m);else if(x&2&&C.class!==E.class&&i(w,"class",null,E.class,m),x&4&&i(w,"style",C.style,E.style,m),x&8){const F=a.dynamicProps;for(let K=0;K{R&&je(R,p,a,u),O&&st(a,u,p,"updated")},_)},N=(u,a,p,_,m,v,S)=>{for(let w=0;w{if(a!==p){if(a!==V)for(const v in a)!At(v)&&!(v in p)&&i(u,v,a[v],null,m,_);for(const v in p){if(At(v))continue;const S=p[v],w=a[v];S!==w&&v!=="value"&&i(u,v,w,S,m,_)}"value"in p&&i(u,"value",a.value,p.value,m)}},Y=(u,a,p,_,m,v,S,w,x)=>{const y=a.el=u?u.el:l(""),O=a.anchor=u?u.anchor:l("");let{patchFlag:C,dynamicChildren:E,slotScopeIds:R}=a;R&&(w=w?w.concat(R):R),u==null?(s(y,p,_),s(O,p,_),Me(a.children||[],p,O,m,v,S,w,x)):C>0&&C&64&&E&&u.dynamicChildren?(N(u.dynamicChildren,E,p,m,v,S,w),(a.key!=null||m&&a===m.subTree)&&Xr(u,a,!0)):B(u,a,p,O,m,v,S,w,x)},de=(u,a,p,_,m,v,S,w,x)=>{a.slotScopeIds=w,u==null?a.shapeFlag&512?m.ctx.activate(a,p,_,S,x):et(a,p,_,m,v,S,x):Ce(u,a,x)},et=(u,a,p,_,m,v,S)=>{const w=u.component=ol(u,_,m);if(Lr(u)&&(w.ctx.renderer=xt),ll(w,!1,S),w.asyncDep){if(m&&m.registerDep(w,ee,S),!u.el){const x=w.subTree=Oe(ut);j(null,x,a,p)}}else ee(w,u,a,p,m,v,S)},Ce=(u,a,p)=>{const _=a.component=u.component;if(Xo(u,a,p))if(_.asyncDep&&!_.asyncResolved){X(_,a,p);return}else _.next=a,_.update();else a.el=u.el,_.vnode=a},ee=(u,a,p,_,m,v,S)=>{const w=()=>{if(u.isMounted){let{next:C,bu:E,u:R,parent:F,vnode:K}=u;{const De=Zr(u);if(De){C&&(C.el=K.el,X(u,C,S)),De.asyncDep.then(()=>{u.isUnmounted||w()});return}}let H=C,ge;rt(u,!1),C?(C.el=K.el,X(u,C,S)):C=K,E&&zt(E),(ge=C.props&&C.props.onVnodeBeforeUpdate)&&je(ge,F,C,K),rt(u,!0);const he=Rs(u),Ie=u.subTree;u.subTree=he,A(Ie,he,h(Ie.el),kt(Ie),u,m,v),C.el=he.el,H===null&&Zo(u,he.el),R&&ve(R,m),(ge=C.props&&C.props.onVnodeUpdated)&&ve(()=>je(ge,F,C,K),m)}else{let C;const{el:E,props:R}=a,{bm:F,m:K,parent:H,root:ge,type:he}=u,Ie=Pt(a);rt(u,!1),F&&zt(F),!Ie&&(C=R&&R.onVnodeBeforeMount)&&je(C,H,a),rt(u,!0);{ge.ce&&ge.ce._injectChildStyle(he);const De=u.subTree=Rs(u);A(null,De,p,_,u,m,v),a.el=De.el}if(K&&ve(K,m),!Ie&&(C=R&&R.onVnodeMounted)){const De=a;ve(()=>je(C,H,De),m)}(a.shapeFlag&256||H&&Pt(H.vnode)&&H.vnode.shapeFlag&256)&&u.a&&ve(u.a,m),u.isMounted=!0,a=p=_=null}};u.scope.on();const x=u.effect=new dr(w);u.scope.off();const y=u.update=x.run.bind(x),O=u.job=x.runIfDirty.bind(x);O.i=u,O.id=u.uid,x.scheduler=()=>os(O),rt(u,!0),y()},X=(u,a,p)=>{a.component=u;const _=u.vnode.props;u.vnode=a,u.next=null,Do(u,a.props,_,p),Lo(u,a.children,p),Ze(),Cs(u),Qe()},B=(u,a,p,_,m,v,S,w,x=!1)=>{const y=u&&u.children,O=u?u.shapeFlag:0,C=a.children,{patchFlag:E,shapeFlag:R}=a;if(E>0){if(E&128){Ut(y,C,p,_,m,v,S,w,x);return}else if(E&256){tt(y,C,p,_,m,v,S,w,x);return}}R&8?(O&16&&yt(y,m,v),C!==y&&f(p,C)):O&16?R&16?Ut(y,C,p,_,m,v,S,w,x):yt(y,m,v,!0):(O&8&&f(p,""),R&16&&Me(C,p,_,m,v,S,w,x))},tt=(u,a,p,_,m,v,S,w,x)=>{u=u||pt,a=a||pt;const y=u.length,O=a.length,C=Math.min(y,O);let E;for(E=0;EO?yt(u,m,v,!0,!1,C):Me(a,p,_,m,v,S,w,x,C)},Ut=(u,a,p,_,m,v,S,w,x)=>{let y=0;const O=a.length;let C=u.length-1,E=O-1;for(;y<=C&&y<=E;){const R=u[y],F=a[y]=x?Ye(a[y]):Le(a[y]);if(Ct(R,F))A(R,F,p,null,m,v,S,w,x);else break;y++}for(;y<=C&&y<=E;){const R=u[C],F=a[E]=x?Ye(a[E]):Le(a[E]);if(Ct(R,F))A(R,F,p,null,m,v,S,w,x);else break;C--,E--}if(y>C){if(y<=E){const R=E+1,F=RE)for(;y<=C;)Re(u[y],m,v,!0),y++;else{const R=y,F=y,K=new Map;for(y=F;y<=E;y++){const me=a[y]=x?Ye(a[y]):Le(a[y]);me.key!=null&&K.set(me.key,y)}let H,ge=0;const he=E-F+1;let Ie=!1,De=0;const wt=new Array(he);for(y=0;y=he){Re(me,m,v,!0);continue}let Fe;if(me.key!=null)Fe=K.get(me.key);else for(H=F;H<=E;H++)if(wt[H-F]===0&&Ct(me,a[H])){Fe=H;break}Fe===void 0?Re(me,m,v,!0):(wt[Fe-F]=y+1,Fe>=De?De=Fe:Ie=!0,A(me,a[Fe],p,null,m,v,S,w,x),ge++)}const bs=Ie?Uo(wt):pt;for(H=bs.length-1,y=he-1;y>=0;y--){const me=F+y,Fe=a[me],_s=me+1{const{el:v,type:S,transition:w,children:x,shapeFlag:y}=u;if(y&6){nt(u.component.subTree,a,p,_);return}if(y&128){u.suspense.move(a,p,_);return}if(y&64){S.move(u,a,p,xt);return}if(S===be){s(v,a,p);for(let C=0;Cw.enter(v),m);else{const{leave:C,delayLeave:E,afterLeave:R}=w,F=()=>s(v,a,p),K=()=>{C(v,()=>{F(),R&&R()})};E?E(v,F,K):K()}else s(v,a,p)},Re=(u,a,p,_=!1,m=!1)=>{const{type:v,props:S,ref:w,children:x,dynamicChildren:y,shapeFlag:O,patchFlag:C,dirs:E,cacheIndex:R}=u;if(C===-2&&(m=!1),w!=null&&nn(w,null,p,u,!0),R!=null&&(a.renderCache[R]=void 0),O&256){a.ctx.deactivate(u);return}const F=O&1&&E,K=!Pt(u);let H;if(K&&(H=S&&S.onVnodeBeforeUnmount)&&je(H,a,u),O&6)pi(u.component,p,_);else{if(O&128){u.suspense.unmount(p,_);return}F&&st(u,null,a,"beforeUnmount"),O&64?u.type.remove(u,a,p,xt,_):y&&!y.hasOnce&&(v!==be||C>0&&C&64)?yt(y,a,p,!1,!0):(v===be&&C&384||!m&&O&16)&&yt(x,a,p),_&&ms(u)}(K&&(H=S&&S.onVnodeUnmounted)||F)&&ve(()=>{H&&je(H,a,u),F&&st(u,null,a,"unmounted")},p)},ms=u=>{const{type:a,el:p,anchor:_,transition:m}=u;if(a===be){hi(p,_);return}if(a===In){P(u);return}const v=()=>{r(p),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(u.shapeFlag&1&&m&&!m.persisted){const{leave:S,delayLeave:w}=m,x=()=>S(p,v);w?w(u.el,v,x):x()}else v()},hi=(u,a)=>{let p;for(;u!==a;)p=b(u),r(u),u=p;r(a)},pi=(u,a,p)=>{const{bum:_,scope:m,job:v,subTree:S,um:w,m:x,a:y}=u;Ms(x),Ms(y),_&&zt(_),m.stop(),v&&(v.flags|=8,Re(S,u,a,p)),w&&ve(w,a),ve(()=>{u.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},yt=(u,a,p,_=!1,m=!1,v=0)=>{for(let S=v;S{if(u.shapeFlag&6)return kt(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const a=b(u.anchor||u.el),p=a&&a[co];return p?b(p):a};let Cn=!1;const vs=(u,a,p)=>{u==null?a._vnode&&Re(a._vnode,null,null,!0):A(a._vnode||null,u,a,null,null,null,p),a._vnode=u,Cn||(Cn=!0,Cs(),Ir(),Cn=!1)},xt={p:A,um:Re,m:nt,r:ms,mt:et,mc:Me,pc:B,pbc:N,n:kt,o:e};return{render:vs,hydrate:void 0,createApp:Mo(vs)}}function Rn({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 rt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ho(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Xr(e,t,n=!1){const s=e.children,r=t.children;if(M(s)&&M(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Zr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Zr(t)}function Ms(e){if(e)for(let t=0;tJt(ko);function Bo(e,t){return vn(e,null,t)}function Ko(e,t){return vn(e,null,{flush:"sync"})}function we(e,t,n){return vn(e,t,n)}function vn(e,t,n=V){const{immediate:s,deep:r,flush:i,once:o}=n,l=le({},n),c=t&&s||!t&&i!=="post";let d;if(Nt){if(i==="sync"){const g=Wo();d=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=Ve,g.resume=Ve,g.pause=Ve,g}}const f=ie;l.call=(g,T,A)=>He(g,f,T,A);let h=!1;i==="post"?l.scheduler=g=>{ve(g,f&&f.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(g,T)=>{T?g():os(g)}),l.augmentJob=g=>{t&&(g.flags|=4),h&&(g.flags|=2,f&&(g.id=f.uid,g.i=f))};const b=so(e,t,l);return Nt&&(d?d.push(b):c&&b()),b}function qo(e,t,n){const s=this.proxy,r=Z(e)?e.includes(".")?Qr(s,e):()=>s[e]:e.bind(s,s);let i;I(t)?i=t:(i=t.handler,n=t);const o=Ht(this),l=vn(r,i.bind(s),n);return o(),l}function Qr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{let f,h=V,b;return Ko(()=>{const g=e[r];pe(f,g)&&(f=g,d())}),{get(){return c(),n.get?n.get(f):f},set(g){const T=n.set?n.set(g):g;if(!pe(T,f)&&!(h!==V&&pe(g,h)))return;const A=s.vnode.props;A&&(t in A||r in A||i in A)&&(`onUpdate:${t}`in A||`onUpdate:${r}`in A||`onUpdate:${i}`in A)||(f=g,d()),s.emit(`update:${t}`,T),pe(g,T)&&pe(g,h)&&!pe(T,b)&&d(),h=g,b=T}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||V:l,done:!1}:{done:!0}}}},l}const ei=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ge(t)}Modifiers`]||e[`${Xe(t)}Modifiers`];function zo(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||V;let r=n;const i=t.startsWith("update:"),o=i&&ei(s,t.slice(7));o&&(o.trim&&(r=n.map(f=>Z(f)?f.trim():f)),o.number&&(r=n.map(lr)));let l,c=s[l=Tn(t)]||s[l=Tn(Ge(t))];!c&&i&&(c=s[l=Tn(Xe(t))]),c&&He(c,e,6,r);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,He(d,e,6,r)}}function ti(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(!I(e)){const c=d=>{const f=ti(d,t,!0);f&&(l=!0,le(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(G(e)&&s.set(e,null),null):(M(i)?i.forEach(c=>o[c]=null):le(o,i),G(e)&&s.set(e,o),o)}function bn(e,t){return!e||!ln(t)?!1:(t=t.slice(2).replace(/Once$/,""),$(e,t[0].toLowerCase()+t.slice(1))||$(e,Xe(t))||$(e,t))}function Rs(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:d,renderCache:f,props:h,data:b,setupState:g,ctx:T,inheritAttrs:A}=e,U=tn(e);let j,W;try{if(n.shapeFlag&4){const P=r||s,J=P;j=Le(d.call(J,P,f,h,g,b,T)),W=l}else{const P=t;j=Le(P.length>1?P(h,{attrs:l,slots:o,emit:c}):P(h,null)),W=t.props?l:Jo(l)}}catch(P){Rt.length=0,pn(P,e,1),j=Oe(ut)}let z=j;if(W&&A!==!1){const P=Object.keys(W),{shapeFlag:J}=z;P.length&&J&7&&(i&&P.some(Jn)&&(W=Yo(W,i)),z=_t(z,W,!1,!0))}return n.dirs&&(z=_t(z,null,!1,!0),z.dirs=z.dirs?z.dirs.concat(n.dirs):n.dirs),n.transition&&ls(z,n.transition),j=z,tn(U),j}const Jo=e=>{let t;for(const n in e)(n==="class"||n==="style"||ln(n))&&((t||(t={}))[n]=e[n]);return t},Yo=(e,t)=>{const n={};for(const s in e)(!Jn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Xo(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Is(s,o,d):!!o;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function Qo(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):oo(e)}const be=Symbol.for("v-fgt"),_n=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),In=Symbol.for("v-stc"),Rt=[];let xe=null;function Q(e=!1){Rt.push(xe=e?null:[])}function el(){Rt.pop(),xe=Rt[Rt.length-1]||null}let jt=1;function Ds(e,t=!1){jt+=e,e<0&&xe&&t&&(xe.hasOnce=!0)}function si(e){return e.dynamicChildren=jt>0?xe||pt:null,el(),jt>0&&xe&&xe.push(e),e}function ne(e,t,n,s,r,i){return si(k(e,t,n,s,r,i,!0))}function ri(e,t,n,s,r){return si(Oe(e,t,n,s,r,!0))}function ii(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const oi=({key:e})=>e??null,Yt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Z(e)||oe(e)||I(e)?{i:ye,r:e,k:t,f:!!n}:e:null);function k(e,t=null,n=null,s=0,r=null,i=e===be?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&oi(t),ref:t&&Yt(t),scopeId:Fr,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:ye};return l?(as(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=Z(n)?8:16),jt>0&&!o&&xe&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&xe.push(c),c}const Oe=tl;function tl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===wo)&&(e=ut),ii(e)){const l=_t(e,t,!0);return n&&as(l,n),jt>0&&!i&&xe&&(l.shapeFlag&6?xe[xe.indexOf(e)]=l:xe.push(l)),l.patchFlag=-2,l}if(al(e)&&(e=e.__vccOpts),t){t=nl(t);let{class:l,style:c}=t;l&&!Z(l)&&(t.class=Zn(l)),G(c)&&(is(c)&&!M(c)&&(c=le({},c)),t.style=Vt(c))}const o=Z(e)?1:ni(e)?128:uo(e)?64:G(e)?4:I(e)?2:0;return k(e,t,n,s,r,o,i,!0)}function nl(e){return e?is(e)||Br(e)?le({},e):e:null}function _t(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,d=t?sl(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&oi(d),ref:t&&t.ref?n&&i?M(i)?i.concat(Yt(t)):[i,Yt(t)]:Yt(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!==be?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&ls(f,c.clone(f)),f}function ot(e=" ",t=0){return Oe(_n,null,e,t)}function dt(e="",t=!1){return t?(Q(),ri(ut,null,e)):Oe(ut,null,e)}function Le(e){return e==null||typeof e=="boolean"?Oe(ut):M(e)?Oe(be,null,e.slice()):ii(e)?Ye(e):Oe(_n,null,String(e))}function Ye(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function as(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(M(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),as(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Br(t)?t._ctx=ye:r===3&&ye&&(ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else I(t)?(t={default:t,_ctx:ye},n=32):(t=String(t),s&64?(n=16,t=[ot(t)]):n=8);e.children=t,e.shapeFlag|=n}function sl(...e){const t={};for(let n=0;nie||ye;let rn,qn;{const e=fn(),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)}};rn=t("__VUE_INSTANCE_SETTERS__",n=>ie=n),qn=t("__VUE_SSR_SETTERS__",n=>Nt=n)}const Ht=e=>{const t=ie;return rn(e),e.scope.on(),()=>{e.scope.off(),rn(t)}},Fs=()=>{ie&&ie.scope.off(),rn(null)};function ci(e){return e.vnode.shapeFlag&4}let Nt=!1;function ll(e,t=!1,n=!1){t&&qn(t);const{props:s,children:r}=e.vnode,i=ci(e);Io(e,s,i,t),No(e,r,n);const o=i?cl(e,t):void 0;return t&&qn(!1),o}function cl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,So);const{setup:s}=n;if(s){Ze();const r=e.setupContext=s.length>1?fl(e):null,i=Ht(e),o=$t(s,e,0,[e.props,r]),l=nr(o);if(Qe(),i(),(l||e.sp)&&!Pt(e)&&Nr(e),l){if(o.then(Fs,Fs),t)return o.then(c=>{js(e,c)}).catch(c=>{pn(c,e,0)});e.asyncDep=o}else js(e,o)}else ui(e)}function js(e,t,n){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:G(t)&&(e.setupState=Or(t)),ui(e)}function ui(e,t,n){const s=e.type;e.render||(e.render=s.render||Ve);{const r=Ht(e);Ze();try{Co(e)}finally{Qe(),r()}}}const ul={get(e,t){return se(e,"get",""),e[t]}};function fl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ul),slots:e.slots,emit:e.emit,expose:t}}function yn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Or(Ji(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Mt)return Mt[n](e)},has(t,n){return n in t||n in Mt}})):e.proxy}function al(e){return I(e)&&"__vccOpts"in e}const qe=(e,t)=>to(e,t,Nt),dl="3.5.13";/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Gn;const Ns=typeof window<"u"&&window.trustedTypes;if(Ns)try{Gn=Ns.createPolicy("vue",{createHTML:e=>e})}catch{}const fi=Gn?e=>Gn.createHTML(e):e=>e,hl="http://www.w3.org/2000/svg",pl="http://www.w3.org/1998/Math/MathML",ke=typeof document<"u"?document:null,Ls=ke&&ke.createElement("template"),gl={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"?ke.createElementNS(hl,e):t==="mathml"?ke.createElementNS(pl,e):n?ke.createElement(e,{is:n}):ke.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ke.createTextNode(e),createComment:e=>ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ke.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{Ls.innerHTML=fi(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Ls.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ml=Symbol("_vtc");function vl(e,t,n){const s=e[ml];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Vs=Symbol("_vod"),bl=Symbol("_vsh"),_l=Symbol(""),yl=/(^|;)\s*display\s*:/;function xl(e,t,n){const s=e.style,r=Z(n);let i=!1;if(n&&!r){if(t)if(Z(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Xt(s,l,"")}else for(const o in t)n[o]==null&&Xt(s,o,"");for(const o in n)o==="display"&&(i=!0),Xt(s,o,n[o])}else if(r){if(t!==n){const o=s[_l];o&&(n+=";"+o),s.cssText=n,i=yl.test(n)}}else t&&e.removeAttribute("style");Vs in e&&(e[Vs]=i?s.display:"",e[bl]&&(s.display="none"))}const $s=/\s*!important$/;function Xt(e,t,n){if(M(n))n.forEach(s=>Xt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=wl(e,t);$s.test(n)?e.setProperty(Xe(s),n.replace($s,""),"important"):e[s]=n}}const Hs=["Webkit","Moz","ms"],Dn={};function wl(e,t){const n=Dn[t];if(n)return n;let s=Ge(t);if(s!=="filter"&&s in e)return Dn[t]=s;s=ir(s);for(let r=0;rFn||(Al.then(()=>Fn=0),Fn=Date.now());function Ol(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;He(Pl(s,n.value),t,5,[s])};return n.value=e,n.attached=El(),n}function Pl(e,t){if(M(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 qs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ml=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?vl(e,s,o):t==="style"?xl(e,n,s):ln(t)?Jn(t)||Cl(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Rl(e,t,s,o))?(Ws(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ks(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Z(s))?Ws(e,Ge(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ks(e,t,s,o))};function Rl(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&qs(t)&&I(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 qs(t)&&Z(n)?!1:t in e}const Gs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return M(t)?n=>zt(t,n):t},jn=Symbol("_assign"),di={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=cn(t);ai(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?lr(on(o)):on(o));e[jn](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,Mr(()=>{e._assigning=!1})}),e[jn]=Gs(s)},mounted(e,{value:t}){zs(e,t)},beforeUpdate(e,t,n){e[jn]=Gs(n)},updated(e,{value:t}){e._assigning||zs(e,t)}};function zs(e,t){const n=e.multiple,s=M(t);if(!(n&&!s&&!cn(t))){for(let r=0,i=e.options.length;rString(d)===String(l)):o.selected=Ei(t,l)>-1}else o.selected=t.has(l);else if(an(on(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function on(e){return"_value"in e?e._value:e.value}const Il=le({patchProp:Ml},gl);let Js;function Dl(){return Js||(Js=Vo(Il))}const Fl=(...e)=>{const t=Dl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Nl(s);if(!r)return;const i=t._component;!I(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,jl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function jl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Nl(e){return Z(e)?document.querySelector(e):e}const Ll="/logo.png";function xn(e){return ar()?(Pi(e),!0):!1}const ds=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Vl=e=>e!=null,$l=Object.prototype.toString,Hl=e=>$l.call(e)==="[object Object]",Ys=()=>{};function Ul(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}function kl(e,t={}){let n,s,r=Ys;const i=c=>{clearTimeout(c),r(),r=Ys};let o;return c=>{const d=Ae(e),f=Ae(t.maxWait);return n&&i(n),d<=0||f!==void 0&&f<=0?(s&&(i(s),s=null),Promise.resolve(c())):new Promise((h,b)=>{r=t.rejectOnCancel?b:h,o=c,f&&!s&&(s=setTimeout(()=>{n&&i(n),s=null,h(o())},f)),n=setTimeout(()=>{s&&i(s),s=null,h(c())},d)})}}function Wl(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 Zt(e){return Array.isArray(e)?e:[e]}function Bl(e,t=200,n={}){return Ul(kl(t,n),e)}function Kl(e,t,n){return we(e,t,{...n,immediate:!0})}const wn=ds?window:void 0,hs=ds?window.navigator:void 0;function ps(e){var t;const n=Ae(e);return(t=n==null?void 0:n.$el)!=null?t:n}function gs(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},s=(l,c,d,f)=>(l.addEventListener(c,d,f),()=>l.removeEventListener(c,d,f)),r=qe(()=>{const l=Zt(Ae(e[0])).filter(c=>c!=null);return l.every(c=>typeof c!="string")?l:void 0}),i=Kl(()=>{var l,c;return[(c=(l=r.value)==null?void 0:l.map(d=>ps(d)))!=null?c:[wn].filter(d=>d!=null),Zt(Ae(r.value?e[1]:e[0])),Zt(Te(r.value?e[2]:e[1])),Ae(r.value?e[3]:e[2])]},([l,c,d,f])=>{if(n(),!(l!=null&&l.length)||!(c!=null&&c.length)||!(d!=null&&d.length))return;const h=Hl(f)?{...f}:f;t.push(...l.flatMap(b=>c.flatMap(g=>d.map(T=>s(b,g,T,h)))))},{flush:"post"}),o=()=>{i(),n()};return xn(n),o}function ql(){const e=_e(!1),t=li();return t&&cs(()=>{e.value=!0},t),e}function Sn(e){const t=ql();return qe(()=>(t.value,!!e()))}function Gl(e,t,n={}){const{window:s=wn,...r}=n;let i;const o=Sn(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},c=qe(()=>{const b=Ae(e),g=Zt(b).map(ps).filter(Vl);return new Set(g)}),d=we(()=>c.value,b=>{l(),o.value&&b.size&&(i=new MutationObserver(t),b.forEach(g=>i.observe(g,r)))},{immediate:!0,flush:"post"}),f=()=>i==null?void 0:i.takeRecords(),h=()=>{d(),l()};return xn(h),{isSupported:o,stop:h,takeRecords:f}}function zl(e,t={}){const{controls:n=!1,navigator:s=hs}=t,r=Sn(()=>s&&"permissions"in s),i=_e(),o=typeof e=="string"?{name:e}:e,l=_e(),c=()=>{var f,h;l.value=(h=(f=i.value)==null?void 0:f.state)!=null?h:"prompt"};gs(i,"change",c,{passive:!0});const d=Wl(async()=>{if(r.value){if(!i.value)try{i.value=await s.permissions.query(o)}catch{i.value=void 0}finally{c()}if(n)return L(i.value)}});return d(),n?{state:l,isSupported:r,query:d}:l}function qt(e,t,n={}){const{window:s=wn,initialValue:r,observe:i=!1}=n,o=_e(r),l=qe(()=>{var d;return ps(t)||((d=s==null?void 0:s.document)==null?void 0:d.documentElement)});function c(){var d;const f=Ae(e),h=Ae(l);if(h&&s&&f){const b=(d=s.getComputedStyle(h).getPropertyValue(f))==null?void 0:d.trim();o.value=b||o.value||r}}return i&&Gl(l,c,{attributeFilter:["style","class"],window:s}),we([l,()=>Ae(e)],(d,f)=>{f[0]&&f[1]&&f[0].style.removeProperty(f[1]),c()},{immediate:!0}),we([o,l],([d,f])=>{const h=Ae(e);f!=null&&f.style&&h&&(d==null?f.style.removeProperty(h):f.style.setProperty(h,d))},{immediate:!0}),o}function Jl(e={}){const{navigator:t=hs,requestPermissions:n=!1,constraints:s={audio:!0,video:!0},onUpdated:r}=e,i=te([]),o=qe(()=>i.value.filter(T=>T.kind==="videoinput")),l=qe(()=>i.value.filter(T=>T.kind==="audioinput")),c=qe(()=>i.value.filter(T=>T.kind==="audiooutput")),d=Sn(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),f=_e(!1);let h;async function b(){d.value&&(i.value=await t.mediaDevices.enumerateDevices(),r==null||r(i.value),h&&(h.getTracks().forEach(T=>T.stop()),h=null))}async function g(){const T=s.video?"camera":"microphone";if(!d.value)return!1;if(f.value)return!0;const{state:A,query:U}=zl(T,{controls:!0});if(await U(),A.value!=="granted"){let j=!0;try{h=await t.mediaDevices.getUserMedia(s)}catch{h=null,j=!1}b(),f.value=j}else f.value=!0;return f.value}return d.value&&(n&&g(),gs(t.mediaDevices,"devicechange",b,{passive:!0}),b()),{devices:i,ensurePermissions:g,permissionGranted:f,videoInputs:o,audioInputs:l,audioOutputs:c,isSupported:d}}const Xs="--vueuse-safe-area-top",Zs="--vueuse-safe-area-right",Qs="--vueuse-safe-area-bottom",er="--vueuse-safe-area-left";function Yl(){const e=_e(""),t=_e(""),n=_e(""),s=_e("");if(ds){const i=qt(Xs),o=qt(Zs),l=qt(Qs),c=qt(er);i.value="env(safe-area-inset-top, 0px)",o.value="env(safe-area-inset-right, 0px)",l.value="env(safe-area-inset-bottom, 0px)",c.value="env(safe-area-inset-left, 0px)",r(),gs("resize",Bl(r),{passive:!0})}function r(){e.value=Gt(Xs),t.value=Gt(Zs),n.value=Gt(Qs),s.value=Gt(er)}return{top:e,right:t,bottom:n,left:s,update:r}}function Gt(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function Xl(e={}){var t,n;const s=_e((t=e.enabled)!=null?t:!1),r=_e((n=e.autoSwitch)!=null?n:!0),i=te(e.constraints),{navigator:o=hs}=e,l=Sn(()=>{var A;return(A=o==null?void 0:o.mediaDevices)==null?void 0:A.getUserMedia}),c=_e();function d(A){switch(A){case"video":{if(i.value)return i.value.video||!1;break}case"audio":{if(i.value)return i.value.audio||!1;break}}}async function f(){if(!(!l.value||c.value))return c.value=await o.mediaDevices.getUserMedia({video:d("video"),audio:d("audio")}),c.value}function h(){var A;(A=c.value)==null||A.getTracks().forEach(U=>U.stop()),c.value=void 0}function b(){h(),s.value=!1}async function g(){return await f(),c.value&&(s.value=!0),c.value}async function T(){return h(),await g()}return we(s,A=>{A?f():h()},{immediate:!0}),we(i,()=>{r.value&&c.value&&T()},{immediate:!0}),xn(()=>{b()}),{isSupported:l,stream:c,start:g,stop:b,restart:T,constraints:i,enabled:s,autoSwitch:r}}function Zl(e,t,n){const{window:s=wn}={},r=te(null),i=_e(),o=(...c)=>{i.value&&i.value.postMessage(...c)},l=function(){i.value&&i.value.terminate()};return s&&(i.value=new Worker(e,t),i.value.onmessage=c=>{r.value=c.data},xn(()=>{i.value&&i.value.terminate()})),{data:r,post:o,terminate:l,worker:i}}const Ql=gn({__name:"AudioVisualizer",props:{stream:{}},setup(e){const t=e,n=te(!1),s=te();cs(()=>{r()}),we(()=>t.stream,()=>{r()});function r(){if(n.value||!s.value||!t.stream)return;n.value=!0;const i=new(window.AudioContext||window.webkitAudioContext),o=i.createMediaStreamSource(t.stream),l=i.createAnalyser();l.fftSize=2048,o.connect(l);const c=l.frequencyBinCount,d=new Uint8Array(c),f=()=>{try{if(!s.value)return;requestAnimationFrame(f),l.getByteTimeDomainData(d);const h=s.value.getContext("2d");if(!h)return;h.fillStyle="rgb(255, 255, 255)",h.fillRect(0,0,s.value.width,s.value.height),h.lineWidth=2,h.strokeStyle="rgb(0, 0, 0)",h.beginPath();const b=s.value.width*1/c;let g=0;for(let T=0;T(Q(),ne("canvas",{ref_key:"canvasRef",ref:s,width:"720",height:"240"},null,512))}}),ec={className:"w-full bg-gray-100 dark:bg-gray-700 text-left rounded-lg overflow-hidden mb-0.5"},tc=gn({__name:"Progress",props:{text:{},percentage:{default:0},total:{}},setup(e){function t(n){n||(n=0);const s=n===0?0:Math.floor(Math.log(n)/Math.log(1024));return+(n/1024**s).toFixed(2)*1+["B","kB","MB","GB","TB"][s]}return(n,s)=>(Q(),ne("div",ec,[k("div",{className:"bg-blue-400 whitespace-nowrap px-1 text-sm",style:Vt({width:`${n.percentage}%`})},Ke(n.text)+" ("+Ke(n.percentage.toFixed(2))+"%"+Ke(Number.isNaN(n.total)?"":` of ${t(n.total)}`)+") ",5)]))}}),nc=["value"],sc=gn({__name:"WhisperLanguageSelect",props:{modelValue:{type:String,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=Go(e,"modelValue"),n={en:"english",zh:"chinese",de:"german",es:"spanish/castilian",ru:"russian",ko:"korean",fr:"french",ja:"japanese",pt:"portuguese",tr:"turkish",pl:"polish",ca:"catalan/valencian",nl:"dutch/flemish",ar:"arabic",sv:"swedish",it:"italian",id:"indonesian",hi:"hindi",fi:"finnish",vi:"vietnamese",he:"hebrew",uk:"ukrainian",el:"greek",ms:"malay",cs:"czech",ro:"romanian/moldavian/moldovan",da:"danish",hu:"hungarian",ta:"tamil",no:"norwegian",th:"thai",ur:"urdu",hr:"croatian",bg:"bulgarian",lt:"lithuanian",la:"latin",mi:"maori",ml:"malayalam",cy:"welsh",sk:"slovak",te:"telugu",fa:"persian",lv:"latvian",bn:"bengali",sr:"serbian",az:"azerbaijani",sl:"slovenian",kn:"kannada",et:"estonian",mk:"macedonian",br:"breton",eu:"basque",is:"icelandic",hy:"armenian",ne:"nepali",mn:"mongolian",bs:"bosnian",kk:"kazakh",sq:"albanian",sw:"swahili",gl:"galician",mr:"marathi",pa:"punjabi/panjabi",si:"sinhala/sinhalese",km:"khmer",sn:"shona",yo:"yoruba",so:"somali",af:"afrikaans",oc:"occitan",ka:"georgian",be:"belarusian",tg:"tajik",sd:"sindhi",gu:"gujarati",am:"amharic",yi:"yiddish",lo:"lao",uz:"uzbek",fo:"faroese",ht:"haitian creole/haitian",ps:"pashto/pushto",tk:"turkmen",nn:"nynorsk",mt:"maltese",sa:"sanskrit",lb:"luxembourgish/letzeburgesch",my:"myanmar/burmese",bo:"tibetan",tl:"tagalog",mg:"malagasy",as:"assamese",tt:"tatar",haw:"hawaiian",ln:"lingala",ha:"hausa",ba:"bashkir",jw:"javanese",su:"sundanese"};function s(i){return i=i.toLowerCase(),(i.match(/\w+.?/g)||[]).map(o=>o.charAt(0).toUpperCase()+o.slice(1)).join("")}const r=Object.values(n).map(s);return(i,o)=>(Q(),ne("div",null,[jr(k("select",{"onUpdate:modelValue":o[0]||(o[0]=l=>t.value=l),className:"border rounded-lg p-2 max-w-[100px]"},[(Q(!0),ne(be,null,Un(Object.keys(n),(l,c)=>(Q(),ne("option",{key:c,value:l},Ke(Te(r)[c]),9,nc))),128))],512),[[di,t.value]])]))}}),rc="/assets/worker-COJ87XCR.js",ic={"h-full":"","w-full":""},oc={key:0,class:"mx-auto h-screen flex flex-col justify-end bg-white text-gray-800 dark:bg-gray-900 dark:text-gray-200"},lc={class:"scrollbar-thin relative h-full flex flex-col items-center justify-center overflow-auto"},cc={class:"flex flex-col items-center px-4"},uc=["disabled"],fc={class:"w-[500px] p-2"},ac={key:0,class:"relative"},dc={class:"overflow-wrap-anywhere white h-[80px] w-full overflow-y-auto border rounded-lg p-2"},hc={key:0,class:"absolute bottom-0 right-0 px-1"},pc={key:1,class:"relative w-full flex justify-center"},gc={key:2,class:"relative w-full flex flex-col justify-center"},mc=["value"],vc={key:3,class:"mx-auto max-w-[500px] w-full p-4 text-left"},bc={class:"text-center"},_c={key:1,class:"fixed z-10 h-screen w-screen flex items-center justify-center bg-black bg-opacity-[92%] text-center text-2xl text-white font-semibold"},tr=16e3,yc=30,xc=gn({__name:"App",setup(e){const t="gpu"in navigator&&navigator.gpu,n=tr*yc,{top:s,right:r,bottom:i,left:o}=Yl(),l=te(null),c=te(""),d=te([]),f=te(""),h=te(),b=te("en"),g=te(),T=te(!1),A=te(!1),U=te([]),j=te(null),{post:W,data:z}=Zl(rc,{type:"module"}),{audioInputs:P}=Jl({constraints:{audio:!0},requestPermissions:!0}),J=te(),Pe=qe(()=>({audio:{deviceId:J.value}})),{stream:ce}=Xl({constraints:Pe,enabled:!0,autoSwitch:!0});we(z,N=>{var D,Y;switch(N.status){case"loading":l.value="loading",c.value=N.data;break;case"initiate":d.value.push(N);break;case"progress":d.value=d.value.map(de=>de.file===N.file?{...de,...N}:de);break;case"done":d.value=d.value.filter(de=>de.file!==N.file);break;case"ready":l.value="ready",(D=g.value)==null||D.start();break;case"start":A.value=!0,(Y=g.value)==null||Y.requestData();break;case"update":h.value=N.tps;break;case"complete":A.value=!1,f.value=N.output[0]||"";break}}),we(ce,()=>{ce.value&&(g.value=new MediaRecorder(ce.value),j.value=new AudioContext({sampleRate:tr}),g.value.onstart=()=>{T.value=!0,U.value=[]},g.value.ondataavailable=N=>{N.data.size>0?U.value.push(N.data):setTimeout(()=>{var D;(D=g.value)==null||D.requestData()},25)},g.value.onstop=()=>{T.value=!1})}),Bo(()=>{var N;if(g.value&&T.value&&!A.value&&l.value==="ready")if(U.value.length>0){const D=new Blob(U.value,{type:g.value.mimeType}),Y=new FileReader;Y.onloadend=async()=>{var ee;const de=Y.result,et=await((ee=j.value)==null?void 0:ee.decodeAudioData(de));let Ce=et==null?void 0:et.getChannelData(0);((Ce==null?void 0:Ce.length)||0)>n&&(Ce=Ce==null?void 0:Ce.slice(-48e4)),W({type:"generate",data:{audio:Ce,language:b.value}})},Y.readAsArrayBuffer(D)}else(N=g.value)==null||N.requestData()}),we([b],()=>{var N,D;(N=g.value)==null||N.stop(),(D=g.value)==null||D.start()});function Me(){W({type:"load"}),l.value="loading"}function ft(){var N,D;(N=g.value)==null||N.stop(),(D=g.value)==null||D.start()}return us(()=>{var N;(N=g.value)==null||N.stop(),g.value=void 0}),(N,D)=>(Q(),ne("main",{text:"gray-700 dark:gray-200","h-full":"","font-sans":"",style:Vt({paddingTop:`${Te(s)}px`,paddingRight:`${Te(r)}px`,paddingBottom:`${Te(i)}px`,paddingLeft:`${Te(o)}px`})},[k("div",ic,[Te(t)?(Q(),ne("div",oc,[k("div",lc,[D[6]||(D[6]=k("div",{class:"mb-1 max-w-[400px] flex flex-col items-center text-center"},[k("img",{src:Ll,width:"50%",height:"auto",class:"block"}),k("h1",{class:"mb-1 text-4xl font-bold"}," Whisper WebGPU "),k("h2",{class:"text-xl font-semibold"}," Real-time in-browser speech recognition ")],-1)),k("div",cc,[l.value===null?(Q(),ne(be,{key:0},[D[3]||(D[3]=k("p",{class:"mb-4 max-w-[480px]"},[k("br"),ot(" You are about to load "),k("a",{href:"https://huggingface.co/onnx-community/whisper-base",target:"_blank",rel:"noreferrer",class:"font-medium underline"},"whisper-base"),ot(", a 73 million parameter speech recognition model that is optimized for inference on the web. Once downloaded, the model (~200 MB) will be cached and reused when you revisit the page."),k("br"),k("br"),ot(" Everything runs directly in your browser using "),k("a",{href:"https://huggingface.co/docs/transformers.js",target:"_blank",rel:"noreferrer",class:"underline"},"🤗 Transformers.js"),ot(" and ONNX Runtime Web, meaning no data is sent to a server. You can even disconnect from the internet after the model has loaded! ")],-1)),k("button",{class:"select-none border rounded-lg bg-blue-400 px-4 py-2 text-white disabled:cursor-not-allowed disabled:bg-blue-100 hover:bg-blue-500",disabled:l.value!==null,onClick:Me},D[2]||(D[2]=[k("span",null,"Load model",-1)]),8,uc)],64)):dt("",!0),k("div",fc,[Oe(Ql,{class:"w-full rounded-lg",stream:Te(ce)},null,8,["stream"]),l.value==="ready"?(Q(),ne("div",ac,[k("p",dc,Ke(f.value),1),h.value?(Q(),ne("span",hc,Ke(h.value.toFixed(2))+" tok/s",1)):dt("",!0)])):dt("",!0)]),l.value==="ready"?(Q(),ne("div",pc,[Oe(sc,{modelValue:b.value,"onUpdate:modelValue":D[0]||(D[0]=Y=>b.value=Y)},null,8,["modelValue"]),k("button",{class:"absolute right-2 border rounded-lg px-2",onClick:ft},D[4]||(D[4]=[k("span",null,"Reset",-1)]))])):dt("",!0),l.value==="ready"?(Q(),ne("div",gc,[jr(k("select",{"onUpdate:modelValue":D[1]||(D[1]=Y=>J.value=Y),className:"border rounded-lg p-2 max-w-[100px]"},[D[5]||(D[5]=k("option",{disabled:""}," Select a Audio Input ",-1)),(Q(!0),ne(be,null,Un(Te(P),Y=>(Q(),ne("option",{key:Y.deviceId,value:Y.deviceId},Ke(Y.label),9,mc))),128))],512),[[di,J.value]])])):dt("",!0),l.value==="loading"?(Q(),ne("div",vc,[k("p",bc,Ke(c.value),1),(Q(!0),ne(be,null,Un(d.value,(Y,de)=>(Q(),ri(tc,{key:de,text:Y.file,percentage:Y.progress||0,total:Y.total||0},null,8,["text","percentage","total"]))),128))])):dt("",!0)])])])):(Q(),ne("div",_c,D[7]||(D[7]=[ot(" WebGPU is not supported"),k("br",null,null,-1),ot("by this browser :( ")])))])],4))}});Fl(xc).mount("#app");