evmux-app-framework 0.0.30 → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evmux-app-framework",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -129,9 +129,7 @@ let createEventResultObject = (requestName, eventName, result) => {
129
129
  {
130
130
 
131
131
  if (this._userAppInstances[requestObj.userAppInstanceId]) {
132
- this._eventHandler.publish("updateSettings", requestObj)
133
- this._eventHandler.publish("updateEverywhere", requestObj)
134
- this.updateAndNotifyAppInstancesOnSettingsUpdate(requestObj.userAppInstanceId, requestObj.data, requestObj.componentId)
132
+ this.updateSettingsAndPublish(requestObj);
135
133
  }
136
134
  }
137
135
  else if (requestObj.request == availableRequests.raiseAppMessagingEvent)
@@ -190,7 +188,13 @@ let createEventResultObject = (requestName, eventName, result) => {
190
188
  PostMessageManager.respondForPromiseBasedRequest(requestObj, evt.source, evt.origin, result);
191
189
  }
192
190
  }
193
-
191
+
192
+ updateSettingsAndPublish(requestObj) {
193
+ this._eventHandler.publish("updateSettings", requestObj)
194
+ this._eventHandler.publish("updateEverywhere", requestObj)
195
+ this.updateAndNotifyAppInstancesOnSettingsUpdate(requestObj.userAppInstanceId, requestObj.data, requestObj.componentId)
196
+ }
197
+
194
198
  onUserAppComponentUnload(userAppInstanceId, componentId)
