function Go(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const le={},Bn=[],lt=()=>{},wl=()=>!1,ss=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),zo=e=>e.startsWith("onUpdate:"),xe=Object.assign,Xo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Oh=Object.prototype.hasOwnProperty,oe=(e,t)=>Oh.call(e,t),z=Array.isArray,kn=e=>Kr(e)==="[object Map]",os=e=>Kr(e)==="[object Set]",tf=e=>Kr(e)==="[object Date]",Q=e=>typeof e=="function",ye=e=>typeof e=="string",ht=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",_l=e=>(fe(e)||Q(e))&&Q(e.then)&&Q(e.catch),xl=Object.prototype.toString,Kr=e=>xl.call(e),Sh=e=>Kr(e).slice(8,-1),Ol=e=>Kr(e)==="[object Object]",as=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yr=Go(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Th=/-\w/g,it=fs(e=>e.replace(Th,t=>t.slice(1).toUpperCase())),Ah=/\B([A-Z])/g,dn=fs(e=>e.replace(Ah,"-$1").toLowerCase()),cs=fs(e=>e.charAt(0).toUpperCase()+e.slice(1)),wi=fs(e=>e?`on${cs(e)}`:""),an=(e,t)=>!Object.is(e,t),_i=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Jo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Eh=e=>{const t=ye(e)?Number(e):NaN;return isNaN(t)?e:t};let nf;const ls=()=>nf||(nf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function us(e){if(z(e)){const t={};for(let n=0;n{if(n){const r=n.split(Ch);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ds(e){let t="";if(ye(e))t=e;else if(z(e))for(let n=0;nVn(n,t))}const El=e=>!!(e&&e.__v_isRef===!0),Lh=e=>ye(e)?e:e==null?"":z(e)||fe(e)&&(e.toString===xl||!Q(e.toString))?El(e)?Lh(e.value):JSON.stringify(e,$l,2):String(e),$l=(e,t)=>El(t)?$l(e,t.value):kn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],s)=>(n[Is(r,s)+" =>"]=i,n),{})}:os(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Is(n))}:ht(t)?Is(t):fe(t)&&!z(t)&&!Ol(t)?String(t):t,Is=(e,t="")=>{var n;return ht(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Ce;class Cl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ce,!t&&Ce&&(this.index=(Ce.scopes||(Ce.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(Ce=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(br){let t=br;for(br=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;vr;){let t=vr;for(vr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Fl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ll(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),ea(r),Nh(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function so(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Il(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Il(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Cr)||(e.globalVersion=Cr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!so(e))))return;e.flags|=2;const t=e.dep,n=he,r=ut;he=e,ut=!0;try{Fl(e);const i=e.fn(e._value);(t.version===0||an(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{he=n,ut=r,Ll(e),e.flags&=-3}}function ea(e,t=!1){const{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 s=n.computed.deps;s;s=s.nextDep)ea(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Nh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ut=!0;const Nl=[];function Ut(){Nl.push(ut),ut=!1}function Vt(){const e=Nl.pop();ut=e===void 0?!0:e}function rf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=he;he=void 0;try{t()}finally{he=n}}}let Cr=0;class Bh{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class hs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!he||!ut||he===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==he)n=this.activeLink=new Bh(he,this),he.deps?(n.prevDep=he.depsTail,he.depsTail.nextDep=n,he.depsTail=n):he.deps=he.depsTail=n,Bl(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=he.depsTail,n.nextDep=void 0,he.depsTail.nextDep=n,he.depsTail=n,he.deps===n&&(he.deps=r)}return n}trigger(t){this.version++,Cr++,this.notify(t)}notify(t){Zo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Qo()}}}function Bl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Bl(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Wi=new WeakMap,xn=Symbol(""),oo=Symbol(""),Mr=Symbol("");function Me(e,t,n){if(ut&&he){let r=Wi.get(e);r||Wi.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new hs),i.map=r,i.key=n),i.track()}}function Ht(e,t,n,r,i,s){const o=Wi.get(e);if(!o){Cr++;return}const a=f=>{f&&f.trigger()};if(Zo(),t==="clear")o.forEach(a);else{const f=z(e),l=f&&as(n);if(f&&n==="length"){const c=Number(r);o.forEach((u,d)=>{(d==="length"||d===Mr||!ht(d)&&d>=c)&&a(u)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),l&&a(o.get(Mr)),t){case"add":f?l&&a(o.get("length")):(a(o.get(xn)),kn(e)&&a(o.get(oo)));break;case"delete":f||(a(o.get(xn)),kn(e)&&a(o.get(oo)));break;case"set":kn(e)&&a(o.get(xn));break}}Qo()}function kh(e,t){const n=Wi.get(e);return n&&n.get(t)}function Ln(e){const t=re(e);return t===e?t:(Me(t,"iterate",Mr),Ze(e)?t:t.map(pt))}function ps(e){return Me(e=re(e),"iterate",Mr),e}function en(e,t){return Yt(e)?On(e)?Yn(pt(t)):Yn(t):pt(t)}const Hh={__proto__:null,[Symbol.iterator](){return Bs(this,Symbol.iterator,e=>en(this,e))},concat(...e){return Ln(this).concat(...e.map(t=>z(t)?Ln(t):t))},entries(){return Bs(this,"entries",e=>(e[1]=en(this,e[1]),e))},every(e,t){return It(this,"every",e,t,void 0,arguments)},filter(e,t){return It(this,"filter",e,t,n=>n.map(r=>en(this,r)),arguments)},find(e,t){return It(this,"find",e,t,n=>en(this,n),arguments)},findIndex(e,t){return It(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return It(this,"findLast",e,t,n=>en(this,n),arguments)},findLastIndex(e,t){return It(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return It(this,"forEach",e,t,void 0,arguments)},includes(...e){return ks(this,"includes",e)},indexOf(...e){return ks(this,"indexOf",e)},join(e){return Ln(this).join(e)},lastIndexOf(...e){return ks(this,"lastIndexOf",e)},map(e,t){return It(this,"map",e,t,void 0,arguments)},pop(){return cr(this,"pop")},push(...e){return cr(this,"push",e)},reduce(e,...t){return sf(this,"reduce",e,t)},reduceRight(e,...t){return sf(this,"reduceRight",e,t)},shift(){return cr(this,"shift")},some(e,t){return It(this,"some",e,t,void 0,arguments)},splice(...e){return cr(this,"splice",e)},toReversed(){return Ln(this).toReversed()},toSorted(e){return Ln(this).toSorted(e)},toSpliced(...e){return Ln(this).toSpliced(...e)},unshift(...e){return cr(this,"unshift",e)},values(){return Bs(this,"values",e=>en(this,e))}};function Bs(e,t,n){const r=ps(e),i=r[t]();return r!==e&&!Ze(e)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=n(s.value)),s}),i}const jh=Array.prototype;function It(e,t,n,r,i,s){const o=ps(e),a=o!==e&&!Ze(e),f=o[t];if(f!==jh[t]){const u=f.apply(e,s);return a?pt(u):u}let l=n;o!==e&&(a?l=function(u,d){return n.call(this,en(e,u),d,e)}:n.length>2&&(l=function(u,d){return n.call(this,u,d,e)}));const c=f.call(o,l,r);return a&&i?i(c):c}function sf(e,t,n,r){const i=ps(e);let s=n;return i!==e&&(Ze(e)?n.length>3&&(s=function(o,a,f){return n.call(this,o,a,f,e)}):s=function(o,a,f){return n.call(this,o,en(e,a),f,e)}),i[t](s,...r)}function ks(e,t,n){const r=re(e);Me(r,"iterate",Mr);const i=r[t](...n);return(i===-1||i===!1)&&gs(n[0])?(n[0]=re(n[0]),r[t](...n)):i}function cr(e,t,n=[]){Ut(),Zo();const r=re(e)[t].apply(e,n);return Qo(),Vt(),r}const qh=Go("__proto__,__v_isRef,__isVue"),kl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ht));function Wh(e){ht(e)||(e=String(e));const t=re(this);return Me(t,"has",e),t.hasOwnProperty(e)}class Hl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?Qh:Ul:s?Wl:ql).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=z(t);if(!i){let f;if(o&&(f=Hh[n]))return f;if(n==="hasOwnProperty")return Wh}const a=Reflect.get(t,n,be(t)?t:r);if((ht(n)?kl.has(n):qh(n))||(i||Me(t,"get",n),s))return a;if(be(a)){const f=o&&as(n)?a:a.value;return i&&fe(f)?Rr(f):f}return fe(a)?i?Rr(a):Pr(a):a}}class jl extends Hl{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];const o=z(t)&&as(n);if(!this._isShallow){const l=Yt(s);if(!Ze(r)&&!Yt(r)&&(s=re(s),r=re(r)),!o&&be(s)&&!be(r))return l||(s.value=r),!0}const a=o?Number(n)e,ai=e=>Reflect.getPrototypeOf(e);function Gh(e,t,n){return function(...r){const i=this.__v_raw,s=re(i),o=kn(s),a=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,l=i[e](...r),c=n?ao:t?Yn:pt;return!t&&Me(s,"iterate",f?oo:xn),{next(){const{value:u,done:d}=l.next();return d?{value:u,done:d}:{value:a?[c(u[0]),c(u[1])]:c(u),done:d}},[Symbol.iterator](){return this}}}}function fi(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function zh(e,t){const n={get(i){const s=this.__v_raw,o=re(s),a=re(i);e||(an(i,a)&&Me(o,"get",i),Me(o,"get",a));const{has:f}=ai(o),l=t?ao:e?Yn:pt;if(f.call(o,i))return l(s.get(i));if(f.call(o,a))return l(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!e&&Me(re(i),"iterate",xn),i.size},has(i){const s=this.__v_raw,o=re(s),a=re(i);return e||(an(i,a)&&Me(o,"has",i),Me(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,f=re(a),l=t?ao:e?Yn:pt;return!e&&Me(f,"iterate",xn),a.forEach((c,u)=>i.call(s,l(c),l(u),o))}};return xe(n,e?{add:fi("add"),set:fi("set"),delete:fi("delete"),clear:fi("clear")}:{add(i){!t&&!Ze(i)&&!Yt(i)&&(i=re(i));const s=re(this);return ai(s).has.call(s,i)||(s.add(i),Ht(s,"add",i,i)),this},set(i,s){!t&&!Ze(s)&&!Yt(s)&&(s=re(s));const o=re(this),{has:a,get:f}=ai(o);let l=a.call(o,i);l||(i=re(i),l=a.call(o,i));const c=f.call(o,i);return o.set(i,s),l?an(s,c)&&Ht(o,"set",i,s):Ht(o,"add",i,s),this},delete(i){const s=re(this),{has:o,get:a}=ai(s);let f=o.call(s,i);f||(i=re(i),f=o.call(s,i)),a&&a.call(s,i);const l=s.delete(i);return f&&Ht(s,"delete",i,void 0),l},clear(){const i=re(this),s=i.size!==0,o=i.clear();return s&&Ht(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Gh(i,e,t)}),n}function ta(e,t){const n=zh(e,t);return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(oe(n,i)&&i in r?n:r,i,s)}const Xh={get:ta(!1,!1)},Jh={get:ta(!1,!0)},Zh={get:ta(!0,!1)};const ql=new WeakMap,Wl=new WeakMap,Ul=new WeakMap,Qh=new WeakMap;function ep(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tp(e){return e.__v_skip||!Object.isExtensible(e)?0:ep(Sh(e))}function Pr(e){return Yt(e)?e:na(e,!1,Vh,Xh,ql)}function np(e){return na(e,!1,Kh,Jh,Wl)}function Rr(e){return na(e,!0,Yh,Zh,Ul)}function na(e,t,n,r,i){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=tp(e);if(s===0)return e;const o=i.get(e);if(o)return o;const a=new Proxy(e,s===2?r:n);return i.set(e,a),a}function On(e){return Yt(e)?On(e.__v_raw):!!(e&&e.__v_isReactive)}function Yt(e){return!!(e&&e.__v_isReadonly)}function Ze(e){return!!(e&&e.__v_isShallow)}function gs(e){return e?!!e.__v_raw:!1}function re(e){const t=e&&e.__v_raw;return t?re(t):e}function rp(e){return!oe(e,"__v_skip")&&Object.isExtensible(e)&&Sl(e,"__v_skip",!0),e}const pt=e=>fe(e)?Pr(e):e,Yn=e=>fe(e)?Rr(e):e;function be(e){return e?e.__v_isRef===!0:!1}function ve(e){return Vl(e,!1)}function ip(e){return Vl(e,!0)}function Vl(e,t){return be(e)?e:new sp(e,t)}class sp{constructor(t,n){this.dep=new hs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:re(t),this._value=n?t:pt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ze(t)||Yt(t);t=r?t:re(t),an(t,n)&&(this._rawValue=t,this._value=r?t:pt(t),this.dep.trigger())}}function sS(e){e.dep&&e.dep.trigger()}function ms(e){return be(e)?e.value:e}const op={get:(e,t,n)=>t==="__v_raw"?e:ms(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return be(i)&&!be(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Yl(e){return On(e)?e:new Proxy(e,op)}class ap{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new hs,{get:r,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function fp(e){return new ap(e)}function oS(e){const t=z(e)?new Array(e.length):{};for(const n in e)t[n]=Kl(e,n);return t}class cp{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=re(t);let i=!0,s=t;if(!z(t)||!as(String(n)))do i=!gs(s)||Ze(s);while(i&&(s=s.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=ms(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&be(this._raw[this._key])){const n=this._object[this._key];if(be(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return kh(this._raw,this._key)}}class lp{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function aS(e,t,n){return be(e)?e:Q(e)?new lp(e):fe(e)&&arguments.length>1?Kl(e,t,n):ve(e)}function Kl(e,t,n){return new cp(e,t,n)}class up{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new hs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Cr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&he!==this)return Dl(this,!0),!0}get value(){const t=this.dep.track();return Il(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function dp(e,t,n=!1){let r,i;return Q(e)?r=e:(r=e.get,i=e.set),new up(r,i,n)}const ci={},Ui=new WeakMap;let yn;function hp(e,t=!1,n=yn){if(n){let r=Ui.get(n);r||Ui.set(n,r=[]),r.push(e)}}function pp(e,t,n=le){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:f}=n,l=_=>i?_:Ze(_)||i===!1||i===0?jt(_,1):jt(_);let c,u,d,h,y=!1,g=!1;if(be(e)?(u=()=>e.value,y=Ze(e)):On(e)?(u=()=>l(e),y=!0):z(e)?(g=!0,y=e.some(_=>On(_)||Ze(_)),u=()=>e.map(_=>{if(be(_))return _.value;if(On(_))return l(_);if(Q(_))return f?f(_,2):_()})):Q(e)?t?u=f?()=>f(e,2):e:u=()=>{if(d){Ut();try{d()}finally{Vt()}}const _=yn;yn=c;try{return f?f(e,3,[h]):e(h)}finally{yn=_}}:u=lt,t&&i){const _=u,T=i===!0?1/0:i;u=()=>jt(_(),T)}const v=Ml(),m=()=>{c.stop(),v&&v.active&&Xo(v.effects,c)};if(s&&t){const _=t;t=(...T)=>{_(...T),m()}}let x=g?new Array(e.length).fill(ci):ci;const w=_=>{if(!(!(c.flags&1)||!c.dirty&&!_))if(t){const T=c.run();if(i||y||(g?T.some((E,H)=>an(E,x[H])):an(T,x))){d&&d();const E=yn;yn=c;try{const H=[T,x===ci?void 0:g&&x[0]===ci?[]:x,h];x=T,f?f(t,3,H):t(...H)}finally{yn=E}}}else c.run()};return a&&a(w),c=new Pl(u),c.scheduler=o?()=>o(w,!1):w,h=_=>hp(_,!1,c),d=c.onStop=()=>{const _=Ui.get(c);if(_){if(f)f(_,4);else for(const T of _)T();Ui.delete(c)}},t?r?w(!0):x=c.run():o?o(w.bind(null,!0),!0):c.run(),m.pause=c.pause.bind(c),m.resume=c.resume.bind(c),m.stop=m,m}function jt(e,t=1/0,n){if(t<=0||!fe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,be(e))jt(e.value,t,n);else if(z(e))for(let r=0;r{jt(r,t,n)});else if(Ol(e)){for(const r in e)jt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&jt(e[r],t,n)}return e}function Gr(e,t,n,r){try{return r?e(...r):e()}catch(i){ys(i,t,n)}}function gt(e,t,n,r){if(Q(e)){const i=Gr(e,t,n,r);return i&&_l(i)&&i.catch(s=>{ys(s,t,n)}),i}if(z(e)){const i=[];for(let s=0;s>>1,i=Ie[r],s=Dr(i);s=Dr(n)?Ie.push(e):Ie.splice(mp(t),0,e),e.flags|=1,Xl()}}function Xl(){Vi||(Vi=Gl.then(Zl))}function yp(e){z(e)?Hn.push(...e):tn&&e.id===-1?tn.splice(Nn+1,0,e):e.flags&1||(Hn.push(e),e.flags|=1),Xl()}function of(e,t,n=Tt+1){for(;nDr(n)-Dr(r));if(Hn.length=0,tn){tn.push(...t);return}for(tn=t,Nn=0;Nne.id==null?e.flags&2?-1:1/0:e.id;function Zl(e){try{for(Tt=0;Tt{r._d&&zi(-1);const s=Yi(t);let o;try{o=e(...i)}finally{Yi(s),r._d&&zi(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function fS(e,t){if(Ee===null)return e;const n=xs(Ee),r=e.dirs||(e.dirs=[]);for(let i=0;ie.__isTeleport,wr=e=>e&&(e.disabled||e.disabled===""),af=e=>e&&(e.defer||e.defer===""),ff=e=>typeof SVGElement<"u"&&e instanceof SVGElement,cf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,fo=(e,t)=>{const n=e&&e.to;return ye(n)?t?t(n):null:n},nu={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,s,o,a,f,l){const{mc:c,pc:u,pbc:d,o:{insert:h,querySelector:y,createText:g,createComment:v}}=l,m=wr(t.props);let{shapeFlag:x,children:w,dynamicChildren:_}=t;if(e==null){const T=t.el=g(""),E=t.anchor=g("");h(T,n,r),h(E,n,r);const H=(L,k)=>{x&16&&c(w,L,k,i,s,o,a,f)},q=()=>{const L=t.target=fo(t.props,y),k=ru(L,t,g,h);L&&(o!=="svg"&&ff(L)?o="svg":o!=="mathml"&&cf(L)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(L),m||(H(L,k),xi(t,!1)))};m&&(H(n,E),xi(t,!0)),af(t.props)?(t.el.__isMounted=!1,Le(()=>{q(),delete t.el.__isMounted},s)):q()}else{if(af(t.props)&&e.el.__isMounted===!1){Le(()=>{nu.process(e,t,n,r,i,s,o,a,f,l)},s);return}t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,E=t.target=e.target,H=t.targetAnchor=e.targetAnchor,q=wr(e.props),L=q?n:E,k=q?T:H;if(o==="svg"||ff(E)?o="svg":(o==="mathml"||cf(E))&&(o="mathml"),_?(d(e.dynamicChildren,_,L,i,s,o,a),ua(e,t,!0)):f||u(e,t,L,k,i,s,o,a,!1),m)q?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):li(t,n,T,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=fo(t.props,y);N&&li(t,N,null,l,0)}else q&&li(t,E,H,l,1);xi(t,m)}},remove(e,t,n,{um:r,o:{remove:i}},s){const{shapeFlag:o,children:a,anchor:f,targetStart:l,targetAnchor:c,target:u,props:d}=e;if(u&&(i(l),i(c)),s&&i(f),o&16){const h=s||!wr(d);for(let y=0;y{e.isMounted=!0}),du(()=>{e.isUnmounting=!0}),e}const et=[Function,Array],su={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:et,onEnter:et,onAfterEnter:et,onEnterCancelled:et,onBeforeLeave:et,onLeave:et,onAfterLeave:et,onLeaveCancelled:et,onBeforeAppear:et,onAppear:et,onAfterAppear:et,onAppearCancelled:et},ou=e=>{const t=e.subTree;return t.component?ou(t.component):t},wp={name:"BaseTransition",props:su,setup(e,{slots:t}){const n=Pn(),r=iu();return()=>{const i=t.default&&ia(t.default(),!0);if(!i||!i.length)return;const s=au(i),o=re(e),{mode:a}=o;if(r.isLeaving)return Hs(s);const f=lf(s);if(!f)return Hs(s);let l=Fr(f,o,r,n,u=>l=u);f.type!==Pe&&En(f,l);let c=n.subTree&&lf(n.subTree);if(c&&c.type!==Pe&&!vn(c,f)&&ou(n).type!==Pe){let u=Fr(c,o,r,n);if(En(c,u),a==="out-in"&&f.type!==Pe)return r.isLeaving=!0,u.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete u.afterLeave,c=void 0},Hs(s);a==="in-out"&&f.type!==Pe?u.delayLeave=(d,h,y)=>{const g=fu(r,c);g[String(c.key)]=c,d[kt]=()=>{h(),d[kt]=void 0,delete l.delayedLeave,c=void 0},l.delayedLeave=()=>{y(),delete l.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function au(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Pe){t=n;break}}return t}const _p=wp;function fu(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Fr(e,t,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:f,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:y,onLeaveCancelled:g,onBeforeAppear:v,onAppear:m,onAfterAppear:x,onAppearCancelled:w}=t,_=String(e.key),T=fu(n,e),E=(L,k)=>{L&>(L,r,9,k)},H=(L,k)=>{const N=k[1];E(L,k),z(L)?L.every($=>$.length<=1)&&N():L.length<=1&&N()},q={mode:o,persisted:a,beforeEnter(L){let k=f;if(!n.isMounted)if(s)k=v||f;else return;L[kt]&&L[kt](!0);const N=T[_];N&&vn(e,N)&&N.el[kt]&&N.el[kt](),E(k,[L])},enter(L){let k=l,N=c,$=u;if(!n.isMounted)if(s)k=m||l,N=x||c,$=w||u;else return;let Y=!1;const I=L[ui]=F=>{Y||(Y=!0,F?E($,[L]):E(N,[L]),q.delayedLeave&&q.delayedLeave(),L[ui]=void 0)};k?H(k,[L,I]):I()},leave(L,k){const N=String(e.key);if(L[ui]&&L[ui](!0),n.isUnmounting)return k();E(d,[L]);let $=!1;const Y=L[kt]=I=>{$||($=!0,k(),I?E(g,[L]):E(y,[L]),L[kt]=void 0,T[N]===e&&delete T[N])};T[N]=e,h?H(h,[L,Y]):Y()},clone(L){const k=Fr(L,t,n,r,i);return i&&i(k),k}};return q}function Hs(e){if(vs(e))return e=cn(e),e.children=null,e}function lf(e){if(!vs(e))return tu(e.type)&&e.children?au(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Q(n.default))return n.default()}}function En(e,t){e.shapeFlag&6&&e.component?(e.transition=t,En(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ia(e,t=!1,n){let r=[],i=0;for(let s=0;s1)for(let s=0;s_r(y,t&&(z(t)?t[g]:t),n,r,i));return}if(jn(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&_r(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?xs(r.component):r.el,o=i?null:s,{i:a,r:f}=e,l=t&&t.r,c=a.refs===le?a.refs={}:a.refs,u=a.setupState,d=re(u),h=u===le?wl:y=>oe(d,y);if(l!=null&&l!==f){if(uf(t),ye(l))c[l]=null,h(l)&&(u[l]=null);else if(be(l)){l.value=null;const y=t;y.k&&(c[y.k]=null)}}if(Q(f))Gr(f,a,12,[o,c]);else{const y=ye(f),g=be(f);if(y||g){const v=()=>{if(e.f){const m=y?h(f)?u[f]:c[f]:f.value;if(i)z(m)&&Xo(m,s);else if(z(m))m.includes(s)||m.push(s);else if(y)c[f]=[s],h(f)&&(u[f]=c[f]);else{const x=[s];f.value=x,e.k&&(c[e.k]=x)}}else y?(c[f]=o,h(f)&&(u[f]=o)):g&&(f.value=o,e.k&&(c[e.k]=o))};if(o){const m=()=>{v(),Ki.delete(e)};m.id=-1,Ki.set(e,m),Le(m,n)}else uf(e),v()}}}function uf(e){const t=Ki.get(e);t&&(t.flags|=8,Ki.delete(e))}ls().requestIdleCallback;ls().cancelIdleCallback;const jn=e=>!!e.type.__asyncLoader,vs=e=>e.type.__isKeepAlive;function xp(e,t){lu(e,"a",t)}function Op(e,t){lu(e,"da",t)}function lu(e,t,n=Re){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(bs(t,r,n),n){let i=n.parent;for(;i&&i.parent;)vs(i.parent.vnode)&&Sp(r,t,n,i),i=i.parent}}function Sp(e,t,n,r){const i=bs(t,e,r,!0);hu(()=>{Xo(r[t],i)},n)}function bs(e,t,n=Re,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{Ut();const a=zr(n),f=gt(t,n,e,o);return a(),Vt(),f});return r?i.unshift(s):i.push(s),s}}const Gt=e=>(t,n=Re)=>{(!Nr||e==="sp")&&bs(e,(...r)=>t(...r),n)},Tp=Gt("bm"),sa=Gt("m"),Ap=Gt("bu"),uu=Gt("u"),du=Gt("bum"),hu=Gt("um"),Ep=Gt("sp"),$p=Gt("rtg"),Cp=Gt("rtc");function Mp(e,t=Re){bs("ec",e,t)}const oa="components",Pp="directives";function uS(e,t){return aa(oa,e,!0,t)||e}const pu=Symbol.for("v-ndc");function dS(e){return ye(e)?aa(oa,e,!1)||e:e||pu}function hS(e){return aa(Pp,e)}function aa(e,t,n=!0,r=!1){const i=Ee||Re;if(i){const s=i.type;if(e===oa){const a=wg(s,!1);if(a&&(a===t||a===it(t)||a===cs(it(t))))return s}const o=df(i[e]||s[e],t)||df(i.appContext[e],t);return!o&&r?s:o}}function df(e,t){return e&&(e[t]||e[it(t)]||e[cs(it(t))])}function pS(e,t,n,r){let i;const s=n,o=z(e);if(o||ye(e)){const a=o&&On(e);let f=!1,l=!1;a&&(f=!Ze(e),l=Yt(e),e=ps(e)),i=new Array(e.length);for(let c=0,u=e.length;ct(a,f,void 0,s));else{const a=Object.keys(e);i=new Array(a.length);for(let f=0,l=a.length;f{const s=r.fn(...i);return s&&(s.key=r.key),s}:r.fn)}return e}function mS(e,t,n={},r,i){if(Ee.ce||Ee.parent&&jn(Ee.parent)&&Ee.parent.ce){const l=Object.keys(n).length>0;return t!=="default"&&(n.name=t),po(),go(Ve,null,[Ne("slot",n,r&&r())],l?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),po();const o=s&&gu(s(n)),a=n.key||o&&o.key,f=go(Ve,{key:(a&&!ht(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&e._===1?64:-2);return f.scopeId&&(f.slotScopeIds=[f.scopeId+"-s"]),s&&s._c&&(s._d=!0),f}function gu(e){return e.some(t=>Ir(t)?!(t.type===Pe||t.type===Ve&&!gu(t.children)):!0)?e:null}function yS(e,t){const n={};for(const r in e)n[wi(r)]=e[r];return n}const co=e=>e?Lu(e)?xs(e):co(e.parent):null,xr=xe(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=>co(e.parent),$root:e=>co(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>vu(e),$forceUpdate:e=>e.f||(e.f=()=>{ra(e.update)}),$nextTick:e=>e.n||(e.n=zl.bind(e.proxy)),$watch:e=>Up.bind(e)}),js=(e,t)=>e!==le&&!e.__isScriptSetup&&oe(e,t),Rp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:f}=e;if(t[0]!=="$"){const d=o[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(js(r,t))return o[t]=1,r[t];if(i!==le&&oe(i,t))return o[t]=2,i[t];if(oe(s,t))return o[t]=3,s[t];if(n!==le&&oe(n,t))return o[t]=4,n[t];lo&&(o[t]=0)}}const l=xr[t];let c,u;if(l)return t==="$attrs"&&Me(e.attrs,"get",""),l(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==le&&oe(n,t))return o[t]=4,n[t];if(u=f.config.globalProperties,oe(u,t))return u[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return js(i,t)?(i[t]=n,!0):r!==le&&oe(r,t)?(r[t]=n,!0):oe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:s,type:o}},a){let f;return!!(n[a]||e!==le&&a[0]!=="$"&&oe(e,a)||js(t,a)||oe(s,a)||oe(r,a)||oe(xr,a)||oe(i.config.globalProperties,a)||(f=o.__cssModules)&&f[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:oe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function vS(){return mu().slots}function bS(){return mu().attrs}function mu(e){const t=Pn();return t.setupContext||(t.setupContext=Nu(t))}function hf(e){return z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let lo=!0;function Dp(e){const t=vu(e),n=e.proxy,r=e.ctx;lo=!1,t.beforeCreate&&pf(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:a,provide:f,inject:l,created:c,beforeMount:u,mounted:d,beforeUpdate:h,updated:y,activated:g,deactivated:v,beforeDestroy:m,beforeUnmount:x,destroyed:w,unmounted:_,render:T,renderTracked:E,renderTriggered:H,errorCaptured:q,serverPrefetch:L,expose:k,inheritAttrs:N,components:$,directives:Y,filters:I}=t;if(l&&Fp(l,r,null),o)for(const C in o){const A=o[C];Q(A)&&(r[C]=A.bind(n))}if(i){const C=i.call(n,n);fe(C)&&(e.data=Pr(C))}if(lo=!0,s)for(const C in s){const A=s[C],U=Q(A)?A.bind(n,n):Q(A.get)?A.get.bind(n,n):lt,K=!Q(A)&&Q(A.set)?A.set.bind(n):lt,J=Xr({get:U,set:K});Object.defineProperty(r,C,{enumerable:!0,configurable:!0,get:()=>J.value,set:ee=>J.value=ee})}if(a)for(const C in a)yu(a[C],r,n,C);if(f){const C=Q(f)?f.call(n):f;Reflect.ownKeys(C).forEach(A=>{Hp(A,C[A])})}c&&pf(c,e,"c");function S(C,A){z(A)?A.forEach(U=>C(U.bind(n))):A&&C(A.bind(n))}if(S(Tp,u),S(sa,d),S(Ap,h),S(uu,y),S(xp,g),S(Op,v),S(Mp,q),S(Cp,E),S($p,H),S(du,x),S(hu,_),S(Ep,L),z(k))if(k.length){const C=e.exposed||(e.exposed={});k.forEach(A=>{Object.defineProperty(C,A,{get:()=>n[A],set:U=>n[A]=U,enumerable:!0})})}else e.exposed||(e.exposed={});T&&e.render===lt&&(e.render=T),N!=null&&(e.inheritAttrs=N),$&&(e.components=$),Y&&(e.directives=Y),L&&cu(e)}function Fp(e,t,n=lt){z(e)&&(e=uo(e));for(const r in e){const i=e[r];let s;fe(i)?"default"in i?s=Oi(i.from||r,i.default,!0):s=Oi(i.from||r):s=Oi(i),be(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[r]=s}}function pf(e,t,n){gt(z(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function yu(e,t,n,r){let i=r.includes(".")?wu(n,r):()=>n[r];if(ye(e)){const s=t[e];Q(s)&&ke(i,s)}else if(Q(e))ke(i,e.bind(n));else if(fe(e))if(z(e))e.forEach(s=>yu(s,t,n,r));else{const s=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(s)&&ke(i,s,e)}}function vu(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let f;return a?f=a:!i.length&&!n&&!r?f=t:(f={},i.length&&i.forEach(l=>Gi(f,l,o,!0)),Gi(f,t,o)),fe(t)&&s.set(t,f),f}function Gi(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&Gi(e,s,n,!0),i&&i.forEach(o=>Gi(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=Lp[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Lp={data:gf,props:mf,emits:mf,methods:pr,computed:pr,beforeCreate:Fe,created:Fe,beforeMount:Fe,mounted:Fe,beforeUpdate:Fe,updated:Fe,beforeDestroy:Fe,beforeUnmount:Fe,destroyed:Fe,unmounted:Fe,activated:Fe,deactivated:Fe,errorCaptured:Fe,serverPrefetch:Fe,components:pr,directives:pr,watch:Np,provide:gf,inject:Ip};function gf(e,t){return t?e?function(){return xe(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function Ip(e,t){return pr(uo(e),uo(t))}function uo(e){if(z(e)){const t={};for(let n=0;n1)return n&&Q(t)?t.call(r&&r.proxy):t}}function wS(){return!!(Pn()||Sn)}const jp=Symbol.for("v-scx"),qp=()=>Oi(jp);function Wp(e,t){return fa(e,null,t)}function ke(e,t,n){return fa(e,t,n)}function fa(e,t,n=le){const{immediate:r,deep:i,flush:s,once:o}=n,a=xe({},n),f=t&&r||!t&&s!=="post";let l;if(Nr){if(s==="sync"){const h=qp();l=h.__watcherHandles||(h.__watcherHandles=[])}else if(!f){const h=()=>{};return h.stop=lt,h.resume=lt,h.pause=lt,h}}const c=Re;a.call=(h,y,g)=>gt(h,c,y,g);let u=!1;s==="post"?a.scheduler=h=>{Le(h,c&&c.suspense)}:s!=="sync"&&(u=!0,a.scheduler=(h,y)=>{y?h():ra(h)}),a.augmentJob=h=>{t&&(h.flags|=4),u&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const d=pp(e,t,a);return Nr&&(l?l.push(d):f&&d()),d}function Up(e,t,n){const r=this.proxy,i=ye(e)?e.includes(".")?wu(r,e):()=>r[e]:e.bind(r,r);let s;Q(t)?s=t:(s=t.handler,n=t);const o=zr(this),a=fa(i,s.bind(r),n);return o(),a}function wu(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;it==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${it(t)}Modifiers`]||e[`${dn(t)}Modifiers`];function Yp(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||le;let i=n;const s=t.startsWith("update:"),o=s&&Vp(r,t.slice(7));o&&(o.trim&&(i=n.map(c=>ye(c)?c.trim():c)),o.number&&(i=n.map(Jo)));let a,f=r[a=wi(t)]||r[a=wi(it(t))];!f&&s&&(f=r[a=wi(dn(t))]),f&>(f,e,6,i);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,gt(l,e,6,i)}}const Kp=new WeakMap;function _u(e,t,n=!1){const r=n?Kp:t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!Q(e)){const f=l=>{const c=_u(l,t,!0);c&&(a=!0,xe(o,c))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!s&&!a?(fe(e)&&r.set(e,null),null):(z(s)?s.forEach(f=>o[f]=null):xe(o,s),fe(e)&&r.set(e,o),o)}function ws(e,t){return!e||!ss(t)?!1:(t=t.slice(2).replace(/Once$/,""),oe(e,t[0].toLowerCase()+t.slice(1))||oe(e,dn(t))||oe(e,t))}function yf(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:f,render:l,renderCache:c,props:u,data:d,setupState:h,ctx:y,inheritAttrs:g}=e,v=Yi(e);let m,x;try{if(n.shapeFlag&4){const _=i||r,T=_;m=At(l.call(T,_,c,u,h,d,y)),x=a}else{const _=t;m=At(_.length>1?_(u,{attrs:a,slots:o,emit:f}):_(u,null)),x=t.props?a:Gp(a)}}catch(_){Or.length=0,ys(_,e,1),m=Ne(Pe)}let w=m;if(x&&g!==!1){const _=Object.keys(x),{shapeFlag:T}=w;_.length&&T&7&&(s&&_.some(zo)&&(x=zp(x,s)),w=cn(w,x,!1,!0))}return n.dirs&&(w=cn(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&En(w,n.transition),m=w,Yi(v),m}const Gp=e=>{let t;for(const n in e)(n==="class"||n==="style"||ss(n))&&((t||(t={}))[n]=e[n]);return t},zp=(e,t)=>{const n={};for(const r in e)(!zo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Xp(e,t,n){const{props:r,children:i,component:s}=e,{props:o,children:a,patchFlag:f}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return r?vf(r,o,l):!!o;if(f&8){const c=t.dynamicProps;for(let u=0;uObject.create(xu),Su=e=>Object.getPrototypeOf(e)===xu;function Zp(e,t,n,r=!1){const i={},s=Ou();e.propsDefaults=Object.create(null),Tu(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:np(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function Qp(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=re(i),[f]=e.propsOptions;let l=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let u=0;u{f=!0;const[d,h]=Au(u,t,!0);xe(o,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!f)return fe(e)&&r.set(e,Bn),Bn;if(z(s))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",la=e=>z(e)?e.map(At):[At(e)],tg=(e,t,n)=>{if(t._n)return t;const r=vp((...i)=>la(t(...i)),n);return r._c=!1,r},Eu=(e,t,n)=>{const r=e._ctx;for(const i in e){if(ca(i))continue;const s=e[i];if(Q(s))t[i]=tg(i,s,r);else if(s!=null){const o=la(s);t[i]=()=>o}}},$u=(e,t)=>{const n=la(t);e.slots.default=()=>n},Cu=(e,t,n)=>{for(const r in t)(n||!ca(r))&&(e[r]=t[r])},ng=(e,t,n)=>{const r=e.slots=Ou();if(e.vnode.shapeFlag&32){const i=t._;i?(Cu(r,t,n),n&&Sl(r,"_",i,!0)):Eu(t,r)}else t&&$u(e,t)},rg=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,o=le;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:Cu(i,t,n):(s=!t.$stable,Eu(t,i)),o=t}else t&&($u(e,t),o={default:1});if(s)for(const a in i)!ca(a)&&o[a]==null&&delete i[a]},Le=fg;function ig(e){return sg(e)}function sg(e,t){const n=ls();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:f,setText:l,setElementText:c,parentNode:u,nextSibling:d,setScopeId:h=lt,insertStaticContent:y}=e,g=(p,b,O,D=null,M=null,P=null,W=void 0,j=null,B=!!b.dynamicChildren)=>{if(p===b)return;p&&!vn(p,b)&&(D=we(p),ee(p,M,P,!0),p=null),b.patchFlag===-2&&(B=!1,b.dynamicChildren=null);const{type:R,ref:X,shapeFlag:V}=b;switch(R){case _s:v(p,b,O,D);break;case Pe:m(p,b,O,D);break;case Ws:p==null&&x(b,O,D,W);break;case Ve:$(p,b,O,D,M,P,W,j,B);break;default:V&1?T(p,b,O,D,M,P,W,j,B):V&6?Y(p,b,O,D,M,P,W,j,B):(V&64||V&128)&&R.process(p,b,O,D,M,P,W,j,B,pe)}X!=null&&M?_r(X,p&&p.ref,P,b||p,!b):X==null&&p&&p.ref!=null&&_r(p.ref,null,P,p,!0)},v=(p,b,O,D)=>{if(p==null)r(b.el=a(b.children),O,D);else{const M=b.el=p.el;b.children!==p.children&&l(M,b.children)}},m=(p,b,O,D)=>{p==null?r(b.el=f(b.children||""),O,D):b.el=p.el},x=(p,b,O,D)=>{[p.el,p.anchor]=y(p.children,b,O,D,p.el,p.anchor)},w=({el:p,anchor:b},O,D)=>{let M;for(;p&&p!==b;)M=d(p),r(p,O,D),p=M;r(b,O,D)},_=({el:p,anchor:b})=>{let O;for(;p&&p!==b;)O=d(p),i(p),p=O;i(b)},T=(p,b,O,D,M,P,W,j,B)=>{if(b.type==="svg"?W="svg":b.type==="math"&&(W="mathml"),p==null)E(b,O,D,M,P,W,j,B);else{const R=p.el&&p.el._isVueCE?p.el:null;try{R&&R._beginPatch(),L(p,b,M,P,W,j,B)}finally{R&&R._endPatch()}}},E=(p,b,O,D,M,P,W,j)=>{let B,R;const{props:X,shapeFlag:V,transition:G,dirs:Z}=p;if(B=p.el=o(p.type,P,X&&X.is,X),V&8?c(B,p.children):V&16&&q(p.children,B,null,D,M,qs(p,P),W,j),Z&&pn(p,null,D,"created"),H(B,p,p.scopeId,W,D),X){for(const ae in X)ae!=="value"&&!yr(ae)&&s(B,ae,null,X[ae],P,D);"value"in X&&s(B,"value",null,X.value,P),(R=X.onVnodeBeforeMount)&&Ot(R,D,p)}Z&&pn(p,null,D,"beforeMount");const te=og(M,G);te&&G.beforeEnter(B),r(B,b,O),((R=X&&X.onVnodeMounted)||te||Z)&&Le(()=>{R&&Ot(R,D,p),te&&G.enter(B),Z&&pn(p,null,D,"mounted")},M)},H=(p,b,O,D,M)=>{if(O&&h(p,O),D)for(let P=0;P{for(let R=B;R{const j=b.el=p.el;let{patchFlag:B,dynamicChildren:R,dirs:X}=b;B|=p.patchFlag&16;const V=p.props||le,G=b.props||le;let Z;if(O&&gn(O,!1),(Z=G.onVnodeBeforeUpdate)&&Ot(Z,O,b,p),X&&pn(b,p,O,"beforeUpdate"),O&&gn(O,!0),(V.innerHTML&&G.innerHTML==null||V.textContent&&G.textContent==null)&&c(j,""),R?k(p.dynamicChildren,R,j,O,D,qs(b,M),P):W||A(p,b,j,null,O,D,qs(b,M),P,!1),B>0){if(B&16)N(j,V,G,O,M);else if(B&2&&V.class!==G.class&&s(j,"class",null,G.class,M),B&4&&s(j,"style",V.style,G.style,M),B&8){const te=b.dynamicProps;for(let ae=0;ae{Z&&Ot(Z,O,b,p),X&&pn(b,p,O,"updated")},D)},k=(p,b,O,D,M,P,W)=>{for(let j=0;j{if(b!==O){if(b!==le)for(const P in b)!yr(P)&&!(P in O)&&s(p,P,b[P],null,M,D);for(const P in O){if(yr(P))continue;const W=O[P],j=b[P];W!==j&&P!=="value"&&s(p,P,j,W,M,D)}"value"in O&&s(p,"value",b.value,O.value,M)}},$=(p,b,O,D,M,P,W,j,B)=>{const R=b.el=p?p.el:a(""),X=b.anchor=p?p.anchor:a("");let{patchFlag:V,dynamicChildren:G,slotScopeIds:Z}=b;Z&&(j=j?j.concat(Z):Z),p==null?(r(R,O,D),r(X,O,D),q(b.children||[],O,X,M,P,W,j,B)):V>0&&V&64&&G&&p.dynamicChildren?(k(p.dynamicChildren,G,O,M,P,W,j),(b.key!=null||M&&b===M.subTree)&&ua(p,b,!0)):A(p,b,O,X,M,P,W,j,B)},Y=(p,b,O,D,M,P,W,j,B)=>{b.slotScopeIds=j,p==null?b.shapeFlag&512?M.ctx.activate(b,O,D,W,B):I(b,O,D,M,P,W,B):F(p,b,B)},I=(p,b,O,D,M,P,W)=>{const j=p.component=mg(p,D,M);if(vs(p)&&(j.ctx.renderer=pe),yg(j,!1,W),j.asyncDep){if(M&&M.registerDep(j,S,W),!p.el){const B=j.subTree=Ne(Pe);m(null,B,b,O),p.placeholder=B.el}}else S(j,p,b,O,M,P,W)},F=(p,b,O)=>{const D=b.component=p.component;if(Xp(p,b,O))if(D.asyncDep&&!D.asyncResolved){C(D,b,O);return}else D.next=b,D.update();else b.el=p.el,D.vnode=b},S=(p,b,O,D,M,P,W)=>{const j=()=>{if(p.isMounted){let{next:V,bu:G,u:Z,parent:te,vnode:ae}=p;{const _t=Mu(p);if(_t){V&&(V.el=ae.el,C(p,V,W)),_t.asyncDep.then(()=>{p.isUnmounted||j()});return}}let ie=V,qe;gn(p,!1),V?(V.el=ae.el,C(p,V,W)):V=ae,G&&_i(G),(qe=V.props&&V.props.onVnodeBeforeUpdate)&&Ot(qe,te,V,ae),gn(p,!0);const We=yf(p),wt=p.subTree;p.subTree=We,g(wt,We,u(wt.el),we(wt),p,M,P),V.el=We.el,ie===null&&Jp(p,We.el),Z&&Le(Z,M),(qe=V.props&&V.props.onVnodeUpdated)&&Le(()=>Ot(qe,te,V,ae),M)}else{let V;const{el:G,props:Z}=b,{bm:te,m:ae,parent:ie,root:qe,type:We}=p,wt=jn(b);gn(p,!1),te&&_i(te),!wt&&(V=Z&&Z.onVnodeBeforeMount)&&Ot(V,ie,b),gn(p,!0);{qe.ce&&qe.ce._def.shadowRoot!==!1&&qe.ce._injectChildStyle(We);const _t=p.subTree=yf(p);g(null,_t,O,D,p,M,P),b.el=_t.el}if(ae&&Le(ae,M),!wt&&(V=Z&&Z.onVnodeMounted)){const _t=b;Le(()=>Ot(V,ie,_t),M)}(b.shapeFlag&256||ie&&jn(ie.vnode)&&ie.vnode.shapeFlag&256)&&p.a&&Le(p.a,M),p.isMounted=!0,b=O=D=null}};p.scope.on();const B=p.effect=new Pl(j);p.scope.off();const R=p.update=B.run.bind(B),X=p.job=B.runIfDirty.bind(B);X.i=p,X.id=p.uid,B.scheduler=()=>ra(X),gn(p,!0),R()},C=(p,b,O)=>{b.component=p;const D=p.vnode.props;p.vnode=b,p.next=null,Qp(p,b.props,D,O),rg(p,b.children,O),Ut(),of(p),Vt()},A=(p,b,O,D,M,P,W,j,B=!1)=>{const R=p&&p.children,X=p?p.shapeFlag:0,V=b.children,{patchFlag:G,shapeFlag:Z}=b;if(G>0){if(G&128){K(R,V,O,D,M,P,W,j,B);return}else if(G&256){U(R,V,O,D,M,P,W,j,B);return}}Z&8?(X&16&&_e(R,M,P),V!==R&&c(O,V)):X&16?Z&16?K(R,V,O,D,M,P,W,j,B):_e(R,M,P,!0):(X&8&&c(O,""),Z&16&&q(V,O,D,M,P,W,j,B))},U=(p,b,O,D,M,P,W,j,B)=>{p=p||Bn,b=b||Bn;const R=p.length,X=b.length,V=Math.min(R,X);let G;for(G=0;GX?_e(p,M,P,!0,!1,V):q(b,O,D,M,P,W,j,B,V)},K=(p,b,O,D,M,P,W,j,B)=>{let R=0;const X=b.length;let V=p.length-1,G=X-1;for(;R<=V&&R<=G;){const Z=p[R],te=b[R]=B?nn(b[R]):At(b[R]);if(vn(Z,te))g(Z,te,O,null,M,P,W,j,B);else break;R++}for(;R<=V&&R<=G;){const Z=p[V],te=b[G]=B?nn(b[G]):At(b[G]);if(vn(Z,te))g(Z,te,O,null,M,P,W,j,B);else break;V--,G--}if(R>V){if(R<=G){const Z=G+1,te=ZG)for(;R<=V;)ee(p[R],M,P,!0),R++;else{const Z=R,te=R,ae=new Map;for(R=te;R<=G;R++){const Ge=b[R]=B?nn(b[R]):At(b[R]);Ge.key!=null&&ae.set(Ge.key,R)}let ie,qe=0;const We=G-te+1;let wt=!1,_t=0;const fr=new Array(We);for(R=0;R=We){ee(Ge,M,P,!0);continue}let xt;if(Ge.key!=null)xt=ae.get(Ge.key);else for(ie=te;ie<=G;ie++)if(fr[ie-te]===0&&vn(Ge,b[ie])){xt=ie;break}xt===void 0?ee(Ge,M,P,!0):(fr[xt-te]=R+1,xt>=_t?_t=xt:wt=!0,g(Ge,b[xt],O,null,M,P,W,j,B),qe++)}const Za=wt?ag(fr):Bn;for(ie=Za.length-1,R=We-1;R>=0;R--){const Ge=te+R,xt=b[Ge],Qa=b[Ge+1],ef=Ge+1{const{el:P,type:W,transition:j,children:B,shapeFlag:R}=p;if(R&6){J(p.component.subTree,b,O,D);return}if(R&128){p.suspense.move(b,O,D);return}if(R&64){W.move(p,b,O,pe);return}if(W===Ve){r(P,b,O);for(let V=0;Vj.enter(P),M);else{const{leave:V,delayLeave:G,afterLeave:Z}=j,te=()=>{p.ctx.isUnmounted?i(P):r(P,b,O)},ae=()=>{P._isLeaving&&P[kt](!0),V(P,()=>{te(),Z&&Z()})};G?G(P,te,ae):ae()}else r(P,b,O)},ee=(p,b,O,D=!1,M=!1)=>{const{type:P,props:W,ref:j,children:B,dynamicChildren:R,shapeFlag:X,patchFlag:V,dirs:G,cacheIndex:Z}=p;if(V===-2&&(M=!1),j!=null&&(Ut(),_r(j,null,O,p,!0),Vt()),Z!=null&&(b.renderCache[Z]=void 0),X&256){b.ctx.deactivate(p);return}const te=X&1&&G,ae=!jn(p);let ie;if(ae&&(ie=W&&W.onVnodeBeforeUnmount)&&Ot(ie,b,p),X&6)ue(p.component,O,D);else{if(X&128){p.suspense.unmount(O,D);return}te&&pn(p,null,b,"beforeUnmount"),X&64?p.type.remove(p,b,O,pe,D):R&&!R.hasOnce&&(P!==Ve||V>0&&V&64)?_e(R,b,O,!1,!0):(P===Ve&&V&384||!M&&X&16)&&_e(B,b,O),D&&se(p)}(ae&&(ie=W&&W.onVnodeUnmounted)||te)&&Le(()=>{ie&&Ot(ie,b,p),te&&pn(p,null,b,"unmounted")},O)},se=p=>{const{type:b,el:O,anchor:D,transition:M}=p;if(b===Ve){ce(O,D);return}if(b===Ws){_(p);return}const P=()=>{i(O),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(p.shapeFlag&1&&M&&!M.persisted){const{leave:W,delayLeave:j}=M,B=()=>W(O,P);j?j(p.el,P,B):B()}else P()},ce=(p,b)=>{let O;for(;p!==b;)O=d(p),i(p),p=O;i(b)},ue=(p,b,O)=>{const{bum:D,scope:M,job:P,subTree:W,um:j,m:B,a:R}=p;wf(B),wf(R),D&&_i(D),M.stop(),P&&(P.flags|=8,ee(W,p,b,O)),j&&Le(j,b),Le(()=>{p.isUnmounted=!0},b)},_e=(p,b,O,D=!1,M=!1,P=0)=>{for(let W=P;W{if(p.shapeFlag&6)return we(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const b=d(p.anchor||p.el),O=b&&b[eu];return O?d(O):b};let Se=!1;const De=(p,b,O)=>{p==null?b._vnode&&ee(b._vnode,null,null,!0):g(b._vnode||null,p,b,null,null,null,O),b._vnode=p,Se||(Se=!0,of(),Jl(),Se=!1)},pe={p:g,um:ee,m:J,r:se,mt:I,mc:q,pc:A,pbc:k,n:we,o:e};return{render:De,hydrate:void 0,createApp:kp(De)}}function qs({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 gn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function og(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ua(e,t,n=!1){const r=e.children,i=t.children;if(z(r)&&z(i))for(let s=0;s>1,e[n[a]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function Mu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Mu(t)}function wf(e){if(e)for(let t=0;te.__isSuspense;function fg(e,t){t&&t.pendingBranch?z(e)?t.effects.push(...e):t.effects.push(e):yp(e)}const Ve=Symbol.for("v-fgt"),_s=Symbol.for("v-txt"),Pe=Symbol.for("v-cmt"),Ws=Symbol.for("v-stc"),Or=[];let Xe=null;function po(e=!1){Or.push(Xe=e?null:[])}function cg(){Or.pop(),Xe=Or[Or.length-1]||null}let Lr=1;function zi(e,t=!1){Lr+=e,e<0&&Xe&&t&&(Xe.hasOnce=!0)}function Ru(e){return e.dynamicChildren=Lr>0?Xe||Bn:null,cg(),Lr>0&&Xe&&Xe.push(e),e}function _S(e,t,n,r,i,s){return Ru(Fu(e,t,n,r,i,s,!0))}function go(e,t,n,r,i){return Ru(Ne(e,t,n,r,i,!0))}function Ir(e){return e?e.__v_isVNode===!0:!1}function vn(e,t){return e.type===t.type&&e.key===t.key}const Du=({key:e})=>e??null,Si=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ye(e)||be(e)||Q(e)?{i:Ee,r:e,k:t,f:!!n}:e:null);function Fu(e,t=null,n=null,r=0,i=null,s=e===Ve?0:1,o=!1,a=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Du(t),ref:t&&Si(t),scopeId:Ql,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:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ee};return a?(da(f,n),s&128&&e.normalize(f)):n&&(f.shapeFlag|=ye(n)?8:16),Lr>0&&!o&&Xe&&(f.patchFlag>0||s&6)&&f.patchFlag!==32&&Xe.push(f),f}const Ne=lg;function lg(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===pu)&&(e=Pe),Ir(e)){const a=cn(e,t,!0);return n&&da(a,n),Lr>0&&!s&&Xe&&(a.shapeFlag&6?Xe[Xe.indexOf(e)]=a:Xe.push(a)),a.patchFlag=-2,a}if(_g(e)&&(e=e.__vccOpts),t){t=ug(t);let{class:a,style:f}=t;a&&!ye(a)&&(t.class=ds(a)),fe(f)&&(gs(f)&&!z(f)&&(f=xe({},f)),t.style=us(f))}const o=ye(e)?1:Pu(e)?128:tu(e)?64:fe(e)?4:Q(e)?2:0;return Fu(e,t,n,r,i,o,s,!0)}function ug(e){return e?gs(e)||Su(e)?xe({},e):e:null}function cn(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:f}=e,l=t?hg(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Du(l),ref:t&&t.ref?n&&s?z(s)?s.concat(Si(t)):[s,Si(t)]:Si(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ve?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&r&&En(c,f.clone(c)),c}function dg(e=" ",t=0){return Ne(_s,null,e,t)}function xS(e="",t=!1){return t?(po(),go(Pe,null,e)):Ne(Pe,null,e)}function At(e){return e==null||typeof e=="boolean"?Ne(Pe):z(e)?Ne(Ve,null,e.slice()):Ir(e)?nn(e):Ne(_s,null,String(e))}function nn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cn(e)}function da(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(z(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),da(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Su(t)?t._ctx=Ee:i===3&&Ee&&(Ee.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Ee},n=32):(t=String(t),r&64?(n=16,t=[dg(t)]):n=8);e.children=t,e.shapeFlag|=n}function hg(...e){const t={};for(let n=0;nRe||Ee;let Xi,mo;{const e=ls(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};Xi=t("__VUE_INSTANCE_SETTERS__",n=>Re=n),mo=t("__VUE_SSR_SETTERS__",n=>Nr=n)}const zr=e=>{const t=Re;return Xi(e),e.scope.on(),()=>{e.scope.off(),Xi(t)}},_f=()=>{Re&&Re.scope.off(),Xi(null)};function Lu(e){return e.vnode.shapeFlag&4}let Nr=!1;function yg(e,t=!1,n=!1){t&&mo(t);const{props:r,children:i}=e.vnode,s=Lu(e);Zp(e,r,s,t),ng(e,i,n||t);const o=s?vg(e,t):void 0;return t&&mo(!1),o}function vg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Rp);const{setup:r}=n;if(r){Ut();const i=e.setupContext=r.length>1?Nu(e):null,s=zr(e),o=Gr(r,e,0,[e.props,i]),a=_l(o);if(Vt(),s(),(a||e.sp)&&!jn(e)&&cu(e),a){if(o.then(_f,_f),t)return o.then(f=>{xf(e,f)}).catch(f=>{ys(f,e,0)});e.asyncDep=o}else xf(e,o)}else Iu(e)}function xf(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=Yl(t)),Iu(e)}function Iu(e,t,n){const r=e.type;e.render||(e.render=r.render||lt);{const i=zr(e);Ut();try{Dp(e)}finally{Vt(),i()}}}const bg={get(e,t){return Me(e,"get",""),e[t]}};function Nu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,bg),slots:e.slots,emit:e.emit,expose:t}}function xs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Yl(rp(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in xr)return xr[n](e)},has(t,n){return n in t||n in xr}})):e.proxy}function wg(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function _g(e){return Q(e)&&"__vccOpts"in e}const Xr=(e,t)=>dp(e,t,Nr);function xg(e,t,n){try{zi(-1);const r=arguments.length;return r===2?fe(t)&&!z(t)?Ir(t)?Ne(e,null,[t]):Ne(e,t):Ne(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ir(n)&&(n=[n]),Ne(e,t,n))}finally{zi(1)}}const Og="3.5.25",OS=lt;let yo;const Of=typeof window<"u"&&window.trustedTypes;if(Of)try{yo=Of.createPolicy("vue",{createHTML:e=>e})}catch{}const Bu=yo?e=>yo.createHTML(e):e=>e,Sg="http://www.w3.org/2000/svg",Tg="http://www.w3.org/1998/Math/MathML",Bt=typeof document<"u"?document:null,Sf=Bt&&Bt.createElement("template"),Ag={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?Bt.createElementNS(Sg,e):t==="mathml"?Bt.createElementNS(Tg,e):n?Bt.createElement(e,{is:n}):Bt.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Bt.createTextNode(e),createComment:e=>Bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,s){const o=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Sf.innerHTML=Bu(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=Sf.content;if(r==="svg"||r==="mathml"){const f=a.firstChild;for(;f.firstChild;)a.appendChild(f.firstChild);a.removeChild(f)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Zt="transition",lr="animation",Kn=Symbol("_vtc"),ku={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Hu=xe({},su,ku),Eg=e=>(e.displayName="Transition",e.props=Hu,e),SS=Eg((e,{slots:t})=>xg(_p,ju(e),t)),mn=(e,t=[])=>{z(e)?e.forEach(n=>n(...t)):e&&e(...t)},Tf=e=>e?z(e)?e.some(t=>t.length>1):e.length>1:!1;function ju(e){const t={};for(const $ in e)$ in ku||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:f=s,appearActiveClass:l=o,appearToClass:c=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,y=$g(i),g=y&&y[0],v=y&&y[1],{onBeforeEnter:m,onEnter:x,onEnterCancelled:w,onLeave:_,onLeaveCancelled:T,onBeforeAppear:E=m,onAppear:H=x,onAppearCancelled:q=w}=t,L=($,Y,I,F)=>{$._enterCancelled=F,Qt($,Y?c:a),Qt($,Y?l:o),I&&I()},k=($,Y)=>{$._isLeaving=!1,Qt($,u),Qt($,h),Qt($,d),Y&&Y()},N=$=>(Y,I)=>{const F=$?H:x,S=()=>L(Y,$,I);mn(F,[Y,S]),Af(()=>{Qt(Y,$?f:s),St(Y,$?c:a),Tf(F)||Ef(Y,r,g,S)})};return xe(t,{onBeforeEnter($){mn(m,[$]),St($,s),St($,o)},onBeforeAppear($){mn(E,[$]),St($,f),St($,l)},onEnter:N(!1),onAppear:N(!0),onLeave($,Y){$._isLeaving=!0;const I=()=>k($,Y);St($,u),$._enterCancelled?(St($,d),vo($)):(vo($),St($,d)),Af(()=>{$._isLeaving&&(Qt($,u),St($,h),Tf(_)||Ef($,r,v,I))}),mn(_,[$,I])},onEnterCancelled($){L($,!1,void 0,!0),mn(w,[$])},onAppearCancelled($){L($,!0,void 0,!0),mn(q,[$])},onLeaveCancelled($){k($),mn(T,[$])}})}function $g(e){if(e==null)return null;if(fe(e))return[Us(e.enter),Us(e.leave)];{const t=Us(e);return[t,t]}}function Us(e){return Eh(e)}function St(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Kn]||(e[Kn]=new Set)).add(t)}function Qt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Kn];n&&(n.delete(t),n.size||(e[Kn]=void 0))}function Af(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Cg=0;function Ef(e,t,n,r){const i=e._endId=++Cg,s=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:a,propCount:f}=qu(e,t);if(!o)return r();const l=o+"end";let c=0;const u=()=>{e.removeEventListener(l,d),s()},d=h=>{h.target===e&&++c>=f&&u()};setTimeout(()=>{c(n[y]||"").split(", "),i=r(`${Zt}Delay`),s=r(`${Zt}Duration`),o=$f(i,s),a=r(`${lr}Delay`),f=r(`${lr}Duration`),l=$f(a,f);let c=null,u=0,d=0;t===Zt?o>0&&(c=Zt,u=o,d=s.length):t===lr?l>0&&(c=lr,u=l,d=f.length):(u=Math.max(o,l),c=u>0?o>l?Zt:lr:null,d=c?c===Zt?s.length:f.length:0);const h=c===Zt&&/\b(?:transform|all)(?:,|$)/.test(r(`${Zt}Property`).toString());return{type:c,timeout:u,propCount:d,hasTransform:h}}function $f(e,t){for(;e.lengthCf(n)+Cf(e[r])))}function Cf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function vo(e){return(e?e.ownerDocument:document).body.offsetHeight}function Mg(e,t,n){const r=e[Kn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ji=Symbol("_vod"),Wu=Symbol("_vsh"),TS={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ji]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ur(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ur(e,!0),r.enter(e)):r.leave(e,()=>{ur(e,!1)}):ur(e,t))},beforeUnmount(e,{value:t}){ur(e,t)}};function ur(e,t){e.style.display=t?e[Ji]:"none",e[Wu]=!t}const Pg=Symbol(""),Rg=/(?:^|;)\s*display\s*:/;function Dg(e,t,n){const r=e.style,i=ye(n);let s=!1;if(n&&!i){if(t)if(ye(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Ti(r,a,"")}else for(const o in t)n[o]==null&&Ti(r,o,"");for(const o in n)o==="display"&&(s=!0),Ti(r,o,n[o])}else if(i){if(t!==n){const o=r[Pg];o&&(n+=";"+o),r.cssText=n,s=Rg.test(n)}}else t&&e.removeAttribute("style");Ji in e&&(e[Ji]=s?r.display:"",e[Wu]&&(r.display="none"))}const Mf=/\s*!important$/;function Ti(e,t,n){if(z(n))n.forEach(r=>Ti(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Fg(e,t);Mf.test(n)?e.setProperty(dn(r),n.replace(Mf,""),"important"):e[r]=n}}const Pf=["Webkit","Moz","ms"],Vs={};function Fg(e,t){const n=Vs[t];if(n)return n;let r=it(t);if(r!=="filter"&&r in e)return Vs[t]=r;r=cs(r);for(let i=0;iYs||(Bg.then(()=>Ys=0),Ys=Date.now());function Hg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;gt(jg(r,n.value),t,5,[r])};return n.value=e,n.attached=kg(),n}function jg(e,t){if(z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const Nf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qg=(e,t,n,r,i,s)=>{const o=i==="svg";t==="class"?Mg(e,r,o):t==="style"?Dg(e,n,r):ss(t)?zo(t)||Ig(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wg(e,t,r,o))?(Ff(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Df(e,t,r,o,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ye(r))?Ff(e,it(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Df(e,t,r,o))};function Wg(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Nf(t)&&Q(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"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Nf(t)&&ye(n)?!1:t in e}const Uu=new WeakMap,Vu=new WeakMap,Zi=Symbol("_moveCb"),Bf=Symbol("_enterCb"),Ug=e=>(delete e.props.mode,e),Vg=Ug({name:"TransitionGroup",props:xe({},Hu,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Pn(),r=iu();let i,s;return uu(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!zg(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(Yg),i.forEach(Kg);const a=i.filter(Gg);vo(n.vnode.el),a.forEach(f=>{const l=f.el,c=l.style;St(l,o),c.transform=c.webkitTransform=c.transitionDuration="";const u=l[Zi]=d=>{d&&d.target!==l||(!d||d.propertyName.endsWith("transform"))&&(l.removeEventListener("transitionend",u),l[Zi]=null,Qt(l,o))};l.addEventListener("transitionend",u)}),i=[]}),()=>{const o=re(e),a=ju(o);let f=o.tag||Ve;if(i=[],s)for(let l=0;l{a.split(/\s+/).forEach(f=>f&&r.classList.remove(f))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=qu(r);return s.removeChild(r),o}const Gn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return z(t)?n=>_i(t,n):t};function Xg(e){e.target.composing=!0}function kf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const qt=Symbol("_assign");function Hf(e,t,n){return t&&(e=e.trim()),n&&(e=Jo(e)),e}const ES={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[qt]=Gn(i);const s=r||i.props&&i.props.type==="number";rn(e,t?"change":"input",o=>{o.target.composing||e[qt](Hf(e.value,n,s))}),(n||s)&&rn(e,"change",()=>{e.value=Hf(e.value,n,s)}),t||(rn(e,"compositionstart",Xg),rn(e,"compositionend",kf),rn(e,"change",kf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:s}},o){if(e[qt]=Gn(o),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?Jo(e.value):e.value,f=t??"";a!==f&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===f)||(e.value=f))}},$S={deep:!0,created(e,t,n){e[qt]=Gn(n),rn(e,"change",()=>{const r=e._modelValue,i=Yu(e),s=e.checked,o=e[qt];if(z(r)){const a=Al(r,i),f=a!==-1;if(s&&!f)o(r.concat(i));else if(!s&&f){const l=[...r];l.splice(a,1),o(l)}}else if(os(r)){const a=new Set(r);s?a.add(i):a.delete(i),o(a)}else o(Ku(e,s))})},mounted:jf,beforeUpdate(e,t,n){e[qt]=Gn(n),jf(e,t,n)}};function jf(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(z(t))i=Al(t,r.props.value)>-1;else if(os(t))i=t.has(r.props.value);else{if(t===n)return;i=Vn(t,Ku(e,!0))}e.checked!==i&&(e.checked=i)}const CS={created(e,{value:t},n){e.checked=Vn(t,n.props.value),e[qt]=Gn(n),rn(e,"change",()=>{e[qt](Yu(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[qt]=Gn(r),t!==n&&(e.checked=Vn(t,r.props.value))}};function Yu(e){return"_value"in e?e._value:e.value}function Ku(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Jg=["ctrl","shift","alt","meta"],Zg={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)=>Jg.some(n=>e[`${n}Key`]&&!t.includes(n))},MS=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((i,...s)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(i=>{if(!("key"in i))return;const s=dn(i.key);if(t.some(o=>o===s||Qg[o]===s))return e(i)}))},em=xe({patchProp:qg},Ag);let qf;function Gu(){return qf||(qf=ig(em))}const RS=((...e)=>{Gu().render(...e)}),DS=((...e)=>{const t=Gu().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=nm(r);if(!i)return;const s=t._component;!Q(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,tm(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t});function tm(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function nm(e){return ye(e)?document.querySelector(e):e}var zu=typeof global=="object"&&global&&global.Object===Object&&global,rm=typeof self=="object"&&self&&self.Object===Object&&self,vt=zu||rm||Function("return this")(),st=vt.Symbol,Xu=Object.prototype,im=Xu.hasOwnProperty,sm=Xu.toString,dr=st?st.toStringTag:void 0;function om(e){var t=im.call(e,dr),n=e[dr];try{e[dr]=void 0;var r=!0}catch{}var i=sm.call(e);return r&&(t?e[dr]=n:delete e[dr]),i}var am=Object.prototype,fm=am.toString;function cm(e){return fm.call(e)}var lm="[object Null]",um="[object Undefined]",Wf=st?st.toStringTag:void 0;function Rn(e){return e==null?e===void 0?um:lm:Wf&&Wf in Object(e)?om(e):cm(e)}function Mt(e){return e!=null&&typeof e=="object"}var dm="[object Symbol]";function Os(e){return typeof e=="symbol"||Mt(e)&&Rn(e)==dm}function ha(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n0){if(++t>=Hm)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Um(e){return function(){return e}}var Qi=(function(){try{var e=Fn(Object,"defineProperty");return e({},"",{}),e}catch{}})(),Vm=Qi?function(e,t){return Qi(e,"toString",{configurable:!0,enumerable:!1,value:Um(t),writable:!0})}:pa,Qu=Wm(Vm);function Ym(e,t){for(var n=-1,r=e==null?0:e.length;++n-1}var Jm=9007199254740991,Zm=/^(?:0|[1-9]\d*)$/;function Ss(e,t){var n=typeof e;return t=t??Jm,!!t&&(n=="number"||n!="symbol"&&Zm.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=ty}function ir(e){return e!=null&&va(e.length)&&!ga(e)}function ny(e,t,n){if(!je(n))return!1;var r=typeof t;return(r=="number"?ir(n)&&Ss(t,n.length):r=="string"&&t in n)?Jr(n[t],e):!1}function ry(e){return nd(function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(s=e.length>3&&typeof s=="function"?(i--,s):void 0,o&&ny(n[0],n[1],o)&&(s=i<3?void 0:s,i=1),t=Object(t);++r-1}function hv(e,t){var n=this.__data__,r=Ts(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(a)?t>1?ei(a,t-1,n,r,i):Sa(i,a):r||(i[i.length]=a)}return i}function Cv(e){var t=e==null?0:e.length;return t?ei(e,1):[]}function fd(e){return Qu(td(e,void 0,Cv),e+"")}var Ta=ad(Object.getPrototypeOf,Object),Mv="[object Object]",Pv=Function.prototype,Rv=Object.prototype,cd=Pv.toString,Dv=Rv.hasOwnProperty,Fv=cd.call(Object);function ld(e){if(!Mt(e)||Rn(e)!=Mv)return!1;var t=Ta(e);if(t===null)return!0;var n=Dv.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&cd.call(n)==Fv}function Lv(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(i);++r=t?e:t)),e}function LS(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=Sr(n),n=n===n?n:0),t!==void 0&&(t=Sr(t),t=t===t?t:0),Iv(Sr(e),t,n)}function Nv(){this.__data__=new zt,this.size=0}function Bv(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function kv(e){return this.__data__.get(e)}function Hv(e){return this.__data__.has(e)}var jv=200;function qv(e,t){var n=this.__data__;if(n instanceof zt){var r=n.__data__;if(!jr||r.lengtha))return!1;var l=s.get(e),c=s.get(t);if(l&&c)return l==t&&c==e;var u=-1,d=!0,h=n&yb?new qr:void 0;for(s.set(e,t),s.set(t,e);++u=t||H<0||u&&q>=s}function m(){var E=Xs();if(v(E))return x(E);a=setTimeout(m,g(E))}function x(E){return a=void 0,d&&r?h(E):(r=i=void 0,o)}function w(){a!==void 0&&clearTimeout(a),l=0,r=f=i=a=void 0}function _(){return a===void 0?o:x(Xs())}function T(){var E=Xs(),H=v(E);if(r=arguments,i=this,f=E,H){if(a===void 0)return y(f);if(u)return clearTimeout(a),a=setTimeout(m,t),h(f)}return a===void 0&&(a=setTimeout(m,t)),o}return T.cancel=w,T.flush=_,T}function Oo(e,t,n){(n!==void 0&&!Jr(e[t],n)||n===void 0&&!(t in e))&&ma(e,t,n)}function Cd(e){return Mt(e)&&ir(e)}function So(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function aw(e){return rr(e,Qr(e))}function fw(e,t,n,r,i,s,o){var a=So(e,n),f=So(t,n),l=o.get(f);if(l){Oo(e,n,l);return}var c=s?s(a,f,n+"",e,t,o):void 0,u=c===void 0;if(u){var d=He(f),h=!d&&kr(f),y=!d&&!h&&_a(f);c=f,d||h||y?He(a)?c=a:Cd(a)?c=Zu(a):h?(u=!1,c=dd(f,!0)):y?(u=!1,c=yd(f,!0)):c=[]:ld(f)||Br(f)?(c=a,Br(a)?c=aw(a):(!je(a)||ga(a))&&(c=vd(f))):u=!1}u&&(o.set(f,c),i(c,f,r,s,o),o.delete(f)),Oo(e,n,c)}function Md(e,t,n,r,i){e!==t&&$d(t,function(s,o){if(i||(i=new dt),je(s))fw(e,t,o,n,Md,r,i);else{var a=r?r(So(e,o),s,o+"",e,t,i):void 0;a===void 0&&(a=s),Oo(e,o,a)}},Qr)}function cw(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function BS(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=r-1;return ed(e,Ed(t),i,!0)}function lw(e,t){var n=-1,r=ir(e)?Array(e.length):[];return nw(e,function(i,s,o){r[++n]=t(i,s,o)}),r}function uw(e,t){var n=He(e)?ha:lw;return n(e,Ed(t))}function kS(e,t){return ei(uw(e,t),1)}var dw=1/0;function HS(e){var t=e==null?0:e.length;return t?ei(e,dw):[]}function jS(e){for(var t=-1,n=e==null?0:e.length,r={};++t1),s}),rr(e,md(e),n),r&&(n=Wn(n,mw|yw|vw,gw));for(var i=t.length;i--;)pw(n,t[i]);return n});function Pd(e,t,n,r){if(!je(e))return e;t=sr(t,e);for(var i=-1,s=t.length,o=s-1,a=e;a!=null&&++i=Sw){var l=Ow(e);if(l)return $a(l);o=!1,i=xd,f=new qr}else f=a;e:for(;++rt in e?Aw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pw=(e,t)=>{for(var n in t||(t={}))Cw.call(t,n)&&bc(e,n,t[n]);if(vc)for(var n of vc(t))Mw.call(t,n)&&bc(e,n,t[n]);return e},Rw=(e,t)=>Ew(e,$w(t));function ZS(e,t){var n;const r=ip();return Wp(()=>{r.value=e()},Rw(Pw({},t),{flush:(n=void 0)!=null?n:"sync"})),Rr(r)}var wc;const Cs=typeof window<"u",Dw=e=>typeof e<"u",To=e=>typeof e=="function",Fw=e=>typeof e=="string",QS=(e,t,n)=>Math.min(n,Math.max(t,e)),Wt=()=>{},Lw=Cs&&((wc=window?.navigator)==null?void 0:wc.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ln(e){return typeof e=="function"?e():ms(e)}function Rd(e,t){function n(...r){return new Promise((i,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(s)})}return n}function Iw(e,t={}){let n,r,i=Wt;const s=a=>{clearTimeout(a),i(),i=Wt};return a=>{const f=ln(e),l=ln(t.maxWait);return n&&s(n),f<=0||l!==void 0&&l<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((c,u)=>{i=t.rejectOnCancel?u:c,l&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,c(a())},l)),n=setTimeout(()=>{r&&s(r),r=null,c(a())},f)})}}function Nw(e,t=!0,n=!0,r=!1){let i=0,s,o=!0,a=Wt,f;const l=()=>{s&&(clearTimeout(s),s=void 0,a(),a=Wt)};return u=>{const d=ln(e),h=Date.now()-i,y=()=>f=u();return l(),d<=0?(i=Date.now(),y()):(h>d&&(n||!o)?(i=Date.now(),y()):t&&(f=new Promise((g,v)=>{a=r?v:g,s=setTimeout(()=>{i=Date.now(),o=!0,g(y()),l()},Math.max(0,d-h))})),!n&&!s&&(s=setTimeout(()=>o=!0,d)),o=!1,f)}}function Bw(e){return e}function kw(e,t){let n,r,i;const s=ve(!0),o=()=>{s.value=!0,i()};ke(e,o,{flush:"sync"});const a=To(t)?t:t.get,f=To(t)?void 0:t.set,l=fp((c,u)=>(r=c,i=u,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(d){f?.(d)}}));return Object.isExtensible(l)&&(l.trigger=o),l}function ti(e){return Ml()?(Ih(e),!0):!1}function Hw(e){if(!be(e))return Pr(e);const t=new Proxy({},{get(n,r,i){return ms(Reflect.get(e.value,r,i))},set(n,r,i){return be(e.value[r])&&!be(i)?e.value[r].value=i:e.value[r]=i,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Pr(t)}function eT(e){return Hw(Xr(e))}function jw(e,t=200,n={}){return Rd(Iw(t,n),e)}function tT(e,t=200,n={}){const r=ve(e.value),i=jw(()=>{r.value=e.value},t,n);return ke(e,()=>i()),r}function nT(e,t=200,n=!1,r=!0,i=!1){return Rd(Nw(t,n,r,i),e)}function Ca(e,t=!0){Pn()?sa(e):t?e():zl(e)}function rT(e,t,n={}){const{immediate:r=!0}=n,i=ve(!1);let s=null;function o(){s&&(clearTimeout(s),s=null)}function a(){i.value=!1,o()}function f(...l){o(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=null,e(...l)},ln(t))}return r&&(i.value=!0,Cs&&f()),ti(a),{isPending:Rr(i),start:f,stop:a}}function Be(e){var t;const n=ln(e);return(t=n?.$el)!=null?t:n}const Ft=Cs?window:void 0,qw=Cs?window.document:void 0;function nt(...e){let t,n,r,i;if(Fw(e[0])||Array.isArray(e[0])?([n,r,i]=e,t=Ft):[t,n,r,i]=e,!t)return Wt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],o=()=>{s.forEach(c=>c()),s.length=0},a=(c,u,d,h)=>(c.addEventListener(u,d,h),()=>c.removeEventListener(u,d,h)),f=ke(()=>[Be(t),ln(i)],([c,u])=>{o(),c&&s.push(...n.flatMap(d=>r.map(h=>a(c,d,h,u))))},{immediate:!0,flush:"post"}),l=()=>{f(),o()};return ti(l),l}let _c=!1;function iT(e,t,n={}){const{window:r=Ft,ignore:i=[],capture:s=!0,detectIframe:o=!1}=n;if(!r)return;Lw&&!_c&&(_c=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",Wt)));let a=!0;const f=d=>i.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(y=>y===d.target||d.composedPath().includes(y));{const y=Be(h);return y&&(d.target===y||d.composedPath().includes(y))}}),c=[nt(r,"click",d=>{const h=Be(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(a=!f(d)),!a){a=!0;return}t(d)}},{passive:!0,capture:s}),nt(r,"pointerdown",d=>{const h=Be(e);h&&(a=!d.composedPath().includes(h)&&!f(d))},{passive:!0}),o&&nt(r,"blur",d=>{var h;const y=Be(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!y?.contains(r.document.activeElement)&&t(d)})].filter(Boolean);return()=>c.forEach(d=>d())}function sT(e={}){var t;const{window:n=Ft}=e,r=(t=e.document)!=null?t:n?.document,i=kw(()=>null,()=>r?.activeElement);return n&&(nt(n,"blur",s=>{s.relatedTarget===null&&i.trigger()},!0),nt(n,"focus",i.trigger,!0)),i}function Ma(e,t=!1){const n=ve(),r=()=>n.value=!!e();return r(),Ca(r,t),n}function Ww(e){return JSON.parse(JSON.stringify(e))}const xc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Oc="__vueuse_ssr_handlers__";xc[Oc]=xc[Oc]||{};function oT(e,t,{window:n=Ft,initialValue:r=""}={}){const i=ve(r),s=Xr(()=>{var o;return Be(t)||((o=n?.document)==null?void 0:o.documentElement)});return ke([s,()=>ln(e)],([o,a])=>{var f;if(o&&n){const l=(f=n.getComputedStyle(o).getPropertyValue(a))==null?void 0:f.trim();i.value=l||r}},{immediate:!0}),ke(i,o=>{var a;(a=s.value)!=null&&a.style&&s.value.style.setProperty(ln(e),o)}),i}function aT({document:e=qw}={}){if(!e)return ve("visible");const t=ve(e.visibilityState);return nt(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var Sc=Object.getOwnPropertySymbols,Uw=Object.prototype.hasOwnProperty,Vw=Object.prototype.propertyIsEnumerable,Yw=(e,t)=>{var n={};for(var r in e)Uw.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Sc)for(var r of Sc(e))t.indexOf(r)<0&&Vw.call(e,r)&&(n[r]=e[r]);return n};function Dd(e,t,n={}){const r=n,{window:i=Ft}=r,s=Yw(r,["window"]);let o;const a=Ma(()=>i&&"ResizeObserver"in i),f=()=>{o&&(o.disconnect(),o=void 0)},l=ke(()=>Be(e),u=>{f(),a.value&&i&&u&&(o=new ResizeObserver(t),o.observe(u,s))},{immediate:!0,flush:"post"}),c=()=>{f(),l()};return ti(c),{isSupported:a,stop:c}}function fT(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:s=!0}=t,o=ve(0),a=ve(0),f=ve(0),l=ve(0),c=ve(0),u=ve(0),d=ve(0),h=ve(0);function y(){const g=Be(e);if(!g){n&&(o.value=0,a.value=0,f.value=0,l.value=0,c.value=0,u.value=0,d.value=0,h.value=0);return}const v=g.getBoundingClientRect();o.value=v.height,a.value=v.bottom,f.value=v.left,l.value=v.right,c.value=v.top,u.value=v.width,d.value=v.x,h.value=v.y}return Dd(e,y),ke(()=>Be(e),g=>!g&&y()),i&&nt("scroll",y,{capture:!0,passive:!0}),r&&nt("resize",y,{passive:!0}),Ca(()=>{s&&y()}),{height:o,bottom:a,left:f,right:l,top:c,width:u,x:d,y:h,update:y}}function cT(e,t={width:0,height:0},n={}){const{window:r=Ft,box:i="content-box"}=n,s=Xr(()=>{var f,l;return(l=(f=Be(e))==null?void 0:f.namespaceURI)==null?void 0:l.includes("svg")}),o=ve(t.width),a=ve(t.height);return Dd(e,([f])=>{const l=i==="border-box"?f.borderBoxSize:i==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&s.value){const c=Be(e);if(c){const u=r.getComputedStyle(c);o.value=parseFloat(u.width),a.value=parseFloat(u.height)}}else if(l){const c=Array.isArray(l)?l:[l];o.value=c.reduce((u,{inlineSize:d})=>u+d,0),a.value=c.reduce((u,{blockSize:d})=>u+d,0)}else o.value=f.contentRect.width,a.value=f.contentRect.height},n),ke(()=>Be(e),f=>{o.value=f?t.width:0,a.value=f?t.height:0}),{width:o,height:a}}function lT(e,t,n={}){const{root:r,rootMargin:i="0px",threshold:s=.1,window:o=Ft}=n,a=Ma(()=>o&&"IntersectionObserver"in o);let f=Wt;const l=a.value?ke(()=>({el:Be(e),root:Be(r)}),({el:u,root:d})=>{if(f(),!u)return;const h=new IntersectionObserver(t,{root:d,rootMargin:i,threshold:s});h.observe(u),f=()=>{h.disconnect(),f=Wt}},{immediate:!0,flush:"post"}):Wt,c=()=>{f(),l()};return ti(c),{isSupported:a,stop:c}}var Tc=Object.getOwnPropertySymbols,Kw=Object.prototype.hasOwnProperty,Gw=Object.prototype.propertyIsEnumerable,zw=(e,t)=>{var n={};for(var r in e)Kw.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Tc)for(var r of Tc(e))t.indexOf(r)<0&&Gw.call(e,r)&&(n[r]=e[r]);return n};function uT(e,t,n={}){const r=n,{window:i=Ft}=r,s=zw(r,["window"]);let o;const a=Ma(()=>i&&"MutationObserver"in i),f=()=>{o&&(o.disconnect(),o=void 0)},l=ke(()=>Be(e),u=>{f(),a.value&&i&&u&&(o=new MutationObserver(t),o.observe(u,s))},{immediate:!0}),c=()=>{f(),l()};return ti(c),{isSupported:a,stop:c}}var Ac;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Ac||(Ac={}));var Xw=Object.defineProperty,Ec=Object.getOwnPropertySymbols,Jw=Object.prototype.hasOwnProperty,Zw=Object.prototype.propertyIsEnumerable,$c=(e,t,n)=>t in e?Xw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qw=(e,t)=>{for(var n in t||(t={}))Jw.call(t,n)&&$c(e,n,t[n]);if(Ec)for(var n of Ec(t))Zw.call(t,n)&&$c(e,n,t[n]);return e};const e_={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Qw({linear:Bw},e_);function dT(e,t,n,r={}){var i,s,o;const{clone:a=!1,passive:f=!1,eventName:l,deep:c=!1,defaultValue:u}=r,d=Pn(),h=n||d?.emit||((i=d?.$emit)==null?void 0:i.bind(d))||((o=(s=d?.proxy)==null?void 0:s.$emit)==null?void 0:o.bind(d?.proxy));let y=l;t||(t="modelValue"),y=l||y||`update:${t.toString()}`;const g=m=>a?To(a)?a(m):Ww(m):m,v=()=>Dw(e[t])?g(e[t]):u;if(f){const m=v(),x=ve(m);return ke(()=>e[t],w=>x.value=g(w)),ke(x,w=>{(w!==e[t]||c)&&h(y,w)},{deep:c}),x}else return Xr({get(){return v()},set(m){h(y,m)}})}function hT({window:e=Ft}={}){if(!e)return ve(!1);const t=ve(e.document.hasFocus());return nt(e,"blur",()=>{t.value=!1}),nt(e,"focus",()=>{t.value=!0}),t}function pT(e={}){const{window:t=Ft,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:i=!0,includeScrollbar:s=!0}=e,o=ve(n),a=ve(r),f=()=>{t&&(s?(o.value=t.innerWidth,a.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};return f(),Ca(f),nt("resize",f,{passive:!0}),i&&nt("orientationchange",f,{passive:!0}),{width:o,height:a}}var Ye="top",ot="bottom",at="right",Ke="left",Pa="auto",ni=[Ye,ot,at,Ke],Xn="start",Wr="end",t_="clippingParents",Fd="viewport",hr="popper",n_="reference",Cc=ni.reduce(function(e,t){return e.concat([t+"-"+Xn,t+"-"+Wr])},[]),Ld=[].concat(ni,[Pa]).reduce(function(e,t){return e.concat([t,t+"-"+Xn,t+"-"+Wr])},[]),r_="beforeRead",i_="read",s_="afterRead",o_="beforeMain",a_="main",f_="afterMain",c_="beforeWrite",l_="write",u_="afterWrite",d_=[r_,i_,s_,o_,a_,f_,c_,l_,u_];function Pt(e){return e?(e.nodeName||"").toLowerCase():null}function bt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Jn(e){var t=bt(e).Element;return e instanceof t||e instanceof Element}function rt(e){var t=bt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ra(e){if(typeof ShadowRoot>"u")return!1;var t=bt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function h_(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},s=t.elements[n];!rt(s)||!Pt(s)||(Object.assign(s.style,r),Object.keys(i).forEach(function(o){var a=i[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function p_(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],s=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=o.reduce(function(f,l){return f[l]="",f},{});!rt(i)||!Pt(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(f){i.removeAttribute(f)}))})}}var Id={name:"applyStyles",enabled:!0,phase:"write",fn:h_,effect:p_,requires:["computeStyles"]};function Et(e){return e.split("-")[0]}var Tn=Math.max,ts=Math.min,Zn=Math.round;function Qn(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(rt(e)&&t){var s=e.offsetHeight,o=e.offsetWidth;o>0&&(r=Zn(n.width)/o||1),s>0&&(i=Zn(n.height)/s||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function Da(e){var t=Qn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Nd(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ra(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Kt(e){return bt(e).getComputedStyle(e)}function g_(e){return["table","td","th"].indexOf(Pt(e))>=0}function hn(e){return((Jn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ms(e){return Pt(e)==="html"?e:e.assignedSlot||e.parentNode||(Ra(e)?e.host:null)||hn(e)}function Mc(e){return!rt(e)||Kt(e).position==="fixed"?null:e.offsetParent}function m_(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&rt(e)){var r=Kt(e);if(r.position==="fixed")return null}var i=Ms(e);for(Ra(i)&&(i=i.host);rt(i)&&["html","body"].indexOf(Pt(i))<0;){var s=Kt(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function ri(e){for(var t=bt(e),n=Mc(e);n&&g_(n)&&Kt(n).position==="static";)n=Mc(n);return n&&(Pt(n)==="html"||Pt(n)==="body"&&Kt(n).position==="static")?t:n||m_(e)||t}function Fa(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ar(e,t,n){return Tn(e,ts(t,n))}function y_(e,t,n){var r=Ar(e,t,n);return r>n?n:r}function Bd(){return{top:0,right:0,bottom:0,left:0}}function kd(e){return Object.assign({},Bd(),e)}function Hd(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var v_=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,kd(typeof e!="number"?e:Hd(e,ni))};function b_(e){var t,n=e.state,r=e.name,i=e.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Et(n.placement),f=Fa(a),l=[Ke,at].indexOf(a)>=0,c=l?"height":"width";if(!(!s||!o)){var u=v_(i.padding,n),d=Da(s),h=f==="y"?Ye:Ke,y=f==="y"?ot:at,g=n.rects.reference[c]+n.rects.reference[f]-o[f]-n.rects.popper[c],v=o[f]-n.rects.reference[f],m=ri(s),x=m?f==="y"?m.clientHeight||0:m.clientWidth||0:0,w=g/2-v/2,_=u[h],T=x-d[c]-u[y],E=x/2-d[c]/2+w,H=Ar(_,E,T),q=f;n.modifiersData[r]=(t={},t[q]=H,t.centerOffset=H-E,t)}}function w_(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!Nd(t.elements.popper,i)||(t.elements.arrow=i))}var __={name:"arrow",enabled:!0,phase:"main",fn:b_,effect:w_,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function er(e){return e.split("-")[1]}var x_={top:"auto",right:"auto",bottom:"auto",left:"auto"};function O_(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:Zn(t*i)/i||0,y:Zn(n*i)/i||0}}function Pc(e){var t,n=e.popper,r=e.popperRect,i=e.placement,s=e.variation,o=e.offsets,a=e.position,f=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,u=e.isFixed,d=o.x,h=d===void 0?0:d,y=o.y,g=y===void 0?0:y,v=typeof c=="function"?c({x:h,y:g}):{x:h,y:g};h=v.x,g=v.y;var m=o.hasOwnProperty("x"),x=o.hasOwnProperty("y"),w=Ke,_=Ye,T=window;if(l){var E=ri(n),H="clientHeight",q="clientWidth";if(E===bt(n)&&(E=hn(n),Kt(E).position!=="static"&&a==="absolute"&&(H="scrollHeight",q="scrollWidth")),E=E,i===Ye||(i===Ke||i===at)&&s===Wr){_=ot;var L=u&&E===T&&T.visualViewport?T.visualViewport.height:E[H];g-=L-r.height,g*=f?1:-1}if(i===Ke||(i===Ye||i===ot)&&s===Wr){w=at;var k=u&&E===T&&T.visualViewport?T.visualViewport.width:E[q];h-=k-r.width,h*=f?1:-1}}var N=Object.assign({position:a},l&&x_),$=c===!0?O_({x:h,y:g}):{x:h,y:g};if(h=$.x,g=$.y,f){var Y;return Object.assign({},N,(Y={},Y[_]=x?"0":"",Y[w]=m?"0":"",Y.transform=(T.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",Y))}return Object.assign({},N,(t={},t[_]=x?g+"px":"",t[w]=m?h+"px":"",t.transform="",t))}function S_(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,s=n.adaptive,o=s===void 0?!0:s,a=n.roundOffsets,f=a===void 0?!0:a,l={placement:Et(t.placement),variation:er(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Pc(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Pc(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var jd={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:S_,data:{}},hi={passive:!0};function T_(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,s=i===void 0?!0:i,o=r.resize,a=o===void 0?!0:o,f=bt(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&l.forEach(function(c){c.addEventListener("scroll",n.update,hi)}),a&&f.addEventListener("resize",n.update,hi),function(){s&&l.forEach(function(c){c.removeEventListener("scroll",n.update,hi)}),a&&f.removeEventListener("resize",n.update,hi)}}var qd={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:T_,data:{}},A_={left:"right",right:"left",bottom:"top",top:"bottom"};function Ai(e){return e.replace(/left|right|bottom|top/g,function(t){return A_[t]})}var E_={start:"end",end:"start"};function Rc(e){return e.replace(/start|end/g,function(t){return E_[t]})}function La(e){var t=bt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ia(e){return Qn(hn(e)).left+La(e).scrollLeft}function $_(e){var t=bt(e),n=hn(e),r=t.visualViewport,i=n.clientWidth,s=n.clientHeight,o=0,a=0;return r&&(i=r.width,s=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=r.offsetLeft,a=r.offsetTop)),{width:i,height:s,x:o+Ia(e),y:a}}function C_(e){var t,n=hn(e),r=La(e),i=(t=e.ownerDocument)==null?void 0:t.body,s=Tn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Tn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+Ia(e),f=-r.scrollTop;return Kt(i||n).direction==="rtl"&&(a+=Tn(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:f}}function Na(e){var t=Kt(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Wd(e){return["html","body","#document"].indexOf(Pt(e))>=0?e.ownerDocument.body:rt(e)&&Na(e)?e:Wd(Ms(e))}function Er(e,t){var n;t===void 0&&(t=[]);var r=Wd(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),s=bt(r),o=i?[s].concat(s.visualViewport||[],Na(r)?r:[]):r,a=t.concat(o);return i?a:a.concat(Er(Ms(o)))}function Ao(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function M_(e){var t=Qn(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Dc(e,t){return t===Fd?Ao($_(e)):Jn(t)?M_(t):Ao(C_(hn(e)))}function P_(e){var t=Er(Ms(e)),n=["absolute","fixed"].indexOf(Kt(e).position)>=0,r=n&&rt(e)?ri(e):e;return Jn(r)?t.filter(function(i){return Jn(i)&&Nd(i,r)&&Pt(i)!=="body"}):[]}function R_(e,t,n){var r=t==="clippingParents"?P_(e):[].concat(t),i=[].concat(r,[n]),s=i[0],o=i.reduce(function(a,f){var l=Dc(e,f);return a.top=Tn(l.top,a.top),a.right=ts(l.right,a.right),a.bottom=ts(l.bottom,a.bottom),a.left=Tn(l.left,a.left),a},Dc(e,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Ud(e){var t=e.reference,n=e.element,r=e.placement,i=r?Et(r):null,s=r?er(r):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,f;switch(i){case Ye:f={x:o,y:t.y-n.height};break;case ot:f={x:o,y:t.y+t.height};break;case at:f={x:t.x+t.width,y:a};break;case Ke:f={x:t.x-n.width,y:a};break;default:f={x:t.x,y:t.y}}var l=i?Fa(i):null;if(l!=null){var c=l==="y"?"height":"width";switch(s){case Xn:f[l]=f[l]-(t[c]/2-n[c]/2);break;case Wr:f[l]=f[l]+(t[c]/2-n[c]/2);break}}return f}function Ur(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,s=n.boundary,o=s===void 0?t_:s,a=n.rootBoundary,f=a===void 0?Fd:a,l=n.elementContext,c=l===void 0?hr:l,u=n.altBoundary,d=u===void 0?!1:u,h=n.padding,y=h===void 0?0:h,g=kd(typeof y!="number"?y:Hd(y,ni)),v=c===hr?n_:hr,m=e.rects.popper,x=e.elements[d?v:c],w=R_(Jn(x)?x:x.contextElement||hn(e.elements.popper),o,f),_=Qn(e.elements.reference),T=Ud({reference:_,element:m,placement:i}),E=Ao(Object.assign({},m,T)),H=c===hr?E:_,q={top:w.top-H.top+g.top,bottom:H.bottom-w.bottom+g.bottom,left:w.left-H.left+g.left,right:H.right-w.right+g.right},L=e.modifiersData.offset;if(c===hr&&L){var k=L[i];Object.keys(q).forEach(function(N){var $=[at,ot].indexOf(N)>=0?1:-1,Y=[Ye,ot].indexOf(N)>=0?"y":"x";q[N]+=k[Y]*$})}return q}function D_(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,f=n.allowedAutoPlacements,l=f===void 0?Ld:f,c=er(r),u=c?a?Cc:Cc.filter(function(y){return er(y)===c}):ni,d=u.filter(function(y){return l.indexOf(y)>=0});d.length===0&&(d=u);var h=d.reduce(function(y,g){return y[g]=Ur(e,{placement:g,boundary:i,rootBoundary:s,padding:o})[Et(g)],y},{});return Object.keys(h).sort(function(y,g){return h[y]-h[g]})}function F_(e){if(Et(e)===Pa)return[];var t=Ai(e);return[Rc(e),t,Rc(t)]}function L_(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!0:o,f=n.fallbackPlacements,l=n.padding,c=n.boundary,u=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,y=h===void 0?!0:h,g=n.allowedAutoPlacements,v=t.options.placement,m=Et(v),x=m===v,w=f||(x||!y?[Ai(v)]:F_(v)),_=[v].concat(w).reduce(function(ce,ue){return ce.concat(Et(ue)===Pa?D_(t,{placement:ue,boundary:c,rootBoundary:u,padding:l,flipVariations:y,allowedAutoPlacements:g}):ue)},[]),T=t.rects.reference,E=t.rects.popper,H=new Map,q=!0,L=_[0],k=0;k<_.length;k++){var N=_[k],$=Et(N),Y=er(N)===Xn,I=[Ye,ot].indexOf($)>=0,F=I?"width":"height",S=Ur(t,{placement:N,boundary:c,rootBoundary:u,altBoundary:d,padding:l}),C=I?Y?at:Ke:Y?ot:Ye;T[F]>E[F]&&(C=Ai(C));var A=Ai(C),U=[];if(s&&U.push(S[$]<=0),a&&U.push(S[C]<=0,S[A]<=0),U.every(function(ce){return ce})){L=N,q=!1;break}H.set(N,U)}if(q)for(var K=y?3:1,J=function(ce){var ue=_.find(function(_e){var we=H.get(_e);if(we)return we.slice(0,ce).every(function(Se){return Se})});if(ue)return L=ue,"break"},ee=K;ee>0;ee--){var se=J(ee);if(se==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}var I_={name:"flip",enabled:!0,phase:"main",fn:L_,requiresIfExists:["offset"],data:{_skip:!1}};function Fc(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Lc(e){return[Ye,at,ot,Ke].some(function(t){return e[t]>=0})}function N_(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,o=Ur(t,{elementContext:"reference"}),a=Ur(t,{altBoundary:!0}),f=Fc(o,r),l=Fc(a,i,s),c=Lc(f),u=Lc(l);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":u})}var B_={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:N_};function k_(e,t,n){var r=Et(e),i=[Ke,Ye].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[Ke,at].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function H_(e){var t=e.state,n=e.options,r=e.name,i=n.offset,s=i===void 0?[0,0]:i,o=Ld.reduce(function(c,u){return c[u]=k_(u,t.rects,s),c},{}),a=o[t.placement],f=a.x,l=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=o}var j_={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:H_};function q_(e){var t=e.state,n=e.name;t.modifiersData[n]=Ud({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var Vd={name:"popperOffsets",enabled:!0,phase:"read",fn:q_,data:{}};function W_(e){return e==="x"?"y":"x"}function U_(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!1:o,f=n.boundary,l=n.rootBoundary,c=n.altBoundary,u=n.padding,d=n.tether,h=d===void 0?!0:d,y=n.tetherOffset,g=y===void 0?0:y,v=Ur(t,{boundary:f,rootBoundary:l,padding:u,altBoundary:c}),m=Et(t.placement),x=er(t.placement),w=!x,_=Fa(m),T=W_(_),E=t.modifiersData.popperOffsets,H=t.rects.reference,q=t.rects.popper,L=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,k=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,$={x:0,y:0};if(E){if(s){var Y,I=_==="y"?Ye:Ke,F=_==="y"?ot:at,S=_==="y"?"height":"width",C=E[_],A=C+v[I],U=C-v[F],K=h?-q[S]/2:0,J=x===Xn?H[S]:q[S],ee=x===Xn?-q[S]:-H[S],se=t.elements.arrow,ce=h&&se?Da(se):{width:0,height:0},ue=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Bd(),_e=ue[I],we=ue[F],Se=Ar(0,H[S],ce[S]),De=w?H[S]/2-K-Se-_e-k.mainAxis:J-Se-_e-k.mainAxis,pe=w?-H[S]/2+K+Se+we+k.mainAxis:ee+Se+we+k.mainAxis,Ae=t.elements.arrow&&ri(t.elements.arrow),p=Ae?_==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,b=(Y=N?.[_])!=null?Y:0,O=C+De-b-p,D=C+pe-b,M=Ar(h?ts(A,O):A,C,h?Tn(U,D):U);E[_]=M,$[_]=M-C}if(a){var P,W=_==="x"?Ye:Ke,j=_==="x"?ot:at,B=E[T],R=T==="y"?"height":"width",X=B+v[W],V=B-v[j],G=[Ye,Ke].indexOf(m)!==-1,Z=(P=N?.[T])!=null?P:0,te=G?X:B-H[R]-q[R]-Z+k.altAxis,ae=G?B+H[R]+q[R]-Z-k.altAxis:V,ie=h&&G?y_(te,B,ae):Ar(h?te:X,B,h?ae:V);E[T]=ie,$[T]=ie-B}t.modifiersData[r]=$}}var V_={name:"preventOverflow",enabled:!0,phase:"main",fn:U_,requiresIfExists:["offset"]};function Y_(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function K_(e){return e===bt(e)||!rt(e)?La(e):Y_(e)}function G_(e){var t=e.getBoundingClientRect(),n=Zn(t.width)/e.offsetWidth||1,r=Zn(t.height)/e.offsetHeight||1;return n!==1||r!==1}function z_(e,t,n){n===void 0&&(n=!1);var r=rt(t),i=rt(t)&&G_(t),s=hn(t),o=Qn(e,i),a={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((Pt(t)!=="body"||Na(s))&&(a=K_(t)),rt(t)?(f=Qn(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=Ia(s))),{x:o.left+a.scrollLeft-f.x,y:o.top+a.scrollTop-f.y,width:o.width,height:o.height}}function X_(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function i(s){n.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var f=t.get(a);f&&i(f)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||i(s)}),r}function J_(e){var t=X_(e);return d_.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Z_(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Q_(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ic={placement:"bottom",modifiers:[],strategy:"absolute"};function Nc(){for(var e=arguments.length,t=new Array(e),n=0;n1)&&(e=1),e}function gi(e){return e<=1?"".concat(Number(e)*100,"%"):e}function wn(e){return e.length===1?"0"+e:String(e)}function ix(e,t,n){return{r:$e(e,255)*255,g:$e(t,255)*255,b:$e(n,255)*255}}function Bc(e,t,n){e=$e(e,255),t=$e(t,255),n=$e(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),s=0,o=0,a=(r+i)/2;if(r===i)o=0,s=0;else{var f=r-i;switch(o=a>.5?f/(2-r-i):f/(r+i),r){case e:s=(t-n)/f+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function sx(e,t,n){var r,i,s;if(e=$e(e,360),t=$e(t,100),n=$e(n,100),t===0)i=n,s=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;r=Js(a,o,e+1/3),i=Js(a,o,e),s=Js(a,o,e-1/3)}return{r:r*255,g:i*255,b:s*255}}function kc(e,t,n){e=$e(e,255),t=$e(t,255),n=$e(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),s=0,o=r,a=r-i,f=r===0?0:a/r;if(r===i)s=0;else{switch(r){case e:s=(t-n)/a+(t>16,g:(e&65280)>>8,b:e&255}}var Eo={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function lx(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,s=null,o=!1,a=!1;return typeof e=="string"&&(e=hx(e)),typeof e=="object"&&(Nt(e.r)&&Nt(e.g)&&Nt(e.b)?(t=ix(e.r,e.g,e.b),o=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Nt(e.h)&&Nt(e.s)&&Nt(e.v)?(r=gi(e.s),i=gi(e.v),t=ox(e.h,r,i),o=!0,a="hsv"):Nt(e.h)&&Nt(e.s)&&Nt(e.l)&&(r=gi(e.s),s=gi(e.l),t=sx(e.h,r,s),o=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Yd(n),{ok:o,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var ux="[-\\+]?\\d+%?",dx="[-\\+]?\\d*\\.\\d+%?",sn="(?:".concat(dx,")|(?:").concat(ux,")"),Zs="[\\s|\\(]+(".concat(sn,")[,|\\s]+(").concat(sn,")[,|\\s]+(").concat(sn,")\\s*\\)?"),Qs="[\\s|\\(]+(".concat(sn,")[,|\\s]+(").concat(sn,")[,|\\s]+(").concat(sn,")[,|\\s]+(").concat(sn,")\\s*\\)?"),ft={CSS_UNIT:new RegExp(sn),rgb:new RegExp("rgb"+Zs),rgba:new RegExp("rgba"+Qs),hsl:new RegExp("hsl"+Zs),hsla:new RegExp("hsla"+Qs),hsv:new RegExp("hsv"+Zs),hsva:new RegExp("hsva"+Qs),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function hx(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Eo[e])e=Eo[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=ft.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=ft.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=ft.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=ft.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=ft.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=ft.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=ft.hex8.exec(e),n?{r:ze(n[1]),g:ze(n[2]),b:ze(n[3]),a:jc(n[4]),format:t?"name":"hex8"}:(n=ft.hex6.exec(e),n?{r:ze(n[1]),g:ze(n[2]),b:ze(n[3]),format:t?"name":"hex"}:(n=ft.hex4.exec(e),n?{r:ze(n[1]+n[1]),g:ze(n[2]+n[2]),b:ze(n[3]+n[3]),a:jc(n[4]+n[4]),format:t?"name":"hex8"}:(n=ft.hex3.exec(e),n?{r:ze(n[1]+n[1]),g:ze(n[2]+n[2]),b:ze(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Nt(e){return!!ft.CSS_UNIT.exec(String(e))}var mT=(function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=cx(t)),this.originalInput=t;var i=lx(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,s=t.r/255,o=t.g/255,a=t.b/255;return s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),a<=.03928?i=a/12.92:i=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Yd(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=kc(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=kc(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Bc(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Bc(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Hc(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),ax(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round($e(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round($e(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Hc(this.r,this.g,this.b,!1),n=0,r=Object.entries(Eo);n=0,s=!n&&i&&(t.startsWith("hex")||t==="name");return s?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=pi(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=pi(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=pi(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=pi(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),s=n/100,o={r:(i.r-r.r)*s+r.r,g:(i.g-r.g)*s+r.g,b:(i.b-r.b)*s+r.b,a:(i.a-r.a)*s+r.a};return new e(o)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,s=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,s.push(new e(r));return s},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,s=n.v,o=[],a=1/t;t--;)o.push(new e({h:r,s:i,v:s})),s=(s+a)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],s=360/t,o=1;o=F?I:""+Array(F+1-C.length).join(S)+I},_={s:w,z:function(I){var F=-I.utcOffset(),S=Math.abs(F),C=Math.floor(S/60),A=S%60;return(F<=0?"+":"-")+w(C,2,"0")+":"+w(A,2,"0")},m:function I(F,S){if(F.date()1)return I(K[0])}else{var J=F.name;E[J]=F,A=J}return!C&&A&&(T=A),A||!C&&T},k=function(I,F){if(q(I))return I.clone();var S=typeof F=="object"?F:{};return S.date=I,S.args=arguments,new $(S)},N=_;N.l=L,N.i=q,N.w=function(I,F){return k(I,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var $=(function(){function I(S){this.$L=L(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[H]=!0}var F=I.prototype;return F.parse=function(S){this.$d=(function(C){var A=C.date,U=C.utc;if(A===null)return new Date(NaN);if(N.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var K=A.match(v);if(K){var J=K[2]-1||0,ee=(K[7]||"0").substring(0,3);return U?new Date(Date.UTC(K[1],J,K[3]||1,K[4]||0,K[5]||0,K[6]||0,ee)):new Date(K[1],J,K[3]||1,K[4]||0,K[5]||0,K[6]||0,ee)}}return new Date(A)})(S),this.init()},F.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},F.$utils=function(){return N},F.isValid=function(){return this.$d.toString()!==g},F.isSame=function(S,C){var A=k(S);return this.startOf(C)<=A&&A<=this.endOf(C)},F.isAfter=function(S,C){return k(S)68?1900:2e3)},c=function(v){return function(m){this[v]=+m}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=(function(m){if(!m||m==="Z")return 0;var x=m.match(/([+-]|\d\d)/g),w=60*x[1]+(+x[2]||0);return w===0?0:x[0]==="+"?-w:w})(v)}],d=function(v){var m=f[v];return m&&(m.indexOf?m:m.s.concat(m.f))},h=function(v,m){var x,w=f.meridiem;if(w){for(var _=1;_<=24;_+=1)if(v.indexOf(w(_,0,m))>-1){x=_>12;break}}else x=v===(m?"pm":"PM");return x},y={A:[a,function(v){this.afternoon=h(v,!1)}],a:[a,function(v){this.afternoon=h(v,!0)}],Q:[i,function(v){this.month=3*(v-1)+1}],S:[i,function(v){this.milliseconds=100*+v}],SS:[s,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[o,c("seconds")],ss:[o,c("seconds")],m:[o,c("minutes")],mm:[o,c("minutes")],H:[o,c("hours")],h:[o,c("hours")],HH:[o,c("hours")],hh:[o,c("hours")],D:[o,c("day")],DD:[s,c("day")],Do:[a,function(v){var m=f.ordinal,x=v.match(/\d+/);if(this.day=x[0],m)for(var w=1;w<=31;w+=1)m(w).replace(/\[|\]/g,"")===v&&(this.day=w)}],w:[o,c("week")],ww:[s,c("week")],M:[o,c("month")],MM:[s,c("month")],MMM:[a,function(v){var m=d("months"),x=(d("monthsShort")||m.map((function(w){return w.slice(0,3)}))).indexOf(v)+1;if(x<1)throw new Error;this.month=x%12||x}],MMMM:[a,function(v){var m=d("months").indexOf(v)+1;if(m<1)throw new Error;this.month=m%12||m}],Y:[/[+-]?\d+/,c("year")],YY:[s,function(v){this.year=l(v)}],YYYY:[/\d{4}/,c("year")],Z:u,ZZ:u};function g(v){var m,x;m=v,x=f&&f.formats;for(var w=(v=m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(k,N,$){var Y=$&&$.toUpperCase();return N||x[$]||n[$]||x[Y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(I,F,S){return F||S.slice(1)}))}))).match(r),_=w.length,T=0;T<_;T+=1){var E=w[T],H=y[E],q=H&&H[0],L=H&&H[1];w[T]=L?{regex:q,parser:L}:E.replace(/^\[|\]$/g,"")}return function(k){for(var N={},$=0,Y=0;$<_;$+=1){var I=w[$];if(typeof I=="string")Y+=I.length;else{var F=I.regex,S=I.parser,C=k.slice(Y),A=F.exec(C)[0];S.call(N,A),k=k.replace(A,"")}}return(function(U){var K=U.afternoon;if(K!==void 0){var J=U.hours;K?J<12&&(U.hours+=12):J===12&&(U.hours=0),delete U.afternoon}})(N),N}}return function(v,m,x){x.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(l=v.parseTwoDigitYear);var w=m.prototype,_=w.parse;w.parse=function(T){var E=T.date,H=T.utc,q=T.args;this.$u=H;var L=q[1];if(typeof L=="string"){var k=q[2]===!0,N=q[3]===!0,$=k||N,Y=q[2];N&&(Y=q[2]),f=this.$locale(),!k&&Y&&(f=x.Ls[Y]),this.$d=(function(C,A,U,K){try{if(["x","X"].indexOf(A)>-1)return new Date((A==="X"?1e3:1)*C);var J=g(A)(C),ee=J.year,se=J.month,ce=J.day,ue=J.hours,_e=J.minutes,we=J.seconds,Se=J.milliseconds,De=J.zone,pe=J.week,Ae=new Date,p=ce||(ee||se?1:Ae.getDate()),b=ee||Ae.getFullYear(),O=0;ee&&!se||(O=se>0?se-1:Ae.getMonth());var D,M=ue||0,P=_e||0,W=we||0,j=Se||0;return De?new Date(Date.UTC(b,O,p,M,P,W,j+60*De.offset*1e3)):U?new Date(Date.UTC(b,O,p,M,P,W,j)):(D=new Date(b,O,p,M,P,W,j),pe&&(D=K(D).week(pe).toDate()),D)}catch{return new Date("")}})(E,L,H,x),this.init(),Y&&Y!==!0&&(this.$L=this.locale(Y).$L),$&&E!=this.format(L)&&(this.$d=new Date("")),f={}}else if(L instanceof Array)for(var I=L.length,F=1;F<=I;F+=1){q[1]=L[F-1];var S=x.apply(this,q);if(S.isValid()){this.$d=S.$d,this.$L=S.$L,this.init();break}F===I&&(this.$d=new Date(""))}else _.call(this,T)}}}))})(Ci)),Ci.exports}var xx=_x();const bT=Jt(xx);var Mi={exports:{}},Ox=Mi.exports,Vc;function Sx(){return Vc||(Vc=1,(function(e,t){(function(n,r){e.exports=r()})(Ox,(function(){return function(n,r){var i=r.prototype,s=i.format;i.format=function(o){var a=this,f=this.$locale();if(!this.isValid())return s.bind(this)(o);var l=this.$utils(),c=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(u){switch(u){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return f.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return f.ordinal(a.week(),"W");case"w":case"ww":return l.s(a.week(),u==="w"?1:2,"0");case"W":case"WW":return l.s(a.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return l.s(String(a.$H===0?24:a.$H),u==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return u}}));return s.bind(this)(c)}}}))})(Mi)),Mi.exports}var Tx=Sx();const wT=Jt(Tx);var Pi={exports:{}},Ax=Pi.exports,Yc;function Ex(){return Yc||(Yc=1,(function(e,t){(function(n,r){e.exports=r()})(Ax,(function(){var n="week",r="year";return function(i,s,o){var a=s.prototype;a.week=function(f){if(f===void 0&&(f=null),f!==null)return this.add(7*(f-this.week()),"day");var l=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=o(this).startOf(r).add(1,r).date(l),u=o(this).endOf(n);if(c.isBefore(u))return 1}var d=o(this).startOf(r).date(l).startOf(n).subtract(1,"millisecond"),h=this.diff(d,n,!0);return h<0?o(this).startOf("week").week():Math.ceil(h)},a.weeks=function(f){return f===void 0&&(f=null),this.week(f)}}}))})(Pi)),Pi.exports}var $x=Ex();const _T=Jt($x);var Ri={exports:{}},Cx=Ri.exports,Kc;function Mx(){return Kc||(Kc=1,(function(e,t){(function(n,r){e.exports=r()})(Cx,(function(){return function(n,r){r.prototype.weekYear=function(){var i=this.month(),s=this.week(),o=this.year();return s===1&&i===11?o+1:i===0&&s>=52?o-1:o}}}))})(Ri)),Ri.exports}var Px=Mx();const xT=Jt(Px);var Di={exports:{}},Rx=Di.exports,Gc;function Dx(){return Gc||(Gc=1,(function(e,t){(function(n,r){e.exports=r()})(Rx,(function(){return function(n,r,i){r.prototype.dayOfYear=function(s){var o=Math.round((i(this).startOf("day")-i(this).startOf("year"))/864e5)+1;return s==null?o:this.add(s-o,"day")}}}))})(Di)),Di.exports}var Fx=Dx();const OT=Jt(Fx);var Fi={exports:{}},Lx=Fi.exports,zc;function Ix(){return zc||(zc=1,(function(e,t){(function(n,r){e.exports=r()})(Lx,(function(){return function(n,r){r.prototype.isSameOrAfter=function(i,s){return this.isSame(i,s)||this.isAfter(i,s)}}}))})(Fi)),Fi.exports}var Nx=Ix();const ST=Jt(Nx);var Li={exports:{}},Bx=Li.exports,Xc;function kx(){return Xc||(Xc=1,(function(e,t){(function(n,r){e.exports=r()})(Bx,(function(){return function(n,r){r.prototype.isSameOrBefore=function(i,s){return this.isSame(i,s)||this.isBefore(i,s)}}}))})(Li)),Li.exports}var Hx=kx();const TT=Jt(Hx);function _n(){return _n=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ii(e,t,n){return qx()?Ii=Reflect.construct.bind():Ii=function(i,s,o){var a=[null];a.push.apply(a,s);var f=Function.bind.apply(i,a),l=new f;return o&&Vr(l,o.prototype),l},Ii.apply(null,arguments)}function Wx(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Co(e){var t=typeof Map=="function"?new Map:void 0;return Co=function(r){if(r===null||!Wx(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return Ii(r,arguments,$o(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Vr(i,r)},Co(e)}var Ux=/%[sdj%]/g,Vx=function(){};function Mo(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Je(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=s)return a;switch(a){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return a}});return o}return e}function Yx(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Oe(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Yx(t)&&typeof e=="string"&&!e)}function Kx(e,t,n){var r=[],i=0,s=e.length;function o(a){r.push.apply(r,a||[]),i++,i===s&&n(r)}e.forEach(function(a){t(a,o)})}function Jc(e,t,n){var r=0,i=e.length;function s(o){if(o&&o.length){n(o);return}var a=r;r=r+1,a()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},gr={integer:function(t){return gr.number(t)&&parseInt(t,10)===t},float:function(t){return gr.number(t)&&!gr.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!gr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(tl.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Qx())},hex:function(t){return typeof t=="string"&&!!t.match(tl.hex)}},e1=function(t,n,r,i,s){if(t.required&&n===void 0){Kd(t,n,r,i,s);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;o.indexOf(a)>-1?gr[a](n)||i.push(Je(s.messages.types[a],t.fullField,t.type)):a&&typeof n!==t.type&&i.push(Je(s.messages.types[a],t.fullField,t.type))},t1=function(t,n,r,i,s){var o=typeof t.len=="number",a=typeof t.min=="number",f=typeof t.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,u=null,d=typeof n=="number",h=typeof n=="string",y=Array.isArray(n);if(d?u="number":h?u="string":y&&(u="array"),!u)return!1;y&&(c=n.length),h&&(c=n.replace(l,"_").length),o?c!==t.len&&i.push(Je(s.messages[u].len,t.fullField,t.len)):a&&!f&&ct.max?i.push(Je(s.messages[u].max,t.fullField,t.max)):a&&f&&(ct.max)&&i.push(Je(s.messages[u].range,t.fullField,t.min,t.max))},In="enum",n1=function(t,n,r,i,s){t[In]=Array.isArray(t[In])?t[In]:[],t[In].indexOf(n)===-1&&i.push(Je(s.messages[In],t.fullField,t[In].join(", ")))},r1=function(t,n,r,i,s){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(Je(s.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(n)||i.push(Je(s.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},ne={required:Kd,whitespace:Zx,type:e1,range:t1,enum:n1,pattern:r1},i1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n,"string")&&!t.required)return r();ne.required(t,n,i,o,s,"string"),Oe(n,"string")||(ne.type(t,n,i,o,s),ne.range(t,n,i,o,s),ne.pattern(t,n,i,o,s),t.whitespace===!0&&ne.whitespace(t,n,i,o,s))}r(o)},s1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&ne.type(t,n,i,o,s)}r(o)},o1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(n===""&&(n=void 0),Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&(ne.type(t,n,i,o,s),ne.range(t,n,i,o,s))}r(o)},a1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&ne.type(t,n,i,o,s)}r(o)},f1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),Oe(n)||ne.type(t,n,i,o,s)}r(o)},c1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&(ne.type(t,n,i,o,s),ne.range(t,n,i,o,s))}r(o)},l1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&(ne.type(t,n,i,o,s),ne.range(t,n,i,o,s))}r(o)},u1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(n==null&&!t.required)return r();ne.required(t,n,i,o,s,"array"),n!=null&&(ne.type(t,n,i,o,s),ne.range(t,n,i,o,s))}r(o)},d1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&ne.type(t,n,i,o,s)}r(o)},h1="enum",p1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&ne[h1](t,n,i,o,s)}r(o)},g1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n,"string")&&!t.required)return r();ne.required(t,n,i,o,s),Oe(n,"string")||ne.pattern(t,n,i,o,s)}r(o)},m1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n,"date")&&!t.required)return r();if(ne.required(t,n,i,o,s),!Oe(n,"date")){var f;n instanceof Date?f=n:f=new Date(n),ne.type(t,f,i,o,s),f&&ne.range(t,f.getTime(),i,o,s)}}r(o)},y1=function(t,n,r,i,s){var o=[],a=Array.isArray(n)?"array":typeof n;ne.required(t,n,i,o,s,a),r(o)},eo=function(t,n,r,i,s){var o=t.type,a=[],f=t.required||!t.required&&i.hasOwnProperty(t.field);if(f){if(Oe(n,o)&&!t.required)return r();ne.required(t,n,i,a,s,o),Oe(n,o)||ne.type(t,n,i,a,s)}r(a)},v1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s)}r(o)},$r={string:i1,method:s1,number:o1,boolean:a1,regexp:f1,integer:c1,float:l1,array:u1,object:d1,enum:p1,pattern:g1,date:m1,url:eo,hex:eo,email:eo,required:y1,any:v1};function Po(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Ro=Po(),Ps=(function(){function e(n){this.rules=null,this._messages=Ro,this.define(n)}var t=e.prototype;return t.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(s){var o=r[s];i.rules[s]=Array.isArray(o)?o:[o]})},t.messages=function(r){return r&&(this._messages=el(Po(),r)),this._messages},t.validate=function(r,i,s){var o=this;i===void 0&&(i={}),s===void 0&&(s=function(){});var a=r,f=i,l=s;if(typeof f=="function"&&(l=f,f={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,a),Promise.resolve(a);function c(g){var v=[],m={};function x(_){if(Array.isArray(_)){var T;v=(T=v).concat.apply(T,_)}else v.push(_)}for(var w=0;wbn},ie64:function(){return Ho.ie()&&zd},firefox:function(){return Ue()||Do},opera:function(){return Ue()||Fo},webkit:function(){return Ue()||Ni},safari:function(){return Ho.webkit()},chrome:function(){return Ue()||Bi},windows:function(){return Ue()||Lo},osx:function(){return Ue()||ki},linux:function(){return Ue()||Io},iphone:function(){return Ue()||Bo},mobile:function(){return Ue()||Bo||ko||No||Jd},nativeApp:function(){return Ue()||Xd},android:function(){return Ue()||No},ipad:function(){return Ue()||ko}},_1=Ho,x1=!!(typeof window<"u"&&window.document&&window.document.createElement),O1={canUseDOM:x1},Zd=O1,Qd;Zd.canUseDOM&&(Qd=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function S1(e,t){if(!Zd.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r=typeof i[n]=="function"}return!r&&Qd&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var T1=S1,il=10,sl=40,ol=800;function eh(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*il,i=n*il,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(e.deltaMode==1?(r*=sl,i*=sl):(r*=ol,i*=ol)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}eh.getEventType=function(){return _1.firefox()?"DOMMouseScroll":T1("wheel")?"wheel":"mousewheel"};var ET=eh;const tr=Math.min,An=Math.max,ns=Math.round,yi=Math.floor,$t=e=>({x:e,y:e}),A1={left:"right",right:"left",bottom:"top",top:"bottom"},E1={start:"end",end:"start"};function jo(e,t,n){return An(e,tr(t,n))}function ii(e,t){return typeof e=="function"?e(t):e}function Cn(e){return e.split("-")[0]}function si(e){return e.split("-")[1]}function th(e){return e==="x"?"y":"x"}function ka(e){return e==="y"?"height":"width"}const $1=new Set(["top","bottom"]);function on(e){return $1.has(Cn(e))?"y":"x"}function Ha(e){return th(on(e))}function C1(e,t,n){n===void 0&&(n=!1);const r=si(e),i=Ha(e),s=ka(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=rs(o)),[o,rs(o)]}function M1(e){const t=rs(e);return[qo(e),t,qo(t)]}function qo(e){return e.replace(/start|end/g,t=>E1[t])}const al=["left","right"],fl=["right","left"],P1=["top","bottom"],R1=["bottom","top"];function D1(e,t,n){switch(e){case"top":case"bottom":return n?t?fl:al:t?al:fl;case"left":case"right":return t?P1:R1;default:return[]}}function F1(e,t,n,r){const i=si(e);let s=D1(Cn(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(qo)))),s}function rs(e){return e.replace(/left|right|bottom|top/g,t=>A1[t])}function L1(e){return{top:0,right:0,bottom:0,left:0,...e}}function nh(e){return typeof e!="number"?L1(e):{top:e,right:e,bottom:e,left:e}}function is(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function cl(e,t,n){let{reference:r,floating:i}=e;const s=on(t),o=Ha(t),a=ka(o),f=Cn(t),l=s==="y",c=r.x+r.width/2-i.width/2,u=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let h;switch(f){case"top":h={x:c,y:r.y-i.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:u};break;case"left":h={x:r.x-i.width,y:u};break;default:h={x:r.x,y:r.y}}switch(si(t)){case"start":h[o]-=d*(n&&l?-1:1);break;case"end":h[o]+=d*(n&&l?-1:1);break}return h}const I1=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),f=await(o.isRTL==null?void 0:o.isRTL(t));let l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:u}=cl(l,r,f),d=r,h={},y=0;for(let g=0;g({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:f}=t,{element:l,padding:c=0}=ii(e,t)||{};if(l==null)return{};const u=nh(c),d={x:n,y:r},h=Ha(i),y=ka(h),g=await o.getDimensions(l),v=h==="y",m=v?"top":"left",x=v?"bottom":"right",w=v?"clientHeight":"clientWidth",_=s.reference[y]+s.reference[h]-d[h]-s.floating[y],T=d[h]-s.reference[h],E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l));let H=E?E[w]:0;(!H||!await(o.isElement==null?void 0:o.isElement(E)))&&(H=a.floating[w]||s.floating[y]);const q=_/2-T/2,L=H/2-g[y]/2-1,k=tr(u[m],L),N=tr(u[x],L),$=k,Y=H-g[y]-N,I=H/2-g[y]/2+q,F=jo($,I,Y),S=!f.arrow&&si(i)!=null&&I!==F&&s.reference[y]/2-(I<$?k:N)-g[y]/2<0,C=S?I<$?I-$:I-Y:0;return{[h]:d[h]+C,data:{[h]:F,centerOffset:I-F-C,...S&&{alignmentOffset:C}},reset:S}}}),B1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:f,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:g=!0,...v}=ii(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=Cn(i),x=on(a),w=Cn(a)===a,_=await(f.isRTL==null?void 0:f.isRTL(l.floating)),T=d||(w||!g?[rs(a)]:M1(a)),E=y!=="none";!d&&E&&T.push(...F1(a,g,y,_));const H=[a,...T],q=await ja(t,v),L=[];let k=((r=s.flip)==null?void 0:r.overflows)||[];if(c&&L.push(q[m]),u){const I=C1(i,o,_);L.push(q[I[0]],q[I[1]])}if(k=[...k,{placement:i,overflows:L}],!L.every(I=>I<=0)){var N,$;const I=(((N=s.flip)==null?void 0:N.index)||0)+1,F=H[I];if(F&&(!(u==="alignment"?x!==on(F):!1)||k.every(A=>on(A.placement)===x?A.overflows[0]>0:!0)))return{data:{index:I,overflows:k},reset:{placement:F}};let S=($=k.filter(C=>C.overflows[0]<=0).sort((C,A)=>C.overflows[1]-A.overflows[1])[0])==null?void 0:$.placement;if(!S)switch(h){case"bestFit":{var Y;const C=(Y=k.filter(A=>{if(E){const U=on(A.placement);return U===x||U==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(U=>U>0).reduce((U,K)=>U+K,0)]).sort((A,U)=>A[1]-U[1])[0])==null?void 0:Y[0];C&&(S=C);break}case"initialPlacement":S=a;break}if(i!==S)return{reset:{placement:S}}}return{}}}},k1=new Set(["left","top"]);async function H1(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Cn(n),a=si(n),f=on(n)==="y",l=k1.has(o)?-1:1,c=s&&f?-1:1,u=ii(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:y}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&typeof y=="number"&&(h=a==="end"?y*-1:y),f?{x:h*c,y:d*l}:{x:d*l,y:h*c}}const j1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,f=await H1(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+f.x,y:s+f.y,data:{...f,placement:o}}}}},q1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:v=>{let{x:m,y:x}=v;return{x:m,y:x}}},...f}=ii(e,t),l={x:n,y:r},c=await ja(t,f),u=on(Cn(i)),d=th(u);let h=l[d],y=l[u];if(s){const v=d==="y"?"top":"left",m=d==="y"?"bottom":"right",x=h+c[v],w=h-c[m];h=jo(x,h,w)}if(o){const v=u==="y"?"top":"left",m=u==="y"?"bottom":"right",x=y+c[v],w=y-c[m];y=jo(x,y,w)}const g=a.fn({...t,[d]:h,[u]:y});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[d]:s,[u]:o}}}}}};function Rs(){return typeof window<"u"}function ar(e){return rh(e)?(e.nodeName||"").toLowerCase():"#document"}function Qe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Lt(e){var t;return(t=(rh(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function rh(e){return Rs()?e instanceof Node||e instanceof Qe(e).Node:!1}function mt(e){return Rs()?e instanceof Element||e instanceof Qe(e).Element:!1}function Rt(e){return Rs()?e instanceof HTMLElement||e instanceof Qe(e).HTMLElement:!1}function ll(e){return!Rs()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Qe(e).ShadowRoot}const W1=new Set(["inline","contents"]);function oi(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=yt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!W1.has(i)}const U1=new Set(["table","td","th"]);function V1(e){return U1.has(ar(e))}const Y1=[":popover-open",":modal"];function Ds(e){return Y1.some(t=>{try{return e.matches(t)}catch{return!1}})}const K1=["transform","translate","scale","rotate","perspective"],G1=["transform","translate","scale","rotate","perspective","filter"],z1=["paint","layout","strict","content"];function qa(e){const t=Wa(),n=mt(e)?yt(e):e;return K1.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||G1.some(r=>(n.willChange||"").includes(r))||z1.some(r=>(n.contain||"").includes(r))}function X1(e){let t=un(e);for(;Rt(t)&&!nr(t);){if(qa(t))return t;if(Ds(t))return null;t=un(t)}return null}function Wa(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const J1=new Set(["html","body","#document"]);function nr(e){return J1.has(ar(e))}function yt(e){return Qe(e).getComputedStyle(e)}function Fs(e){return mt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function un(e){if(ar(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ll(e)&&e.host||Lt(e);return ll(t)?t.host:t}function ih(e){const t=un(e);return nr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Rt(t)&&oi(t)?t:ih(t)}function Yr(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=ih(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=Qe(i);if(s){const a=Wo(o);return t.concat(o,o.visualViewport||[],oi(i)?i:[],a&&n?Yr(a):[])}return t.concat(i,Yr(i,[],n))}function Wo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function sh(e){const t=yt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Rt(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=ns(n)!==s||ns(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function Ua(e){return mt(e)?e:e.contextElement}function Un(e){const t=Ua(e);if(!Rt(t))return $t(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=sh(t);let o=(s?ns(n.width):n.width)/r,a=(s?ns(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const Z1=$t(0);function oh(e){const t=Qe(e);return!Wa()||!t.visualViewport?Z1:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Q1(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Qe(e)?!1:t}function Mn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=Ua(e);let o=$t(1);t&&(r?mt(r)&&(o=Un(r)):o=Un(e));const a=Q1(s,n,r)?oh(s):$t(0);let f=(i.left+a.x)/o.x,l=(i.top+a.y)/o.y,c=i.width/o.x,u=i.height/o.y;if(s){const d=Qe(s),h=r&&mt(r)?Qe(r):r;let y=d,g=Wo(y);for(;g&&r&&h!==y;){const v=Un(g),m=g.getBoundingClientRect(),x=yt(g),w=m.left+(g.clientLeft+parseFloat(x.paddingLeft))*v.x,_=m.top+(g.clientTop+parseFloat(x.paddingTop))*v.y;f*=v.x,l*=v.y,c*=v.x,u*=v.y,f+=w,l+=_,y=Qe(g),g=Wo(y)}}return is({width:c,height:u,x:f,y:l})}function Ls(e,t){const n=Fs(e).scrollLeft;return t?t.left+n:Mn(Lt(e)).left+n}function ah(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Ls(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function eO(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=Lt(r),a=t?Ds(t.floating):!1;if(r===o||a&&s)return n;let f={scrollLeft:0,scrollTop:0},l=$t(1);const c=$t(0),u=Rt(r);if((u||!u&&!s)&&((ar(r)!=="body"||oi(o))&&(f=Fs(r)),Rt(r))){const h=Mn(r);l=Un(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const d=o&&!u&&!s?ah(o,f):$t(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-f.scrollLeft*l.x+c.x+d.x,y:n.y*l.y-f.scrollTop*l.y+c.y+d.y}}function tO(e){return Array.from(e.getClientRects())}function nO(e){const t=Lt(e),n=Fs(e),r=e.ownerDocument.body,i=An(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=An(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Ls(e);const a=-n.scrollTop;return yt(r).direction==="rtl"&&(o+=An(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}const ul=25;function rO(e,t){const n=Qe(e),r=Lt(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,f=0;if(i){s=i.width,o=i.height;const c=Wa();(!c||c&&t==="fixed")&&(a=i.offsetLeft,f=i.offsetTop)}const l=Ls(r);if(l<=0){const c=r.ownerDocument,u=c.body,d=getComputedStyle(u),h=c.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,y=Math.abs(r.clientWidth-u.clientWidth-h);y<=ul&&(s-=y)}else l<=ul&&(s+=l);return{width:s,height:o,x:a,y:f}}const iO=new Set(["absolute","fixed"]);function sO(e,t){const n=Mn(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=Rt(e)?Un(e):$t(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,f=i*s.x,l=r*s.y;return{width:o,height:a,x:f,y:l}}function dl(e,t,n){let r;if(t==="viewport")r=rO(e,n);else if(t==="document")r=nO(Lt(e));else if(mt(t))r=sO(t,n);else{const i=oh(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return is(r)}function fh(e,t){const n=un(e);return n===t||!mt(n)||nr(n)?!1:yt(n).position==="fixed"||fh(n,t)}function oO(e,t){const n=t.get(e);if(n)return n;let r=Yr(e,[],!1).filter(a=>mt(a)&&ar(a)!=="body"),i=null;const s=yt(e).position==="fixed";let o=s?un(e):e;for(;mt(o)&&!nr(o);){const a=yt(o),f=qa(o);!f&&a.position==="fixed"&&(i=null),(s?!f&&!i:!f&&a.position==="static"&&!!i&&iO.has(i.position)||oi(o)&&!f&&fh(e,o))?r=r.filter(c=>c!==o):i=a,o=un(o)}return t.set(e,r),r}function aO(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?Ds(t)?[]:oO(t,this._c):[].concat(n),r],a=o[0],f=o.reduce((l,c)=>{const u=dl(t,c,i);return l.top=An(u.top,l.top),l.right=tr(u.right,l.right),l.bottom=tr(u.bottom,l.bottom),l.left=An(u.left,l.left),l},dl(t,a,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function fO(e){const{width:t,height:n}=sh(e);return{width:t,height:n}}function cO(e,t,n){const r=Rt(t),i=Lt(t),s=n==="fixed",o=Mn(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const f=$t(0);function l(){f.x=Ls(i)}if(r||!r&&!s)if((ar(t)!=="body"||oi(i))&&(a=Fs(t)),r){const h=Mn(t,!0,s,t);f.x=h.x+t.clientLeft,f.y=h.y+t.clientTop}else i&&l();s&&!r&&i&&l();const c=i&&!r&&!s?ah(i,a):$t(0),u=o.left+a.scrollLeft-f.x-c.x,d=o.top+a.scrollTop-f.y-c.y;return{x:u,y:d,width:o.width,height:o.height}}function to(e){return yt(e).position==="static"}function hl(e,t){if(!Rt(e)||yt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Lt(e)===n&&(n=n.ownerDocument.body),n}function ch(e,t){const n=Qe(e);if(Ds(e))return n;if(!Rt(e)){let i=un(e);for(;i&&!nr(i);){if(mt(i)&&!to(i))return i;i=un(i)}return n}let r=hl(e,t);for(;r&&V1(r)&&to(r);)r=hl(r,t);return r&&nr(r)&&to(r)&&!qa(r)?n:r||X1(e)||n}const lO=async function(e){const t=this.getOffsetParent||ch,n=this.getDimensions,r=await n(e.floating);return{reference:cO(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function uO(e){return yt(e).direction==="rtl"}const dO={convertOffsetParentRelativeRectToViewportRelativeRect:eO,getDocumentElement:Lt,getClippingRect:aO,getOffsetParent:ch,getElementRects:lO,getClientRects:tO,getDimensions:fO,getScale:Un,isElement:mt,isRTL:uO};function lh(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function hO(e,t){let n=null,r;const i=Lt(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,f){a===void 0&&(a=!1),f===void 0&&(f=1),s();const l=e.getBoundingClientRect(),{left:c,top:u,width:d,height:h}=l;if(a||t(),!d||!h)return;const y=yi(u),g=yi(i.clientWidth-(c+d)),v=yi(i.clientHeight-(u+h)),m=yi(c),w={rootMargin:-y+"px "+-g+"px "+-v+"px "+-m+"px",threshold:An(0,tr(1,f))||1};let _=!0;function T(E){const H=E[0].intersectionRatio;if(H!==f){if(!_)return o();H?o(!1,H):r=setTimeout(()=>{o(!1,1e-7)},1e3)}H===1&&!lh(l,e.getBoundingClientRect())&&o(),_=!1}try{n=new IntersectionObserver(T,{...w,root:i.ownerDocument})}catch{n=new IntersectionObserver(T,w)}n.observe(e)}return o(!0),s}function $T(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,l=Ua(e),c=i||s?[...l?Yr(l):[],...Yr(t)]:[];c.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const u=l&&a?hO(l,n):null;let d=-1,h=null;o&&(h=new ResizeObserver(m=>{let[x]=m;x&&x.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var w;(w=h)==null||w.observe(t)})),n()}),l&&!f&&h.observe(l),h.observe(t));let y,g=f?Mn(e):null;f&&v();function v(){const m=Mn(e);g&&!lh(g,m)&&n(),g=m,y=requestAnimationFrame(v)}return n(),()=>{var m;c.forEach(x=>{i&&x.removeEventListener("scroll",n),s&&x.removeEventListener("resize",n)}),u?.(),(m=h)==null||m.disconnect(),h=null,f&&cancelAnimationFrame(y)}}const CT=ja,MT=j1,PT=q1,RT=B1,DT=N1,FT=(e,t,n)=>{const r=new Map,i={platform:dO,...n},s={...i.platform,_c:r};return I1(e,t,{...i,platform:s})},Dt=Object.create(null);Dt.open="0";Dt.close="1";Dt.ping="2";Dt.pong="3";Dt.message="4";Dt.upgrade="5";Dt.noop="6";const Hi=Object.create(null);Object.keys(Dt).forEach(e=>{Hi[Dt[e]]=e});const Uo={type:"error",data:"parser error"},uh=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",dh=typeof ArrayBuffer=="function",hh=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,Va=({type:e,data:t},n,r)=>uh&&t instanceof Blob?n?r(t):pl(t,r):dh&&(t instanceof ArrayBuffer||hh(t))?n?r(t):pl(new Blob([t]),r):r(Dt[e]+(t||"")),pl=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function gl(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let no;function pO(e,t){if(uh&&e.data instanceof Blob)return e.data.arrayBuffer().then(gl).then(t);if(dh&&(e.data instanceof ArrayBuffer||hh(e.data)))return t(gl(e.data));Va(e,!1,n=>{no||(no=new TextEncoder),t(no.encode(n))})}const ml="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mr=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,n=e.length,r,i=0,s,o,a,f;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const l=new ArrayBuffer(t),c=new Uint8Array(l);for(r=0;r>4,c[i++]=(o&15)<<4|a>>2,c[i++]=(a&3)<<6|f&63;return l},mO=typeof ArrayBuffer=="function",Ya=(e,t)=>{if(typeof e!="string")return{type:"message",data:ph(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:yO(e.substring(1),t)}:Hi[n]?e.length>1?{type:Hi[n],data:e.substring(1)}:{type:Hi[n]}:Uo},yO=(e,t)=>{if(mO){const n=gO(e);return ph(n,t)}else return{base64:!0,data:e}},ph=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},gh="",vO=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((s,o)=>{Va(s,!1,a=>{r[o]=a,++i===n&&t(r.join(gh))})})},bO=(e,t)=>{const n=e.split(gh),r=[];for(let i=0;i{const r=n.length;let i;if(r<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,r);else if(r<65536){i=new Uint8Array(3);const s=new DataView(i.buffer);s.setUint8(0,126),s.setUint16(1,r)}else{i=new Uint8Array(9);const s=new DataView(i.buffer);s.setUint8(0,127),s.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!="string"&&(i[0]|=128),t.enqueue(i),t.enqueue(n)})}})}let ro;function vi(e){return e.reduce((t,n)=>t+n.length,0)}function bi(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let i=0;iMath.pow(2,21)-1){a.enqueue(Uo);break}i=c*Math.pow(2,32)+l.getUint32(4),r=3}else{if(vi(n)e){a.enqueue(Uo);break}}}})}const mh=4;function Te(e){if(e)return xO(e)}function xO(e){for(var t in Te.prototype)e[t]=Te.prototype[t];return e}Te.prototype.on=Te.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Te.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};Te.prototype.off=Te.prototype.removeListener=Te.prototype.removeAllListeners=Te.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,i=0;iPromise.resolve().then(t):(t,n)=>n(t,0),tt=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),OO="arraybuffer";function yh(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const SO=tt.setTimeout,TO=tt.clearTimeout;function Ga(e,t){t.useNativeTimers?(e.setTimeoutFn=SO.bind(tt),e.clearTimeoutFn=TO.bind(tt)):(e.setTimeoutFn=tt.setTimeout.bind(tt),e.clearTimeoutFn=tt.clearTimeout.bind(tt))}const AO=1.33;function EO(e){return typeof e=="string"?$O(e):Math.ceil((e.byteLength||e.size)*AO)}function $O(e){let t=0,n=0;for(let r=0,i=e.length;r=57344?n+=3:(r++,n+=4);return n}function vh(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function CO(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function MO(e){let t={},n=e.split("&");for(let r=0,i=n.length;r{this.readyState="paused",t()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};bO(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,vO(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=vh()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let bh=!1;try{bh=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const DO=bh;function FO(){}class LO extends RO{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||r!==t.port}}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,s)=>{this.onError("xhr post error",i,s)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class Ct extends Te{constructor(t,n,r){super(),this.createRequest=t,Ga(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var t;const n=yh(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let i in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(i)&&r.setRequestHeader(i,this._opts.extraHeaders[i])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var i;r.readyState===3&&((i=this._opts.cookieJar)===null||i===void 0||i.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(i){this.setTimeoutFn(()=>{this._onError(i)},0);return}typeof document<"u"&&(this._index=Ct.requestsCount++,Ct.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=FO,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Ct.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Ct.requestsCount=0;Ct.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",yl);else if(typeof addEventListener=="function"){const e="onpagehide"in tt?"pagehide":"unload";addEventListener(e,yl,!1)}}function yl(){for(let e in Ct.requests)Ct.requests.hasOwnProperty(e)&&Ct.requests[e].abort()}const IO=(function(){const e=wh({xdomain:!1});return e&&e.responseType!==null})();class NO extends LO{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=IO&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new Ct(wh,this.uri(),t)}}function wh(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||DO))return new XMLHttpRequest}catch{}if(!t)try{return new tt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const _h=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class BO extends za{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,r=_h?{}:yh(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n{try{this.doWrite(r,s)}catch{}i&&Ka(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=vh()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const io=tt.WebSocket||tt.MozWebSocket;class kO extends BO{createSocket(t,n,r){return _h?new io(t,n,r):n?new io(t,n):new io(t)}doWrite(t,n){this.ws.send(n)}}class HO extends za{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=_O(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=wO();i.readable.pipeTo(t.writable),this._writer=i.writable.getWriter();const s=()=>{r.read().then(({done:a,value:f})=>{a||(this.onPacket(f),s())}).catch(a=>{})};s();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this._writer.write(o).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n{i&&Ka(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const jO={websocket:kO,webtransport:HO,polling:NO},qO=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,WO=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function vl(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=qO.exec(e||""),s={},o=14;for(;o--;)s[WO[o]]=i[o]||"";return n!=-1&&r!=-1&&(s.source=t,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s.pathNames=UO(s,s.path),s.queryKey=VO(s,s.query),s}function UO(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function VO(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,s){i&&(n[i]=s)}),n}const Vo=typeof addEventListener=="function"&&typeof removeEventListener=="function",ji=[];Vo&&addEventListener("offline",()=>{ji.forEach(e=>e())},!1);class fn extends Te{constructor(t,n){if(super(),this.binaryType=OO,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const r=vl(t);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=vl(n.host).host);Ga(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(r=>{const i=r.prototype.name;this.transports.push(i),this._transportsByName[i]=r}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=MO(this.opts.query)),Vo&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},ji.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=mh,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&fn.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",fn.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Ka(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,r){return this._sendPacket("message",t,n,r),this}send(t,n,r){return this._sendPacket("message",t,n,r),this}_sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const s={type:t,data:n,options:r};this.emitReserved("packetCreate",s),this.writeBuffer.push(s),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}_onError(t){if(fn.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Vo&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=ji.indexOf(this._offlineEventListener);r!==-1&&ji.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}fn.protocol=mh;class YO extends fn{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",u=>{if(!r)if(u.type==="pong"&&u.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;fn.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(c(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const d=new Error("probe error");d.transport=n.name,this.emitReserved("upgradeError",d)}}))};function s(){r||(r=!0,c(),n.close(),n=null)}const o=u=>{const d=new Error("probe error: "+u);d.transport=n.name,s(),this.emitReserved("upgradeError",d)};function a(){o("transport closed")}function f(){o("socket closed")}function l(u){n&&u.name!==n.name&&s()}const c=()=>{n.removeListener("open",i),n.removeListener("error",o),n.removeListener("close",a),this.off("close",f),this.off("upgrading",l)};n.once("open",i),n.once("error",o),n.once("close",a),this.once("close",f),this.once("upgrading",l),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let r=0;rjO[i]).filter(i=>!!i)),super(t,r)}}const KO=typeof ArrayBuffer=="function",GO=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,xh=Object.prototype.toString,zO=typeof Blob=="function"||typeof Blob<"u"&&xh.call(Blob)==="[object BlobConstructor]",XO=typeof File=="function"||typeof File<"u"&&xh.call(File)==="[object FileConstructor]";function Xa(e){return KO&&(e instanceof ArrayBuffer||GO(e))||zO&&e instanceof Blob||XO&&e instanceof File}function qi(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n=0&&e.num