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