evmux-app-framework 0.1.8 → 0.1.9

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.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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 ss(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 Z={},bt=[],Ce=()=>{},Mi=()=>!1,Ti=/^on[^a-z]/,bn=e=>Ti.test(e),rs=e=>e.startsWith("onUpdate:"),ce=Object.assign,is=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ki=Object.prototype.hasOwnProperty,$=(e,t)=>ki.call(e,t),j=Array.isArray,vt=e=>vn(e)==="[object Map]",Ar=e=>vn(e)==="[object Set]",N=e=>typeof e=="function",re=e=>typeof e=="string",os=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Er=e=>ee(e)&&N(e.then)&&N(e.catch),xr=Object.prototype.toString,vn=e=>xr.call(e),Hi=e=>vn(e).slice(8,-1),Ir=e=>vn(e)==="[object Object]",ls=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ln=ss(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},qi=/-(\w)/g,It=wn(e=>e.replace(qi,(t,n)=>n?n.toUpperCase():"")),Li=/\B([A-Z])/g,Mt=wn(e=>e.replace(Li,"-$1").toLowerCase()),Pr=wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),On=wn(e=>e?`on${Pr(e)}`:""),zt=(e,t)=>!Object.is(e,t),Mn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},pn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ji=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Cs;const Bn=()=>Cs||(Cs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Wt(e){if(j(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=re(s)?Ui(s):Wt(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(re(e))return e;if(ee(e))return e}}const Fi=/;(?![^(]*\))/g,Ni=/:([^]+)/,Bi=/\/\*[^]*?\*\//g;function Ui(e){const t={};return e.replace(Bi,"").split(Fi).forEach(n=>{if(n){const s=n.split(Ni);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function wt(e){let t="";if(re(e))t=e;else if(j(e))for(let n=0;n<e.length;n++){const s=wt(e[n]);s&&(t+=s+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Di="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$i=ss(Di);function Rr(e){return!!e||e===""}const Ki=e=>re(e)?e:e==null?"":j(e)||ee(e)&&(e.toString===xr||!N(e.toString))?JSON.stringify(e,Sr,2):String(e),Sr=(e,t)=>t&&t.__v_isRef?Sr(e,t.value):vt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Ar(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!j(t)&&!Ir(t)?String(t):t;let Ie;class Cr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ie,!t&&Ie&&(this.index=(Ie.scopes||(Ie.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ie;try{return Ie=this,t()}finally{Ie=n}}}on(){Ie=this}off(){Ie=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 zi(e){return new Cr(e)}function Wi(e,t=Ie){t&&t.active&&t.effects.push(e)}function Qi(){return Ie}const cs=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Or=e=>(e.w&st)>0,Mr=e=>(e.n&st)>0,Ji=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=st},Yi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Or(r)&&!Mr(r)?r.delete(e):t[n++]=r,r.w&=~st,r.n&=~st}t.length=n}},Un=new WeakMap;let Nt=0,st=1;const Dn=30;let Pe;const ct=Symbol(""),$n=Symbol("");class us{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Wi(this,s)}run(){if(!this.active)return this.fn();let t=Pe,n=tt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Pe,Pe=this,tt=!0,st=1<<++Nt,Nt<=Dn?Ji(this):Os(this),this.fn()}finally{Nt<=Dn&&Yi(this),st=1<<--Nt,Pe=this.parent,tt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Pe===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 tt=!0;const Tr=[];function Tt(){Tr.push(tt),tt=!1}function kt(){const e=Tr.pop();tt=e===void 0?!0:e}function be(e,t,n){if(tt&&Pe){let s=Un.get(e);s||Un.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=cs()),kr(r)}}function kr(e,t){let n=!1;Nt<=Dn?Mr(e)||(e.n|=st,n=!Or(e)):n=!e.has(Pe),n&&(e.add(Pe),Pe.deps.push(e))}function ze(e,t,n,s,r,i){const o=Un.get(e);if(!o)return;let c=[];if(t==="clear")c=[...o.values()];else if(n==="length"&&j(e)){const l=Number(s);o.forEach((f,d)=>{(d==="length"||d>=l)&&c.push(f)})}else switch(n!==void 0&&c.push(o.get(n)),t){case"add":j(e)?ls(n)&&c.push(o.get("length")):(c.push(o.get(ct)),vt(e)&&c.push(o.get($n)));break;case"delete":j(e)||(c.push(o.get(ct)),vt(e)&&c.push(o.get($n)));break;case"set":vt(e)&&c.push(o.get(ct));break}if(c.length===1)c[0]&&Kn(c[0]);else{const l=[];for(const f of c)f&&l.push(...f);Kn(cs(l))}}function Kn(e,t){const n=j(e)?e:[...e];for(const s of n)s.computed&&Ms(s);for(const s of n)s.computed||Ms(s)}function Ms(e,t){(e!==Pe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Gi=ss("__proto__,__v_isRef,__isVue"),Hr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(os)),Vi=as(),Xi=as(!1,!0),Zi=as(!0),Ts=eo();function eo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=K(this);for(let i=0,o=this.length;i<o;i++)be(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(K)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Tt();const s=K(this)[t].apply(this,n);return kt(),s}}),e}function to(e){const t=K(this);return be(t,"has",e),t.hasOwnProperty(e)}function as(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?yo:Nr:t?Fr:jr).get(s))return s;const o=j(s);if(!e){if(o&&$(Ts,r))return Reflect.get(Ts,r,i);if(r==="hasOwnProperty")return to}const c=Reflect.get(s,r,i);return(os(r)?Hr.has(r):Gi(r))||(e||be(s,"get",r),t)?c:pe(c)?o&&ls(r)?c:c.value:ee(c)?e?Ur(c):En(c):c}}const no=qr(),so=qr(!0);function qr(e=!1){return function(n,s,r,i){let o=n[s];if(Pt(o)&&pe(o)&&!pe(r))return!1;if(!e&&(!hn(r)&&!Pt(r)&&(o=K(o),r=K(r)),!j(n)&&pe(o)&&!pe(r)))return o.value=r,!0;const c=j(n)&&ls(s)?Number(s)<n.length:$(n,s),l=Reflect.set(n,s,r,i);return n===K(i)&&(c?zt(r,o)&&ze(n,"set",s,r):ze(n,"add",s,r)),l}}function ro(e,t){const n=$(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&ze(e,"delete",t,void 0),s}function io(e,t){const n=Reflect.has(e,t);return(!os(t)||!Hr.has(t))&&be(e,"has",t),n}function oo(e){return be(e,"iterate",j(e)?"length":ct),Reflect.ownKeys(e)}const Lr={get:Vi,set:no,deleteProperty:ro,has:io,ownKeys:oo},lo={get:Zi,set(e,t){return!0},deleteProperty(e,t){return!0}},co=ce({},Lr,{get:Xi,set:so}),fs=e=>e,An=e=>Reflect.getPrototypeOf(e);function en(e,t,n=!1,s=!1){e=e.__v_raw;const r=K(e),i=K(t);n||(t!==i&&be(r,"get",t),be(r,"get",i));const{has:o}=An(r),c=s?fs:n?gs:Qt;if(o.call(r,t))return c(e.get(t));if(o.call(r,i))return c(e.get(i));e!==r&&e.get(t)}function tn(e,t=!1){const n=this.__v_raw,s=K(n),r=K(e);return t||(e!==r&&be(s,"has",e),be(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function nn(e,t=!1){return e=e.__v_raw,!t&&be(K(e),"iterate",ct),Reflect.get(e,"size",e)}function ks(e){e=K(e);const t=K(this);return An(t).has.call(t,e)||(t.add(e),ze(t,"add",e,e)),this}function Hs(e,t){t=K(t);const n=K(this),{has:s,get:r}=An(n);let i=s.call(n,e);i||(e=K(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?zt(t,o)&&ze(n,"set",e,t):ze(n,"add",e,t),this}function qs(e){const t=K(this),{has:n,get:s}=An(t);let r=n.call(t,e);r||(e=K(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&ze(t,"delete",e,void 0),i}function Ls(){const e=K(this),t=e.size!==0,n=e.clear();return t&&ze(e,"clear",void 0,void 0),n}function sn(e,t){return function(s,r){const i=this,o=i.__v_raw,c=K(o),l=t?fs:e?gs:Qt;return!e&&be(c,"iterate",ct),o.forEach((f,d)=>s.call(r,l(f),l(d),i))}}function rn(e,t,n){return function(...s){const r=this.__v_raw,i=K(r),o=vt(i),c=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...s),d=n?fs:t?gs:Qt;return!t&&be(i,"iterate",l?$n:ct),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:c?[d(h[0]),d(h[1])]:d(h),done:g}},[Symbol.iterator](){return this}}}}function Ye(e){return function(...t){return e==="delete"?!1:this}}function uo(){const e={get(i){return en(this,i)},get size(){return nn(this)},has:tn,add:ks,set:Hs,delete:qs,clear:Ls,forEach:sn(!1,!1)},t={get(i){return en(this,i,!1,!0)},get size(){return nn(this)},has:tn,add:ks,set:Hs,delete:qs,clear:Ls,forEach:sn(!1,!0)},n={get(i){return en(this,i,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:sn(!0,!1)},s={get(i){return en(this,i,!0,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:sn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=rn(i,!1,!1),n[i]=rn(i,!0,!1),t[i]=rn(i,!1,!0),s[i]=rn(i,!0,!0)}),[e,n,t,s]}const[ao,fo,po,ho]=uo();function ds(e,t){const n=t?e?ho:po:e?fo:ao;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get($(n,r)&&r in s?n:s,r,i)}const go={get:ds(!1,!1)},mo={get:ds(!1,!0)},_o={get:ds(!0,!1)},jr=new WeakMap,Fr=new WeakMap,Nr=new WeakMap,yo=new WeakMap;function bo(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:bo(Hi(e))}function En(e){return Pt(e)?e:ps(e,!1,Lr,go,jr)}function Br(e){return ps(e,!1,co,mo,Fr)}function Ur(e){return ps(e,!0,lo,_o,Nr)}function ps(e,t,n,s,r){if(!ee(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 c=new Proxy(e,o===2?s:n);return r.set(e,c),c}function At(e){return Pt(e)?At(e.__v_raw):!!(e&&e.__v_isReactive)}function Pt(e){return!!(e&&e.__v_isReadonly)}function hn(e){return!!(e&&e.__v_isShallow)}function Dr(e){return At(e)||Pt(e)}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function hs(e){return pn(e,"__v_skip",!0),e}const Qt=e=>ee(e)?En(e):e,gs=e=>ee(e)?Ur(e):e;function $r(e){tt&&Pe&&(e=K(e),kr(e.dep||(e.dep=cs())))}function Kr(e,t){e=K(e);const n=e.dep;n&&Kn(n)}function pe(e){return!!(e&&e.__v_isRef===!0)}function Xe(e){return zr(e,!1)}function wo(e){return zr(e,!0)}function zr(e,t){return pe(e)?e:new Ao(e,t)}class Ao{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:K(t),this._value=n?t:Qt(t)}get value(){return $r(this),this._value}set value(t){const n=this.__v_isShallow||hn(t)||Pt(t);t=n?t:K(t),zt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Qt(t),Kr(this))}}function Et(e){return pe(e)?e.value:e}const Eo={get:(e,t,n)=>Et(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return pe(r)&&!pe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Wr(e){return At(e)?e:new Proxy(e,Eo)}class xo{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 us(t,()=>{this._dirty||(this._dirty=!0,Kr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=K(this);return $r(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Io(e,t,n=!1){let s,r;const i=N(e);return i?(s=e,r=Ce):(s=e.get,r=e.set),new xo(s,r,i||!r,n)}function nt(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){xn(i,t,n)}return r}function Oe(e,t,n,s){if(N(e)){const i=nt(e,t,n,s);return i&&Er(i)&&i.catch(o=>{xn(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Oe(e[i],t,n,s));return r}function xn(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,c=n;for(;i;){const f=i.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,o,c)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){nt(l,null,10,[e,o,c]);return}}Po(e,n,r,s)}function Po(e,t,n,s=!0){console.error(e)}let Jt=!1,zn=!1;const fe=[];let je=0;const xt=[];let De=null,ot=0;const Qr=Promise.resolve();let ms=null;function Jr(e){const t=ms||Qr;return e?t.then(this?e.bind(this):e):t}function Ro(e){let t=je+1,n=fe.length;for(;t<n;){const s=t+n>>>1;Yt(fe[s])<e?t=s+1:n=s}return t}function _s(e){(!fe.length||!fe.includes(e,Jt&&e.allowRecurse?je+1:je))&&(e.id==null?fe.push(e):fe.splice(Ro(e.id),0,e),Yr())}function Yr(){!Jt&&!zn&&(zn=!0,ms=Qr.then(Vr))}function So(e){const t=fe.indexOf(e);t>je&&fe.splice(t,1)}function Co(e){j(e)?xt.push(...e):(!De||!De.includes(e,e.allowRecurse?ot+1:ot))&&xt.push(e),Yr()}function js(e,t=Jt?je+1:0){for(;t<fe.length;t++){const n=fe[t];n&&n.pre&&(fe.splice(t,1),t--,n())}}function Gr(e){if(xt.length){const t=[...new Set(xt)];if(xt.length=0,De){De.push(...t);return}for(De=t,De.sort((n,s)=>Yt(n)-Yt(s)),ot=0;ot<De.length;ot++)De[ot]();De=null,ot=0}}const Yt=e=>e.id==null?1/0:e.id,Oo=(e,t)=>{const n=Yt(e)-Yt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Vr(e){zn=!1,Jt=!0,fe.sort(Oo);const t=Ce;try{for(je=0;je<fe.length;je++){const n=fe[je];n&&n.active!==!1&&nt(n,null,14)}}finally{je=0,fe.length=0,Gr(),Jt=!1,ms=null,(fe.length||xt.length)&&Vr()}}function Mo(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Z;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:h,trim:g}=s[d]||Z;g&&(r=n.map(b=>re(b)?b.trim():b)),h&&(r=n.map(ji))}let c,l=s[c=On(t)]||s[c=On(It(t))];!l&&i&&(l=s[c=On(Mt(t))]),l&&Oe(l,e,6,r);const f=s[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Oe(f,e,6,r)}}function Xr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},c=!1;if(!N(e)){const l=f=>{const d=Xr(f,t,!0);d&&(c=!0,ce(o,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!c?(ee(e)&&s.set(e,null),null):(j(i)?i.forEach(l=>o[l]=null):ce(o,i),ee(e)&&s.set(e,o),o)}function In(e,t){return!e||!bn(t)?!1:(t=t.slice(2).replace(/Once$/,""),$(e,t[0].toLowerCase()+t.slice(1))||$(e,Mt(t))||$(e,t))}let Fe=null,Zr=null;function gn(e){const t=Fe;return Fe=e,Zr=e&&e.type.__scopeId||null,t}function To(e,t=Fe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Qs(-1);const i=gn(t);let o;try{o=e(...r)}finally{gn(i),s._d&&Qs(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Tn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:c,attrs:l,emit:f,render:d,renderCache:h,data:g,setupState:b,ctx:R,inheritAttrs:C}=e;let L,M;const H=gn(e);try{if(n.shapeFlag&4){const q=r||s;L=Le(d.call(q,q,h,i,b,g,R)),M=l}else{const q=t;L=Le(q.length>1?q(i,{attrs:l,slots:c,emit:f}):q(i,null)),M=t.props?l:ko(l)}}catch(q){Dt.length=0,xn(q,e,1),L=Ae(at)}let D=L;if(M&&C!==!1){const q=Object.keys(M),{shapeFlag:ie}=D;q.length&&ie&7&&(o&&q.some(rs)&&(M=Ho(M,o)),D=Rt(D,M))}return n.dirs&&(D=Rt(D),D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&(D.transition=n.transition),L=D,gn(H),L}const ko=e=>{let t;for(const n in e)(n==="class"||n==="style"||bn(n))&&((t||(t={}))[n]=e[n]);return t},Ho=(e,t)=>{const n={};for(const s in e)(!rs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function qo(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:c,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?Fs(s,o,f):!!o;if(l&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const g=d[h];if(o[g]!==s[g]&&!In(f,g))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===o?!1:s?o?Fs(s,o,f):!0:!!o;return!1}function Fs(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]&&!In(n,i))return!0}return!1}function Lo({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const jo=e=>e.__isSuspense;function Fo(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Co(e)}const on={};function cn(e,t,n){return ei(e,t,n)}function ei(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=Z){var c;const l=Qi()===((c=de)==null?void 0:c.scope)?de:null;let f,d=!1,h=!1;if(pe(e)?(f=()=>e.value,d=hn(e)):At(e)?(f=()=>e,s=!0):j(e)?(h=!0,d=e.some(q=>At(q)||hn(q)),f=()=>e.map(q=>{if(pe(q))return q.value;if(At(q))return _t(q);if(N(q))return nt(q,l,2)})):N(e)?t?f=()=>nt(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),Oe(e,l,3,[b])}:f=Ce,t&&s){const q=f;f=()=>_t(q())}let g,b=q=>{g=H.onStop=()=>{nt(q,l,4)}},R;if(Vt)if(b=Ce,t?n&&Oe(t,l,3,[f(),h?[]:void 0,b]):f(),r==="sync"){const q=Tl();R=q.__watcherHandles||(q.__watcherHandles=[])}else return Ce;let C=h?new Array(e.length).fill(on):on;const L=()=>{if(H.active)if(t){const q=H.run();(s||d||(h?q.some((ie,ue)=>zt(ie,C[ue])):zt(q,C)))&&(g&&g(),Oe(t,l,3,[q,C===on?void 0:h&&C[0]===on?[]:C,b]),C=q)}else H.run()};L.allowRecurse=!!t;let M;r==="sync"?M=L:r==="post"?M=()=>ye(L,l&&l.suspense):(L.pre=!0,l&&(L.id=l.uid),M=()=>_s(L));const H=new us(f,M);t?n?L():C=H.run():r==="post"?ye(H.run.bind(H),l&&l.suspense):H.run();const D=()=>{H.stop(),l&&l.scope&&is(l.scope.effects,H)};return R&&R.push(D),D}function No(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?ti(s,e):()=>s[e]:e.bind(s,s);let i;N(t)?i=t:(i=t.handler,n=t);const o=de;St(this);const c=ei(r,i.bind(s),n);return o?St(o):ut(),c}function ti(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 _t(e,t){if(!ee(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),pe(e))_t(e.value,t);else if(j(e))for(let n=0;n<e.length;n++)_t(e[n],t);else if(Ar(e)||vt(e))e.forEach(n=>{_t(n,t)});else if(Ir(e))for(const n in e)_t(e[n],t);return e}function rt(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const c=r[o];i&&(c.oldValue=i[o].value);let l=c.dir[s];l&&(Tt(),Oe(l,n,8,[e.el,c,e,t]),kt())}}function ni(e,t){return N(e)?(()=>ce({name:e.name},t,{setup:e}))():e}const un=e=>!!e.type.__asyncLoader,si=e=>e.type.__isKeepAlive;function Bo(e,t){ri(e,"a",t)}function Uo(e,t){ri(e,"da",t)}function ri(e,t,n=de){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Pn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)si(r.parent.vnode)&&Do(s,t,n,r),r=r.parent}}function Do(e,t,n,s){const r=Pn(t,e,s,!0);oi(()=>{is(s[t],r)},n)}function Pn(e,t,n=de,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Tt(),St(n);const c=Oe(t,n,e,o);return ut(),kt(),c});return s?r.unshift(i):r.push(i),i}}const We=e=>(t,n=de)=>(!Vt||e==="sp")&&Pn(e,(...s)=>t(...s),n),$o=We("bm"),ii=We("m"),Ko=We("bu"),zo=We("u"),Wo=We("bum"),oi=We("um"),Qo=We("sp"),Jo=We("rtg"),Yo=We("rtc");function Go(e,t=de){Pn("ec",e,t)}const Vo=Symbol.for("v-ndc");function Xo(e,t,n,s){let r;const i=n&&n[s];if(j(e)||re(e)){r=new Array(e.length);for(let o=0,c=e.length;o<c;o++)r[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(ee(e))if(e[Symbol.iterator])r=Array.from(e,(o,c)=>t(o,c,void 0,i&&i[c]));else{const o=Object.keys(e);r=new Array(o.length);for(let c=0,l=o.length;c<l;c++){const f=o[c];r[c]=t(e[f],f,c,i&&i[c])}}else r=[];return n&&(n[s]=r),r}const Wn=e=>e?_i(e)?As(e)||e.proxy:Wn(e.parent):null,Ut=ce(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=>Wn(e.parent),$root:e=>Wn(e.root),$emit:e=>e.emit,$options:e=>ys(e),$forceUpdate:e=>e.f||(e.f=()=>_s(e.update)),$nextTick:e=>e.n||(e.n=Jr.bind(e.proxy)),$watch:e=>No.bind(e)}),kn=(e,t)=>e!==Z&&!e.__isScriptSetup&&$(e,t),Zo={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:c,appContext:l}=e;let f;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(kn(s,t))return o[t]=1,s[t];if(r!==Z&&$(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&$(f,t))return o[t]=3,i[t];if(n!==Z&&$(n,t))return o[t]=4,n[t];Qn&&(o[t]=0)}}const d=Ut[t];let h,g;if(d)return t==="$attrs"&&be(e,"get",t),d(e);if((h=c.__cssModules)&&(h=h[t]))return h;if(n!==Z&&$(n,t))return o[t]=4,n[t];if(g=l.config.globalProperties,$(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return kn(r,t)?(r[t]=n,!0):s!==Z&&$(s,t)?(s[t]=n,!0):$(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let c;return!!n[o]||e!==Z&&$(e,o)||kn(t,o)||(c=i[0])&&$(c,o)||$(s,o)||$(Ut,o)||$(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ns(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Qn=!0;function el(e){const t=ys(e),n=e.proxy,s=e.ctx;Qn=!1,t.beforeCreate&&Bs(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:c,provide:l,inject:f,created:d,beforeMount:h,mounted:g,beforeUpdate:b,updated:R,activated:C,deactivated:L,beforeDestroy:M,beforeUnmount:H,destroyed:D,unmounted:q,render:ie,renderTracked:ue,renderTriggered:ve,errorCaptured:Y,serverPrefetch:se,expose:X,inheritAttrs:ge,components:te,directives:me,filters:Ht}=t;if(f&&tl(f,s,null),o)for(const G in o){const z=o[G];N(z)&&(s[G]=z.bind(n))}if(r){const G=r.call(n,n);ee(G)&&(e.data=En(G))}if(Qn=!0,i)for(const G in i){const z=i[G],Ne=N(z)?z.bind(n,n):N(z.get)?z.get.bind(n,n):Ce,Je=!N(z)&&N(z.set)?z.set.bind(n):Ce,Te=Re({get:Ne,set:Je});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>Te.value,set:_e=>Te.value=_e})}if(c)for(const G in c)li(c[G],s,n,G);if(l){const G=N(l)?l.call(n):l;Reflect.ownKeys(G).forEach(z=>{an(z,G[z])})}d&&Bs(d,e,"c");function oe(G,z){j(z)?z.forEach(Ne=>G(Ne.bind(n))):z&&G(z.bind(n))}if(oe($o,h),oe(ii,g),oe(Ko,b),oe(zo,R),oe(Bo,C),oe(Uo,L),oe(Go,Y),oe(Yo,ue),oe(Jo,ve),oe(Wo,H),oe(oi,q),oe(Qo,se),j(X))if(X.length){const G=e.exposed||(e.exposed={});X.forEach(z=>{Object.defineProperty(G,z,{get:()=>n[z],set:Ne=>n[z]=Ne})})}else e.exposed||(e.exposed={});ie&&e.render===Ce&&(e.render=ie),ge!=null&&(e.inheritAttrs=ge),te&&(e.components=te),me&&(e.directives=me)}function tl(e,t,n=Ce){j(e)&&(e=Jn(e));for(const s in e){const r=e[s];let i;ee(r)?"default"in r?i=Ke(r.from||s,r.default,!0):i=Ke(r.from||s):i=Ke(r),pe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Bs(e,t,n){Oe(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function li(e,t,n,s){const r=s.includes(".")?ti(n,s):()=>n[s];if(re(e)){const i=t[e];N(i)&&cn(r,i)}else if(N(e))cn(r,e.bind(n));else if(ee(e))if(j(e))e.forEach(i=>li(i,t,n,s));else{const i=N(e.handler)?e.handler.bind(n):t[e.handler];N(i)&&cn(r,i,e)}}function ys(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,c=i.get(t);let l;return c?l=c:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(f=>mn(l,f,o,!0)),mn(l,t,o)),ee(t)&&i.set(t,l),l}function mn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&mn(e,i,n,!0),r&&r.forEach(o=>mn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const c=nl[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const nl={data:Us,props:Ds,emits:Ds,methods:Bt,computed:Bt,beforeCreate:he,created:he,beforeMount:he,mounted:he,beforeUpdate:he,updated:he,beforeDestroy:he,beforeUnmount:he,destroyed:he,unmounted:he,activated:he,deactivated:he,errorCaptured:he,serverPrefetch:he,components:Bt,directives:Bt,watch:rl,provide:Us,inject:sl};function Us(e,t){return t?e?function(){return ce(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function sl(e,t){return Bt(Jn(e),Jn(t))}function Jn(e){if(j(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function he(e,t){return e?[...new Set([].concat(e,t))]:t}function Bt(e,t){return e?ce(Object.create(null),e,t):t}function Ds(e,t){return e?j(e)&&j(t)?[...new Set([...e,...t])]:ce(Object.create(null),Ns(e),Ns(t??{})):t}function rl(e,t){if(!e)return t;if(!t)return e;const n=ce(Object.create(null),e);for(const s in t)n[s]=he(e[s],t[s]);return n}function ci(){return{app:null,config:{isNativeTag:Mi,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 il=0;function ol(e,t){return function(s,r=null){N(s)||(s=ce({},s)),r!=null&&!ee(r)&&(r=null);const i=ci(),o=new Set;let c=!1;const l=i.app={_uid:il++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:kl,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,h){if(!c){const g=Ae(s,r);return g.appContext=i,d&&t?t(g,f):e(g,f,h),c=!0,l._container=f,f.__vue_app__=l,As(g.component)||g.component.proxy}},unmount(){c&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,d){return i.provides[f]=d,l},runWithContext(f){_n=l;try{return f()}finally{_n=null}}};return l}}let _n=null;function an(e,t){if(de){let n=de.provides;const s=de.parent&&de.parent.provides;s===n&&(n=de.provides=Object.create(s)),n[e]=t}}function Ke(e,t,n=!1){const s=de||Fe;if(s||_n){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:_n._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 ll(e,t,n,s=!1){const r={},i={};pn(i,Sn,1),e.propsDefaults=Object.create(null),ui(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 cl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,c=K(r),[l]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let g=d[h];if(In(e.emitsOptions,g))continue;const b=t[g];if(l)if($(i,g))b!==i[g]&&(i[g]=b,f=!0);else{const R=It(g);r[R]=Yn(l,c,R,b,e,!1)}else b!==i[g]&&(i[g]=b,f=!0)}}}else{ui(e,t,r,i)&&(f=!0);let d;for(const h in c)(!t||!$(t,h)&&((d=Mt(h))===h||!$(t,d)))&&(l?n&&(n[h]!==void 0||n[d]!==void 0)&&(r[h]=Yn(l,c,h,void 0,e,!0)):delete r[h]);if(i!==c)for(const h in i)(!t||!$(t,h))&&(delete i[h],f=!0)}f&&ze(e,"set","$attrs")}function ui(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,c;if(t)for(let l in t){if(ln(l))continue;const f=t[l];let d;r&&$(r,d=It(l))?!i||!i.includes(d)?n[d]=f:(c||(c={}))[d]=f:In(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,o=!0)}if(i){const l=K(n),f=c||Z;for(let d=0;d<i.length;d++){const h=i[d];n[h]=Yn(r,l,h,f[h],e,!$(f,h))}}return o}function Yn(e,t,n,s,r,i){const o=e[n];if(o!=null){const c=$(o,"default");if(c&&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]:(St(r),s=f[n]=l.call(null,t),ut())}else s=l}o[0]&&(i&&!c?s=!1:o[1]&&(s===""||s===Mt(n))&&(s=!0))}return s}function ai(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},c=[];let l=!1;if(!N(e)){const d=h=>{l=!0;const[g,b]=ai(h,t,!0);ce(o,g),b&&c.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return ee(e)&&s.set(e,bt),bt;if(j(i))for(let d=0;d<i.length;d++){const h=It(i[d]);$s(h)&&(o[h]=Z)}else if(i)for(const d in i){const h=It(d);if($s(h)){const g=i[d],b=o[h]=j(g)||N(g)?{type:g}:ce({},g);if(b){const R=Ws(Boolean,b.type),C=Ws(String,b.type);b[0]=R>-1,b[1]=C<0||R<C,(R>-1||$(b,"default"))&&c.push(h)}}}const f=[o,c];return ee(e)&&s.set(e,f),f}function $s(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 j(t)?t.findIndex(n=>zs(n,e)):N(t)&&zs(t,e)?0:-1}const fi=e=>e[0]==="_"||e==="$stable",bs=e=>j(e)?e.map(Le):[Le(e)],ul=(e,t,n)=>{if(t._n)return t;const s=To((...r)=>bs(t(...r)),n);return s._c=!1,s},di=(e,t,n)=>{const s=e._ctx;for(const r in e){if(fi(r))continue;const i=e[r];if(N(i))t[r]=ul(r,i,s);else if(i!=null){const o=bs(i);t[r]=()=>o}}},pi=(e,t)=>{const n=bs(t);e.slots.default=()=>n},al=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=K(t),pn(t,"_",n)):di(t,e.slots={})}else e.slots={},t&&pi(e,t);pn(e.slots,Sn,1)},fl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Z;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:(ce(r,t),!n&&c===1&&delete r._):(i=!t.$stable,di(t,r)),o=t}else t&&(pi(e,t),o={default:1});if(i)for(const c in r)!fi(c)&&!(c in o)&&delete r[c]};function Gn(e,t,n,s,r=!1){if(j(e)){e.forEach((g,b)=>Gn(g,t&&(j(t)?t[b]:t),n,s,r));return}if(un(s)&&!r)return;const i=s.shapeFlag&4?As(s.component)||s.component.proxy:s.el,o=r?null:i,{i:c,r:l}=e,f=t&&t.r,d=c.refs===Z?c.refs={}:c.refs,h=c.setupState;if(f!=null&&f!==l&&(re(f)?(d[f]=null,$(h,f)&&(h[f]=null)):pe(f)&&(f.value=null)),N(l))nt(l,c,12,[o,d]);else{const g=re(l),b=pe(l);if(g||b){const R=()=>{if(e.f){const C=g?$(h,l)?h[l]:d[l]:l.value;r?j(C)&&is(C,i):j(C)?C.includes(i)||C.push(i):g?(d[l]=[i],$(h,l)&&(h[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,$(h,l)&&(h[l]=o)):b&&(l.value=o,e.k&&(d[e.k]=o))};o?(R.id=-1,ye(R,n)):R()}}}const ye=Fo;function dl(e){return pl(e)}function pl(e,t){const n=Bn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:c,createComment:l,setText:f,setElementText:d,parentNode:h,nextSibling:g,setScopeId:b=Ce,insertStaticContent:R}=e,C=(u,a,p,m=null,y=null,v=null,I=!1,A=null,E=!!a.dynamicChildren)=>{if(u===a)return;u&&!Lt(u,a)&&(m=_(u),_e(u,y,v,!0),u=null),a.patchFlag===-2&&(E=!1,a.dynamicChildren=null);const{type:w,ref:T,shapeFlag:S}=a;switch(w){case Rn:L(u,a,p,m);break;case at:M(u,a,p,m);break;case Hn:u==null&&H(a,p,m,I);break;case qe:te(u,a,p,m,y,v,I,A,E);break;default:S&1?ie(u,a,p,m,y,v,I,A,E):S&6?me(u,a,p,m,y,v,I,A,E):(S&64||S&128)&&w.process(u,a,p,m,y,v,I,A,E,x)}T!=null&&y&&Gn(T,u&&u.ref,v,a||u,!a)},L=(u,a,p,m)=>{if(u==null)s(a.el=c(a.children),p,m);else{const y=a.el=u.el;a.children!==u.children&&f(y,a.children)}},M=(u,a,p,m)=>{u==null?s(a.el=l(a.children||""),p,m):a.el=u.el},H=(u,a,p,m)=>{[u.el,u.anchor]=R(u.children,a,p,m,u.el,u.anchor)},D=({el:u,anchor:a},p,m)=>{let y;for(;u&&u!==a;)y=g(u),s(u,p,m),u=y;s(a,p,m)},q=({el:u,anchor:a})=>{let p;for(;u&&u!==a;)p=g(u),r(u),u=p;r(a)},ie=(u,a,p,m,y,v,I,A,E)=>{I=I||a.type==="svg",u==null?ue(a,p,m,y,v,I,A,E):se(u,a,y,v,I,A,E)},ue=(u,a,p,m,y,v,I,A)=>{let E,w;const{type:T,props:S,shapeFlag:k,transition:F,dirs:B}=u;if(E=u.el=o(u.type,v,S&&S.is,S),k&8?d(E,u.children):k&16&&Y(u.children,E,null,m,y,v&&T!=="foreignObject",I,A),B&&rt(u,null,m,"created"),ve(E,u,u.scopeId,I,m),S){for(const J in S)J!=="value"&&!ln(J)&&i(E,J,null,S[J],v,u.children,m,y,ae);"value"in S&&i(E,"value",null,S.value),(w=S.onVnodeBeforeMount)&&He(w,m,u)}B&&rt(u,null,m,"beforeMount");const V=(!y||y&&!y.pendingBranch)&&F&&!F.persisted;V&&F.beforeEnter(E),s(E,a,p),((w=S&&S.onVnodeMounted)||V||B)&&ye(()=>{w&&He(w,m,u),V&&F.enter(E),B&&rt(u,null,m,"mounted")},y)},ve=(u,a,p,m,y)=>{if(p&&b(u,p),m)for(let v=0;v<m.length;v++)b(u,m[v]);if(y){let v=y.subTree;if(a===v){const I=y.vnode;ve(u,I,I.scopeId,I.slotScopeIds,y.parent)}}},Y=(u,a,p,m,y,v,I,A,E=0)=>{for(let w=E;w<u.length;w++){const T=u[w]=A?Ze(u[w]):Le(u[w]);C(null,T,a,p,m,y,v,I,A)}},se=(u,a,p,m,y,v,I)=>{const A=a.el=u.el;let{patchFlag:E,dynamicChildren:w,dirs:T}=a;E|=u.patchFlag&16;const S=u.props||Z,k=a.props||Z;let F;p&&it(p,!1),(F=k.onVnodeBeforeUpdate)&&He(F,p,a,u),T&&rt(a,u,p,"beforeUpdate"),p&&it(p,!0);const B=y&&a.type!=="foreignObject";if(w?X(u.dynamicChildren,w,A,p,m,B,v):I||z(u,a,A,null,p,m,B,v,!1),E>0){if(E&16)ge(A,a,S,k,p,m,y);else if(E&2&&S.class!==k.class&&i(A,"class",null,k.class,y),E&4&&i(A,"style",S.style,k.style,y),E&8){const V=a.dynamicProps;for(let J=0;J<V.length;J++){const ne=V[J],xe=S[ne],ht=k[ne];(ht!==xe||ne==="value")&&i(A,ne,xe,ht,y,u.children,p,m,ae)}}E&1&&u.children!==a.children&&d(A,a.children)}else!I&&w==null&&ge(A,a,S,k,p,m,y);((F=k.onVnodeUpdated)||T)&&ye(()=>{F&&He(F,p,a,u),T&&rt(a,u,p,"updated")},m)},X=(u,a,p,m,y,v,I)=>{for(let A=0;A<a.length;A++){const E=u[A],w=a[A],T=E.el&&(E.type===qe||!Lt(E,w)||E.shapeFlag&70)?h(E.el):p;C(E,w,T,null,m,y,v,I,!0)}},ge=(u,a,p,m,y,v,I)=>{if(p!==m){if(p!==Z)for(const A in p)!ln(A)&&!(A in m)&&i(u,A,p[A],null,I,a.children,y,v,ae);for(const A in m){if(ln(A))continue;const E=m[A],w=p[A];E!==w&&A!=="value"&&i(u,A,w,E,I,a.children,y,v,ae)}"value"in m&&i(u,"value",p.value,m.value)}},te=(u,a,p,m,y,v,I,A,E)=>{const w=a.el=u?u.el:c(""),T=a.anchor=u?u.anchor:c("");let{patchFlag:S,dynamicChildren:k,slotScopeIds:F}=a;F&&(A=A?A.concat(F):F),u==null?(s(w,p,m),s(T,p,m),Y(a.children,p,T,y,v,I,A,E)):S>0&&S&64&&k&&u.dynamicChildren?(X(u.dynamicChildren,k,p,y,v,I,A),(a.key!=null||y&&a===y.subTree)&&hi(u,a,!0)):z(u,a,p,T,y,v,I,A,E)},me=(u,a,p,m,y,v,I,A,E)=>{a.slotScopeIds=A,u==null?a.shapeFlag&512?y.ctx.activate(a,p,m,I,E):Ht(a,p,m,y,v,I,E):ft(u,a,E)},Ht=(u,a,p,m,y,v,I)=>{const A=u.component=Il(u,m,y);if(si(u)&&(A.ctx.renderer=x),Pl(A),A.asyncDep){if(y&&y.registerDep(A,oe),!u.el){const E=A.subTree=Ae(at);M(null,E,a,p)}return}oe(A,u,a,p,y,v,I)},ft=(u,a,p)=>{const m=a.component=u.component;if(qo(u,a,p))if(m.asyncDep&&!m.asyncResolved){G(m,a,p);return}else m.next=a,So(m.update),m.update();else a.el=u.el,m.vnode=a},oe=(u,a,p,m,y,v,I)=>{const A=()=>{if(u.isMounted){let{next:T,bu:S,u:k,parent:F,vnode:B}=u,V=T,J;it(u,!1),T?(T.el=B.el,G(u,T,I)):T=B,S&&Mn(S),(J=T.props&&T.props.onVnodeBeforeUpdate)&&He(J,F,T,B),it(u,!0);const ne=Tn(u),xe=u.subTree;u.subTree=ne,C(xe,ne,h(xe.el),_(xe),u,y,v),T.el=ne.el,V===null&&Lo(u,ne.el),k&&ye(k,y),(J=T.props&&T.props.onVnodeUpdated)&&ye(()=>He(J,F,T,B),y)}else{let T;const{el:S,props:k}=a,{bm:F,m:B,parent:V}=u,J=un(a);if(it(u,!1),F&&Mn(F),!J&&(T=k&&k.onVnodeBeforeMount)&&He(T,V,a),it(u,!0),S&&W){const ne=()=>{u.subTree=Tn(u),W(S,u.subTree,u,y,null)};J?a.type.__asyncLoader().then(()=>!u.isUnmounted&&ne()):ne()}else{const ne=u.subTree=Tn(u);C(null,ne,p,m,u,y,v),a.el=ne.el}if(B&&ye(B,y),!J&&(T=k&&k.onVnodeMounted)){const ne=a;ye(()=>He(T,V,ne),y)}(a.shapeFlag&256||V&&un(V.vnode)&&V.vnode.shapeFlag&256)&&u.a&&ye(u.a,y),u.isMounted=!0,a=p=m=null}},E=u.effect=new us(A,()=>_s(w),u.scope),w=u.update=()=>E.run();w.id=u.uid,it(u,!0),w()},G=(u,a,p)=>{a.component=u;const m=u.vnode.props;u.vnode=a,u.next=null,cl(u,a.props,m,p),fl(u,a.children,p),Tt(),js(),kt()},z=(u,a,p,m,y,v,I,A,E=!1)=>{const w=u&&u.children,T=u?u.shapeFlag:0,S=a.children,{patchFlag:k,shapeFlag:F}=a;if(k>0){if(k&128){Je(w,S,p,m,y,v,I,A,E);return}else if(k&256){Ne(w,S,p,m,y,v,I,A,E);return}}F&8?(T&16&&ae(w,y,v),S!==w&&d(p,S)):T&16?F&16?Je(w,S,p,m,y,v,I,A,E):ae(w,y,v,!0):(T&8&&d(p,""),F&16&&Y(S,p,m,y,v,I,A,E))},Ne=(u,a,p,m,y,v,I,A,E)=>{u=u||bt,a=a||bt;const w=u.length,T=a.length,S=Math.min(w,T);let k;for(k=0;k<S;k++){const F=a[k]=E?Ze(a[k]):Le(a[k]);C(u[k],F,p,null,y,v,I,A,E)}w>T?ae(u,y,v,!0,!1,S):Y(a,p,m,y,v,I,A,E,S)},Je=(u,a,p,m,y,v,I,A,E)=>{let w=0;const T=a.length;let S=u.length-1,k=T-1;for(;w<=S&&w<=k;){const F=u[w],B=a[w]=E?Ze(a[w]):Le(a[w]);if(Lt(F,B))C(F,B,p,null,y,v,I,A,E);else break;w++}for(;w<=S&&w<=k;){const F=u[S],B=a[k]=E?Ze(a[k]):Le(a[k]);if(Lt(F,B))C(F,B,p,null,y,v,I,A,E);else break;S--,k--}if(w>S){if(w<=k){const F=k+1,B=F<T?a[F].el:m;for(;w<=k;)C(null,a[w]=E?Ze(a[w]):Le(a[w]),p,B,y,v,I,A,E),w++}}else if(w>k)for(;w<=S;)_e(u[w],y,v,!0),w++;else{const F=w,B=w,V=new Map;for(w=B;w<=k;w++){const we=a[w]=E?Ze(a[w]):Le(a[w]);we.key!=null&&V.set(we.key,w)}let J,ne=0;const xe=k-B+1;let ht=!1,Ps=0;const qt=new Array(xe);for(w=0;w<xe;w++)qt[w]=0;for(w=F;w<=S;w++){const we=u[w];if(ne>=xe){_e(we,y,v,!0);continue}let ke;if(we.key!=null)ke=V.get(we.key);else for(J=B;J<=k;J++)if(qt[J-B]===0&&Lt(we,a[J])){ke=J;break}ke===void 0?_e(we,y,v,!0):(qt[ke-B]=w+1,ke>=Ps?Ps=ke:ht=!0,C(we,a[ke],p,null,y,v,I,A,E),ne++)}const Rs=ht?hl(qt):bt;for(J=Rs.length-1,w=xe-1;w>=0;w--){const we=B+w,ke=a[we],Ss=we+1<T?a[we+1].el:m;qt[w]===0?C(null,ke,p,Ss,y,v,I,A,E):ht&&(J<0||w!==Rs[J]?Te(ke,p,Ss,2):J--)}}},Te=(u,a,p,m,y=null)=>{const{el:v,type:I,transition:A,children:E,shapeFlag:w}=u;if(w&6){Te(u.component.subTree,a,p,m);return}if(w&128){u.suspense.move(a,p,m);return}if(w&64){I.move(u,a,p,x);return}if(I===qe){s(v,a,p);for(let S=0;S<E.length;S++)Te(E[S],a,p,m);s(u.anchor,a,p);return}if(I===Hn){D(u,a,p);return}if(m!==2&&w&1&&A)if(m===0)A.beforeEnter(v),s(v,a,p),ye(()=>A.enter(v),y);else{const{leave:S,delayLeave:k,afterLeave:F}=A,B=()=>s(v,a,p),V=()=>{S(v,()=>{B(),F&&F()})};k?k(v,B,V):V()}else s(v,a,p)},_e=(u,a,p,m=!1,y=!1)=>{const{type:v,props:I,ref:A,children:E,dynamicChildren:w,shapeFlag:T,patchFlag:S,dirs:k}=u;if(A!=null&&Gn(A,null,p,u,!0),T&256){a.ctx.deactivate(u);return}const F=T&1&&k,B=!un(u);let V;if(B&&(V=I&&I.onVnodeBeforeUnmount)&&He(V,a,u),T&6)Zt(u.component,p,m);else{if(T&128){u.suspense.unmount(p,m);return}F&&rt(u,null,a,"beforeUnmount"),T&64?u.type.remove(u,a,p,y,x,m):w&&(v!==qe||S>0&&S&64)?ae(w,a,p,!1,!0):(v===qe&&S&384||!y&&T&16)&&ae(E,a,p),m&&dt(u)}(B&&(V=I&&I.onVnodeUnmounted)||F)&&ye(()=>{V&&He(V,a,u),F&&rt(u,null,a,"unmounted")},p)},dt=u=>{const{type:a,el:p,anchor:m,transition:y}=u;if(a===qe){pt(p,m);return}if(a===Hn){q(u);return}const v=()=>{r(p),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(u.shapeFlag&1&&y&&!y.persisted){const{leave:I,delayLeave:A}=y,E=()=>I(p,v);A?A(u.el,v,E):E()}else v()},pt=(u,a)=>{let p;for(;u!==a;)p=g(u),r(u),u=p;r(a)},Zt=(u,a,p)=>{const{bum:m,scope:y,update:v,subTree:I,um:A}=u;m&&Mn(m),y.stop(),v&&(v.active=!1,_e(I,u,a,p)),A&&ye(A,a),ye(()=>{u.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},ae=(u,a,p,m=!1,y=!1,v=0)=>{for(let I=v;I<u.length;I++)_e(u[I],a,p,m,y)},_=u=>u.shapeFlag&6?_(u.component.subTree):u.shapeFlag&128?u.suspense.next():g(u.anchor||u.el),P=(u,a,p)=>{u==null?a._vnode&&_e(a._vnode,null,null,!0):C(a._vnode||null,u,a,null,null,null,p),js(),Gr(),a._vnode=u},x={p:C,um:_e,m:Te,r:dt,mt:Ht,mc:Y,pc:z,pbc:X,n:_,o:e};let O,W;return t&&([O,W]=t(x)),{render:P,hydrate:O,createApp:ol(P,O)}}function it({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function hi(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let i=0;i<s.length;i++){const o=s[i];let c=r[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[i]=Ze(r[i]),c.el=o.el),n||hi(o,c)),c.type===Rn&&(c.el=o.el)}}function hl(e){const t=e.slice(),n=[0];let s,r,i,o,c;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;)c=i+o>>1,e[n[c]]<f?i=c+1:o=c;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 gl=e=>e.__isTeleport,qe=Symbol.for("v-fgt"),Rn=Symbol.for("v-txt"),at=Symbol.for("v-cmt"),Hn=Symbol.for("v-stc"),Dt=[];let Se=null;function Ue(e=!1){Dt.push(Se=e?null:[])}function ml(){Dt.pop(),Se=Dt[Dt.length-1]||null}let Gt=1;function Qs(e){Gt+=e}function gi(e){return e.dynamicChildren=Gt>0?Se||bt:null,ml(),Gt>0&&Se&&Se.push(e),e}function Ge(e,t,n,s,r,i){return gi(le(e,t,n,s,r,i,!0))}function _l(e,t,n,s,r){return gi(Ae(e,t,n,s,r,!0))}function Vn(e){return e?e.__v_isVNode===!0:!1}function Lt(e,t){return e.type===t.type&&e.key===t.key}const Sn="__vInternal",mi=({key:e})=>e??null,fn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||pe(e)||N(e)?{i:Fe,r:e,k:t,f:!!n}:e:null);function le(e,t=null,n=null,s=0,r=null,i=e===qe?0:1,o=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&mi(t),ref:t&&fn(t),scopeId:Zr,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:Fe};return c?(vs(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=re(n)?8:16),Gt>0&&!o&&Se&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Se.push(l),l}const Ae=yl;function yl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Vo)&&(e=at),Vn(e)){const c=Rt(e,t,!0);return n&&vs(c,n),Gt>0&&!i&&Se&&(c.shapeFlag&6?Se[Se.indexOf(e)]=c:Se.push(c)),c.patchFlag|=-2,c}if(Ol(e)&&(e=e.__vccOpts),t){t=bl(t);let{class:c,style:l}=t;c&&!re(c)&&(t.class=wt(c)),ee(l)&&(Dr(l)&&!j(l)&&(l=ce({},l)),t.style=Wt(l))}const o=re(e)?1:jo(e)?128:gl(e)?64:ee(e)?4:N(e)?2:0;return le(e,t,n,s,r,o,i,!0)}function bl(e){return e?Dr(e)||Sn in e?ce({},e):e:null}function Rt(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,c=t?Al(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&mi(c),ref:t&&t.ref?n&&r?j(r)?r.concat(fn(t)):[r,fn(t)]:fn(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!==qe?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&&Rt(e.ssContent),ssFallback:e.ssFallback&&Rt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function vl(e=" ",t=0){return Ae(Rn,null,e,t)}function wl(e="",t=!1){return t?(Ue(),_l(at,null,e)):Ae(at,null,e)}function Le(e){return e==null||typeof e=="boolean"?Ae(at):j(e)?Ae(qe,null,e.slice()):typeof e=="object"?Ze(e):Ae(Rn,null,String(e))}function Ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Rt(e)}function vs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(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&&!(Sn in t)?t._ctx=Fe:r===3&&Fe&&(Fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else N(t)?(t={default:t,_ctx:Fe},n=32):(t=String(t),s&64?(n=16,t=[vl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Al(...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=wt([t.class,s.class]));else if(r==="style")t.style=Wt([t.style,s.style]);else if(bn(r)){const i=t[r],o=s[r];o&&i!==o&&!(j(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function He(e,t,n,s=null){Oe(e,t,7,[n,s])}const El=ci();let xl=0;function Il(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||El,i={uid:xl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Cr(!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:ai(s,r),emitsOptions:Xr(s,r),emit:null,emitted:null,propsDefaults:Z,inheritAttrs:s.inheritAttrs,ctx:Z,data:Z,props:Z,attrs:Z,slots:Z,refs:Z,setupState:Z,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=Mo.bind(null,i),e.ce&&e.ce(i),i}let de=null,ws,gt,Js="__VUE_INSTANCE_SETTERS__";(gt=Bn()[Js])||(gt=Bn()[Js]=[]),gt.push(e=>de=e),ws=e=>{gt.length>1?gt.forEach(t=>t(e)):gt[0](e)};const St=e=>{ws(e),e.scope.on()},ut=()=>{de&&de.scope.off(),ws(null)};function _i(e){return e.vnode.shapeFlag&4}let Vt=!1;function Pl(e,t=!1){Vt=t;const{props:n,children:s}=e.vnode,r=_i(e);ll(e,n,r,t),al(e,s);const i=r?Rl(e,t):void 0;return Vt=!1,i}function Rl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=hs(new Proxy(e.ctx,Zo));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Cl(e):null;St(e),Tt();const i=nt(s,e,0,[e.props,r]);if(kt(),ut(),Er(i)){if(i.then(ut,ut),t)return i.then(o=>{Ys(e,o,t)}).catch(o=>{xn(o,e,0)});e.asyncDep=i}else Ys(e,i,t)}else yi(e,t)}function Ys(e,t,n){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=Wr(t)),yi(e,n)}let Gs;function yi(e,t,n){const s=e.type;if(!e.render){if(!t&&Gs&&!s.render){const r=s.template||ys(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:c,compilerOptions:l}=s,f=ce(ce({isCustomElement:i,delimiters:c},o),l);s.render=Gs(r,f)}}e.render=s.render||Ce}St(e),Tt(),el(e),kt(),ut()}function Sl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return be(e,"get","$attrs"),t[n]}}))}function Cl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Sl(e)},slots:e.slots,emit:e.emit,expose:t}}function As(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Wr(hs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}}))}function Ol(e){return N(e)&&"__vccOpts"in e}const Re=(e,t)=>Io(e,t,Vt);function bi(e,t,n){const s=arguments.length;return s===2?ee(t)&&!j(t)?Vn(t)?Ae(e,null,[t]):Ae(e,t):Ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Vn(n)&&(n=[n]),Ae(e,t,n))}const Ml=Symbol.for("v-scx"),Tl=()=>Ke(Ml),kl="3.3.4",Hl="http://www.w3.org/2000/svg",lt=typeof document<"u"?document:null,Vs=lt&&lt.createElement("template"),ql={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?lt.createElementNS(Hl,e):lt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>lt.createTextNode(e),createComment:e=>lt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>lt.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{Vs.innerHTML=s?`<svg>${e}</svg>`:e;const c=Vs.content;if(s){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Ll(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 jl(e,t,n){const s=e.style,r=re(n);if(n&&!r){if(t&&!re(t))for(const i in t)n[i]==null&&Xn(s,i,"");for(const i in n)Xn(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 Xn(e,t,n){if(j(n))n.forEach(s=>Xn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Fl(e,t);Xs.test(n)?e.setProperty(Mt(s),n.replace(Xs,""),"important"):e[s]=n}}const Zs=["Webkit","Moz","ms"],qn={};function Fl(e,t){const n=qn[t];if(n)return n;let s=It(t);if(s!=="filter"&&s in e)return qn[t]=s;s=Pr(s);for(let r=0;r<Zs.length;r++){const i=Zs[r]+s;if(i in e)return qn[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 Bl(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}const c=e.tagName;if(t==="value"&&c!=="PROGRESS"&&!c.includes("-")){e._value=n;const f=c==="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 Ul(e,t,n,s){e.addEventListener(t,n,s)}function Dl(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[c,l]=Kl(t);if(s){const f=i[t]=Ql(s,r);Ul(e,c,f,l)}else o&&(Dl(e,c,o,l),i[t]=void 0)}}const tr=/(?:Once|Passive|Capture)$/;function Kl(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):Mt(e.slice(2)),t]}let Ln=0;const zl=Promise.resolve(),Wl=()=>Ln||(zl.then(()=>Ln=0),Ln=Date.now());function Ql(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Oe(Jl(s,n.value),t,5,[s])};return n.value=e,n.attached=Wl(),n}function Jl(e,t){if(j(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]/,Yl=(e,t,n,s,r=!1,i,o,c,l)=>{t==="class"?Ll(e,s,r):t==="style"?jl(e,n,s):bn(t)?rs(t)||$l(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gl(e,t,s,r))?Bl(e,t,s,i,o,c,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Nl(e,t,s,r))};function Gl(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)&&re(n)?!1:t in e}const Vl=ce({patchProp:Yl},ql);let sr;function Xl(){return sr||(sr=dl(Vl))}const Zl=(...e)=>{const t=Xl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ec(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 ec(e){return re(e)?document.querySelector(e):e}var tc=!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 ss(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 Z={},vt=[],Ce=()=>{},Mi=()=>!1,Ti=/^on[^a-z]/,vn=e=>Ti.test(e),rs=e=>e.startsWith("onUpdate:"),ce=Object.assign,is=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ki=Object.prototype.hasOwnProperty,$=(e,t)=>ki.call(e,t),j=Array.isArray,bt=e=>bn(e)==="[object Map]",Ar=e=>bn(e)==="[object Set]",B=e=>typeof e=="function",re=e=>typeof e=="string",os=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Er=e=>ee(e)&&B(e.then)&&B(e.catch),xr=Object.prototype.toString,bn=e=>xr.call(e),Hi=e=>bn(e).slice(8,-1),Ir=e=>bn(e)==="[object Object]",ls=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ln=ss(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},qi=/-(\w)/g,It=wn(e=>e.replace(qi,(t,n)=>n?n.toUpperCase():"")),Li=/\B([A-Z])/g,Mt=wn(e=>e.replace(Li,"-$1").toLowerCase()),Pr=wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),On=wn(e=>e?`on${Pr(e)}`:""),zt=(e,t)=>!Object.is(e,t),Mn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},pn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ji=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Cs;const Nn=()=>Cs||(Cs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Wt(e){if(j(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=re(s)?Ui(s):Wt(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(re(e))return e;if(ee(e))return e}}const Fi=/;(?![^(]*\))/g,Bi=/:([^]+)/,Ni=/\/\*[^]*?\*\//g;function Ui(e){const t={};return e.replace(Ni,"").split(Fi).forEach(n=>{if(n){const s=n.split(Bi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function wt(e){let t="";if(re(e))t=e;else if(j(e))for(let n=0;n<e.length;n++){const s=wt(e[n]);s&&(t+=s+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Di="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$i=ss(Di);function Rr(e){return!!e||e===""}const Ki=e=>re(e)?e:e==null?"":j(e)||ee(e)&&(e.toString===xr||!B(e.toString))?JSON.stringify(e,Sr,2):String(e),Sr=(e,t)=>t&&t.__v_isRef?Sr(e,t.value):bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Ar(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!j(t)&&!Ir(t)?String(t):t;let Ie;class Cr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ie,!t&&Ie&&(this.index=(Ie.scopes||(Ie.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ie;try{return Ie=this,t()}finally{Ie=n}}}on(){Ie=this}off(){Ie=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 zi(e){return new Cr(e)}function Wi(e,t=Ie){t&&t.active&&t.effects.push(e)}function Qi(){return Ie}const cs=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Or=e=>(e.w&st)>0,Mr=e=>(e.n&st)>0,Ji=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=st},Yi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Or(r)&&!Mr(r)?r.delete(e):t[n++]=r,r.w&=~st,r.n&=~st}t.length=n}},Un=new WeakMap;let Bt=0,st=1;const Dn=30;let Pe;const ct=Symbol(""),$n=Symbol("");class us{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Wi(this,s)}run(){if(!this.active)return this.fn();let t=Pe,n=tt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Pe,Pe=this,tt=!0,st=1<<++Bt,Bt<=Dn?Ji(this):Os(this),this.fn()}finally{Bt<=Dn&&Yi(this),st=1<<--Bt,Pe=this.parent,tt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Pe===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 tt=!0;const Tr=[];function Tt(){Tr.push(tt),tt=!1}function kt(){const e=Tr.pop();tt=e===void 0?!0:e}function ve(e,t,n){if(tt&&Pe){let s=Un.get(e);s||Un.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=cs()),kr(r)}}function kr(e,t){let n=!1;Bt<=Dn?Mr(e)||(e.n|=st,n=!Or(e)):n=!e.has(Pe),n&&(e.add(Pe),Pe.deps.push(e))}function ze(e,t,n,s,r,i){const o=Un.get(e);if(!o)return;let c=[];if(t==="clear")c=[...o.values()];else if(n==="length"&&j(e)){const l=Number(s);o.forEach((f,d)=>{(d==="length"||d>=l)&&c.push(f)})}else switch(n!==void 0&&c.push(o.get(n)),t){case"add":j(e)?ls(n)&&c.push(o.get("length")):(c.push(o.get(ct)),bt(e)&&c.push(o.get($n)));break;case"delete":j(e)||(c.push(o.get(ct)),bt(e)&&c.push(o.get($n)));break;case"set":bt(e)&&c.push(o.get(ct));break}if(c.length===1)c[0]&&Kn(c[0]);else{const l=[];for(const f of c)f&&l.push(...f);Kn(cs(l))}}function Kn(e,t){const n=j(e)?e:[...e];for(const s of n)s.computed&&Ms(s);for(const s of n)s.computed||Ms(s)}function Ms(e,t){(e!==Pe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Gi=ss("__proto__,__v_isRef,__isVue"),Hr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(os)),Vi=as(),Xi=as(!1,!0),Zi=as(!0),Ts=eo();function eo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=K(this);for(let i=0,o=this.length;i<o;i++)ve(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(K)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Tt();const s=K(this)[t].apply(this,n);return kt(),s}}),e}function to(e){const t=K(this);return ve(t,"has",e),t.hasOwnProperty(e)}function as(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?yo:Br:t?Fr:jr).get(s))return s;const o=j(s);if(!e){if(o&&$(Ts,r))return Reflect.get(Ts,r,i);if(r==="hasOwnProperty")return to}const c=Reflect.get(s,r,i);return(os(r)?Hr.has(r):Gi(r))||(e||ve(s,"get",r),t)?c:pe(c)?o&&ls(r)?c:c.value:ee(c)?e?Ur(c):En(c):c}}const no=qr(),so=qr(!0);function qr(e=!1){return function(n,s,r,i){let o=n[s];if(Pt(o)&&pe(o)&&!pe(r))return!1;if(!e&&(!hn(r)&&!Pt(r)&&(o=K(o),r=K(r)),!j(n)&&pe(o)&&!pe(r)))return o.value=r,!0;const c=j(n)&&ls(s)?Number(s)<n.length:$(n,s),l=Reflect.set(n,s,r,i);return n===K(i)&&(c?zt(r,o)&&ze(n,"set",s,r):ze(n,"add",s,r)),l}}function ro(e,t){const n=$(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&ze(e,"delete",t,void 0),s}function io(e,t){const n=Reflect.has(e,t);return(!os(t)||!Hr.has(t))&&ve(e,"has",t),n}function oo(e){return ve(e,"iterate",j(e)?"length":ct),Reflect.ownKeys(e)}const Lr={get:Vi,set:no,deleteProperty:ro,has:io,ownKeys:oo},lo={get:Zi,set(e,t){return!0},deleteProperty(e,t){return!0}},co=ce({},Lr,{get:Xi,set:so}),fs=e=>e,An=e=>Reflect.getPrototypeOf(e);function en(e,t,n=!1,s=!1){e=e.__v_raw;const r=K(e),i=K(t);n||(t!==i&&ve(r,"get",t),ve(r,"get",i));const{has:o}=An(r),c=s?fs:n?gs:Qt;if(o.call(r,t))return c(e.get(t));if(o.call(r,i))return c(e.get(i));e!==r&&e.get(t)}function tn(e,t=!1){const n=this.__v_raw,s=K(n),r=K(e);return t||(e!==r&&ve(s,"has",e),ve(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function nn(e,t=!1){return e=e.__v_raw,!t&&ve(K(e),"iterate",ct),Reflect.get(e,"size",e)}function ks(e){e=K(e);const t=K(this);return An(t).has.call(t,e)||(t.add(e),ze(t,"add",e,e)),this}function Hs(e,t){t=K(t);const n=K(this),{has:s,get:r}=An(n);let i=s.call(n,e);i||(e=K(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?zt(t,o)&&ze(n,"set",e,t):ze(n,"add",e,t),this}function qs(e){const t=K(this),{has:n,get:s}=An(t);let r=n.call(t,e);r||(e=K(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&ze(t,"delete",e,void 0),i}function Ls(){const e=K(this),t=e.size!==0,n=e.clear();return t&&ze(e,"clear",void 0,void 0),n}function sn(e,t){return function(s,r){const i=this,o=i.__v_raw,c=K(o),l=t?fs:e?gs:Qt;return!e&&ve(c,"iterate",ct),o.forEach((f,d)=>s.call(r,l(f),l(d),i))}}function rn(e,t,n){return function(...s){const r=this.__v_raw,i=K(r),o=bt(i),c=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...s),d=n?fs:t?gs:Qt;return!t&&ve(i,"iterate",l?$n:ct),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:c?[d(h[0]),d(h[1])]:d(h),done:g}},[Symbol.iterator](){return this}}}}function Ye(e){return function(...t){return e==="delete"?!1:this}}function uo(){const e={get(i){return en(this,i)},get size(){return nn(this)},has:tn,add:ks,set:Hs,delete:qs,clear:Ls,forEach:sn(!1,!1)},t={get(i){return en(this,i,!1,!0)},get size(){return nn(this)},has:tn,add:ks,set:Hs,delete:qs,clear:Ls,forEach:sn(!1,!0)},n={get(i){return en(this,i,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:sn(!0,!1)},s={get(i){return en(this,i,!0,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:sn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=rn(i,!1,!1),n[i]=rn(i,!0,!1),t[i]=rn(i,!1,!0),s[i]=rn(i,!0,!0)}),[e,n,t,s]}const[ao,fo,po,ho]=uo();function ds(e,t){const n=t?e?ho:po:e?fo:ao;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get($(n,r)&&r in s?n:s,r,i)}const go={get:ds(!1,!1)},mo={get:ds(!1,!0)},_o={get:ds(!0,!1)},jr=new WeakMap,Fr=new WeakMap,Br=new WeakMap,yo=new WeakMap;function vo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bo(e){return e.__v_skip||!Object.isExtensible(e)?0:vo(Hi(e))}function En(e){return Pt(e)?e:ps(e,!1,Lr,go,jr)}function Nr(e){return ps(e,!1,co,mo,Fr)}function Ur(e){return ps(e,!0,lo,_o,Br)}function ps(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=bo(e);if(o===0)return e;const c=new Proxy(e,o===2?s:n);return r.set(e,c),c}function At(e){return Pt(e)?At(e.__v_raw):!!(e&&e.__v_isReactive)}function Pt(e){return!!(e&&e.__v_isReadonly)}function hn(e){return!!(e&&e.__v_isShallow)}function Dr(e){return At(e)||Pt(e)}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function hs(e){return pn(e,"__v_skip",!0),e}const Qt=e=>ee(e)?En(e):e,gs=e=>ee(e)?Ur(e):e;function $r(e){tt&&Pe&&(e=K(e),kr(e.dep||(e.dep=cs())))}function Kr(e,t){e=K(e);const n=e.dep;n&&Kn(n)}function pe(e){return!!(e&&e.__v_isRef===!0)}function Xe(e){return zr(e,!1)}function wo(e){return zr(e,!0)}function zr(e,t){return pe(e)?e:new Ao(e,t)}class Ao{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:K(t),this._value=n?t:Qt(t)}get value(){return $r(this),this._value}set value(t){const n=this.__v_isShallow||hn(t)||Pt(t);t=n?t:K(t),zt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Qt(t),Kr(this))}}function Et(e){return pe(e)?e.value:e}const Eo={get:(e,t,n)=>Et(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return pe(r)&&!pe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Wr(e){return At(e)?e:new Proxy(e,Eo)}class xo{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 us(t,()=>{this._dirty||(this._dirty=!0,Kr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=K(this);return $r(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Io(e,t,n=!1){let s,r;const i=B(e);return i?(s=e,r=Ce):(s=e.get,r=e.set),new xo(s,r,i||!r,n)}function nt(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){xn(i,t,n)}return r}function Oe(e,t,n,s){if(B(e)){const i=nt(e,t,n,s);return i&&Er(i)&&i.catch(o=>{xn(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Oe(e[i],t,n,s));return r}function xn(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,c=n;for(;i;){const f=i.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,o,c)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){nt(l,null,10,[e,o,c]);return}}Po(e,n,r,s)}function Po(e,t,n,s=!0){console.error(e)}let Jt=!1,zn=!1;const fe=[];let je=0;const xt=[];let De=null,ot=0;const Qr=Promise.resolve();let ms=null;function Jr(e){const t=ms||Qr;return e?t.then(this?e.bind(this):e):t}function Ro(e){let t=je+1,n=fe.length;for(;t<n;){const s=t+n>>>1;Yt(fe[s])<e?t=s+1:n=s}return t}function _s(e){(!fe.length||!fe.includes(e,Jt&&e.allowRecurse?je+1:je))&&(e.id==null?fe.push(e):fe.splice(Ro(e.id),0,e),Yr())}function Yr(){!Jt&&!zn&&(zn=!0,ms=Qr.then(Vr))}function So(e){const t=fe.indexOf(e);t>je&&fe.splice(t,1)}function Co(e){j(e)?xt.push(...e):(!De||!De.includes(e,e.allowRecurse?ot+1:ot))&&xt.push(e),Yr()}function js(e,t=Jt?je+1:0){for(;t<fe.length;t++){const n=fe[t];n&&n.pre&&(fe.splice(t,1),t--,n())}}function Gr(e){if(xt.length){const t=[...new Set(xt)];if(xt.length=0,De){De.push(...t);return}for(De=t,De.sort((n,s)=>Yt(n)-Yt(s)),ot=0;ot<De.length;ot++)De[ot]();De=null,ot=0}}const Yt=e=>e.id==null?1/0:e.id,Oo=(e,t)=>{const n=Yt(e)-Yt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Vr(e){zn=!1,Jt=!0,fe.sort(Oo);const t=Ce;try{for(je=0;je<fe.length;je++){const n=fe[je];n&&n.active!==!1&&nt(n,null,14)}}finally{je=0,fe.length=0,Gr(),Jt=!1,ms=null,(fe.length||xt.length)&&Vr()}}function Mo(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Z;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:h,trim:g}=s[d]||Z;g&&(r=n.map(v=>re(v)?v.trim():v)),h&&(r=n.map(ji))}let c,l=s[c=On(t)]||s[c=On(It(t))];!l&&i&&(l=s[c=On(Mt(t))]),l&&Oe(l,e,6,r);const f=s[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Oe(f,e,6,r)}}function Xr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},c=!1;if(!B(e)){const l=f=>{const d=Xr(f,t,!0);d&&(c=!0,ce(o,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!c?(ee(e)&&s.set(e,null),null):(j(i)?i.forEach(l=>o[l]=null):ce(o,i),ee(e)&&s.set(e,o),o)}function In(e,t){return!e||!vn(t)?!1:(t=t.slice(2).replace(/Once$/,""),$(e,t[0].toLowerCase()+t.slice(1))||$(e,Mt(t))||$(e,t))}let Fe=null,Zr=null;function gn(e){const t=Fe;return Fe=e,Zr=e&&e.type.__scopeId||null,t}function To(e,t=Fe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Qs(-1);const i=gn(t);let o;try{o=e(...r)}finally{gn(i),s._d&&Qs(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Tn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:c,attrs:l,emit:f,render:d,renderCache:h,data:g,setupState:v,ctx:R,inheritAttrs:C}=e;let L,M;const H=gn(e);try{if(n.shapeFlag&4){const q=r||s;L=Le(d.call(q,q,h,i,v,g,R)),M=l}else{const q=t;L=Le(q.length>1?q(i,{attrs:l,slots:c,emit:f}):q(i,null)),M=t.props?l:ko(l)}}catch(q){Dt.length=0,xn(q,e,1),L=Ae(at)}let D=L;if(M&&C!==!1){const q=Object.keys(M),{shapeFlag:ie}=D;q.length&&ie&7&&(o&&q.some(rs)&&(M=Ho(M,o)),D=Rt(D,M))}return n.dirs&&(D=Rt(D),D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&(D.transition=n.transition),L=D,gn(H),L}const ko=e=>{let t;for(const n in e)(n==="class"||n==="style"||vn(n))&&((t||(t={}))[n]=e[n]);return t},Ho=(e,t)=>{const n={};for(const s in e)(!rs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function qo(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:c,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?Fs(s,o,f):!!o;if(l&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const g=d[h];if(o[g]!==s[g]&&!In(f,g))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===o?!1:s?o?Fs(s,o,f):!0:!!o;return!1}function Fs(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]&&!In(n,i))return!0}return!1}function Lo({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const jo=e=>e.__isSuspense;function Fo(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Co(e)}const on={};function cn(e,t,n){return ei(e,t,n)}function ei(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=Z){var c;const l=Qi()===((c=de)==null?void 0:c.scope)?de:null;let f,d=!1,h=!1;if(pe(e)?(f=()=>e.value,d=hn(e)):At(e)?(f=()=>e,s=!0):j(e)?(h=!0,d=e.some(q=>At(q)||hn(q)),f=()=>e.map(q=>{if(pe(q))return q.value;if(At(q))return _t(q);if(B(q))return nt(q,l,2)})):B(e)?t?f=()=>nt(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),Oe(e,l,3,[v])}:f=Ce,t&&s){const q=f;f=()=>_t(q())}let g,v=q=>{g=H.onStop=()=>{nt(q,l,4)}},R;if(Vt)if(v=Ce,t?n&&Oe(t,l,3,[f(),h?[]:void 0,v]):f(),r==="sync"){const q=Tl();R=q.__watcherHandles||(q.__watcherHandles=[])}else return Ce;let C=h?new Array(e.length).fill(on):on;const L=()=>{if(H.active)if(t){const q=H.run();(s||d||(h?q.some((ie,ue)=>zt(ie,C[ue])):zt(q,C)))&&(g&&g(),Oe(t,l,3,[q,C===on?void 0:h&&C[0]===on?[]:C,v]),C=q)}else H.run()};L.allowRecurse=!!t;let M;r==="sync"?M=L:r==="post"?M=()=>ye(L,l&&l.suspense):(L.pre=!0,l&&(L.id=l.uid),M=()=>_s(L));const H=new us(f,M);t?n?L():C=H.run():r==="post"?ye(H.run.bind(H),l&&l.suspense):H.run();const D=()=>{H.stop(),l&&l.scope&&is(l.scope.effects,H)};return R&&R.push(D),D}function Bo(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?ti(s,e):()=>s[e]:e.bind(s,s);let i;B(t)?i=t:(i=t.handler,n=t);const o=de;St(this);const c=ei(r,i.bind(s),n);return o?St(o):ut(),c}function ti(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 _t(e,t){if(!ee(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),pe(e))_t(e.value,t);else if(j(e))for(let n=0;n<e.length;n++)_t(e[n],t);else if(Ar(e)||bt(e))e.forEach(n=>{_t(n,t)});else if(Ir(e))for(const n in e)_t(e[n],t);return e}function rt(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const c=r[o];i&&(c.oldValue=i[o].value);let l=c.dir[s];l&&(Tt(),Oe(l,n,8,[e.el,c,e,t]),kt())}}function ni(e,t){return B(e)?(()=>ce({name:e.name},t,{setup:e}))():e}const un=e=>!!e.type.__asyncLoader,si=e=>e.type.__isKeepAlive;function No(e,t){ri(e,"a",t)}function Uo(e,t){ri(e,"da",t)}function ri(e,t,n=de){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Pn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)si(r.parent.vnode)&&Do(s,t,n,r),r=r.parent}}function Do(e,t,n,s){const r=Pn(t,e,s,!0);oi(()=>{is(s[t],r)},n)}function Pn(e,t,n=de,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Tt(),St(n);const c=Oe(t,n,e,o);return ut(),kt(),c});return s?r.unshift(i):r.push(i),i}}const We=e=>(t,n=de)=>(!Vt||e==="sp")&&Pn(e,(...s)=>t(...s),n),$o=We("bm"),ii=We("m"),Ko=We("bu"),zo=We("u"),Wo=We("bum"),oi=We("um"),Qo=We("sp"),Jo=We("rtg"),Yo=We("rtc");function Go(e,t=de){Pn("ec",e,t)}const Vo=Symbol.for("v-ndc");function Xo(e,t,n,s){let r;const i=n&&n[s];if(j(e)||re(e)){r=new Array(e.length);for(let o=0,c=e.length;o<c;o++)r[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(ee(e))if(e[Symbol.iterator])r=Array.from(e,(o,c)=>t(o,c,void 0,i&&i[c]));else{const o=Object.keys(e);r=new Array(o.length);for(let c=0,l=o.length;c<l;c++){const f=o[c];r[c]=t(e[f],f,c,i&&i[c])}}else r=[];return n&&(n[s]=r),r}const Wn=e=>e?_i(e)?As(e)||e.proxy:Wn(e.parent):null,Ut=ce(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=>Wn(e.parent),$root:e=>Wn(e.root),$emit:e=>e.emit,$options:e=>ys(e),$forceUpdate:e=>e.f||(e.f=()=>_s(e.update)),$nextTick:e=>e.n||(e.n=Jr.bind(e.proxy)),$watch:e=>Bo.bind(e)}),kn=(e,t)=>e!==Z&&!e.__isScriptSetup&&$(e,t),Zo={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:c,appContext:l}=e;let f;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(kn(s,t))return o[t]=1,s[t];if(r!==Z&&$(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&$(f,t))return o[t]=3,i[t];if(n!==Z&&$(n,t))return o[t]=4,n[t];Qn&&(o[t]=0)}}const d=Ut[t];let h,g;if(d)return t==="$attrs"&&ve(e,"get",t),d(e);if((h=c.__cssModules)&&(h=h[t]))return h;if(n!==Z&&$(n,t))return o[t]=4,n[t];if(g=l.config.globalProperties,$(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return kn(r,t)?(r[t]=n,!0):s!==Z&&$(s,t)?(s[t]=n,!0):$(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let c;return!!n[o]||e!==Z&&$(e,o)||kn(t,o)||(c=i[0])&&$(c,o)||$(s,o)||$(Ut,o)||$(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Bs(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Qn=!0;function el(e){const t=ys(e),n=e.proxy,s=e.ctx;Qn=!1,t.beforeCreate&&Ns(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:c,provide:l,inject:f,created:d,beforeMount:h,mounted:g,beforeUpdate:v,updated:R,activated:C,deactivated:L,beforeDestroy:M,beforeUnmount:H,destroyed:D,unmounted:q,render:ie,renderTracked:ue,renderTriggered:be,errorCaptured:Y,serverPrefetch:se,expose:X,inheritAttrs:ge,components:te,directives:me,filters:Ht}=t;if(f&&tl(f,s,null),o)for(const G in o){const z=o[G];B(z)&&(s[G]=z.bind(n))}if(r){const G=r.call(n,n);ee(G)&&(e.data=En(G))}if(Qn=!0,i)for(const G in i){const z=i[G],Be=B(z)?z.bind(n,n):B(z.get)?z.get.bind(n,n):Ce,Je=!B(z)&&B(z.set)?z.set.bind(n):Ce,Te=Re({get:Be,set:Je});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>Te.value,set:_e=>Te.value=_e})}if(c)for(const G in c)li(c[G],s,n,G);if(l){const G=B(l)?l.call(n):l;Reflect.ownKeys(G).forEach(z=>{an(z,G[z])})}d&&Ns(d,e,"c");function oe(G,z){j(z)?z.forEach(Be=>G(Be.bind(n))):z&&G(z.bind(n))}if(oe($o,h),oe(ii,g),oe(Ko,v),oe(zo,R),oe(No,C),oe(Uo,L),oe(Go,Y),oe(Yo,ue),oe(Jo,be),oe(Wo,H),oe(oi,q),oe(Qo,se),j(X))if(X.length){const G=e.exposed||(e.exposed={});X.forEach(z=>{Object.defineProperty(G,z,{get:()=>n[z],set:Be=>n[z]=Be})})}else e.exposed||(e.exposed={});ie&&e.render===Ce&&(e.render=ie),ge!=null&&(e.inheritAttrs=ge),te&&(e.components=te),me&&(e.directives=me)}function tl(e,t,n=Ce){j(e)&&(e=Jn(e));for(const s in e){const r=e[s];let i;ee(r)?"default"in r?i=Ke(r.from||s,r.default,!0):i=Ke(r.from||s):i=Ke(r),pe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Ns(e,t,n){Oe(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function li(e,t,n,s){const r=s.includes(".")?ti(n,s):()=>n[s];if(re(e)){const i=t[e];B(i)&&cn(r,i)}else if(B(e))cn(r,e.bind(n));else if(ee(e))if(j(e))e.forEach(i=>li(i,t,n,s));else{const i=B(e.handler)?e.handler.bind(n):t[e.handler];B(i)&&cn(r,i,e)}}function ys(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,c=i.get(t);let l;return c?l=c:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(f=>mn(l,f,o,!0)),mn(l,t,o)),ee(t)&&i.set(t,l),l}function mn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&mn(e,i,n,!0),r&&r.forEach(o=>mn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const c=nl[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const nl={data:Us,props:Ds,emits:Ds,methods:Nt,computed:Nt,beforeCreate:he,created:he,beforeMount:he,mounted:he,beforeUpdate:he,updated:he,beforeDestroy:he,beforeUnmount:he,destroyed:he,unmounted:he,activated:he,deactivated:he,errorCaptured:he,serverPrefetch:he,components:Nt,directives:Nt,watch:rl,provide:Us,inject:sl};function Us(e,t){return t?e?function(){return ce(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function sl(e,t){return Nt(Jn(e),Jn(t))}function Jn(e){if(j(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function he(e,t){return e?[...new Set([].concat(e,t))]:t}function Nt(e,t){return e?ce(Object.create(null),e,t):t}function Ds(e,t){return e?j(e)&&j(t)?[...new Set([...e,...t])]:ce(Object.create(null),Bs(e),Bs(t??{})):t}function rl(e,t){if(!e)return t;if(!t)return e;const n=ce(Object.create(null),e);for(const s in t)n[s]=he(e[s],t[s]);return n}function ci(){return{app:null,config:{isNativeTag:Mi,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 il=0;function ol(e,t){return function(s,r=null){B(s)||(s=ce({},s)),r!=null&&!ee(r)&&(r=null);const i=ci(),o=new Set;let c=!1;const l=i.app={_uid:il++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:kl,get config(){return i.config},set config(f){},use(f,...d){return o.has(f)||(f&&B(f.install)?(o.add(f),f.install(l,...d)):B(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,h){if(!c){const g=Ae(s,r);return g.appContext=i,d&&t?t(g,f):e(g,f,h),c=!0,l._container=f,f.__vue_app__=l,As(g.component)||g.component.proxy}},unmount(){c&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,d){return i.provides[f]=d,l},runWithContext(f){_n=l;try{return f()}finally{_n=null}}};return l}}let _n=null;function an(e,t){if(de){let n=de.provides;const s=de.parent&&de.parent.provides;s===n&&(n=de.provides=Object.create(s)),n[e]=t}}function Ke(e,t,n=!1){const s=de||Fe;if(s||_n){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:_n._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&B(t)?t.call(s&&s.proxy):t}}function ll(e,t,n,s=!1){const r={},i={};pn(i,Sn,1),e.propsDefaults=Object.create(null),ui(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 cl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,c=K(r),[l]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let g=d[h];if(In(e.emitsOptions,g))continue;const v=t[g];if(l)if($(i,g))v!==i[g]&&(i[g]=v,f=!0);else{const R=It(g);r[R]=Yn(l,c,R,v,e,!1)}else v!==i[g]&&(i[g]=v,f=!0)}}}else{ui(e,t,r,i)&&(f=!0);let d;for(const h in c)(!t||!$(t,h)&&((d=Mt(h))===h||!$(t,d)))&&(l?n&&(n[h]!==void 0||n[d]!==void 0)&&(r[h]=Yn(l,c,h,void 0,e,!0)):delete r[h]);if(i!==c)for(const h in i)(!t||!$(t,h))&&(delete i[h],f=!0)}f&&ze(e,"set","$attrs")}function ui(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,c;if(t)for(let l in t){if(ln(l))continue;const f=t[l];let d;r&&$(r,d=It(l))?!i||!i.includes(d)?n[d]=f:(c||(c={}))[d]=f:In(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,o=!0)}if(i){const l=K(n),f=c||Z;for(let d=0;d<i.length;d++){const h=i[d];n[h]=Yn(r,l,h,f[h],e,!$(f,h))}}return o}function Yn(e,t,n,s,r,i){const o=e[n];if(o!=null){const c=$(o,"default");if(c&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&B(l)){const{propsDefaults:f}=r;n in f?s=f[n]:(St(r),s=f[n]=l.call(null,t),ut())}else s=l}o[0]&&(i&&!c?s=!1:o[1]&&(s===""||s===Mt(n))&&(s=!0))}return s}function ai(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},c=[];let l=!1;if(!B(e)){const d=h=>{l=!0;const[g,v]=ai(h,t,!0);ce(o,g),v&&c.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return ee(e)&&s.set(e,vt),vt;if(j(i))for(let d=0;d<i.length;d++){const h=It(i[d]);$s(h)&&(o[h]=Z)}else if(i)for(const d in i){const h=It(d);if($s(h)){const g=i[d],v=o[h]=j(g)||B(g)?{type:g}:ce({},g);if(v){const R=Ws(Boolean,v.type),C=Ws(String,v.type);v[0]=R>-1,v[1]=C<0||R<C,(R>-1||$(v,"default"))&&c.push(h)}}}const f=[o,c];return ee(e)&&s.set(e,f),f}function $s(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 j(t)?t.findIndex(n=>zs(n,e)):B(t)&&zs(t,e)?0:-1}const fi=e=>e[0]==="_"||e==="$stable",vs=e=>j(e)?e.map(Le):[Le(e)],ul=(e,t,n)=>{if(t._n)return t;const s=To((...r)=>vs(t(...r)),n);return s._c=!1,s},di=(e,t,n)=>{const s=e._ctx;for(const r in e){if(fi(r))continue;const i=e[r];if(B(i))t[r]=ul(r,i,s);else if(i!=null){const o=vs(i);t[r]=()=>o}}},pi=(e,t)=>{const n=vs(t);e.slots.default=()=>n},al=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=K(t),pn(t,"_",n)):di(t,e.slots={})}else e.slots={},t&&pi(e,t);pn(e.slots,Sn,1)},fl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Z;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:(ce(r,t),!n&&c===1&&delete r._):(i=!t.$stable,di(t,r)),o=t}else t&&(pi(e,t),o={default:1});if(i)for(const c in r)!fi(c)&&!(c in o)&&delete r[c]};function Gn(e,t,n,s,r=!1){if(j(e)){e.forEach((g,v)=>Gn(g,t&&(j(t)?t[v]:t),n,s,r));return}if(un(s)&&!r)return;const i=s.shapeFlag&4?As(s.component)||s.component.proxy:s.el,o=r?null:i,{i:c,r:l}=e,f=t&&t.r,d=c.refs===Z?c.refs={}:c.refs,h=c.setupState;if(f!=null&&f!==l&&(re(f)?(d[f]=null,$(h,f)&&(h[f]=null)):pe(f)&&(f.value=null)),B(l))nt(l,c,12,[o,d]);else{const g=re(l),v=pe(l);if(g||v){const R=()=>{if(e.f){const C=g?$(h,l)?h[l]:d[l]:l.value;r?j(C)&&is(C,i):j(C)?C.includes(i)||C.push(i):g?(d[l]=[i],$(h,l)&&(h[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,$(h,l)&&(h[l]=o)):v&&(l.value=o,e.k&&(d[e.k]=o))};o?(R.id=-1,ye(R,n)):R()}}}const ye=Fo;function dl(e){return pl(e)}function pl(e,t){const n=Nn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:c,createComment:l,setText:f,setElementText:d,parentNode:h,nextSibling:g,setScopeId:v=Ce,insertStaticContent:R}=e,C=(u,a,p,m=null,y=null,b=null,I=!1,A=null,E=!!a.dynamicChildren)=>{if(u===a)return;u&&!Lt(u,a)&&(m=_(u),_e(u,y,b,!0),u=null),a.patchFlag===-2&&(E=!1,a.dynamicChildren=null);const{type:w,ref:T,shapeFlag:S}=a;switch(w){case Rn:L(u,a,p,m);break;case at:M(u,a,p,m);break;case Hn:u==null&&H(a,p,m,I);break;case qe:te(u,a,p,m,y,b,I,A,E);break;default:S&1?ie(u,a,p,m,y,b,I,A,E):S&6?me(u,a,p,m,y,b,I,A,E):(S&64||S&128)&&w.process(u,a,p,m,y,b,I,A,E,x)}T!=null&&y&&Gn(T,u&&u.ref,b,a||u,!a)},L=(u,a,p,m)=>{if(u==null)s(a.el=c(a.children),p,m);else{const y=a.el=u.el;a.children!==u.children&&f(y,a.children)}},M=(u,a,p,m)=>{u==null?s(a.el=l(a.children||""),p,m):a.el=u.el},H=(u,a,p,m)=>{[u.el,u.anchor]=R(u.children,a,p,m,u.el,u.anchor)},D=({el:u,anchor:a},p,m)=>{let y;for(;u&&u!==a;)y=g(u),s(u,p,m),u=y;s(a,p,m)},q=({el:u,anchor:a})=>{let p;for(;u&&u!==a;)p=g(u),r(u),u=p;r(a)},ie=(u,a,p,m,y,b,I,A,E)=>{I=I||a.type==="svg",u==null?ue(a,p,m,y,b,I,A,E):se(u,a,y,b,I,A,E)},ue=(u,a,p,m,y,b,I,A)=>{let E,w;const{type:T,props:S,shapeFlag:k,transition:F,dirs:N}=u;if(E=u.el=o(u.type,b,S&&S.is,S),k&8?d(E,u.children):k&16&&Y(u.children,E,null,m,y,b&&T!=="foreignObject",I,A),N&&rt(u,null,m,"created"),be(E,u,u.scopeId,I,m),S){for(const J in S)J!=="value"&&!ln(J)&&i(E,J,null,S[J],b,u.children,m,y,ae);"value"in S&&i(E,"value",null,S.value),(w=S.onVnodeBeforeMount)&&He(w,m,u)}N&&rt(u,null,m,"beforeMount");const V=(!y||y&&!y.pendingBranch)&&F&&!F.persisted;V&&F.beforeEnter(E),s(E,a,p),((w=S&&S.onVnodeMounted)||V||N)&&ye(()=>{w&&He(w,m,u),V&&F.enter(E),N&&rt(u,null,m,"mounted")},y)},be=(u,a,p,m,y)=>{if(p&&v(u,p),m)for(let b=0;b<m.length;b++)v(u,m[b]);if(y){let b=y.subTree;if(a===b){const I=y.vnode;be(u,I,I.scopeId,I.slotScopeIds,y.parent)}}},Y=(u,a,p,m,y,b,I,A,E=0)=>{for(let w=E;w<u.length;w++){const T=u[w]=A?Ze(u[w]):Le(u[w]);C(null,T,a,p,m,y,b,I,A)}},se=(u,a,p,m,y,b,I)=>{const A=a.el=u.el;let{patchFlag:E,dynamicChildren:w,dirs:T}=a;E|=u.patchFlag&16;const S=u.props||Z,k=a.props||Z;let F;p&&it(p,!1),(F=k.onVnodeBeforeUpdate)&&He(F,p,a,u),T&&rt(a,u,p,"beforeUpdate"),p&&it(p,!0);const N=y&&a.type!=="foreignObject";if(w?X(u.dynamicChildren,w,A,p,m,N,b):I||z(u,a,A,null,p,m,N,b,!1),E>0){if(E&16)ge(A,a,S,k,p,m,y);else if(E&2&&S.class!==k.class&&i(A,"class",null,k.class,y),E&4&&i(A,"style",S.style,k.style,y),E&8){const V=a.dynamicProps;for(let J=0;J<V.length;J++){const ne=V[J],xe=S[ne],ht=k[ne];(ht!==xe||ne==="value")&&i(A,ne,xe,ht,y,u.children,p,m,ae)}}E&1&&u.children!==a.children&&d(A,a.children)}else!I&&w==null&&ge(A,a,S,k,p,m,y);((F=k.onVnodeUpdated)||T)&&ye(()=>{F&&He(F,p,a,u),T&&rt(a,u,p,"updated")},m)},X=(u,a,p,m,y,b,I)=>{for(let A=0;A<a.length;A++){const E=u[A],w=a[A],T=E.el&&(E.type===qe||!Lt(E,w)||E.shapeFlag&70)?h(E.el):p;C(E,w,T,null,m,y,b,I,!0)}},ge=(u,a,p,m,y,b,I)=>{if(p!==m){if(p!==Z)for(const A in p)!ln(A)&&!(A in m)&&i(u,A,p[A],null,I,a.children,y,b,ae);for(const A in m){if(ln(A))continue;const E=m[A],w=p[A];E!==w&&A!=="value"&&i(u,A,w,E,I,a.children,y,b,ae)}"value"in m&&i(u,"value",p.value,m.value)}},te=(u,a,p,m,y,b,I,A,E)=>{const w=a.el=u?u.el:c(""),T=a.anchor=u?u.anchor:c("");let{patchFlag:S,dynamicChildren:k,slotScopeIds:F}=a;F&&(A=A?A.concat(F):F),u==null?(s(w,p,m),s(T,p,m),Y(a.children,p,T,y,b,I,A,E)):S>0&&S&64&&k&&u.dynamicChildren?(X(u.dynamicChildren,k,p,y,b,I,A),(a.key!=null||y&&a===y.subTree)&&hi(u,a,!0)):z(u,a,p,T,y,b,I,A,E)},me=(u,a,p,m,y,b,I,A,E)=>{a.slotScopeIds=A,u==null?a.shapeFlag&512?y.ctx.activate(a,p,m,I,E):Ht(a,p,m,y,b,I,E):ft(u,a,E)},Ht=(u,a,p,m,y,b,I)=>{const A=u.component=Il(u,m,y);if(si(u)&&(A.ctx.renderer=x),Pl(A),A.asyncDep){if(y&&y.registerDep(A,oe),!u.el){const E=A.subTree=Ae(at);M(null,E,a,p)}return}oe(A,u,a,p,y,b,I)},ft=(u,a,p)=>{const m=a.component=u.component;if(qo(u,a,p))if(m.asyncDep&&!m.asyncResolved){G(m,a,p);return}else m.next=a,So(m.update),m.update();else a.el=u.el,m.vnode=a},oe=(u,a,p,m,y,b,I)=>{const A=()=>{if(u.isMounted){let{next:T,bu:S,u:k,parent:F,vnode:N}=u,V=T,J;it(u,!1),T?(T.el=N.el,G(u,T,I)):T=N,S&&Mn(S),(J=T.props&&T.props.onVnodeBeforeUpdate)&&He(J,F,T,N),it(u,!0);const ne=Tn(u),xe=u.subTree;u.subTree=ne,C(xe,ne,h(xe.el),_(xe),u,y,b),T.el=ne.el,V===null&&Lo(u,ne.el),k&&ye(k,y),(J=T.props&&T.props.onVnodeUpdated)&&ye(()=>He(J,F,T,N),y)}else{let T;const{el:S,props:k}=a,{bm:F,m:N,parent:V}=u,J=un(a);if(it(u,!1),F&&Mn(F),!J&&(T=k&&k.onVnodeBeforeMount)&&He(T,V,a),it(u,!0),S&&W){const ne=()=>{u.subTree=Tn(u),W(S,u.subTree,u,y,null)};J?a.type.__asyncLoader().then(()=>!u.isUnmounted&&ne()):ne()}else{const ne=u.subTree=Tn(u);C(null,ne,p,m,u,y,b),a.el=ne.el}if(N&&ye(N,y),!J&&(T=k&&k.onVnodeMounted)){const ne=a;ye(()=>He(T,V,ne),y)}(a.shapeFlag&256||V&&un(V.vnode)&&V.vnode.shapeFlag&256)&&u.a&&ye(u.a,y),u.isMounted=!0,a=p=m=null}},E=u.effect=new us(A,()=>_s(w),u.scope),w=u.update=()=>E.run();w.id=u.uid,it(u,!0),w()},G=(u,a,p)=>{a.component=u;const m=u.vnode.props;u.vnode=a,u.next=null,cl(u,a.props,m,p),fl(u,a.children,p),Tt(),js(),kt()},z=(u,a,p,m,y,b,I,A,E=!1)=>{const w=u&&u.children,T=u?u.shapeFlag:0,S=a.children,{patchFlag:k,shapeFlag:F}=a;if(k>0){if(k&128){Je(w,S,p,m,y,b,I,A,E);return}else if(k&256){Be(w,S,p,m,y,b,I,A,E);return}}F&8?(T&16&&ae(w,y,b),S!==w&&d(p,S)):T&16?F&16?Je(w,S,p,m,y,b,I,A,E):ae(w,y,b,!0):(T&8&&d(p,""),F&16&&Y(S,p,m,y,b,I,A,E))},Be=(u,a,p,m,y,b,I,A,E)=>{u=u||vt,a=a||vt;const w=u.length,T=a.length,S=Math.min(w,T);let k;for(k=0;k<S;k++){const F=a[k]=E?Ze(a[k]):Le(a[k]);C(u[k],F,p,null,y,b,I,A,E)}w>T?ae(u,y,b,!0,!1,S):Y(a,p,m,y,b,I,A,E,S)},Je=(u,a,p,m,y,b,I,A,E)=>{let w=0;const T=a.length;let S=u.length-1,k=T-1;for(;w<=S&&w<=k;){const F=u[w],N=a[w]=E?Ze(a[w]):Le(a[w]);if(Lt(F,N))C(F,N,p,null,y,b,I,A,E);else break;w++}for(;w<=S&&w<=k;){const F=u[S],N=a[k]=E?Ze(a[k]):Le(a[k]);if(Lt(F,N))C(F,N,p,null,y,b,I,A,E);else break;S--,k--}if(w>S){if(w<=k){const F=k+1,N=F<T?a[F].el:m;for(;w<=k;)C(null,a[w]=E?Ze(a[w]):Le(a[w]),p,N,y,b,I,A,E),w++}}else if(w>k)for(;w<=S;)_e(u[w],y,b,!0),w++;else{const F=w,N=w,V=new Map;for(w=N;w<=k;w++){const we=a[w]=E?Ze(a[w]):Le(a[w]);we.key!=null&&V.set(we.key,w)}let J,ne=0;const xe=k-N+1;let ht=!1,Ps=0;const qt=new Array(xe);for(w=0;w<xe;w++)qt[w]=0;for(w=F;w<=S;w++){const we=u[w];if(ne>=xe){_e(we,y,b,!0);continue}let ke;if(we.key!=null)ke=V.get(we.key);else for(J=N;J<=k;J++)if(qt[J-N]===0&&Lt(we,a[J])){ke=J;break}ke===void 0?_e(we,y,b,!0):(qt[ke-N]=w+1,ke>=Ps?Ps=ke:ht=!0,C(we,a[ke],p,null,y,b,I,A,E),ne++)}const Rs=ht?hl(qt):vt;for(J=Rs.length-1,w=xe-1;w>=0;w--){const we=N+w,ke=a[we],Ss=we+1<T?a[we+1].el:m;qt[w]===0?C(null,ke,p,Ss,y,b,I,A,E):ht&&(J<0||w!==Rs[J]?Te(ke,p,Ss,2):J--)}}},Te=(u,a,p,m,y=null)=>{const{el:b,type:I,transition:A,children:E,shapeFlag:w}=u;if(w&6){Te(u.component.subTree,a,p,m);return}if(w&128){u.suspense.move(a,p,m);return}if(w&64){I.move(u,a,p,x);return}if(I===qe){s(b,a,p);for(let S=0;S<E.length;S++)Te(E[S],a,p,m);s(u.anchor,a,p);return}if(I===Hn){D(u,a,p);return}if(m!==2&&w&1&&A)if(m===0)A.beforeEnter(b),s(b,a,p),ye(()=>A.enter(b),y);else{const{leave:S,delayLeave:k,afterLeave:F}=A,N=()=>s(b,a,p),V=()=>{S(b,()=>{N(),F&&F()})};k?k(b,N,V):V()}else s(b,a,p)},_e=(u,a,p,m=!1,y=!1)=>{const{type:b,props:I,ref:A,children:E,dynamicChildren:w,shapeFlag:T,patchFlag:S,dirs:k}=u;if(A!=null&&Gn(A,null,p,u,!0),T&256){a.ctx.deactivate(u);return}const F=T&1&&k,N=!un(u);let V;if(N&&(V=I&&I.onVnodeBeforeUnmount)&&He(V,a,u),T&6)Zt(u.component,p,m);else{if(T&128){u.suspense.unmount(p,m);return}F&&rt(u,null,a,"beforeUnmount"),T&64?u.type.remove(u,a,p,y,x,m):w&&(b!==qe||S>0&&S&64)?ae(w,a,p,!1,!0):(b===qe&&S&384||!y&&T&16)&&ae(E,a,p),m&&dt(u)}(N&&(V=I&&I.onVnodeUnmounted)||F)&&ye(()=>{V&&He(V,a,u),F&&rt(u,null,a,"unmounted")},p)},dt=u=>{const{type:a,el:p,anchor:m,transition:y}=u;if(a===qe){pt(p,m);return}if(a===Hn){q(u);return}const b=()=>{r(p),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(u.shapeFlag&1&&y&&!y.persisted){const{leave:I,delayLeave:A}=y,E=()=>I(p,b);A?A(u.el,b,E):E()}else b()},pt=(u,a)=>{let p;for(;u!==a;)p=g(u),r(u),u=p;r(a)},Zt=(u,a,p)=>{const{bum:m,scope:y,update:b,subTree:I,um:A}=u;m&&Mn(m),y.stop(),b&&(b.active=!1,_e(I,u,a,p)),A&&ye(A,a),ye(()=>{u.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},ae=(u,a,p,m=!1,y=!1,b=0)=>{for(let I=b;I<u.length;I++)_e(u[I],a,p,m,y)},_=u=>u.shapeFlag&6?_(u.component.subTree):u.shapeFlag&128?u.suspense.next():g(u.anchor||u.el),P=(u,a,p)=>{u==null?a._vnode&&_e(a._vnode,null,null,!0):C(a._vnode||null,u,a,null,null,null,p),js(),Gr(),a._vnode=u},x={p:C,um:_e,m:Te,r:dt,mt:Ht,mc:Y,pc:z,pbc:X,n:_,o:e};let O,W;return t&&([O,W]=t(x)),{render:P,hydrate:O,createApp:ol(P,O)}}function it({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function hi(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let i=0;i<s.length;i++){const o=s[i];let c=r[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[i]=Ze(r[i]),c.el=o.el),n||hi(o,c)),c.type===Rn&&(c.el=o.el)}}function hl(e){const t=e.slice(),n=[0];let s,r,i,o,c;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;)c=i+o>>1,e[n[c]]<f?i=c+1:o=c;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 gl=e=>e.__isTeleport,qe=Symbol.for("v-fgt"),Rn=Symbol.for("v-txt"),at=Symbol.for("v-cmt"),Hn=Symbol.for("v-stc"),Dt=[];let Se=null;function Ue(e=!1){Dt.push(Se=e?null:[])}function ml(){Dt.pop(),Se=Dt[Dt.length-1]||null}let Gt=1;function Qs(e){Gt+=e}function gi(e){return e.dynamicChildren=Gt>0?Se||vt:null,ml(),Gt>0&&Se&&Se.push(e),e}function Ge(e,t,n,s,r,i){return gi(le(e,t,n,s,r,i,!0))}function _l(e,t,n,s,r){return gi(Ae(e,t,n,s,r,!0))}function Vn(e){return e?e.__v_isVNode===!0:!1}function Lt(e,t){return e.type===t.type&&e.key===t.key}const Sn="__vInternal",mi=({key:e})=>e??null,fn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||pe(e)||B(e)?{i:Fe,r:e,k:t,f:!!n}:e:null);function le(e,t=null,n=null,s=0,r=null,i=e===qe?0:1,o=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&mi(t),ref:t&&fn(t),scopeId:Zr,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:Fe};return c?(bs(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=re(n)?8:16),Gt>0&&!o&&Se&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Se.push(l),l}const Ae=yl;function yl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Vo)&&(e=at),Vn(e)){const c=Rt(e,t,!0);return n&&bs(c,n),Gt>0&&!i&&Se&&(c.shapeFlag&6?Se[Se.indexOf(e)]=c:Se.push(c)),c.patchFlag|=-2,c}if(Ol(e)&&(e=e.__vccOpts),t){t=vl(t);let{class:c,style:l}=t;c&&!re(c)&&(t.class=wt(c)),ee(l)&&(Dr(l)&&!j(l)&&(l=ce({},l)),t.style=Wt(l))}const o=re(e)?1:jo(e)?128:gl(e)?64:ee(e)?4:B(e)?2:0;return le(e,t,n,s,r,o,i,!0)}function vl(e){return e?Dr(e)||Sn in e?ce({},e):e:null}function Rt(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,c=t?Al(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&mi(c),ref:t&&t.ref?n&&r?j(r)?r.concat(fn(t)):[r,fn(t)]:fn(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!==qe?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&&Rt(e.ssContent),ssFallback:e.ssFallback&&Rt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function bl(e=" ",t=0){return Ae(Rn,null,e,t)}function wl(e="",t=!1){return t?(Ue(),_l(at,null,e)):Ae(at,null,e)}function Le(e){return e==null||typeof e=="boolean"?Ae(at):j(e)?Ae(qe,null,e.slice()):typeof e=="object"?Ze(e):Ae(Rn,null,String(e))}function Ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Rt(e)}function bs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(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&&!(Sn in t)?t._ctx=Fe:r===3&&Fe&&(Fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else B(t)?(t={default:t,_ctx:Fe},n=32):(t=String(t),s&64?(n=16,t=[bl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Al(...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=wt([t.class,s.class]));else if(r==="style")t.style=Wt([t.style,s.style]);else if(vn(r)){const i=t[r],o=s[r];o&&i!==o&&!(j(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function He(e,t,n,s=null){Oe(e,t,7,[n,s])}const El=ci();let xl=0;function Il(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||El,i={uid:xl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Cr(!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:ai(s,r),emitsOptions:Xr(s,r),emit:null,emitted:null,propsDefaults:Z,inheritAttrs:s.inheritAttrs,ctx:Z,data:Z,props:Z,attrs:Z,slots:Z,refs:Z,setupState:Z,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=Mo.bind(null,i),e.ce&&e.ce(i),i}let de=null,ws,gt,Js="__VUE_INSTANCE_SETTERS__";(gt=Nn()[Js])||(gt=Nn()[Js]=[]),gt.push(e=>de=e),ws=e=>{gt.length>1?gt.forEach(t=>t(e)):gt[0](e)};const St=e=>{ws(e),e.scope.on()},ut=()=>{de&&de.scope.off(),ws(null)};function _i(e){return e.vnode.shapeFlag&4}let Vt=!1;function Pl(e,t=!1){Vt=t;const{props:n,children:s}=e.vnode,r=_i(e);ll(e,n,r,t),al(e,s);const i=r?Rl(e,t):void 0;return Vt=!1,i}function Rl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=hs(new Proxy(e.ctx,Zo));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Cl(e):null;St(e),Tt();const i=nt(s,e,0,[e.props,r]);if(kt(),ut(),Er(i)){if(i.then(ut,ut),t)return i.then(o=>{Ys(e,o,t)}).catch(o=>{xn(o,e,0)});e.asyncDep=i}else Ys(e,i,t)}else yi(e,t)}function Ys(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=Wr(t)),yi(e,n)}let Gs;function yi(e,t,n){const s=e.type;if(!e.render){if(!t&&Gs&&!s.render){const r=s.template||ys(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:c,compilerOptions:l}=s,f=ce(ce({isCustomElement:i,delimiters:c},o),l);s.render=Gs(r,f)}}e.render=s.render||Ce}St(e),Tt(),el(e),kt(),ut()}function Sl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ve(e,"get","$attrs"),t[n]}}))}function Cl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Sl(e)},slots:e.slots,emit:e.emit,expose:t}}function As(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Wr(hs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}}))}function Ol(e){return B(e)&&"__vccOpts"in e}const Re=(e,t)=>Io(e,t,Vt);function vi(e,t,n){const s=arguments.length;return s===2?ee(t)&&!j(t)?Vn(t)?Ae(e,null,[t]):Ae(e,t):Ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Vn(n)&&(n=[n]),Ae(e,t,n))}const Ml=Symbol.for("v-scx"),Tl=()=>Ke(Ml),kl="3.3.4",Hl="http://www.w3.org/2000/svg",lt=typeof document<"u"?document:null,Vs=lt&&lt.createElement("template"),ql={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?lt.createElementNS(Hl,e):lt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>lt.createTextNode(e),createComment:e=>lt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>lt.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{Vs.innerHTML=s?`<svg>${e}</svg>`:e;const c=Vs.content;if(s){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Ll(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 jl(e,t,n){const s=e.style,r=re(n);if(n&&!r){if(t&&!re(t))for(const i in t)n[i]==null&&Xn(s,i,"");for(const i in n)Xn(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 Xn(e,t,n){if(j(n))n.forEach(s=>Xn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Fl(e,t);Xs.test(n)?e.setProperty(Mt(s),n.replace(Xs,""),"important"):e[s]=n}}const Zs=["Webkit","Moz","ms"],qn={};function Fl(e,t){const n=qn[t];if(n)return n;let s=It(t);if(s!=="filter"&&s in e)return qn[t]=s;s=Pr(s);for(let r=0;r<Zs.length;r++){const i=Zs[r]+s;if(i in e)return qn[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&&!Rr(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 c=e.tagName;if(t==="value"&&c!=="PROGRESS"&&!c.includes("-")){e._value=n;const f=c==="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 Ul(e,t,n,s){e.addEventListener(t,n,s)}function Dl(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[c,l]=Kl(t);if(s){const f=i[t]=Ql(s,r);Ul(e,c,f,l)}else o&&(Dl(e,c,o,l),i[t]=void 0)}}const tr=/(?:Once|Passive|Capture)$/;function Kl(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):Mt(e.slice(2)),t]}let Ln=0;const zl=Promise.resolve(),Wl=()=>Ln||(zl.then(()=>Ln=0),Ln=Date.now());function Ql(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Oe(Jl(s,n.value),t,5,[s])};return n.value=e,n.attached=Wl(),n}function Jl(e,t){if(j(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]/,Yl=(e,t,n,s,r=!1,i,o,c,l)=>{t==="class"?Ll(e,s,r):t==="style"?jl(e,n,s):vn(t)?rs(t)||$l(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gl(e,t,s,r))?Nl(e,t,s,i,o,c,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Bl(e,t,s,r))};function Gl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&nr.test(t)&&B(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||nr.test(t)&&re(n)?!1:t in e}const Vl=ce({patchProp:Yl},ql);let sr;function Xl(){return sr||(sr=dl(Vl))}const Zl=(...e)=>{const t=Xl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ec(s);if(!r)return;const i=t._component;!B(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 ec(e){return re(e)?document.querySelector(e):e}var tc=!1;/*!
2
2
  * pinia v2.1.6
3
3
  * (c) 2023 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */const nc=Symbol();var rr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(rr||(rr={}));function sc(){const e=zi(!0),t=e.run(()=>Xe({}));let n=[],s=[];const r=hs({install(i){r._a=i,i.provide(nc,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!tc?s.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}function rc(){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 Zn{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 ic{constructor(){this._requests={},this._messagesEventHandlers=new Zn,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]=rc();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 oc{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 dn=new oc;class Qe{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class lc extends Qe{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 cc extends Qe{constructor(){super()}canHandleRequest(t){return[U.createNewLayer,U.removeSizeCatcher,U.listScenes,U.switchScene,U.updateLayer,U.getLayerDisplayableName].includes(t.request)}async createNewLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async removeSizeCatcher(t){return!0}async updateLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async getLayerDisplayableName(t){return window.mockLayerName||"A Mock Layer Name"}async listScenes(t){return window.mockScenes||[{id:497,idx:497,order:0,name:"New Scene",stingerData:{idx:null,time:null,muted:!1,speed:1,volume:100,transitionName:null,transitionDuration:0},backgroundColor:null,overWriteBackgroundColor:!1,layers:[{idx:"e9fe6623-4332-447c-bb1a-ccfe9f794bb3",type:"userapp",name:"TESTAPP",opacity:100,bounds:{x:1280,y:720},pos:{rot:0,top:8.397612310554674,left:13.50375337545383,right:19.829579957879496,bottom:24.93572102277865},crop:{top:0,left:0,right:0,bottom:0},data:{adaptive:!1,aspect:!0,borderRadius:0,userAppInstanceId:"4d532c22-363e-4028-824d-7b029f100916",userAppId:"ce5d32b3-7d6c-4e43-be02-4903d6b49acd",fixedSize:!0,fixedSizeWidth:1280,fixedSizeHeight:720,verticalStreaming:{pos:{rot:0,top:35.052083333333336,left:2.7777777777777777,right:2.7777777777777857,bottom:35.05208333333333},crop:{top:0,left:0,right:0,bottom:0},borderRadius:0,aspect:!0,bounds:{x:1020,y:574},customBounds:{x:1020,y:574},locked:!1,hidden:!1,fixedSizeWidth:1020,fixedSizeHeight:574}},order:0}],thumbnail:{landscape:"https://files.evmux.com/6/scenes/sc_tmb_4971715842178.jpg?Expires=1715885379&Signature=ORHKomQH7iaugP~fHJFYBgZfwoG2lyQOMORSbRld378vCvudJ5gFapWdQNfE~j97UOKuon0uwZ1F741k2YU3qWIFNklDdqU6zuJgxaDTHPM~~TvG9p-Nl0g4BBzGvlyR-JZbUCbpWtg9DczFnQbeFbWynHFdIOGwwh2OQYXuAHlW0v1UDuOnjGRU87XvZ~ReSCW844TuhaPCBPXoMiSt0MHDC-zk~ggmpb7~eQMPjTF5znOdcDB0DdRJ8j~7EYNCFGYGesErpPqH5kOMRLCwmjmvQ4gFJMkNEfPBGdQclanYiSw5iL7KsOErCUtS447euT7wDnRT1N1wgL0LYgJDdQ__&Key-Pair-Id=APKAJQZJ2AA6OYF4WJHA",portrait:null}}]}async switchScene(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}}const $e={settingsUpdated:"settingsUpdated",viewerCountChanged:"viewerCountChanged",keystroke:"keystroke",comments:"comments",appMessaging:"appMessaging",externalAppMessaging:"externalAppMessaging",fastActionButton:"fastActionButton",doubleClickOnWidget:"doubleClickOnWidget",widgetOnFocus:"widgetGotFocus",widgetOnBlur:"widgetOnBlur",studioParamsUpdated:"studioParamsUpdated",signalingEvent:"signalingEvent"};class uc extends Qe{constructor(){super()}canHandleRequest(t){return[U.raiseExternalAppMessagingEvent,U.setFastActionButtons,U.openSideBarSettings,U.isSudioMode].includes(t.request)}async raiseExternalAppMessagingEvent(t){return yt._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,$e.externalAppMessaging,t.data.data),null}async setFastActionButtons(t){return yt._eventHandler.publish("fastActionButtonsUpdated",t),!0}async openSideBarSettings(){return!0}async isSudioMode(){return!0}async handleRequest(t){return this[t.request](t)}}function Ee(e=0,t=100){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}class ac extends Qe{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return window.mockStatistics||[{viewers:null,type:"linkedinProfile"},{viewers:Ee(),type:"twitterProfile",statistics:null,last_subscribers:null},{viewers:Ee(),type:"twitchProfile",statistics:{channel:{subscribers:Ee()}},last_subscribers:null},{viewers:Ee(),type:"evmuxPlayer",statistics:null,last_subscribers:null},{viewers:Ee(),type:"youtubeChannel",statistics:{viewCount:Ee(),likeCount:Ee(),dislikeCount:Ee(),favoriteCount:Ee(),commentCount:Ee()},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:Ee(),type:"facebookProfile",statistics:{total_reactions:Ee()}}]}}class fc extends Qe{constructor(){super()}canHandleRequest(t){return[U.displayDateTimePicker,U.displayScenePicker,U.displayRichTextEditor,U.displayToast,U.displayLayerSelector,U.displayGalleryPicker,U.displayInputs].includes(t.request)}async displayDateTimePicker(t){return{value:window.mockDateTime||new Date().getTime(),dateTimeKey:"result"}}async displayLayerSelector(t){return window.mockLayer}async displayGalleryPicker(t){return window.mockGalleryResult}async displayInputs(t){return window.mockInputs||{type:"string",min:0,max:256,value:"Input Text Here",myId:"example"}}async displayScenePicker(t){return{value:window.mockScene||"simple"}}async displayRichTextEditor(t){return{value:window.mockRichText||"<b>This is a test</b> "+new Date().getTime()}}async displayToast(t){return{value:window.mockToast||{text:"This is a toast",type:"info",uniqCode:"123"}}}}class dc extends Qe{constructor(){super()}canHandleRequest(t){return[U.getStudioParams,U.getSoundRtc,U.signal].includes(t.request)}async getStudioParams(t){return window.mockStudioParams||{antiScaleValue:1,antiScaleValue2:1}}async signal(t){return null}async getSoundRtc(t){return"webrtc-mock-channel"}}class pc extends Qe{constructor(){super()}canHandleRequest(t){return[U.logError,U.logInfo,U.logWarning].includes(t.request)}async handleRequest(t){return this[t.request.toLowerCase().replace("log","")](t)}async error(t){return console.error(t.data),!0}async info(t){return console.info(t.data),!0}async warning(t){return console.warn(t.data),!0}}class hc extends Qe{constructor(){super()}canHandleRequest(t){return[U.listAssets].includes(t.request)}async listAssets(t){return{value:window.mockAssets||[]}}}class gc extends Qe{constructor(){super()}canHandleRequest(t){return[U.createStream,U.accountPlanCapabilities,U.upgradePopup].includes(t.request)}async createStream(t){return{value:window.mockStream||{}}}async accountPlanCapabilities(t){return{value:window.mockAccountPlanCapabilities||{}}}async upgradePopup(t){return{value:null}}}const U={updateSettings:"updateSettings",getSettings:"getSettings",startLoad:"startLoad",loaded:"loaded",registerEvent:"registerEvent",unregisterEvent:"unregisterEvent",EvEvent:"EvEvent",raiseAppMessagingEvent:"raiseAppMessagingEvent",raiseExternalAppMessagingEvent:"raiseExternalAppMessagingEvent",raiseFastAccessButtonEvent:"raiseFastAccessButtonEvent",setFastActionButtons:"setFastActionButtons",createNewLayer:"createNewLayer",listScenes:"listScenes",updateLayer:"updateLayer",switchScene:"switchScene",removeSizeCatcher:"removeSizeCatcher",openSideBarSettings:"openSideBarSettings",displayDateTimePicker:"displayDateTimePicker",displayScenePicker:"displayScenePicker",displayRichTextEditor:"displayRichTextEditor",displayToast:"displayToast",displayLayerSelector:"displayLayerSelector",displayGalleryPicker:"displayGalleryPicker",isSudioMode:"isSudioMode",getStudioParams:"getStudioParams",getSoundRtc:"getSoundRtc",signal:"signal",logError:"logError",logWarning:"logWarning",logInfo:"logInfo",getLayerDisplayableName:"getLayerDisplayableName",listAssets:"listAssets",createStream:"createStream",displayInputs:"displayInputs",accountPlanCapabilities:"accountPlanCapabilities",upgradePopup:"upgradePopup"};let jt=(e,t,n)=>({requestName:e,eventName:t,data:n});class mc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new Zn,this._eventHandler=new Zn,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(t){this._requestHandlers.push(new lc(t)),this._requestHandlers.push(new cc(t)),this._requestHandlers.push(new uc(t)),this._requestHandlers.push(new ac(t)),this._requestHandlers.push(new fc(t)),this._requestHandlers.push(new dc(t)),this._requestHandlers.push(new pc(t)),this._requestHandlers.push(new hc(t)),this._requestHandlers.push(new gc(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=jt("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 dn.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(dn.updateUserAppInstanceSettings(t,n),this._userAppInstances[t]&&this._userAppInstances[t].events[$e.settingsUpdated]){let r=jt("EvEvent",$e.settingsUpdated,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,s)}}updateAppsAboutStudioParams(t){let n=jt("EvEvent",$e.studioParamsUpdated,t);Object.keys(this._userAppInstances).forEach(s=>{this._userAppInstances[s].events[$e.studioParamsUpdated]&&this._sendPostMessageToUsrAppInstancesComponents(s,n,null)})}signalApp(t,n){let s=this._userAppInstances[t];if(s&&s.events[$e.signalingEvent]){let r=jt("EvEvent",$e.signalingEvent,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,null)}}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==U.updateSettings)this._userAppInstances[n.userAppInstanceId]&&this.updateSettingsAndPublish(n);else if(n.request==U.raiseAppMessagingEvent)this._userAppInstances[n.userAppInstanceId]&&(this._raiseEventForSpecificUserAppInstance(n.userAppInstanceId,$e.appMessaging,n.data,n.componentId),this._eventHandler.publish("updateEverywhere",n));else if(n.request==U.getSettings)this._userAppInstances[n.userAppInstanceId]&&(jt("EvMessage","settings",n.data),s=(await dn.getUserAppInstanceById(n.userAppInstanceId,!1)).settings);else if(n.request==U.startLoad)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source};else if(n.request==U.loaded)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source},this._eventHandler.publish("appComponentLoaded",n),s=this.getAppSettingsForAppInstanceId(n.userAppInstanceId);else if(n.request==U.registerEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].events[n.data.eventName]=!0;else if(n.request==U.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&&ic.respondForPromiseBasedRequest(n,t.source,t.origin,s)}updateSettingsAndPublish(t){this._eventHandler.publish("updateSettings",t),this._eventHandler.publish("updateEverywhere",t),this.updateAndNotifyAppInstancesOnSettingsUpdate(t.userAppInstanceId,t.data,t.componentId)}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 yt=new mc;const _c={class:"test_holder_root"},yc={class:"test_holder_main"},bc={key:0,class:"apps_fast_access_wr"},vc=["title","innerHTML"],wc=["title"],Ac=["innerHTML"],Ec={class:"apps_fast_access_btn_drop"},xc=["onClick"],Ic={class:"scene_canvas"},Pc={class:"under_stage_bar"},Rc=["title"],Sc={key:0,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cc=le("circle",{cx:"12",cy:"12",r:"5",stroke:"currentColor","stroke-width":"2"},null,-1),Oc=le("path",{d:"M12 2V4M12 20V22M4 12H2M22 12H20M5.64 5.64L4.22 4.22M19.78 19.78L18.36 18.36M5.64 18.36L4.22 19.78M19.78 4.22L18.36 5.64",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1),Mc=[Cc,Oc],Tc={key:1,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kc=le("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),Hc=[kc],qc={__name:"TestHolder",setup(e){yt.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",n=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",s=window.baseAppSettings||{};dn.updateUserAppInstance(t,{id:t,settings:s});const r=Xe(null),i=Xe(null),o=Xe(null),c=Xe("light"),l=Xe(null),f=Xe(null);function d(){document.documentElement.classList.remove("theme_light","theme_dark"),document.documentElement.classList.add("theme_"+c.value)}function h(){c.value=c.value==="light"?"dark":"light",o.value.classList.remove("light","dark"),o.value.classList.add(c.value),d(),i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}&styleVersion=${c.value}`}d();let g=null,b=0,R=0,C=0,L=0,M=0,H=0;function D(Y){g="drag",b=Y.clientX,R=Y.clientY,C=parseInt(f.value.style.left)||0,L=parseInt(f.value.style.top)||0,Y.preventDefault()}function q(Y){g="resize",b=Y.clientX,R=Y.clientY,M=f.value.offsetWidth,H=f.value.offsetHeight,Y.preventDefault(),Y.stopPropagation()}function ie(Y){if(!g)return;const se=Y.clientX-b,X=Y.clientY-R;if(g==="drag")f.value.style.left=C+se+"px",f.value.style.top=L+X+"px";else if(g==="resize"){const ge=Math.max(60,M+se),te=Math.max(60,H+X);f.value.style.width=ge+"px",f.value.style.height=te+"px"}}function ue(){g=null}yt._eventHandler.subscribe("fastActionButtonsUpdated",(Y,se)=>{var me;debugger;console.log("I NEEED LOOOOOOOOGS");const X=se.data.buttonsArray||[];if(!X.length){l.value=null;return}const te=X.length===1&&((me=X[0])==null?void 0:me.uiColor)||null;l.value={componentId:se.componentId,userAppInstanceId:se.userAppInstanceId,buttons:X,group:se.data.parameters||{},uiColor:te}});function ve(Y,se){let X={fastAccessButton:se,userAppInstanceId:Y.userAppInstanceId,componentId:Y.componentId};yt._raiseEventForSpecificUserAppInstance(Y.userAppInstanceId,$e.fastActionButton,X),yt._eventHandler.publish("updateEverywhere",{request:U.raiseFastAccessButtonEvent,data:X})}return ii(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${n}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}&styleVersion=light`,document.addEventListener("mousemove",ie),document.addEventListener("mouseup",ue)}),(Y,se)=>{var X,ge;return Ue(),Ge("div",_c,[le("div",yc,[le("div",{class:"settings_sidebar light",ref_key:"settingsSidebar",ref:o},[le("iframe",{ref_key:"settingsIframe",ref:i,allow:"clipboard-write",class:"settings_iframe"},null,512)],512),le("div",{class:wt(["video_editor_wr",c.value])},[l.value?(Ue(),Ge("div",bc,[l.value.buttons.length===1?(Ue(),Ge("div",{key:0,class:wt(["apps_fast_access_btn",[l.value.uiColor?"uiColor":""]]),style:Wt({backgroundColor:l.value.uiColor||""}),title:l.value.buttons[0].buttonText,onClick:se[0]||(se[0]=te=>ve(l.value,l.value.buttons[0])),innerHTML:l.value.buttons[0].icon||((X=l.value.group.groupName)==null?void 0:X.slice(0,1))||"?"},null,14,vc)):(Ue(),Ge("div",{key:1,class:"apps_fast_access_btn",title:l.value.group.groupName||"Actions"},[le("div",{innerHTML:l.value.group.groupIcon||((ge=l.value.group.groupName)==null?void 0:ge.slice(0,1))||"?",style:{display:"flex","align-items":"center","justify-content":"center"}},null,8,Ac),le("div",Ec,[(Ue(!0),Ge(qe,null,Xo(l.value.buttons,te=>(Ue(),Ge("div",{class:wt(["apps_fast_access_btn_drop_btn",[te.uiColor?"uiColor":"",te.disabled?"disabled":""]]),key:te.buttonId,style:Wt({backgroundColor:te.uiColor||""}),onClick:me=>!te.disabled&&ve(l.value,te)},Ki(te.buttonText.length>19?te.buttonText.slice(0,19)+"...":te.buttonText),15,xc))),128))])],8,wc))])):wl("",!0),le("div",Ic,[le("div",{class:"widget_layer",ref_key:"widgetLayer",ref:f},[le("iframe",{ref_key:"wudgetIframe",ref:r,class:"scene_iframe"},null,512),le("div",{class:"drag_overlay",onMousedown:D},null,32),le("div",{class:"resize_handle",onMousedown:q},null,32)],512)]),le("div",Pc,[le("div",{class:"theme_toggle",onClick:h,title:c.value==="light"?"Switch to Dark mode":"Switch to Light mode"},[c.value==="dark"?(Ue(),Ge("svg",Sc,Mc)):(Ue(),Ge("svg",Tc,Hc))],8,Rc)])],2)])])}}};/*!
5
+ */const nc=Symbol();var rr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(rr||(rr={}));function sc(){const e=zi(!0),t=e.run(()=>Xe({}));let n=[],s=[];const r=hs({install(i){r._a=i,i.provide(nc,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!tc?s.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}function rc(){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 Zn{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 ic{constructor(){this._requests={},this._messagesEventHandlers=new Zn,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]=rc();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 oc{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 dn=new oc;class Qe{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class lc extends Qe{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 cc extends Qe{constructor(){super()}canHandleRequest(t){return[U.createNewLayer,U.removeSizeCatcher,U.listScenes,U.switchScene,U.updateLayer,U.getLayerDisplayableName].includes(t.request)}async createNewLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async removeSizeCatcher(t){return!0}async updateLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async getLayerDisplayableName(t){return window.mockLayerName||"A Mock Layer Name"}async listScenes(t){return window.mockScenes||[{id:497,idx:497,order:0,name:"New Scene",stingerData:{idx:null,time:null,muted:!1,speed:1,volume:100,transitionName:null,transitionDuration:0},backgroundColor:null,overWriteBackgroundColor:!1,layers:[{idx:"e9fe6623-4332-447c-bb1a-ccfe9f794bb3",type:"userapp",name:"TESTAPP",opacity:100,bounds:{x:1280,y:720},pos:{rot:0,top:8.397612310554674,left:13.50375337545383,right:19.829579957879496,bottom:24.93572102277865},crop:{top:0,left:0,right:0,bottom:0},data:{adaptive:!1,aspect:!0,borderRadius:0,userAppInstanceId:"4d532c22-363e-4028-824d-7b029f100916",userAppId:"ce5d32b3-7d6c-4e43-be02-4903d6b49acd",fixedSize:!0,fixedSizeWidth:1280,fixedSizeHeight:720,verticalStreaming:{pos:{rot:0,top:35.052083333333336,left:2.7777777777777777,right:2.7777777777777857,bottom:35.05208333333333},crop:{top:0,left:0,right:0,bottom:0},borderRadius:0,aspect:!0,bounds:{x:1020,y:574},customBounds:{x:1020,y:574},locked:!1,hidden:!1,fixedSizeWidth:1020,fixedSizeHeight:574}},order:0}],thumbnail:{landscape:"https://files.evmux.com/6/scenes/sc_tmb_4971715842178.jpg?Expires=1715885379&Signature=ORHKomQH7iaugP~fHJFYBgZfwoG2lyQOMORSbRld378vCvudJ5gFapWdQNfE~j97UOKuon0uwZ1F741k2YU3qWIFNklDdqU6zuJgxaDTHPM~~TvG9p-Nl0g4BBzGvlyR-JZbUCbpWtg9DczFnQbeFbWynHFdIOGwwh2OQYXuAHlW0v1UDuOnjGRU87XvZ~ReSCW844TuhaPCBPXoMiSt0MHDC-zk~ggmpb7~eQMPjTF5znOdcDB0DdRJ8j~7EYNCFGYGesErpPqH5kOMRLCwmjmvQ4gFJMkNEfPBGdQclanYiSw5iL7KsOErCUtS447euT7wDnRT1N1wgL0LYgJDdQ__&Key-Pair-Id=APKAJQZJ2AA6OYF4WJHA",portrait:null}}]}async switchScene(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}}const $e={settingsUpdated:"settingsUpdated",viewerCountChanged:"viewerCountChanged",keystroke:"keystroke",comments:"comments",appMessaging:"appMessaging",externalAppMessaging:"externalAppMessaging",fastActionButton:"fastActionButton",doubleClickOnWidget:"doubleClickOnWidget",widgetOnFocus:"widgetGotFocus",widgetOnBlur:"widgetOnBlur",studioParamsUpdated:"studioParamsUpdated",signalingEvent:"signalingEvent"};class uc extends Qe{constructor(){super()}canHandleRequest(t){return[U.raiseExternalAppMessagingEvent,U.setFastActionButtons,U.openSideBarSettings,U.isSudioMode].includes(t.request)}async raiseExternalAppMessagingEvent(t){return yt._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,$e.externalAppMessaging,t.data.data),null}async setFastActionButtons(t){return yt._eventHandler.publish("fastActionButtonsUpdated",t),!0}async openSideBarSettings(){return!0}async isSudioMode(){return!0}async handleRequest(t){return this[t.request](t)}}function Ee(e=0,t=100){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}class ac extends Qe{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return window.mockStatistics||[{viewers:null,type:"linkedinProfile"},{viewers:Ee(),type:"twitterProfile",statistics:null,last_subscribers:null},{viewers:Ee(),type:"twitchProfile",statistics:{channel:{subscribers:Ee()}},last_subscribers:null},{viewers:Ee(),type:"evmuxPlayer",statistics:null,last_subscribers:null},{viewers:Ee(),type:"youtubeChannel",statistics:{viewCount:Ee(),likeCount:Ee(),dislikeCount:Ee(),favoriteCount:Ee(),commentCount:Ee()},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:Ee(),type:"facebookProfile",statistics:{total_reactions:Ee()}}]}}class fc extends Qe{constructor(){super()}canHandleRequest(t){return[U.displayDateTimePicker,U.displayScenePicker,U.displayRichTextEditor,U.displayToast,U.displayLayerSelector,U.displayGalleryPicker,U.displayInputs].includes(t.request)}async displayDateTimePicker(t){return{value:window.mockDateTime||new Date().getTime(),dateTimeKey:"result"}}async displayLayerSelector(t){return window.mockLayer}async displayGalleryPicker(t){return window.mockGalleryResult}async displayInputs(t){return window.mockInputs||{type:"string",min:0,max:256,value:"Input Text Here",myId:"example"}}async displayScenePicker(t){return{value:window.mockScene||"simple"}}async displayRichTextEditor(t){return{value:window.mockRichText||"<b>This is a test</b> "+new Date().getTime()}}async displayToast(t){return{value:window.mockToast||{text:"This is a toast",type:"info",uniqCode:"123"}}}}class dc extends Qe{constructor(){super()}canHandleRequest(t){return[U.getStudioParams,U.getSoundRtc,U.signal].includes(t.request)}async getStudioParams(t){return window.mockStudioParams||{antiScaleValue:1,antiScaleValue2:1}}async signal(t){return null}async getSoundRtc(t){return"webrtc-mock-channel"}}class pc extends Qe{constructor(){super()}canHandleRequest(t){return[U.logError,U.logInfo,U.logWarning].includes(t.request)}async handleRequest(t){return this[t.request.toLowerCase().replace("log","")](t)}async error(t){return console.error(t.data),!0}async info(t){return console.info(t.data),!0}async warning(t){return console.warn(t.data),!0}}class hc extends Qe{constructor(){super()}canHandleRequest(t){return[U.listAssets].includes(t.request)}async listAssets(t){return{value:window.mockAssets||[]}}}class gc extends Qe{constructor(){super()}canHandleRequest(t){return[U.createStream,U.accountPlanCapabilities,U.upgradePopup].includes(t.request)}async createStream(t){return{value:window.mockStream||{}}}async accountPlanCapabilities(t){return{value:window.mockAccountPlanCapabilities||{}}}async upgradePopup(t){return{value:null}}}const U={updateSettings:"updateSettings",getSettings:"getSettings",startLoad:"startLoad",loaded:"loaded",registerEvent:"registerEvent",unregisterEvent:"unregisterEvent",EvEvent:"EvEvent",raiseAppMessagingEvent:"raiseAppMessagingEvent",raiseExternalAppMessagingEvent:"raiseExternalAppMessagingEvent",raiseFastAccessButtonEvent:"raiseFastAccessButtonEvent",setFastActionButtons:"setFastActionButtons",createNewLayer:"createNewLayer",listScenes:"listScenes",updateLayer:"updateLayer",switchScene:"switchScene",removeSizeCatcher:"removeSizeCatcher",openSideBarSettings:"openSideBarSettings",displayDateTimePicker:"displayDateTimePicker",displayScenePicker:"displayScenePicker",displayRichTextEditor:"displayRichTextEditor",displayToast:"displayToast",displayLayerSelector:"displayLayerSelector",displayGalleryPicker:"displayGalleryPicker",isSudioMode:"isSudioMode",getStudioParams:"getStudioParams",getSoundRtc:"getSoundRtc",signal:"signal",logError:"logError",logWarning:"logWarning",logInfo:"logInfo",getLayerDisplayableName:"getLayerDisplayableName",listAssets:"listAssets",createStream:"createStream",displayInputs:"displayInputs",accountPlanCapabilities:"accountPlanCapabilities",upgradePopup:"upgradePopup"};let jt=(e,t,n)=>({requestName:e,eventName:t,data:n});class mc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new Zn,this._eventHandler=new Zn,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(t){this._requestHandlers.push(new lc(t)),this._requestHandlers.push(new cc(t)),this._requestHandlers.push(new uc(t)),this._requestHandlers.push(new ac(t)),this._requestHandlers.push(new fc(t)),this._requestHandlers.push(new dc(t)),this._requestHandlers.push(new pc(t)),this._requestHandlers.push(new hc(t)),this._requestHandlers.push(new gc(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=jt("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 dn.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(dn.updateUserAppInstanceSettings(t,n),this._userAppInstances[t]&&this._userAppInstances[t].events[$e.settingsUpdated]){let r=jt("EvEvent",$e.settingsUpdated,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,s)}}updateAppsAboutStudioParams(t){let n=jt("EvEvent",$e.studioParamsUpdated,t);Object.keys(this._userAppInstances).forEach(s=>{this._userAppInstances[s].events[$e.studioParamsUpdated]&&this._sendPostMessageToUsrAppInstancesComponents(s,n,null)})}signalApp(t,n){let s=this._userAppInstances[t];if(s&&s.events[$e.signalingEvent]){let r=jt("EvEvent",$e.signalingEvent,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,null)}}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==U.updateSettings)this._userAppInstances[n.userAppInstanceId]&&this.updateSettingsAndPublish(n);else if(n.request==U.raiseAppMessagingEvent)this._userAppInstances[n.userAppInstanceId]&&(this._raiseEventForSpecificUserAppInstance(n.userAppInstanceId,$e.appMessaging,n.data,n.componentId),this._eventHandler.publish("updateEverywhere",n));else if(n.request==U.getSettings)this._userAppInstances[n.userAppInstanceId]&&(jt("EvMessage","settings",n.data),s=(await dn.getUserAppInstanceById(n.userAppInstanceId,!1)).settings);else if(n.request==U.startLoad)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source};else if(n.request==U.loaded)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source},this._eventHandler.publish("appComponentLoaded",n),s=this.getAppSettingsForAppInstanceId(n.userAppInstanceId);else if(n.request==U.registerEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].events[n.data.eventName]=!0;else if(n.request==U.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&&ic.respondForPromiseBasedRequest(n,t.source,t.origin,s)}updateSettingsAndPublish(t){this._eventHandler.publish("updateSettings",t),this._eventHandler.publish("updateEverywhere",t),this.updateAndNotifyAppInstancesOnSettingsUpdate(t.userAppInstanceId,t.data,t.componentId)}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 yt=new mc;const _c={class:"test_holder_root"},yc={class:"test_holder_main"},vc={key:0,class:"apps_fast_access_wr"},bc=["title","innerHTML"],wc=["title"],Ac=["innerHTML"],Ec={class:"apps_fast_access_btn_drop"},xc=["onClick"],Ic={class:"scene_canvas"},Pc={class:"under_stage_bar"},Rc=["title"],Sc={key:0,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cc=le("circle",{cx:"12",cy:"12",r:"5",stroke:"currentColor","stroke-width":"2"},null,-1),Oc=le("path",{d:"M12 2V4M12 20V22M4 12H2M22 12H20M5.64 5.64L4.22 4.22M19.78 19.78L18.36 18.36M5.64 18.36L4.22 19.78M19.78 4.22L18.36 5.64",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1),Mc=[Cc,Oc],Tc={key:1,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kc=le("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),Hc=[kc],qc={__name:"TestHolder",setup(e){yt.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",n=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",s=window.baseAppSettings||{};dn.updateUserAppInstance(t,{id:t,settings:s});const r=Xe(null),i=Xe(null),o=Xe(null),c=Xe("light"),l=Xe(null),f=Xe(null);function d(){document.documentElement.classList.remove("theme_light","theme_dark"),document.documentElement.classList.add("theme_"+c.value)}function h(){c.value=c.value==="light"?"dark":"light",o.value.classList.remove("light","dark"),o.value.classList.add(c.value),d(),i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}&styleVersion=${c.value}`}d();let g=null,v=0,R=0,C=0,L=0,M=0,H=0;function D(Y){g="drag",v=Y.clientX,R=Y.clientY,C=parseInt(f.value.style.left)||0,L=parseInt(f.value.style.top)||0,Y.preventDefault()}function q(Y){g="resize",v=Y.clientX,R=Y.clientY,M=f.value.offsetWidth,H=f.value.offsetHeight,Y.preventDefault(),Y.stopPropagation()}function ie(Y){if(!g)return;const se=Y.clientX-v,X=Y.clientY-R;if(g==="drag")f.value.style.left=C+se+"px",f.value.style.top=L+X+"px";else if(g==="resize"){const ge=Math.max(60,M+se),te=Math.max(60,H+X);f.value.style.width=ge+"px",f.value.style.height=te+"px"}}function ue(){g=null}yt._eventHandler.subscribe("fastActionButtonsUpdated",(Y,se)=>{var me;const X=se.data.buttonsArray||[];if(!X.length){l.value=null;return}const te=X.length===1&&((me=X[0])==null?void 0:me.uiColor)||null;l.value={componentId:se.componentId,userAppInstanceId:se.userAppInstanceId,buttons:X,group:se.data.parameters||{},uiColor:te}});function be(Y,se){let X={fastAccessButton:se,userAppInstanceId:Y.userAppInstanceId,componentId:Y.componentId};yt._raiseEventForSpecificUserAppInstance(Y.userAppInstanceId,$e.fastActionButton,X),yt._eventHandler.publish("updateEverywhere",{request:U.raiseFastAccessButtonEvent,data:X})}return ii(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${n}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}&styleVersion=light`,document.addEventListener("mousemove",ie),document.addEventListener("mouseup",ue)}),(Y,se)=>{var X,ge;return Ue(),Ge("div",_c,[le("div",yc,[le("div",{class:"settings_sidebar light",ref_key:"settingsSidebar",ref:o},[le("iframe",{ref_key:"settingsIframe",ref:i,allow:"clipboard-write",class:"settings_iframe"},null,512)],512),le("div",{class:wt(["video_editor_wr",c.value])},[l.value?(Ue(),Ge("div",vc,[l.value.buttons.length===1?(Ue(),Ge("div",{key:0,class:wt(["apps_fast_access_btn",[l.value.uiColor?"uiColor":""]]),style:Wt({backgroundColor:l.value.uiColor||""}),title:l.value.buttons[0].buttonText,onClick:se[0]||(se[0]=te=>be(l.value,l.value.buttons[0])),innerHTML:l.value.buttons[0].icon||((X=l.value.group.groupName)==null?void 0:X.slice(0,1))||"?"},null,14,bc)):(Ue(),Ge("div",{key:1,class:"apps_fast_access_btn",title:l.value.group.groupName||"Actions"},[le("div",{innerHTML:l.value.group.groupIcon||((ge=l.value.group.groupName)==null?void 0:ge.slice(0,1))||"?",style:{display:"flex","align-items":"center","justify-content":"center"}},null,8,Ac),le("div",Ec,[(Ue(!0),Ge(qe,null,Xo(l.value.buttons,te=>(Ue(),Ge("div",{class:wt(["apps_fast_access_btn_drop_btn",[te.uiColor?"uiColor":"",te.disabled?"disabled":""]]),key:te.buttonId,style:Wt({backgroundColor:te.uiColor||""}),onClick:me=>!te.disabled&&be(l.value,te)},Ki(te.buttonText.length>19?te.buttonText.slice(0,19)+"...":te.buttonText),15,xc))),128))])],8,wc))])):wl("",!0),le("div",Ic,[le("div",{class:"widget_layer",ref_key:"widgetLayer",ref:f},[le("iframe",{ref_key:"wudgetIframe",ref:r,class:"scene_iframe"},null,512),le("div",{class:"drag_overlay",onMousedown:D},null,32),le("div",{class:"resize_handle",onMousedown:q},null,32)],512)]),le("div",Pc,[le("div",{class:"theme_toggle",onClick:h,title:c.value==="light"?"Switch to Dark mode":"Switch to Light mode"},[c.value==="dark"?(Ue(),Ge("svg",Sc,Mc)):(Ue(),Ge("svg",Tc,Hc))],8,Rc)])],2)])])}}};/*!
6
6
  * vue-router v4.2.5
7
7
  * (c) 2023 Eduardo San Martin Morote
8
8
  * @license MIT
9
- */const mt=typeof window<"u";function Lc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function jn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Me(r)?r.map(e):e(r)}return n}const $t=()=>{},Me=Array.isArray,jc=/\/$/,Fc=e=>e.replace(jc,"");function Fn(e,t,n="/"){let s,r={},i="",o="";const c=t.indexOf("#");let l=t.indexOf("?");return c<l&&c>=0&&(l=-1),l>-1&&(s=t.slice(0,l),i=t.slice(l+1,c>-1?c:t.length),r=e(i)),c>-1&&(s=s||t.slice(0,c),o=t.slice(c,t.length)),s=Dc(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function Nc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function or(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Bc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Ct(t.matched[s],n.matched[r])&&vi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ct(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Uc(e[n],t[n]))return!1;return!0}function Uc(e,t){return Me(e)?lr(e,t):Me(t)?lr(t,e):e===t}function lr(e,t){return Me(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Dc(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,c;for(o=0;o<s.length;o++)if(c=s[o],c!==".")if(c==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var Xt;(function(e){e.pop="pop",e.push="push"})(Xt||(Xt={}));var Kt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Kt||(Kt={}));function $c(e){if(!e)if(mt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Fc(e)}const Kc=/^[^#]+#/;function zc(e,t){return e.replace(Kc,"#")+t}function Wc(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 Cn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Qc(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=Wc(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 cr(e,t){return(history.state?history.state.position-t:-1)+e}const es=new Map;function Jc(e,t){es.set(e,t)}function Yc(e){const t=es.get(e);return es.delete(e),t}let Gc=()=>location.protocol+"//"+location.host;function wi(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let c=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(c);return l[0]!=="/"&&(l="/"+l),or(l,"")}return or(n,e)+s+r}function Vc(e,t,n,s){let r=[],i=[],o=null;const c=({state:g})=>{const b=wi(e,location),R=n.value,C=t.value;let L=0;if(g){if(n.value=b,t.value=g,o&&o===R){o=null;return}L=C?g.position-C.position:0}else s(b);r.forEach(M=>{M(n.value,R,{delta:L,type:Xt.pop,direction:L?L>0?Kt.forward:Kt.back:Kt.unknown})})};function l(){o=n.value}function f(g){r.push(g);const b=()=>{const R=r.indexOf(g);R>-1&&r.splice(R,1)};return i.push(b),b}function d(){const{history:g}=window;g.state&&g.replaceState(Q({},g.state,{scroll:Cn()}),"")}function h(){for(const g of i)g();i=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function ur(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Cn():null}}function Xc(e){const{history:t,location:n}=window,s={value:wi(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 h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:Gc()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(b){console.error(b),n[d?"replace":"assign"](g)}}function o(l,f){const d=Q({},t.state,ur(r.value.back,l,r.value.forward,!0),f,{position:r.value.position});i(l,d,!0),s.value=l}function c(l,f){const d=Q({},r.value,t.state,{forward:l,scroll:Cn()});i(d.current,d,!0);const h=Q({},ur(s.value,l,null),{position:d.position+1},f);i(l,h,!1),s.value=l}return{location:s,state:r,push:c,replace:o}}function Zc(e){e=$c(e);const t=Xc(e),n=Vc(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Q({location:"",base:e,go:s,createHref:zc.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 eu(e){return typeof e=="string"||e&&typeof e=="object"}function Ai(e){return typeof e=="string"||typeof e=="symbol"}const Ve={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ei=Symbol("");var ar;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ar||(ar={}));function Ot(e,t){return Q(new Error,{type:e,[Ei]:!0},t)}function Be(e,t){return e instanceof Error&&Ei in e&&(t==null||!!(e.type&t))}const fr="[^/]+?",tu={sensitive:!1,strict:!1,start:!0,end:!0},nu=/[.+*?^${}()[\]/\\]/g;function su(e,t){const n=Q({},tu,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 h=0;h<f.length;h++){const g=f[h];let b=40+(n.sensitive?.25:0);if(g.type===0)h||(r+="/"),r+=g.value.replace(nu,"\\$&"),b+=40;else if(g.type===1){const{value:R,repeatable:C,optional:L,regexp:M}=g;i.push({name:R,repeatable:C,optional:L});const H=M||fr;if(H!==fr){b+=10;try{new RegExp(`(${H})`)}catch(q){throw new Error(`Invalid custom RegExp for param "${R}" (${H}): `+q.message)}}let D=C?`((?:${H})(?:/(?:${H}))*)`:`(${H})`;h||(D=L&&f.length<2?`(?:/${D})`:"/"+D),L&&(D+="?"),r+=D,b+=20,L&&(b+=-8),C&&(b+=-20),H===".*"&&(b+=-50)}d.push(b)}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 c(f){const d=f.match(o),h={};if(!d)return null;for(let g=1;g<d.length;g++){const b=d[g]||"",R=i[g-1];h[R.name]=b&&R.repeatable?b.split("/"):b}return h}function l(f){let d="",h=!1;for(const g of e){(!h||!d.endsWith("/"))&&(d+="/"),h=!1;for(const b of g)if(b.type===0)d+=b.value;else if(b.type===1){const{value:R,repeatable:C,optional:L}=b,M=R in f?f[R]:"";if(Me(M)&&!C)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const H=Me(M)?M.join("/"):M;if(!H)if(L)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):h=!0);else throw new Error(`Missing required param "${R}"`);d+=H}}return d||"/"}return{re:o,score:s,keys:i,parse:c,stringify:l}}function ru(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 iu(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=ru(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(dr(s))return 1;if(dr(r))return-1}return r.length-s.length}function dr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ou={type:0,value:""},lu=/[a-zA-Z0-9_]/;function cu(e){if(!e)return[[]];if(e==="/")return[[ou]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(b){throw new Error(`ERR (${n})/"${f}": ${b}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let c=0,l,f="",d="";function h(){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(;c<e.length;){if(l=e[c++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(f&&h(),o()):l===":"?(h(),n=1):g();break;case 4:g(),n=s;break;case 1:l==="("?n=2:lu.test(l)?g():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),o(),r}function uu(e,t,n){const s=su(cu(e.path),n),r=Q(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function au(e,t){const n=[],s=new Map;t=gr({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function i(d,h,g){const b=!g,R=fu(d);R.aliasOf=g&&g.record;const C=gr(t,d),L=[R];if("alias"in d){const D=typeof d.alias=="string"?[d.alias]:d.alias;for(const q of D)L.push(Q({},R,{components:g?g.record.components:R.components,path:q,aliasOf:g?g.record:R}))}let M,H;for(const D of L){const{path:q}=D;if(h&&q[0]!=="/"){const ie=h.record.path,ue=ie[ie.length-1]==="/"?"":"/";D.path=h.record.path+(q&&ue+q)}if(M=uu(D,h,C),g?g.alias.push(M):(H=H||M,H!==M&&H.alias.push(M),b&&d.name&&!hr(M)&&o(d.name)),R.children){const ie=R.children;for(let ue=0;ue<ie.length;ue++)i(ie[ue],M,g&&g.children[ue])}g=g||M,(M.record.components&&Object.keys(M.record.components).length||M.record.name||M.record.redirect)&&l(M)}return H?()=>{o(H)}:$t}function o(d){if(Ai(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function c(){return n}function l(d){let h=0;for(;h<n.length&&iu(d,n[h])>=0&&(d.record.path!==n[h].record.path||!xi(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!hr(d)&&s.set(d.record.name,d)}function f(d,h){let g,b={},R,C;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw Ot(1,{location:d});C=g.record.name,b=Q(pr(h.params,g.keys.filter(H=>!H.optional).map(H=>H.name)),d.params&&pr(d.params,g.keys.map(H=>H.name))),R=g.stringify(b)}else if("path"in d)R=d.path,g=n.find(H=>H.re.test(R)),g&&(b=g.parse(R),C=g.record.name);else{if(g=h.name?s.get(h.name):n.find(H=>H.re.test(h.path)),!g)throw Ot(1,{location:d,currentLocation:h});C=g.record.name,b=Q({},h.params,d.params),R=g.stringify(b)}const L=[];let M=g;for(;M;)L.unshift(M.record),M=M.parent;return{name:C,path:R,params:b,matched:L,meta:pu(L)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:c,getRecordMatcher:r}}function pr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function fu(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:du(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 du(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 hr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pu(e){return e.reduce((t,n)=>Q(t,n.meta),{})}function gr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function xi(e,t){return t.children.some(n=>n===e||xi(e,n))}const Ii=/#/g,hu=/&/g,gu=/\//g,mu=/=/g,_u=/\?/g,Pi=/\+/g,yu=/%5B/g,bu=/%5D/g,Ri=/%5E/g,vu=/%60/g,Si=/%7B/g,wu=/%7C/g,Ci=/%7D/g,Au=/%20/g;function Es(e){return encodeURI(""+e).replace(wu,"|").replace(yu,"[").replace(bu,"]")}function Eu(e){return Es(e).replace(Si,"{").replace(Ci,"}").replace(Ri,"^")}function ts(e){return Es(e).replace(Pi,"%2B").replace(Au,"+").replace(Ii,"%23").replace(hu,"%26").replace(vu,"`").replace(Si,"{").replace(Ci,"}").replace(Ri,"^")}function xu(e){return ts(e).replace(mu,"%3D")}function Iu(e){return Es(e).replace(Ii,"%23").replace(_u,"%3F")}function Pu(e){return e==null?"":Iu(e).replace(gu,"%2F")}function yn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Ru(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(Pi," "),o=i.indexOf("="),c=yn(o<0?i:i.slice(0,o)),l=o<0?null:yn(i.slice(o+1));if(c in t){let f=t[c];Me(f)||(f=t[c]=[f]),f.push(l)}else t[c]=l}return t}function mr(e){let t="";for(let n in e){const s=e[n];if(n=xu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Me(s)?s.map(i=>i&&ts(i)):[s&&ts(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Su(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Me(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Cu=Symbol(""),_r=Symbol(""),xs=Symbol(""),Oi=Symbol(""),ns=Symbol("");function Ft(){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 et(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,c)=>{const l=h=>{h===!1?c(Ot(4,{from:n,to:t})):h instanceof Error?c(h):eu(h)?c(Ot(2,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),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(h=>c(h))})}function Nn(e,t,n,s){const r=[];for(const i of e)for(const o in i.components){let c=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(Ou(c)){const f=(c.__vccOpts||c)[t];f&&r.push(et(f,n,s,i,o))}else{let l=c();r.push(()=>l.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const d=Lc(f)?f.default:f;i.components[o]=d;const g=(d.__vccOpts||d)[t];return g&&et(g,n,s,i,o)()}))}}return r}function Ou(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yr(e){const t=Ke(xs),n=Ke(Oi),s=Re(()=>t.resolve(Et(e.to))),r=Re(()=>{const{matched:l}=s.value,{length:f}=l,d=l[f-1],h=n.matched;if(!d||!h.length)return-1;const g=h.findIndex(Ct.bind(null,d));if(g>-1)return g;const b=br(l[f-2]);return f>1&&br(d)===b&&h[h.length-1].path!==b?h.findIndex(Ct.bind(null,l[f-2])):g}),i=Re(()=>r.value>-1&&Hu(n.params,s.value.params)),o=Re(()=>r.value>-1&&r.value===n.matched.length-1&&vi(n.params,s.value.params));function c(l={}){return ku(l)?t[Et(e.replace)?"replace":"push"](Et(e.to)).catch($t):Promise.resolve()}return{route:s,href:Re(()=>s.value.href),isActive:i,isExactActive:o,navigate:c}}const Mu=ni({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=En(yr(e)),{options:s}=Ke(xs),r=Re(()=>({[vr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[vr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:bi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Tu=Mu;function ku(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 Hu(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(!Me(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function br(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const vr=(e,t,n)=>e??t??n,qu=ni({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ke(ns),r=Re(()=>e.route||s.value),i=Ke(_r,0),o=Re(()=>{let f=Et(i);const{matched:d}=r.value;let h;for(;(h=d[f])&&!h.components;)f++;return f}),c=Re(()=>r.value.matched[o.value]);an(_r,Re(()=>o.value+1)),an(Cu,c),an(ns,r);const l=Xe();return cn(()=>[l.value,c.value,e.name],([f,d,h],[g,b,R])=>{d&&(d.instances[h]=f,b&&b!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=b.leaveGuards),d.updateGuards.size||(d.updateGuards=b.updateGuards))),f&&d&&(!b||!Ct(d,b)||!g)&&(d.enterCallbacks[h]||[]).forEach(C=>C(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,h=c.value,g=h&&h.components[d];if(!g)return wr(n.default,{Component:g,route:f});const b=h.props[d],R=b?b===!0?f.params:typeof b=="function"?b(f):b:null,L=bi(g,Q({},R,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return wr(n.default,{Component:L,route:f})||L}}});function wr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Lu=qu;function ju(e){const t=au(e.routes,e),n=e.parseQuery||Ru,s=e.stringifyQuery||mr,r=e.history,i=Ft(),o=Ft(),c=Ft(),l=wo(Ve);let f=Ve;mt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=jn.bind(null,_=>""+_),h=jn.bind(null,Pu),g=jn.bind(null,yn);function b(_,P){let x,O;return Ai(_)?(x=t.getRecordMatcher(_),O=P):O=_,t.addRoute(O,x)}function R(_){const P=t.getRecordMatcher(_);P&&t.removeRoute(P)}function C(){return t.getRoutes().map(_=>_.record)}function L(_){return!!t.getRecordMatcher(_)}function M(_,P){if(P=Q({},P||l.value),typeof _=="string"){const p=Fn(n,_,P.path),m=t.resolve({path:p.path},P),y=r.createHref(p.fullPath);return Q(p,m,{params:g(m.params),hash:yn(p.hash),redirectedFrom:void 0,href:y})}let x;if("path"in _)x=Q({},_,{path:Fn(n,_.path,P.path).path});else{const p=Q({},_.params);for(const m in p)p[m]==null&&delete p[m];x=Q({},_,{params:h(p)}),P.params=h(P.params)}const O=t.resolve(x,P),W=_.hash||"";O.params=d(g(O.params));const u=Nc(s,Q({},_,{hash:Eu(W),path:O.path})),a=r.createHref(u);return Q({fullPath:u,hash:W,query:s===mr?Su(_.query):_.query||{}},O,{redirectedFrom:void 0,href:a})}function H(_){return typeof _=="string"?Fn(n,_,l.value.path):Q({},_)}function D(_,P){if(f!==_)return Ot(8,{from:P,to:_})}function q(_){return ve(_)}function ie(_){return q(Q(H(_),{replace:!0}))}function ue(_){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=H(O):{path:O},O.params={}),Q({query:_.query,hash:_.hash,params:"path"in O?{}:_.params},O)}}function ve(_,P){const x=f=M(_),O=l.value,W=_.state,u=_.force,a=_.replace===!0,p=ue(x);if(p)return ve(Q(H(p),{state:typeof p=="object"?Q({},W,p.state):W,force:u,replace:a}),P||x);const m=x;m.redirectedFrom=P;let y;return!u&&Bc(s,O,x)&&(y=Ot(16,{to:m,from:O}),Te(O,O,!0,!1)),(y?Promise.resolve(y):X(m,O)).catch(v=>Be(v)?Be(v,2)?v:Je(v):z(v,m,O)).then(v=>{if(v){if(Be(v,2))return ve(Q({replace:a},H(v.to),{state:typeof v.to=="object"?Q({},W,v.to.state):W,force:u}),P||m)}else v=te(m,O,!0,a,W);return ge(m,O,v),v})}function Y(_,P){const x=D(_,P);return x?Promise.reject(x):Promise.resolve()}function se(_){const P=pt.values().next().value;return P&&typeof P.runWithContext=="function"?P.runWithContext(_):_()}function X(_,P){let x;const[O,W,u]=Fu(_,P);x=Nn(O.reverse(),"beforeRouteLeave",_,P);for(const p of O)p.leaveGuards.forEach(m=>{x.push(et(m,_,P))});const a=Y.bind(null,_,P);return x.push(a),ae(x).then(()=>{x=[];for(const p of i.list())x.push(et(p,_,P));return x.push(a),ae(x)}).then(()=>{x=Nn(W,"beforeRouteUpdate",_,P);for(const p of W)p.updateGuards.forEach(m=>{x.push(et(m,_,P))});return x.push(a),ae(x)}).then(()=>{x=[];for(const p of u)if(p.beforeEnter)if(Me(p.beforeEnter))for(const m of p.beforeEnter)x.push(et(m,_,P));else x.push(et(p.beforeEnter,_,P));return x.push(a),ae(x)}).then(()=>(_.matched.forEach(p=>p.enterCallbacks={}),x=Nn(u,"beforeRouteEnter",_,P),x.push(a),ae(x))).then(()=>{x=[];for(const p of o.list())x.push(et(p,_,P));return x.push(a),ae(x)}).catch(p=>Be(p,8)?p:Promise.reject(p))}function ge(_,P,x){c.list().forEach(O=>se(()=>O(_,P,x)))}function te(_,P,x,O,W){const u=D(_,P);if(u)return u;const a=P===Ve,p=mt?history.state:{};x&&(O||a?r.replace(_.fullPath,Q({scroll:a&&p&&p.scroll},W)):r.push(_.fullPath,W)),l.value=_,Te(_,P,x,a),Je()}let me;function Ht(){me||(me=r.listen((_,P,x)=>{if(!Zt.listening)return;const O=M(_),W=ue(O);if(W){ve(Q(W,{replace:!0}),O).catch($t);return}f=O;const u=l.value;mt&&Jc(cr(u.fullPath,x.delta),Cn()),X(O,u).catch(a=>Be(a,12)?a:Be(a,2)?(ve(a.to,O).then(p=>{Be(p,20)&&!x.delta&&x.type===Xt.pop&&r.go(-1,!1)}).catch($t),Promise.reject()):(x.delta&&r.go(-x.delta,!1),z(a,O,u))).then(a=>{a=a||te(O,u,!1),a&&(x.delta&&!Be(a,8)?r.go(-x.delta,!1):x.type===Xt.pop&&Be(a,20)&&r.go(-1,!1)),ge(O,u,a)}).catch($t)}))}let ft=Ft(),oe=Ft(),G;function z(_,P,x){Je(_);const O=oe.list();return O.length?O.forEach(W=>W(_,P,x)):console.error(_),Promise.reject(_)}function Ne(){return G&&l.value!==Ve?Promise.resolve():new Promise((_,P)=>{ft.add([_,P])})}function Je(_){return G||(G=!_,Ht(),ft.list().forEach(([P,x])=>_?x(_):P()),ft.reset()),_}function Te(_,P,x,O){const{scrollBehavior:W}=e;if(!mt||!W)return Promise.resolve();const u=!x&&Yc(cr(_.fullPath,0))||(O||!x)&&history.state&&history.state.scroll||null;return Jr().then(()=>W(_,P,u)).then(a=>a&&Qc(a)).catch(a=>z(a,_,P))}const _e=_=>r.go(_);let dt;const pt=new Set,Zt={currentRoute:l,listening:!0,addRoute:b,removeRoute:R,hasRoute:L,getRoutes:C,resolve:M,options:e,push:q,replace:ie,go:_e,back:()=>_e(-1),forward:()=>_e(1),beforeEach:i.add,beforeResolve:o.add,afterEach:c.add,onError:oe.add,isReady:Ne,install(_){const P=this;_.component("RouterLink",Tu),_.component("RouterView",Lu),_.config.globalProperties.$router=P,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>Et(l)}),mt&&!dt&&l.value===Ve&&(dt=!0,q(r.location).catch(W=>{}));const x={};for(const W in Ve)Object.defineProperty(x,W,{get:()=>l.value[W],enumerable:!0});_.provide(xs,P),_.provide(Oi,Br(x)),_.provide(ns,l);const O=_.unmount;pt.add(_),_.unmount=function(){pt.delete(_),pt.size<1&&(f=Ve,me&&me(),me=null,l.value=Ve,dt=!1,G=!1),O()}}};function ae(_){return _.reduce((P,x)=>P.then(()=>se(x)),Promise.resolve())}return Zt}function Fu(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const c=t.matched[o];c&&(e.matched.find(f=>Ct(f,c))?s.push(c):n.push(c));const l=e.matched[o];l&&(t.matched.find(f=>Ct(f,l))||r.push(l))}return[n,s,r]}const Nu=ju({history:Zc("/"),routes:[]}),Is=Zl(qc);Is.use(sc());Is.use(Nu);Is.mount("#app");
9
+ */const mt=typeof window<"u";function Lc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function jn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Me(r)?r.map(e):e(r)}return n}const $t=()=>{},Me=Array.isArray,jc=/\/$/,Fc=e=>e.replace(jc,"");function Fn(e,t,n="/"){let s,r={},i="",o="";const c=t.indexOf("#");let l=t.indexOf("?");return c<l&&c>=0&&(l=-1),l>-1&&(s=t.slice(0,l),i=t.slice(l+1,c>-1?c:t.length),r=e(i)),c>-1&&(s=s||t.slice(0,c),o=t.slice(c,t.length)),s=Dc(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function Bc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function or(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Nc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Ct(t.matched[s],n.matched[r])&&bi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ct(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function bi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Uc(e[n],t[n]))return!1;return!0}function Uc(e,t){return Me(e)?lr(e,t):Me(t)?lr(t,e):e===t}function lr(e,t){return Me(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Dc(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,c;for(o=0;o<s.length;o++)if(c=s[o],c!==".")if(c==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var Xt;(function(e){e.pop="pop",e.push="push"})(Xt||(Xt={}));var Kt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Kt||(Kt={}));function $c(e){if(!e)if(mt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Fc(e)}const Kc=/^[^#]+#/;function zc(e,t){return e.replace(Kc,"#")+t}function Wc(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 Cn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Qc(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=Wc(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 cr(e,t){return(history.state?history.state.position-t:-1)+e}const es=new Map;function Jc(e,t){es.set(e,t)}function Yc(e){const t=es.get(e);return es.delete(e),t}let Gc=()=>location.protocol+"//"+location.host;function wi(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let c=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(c);return l[0]!=="/"&&(l="/"+l),or(l,"")}return or(n,e)+s+r}function Vc(e,t,n,s){let r=[],i=[],o=null;const c=({state:g})=>{const v=wi(e,location),R=n.value,C=t.value;let L=0;if(g){if(n.value=v,t.value=g,o&&o===R){o=null;return}L=C?g.position-C.position:0}else s(v);r.forEach(M=>{M(n.value,R,{delta:L,type:Xt.pop,direction:L?L>0?Kt.forward:Kt.back:Kt.unknown})})};function l(){o=n.value}function f(g){r.push(g);const v=()=>{const R=r.indexOf(g);R>-1&&r.splice(R,1)};return i.push(v),v}function d(){const{history:g}=window;g.state&&g.replaceState(Q({},g.state,{scroll:Cn()}),"")}function h(){for(const g of i)g();i=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function ur(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Cn():null}}function Xc(e){const{history:t,location:n}=window,s={value:wi(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 h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:Gc()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(v){console.error(v),n[d?"replace":"assign"](g)}}function o(l,f){const d=Q({},t.state,ur(r.value.back,l,r.value.forward,!0),f,{position:r.value.position});i(l,d,!0),s.value=l}function c(l,f){const d=Q({},r.value,t.state,{forward:l,scroll:Cn()});i(d.current,d,!0);const h=Q({},ur(s.value,l,null),{position:d.position+1},f);i(l,h,!1),s.value=l}return{location:s,state:r,push:c,replace:o}}function Zc(e){e=$c(e);const t=Xc(e),n=Vc(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Q({location:"",base:e,go:s,createHref:zc.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 eu(e){return typeof e=="string"||e&&typeof e=="object"}function Ai(e){return typeof e=="string"||typeof e=="symbol"}const Ve={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ei=Symbol("");var ar;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ar||(ar={}));function Ot(e,t){return Q(new Error,{type:e,[Ei]:!0},t)}function Ne(e,t){return e instanceof Error&&Ei in e&&(t==null||!!(e.type&t))}const fr="[^/]+?",tu={sensitive:!1,strict:!1,start:!0,end:!0},nu=/[.+*?^${}()[\]/\\]/g;function su(e,t){const n=Q({},tu,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 h=0;h<f.length;h++){const g=f[h];let v=40+(n.sensitive?.25:0);if(g.type===0)h||(r+="/"),r+=g.value.replace(nu,"\\$&"),v+=40;else if(g.type===1){const{value:R,repeatable:C,optional:L,regexp:M}=g;i.push({name:R,repeatable:C,optional:L});const H=M||fr;if(H!==fr){v+=10;try{new RegExp(`(${H})`)}catch(q){throw new Error(`Invalid custom RegExp for param "${R}" (${H}): `+q.message)}}let D=C?`((?:${H})(?:/(?:${H}))*)`:`(${H})`;h||(D=L&&f.length<2?`(?:/${D})`:"/"+D),L&&(D+="?"),r+=D,v+=20,L&&(v+=-8),C&&(v+=-20),H===".*"&&(v+=-50)}d.push(v)}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 c(f){const d=f.match(o),h={};if(!d)return null;for(let g=1;g<d.length;g++){const v=d[g]||"",R=i[g-1];h[R.name]=v&&R.repeatable?v.split("/"):v}return h}function l(f){let d="",h=!1;for(const g of e){(!h||!d.endsWith("/"))&&(d+="/"),h=!1;for(const v of g)if(v.type===0)d+=v.value;else if(v.type===1){const{value:R,repeatable:C,optional:L}=v,M=R in f?f[R]:"";if(Me(M)&&!C)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const H=Me(M)?M.join("/"):M;if(!H)if(L)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):h=!0);else throw new Error(`Missing required param "${R}"`);d+=H}}return d||"/"}return{re:o,score:s,keys:i,parse:c,stringify:l}}function ru(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 iu(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=ru(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(dr(s))return 1;if(dr(r))return-1}return r.length-s.length}function dr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ou={type:0,value:""},lu=/[a-zA-Z0-9_]/;function cu(e){if(!e)return[[]];if(e==="/")return[[ou]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${f}": ${v}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let c=0,l,f="",d="";function h(){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(;c<e.length;){if(l=e[c++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(f&&h(),o()):l===":"?(h(),n=1):g();break;case 4:g(),n=s;break;case 1:l==="("?n=2:lu.test(l)?g():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),o(),r}function uu(e,t,n){const s=su(cu(e.path),n),r=Q(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function au(e,t){const n=[],s=new Map;t=gr({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function i(d,h,g){const v=!g,R=fu(d);R.aliasOf=g&&g.record;const C=gr(t,d),L=[R];if("alias"in d){const D=typeof d.alias=="string"?[d.alias]:d.alias;for(const q of D)L.push(Q({},R,{components:g?g.record.components:R.components,path:q,aliasOf:g?g.record:R}))}let M,H;for(const D of L){const{path:q}=D;if(h&&q[0]!=="/"){const ie=h.record.path,ue=ie[ie.length-1]==="/"?"":"/";D.path=h.record.path+(q&&ue+q)}if(M=uu(D,h,C),g?g.alias.push(M):(H=H||M,H!==M&&H.alias.push(M),v&&d.name&&!hr(M)&&o(d.name)),R.children){const ie=R.children;for(let ue=0;ue<ie.length;ue++)i(ie[ue],M,g&&g.children[ue])}g=g||M,(M.record.components&&Object.keys(M.record.components).length||M.record.name||M.record.redirect)&&l(M)}return H?()=>{o(H)}:$t}function o(d){if(Ai(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function c(){return n}function l(d){let h=0;for(;h<n.length&&iu(d,n[h])>=0&&(d.record.path!==n[h].record.path||!xi(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!hr(d)&&s.set(d.record.name,d)}function f(d,h){let g,v={},R,C;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw Ot(1,{location:d});C=g.record.name,v=Q(pr(h.params,g.keys.filter(H=>!H.optional).map(H=>H.name)),d.params&&pr(d.params,g.keys.map(H=>H.name))),R=g.stringify(v)}else if("path"in d)R=d.path,g=n.find(H=>H.re.test(R)),g&&(v=g.parse(R),C=g.record.name);else{if(g=h.name?s.get(h.name):n.find(H=>H.re.test(h.path)),!g)throw Ot(1,{location:d,currentLocation:h});C=g.record.name,v=Q({},h.params,d.params),R=g.stringify(v)}const L=[];let M=g;for(;M;)L.unshift(M.record),M=M.parent;return{name:C,path:R,params:v,matched:L,meta:pu(L)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:c,getRecordMatcher:r}}function pr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function fu(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:du(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 du(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 hr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pu(e){return e.reduce((t,n)=>Q(t,n.meta),{})}function gr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function xi(e,t){return t.children.some(n=>n===e||xi(e,n))}const Ii=/#/g,hu=/&/g,gu=/\//g,mu=/=/g,_u=/\?/g,Pi=/\+/g,yu=/%5B/g,vu=/%5D/g,Ri=/%5E/g,bu=/%60/g,Si=/%7B/g,wu=/%7C/g,Ci=/%7D/g,Au=/%20/g;function Es(e){return encodeURI(""+e).replace(wu,"|").replace(yu,"[").replace(vu,"]")}function Eu(e){return Es(e).replace(Si,"{").replace(Ci,"}").replace(Ri,"^")}function ts(e){return Es(e).replace(Pi,"%2B").replace(Au,"+").replace(Ii,"%23").replace(hu,"%26").replace(bu,"`").replace(Si,"{").replace(Ci,"}").replace(Ri,"^")}function xu(e){return ts(e).replace(mu,"%3D")}function Iu(e){return Es(e).replace(Ii,"%23").replace(_u,"%3F")}function Pu(e){return e==null?"":Iu(e).replace(gu,"%2F")}function yn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Ru(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(Pi," "),o=i.indexOf("="),c=yn(o<0?i:i.slice(0,o)),l=o<0?null:yn(i.slice(o+1));if(c in t){let f=t[c];Me(f)||(f=t[c]=[f]),f.push(l)}else t[c]=l}return t}function mr(e){let t="";for(let n in e){const s=e[n];if(n=xu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Me(s)?s.map(i=>i&&ts(i)):[s&&ts(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Su(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Me(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Cu=Symbol(""),_r=Symbol(""),xs=Symbol(""),Oi=Symbol(""),ns=Symbol("");function Ft(){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 et(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,c)=>{const l=h=>{h===!1?c(Ot(4,{from:n,to:t})):h instanceof Error?c(h):eu(h)?c(Ot(2,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),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(h=>c(h))})}function Bn(e,t,n,s){const r=[];for(const i of e)for(const o in i.components){let c=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(Ou(c)){const f=(c.__vccOpts||c)[t];f&&r.push(et(f,n,s,i,o))}else{let l=c();r.push(()=>l.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const d=Lc(f)?f.default:f;i.components[o]=d;const g=(d.__vccOpts||d)[t];return g&&et(g,n,s,i,o)()}))}}return r}function Ou(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yr(e){const t=Ke(xs),n=Ke(Oi),s=Re(()=>t.resolve(Et(e.to))),r=Re(()=>{const{matched:l}=s.value,{length:f}=l,d=l[f-1],h=n.matched;if(!d||!h.length)return-1;const g=h.findIndex(Ct.bind(null,d));if(g>-1)return g;const v=vr(l[f-2]);return f>1&&vr(d)===v&&h[h.length-1].path!==v?h.findIndex(Ct.bind(null,l[f-2])):g}),i=Re(()=>r.value>-1&&Hu(n.params,s.value.params)),o=Re(()=>r.value>-1&&r.value===n.matched.length-1&&bi(n.params,s.value.params));function c(l={}){return ku(l)?t[Et(e.replace)?"replace":"push"](Et(e.to)).catch($t):Promise.resolve()}return{route:s,href:Re(()=>s.value.href),isActive:i,isExactActive:o,navigate:c}}const Mu=ni({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=En(yr(e)),{options:s}=Ke(xs),r=Re(()=>({[br(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[br(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:vi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Tu=Mu;function ku(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 Hu(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(!Me(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function vr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const br=(e,t,n)=>e??t??n,qu=ni({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ke(ns),r=Re(()=>e.route||s.value),i=Ke(_r,0),o=Re(()=>{let f=Et(i);const{matched:d}=r.value;let h;for(;(h=d[f])&&!h.components;)f++;return f}),c=Re(()=>r.value.matched[o.value]);an(_r,Re(()=>o.value+1)),an(Cu,c),an(ns,r);const l=Xe();return cn(()=>[l.value,c.value,e.name],([f,d,h],[g,v,R])=>{d&&(d.instances[h]=f,v&&v!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=v.leaveGuards),d.updateGuards.size||(d.updateGuards=v.updateGuards))),f&&d&&(!v||!Ct(d,v)||!g)&&(d.enterCallbacks[h]||[]).forEach(C=>C(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,h=c.value,g=h&&h.components[d];if(!g)return wr(n.default,{Component:g,route:f});const v=h.props[d],R=v?v===!0?f.params:typeof v=="function"?v(f):v:null,L=vi(g,Q({},R,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return wr(n.default,{Component:L,route:f})||L}}});function wr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Lu=qu;function ju(e){const t=au(e.routes,e),n=e.parseQuery||Ru,s=e.stringifyQuery||mr,r=e.history,i=Ft(),o=Ft(),c=Ft(),l=wo(Ve);let f=Ve;mt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=jn.bind(null,_=>""+_),h=jn.bind(null,Pu),g=jn.bind(null,yn);function v(_,P){let x,O;return Ai(_)?(x=t.getRecordMatcher(_),O=P):O=_,t.addRoute(O,x)}function R(_){const P=t.getRecordMatcher(_);P&&t.removeRoute(P)}function C(){return t.getRoutes().map(_=>_.record)}function L(_){return!!t.getRecordMatcher(_)}function M(_,P){if(P=Q({},P||l.value),typeof _=="string"){const p=Fn(n,_,P.path),m=t.resolve({path:p.path},P),y=r.createHref(p.fullPath);return Q(p,m,{params:g(m.params),hash:yn(p.hash),redirectedFrom:void 0,href:y})}let x;if("path"in _)x=Q({},_,{path:Fn(n,_.path,P.path).path});else{const p=Q({},_.params);for(const m in p)p[m]==null&&delete p[m];x=Q({},_,{params:h(p)}),P.params=h(P.params)}const O=t.resolve(x,P),W=_.hash||"";O.params=d(g(O.params));const u=Bc(s,Q({},_,{hash:Eu(W),path:O.path})),a=r.createHref(u);return Q({fullPath:u,hash:W,query:s===mr?Su(_.query):_.query||{}},O,{redirectedFrom:void 0,href:a})}function H(_){return typeof _=="string"?Fn(n,_,l.value.path):Q({},_)}function D(_,P){if(f!==_)return Ot(8,{from:P,to:_})}function q(_){return be(_)}function ie(_){return q(Q(H(_),{replace:!0}))}function ue(_){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=H(O):{path:O},O.params={}),Q({query:_.query,hash:_.hash,params:"path"in O?{}:_.params},O)}}function be(_,P){const x=f=M(_),O=l.value,W=_.state,u=_.force,a=_.replace===!0,p=ue(x);if(p)return be(Q(H(p),{state:typeof p=="object"?Q({},W,p.state):W,force:u,replace:a}),P||x);const m=x;m.redirectedFrom=P;let y;return!u&&Nc(s,O,x)&&(y=Ot(16,{to:m,from:O}),Te(O,O,!0,!1)),(y?Promise.resolve(y):X(m,O)).catch(b=>Ne(b)?Ne(b,2)?b:Je(b):z(b,m,O)).then(b=>{if(b){if(Ne(b,2))return be(Q({replace:a},H(b.to),{state:typeof b.to=="object"?Q({},W,b.to.state):W,force:u}),P||m)}else b=te(m,O,!0,a,W);return ge(m,O,b),b})}function Y(_,P){const x=D(_,P);return x?Promise.reject(x):Promise.resolve()}function se(_){const P=pt.values().next().value;return P&&typeof P.runWithContext=="function"?P.runWithContext(_):_()}function X(_,P){let x;const[O,W,u]=Fu(_,P);x=Bn(O.reverse(),"beforeRouteLeave",_,P);for(const p of O)p.leaveGuards.forEach(m=>{x.push(et(m,_,P))});const a=Y.bind(null,_,P);return x.push(a),ae(x).then(()=>{x=[];for(const p of i.list())x.push(et(p,_,P));return x.push(a),ae(x)}).then(()=>{x=Bn(W,"beforeRouteUpdate",_,P);for(const p of W)p.updateGuards.forEach(m=>{x.push(et(m,_,P))});return x.push(a),ae(x)}).then(()=>{x=[];for(const p of u)if(p.beforeEnter)if(Me(p.beforeEnter))for(const m of p.beforeEnter)x.push(et(m,_,P));else x.push(et(p.beforeEnter,_,P));return x.push(a),ae(x)}).then(()=>(_.matched.forEach(p=>p.enterCallbacks={}),x=Bn(u,"beforeRouteEnter",_,P),x.push(a),ae(x))).then(()=>{x=[];for(const p of o.list())x.push(et(p,_,P));return x.push(a),ae(x)}).catch(p=>Ne(p,8)?p:Promise.reject(p))}function ge(_,P,x){c.list().forEach(O=>se(()=>O(_,P,x)))}function te(_,P,x,O,W){const u=D(_,P);if(u)return u;const a=P===Ve,p=mt?history.state:{};x&&(O||a?r.replace(_.fullPath,Q({scroll:a&&p&&p.scroll},W)):r.push(_.fullPath,W)),l.value=_,Te(_,P,x,a),Je()}let me;function Ht(){me||(me=r.listen((_,P,x)=>{if(!Zt.listening)return;const O=M(_),W=ue(O);if(W){be(Q(W,{replace:!0}),O).catch($t);return}f=O;const u=l.value;mt&&Jc(cr(u.fullPath,x.delta),Cn()),X(O,u).catch(a=>Ne(a,12)?a:Ne(a,2)?(be(a.to,O).then(p=>{Ne(p,20)&&!x.delta&&x.type===Xt.pop&&r.go(-1,!1)}).catch($t),Promise.reject()):(x.delta&&r.go(-x.delta,!1),z(a,O,u))).then(a=>{a=a||te(O,u,!1),a&&(x.delta&&!Ne(a,8)?r.go(-x.delta,!1):x.type===Xt.pop&&Ne(a,20)&&r.go(-1,!1)),ge(O,u,a)}).catch($t)}))}let ft=Ft(),oe=Ft(),G;function z(_,P,x){Je(_);const O=oe.list();return O.length?O.forEach(W=>W(_,P,x)):console.error(_),Promise.reject(_)}function Be(){return G&&l.value!==Ve?Promise.resolve():new Promise((_,P)=>{ft.add([_,P])})}function Je(_){return G||(G=!_,Ht(),ft.list().forEach(([P,x])=>_?x(_):P()),ft.reset()),_}function Te(_,P,x,O){const{scrollBehavior:W}=e;if(!mt||!W)return Promise.resolve();const u=!x&&Yc(cr(_.fullPath,0))||(O||!x)&&history.state&&history.state.scroll||null;return Jr().then(()=>W(_,P,u)).then(a=>a&&Qc(a)).catch(a=>z(a,_,P))}const _e=_=>r.go(_);let dt;const pt=new Set,Zt={currentRoute:l,listening:!0,addRoute:v,removeRoute:R,hasRoute:L,getRoutes:C,resolve:M,options:e,push:q,replace:ie,go:_e,back:()=>_e(-1),forward:()=>_e(1),beforeEach:i.add,beforeResolve:o.add,afterEach:c.add,onError:oe.add,isReady:Be,install(_){const P=this;_.component("RouterLink",Tu),_.component("RouterView",Lu),_.config.globalProperties.$router=P,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>Et(l)}),mt&&!dt&&l.value===Ve&&(dt=!0,q(r.location).catch(W=>{}));const x={};for(const W in Ve)Object.defineProperty(x,W,{get:()=>l.value[W],enumerable:!0});_.provide(xs,P),_.provide(Oi,Nr(x)),_.provide(ns,l);const O=_.unmount;pt.add(_),_.unmount=function(){pt.delete(_),pt.size<1&&(f=Ve,me&&me(),me=null,l.value=Ve,dt=!1,G=!1),O()}}};function ae(_){return _.reduce((P,x)=>P.then(()=>se(x)),Promise.resolve())}return Zt}function Fu(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const c=t.matched[o];c&&(e.matched.find(f=>Ct(f,c))?s.push(c):n.push(c));const l=e.matched[o];l&&(t.matched.find(f=>Ct(f,l))||r.push(l))}return[n,s,r]}const Bu=ju({history:Zc("/"),routes:[]}),Is=Zl(qc);Is.use(sc());Is.use(Bu);Is.mount("#app");