evmux-app-framework 0.0.67 → 0.0.69

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