195
199
  {
196
200
  if (this._userAppInstances[userAppInstanceId] && this._userAppInstances[userAppInstanceId].instances[componentId]) {
@@ -1 +1 @@
1
- :root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0 auto;padding:2rem;font-weight:400}a,.green{text-decoration:none;color:#00bd7e;transition:.4s}@media (hover: hover){a:hover{background-color:#00bd7e33}}@media (min-width: 1024px){body{display:flex;place-items:center}#app{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem}}.resizer[data-v-2bd7136c]{display:flex;margin:0;padding:0;resize:both;overflow:hidden}.resizer>.resized[data-v-2bd7136c]{flex-grow:1;margin:0;padding:0;border:0}.grayone[data-v-2bd7136c]{background:#cccccc;border:1px dashed black;height:500px;width:500px}.panel[data-v-2bd7136c]{border:solid 1px #cccccc}
1
+ :root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0 auto;padding:2rem;font-weight:400}a,.green{text-decoration:none;color:#00bd7e;transition:.4s}@media (hover: hover){a:hover{background-color:#00bd7e33}}@media (min-width: 1024px){body{display:flex;place-items:center}#app{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem}}.resizer[data-v-f3e17de6]{display:flex;margin:0;padding:0;resize:both;overflow:hidden}.resizer>.resized[data-v-f3e17de6]{flex-grow:1;margin:0;padding:0;border:0}.grayone[data-v-f3e17de6]{background:#cccccc;border:1px dashed black;height:500px;width:500px}.panel[data-v-f3e17de6]{border:solid 1px #cccccc}
@@ -1,9 +1,9 @@
1
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function Zn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const Y={},ft=[],ye=()=>{},Pi=()=>!1,Ci=/^on[^a-z]/,dn=e=>Ci.test(e),es=e=>e.startsWith("onUpdate:"),ee=Object.assign,ts=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ti=Object.prototype.hasOwnProperty,k=(e,t)=>Ti.call(e,t),N=Array.isArray,St=e=>hn(e)==="[object Map]",Oi=e=>hn(e)==="[object Set]",U=e=>typeof e=="function",te=e=>typeof e=="string",ns=e=>typeof e=="symbol",Q=e=>e!==null&&typeof e=="object",Ir=e=>Q(e)&&U(e.then)&&U(e.catch),Si=Object.prototype.toString,hn=e=>Si.call(e),Mi=e=>hn(e).slice(8,-1),Fi=e=>hn(e)==="[object Object]",ss=e=>te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xt=Zn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),pn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Hi=/-(\w)/g,gt=pn(e=>e.replace(Hi,(t,n)=>n?n.toUpperCase():"")),ji=/\B([A-Z])/g,Et=pn(e=>e.replace(ji,"-$1").toLowerCase()),xr=pn(e=>e.charAt(0).toUpperCase()+e.slice(1)),In=pn(e=>e?`on${xr(e)}`:""),Bt=(e,t)=>!Object.is(e,t),xn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},rn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},qi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ts;const jn=()=>Ts||(Ts=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function rs(e){if(N(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=te(s)?Li(s):rs(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(te(e))return e;if(Q(e))return e}}const Bi=/;(?![^(]*\))/g,Ni=/:([^]+)/,Ui=/\/\*[^]*?\*\//g;function Li(e){const t={};return e.replace(Ui,"").split(Bi).forEach(n=>{if(n){const s=n.split(Ni);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function is(e){let t="";if(te(e))t=e;else if(N(e))for(let n=0;n<e.length;n++){const s=is(e[n]);s&&(t+=s+" ")}else if(Q(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ki="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$i=Zn(ki);function Rr(e){return!!e||e===""}let ge;class Pr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ge,!t&&ge&&(this.index=(ge.scopes||(ge.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ge;try{return ge=this,t()}finally{ge=n}}}on(){ge=this}off(){ge=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!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,this._active=!1}}}function Di(e){return new Pr(e)}function Ki(e,t=ge){t&&t.active&&t.effects.push(e)}function zi(){return ge}const os=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Cr=e=>(e.w&Je)>0,Tr=e=>(e.n&Je)>0,Wi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Je},Gi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Cr(r)&&!Tr(r)?r.delete(e):t[n++]=r,r.w&=~Je,r.n&=~Je}t.length=n}},qn=new WeakMap;let Ct=0,Je=1;const Bn=30;let me;const tt=Symbol(""),Nn=Symbol("");class ls{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ki(this,s)}run(){if(!this.active)return this.fn();let t=me,n=Ge;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=me,me=this,Ge=!0,Je=1<<++Ct,Ct<=Bn?Wi(this):Os(this),this.fn()}finally{Ct<=Bn&&Gi(this),Je=1<<--Ct,me=this.parent,Ge=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){me===this?this.deferStop=!0:this.active&&(Os(this),this.onStop&&this.onStop(),this.active=!1)}}function Os(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ge=!0;const Or=[];function wt(){Or.push(Ge),Ge=!1}function At(){const e=Or.pop();Ge=e===void 0?!0:e}function fe(e,t,n){if(Ge&&me){let s=qn.get(e);s||qn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=os()),Sr(r)}}function Sr(e,t){let n=!1;Ct<=Bn?Tr(e)||(e.n|=Je,n=!Cr(e)):n=!e.has(me),n&&(e.add(me),me.deps.push(e))}function Ue(e,t,n,s,r,i){const o=qn.get(e);if(!o)return;let u=[];if(t==="clear")u=[...o.values()];else if(n==="length"&&N(e)){const l=Number(s);o.forEach((f,d)=>{(d==="length"||d>=l)&&u.push(f)})}else switch(n!==void 0&&u.push(o.get(n)),t){case"add":N(e)?ss(n)&&u.push(o.get("length")):(u.push(o.get(tt)),St(e)&&u.push(o.get(Nn)));break;case"delete":N(e)||(u.push(o.get(tt)),St(e)&&u.push(o.get(Nn)));break;case"set":St(e)&&u.push(o.get(tt));break}if(u.length===1)u[0]&&Un(u[0]);else{const l=[];for(const f of u)f&&l.push(...f);Un(os(l))}}function Un(e,t){const n=N(e)?e:[...e];for(const s of n)s.computed&&Ss(s);for(const s of n)s.computed||Ss(s)}function Ss(e,t){(e!==me||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Vi=Zn("__proto__,__v_isRef,__isVue"),Mr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ns)),Ji=cs(),Yi=cs(!1,!0),Qi=cs(!0),Ms=Xi();function Xi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=D(this);for(let i=0,o=this.length;i<o;i++)fe(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(D)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){wt();const s=D(this)[t].apply(this,n);return At(),s}}),e}function Zi(e){const t=D(this);return fe(t,"has",e),t.hasOwnProperty(e)}function cs(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?mo:Br:t?qr:jr).get(s))return s;const o=N(s);if(!e){if(o&&k(Ms,r))return Reflect.get(Ms,r,i);if(r==="hasOwnProperty")return Zi}const u=Reflect.get(s,r,i);return(ns(r)?Mr.has(r):Vi(r))||(e||fe(s,"get",r),t)?u:oe(u)?o&&ss(r)?u:u.value:Q(u)?e?Ur(u):mn(u):u}}const eo=Fr(),to=Fr(!0);function Fr(e=!1){return function(n,s,r,i){let o=n[s];if(mt(o)&&oe(o)&&!oe(r))return!1;if(!e&&(!on(r)&&!mt(r)&&(o=D(o),r=D(r)),!N(n)&&oe(o)&&!oe(r)))return o.value=r,!0;const u=N(n)&&ss(s)?Number(s)<n.length:k(n,s),l=Reflect.set(n,s,r,i);return n===D(i)&&(u?Bt(r,o)&&Ue(n,"set",s,r):Ue(n,"add",s,r)),l}}function no(e,t){const n=k(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ue(e,"delete",t,void 0),s}function so(e,t){const n=Reflect.has(e,t);return(!ns(t)||!Mr.has(t))&&fe(e,"has",t),n}function ro(e){return fe(e,"iterate",N(e)?"length":tt),Reflect.ownKeys(e)}const Hr={get:Ji,set:eo,deleteProperty:no,has:so,ownKeys:ro},io={get:Qi,set(e,t){return!0},deleteProperty(e,t){return!0}},oo=ee({},Hr,{get:Yi,set:to}),us=e=>e,gn=e=>Reflect.getPrototypeOf(e);function Wt(e,t,n=!1,s=!1){e=e.__v_raw;const r=D(e),i=D(t);n||(t!==i&&fe(r,"get",t),fe(r,"get",i));const{has:o}=gn(r),u=s?us:n?hs:Nt;if(o.call(r,t))return u(e.get(t));if(o.call(r,i))return u(e.get(i));e!==r&&e.get(t)}function Gt(e,t=!1){const n=this.__v_raw,s=D(n),r=D(e);return t||(e!==r&&fe(s,"has",e),fe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Vt(e,t=!1){return e=e.__v_raw,!t&&fe(D(e),"iterate",tt),Reflect.get(e,"size",e)}function Fs(e){e=D(e);const t=D(this);return gn(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function Hs(e,t){t=D(t);const n=D(this),{has:s,get:r}=gn(n);let i=s.call(n,e);i||(e=D(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?Bt(t,o)&&Ue(n,"set",e,t):Ue(n,"add",e,t),this}function js(e){const t=D(this),{has:n,get:s}=gn(t);let r=n.call(t,e);r||(e=D(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&Ue(t,"delete",e,void 0),i}function qs(){const e=D(this),t=e.size!==0,n=e.clear();return t&&Ue(e,"clear",void 0,void 0),n}function Jt(e,t){return function(s,r){const i=this,o=i.__v_raw,u=D(o),l=t?us:e?hs:Nt;return!e&&fe(u,"iterate",tt),o.forEach((f,d)=>s.call(r,l(f),l(d),i))}}function Yt(e,t,n){return function(...s){const r=this.__v_raw,i=D(r),o=St(i),u=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...s),d=n?us:t?hs:Nt;return!t&&fe(i,"iterate",l?Nn:tt),{next(){const{value:p,done:g}=f.next();return g?{value:p,done:g}:{value:u?[d(p[0]),d(p[1])]:d(p),done:g}},[Symbol.iterator](){return this}}}}function De(e){return function(...t){return e==="delete"?!1:this}}function lo(){const e={get(i){return Wt(this,i)},get size(){return Vt(this)},has:Gt,add:Fs,set:Hs,delete:js,clear:qs,forEach:Jt(!1,!1)},t={get(i){return Wt(this,i,!1,!0)},get size(){return Vt(this)},has:Gt,add:Fs,set:Hs,delete:js,clear:qs,forEach:Jt(!1,!0)},n={get(i){return Wt(this,i,!0)},get size(){return Vt(this,!0)},has(i){return Gt.call(this,i,!0)},add:De("add"),set:De("set"),delete:De("delete"),clear:De("clear"),forEach:Jt(!0,!1)},s={get(i){return Wt(this,i,!0,!0)},get size(){return Vt(this,!0)},has(i){return Gt.call(this,i,!0)},add:De("add"),set:De("set"),delete:De("delete"),clear:De("clear"),forEach:Jt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Yt(i,!1,!1),n[i]=Yt(i,!0,!1),t[i]=Yt(i,!1,!0),s[i]=Yt(i,!0,!0)}),[e,n,t,s]}const[co,uo,ao,fo]=lo();function as(e,t){const n=t?e?fo:ao:e?uo:co;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(k(n,r)&&r in s?n:s,r,i)}const ho={get:as(!1,!1)},po={get:as(!1,!0)},go={get:as(!0,!1)},jr=new WeakMap,qr=new WeakMap,Br=new WeakMap,mo=new WeakMap;function _o(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vo(e){return e.__v_skip||!Object.isExtensible(e)?0:_o(Mi(e))}function mn(e){return mt(e)?e:fs(e,!1,Hr,ho,jr)}function Nr(e){return fs(e,!1,oo,po,qr)}function Ur(e){return fs(e,!0,io,go,Br)}function fs(e,t,n,s,r){if(!Q(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=vo(e);if(o===0)return e;const u=new Proxy(e,o===2?s:n);return r.set(e,u),u}function dt(e){return mt(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function mt(e){return!!(e&&e.__v_isReadonly)}function on(e){return!!(e&&e.__v_isShallow)}function Lr(e){return dt(e)||mt(e)}function D(e){const t=e&&e.__v_raw;return t?D(t):e}function ds(e){return rn(e,"__v_skip",!0),e}const Nt=e=>Q(e)?mn(e):e,hs=e=>Q(e)?Ur(e):e;function kr(e){Ge&&me&&(e=D(e),Sr(e.dep||(e.dep=os())))}function $r(e,t){e=D(e);const n=e.dep;n&&Un(n)}function oe(e){return!!(e&&e.__v_isRef===!0)}function ln(e){return Dr(e,!1)}function bo(e){return Dr(e,!0)}function Dr(e,t){return oe(e)?e:new yo(e,t)}class yo{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:D(t),this._value=n?t:Nt(t)}get value(){return kr(this),this._value}set value(t){const n=this.__v_isShallow||on(t)||mt(t);t=n?t:D(t),Bt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Nt(t),$r(this))}}function ht(e){return oe(e)?e.value:e}const Eo={get:(e,t,n)=>ht(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 Kr(e){return dt(e)?e:new Proxy(e,Eo)}class wo{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ls(t,()=>{this._dirty||(this._dirty=!0,$r(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=D(this);return kr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ao(e,t,n=!1){let s,r;const i=U(e);return i?(s=e,r=ye):(s=e.get,r=e.set),new wo(s,r,i||!r,n)}function Ve(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){_n(i,t,n)}return r}function Ee(e,t,n,s){if(U(e)){const i=Ve(e,t,n,s);return i&&Ir(i)&&i.catch(o=>{_n(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ee(e[i],t,n,s));return r}function _n(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,u=n;for(;i;){const f=i.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,o,u)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){Ve(l,null,10,[e,o,u]);return}}Io(e,n,r,s)}function Io(e,t,n,s=!0){console.error(e)}let Ut=!1,Ln=!1;const re=[];let Oe=0;const pt=[];let je=null,Ze=0;const zr=Promise.resolve();let ps=null;function Wr(e){const t=ps||zr;return e?t.then(this?e.bind(this):e):t}function xo(e){let t=Oe+1,n=re.length;for(;t<n;){const s=t+n>>>1;Lt(re[s])<e?t=s+1:n=s}return t}function gs(e){(!re.length||!re.includes(e,Ut&&e.allowRecurse?Oe+1:Oe))&&(e.id==null?re.push(e):re.splice(xo(e.id),0,e),Gr())}function Gr(){!Ut&&!Ln&&(Ln=!0,ps=zr.then(Jr))}function Ro(e){const t=re.indexOf(e);t>Oe&&re.splice(t,1)}function Po(e){N(e)?pt.push(...e):(!je||!je.includes(e,e.allowRecurse?Ze+1:Ze))&&pt.push(e),Gr()}function Bs(e,t=Ut?Oe+1:0){for(;t<re.length;t++){const n=re[t];n&&n.pre&&(re.splice(t,1),t--,n())}}function Vr(e){if(pt.length){const t=[...new Set(pt)];if(pt.length=0,je){je.push(...t);return}for(je=t,je.sort((n,s)=>Lt(n)-Lt(s)),Ze=0;Ze<je.length;Ze++)je[Ze]();je=null,Ze=0}}const Lt=e=>e.id==null?1/0:e.id,Co=(e,t)=>{const n=Lt(e)-Lt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Jr(e){Ln=!1,Ut=!0,re.sort(Co);const t=ye;try{for(Oe=0;Oe<re.length;Oe++){const n=re[Oe];n&&n.active!==!1&&Ve(n,null,14)}}finally{Oe=0,re.length=0,Vr(),Ut=!1,ps=null,(re.length||pt.length)&&Jr()}}function To(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Y;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:p,trim:g}=s[d]||Y;g&&(r=n.map(E=>te(E)?E.trim():E)),p&&(r=n.map(qi))}let u,l=s[u=In(t)]||s[u=In(gt(t))];!l&&i&&(l=s[u=In(Et(t))]),l&&Ee(l,e,6,r);const f=s[u+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,Ee(f,e,6,r)}}function Yr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},u=!1;if(!U(e)){const l=f=>{const d=Yr(f,t,!0);d&&(u=!0,ee(o,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!u?(Q(e)&&s.set(e,null),null):(N(i)?i.forEach(l=>o[l]=null):ee(o,i),Q(e)&&s.set(e,o),o)}function vn(e,t){return!e||!dn(t)?!1:(t=t.slice(2).replace(/Once$/,""),k(e,t[0].toLowerCase()+t.slice(1))||k(e,Et(t))||k(e,t))}let Se=null,bn=null;function cn(e){const t=Se;return Se=e,bn=e&&e.type.__scopeId||null,t}function Oo(e){bn=e}function So(){bn=null}function Mo(e,t=Se,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Gs(-1);const i=cn(t);let o;try{o=e(...r)}finally{cn(i),s._d&&Gs(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Rn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:u,attrs:l,emit:f,render:d,renderCache:p,data:g,setupState:E,ctx:C,inheritAttrs:O}=e;let B,F;const H=cn(e);try{if(n.shapeFlag&4){const j=r||s;B=Te(d.call(j,j,p,i,E,g,C)),F=l}else{const j=t;B=Te(j.length>1?j(i,{attrs:l,slots:u,emit:f}):j(i,null)),F=t.props?l:Fo(l)}}catch(j){Ft.length=0,_n(j,e,1),B=be(kt)}let $=B;if(F&&O!==!1){const j=Object.keys(F),{shapeFlag:ne}=$;j.length&&ne&7&&(o&&j.some(es)&&(F=Ho(F,o)),$=_t($,F))}return n.dirs&&($=_t($),$.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&($.transition=n.transition),B=$,cn(H),B}const Fo=e=>{let t;for(const n in e)(n==="class"||n==="style"||dn(n))&&((t||(t={}))[n]=e[n]);return t},Ho=(e,t)=>{const n={};for(const s in e)(!es(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function jo(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:u,patchFlag:l}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Ns(s,o,f):!!o;if(l&8){const d=t.dynamicProps;for(let p=0;p<d.length;p++){const g=d[p];if(o[g]!==s[g]&&!vn(f,g))return!0}}}else return(r||u)&&(!u||!u.$stable)?!0:s===o?!1:s?o?Ns(s,o,f):!0:!!o;return!1}function Ns(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!vn(n,i))return!0}return!1}function qo({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Bo=e=>e.__isSuspense;function No(e,t){t&&t.pendingBranch?N(e)?t.effects.push(...e):t.effects.push(e):Po(e)}const Qt={};function Zt(e,t,n){return Qr(e,t,n)}function Qr(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=Y){var u;const l=zi()===((u=ie)==null?void 0:u.scope)?ie:null;let f,d=!1,p=!1;if(oe(e)?(f=()=>e.value,d=on(e)):dt(e)?(f=()=>e,s=!0):N(e)?(p=!0,d=e.some(j=>dt(j)||on(j)),f=()=>e.map(j=>{if(oe(j))return j.value;if(dt(j))return at(j);if(U(j))return Ve(j,l,2)})):U(e)?t?f=()=>Ve(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),Ee(e,l,3,[E])}:f=ye,t&&s){const j=f;f=()=>at(j())}let g,E=j=>{g=H.onStop=()=>{Ve(j,l,4)}},C;if(Dt)if(E=ye,t?n&&Ee(t,l,3,[f(),p?[]:void 0,E]):f(),r==="sync"){const j=Sl();C=j.__watcherHandles||(j.__watcherHandles=[])}else return ye;let O=p?new Array(e.length).fill(Qt):Qt;const B=()=>{if(H.active)if(t){const j=H.run();(s||d||(p?j.some((ne,le)=>Bt(ne,O[le])):Bt(j,O)))&&(g&&g(),Ee(t,l,3,[j,O===Qt?void 0:p&&O[0]===Qt?[]:O,E]),O=j)}else H.run()};B.allowRecurse=!!t;let F;r==="sync"?F=B:r==="post"?F=()=>ae(B,l&&l.suspense):(B.pre=!0,l&&(B.id=l.uid),F=()=>gs(B));const H=new ls(f,F);t?n?B():O=H.run():r==="post"?ae(H.run.bind(H),l&&l.suspense):H.run();const $=()=>{H.stop(),l&&l.scope&&ts(l.scope.effects,H)};return C&&C.push($),$}function Uo(e,t,n){const s=this.proxy,r=te(e)?e.includes(".")?Xr(s,e):()=>s[e]:e.bind(s,s);let i;U(t)?i=t:(i=t.handler,n=t);const o=ie;vt(this);const u=Qr(r,i.bind(s),n);return o?vt(o):nt(),u}function Xr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function at(e,t){if(!Q(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),oe(e))at(e.value,t);else if(N(e))for(let n=0;n<e.length;n++)at(e[n],t);else if(Oi(e)||St(e))e.forEach(n=>{at(n,t)});else if(Fi(e))for(const n in e)at(e[n],t);return e}function Qe(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const u=r[o];i&&(u.oldValue=i[o].value);let l=u.dir[s];l&&(wt(),Ee(l,n,8,[e.el,u,e,t]),At())}}function Zr(e,t){return U(e)?(()=>ee({name:e.name},t,{setup:e}))():e}const en=e=>!!e.type.__asyncLoader,ei=e=>e.type.__isKeepAlive;function Lo(e,t){ti(e,"a",t)}function ko(e,t){ti(e,"da",t)}function ti(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(yn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ei(r.parent.vnode)&&$o(s,t,n,r),r=r.parent}}function $o(e,t,n,s){const r=yn(t,e,s,!0);si(()=>{ts(s[t],r)},n)}function yn(e,t,n=ie,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;wt(),vt(n);const u=Ee(t,n,e,o);return nt(),At(),u});return s?r.unshift(i):r.push(i),i}}const Le=e=>(t,n=ie)=>(!Dt||e==="sp")&&yn(e,(...s)=>t(...s),n),Do=Le("bm"),ni=Le("m"),Ko=Le("bu"),zo=Le("u"),Wo=Le("bum"),si=Le("um"),Go=Le("sp"),Vo=Le("rtg"),Jo=Le("rtc");function Yo(e,t=ie){yn("ec",e,t)}const Qo=Symbol.for("v-ndc"),kn=e=>e?hi(e)?ys(e)||e.proxy:kn(e.parent):null,Mt=ee(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),$emit:e=>e.emit,$options:e=>ms(e),$forceUpdate:e=>e.f||(e.f=()=>gs(e.update)),$nextTick:e=>e.n||(e.n=Wr.bind(e.proxy)),$watch:e=>Uo.bind(e)}),Pn=(e,t)=>e!==Y&&!e.__isScriptSetup&&k(e,t),Xo={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:u,appContext:l}=e;let f;if(t[0]!=="$"){const E=o[t];if(E!==void 0)switch(E){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Pn(s,t))return o[t]=1,s[t];if(r!==Y&&k(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&k(f,t))return o[t]=3,i[t];if(n!==Y&&k(n,t))return o[t]=4,n[t];$n&&(o[t]=0)}}const d=Mt[t];let p,g;if(d)return t==="$attrs"&&fe(e,"get",t),d(e);if((p=u.__cssModules)&&(p=p[t]))return p;if(n!==Y&&k(n,t))return o[t]=4,n[t];if(g=l.config.globalProperties,k(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Pn(r,t)?(r[t]=n,!0):s!==Y&&k(s,t)?(s[t]=n,!0):k(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 u;return!!n[o]||e!==Y&&k(e,o)||Pn(t,o)||(u=i[0])&&k(u,o)||k(s,o)||k(Mt,o)||k(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:k(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Us(e){return N(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let $n=!0;function Zo(e){const t=ms(e),n=e.proxy,s=e.ctx;$n=!1,t.beforeCreate&&Ls(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:u,provide:l,inject:f,created:d,beforeMount:p,mounted:g,beforeUpdate:E,updated:C,activated:O,deactivated:B,beforeDestroy:F,beforeUnmount:H,destroyed:$,unmounted:j,render:ne,renderTracked:le,renderTriggered:Ae,errorCaptured:Me,serverPrefetch:st,expose:Ie,inheritAttrs:ke,components:Ye,directives:xe,filters:It}=t;if(f&&el(f,s,null),o)for(const V in o){const K=o[V];U(K)&&(s[V]=K.bind(n))}if(r){const V=r.call(n,n);Q(V)&&(e.data=mn(V))}if($n=!0,i)for(const V in i){const K=i[V],Fe=U(K)?K.bind(n,n):U(K.get)?K.get.bind(n,n):ye,$e=!U(K)&&U(K.set)?K.set.bind(n):ye,Re=_e({get:Fe,set:$e});Object.defineProperty(s,V,{enumerable:!0,configurable:!0,get:()=>Re.value,set:ue=>Re.value=ue})}if(u)for(const V in u)ri(u[V],s,n,V);if(l){const V=U(l)?l.call(n):l;Reflect.ownKeys(V).forEach(K=>{tn(K,V[K])})}d&&Ls(d,e,"c");function Z(V,K){N(K)?K.forEach(Fe=>V(Fe.bind(n))):K&&V(K.bind(n))}if(Z(Do,p),Z(ni,g),Z(Ko,E),Z(zo,C),Z(Lo,O),Z(ko,B),Z(Yo,Me),Z(Jo,le),Z(Vo,Ae),Z(Wo,H),Z(si,j),Z(Go,st),N(Ie))if(Ie.length){const V=e.exposed||(e.exposed={});Ie.forEach(K=>{Object.defineProperty(V,K,{get:()=>n[K],set:Fe=>n[K]=Fe})})}else e.exposed||(e.exposed={});ne&&e.render===ye&&(e.render=ne),ke!=null&&(e.inheritAttrs=ke),Ye&&(e.components=Ye),xe&&(e.directives=xe)}function el(e,t,n=ye){N(e)&&(e=Dn(e));for(const s in e){const r=e[s];let i;Q(r)?"default"in r?i=Ne(r.from||s,r.default,!0):i=Ne(r.from||s):i=Ne(r),oe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Ls(e,t,n){Ee(N(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ri(e,t,n,s){const r=s.includes(".")?Xr(n,s):()=>n[s];if(te(e)){const i=t[e];U(i)&&Zt(r,i)}else if(U(e))Zt(r,e.bind(n));else if(Q(e))if(N(e))e.forEach(i=>ri(i,t,n,s));else{const i=U(e.handler)?e.handler.bind(n):t[e.handler];U(i)&&Zt(r,i,e)}}function ms(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,u=i.get(t);let l;return u?l=u:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(f=>un(l,f,o,!0)),un(l,t,o)),Q(t)&&i.set(t,l),l}function un(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&un(e,i,n,!0),r&&r.forEach(o=>un(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const u=tl[o]||n&&n[o];e[o]=u?u(e[o],t[o]):t[o]}return e}const tl={data:ks,props:$s,emits:$s,methods:Tt,computed:Tt,beforeCreate:ce,created:ce,beforeMount:ce,mounted:ce,beforeUpdate:ce,updated:ce,beforeDestroy:ce,beforeUnmount:ce,destroyed:ce,unmounted:ce,activated:ce,deactivated:ce,errorCaptured:ce,serverPrefetch:ce,components:Tt,directives:Tt,watch:sl,provide:ks,inject:nl};function ks(e,t){return t?e?function(){return ee(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function nl(e,t){return Tt(Dn(e),Dn(t))}function Dn(e){if(N(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ce(e,t){return e?[...new Set([].concat(e,t))]:t}function Tt(e,t){return e?ee(Object.create(null),e,t):t}function $s(e,t){return e?N(e)&&N(t)?[...new Set([...e,...t])]:ee(Object.create(null),Us(e),Us(t??{})):t}function sl(e,t){if(!e)return t;if(!t)return e;const n=ee(Object.create(null),e);for(const s in t)n[s]=ce(e[s],t[s]);return n}function ii(){return{app:null,config:{isNativeTag:Pi,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 rl=0;function il(e,t){return function(s,r=null){U(s)||(s=ee({},s)),r!=null&&!Q(r)&&(r=null);const i=ii(),o=new Set;let u=!1;const l=i.app={_uid:rl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Ml,get config(){return i.config},set config(f){},use(f,...d){return o.has(f)||(f&&U(f.install)?(o.add(f),f.install(l,...d)):U(f)&&(o.add(f),f(l,...d))),l},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),l},component(f,d){return d?(i.components[f]=d,l):i.components[f]},directive(f,d){return d?(i.directives[f]=d,l):i.directives[f]},mount(f,d,p){if(!u){const g=be(s,r);return g.appContext=i,d&&t?t(g,f):e(g,f,p),u=!0,l._container=f,f.__vue_app__=l,ys(g.component)||g.component.proxy}},unmount(){u&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,d){return i.provides[f]=d,l},runWithContext(f){an=l;try{return f()}finally{an=null}}};return l}}let an=null;function tn(e,t){if(ie){let n=ie.provides;const s=ie.parent&&ie.parent.provides;s===n&&(n=ie.provides=Object.create(s)),n[e]=t}}function Ne(e,t,n=!1){const s=ie||Se;if(s||an){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:an._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&U(t)?t.call(s&&s.proxy):t}}function ol(e,t,n,s=!1){const r={},i={};rn(i,wn,1),e.propsDefaults=Object.create(null),oi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Nr(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function ll(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,u=D(r),[l]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let p=0;p<d.length;p++){let g=d[p];if(vn(e.emitsOptions,g))continue;const E=t[g];if(l)if(k(i,g))E!==i[g]&&(i[g]=E,f=!0);else{const C=gt(g);r[C]=Kn(l,u,C,E,e,!1)}else E!==i[g]&&(i[g]=E,f=!0)}}}else{oi(e,t,r,i)&&(f=!0);let d;for(const p in u)(!t||!k(t,p)&&((d=Et(p))===p||!k(t,d)))&&(l?n&&(n[p]!==void 0||n[d]!==void 0)&&(r[p]=Kn(l,u,p,void 0,e,!0)):delete r[p]);if(i!==u)for(const p in i)(!t||!k(t,p))&&(delete i[p],f=!0)}f&&Ue(e,"set","$attrs")}function oi(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,u;if(t)for(let l in t){if(Xt(l))continue;const f=t[l];let d;r&&k(r,d=gt(l))?!i||!i.includes(d)?n[d]=f:(u||(u={}))[d]=f:vn(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,o=!0)}if(i){const l=D(n),f=u||Y;for(let d=0;d<i.length;d++){const p=i[d];n[p]=Kn(r,l,p,f[p],e,!k(f,p))}}return o}function Kn(e,t,n,s,r,i){const o=e[n];if(o!=null){const u=k(o,"default");if(u&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&U(l)){const{propsDefaults:f}=r;n in f?s=f[n]:(vt(r),s=f[n]=l.call(null,t),nt())}else s=l}o[0]&&(i&&!u?s=!1:o[1]&&(s===""||s===Et(n))&&(s=!0))}return s}function li(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},u=[];let l=!1;if(!U(e)){const d=p=>{l=!0;const[g,E]=li(p,t,!0);ee(o,g),E&&u.push(...E)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return Q(e)&&s.set(e,ft),ft;if(N(i))for(let d=0;d<i.length;d++){const p=gt(i[d]);Ds(p)&&(o[p]=Y)}else if(i)for(const d in i){const p=gt(d);if(Ds(p)){const g=i[d],E=o[p]=N(g)||U(g)?{type:g}:ee({},g);if(E){const C=Ws(Boolean,E.type),O=Ws(String,E.type);E[0]=C>-1,E[1]=O<0||C<O,(C>-1||k(E,"default"))&&u.push(p)}}}const f=[o,u];return Q(e)&&s.set(e,f),f}function Ds(e){return e[0]!=="$"}function Ks(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function zs(e,t){return Ks(e)===Ks(t)}function Ws(e,t){return N(t)?t.findIndex(n=>zs(n,e)):U(t)&&zs(t,e)?0:-1}const ci=e=>e[0]==="_"||e==="$stable",_s=e=>N(e)?e.map(Te):[Te(e)],cl=(e,t,n)=>{if(t._n)return t;const s=Mo((...r)=>_s(t(...r)),n);return s._c=!1,s},ui=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ci(r))continue;const i=e[r];if(U(i))t[r]=cl(r,i,s);else if(i!=null){const o=_s(i);t[r]=()=>o}}},ai=(e,t)=>{const n=_s(t);e.slots.default=()=>n},ul=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=D(t),rn(t,"_",n)):ui(t,e.slots={})}else e.slots={},t&&ai(e,t);rn(e.slots,wn,1)},al=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Y;if(s.shapeFlag&32){const u=t._;u?n&&u===1?i=!1:(ee(r,t),!n&&u===1&&delete r._):(i=!t.$stable,ui(t,r)),o=t}else t&&(ai(e,t),o={default:1});if(i)for(const u in r)!ci(u)&&!(u in o)&&delete r[u]};function zn(e,t,n,s,r=!1){if(N(e)){e.forEach((g,E)=>zn(g,t&&(N(t)?t[E]:t),n,s,r));return}if(en(s)&&!r)return;const i=s.shapeFlag&4?ys(s.component)||s.component.proxy:s.el,o=r?null:i,{i:u,r:l}=e,f=t&&t.r,d=u.refs===Y?u.refs={}:u.refs,p=u.setupState;if(f!=null&&f!==l&&(te(f)?(d[f]=null,k(p,f)&&(p[f]=null)):oe(f)&&(f.value=null)),U(l))Ve(l,u,12,[o,d]);else{const g=te(l),E=oe(l);if(g||E){const C=()=>{if(e.f){const O=g?k(p,l)?p[l]:d[l]:l.value;r?N(O)&&ts(O,i):N(O)?O.includes(i)||O.push(i):g?(d[l]=[i],k(p,l)&&(p[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,k(p,l)&&(p[l]=o)):E&&(l.value=o,e.k&&(d[e.k]=o))};o?(C.id=-1,ae(C,n)):C()}}}const ae=No;function fl(e){return dl(e)}function dl(e,t){const n=jn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:u,createComment:l,setText:f,setElementText:d,parentNode:p,nextSibling:g,setScopeId:E=ye,insertStaticContent:C}=e,O=(c,a,h,m=null,v=null,b=null,x=!1,w=null,A=!!a.dynamicChildren)=>{if(c===a)return;c&&!Rt(c,a)&&(m=_(c),ue(c,v,b,!0),c=null),a.patchFlag===-2&&(A=!1,a.dynamicChildren=null);const{type:y,ref:S,shapeFlag:P}=a;switch(y){case En:B(c,a,h,m);break;case kt:F(c,a,h,m);break;case Cn:c==null&&H(a,h,m,x);break;case Be:Ye(c,a,h,m,v,b,x,w,A);break;default:P&1?ne(c,a,h,m,v,b,x,w,A):P&6?xe(c,a,h,m,v,b,x,w,A):(P&64||P&128)&&y.process(c,a,h,m,v,b,x,w,A,I)}S!=null&&v&&zn(S,c&&c.ref,b,a||c,!a)},B=(c,a,h,m)=>{if(c==null)s(a.el=u(a.children),h,m);else{const v=a.el=c.el;a.children!==c.children&&f(v,a.children)}},F=(c,a,h,m)=>{c==null?s(a.el=l(a.children||""),h,m):a.el=c.el},H=(c,a,h,m)=>{[c.el,c.anchor]=C(c.children,a,h,m,c.el,c.anchor)},$=({el:c,anchor:a},h,m)=>{let v;for(;c&&c!==a;)v=g(c),s(c,h,m),c=v;s(a,h,m)},j=({el:c,anchor:a})=>{let h;for(;c&&c!==a;)h=g(c),r(c),c=h;r(a)},ne=(c,a,h,m,v,b,x,w,A)=>{x=x||a.type==="svg",c==null?le(a,h,m,v,b,x,w,A):st(c,a,v,b,x,w,A)},le=(c,a,h,m,v,b,x,w)=>{let A,y;const{type:S,props:P,shapeFlag:M,transition:q,dirs:L}=c;if(A=c.el=o(c.type,b,P&&P.is,P),M&8?d(A,c.children):M&16&&Me(c.children,A,null,m,v,b&&S!=="foreignObject",x,w),L&&Qe(c,null,m,"created"),Ae(A,c,c.scopeId,x,m),P){for(const G in P)G!=="value"&&!Xt(G)&&i(A,G,null,P[G],b,c.children,m,v,se);"value"in P&&i(A,"value",null,P.value),(y=P.onVnodeBeforeMount)&&Ce(y,m,c)}L&&Qe(c,null,m,"beforeMount");const J=(!v||v&&!v.pendingBranch)&&q&&!q.persisted;J&&q.beforeEnter(A),s(A,a,h),((y=P&&P.onVnodeMounted)||J||L)&&ae(()=>{y&&Ce(y,m,c),J&&q.enter(A),L&&Qe(c,null,m,"mounted")},v)},Ae=(c,a,h,m,v)=>{if(h&&E(c,h),m)for(let b=0;b<m.length;b++)E(c,m[b]);if(v){let b=v.subTree;if(a===b){const x=v.vnode;Ae(c,x,x.scopeId,x.slotScopeIds,v.parent)}}},Me=(c,a,h,m,v,b,x,w,A=0)=>{for(let y=A;y<c.length;y++){const S=c[y]=w?ze(c[y]):Te(c[y]);O(null,S,a,h,m,v,b,x,w)}},st=(c,a,h,m,v,b,x)=>{const w=a.el=c.el;let{patchFlag:A,dynamicChildren:y,dirs:S}=a;A|=c.patchFlag&16;const P=c.props||Y,M=a.props||Y;let q;h&&Xe(h,!1),(q=M.onVnodeBeforeUpdate)&&Ce(q,h,a,c),S&&Qe(a,c,h,"beforeUpdate"),h&&Xe(h,!0);const L=v&&a.type!=="foreignObject";if(y?Ie(c.dynamicChildren,y,w,h,m,L,b):x||K(c,a,w,null,h,m,L,b,!1),A>0){if(A&16)ke(w,a,P,M,h,m,v);else if(A&2&&P.class!==M.class&&i(w,"class",null,M.class,v),A&4&&i(w,"style",P.style,M.style,v),A&8){const J=a.dynamicProps;for(let G=0;G<J.length;G++){const X=J[G],pe=P[X],lt=M[X];(lt!==pe||X==="value")&&i(w,X,pe,lt,v,c.children,h,m,se)}}A&1&&c.children!==a.children&&d(w,a.children)}else!x&&y==null&&ke(w,a,P,M,h,m,v);((q=M.onVnodeUpdated)||S)&&ae(()=>{q&&Ce(q,h,a,c),S&&Qe(a,c,h,"updated")},m)},Ie=(c,a,h,m,v,b,x)=>{for(let w=0;w<a.length;w++){const A=c[w],y=a[w],S=A.el&&(A.type===Be||!Rt(A,y)||A.shapeFlag&70)?p(A.el):h;O(A,y,S,null,m,v,b,x,!0)}},ke=(c,a,h,m,v,b,x)=>{if(h!==m){if(h!==Y)for(const w in h)!Xt(w)&&!(w in m)&&i(c,w,h[w],null,x,a.children,v,b,se);for(const w in m){if(Xt(w))continue;const A=m[w],y=h[w];A!==y&&w!=="value"&&i(c,w,y,A,x,a.children,v,b,se)}"value"in m&&i(c,"value",h.value,m.value)}},Ye=(c,a,h,m,v,b,x,w,A)=>{const y=a.el=c?c.el:u(""),S=a.anchor=c?c.anchor:u("");let{patchFlag:P,dynamicChildren:M,slotScopeIds:q}=a;q&&(w=w?w.concat(q):q),c==null?(s(y,h,m),s(S,h,m),Me(a.children,h,S,v,b,x,w,A)):P>0&&P&64&&M&&c.dynamicChildren?(Ie(c.dynamicChildren,M,h,v,b,x,w),(a.key!=null||v&&a===v.subTree)&&fi(c,a,!0)):K(c,a,h,S,v,b,x,w,A)},xe=(c,a,h,m,v,b,x,w,A)=>{a.slotScopeIds=w,c==null?a.shapeFlag&512?v.ctx.activate(a,h,m,x,A):It(a,h,m,v,b,x,A):rt(c,a,A)},It=(c,a,h,m,v,b,x)=>{const w=c.component=Il(c,m,v);if(ei(c)&&(w.ctx.renderer=I),xl(w),w.asyncDep){if(v&&v.registerDep(w,Z),!c.el){const A=w.subTree=be(kt);F(null,A,a,h)}return}Z(w,c,a,h,v,b,x)},rt=(c,a,h)=>{const m=a.component=c.component;if(jo(c,a,h))if(m.asyncDep&&!m.asyncResolved){V(m,a,h);return}else m.next=a,Ro(m.update),m.update();else a.el=c.el,m.vnode=a},Z=(c,a,h,m,v,b,x)=>{const w=()=>{if(c.isMounted){let{next:S,bu:P,u:M,parent:q,vnode:L}=c,J=S,G;Xe(c,!1),S?(S.el=L.el,V(c,S,x)):S=L,P&&xn(P),(G=S.props&&S.props.onVnodeBeforeUpdate)&&Ce(G,q,S,L),Xe(c,!0);const X=Rn(c),pe=c.subTree;c.subTree=X,O(pe,X,p(pe.el),_(pe),c,v,b),S.el=X.el,J===null&&qo(c,X.el),M&&ae(M,v),(G=S.props&&S.props.onVnodeUpdated)&&ae(()=>Ce(G,q,S,L),v)}else{let S;const{el:P,props:M}=a,{bm:q,m:L,parent:J}=c,G=en(a);if(Xe(c,!1),q&&xn(q),!G&&(S=M&&M.onVnodeBeforeMount)&&Ce(S,J,a),Xe(c,!0),P&&z){const X=()=>{c.subTree=Rn(c),z(P,c.subTree,c,v,null)};G?a.type.__asyncLoader().then(()=>!c.isUnmounted&&X()):X()}else{const X=c.subTree=Rn(c);O(null,X,h,m,c,v,b),a.el=X.el}if(L&&ae(L,v),!G&&(S=M&&M.onVnodeMounted)){const X=a;ae(()=>Ce(S,J,X),v)}(a.shapeFlag&256||J&&en(J.vnode)&&J.vnode.shapeFlag&256)&&c.a&&ae(c.a,v),c.isMounted=!0,a=h=m=null}},A=c.effect=new ls(w,()=>gs(y),c.scope),y=c.update=()=>A.run();y.id=c.uid,Xe(c,!0),y()},V=(c,a,h)=>{a.component=c;const m=c.vnode.props;c.vnode=a,c.next=null,ll(c,a.props,m,h),al(c,a.children,h),wt(),Bs(),At()},K=(c,a,h,m,v,b,x,w,A=!1)=>{const y=c&&c.children,S=c?c.shapeFlag:0,P=a.children,{patchFlag:M,shapeFlag:q}=a;if(M>0){if(M&128){$e(y,P,h,m,v,b,x,w,A);return}else if(M&256){Fe(y,P,h,m,v,b,x,w,A);return}}q&8?(S&16&&se(y,v,b),P!==y&&d(h,P)):S&16?q&16?$e(y,P,h,m,v,b,x,w,A):se(y,v,b,!0):(S&8&&d(h,""),q&16&&Me(P,h,m,v,b,x,w,A))},Fe=(c,a,h,m,v,b,x,w,A)=>{c=c||ft,a=a||ft;const y=c.length,S=a.length,P=Math.min(y,S);let M;for(M=0;M<P;M++){const q=a[M]=A?ze(a[M]):Te(a[M]);O(c[M],q,h,null,v,b,x,w,A)}y>S?se(c,v,b,!0,!1,P):Me(a,h,m,v,b,x,w,A,P)},$e=(c,a,h,m,v,b,x,w,A)=>{let y=0;const S=a.length;let P=c.length-1,M=S-1;for(;y<=P&&y<=M;){const q=c[y],L=a[y]=A?ze(a[y]):Te(a[y]);if(Rt(q,L))O(q,L,h,null,v,b,x,w,A);else break;y++}for(;y<=P&&y<=M;){const q=c[P],L=a[M]=A?ze(a[M]):Te(a[M]);if(Rt(q,L))O(q,L,h,null,v,b,x,w,A);else break;P--,M--}if(y>P){if(y<=M){const q=M+1,L=q<S?a[q].el:m;for(;y<=M;)O(null,a[y]=A?ze(a[y]):Te(a[y]),h,L,v,b,x,w,A),y++}}else if(y>M)for(;y<=P;)ue(c[y],v,b,!0),y++;else{const q=y,L=y,J=new Map;for(y=L;y<=M;y++){const de=a[y]=A?ze(a[y]):Te(a[y]);de.key!=null&&J.set(de.key,y)}let G,X=0;const pe=M-L+1;let lt=!1,Rs=0;const xt=new Array(pe);for(y=0;y<pe;y++)xt[y]=0;for(y=q;y<=P;y++){const de=c[y];if(X>=pe){ue(de,v,b,!0);continue}let Pe;if(de.key!=null)Pe=J.get(de.key);else for(G=L;G<=M;G++)if(xt[G-L]===0&&Rt(de,a[G])){Pe=G;break}Pe===void 0?ue(de,v,b,!0):(xt[Pe-L]=y+1,Pe>=Rs?Rs=Pe:lt=!0,O(de,a[Pe],h,null,v,b,x,w,A),X++)}const Ps=lt?hl(xt):ft;for(G=Ps.length-1,y=pe-1;y>=0;y--){const de=L+y,Pe=a[de],Cs=de+1<S?a[de+1].el:m;xt[y]===0?O(null,Pe,h,Cs,v,b,x,w,A):lt&&(G<0||y!==Ps[G]?Re(Pe,h,Cs,2):G--)}}},Re=(c,a,h,m,v=null)=>{const{el:b,type:x,transition:w,children:A,shapeFlag:y}=c;if(y&6){Re(c.component.subTree,a,h,m);return}if(y&128){c.suspense.move(a,h,m);return}if(y&64){x.move(c,a,h,I);return}if(x===Be){s(b,a,h);for(let P=0;P<A.length;P++)Re(A[P],a,h,m);s(c.anchor,a,h);return}if(x===Cn){$(c,a,h);return}if(m!==2&&y&1&&w)if(m===0)w.beforeEnter(b),s(b,a,h),ae(()=>w.enter(b),v);else{const{leave:P,delayLeave:M,afterLeave:q}=w,L=()=>s(b,a,h),J=()=>{P(b,()=>{L(),q&&q()})};M?M(b,L,J):J()}else s(b,a,h)},ue=(c,a,h,m=!1,v=!1)=>{const{type:b,props:x,ref:w,children:A,dynamicChildren:y,shapeFlag:S,patchFlag:P,dirs:M}=c;if(w!=null&&zn(w,null,h,c,!0),S&256){a.ctx.deactivate(c);return}const q=S&1&&M,L=!en(c);let J;if(L&&(J=x&&x.onVnodeBeforeUnmount)&&Ce(J,a,c),S&6)zt(c.component,h,m);else{if(S&128){c.suspense.unmount(h,m);return}q&&Qe(c,null,a,"beforeUnmount"),S&64?c.type.remove(c,a,h,v,I,m):y&&(b!==Be||P>0&&P&64)?se(y,a,h,!1,!0):(b===Be&&P&384||!v&&S&16)&&se(A,a,h),m&&it(c)}(L&&(J=x&&x.onVnodeUnmounted)||q)&&ae(()=>{J&&Ce(J,a,c),q&&Qe(c,null,a,"unmounted")},h)},it=c=>{const{type:a,el:h,anchor:m,transition:v}=c;if(a===Be){ot(h,m);return}if(a===Cn){j(c);return}const b=()=>{r(h),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(c.shapeFlag&1&&v&&!v.persisted){const{leave:x,delayLeave:w}=v,A=()=>x(h,b);w?w(c.el,b,A):A()}else b()},ot=(c,a)=>{let h;for(;c!==a;)h=g(c),r(c),c=h;r(a)},zt=(c,a,h)=>{const{bum:m,scope:v,update:b,subTree:x,um:w}=c;m&&xn(m),v.stop(),b&&(b.active=!1,ue(x,c,a,h)),w&&ae(w,a),ae(()=>{c.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},se=(c,a,h,m=!1,v=!1,b=0)=>{for(let x=b;x<c.length;x++)ue(c[x],a,h,m,v)},_=c=>c.shapeFlag&6?_(c.component.subTree):c.shapeFlag&128?c.suspense.next():g(c.anchor||c.el),R=(c,a,h)=>{c==null?a._vnode&&ue(a._vnode,null,null,!0):O(a._vnode||null,c,a,null,null,null,h),Bs(),Vr(),a._vnode=c},I={p:O,um:ue,m:Re,r:it,mt:It,mc:Me,pc:K,pbc:Ie,n:_,o:e};let T,z;return t&&([T,z]=t(I)),{render:R,hydrate:T,createApp:il(R,T)}}function Xe({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function fi(e,t,n=!1){const s=e.children,r=t.children;if(N(s)&&N(r))for(let i=0;i<s.length;i++){const o=s[i];let u=r[i];u.shapeFlag&1&&!u.dynamicChildren&&((u.patchFlag<=0||u.patchFlag===32)&&(u=r[i]=ze(r[i]),u.el=o.el),n||fi(o,u)),u.type===En&&(u.el=o.el)}}function hl(e){const t=e.slice(),n=[0];let s,r,i,o,u;const l=e.length;for(s=0;s<l;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)u=i+o>>1,e[n[u]]<f?i=u+1:o=u;f<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const pl=e=>e.__isTeleport,Be=Symbol.for("v-fgt"),En=Symbol.for("v-txt"),kt=Symbol.for("v-cmt"),Cn=Symbol.for("v-stc"),Ft=[];let ve=null;function gl(e=!1){Ft.push(ve=e?null:[])}function ml(){Ft.pop(),ve=Ft[Ft.length-1]||null}let $t=1;function Gs(e){$t+=e}function _l(e){return e.dynamicChildren=$t>0?ve||ft:null,ml(),$t>0&&ve&&ve.push(e),e}function vl(e,t,n,s,r,i){return _l(he(e,t,n,s,r,i,!0))}function Wn(e){return e?e.__v_isVNode===!0:!1}function Rt(e,t){return e.type===t.type&&e.key===t.key}const wn="__vInternal",di=({key:e})=>e??null,nn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?te(e)||oe(e)||U(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function he(e,t=null,n=null,s=0,r=null,i=e===Be?0:1,o=!1,u=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&di(t),ref:t&&nn(t),scopeId:bn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Se};return u?(vs(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=te(n)?8:16),$t>0&&!o&&ve&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&ve.push(l),l}const be=bl;function bl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Qo)&&(e=kt),Wn(e)){const u=_t(e,t,!0);return n&&vs(u,n),$t>0&&!i&&ve&&(u.shapeFlag&6?ve[ve.indexOf(e)]=u:ve.push(u)),u.patchFlag|=-2,u}if(Tl(e)&&(e=e.__vccOpts),t){t=yl(t);let{class:u,style:l}=t;u&&!te(u)&&(t.class=is(u)),Q(l)&&(Lr(l)&&!N(l)&&(l=ee({},l)),t.style=rs(l))}const o=te(e)?1:Bo(e)?128:pl(e)?64:Q(e)?4:U(e)?2:0;return he(e,t,n,s,r,o,i,!0)}function yl(e){return e?Lr(e)||wn in e?ee({},e):e:null}function _t(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,u=t?El(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&di(u),ref:t&&t.ref?n&&r?N(r)?r.concat(nn(t)):[r,nn(t)]:nn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Be?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,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}}function Ot(e=" ",t=0){return be(En,null,e,t)}function Te(e){return e==null||typeof e=="boolean"?be(kt):N(e)?be(Be,null,e.slice()):typeof e=="object"?ze(e):be(En,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function vs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(N(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),vs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(wn in t)?t._ctx=Se:r===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else U(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),s&64?(n=16,t=[Ot(t)]):n=8);e.children=t,e.shapeFlag|=n}function El(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=is([t.class,s.class]));else if(r==="style")t.style=rs([t.style,s.style]);else if(dn(r)){const i=t[r],o=s[r];o&&i!==o&&!(N(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Ce(e,t,n,s=null){Ee(e,t,7,[n,s])}const wl=ii();let Al=0;function Il(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||wl,i={uid:Al++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Pr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:li(s,r),emitsOptions:Yr(s,r),emit:null,emitted:null,propsDefaults:Y,inheritAttrs:s.inheritAttrs,ctx:Y,data:Y,props:Y,attrs:Y,slots:Y,refs:Y,setupState:Y,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=To.bind(null,i),e.ce&&e.ce(i),i}let ie=null,bs,ct,Vs="__VUE_INSTANCE_SETTERS__";(ct=jn()[Vs])||(ct=jn()[Vs]=[]),ct.push(e=>ie=e),bs=e=>{ct.length>1?ct.forEach(t=>t(e)):ct[0](e)};const vt=e=>{bs(e),e.scope.on()},nt=()=>{ie&&ie.scope.off(),bs(null)};function hi(e){return e.vnode.shapeFlag&4}let Dt=!1;function xl(e,t=!1){Dt=t;const{props:n,children:s}=e.vnode,r=hi(e);ol(e,n,r,t),ul(e,s);const i=r?Rl(e,t):void 0;return Dt=!1,i}function Rl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ds(new Proxy(e.ctx,Xo));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Cl(e):null;vt(e),wt();const i=Ve(s,e,0,[e.props,r]);if(At(),nt(),Ir(i)){if(i.then(nt,nt),t)return i.then(o=>{Js(e,o,t)}).catch(o=>{_n(o,e,0)});e.asyncDep=i}else Js(e,i,t)}else pi(e,t)}function Js(e,t,n){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Q(t)&&(e.setupState=Kr(t)),pi(e,n)}let Ys;function pi(e,t,n){const s=e.type;if(!e.render){if(!t&&Ys&&!s.render){const r=s.template||ms(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:u,compilerOptions:l}=s,f=ee(ee({isCustomElement:i,delimiters:u},o),l);s.render=Ys(r,f)}}e.render=s.render||ye}vt(e),wt(),Zo(e),At(),nt()}function Pl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return fe(e,"get","$attrs"),t[n]}}))}function Cl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Pl(e)},slots:e.slots,emit:e.emit,expose:t}}function ys(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Kr(ds(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}}))}function Tl(e){return U(e)&&"__vccOpts"in e}const _e=(e,t)=>Ao(e,t,Dt);function gi(e,t,n){const s=arguments.length;return s===2?Q(t)&&!N(t)?Wn(t)?be(e,null,[t]):be(e,t):be(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Wn(n)&&(n=[n]),be(e,t,n))}const Ol=Symbol.for("v-scx"),Sl=()=>Ne(Ol),Ml="3.3.4",Fl="http://www.w3.org/2000/svg",et=typeof document<"u"?document:null,Qs=et&&et.createElement("template"),Hl={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?et.createElementNS(Fl,e):et.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.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{Qs.innerHTML=s?`<svg>${e}</svg>`:e;const u=Qs.content;if(s){const l=u.firstChild;for(;l.firstChild;)u.appendChild(l.firstChild);u.removeChild(l)}t.insertBefore(u,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function jl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ql(e,t,n){const s=e.style,r=te(n);if(n&&!r){if(t&&!te(t))for(const i in t)n[i]==null&&Gn(s,i,"");for(const i in n)Gn(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Xs=/\s*!important$/;function Gn(e,t,n){if(N(n))n.forEach(s=>Gn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Bl(e,t);Xs.test(n)?e.setProperty(Et(s),n.replace(Xs,""),"important"):e[s]=n}}const Zs=["Webkit","Moz","ms"],Tn={};function Bl(e,t){const n=Tn[t];if(n)return n;let s=gt(t);if(s!=="filter"&&s in e)return Tn[t]=s;s=xr(s);for(let r=0;r<Zs.length;r++){const i=Zs[r]+s;if(i in e)return Tn[t]=i}return t}const er="http://www.w3.org/1999/xlink";function Nl(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(er,t.slice(6,t.length)):e.setAttributeNS(er,t,n);else{const i=$i(t);n==null||i&&!Rr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Ul(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}const u=e.tagName;if(t==="value"&&u!=="PROGRESS"&&!u.includes("-")){e._value=n;const f=u==="OPTION"?e.getAttribute("value"):e.value,d=n??"";f!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=Rr(n):n==null&&f==="string"?(n="",l=!0):f==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Ll(e,t,n,s){e.addEventListener(t,n,s)}function kl(e,t,n,s){e.removeEventListener(t,n,s)}function $l(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[u,l]=Dl(t);if(s){const f=i[t]=Wl(s,r);Ll(e,u,f,l)}else o&&(kl(e,u,o,l),i[t]=void 0)}}const tr=/(?:Once|Passive|Capture)$/;function Dl(e){let t;if(tr.test(e)){t={};let s;for(;s=e.match(tr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Et(e.slice(2)),t]}let On=0;const Kl=Promise.resolve(),zl=()=>On||(Kl.then(()=>On=0),On=Date.now());function Wl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ee(Gl(s,n.value),t,5,[s])};return n.value=e,n.attached=zl(),n}function Gl(e,t){if(N(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 nr=/^on[a-z]/,Vl=(e,t,n,s,r=!1,i,o,u,l)=>{t==="class"?jl(e,s,r):t==="style"?ql(e,n,s):dn(t)?es(t)||$l(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jl(e,t,s,r))?Ul(e,t,s,i,o,u,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Nl(e,t,s,r))};function Jl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&nr.test(t)&&U(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||nr.test(t)&&te(n)?!1:t in e}const Yl=ee({patchProp:Vl},Hl);let sr;function Ql(){return sr||(sr=fl(Yl))}const Xl=(...e)=>{const t=Ql().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Zl(s);if(!r)return;const i=t._component;!U(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Zl(e){return te(e)?document.querySelector(e):e}var ec=!1;/*!
1
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function es(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const V={},ft=[],Ee=()=>{},Ri=()=>!1,Ci=/^on[^a-z]/,dn=e=>Ci.test(e),ts=e=>e.startsWith("onUpdate:"),ee=Object.assign,ns=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Oi=Object.prototype.hasOwnProperty,U=(e,t)=>Oi.call(e,t),B=Array.isArray,Tt=e=>hn(e)==="[object Map]",Si=e=>hn(e)==="[object Set]",N=e=>typeof e=="function",te=e=>typeof e=="string",ss=e=>typeof e=="symbol",Y=e=>e!==null&&typeof e=="object",xr=e=>Y(e)&&N(e.then)&&N(e.catch),Ti=Object.prototype.toString,hn=e=>Ti.call(e),Mi=e=>hn(e).slice(8,-1),Fi=e=>hn(e)==="[object Object]",rs=e=>te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xt=es(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),pn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ji=/-(\w)/g,gt=pn(e=>e.replace(ji,(t,n)=>n?n.toUpperCase():"")),Hi=/\B([A-Z])/g,Et=pn(e=>e.replace(Hi,"-$1").toLowerCase()),Ir=pn(e=>e.charAt(0).toUpperCase()+e.slice(1)),In=pn(e=>e?`on${Ir(e)}`:""),kt=(e,t)=>!Object.is(e,t),Pn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},rn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},qi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Os;const qn=()=>Os||(Os=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function is(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=te(s)?Li(s):is(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(te(e))return e;if(Y(e))return e}}const ki=/;(?![^(]*\))/g,Bi=/:([^]+)/,Ni=/\/\*[^]*?\*\//g;function Li(e){const t={};return e.replace(Ni,"").split(ki).forEach(n=>{if(n){const s=n.split(Bi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function os(e){let t="";if(te(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const s=os(e[n]);s&&(t+=s+" ")}else if(Y(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ui="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$i=es(Ui);function Pr(e){return!!e||e===""}let me;class Rr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=me,!t&&me&&(this.index=(me.scopes||(me.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=me;try{return me=this,t()}finally{me=n}}}on(){me=this}off(){me=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!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,this._active=!1}}}function Di(e){return new Rr(e)}function Ki(e,t=me){t&&t.active&&t.effects.push(e)}function zi(){return me}const ls=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Cr=e=>(e.w&Je)>0,Or=e=>(e.n&Je)>0,Wi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Je},Gi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Cr(r)&&!Or(r)?r.delete(e):t[n++]=r,r.w&=~Je,r.n&=~Je}t.length=n}},kn=new WeakMap;let Ct=0,Je=1;const Bn=30;let _e;const tt=Symbol(""),Nn=Symbol("");class cs{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ki(this,s)}run(){if(!this.active)return this.fn();let t=_e,n=Ge;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=_e,_e=this,Ge=!0,Je=1<<++Ct,Ct<=Bn?Wi(this):Ss(this),this.fn()}finally{Ct<=Bn&&Gi(this),Je=1<<--Ct,_e=this.parent,Ge=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){_e===this?this.deferStop=!0:this.active&&(Ss(this),this.onStop&&this.onStop(),this.active=!1)}}function Ss(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ge=!0;const Sr=[];function wt(){Sr.push(Ge),Ge=!1}function At(){const e=Sr.pop();Ge=e===void 0?!0:e}function fe(e,t,n){if(Ge&&_e){let s=kn.get(e);s||kn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=ls()),Tr(r)}}function Tr(e,t){let n=!1;Ct<=Bn?Or(e)||(e.n|=Je,n=!Cr(e)):n=!e.has(_e),n&&(e.add(_e),_e.deps.push(e))}function Ne(e,t,n,s,r,i){const o=kn.get(e);if(!o)return;let u=[];if(t==="clear")u=[...o.values()];else if(n==="length"&&B(e)){const l=Number(s);o.forEach((f,d)=>{(d==="length"||d>=l)&&u.push(f)})}else switch(n!==void 0&&u.push(o.get(n)),t){case"add":B(e)?rs(n)&&u.push(o.get("length")):(u.push(o.get(tt)),Tt(e)&&u.push(o.get(Nn)));break;case"delete":B(e)||(u.push(o.get(tt)),Tt(e)&&u.push(o.get(Nn)));break;case"set":Tt(e)&&u.push(o.get(tt));break}if(u.length===1)u[0]&&Ln(u[0]);else{const l=[];for(const f of u)f&&l.push(...f);Ln(ls(l))}}function Ln(e,t){const n=B(e)?e:[...e];for(const s of n)s.computed&&Ts(s);for(const s of n)s.computed||Ts(s)}function Ts(e,t){(e!==_e||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Qi=es("__proto__,__v_isRef,__isVue"),Mr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ss)),Ji=us(),Vi=us(!1,!0),Yi=us(!0),Ms=Xi();function Xi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=D(this);for(let i=0,o=this.length;i<o;i++)fe(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(D)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){wt();const s=D(this)[t].apply(this,n);return At(),s}}),e}function Zi(e){const t=D(this);return fe(t,"has",e),t.hasOwnProperty(e)}function us(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?mo:kr:t?qr:Hr).get(s))return s;const o=B(s);if(!e){if(o&&U(Ms,r))return Reflect.get(Ms,r,i);if(r==="hasOwnProperty")return Zi}const u=Reflect.get(s,r,i);return(ss(r)?Mr.has(r):Qi(r))||(e||fe(s,"get",r),t)?u:oe(u)?o&&rs(r)?u:u.value:Y(u)?e?Nr(u):mn(u):u}}const eo=Fr(),to=Fr(!0);function Fr(e=!1){return function(n,s,r,i){let o=n[s];if(mt(o)&&oe(o)&&!oe(r))return!1;if(!e&&(!on(r)&&!mt(r)&&(o=D(o),r=D(r)),!B(n)&&oe(o)&&!oe(r)))return o.value=r,!0;const u=B(n)&&rs(s)?Number(s)<n.length:U(n,s),l=Reflect.set(n,s,r,i);return n===D(i)&&(u?kt(r,o)&&Ne(n,"set",s,r):Ne(n,"add",s,r)),l}}function no(e,t){const n=U(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ne(e,"delete",t,void 0),s}function so(e,t){const n=Reflect.has(e,t);return(!ss(t)||!Mr.has(t))&&fe(e,"has",t),n}function ro(e){return fe(e,"iterate",B(e)?"length":tt),Reflect.ownKeys(e)}const jr={get:Ji,set:eo,deleteProperty:no,has:so,ownKeys:ro},io={get:Yi,set(e,t){return!0},deleteProperty(e,t){return!0}},oo=ee({},jr,{get:Vi,set:to}),as=e=>e,gn=e=>Reflect.getPrototypeOf(e);function Wt(e,t,n=!1,s=!1){e=e.__v_raw;const r=D(e),i=D(t);n||(t!==i&&fe(r,"get",t),fe(r,"get",i));const{has:o}=gn(r),u=s?as:n?ps:Bt;if(o.call(r,t))return u(e.get(t));if(o.call(r,i))return u(e.get(i));e!==r&&e.get(t)}function Gt(e,t=!1){const n=this.__v_raw,s=D(n),r=D(e);return t||(e!==r&&fe(s,"has",e),fe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Qt(e,t=!1){return e=e.__v_raw,!t&&fe(D(e),"iterate",tt),Reflect.get(e,"size",e)}function Fs(e){e=D(e);const t=D(this);return gn(t).has.call(t,e)||(t.add(e),Ne(t,"add",e,e)),this}function js(e,t){t=D(t);const n=D(this),{has:s,get:r}=gn(n);let i=s.call(n,e);i||(e=D(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?kt(t,o)&&Ne(n,"set",e,t):Ne(n,"add",e,t),this}function Hs(e){const t=D(this),{has:n,get:s}=gn(t);let r=n.call(t,e);r||(e=D(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&Ne(t,"delete",e,void 0),i}function qs(){const e=D(this),t=e.size!==0,n=e.clear();return t&&Ne(e,"clear",void 0,void 0),n}function Jt(e,t){return function(s,r){const i=this,o=i.__v_raw,u=D(o),l=t?as:e?ps:Bt;return!e&&fe(u,"iterate",tt),o.forEach((f,d)=>s.call(r,l(f),l(d),i))}}function Vt(e,t,n){return function(...s){const r=this.__v_raw,i=D(r),o=Tt(i),u=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...s),d=n?as:t?ps:Bt;return!t&&fe(i,"iterate",l?Nn:tt),{next(){const{value:p,done:g}=f.next();return g?{value:p,done:g}:{value:u?[d(p[0]),d(p[1])]:d(p),done:g}},[Symbol.iterator](){return this}}}}function De(e){return function(...t){return e==="delete"?!1:this}}function lo(){const e={get(i){return Wt(this,i)},get size(){return Qt(this)},has:Gt,add:Fs,set:js,delete:Hs,clear:qs,forEach:Jt(!1,!1)},t={get(i){return Wt(this,i,!1,!0)},get size(){return Qt(this)},has:Gt,add:Fs,set:js,delete:Hs,clear:qs,forEach:Jt(!1,!0)},n={get(i){return Wt(this,i,!0)},get size(){return Qt(this,!0)},has(i){return Gt.call(this,i,!0)},add:De("add"),set:De("set"),delete:De("delete"),clear:De("clear"),forEach:Jt(!0,!1)},s={get(i){return Wt(this,i,!0,!0)},get size(){return Qt(this,!0)},has(i){return Gt.call(this,i,!0)},add:De("add"),set:De("set"),delete:De("delete"),clear:De("clear"),forEach:Jt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Vt(i,!1,!1),n[i]=Vt(i,!0,!1),t[i]=Vt(i,!1,!0),s[i]=Vt(i,!0,!0)}),[e,n,t,s]}const[co,uo,ao,fo]=lo();function fs(e,t){const n=t?e?fo:ao:e?uo:co;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(U(n,r)&&r in s?n:s,r,i)}const ho={get:fs(!1,!1)},po={get:fs(!1,!0)},go={get:fs(!0,!1)},Hr=new WeakMap,qr=new WeakMap,kr=new WeakMap,mo=new WeakMap;function _o(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vo(e){return e.__v_skip||!Object.isExtensible(e)?0:_o(Mi(e))}function mn(e){return mt(e)?e:ds(e,!1,jr,ho,Hr)}function Br(e){return ds(e,!1,oo,po,qr)}function Nr(e){return ds(e,!0,io,go,kr)}function ds(e,t,n,s,r){if(!Y(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=vo(e);if(o===0)return e;const u=new Proxy(e,o===2?s:n);return r.set(e,u),u}function dt(e){return mt(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function mt(e){return!!(e&&e.__v_isReadonly)}function on(e){return!!(e&&e.__v_isShallow)}function Lr(e){return dt(e)||mt(e)}function D(e){const t=e&&e.__v_raw;return t?D(t):e}function hs(e){return rn(e,"__v_skip",!0),e}const Bt=e=>Y(e)?mn(e):e,ps=e=>Y(e)?Nr(e):e;function Ur(e){Ge&&_e&&(e=D(e),Tr(e.dep||(e.dep=ls())))}function $r(e,t){e=D(e);const n=e.dep;n&&Ln(n)}function oe(e){return!!(e&&e.__v_isRef===!0)}function ln(e){return Dr(e,!1)}function bo(e){return Dr(e,!0)}function Dr(e,t){return oe(e)?e:new yo(e,t)}class yo{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:D(t),this._value=n?t:Bt(t)}get value(){return Ur(this),this._value}set value(t){const n=this.__v_isShallow||on(t)||mt(t);t=n?t:D(t),kt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Bt(t),$r(this))}}function ht(e){return oe(e)?e.value:e}const Eo={get:(e,t,n)=>ht(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 Kr(e){return dt(e)?e:new Proxy(e,Eo)}class wo{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new cs(t,()=>{this._dirty||(this._dirty=!0,$r(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=D(this);return Ur(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ao(e,t,n=!1){let s,r;const i=N(e);return i?(s=e,r=Ee):(s=e.get,r=e.set),new wo(s,r,i||!r,n)}function Qe(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){_n(i,t,n)}return r}function we(e,t,n,s){if(N(e)){const i=Qe(e,t,n,s);return i&&xr(i)&&i.catch(o=>{_n(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(we(e[i],t,n,s));return r}function _n(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,u=n;for(;i;){const f=i.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,o,u)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){Qe(l,null,10,[e,o,u]);return}}xo(e,n,r,s)}function xo(e,t,n,s=!0){console.error(e)}let Nt=!1,Un=!1;const re=[];let Te=0;const pt=[];let qe=null,Ze=0;const zr=Promise.resolve();let gs=null;function Wr(e){const t=gs||zr;return e?t.then(this?e.bind(this):e):t}function Io(e){let t=Te+1,n=re.length;for(;t<n;){const s=t+n>>>1;Lt(re[s])<e?t=s+1:n=s}return t}function ms(e){(!re.length||!re.includes(e,Nt&&e.allowRecurse?Te+1:Te))&&(e.id==null?re.push(e):re.splice(Io(e.id),0,e),Gr())}function Gr(){!Nt&&!Un&&(Un=!0,gs=zr.then(Jr))}function Po(e){const t=re.indexOf(e);t>Te&&re.splice(t,1)}function Ro(e){B(e)?pt.push(...e):(!qe||!qe.includes(e,e.allowRecurse?Ze+1:Ze))&&pt.push(e),Gr()}function ks(e,t=Nt?Te+1:0){for(;t<re.length;t++){const n=re[t];n&&n.pre&&(re.splice(t,1),t--,n())}}function Qr(e){if(pt.length){const t=[...new Set(pt)];if(pt.length=0,qe){qe.push(...t);return}for(qe=t,qe.sort((n,s)=>Lt(n)-Lt(s)),Ze=0;Ze<qe.length;Ze++)qe[Ze]();qe=null,Ze=0}}const Lt=e=>e.id==null?1/0:e.id,Co=(e,t)=>{const n=Lt(e)-Lt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Jr(e){Un=!1,Nt=!0,re.sort(Co);const t=Ee;try{for(Te=0;Te<re.length;Te++){const n=re[Te];n&&n.active!==!1&&Qe(n,null,14)}}finally{Te=0,re.length=0,Qr(),Nt=!1,gs=null,(re.length||pt.length)&&Jr()}}function Oo(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||V;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:p,trim:g}=s[d]||V;g&&(r=n.map(E=>te(E)?E.trim():E)),p&&(r=n.map(qi))}let u,l=s[u=In(t)]||s[u=In(gt(t))];!l&&i&&(l=s[u=In(Et(t))]),l&&we(l,e,6,r);const f=s[u+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,we(f,e,6,r)}}function Vr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},u=!1;if(!N(e)){const l=f=>{const d=Vr(f,t,!0);d&&(u=!0,ee(o,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!u?(Y(e)&&s.set(e,null),null):(B(i)?i.forEach(l=>o[l]=null):ee(o,i),Y(e)&&s.set(e,o),o)}function vn(e,t){return!e||!dn(t)?!1:(t=t.slice(2).replace(/Once$/,""),U(e,t[0].toLowerCase()+t.slice(1))||U(e,Et(t))||U(e,t))}let Me=null,bn=null;function cn(e){const t=Me;return Me=e,bn=e&&e.type.__scopeId||null,t}function So(e){bn=e}function To(){bn=null}function Mo(e,t=Me,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Gs(-1);const i=cn(t);let o;try{o=e(...r)}finally{cn(i),s._d&&Gs(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Rn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:u,attrs:l,emit:f,render:d,renderCache:p,data:g,setupState:E,ctx:C,inheritAttrs:S}=e;let k,F;const j=cn(e);try{if(n.shapeFlag&4){const H=r||s;k=Se(d.call(H,H,p,i,E,g,C)),F=l}else{const H=t;k=Se(H.length>1?H(i,{attrs:l,slots:u,emit:f}):H(i,null)),F=t.props?l:Fo(l)}}catch(H){Ft.length=0,_n(H,e,1),k=ye(Ut)}let $=k;if(F&&S!==!1){const H=Object.keys(F),{shapeFlag:ne}=$;H.length&&ne&7&&(o&&H.some(ts)&&(F=jo(F,o)),$=_t($,F))}return n.dirs&&($=_t($),$.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&($.transition=n.transition),k=$,cn(j),k}const Fo=e=>{let t;for(const n in e)(n==="class"||n==="style"||dn(n))&&((t||(t={}))[n]=e[n]);return t},jo=(e,t)=>{const n={};for(const s in e)(!ts(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ho(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:u,patchFlag:l}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Bs(s,o,f):!!o;if(l&8){const d=t.dynamicProps;for(let p=0;p<d.length;p++){const g=d[p];if(o[g]!==s[g]&&!vn(f,g))return!0}}}else return(r||u)&&(!u||!u.$stable)?!0:s===o?!1:s?o?Bs(s,o,f):!0:!!o;return!1}function Bs(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!vn(n,i))return!0}return!1}function qo({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const ko=e=>e.__isSuspense;function Bo(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Ro(e)}const Yt={};function Zt(e,t,n){return Yr(e,t,n)}function Yr(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=V){var u;const l=zi()===((u=ie)==null?void 0:u.scope)?ie:null;let f,d=!1,p=!1;if(oe(e)?(f=()=>e.value,d=on(e)):dt(e)?(f=()=>e,s=!0):B(e)?(p=!0,d=e.some(H=>dt(H)||on(H)),f=()=>e.map(H=>{if(oe(H))return H.value;if(dt(H))return at(H);if(N(H))return Qe(H,l,2)})):N(e)?t?f=()=>Qe(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),we(e,l,3,[E])}:f=Ee,t&&s){const H=f;f=()=>at(H())}let g,E=H=>{g=j.onStop=()=>{Qe(H,l,4)}},C;if(Dt)if(E=Ee,t?n&&we(t,l,3,[f(),p?[]:void 0,E]):f(),r==="sync"){const H=Tl();C=H.__watcherHandles||(H.__watcherHandles=[])}else return Ee;let S=p?new Array(e.length).fill(Yt):Yt;const k=()=>{if(j.active)if(t){const H=j.run();(s||d||(p?H.some((ne,le)=>kt(ne,S[le])):kt(H,S)))&&(g&&g(),we(t,l,3,[H,S===Yt?void 0:p&&S[0]===Yt?[]:S,E]),S=H)}else j.run()};k.allowRecurse=!!t;let F;r==="sync"?F=k:r==="post"?F=()=>ae(k,l&&l.suspense):(k.pre=!0,l&&(k.id=l.uid),F=()=>ms(k));const j=new cs(f,F);t?n?k():S=j.run():r==="post"?ae(j.run.bind(j),l&&l.suspense):j.run();const $=()=>{j.stop(),l&&l.scope&&ns(l.scope.effects,j)};return C&&C.push($),$}function No(e,t,n){const s=this.proxy,r=te(e)?e.includes(".")?Xr(s,e):()=>s[e]:e.bind(s,s);let i;N(t)?i=t:(i=t.handler,n=t);const o=ie;vt(this);const u=Yr(r,i.bind(s),n);return o?vt(o):nt(),u}function Xr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function at(e,t){if(!Y(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),oe(e))at(e.value,t);else if(B(e))for(let n=0;n<e.length;n++)at(e[n],t);else if(Si(e)||Tt(e))e.forEach(n=>{at(n,t)});else if(Fi(e))for(const n in e)at(e[n],t);return e}function Ye(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const u=r[o];i&&(u.oldValue=i[o].value);let l=u.dir[s];l&&(wt(),we(l,n,8,[e.el,u,e,t]),At())}}function Zr(e,t){return N(e)?(()=>ee({name:e.name},t,{setup:e}))():e}const en=e=>!!e.type.__asyncLoader,ei=e=>e.type.__isKeepAlive;function Lo(e,t){ti(e,"a",t)}function Uo(e,t){ti(e,"da",t)}function ti(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(yn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ei(r.parent.vnode)&&$o(s,t,n,r),r=r.parent}}function $o(e,t,n,s){const r=yn(t,e,s,!0);si(()=>{ns(s[t],r)},n)}function yn(e,t,n=ie,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;wt(),vt(n);const u=we(t,n,e,o);return nt(),At(),u});return s?r.unshift(i):r.push(i),i}}const Le=e=>(t,n=ie)=>(!Dt||e==="sp")&&yn(e,(...s)=>t(...s),n),Do=Le("bm"),ni=Le("m"),Ko=Le("bu"),zo=Le("u"),Wo=Le("bum"),si=Le("um"),Go=Le("sp"),Qo=Le("rtg"),Jo=Le("rtc");function Vo(e,t=ie){yn("ec",e,t)}const Yo=Symbol.for("v-ndc"),$n=e=>e?hi(e)?Es(e)||e.proxy:$n(e.parent):null,Mt=ee(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=>$n(e.parent),$root:e=>$n(e.root),$emit:e=>e.emit,$options:e=>_s(e),$forceUpdate:e=>e.f||(e.f=()=>ms(e.update)),$nextTick:e=>e.n||(e.n=Wr.bind(e.proxy)),$watch:e=>No.bind(e)}),Cn=(e,t)=>e!==V&&!e.__isScriptSetup&&U(e,t),Xo={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:u,appContext:l}=e;let f;if(t[0]!=="$"){const E=o[t];if(E!==void 0)switch(E){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Cn(s,t))return o[t]=1,s[t];if(r!==V&&U(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&U(f,t))return o[t]=3,i[t];if(n!==V&&U(n,t))return o[t]=4,n[t];Dn&&(o[t]=0)}}const d=Mt[t];let p,g;if(d)return t==="$attrs"&&fe(e,"get",t),d(e);if((p=u.__cssModules)&&(p=p[t]))return p;if(n!==V&&U(n,t))return o[t]=4,n[t];if(g=l.config.globalProperties,U(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Cn(r,t)?(r[t]=n,!0):s!==V&&U(s,t)?(s[t]=n,!0):U(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 u;return!!n[o]||e!==V&&U(e,o)||Cn(t,o)||(u=i[0])&&U(u,o)||U(s,o)||U(Mt,o)||U(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:U(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ns(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Dn=!0;function Zo(e){const t=_s(e),n=e.proxy,s=e.ctx;Dn=!1,t.beforeCreate&&Ls(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:u,provide:l,inject:f,created:d,beforeMount:p,mounted:g,beforeUpdate:E,updated:C,activated:S,deactivated:k,beforeDestroy:F,beforeUnmount:j,destroyed:$,unmounted:H,render:ne,renderTracked:le,renderTriggered:xe,errorCaptured:Fe,serverPrefetch:st,expose:Ie,inheritAttrs:Ue,components:Ve,directives:Pe,filters:xt}=t;if(f&&el(f,s,null),o)for(const Q in o){const K=o[Q];N(K)&&(s[Q]=K.bind(n))}if(r){const Q=r.call(n,n);Y(Q)&&(e.data=mn(Q))}if(Dn=!0,i)for(const Q in i){const K=i[Q],je=N(K)?K.bind(n,n):N(K.get)?K.get.bind(n,n):Ee,$e=!N(K)&&N(K.set)?K.set.bind(n):Ee,Re=ve({get:je,set:$e});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>Re.value,set:ue=>Re.value=ue})}if(u)for(const Q in u)ri(u[Q],s,n,Q);if(l){const Q=N(l)?l.call(n):l;Reflect.ownKeys(Q).forEach(K=>{tn(K,Q[K])})}d&&Ls(d,e,"c");function Z(Q,K){B(K)?K.forEach(je=>Q(je.bind(n))):K&&Q(K.bind(n))}if(Z(Do,p),Z(ni,g),Z(Ko,E),Z(zo,C),Z(Lo,S),Z(Uo,k),Z(Vo,Fe),Z(Jo,le),Z(Qo,xe),Z(Wo,j),Z(si,H),Z(Go,st),B(Ie))if(Ie.length){const Q=e.exposed||(e.exposed={});Ie.forEach(K=>{Object.defineProperty(Q,K,{get:()=>n[K],set:je=>n[K]=je})})}else e.exposed||(e.exposed={});ne&&e.render===Ee&&(e.render=ne),Ue!=null&&(e.inheritAttrs=Ue),Ve&&(e.components=Ve),Pe&&(e.directives=Pe)}function el(e,t,n=Ee){B(e)&&(e=Kn(e));for(const s in e){const r=e[s];let i;Y(r)?"default"in r?i=Be(r.from||s,r.default,!0):i=Be(r.from||s):i=Be(r),oe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Ls(e,t,n){we(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ri(e,t,n,s){const r=s.includes(".")?Xr(n,s):()=>n[s];if(te(e)){const i=t[e];N(i)&&Zt(r,i)}else if(N(e))Zt(r,e.bind(n));else if(Y(e))if(B(e))e.forEach(i=>ri(i,t,n,s));else{const i=N(e.handler)?e.handler.bind(n):t[e.handler];N(i)&&Zt(r,i,e)}}function _s(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,u=i.get(t);let l;return u?l=u:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(f=>un(l,f,o,!0)),un(l,t,o)),Y(t)&&i.set(t,l),l}function un(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&un(e,i,n,!0),r&&r.forEach(o=>un(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const u=tl[o]||n&&n[o];e[o]=u?u(e[o],t[o]):t[o]}return e}const tl={data:Us,props:$s,emits:$s,methods:Ot,computed:Ot,beforeCreate:ce,created:ce,beforeMount:ce,mounted:ce,beforeUpdate:ce,updated:ce,beforeDestroy:ce,beforeUnmount:ce,destroyed:ce,unmounted:ce,activated:ce,deactivated:ce,errorCaptured:ce,serverPrefetch:ce,components:Ot,directives:Ot,watch:sl,provide:Us,inject:nl};function Us(e,t){return t?e?function(){return ee(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function nl(e,t){return Ot(Kn(e),Kn(t))}function Kn(e){if(B(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ce(e,t){return e?[...new Set([].concat(e,t))]:t}function Ot(e,t){return e?ee(Object.create(null),e,t):t}function $s(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:ee(Object.create(null),Ns(e),Ns(t??{})):t}function sl(e,t){if(!e)return t;if(!t)return e;const n=ee(Object.create(null),e);for(const s in t)n[s]=ce(e[s],t[s]);return n}function ii(){return{app:null,config:{isNativeTag:Ri,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 rl=0;function il(e,t){return function(s,r=null){N(s)||(s=ee({},s)),r!=null&&!Y(r)&&(r=null);const i=ii(),o=new Set;let u=!1;const l=i.app={_uid:rl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Ml,get config(){return i.config},set config(f){},use(f,...d){return o.has(f)||(f&&N(f.install)?(o.add(f),f.install(l,...d)):N(f)&&(o.add(f),f(l,...d))),l},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),l},component(f,d){return d?(i.components[f]=d,l):i.components[f]},directive(f,d){return d?(i.directives[f]=d,l):i.directives[f]},mount(f,d,p){if(!u){const g=ye(s,r);return g.appContext=i,d&&t?t(g,f):e(g,f,p),u=!0,l._container=f,f.__vue_app__=l,Es(g.component)||g.component.proxy}},unmount(){u&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,d){return i.provides[f]=d,l},runWithContext(f){an=l;try{return f()}finally{an=null}}};return l}}let an=null;function tn(e,t){if(ie){let n=ie.provides;const s=ie.parent&&ie.parent.provides;s===n&&(n=ie.provides=Object.create(s)),n[e]=t}}function Be(e,t,n=!1){const s=ie||Me;if(s||an){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:an._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&N(t)?t.call(s&&s.proxy):t}}function ol(e,t,n,s=!1){const r={},i={};rn(i,wn,1),e.propsDefaults=Object.create(null),oi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Br(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function ll(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,u=D(r),[l]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let p=0;p<d.length;p++){let g=d[p];if(vn(e.emitsOptions,g))continue;const E=t[g];if(l)if(U(i,g))E!==i[g]&&(i[g]=E,f=!0);else{const C=gt(g);r[C]=zn(l,u,C,E,e,!1)}else E!==i[g]&&(i[g]=E,f=!0)}}}else{oi(e,t,r,i)&&(f=!0);let d;for(const p in u)(!t||!U(t,p)&&((d=Et(p))===p||!U(t,d)))&&(l?n&&(n[p]!==void 0||n[d]!==void 0)&&(r[p]=zn(l,u,p,void 0,e,!0)):delete r[p]);if(i!==u)for(const p in i)(!t||!U(t,p))&&(delete i[p],f=!0)}f&&Ne(e,"set","$attrs")}function oi(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,u;if(t)for(let l in t){if(Xt(l))continue;const f=t[l];let d;r&&U(r,d=gt(l))?!i||!i.includes(d)?n[d]=f:(u||(u={}))[d]=f:vn(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,o=!0)}if(i){const l=D(n),f=u||V;for(let d=0;d<i.length;d++){const p=i[d];n[p]=zn(r,l,p,f[p],e,!U(f,p))}}return o}function zn(e,t,n,s,r,i){const o=e[n];if(o!=null){const u=U(o,"default");if(u&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&N(l)){const{propsDefaults:f}=r;n in f?s=f[n]:(vt(r),s=f[n]=l.call(null,t),nt())}else s=l}o[0]&&(i&&!u?s=!1:o[1]&&(s===""||s===Et(n))&&(s=!0))}return s}function li(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},u=[];let l=!1;if(!N(e)){const d=p=>{l=!0;const[g,E]=li(p,t,!0);ee(o,g),E&&u.push(...E)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return Y(e)&&s.set(e,ft),ft;if(B(i))for(let d=0;d<i.length;d++){const p=gt(i[d]);Ds(p)&&(o[p]=V)}else if(i)for(const d in i){const p=gt(d);if(Ds(p)){const g=i[d],E=o[p]=B(g)||N(g)?{type:g}:ee({},g);if(E){const C=Ws(Boolean,E.type),S=Ws(String,E.type);E[0]=C>-1,E[1]=S<0||C<S,(C>-1||U(E,"default"))&&u.push(p)}}}const f=[o,u];return Y(e)&&s.set(e,f),f}function Ds(e){return e[0]!=="$"}function Ks(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function zs(e,t){return Ks(e)===Ks(t)}function Ws(e,t){return B(t)?t.findIndex(n=>zs(n,e)):N(t)&&zs(t,e)?0:-1}const ci=e=>e[0]==="_"||e==="$stable",vs=e=>B(e)?e.map(Se):[Se(e)],cl=(e,t,n)=>{if(t._n)return t;const s=Mo((...r)=>vs(t(...r)),n);return s._c=!1,s},ui=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ci(r))continue;const i=e[r];if(N(i))t[r]=cl(r,i,s);else if(i!=null){const o=vs(i);t[r]=()=>o}}},ai=(e,t)=>{const n=vs(t);e.slots.default=()=>n},ul=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=D(t),rn(t,"_",n)):ui(t,e.slots={})}else e.slots={},t&&ai(e,t);rn(e.slots,wn,1)},al=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=V;if(s.shapeFlag&32){const u=t._;u?n&&u===1?i=!1:(ee(r,t),!n&&u===1&&delete r._):(i=!t.$stable,ui(t,r)),o=t}else t&&(ai(e,t),o={default:1});if(i)for(const u in r)!ci(u)&&!(u in o)&&delete r[u]};function Wn(e,t,n,s,r=!1){if(B(e)){e.forEach((g,E)=>Wn(g,t&&(B(t)?t[E]:t),n,s,r));return}if(en(s)&&!r)return;const i=s.shapeFlag&4?Es(s.component)||s.component.proxy:s.el,o=r?null:i,{i:u,r:l}=e,f=t&&t.r,d=u.refs===V?u.refs={}:u.refs,p=u.setupState;if(f!=null&&f!==l&&(te(f)?(d[f]=null,U(p,f)&&(p[f]=null)):oe(f)&&(f.value=null)),N(l))Qe(l,u,12,[o,d]);else{const g=te(l),E=oe(l);if(g||E){const C=()=>{if(e.f){const S=g?U(p,l)?p[l]:d[l]:l.value;r?B(S)&&ns(S,i):B(S)?S.includes(i)||S.push(i):g?(d[l]=[i],U(p,l)&&(p[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,U(p,l)&&(p[l]=o)):E&&(l.value=o,e.k&&(d[e.k]=o))};o?(C.id=-1,ae(C,n)):C()}}}const ae=Bo;function fl(e){return dl(e)}function dl(e,t){const n=qn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:u,createComment:l,setText:f,setElementText:d,parentNode:p,nextSibling:g,setScopeId:E=Ee,insertStaticContent:C}=e,S=(c,a,h,m=null,v=null,b=null,I=!1,w=null,A=!!a.dynamicChildren)=>{if(c===a)return;c&&!Pt(c,a)&&(m=_(c),ue(c,v,b,!0),c=null),a.patchFlag===-2&&(A=!1,a.dynamicChildren=null);const{type:y,ref:T,shapeFlag:R}=a;switch(y){case En:k(c,a,h,m);break;case Ut:F(c,a,h,m);break;case On:c==null&&j(a,h,m,I);break;case ke:Ve(c,a,h,m,v,b,I,w,A);break;default:R&1?ne(c,a,h,m,v,b,I,w,A):R&6?Pe(c,a,h,m,v,b,I,w,A):(R&64||R&128)&&y.process(c,a,h,m,v,b,I,w,A,x)}T!=null&&v&&Wn(T,c&&c.ref,b,a||c,!a)},k=(c,a,h,m)=>{if(c==null)s(a.el=u(a.children),h,m);else{const v=a.el=c.el;a.children!==c.children&&f(v,a.children)}},F=(c,a,h,m)=>{c==null?s(a.el=l(a.children||""),h,m):a.el=c.el},j=(c,a,h,m)=>{[c.el,c.anchor]=C(c.children,a,h,m,c.el,c.anchor)},$=({el:c,anchor:a},h,m)=>{let v;for(;c&&c!==a;)v=g(c),s(c,h,m),c=v;s(a,h,m)},H=({el:c,anchor:a})=>{let h;for(;c&&c!==a;)h=g(c),r(c),c=h;r(a)},ne=(c,a,h,m,v,b,I,w,A)=>{I=I||a.type==="svg",c==null?le(a,h,m,v,b,I,w,A):st(c,a,v,b,I,w,A)},le=(c,a,h,m,v,b,I,w)=>{let A,y;const{type:T,props:R,shapeFlag:M,transition:q,dirs:L}=c;if(A=c.el=o(c.type,b,R&&R.is,R),M&8?d(A,c.children):M&16&&Fe(c.children,A,null,m,v,b&&T!=="foreignObject",I,w),L&&Ye(c,null,m,"created"),xe(A,c,c.scopeId,I,m),R){for(const G in R)G!=="value"&&!Xt(G)&&i(A,G,null,R[G],b,c.children,m,v,se);"value"in R&&i(A,"value",null,R.value),(y=R.onVnodeBeforeMount)&&Oe(y,m,c)}L&&Ye(c,null,m,"beforeMount");const J=(!v||v&&!v.pendingBranch)&&q&&!q.persisted;J&&q.beforeEnter(A),s(A,a,h),((y=R&&R.onVnodeMounted)||J||L)&&ae(()=>{y&&Oe(y,m,c),J&&q.enter(A),L&&Ye(c,null,m,"mounted")},v)},xe=(c,a,h,m,v)=>{if(h&&E(c,h),m)for(let b=0;b<m.length;b++)E(c,m[b]);if(v){let b=v.subTree;if(a===b){const I=v.vnode;xe(c,I,I.scopeId,I.slotScopeIds,v.parent)}}},Fe=(c,a,h,m,v,b,I,w,A=0)=>{for(let y=A;y<c.length;y++){const T=c[y]=w?ze(c[y]):Se(c[y]);S(null,T,a,h,m,v,b,I,w)}},st=(c,a,h,m,v,b,I)=>{const w=a.el=c.el;let{patchFlag:A,dynamicChildren:y,dirs:T}=a;A|=c.patchFlag&16;const R=c.props||V,M=a.props||V;let q;h&&Xe(h,!1),(q=M.onVnodeBeforeUpdate)&&Oe(q,h,a,c),T&&Ye(a,c,h,"beforeUpdate"),h&&Xe(h,!0);const L=v&&a.type!=="foreignObject";if(y?Ie(c.dynamicChildren,y,w,h,m,L,b):I||K(c,a,w,null,h,m,L,b,!1),A>0){if(A&16)Ue(w,a,R,M,h,m,v);else if(A&2&&R.class!==M.class&&i(w,"class",null,M.class,v),A&4&&i(w,"style",R.style,M.style,v),A&8){const J=a.dynamicProps;for(let G=0;G<J.length;G++){const X=J[G],ge=R[X],lt=M[X];(lt!==ge||X==="value")&&i(w,X,ge,lt,v,c.children,h,m,se)}}A&1&&c.children!==a.children&&d(w,a.children)}else!I&&y==null&&Ue(w,a,R,M,h,m,v);((q=M.onVnodeUpdated)||T)&&ae(()=>{q&&Oe(q,h,a,c),T&&Ye(a,c,h,"updated")},m)},Ie=(c,a,h,m,v,b,I)=>{for(let w=0;w<a.length;w++){const A=c[w],y=a[w],T=A.el&&(A.type===ke||!Pt(A,y)||A.shapeFlag&70)?p(A.el):h;S(A,y,T,null,m,v,b,I,!0)}},Ue=(c,a,h,m,v,b,I)=>{if(h!==m){if(h!==V)for(const w in h)!Xt(w)&&!(w in m)&&i(c,w,h[w],null,I,a.children,v,b,se);for(const w in m){if(Xt(w))continue;const A=m[w],y=h[w];A!==y&&w!=="value"&&i(c,w,y,A,I,a.children,v,b,se)}"value"in m&&i(c,"value",h.value,m.value)}},Ve=(c,a,h,m,v,b,I,w,A)=>{const y=a.el=c?c.el:u(""),T=a.anchor=c?c.anchor:u("");let{patchFlag:R,dynamicChildren:M,slotScopeIds:q}=a;q&&(w=w?w.concat(q):q),c==null?(s(y,h,m),s(T,h,m),Fe(a.children,h,T,v,b,I,w,A)):R>0&&R&64&&M&&c.dynamicChildren?(Ie(c.dynamicChildren,M,h,v,b,I,w),(a.key!=null||v&&a===v.subTree)&&fi(c,a,!0)):K(c,a,h,T,v,b,I,w,A)},Pe=(c,a,h,m,v,b,I,w,A)=>{a.slotScopeIds=w,c==null?a.shapeFlag&512?v.ctx.activate(a,h,m,I,A):xt(a,h,m,v,b,I,A):rt(c,a,A)},xt=(c,a,h,m,v,b,I)=>{const w=c.component=xl(c,m,v);if(ei(c)&&(w.ctx.renderer=x),Il(w),w.asyncDep){if(v&&v.registerDep(w,Z),!c.el){const A=w.subTree=ye(Ut);F(null,A,a,h)}return}Z(w,c,a,h,v,b,I)},rt=(c,a,h)=>{const m=a.component=c.component;if(Ho(c,a,h))if(m.asyncDep&&!m.asyncResolved){Q(m,a,h);return}else m.next=a,Po(m.update),m.update();else a.el=c.el,m.vnode=a},Z=(c,a,h,m,v,b,I)=>{const w=()=>{if(c.isMounted){let{next:T,bu:R,u:M,parent:q,vnode:L}=c,J=T,G;Xe(c,!1),T?(T.el=L.el,Q(c,T,I)):T=L,R&&Pn(R),(G=T.props&&T.props.onVnodeBeforeUpdate)&&Oe(G,q,T,L),Xe(c,!0);const X=Rn(c),ge=c.subTree;c.subTree=X,S(ge,X,p(ge.el),_(ge),c,v,b),T.el=X.el,J===null&&qo(c,X.el),M&&ae(M,v),(G=T.props&&T.props.onVnodeUpdated)&&ae(()=>Oe(G,q,T,L),v)}else{let T;const{el:R,props:M}=a,{bm:q,m:L,parent:J}=c,G=en(a);if(Xe(c,!1),q&&Pn(q),!G&&(T=M&&M.onVnodeBeforeMount)&&Oe(T,J,a),Xe(c,!0),R&&z){const X=()=>{c.subTree=Rn(c),z(R,c.subTree,c,v,null)};G?a.type.__asyncLoader().then(()=>!c.isUnmounted&&X()):X()}else{const X=c.subTree=Rn(c);S(null,X,h,m,c,v,b),a.el=X.el}if(L&&ae(L,v),!G&&(T=M&&M.onVnodeMounted)){const X=a;ae(()=>Oe(T,J,X),v)}(a.shapeFlag&256||J&&en(J.vnode)&&J.vnode.shapeFlag&256)&&c.a&&ae(c.a,v),c.isMounted=!0,a=h=m=null}},A=c.effect=new cs(w,()=>ms(y),c.scope),y=c.update=()=>A.run();y.id=c.uid,Xe(c,!0),y()},Q=(c,a,h)=>{a.component=c;const m=c.vnode.props;c.vnode=a,c.next=null,ll(c,a.props,m,h),al(c,a.children,h),wt(),ks(),At()},K=(c,a,h,m,v,b,I,w,A=!1)=>{const y=c&&c.children,T=c?c.shapeFlag:0,R=a.children,{patchFlag:M,shapeFlag:q}=a;if(M>0){if(M&128){$e(y,R,h,m,v,b,I,w,A);return}else if(M&256){je(y,R,h,m,v,b,I,w,A);return}}q&8?(T&16&&se(y,v,b),R!==y&&d(h,R)):T&16?q&16?$e(y,R,h,m,v,b,I,w,A):se(y,v,b,!0):(T&8&&d(h,""),q&16&&Fe(R,h,m,v,b,I,w,A))},je=(c,a,h,m,v,b,I,w,A)=>{c=c||ft,a=a||ft;const y=c.length,T=a.length,R=Math.min(y,T);let M;for(M=0;M<R;M++){const q=a[M]=A?ze(a[M]):Se(a[M]);S(c[M],q,h,null,v,b,I,w,A)}y>T?se(c,v,b,!0,!1,R):Fe(a,h,m,v,b,I,w,A,R)},$e=(c,a,h,m,v,b,I,w,A)=>{let y=0;const T=a.length;let R=c.length-1,M=T-1;for(;y<=R&&y<=M;){const q=c[y],L=a[y]=A?ze(a[y]):Se(a[y]);if(Pt(q,L))S(q,L,h,null,v,b,I,w,A);else break;y++}for(;y<=R&&y<=M;){const q=c[R],L=a[M]=A?ze(a[M]):Se(a[M]);if(Pt(q,L))S(q,L,h,null,v,b,I,w,A);else break;R--,M--}if(y>R){if(y<=M){const q=M+1,L=q<T?a[q].el:m;for(;y<=M;)S(null,a[y]=A?ze(a[y]):Se(a[y]),h,L,v,b,I,w,A),y++}}else if(y>M)for(;y<=R;)ue(c[y],v,b,!0),y++;else{const q=y,L=y,J=new Map;for(y=L;y<=M;y++){const de=a[y]=A?ze(a[y]):Se(a[y]);de.key!=null&&J.set(de.key,y)}let G,X=0;const ge=M-L+1;let lt=!1,Ps=0;const It=new Array(ge);for(y=0;y<ge;y++)It[y]=0;for(y=q;y<=R;y++){const de=c[y];if(X>=ge){ue(de,v,b,!0);continue}let Ce;if(de.key!=null)Ce=J.get(de.key);else for(G=L;G<=M;G++)if(It[G-L]===0&&Pt(de,a[G])){Ce=G;break}Ce===void 0?ue(de,v,b,!0):(It[Ce-L]=y+1,Ce>=Ps?Ps=Ce:lt=!0,S(de,a[Ce],h,null,v,b,I,w,A),X++)}const Rs=lt?hl(It):ft;for(G=Rs.length-1,y=ge-1;y>=0;y--){const de=L+y,Ce=a[de],Cs=de+1<T?a[de+1].el:m;It[y]===0?S(null,Ce,h,Cs,v,b,I,w,A):lt&&(G<0||y!==Rs[G]?Re(Ce,h,Cs,2):G--)}}},Re=(c,a,h,m,v=null)=>{const{el:b,type:I,transition:w,children:A,shapeFlag:y}=c;if(y&6){Re(c.component.subTree,a,h,m);return}if(y&128){c.suspense.move(a,h,m);return}if(y&64){I.move(c,a,h,x);return}if(I===ke){s(b,a,h);for(let R=0;R<A.length;R++)Re(A[R],a,h,m);s(c.anchor,a,h);return}if(I===On){$(c,a,h);return}if(m!==2&&y&1&&w)if(m===0)w.beforeEnter(b),s(b,a,h),ae(()=>w.enter(b),v);else{const{leave:R,delayLeave:M,afterLeave:q}=w,L=()=>s(b,a,h),J=()=>{R(b,()=>{L(),q&&q()})};M?M(b,L,J):J()}else s(b,a,h)},ue=(c,a,h,m=!1,v=!1)=>{const{type:b,props:I,ref:w,children:A,dynamicChildren:y,shapeFlag:T,patchFlag:R,dirs:M}=c;if(w!=null&&Wn(w,null,h,c,!0),T&256){a.ctx.deactivate(c);return}const q=T&1&&M,L=!en(c);let J;if(L&&(J=I&&I.onVnodeBeforeUnmount)&&Oe(J,a,c),T&6)zt(c.component,h,m);else{if(T&128){c.suspense.unmount(h,m);return}q&&Ye(c,null,a,"beforeUnmount"),T&64?c.type.remove(c,a,h,v,x,m):y&&(b!==ke||R>0&&R&64)?se(y,a,h,!1,!0):(b===ke&&R&384||!v&&T&16)&&se(A,a,h),m&&it(c)}(L&&(J=I&&I.onVnodeUnmounted)||q)&&ae(()=>{J&&Oe(J,a,c),q&&Ye(c,null,a,"unmounted")},h)},it=c=>{const{type:a,el:h,anchor:m,transition:v}=c;if(a===ke){ot(h,m);return}if(a===On){H(c);return}const b=()=>{r(h),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(c.shapeFlag&1&&v&&!v.persisted){const{leave:I,delayLeave:w}=v,A=()=>I(h,b);w?w(c.el,b,A):A()}else b()},ot=(c,a)=>{let h;for(;c!==a;)h=g(c),r(c),c=h;r(a)},zt=(c,a,h)=>{const{bum:m,scope:v,update:b,subTree:I,um:w}=c;m&&Pn(m),v.stop(),b&&(b.active=!1,ue(I,c,a,h)),w&&ae(w,a),ae(()=>{c.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},se=(c,a,h,m=!1,v=!1,b=0)=>{for(let I=b;I<c.length;I++)ue(c[I],a,h,m,v)},_=c=>c.shapeFlag&6?_(c.component.subTree):c.shapeFlag&128?c.suspense.next():g(c.anchor||c.el),P=(c,a,h)=>{c==null?a._vnode&&ue(a._vnode,null,null,!0):S(a._vnode||null,c,a,null,null,null,h),ks(),Qr(),a._vnode=c},x={p:S,um:ue,m:Re,r:it,mt:xt,mc:Fe,pc:K,pbc:Ie,n:_,o:e};let O,z;return t&&([O,z]=t(x)),{render:P,hydrate:O,createApp:il(P,O)}}function Xe({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function fi(e,t,n=!1){const s=e.children,r=t.children;if(B(s)&&B(r))for(let i=0;i<s.length;i++){const o=s[i];let u=r[i];u.shapeFlag&1&&!u.dynamicChildren&&((u.patchFlag<=0||u.patchFlag===32)&&(u=r[i]=ze(r[i]),u.el=o.el),n||fi(o,u)),u.type===En&&(u.el=o.el)}}function hl(e){const t=e.slice(),n=[0];let s,r,i,o,u;const l=e.length;for(s=0;s<l;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)u=i+o>>1,e[n[u]]<f?i=u+1:o=u;f<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const pl=e=>e.__isTeleport,ke=Symbol.for("v-fgt"),En=Symbol.for("v-txt"),Ut=Symbol.for("v-cmt"),On=Symbol.for("v-stc"),Ft=[];let be=null;function gl(e=!1){Ft.push(be=e?null:[])}function ml(){Ft.pop(),be=Ft[Ft.length-1]||null}let $t=1;function Gs(e){$t+=e}function _l(e){return e.dynamicChildren=$t>0?be||ft:null,ml(),$t>0&&be&&be.push(e),e}function vl(e,t,n,s,r,i){return _l(he(e,t,n,s,r,i,!0))}function Gn(e){return e?e.__v_isVNode===!0:!1}function Pt(e,t){return e.type===t.type&&e.key===t.key}const wn="__vInternal",di=({key:e})=>e??null,nn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?te(e)||oe(e)||N(e)?{i:Me,r:e,k:t,f:!!n}:e:null);function he(e,t=null,n=null,s=0,r=null,i=e===ke?0:1,o=!1,u=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&di(t),ref:t&&nn(t),scopeId:bn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Me};return u?(bs(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=te(n)?8:16),$t>0&&!o&&be&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&be.push(l),l}const ye=bl;function bl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Yo)&&(e=Ut),Gn(e)){const u=_t(e,t,!0);return n&&bs(u,n),$t>0&&!i&&be&&(u.shapeFlag&6?be[be.indexOf(e)]=u:be.push(u)),u.patchFlag|=-2,u}if(Ol(e)&&(e=e.__vccOpts),t){t=yl(t);let{class:u,style:l}=t;u&&!te(u)&&(t.class=os(u)),Y(l)&&(Lr(l)&&!B(l)&&(l=ee({},l)),t.style=is(l))}const o=te(e)?1:ko(e)?128:pl(e)?64:Y(e)?4:N(e)?2:0;return he(e,t,n,s,r,o,i,!0)}function yl(e){return e?Lr(e)||wn in e?ee({},e):e:null}function _t(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,u=t?El(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&di(u),ref:t&&t.ref?n&&r?B(r)?r.concat(nn(t)):[r,nn(t)]:nn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ke?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,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}}function St(e=" ",t=0){return ye(En,null,e,t)}function Se(e){return e==null||typeof e=="boolean"?ye(Ut):B(e)?ye(ke,null,e.slice()):typeof e=="object"?ze(e):ye(En,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function bs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),bs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(wn in t)?t._ctx=Me:r===3&&Me&&(Me.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else N(t)?(t={default:t,_ctx:Me},n=32):(t=String(t),s&64?(n=16,t=[St(t)]):n=8);e.children=t,e.shapeFlag|=n}function El(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=os([t.class,s.class]));else if(r==="style")t.style=is([t.style,s.style]);else if(dn(r)){const i=t[r],o=s[r];o&&i!==o&&!(B(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Oe(e,t,n,s=null){we(e,t,7,[n,s])}const wl=ii();let Al=0;function xl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||wl,i={uid:Al++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Rr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:li(s,r),emitsOptions:Vr(s,r),emit:null,emitted:null,propsDefaults:V,inheritAttrs:s.inheritAttrs,ctx:V,data:V,props:V,attrs:V,slots:V,refs:V,setupState:V,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Oo.bind(null,i),e.ce&&e.ce(i),i}let ie=null,ys,ct,Qs="__VUE_INSTANCE_SETTERS__";(ct=qn()[Qs])||(ct=qn()[Qs]=[]),ct.push(e=>ie=e),ys=e=>{ct.length>1?ct.forEach(t=>t(e)):ct[0](e)};const vt=e=>{ys(e),e.scope.on()},nt=()=>{ie&&ie.scope.off(),ys(null)};function hi(e){return e.vnode.shapeFlag&4}let Dt=!1;function Il(e,t=!1){Dt=t;const{props:n,children:s}=e.vnode,r=hi(e);ol(e,n,r,t),ul(e,s);const i=r?Pl(e,t):void 0;return Dt=!1,i}function Pl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=hs(new Proxy(e.ctx,Xo));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Cl(e):null;vt(e),wt();const i=Qe(s,e,0,[e.props,r]);if(At(),nt(),xr(i)){if(i.then(nt,nt),t)return i.then(o=>{Js(e,o,t)}).catch(o=>{_n(o,e,0)});e.asyncDep=i}else Js(e,i,t)}else pi(e,t)}function Js(e,t,n){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Y(t)&&(e.setupState=Kr(t)),pi(e,n)}let Vs;function pi(e,t,n){const s=e.type;if(!e.render){if(!t&&Vs&&!s.render){const r=s.template||_s(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:u,compilerOptions:l}=s,f=ee(ee({isCustomElement:i,delimiters:u},o),l);s.render=Vs(r,f)}}e.render=s.render||Ee}vt(e),wt(),Zo(e),At(),nt()}function Rl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return fe(e,"get","$attrs"),t[n]}}))}function Cl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Rl(e)},slots:e.slots,emit:e.emit,expose:t}}function Es(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Kr(hs(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}}))}function Ol(e){return N(e)&&"__vccOpts"in e}const ve=(e,t)=>Ao(e,t,Dt);function gi(e,t,n){const s=arguments.length;return s===2?Y(t)&&!B(t)?Gn(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Gn(n)&&(n=[n]),ye(e,t,n))}const Sl=Symbol.for("v-scx"),Tl=()=>Be(Sl),Ml="3.3.4",Fl="http://www.w3.org/2000/svg",et=typeof document<"u"?document:null,Ys=et&&et.createElement("template"),jl={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?et.createElementNS(Fl,e):et.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.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{Ys.innerHTML=s?`<svg>${e}</svg>`:e;const u=Ys.content;if(s){const l=u.firstChild;for(;l.firstChild;)u.appendChild(l.firstChild);u.removeChild(l)}t.insertBefore(u,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Hl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ql(e,t,n){const s=e.style,r=te(n);if(n&&!r){if(t&&!te(t))for(const i in t)n[i]==null&&Qn(s,i,"");for(const i in n)Qn(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Xs=/\s*!important$/;function Qn(e,t,n){if(B(n))n.forEach(s=>Qn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=kl(e,t);Xs.test(n)?e.setProperty(Et(s),n.replace(Xs,""),"important"):e[s]=n}}const Zs=["Webkit","Moz","ms"],Sn={};function kl(e,t){const n=Sn[t];if(n)return n;let s=gt(t);if(s!=="filter"&&s in e)return Sn[t]=s;s=Ir(s);for(let r=0;r<Zs.length;r++){const i=Zs[r]+s;if(i in e)return Sn[t]=i}return t}const er="http://www.w3.org/1999/xlink";function Bl(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(er,t.slice(6,t.length)):e.setAttributeNS(er,t,n);else{const i=$i(t);n==null||i&&!Pr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Nl(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}const u=e.tagName;if(t==="value"&&u!=="PROGRESS"&&!u.includes("-")){e._value=n;const f=u==="OPTION"?e.getAttribute("value"):e.value,d=n??"";f!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=Pr(n):n==null&&f==="string"?(n="",l=!0):f==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Ll(e,t,n,s){e.addEventListener(t,n,s)}function Ul(e,t,n,s){e.removeEventListener(t,n,s)}function $l(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[u,l]=Dl(t);if(s){const f=i[t]=Wl(s,r);Ll(e,u,f,l)}else o&&(Ul(e,u,o,l),i[t]=void 0)}}const tr=/(?:Once|Passive|Capture)$/;function Dl(e){let t;if(tr.test(e)){t={};let s;for(;s=e.match(tr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Et(e.slice(2)),t]}let Tn=0;const Kl=Promise.resolve(),zl=()=>Tn||(Kl.then(()=>Tn=0),Tn=Date.now());function Wl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;we(Gl(s,n.value),t,5,[s])};return n.value=e,n.attached=zl(),n}function Gl(e,t){if(B(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 nr=/^on[a-z]/,Ql=(e,t,n,s,r=!1,i,o,u,l)=>{t==="class"?Hl(e,s,r):t==="style"?ql(e,n,s):dn(t)?ts(t)||$l(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jl(e,t,s,r))?Nl(e,t,s,i,o,u,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Bl(e,t,s,r))};function Jl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&nr.test(t)&&N(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||nr.test(t)&&te(n)?!1:t in e}const Vl=ee({patchProp:Ql},jl);let sr;function Yl(){return sr||(sr=fl(Vl))}const Xl=(...e)=>{const t=Yl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Zl(s);if(!r)return;const i=t._component;!N(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Zl(e){return te(e)?document.querySelector(e):e}var ec=!1;/*!
2
2
  * pinia v2.1.6
3
3
  * (c) 2023 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */const tc=Symbol();var rr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(rr||(rr={}));function nc(){const e=Di(!0),t=e.run(()=>ln({}));let n=[],s=[];const r=ds({install(i){r._a=i,i.provide(tc,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!ec?s.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}function sc(){let e=null,t=null;return[new Promise((s,r)=>{e=s,t=r}),e,t]}function ir(){var e,t,n;for(e="",n=0;n<32;n++)(n==8||n==12||n==16||n==20)&&(e=e+"-"),t=Math.floor(Math.random()*16).toString(16).toUpperCase(),e=e+t;return e.toLowerCase()}class Vn{constructor(){this.subscribers={}}init(){}publish(t,n){Array.isArray(this.subscribers[t])&&this.subscribers[t].forEach(s=>{try{s(t,n)}catch(r){console.error(r)}})}subscribe(t,n){return Array.isArray(this.subscribers[t])||(this.subscribers[t]=[]),this.subscribers[t].indexOf(n)>=0?()=>this.unsubscribe(t,n):(this.subscribers[t].push(n),()=>this.unsubscribe(t,n))}unsubscribe(t,n){if(!Array.isArray(this.subscribers[t])||this.subscribers[t].indexOf(n)<0)return!1;this.subscribers[t]=this.subscribers[t].filter(s=>s!==n)}}class rc{constructor(){this._requests={},this._messagesEventHandlers=new Vn,window.onmessage=this.onPostMessage.bind(this)}static respondForPromiseBasedRequest(t,n,s="*",r){if(s=="null"&&(s="*"),t.promisedBased){let i={requestGuid:t.requestGuid,response:r};n.postMessage(JSON.stringify(i),"*")}}async sendRequestAsync(t,n=null){let s=ir(),[r,i,o]=sc();return this._requests[s]={prom:r,resolve:i,reject:o},t.requestGuid=s,t.promisedBased=!0,n=n||window.parent,n.postMessage(JSON.stringify(t),"*"),r}sendRequest(t,n=null){let s=ir();t.requestGuid=s,n=n||window.parent,n.postMessage(JSON.stringify(t),"*")}onPostMessage(t){try{let n=t&&JSON.parse(t.data);if(n.requestName=="EvEvent")this._messagesEventHandlers.publish(n.eventName,n.data);else if(n.requestGuid&&this._requests[n.requestGuid]){let s=this._requests[n.requestGuid];return delete this._requests[n.requestGuid],s.resolve(n)}}catch{}}unregisterFromEvents(){}}class ic{constructor(){this._userApps={},this._userAppInstances={}}updateUserAppData(t,n,s=!1){!s||!this._userApps[t]?this._userApps[t]=n:this._userApps[t]={...this._userApps[t],...n}}updateUserAppInstance(t,n,s=!1){!s||!this._userAppInstances[t]?this._userAppInstances[t]=n:this._userAppInstances[t]={...this._userAppInstances[t],...n}}updateUserAppInstanceSettings(t,n){this._userAppInstances[t]||(this._userAppInstances[t]={},console.warn("app not exist when update")),this._userAppInstances[t].settings=n}getUserAppDataByAppId(t){return this._userApps[t]}getUserAppInstanceById(t,n=!1){let s=this._userAppInstances[t];return s&&n&&(s.appData=this.getUserAppDataByAppId(s.userAppId)),s}}let sn=new ic;class Es{constructor(){}canHandleRequest(t){return!1}async handleRequest(){}}let oc=class extends Es{constructor(){super()}canHandleRequest(t){return["getComments"].includes(t.request)}async handleRequest(t){return[{id:"1fsdf",title:"Sample comment",text:"Comments will appear here once the broadcast starts.",pic:"https://evmuxstatic.s3-eu-west-1.amazonaws.com/AVATAR_EXAMPLE_FREE.jpg",style:"comment",enabled:!0,created_time:new Date(Date.now()-1e3*60),sn:"fb",flags:{sample:!0,star:!1,shown:!1}}]}};class lc extends Es{constructor(){super()}canHandleRequest(t){return["createNewLayer"].includes(t.request)}async createNewLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async handleRequest(t){return this[t.request](t)}}const Ht={settingsUpdated:"settingsUpdated",viewerCountChanged:"viewerCountChanged",keystroke:"keystroke",comments:"comments",appMessaging:"appMessaging",externalAppMessaging:"externalAppMessaging",fastActionButton:"fastActionButton"};class cc extends Es{constructor(){super()}canHandleRequest(t){return[qe.raiseExternalAppMessagingEvent,qe.setFastActionButtons].includes(t.request)}async raiseExternalAppMessagingEvent(t){return Jn._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,Ht.externalAppMessaging,t.data.data),null}async setFastActionButtons(){return!0}async handleRequest(t){return this[t.request](t)}}const qe={updateSettings:"updateSettings",getSettings:"getSettings",startLoad:"startLoad",loaded:"loaded",registerEvent:"registerEvent",unregisterEvent:"unregisterEvent",EvEvent:"EvEvent",raiseAppMessagingEvent:"raiseAppMessagingEvent",raiseExternalAppMessagingEvent:"raiseExternalAppMessagingEvent",raiseFastAccessButtonEvent:"raiseFastAccessButtonEvent",setFastActionButtons:"setFastActionButtons"};let Sn=(e,t,n)=>({requestName:e,eventName:t,data:n});class uc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new Vn,this._eventHandler=new Vn,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(t){this._requestHandlers.push(new oc(t)),this._requestHandlers.push(new lc(t)),this._requestHandlers.push(new cc(t))}_sendPostMessageToUsrAppInstancesComponents(t,n,s=null){let r=JSON.stringify(n);for(const[i,o]of Object.entries(this._userAppInstances[t].instances))s!=i&&o.window.postMessage(r,"*")}_raiseEventForSpecificUserAppInstance(t,n,s,r=null){let i=this._userAppInstances[t];if(i&&i.events&&i.events[n]){let o=Sn("EvEvent",n,s);this._sendPostMessageToUsrAppInstancesComponents(t,o,r)}}raiseEvent(t,n){for(const[s,r]of Object.entries(this._userAppInstances))this._raiseEventForSpecificUserAppInstance(s,t,n)}getAppSettingsForAppInstanceId(t){return sn.getUserAppInstanceById(t)}_makeSureAppInstanceExist(t){this._userAppInstances[t]=this._userAppInstances[t]||{},this._userAppInstances[t].instances=this._userAppInstances[t].instances||{},this._userAppInstances[t].events=this._userAppInstances[t].events||{}}updateAndNotifyAppInstancesOnSettingsUpdate(t,n,s){if(sn.updateUserAppInstanceSettings(t,n),this._userAppInstances[t].events[Ht.settingsUpdated]){let r=Sn("EvEvent",Ht.settingsUpdated,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,s)}}async onPostMessage(t){let n={};try{typeof t.data=="string"||t.data instanceof String?n=JSON.parse(t.data):n=t.data}catch{}let s=null;if(n.request==qe.updateSettings)this._userAppInstances[n.userAppInstanceId]&&(this._eventHandler.publish("updateSettings",n),this._eventHandler.publish("updateEverywhere",n),this.updateAndNotifyAppInstancesOnSettingsUpdate(n.userAppInstanceId,n.data,n.componentId));else if(n.request==qe.raiseAppMessagingEvent)this._userAppInstances[n.userAppInstanceId]&&(this._raiseEventForSpecificUserAppInstance(n.userAppInstanceId,Ht.appMessaging,n.data,n.componentId),this._eventHandler.publish("updateEverywhere",n));else if(n.request==qe.getSettings)this._userAppInstances[n.userAppInstanceId]&&(Sn("EvMessage","settings",n.data),s=(await sn.getUserAppInstanceById(n.userAppInstanceId,!1)).settings);else if(n.request==qe.startLoad)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source};else if(n.request==qe.loaded)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source},s=this.getAppSettingsForAppInstanceId(n.userAppInstanceId);else if(n.request==qe.registerEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].events[n.data.eventName]=!0;else if(n.request==qe.unregisterEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),delete this._userAppInstances[n.userAppInstanceId].events[n.data.eventName];else for(let r=0;r<this._requestHandlers.length;r++)if(this._requestHandlers[r].canHandleRequest(n)){s=await this._requestHandlers[r].handleRequest(n);break}n.promisedBased&&rc.respondForPromiseBasedRequest(n,t.source,t.origin,s)}onUserAppComponentUnload(t,n){this._userAppInstances[t]&&this._userAppInstances[t].instances[n]&&(delete this._userAppInstances[t].instances[n],Object.keys(this._userAppInstances[t].instances).length==0&&delete this._userAppInstances[t])}}const Jn=new uc,or=["This song gives me major nostalgic vibes!","Who else is here after watching the movie? Amazing!","Can't believe this video only has a few views. It deserves millions!","This is the most talented guitarist I've ever seen. Mind-blowing!","I keep coming back to this video. It's just so addictive!","I wish I could sing like this. Beautiful voice!","The cinematography in this video is top-notch. So visually stunning!","This dance routine is fire! I need to learn these moves.","Who else is watching this in 2023? Timeless classic!","This tutorial is a lifesaver. Thank you so much!","I can't stop laughing! This video is pure comedy gold.","This track has been on repeat all day. Can't get enough!","I'm so impressed by the production quality. Well done!","This deserves to be the soundtrack of a blockbuster movie.","This video is so underrated. It deserves way more recognition.","This singer has such a unique and soulful voice. Goosebumps!","I've watched this video at least 20 times. It never gets old!","This is the kind of content I subscribe for. Keep it up!","I've been waiting for this collab. They did not disappoint!","This video is so informative. I've learned a lot. Thanks!","Can't believe I discovered this hidden gem. Pure talent!","The energy in this live performance is off the charts!","This video is so heartwarming. It made my day!","The lyrics of this song hit me right in the feels. Emotional!","I can't stop watching this. It's so satisfying to see.","This tutorial is so easy to follow. I finally mastered it!","This is the best cover I've ever heard. Absolutely amazing!","The special effects in this video are mind-blowing. Wow!","This artist is so underrated. They deserve more recognition.","I can't get this song out of my head. It's so catchy!","I'm in awe of the talent displayed in this video. Mesmerizing!","This video is pure art. The visuals are stunning!","This song is my anthem. It speaks to my soul.","I love how positive and uplifting this video is. Great message!","This tutorial saved my life. I was completely lost before!","The choreography in this dance video is out of this world!","This video brings back so many childhood memories. Nostalgic!","I can't believe how young this artist is. Such talent at a young age!","This video deserves all the awards. Brilliant work!","I can't help but smile while watching this video. Pure joy!","This song is so underrated. It needs to go viral!","The editing in this video is on point. So professionally done!","This video inspired me to chase my dreams. Thank you!","The guitar solo in this song gives me goosebumps. Epic!","This video deserves to be trending. Let's make it happen!","I can't get over how beautiful this scenery is. Breathtaking!","This song is my go-to when I need a pick-me-up. Love it!","This video is so relatable. Hits close to home.","I've been following this channel for years. Always amazing content!","This video is the definition of perfection. Flawless execution!"],lr=["TheVloggingGuru","MusicMastermind","TechWizard","GamingProphet","TravelEnthusiast","FoodieExplorer","FashionDiva","ComedyJester","FitnessFreak","ArtisticSoul","MovieBuff","DIYEnthusiast","ScienceGeek","NatureLover","Bookworm","SportsFanatic","PetLover","AdventureSeeker","CookingMaestro","Fashionista","GuitarHero","ComedyGenius","YogaMaster","TechJunkie","PhotographyWhiz","AnimalAdventurer","SingingSensation","GameChanger","FitnessGuru","CreativeMind","MovieCritique","DIYWizard","ScienceExplorer","OutdoorEnthusiast","LiteraryLion","SportsEnthusiast","PetWhisperer","WanderlustSoul","MusicProdigy","TechEnthusiast","CulinaryArtist","FashionIcon","GamingLegend","ComedyMaestro","YogaEnthusiast","TechGuru","PhotographyNinja","AnimalLover","SingingSuperstar","GameMaster","FitnessAddict"];function ac(){return[{id:(Math.random()+1).toString(36).substring(2),title:lr[Math.floor(Math.random()*lr.length)],text:or[Math.floor(Math.random()*or.length)],pic:"https://evmuxstatic.s3-eu-west-1.amazonaws.com/AVATAR_EXAMPLE_FREE.jpg",style:"comment",enabled:!0,created_time:new Date(Date.now()-1e3*60),sn:Math.random()>=.5?"fb":"yt",flags:{sample:!1,star:!1,shown:!1}}]}const fc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},ws=e=>(Oo("data-v-2bd7136c"),e=e(),So(),e),dc={style:{display:"flex"}},hc={class:"panel"},pc=ws(()=>he("br",null,null,-1)),gc=ws(()=>he("div",{style:{width:"50px"}},null,-1)),mc={class:"panel"},_c={class:"resizer grayone"},vc=ws(()=>he("button",null,"sceneUpdated",-1)),bc={__name:"TestHolder",setup(e){Jn.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",n=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",s=window.baseAppSettings||{};sn.updateUserAppInstance(t,{id:t,settings:s});const r=ln(null),i=ln(null);ni(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${n}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}`});function o(u){Jn.raiseEvent(Ht.comments,ac())}return(u,l)=>(gl(),vl("div",null,[he("div",dc,[he("div",hc,[Ot(" Settings (src/settings.html):"),pc,he("iframe",{ref_key:"settingsIframe",ref:i,width:"500",height:"500"},null,512)]),gc,he("div",mc,[Ot(" App (src/widget.html): "),he("div",_c,[he("iframe",{ref_key:"wudgetIframe",ref:r,width:"100%",height:"100%"},null,512)])])]),he("div",null,[Ot(" events: "),vc,Ot(),he("button",{onClick:o},"getComments2")])]))}},yc=fc(bc,[["__scopeId","data-v-2bd7136c"]]);/*!
6
- * vue-router v4.2.4
5
+ */const tc=Symbol();var rr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(rr||(rr={}));function nc(){const e=Di(!0),t=e.run(()=>ln({}));let n=[],s=[];const r=hs({install(i){r._a=i,i.provide(tc,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!ec?s.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}function sc(){let e=null,t=null;return[new Promise((s,r)=>{e=s,t=r}),e,t]}function ir(){var e,t,n;for(e="",n=0;n<32;n++)(n==8||n==12||n==16||n==20)&&(e=e+"-"),t=Math.floor(Math.random()*16).toString(16).toUpperCase(),e=e+t;return e.toLowerCase()}class Jn{constructor(){this.subscribers={}}init(){}publish(t,n){Array.isArray(this.subscribers[t])&&this.subscribers[t].forEach(s=>{try{s(t,n)}catch(r){console.error(r)}})}subscribe(t,n){return Array.isArray(this.subscribers[t])||(this.subscribers[t]=[]),this.subscribers[t].indexOf(n)>=0?()=>this.unsubscribe(t,n):(this.subscribers[t].push(n),()=>this.unsubscribe(t,n))}unsubscribe(t,n){if(!Array.isArray(this.subscribers[t])||this.subscribers[t].indexOf(n)<0)return!1;this.subscribers[t]=this.subscribers[t].filter(s=>s!==n)}}class rc{constructor(){this._requests={},this._messagesEventHandlers=new Jn,window.onmessage=this.onPostMessage.bind(this)}static respondForPromiseBasedRequest(t,n,s="*",r){if(s=="null"&&(s="*"),t.promisedBased){let i={requestGuid:t.requestGuid,response:r};n.postMessage(JSON.stringify(i),"*")}}async sendRequestAsync(t,n=null){let s=ir(),[r,i,o]=sc();return this._requests[s]={prom:r,resolve:i,reject:o},t.requestGuid=s,t.promisedBased=!0,n=n||window.parent,n.postMessage(JSON.stringify(t),"*"),r}sendRequest(t,n=null){let s=ir();t.requestGuid=s,n=n||window.parent,n.postMessage(JSON.stringify(t),"*")}onPostMessage(t){try{let n=t&&JSON.parse(t.data);if(n.requestName=="EvEvent")this._messagesEventHandlers.publish(n.eventName,n.data);else if(n.requestGuid&&this._requests[n.requestGuid]){let s=this._requests[n.requestGuid];return delete this._requests[n.requestGuid],s.resolve(n)}}catch{}}unregisterFromEvents(){}}class ic{constructor(){this._userApps={},this._userAppInstances={}}updateUserAppData(t,n,s=!1){!s||!this._userApps[t]?this._userApps[t]=n:this._userApps[t]={...this._userApps[t],...n}}updateUserAppInstance(t,n,s=!1){!s||!this._userAppInstances[t]?this._userAppInstances[t]=n:this._userAppInstances[t]={...this._userAppInstances[t],...n}}updateUserAppInstanceSettings(t,n){this._userAppInstances[t]||(this._userAppInstances[t]={},console.warn("app not exist when update")),this._userAppInstances[t].settings=n}getUserAppDataByAppId(t){return this._userApps[t]}getUserAppInstanceById(t,n=!1){let s=this._userAppInstances[t];return s&&n&&(s.appData=this.getUserAppDataByAppId(s.userAppId)),s}}let sn=new ic;class An{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class oc extends An{constructor(){super()}canHandleRequest(t){return["getComments"].includes(t.request)}async handleRequest(t){return window.mockComments||[{id:"1fsdf",title:"Sample comment",text:"Comments will appear here once the broadcast starts.",pic:"https://evmuxstatic.s3-eu-west-1.amazonaws.com/AVATAR_EXAMPLE_FREE.jpg",style:"comment",enabled:!0,created_time:new Date(Date.now()-1e3*60),sn:"fb",flags:{sample:!0,star:!1,shown:!1}}]}}class lc extends An{constructor(){super()}canHandleRequest(t){return[pe.createNewLayer,pe.removeSizeCatcher].includes(t.request)}async createNewLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async removeSizeCatcher(t){return!0}}const jt={settingsUpdated:"settingsUpdated",viewerCountChanged:"viewerCountChanged",keystroke:"keystroke",comments:"comments",appMessaging:"appMessaging",externalAppMessaging:"externalAppMessaging",fastActionButton:"fastActionButton",doubleClickOnWidget:"doubleClickOnWidget",widgetOnFocus:"widgetGotFocus",widgetOnBlur:"widgetOnBlur"};class cc extends An{constructor(){super()}canHandleRequest(t){return[pe.raiseExternalAppMessagingEvent,pe.setFastActionButtons,pe.openSideBarSettings].includes(t.request)}async raiseExternalAppMessagingEvent(t){return Vn._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,jt.externalAppMessaging,t.data.data),null}async setFastActionButtons(){return!0}async openSideBarSettings(){return!0}async handleRequest(t){return this[t.request](t)}}class uc extends An{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return[{viewers:13,type:"youtubeChannel",statistics:{viewCount:"1",likeCount:"1",dislikeCount:"0",favoriteCount:"0",commentCount:"0"},lastSubscribers:[{name:"Eran Eluz",thumbs:{default:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s88-c-k-c0x00ffffff-no-rj"},medium:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s240-c-k-c0x00ffffff-no-rj"},high:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s800-c-k-c0x00ffffff-no-rj"}}},{name:"Roman Arinenko",thumbs:{default:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s88-c-k-c0x00ffffff-no-rj"},medium:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s240-c-k-c0x00ffffff-no-rj"},high:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s800-c-k-c0x00ffffff-no-rj"}}}]},{viewers:22,type:"facebookProfile",statistics:{total_reactions:1}}]}}const pe={updateSettings:"updateSettings",getSettings:"getSettings",startLoad:"startLoad",loaded:"loaded",registerEvent:"registerEvent",unregisterEvent:"unregisterEvent",EvEvent:"EvEvent",raiseAppMessagingEvent:"raiseAppMessagingEvent",raiseExternalAppMessagingEvent:"raiseExternalAppMessagingEvent",raiseFastAccessButtonEvent:"raiseFastAccessButtonEvent",setFastActionButtons:"setFastActionButtons",createNewLayer:"createNewLayer",removeSizeCatcher:"removeSizeCatcher",openSideBarSettings:"openSideBarSettings"};let Mn=(e,t,n)=>({requestName:e,eventName:t,data:n});class ac{constructor(){this._userAppInstances={},this._messagesEventHandlers=new Jn,this._eventHandler=new Jn,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(t){this._requestHandlers.push(new oc(t)),this._requestHandlers.push(new lc(t)),this._requestHandlers.push(new cc(t)),this._requestHandlers.push(new uc(t))}_sendPostMessageToUsrAppInstancesComponents(t,n,s=null){let r=JSON.stringify(n);for(const[i,o]of Object.entries(this._userAppInstances[t].instances))s!=i&&o.window.postMessage(r,"*")}_raiseEventForSpecificUserAppInstance(t,n,s,r=null){let i=this._userAppInstances[t];if(i&&i.events&&i.events[n]){let o=Mn("EvEvent",n,s);this._sendPostMessageToUsrAppInstancesComponents(t,o,r)}}raiseEvent(t,n){for(const[s,r]of Object.entries(this._userAppInstances))this._raiseEventForSpecificUserAppInstance(s,t,n)}getAppSettingsForAppInstanceId(t){return sn.getUserAppInstanceById(t)}_makeSureAppInstanceExist(t){this._userAppInstances[t]=this._userAppInstances[t]||{},this._userAppInstances[t].instances=this._userAppInstances[t].instances||{},this._userAppInstances[t].events=this._userAppInstances[t].events||{}}updateAndNotifyAppInstancesOnSettingsUpdate(t,n,s){if(sn.updateUserAppInstanceSettings(t,n),this._userAppInstances[t].events[jt.settingsUpdated]){let r=Mn("EvEvent",jt.settingsUpdated,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,s)}}async onPostMessage(t){let n={};try{typeof t.data=="string"||t.data instanceof String?n=JSON.parse(t.data):n=t.data}catch{}let s=null;if(n.request==pe.updateSettings)this._userAppInstances[n.userAppInstanceId]&&(this._eventHandler.publish("updateSettings",n),this._eventHandler.publish("updateEverywhere",n),this.updateAndNotifyAppInstancesOnSettingsUpdate(n.userAppInstanceId,n.data,n.componentId));else if(n.request==pe.raiseAppMessagingEvent)this._userAppInstances[n.userAppInstanceId]&&(this._raiseEventForSpecificUserAppInstance(n.userAppInstanceId,jt.appMessaging,n.data,n.componentId),this._eventHandler.publish("updateEverywhere",n));else if(n.request==pe.getSettings)this._userAppInstances[n.userAppInstanceId]&&(Mn("EvMessage","settings",n.data),s=(await sn.getUserAppInstanceById(n.userAppInstanceId,!1)).settings);else if(n.request==pe.startLoad)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source};else if(n.request==pe.loaded)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source},s=this.getAppSettingsForAppInstanceId(n.userAppInstanceId);else if(n.request==pe.registerEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].events[n.data.eventName]=!0;else if(n.request==pe.unregisterEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),delete this._userAppInstances[n.userAppInstanceId].events[n.data.eventName];else for(let r=0;r<this._requestHandlers.length;r++)if(this._requestHandlers[r].canHandleRequest(n)){s=await this._requestHandlers[r].handleRequest(n);break}n.promisedBased&&rc.respondForPromiseBasedRequest(n,t.source,t.origin,s)}onUserAppComponentUnload(t,n){this._userAppInstances[t]&&this._userAppInstances[t].instances[n]&&(delete this._userAppInstances[t].instances[n],Object.keys(this._userAppInstances[t].instances).length==0&&delete this._userAppInstances[t])}}const Vn=new ac,or=["This song gives me major nostalgic vibes!","Who else is here after watching the movie? Amazing!","Can't believe this video only has a few views. It deserves millions!","This is the most talented guitarist I've ever seen. Mind-blowing!","I keep coming back to this video. It's just so addictive!","I wish I could sing like this. Beautiful voice!","The cinematography in this video is top-notch. So visually stunning!","This dance routine is fire! I need to learn these moves.","Who else is watching this in 2023? Timeless classic!","This tutorial is a lifesaver. Thank you so much!","I can't stop laughing! This video is pure comedy gold.","This track has been on repeat all day. Can't get enough!","I'm so impressed by the production quality. Well done!","This deserves to be the soundtrack of a blockbuster movie.","This video is so underrated. It deserves way more recognition.","This singer has such a unique and soulful voice. Goosebumps!","I've watched this video at least 20 times. It never gets old!","This is the kind of content I subscribe for. Keep it up!","I've been waiting for this collab. They did not disappoint!","This video is so informative. I've learned a lot. Thanks!","Can't believe I discovered this hidden gem. Pure talent!","The energy in this live performance is off the charts!","This video is so heartwarming. It made my day!","The lyrics of this song hit me right in the feels. Emotional!","I can't stop watching this. It's so satisfying to see.","This tutorial is so easy to follow. I finally mastered it!","This is the best cover I've ever heard. Absolutely amazing!","The special effects in this video are mind-blowing. Wow!","This artist is so underrated. They deserve more recognition.","I can't get this song out of my head. It's so catchy!","I'm in awe of the talent displayed in this video. Mesmerizing!","This video is pure art. The visuals are stunning!","This song is my anthem. It speaks to my soul.","I love how positive and uplifting this video is. Great message!","This tutorial saved my life. I was completely lost before!","The choreography in this dance video is out of this world!","This video brings back so many childhood memories. Nostalgic!","I can't believe how young this artist is. Such talent at a young age!","This video deserves all the awards. Brilliant work!","I can't help but smile while watching this video. Pure joy!","This song is so underrated. It needs to go viral!","The editing in this video is on point. So professionally done!","This video inspired me to chase my dreams. Thank you!","The guitar solo in this song gives me goosebumps. Epic!","This video deserves to be trending. Let's make it happen!","I can't get over how beautiful this scenery is. Breathtaking!","This song is my go-to when I need a pick-me-up. Love it!","This video is so relatable. Hits close to home.","I've been following this channel for years. Always amazing content!","This video is the definition of perfection. Flawless execution!"],lr=["TheVloggingGuru","MusicMastermind","TechWizard","GamingProphet","TravelEnthusiast","FoodieExplorer","FashionDiva","ComedyJester","FitnessFreak","ArtisticSoul","MovieBuff","DIYEnthusiast","ScienceGeek","NatureLover","Bookworm","SportsFanatic","PetLover","AdventureSeeker","CookingMaestro","Fashionista","GuitarHero","ComedyGenius","YogaMaster","TechJunkie","PhotographyWhiz","AnimalAdventurer","SingingSensation","GameChanger","FitnessGuru","CreativeMind","MovieCritique","DIYWizard","ScienceExplorer","OutdoorEnthusiast","LiteraryLion","SportsEnthusiast","PetWhisperer","WanderlustSoul","MusicProdigy","TechEnthusiast","CulinaryArtist","FashionIcon","GamingLegend","ComedyMaestro","YogaEnthusiast","TechGuru","PhotographyNinja","AnimalLover","SingingSuperstar","GameMaster","FitnessAddict"];function fc(){return[{id:(Math.random()+1).toString(36).substring(2),title:lr[Math.floor(Math.random()*lr.length)],text:or[Math.floor(Math.random()*or.length)],pic:"https://evmuxstatic.s3-eu-west-1.amazonaws.com/AVATAR_EXAMPLE_FREE.jpg",style:"comment",enabled:!0,created_time:new Date(Date.now()-1e3*60),sn:Math.random()>=.5?"fb":"yt",flags:{sample:!1,star:!1,shown:!1}}]}const dc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},ws=e=>(So("data-v-f3e17de6"),e=e(),To(),e),hc={style:{display:"flex"}},pc={class:"panel"},gc=ws(()=>he("br",null,null,-1)),mc=ws(()=>he("div",{style:{width:"50px"}},null,-1)),_c={class:"panel"},vc={class:"resizer grayone"},bc=ws(()=>he("button",null,"sceneUpdated",-1)),yc={__name:"TestHolder",setup(e){Vn.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",n=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",s=window.baseAppSettings||{};sn.updateUserAppInstance(t,{id:t,settings:s});const r=ln(null),i=ln(null);ni(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${n}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}`});function o(u){Vn.raiseEvent(jt.comments,fc())}return(u,l)=>(gl(),vl("div",null,[he("div",hc,[he("div",pc,[St(" Settings (src/settings.html):"),gc,he("iframe",{ref_key:"settingsIframe",ref:i,width:"500",height:"500"},null,512)]),mc,he("div",_c,[St(" App (src/widget.html): "),he("div",vc,[he("iframe",{ref_key:"wudgetIframe",ref:r,width:"100%",height:"100%"},null,512)])])]),he("div",null,[St(" events: "),bc,St(),he("button",{onClick:o},"getComments")])]))}},Ec=dc(yc,[["__scopeId","data-v-f3e17de6"]]);/*!
6
+ * vue-router v4.2.5
7
7
  * (c) 2023 Eduardo San Martin Morote
8
8
  * @license MIT
9
- */const ut=typeof window<"u";function Ec(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const W=Object.assign;function Mn(e,t){const n={};for(const s in t){const r=t[s];n[s]=we(r)?r.map(e):e(r)}return n}const jt=()=>{},we=Array.isArray,wc=/\/$/,Ac=e=>e.replace(wc,"");function Fn(e,t,n="/"){let s,r={},i="",o="";const u=t.indexOf("#");let l=t.indexOf("?");return u<l&&u>=0&&(l=-1),l>-1&&(s=t.slice(0,l),i=t.slice(l+1,u>-1?u:t.length),r=e(i)),u>-1&&(s=s||t.slice(0,u),o=t.slice(u,t.length)),s=Pc(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function Ic(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function cr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function xc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&bt(t.matched[s],n.matched[r])&&mi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function bt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function mi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Rc(e[n],t[n]))return!1;return!0}function Rc(e,t){return we(e)?ur(e,t):we(t)?ur(t,e):e===t}function ur(e,t){return we(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Pc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,u;for(o=0;o<s.length;o++)if(u=s[o],u!==".")if(u==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var Kt;(function(e){e.pop="pop",e.push="push"})(Kt||(Kt={}));var qt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(qt||(qt={}));function Cc(e){if(!e)if(ut){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ac(e)}const Tc=/^[^#]+#/;function Oc(e,t){return e.replace(Tc,"#")+t}function Sc(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const An=()=>({left:window.pageXOffset,top:window.pageYOffset});function Mc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Sc(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ar(e,t){return(history.state?history.state.position-t:-1)+e}const Yn=new Map;function Fc(e,t){Yn.set(e,t)}function Hc(e){const t=Yn.get(e);return Yn.delete(e),t}let jc=()=>location.protocol+"//"+location.host;function _i(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let u=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(u);return l[0]!=="/"&&(l="/"+l),cr(l,"")}return cr(n,e)+s+r}function qc(e,t,n,s){let r=[],i=[],o=null;const u=({state:g})=>{const E=_i(e,location),C=n.value,O=t.value;let B=0;if(g){if(n.value=E,t.value=g,o&&o===C){o=null;return}B=O?g.position-O.position:0}else s(E);r.forEach(F=>{F(n.value,C,{delta:B,type:Kt.pop,direction:B?B>0?qt.forward:qt.back:qt.unknown})})};function l(){o=n.value}function f(g){r.push(g);const E=()=>{const C=r.indexOf(g);C>-1&&r.splice(C,1)};return i.push(E),E}function d(){const{history:g}=window;g.state&&g.replaceState(W({},g.state,{scroll:An()}),"")}function p(){for(const g of i)g();i=[],window.removeEventListener("popstate",u),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",u),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:f,destroy:p}}function fr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?An():null}}function Bc(e){const{history:t,location:n}=window,s={value:_i(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,f,d){const p=e.indexOf("#"),g=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+l:jc()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(E){console.error(E),n[d?"replace":"assign"](g)}}function o(l,f){const d=W({},t.state,fr(r.value.back,l,r.value.forward,!0),f,{position:r.value.position});i(l,d,!0),s.value=l}function u(l,f){const d=W({},r.value,t.state,{forward:l,scroll:An()});i(d.current,d,!0);const p=W({},fr(s.value,l,null),{position:d.position+1},f);i(l,p,!1),s.value=l}return{location:s,state:r,push:u,replace:o}}function Nc(e){e=Cc(e);const t=Bc(e),n=qc(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=W({location:"",base:e,go:s,createHref:Oc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Uc(e){return typeof e=="string"||e&&typeof e=="object"}function vi(e){return typeof e=="string"||typeof e=="symbol"}const Ke={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},bi=Symbol("");var dr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(dr||(dr={}));function yt(e,t){return W(new Error,{type:e,[bi]:!0},t)}function He(e,t){return e instanceof Error&&bi in e&&(t==null||!!(e.type&t))}const hr="[^/]+?",Lc={sensitive:!1,strict:!1,start:!0,end:!0},kc=/[.+*?^${}()[\]/\\]/g;function $c(e,t){const n=W({},Lc,t),s=[];let r=n.start?"^":"";const i=[];for(const f of e){const d=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let p=0;p<f.length;p++){const g=f[p];let E=40+(n.sensitive?.25:0);if(g.type===0)p||(r+="/"),r+=g.value.replace(kc,"\\$&"),E+=40;else if(g.type===1){const{value:C,repeatable:O,optional:B,regexp:F}=g;i.push({name:C,repeatable:O,optional:B});const H=F||hr;if(H!==hr){E+=10;try{new RegExp(`(${H})`)}catch(j){throw new Error(`Invalid custom RegExp for param "${C}" (${H}): `+j.message)}}let $=O?`((?:${H})(?:/(?:${H}))*)`:`(${H})`;p||($=B&&f.length<2?`(?:/${$})`:"/"+$),B&&($+="?"),r+=$,E+=20,B&&(E+=-8),O&&(E+=-20),H===".*"&&(E+=-50)}d.push(E)}s.push(d)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function u(f){const d=f.match(o),p={};if(!d)return null;for(let g=1;g<d.length;g++){const E=d[g]||"",C=i[g-1];p[C.name]=E&&C.repeatable?E.split("/"):E}return p}function l(f){let d="",p=!1;for(const g of e){(!p||!d.endsWith("/"))&&(d+="/"),p=!1;for(const E of g)if(E.type===0)d+=E.value;else if(E.type===1){const{value:C,repeatable:O,optional:B}=E,F=C in f?f[C]:"";if(we(F)&&!O)throw new Error(`Provided param "${C}" is an array but it is not repeatable (* or + modifiers)`);const H=we(F)?F.join("/"):F;if(!H)if(B)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):p=!0);else throw new Error(`Missing required param "${C}"`);d+=H}}return d||"/"}return{re:o,score:s,keys:i,parse:u,stringify:l}}function Dc(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Kc(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=Dc(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(pr(s))return 1;if(pr(r))return-1}return r.length-s.length}function pr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const zc={type:0,value:""},Wc=/[a-zA-Z0-9_]/;function Gc(e){if(!e)return[[]];if(e==="/")return[[zc]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(E){throw new Error(`ERR (${n})/"${f}": ${E}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let u=0,l,f="",d="";function p(){f&&(n===0?i.push({type:0,value:f}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:f,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function g(){f+=l}for(;u<e.length;){if(l=e[u++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(f&&p(),o()):l===":"?(p(),n=1):g();break;case 4:g(),n=s;break;case 1:l==="("?n=2:Wc.test(l)?g():(p(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&u--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:p(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&u--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),p(),o(),r}function Vc(e,t,n){const s=$c(Gc(e.path),n),r=W(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Jc(e,t){const n=[],s=new Map;t=_r({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function i(d,p,g){const E=!g,C=Yc(d);C.aliasOf=g&&g.record;const O=_r(t,d),B=[C];if("alias"in d){const $=typeof d.alias=="string"?[d.alias]:d.alias;for(const j of $)B.push(W({},C,{components:g?g.record.components:C.components,path:j,aliasOf:g?g.record:C}))}let F,H;for(const $ of B){const{path:j}=$;if(p&&j[0]!=="/"){const ne=p.record.path,le=ne[ne.length-1]==="/"?"":"/";$.path=p.record.path+(j&&le+j)}if(F=Vc($,p,O),g?g.alias.push(F):(H=H||F,H!==F&&H.alias.push(F),E&&d.name&&!mr(F)&&o(d.name)),C.children){const ne=C.children;for(let le=0;le<ne.length;le++)i(ne[le],F,g&&g.children[le])}g=g||F,(F.record.components&&Object.keys(F.record.components).length||F.record.name||F.record.redirect)&&l(F)}return H?()=>{o(H)}:jt}function o(d){if(vi(d)){const p=s.get(d);p&&(s.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function u(){return n}function l(d){let p=0;for(;p<n.length&&Kc(d,n[p])>=0&&(d.record.path!==n[p].record.path||!yi(d,n[p]));)p++;n.splice(p,0,d),d.record.name&&!mr(d)&&s.set(d.record.name,d)}function f(d,p){let g,E={},C,O;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw yt(1,{location:d});O=g.record.name,E=W(gr(p.params,g.keys.filter(H=>!H.optional).map(H=>H.name)),d.params&&gr(d.params,g.keys.map(H=>H.name))),C=g.stringify(E)}else if("path"in d)C=d.path,g=n.find(H=>H.re.test(C)),g&&(E=g.parse(C),O=g.record.name);else{if(g=p.name?s.get(p.name):n.find(H=>H.re.test(p.path)),!g)throw yt(1,{location:d,currentLocation:p});O=g.record.name,E=W({},p.params,d.params),C=g.stringify(E)}const B=[];let F=g;for(;F;)B.unshift(F.record),F=F.parent;return{name:O,path:C,params:E,matched:B,meta:Xc(B)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:u,getRecordMatcher:r}}function gr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Yc(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Qc(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Qc(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function mr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Xc(e){return e.reduce((t,n)=>W(t,n.meta),{})}function _r(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function yi(e,t){return t.children.some(n=>n===e||yi(e,n))}const Ei=/#/g,Zc=/&/g,eu=/\//g,tu=/=/g,nu=/\?/g,wi=/\+/g,su=/%5B/g,ru=/%5D/g,Ai=/%5E/g,iu=/%60/g,Ii=/%7B/g,ou=/%7C/g,xi=/%7D/g,lu=/%20/g;function As(e){return encodeURI(""+e).replace(ou,"|").replace(su,"[").replace(ru,"]")}function cu(e){return As(e).replace(Ii,"{").replace(xi,"}").replace(Ai,"^")}function Qn(e){return As(e).replace(wi,"%2B").replace(lu,"+").replace(Ei,"%23").replace(Zc,"%26").replace(iu,"`").replace(Ii,"{").replace(xi,"}").replace(Ai,"^")}function uu(e){return Qn(e).replace(tu,"%3D")}function au(e){return As(e).replace(Ei,"%23").replace(nu,"%3F")}function fu(e){return e==null?"":au(e).replace(eu,"%2F")}function fn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function du(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(wi," "),o=i.indexOf("="),u=fn(o<0?i:i.slice(0,o)),l=o<0?null:fn(i.slice(o+1));if(u in t){let f=t[u];we(f)||(f=t[u]=[f]),f.push(l)}else t[u]=l}return t}function vr(e){let t="";for(let n in e){const s=e[n];if(n=uu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(we(s)?s.map(i=>i&&Qn(i)):[s&&Qn(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function hu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=we(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const pu=Symbol(""),br=Symbol(""),Is=Symbol(""),Ri=Symbol(""),Xn=Symbol("");function Pt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function We(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,u)=>{const l=p=>{p===!1?u(yt(4,{from:n,to:t})):p instanceof Error?u(p):Uc(p)?u(yt(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),o())},f=e.call(s&&s.instances[r],t,n,l);let d=Promise.resolve(f);e.length<3&&(d=d.then(l)),d.catch(p=>u(p))})}function Hn(e,t,n,s){const r=[];for(const i of e)for(const o in i.components){let u=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(gu(u)){const f=(u.__vccOpts||u)[t];f&&r.push(We(f,n,s,i,o))}else{let l=u();r.push(()=>l.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const d=Ec(f)?f.default:f;i.components[o]=d;const g=(d.__vccOpts||d)[t];return g&&We(g,n,s,i,o)()}))}}return r}function gu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yr(e){const t=Ne(Is),n=Ne(Ri),s=_e(()=>t.resolve(ht(e.to))),r=_e(()=>{const{matched:l}=s.value,{length:f}=l,d=l[f-1],p=n.matched;if(!d||!p.length)return-1;const g=p.findIndex(bt.bind(null,d));if(g>-1)return g;const E=Er(l[f-2]);return f>1&&Er(d)===E&&p[p.length-1].path!==E?p.findIndex(bt.bind(null,l[f-2])):g}),i=_e(()=>r.value>-1&&bu(n.params,s.value.params)),o=_e(()=>r.value>-1&&r.value===n.matched.length-1&&mi(n.params,s.value.params));function u(l={}){return vu(l)?t[ht(e.replace)?"replace":"push"](ht(e.to)).catch(jt):Promise.resolve()}return{route:s,href:_e(()=>s.value.href),isActive:i,isExactActive:o,navigate:u}}const mu=Zr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:yr,setup(e,{slots:t}){const n=mn(yr(e)),{options:s}=Ne(Is),r=_e(()=>({[wr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[wr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:gi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),_u=mu;function vu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function bu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!we(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function Er(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const wr=(e,t,n)=>e??t??n,yu=Zr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ne(Xn),r=_e(()=>e.route||s.value),i=Ne(br,0),o=_e(()=>{let f=ht(i);const{matched:d}=r.value;let p;for(;(p=d[f])&&!p.components;)f++;return f}),u=_e(()=>r.value.matched[o.value]);tn(br,_e(()=>o.value+1)),tn(pu,u),tn(Xn,r);const l=ln();return Zt(()=>[l.value,u.value,e.name],([f,d,p],[g,E,C])=>{d&&(d.instances[p]=f,E&&E!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=E.leaveGuards),d.updateGuards.size||(d.updateGuards=E.updateGuards))),f&&d&&(!E||!bt(d,E)||!g)&&(d.enterCallbacks[p]||[]).forEach(O=>O(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,p=u.value,g=p&&p.components[d];if(!g)return Ar(n.default,{Component:g,route:f});const E=p.props[d],C=E?E===!0?f.params:typeof E=="function"?E(f):E:null,B=gi(g,W({},C,t,{onVnodeUnmounted:F=>{F.component.isUnmounted&&(p.instances[d]=null)},ref:l}));return Ar(n.default,{Component:B,route:f})||B}}});function Ar(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Eu=yu;function wu(e){const t=Jc(e.routes,e),n=e.parseQuery||du,s=e.stringifyQuery||vr,r=e.history,i=Pt(),o=Pt(),u=Pt(),l=bo(Ke);let f=Ke;ut&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Mn.bind(null,_=>""+_),p=Mn.bind(null,fu),g=Mn.bind(null,fn);function E(_,R){let I,T;return vi(_)?(I=t.getRecordMatcher(_),T=R):T=_,t.addRoute(T,I)}function C(_){const R=t.getRecordMatcher(_);R&&t.removeRoute(R)}function O(){return t.getRoutes().map(_=>_.record)}function B(_){return!!t.getRecordMatcher(_)}function F(_,R){if(R=W({},R||l.value),typeof _=="string"){const h=Fn(n,_,R.path),m=t.resolve({path:h.path},R),v=r.createHref(h.fullPath);return W(h,m,{params:g(m.params),hash:fn(h.hash),redirectedFrom:void 0,href:v})}let I;if("path"in _)I=W({},_,{path:Fn(n,_.path,R.path).path});else{const h=W({},_.params);for(const m in h)h[m]==null&&delete h[m];I=W({},_,{params:p(h)}),R.params=p(R.params)}const T=t.resolve(I,R),z=_.hash||"";T.params=d(g(T.params));const c=Ic(s,W({},_,{hash:cu(z),path:T.path})),a=r.createHref(c);return W({fullPath:c,hash:z,query:s===vr?hu(_.query):_.query||{}},T,{redirectedFrom:void 0,href:a})}function H(_){return typeof _=="string"?Fn(n,_,l.value.path):W({},_)}function $(_,R){if(f!==_)return yt(8,{from:R,to:_})}function j(_){return Ae(_)}function ne(_){return j(W(H(_),{replace:!0}))}function le(_){const R=_.matched[_.matched.length-1];if(R&&R.redirect){const{redirect:I}=R;let T=typeof I=="function"?I(_):I;return typeof T=="string"&&(T=T.includes("?")||T.includes("#")?T=H(T):{path:T},T.params={}),W({query:_.query,hash:_.hash,params:"path"in T?{}:_.params},T)}}function Ae(_,R){const I=f=F(_),T=l.value,z=_.state,c=_.force,a=_.replace===!0,h=le(I);if(h)return Ae(W(H(h),{state:typeof h=="object"?W({},z,h.state):z,force:c,replace:a}),R||I);const m=I;m.redirectedFrom=R;let v;return!c&&xc(s,T,I)&&(v=yt(16,{to:m,from:T}),Re(T,T,!0,!1)),(v?Promise.resolve(v):Ie(m,T)).catch(b=>He(b)?He(b,2)?b:$e(b):K(b,m,T)).then(b=>{if(b){if(He(b,2))return Ae(W({replace:a},H(b.to),{state:typeof b.to=="object"?W({},z,b.to.state):z,force:c}),R||m)}else b=Ye(m,T,!0,a,z);return ke(m,T,b),b})}function Me(_,R){const I=$(_,R);return I?Promise.reject(I):Promise.resolve()}function st(_){const R=ot.values().next().value;return R&&typeof R.runWithContext=="function"?R.runWithContext(_):_()}function Ie(_,R){let I;const[T,z,c]=Au(_,R);I=Hn(T.reverse(),"beforeRouteLeave",_,R);for(const h of T)h.leaveGuards.forEach(m=>{I.push(We(m,_,R))});const a=Me.bind(null,_,R);return I.push(a),se(I).then(()=>{I=[];for(const h of i.list())I.push(We(h,_,R));return I.push(a),se(I)}).then(()=>{I=Hn(z,"beforeRouteUpdate",_,R);for(const h of z)h.updateGuards.forEach(m=>{I.push(We(m,_,R))});return I.push(a),se(I)}).then(()=>{I=[];for(const h of c)if(h.beforeEnter)if(we(h.beforeEnter))for(const m of h.beforeEnter)I.push(We(m,_,R));else I.push(We(h.beforeEnter,_,R));return I.push(a),se(I)}).then(()=>(_.matched.forEach(h=>h.enterCallbacks={}),I=Hn(c,"beforeRouteEnter",_,R),I.push(a),se(I))).then(()=>{I=[];for(const h of o.list())I.push(We(h,_,R));return I.push(a),se(I)}).catch(h=>He(h,8)?h:Promise.reject(h))}function ke(_,R,I){u.list().forEach(T=>st(()=>T(_,R,I)))}function Ye(_,R,I,T,z){const c=$(_,R);if(c)return c;const a=R===Ke,h=ut?history.state:{};I&&(T||a?r.replace(_.fullPath,W({scroll:a&&h&&h.scroll},z)):r.push(_.fullPath,z)),l.value=_,Re(_,R,I,a),$e()}let xe;function It(){xe||(xe=r.listen((_,R,I)=>{if(!zt.listening)return;const T=F(_),z=le(T);if(z){Ae(W(z,{replace:!0}),T).catch(jt);return}f=T;const c=l.value;ut&&Fc(ar(c.fullPath,I.delta),An()),Ie(T,c).catch(a=>He(a,12)?a:He(a,2)?(Ae(a.to,T).then(h=>{He(h,20)&&!I.delta&&I.type===Kt.pop&&r.go(-1,!1)}).catch(jt),Promise.reject()):(I.delta&&r.go(-I.delta,!1),K(a,T,c))).then(a=>{a=a||Ye(T,c,!1),a&&(I.delta&&!He(a,8)?r.go(-I.delta,!1):I.type===Kt.pop&&He(a,20)&&r.go(-1,!1)),ke(T,c,a)}).catch(jt)}))}let rt=Pt(),Z=Pt(),V;function K(_,R,I){$e(_);const T=Z.list();return T.length?T.forEach(z=>z(_,R,I)):console.error(_),Promise.reject(_)}function Fe(){return V&&l.value!==Ke?Promise.resolve():new Promise((_,R)=>{rt.add([_,R])})}function $e(_){return V||(V=!_,It(),rt.list().forEach(([R,I])=>_?I(_):R()),rt.reset()),_}function Re(_,R,I,T){const{scrollBehavior:z}=e;if(!ut||!z)return Promise.resolve();const c=!I&&Hc(ar(_.fullPath,0))||(T||!I)&&history.state&&history.state.scroll||null;return Wr().then(()=>z(_,R,c)).then(a=>a&&Mc(a)).catch(a=>K(a,_,R))}const ue=_=>r.go(_);let it;const ot=new Set,zt={currentRoute:l,listening:!0,addRoute:E,removeRoute:C,hasRoute:B,getRoutes:O,resolve:F,options:e,push:j,replace:ne,go:ue,back:()=>ue(-1),forward:()=>ue(1),beforeEach:i.add,beforeResolve:o.add,afterEach:u.add,onError:Z.add,isReady:Fe,install(_){const R=this;_.component("RouterLink",_u),_.component("RouterView",Eu),_.config.globalProperties.$router=R,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>ht(l)}),ut&&!it&&l.value===Ke&&(it=!0,j(r.location).catch(z=>{}));const I={};for(const z in Ke)Object.defineProperty(I,z,{get:()=>l.value[z],enumerable:!0});_.provide(Is,R),_.provide(Ri,Nr(I)),_.provide(Xn,l);const T=_.unmount;ot.add(_),_.unmount=function(){ot.delete(_),ot.size<1&&(f=Ke,xe&&xe(),xe=null,l.value=Ke,it=!1,V=!1),T()}}};function se(_){return _.reduce((R,I)=>R.then(()=>st(I)),Promise.resolve())}return zt}function Au(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const u=t.matched[o];u&&(e.matched.find(f=>bt(f,u))?s.push(u):n.push(u));const l=e.matched[o];l&&(t.matched.find(f=>bt(f,l))||r.push(l))}return[n,s,r]}const Iu=wu({history:Nc("/"),routes:[]}),xs=Xl(yc);xs.use(nc());xs.use(Iu);xs.mount("#app");
9
+ */const ut=typeof window<"u";function wc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const W=Object.assign;function Fn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ae(r)?r.map(e):e(r)}return n}const Ht=()=>{},Ae=Array.isArray,Ac=/\/$/,xc=e=>e.replace(Ac,"");function jn(e,t,n="/"){let s,r={},i="",o="";const u=t.indexOf("#");let l=t.indexOf("?");return u<l&&u>=0&&(l=-1),l>-1&&(s=t.slice(0,l),i=t.slice(l+1,u>-1?u:t.length),r=e(i)),u>-1&&(s=s||t.slice(0,u),o=t.slice(u,t.length)),s=Cc(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function Ic(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function cr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Pc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&bt(t.matched[s],n.matched[r])&&mi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function bt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function mi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Rc(e[n],t[n]))return!1;return!0}function Rc(e,t){return Ae(e)?ur(e,t):Ae(t)?ur(t,e):e===t}function ur(e,t){return Ae(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Cc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,u;for(o=0;o<s.length;o++)if(u=s[o],u!==".")if(u==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var Kt;(function(e){e.pop="pop",e.push="push"})(Kt||(Kt={}));var qt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(qt||(qt={}));function Oc(e){if(!e)if(ut){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),xc(e)}const Sc=/^[^#]+#/;function Tc(e,t){return e.replace(Sc,"#")+t}function Mc(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const xn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Fc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Mc(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ar(e,t){return(history.state?history.state.position-t:-1)+e}const Yn=new Map;function jc(e,t){Yn.set(e,t)}function Hc(e){const t=Yn.get(e);return Yn.delete(e),t}let qc=()=>location.protocol+"//"+location.host;function _i(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let u=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(u);return l[0]!=="/"&&(l="/"+l),cr(l,"")}return cr(n,e)+s+r}function kc(e,t,n,s){let r=[],i=[],o=null;const u=({state:g})=>{const E=_i(e,location),C=n.value,S=t.value;let k=0;if(g){if(n.value=E,t.value=g,o&&o===C){o=null;return}k=S?g.position-S.position:0}else s(E);r.forEach(F=>{F(n.value,C,{delta:k,type:Kt.pop,direction:k?k>0?qt.forward:qt.back:qt.unknown})})};function l(){o=n.value}function f(g){r.push(g);const E=()=>{const C=r.indexOf(g);C>-1&&r.splice(C,1)};return i.push(E),E}function d(){const{history:g}=window;g.state&&g.replaceState(W({},g.state,{scroll:xn()}),"")}function p(){for(const g of i)g();i=[],window.removeEventListener("popstate",u),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",u),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:f,destroy:p}}function fr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?xn():null}}function Bc(e){const{history:t,location:n}=window,s={value:_i(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,f,d){const p=e.indexOf("#"),g=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+l:qc()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(E){console.error(E),n[d?"replace":"assign"](g)}}function o(l,f){const d=W({},t.state,fr(r.value.back,l,r.value.forward,!0),f,{position:r.value.position});i(l,d,!0),s.value=l}function u(l,f){const d=W({},r.value,t.state,{forward:l,scroll:xn()});i(d.current,d,!0);const p=W({},fr(s.value,l,null),{position:d.position+1},f);i(l,p,!1),s.value=l}return{location:s,state:r,push:u,replace:o}}function Nc(e){e=Oc(e);const t=Bc(e),n=kc(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=W({location:"",base:e,go:s,createHref:Tc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Lc(e){return typeof e=="string"||e&&typeof e=="object"}function vi(e){return typeof e=="string"||typeof e=="symbol"}const Ke={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},bi=Symbol("");var dr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(dr||(dr={}));function yt(e,t){return W(new Error,{type:e,[bi]:!0},t)}function He(e,t){return e instanceof Error&&bi in e&&(t==null||!!(e.type&t))}const hr="[^/]+?",Uc={sensitive:!1,strict:!1,start:!0,end:!0},$c=/[.+*?^${}()[\]/\\]/g;function Dc(e,t){const n=W({},Uc,t),s=[];let r=n.start?"^":"";const i=[];for(const f of e){const d=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let p=0;p<f.length;p++){const g=f[p];let E=40+(n.sensitive?.25:0);if(g.type===0)p||(r+="/"),r+=g.value.replace($c,"\\$&"),E+=40;else if(g.type===1){const{value:C,repeatable:S,optional:k,regexp:F}=g;i.push({name:C,repeatable:S,optional:k});const j=F||hr;if(j!==hr){E+=10;try{new RegExp(`(${j})`)}catch(H){throw new Error(`Invalid custom RegExp for param "${C}" (${j}): `+H.message)}}let $=S?`((?:${j})(?:/(?:${j}))*)`:`(${j})`;p||($=k&&f.length<2?`(?:/${$})`:"/"+$),k&&($+="?"),r+=$,E+=20,k&&(E+=-8),S&&(E+=-20),j===".*"&&(E+=-50)}d.push(E)}s.push(d)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function u(f){const d=f.match(o),p={};if(!d)return null;for(let g=1;g<d.length;g++){const E=d[g]||"",C=i[g-1];p[C.name]=E&&C.repeatable?E.split("/"):E}return p}function l(f){let d="",p=!1;for(const g of e){(!p||!d.endsWith("/"))&&(d+="/"),p=!1;for(const E of g)if(E.type===0)d+=E.value;else if(E.type===1){const{value:C,repeatable:S,optional:k}=E,F=C in f?f[C]:"";if(Ae(F)&&!S)throw new Error(`Provided param "${C}" is an array but it is not repeatable (* or + modifiers)`);const j=Ae(F)?F.join("/"):F;if(!j)if(k)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):p=!0);else throw new Error(`Missing required param "${C}"`);d+=j}}return d||"/"}return{re:o,score:s,keys:i,parse:u,stringify:l}}function Kc(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function zc(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=Kc(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(pr(s))return 1;if(pr(r))return-1}return r.length-s.length}function pr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Wc={type:0,value:""},Gc=/[a-zA-Z0-9_]/;function Qc(e){if(!e)return[[]];if(e==="/")return[[Wc]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(E){throw new Error(`ERR (${n})/"${f}": ${E}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let u=0,l,f="",d="";function p(){f&&(n===0?i.push({type:0,value:f}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:f,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function g(){f+=l}for(;u<e.length;){if(l=e[u++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(f&&p(),o()):l===":"?(p(),n=1):g();break;case 4:g(),n=s;break;case 1:l==="("?n=2:Gc.test(l)?g():(p(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&u--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:p(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&u--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),p(),o(),r}function Jc(e,t,n){const s=Dc(Qc(e.path),n),r=W(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Vc(e,t){const n=[],s=new Map;t=_r({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function i(d,p,g){const E=!g,C=Yc(d);C.aliasOf=g&&g.record;const S=_r(t,d),k=[C];if("alias"in d){const $=typeof d.alias=="string"?[d.alias]:d.alias;for(const H of $)k.push(W({},C,{components:g?g.record.components:C.components,path:H,aliasOf:g?g.record:C}))}let F,j;for(const $ of k){const{path:H}=$;if(p&&H[0]!=="/"){const ne=p.record.path,le=ne[ne.length-1]==="/"?"":"/";$.path=p.record.path+(H&&le+H)}if(F=Jc($,p,S),g?g.alias.push(F):(j=j||F,j!==F&&j.alias.push(F),E&&d.name&&!mr(F)&&o(d.name)),C.children){const ne=C.children;for(let le=0;le<ne.length;le++)i(ne[le],F,g&&g.children[le])}g=g||F,(F.record.components&&Object.keys(F.record.components).length||F.record.name||F.record.redirect)&&l(F)}return j?()=>{o(j)}:Ht}function o(d){if(vi(d)){const p=s.get(d);p&&(s.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function u(){return n}function l(d){let p=0;for(;p<n.length&&zc(d,n[p])>=0&&(d.record.path!==n[p].record.path||!yi(d,n[p]));)p++;n.splice(p,0,d),d.record.name&&!mr(d)&&s.set(d.record.name,d)}function f(d,p){let g,E={},C,S;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw yt(1,{location:d});S=g.record.name,E=W(gr(p.params,g.keys.filter(j=>!j.optional).map(j=>j.name)),d.params&&gr(d.params,g.keys.map(j=>j.name))),C=g.stringify(E)}else if("path"in d)C=d.path,g=n.find(j=>j.re.test(C)),g&&(E=g.parse(C),S=g.record.name);else{if(g=p.name?s.get(p.name):n.find(j=>j.re.test(p.path)),!g)throw yt(1,{location:d,currentLocation:p});S=g.record.name,E=W({},p.params,d.params),C=g.stringify(E)}const k=[];let F=g;for(;F;)k.unshift(F.record),F=F.parent;return{name:S,path:C,params:E,matched:k,meta:Zc(k)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:u,getRecordMatcher:r}}function gr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Yc(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Xc(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Xc(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function mr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Zc(e){return e.reduce((t,n)=>W(t,n.meta),{})}function _r(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function yi(e,t){return t.children.some(n=>n===e||yi(e,n))}const Ei=/#/g,eu=/&/g,tu=/\//g,nu=/=/g,su=/\?/g,wi=/\+/g,ru=/%5B/g,iu=/%5D/g,Ai=/%5E/g,ou=/%60/g,xi=/%7B/g,lu=/%7C/g,Ii=/%7D/g,cu=/%20/g;function As(e){return encodeURI(""+e).replace(lu,"|").replace(ru,"[").replace(iu,"]")}function uu(e){return As(e).replace(xi,"{").replace(Ii,"}").replace(Ai,"^")}function Xn(e){return As(e).replace(wi,"%2B").replace(cu,"+").replace(Ei,"%23").replace(eu,"%26").replace(ou,"`").replace(xi,"{").replace(Ii,"}").replace(Ai,"^")}function au(e){return Xn(e).replace(nu,"%3D")}function fu(e){return As(e).replace(Ei,"%23").replace(su,"%3F")}function du(e){return e==null?"":fu(e).replace(tu,"%2F")}function fn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function hu(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(wi," "),o=i.indexOf("="),u=fn(o<0?i:i.slice(0,o)),l=o<0?null:fn(i.slice(o+1));if(u in t){let f=t[u];Ae(f)||(f=t[u]=[f]),f.push(l)}else t[u]=l}return t}function vr(e){let t="";for(let n in e){const s=e[n];if(n=au(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ae(s)?s.map(i=>i&&Xn(i)):[s&&Xn(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function pu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ae(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const gu=Symbol(""),br=Symbol(""),xs=Symbol(""),Pi=Symbol(""),Zn=Symbol("");function Rt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function We(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,u)=>{const l=p=>{p===!1?u(yt(4,{from:n,to:t})):p instanceof Error?u(p):Lc(p)?u(yt(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),o())},f=e.call(s&&s.instances[r],t,n,l);let d=Promise.resolve(f);e.length<3&&(d=d.then(l)),d.catch(p=>u(p))})}function Hn(e,t,n,s){const r=[];for(const i of e)for(const o in i.components){let u=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(mu(u)){const f=(u.__vccOpts||u)[t];f&&r.push(We(f,n,s,i,o))}else{let l=u();r.push(()=>l.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const d=wc(f)?f.default:f;i.components[o]=d;const g=(d.__vccOpts||d)[t];return g&&We(g,n,s,i,o)()}))}}return r}function mu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yr(e){const t=Be(xs),n=Be(Pi),s=ve(()=>t.resolve(ht(e.to))),r=ve(()=>{const{matched:l}=s.value,{length:f}=l,d=l[f-1],p=n.matched;if(!d||!p.length)return-1;const g=p.findIndex(bt.bind(null,d));if(g>-1)return g;const E=Er(l[f-2]);return f>1&&Er(d)===E&&p[p.length-1].path!==E?p.findIndex(bt.bind(null,l[f-2])):g}),i=ve(()=>r.value>-1&&yu(n.params,s.value.params)),o=ve(()=>r.value>-1&&r.value===n.matched.length-1&&mi(n.params,s.value.params));function u(l={}){return bu(l)?t[ht(e.replace)?"replace":"push"](ht(e.to)).catch(Ht):Promise.resolve()}return{route:s,href:ve(()=>s.value.href),isActive:i,isExactActive:o,navigate:u}}const _u=Zr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:yr,setup(e,{slots:t}){const n=mn(yr(e)),{options:s}=Be(xs),r=ve(()=>({[wr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[wr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:gi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),vu=_u;function bu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function yu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ae(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function Er(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const wr=(e,t,n)=>e??t??n,Eu=Zr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Be(Zn),r=ve(()=>e.route||s.value),i=Be(br,0),o=ve(()=>{let f=ht(i);const{matched:d}=r.value;let p;for(;(p=d[f])&&!p.components;)f++;return f}),u=ve(()=>r.value.matched[o.value]);tn(br,ve(()=>o.value+1)),tn(gu,u),tn(Zn,r);const l=ln();return Zt(()=>[l.value,u.value,e.name],([f,d,p],[g,E,C])=>{d&&(d.instances[p]=f,E&&E!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=E.leaveGuards),d.updateGuards.size||(d.updateGuards=E.updateGuards))),f&&d&&(!E||!bt(d,E)||!g)&&(d.enterCallbacks[p]||[]).forEach(S=>S(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,p=u.value,g=p&&p.components[d];if(!g)return Ar(n.default,{Component:g,route:f});const E=p.props[d],C=E?E===!0?f.params:typeof E=="function"?E(f):E:null,k=gi(g,W({},C,t,{onVnodeUnmounted:F=>{F.component.isUnmounted&&(p.instances[d]=null)},ref:l}));return Ar(n.default,{Component:k,route:f})||k}}});function Ar(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const wu=Eu;function Au(e){const t=Vc(e.routes,e),n=e.parseQuery||hu,s=e.stringifyQuery||vr,r=e.history,i=Rt(),o=Rt(),u=Rt(),l=bo(Ke);let f=Ke;ut&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Fn.bind(null,_=>""+_),p=Fn.bind(null,du),g=Fn.bind(null,fn);function E(_,P){let x,O;return vi(_)?(x=t.getRecordMatcher(_),O=P):O=_,t.addRoute(O,x)}function C(_){const P=t.getRecordMatcher(_);P&&t.removeRoute(P)}function S(){return t.getRoutes().map(_=>_.record)}function k(_){return!!t.getRecordMatcher(_)}function F(_,P){if(P=W({},P||l.value),typeof _=="string"){const h=jn(n,_,P.path),m=t.resolve({path:h.path},P),v=r.createHref(h.fullPath);return W(h,m,{params:g(m.params),hash:fn(h.hash),redirectedFrom:void 0,href:v})}let x;if("path"in _)x=W({},_,{path:jn(n,_.path,P.path).path});else{const h=W({},_.params);for(const m in h)h[m]==null&&delete h[m];x=W({},_,{params:p(h)}),P.params=p(P.params)}const O=t.resolve(x,P),z=_.hash||"";O.params=d(g(O.params));const c=Ic(s,W({},_,{hash:uu(z),path:O.path})),a=r.createHref(c);return W({fullPath:c,hash:z,query:s===vr?pu(_.query):_.query||{}},O,{redirectedFrom:void 0,href:a})}function j(_){return typeof _=="string"?jn(n,_,l.value.path):W({},_)}function $(_,P){if(f!==_)return yt(8,{from:P,to:_})}function H(_){return xe(_)}function ne(_){return H(W(j(_),{replace:!0}))}function le(_){const P=_.matched[_.matched.length-1];if(P&&P.redirect){const{redirect:x}=P;let O=typeof x=="function"?x(_):x;return typeof O=="string"&&(O=O.includes("?")||O.includes("#")?O=j(O):{path:O},O.params={}),W({query:_.query,hash:_.hash,params:"path"in O?{}:_.params},O)}}function xe(_,P){const x=f=F(_),O=l.value,z=_.state,c=_.force,a=_.replace===!0,h=le(x);if(h)return xe(W(j(h),{state:typeof h=="object"?W({},z,h.state):z,force:c,replace:a}),P||x);const m=x;m.redirectedFrom=P;let v;return!c&&Pc(s,O,x)&&(v=yt(16,{to:m,from:O}),Re(O,O,!0,!1)),(v?Promise.resolve(v):Ie(m,O)).catch(b=>He(b)?He(b,2)?b:$e(b):K(b,m,O)).then(b=>{if(b){if(He(b,2))return xe(W({replace:a},j(b.to),{state:typeof b.to=="object"?W({},z,b.to.state):z,force:c}),P||m)}else b=Ve(m,O,!0,a,z);return Ue(m,O,b),b})}function Fe(_,P){const x=$(_,P);return x?Promise.reject(x):Promise.resolve()}function st(_){const P=ot.values().next().value;return P&&typeof P.runWithContext=="function"?P.runWithContext(_):_()}function Ie(_,P){let x;const[O,z,c]=xu(_,P);x=Hn(O.reverse(),"beforeRouteLeave",_,P);for(const h of O)h.leaveGuards.forEach(m=>{x.push(We(m,_,P))});const a=Fe.bind(null,_,P);return x.push(a),se(x).then(()=>{x=[];for(const h of i.list())x.push(We(h,_,P));return x.push(a),se(x)}).then(()=>{x=Hn(z,"beforeRouteUpdate",_,P);for(const h of z)h.updateGuards.forEach(m=>{x.push(We(m,_,P))});return x.push(a),se(x)}).then(()=>{x=[];for(const h of c)if(h.beforeEnter)if(Ae(h.beforeEnter))for(const m of h.beforeEnter)x.push(We(m,_,P));else x.push(We(h.beforeEnter,_,P));return x.push(a),se(x)}).then(()=>(_.matched.forEach(h=>h.enterCallbacks={}),x=Hn(c,"beforeRouteEnter",_,P),x.push(a),se(x))).then(()=>{x=[];for(const h of o.list())x.push(We(h,_,P));return x.push(a),se(x)}).catch(h=>He(h,8)?h:Promise.reject(h))}function Ue(_,P,x){u.list().forEach(O=>st(()=>O(_,P,x)))}function Ve(_,P,x,O,z){const c=$(_,P);if(c)return c;const a=P===Ke,h=ut?history.state:{};x&&(O||a?r.replace(_.fullPath,W({scroll:a&&h&&h.scroll},z)):r.push(_.fullPath,z)),l.value=_,Re(_,P,x,a),$e()}let Pe;function xt(){Pe||(Pe=r.listen((_,P,x)=>{if(!zt.listening)return;const O=F(_),z=le(O);if(z){xe(W(z,{replace:!0}),O).catch(Ht);return}f=O;const c=l.value;ut&&jc(ar(c.fullPath,x.delta),xn()),Ie(O,c).catch(a=>He(a,12)?a:He(a,2)?(xe(a.to,O).then(h=>{He(h,20)&&!x.delta&&x.type===Kt.pop&&r.go(-1,!1)}).catch(Ht),Promise.reject()):(x.delta&&r.go(-x.delta,!1),K(a,O,c))).then(a=>{a=a||Ve(O,c,!1),a&&(x.delta&&!He(a,8)?r.go(-x.delta,!1):x.type===Kt.pop&&He(a,20)&&r.go(-1,!1)),Ue(O,c,a)}).catch(Ht)}))}let rt=Rt(),Z=Rt(),Q;function K(_,P,x){$e(_);const O=Z.list();return O.length?O.forEach(z=>z(_,P,x)):console.error(_),Promise.reject(_)}function je(){return Q&&l.value!==Ke?Promise.resolve():new Promise((_,P)=>{rt.add([_,P])})}function $e(_){return Q||(Q=!_,xt(),rt.list().forEach(([P,x])=>_?x(_):P()),rt.reset()),_}function Re(_,P,x,O){const{scrollBehavior:z}=e;if(!ut||!z)return Promise.resolve();const c=!x&&Hc(ar(_.fullPath,0))||(O||!x)&&history.state&&history.state.scroll||null;return Wr().then(()=>z(_,P,c)).then(a=>a&&Fc(a)).catch(a=>K(a,_,P))}const ue=_=>r.go(_);let it;const ot=new Set,zt={currentRoute:l,listening:!0,addRoute:E,removeRoute:C,hasRoute:k,getRoutes:S,resolve:F,options:e,push:H,replace:ne,go:ue,back:()=>ue(-1),forward:()=>ue(1),beforeEach:i.add,beforeResolve:o.add,afterEach:u.add,onError:Z.add,isReady:je,install(_){const P=this;_.component("RouterLink",vu),_.component("RouterView",wu),_.config.globalProperties.$router=P,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>ht(l)}),ut&&!it&&l.value===Ke&&(it=!0,H(r.location).catch(z=>{}));const x={};for(const z in Ke)Object.defineProperty(x,z,{get:()=>l.value[z],enumerable:!0});_.provide(xs,P),_.provide(Pi,Br(x)),_.provide(Zn,l);const O=_.unmount;ot.add(_),_.unmount=function(){ot.delete(_),ot.size<1&&(f=Ke,Pe&&Pe(),Pe=null,l.value=Ke,it=!1,Q=!1),O()}}};function se(_){return _.reduce((P,x)=>P.then(()=>st(x)),Promise.resolve())}return zt}function xu(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const u=t.matched[o];u&&(e.matched.find(f=>bt(f,u))?s.push(u):n.push(u));const l=e.matched[o];l&&(t.matched.find(f=>bt(f,l))||r.push(l))}return[n,s,r]}const Iu=Au({history:Nc("/"),routes:[]}),Is=Xl(Ec);Is.use(nc());Is.use(Iu);Is.mount("#app");