Files
dinner.tootaio.com/20251116/assets/index-X6IINYkS.js
xiaomai 1a1978ac86 feat(app): add analytics script and media controls
This commit introduces new functionality to enhance user interaction and provide usage insights.

- Adds a new analytics script (`/analysis.js`) to the `index.html` file for tracking purposes.
- Implements keyboard controls for media elements:
  - The 'p' key can now be used to play or pause the background video.
  - The spacebar now toggles the automatic advancement of the image carousel.
2025-11-13 10:24:05 +08:00

2 lines
63 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(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"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(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 n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();function Ms(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const k={},it=[],Pe=()=>{},On=()=>!1,zt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Is=e=>e.startsWith("onUpdate:"),ne=Object.assign,Rs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Lr=Object.prototype.hasOwnProperty,H=(e,t)=>Lr.call(e,t),M=Array.isArray,ot=e=>Yt(e)==="[object Map]",Pn=e=>Yt(e)==="[object Set]",I=e=>typeof e=="function",X=e=>typeof e=="string",Ge=e=>typeof e=="symbol",G=e=>e!==null&&typeof e=="object",Mn=e=>(G(e)||I(e))&&I(e.then)&&I(e.catch),In=Object.prototype.toString,Yt=e=>In.call(e),jr=e=>Yt(e).slice(8,-1),Rn=e=>Yt(e)==="[object Object]",Fs=e=>X(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bt=Ms(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xt=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},$r=/-\w/g,ke=Xt(e=>e.replace($r,t=>t.slice(1).toUpperCase())),Hr=/\B([A-Z])/g,tt=Xt(e=>e.replace(Hr,"-$1").toLowerCase()),Fn=Xt(e=>e.charAt(0).toUpperCase()+e.slice(1)),os=Xt(e=>e?`on${Fn(e)}`:""),We=(e,t)=>!Object.is(e,t),ls=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Dn=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Nr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Qs;const Zt=()=>Qs||(Qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Qt(e){if(M(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=X(n)?Kr(n):Qt(n);if(r)for(const i in r)t[i]=r[i]}return t}else if(X(e)||G(e))return e}const Br=/;(?![^(]*\))/g,Ur=/:([^]+)/,Vr=/\/\*[^]*?\*\//g;function Kr(e){const t={};return e.replace(Vr,"").split(Br).forEach(s=>{if(s){const n=s.split(Ur);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ct(e){let t="";if(X(e))t=e;else if(M(e))for(let s=0;s<e.length;s++){const n=Ct(e[s]);n&&(t+=n+" ")}else if(G(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Wr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",kr=Ms(Wr);function Ln(e){return!!e||e===""}const jn=e=>!!(e&&e.__v_isRef===!0),Ht=e=>X(e)?e:e==null?"":M(e)||G(e)&&(e.toString===In||!I(e.toString))?jn(e)?Ht(e.value):JSON.stringify(e,$n,2):String(e),$n=(e,t)=>jn(t)?$n(e,t.value):ot(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[cs(n,i)+" =>"]=r,s),{})}:Pn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>cs(s))}:Ge(t)?cs(t):G(t)&&!M(t)&&!Rn(t)?String(t):t,cs=(e,t="")=>{var s;return Ge(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};let ae;class qr{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ae,!t&&ae&&(this.index=(ae.scopes||(ae.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=ae;try{return ae=this,t()}finally{ae=s}}}on(){++this._on===1&&(this.prevScope=ae,ae=this)}off(){this._on>0&&--this._on===0&&(ae=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].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 Gr(){return ae}let W;const fs=new WeakSet;class Hn{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ae&&ae.active&&ae.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,fs.has(this)&&(fs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Bn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,en(this),Un(this);const t=W,s=ye;W=this,ye=!0;try{return this.fn()}finally{Vn(this),W=t,ye=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)js(t);this.deps=this.depsTail=void 0,en(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?fs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){vs(this)&&this.run()}get dirty(){return vs(this)}}let Nn=0,vt,yt;function Bn(e,t=!1){if(e.flags|=8,t){e.next=yt,yt=e;return}e.next=vt,vt=e}function Ds(){Nn++}function Ls(){if(--Nn>0)return;if(yt){let t=yt;for(yt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;vt;){let t=vt;for(vt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Un(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Vn(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),js(n),Jr(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function vs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Kn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Kn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===At)||(e.globalVersion=At,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!vs(e))))return;e.flags|=2;const t=e.dep,s=W,n=ye;W=e,ye=!0;try{Un(e);const r=e.fn(e._value);(t.version===0||We(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{W=s,ye=n,Vn(e),e.flags&=-3}}function js(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)js(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Jr(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let ye=!0;const Wn=[];function He(){Wn.push(ye),ye=!1}function Ne(){const e=Wn.pop();ye=e===void 0?!0:e}function en(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=W;W=void 0;try{t()}finally{W=s}}}let At=0;class zr{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class $s{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!W||!ye||W===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==W)s=this.activeLink=new zr(W,this),W.deps?(s.prevDep=W.depsTail,W.depsTail.nextDep=s,W.depsTail=s):W.deps=W.depsTail=s,kn(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=W.depsTail,s.nextDep=void 0,W.depsTail.nextDep=s,W.depsTail=s,W.deps===s&&(W.deps=n)}return s}trigger(t){this.version++,At++,this.notify(t)}notify(t){Ds();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ls()}}}function kn(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)kn(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const ys=new WeakMap,Qe=Symbol(""),xs=Symbol(""),Tt=Symbol("");function te(e,t,s){if(ye&&W){let n=ys.get(e);n||ys.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new $s),r.map=n,r.key=s),r.track()}}function $e(e,t,s,n,r,i){const o=ys.get(e);if(!o){At++;return}const l=f=>{f&&f.trigger()};if(Ds(),t==="clear")o.forEach(l);else{const f=M(e),h=f&&Fs(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,S)=>{(S==="length"||S===Tt||!Ge(S)&&S>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),h&&l(o.get(Tt)),t){case"add":f?h&&l(o.get("length")):(l(o.get(Qe)),ot(e)&&l(o.get(xs)));break;case"delete":f||(l(o.get(Qe)),ot(e)&&l(o.get(xs)));break;case"set":ot(e)&&l(o.get(Qe));break}}Ls()}function st(e){const t=$(e);return t===e?t:(te(t,"iterate",Tt),be(e)?t:t.map(ee))}function es(e){return te(e=$(e),"iterate",Tt),e}const Yr={__proto__:null,[Symbol.iterator](){return us(this,Symbol.iterator,ee)},concat(...e){return st(this).concat(...e.map(t=>M(t)?st(t):t))},entries(){return us(this,"entries",e=>(e[1]=ee(e[1]),e))},every(e,t){return Fe(this,"every",e,t,void 0,arguments)},filter(e,t){return Fe(this,"filter",e,t,s=>s.map(ee),arguments)},find(e,t){return Fe(this,"find",e,t,ee,arguments)},findIndex(e,t){return Fe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Fe(this,"findLast",e,t,ee,arguments)},findLastIndex(e,t){return Fe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Fe(this,"forEach",e,t,void 0,arguments)},includes(...e){return as(this,"includes",e)},indexOf(...e){return as(this,"indexOf",e)},join(e){return st(this).join(e)},lastIndexOf(...e){return as(this,"lastIndexOf",e)},map(e,t){return Fe(this,"map",e,t,void 0,arguments)},pop(){return gt(this,"pop")},push(...e){return gt(this,"push",e)},reduce(e,...t){return tn(this,"reduce",e,t)},reduceRight(e,...t){return tn(this,"reduceRight",e,t)},shift(){return gt(this,"shift")},some(e,t){return Fe(this,"some",e,t,void 0,arguments)},splice(...e){return gt(this,"splice",e)},toReversed(){return st(this).toReversed()},toSorted(e){return st(this).toSorted(e)},toSpliced(...e){return st(this).toSpliced(...e)},unshift(...e){return gt(this,"unshift",e)},values(){return us(this,"values",ee)}};function us(e,t,s){const n=es(e),r=n[t]();return n!==e&&!be(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=s(i.value)),i}),r}const Xr=Array.prototype;function Fe(e,t,s,n,r,i){const o=es(e),l=o!==e&&!be(e),f=o[t];if(f!==Xr[t]){const p=f.apply(e,i);return l?ee(p):p}let h=s;o!==e&&(l?h=function(p,S){return s.call(this,ee(p),S,e)}:s.length>2&&(h=function(p,S){return s.call(this,p,S,e)}));const a=f.call(o,h,n);return l&&r?r(a):a}function tn(e,t,s,n){const r=es(e);let i=s;return r!==e&&(be(e)?s.length>3&&(i=function(o,l,f){return s.call(this,o,l,f,e)}):i=function(o,l,f){return s.call(this,o,ee(l),f,e)}),r[t](i,...n)}function as(e,t,s){const n=$(e);te(n,"iterate",Tt);const r=n[t](...s);return(r===-1||r===!1)&&Us(s[0])?(s[0]=$(s[0]),n[t](...s)):r}function gt(e,t,s=[]){He(),Ds();const n=$(e)[t].apply(e,s);return Ls(),Ne(),n}const Zr=Ms("__proto__,__v_isRef,__isVue"),qn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ge));function Qr(e){Ge(e)||(e=String(e));const t=$(this);return te(t,"has",e),t.hasOwnProperty(e)}class Gn{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?fi:Xn:i?Yn:zn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=M(t);if(!r){let f;if(o&&(f=Yr[s]))return f;if(s==="hasOwnProperty")return Qr}const l=Reflect.get(t,s,se(t)?t:n);if((Ge(s)?qn.has(s):Zr(s))||(r||te(t,"get",s),i))return l;if(se(l)){const f=o&&Fs(s)?l:l.value;return r&&G(f)?Ss(f):f}return G(l)?r?Ss(l):Ns(l):l}}class Jn extends Gn{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];if(!this._isShallow){const f=qe(i);if(!be(n)&&!qe(n)&&(i=$(i),n=$(n)),!M(t)&&se(i)&&!se(n))return f||(i.value=n),!0}const o=M(t)&&Fs(s)?Number(s)<t.length:H(t,s),l=Reflect.set(t,s,n,se(t)?t:r);return t===$(r)&&(o?We(n,i)&&$e(t,"set",s,n):$e(t,"add",s,n)),l}deleteProperty(t,s){const n=H(t,s);t[s];const r=Reflect.deleteProperty(t,s);return r&&n&&$e(t,"delete",s,void 0),r}has(t,s){const n=Reflect.has(t,s);return(!Ge(s)||!qn.has(s))&&te(t,"has",s),n}ownKeys(t){return te(t,"iterate",M(t)?"length":Qe),Reflect.ownKeys(t)}}class ei extends Gn{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const ti=new Jn,si=new ei,ni=new Jn(!0);const ws=e=>e,Lt=e=>Reflect.getPrototypeOf(e);function ri(e,t,s){return function(...n){const r=this.__v_raw,i=$(r),o=ot(i),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,h=r[e](...n),a=s?ws:t?Vt:ee;return!t&&te(i,"iterate",f?xs:Qe),{next(){const{value:p,done:S}=h.next();return S?{value:p,done:S}:{value:l?[a(p[0]),a(p[1])]:a(p),done:S}},[Symbol.iterator](){return this}}}}function jt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ii(e,t){const s={get(r){const i=this.__v_raw,o=$(i),l=$(r);e||(We(r,l)&&te(o,"get",r),te(o,"get",l));const{has:f}=Lt(o),h=t?ws:e?Vt:ee;if(f.call(o,r))return h(i.get(r));if(f.call(o,l))return h(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&te($(r),"iterate",Qe),r.size},has(r){const i=this.__v_raw,o=$(i),l=$(r);return e||(We(r,l)&&te(o,"has",r),te(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,f=$(l),h=t?ws:e?Vt:ee;return!e&&te(f,"iterate",Qe),l.forEach((a,p)=>r.call(i,h(a),h(p),o))}};return ne(s,e?{add:jt("add"),set:jt("set"),delete:jt("delete"),clear:jt("clear")}:{add(r){!t&&!be(r)&&!qe(r)&&(r=$(r));const i=$(this);return Lt(i).has.call(i,r)||(i.add(r),$e(i,"add",r,r)),this},set(r,i){!t&&!be(i)&&!qe(i)&&(i=$(i));const o=$(this),{has:l,get:f}=Lt(o);let h=l.call(o,r);h||(r=$(r),h=l.call(o,r));const a=f.call(o,r);return o.set(r,i),h?We(i,a)&&$e(o,"set",r,i):$e(o,"add",r,i),this},delete(r){const i=$(this),{has:o,get:l}=Lt(i);let f=o.call(i,r);f||(r=$(r),f=o.call(i,r)),l&&l.call(i,r);const h=i.delete(r);return f&&$e(i,"delete",r,void 0),h},clear(){const r=$(this),i=r.size!==0,o=r.clear();return i&&$e(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=ri(r,e,t)}),s}function Hs(e,t){const s=ii(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(H(s,r)&&r in n?s:n,r,i)}const oi={get:Hs(!1,!1)},li={get:Hs(!1,!0)},ci={get:Hs(!0,!1)};const zn=new WeakMap,Yn=new WeakMap,Xn=new WeakMap,fi=new WeakMap;function ui(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ai(e){return e.__v_skip||!Object.isExtensible(e)?0:ui(jr(e))}function Ns(e){return qe(e)?e:Bs(e,!1,ti,oi,zn)}function di(e){return Bs(e,!1,ni,li,Yn)}function Ss(e){return Bs(e,!0,si,ci,Xn)}function Bs(e,t,s,n,r){if(!G(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=ai(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?n:s);return r.set(e,l),l}function lt(e){return qe(e)?lt(e.__v_raw):!!(e&&e.__v_isReactive)}function qe(e){return!!(e&&e.__v_isReadonly)}function be(e){return!!(e&&e.__v_isShallow)}function Us(e){return e?!!e.__v_raw:!1}function $(e){const t=e&&e.__v_raw;return t?$(t):e}function hi(e){return!H(e,"__v_skip")&&Object.isExtensible(e)&&Dn(e,"__v_skip",!0),e}const ee=e=>G(e)?Ns(e):e,Vt=e=>G(e)?Ss(e):e;function se(e){return e?e.__v_isRef===!0:!1}function nt(e){return pi(e,!1)}function pi(e,t){return se(e)?e:new gi(e,t)}class gi{constructor(t,s){this.dep=new $s,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:$(t),this._value=s?t:ee(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||be(t)||qe(t);t=n?t:$(t),We(t,s)&&(this._rawValue=t,this._value=n?t:ee(t),this.dep.trigger())}}function _i(e){return se(e)?e.value:e}const mi={get:(e,t,s)=>t==="__v_raw"?e:_i(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return se(r)&&!se(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function Zn(e){return lt(e)?e:new Proxy(e,mi)}class bi{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new $s(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=At-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&W!==this)return Bn(this,!0),!0}get value(){const t=this.dep.track();return Kn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function vi(e,t,s=!1){let n,r;return I(e)?n=e:(n=e.get,r=e.set),new bi(n,r,s)}const $t={},Kt=new WeakMap;let Ze;function yi(e,t=!1,s=Ze){if(s){let n=Kt.get(s);n||Kt.set(s,n=[]),n.push(e)}}function xi(e,t,s=k){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:f}=s,h=T=>r?T:be(T)||r===!1||r===0?Ke(T,1):Ke(T);let a,p,S,E,R=!1,F=!1;if(se(e)?(p=()=>e.value,R=be(e)):lt(e)?(p=()=>h(e),R=!0):M(e)?(F=!0,R=e.some(T=>lt(T)||be(T)),p=()=>e.map(T=>{if(se(T))return T.value;if(lt(T))return h(T);if(I(T))return f?f(T,2):T()})):I(e)?t?p=f?()=>f(e,2):e:p=()=>{if(S){He();try{S()}finally{Ne()}}const T=Ze;Ze=a;try{return f?f(e,3,[E]):e(E)}finally{Ze=T}}:p=Pe,t&&r){const T=p,z=r===!0?1/0:r;p=()=>Ke(T(),z)}const Z=Gr(),L=()=>{a.stop(),Z&&Z.active&&Rs(Z.effects,a)};if(i&&t){const T=t;t=(...z)=>{T(...z),L()}}let B=F?new Array(e.length).fill($t):$t;const q=T=>{if(!(!(a.flags&1)||!a.dirty&&!T))if(t){const z=a.run();if(r||R||(F?z.some((ve,de)=>We(ve,B[de])):We(z,B))){S&&S();const ve=Ze;Ze=a;try{const de=[z,B===$t?void 0:F&&B[0]===$t?[]:B,E];B=z,f?f(t,3,de):t(...de)}finally{Ze=ve}}}else a.run()};return l&&l(q),a=new Hn(p),a.scheduler=o?()=>o(q,!1):q,E=T=>yi(T,!1,a),S=a.onStop=()=>{const T=Kt.get(a);if(T){if(f)f(T,4);else for(const z of T)z();Kt.delete(a)}},t?n?q(!0):B=a.run():o?o(q.bind(null,!0),!0):a.run(),L.pause=a.pause.bind(a),L.resume=a.resume.bind(a),L.stop=L,L}function Ke(e,t=1/0,s){if(t<=0||!G(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,se(e))Ke(e.value,t,s);else if(M(e))for(let n=0;n<e.length;n++)Ke(e[n],t,s);else if(Pn(e)||ot(e))e.forEach(n=>{Ke(n,t,s)});else if(Rn(e)){for(const n in e)Ke(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Ke(e[n],t,s)}return e}function It(e,t,s,n){try{return n?e(...n):e()}catch(r){ts(r,t,s)}}function Me(e,t,s,n){if(I(e)){const r=It(e,t,s,n);return r&&Mn(r)&&r.catch(i=>{ts(i,t,s)}),r}if(M(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Me(e[i],t,s,n));return r}}function ts(e,t,s,n=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||k;if(t){let l=t.parent;const f=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](e,f,h)===!1)return}l=l.parent}if(i){He(),It(i,null,10,[e,f,h]),Ne();return}}wi(e,s,r,n,o)}function wi(e,t,s,n=!0,r=!1){if(r)throw e;console.error(e)}const ie=[];let Ae=-1;const ct=[];let Ue=null,rt=0;const Qn=Promise.resolve();let Wt=null;function Si(e){const t=Wt||Qn;return e?t.then(this?e.bind(this):e):t}function Ei(e){let t=Ae+1,s=ie.length;for(;t<s;){const n=t+s>>>1,r=ie[n],i=Ot(r);i<e||i===e&&r.flags&2?t=n+1:s=n}return t}function Vs(e){if(!(e.flags&1)){const t=Ot(e),s=ie[ie.length-1];!s||!(e.flags&2)&&t>=Ot(s)?ie.push(e):ie.splice(Ei(t),0,e),e.flags|=1,er()}}function er(){Wt||(Wt=Qn.then(sr))}function Ci(e){M(e)?ct.push(...e):Ue&&e.id===-1?Ue.splice(rt+1,0,e):e.flags&1||(ct.push(e),e.flags|=1),er()}function sn(e,t,s=Ae+1){for(;s<ie.length;s++){const n=ie[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;ie.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function tr(e){if(ct.length){const t=[...new Set(ct)].sort((s,n)=>Ot(s)-Ot(n));if(ct.length=0,Ue){Ue.push(...t);return}for(Ue=t,rt=0;rt<Ue.length;rt++){const s=Ue[rt];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Ue=null,rt=0}}const Ot=e=>e.id==null?e.flags&2?-1:1/0:e.id;function sr(e){try{for(Ae=0;Ae<ie.length;Ae++){const t=ie[Ae];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),It(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ae<ie.length;Ae++){const t=ie[Ae];t&&(t.flags&=-2)}Ae=-1,ie.length=0,tr(),Wt=null,(ie.length||ct.length)&&sr()}}let Oe=null,nr=null;function kt(e){const t=Oe;return Oe=e,nr=e&&e.type.__scopeId||null,t}function Ai(e,t=Oe,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&hn(-1);const i=kt(t);let o;try{o=e(...r)}finally{kt(i),n._d&&hn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Ye(e,t,s,n){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 f=l.dir[n];f&&(He(),Me(f,s,8,[e.el,l,e,t]),Ne())}}const Ti=Symbol("_vte"),Oi=e=>e.__isTeleport,Pi=Symbol("_leaveCb");function Ks(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ks(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 Mi(e,t){return I(e)?ne({name:e.name},t,{setup:e}):e}function rr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const qt=new WeakMap;function xt(e,t,s,n,r=!1){if(M(e)){e.forEach((R,F)=>xt(R,t&&(M(t)?t[F]:t),s,n,r));return}if(wt(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&xt(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?Gs(n.component):n.el,o=r?null:i,{i:l,r:f}=e,h=t&&t.r,a=l.refs===k?l.refs={}:l.refs,p=l.setupState,S=$(p),E=p===k?On:R=>H(S,R);if(h!=null&&h!==f){if(nn(t),X(h))a[h]=null,E(h)&&(p[h]=null);else if(se(h)){h.value=null;const R=t;R.k&&(a[R.k]=null)}}if(I(f))It(f,l,12,[o,a]);else{const R=X(f),F=se(f);if(R||F){const Z=()=>{if(e.f){const L=R?E(f)?p[f]:a[f]:f.value;if(r)M(L)&&Rs(L,i);else if(M(L))L.includes(i)||L.push(i);else if(R)a[f]=[i],E(f)&&(p[f]=a[f]);else{const B=[i];f.value=B,e.k&&(a[e.k]=B)}}else R?(a[f]=o,E(f)&&(p[f]=o)):F&&(f.value=o,e.k&&(a[e.k]=o))};if(o){const L=()=>{Z(),qt.delete(e)};L.id=-1,qt.set(e,L),pe(L,s)}else nn(e),Z()}}}function nn(e){const t=qt.get(e);t&&(t.flags|=8,qt.delete(e))}Zt().requestIdleCallback;Zt().cancelIdleCallback;const wt=e=>!!e.type.__asyncLoader,ir=e=>e.type.__isKeepAlive;function Ii(e,t){or(e,"a",t)}function Ri(e,t){or(e,"da",t)}function or(e,t,s=oe){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ss(t,n,s),s){let r=s.parent;for(;r&&r.parent;)ir(r.parent.vnode)&&Fi(n,t,s,r),r=r.parent}}function Fi(e,t,s,n){const r=ss(t,e,n,!0);fr(()=>{Rs(n[t],r)},s)}function ss(e,t,s=oe,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{He();const l=Rt(s),f=Me(t,s,e,o);return l(),Ne(),f});return n?r.unshift(i):r.push(i),i}}const Be=e=>(t,s=oe)=>{(!Mt||e==="sp")&&ss(e,(...n)=>t(...n),s)},Di=Be("bm"),lr=Be("m"),Li=Be("bu"),ji=Be("u"),cr=Be("bum"),fr=Be("um"),$i=Be("sp"),Hi=Be("rtg"),Ni=Be("rtc");function Bi(e,t=oe){ss("ec",e,t)}const Ui=Symbol.for("v-ndc");function ds(e,t,s,n){let r;const i=s,o=M(e);if(o||X(e)){const l=o&&lt(e);let f=!1,h=!1;l&&(f=!be(e),h=qe(e),e=es(e)),r=new Array(e.length);for(let a=0,p=e.length;a<p;a++)r[a]=t(f?h?Vt(ee(e[a])):ee(e[a]):e[a],a,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(G(e))if(e[Symbol.iterator])r=Array.from(e,(l,f)=>t(l,f,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let f=0,h=l.length;f<h;f++){const a=l[f];r[f]=t(e[a],a,f,i)}}else r=[];return r}const Es=e=>e?Pr(e)?Gs(e):Es(e.parent):null,St=ne(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=>Es(e.parent),$root:e=>Es(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ar(e),$forceUpdate:e=>e.f||(e.f=()=>{Vs(e.update)}),$nextTick:e=>e.n||(e.n=Si.bind(e.proxy)),$watch:e=>fo.bind(e)}),hs=(e,t)=>e!==k&&!e.__isScriptSetup&&H(e,t),Vi={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:f}=e;let h;if(t[0]!=="$"){const E=o[t];if(E!==void 0)switch(E){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(hs(n,t))return o[t]=1,n[t];if(r!==k&&H(r,t))return o[t]=2,r[t];if((h=e.propsOptions[0])&&H(h,t))return o[t]=3,i[t];if(s!==k&&H(s,t))return o[t]=4,s[t];Cs&&(o[t]=0)}}const a=St[t];let p,S;if(a)return t==="$attrs"&&te(e.attrs,"get",""),a(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(s!==k&&H(s,t))return o[t]=4,s[t];if(S=f.config.globalProperties,H(S,t))return S[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return hs(r,t)?(r[t]=s,!0):n!==k&&H(n,t)?(n[t]=s,!0):H(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,propsOptions:i,type:o}},l){let f,h;return!!(s[l]||e!==k&&l[0]!=="$"&&H(e,l)||hs(t,l)||(f=i[0])&&H(f,l)||H(n,l)||H(St,l)||H(r.config.globalProperties,l)||(h=o.__cssModules)&&h[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:H(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function rn(e){return M(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Cs=!0;function Ki(e){const t=ar(e),s=e.proxy,n=e.ctx;Cs=!1,t.beforeCreate&&on(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:f,inject:h,created:a,beforeMount:p,mounted:S,beforeUpdate:E,updated:R,activated:F,deactivated:Z,beforeDestroy:L,beforeUnmount:B,destroyed:q,unmounted:T,render:z,renderTracked:ve,renderTriggered:de,errorCaptured:O,serverPrefetch:U,expose:j,inheritAttrs:Y,components:le,directives:Ie,filters:ce}=t;if(h&&Wi(h,n,null),o)for(const J in o){const V=o[J];I(V)&&(n[J]=V.bind(s))}if(r){const J=r.call(s,s);G(J)&&(e.data=Ns(J))}if(Cs=!0,i)for(const J in i){const V=i[J],Je=I(V)?V.bind(s,s):I(V.get)?V.get.bind(s,s):Pe,Ft=!I(V)&&I(V.set)?V.set.bind(s):Pe,ze=Ir({get:Je,set:Ft});Object.defineProperty(n,J,{enumerable:!0,configurable:!0,get:()=>ze.value,set:xe=>ze.value=xe})}if(l)for(const J in l)ur(l[J],n,s,J);if(f){const J=I(f)?f.call(s):f;Reflect.ownKeys(J).forEach(V=>{Yi(V,J[V])})}a&&on(a,e,"c");function Q(J,V){M(V)?V.forEach(Je=>J(Je.bind(s))):V&&J(V.bind(s))}if(Q(Di,p),Q(lr,S),Q(Li,E),Q(ji,R),Q(Ii,F),Q(Ri,Z),Q(Bi,O),Q(Ni,ve),Q(Hi,de),Q(cr,B),Q(fr,T),Q($i,U),M(j))if(j.length){const J=e.exposed||(e.exposed={});j.forEach(V=>{Object.defineProperty(J,V,{get:()=>s[V],set:Je=>s[V]=Je,enumerable:!0})})}else e.exposed||(e.exposed={});z&&e.render===Pe&&(e.render=z),Y!=null&&(e.inheritAttrs=Y),le&&(e.components=le),Ie&&(e.directives=Ie),U&&rr(e)}function Wi(e,t,s=Pe){M(e)&&(e=As(e));for(const n in e){const r=e[n];let i;G(r)?"default"in r?i=Nt(r.from||n,r.default,!0):i=Nt(r.from||n):i=Nt(r),se(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function on(e,t,s){Me(M(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function ur(e,t,s,n){let r=n.includes(".")?Er(s,n):()=>s[n];if(X(e)){const i=t[e];I(i)&&gs(r,i)}else if(I(e))gs(r,e.bind(s));else if(G(e))if(M(e))e.forEach(i=>ur(i,t,s,n));else{const i=I(e.handler)?e.handler.bind(s):t[e.handler];I(i)&&gs(r,i,e)}}function ar(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let f;return l?f=l:!r.length&&!s&&!n?f=t:(f={},r.length&&r.forEach(h=>Gt(f,h,o,!0)),Gt(f,t,o)),G(t)&&i.set(t,f),f}function Gt(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&Gt(e,i,s,!0),r&&r.forEach(o=>Gt(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=ki[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const ki={data:ln,props:cn,emits:cn,methods:mt,computed:mt,beforeCreate:re,created:re,beforeMount:re,mounted:re,beforeUpdate:re,updated:re,beforeDestroy:re,beforeUnmount:re,destroyed:re,unmounted:re,activated:re,deactivated:re,errorCaptured:re,serverPrefetch:re,components:mt,directives:mt,watch:Gi,provide:ln,inject:qi};function ln(e,t){return t?e?function(){return ne(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function qi(e,t){return mt(As(e),As(t))}function As(e){if(M(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function re(e,t){return e?[...new Set([].concat(e,t))]:t}function mt(e,t){return e?ne(Object.create(null),e,t):t}function cn(e,t){return e?M(e)&&M(t)?[...new Set([...e,...t])]:ne(Object.create(null),rn(e),rn(t??{})):t}function Gi(e,t){if(!e)return t;if(!t)return e;const s=ne(Object.create(null),e);for(const n in t)s[n]=re(e[n],t[n]);return s}function dr(){return{app:null,config:{isNativeTag:On,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 Ji=0;function zi(e,t){return function(n,r=null){I(n)||(n=ne({},n)),r!=null&&!G(r)&&(r=null);const i=dr(),o=new WeakSet,l=[];let f=!1;const h=i.app={_uid:Ji++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Do,get config(){return i.config},set config(a){},use(a,...p){return o.has(a)||(a&&I(a.install)?(o.add(a),a.install(h,...p)):I(a)&&(o.add(a),a(h,...p))),h},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),h},component(a,p){return p?(i.components[a]=p,h):i.components[a]},directive(a,p){return p?(i.directives[a]=p,h):i.directives[a]},mount(a,p,S){if(!f){const E=h._ceVNode||et(n,r);return E.appContext=i,S===!0?S="svg":S===!1&&(S=void 0),e(E,a,S),f=!0,h._container=a,a.__vue_app__=h,Gs(E.component)}},onUnmount(a){l.push(a)},unmount(){f&&(Me(l,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(a,p){return i.provides[a]=p,h},runWithContext(a){const p=ft;ft=h;try{return a()}finally{ft=p}}};return h}}let ft=null;function Yi(e,t){if(oe){let s=oe.provides;const n=oe.parent&&oe.parent.provides;n===s&&(s=oe.provides=Object.create(n)),s[e]=t}}function Nt(e,t,s=!1){const n=Oo();if(n||ft){let r=ft?ft._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return s&&I(t)?t.call(n&&n.proxy):t}}const hr={},pr=()=>Object.create(hr),gr=e=>Object.getPrototypeOf(e)===hr;function Xi(e,t,s,n=!1){const r={},i=pr();e.propsDefaults=Object.create(null),_r(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:di(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Zi(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=$(r),[f]=e.propsOptions;let h=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let S=a[p];if(ns(e.emitsOptions,S))continue;const E=t[S];if(f)if(H(i,S))E!==i[S]&&(i[S]=E,h=!0);else{const R=ke(S);r[R]=Ts(f,l,R,E,e,!1)}else E!==i[S]&&(i[S]=E,h=!0)}}}else{_r(e,t,r,i)&&(h=!0);let a;for(const p in l)(!t||!H(t,p)&&((a=tt(p))===p||!H(t,a)))&&(f?s&&(s[p]!==void 0||s[a]!==void 0)&&(r[p]=Ts(f,l,p,void 0,e,!0)):delete r[p]);if(i!==l)for(const p in i)(!t||!H(t,p))&&(delete i[p],h=!0)}h&&$e(e.attrs,"set","")}function _r(e,t,s,n){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(bt(f))continue;const h=t[f];let a;r&&H(r,a=ke(f))?!i||!i.includes(a)?s[a]=h:(l||(l={}))[a]=h:ns(e.emitsOptions,f)||(!(f in n)||h!==n[f])&&(n[f]=h,o=!0)}if(i){const f=$(s),h=l||k;for(let a=0;a<i.length;a++){const p=i[a];s[p]=Ts(r,f,p,h[p],e,!H(h,p))}}return o}function Ts(e,t,s,n,r,i){const o=e[s];if(o!=null){const l=H(o,"default");if(l&&n===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&I(f)){const{propsDefaults:h}=r;if(s in h)n=h[s];else{const a=Rt(r);n=h[s]=f.call(null,t),a()}}else n=f;r.ce&&r.ce._setProp(s,n)}o[0]&&(i&&!l?n=!1:o[1]&&(n===""||n===tt(s))&&(n=!0))}return n}const Qi=new WeakMap;function mr(e,t,s=!1){const n=s?Qi:t.propsCache,r=n.get(e);if(r)return r;const i=e.props,o={},l=[];let f=!1;if(!I(e)){const a=p=>{f=!0;const[S,E]=mr(p,t,!0);ne(o,S),E&&l.push(...E)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!f)return G(e)&&n.set(e,it),it;if(M(i))for(let a=0;a<i.length;a++){const p=ke(i[a]);fn(p)&&(o[p]=k)}else if(i)for(const a in i){const p=ke(a);if(fn(p)){const S=i[a],E=o[p]=M(S)||I(S)?{type:S}:ne({},S),R=E.type;let F=!1,Z=!0;if(M(R))for(let L=0;L<R.length;++L){const B=R[L],q=I(B)&&B.name;if(q==="Boolean"){F=!0;break}else q==="String"&&(Z=!1)}else F=I(R)&&R.name==="Boolean";E[0]=F,E[1]=Z,(F||H(E,"default"))&&l.push(p)}}const h=[o,l];return G(e)&&n.set(e,h),h}function fn(e){return e[0]!=="$"&&!bt(e)}const Ws=e=>e==="_"||e==="_ctx"||e==="$stable",ks=e=>M(e)?e.map(Te):[Te(e)],eo=(e,t,s)=>{if(t._n)return t;const n=Ai((...r)=>ks(t(...r)),s);return n._c=!1,n},br=(e,t,s)=>{const n=e._ctx;for(const r in e){if(Ws(r))continue;const i=e[r];if(I(i))t[r]=eo(r,i,n);else if(i!=null){const o=ks(i);t[r]=()=>o}}},vr=(e,t)=>{const s=ks(t);e.slots.default=()=>s},yr=(e,t,s)=>{for(const n in t)(s||!Ws(n))&&(e[n]=t[n])},to=(e,t,s)=>{const n=e.slots=pr();if(e.vnode.shapeFlag&32){const r=t._;r?(yr(n,t,s),s&&Dn(n,"_",r,!0)):br(t,n)}else t&&vr(e,t)},so=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=k;if(n.shapeFlag&32){const l=t._;l?s&&l===1?i=!1:yr(r,t,s):(i=!t.$stable,br(t,r)),o=t}else t&&(vr(e,t),o={default:1});if(i)for(const l in r)!Ws(l)&&o[l]==null&&delete r[l]},pe=bo;function no(e){return ro(e)}function ro(e,t){const s=Zt();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:f,setText:h,setElementText:a,parentNode:p,nextSibling:S,setScopeId:E=Pe,insertStaticContent:R}=e,F=(c,u,d,b=null,g=null,_=null,x=void 0,y=null,v=!!u.dynamicChildren)=>{if(c===u)return;c&&!_t(c,u)&&(b=Dt(c),xe(c,g,_,!0),c=null),u.patchFlag===-2&&(v=!1,u.dynamicChildren=null);const{type:m,ref:A,shapeFlag:w}=u;switch(m){case rs:Z(c,u,d,b);break;case ut:L(c,u,d,b);break;case _s:c==null&&B(u,d,b,x);break;case me:le(c,u,d,b,g,_,x,y,v);break;default:w&1?z(c,u,d,b,g,_,x,y,v):w&6?Ie(c,u,d,b,g,_,x,y,v):(w&64||w&128)&&m.process(c,u,d,b,g,_,x,y,v,ht)}A!=null&&g?xt(A,c&&c.ref,_,u||c,!u):A==null&&c&&c.ref!=null&&xt(c.ref,null,_,c,!0)},Z=(c,u,d,b)=>{if(c==null)n(u.el=l(u.children),d,b);else{const g=u.el=c.el;u.children!==c.children&&h(g,u.children)}},L=(c,u,d,b)=>{c==null?n(u.el=f(u.children||""),d,b):u.el=c.el},B=(c,u,d,b)=>{[c.el,c.anchor]=R(c.children,u,d,b,c.el,c.anchor)},q=({el:c,anchor:u},d,b)=>{let g;for(;c&&c!==u;)g=S(c),n(c,d,b),c=g;n(u,d,b)},T=({el:c,anchor:u})=>{let d;for(;c&&c!==u;)d=S(c),r(c),c=d;r(u)},z=(c,u,d,b,g,_,x,y,v)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),c==null)ve(u,d,b,g,_,x,y,v);else{const m=c.el&&c.el._isVueCE?c.el:null;try{m&&m._beginPatch(),U(c,u,g,_,x,y,v)}finally{m&&m._endPatch()}}},ve=(c,u,d,b,g,_,x,y)=>{let v,m;const{props:A,shapeFlag:w,transition:C,dirs:P}=c;if(v=c.el=o(c.type,_,A&&A.is,A),w&8?a(v,c.children):w&16&&O(c.children,v,null,b,g,ps(c,_),x,y),P&&Ye(c,null,b,"created"),de(v,c,c.scopeId,x,b),A){for(const K in A)K!=="value"&&!bt(K)&&i(v,K,null,A[K],_,b);"value"in A&&i(v,"value",null,A.value,_),(m=A.onVnodeBeforeMount)&&Ce(m,b,c)}P&&Ye(c,null,b,"beforeMount");const D=io(g,C);D&&C.beforeEnter(v),n(v,u,d),((m=A&&A.onVnodeMounted)||D||P)&&pe(()=>{m&&Ce(m,b,c),D&&C.enter(v),P&&Ye(c,null,b,"mounted")},g)},de=(c,u,d,b,g)=>{if(d&&E(c,d),b)for(let _=0;_<b.length;_++)E(c,b[_]);if(g){let _=g.subTree;if(u===_||Ar(_.type)&&(_.ssContent===u||_.ssFallback===u)){const x=g.vnode;de(c,x,x.scopeId,x.slotScopeIds,g.parent)}}},O=(c,u,d,b,g,_,x,y,v=0)=>{for(let m=v;m<c.length;m++){const A=c[m]=y?Ve(c[m]):Te(c[m]);F(null,A,u,d,b,g,_,x,y)}},U=(c,u,d,b,g,_,x)=>{const y=u.el=c.el;let{patchFlag:v,dynamicChildren:m,dirs:A}=u;v|=c.patchFlag&16;const w=c.props||k,C=u.props||k;let P;if(d&&Xe(d,!1),(P=C.onVnodeBeforeUpdate)&&Ce(P,d,u,c),A&&Ye(u,c,d,"beforeUpdate"),d&&Xe(d,!0),(w.innerHTML&&C.innerHTML==null||w.textContent&&C.textContent==null)&&a(y,""),m?j(c.dynamicChildren,m,y,d,b,ps(u,g),_):x||V(c,u,y,null,d,b,ps(u,g),_,!1),v>0){if(v&16)Y(y,w,C,d,g);else if(v&2&&w.class!==C.class&&i(y,"class",null,C.class,g),v&4&&i(y,"style",w.style,C.style,g),v&8){const D=u.dynamicProps;for(let K=0;K<D.length;K++){const N=D[K],fe=w[N],ue=C[N];(ue!==fe||N==="value")&&i(y,N,fe,ue,g,d)}}v&1&&c.children!==u.children&&a(y,u.children)}else!x&&m==null&&Y(y,w,C,d,g);((P=C.onVnodeUpdated)||A)&&pe(()=>{P&&Ce(P,d,u,c),A&&Ye(u,c,d,"updated")},b)},j=(c,u,d,b,g,_,x)=>{for(let y=0;y<u.length;y++){const v=c[y],m=u[y],A=v.el&&(v.type===me||!_t(v,m)||v.shapeFlag&198)?p(v.el):d;F(v,m,A,null,b,g,_,x,!0)}},Y=(c,u,d,b,g)=>{if(u!==d){if(u!==k)for(const _ in u)!bt(_)&&!(_ in d)&&i(c,_,u[_],null,g,b);for(const _ in d){if(bt(_))continue;const x=d[_],y=u[_];x!==y&&_!=="value"&&i(c,_,y,x,g,b)}"value"in d&&i(c,"value",u.value,d.value,g)}},le=(c,u,d,b,g,_,x,y,v)=>{const m=u.el=c?c.el:l(""),A=u.anchor=c?c.anchor:l("");let{patchFlag:w,dynamicChildren:C,slotScopeIds:P}=u;P&&(y=y?y.concat(P):P),c==null?(n(m,d,b),n(A,d,b),O(u.children||[],d,A,g,_,x,y,v)):w>0&&w&64&&C&&c.dynamicChildren?(j(c.dynamicChildren,C,d,g,_,x,y),(u.key!=null||g&&u===g.subTree)&&xr(c,u,!0)):V(c,u,d,A,g,_,x,y,v)},Ie=(c,u,d,b,g,_,x,y,v)=>{u.slotScopeIds=y,c==null?u.shapeFlag&512?g.ctx.activate(u,d,b,x,v):ce(u,d,b,g,_,x,v):Re(c,u,v)},ce=(c,u,d,b,g,_,x)=>{const y=c.component=To(c,b,g);if(ir(c)&&(y.ctx.renderer=ht),Po(y,!1,x),y.asyncDep){if(g&&g.registerDep(y,Q,x),!c.el){const v=y.subTree=et(ut);L(null,v,u,d),c.placeholder=v.el}}else Q(y,c,u,d,g,_,x)},Re=(c,u,d)=>{const b=u.component=c.component;if(_o(c,u,d))if(b.asyncDep&&!b.asyncResolved){J(b,u,d);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},Q=(c,u,d,b,g,_,x)=>{const y=()=>{if(c.isMounted){let{next:w,bu:C,u:P,parent:D,vnode:K}=c;{const Se=wr(c);if(Se){w&&(w.el=K.el,J(c,w,x)),Se.asyncDep.then(()=>{c.isUnmounted||y()});return}}let N=w,fe;Xe(c,!1),w?(w.el=K.el,J(c,w,x)):w=K,C&&ls(C),(fe=w.props&&w.props.onVnodeBeforeUpdate)&&Ce(fe,D,w,K),Xe(c,!0);const ue=an(c),we=c.subTree;c.subTree=ue,F(we,ue,p(we.el),Dt(we),c,g,_),w.el=ue.el,N===null&&mo(c,ue.el),P&&pe(P,g),(fe=w.props&&w.props.onVnodeUpdated)&&pe(()=>Ce(fe,D,w,K),g)}else{let w;const{el:C,props:P}=u,{bm:D,m:K,parent:N,root:fe,type:ue}=c,we=wt(u);Xe(c,!1),D&&ls(D),!we&&(w=P&&P.onVnodeBeforeMount)&&Ce(w,N,u),Xe(c,!0);{fe.ce&&fe.ce._def.shadowRoot!==!1&&fe.ce._injectChildStyle(ue);const Se=c.subTree=an(c);F(null,Se,d,b,c,g,_),u.el=Se.el}if(K&&pe(K,g),!we&&(w=P&&P.onVnodeMounted)){const Se=u;pe(()=>Ce(w,N,Se),g)}(u.shapeFlag&256||N&&wt(N.vnode)&&N.vnode.shapeFlag&256)&&c.a&&pe(c.a,g),c.isMounted=!0,u=d=b=null}};c.scope.on();const v=c.effect=new Hn(y);c.scope.off();const m=c.update=v.run.bind(v),A=c.job=v.runIfDirty.bind(v);A.i=c,A.id=c.uid,v.scheduler=()=>Vs(A),Xe(c,!0),m()},J=(c,u,d)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,Zi(c,u.props,b,d),so(c,u.children,d),He(),sn(c),Ne()},V=(c,u,d,b,g,_,x,y,v=!1)=>{const m=c&&c.children,A=c?c.shapeFlag:0,w=u.children,{patchFlag:C,shapeFlag:P}=u;if(C>0){if(C&128){Ft(m,w,d,b,g,_,x,y,v);return}else if(C&256){Je(m,w,d,b,g,_,x,y,v);return}}P&8?(A&16&&dt(m,g,_),w!==m&&a(d,w)):A&16?P&16?Ft(m,w,d,b,g,_,x,y,v):dt(m,g,_,!0):(A&8&&a(d,""),P&16&&O(w,d,b,g,_,x,y,v))},Je=(c,u,d,b,g,_,x,y,v)=>{c=c||it,u=u||it;const m=c.length,A=u.length,w=Math.min(m,A);let C;for(C=0;C<w;C++){const P=u[C]=v?Ve(u[C]):Te(u[C]);F(c[C],P,d,null,g,_,x,y,v)}m>A?dt(c,g,_,!0,!1,w):O(u,d,b,g,_,x,y,v,w)},Ft=(c,u,d,b,g,_,x,y,v)=>{let m=0;const A=u.length;let w=c.length-1,C=A-1;for(;m<=w&&m<=C;){const P=c[m],D=u[m]=v?Ve(u[m]):Te(u[m]);if(_t(P,D))F(P,D,d,null,g,_,x,y,v);else break;m++}for(;m<=w&&m<=C;){const P=c[w],D=u[C]=v?Ve(u[C]):Te(u[C]);if(_t(P,D))F(P,D,d,null,g,_,x,y,v);else break;w--,C--}if(m>w){if(m<=C){const P=C+1,D=P<A?u[P].el:b;for(;m<=C;)F(null,u[m]=v?Ve(u[m]):Te(u[m]),d,D,g,_,x,y,v),m++}}else if(m>C)for(;m<=w;)xe(c[m],g,_,!0),m++;else{const P=m,D=m,K=new Map;for(m=D;m<=C;m++){const he=u[m]=v?Ve(u[m]):Te(u[m]);he.key!=null&&K.set(he.key,m)}let N,fe=0;const ue=C-D+1;let we=!1,Se=0;const pt=new Array(ue);for(m=0;m<ue;m++)pt[m]=0;for(m=P;m<=w;m++){const he=c[m];if(fe>=ue){xe(he,g,_,!0);continue}let Ee;if(he.key!=null)Ee=K.get(he.key);else for(N=D;N<=C;N++)if(pt[N-D]===0&&_t(he,u[N])){Ee=N;break}Ee===void 0?xe(he,g,_,!0):(pt[Ee-D]=m+1,Ee>=Se?Se=Ee:we=!0,F(he,u[Ee],d,null,g,_,x,y,v),fe++)}const Ys=we?oo(pt):it;for(N=Ys.length-1,m=ue-1;m>=0;m--){const he=D+m,Ee=u[he],Xs=u[he+1],Zs=he+1<A?Xs.el||Xs.placeholder:b;pt[m]===0?F(null,Ee,d,Zs,g,_,x,y,v):we&&(N<0||m!==Ys[N]?ze(Ee,d,Zs,2):N--)}}},ze=(c,u,d,b,g=null)=>{const{el:_,type:x,transition:y,children:v,shapeFlag:m}=c;if(m&6){ze(c.component.subTree,u,d,b);return}if(m&128){c.suspense.move(u,d,b);return}if(m&64){x.move(c,u,d,ht);return}if(x===me){n(_,u,d);for(let w=0;w<v.length;w++)ze(v[w],u,d,b);n(c.anchor,u,d);return}if(x===_s){q(c,u,d);return}if(b!==2&&m&1&&y)if(b===0)y.beforeEnter(_),n(_,u,d),pe(()=>y.enter(_),g);else{const{leave:w,delayLeave:C,afterLeave:P}=y,D=()=>{c.ctx.isUnmounted?r(_):n(_,u,d)},K=()=>{_._isLeaving&&_[Pi](!0),w(_,()=>{D(),P&&P()})};C?C(_,D,K):K()}else n(_,u,d)},xe=(c,u,d,b=!1,g=!1)=>{const{type:_,props:x,ref:y,children:v,dynamicChildren:m,shapeFlag:A,patchFlag:w,dirs:C,cacheIndex:P}=c;if(w===-2&&(g=!1),y!=null&&(He(),xt(y,null,d,c,!0),Ne()),P!=null&&(u.renderCache[P]=void 0),A&256){u.ctx.deactivate(c);return}const D=A&1&&C,K=!wt(c);let N;if(K&&(N=x&&x.onVnodeBeforeUnmount)&&Ce(N,u,c),A&6)Dr(c.component,d,b);else{if(A&128){c.suspense.unmount(d,b);return}D&&Ye(c,null,u,"beforeUnmount"),A&64?c.type.remove(c,u,d,ht,b):m&&!m.hasOnce&&(_!==me||w>0&&w&64)?dt(m,u,d,!1,!0):(_===me&&w&384||!g&&A&16)&&dt(v,u,d),b&&Js(c)}(K&&(N=x&&x.onVnodeUnmounted)||D)&&pe(()=>{N&&Ce(N,u,c),D&&Ye(c,null,u,"unmounted")},d)},Js=c=>{const{type:u,el:d,anchor:b,transition:g}=c;if(u===me){Fr(d,b);return}if(u===_s){T(c);return}const _=()=>{r(d),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(c.shapeFlag&1&&g&&!g.persisted){const{leave:x,delayLeave:y}=g,v=()=>x(d,_);y?y(c.el,_,v):v()}else _()},Fr=(c,u)=>{let d;for(;c!==u;)d=S(c),r(c),c=d;r(u)},Dr=(c,u,d)=>{const{bum:b,scope:g,job:_,subTree:x,um:y,m:v,a:m}=c;un(v),un(m),b&&ls(b),g.stop(),_&&(_.flags|=8,xe(x,c,u,d)),y&&pe(y,u),pe(()=>{c.isUnmounted=!0},u)},dt=(c,u,d,b=!1,g=!1,_=0)=>{for(let x=_;x<c.length;x++)xe(c[x],u,d,b,g)},Dt=c=>{if(c.shapeFlag&6)return Dt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=S(c.anchor||c.el),d=u&&u[Ti];return d?S(d):u};let is=!1;const zs=(c,u,d)=>{c==null?u._vnode&&xe(u._vnode,null,null,!0):F(u._vnode||null,c,u,null,null,null,d),u._vnode=c,is||(is=!0,sn(),tr(),is=!1)},ht={p:F,um:xe,m:ze,r:Js,mt:ce,mc:O,pc:V,pbc:j,n:Dt,o:e};return{render:zs,hydrate:void 0,createApp:zi(zs)}}function ps({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Xe({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function io(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xr(e,t,s=!1){const n=e.children,r=t.children;if(M(n)&&M(r))for(let i=0;i<n.length;i++){const o=n[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Ve(r[i]),l.el=o.el),!s&&l.patchFlag!==-2&&xr(o,l)),l.type===rs&&l.patchFlag!==-1&&(l.el=o.el),l.type===ut&&!l.el&&(l.el=o.el)}}function oo(e){const t=e.slice(),s=[0];let n,r,i,o,l;const f=e.length;for(n=0;n<f;n++){const h=e[n];if(h!==0){if(r=s[s.length-1],e[r]<h){t[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)l=i+o>>1,e[s[l]]<h?i=l+1:o=l;h<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function wr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:wr(t)}function un(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const lo=Symbol.for("v-scx"),co=()=>Nt(lo);function gs(e,t,s){return Sr(e,t,s)}function Sr(e,t,s=k){const{immediate:n,deep:r,flush:i,once:o}=s,l=ne({},s),f=t&&n||!t&&i!=="post";let h;if(Mt){if(i==="sync"){const E=co();h=E.__watcherHandles||(E.__watcherHandles=[])}else if(!f){const E=()=>{};return E.stop=Pe,E.resume=Pe,E.pause=Pe,E}}const a=oe;l.call=(E,R,F)=>Me(E,a,R,F);let p=!1;i==="post"?l.scheduler=E=>{pe(E,a&&a.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(E,R)=>{R?E():Vs(E)}),l.augmentJob=E=>{t&&(E.flags|=4),p&&(E.flags|=2,a&&(E.id=a.uid,E.i=a))};const S=xi(e,t,l);return Mt&&(h?h.push(S):f&&S()),S}function fo(e,t,s){const n=this.proxy,r=X(e)?e.includes(".")?Er(n,e):()=>n[e]:e.bind(n,n);let i;I(t)?i=t:(i=t.handler,s=t);const o=Rt(this),l=Sr(r,i.bind(n),s);return o(),l}function Er(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}const uo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ke(t)}Modifiers`]||e[`${tt(t)}Modifiers`];function ao(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||k;let r=s;const i=t.startsWith("update:"),o=i&&uo(n,t.slice(7));o&&(o.trim&&(r=s.map(a=>X(a)?a.trim():a)),o.number&&(r=s.map(Nr)));let l,f=n[l=os(t)]||n[l=os(ke(t))];!f&&i&&(f=n[l=os(tt(t))]),f&&Me(f,e,6,r);const h=n[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Me(h,e,6,r)}}const ho=new WeakMap;function Cr(e,t,s=!1){const n=s?ho:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!I(e)){const f=h=>{const a=Cr(h,t,!0);a&&(l=!0,ne(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!l?(G(e)&&n.set(e,null),null):(M(i)?i.forEach(f=>o[f]=null):ne(o,i),G(e)&&n.set(e,o),o)}function ns(e,t){return!e||!zt(t)?!1:(t=t.slice(2).replace(/Once$/,""),H(e,t[0].toLowerCase()+t.slice(1))||H(e,tt(t))||H(e,t))}function an(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:f,render:h,renderCache:a,props:p,data:S,setupState:E,ctx:R,inheritAttrs:F}=e,Z=kt(e);let L,B;try{if(s.shapeFlag&4){const T=r||n,z=T;L=Te(h.call(z,T,a,p,E,S,R)),B=l}else{const T=t;L=Te(T.length>1?T(p,{attrs:l,slots:o,emit:f}):T(p,null)),B=t.props?l:po(l)}}catch(T){Et.length=0,ts(T,e,1),L=et(ut)}let q=L;if(B&&F!==!1){const T=Object.keys(B),{shapeFlag:z}=q;T.length&&z&7&&(i&&T.some(Is)&&(B=go(B,i)),q=at(q,B,!1,!0))}return s.dirs&&(q=at(q,null,!1,!0),q.dirs=q.dirs?q.dirs.concat(s.dirs):s.dirs),s.transition&&Ks(q,s.transition),L=q,kt(Z),L}const po=e=>{let t;for(const s in e)(s==="class"||s==="style"||zt(s))&&((t||(t={}))[s]=e[s]);return t},go=(e,t)=>{const s={};for(const n in e)(!Is(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function _o(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:l,patchFlag:f}=t,h=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?dn(n,o,h):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const S=a[p];if(o[S]!==n[S]&&!ns(h,S))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?dn(n,o,h):!0:!!o;return!1}function dn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(t[i]!==e[i]&&!ns(s,i))return!0}return!1}function mo({vnode:e,parent:t},s){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=s,t=t.parent;else break}}const Ar=e=>e.__isSuspense;function bo(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):Ci(e)}const me=Symbol.for("v-fgt"),rs=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),_s=Symbol.for("v-stc"),Et=[];let ge=null;function De(e=!1){Et.push(ge=e?null:[])}function vo(){Et.pop(),ge=Et[Et.length-1]||null}let Pt=1;function hn(e,t=!1){Pt+=e,e<0&&ge&&t&&(ge.hasOnce=!0)}function yo(e){return e.dynamicChildren=Pt>0?ge||it:null,vo(),Pt>0&&ge&&ge.push(e),e}function Le(e,t,s,n,r,i){return yo(_e(e,t,s,n,r,i,!0))}function Tr(e){return e?e.__v_isVNode===!0:!1}function _t(e,t){return e.type===t.type&&e.key===t.key}const Or=({key:e})=>e??null,Bt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?X(e)||se(e)||I(e)?{i:Oe,r:e,k:t,f:!!s}:e:null);function _e(e,t=null,s=null,n=0,r=null,i=e===me?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Or(t),ref:t&&Bt(t),scopeId:nr,slotScopeIds:null,children:s,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:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Oe};return l?(qs(f,s),i&128&&e.normalize(f)):s&&(f.shapeFlag|=X(s)?8:16),Pt>0&&!o&&ge&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&ge.push(f),f}const et=xo;function xo(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===Ui)&&(e=ut),Tr(e)){const l=at(e,t,!0);return s&&qs(l,s),Pt>0&&!i&&ge&&(l.shapeFlag&6?ge[ge.indexOf(e)]=l:ge.push(l)),l.patchFlag=-2,l}if(Fo(e)&&(e=e.__vccOpts),t){t=wo(t);let{class:l,style:f}=t;l&&!X(l)&&(t.class=Ct(l)),G(f)&&(Us(f)&&!M(f)&&(f=ne({},f)),t.style=Qt(f))}const o=X(e)?1:Ar(e)?128:Oi(e)?64:G(e)?4:I(e)?2:0;return _e(e,t,s,n,r,o,i,!0)}function wo(e){return e?Us(e)||gr(e)?ne({},e):e:null}function at(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:f}=e,h=t?Eo(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Or(h),ref:t&&t.ref?s&&i?M(i)?i.concat(Bt(t)):[i,Bt(t)]:Bt(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!==me?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&at(e.ssContent),ssFallback:e.ssFallback&&at(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&Ks(a,f.clone(a)),a}function So(e=" ",t=0){return et(rs,null,e,t)}function Te(e){return e==null||typeof e=="boolean"?et(ut):M(e)?et(me,null,e.slice()):Tr(e)?Ve(e):et(rs,null,String(e))}function Ve(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:at(e)}function qs(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(M(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),qs(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!gr(t)?t._ctx=Oe:r===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else I(t)?(t={default:t,_ctx:Oe},s=32):(t=String(t),n&64?(s=16,t=[So(t)]):s=8);e.children=t,e.shapeFlag|=s}function Eo(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=Ct([t.class,n.class]));else if(r==="style")t.style=Qt([t.style,n.style]);else if(zt(r)){const i=t[r],o=n[r];o&&i!==o&&!(M(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=n[r])}return t}function Ce(e,t,s,n=null){Me(e,t,7,[s,n])}const Co=dr();let Ao=0;function To(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||Co,i={uid:Ao++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new qr(!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:mr(n,r),emitsOptions:Cr(n,r),emit:null,emitted:null,propsDefaults:k,inheritAttrs:n.inheritAttrs,ctx:k,data:k,props:k,attrs:k,slots:k,refs:k,setupState:k,setupContext:null,suspense:s,suspenseId:s?s.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=ao.bind(null,i),e.ce&&e.ce(i),i}let oe=null;const Oo=()=>oe||Oe;let Jt,Os;{const e=Zt(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Jt=t("__VUE_INSTANCE_SETTERS__",s=>oe=s),Os=t("__VUE_SSR_SETTERS__",s=>Mt=s)}const Rt=e=>{const t=oe;return Jt(e),e.scope.on(),()=>{e.scope.off(),Jt(t)}},pn=()=>{oe&&oe.scope.off(),Jt(null)};function Pr(e){return e.vnode.shapeFlag&4}let Mt=!1;function Po(e,t=!1,s=!1){t&&Os(t);const{props:n,children:r}=e.vnode,i=Pr(e);Xi(e,n,i,t),to(e,r,s||t);const o=i?Mo(e,t):void 0;return t&&Os(!1),o}function Mo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Vi);const{setup:n}=s;if(n){He();const r=e.setupContext=n.length>1?Ro(e):null,i=Rt(e),o=It(n,e,0,[e.props,r]),l=Mn(o);if(Ne(),i(),(l||e.sp)&&!wt(e)&&rr(e),l){if(o.then(pn,pn),t)return o.then(f=>{gn(e,f)}).catch(f=>{ts(f,e,0)});e.asyncDep=o}else gn(e,o)}else Mr(e)}function gn(e,t,s){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:G(t)&&(e.setupState=Zn(t)),Mr(e)}function Mr(e,t,s){const n=e.type;e.render||(e.render=n.render||Pe);{const r=Rt(e);He();try{Ki(e)}finally{Ne(),r()}}}const Io={get(e,t){return te(e,"get",""),e[t]}};function Ro(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Io),slots:e.slots,emit:e.emit,expose:t}}function Gs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zn(hi(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in St)return St[s](e)},has(t,s){return s in t||s in St}})):e.proxy}function Fo(e){return I(e)&&"__vccOpts"in e}const Ir=(e,t)=>vi(e,t,Mt),Do="3.5.24";let Ps;const _n=typeof window<"u"&&window.trustedTypes;if(_n)try{Ps=_n.createPolicy("vue",{createHTML:e=>e})}catch{}const Rr=Ps?e=>Ps.createHTML(e):e=>e,Lo="http://www.w3.org/2000/svg",jo="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,mn=je&&je.createElement("template"),$o={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?je.createElementNS(Lo,e):t==="mathml"?je.createElementNS(jo,e):s?je.createElement(e,{is:s}):je.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{mn.innerHTML=Rr(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=mn.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Ho=Symbol("_vtc");function No(e,t,s){const n=e[Ho];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const bn=Symbol("_vod"),Bo=Symbol("_vsh"),Uo=Symbol(""),Vo=/(?:^|;)\s*display\s*:/;function Ko(e,t,s){const n=e.style,r=X(s);let i=!1;if(s&&!r){if(t)if(X(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Ut(n,l,"")}else for(const o in t)s[o]==null&&Ut(n,o,"");for(const o in s)o==="display"&&(i=!0),Ut(n,o,s[o])}else if(r){if(t!==s){const o=n[Uo];o&&(s+=";"+o),n.cssText=s,i=Vo.test(s)}}else t&&e.removeAttribute("style");bn in e&&(e[bn]=i?n.display:"",e[Bo]&&(n.display="none"))}const vn=/\s*!important$/;function Ut(e,t,s){if(M(s))s.forEach(n=>Ut(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Wo(e,t);vn.test(s)?e.setProperty(tt(n),s.replace(vn,""),"important"):e[n]=s}}const yn=["Webkit","Moz","ms"],ms={};function Wo(e,t){const s=ms[t];if(s)return s;let n=ke(t);if(n!=="filter"&&n in e)return ms[t]=n;n=Fn(n);for(let r=0;r<yn.length;r++){const i=yn[r]+n;if(i in e)return ms[t]=i}return t}const xn="http://www.w3.org/1999/xlink";function wn(e,t,s,n,r,i=kr(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(xn,t.slice(6,t.length)):e.setAttributeNS(xn,t,s):s==null||i&&!Ln(s)?e.removeAttribute(t):e.setAttribute(t,i?"":Ge(s)?String(s):s)}function Sn(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Rr(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,f=s==null?e.type==="checkbox"?"on":"":String(s);(l!==f||!("_value"in e))&&(e.value=f),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Ln(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(r||t)}function ko(e,t,s,n){e.addEventListener(t,s,n)}function qo(e,t,s,n){e.removeEventListener(t,s,n)}const En=Symbol("_vei");function Go(e,t,s,n,r=null){const i=e[En]||(e[En]={}),o=i[t];if(n&&o)o.value=n;else{const[l,f]=Jo(t);if(n){const h=i[t]=Xo(n,r);ko(e,l,h,f)}else o&&(qo(e,l,o,f),i[t]=void 0)}}const Cn=/(?:Once|Passive|Capture)$/;function Jo(e){let t;if(Cn.test(e)){t={};let n;for(;n=e.match(Cn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):tt(e.slice(2)),t]}let bs=0;const zo=Promise.resolve(),Yo=()=>bs||(zo.then(()=>bs=0),bs=Date.now());function Xo(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Me(Zo(n,s.value),t,5,[n])};return s.value=e,s.attached=Yo(),s}function Zo(e,t){if(M(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const An=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Qo=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?No(e,n,o):t==="style"?Ko(e,s,n):zt(t)?Is(t)||Go(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):el(e,t,n,o))?(Sn(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&wn(e,t,n,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!X(n))?Sn(e,ke(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),wn(e,t,n,o))};function el(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&An(t)&&I(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||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 An(t)&&X(s)?!1:t in e}const tl=ne({patchProp:Qo},$o);let Tn;function sl(){return Tn||(Tn=no(tl))}const nl=((...e)=>{const t=sl().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=il(n);if(!r)return;const i=t._component;!I(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,rl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function rl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function il(e){return X(e)?document.querySelector(e):e}const ol="/20251116/assets/%E9%BA%A6%E5%8D%89%20-%20%E5%89%8D%E4%BA%BA%E7%A7%8D%E6%A0%91%E5%90%8E%E4%BA%BA%E5%87%89%E3%80%8A%E6%BD%AE%E5%B7%9E%E5%8A%B2%E6%AD%8C%E9%87%91%E6%9B%B2%E3%80%8B.mp4",ll={class:"relative flex flex-col h-screen w-screen"},cl={class:"bg-red-500 backdrop-blur-md border-white/40 shadow-lg"},fl={class:"flex items-center"},ul={class:"p-4 text-6xl font-bold text-nowrap bg-black/50 text-white"},al={class:"overflow-hidden flex-1 mask-x-from-95% mask-x-to-100%"},dl={class:"flex w-max pl-8 gap-8 special-marquee-track items-center text-white"},hl={key:0,class:"px-3 py-1 border-2 border-white inline-block"},pl={key:1,class:"inline-block"},gl={class:"relative flex-1 bg-linear-to-br from-red-600 via-purple-800 to-slate-900 overflow-hidden"},_l=["src","alt","onClick","aria-hidden","tabindex","title"],ml={class:"absolute bottom-6 left-1/2 -translate-x-1/2 z-50 flex gap-2"},bl=["onClick","aria-label"],vl=4500,yl=Mi({__name:"App",setup(e){const t=nt("照片墙"),s=nt([]),n=nt([]),r=nt(0),i=nt(null);let o=null;const l=nt(!1),f=[{name:"示例名字",isPassedAway:!1,_uid:"n-demo"}],h=[{id:"fallback",src:"https://placehold.co/1600x900?text=Fallback",alt:"回退图"}],a=async()=>{try{const[O,U]=await Promise.all([fetch("./nameList.json"),fetch("./images.json")]);if(!O.ok)throw new Error("加载 nameList.json 失败: "+O.status);if(!U.ok)throw new Error("加载 images.json 失败: "+U.status);const j=await O.json(),Y=await U.json();t.value=j.title||t.value;const le=(j.nameList||[]).map((ce,Re)=>({name:String(ce.name??`名字 ${Re}`),isPassedAway:!!ce.isPassedAway,_uid:ce._uid?String(ce._uid):`n-${Re}`}));s.value=le.length?le:f;const Ie=(Y.images||[]).map((ce,Re)=>({id:String(ce.id??`img-${Re}`),src:String(ce.src??""),alt:ce.alt?String(ce.alt):""}));n.value=Ie.length?Ie:h}catch(O){console.error(O),t.value="照片墙",s.value=f,n.value=h}};lr(async()=>{await a(),T(),window.addEventListener("keydown",q)}),cr(()=>{z(),window.removeEventListener("keydown",q)});const p=Ir(()=>{const O=s.value.map(j=>({...j,_uid:j._uid+"-a"})),U=s.value.map(j=>({...j,_uid:j._uid+"-b"}));return[...O,...U]}),S=O=>{const U=n.value.length;if(U===0)return{};const j=(O-r.value+U)%U,Y=Math.floor(U/2);let le=j;j>Y&&(le=j-U);const Ie=le*125,Re=O===r.value?1.06:.92,Q=Math.abs(le)>3?0:Math.max(.25,1-Math.abs(le)*.18);return{transform:`translate(-50%, -50%) translateX(${Ie}%) scale(${Re})`,opacity:String(Q)}},E=O=>O===r.value?"w-7xl":"w-5xl",R=()=>{const O=n.value.length;O!==0&&(r.value=(r.value-1+O)%O)},F=()=>{const O=n.value.length;O!==0&&(r.value=(r.value+1)%O)},Z=O=>{O<0||O>=n.value.length||(r.value=O)},L=O=>{O!==r.value?Z(O):console.log("点击中心图",n.value[O])},B=()=>{const O=i.value;if(O)try{O.paused?O.play().catch(U=>console.error(U)):O.pause()}catch(U){console.error("切换背景视频失败:",U)}},q=O=>{const U=String(O.key);U==="ArrowLeft"?R():U==="ArrowRight"?F():U===" "?(O.preventDefault(),l.value?de():ve()):U.toLowerCase()==="p"&&B()},T=()=>{z(),o=setInterval(()=>{l.value||F()},vl)},z=()=>{o&&(clearInterval(o),o=null)},ve=()=>{l.value=!0},de=()=>{l.value=!1};return(O,U)=>(De(),Le("div",ll,[_e("video",{src:ol,class:"absolute w-full h-full object-cover blur-2xl",autoplay:"",loop:"",controls:"",ref_key:"bgVideo",ref:i},null,512),_e("div",cl,[_e("div",fl,[_e("div",ul,Ht(t.value),1),_e("div",al,[_e("div",dl,[(De(!0),Le(me,null,ds(p.value,j=>(De(),Le("div",{key:j._uid,class:"text-4xl select-none"},[j.isPassedAway?(De(),Le("div",hl,Ht(j.name),1)):(De(),Le("div",pl,Ht(j.name),1))]))),128))])])])]),_e("div",gl,[_e("button",{onClick:R,class:"absolute left-6 top-1/2 -translate-y-1/2 z-40 bg-black/40 p-3 rounded-full hover:bg-black/60"}," "),_e("button",{onClick:F,class:"absolute right-6 top-1/2 -translate-y-1/2 z-40 bg-black/40 p-3 rounded-full hover:bg-black/60"}," "),(De(!0),Le(me,null,ds(n.value,(j,Y)=>(De(),Le("img",{key:j.id,src:j.src,alt:j.alt||`Image ${Y}`,class:Ct(["carousel-item rounded-2xl shadow-2xl pointer-events-none",E(Y)]),style:Qt(S(Y)),onClick:le=>L(Y),onMouseenter:ve,onMouseleave:de,"aria-hidden":Y===r.value?"false":"true",tabindex:Y===r.value?0:-1,title:j.alt||"",loading:"lazy"},null,46,_l))),128)),_e("div",ml,[(De(!0),Le(me,null,ds(n.value,(j,Y)=>(De(),Le("button",{key:j.id+"dot",onClick:le=>Z(Y),class:Ct(["w-3 h-3 rounded-full",Y===r.value?"bg-white":"bg-white/30"]),"aria-label":"跳转到图片 "+(Y+1)},null,10,bl))),128))])])]))}}),xl=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},wl=xl(yl,[["__scopeId","data-v-f4c64cc3"]]);nl(wl).mount("#app");