@the-framery/vision-assessment-sdk 0.0.0-stage → 0.0.1
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/README.md +13 -2
- package/dist-sdk/types/components/VisionAssessment.ce.vue.d.ts +10 -0
- package/dist-sdk/types/element.d.ts +5 -0
- package/dist-sdk/types/types.d.ts +18 -0
- package/dist-sdk/vision-assessment.iife.js +4 -0
- package/dist-sdk/vision-assessment.js +4313 -0
- package/package.json +42 -4
package/README.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Vision Assessment SDK
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The embeddable entry point to the Express Exam (ExEx) visual-acuity flow, shipped as the `<vision-assessment>` custom element (Vue 3 + Vite, TypeScript).
|
|
4
|
+
|
|
5
|
+
Documentation about the contracts with the host page and with ExEx is in Confluence: https://18cgroup.atlassian.net/wiki/spaces/EQ/pages/2890662026/Vision+Assessment
|
|
6
|
+
|
|
7
|
+
## Development
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install
|
|
11
|
+
npm run dev # demo page (demo/); Start goes to a fake ExEx page that shows the params
|
|
12
|
+
npm run build:sdk # embeddable bundles + types in dist-sdk/
|
|
13
|
+
npm run build:demo # demo app
|
|
14
|
+
```
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { VisionAssessmentEnv } from '@/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
env?: VisionAssessmentEnv;
|
|
4
|
+
sessionId?: string;
|
|
5
|
+
customerId?: string | number;
|
|
6
|
+
patientId?: string | number;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** Environments the SDK knows how to reach ExEx for. `local` is used by the demo. */
|
|
2
|
+
export type VisionAssessmentEnv = 'prod' | 'local';
|
|
3
|
+
/** The `<vision-assessment>` DOM element. */
|
|
4
|
+
export interface VisionAssessmentHTMLElement extends HTMLElement {
|
|
5
|
+
/** Selects the ExEx URL and pid. Start is disabled if it's missing or unknown. */
|
|
6
|
+
env?: VisionAssessmentEnv;
|
|
7
|
+
/** Required to start; the Start button is disabled until it is set. */
|
|
8
|
+
sessionId?: string;
|
|
9
|
+
/** Passed through to ExEx. Unset when the user is not signed in. */
|
|
10
|
+
customerId?: string | number;
|
|
11
|
+
/** Passed through to ExEx when known. */
|
|
12
|
+
patientId?: string | number;
|
|
13
|
+
}
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
'vision-assessment': VisionAssessmentHTMLElement;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var VisionAssessmentSDK=(function(cs){"use strict";function fs(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const $={},We=[],ye=()=>{},rn=()=>!1,Ft=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Nt=e=>e.startsWith("onUpdate:"),q=Object.assign,us=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},nr=Object.prototype.hasOwnProperty,F=(e,t)=>nr.call(e,t),P=Array.isArray,qe=e=>lt(e)==="[object Map]",as=e=>lt(e)==="[object Set]",on=e=>lt(e)==="[object Date]",R=e=>typeof e=="function",J=e=>typeof e=="string",Le=e=>typeof e=="symbol",B=e=>e!==null&&typeof e=="object",ln=e=>(B(e)||R(e))&&R(e.then)&&R(e.catch),ir=Object.prototype.toString,lt=e=>ir.call(e),rr=e=>lt(e).slice(8,-1),hs=e=>lt(e)==="[object Object]",ds=e=>J(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ct=fs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jt=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},or=/-\w/g,oe=jt(e=>e.replace(or,t=>t.slice(1).toUpperCase())),lr=/\B([A-Z])/g,fe=jt(e=>e.replace(lr,"-$1").toLowerCase()),cn=jt(e=>e.charAt(0).toUpperCase()+e.slice(1)),ps=jt(e=>e?`on${cn(e)}`:""),ve=(e,t)=>!Object.is(e,t),gs=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},fn=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},cr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},un=e=>{const t=J(e)?Number(e):NaN;return isNaN(t)?e:t};let an;const Dt=()=>an||(an=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _s(e){if(P(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=J(n)?hr(n):_s(n);if(i)for(const r in i)t[r]=i[r]}return t}else if(J(e)||B(e))return e}const fr=/;(?![^(]*\))/g,ur=/:([^]+)/,ar=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function hr(e){const t={};return e.replace(ar,s=>s.startsWith("/*")?"":s).split(fr).forEach(s=>{if(s){const n=s.split(ur);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ms(e){let t="";if(J(e))t=e;else if(P(e))for(let s=0;s<e.length;s++){const n=ms(e[s]);n&&(t+=n+" ")}else if(B(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const dr=fs("itemscope,allowfullscreen,disablepictureinpicture,disableremoteplayback,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly");function hn(e){return!!e||e===""}function pr(e,t,s){if(e.length!==t.length)return!1;let n=!0;for(let i=0;n&&i<e.length;i++)n=Ht(e[i],t[i],s);return n}function dn(e,t,s){if(e.size!==t.size)return!1;const n=Array.from(t),i=new Uint8Array(n.length);for(const r of e){let o=-1;for(let l=0;l<n.length;l++)if(!i[l]&&Ht(r,n[l],s)){o=l;break}if(o<0)return!1;i[o]=1}return!0}function gr(e,t,s){let n=qe(e),i=qe(t);if(n||i||(n=as(e),i=as(t),n||i))return n&&i?dn(e,t,s):!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const l in e){const f=e.hasOwnProperty(l),h=t.hasOwnProperty(l);if(f&&!h||!f&&h||!Ht(e[l],t[l],s))return!1}return String(e)===String(t)}function pn(e,t,s,n){s||(s=[new Map,new Map]);const[i,r]=s;if(i.has(e)||r.has(t))return i.get(e)===t&&r.get(t)===e;i.set(e,t),r.set(t,e);const o=n(e,t,s);return i.delete(e),r.delete(t),o}function Ht(e,t,s){if(e===t)return!0;let n=on(e),i=on(t);return n||i?n&&i?e.getTime()===t.getTime():!1:(n=Le(e),i=Le(t),n||i?e===t:(n=P(e),i=P(t),n||i?n&&i?pn(e,t,s,pr):!1:(n=B(e),i=B(t),n||i?!n||!i?!1:pn(e,t,s,gr):String(e)===String(t))))}let X;class _r{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&X&&(X.active?(this.parent=X,this.index=(X.scopes||(X.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){const n=this.scopes.slice();for(t=0,s=n.length;t<s;t++)n[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){const i=this.scopes.slice();for(t=0,s=i.length;t<s;t++)i[t].resume()}const n=this.effects.slice();for(t=0,s=n.length;t<s;t++)n[t].resume()}}run(t){if(this._active){const s=X;try{return X=this,t()}finally{X=s}}}on(){++this._on===1&&(this.prevScope=X,X=this)}off(){if(this._on>0&&--this._on===0){if(X===this)X=this.prevScope;else{let t=X;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}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){const i=this.scopes.slice();for(s=0,n=i.length;s<n;s++)i[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 mr(){return X}let U;const bs=new WeakSet;class gn{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,X&&(X.active?X.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,bs.has(this)&&(bs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||mn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Sn(this),bn(this);const t=U,s=ue;U=this,ue=!0;try{return this.fn()}finally{yn(this),U=t,ue=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ss(t);this.deps=this.depsTail=void 0,Sn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?bs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xs(this)&&this.run()}get dirty(){return xs(this)}}let _n=0,ft,ut;function mn(e,t=!1){if(e.flags|=8,t){e.next=ut,ut=e;return}e.next=ft,ft=e}function ys(){_n++}function vs(){if(--_n>0)return;if(ut){let t=ut;for(ut=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;ft;){let t=ft;for(ft=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 bn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function yn(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Ss(n),br(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&&(vn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function vn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===at)||(e.globalVersion=at,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xs(e))))return;e.flags|=2;const t=e.dep,s=U,n=ue;U=e,ue=!0;try{bn(e);const i=e.fn(e._value);(t.version===0||ve(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{U=s,ue=n,yn(e),e.flags&=-3}}function Ss(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)Ss(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function br(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let ue=!0;const xn=[];function ae(){xn.push(ue),ue=!1}function he(){const e=xn.pop();ue=e===void 0?!0:e}function Sn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=U;U=void 0;try{t()}finally{U=s}}}let at=0;class yr{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 ws{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,this.__v_skip=!0}track(t){if(!U||!ue||U===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==U)s=this.activeLink=new yr(U,this),U.deps?(s.prevDep=U.depsTail,U.depsTail.nextDep=s,U.depsTail=s):U.deps=U.depsTail=s,wn(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=U.depsTail,s.nextDep=void 0,U.depsTail.nextDep=s,U.depsTail=s,U.deps===s&&(U.deps=n)}return s}trigger(t){this.version++,at++,this.notify(t)}notify(t){ys();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{vs()}}}function wn(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)wn(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Cs=new WeakMap,Ge=Symbol(""),As=Symbol(""),ht=Symbol("");function ee(e,t,s){if(ue&&U){let n=Cs.get(e);n||Cs.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new ws),i.map=n,i.key=s),i.track()}}function Re(e,t,s,n,i,r){const o=Cs.get(e);if(!o){at++;return}const l=f=>{f&&f.trigger()};if(ys(),t==="clear")o.forEach(l);else{const f=P(e),h=f&&ds(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,w)=>{(w==="length"||w===ht||!Le(w)&&w>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),h&&l(o.get(ht)),t){case"add":f?h&&l(o.get("length")):(l(o.get(Ge)),qe(e)&&l(o.get(As)));break;case"delete":f||(l(o.get(Ge)),qe(e)&&l(o.get(As)));break;case"set":qe(e)&&l(o.get(Ge));break}}vs()}function st(e){const t=N(e);return t===e||(ee(t,"iterate",ht),de(e))?t:Me(e)?Je(e)?t.map(s=>Ye(Se(s))):t.map(Ye):t.map(Se)}function Ts(e){return ee(e=N(e),"iterate",ht),e}function xe(e,t){return Me(e)?Ye(Je(e)?Se(t):t):Se(t)}const vr={__proto__:null,[Symbol.iterator](){return Es(this,Symbol.iterator,e=>xe(this,e))},concat(...e){return st(this).concat(...e.map(t=>P(t)?st(t):t))},entries(){return Es(this,"entries",e=>(e[1]=xe(this,e[1]),e))},every(e,t){return Ie(this,"every",e,t,void 0,arguments)},filter(e,t){return Ie(this,"filter",e,t,s=>s.map(n=>xe(this,n)),arguments)},find(e,t){return Ie(this,"find",e,t,s=>xe(this,s),arguments)},findIndex(e,t){return Ie(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ie(this,"findLast",e,t,s=>xe(this,s),arguments)},findLastIndex(e,t){return Ie(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ie(this,"forEach",e,t,void 0,arguments)},includes(...e){return Os(this,"includes",e)},indexOf(...e){return Os(this,"indexOf",e)},join(e){return st(this).join(e)},lastIndexOf(...e){return Os(this,"lastIndexOf",e)},map(e,t){return Ie(this,"map",e,t,void 0,arguments)},pop(){return dt(this,"pop")},push(...e){return dt(this,"push",e)},reduce(e,...t){return Tn(this,"reduce",e,t)},reduceRight(e,...t){return Tn(this,"reduceRight",e,t)},shift(){return dt(this,"shift")},some(e,t){return Ie(this,"some",e,t,void 0,arguments)},splice(...e){return dt(this,"splice",e)},toReversed(){return st(this).toReversed()},toSorted(e){return st(this).toSorted(e)},toSpliced(...e){return st(this).toSpliced(...e)},unshift(...e){return dt(this,"unshift",e)},values(){return Es(this,"values",e=>xe(this,e))}};function Es(e,t,s){const n=Ts(e),i=n[t],r=i.call(n);if(n!==e&&!de(e)){if(r[Symbol.toStringTag]==="Array Iterator"){const o=Object.create(Object.getPrototypeOf(r));return o.next=()=>Cn(r.next(),s),i!==An[t]&&Object.defineProperties(o,{return:{get(){const l=r.return;return typeof l=="function"?l.bind(r):l}},throw:{get(){const l=r.throw;return typeof l=="function"?l.bind(r):l}}}),o}r._next=r.next,r.next=()=>Cn(r._next(),s)}return r}function Cn(e,t){return e.done||(e.value=t(e.value)),e}const An=Array.prototype;function Ie(e,t,s,n,i,r){const o=Ts(e),l=o!==e&&!de(e),f=o[t];if(f!==An[t]){const p=f.apply(e,r);return l?Se(p):p}let h=s;o!==e&&(l?h=function(p,w){return s.call(this,xe(e,p),w,e)}:s.length>2&&(h=function(p,w){return s.call(this,p,w,e)}));const a=f.call(o,h,n);return l&&i?i(a):a}function Tn(e,t,s,n){const i=Ts(e),r=i!==e&&!de(e);let o=s,l=!1;i!==e&&(r?(l=n.length===0,o=function(h,a,p){return l&&(l=!1,h=xe(e,h)),s.call(this,h,xe(e,a),p,e)}):s.length>3&&(o=function(h,a,p){return s.call(this,h,a,p,e)}));const f=i[t](o,...n);return l?xe(e,f):f}function Os(e,t,s){const n=N(e);ee(n,"iterate",ht);const i=n[t](...s);return(i===-1||i===!1)&&Ms(s[0])?(s[0]=N(s[0]),n[t](...s)):i}function dt(e,t,s=[]){ae(),ys();const n=N(e)[t].apply(e,s);return vs(),he(),n}const xr=fs("__proto__,__v_isRef,__isVue"),En=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Le));function Sr(e){Le(e)||(e=String(e));const t=N(this);return ee(t,"has",e),t.hasOwnProperty(e)}class On{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?Nn:Fn:r?Mn:In).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=P(t);if(!i){let f;if(o&&(f=vr[s]))return f;if(s==="hasOwnProperty")return Sr}const l=Reflect.get(t,s,Z(t)?t:n);if((Le(s)?En.has(s):xr(s))||(i||ee(t,"get",s),r))return l;if(Z(l)){const f=o&&ds(s)?l:l.value;return i&&B(f)?Is(f):f}return B(l)?i?Is(l):Rs(l):l}}class Pn extends On{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];const o=P(t)&&ds(s);if(!this._isShallow){const h=Me(r);if(!de(n)&&!Me(n)&&(r=N(r),n=N(n)),!o&&Z(r)&&!Z(n))return h||(r.value=n),!0}const l=o?Number(s)<t.length:F(t,s),f=Reflect.set(t,s,n,Z(t)?t:i);return t===N(i)&&f&&(l?ve(n,r)&&Re(t,"set",s,n):Re(t,"add",s,n)),f}deleteProperty(t,s){const n=F(t,s);t[s];const i=Reflect.deleteProperty(t,s);return i&&n&&Re(t,"delete",s,void 0),i}has(t,s){const n=Reflect.has(t,s);return(!Le(s)||!En.has(s))&&ee(t,"has",s),n}ownKeys(t){return ee(t,"iterate",P(t)?"length":Ge),Reflect.ownKeys(t)}}class Rn extends On{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const wr=new Pn,Cr=new Rn,Ar=new Pn(!0),Tr=new Rn(!0),Ps=e=>e,Lt=e=>Reflect.getPrototypeOf(e);function Er(e,t,s){return function(...n){const i=this.__v_raw,r=N(i),o=qe(r),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,h=i[e](...n),a=s?Ps:t?Ye:Se;return!t&&ee(r,"iterate",f?As:Ge),q(Object.create(h),{next(){const{value:p,done:w}=h.next();return w?{value:p,done:w}:{value:l?[a(p[0]),a(p[1])]:a(p),done:w}}})}}function Vt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Or(e,t){const s={get(i){const r=this.__v_raw,o=N(r),l=N(i);e||(ve(i,l)&&ee(o,"get",i),ee(o,"get",l));const{has:f}=Lt(o),h=t?Ps:e?Ye:Se;if(f.call(o,i))return h(r.get(i));if(f.call(o,l))return h(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&ee(N(i),"iterate",Ge),i.size},has(i){const r=this.__v_raw,o=N(r),l=N(i);return e||(ve(i,l)&&ee(o,"has",i),ee(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,f=N(l),h=t?Ps:e?Ye:Se;return!e&&ee(f,"iterate",Ge),l.forEach((a,p)=>i.call(r,h(a),h(p),o))}};return q(s,e?{add:Vt("add"),set:Vt("set"),delete:Vt("delete"),clear:Vt("clear")}:{add(i){const r=N(this),o=Lt(r),l=N(i),f=!t&&!de(i)&&!Me(i)?l:i;return o.has.call(r,f)||ve(i,f)&&o.has.call(r,i)||ve(l,f)&&o.has.call(r,l)||(r.add(f),Re(r,"add",f,f)),this},set(i,r){!t&&!de(r)&&!Me(r)&&(r=N(r));const o=N(this),{has:l,get:f}=Lt(o);let h=l.call(o,i);h||(i=N(i),h=l.call(o,i));const a=f.call(o,i);return o.set(i,r),h?ve(r,a)&&Re(o,"set",i,r):Re(o,"add",i,r),this},delete(i){const r=N(this),{has:o,get:l}=Lt(r);let f=o.call(r,i);f||(i=N(i),f=o.call(r,i)),l&&l.call(r,i);const h=r.delete(i);return f&&Re(r,"delete",i,void 0),h},clear(){const i=N(this),r=i.size!==0,o=i.clear();return r&&Re(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Er(i,e,t)}),s}function $t(e,t){const s=Or(e,t);return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_isShallow"?t:i==="__v_raw"?n:Reflect.get(F(s,i)&&i in n?s:n,i,r)}const Pr={get:$t(!1,!1)},Rr={get:$t(!1,!0)},Ir={get:$t(!0,!1)},Mr={get:$t(!0,!0)},In=new WeakMap,Mn=new WeakMap,Fn=new WeakMap,Nn=new WeakMap;function Fr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rs(e){return Me(e)?e:Ut(e,!1,wr,Pr,In)}function Nr(e){return Ut(e,!1,Ar,Rr,Mn)}function Is(e){return Ut(e,!0,Cr,Ir,Fn)}function ql(e){return Ut(e,!0,Tr,Mr,Nn)}function Ut(e,t,s,n,i){if(!B(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=i.get(e);if(r)return r;const o=Fr(rr(e));if(o===0)return e;const l=new Proxy(e,o===2?n:s);return i.set(e,l),l}function Je(e){return Me(e)?Je(e.__v_raw):!!(e&&e.__v_isReactive)}function Me(e){return!!(e&&e.__v_isReadonly)}function de(e){return!!(e&&e.__v_isShallow)}function Ms(e){return e?!!e.__v_raw:!1}function N(e){const t=e&&e.__v_raw;return t?N(t):e}function jr(e){return!F(e,"__v_skip")&&Object.isExtensible(e)&&fn(e,"__v_skip",!0),e}const Se=e=>B(e)?Rs(e):e,Ye=e=>B(e)?Is(e):e;function Z(e){return e?e.__v_isRef===!0:!1}function Dr(e){return Hr(e,!1)}function Hr(e,t){return Z(e)?e:new Lr(e,t)}class Lr{constructor(t,s){this.dep=new ws,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:N(t),this._value=s?t:Se(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||de(t)||Me(t);t=n?t:N(t),ve(t,s)&&(this._rawValue=t,this._value=n?t:Se(t),this.dep.trigger())}}function jn(e){return Z(e)?e.value:e}const Vr={get:(e,t,s)=>t==="__v_raw"?e:jn(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return Z(i)&&!Z(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Dn(e){return Je(e)?e:new Proxy(e,Vr)}class $r{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new ws(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)&&U!==this)return mn(this,!0),!0}get value(){const t=this.dep.track();return vn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ur(e,t,s=!1){let n,i;return R(e)?n=e:(n=e.get,i=e.set),new $r(n,i,s)}const Kt={},Bt=new WeakMap;let ze;function Kr(e,t=!1,s=ze){if(s){let n=Bt.get(s);n||Bt.set(s,n=[]),n.push(e)}}function Br(e,t,s=$){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:f}=s,h=E=>i?E:de(E)||i===!1||i===0?Ve(E,1):Ve(E);let a,p,w,C,D=!1,I=!1;if(Z(e)?(p=()=>e.value,D=de(e)):Je(e)?(p=()=>h(e),D=!0):P(e)?(I=!0,D=e.some(E=>Je(E)||de(E)),p=()=>e.map(E=>{if(Z(E))return E.value;if(Je(E))return h(E);if(R(E))return f?f(E,2):E()})):R(e)?t?p=f?()=>f(e,2):e:p=()=>{if(w){ae();try{w()}finally{he()}}const E=ze;ze=a;try{return f?f(e,3,[C]):e(C)}finally{ze=E}}:p=ye,t&&i){const E=p,k=i===!0?1/0:i;p=()=>Ve(E(),k)}const Y=mr(),W=()=>{a.stop(),Y&&Y.active&&us(Y.effects,a)};if(r&&t){const E=t;t=(...k)=>{try{return E(...k)}finally{W()}}}let j=I?new Array(e.length).fill(Kt):Kt;const H=E=>{if(!(!(a.flags&1)||!a.dirty&&!E))if(t){const k=a.run();if(E||i||D||(I?k.some((Ke,Ee)=>ve(Ke,j[Ee])):ve(k,j))){const Ke=ze;ae();try{w&&w(),ze=a;const Ee=[k,j===Kt?void 0:I&&j[0]===Kt?[]:j,C];j=k,f?f(t,3,Ee):t(...Ee)}finally{ze=Ke,he()}}}else a.run()};return l&&l(H),a=new gn(p),a.scheduler=o?()=>o(H,!1):H,C=E=>Kr(E,!1,a),w=a.onStop=()=>{const E=Bt.get(a);if(E){if(f)f(E,4);else for(const k of E)k();Bt.delete(a)}},t?n?H(!0):j=a.run():o?o(H.bind(null,!0),!0):a.run(),W.pause=a.pause.bind(a),W.resume=a.resume.bind(a),W.stop=W,W}function Ve(e,t=1/0,s){if(t<=0||!B(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,Z(e))Ve(e.value,t,s);else if(P(e))for(let n=0;n<e.length;n++)Ve(e[n],t,s);else if(as(e)||qe(e))e.forEach(n=>{Ve(n,t,s)});else if(hs(e)){for(const n in e)Ve(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Ve(e[n],t,s)}return e}const pt=[];let Fs=!1;function Gl(e,...t){if(Fs)return;Fs=!0,ae();const s=pt.length?pt[pt.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=Wr();if(n)nt(n,s,11,[e+t.map(r=>{var o,l;return(l=(o=r.toString)==null?void 0:o.call(r))!=null?l:JSON.stringify(r)}).join(""),s&&s.proxy,i.map(({vnode:r})=>`at <${Ni(s,r.type)}>`).join(`
|
|
2
|
+
`),i]);else{const r=[`[Vue warn]: ${e}`,...t];i.length&&r.push(`
|
|
3
|
+
`,...qr(i)),console.warn(...r)}he(),Fs=!1}function Wr(){let e=pt[pt.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function qr(e){const t=[];return e.forEach((s,n)=>{t.push(...n===0?[]:[`
|
|
4
|
+
`],...Gr(s))}),t}function Gr({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,i=` at <${Ni(e.component,e.type,n)}`,r=">"+s;return e.props?[i,...Jr(e.props),r]:[i+r]}function Jr(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(n=>{t.push(...Hn(n,e[n]))}),s.length>3&&t.push(" ..."),t}function Hn(e,t,s){return J(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?s?t:[`${e}=${t}`]:Z(t)?(t=Hn(e,N(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):R(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=N(t),s?t:[`${e}=`,t])}function nt(e,t,s,n){try{return n?e(...n):e()}catch(i){Wt(i,t,s)}}function pe(e,t,s,n){if(R(e)){const i=nt(e,t,s,n);return i&&ln(i)&&i.catch(r=>{Wt(r,t,s,void 0,!0)}),i}if(P(e)){const i=[];for(let r=0;r<e.length;r++)i.push(pe(e[r],t,s,n));return i}}function Wt(e,t,s,n=!0,i=!1){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||$;if(t){let f=t.parent;const h=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${s}`;for(;f;){const p=f.ec;if(p&&!f.isUnmounted&&(!i||f.scope.active)){for(let w=0;w<p.length;w++)if(p[w](e,h,a)===!1)return}f=f.parent}if(o){ae(),nt(o,null,10,[e,h,a]),he();return}}Yr(e,s,r,n,l)}function Yr(e,t,s,n=!0,i=!1){if(i)throw e;console.error(e)}const te=[];let ge=-1;const we=[];let $e=null,it=0;const Ln=Promise.resolve();let qt=null;function Vn(e){const t=qt||Ln;return e?t.then(this?e.bind(this):e):t}function zr(e){let t=ge+1,s=te.length;for(;t<s;){const n=t+s>>>1,i=te[n],r=gt(i);r<e||r===e&&i.flags&2?t=n+1:s=n}return t}function Ns(e){if(!(e.flags&1)){const t=gt(e),s=te[te.length-1];!s||!(e.flags&2)&&t>=gt(s)?te.push(e):te.splice(zr(t),0,e),e.flags|=1,$n()}}function $n(){qt||(qt=Ln.then(Bn))}function kr(e){if(!P(e))$e&&e.id===-1?$e.splice(it+1,0,e):e.flags&1||(we.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)we.push(e[t]);$n()}function Un(e,t,s,n=ge+1){for(;n<te.length;n++){const i=te[n];if(i&&i.flags&2){if(e&&i.id!==e.uid||t!==void 0&&!(i.id>=t))continue;te.splice(n,1),n=e?n-1:ge,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function Kn(e,t,s=0){if(we.length){let n=we,i=0;if(t){n=[];for(let o=0;o<we.length;o++){const l=we[o];(l.i!==void 0?!l.i||l.i.uid<s:t.has(l))?we[i++]=l:n.push(l)}}const r=[...new Set(n)].sort((o,l)=>gt(o)-gt(l));if(we.length=i,$e){for(let o=0;o<r.length;o++)$e.push(r[o]);return}for($e=r,it=0;it<$e.length;it++){const o=$e[it];o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2}$e=null,it=0}}let js=!1;function Xr(e,t){if(js){e();return}const s=t===void 0?void 0:new Set(we);e(),js=!0;try{Un(void 0,t),Kn(void 0,s,t)}finally{js=!1}}const gt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Bn(e){try{for(ge=0;ge<te.length;ge++){const t=te[ge];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),nt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ge<te.length;ge++){const t=te[ge];t&&(t.flags&=-2)}ge=-1,te.length=0,Kn(),qt=null,(te.length||we.length)&&Bn()}}let Ce=null,Wn=null;function Gt(e){const t=Ce;return Ce=e,Wn=e&&e.type.__scopeId||null,t}function Zr(e,t=Ce,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&Ti(-1);const r=Gt(t),o=Ze.length;let l;try{l=e(...i)}finally{for(let f=Ze.length;f>o;f--)Ai();Gt(r),n._d&&Ti(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function ke(e,t,s,n){let i=e;if(n==="beforeMount")e._mount=e;else if(n==="beforeUpdate"){const l=t&&t._mount;l&&(l._latest=e,e._mount=l)}else if(n==="mounted"){const l=e._latest;e._mount=e._latest=void 0,l&&(i=l,l._mount=void 0)}const r=i.dirs,o=t&&t.dirs;for(let l=0;l<r.length;l++){let f=r[l];o?f.oldValue=o[l].value:n==="mounted"&&f.oldValue!==void 0&&(f=q({},f,{oldValue:void 0}));let h=f.dir[n];h&&(ae(),pe(h,s,8,[e.el,f,i,t]),he())}}function Qr(e,t){if(ie){let s=ie.provides;const n=ie.parent&&ie.parent.provides;n===s&&(s=ie.provides=Object.create(n)),s[e]=t}}function Jt(e,t,s=!1){const n=sl();if(n||rt){let i=rt?rt._context.provides:n?n.parent==null||n.ce?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&&R(t)?t.call(n&&n.proxy):t}}const eo=Symbol.for("v-scx"),to=()=>Jt(eo);function so(e,t){return Hs(e,null,t)}function Ds(e,t,s){return Hs(e,t,s)}function Hs(e,t,s=$){const{immediate:n,deep:i,flush:r,once:o}=s,l=q({},s),f=t&&n||!t&&r!=="post";let h;if(Ot){if(r==="sync"){const C=to();h=C.__watcherHandles||(C.__watcherHandles=[])}else if(!f){const C=()=>{};return C.stop=ye,C.resume=ye,C.pause=ye,C}}const a=ie;l.call=(C,D,I)=>pe(C,a,D,I);let p=!1;r==="post"?l.scheduler=C=>{C.i=a,ne(C,a&&a.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(C,D)=>{D?C():Ns(C)}),l.augmentJob=C=>{t&&(C.flags|=4),p&&(C.flags|=2,a&&(C.id=a.uid,C.i=a))};const w=Br(e,t,l);return Ot&&(h?h.push(w):f&&w()),w}function no(e,t,s){const n=this.proxy,i=J(e)?e.includes(".")?qn(n,e):()=>n[e]:e.bind(n,n);let r;R(t)?r=t:(r=t.handler,s=t);const o=Et(this),l=Hs(i,r.bind(n),s);return o(),l}function qn(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 io=Symbol("_vte"),Yt=e=>e.__isTeleport,Ls=Symbol("_leaveCb");function ro(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Ne){t=s;break}}return t}function Gn(e){if(!$s(e))return Yt(e.type)&&e.children?ro(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&R(s.default))return s.default()}}function _t(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;_t(Yt(s.type)&&Gn(s)||s,t)}else if(e.shapeFlag&128){const s=e.suspense;if(s){const n=s.isHydrating?s.pendingBranch:s.activeBranch;n&&_t(n,t.clone(n))}else e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)}else if(e.transition=t,e.type===_e&&P(e.children)){const s=fi(e.children,!1);s&&_t(s,t)}}function Vs(e){if(e.component)return Vs(e.component.subTree);if(e.type===_e){const t=P(e.children)&&fi(e.children,!1);return t?Vs(t):void 0}if(e.type!==Ne)return e}function Jn(e,t){return R(e)?q({name:e.name},t,{setup:e}):e}function Yn(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function zn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const zt=new WeakMap;function mt(e,t,s,n,i=!1){if(P(e)){e.forEach((I,Y)=>mt(I,t&&(P(t)?t[Y]:t),s,n,i));return}if(bt(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&mt(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?Xs(n.component):n.el,o=i?null:r,{i:l,r:f}=e,h=t&&t.r,a=l.refs===$?l.refs={}:l.refs,p=l.setupState,w=N(p),C=p===$?rn:I=>zn(a,I)?!1:F(w,I),D=(I,Y)=>!(Y&&zn(a,Y));if(h!=null&&h!==f){if(kn(t),J(h))a[h]=null,C(h)&&(p[h]=null);else if(Z(h)){const I=t;D(h,I.k)&&(h.value=null),I.k&&(a[I.k]=null)}}if(R(f))nt(f,l,12,[o,a]);else{const I=J(f),Y=Z(f);if(I||Y){const W=()=>{if(e.f){const j=I?C(f)?p[f]:a[f]:D()||!e.k?f.value:a[e.k];if(i)P(j)&&us(j,r);else if(P(j))j.includes(r)||j.push(r);else if(I)a[f]=[r],C(f)&&(p[f]=a[f]);else{const H=[r];D(f,e.k)&&(f.value=H),e.k&&(a[e.k]=H)}}else I?(a[f]=o,C(f)&&(p[f]=o)):Y&&(D(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const j=()=>{W(),zt.delete(e)};j.id=-1,zt.set(e,j),ne(j,s)}else kn(e),W()}}}function kn(e){const t=zt.get(e);t&&(t.flags|=8,zt.delete(e))}Dt().requestIdleCallback,Dt().cancelIdleCallback;const bt=e=>!!e.type.__asyncLoader,$s=e=>e.type.__isKeepAlive;function oo(e,t){Xn(e,"a",t)}function lo(e,t){Xn(e,"da",t)}function Xn(e,t,s=ie){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(yt(t,n,s),s){let i=s.parent;for(;i&&i.parent;)$s(i.parent.vnode)&&co(n,t,s,i),i=i.parent}}function co(e,t,s,n){const i=yt(t,e,n,!0),r=yt("um",()=>us(n[t],i),s);r.flags=16}function yt(e,t,s=ie,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{ae();const l=Et(s),f=pe(t,s,e,o);return l(),he(),f});return n?i.unshift(r):i.push(r),r}}const Fe=e=>(t,s=ie)=>{(!Ot||e==="sp")&&yt(e,(...n)=>t(...n),s)},fo=Fe("bm"),Zn=Fe("m"),uo=Fe("bu"),ao=Fe("u"),Qn=Fe("bum"),ho=Fe("um"),po=Fe("sp"),go=Fe("rtg"),_o=Fe("rtc");function mo(e,t=ie){yt("ec",e,t)}const bo=Symbol.for("v-ndc"),Us=e=>e?Ri(e)?Xs(e):Us(e.parent):null,vt=q(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),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ni(e),$forceUpdate:e=>e.f||(e.f=()=>{Ns(e.update)}),$nextTick:e=>e.n||(e.n=Vn.bind(e.proxy)),$watch:e=>no.bind(e)}),Ks=(e,t)=>e!==$&&!e.__isScriptSetup&&F(e,t),yo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const w=o[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(Ks(n,t))return o[t]=1,n[t];if(i!==$&&F(i,t))return o[t]=2,i[t];if(F(r,t))return o[t]=3,r[t];if(s!==$&&F(s,t))return o[t]=4,s[t];Bs&&(o[t]=0)}}const h=vt[t];let a,p;if(h)return t==="$attrs"&&ee(e.attrs,"get",""),h(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==$&&F(s,t))return o[t]=4,s[t];if(p=f.config.globalProperties,F(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return Ks(i,t)?(i[t]=s,!0):n!==$&&F(n,t)?(n[t]=s,!0):F(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,props:r,type:o}},l){let f;return!!(s[l]||e!==$&&l[0]!=="$"&&F(e,l)||Ks(t,l)||F(r,l)||F(n,l)||F(vt,l)||F(i.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:F(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function ei(e){return P(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Bs=!0;function vo(e){const t=ni(e),s=e.proxy,n=e.ctx;Bs=!1,t.beforeCreate&&ti(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:f,inject:h,created:a,beforeMount:p,mounted:w,beforeUpdate:C,updated:D,activated:I,deactivated:Y,beforeDestroy:W,beforeUnmount:j,destroyed:H,unmounted:E,render:k,renderTracked:Ke,renderTriggered:Ee,errorCaptured:Be,serverPrefetch:ns,expose:Qe,inheritAttrs:Rt,components:is,directives:rs,filters:nn}=t;if(h&&xo(h,n,null),o)for(const G in o){const K=o[G];R(K)&&(n[G]=K.bind(s))}if(i){const G=i.call(s,s);B(G)&&(e.data=Rs(G))}if(Bs=!0,r)for(const G in r){const K=r[G],et=R(K)?K.bind(s,s):R(K.get)?K.get.bind(s,s):ye,os=!R(K)&&R(K.set)?K.set.bind(s):ye,tt=Zs({get:et,set:os});Object.defineProperty(n,G,{enumerable:!0,configurable:!0,get:()=>tt.value,set:me=>tt.value=me})}if(l)for(const G in l)si(l[G],n,s,G);if(f){const G=R(f)?f.call(s):f;Reflect.ownKeys(G).forEach(K=>{Qr(K,G[K])})}a&&ti(a,e,"c");function re(G,K){P(K)?K.forEach(et=>G(et.bind(s))):K&&G(K.bind(s))}if(re(fo,p),re(Zn,w),re(uo,C),re(ao,D),re(oo,I),re(lo,Y),re(mo,Be),re(_o,Ke),re(go,Ee),re(Qn,j),re(ho,E),re(po,ns),P(Qe))if(Qe.length){const G=e.exposed||(e.exposed={});Qe.forEach(K=>{Object.defineProperty(G,K,{get:()=>s[K],set:et=>s[K]=et,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===ye&&(e.render=k),Rt!=null&&(e.inheritAttrs=Rt),is&&(e.components=is),rs&&(e.directives=rs),ns&&Yn(e)}function xo(e,t,s=ye){P(e)&&(e=Ws(e));for(const n in e){const i=e[n];let r;B(i)?"default"in i?r=Jt(i.from||n,i.default,!0):r=Jt(i.from||n):r=Jt(i),Z(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function ti(e,t,s){pe(P(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function si(e,t,s,n){let i=n.includes(".")?qn(s,n):()=>s[n];if(J(e)){const r=t[e];R(r)&&Ds(i,r)}else if(R(e))Ds(i,e.bind(s));else if(B(e))if(P(e))e.forEach(r=>si(r,t,s,n));else{const r=R(e.handler)?e.handler.bind(s):t[e.handler];R(r)&&Ds(i,r,e)}}function ni(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let f;return l?f=l:!i.length&&!s&&!n?f=t:(f={},i.length&&i.forEach(h=>kt(f,h,o,!0)),kt(f,t,o)),B(t)&&r.set(t,f),f}function kt(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&kt(e,r,s,!0),i&&i.forEach(o=>kt(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=So[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const So={data:ii,props:ri,emits:ri,methods:xt,computed:xt,beforeCreate:se,created:se,beforeMount:se,mounted:se,beforeUpdate:se,updated:se,beforeDestroy:se,beforeUnmount:se,destroyed:se,unmounted:se,activated:se,deactivated:se,errorCaptured:se,serverPrefetch:se,components:xt,directives:xt,watch:Co,provide:ii,inject:wo};function ii(e,t){return t?e?function(){return q(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function wo(e,t){return xt(Ws(e),Ws(t))}function Ws(e){if(P(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function se(e,t){return e?[...new Set([].concat(e,t))]:t}function xt(e,t){return e?q(Object.create(null),e,t):t}function ri(e,t){return e?P(e)&&P(t)?[...new Set([...e,...t])]:q(Object.create(null),ei(e),ei(t??{})):t}function Co(e,t){if(!e)return t;if(!t)return e;const s=q(Object.create(null),e);for(const n in t)s[n]=se(e[n],t[n]);return s}function oi(){return{app:null,config:{isNativeTag:rn,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 Ao=0;function To(e,t){return function(n,i=null){R(n)||(n=q({},n)),i!=null&&!B(i)&&(i=null);const r=oi(),o=new WeakSet,l=[];let f=!1;const h=r.app={_uid:Ao++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:al,get config(){return r.config},set config(a){},use(a,...p){return o.has(a)||(a&&R(a.install)?(o.add(a),a.install(h,...p)):R(a)&&(o.add(a),a(h,...p))),h},mixin(a){return r.mixins.includes(a)||r.mixins.push(a),h},component(a,p){return p?(r.components[a]=p,h):r.components[a]},directive(a,p){return p?(r.directives[a]=p,h):r.directives[a]},mount(a,p,w){if(!f){const C=h._ceVNode||Ue(n,i);return C.appContext=r,w===!0?w="svg":w===!1&&(w=void 0),e(C,a,w),f=!0,h._container=a,a.__vue_app__=h,Xs(C.component)}},onUnmount(a){l.push(a)},unmount(){f&&(pe(l,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(a,p){return r.provides[a]=p,h},runWithContext(a){const p=rt;rt=h;try{return a()}finally{rt=p}}};return h}}let rt=null;const Eo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${oe(t)}Modifiers`]||e[`${fe(t)}Modifiers`];function Oo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||$;let i=s;const r=t.startsWith("update:"),o=r&&Eo(n,t.slice(7));o&&(o.trim&&(i=s.map(a=>J(a)?a.trim():a)),o.number&&(i=i.map(cr)));let l,f=n[l=ps(t)]||n[l=ps(oe(t))];!f&&r&&(f=n[l=ps(fe(t))]),f&&pe(f,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,pe(h,e,6,i)}}const Po=new WeakMap;function li(e,t,s=!1){const n=s?Po:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!R(e)){const f=h=>{const a=li(h,t,!0);a&&(l=!0,q(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!r&&!l?(B(e)&&n.set(e,null),null):(P(r)?r.forEach(f=>o[f]=null):q(o,r),B(e)&&n.set(e,o),o)}function Xt(e,t){return!e||!Ft(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),F(e,t[0].toLowerCase()+t.slice(1))||F(e,fe(t))||F(e,t))}function Jl(){}function ci(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:f,render:h,renderCache:a,props:p,data:w,setupState:C,ctx:D,inheritAttrs:I}=e,Y=Gt(e);let W,j;try{if(s.shapeFlag&4){const E=i||n,k=E;W=Ae(h.call(k,E,a,p,C,w,D)),j=l}else{const E=t;W=Ae(E.length>1?E(p,{attrs:l,slots:o,emit:f}):E(p,null)),j=t.props?l:Ro(l)}}catch(E){Ze.length=0,Wt(E,e,1),W=Ue(Ne)}let H=W;if(j&&I!==!1){const E=Object.keys(j),{shapeFlag:k}=H;E.length&&k&7&&(r&&E.some(Nt)&&(j=Io(j,r)),H=ot(H,j,!1,!0))}if(s.dirs&&(H=ot(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(s.dirs):s.dirs),s.transition){const E=Yt(H.type)&&Gn(H)||H;_t(E,s.transition)}return W=H,Gt(Y),W}function fi(e,t=!0){let s;for(let n=0;n<e.length;n++){const i=e[n];if(ks(i)){if(i.type!==Ne||i.children==="v-if"){if(s)return;s=i}}else return}return s}const Ro=e=>{let t;for(const s in e)(s==="class"||s==="style"||Ft(s))&&((t||(t={}))[s]=e[s]);return t},Io=(e,t)=>{const s={};for(const n in e)(!Nt(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Mo(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:l,patchFlag:f}=t,h=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?ui(n,o,h):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const w=a[p];if(ai(o,n,w)&&!Xt(h,w))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?ui(n,o,h):!0:!!o;return!1}function ui(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(!F(e,r)||ai(t,e,r)&&!Xt(s,r))return!0}return!1}function ai(e,t,s){const n=e[s],i=t[s];return s==="style"&&B(n)&&B(i)?!Ht(n,i):n!==i}function Fo({vnode:e,parent:t,suspense:s},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=n,e=i),i===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const hi={},di=()=>Object.create(hi),pi=e=>Object.getPrototypeOf(e)===hi;function No(e,t,s,n=!1){const i={},r=di();e.propsDefaults=Object.create(null),gi(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:Nr(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function jo(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=N(i),[f]=e.propsOptions;let h=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let w=a[p];if(Xt(e.emitsOptions,w))continue;const C=t[w];if(f)if(F(r,w))C!==r[w]&&(r[w]=C,h=!0);else{const D=oe(w);i[D]=qs(f,l,D,C,e,!1)}else C!==r[w]&&(r[w]=C,h=!0)}}}else{gi(e,t,i,r)&&(h=!0);let a;for(const p in l)(!t||!F(t,p)&&((a=fe(p))===p||!F(t,a)))&&(f?s&&(s[p]!==void 0||s[a]!==void 0)&&(i[p]=qs(f,l,p,void 0,e,!0)):delete i[p]);if(r!==l)for(const p in r)(!t||!F(t,p))&&(delete r[p],h=!0)}h&&Re(e.attrs,"set","")}function gi(e,t,s,n){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(ct(f))continue;const h=t[f];let a;i&&F(i,a=oe(f))?!r||!r.includes(a)?s[a]=h:(l||(l={}))[a]=h:Xt(e.emitsOptions,f)||(!(f in n)||h!==n[f])&&(n[f]=h,o=!0)}if(r){const f=N(s),h=l||$;for(let a=0;a<r.length;a++){const p=r[a];s[p]=qs(i,f,p,h[p],e,!F(h,p))}}return o}function qs(e,t,s,n,i,r){const o=e[s];if(o!=null){const l=F(o,"default");if(l&&n===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&R(f)){const{propsDefaults:h}=i;if(s in h)n=h[s];else{const a=Et(i);n=h[s]=f.call(null,t),a()}}else n=f;i.ce&&i.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===fe(s))&&(n=!0))}return n}const Do=new WeakMap;function _i(e,t,s=!1){const n=s?Do:t.propsCache,i=n.get(e);if(i)return i;const r=e.props,o={},l=[];let f=!1;if(!R(e)){const a=p=>{f=!0;const[w,C]=_i(p,t,!0);q(o,w),C&&l.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!r&&!f)return B(e)&&n.set(e,We),We;if(P(r))for(let a=0;a<r.length;a++){const p=oe(r[a]);mi(p)&&(o[p]=$)}else if(r)for(const a in r){const p=oe(a);if(mi(p)){const w=r[a],C=o[p]=P(w)||R(w)?{type:w}:q({},w),D=C.type;let I=!1,Y=!0;if(P(D))for(let W=0;W<D.length;++W){const j=D[W],H=R(j)&&j.name;if(H==="Boolean"){I=!0;break}else H==="String"&&(Y=!1)}else I=R(D)&&D.name==="Boolean";C[0]=I,C[1]=Y,(I||F(C,"default"))&&l.push(p)}}const h=[o,l];return B(e)&&n.set(e,h),h}function mi(e){return e[0]!=="$"&&!ct(e)}const Gs=e=>e==="_"||e==="_ctx"||e==="$stable",Js=e=>P(e)?e.map(Ae):[Ae(e)],Ho=(e,t,s)=>{if(t._n)return t;const n=Zr((...i)=>Js(t(...i)),s);return n._c=!1,n},bi=(e,t,s)=>{const n=e._ctx;for(const i in e){if(Gs(i))continue;const r=e[i];if(R(r))t[i]=Ho(i,r,n);else if(r!=null){const o=Js(r);t[i]=()=>o}}},yi=(e,t)=>{const s=Js(t);e.slots.default=()=>s},vi=(e,t,s)=>{for(const n in t)(s||!Gs(n))&&(e[n]=t[n])},Lo=(e,t,s)=>{const n=e.slots=di();if(e.vnode.shapeFlag&32){const i=t._;i?(vi(n,t,s),s&&fn(n,"_",i,!0)):bi(t,n)}else t&&yi(e,t)},Vo=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=$;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:vi(i,t,s):(r=!t.$stable,bi(t,i)),o=t}else t&&(yi(e,t),o={default:1});if(r)for(const l in i)!Gs(l)&&o[l]==null&&delete i[l]},ne=qo;function $o(e){return Uo(e)}function Uo(e,t){const s=Dt();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:f,setText:h,setElementText:a,parentNode:p,nextSibling:w,setScopeId:C=ye,insertStaticContent:D}=e,I=(c,u,d,b=null,g=null,m=null,x=void 0,v=null,y=!!u.dynamicChildren)=>{if(c===u)return;c&&!Ct(c,u)&&(b=ls(c),me(c,g,m,!0),c=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null),u.dynamicChildren&&c&&c.dynamicChildren&&c.dynamicChildren.hasOnce&&(u.dynamicChildren===We&&(u.dynamicChildren=[]),u.dynamicChildren.hasOnce=!0);const{type:_,ref:A,shapeFlag:S}=u;switch(_){case Zt:Y(c,u,d,b);break;case Ne:W(c,u,d,b);break;case zs:c==null&&j(u,d,b,x);break;case _e:is(c,u,d,b,g,m,x,v,y);break;default:S&1?k(c,u,d,b,g,m,x,v,y):S&6?rs(c,u,d,b,g,m,x,v,y):(S&64||S&128)&&_.process(c,u,d,b,g,m,x,v,y,Mt)}A!=null&&g?mt(A,c&&c.ref,m,u||c,!u):A==null&&c&&c.ref!=null&&mt(c.ref,null,m,c,!0)},Y=(c,u,d,b)=>{if(c==null)n(u.el=l(u.children),d,b);else{const g=u.el=c.el;u.children!==c.children&&h(g,u.children)}},W=(c,u,d,b)=>{c==null?n(u.el=f(u.children||""),d,b):u.el=c.el},j=(c,u,d,b)=>{[c.el,c.anchor]=D(c.children,u,d,b,c.el,c.anchor)},H=({el:c,anchor:u},d,b)=>{let g;for(;c&&c!==u;)g=w(c),n(c,d,b),c=g;n(u,d,b)},E=({el:c,anchor:u})=>{let d;for(;c&&c!==u;)d=w(c),i(c),c=d;i(u)},k=(c,u,d,b,g,m,x,v,y)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),c==null)Ke(u,d,b,g,m,x,v,y);else{const _=c.el&&c.el._isVueCE?c.el:null;try{_&&_._beginPatch(),ns(c,u,g,m,x,v,y)}finally{_&&_._endPatch()}}},Ke=(c,u,d,b,g,m,x,v)=>{let y,_;const{props:A,shapeFlag:S,transition:T,dirs:O}=c;if(y=c.el=o(c.type,m,A&&A.is,A),S&8?a(y,c.children):S&16&&Be(c.children,y,null,b,g,Ys(c,m),x,v),O&&ke(c,null,b,"created"),Ee(y,c,c.scopeId,x,b),A){for(const V in A)V!=="value"&&!ct(V)&&r(y,V,null,A[V],m,b);"value"in A&&r(y,"value",null,A.value,m),(_=A.onVnodeBeforeMount)&&Te(_,b,c)}O&&ke(c,null,b,"beforeMount");const M=Ko(g,T);M?T.beforeEnter(y):T&&!T.persisted&&(y[Wo]=!0),n(y,u,d),((_=A&&A.onVnodeMounted)||M||O)&&ne(()=>{_&&Te(_,b,c),M&&T.enter(y),O&&ke(c,null,b,"mounted")},g)},Ee=(c,u,d,b,g)=>{if(d&&C(c,d),b)for(let m=0;m<b.length;m++)C(c,b[m]);if(g){let m=g.subTree;if(u===m||Ci(m.type)&&(m.ssContent===u||m.ssFallback===u)){const x=g.vnode;Ee(c,x,x.scopeId,x.slotScopeIds,g.parent)}}},Be=(c,u,d,b,g,m,x,v,y=0)=>{for(let _=y;_<c.length;_++){const A=c[_]=v?je(c[_]):Ae(c[_]);I(null,A,u,d,b,g,m,x,v)}},ns=(c,u,d,b,g,m,x)=>{const v=u.el=c.el;let{patchFlag:y,dynamicChildren:_,dirs:A}=u;y|=c.patchFlag&16;const S=c.props||$,T=u.props||$;let O;if(d&&Xe(d,!1),(O=T.onVnodeBeforeUpdate)&&Te(O,d,u,c),A&&ke(u,c,d,"beforeUpdate"),d&&Xe(d,!0),_&&(!c.dynamicChildren||c.dynamicChildren.length!==_.length)&&(y=0,x=!1,_=null),(S.innerHTML&&T.innerHTML==null||S.textContent&&T.textContent==null)&&a(v,""),_?Qe(c.dynamicChildren,_,v,d,b,Ys(u,g),m):x||K(c,u,v,null,d,b,Ys(u,g),m,!1),y>0){if(y&16)Rt(v,S,T,d,g);else if(y&2&&S.class!==T.class&&r(v,"class",null,T.class,g),y&4&&r(v,"style",S.style,T.style,g),y&8){const M=u.dynamicProps;for(let V=0;V<M.length;V++){const L=M[V],z=S[L],Q=T[L];(Q!==z||L==="value")&&r(v,L,z,Q,g,d)}}y&1&&c.children!==u.children&&a(v,u.children)}else!x&&_==null&&Rt(v,S,T,d,g);((O=T.onVnodeUpdated)||A)&&ne(()=>{O&&Te(O,d,u,c),A&&ke(u,c,d,"updated")},b)},Qe=(c,u,d,b,g,m,x)=>{for(let v=0;v<u.length;v++){const y=c[v],_=u[v],A=y.el||St(y),S=A&&(y.type===_e||!Ct(y,_)||y.shapeFlag&198)?p(A):d;I(y,_,S,null,b,g,m,x,!0)}},Rt=(c,u,d,b,g)=>{if(u!==d){if(u!==$)for(const m in u)!ct(m)&&!(m in d)&&r(c,m,u[m],null,g,b);for(const m in d){if(ct(m))continue;const x=d[m],v=u[m];x!==v&&m!=="value"&&r(c,m,v,x,g,b)}"value"in d&&r(c,"value",u.value,d.value,g)}},is=(c,u,d,b,g,m,x,v,y)=>{const _=u.el=c?c.el:l(""),A=u.anchor=c?c.anchor:l("");let{patchFlag:S,dynamicChildren:T,slotScopeIds:O}=u;O&&(v=v?v.concat(O):O),c==null?(n(_,d,b),n(A,d,b),Be(u.children||[],d,A,g,m,x,v,y)):S>0&&S&64&&T&&c.dynamicChildren&&c.dynamicChildren.length===T.length?(Qe(c.dynamicChildren,T,d,g,m,x,v),(u.key!=null||g&&u===g.subTree)&&xi(c,u,!0)):K(c,u,d,A,g,m,x,v,y)},rs=(c,u,d,b,g,m,x,v,y)=>{u.slotScopeIds=v,c==null?u.shapeFlag&512?g.ctx.activate(u,d,b,x,y):nn(u,d,b,g,m,x,y):ki(c,u,y)},nn=(c,u,d,b,g,m,x)=>{const v=c.component=tl(c,b,g);if($s(c)&&(v.ctx.renderer=Mt),nl(v,!1,x),v.asyncDep){if(g&&g.registerDep(v,re,x,m),!c.el){const y=v.subTree=Ue(Ne);W(null,y,u,d),c.placeholder=y.el}}else re(v,c,u,d,g,m,x)},ki=(c,u,d)=>{const b=u.component=c.component;if(Mo(c,u,d))if(b.asyncDep&&!b.asyncResolved){u.el=c.el,u.placeholder=c.placeholder,G(b,u,d);return}else b.next=u,b.update();else u.el=c.el,u.placeholder=c.placeholder,b.vnode=u},re=(c,u,d,b,g,m,x)=>{const v=()=>{if(c.isMounted){let{next:S,bu:T,u:O,parent:M,vnode:V}=c;{const Oe=Si(c);if(Oe){S&&(S.el=V.el,G(c,S,x)),Oe.asyncDep.then(()=>{const He=()=>{c.job.flags&8||(g&&g.pendingBranch?ne(He,g):_())};He.flags=48,ne(He,g)});return}}let L=S,z;Xe(c,!1),S?(S.el=V.el,G(c,S,x)):S=V,T&&gs(T),(z=S.props&&S.props.onVnodeBeforeUpdate)&&Te(z,M,S,V),Xe(c,!0);const Q=ci(c),be=c.subTree;c.subTree=Q,I(be,Q,p(be.el||St(be)),ls(be),c,g,m),S.el=Q.el,L===null&&Fo(c,Q.el),O&&ne(O,g),(z=S.props&&S.props.onVnodeUpdated)&&ne(()=>Te(z,M,S,V),g)}else{let S;const{el:T,props:O}=u,{bm:M,m:V,parent:L,root:z,type:Q}=c,be=bt(u);Xe(c,!1),M&&gs(M),!be&&(S=O&&O.onVnodeBeforeMount)&&Te(S,L,u),Xe(c,!0);{z.ce&&z.ce._hasShadowRoot()&&z.ce._injectChildStyle(Q,c.parent?c.parent.type:void 0);const Oe=c.subTree=ci(c);I(null,Oe,d,b,c,g,m),u.el=Oe.el}if(V&&ne(V,g),!be&&(S=O&&O.onVnodeMounted)){const Oe=u;ne(()=>Te(S,L,Oe),g)}(u.shapeFlag&256||L&&bt(L.vnode)&&L.vnode.shapeFlag&256)&&c.a&&ne(c.a,g),c.isMounted=!0,u=d=b=null}};c.scope.on();const y=c.effect=new gn(v);c.scope.off();const _=c.update=y.run.bind(y),A=c.job=y.runIfDirty.bind(y);A.i=c,A.id=c.uid,y.scheduler=()=>Ns(A),Xe(c,!0),_()},G=(c,u,d)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,jo(c,u.props,b,d),Vo(c,u.children,d),ae(),Un(c),he()},K=(c,u,d,b,g,m,x,v,y=!1)=>{const _=c&&c.children,A=c?c.shapeFlag:0,S=u.children,{patchFlag:T,shapeFlag:O}=u;if(T>0){if(T&128){os(_,S,d,b,g,m,x,v,y);return}else if(T&256){et(_,S,d,b,g,m,x,v,y);return}}O&8?(A&16&&It(_,g,m),S!==_&&a(d,S)):A&16?O&16?os(_,S,d,b,g,m,x,v,y):It(_,g,m,!0):(A&8&&a(d,""),O&16&&Be(S,d,b,g,m,x,v,y))},et=(c,u,d,b,g,m,x,v,y)=>{c=c||We,u=u||We;const _=c.length,A=u.length,S=Math.min(_,A);let T;for(T=0;T<S;T++){const O=u[T]=y?je(u[T]):Ae(u[T]);I(c[T],O,d,null,g,m,x,v,y)}_>A?It(c,g,m,!0,!1,S):Be(u,d,b,g,m,x,v,y,S)},os=(c,u,d,b,g,m,x,v,y)=>{let _=0;const A=u.length;let S=c.length-1,T=A-1;for(;_<=S&&_<=T;){const O=c[_],M=u[_]=y?je(u[_]):Ae(u[_]);if(Ct(O,M))I(O,M,d,null,g,m,x,v,y);else break;_++}for(;_<=S&&_<=T;){const O=c[S],M=u[T]=y?je(u[T]):Ae(u[T]);if(Ct(O,M))I(O,M,d,null,g,m,x,v,y);else break;S--,T--}if(_>S){if(_<=T){const O=T+1,M=O<A?u[O].el:b;for(;_<=T;)I(null,u[_]=y?je(u[_]):Ae(u[_]),d,M,g,m,x,v,y),_++}}else if(_>T)for(;_<=S;)me(c[_],g,m,!0),_++;else{const O=_,M=_,V=new Map;for(_=M;_<=T;_++){const ce=u[_]=y?je(u[_]):Ae(u[_]);ce.key!=null&&V.set(ce.key,_)}let L,z=0;const Q=T-M+1;let be=!1,Oe=0;const He=new Array(Q);for(_=0;_<Q;_++)He[_]=0;for(_=O;_<=S;_++){const ce=c[_];if(z>=Q){me(ce,g,m,!0);continue}let Pe;if(ce.key!=null)Pe=V.get(ce.key);else for(L=M;L<=T;L++)if(He[L-M]===0&&Ct(ce,u[L])){Pe=L;break}Pe===void 0?me(ce,g,m,!0):(He[Pe-M]=_+1,Pe>=Oe?Oe=Pe:be=!0,I(ce,u[Pe],d,null,g,m,x,v,y),z++)}const er=be?Bo(He):We;for(L=er.length-1,_=Q-1;_>=0;_--){const ce=M+_,Pe=u[ce],tr=u[ce+1],sr=ce+1<A?tr.el||St(tr):b;He[_]===0?I(null,Pe,d,sr,g,m,x,v,y):be&&(L<0||_!==er[L]?tt(Pe,d,sr,2):L--)}}},tt=(c,u,d,b,g=null)=>{const{el:m,type:x,transition:v,children:y,shapeFlag:_}=c;if(_&6){tt(c.component.subTree,u,d,b);return}if(_&128){c.suspense.move(u,d,b);return}if(_&64){x.move(c,u,d,Mt);return}if(x===_e){n(m,u,d);for(let S=0;S<y.length;S++)tt(y[S],u,d,b);n(c.anchor,u,d);return}if(x===zs){H(c,u,d);return}if(b!==2&&_&1&&v)if(b===0)v.persisted&&!m[Ls]?n(m,u,d):(v.beforeEnter(m),n(m,u,d),ne(()=>v.enter(m),g));else{const{leave:S,delayLeave:T,afterLeave:O}=v,M=()=>{c.ctx.isUnmounted?i(m):n(m,u,d)},V=()=>{const L=m._isLeaving||!!m[Ls];m._isLeaving&&m[Ls](!0),v.persisted&&!L?M():S(m,()=>{M(),O&&O()})};T?T(m,M,V):V()}else n(m,u,d)},me=(c,u,d,b=!1,g=!1)=>{const{type:m,props:x,ref:v,children:y,dynamicChildren:_,shapeFlag:A,patchFlag:S,dirs:T,cacheIndex:O,memo:M}=c;if((S===-2||_&&_.hasOnce)&&(g=!1),v!=null&&(ae(),mt(v,null,d,c,!0),he()),O!=null&&(!c.ctx||c.ctx===u)&&(u.renderCache[O]=void 0),A&256&&u.ctx.deactivate(c))return;const V=A&1&&T,L=!bt(c);let z;if(L&&(z=x&&x.onVnodeBeforeUnmount)&&Te(z,u,c),A&6)Bl(c.component,d,b);else{if(A&128){c.suspense.unmount(d,b);return}V&&ke(c,null,u,"beforeUnmount"),A&64?c.type.remove(c,u,d,Mt,b):_&&!_.hasOnce&&(m!==_e||S>0&&S&64)?It(_,u,d,!1,!0):(m===_e&&S&384||!g&&A&16)&&It(y,u,d),b&&Xi(c)}const Q=M!=null&&O==null;(L&&(z=x&&x.onVnodeUnmounted)||V||Q)&&ne(()=>{z&&Te(z,u,c),V&&ke(c,null,u,"unmounted"),Q&&(c.el=null)},d)},Xi=c=>{const{type:u,el:d,anchor:b,transition:g}=c,m=u===_e;if(m&&!g){Zi(d,b);return}if(u===zs){E(c),g&&!g.persisted&&g.afterLeave&&g.afterLeave();return}const x=m?Vs(c):c,v=()=>{m?p(d)&&Zi(d,b):i(d),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(x&&x.shapeFlag&1&&g&&!g.persisted){const{leave:y,delayLeave:_}=g,A=x.el,S=()=>y(A,v);_?_(A,v,S):S()}else v()},Zi=(c,u)=>{let d;for(;c!==u;)d=w(c),i(c),c=d;i(u)},Bl=(c,u,d)=>{const{bum:b,scope:g,job:m,subTree:x,um:v,m:y,a:_}=c;wi(y),wi(_),b&&gs(b),g.stop(),m?(m.flags|=8,me(x,c,u,d)):x&&(x.transition=c.vnode.transition,me(x,c,u,d)),v&&ne(v,u);const A=()=>{c.isUnmounted=!0};A.flags=16,ne(A,u)},It=(c,u,d,b=!1,g=!1,m=0)=>{for(let x=m;x<c.length;x++)me(c[x],u,d,b,g)},ls=c=>{if(c.shapeFlag&6)return ls(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=w(c.anchor||c.el),d=u&&u[io];return d?w(d):u},Qi=(c,u,d)=>{const b=c&&u._vnode?void 0:c&&c.component?c.component.uid:el();Xr(()=>{c==null?u._vnode&&me(u._vnode,null,null,!0):I(u._vnode||null,c,u,null,null,null,d),u._vnode=c},b)},Mt={p:I,um:me,m:tt,r:Xi,mt:nn,mc:Be,pc:K,pbc:Qe,n:ls,o:e};return{render:Qi,hydrate:void 0,createApp:To(Qi)}}function Ys({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 Xe({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ko(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xi(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]=je(i[r]),l.el=o.el),!s&&l.patchFlag!==-2&&xi(o,l)),l.type===Zt&&(l.patchFlag===-1&&(l=i[r]=je(l)),l.el=o.el),l.type===Ne&&!l.el&&(l.el=o.el)}}function Bo(e){const t=e.slice(),s=[0];let n,i,r,o,l;const f=e.length;for(n=0;n<f;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 Si(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Si(t)}function wi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function St(e){if(e.placeholder)return e.placeholder;const t=e.component;if(t)return St(t.subTree);const s=e.suspense;return s&&s.activeBranch?St(s.activeBranch):null}const Ci=e=>e.__isSuspense,Wo=Symbol("_deferredEnter");function qo(e,t){t&&t.pendingBranch?P(e)?t.effects.push(...e):t.effects.push(e):kr(e)}const _e=Symbol.for("v-fgt"),Zt=Symbol.for("v-txt"),Ne=Symbol.for("v-cmt"),zs=Symbol.for("v-stc"),Ze=[];let le=null;function Go(e=!1){Ze.push(le=e?null:[])}function Ai(){Ze.pop(),le=Ze[Ze.length-1]||null}let wt=1;function Ti(e,t=!1){wt+=e,e<0&&le&&t&&(le.hasOnce=!0)}function Jo(e){return e.dynamicChildren=wt>0?le||We:null,Ai(),wt>0&&le&&le.push(e),e}function Yo(e,t,s,n,i,r){return Jo(At(e,t,s,n,i,r,!0))}function ks(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const Ei=({key:e})=>e??null,Qt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?J(e)||Z(e)||R(e)?{i:Ce,r:e,k:t,f:!!s}:e:null);function At(e,t=null,s=null,n=0,i=null,r=e===_e?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ei(t),ref:t&&Qt(t),scopeId:Wn,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:Ce};return l?(es(f,s),r&128&&e.normalize(f)):s&&(f.shapeFlag|=J(s)?8:16),wt>0&&!o&&le&&(f.patchFlag>0||r&6)&&f.patchFlag!==32&&le.push(f),f}const Ue=zo;function zo(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===bo)&&(e=Ne),ks(e)){const l=ot(e,t,!0);return s&&es(l,s),wt>0&&!r&&le&&(l.shapeFlag&6?le[le.indexOf(e)]=l:le.push(l)),l.patchFlag=-2,l}if(ul(e)&&(e=e.__vccOpts),t){t=ko(t);let{class:l,style:f}=t;l&&!J(l)&&(t.class=ms(l)),B(f)&&(Ms(f)&&!P(f)&&(f=q({},f)),t.style=_s(f))}const o=J(e)?1:Ci(e)?128:Yt(e)?64:B(e)?4:R(e)?2:0;return At(e,t,s,n,i,o,r,!0)}function ko(e){return e?Ms(e)?q({},e):pi(e)?q({},e[Fi]||e):e:null}function ot(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:f}=e,h=t?Zo(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Ei(h),ref:t&&t.ref?s&&r?P(r)?r.concat(Qt(t)):[r,Qt(t)]:Qt(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!==_e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ot(e.ssContent),ssFallback:e.ssFallback&&ot(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return f&&n&&_t(a,f.clone(a)),a}function Xo(e=" ",t=0){return Ue(Zt,null,e,t)}function Ae(e){return e==null||typeof e=="boolean"?Ue(Ne):P(e)?Ue(_e,null,e.slice()):ks(e)?je(e):Ue(Zt,null,String(e))}function je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ot(e)}function es(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),es(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!pi(t)?t._ctx=Ce:i===3&&Ce&&(Ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(R(t)){if(n&65){es(e,{default:t});return}t={default:t,_ctx:Ce},s=32}else t=String(t),n&64?(s=16,t=[Xo(t)]):s=8;e.children=t,e.shapeFlag|=s}function Zo(...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=ms([t.class,n.class]));else if(i==="style")t.style=_s([t.style,n.style]);else if(Ft(i)){const r=t[i],o=n[i];o&&r!==o&&!(P(r)&&r.includes(o))?t[i]=r?[].concat(r,o):o:o==null&&r==null&&!Nt(i)&&(t[i]=o)}else i!==""&&(t[i]=n[i])}return t}function Te(e,t,s,n=null){pe(e,t,7,[s,n])}const Qo=oi();let Oi=0;function el(){return Oi}function tl(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||Qo,r={uid:Oi++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new _r(!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:_i(n,i),emitsOptions:li(n,i),emit:null,emitted:null,propsDefaults:$,inheritAttrs:n.inheritAttrs,ctx:$,data:$,props:$,attrs:$,slots:$,refs:$,setupState:$,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=Oo.bind(null,r),e.ce&&e.ce(r),r}let ie=null;const sl=()=>ie||Ce;let ts,Tt;{const e=Dt(),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)}};ts=t("__VUE_INSTANCE_SETTERS__",s=>ie=s),Tt=t("__VUE_SSR_SETTERS__",s=>Ot=s)}const Et=e=>{const t=ie;return ts(e),e.scope.on(),()=>{e.scope.off(),ts(t)}},Pi=()=>{ie&&ie.scope.off(),ts(null)};function Ri(e){return e.vnode.shapeFlag&4}let Ot=!1;function nl(e,t=!1,s=!1){t&&Tt(t);const{props:n,children:i}=e.vnode,r=Ri(e);No(e,n,r,t),Lo(e,i,s||t);const o=r?il(e,t):void 0;return t&&Tt(!1),o}function il(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yo);const{setup:n}=s;if(n){ae();const i=e.setupContext=n.length>1?ol(e):null,r=Et(e),o=nt(n,e,0,[e.props,i]),l=ln(o);if(he(),r(),(l||e.sp)&&!bt(e)&&Yn(e),l){if(o.then(Pi,Pi),t)return o.then(f=>{Tt(!0);try{Ii(e,f,t)}finally{Tt(!1)}}).catch(f=>{Wt(f,e,0,void 0,!0),e.ssrRender=(h,a)=>a("<!---->")});e.asyncDep=o}else Ii(e,o)}else Mi(e)}function Ii(e,t,s){R(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:B(t)&&(e.setupState=Dn(t)),Mi(e)}function Mi(e,t,s){const n=e.type;e.render||(e.render=n.render||ye);{const i=Et(e);ae();try{vo(e)}finally{he(),i()}}}const Fi=Symbol(),rl={get(e,t){return ee(e,"get",""),t===Fi?e:e[t]}};function ol(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,rl),slots:e.slots,emit:e.emit,expose:t}}function Xs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Dn(jr(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in vt)return vt[s](e)},has(t,s){return s in t||s in vt}})):e.proxy}const ll=/(?:^|[-_])\w/g,cl=e=>e.replace(ll,t=>t.toUpperCase()).replace(/[-_]/g,"");function fl(e,t=!0){return R(e)?e.displayName||e.name:e.name||t&&e.__name}function Ni(e,t,s=!1){let n=fl(t);if(!n&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&e){const i=r=>{for(const o in r)if(r[o]===t)return o};n=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return n?cl(n):s?"App":"Anonymous"}function ul(e){return R(e)&&"__vccOpts"in e}const Zs=(e,t)=>Ur(e,t,Ot),al="3.5.45";let Qs;const ji=typeof window<"u"&&window.trustedTypes;if(ji)try{Qs=ji.createPolicy("vue",{createHTML:e=>e})}catch{}const Di=Qs?e=>Qs.createHTML(e):e=>e,hl="http://www.w3.org/2000/svg",dl="http://www.w3.org/1998/Math/MathML",De=typeof document<"u"?document:null,Hi=De&&De.createElement("template"),pl={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"?De.createElementNS(hl,e):t==="mathml"?De.createElementNS(dl,e):s?De.createElement(e,{is:s}):De.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>De.createTextNode(e),createComment:e=>De.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>De.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{Hi.innerHTML=Di(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Hi.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},gl=Symbol("_vtc");function _l(e,t,s){const n=e[gl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Li=Symbol("_vod"),ml=Symbol("_vsh"),bl=Symbol(""),yl=/(?:^|;)\s*display\s*:/;function vl(e,t,s){const n=e.style,i=J(s);let r=!1;if(s&&!i){if(t)if(J(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Pt(n,l,"")}else for(const o in t)s[o]==null&&Pt(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?Sl(e,o,!J(t)&&t?t[o]:void 0,l)||Pt(n,o,l):Pt(n,o,"")}}else if(i){if(t!==s){const o=n[bl];o&&(s+=";"+o),n.cssText=s,r=yl.test(s)}}else t&&e.removeAttribute("style");Li in e&&((!i||t!==s)&&(e[Li]=r?n.display:""),e[ml]&&(n.display="none"))}const ss=/\s*!important$/;function Pt(e,t,s){if(P(s))s.forEach(n=>Pt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))ss.test(s)?e.setProperty(t,s.replace(ss,""),"important"):e.setProperty(t,s);else{const n=xl(e,t);ss.test(s)?e.setProperty(fe(n),s.replace(ss,""),"important"):e[n]=s}}const Vi=["Webkit","Moz","ms"],en={};function xl(e,t){const s=en[t];if(s)return s;let n=oe(t);if(n!=="filter"&&n in e)return en[t]=n;n=cn(n);for(let i=0;i<Vi.length;i++){const r=Vi[i]+n;if(r in e)return en[t]=r}return t}function Sl(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&J(n)&&s===n}const $i="http://www.w3.org/1999/xlink";function Ui(e,t,s,n,i,r=dr(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS($i,t.slice(6,t.length)):e.setAttributeNS($i,t,s):s==null||r&&!hn(s)?e.removeAttribute(t):e.setAttribute(t,r?"":Le(s)?String(s):s)}function Ki(e,t,s,n,i){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Di(s):s);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,f=s==null?e.type==="checkbox"?"on":"":String(s);(l!==f||!("_value"in e))&&(e.value=f),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=hn(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 wl(e,t,s,n){e.addEventListener(t,s,n)}function Cl(e,t,s,n){e.removeEventListener(t,s,n)}const Bi=Symbol("_vei");function Al(e,t,s,n,i=null){const r=e[Bi]||(e[Bi]={}),o=r[t];if(n&&o)o.value=n;else{const[l,f]=Ol(t);if(n){const h=r[t]=Il(n,i);wl(e,l,h,f)}else o&&(Cl(e,l,o,f),r[t]=void 0)}}const Tl=/(Once|Passive|Capture)$/,El=/^on:?(?:Once|Passive|Capture)$/;function Ol(e){let t,s;for(;(s=e.match(Tl))&&!El.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):fe(e.slice(2)),t]}let tn=0;const Pl=Promise.resolve(),Rl=()=>tn||(Pl.then(()=>tn=0),tn=Date.now());function Il(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(P(i)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const o=i.slice(),l=[n];for(let f=0;f<o.length&&!n._stopped;f++){const h=o[f];h&&pe(h,t,5,l)}}else pe(i,t,5,[n])};return s.value=e,s.attached=Rl(),s}const Wi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ml=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?_l(e,n,o):t==="style"?vl(e,s,n):Ft(t)?Nt(t)||Al(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Fl(e,t,n,o))?(Ki(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ui(e,t,n,o,r,t!=="value")):e._isVueCE&&(Nl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!J(n)))?Ki(e,oe(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ui(e,t,n,o))};function Fl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Wi(t)&&R(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||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 Wi(t)&&J(s)?!1:t in e}function Nl(e,t){const s=e._def.props;if(!s)return!1;const n=oe(t);return Array.isArray(s)?s.some(i=>oe(i)===n):Object.keys(s).some(i=>oe(i)===n)}const qi={};function jl(e,t,s){let n=Jn(e,t);hs(n)&&(n=q({},n,t));class i extends sn{constructor(o){super(n,o,s)}}return i.def=n,i}const Dl=typeof HTMLElement<"u"?HTMLElement:class{};class sn extends Dl{constructor(t,s={},n=Yi){super(),this._def=t,this._props=s,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==Yi?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(q({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof sn){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Vn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const s of t)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(n,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=n;let l;if(r&&!P(r))for(const f in r){const h=r[f];(h===Number||h&&h.type===Number)&&(f in this._props&&(this._props[f]=un(this._props[f])),(l||(l=Object.create(null)))[oe(f)]=!0)}this._numberProps=l,this._resolveProps(n),this.shadowRoot&&this._applyStyles(o),this._connected&&this._mount(n)},s=this._def.__asyncLoader;if(s)return this._pendingResolve=s().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const n in s)F(this,n)||Object.defineProperty(this,n,{get:()=>jn(s[n])})}_resolveProps(t){const{props:s}=t,n=P(s)?s:Object.keys(s||{});for(const i of Object.keys(this))i[0]!=="_"&&n.includes(i)&&this._setProp(i,this[i]);for(const i of n.map(oe))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let n=s?this.getAttribute(t):qi;const i=oe(t);s&&this._numberProps&&this._numberProps[i]&&(n=un(n)),this._setProp(i,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,n=!0,i=!1){if(s!==this._props[t]&&(this._dirty=!0,s===qi?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),i&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),s===!0?this.setAttribute(fe(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(fe(t),s+""):s||this.removeAttribute(fe(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Ll(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=Ue(this._def,q(t,this._props));return this._instance||(s.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,hs(o[0])?q({detail:o},o[0]):{detail:o}))};n.emit=(r,...o)=>{i(r,o),fe(r)!==r&&i(fe(r),o)},this._setParent()}),s}_applyStyles(t,s,n){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const i=this._nonce,r=this.shadowRoot,o=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let l=null;for(let f=t.length-1;f>=0;f--){const h=document.createElement("style");i&&h.setAttribute("nonce",i),h.textContent=t[f],r.insertBefore(h,l||o),l=h,f===0&&(n||this._styleAnchors.set(this._def,h),s&&this._styleAnchors.set(s,h))}}_getStyleAnchor(t){if(!t)return null;const s=this._styleAnchors.get(t);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let s=0;s<t.childNodes.length;s++){const n=t.childNodes[s];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){const t=this._slots={};let s;for(;s=this.firstChild;){const n=s.nodeType===1&&s.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(s),this.removeChild(s)}}_renderSlots(){const t=this._getSlots(),s=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const i=t[n],r=i.getAttribute("name")||"default",o=this._slots[r],l=i.parentNode;if(o)for(const f of o){if(s&&f.nodeType===1){const h=s+"-s",a=document.createTreeWalker(f,1);f.setAttribute(h,"");let p;for(;p=a.nextNode();)p.setAttribute(h,"")}l.insertBefore(f,i)}else for(;i.firstChild;)l.insertBefore(i.firstChild,i);l.removeChild(i)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const s=new Set;for(const n of t){const i=n.querySelectorAll("slot");for(let r=0;r<i.length;r++)s.add(i[r])}return Array.from(s)}_injectChildStyle(t,s){this._applyStyles(t.styles,t,s)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){}}const Hl=q({patchProp:Ml},pl);let Gi;function Ji(){return Gi||(Gi=$o(Hl))}const Ll=((...e)=>{Ji().render(...e)}),Yi=((...e)=>{const t=Ji().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=$l(n);if(!i)return;const r=t._component;!R(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Vl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t});function Vl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $l(e){return J(e)?document.querySelector(e):e}const Ul={class:"card"},Kl=["disabled"],zi=jl(((e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s})(Jn({__name:"VisionAssessment.ce",props:{env:{type:String},sessionId:{type:String},customerId:{type:[String,Number]},patientId:{type:[String,Number]}},setup(e){const t={prod:{exexUrl:"https://acuity.theframery.com/acuity",pid:""},local:{exexUrl:"/fake-exex.html",pid:"demo-partner"}},s=e,n=Zs(()=>s.env&&Object.hasOwn(t,s.env)?t[s.env]:void 0);so(()=>{n.value||console.warn(`<vision-assessment>: \`env\` must be one of ${Object.keys(t).join(", ")} (got ${JSON.stringify(s.env)}).`)});const i=Dr(!1),r=Zs(()=>!!n.value?.pid&&!!s.sessionId&&!i.value),o=a=>a!==void 0&&a!=="";function l(a,{exexUrl:p,pid:w}){const C=new URL(p,window.location.href);return C.searchParams.set("pid",w),C.searchParams.set("eaid",crypto.randomUUID()),C.searchParams.set("sessionId",a),o(s.customerId)&&C.searchParams.set("customerId",String(s.customerId)),o(s.patientId)&&C.searchParams.set("patientId",String(s.patientId)),C.toString()}function f(){!r.value||!s.sessionId||!n.value||(i.value=!0,window.location.assign(l(s.sessionId,n.value)))}function h(a){a.persisted&&(i.value=!1)}return Zn(()=>window.addEventListener("pageshow",h)),Qn(()=>window.removeEventListener("pageshow",h)),(a,p)=>(Go(),Yo("section",Ul,[p[1]||(p[1]=At("h2",null,"Visual acuity check",-1)),p[2]||(p[2]=At("p",null,"Take a quick online check of your distance vision. You'll be taken to a separate page to complete it.",-1)),At("button",{class:"primary",disabled:!r.value,onClick:p[0]||(p[0]=w=>f())},"Start",8,Kl)]))}}),[["styles",[':host{display:block;font-family:var(--va-font-family, system-ui, -apple-system, "Segoe UI", sans-serif);color:var(--va-text, #1f2937)}.card{box-sizing:border-box;background:var(--va-surface, #fff);border-radius:8px;padding:1.25rem;text-align:center;box-shadow:0 1px 3px #0000001a}button{font:inherit;cursor:pointer;padding:.5rem 1.5rem;border:1px solid var(--va-primary, #2563eb);border-radius:6px;background:var(--va-primary, #2563eb);color:var(--va-primary-text, #fff)}button:disabled{opacity:.5;cursor:not-allowed}']]]));return customElements.get("vision-assessment")||customElements.define("vision-assessment",zi),cs.VisionAssessmentElement=zi,Object.defineProperty(cs,Symbol.toStringTag,{value:"Module"}),cs})({});
|