@teselia/password 1.0.0 → 1.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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/tes-password.iife.js +1 -1
- package/dist/tes-password.iife.js.map +1 -1
- package/dist/tes-password.js +16 -31
- package/dist/tes-password.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @teselia/password
|
|
2
2
|
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8cf389c: Fix missing colors in the published builds. The build lowered `light-dark()` to variables that only exist under a `color-scheme` declaration, so every default color was invalid: fields had no border or background, and the accent and error colors were lost. The npm and CDN builds now keep `light-dark()`, which every supported browser understands. The docs site was not affected, because it uses the source code.
|
|
8
|
+
|
|
3
9
|
## 1.0.0
|
|
4
10
|
|
|
5
11
|
### Major Changes
|
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ Attributes, events, styling, and examples for Vue and React are in the [document
|
|
|
48
48
|
|
|
49
49
|
| Build | gzip |
|
|
50
50
|
| --- | --- |
|
|
51
|
-
| npm (ESM), in an app that already has Vue | 6.
|
|
51
|
+
| npm (ESM), in an app that already has Vue | 6.5 KB |
|
|
52
52
|
| CDN (IIFE), everything including Vue | 30 KB |
|
|
53
53
|
|
|
54
54
|
No dependencies besides Vue.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var TeseliaPassword=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var n={},r=[],i=()=>{},a=()=>!1,o=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),s=e=>e.startsWith(`onUpdate:`),c=Object.assign,l=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,d=(e,t)=>u.call(e,t),f=Array.isArray,p=e=>S(e)===`[object Map]`,m=e=>S(e)===`[object Set]`,h=e=>S(e)===`[object Date]`,g=e=>typeof e==`function`,_=e=>typeof e==`string`,v=e=>typeof e==`symbol`,y=e=>typeof e==`object`&&!!e,b=e=>(y(e)||g(e))&&g(e.then)&&g(e.catch),x=Object.prototype.toString,S=e=>x.call(e),C=e=>S(e).slice(8,-1),w=e=>S(e)===`[object Object]`,ee=e=>_(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,te=t(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),T=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ne=/-\w/g,E=T(e=>e.replace(ne,e=>e.slice(1).toUpperCase())),re=/\B([A-Z])/g,D=T(e=>e.replace(re,`-$1`).toLowerCase()),ie=T(e=>e.charAt(0).toUpperCase()+e.slice(1)),ae=T(e=>e?`on${ie(e)}`:``),O=(e,t)=>!Object.is(e,t),oe=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},se=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ce=e=>{let t=parseFloat(e);return isNaN(t)?e:t},le=e=>{let t=_(e)?Number(e):NaN;return isNaN(t)?e:t},ue,de=()=>ue||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function fe(e){if(f(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=_(r)?he(r):fe(r);if(i)for(let e in i)t[e]=i[e]}return t}if(_(e)||y(e))return e}var pe=/;(?![^(]*\))/g,me=/:([^]+)/,k=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function he(e){let t={};return e.replace(k,e=>e.startsWith(`/*`)?``:e).split(pe).forEach(e=>{if(e){let n=e.split(me);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ge(e){let t=``;if(_(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){let r=ge(e[n]);r&&(t+=r+` `)}else if(y(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var _e=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,ve=t(_e);_e+``;function ye(e){return!!e||e===``}function be(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=we(e[i],t[i],n);return r}function xe(e,t,n){if(e.size!==t.size)return!1;let r=Array.from(t),i=new Uint8Array(r.length);for(let t of e){let e=-1;for(let a=0;a<r.length;a++)if(!i[a]&&we(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function Se(e,t,n){let r=p(e),i=p(t);if(r||i||(r=m(e),i=m(t),r||i))return r&&i?xe(e,t,n):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let i=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(i&&!a||!i&&a||!we(e[r],t[r],n))return!1}return String(e)===String(t)}function Ce(e,t,n,r){n||=[new Map,new Map];let[i,a]=n;if(i.has(e)||a.has(t))return i.get(e)===t&&a.get(t)===e;i.set(e,t),a.set(t,e);let o=r(e,t,n);return i.delete(e),a.delete(t),o}function we(e,t,n){if(e===t)return!0;let r=h(e),i=h(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=v(e),i=v(t),r||i?e===t:(r=f(e),i=f(t),r||i?r&&i?Ce(e,t,n,be):!1:(r=y(e),i=y(t),r||i?!r||!i?!1:Ce(e,t,n,Se):String(e)===String(t))))}var Te=e=>!!(e&&e.__v_isRef===!0),A=e=>_(e)?e:e==null?``:f(e)||y(e)&&(e.toString===x||!g(e.toString))?Te(e)?A(e.value):JSON.stringify(e,Ee,2):String(e),Ee=(e,t)=>Te(t)?Ee(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[De(t,r)+` =>`]=n,e),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>De(e))}:v(t)?De(t):y(t)&&!f(t)&&!w(t)?String(t):t,De=(e,t=``)=>v(e)?`Symbol(${e.description??t})`:e,j,Oe=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&j&&(j.active?(this.parent=j,this.index=(j.scopes||(j.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=j;try{return j=this,e()}finally{j=t}}}on(){++this._on===1&&(this.prevScope=j,j=this)}off(){if(this._on>0&&--this._on===0){if(j===this)j=this.prevScope;else{let e=j;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function ke(){return j}var M,Ae=new WeakSet,je=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,j&&(j.active?j.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ae.has(this)&&(Ae.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Fe(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,qe(this),Re(this);let e=M,t=N;M=this,N=!0;try{return this.fn()}finally{ze(this),M=e,N=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)He(e);this.deps=this.depsTail=void 0,qe(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ae.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Be(this)&&this.run()}get dirty(){return Be(this)}},Me=0,Ne,Pe;function Fe(e,t=!1){if(e.flags|=8,t){e.next=Pe,Pe=e;return}e.next=Ne,Ne=e}function Ie(){Me++}function Le(){if(--Me>0)return;if(Pe){let e=Pe;for(Pe=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ne;){let t=Ne;for(Ne=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Re(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ze(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),He(r),Ue(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Be(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ve(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ve(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Je)||(e.globalVersion=Je,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Be(e))))return;e.flags|=2;let t=e.dep,n=M,r=N;M=e,N=!0;try{Re(e);let n=e.fn(e._value);(t.version===0||O(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{M=n,N=r,ze(e),e.flags&=-3}}function He(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)He(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ue(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var N=!0,We=[];function Ge(){We.push(N),N=!1}function Ke(){let e=We.pop();N=e===void 0||e}function qe(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=M;M=void 0;try{t()}finally{M=e}}}var Je=0,Ye=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Xe=class{constructor(e){this.computed=e,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(e){if(!M||!N||M===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==M)t=this.activeLink=new Ye(M,this),M.deps?(t.prevDep=M.depsTail,M.depsTail.nextDep=t,M.depsTail=t):M.deps=M.depsTail=t,Ze(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=M.depsTail,t.nextDep=void 0,M.depsTail.nextDep=t,M.depsTail=t,M.deps===t&&(M.deps=e)}return t}trigger(e){this.version++,Je++,this.notify(e)}notify(e){Ie();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Le()}}};function Ze(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Ze(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var Qe=new WeakMap,$e=Symbol(``),et=Symbol(``),tt=Symbol(``);function P(e,t,n){if(N&&M){let t=Qe.get(e);t||Qe.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Xe),r.map=t,r.key=n),r.track()}}function nt(e,t,n,r,i,a){let o=Qe.get(e);if(!o){Je++;return}let s=e=>{e&&e.trigger()};if(Ie(),t===`clear`)o.forEach(s);else{let i=f(e),a=i&&ee(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===tt||!v(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(tt)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get($e)),p(e)&&s(o.get(et)));break;case`delete`:i||(s(o.get($e)),p(e)&&s(o.get(et)));break;case`set`:p(e)&&s(o.get($e))}}Le()}function rt(e){let t=R(e);return t===e||(P(t,`iterate`,tt),L(e))?t:I(e)?zt(e)?t.map(e=>Ht(z(e))):t.map(Ht):t.map(z)}function it(e){return P(e=R(e),`iterate`,tt),e}function F(e,t){return I(e)?Ht(zt(e)?z(t):t):z(t)}var at={__proto__:null,[Symbol.iterator](){return ot(this,Symbol.iterator,e=>F(this,e))},concat(...e){return rt(this).concat(...e.map(e=>f(e)?rt(e):e))},entries(){return ot(this,`entries`,e=>(e[1]=F(this,e[1]),e))},every(e,t){return ct(this,`every`,e,t,void 0,arguments)},filter(e,t){return ct(this,`filter`,e,t,e=>e.map(e=>F(this,e)),arguments)},find(e,t){return ct(this,`find`,e,t,e=>F(this,e),arguments)},findIndex(e,t){return ct(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return ct(this,`findLast`,e,t,e=>F(this,e),arguments)},findLastIndex(e,t){return ct(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return ct(this,`forEach`,e,t,void 0,arguments)},includes(...e){return ut(this,`includes`,e)},indexOf(...e){return ut(this,`indexOf`,e)},join(e){return rt(this).join(e)},lastIndexOf(...e){return ut(this,`lastIndexOf`,e)},map(e,t){return ct(this,`map`,e,t,void 0,arguments)},pop(){return dt(this,`pop`)},push(...e){return dt(this,`push`,e)},reduce(e,...t){return lt(this,`reduce`,e,t)},reduceRight(e,...t){return lt(this,`reduceRight`,e,t)},shift(){return dt(this,`shift`)},some(e,t){return ct(this,`some`,e,t,void 0,arguments)},splice(...e){return dt(this,`splice`,e)},toReversed(){return rt(this).toReversed()},toSorted(e){return rt(this).toSorted(e)},toSpliced(...e){return rt(this).toSpliced(...e)},unshift(...e){return dt(this,`unshift`,e)},values(){return ot(this,`values`,e=>F(this,e))}};function ot(e,t,n){let r=it(e),i=r[t]();return r!==e&&!L(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var st=Array.prototype;function ct(e,t,n,r,i,a){let o=it(e),s=o!==e&&!L(e),c=o[t];if(c!==st[t]){let t=c.apply(e,a);return s?z(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,F(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function lt(e,t,n,r){let i=it(e),a=i!==e&&!L(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=F(e,t)),n.call(this,t,F(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?F(e,c):c}function ut(e,t,n){let r=R(e);P(r,`iterate`,tt);let i=r[t](...n);return(i===-1||i===!1)&&Bt(n[0])?(n[0]=R(n[0]),r[t](...n)):i}function dt(e,t,n=[]){Ge(),Ie();let r=R(e)[t].apply(e,n);return Le(),Ke(),r}var ft=t(`__proto__,__v_isRef,__isVue`),pt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(v));function mt(e){v(e)||(e=String(e));let t=R(this);return P(t,`has`,e),t.hasOwnProperty(e)}var ht=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Nt:Mt:i?jt:At).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=f(e);if(!r){let e;if(a&&(e=at[t]))return e;if(t===`hasOwnProperty`)return mt}let o=Reflect.get(e,t,B(e)?e:n);if((v(t)?pt.has(t):ft(t))||(r||P(e,`get`,t),i))return o;if(B(o)){let e=a&&ee(t)?o:o.value;return r&&y(e)?Lt(e):e}return y(o)?r?Lt(o):Ft(o):o}},gt=class extends ht{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=f(e)&&ee(t);if(!this._isShallow){let e=I(i);if(!L(n)&&!I(n)&&(i=R(i),n=R(n)),!a&&B(i)&&!B(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:d(e,t),s=Reflect.set(e,t,n,B(e)?e:r);return e===R(r)&&s&&(o?O(n,i)&&nt(e,`set`,t,n,i):nt(e,`add`,t,n)),s}deleteProperty(e,t){let n=d(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&nt(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!v(t)||!pt.has(t))&&P(e,`has`,t),n}ownKeys(e){return P(e,`iterate`,f(e)?`length`:$e),Reflect.ownKeys(e)}},_t=class extends ht{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},vt=new gt,yt=new _t,bt=new gt(!0),xt=e=>e,St=e=>Reflect.getPrototypeOf(e);function Ct(e,t,n){return function(...r){let i=this.__v_raw,a=R(i),o=p(a),s=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?xt:t?Ht:z;return!t&&P(a,`iterate`,l?et:$e),c(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:s?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function wt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Tt(e,t){let n={get(n){let r=this.__v_raw,i=R(r),a=R(n);e||(O(n,a)&&P(i,`get`,n),P(i,`get`,a));let{has:o}=St(i),s=t?xt:e?Ht:z;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&P(R(t),`iterate`,$e),t.size},has(t){let n=this.__v_raw,r=R(n),i=R(t);return e||(O(t,i)&&P(r,`has`,t),P(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=R(a),s=t?xt:e?Ht:z;return!e&&P(o,`iterate`,$e),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return c(n,e?{add:wt(`add`),set:wt(`set`),delete:wt(`delete`),clear:wt(`clear`)}:{add(e){let n=R(this),r=St(n),i=R(e),a=!t&&!L(e)&&!I(e)?i:e;return r.has.call(n,a)||O(e,a)&&r.has.call(n,e)||O(i,a)&&r.has.call(n,i)||(n.add(a),nt(n,`add`,a,a)),this},set(e,n){!t&&!L(n)&&!I(n)&&(n=R(n));let r=R(this),{has:i,get:a}=St(r),o=i.call(r,e);o||=(e=R(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?O(n,s)&&nt(r,`set`,e,n,s):nt(r,`add`,e,n),this},delete(e){let t=R(this),{has:n,get:r}=St(t),i=n.call(t,e);i||=(e=R(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&nt(t,`delete`,e,void 0,a),o},clear(){let e=R(this),t=e.size!==0,n=e.clear();return t&&nt(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Ct(r,e,t)}),n}function Et(e,t){let n=Tt(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(d(n,r)&&r in t?n:t,r,i)}var Dt={get:Et(!1,!1)},Ot={get:Et(!1,!0)},kt={get:Et(!0,!1)},At=new WeakMap,jt=new WeakMap,Mt=new WeakMap,Nt=new WeakMap;function Pt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Ft(e){return I(e)?e:Rt(e,!1,vt,Dt,At)}function It(e){return Rt(e,!1,bt,Ot,jt)}function Lt(e){return Rt(e,!0,yt,kt,Mt)}function Rt(e,t,n,r,i){if(!y(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Pt(C(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function zt(e){return I(e)?zt(e.__v_raw):!!(e&&e.__v_isReactive)}function I(e){return!!(e&&e.__v_isReadonly)}function L(e){return!!(e&&e.__v_isShallow)}function Bt(e){return e?!!e.__v_raw:!1}function R(e){let t=e&&e.__v_raw;return t?R(t):e}function Vt(e){return!d(e,`__v_skip`)&&Object.isExtensible(e)&&se(e,`__v_skip`,!0),e}var z=e=>y(e)?Ft(e):e,Ht=e=>y(e)?Lt(e):e;function B(e){return e?e.__v_isRef===!0:!1}function Ut(e){return Gt(e,!1)}function Wt(e){return Gt(e,!0)}function Gt(e,t){return B(e)?e:new Kt(e,t)}var Kt=class{constructor(e,t){this.dep=new Xe,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:R(e),this._value=t?e:z(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||L(e)||I(e);e=n?e:R(e),O(e,t)&&(this._rawValue=e,this._value=n?e:z(e),this.dep.trigger())}};function V(e){return B(e)?e.value:e}var qt={get:(e,t,n)=>t===`__v_raw`?e:V(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return B(i)&&!B(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Jt(e){return zt(e)?e:new Proxy(e,qt)}var Yt=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Xe(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Je-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&M!==this)return Fe(this,!0),!0}get value(){let e=this.dep.track();return Ve(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function Xt(e,t,n=!1){let r,i;return g(e)?r=e:(r=e.get,i=e.set),new Yt(r,i,n)}var Zt={},Qt=new WeakMap,$t=void 0;function en(e,t=!1,n=$t){if(n){let t=Qt.get(n);t||Qt.set(n,t=[]),t.push(e)}}function tn(e,t,r=n){let{immediate:a,deep:o,once:s,scheduler:c,augmentJob:u,call:d}=r,p=e=>o?e:L(e)||o===!1||o===0?nn(e,1):nn(e),m,h,_,v,y=!1,b=!1;if(B(e)?(h=()=>e.value,y=L(e)):zt(e)?(h=()=>p(e),y=!0):f(e)?(b=!0,y=e.some(e=>zt(e)||L(e)),h=()=>e.map(e=>{if(B(e))return e.value;if(zt(e))return p(e);if(g(e))return d?d(e,2):e()})):h=g(e)?t?d?()=>d(e,2):e:()=>{if(_){Ge();try{_()}finally{Ke()}}let t=$t;$t=m;try{return d?d(e,3,[v]):e(v)}finally{$t=t}}:i,t&&o){let e=h,t=o===!0?1/0:o;h=()=>nn(e(),t)}let x=ke(),S=()=>{m.stop(),x&&x.active&&l(x.effects,m)};if(s&&t){let e=t;t=(...t)=>{let n=e(...t);return S(),n}}let C=b?Array(e.length).fill(Zt):Zt,w=e=>{if(m.flags&1&&(m.dirty||e)){if(t){let n=m.run();if(e||o||y||(b?n.some((e,t)=>O(e,C[t])):O(n,C))){_&&_();let e=$t;$t=m;try{let e=[n,C===Zt?void 0:b&&C[0]===Zt?[]:C,v];C=n,d?d(t,3,e):t(...e)}finally{$t=e}}}else m.run()}};return u&&u(w),m=new je(h),m.scheduler=c?()=>c(w,!1):w,v=e=>en(e,!1,m),_=m.onStop=()=>{let e=Qt.get(m);if(e){if(d)d(e,4);else for(let t of e)t();Qt.delete(m)}},t?a?w(!0):C=m.run():c?c(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function nn(e,t=1/0,n){if(t<=0||!y(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,B(e))nn(e.value,t,n);else if(f(e))for(let r=0;r<e.length;r++)nn(e[r],t,n);else if(m(e)||p(e))e.forEach(e=>{nn(e,t,n)});else if(w(e)){for(let r in e)nn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&nn(e[r],t,n)}return e}function rn(e,t,n,r){try{return r?e(...r):e()}catch(e){an(e,t,n)}}function H(e,t,n,r){if(g(e)){let i=rn(e,t,n,r);return i&&b(i)&&i.catch(e=>{an(e,t,n)}),i}if(f(e)){let i=[];for(let a=0;a<e.length;a++)i.push(H(e[a],t,n,r));return i}}function an(e,t,r,i=!0){let a=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||n;if(t){let n=t.parent,i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;n;){let t=n.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,a)===!1)return}n=n.parent}if(o){Ge(),rn(o,null,10,[e,i,a]),Ke();return}}on(e,r,a,i,s)}function on(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var U=[],W=-1,sn=[],cn=null,ln=0,un=Promise.resolve(),dn=null;function fn(e){let t=dn||un;return e?t.then(this?e.bind(this):e):t}function pn(e){let t=W+1,n=U.length;for(;t<n;){let r=t+n>>>1,i=U[r],a=yn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function mn(e){if(!(e.flags&1)){let t=yn(e),n=U[U.length-1];!n||!(e.flags&2)&&t>=yn(n)?U.push(e):U.splice(pn(t),0,e),e.flags|=1,hn()}}function hn(){dn||=un.then(bn)}function gn(e){if(!f(e))cn&&e.id===-1?cn.splice(ln+1,0,e):e.flags&1||(sn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)sn.push(e[t]);hn()}function _n(e,t,n=W+1){for(;n<U.length;n++){let t=U[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;U.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function vn(e){if(sn.length){let e=[...new Set(sn)].sort((e,t)=>yn(e)-yn(t));if(sn.length=0,cn){for(let t=0;t<e.length;t++)cn.push(e[t]);return}for(cn=e,ln=0;ln<cn.length;ln++){let e=cn[ln];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}cn=null,ln=0}}var yn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function bn(e){try{for(W=0;W<U.length;W++){let e=U[W];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),rn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;W<U.length;W++){let e=U[W];e&&(e.flags&=-2)}W=-1,U.length=0,vn(e),dn=null,(U.length||sn.length)&&bn(e)}}var G=null,xn=null;function Sn(e){let t=G;return G=e,xn=e&&e.type.__scopeId||null,t}function Cn(e,t=G,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&ri(-1);let i=Sn(t),a=$r.length,o;try{o=e(...n)}finally{for(let e=$r.length;e>a;e--)ti();Sn(i),r._d&&ri(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function wn(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(Ge(),H(c,n,8,[e.el,s,e,t]),Ke())}}function Tn(e,t,n=!1){let r=Ci();if(r||lr){let i=lr?lr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&g(t)?t.call(r&&r.proxy):t}}var En=Symbol.for(`v-scx`),Dn=()=>Tn(En);function On(e,t){return An(e,null,t)}function kn(e,t,n){return An(e,t,n)}function An(e,t,r=n){let{immediate:a,deep:o,flush:s,once:l}=r,u=c({},r),d=t&&a||!t&&s!==`post`,f;if(ki){if(s===`sync`){let e=Dn();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=i,e.resume=i,e.pause=i,e}}let p=Si;u.call=(e,t,n)=>H(e,p,t,n);let m=!1;s===`post`?u.scheduler=e=>{K(e,p&&p.suspense)}:s!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():mn(e)}),u.augmentJob=e=>{t&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=tn(e,t,u);return ki&&(f?f.push(h):d&&h()),h}var jn=Symbol(`_vte`),Mn=e=>e.__isTeleport,Nn=Symbol(`_leaveCb`);function Pn(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==Zr){t=n;break}}return t}function Fn(e){if(!Gn(e))return Mn(e.type)&&e.children?Pn(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&g(n.default))return n.default()}}function In(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;In(Mn(n.type)&&Fn(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ln(e,t){return g(e)?c({name:e.name},t,{setup:e}):e}function Rn(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function zn(e){let t=Ci(),r=Wt(null);if(t){let i=t.refs===n?t.refs={}:t.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>r.value,set:e=>r.value=e})}return r}function Bn(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var Vn=new WeakMap;function Hn(e,t,r,i,o=!1){if(f(e)){e.forEach((e,n)=>Hn(e,t&&(f(t)?t[n]:t),r,i,o));return}if(Wn(i)&&!o){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Hn(e,t,r,i.component.subTree);return}let s=i.shapeFlag&4?Ri(i.component):i.el,c=o?null:s,{i:u,r:p}=e,m=t&&t.r,h=u.refs===n?u.refs={}:u.refs,v=u.setupState,y=R(v),b=v===n?a:e=>!Bn(h,e)&&d(y,e),x=(e,t)=>!(t&&Bn(h,t));if(m!=null&&m!==p){if(Un(t),_(m))h[m]=null,b(m)&&(v[m]=null);else if(B(m)){let e=t;x(m,e.k)&&(m.value=null),e.k&&(h[e.k]=null)}}if(g(p))rn(p,u,12,[c,h]);else{let t=_(p),n=B(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:h[p]:x(p)||!e.k?p.value:h[e.k];if(o)f(n)&&l(n,s);else if(f(n))n.includes(s)||n.push(s);else if(t)h[p]=[s],b(p)&&(v[p]=h[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(h[e.k]=t)}}else t?(h[p]=c,b(p)&&(v[p]=c)):n&&(x(p,e.k)&&(p.value=c),e.k&&(h[e.k]=c))};if(c){let t=()=>{i(),Vn.delete(e)};t.id=-1,Vn.set(e,t),K(t,r)}else Un(e),i()}}}function Un(e){let t=Vn.get(e);t&&(t.flags|=8,Vn.delete(e))}de().requestIdleCallback,de().cancelIdleCallback;var Wn=e=>!!e.type.__asyncLoader,Gn=e=>e.type.__isKeepAlive;function Kn(e,t,n=Si,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Ge();let i=Ei(n),a=H(t,n,e,r);return i(),Ke(),a};return r?i.unshift(a):i.push(a),a}}var qn=e=>(t,n=Si)=>{(!ki||e===`sp`)&&Kn(e,(...e)=>t(...e),n)},Jn=qn(`m`),Yn=qn(`bum`),Xn=Symbol.for(`v-ndc`);function Zn(e,t,n,r){let i,a=n&&n[r],o=f(e);if(o||_(e)){let n=o&&zt(e),r=!1,s=!1;n&&(r=!L(e),s=I(e),e=it(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Ht(z(e[n])):z(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(y(e)){if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}}else i=[];return n&&(n[r]=i),i}var Qn=e=>e?Oi(e)?Ri(e):Qn(e.parent):null,$n=c(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Qn(e.parent),$root:e=>Qn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>e.type,$forceUpdate:e=>e.f||=()=>{mn(e.update)},$nextTick:e=>e.n||=fn.bind(e.proxy),$watch:e=>i}),er=(e,t)=>e!==n&&!e.__isScriptSetup&&d(e,t),tr={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(t[0]!==`$`){let e=s[t];if(e!==void 0)switch(e){case 1:return i[t];case 2:return a[t];case 4:return r[t];case 3:return o[t]}else if(er(i,t))return s[t]=1,i[t];else if(d(o,t))return s[t]=3,o[t];else if(r!==n&&d(r,t))return s[t]=4,r[t];else s[t]=0}let u=$n[t],f,p;if(u)return t===`$attrs`&&P(e.attrs,`get`,``),u(e);if((f=c.__cssModules)&&(f=f[t]))return f;if(r!==n&&d(r,t))return s[t]=4,r[t];if(p=l.config.globalProperties,d(p,t))return p[t]},set({_:e},t,n){let{data:r,setupState:i,ctx:a}=e;return er(i,t)?(i[t]=n,!0):d(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:a,type:o}},s){let c;return!!(n[s]||er(t,s)||d(a,s)||d(r,s)||d($n,s)||d(i.config.globalProperties,s)||(c=o.__cssModules)&&c[s])},defineProperty(e,t,n){return n.get==null?d(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function nr(){return rr(`useAttrs`).attrs}function rr(e){let t=Ci();return t.setupContext||=Li(t)}function ir(e){return f(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function ar(e,t){let n=ir(e);for(let e in t){if(e.startsWith(`__skip`))continue;let r=n[e];r?f(r)||g(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:r===null&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function or(){return{app:null,config:{isNativeTag:a,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}}var sr=0;function cr(e,t){return function(n,r=null){g(n)||(n=c({},n)),r!=null&&!y(r)&&(r=null);let i=or(),a=new WeakSet,o=[],s=!1,l=i.app={_uid:sr++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Bi,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&g(e.install)?(a.add(e),e.install(l,...t)):g(e)&&(a.add(e),e(l,...t))),l},mixin(e){return l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,c){if(!s){let u=l._ceVNode||X(n,r);return u.appContext=i,c===!0?c=`svg`:c===!1&&(c=void 0),o&&t?t(u,a):e(u,a,c),s=!0,l._container=a,a.__vue_app__=l,Ri(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(H(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=lr;lr=l;try{return e()}finally{lr=t}}};return l}}var lr=null,ur=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${E(t)}Modifiers`]||e[`${D(t)}Modifiers`];function dr(e,t,...r){if(e.isUnmounted)return;let i=e.vnode.props||n,a=r,o=t.startsWith(`update:`),s=o&&ur(i,t.slice(7));s&&(s.trim&&(a=r.map(e=>_(e)?e.trim():e)),s.number&&(a=a.map(ce)));let c,l=i[c=ae(t)]||i[c=ae(E(t))];!l&&o&&(l=i[c=ae(D(t))]),l&&H(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,H(u,e,6,a)}}function fr(e,t,n=!1){let r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={};return a?(f(a)?a.forEach(e=>o[e]=null):c(o,a),y(e)&&r.set(e,o),o):(y(e)&&r.set(e,null),null)}function pr(e,t){return!e||!o(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),d(e,t[0].toLowerCase()+t.slice(1))||d(e,D(t))||d(e,t))}function mr(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Sn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Z(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=Z(e.length>1?e(f,{attrs:c,slots:o,emit:l}):e(f,null)),y=t.props?c:hr(c)}}catch(t){$r.length=0,an(t,e,1),v=X(Zr)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(s)&&(y=gr(y,a)),b=pi(b,y,!1,!0))}return n.dirs&&(b=pi(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&In(Mn(b.type)&&Fn(b)||b,n.transition),v=b,Sn(_),v}var hr=e=>{let t;for(let n in e)(n===`class`||n===`style`||o(n))&&((t||={})[n]=e[n]);return t},gr=(e,t)=>{let n={};for(let r in e)(!s(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function _r(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?vr(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(yr(o,r,n)&&!pr(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||vr(r,o,l):!!o;return!1}function vr(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(yr(t,e,a)&&!pr(n,a))return!0}return!1}function yr(e,t,n){let r=e[n],i=t[n];return n===`style`&&y(r)&&y(i)?!we(r,i):r!==i}function br({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var xr={},Sr=()=>Object.create(xr),Cr=e=>Object.getPrototypeOf(e)===xr;function wr(e,t,n,r=!1){let i={},a=Sr();e.propsDefaults=Object.create(null),Er(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:It(i):e.type.props?i:a,e.attrs=a}function Tr(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=R(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(pr(e.emitsOptions,o))continue;let u=t[o];if(c){if(d(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=E(o);i[t]=Dr(c,s,t,u,e,!1)}}else u!==a[o]&&(a[o]=u,l=!0)}}}else{Er(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!d(t,a)&&((r=D(a))===a||!d(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Dr(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!d(t,e))&&(delete a[e],l=!0)}l&&nt(e.attrs,`set`,``)}function Er(e,t,r,i){let[a,o]=e.propsOptions,s=!1,c;if(t)for(let n in t){if(te(n))continue;let l=t[n],u;a&&d(a,u=E(n))?!o||!o.includes(u)?r[u]=l:(c||={})[u]=l:pr(e.emitsOptions,n)||(!(n in i)||l!==i[n])&&(i[n]=l,s=!0)}if(o){let t=R(r),i=c||n;for(let n=0;n<o.length;n++){let s=o[n];r[s]=Dr(a,t,s,i[s],e,!d(i,s))}}return s}function Dr(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=d(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&g(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Ei(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===D(n))&&(r=!0))}return r}function Or(e,t,i=!1){let a=t.propsCache,o=a.get(e);if(o)return o;let s=e.props,l={},u=[];if(!s)return y(e)&&a.set(e,r),r;if(f(s))for(let e=0;e<s.length;e++){let t=E(s[e]);kr(t)&&(l[t]=n)}else if(s)for(let e in s){let t=E(e);if(kr(t)){let n=s[e],r=l[t]=f(n)||g(n)?{type:n}:c({},n),i=r.type,a=!1,o=!0;if(f(i))for(let e=0;e<i.length;++e){let t=i[e],n=g(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=g(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||d(r,`default`))&&u.push(t)}}let p=[l,u];return y(e)&&a.set(e,p),p}function kr(e){return e[0]!==`$`&&!te(e)}var Ar=e=>e===`_`||e===`_ctx`||e===`$stable`,jr=e=>f(e)?e.map(Z):[Z(e)],Mr=(e,t,n)=>{if(t._n)return t;let r=Cn((...e)=>jr(t(...e)),n);return r._c=!1,r},Nr=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Ar(n))continue;let i=e[n];if(g(i))t[n]=Mr(n,i,r);else if(i!=null){let e=jr(i);t[n]=()=>e}}},Pr=(e,t)=>{let n=jr(t);e.slots.default=()=>n},Fr=(e,t,n)=>{for(let r in t)(n||!Ar(r))&&(e[r]=t[r])},Ir=(e,t,n)=>{let r=e.slots=Sr();if(e.vnode.shapeFlag&32){let e=t._;e?(Fr(r,t,n),n&&se(r,`_`,e,!0)):Nr(t,r)}else t&&Pr(e,t)},Lr=(e,t,r)=>{let{vnode:i,slots:a}=e,o=!0,s=n;if(i.shapeFlag&32){let e=t._;e?r&&e===1?o=!1:Fr(a,t,r):(o=!t.$stable,Nr(t,a)),s=t}else t&&(Pr(e,t),s={default:1});if(o)for(let e in a)!Ar(e)&&s[e]==null&&delete a[e]},K=Yr;function Rr(e){return zr(e)}function zr(e,t){let a=de();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=i,insertStaticContent:_}=e,v=(e,t,n,i=null,a=null,o=null,s=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!ci(e,t)&&(i=ye(e),k(e,a,o,!0),e=null),t.patchFlag===-2&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===r&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case Xr:y(e,t,n,i);break;case Zr:b(e,t,n,i);break;case Qr:e??x(t,n,i,s);break;case q:ie(e,t,n,i,a,o,s,c,l);break;default:f&1?w(e,t,n,i,a,o,s,c,l):f&6?ae(e,t,n,i,a,o,s,c,l):(f&64||f&128)&&u.process(e,t,n,i,a,o,s,c,l,Se)}d!=null&&a?Hn(d,e&&e.ref,o,t||e,!t):d==null&&e&&e.ref!=null&&Hn(e.ref,null,o,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)ee(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),E(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},ee=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&ne(e.children,d,null,r,i,Br(e,a),s,u),_&&wn(e,null,r,`created`),T(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!te(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Q(f,r,e)}_&&wn(e,null,r,`beforeMount`);let v=Hr(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&K(()=>{try{f&&Q(f,r,e),v&&g.enter(d),_&&wn(e,null,r,`mounted`)}finally{}},i)},T=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||Jr(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;T(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},ne=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?gi(e[l]):Z(e[l]);v(null,c,t,n,r,i,a,o,s)}},E=(e,t,r,i,a,o,s)=>{let l=t.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=e.patchFlag&16;let m=e.props||n,h=t.props||n,g;if(r&&Vr(r,!1),(g=h.onVnodeBeforeUpdate)&&Q(g,r,t,e),f&&wn(t,e,r,`beforeUpdate`),r&&Vr(r,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?re(e.dynamicChildren,d,l,r,i,Br(t,a),o):s||ue(e,t,l,null,r,i,Br(t,a),o,!1),u>0){if(u&16)D(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==t.children&&p(l,t.children)}else!s&&d==null&&D(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&K(()=>{g&&Q(g,r,t,e),f&&wn(t,e,r,`updated`)},i)},re=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el&&(c.type===q||!ci(c,l)||c.shapeFlag&198)?m(c.el):n;v(c,l,u,null,r,i,a,o,!0)}},D=(e,t,r,i,a)=>{if(t!==r){if(t!==n)for(let n in t)!te(n)&&!(n in r)&&c(e,n,t[n],null,a,i);for(let n in r){if(te(n))continue;let o=r[n],s=t[n];o!==s&&n!==`value`&&c(e,n,s,o,a,i)}`value`in r&&c(e,`value`,t.value,r.value,a)}},ie=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),ne(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(re(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&Ur(e,t,!0)):ue(e,t,n,f,i,a,s,c,l)},ae=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):O(t,n,r,i,a,o,c):se(e,t,c)},O=(e,t,n,r,i,a,o)=>{let s=e.component=xi(e,r,i);if(Gn(e)&&(s.ctx.renderer=Se),Ai(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,ce,o),!e.el){let r=s.subTree=X(Zr);b(null,r,t,n),e.placeholder=r.el}}else ce(s,e,t,n,i,a,o)},se=(e,t,n)=>{let r=t.component=e.component;if(_r(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,le(r,t,n);return}r.next=t,r.update()}else t.el=e.el,r.vnode=t},ce=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=Gr(e);if(n){t&&(t.el=c.el,le(e,t,o)),n.asyncDep.then(()=>{K(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;Vr(e,!1),t?(t.el=c.el,le(e,t,o)):t=c,n&&oe(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Q(d,s,t,c),Vr(e,!0);let f=mr(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),ye(p),e,i,a),t.el=f.el,u===null&&br(e,f.el),r&&K(r,i),(d=t.props&&t.props.onVnodeUpdated)&&K(()=>Q(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Wn(t);if(Vr(e,!1),l&&oe(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Q(o,d,t),Vr(e,!0),s&&we){let t=()=>{e.subTree=mr(e),we(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=mr(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&K(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;K(()=>Q(o,d,e),i)}(t.shapeFlag&256||d&&Wn(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&K(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new je(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>mn(u),Vr(e,!0),l()},le=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Tr(e,t.props,r,n),Lr(e,t.children,n),Ge(),_n(e),Ke()},ue=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){pe(l,d,n,r,i,a,o,s,c);return}if(f&256){fe(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ve(l,i,a),d!==l&&p(n,d)):u&16?m&16?pe(l,d,n,r,i,a,o,s,c):ve(l,i,a,!0):(u&8&&p(n,``),m&16&&ne(d,n,r,i,a,o,s,c))},fe=(e,t,n,i,a,o,s,c,l)=>{e||=r,t||=r;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let r=t[p]=l?gi(t[p]):Z(t[p]);v(e[p],r,n,null,a,o,s,c,l)}u>d?ve(e,a,o,!0,!1,f):ne(t,n,i,a,o,s,c,l,f)},pe=(e,t,n,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let r=e[u],i=t[u]=l?gi(t[u]):Z(t[u]);if(ci(r,i))v(r,i,n,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let r=e[f],i=t[p]=l?gi(t[p]):Z(t[p]);if(ci(r,i))v(r,i,n,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,r=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?gi(t[u]):Z(t[u]),n,r,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)k(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?gi(t[u]):Z(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let r=e[u];if(y>=b){k(r,a,o,!0);continue}let i;if(r.key!=null)i=g.get(r.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&ci(r,t[_])){i=_;break}i===void 0?k(r,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(r,t[i],n,null,a,o,s,c,l),y++)}let w=x?Wr(C):r;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,r=t[e],f=t[e+1],p=e+1<d?f.el||qr(f):i;C[u]===0?v(null,r,n,p,a,o,s,c,l):x&&(_<0||u!==w[_]?me(r,n,p,2):_--)}}},me=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){me(e.component.subTree,t,n,r);return}if(d&128){e.suspense.move(t,n,r);return}if(d&64){c.move(e,t,n,Se);return}if(c===q){o(a,t,n);for(let e=0;e<u.length;e++)me(u[e],t,n,r);o(e.anchor,t,n);return}if(c===Qr){S(e,t,n);return}if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[Nn]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),K(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[Nn];a._isLeaving&&a[Nn](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}}else o(a,t,n)},k=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if((d===-2||l&&l.hasOnce)&&(i=!1),s!=null&&(Ge(),Hn(s,null,n,e,!0),Ke()),p!=null&&(!e.ctx||e.ctx===t)&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!Wn(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Q(_,t,e),u&6)_e(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&wn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,Se,r):l&&!l.hasOnce&&(a!==q||d>0&&d&64)?ve(l,t,n,!1,!0):(a===q&&d&384||!i&&u&16)&&ve(c,t,n),r&&he(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&K(()=>{_&&Q(_,t,e),h&&wn(e,null,t,`unmounted`),v&&(e.el=null)},n)},he=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===q){ge(n,r);return}if(t===Qr){C(e),i&&!i.persisted&&i.afterLeave&&i.afterLeave();return}let a=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(e.shapeFlag&1&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},ge=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},_e=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;Kr(c),Kr(l),r&&oe(r),i.stop(),a?(a.flags|=8,k(o,e,t,n)):e.vnode.el&&o&&(o.transition=e.vnode.transition,k(o,e,t,n)),s&&K(s,t),K(()=>{e.isUnmounted=!0},t)},ve=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)k(e[o],t,n,r,i)},ye=e=>{if(e.shapeFlag&6)return ye(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[jn];return n?h(n):t},be=!1,xe=(e,t,n)=>{let r;e==null?t._vnode&&(k(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,be||=(be=!0,_n(r),vn(),!1)},Se={p:v,um:k,m:me,r:he,mt:O,mc:ne,pc:ue,pbc:re,n:ye,o:e},Ce,we;return t&&([Ce,we]=t(Se)),{render:xe,hydrate:Ce,createApp:cr(xe,Ce)}}function Br({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function Vr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Hr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ur(e,t,n=!1){let r=e.children,i=t.children;if(f(r)&&f(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=gi(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Ur(t,a)),a.type===Xr&&(a.patchFlag===-1&&(a=i[e]=gi(a)),a.el=t.el),a.type===Zr&&!a.el&&(a.el=t.el)}}function Wr(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function Gr(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Gr(t)}function Kr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function qr(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?qr(t.subTree):null}var Jr=e=>e.__isSuspense;function Yr(e,t){t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):gn(e)}var q=Symbol.for(`v-fgt`),Xr=Symbol.for(`v-txt`),Zr=Symbol.for(`v-cmt`),Qr=Symbol.for(`v-stc`),$r=[],J=null;function ei(e=!1){$r.push(J=e?null:[])}function ti(){$r.pop(),J=$r[$r.length-1]||null}var ni=1;function ri(e,t=!1){ni+=e,e<0&&J&&t&&(J.hasOnce=!0)}function ii(e){return e.dynamicChildren=ni>0?J||r:null,ti(),ni>0&&J&&J.push(e),e}function ai(e,t,n,r,i,a){return ii(Y(e,t,n,r,i,a,!0))}function oi(e,t,n,r,i){return ii(X(e,t,n,r,i,!0))}function si(e){return e?e.__v_isVNode===!0:!1}function ci(e,t){return e.type===t.type&&e.key===t.key}var li=({key:e})=>e??null,ui=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:_(e)||B(e)||g(e)?{i:G,r:e,k:t,f:!!n}:e);function Y(e,t=null,n=null,r=0,i=null,a=e===q?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&li(t),ref:t&&ui(t),scopeId:xn,slotScopeIds:null,children:n,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:G};return s?(_i(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=_(n)?8:16),ni>0&&!o&&J&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&J.push(c),c}var X=di;function di(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Xn)&&(e=Zr),si(e)){let r=pi(e,t,!0);return n&&_i(r,n),ni>0&&!a&&J&&(r.shapeFlag&6?J[J.indexOf(e)]=r:J.push(r)),r.patchFlag=-2,r}if(zi(e)&&(e=e.__vccOpts),t){t=fi(t);let{class:e,style:n}=t;e&&!_(e)&&(t.class=ge(e)),y(n)&&(Bt(n)&&!f(n)&&(n=c({},n)),t.style=fe(n))}let o=_(e)?1:Jr(e)?128:Mn(e)?64:y(e)?4:g(e)?2:0;return Y(e,t,n,r,i,o,a,!0)}function fi(e){return e?Bt(e)||Cr(e)?c({},e):e:null}function pi(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?vi(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&li(l),ref:t&&t.ref?n&&a?f(a)?a.concat(ui(t)):[a,ui(t)]:ui(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==q?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&&pi(e.ssContent),ssFallback:e.ssFallback&&pi(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&In(u,c.clone(u)),u}function mi(e=` `,t=0){return X(Xr,null,e,t)}function hi(e=``,t=!1){return t?(ei(),oi(Zr,null,e)):X(Zr,null,e)}function Z(e){return e==null||typeof e==`boolean`?X(Zr):f(e)?X(q,null,e.slice()):si(e)?gi(e):X(Xr,null,String(e))}function gi(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:pi(e)}function _i(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(f(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),_i(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!Cr(t)?t._ctx=G:r===3&&G&&(G.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(g(t)){if(r&65){_i(e,{default:t});return}t={default:t,_ctx:G},n=32}else t=String(t),r&64?(n=16,t=[mi(t)]):n=8;e.children=t,e.shapeFlag|=n}function vi(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=ge([t.class,r.class]));else if(e===`style`)t.style=fe([t.style,r.style]);else if(o(e)){let n=t[e],i=r[e];i&&n!==i&&!(f(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!s(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Q(e,t,n,r=null){H(e,t,7,[n,r])}var yi=or(),bi=0;function xi(e,t,r){let i=e.type,a=(t?t.appContext:e.appContext)||yi,o={uid:bi++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Oe(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Or(i,a),emitsOptions:fr(i,a),emit:null,emitted:null,propsDefaults:n,inheritAttrs:i.inheritAttrs,ctx:n,data:n,props:n,attrs:n,slots:n,refs:n,setupState:n,setupContext:null,suspense:r,suspenseId:r?r.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 o.ctx={_:o},o.root=t?t.root:o,o.emit=dr.bind(null,o),e.ce&&e.ce(o),o}var Si=null,Ci=()=>Si||G,wi,Ti;{let e=de(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};wi=t(`__VUE_INSTANCE_SETTERS__`,e=>Si=e),Ti=t(`__VUE_SSR_SETTERS__`,e=>ki=e)}var Ei=e=>{let t=Si;return wi(e),e.scope.on(),()=>{e.scope.off(),wi(t)}},Di=()=>{Si&&Si.scope.off(),wi(null)};function Oi(e){return e.vnode.shapeFlag&4}var ki=!1;function Ai(e,t=!1,n=!1){t&&Ti(t);let{props:r,children:i}=e.vnode,a=Oi(e);wr(e,r,a,t),Ir(e,i,n||t);let o=a?ji(e,t):void 0;return t&&Ti(!1),o}function ji(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,tr);let{setup:r}=n;if(r){Ge();let n=e.setupContext=r.length>1?Li(e):null,i=Ei(e),a=rn(r,e,0,[e.props,n]),o=b(a);if(Ke(),i(),(o||e.sp)&&!Wn(e)&&Rn(e),o){if(a.then(Di,Di),t)return a.then(n=>{Ti(!0);try{Mi(e,n,t)}finally{Ti(!1)}}).catch(t=>{an(t,e,0)});e.asyncDep=a}else Mi(e,a,t)}else Fi(e,t)}function Mi(e,t,n){g(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:y(t)&&(e.setupState=Jt(t)),Fi(e,n)}var Ni,Pi;function Fi(e,t,n){let r=e.type;if(!e.render){if(!t&&Ni&&!r.render){let t=r.template||!1;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r;r.render=Ni(t,c(c({isCustomElement:n,delimiters:a},i),o))}}e.render=r.render||i,Pi&&Pi(e)}}var Ii={get(e,t){return P(e,`get`,``),e[t]}};function Li(e){return{attrs:new Proxy(e.attrs,Ii),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Ri(e){return e.exposed?e.exposeProxy||=new Proxy(Jt(Vt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $n)return $n[n](e)},has(e,t){return t in e||t in $n}}):e.proxy}function zi(e){return g(e)&&`__vccOpts`in e}var $=(e,t)=>Xt(e,t,ki),Bi=`3.5.43`,Vi=void 0,Hi=typeof window<`u`&&window.trustedTypes;if(Hi)try{Vi=Hi.createPolicy(`vue`,{createHTML:e=>e})}catch{}var Ui=Vi?e=>Vi.createHTML(e):e=>e,Wi=`http://www.w3.org/2000/svg`,Gi=`http://www.w3.org/1998/Math/MathML`,Ki=typeof document<`u`?document:null,qi=Ki&&Ki.createElement(`template`),Ji={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?Ki.createElementNS(Wi,e):t===`mathml`?Ki.createElementNS(Gi,e):n?Ki.createElement(e,{is:n}):Ki.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>Ki.createTextNode(e),createComment:e=>Ki.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ki.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{qi.innerHTML=Ui(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=qi.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Yi=Symbol(`_vtc`);function Xi(e,t,n){let r=e[Yi];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Zi=Symbol(`_vod`),Qi=Symbol(`_vsh`),$i=Symbol(``),ea=/(?:^|;)\s*display\s*:/;function ta(e,t,n){let r=e.style,i=_(n),a=!1;if(n&&!i){if(t){if(_(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??ra(r,t,``)}else for(let e in t)n[e]??ra(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?ra(r,i,``):sa(e,i,!_(t)&&t?t[i]:void 0,o)||ra(r,i,o)}}else if(i){if(t!==n){let e=r[$i];e&&(n+=`;`+e),r.cssText=n,a=ea.test(n)}}else t&&e.removeAttribute(`style`);Zi in e&&(e[Zi]=a?r.display:``,e[Qi]&&(r.display=`none`))}var na=/\s*!important$/;function ra(e,t,n){if(f(n))n.forEach(n=>ra(e,t,n));else if(n??=``,t.startsWith(`--`))na.test(n)?e.setProperty(t,n.replace(na,``),`important`):e.setProperty(t,n);else{let r=oa(e,t);na.test(n)?e.setProperty(D(r),n.replace(na,``),`important`):e[r]=n}}var ia=[`Webkit`,`Moz`,`ms`],aa={};function oa(e,t){let n=aa[t];if(n)return n;let r=E(t);if(r!==`filter`&&r in e)return aa[t]=r;r=ie(r);for(let n=0;n<ia.length;n++){let i=ia[n]+r;if(i in e)return aa[t]=i}return t}function sa(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&_(r)&&n===r}var ca=`http://www.w3.org/1999/xlink`;function la(e,t,n,r,i,a=ve(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(ca,t.slice(6,t.length)):e.setAttributeNS(ca,t,n):n==null||a&&!ye(n)?e.removeAttribute(t):e.setAttribute(t,a?``:v(n)?String(n):n)}function ua(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?Ui(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=ye(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function da(e,t,n,r){e.addEventListener(t,n,r)}function fa(e,t,n,r){e.removeEventListener(t,n,r)}var pa=Symbol(`_vei`);function ma(e,t,n,r,i=null){let a=e[pa]||(e[pa]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=_a(t);r?da(e,n,a[t]=xa(r,i),s):o&&(fa(e,n,o,s),a[t]=void 0)}}var ha=/(Once|Passive|Capture)$/,ga=/^on:?(?:Once|Passive|Capture)$/;function _a(e){let t,n;for(;(n=e.match(ha))&&!ga.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):D(e.slice(2)),t]}var va=0,ya=Promise.resolve(),ba=()=>va||=(ya.then(()=>va=0),Date.now());function xa(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(f(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&H(e,t,5,a)}}else H(r,t,5,[e])};return n.value=e,n.attached=ba(),n}var Sa=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ca=(e,t,n,r,i,a)=>{let c=i===`svg`;t===`class`?Xi(e,r,c):t===`style`?ta(e,n,r):o(t)?s(t)||ma(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):wa(e,t,r,c))?(ua(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&la(e,t,r,c,a,t!==`value`)):e._isVueCE&&(Ta(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!_(r)))?ua(e,E(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),la(e,t,r,c))};function wa(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&Sa(t)&&g(n));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`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return Sa(t)&&_(n)?!1:t in e}function Ta(e,t){let n=e._def.props;if(!n)return!1;let r=E(t);return Array.isArray(n)?n.some(e=>E(e)===r):Object.keys(n).some(e=>E(e)===r)}var Ea={};function Da(e,t,n){let r=Ln(e,t);w(r)&&(r=c({},r,t));class i extends ka{constructor(e){super(r,e,n)}}return i.def=r,i}var Oa=typeof HTMLElement<`u`?HTMLElement:class{},ka=class e extends Oa{constructor(e,t={},n=Ra){super(),this._def=e,this._props=t,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!==Ra?this._root=this.shadowRoot:e.shadowRoot===!1?this._root=this:(this.attachShadow(c({},e.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t&&=t.assignedSlot||t.parentNode||t.host;)if(t instanceof e){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(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,fn(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(e){for(let t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});let e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;let{props:n,styles:r}=e,i;if(n&&!f(n))for(let e in n){let t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=le(this._props[e])),(i||=Object.create(null))[E(e)]=!0)}this._numberProps=i,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._mount(e)},t=this._def.__asyncLoader;if(t)return this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}),this._pendingResolve;e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let t=this._instance&&this._instance.exposed;if(t)for(let e in t)d(this,e)||Object.defineProperty(this,e,{get:()=>V(t[e])})}_resolveProps(e){let{props:t}=e,n=f(t)?t:Object.keys(t||{});for(let e of Object.keys(this))e[0]!==`_`&&n.includes(e)&&this._setProp(e,this[e]);for(let e of n.map(E))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith(`data-v-`))return;let t=this.hasAttribute(e),n=t?this.getAttribute(e):Ea,r=E(e);t&&this._numberProps&&this._numberProps[r]&&(n=le(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(this._dirty=!0,t===Ea?delete this._props[e]:(this._props[e]=t,e===`key`&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){let n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),t===!0?this.setAttribute(D(e),``):typeof t==`string`||typeof t==`number`?this.setAttribute(D(e),t+``):t||this.removeAttribute(D(e)),n&&n.observe(this,{attributes:!0})}}_update(){let e=this._createVNode();this._app&&(e.appContext=this._app._context),La(e,this._root)}_createVNode(){let e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));let t=X(this._def,c(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;let t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,w(t[0])?c({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),D(e)!==e&&t(D(e),n)},this._setParent()}),t}_applyStyles(e,t,n){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}let r=this._nonce,i=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i),o=null;for(let s=e.length-1;s>=0;s--){let c=document.createElement(`style`);r&&c.setAttribute(`nonce`,r),c.textContent=e[s],i.insertBefore(c,o||a),o=c,s===0&&(n||this._styleAnchors.set(this._def,c),t&&this._styleAnchors.set(t,c))}}_getStyleAnchor(e){if(!e)return null;let t=this._styleAnchors.get(e);return t&&t.parentNode===this.shadowRoot?t:(t&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){let e=this._slots={},t;for(;t=this.firstChild;){let n=t.nodeType===1&&t.getAttribute(`slot`)||`default`;(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){let e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){let r=e[n],i=r.getAttribute(`name`)||`default`,a=this._slots[i],o=r.parentNode;if(a)for(let e of a){if(t&&e.nodeType===1){let n=t+`-s`,r=document.createTreeWalker(e,1);e.setAttribute(n,``);let i;for(;i=r.nextNode();)i.setAttribute(n,``)}o.insertBefore(e,r)}else for(;r.firstChild;)o.insertBefore(r.firstChild,r);o.removeChild(r)}}_getSlots(){let e=[this];this._teleportTargets&&e.push(...this._teleportTargets);let t=new Set;for(let n of e){let e=n.querySelectorAll(`slot`);for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e,t){this._applyStyles(e.styles,e,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}};function Aa(e){let t=Ci();return t&&t.ce||null}var ja=[`ctrl`,`shift`,`alt`,`meta`],Ma={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>ja.some(n=>e[`${n}Key`]&&!t.includes(n))},Na=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=Ma[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Pa=c({patchProp:Ca},Ji),Fa;function Ia(){return Fa||=Rr(Pa)}var La=((...e)=>{Ia().render(...e)}),Ra=((...e)=>{let t=Ia().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Ba(e);if(!r)return;let i=t._component;!g(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,za(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t});function za(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Ba(e){return _(e)?document.querySelector(e):e}var Va=500,Ha=100;function Ua(){let e=Ut(``),t;function n(){clearTimeout(t),e.value=``}function r(r){n(),t=setTimeout(()=>{e.value=r},Ha)}function i(r){n(),t=setTimeout(()=>{e.value=r()},Va)}return Yn(()=>clearTimeout(t)),{announcement:e,announceNow:r,announceOnceTypingPauses:i,clear:n}}function Wa(e,t){On(()=>{let n=e.states;if(n)for(let[e,r]of Object.entries(t()))r?n.add(e):n.delete(e)})}function Ga({props:e,announceNow:t}){let n=Ut(!1);function r(r){let i=r.getModifierState(`CapsLock`);i&&!n.value&&t(e.textCapsLock),n.value=i}function i(){n.value=!1}return{capsLockOn:n,readCapsLock:r,forgetCapsLock:i}}var Ka={current:`current-password`,new:`new-password`};function qa(e){return e===`current`||e===`new`}function Ja(e){return qa(e)?e:`current`}function Ya(e,t){return t?.trim()?t:Ka[e]}var Xa=[`lowercase`,`uppercase`,`digit`,`symbol`],Za={lowercase:/\p{Ll}/u,uppercase:/[\p{Lu}\p{Lt}]/u,digit:/\p{Nd}/u,symbol:/[^\p{L}\p{N}\s]/u},Qa={lowercase:`lower`,uppercase:`upper`,digit:`digit`,symbol:`special`};function $a(e){if(e==null||e===``)return null;let t=Number(e);return Number.isInteger(t)&&t>0?t:null}function eo(e){return Xa.includes(e)}function to(e){let t=$a(e.minlength)??8,n=$a(e.maxlength),r=String(e.requirements??``).toLowerCase().split(/[\s,]+/).filter(Boolean);return{minLength:t,maxLength:n!==null&&n>=t?n:null,classes:Xa.filter(e=>r.includes(e)),unknown:[...new Set(r.filter(e=>!eo(e)))]}}function no(e){return[...e].length}function ro(e,t){return[{requirement:`length`,met:no(e)>=t.minLength},...t.classes.map(t=>({requirement:t,met:Za[t].test(e)}))]}function io(e,t){return ro(e,t).every(e=>e.met)}function ao(e,t){return t.maxLength!==null&&no(e)>t.maxLength}function oo(e){return[`minlength: ${e.minLength};`,e.maxLength!==null&&`maxlength: ${e.maxLength};`,...e.classes.map(e=>`required: ${Qa[e]};`),`allowed: lower, upper, digit, special;`].filter(Boolean).join(` `)}function so(e){let t=$(()=>Ja(e.purpose)),n=$(()=>t.value===`new`?to({minlength:e.minlength,maxlength:e.maxlength,requirements:e.requirements}):null);return{purpose:t,ruleOptions:n,autocomplete:$(()=>Ya(t.value,e.autocomplete)),rulesForPasswordManagers:$(()=>n.value?oo(n.value):void 0)}}function co(e){function t(t){let n={value:e.value,requirementsMet:e.requirementsMet};e.dispatchEvent(new CustomEvent(t,{bubbles:!0,composed:!0,detail:n}))}return{dispatchInput:()=>t(`input`),dispatchChange:()=>t(`change`)}}function lo(e,t){let n=new Map(e.map(e=>[e.requirement,e.met])),r=t.filter(e=>n.get(e.requirement)!==e.met);return r.length===0?null:{met:r.filter(e=>e.met).map(e=>e.requirement),unmet:r.filter(e=>!e.met).map(e=>e.requirement),allMet:t.every(e=>e.met)}}function uo({host:e,props:t,ruleOptions:n,announceOnceTypingPauses:r}){let i=$(()=>n.value?ro(e.state.value,n.value):[]),a=$(()=>i.value.map(e=>({...e,text:c(e.requirement)}))),o=i.value,s=!1;function c(e){return{length:t.textRuleLength.replaceAll(`{minlength}`,String(n.value?.minLength??``)),lowercase:t.textRuleLowercase,uppercase:t.textRuleUppercase,digit:t.textRuleDigit,symbol:t.textRuleSymbol}[e]}function l(e){return e.allMet?t.textAllMet:i.value.filter(t=>e.met.includes(t.requirement)||e.unmet.includes(t.requirement)).map(e=>`${c(e.requirement)}, ${e.met?t.textRuleMet:t.textRuleUnmet}`).join(`. `)}function u(){n.value&&(s=!0,r(()=>{s=!1;let e=lo(o,i.value);return o=i.value,e?l(e):``}))}return kn(i,e=>{s||(o=e)}),{requirementItems:a,reportUserChange:u}}function fo({host:e,props:t,input:n,announceNow:r}){let i=$(()=>e.state.revealed),a=$(()=>i.value?`text`:`password`),o=$(()=>i.value?t.textHideLabel:t.textShowLabel);function s(){e.revealed=!e.revealed,r(e.revealed?t.textShown:t.textHidden)}function c(){e.revealed=!1}function l(e){e.target===n.value?.form&&c()}return Jn(()=>{window.addEventListener(`submit`,l,!0),window.addEventListener(`reset`,l,!0),window.addEventListener(`pagehide`,c)}),Yn(()=>{window.removeEventListener(`submit`,l,!0),window.removeEventListener(`reset`,l,!0),window.removeEventListener(`pagehide`,c)}),{revealed:i,inputType:a,toggleLabel:o,toggleByUser:s}}function po({value:e,required:t,ruleOptions:n,customError:r},i){return r?{flag:`customError`,message:r}:e===``?t?{flag:`valueMissing`,message:i.required}:null:n?ao(e,n)?{flag:`tooLong`,message:i.tooLong.replaceAll(`{maxlength}`,String(n.maxLength))}:io(e,n)?null:{flag:`unmet`,message:i.unmet}:null}function mo({host:e,props:t,input:n,ruleOptions:r}){let{state:i}=e,a=$(()=>po({value:i.value,required:t.required,ruleOptions:r.value,customError:i.customError},{required:t.textRequired,unmet:t.textUnmet,tooLong:t.textTooLong})),o=$(()=>i.errorsVisible?a.value:null);function s(){i.edited=!0,i.customError=``}function c(){i.errorsVisible=!0}function l(){i.edited&&c()}function u(e){e.target===n.value?.form&&(i.edited=!1,i.errorsVisible=!1,i.customError=``)}return On(()=>n.value?.setCustomValidity(a.value?.message??``),{flush:`sync`}),Jn(()=>window.addEventListener(`reset`,u,!0)),Yn(()=>window.removeEventListener(`reset`,u,!0)),{visibleError:o,markEdited:s,revealErrors:c,revealErrorsIfEdited:l}}function ho({host:e,input:t}){function n(){t.value&&(e.state.value=t.value.value)}function r(e){e.target===t.value?.form&&setTimeout(n)}return Jn(()=>{n(),window.addEventListener(`reset`,r,!0)}),Yn(()=>window.removeEventListener(`reset`,r,!0)),{syncFromInput:n}}var go=0;function _o(e){return go+=1,`${e}-${go}`}var vo={required:!1,disabled:!1,readonly:!1,textShow:`Show`,textHide:`Hide`,textShowLabel:`Show password`,textHideLabel:`Hide password`,textShown:`Your password is shown`,textHidden:`Your password is hidden`,textRequirements:`Your password must have:`,textRuleLength:`At least {minlength} characters`,textRuleLowercase:`A lowercase letter`,textRuleUppercase:`An uppercase letter`,textRuleDigit:`A number`,textRuleSymbol:`A symbol, like ! or #`,textRuleMet:`done`,textRuleUnmet:`not yet`,textAllMet:`All requirements met`,textCapsLock:`Caps Lock is on`,textRequired:`Enter a password`,textUnmet:`Your password does not meet all the requirements`,textTooLong:`Use {maxlength} characters or fewer`},yo={class:`tes-password__field`},bo=[`for`],xo=[`id`,`type`,`name`,`^value`,`autocomplete`,`passwordrules`,`aria-describedby`,`aria-invalid`,`required`,`disabled`,`readonly`],So=[`aria-label`],Co={class:`tes-password__requirements-title`},wo={class:`tes-password__requirements-list`},To={key:0,class:`tes-password__icon tes-password__icon--met`,viewBox:`0 0 16 16`,"aria-hidden":`true`,focusable:`false`},Eo={key:1,class:`tes-password__icon tes-password__icon--unmet`,viewBox:`0 0 16 16`,"aria-hidden":`true`,focusable:`false`},Do={class:`tes-password__visually-hidden`},Oo={role:`status`,class:`tes-password__visually-hidden`},ko=Da(Ln({inheritAttrs:!1,__name:`TesPassword`,props:ar({label:{},name:{},hint:{},required:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},purpose:{},minlength:{},maxlength:{},requirements:{},autocomplete:{},textShow:{},textHide:{},textShowLabel:{},textHideLabel:{},textShown:{},textHidden:{},textRequirements:{},textRuleLength:{},textRuleLowercase:{},textRuleUppercase:{},textRuleDigit:{},textRuleSymbol:{},textRuleMet:{},textRuleUnmet:{},textAllMet:{},textCapsLock:{},textRequired:{},textUnmet:{},textTooLong:{}},vo),setup(e){let t=e,n=nr(),r=Aa(),i=zn(`input`),a=_o(`tes-password`),o=`${a}-requirements`,s=`${a}-caps-lock`,c=`${a}-hint`,l=`${a}-error`,u=$(()=>typeof n.value==`string`?n.value:void 0),{announcement:d,announceNow:f,announceOnceTypingPauses:p}=Ua(),{ruleOptions:m,autocomplete:h,rulesForPasswordManagers:g}=so(t),{revealed:_,inputType:v,toggleLabel:y,toggleByUser:b}=fo({host:r,props:t,input:i,announceNow:f}),{syncFromInput:x}=ho({host:r,input:i}),{requirementItems:S,reportUserChange:C}=uo({host:r,props:t,ruleOptions:m,announceOnceTypingPauses:p}),{capsLockOn:w,readCapsLock:ee,forgetCapsLock:te}=Ga({props:t,announceNow:f}),{visibleError:T,markEdited:ne,revealErrors:E,revealErrorsIfEdited:re}=mo({host:r,props:t,input:i,ruleOptions:m}),D=$(()=>{let e=[t.hint&&c,S.value.length>0&&o,w.value&&s,T.value&&l].filter(Boolean);return e.length>0?e.join(` `):void 0}),{dispatchInput:ie,dispatchChange:ae}=co(r);function O(){ne(),x(),C(),ie()}kn(()=>t.disabled,e=>{e&&(r.revealed=!1)}),Wa(r.internals,()=>({invalid:T.value!==null,empty:r.state.value===``,revealed:_.value,"requirements-met":S.value.length>0&&S.value.every(e=>e.met),"caps-lock":w.value}));function oe(){te(),re()}return(t,n)=>(ei(),ai(`div`,yo,[Y(`label`,{for:V(a),class:`tes-password__label`},A(e.label),9,bo),Y(`div`,{class:ge([`tes-password__control`,{"tes-password__control--invalid":V(T)}])},[Y(`input`,{id:V(a),ref_key:`input`,ref:i,class:`tes-password__input`,type:V(v),name:e.name,"^value":u.value,autocomplete:V(h),passwordrules:V(g),"aria-describedby":D.value,"aria-invalid":V(T)?`true`:void 0,required:e.required,disabled:e.disabled,readonly:e.readonly,spellcheck:`false`,autocapitalize:`off`,autocorrect:`off`,onInput:Na(O,[`stop`]),onChange:n[0]||=Na((...e)=>V(ae)&&V(ae)(...e),[`stop`]),onKeydown:n[1]||=(...e)=>V(ee)&&V(ee)(...e),onKeyup:n[2]||=(...e)=>V(ee)&&V(ee)(...e),onPointerdown:n[3]||=(...e)=>V(ee)&&V(ee)(...e),onBlur:oe,onInvalid:n[4]||=(...e)=>V(E)&&V(E)(...e)},null,40,xo),Y(`button`,{type:`button`,class:`tes-password__toggle`,"aria-label":V(y),onClick:n[5]||=(...e)=>V(b)&&V(b)(...e)},[Y(`span`,{class:ge([`tes-password__toggle-text`,{"tes-password__toggle-text--inactive":V(_)}])},A(e.textShow),3),Y(`span`,{class:ge([`tes-password__toggle-text`,{"tes-password__toggle-text--inactive":!V(_)}])},A(e.textHide),3)],8,So)],2),e.hint?(ei(),ai(`p`,{key:0,id:c,class:`tes-password__hint`},A(e.hint),1)):hi(``,!0),V(w)?(ei(),ai(`p`,{key:1,id:s,class:`tes-password__caps-lock`},A(e.textCapsLock),1)):hi(``,!0),V(S).length?(ei(),ai(`div`,{key:2,id:o,class:`tes-password__requirements`},[Y(`p`,Co,A(e.textRequirements),1),Y(`ul`,wo,[(ei(!0),ai(q,null,Zn(V(S),t=>(ei(),ai(`li`,{key:t.requirement,class:ge([`tes-password__requirement`,{"tes-password__requirement--met":t.met}])},[t.met?(ei(),ai(`svg`,To,[...n[6]||=[Y(`path`,{d:`M3.5 8.5l3 3 6-7`},null,-1)]])):(ei(),ai(`svg`,Eo,[...n[7]||=[Y(`circle`,{cx:`8`,cy:`8`,r:`5`},null,-1)]])),Y(`span`,null,A(t.text),1),Y(`span`,Do,`, `+A(t.met?e.textRuleMet:e.textRuleUnmet),1)],2))),128))])])):hi(``,!0),Y(`p`,{id:l,class:`tes-password__error`,"aria-live":`polite`},A(V(T)?.message),1),Y(`div`,Oo,A(V(d)),1)]))}}),{shadowRoot:!1}),Ao=class extends ko{state=Ft({revealed:!1,value:``,edited:!1,errorsVisible:!1,customError:``});internals;pendingValue=null;constructor(e){super(e),this.internals=this.attachInternals()}get revealed(){return this.state.revealed}set revealed(e){e!==this.state.revealed&&(this.state.revealed=e,this.syncInputType(),this.dispatchEvent(new CustomEvent(`revealchange`,{bubbles:!0,composed:!0,detail:{revealed:e}})))}get value(){return this.input?.value??this.pendingValue??this.defaultValue}set value(e){let t=this.input;t?t.value=e:this.pendingValue=e,this.state.value=e}get requirementsMet(){if(Ja(this.getAttribute(`purpose`))!==`new`)return!0;let e=to({minlength:this.getAttribute(`minlength`),maxlength:this.getAttribute(`maxlength`),requirements:this.getAttribute(`requirements`)});return io(this.state.value,e)}get defaultValue(){return this.getAttribute(`value`)??``}set defaultValue(e){this.setAttribute(`value`,e)}get minLength(){return to({minlength:this.getAttribute(`minlength`)}).minLength}set minLength(e){this.setAttribute(`minlength`,String(e))}get maxLength(){return to({minlength:1,maxlength:this.getAttribute(`maxlength`)}).maxLength??-1}set maxLength(e){this.setAttribute(`maxlength`,String(e))}get readOnly(){return this.hasAttribute(`readonly`)}set readOnly(e){this.toggleAttribute(`readonly`,e)}get form(){return this.input?.form??null}get validity(){return(this.input??document.createElement(`input`)).validity}get validationMessage(){return this.input?.validationMessage??``}get willValidate(){return this.input?.willValidate??!1}setCustomValidity(e){this.state.customError=e,e&&(this.state.errorsVisible=!0)}checkValidity(){return this.input?.checkValidity()??!0}reportValidity(){return this.input?.reportValidity()??!0}connectedCallback(){super.connectedCallback(),this.applyPendingValue()}focus(e){this.input?.focus(e)}get input(){return this.querySelector(`.tes-password__input`)}syncInputType(){let e=this.input;e&&(e.type=this.state.revealed?`text`:`password`)}applyPendingValue(){let e=this.input;e&&this.pendingValue!==null&&(e.value=this.pendingValue,this.state.value=this.pendingValue,this.pendingValue=null)}},jo=`:where(tes-password){--_text:var(--tes-color-text,var(--lightningcss-light,#1f2328)var(--lightningcss-dark,#e8eaee));--_muted:var(--tes-color-muted,var(--lightningcss-light,#59636e)var(--lightningcss-dark,#a3adba));--_bg:var(--tes-color-bg,var(--lightningcss-light,#fff)var(--lightningcss-dark,#16181d));--_border:var(--tes-color-border,var(--lightningcss-light,#7d8590)var(--lightningcss-dark,#7f8a99));--_accent:var(--tes-color-accent,var(--lightningcss-light,#0b5fcc)var(--lightningcss-dark,#7aa7ff));--_on-accent:var(--tes-color-on-accent,var(--lightningcss-light,#fff)var(--lightningcss-dark,#0d1117));--_hover:var(--tes-color-hover,var(--lightningcss-light,#eef3fb)var(--lightningcss-dark,#232a36));--_focus:var(--tes-color-focus,var(--lightningcss-light,#0b5fcc)var(--lightningcss-dark,#7aa7ff));--_error:var(--tes-color-error,var(--lightningcss-light,#c4232b)var(--lightningcss-dark,#ff8a80));--_success:var(--tes-color-success,var(--lightningcss-light,#1f7a3a)var(--lightningcss-dark,#4cc26a));--_radius:var(--tes-radius,.375rem);--_space:var(--tes-space,.5rem);--_control-height:2.75rem;color:var(--_text);font-family:var(--tes-font-family);font-size:var(--tes-font-size);display:inline-block}:where(tes-password[hidden]){display:none}:where(.tes-password__field){gap:calc(var(--_space) / 2);grid-template-columns:minmax(0,1fr);display:grid}:where(.tes-password__label){font-weight:500}:where(.tes-password__control){box-sizing:border-box;block-size:var(--_control-height);border:1px solid var(--_border);border-radius:var(--_radius);background:var(--_bg);display:flex}:where(.tes-password__control--invalid){border:2px solid var(--_error)}:where(.tes-password__control:has(.tes-password__input:focus-visible)){outline:2px solid var(--_focus);outline-offset:2px}:where(.tes-password__input){box-sizing:border-box;border-radius:var(--_radius);min-inline-size:0;color:var(--_text);font:inherit;background:0 0;border:0;outline:none;flex:1;margin:0;padding-inline:.75rem;font-size:max(1em,16px)}:where(.tes-password__toggle){border-radius:var(--_radius);min-inline-size:2.75rem;color:var(--_accent);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;place-items:center;margin:0;padding-inline:.75rem;font-weight:500;display:grid}:where(.tes-password__control:has(.tes-password__input:disabled)){background:color-mix(in srgb, var(--_muted) 12%, var(--_bg))}:where(.tes-password__input:disabled){color:var(--_muted);cursor:not-allowed}:where(.tes-password__input:disabled~.tes-password__toggle){display:none}:where(.tes-password__toggle-text){grid-area:1/1}:where(.tes-password__toggle-text--inactive){visibility:hidden}:where(.tes-password__toggle:hover){background:var(--_hover)}:where(.tes-password__toggle:focus-visible){outline:2px solid var(--_focus);outline-offset:-2px}:where(.tes-password__hint){color:var(--_muted);margin:0;padding-block-start:.25rem;font-size:.875em}:where(.tes-password__caps-lock){margin:0;padding-block-start:.25rem;font-size:.875em;font-weight:500}:where(.tes-password__requirements){color:var(--_muted);padding-block-start:.25rem;font-size:.875em}:where(.tes-password__requirements-title){margin:0}:where(.tes-password__requirements-list){gap:.125rem;margin:.25rem 0 0;padding:0;list-style:none;display:grid}:where(.tes-password__requirement){align-items:center;gap:.375rem;margin:0;display:flex}:where(.tes-password__requirement--met){color:var(--_text)}:where(.tes-password__icon){fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;flex:none;block-size:1em;inline-size:1em}:where(.tes-password__icon--met){stroke:var(--_success);stroke-width:2px}:where(.tes-password__error){color:var(--_error);margin:0;font-size:.875em;font-weight:500}:where(.tes-password__error:empty){display:none}:where(.tes-password__visually-hidden){clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (forced-colors:active){:where(.tes-password__control:has(.tes-password__input:focus-visible)),:where(.tes-password__toggle:focus-visible){outline-color:highlight}:where(.tes-password__input:disabled){color:graytext}}`,Mo=`:where(tes-password`;function No(e){return jo.replaceAll(Mo,`:where(${e}`)}function Po(e){if(typeof document>`u`||typeof CSSStyleSheet>`u`)return;let t=new CSSStyleSheet;t.replaceSync(No(e)),document.adoptedStyleSheets=[...document.adoptedStyleSheets,t]}var Fo=`tes-password`;function Io(e=Fo){if(typeof customElements>`u`||customElements.get(e))return;let t=class extends Ao{};customElements.define(e,e===`tes-password`?Ao:t),Po(e)}return Io(),e.TAG_NAME=Fo,e.TesPasswordElement=Ao,e.define=Io,e})({});
|
|
1
|
+
var TeseliaPassword=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var n={},r=[],i=()=>{},a=()=>!1,o=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),s=e=>e.startsWith(`onUpdate:`),c=Object.assign,l=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,d=(e,t)=>u.call(e,t),f=Array.isArray,p=e=>S(e)===`[object Map]`,m=e=>S(e)===`[object Set]`,h=e=>S(e)===`[object Date]`,g=e=>typeof e==`function`,_=e=>typeof e==`string`,v=e=>typeof e==`symbol`,y=e=>typeof e==`object`&&!!e,b=e=>(y(e)||g(e))&&g(e.then)&&g(e.catch),x=Object.prototype.toString,S=e=>x.call(e),C=e=>S(e).slice(8,-1),w=e=>S(e)===`[object Object]`,T=e=>_(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,ee=t(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),E=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},te=/-\w/g,D=E(e=>e.replace(te,e=>e.slice(1).toUpperCase())),ne=/\B([A-Z])/g,O=E(e=>e.replace(ne,`-$1`).toLowerCase()),re=E(e=>e.charAt(0).toUpperCase()+e.slice(1)),ie=E(e=>e?`on${re(e)}`:``),k=(e,t)=>!Object.is(e,t),ae=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},oe=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},se=e=>{let t=parseFloat(e);return isNaN(t)?e:t},ce=e=>{let t=_(e)?Number(e):NaN;return isNaN(t)?e:t},le,ue=()=>le||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function de(e){if(f(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=_(r)?me(r):de(r);if(i)for(let e in i)t[e]=i[e]}return t}if(_(e)||y(e))return e}var fe=/;(?![^(]*\))/g,pe=/:([^]+)/,A=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function me(e){let t={};return e.replace(A,e=>e.startsWith(`/*`)?``:e).split(fe).forEach(e=>{if(e){let n=e.split(pe);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function he(e){let t=``;if(_(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){let r=he(e[n]);r&&(t+=r+` `)}else if(y(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var ge=t(`itemscope,allowfullscreen,disablepictureinpicture,disableremoteplayback,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`);function _e(e){return!!e||e===``}function ve(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=Se(e[i],t[i],n);return r}function ye(e,t,n){if(e.size!==t.size)return!1;let r=Array.from(t),i=new Uint8Array(r.length);for(let t of e){let e=-1;for(let a=0;a<r.length;a++)if(!i[a]&&Se(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function be(e,t,n){let r=p(e),i=p(t);if(r||i||(r=m(e),i=m(t),r||i))return r&&i?ye(e,t,n):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let i=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(i&&!a||!i&&a||!Se(e[r],t[r],n))return!1}return String(e)===String(t)}function xe(e,t,n,r){n||=[new Map,new Map];let[i,a]=n;if(i.has(e)||a.has(t))return i.get(e)===t&&a.get(t)===e;i.set(e,t),a.set(t,e);let o=r(e,t,n);return i.delete(e),a.delete(t),o}function Se(e,t,n){if(e===t)return!0;let r=h(e),i=h(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=v(e),i=v(t),r||i?e===t:(r=f(e),i=f(t),r||i?r&&i?xe(e,t,n,ve):!1:(r=y(e),i=y(t),r||i?!r||!i?!1:xe(e,t,n,be):String(e)===String(t))))}var Ce=e=>!!(e&&e.__v_isRef===!0),j=e=>_(e)?e:e==null?``:f(e)||y(e)&&(e.toString===x||!g(e.toString))?Ce(e)?j(e.value):JSON.stringify(e,we,2):String(e),we=(e,t)=>Ce(t)?we(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Te(t,r)+` =>`]=n,e),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Te(e))}:v(t)?Te(t):y(t)&&!f(t)&&!w(t)?String(t):t,Te=(e,t=``)=>v(e)?`Symbol(${e.description??t})`:e,M,Ee=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&M&&(M.active?(this.parent=M,this.index=(M.scopes||(M.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=M;try{return M=this,e()}finally{M=t}}}on(){++this._on===1&&(this.prevScope=M,M=this)}off(){if(this._on>0&&--this._on===0){if(M===this)M=this.prevScope;else{let e=M;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function De(){return M}var N,Oe=new WeakSet,ke=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,M&&(M.active?M.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Oe.has(this)&&(Oe.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ne(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ge(this),Ie(this);let e=N,t=P;N=this,P=!0;try{return this.fn()}finally{Le(this),N=e,P=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Be(e);this.deps=this.depsTail=void 0,Ge(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Oe.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Re(this)&&this.run()}get dirty(){return Re(this)}},Ae=0,je,Me;function Ne(e,t=!1){e.flags|=8,t?(e.next=Me,Me=e):(e.next=je,je=e)}function Pe(){Ae++}function Fe(){if(--Ae>0)return;if(Me){let e=Me;for(Me=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;je;){let t=je;for(je=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Ie(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Le(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Be(r),Ve(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Re(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ze(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ze(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ke)||(e.globalVersion=Ke,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Re(e))))return;e.flags|=2;let t=e.dep,n=N,r=P;N=e,P=!0;try{Ie(e);let n=e.fn(e._value);(t.version===0||k(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{N=n,P=r,Le(e),e.flags&=-3}}function Be(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Be(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ve(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var P=!0,He=[];function Ue(){He.push(P),P=!1}function We(){let e=He.pop();P=e===void 0||e}function Ge(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=N;N=void 0;try{t()}finally{N=e}}}var Ke=0,qe=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Je=class{constructor(e){this.computed=e,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(e){if(!N||!P||N===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==N)t=this.activeLink=new qe(N,this),N.deps?(t.prevDep=N.depsTail,N.depsTail.nextDep=t,N.depsTail=t):N.deps=N.depsTail=t,Ye(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=N.depsTail,t.nextDep=void 0,N.depsTail.nextDep=t,N.depsTail=t,N.deps===t&&(N.deps=e)}return t}trigger(e){this.version++,Ke++,this.notify(e)}notify(e){Pe();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Fe()}}};function Ye(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Ye(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var Xe=new WeakMap,Ze=Symbol(``),Qe=Symbol(``),$e=Symbol(``);function F(e,t,n){if(P&&N){let t=Xe.get(e);t||Xe.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Je),r.map=t,r.key=n),r.track()}}function et(e,t,n,r,i,a){let o=Xe.get(e);if(!o){Ke++;return}let s=e=>{e&&e.trigger()};if(Pe(),t===`clear`)o.forEach(s);else{let i=f(e),a=i&&T(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===$e||!v(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get($e)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(Ze)),p(e)&&s(o.get(Qe)));break;case`delete`:i||(s(o.get(Ze)),p(e)&&s(o.get(Qe)));break;case`set`:p(e)&&s(o.get(Ze))}}Fe()}function tt(e){let t=R(e);return t===e||(F(t,`iterate`,$e),L(e))?t:zt(e)?Rt(e)?t.map(e=>Ht(z(e))):t.map(Ht):t.map(z)}function nt(e){return F(e=R(e),`iterate`,$e),e}function I(e,t){return zt(e)?Ht(Rt(e)?z(t):t):z(t)}var rt={__proto__:null,[Symbol.iterator](){return it(this,Symbol.iterator,e=>I(this,e))},concat(...e){return tt(this).concat(...e.map(e=>f(e)?tt(e):e))},entries(){return it(this,`entries`,e=>(e[1]=I(this,e[1]),e))},every(e,t){return st(this,`every`,e,t,void 0,arguments)},filter(e,t){return st(this,`filter`,e,t,e=>e.map(e=>I(this,e)),arguments)},find(e,t){return st(this,`find`,e,t,e=>I(this,e),arguments)},findIndex(e,t){return st(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return st(this,`findLast`,e,t,e=>I(this,e),arguments)},findLastIndex(e,t){return st(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return st(this,`forEach`,e,t,void 0,arguments)},includes(...e){return lt(this,`includes`,e)},indexOf(...e){return lt(this,`indexOf`,e)},join(e){return tt(this).join(e)},lastIndexOf(...e){return lt(this,`lastIndexOf`,e)},map(e,t){return st(this,`map`,e,t,void 0,arguments)},pop(){return ut(this,`pop`)},push(...e){return ut(this,`push`,e)},reduce(e,...t){return ct(this,`reduce`,e,t)},reduceRight(e,...t){return ct(this,`reduceRight`,e,t)},shift(){return ut(this,`shift`)},some(e,t){return st(this,`some`,e,t,void 0,arguments)},splice(...e){return ut(this,`splice`,e)},toReversed(){return tt(this).toReversed()},toSorted(e){return tt(this).toSorted(e)},toSpliced(...e){return tt(this).toSpliced(...e)},unshift(...e){return ut(this,`unshift`,e)},values(){return it(this,`values`,e=>I(this,e))}};function it(e,t,n){let r=nt(e),i=r[t],a=i.call(r);if(r!==e&&!L(e)){if(a[Symbol.toStringTag]===`Array Iterator`){let e=Object.create(Object.getPrototypeOf(a));return e.next=()=>at(a.next(),n),i!==ot[t]&&Object.defineProperties(e,{return:{get(){let e=a.return;return typeof e==`function`?e.bind(a):e}},throw:{get(){let e=a.throw;return typeof e==`function`?e.bind(a):e}}}),e}a._next=a.next,a.next=()=>at(a._next(),n)}return a}function at(e,t){return e.done||(e.value=t(e.value)),e}var ot=Array.prototype;function st(e,t,n,r,i,a){let o=nt(e),s=o!==e&&!L(e),c=o[t];if(c!==ot[t]){let t=c.apply(e,a);return s?z(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,I(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function ct(e,t,n,r){let i=nt(e),a=i!==e&&!L(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=I(e,t)),n.call(this,t,I(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?I(e,c):c}function lt(e,t,n){let r=R(e);F(r,`iterate`,$e);let i=r[t](...n);return(i===-1||i===!1)&&Bt(n[0])?(n[0]=R(n[0]),r[t](...n)):i}function ut(e,t,n=[]){Ue(),Pe();let r=R(e)[t].apply(e,n);return Fe(),We(),r}var dt=t(`__proto__,__v_isRef,__isVue`),ft=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(v));function pt(e){v(e)||(e=String(e));let t=R(this);return F(t,`has`,e),t.hasOwnProperty(e)}var mt=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Mt:jt:i?At:kt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=f(e);if(!r){let e;if(a&&(e=rt[t]))return e;if(t===`hasOwnProperty`)return pt}let o=Reflect.get(e,t,B(e)?e:n);if((v(t)?ft.has(t):dt(t))||(r||F(e,`get`,t),i))return o;if(B(o)){let e=a&&T(t)?o:o.value;return r&&y(e)?It(e):e}return y(o)?r?It(o):Pt(o):o}},ht=class extends mt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=f(e)&&T(t);if(!this._isShallow){let e=zt(i);if(!L(n)&&!zt(n)&&(i=R(i),n=R(n)),!a&&B(i)&&!B(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:d(e,t),s=Reflect.set(e,t,n,B(e)?e:r);return e===R(r)&&s&&(o?k(n,i)&&et(e,`set`,t,n,i):et(e,`add`,t,n)),s}deleteProperty(e,t){let n=d(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&et(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return v(t)&&ft.has(t)||F(e,`has`,t),n}ownKeys(e){return F(e,`iterate`,f(e)?`length`:Ze),Reflect.ownKeys(e)}},gt=class extends mt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},_t=new ht,vt=new gt,yt=new ht(!0),bt=e=>e,xt=e=>Reflect.getPrototypeOf(e);function St(e,t,n){return function(...r){let i=this.__v_raw,a=R(i),o=p(a),s=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?bt:t?Ht:z;return!t&&F(a,`iterate`,l?Qe:Ze),c(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:s?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function Ct(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function wt(e,t){let n={get(n){let r=this.__v_raw,i=R(r),a=R(n);e||(k(n,a)&&F(i,`get`,n),F(i,`get`,a));let{has:o}=xt(i),s=t?bt:e?Ht:z;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&F(R(t),`iterate`,Ze),t.size},has(t){let n=this.__v_raw,r=R(n),i=R(t);return e||(k(t,i)&&F(r,`has`,t),F(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=R(a),s=t?bt:e?Ht:z;return!e&&F(o,`iterate`,Ze),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return c(n,e?{add:Ct(`add`),set:Ct(`set`),delete:Ct(`delete`),clear:Ct(`clear`)}:{add(e){let n=R(this),r=xt(n),i=R(e),a=!t&&!L(e)&&!zt(e)?i:e;return r.has.call(n,a)||k(e,a)&&r.has.call(n,e)||k(i,a)&&r.has.call(n,i)||(n.add(a),et(n,`add`,a,a)),this},set(e,n){t||L(n)||zt(n)||(n=R(n));let r=R(this),{has:i,get:a}=xt(r),o=i.call(r,e);o||=(e=R(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?k(n,s)&&et(r,`set`,e,n,s):et(r,`add`,e,n),this},delete(e){let t=R(this),{has:n,get:r}=xt(t),i=n.call(t,e);i||=(e=R(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&et(t,`delete`,e,void 0,a),o},clear(){let e=R(this),t=e.size!==0,n=e.clear();return t&&et(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=St(r,e,t)}),n}function Tt(e,t){let n=wt(e,t);return(r,i,a)=>i===`__v_isReactive`?!e:i===`__v_isReadonly`?e:i===`__v_isShallow`?t:i===`__v_raw`?r:Reflect.get(d(n,i)&&i in r?n:r,i,a)}var Et={get:Tt(!1,!1)},Dt={get:Tt(!1,!0)},Ot={get:Tt(!0,!1)},kt=new WeakMap,At=new WeakMap,jt=new WeakMap,Mt=new WeakMap;function Nt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Pt(e){return zt(e)?e:Lt(e,!1,_t,Et,kt)}function Ft(e){return Lt(e,!1,yt,Dt,At)}function It(e){return Lt(e,!0,vt,Ot,jt)}function Lt(e,t,n,r,i){if(!y(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Nt(C(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Rt(e){return zt(e)?Rt(e.__v_raw):!!(e&&e.__v_isReactive)}function zt(e){return!!(e&&e.__v_isReadonly)}function L(e){return!!(e&&e.__v_isShallow)}function Bt(e){return e?!!e.__v_raw:!1}function R(e){let t=e&&e.__v_raw;return t?R(t):e}function Vt(e){return!d(e,`__v_skip`)&&Object.isExtensible(e)&&oe(e,`__v_skip`,!0),e}var z=e=>y(e)?Pt(e):e,Ht=e=>y(e)?It(e):e;function B(e){return e?e.__v_isRef===!0:!1}function Ut(e){return Gt(e,!1)}function Wt(e){return Gt(e,!0)}function Gt(e,t){return B(e)?e:new Kt(e,t)}var Kt=class{constructor(e,t){this.dep=new Je,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:R(e),this._value=t?e:z(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||L(e)||zt(e);e=n?e:R(e),k(e,t)&&(this._rawValue=e,this._value=n?e:z(e),this.dep.trigger())}};function V(e){return B(e)?e.value:e}var qt={get:(e,t,n)=>t===`__v_raw`?e:V(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return B(i)&&!B(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Jt(e){return Rt(e)?e:new Proxy(e,qt)}var Yt=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Je(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ke-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&N!==this)return Ne(this,!0),!0}get value(){let e=this.dep.track();return ze(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function Xt(e,t,n=!1){let r,i;return g(e)?r=e:(r=e.get,i=e.set),new Yt(r,i,n)}var Zt={},Qt=new WeakMap,$t=void 0;function en(e,t=!1,n=$t){if(n){let t=Qt.get(n);t||Qt.set(n,t=[]),t.push(e)}}function tn(e,t,r=n){let{immediate:a,deep:o,once:s,scheduler:c,augmentJob:u,call:d}=r,p=e=>o?e:L(e)||o===!1||o===0?nn(e,1):nn(e),m,h,_,v,y=!1,b=!1;if(B(e)?(h=()=>e.value,y=L(e)):Rt(e)?(h=()=>p(e),y=!0):f(e)?(b=!0,y=e.some(e=>Rt(e)||L(e)),h=()=>e.map(e=>{if(B(e))return e.value;if(Rt(e))return p(e);if(g(e))return d?d(e,2):e()})):h=g(e)?t?d?()=>d(e,2):e:()=>{if(_){Ue();try{_()}finally{We()}}let t=$t;$t=m;try{return d?d(e,3,[v]):e(v)}finally{$t=t}}:i,t&&o){let e=h,t=o===!0?1/0:o;h=()=>nn(e(),t)}let x=De(),S=()=>{m.stop(),x&&x.active&&l(x.effects,m)};if(s&&t){let e=t;t=(...t)=>{try{return e(...t)}finally{S()}}}let C=b?Array(e.length).fill(Zt):Zt,w=e=>{if(m.flags&1&&(m.dirty||e)){if(t){let n=m.run();if(e||o||y||(b?n.some((e,t)=>k(e,C[t])):k(n,C))){let e=$t;Ue();try{_&&_(),$t=m;let e=[n,C===Zt?void 0:b&&C[0]===Zt?[]:C,v];C=n,d?d(t,3,e):t(...e)}finally{$t=e,We()}}}else m.run()}};return u&&u(w),m=new ke(h),m.scheduler=c?()=>c(w,!1):w,v=e=>en(e,!1,m),_=m.onStop=()=>{let e=Qt.get(m);if(e){if(d)d(e,4);else for(let t of e)t();Qt.delete(m)}},t?a?w(!0):C=m.run():c?c(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function nn(e,t=1/0,n){if(t<=0||!y(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,B(e))nn(e.value,t,n);else if(f(e))for(let r=0;r<e.length;r++)nn(e[r],t,n);else if(m(e)||p(e))e.forEach(e=>{nn(e,t,n)});else if(w(e)){for(let r in e)nn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&nn(e[r],t,n)}return e}function rn(e,t,n,r){try{return r?e(...r):e()}catch(e){an(e,t,n)}}function H(e,t,n,r){if(g(e)){let i=rn(e,t,n,r);return i&&b(i)&&i.catch(e=>{an(e,t,n,void 0,!0)}),i}if(f(e)){let i=[];for(let a=0;a<e.length;a++)i.push(H(e[a],t,n,r));return i}}function an(e,t,r,i=!0,a=!1){let o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:c}=t&&t.appContext.config||n;if(t){let n=t.parent,i=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${r}`;for(;n;){let t=n.ec;if(t&&!n.isUnmounted&&(!a||n.scope.active)){for(let n=0;n<t.length;n++)if(t[n](e,i,o)===!1)return}n=n.parent}if(s){Ue(),rn(s,null,10,[e,i,o]),We();return}}on(e,r,o,i,c)}function on(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var U=[],W=-1,G=[],sn=null,cn=0,ln=Promise.resolve(),un=null;function dn(e){let t=un||ln;return e?t.then(this?e.bind(this):e):t}function fn(e){let t=W+1,n=U.length;for(;t<n;){let r=t+n>>>1,i=U[r],a=bn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function pn(e){if(!(e.flags&1)){let t=bn(e),n=U[U.length-1];!n||!(e.flags&2)&&t>=bn(n)?U.push(e):U.splice(fn(t),0,e),e.flags|=1,mn()}}function mn(){un||=ln.then(xn)}function hn(e){if(!f(e))sn&&e.id===-1?sn.splice(cn+1,0,e):e.flags&1||(G.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)G.push(e[t]);mn()}function gn(e,t,n,r=W+1){for(;r<U.length;r++){let n=U[r];if(n&&n.flags&2){if(e&&n.id!==e.uid||t!==void 0&&!(n.id>=t))continue;U.splice(r,1),r=e?r-1:W,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function _n(e,t,n=0){if(G.length){let e=G,r=0;if(t){e=[];for(let i=0;i<G.length;i++){let a=G[i];(a.i===void 0?t.has(a):!a.i||a.i.uid<n)?G[r++]=a:e.push(a)}}let i=[...new Set(e)].sort((e,t)=>bn(e)-bn(t));if(G.length=r,sn){for(let e=0;e<i.length;e++)sn.push(i[e]);return}for(sn=i,cn=0;cn<sn.length;cn++){let e=sn[cn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}sn=null,cn=0}}var vn=!1;function yn(e,t){if(vn){e();return}let n=t===void 0?void 0:new Set(G);e(),vn=!0;try{gn(void 0,t),_n(void 0,n,t)}finally{vn=!1}}var bn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function xn(e){try{for(W=0;W<U.length;W++){let e=U[W];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),rn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;W<U.length;W++){let e=U[W];e&&(e.flags&=-2)}W=-1,U.length=0,_n(e),un=null,(U.length||G.length)&&xn(e)}}var K=null,Sn=null;function Cn(e){let t=K;return K=e,Sn=e&&e.type.__scopeId||null,t}function wn(e,t=K,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&oi(-1);let i=Cn(t),a=ni.length,o;try{o=e(...n)}finally{for(let e=ni.length;e>a;e--)ii();Cn(i),r._d&&oi(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Tn(e,t,n,r){let i=e;if(r===`beforeMount`)e._mount=e;else if(r===`beforeUpdate`){let n=t&&t._mount;n&&(n._latest=e,e._mount=n)}else if(r===`mounted`){let t=e._latest;e._mount=e._latest=void 0,t&&(i=t,t._mount=void 0)}let a=i.dirs,o=t&&t.dirs;for(let s=0;s<a.length;s++){let l=a[s];o?l.oldValue=o[s].value:r===`mounted`&&l.oldValue!==void 0&&(l=c({},l,{oldValue:void 0}));let u=l.dir[r];u&&(Ue(),H(u,n,8,[e.el,l,i,t]),We())}}function En(e,t,n=!1){let r=ki();if(r||dr){let i=dr?dr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&g(t)?t.call(r&&r.proxy):t}}var Dn=Symbol.for(`v-scx`),On=()=>En(Dn);function kn(e,t){return jn(e,null,t)}function An(e,t,n){return jn(e,t,n)}function jn(e,t,r=n){let{immediate:a,deep:o,flush:s,once:l}=r,u=c({},r),d=t&&a||!t&&s!==`post`,f;if(Fi){if(s===`sync`){let e=On();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=i,e.resume=i,e.pause=i,e}}let p=Oi;u.call=(e,t,n)=>H(e,p,t,n);let m=!1;s===`post`?u.scheduler=e=>{e.i=p,q(e,p&&p.suspense)}:s!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():pn(e)}),u.augmentJob=e=>{t&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=tn(e,t,u);return Fi&&(f?f.push(h):d&&h()),h}var Mn=Symbol(`_vte`),Nn=e=>e.__isTeleport,Pn=Symbol(`_leaveCb`);function Fn(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==Y){t=n;break}}return t}function In(e){if(!qn(e))return Nn(e.type)&&e.children?Fn(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&g(n.default))return n.default()}}function Ln(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;Ln(Nn(n.type)&&In(n)||n,t)}else if(e.shapeFlag&128){let n=e.suspense;if(n){let e=n.isHydrating?n.pendingBranch:n.activeBranch;e&&Ln(e,t.clone(e))}else e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)}else if(e.transition=t,e.type===J&&f(e.children)){let n=_r(e.children,!1);n&&Ln(n,t)}}function Rn(e){if(e.component)return Rn(e.component.subTree);if(e.type===J){let t=f(e.children)&&_r(e.children,!1);return t?Rn(t):void 0}if(e.type!==Y)return e}function zn(e,t){return g(e)?c({name:e.name},t,{setup:e}):e}function Bn(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function Vn(e){let t=ki(),r=Wt(null);if(t){let i=t.refs===n?t.refs={}:t.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>r.value,set:e=>r.value=e})}return r}function Hn(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var Un=new WeakMap;function Wn(e,t,r,i,o=!1){if(f(e)){e.forEach((e,n)=>Wn(e,t&&(f(t)?t[n]:t),r,i,o));return}if(Kn(i)&&!o){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Wn(e,t,r,i.component.subTree);return}let s=i.shapeFlag&4?Gi(i.component):i.el,c=o?null:s,{i:u,r:p}=e,m=t&&t.r,h=u.refs===n?u.refs={}:u.refs,v=u.setupState,y=R(v),b=v===n?a:e=>!Hn(h,e)&&d(y,e),x=(e,t)=>!(t&&Hn(h,t));if(m!=null&&m!==p){if(Gn(t),_(m))h[m]=null,b(m)&&(v[m]=null);else if(B(m)){let e=t;x(m,e.k)&&(m.value=null),e.k&&(h[e.k]=null)}}if(g(p))rn(p,u,12,[c,h]);else{let t=_(p),n=B(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:h[p]:x(p)||!e.k?p.value:h[e.k];if(o)f(n)&&l(n,s);else if(f(n))n.includes(s)||n.push(s);else if(t)h[p]=[s],b(p)&&(v[p]=h[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(h[e.k]=t)}}else t?(h[p]=c,b(p)&&(v[p]=c)):n&&(x(p,e.k)&&(p.value=c),e.k&&(h[e.k]=c))};if(c){let t=()=>{i(),Un.delete(e)};t.id=-1,Un.set(e,t),q(t,r)}else Gn(e),i()}}}function Gn(e){let t=Un.get(e);t&&(t.flags|=8,Un.delete(e))}ue().requestIdleCallback,ue().cancelIdleCallback;var Kn=e=>!!e.type.__asyncLoader,qn=e=>e.type.__isKeepAlive;function Jn(e,t,n=Oi,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Ue();let i=Mi(n),a=H(t,n,e,r);return i(),We(),a};return r?i.unshift(a):i.push(a),a}}var Yn=e=>(t,n=Oi)=>{Fi&&e!==`sp`||Jn(e,(...e)=>t(...e),n)},Xn=Yn(`m`),Zn=Yn(`bum`),Qn=Symbol.for(`v-ndc`);function $n(e,t,n,r){let i,a=n&&n[r],o=f(e);if(o||_(e)){let n=o&&Rt(e),r=!1,s=!1;n&&(r=!L(e),s=zt(e),e=nt(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Ht(z(e[n])):z(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){if(!Number.isInteger(e)||e<0)i=[];else{i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}}else if(y(e)){if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}}else i=[];return n&&(n[r]=i),i}var er=e=>e?Pi(e)?Gi(e):er(e.parent):null,tr=c(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=>er(e.parent),$root:e=>er(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>e.type,$forceUpdate:e=>e.f||=()=>{pn(e.update)},$nextTick:e=>e.n||=dn.bind(e.proxy),$watch:e=>i}),nr=(e,t)=>e!==n&&!e.__isScriptSetup&&d(e,t),rr={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(t[0]!==`$`){let e=s[t];if(e!==void 0)switch(e){case 1:return i[t];case 2:return a[t];case 4:return r[t];case 3:return o[t]}else if(nr(i,t))return s[t]=1,i[t];else if(d(o,t))return s[t]=3,o[t];else if(r!==n&&d(r,t))return s[t]=4,r[t];else s[t]=0}let u=tr[t],f,p;if(u)return t===`$attrs`&&F(e.attrs,`get`,``),u(e);if((f=c.__cssModules)&&(f=f[t]))return f;if(r!==n&&d(r,t))return s[t]=4,r[t];if(p=l.config.globalProperties,d(p,t))return p[t]},set({_:e},t,n){let{data:r,setupState:i,ctx:a}=e;return nr(i,t)?(i[t]=n,!0):d(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:a,type:o}},s){let c;return!!(n[s]||nr(t,s)||d(a,s)||d(r,s)||d(tr,s)||d(i.config.globalProperties,s)||(c=o.__cssModules)&&c[s])},defineProperty(e,t,n){return n.get==null?d(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function ir(){return ar(`useAttrs`).attrs}function ar(e){let t=ki();return t.setupContext||=Wi(t)}function or(e){return f(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function sr(e,t){let n=or(e);for(let e in t){if(e.startsWith(`__skip`))continue;let r=n[e];r?f(r)||g(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:r===null&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function cr(){return{app:null,config:{isNativeTag:a,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}}var lr=0;function ur(e,t){return function(n,r=null){g(n)||(n=c({},n)),r!=null&&!y(r)&&(r=null);let i=cr(),a=new WeakSet,o=[],s=!1,l=i.app={_uid:lr++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:qi,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&g(e.install)?(a.add(e),e.install(l,...t)):g(e)&&(a.add(e),e(l,...t))),l},mixin(e){return l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,c){if(!s){let u=l._ceVNode||Q(n,r);return u.appContext=i,c===!0?c=`svg`:c===!1&&(c=void 0),o&&t?t(u,a):e(u,a,c),s=!0,l._container=a,a.__vue_app__=l,Gi(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(H(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=dr;dr=l;try{return e()}finally{dr=t}}};return l}}var dr=null,fr=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${D(t)}Modifiers`]||e[`${O(t)}Modifiers`];function pr(e,t,...r){if(e.isUnmounted)return;let i=e.vnode.props||n,a=r,o=t.startsWith(`update:`),s=o&&fr(i,t.slice(7));s&&(s.trim&&(a=r.map(e=>_(e)?e.trim():e)),s.number&&(a=a.map(se)));let c,l=i[c=ie(t)]||i[c=ie(D(t))];!l&&o&&(l=i[c=ie(O(t))]),l&&H(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,H(u,e,6,a)}}function mr(e,t,n=!1){let r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={};return a?(f(a)?a.forEach(e=>o[e]=null):c(o,a),y(e)&&r.set(e,o),o):(y(e)&&r.set(e,null),null)}function hr(e,t){return!e||!o(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),d(e,t[0].toLowerCase()+t.slice(1))||d(e,O(t))||d(e,t))}function gr(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Cn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=yi(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=yi(e.length>1?e(f,{attrs:c,slots:o,emit:l}):e(f,null)),y=t.props?c:vr(c)}}catch(t){ni.length=0,an(t,e,1),v=Q(Y)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(s)&&(y=yr(y,a)),b=gi(b,y,!1,!0))}return n.dirs&&(b=gi(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Ln(Nn(b.type)&&In(b)||b,n.transition),v=b,Cn(_),v}function _r(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(ui(r)){if(r.type!==Y||r.children===`v-if`){if(n)return;n=r}}else return}return n}var vr=e=>{let t;for(let n in e)(n===`class`||n===`style`||o(n))&&((t||={})[n]=e[n]);return t},yr=(e,t)=>{let n={};for(let r in e)s(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function br(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?xr(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Sr(o,r,n)&&!hr(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||xr(r,o,l):!!o;return!1}function xr(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(!d(e,a)||Sr(t,e,a)&&!hr(n,a))return!0}return!1}function Sr(e,t,n){let r=e[n],i=t[n];return n===`style`&&y(r)&&y(i)?!Se(r,i):r!==i}function Cr({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var wr={},Tr=()=>Object.create(wr),Er=e=>Object.getPrototypeOf(e)===wr;function Dr(e,t,n,r=!1){let i={},a=Tr();e.propsDefaults=Object.create(null),kr(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:Ft(i):e.type.props?i:a,e.attrs=a}function Or(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=R(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(hr(e.emitsOptions,o))continue;let u=t[o];if(c){if(d(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=D(o);i[t]=Ar(c,s,t,u,e,!1)}}else u!==a[o]&&(a[o]=u,l=!0)}}}else{kr(e,t,i,a)&&(l=!0);let r;for(let a in s)t&&(d(t,a)||(r=O(a))!==a&&d(t,r))||(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Ar(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)t&&d(t,e)||(delete a[e],l=!0)}l&&et(e.attrs,`set`,``)}function kr(e,t,r,i){let[a,o]=e.propsOptions,s=!1,c;if(t)for(let n in t){if(ee(n))continue;let l=t[n],u;a&&d(a,u=D(n))?!o||!o.includes(u)?r[u]=l:(c||={})[u]=l:hr(e.emitsOptions,n)||n in i&&l===i[n]||(i[n]=l,s=!0)}if(o){let t=R(r),i=c||n;for(let n=0;n<o.length;n++){let s=o[n];r[s]=Ar(a,t,s,i[s],e,!d(i,s))}}return s}function Ar(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=d(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&g(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Mi(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===O(n))&&(r=!0))}return r}function jr(e,t,i=!1){let a=t.propsCache,o=a.get(e);if(o)return o;let s=e.props,l={},u=[];if(!s)return y(e)&&a.set(e,r),r;if(f(s))for(let e=0;e<s.length;e++){let t=D(s[e]);Mr(t)&&(l[t]=n)}else if(s)for(let e in s){let t=D(e);if(Mr(t)){let n=s[e],r=l[t]=f(n)||g(n)?{type:n}:c({},n),i=r.type,a=!1,o=!0;if(f(i))for(let e=0;e<i.length;++e){let t=i[e],n=g(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=g(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||d(r,`default`))&&u.push(t)}}let p=[l,u];return y(e)&&a.set(e,p),p}function Mr(e){return e[0]!==`$`&&!ee(e)}var Nr=e=>e===`_`||e===`_ctx`||e===`$stable`,Pr=e=>f(e)?e.map(yi):[yi(e)],Fr=(e,t,n)=>{if(t._n)return t;let r=wn((...e)=>Pr(t(...e)),n);return r._c=!1,r},Ir=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Nr(n))continue;let i=e[n];if(g(i))t[n]=Fr(n,i,r);else if(i!=null){let e=Pr(i);t[n]=()=>e}}},Lr=(e,t)=>{let n=Pr(t);e.slots.default=()=>n},Rr=(e,t,n)=>{for(let r in t)(n||!Nr(r))&&(e[r]=t[r])},zr=(e,t,n)=>{let r=e.slots=Tr();if(e.vnode.shapeFlag&32){let e=t._;e?(Rr(r,t,n),n&&oe(r,`_`,e,!0)):Ir(t,r)}else t&&Lr(e,t)},Br=(e,t,r)=>{let{vnode:i,slots:a}=e,o=!0,s=n;if(i.shapeFlag&32){let e=t._;e?r&&e===1?o=!1:Rr(a,t,r):(o=!t.$stable,Ir(t,a)),s=t}else t&&(Lr(e,t),s={default:1});if(o)for(let e in a)!Nr(e)&&s[e]==null&&delete a[e]},q=$r;function Vr(e){return Hr(e)}function Hr(e,t){let a=ue();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=i,insertStaticContent:_}=e,v=(e,t,n,i=null,a=null,o=null,s=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!di(e,t)&&(i=ve(e),A(e,a,o,!0),e=null),t.patchFlag===-2&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===r&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case ei:y(e,t,n,i);break;case Y:b(e,t,n,i);break;case ti:e??x(t,n,i,s);break;case J:re(e,t,n,i,a,o,s,c,l);break;default:f&1?w(e,t,n,i,a,o,s,c,l):f&6?ie(e,t,n,i,a,o,s,c,l):(f&64||f&128)&&u.process(e,t,n,i,a,o,s,c,l,be)}d!=null&&a?Wn(d,e&&e.ref,o,t||e,!t):d==null&&e&&e.ref!=null&&Wn(e.ref,null,o,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)T(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),D(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},T=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&te(e.children,d,null,r,i,Ur(e,a),s,u),_&&Tn(e,null,r,`created`),E(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!ee(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Ci(f,r,e)}_&&Tn(e,null,r,`beforeMount`);let v=Gr(i,g);v?g.beforeEnter(d):g&&!g.persisted&&(d[Qr]=!0),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&q(()=>{try{f&&Ci(f,r,e),v&&g.enter(d),_&&Tn(e,null,r,`mounted`)}finally{}},i)},E=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||Zr(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;E(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},te=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?bi(e[l]):yi(e[l]);v(null,c,t,n,r,i,a,o,s)}},D=(e,t,r,i,a,o,s)=>{let l=t.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=e.patchFlag&16;let m=e.props||n,h=t.props||n,g;if(r&&Wr(r,!1),(g=h.onVnodeBeforeUpdate)&&Ci(g,r,t,e),f&&Tn(t,e,r,`beforeUpdate`),r&&Wr(r,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?ne(e.dynamicChildren,d,l,r,i,Ur(t,a),o):s||le(e,t,l,null,r,i,Ur(t,a),o,!1),u>0){if(u&16)O(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==t.children&&p(l,t.children)}else!s&&d==null&&O(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&q(()=>{g&&Ci(g,r,t,e),f&&Tn(t,e,r,`updated`)},i)},ne=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el||Xr(c),d=u&&(c.type===J||!di(c,l)||c.shapeFlag&198)?m(u):n;v(c,l,d,null,r,i,a,o,!0)}},O=(e,t,r,i,a)=>{if(t!==r){if(t!==n)for(let n in t)!ee(n)&&!(n in r)&&c(e,n,t[n],null,a,i);for(let n in r){if(ee(n))continue;let o=r[n],s=t[n];o!==s&&n!==`value`&&c(e,n,s,o,a,i)}`value`in r&&c(e,`value`,t.value,r.value,a)}},re=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),te(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(ne(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&Kr(e,t,!0)):le(e,t,n,f,i,a,s,c,l)},ie=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):k(t,n,r,i,a,o,c):oe(e,t,c)},k=(e,t,n,r,i,a,o)=>{let s=e.component=Di(e,r,i);if(qn(e)&&(s.ctx.renderer=be),Ii(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,se,o,a),!e.el){let r=s.subTree=Q(Y);b(null,r,t,n),e.placeholder=r.el}}else se(s,e,t,n,i,a,o)},oe=(e,t,n)=>{let r=t.component=e.component;if(br(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,t.placeholder=e.placeholder,ce(r,t,n);return}r.next=t,r.update()}else t.el=e.el,t.placeholder=e.placeholder,r.vnode=t},se=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=Jr(e);if(n){t&&(t.el=c.el,ce(e,t,o)),n.asyncDep.then(()=>{let t=()=>{e.job.flags&8||(i&&i.pendingBranch?q(t,i):l())};t.flags=48,q(t,i)});return}}let u=t,d;Wr(e,!1),t?(t.el=c.el,ce(e,t,o)):t=c,n&&ae(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Ci(d,s,t,c),Wr(e,!0);let f=gr(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el||Xr(p)),ve(p),e,i,a),t.el=f.el,u===null&&Cr(e,f.el),r&&q(r,i),(d=t.props&&t.props.onVnodeUpdated)&&q(()=>Ci(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Kn(t);if(Wr(e,!1),l&&ae(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Ci(o,d,t),Wr(e,!0),s&&Se){let t=()=>{e.subTree=gr(e),Se(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=gr(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&q(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;q(()=>Ci(o,d,e),i)}(t.shapeFlag&256||d&&Kn(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&q(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new ke(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>pn(u),Wr(e,!0),l()},ce=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Or(e,t.props,r,n),Br(e,t.children,n),Ue(),gn(e),We()},le=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){fe(l,d,n,r,i,a,o,s,c);return}if(f&256){de(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&_e(l,i,a),d!==l&&p(n,d)):u&16?m&16?fe(l,d,n,r,i,a,o,s,c):_e(l,i,a,!0):(u&8&&p(n,``),m&16&&te(d,n,r,i,a,o,s,c))},de=(e,t,n,i,a,o,s,c,l)=>{e||=r,t||=r;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let r=t[p]=l?bi(t[p]):yi(t[p]);v(e[p],r,n,null,a,o,s,c,l)}u>d?_e(e,a,o,!0,!1,f):te(t,n,i,a,o,s,c,l,f)},fe=(e,t,n,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let r=e[u],i=t[u]=l?bi(t[u]):yi(t[u]);if(di(r,i))v(r,i,n,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let r=e[f],i=t[p]=l?bi(t[p]):yi(t[p]);if(di(r,i))v(r,i,n,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,r=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?bi(t[u]):yi(t[u]),n,r,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)A(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?bi(t[u]):yi(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let r=e[u];if(y>=b){A(r,a,o,!0);continue}let i;if(r.key!=null)i=g.get(r.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&di(r,t[_])){i=_;break}i===void 0?A(r,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(r,t[i],n,null,a,o,s,c,l),y++)}let w=x?qr(C):r;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,r=t[e],f=t[e+1],p=e+1<d?f.el||Xr(f):i;C[u]===0?v(null,r,n,p,a,o,s,c,l):x&&(_<0||u!==w[_]?pe(r,n,p,2):_--)}}},pe=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6)pe(e.component.subTree,t,n,r);else if(d&128)e.suspense.move(t,n,r);else if(d&64)c.move(e,t,n,be);else if(c===J){o(a,t,n);for(let e=0;e<u.length;e++)pe(u[e],t,n,r);o(e.anchor,t,n)}else if(c===ti)S(e,t,n);else if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[Pn]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),q(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[Pn];a._isLeaving&&a[Pn](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}}else o(a,t,n)},A=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if((d===-2||l&&l.hasOnce)&&(i=!1),s!=null&&(Ue(),Wn(s,null,n,e,!0),We()),p==null||e.ctx&&e.ctx!==t||(t.renderCache[p]=void 0),u&256&&t.ctx.deactivate(e))return;let h=u&1&&f,g=!Kn(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Ci(_,t,e),u&6)ge(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&Tn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,be,r):l&&!l.hasOnce&&(a!==J||d>0&&d&64)?_e(l,t,n,!1,!0):(a===J&&d&384||!i&&u&16)&&_e(c,t,n),r&&me(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&q(()=>{_&&Ci(_,t,e),h&&Tn(e,null,t,`unmounted`),v&&(e.el=null)},n)},me=e=>{let{type:t,el:n,anchor:r,transition:i}=e,a=t===J;if(a&&!i){he(n,r);return}if(t===ti){C(e),i&&!i.persisted&&i.afterLeave&&i.afterLeave();return}let o=a?Rn(e):e,c=()=>{a?m(n)&&he(n,r):s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(o&&o.shapeFlag&1&&i&&!i.persisted){let{leave:e,delayLeave:t}=i,n=o.el,r=()=>e(n,c);t?t(n,c,r):r()}else c()},he=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},ge=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;Yr(c),Yr(l),r&&ae(r),i.stop(),a?(a.flags|=8,A(o,e,t,n)):o&&(o.transition=e.vnode.transition,A(o,e,t,n)),s&&q(s,t);let u=()=>{e.isUnmounted=!0};u.flags=16,q(u,t)},_e=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)A(e[o],t,n,r,i)},ve=e=>{if(e.shapeFlag&6)return ve(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Mn];return n?h(n):t},ye=(e,t,n)=>{yn(()=>{e==null?t._vnode&&A(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e},e&&t._vnode?void 0:e&&e.component?e.component.uid:Ei())},be={p:v,um:A,m:pe,r:me,mt:k,mc:te,pc:le,pbc:ne,n:ve,o:e},xe,Se;return t&&([xe,Se]=t(be)),{render:ye,hydrate:xe,createApp:ur(ye,xe)}}function Ur({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function Wr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Gr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Kr(e,t,n=!1){let r=e.children,i=t.children;if(f(r)&&f(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=bi(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Kr(t,a)),a.type===ei&&(a.patchFlag===-1&&(a=i[e]=bi(a)),a.el=t.el),a.type===Y&&!a.el&&(a.el=t.el)}}function qr(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function Jr(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jr(t)}function Yr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Xr(e){if(e.placeholder)return e.placeholder;let t=e.component;if(t)return Xr(t.subTree);let n=e.suspense;return n&&n.activeBranch?Xr(n.activeBranch):null}var Zr=e=>e.__isSuspense,Qr=Symbol(`_deferredEnter`);function $r(e,t){t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):hn(e)}var J=Symbol.for(`v-fgt`),ei=Symbol.for(`v-txt`),Y=Symbol.for(`v-cmt`),ti=Symbol.for(`v-stc`),ni=[],X=null;function ri(e=!1){ni.push(X=e?null:[])}function ii(){ni.pop(),X=ni[ni.length-1]||null}var ai=1;function oi(e,t=!1){ai+=e,e<0&&X&&t&&(X.hasOnce=!0)}function si(e){return e.dynamicChildren=ai>0?X||r:null,ii(),ai>0&&X&&X.push(e),e}function ci(e,t,n,r,i,a){return si(Z(e,t,n,r,i,a,!0))}function li(e,t,n,r,i){return si(Q(e,t,n,r,i,!0))}function ui(e){return e?e.__v_isVNode===!0:!1}function di(e,t){return e.type===t.type&&e.key===t.key}var fi=({key:e})=>e??null,pi=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:_(e)||B(e)||g(e)?{i:K,r:e,k:t,f:!!n}:e);function Z(e,t=null,n=null,r=0,i=null,a=e===J?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fi(t),ref:t&&pi(t),scopeId:Sn,slotScopeIds:null,children:n,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:K};return s?(xi(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=_(n)?8:16),ai>0&&!o&&X&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&X.push(c),c}var Q=mi;function mi(e,t=null,n=null,r=0,i=null,a=!1){if(e&&e!==Qn||(e=Y),ui(e)){let r=gi(e,t,!0);return n&&xi(r,n),ai>0&&!a&&X&&(r.shapeFlag&6?X[X.indexOf(e)]=r:X.push(r)),r.patchFlag=-2,r}if(Ki(e)&&(e=e.__vccOpts),t){t=hi(t);let{class:e,style:n}=t;e&&!_(e)&&(t.class=he(e)),y(n)&&(Bt(n)&&!f(n)&&(n=c({},n)),t.style=de(n))}let o=_(e)?1:Zr(e)?128:Nn(e)?64:y(e)?4:g(e)?2:0;return Z(e,t,n,r,i,o,a,!0)}function hi(e){return e?Bt(e)?c({},e):Er(e)?c({},e[Hi]||e):e:null}function gi(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?Si(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&fi(l),ref:t&&t.ref?n&&a?f(a)?a.concat(pi(t)):[a,pi(t)]:pi(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==J?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&&gi(e.ssContent),ssFallback:e.ssFallback&&gi(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&Ln(u,c.clone(u)),u}function _i(e=` `,t=0){return Q(ei,null,e,t)}function vi(e=``,t=!1){return t?(ri(),li(Y,null,e)):Q(Y,null,e)}function yi(e){return e==null||typeof e==`boolean`?Q(Y):f(e)?Q(J,null,e.slice()):ui(e)?bi(e):Q(ei,null,String(e))}function bi(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:gi(e)}function xi(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(f(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),xi(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!Er(t)?t._ctx=K:r===3&&K&&(K.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(g(t)){if(r&65){xi(e,{default:t});return}t={default:t,_ctx:K},n=32}else t=String(t),r&64?(n=16,t=[_i(t)]):n=8;e.children=t,e.shapeFlag|=n}function Si(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=he([t.class,r.class]));else if(e===`style`)t.style=de([t.style,r.style]);else if(o(e)){let n=t[e],i=r[e];i&&n!==i&&!(f(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!s(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Ci(e,t,n,r=null){H(e,t,7,[n,r])}var wi=cr(),Ti=0;function Ei(){return Ti}function Di(e,t,r){let i=e.type,a=(t?t.appContext:e.appContext)||wi,o={uid:Ti++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ee(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:jr(i,a),emitsOptions:mr(i,a),emit:null,emitted:null,propsDefaults:n,inheritAttrs:i.inheritAttrs,ctx:n,data:n,props:n,attrs:n,slots:n,refs:n,setupState:n,setupContext:null,suspense:r,suspenseId:r?r.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 o.ctx={_:o},o.root=t?t.root:o,o.emit=pr.bind(null,o),e.ce&&e.ce(o),o}var Oi=null,ki=()=>Oi||K,Ai,ji;{let e=ue(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Ai=t(`__VUE_INSTANCE_SETTERS__`,e=>Oi=e),ji=t(`__VUE_SSR_SETTERS__`,e=>Fi=e)}var Mi=e=>{let t=Oi;return Ai(e),e.scope.on(),()=>{e.scope.off(),Ai(t)}},Ni=()=>{Oi&&Oi.scope.off(),Ai(null)};function Pi(e){return e.vnode.shapeFlag&4}var Fi=!1;function Ii(e,t=!1,n=!1){t&&ji(t);let{props:r,children:i}=e.vnode,a=Pi(e);Dr(e,r,a,t),zr(e,i,n||t);let o=a?Li(e,t):void 0;return t&&ji(!1),o}function Li(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,rr);let{setup:r}=n;if(r){Ue();let n=e.setupContext=r.length>1?Wi(e):null,i=Mi(e),a=rn(r,e,0,[e.props,n]),o=b(a);if(We(),i(),(o||e.sp)&&!Kn(e)&&Bn(e),o){if(a.then(Ni,Ni),t)return a.then(n=>{ji(!0);try{Ri(e,n,t)}finally{ji(!1)}}).catch(t=>{an(t,e,0,void 0,!0),e.ssrRender=(e,t)=>t(`<!---->`)});e.asyncDep=a}else Ri(e,a,t)}else Vi(e,t)}function Ri(e,t,n){g(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:y(t)&&(e.setupState=Jt(t)),Vi(e,n)}var zi,Bi;function Vi(e,t,n){let r=e.type;if(!e.render){if(!t&&zi&&!r.render){let t=r.template||!1;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r;r.render=zi(t,c(c({isCustomElement:n,delimiters:a},i),o))}}e.render=r.render||i,Bi&&Bi(e)}}var Hi=Symbol(),Ui={get(e,t){return F(e,`get`,``),t===Hi?e:e[t]}};function Wi(e){return{attrs:new Proxy(e.attrs,Ui),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Gi(e){return e.exposed?e.exposeProxy||=new Proxy(Jt(Vt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in tr)return tr[n](e)},has(e,t){return t in e||t in tr}}):e.proxy}function Ki(e){return g(e)&&`__vccOpts`in e}var $=(e,t)=>Xt(e,t,Fi),qi=`3.5.45`,Ji=void 0,Yi=typeof window<`u`&&window.trustedTypes;if(Yi)try{Ji=Yi.createPolicy(`vue`,{createHTML:e=>e})}catch{}var Xi=Ji?e=>Ji.createHTML(e):e=>e,Zi=`http://www.w3.org/2000/svg`,Qi=`http://www.w3.org/1998/Math/MathML`,$i=typeof document<`u`?document:null,ea=$i&&$i.createElement(`template`),ta={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?$i.createElementNS(Zi,e):t===`mathml`?$i.createElementNS(Qi,e):n?$i.createElement(e,{is:n}):$i.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>$i.createTextNode(e),createComment:e=>$i.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$i.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{ea.innerHTML=Xi(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=ea.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},na=Symbol(`_vtc`);function ra(e,t,n){let r=e[na];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var ia=Symbol(`_vod`),aa=Symbol(`_vsh`),oa=Symbol(``),sa=/(?:^|;)\s*display\s*:/;function ca(e,t,n){let r=e.style,i=_(n),a=!1;if(n&&!i){if(t){if(_(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??ua(r,t,``)}else for(let e in t)n[e]??ua(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?ua(r,i,``):ma(e,i,!_(t)&&t?t[i]:void 0,o)||ua(r,i,o)}}else if(i){if(t!==n){let e=r[oa];e&&(n+=`;`+e),r.cssText=n,a=sa.test(n)}}else t&&e.removeAttribute(`style`);ia in e&&(i&&t===n||(e[ia]=a?r.display:``),e[aa]&&(r.display=`none`))}var la=/\s*!important$/;function ua(e,t,n){if(f(n))n.forEach(n=>ua(e,t,n));else if(n??=``,t.startsWith(`--`))la.test(n)?e.setProperty(t,n.replace(la,``),`important`):e.setProperty(t,n);else{let r=pa(e,t);la.test(n)?e.setProperty(O(r),n.replace(la,``),`important`):e[r]=n}}var da=[`Webkit`,`Moz`,`ms`],fa={};function pa(e,t){let n=fa[t];if(n)return n;let r=D(t);if(r!==`filter`&&r in e)return fa[t]=r;r=re(r);for(let n=0;n<da.length;n++){let i=da[n]+r;if(i in e)return fa[t]=i}return t}function ma(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&_(r)&&n===r}var ha=`http://www.w3.org/1999/xlink`;function ga(e,t,n,r,i,a=ge(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(ha,t.slice(6,t.length)):e.setAttributeNS(ha,t,n):n==null||a&&!_e(n)?e.removeAttribute(t):e.setAttribute(t,a?``:v(n)?String(n):n)}function _a(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?Xi(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);r===i&&`_value`in e||(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=_e(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function va(e,t,n,r){e.addEventListener(t,n,r)}function ya(e,t,n,r){e.removeEventListener(t,n,r)}var ba=Symbol(`_vei`);function xa(e,t,n,r,i=null){let a=e[ba]||(e[ba]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=wa(t);r?va(e,n,a[t]=Oa(r,i),s):o&&(ya(e,n,o,s),a[t]=void 0)}}var Sa=/(Once|Passive|Capture)$/,Ca=/^on:?(?:Once|Passive|Capture)$/;function wa(e){let t,n;for(;(n=e.match(Sa))&&!Ca.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):O(e.slice(2)),t]}var Ta=0,Ea=Promise.resolve(),Da=()=>Ta||=(Ea.then(()=>Ta=0),Date.now());function Oa(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(f(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&H(e,t,5,a)}}else H(r,t,5,[e])};return n.value=e,n.attached=Da(),n}var ka=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Aa=(e,t,n,r,i,a)=>{let c=i===`svg`;t===`class`?ra(e,r,c):t===`style`?ca(e,n,r):o(t)?s(t)||xa(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):ja(e,t,r,c))?(_a(e,t,r),e.tagName.includes(`-`)||t!==`value`&&t!==`checked`&&t!==`selected`||ga(e,t,r,c,a,t!==`value`)):e._isVueCE&&(Ma(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!_(r)))?_a(e,D(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),ga(e,t,r,c))};function ja(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&ka(t)&&g(n));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`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return ka(t)&&_(n)?!1:t in e}function Ma(e,t){let n=e._def.props;if(!n)return!1;let r=D(t);return Array.isArray(n)?n.some(e=>D(e)===r):Object.keys(n).some(e=>D(e)===r)}var Na={};function Pa(e,t,n){let r=zn(e,t);w(r)&&(r=c({},r,t));class i extends Ia{constructor(e){super(r,e,n)}}return i.def=r,i}var Fa=typeof HTMLElement<`u`?HTMLElement:class{},Ia=class e extends Fa{constructor(e,t={},n=Ga){super(),this._def=e,this._props=t,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!==Ga?this._root=this.shadowRoot:e.shadowRoot===!1?this._root=this:(this.attachShadow(c({},e.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t&&=t.assignedSlot||t.parentNode||t.host;)if(t instanceof e){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(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,dn(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(e){for(let t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});let e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;let{props:n,styles:r}=e,i;if(n&&!f(n))for(let e in n){let t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=ce(this._props[e])),(i||=Object.create(null))[D(e)]=!0)}this._numberProps=i,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._connected&&this._mount(e)},t=this._def.__asyncLoader;if(t)return this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}),this._pendingResolve;e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let t=this._instance&&this._instance.exposed;if(t)for(let e in t)d(this,e)||Object.defineProperty(this,e,{get:()=>V(t[e])})}_resolveProps(e){let{props:t}=e,n=f(t)?t:Object.keys(t||{});for(let e of Object.keys(this))e[0]!==`_`&&n.includes(e)&&this._setProp(e,this[e]);for(let e of n.map(D))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith(`data-v-`))return;let t=this.hasAttribute(e),n=t?this.getAttribute(e):Na,r=D(e);t&&this._numberProps&&this._numberProps[r]&&(n=ce(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(this._dirty=!0,t===Na?delete this._props[e]:(this._props[e]=t,e===`key`&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){let n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),t===!0?this.setAttribute(O(e),``):typeof t==`string`||typeof t==`number`?this.setAttribute(O(e),t+``):t||this.removeAttribute(O(e)),n&&n.observe(this,{attributes:!0})}}_update(){let e=this._createVNode();this._app&&(e.appContext=this._app._context),Wa(e,this._root)}_createVNode(){let e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));let t=Q(this._def,c(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;let t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,w(t[0])?c({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),O(e)!==e&&t(O(e),n)},this._setParent()}),t}_applyStyles(e,t,n){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}let r=this._nonce,i=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i),o=null;for(let s=e.length-1;s>=0;s--){let c=document.createElement(`style`);r&&c.setAttribute(`nonce`,r),c.textContent=e[s],i.insertBefore(c,o||a),o=c,s===0&&(n||this._styleAnchors.set(this._def,c),t&&this._styleAnchors.set(t,c))}}_getStyleAnchor(e){if(!e)return null;let t=this._styleAnchors.get(e);return t&&t.parentNode===this.shadowRoot?t:(t&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){let e=this._slots={},t;for(;t=this.firstChild;){let n=t.nodeType===1&&t.getAttribute(`slot`)||`default`;(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){let e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){let r=e[n],i=r.getAttribute(`name`)||`default`,a=this._slots[i],o=r.parentNode;if(a)for(let e of a){if(t&&e.nodeType===1){let n=t+`-s`,r=document.createTreeWalker(e,1);e.setAttribute(n,``);let i;for(;i=r.nextNode();)i.setAttribute(n,``)}o.insertBefore(e,r)}else for(;r.firstChild;)o.insertBefore(r.firstChild,r);o.removeChild(r)}}_getSlots(){let e=[this];this._teleportTargets&&e.push(...this._teleportTargets);let t=new Set;for(let n of e){let e=n.querySelectorAll(`slot`);for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e,t){this._applyStyles(e.styles,e,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}};function La(e){let t=ki();return t&&t.ce||null}var Ra=[`ctrl`,`shift`,`alt`,`meta`],za={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>Ra.some(n=>e[`${n}Key`]&&!t.includes(n))},Ba=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=za[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Va=c({patchProp:Aa},ta),Ha;function Ua(){return Ha||=Vr(Va)}var Wa=((...e)=>{Ua().render(...e)}),Ga=((...e)=>{let t=Ua().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=qa(e);if(!r)return;let i=t._component;g(i)||i.render||i.template||(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Ka(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t});function Ka(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function qa(e){return _(e)?document.querySelector(e):e}var Ja=500,Ya=100;function Xa(){let e=Ut(``),t;function n(){clearTimeout(t),e.value=``}function r(r){n(),t=setTimeout(()=>{e.value=r},Ya)}function i(r){n(),t=setTimeout(()=>{e.value=r()},Ja)}return Zn(()=>clearTimeout(t)),{announcement:e,announceNow:r,announceOnceTypingPauses:i,clear:n}}function Za(e,t){kn(()=>{let n=e.states;if(n)for(let[e,r]of Object.entries(t()))r?n.add(e):n.delete(e)})}function Qa({props:e,announceNow:t}){let n=Ut(!1);function r(r){let i=r.getModifierState(`CapsLock`);i&&!n.value&&t(e.textCapsLock),n.value=i}function i(){n.value=!1}return{capsLockOn:n,readCapsLock:r,forgetCapsLock:i}}var $a={current:`current-password`,new:`new-password`};function eo(e){return e===`current`||e===`new`}function to(e){return eo(e)?e:`current`}function no(e,t){return t?.trim()?t:$a[e]}var ro=[`lowercase`,`uppercase`,`digit`,`symbol`],io={lowercase:/\p{Ll}/u,uppercase:/[\p{Lu}\p{Lt}]/u,digit:/\p{Nd}/u,symbol:/[^\p{L}\p{N}\s]/u},ao={lowercase:`lower`,uppercase:`upper`,digit:`digit`,symbol:`special`};function oo(e){if(e==null||e===``)return null;let t=Number(e);return Number.isInteger(t)&&t>0?t:null}function so(e){return ro.includes(e)}function co(e){let t=oo(e.minlength)??8,n=oo(e.maxlength),r=String(e.requirements??``).toLowerCase().split(/[\s,]+/).filter(Boolean);return{minLength:t,maxLength:n!==null&&n>=t?n:null,classes:ro.filter(e=>r.includes(e)),unknown:[...new Set(r.filter(e=>!so(e)))]}}function lo(e){return[...e].length}function uo(e,t){return[{requirement:`length`,met:lo(e)>=t.minLength},...t.classes.map(t=>({requirement:t,met:io[t].test(e)}))]}function fo(e,t){return uo(e,t).every(e=>e.met)}function po(e,t){return t.maxLength!==null&&lo(e)>t.maxLength}function mo(e){return[`minlength: ${e.minLength};`,e.maxLength!==null&&`maxlength: ${e.maxLength};`,...e.classes.map(e=>`required: ${ao[e]};`),`allowed: lower, upper, digit, special;`].filter(Boolean).join(` `)}function ho(e){let t=$(()=>to(e.purpose)),n=$(()=>t.value===`new`?co({minlength:e.minlength,maxlength:e.maxlength,requirements:e.requirements}):null);return{purpose:t,ruleOptions:n,autocomplete:$(()=>no(t.value,e.autocomplete)),rulesForPasswordManagers:$(()=>n.value?mo(n.value):void 0)}}function go(e){function t(t){let n={value:e.value,requirementsMet:e.requirementsMet};e.dispatchEvent(new CustomEvent(t,{bubbles:!0,composed:!0,detail:n}))}return{dispatchInput:()=>t(`input`),dispatchChange:()=>t(`change`)}}function _o(e,t){let n=new Map(e.map(e=>[e.requirement,e.met])),r=t.filter(e=>n.get(e.requirement)!==e.met);return r.length===0?null:{met:r.filter(e=>e.met).map(e=>e.requirement),unmet:r.filter(e=>!e.met).map(e=>e.requirement),allMet:t.every(e=>e.met)}}function vo({host:e,props:t,ruleOptions:n,announceOnceTypingPauses:r}){let i=$(()=>n.value?uo(e.state.value,n.value):[]),a=$(()=>i.value.map(e=>({...e,text:c(e.requirement)}))),o=i.value,s=!1;function c(e){return{length:t.textRuleLength.replaceAll(`{minlength}`,String(n.value?.minLength??``)),lowercase:t.textRuleLowercase,uppercase:t.textRuleUppercase,digit:t.textRuleDigit,symbol:t.textRuleSymbol}[e]}function l(e){return e.allMet?t.textAllMet:i.value.filter(t=>e.met.includes(t.requirement)||e.unmet.includes(t.requirement)).map(e=>`${c(e.requirement)}, ${e.met?t.textRuleMet:t.textRuleUnmet}`).join(`. `)}function u(){n.value&&(s=!0,r(()=>{s=!1;let e=_o(o,i.value);return o=i.value,e?l(e):``}))}return An(i,e=>{s||(o=e)}),{requirementItems:a,reportUserChange:u}}function yo({host:e,props:t,input:n,announceNow:r}){let i=$(()=>e.state.revealed),a=$(()=>i.value?`text`:`password`),o=$(()=>i.value?t.textHideLabel:t.textShowLabel);function s(){e.revealed=!e.revealed,r(e.revealed?t.textShown:t.textHidden)}function c(){e.revealed=!1}function l(e){e.target===n.value?.form&&c()}return Xn(()=>{window.addEventListener(`submit`,l,!0),window.addEventListener(`reset`,l,!0),window.addEventListener(`pagehide`,c)}),Zn(()=>{window.removeEventListener(`submit`,l,!0),window.removeEventListener(`reset`,l,!0),window.removeEventListener(`pagehide`,c)}),{revealed:i,inputType:a,toggleLabel:o,toggleByUser:s}}function bo({value:e,required:t,ruleOptions:n,customError:r},i){return r?{flag:`customError`,message:r}:e===``?t?{flag:`valueMissing`,message:i.required}:null:n?po(e,n)?{flag:`tooLong`,message:i.tooLong.replaceAll(`{maxlength}`,String(n.maxLength))}:fo(e,n)?null:{flag:`unmet`,message:i.unmet}:null}function xo({host:e,props:t,input:n,ruleOptions:r}){let{state:i}=e,a=$(()=>bo({value:i.value,required:t.required,ruleOptions:r.value,customError:i.customError},{required:t.textRequired,unmet:t.textUnmet,tooLong:t.textTooLong})),o=$(()=>i.errorsVisible?a.value:null);function s(){i.edited=!0,i.customError=``}function c(){i.errorsVisible=!0}function l(){i.edited&&c()}function u(e){e.target===n.value?.form&&(i.edited=!1,i.errorsVisible=!1,i.customError=``)}return kn(()=>n.value?.setCustomValidity(a.value?.message??``),{flush:`sync`}),Xn(()=>window.addEventListener(`reset`,u,!0)),Zn(()=>window.removeEventListener(`reset`,u,!0)),{visibleError:o,markEdited:s,revealErrors:c,revealErrorsIfEdited:l}}function So({host:e,input:t}){function n(){t.value&&(e.state.value=t.value.value)}function r(e){e.target===t.value?.form&&setTimeout(n)}return Xn(()=>{n(),window.addEventListener(`reset`,r,!0)}),Zn(()=>window.removeEventListener(`reset`,r,!0)),{syncFromInput:n}}var Co=0;function wo(e){return Co+=1,`${e}-${Co}`}var To={required:!1,disabled:!1,readonly:!1,textShow:`Show`,textHide:`Hide`,textShowLabel:`Show password`,textHideLabel:`Hide password`,textShown:`Your password is shown`,textHidden:`Your password is hidden`,textRequirements:`Your password must have:`,textRuleLength:`At least {minlength} characters`,textRuleLowercase:`A lowercase letter`,textRuleUppercase:`An uppercase letter`,textRuleDigit:`A number`,textRuleSymbol:`A symbol, like ! or #`,textRuleMet:`done`,textRuleUnmet:`not yet`,textAllMet:`All requirements met`,textCapsLock:`Caps Lock is on`,textRequired:`Enter a password`,textUnmet:`Your password does not meet all the requirements`,textTooLong:`Use {maxlength} characters or fewer`},Eo={class:`tes-password__field`},Do=[`for`],Oo=[`id`,`type`,`name`,`^value`,`autocomplete`,`passwordrules`,`aria-describedby`,`aria-invalid`,`required`,`disabled`,`readonly`],ko=[`aria-label`],Ao={class:`tes-password__requirements-title`},jo={class:`tes-password__requirements-list`},Mo={key:0,class:`tes-password__icon tes-password__icon--met`,viewBox:`0 0 16 16`,"aria-hidden":`true`,focusable:`false`},No={key:1,class:`tes-password__icon tes-password__icon--unmet`,viewBox:`0 0 16 16`,"aria-hidden":`true`,focusable:`false`},Po={class:`tes-password__visually-hidden`},Fo={role:`status`,class:`tes-password__visually-hidden`},Io=Pa(zn({inheritAttrs:!1,__name:`TesPassword`,props:sr({label:{},name:{},hint:{},required:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},purpose:{},minlength:{},maxlength:{},requirements:{},autocomplete:{},textShow:{},textHide:{},textShowLabel:{},textHideLabel:{},textShown:{},textHidden:{},textRequirements:{},textRuleLength:{},textRuleLowercase:{},textRuleUppercase:{},textRuleDigit:{},textRuleSymbol:{},textRuleMet:{},textRuleUnmet:{},textAllMet:{},textCapsLock:{},textRequired:{},textUnmet:{},textTooLong:{}},To),setup(e){let t=e,n=ir(),r=La(),i=Vn(`input`),a=wo(`tes-password`),o=`${a}-requirements`,s=`${a}-caps-lock`,c=`${a}-hint`,l=`${a}-error`,u=$(()=>typeof n.value==`string`?n.value:void 0),{announcement:d,announceNow:f,announceOnceTypingPauses:p}=Xa(),{ruleOptions:m,autocomplete:h,rulesForPasswordManagers:g}=ho(t),{revealed:_,inputType:v,toggleLabel:y,toggleByUser:b}=yo({host:r,props:t,input:i,announceNow:f}),{syncFromInput:x}=So({host:r,input:i}),{requirementItems:S,reportUserChange:C}=vo({host:r,props:t,ruleOptions:m,announceOnceTypingPauses:p}),{capsLockOn:w,readCapsLock:T,forgetCapsLock:ee}=Qa({props:t,announceNow:f}),{visibleError:E,markEdited:te,revealErrors:D,revealErrorsIfEdited:ne}=xo({host:r,props:t,input:i,ruleOptions:m}),O=$(()=>{let e=[t.hint&&c,S.value.length>0&&o,w.value&&s,E.value&&l].filter(Boolean);return e.length>0?e.join(` `):void 0}),{dispatchInput:re,dispatchChange:ie}=go(r);function k(){te(),x(),C(),re()}An(()=>t.disabled,e=>{e&&(r.revealed=!1)}),Za(r.internals,()=>({invalid:E.value!==null,empty:r.state.value===``,revealed:_.value,"requirements-met":S.value.length>0&&S.value.every(e=>e.met),"caps-lock":w.value}));function ae(){ee(),ne()}return(t,n)=>(ri(),ci(`div`,Eo,[Z(`label`,{for:V(a),class:`tes-password__label`},j(e.label),9,Do),Z(`div`,{class:he([`tes-password__control`,{"tes-password__control--invalid":V(E)}])},[Z(`input`,{id:V(a),ref_key:`input`,ref:i,class:`tes-password__input`,type:V(v),name:e.name,"^value":u.value,autocomplete:V(h),passwordrules:V(g),"aria-describedby":O.value,"aria-invalid":V(E)?`true`:void 0,required:e.required,disabled:e.disabled,readonly:e.readonly,spellcheck:`false`,autocapitalize:`off`,autocorrect:`off`,onInput:Ba(k,[`stop`]),onChange:n[0]||=Ba((...e)=>V(ie)&&V(ie)(...e),[`stop`]),onKeydown:n[1]||=(...e)=>V(T)&&V(T)(...e),onKeyup:n[2]||=(...e)=>V(T)&&V(T)(...e),onPointerdown:n[3]||=(...e)=>V(T)&&V(T)(...e),onBlur:ae,onInvalid:n[4]||=(...e)=>V(D)&&V(D)(...e)},null,40,Oo),Z(`button`,{type:`button`,class:`tes-password__toggle`,"aria-label":V(y),onClick:n[5]||=(...e)=>V(b)&&V(b)(...e)},[Z(`span`,{class:he([`tes-password__toggle-text`,{"tes-password__toggle-text--inactive":V(_)}])},j(e.textShow),3),Z(`span`,{class:he([`tes-password__toggle-text`,{"tes-password__toggle-text--inactive":!V(_)}])},j(e.textHide),3)],8,ko)],2),e.hint?(ri(),ci(`p`,{key:0,id:c,class:`tes-password__hint`},j(e.hint),1)):vi(``,!0),V(w)?(ri(),ci(`p`,{key:1,id:s,class:`tes-password__caps-lock`},j(e.textCapsLock),1)):vi(``,!0),V(S).length?(ri(),ci(`div`,{key:2,id:o,class:`tes-password__requirements`},[Z(`p`,Ao,j(e.textRequirements),1),Z(`ul`,jo,[(ri(!0),ci(J,null,$n(V(S),t=>(ri(),ci(`li`,{key:t.requirement,class:he([`tes-password__requirement`,{"tes-password__requirement--met":t.met}])},[t.met?(ri(),ci(`svg`,Mo,[...n[6]||=[Z(`path`,{d:`M3.5 8.5l3 3 6-7`},null,-1)]])):(ri(),ci(`svg`,No,[...n[7]||=[Z(`circle`,{cx:`8`,cy:`8`,r:`5`},null,-1)]])),Z(`span`,null,j(t.text),1),Z(`span`,Po,`, `+j(t.met?e.textRuleMet:e.textRuleUnmet),1)],2))),128))])])):vi(``,!0),Z(`p`,{id:l,class:`tes-password__error`,"aria-live":`polite`},j(V(E)?.message),1),Z(`div`,Fo,j(V(d)),1)]))}}),{shadowRoot:!1}),Lo=class extends Io{state=Pt({revealed:!1,value:``,edited:!1,errorsVisible:!1,customError:``});internals;pendingValue=null;constructor(e){super(e),this.internals=this.attachInternals()}get revealed(){return this.state.revealed}set revealed(e){e!==this.state.revealed&&(this.state.revealed=e,this.syncInputType(),this.dispatchEvent(new CustomEvent(`revealchange`,{bubbles:!0,composed:!0,detail:{revealed:e}})))}get value(){return this.input?.value??this.pendingValue??this.defaultValue}set value(e){let t=this.input;t?t.value=e:this.pendingValue=e,this.state.value=e}get requirementsMet(){if(to(this.getAttribute(`purpose`))!==`new`)return!0;let e=co({minlength:this.getAttribute(`minlength`),maxlength:this.getAttribute(`maxlength`),requirements:this.getAttribute(`requirements`)});return fo(this.state.value,e)}get defaultValue(){return this.getAttribute(`value`)??``}set defaultValue(e){this.setAttribute(`value`,e)}get minLength(){return co({minlength:this.getAttribute(`minlength`)}).minLength}set minLength(e){this.setAttribute(`minlength`,String(e))}get maxLength(){return co({minlength:1,maxlength:this.getAttribute(`maxlength`)}).maxLength??-1}set maxLength(e){this.setAttribute(`maxlength`,String(e))}get readOnly(){return this.hasAttribute(`readonly`)}set readOnly(e){this.toggleAttribute(`readonly`,e)}get form(){return this.input?.form??null}get validity(){return(this.input??document.createElement(`input`)).validity}get validationMessage(){return this.input?.validationMessage??``}get willValidate(){return this.input?.willValidate??!1}setCustomValidity(e){this.state.customError=e,e&&(this.state.errorsVisible=!0)}checkValidity(){return this.input?.checkValidity()??!0}reportValidity(){return this.input?.reportValidity()??!0}connectedCallback(){super.connectedCallback(),this.applyPendingValue()}focus(e){this.input?.focus(e)}get input(){return this.querySelector(`.tes-password__input`)}syncInputType(){let e=this.input;e&&(e.type=this.state.revealed?`text`:`password`)}applyPendingValue(){let e=this.input;e&&this.pendingValue!==null&&(e.value=this.pendingValue,this.state.value=this.pendingValue,this.pendingValue=null)}},Ro=`:where(tes-password){--_text:var(--tes-color-text,light-dark(#1f2328,#e8eaee));--_muted:var(--tes-color-muted,light-dark(#59636e,#a3adba));--_bg:var(--tes-color-bg,light-dark(#fff,#16181d));--_border:var(--tes-color-border,light-dark(#7d8590,#7f8a99));--_accent:var(--tes-color-accent,light-dark(#0b5fcc,#7aa7ff));--_on-accent:var(--tes-color-on-accent,light-dark(#fff,#0d1117));--_hover:var(--tes-color-hover,light-dark(#eef3fb,#232a36));--_focus:var(--tes-color-focus,light-dark(#0b5fcc,#7aa7ff));--_error:var(--tes-color-error,light-dark(#c4232b,#ff8a80));--_success:var(--tes-color-success,light-dark(#1f7a3a,#4cc26a));--_radius:var(--tes-radius,.375rem);--_space:var(--tes-space,.5rem);--_control-height:2.75rem;color:var(--_text);font-family:var(--tes-font-family);font-size:var(--tes-font-size);display:inline-block}:where(tes-password[hidden]){display:none}:where(.tes-password__field){gap:calc(var(--_space) / 2);grid-template-columns:minmax(0,1fr);display:grid}:where(.tes-password__label){font-weight:500}:where(.tes-password__control){box-sizing:border-box;block-size:var(--_control-height);border:1px solid var(--_border);border-radius:var(--_radius);background:var(--_bg);display:flex}:where(.tes-password__control--invalid){border:2px solid var(--_error)}:where(.tes-password__control:has(.tes-password__input:focus-visible)){outline:2px solid var(--_focus);outline-offset:2px}:where(.tes-password__input){box-sizing:border-box;border-radius:var(--_radius);min-inline-size:0;color:var(--_text);font:inherit;background:0 0;border:0;outline:none;flex:1;margin:0;padding-inline:.75rem;font-size:max(1em,16px)}:where(.tes-password__toggle){border-radius:var(--_radius);min-inline-size:2.75rem;color:var(--_accent);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;place-items:center;margin:0;padding-inline:.75rem;font-weight:500;display:grid}:where(.tes-password__control:has(.tes-password__input:disabled)){background:color-mix(in srgb, var(--_muted) 12%, var(--_bg))}:where(.tes-password__input:disabled){color:var(--_muted);cursor:not-allowed}:where(.tes-password__input:disabled~.tes-password__toggle){display:none}:where(.tes-password__toggle-text){grid-area:1/1}:where(.tes-password__toggle-text--inactive){visibility:hidden}:where(.tes-password__toggle:hover){background:var(--_hover)}:where(.tes-password__toggle:focus-visible){outline:2px solid var(--_focus);outline-offset:-2px}:where(.tes-password__hint){color:var(--_muted);margin:0;padding-block-start:.25rem;font-size:.875em}:where(.tes-password__caps-lock){margin:0;padding-block-start:.25rem;font-size:.875em;font-weight:500}:where(.tes-password__requirements){color:var(--_muted);padding-block-start:.25rem;font-size:.875em}:where(.tes-password__requirements-title){margin:0}:where(.tes-password__requirements-list){gap:.125rem;margin:.25rem 0 0;padding:0;list-style:none;display:grid}:where(.tes-password__requirement){align-items:center;gap:.375rem;margin:0;display:flex}:where(.tes-password__requirement--met){color:var(--_text)}:where(.tes-password__icon){fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;flex:none;block-size:1em;inline-size:1em}:where(.tes-password__icon--met){stroke:var(--_success);stroke-width:2px}:where(.tes-password__error){color:var(--_error);margin:0;font-size:.875em;font-weight:500}:where(.tes-password__error:empty){display:none}:where(.tes-password__visually-hidden){clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (forced-colors:active){:where(.tes-password__control:has(.tes-password__input:focus-visible)),:where(.tes-password__toggle:focus-visible){outline-color:highlight}:where(.tes-password__input:disabled){color:graytext}}`,zo=`:where(tes-password`;function Bo(e){return Ro.replaceAll(zo,`:where(${e}`)}function Vo(e){if(typeof document>`u`||typeof CSSStyleSheet>`u`)return;let t=new CSSStyleSheet;t.replaceSync(Bo(e)),document.adoptedStyleSheets=[...document.adoptedStyleSheets,t]}var Ho=`tes-password`;function Uo(e=Ho){if(typeof customElements>`u`||customElements.get(e))return;let t=class extends Lo{};customElements.define(e,e===`tes-password`?Lo:t),Vo(e)}return Uo(),e.TAG_NAME=Ho,e.TesPasswordElement=Lo,e.define=Uo,e})({});
|
|
2
2
|
//# sourceMappingURL=tes-password.iife.js.map
|