evmux-app-framework 0.0.91 → 0.0.93
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 +1 @@
|
|
|
1
|
-
:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0 auto;padding:2rem;font-weight:400}a,.green{text-decoration:none;color:#00bd7e;transition:.4s}@media (hover: hover){a:hover{background-color:#00bd7e33}}@media (min-width: 1024px){body{display:flex;place-items:center}#app{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem}}.resizer[data-v-
|
|
1
|
+
:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0 auto;padding:2rem;font-weight:400}a,.green{text-decoration:none;color:#00bd7e;transition:.4s}@media (hover: hover){a:hover{background-color:#00bd7e33}}@media (min-width: 1024px){body{display:flex;place-items:center}#app{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem}}.resizer[data-v-0e746f4e]{display:flex;margin:0;padding:0;resize:both;overflow:hidden}.resizer>.resized[data-v-0e746f4e]{flex-grow:1;margin:0;padding:0;border:0}.grayone[data-v-0e746f4e]{background:#cccccc;border:1px dashed black;height:500px;width:500px}.panel[data-v-0e746f4e]{border:solid 1px #cccccc}.apps_fast_access_wr{display:flex;padding:6px 0}.apps_fast_access_btn{flex:0 0 30px;width:30px;height:30px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;position:relative;cursor:pointer;padding-bottom:1px;background-color:#fff;color:#676777;border:1px solid #e6e6ef}.apps_fast_access_btn svg{width:22px;height:22px}.apps_fast_access_btn svg polygon,.apps_fast_access_btn svg path,.apps_fast_access_btn svg circle{fill:#676777}.apps_fast_access_btn.uiColor{color:#fff!important;border-color:transparent}.apps_fast_access_btn.uiColor svg polygon,.apps_fast_access_btn.uiColor svg path,.apps_fast_access_btn.uiColor svg circle{fill:#fff!important}.apps_fast_access_btn+.apps_fast_access_btn{margin-left:10px}.apps_fast_access_btn:hover{background-color:#f0f0f7;color:#676777}.apps_fast_access_btn.uiColor:hover{filter:brightness(.9)}.apps_fast_access_btn:hover .apps_fast_access_btn_drop{display:block}.apps_fast_access_btn_drop{position:absolute;left:50%;top:calc(100% + 10px);transform:translate(-50%);display:none;z-index:50;border-radius:12px;padding:6px;border:1px solid #e6e6ef;background-color:#fff;box-shadow:0 20px 18px #00000012}.apps_fast_access_btn_drop:before{content:"";display:block;position:absolute;top:-11px;left:0;height:12px;width:100%}.apps_fast_access_btn_drop_btn{min-width:120px;display:flex;align-items:center;height:32px;font-weight:400;font-size:13px;line-height:18px;padding:0 10px;white-space:nowrap;cursor:pointer;border-radius:8px;color:#676778;margin-bottom:2px}.apps_fast_access_btn_drop_btn:last-child{margin-bottom:0}.apps_fast_access_btn_drop_btn:hover{background-color:#f5f5fa}.apps_fast_access_btn_drop_btn.uiColor{color:#fff}.apps_fast_access_btn_drop_btn.uiColor:hover{filter:brightness(.9)}
|
|
@@ -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 rs(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const V={},mt=[],Ae=()=>{},Hi=()=>!1,ji=/^on[^a-z]/,_n=e=>ji.test(e),is=e=>e.startsWith("onUpdate:"),ne=Object.assign,os=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Fi=Object.prototype.hasOwnProperty,D=(e,t)=>Fi.call(e,t),F=Array.isArray,_t=e=>yn(e)==="[object Map]",Pr=e=>yn(e)==="[object Set]",L=e=>typeof e=="function",ee=e=>typeof e=="string",ls=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Rr=e=>X(e)&&L(e.then)&&L(e.catch),Sr=Object.prototype.toString,yn=e=>Sr.call(e),ki=e=>yn(e).slice(8,-1),Ir=e=>yn(e)==="[object Object]",cs=e=>ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rn=rs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ni=/-(\w)/g,wt=bn(e=>e.replace(Ni,(t,n)=>n?n.toUpperCase():"")),Li=/\B([A-Z])/g,St=bn(e=>e.replace(Li,"-$1").toLowerCase()),Or=bn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cn=bn(e=>e?`on${Or(e)}`:""),$t=(e,t)=>!Object.is(e,t),Tn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},fn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Bi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ts;const Bn=()=>Ts||(Ts=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vn(e){if(F(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ee(s)?Ki(s):vn(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(ee(e))return e;if(X(e))return e}}const Ui=/;(?![^(]*\))/g,Di=/:([^]+)/,$i=/\/\*[^]*?\*\//g;function Ki(e){const t={};return e.replace($i,"").split(Ui).forEach(n=>{if(n){const s=n.split(Di);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function us(e){let t="";if(ee(e))t=e;else if(F(e))for(let n=0;n<e.length;n++){const s=us(e[n]);s&&(t+=s+" ")}else if(X(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const zi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Wi=rs(zi);function Cr(e){return!!e||e===""}const Ms=e=>ee(e)?e:e==null?"":F(e)||X(e)&&(e.toString===Sr||!L(e.toString))?JSON.stringify(e,Tr,2):String(e),Tr=(e,t)=>t&&t.__v_isRef?Tr(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Pr(t)?{[`Set(${t.size})`]:[...t.values()]}:X(t)&&!F(t)&&!Ir(t)?String(t):t;let ye;class Mr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ye,!t&&ye&&(this.index=(ye.scopes||(ye.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ye;try{return ye=this,t()}finally{ye=n}}}on(){ye=this}off(){ye=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 Qi(e){return new Mr(e)}function Ji(e,t=ye){t&&t.active&&t.effects.push(e)}function Gi(){return ye}const as=e=>{const t=new Set(e);return t.w=0,t.n=0,t},qr=e=>(e.w&Xe)>0,Hr=e=>(e.n&Xe)>0,Yi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Xe},Vi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];qr(r)&&!Hr(r)?r.delete(e):t[n++]=r,r.w&=~Xe,r.n&=~Xe}t.length=n}},Un=new WeakMap;let jt=0,Xe=1;const Dn=30;let be;const rt=Symbol(""),$n=Symbol("");class fs{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ji(this,s)}run(){if(!this.active)return this.fn();let t=be,n=Ye;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=be,be=this,Ye=!0,Xe=1<<++jt,jt<=Dn?Yi(this):qs(this),this.fn()}finally{jt<=Dn&&Vi(this),Xe=1<<--jt,be=this.parent,Ye=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){be===this?this.deferStop=!0:this.active&&(qs(this),this.onStop&&this.onStop(),this.active=!1)}}function qs(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ye=!0;const jr=[];function It(){jr.push(Ye),Ye=!1}function Ot(){const e=jr.pop();Ye=e===void 0?!0:e}function de(e,t,n){if(Ye&&be){let s=Un.get(e);s||Un.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=as()),Fr(r)}}function Fr(e,t){let n=!1;jt<=Dn?Hr(e)||(e.n|=Xe,n=!qr(e)):n=!e.has(be),n&&(e.add(be),be.deps.push(e))}function Ue(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"&&F(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":F(e)?cs(n)&&c.push(o.get("length")):(c.push(o.get(rt)),_t(e)&&c.push(o.get($n)));break;case"delete":F(e)||(c.push(o.get(rt)),_t(e)&&c.push(o.get($n)));break;case"set":_t(e)&&c.push(o.get(rt));break}if(c.length===1)c[0]&&Kn(c[0]);else{const l=[];for(const f of c)f&&l.push(...f);Kn(as(l))}}function Kn(e,t){const n=F(e)?e:[...e];for(const s of n)s.computed&&Hs(s);for(const s of n)s.computed||Hs(s)}function Hs(e,t){(e!==be||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Xi=rs("__proto__,__v_isRef,__isVue"),kr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ls)),Zi=ds(),eo=ds(!1,!0),to=ds(!0),js=no();function no(){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++)de(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){It();const s=K(this)[t].apply(this,n);return Ot(),s}}),e}function so(e){const t=K(this);return de(t,"has",e),t.hasOwnProperty(e)}function ds(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?vo:Dr:t?Ur:Br).get(s))return s;const o=F(s);if(!e){if(o&&D(js,r))return Reflect.get(js,r,i);if(r==="hasOwnProperty")return so}const c=Reflect.get(s,r,i);return(ls(r)?kr.has(r):Xi(r))||(e||de(s,"get",r),t)?c:le(c)?o&&cs(r)?c:c.value:X(c)?e?Kr(c):An(c):c}}const ro=Nr(),io=Nr(!0);function Nr(e=!1){return function(n,s,r,i){let o=n[s];if(At(o)&&le(o)&&!le(r))return!1;if(!e&&(!dn(r)&&!At(r)&&(o=K(o),r=K(r)),!F(n)&&le(o)&&!le(r)))return o.value=r,!0;const c=F(n)&&cs(s)?Number(s)<n.length:D(n,s),l=Reflect.set(n,s,r,i);return n===K(i)&&(c?$t(r,o)&&Ue(n,"set",s,r):Ue(n,"add",s,r)),l}}function oo(e,t){const n=D(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ue(e,"delete",t,void 0),s}function lo(e,t){const n=Reflect.has(e,t);return(!ls(t)||!kr.has(t))&&de(e,"has",t),n}function co(e){return de(e,"iterate",F(e)?"length":rt),Reflect.ownKeys(e)}const Lr={get:Zi,set:ro,deleteProperty:oo,has:lo,ownKeys:co},uo={get:to,set(e,t){return!0},deleteProperty(e,t){return!0}},ao=ne({},Lr,{get:eo,set:io}),ps=e=>e,wn=e=>Reflect.getPrototypeOf(e);function Vt(e,t,n=!1,s=!1){e=e.__v_raw;const r=K(e),i=K(t);n||(t!==i&&de(r,"get",t),de(r,"get",i));const{has:o}=wn(r),c=s?ps:n?_s:Kt;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 Xt(e,t=!1){const n=this.__v_raw,s=K(n),r=K(e);return t||(e!==r&&de(s,"has",e),de(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Zt(e,t=!1){return e=e.__v_raw,!t&&de(K(e),"iterate",rt),Reflect.get(e,"size",e)}function Fs(e){e=K(e);const t=K(this);return wn(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function ks(e,t){t=K(t);const n=K(this),{has:s,get:r}=wn(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?$t(t,o)&&Ue(n,"set",e,t):Ue(n,"add",e,t),this}function Ns(e){const t=K(this),{has:n,get:s}=wn(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&&Ue(t,"delete",e,void 0),i}function Ls(){const e=K(this),t=e.size!==0,n=e.clear();return t&&Ue(e,"clear",void 0,void 0),n}function en(e,t){return function(s,r){const i=this,o=i.__v_raw,c=K(o),l=t?ps:e?_s:Kt;return!e&&de(c,"iterate",rt),o.forEach((f,d)=>s.call(r,l(f),l(d),i))}}function tn(e,t,n){return function(...s){const r=this.__v_raw,i=K(r),o=_t(i),c=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...s),d=n?ps:t?_s:Kt;return!t&&de(i,"iterate",l?$n:rt),{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 We(e){return function(...t){return e==="delete"?!1:this}}function fo(){const e={get(i){return Vt(this,i)},get size(){return Zt(this)},has:Xt,add:Fs,set:ks,delete:Ns,clear:Ls,forEach:en(!1,!1)},t={get(i){return Vt(this,i,!1,!0)},get size(){return Zt(this)},has:Xt,add:Fs,set:ks,delete:Ns,clear:Ls,forEach:en(!1,!0)},n={get(i){return Vt(this,i,!0)},get size(){return Zt(this,!0)},has(i){return Xt.call(this,i,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:en(!0,!1)},s={get(i){return Vt(this,i,!0,!0)},get size(){return Zt(this,!0)},has(i){return Xt.call(this,i,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:en(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=tn(i,!1,!1),n[i]=tn(i,!0,!1),t[i]=tn(i,!1,!0),s[i]=tn(i,!0,!0)}),[e,n,t,s]}const[po,ho,go,mo]=fo();function hs(e,t){const n=t?e?mo:go:e?ho:po;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(D(n,r)&&r in s?n:s,r,i)}const _o={get:hs(!1,!1)},yo={get:hs(!1,!0)},bo={get:hs(!0,!1)},Br=new WeakMap,Ur=new WeakMap,Dr=new WeakMap,vo=new WeakMap;function wo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ao(e){return e.__v_skip||!Object.isExtensible(e)?0:wo(ki(e))}function An(e){return At(e)?e:gs(e,!1,Lr,_o,Br)}function $r(e){return gs(e,!1,ao,yo,Ur)}function Kr(e){return gs(e,!0,uo,bo,Dr)}function gs(e,t,n,s,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Ao(e);if(o===0)return e;const c=new Proxy(e,o===2?s:n);return r.set(e,c),c}function yt(e){return At(e)?yt(e.__v_raw):!!(e&&e.__v_isReactive)}function At(e){return!!(e&&e.__v_isReadonly)}function dn(e){return!!(e&&e.__v_isShallow)}function zr(e){return yt(e)||At(e)}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function ms(e){return fn(e,"__v_skip",!0),e}const Kt=e=>X(e)?An(e):e,_s=e=>X(e)?Kr(e):e;function Wr(e){Ye&&be&&(e=K(e),Fr(e.dep||(e.dep=as())))}function Qr(e,t){e=K(e);const n=e.dep;n&&Kn(n)}function le(e){return!!(e&&e.__v_isRef===!0)}function ht(e){return Jr(e,!1)}function Eo(e){return Jr(e,!0)}function Jr(e,t){return le(e)?e:new xo(e,t)}class xo{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:Kt(t)}get value(){return Wr(this),this._value}set value(t){const n=this.__v_isShallow||dn(t)||At(t);t=n?t:K(t),$t(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Kt(t),Qr(this))}}function bt(e){return le(e)?e.value:e}const Po={get:(e,t,n)=>bt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return le(r)&&!le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Gr(e){return yt(e)?e:new Proxy(e,Po)}class Ro{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 fs(t,()=>{this._dirty||(this._dirty=!0,Qr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=K(this);return Wr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function So(e,t,n=!1){let s,r;const i=L(e);return i?(s=e,r=Ae):(s=e.get,r=e.set),new Ro(s,r,i||!r,n)}function Ve(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){En(i,t,n)}return r}function Ee(e,t,n,s){if(L(e)){const i=Ve(e,t,n,s);return i&&Rr(i)&&i.catch(o=>{En(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ee(e[i],t,n,s));return r}function En(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){Ve(l,null,10,[e,o,c]);return}}Io(e,n,r,s)}function Io(e,t,n,s=!0){console.error(e)}let zt=!1,zn=!1;const ie=[];let qe=0;const vt=[];let Ne=null,nt=0;const Yr=Promise.resolve();let ys=null;function Vr(e){const t=ys||Yr;return e?t.then(this?e.bind(this):e):t}function Oo(e){let t=qe+1,n=ie.length;for(;t<n;){const s=t+n>>>1;Wt(ie[s])<e?t=s+1:n=s}return t}function bs(e){(!ie.length||!ie.includes(e,zt&&e.allowRecurse?qe+1:qe))&&(e.id==null?ie.push(e):ie.splice(Oo(e.id),0,e),Xr())}function Xr(){!zt&&!zn&&(zn=!0,ys=Yr.then(ei))}function Co(e){const t=ie.indexOf(e);t>qe&&ie.splice(t,1)}function To(e){F(e)?vt.push(...e):(!Ne||!Ne.includes(e,e.allowRecurse?nt+1:nt))&&vt.push(e),Xr()}function Bs(e,t=zt?qe+1:0){for(;t<ie.length;t++){const n=ie[t];n&&n.pre&&(ie.splice(t,1),t--,n())}}function Zr(e){if(vt.length){const t=[...new Set(vt)];if(vt.length=0,Ne){Ne.push(...t);return}for(Ne=t,Ne.sort((n,s)=>Wt(n)-Wt(s)),nt=0;nt<Ne.length;nt++)Ne[nt]();Ne=null,nt=0}}const Wt=e=>e.id==null?1/0:e.id,Mo=(e,t)=>{const n=Wt(e)-Wt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ei(e){zn=!1,zt=!0,ie.sort(Mo);const t=Ae;try{for(qe=0;qe<ie.length;qe++){const n=ie[qe];n&&n.active!==!1&&Ve(n,null,14)}}finally{qe=0,ie.length=0,Zr(),zt=!1,ys=null,(ie.length||vt.length)&&ei()}}function qo(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||V;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:g}=s[d]||V;g&&(r=n.map(w=>ee(w)?w.trim():w)),h&&(r=n.map(Bi))}let c,l=s[c=Cn(t)]||s[c=Cn(wt(t))];!l&&i&&(l=s[c=Cn(St(t))]),l&&Ee(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,Ee(f,e,6,r)}}function ti(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},c=!1;if(!L(e)){const l=f=>{const d=ti(f,t,!0);d&&(c=!0,ne(o,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!c?(X(e)&&s.set(e,null),null):(F(i)?i.forEach(l=>o[l]=null):ne(o,i),X(e)&&s.set(e,o),o)}function xn(e,t){return!e||!_n(t)?!1:(t=t.slice(2).replace(/Once$/,""),D(e,t[0].toLowerCase()+t.slice(1))||D(e,St(t))||D(e,t))}let He=null,Pn=null;function pn(e){const t=He;return He=e,Pn=e&&e.type.__scopeId||null,t}function Ho(e){Pn=e}function jo(){Pn=null}function Fo(e,t=He,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ys(-1);const i=pn(t);let o;try{o=e(...r)}finally{pn(i),s._d&&Ys(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Mn(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:w,ctx:I,inheritAttrs:C}=e;let N,q;const H=pn(e);try{if(n.shapeFlag&4){const j=r||s;N=Me(d.call(j,j,h,i,w,g,I)),q=l}else{const j=t;N=Me(j.length>1?j(i,{attrs:l,slots:c,emit:f}):j(i,null)),q=t.props?l:ko(l)}}catch(j){Lt.length=0,En(j,e,1),N=he(ot)}let $=N;if(q&&C!==!1){const j=Object.keys(q),{shapeFlag:se}=$;j.length&&se&7&&(o&&j.some(is)&&(q=No(q,o)),$=Et($,q))}return n.dirs&&($=Et($),$.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&($.transition=n.transition),N=$,pn(H),N}const ko=e=>{let t;for(const n in e)(n==="class"||n==="style"||_n(n))&&((t||(t={}))[n]=e[n]);return t},No=(e,t)=>{const n={};for(const s in e)(!is(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Lo(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?Us(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]&&!xn(f,g))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===o?!1:s?o?Us(s,o,f):!0:!!o;return!1}function Us(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]&&!xn(n,i))return!0}return!1}function Bo({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Uo=e=>e.__isSuspense;function Do(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):To(e)}const nn={};function on(e,t,n){return ni(e,t,n)}function ni(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=V){var c;const l=Gi()===((c=oe)==null?void 0:c.scope)?oe:null;let f,d=!1,h=!1;if(le(e)?(f=()=>e.value,d=dn(e)):yt(e)?(f=()=>e,s=!0):F(e)?(h=!0,d=e.some(j=>yt(j)||dn(j)),f=()=>e.map(j=>{if(le(j))return j.value;if(yt(j))return gt(j);if(L(j))return Ve(j,l,2)})):L(e)?t?f=()=>Ve(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),Ee(e,l,3,[w])}:f=Ae,t&&s){const j=f;f=()=>gt(j())}let g,w=j=>{g=H.onStop=()=>{Ve(j,l,4)}},I;if(Jt)if(w=Ae,t?n&&Ee(t,l,3,[f(),h?[]:void 0,w]):f(),r==="sync"){const j=jl();I=j.__watcherHandles||(j.__watcherHandles=[])}else return Ae;let C=h?new Array(e.length).fill(nn):nn;const N=()=>{if(H.active)if(t){const j=H.run();(s||d||(h?j.some((se,ce)=>$t(se,C[ce])):$t(j,C)))&&(g&&g(),Ee(t,l,3,[j,C===nn?void 0:h&&C[0]===nn?[]:C,w]),C=j)}else H.run()};N.allowRecurse=!!t;let q;r==="sync"?q=N:r==="post"?q=()=>fe(N,l&&l.suspense):(N.pre=!0,l&&(N.id=l.uid),q=()=>bs(N));const H=new fs(f,q);t?n?N():C=H.run():r==="post"?fe(H.run.bind(H),l&&l.suspense):H.run();const $=()=>{H.stop(),l&&l.scope&&os(l.scope.effects,H)};return I&&I.push($),$}function $o(e,t,n){const s=this.proxy,r=ee(e)?e.includes(".")?si(s,e):()=>s[e]:e.bind(s,s);let i;L(t)?i=t:(i=t.handler,n=t);const o=oe;xt(this);const c=ni(r,i.bind(s),n);return o?xt(o):it(),c}function si(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 gt(e,t){if(!X(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),le(e))gt(e.value,t);else if(F(e))for(let n=0;n<e.length;n++)gt(e[n],t);else if(Pr(e)||_t(e))e.forEach(n=>{gt(n,t)});else if(Ir(e))for(const n in e)gt(e[n],t);return e}function et(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&&(It(),Ee(l,n,8,[e.el,c,e,t]),Ot())}}function ri(e,t){return L(e)?(()=>ne({name:e.name},t,{setup:e}))():e}const ln=e=>!!e.type.__asyncLoader,ii=e=>e.type.__isKeepAlive;function Ko(e,t){oi(e,"a",t)}function zo(e,t){oi(e,"da",t)}function oi(e,t,n=oe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Rn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ii(r.parent.vnode)&&Wo(s,t,n,r),r=r.parent}}function Wo(e,t,n,s){const r=Rn(t,e,s,!0);ci(()=>{os(s[t],r)},n)}function Rn(e,t,n=oe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;It(),xt(n);const c=Ee(t,n,e,o);return it(),Ot(),c});return s?r.unshift(i):r.push(i),i}}const De=e=>(t,n=oe)=>(!Jt||e==="sp")&&Rn(e,(...s)=>t(...s),n),Qo=De("bm"),li=De("m"),Jo=De("bu"),Go=De("u"),Yo=De("bum"),ci=De("um"),Vo=De("sp"),Xo=De("rtg"),Zo=De("rtc");function el(e,t=oe){Rn("ec",e,t)}const tl=Symbol.for("v-ndc");function nl(e,t,n,s){let r;const i=n&&n[s];if(F(e)||ee(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(X(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?bi(e)?xs(e)||e.proxy:Wn(e.parent):null,Nt=ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Wn(e.parent),$root:e=>Wn(e.root),$emit:e=>e.emit,$options:e=>vs(e),$forceUpdate:e=>e.f||(e.f=()=>bs(e.update)),$nextTick:e=>e.n||(e.n=Vr.bind(e.proxy)),$watch:e=>$o.bind(e)}),qn=(e,t)=>e!==V&&!e.__isScriptSetup&&D(e,t),sl={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 w=o[t];if(w!==void 0)switch(w){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(qn(s,t))return o[t]=1,s[t];if(r!==V&&D(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&D(f,t))return o[t]=3,i[t];if(n!==V&&D(n,t))return o[t]=4,n[t];Qn&&(o[t]=0)}}const d=Nt[t];let h,g;if(d)return t==="$attrs"&&de(e,"get",t),d(e);if((h=c.__cssModules)&&(h=h[t]))return h;if(n!==V&&D(n,t))return o[t]=4,n[t];if(g=l.config.globalProperties,D(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return qn(r,t)?(r[t]=n,!0):s!==V&&D(s,t)?(s[t]=n,!0):D(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!==V&&D(e,o)||qn(t,o)||(c=i[0])&&D(c,o)||D(s,o)||D(Nt,o)||D(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:D(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ds(e){return F(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Qn=!0;function rl(e){const t=vs(e),n=e.proxy,s=e.ctx;Qn=!1,t.beforeCreate&&$s(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:c,provide:l,inject:f,created:d,beforeMount:h,mounted:g,beforeUpdate:w,updated:I,activated:C,deactivated:N,beforeDestroy:q,beforeUnmount:H,destroyed:$,unmounted:j,render:se,renderTracked:ce,renderTriggered:Pe,errorCaptured:je,serverPrefetch:lt,expose:Re,inheritAttrs:Ke,components:Ze,directives:Se,filters:Ct}=t;if(f&&il(f,s,null),o)for(const G in o){const z=o[G];L(z)&&(s[G]=z.bind(n))}if(r){const G=r.call(n,n);X(G)&&(e.data=An(G))}if(Qn=!0,i)for(const G in i){const z=i[G],Fe=L(z)?z.bind(n,n):L(z.get)?z.get.bind(n,n):Ae,ze=!L(z)&&L(z.set)?z.set.bind(n):Ae,Ie=ve({get:Fe,set:ze});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>Ie.value,set:ae=>Ie.value=ae})}if(c)for(const G in c)ui(c[G],s,n,G);if(l){const G=L(l)?l.call(n):l;Reflect.ownKeys(G).forEach(z=>{cn(z,G[z])})}d&&$s(d,e,"c");function te(G,z){F(z)?z.forEach(Fe=>G(Fe.bind(n))):z&&G(z.bind(n))}if(te(Qo,h),te(li,g),te(Jo,w),te(Go,I),te(Ko,C),te(zo,N),te(el,je),te(Zo,ce),te(Xo,Pe),te(Yo,H),te(ci,j),te(Vo,lt),F(Re))if(Re.length){const G=e.exposed||(e.exposed={});Re.forEach(z=>{Object.defineProperty(G,z,{get:()=>n[z],set:Fe=>n[z]=Fe})})}else e.exposed||(e.exposed={});se&&e.render===Ae&&(e.render=se),Ke!=null&&(e.inheritAttrs=Ke),Ze&&(e.components=Ze),Se&&(e.directives=Se)}function il(e,t,n=Ae){F(e)&&(e=Jn(e));for(const s in e){const r=e[s];let i;X(r)?"default"in r?i=Be(r.from||s,r.default,!0):i=Be(r.from||s):i=Be(r),le(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function $s(e,t,n){Ee(F(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ui(e,t,n,s){const r=s.includes(".")?si(n,s):()=>n[s];if(ee(e)){const i=t[e];L(i)&&on(r,i)}else if(L(e))on(r,e.bind(n));else if(X(e))if(F(e))e.forEach(i=>ui(i,t,n,s));else{const i=L(e.handler)?e.handler.bind(n):t[e.handler];L(i)&&on(r,i,e)}}function vs(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=>hn(l,f,o,!0)),hn(l,t,o)),X(t)&&i.set(t,l),l}function hn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&hn(e,i,n,!0),r&&r.forEach(o=>hn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const c=ol[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const ol={data:Ks,props:zs,emits:zs,methods:Ft,computed:Ft,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Ft,directives:Ft,watch:cl,provide:Ks,inject:ll};function Ks(e,t){return t?e?function(){return ne(L(e)?e.call(this,this):e,L(t)?t.call(this,this):t)}:t:e}function ll(e,t){return Ft(Jn(e),Jn(t))}function Jn(e){if(F(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function Ft(e,t){return e?ne(Object.create(null),e,t):t}function zs(e,t){return e?F(e)&&F(t)?[...new Set([...e,...t])]:ne(Object.create(null),Ds(e),Ds(t??{})):t}function cl(e,t){if(!e)return t;if(!t)return e;const n=ne(Object.create(null),e);for(const s in t)n[s]=ue(e[s],t[s]);return n}function ai(){return{app:null,config:{isNativeTag:Hi,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 ul=0;function al(e,t){return function(s,r=null){L(s)||(s=ne({},s)),r!=null&&!X(r)&&(r=null);const i=ai(),o=new Set;let c=!1;const l=i.app={_uid:ul++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Fl,get config(){return i.config},set config(f){},use(f,...d){return o.has(f)||(f&&L(f.install)?(o.add(f),f.install(l,...d)):L(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=he(s,r);return g.appContext=i,d&&t?t(g,f):e(g,f,h),c=!0,l._container=f,f.__vue_app__=l,xs(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){gn=l;try{return f()}finally{gn=null}}};return l}}let gn=null;function cn(e,t){if(oe){let n=oe.provides;const s=oe.parent&&oe.parent.provides;s===n&&(n=oe.provides=Object.create(s)),n[e]=t}}function Be(e,t,n=!1){const s=oe||He;if(s||gn){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:gn._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&L(t)?t.call(s&&s.proxy):t}}function fl(e,t,n,s=!1){const r={},i={};fn(i,In,1),e.propsDefaults=Object.create(null),fi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:$r(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function dl(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(xn(e.emitsOptions,g))continue;const w=t[g];if(l)if(D(i,g))w!==i[g]&&(i[g]=w,f=!0);else{const I=wt(g);r[I]=Gn(l,c,I,w,e,!1)}else w!==i[g]&&(i[g]=w,f=!0)}}}else{fi(e,t,r,i)&&(f=!0);let d;for(const h in c)(!t||!D(t,h)&&((d=St(h))===h||!D(t,d)))&&(l?n&&(n[h]!==void 0||n[d]!==void 0)&&(r[h]=Gn(l,c,h,void 0,e,!0)):delete r[h]);if(i!==c)for(const h in i)(!t||!D(t,h))&&(delete i[h],f=!0)}f&&Ue(e,"set","$attrs")}function fi(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,c;if(t)for(let l in t){if(rn(l))continue;const f=t[l];let d;r&&D(r,d=wt(l))?!i||!i.includes(d)?n[d]=f:(c||(c={}))[d]=f:xn(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,o=!0)}if(i){const l=K(n),f=c||V;for(let d=0;d<i.length;d++){const h=i[d];n[h]=Gn(r,l,h,f[h],e,!D(f,h))}}return o}function Gn(e,t,n,s,r,i){const o=e[n];if(o!=null){const c=D(o,"default");if(c&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&L(l)){const{propsDefaults:f}=r;n in f?s=f[n]:(xt(r),s=f[n]=l.call(null,t),it())}else s=l}o[0]&&(i&&!c?s=!1:o[1]&&(s===""||s===St(n))&&(s=!0))}return s}function di(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(!L(e)){const d=h=>{l=!0;const[g,w]=di(h,t,!0);ne(o,g),w&&c.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return X(e)&&s.set(e,mt),mt;if(F(i))for(let d=0;d<i.length;d++){const h=wt(i[d]);Ws(h)&&(o[h]=V)}else if(i)for(const d in i){const h=wt(d);if(Ws(h)){const g=i[d],w=o[h]=F(g)||L(g)?{type:g}:ne({},g);if(w){const I=Gs(Boolean,w.type),C=Gs(String,w.type);w[0]=I>-1,w[1]=C<0||I<C,(I>-1||D(w,"default"))&&c.push(h)}}}const f=[o,c];return X(e)&&s.set(e,f),f}function Ws(e){return e[0]!=="$"}function Qs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Js(e,t){return Qs(e)===Qs(t)}function Gs(e,t){return F(t)?t.findIndex(n=>Js(n,e)):L(t)&&Js(t,e)?0:-1}const pi=e=>e[0]==="_"||e==="$stable",ws=e=>F(e)?e.map(Me):[Me(e)],pl=(e,t,n)=>{if(t._n)return t;const s=Fo((...r)=>ws(t(...r)),n);return s._c=!1,s},hi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(pi(r))continue;const i=e[r];if(L(i))t[r]=pl(r,i,s);else if(i!=null){const o=ws(i);t[r]=()=>o}}},gi=(e,t)=>{const n=ws(t);e.slots.default=()=>n},hl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=K(t),fn(t,"_",n)):hi(t,e.slots={})}else e.slots={},t&&gi(e,t);fn(e.slots,In,1)},gl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=V;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:(ne(r,t),!n&&c===1&&delete r._):(i=!t.$stable,hi(t,r)),o=t}else t&&(gi(e,t),o={default:1});if(i)for(const c in r)!pi(c)&&!(c in o)&&delete r[c]};function Yn(e,t,n,s,r=!1){if(F(e)){e.forEach((g,w)=>Yn(g,t&&(F(t)?t[w]:t),n,s,r));return}if(ln(s)&&!r)return;const i=s.shapeFlag&4?xs(s.component)||s.component.proxy:s.el,o=r?null:i,{i:c,r:l}=e,f=t&&t.r,d=c.refs===V?c.refs={}:c.refs,h=c.setupState;if(f!=null&&f!==l&&(ee(f)?(d[f]=null,D(h,f)&&(h[f]=null)):le(f)&&(f.value=null)),L(l))Ve(l,c,12,[o,d]);else{const g=ee(l),w=le(l);if(g||w){const I=()=>{if(e.f){const C=g?D(h,l)?h[l]:d[l]:l.value;r?F(C)&&os(C,i):F(C)?C.includes(i)||C.push(i):g?(d[l]=[i],D(h,l)&&(h[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,D(h,l)&&(h[l]=o)):w&&(l.value=o,e.k&&(d[e.k]=o))};o?(I.id=-1,fe(I,n)):I()}}}const fe=Do;function ml(e){return _l(e)}function _l(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:w=Ae,insertStaticContent:I}=e,C=(u,a,p,m=null,y=null,b=null,P=!1,A=null,E=!!a.dynamicChildren)=>{if(u===a)return;u&&!Mt(u,a)&&(m=_(u),ae(u,y,b,!0),u=null),a.patchFlag===-2&&(E=!1,a.dynamicChildren=null);const{type:v,ref:T,shapeFlag:S}=a;switch(v){case Sn:N(u,a,p,m);break;case ot:q(u,a,p,m);break;case Hn:u==null&&H(a,p,m,P);break;case Te:Ze(u,a,p,m,y,b,P,A,E);break;default:S&1?se(u,a,p,m,y,b,P,A,E):S&6?Se(u,a,p,m,y,b,P,A,E):(S&64||S&128)&&v.process(u,a,p,m,y,b,P,A,E,x)}T!=null&&y&&Yn(T,u&&u.ref,b,a||u,!a)},N=(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)}},q=(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]=I(u.children,a,p,m,u.el,u.anchor)},$=({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)},j=({el:u,anchor:a})=>{let p;for(;u&&u!==a;)p=g(u),r(u),u=p;r(a)},se=(u,a,p,m,y,b,P,A,E)=>{P=P||a.type==="svg",u==null?ce(a,p,m,y,b,P,A,E):lt(u,a,y,b,P,A,E)},ce=(u,a,p,m,y,b,P,A)=>{let E,v;const{type:T,props:S,shapeFlag:M,transition:k,dirs:B}=u;if(E=u.el=o(u.type,b,S&&S.is,S),M&8?d(E,u.children):M&16&&je(u.children,E,null,m,y,b&&T!=="foreignObject",P,A),B&&et(u,null,m,"created"),Pe(E,u,u.scopeId,P,m),S){for(const J in S)J!=="value"&&!rn(J)&&i(E,J,null,S[J],b,u.children,m,y,re);"value"in S&&i(E,"value",null,S.value),(v=S.onVnodeBeforeMount)&&Ce(v,m,u)}B&&et(u,null,m,"beforeMount");const Y=(!y||y&&!y.pendingBranch)&&k&&!k.persisted;Y&&k.beforeEnter(E),s(E,a,p),((v=S&&S.onVnodeMounted)||Y||B)&&fe(()=>{v&&Ce(v,m,u),Y&&k.enter(E),B&&et(u,null,m,"mounted")},y)},Pe=(u,a,p,m,y)=>{if(p&&w(u,p),m)for(let b=0;b<m.length;b++)w(u,m[b]);if(y){let b=y.subTree;if(a===b){const P=y.vnode;Pe(u,P,P.scopeId,P.slotScopeIds,y.parent)}}},je=(u,a,p,m,y,b,P,A,E=0)=>{for(let v=E;v<u.length;v++){const T=u[v]=A?Je(u[v]):Me(u[v]);C(null,T,a,p,m,y,b,P,A)}},lt=(u,a,p,m,y,b,P)=>{const A=a.el=u.el;let{patchFlag:E,dynamicChildren:v,dirs:T}=a;E|=u.patchFlag&16;const S=u.props||V,M=a.props||V;let k;p&&tt(p,!1),(k=M.onVnodeBeforeUpdate)&&Ce(k,p,a,u),T&&et(a,u,p,"beforeUpdate"),p&&tt(p,!0);const B=y&&a.type!=="foreignObject";if(v?Re(u.dynamicChildren,v,A,p,m,B,b):P||z(u,a,A,null,p,m,B,b,!1),E>0){if(E&16)Ke(A,a,S,M,p,m,y);else if(E&2&&S.class!==M.class&&i(A,"class",null,M.class,y),E&4&&i(A,"style",S.style,M.style,y),E&8){const Y=a.dynamicProps;for(let J=0;J<Y.length;J++){const Z=Y[J],_e=S[Z],ft=M[Z];(ft!==_e||Z==="value")&&i(A,Z,_e,ft,y,u.children,p,m,re)}}E&1&&u.children!==a.children&&d(A,a.children)}else!P&&v==null&&Ke(A,a,S,M,p,m,y);((k=M.onVnodeUpdated)||T)&&fe(()=>{k&&Ce(k,p,a,u),T&&et(a,u,p,"updated")},m)},Re=(u,a,p,m,y,b,P)=>{for(let A=0;A<a.length;A++){const E=u[A],v=a[A],T=E.el&&(E.type===Te||!Mt(E,v)||E.shapeFlag&70)?h(E.el):p;C(E,v,T,null,m,y,b,P,!0)}},Ke=(u,a,p,m,y,b,P)=>{if(p!==m){if(p!==V)for(const A in p)!rn(A)&&!(A in m)&&i(u,A,p[A],null,P,a.children,y,b,re);for(const A in m){if(rn(A))continue;const E=m[A],v=p[A];E!==v&&A!=="value"&&i(u,A,v,E,P,a.children,y,b,re)}"value"in m&&i(u,"value",p.value,m.value)}},Ze=(u,a,p,m,y,b,P,A,E)=>{const v=a.el=u?u.el:c(""),T=a.anchor=u?u.anchor:c("");let{patchFlag:S,dynamicChildren:M,slotScopeIds:k}=a;k&&(A=A?A.concat(k):k),u==null?(s(v,p,m),s(T,p,m),je(a.children,p,T,y,b,P,A,E)):S>0&&S&64&&M&&u.dynamicChildren?(Re(u.dynamicChildren,M,p,y,b,P,A),(a.key!=null||y&&a===y.subTree)&&mi(u,a,!0)):z(u,a,p,T,y,b,P,A,E)},Se=(u,a,p,m,y,b,P,A,E)=>{a.slotScopeIds=A,u==null?a.shapeFlag&512?y.ctx.activate(a,p,m,P,E):Ct(a,p,m,y,b,P,E):ct(u,a,E)},Ct=(u,a,p,m,y,b,P)=>{const A=u.component=Il(u,m,y);if(ii(u)&&(A.ctx.renderer=x),Ol(A),A.asyncDep){if(y&&y.registerDep(A,te),!u.el){const E=A.subTree=he(ot);q(null,E,a,p)}return}te(A,u,a,p,y,b,P)},ct=(u,a,p)=>{const m=a.component=u.component;if(Lo(u,a,p))if(m.asyncDep&&!m.asyncResolved){G(m,a,p);return}else m.next=a,Co(m.update),m.update();else a.el=u.el,m.vnode=a},te=(u,a,p,m,y,b,P)=>{const A=()=>{if(u.isMounted){let{next:T,bu:S,u:M,parent:k,vnode:B}=u,Y=T,J;tt(u,!1),T?(T.el=B.el,G(u,T,P)):T=B,S&&Tn(S),(J=T.props&&T.props.onVnodeBeforeUpdate)&&Ce(J,k,T,B),tt(u,!0);const Z=Mn(u),_e=u.subTree;u.subTree=Z,C(_e,Z,h(_e.el),_(_e),u,y,b),T.el=Z.el,Y===null&&Bo(u,Z.el),M&&fe(M,y),(J=T.props&&T.props.onVnodeUpdated)&&fe(()=>Ce(J,k,T,B),y)}else{let T;const{el:S,props:M}=a,{bm:k,m:B,parent:Y}=u,J=ln(a);if(tt(u,!1),k&&Tn(k),!J&&(T=M&&M.onVnodeBeforeMount)&&Ce(T,Y,a),tt(u,!0),S&&W){const Z=()=>{u.subTree=Mn(u),W(S,u.subTree,u,y,null)};J?a.type.__asyncLoader().then(()=>!u.isUnmounted&&Z()):Z()}else{const Z=u.subTree=Mn(u);C(null,Z,p,m,u,y,b),a.el=Z.el}if(B&&fe(B,y),!J&&(T=M&&M.onVnodeMounted)){const Z=a;fe(()=>Ce(T,Y,Z),y)}(a.shapeFlag&256||Y&&ln(Y.vnode)&&Y.vnode.shapeFlag&256)&&u.a&&fe(u.a,y),u.isMounted=!0,a=p=m=null}},E=u.effect=new fs(A,()=>bs(v),u.scope),v=u.update=()=>E.run();v.id=u.uid,tt(u,!0),v()},G=(u,a,p)=>{a.component=u;const m=u.vnode.props;u.vnode=a,u.next=null,dl(u,a.props,m,p),gl(u,a.children,p),It(),Bs(),Ot()},z=(u,a,p,m,y,b,P,A,E=!1)=>{const v=u&&u.children,T=u?u.shapeFlag:0,S=a.children,{patchFlag:M,shapeFlag:k}=a;if(M>0){if(M&128){ze(v,S,p,m,y,b,P,A,E);return}else if(M&256){Fe(v,S,p,m,y,b,P,A,E);return}}k&8?(T&16&&re(v,y,b),S!==v&&d(p,S)):T&16?k&16?ze(v,S,p,m,y,b,P,A,E):re(v,y,b,!0):(T&8&&d(p,""),k&16&&je(S,p,m,y,b,P,A,E))},Fe=(u,a,p,m,y,b,P,A,E)=>{u=u||mt,a=a||mt;const v=u.length,T=a.length,S=Math.min(v,T);let M;for(M=0;M<S;M++){const k=a[M]=E?Je(a[M]):Me(a[M]);C(u[M],k,p,null,y,b,P,A,E)}v>T?re(u,y,b,!0,!1,S):je(a,p,m,y,b,P,A,E,S)},ze=(u,a,p,m,y,b,P,A,E)=>{let v=0;const T=a.length;let S=u.length-1,M=T-1;for(;v<=S&&v<=M;){const k=u[v],B=a[v]=E?Je(a[v]):Me(a[v]);if(Mt(k,B))C(k,B,p,null,y,b,P,A,E);else break;v++}for(;v<=S&&v<=M;){const k=u[S],B=a[M]=E?Je(a[M]):Me(a[M]);if(Mt(k,B))C(k,B,p,null,y,b,P,A,E);else break;S--,M--}if(v>S){if(v<=M){const k=M+1,B=k<T?a[k].el:m;for(;v<=M;)C(null,a[v]=E?Je(a[v]):Me(a[v]),p,B,y,b,P,A,E),v++}}else if(v>M)for(;v<=S;)ae(u[v],y,b,!0),v++;else{const k=v,B=v,Y=new Map;for(v=B;v<=M;v++){const pe=a[v]=E?Je(a[v]):Me(a[v]);pe.key!=null&&Y.set(pe.key,v)}let J,Z=0;const _e=M-B+1;let ft=!1,Is=0;const Tt=new Array(_e);for(v=0;v<_e;v++)Tt[v]=0;for(v=k;v<=S;v++){const pe=u[v];if(Z>=_e){ae(pe,y,b,!0);continue}let Oe;if(pe.key!=null)Oe=Y.get(pe.key);else for(J=B;J<=M;J++)if(Tt[J-B]===0&&Mt(pe,a[J])){Oe=J;break}Oe===void 0?ae(pe,y,b,!0):(Tt[Oe-B]=v+1,Oe>=Is?Is=Oe:ft=!0,C(pe,a[Oe],p,null,y,b,P,A,E),Z++)}const Os=ft?yl(Tt):mt;for(J=Os.length-1,v=_e-1;v>=0;v--){const pe=B+v,Oe=a[pe],Cs=pe+1<T?a[pe+1].el:m;Tt[v]===0?C(null,Oe,p,Cs,y,b,P,A,E):ft&&(J<0||v!==Os[J]?Ie(Oe,p,Cs,2):J--)}}},Ie=(u,a,p,m,y=null)=>{const{el:b,type:P,transition:A,children:E,shapeFlag:v}=u;if(v&6){Ie(u.component.subTree,a,p,m);return}if(v&128){u.suspense.move(a,p,m);return}if(v&64){P.move(u,a,p,x);return}if(P===Te){s(b,a,p);for(let S=0;S<E.length;S++)Ie(E[S],a,p,m);s(u.anchor,a,p);return}if(P===Hn){$(u,a,p);return}if(m!==2&&v&1&&A)if(m===0)A.beforeEnter(b),s(b,a,p),fe(()=>A.enter(b),y);else{const{leave:S,delayLeave:M,afterLeave:k}=A,B=()=>s(b,a,p),Y=()=>{S(b,()=>{B(),k&&k()})};M?M(b,B,Y):Y()}else s(b,a,p)},ae=(u,a,p,m=!1,y=!1)=>{const{type:b,props:P,ref:A,children:E,dynamicChildren:v,shapeFlag:T,patchFlag:S,dirs:M}=u;if(A!=null&&Yn(A,null,p,u,!0),T&256){a.ctx.deactivate(u);return}const k=T&1&&M,B=!ln(u);let Y;if(B&&(Y=P&&P.onVnodeBeforeUnmount)&&Ce(Y,a,u),T&6)Yt(u.component,p,m);else{if(T&128){u.suspense.unmount(p,m);return}k&&et(u,null,a,"beforeUnmount"),T&64?u.type.remove(u,a,p,y,x,m):v&&(b!==Te||S>0&&S&64)?re(v,a,p,!1,!0):(b===Te&&S&384||!y&&T&16)&&re(E,a,p),m&&ut(u)}(B&&(Y=P&&P.onVnodeUnmounted)||k)&&fe(()=>{Y&&Ce(Y,a,u),k&&et(u,null,a,"unmounted")},p)},ut=u=>{const{type:a,el:p,anchor:m,transition:y}=u;if(a===Te){at(p,m);return}if(a===Hn){j(u);return}const b=()=>{r(p),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(u.shapeFlag&1&&y&&!y.persisted){const{leave:P,delayLeave:A}=y,E=()=>P(p,b);A?A(u.el,b,E):E()}else b()},at=(u,a)=>{let p;for(;u!==a;)p=g(u),r(u),u=p;r(a)},Yt=(u,a,p)=>{const{bum:m,scope:y,update:b,subTree:P,um:A}=u;m&&Tn(m),y.stop(),b&&(b.active=!1,ae(P,u,a,p)),A&&fe(A,a),fe(()=>{u.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},re=(u,a,p,m=!1,y=!1,b=0)=>{for(let P=b;P<u.length;P++)ae(u[P],a,p,m,y)},_=u=>u.shapeFlag&6?_(u.component.subTree):u.shapeFlag&128?u.suspense.next():g(u.anchor||u.el),R=(u,a,p)=>{u==null?a._vnode&&ae(a._vnode,null,null,!0):C(a._vnode||null,u,a,null,null,null,p),Bs(),Zr(),a._vnode=u},x={p:C,um:ae,m:Ie,r:ut,mt:Ct,mc:je,pc:z,pbc:Re,n:_,o:e};let O,W;return t&&([O,W]=t(x)),{render:R,hydrate:O,createApp:al(R,O)}}function tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function mi(e,t,n=!1){const s=e.children,r=t.children;if(F(s)&&F(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]=Je(r[i]),c.el=o.el),n||mi(o,c)),c.type===Sn&&(c.el=o.el)}}function yl(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 bl=e=>e.__isTeleport,Te=Symbol.for("v-fgt"),Sn=Symbol.for("v-txt"),ot=Symbol.for("v-cmt"),Hn=Symbol.for("v-stc"),Lt=[];let we=null;function kt(e=!1){Lt.push(we=e?null:[])}function vl(){Lt.pop(),we=Lt[Lt.length-1]||null}let Qt=1;function Ys(e){Qt+=e}function _i(e){return e.dynamicChildren=Qt>0?we||mt:null,vl(),Qt>0&&we&&we.push(e),e}function sn(e,t,n,s,r,i){return _i(me(e,t,n,s,r,i,!0))}function wl(e,t,n,s,r){return _i(he(e,t,n,s,r,!0))}function Vn(e){return e?e.__v_isVNode===!0:!1}function Mt(e,t){return e.type===t.type&&e.key===t.key}const In="__vInternal",yi=({key:e})=>e??null,un=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ee(e)||le(e)||L(e)?{i:He,r:e,k:t,f:!!n}:e:null);function me(e,t=null,n=null,s=0,r=null,i=e===Te?0:1,o=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&yi(t),ref:t&&un(t),scopeId:Pn,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:He};return c?(As(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ee(n)?8:16),Qt>0&&!o&&we&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&we.push(l),l}const he=Al;function Al(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===tl)&&(e=ot),Vn(e)){const c=Et(e,t,!0);return n&&As(c,n),Qt>0&&!i&&we&&(c.shapeFlag&6?we[we.indexOf(e)]=c:we.push(c)),c.patchFlag|=-2,c}if(ql(e)&&(e=e.__vccOpts),t){t=El(t);let{class:c,style:l}=t;c&&!ee(c)&&(t.class=us(c)),X(l)&&(zr(l)&&!F(l)&&(l=ne({},l)),t.style=vn(l))}const o=ee(e)?1:Uo(e)?128:bl(e)?64:X(e)?4:L(e)?2:0;return me(e,t,n,s,r,o,i,!0)}function El(e){return e?zr(e)||In in e?ne({},e):e:null}function Et(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,c=t?Pl(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&yi(c),ref:t&&t.ref?n&&r?F(r)?r.concat(un(t)):[r,un(t)]:un(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!==Te?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&&Et(e.ssContent),ssFallback:e.ssFallback&&Et(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Xn(e=" ",t=0){return he(Sn,null,e,t)}function xl(e="",t=!1){return t?(kt(),wl(ot,null,e)):he(ot,null,e)}function Me(e){return e==null||typeof e=="boolean"?he(ot):F(e)?he(Te,null,e.slice()):typeof e=="object"?Je(e):he(Sn,null,String(e))}function Je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Et(e)}function As(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(F(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),As(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(In in t)?t._ctx=He:r===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else L(t)?(t={default:t,_ctx:He},n=32):(t=String(t),s&64?(n=16,t=[Xn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Pl(...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=us([t.class,s.class]));else if(r==="style")t.style=vn([t.style,s.style]);else if(_n(r)){const i=t[r],o=s[r];o&&i!==o&&!(F(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Ce(e,t,n,s=null){Ee(e,t,7,[n,s])}const Rl=ai();let Sl=0;function Il(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Rl,i={uid:Sl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Mr(!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:di(s,r),emitsOptions:ti(s,r),emit:null,emitted:null,propsDefaults:V,inheritAttrs:s.inheritAttrs,ctx:V,data:V,props:V,attrs:V,slots:V,refs:V,setupState:V,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=qo.bind(null,i),e.ce&&e.ce(i),i}let oe=null,Es,dt,Vs="__VUE_INSTANCE_SETTERS__";(dt=Bn()[Vs])||(dt=Bn()[Vs]=[]),dt.push(e=>oe=e),Es=e=>{dt.length>1?dt.forEach(t=>t(e)):dt[0](e)};const xt=e=>{Es(e),e.scope.on()},it=()=>{oe&&oe.scope.off(),Es(null)};function bi(e){return e.vnode.shapeFlag&4}let Jt=!1;function Ol(e,t=!1){Jt=t;const{props:n,children:s}=e.vnode,r=bi(e);fl(e,n,r,t),hl(e,s);const i=r?Cl(e,t):void 0;return Jt=!1,i}function Cl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ms(new Proxy(e.ctx,sl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Ml(e):null;xt(e),It();const i=Ve(s,e,0,[e.props,r]);if(Ot(),it(),Rr(i)){if(i.then(it,it),t)return i.then(o=>{Xs(e,o,t)}).catch(o=>{En(o,e,0)});e.asyncDep=i}else Xs(e,i,t)}else vi(e,t)}function Xs(e,t,n){L(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=Gr(t)),vi(e,n)}let Zs;function vi(e,t,n){const s=e.type;if(!e.render){if(!t&&Zs&&!s.render){const r=s.template||vs(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:c,compilerOptions:l}=s,f=ne(ne({isCustomElement:i,delimiters:c},o),l);s.render=Zs(r,f)}}e.render=s.render||Ae}xt(e),It(),rl(e),Ot(),it()}function Tl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return de(e,"get","$attrs"),t[n]}}))}function Ml(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Tl(e)},slots:e.slots,emit:e.emit,expose:t}}function xs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Gr(ms(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Nt)return Nt[n](e)},has(t,n){return n in t||n in Nt}}))}function ql(e){return L(e)&&"__vccOpts"in e}const ve=(e,t)=>So(e,t,Jt);function wi(e,t,n){const s=arguments.length;return s===2?X(t)&&!F(t)?Vn(t)?he(e,null,[t]):he(e,t):he(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Vn(n)&&(n=[n]),he(e,t,n))}const Hl=Symbol.for("v-scx"),jl=()=>Be(Hl),Fl="3.3.4",kl="http://www.w3.org/2000/svg",st=typeof document<"u"?document:null,er=st&&st.createElement("template"),Nl={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?st.createElementNS(kl,e):st.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.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{er.innerHTML=s?`<svg>${e}</svg>`:e;const c=er.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 Bl(e,t,n){const s=e.style,r=ee(n);if(n&&!r){if(t&&!ee(t))for(const i in t)n[i]==null&&Zn(s,i,"");for(const i in n)Zn(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 tr=/\s*!important$/;function Zn(e,t,n){if(F(n))n.forEach(s=>Zn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ul(e,t);tr.test(n)?e.setProperty(St(s),n.replace(tr,""),"important"):e[s]=n}}const nr=["Webkit","Moz","ms"],jn={};function Ul(e,t){const n=jn[t];if(n)return n;let s=wt(t);if(s!=="filter"&&s in e)return jn[t]=s;s=Or(s);for(let r=0;r<nr.length;r++){const i=nr[r]+s;if(i in e)return jn[t]=i}return t}const sr="http://www.w3.org/1999/xlink";function Dl(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(sr,t.slice(6,t.length)):e.setAttributeNS(sr,t,n);else{const i=Wi(t);n==null||i&&!Cr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function $l(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=Cr(n):n==null&&f==="string"?(n="",l=!0):f==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Kl(e,t,n,s){e.addEventListener(t,n,s)}function zl(e,t,n,s){e.removeEventListener(t,n,s)}function Wl(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]=Ql(t);if(s){const f=i[t]=Yl(s,r);Kl(e,c,f,l)}else o&&(zl(e,c,o,l),i[t]=void 0)}}const rr=/(?:Once|Passive|Capture)$/;function Ql(e){let t;if(rr.test(e)){t={};let s;for(;s=e.match(rr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):St(e.slice(2)),t]}let Fn=0;const Jl=Promise.resolve(),Gl=()=>Fn||(Jl.then(()=>Fn=0),Fn=Date.now());function Yl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ee(Vl(s,n.value),t,5,[s])};return n.value=e,n.attached=Gl(),n}function Vl(e,t){if(F(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 ir=/^on[a-z]/,Xl=(e,t,n,s,r=!1,i,o,c,l)=>{t==="class"?Ll(e,s,r):t==="style"?Bl(e,n,s):_n(t)?is(t)||Wl(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Zl(e,t,s,r))?$l(e,t,s,i,o,c,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Dl(e,t,s,r))};function Zl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&ir.test(t)&&L(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ir.test(t)&&ee(n)?!1:t in e}const ec=ne({patchProp:Xl},Nl);let or;function tc(){return or||(or=ml(ec))}const nc=(...e)=>{const t=tc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=sc(s);if(!r)return;const i=t._component;!L(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 sc(e){return ee(e)?document.querySelector(e):e}var rc=!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 is(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const V={},yt=[],Ae=()=>{},qi=()=>!1,Hi=/^on[^a-z]/,bn=e=>Hi.test(e),os=e=>e.startsWith("onUpdate:"),ne=Object.assign,ls=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ki=Object.prototype.hasOwnProperty,D=(e,t)=>ki.call(e,t),F=Array.isArray,bt=e=>vn(e)==="[object Map]",xr=e=>vn(e)==="[object Set]",N=e=>typeof e=="function",ee=e=>typeof e=="string",cs=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Ir=e=>X(e)&&N(e.then)&&N(e.catch),Pr=Object.prototype.toString,vn=e=>Pr.call(e),Fi=e=>vn(e).slice(8,-1),Rr=e=>vn(e)==="[object Object]",us=e=>ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ln=is(",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))},ji=/-(\w)/g,Et=wn(e=>e.replace(ji,(t,n)=>n?n.toUpperCase():"")),Li=/\B([A-Z])/g,Ct=wn(e=>e.replace(Li,"-$1").toLowerCase()),Sr=wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Tn=wn(e=>e?`on${Sr(e)}`:""),Kt=(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})},Ni=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ts;const Un=()=>Ts||(Ts=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function zt(e){if(F(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ee(s)?$i(s):zt(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(ee(e))return e;if(X(e))return e}}const Bi=/;(?![^(]*\))/g,Ui=/:([^]+)/,Di=/\/\*[^]*?\*\//g;function $i(e){const t={};return e.replace(Di,"").split(Bi).forEach(n=>{if(n){const s=n.split(Ui);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Wt(e){let t="";if(ee(e))t=e;else if(F(e))for(let n=0;n<e.length;n++){const s=Wt(e[n]);s&&(t+=s+" ")}else if(X(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ki="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zi=is(Ki);function Cr(e){return!!e||e===""}const Wi=e=>ee(e)?e:e==null?"":F(e)||X(e)&&(e.toString===Pr||!N(e.toString))?JSON.stringify(e,Or,2):String(e),Or=(e,t)=>t&&t.__v_isRef?Or(e,t.value):bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:xr(t)?{[`Set(${t.size})`]:[...t.values()]}:X(t)&&!F(t)&&!Rr(t)?String(t):t;let ye;class Tr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ye,!t&&ye&&(this.index=(ye.scopes||(ye.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ye;try{return ye=this,t()}finally{ye=n}}}on(){ye=this}off(){ye=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 Qi(e){return new Tr(e)}function Ji(e,t=ye){t&&t.active&&t.effects.push(e)}function Gi(){return ye}const as=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Mr=e=>(e.w&Xe)>0,qr=e=>(e.n&Xe)>0,Yi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Xe},Vi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Mr(r)&&!qr(r)?r.delete(e):t[n++]=r,r.w&=~Xe,r.n&=~Xe}t.length=n}},Dn=new WeakMap;let jt=0,Xe=1;const $n=30;let be;const it=Symbol(""),Kn=Symbol("");class fs{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ji(this,s)}run(){if(!this.active)return this.fn();let t=be,n=Ye;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=be,be=this,Ye=!0,Xe=1<<++jt,jt<=$n?Yi(this):Ms(this),this.fn()}finally{jt<=$n&&Vi(this),Xe=1<<--jt,be=this.parent,Ye=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){be===this?this.deferStop=!0:this.active&&(Ms(this),this.onStop&&this.onStop(),this.active=!1)}}function Ms(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ye=!0;const Hr=[];function Ot(){Hr.push(Ye),Ye=!1}function Tt(){const e=Hr.pop();Ye=e===void 0?!0:e}function de(e,t,n){if(Ye&&be){let s=Dn.get(e);s||Dn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=as()),kr(r)}}function kr(e,t){let n=!1;jt<=$n?qr(e)||(e.n|=Xe,n=!Mr(e)):n=!e.has(be),n&&(e.add(be),be.deps.push(e))}function Ue(e,t,n,s,r,i){const o=Dn.get(e);if(!o)return;let c=[];if(t==="clear")c=[...o.values()];else if(n==="length"&&F(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":F(e)?us(n)&&c.push(o.get("length")):(c.push(o.get(it)),bt(e)&&c.push(o.get(Kn)));break;case"delete":F(e)||(c.push(o.get(it)),bt(e)&&c.push(o.get(Kn)));break;case"set":bt(e)&&c.push(o.get(it));break}if(c.length===1)c[0]&&zn(c[0]);else{const l=[];for(const f of c)f&&l.push(...f);zn(as(l))}}function zn(e,t){const n=F(e)?e:[...e];for(const s of n)s.computed&&qs(s);for(const s of n)s.computed||qs(s)}function qs(e,t){(e!==be||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Xi=is("__proto__,__v_isRef,__isVue"),Fr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(cs)),Zi=ds(),eo=ds(!1,!0),to=ds(!0),Hs=no();function no(){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++)de(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){Ot();const s=K(this)[t].apply(this,n);return Tt(),s}}),e}function so(e){const t=K(this);return de(t,"has",e),t.hasOwnProperty(e)}function ds(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?vo:Ur:t?Br:Nr).get(s))return s;const o=F(s);if(!e){if(o&&D(Hs,r))return Reflect.get(Hs,r,i);if(r==="hasOwnProperty")return so}const c=Reflect.get(s,r,i);return(cs(r)?Fr.has(r):Xi(r))||(e||de(s,"get",r),t)?c:le(c)?o&&us(r)?c:c.value:X(c)?e?$r(c):En(c):c}}const ro=jr(),io=jr(!0);function jr(e=!1){return function(n,s,r,i){let o=n[s];if(xt(o)&&le(o)&&!le(r))return!1;if(!e&&(!hn(r)&&!xt(r)&&(o=K(o),r=K(r)),!F(n)&&le(o)&&!le(r)))return o.value=r,!0;const c=F(n)&&us(s)?Number(s)<n.length:D(n,s),l=Reflect.set(n,s,r,i);return n===K(i)&&(c?Kt(r,o)&&Ue(n,"set",s,r):Ue(n,"add",s,r)),l}}function oo(e,t){const n=D(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ue(e,"delete",t,void 0),s}function lo(e,t){const n=Reflect.has(e,t);return(!cs(t)||!Fr.has(t))&&de(e,"has",t),n}function co(e){return de(e,"iterate",F(e)?"length":it),Reflect.ownKeys(e)}const Lr={get:Zi,set:ro,deleteProperty:oo,has:lo,ownKeys:co},uo={get:to,set(e,t){return!0},deleteProperty(e,t){return!0}},ao=ne({},Lr,{get:eo,set:io}),ps=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&&de(r,"get",t),de(r,"get",i));const{has:o}=An(r),c=s?ps:n?_s: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&&de(s,"has",e),de(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&&de(K(e),"iterate",it),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),Ue(t,"add",e,e)),this}function Fs(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?Kt(t,o)&&Ue(n,"set",e,t):Ue(n,"add",e,t),this}function js(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&&Ue(t,"delete",e,void 0),i}function Ls(){const e=K(this),t=e.size!==0,n=e.clear();return t&&Ue(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?ps:e?_s:Qt;return!e&&de(c,"iterate",it),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?ps:t?_s:Qt;return!t&&de(i,"iterate",l?Kn:it),{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 We(e){return function(...t){return e==="delete"?!1:this}}function fo(){const e={get(i){return en(this,i)},get size(){return nn(this)},has:tn,add:ks,set:Fs,delete:js,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:Fs,delete:js,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:We("add"),set:We("set"),delete:We("delete"),clear:We("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:We("add"),set:We("set"),delete:We("delete"),clear:We("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[po,ho,go,mo]=fo();function hs(e,t){const n=t?e?mo:go:e?ho:po;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(D(n,r)&&r in s?n:s,r,i)}const _o={get:hs(!1,!1)},yo={get:hs(!1,!0)},bo={get:hs(!0,!1)},Nr=new WeakMap,Br=new WeakMap,Ur=new WeakMap,vo=new WeakMap;function wo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ao(e){return e.__v_skip||!Object.isExtensible(e)?0:wo(Fi(e))}function En(e){return xt(e)?e:gs(e,!1,Lr,_o,Nr)}function Dr(e){return gs(e,!1,ao,yo,Br)}function $r(e){return gs(e,!0,uo,bo,Ur)}function gs(e,t,n,s,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Ao(e);if(o===0)return e;const c=new Proxy(e,o===2?s:n);return r.set(e,c),c}function vt(e){return xt(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function xt(e){return!!(e&&e.__v_isReadonly)}function hn(e){return!!(e&&e.__v_isShallow)}function Kr(e){return vt(e)||xt(e)}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function ms(e){return pn(e,"__v_skip",!0),e}const Qt=e=>X(e)?En(e):e,_s=e=>X(e)?$r(e):e;function zr(e){Ye&&be&&(e=K(e),kr(e.dep||(e.dep=as())))}function Wr(e,t){e=K(e);const n=e.dep;n&&zn(n)}function le(e){return!!(e&&e.__v_isRef===!0)}function Nt(e){return Qr(e,!1)}function Eo(e){return Qr(e,!0)}function Qr(e,t){return le(e)?e:new xo(e,t)}class xo{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 zr(this),this._value}set value(t){const n=this.__v_isShallow||hn(t)||xt(t);t=n?t:K(t),Kt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Qt(t),Wr(this))}}function wt(e){return le(e)?e.value:e}const Io={get:(e,t,n)=>wt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return le(r)&&!le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Jr(e){return vt(e)?e:new Proxy(e,Io)}class Po{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 fs(t,()=>{this._dirty||(this._dirty=!0,Wr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=K(this);return zr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ro(e,t,n=!1){let s,r;const i=N(e);return i?(s=e,r=Ae):(s=e.get,r=e.set),new Po(s,r,i||!r,n)}function Ve(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){xn(i,t,n)}return r}function Ee(e,t,n,s){if(N(e)){const i=Ve(e,t,n,s);return i&&Ir(i)&&i.catch(o=>{xn(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ee(e[i],t,n,s));return r}function 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){Ve(l,null,10,[e,o,c]);return}}So(e,n,r,s)}function So(e,t,n,s=!0){console.error(e)}let Jt=!1,Wn=!1;const ie=[];let qe=0;const At=[];let Le=null,st=0;const Gr=Promise.resolve();let ys=null;function Yr(e){const t=ys||Gr;return e?t.then(this?e.bind(this):e):t}function Co(e){let t=qe+1,n=ie.length;for(;t<n;){const s=t+n>>>1;Gt(ie[s])<e?t=s+1:n=s}return t}function bs(e){(!ie.length||!ie.includes(e,Jt&&e.allowRecurse?qe+1:qe))&&(e.id==null?ie.push(e):ie.splice(Co(e.id),0,e),Vr())}function Vr(){!Jt&&!Wn&&(Wn=!0,ys=Gr.then(Zr))}function Oo(e){const t=ie.indexOf(e);t>qe&&ie.splice(t,1)}function To(e){F(e)?At.push(...e):(!Le||!Le.includes(e,e.allowRecurse?st+1:st))&&At.push(e),Vr()}function Ns(e,t=Jt?qe+1:0){for(;t<ie.length;t++){const n=ie[t];n&&n.pre&&(ie.splice(t,1),t--,n())}}function Xr(e){if(At.length){const t=[...new Set(At)];if(At.length=0,Le){Le.push(...t);return}for(Le=t,Le.sort((n,s)=>Gt(n)-Gt(s)),st=0;st<Le.length;st++)Le[st]();Le=null,st=0}}const Gt=e=>e.id==null?1/0:e.id,Mo=(e,t)=>{const n=Gt(e)-Gt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Zr(e){Wn=!1,Jt=!0,ie.sort(Mo);const t=Ae;try{for(qe=0;qe<ie.length;qe++){const n=ie[qe];n&&n.active!==!1&&Ve(n,null,14)}}finally{qe=0,ie.length=0,Xr(),Jt=!1,ys=null,(ie.length||At.length)&&Zr()}}function qo(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||V;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:g}=s[d]||V;g&&(r=n.map(b=>ee(b)?b.trim():b)),h&&(r=n.map(Ni))}let c,l=s[c=Tn(t)]||s[c=Tn(Et(t))];!l&&i&&(l=s[c=Tn(Ct(t))]),l&&Ee(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,Ee(f,e,6,r)}}function ei(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=ei(f,t,!0);d&&(c=!0,ne(o,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!c?(X(e)&&s.set(e,null),null):(F(i)?i.forEach(l=>o[l]=null):ne(o,i),X(e)&&s.set(e,o),o)}function In(e,t){return!e||!bn(t)?!1:(t=t.slice(2).replace(/Once$/,""),D(e,t[0].toLowerCase()+t.slice(1))||D(e,Ct(t))||D(e,t))}let He=null,Pn=null;function gn(e){const t=He;return He=e,Pn=e&&e.type.__scopeId||null,t}function Ho(e){Pn=e}function ko(){Pn=null}function Fo(e,t=He,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Gs(-1);const i=gn(t);let o;try{o=e(...r)}finally{gn(i),s._d&&Gs(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function qn(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:S,inheritAttrs:O}=e;let L,q;const H=gn(e);try{if(n.shapeFlag&4){const k=r||s;L=Me(d.call(k,k,h,i,b,g,S)),q=l}else{const k=t;L=Me(k.length>1?k(i,{attrs:l,slots:c,emit:f}):k(i,null)),q=t.props?l:jo(l)}}catch(k){Ut.length=0,xn(k,e,1),L=he(lt)}let $=L;if(q&&O!==!1){const k=Object.keys(q),{shapeFlag:se}=$;k.length&&se&7&&(o&&k.some(os)&&(q=Lo(q,o)),$=It($,q))}return n.dirs&&($=It($),$.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&($.transition=n.transition),L=$,gn(H),L}const jo=e=>{let t;for(const n in e)(n==="class"||n==="style"||bn(n))&&((t||(t={}))[n]=e[n]);return t},Lo=(e,t)=>{const n={};for(const s in e)(!os(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function No(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?Bs(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?Bs(s,o,f):!0:!!o;return!1}function Bs(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!In(n,i))return!0}return!1}function Bo({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Uo=e=>e.__isSuspense;function Do(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):To(e)}const on={};function cn(e,t,n){return ti(e,t,n)}function ti(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=V){var c;const l=Gi()===((c=oe)==null?void 0:c.scope)?oe:null;let f,d=!1,h=!1;if(le(e)?(f=()=>e.value,d=hn(e)):vt(e)?(f=()=>e,s=!0):F(e)?(h=!0,d=e.some(k=>vt(k)||hn(k)),f=()=>e.map(k=>{if(le(k))return k.value;if(vt(k))return mt(k);if(N(k))return Ve(k,l,2)})):N(e)?t?f=()=>Ve(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),Ee(e,l,3,[b])}:f=Ae,t&&s){const k=f;f=()=>mt(k())}let g,b=k=>{g=H.onStop=()=>{Ve(k,l,4)}},S;if(Vt)if(b=Ae,t?n&&Ee(t,l,3,[f(),h?[]:void 0,b]):f(),r==="sync"){const k=kl();S=k.__watcherHandles||(k.__watcherHandles=[])}else return Ae;let O=h?new Array(e.length).fill(on):on;const L=()=>{if(H.active)if(t){const k=H.run();(s||d||(h?k.some((se,ce)=>Kt(se,O[ce])):Kt(k,O)))&&(g&&g(),Ee(t,l,3,[k,O===on?void 0:h&&O[0]===on?[]:O,b]),O=k)}else H.run()};L.allowRecurse=!!t;let q;r==="sync"?q=L:r==="post"?q=()=>fe(L,l&&l.suspense):(L.pre=!0,l&&(L.id=l.uid),q=()=>bs(L));const H=new fs(f,q);t?n?L():O=H.run():r==="post"?fe(H.run.bind(H),l&&l.suspense):H.run();const $=()=>{H.stop(),l&&l.scope&&ls(l.scope.effects,H)};return S&&S.push($),$}function $o(e,t,n){const s=this.proxy,r=ee(e)?e.includes(".")?ni(s,e):()=>s[e]:e.bind(s,s);let i;N(t)?i=t:(i=t.handler,n=t);const o=oe;Pt(this);const c=ti(r,i.bind(s),n);return o?Pt(o):ot(),c}function ni(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 mt(e,t){if(!X(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),le(e))mt(e.value,t);else if(F(e))for(let n=0;n<e.length;n++)mt(e[n],t);else if(xr(e)||bt(e))e.forEach(n=>{mt(n,t)});else if(Rr(e))for(const n in e)mt(e[n],t);return e}function et(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&&(Ot(),Ee(l,n,8,[e.el,c,e,t]),Tt())}}function si(e,t){return N(e)?(()=>ne({name:e.name},t,{setup:e}))():e}const un=e=>!!e.type.__asyncLoader,ri=e=>e.type.__isKeepAlive;function Ko(e,t){ii(e,"a",t)}function zo(e,t){ii(e,"da",t)}function ii(e,t,n=oe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Rn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ri(r.parent.vnode)&&Wo(s,t,n,r),r=r.parent}}function Wo(e,t,n,s){const r=Rn(t,e,s,!0);li(()=>{ls(s[t],r)},n)}function Rn(e,t,n=oe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Ot(),Pt(n);const c=Ee(t,n,e,o);return ot(),Tt(),c});return s?r.unshift(i):r.push(i),i}}const De=e=>(t,n=oe)=>(!Vt||e==="sp")&&Rn(e,(...s)=>t(...s),n),Qo=De("bm"),oi=De("m"),Jo=De("bu"),Go=De("u"),Yo=De("bum"),li=De("um"),Vo=De("sp"),Xo=De("rtg"),Zo=De("rtc");function el(e,t=oe){Rn("ec",e,t)}const tl=Symbol.for("v-ndc");function nl(e,t,n,s){let r;const i=n&&n[s];if(F(e)||ee(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(X(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 Qn=e=>e?yi(e)?xs(e)||e.proxy:Qn(e.parent):null,Bt=ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Qn(e.parent),$root:e=>Qn(e.root),$emit:e=>e.emit,$options:e=>vs(e),$forceUpdate:e=>e.f||(e.f=()=>bs(e.update)),$nextTick:e=>e.n||(e.n=Yr.bind(e.proxy)),$watch:e=>$o.bind(e)}),Hn=(e,t)=>e!==V&&!e.__isScriptSetup&&D(e,t),sl={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(Hn(s,t))return o[t]=1,s[t];if(r!==V&&D(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&D(f,t))return o[t]=3,i[t];if(n!==V&&D(n,t))return o[t]=4,n[t];Jn&&(o[t]=0)}}const d=Bt[t];let h,g;if(d)return t==="$attrs"&&de(e,"get",t),d(e);if((h=c.__cssModules)&&(h=h[t]))return h;if(n!==V&&D(n,t))return o[t]=4,n[t];if(g=l.config.globalProperties,D(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Hn(r,t)?(r[t]=n,!0):s!==V&&D(s,t)?(s[t]=n,!0):D(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!==V&&D(e,o)||Hn(t,o)||(c=i[0])&&D(c,o)||D(s,o)||D(Bt,o)||D(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:D(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Us(e){return F(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Jn=!0;function rl(e){const t=vs(e),n=e.proxy,s=e.ctx;Jn=!1,t.beforeCreate&&Ds(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:S,activated:O,deactivated:L,beforeDestroy:q,beforeUnmount:H,destroyed:$,unmounted:k,render:se,renderTracked:ce,renderTriggered:Ie,errorCaptured:ke,serverPrefetch:ct,expose:Pe,inheritAttrs:Ke,components:Ze,directives:Re,filters:Mt}=t;if(f&&il(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);X(G)&&(e.data=En(G))}if(Jn=!0,i)for(const G in i){const z=i[G],Fe=N(z)?z.bind(n,n):N(z.get)?z.get.bind(n,n):Ae,ze=!N(z)&&N(z.set)?z.set.bind(n):Ae,Se=ve({get:Fe,set:ze});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>Se.value,set:ae=>Se.value=ae})}if(c)for(const G in c)ci(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&&Ds(d,e,"c");function te(G,z){F(z)?z.forEach(Fe=>G(Fe.bind(n))):z&&G(z.bind(n))}if(te(Qo,h),te(oi,g),te(Jo,b),te(Go,S),te(Ko,O),te(zo,L),te(el,ke),te(Zo,ce),te(Xo,Ie),te(Yo,H),te(li,k),te(Vo,ct),F(Pe))if(Pe.length){const G=e.exposed||(e.exposed={});Pe.forEach(z=>{Object.defineProperty(G,z,{get:()=>n[z],set:Fe=>n[z]=Fe})})}else e.exposed||(e.exposed={});se&&e.render===Ae&&(e.render=se),Ke!=null&&(e.inheritAttrs=Ke),Ze&&(e.components=Ze),Re&&(e.directives=Re)}function il(e,t,n=Ae){F(e)&&(e=Gn(e));for(const s in e){const r=e[s];let i;X(r)?"default"in r?i=Be(r.from||s,r.default,!0):i=Be(r.from||s):i=Be(r),le(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Ds(e,t,n){Ee(F(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ci(e,t,n,s){const r=s.includes(".")?ni(n,s):()=>n[s];if(ee(e)){const i=t[e];N(i)&&cn(r,i)}else if(N(e))cn(r,e.bind(n));else if(X(e))if(F(e))e.forEach(i=>ci(i,t,n,s));else{const i=N(e.handler)?e.handler.bind(n):t[e.handler];N(i)&&cn(r,i,e)}}function vs(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)),X(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=ol[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const ol={data:$s,props:Ks,emits:Ks,methods:Lt,computed:Lt,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Lt,directives:Lt,watch:cl,provide:$s,inject:ll};function $s(e,t){return t?e?function(){return ne(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function ll(e,t){return Lt(Gn(e),Gn(t))}function Gn(e){if(F(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function Lt(e,t){return e?ne(Object.create(null),e,t):t}function Ks(e,t){return e?F(e)&&F(t)?[...new Set([...e,...t])]:ne(Object.create(null),Us(e),Us(t??{})):t}function cl(e,t){if(!e)return t;if(!t)return e;const n=ne(Object.create(null),e);for(const s in t)n[s]=ue(e[s],t[s]);return n}function ui(){return{app:null,config:{isNativeTag:qi,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 ul=0;function al(e,t){return function(s,r=null){N(s)||(s=ne({},s)),r!=null&&!X(r)&&(r=null);const i=ui(),o=new Set;let c=!1;const l=i.app={_uid:ul++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Fl,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=he(s,r);return g.appContext=i,d&&t?t(g,f):e(g,f,h),c=!0,l._container=f,f.__vue_app__=l,xs(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(oe){let n=oe.provides;const s=oe.parent&&oe.parent.provides;s===n&&(n=oe.provides=Object.create(s)),n[e]=t}}function Be(e,t,n=!1){const s=oe||He;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 fl(e,t,n,s=!1){const r={},i={};pn(i,Cn,1),e.propsDefaults=Object.create(null),ai(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Dr(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function dl(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(D(i,g))b!==i[g]&&(i[g]=b,f=!0);else{const S=Et(g);r[S]=Yn(l,c,S,b,e,!1)}else b!==i[g]&&(i[g]=b,f=!0)}}}else{ai(e,t,r,i)&&(f=!0);let d;for(const h in c)(!t||!D(t,h)&&((d=Ct(h))===h||!D(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||!D(t,h))&&(delete i[h],f=!0)}f&&Ue(e,"set","$attrs")}function ai(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&&D(r,d=Et(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||V;for(let d=0;d<i.length;d++){const h=i[d];n[h]=Yn(r,l,h,f[h],e,!D(f,h))}}return o}function Yn(e,t,n,s,r,i){const o=e[n];if(o!=null){const c=D(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]:(Pt(r),s=f[n]=l.call(null,t),ot())}else s=l}o[0]&&(i&&!c?s=!1:o[1]&&(s===""||s===Ct(n))&&(s=!0))}return s}function fi(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]=fi(h,t,!0);ne(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 X(e)&&s.set(e,yt),yt;if(F(i))for(let d=0;d<i.length;d++){const h=Et(i[d]);zs(h)&&(o[h]=V)}else if(i)for(const d in i){const h=Et(d);if(zs(h)){const g=i[d],b=o[h]=F(g)||N(g)?{type:g}:ne({},g);if(b){const S=Js(Boolean,b.type),O=Js(String,b.type);b[0]=S>-1,b[1]=O<0||S<O,(S>-1||D(b,"default"))&&c.push(h)}}}const f=[o,c];return X(e)&&s.set(e,f),f}function zs(e){return e[0]!=="$"}function Ws(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Qs(e,t){return Ws(e)===Ws(t)}function Js(e,t){return F(t)?t.findIndex(n=>Qs(n,e)):N(t)&&Qs(t,e)?0:-1}const di=e=>e[0]==="_"||e==="$stable",ws=e=>F(e)?e.map(Me):[Me(e)],pl=(e,t,n)=>{if(t._n)return t;const s=Fo((...r)=>ws(t(...r)),n);return s._c=!1,s},pi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(di(r))continue;const i=e[r];if(N(i))t[r]=pl(r,i,s);else if(i!=null){const o=ws(i);t[r]=()=>o}}},hi=(e,t)=>{const n=ws(t);e.slots.default=()=>n},hl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=K(t),pn(t,"_",n)):pi(t,e.slots={})}else e.slots={},t&&hi(e,t);pn(e.slots,Cn,1)},gl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=V;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:(ne(r,t),!n&&c===1&&delete r._):(i=!t.$stable,pi(t,r)),o=t}else t&&(hi(e,t),o={default:1});if(i)for(const c in r)!di(c)&&!(c in o)&&delete r[c]};function Vn(e,t,n,s,r=!1){if(F(e)){e.forEach((g,b)=>Vn(g,t&&(F(t)?t[b]:t),n,s,r));return}if(un(s)&&!r)return;const i=s.shapeFlag&4?xs(s.component)||s.component.proxy:s.el,o=r?null:i,{i:c,r:l}=e,f=t&&t.r,d=c.refs===V?c.refs={}:c.refs,h=c.setupState;if(f!=null&&f!==l&&(ee(f)?(d[f]=null,D(h,f)&&(h[f]=null)):le(f)&&(f.value=null)),N(l))Ve(l,c,12,[o,d]);else{const g=ee(l),b=le(l);if(g||b){const S=()=>{if(e.f){const O=g?D(h,l)?h[l]:d[l]:l.value;r?F(O)&&ls(O,i):F(O)?O.includes(i)||O.push(i):g?(d[l]=[i],D(h,l)&&(h[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,D(h,l)&&(h[l]=o)):b&&(l.value=o,e.k&&(d[e.k]=o))};o?(S.id=-1,fe(S,n)):S()}}}const fe=Do;function ml(e){return _l(e)}function _l(e,t){const n=Un();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=Ae,insertStaticContent:S}=e,O=(u,a,p,m=null,y=null,v=null,I=!1,A=null,E=!!a.dynamicChildren)=>{if(u===a)return;u&&!Ht(u,a)&&(m=_(u),ae(u,y,v,!0),u=null),a.patchFlag===-2&&(E=!1,a.dynamicChildren=null);const{type:w,ref:T,shapeFlag:R}=a;switch(w){case Sn:L(u,a,p,m);break;case lt:q(u,a,p,m);break;case kn:u==null&&H(a,p,m,I);break;case Te:Ze(u,a,p,m,y,v,I,A,E);break;default:R&1?se(u,a,p,m,y,v,I,A,E):R&6?Re(u,a,p,m,y,v,I,A,E):(R&64||R&128)&&w.process(u,a,p,m,y,v,I,A,E,x)}T!=null&&y&&Vn(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)}},q=(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]=S(u.children,a,p,m,u.el,u.anchor)},$=({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)},k=({el:u,anchor:a})=>{let p;for(;u&&u!==a;)p=g(u),r(u),u=p;r(a)},se=(u,a,p,m,y,v,I,A,E)=>{I=I||a.type==="svg",u==null?ce(a,p,m,y,v,I,A,E):ct(u,a,y,v,I,A,E)},ce=(u,a,p,m,y,v,I,A)=>{let E,w;const{type:T,props:R,shapeFlag:M,transition:j,dirs:B}=u;if(E=u.el=o(u.type,v,R&&R.is,R),M&8?d(E,u.children):M&16&&ke(u.children,E,null,m,y,v&&T!=="foreignObject",I,A),B&&et(u,null,m,"created"),Ie(E,u,u.scopeId,I,m),R){for(const J in R)J!=="value"&&!ln(J)&&i(E,J,null,R[J],v,u.children,m,y,re);"value"in R&&i(E,"value",null,R.value),(w=R.onVnodeBeforeMount)&&Oe(w,m,u)}B&&et(u,null,m,"beforeMount");const Y=(!y||y&&!y.pendingBranch)&&j&&!j.persisted;Y&&j.beforeEnter(E),s(E,a,p),((w=R&&R.onVnodeMounted)||Y||B)&&fe(()=>{w&&Oe(w,m,u),Y&&j.enter(E),B&&et(u,null,m,"mounted")},y)},Ie=(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;Ie(u,I,I.scopeId,I.slotScopeIds,y.parent)}}},ke=(u,a,p,m,y,v,I,A,E=0)=>{for(let w=E;w<u.length;w++){const T=u[w]=A?Je(u[w]):Me(u[w]);O(null,T,a,p,m,y,v,I,A)}},ct=(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 R=u.props||V,M=a.props||V;let j;p&&tt(p,!1),(j=M.onVnodeBeforeUpdate)&&Oe(j,p,a,u),T&&et(a,u,p,"beforeUpdate"),p&&tt(p,!0);const B=y&&a.type!=="foreignObject";if(w?Pe(u.dynamicChildren,w,A,p,m,B,v):I||z(u,a,A,null,p,m,B,v,!1),E>0){if(E&16)Ke(A,a,R,M,p,m,y);else if(E&2&&R.class!==M.class&&i(A,"class",null,M.class,y),E&4&&i(A,"style",R.style,M.style,y),E&8){const Y=a.dynamicProps;for(let J=0;J<Y.length;J++){const Z=Y[J],_e=R[Z],dt=M[Z];(dt!==_e||Z==="value")&&i(A,Z,_e,dt,y,u.children,p,m,re)}}E&1&&u.children!==a.children&&d(A,a.children)}else!I&&w==null&&Ke(A,a,R,M,p,m,y);((j=M.onVnodeUpdated)||T)&&fe(()=>{j&&Oe(j,p,a,u),T&&et(a,u,p,"updated")},m)},Pe=(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===Te||!Ht(E,w)||E.shapeFlag&70)?h(E.el):p;O(E,w,T,null,m,y,v,I,!0)}},Ke=(u,a,p,m,y,v,I)=>{if(p!==m){if(p!==V)for(const A in p)!ln(A)&&!(A in m)&&i(u,A,p[A],null,I,a.children,y,v,re);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,re)}"value"in m&&i(u,"value",p.value,m.value)}},Ze=(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:R,dynamicChildren:M,slotScopeIds:j}=a;j&&(A=A?A.concat(j):j),u==null?(s(w,p,m),s(T,p,m),ke(a.children,p,T,y,v,I,A,E)):R>0&&R&64&&M&&u.dynamicChildren?(Pe(u.dynamicChildren,M,p,y,v,I,A),(a.key!=null||y&&a===y.subTree)&&gi(u,a,!0)):z(u,a,p,T,y,v,I,A,E)},Re=(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):Mt(a,p,m,y,v,I,E):ut(u,a,E)},Mt=(u,a,p,m,y,v,I)=>{const A=u.component=Sl(u,m,y);if(ri(u)&&(A.ctx.renderer=x),Cl(A),A.asyncDep){if(y&&y.registerDep(A,te),!u.el){const E=A.subTree=he(lt);q(null,E,a,p)}return}te(A,u,a,p,y,v,I)},ut=(u,a,p)=>{const m=a.component=u.component;if(No(u,a,p))if(m.asyncDep&&!m.asyncResolved){G(m,a,p);return}else m.next=a,Oo(m.update),m.update();else a.el=u.el,m.vnode=a},te=(u,a,p,m,y,v,I)=>{const A=()=>{if(u.isMounted){let{next:T,bu:R,u:M,parent:j,vnode:B}=u,Y=T,J;tt(u,!1),T?(T.el=B.el,G(u,T,I)):T=B,R&&Mn(R),(J=T.props&&T.props.onVnodeBeforeUpdate)&&Oe(J,j,T,B),tt(u,!0);const Z=qn(u),_e=u.subTree;u.subTree=Z,O(_e,Z,h(_e.el),_(_e),u,y,v),T.el=Z.el,Y===null&&Bo(u,Z.el),M&&fe(M,y),(J=T.props&&T.props.onVnodeUpdated)&&fe(()=>Oe(J,j,T,B),y)}else{let T;const{el:R,props:M}=a,{bm:j,m:B,parent:Y}=u,J=un(a);if(tt(u,!1),j&&Mn(j),!J&&(T=M&&M.onVnodeBeforeMount)&&Oe(T,Y,a),tt(u,!0),R&&W){const Z=()=>{u.subTree=qn(u),W(R,u.subTree,u,y,null)};J?a.type.__asyncLoader().then(()=>!u.isUnmounted&&Z()):Z()}else{const Z=u.subTree=qn(u);O(null,Z,p,m,u,y,v),a.el=Z.el}if(B&&fe(B,y),!J&&(T=M&&M.onVnodeMounted)){const Z=a;fe(()=>Oe(T,Y,Z),y)}(a.shapeFlag&256||Y&&un(Y.vnode)&&Y.vnode.shapeFlag&256)&&u.a&&fe(u.a,y),u.isMounted=!0,a=p=m=null}},E=u.effect=new fs(A,()=>bs(w),u.scope),w=u.update=()=>E.run();w.id=u.uid,tt(u,!0),w()},G=(u,a,p)=>{a.component=u;const m=u.vnode.props;u.vnode=a,u.next=null,dl(u,a.props,m,p),gl(u,a.children,p),Ot(),Ns(),Tt()},z=(u,a,p,m,y,v,I,A,E=!1)=>{const w=u&&u.children,T=u?u.shapeFlag:0,R=a.children,{patchFlag:M,shapeFlag:j}=a;if(M>0){if(M&128){ze(w,R,p,m,y,v,I,A,E);return}else if(M&256){Fe(w,R,p,m,y,v,I,A,E);return}}j&8?(T&16&&re(w,y,v),R!==w&&d(p,R)):T&16?j&16?ze(w,R,p,m,y,v,I,A,E):re(w,y,v,!0):(T&8&&d(p,""),j&16&&ke(R,p,m,y,v,I,A,E))},Fe=(u,a,p,m,y,v,I,A,E)=>{u=u||yt,a=a||yt;const w=u.length,T=a.length,R=Math.min(w,T);let M;for(M=0;M<R;M++){const j=a[M]=E?Je(a[M]):Me(a[M]);O(u[M],j,p,null,y,v,I,A,E)}w>T?re(u,y,v,!0,!1,R):ke(a,p,m,y,v,I,A,E,R)},ze=(u,a,p,m,y,v,I,A,E)=>{let w=0;const T=a.length;let R=u.length-1,M=T-1;for(;w<=R&&w<=M;){const j=u[w],B=a[w]=E?Je(a[w]):Me(a[w]);if(Ht(j,B))O(j,B,p,null,y,v,I,A,E);else break;w++}for(;w<=R&&w<=M;){const j=u[R],B=a[M]=E?Je(a[M]):Me(a[M]);if(Ht(j,B))O(j,B,p,null,y,v,I,A,E);else break;R--,M--}if(w>R){if(w<=M){const j=M+1,B=j<T?a[j].el:m;for(;w<=M;)O(null,a[w]=E?Je(a[w]):Me(a[w]),p,B,y,v,I,A,E),w++}}else if(w>M)for(;w<=R;)ae(u[w],y,v,!0),w++;else{const j=w,B=w,Y=new Map;for(w=B;w<=M;w++){const pe=a[w]=E?Je(a[w]):Me(a[w]);pe.key!=null&&Y.set(pe.key,w)}let J,Z=0;const _e=M-B+1;let dt=!1,Ss=0;const qt=new Array(_e);for(w=0;w<_e;w++)qt[w]=0;for(w=j;w<=R;w++){const pe=u[w];if(Z>=_e){ae(pe,y,v,!0);continue}let Ce;if(pe.key!=null)Ce=Y.get(pe.key);else for(J=B;J<=M;J++)if(qt[J-B]===0&&Ht(pe,a[J])){Ce=J;break}Ce===void 0?ae(pe,y,v,!0):(qt[Ce-B]=w+1,Ce>=Ss?Ss=Ce:dt=!0,O(pe,a[Ce],p,null,y,v,I,A,E),Z++)}const Cs=dt?yl(qt):yt;for(J=Cs.length-1,w=_e-1;w>=0;w--){const pe=B+w,Ce=a[pe],Os=pe+1<T?a[pe+1].el:m;qt[w]===0?O(null,Ce,p,Os,y,v,I,A,E):dt&&(J<0||w!==Cs[J]?Se(Ce,p,Os,2):J--)}}},Se=(u,a,p,m,y=null)=>{const{el:v,type:I,transition:A,children:E,shapeFlag:w}=u;if(w&6){Se(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===Te){s(v,a,p);for(let R=0;R<E.length;R++)Se(E[R],a,p,m);s(u.anchor,a,p);return}if(I===kn){$(u,a,p);return}if(m!==2&&w&1&&A)if(m===0)A.beforeEnter(v),s(v,a,p),fe(()=>A.enter(v),y);else{const{leave:R,delayLeave:M,afterLeave:j}=A,B=()=>s(v,a,p),Y=()=>{R(v,()=>{B(),j&&j()})};M?M(v,B,Y):Y()}else s(v,a,p)},ae=(u,a,p,m=!1,y=!1)=>{const{type:v,props:I,ref:A,children:E,dynamicChildren:w,shapeFlag:T,patchFlag:R,dirs:M}=u;if(A!=null&&Vn(A,null,p,u,!0),T&256){a.ctx.deactivate(u);return}const j=T&1&&M,B=!un(u);let Y;if(B&&(Y=I&&I.onVnodeBeforeUnmount)&&Oe(Y,a,u),T&6)Zt(u.component,p,m);else{if(T&128){u.suspense.unmount(p,m);return}j&&et(u,null,a,"beforeUnmount"),T&64?u.type.remove(u,a,p,y,x,m):w&&(v!==Te||R>0&&R&64)?re(w,a,p,!1,!0):(v===Te&&R&384||!y&&T&16)&&re(E,a,p),m&&at(u)}(B&&(Y=I&&I.onVnodeUnmounted)||j)&&fe(()=>{Y&&Oe(Y,a,u),j&&et(u,null,a,"unmounted")},p)},at=u=>{const{type:a,el:p,anchor:m,transition:y}=u;if(a===Te){ft(p,m);return}if(a===kn){k(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()},ft=(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,ae(I,u,a,p)),A&&fe(A,a),fe(()=>{u.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},re=(u,a,p,m=!1,y=!1,v=0)=>{for(let I=v;I<u.length;I++)ae(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&&ae(a._vnode,null,null,!0):O(a._vnode||null,u,a,null,null,null,p),Ns(),Xr(),a._vnode=u},x={p:O,um:ae,m:Se,r:at,mt:Mt,mc:ke,pc:z,pbc:Pe,n:_,o:e};let C,W;return t&&([C,W]=t(x)),{render:P,hydrate:C,createApp:al(P,C)}}function tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function gi(e,t,n=!1){const s=e.children,r=t.children;if(F(s)&&F(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]=Je(r[i]),c.el=o.el),n||gi(o,c)),c.type===Sn&&(c.el=o.el)}}function yl(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 bl=e=>e.__isTeleport,Te=Symbol.for("v-fgt"),Sn=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),kn=Symbol.for("v-stc"),Ut=[];let we=null;function nt(e=!1){Ut.push(we=e?null:[])}function vl(){Ut.pop(),we=Ut[Ut.length-1]||null}let Yt=1;function Gs(e){Yt+=e}function mi(e){return e.dynamicChildren=Yt>0?we||yt:null,vl(),Yt>0&&we&&we.push(e),e}function pt(e,t,n,s,r,i){return mi(me(e,t,n,s,r,i,!0))}function wl(e,t,n,s,r){return mi(he(e,t,n,s,r,!0))}function Xn(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){return e.type===t.type&&e.key===t.key}const Cn="__vInternal",_i=({key:e})=>e??null,fn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ee(e)||le(e)||N(e)?{i:He,r:e,k:t,f:!!n}:e:null);function me(e,t=null,n=null,s=0,r=null,i=e===Te?0:1,o=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_i(t),ref:t&&fn(t),scopeId:Pn,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:He};return c?(As(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ee(n)?8:16),Yt>0&&!o&&we&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&we.push(l),l}const he=Al;function Al(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===tl)&&(e=lt),Xn(e)){const c=It(e,t,!0);return n&&As(c,n),Yt>0&&!i&&we&&(c.shapeFlag&6?we[we.indexOf(e)]=c:we.push(c)),c.patchFlag|=-2,c}if(ql(e)&&(e=e.__vccOpts),t){t=El(t);let{class:c,style:l}=t;c&&!ee(c)&&(t.class=Wt(c)),X(l)&&(Kr(l)&&!F(l)&&(l=ne({},l)),t.style=zt(l))}const o=ee(e)?1:Uo(e)?128:bl(e)?64:X(e)?4:N(e)?2:0;return me(e,t,n,s,r,o,i,!0)}function El(e){return e?Kr(e)||Cn in e?ne({},e):e:null}function It(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,c=t?Il(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&_i(c),ref:t&&t.ref?n&&r?F(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!==Te?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&&It(e.ssContent),ssFallback:e.ssFallback&&It(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Zn(e=" ",t=0){return he(Sn,null,e,t)}function xl(e="",t=!1){return t?(nt(),wl(lt,null,e)):he(lt,null,e)}function Me(e){return e==null||typeof e=="boolean"?he(lt):F(e)?he(Te,null,e.slice()):typeof e=="object"?Je(e):he(Sn,null,String(e))}function Je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:It(e)}function As(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(F(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),As(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Cn in t)?t._ctx=He:r===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else N(t)?(t={default:t,_ctx:He},n=32):(t=String(t),s&64?(n=16,t=[Zn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Il(...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=zt([t.style,s.style]);else if(bn(r)){const i=t[r],o=s[r];o&&i!==o&&!(F(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Oe(e,t,n,s=null){Ee(e,t,7,[n,s])}const Pl=ui();let Rl=0;function Sl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Pl,i={uid:Rl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Tr(!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:fi(s,r),emitsOptions:ei(s,r),emit:null,emitted:null,propsDefaults:V,inheritAttrs:s.inheritAttrs,ctx:V,data:V,props:V,attrs:V,slots:V,refs:V,setupState:V,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=qo.bind(null,i),e.ce&&e.ce(i),i}let oe=null,Es,ht,Ys="__VUE_INSTANCE_SETTERS__";(ht=Un()[Ys])||(ht=Un()[Ys]=[]),ht.push(e=>oe=e),Es=e=>{ht.length>1?ht.forEach(t=>t(e)):ht[0](e)};const Pt=e=>{Es(e),e.scope.on()},ot=()=>{oe&&oe.scope.off(),Es(null)};function yi(e){return e.vnode.shapeFlag&4}let Vt=!1;function Cl(e,t=!1){Vt=t;const{props:n,children:s}=e.vnode,r=yi(e);fl(e,n,r,t),hl(e,s);const i=r?Ol(e,t):void 0;return Vt=!1,i}function Ol(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ms(new Proxy(e.ctx,sl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Ml(e):null;Pt(e),Ot();const i=Ve(s,e,0,[e.props,r]);if(Tt(),ot(),Ir(i)){if(i.then(ot,ot),t)return i.then(o=>{Vs(e,o,t)}).catch(o=>{xn(o,e,0)});e.asyncDep=i}else Vs(e,i,t)}else bi(e,t)}function Vs(e,t,n){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=Jr(t)),bi(e,n)}let Xs;function bi(e,t,n){const s=e.type;if(!e.render){if(!t&&Xs&&!s.render){const r=s.template||vs(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:c,compilerOptions:l}=s,f=ne(ne({isCustomElement:i,delimiters:c},o),l);s.render=Xs(r,f)}}e.render=s.render||Ae}Pt(e),Ot(),rl(e),Tt(),ot()}function Tl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return de(e,"get","$attrs"),t[n]}}))}function Ml(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Tl(e)},slots:e.slots,emit:e.emit,expose:t}}function xs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Jr(ms(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Bt)return Bt[n](e)},has(t,n){return n in t||n in Bt}}))}function ql(e){return N(e)&&"__vccOpts"in e}const ve=(e,t)=>Ro(e,t,Vt);function vi(e,t,n){const s=arguments.length;return s===2?X(t)&&!F(t)?Xn(t)?he(e,null,[t]):he(e,t):he(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Xn(n)&&(n=[n]),he(e,t,n))}const Hl=Symbol.for("v-scx"),kl=()=>Be(Hl),Fl="3.3.4",jl="http://www.w3.org/2000/svg",rt=typeof document<"u"?document:null,Zs=rt&&rt.createElement("template"),Ll={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?rt.createElementNS(jl,e):rt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.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{Zs.innerHTML=s?`<svg>${e}</svg>`:e;const c=Zs.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 Nl(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 Bl(e,t,n){const s=e.style,r=ee(n);if(n&&!r){if(t&&!ee(t))for(const i in t)n[i]==null&&es(s,i,"");for(const i in n)es(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 er=/\s*!important$/;function es(e,t,n){if(F(n))n.forEach(s=>es(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ul(e,t);er.test(n)?e.setProperty(Ct(s),n.replace(er,""),"important"):e[s]=n}}const tr=["Webkit","Moz","ms"],Fn={};function Ul(e,t){const n=Fn[t];if(n)return n;let s=Et(t);if(s!=="filter"&&s in e)return Fn[t]=s;s=Sr(s);for(let r=0;r<tr.length;r++){const i=tr[r]+s;if(i in e)return Fn[t]=i}return t}const nr="http://www.w3.org/1999/xlink";function Dl(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(nr,t.slice(6,t.length)):e.setAttributeNS(nr,t,n);else{const i=zi(t);n==null||i&&!Cr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function $l(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=Cr(n):n==null&&f==="string"?(n="",l=!0):f==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Kl(e,t,n,s){e.addEventListener(t,n,s)}function zl(e,t,n,s){e.removeEventListener(t,n,s)}function Wl(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]=Ql(t);if(s){const f=i[t]=Yl(s,r);Kl(e,c,f,l)}else o&&(zl(e,c,o,l),i[t]=void 0)}}const sr=/(?:Once|Passive|Capture)$/;function Ql(e){let t;if(sr.test(e)){t={};let s;for(;s=e.match(sr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ct(e.slice(2)),t]}let jn=0;const Jl=Promise.resolve(),Gl=()=>jn||(Jl.then(()=>jn=0),jn=Date.now());function Yl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ee(Vl(s,n.value),t,5,[s])};return n.value=e,n.attached=Gl(),n}function Vl(e,t){if(F(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 rr=/^on[a-z]/,Xl=(e,t,n,s,r=!1,i,o,c,l)=>{t==="class"?Nl(e,s,r):t==="style"?Bl(e,n,s):bn(t)?os(t)||Wl(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Zl(e,t,s,r))?$l(e,t,s,i,o,c,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Dl(e,t,s,r))};function Zl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&rr.test(t)&&N(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||rr.test(t)&&ee(n)?!1:t in e}const ec=ne({patchProp:Xl},Ll);let ir;function tc(){return ir||(ir=ml(ec))}const nc=(...e)=>{const t=tc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=sc(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 sc(e){return ee(e)?document.querySelector(e):e}var rc=!1;/*!
|
|
2
2
|
* pinia v2.1.6
|
|
3
3
|
* (c) 2023 Eduardo San Martin Morote
|
|
4
4
|
* @license MIT
|
|
5
|
-
*/const ic=Symbol();var lr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(lr||(lr={}));function oc(){const e=Qi(!0),t=e.run(()=>ht({}));let n=[],s=[];const r=ms({install(i){r._a=i,i.provide(ic,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!rc?s.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}function lc(){let e=null,t=null;return[new Promise((s,r)=>{e=s,t=r}),e,t]}function cr(){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 es{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 cc{constructor(){this._requests={},this._messagesEventHandlers=new es,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=cr(),[r,i,o]=lc();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=cr();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 uc{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 an=new uc;class $e{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class ac extends $e{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 fc extends $e{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 Le={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 dc extends $e{constructor(){super()}canHandleRequest(t){return[U.raiseExternalAppMessagingEvent,U.setFastActionButtons,U.openSideBarSettings,U.isSudioMode].includes(t.request)}async raiseExternalAppMessagingEvent(t){return Bt._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,Le.externalAppMessaging,t.data.data),null}async setFastActionButtons(t){return Bt._eventHandler.publish("fastActionButtonsUpdated",t),!0}async openSideBarSettings(){return!0}async isSudioMode(){return!0}async handleRequest(t){return this[t.request](t)}}function ge(e=0,t=100){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}class pc extends $e{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return window.mockStatistics||[{viewers:null,type:"linkedinProfile"},{viewers:ge(),type:"twitterProfile",statistics:null,last_subscribers:null},{viewers:ge(),type:"twitchProfile",statistics:{channel:{subscribers:ge()}},last_subscribers:null},{viewers:ge(),type:"evmuxPlayer",statistics:null,last_subscribers:null},{viewers:ge(),type:"youtubeChannel",statistics:{viewCount:ge(),likeCount:ge(),dislikeCount:ge(),favoriteCount:ge(),commentCount:ge()},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:ge(),type:"facebookProfile",statistics:{total_reactions:ge()}}]}}class hc extends $e{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 gc extends $e{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 mc extends $e{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 _c extends $e{constructor(){super()}canHandleRequest(t){return[U.listAssets].includes(t.request)}async listAssets(t){return{value:window.mockAssets||[]}}}class yc extends $e{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 qt=(e,t,n)=>({requestName:e,eventName:t,data:n});class bc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new es,this._eventHandler=new es,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(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)),this._requestHandlers.push(new mc(t)),this._requestHandlers.push(new _c(t)),this._requestHandlers.push(new yc(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=qt("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 an.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(an.updateUserAppInstanceSettings(t,n),this._userAppInstances[t]&&this._userAppInstances[t].events[Le.settingsUpdated]){let r=qt("EvEvent",Le.settingsUpdated,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,s)}}updateAppsAboutStudioParams(t){let n=qt("EvEvent",Le.studioParamsUpdated,t);Object.keys(this._userAppInstances).forEach(s=>{this._userAppInstances[s].events[Le.studioParamsUpdated]&&this._sendPostMessageToUsrAppInstancesComponents(s,n,null)})}signalApp(t,n){let s=this._userAppInstances[t];if(s&&s.events[Le.signalingEvent]){let r=qt("EvEvent",Le.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,Le.appMessaging,n.data,n.componentId),this._eventHandler.publish("updateEverywhere",n));else if(n.request==U.getSettings)this._userAppInstances[n.userAppInstanceId]&&(qt("EvMessage","settings",n.data),s=(await an.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&&cc.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 Bt=new bc;const vc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ai=e=>(Ho("data-v-944a47f9"),e=e(),jo(),e),wc={style:{display:"flex"}},Ac={class:"panel"},Ec=Ai(()=>me("br",null,null,-1)),xc=Ai(()=>me("div",{style:{width:"50px"}},null,-1)),Pc={class:"panel"},Rc={class:"resizer grayone"},Sc={key:0,class:"fast-action-panel"},Ic={class:"fast-action-title"},Oc={class:"fast-action-buttons"},Cc=["onClick"],Tc={__name:"TestHolder",setup(e){Bt.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",n=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",s=window.baseAppSettings||{};an.updateUserAppInstance(t,{id:t,settings:s});const r=ht(null),i=ht(null),o=ht([]),c=ht("");Bt._eventHandler.subscribe("fastActionButtonsUpdated",f=>{var d;o.value=f.data.buttonsArray||[],c.value=((d=f.data.parameters)==null?void 0:d.groupName)||""});function l(f){Bt.raiseEvent(Le.fastActionButton,{fastAccessButton:f})}return li(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${n}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}`}),(f,d)=>(kt(),sn("div",null,[me("div",wc,[me("div",Ac,[Xn(" Settings (src/settings.html):"),Ec,me("iframe",{ref_key:"settingsIframe",ref:i,width:"500",height:"500",style:{resize:"both"}},null,512)]),xc,me("div",Pc,[Xn(" App (src/widget.html): "),me("div",Rc,[me("iframe",{ref_key:"wudgetIframe",ref:r,width:"100%",height:"100%"},null,512)])])]),o.value.length?(kt(),sn("div",Sc,[me("div",Ic,Ms(c.value||"Fast Action Buttons"),1),me("div",Oc,[(kt(!0),sn(Te,null,nl(o.value,h=>(kt(),sn("button",{key:h.buttonId,class:"fast-action-btn",style:vn(h.uiColor?{borderColor:h.uiColor,boxShadow:"0 0 0 1px "+h.uiColor}:{}),onClick:g=>l(h)},Ms(h.buttonText),13,Cc))),128))])])):xl("",!0)]))}},Mc=vc(Tc,[["__scopeId","data-v-944a47f9"]]);/*!
|
|
5
|
+
*/const ic=Symbol();var or;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(or||(or={}));function oc(){const e=Qi(!0),t=e.run(()=>Nt({}));let n=[],s=[];const r=ms({install(i){r._a=i,i.provide(ic,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!rc?s.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}function lc(){let e=null,t=null;return[new Promise((s,r)=>{e=s,t=r}),e,t]}function lr(){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 ts{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 cc{constructor(){this._requests={},this._messagesEventHandlers=new ts,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=lr(),[r,i,o]=lc();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=lr();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 uc{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 uc;class $e{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class ac extends $e{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 fc extends $e{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 Ne={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 dc extends $e{constructor(){super()}canHandleRequest(t){return[U.raiseExternalAppMessagingEvent,U.setFastActionButtons,U.openSideBarSettings,U.isSudioMode].includes(t.request)}async raiseExternalAppMessagingEvent(t){return _t._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,Ne.externalAppMessaging,t.data.data),null}async setFastActionButtons(t){return _t._eventHandler.publish("fastActionButtonsUpdated",t),!0}async openSideBarSettings(){return!0}async isSudioMode(){return!0}async handleRequest(t){return this[t.request](t)}}function ge(e=0,t=100){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}class pc extends $e{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return window.mockStatistics||[{viewers:null,type:"linkedinProfile"},{viewers:ge(),type:"twitterProfile",statistics:null,last_subscribers:null},{viewers:ge(),type:"twitchProfile",statistics:{channel:{subscribers:ge()}},last_subscribers:null},{viewers:ge(),type:"evmuxPlayer",statistics:null,last_subscribers:null},{viewers:ge(),type:"youtubeChannel",statistics:{viewCount:ge(),likeCount:ge(),dislikeCount:ge(),favoriteCount:ge(),commentCount:ge()},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:ge(),type:"facebookProfile",statistics:{total_reactions:ge()}}]}}class hc extends $e{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 gc extends $e{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 mc extends $e{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 _c extends $e{constructor(){super()}canHandleRequest(t){return[U.listAssets].includes(t.request)}async listAssets(t){return{value:window.mockAssets||[]}}}class yc extends $e{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 kt=(e,t,n)=>({requestName:e,eventName:t,data:n});class bc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new ts,this._eventHandler=new ts,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(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)),this._requestHandlers.push(new mc(t)),this._requestHandlers.push(new _c(t)),this._requestHandlers.push(new yc(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=kt("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[Ne.settingsUpdated]){let r=kt("EvEvent",Ne.settingsUpdated,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,s)}}updateAppsAboutStudioParams(t){let n=kt("EvEvent",Ne.studioParamsUpdated,t);Object.keys(this._userAppInstances).forEach(s=>{this._userAppInstances[s].events[Ne.studioParamsUpdated]&&this._sendPostMessageToUsrAppInstancesComponents(s,n,null)})}signalApp(t,n){let s=this._userAppInstances[t];if(s&&s.events[Ne.signalingEvent]){let r=kt("EvEvent",Ne.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,Ne.appMessaging,n.data,n.componentId),this._eventHandler.publish("updateEverywhere",n));else if(n.request==U.getSettings)this._userAppInstances[n.userAppInstanceId]&&(kt("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&&cc.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 _t=new bc;const vc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},wi=e=>(Ho("data-v-0e746f4e"),e=e(),ko(),e),wc={style:{display:"flex"}},Ac={class:"panel"},Ec=wi(()=>me("br",null,null,-1)),xc=wi(()=>me("div",{style:{width:"50px"}},null,-1)),Ic={class:"panel"},Pc={key:0,class:"apps_fast_access_wr"},Rc=["title","innerHTML"],Sc=["title"],Cc=["innerHTML"],Oc={class:"apps_fast_access_btn_drop"},Tc=["onClick"],Mc={class:"resizer grayone"},qc={__name:"TestHolder",setup(e){_t.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=Nt(null),i=Nt(null),o=Nt(null);_t._eventHandler.subscribe("fastActionButtonsUpdated",(l,f)=>{var b;const d=f.data.buttonsArray||[];if(!d.length){o.value=null;return}const g=d.length===1&&((b=d[0])==null?void 0:b.uiColor)||null;o.value={componentId:f.componentId,userAppInstanceId:f.userAppInstanceId,buttons:d,group:f.data.parameters||{},uiColor:g}});function c(l,f){let d={fastAccessButton:f,userAppInstanceId:l.userAppInstanceId,componentId:l.componentId};_t._raiseEventForSpecificUserAppInstance(l.userAppInstanceId,Ne.fastActionButton,d),_t._eventHandler.publish("updateEverywhere",{request:U.raiseFastAccessButtonEvent,data:d})}return oi(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${n}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}`}),(l,f)=>{var d,h;return nt(),pt("div",null,[me("div",wc,[me("div",Ac,[Zn(" Settings (src/settings.html):"),Ec,me("iframe",{ref_key:"settingsIframe",ref:i,width:"500",height:"500",style:{resize:"both"}},null,512)]),xc,me("div",Ic,[Zn(" App (src/widget.html): "),o.value?(nt(),pt("div",Pc,[o.value.buttons.length===1?(nt(),pt("div",{key:0,class:Wt(["apps_fast_access_btn",[o.value.uiColor?"uiColor":""]]),style:zt({backgroundColor:o.value.uiColor||""}),title:o.value.buttons[0].buttonText,onClick:f[0]||(f[0]=g=>c(o.value,o.value.buttons[0])),innerHTML:o.value.buttons[0].icon||((d=o.value.group.groupName)==null?void 0:d.slice(0,1))||"?"},null,14,Rc)):(nt(),pt("div",{key:1,class:"apps_fast_access_btn",title:o.value.group.groupName||"Actions"},[me("div",{innerHTML:o.value.group.groupIcon||((h=o.value.group.groupName)==null?void 0:h.slice(0,1))||"?",style:{display:"flex","align-items":"center","justify-content":"center"}},null,8,Cc),me("div",Oc,[(nt(!0),pt(Te,null,nl(o.value.buttons,g=>(nt(),pt("div",{class:Wt(["apps_fast_access_btn_drop_btn",[g.uiColor?"uiColor":""]]),key:g.buttonId,style:zt({backgroundColor:g.uiColor||""}),onClick:b=>c(o.value,g)},Wi(g.buttonText.length>19?g.buttonText.slice(0,19)+"...":g.buttonText),15,Tc))),128))])],8,Sc))])):xl("",!0),me("div",Mc,[me("iframe",{ref_key:"wudgetIframe",ref:r,width:"100%",height:"100%"},null,512)])])])])}}},Hc=vc(qc,[["__scopeId","data-v-0e746f4e"]]);/*!
|
|
6
6
|
* vue-router v4.2.5
|
|
7
7
|
* (c) 2023 Eduardo San Martin Morote
|
|
8
8
|
* @license MIT
|
|
9
|
-
*/const pt=typeof window<"u";function qc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function kn(e,t){const n={};for(const s in t){const r=t[s];n[s]=xe(r)?r.map(e):e(r)}return n}const Ut=()=>{},xe=Array.isArray,Hc=/\/$/,jc=e=>e.replace(Hc,"");function Nn(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=Lc(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function Fc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ur(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function kc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Pt(t.matched[s],n.matched[r])&&Ei(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Pt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ei(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Nc(e[n],t[n]))return!1;return!0}function Nc(e,t){return xe(e)?ar(e,t):xe(t)?ar(t,e):e===t}function ar(e,t){return xe(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Lc(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 Gt;(function(e){e.pop="pop",e.push="push"})(Gt||(Gt={}));var Dt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Dt||(Dt={}));function Bc(e){if(!e)if(pt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),jc(e)}const Uc=/^[^#]+#/;function Dc(e,t){return e.replace(Uc,"#")+t}function $c(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 On=()=>({left:window.pageXOffset,top:window.pageYOffset});function Kc(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=$c(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 fr(e,t){return(history.state?history.state.position-t:-1)+e}const ts=new Map;function zc(e,t){ts.set(e,t)}function Wc(e){const t=ts.get(e);return ts.delete(e),t}let Qc=()=>location.protocol+"//"+location.host;function xi(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),ur(l,"")}return ur(n,e)+s+r}function Jc(e,t,n,s){let r=[],i=[],o=null;const c=({state:g})=>{const w=xi(e,location),I=n.value,C=t.value;let N=0;if(g){if(n.value=w,t.value=g,o&&o===I){o=null;return}N=C?g.position-C.position:0}else s(w);r.forEach(q=>{q(n.value,I,{delta:N,type:Gt.pop,direction:N?N>0?Dt.forward:Dt.back:Dt.unknown})})};function l(){o=n.value}function f(g){r.push(g);const w=()=>{const I=r.indexOf(g);I>-1&&r.splice(I,1)};return i.push(w),w}function d(){const{history:g}=window;g.state&&g.replaceState(Q({},g.state,{scroll:On()}),"")}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 dr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?On():null}}function Gc(e){const{history:t,location:n}=window,s={value:xi(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:Qc()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(w){console.error(w),n[d?"replace":"assign"](g)}}function o(l,f){const d=Q({},t.state,dr(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:On()});i(d.current,d,!0);const h=Q({},dr(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 Yc(e){e=Bc(e);const t=Gc(e),n=Jc(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:Dc.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 Vc(e){return typeof e=="string"||e&&typeof e=="object"}function Pi(e){return typeof e=="string"||typeof e=="symbol"}const Qe={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ri=Symbol("");var pr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(pr||(pr={}));function Rt(e,t){return Q(new Error,{type:e,[Ri]:!0},t)}function ke(e,t){return e instanceof Error&&Ri in e&&(t==null||!!(e.type&t))}const hr="[^/]+?",Xc={sensitive:!1,strict:!1,start:!0,end:!0},Zc=/[.+*?^${}()[\]/\\]/g;function eu(e,t){const n=Q({},Xc,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 w=40+(n.sensitive?.25:0);if(g.type===0)h||(r+="/"),r+=g.value.replace(Zc,"\\$&"),w+=40;else if(g.type===1){const{value:I,repeatable:C,optional:N,regexp:q}=g;i.push({name:I,repeatable:C,optional:N});const H=q||hr;if(H!==hr){w+=10;try{new RegExp(`(${H})`)}catch(j){throw new Error(`Invalid custom RegExp for param "${I}" (${H}): `+j.message)}}let $=C?`((?:${H})(?:/(?:${H}))*)`:`(${H})`;h||($=N&&f.length<2?`(?:/${$})`:"/"+$),N&&($+="?"),r+=$,w+=20,N&&(w+=-8),C&&(w+=-20),H===".*"&&(w+=-50)}d.push(w)}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 w=d[g]||"",I=i[g-1];h[I.name]=w&&I.repeatable?w.split("/"):w}return h}function l(f){let d="",h=!1;for(const g of e){(!h||!d.endsWith("/"))&&(d+="/"),h=!1;for(const w of g)if(w.type===0)d+=w.value;else if(w.type===1){const{value:I,repeatable:C,optional:N}=w,q=I in f?f[I]:"";if(xe(q)&&!C)throw new Error(`Provided param "${I}" is an array but it is not repeatable (* or + modifiers)`);const H=xe(q)?q.join("/"):q;if(!H)if(N)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):h=!0);else throw new Error(`Missing required param "${I}"`);d+=H}}return d||"/"}return{re:o,score:s,keys:i,parse:c,stringify:l}}function tu(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 nu(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=tu(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(gr(s))return 1;if(gr(r))return-1}return r.length-s.length}function gr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const su={type:0,value:""},ru=/[a-zA-Z0-9_]/;function iu(e){if(!e)return[[]];if(e==="/")return[[su]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(w){throw new Error(`ERR (${n})/"${f}": ${w}`)}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:ru.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 ou(e,t,n){const s=eu(iu(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 lu(e,t){const n=[],s=new Map;t=yr({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function i(d,h,g){const w=!g,I=cu(d);I.aliasOf=g&&g.record;const C=yr(t,d),N=[I];if("alias"in d){const $=typeof d.alias=="string"?[d.alias]:d.alias;for(const j of $)N.push(Q({},I,{components:g?g.record.components:I.components,path:j,aliasOf:g?g.record:I}))}let q,H;for(const $ of N){const{path:j}=$;if(h&&j[0]!=="/"){const se=h.record.path,ce=se[se.length-1]==="/"?"":"/";$.path=h.record.path+(j&&ce+j)}if(q=ou($,h,C),g?g.alias.push(q):(H=H||q,H!==q&&H.alias.push(q),w&&d.name&&!_r(q)&&o(d.name)),I.children){const se=I.children;for(let ce=0;ce<se.length;ce++)i(se[ce],q,g&&g.children[ce])}g=g||q,(q.record.components&&Object.keys(q.record.components).length||q.record.name||q.record.redirect)&&l(q)}return H?()=>{o(H)}:Ut}function o(d){if(Pi(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&&nu(d,n[h])>=0&&(d.record.path!==n[h].record.path||!Si(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!_r(d)&&s.set(d.record.name,d)}function f(d,h){let g,w={},I,C;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw Rt(1,{location:d});C=g.record.name,w=Q(mr(h.params,g.keys.filter(H=>!H.optional).map(H=>H.name)),d.params&&mr(d.params,g.keys.map(H=>H.name))),I=g.stringify(w)}else if("path"in d)I=d.path,g=n.find(H=>H.re.test(I)),g&&(w=g.parse(I),C=g.record.name);else{if(g=h.name?s.get(h.name):n.find(H=>H.re.test(h.path)),!g)throw Rt(1,{location:d,currentLocation:h});C=g.record.name,w=Q({},h.params,d.params),I=g.stringify(w)}const N=[];let q=g;for(;q;)N.unshift(q.record),q=q.parent;return{name:C,path:I,params:w,matched:N,meta:au(N)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:c,getRecordMatcher:r}}function mr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function cu(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:uu(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 uu(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 _r(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function au(e){return e.reduce((t,n)=>Q(t,n.meta),{})}function yr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Si(e,t){return t.children.some(n=>n===e||Si(e,n))}const Ii=/#/g,fu=/&/g,du=/\//g,pu=/=/g,hu=/\?/g,Oi=/\+/g,gu=/%5B/g,mu=/%5D/g,Ci=/%5E/g,_u=/%60/g,Ti=/%7B/g,yu=/%7C/g,Mi=/%7D/g,bu=/%20/g;function Ps(e){return encodeURI(""+e).replace(yu,"|").replace(gu,"[").replace(mu,"]")}function vu(e){return Ps(e).replace(Ti,"{").replace(Mi,"}").replace(Ci,"^")}function ns(e){return Ps(e).replace(Oi,"%2B").replace(bu,"+").replace(Ii,"%23").replace(fu,"%26").replace(_u,"`").replace(Ti,"{").replace(Mi,"}").replace(Ci,"^")}function wu(e){return ns(e).replace(pu,"%3D")}function Au(e){return Ps(e).replace(Ii,"%23").replace(hu,"%3F")}function Eu(e){return e==null?"":Au(e).replace(du,"%2F")}function mn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function xu(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(Oi," "),o=i.indexOf("="),c=mn(o<0?i:i.slice(0,o)),l=o<0?null:mn(i.slice(o+1));if(c in t){let f=t[c];xe(f)||(f=t[c]=[f]),f.push(l)}else t[c]=l}return t}function br(e){let t="";for(let n in e){const s=e[n];if(n=wu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(xe(s)?s.map(i=>i&&ns(i)):[s&&ns(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Pu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=xe(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Ru=Symbol(""),vr=Symbol(""),Rs=Symbol(""),qi=Symbol(""),ss=Symbol("");function Ht(){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 Ge(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(Rt(4,{from:n,to:t})):h instanceof Error?c(h):Vc(h)?c(Rt(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 Ln(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(Su(c)){const f=(c.__vccOpts||c)[t];f&&r.push(Ge(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=qc(f)?f.default:f;i.components[o]=d;const g=(d.__vccOpts||d)[t];return g&&Ge(g,n,s,i,o)()}))}}return r}function Su(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function wr(e){const t=Be(Rs),n=Be(qi),s=ve(()=>t.resolve(bt(e.to))),r=ve(()=>{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(Pt.bind(null,d));if(g>-1)return g;const w=Ar(l[f-2]);return f>1&&Ar(d)===w&&h[h.length-1].path!==w?h.findIndex(Pt.bind(null,l[f-2])):g}),i=ve(()=>r.value>-1&&Tu(n.params,s.value.params)),o=ve(()=>r.value>-1&&r.value===n.matched.length-1&&Ei(n.params,s.value.params));function c(l={}){return Cu(l)?t[bt(e.replace)?"replace":"push"](bt(e.to)).catch(Ut):Promise.resolve()}return{route:s,href:ve(()=>s.value.href),isActive:i,isExactActive:o,navigate:c}}const Iu=ri({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:wr,setup(e,{slots:t}){const n=An(wr(e)),{options:s}=Be(Rs),r=ve(()=>({[Er(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Er(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:wi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Ou=Iu;function Cu(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 Tu(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(!xe(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function Ar(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Er=(e,t,n)=>e??t??n,Mu=ri({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Be(ss),r=ve(()=>e.route||s.value),i=Be(vr,0),o=ve(()=>{let f=bt(i);const{matched:d}=r.value;let h;for(;(h=d[f])&&!h.components;)f++;return f}),c=ve(()=>r.value.matched[o.value]);cn(vr,ve(()=>o.value+1)),cn(Ru,c),cn(ss,r);const l=ht();return on(()=>[l.value,c.value,e.name],([f,d,h],[g,w,I])=>{d&&(d.instances[h]=f,w&&w!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=w.leaveGuards),d.updateGuards.size||(d.updateGuards=w.updateGuards))),f&&d&&(!w||!Pt(d,w)||!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 xr(n.default,{Component:g,route:f});const w=h.props[d],I=w?w===!0?f.params:typeof w=="function"?w(f):w:null,N=wi(g,Q({},I,t,{onVnodeUnmounted:q=>{q.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return xr(n.default,{Component:N,route:f})||N}}});function xr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const qu=Mu;function Hu(e){const t=lu(e.routes,e),n=e.parseQuery||xu,s=e.stringifyQuery||br,r=e.history,i=Ht(),o=Ht(),c=Ht(),l=Eo(Qe);let f=Qe;pt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=kn.bind(null,_=>""+_),h=kn.bind(null,Eu),g=kn.bind(null,mn);function w(_,R){let x,O;return Pi(_)?(x=t.getRecordMatcher(_),O=R):O=_,t.addRoute(O,x)}function I(_){const R=t.getRecordMatcher(_);R&&t.removeRoute(R)}function C(){return t.getRoutes().map(_=>_.record)}function N(_){return!!t.getRecordMatcher(_)}function q(_,R){if(R=Q({},R||l.value),typeof _=="string"){const p=Nn(n,_,R.path),m=t.resolve({path:p.path},R),y=r.createHref(p.fullPath);return Q(p,m,{params:g(m.params),hash:mn(p.hash),redirectedFrom:void 0,href:y})}let x;if("path"in _)x=Q({},_,{path:Nn(n,_.path,R.path).path});else{const p=Q({},_.params);for(const m in p)p[m]==null&&delete p[m];x=Q({},_,{params:h(p)}),R.params=h(R.params)}const O=t.resolve(x,R),W=_.hash||"";O.params=d(g(O.params));const u=Fc(s,Q({},_,{hash:vu(W),path:O.path})),a=r.createHref(u);return Q({fullPath:u,hash:W,query:s===br?Pu(_.query):_.query||{}},O,{redirectedFrom:void 0,href:a})}function H(_){return typeof _=="string"?Nn(n,_,l.value.path):Q({},_)}function $(_,R){if(f!==_)return Rt(8,{from:R,to:_})}function j(_){return Pe(_)}function se(_){return j(Q(H(_),{replace:!0}))}function ce(_){const R=_.matched[_.matched.length-1];if(R&&R.redirect){const{redirect:x}=R;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 Pe(_,R){const x=f=q(_),O=l.value,W=_.state,u=_.force,a=_.replace===!0,p=ce(x);if(p)return Pe(Q(H(p),{state:typeof p=="object"?Q({},W,p.state):W,force:u,replace:a}),R||x);const m=x;m.redirectedFrom=R;let y;return!u&&kc(s,O,x)&&(y=Rt(16,{to:m,from:O}),Ie(O,O,!0,!1)),(y?Promise.resolve(y):Re(m,O)).catch(b=>ke(b)?ke(b,2)?b:ze(b):z(b,m,O)).then(b=>{if(b){if(ke(b,2))return Pe(Q({replace:a},H(b.to),{state:typeof b.to=="object"?Q({},W,b.to.state):W,force:u}),R||m)}else b=Ze(m,O,!0,a,W);return Ke(m,O,b),b})}function je(_,R){const x=$(_,R);return x?Promise.reject(x):Promise.resolve()}function lt(_){const R=at.values().next().value;return R&&typeof R.runWithContext=="function"?R.runWithContext(_):_()}function Re(_,R){let x;const[O,W,u]=ju(_,R);x=Ln(O.reverse(),"beforeRouteLeave",_,R);for(const p of O)p.leaveGuards.forEach(m=>{x.push(Ge(m,_,R))});const a=je.bind(null,_,R);return x.push(a),re(x).then(()=>{x=[];for(const p of i.list())x.push(Ge(p,_,R));return x.push(a),re(x)}).then(()=>{x=Ln(W,"beforeRouteUpdate",_,R);for(const p of W)p.updateGuards.forEach(m=>{x.push(Ge(m,_,R))});return x.push(a),re(x)}).then(()=>{x=[];for(const p of u)if(p.beforeEnter)if(xe(p.beforeEnter))for(const m of p.beforeEnter)x.push(Ge(m,_,R));else x.push(Ge(p.beforeEnter,_,R));return x.push(a),re(x)}).then(()=>(_.matched.forEach(p=>p.enterCallbacks={}),x=Ln(u,"beforeRouteEnter",_,R),x.push(a),re(x))).then(()=>{x=[];for(const p of o.list())x.push(Ge(p,_,R));return x.push(a),re(x)}).catch(p=>ke(p,8)?p:Promise.reject(p))}function Ke(_,R,x){c.list().forEach(O=>lt(()=>O(_,R,x)))}function Ze(_,R,x,O,W){const u=$(_,R);if(u)return u;const a=R===Qe,p=pt?history.state:{};x&&(O||a?r.replace(_.fullPath,Q({scroll:a&&p&&p.scroll},W)):r.push(_.fullPath,W)),l.value=_,Ie(_,R,x,a),ze()}let Se;function Ct(){Se||(Se=r.listen((_,R,x)=>{if(!Yt.listening)return;const O=q(_),W=ce(O);if(W){Pe(Q(W,{replace:!0}),O).catch(Ut);return}f=O;const u=l.value;pt&&zc(fr(u.fullPath,x.delta),On()),Re(O,u).catch(a=>ke(a,12)?a:ke(a,2)?(Pe(a.to,O).then(p=>{ke(p,20)&&!x.delta&&x.type===Gt.pop&&r.go(-1,!1)}).catch(Ut),Promise.reject()):(x.delta&&r.go(-x.delta,!1),z(a,O,u))).then(a=>{a=a||Ze(O,u,!1),a&&(x.delta&&!ke(a,8)?r.go(-x.delta,!1):x.type===Gt.pop&&ke(a,20)&&r.go(-1,!1)),Ke(O,u,a)}).catch(Ut)}))}let ct=Ht(),te=Ht(),G;function z(_,R,x){ze(_);const O=te.list();return O.length?O.forEach(W=>W(_,R,x)):console.error(_),Promise.reject(_)}function Fe(){return G&&l.value!==Qe?Promise.resolve():new Promise((_,R)=>{ct.add([_,R])})}function ze(_){return G||(G=!_,Ct(),ct.list().forEach(([R,x])=>_?x(_):R()),ct.reset()),_}function Ie(_,R,x,O){const{scrollBehavior:W}=e;if(!pt||!W)return Promise.resolve();const u=!x&&Wc(fr(_.fullPath,0))||(O||!x)&&history.state&&history.state.scroll||null;return Vr().then(()=>W(_,R,u)).then(a=>a&&Kc(a)).catch(a=>z(a,_,R))}const ae=_=>r.go(_);let ut;const at=new Set,Yt={currentRoute:l,listening:!0,addRoute:w,removeRoute:I,hasRoute:N,getRoutes:C,resolve:q,options:e,push:j,replace:se,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:i.add,beforeResolve:o.add,afterEach:c.add,onError:te.add,isReady:Fe,install(_){const R=this;_.component("RouterLink",Ou),_.component("RouterView",qu),_.config.globalProperties.$router=R,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>bt(l)}),pt&&!ut&&l.value===Qe&&(ut=!0,j(r.location).catch(W=>{}));const x={};for(const W in Qe)Object.defineProperty(x,W,{get:()=>l.value[W],enumerable:!0});_.provide(Rs,R),_.provide(qi,$r(x)),_.provide(ss,l);const O=_.unmount;at.add(_),_.unmount=function(){at.delete(_),at.size<1&&(f=Qe,Se&&Se(),Se=null,l.value=Qe,ut=!1,G=!1),O()}}};function re(_){return _.reduce((R,x)=>R.then(()=>lt(x)),Promise.resolve())}return Yt}function ju(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=>Pt(f,c))?s.push(c):n.push(c));const l=e.matched[o];l&&(t.matched.find(f=>Pt(f,l))||r.push(l))}return[n,s,r]}const Fu=Hu({history:Yc("/"),routes:[]}),Ss=nc(Mc);Ss.use(oc());Ss.use(Fu);Ss.mount("#app");
|
|
9
|
+
*/const gt=typeof window<"u";function kc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function Ln(e,t){const n={};for(const s in t){const r=t[s];n[s]=xe(r)?r.map(e):e(r)}return n}const Dt=()=>{},xe=Array.isArray,Fc=/\/$/,jc=e=>e.replace(Fc,"");function Nn(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=Uc(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function Lc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function cr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Nc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Rt(t.matched[s],n.matched[r])&&Ai(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Rt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ai(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Bc(e[n],t[n]))return!1;return!0}function Bc(e,t){return xe(e)?ur(e,t):xe(t)?ur(t,e):e===t}function ur(e,t){return xe(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Uc(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 $t;(function(e){e.back="back",e.forward="forward",e.unknown=""})($t||($t={}));function Dc(e){if(!e)if(gt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),jc(e)}const $c=/^[^#]+#/;function Kc(e,t){return e.replace($c,"#")+t}function zc(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 On=()=>({left:window.pageXOffset,top:window.pageYOffset});function Wc(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=zc(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ar(e,t){return(history.state?history.state.position-t:-1)+e}const ns=new Map;function Qc(e,t){ns.set(e,t)}function Jc(e){const t=ns.get(e);return ns.delete(e),t}let Gc=()=>location.protocol+"//"+location.host;function Ei(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),cr(l,"")}return cr(n,e)+s+r}function Yc(e,t,n,s){let r=[],i=[],o=null;const c=({state:g})=>{const b=Ei(e,location),S=n.value,O=t.value;let L=0;if(g){if(n.value=b,t.value=g,o&&o===S){o=null;return}L=O?g.position-O.position:0}else s(b);r.forEach(q=>{q(n.value,S,{delta:L,type:Xt.pop,direction:L?L>0?$t.forward:$t.back:$t.unknown})})};function l(){o=n.value}function f(g){r.push(g);const b=()=>{const S=r.indexOf(g);S>-1&&r.splice(S,1)};return i.push(b),b}function d(){const{history:g}=window;g.state&&g.replaceState(Q({},g.state,{scroll:On()}),"")}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 fr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?On():null}}function Vc(e){const{history:t,location:n}=window,s={value:Ei(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,fr(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:On()});i(d.current,d,!0);const h=Q({},fr(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 Xc(e){e=Dc(e);const t=Vc(e),n=Yc(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:Kc.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 Zc(e){return typeof e=="string"||e&&typeof e=="object"}function xi(e){return typeof e=="string"||typeof e=="symbol"}const Qe={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ii=Symbol("");var dr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(dr||(dr={}));function St(e,t){return Q(new Error,{type:e,[Ii]:!0},t)}function je(e,t){return e instanceof Error&&Ii in e&&(t==null||!!(e.type&t))}const pr="[^/]+?",eu={sensitive:!1,strict:!1,start:!0,end:!0},tu=/[.+*?^${}()[\]/\\]/g;function nu(e,t){const n=Q({},eu,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(tu,"\\$&"),b+=40;else if(g.type===1){const{value:S,repeatable:O,optional:L,regexp:q}=g;i.push({name:S,repeatable:O,optional:L});const H=q||pr;if(H!==pr){b+=10;try{new RegExp(`(${H})`)}catch(k){throw new Error(`Invalid custom RegExp for param "${S}" (${H}): `+k.message)}}let $=O?`((?:${H})(?:/(?:${H}))*)`:`(${H})`;h||($=L&&f.length<2?`(?:/${$})`:"/"+$),L&&($+="?"),r+=$,b+=20,L&&(b+=-8),O&&(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]||"",S=i[g-1];h[S.name]=b&&S.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:S,repeatable:O,optional:L}=b,q=S in f?f[S]:"";if(xe(q)&&!O)throw new Error(`Provided param "${S}" is an array but it is not repeatable (* or + modifiers)`);const H=xe(q)?q.join("/"):q;if(!H)if(L)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):h=!0);else throw new Error(`Missing required param "${S}"`);d+=H}}return d||"/"}return{re:o,score:s,keys:i,parse:c,stringify:l}}function su(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 ru(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=su(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(hr(s))return 1;if(hr(r))return-1}return r.length-s.length}function hr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const iu={type:0,value:""},ou=/[a-zA-Z0-9_]/;function lu(e){if(!e)return[[]];if(e==="/")return[[iu]];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:ou.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 cu(e,t,n){const s=nu(lu(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 uu(e,t){const n=[],s=new Map;t=_r({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function i(d,h,g){const b=!g,S=au(d);S.aliasOf=g&&g.record;const O=_r(t,d),L=[S];if("alias"in d){const $=typeof d.alias=="string"?[d.alias]:d.alias;for(const k of $)L.push(Q({},S,{components:g?g.record.components:S.components,path:k,aliasOf:g?g.record:S}))}let q,H;for(const $ of L){const{path:k}=$;if(h&&k[0]!=="/"){const se=h.record.path,ce=se[se.length-1]==="/"?"":"/";$.path=h.record.path+(k&&ce+k)}if(q=cu($,h,O),g?g.alias.push(q):(H=H||q,H!==q&&H.alias.push(q),b&&d.name&&!mr(q)&&o(d.name)),S.children){const se=S.children;for(let ce=0;ce<se.length;ce++)i(se[ce],q,g&&g.children[ce])}g=g||q,(q.record.components&&Object.keys(q.record.components).length||q.record.name||q.record.redirect)&&l(q)}return H?()=>{o(H)}:Dt}function o(d){if(xi(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&&ru(d,n[h])>=0&&(d.record.path!==n[h].record.path||!Pi(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!mr(d)&&s.set(d.record.name,d)}function f(d,h){let g,b={},S,O;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw St(1,{location:d});O=g.record.name,b=Q(gr(h.params,g.keys.filter(H=>!H.optional).map(H=>H.name)),d.params&&gr(d.params,g.keys.map(H=>H.name))),S=g.stringify(b)}else if("path"in d)S=d.path,g=n.find(H=>H.re.test(S)),g&&(b=g.parse(S),O=g.record.name);else{if(g=h.name?s.get(h.name):n.find(H=>H.re.test(h.path)),!g)throw St(1,{location:d,currentLocation:h});O=g.record.name,b=Q({},h.params,d.params),S=g.stringify(b)}const L=[];let q=g;for(;q;)L.unshift(q.record),q=q.parent;return{name:O,path:S,params:b,matched:L,meta:du(L)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:c,getRecordMatcher:r}}function gr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function au(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:fu(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 fu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function mr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function du(e){return e.reduce((t,n)=>Q(t,n.meta),{})}function _r(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Pi(e,t){return t.children.some(n=>n===e||Pi(e,n))}const Ri=/#/g,pu=/&/g,hu=/\//g,gu=/=/g,mu=/\?/g,Si=/\+/g,_u=/%5B/g,yu=/%5D/g,Ci=/%5E/g,bu=/%60/g,Oi=/%7B/g,vu=/%7C/g,Ti=/%7D/g,wu=/%20/g;function Is(e){return encodeURI(""+e).replace(vu,"|").replace(_u,"[").replace(yu,"]")}function Au(e){return Is(e).replace(Oi,"{").replace(Ti,"}").replace(Ci,"^")}function ss(e){return Is(e).replace(Si,"%2B").replace(wu,"+").replace(Ri,"%23").replace(pu,"%26").replace(bu,"`").replace(Oi,"{").replace(Ti,"}").replace(Ci,"^")}function Eu(e){return ss(e).replace(gu,"%3D")}function xu(e){return Is(e).replace(Ri,"%23").replace(mu,"%3F")}function Iu(e){return e==null?"":xu(e).replace(hu,"%2F")}function yn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Pu(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(Si," "),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];xe(f)||(f=t[c]=[f]),f.push(l)}else t[c]=l}return t}function yr(e){let t="";for(let n in e){const s=e[n];if(n=Eu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(xe(s)?s.map(i=>i&&ss(i)):[s&&ss(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Ru(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=xe(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Su=Symbol(""),br=Symbol(""),Ps=Symbol(""),Mi=Symbol(""),rs=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 Ge(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(St(4,{from:n,to:t})):h instanceof Error?c(h):Zc(h)?c(St(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(Cu(c)){const f=(c.__vccOpts||c)[t];f&&r.push(Ge(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=kc(f)?f.default:f;i.components[o]=d;const g=(d.__vccOpts||d)[t];return g&&Ge(g,n,s,i,o)()}))}}return r}function Cu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function vr(e){const t=Be(Ps),n=Be(Mi),s=ve(()=>t.resolve(wt(e.to))),r=ve(()=>{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(Rt.bind(null,d));if(g>-1)return g;const b=wr(l[f-2]);return f>1&&wr(d)===b&&h[h.length-1].path!==b?h.findIndex(Rt.bind(null,l[f-2])):g}),i=ve(()=>r.value>-1&&qu(n.params,s.value.params)),o=ve(()=>r.value>-1&&r.value===n.matched.length-1&&Ai(n.params,s.value.params));function c(l={}){return Mu(l)?t[wt(e.replace)?"replace":"push"](wt(e.to)).catch(Dt):Promise.resolve()}return{route:s,href:ve(()=>s.value.href),isActive:i,isExactActive:o,navigate:c}}const Ou=si({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:vr,setup(e,{slots:t}){const n=En(vr(e)),{options:s}=Be(Ps),r=ve(()=>({[Ar(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Ar(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=Ou;function Mu(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 qu(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(!xe(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function wr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ar=(e,t,n)=>e??t??n,Hu=si({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Be(rs),r=ve(()=>e.route||s.value),i=Be(br,0),o=ve(()=>{let f=wt(i);const{matched:d}=r.value;let h;for(;(h=d[f])&&!h.components;)f++;return f}),c=ve(()=>r.value.matched[o.value]);an(br,ve(()=>o.value+1)),an(Su,c),an(rs,r);const l=Nt();return cn(()=>[l.value,c.value,e.name],([f,d,h],[g,b,S])=>{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||!Rt(d,b)||!g)&&(d.enterCallbacks[h]||[]).forEach(O=>O(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,h=c.value,g=h&&h.components[d];if(!g)return Er(n.default,{Component:g,route:f});const b=h.props[d],S=b?b===!0?f.params:typeof b=="function"?b(f):b:null,L=vi(g,Q({},S,t,{onVnodeUnmounted:q=>{q.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return Er(n.default,{Component:L,route:f})||L}}});function Er(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ku=Hu;function Fu(e){const t=uu(e.routes,e),n=e.parseQuery||Pu,s=e.stringifyQuery||yr,r=e.history,i=Ft(),o=Ft(),c=Ft(),l=Eo(Qe);let f=Qe;gt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Ln.bind(null,_=>""+_),h=Ln.bind(null,Iu),g=Ln.bind(null,yn);function b(_,P){let x,C;return xi(_)?(x=t.getRecordMatcher(_),C=P):C=_,t.addRoute(C,x)}function S(_){const P=t.getRecordMatcher(_);P&&t.removeRoute(P)}function O(){return t.getRoutes().map(_=>_.record)}function L(_){return!!t.getRecordMatcher(_)}function q(_,P){if(P=Q({},P||l.value),typeof _=="string"){const p=Nn(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:Nn(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 C=t.resolve(x,P),W=_.hash||"";C.params=d(g(C.params));const u=Lc(s,Q({},_,{hash:Au(W),path:C.path})),a=r.createHref(u);return Q({fullPath:u,hash:W,query:s===yr?Ru(_.query):_.query||{}},C,{redirectedFrom:void 0,href:a})}function H(_){return typeof _=="string"?Nn(n,_,l.value.path):Q({},_)}function $(_,P){if(f!==_)return St(8,{from:P,to:_})}function k(_){return Ie(_)}function se(_){return k(Q(H(_),{replace:!0}))}function ce(_){const P=_.matched[_.matched.length-1];if(P&&P.redirect){const{redirect:x}=P;let C=typeof x=="function"?x(_):x;return typeof C=="string"&&(C=C.includes("?")||C.includes("#")?C=H(C):{path:C},C.params={}),Q({query:_.query,hash:_.hash,params:"path"in C?{}:_.params},C)}}function Ie(_,P){const x=f=q(_),C=l.value,W=_.state,u=_.force,a=_.replace===!0,p=ce(x);if(p)return Ie(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,C,x)&&(y=St(16,{to:m,from:C}),Se(C,C,!0,!1)),(y?Promise.resolve(y):Pe(m,C)).catch(v=>je(v)?je(v,2)?v:ze(v):z(v,m,C)).then(v=>{if(v){if(je(v,2))return Ie(Q({replace:a},H(v.to),{state:typeof v.to=="object"?Q({},W,v.to.state):W,force:u}),P||m)}else v=Ze(m,C,!0,a,W);return Ke(m,C,v),v})}function ke(_,P){const x=$(_,P);return x?Promise.reject(x):Promise.resolve()}function ct(_){const P=ft.values().next().value;return P&&typeof P.runWithContext=="function"?P.runWithContext(_):_()}function Pe(_,P){let x;const[C,W,u]=ju(_,P);x=Bn(C.reverse(),"beforeRouteLeave",_,P);for(const p of C)p.leaveGuards.forEach(m=>{x.push(Ge(m,_,P))});const a=ke.bind(null,_,P);return x.push(a),re(x).then(()=>{x=[];for(const p of i.list())x.push(Ge(p,_,P));return x.push(a),re(x)}).then(()=>{x=Bn(W,"beforeRouteUpdate",_,P);for(const p of W)p.updateGuards.forEach(m=>{x.push(Ge(m,_,P))});return x.push(a),re(x)}).then(()=>{x=[];for(const p of u)if(p.beforeEnter)if(xe(p.beforeEnter))for(const m of p.beforeEnter)x.push(Ge(m,_,P));else x.push(Ge(p.beforeEnter,_,P));return x.push(a),re(x)}).then(()=>(_.matched.forEach(p=>p.enterCallbacks={}),x=Bn(u,"beforeRouteEnter",_,P),x.push(a),re(x))).then(()=>{x=[];for(const p of o.list())x.push(Ge(p,_,P));return x.push(a),re(x)}).catch(p=>je(p,8)?p:Promise.reject(p))}function Ke(_,P,x){c.list().forEach(C=>ct(()=>C(_,P,x)))}function Ze(_,P,x,C,W){const u=$(_,P);if(u)return u;const a=P===Qe,p=gt?history.state:{};x&&(C||a?r.replace(_.fullPath,Q({scroll:a&&p&&p.scroll},W)):r.push(_.fullPath,W)),l.value=_,Se(_,P,x,a),ze()}let Re;function Mt(){Re||(Re=r.listen((_,P,x)=>{if(!Zt.listening)return;const C=q(_),W=ce(C);if(W){Ie(Q(W,{replace:!0}),C).catch(Dt);return}f=C;const u=l.value;gt&&Qc(ar(u.fullPath,x.delta),On()),Pe(C,u).catch(a=>je(a,12)?a:je(a,2)?(Ie(a.to,C).then(p=>{je(p,20)&&!x.delta&&x.type===Xt.pop&&r.go(-1,!1)}).catch(Dt),Promise.reject()):(x.delta&&r.go(-x.delta,!1),z(a,C,u))).then(a=>{a=a||Ze(C,u,!1),a&&(x.delta&&!je(a,8)?r.go(-x.delta,!1):x.type===Xt.pop&&je(a,20)&&r.go(-1,!1)),Ke(C,u,a)}).catch(Dt)}))}let ut=Ft(),te=Ft(),G;function z(_,P,x){ze(_);const C=te.list();return C.length?C.forEach(W=>W(_,P,x)):console.error(_),Promise.reject(_)}function Fe(){return G&&l.value!==Qe?Promise.resolve():new Promise((_,P)=>{ut.add([_,P])})}function ze(_){return G||(G=!_,Mt(),ut.list().forEach(([P,x])=>_?x(_):P()),ut.reset()),_}function Se(_,P,x,C){const{scrollBehavior:W}=e;if(!gt||!W)return Promise.resolve();const u=!x&&Jc(ar(_.fullPath,0))||(C||!x)&&history.state&&history.state.scroll||null;return Yr().then(()=>W(_,P,u)).then(a=>a&&Wc(a)).catch(a=>z(a,_,P))}const ae=_=>r.go(_);let at;const ft=new Set,Zt={currentRoute:l,listening:!0,addRoute:b,removeRoute:S,hasRoute:L,getRoutes:O,resolve:q,options:e,push:k,replace:se,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:i.add,beforeResolve:o.add,afterEach:c.add,onError:te.add,isReady:Fe,install(_){const P=this;_.component("RouterLink",Tu),_.component("RouterView",ku),_.config.globalProperties.$router=P,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>wt(l)}),gt&&!at&&l.value===Qe&&(at=!0,k(r.location).catch(W=>{}));const x={};for(const W in Qe)Object.defineProperty(x,W,{get:()=>l.value[W],enumerable:!0});_.provide(Ps,P),_.provide(Mi,Dr(x)),_.provide(rs,l);const C=_.unmount;ft.add(_),_.unmount=function(){ft.delete(_),ft.size<1&&(f=Qe,Re&&Re(),Re=null,l.value=Qe,at=!1,G=!1),C()}}};function re(_){return _.reduce((P,x)=>P.then(()=>ct(x)),Promise.resolve())}return Zt}function ju(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=>Rt(f,c))?s.push(c):n.push(c));const l=e.matched[o];l&&(t.matched.find(f=>Rt(f,l))||r.push(l))}return[n,s,r]}const Lu=Fu({history:Xc("/"),routes:[]}),Rs=nc(Hc);Rs.use(oc());Rs.use(Lu);Rs.mount("#app");
|
|
@@ -3,6 +3,7 @@ import { ref, onMounted , computed } from 'vue'
|
|
|
3
3
|
|
|
4
4
|
import appsObserver from '../../AppsObserver/AppsObserver'
|
|
5
5
|
import { availableEvents } from '../../EvmuxAppsApi/EvmuxAppsApi'
|
|
6
|
+
import { availableRequests } from '../../AppsObserver/AppsObserver'
|
|
6
7
|
|
|
7
8
|
import { getRandomComments } from './testData/comments'
|
|
8
9
|
|
|
@@ -19,16 +20,36 @@ appsDataManager.updateUserAppInstance(userAppInstanceId, { id: userAppInstanceId
|
|
|
19
20
|
const wudgetIframe = ref(null)
|
|
20
21
|
const settingsIframe = ref(null)
|
|
21
22
|
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
const fastActionButtonGroup = ref(null)
|
|
24
|
+
|
|
25
|
+
appsObserver._eventHandler.subscribe("fastActionButtonsUpdated", (eventName, requestObj) => {
|
|
26
|
+
const buttons = requestObj.data.buttonsArray || []
|
|
27
|
+
if (!buttons.length) {
|
|
28
|
+
fastActionButtonGroup.value = null
|
|
29
|
+
return
|
|
30
|
+
}
|
|
31
|
+
const hasSingleButton = buttons.length === 1
|
|
32
|
+
const singleBtnColor = hasSingleButton ? (buttons[0]?.uiColor || null) : null
|
|
33
|
+
fastActionButtonGroup.value = {
|
|
34
|
+
componentId: requestObj.componentId,
|
|
35
|
+
userAppInstanceId: requestObj.userAppInstanceId,
|
|
36
|
+
buttons: buttons,
|
|
37
|
+
group: requestObj.data.parameters || {},
|
|
38
|
+
uiColor: singleBtnColor,
|
|
39
|
+
}
|
|
28
40
|
})
|
|
29
41
|
|
|
30
|
-
function
|
|
31
|
-
|
|
42
|
+
function clickOnFastAccessButton(buttonGroup, button) {
|
|
43
|
+
let data = {
|
|
44
|
+
fastAccessButton: button,
|
|
45
|
+
userAppInstanceId: buttonGroup.userAppInstanceId,
|
|
46
|
+
componentId: buttonGroup.componentId,
|
|
47
|
+
}
|
|
48
|
+
appsObserver._raiseEventForSpecificUserAppInstance(buttonGroup.userAppInstanceId, availableEvents.fastActionButton, data)
|
|
49
|
+
appsObserver._eventHandler.publish("updateEverywhere", {
|
|
50
|
+
request: availableRequests.raiseFastAccessButtonEvent,
|
|
51
|
+
data,
|
|
52
|
+
})
|
|
32
53
|
}
|
|
33
54
|
|
|
34
55
|
onMounted(() => {
|
|
@@ -52,30 +73,44 @@ function raiseCommentsEvent(event) {
|
|
|
52
73
|
|
|
53
74
|
<div style="width: 50px"></div>
|
|
54
75
|
|
|
55
|
-
|
|
56
76
|
<div class="panel">
|
|
57
77
|
App (src/widget.html):
|
|
78
|
+
|
|
79
|
+
<div v-if="fastActionButtonGroup" class="apps_fast_access_wr">
|
|
80
|
+
<!-- Single button: click directly -->
|
|
81
|
+
<div v-if="fastActionButtonGroup.buttons.length === 1"
|
|
82
|
+
class="apps_fast_access_btn"
|
|
83
|
+
:class="[fastActionButtonGroup.uiColor ? 'uiColor' : '']"
|
|
84
|
+
:style="{backgroundColor: fastActionButtonGroup.uiColor || ''}"
|
|
85
|
+
:title="fastActionButtonGroup.buttons[0].buttonText"
|
|
86
|
+
@click="clickOnFastAccessButton(fastActionButtonGroup, fastActionButtonGroup.buttons[0])"
|
|
87
|
+
v-html="fastActionButtonGroup.buttons[0].icon || fastActionButtonGroup.group.groupName?.slice(0,1) || '?'"
|
|
88
|
+
></div>
|
|
89
|
+
|
|
90
|
+
<!-- Multiple buttons: hover to show dropdown -->
|
|
91
|
+
<div v-else
|
|
92
|
+
class="apps_fast_access_btn"
|
|
93
|
+
:title="fastActionButtonGroup.group.groupName || 'Actions'">
|
|
94
|
+
<div v-html="fastActionButtonGroup.group.groupIcon || fastActionButtonGroup.group.groupName?.slice(0,1) || '?'"
|
|
95
|
+
style="display: flex; align-items: center; justify-content: center;"></div>
|
|
96
|
+
<div class="apps_fast_access_btn_drop">
|
|
97
|
+
<div class="apps_fast_access_btn_drop_btn"
|
|
98
|
+
v-for="btn in fastActionButtonGroup.buttons"
|
|
99
|
+
:key="btn.buttonId"
|
|
100
|
+
:class="[btn.uiColor ? 'uiColor' : '']"
|
|
101
|
+
:style="{backgroundColor: btn.uiColor || ''}"
|
|
102
|
+
@click="clickOnFastAccessButton(fastActionButtonGroup, btn)"
|
|
103
|
+
>{{ btn.buttonText.length > 19 ? btn.buttonText.slice(0, 19) + '...' : btn.buttonText }}</div>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
|
|
58
108
|
<div class="resizer grayone">
|
|
59
109
|
<iframe ref="wudgetIframe" width="100%" height="100%"></iframe>
|
|
60
110
|
</div>
|
|
61
111
|
</div>
|
|
62
112
|
</div>
|
|
63
113
|
|
|
64
|
-
<div v-if="fastActionButtons.length" class="fast-action-panel">
|
|
65
|
-
<div class="fast-action-title">{{ fastActionGroupName || 'Fast Action Buttons' }}</div>
|
|
66
|
-
<div class="fast-action-buttons">
|
|
67
|
-
<button
|
|
68
|
-
v-for="btn in fastActionButtons"
|
|
69
|
-
:key="btn.buttonId"
|
|
70
|
-
class="fast-action-btn"
|
|
71
|
-
:style="btn.uiColor ? { borderColor: btn.uiColor, boxShadow: '0 0 0 1px ' + btn.uiColor } : {}"
|
|
72
|
-
@click="onFastActionButtonClick(btn)"
|
|
73
|
-
>
|
|
74
|
-
{{ btn.buttonText }}
|
|
75
|
-
</button>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
|
|
79
114
|
</div>
|
|
80
115
|
</template>
|
|
81
116
|
|
|
@@ -86,36 +121,108 @@ function raiseCommentsEvent(event) {
|
|
|
86
121
|
.panel {
|
|
87
122
|
border: solid 1px #cccccc;
|
|
88
123
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
124
|
+
</style>
|
|
125
|
+
|
|
126
|
+
<style>
|
|
127
|
+
.apps_fast_access_wr {
|
|
128
|
+
display: flex;
|
|
129
|
+
padding: 6px 0;
|
|
130
|
+
}
|
|
131
|
+
.apps_fast_access_btn {
|
|
132
|
+
flex: 0 0 30px;
|
|
133
|
+
width: 30px;
|
|
134
|
+
height: 30px;
|
|
135
|
+
border-radius: 6px;
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
justify-content: center;
|
|
139
|
+
font-size: 16px;
|
|
140
|
+
font-weight: 600;
|
|
141
|
+
position: relative;
|
|
142
|
+
cursor: pointer;
|
|
143
|
+
padding-bottom: 1px;
|
|
144
|
+
background-color: #fff;
|
|
145
|
+
color: #676777;
|
|
146
|
+
border: 1px solid #e6e6ef;
|
|
147
|
+
}
|
|
148
|
+
.apps_fast_access_btn svg {
|
|
149
|
+
width: 22px;
|
|
150
|
+
height: 22px;
|
|
151
|
+
}
|
|
152
|
+
.apps_fast_access_btn svg polygon,
|
|
153
|
+
.apps_fast_access_btn svg path,
|
|
154
|
+
.apps_fast_access_btn svg circle {
|
|
155
|
+
fill: #676777;
|
|
156
|
+
}
|
|
157
|
+
.apps_fast_access_btn.uiColor {
|
|
158
|
+
color: #fff !important;
|
|
159
|
+
border-color: transparent;
|
|
160
|
+
}
|
|
161
|
+
.apps_fast_access_btn.uiColor svg polygon,
|
|
162
|
+
.apps_fast_access_btn.uiColor svg path,
|
|
163
|
+
.apps_fast_access_btn.uiColor svg circle {
|
|
164
|
+
fill: #fff !important;
|
|
165
|
+
}
|
|
166
|
+
.apps_fast_access_btn + .apps_fast_access_btn {
|
|
167
|
+
margin-left: 10px;
|
|
168
|
+
}
|
|
169
|
+
.apps_fast_access_btn:hover {
|
|
170
|
+
background-color: #f0f0f7;
|
|
171
|
+
color: #676777;
|
|
172
|
+
}
|
|
173
|
+
.apps_fast_access_btn.uiColor:hover {
|
|
174
|
+
filter: brightness(0.9);
|
|
175
|
+
}
|
|
176
|
+
.apps_fast_access_btn:hover .apps_fast_access_btn_drop {
|
|
177
|
+
display: block;
|
|
178
|
+
}
|
|
179
|
+
.apps_fast_access_btn_drop {
|
|
180
|
+
position: absolute;
|
|
181
|
+
left: 50%;
|
|
182
|
+
top: calc(100% + 10px);
|
|
183
|
+
transform: translate(-50%, 0);
|
|
184
|
+
display: none;
|
|
185
|
+
z-index: 50;
|
|
186
|
+
border-radius: 12px;
|
|
187
|
+
padding: 6px;
|
|
188
|
+
border: 1px solid #e6e6ef;
|
|
189
|
+
background-color: #fff;
|
|
190
|
+
box-shadow: 0 20px 18px 0 rgba(0, 0, 0, 0.07);
|
|
191
|
+
}
|
|
192
|
+
.apps_fast_access_btn_drop:before {
|
|
193
|
+
content: '';
|
|
194
|
+
display: block;
|
|
195
|
+
position: absolute;
|
|
196
|
+
top: -11px;
|
|
197
|
+
left: 0;
|
|
198
|
+
height: 12px;
|
|
199
|
+
width: 100%;
|
|
200
|
+
}
|
|
201
|
+
.apps_fast_access_btn_drop_btn {
|
|
202
|
+
min-width: 120px;
|
|
203
|
+
display: flex;
|
|
204
|
+
align-items: center;
|
|
205
|
+
height: 32px;
|
|
206
|
+
font-weight: 400;
|
|
207
|
+
font-size: 13px;
|
|
208
|
+
line-height: 18px;
|
|
209
|
+
padding: 0 10px;
|
|
210
|
+
white-space: nowrap;
|
|
211
|
+
cursor: pointer;
|
|
212
|
+
border-radius: 8px;
|
|
213
|
+
color: #676778;
|
|
214
|
+
margin-bottom: 2px;
|
|
215
|
+
}
|
|
216
|
+
.apps_fast_access_btn_drop_btn:last-child {
|
|
217
|
+
margin-bottom: 0;
|
|
218
|
+
}
|
|
219
|
+
.apps_fast_access_btn_drop_btn:hover {
|
|
220
|
+
background-color: #f5f5fa;
|
|
221
|
+
}
|
|
222
|
+
.apps_fast_access_btn_drop_btn.uiColor {
|
|
223
|
+
color: #fff;
|
|
224
|
+
}
|
|
225
|
+
.apps_fast_access_btn_drop_btn.uiColor:hover {
|
|
226
|
+
filter: brightness(0.9);
|
|
227
|
+
}
|
|
121
228
|
</style>
|