17 lines
79 KiB
JavaScript
17 lines
79 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();/**
|
|
* @vue/shared v3.5.13
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**//*! #__NO_SIDE_EFFECTS__ */function Vs(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const K={},ft=[],Me=()=>{},Ji=()=>!1,Zt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ks=e=>e.startsWith("onUpdate:"),ue=Object.assign,Hs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Yi=Object.prototype.hasOwnProperty,D=(e,t)=>Yi.call(e,t),P=Array.isArray,at=e=>Qt(e)==="[object Map]",kn=e=>Qt(e)==="[object Set]",W=e=>typeof e=="function",Z=e=>typeof e=="string",Ge=e=>typeof e=="symbol",G=e=>e!==null&&typeof e=="object",js=e=>(G(e)||W(e))&&W(e.then)&&W(e.catch),Hn=Object.prototype.toString,Qt=e=>Hn.call(e),Xi=e=>Qt(e).slice(8,-1),jn=e=>Qt(e)==="[object Object]",Us=e=>Z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xt=Vs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),es=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Zi=/-(\w)/g,Ke=es(e=>e.replace(Zi,(t,s)=>s?s.toUpperCase():"")),Qi=/\B([A-Z])/g,rt=es(e=>e.replace(Qi,"-$1").toLowerCase()),Un=es(e=>e.charAt(0).toUpperCase()+e.slice(1)),fs=es(e=>e?`on${Un(e)}`:""),qe=(e,t)=>!Object.is(e,t),as=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},qn=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},er=e=>{const t=parseFloat(e);return isNaN(t)?e:t},tr=e=>{const t=Z(e)?Number(e):NaN;return isNaN(t)?e:t};let pn;const ts=()=>pn||(pn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ss(e){if(P(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=Z(n)?rr(n):ss(n);if(i)for(const r in i)t[r]=i[r]}return t}else if(Z(e)||G(e))return e}const sr=/;(?![^(]*\))/g,nr=/:([^]+)/,ir=/\/\*[^]*?\*\//g;function rr(e){const t={};return e.replace(ir,"").split(sr).forEach(s=>{if(s){const n=s.split(nr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function qs(e){let t="";if(Z(e))t=e;else if(P(e))for(let s=0;s<e.length;s++){const n=qs(e[s]);n&&(t+=n+" ")}else if(G(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const or="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",lr=Vs(or);function Kn(e){return!!e||e===""}const Gn=e=>!!(e&&e.__v_isRef===!0),Ss=e=>Z(e)?e:e==null?"":P(e)||G(e)&&(e.toString===Hn||!W(e.toString))?Gn(e)?Ss(e.value):JSON.stringify(e,zn,2):String(e),zn=(e,t)=>Gn(t)?zn(e,t.value):at(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],r)=>(s[us(n,r)+" =>"]=i,s),{})}:kn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>us(s))}:Ge(t)?us(t):G(t)&&!P(t)&&!jn(t)?String(t):t,us=(e,t="")=>{var s;return Ge(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
|
|
* @vue/reactivity v3.5.13
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let ve;class cr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ve,!t&&ve&&(this.index=(ve.scopes||(ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=ve;try{return ve=this,t()}finally{ve=s}}}on(){ve=this}off(){ve=this.parent}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function fr(){return ve}let q;const ds=new WeakSet;class Jn{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ve&&ve.active&&ve.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ds.has(this)&&(ds.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Xn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,gn(this),Zn(this);const t=q,s=Ee;q=this,Ee=!0;try{return this.fn()}finally{Qn(this),q=t,Ee=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)zs(t);this.deps=this.depsTail=void 0,gn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ds.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xs(this)&&this.run()}get dirty(){return xs(this)}}let Yn=0,It,Bt;function Xn(e,t=!1){if(e.flags|=8,t){e.next=Bt,Bt=e;return}e.next=It,It=e}function Ks(){Yn++}function Gs(){if(--Yn>0)return;if(Bt){let t=Bt;for(Bt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;It;){let t=It;for(It=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Zn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Qn(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),zs(n),ar(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function xs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ei(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ei(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===At))return;e.globalVersion=At;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!xs(e)){e.flags&=-3;return}const s=q,n=Ee;q=e,Ee=!0;try{Zn(e);const i=e.fn(e._value);(t.version===0||qe(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{q=s,Ee=n,Qn(e),e.flags&=-3}}function zs(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)zs(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function ar(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Ee=!0;const ti=[];function ze(){ti.push(Ee),Ee=!1}function Je(){const e=ti.pop();Ee=e===void 0?!0:e}function gn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=q;q=void 0;try{t()}finally{q=s}}}let At=0;class ur{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Js{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!q||!Ee||q===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==q)s=this.activeLink=new ur(q,this),q.deps?(s.prevDep=q.depsTail,q.depsTail.nextDep=s,q.depsTail=s):q.deps=q.depsTail=s,si(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=q.depsTail,s.nextDep=void 0,q.depsTail.nextDep=s,q.depsTail=s,q.deps===s&&(q.deps=n)}return s}trigger(t){this.version++,At++,this.notify(t)}notify(t){Ks();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Gs()}}}function si(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)si(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Is=new WeakMap,st=Symbol(""),Bs=Symbol(""),Ot=Symbol("");function ie(e,t,s){if(Ee&&q){let n=Is.get(e);n||Is.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new Js),i.map=n,i.key=s),i.track()}}function De(e,t,s,n,i,r){const o=Is.get(e);if(!o){At++;return}const l=c=>{c&&c.trigger()};if(Ks(),t==="clear")o.forEach(l);else{const c=P(e),h=c&&Us(s);if(c&&s==="length"){const u=Number(n);o.forEach((d,y)=>{(y==="length"||y===Ot||!Ge(y)&&y>=u)&&l(d)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),h&&l(o.get(Ot)),t){case"add":c?h&&l(o.get("length")):(l(o.get(st)),at(e)&&l(o.get(Bs)));break;case"delete":c||(l(o.get(st)),at(e)&&l(o.get(Bs)));break;case"set":at(e)&&l(o.get(st));break}}Gs()}function ot(e){const t=$(e);return t===e?t:(ie(t,"iterate",Ot),Se(e)?t:t.map(re))}function ns(e){return ie(e=$(e),"iterate",Ot),e}const dr={__proto__:null,[Symbol.iterator](){return hs(this,Symbol.iterator,re)},concat(...e){return ot(this).concat(...e.map(t=>P(t)?ot(t):t))},entries(){return hs(this,"entries",e=>(e[1]=re(e[1]),e))},every(e,t){return Re(this,"every",e,t,void 0,arguments)},filter(e,t){return Re(this,"filter",e,t,s=>s.map(re),arguments)},find(e,t){return Re(this,"find",e,t,re,arguments)},findIndex(e,t){return Re(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Re(this,"findLast",e,t,re,arguments)},findLastIndex(e,t){return Re(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Re(this,"forEach",e,t,void 0,arguments)},includes(...e){return ps(this,"includes",e)},indexOf(...e){return ps(this,"indexOf",e)},join(e){return ot(this).join(e)},lastIndexOf(...e){return ps(this,"lastIndexOf",e)},map(e,t){return Re(this,"map",e,t,void 0,arguments)},pop(){return wt(this,"pop")},push(...e){return wt(this,"push",e)},reduce(e,...t){return mn(this,"reduce",e,t)},reduceRight(e,...t){return mn(this,"reduceRight",e,t)},shift(){return wt(this,"shift")},some(e,t){return Re(this,"some",e,t,void 0,arguments)},splice(...e){return wt(this,"splice",e)},toReversed(){return ot(this).toReversed()},toSorted(e){return ot(this).toSorted(e)},toSpliced(...e){return ot(this).toSpliced(...e)},unshift(...e){return wt(this,"unshift",e)},values(){return hs(this,"values",re)}};function hs(e,t,s){const n=ns(e),i=n[t]();return n!==e&&!Se(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.value&&(r.value=s(r.value)),r}),i}const hr=Array.prototype;function Re(e,t,s,n,i,r){const o=ns(e),l=o!==e&&!Se(e),c=o[t];if(c!==hr[t]){const d=c.apply(e,r);return l?re(d):d}let h=s;o!==e&&(l?h=function(d,y){return s.call(this,re(d),y,e)}:s.length>2&&(h=function(d,y){return s.call(this,d,y,e)}));const u=c.call(o,h,n);return l&&i?i(u):u}function mn(e,t,s,n){const i=ns(e);let r=s;return i!==e&&(Se(e)?s.length>3&&(r=function(o,l,c){return s.call(this,o,l,c,e)}):r=function(o,l,c){return s.call(this,o,re(l),c,e)}),i[t](r,...n)}function ps(e,t,s){const n=$(e);ie(n,"iterate",Ot);const i=n[t](...s);return(i===-1||i===!1)&&Qs(s[0])?(s[0]=$(s[0]),n[t](...s)):i}function wt(e,t,s=[]){ze(),Ks();const n=$(e)[t].apply(e,s);return Gs(),Je(),n}const pr=Vs("__proto__,__v_isRef,__isVue"),ni=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ge));function gr(e){Ge(e)||(e=String(e));const t=$(this);return ie(t,"has",e),t.hasOwnProperty(e)}class ii{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?Br:ci:r?li:oi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=P(t);if(!i){let c;if(o&&(c=dr[s]))return c;if(s==="hasOwnProperty")return gr}const l=Reflect.get(t,s,le(t)?t:n);return(Ge(s)?ni.has(s):pr(s))||(i||ie(t,"get",s),r)?l:le(l)?o&&Us(s)?l:l.value:G(l)?i?fi(l):Xs(l):l}}class ri extends ii{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];if(!this._isShallow){const c=nt(r);if(!Se(n)&&!nt(n)&&(r=$(r),n=$(n)),!P(t)&&le(r)&&!le(n))return c?!1:(r.value=n,!0)}const o=P(t)&&Us(s)?Number(s)<t.length:D(t,s),l=Reflect.set(t,s,n,le(t)?t:i);return t===$(i)&&(o?qe(n,r)&&De(t,"set",s,n):De(t,"add",s,n)),l}deleteProperty(t,s){const n=D(t,s);t[s];const i=Reflect.deleteProperty(t,s);return i&&n&&De(t,"delete",s,void 0),i}has(t,s){const n=Reflect.has(t,s);return(!Ge(s)||!ni.has(s))&&ie(t,"has",s),n}ownKeys(t){return ie(t,"iterate",P(t)?"length":st),Reflect.ownKeys(t)}}class mr extends ii{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const _r=new ri,br=new mr,yr=new ri(!0);const Es=e=>e,Dt=e=>Reflect.getPrototypeOf(e);function vr(e,t,s){return function(...n){const i=this.__v_raw,r=$(i),o=at(r),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,h=i[e](...n),u=s?Es:t?Cs:re;return!t&&ie(r,"iterate",c?Bs:st),{next(){const{value:d,done:y}=h.next();return y?{value:d,done:y}:{value:l?[u(d[0]),u(d[1])]:u(d),done:y}},[Symbol.iterator](){return this}}}}function Lt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function wr(e,t){const s={get(i){const r=this.__v_raw,o=$(r),l=$(i);e||(qe(i,l)&&ie(o,"get",i),ie(o,"get",l));const{has:c}=Dt(o),h=t?Es:e?Cs:re;if(c.call(o,i))return h(r.get(i));if(c.call(o,l))return h(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&ie($(i),"iterate",st),Reflect.get(i,"size",i)},has(i){const r=this.__v_raw,o=$(r),l=$(i);return e||(qe(i,l)&&ie(o,"has",i),ie(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,c=$(l),h=t?Es:e?Cs:re;return!e&&ie(c,"iterate",st),l.forEach((u,d)=>i.call(r,h(u),h(d),o))}};return ue(s,e?{add:Lt("add"),set:Lt("set"),delete:Lt("delete"),clear:Lt("clear")}:{add(i){!t&&!Se(i)&&!nt(i)&&(i=$(i));const r=$(this);return Dt(r).has.call(r,i)||(r.add(i),De(r,"add",i,i)),this},set(i,r){!t&&!Se(r)&&!nt(r)&&(r=$(r));const o=$(this),{has:l,get:c}=Dt(o);let h=l.call(o,i);h||(i=$(i),h=l.call(o,i));const u=c.call(o,i);return o.set(i,r),h?qe(r,u)&&De(o,"set",i,r):De(o,"add",i,r),this},delete(i){const r=$(this),{has:o,get:l}=Dt(r);let c=o.call(r,i);c||(i=$(i),c=o.call(r,i)),l&&l.call(r,i);const h=r.delete(i);return c&&De(r,"delete",i,void 0),h},clear(){const i=$(this),r=i.size!==0,o=i.clear();return r&&De(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=vr(i,e,t)}),s}function Ys(e,t){const s=wr(e,t);return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(D(s,i)&&i in n?s:n,i,r)}const Sr={get:Ys(!1,!1)},xr={get:Ys(!1,!0)},Ir={get:Ys(!0,!1)};const oi=new WeakMap,li=new WeakMap,ci=new WeakMap,Br=new WeakMap;function Er(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Cr(e){return e.__v_skip||!Object.isExtensible(e)?0:Er(Xi(e))}function Xs(e){return nt(e)?e:Zs(e,!1,_r,Sr,oi)}function Tr(e){return Zs(e,!1,yr,xr,li)}function fi(e){return Zs(e,!0,br,Ir,ci)}function Zs(e,t,s,n,i){if(!G(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const o=Cr(e);if(o===0)return e;const l=new Proxy(e,o===2?n:s);return i.set(e,l),l}function ut(e){return nt(e)?ut(e.__v_raw):!!(e&&e.__v_isReactive)}function nt(e){return!!(e&&e.__v_isReadonly)}function Se(e){return!!(e&&e.__v_isShallow)}function Qs(e){return e?!!e.__v_raw:!1}function $(e){const t=e&&e.__v_raw;return t?$(t):e}function Ar(e){return!D(e,"__v_skip")&&Object.isExtensible(e)&&qn(e,"__v_skip",!0),e}const re=e=>G(e)?Xs(e):e,Cs=e=>G(e)?fi(e):e;function le(e){return e?e.__v_isRef===!0:!1}function qt(e){return Or(e,!1)}function Or(e,t){return le(e)?e:new Fr(e,t)}class Fr{constructor(t,s){this.dep=new Js,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:$(t),this._value=s?t:re(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||Se(t)||nt(t);t=n?t:$(t),qe(t,s)&&(this._rawValue=t,this._value=n?t:re(t),this.dep.trigger())}}function ai(e){return le(e)?e.value:e}const Pr={get:(e,t,s)=>t==="__v_raw"?e:ai(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return le(i)&&!le(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function ui(e){return ut(e)?e:new Proxy(e,Pr)}class Wr{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Js(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=At-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&q!==this)return Xn(this,!0),!0}get value(){const t=this.dep.track();return ei(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Mr(e,t,s=!1){let n,i;return W(e)?n=e:(n=e.get,i=e.set),new Wr(n,i,s)}const Vt={},Kt=new WeakMap;let tt;function Nr(e,t=!1,s=tt){if(s){let n=Kt.get(s);n||Kt.set(s,n=[]),n.push(e)}}function Rr(e,t,s=K){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:c}=s,h=O=>i?O:Se(O)||i===!1||i===0?je(O,1):je(O);let u,d,y,x,E=!1,A=!1;if(le(e)?(d=()=>e.value,E=Se(e)):ut(e)?(d=()=>h(e),E=!0):P(e)?(A=!0,E=e.some(O=>ut(O)||Se(O)),d=()=>e.map(O=>{if(le(O))return O.value;if(ut(O))return h(O);if(W(O))return c?c(O,2):O()})):W(e)?t?d=c?()=>c(e,2):e:d=()=>{if(y){ze();try{y()}finally{Je()}}const O=tt;tt=u;try{return c?c(e,3,[x]):e(x)}finally{tt=O}}:d=Me,t&&i){const O=d,B=i===!0?1/0:i;d=()=>je(O(),B)}const z=fr(),R=()=>{u.stop(),z&&z.active&&Hs(z.effects,u)};if(r&&t){const O=t;t=(...B)=>{O(...B),R()}}let L=A?new Array(e.length).fill(Vt):Vt;const k=O=>{if(!(!(u.flags&1)||!u.dirty&&!O))if(t){const B=u.run();if(i||E||(A?B.some((M,J)=>qe(M,L[J])):qe(B,L))){y&&y();const M=tt;tt=u;try{const J=[B,L===Vt?void 0:A&&L[0]===Vt?[]:L,x];c?c(t,3,J):t(...J),L=B}finally{tt=M}}}else u.run()};return l&&l(k),u=new Jn(d),u.scheduler=o?()=>o(k,!1):k,x=O=>Nr(O,!1,u),y=u.onStop=()=>{const O=Kt.get(u);if(O){if(c)c(O,4);else for(const B of O)B();Kt.delete(u)}},t?n?k(!0):L=u.run():o?o(k.bind(null,!0),!0):u.run(),R.pause=u.pause.bind(u),R.resume=u.resume.bind(u),R.stop=R,R}function je(e,t=1/0,s){if(t<=0||!G(e)||e.__v_skip||(s=s||new Set,s.has(e)))return e;if(s.add(e),t--,le(e))je(e.value,t,s);else if(P(e))for(let n=0;n<e.length;n++)je(e[n],t,s);else if(kn(e)||at(e))e.forEach(n=>{je(n,t,s)});else if(jn(e)){for(const n in e)je(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&je(e[n],t,s)}return e}/**
|
|
* @vue/runtime-core v3.5.13
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Mt(e,t,s,n){try{return n?e(...n):e()}catch(i){Nt(i,t,s)}}function Ne(e,t,s,n){if(W(e)){const i=Mt(e,t,s,n);return i&&js(i)&&i.catch(r=>{Nt(r,t,s)}),i}if(P(e)){const i=[];for(let r=0;r<e.length;r++)i.push(Ne(e[r],t,s,n));return i}}function Nt(e,t,s,n=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||K;if(t){let l=t.parent;const c=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const u=l.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,c,h)===!1)return}l=l.parent}if(r){ze(),Mt(r,null,10,[e,c,h]),Je();return}}$r(e,s,i,n,o)}function $r(e,t,s,n=!0,i=!1){if(i)throw e;console.error(e)}const fe=[];let We=-1;const dt=[];let ke=null,lt=0;const di=Promise.resolve();let Gt=null;function Dr(e){const t=Gt||di;return e?t.then(this?e.bind(this):e):t}function Lr(e){let t=We+1,s=fe.length;for(;t<s;){const n=t+s>>>1,i=fe[n],r=Ft(i);r<e||r===e&&i.flags&2?t=n+1:s=n}return t}function en(e){if(!(e.flags&1)){const t=Ft(e),s=fe[fe.length-1];!s||!(e.flags&2)&&t>=Ft(s)?fe.push(e):fe.splice(Lr(t),0,e),e.flags|=1,hi()}}function hi(){Gt||(Gt=di.then(gi))}function Ts(e){P(e)?dt.push(...e):ke&&e.id===-1?ke.splice(lt+1,0,e):e.flags&1||(dt.push(e),e.flags|=1),hi()}function _n(e,t,s=We+1){for(;s<fe.length;s++){const n=fe[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;fe.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function pi(e){if(dt.length){const t=[...new Set(dt)].sort((s,n)=>Ft(s)-Ft(n));if(dt.length=0,ke){ke.push(...t);return}for(ke=t,lt=0;lt<ke.length;lt++){const s=ke[lt];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ke=null,lt=0}}const Ft=e=>e.id==null?e.flags&2?-1:1/0:e.id;function gi(e){try{for(We=0;We<fe.length;We++){const t=fe[We];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Mt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;We<fe.length;We++){const t=fe[We];t&&(t.flags&=-2)}We=-1,fe.length=0,pi(),Gt=null,(fe.length||dt.length)&&gi()}}let Be=null,mi=null;function zt(e){const t=Be;return Be=e,mi=e&&e.type.__scopeId||null,t}function is(e,t=Be,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&Cn(-1);const r=zt(t);let o;try{o=e(...i)}finally{zt(r),n._d&&Cn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Qe(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let c=l.dir[n];c&&(ze(),Ne(c,s,8,[e.el,l,e,t]),Je())}}const Vr=Symbol("_vte"),kr=e=>e.__isTeleport;function tn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,tn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function _i(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Jt(e,t,s,n,i=!1){if(P(e)){e.forEach((E,A)=>Jt(E,t&&(P(t)?t[A]:t),s,n,i));return}if(Et(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Jt(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?cn(n.component):n.el,o=i?null:r,{i:l,r:c}=e,h=t&&t.r,u=l.refs===K?l.refs={}:l.refs,d=l.setupState,y=$(d),x=d===K?()=>!1:E=>D(y,E);if(h!=null&&h!==c&&(Z(h)?(u[h]=null,x(h)&&(d[h]=null)):le(h)&&(h.value=null)),W(c))Mt(c,l,12,[o,u]);else{const E=Z(c),A=le(c);if(E||A){const z=()=>{if(e.f){const R=E?x(c)?d[c]:u[c]:c.value;i?P(R)&&Hs(R,r):P(R)?R.includes(r)||R.push(r):E?(u[c]=[r],x(c)&&(d[c]=u[c])):(c.value=[r],e.k&&(u[e.k]=c.value))}else E?(u[c]=o,x(c)&&(d[c]=o)):A&&(c.value=o,e.k&&(u[e.k]=o))};o?(z.id=-1,ye(z,s)):z()}}}ts().requestIdleCallback;ts().cancelIdleCallback;const Et=e=>!!e.type.__asyncLoader,bi=e=>e.type.__isKeepAlive;function Hr(e,t){yi(e,"a",t)}function jr(e,t){yi(e,"da",t)}function yi(e,t,s=oe){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(rs(t,n,s),s){let i=s.parent;for(;i&&i.parent;)bi(i.parent.vnode)&&Ur(n,t,s,i),i=i.parent}}function Ur(e,t,s,n){const i=rs(t,e,n,!0);vi(()=>{Hs(n[t],i)},s)}function rs(e,t,s=oe,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{ze();const l=it(s),c=Ne(t,s,e,o);return l(),Je(),c});return n?i.unshift(r):i.push(r),r}}const Ve=e=>(t,s=oe)=>{(!Wt||e==="sp")&&rs(e,(...n)=>t(...n),s)},qr=Ve("bm"),Kr=Ve("m"),Gr=Ve("bu"),zr=Ve("u"),Jr=Ve("bum"),vi=Ve("um"),Yr=Ve("sp"),Xr=Ve("rtg"),Zr=Ve("rtc");function Qr(e,t=oe){rs("ec",e,t)}const eo=Symbol.for("v-ndc");function As(e,t,s,n){let i;const r=s,o=P(e);if(o||Z(e)){const l=o&&ut(e);let c=!1;l&&(c=!Se(e),e=ns(e)),i=new Array(e.length);for(let h=0,u=e.length;h<u;h++)i[h]=t(c?re(e[h]):e[h],h,void 0,r)}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r)}else if(G(e))if(e[Symbol.iterator])i=Array.from(e,(l,c)=>t(l,c,void 0,r));else{const l=Object.keys(e);i=new Array(l.length);for(let c=0,h=l.length;c<h;c++){const u=l[c];i[c]=t(e[u],u,c,r)}}else i=[];return i}const Os=e=>e?ji(e)?cn(e):Os(e.parent):null,Ct=ue(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=>Os(e.parent),$root:e=>Os(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Si(e),$forceUpdate:e=>e.f||(e.f=()=>{en(e.update)}),$nextTick:e=>e.n||(e.n=Dr.bind(e.proxy)),$watch:e=>Io.bind(e)}),gs=(e,t)=>e!==K&&!e.__isScriptSetup&&D(e,t),to={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:c}=e;let h;if(t[0]!=="$"){const x=o[t];if(x!==void 0)switch(x){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(gs(n,t))return o[t]=1,n[t];if(i!==K&&D(i,t))return o[t]=2,i[t];if((h=e.propsOptions[0])&&D(h,t))return o[t]=3,r[t];if(s!==K&&D(s,t))return o[t]=4,s[t];Fs&&(o[t]=0)}}const u=Ct[t];let d,y;if(u)return t==="$attrs"&&ie(e.attrs,"get",""),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(s!==K&&D(s,t))return o[t]=4,s[t];if(y=c.config.globalProperties,D(y,t))return y[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return gs(i,t)?(i[t]=s,!0):n!==K&&D(n,t)?(n[t]=s,!0):D(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,propsOptions:r}},o){let l;return!!s[o]||e!==K&&D(e,o)||gs(t,o)||(l=r[0])&&D(l,o)||D(n,o)||D(Ct,o)||D(i.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 bn(e){return P(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}function so(e){const t=Ko();let s=e();return $s(),js(s)&&(s=s.catch(n=>{throw it(t),n})),[s,()=>it(t)]}let Fs=!0;function no(e){const t=Si(e),s=e.proxy,n=e.ctx;Fs=!1,t.beforeCreate&&yn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:c,inject:h,created:u,beforeMount:d,mounted:y,beforeUpdate:x,updated:E,activated:A,deactivated:z,beforeDestroy:R,beforeUnmount:L,destroyed:k,unmounted:O,render:B,renderTracked:M,renderTriggered:J,errorCaptured:ee,serverPrefetch:te,expose:Y,inheritAttrs:me,components:de,directives:we,filters:Ce}=t;if(h&&io(h,n,null),o)for(const H in o){const j=o[H];W(j)&&(n[H]=j.bind(s))}if(i){const H=i.call(s,s);G(H)&&(e.data=Xs(H))}if(Fs=!0,r)for(const H in r){const j=r[H],Xe=W(j)?j.bind(s,s):W(j.get)?j.get.bind(s,s):Me,Rt=!W(j)&&W(j.set)?j.set.bind(s):Me,Ze=qi({get:Xe,set:Rt});Object.defineProperty(n,H,{enumerable:!0,configurable:!0,get:()=>Ze.value,set:Te=>Ze.value=Te})}if(l)for(const H in l)wi(l[H],n,s,H);if(c){const H=W(c)?c.call(s):c;Reflect.ownKeys(H).forEach(j=>{ao(j,H[j])})}u&&yn(u,e,"c");function X(H,j){P(j)?j.forEach(Xe=>H(Xe.bind(s))):j&&H(j.bind(s))}if(X(qr,d),X(Kr,y),X(Gr,x),X(zr,E),X(Hr,A),X(jr,z),X(Qr,ee),X(Zr,M),X(Xr,J),X(Jr,L),X(vi,O),X(Yr,te),P(Y))if(Y.length){const H=e.exposed||(e.exposed={});Y.forEach(j=>{Object.defineProperty(H,j,{get:()=>s[j],set:Xe=>s[j]=Xe})})}else e.exposed||(e.exposed={});B&&e.render===Me&&(e.render=B),me!=null&&(e.inheritAttrs=me),de&&(e.components=de),we&&(e.directives=we),te&&_i(e)}function io(e,t,s=Me){P(e)&&(e=Ps(e));for(const n in e){const i=e[n];let r;G(i)?"default"in i?r=kt(i.from||n,i.default,!0):r=kt(i.from||n):r=kt(i),le(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function yn(e,t,s){Ne(P(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function wi(e,t,s,n){let i=n.includes(".")?Ri(s,n):()=>s[n];if(Z(e)){const r=t[e];W(r)&&_s(i,r)}else if(W(e))_s(i,e.bind(s));else if(G(e))if(P(e))e.forEach(r=>wi(r,t,s,n));else{const r=W(e.handler)?e.handler.bind(s):t[e.handler];W(r)&&_s(i,r,e)}}function Si(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let c;return l?c=l:!i.length&&!s&&!n?c=t:(c={},i.length&&i.forEach(h=>Yt(c,h,o,!0)),Yt(c,t,o)),G(t)&&r.set(t,c),c}function Yt(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&Yt(e,r,s,!0),i&&i.forEach(o=>Yt(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=ro[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const ro={data:vn,props:wn,emits:wn,methods:St,computed:St,beforeCreate:ce,created:ce,beforeMount:ce,mounted:ce,beforeUpdate:ce,updated:ce,beforeDestroy:ce,beforeUnmount:ce,destroyed:ce,unmounted:ce,activated:ce,deactivated:ce,errorCaptured:ce,serverPrefetch:ce,components:St,directives:St,watch:lo,provide:vn,inject:oo};function vn(e,t){return t?e?function(){return ue(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function oo(e,t){return St(Ps(e),Ps(t))}function Ps(e){if(P(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function ce(e,t){return e?[...new Set([].concat(e,t))]:t}function St(e,t){return e?ue(Object.create(null),e,t):t}function wn(e,t){return e?P(e)&&P(t)?[...new Set([...e,...t])]:ue(Object.create(null),bn(e),bn(t??{})):t}function lo(e,t){if(!e)return t;if(!t)return e;const s=ue(Object.create(null),e);for(const n in t)s[n]=ce(e[n],t[n]);return s}function xi(){return{app:null,config:{isNativeTag:Ji,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 co=0;function fo(e,t){return function(n,i=null){W(n)||(n=ue({},n)),i!=null&&!G(i)&&(i=null);const r=xi(),o=new WeakSet,l=[];let c=!1;const h=r.app={_uid:co++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:Zo,get config(){return r.config},set config(u){},use(u,...d){return o.has(u)||(u&&W(u.install)?(o.add(u),u.install(h,...d)):W(u)&&(o.add(u),u(h,...d))),h},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),h},component(u,d){return d?(r.components[u]=d,h):r.components[u]},directive(u,d){return d?(r.directives[u]=d,h):r.directives[u]},mount(u,d,y){if(!c){const x=h._ceVNode||ne(n,i);return x.appContext=r,y===!0?y="svg":y===!1&&(y=void 0),e(x,u,y),c=!0,h._container=u,u.__vue_app__=h,cn(x.component)}},onUnmount(u){l.push(u)},unmount(){c&&(Ne(l,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(u,d){return r.provides[u]=d,h},runWithContext(u){const d=ht;ht=h;try{return u()}finally{ht=d}}};return h}}let ht=null;function ao(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 kt(e,t,s=!1){const n=oe||Be;if(n||ht){const i=ht?ht._context.provides:n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return s&&W(t)?t.call(n&&n.proxy):t}}const Ii={},Bi=()=>Object.create(Ii),Ei=e=>Object.getPrototypeOf(e)===Ii;function uo(e,t,s,n=!1){const i={},r=Bi();e.propsDefaults=Object.create(null),Ci(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:Tr(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function ho(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=$(i),[c]=e.propsOptions;let h=!1;if((n||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let y=u[d];if(os(e.emitsOptions,y))continue;const x=t[y];if(c)if(D(r,y))x!==r[y]&&(r[y]=x,h=!0);else{const E=Ke(y);i[E]=Ws(c,l,E,x,e,!1)}else x!==r[y]&&(r[y]=x,h=!0)}}}else{Ci(e,t,i,r)&&(h=!0);let u;for(const d in l)(!t||!D(t,d)&&((u=rt(d))===d||!D(t,u)))&&(c?s&&(s[d]!==void 0||s[u]!==void 0)&&(i[d]=Ws(c,l,d,void 0,e,!0)):delete i[d]);if(r!==l)for(const d in r)(!t||!D(t,d))&&(delete r[d],h=!0)}h&&De(e.attrs,"set","")}function Ci(e,t,s,n){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(xt(c))continue;const h=t[c];let u;i&&D(i,u=Ke(c))?!r||!r.includes(u)?s[u]=h:(l||(l={}))[u]=h:os(e.emitsOptions,c)||(!(c in n)||h!==n[c])&&(n[c]=h,o=!0)}if(r){const c=$(s),h=l||K;for(let u=0;u<r.length;u++){const d=r[u];s[d]=Ws(i,c,d,h[d],e,!D(h,d))}}return o}function Ws(e,t,s,n,i,r){const o=e[s];if(o!=null){const l=D(o,"default");if(l&&n===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&W(c)){const{propsDefaults:h}=i;if(s in h)n=h[s];else{const u=it(i);n=h[s]=c.call(null,t),u()}}else n=c;i.ce&&i.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===rt(s))&&(n=!0))}return n}const po=new WeakMap;function Ti(e,t,s=!1){const n=s?po:t.propsCache,i=n.get(e);if(i)return i;const r=e.props,o={},l=[];let c=!1;if(!W(e)){const u=d=>{c=!0;const[y,x]=Ti(d,t,!0);ue(o,y),x&&l.push(...x)};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!c)return G(e)&&n.set(e,ft),ft;if(P(r))for(let u=0;u<r.length;u++){const d=Ke(r[u]);Sn(d)&&(o[d]=K)}else if(r)for(const u in r){const d=Ke(u);if(Sn(d)){const y=r[u],x=o[d]=P(y)||W(y)?{type:y}:ue({},y),E=x.type;let A=!1,z=!0;if(P(E))for(let R=0;R<E.length;++R){const L=E[R],k=W(L)&&L.name;if(k==="Boolean"){A=!0;break}else k==="String"&&(z=!1)}else A=W(E)&&E.name==="Boolean";x[0]=A,x[1]=z,(A||D(x,"default"))&&l.push(d)}}const h=[o,l];return G(e)&&n.set(e,h),h}function Sn(e){return e[0]!=="$"&&!xt(e)}const Ai=e=>e[0]==="_"||e==="$stable",sn=e=>P(e)?e.map(xe):[xe(e)],go=(e,t,s)=>{if(t._n)return t;const n=is((...i)=>sn(t(...i)),s);return n._c=!1,n},Oi=(e,t,s)=>{const n=e._ctx;for(const i in e){if(Ai(i))continue;const r=e[i];if(W(r))t[i]=go(i,r,n);else if(r!=null){const o=sn(r);t[i]=()=>o}}},Fi=(e,t)=>{const s=sn(t);e.slots.default=()=>s},Pi=(e,t,s)=>{for(const n in t)(s||n!=="_")&&(e[n]=t[n])},mo=(e,t,s)=>{const n=e.slots=Bi();if(e.vnode.shapeFlag&32){const i=t._;i?(Pi(n,t,s),s&&qn(n,"_",i,!0)):Oi(t,n)}else t&&Fi(e,t)},_o=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=K;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:Pi(i,t,s):(r=!t.$stable,Oi(t,i)),o=t}else t&&(Fi(e,t),o={default:1});if(r)for(const l in i)!Ai(l)&&o[l]==null&&delete i[l]},ye=Ro;function bo(e){return yo(e)}function yo(e,t){const s=ts();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:c,setText:h,setElementText:u,parentNode:d,nextSibling:y,setScopeId:x=Me,insertStaticContent:E}=e,A=(f,a,p,_=null,g=null,m=null,S=void 0,w=null,v=!!a.dynamicChildren)=>{if(f===a)return;f&&!Ue(f,a)&&(_=$t(f),Te(f,g,m,!0),f=null),a.patchFlag===-2&&(v=!1,a.dynamicChildren=null);const{type:b,ref:T,shapeFlag:I}=a;switch(b){case ls:z(f,a,p,_);break;case Le:R(f,a,p,_);break;case Ht:f==null&&L(a,p,_,S);break;case ae:de(f,a,p,_,g,m,S,w,v);break;default:I&1?B(f,a,p,_,g,m,S,w,v):I&6?we(f,a,p,_,g,m,S,w,v):(I&64||I&128)&&b.process(f,a,p,_,g,m,S,w,v,yt)}T!=null&&g&&Jt(T,f&&f.ref,m,a||f,!a)},z=(f,a,p,_)=>{if(f==null)n(a.el=l(a.children),p,_);else{const g=a.el=f.el;a.children!==f.children&&h(g,a.children)}},R=(f,a,p,_)=>{f==null?n(a.el=c(a.children||""),p,_):a.el=f.el},L=(f,a,p,_)=>{[f.el,f.anchor]=E(f.children,a,p,_,f.el,f.anchor)},k=({el:f,anchor:a},p,_)=>{let g;for(;f&&f!==a;)g=y(f),n(f,p,_),f=g;n(a,p,_)},O=({el:f,anchor:a})=>{let p;for(;f&&f!==a;)p=y(f),i(f),f=p;i(a)},B=(f,a,p,_,g,m,S,w,v)=>{a.type==="svg"?S="svg":a.type==="math"&&(S="mathml"),f==null?M(a,p,_,g,m,S,w,v):te(f,a,g,m,S,w,v)},M=(f,a,p,_,g,m,S,w)=>{let v,b;const{props:T,shapeFlag:I,transition:C,dirs:F}=f;if(v=f.el=o(f.type,m,T&&T.is,T),I&8?u(v,f.children):I&16&&ee(f.children,v,null,_,g,ms(f,m),S,w),F&&Qe(f,null,_,"created"),J(v,f,f.scopeId,S,_),T){for(const U in T)U!=="value"&&!xt(U)&&r(v,U,null,T[U],m,_);"value"in T&&r(v,"value",null,T.value,m),(b=T.onVnodeBeforeMount)&&Pe(b,_,f)}F&&Qe(f,null,_,"beforeMount");const N=vo(g,C);N&&C.beforeEnter(v),n(v,a,p),((b=T&&T.onVnodeMounted)||N||F)&&ye(()=>{b&&Pe(b,_,f),N&&C.enter(v),F&&Qe(f,null,_,"mounted")},g)},J=(f,a,p,_,g)=>{if(p&&x(f,p),_)for(let m=0;m<_.length;m++)x(f,_[m]);if(g){let m=g.subTree;if(a===m||Di(m.type)&&(m.ssContent===a||m.ssFallback===a)){const S=g.vnode;J(f,S,S.scopeId,S.slotScopeIds,g.parent)}}},ee=(f,a,p,_,g,m,S,w,v=0)=>{for(let b=v;b<f.length;b++){const T=f[b]=w?He(f[b]):xe(f[b]);A(null,T,a,p,_,g,m,S,w)}},te=(f,a,p,_,g,m,S)=>{const w=a.el=f.el;let{patchFlag:v,dynamicChildren:b,dirs:T}=a;v|=f.patchFlag&16;const I=f.props||K,C=a.props||K;let F;if(p&&et(p,!1),(F=C.onVnodeBeforeUpdate)&&Pe(F,p,a,f),T&&Qe(a,f,p,"beforeUpdate"),p&&et(p,!0),(I.innerHTML&&C.innerHTML==null||I.textContent&&C.textContent==null)&&u(w,""),b?Y(f.dynamicChildren,b,w,p,_,ms(a,g),m):S||j(f,a,w,null,p,_,ms(a,g),m,!1),v>0){if(v&16)me(w,I,C,p,g);else if(v&2&&I.class!==C.class&&r(w,"class",null,C.class,g),v&4&&r(w,"style",I.style,C.style,g),v&8){const N=a.dynamicProps;for(let U=0;U<N.length;U++){const V=N[U],_e=I[V],he=C[V];(he!==_e||V==="value")&&r(w,V,_e,he,g,p)}}v&1&&f.children!==a.children&&u(w,a.children)}else!S&&b==null&&me(w,I,C,p,g);((F=C.onVnodeUpdated)||T)&&ye(()=>{F&&Pe(F,p,a,f),T&&Qe(a,f,p,"updated")},_)},Y=(f,a,p,_,g,m,S)=>{for(let w=0;w<a.length;w++){const v=f[w],b=a[w],T=v.el&&(v.type===ae||!Ue(v,b)||v.shapeFlag&70)?d(v.el):p;A(v,b,T,null,_,g,m,S,!0)}},me=(f,a,p,_,g)=>{if(a!==p){if(a!==K)for(const m in a)!xt(m)&&!(m in p)&&r(f,m,a[m],null,g,_);for(const m in p){if(xt(m))continue;const S=p[m],w=a[m];S!==w&&m!=="value"&&r(f,m,w,S,g,_)}"value"in p&&r(f,"value",a.value,p.value,g)}},de=(f,a,p,_,g,m,S,w,v)=>{const b=a.el=f?f.el:l(""),T=a.anchor=f?f.anchor:l("");let{patchFlag:I,dynamicChildren:C,slotScopeIds:F}=a;F&&(w=w?w.concat(F):F),f==null?(n(b,p,_),n(T,p,_),ee(a.children||[],p,T,g,m,S,w,v)):I>0&&I&64&&C&&f.dynamicChildren?(Y(f.dynamicChildren,C,p,g,m,S,w),(a.key!=null||g&&a===g.subTree)&&Wi(f,a,!0)):j(f,a,p,T,g,m,S,w,v)},we=(f,a,p,_,g,m,S,w,v)=>{a.slotScopeIds=w,f==null?a.shapeFlag&512?g.ctx.activate(a,p,_,S,v):Ce(a,p,_,g,m,S,v):Ye(f,a,v)},Ce=(f,a,p,_,g,m,S)=>{const w=f.component=qo(f,_,g);if(bi(f)&&(w.ctx.renderer=yt),Go(w,!1,S),w.asyncDep){if(g&&g.registerDep(w,X,S),!f.el){const v=w.subTree=ne(Le);R(null,v,a,p)}}else X(w,f,a,p,g,m,S)},Ye=(f,a,p)=>{const _=a.component=f.component;if(Oo(f,a,p))if(_.asyncDep&&!_.asyncResolved){H(_,a,p);return}else _.next=a,_.update();else a.el=f.el,_.vnode=a},X=(f,a,p,_,g,m,S)=>{const w=()=>{if(f.isMounted){let{next:I,bu:C,u:F,parent:N,vnode:U}=f;{const Oe=Mi(f);if(Oe){I&&(I.el=U.el,H(f,I,S)),Oe.asyncDep.then(()=>{f.isUnmounted||w()});return}}let V=I,_e;et(f,!1),I?(I.el=U.el,H(f,I,S)):I=U,C&&as(C),(_e=I.props&&I.props.onVnodeBeforeUpdate)&&Pe(_e,N,I,U),et(f,!0);const he=In(f),Ae=f.subTree;f.subTree=he,A(Ae,he,d(Ae.el),$t(Ae),f,g,m),I.el=he.el,V===null&&nn(f,he.el),F&&ye(F,g),(_e=I.props&&I.props.onVnodeUpdated)&&ye(()=>Pe(_e,N,I,U),g)}else{let I;const{el:C,props:F}=a,{bm:N,m:U,parent:V,root:_e,type:he}=f,Ae=Et(a);et(f,!1),N&&as(N),!Ae&&(I=F&&F.onVnodeBeforeMount)&&Pe(I,V,a),et(f,!0);{_e.ce&&_e.ce._injectChildStyle(he);const Oe=f.subTree=In(f);A(null,Oe,p,_,f,g,m),a.el=Oe.el}if(U&&ye(U,g),!Ae&&(I=F&&F.onVnodeMounted)){const Oe=a;ye(()=>Pe(I,V,Oe),g)}(a.shapeFlag&256||V&&Et(V.vnode)&&V.vnode.shapeFlag&256)&&f.a&&ye(f.a,g),f.isMounted=!0,a=p=_=null}};f.scope.on();const v=f.effect=new Jn(w);f.scope.off();const b=f.update=v.run.bind(v),T=f.job=v.runIfDirty.bind(v);T.i=f,T.id=f.uid,v.scheduler=()=>en(T),et(f,!0),b()},H=(f,a,p)=>{a.component=f;const _=f.vnode.props;f.vnode=a,f.next=null,ho(f,a.props,_,p),_o(f,a.children,p),ze(),_n(f),Je()},j=(f,a,p,_,g,m,S,w,v=!1)=>{const b=f&&f.children,T=f?f.shapeFlag:0,I=a.children,{patchFlag:C,shapeFlag:F}=a;if(C>0){if(C&128){Rt(b,I,p,_,g,m,S,w,v);return}else if(C&256){Xe(b,I,p,_,g,m,S,w,v);return}}F&8?(T&16&&bt(b,g,m),I!==b&&u(p,I)):T&16?F&16?Rt(b,I,p,_,g,m,S,w,v):bt(b,g,m,!0):(T&8&&u(p,""),F&16&&ee(I,p,_,g,m,S,w,v))},Xe=(f,a,p,_,g,m,S,w,v)=>{f=f||ft,a=a||ft;const b=f.length,T=a.length,I=Math.min(b,T);let C;for(C=0;C<I;C++){const F=a[C]=v?He(a[C]):xe(a[C]);A(f[C],F,p,null,g,m,S,w,v)}b>T?bt(f,g,m,!0,!1,I):ee(a,p,_,g,m,S,w,v,I)},Rt=(f,a,p,_,g,m,S,w,v)=>{let b=0;const T=a.length;let I=f.length-1,C=T-1;for(;b<=I&&b<=C;){const F=f[b],N=a[b]=v?He(a[b]):xe(a[b]);if(Ue(F,N))A(F,N,p,null,g,m,S,w,v);else break;b++}for(;b<=I&&b<=C;){const F=f[I],N=a[C]=v?He(a[C]):xe(a[C]);if(Ue(F,N))A(F,N,p,null,g,m,S,w,v);else break;I--,C--}if(b>I){if(b<=C){const F=C+1,N=F<T?a[F].el:_;for(;b<=C;)A(null,a[b]=v?He(a[b]):xe(a[b]),p,N,g,m,S,w,v),b++}}else if(b>C)for(;b<=I;)Te(f[b],g,m,!0),b++;else{const F=b,N=b,U=new Map;for(b=N;b<=C;b++){const be=a[b]=v?He(a[b]):xe(a[b]);be.key!=null&&U.set(be.key,b)}let V,_e=0;const he=C-N+1;let Ae=!1,Oe=0;const vt=new Array(he);for(b=0;b<he;b++)vt[b]=0;for(b=F;b<=I;b++){const be=f[b];if(_e>=he){Te(be,g,m,!0);continue}let Fe;if(be.key!=null)Fe=U.get(be.key);else for(V=N;V<=C;V++)if(vt[V-N]===0&&Ue(be,a[V])){Fe=V;break}Fe===void 0?Te(be,g,m,!0):(vt[Fe-N]=b+1,Fe>=Oe?Oe=Fe:Ae=!0,A(be,a[Fe],p,null,g,m,S,w,v),_e++)}const dn=Ae?wo(vt):ft;for(V=dn.length-1,b=he-1;b>=0;b--){const be=N+b,Fe=a[be],hn=be+1<T?a[be+1].el:_;vt[b]===0?A(null,Fe,p,hn,g,m,S,w,v):Ae&&(V<0||b!==dn[V]?Ze(Fe,p,hn,2):V--)}}},Ze=(f,a,p,_,g=null)=>{const{el:m,type:S,transition:w,children:v,shapeFlag:b}=f;if(b&6){Ze(f.component.subTree,a,p,_);return}if(b&128){f.suspense.move(a,p,_);return}if(b&64){S.move(f,a,p,yt);return}if(S===ae){n(m,a,p);for(let I=0;I<v.length;I++)Ze(v[I],a,p,_);n(f.anchor,a,p);return}if(S===Ht){k(f,a,p);return}if(_!==2&&b&1&&w)if(_===0)w.beforeEnter(m),n(m,a,p),ye(()=>w.enter(m),g);else{const{leave:I,delayLeave:C,afterLeave:F}=w,N=()=>n(m,a,p),U=()=>{I(m,()=>{N(),F&&F()})};C?C(m,N,U):U()}else n(m,a,p)},Te=(f,a,p,_=!1,g=!1)=>{const{type:m,props:S,ref:w,children:v,dynamicChildren:b,shapeFlag:T,patchFlag:I,dirs:C,cacheIndex:F}=f;if(I===-2&&(g=!1),w!=null&&Jt(w,null,p,f,!0),F!=null&&(a.renderCache[F]=void 0),T&256){a.ctx.deactivate(f);return}const N=T&1&&C,U=!Et(f);let V;if(U&&(V=S&&S.onVnodeBeforeUnmount)&&Pe(V,a,f),T&6)zi(f.component,p,_);else{if(T&128){f.suspense.unmount(p,_);return}N&&Qe(f,null,a,"beforeUnmount"),T&64?f.type.remove(f,a,p,yt,_):b&&!b.hasOnce&&(m!==ae||I>0&&I&64)?bt(b,a,p,!1,!0):(m===ae&&I&384||!g&&T&16)&&bt(v,a,p),_&&an(f)}(U&&(V=S&&S.onVnodeUnmounted)||N)&&ye(()=>{V&&Pe(V,a,f),N&&Qe(f,null,a,"unmounted")},p)},an=f=>{const{type:a,el:p,anchor:_,transition:g}=f;if(a===ae){Gi(p,_);return}if(a===Ht){O(f);return}const m=()=>{i(p),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(f.shapeFlag&1&&g&&!g.persisted){const{leave:S,delayLeave:w}=g,v=()=>S(p,m);w?w(f.el,m,v):v()}else m()},Gi=(f,a)=>{let p;for(;f!==a;)p=y(f),i(f),f=p;i(a)},zi=(f,a,p)=>{const{bum:_,scope:g,job:m,subTree:S,um:w,m:v,a:b}=f;xn(v),xn(b),_&&as(_),g.stop(),m&&(m.flags|=8,Te(S,f,a,p)),w&&ye(w,a),ye(()=>{f.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},bt=(f,a,p,_=!1,g=!1,m=0)=>{for(let S=m;S<f.length;S++)Te(f[S],a,p,_,g)},$t=f=>{if(f.shapeFlag&6)return $t(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const a=y(f.anchor||f.el),p=a&&a[Vr];return p?y(p):a};let cs=!1;const un=(f,a,p)=>{f==null?a._vnode&&Te(a._vnode,null,null,!0):A(a._vnode||null,f,a,null,null,null,p),a._vnode=f,cs||(cs=!0,_n(),pi(),cs=!1)},yt={p:A,um:Te,m:Ze,r:an,mt:Ce,mc:ee,pc:j,pbc:Y,n:$t,o:e};return{render:un,hydrate:void 0,createApp:fo(un)}}function ms({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 et({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function vo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wi(e,t,s=!1){const n=e.children,i=t.children;if(P(n)&&P(i))for(let r=0;r<n.length;r++){const o=n[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=He(i[r]),l.el=o.el),!s&&l.patchFlag!==-2&&Wi(o,l)),l.type===ls&&(l.el=o.el)}}function wo(e){const t=e.slice(),s=[0];let n,i,r,o,l;const c=e.length;for(n=0;n<c;n++){const h=e[n];if(h!==0){if(i=s[s.length-1],e[i]<h){t[n]=i,s.push(n);continue}for(r=0,o=s.length-1;r<o;)l=r+o>>1,e[s[l]]<h?r=l+1:o=l;h<e[s[r]]&&(r>0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=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 xn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const So=Symbol.for("v-scx"),xo=()=>kt(So);function _s(e,t,s){return Ni(e,t,s)}function Ni(e,t,s=K){const{immediate:n,deep:i,flush:r,once:o}=s,l=ue({},s),c=t&&n||!t&&r!=="post";let h;if(Wt){if(r==="sync"){const x=xo();h=x.__watcherHandles||(x.__watcherHandles=[])}else if(!c){const x=()=>{};return x.stop=Me,x.resume=Me,x.pause=Me,x}}const u=oe;l.call=(x,E,A)=>Ne(x,u,E,A);let d=!1;r==="post"?l.scheduler=x=>{ye(x,u&&u.suspense)}:r!=="sync"&&(d=!0,l.scheduler=(x,E)=>{E?x():en(x)}),l.augmentJob=x=>{t&&(x.flags|=4),d&&(x.flags|=2,u&&(x.id=u.uid,x.i=u))};const y=Rr(e,t,l);return Wt&&(h?h.push(y):c&&y()),y}function Io(e,t,s){const n=this.proxy,i=Z(e)?e.includes(".")?Ri(n,e):()=>n[e]:e.bind(n,n);let r;W(t)?r=t:(r=t.handler,s=t);const o=it(this),l=Ni(i,r.bind(n),s);return o(),l}function Ri(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const Bo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ke(t)}Modifiers`]||e[`${rt(t)}Modifiers`];function Eo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||K;let i=s;const r=t.startsWith("update:"),o=r&&Bo(n,t.slice(7));o&&(o.trim&&(i=s.map(u=>Z(u)?u.trim():u)),o.number&&(i=s.map(er)));let l,c=n[l=fs(t)]||n[l=fs(Ke(t))];!c&&r&&(c=n[l=fs(rt(t))]),c&&Ne(c,e,6,i);const h=n[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ne(h,e,6,i)}}function $i(e,t,s=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!W(e)){const c=h=>{const u=$i(h,t,!0);u&&(l=!0,ue(o,u))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!l?(G(e)&&n.set(e,null),null):(P(r)?r.forEach(c=>o[c]=null):ue(o,r),G(e)&&n.set(e,o),o)}function os(e,t){return!e||!Zt(t)?!1:(t=t.slice(2).replace(/Once$/,""),D(e,t[0].toLowerCase()+t.slice(1))||D(e,rt(t))||D(e,t))}function In(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:c,render:h,renderCache:u,props:d,data:y,setupState:x,ctx:E,inheritAttrs:A}=e,z=zt(e);let R,L;try{if(s.shapeFlag&4){const O=i||n,B=O;R=xe(h.call(B,O,u,d,x,y,E)),L=l}else{const O=t;R=xe(O.length>1?O(d,{attrs:l,slots:o,emit:c}):O(d,null)),L=t.props?l:To(l)}}catch(O){Tt.length=0,Nt(O,e,1),R=ne(Le)}let k=R;if(L&&A!==!1){const O=Object.keys(L),{shapeFlag:B}=k;O.length&&B&7&&(r&&O.some(ks)&&(L=Ao(L,r)),k=_t(k,L,!1,!0))}return s.dirs&&(k=_t(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(s.dirs):s.dirs),s.transition&&tn(k,s.transition),R=k,zt(z),R}function Co(e,t=!0){let s;for(let n=0;n<e.length;n++){const i=e[n];if(on(i)){if(i.type!==Le||i.children==="v-if"){if(s)return;s=i}}else return}return s}const To=e=>{let t;for(const s in e)(s==="class"||s==="style"||Zt(s))&&((t||(t={}))[s]=e[s]);return t},Ao=(e,t)=>{const s={};for(const n in e)(!ks(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Oo(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:l,patchFlag:c}=t,h=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?Bn(n,o,h):!!o;if(c&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const y=u[d];if(o[y]!==n[y]&&!os(h,y))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?Bn(n,o,h):!0:!!o;return!1}function Bn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(t[r]!==e[r]&&!os(s,r))return!0}return!1}function nn({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 Di=e=>e.__isSuspense;let Ms=0;const Fo={name:"Suspense",__isSuspense:!0,process(e,t,s,n,i,r,o,l,c,h){if(e==null)Po(t,s,n,i,r,o,l,c,h);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Wo(e,t,s,n,i,o,l,c,h)}},hydrate:Mo,normalize:No},rn=Fo;function Pt(e,t){const s=e.props&&e.props[t];W(s)&&s()}function Po(e,t,s,n,i,r,o,l,c){const{p:h,o:{createElement:u}}=c,d=u("div"),y=e.suspense=Li(e,i,n,t,d,s,r,o,l,c);h(null,y.pendingBranch=e.ssContent,d,null,n,y,r,o),y.deps>0?(Pt(e,"onPending"),Pt(e,"onFallback"),h(null,e.ssFallback,t,s,n,null,r,o),pt(y,e.ssFallback)):y.resolve(!1,!0)}function Wo(e,t,s,n,i,r,o,l,{p:c,um:h,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const y=t.ssContent,x=t.ssFallback,{activeBranch:E,pendingBranch:A,isInFallback:z,isHydrating:R}=d;if(A)d.pendingBranch=y,Ue(y,A)?(c(A,y,d.hiddenContainer,null,i,d,r,o,l),d.deps<=0?d.resolve():z&&(R||(c(E,x,s,n,i,null,r,o,l),pt(d,x)))):(d.pendingId=Ms++,R?(d.isHydrating=!1,d.activeBranch=A):h(A,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),z?(c(null,y,d.hiddenContainer,null,i,d,r,o,l),d.deps<=0?d.resolve():(c(E,x,s,n,i,null,r,o,l),pt(d,x))):E&&Ue(y,E)?(c(E,y,s,n,i,d,r,o,l),d.resolve(!0)):(c(null,y,d.hiddenContainer,null,i,d,r,o,l),d.deps<=0&&d.resolve()));else if(E&&Ue(y,E))c(E,y,s,n,i,d,r,o,l),pt(d,y);else if(Pt(t,"onPending"),d.pendingBranch=y,y.shapeFlag&512?d.pendingId=y.component.suspenseId:d.pendingId=Ms++,c(null,y,d.hiddenContainer,null,i,d,r,o,l),d.deps<=0)d.resolve();else{const{timeout:L,pendingId:k}=d;L>0?setTimeout(()=>{d.pendingId===k&&d.fallback(x)},L):L===0&&d.fallback(x)}}function Li(e,t,s,n,i,r,o,l,c,h,u=!1){const{p:d,m:y,um:x,n:E,o:{parentNode:A,remove:z}}=h;let R;const L=$o(e);L&&t&&t.pendingBranch&&(R=t.pendingId,t.deps++);const k=e.props?tr(e.props.timeout):void 0,O=r,B={vnode:e,parent:t,parentComponent:s,namespace:o,container:n,hiddenContainer:i,deps:0,pendingId:Ms++,timeout:typeof k=="number"?k:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(M=!1,J=!1){const{vnode:ee,activeBranch:te,pendingBranch:Y,pendingId:me,effects:de,parentComponent:we,container:Ce}=B;let Ye=!1;B.isHydrating?B.isHydrating=!1:M||(Ye=te&&Y.transition&&Y.transition.mode==="out-in",Ye&&(te.transition.afterLeave=()=>{me===B.pendingId&&(y(Y,Ce,r===O?E(te):r,0),Ts(de))}),te&&(A(te.el)===Ce&&(r=E(te)),x(te,we,B,!0)),Ye||y(Y,Ce,r,0)),pt(B,Y),B.pendingBranch=null,B.isInFallback=!1;let X=B.parent,H=!1;for(;X;){if(X.pendingBranch){X.effects.push(...de),H=!0;break}X=X.parent}!H&&!Ye&&Ts(de),B.effects=[],L&&t&&t.pendingBranch&&R===t.pendingId&&(t.deps--,t.deps===0&&!J&&t.resolve()),Pt(ee,"onResolve")},fallback(M){if(!B.pendingBranch)return;const{vnode:J,activeBranch:ee,parentComponent:te,container:Y,namespace:me}=B;Pt(J,"onFallback");const de=E(ee),we=()=>{B.isInFallback&&(d(null,M,Y,de,te,null,me,l,c),pt(B,M))},Ce=M.transition&&M.transition.mode==="out-in";Ce&&(ee.transition.afterLeave=we),B.isInFallback=!0,x(ee,te,null,!0),Ce||we()},move(M,J,ee){B.activeBranch&&y(B.activeBranch,M,J,ee),B.container=M},next(){return B.activeBranch&&E(B.activeBranch)},registerDep(M,J,ee){const te=!!B.pendingBranch;te&&B.deps++;const Y=M.vnode.el;M.asyncDep.catch(me=>{Nt(me,M,0)}).then(me=>{if(M.isUnmounted||B.isUnmounted||B.pendingId!==M.suspenseId)return;M.asyncResolved=!0;const{vnode:de}=M;Ds(M,me),Y&&(de.el=Y);const we=!Y&&M.subTree.el;J(M,de,A(Y||M.subTree.el),Y?null:E(M.subTree),B,o,ee),we&&z(we),nn(M,de.el),te&&--B.deps===0&&B.resolve()})},unmount(M,J){B.isUnmounted=!0,B.activeBranch&&x(B.activeBranch,s,M,J),B.pendingBranch&&x(B.pendingBranch,s,M,J)}};return B}function Mo(e,t,s,n,i,r,o,l,c){const h=t.suspense=Li(t,n,s,e.parentNode,document.createElement("div"),null,i,r,o,l,!0),u=c(e,h.pendingBranch=t.ssContent,s,h,r,o);return h.deps===0&&h.resolve(!1,!0),u}function No(e){const{shapeFlag:t,children:s}=e,n=t&32;e.ssContent=En(n?s.default:s),e.ssFallback=n?En(s.fallback):ne(Le)}function En(e){let t;if(W(e)){const s=gt&&e._c;s&&(e._d=!1,se()),e=e(),s&&(e._d=!0,t=ge,Vi())}return P(e)&&(e=Co(e)),e=xe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(s=>s!==e)),e}function Ro(e,t){t&&t.pendingBranch?P(e)?t.effects.push(...e):t.effects.push(e):Ts(e)}function pt(e,t){e.activeBranch=t;const{vnode:s,parentComponent:n}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;s.el=i,n&&n.subTree===s&&(n.vnode.el=i,nn(n,i))}function $o(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ae=Symbol.for("v-fgt"),ls=Symbol.for("v-txt"),Le=Symbol.for("v-cmt"),Ht=Symbol.for("v-stc"),Tt=[];let ge=null;function se(e=!1){Tt.push(ge=e?null:[])}function Vi(){Tt.pop(),ge=Tt[Tt.length-1]||null}let gt=1;function Cn(e,t=!1){gt+=e,e<0&&ge&&t&&(ge.hasOnce=!0)}function ki(e){return e.dynamicChildren=gt>0?ge||ft:null,Vi(),gt>0&&ge&&ge.push(e),e}function Ie(e,t,s,n,i,r){return ki(Q(e,t,s,n,i,r,!0))}function mt(e,t,s,n,i){return ki(ne(e,t,s,n,i,!0))}function on(e){return e?e.__v_isVNode===!0:!1}function Ue(e,t){return e.type===t.type&&e.key===t.key}const Hi=({key:e})=>e??null,jt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Z(e)||le(e)||W(e)?{i:Be,r:e,k:t,f:!!s}:e:null);function Q(e,t=null,s=null,n=0,i=null,r=e===ae?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hi(t),ref:t&&jt(t),scopeId:mi,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Be};return l?(ln(c,s),r&128&&e.normalize(c)):s&&(c.shapeFlag|=Z(s)?8:16),gt>0&&!o&&ge&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&ge.push(c),c}const ne=Do;function Do(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===eo)&&(e=Le),on(e)){const l=_t(e,t,!0);return s&&ln(l,s),gt>0&&!r&&ge&&(l.shapeFlag&6?ge[ge.indexOf(e)]=l:ge.push(l)),l.patchFlag=-2,l}if(Xo(e)&&(e=e.__vccOpts),t){t=Lo(t);let{class:l,style:c}=t;l&&!Z(l)&&(t.class=qs(l)),G(c)&&(Qs(c)&&!P(c)&&(c=ue({},c)),t.style=ss(c))}const o=Z(e)?1:Di(e)?128:kr(e)?64:G(e)?4:W(e)?2:0;return Q(e,t,s,n,i,o,r,!0)}function Lo(e){return e?Qs(e)||Ei(e)?ue({},e):e:null}function _t(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:c}=e,h=t?Ho(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Hi(h),ref:t&&t.ref?s&&r?P(r)?r.concat(jt(t)):[r,jt(t)]:jt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ae?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&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&tn(u,c.clone(u)),u}function Vo(e=" ",t=0){return ne(ls,null,e,t)}function ko(e,t){const s=ne(Ht,null,e);return s.staticCount=t,s}function Ns(e="",t=!1){return t?(se(),mt(Le,null,e)):ne(Le,null,e)}function xe(e){return e==null||typeof e=="boolean"?ne(Le):P(e)?ne(ae,null,e.slice()):on(e)?He(e):ne(ls,null,String(e))}function He(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function ln(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(P(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),ln(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Ei(t)?t._ctx=Be:i===3&&Be&&(Be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:Be},s=32):(t=String(t),n&64?(s=16,t=[Vo(t)]):s=8);e.children=t,e.shapeFlag|=s}function Ho(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=qs([t.class,n.class]));else if(i==="style")t.style=ss([t.style,n.style]);else if(Zt(i)){const r=t[i],o=n[i];o&&r!==o&&!(P(r)&&r.includes(o))&&(t[i]=r?[].concat(r,o):o)}else i!==""&&(t[i]=n[i])}return t}function Pe(e,t,s,n=null){Ne(e,t,7,[s,n])}const jo=xi();let Uo=0;function qo(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||jo,r={uid:Uo++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new cr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ti(n,i),emitsOptions:$i(n,i),emit:null,emitted:null,propsDefaults:K,inheritAttrs:n.inheritAttrs,ctx:K,data:K,props:K,attrs:K,slots:K,refs:K,setupState:K,setupContext: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 r.ctx={_:r},r.root=t?t.root:r,r.emit=Eo.bind(null,r),e.ce&&e.ce(r),r}let oe=null;const Ko=()=>oe||Be;let Xt,Rs;{const e=ts(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Xt=t("__VUE_INSTANCE_SETTERS__",s=>oe=s),Rs=t("__VUE_SSR_SETTERS__",s=>Wt=s)}const it=e=>{const t=oe;return Xt(e),e.scope.on(),()=>{e.scope.off(),Xt(t)}},$s=()=>{oe&&oe.scope.off(),Xt(null)};function ji(e){return e.vnode.shapeFlag&4}let Wt=!1;function Go(e,t=!1,s=!1){t&&Rs(t);const{props:n,children:i}=e.vnode,r=ji(e);uo(e,n,r,t),mo(e,i,s);const o=r?zo(e,t):void 0;return t&&Rs(!1),o}function zo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,to);const{setup:n}=s;if(n){ze();const i=e.setupContext=n.length>1?Yo(e):null,r=it(e),o=Mt(n,e,0,[e.props,i]),l=js(o);if(Je(),r(),(l||e.sp)&&!Et(e)&&_i(e),l){if(o.then($s,$s),t)return o.then(c=>{Ds(e,c)}).catch(c=>{Nt(c,e,0)});e.asyncDep=o}else Ds(e,o)}else Ui(e)}function Ds(e,t,s){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:G(t)&&(e.setupState=ui(t)),Ui(e)}function Ui(e,t,s){const n=e.type;e.render||(e.render=n.render||Me);{const i=it(e);ze();try{no(e)}finally{Je(),i()}}}const Jo={get(e,t){return ie(e,"get",""),e[t]}};function Yo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Jo),slots:e.slots,emit:e.emit,expose:t}}function cn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ui(Ar(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Ct)return Ct[s](e)},has(t,s){return s in t||s in Ct}})):e.proxy}function Xo(e){return W(e)&&"__vccOpts"in e}const qi=(e,t)=>Mr(e,t,Wt),Zo="3.5.13";/**
|
|
* @vue/runtime-dom v3.5.13
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let Ls;const Tn=typeof window<"u"&&window.trustedTypes;if(Tn)try{Ls=Tn.createPolicy("vue",{createHTML:e=>e})}catch{}const Ki=Ls?e=>Ls.createHTML(e):e=>e,Qo="http://www.w3.org/2000/svg",el="http://www.w3.org/1998/Math/MathML",$e=typeof document<"u"?document:null,An=$e&&$e.createElement("template"),tl={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 i=t==="svg"?$e.createElementNS(Qo,e):t==="mathml"?$e.createElementNS(el,e):s?$e.createElement(e,{is:s}):$e.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>$e.createTextNode(e),createComment:e=>$e.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$e.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const o=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{An.innerHTML=Ki(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=An.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},sl=Symbol("_vtc");function nl(e,t,s){const n=e[sl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const On=Symbol("_vod"),il=Symbol("_vsh"),rl=Symbol(""),ol=/(^|;)\s*display\s*:/;function ll(e,t,s){const n=e.style,i=Z(s);let r=!1;if(s&&!i){if(t)if(Z(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Ut(n,l,"")}else for(const o in t)s[o]==null&&Ut(n,o,"");for(const o in s)o==="display"&&(r=!0),Ut(n,o,s[o])}else if(i){if(t!==s){const o=n[rl];o&&(s+=";"+o),n.cssText=s,r=ol.test(s)}}else t&&e.removeAttribute("style");On in e&&(e[On]=r?n.display:"",e[il]&&(n.display="none"))}const Fn=/\s*!important$/;function Ut(e,t,s){if(P(s))s.forEach(n=>Ut(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=cl(e,t);Fn.test(s)?e.setProperty(rt(n),s.replace(Fn,""),"important"):e[n]=s}}const Pn=["Webkit","Moz","ms"],bs={};function cl(e,t){const s=bs[t];if(s)return s;let n=Ke(t);if(n!=="filter"&&n in e)return bs[t]=n;n=Un(n);for(let i=0;i<Pn.length;i++){const r=Pn[i]+n;if(r in e)return bs[t]=r}return t}const Wn="http://www.w3.org/1999/xlink";function Mn(e,t,s,n,i,r=lr(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Wn,t.slice(6,t.length)):e.setAttributeNS(Wn,t,s):s==null||r&&!Kn(s)?e.removeAttribute(t):e.setAttribute(t,r?"":Ge(s)?String(s):s)}function Nn(e,t,s,n,i){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Ki(s):s);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,c=s==null?e.type==="checkbox"?"on":"":String(s);(l!==c||!("_value"in e))&&(e.value=c),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Kn(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(i||t)}function fl(e,t,s,n){e.addEventListener(t,s,n)}function al(e,t,s,n){e.removeEventListener(t,s,n)}const Rn=Symbol("_vei");function ul(e,t,s,n,i=null){const r=e[Rn]||(e[Rn]={}),o=r[t];if(n&&o)o.value=n;else{const[l,c]=dl(t);if(n){const h=r[t]=gl(n,i);fl(e,l,h,c)}else o&&(al(e,l,o,c),r[t]=void 0)}}const $n=/(?:Once|Passive|Capture)$/;function dl(e){let t;if($n.test(e)){t={};let n;for(;n=e.match($n);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):rt(e.slice(2)),t]}let ys=0;const hl=Promise.resolve(),pl=()=>ys||(hl.then(()=>ys=0),ys=Date.now());function gl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ne(ml(n,s.value),t,5,[n])};return s.value=e,s.attached=pl(),s}function ml(e,t){if(P(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Dn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_l=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?nl(e,n,o):t==="style"?ll(e,s,n):Zt(t)?ks(t)||ul(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bl(e,t,n,o))?(Nn(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Mn(e,t,n,o,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Z(n))?Nn(e,Ke(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Mn(e,t,n,o))};function bl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dn(t)&&W(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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Dn(t)&&Z(s)?!1:t in e}const yl=ue({patchProp:_l},tl);let Ln;function vl(){return Ln||(Ln=bo(yl))}const wl=(...e)=>{const t=vl().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=xl(n);if(!i)return;const r=t._component;!W(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Sl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function Sl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function xl(e){return Z(e)?document.querySelector(e):e}const fn=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},Il=["src","alt"],Bl={key:0,class:"app-label"},El={key:1,class:"app-package"},Cl={__name:"AppIcon",props:{packageName:{type:String,required:!0},label:{type:String,required:!1,default:"UNSETLABEL"},hideLabel:{type:Boolean,required:!1}},async setup(e){let t,s;const n=e;let i;Bridge.getSystemNightMode()=="yes"?i=!0:i=!1;const r=qt("");r.value=([t,s]=so(()=>Bridge.getDefaultAppIconURL(n.packageName)),t=await t,s(),t);const o=qt("");n.label.length>=12?o.value=`${n.label.slice(0,9).trim()}...`:o.value=n.label;function l(){Bridge.requestLaunchApp(n.packageName)}async function c(){const h=await Bridge.getDefaultAppIconURL(n.packageName),u=new Image;u.src=h,u.onload=()=>{r.value=h},u.onerror=()=>{r.value!="/error.svg"&&(r.value="/error.svg"),setTimeout(c,100)}}return c(),(h,u)=>(se(),Ie("div",{class:"app-icon",onClick:u[0]||(u[0]=d=>l()),style:ss({"--label-color":ai(i)?"#000000":"#ffffff"})},[Q("img",{src:r.value,alt:o.value,class:"app-image"},null,8,Il),n.hideLabel?Ns("",!0):(se(),Ie("span",Bl,Ss(o.value),1)),n.hideLabel?Ns("",!0):(se(),Ie("span",El,Ss(n.packageName),1))],4))}},ct=fn(Cl,[["__scopeId","data-v-c4a1272c"]]),Tl={id:"dock"},Al={__name:"Dock",setup(e){return(t,s)=>(se(),mt(rn,null,{default:is(()=>[Q("div",Tl,[ne(ct,{packageName:"app.revenge",hideLabel:!0}),ne(ct,{packageName:"com.radolyn.ayugram",hideLabel:!0}),ne(ct,{packageName:"org.mozilla.fennec_fdroid",hideLabel:!0}),ne(ct,{packageName:"org.akanework.gramophone",hideLabel:!0})])]),_:1}))}};function Ol(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vs={exports:{}},Vn;function Fl(){return Vn||(Vn=1,function(e,t){(function(){var s={};e.exports=s,s.simpleFilter=function(n,i){return i.filter(function(r){return s.test(n,r)})},s.test=function(n,i){return s.match(n,i)!==null},s.match=function(n,i,r){r=r||{};var o=0,l=[],c=i.length,h=0,u=0,d=r.pre||"",y=r.post||"",x=r.caseSensitive&&i||i.toLowerCase(),E;n=r.caseSensitive&&n||n.toLowerCase();for(var A=0;A<c;A++)E=i[A],x[A]===n[o]?(E=d+E+y,o+=1,u+=1+u):u=0,h+=u,l[l.length]=E;return o===n.length?(h=x===n?1/0:h,{rendered:l.join(""),score:h}):null},s.filter=function(n,i,r){return!i||i.length===0?[]:typeof n!="string"?i:(r=r||{},i.reduce(function(o,l,c,h){var u=l;r.extract&&(u=r.extract(l));var d=s.match(n,u,r);return d!=null&&(o[o.length]={string:d.rendered,score:d.score,index:c,original:l}),o},[]).sort(function(o,l){var c=l.score-o.score;return c||o.index-l.index}))}})()}(vs)),vs.exports}var Pl=Fl();const Wl=Ol(Pl),Ml={id:"search_background"},Nl={class:"section",id:"search_results"},Rl={id:"search_maindiv"},$l={__name:"Search",setup(e){const t=qt([]);function s(){const n=document.querySelector("#search_maindiv input"),i=document.querySelector("#search_background");function r(){const o=n.value.toString(),l=window.springboard.apps||[],c=l.map(u=>u.label),h=Wl.filter(o,c);t.value=h.slice(0,8).map(u=>l[u.index])}n.hasAttribute("data-added")||(n.addEventListener("input",r),n.addEventListener("blur",async()=>{await new Promise(o=>setTimeout(o,100)),n.value="",i.style.opacity="0",i.style.pointerEvents="none",n.removeEventListener("input",r),t.value=[],n.removeAttribute("data-added")}),n.setAttribute("data-added","true")),i.style.opacity="1",i.style.pointerEvents="all"}return(n,i)=>(se(),Ie(ae,null,[(se(),mt(rn,null,{default:is(()=>[Q("div",Ml,[Q("div",Nl,[(se(!0),Ie(ae,null,As(t.value,(r,o)=>(se(),mt(ct,{key:r.packageName||o,packageName:r.packageName,label:r.label},null,8,["packageName","label"]))),128))])])]),_:1})),Q("div",Rl,[Q("input",{type:"text",onFocus:s,placeholder:"Search"},null,32),i[0]||(i[0]=Q("i",{class:"bi bi-x-circle"},null,-1))])],64))}},Dl=fn($l,[["__scopeId","data-v-841a2e68"]]),Ll="/vite.svg",Vl="/vue.svg",kl="/com.tored.bridgelauncher.png",Hl={class:"section"},jl={__name:"Settings",setup(e){function t(){console.log("Changed Bridge Button visibility to..."),Bridge.getBridgeButtonVisibility()=="shown"?(Bridge.requestSetBridgeButtonVisibility("hidden"),console.log("hidden")):(Bridge.requestSetBridgeButtonVisibility("shown"),console.log("shown"))}function s(){console.log("Changed draw system wallpapers to..."),Bridge.getDrawSystemWallpaperBehindWebViewEnabled()?(Bridge.requestSetDrawSystemWallpaperBehindWebViewEnabled(!1),document.body.style.backgroundColor="",console.log("false")):(Bridge.requestSetDrawSystemWallpaperBehindWebViewEnabled(!0),console.log("true"),document.body.style.backgroundColor="transparent")}function n(){console.log("Changed overscrolling effect to..."),Bridge.getOverscrollEffects=="default"?(Bridge.requestSetOverscrollEffects("none"),console.log("none")):(Bridge.requestSetOverscrollEffects("default"),console.log("default"))}function i(){Bridge.requestOpenBridgeAppDrawer()}function r(){window.location.reload()}return(o,l)=>(se(),Ie(ae,null,[Q("div",Hl,[Q("button",{class:"ui-button",onClick:l[0]||(l[0]=c=>t())},"Toggle Bridge button"),Q("button",{class:"ui-button",onClick:l[1]||(l[1]=c=>i())},"Open Bridge App Drawer"),Q("button",{class:"ui-button",onClick:l[2]||(l[2]=c=>s())},"Toggle system wallpaper visibility"),Q("button",{class:"ui-button",onClick:l[3]||(l[3]=c=>n())},"Toggle overscrolling"),Q("button",{class:"ui-button",onClick:l[4]||(l[4]=c=>r())},"Reload"),l[5]||(l[5]=Q("br",null,null,-1)),l[6]||(l[6]=Q("small",{style:{"font-size":"xx-small"}},"Everything else can be configured through Bridge's Settings",-1))]),l[7]||(l[7]=ko('<div class="section" style="display:flex;flex-direction:column;align-items:center;" data-v-27ae4006><span style="width:max-content;" data-v-27ae4006>Made with</span><div style="display:flex;justify-content:space-around;width:100%;" data-v-27ae4006><img src="'+Ll+'" data-v-27ae4006><img src="'+Vl+'" data-v-27ae4006><img src="'+kl+'" alt="Bridge" data-v-27ae4006></div></div>',1))],64))}},Ul=fn(jl,[["__scopeId","data-v-27ae4006"]]),ql={id:"applist-wrapper"},Kl={id:"applist"},Gl={key:0,class:"applist-page"},zl={id:"dock-wrapper"},ws=4*6,Jl={__name:"App",setup(e){const t=qt([]);async function s(){const l=await(await fetch(Bridge.getAppsURL())).json();t.value=l.apps.sort((c,h)=>c.label.localeCompare(h.label,void 0,{sensitivity:"base"})),window.springboard.apps=t.value}s();let n=0;function i(){const o=performance.now();o-n>=100&&(s(),n=o),requestAnimationFrame(i)}i();const r=qi(()=>Array(Math.ceil(t.value.length/ws)).fill().map((o,l)=>t.value.slice(l*ws,(l+1)*ws)));return(o,l)=>(se(),Ie(ae,null,[Q("div",ql,[(se(),mt(rn,null,{default:is(()=>[Q("div",Kl,[(se(!0),Ie(ae,null,As(r.value,(c,h)=>(se(),Ie("div",{class:"applist-page",key:h},[(se(!0),Ie(ae,null,As(c,u=>(se(),mt(ct,{key:u.packageName,packageName:u.packageName,label:u.label},null,8,["packageName","label"]))),128))]))),128)),r.value.length>0?(se(),Ie("div",Gl,[ne(Ul)])):Ns("",!0)])]),_:1}))]),Q("div",zl,[ne(Dl),ne(Al)])],64))}};function pe(e,t,s,n){return{left:e,top:t,right:s,bottom:n}}function Yl(){return{apiLevel:34,bridgeVersionCode:3,bridgeVersionName:"0.0.3alpha",logRaisedBridgeEvents:!0,projectUrl:"/",appsUrl:"/mock/apps.json",makeGetIconPacksUrl:e=>"/mock/icons/icon-packs.json",makeGetIconPackInfoUrl:(e,t)=>`/mock/icons/${e}/info.json`,makeGetIconPackAppFilterXMLUrl:e=>`/mock/icons/${e}/appfilter.xml`,makeGetAppIconUrl:(e,t)=>`/mock/icons/${t??"default"}/${e}.png`,makeGetDefaultIconUrl:e=>`/mock/icons/default/${e}.png`,makeGetIconPackAppIconUrl:(e,t)=>`/mock/icons/${e}/${t}.png`,makeGetIconPackItemUrl:(e,t)=>`/mock/icons/${e}/${t}.png`,makeGetIconPackDrawableUrl:(e,t)=>`/mock/icons/${e}/${t}.png`,logWallpaperEvents:!0,logWallpaperScrolling:!1,initialBridgeButtonVisibility:"hidden",initialDrawSystemWallpaperBehindWebViewEnabled:!0,initialOverscrollEffects:"none",canRequestSystemNightMode:!0,initialSystemNightMode:"auto",initialBridgeTheme:"system",initialCanLockScreen:!1,initialStatusBarAppearance:"hide",initialNavigationBarAppearance:"hide",statusBarHeight:24,navigationBarHeight:48,captionBarWindowInsets:pe(0,0,0,0),captionBarIgnoringVisibilityWindowInsets:pe(0,0,0,0),imeWindowInsets:pe(0,0,0,0),imeAnimationSourceWindowInsets:pe(0,0,0,0),imeAnimationTargetWindowInsets:pe(0,0,0,0),tappableElementWindowInsets:pe(0,0,0,0),tappableElementIgnoringVisibilityWindowInsets:pe(0,0,0,0),systemGesturesWindowInsets:pe(0,0,0,0),mandatorySystemGesturesWindowInsets:pe(0,0,0,0),displayCutoutWindowInsets:pe(0,0,0,0),waterfallWindowInsets:pe(0,0,0,0),displayCutoutPath:null,displayShapePath:null}}var Xl=class{constructor(e){this._prefix="[BridgeMock]",this.lastErrorMessage=null,this.wallpaperOffsetStepsX=1,this.wallpaperOffsetStepsY=1,this.wallpaperOffsetX=0,this.wallpaperOffsetY=0,this.config=e??Yl(),this.bridgeButtonVisibility=this.config.initialBridgeButtonVisibility,this.drawSystemWallpaperBehindWebViewEnabled=this.config.initialDrawSystemWallpaperBehindWebViewEnabled,this.overscrollEffects=this.config.initialOverscrollEffects,this.systemNightMode=this.config.initialSystemNightMode,this.bridgeTheme=this.config.initialBridgeTheme,this.statusBarAppearance=this.config.initialStatusBarAppearance,this.navigationBarAppearance=this.config.initialNavigationBarAppearance,this.canLockScreen=this.config.initialCanLockScreen}getAndroidAPILevel(){return this.config.apiLevel}getBridgeVersionCode(){return this.config.bridgeVersionCode}getBridgeVersionName(){return this.config.bridgeVersionName}getLastErrorMessage(){return this.lastErrorMessage}getProjectURL(){return this.config.projectUrl}getAppsURL(){return this.config.appsUrl}requestAppUninstall(e,t){return alert(`${this._prefix} requestAppUninstall: ${e}`),this.raiseBridgeEvent({name:"appRemoved",packageName:e}),!0}requestOpenAppInfo(e,t){return alert(`${this._prefix} requestOpenAppInfo: ${e}`),!0}requestLaunchApp(e,t){return alert(`${this._prefix} Requested launch ${e}`),!0}getDefaultAppIconURL(e){return this.config.makeGetDefaultIconUrl(e)}_padNum(e){const t=e.toFixed(4);return`${" ".repeat(Math.max(0,6-t.length))}${t}`}setWallpaperOffsetSteps(e,t){this.wallpaperOffsetStepsX=e,this.wallpaperOffsetStepsY=t,this.config.logWallpaperEvents&&console.log(`${this._prefix} setWallpaperOffsetSteps: x = ${this._padNum(e)} y = ${t} (pages: x = ${Math.round(1/e)-1}, y = ${Math.round(1/t)-1})`)}setWallpaperOffsets(e,t){this.wallpaperOffsetX=e,this.wallpaperOffsetY=t,this.config.logWallpaperScrolling&&console.log(`${this._prefix} setWallpaperOffsets: x = ${this._padNum(e)} y = ${this._padNum(t)} (pages: x = ${this._padNum(e/this.wallpaperOffsetStepsX)} y = ${this._padNum(t/this.wallpaperOffsetStepsY)})`)}sendWallpaperTap(e,t,s=0){this.config.logWallpaperEvents&&console.log(`${this._prefix} sendWallpaperTap: x = ${e}, y = ${t}`)}requestChangeSystemWallpaper(e){return alert(`${this._prefix} requestChangeSystemWallpaper`),!0}getBridgeButtonVisibility(){return this.bridgeButtonVisibility}requestSetBridgeButtonVisibility(e,t){return this.bridgeButtonVisibility=e,this.raiseBridgeEvent({name:"bridgeButtonVisibilityChanged",newValue:e}),!0}getDrawSystemWallpaperBehindWebViewEnabled(){return this.drawSystemWallpaperBehindWebViewEnabled}requestSetDrawSystemWallpaperBehindWebViewEnabled(e,t){return this.drawSystemWallpaperBehindWebViewEnabled=e,this.raiseBridgeEvent({name:"drawSystemWallpaperBehindWebViewChanged",newValue:e}),!0}getOverscrollEffects(){return this.overscrollEffects}requestSetOverscrollEffects(e,t){return this.overscrollEffects=e,this.raiseBridgeEvent({name:"overscrollEffectsChanged",newValue:e}),!0}getSystemNightMode(){return this.systemNightMode}resolveIsSystemInDarkTheme(){return this.systemNightMode==="yes"||this.systemNightMode!=="no"&&matchMedia("(prefers-color-scheme: dark)").matches}getCanRequestSystemNightMode(){return this.config.canRequestSystemNightMode}requestSetSystemNightMode(e,t){return this.systemNightMode=e,this.raiseBridgeEvent({name:"systemNightModeChanged",newValue:e}),!0}getBridgeTheme(){return this.bridgeTheme}requestSetBridgeTheme(e,t){return this.bridgeTheme=e,this.raiseBridgeEvent({name:"bridgeThemeChanged",newValue:e}),!0}getStatusBarAppearance(){return this.statusBarAppearance}requestSetStatusBarAppearance(e,t){return this.statusBarAppearance=e,this.raiseBridgeEvent({name:"statusBarAppearanceChanged",newValue:e}),this.raiseBridgeEvent({name:"statusBarsWindowInsetsChanged",newValue:this._getStatusBarsWindowInsets()}),this.raiseBridgeEvent({name:"systemBarsWindowInsetsChanged",newValue:this._getSystemBarsWindowInsets()}),!0}getNavigationBarAppearance(){return this.navigationBarAppearance}requestSetNavigationBarAppearance(e,t){return this.navigationBarAppearance=e,this.raiseBridgeEvent({name:"navigationBarAppearanceChanged",newValue:e}),this.raiseBridgeEvent({name:"navigationBarsWindowInsetsChanged",newValue:this._getNavigationBarsWindowInsets()}),this.raiseBridgeEvent({name:"systemBarsWindowInsetsChanged",newValue:this._getSystemBarsWindowInsets()}),!0}getCanLockScreen(){return this.canLockScreen}requestLockScreen(e){return alert(`${this._prefix} requestLockScreen`),!0}requestOpenBridgeSettings(e){return alert(`${this._prefix} requestOpenBridgeSettings`),!0}requestOpenBridgeAppDrawer(e){return alert(`${this._prefix} requestOpenBridgeAppDrawer`),!0}requestOpenDeveloperConsole(e){return alert(`${this._prefix} requestOpenDeveloperConsole`),!0}requestExpandNotificationShade(e){return alert(`${this._prefix} requestExpandNotificationShade`),!0}requestOpenAndroidSettings(e){return alert(`${this._prefix} requestOpenAndroidSettings`),!0}showToast(e,t){console.log(`${this._prefix} showToast: ${t?"long":"short"}, message: ${e}`)}_getStatusBarsWindowInsets(){return pe(0,this.statusBarAppearance==="hide"?0:this.config.statusBarHeight,0,0)}getStatusBarsWindowInsets(){return this.windowInsetsString(this._getStatusBarsWindowInsets())}getStatusBarsIgnoringVisibilityWindowInsets(){return this.windowInsetsString(0,this.config.statusBarHeight,0,0)}_getNavigationBarsWindowInsets(){return pe(0,0,0,this.navigationBarAppearance==="hide"?0:this.config.navigationBarHeight)}getNavigationBarsWindowInsets(){return this.windowInsetsString(this._getNavigationBarsWindowInsets())}getNavigationBarsIgnoringVisibilityWindowInsets(){return this.windowInsetsString(0,0,0,this.config.navigationBarHeight)}getCaptionBarWindowInsets(){return this.windowInsetsString(this.config.captionBarWindowInsets)}getCaptionBarIgnoringVisibilityWindowInsets(){return this.windowInsetsString(this.config.captionBarIgnoringVisibilityWindowInsets)}_getSystemBarsWindowInsets(){return pe(0,this.statusBarAppearance==="hide"?0:this.config.statusBarHeight,0,this.navigationBarAppearance==="hide"?0:this.config.navigationBarHeight)}getSystemBarsWindowInsets(){return this.windowInsetsString(this._getSystemBarsWindowInsets())}getSystemBarsIgnoringVisibilityWindowInsets(){return this.windowInsetsString(0,this.config.statusBarHeight,0,this.config.navigationBarHeight)}getImeWindowInsets(){return this.windowInsetsString(this.config.imeWindowInsets)}getImeAnimationSourceWindowInsets(){return this.windowInsetsString(this.config.imeAnimationSourceWindowInsets)}getImeAnimationTargetWindowInsets(){return this.windowInsetsString(this.config.imeAnimationTargetWindowInsets)}getTappableElementWindowInsets(){return this.windowInsetsString(this.config.tappableElementWindowInsets)}getTappableElementIgnoringVisibilityWindowInsets(){return this.windowInsetsString(this.config.tappableElementIgnoringVisibilityWindowInsets)}getSystemGesturesWindowInsets(){return this.windowInsetsString(this.config.systemGesturesWindowInsets)}getMandatorySystemGesturesWindowInsets(){return this.windowInsetsString(this.config.mandatorySystemGesturesWindowInsets)}getDisplayCutoutWindowInsets(){return this.windowInsetsString(this.config.displayCutoutWindowInsets)}getWaterfallWindowInsets(){return this.windowInsetsString(this.config.waterfallWindowInsets)}getDisplayCutoutPath(){return this.config.displayCutoutPath}getDisplayShapePath(){return this.config.displayShapePath}windowInsetsString(e,t,s,n){return JSON.stringify(typeof e=="object"?e:{left:e,top:t,right:s,bottom:n})}raiseBridgeEvent(e){this.config.logRaisedBridgeEvents&&console.log("[BridgeMock] raiseBridgeEvent:",e),typeof onBridgeEvent=="function"&&onBridgeEvent(e)}};window.Bridge||(window.Bridge=new Xl({appsUrl:"/mock/apps.json",makeGetDefaultIconUrl:e=>`/mock/icons/default/${e}.png`}));Bridge.requestSetBridgeTheme("system");window.springboard={apps:[],labelColor:"ffffff"};wl(Jl).mount("#app");
|