mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-03 07:46:18 +00:00
42 lines
280 KiB
JavaScript
42 lines
280 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
|
|
* @vue/shared v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**//*! #__NO_SIDE_EFFECTS__ */function pl(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Fe={},Ks=[],cn=()=>{},ab=()=>!1,Wi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ml=e=>e.startsWith("onUpdate:"),nt=Object.assign,gl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},lb=Object.prototype.hasOwnProperty,De=(e,t)=>lb.call(e,t),de=Array.isArray,Ws=e=>Ur(e)==="[object Map]",tr=e=>Ur(e)==="[object Set]",Eu=e=>Ur(e)==="[object Date]",ge=e=>typeof e=="function",Je=e=>typeof e=="string",fn=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",_l=e=>(He(e)||ge(e))&&ge(e.then)&&ge(e.catch),bd=Object.prototype.toString,Ur=e=>bd.call(e),cb=e=>Ur(e).slice(8,-1),yd=e=>Ur(e)==="[object Object]",vl=e=>Je(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Tr=pl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ub=/-(\w)/g,jt=Yi(e=>e.replace(ub,(t,n)=>n?n.toUpperCase():"")),fb=/\B([A-Z])/g,Es=Yi(e=>e.replace(fb,"-$1").toLowerCase()),zi=Yi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zo=Yi(e=>e?`on${zi(e)}`:""),Vn=(e,t)=>!Object.is(e,t),Ti=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ed=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Di=e=>{const t=parseFloat(e);return isNaN(t)?e:t},wd=e=>{const t=Je(e)?Number(e):NaN;return isNaN(t)?e:t};let wu;const Gi=()=>wu||(wu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ji(e){if(de(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Je(s)?mb(s):Ji(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(Je(e)||He(e))return e}const db=/;(?![^(]*\))/g,hb=/:([^]+)/,pb=/\/\*[^]*?\*\//g;function mb(e){const t={};return e.replace(pb,"").split(db).forEach(n=>{if(n){const s=n.split(hb);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ln(e){let t="";if(Je(e))t=e;else if(de(e))for(let n=0;n<e.length;n++){const s=ln(e[n]);s&&(t+=s+" ")}else if(He(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const gb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_b=pl(gb);function Td(e){return!!e||e===""}function vb(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=_s(e[s],t[s]);return n}function _s(e,t){if(e===t)return!0;let n=Eu(e),s=Eu(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=fn(e),s=fn(t),n||s)return e===t;if(n=de(e),s=de(t),n||s)return n&&s?vb(e,t):!1;if(n=He(e),s=He(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const a in e){const l=e.hasOwnProperty(a),u=t.hasOwnProperty(a);if(l&&!u||!l&&u||!_s(e[a],t[a]))return!1}}return String(e)===String(t)}function bl(e,t){return e.findIndex(n=>_s(n,t))}const Ad=e=>!!(e&&e.__v_isRef===!0),Tt=e=>Je(e)?e:e==null?"":de(e)||He(e)&&(e.toString===bd||!ge(e.toString))?Ad(e)?Tt(e.value):JSON.stringify(e,Sd,2):String(e),Sd=(e,t)=>Ad(t)?Sd(e,t.value):Ws(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[ea(s,o)+" =>"]=r,n),{})}:tr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ea(n))}:fn(t)?ea(t):He(t)&&!de(t)&&!yd(t)?String(t):t,ea=(e,t="")=>{var n;return fn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
* @vue/reactivity v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let dt;class Cd{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=dt,!t&&dt&&(this.index=(dt.scopes||(dt.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;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=dt;try{return dt=this,t()}finally{dt=n}}}on(){++this._on===1&&(this.prevScope=dt,dt=this)}off(){this._on>0&&--this._on===0&&(dt=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Od(e){return new Cd(e)}function Rd(){return dt}function bb(e,t=!1){dt&&dt.cleanups.push(e)}let je;const ta=new WeakSet;class Nd{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,dt&&dt.active&&dt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ta.has(this)&&(ta.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||$d(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Tu(this),Pd(this);const t=je,n=zt;je=this,zt=!0;try{return this.fn()}finally{Dd(this),je=t,zt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)wl(t);this.deps=this.depsTail=void 0,Tu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ta.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ja(this)&&this.run()}get dirty(){return ja(this)}}let xd=0,Ar,Sr;function $d(e,t=!1){if(e.flags|=8,t){e.next=Sr,Sr=e;return}e.next=Ar,Ar=e}function yl(){xd++}function El(){if(--xd>0)return;if(Sr){let t=Sr;for(Sr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ar;){let t=Ar;for(Ar=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Pd(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Dd(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),wl(s),yb(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ja(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ld(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ld(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Pr)||(e.globalVersion=Pr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ja(e))))return;e.flags|=2;const t=e.dep,n=je,s=zt;je=e,zt=!0;try{Pd(e);const r=e.fn(e._value);(t.version===0||Vn(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{je=n,zt=s,Dd(e),e.flags&=-3}}function wl(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)wl(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function yb(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let zt=!0;const Id=[];function Tn(){Id.push(zt),zt=!1}function An(){const e=Id.pop();zt=e===void 0?!0:e}function Tu(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=je;je=void 0;try{t()}finally{je=n}}}let Pr=0;class Eb{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 Tl{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!je||!zt||je===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==je)n=this.activeLink=new Eb(je,this),je.deps?(n.prevDep=je.depsTail,je.depsTail.nextDep=n,je.depsTail=n):je.deps=je.depsTail=n,Md(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=je.depsTail,n.nextDep=void 0,je.depsTail.nextDep=n,je.depsTail=n,je.deps===n&&(je.deps=s)}return n}trigger(t){this.version++,Pr++,this.notify(t)}notify(t){yl();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{El()}}}function Md(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Md(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Li=new WeakMap,ps=Symbol(""),qa=Symbol(""),Dr=Symbol("");function ht(e,t,n){if(zt&&je){let s=Li.get(e);s||Li.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Tl),r.map=s,r.key=n),r.track()}}function bn(e,t,n,s,r,o){const a=Li.get(e);if(!a){Pr++;return}const l=u=>{u&&u.trigger()};if(yl(),t==="clear")a.forEach(l);else{const u=de(e),f=u&&vl(n);if(u&&n==="length"){const h=Number(s);a.forEach((p,_)=>{(_==="length"||_===Dr||!fn(_)&&_>=h)&&l(p)})}else switch((n!==void 0||a.has(void 0))&&l(a.get(n)),f&&l(a.get(Dr)),t){case"add":u?f&&l(a.get("length")):(l(a.get(ps)),Ws(e)&&l(a.get(qa)));break;case"delete":u||(l(a.get(ps)),Ws(e)&&l(a.get(qa)));break;case"set":Ws(e)&&l(a.get(ps));break}}El()}function wb(e,t){const n=Li.get(e);return n&&n.get(t)}function Hs(e){const t=Re(e);return t===e?t:(ht(t,"iterate",Dr),Vt(e)?t:t.map(lt))}function Qi(e){return ht(e=Re(e),"iterate",Dr),e}const Tb={__proto__:null,[Symbol.iterator](){return na(this,Symbol.iterator,lt)},concat(...e){return Hs(this).concat(...e.map(t=>de(t)?Hs(t):t))},entries(){return na(this,"entries",e=>(e[1]=lt(e[1]),e))},every(e,t){return gn(this,"every",e,t,void 0,arguments)},filter(e,t){return gn(this,"filter",e,t,n=>n.map(lt),arguments)},find(e,t){return gn(this,"find",e,t,lt,arguments)},findIndex(e,t){return gn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return gn(this,"findLast",e,t,lt,arguments)},findLastIndex(e,t){return gn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return gn(this,"forEach",e,t,void 0,arguments)},includes(...e){return sa(this,"includes",e)},indexOf(...e){return sa(this,"indexOf",e)},join(e){return Hs(this).join(e)},lastIndexOf(...e){return sa(this,"lastIndexOf",e)},map(e,t){return gn(this,"map",e,t,void 0,arguments)},pop(){return gr(this,"pop")},push(...e){return gr(this,"push",e)},reduce(e,...t){return Au(this,"reduce",e,t)},reduceRight(e,...t){return Au(this,"reduceRight",e,t)},shift(){return gr(this,"shift")},some(e,t){return gn(this,"some",e,t,void 0,arguments)},splice(...e){return gr(this,"splice",e)},toReversed(){return Hs(this).toReversed()},toSorted(e){return Hs(this).toSorted(e)},toSpliced(...e){return Hs(this).toSpliced(...e)},unshift(...e){return gr(this,"unshift",e)},values(){return na(this,"values",lt)}};function na(e,t,n){const s=Qi(e),r=s[t]();return s!==e&&!Vt(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const Ab=Array.prototype;function gn(e,t,n,s,r,o){const a=Qi(e),l=a!==e&&!Vt(e),u=a[t];if(u!==Ab[t]){const p=u.apply(e,o);return l?lt(p):p}let f=n;a!==e&&(l?f=function(p,_){return n.call(this,lt(p),_,e)}:n.length>2&&(f=function(p,_){return n.call(this,p,_,e)}));const h=u.call(a,f,s);return l&&r?r(h):h}function Au(e,t,n,s){const r=Qi(e);let o=n;return r!==e&&(Vt(e)?n.length>3&&(o=function(a,l,u){return n.call(this,a,l,u,e)}):o=function(a,l,u){return n.call(this,a,lt(l),u,e)}),r[t](o,...s)}function sa(e,t,n){const s=Re(e);ht(s,"iterate",Dr);const r=s[t](...n);return(r===-1||r===!1)&&Cl(n[0])?(n[0]=Re(n[0]),s[t](...n)):r}function gr(e,t,n=[]){Tn(),yl();const s=Re(e)[t].apply(e,n);return El(),An(),s}const Sb=pl("__proto__,__v_isRef,__isVue"),kd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(fn));function Cb(e){fn(e)||(e=String(e));const t=Re(this);return ht(t,"has",e),t.hasOwnProperty(e)}class Bd{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Mb:Ud:o?Vd:Hd).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const a=de(t);if(!r){let u;if(a&&(u=Tb[n]))return u;if(n==="hasOwnProperty")return Cb}const l=Reflect.get(t,n,Ze(t)?t:s);return(fn(n)?kd.has(n):Sb(n))||(r||ht(t,"get",n),o)?l:Ze(l)?a&&vl(n)?l:l.value:He(l)?r?qd(l):Sn(l):l}}class Fd extends Bd{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const u=jn(o);if(!Vt(s)&&!jn(s)&&(o=Re(o),s=Re(s)),!de(t)&&Ze(o)&&!Ze(s))return u?!1:(o.value=s,!0)}const a=de(t)&&vl(n)?Number(n)<t.length:De(t,n),l=Reflect.set(t,n,s,Ze(t)?t:r);return t===Re(r)&&(a?Vn(s,o)&&bn(t,"set",n,s):bn(t,"add",n,s)),l}deleteProperty(t,n){const s=De(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&bn(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!fn(n)||!kd.has(n))&&ht(t,"has",n),s}ownKeys(t){return ht(t,"iterate",de(t)?"length":ps),Reflect.ownKeys(t)}}class Ob extends Bd{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Rb=new Fd,Nb=new Ob,xb=new Fd(!0);const Ka=e=>e,_i=e=>Reflect.getPrototypeOf(e);function $b(e,t,n){return function(...s){const r=this.__v_raw,o=Re(r),a=Ws(o),l=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,f=r[e](...s),h=n?Ka:t?Ii:lt;return!t&&ht(o,"iterate",u?qa:ps),{next(){const{value:p,done:_}=f.next();return _?{value:p,done:_}:{value:l?[h(p[0]),h(p[1])]:h(p),done:_}},[Symbol.iterator](){return this}}}}function vi(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Pb(e,t){const n={get(r){const o=this.__v_raw,a=Re(o),l=Re(r);e||(Vn(r,l)&&ht(a,"get",r),ht(a,"get",l));const{has:u}=_i(a),f=t?Ka:e?Ii:lt;if(u.call(a,r))return f(o.get(r));if(u.call(a,l))return f(o.get(l));o!==a&&o.get(r)},get size(){const r=this.__v_raw;return!e&&ht(Re(r),"iterate",ps),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,a=Re(o),l=Re(r);return e||(Vn(r,l)&&ht(a,"has",r),ht(a,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const a=this,l=a.__v_raw,u=Re(l),f=t?Ka:e?Ii:lt;return!e&&ht(u,"iterate",ps),l.forEach((h,p)=>r.call(o,f(h),f(p),a))}};return nt(n,e?{add:vi("add"),set:vi("set"),delete:vi("delete"),clear:vi("clear")}:{add(r){!t&&!Vt(r)&&!jn(r)&&(r=Re(r));const o=Re(this);return _i(o).has.call(o,r)||(o.add(r),bn(o,"add",r,r)),this},set(r,o){!t&&!Vt(o)&&!jn(o)&&(o=Re(o));const a=Re(this),{has:l,get:u}=_i(a);let f=l.call(a,r);f||(r=Re(r),f=l.call(a,r));const h=u.call(a,r);return a.set(r,o),f?Vn(o,h)&&bn(a,"set",r,o):bn(a,"add",r,o),this},delete(r){const o=Re(this),{has:a,get:l}=_i(o);let u=a.call(o,r);u||(r=Re(r),u=a.call(o,r)),l&&l.call(o,r);const f=o.delete(r);return u&&bn(o,"delete",r,void 0),f},clear(){const r=Re(this),o=r.size!==0,a=r.clear();return o&&bn(r,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=$b(r,e,t)}),n}function Al(e,t){const n=Pb(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(De(n,r)&&r in s?n:s,r,o)}const Db={get:Al(!1,!1)},Lb={get:Al(!1,!0)},Ib={get:Al(!0,!1)};const Hd=new WeakMap,Vd=new WeakMap,Ud=new WeakMap,Mb=new WeakMap;function kb(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Bb(e){return e.__v_skip||!Object.isExtensible(e)?0:kb(cb(e))}function Sn(e){return jn(e)?e:Sl(e,!1,Rb,Db,Hd)}function jd(e){return Sl(e,!1,xb,Lb,Vd)}function qd(e){return Sl(e,!0,Nb,Ib,Ud)}function Sl(e,t,n,s,r){if(!He(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Bb(e);if(o===0)return e;const a=r.get(e);if(a)return a;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function Un(e){return jn(e)?Un(e.__v_raw):!!(e&&e.__v_isReactive)}function jn(e){return!!(e&&e.__v_isReadonly)}function Vt(e){return!!(e&&e.__v_isShallow)}function Cl(e){return e?!!e.__v_raw:!1}function Re(e){const t=e&&e.__v_raw;return t?Re(t):e}function Ol(e){return!De(e,"__v_skip")&&Object.isExtensible(e)&&Ed(e,"__v_skip",!0),e}const lt=e=>He(e)?Sn(e):e,Ii=e=>He(e)?qd(e):e;function Ze(e){return e?e.__v_isRef===!0:!1}function et(e){return Kd(e,!1)}function Fb(e){return Kd(e,!0)}function Kd(e,t){return Ze(e)?e:new Hb(e,t)}class Hb{constructor(t,n){this.dep=new Tl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Re(t),this._value=n?t:lt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Vt(t)||jn(t);t=s?t:Re(t),Vn(t,n)&&(this._rawValue=t,this._value=s?t:lt(t),this.dep.trigger())}}function Ct(e){return Ze(e)?e.value:e}const Vb={get:(e,t,n)=>t==="__v_raw"?e:Ct(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ze(r)&&!Ze(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Wd(e){return Un(e)?e:new Proxy(e,Vb)}function Ub(e){const t=de(e)?new Array(e.length):{};for(const n in e)t[n]=qb(e,n);return t}class jb{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return wb(Re(this._object),this._key)}}function qb(e,t,n){const s=e[t];return Ze(s)?s:new jb(e,t,n)}class Kb{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Tl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Pr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&je!==this)return $d(this,!0),!0}get value(){const t=this.dep.track();return Ld(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Wb(e,t,n=!1){let s,r;return ge(e)?s=e:(s=e.get,r=e.set),new Kb(s,r,n)}const bi={},Mi=new WeakMap;let ds;function Yb(e,t=!1,n=ds){if(n){let s=Mi.get(n);s||Mi.set(n,s=[]),s.push(e)}}function zb(e,t,n=Fe){const{immediate:s,deep:r,once:o,scheduler:a,augmentJob:l,call:u}=n,f=U=>r?U:Vt(U)||r===!1||r===0?yn(U,1):yn(U);let h,p,_,g,E=!1,A=!1;if(Ze(e)?(p=()=>e.value,E=Vt(e)):Un(e)?(p=()=>f(e),E=!0):de(e)?(A=!0,E=e.some(U=>Un(U)||Vt(U)),p=()=>e.map(U=>{if(Ze(U))return U.value;if(Un(U))return f(U);if(ge(U))return u?u(U,2):U()})):ge(e)?t?p=u?()=>u(e,2):e:p=()=>{if(_){Tn();try{_()}finally{An()}}const U=ds;ds=h;try{return u?u(e,3,[g]):e(g)}finally{ds=U}}:p=cn,t&&r){const U=p,q=r===!0?1/0:r;p=()=>yn(U(),q)}const H=Rd(),I=()=>{h.stop(),H&&H.active&&gl(H.effects,h)};if(o&&t){const U=t;t=(...q)=>{U(...q),I()}}let F=A?new Array(e.length).fill(bi):bi;const k=U=>{if(!(!(h.flags&1)||!h.dirty&&!U))if(t){const q=h.run();if(r||E||(A?q.some((O,R)=>Vn(O,F[R])):Vn(q,F))){_&&_();const O=ds;ds=h;try{const R=[q,F===bi?void 0:A&&F[0]===bi?[]:F,g];F=q,u?u(t,3,R):t(...R)}finally{ds=O}}}else h.run()};return l&&l(k),h=new Nd(p),h.scheduler=a?()=>a(k,!1):k,g=U=>Yb(U,!1,h),_=h.onStop=()=>{const U=Mi.get(h);if(U){if(u)u(U,4);else for(const q of U)q();Mi.delete(h)}},t?s?k(!0):F=h.run():a?a(k.bind(null,!0),!0):h.run(),I.pause=h.pause.bind(h),I.resume=h.resume.bind(h),I.stop=I,I}function yn(e,t=1/0,n){if(t<=0||!He(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ze(e))yn(e.value,t,n);else if(de(e))for(let s=0;s<e.length;s++)yn(e[s],t,n);else if(tr(e)||Ws(e))e.forEach(s=>{yn(s,t,n)});else if(yd(e)){for(const s in e)yn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&yn(e[s],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function jr(e,t,n,s){try{return s?e(...s):e()}catch(r){qr(r,t,n)}}function Gt(e,t,n,s){if(ge(e)){const r=jr(e,t,n,s);return r&&_l(r)&&r.catch(o=>{qr(o,t,n)}),r}if(de(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Gt(e[o],t,n,s));return r}}function qr(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Fe;if(t){let l=t.parent;const u=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const h=l.ec;if(h){for(let p=0;p<h.length;p++)if(h[p](e,u,f)===!1)return}l=l.parent}if(o){Tn(),jr(o,null,10,[e,u,f]),An();return}}Gb(e,n,r,s,a)}function Gb(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Et=[];let on=-1;const Ys=[];let kn=null,js=0;const Yd=Promise.resolve();let ki=null;function Xi(e){const t=ki||Yd;return e?t.then(this?e.bind(this):e):t}function Jb(e){let t=on+1,n=Et.length;for(;t<n;){const s=t+n>>>1,r=Et[s],o=Lr(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Rl(e){if(!(e.flags&1)){const t=Lr(e),n=Et[Et.length-1];!n||!(e.flags&2)&&t>=Lr(n)?Et.push(e):Et.splice(Jb(t),0,e),e.flags|=1,zd()}}function zd(){ki||(ki=Yd.then(Jd))}function Wa(e){de(e)?Ys.push(...e):kn&&e.id===-1?kn.splice(js+1,0,e):e.flags&1||(Ys.push(e),e.flags|=1),zd()}function Su(e,t,n=on+1){for(;n<Et.length;n++){const s=Et[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Et.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Gd(e){if(Ys.length){const t=[...new Set(Ys)].sort((n,s)=>Lr(n)-Lr(s));if(Ys.length=0,kn){kn.push(...t);return}for(kn=t,js=0;js<kn.length;js++){const n=kn[js];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}kn=null,js=0}}const Lr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Jd(e){try{for(on=0;on<Et.length;on++){const t=Et[on];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),jr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;on<Et.length;on++){const t=Et[on];t&&(t.flags&=-2)}on=-1,Et.length=0,Gd(),ki=null,(Et.length||Ys.length)&&Jd()}}let At=null,Qd=null;function Bi(e){const t=At;return At=e,Qd=e&&e.type.__scopeId||null,t}function Ot(e,t=At,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ku(-1);const o=Bi(t);let a;try{a=e(...r)}finally{Bi(o),s._d&&ku(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function un(e,t){if(At===null)return e;const n=io(At),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,a,l,u=Fe]=t[r];o&&(ge(o)&&(o={mounted:o,updated:o}),o.deep&&yn(a),s.push({dir:o,instance:n,value:a,oldValue:void 0,arg:l,modifiers:u}))}return e}function cs(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let a=0;a<r.length;a++){const l=r[a];o&&(l.oldValue=o[a].value);let u=l.dir[s];u&&(Tn(),Gt(u,n,8,[e.el,l,e,t]),An())}}const Qb=Symbol("_vte"),Xd=e=>e.__isTeleport,Bn=Symbol("_leaveCb"),yi=Symbol("_enterCb");function Zd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ws(()=>{e.isMounted=!0}),uh(()=>{e.isUnmounting=!0}),e}const Ht=[Function,Array],eh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ht,onEnter:Ht,onAfterEnter:Ht,onEnterCancelled:Ht,onBeforeLeave:Ht,onLeave:Ht,onAfterLeave:Ht,onLeaveCancelled:Ht,onBeforeAppear:Ht,onAppear:Ht,onAfterAppear:Ht,onAppearCancelled:Ht},th=e=>{const t=e.subTree;return t.component?th(t.component):t},Xb={name:"BaseTransition",props:eh,setup(e,{slots:t}){const n=Il(),s=Zd();return()=>{const r=t.default&&Nl(t.default(),!0);if(!r||!r.length)return;const o=nh(r),a=Re(e),{mode:l}=a;if(s.isLeaving)return ra(o);const u=Cu(o);if(!u)return ra(o);let f=Ir(u,a,s,n,p=>f=p);u.type!==ct&&vs(u,f);let h=n.subTree&&Cu(n.subTree);if(h&&h.type!==ct&&!an(u,h)&&th(n).type!==ct){let p=Ir(h,a,s,n);if(vs(h,p),l==="out-in"&&u.type!==ct)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave,h=void 0},ra(o);l==="in-out"&&u.type!==ct?p.delayLeave=(_,g,E)=>{const A=sh(s,h);A[String(h.key)]=h,_[Bn]=()=>{g(),_[Bn]=void 0,delete f.delayedLeave,h=void 0},f.delayedLeave=()=>{E(),delete f.delayedLeave,h=void 0}}:h=void 0}else h&&(h=void 0);return o}}};function nh(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ct){t=n;break}}return t}const Zb=Xb;function sh(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ir(e,t,n,s,r){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:u,onEnter:f,onAfterEnter:h,onEnterCancelled:p,onBeforeLeave:_,onLeave:g,onAfterLeave:E,onLeaveCancelled:A,onBeforeAppear:H,onAppear:I,onAfterAppear:F,onAppearCancelled:k}=t,U=String(e.key),q=sh(n,e),O=(S,L)=>{S&&Gt(S,s,9,L)},R=(S,L)=>{const M=L[1];O(S,L),de(S)?S.every(D=>D.length<=1)&&M():S.length<=1&&M()},w={mode:a,persisted:l,beforeEnter(S){let L=u;if(!n.isMounted)if(o)L=H||u;else return;S[Bn]&&S[Bn](!0);const M=q[U];M&&an(e,M)&&M.el[Bn]&&M.el[Bn](),O(L,[S])},enter(S){let L=f,M=h,D=p;if(!n.isMounted)if(o)L=I||f,M=F||h,D=k||p;else return;let z=!1;const j=S[yi]=X=>{z||(z=!0,X?O(D,[S]):O(M,[S]),w.delayedLeave&&w.delayedLeave(),S[yi]=void 0)};L?R(L,[S,j]):j()},leave(S,L){const M=String(e.key);if(S[yi]&&S[yi](!0),n.isUnmounting)return L();O(_,[S]);let D=!1;const z=S[Bn]=j=>{D||(D=!0,L(),j?O(A,[S]):O(E,[S]),S[Bn]=void 0,q[M]===e&&delete q[M])};q[M]=e,g?R(g,[S,z]):z()},clone(S){const L=Ir(S,t,n,s,r);return r&&r(L),L}};return w}function ra(e){if(Zi(e))return e=qn(e),e.children=null,e}function Cu(e){if(!Zi(e))return Xd(e.type)&&e.children?nh(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&&ge(n.default))return n.default()}}function vs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,vs(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 Nl(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let a=e[o];const l=n==null?a.key:String(n)+String(a.key!=null?a.key:o);a.type===wt?(a.patchFlag&128&&r++,s=s.concat(Nl(a.children,t,l))):(t||a.type!==ct)&&s.push(l!=null?qn(a,{key:l}):a)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function rh(e,t){return ge(e)?nt({name:e.name},t,{setup:e}):e}function ih(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Fi(e,t,n,s,r=!1){if(de(e)){e.forEach((E,A)=>Fi(E,t&&(de(t)?t[A]:t),n,s,r));return}if(Cr(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Fi(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?io(s.component):s.el,a=r?null:o,{i:l,r:u}=e,f=t&&t.r,h=l.refs===Fe?l.refs={}:l.refs,p=l.setupState,_=Re(p),g=p===Fe?()=>!1:E=>De(_,E);if(f!=null&&f!==u&&(Je(f)?(h[f]=null,g(f)&&(p[f]=null)):Ze(f)&&(f.value=null)),ge(u))jr(u,l,12,[a,h]);else{const E=Je(u),A=Ze(u);if(E||A){const H=()=>{if(e.f){const I=E?g(u)?p[u]:h[u]:u.value;r?de(I)&&gl(I,o):de(I)?I.includes(o)||I.push(o):E?(h[u]=[o],g(u)&&(p[u]=h[u])):(u.value=[o],e.k&&(h[e.k]=u.value))}else E?(h[u]=a,g(u)&&(p[u]=a)):A&&(u.value=a,e.k&&(h[e.k]=a))};a?(H.id=-1,It(H,n)):H()}}}Gi().requestIdleCallback;Gi().cancelIdleCallback;const Cr=e=>!!e.type.__asyncLoader,Zi=e=>e.type.__isKeepAlive;function oh(e,t){lh(e,"a",t)}function ah(e,t){lh(e,"da",t)}function lh(e,t,n=rt){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(eo(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Zi(r.parent.vnode)&&ey(s,t,n,r),r=r.parent}}function ey(e,t,n,s){const r=eo(t,e,s,!0);xl(()=>{gl(s[t],r)},n)}function eo(e,t,n=rt,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{Tn();const l=bs(n),u=Gt(t,n,e,a);return l(),An(),u});return s?r.unshift(o):r.push(o),o}}const Cn=e=>(t,n=rt)=>{(!Br||e==="sp")&&eo(e,(...s)=>t(...s),n)},ty=Cn("bm"),ws=Cn("m"),ny=Cn("bu"),ch=Cn("u"),uh=Cn("bum"),xl=Cn("um"),sy=Cn("sp"),ry=Cn("rtg"),iy=Cn("rtc");function oy(e,t=rt){eo("ec",e,t)}const fh="components";function Kr(e,t){return hh(fh,e,!0,t)||e}const dh=Symbol.for("v-ndc");function ay(e){return Je(e)?hh(fh,e,!1)||e:e||dh}function hh(e,t,n=!0,s=!1){const r=At||rt;if(r){const o=r.type;{const l=Zy(o,!1);if(l&&(l===t||l===jt(t)||l===zi(jt(t))))return o}const a=Ou(r[e]||o[e],t)||Ou(r.appContext[e],t);return!a&&s?o:a}}function Ou(e,t){return e&&(e[t]||e[jt(t)]||e[zi(jt(t))])}function to(e,t,n,s){let r;const o=n,a=de(e);if(a||Je(e)){const l=a&&Un(e);let u=!1,f=!1;l&&(u=!Vt(e),f=jn(e),e=Qi(e)),r=new Array(e.length);for(let h=0,p=e.length;h<p;h++)r[h]=t(u?f?Ii(lt(e[h])):lt(e[h]):e[h],h,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,o)}else if(He(e))if(e[Symbol.iterator])r=Array.from(e,(l,u)=>t(l,u,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let u=0,f=l.length;u<f;u++){const h=l[u];r[u]=t(e[h],h,u,o)}}else r=[];return r}const Ya=e=>e?Mh(e)?io(e):Ya(e.parent):null,Or=nt(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=>Ya(e.parent),$root:e=>Ya(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>mh(e),$forceUpdate:e=>e.f||(e.f=()=>{Rl(e.update)}),$nextTick:e=>e.n||(e.n=Xi.bind(e.proxy)),$watch:e=>Ny.bind(e)}),ia=(e,t)=>e!==Fe&&!e.__isScriptSetup&&De(e,t),ly={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:a,type:l,appContext:u}=e;let f;if(t[0]!=="$"){const g=a[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(ia(s,t))return a[t]=1,s[t];if(r!==Fe&&De(r,t))return a[t]=2,r[t];if((f=e.propsOptions[0])&&De(f,t))return a[t]=3,o[t];if(n!==Fe&&De(n,t))return a[t]=4,n[t];za&&(a[t]=0)}}const h=Or[t];let p,_;if(h)return t==="$attrs"&&ht(e.attrs,"get",""),h(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==Fe&&De(n,t))return a[t]=4,n[t];if(_=u.config.globalProperties,De(_,t))return _[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return ia(r,t)?(r[t]=n,!0):s!==Fe&&De(s,t)?(s[t]=n,!0):De(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},a){let l;return!!n[a]||e!==Fe&&De(e,a)||ia(t,a)||(l=o[0])&&De(l,a)||De(s,a)||De(Or,a)||De(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:De(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ru(e){return de(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function no(e){const t=Il();let n=e();return Za(),_l(n)&&(n=n.catch(s=>{throw bs(t),s})),[n,()=>bs(t)]}let za=!0;function cy(e){const t=mh(e),n=e.proxy,s=e.ctx;za=!1,t.beforeCreate&&Nu(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:a,watch:l,provide:u,inject:f,created:h,beforeMount:p,mounted:_,beforeUpdate:g,updated:E,activated:A,deactivated:H,beforeDestroy:I,beforeUnmount:F,destroyed:k,unmounted:U,render:q,renderTracked:O,renderTriggered:R,errorCaptured:w,serverPrefetch:S,expose:L,inheritAttrs:M,components:D,directives:z,filters:j}=t;if(f&&uy(f,s,null),a)for(const Q in a){const J=a[Q];ge(J)&&(s[Q]=J.bind(n))}if(r){const Q=r.call(n,n);He(Q)&&(e.data=Sn(Q))}if(za=!0,o)for(const Q in o){const J=o[Q],ce=ge(J)?J.bind(n,n):ge(J.get)?J.get.bind(n,n):cn,ue=!ge(J)&&ge(J.set)?J.set.bind(n):cn,_e=ze({get:ce,set:ue});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>_e.value,set:be=>_e.value=be})}if(l)for(const Q in l)ph(l[Q],s,n,Q);if(u){const Q=ge(u)?u.call(n):u;Reflect.ownKeys(Q).forEach(J=>{Ai(J,Q[J])})}h&&Nu(h,e,"c");function Y(Q,J){de(J)?J.forEach(ce=>Q(ce.bind(n))):J&&Q(J.bind(n))}if(Y(ty,p),Y(ws,_),Y(ny,g),Y(ch,E),Y(oh,A),Y(ah,H),Y(oy,w),Y(iy,O),Y(ry,R),Y(uh,F),Y(xl,U),Y(sy,S),de(L))if(L.length){const Q=e.exposed||(e.exposed={});L.forEach(J=>{Object.defineProperty(Q,J,{get:()=>n[J],set:ce=>n[J]=ce})})}else e.exposed||(e.exposed={});q&&e.render===cn&&(e.render=q),M!=null&&(e.inheritAttrs=M),D&&(e.components=D),z&&(e.directives=z),S&&ih(e)}function uy(e,t,n=cn){de(e)&&(e=Ga(e));for(const s in e){const r=e[s];let o;He(r)?"default"in r?o=Mt(r.from||s,r.default,!0):o=Mt(r.from||s):o=Mt(r),Ze(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function Nu(e,t,n){Gt(de(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ph(e,t,n,s){let r=s.includes(".")?Rh(n,s):()=>n[s];if(Je(e)){const o=t[e];ge(o)&&zs(r,o)}else if(ge(e))zs(r,e.bind(n));else if(He(e))if(de(e))e.forEach(o=>ph(o,t,n,s));else{const o=ge(e.handler)?e.handler.bind(n):t[e.handler];ge(o)&&zs(r,o,e)}}function mh(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,l=o.get(t);let u;return l?u=l:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(f=>Hi(u,f,a,!0)),Hi(u,t,a)),He(t)&&o.set(t,u),u}function Hi(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Hi(e,o,n,!0),r&&r.forEach(a=>Hi(e,a,n,!0));for(const a in t)if(!(s&&a==="expose")){const l=fy[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const fy={data:xu,props:$u,emits:$u,methods:Er,computed:Er,beforeCreate:yt,created:yt,beforeMount:yt,mounted:yt,beforeUpdate:yt,updated:yt,beforeDestroy:yt,beforeUnmount:yt,destroyed:yt,unmounted:yt,activated:yt,deactivated:yt,errorCaptured:yt,serverPrefetch:yt,components:Er,directives:Er,watch:hy,provide:xu,inject:dy};function xu(e,t){return t?e?function(){return nt(ge(e)?e.call(this,this):e,ge(t)?t.call(this,this):t)}:t:e}function dy(e,t){return Er(Ga(e),Ga(t))}function Ga(e){if(de(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function yt(e,t){return e?[...new Set([].concat(e,t))]:t}function Er(e,t){return e?nt(Object.create(null),e,t):t}function $u(e,t){return e?de(e)&&de(t)?[...new Set([...e,...t])]:nt(Object.create(null),Ru(e),Ru(t??{})):t}function hy(e,t){if(!e)return t;if(!t)return e;const n=nt(Object.create(null),e);for(const s in t)n[s]=yt(e[s],t[s]);return n}function gh(){return{app:null,config:{isNativeTag:ab,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let py=0;function my(e,t){return function(s,r=null){ge(s)||(s=nt({},s)),r!=null&&!He(r)&&(r=null);const o=gh(),a=new WeakSet,l=[];let u=!1;const f=o.app={_uid:py++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:tE,get config(){return o.config},set config(h){},use(h,...p){return a.has(h)||(h&&ge(h.install)?(a.add(h),h.install(f,...p)):ge(h)&&(a.add(h),h(f,...p))),f},mixin(h){return o.mixins.includes(h)||o.mixins.push(h),f},component(h,p){return p?(o.components[h]=p,f):o.components[h]},directive(h,p){return p?(o.directives[h]=p,f):o.directives[h]},mount(h,p,_){if(!u){const g=f._ceVNode||Le(s,r);return g.appContext=o,_===!0?_="svg":_===!1&&(_=void 0),e(g,h,_),u=!0,f._container=h,h.__vue_app__=f,io(g.component)}},onUnmount(h){l.push(h)},unmount(){u&&(Gt(l,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(h,p){return o.provides[h]=p,f},runWithContext(h){const p=ms;ms=f;try{return h()}finally{ms=p}}};return f}}let ms=null;function Ai(e,t){if(rt){let n=rt.provides;const s=rt.parent&&rt.parent.provides;s===n&&(n=rt.provides=Object.create(s)),n[e]=t}}function Mt(e,t,n=!1){const s=rt||At;if(s||ms){let r=ms?ms._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ge(t)?t.call(s&&s.proxy):t}}function gy(){return!!(rt||At||ms)}const _h={},vh=()=>Object.create(_h),bh=e=>Object.getPrototypeOf(e)===_h;function _y(e,t,n,s=!1){const r={},o=vh();e.propsDefaults=Object.create(null),yh(e,t,r,o);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=s?r:jd(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function vy(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:a}}=e,l=Re(r),[u]=e.propsOptions;let f=!1;if((s||a>0)&&!(a&16)){if(a&8){const h=e.vnode.dynamicProps;for(let p=0;p<h.length;p++){let _=h[p];if(so(e.emitsOptions,_))continue;const g=t[_];if(u)if(De(o,_))g!==o[_]&&(o[_]=g,f=!0);else{const E=jt(_);r[E]=Ja(u,l,E,g,e,!1)}else g!==o[_]&&(o[_]=g,f=!0)}}}else{yh(e,t,r,o)&&(f=!0);let h;for(const p in l)(!t||!De(t,p)&&((h=Es(p))===p||!De(t,h)))&&(u?n&&(n[p]!==void 0||n[h]!==void 0)&&(r[p]=Ja(u,l,p,void 0,e,!0)):delete r[p]);if(o!==l)for(const p in o)(!t||!De(t,p))&&(delete o[p],f=!0)}f&&bn(e.attrs,"set","")}function yh(e,t,n,s){const[r,o]=e.propsOptions;let a=!1,l;if(t)for(let u in t){if(Tr(u))continue;const f=t[u];let h;r&&De(r,h=jt(u))?!o||!o.includes(h)?n[h]=f:(l||(l={}))[h]=f:so(e.emitsOptions,u)||(!(u in s)||f!==s[u])&&(s[u]=f,a=!0)}if(o){const u=Re(n),f=l||Fe;for(let h=0;h<o.length;h++){const p=o[h];n[p]=Ja(r,u,p,f[p],e,!De(f,p))}}return a}function Ja(e,t,n,s,r,o){const a=e[n];if(a!=null){const l=De(a,"default");if(l&&s===void 0){const u=a.default;if(a.type!==Function&&!a.skipFactory&&ge(u)){const{propsDefaults:f}=r;if(n in f)s=f[n];else{const h=bs(r);s=f[n]=u.call(null,t),h()}}else s=u;r.ce&&r.ce._setProp(n,s)}a[0]&&(o&&!l?s=!1:a[1]&&(s===""||s===Es(n))&&(s=!0))}return s}const by=new WeakMap;function Eh(e,t,n=!1){const s=n?by:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,a={},l=[];let u=!1;if(!ge(e)){const h=p=>{u=!0;const[_,g]=Eh(p,t,!0);nt(a,_),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!o&&!u)return He(e)&&s.set(e,Ks),Ks;if(de(o))for(let h=0;h<o.length;h++){const p=jt(o[h]);Pu(p)&&(a[p]=Fe)}else if(o)for(const h in o){const p=jt(h);if(Pu(p)){const _=o[h],g=a[p]=de(_)||ge(_)?{type:_}:nt({},_),E=g.type;let A=!1,H=!0;if(de(E))for(let I=0;I<E.length;++I){const F=E[I],k=ge(F)&&F.name;if(k==="Boolean"){A=!0;break}else k==="String"&&(H=!1)}else A=ge(E)&&E.name==="Boolean";g[0]=A,g[1]=H,(A||De(g,"default"))&&l.push(p)}}const f=[a,l];return He(e)&&s.set(e,f),f}function Pu(e){return e[0]!=="$"&&!Tr(e)}const $l=e=>e[0]==="_"||e==="$stable",Pl=e=>de(e)?e.map(Yt):[Yt(e)],yy=(e,t,n)=>{if(t._n)return t;const s=Ot((...r)=>Pl(t(...r)),n);return s._c=!1,s},wh=(e,t,n)=>{const s=e._ctx;for(const r in e){if($l(r))continue;const o=e[r];if(ge(o))t[r]=yy(r,o,s);else if(o!=null){const a=Pl(o);t[r]=()=>a}}},Th=(e,t)=>{const n=Pl(t);e.slots.default=()=>n},Ah=(e,t,n)=>{for(const s in t)(n||!$l(s))&&(e[s]=t[s])},Ey=(e,t,n)=>{const s=e.slots=vh();if(e.vnode.shapeFlag&32){const r=t._;r?(Ah(s,t,n),n&&Ed(s,"_",r,!0)):wh(t,s)}else t&&Th(e,t)},wy=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,a=Fe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Ah(r,t,n):(o=!t.$stable,wh(t,r)),a=t}else t&&(Th(e,t),a={default:1});if(o)for(const l in r)!$l(l)&&a[l]==null&&delete r[l]},It=Vy;function Ty(e){return Ay(e)}function Ay(e,t){const n=Gi();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:a,createText:l,createComment:u,setText:f,setElementText:h,parentNode:p,nextSibling:_,setScopeId:g=cn,insertStaticContent:E}=e,A=(v,b,C,K=null,G=null,N=null,oe=void 0,re=null,se=!!b.dynamicChildren)=>{if(v===b)return;v&&!an(v,b)&&(K=V(v),be(v,G,N,!0),v=null),b.patchFlag===-2&&(se=!1,b.dynamicChildren=null);const{type:Z,ref:he,shapeFlag:ae}=b;switch(Z){case ro:H(v,b,C,K);break;case ct:I(v,b,C,K);break;case aa:v==null&&F(b,C,K,oe);break;case wt:D(v,b,C,K,G,N,oe,re,se);break;default:ae&1?q(v,b,C,K,G,N,oe,re,se):ae&6?z(v,b,C,K,G,N,oe,re,se):(ae&64||ae&128)&&Z.process(v,b,C,K,G,N,oe,re,se,ie)}he!=null&&G&&Fi(he,v&&v.ref,N,b||v,!b)},H=(v,b,C,K)=>{if(v==null)s(b.el=l(b.children),C,K);else{const G=b.el=v.el;b.children!==v.children&&f(G,b.children)}},I=(v,b,C,K)=>{v==null?s(b.el=u(b.children||""),C,K):b.el=v.el},F=(v,b,C,K)=>{[v.el,v.anchor]=E(v.children,b,C,K,v.el,v.anchor)},k=({el:v,anchor:b},C,K)=>{let G;for(;v&&v!==b;)G=_(v),s(v,C,K),v=G;s(b,C,K)},U=({el:v,anchor:b})=>{let C;for(;v&&v!==b;)C=_(v),r(v),v=C;r(b)},q=(v,b,C,K,G,N,oe,re,se)=>{b.type==="svg"?oe="svg":b.type==="math"&&(oe="mathml"),v==null?O(b,C,K,G,N,oe,re,se):S(v,b,G,N,oe,re,se)},O=(v,b,C,K,G,N,oe,re)=>{let se,Z;const{props:he,shapeFlag:ae,transition:fe,dirs:pe}=v;if(se=v.el=a(v.type,N,he&&he.is,he),ae&8?h(se,v.children):ae&16&&w(v.children,se,null,K,G,oa(v,N),oe,re),pe&&cs(v,null,K,"created"),R(se,v,v.scopeId,oe,K),he){for(const Me in he)Me!=="value"&&!Tr(Me)&&o(se,Me,null,he[Me],N,K);"value"in he&&o(se,"value",null,he.value,N),(Z=he.onVnodeBeforeMount)&&tn(Z,K,v)}pe&&cs(v,null,K,"beforeMount");const we=Sy(G,fe);we&&fe.beforeEnter(se),s(se,b,C),((Z=he&&he.onVnodeMounted)||we||pe)&&It(()=>{Z&&tn(Z,K,v),we&&fe.enter(se),pe&&cs(v,null,K,"mounted")},G)},R=(v,b,C,K,G)=>{if(C&&g(v,C),K)for(let N=0;N<K.length;N++)g(v,K[N]);if(G){let N=G.subTree;if(b===N||xh(N.type)&&(N.ssContent===b||N.ssFallback===b)){const oe=G.vnode;R(v,oe,oe.scopeId,oe.slotScopeIds,G.parent)}}},w=(v,b,C,K,G,N,oe,re,se=0)=>{for(let Z=se;Z<v.length;Z++){const he=v[Z]=re?Fn(v[Z]):Yt(v[Z]);A(null,he,b,C,K,G,N,oe,re)}},S=(v,b,C,K,G,N,oe)=>{const re=b.el=v.el;let{patchFlag:se,dynamicChildren:Z,dirs:he}=b;se|=v.patchFlag&16;const ae=v.props||Fe,fe=b.props||Fe;let pe;if(C&&us(C,!1),(pe=fe.onVnodeBeforeUpdate)&&tn(pe,C,b,v),he&&cs(b,v,C,"beforeUpdate"),C&&us(C,!0),(ae.innerHTML&&fe.innerHTML==null||ae.textContent&&fe.textContent==null)&&h(re,""),Z?L(v.dynamicChildren,Z,re,C,K,oa(b,G),N):oe||J(v,b,re,null,C,K,oa(b,G),N,!1),se>0){if(se&16)M(re,ae,fe,C,G);else if(se&2&&ae.class!==fe.class&&o(re,"class",null,fe.class,G),se&4&&o(re,"style",ae.style,fe.style,G),se&8){const we=b.dynamicProps;for(let Me=0;Me<we.length;Me++){const $e=we[Me],mt=ae[$e],ut=fe[$e];(ut!==mt||$e==="value")&&o(re,$e,mt,ut,G,C)}}se&1&&v.children!==b.children&&h(re,b.children)}else!oe&&Z==null&&M(re,ae,fe,C,G);((pe=fe.onVnodeUpdated)||he)&&It(()=>{pe&&tn(pe,C,b,v),he&&cs(b,v,C,"updated")},K)},L=(v,b,C,K,G,N,oe)=>{for(let re=0;re<b.length;re++){const se=v[re],Z=b[re],he=se.el&&(se.type===wt||!an(se,Z)||se.shapeFlag&198)?p(se.el):C;A(se,Z,he,null,K,G,N,oe,!0)}},M=(v,b,C,K,G)=>{if(b!==C){if(b!==Fe)for(const N in b)!Tr(N)&&!(N in C)&&o(v,N,b[N],null,G,K);for(const N in C){if(Tr(N))continue;const oe=C[N],re=b[N];oe!==re&&N!=="value"&&o(v,N,re,oe,G,K)}"value"in C&&o(v,"value",b.value,C.value,G)}},D=(v,b,C,K,G,N,oe,re,se)=>{const Z=b.el=v?v.el:l(""),he=b.anchor=v?v.anchor:l("");let{patchFlag:ae,dynamicChildren:fe,slotScopeIds:pe}=b;pe&&(re=re?re.concat(pe):pe),v==null?(s(Z,C,K),s(he,C,K),w(b.children||[],C,he,G,N,oe,re,se)):ae>0&&ae&64&&fe&&v.dynamicChildren?(L(v.dynamicChildren,fe,C,G,N,oe,re),(b.key!=null||G&&b===G.subTree)&&Sh(v,b,!0)):J(v,b,C,he,G,N,oe,re,se)},z=(v,b,C,K,G,N,oe,re,se)=>{b.slotScopeIds=re,v==null?b.shapeFlag&512?G.ctx.activate(b,C,K,oe,se):j(b,C,K,G,N,oe,se):X(v,b,se)},j=(v,b,C,K,G,N,oe)=>{const re=v.component=zy(v,K,G);if(Zi(v)&&(re.ctx.renderer=ie),Gy(re,!1,oe),re.asyncDep){if(G&&G.registerDep(re,Y,oe),!v.el){const se=re.subTree=Le(ct);I(null,se,b,C)}}else Y(re,v,b,C,G,N,oe)},X=(v,b,C)=>{const K=b.component=v.component;if(Iy(v,b,C))if(K.asyncDep&&!K.asyncResolved){Q(K,b,C);return}else K.next=b,K.update();else b.el=v.el,K.vnode=b},Y=(v,b,C,K,G,N,oe)=>{const re=()=>{if(v.isMounted){let{next:ae,bu:fe,u:pe,parent:we,vnode:Me}=v;{const xt=Ch(v);if(xt){ae&&(ae.el=Me.el,Q(v,ae,oe)),xt.asyncDep.then(()=>{v.isUnmounted||re()});return}}let $e=ae,mt;us(v,!1),ae?(ae.el=Me.el,Q(v,ae,oe)):ae=Me,fe&&Ti(fe),(mt=ae.props&&ae.props.onVnodeBeforeUpdate)&&tn(mt,we,ae,Me),us(v,!0);const ut=Lu(v),kt=v.subTree;v.subTree=ut,A(kt,ut,p(kt.el),V(kt),v,G,N),ae.el=ut.el,$e===null&&Dl(v,ut.el),pe&&It(pe,G),(mt=ae.props&&ae.props.onVnodeUpdated)&&It(()=>tn(mt,we,ae,Me),G)}else{let ae;const{el:fe,props:pe}=b,{bm:we,m:Me,parent:$e,root:mt,type:ut}=v,kt=Cr(b);us(v,!1),we&&Ti(we),!kt&&(ae=pe&&pe.onVnodeBeforeMount)&&tn(ae,$e,b),us(v,!0);{mt.ce&&mt.ce._injectChildStyle(ut);const xt=v.subTree=Lu(v);A(null,xt,C,K,v,G,N),b.el=xt.el}if(Me&&It(Me,G),!kt&&(ae=pe&&pe.onVnodeMounted)){const xt=b;It(()=>tn(ae,$e,xt),G)}(b.shapeFlag&256||$e&&Cr($e.vnode)&&$e.vnode.shapeFlag&256)&&v.a&&It(v.a,G),v.isMounted=!0,b=C=K=null}};v.scope.on();const se=v.effect=new Nd(re);v.scope.off();const Z=v.update=se.run.bind(se),he=v.job=se.runIfDirty.bind(se);he.i=v,he.id=v.uid,se.scheduler=()=>Rl(he),us(v,!0),Z()},Q=(v,b,C)=>{b.component=v;const K=v.vnode.props;v.vnode=b,v.next=null,vy(v,b.props,K,C),wy(v,b.children,C),Tn(),Su(v),An()},J=(v,b,C,K,G,N,oe,re,se=!1)=>{const Z=v&&v.children,he=v?v.shapeFlag:0,ae=b.children,{patchFlag:fe,shapeFlag:pe}=b;if(fe>0){if(fe&128){ue(Z,ae,C,K,G,N,oe,re,se);return}else if(fe&256){ce(Z,ae,C,K,G,N,oe,re,se);return}}pe&8?(he&16&&We(Z,G,N),ae!==Z&&h(C,ae)):he&16?pe&16?ue(Z,ae,C,K,G,N,oe,re,se):We(Z,G,N,!0):(he&8&&h(C,""),pe&16&&w(ae,C,K,G,N,oe,re,se))},ce=(v,b,C,K,G,N,oe,re,se)=>{v=v||Ks,b=b||Ks;const Z=v.length,he=b.length,ae=Math.min(Z,he);let fe;for(fe=0;fe<ae;fe++){const pe=b[fe]=se?Fn(b[fe]):Yt(b[fe]);A(v[fe],pe,C,null,G,N,oe,re,se)}Z>he?We(v,G,N,!0,!1,ae):w(b,C,K,G,N,oe,re,se,ae)},ue=(v,b,C,K,G,N,oe,re,se)=>{let Z=0;const he=b.length;let ae=v.length-1,fe=he-1;for(;Z<=ae&&Z<=fe;){const pe=v[Z],we=b[Z]=se?Fn(b[Z]):Yt(b[Z]);if(an(pe,we))A(pe,we,C,null,G,N,oe,re,se);else break;Z++}for(;Z<=ae&&Z<=fe;){const pe=v[ae],we=b[fe]=se?Fn(b[fe]):Yt(b[fe]);if(an(pe,we))A(pe,we,C,null,G,N,oe,re,se);else break;ae--,fe--}if(Z>ae){if(Z<=fe){const pe=fe+1,we=pe<he?b[pe].el:K;for(;Z<=fe;)A(null,b[Z]=se?Fn(b[Z]):Yt(b[Z]),C,we,G,N,oe,re,se),Z++}}else if(Z>fe)for(;Z<=ae;)be(v[Z],G,N,!0),Z++;else{const pe=Z,we=Z,Me=new Map;for(Z=we;Z<=fe;Z++){const gt=b[Z]=se?Fn(b[Z]):Yt(b[Z]);gt.key!=null&&Me.set(gt.key,Z)}let $e,mt=0;const ut=fe-we+1;let kt=!1,xt=0;const Yn=new Array(ut);for(Z=0;Z<ut;Z++)Yn[Z]=0;for(Z=pe;Z<=ae;Z++){const gt=v[Z];if(mt>=ut){be(gt,G,N,!0);continue}let it;if(gt.key!=null)it=Me.get(gt.key);else for($e=we;$e<=fe;$e++)if(Yn[$e-we]===0&&an(gt,b[$e])){it=$e;break}it===void 0?be(gt,G,N,!0):(Yn[it-we]=Z+1,it>=xt?xt=it:kt=!0,A(gt,b[it],C,null,G,N,oe,re,se),mt++)}const On=kt?Cy(Yn):Ks;for($e=On.length-1,Z=ut-1;Z>=0;Z--){const gt=we+Z,it=b[gt],zr=gt+1<he?b[gt+1].el:K;Yn[Z]===0?A(null,it,C,zr,G,N,oe,re,se):kt&&($e<0||Z!==On[$e]?_e(it,C,zr,2):$e--)}}},_e=(v,b,C,K,G=null)=>{const{el:N,type:oe,transition:re,children:se,shapeFlag:Z}=v;if(Z&6){_e(v.component.subTree,b,C,K);return}if(Z&128){v.suspense.move(b,C,K);return}if(Z&64){oe.move(v,b,C,ie);return}if(oe===wt){s(N,b,C);for(let ae=0;ae<se.length;ae++)_e(se[ae],b,C,K);s(v.anchor,b,C);return}if(oe===aa){k(v,b,C);return}if(K!==2&&Z&1&&re)if(K===0)re.beforeEnter(N),s(N,b,C),It(()=>re.enter(N),G);else{const{leave:ae,delayLeave:fe,afterLeave:pe}=re,we=()=>{v.ctx.isUnmounted?r(N):s(N,b,C)},Me=()=>{ae(N,()=>{we(),pe&&pe()})};fe?fe(N,we,Me):Me()}else s(N,b,C)},be=(v,b,C,K=!1,G=!1)=>{const{type:N,props:oe,ref:re,children:se,dynamicChildren:Z,shapeFlag:he,patchFlag:ae,dirs:fe,cacheIndex:pe}=v;if(ae===-2&&(G=!1),re!=null&&(Tn(),Fi(re,null,C,v,!0),An()),pe!=null&&(b.renderCache[pe]=void 0),he&256){b.ctx.deactivate(v);return}const we=he&1&&fe,Me=!Cr(v);let $e;if(Me&&($e=oe&&oe.onVnodeBeforeUnmount)&&tn($e,b,v),he&6)qe(v.component,C,K);else{if(he&128){v.suspense.unmount(C,K);return}we&&cs(v,null,b,"beforeUnmount"),he&64?v.type.remove(v,b,C,ie,K):Z&&!Z.hasOnce&&(N!==wt||ae>0&&ae&64)?We(Z,b,C,!1,!0):(N===wt&&ae&384||!G&&he&16)&&We(se,b,C),K&&Ne(v)}(Me&&($e=oe&&oe.onVnodeUnmounted)||we)&&It(()=>{$e&&tn($e,b,v),we&&cs(v,null,b,"unmounted")},C)},Ne=v=>{const{type:b,el:C,anchor:K,transition:G}=v;if(b===wt){Ie(C,K);return}if(b===aa){U(v);return}const N=()=>{r(C),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(v.shapeFlag&1&&G&&!G.persisted){const{leave:oe,delayLeave:re}=G,se=()=>oe(C,N);re?re(v.el,N,se):se()}else N()},Ie=(v,b)=>{let C;for(;v!==b;)C=_(v),r(v),v=C;r(b)},qe=(v,b,C)=>{const{bum:K,scope:G,job:N,subTree:oe,um:re,m:se,a:Z,parent:he,slots:{__:ae}}=v;Du(se),Du(Z),K&&Ti(K),he&&de(ae)&&ae.forEach(fe=>{he.renderCache[fe]=void 0}),G.stop(),N&&(N.flags|=8,be(oe,v,b,C)),re&&It(re,b),It(()=>{v.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},We=(v,b,C,K=!1,G=!1,N=0)=>{for(let oe=N;oe<v.length;oe++)be(v[oe],b,C,K,G)},V=v=>{if(v.shapeFlag&6)return V(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const b=_(v.anchor||v.el),C=b&&b[Qb];return C?_(C):b};let T=!1;const te=(v,b,C)=>{v==null?b._vnode&&be(b._vnode,null,null,!0):A(b._vnode||null,v,b,null,null,null,C),b._vnode=v,T||(T=!0,Su(),Gd(),T=!1)},ie={p:A,um:be,m:_e,r:Ne,mt:j,mc:w,pc:J,pbc:L,n:V,o:e};return{render:te,hydrate:void 0,createApp:my(te)}}function oa({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 us({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Sy(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Sh(e,t,n=!1){const s=e.children,r=t.children;if(de(s)&&de(r))for(let o=0;o<s.length;o++){const a=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=Fn(r[o]),l.el=a.el),!n&&l.patchFlag!==-2&&Sh(a,l)),l.type===ro&&(l.el=a.el),l.type===ct&&!l.el&&(l.el=a.el)}}function Cy(e){const t=e.slice(),n=[0];let s,r,o,a,l;const u=e.length;for(s=0;s<u;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(o=0,a=n.length-1;o<a;)l=o+a>>1,e[n[l]]<f?o=l+1:a=l;f<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function Ch(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ch(t)}function Du(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Oy=Symbol.for("v-scx"),Ry=()=>Mt(Oy);function zs(e,t,n){return Oh(e,t,n)}function Oh(e,t,n=Fe){const{immediate:s,deep:r,flush:o,once:a}=n,l=nt({},n),u=t&&s||!t&&o!=="post";let f;if(Br){if(o==="sync"){const g=Ry();f=g.__watcherHandles||(g.__watcherHandles=[])}else if(!u){const g=()=>{};return g.stop=cn,g.resume=cn,g.pause=cn,g}}const h=rt;l.call=(g,E,A)=>Gt(g,h,E,A);let p=!1;o==="post"?l.scheduler=g=>{It(g,h&&h.suspense)}:o!=="sync"&&(p=!0,l.scheduler=(g,E)=>{E?g():Rl(g)}),l.augmentJob=g=>{t&&(g.flags|=4),p&&(g.flags|=2,h&&(g.id=h.uid,g.i=h))};const _=zb(e,t,l);return Br&&(f?f.push(_):u&&_()),_}function Ny(e,t,n){const s=this.proxy,r=Je(e)?e.includes(".")?Rh(s,e):()=>s[e]:e.bind(s,s);let o;ge(t)?o=t:(o=t.handler,n=t);const a=bs(this),l=Oh(r,o.bind(s),n);return a(),l}function Rh(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const xy=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${jt(t)}Modifiers`]||e[`${Es(t)}Modifiers`];function $y(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Fe;let r=n;const o=t.startsWith("update:"),a=o&&xy(s,t.slice(7));a&&(a.trim&&(r=n.map(h=>Je(h)?h.trim():h)),a.number&&(r=n.map(Di)));let l,u=s[l=Zo(t)]||s[l=Zo(jt(t))];!u&&o&&(u=s[l=Zo(Es(t))]),u&&Gt(u,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Gt(f,e,6,r)}}function Nh(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let a={},l=!1;if(!ge(e)){const u=f=>{const h=Nh(f,t,!0);h&&(l=!0,nt(a,h))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!l?(He(e)&&s.set(e,null),null):(de(o)?o.forEach(u=>a[u]=null):nt(a,o),He(e)&&s.set(e,a),a)}function so(e,t){return!e||!Wi(t)?!1:(t=t.slice(2).replace(/Once$/,""),De(e,t[0].toLowerCase()+t.slice(1))||De(e,Es(t))||De(e,t))}function Lu(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:a,attrs:l,emit:u,render:f,renderCache:h,props:p,data:_,setupState:g,ctx:E,inheritAttrs:A}=e,H=Bi(e);let I,F;try{if(n.shapeFlag&4){const U=r||s,q=U;I=Yt(f.call(q,U,h,p,g,_,E)),F=l}else{const U=t;I=Yt(U.length>1?U(p,{attrs:l,slots:a,emit:u}):U(p,null)),F=t.props?l:Dy(l)}}catch(U){Rr.length=0,qr(U,e,1),I=Le(ct)}let k=I;if(F&&A!==!1){const U=Object.keys(F),{shapeFlag:q}=k;U.length&&q&7&&(o&&U.some(ml)&&(F=Ly(F,o)),k=qn(k,F,!1,!0))}return n.dirs&&(k=qn(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&vs(k,n.transition),I=k,Bi(H),I}function Py(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(kr(r)){if(r.type!==ct||r.children==="v-if"){if(n)return;n=r}}else return}return n}const Dy=e=>{let t;for(const n in e)(n==="class"||n==="style"||Wi(n))&&((t||(t={}))[n]=e[n]);return t},Ly=(e,t)=>{const n={};for(const s in e)(!ml(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Iy(e,t,n){const{props:s,children:r,component:o}=e,{props:a,children:l,patchFlag:u}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Iu(s,a,f):!!a;if(u&8){const h=t.dynamicProps;for(let p=0;p<h.length;p++){const _=h[p];if(a[_]!==s[_]&&!so(f,_))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===a?!1:s?a?Iu(s,a,f):!0:!!a;return!1}function Iu(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!so(n,o))return!0}return!1}function Dl({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const xh=e=>e.__isSuspense;let Qa=0;const My={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,a,l,u,f){if(e==null)ky(t,n,s,r,o,a,l,u,f);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}By(e,t,n,s,r,a,l,u,f)}},hydrate:Fy,normalize:Hy},$h=My;function Mr(e,t){const n=e.props&&e.props[t];ge(n)&&n()}function ky(e,t,n,s,r,o,a,l,u){const{p:f,o:{createElement:h}}=u,p=h("div"),_=e.suspense=Ph(e,r,s,t,p,n,o,a,l,u);f(null,_.pendingBranch=e.ssContent,p,null,s,_,o,a),_.deps>0?(Mr(e,"onPending"),Mr(e,"onFallback"),f(null,e.ssFallback,t,n,s,null,o,a),Gs(_,e.ssFallback)):_.resolve(!1,!0)}function By(e,t,n,s,r,o,a,l,{p:u,um:f,o:{createElement:h}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const _=t.ssContent,g=t.ssFallback,{activeBranch:E,pendingBranch:A,isInFallback:H,isHydrating:I}=p;if(A)p.pendingBranch=_,an(_,A)?(u(A,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0?p.resolve():H&&(I||(u(E,g,n,s,r,null,o,a,l),Gs(p,g)))):(p.pendingId=Qa++,I?(p.isHydrating=!1,p.activeBranch=A):f(A,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=h("div"),H?(u(null,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0?p.resolve():(u(E,g,n,s,r,null,o,a,l),Gs(p,g))):E&&an(_,E)?(u(E,_,n,s,r,p,o,a,l),p.resolve(!0)):(u(null,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0&&p.resolve()));else if(E&&an(_,E))u(E,_,n,s,r,p,o,a,l),Gs(p,_);else if(Mr(t,"onPending"),p.pendingBranch=_,_.shapeFlag&512?p.pendingId=_.component.suspenseId:p.pendingId=Qa++,u(null,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0)p.resolve();else{const{timeout:F,pendingId:k}=p;F>0?setTimeout(()=>{p.pendingId===k&&p.fallback(g)},F):F===0&&p.fallback(g)}}function Ph(e,t,n,s,r,o,a,l,u,f,h=!1){const{p,m:_,um:g,n:E,o:{parentNode:A,remove:H}}=f;let I;const F=Uy(e);F&&t&&t.pendingBranch&&(I=t.pendingId,t.deps++);const k=e.props?wd(e.props.timeout):void 0,U=o,q={vnode:e,parent:t,parentComponent:n,namespace:a,container:s,hiddenContainer:r,deps:0,pendingId:Qa++,timeout:typeof k=="number"?k:-1,activeBranch:null,pendingBranch:null,isInFallback:!h,isHydrating:h,isUnmounted:!1,effects:[],resolve(O=!1,R=!1){const{vnode:w,activeBranch:S,pendingBranch:L,pendingId:M,effects:D,parentComponent:z,container:j}=q;let X=!1;q.isHydrating?q.isHydrating=!1:O||(X=S&&L.transition&&L.transition.mode==="out-in",X&&(S.transition.afterLeave=()=>{M===q.pendingId&&(_(L,j,o===U?E(S):o,0),Wa(D))}),S&&(A(S.el)===j&&(o=E(S)),g(S,z,q,!0)),X||_(L,j,o,0)),Gs(q,L),q.pendingBranch=null,q.isInFallback=!1;let Y=q.parent,Q=!1;for(;Y;){if(Y.pendingBranch){Y.effects.push(...D),Q=!0;break}Y=Y.parent}!Q&&!X&&Wa(D),q.effects=[],F&&t&&t.pendingBranch&&I===t.pendingId&&(t.deps--,t.deps===0&&!R&&t.resolve()),Mr(w,"onResolve")},fallback(O){if(!q.pendingBranch)return;const{vnode:R,activeBranch:w,parentComponent:S,container:L,namespace:M}=q;Mr(R,"onFallback");const D=E(w),z=()=>{q.isInFallback&&(p(null,O,L,D,S,null,M,l,u),Gs(q,O))},j=O.transition&&O.transition.mode==="out-in";j&&(w.transition.afterLeave=z),q.isInFallback=!0,g(w,S,null,!0),j||z()},move(O,R,w){q.activeBranch&&_(q.activeBranch,O,R,w),q.container=O},next(){return q.activeBranch&&E(q.activeBranch)},registerDep(O,R,w){const S=!!q.pendingBranch;S&&q.deps++;const L=O.vnode.el;O.asyncDep.catch(M=>{qr(M,O,0)}).then(M=>{if(O.isUnmounted||q.isUnmounted||q.pendingId!==O.suspenseId)return;O.asyncResolved=!0;const{vnode:D}=O;el(O,M),L&&(D.el=L);const z=!L&&O.subTree.el;R(O,D,A(L||O.subTree.el),L?null:E(O.subTree),q,a,w),z&&H(z),Dl(O,D.el),S&&--q.deps===0&&q.resolve()})},unmount(O,R){q.isUnmounted=!0,q.activeBranch&&g(q.activeBranch,n,O,R),q.pendingBranch&&g(q.pendingBranch,n,O,R)}};return q}function Fy(e,t,n,s,r,o,a,l,u){const f=t.suspense=Ph(t,s,n,e.parentNode,document.createElement("div"),null,r,o,a,l,!0),h=u(e,f.pendingBranch=t.ssContent,n,f,o,a);return f.deps===0&&f.resolve(!1,!0),h}function Hy(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Mu(s?n.default:n),e.ssFallback=s?Mu(n.fallback):Le(ct)}function Mu(e){let t;if(ge(e)){const n=Js&&e._c;n&&(e._d=!1,me()),e=e(),n&&(e._d=!0,t=St,Dh())}return de(e)&&(e=Py(e)),e=Yt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Vy(e,t){t&&t.pendingBranch?de(e)?t.effects.push(...e):t.effects.push(e):Wa(e)}function Gs(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Dl(s,r))}function Uy(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const wt=Symbol.for("v-fgt"),ro=Symbol.for("v-txt"),ct=Symbol.for("v-cmt"),aa=Symbol.for("v-stc"),Rr=[];let St=null;function me(e=!1){Rr.push(St=e?null:[])}function Dh(){Rr.pop(),St=Rr[Rr.length-1]||null}let Js=1;function ku(e,t=!1){Js+=e,e<0&&St&&t&&(St.hasOnce=!0)}function Lh(e){return e.dynamicChildren=Js>0?St||Ks:null,Dh(),Js>0&&St&&St.push(e),e}function Oe(e,t,n,s,r,o){return Lh($(e,t,n,s,r,o,!0))}function Jt(e,t,n,s,r){return Lh(Le(e,t,n,s,r,!0))}function kr(e){return e?e.__v_isVNode===!0:!1}function an(e,t){return e.type===t.type&&e.key===t.key}const Ih=({key:e})=>e??null,Si=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Je(e)||Ze(e)||ge(e)?{i:At,r:e,k:t,f:!!n}:e:null);function $(e,t=null,n=null,s=0,r=null,o=e===wt?0:1,a=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ih(t),ref:t&&Si(t),scopeId:Qd,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:At};return l?(Ll(u,n),o&128&&e.normalize(u)):n&&(u.shapeFlag|=Je(n)?8:16),Js>0&&!a&&St&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&St.push(u),u}const Le=jy;function jy(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===dh)&&(e=ct),kr(e)){const l=qn(e,t,!0);return n&&Ll(l,n),Js>0&&!o&&St&&(l.shapeFlag&6?St[St.indexOf(e)]=l:St.push(l)),l.patchFlag=-2,l}if(eE(e)&&(e=e.__vccOpts),t){t=qy(t);let{class:l,style:u}=t;l&&!Je(l)&&(t.class=ln(l)),He(u)&&(Cl(u)&&!de(u)&&(u=nt({},u)),t.style=Ji(u))}const a=Je(e)?1:xh(e)?128:Xd(e)?64:He(e)?4:ge(e)?2:0;return $(e,t,n,s,r,a,o,!0)}function qy(e){return e?Cl(e)||bh(e)?nt({},e):e:null}function qn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:a,children:l,transition:u}=e,f=t?Ky(r||{},t):r,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Ih(f),ref:t&&t.ref?n&&o?de(o)?o.concat(Si(t)):[o,Si(t)]:Si(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==wt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qn(e.ssContent),ssFallback:e.ssFallback&&qn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&s&&vs(h,u.clone(h)),h}function Ye(e=" ",t=0){return Le(ro,null,e,t)}function Kn(e="",t=!1){return t?(me(),Jt(ct,null,e)):Le(ct,null,e)}function Yt(e){return e==null||typeof e=="boolean"?Le(ct):de(e)?Le(wt,null,e.slice()):kr(e)?Fn(e):Le(ro,null,String(e))}function Fn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qn(e)}function Ll(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(de(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ll(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!bh(t)?t._ctx=At:r===3&&At&&(At.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ge(t)?(t={default:t,_ctx:At},n=32):(t=String(t),s&64?(n=16,t=[Ye(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ky(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=ln([t.class,s.class]));else if(r==="style")t.style=Ji([t.style,s.style]);else if(Wi(r)){const o=t[r],a=s[r];a&&o!==a&&!(de(o)&&o.includes(a))&&(t[r]=o?[].concat(o,a):a)}else r!==""&&(t[r]=s[r])}return t}function tn(e,t,n,s=null){Gt(e,t,7,[n,s])}const Wy=gh();let Yy=0;function zy(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Wy,o={uid:Yy++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Cd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Eh(s,r),emitsOptions:Nh(s,r),emit:null,emitted:null,propsDefaults:Fe,inheritAttrs:s.inheritAttrs,ctx:Fe,data:Fe,props:Fe,attrs:Fe,slots:Fe,refs:Fe,setupState:Fe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=$y.bind(null,o),e.ce&&e.ce(o),o}let rt=null;const Il=()=>rt||At;let Vi,Xa;{const e=Gi(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(a=>a(o)):r[0](o)}};Vi=t("__VUE_INSTANCE_SETTERS__",n=>rt=n),Xa=t("__VUE_SSR_SETTERS__",n=>Br=n)}const bs=e=>{const t=rt;return Vi(e),e.scope.on(),()=>{e.scope.off(),Vi(t)}},Za=()=>{rt&&rt.scope.off(),Vi(null)};function Mh(e){return e.vnode.shapeFlag&4}let Br=!1;function Gy(e,t=!1,n=!1){t&&Xa(t);const{props:s,children:r}=e.vnode,o=Mh(e);_y(e,s,o,t),Ey(e,r,n||t);const a=o?Jy(e,t):void 0;return t&&Xa(!1),a}function Jy(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ly);const{setup:s}=n;if(s){Tn();const r=e.setupContext=s.length>1?Xy(e):null,o=bs(e),a=jr(s,e,0,[e.props,r]),l=_l(a);if(An(),o(),(l||e.sp)&&!Cr(e)&&ih(e),l){if(a.then(Za,Za),t)return a.then(u=>{el(e,u)}).catch(u=>{qr(u,e,0)});e.asyncDep=a}else el(e,a)}else kh(e)}function el(e,t,n){ge(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:He(t)&&(e.setupState=Wd(t)),kh(e)}function kh(e,t,n){const s=e.type;e.render||(e.render=s.render||cn);{const r=bs(e);Tn();try{cy(e)}finally{An(),r()}}}const Qy={get(e,t){return ht(e,"get",""),e[t]}};function Xy(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Qy),slots:e.slots,emit:e.emit,expose:t}}function io(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Wd(Ol(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Or)return Or[n](e)},has(t,n){return n in t||n in Or}})):e.proxy}function Zy(e,t=!0){return ge(e)?e.displayName||e.name:e.name||t&&e.__name}function eE(e){return ge(e)&&"__vccOpts"in e}const ze=(e,t)=>Wb(e,t,Br);function Ml(e,t,n){const s=arguments.length;return s===2?He(t)&&!de(t)?kr(t)?Le(e,null,[t]):Le(e,t):Le(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&kr(n)&&(n=[n]),Le(e,t,n))}const tE="3.5.16";/**
|
|
* @vue/runtime-dom v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let tl;const Bu=typeof window<"u"&&window.trustedTypes;if(Bu)try{tl=Bu.createPolicy("vue",{createHTML:e=>e})}catch{}const Bh=tl?e=>tl.createHTML(e):e=>e,nE="http://www.w3.org/2000/svg",sE="http://www.w3.org/1998/Math/MathML",vn=typeof document<"u"?document:null,Fu=vn&&vn.createElement("template"),rE={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?vn.createElementNS(nE,e):t==="mathml"?vn.createElementNS(sE,e):n?vn.createElement(e,{is:n}):vn.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>vn.createTextNode(e),createComment:e=>vn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const a=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Fu.innerHTML=Bh(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Fu.content;if(s==="svg"||s==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Pn="transition",_r="animation",Qs=Symbol("_vtc"),Fh={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},Hh=nt({},eh,Fh),iE=e=>(e.displayName="Transition",e.props=Hh,e),oo=iE((e,{slots:t})=>Ml(Zb,Vh(e),t)),fs=(e,t=[])=>{de(e)?e.forEach(n=>n(...t)):e&&e(...t)},Hu=e=>e?de(e)?e.some(t=>t.length>1):e.length>1:!1;function Vh(e){const t={};for(const D in e)D in Fh||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:f=a,appearToClass:h=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,E=oE(r),A=E&&E[0],H=E&&E[1],{onBeforeEnter:I,onEnter:F,onEnterCancelled:k,onLeave:U,onLeaveCancelled:q,onBeforeAppear:O=I,onAppear:R=F,onAppearCancelled:w=k}=t,S=(D,z,j,X)=>{D._enterCancelled=X,In(D,z?h:l),In(D,z?f:a),j&&j()},L=(D,z)=>{D._isLeaving=!1,In(D,p),In(D,g),In(D,_),z&&z()},M=D=>(z,j)=>{const X=D?R:F,Y=()=>S(z,D,j);fs(X,[z,Y]),Vu(()=>{In(z,D?u:o),rn(z,D?h:l),Hu(X)||Uu(z,s,A,Y)})};return nt(t,{onBeforeEnter(D){fs(I,[D]),rn(D,o),rn(D,a)},onBeforeAppear(D){fs(O,[D]),rn(D,u),rn(D,f)},onEnter:M(!1),onAppear:M(!0),onLeave(D,z){D._isLeaving=!0;const j=()=>L(D,z);rn(D,p),D._enterCancelled?(rn(D,_),nl()):(nl(),rn(D,_)),Vu(()=>{D._isLeaving&&(In(D,p),rn(D,g),Hu(U)||Uu(D,s,H,j))}),fs(U,[D,j])},onEnterCancelled(D){S(D,!1,void 0,!0),fs(k,[D])},onAppearCancelled(D){S(D,!0,void 0,!0),fs(w,[D])},onLeaveCancelled(D){L(D),fs(q,[D])}})}function oE(e){if(e==null)return null;if(He(e))return[la(e.enter),la(e.leave)];{const t=la(e);return[t,t]}}function la(e){return wd(e)}function rn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Qs]||(e[Qs]=new Set)).add(t)}function In(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Qs];n&&(n.delete(t),n.size||(e[Qs]=void 0))}function Vu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let aE=0;function Uu(e,t,n,s){const r=e._endId=++aE,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:u}=Uh(e,t);if(!a)return s();const f=a+"end";let h=0;const p=()=>{e.removeEventListener(f,_),o()},_=g=>{g.target===e&&++h>=u&&p()};setTimeout(()=>{h<u&&p()},l+1),e.addEventListener(f,_)}function Uh(e,t){const n=window.getComputedStyle(e),s=E=>(n[E]||"").split(", "),r=s(`${Pn}Delay`),o=s(`${Pn}Duration`),a=ju(r,o),l=s(`${_r}Delay`),u=s(`${_r}Duration`),f=ju(l,u);let h=null,p=0,_=0;t===Pn?a>0&&(h=Pn,p=a,_=o.length):t===_r?f>0&&(h=_r,p=f,_=u.length):(p=Math.max(a,f),h=p>0?a>f?Pn:_r:null,_=h?h===Pn?o.length:u.length:0);const g=h===Pn&&/\b(transform|all)(,|$)/.test(s(`${Pn}Property`).toString());return{type:h,timeout:p,propCount:_,hasTransform:g}}function ju(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>qu(n)+qu(e[s])))}function qu(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function nl(){return document.body.offsetHeight}function lE(e,t,n){const s=e[Qs];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ku=Symbol("_vod"),cE=Symbol("_vsh"),uE=Symbol(""),fE=/(^|;)\s*display\s*:/;function dE(e,t,n){const s=e.style,r=Je(n);let o=!1;if(n&&!r){if(t)if(Je(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&Ci(s,l,"")}else for(const a in t)n[a]==null&&Ci(s,a,"");for(const a in n)a==="display"&&(o=!0),Ci(s,a,n[a])}else if(r){if(t!==n){const a=s[uE];a&&(n+=";"+a),s.cssText=n,o=fE.test(n)}}else t&&e.removeAttribute("style");Ku in e&&(e[Ku]=o?s.display:"",e[cE]&&(s.display="none"))}const Wu=/\s*!important$/;function Ci(e,t,n){if(de(n))n.forEach(s=>Ci(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=hE(e,t);Wu.test(n)?e.setProperty(Es(s),n.replace(Wu,""),"important"):e[s]=n}}const Yu=["Webkit","Moz","ms"],ca={};function hE(e,t){const n=ca[t];if(n)return n;let s=jt(t);if(s!=="filter"&&s in e)return ca[t]=s;s=zi(s);for(let r=0;r<Yu.length;r++){const o=Yu[r]+s;if(o in e)return ca[t]=o}return t}const zu="http://www.w3.org/1999/xlink";function Gu(e,t,n,s,r,o=_b(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(zu,t.slice(6,t.length)):e.setAttributeNS(zu,t,n):n==null||o&&!Td(n)?e.removeAttribute(t):e.setAttribute(t,o?"":fn(n)?String(n):n)}function Ju(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Bh(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(l!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Td(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(r||t)}function En(e,t,n,s){e.addEventListener(t,n,s)}function pE(e,t,n,s){e.removeEventListener(t,n,s)}const Qu=Symbol("_vei");function mE(e,t,n,s,r=null){const o=e[Qu]||(e[Qu]={}),a=o[t];if(s&&a)a.value=s;else{const[l,u]=gE(t);if(s){const f=o[t]=bE(s,r);En(e,l,f,u)}else a&&(pE(e,l,a,u),o[t]=void 0)}}const Xu=/(?:Once|Passive|Capture)$/;function gE(e){let t;if(Xu.test(e)){t={};let s;for(;s=e.match(Xu);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Es(e.slice(2)),t]}let ua=0;const _E=Promise.resolve(),vE=()=>ua||(_E.then(()=>ua=0),ua=Date.now());function bE(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Gt(yE(s,n.value),t,5,[s])};return n.value=e,n.attached=vE(),n}function yE(e,t){if(de(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Zu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,EE=(e,t,n,s,r,o)=>{const a=r==="svg";t==="class"?lE(e,s,a):t==="style"?dE(e,n,s):Wi(t)?ml(t)||mE(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):wE(e,t,s,a))?(Ju(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Gu(e,t,s,a,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Je(s))?Ju(e,jt(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Gu(e,t,s,a))};function wE(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Zu(t)&&ge(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Zu(t)&&Je(n)?!1:t in e}const jh=new WeakMap,qh=new WeakMap,Ui=Symbol("_moveCb"),ef=Symbol("_enterCb"),TE=e=>(delete e.props.mode,e),AE=TE({name:"TransitionGroup",props:nt({},Hh,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Il(),s=Zd();let r,o;return ch(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!NE(r[0].el,n.vnode.el,a)){r=[];return}r.forEach(CE),r.forEach(OE);const l=r.filter(RE);nl(),l.forEach(u=>{const f=u.el,h=f.style;rn(f,a),h.transform=h.webkitTransform=h.transitionDuration="";const p=f[Ui]=_=>{_&&_.target!==f||(!_||/transform$/.test(_.propertyName))&&(f.removeEventListener("transitionend",p),f[Ui]=null,In(f,a))};f.addEventListener("transitionend",p)}),r=[]}),()=>{const a=Re(e),l=Vh(a);let u=a.tag||wt;if(r=[],o)for(let f=0;f<o.length;f++){const h=o[f];h.el&&h.el instanceof Element&&(r.push(h),vs(h,Ir(h,l,s,n)),jh.set(h,h.el.getBoundingClientRect()))}o=t.default?Nl(t.default()):[];for(let f=0;f<o.length;f++){const h=o[f];h.key!=null&&vs(h,Ir(h,l,s,n))}return Le(u,null,o)}}}),SE=AE;function CE(e){const t=e.el;t[Ui]&&t[Ui](),t[ef]&&t[ef]()}function OE(e){qh.set(e,e.el.getBoundingClientRect())}function RE(e){const t=jh.get(e),n=qh.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function NE(e,t,n){const s=e.cloneNode(),r=e[Qs];r&&r.forEach(l=>{l.split(/\s+/).forEach(u=>u&&s.classList.remove(u))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:a}=Uh(s);return o.removeChild(s),a}const Wn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return de(t)?n=>Ti(t,n):t};function xE(e){e.target.composing=!0}function tf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ut=Symbol("_assign"),wn={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ut]=Wn(r);const o=s||r.props&&r.props.type==="number";En(e,t?"change":"input",a=>{if(a.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Di(l)),e[Ut](l)}),n&&En(e,"change",()=>{e.value=e.value.trim()}),t||(En(e,"compositionstart",xE),En(e,"compositionend",tf),En(e,"change",tf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},a){if(e[Ut]=Wn(a),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Di(e.value):e.value,u=t??"";l!==u&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===u)||(e.value=u))}},$E={deep:!0,created(e,t,n){e[Ut]=Wn(n),En(e,"change",()=>{const s=e._modelValue,r=Xs(e),o=e.checked,a=e[Ut];if(de(s)){const l=bl(s,r),u=l!==-1;if(o&&!u)a(s.concat(r));else if(!o&&u){const f=[...s];f.splice(l,1),a(f)}}else if(tr(s)){const l=new Set(s);o?l.add(r):l.delete(r),a(l)}else a(Kh(e,o))})},mounted:nf,beforeUpdate(e,t,n){e[Ut]=Wn(n),nf(e,t,n)}};function nf(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(de(t))r=bl(t,s.props.value)>-1;else if(tr(t))r=t.has(s.props.value);else{if(t===n)return;r=_s(t,Kh(e,!0))}e.checked!==r&&(e.checked=r)}const PE={created(e,{value:t},n){e.checked=_s(t,n.props.value),e[Ut]=Wn(n),En(e,"change",()=>{e[Ut](Xs(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ut]=Wn(s),t!==n&&(e.checked=_s(t,s.props.value))}},DE={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=tr(t);En(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Di(Xs(a)):Xs(a));e[Ut](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Xi(()=>{e._assigning=!1})}),e[Ut]=Wn(s)},mounted(e,{value:t}){sf(e,t)},beforeUpdate(e,t,n){e[Ut]=Wn(n)},updated(e,{value:t}){e._assigning||sf(e,t)}};function sf(e,t){const n=e.multiple,s=de(t);if(!(n&&!s&&!tr(t))){for(let r=0,o=e.options.length;r<o;r++){const a=e.options[r],l=Xs(a);if(n)if(s){const u=typeof l;u==="string"||u==="number"?a.selected=t.some(f=>String(f)===String(l)):a.selected=bl(t,l)>-1}else a.selected=t.has(l);else if(_s(Xs(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Xs(e){return"_value"in e?e._value:e.value}function Kh(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const fa={created(e,t,n){Ei(e,t,n,null,"created")},mounted(e,t,n){Ei(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Ei(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Ei(e,t,n,s,"updated")}};function LE(e,t){switch(e){case"SELECT":return DE;case"TEXTAREA":return wn;default:switch(t){case"checkbox":return $E;case"radio":return PE;default:return wn}}}function Ei(e,t,n,s,r){const a=LE(e.tagName,n.props&&n.props.type)[r];a&&a(e,t,n,s)}const IE=nt({patchProp:EE},rE);let rf;function ME(){return rf||(rf=Ty(IE))}const kE=(...e)=>{const t=ME().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=FE(s);if(!r)return;const o=t._component;!ge(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const a=n(r,!1,BE(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function BE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function FE(e){return Je(e)?document.querySelector(e):e}/*!
|
|
* pinia v3.0.2
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/let Wh;const ao=e=>Wh=e,Yh=Symbol();function sl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Nr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Nr||(Nr={}));function HE(){const e=Od(!0),t=e.run(()=>et({}));let n=[],s=[];const r=Ol({install(o){ao(r),r._a=o,o.provide(Yh,r),o.config.globalProperties.$pinia=r,s.forEach(a=>n.push(a)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const zh=()=>{};function of(e,t,n,s=zh){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Rd()&&bb(r),r}function Vs(e,...t){e.slice().forEach(n=>{n(...t)})}const VE=e=>e(),af=Symbol(),da=Symbol();function rl(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];sl(r)&&sl(s)&&e.hasOwnProperty(n)&&!Ze(s)&&!Un(s)?e[n]=rl(r,s):e[n]=s}return e}const UE=Symbol();function jE(e){return!sl(e)||!Object.prototype.hasOwnProperty.call(e,UE)}const{assign:Mn}=Object;function qE(e){return!!(Ze(e)&&e.effect)}function KE(e,t,n,s){const{state:r,actions:o,getters:a}=t,l=n.state.value[e];let u;function f(){l||(n.state.value[e]=r?r():{});const h=Ub(n.state.value[e]);return Mn(h,o,Object.keys(a||{}).reduce((p,_)=>(p[_]=Ol(ze(()=>{ao(n);const g=n._s.get(e);return a[_].call(g,g)})),p),{}))}return u=Gh(e,f,t,n,s,!0),u}function Gh(e,t,n={},s,r,o){let a;const l=Mn({actions:{}},n),u={deep:!0};let f,h,p=[],_=[],g;const E=s.state.value[e];!o&&!E&&(s.state.value[e]={}),et({});let A;function H(w){let S;f=h=!1,typeof w=="function"?(w(s.state.value[e]),S={type:Nr.patchFunction,storeId:e,events:g}):(rl(s.state.value[e],w),S={type:Nr.patchObject,payload:w,storeId:e,events:g});const L=A=Symbol();Xi().then(()=>{A===L&&(f=!0)}),h=!0,Vs(p,S,s.state.value[e])}const I=o?function(){const{state:S}=n,L=S?S():{};this.$patch(M=>{Mn(M,L)})}:zh;function F(){a.stop(),p=[],_=[],s._s.delete(e)}const k=(w,S="")=>{if(af in w)return w[da]=S,w;const L=function(){ao(s);const M=Array.from(arguments),D=[],z=[];function j(Q){D.push(Q)}function X(Q){z.push(Q)}Vs(_,{args:M,name:L[da],store:q,after:j,onError:X});let Y;try{Y=w.apply(this&&this.$id===e?this:q,M)}catch(Q){throw Vs(z,Q),Q}return Y instanceof Promise?Y.then(Q=>(Vs(D,Q),Q)).catch(Q=>(Vs(z,Q),Promise.reject(Q))):(Vs(D,Y),Y)};return L[af]=!0,L[da]=S,L},U={_p:s,$id:e,$onAction:of.bind(null,_),$patch:H,$reset:I,$subscribe(w,S={}){const L=of(p,w,S.detached,()=>M()),M=a.run(()=>zs(()=>s.state.value[e],D=>{(S.flush==="sync"?h:f)&&w({storeId:e,type:Nr.direct,events:g},D)},Mn({},u,S)));return L},$dispose:F},q=Sn(U);s._s.set(e,q);const R=(s._a&&s._a.runWithContext||VE)(()=>s._e.run(()=>(a=Od()).run(()=>t({action:k}))));for(const w in R){const S=R[w];if(Ze(S)&&!qE(S)||Un(S))o||(E&&jE(S)&&(Ze(S)?S.value=E[w]:rl(S,E[w])),s.state.value[e][w]=S);else if(typeof S=="function"){const L=k(S,w);R[w]=L,l.actions[w]=S}}return Mn(q,R),Mn(Re(q),R),Object.defineProperty(q,"$state",{get:()=>s.state.value[e],set:w=>{H(S=>{Mn(S,w)})}}),s._p.forEach(w=>{Mn(q,a.run(()=>w({store:q,app:s._a,pinia:s,options:l})))}),E&&o&&n.hydrate&&n.hydrate(q.$state,E),f=!0,h=!0,q}/*! #__NO_SIDE_EFFECTS__ */function WE(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(a,l){const u=gy();return a=a||(u?Mt(Yh,null):null),a&&ao(a),a=Wh,a._s.has(e)||(r?Gh(e,t,s,a):KE(e,s,a)),a._s.get(e)}return o.$id=e,o}const at=[];for(let e=0;e<256;++e)at.push((e+256).toString(16).slice(1));function YE(e,t=0){return(at[e[t+0]]+at[e[t+1]]+at[e[t+2]]+at[e[t+3]]+"-"+at[e[t+4]]+at[e[t+5]]+"-"+at[e[t+6]]+at[e[t+7]]+"-"+at[e[t+8]]+at[e[t+9]]+"-"+at[e[t+10]]+at[e[t+11]]+at[e[t+12]]+at[e[t+13]]+at[e[t+14]]+at[e[t+15]]).toLowerCase()}let ha;const zE=new Uint8Array(16);function GE(){if(!ha){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");ha=crypto.getRandomValues.bind(crypto)}return ha(zE)}const JE=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lf={randomUUID:JE};function Jh(e,t,n){var r;if(lf.randomUUID&&!e)return lf.randomUUID();e=e||{};const s=e.random??((r=e.rng)==null?void 0:r.call(e))??GE();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,YE(s)}function kl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Oi={exports:{}},QE=Oi.exports,cf;function XE(){return cf||(cf=1,function(e,t){(function(n,s){e.exports=s()})(QE,function(){var n=1e3,s=6e4,r=36e5,o="millisecond",a="second",l="minute",u="hour",f="day",h="week",p="month",_="quarter",g="year",E="date",A="Invalid Date",H=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,F={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(j){var X=["th","st","nd","rd"],Y=j%100;return"["+j+(X[(Y-20)%10]||X[Y]||X[0])+"]"}},k=function(j,X,Y){var Q=String(j);return!Q||Q.length>=X?j:""+Array(X+1-Q.length).join(Y)+j},U={s:k,z:function(j){var X=-j.utcOffset(),Y=Math.abs(X),Q=Math.floor(Y/60),J=Y%60;return(X<=0?"+":"-")+k(Q,2,"0")+":"+k(J,2,"0")},m:function j(X,Y){if(X.date()<Y.date())return-j(Y,X);var Q=12*(Y.year()-X.year())+(Y.month()-X.month()),J=X.clone().add(Q,p),ce=Y-J<0,ue=X.clone().add(Q+(ce?-1:1),p);return+(-(Q+(Y-J)/(ce?J-ue:ue-J))||0)},a:function(j){return j<0?Math.ceil(j)||0:Math.floor(j)},p:function(j){return{M:p,y:g,w:h,d:f,D:E,h:u,m:l,s:a,ms:o,Q:_}[j]||String(j||"").toLowerCase().replace(/s$/,"")},u:function(j){return j===void 0}},q="en",O={};O[q]=F;var R="$isDayjsObject",w=function(j){return j instanceof D||!(!j||!j[R])},S=function j(X,Y,Q){var J;if(!X)return q;if(typeof X=="string"){var ce=X.toLowerCase();O[ce]&&(J=ce),Y&&(O[ce]=Y,J=ce);var ue=X.split("-");if(!J&&ue.length>1)return j(ue[0])}else{var _e=X.name;O[_e]=X,J=_e}return!Q&&J&&(q=J),J||!Q&&q},L=function(j,X){if(w(j))return j.clone();var Y=typeof X=="object"?X:{};return Y.date=j,Y.args=arguments,new D(Y)},M=U;M.l=S,M.i=w,M.w=function(j,X){return L(j,{locale:X.$L,utc:X.$u,x:X.$x,$offset:X.$offset})};var D=function(){function j(Y){this.$L=S(Y.locale,null,!0),this.parse(Y),this.$x=this.$x||Y.x||{},this[R]=!0}var X=j.prototype;return X.parse=function(Y){this.$d=function(Q){var J=Q.date,ce=Q.utc;if(J===null)return new Date(NaN);if(M.u(J))return new Date;if(J instanceof Date)return new Date(J);if(typeof J=="string"&&!/Z$/i.test(J)){var ue=J.match(H);if(ue){var _e=ue[2]-1||0,be=(ue[7]||"0").substring(0,3);return ce?new Date(Date.UTC(ue[1],_e,ue[3]||1,ue[4]||0,ue[5]||0,ue[6]||0,be)):new Date(ue[1],_e,ue[3]||1,ue[4]||0,ue[5]||0,ue[6]||0,be)}}return new Date(J)}(Y),this.init()},X.init=function(){var Y=this.$d;this.$y=Y.getFullYear(),this.$M=Y.getMonth(),this.$D=Y.getDate(),this.$W=Y.getDay(),this.$H=Y.getHours(),this.$m=Y.getMinutes(),this.$s=Y.getSeconds(),this.$ms=Y.getMilliseconds()},X.$utils=function(){return M},X.isValid=function(){return this.$d.toString()!==A},X.isSame=function(Y,Q){var J=L(Y);return this.startOf(Q)<=J&&J<=this.endOf(Q)},X.isAfter=function(Y,Q){return L(Y)<this.startOf(Q)},X.isBefore=function(Y,Q){return this.endOf(Q)<L(Y)},X.$g=function(Y,Q,J){return M.u(Y)?this[Q]:this.set(J,Y)},X.unix=function(){return Math.floor(this.valueOf()/1e3)},X.valueOf=function(){return this.$d.getTime()},X.startOf=function(Y,Q){var J=this,ce=!!M.u(Q)||Q,ue=M.p(Y),_e=function(te,ie){var Ee=M.w(J.$u?Date.UTC(J.$y,ie,te):new Date(J.$y,ie,te),J);return ce?Ee:Ee.endOf(f)},be=function(te,ie){return M.w(J.toDate()[te].apply(J.toDate("s"),(ce?[0,0,0,0]:[23,59,59,999]).slice(ie)),J)},Ne=this.$W,Ie=this.$M,qe=this.$D,We="set"+(this.$u?"UTC":"");switch(ue){case g:return ce?_e(1,0):_e(31,11);case p:return ce?_e(1,Ie):_e(0,Ie+1);case h:var V=this.$locale().weekStart||0,T=(Ne<V?Ne+7:Ne)-V;return _e(ce?qe-T:qe+(6-T),Ie);case f:case E:return be(We+"Hours",0);case u:return be(We+"Minutes",1);case l:return be(We+"Seconds",2);case a:return be(We+"Milliseconds",3);default:return this.clone()}},X.endOf=function(Y){return this.startOf(Y,!1)},X.$set=function(Y,Q){var J,ce=M.p(Y),ue="set"+(this.$u?"UTC":""),_e=(J={},J[f]=ue+"Date",J[E]=ue+"Date",J[p]=ue+"Month",J[g]=ue+"FullYear",J[u]=ue+"Hours",J[l]=ue+"Minutes",J[a]=ue+"Seconds",J[o]=ue+"Milliseconds",J)[ce],be=ce===f?this.$D+(Q-this.$W):Q;if(ce===p||ce===g){var Ne=this.clone().set(E,1);Ne.$d[_e](be),Ne.init(),this.$d=Ne.set(E,Math.min(this.$D,Ne.daysInMonth())).$d}else _e&&this.$d[_e](be);return this.init(),this},X.set=function(Y,Q){return this.clone().$set(Y,Q)},X.get=function(Y){return this[M.p(Y)]()},X.add=function(Y,Q){var J,ce=this;Y=Number(Y);var ue=M.p(Q),_e=function(Ie){var qe=L(ce);return M.w(qe.date(qe.date()+Math.round(Ie*Y)),ce)};if(ue===p)return this.set(p,this.$M+Y);if(ue===g)return this.set(g,this.$y+Y);if(ue===f)return _e(1);if(ue===h)return _e(7);var be=(J={},J[l]=s,J[u]=r,J[a]=n,J)[ue]||1,Ne=this.$d.getTime()+Y*be;return M.w(Ne,this)},X.subtract=function(Y,Q){return this.add(-1*Y,Q)},X.format=function(Y){var Q=this,J=this.$locale();if(!this.isValid())return J.invalidDate||A;var ce=Y||"YYYY-MM-DDTHH:mm:ssZ",ue=M.z(this),_e=this.$H,be=this.$m,Ne=this.$M,Ie=J.weekdays,qe=J.months,We=J.meridiem,V=function(ie,Ee,v,b){return ie&&(ie[Ee]||ie(Q,ce))||v[Ee].slice(0,b)},T=function(ie){return M.s(_e%12||12,ie,"0")},te=We||function(ie,Ee,v){var b=ie<12?"AM":"PM";return v?b.toLowerCase():b};return ce.replace(I,function(ie,Ee){return Ee||function(v){switch(v){case"YY":return String(Q.$y).slice(-2);case"YYYY":return M.s(Q.$y,4,"0");case"M":return Ne+1;case"MM":return M.s(Ne+1,2,"0");case"MMM":return V(J.monthsShort,Ne,qe,3);case"MMMM":return V(qe,Ne);case"D":return Q.$D;case"DD":return M.s(Q.$D,2,"0");case"d":return String(Q.$W);case"dd":return V(J.weekdaysMin,Q.$W,Ie,2);case"ddd":return V(J.weekdaysShort,Q.$W,Ie,3);case"dddd":return Ie[Q.$W];case"H":return String(_e);case"HH":return M.s(_e,2,"0");case"h":return T(1);case"hh":return T(2);case"a":return te(_e,be,!0);case"A":return te(_e,be,!1);case"m":return String(be);case"mm":return M.s(be,2,"0");case"s":return String(Q.$s);case"ss":return M.s(Q.$s,2,"0");case"SSS":return M.s(Q.$ms,3,"0");case"Z":return ue}return null}(ie)||ue.replace(":","")})},X.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},X.diff=function(Y,Q,J){var ce,ue=this,_e=M.p(Q),be=L(Y),Ne=(be.utcOffset()-this.utcOffset())*s,Ie=this-be,qe=function(){return M.m(ue,be)};switch(_e){case g:ce=qe()/12;break;case p:ce=qe();break;case _:ce=qe()/3;break;case h:ce=(Ie-Ne)/6048e5;break;case f:ce=(Ie-Ne)/864e5;break;case u:ce=Ie/r;break;case l:ce=Ie/s;break;case a:ce=Ie/n;break;default:ce=Ie}return J?ce:M.a(ce)},X.daysInMonth=function(){return this.endOf(p).$D},X.$locale=function(){return O[this.$L]},X.locale=function(Y,Q){if(!Y)return this.$L;var J=this.clone(),ce=S(Y,Q,!0);return ce&&(J.$L=ce),J},X.clone=function(){return M.w(this.$d,this)},X.toDate=function(){return new Date(this.valueOf())},X.toJSON=function(){return this.isValid()?this.toISOString():null},X.toISOString=function(){return this.$d.toISOString()},X.toString=function(){return this.$d.toUTCString()},j}(),z=D.prototype;return L.prototype=z,[["$ms",o],["$s",a],["$m",l],["$H",u],["$W",f],["$M",p],["$y",g],["$D",E]].forEach(function(j){z[j[1]]=function(X){return this.$g(X,j[0],j[1])}}),L.extend=function(j,X){return j.$i||(j(X,D,L),j.$i=!0),L},L.locale=S,L.isDayjs=w,L.unix=function(j){return L(1e3*j)},L.en=O[q],L.Ls=O,L.p={},L})}(Oi)),Oi.exports}var ZE=XE();const wr=kl(ZE);function Qh(e,t){return function(){return e.apply(t,arguments)}}const{toString:ew}=Object.prototype,{getPrototypeOf:Bl}=Object,{iterator:lo,toStringTag:Xh}=Symbol,co=(e=>t=>{const n=ew.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Xt=e=>(e=e.toLowerCase(),t=>co(t)===e),uo=e=>t=>typeof t===e,{isArray:nr}=Array,Fr=uo("undefined");function tw(e){return e!==null&&!Fr(e)&&e.constructor!==null&&!Fr(e.constructor)&&Rt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Zh=Xt("ArrayBuffer");function nw(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Zh(e.buffer),t}const sw=uo("string"),Rt=uo("function"),ep=uo("number"),fo=e=>e!==null&&typeof e=="object",rw=e=>e===!0||e===!1,Ri=e=>{if(co(e)!=="object")return!1;const t=Bl(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Xh in e)&&!(lo in e)},iw=Xt("Date"),ow=Xt("File"),aw=Xt("Blob"),lw=Xt("FileList"),cw=e=>fo(e)&&Rt(e.pipe),uw=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Rt(e.append)&&((t=co(e))==="formdata"||t==="object"&&Rt(e.toString)&&e.toString()==="[object FormData]"))},fw=Xt("URLSearchParams"),[dw,hw,pw,mw]=["ReadableStream","Request","Response","Headers"].map(Xt),gw=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Wr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),nr(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let l;for(s=0;s<a;s++)l=o[s],t.call(null,e[l],l,e)}}function tp(e,t){t=t.toLowerCase();const n=Object.keys(e);let s=n.length,r;for(;s-- >0;)if(r=n[s],t===r.toLowerCase())return r;return null}const hs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,np=e=>!Fr(e)&&e!==hs;function il(){const{caseless:e}=np(this)&&this||{},t={},n=(s,r)=>{const o=e&&tp(t,r)||r;Ri(t[o])&&Ri(s)?t[o]=il(t[o],s):Ri(s)?t[o]=il({},s):nr(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s<r;s++)arguments[s]&&Wr(arguments[s],n);return t}const _w=(e,t,n,{allOwnKeys:s}={})=>(Wr(t,(r,o)=>{n&&Rt(r)?e[o]=Qh(r,n):e[o]=r},{allOwnKeys:s}),e),vw=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),bw=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},yw=(e,t,n,s)=>{let r,o,a;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)a=r[o],(!s||s(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&Bl(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ew=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},ww=e=>{if(!e)return null;if(nr(e))return e;let t=e.length;if(!ep(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Tw=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Bl(Uint8Array)),Aw=(e,t)=>{const s=(e&&e[lo]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Sw=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Cw=Xt("HTMLFormElement"),Ow=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),uf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Rw=Xt("RegExp"),sp=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Wr(n,(r,o)=>{let a;(a=t(r,o,e))!==!1&&(s[o]=a||r)}),Object.defineProperties(e,s)},Nw=e=>{sp(e,(t,n)=>{if(Rt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Rt(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},xw=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return nr(e)?s(e):s(String(e).split(t)),n},$w=()=>{},Pw=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Dw(e){return!!(e&&Rt(e.append)&&e[Xh]==="FormData"&&e[lo])}const Lw=e=>{const t=new Array(10),n=(s,r)=>{if(fo(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=nr(s)?[]:{};return Wr(s,(a,l)=>{const u=n(a,r+1);!Fr(u)&&(o[l]=u)}),t[r]=void 0,o}}return s};return n(e,0)},Iw=Xt("AsyncFunction"),Mw=e=>e&&(fo(e)||Rt(e))&&Rt(e.then)&&Rt(e.catch),rp=((e,t)=>e?setImmediate:t?((n,s)=>(hs.addEventListener("message",({source:r,data:o})=>{r===hs&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),hs.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Rt(hs.postMessage)),kw=typeof queueMicrotask<"u"?queueMicrotask.bind(hs):typeof process<"u"&&process.nextTick||rp,Bw=e=>e!=null&&Rt(e[lo]),B={isArray:nr,isArrayBuffer:Zh,isBuffer:tw,isFormData:uw,isArrayBufferView:nw,isString:sw,isNumber:ep,isBoolean:rw,isObject:fo,isPlainObject:Ri,isReadableStream:dw,isRequest:hw,isResponse:pw,isHeaders:mw,isUndefined:Fr,isDate:iw,isFile:ow,isBlob:aw,isRegExp:Rw,isFunction:Rt,isStream:cw,isURLSearchParams:fw,isTypedArray:Tw,isFileList:lw,forEach:Wr,merge:il,extend:_w,trim:gw,stripBOM:vw,inherits:bw,toFlatObject:yw,kindOf:co,kindOfTest:Xt,endsWith:Ew,toArray:ww,forEachEntry:Aw,matchAll:Sw,isHTMLForm:Cw,hasOwnProperty:uf,hasOwnProp:uf,reduceDescriptors:sp,freezeMethods:Nw,toObjectSet:xw,toCamelCase:Ow,noop:$w,toFiniteNumber:Pw,findKey:tp,global:hs,isContextDefined:np,isSpecCompliantForm:Dw,toJSONObject:Lw,isAsyncFn:Iw,isThenable:Mw,setImmediate:rp,asap:kw,isIterable:Bw};function ye(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}B.inherits(ye,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:B.toJSONObject(this.config),code:this.code,status:this.status}}});const ip=ye.prototype,op={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{op[e]={value:e}});Object.defineProperties(ye,op);Object.defineProperty(ip,"isAxiosError",{value:!0});ye.from=(e,t,n,s,r,o)=>{const a=Object.create(ip);return B.toFlatObject(e,a,function(u){return u!==Error.prototype},l=>l!=="isAxiosError"),ye.call(a,e.message,t,n,s,r),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Fw=null;function ol(e){return B.isPlainObject(e)||B.isArray(e)}function ap(e){return B.endsWith(e,"[]")?e.slice(0,-2):e}function ff(e,t,n){return e?e.concat(t).map(function(r,o){return r=ap(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Hw(e){return B.isArray(e)&&!e.some(ol)}const Vw=B.toFlatObject(B,{},null,function(t){return/^is[A-Z]/.test(t)});function ho(e,t,n){if(!B.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=B.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,H){return!B.isUndefined(H[A])});const s=n.metaTokens,r=n.visitor||h,o=n.dots,a=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&B.isSpecCompliantForm(t);if(!B.isFunction(r))throw new TypeError("visitor must be a function");function f(E){if(E===null)return"";if(B.isDate(E))return E.toISOString();if(!u&&B.isBlob(E))throw new ye("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(E)||B.isTypedArray(E)?u&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function h(E,A,H){let I=E;if(E&&!H&&typeof E=="object"){if(B.endsWith(A,"{}"))A=s?A:A.slice(0,-2),E=JSON.stringify(E);else if(B.isArray(E)&&Hw(E)||(B.isFileList(E)||B.endsWith(A,"[]"))&&(I=B.toArray(E)))return A=ap(A),I.forEach(function(k,U){!(B.isUndefined(k)||k===null)&&t.append(a===!0?ff([A],U,o):a===null?A:A+"[]",f(k))}),!1}return ol(E)?!0:(t.append(ff(H,A,o),f(E)),!1)}const p=[],_=Object.assign(Vw,{defaultVisitor:h,convertValue:f,isVisitable:ol});function g(E,A){if(!B.isUndefined(E)){if(p.indexOf(E)!==-1)throw Error("Circular reference detected in "+A.join("."));p.push(E),B.forEach(E,function(I,F){(!(B.isUndefined(I)||I===null)&&r.call(t,I,B.isString(F)?F.trim():F,A,_))===!0&&g(I,A?A.concat(F):[F])}),p.pop()}}if(!B.isObject(e))throw new TypeError("data must be an object");return g(e),t}function df(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Fl(e,t){this._pairs=[],e&&ho(e,this,t)}const lp=Fl.prototype;lp.append=function(t,n){this._pairs.push([t,n])};lp.toString=function(t){const n=t?function(s){return t.call(this,s,df)}:df;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Uw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function cp(e,t,n){if(!t)return e;const s=n&&n.encode||Uw;B.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=B.isURLSearchParams(t)?t.toString():new Fl(t,n).toString(s),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class hf{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){B.forEach(this.handlers,function(s){s!==null&&t(s)})}}const up={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jw=typeof URLSearchParams<"u"?URLSearchParams:Fl,qw=typeof FormData<"u"?FormData:null,Kw=typeof Blob<"u"?Blob:null,Ww={isBrowser:!0,classes:{URLSearchParams:jw,FormData:qw,Blob:Kw},protocols:["http","https","file","blob","url","data"]},Hl=typeof window<"u"&&typeof document<"u",al=typeof navigator=="object"&&navigator||void 0,Yw=Hl&&(!al||["ReactNative","NativeScript","NS"].indexOf(al.product)<0),zw=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gw=Hl&&window.location.href||"http://localhost",Jw=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Hl,hasStandardBrowserEnv:Yw,hasStandardBrowserWebWorkerEnv:zw,navigator:al,origin:Gw},Symbol.toStringTag,{value:"Module"})),pt={...Jw,...Ww};function Qw(e,t){return ho(e,new pt.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return pt.isNode&&B.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Xw(e){return B.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Zw(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s<r;s++)o=n[s],t[o]=e[o];return t}function fp(e){function t(n,s,r,o){let a=n[o++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),u=o>=n.length;return a=!a&&B.isArray(r)?r.length:a,u?(B.hasOwnProp(r,a)?r[a]=[r[a],s]:r[a]=s,!l):((!r[a]||!B.isObject(r[a]))&&(r[a]=[]),t(n,s,r[a],o)&&B.isArray(r[a])&&(r[a]=Zw(r[a])),!l)}if(B.isFormData(e)&&B.isFunction(e.entries)){const n={};return B.forEachEntry(e,(s,r)=>{t(Xw(s),r,n,0)}),n}return null}function e0(e,t,n){if(B.isString(e))try{return(t||JSON.parse)(e),B.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Yr={transitional:up,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=B.isObject(t);if(o&&B.isHTMLForm(t)&&(t=new FormData(t)),B.isFormData(t))return r?JSON.stringify(fp(t)):t;if(B.isArrayBuffer(t)||B.isBuffer(t)||B.isStream(t)||B.isFile(t)||B.isBlob(t)||B.isReadableStream(t))return t;if(B.isArrayBufferView(t))return t.buffer;if(B.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Qw(t,this.formSerializer).toString();if((l=B.isFileList(t))||s.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ho(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),e0(t)):t}],transformResponse:[function(t){const n=this.transitional||Yr.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(B.isResponse(t)||B.isReadableStream(t))return t;if(t&&B.isString(t)&&(s&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?ye.from(l,ye.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pt.classes.FormData,Blob:pt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],e=>{Yr.headers[e]={}});const t0=B.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),n0=e=>{const t={};let n,s,r;return e&&e.split(`
|
|
`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),s=a.substring(r+1).trim(),!(!n||t[n]&&t0[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},pf=Symbol("internals");function vr(e){return e&&String(e).trim().toLowerCase()}function Ni(e){return e===!1||e==null?e:B.isArray(e)?e.map(Ni):String(e)}function s0(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const r0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function pa(e,t,n,s,r){if(B.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!B.isString(t)){if(B.isString(s))return t.indexOf(s)!==-1;if(B.isRegExp(s))return s.test(t)}}function i0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function o0(e,t){const n=B.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,a){return this[s].call(this,t,r,o,a)},configurable:!0})})}let Nt=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,u,f){const h=vr(u);if(!h)throw new Error("header name must be a non-empty string");const p=B.findKey(r,h);(!p||r[p]===void 0||f===!0||f===void 0&&r[p]!==!1)&&(r[p||u]=Ni(l))}const a=(l,u)=>B.forEach(l,(f,h)=>o(f,h,u));if(B.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(B.isString(t)&&(t=t.trim())&&!r0(t))a(n0(t),n);else if(B.isObject(t)&&B.isIterable(t)){let l={},u,f;for(const h of t){if(!B.isArray(h))throw TypeError("Object iterator must return a key-value pair");l[f=h[0]]=(u=l[f])?B.isArray(u)?[...u,h[1]]:[u,h[1]]:h[1]}a(l,n)}else t!=null&&o(n,t,s);return this}get(t,n){if(t=vr(t),t){const s=B.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return s0(r);if(B.isFunction(n))return n.call(this,r,s);if(B.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=vr(t),t){const s=B.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||pa(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(a){if(a=vr(a),a){const l=B.findKey(s,a);l&&(!n||pa(s,s[l],l,n))&&(delete s[l],r=!0)}}return B.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||pa(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return B.forEach(this,(r,o)=>{const a=B.findKey(s,o);if(a){n[a]=Ni(r),delete n[o];return}const l=t?i0(o):String(o).trim();l!==o&&delete n[o],n[l]=Ni(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return B.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&B.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[pf]=this[pf]={accessors:{}}).accessors,r=this.prototype;function o(a){const l=vr(a);s[l]||(o0(r,a),s[l]=!0)}return B.isArray(t)?t.forEach(o):o(t),this}};Nt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);B.reduceDescriptors(Nt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});B.freezeMethods(Nt);function ma(e,t){const n=this||Yr,s=t||n,r=Nt.from(s.headers);let o=s.data;return B.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function dp(e){return!!(e&&e.__CANCEL__)}function sr(e,t,n){ye.call(this,e??"canceled",ye.ERR_CANCELED,t,n),this.name="CanceledError"}B.inherits(sr,ye,{__CANCEL__:!0});function hp(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new ye("Request failed with status code "+n.status,[ye.ERR_BAD_REQUEST,ye.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function a0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function l0(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,a;return t=t!==void 0?t:1e3,function(u){const f=Date.now(),h=s[o];a||(a=f),n[r]=u,s[r]=f;let p=o,_=0;for(;p!==r;)_+=n[p++],p=p%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),f-a<t)return;const g=h&&f-h;return g?Math.round(_*1e3/g):void 0}}function c0(e,t){let n=0,s=1e3/t,r,o;const a=(f,h=Date.now())=>{n=h,r=null,o&&(clearTimeout(o),o=null),e.apply(null,f)};return[(...f)=>{const h=Date.now(),p=h-n;p>=s?a(f,h):(r=f,o||(o=setTimeout(()=>{o=null,a(r)},s-p)))},()=>r&&a(r)]}const ji=(e,t,n=3)=>{let s=0;const r=l0(50,250);return c0(o=>{const a=o.loaded,l=o.lengthComputable?o.total:void 0,u=a-s,f=r(u),h=a<=l;s=a;const p={loaded:a,total:l,progress:l?a/l:void 0,bytes:u,rate:f||void 0,estimated:f&&l&&h?(l-a)/f:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(p)},n)},mf=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},gf=e=>(...t)=>B.asap(()=>e(...t)),u0=pt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,pt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(pt.origin),pt.navigator&&/(msie|trident)/i.test(pt.navigator.userAgent)):()=>!0,f0=pt.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const a=[e+"="+encodeURIComponent(t)];B.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),B.isString(s)&&a.push("path="+s),B.isString(r)&&a.push("domain="+r),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function d0(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function h0(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function pp(e,t,n){let s=!d0(t);return e&&(s||n==!1)?h0(e,t):t}const _f=e=>e instanceof Nt?{...e}:e;function ys(e,t){t=t||{};const n={};function s(f,h,p,_){return B.isPlainObject(f)&&B.isPlainObject(h)?B.merge.call({caseless:_},f,h):B.isPlainObject(h)?B.merge({},h):B.isArray(h)?h.slice():h}function r(f,h,p,_){if(B.isUndefined(h)){if(!B.isUndefined(f))return s(void 0,f,p,_)}else return s(f,h,p,_)}function o(f,h){if(!B.isUndefined(h))return s(void 0,h)}function a(f,h){if(B.isUndefined(h)){if(!B.isUndefined(f))return s(void 0,f)}else return s(void 0,h)}function l(f,h,p){if(p in t)return s(f,h);if(p in e)return s(void 0,f)}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(f,h,p)=>r(_f(f),_f(h),p,!0)};return B.forEach(Object.keys(Object.assign({},e,t)),function(h){const p=u[h]||r,_=p(e[h],t[h],h);B.isUndefined(_)&&p!==l||(n[h]=_)}),n}const mp=e=>{const t=ys({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:a,auth:l}=t;t.headers=a=Nt.from(a),t.url=cp(pp(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(B.isFormData(n)){if(pt.hasStandardBrowserEnv||pt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((u=a.getContentType())!==!1){const[f,...h]=u?u.split(";").map(p=>p.trim()).filter(Boolean):[];a.setContentType([f||"multipart/form-data",...h].join("; "))}}if(pt.hasStandardBrowserEnv&&(s&&B.isFunction(s)&&(s=s(t)),s||s!==!1&&u0(t.url))){const f=r&&o&&f0.read(o);f&&a.set(r,f)}return t},p0=typeof XMLHttpRequest<"u",m0=p0&&function(e){return new Promise(function(n,s){const r=mp(e);let o=r.data;const a=Nt.from(r.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:f}=r,h,p,_,g,E;function A(){g&&g(),E&&E(),r.cancelToken&&r.cancelToken.unsubscribe(h),r.signal&&r.signal.removeEventListener("abort",h)}let H=new XMLHttpRequest;H.open(r.method.toUpperCase(),r.url,!0),H.timeout=r.timeout;function I(){if(!H)return;const k=Nt.from("getAllResponseHeaders"in H&&H.getAllResponseHeaders()),q={data:!l||l==="text"||l==="json"?H.responseText:H.response,status:H.status,statusText:H.statusText,headers:k,config:e,request:H};hp(function(R){n(R),A()},function(R){s(R),A()},q),H=null}"onloadend"in H?H.onloadend=I:H.onreadystatechange=function(){!H||H.readyState!==4||H.status===0&&!(H.responseURL&&H.responseURL.indexOf("file:")===0)||setTimeout(I)},H.onabort=function(){H&&(s(new ye("Request aborted",ye.ECONNABORTED,e,H)),H=null)},H.onerror=function(){s(new ye("Network Error",ye.ERR_NETWORK,e,H)),H=null},H.ontimeout=function(){let U=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const q=r.transitional||up;r.timeoutErrorMessage&&(U=r.timeoutErrorMessage),s(new ye(U,q.clarifyTimeoutError?ye.ETIMEDOUT:ye.ECONNABORTED,e,H)),H=null},o===void 0&&a.setContentType(null),"setRequestHeader"in H&&B.forEach(a.toJSON(),function(U,q){H.setRequestHeader(q,U)}),B.isUndefined(r.withCredentials)||(H.withCredentials=!!r.withCredentials),l&&l!=="json"&&(H.responseType=r.responseType),f&&([_,E]=ji(f,!0),H.addEventListener("progress",_)),u&&H.upload&&([p,g]=ji(u),H.upload.addEventListener("progress",p),H.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(h=k=>{H&&(s(!k||k.type?new sr(null,e,H):k),H.abort(),H=null)},r.cancelToken&&r.cancelToken.subscribe(h),r.signal&&(r.signal.aborted?h():r.signal.addEventListener("abort",h)));const F=a0(r.url);if(F&&pt.protocols.indexOf(F)===-1){s(new ye("Unsupported protocol "+F+":",ye.ERR_BAD_REQUEST,e));return}H.send(o||null)})},g0=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(f){if(!r){r=!0,l();const h=f instanceof Error?f:this.reason;s.abort(h instanceof ye?h:new sr(h instanceof Error?h.message:h))}};let a=t&&setTimeout(()=>{a=null,o(new ye(`timeout ${t} of ms exceeded`,ye.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(o):f.removeEventListener("abort",o)}),e=null)};e.forEach(f=>f.addEventListener("abort",o));const{signal:u}=s;return u.unsubscribe=()=>B.asap(l),u}},_0=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let s=0,r;for(;s<n;)r=s+t,yield e.slice(s,r),s=r},v0=async function*(e,t){for await(const n of b0(e))yield*_0(n,t)},b0=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:s}=await t.read();if(n)break;yield s}}finally{await t.cancel()}},vf=(e,t,n,s)=>{const r=v0(e,t);let o=0,a,l=u=>{a||(a=!0,s&&s(u))};return new ReadableStream({async pull(u){try{const{done:f,value:h}=await r.next();if(f){l(),u.close();return}let p=h.byteLength;if(n){let _=o+=p;n(_)}u.enqueue(new Uint8Array(h))}catch(f){throw l(f),f}},cancel(u){return l(u),r.return()}},{highWaterMark:2})},po=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",gp=po&&typeof ReadableStream=="function",y0=po&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),_p=(e,...t)=>{try{return!!e(...t)}catch{return!1}},E0=gp&&_p(()=>{let e=!1;const t=new Request(pt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),bf=64*1024,ll=gp&&_p(()=>B.isReadableStream(new Response("").body)),qi={stream:ll&&(e=>e.body)};po&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!qi[t]&&(qi[t]=B.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new ye(`Response type '${t}' is not supported`,ye.ERR_NOT_SUPPORT,s)})})})(new Response);const w0=async e=>{if(e==null)return 0;if(B.isBlob(e))return e.size;if(B.isSpecCompliantForm(e))return(await new Request(pt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(B.isArrayBufferView(e)||B.isArrayBuffer(e))return e.byteLength;if(B.isURLSearchParams(e)&&(e=e+""),B.isString(e))return(await y0(e)).byteLength},T0=async(e,t)=>{const n=B.toFiniteNumber(e.getContentLength());return n??w0(t)},A0=po&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:a,onDownloadProgress:l,onUploadProgress:u,responseType:f,headers:h,withCredentials:p="same-origin",fetchOptions:_}=mp(e);f=f?(f+"").toLowerCase():"text";let g=g0([r,o&&o.toAbortSignal()],a),E;const A=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let H;try{if(u&&E0&&n!=="get"&&n!=="head"&&(H=await T0(h,s))!==0){let q=new Request(t,{method:"POST",body:s,duplex:"half"}),O;if(B.isFormData(s)&&(O=q.headers.get("content-type"))&&h.setContentType(O),q.body){const[R,w]=mf(H,ji(gf(u)));s=vf(q.body,bf,R,w)}}B.isString(p)||(p=p?"include":"omit");const I="credentials"in Request.prototype;E=new Request(t,{..._,signal:g,method:n.toUpperCase(),headers:h.normalize().toJSON(),body:s,duplex:"half",credentials:I?p:void 0});let F=await fetch(E);const k=ll&&(f==="stream"||f==="response");if(ll&&(l||k&&A)){const q={};["status","statusText","headers"].forEach(S=>{q[S]=F[S]});const O=B.toFiniteNumber(F.headers.get("content-length")),[R,w]=l&&mf(O,ji(gf(l),!0))||[];F=new Response(vf(F.body,bf,R,()=>{w&&w(),A&&A()}),q)}f=f||"text";let U=await qi[B.findKey(qi,f)||"text"](F,e);return!k&&A&&A(),await new Promise((q,O)=>{hp(q,O,{data:U,headers:Nt.from(F.headers),status:F.status,statusText:F.statusText,config:e,request:E})})}catch(I){throw A&&A(),I&&I.name==="TypeError"&&/Load failed|fetch/i.test(I.message)?Object.assign(new ye("Network Error",ye.ERR_NETWORK,e,E),{cause:I.cause||I}):ye.from(I,I&&I.code,e,E)}}),cl={http:Fw,xhr:m0,fetch:A0};B.forEach(cl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const yf=e=>`- ${e}`,S0=e=>B.isFunction(e)||e===null||e===!1,vp={getAdapter:e=>{e=B.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o<t;o++){n=e[o];let a;if(s=n,!S0(n)&&(s=cl[(a=String(n)).toLowerCase()],s===void 0))throw new ye(`Unknown adapter '${a}'`);if(s)break;r[a||"#"+o]=s}if(!s){const o=Object.entries(r).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since :
|
|
`+o.map(yf).join(`
|
|
`):" "+yf(o[0]):"as no adapter specified";throw new ye("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s},adapters:cl};function ga(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new sr(null,e)}function Ef(e){return ga(e),e.headers=Nt.from(e.headers),e.data=ma.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),vp.getAdapter(e.adapter||Yr.adapter)(e).then(function(s){return ga(e),s.data=ma.call(e,e.transformResponse,s),s.headers=Nt.from(s.headers),s},function(s){return dp(s)||(ga(e),s&&s.response&&(s.response.data=ma.call(e,e.transformResponse,s.response),s.response.headers=Nt.from(s.response.headers))),Promise.reject(s)})}const bp="1.9.0",mo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mo[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const wf={};mo.transitional=function(t,n,s){function r(o,a){return"[Axios v"+bp+"] Transitional option '"+o+"'"+a+(s?". "+s:"")}return(o,a,l)=>{if(t===!1)throw new ye(r(a," has been removed"+(n?" in "+n:"")),ye.ERR_DEPRECATED);return n&&!wf[a]&&(wf[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,l):!0}};mo.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function C0(e,t,n){if(typeof e!="object")throw new ye("options must be an object",ye.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],a=t[o];if(a){const l=e[o],u=l===void 0||a(l,o,e);if(u!==!0)throw new ye("option "+o+" must be "+u,ye.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ye("Unknown option "+o,ye.ERR_BAD_OPTION)}}const xi={assertOptions:C0,validators:mo},nn=xi.validators;let gs=class{constructor(t){this.defaults=t||{},this.interceptors={request:new hf,response:new hf}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=`
|
|
`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ys(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&xi.assertOptions(s,{silentJSONParsing:nn.transitional(nn.boolean),forcedJSONParsing:nn.transitional(nn.boolean),clarifyTimeoutError:nn.transitional(nn.boolean)},!1),r!=null&&(B.isFunction(r)?n.paramsSerializer={serialize:r}:xi.assertOptions(r,{encode:nn.function,serialize:nn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),xi.assertOptions(n,{baseUrl:nn.spelling("baseURL"),withXsrfToken:nn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&B.merge(o.common,o[n.method]);o&&B.forEach(["delete","get","head","post","put","patch","common"],E=>{delete o[E]}),n.headers=Nt.concat(a,o);const l=[];let u=!0;this.interceptors.request.forEach(function(A){typeof A.runWhen=="function"&&A.runWhen(n)===!1||(u=u&&A.synchronous,l.unshift(A.fulfilled,A.rejected))});const f=[];this.interceptors.response.forEach(function(A){f.push(A.fulfilled,A.rejected)});let h,p=0,_;if(!u){const E=[Ef.bind(this),void 0];for(E.unshift.apply(E,l),E.push.apply(E,f),_=E.length,h=Promise.resolve(n);p<_;)h=h.then(E[p++],E[p++]);return h}_=l.length;let g=n;for(p=0;p<_;){const E=l[p++],A=l[p++];try{g=E(g)}catch(H){A.call(this,H);break}}try{h=Ef.call(this,g)}catch(E){return Promise.reject(E)}for(p=0,_=f.length;p<_;)h=h.then(f[p++],f[p++]);return h}getUri(t){t=ys(this.defaults,t);const n=pp(t.baseURL,t.url,t.allowAbsoluteUrls);return cp(n,t.params,t.paramsSerializer)}};B.forEach(["delete","get","head","options"],function(t){gs.prototype[t]=function(n,s){return this.request(ys(s||{},{method:t,url:n,data:(s||{}).data}))}});B.forEach(["post","put","patch"],function(t){function n(s){return function(o,a,l){return this.request(ys(l||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}gs.prototype[t]=n(),gs.prototype[t+"Form"]=n(!0)});let O0=class yp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const s=this;this.promise.then(r=>{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const a=new Promise(l=>{s.subscribe(l),o=l}).then(r);return a.cancel=function(){s.unsubscribe(o)},a},t(function(o,a,l){s.reason||(s.reason=new sr(o,a,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new yp(function(r){t=r}),cancel:t}}};function R0(e){return function(n){return e.apply(null,n)}}function N0(e){return B.isObject(e)&&e.isAxiosError===!0}const ul={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ul).forEach(([e,t])=>{ul[t]=e});function Ep(e){const t=new gs(e),n=Qh(gs.prototype.request,t);return B.extend(n,gs.prototype,t,{allOwnKeys:!0}),B.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Ep(ys(e,r))},n}const Ve=Ep(Yr);Ve.Axios=gs;Ve.CanceledError=sr;Ve.CancelToken=O0;Ve.isCancel=dp;Ve.VERSION=bp;Ve.toFormData=ho;Ve.AxiosError=ye;Ve.Cancel=Ve.CanceledError;Ve.all=function(t){return Promise.all(t)};Ve.spread=R0;Ve.isAxiosError=N0;Ve.mergeConfig=ys;Ve.AxiosHeaders=Nt;Ve.formToJSON=e=>fp(B.isHTMLForm(e)?new FormData(e):e);Ve.getAdapter=vp.getAdapter;Ve.HttpStatusCode=ul;Ve.default=Ve;const{Axios:bS,AxiosError:yS,CanceledError:ES,isCancel:wS,CancelToken:TS,VERSION:AS,all:SS,Cancel:CS,isAxiosError:OS,spread:RS,toFormData:NS,AxiosHeaders:xS,HttpStatusCode:$S,formToJSON:PS,getAdapter:DS,mergeConfig:LS}=Ve;/*!
|
|
* vue-router v4.5.1
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const qs=typeof document<"u";function wp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function x0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&wp(e.default)}const Pe=Object.assign;function _a(e,t){const n={};for(const s in t){const r=t[s];n[s]=Qt(r)?r.map(e):e(r)}return n}const xr=()=>{},Qt=Array.isArray,Tp=/#/g,$0=/&/g,P0=/\//g,D0=/=/g,L0=/\?/g,Ap=/\+/g,I0=/%5B/g,M0=/%5D/g,Sp=/%5E/g,k0=/%60/g,Cp=/%7B/g,B0=/%7C/g,Op=/%7D/g,F0=/%20/g;function Vl(e){return encodeURI(""+e).replace(B0,"|").replace(I0,"[").replace(M0,"]")}function H0(e){return Vl(e).replace(Cp,"{").replace(Op,"}").replace(Sp,"^")}function fl(e){return Vl(e).replace(Ap,"%2B").replace(F0,"+").replace(Tp,"%23").replace($0,"%26").replace(k0,"`").replace(Cp,"{").replace(Op,"}").replace(Sp,"^")}function V0(e){return fl(e).replace(D0,"%3D")}function U0(e){return Vl(e).replace(Tp,"%23").replace(L0,"%3F")}function j0(e){return e==null?"":U0(e).replace(P0,"%2F")}function Hr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const q0=/\/$/,K0=e=>e.replace(q0,"");function va(e,t,n="/"){let s,r={},o="",a="";const l=t.indexOf("#");let u=t.indexOf("?");return l<u&&l>=0&&(u=-1),u>-1&&(s=t.slice(0,u),o=t.slice(u+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),a=t.slice(l,t.length)),s=G0(s??t,n),{fullPath:s+(o&&"?")+o+a,path:s,query:r,hash:Hr(a)}}function W0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Tf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Y0(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Zs(t.matched[s],n.matched[r])&&Rp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Zs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Rp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!z0(e[n],t[n]))return!1;return!0}function z0(e,t){return Qt(e)?Af(e,t):Qt(t)?Af(t,e):e===t}function Af(e,t){return Qt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function G0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,a,l;for(a=0;a<s.length;a++)if(l=s[a],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(a).join("/")}const Dn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Vr;(function(e){e.pop="pop",e.push="push"})(Vr||(Vr={}));var $r;(function(e){e.back="back",e.forward="forward",e.unknown=""})($r||($r={}));function J0(e){if(!e)if(qs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),K0(e)}const Q0=/^[^#]+#/;function X0(e,t){return e.replace(Q0,"#")+t}function Z0(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const go=()=>({left:window.scrollX,top:window.scrollY});function e1(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Z0(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Sf(e,t){return(history.state?history.state.position-t:-1)+e}const dl=new Map;function t1(e,t){dl.set(e,t)}function n1(e){const t=dl.get(e);return dl.delete(e),t}let s1=()=>location.protocol+"//"+location.host;function Np(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,u=r.slice(l);return u[0]!=="/"&&(u="/"+u),Tf(u,"")}return Tf(n,e)+s+r}function r1(e,t,n,s){let r=[],o=[],a=null;const l=({state:_})=>{const g=Np(e,location),E=n.value,A=t.value;let H=0;if(_){if(n.value=g,t.value=_,a&&a===E){a=null;return}H=A?_.position-A.position:0}else s(g);r.forEach(I=>{I(n.value,E,{delta:H,type:Vr.pop,direction:H?H>0?$r.forward:$r.back:$r.unknown})})};function u(){a=n.value}function f(_){r.push(_);const g=()=>{const E=r.indexOf(_);E>-1&&r.splice(E,1)};return o.push(g),g}function h(){const{history:_}=window;_.state&&_.replaceState(Pe({},_.state,{scroll:go()}),"")}function p(){for(const _ of o)_();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",h)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",h,{passive:!0}),{pauseListeners:u,listen:f,destroy:p}}function Cf(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?go():null}}function i1(e){const{history:t,location:n}=window,s={value:Np(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(u,f,h){const p=e.indexOf("#"),_=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+u:s1()+e+u;try{t[h?"replaceState":"pushState"](f,"",_),r.value=f}catch(g){console.error(g),n[h?"replace":"assign"](_)}}function a(u,f){const h=Pe({},t.state,Cf(r.value.back,u,r.value.forward,!0),f,{position:r.value.position});o(u,h,!0),s.value=u}function l(u,f){const h=Pe({},r.value,t.state,{forward:u,scroll:go()});o(h.current,h,!0);const p=Pe({},Cf(s.value,u,null),{position:h.position+1},f);o(u,p,!1),s.value=u}return{location:s,state:r,push:l,replace:a}}function o1(e){e=J0(e);const t=i1(e),n=r1(e,t.state,t.location,t.replace);function s(o,a=!0){a||n.pauseListeners(),history.go(o)}const r=Pe({location:"",base:e,go:s,createHref:X0.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function a1(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),o1(e)}function l1(e){return typeof e=="string"||e&&typeof e=="object"}function xp(e){return typeof e=="string"||typeof e=="symbol"}const $p=Symbol("");var Of;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Of||(Of={}));function er(e,t){return Pe(new Error,{type:e,[$p]:!0},t)}function _n(e,t){return e instanceof Error&&$p in e&&(t==null||!!(e.type&t))}const Rf="[^/]+?",c1={sensitive:!1,strict:!1,start:!0,end:!0},u1=/[.+*?^${}()[\]/\\]/g;function f1(e,t){const n=Pe({},c1,t),s=[];let r=n.start?"^":"";const o=[];for(const f of e){const h=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let p=0;p<f.length;p++){const _=f[p];let g=40+(n.sensitive?.25:0);if(_.type===0)p||(r+="/"),r+=_.value.replace(u1,"\\$&"),g+=40;else if(_.type===1){const{value:E,repeatable:A,optional:H,regexp:I}=_;o.push({name:E,repeatable:A,optional:H});const F=I||Rf;if(F!==Rf){g+=10;try{new RegExp(`(${F})`)}catch(U){throw new Error(`Invalid custom RegExp for param "${E}" (${F}): `+U.message)}}let k=A?`((?:${F})(?:/(?:${F}))*)`:`(${F})`;p||(k=H&&f.length<2?`(?:/${k})`:"/"+k),H&&(k+="?"),r+=k,g+=20,H&&(g+=-8),A&&(g+=-20),F===".*"&&(g+=-50)}h.push(g)}s.push(h)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");function l(f){const h=f.match(a),p={};if(!h)return null;for(let _=1;_<h.length;_++){const g=h[_]||"",E=o[_-1];p[E.name]=g&&E.repeatable?g.split("/"):g}return p}function u(f){let h="",p=!1;for(const _ of e){(!p||!h.endsWith("/"))&&(h+="/"),p=!1;for(const g of _)if(g.type===0)h+=g.value;else if(g.type===1){const{value:E,repeatable:A,optional:H}=g,I=E in f?f[E]:"";if(Qt(I)&&!A)throw new Error(`Provided param "${E}" is an array but it is not repeatable (* or + modifiers)`);const F=Qt(I)?I.join("/"):I;if(!F)if(H)_.length<2&&(h.endsWith("/")?h=h.slice(0,-1):p=!0);else throw new Error(`Missing required param "${E}"`);h+=F}}return h||"/"}return{re:a,score:s,keys:o,parse:l,stringify:u}}function d1(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Pp(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=d1(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Nf(s))return 1;if(Nf(r))return-1}return r.length-s.length}function Nf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const h1={type:0,value:""},p1=/[a-zA-Z0-9_]/;function m1(e){if(!e)return[[]];if(e==="/")return[[h1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${f}": ${g}`)}let n=0,s=n;const r=[];let o;function a(){o&&r.push(o),o=[]}let l=0,u,f="",h="";function p(){f&&(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:h,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),f="")}function _(){f+=u}for(;l<e.length;){if(u=e[l++],u==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:u==="/"?(f&&p(),a()):u===":"?(p(),n=1):_();break;case 4:_(),n=s;break;case 1:u==="("?n=2:p1.test(u)?_():(p(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&l--);break;case 2:u===")"?h[h.length-1]=="\\"?h=h.slice(0,-1)+u:n=3:h+=u;break;case 3:p(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&l--,h="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),p(),a(),r}function g1(e,t,n){const s=f1(m1(e.path),n),r=Pe(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function _1(e,t){const n=[],s=new Map;t=Df({strict:!1,end:!0,sensitive:!1},t);function r(p){return s.get(p)}function o(p,_,g){const E=!g,A=$f(p);A.aliasOf=g&&g.record;const H=Df(t,p),I=[A];if("alias"in p){const U=typeof p.alias=="string"?[p.alias]:p.alias;for(const q of U)I.push($f(Pe({},A,{components:g?g.record.components:A.components,path:q,aliasOf:g?g.record:A})))}let F,k;for(const U of I){const{path:q}=U;if(_&&q[0]!=="/"){const O=_.record.path,R=O[O.length-1]==="/"?"":"/";U.path=_.record.path+(q&&R+q)}if(F=g1(U,_,H),g?g.alias.push(F):(k=k||F,k!==F&&k.alias.push(F),E&&p.name&&!Pf(F)&&a(p.name)),Dp(F)&&u(F),A.children){const O=A.children;for(let R=0;R<O.length;R++)o(O[R],F,g&&g.children[R])}g=g||F}return k?()=>{a(k)}:xr}function a(p){if(xp(p)){const _=s.get(p);_&&(s.delete(p),n.splice(n.indexOf(_),1),_.children.forEach(a),_.alias.forEach(a))}else{const _=n.indexOf(p);_>-1&&(n.splice(_,1),p.record.name&&s.delete(p.record.name),p.children.forEach(a),p.alias.forEach(a))}}function l(){return n}function u(p){const _=y1(p,n);n.splice(_,0,p),p.record.name&&!Pf(p)&&s.set(p.record.name,p)}function f(p,_){let g,E={},A,H;if("name"in p&&p.name){if(g=s.get(p.name),!g)throw er(1,{location:p});H=g.record.name,E=Pe(xf(_.params,g.keys.filter(k=>!k.optional).concat(g.parent?g.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),p.params&&xf(p.params,g.keys.map(k=>k.name))),A=g.stringify(E)}else if(p.path!=null)A=p.path,g=n.find(k=>k.re.test(A)),g&&(E=g.parse(A),H=g.record.name);else{if(g=_.name?s.get(_.name):n.find(k=>k.re.test(_.path)),!g)throw er(1,{location:p,currentLocation:_});H=g.record.name,E=Pe({},_.params,p.params),A=g.stringify(E)}const I=[];let F=g;for(;F;)I.unshift(F.record),F=F.parent;return{name:H,path:A,params:E,matched:I,meta:b1(I)}}e.forEach(p=>o(p));function h(){n.length=0,s.clear()}return{addRoute:o,resolve:f,removeRoute:a,clearRoutes:h,getRoutes:l,getRecordMatcher:r}}function xf(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function $f(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:v1(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function v1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Pf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function b1(e){return e.reduce((t,n)=>Pe(t,n.meta),{})}function Df(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function y1(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Pp(e,t[o])<0?s=o:n=o+1}const r=E1(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function E1(e){let t=e;for(;t=t.parent;)if(Dp(t)&&Pp(e,t)===0)return t}function Dp({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function w1(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(Ap," "),a=o.indexOf("="),l=Hr(a<0?o:o.slice(0,a)),u=a<0?null:Hr(o.slice(a+1));if(l in t){let f=t[l];Qt(f)||(f=t[l]=[f]),f.push(u)}else t[l]=u}return t}function Lf(e){let t="";for(let n in e){const s=e[n];if(n=V0(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Qt(s)?s.map(o=>o&&fl(o)):[s&&fl(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function T1(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Qt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Lp=Symbol(""),If=Symbol(""),_o=Symbol(""),Ul=Symbol(""),hl=Symbol("");function br(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function A1(e,t,n){const s=()=>{e[t].delete(n)};xl(s),ah(s),oh(()=>{e[t].add(n)}),e[t].add(n)}function S1(e){const t=Mt(Lp,{}).value;t&&A1(t,"leaveGuards",e)}function Hn(e,t,n,s,r,o=a=>a()){const a=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,u)=>{const f=_=>{_===!1?u(er(4,{from:n,to:t})):_ instanceof Error?u(_):l1(_)?u(er(2,{from:t,to:_})):(a&&s.enterCallbacks[r]===a&&typeof _=="function"&&a.push(_),l())},h=o(()=>e.call(s&&s.instances[r],t,n,f));let p=Promise.resolve(h);e.length<3&&(p=p.then(f)),p.catch(_=>u(_))})}function ba(e,t,n,s,r=o=>o()){const o=[];for(const a of e)for(const l in a.components){let u=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(wp(u)){const h=(u.__vccOpts||u)[t];h&&o.push(Hn(h,n,s,a,l,r))}else{let f=u();o.push(()=>f.then(h=>{if(!h)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const p=x0(h)?h.default:h;a.mods[l]=h,a.components[l]=p;const g=(p.__vccOpts||p)[t];return g&&Hn(g,n,s,a,l,r)()}))}}return o}function Mf(e){const t=Mt(_o),n=Mt(Ul),s=ze(()=>{const u=Ct(e.to);return t.resolve(u)}),r=ze(()=>{const{matched:u}=s.value,{length:f}=u,h=u[f-1],p=n.matched;if(!h||!p.length)return-1;const _=p.findIndex(Zs.bind(null,h));if(_>-1)return _;const g=kf(u[f-2]);return f>1&&kf(h)===g&&p[p.length-1].path!==g?p.findIndex(Zs.bind(null,u[f-2])):_}),o=ze(()=>r.value>-1&&x1(n.params,s.value.params)),a=ze(()=>r.value>-1&&r.value===n.matched.length-1&&Rp(n.params,s.value.params));function l(u={}){if(N1(u)){const f=t[Ct(e.replace)?"replace":"push"](Ct(e.to)).catch(xr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:ze(()=>s.value.href),isActive:o,isExactActive:a,navigate:l}}function C1(e){return e.length===1?e[0]:e}const O1=rh({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Mf,setup(e,{slots:t}){const n=Sn(Mf(e)),{options:s}=Mt(_o),r=ze(()=>({[Bf(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Bf(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&C1(t.default(n));return e.custom?o:Ml("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),R1=O1;function N1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function x1(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Qt(r)||r.length!==s.length||s.some((o,a)=>o!==r[a]))return!1}return!0}function kf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Bf=(e,t,n)=>e??t??n,$1=rh({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Mt(hl),r=ze(()=>e.route||s.value),o=Mt(If,0),a=ze(()=>{let f=Ct(o);const{matched:h}=r.value;let p;for(;(p=h[f])&&!p.components;)f++;return f}),l=ze(()=>r.value.matched[a.value]);Ai(If,ze(()=>a.value+1)),Ai(Lp,l),Ai(hl,r);const u=et();return zs(()=>[u.value,l.value,e.name],([f,h,p],[_,g,E])=>{h&&(h.instances[p]=f,g&&g!==h&&f&&f===_&&(h.leaveGuards.size||(h.leaveGuards=g.leaveGuards),h.updateGuards.size||(h.updateGuards=g.updateGuards))),f&&h&&(!g||!Zs(h,g)||!_)&&(h.enterCallbacks[p]||[]).forEach(A=>A(f))},{flush:"post"}),()=>{const f=r.value,h=e.name,p=l.value,_=p&&p.components[h];if(!_)return Ff(n.default,{Component:_,route:f});const g=p.props[h],E=g?g===!0?f.params:typeof g=="function"?g(f):g:null,H=Ml(_,Pe({},E,t,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(p.instances[h]=null)},ref:u}));return Ff(n.default,{Component:H,route:f})||H}}});function Ff(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const P1=$1;function D1(e){const t=_1(e.routes,e),n=e.parseQuery||w1,s=e.stringifyQuery||Lf,r=e.history,o=br(),a=br(),l=br(),u=Fb(Dn);let f=Dn;qs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const h=_a.bind(null,V=>""+V),p=_a.bind(null,j0),_=_a.bind(null,Hr);function g(V,T){let te,ie;return xp(V)?(te=t.getRecordMatcher(V),ie=T):ie=V,t.addRoute(ie,te)}function E(V){const T=t.getRecordMatcher(V);T&&t.removeRoute(T)}function A(){return t.getRoutes().map(V=>V.record)}function H(V){return!!t.getRecordMatcher(V)}function I(V,T){if(T=Pe({},T||u.value),typeof V=="string"){const C=va(n,V,T.path),K=t.resolve({path:C.path},T),G=r.createHref(C.fullPath);return Pe(C,K,{params:_(K.params),hash:Hr(C.hash),redirectedFrom:void 0,href:G})}let te;if(V.path!=null)te=Pe({},V,{path:va(n,V.path,T.path).path});else{const C=Pe({},V.params);for(const K in C)C[K]==null&&delete C[K];te=Pe({},V,{params:p(C)}),T.params=p(T.params)}const ie=t.resolve(te,T),Ee=V.hash||"";ie.params=h(_(ie.params));const v=W0(s,Pe({},V,{hash:H0(Ee),path:ie.path})),b=r.createHref(v);return Pe({fullPath:v,hash:Ee,query:s===Lf?T1(V.query):V.query||{}},ie,{redirectedFrom:void 0,href:b})}function F(V){return typeof V=="string"?va(n,V,u.value.path):Pe({},V)}function k(V,T){if(f!==V)return er(8,{from:T,to:V})}function U(V){return R(V)}function q(V){return U(Pe(F(V),{replace:!0}))}function O(V){const T=V.matched[V.matched.length-1];if(T&&T.redirect){const{redirect:te}=T;let ie=typeof te=="function"?te(V):te;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=F(ie):{path:ie},ie.params={}),Pe({query:V.query,hash:V.hash,params:ie.path!=null?{}:V.params},ie)}}function R(V,T){const te=f=I(V),ie=u.value,Ee=V.state,v=V.force,b=V.replace===!0,C=O(te);if(C)return R(Pe(F(C),{state:typeof C=="object"?Pe({},Ee,C.state):Ee,force:v,replace:b}),T||te);const K=te;K.redirectedFrom=T;let G;return!v&&Y0(s,ie,te)&&(G=er(16,{to:K,from:ie}),_e(ie,ie,!0,!1)),(G?Promise.resolve(G):L(K,ie)).catch(N=>_n(N)?_n(N,2)?N:ue(N):J(N,K,ie)).then(N=>{if(N){if(_n(N,2))return R(Pe({replace:b},F(N.to),{state:typeof N.to=="object"?Pe({},Ee,N.to.state):Ee,force:v}),T||K)}else N=D(K,ie,!0,b,Ee);return M(K,ie,N),N})}function w(V,T){const te=k(V,T);return te?Promise.reject(te):Promise.resolve()}function S(V){const T=Ie.values().next().value;return T&&typeof T.runWithContext=="function"?T.runWithContext(V):V()}function L(V,T){let te;const[ie,Ee,v]=L1(V,T);te=ba(ie.reverse(),"beforeRouteLeave",V,T);for(const C of ie)C.leaveGuards.forEach(K=>{te.push(Hn(K,V,T))});const b=w.bind(null,V,T);return te.push(b),We(te).then(()=>{te=[];for(const C of o.list())te.push(Hn(C,V,T));return te.push(b),We(te)}).then(()=>{te=ba(Ee,"beforeRouteUpdate",V,T);for(const C of Ee)C.updateGuards.forEach(K=>{te.push(Hn(K,V,T))});return te.push(b),We(te)}).then(()=>{te=[];for(const C of v)if(C.beforeEnter)if(Qt(C.beforeEnter))for(const K of C.beforeEnter)te.push(Hn(K,V,T));else te.push(Hn(C.beforeEnter,V,T));return te.push(b),We(te)}).then(()=>(V.matched.forEach(C=>C.enterCallbacks={}),te=ba(v,"beforeRouteEnter",V,T,S),te.push(b),We(te))).then(()=>{te=[];for(const C of a.list())te.push(Hn(C,V,T));return te.push(b),We(te)}).catch(C=>_n(C,8)?C:Promise.reject(C))}function M(V,T,te){l.list().forEach(ie=>S(()=>ie(V,T,te)))}function D(V,T,te,ie,Ee){const v=k(V,T);if(v)return v;const b=T===Dn,C=qs?history.state:{};te&&(ie||b?r.replace(V.fullPath,Pe({scroll:b&&C&&C.scroll},Ee)):r.push(V.fullPath,Ee)),u.value=V,_e(V,T,te,b),ue()}let z;function j(){z||(z=r.listen((V,T,te)=>{if(!qe.listening)return;const ie=I(V),Ee=O(ie);if(Ee){R(Pe(Ee,{replace:!0,force:!0}),ie).catch(xr);return}f=ie;const v=u.value;qs&&t1(Sf(v.fullPath,te.delta),go()),L(ie,v).catch(b=>_n(b,12)?b:_n(b,2)?(R(Pe(F(b.to),{force:!0}),ie).then(C=>{_n(C,20)&&!te.delta&&te.type===Vr.pop&&r.go(-1,!1)}).catch(xr),Promise.reject()):(te.delta&&r.go(-te.delta,!1),J(b,ie,v))).then(b=>{b=b||D(ie,v,!1),b&&(te.delta&&!_n(b,8)?r.go(-te.delta,!1):te.type===Vr.pop&&_n(b,20)&&r.go(-1,!1)),M(ie,v,b)}).catch(xr)}))}let X=br(),Y=br(),Q;function J(V,T,te){ue(V);const ie=Y.list();return ie.length?ie.forEach(Ee=>Ee(V,T,te)):console.error(V),Promise.reject(V)}function ce(){return Q&&u.value!==Dn?Promise.resolve():new Promise((V,T)=>{X.add([V,T])})}function ue(V){return Q||(Q=!V,j(),X.list().forEach(([T,te])=>V?te(V):T()),X.reset()),V}function _e(V,T,te,ie){const{scrollBehavior:Ee}=e;if(!qs||!Ee)return Promise.resolve();const v=!te&&n1(Sf(V.fullPath,0))||(ie||!te)&&history.state&&history.state.scroll||null;return Xi().then(()=>Ee(V,T,v)).then(b=>b&&e1(b)).catch(b=>J(b,V,T))}const be=V=>r.go(V);let Ne;const Ie=new Set,qe={currentRoute:u,listening:!0,addRoute:g,removeRoute:E,clearRoutes:t.clearRoutes,hasRoute:H,getRoutes:A,resolve:I,options:e,push:U,replace:q,go:be,back:()=>be(-1),forward:()=>be(1),beforeEach:o.add,beforeResolve:a.add,afterEach:l.add,onError:Y.add,isReady:ce,install(V){const T=this;V.component("RouterLink",R1),V.component("RouterView",P1),V.config.globalProperties.$router=T,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>Ct(u)}),qs&&!Ne&&u.value===Dn&&(Ne=!0,U(r.location).catch(Ee=>{}));const te={};for(const Ee in Dn)Object.defineProperty(te,Ee,{get:()=>u.value[Ee],enumerable:!0});V.provide(_o,T),V.provide(Ul,jd(te)),V.provide(hl,u);const ie=V.unmount;Ie.add(V),V.unmount=function(){Ie.delete(V),Ie.size<1&&(f=Dn,z&&z(),z=null,u.value=Dn,Ne=!1,Q=!1),ie()}}};function We(V){return V.reduce((T,te)=>T.then(()=>S(te)),Promise.resolve())}return qe}function L1(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;a<o;a++){const l=t.matched[a];l&&(e.matched.find(f=>Zs(f,l))?s.push(l):n.push(l));const u=e.matched[a];u&&(t.matched.find(f=>Zs(f,u))||r.push(u))}return[n,s,r]}function jl(){return Mt(_o)}function I1(e){return Mt(Ul)}const rr=e=>`${window.location.protocol}//${(window.location.host+window.location.pathname+e).replace(/\/\//g,"/")}`,vo=async(e,t={})=>{try{return(await Ve.post(rr(e),t)).data}catch(n){console.log(n);return}},Ki=async(e,t={})=>{try{return(await Ve.get(rr(e),t)).data}catch(n){console.log(n);return}},dn=WE("clientStore",{state:()=>({serverInformation:{},notifications:[],configurations:[],clientProfile:{Email:"",SignInMethod:"",Profile:{}}}),actions:{newNotification(e,t){this.notifications.push({id:Jh().toString(),status:t,content:e,time:wr(),show:!0})},async getClientProfile(){const e=await Ki("/api/settings/getClientProfile");e?this.clientProfile=e.data:this.newNotification("Failed to fetch client profile","danger")},async getConfigurations(){const e=await Ki("/api/configurations");e?this.configurations=e.data:this.newNotification("Failed to fetch configurations","danger")}}}),ir=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},M1={class:"card-body"},k1={class:"d-flex align-items-center mb-2"},B1={class:"ms-auto"},F1={class:"fw-medium"},H1={__name:"notification",props:{notificationData:{id:"",show:!0,content:"",time:"",status:""}},setup(e){const t=e;let n;const s=()=>{t.notificationData.show=!0,n=setTimeout(()=>{o()},5e3)},r=()=>clearTimeout(n),o=()=>t.notificationData.show=!1;return ws(()=>{s()}),(a,l)=>(me(),Oe("div",{onMouseenter:l[1]||(l[1]=u=>r()),onMouseleave:l[2]||(l[2]=u=>e.notificationData.show?s():void 0),class:ln([{"text-bg-success":e.notificationData.status==="success","text-bg-warning":e.notificationData.status==="warning","text-bg-danger":e.notificationData.status==="danger"},"card shadow rounded-3 position-relative message ms-auto notification"])},[$("div",M1,[$("div",k1,[$("small",null,Tt(e.notificationData.time.format("hh:mm A")),1),$("small",B1,[$("a",{role:"button",onClick:l[0]||(l[0]=u=>o())},l[3]||(l[3]=[Ye(" Dismiss"),$("i",{class:"bi bi-x-lg ms-2"},null,-1)]))])]),$("span",F1,Tt(e.notificationData.content),1)])],34))}},V1=ir(H1,[["__scopeId","data-v-3303bfcd"]]),U1={class:"messageCentre text-body position-absolute d-flex"},j1={__name:"notificationList",setup(e){const t=dn(),n=ze(()=>t.notifications.filter(s=>s.show).slice().reverse());return(s,r)=>(me(),Oe("div",U1,[Le(SE,{name:"message",tag:"div",class:"position-relative flex-sm-grow-0 flex-grow-1 d-flex align-items-end ms-sm-auto flex-column gap-2"},{default:Ot(()=>[(me(!0),Oe(wt,null,to(n.value,o=>(me(),Jt(V1,{notificationData:o,key:o.id},null,8,["notificationData"]))),128))]),_:1})]))}},q1=ir(j1,[["__scopeId","data-v-e4fed80c"]]),K1={"data-bs-theme":"dark",class:"text-body bg-body vw-100 vh-100 bg-body-tertiary"},W1={class:"d-flex vh-100 vw-100 p-sm-4 overflow-y-scroll"},Y1={class:"mx-auto my-sm-auto position-relative",id:"listContainer",style:{width:"700px"}},z1={__name:"App",setup(e){const t=dn();return fetch("/client/api/serverInformation").then(n=>n.json()).then(n=>t.serverInformation=n.data),(n,s)=>{const r=Kr("RouterView");return me(),Oe("div",K1,[$("div",W1,[$("div",Y1,[(me(),Jt($h,null,{default:Ot(()=>[Le(r,null,{default:Ot(({Component:o})=>[Le(oo,{name:"app",type:"transition",mode:"out-in"},{default:Ot(()=>[(me(),Jt(ay(o)))]),_:2},1024)]),_:1})]),_:1}))])]),Le(q1)])}}},G1=ir(z1,[["__scopeId","data-v-8742499d"]]);var Us={},ya,Hf;function J1(){return Hf||(Hf=1,ya=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),ya}var Ea={},Ln={},Vf;function Ts(){if(Vf)return Ln;Vf=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Ln.getSymbolSize=function(s){if(!s)throw new Error('"version" cannot be null or undefined');if(s<1||s>40)throw new Error('"version" should be in range from 1 to 40');return s*4+17},Ln.getSymbolTotalCodewords=function(s){return t[s]},Ln.getBCHDigit=function(n){let s=0;for(;n!==0;)s++,n>>>=1;return s},Ln.setToSJISFunction=function(s){if(typeof s!="function")throw new Error('"toSJISFunc" is not a valid function.');e=s},Ln.isKanjiModeEnabled=function(){return typeof e<"u"},Ln.toSJIS=function(s){return e(s)},Ln}var wa={},Uf;function ql(){return Uf||(Uf=1,function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(s){return s&&typeof s.bit<"u"&&s.bit>=0&&s.bit<4},e.from=function(s,r){if(e.isValid(s))return s;try{return t(s)}catch{return r}}}(wa)),wa}var Ta,jf;function Q1(){if(jf)return Ta;jf=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let s=0;s<n;s++)this.putBit((t>>>n-s-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},Ta=e,Ta}var Aa,qf;function X1(){if(qf)return Aa;qf=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,s,r){const o=t*this.size+n;this.data[o]=s,r&&(this.reservedBit[o]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,s){this.data[t*this.size+n]^=s},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},Aa=e,Aa}var Sa={},Kf;function Z1(){return Kf||(Kf=1,function(e){const t=Ts().getSymbolSize;e.getRowColCoords=function(s){if(s===1)return[];const r=Math.floor(s/7)+2,o=t(s),a=o===145?26:Math.ceil((o-13)/(2*r-2))*2,l=[o-7];for(let u=1;u<r-1;u++)l[u]=l[u-1]-a;return l.push(6),l.reverse()},e.getPositions=function(s){const r=[],o=e.getRowColCoords(s),a=o.length;for(let l=0;l<a;l++)for(let u=0;u<a;u++)l===0&&u===0||l===0&&u===a-1||l===a-1&&u===0||r.push([o[l],o[u]]);return r}}(Sa)),Sa}var Ca={},Wf;function eT(){if(Wf)return Ca;Wf=1;const e=Ts().getSymbolSize,t=7;return Ca.getPositions=function(s){const r=e(s);return[[0,0],[r-t,0],[0,r-t]]},Ca}var Oa={},Yf;function tT(){return Yf||(Yf=1,function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(r){return r!=null&&r!==""&&!isNaN(r)&&r>=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const o=r.size;let a=0,l=0,u=0,f=null,h=null;for(let p=0;p<o;p++){l=u=0,f=h=null;for(let _=0;_<o;_++){let g=r.get(p,_);g===f?l++:(l>=5&&(a+=t.N1+(l-5)),f=g,l=1),g=r.get(_,p),g===h?u++:(u>=5&&(a+=t.N1+(u-5)),h=g,u=1)}l>=5&&(a+=t.N1+(l-5)),u>=5&&(a+=t.N1+(u-5))}return a},e.getPenaltyN2=function(r){const o=r.size;let a=0;for(let l=0;l<o-1;l++)for(let u=0;u<o-1;u++){const f=r.get(l,u)+r.get(l,u+1)+r.get(l+1,u)+r.get(l+1,u+1);(f===4||f===0)&&a++}return a*t.N2},e.getPenaltyN3=function(r){const o=r.size;let a=0,l=0,u=0;for(let f=0;f<o;f++){l=u=0;for(let h=0;h<o;h++)l=l<<1&2047|r.get(f,h),h>=10&&(l===1488||l===93)&&a++,u=u<<1&2047|r.get(h,f),h>=10&&(u===1488||u===93)&&a++}return a*t.N3},e.getPenaltyN4=function(r){let o=0;const a=r.data.length;for(let u=0;u<a;u++)o+=r.data[u];return Math.abs(Math.ceil(o*100/a/5)-10)*t.N4};function n(s,r,o){switch(s){case e.Patterns.PATTERN000:return(r+o)%2===0;case e.Patterns.PATTERN001:return r%2===0;case e.Patterns.PATTERN010:return o%3===0;case e.Patterns.PATTERN011:return(r+o)%3===0;case e.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(o/3))%2===0;case e.Patterns.PATTERN101:return r*o%2+r*o%3===0;case e.Patterns.PATTERN110:return(r*o%2+r*o%3)%2===0;case e.Patterns.PATTERN111:return(r*o%3+(r+o)%2)%2===0;default:throw new Error("bad maskPattern:"+s)}}e.applyMask=function(r,o){const a=o.size;for(let l=0;l<a;l++)for(let u=0;u<a;u++)o.isReserved(u,l)||o.xor(u,l,n(r,u,l))},e.getBestMask=function(r,o){const a=Object.keys(e.Patterns).length;let l=0,u=1/0;for(let f=0;f<a;f++){o(f),e.applyMask(f,r);const h=e.getPenaltyN1(r)+e.getPenaltyN2(r)+e.getPenaltyN3(r)+e.getPenaltyN4(r);e.applyMask(f,r),h<u&&(u=h,l=f)}return l}}(Oa)),Oa}var wi={},zf;function Ip(){if(zf)return wi;zf=1;const e=ql(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return wi.getBlocksCount=function(r,o){switch(o){case e.L:return t[(r-1)*4+0];case e.M:return t[(r-1)*4+1];case e.Q:return t[(r-1)*4+2];case e.H:return t[(r-1)*4+3];default:return}},wi.getTotalCodewordsCount=function(r,o){switch(o){case e.L:return n[(r-1)*4+0];case e.M:return n[(r-1)*4+1];case e.Q:return n[(r-1)*4+2];case e.H:return n[(r-1)*4+3];default:return}},wi}var Ra={},yr={},Gf;function nT(){if(Gf)return yr;Gf=1;const e=new Uint8Array(512),t=new Uint8Array(256);return function(){let s=1;for(let r=0;r<255;r++)e[r]=s,t[s]=r,s<<=1,s&256&&(s^=285);for(let r=255;r<512;r++)e[r]=e[r-255]}(),yr.log=function(s){if(s<1)throw new Error("log("+s+")");return t[s]},yr.exp=function(s){return e[s]},yr.mul=function(s,r){return s===0||r===0?0:e[t[s]+t[r]]},yr}var Jf;function sT(){return Jf||(Jf=1,function(e){const t=nT();e.mul=function(s,r){const o=new Uint8Array(s.length+r.length-1);for(let a=0;a<s.length;a++)for(let l=0;l<r.length;l++)o[a+l]^=t.mul(s[a],r[l]);return o},e.mod=function(s,r){let o=new Uint8Array(s);for(;o.length-r.length>=0;){const a=o[0];for(let u=0;u<r.length;u++)o[u]^=t.mul(r[u],a);let l=0;for(;l<o.length&&o[l]===0;)l++;o=o.slice(l)}return o},e.generateECPolynomial=function(s){let r=new Uint8Array([1]);for(let o=0;o<s;o++)r=e.mul(r,new Uint8Array([1,t.exp(o)]));return r}}(Ra)),Ra}var Na,Qf;function rT(){if(Qf)return Na;Qf=1;const e=sT();function t(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(s){this.degree=s,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(s){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(s.length+this.degree);r.set(s);const o=e.mod(r,this.genPoly),a=this.degree-o.length;if(a>0){const l=new Uint8Array(this.degree);return l.set(o,a),l}return o},Na=t,Na}var xa={},$a={},Pa={},Xf;function Mp(){return Xf||(Xf=1,Pa.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),Pa}var sn={},Zf;function kp(){if(Zf)return sn;Zf=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const s="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
|
|
]))+`;sn.KANJI=new RegExp(n,"g"),sn.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),sn.BYTE=new RegExp(s,"g"),sn.NUMERIC=new RegExp(e,"g"),sn.ALPHANUMERIC=new RegExp(t,"g");const r=new RegExp("^"+n+"$"),o=new RegExp("^"+e+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return sn.testKanji=function(u){return r.test(u)},sn.testNumeric=function(u){return o.test(u)},sn.testAlphanumeric=function(u){return a.test(u)},sn}var ed;function As(){return ed||(ed=1,function(e){const t=Mp(),n=kp();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function s(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(o,a){if(e.isValid(o))return o;try{return s(o)}catch{return a}}}($a)),$a}var td;function iT(){return td||(td=1,function(e){const t=Ts(),n=Ip(),s=ql(),r=As(),o=Mp(),a=7973,l=t.getBCHDigit(a);function u(_,g,E){for(let A=1;A<=40;A++)if(g<=e.getCapacity(A,E,_))return A}function f(_,g){return r.getCharCountIndicator(_,g)+4}function h(_,g){let E=0;return _.forEach(function(A){const H=f(A.mode,g);E+=H+A.getBitsLength()}),E}function p(_,g){for(let E=1;E<=40;E++)if(h(_,E)<=e.getCapacity(E,g,r.MIXED))return E}e.from=function(g,E){return o.isValid(g)?parseInt(g,10):E},e.getCapacity=function(g,E,A){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof A>"u"&&(A=r.BYTE);const H=t.getSymbolTotalCodewords(g),I=n.getTotalCodewordsCount(g,E),F=(H-I)*8;if(A===r.MIXED)return F;const k=F-f(A,g);switch(A){case r.NUMERIC:return Math.floor(k/10*3);case r.ALPHANUMERIC:return Math.floor(k/11*2);case r.KANJI:return Math.floor(k/13);case r.BYTE:default:return Math.floor(k/8)}},e.getBestVersionForData=function(g,E){let A;const H=s.from(E,s.M);if(Array.isArray(g)){if(g.length>1)return p(g,H);if(g.length===0)return 1;A=g[0]}else A=g;return u(A.mode,A.getLength(),H)},e.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let E=g<<12;for(;t.getBCHDigit(E)-l>=0;)E^=a<<t.getBCHDigit(E)-l;return g<<12|E}}(xa)),xa}var Da={},nd;function oT(){if(nd)return Da;nd=1;const e=Ts(),t=1335,n=21522,s=e.getBCHDigit(t);return Da.getEncodedBits=function(o,a){const l=o.bit<<3|a;let u=l<<10;for(;e.getBCHDigit(u)-s>=0;)u^=t<<e.getBCHDigit(u)-s;return(l<<10|u)^n},Da}var La={},Ia,sd;function aT(){if(sd)return Ia;sd=1;const e=As();function t(n){this.mode=e.NUMERIC,this.data=n.toString()}return t.getBitsLength=function(s){return 10*Math.floor(s/3)+(s%3?s%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(s){let r,o,a;for(r=0;r+3<=this.data.length;r+=3)o=this.data.substr(r,3),a=parseInt(o,10),s.put(a,10);const l=this.data.length-r;l>0&&(o=this.data.substr(r),a=parseInt(o,10),s.put(a,l*3+1))},Ia=t,Ia}var Ma,rd;function lT(){if(rd)return Ma;rd=1;const e=As(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(s){this.mode=e.ALPHANUMERIC,this.data=s}return n.getBitsLength=function(r){return 11*Math.floor(r/2)+6*(r%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let o;for(o=0;o+2<=this.data.length;o+=2){let a=t.indexOf(this.data[o])*45;a+=t.indexOf(this.data[o+1]),r.put(a,11)}this.data.length%2&&r.put(t.indexOf(this.data[o]),6)},Ma=n,Ma}var ka,id;function cT(){if(id)return ka;id=1;const e=As();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(s){return s*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let s=0,r=this.data.length;s<r;s++)n.put(this.data[s],8)},ka=t,ka}var Ba,od;function uT(){if(od)return Ba;od=1;const e=As(),t=Ts();function n(s){this.mode=e.KANJI,this.data=s}return n.getBitsLength=function(r){return r*13},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(s){let r;for(r=0;r<this.data.length;r++){let o=t.toSJIS(this.data[r]);if(o>=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw new Error("Invalid SJIS character: "+this.data[r]+`
|
|
Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),s.put(o,13)}},Ba=n,Ba}var Fa={exports:{}},ad;function fT(){return ad||(ad=1,function(e){var t={single_source_shortest_paths:function(n,s,r){var o={},a={};a[s]=0;var l=t.PriorityQueue.make();l.push(s,0);for(var u,f,h,p,_,g,E,A,H;!l.empty();){u=l.pop(),f=u.value,p=u.cost,_=n[f]||{};for(h in _)_.hasOwnProperty(h)&&(g=_[h],E=p+g,A=a[h],H=typeof a[h]>"u",(H||A>E)&&(a[h]=E,l.push(h,E),o[h]=f))}if(typeof r<"u"&&typeof a[r]>"u"){var I=["Could not find a path from ",s," to ",r,"."].join("");throw new Error(I)}return o},extract_shortest_path_from_predecessor_list:function(n,s){for(var r=[],o=s;o;)r.push(o),n[o],o=n[o];return r.reverse(),r},find_path:function(n,s,r){var o=t.single_source_shortest_paths(n,s,r);return t.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(n){var s=t.PriorityQueue,r={},o;n=n||{};for(o in s)s.hasOwnProperty(o)&&(r[o]=s[o]);return r.queue=[],r.sorter=n.sorter||s.default_sorter,r},default_sorter:function(n,s){return n.cost-s.cost},push:function(n,s){var r={value:n,cost:s};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}(Fa)),Fa.exports}var ld;function dT(){return ld||(ld=1,function(e){const t=As(),n=aT(),s=lT(),r=cT(),o=uT(),a=kp(),l=Ts(),u=fT();function f(I){return unescape(encodeURIComponent(I)).length}function h(I,F,k){const U=[];let q;for(;(q=I.exec(k))!==null;)U.push({data:q[0],index:q.index,mode:F,length:q[0].length});return U}function p(I){const F=h(a.NUMERIC,t.NUMERIC,I),k=h(a.ALPHANUMERIC,t.ALPHANUMERIC,I);let U,q;return l.isKanjiModeEnabled()?(U=h(a.BYTE,t.BYTE,I),q=h(a.KANJI,t.KANJI,I)):(U=h(a.BYTE_KANJI,t.BYTE,I),q=[]),F.concat(k,U,q).sort(function(R,w){return R.index-w.index}).map(function(R){return{data:R.data,mode:R.mode,length:R.length}})}function _(I,F){switch(F){case t.NUMERIC:return n.getBitsLength(I);case t.ALPHANUMERIC:return s.getBitsLength(I);case t.KANJI:return o.getBitsLength(I);case t.BYTE:return r.getBitsLength(I)}}function g(I){return I.reduce(function(F,k){const U=F.length-1>=0?F[F.length-1]:null;return U&&U.mode===k.mode?(F[F.length-1].data+=k.data,F):(F.push(k),F)},[])}function E(I){const F=[];for(let k=0;k<I.length;k++){const U=I[k];switch(U.mode){case t.NUMERIC:F.push([U,{data:U.data,mode:t.ALPHANUMERIC,length:U.length},{data:U.data,mode:t.BYTE,length:U.length}]);break;case t.ALPHANUMERIC:F.push([U,{data:U.data,mode:t.BYTE,length:U.length}]);break;case t.KANJI:F.push([U,{data:U.data,mode:t.BYTE,length:f(U.data)}]);break;case t.BYTE:F.push([{data:U.data,mode:t.BYTE,length:f(U.data)}])}}return F}function A(I,F){const k={},U={start:{}};let q=["start"];for(let O=0;O<I.length;O++){const R=I[O],w=[];for(let S=0;S<R.length;S++){const L=R[S],M=""+O+S;w.push(M),k[M]={node:L,lastCount:0},U[M]={};for(let D=0;D<q.length;D++){const z=q[D];k[z]&&k[z].node.mode===L.mode?(U[z][M]=_(k[z].lastCount+L.length,L.mode)-_(k[z].lastCount,L.mode),k[z].lastCount+=L.length):(k[z]&&(k[z].lastCount=L.length),U[z][M]=_(L.length,L.mode)+4+t.getCharCountIndicator(L.mode,F))}}q=w}for(let O=0;O<q.length;O++)U[q[O]].end=0;return{map:U,table:k}}function H(I,F){let k;const U=t.getBestModeForData(I);if(k=t.from(F,U),k!==t.BYTE&&k.bit<U.bit)throw new Error('"'+I+'" cannot be encoded with mode '+t.toString(k)+`.
|
|
Suggested mode is: `+t.toString(U));switch(k===t.KANJI&&!l.isKanjiModeEnabled()&&(k=t.BYTE),k){case t.NUMERIC:return new n(I);case t.ALPHANUMERIC:return new s(I);case t.KANJI:return new o(I);case t.BYTE:return new r(I)}}e.fromArray=function(F){return F.reduce(function(k,U){return typeof U=="string"?k.push(H(U,null)):U.data&&k.push(H(U.data,U.mode)),k},[])},e.fromString=function(F,k){const U=p(F,l.isKanjiModeEnabled()),q=E(U),O=A(q,k),R=u.find_path(O.map,"start","end"),w=[];for(let S=1;S<R.length-1;S++)w.push(O.table[R[S]].node);return e.fromArray(g(w))},e.rawSplit=function(F){return e.fromArray(p(F,l.isKanjiModeEnabled()))}}(La)),La}var cd;function hT(){if(cd)return Ea;cd=1;const e=Ts(),t=ql(),n=Q1(),s=X1(),r=Z1(),o=eT(),a=tT(),l=Ip(),u=rT(),f=iT(),h=oT(),p=As(),_=dT();function g(O,R){const w=O.size,S=o.getPositions(R);for(let L=0;L<S.length;L++){const M=S[L][0],D=S[L][1];for(let z=-1;z<=7;z++)if(!(M+z<=-1||w<=M+z))for(let j=-1;j<=7;j++)D+j<=-1||w<=D+j||(z>=0&&z<=6&&(j===0||j===6)||j>=0&&j<=6&&(z===0||z===6)||z>=2&&z<=4&&j>=2&&j<=4?O.set(M+z,D+j,!0,!0):O.set(M+z,D+j,!1,!0))}}function E(O){const R=O.size;for(let w=8;w<R-8;w++){const S=w%2===0;O.set(w,6,S,!0),O.set(6,w,S,!0)}}function A(O,R){const w=r.getPositions(R);for(let S=0;S<w.length;S++){const L=w[S][0],M=w[S][1];for(let D=-2;D<=2;D++)for(let z=-2;z<=2;z++)D===-2||D===2||z===-2||z===2||D===0&&z===0?O.set(L+D,M+z,!0,!0):O.set(L+D,M+z,!1,!0)}}function H(O,R){const w=O.size,S=f.getEncodedBits(R);let L,M,D;for(let z=0;z<18;z++)L=Math.floor(z/3),M=z%3+w-8-3,D=(S>>z&1)===1,O.set(L,M,D,!0),O.set(M,L,D,!0)}function I(O,R,w){const S=O.size,L=h.getEncodedBits(R,w);let M,D;for(M=0;M<15;M++)D=(L>>M&1)===1,M<6?O.set(M,8,D,!0):M<8?O.set(M+1,8,D,!0):O.set(S-15+M,8,D,!0),M<8?O.set(8,S-M-1,D,!0):M<9?O.set(8,15-M-1+1,D,!0):O.set(8,15-M-1,D,!0);O.set(S-8,8,1,!0)}function F(O,R){const w=O.size;let S=-1,L=w-1,M=7,D=0;for(let z=w-1;z>0;z-=2)for(z===6&&z--;;){for(let j=0;j<2;j++)if(!O.isReserved(L,z-j)){let X=!1;D<R.length&&(X=(R[D]>>>M&1)===1),O.set(L,z-j,X),M--,M===-1&&(D++,M=7)}if(L+=S,L<0||w<=L){L-=S,S=-S;break}}}function k(O,R,w){const S=new n;w.forEach(function(j){S.put(j.mode.bit,4),S.put(j.getLength(),p.getCharCountIndicator(j.mode,O)),j.write(S)});const L=e.getSymbolTotalCodewords(O),M=l.getTotalCodewordsCount(O,R),D=(L-M)*8;for(S.getLengthInBits()+4<=D&&S.put(0,4);S.getLengthInBits()%8!==0;)S.putBit(0);const z=(D-S.getLengthInBits())/8;for(let j=0;j<z;j++)S.put(j%2?17:236,8);return U(S,O,R)}function U(O,R,w){const S=e.getSymbolTotalCodewords(R),L=l.getTotalCodewordsCount(R,w),M=S-L,D=l.getBlocksCount(R,w),z=S%D,j=D-z,X=Math.floor(S/D),Y=Math.floor(M/D),Q=Y+1,J=X-Y,ce=new u(J);let ue=0;const _e=new Array(D),be=new Array(D);let Ne=0;const Ie=new Uint8Array(O.buffer);for(let te=0;te<D;te++){const ie=te<j?Y:Q;_e[te]=Ie.slice(ue,ue+ie),be[te]=ce.encode(_e[te]),ue+=ie,Ne=Math.max(Ne,ie)}const qe=new Uint8Array(S);let We=0,V,T;for(V=0;V<Ne;V++)for(T=0;T<D;T++)V<_e[T].length&&(qe[We++]=_e[T][V]);for(V=0;V<J;V++)for(T=0;T<D;T++)qe[We++]=be[T][V];return qe}function q(O,R,w,S){let L;if(Array.isArray(O))L=_.fromArray(O);else if(typeof O=="string"){let X=R;if(!X){const Y=_.rawSplit(O);X=f.getBestVersionForData(Y,w)}L=_.fromString(O,X||40)}else throw new Error("Invalid data");const M=f.getBestVersionForData(L,w);if(!M)throw new Error("The amount of data is too big to be stored in a QR Code");if(!R)R=M;else if(R<M)throw new Error(`
|
|
The chosen QR Code version cannot contain this amount of data.
|
|
Minimum version required to store current data is: `+M+`.
|
|
`);const D=k(R,w,L),z=e.getSymbolSize(R),j=new s(z);return g(j,R),E(j),A(j,R),I(j,w,0),R>=7&&H(j,R),F(j,D),isNaN(S)&&(S=a.getBestMask(j,I.bind(null,j,w))),a.applyMask(S,j),I(j,w,S),{modules:j,version:R,errorCorrectionLevel:w,maskPattern:S,segments:L}}return Ea.create=function(R,w){if(typeof R>"u"||R==="")throw new Error("No input text");let S=t.M,L,M;return typeof w<"u"&&(S=t.from(w.errorCorrectionLevel,t.M),L=f.from(w.version),M=a.from(w.maskPattern),w.toSJISFunc&&e.setToSJISFunction(w.toSJISFunc)),q(R,L,S,M)},Ea}var Ha={},Va={},ud;function Bp(){return ud||(ud=1,function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let s=n.slice().replace("#","").split("");if(s.length<3||s.length===5||s.length>8)throw new Error("Invalid hex color: "+n);(s.length===3||s.length===4)&&(s=Array.prototype.concat.apply([],s.map(function(o){return[o,o]}))),s.length===6&&s.push("F","F");const r=parseInt(s.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+s.slice(0,6).join("")}}e.getOptions=function(s){s||(s={}),s.color||(s.color={});const r=typeof s.margin>"u"||s.margin===null||s.margin<0?4:s.margin,o=s.width&&s.width>=21?s.width:void 0,a=s.scale||4;return{width:o,scale:o?4:a,margin:r,color:{dark:t(s.color.dark||"#000000ff"),light:t(s.color.light||"#ffffffff")},type:s.type,rendererOpts:s.rendererOpts||{}}},e.getScale=function(s,r){return r.width&&r.width>=s+r.margin*2?r.width/(s+r.margin*2):r.scale},e.getImageWidth=function(s,r){const o=e.getScale(s,r);return Math.floor((s+r.margin*2)*o)},e.qrToImageData=function(s,r,o){const a=r.modules.size,l=r.modules.data,u=e.getScale(a,o),f=Math.floor((a+o.margin*2)*u),h=o.margin*u,p=[o.color.light,o.color.dark];for(let _=0;_<f;_++)for(let g=0;g<f;g++){let E=(_*f+g)*4,A=o.color.light;if(_>=h&&g>=h&&_<f-h&&g<f-h){const H=Math.floor((_-h)/u),I=Math.floor((g-h)/u);A=p[l[H*a+I]?1:0]}s[E++]=A.r,s[E++]=A.g,s[E++]=A.b,s[E]=A.a}}}(Va)),Va}var fd;function pT(){return fd||(fd=1,function(e){const t=Bp();function n(r,o,a){r.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=a,o.width=a,o.style.height=a+"px",o.style.width=a+"px"}function s(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(o,a,l){let u=l,f=a;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),a||(f=s()),u=t.getOptions(u);const h=t.getImageWidth(o.modules.size,u),p=f.getContext("2d"),_=p.createImageData(h,h);return t.qrToImageData(_.data,o,u),n(p,f,h),p.putImageData(_,0,0),f},e.renderToDataURL=function(o,a,l){let u=l;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),u||(u={});const f=e.render(o,a,u),h=u.type||"image/png",p=u.rendererOpts||{};return f.toDataURL(h,p.quality)}}(Ha)),Ha}var Ua={},dd;function mT(){if(dd)return Ua;dd=1;const e=Bp();function t(r,o){const a=r.a/255,l=o+'="'+r.hex+'"';return a<1?l+" "+o+'-opacity="'+a.toFixed(2).slice(1)+'"':l}function n(r,o,a){let l=r+o;return typeof a<"u"&&(l+=" "+a),l}function s(r,o,a){let l="",u=0,f=!1,h=0;for(let p=0;p<r.length;p++){const _=Math.floor(p%o),g=Math.floor(p/o);!_&&!f&&(f=!0),r[p]?(h++,p>0&&_>0&&r[p-1]||(l+=f?n("M",_+a,.5+g+a):n("m",u,0),u=0,f=!1),_+1<o&&r[p+1]||(l+=n("h",h),h=0)):u++}return l}return Ua.render=function(o,a,l){const u=e.getOptions(a),f=o.modules.size,h=o.modules.data,p=f+u.margin*2,_=u.color.light.a?"<path "+t(u.color.light,"fill")+' d="M0 0h'+p+"v"+p+'H0z"/>':"",g="<path "+t(u.color.dark,"stroke")+' d="'+s(h,f,u.margin)+'"/>',E='viewBox="0 0 '+p+" "+p+'"',H='<svg xmlns="http://www.w3.org/2000/svg" '+(u.width?'width="'+u.width+'" height="'+u.width+'" ':"")+E+' shape-rendering="crispEdges">'+_+g+`</svg>
|
|
`;return typeof l=="function"&&l(null,H),H},Ua}var hd;function gT(){if(hd)return Us;hd=1;const e=J1(),t=hT(),n=pT(),s=mT();function r(o,a,l,u,f){const h=[].slice.call(arguments,1),p=h.length,_=typeof h[p-1]=="function";if(!_&&!e())throw new Error("Callback required as last argument");if(_){if(p<2)throw new Error("Too few arguments provided");p===2?(f=l,l=a,a=u=void 0):p===3&&(a.getContext&&typeof f>"u"?(f=u,u=void 0):(f=u,u=l,l=a,a=void 0))}else{if(p<1)throw new Error("Too few arguments provided");return p===1?(l=a,a=u=void 0):p===2&&!a.getContext&&(u=l,l=a,a=void 0),new Promise(function(g,E){try{const A=t.create(l,u);g(o(A,a,u))}catch(A){E(A)}})}try{const g=t.create(l,u);f(null,o(g,a,u))}catch(g){f(g)}}return Us.create=t.create,Us.toCanvas=r.bind(null,n.render),Us.toDataURL=r.bind(null,n.renderToDataURL),Us.toString=r.bind(null,function(o,a,l){return s.render(o,l)}),Us}var _T=gT();const vT=kl(_T),bT=["id"],Fp={__name:"qrcode",props:["content"],setup(e){const t=e,n=Jh().toString();return ws(()=>{vT.toCanvas(document.getElementById(`qrcode_${n}`),t.content,function(s){})}),(s,r)=>(me(),Oe("div",null,[$("canvas",{id:"qrcode_"+Ct(n),class:"rounded-3"},null,8,bT)]))}},yT={class:"p-2 position-fixed top-0 start-0 vw-100 vh-100 d-flex qrcodeContainer p-3 overflow-scroll"},ET={class:"m-auto d-flex gap-3 flex-column p-3"},wT={__name:"configurationQRCode",props:["qrcodeData"],emits:["back"],setup(e,{emit:t}){const n=e,s=t;return(r,o)=>(me(),Oe("div",yT,[$("div",ET,[$("div",null,[$("a",{role:"button",onClick:o[0]||(o[0]=a=>s("back")),class:"btn btn-body rounded-3 btn-sm"},o[1]||(o[1]=[$("i",{class:"me-2 bi bi-x-lg"},null,-1),Ye(" Dismiss ")]))]),Le(Fp,{content:n.qrcodeData},null,8,["content"]),o[2]||(o[2]=$("button",{class:"btn bg-primary-subtle border-primary-subtle rounded-3"},[$("i",{class:"bi bi-download me-2"}),Ye("Download ")],-1))])]))}},TT=ir(wT,[["__scopeId","data-v-cc8c55c7"]]);var $i={exports:{}},AT=$i.exports,pd;function ST(){return pd||(pd=1,function(e,t){(function(n,s){e.exports=s()})(AT,function(){var n,s,r=1e3,o=6e4,a=36e5,l=864e5,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=31536e6,h=2628e6,p=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,_={years:f,months:h,days:l,hours:a,minutes:o,seconds:r,milliseconds:1,weeks:6048e5},g=function(O){return O instanceof U},E=function(O,R,w){return new U(O,w,R.$l)},A=function(O){return s.p(O)+"s"},H=function(O){return O<0},I=function(O){return H(O)?Math.ceil(O):Math.floor(O)},F=function(O){return Math.abs(O)},k=function(O,R){return O?H(O)?{negative:!0,format:""+F(O)+R}:{negative:!1,format:""+O+R}:{negative:!1,format:""}},U=function(){function O(w,S,L){var M=this;if(this.$d={},this.$l=L,w===void 0&&(this.$ms=0,this.parseFromMilliseconds()),S)return E(w*_[A(S)],this);if(typeof w=="number")return this.$ms=w,this.parseFromMilliseconds(),this;if(typeof w=="object")return Object.keys(w).forEach(function(j){M.$d[A(j)]=w[j]}),this.calMilliseconds(),this;if(typeof w=="string"){var D=w.match(p);if(D){var z=D.slice(2).map(function(j){return j!=null?Number(j):0});return this.$d.years=z[0],this.$d.months=z[1],this.$d.weeks=z[2],this.$d.days=z[3],this.$d.hours=z[4],this.$d.minutes=z[5],this.$d.seconds=z[6],this.calMilliseconds(),this}}return this}var R=O.prototype;return R.calMilliseconds=function(){var w=this;this.$ms=Object.keys(this.$d).reduce(function(S,L){return S+(w.$d[L]||0)*_[L]},0)},R.parseFromMilliseconds=function(){var w=this.$ms;this.$d.years=I(w/f),w%=f,this.$d.months=I(w/h),w%=h,this.$d.days=I(w/l),w%=l,this.$d.hours=I(w/a),w%=a,this.$d.minutes=I(w/o),w%=o,this.$d.seconds=I(w/r),w%=r,this.$d.milliseconds=w},R.toISOString=function(){var w=k(this.$d.years,"Y"),S=k(this.$d.months,"M"),L=+this.$d.days||0;this.$d.weeks&&(L+=7*this.$d.weeks);var M=k(L,"D"),D=k(this.$d.hours,"H"),z=k(this.$d.minutes,"M"),j=this.$d.seconds||0;this.$d.milliseconds&&(j+=this.$d.milliseconds/1e3,j=Math.round(1e3*j)/1e3);var X=k(j,"S"),Y=w.negative||S.negative||M.negative||D.negative||z.negative||X.negative,Q=D.format||z.format||X.format?"T":"",J=(Y?"-":"")+"P"+w.format+S.format+M.format+Q+D.format+z.format+X.format;return J==="P"||J==="-P"?"P0D":J},R.toJSON=function(){return this.toISOString()},R.format=function(w){var S=w||"YYYY-MM-DDTHH:mm:ss",L={Y:this.$d.years,YY:s.s(this.$d.years,2,"0"),YYYY:s.s(this.$d.years,4,"0"),M:this.$d.months,MM:s.s(this.$d.months,2,"0"),D:this.$d.days,DD:s.s(this.$d.days,2,"0"),H:this.$d.hours,HH:s.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,"0"),SSS:s.s(this.$d.milliseconds,3,"0")};return S.replace(u,function(M,D){return D||String(L[M])})},R.as=function(w){return this.$ms/_[A(w)]},R.get=function(w){var S=this.$ms,L=A(w);return L==="milliseconds"?S%=1e3:S=L==="weeks"?I(S/_[L]):this.$d[L],S||0},R.add=function(w,S,L){var M;return M=S?w*_[A(S)]:g(w)?w.$ms:E(w,this).$ms,E(this.$ms+M*(L?-1:1),this)},R.subtract=function(w,S){return this.add(w,S,!0)},R.locale=function(w){var S=this.clone();return S.$l=w,S},R.clone=function(){return E(this.$ms,this)},R.humanize=function(w){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!w)},R.valueOf=function(){return this.asMilliseconds()},R.milliseconds=function(){return this.get("milliseconds")},R.asMilliseconds=function(){return this.as("milliseconds")},R.seconds=function(){return this.get("seconds")},R.asSeconds=function(){return this.as("seconds")},R.minutes=function(){return this.get("minutes")},R.asMinutes=function(){return this.as("minutes")},R.hours=function(){return this.get("hours")},R.asHours=function(){return this.as("hours")},R.days=function(){return this.get("days")},R.asDays=function(){return this.as("days")},R.weeks=function(){return this.get("weeks")},R.asWeeks=function(){return this.as("weeks")},R.months=function(){return this.get("months")},R.asMonths=function(){return this.as("months")},R.years=function(){return this.get("years")},R.asYears=function(){return this.as("years")},O}(),q=function(O,R,w){return O.add(R.years()*w,"y").add(R.months()*w,"M").add(R.days()*w,"d").add(R.hours()*w,"h").add(R.minutes()*w,"m").add(R.seconds()*w,"s").add(R.milliseconds()*w,"ms")};return function(O,R,w){n=w,s=w().$utils(),w.duration=function(M,D){var z=w.locale();return E(M,{$l:z},D)},w.isDuration=g;var S=R.prototype.add,L=R.prototype.subtract;R.prototype.add=function(M,D){return g(M)?q(this,M,1):S.bind(this)(M,D)},R.prototype.subtract=function(M,D){return g(M)?q(this,M,-1):L.bind(this)(M,D)}}})}($i)),$i.exports}var CT=ST();const OT=kl(CT),RT={class:"card rounded-3 border-0 shadow"},NT={class:"card-header rounded-top-3 border-0 align-items-center d-flex p-3 flex-column flex-sm-row gap-2"},xT={class:"fw-bold"},$T={class:"card-body p-3 d-flex gap-3 flex-column"},PT={class:"mb-1 d-flex align-items-center"},DT={class:"fw-bold ms-sm-auto"},LT={class:"progress",role:"progressbar","aria-valuenow":"25","aria-valuemin":"0","aria-valuemax":"100",style:{height:"6px"}},IT={class:"mb-1 d-flex align-items-center"},MT={class:"fw-bold ms-auto"},kT={__name:"configuration",props:["config"],setup(e){wr.extend(OT);const t=e,n=et(!1),s=ze(()=>t.config.jobs.filter(u=>u.Field==="date").sort((u,f)=>wr(u.Value).isBefore(f.Value)?-1:wr(u.Value).isAfter(f.Value)?1:0)),r=ze(()=>t.config.jobs.filter(u=>u.Field==="total_data").sort((u,f)=>parseFloat(f.Value)-parseFloat(u.Value))),o=ze(()=>{if(s.value.length>0)return s.value[0].Value}),a=ze(()=>{if(r.value.length>0)return r.value[0].Value}),l=ze(()=>a.value?t.config.data/a.value*100:100);return window.dayjs=wr,(u,f)=>(me(),Oe("div",RT,[$("div",NT,[$("small",xT,Tt(t.config.name),1),t.config.protocol==="wg"?(me(),Oe("span",{key:0,class:ln(["badge rounded-3 ms-sm-auto",[t.config.protocol==="wg"?"wireguardBg":"amneziawgBg"]])},Tt(t.config.protocol==="wg"?"WireGuard":"AmneziaWG"),3)):Kn("",!0)]),$("div",$T,[$("div",null,[$("div",PT,[f[2]||(f[2]=$("small",{class:"text-muted"},[$("i",{class:"bi bi-bar-chart-fill me-1"}),Ye(" Data Usage ")],-1)),$("small",DT,Tt(t.config.data.toFixed(4))+" / "+Tt(a.value?parseFloat(a.value).toFixed(4):"Unlimited")+" GB ",1)]),$("div",LT,[$("div",{class:"progress-bar bg-primary",style:Ji({width:""+l.value+"%"})},null,4)])]),$("div",null,[$("div",IT,[f[3]||(f[3]=$("small",{class:"text-muted"},[$("i",{class:"bi bi-calendar me-1"}),Ye(" Valid Until ")],-1)),$("small",MT,Tt(o.value?o.value:"Unlimited Time"),1)])]),$("button",{class:"btn btn-outline-body rounded-3 flex-grow-1 fw-bold w-100",onClick:f[0]||(f[0]=h=>n.value=!0)},f[4]||(f[4]=[$("i",{class:"bi bi-link-45deg me-2"},null,-1),$("small",null,"Connect",-1)]))]),Le(oo,{name:"app"},{default:Ot(()=>[n.value?(me(),Jt(TT,{key:0,onBack:f[1]||(f[1]=h=>n.value=!1),"qrcode-data":e.config.peer_configuration_data.file},null,8,["qrcode-data"])):Kn("",!0)]),_:1})]))}},BT=ir(kT,[["__scopeId","data-v-5d0ec739"]]),FT={class:"p-sm-3"},HT={class:"w-100 d-flex align-items-center"},VT={class:"nav-link text-body border-start-0","aria-current":"page",href:"#"},UT={class:"ms-auto px-3 d-flex gap-2 nav-links"},jT={key:0,class:"d-flex flex-column gap-3"},qT={key:0,class:"p-3 d-flex flex-column gap-3"},KT={key:1,class:"text-center text-muted"},WT={key:1,class:"d-flex p-3"},YT={__name:"index",async setup(e){let t,n;const s=dn(),r=et(!0),o=ze(()=>s.configurations),a=et(void 0);[t,n]=no(()=>s.getClientProfile()),await t,n(),ws(async()=>{await s.getConfigurations(),r.value=!1,a.value=setInterval(async()=>{await s.getConfigurations()},5e3)}),S1(()=>{clearInterval(a.value)});const l=jl(),u=et(!1),f=async()=>{clearInterval(a.value),u.value=!0,await Ve.get(rr("/api/signout")).then(()=>{l.push("/signin")}).catch(()=>{l.push("/signin")}),s.newNotification("Sign out successful","success")};return(h,p)=>{const _=Kr("RouterLink");return me(),Oe("div",FT,[$("div",HT,[$("a",VT,[$("strong",null," Hi, "+Tt(Ct(s).clientProfile.Profile.Name?Ct(s).clientProfile.Profile.Name:Ct(s).clientProfile.Email),1)]),$("div",UT,[Le(_,{to:"/settings",class:"text-body btn btn-outline-body rounded-3 ms-auto btn-sm","aria-current":"page",href:"#"},{default:Ot(()=>p[1]||(p[1]=[$("i",{class:"bi bi-gear-fill me-sm-2"},null,-1),$("span",null,"Settings",-1)])),_:1,__:[1]}),$("a",{role:"button",onClick:p[0]||(p[0]=g=>f()),class:ln(["btn btn-outline-danger rounded-3 btn-sm",{disabled:u.value}]),"aria-current":"page"},[p[2]||(p[2]=$("i",{class:"bi bi-box-arrow-left me-sm-2"},null,-1)),$("span",null,Tt(u.value?"Signing out...":"Sign Out"),1)],2)])]),Le(oo,{name:"app",mode:"out-in"},{default:Ot(()=>[r.value?(me(),Oe("div",WT,p[4]||(p[4]=[$("div",{class:"bg-body rounded-3 d-flex",style:{width:"100%",height:"211px"}},[$("div",{class:"spinner-border m-auto"})],-1)]))):(me(),Oe("div",jT,[o.value.length>0?(me(),Oe("div",qT,[(me(!0),Oe(wt,null,to(o.value,g=>(me(),Jt(BT,{config:g},null,8,["config"]))),256))])):(me(),Oe("div",KT,p[3]||(p[3]=[$("small",null,"No configuration available",-1)])))]))]),_:1})])}}},zT=ir(YT,[["__scopeId","data-v-98284be0"]]),GT=["href"],JT={__name:"oidcBtn",props:["provider","name"],async setup(e){let t,n;const s=e,r=et(!1),o=et({}),a=new URLSearchParams({client_id:s.provider.client_id,redirect_uri:window.location.protocol+"//"+window.location.host+window.location.pathname,response_type:"code",state:s.name,scope:"openid email profile"}).toString(),l=et(void 0);try{const u=([t,n]=no(()=>Ve(`${s.provider.issuer}/.well-known/openid-configuration`)),t=await t,n(),t);console.log(u),r.value=!0,o.value=u.data,console.log(o.value),l.value=new URL(o.value.authorization_endpoint),l.value.search=a}catch{console.log("Provider not available",s.provider)}return(u,f)=>r.value?(me(),Oe("a",{key:0,class:"btn btn-sm btn-outline-body rounded-3",href:l.value,style:{flex:"1 1 0px"}},Tt(e.name),9,GT)):Kn("",!0)}},QT={key:0},XT={class:"d-flex gap-2"},ZT={__name:"oidc",async setup(e){let t,n;const s=et(!1),r=et(void 0),o=([t,n]=no(()=>Ki("/api/signin/oidc/providers")),t=await t,n(),t);return o&&(s.value=!0,r.value=o.data,console.log(r.value)),(a,l)=>r.value?(me(),Oe("div",QT,[l[1]||(l[1]=$("hr",null,null,-1)),l[2]||(l[2]=$("h6",{class:"text-center text-muted mb-3"},[$("small",null,"Sign in with")],-1)),$("div",XT,[(me(),Jt($h,null,{fallback:Ot(()=>l[0]||(l[0]=[$("a",{class:"btn btn-sm btn-outline-body rounded-3 w-100 disabled"}," Loading... ",-1)])),default:Ot(()=>[(me(!0),Oe(wt,null,to(r.value,(u,f)=>(me(),Jt(JT,{provider:u,name:f},null,8,["provider","name"]))),256))]),_:1}))]),l[3]||(l[3]=$("hr",null,null,-1))])):Kn("",!0)}},eA={class:"form-floating"},tA=["disabled"],nA={class:"form-floating"},sA=["disabled"],rA=["disabled"],iA={key:0,class:"d-block"},oA={key:1,class:"d-block"},aA={class:"d-flex align-items-center"},lA={__name:"signInForm",emits:["totpToken"],setup(e,{emit:t}){const n=et(!1),s=Sn({Email:"",Password:""}),r=t;et("");const o=dn(),a=async f=>{if(f.preventDefault(),!l){o.newNotification("Please fill in all fields","warning");return}n.value=!0;const h=await vo("/api/signin",s);h.status?r("totpToken",h.message):(o.newNotification(h.message,"danger"),n.value=!1)},l=ze(()=>Object.values(s).find(f=>!f)===void 0),u=I1();return u.query.Email&&(s.Email=u.query.Email),(f,h)=>{const p=Kr("RouterLink");return me(),Oe("div",null,[h[10]||(h[10]=$("div",{class:"text-center"},[$("h1",{class:"display-4"},"Welcome back"),$("p",{class:"text-muted"},[Ye("Sign in to access your "),$("strong",null,"WGDashboard Client"),Ye(" account")])],-1)),Le(ZT),$("form",{class:"mt-4 d-flex flex-column gap-3",onSubmit:h[2]||(h[2]=_=>a(_))},[$("div",eA,[un($("input",{type:"text",required:"",disabled:n.value,"onUpdate:modelValue":h[0]||(h[0]=_=>s.Email=_),name:"email",autocomplete:"email",autofocus:"",class:"form-control rounded-3 border-0",id:"email",placeholder:"email"},null,8,tA),[[wn,s.Email]]),h[3]||(h[3]=$("label",{for:"email",class:"d-flex"},[$("i",{class:"bi bi-person-circle me-2"}),Ye(" Email ")],-1))]),$("div",nA,[un($("input",{type:"password",required:"",disabled:n.value,"onUpdate:modelValue":h[1]||(h[1]=_=>s.Password=_),name:"password",autocomplete:"current-password",class:"form-control rounded-3 border-0",id:"password",placeholder:"Password"},null,8,sA),[[wn,s.Password]]),h[4]||(h[4]=$("label",{for:"password",class:"d-flex"},[$("i",{class:"bi bi-key me-2"}),Ye(" Password ")],-1))]),h[6]||(h[6]=$("div",{class:"d-flex"},[$("a",{href:"#",class:"text-body text-decoration-none ms-auto btn btn-sm rounded-3"}," Forgot Password? ")],-1)),$("button",{disabled:!l.value||n.value,class:"btn btn-primary rounded-3 btn-body px-3 py-2 fw-bold"},[n.value?(me(),Oe("span",oA,h[5]||(h[5]=[Ye(" Loading..."),$("i",{class:"ms-2 spinner-border spinner-border-sm"},null,-1)]))):(me(),Oe("span",iA," Sign In "))],8,rA)],32),$("div",null,[h[9]||(h[9]=$("hr",{class:"my-4"},null,-1)),$("div",aA,[h[8]||(h[8]=$("span",{class:"text-muted"}," Don't have an account yet? ",-1)),Le(p,{to:"/signup",class:"text-body text-decoration-none ms-auto fw-bold btn btn-sm btn-outline-body rounded-3"},{default:Ot(()=>h[7]||(h[7]=[Ye(" Sign Up ")])),_:1,__:[7]})])])])}}},cA={class:""},uA={key:0,class:"card rounded-3"},fA={class:"card-body d-flex gap-3 flex-column"},dA={class:"card rounded-3"},hA={class:"card-body"},pA=["href"],mA={key:0},gA={class:"d-flex flex-column gap-3"},_A=["disabled"],vA=["disabled"],bA={key:0,class:"d-block"},yA={key:1,class:"d-block"},EA={__name:"totpForm",props:["totpToken"],emits:["clearToken"],setup(e,{emit:t}){const n=e,s=et(""),r=Sn({TOTP:""}),o=et(!0),a=()=>{r.TOTP=r.TOTP.replace(/\D/i,"")},l=ze(()=>/^[0-9]{6}$/.test(r.TOTP)),u=dn(),f=jl();ws(()=>{Ve.get(rr("/api/signin/totp"),{params:{Token:n.totpToken}}).then(_=>{let g=_.data;o.value=!1,g.status?g.message&&(s.value=g.message):(u.newNotification(g.message,"danger"),f.push("/signin"))})});const h=t,p=async _=>{if(_&&_.preventDefault(),l){o.value=!0;const g=await vo("/api/signin/totp",{Token:n.totpToken,UserProvidedTOTP:r.TOTP});o.value=!1,g?g.status?(u.clientProfile=g.data,f.push("/")):u.newNotification(g.message,"danger"):(u.newNotification("Sign in status is invalid","danger"),h("clearToken"))}};return zs(l,()=>{p()}),(_,g)=>(me(),Oe("form",{class:"d-flex flex-column gap-3",onSubmit:g[3]||(g[3]=E=>p(E))},[$("div",null,[$("a",{role:"button",onClick:g[0]||(g[0]=E=>h("clearToken")),class:"btn btn-outline-body btn-sm rounded-3"},g[4]||(g[4]=[$("i",{class:"me-2 bi bi-chevron-left"},null,-1),Ye(" Back ")]))]),$("div",cA,[g[9]||(g[9]=$("h1",{class:"mb-3"},"Multi-Factor Authentication (MFA)",-1)),s.value?(me(),Oe("div",uA,[$("div",fA,[g[5]||(g[5]=$("h2",{class:"mb-0"},"Initial Setup",-1)),g[6]||(g[6]=$("p",{class:"mb-0"},"Please scan the following QR Code to generate TOTP with your choice of authenticator",-1)),Le(Fp,{content:s.value},null,8,["content"]),g[7]||(g[7]=$("p",{class:"mb-0"},"Or you can click the link below:",-1)),$("div",dA,[$("div",hA,[$("a",{href:s.value},Tt(s.value),9,pA)])]),g[8]||(g[8]=$("div",{class:"alert alert-warning mb-0"},[$("strong",null," Please note: You won't be able to see this QR Code again, so please save it somewhere safe in case you need to recover your TOTP key ")],-1))])])):Kn("",!0)]),s.value?(me(),Oe("hr",mA)):Kn("",!0),$("div",gA,[g[12]||(g[12]=$("label",{for:"totp"},"Enter the TOTP generated by your authenticator to verify",-1)),un($("input",{class:"form-control form-control-lg rounded-3 text-center",id:"totp",disabled:o.value,autofocus:"",onKeyup:g[1]||(g[1]=E=>a()),maxlength:"6",type:"text",inputmode:"numeric",placeholder:"- - - - - -",autocomplete:"one-time-code","onUpdate:modelValue":g[2]||(g[2]=E=>r.TOTP=E)},null,40,_A),[[wn,r.TOTP]]),$("button",{disabled:!l.value||o.value,class:"btn btn-body rounded-3 px-3 py-2 fw-bold"},[o.value?(me(),Oe("span",yA,g[11]||(g[11]=[Ye(" Loading... "),$("i",{class:"ms-2 spinner-border spinner-border-sm"},null,-1)]))):(me(),Oe("span",bA,g[10]||(g[10]=[Ye(" Continue "),$("i",{class:"ms-2 bi bi-arrow-right"},null,-1)])))],8,vA)])],32))}},wA={class:"p-3 p-sm-5"},TA={__name:"signin",setup(e){const t=et("");return(n,s)=>(me(),Oe("div",wA,[Le(oo,{name:"app",mode:"out-in"},{default:Ot(()=>[t.value?(me(),Jt(EA,{key:1,onClearToken:s[1]||(s[1]=r=>t.value=""),"totp-token":t.value},null,8,["totp-token"])):(me(),Jt(lA,{key:0,onTotpToken:s[0]||(s[0]=r=>{t.value=r})}))]),_:1})]))}},AA={class:"p-3 p-sm-5"},SA={class:"form-floating"},CA=["disabled"],OA={class:"row gx-3"},RA={class:"col-6"},NA={class:"form-floating"},xA=["disabled"],$A={class:"col-6"},PA={class:"form-floating"},DA=["disabled"],LA=["disabled"],IA={key:0,class:"d-block"},MA={key:1,class:"d-block"},kA={class:"d-flex align-items-center"},BA={__name:"signup",setup(e){const t=dn(),n=Sn({Email:"",Password:"",ConfirmPassword:""}),s=et(!1),r=jl(),o=async u=>{if(u.preventDefault(),!l){t.newNotification("Please fill in all fields","warning");return}a&&(s.value=!0,await Ve.post(rr("/api/signup"),n).then(f=>{let h=f.data;h.status?(t.newNotification("Sign up successfully!","success"),r.push({path:"/signin",query:{Email:n.Email}})):(t.newNotification(h.message,"danger"),s.value=!1)}))},a=ze(()=>n.Password&&n.ConfirmPassword?n.Password===n.ConfirmPassword:!1),l=ze(()=>Object.values(n).find(u=>!u)===void 0);return ws(()=>{document.querySelectorAll("input[type=password]").forEach(u=>u.addEventListener("blur",()=>{n.Password&&n.ConfirmPassword&&document.querySelectorAll("input[type=password]").forEach(f=>{a.value?f.classList.remove("is-invalid"):f.classList.add("is-invalid")})}))}),(u,f)=>{const h=Kr("RouterLink");return me(),Oe("div",AA,[f[13]||(f[13]=$("div",{class:"text-center"},[$("h1",{class:"display-4"},"Hi, nice to meet you"),$("p",{class:"text-muted"},[Ye("Sign up to use "),$("strong",null,"WGDashboard Client")])],-1)),$("form",{class:"mt-4 d-flex flex-column gap-3",onSubmit:f[3]||(f[3]=p=>o(p))},[$("div",SA,[un($("input",{type:"text",disabled:s.value,required:"","onUpdate:modelValue":f[0]||(f[0]=p=>n.Email=p),name:"email",autocomplete:"email",autofocus:"",class:"form-control rounded-3",id:"email",placeholder:"email"},null,8,CA),[[wn,n.Email]]),f[4]||(f[4]=$("label",{for:"email",class:"d-flex"},[$("i",{class:"bi bi-person-circle me-2"}),Ye(" Email ")],-1))]),$("div",OA,[$("div",RA,[$("div",NA,[un($("input",{type:"password",required:"",disabled:s.value,"onUpdate:modelValue":f[1]||(f[1]=p=>n.Password=p),name:"password",autocomplete:"new-password",autofocus:"",class:"form-control rounded-3",id:"password",placeholder:"password"},null,8,xA),[[wn,n.Password]]),f[5]||(f[5]=$("label",{for:"password",class:"d-flex"},[$("i",{class:"bi bi-key me-2"}),Ye(" Password ")],-1))])]),$("div",$A,[$("div",PA,[un($("input",{type:"password",required:"",disabled:s.value,"onUpdate:modelValue":f[2]||(f[2]=p=>n.ConfirmPassword=p),name:"confirm_password",autocomplete:"new-password",autofocus:"",class:"form-control rounded-3",id:"confirm_password",placeholder:"confirm_password"},null,8,DA),[[wn,n.ConfirmPassword]]),f[6]||(f[6]=$("label",{for:"confirm_password",class:"d-flex"},[$("i",{class:"bi bi-key me-2"}),Ye(" Confirm Password ")],-1)),f[7]||(f[7]=$("div",{id:"validationServer03Feedback",class:"invalid-feedback"}," Passwords does not match ",-1))])])]),$("button",{disabled:!l.value||!a.value||s.value,class:"btn btn-primary rounded-3 btn-body px-3 py-2 fw-bold"},[s.value?(me(),Oe("span",MA,f[9]||(f[9]=[Ye(" Loading... "),$("i",{class:"spinner-border spinner-border-sm"},null,-1)]))):(me(),Oe("span",IA,f[8]||(f[8]=[Ye(" Continue "),$("i",{class:"ms-2 bi bi-arrow-right"},null,-1)])))],8,LA)],32),$("div",null,[f[12]||(f[12]=$("hr",{class:"my-4"},null,-1)),$("div",kA,[f[11]||(f[11]=$("span",{class:"text-muted"}," Already have an account? ",-1)),Le(h,{to:"/signin",class:"text-body text-decoration-none ms-auto fw-bold btn btn-sm btn-outline-body rounded-3"},{default:Ot(()=>f[10]||(f[10]=[Ye(" Sign In ")])),_:1,__:[10]})])])])}}},FA={class:"p-3"},HA=["for"],VA=["id","onUpdate:modelValue"],UA={__name:"profile",setup(e){const t=dn(),n={Name:"Name"};return(s,r)=>(me(),Oe("div",FA,[r[0]||(r[0]=$("h5",null," Profile ",-1)),(me(!0),Oe(wt,null,to(Ct(t).clientProfile.Profile,(o,a)=>(me(),Oe("div",null,[$("label",{for:a,class:"text-muted form-label"},[$("small",null,Tt(n[a]),1)],8,HA),un($("input",{id:a,class:"form-control rounded-3","onUpdate:modelValue":l=>Ct(t).clientProfile.Profile[a]=l},null,8,VA),[[wn,Ct(t).clientProfile.Profile[a]]])]))),256))]))}},jA={class:"d-flex align-items-start"},qA={key:0,class:"alert alert-danger rounded-3 mt-3"},KA={class:"row g-2 mb-3"},WA={class:"col-sm-12"},YA=["type"],zA={class:"col-sm-6"},GA=["type"],JA={class:"col-sm-6"},QA=["type"],XA={__name:"updatePassword",setup(e){const t=Sn({CurrentPassword:"",NewPassword:"",ConfirmNewPassword:""}),n=()=>{t.CurrentPassword="",t.NewPassword="",t.ConfirmNewPassword=""},s=dn(),r=async u=>{u.preventDefault(),document.querySelectorAll("#updatePasswordForm input").forEach(h=>h.blur());const f=await vo("/api/settings/updatePassword",t);f?f.status?(a.value=!1,s.newNotification("Password updated!","success"),n()):(a.value=!0,l.value=f.message):(a.value=!0,l.value="Error occurred")},o=et(!1),a=et(!1),l=et("");return(u,f)=>(me(),Oe("form",{onSubmit:f[4]||(f[4]=h=>r(h)),id:"updatePasswordForm",onReset:f[5]||(f[5]=h=>n()),class:"p-3"},[$("div",jA,[f[6]||(f[6]=$("h5",null," Update Password ",-1)),$("a",{role:"button",onClick:f[0]||(f[0]=h=>o.value=!o.value),class:"text-muted ms-auto text-decoration-none"},[$("small",null,[$("i",{class:ln([[o.value?"bi-eye-slash-fill":"bi-eye-fill"],"bi me-2"])},null,2),Ye(Tt(o.value?"Hide":"Show")+" Password ",1)])])]),a.value?(me(),Oe("div",qA,Tt(l.value),1)):Kn("",!0),$("div",KA,[$("div",WA,[f[7]||(f[7]=$("label",{class:"text-muted form-label",for:"CurrentPassword"},[$("small",null,"Current Password")],-1)),un($("input",{class:ln(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",autocomplete:"current-password",id:"CurrentPassword","onUpdate:modelValue":f[1]||(f[1]=h=>t.CurrentPassword=h)},null,10,YA),[[fa,t.CurrentPassword]])]),$("div",zA,[f[8]||(f[8]=$("label",{class:"text-muted form-label",for:"NewPassword"},[$("small",null,"New Password")],-1)),un($("input",{class:ln(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",id:"NewPassword",autocomplete:"new-password","onUpdate:modelValue":f[2]||(f[2]=h=>t.NewPassword=h)},null,10,GA),[[fa,t.NewPassword]])]),$("div",JA,[f[9]||(f[9]=$("label",{class:"text-muted form-label",for:"ConfirmNewPassword"},[$("small",null,"Confirm New Password")],-1)),un($("input",{class:ln(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",id:"ConfirmNewPassword",autocomplete:"new-password","onUpdate:modelValue":f[3]||(f[3]=h=>t.ConfirmNewPassword=h)},null,10,QA),[[fa,t.ConfirmNewPassword]])])]),f[10]||(f[10]=$("div",{class:"d-flex gap-2"},[$("button",{class:"btn btn-sm btn-secondary rounded-3 ms-auto",type:"reset"},"Clear"),$("button",{class:"btn btn-sm btn-danger rounded-3",type:"submit"},"Update")],-1))],32))}},ZA={class:"p-sm-3"},eS={class:"w-100 d-flex align-items-center p-3"},tS={__name:"settings",async setup(e){let t,n;const s=dn();return[t,n]=no(()=>s.getClientProfile()),await t,n(),(r,o)=>{const a=Kr("RouterLink");return me(),Oe("div",ZA,[$("div",eS,[Le(a,{to:"/",class:"text-body btn btn-outline-body rounded-3 btn-sm","aria-current":"page",href:"#"},{default:Ot(()=>o[0]||(o[0]=[$("i",{class:"bi bi-chevron-left me-sm-2"},null,-1),$("span",null,"Back",-1)])),_:1,__:[0]}),o[1]||(o[1]=$("strong",{class:"ms-auto"},"Settings",-1))]),Le(UA),Ct(s).clientProfile.SignInMethod==="local"?(me(),Jt(XA,{key:0})):Kn("",!0)])}}},Kl=D1({history:a1(),routes:[{path:"/",component:zT,meta:{auth:!0},name:"Home"},{path:"/settings",component:tS,meta:{auth:!0},name:"Settings"},{path:"/signin",component:TA,name:"Sign In"},{path:"/signup",component:BA,name:"Sign Up"},{path:"/signout",name:"Sign Out"}]});Kl.beforeEach(async(e,t,n)=>{const s=dn();e.path==="/signout"?(await Ve.get(rr("/api/signout")).then(()=>{n("/signin")}).catch(()=>{n("/signin")}),s.newNotification("Sign in session ended, please sign in again","warning")):e.meta.auth?await Ki("/api/validateAuthentication")?n():(s.newNotification("Sign in session ended, please sign in again","warning"),n("/signin")):n()});Kl.afterEach((e,t,n)=>{document.title=e.name+" | WGDashboard Client"});var Pi={exports:{}};/*!
|
|
* Bootstrap v5.3.6 (https://getbootstrap.com/)
|
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
*/var nS=Pi.exports,md;function sS(){return md||(md=1,function(e,t){(function(n,s){e.exports=s()})(nS,function(){const n=new Map,s={set(d,i,c){n.has(d)||n.set(d,new Map);const m=n.get(d);if(!m.has(i)&&m.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(m.keys())[0]}.`);return}m.set(i,c)},get(d,i){return n.has(d)&&n.get(d).get(i)||null},remove(d,i){if(!n.has(d))return;const c=n.get(d);c.delete(i),c.size===0&&n.delete(d)}},r=1e6,o=1e3,a="transitionend",l=d=>(d&&window.CSS&&window.CSS.escape&&(d=d.replace(/#([^\s"#']+)/g,(i,c)=>`#${CSS.escape(c)}`)),d),u=d=>d==null?`${d}`:Object.prototype.toString.call(d).match(/\s([a-z]+)/i)[1].toLowerCase(),f=d=>{do d+=Math.floor(Math.random()*r);while(document.getElementById(d));return d},h=d=>{if(!d)return 0;let{transitionDuration:i,transitionDelay:c}=window.getComputedStyle(d);const m=Number.parseFloat(i),y=Number.parseFloat(c);return!m&&!y?0:(i=i.split(",")[0],c=c.split(",")[0],(Number.parseFloat(i)+Number.parseFloat(c))*o)},p=d=>{d.dispatchEvent(new Event(a))},_=d=>!d||typeof d!="object"?!1:(typeof d.jquery<"u"&&(d=d[0]),typeof d.nodeType<"u"),g=d=>_(d)?d.jquery?d[0]:d:typeof d=="string"&&d.length>0?document.querySelector(l(d)):null,E=d=>{if(!_(d)||d.getClientRects().length===0)return!1;const i=getComputedStyle(d).getPropertyValue("visibility")==="visible",c=d.closest("details:not([open])");if(!c)return i;if(c!==d){const m=d.closest("summary");if(m&&m.parentNode!==c||m===null)return!1}return i},A=d=>!d||d.nodeType!==Node.ELEMENT_NODE||d.classList.contains("disabled")?!0:typeof d.disabled<"u"?d.disabled:d.hasAttribute("disabled")&&d.getAttribute("disabled")!=="false",H=d=>{if(!document.documentElement.attachShadow)return null;if(typeof d.getRootNode=="function"){const i=d.getRootNode();return i instanceof ShadowRoot?i:null}return d instanceof ShadowRoot?d:d.parentNode?H(d.parentNode):null},I=()=>{},F=d=>{d.offsetHeight},k=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,U=[],q=d=>{document.readyState==="loading"?(U.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of U)i()}),U.push(d)):d()},O=()=>document.documentElement.dir==="rtl",R=d=>{q(()=>{const i=k();if(i){const c=d.NAME,m=i.fn[c];i.fn[c]=d.jQueryInterface,i.fn[c].Constructor=d,i.fn[c].noConflict=()=>(i.fn[c]=m,d.jQueryInterface)}})},w=(d,i=[],c=d)=>typeof d=="function"?d.call(...i):c,S=(d,i,c=!0)=>{if(!c){w(d);return}const y=h(i)+5;let x=!1;const P=({target:W})=>{W===i&&(x=!0,i.removeEventListener(a,P),w(d))};i.addEventListener(a,P),setTimeout(()=>{x||p(i)},y)},L=(d,i,c,m)=>{const y=d.length;let x=d.indexOf(i);return x===-1?!c&&m?d[y-1]:d[0]:(x+=c?1:-1,m&&(x=(x+y)%y),d[Math.max(0,Math.min(x,y-1))])},M=/[^.]*(?=\..*)\.|.*/,D=/\..*/,z=/::\d+$/,j={};let X=1;const Y={mouseenter:"mouseover",mouseleave:"mouseout"},Q=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function J(d,i){return i&&`${i}::${X++}`||d.uidEvent||X++}function ce(d){const i=J(d);return d.uidEvent=i,j[i]=j[i]||{},j[i]}function ue(d,i){return function c(m){return te(m,{delegateTarget:d}),c.oneOff&&T.off(d,m.type,i),i.apply(d,[m])}}function _e(d,i,c){return function m(y){const x=d.querySelectorAll(i);for(let{target:P}=y;P&&P!==this;P=P.parentNode)for(const W of x)if(W===P)return te(y,{delegateTarget:P}),m.oneOff&&T.off(d,y.type,i,c),c.apply(P,[y])}}function be(d,i,c=null){return Object.values(d).find(m=>m.callable===i&&m.delegationSelector===c)}function Ne(d,i,c){const m=typeof i=="string",y=m?c:i||c;let x=V(d);return Q.has(x)||(x=d),[m,y,x]}function Ie(d,i,c,m,y){if(typeof i!="string"||!d)return;let[x,P,W]=Ne(i,c,m);i in Y&&(P=(Ue=>function(Se){if(!Se.relatedTarget||Se.relatedTarget!==Se.delegateTarget&&!Se.delegateTarget.contains(Se.relatedTarget))return Ue.call(this,Se)})(P));const ee=ce(d),le=ee[W]||(ee[W]={}),ne=be(le,P,x?c:null);if(ne){ne.oneOff=ne.oneOff&&y;return}const Te=J(P,i.replace(M,"")),Ae=x?_e(d,c,P):ue(d,P);Ae.delegationSelector=x?c:null,Ae.callable=P,Ae.oneOff=y,Ae.uidEvent=Te,le[Te]=Ae,d.addEventListener(W,Ae,x)}function qe(d,i,c,m,y){const x=be(i[c],m,y);x&&(d.removeEventListener(c,x,!!y),delete i[c][x.uidEvent])}function We(d,i,c,m){const y=i[c]||{};for(const[x,P]of Object.entries(y))x.includes(m)&&qe(d,i,c,P.callable,P.delegationSelector)}function V(d){return d=d.replace(D,""),Y[d]||d}const T={on(d,i,c,m){Ie(d,i,c,m,!1)},one(d,i,c,m){Ie(d,i,c,m,!0)},off(d,i,c,m){if(typeof i!="string"||!d)return;const[y,x,P]=Ne(i,c,m),W=P!==i,ee=ce(d),le=ee[P]||{},ne=i.startsWith(".");if(typeof x<"u"){if(!Object.keys(le).length)return;qe(d,ee,P,x,y?c:null);return}if(ne)for(const Te of Object.keys(ee))We(d,ee,Te,i.slice(1));for(const[Te,Ae]of Object.entries(le)){const ve=Te.replace(z,"");(!W||i.includes(ve))&&qe(d,ee,P,Ae.callable,Ae.delegationSelector)}},trigger(d,i,c){if(typeof i!="string"||!d)return null;const m=k(),y=V(i),x=i!==y;let P=null,W=!0,ee=!0,le=!1;x&&m&&(P=m.Event(i,c),m(d).trigger(P),W=!P.isPropagationStopped(),ee=!P.isImmediatePropagationStopped(),le=P.isDefaultPrevented());const ne=te(new Event(i,{bubbles:W,cancelable:!0}),c);return le&&ne.preventDefault(),ee&&d.dispatchEvent(ne),ne.defaultPrevented&&P&&P.preventDefault(),ne}};function te(d,i={}){for(const[c,m]of Object.entries(i))try{d[c]=m}catch{Object.defineProperty(d,c,{configurable:!0,get(){return m}})}return d}function ie(d){if(d==="true")return!0;if(d==="false")return!1;if(d===Number(d).toString())return Number(d);if(d===""||d==="null")return null;if(typeof d!="string")return d;try{return JSON.parse(decodeURIComponent(d))}catch{return d}}function Ee(d){return d.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}const v={setDataAttribute(d,i,c){d.setAttribute(`data-bs-${Ee(i)}`,c)},removeDataAttribute(d,i){d.removeAttribute(`data-bs-${Ee(i)}`)},getDataAttributes(d){if(!d)return{};const i={},c=Object.keys(d.dataset).filter(m=>m.startsWith("bs")&&!m.startsWith("bsConfig"));for(const m of c){let y=m.replace(/^bs/,"");y=y.charAt(0).toLowerCase()+y.slice(1),i[y]=ie(d.dataset[m])}return i},getDataAttribute(d,i){return ie(d.getAttribute(`data-bs-${Ee(i)}`))}};class b{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(i){return i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i}_mergeConfigObj(i,c){const m=_(c)?v.getDataAttribute(c,"config"):{};return{...this.constructor.Default,...typeof m=="object"?m:{},..._(c)?v.getDataAttributes(c):{},...typeof i=="object"?i:{}}}_typeCheckConfig(i,c=this.constructor.DefaultType){for(const[m,y]of Object.entries(c)){const x=i[m],P=_(x)?"element":u(x);if(!new RegExp(y).test(P))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${m}" provided type "${P}" but expected type "${y}".`)}}}const C="5.3.6";class K extends b{constructor(i,c){super(),i=g(i),i&&(this._element=i,this._config=this._getConfig(c),s.set(this._element,this.constructor.DATA_KEY,this))}dispose(){s.remove(this._element,this.constructor.DATA_KEY),T.off(this._element,this.constructor.EVENT_KEY);for(const i of Object.getOwnPropertyNames(this))this[i]=null}_queueCallback(i,c,m=!0){S(i,c,m)}_getConfig(i){return i=this._mergeConfigObj(i,this._element),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}static getInstance(i){return s.get(g(i),this.DATA_KEY)}static getOrCreateInstance(i,c={}){return this.getInstance(i)||new this(i,typeof c=="object"?c:null)}static get VERSION(){return C}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(i){return`${i}${this.EVENT_KEY}`}}const G=d=>{let i=d.getAttribute("data-bs-target");if(!i||i==="#"){let c=d.getAttribute("href");if(!c||!c.includes("#")&&!c.startsWith("."))return null;c.includes("#")&&!c.startsWith("#")&&(c=`#${c.split("#")[1]}`),i=c&&c!=="#"?c.trim():null}return i?i.split(",").map(c=>l(c)).join(","):null},N={find(d,i=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(i,d))},findOne(d,i=document.documentElement){return Element.prototype.querySelector.call(i,d)},children(d,i){return[].concat(...d.children).filter(c=>c.matches(i))},parents(d,i){const c=[];let m=d.parentNode.closest(i);for(;m;)c.push(m),m=m.parentNode.closest(i);return c},prev(d,i){let c=d.previousElementSibling;for(;c;){if(c.matches(i))return[c];c=c.previousElementSibling}return[]},next(d,i){let c=d.nextElementSibling;for(;c;){if(c.matches(i))return[c];c=c.nextElementSibling}return[]},focusableChildren(d){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(c=>`${c}:not([tabindex^="-"])`).join(",");return this.find(i,d).filter(c=>!A(c)&&E(c))},getSelectorFromElement(d){const i=G(d);return i&&N.findOne(i)?i:null},getElementFromSelector(d){const i=G(d);return i?N.findOne(i):null},getMultipleElementsFromSelector(d){const i=G(d);return i?N.find(i):[]}},oe=(d,i="hide")=>{const c=`click.dismiss${d.EVENT_KEY}`,m=d.NAME;T.on(document,c,`[data-bs-dismiss="${m}"]`,function(y){if(["A","AREA"].includes(this.tagName)&&y.preventDefault(),A(this))return;const x=N.getElementFromSelector(this)||this.closest(`.${m}`);d.getOrCreateInstance(x)[i]()})},re="alert",Z=".bs.alert",he=`close${Z}`,ae=`closed${Z}`,fe="fade",pe="show";class we extends K{static get NAME(){return re}close(){if(T.trigger(this._element,he).defaultPrevented)return;this._element.classList.remove(pe);const c=this._element.classList.contains(fe);this._queueCallback(()=>this._destroyElement(),this._element,c)}_destroyElement(){this._element.remove(),T.trigger(this._element,ae),this.dispose()}static jQueryInterface(i){return this.each(function(){const c=we.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}oe(we,"close"),R(we);const Me="button",mt=".bs.button",ut=".data-api",kt="active",xt='[data-bs-toggle="button"]',Yn=`click${mt}${ut}`;class On extends K{static get NAME(){return Me}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(kt))}static jQueryInterface(i){return this.each(function(){const c=On.getOrCreateInstance(this);i==="toggle"&&c[i]()})}}T.on(document,Yn,xt,d=>{d.preventDefault();const i=d.target.closest(xt);On.getOrCreateInstance(i).toggle()}),R(On);const gt="swipe",it=".bs.swipe",zr=`touchstart${it}`,Vp=`touchmove${it}`,Up=`touchend${it}`,jp=`pointerdown${it}`,qp=`pointerup${it}`,Kp="touch",Wp="pen",Yp="pointer-event",zp=40,Gp={endCallback:null,leftCallback:null,rightCallback:null},Jp={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Gr extends b{constructor(i,c){super(),this._element=i,!(!i||!Gr.isSupported())&&(this._config=this._getConfig(c),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Gp}static get DefaultType(){return Jp}static get NAME(){return gt}dispose(){T.off(this._element,it)}_start(i){if(!this._supportPointerEvents){this._deltaX=i.touches[0].clientX;return}this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX)}_end(i){this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX-this._deltaX),this._handleSwipe(),w(this._config.endCallback)}_move(i){this._deltaX=i.touches&&i.touches.length>1?0:i.touches[0].clientX-this._deltaX}_handleSwipe(){const i=Math.abs(this._deltaX);if(i<=zp)return;const c=i/this._deltaX;this._deltaX=0,c&&w(c>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(T.on(this._element,jp,i=>this._start(i)),T.on(this._element,qp,i=>this._end(i)),this._element.classList.add(Yp)):(T.on(this._element,zr,i=>this._start(i)),T.on(this._element,Vp,i=>this._move(i)),T.on(this._element,Up,i=>this._end(i)))}_eventIsPointerPenTouch(i){return this._supportPointerEvents&&(i.pointerType===Wp||i.pointerType===Kp)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Qp="carousel",Rn=".bs.carousel",Wl=".data-api",Xp="ArrowLeft",Zp="ArrowRight",em=500,or="next",Ss="prev",Cs="left",Jr="right",tm=`slide${Rn}`,bo=`slid${Rn}`,nm=`keydown${Rn}`,sm=`mouseenter${Rn}`,rm=`mouseleave${Rn}`,im=`dragstart${Rn}`,om=`load${Rn}${Wl}`,am=`click${Rn}${Wl}`,Yl="carousel",Qr="active",lm="slide",cm="carousel-item-end",um="carousel-item-start",fm="carousel-item-next",dm="carousel-item-prev",zl=".active",Gl=".carousel-item",hm=zl+Gl,pm=".carousel-item img",mm=".carousel-indicators",gm="[data-bs-slide], [data-bs-slide-to]",_m='[data-bs-ride="carousel"]',vm={[Xp]:Jr,[Zp]:Cs},bm={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ym={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Os extends K{constructor(i,c){super(i,c),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=N.findOne(mm,this._element),this._addEventListeners(),this._config.ride===Yl&&this.cycle()}static get Default(){return bm}static get DefaultType(){return ym}static get NAME(){return Qp}next(){this._slide(or)}nextWhenVisible(){!document.hidden&&E(this._element)&&this.next()}prev(){this._slide(Ss)}pause(){this._isSliding&&p(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){T.one(this._element,bo,()=>this.cycle());return}this.cycle()}}to(i){const c=this._getItems();if(i>c.length-1||i<0)return;if(this._isSliding){T.one(this._element,bo,()=>this.to(i));return}const m=this._getItemIndex(this._getActive());if(m===i)return;const y=i>m?or:Ss;this._slide(y,c[i])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(i){return i.defaultInterval=i.interval,i}_addEventListeners(){this._config.keyboard&&T.on(this._element,nm,i=>this._keydown(i)),this._config.pause==="hover"&&(T.on(this._element,sm,()=>this.pause()),T.on(this._element,rm,()=>this._maybeEnableCycle())),this._config.touch&&Gr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const m of N.find(pm,this._element))T.on(m,im,y=>y.preventDefault());const c={leftCallback:()=>this._slide(this._directionToOrder(Cs)),rightCallback:()=>this._slide(this._directionToOrder(Jr)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),em+this._config.interval))}};this._swipeHelper=new Gr(this._element,c)}_keydown(i){if(/input|textarea/i.test(i.target.tagName))return;const c=vm[i.key];c&&(i.preventDefault(),this._slide(this._directionToOrder(c)))}_getItemIndex(i){return this._getItems().indexOf(i)}_setActiveIndicatorElement(i){if(!this._indicatorsElement)return;const c=N.findOne(zl,this._indicatorsElement);c.classList.remove(Qr),c.removeAttribute("aria-current");const m=N.findOne(`[data-bs-slide-to="${i}"]`,this._indicatorsElement);m&&(m.classList.add(Qr),m.setAttribute("aria-current","true"))}_updateInterval(){const i=this._activeElement||this._getActive();if(!i)return;const c=Number.parseInt(i.getAttribute("data-bs-interval"),10);this._config.interval=c||this._config.defaultInterval}_slide(i,c=null){if(this._isSliding)return;const m=this._getActive(),y=i===or,x=c||L(this._getItems(),m,y,this._config.wrap);if(x===m)return;const P=this._getItemIndex(x),W=ve=>T.trigger(this._element,ve,{relatedTarget:x,direction:this._orderToDirection(i),from:this._getItemIndex(m),to:P});if(W(tm).defaultPrevented||!m||!x)return;const le=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(P),this._activeElement=x;const ne=y?um:cm,Te=y?fm:dm;x.classList.add(Te),F(x),m.classList.add(ne),x.classList.add(ne);const Ae=()=>{x.classList.remove(ne,Te),x.classList.add(Qr),m.classList.remove(Qr,Te,ne),this._isSliding=!1,W(bo)};this._queueCallback(Ae,m,this._isAnimated()),le&&this.cycle()}_isAnimated(){return this._element.classList.contains(lm)}_getActive(){return N.findOne(hm,this._element)}_getItems(){return N.find(Gl,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(i){return O()?i===Cs?Ss:or:i===Cs?or:Ss}_orderToDirection(i){return O()?i===Ss?Cs:Jr:i===Ss?Jr:Cs}static jQueryInterface(i){return this.each(function(){const c=Os.getOrCreateInstance(this,i);if(typeof i=="number"){c.to(i);return}if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}T.on(document,am,gm,function(d){const i=N.getElementFromSelector(this);if(!i||!i.classList.contains(Yl))return;d.preventDefault();const c=Os.getOrCreateInstance(i),m=this.getAttribute("data-bs-slide-to");if(m){c.to(m),c._maybeEnableCycle();return}if(v.getDataAttribute(this,"slide")==="next"){c.next(),c._maybeEnableCycle();return}c.prev(),c._maybeEnableCycle()}),T.on(window,om,()=>{const d=N.find(_m);for(const i of d)Os.getOrCreateInstance(i)}),R(Os);const Em="collapse",ar=".bs.collapse",wm=".data-api",Tm=`show${ar}`,Am=`shown${ar}`,Sm=`hide${ar}`,Cm=`hidden${ar}`,Om=`click${ar}${wm}`,yo="show",Rs="collapse",Xr="collapsing",Rm="collapsed",Nm=`:scope .${Rs} .${Rs}`,xm="collapse-horizontal",$m="width",Pm="height",Dm=".collapse.show, .collapse.collapsing",Eo='[data-bs-toggle="collapse"]',Lm={parent:null,toggle:!0},Im={parent:"(null|element)",toggle:"boolean"};class Ns extends K{constructor(i,c){super(i,c),this._isTransitioning=!1,this._triggerArray=[];const m=N.find(Eo);for(const y of m){const x=N.getSelectorFromElement(y),P=N.find(x).filter(W=>W===this._element);x!==null&&P.length&&this._triggerArray.push(y)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Lm}static get DefaultType(){return Im}static get NAME(){return Em}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let i=[];if(this._config.parent&&(i=this._getFirstLevelChildren(Dm).filter(W=>W!==this._element).map(W=>Ns.getOrCreateInstance(W,{toggle:!1}))),i.length&&i[0]._isTransitioning||T.trigger(this._element,Tm).defaultPrevented)return;for(const W of i)W.hide();const m=this._getDimension();this._element.classList.remove(Rs),this._element.classList.add(Xr),this._element.style[m]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const y=()=>{this._isTransitioning=!1,this._element.classList.remove(Xr),this._element.classList.add(Rs,yo),this._element.style[m]="",T.trigger(this._element,Am)},P=`scroll${m[0].toUpperCase()+m.slice(1)}`;this._queueCallback(y,this._element,!0),this._element.style[m]=`${this._element[P]}px`}hide(){if(this._isTransitioning||!this._isShown()||T.trigger(this._element,Sm).defaultPrevented)return;const c=this._getDimension();this._element.style[c]=`${this._element.getBoundingClientRect()[c]}px`,F(this._element),this._element.classList.add(Xr),this._element.classList.remove(Rs,yo);for(const y of this._triggerArray){const x=N.getElementFromSelector(y);x&&!this._isShown(x)&&this._addAriaAndCollapsedClass([y],!1)}this._isTransitioning=!0;const m=()=>{this._isTransitioning=!1,this._element.classList.remove(Xr),this._element.classList.add(Rs),T.trigger(this._element,Cm)};this._element.style[c]="",this._queueCallback(m,this._element,!0)}_isShown(i=this._element){return i.classList.contains(yo)}_configAfterMerge(i){return i.toggle=!!i.toggle,i.parent=g(i.parent),i}_getDimension(){return this._element.classList.contains(xm)?$m:Pm}_initializeChildren(){if(!this._config.parent)return;const i=this._getFirstLevelChildren(Eo);for(const c of i){const m=N.getElementFromSelector(c);m&&this._addAriaAndCollapsedClass([c],this._isShown(m))}}_getFirstLevelChildren(i){const c=N.find(Nm,this._config.parent);return N.find(i,this._config.parent).filter(m=>!c.includes(m))}_addAriaAndCollapsedClass(i,c){if(i.length)for(const m of i)m.classList.toggle(Rm,!c),m.setAttribute("aria-expanded",c)}static jQueryInterface(i){const c={};return typeof i=="string"&&/show|hide/.test(i)&&(c.toggle=!1),this.each(function(){const m=Ns.getOrCreateInstance(this,c);if(typeof i=="string"){if(typeof m[i]>"u")throw new TypeError(`No method named "${i}"`);m[i]()}})}}T.on(document,Om,Eo,function(d){(d.target.tagName==="A"||d.delegateTarget&&d.delegateTarget.tagName==="A")&&d.preventDefault();for(const i of N.getMultipleElementsFromSelector(this))Ns.getOrCreateInstance(i,{toggle:!1}).toggle()}),R(Ns);var _t="top",$t="bottom",Pt="right",vt="left",Zr="auto",xs=[_t,$t,Pt,vt],zn="start",$s="end",Jl="clippingParents",wo="viewport",Ps="popper",Ql="reference",To=xs.reduce(function(d,i){return d.concat([i+"-"+zn,i+"-"+$s])},[]),Ao=[].concat(xs,[Zr]).reduce(function(d,i){return d.concat([i,i+"-"+zn,i+"-"+$s])},[]),Xl="beforeRead",Zl="read",ec="afterRead",tc="beforeMain",nc="main",sc="afterMain",rc="beforeWrite",ic="write",oc="afterWrite",ac=[Xl,Zl,ec,tc,nc,sc,rc,ic,oc];function Zt(d){return d?(d.nodeName||"").toLowerCase():null}function Dt(d){if(d==null)return window;if(d.toString()!=="[object Window]"){var i=d.ownerDocument;return i&&i.defaultView||window}return d}function Gn(d){var i=Dt(d).Element;return d instanceof i||d instanceof Element}function Bt(d){var i=Dt(d).HTMLElement;return d instanceof i||d instanceof HTMLElement}function So(d){if(typeof ShadowRoot>"u")return!1;var i=Dt(d).ShadowRoot;return d instanceof i||d instanceof ShadowRoot}function Mm(d){var i=d.state;Object.keys(i.elements).forEach(function(c){var m=i.styles[c]||{},y=i.attributes[c]||{},x=i.elements[c];!Bt(x)||!Zt(x)||(Object.assign(x.style,m),Object.keys(y).forEach(function(P){var W=y[P];W===!1?x.removeAttribute(P):x.setAttribute(P,W===!0?"":W)}))})}function km(d){var i=d.state,c={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,c.popper),i.styles=c,i.elements.arrow&&Object.assign(i.elements.arrow.style,c.arrow),function(){Object.keys(i.elements).forEach(function(m){var y=i.elements[m],x=i.attributes[m]||{},P=Object.keys(i.styles.hasOwnProperty(m)?i.styles[m]:c[m]),W=P.reduce(function(ee,le){return ee[le]="",ee},{});!Bt(y)||!Zt(y)||(Object.assign(y.style,W),Object.keys(x).forEach(function(ee){y.removeAttribute(ee)}))})}}const Co={name:"applyStyles",enabled:!0,phase:"write",fn:Mm,effect:km,requires:["computeStyles"]};function en(d){return d.split("-")[0]}var Jn=Math.max,ei=Math.min,Ds=Math.round;function Oo(){var d=navigator.userAgentData;return d!=null&&d.brands&&Array.isArray(d.brands)?d.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function lc(){return!/^((?!chrome|android).)*safari/i.test(Oo())}function Ls(d,i,c){i===void 0&&(i=!1),c===void 0&&(c=!1);var m=d.getBoundingClientRect(),y=1,x=1;i&&Bt(d)&&(y=d.offsetWidth>0&&Ds(m.width)/d.offsetWidth||1,x=d.offsetHeight>0&&Ds(m.height)/d.offsetHeight||1);var P=Gn(d)?Dt(d):window,W=P.visualViewport,ee=!lc()&&c,le=(m.left+(ee&&W?W.offsetLeft:0))/y,ne=(m.top+(ee&&W?W.offsetTop:0))/x,Te=m.width/y,Ae=m.height/x;return{width:Te,height:Ae,top:ne,right:le+Te,bottom:ne+Ae,left:le,x:le,y:ne}}function Ro(d){var i=Ls(d),c=d.offsetWidth,m=d.offsetHeight;return Math.abs(i.width-c)<=1&&(c=i.width),Math.abs(i.height-m)<=1&&(m=i.height),{x:d.offsetLeft,y:d.offsetTop,width:c,height:m}}function cc(d,i){var c=i.getRootNode&&i.getRootNode();if(d.contains(i))return!0;if(c&&So(c)){var m=i;do{if(m&&d.isSameNode(m))return!0;m=m.parentNode||m.host}while(m)}return!1}function hn(d){return Dt(d).getComputedStyle(d)}function Bm(d){return["table","td","th"].indexOf(Zt(d))>=0}function Nn(d){return((Gn(d)?d.ownerDocument:d.document)||window.document).documentElement}function ti(d){return Zt(d)==="html"?d:d.assignedSlot||d.parentNode||(So(d)?d.host:null)||Nn(d)}function uc(d){return!Bt(d)||hn(d).position==="fixed"?null:d.offsetParent}function Fm(d){var i=/firefox/i.test(Oo()),c=/Trident/i.test(Oo());if(c&&Bt(d)){var m=hn(d);if(m.position==="fixed")return null}var y=ti(d);for(So(y)&&(y=y.host);Bt(y)&&["html","body"].indexOf(Zt(y))<0;){var x=hn(y);if(x.transform!=="none"||x.perspective!=="none"||x.contain==="paint"||["transform","perspective"].indexOf(x.willChange)!==-1||i&&x.willChange==="filter"||i&&x.filter&&x.filter!=="none")return y;y=y.parentNode}return null}function lr(d){for(var i=Dt(d),c=uc(d);c&&Bm(c)&&hn(c).position==="static";)c=uc(c);return c&&(Zt(c)==="html"||Zt(c)==="body"&&hn(c).position==="static")?i:c||Fm(d)||i}function No(d){return["top","bottom"].indexOf(d)>=0?"x":"y"}function cr(d,i,c){return Jn(d,ei(i,c))}function Hm(d,i,c){var m=cr(d,i,c);return m>c?c:m}function fc(){return{top:0,right:0,bottom:0,left:0}}function dc(d){return Object.assign({},fc(),d)}function hc(d,i){return i.reduce(function(c,m){return c[m]=d,c},{})}var Vm=function(i,c){return i=typeof i=="function"?i(Object.assign({},c.rects,{placement:c.placement})):i,dc(typeof i!="number"?i:hc(i,xs))};function Um(d){var i,c=d.state,m=d.name,y=d.options,x=c.elements.arrow,P=c.modifiersData.popperOffsets,W=en(c.placement),ee=No(W),le=[vt,Pt].indexOf(W)>=0,ne=le?"height":"width";if(!(!x||!P)){var Te=Vm(y.padding,c),Ae=Ro(x),ve=ee==="y"?_t:vt,Ue=ee==="y"?$t:Pt,Se=c.rects.reference[ne]+c.rects.reference[ee]-P[ee]-c.rects.popper[ne],xe=P[ee]-c.rects.reference[ee],Ke=lr(x),Qe=Ke?ee==="y"?Ke.clientHeight||0:Ke.clientWidth||0:0,Xe=Se/2-xe/2,Ce=Te[ve],ke=Qe-Ae[ne]-Te[Ue],Be=Qe/2-Ae[ne]/2+Xe,Ge=cr(Ce,Be,ke),ot=ee;c.modifiersData[m]=(i={},i[ot]=Ge,i.centerOffset=Ge-Be,i)}}function jm(d){var i=d.state,c=d.options,m=c.element,y=m===void 0?"[data-popper-arrow]":m;y!=null&&(typeof y=="string"&&(y=i.elements.popper.querySelector(y),!y)||cc(i.elements.popper,y)&&(i.elements.arrow=y))}const pc={name:"arrow",enabled:!0,phase:"main",fn:Um,effect:jm,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Is(d){return d.split("-")[1]}var qm={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Km(d,i){var c=d.x,m=d.y,y=i.devicePixelRatio||1;return{x:Ds(c*y)/y||0,y:Ds(m*y)/y||0}}function mc(d){var i,c=d.popper,m=d.popperRect,y=d.placement,x=d.variation,P=d.offsets,W=d.position,ee=d.gpuAcceleration,le=d.adaptive,ne=d.roundOffsets,Te=d.isFixed,Ae=P.x,ve=Ae===void 0?0:Ae,Ue=P.y,Se=Ue===void 0?0:Ue,xe=typeof ne=="function"?ne({x:ve,y:Se}):{x:ve,y:Se};ve=xe.x,Se=xe.y;var Ke=P.hasOwnProperty("x"),Qe=P.hasOwnProperty("y"),Xe=vt,Ce=_t,ke=window;if(le){var Be=lr(c),Ge="clientHeight",ot="clientWidth";if(Be===Dt(c)&&(Be=Nn(c),hn(Be).position!=="static"&&W==="absolute"&&(Ge="scrollHeight",ot="scrollWidth")),Be=Be,y===_t||(y===vt||y===Pt)&&x===$s){Ce=$t;var st=Te&&Be===ke&&ke.visualViewport?ke.visualViewport.height:Be[Ge];Se-=st-m.height,Se*=ee?1:-1}if(y===vt||(y===_t||y===$t)&&x===$s){Xe=Pt;var tt=Te&&Be===ke&&ke.visualViewport?ke.visualViewport.width:Be[ot];ve-=tt-m.width,ve*=ee?1:-1}}var ft=Object.assign({position:W},le&&qm),Kt=ne===!0?Km({x:ve,y:Se},Dt(c)):{x:ve,y:Se};if(ve=Kt.x,Se=Kt.y,ee){var bt;return Object.assign({},ft,(bt={},bt[Ce]=Qe?"0":"",bt[Xe]=Ke?"0":"",bt.transform=(ke.devicePixelRatio||1)<=1?"translate("+ve+"px, "+Se+"px)":"translate3d("+ve+"px, "+Se+"px, 0)",bt))}return Object.assign({},ft,(i={},i[Ce]=Qe?Se+"px":"",i[Xe]=Ke?ve+"px":"",i.transform="",i))}function Wm(d){var i=d.state,c=d.options,m=c.gpuAcceleration,y=m===void 0?!0:m,x=c.adaptive,P=x===void 0?!0:x,W=c.roundOffsets,ee=W===void 0?!0:W,le={placement:en(i.placement),variation:Is(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:y,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,mc(Object.assign({},le,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:P,roundOffsets:ee})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,mc(Object.assign({},le,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:ee})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const xo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Wm,data:{}};var ni={passive:!0};function Ym(d){var i=d.state,c=d.instance,m=d.options,y=m.scroll,x=y===void 0?!0:y,P=m.resize,W=P===void 0?!0:P,ee=Dt(i.elements.popper),le=[].concat(i.scrollParents.reference,i.scrollParents.popper);return x&&le.forEach(function(ne){ne.addEventListener("scroll",c.update,ni)}),W&&ee.addEventListener("resize",c.update,ni),function(){x&&le.forEach(function(ne){ne.removeEventListener("scroll",c.update,ni)}),W&&ee.removeEventListener("resize",c.update,ni)}}const $o={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ym,data:{}};var zm={left:"right",right:"left",bottom:"top",top:"bottom"};function si(d){return d.replace(/left|right|bottom|top/g,function(i){return zm[i]})}var Gm={start:"end",end:"start"};function gc(d){return d.replace(/start|end/g,function(i){return Gm[i]})}function Po(d){var i=Dt(d),c=i.pageXOffset,m=i.pageYOffset;return{scrollLeft:c,scrollTop:m}}function Do(d){return Ls(Nn(d)).left+Po(d).scrollLeft}function Jm(d,i){var c=Dt(d),m=Nn(d),y=c.visualViewport,x=m.clientWidth,P=m.clientHeight,W=0,ee=0;if(y){x=y.width,P=y.height;var le=lc();(le||!le&&i==="fixed")&&(W=y.offsetLeft,ee=y.offsetTop)}return{width:x,height:P,x:W+Do(d),y:ee}}function Qm(d){var i,c=Nn(d),m=Po(d),y=(i=d.ownerDocument)==null?void 0:i.body,x=Jn(c.scrollWidth,c.clientWidth,y?y.scrollWidth:0,y?y.clientWidth:0),P=Jn(c.scrollHeight,c.clientHeight,y?y.scrollHeight:0,y?y.clientHeight:0),W=-m.scrollLeft+Do(d),ee=-m.scrollTop;return hn(y||c).direction==="rtl"&&(W+=Jn(c.clientWidth,y?y.clientWidth:0)-x),{width:x,height:P,x:W,y:ee}}function Lo(d){var i=hn(d),c=i.overflow,m=i.overflowX,y=i.overflowY;return/auto|scroll|overlay|hidden/.test(c+y+m)}function _c(d){return["html","body","#document"].indexOf(Zt(d))>=0?d.ownerDocument.body:Bt(d)&&Lo(d)?d:_c(ti(d))}function ur(d,i){var c;i===void 0&&(i=[]);var m=_c(d),y=m===((c=d.ownerDocument)==null?void 0:c.body),x=Dt(m),P=y?[x].concat(x.visualViewport||[],Lo(m)?m:[]):m,W=i.concat(P);return y?W:W.concat(ur(ti(P)))}function Io(d){return Object.assign({},d,{left:d.x,top:d.y,right:d.x+d.width,bottom:d.y+d.height})}function Xm(d,i){var c=Ls(d,!1,i==="fixed");return c.top=c.top+d.clientTop,c.left=c.left+d.clientLeft,c.bottom=c.top+d.clientHeight,c.right=c.left+d.clientWidth,c.width=d.clientWidth,c.height=d.clientHeight,c.x=c.left,c.y=c.top,c}function vc(d,i,c){return i===wo?Io(Jm(d,c)):Gn(i)?Xm(i,c):Io(Qm(Nn(d)))}function Zm(d){var i=ur(ti(d)),c=["absolute","fixed"].indexOf(hn(d).position)>=0,m=c&&Bt(d)?lr(d):d;return Gn(m)?i.filter(function(y){return Gn(y)&&cc(y,m)&&Zt(y)!=="body"}):[]}function eg(d,i,c,m){var y=i==="clippingParents"?Zm(d):[].concat(i),x=[].concat(y,[c]),P=x[0],W=x.reduce(function(ee,le){var ne=vc(d,le,m);return ee.top=Jn(ne.top,ee.top),ee.right=ei(ne.right,ee.right),ee.bottom=ei(ne.bottom,ee.bottom),ee.left=Jn(ne.left,ee.left),ee},vc(d,P,m));return W.width=W.right-W.left,W.height=W.bottom-W.top,W.x=W.left,W.y=W.top,W}function bc(d){var i=d.reference,c=d.element,m=d.placement,y=m?en(m):null,x=m?Is(m):null,P=i.x+i.width/2-c.width/2,W=i.y+i.height/2-c.height/2,ee;switch(y){case _t:ee={x:P,y:i.y-c.height};break;case $t:ee={x:P,y:i.y+i.height};break;case Pt:ee={x:i.x+i.width,y:W};break;case vt:ee={x:i.x-c.width,y:W};break;default:ee={x:i.x,y:i.y}}var le=y?No(y):null;if(le!=null){var ne=le==="y"?"height":"width";switch(x){case zn:ee[le]=ee[le]-(i[ne]/2-c[ne]/2);break;case $s:ee[le]=ee[le]+(i[ne]/2-c[ne]/2);break}}return ee}function Ms(d,i){i===void 0&&(i={});var c=i,m=c.placement,y=m===void 0?d.placement:m,x=c.strategy,P=x===void 0?d.strategy:x,W=c.boundary,ee=W===void 0?Jl:W,le=c.rootBoundary,ne=le===void 0?wo:le,Te=c.elementContext,Ae=Te===void 0?Ps:Te,ve=c.altBoundary,Ue=ve===void 0?!1:ve,Se=c.padding,xe=Se===void 0?0:Se,Ke=dc(typeof xe!="number"?xe:hc(xe,xs)),Qe=Ae===Ps?Ql:Ps,Xe=d.rects.popper,Ce=d.elements[Ue?Qe:Ae],ke=eg(Gn(Ce)?Ce:Ce.contextElement||Nn(d.elements.popper),ee,ne,P),Be=Ls(d.elements.reference),Ge=bc({reference:Be,element:Xe,placement:y}),ot=Io(Object.assign({},Xe,Ge)),st=Ae===Ps?ot:Be,tt={top:ke.top-st.top+Ke.top,bottom:st.bottom-ke.bottom+Ke.bottom,left:ke.left-st.left+Ke.left,right:st.right-ke.right+Ke.right},ft=d.modifiersData.offset;if(Ae===Ps&&ft){var Kt=ft[y];Object.keys(tt).forEach(function(bt){var rs=[Pt,$t].indexOf(bt)>=0?1:-1,is=[_t,$t].indexOf(bt)>=0?"y":"x";tt[bt]+=Kt[is]*rs})}return tt}function tg(d,i){i===void 0&&(i={});var c=i,m=c.placement,y=c.boundary,x=c.rootBoundary,P=c.padding,W=c.flipVariations,ee=c.allowedAutoPlacements,le=ee===void 0?Ao:ee,ne=Is(m),Te=ne?W?To:To.filter(function(Ue){return Is(Ue)===ne}):xs,Ae=Te.filter(function(Ue){return le.indexOf(Ue)>=0});Ae.length===0&&(Ae=Te);var ve=Ae.reduce(function(Ue,Se){return Ue[Se]=Ms(d,{placement:Se,boundary:y,rootBoundary:x,padding:P})[en(Se)],Ue},{});return Object.keys(ve).sort(function(Ue,Se){return ve[Ue]-ve[Se]})}function ng(d){if(en(d)===Zr)return[];var i=si(d);return[gc(d),i,gc(i)]}function sg(d){var i=d.state,c=d.options,m=d.name;if(!i.modifiersData[m]._skip){for(var y=c.mainAxis,x=y===void 0?!0:y,P=c.altAxis,W=P===void 0?!0:P,ee=c.fallbackPlacements,le=c.padding,ne=c.boundary,Te=c.rootBoundary,Ae=c.altBoundary,ve=c.flipVariations,Ue=ve===void 0?!0:ve,Se=c.allowedAutoPlacements,xe=i.options.placement,Ke=en(xe),Qe=Ke===xe,Xe=ee||(Qe||!Ue?[si(xe)]:ng(xe)),Ce=[xe].concat(Xe).reduce(function(Fs,$n){return Fs.concat(en($n)===Zr?tg(i,{placement:$n,boundary:ne,rootBoundary:Te,padding:le,flipVariations:Ue,allowedAutoPlacements:Se}):$n)},[]),ke=i.rects.reference,Be=i.rects.popper,Ge=new Map,ot=!0,st=Ce[0],tt=0;tt<Ce.length;tt++){var ft=Ce[tt],Kt=en(ft),bt=Is(ft)===zn,rs=[_t,$t].indexOf(Kt)>=0,is=rs?"width":"height",Lt=Ms(i,{placement:ft,boundary:ne,rootBoundary:Te,altBoundary:Ae,padding:le}),Wt=rs?bt?Pt:vt:bt?$t:_t;ke[is]>Be[is]&&(Wt=si(Wt));var di=si(Wt),os=[];if(x&&os.push(Lt[Kt]<=0),W&&os.push(Lt[Wt]<=0,Lt[di]<=0),os.every(function(Fs){return Fs})){st=ft,ot=!1;break}Ge.set(ft,os)}if(ot)for(var hi=Ue?3:1,Go=function($n){var mr=Ce.find(function(mi){var as=Ge.get(mi);if(as)return as.slice(0,$n).every(function(Jo){return Jo})});if(mr)return st=mr,"break"},pr=hi;pr>0;pr--){var pi=Go(pr);if(pi==="break")break}i.placement!==st&&(i.modifiersData[m]._skip=!0,i.placement=st,i.reset=!0)}}const yc={name:"flip",enabled:!0,phase:"main",fn:sg,requiresIfExists:["offset"],data:{_skip:!1}};function Ec(d,i,c){return c===void 0&&(c={x:0,y:0}),{top:d.top-i.height-c.y,right:d.right-i.width+c.x,bottom:d.bottom-i.height+c.y,left:d.left-i.width-c.x}}function wc(d){return[_t,Pt,$t,vt].some(function(i){return d[i]>=0})}function rg(d){var i=d.state,c=d.name,m=i.rects.reference,y=i.rects.popper,x=i.modifiersData.preventOverflow,P=Ms(i,{elementContext:"reference"}),W=Ms(i,{altBoundary:!0}),ee=Ec(P,m),le=Ec(W,y,x),ne=wc(ee),Te=wc(le);i.modifiersData[c]={referenceClippingOffsets:ee,popperEscapeOffsets:le,isReferenceHidden:ne,hasPopperEscaped:Te},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":ne,"data-popper-escaped":Te})}const Tc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:rg};function ig(d,i,c){var m=en(d),y=[vt,_t].indexOf(m)>=0?-1:1,x=typeof c=="function"?c(Object.assign({},i,{placement:d})):c,P=x[0],W=x[1];return P=P||0,W=(W||0)*y,[vt,Pt].indexOf(m)>=0?{x:W,y:P}:{x:P,y:W}}function og(d){var i=d.state,c=d.options,m=d.name,y=c.offset,x=y===void 0?[0,0]:y,P=Ao.reduce(function(ne,Te){return ne[Te]=ig(Te,i.rects,x),ne},{}),W=P[i.placement],ee=W.x,le=W.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=ee,i.modifiersData.popperOffsets.y+=le),i.modifiersData[m]=P}const Ac={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:og};function ag(d){var i=d.state,c=d.name;i.modifiersData[c]=bc({reference:i.rects.reference,element:i.rects.popper,placement:i.placement})}const Mo={name:"popperOffsets",enabled:!0,phase:"read",fn:ag,data:{}};function lg(d){return d==="x"?"y":"x"}function cg(d){var i=d.state,c=d.options,m=d.name,y=c.mainAxis,x=y===void 0?!0:y,P=c.altAxis,W=P===void 0?!1:P,ee=c.boundary,le=c.rootBoundary,ne=c.altBoundary,Te=c.padding,Ae=c.tether,ve=Ae===void 0?!0:Ae,Ue=c.tetherOffset,Se=Ue===void 0?0:Ue,xe=Ms(i,{boundary:ee,rootBoundary:le,padding:Te,altBoundary:ne}),Ke=en(i.placement),Qe=Is(i.placement),Xe=!Qe,Ce=No(Ke),ke=lg(Ce),Be=i.modifiersData.popperOffsets,Ge=i.rects.reference,ot=i.rects.popper,st=typeof Se=="function"?Se(Object.assign({},i.rects,{placement:i.placement})):Se,tt=typeof st=="number"?{mainAxis:st,altAxis:st}:Object.assign({mainAxis:0,altAxis:0},st),ft=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,Kt={x:0,y:0};if(Be){if(x){var bt,rs=Ce==="y"?_t:vt,is=Ce==="y"?$t:Pt,Lt=Ce==="y"?"height":"width",Wt=Be[Ce],di=Wt+xe[rs],os=Wt-xe[is],hi=ve?-ot[Lt]/2:0,Go=Qe===zn?Ge[Lt]:ot[Lt],pr=Qe===zn?-ot[Lt]:-Ge[Lt],pi=i.elements.arrow,Fs=ve&&pi?Ro(pi):{width:0,height:0},$n=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:fc(),mr=$n[rs],mi=$n[is],as=cr(0,Ge[Lt],Fs[Lt]),Jo=Xe?Ge[Lt]/2-hi-as-mr-tt.mainAxis:Go-as-mr-tt.mainAxis,tb=Xe?-Ge[Lt]/2+hi+as+mi+tt.mainAxis:pr+as+mi+tt.mainAxis,Qo=i.elements.arrow&&lr(i.elements.arrow),nb=Qo?Ce==="y"?Qo.clientTop||0:Qo.clientLeft||0:0,du=(bt=ft==null?void 0:ft[Ce])!=null?bt:0,sb=Wt+Jo-du-nb,rb=Wt+tb-du,hu=cr(ve?ei(di,sb):di,Wt,ve?Jn(os,rb):os);Be[Ce]=hu,Kt[Ce]=hu-Wt}if(W){var pu,ib=Ce==="x"?_t:vt,ob=Ce==="x"?$t:Pt,ls=Be[ke],gi=ke==="y"?"height":"width",mu=ls+xe[ib],gu=ls-xe[ob],Xo=[_t,vt].indexOf(Ke)!==-1,_u=(pu=ft==null?void 0:ft[ke])!=null?pu:0,vu=Xo?mu:ls-Ge[gi]-ot[gi]-_u+tt.altAxis,bu=Xo?ls+Ge[gi]+ot[gi]-_u-tt.altAxis:gu,yu=ve&&Xo?Hm(vu,ls,bu):cr(ve?vu:mu,ls,ve?bu:gu);Be[ke]=yu,Kt[ke]=yu-ls}i.modifiersData[m]=Kt}}const Sc={name:"preventOverflow",enabled:!0,phase:"main",fn:cg,requiresIfExists:["offset"]};function ug(d){return{scrollLeft:d.scrollLeft,scrollTop:d.scrollTop}}function fg(d){return d===Dt(d)||!Bt(d)?Po(d):ug(d)}function dg(d){var i=d.getBoundingClientRect(),c=Ds(i.width)/d.offsetWidth||1,m=Ds(i.height)/d.offsetHeight||1;return c!==1||m!==1}function hg(d,i,c){c===void 0&&(c=!1);var m=Bt(i),y=Bt(i)&&dg(i),x=Nn(i),P=Ls(d,y,c),W={scrollLeft:0,scrollTop:0},ee={x:0,y:0};return(m||!m&&!c)&&((Zt(i)!=="body"||Lo(x))&&(W=fg(i)),Bt(i)?(ee=Ls(i,!0),ee.x+=i.clientLeft,ee.y+=i.clientTop):x&&(ee.x=Do(x))),{x:P.left+W.scrollLeft-ee.x,y:P.top+W.scrollTop-ee.y,width:P.width,height:P.height}}function pg(d){var i=new Map,c=new Set,m=[];d.forEach(function(x){i.set(x.name,x)});function y(x){c.add(x.name);var P=[].concat(x.requires||[],x.requiresIfExists||[]);P.forEach(function(W){if(!c.has(W)){var ee=i.get(W);ee&&y(ee)}}),m.push(x)}return d.forEach(function(x){c.has(x.name)||y(x)}),m}function mg(d){var i=pg(d);return ac.reduce(function(c,m){return c.concat(i.filter(function(y){return y.phase===m}))},[])}function gg(d){var i;return function(){return i||(i=new Promise(function(c){Promise.resolve().then(function(){i=void 0,c(d())})})),i}}function _g(d){var i=d.reduce(function(c,m){var y=c[m.name];return c[m.name]=y?Object.assign({},y,m,{options:Object.assign({},y.options,m.options),data:Object.assign({},y.data,m.data)}):m,c},{});return Object.keys(i).map(function(c){return i[c]})}var Cc={placement:"bottom",modifiers:[],strategy:"absolute"};function Oc(){for(var d=arguments.length,i=new Array(d),c=0;c<d;c++)i[c]=arguments[c];return!i.some(function(m){return!(m&&typeof m.getBoundingClientRect=="function")})}function ri(d){d===void 0&&(d={});var i=d,c=i.defaultModifiers,m=c===void 0?[]:c,y=i.defaultOptions,x=y===void 0?Cc:y;return function(W,ee,le){le===void 0&&(le=x);var ne={placement:"bottom",orderedModifiers:[],options:Object.assign({},Cc,x),modifiersData:{},elements:{reference:W,popper:ee},attributes:{},styles:{}},Te=[],Ae=!1,ve={state:ne,setOptions:function(Ke){var Qe=typeof Ke=="function"?Ke(ne.options):Ke;Se(),ne.options=Object.assign({},x,ne.options,Qe),ne.scrollParents={reference:Gn(W)?ur(W):W.contextElement?ur(W.contextElement):[],popper:ur(ee)};var Xe=mg(_g([].concat(m,ne.options.modifiers)));return ne.orderedModifiers=Xe.filter(function(Ce){return Ce.enabled}),Ue(),ve.update()},forceUpdate:function(){if(!Ae){var Ke=ne.elements,Qe=Ke.reference,Xe=Ke.popper;if(Oc(Qe,Xe)){ne.rects={reference:hg(Qe,lr(Xe),ne.options.strategy==="fixed"),popper:Ro(Xe)},ne.reset=!1,ne.placement=ne.options.placement,ne.orderedModifiers.forEach(function(tt){return ne.modifiersData[tt.name]=Object.assign({},tt.data)});for(var Ce=0;Ce<ne.orderedModifiers.length;Ce++){if(ne.reset===!0){ne.reset=!1,Ce=-1;continue}var ke=ne.orderedModifiers[Ce],Be=ke.fn,Ge=ke.options,ot=Ge===void 0?{}:Ge,st=ke.name;typeof Be=="function"&&(ne=Be({state:ne,options:ot,name:st,instance:ve})||ne)}}}},update:gg(function(){return new Promise(function(xe){ve.forceUpdate(),xe(ne)})}),destroy:function(){Se(),Ae=!0}};if(!Oc(W,ee))return ve;ve.setOptions(le).then(function(xe){!Ae&&le.onFirstUpdate&&le.onFirstUpdate(xe)});function Ue(){ne.orderedModifiers.forEach(function(xe){var Ke=xe.name,Qe=xe.options,Xe=Qe===void 0?{}:Qe,Ce=xe.effect;if(typeof Ce=="function"){var ke=Ce({state:ne,name:Ke,instance:ve,options:Xe}),Be=function(){};Te.push(ke||Be)}})}function Se(){Te.forEach(function(xe){return xe()}),Te=[]}return ve}}var vg=ri(),bg=[$o,Mo,xo,Co],yg=ri({defaultModifiers:bg}),Eg=[$o,Mo,xo,Co,Ac,yc,Sc,pc,Tc],ko=ri({defaultModifiers:Eg});const Rc=Object.freeze(Object.defineProperty({__proto__:null,afterMain:sc,afterRead:ec,afterWrite:oc,applyStyles:Co,arrow:pc,auto:Zr,basePlacements:xs,beforeMain:tc,beforeRead:Xl,beforeWrite:rc,bottom:$t,clippingParents:Jl,computeStyles:xo,createPopper:ko,createPopperBase:vg,createPopperLite:yg,detectOverflow:Ms,end:$s,eventListeners:$o,flip:yc,hide:Tc,left:vt,main:nc,modifierPhases:ac,offset:Ac,placements:Ao,popper:Ps,popperGenerator:ri,popperOffsets:Mo,preventOverflow:Sc,read:Zl,reference:Ql,right:Pt,start:zn,top:_t,variationPlacements:To,viewport:wo,write:ic},Symbol.toStringTag,{value:"Module"})),Nc="dropdown",Qn=".bs.dropdown",Bo=".data-api",wg="Escape",xc="Tab",Tg="ArrowUp",$c="ArrowDown",Ag=2,Sg=`hide${Qn}`,Cg=`hidden${Qn}`,Og=`show${Qn}`,Rg=`shown${Qn}`,Pc=`click${Qn}${Bo}`,Dc=`keydown${Qn}${Bo}`,Ng=`keyup${Qn}${Bo}`,ks="show",xg="dropup",$g="dropend",Pg="dropstart",Dg="dropup-center",Lg="dropdown-center",Xn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Ig=`${Xn}.${ks}`,ii=".dropdown-menu",Mg=".navbar",kg=".navbar-nav",Bg=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Fg=O()?"top-end":"top-start",Hg=O()?"top-start":"top-end",Vg=O()?"bottom-end":"bottom-start",Ug=O()?"bottom-start":"bottom-end",jg=O()?"left-start":"right-start",qg=O()?"right-start":"left-start",Kg="top",Wg="bottom",Yg={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},zg={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class qt extends K{constructor(i,c){super(i,c),this._popper=null,this._parent=this._element.parentNode,this._menu=N.next(this._element,ii)[0]||N.prev(this._element,ii)[0]||N.findOne(ii,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Yg}static get DefaultType(){return zg}static get NAME(){return Nc}toggle(){return this._isShown()?this.hide():this.show()}show(){if(A(this._element)||this._isShown())return;const i={relatedTarget:this._element};if(!T.trigger(this._element,Og,i).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(kg))for(const m of[].concat(...document.body.children))T.on(m,"mouseover",I);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ks),this._element.classList.add(ks),T.trigger(this._element,Rg,i)}}hide(){if(A(this._element)||!this._isShown())return;const i={relatedTarget:this._element};this._completeHide(i)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(i){if(!T.trigger(this._element,Sg,i).defaultPrevented){if("ontouchstart"in document.documentElement)for(const m of[].concat(...document.body.children))T.off(m,"mouseover",I);this._popper&&this._popper.destroy(),this._menu.classList.remove(ks),this._element.classList.remove(ks),this._element.setAttribute("aria-expanded","false"),v.removeDataAttribute(this._menu,"popper"),T.trigger(this._element,Cg,i),this._element.focus()}}_getConfig(i){if(i=super._getConfig(i),typeof i.reference=="object"&&!_(i.reference)&&typeof i.reference.getBoundingClientRect!="function")throw new TypeError(`${Nc.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return i}_createPopper(){if(typeof Rc>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let i=this._element;this._config.reference==="parent"?i=this._parent:_(this._config.reference)?i=g(this._config.reference):typeof this._config.reference=="object"&&(i=this._config.reference);const c=this._getPopperConfig();this._popper=ko(i,this._menu,c)}_isShown(){return this._menu.classList.contains(ks)}_getPlacement(){const i=this._parent;if(i.classList.contains($g))return jg;if(i.classList.contains(Pg))return qg;if(i.classList.contains(Dg))return Kg;if(i.classList.contains(Lg))return Wg;const c=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return i.classList.contains(xg)?c?Hg:Fg:c?Ug:Vg}_detectNavbar(){return this._element.closest(Mg)!==null}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(c=>Number.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_getPopperConfig(){const i={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(v.setDataAttribute(this._menu,"popper","static"),i.modifiers=[{name:"applyStyles",enabled:!1}]),{...i,...w(this._config.popperConfig,[void 0,i])}}_selectMenuItem({key:i,target:c}){const m=N.find(Bg,this._menu).filter(y=>E(y));m.length&&L(m,c,i===$c,!m.includes(c)).focus()}static jQueryInterface(i){return this.each(function(){const c=qt.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}static clearMenus(i){if(i.button===Ag||i.type==="keyup"&&i.key!==xc)return;const c=N.find(Ig);for(const m of c){const y=qt.getInstance(m);if(!y||y._config.autoClose===!1)continue;const x=i.composedPath(),P=x.includes(y._menu);if(x.includes(y._element)||y._config.autoClose==="inside"&&!P||y._config.autoClose==="outside"&&P||y._menu.contains(i.target)&&(i.type==="keyup"&&i.key===xc||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;const W={relatedTarget:y._element};i.type==="click"&&(W.clickEvent=i),y._completeHide(W)}}static dataApiKeydownHandler(i){const c=/input|textarea/i.test(i.target.tagName),m=i.key===wg,y=[Tg,$c].includes(i.key);if(!y&&!m||c&&!m)return;i.preventDefault();const x=this.matches(Xn)?this:N.prev(this,Xn)[0]||N.next(this,Xn)[0]||N.findOne(Xn,i.delegateTarget.parentNode),P=qt.getOrCreateInstance(x);if(y){i.stopPropagation(),P.show(),P._selectMenuItem(i);return}P._isShown()&&(i.stopPropagation(),P.hide(),x.focus())}}T.on(document,Dc,Xn,qt.dataApiKeydownHandler),T.on(document,Dc,ii,qt.dataApiKeydownHandler),T.on(document,Pc,qt.clearMenus),T.on(document,Ng,qt.clearMenus),T.on(document,Pc,Xn,function(d){d.preventDefault(),qt.getOrCreateInstance(this).toggle()}),R(qt);const Lc="backdrop",Gg="fade",Ic="show",Mc=`mousedown.bs.${Lc}`,Jg={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qg={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class kc extends b{constructor(i){super(),this._config=this._getConfig(i),this._isAppended=!1,this._element=null}static get Default(){return Jg}static get DefaultType(){return Qg}static get NAME(){return Lc}show(i){if(!this._config.isVisible){w(i);return}this._append();const c=this._getElement();this._config.isAnimated&&F(c),c.classList.add(Ic),this._emulateAnimation(()=>{w(i)})}hide(i){if(!this._config.isVisible){w(i);return}this._getElement().classList.remove(Ic),this._emulateAnimation(()=>{this.dispose(),w(i)})}dispose(){this._isAppended&&(T.off(this._element,Mc),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const i=document.createElement("div");i.className=this._config.className,this._config.isAnimated&&i.classList.add(Gg),this._element=i}return this._element}_configAfterMerge(i){return i.rootElement=g(i.rootElement),i}_append(){if(this._isAppended)return;const i=this._getElement();this._config.rootElement.append(i),T.on(i,Mc,()=>{w(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(i){S(i,this._getElement(),this._config.isAnimated)}}const Xg="focustrap",oi=".bs.focustrap",Zg=`focusin${oi}`,e_=`keydown.tab${oi}`,t_="Tab",n_="forward",Bc="backward",s_={autofocus:!0,trapElement:null},r_={autofocus:"boolean",trapElement:"element"};class Fc extends b{constructor(i){super(),this._config=this._getConfig(i),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return s_}static get DefaultType(){return r_}static get NAME(){return Xg}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),T.off(document,oi),T.on(document,Zg,i=>this._handleFocusin(i)),T.on(document,e_,i=>this._handleKeydown(i)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,T.off(document,oi))}_handleFocusin(i){const{trapElement:c}=this._config;if(i.target===document||i.target===c||c.contains(i.target))return;const m=N.focusableChildren(c);m.length===0?c.focus():this._lastTabNavDirection===Bc?m[m.length-1].focus():m[0].focus()}_handleKeydown(i){i.key===t_&&(this._lastTabNavDirection=i.shiftKey?Bc:n_)}}const Hc=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Vc=".sticky-top",ai="padding-right",Uc="margin-right";class Fo{constructor(){this._element=document.body}getWidth(){const i=document.documentElement.clientWidth;return Math.abs(window.innerWidth-i)}hide(){const i=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ai,c=>c+i),this._setElementAttributes(Hc,ai,c=>c+i),this._setElementAttributes(Vc,Uc,c=>c-i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ai),this._resetElementAttributes(Hc,ai),this._resetElementAttributes(Vc,Uc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(i,c,m){const y=this.getWidth(),x=P=>{if(P!==this._element&&window.innerWidth>P.clientWidth+y)return;this._saveInitialAttribute(P,c);const W=window.getComputedStyle(P).getPropertyValue(c);P.style.setProperty(c,`${m(Number.parseFloat(W))}px`)};this._applyManipulationCallback(i,x)}_saveInitialAttribute(i,c){const m=i.style.getPropertyValue(c);m&&v.setDataAttribute(i,c,m)}_resetElementAttributes(i,c){const m=y=>{const x=v.getDataAttribute(y,c);if(x===null){y.style.removeProperty(c);return}v.removeDataAttribute(y,c),y.style.setProperty(c,x)};this._applyManipulationCallback(i,m)}_applyManipulationCallback(i,c){if(_(i)){c(i);return}for(const m of N.find(i,this._element))c(m)}}const i_="modal",Ft=".bs.modal",o_=".data-api",a_="Escape",l_=`hide${Ft}`,c_=`hidePrevented${Ft}`,jc=`hidden${Ft}`,qc=`show${Ft}`,u_=`shown${Ft}`,f_=`resize${Ft}`,d_=`click.dismiss${Ft}`,h_=`mousedown.dismiss${Ft}`,p_=`keydown.dismiss${Ft}`,m_=`click${Ft}${o_}`,Kc="modal-open",g_="fade",Wc="show",Ho="modal-static",__=".modal.show",v_=".modal-dialog",b_=".modal-body",y_='[data-bs-toggle="modal"]',E_={backdrop:!0,focus:!0,keyboard:!0},w_={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Zn extends K{constructor(i,c){super(i,c),this._dialog=N.findOne(v_,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Fo,this._addEventListeners()}static get Default(){return E_}static get DefaultType(){return w_}static get NAME(){return i_}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||this._isTransitioning||T.trigger(this._element,qc,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Kc),this._adjustDialog(),this._backdrop.show(()=>this._showElement(i)))}hide(){!this._isShown||this._isTransitioning||T.trigger(this._element,l_).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Wc),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){T.off(window,Ft),T.off(this._dialog,Ft),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new kc({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Fc({trapElement:this._element})}_showElement(i){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const c=N.findOne(b_,this._dialog);c&&(c.scrollTop=0),F(this._element),this._element.classList.add(Wc);const m=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,T.trigger(this._element,u_,{relatedTarget:i})};this._queueCallback(m,this._dialog,this._isAnimated())}_addEventListeners(){T.on(this._element,p_,i=>{if(i.key===a_){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),T.on(window,f_,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),T.on(this._element,h_,i=>{T.one(this._element,d_,c=>{if(!(this._element!==i.target||this._element!==c.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Kc),this._resetAdjustments(),this._scrollBar.reset(),T.trigger(this._element,jc)})}_isAnimated(){return this._element.classList.contains(g_)}_triggerBackdropTransition(){if(T.trigger(this._element,c_).defaultPrevented)return;const c=this._element.scrollHeight>document.documentElement.clientHeight,m=this._element.style.overflowY;m==="hidden"||this._element.classList.contains(Ho)||(c||(this._element.style.overflowY="hidden"),this._element.classList.add(Ho),this._queueCallback(()=>{this._element.classList.remove(Ho),this._queueCallback(()=>{this._element.style.overflowY=m},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const i=this._element.scrollHeight>document.documentElement.clientHeight,c=this._scrollBar.getWidth(),m=c>0;if(m&&!i){const y=O()?"paddingLeft":"paddingRight";this._element.style[y]=`${c}px`}if(!m&&i){const y=O()?"paddingRight":"paddingLeft";this._element.style[y]=`${c}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(i,c){return this.each(function(){const m=Zn.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof m[i]>"u")throw new TypeError(`No method named "${i}"`);m[i](c)}})}}T.on(document,m_,y_,function(d){const i=N.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&d.preventDefault(),T.one(i,qc,y=>{y.defaultPrevented||T.one(i,jc,()=>{E(this)&&this.focus()})});const c=N.findOne(__);c&&Zn.getInstance(c).hide(),Zn.getOrCreateInstance(i).toggle(this)}),oe(Zn),R(Zn);const T_="offcanvas",pn=".bs.offcanvas",Yc=".data-api",A_=`load${pn}${Yc}`,S_="Escape",zc="show",Gc="showing",Jc="hiding",C_="offcanvas-backdrop",Qc=".offcanvas.show",O_=`show${pn}`,R_=`shown${pn}`,N_=`hide${pn}`,Xc=`hidePrevented${pn}`,Zc=`hidden${pn}`,x_=`resize${pn}`,$_=`click${pn}${Yc}`,P_=`keydown.dismiss${pn}`,D_='[data-bs-toggle="offcanvas"]',L_={backdrop:!0,keyboard:!0,scroll:!1},I_={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class mn extends K{constructor(i,c){super(i,c),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return L_}static get DefaultType(){return I_}static get NAME(){return T_}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){if(this._isShown||T.trigger(this._element,O_,{relatedTarget:i}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Fo().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Gc);const m=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(zc),this._element.classList.remove(Gc),T.trigger(this._element,R_,{relatedTarget:i})};this._queueCallback(m,this._element,!0)}hide(){if(!this._isShown||T.trigger(this._element,N_).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Jc),this._backdrop.hide();const c=()=>{this._element.classList.remove(zc,Jc),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Fo().reset(),T.trigger(this._element,Zc)};this._queueCallback(c,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const i=()=>{if(this._config.backdrop==="static"){T.trigger(this._element,Xc);return}this.hide()},c=!!this._config.backdrop;return new kc({className:C_,isVisible:c,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:c?i:null})}_initializeFocusTrap(){return new Fc({trapElement:this._element})}_addEventListeners(){T.on(this._element,P_,i=>{if(i.key===S_){if(this._config.keyboard){this.hide();return}T.trigger(this._element,Xc)}})}static jQueryInterface(i){return this.each(function(){const c=mn.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}T.on(document,$_,D_,function(d){const i=N.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&d.preventDefault(),A(this))return;T.one(i,Zc,()=>{E(this)&&this.focus()});const c=N.findOne(Qc);c&&c!==i&&mn.getInstance(c).hide(),mn.getOrCreateInstance(i).toggle(this)}),T.on(window,A_,()=>{for(const d of N.find(Qc))mn.getOrCreateInstance(d).show()}),T.on(window,x_,()=>{for(const d of N.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(d).position!=="fixed"&&mn.getOrCreateInstance(d).hide()}),oe(mn),R(mn);const eu={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},M_=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),k_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,B_=(d,i)=>{const c=d.nodeName.toLowerCase();return i.includes(c)?M_.has(c)?!!k_.test(d.nodeValue):!0:i.filter(m=>m instanceof RegExp).some(m=>m.test(c))};function F_(d,i,c){if(!d.length)return d;if(c&&typeof c=="function")return c(d);const y=new window.DOMParser().parseFromString(d,"text/html"),x=[].concat(...y.body.querySelectorAll("*"));for(const P of x){const W=P.nodeName.toLowerCase();if(!Object.keys(i).includes(W)){P.remove();continue}const ee=[].concat(...P.attributes),le=[].concat(i["*"]||[],i[W]||[]);for(const ne of ee)B_(ne,le)||P.removeAttribute(ne.nodeName)}return y.body.innerHTML}const H_="TemplateFactory",V_={allowList:eu,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},U_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},j_={entry:"(string|element|function|null)",selector:"(string|element)"};class q_ extends b{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return V_}static get DefaultType(){return U_}static get NAME(){return H_}getContent(){return Object.values(this._config.content).map(i=>this._resolvePossibleFunction(i)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(i){return this._checkContent(i),this._config.content={...this._config.content,...i},this}toHtml(){const i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for(const[y,x]of Object.entries(this._config.content))this._setContent(i,x,y);const c=i.children[0],m=this._resolvePossibleFunction(this._config.extraClass);return m&&c.classList.add(...m.split(" ")),c}_typeCheckConfig(i){super._typeCheckConfig(i),this._checkContent(i.content)}_checkContent(i){for(const[c,m]of Object.entries(i))super._typeCheckConfig({selector:c,entry:m},j_)}_setContent(i,c,m){const y=N.findOne(m,i);if(y){if(c=this._resolvePossibleFunction(c),!c){y.remove();return}if(_(c)){this._putElementInTemplate(g(c),y);return}if(this._config.html){y.innerHTML=this._maybeSanitize(c);return}y.textContent=c}}_maybeSanitize(i){return this._config.sanitize?F_(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return w(i,[void 0,this])}_putElementInTemplate(i,c){if(this._config.html){c.innerHTML="",c.append(i);return}c.textContent=i.textContent}}const K_="tooltip",W_=new Set(["sanitize","allowList","sanitizeFn"]),Vo="fade",Y_="modal",li="show",z_=".tooltip-inner",tu=`.${Y_}`,nu="hide.bs.modal",fr="hover",Uo="focus",G_="click",J_="manual",Q_="hide",X_="hidden",Z_="show",ev="shown",tv="inserted",nv="click",sv="focusin",rv="focusout",iv="mouseenter",ov="mouseleave",av={AUTO:"auto",TOP:"top",RIGHT:O()?"left":"right",BOTTOM:"bottom",LEFT:O()?"right":"left"},lv={allowList:eu,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},cv={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class es extends K{constructor(i,c){if(typeof Rc>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(i,c),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return lv}static get DefaultType(){return cv}static get NAME(){return K_}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),T.off(this._element.closest(tu),nu,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const i=T.trigger(this._element,this.constructor.eventName(Z_)),m=(H(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(i.defaultPrevented||!m)return;this._disposePopper();const y=this._getTipElement();this._element.setAttribute("aria-describedby",y.getAttribute("id"));const{container:x}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(x.append(y),T.trigger(this._element,this.constructor.eventName(tv))),this._popper=this._createPopper(y),y.classList.add(li),"ontouchstart"in document.documentElement)for(const W of[].concat(...document.body.children))T.on(W,"mouseover",I);const P=()=>{T.trigger(this._element,this.constructor.eventName(ev)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(P,this.tip,this._isAnimated())}hide(){if(!this._isShown()||T.trigger(this._element,this.constructor.eventName(Q_)).defaultPrevented)return;if(this._getTipElement().classList.remove(li),"ontouchstart"in document.documentElement)for(const y of[].concat(...document.body.children))T.off(y,"mouseover",I);this._activeTrigger[G_]=!1,this._activeTrigger[Uo]=!1,this._activeTrigger[fr]=!1,this._isHovered=null;const m=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),T.trigger(this._element,this.constructor.eventName(X_)))};this._queueCallback(m,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(i){const c=this._getTemplateFactory(i).toHtml();if(!c)return null;c.classList.remove(Vo,li),c.classList.add(`bs-${this.constructor.NAME}-auto`);const m=f(this.constructor.NAME).toString();return c.setAttribute("id",m),this._isAnimated()&&c.classList.add(Vo),c}setContent(i){this._newContent=i,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(i){return this._templateFactory?this._templateFactory.changeContent(i):this._templateFactory=new q_({...this._config,content:i,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[z_]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(i){return this.constructor.getOrCreateInstance(i.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Vo)}_isShown(){return this.tip&&this.tip.classList.contains(li)}_createPopper(i){const c=w(this._config.placement,[this,i,this._element]),m=av[c.toUpperCase()];return ko(this._element,i,this._getPopperConfig(m))}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(c=>Number.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_resolvePossibleFunction(i){return w(i,[this._element,this._element])}_getPopperConfig(i){const c={placement:i,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:m=>{this._getTipElement().setAttribute("data-popper-placement",m.state.placement)}}]};return{...c,...w(this._config.popperConfig,[void 0,c])}}_setListeners(){const i=this._config.trigger.split(" ");for(const c of i)if(c==="click")T.on(this._element,this.constructor.eventName(nv),this._config.selector,m=>{this._initializeOnDelegatedTarget(m).toggle()});else if(c!==J_){const m=c===fr?this.constructor.eventName(iv):this.constructor.eventName(sv),y=c===fr?this.constructor.eventName(ov):this.constructor.eventName(rv);T.on(this._element,m,this._config.selector,x=>{const P=this._initializeOnDelegatedTarget(x);P._activeTrigger[x.type==="focusin"?Uo:fr]=!0,P._enter()}),T.on(this._element,y,this._config.selector,x=>{const P=this._initializeOnDelegatedTarget(x);P._activeTrigger[x.type==="focusout"?Uo:fr]=P._element.contains(x.relatedTarget),P._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},T.on(this._element.closest(tu),nu,this._hideModalHandler)}_fixTitle(){const i=this._element.getAttribute("title");i&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",i),this._element.setAttribute("data-bs-original-title",i),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(i,c){clearTimeout(this._timeout),this._timeout=setTimeout(i,c)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(i){const c=v.getDataAttributes(this._element);for(const m of Object.keys(c))W_.has(m)&&delete c[m];return i={...c,...typeof i=="object"&&i?i:{}},i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i.container=i.container===!1?document.body:g(i.container),typeof i.delay=="number"&&(i.delay={show:i.delay,hide:i.delay}),typeof i.title=="number"&&(i.title=i.title.toString()),typeof i.content=="number"&&(i.content=i.content.toString()),i}_getDelegateConfig(){const i={};for(const[c,m]of Object.entries(this._config))this.constructor.Default[c]!==m&&(i[c]=m);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(i){return this.each(function(){const c=es.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}}R(es);const uv="popover",fv=".popover-header",dv=".popover-body",hv={...es.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},pv={...es.DefaultType,content:"(null|string|element|function)"};class ci extends es{static get Default(){return hv}static get DefaultType(){return pv}static get NAME(){return uv}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[fv]:this._getTitle(),[dv]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(i){return this.each(function(){const c=ci.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}}R(ci);const mv="scrollspy",jo=".bs.scrollspy",gv=".data-api",_v=`activate${jo}`,su=`click${jo}`,vv=`load${jo}${gv}`,bv="dropdown-item",Bs="active",yv='[data-bs-spy="scroll"]',qo="[href]",Ev=".nav, .list-group",ru=".nav-link",wv=`${ru}, .nav-item > ${ru}, .list-group-item`,Tv=".dropdown",Av=".dropdown-toggle",Sv={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Cv={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class dr extends K{constructor(i,c){super(i,c),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Sv}static get DefaultType(){return Cv}static get NAME(){return mv}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const i of this._observableSections.values())this._observer.observe(i)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(i){return i.target=g(i.target)||document.body,i.rootMargin=i.offset?`${i.offset}px 0px -30%`:i.rootMargin,typeof i.threshold=="string"&&(i.threshold=i.threshold.split(",").map(c=>Number.parseFloat(c))),i}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(T.off(this._config.target,su),T.on(this._config.target,su,qo,i=>{const c=this._observableSections.get(i.target.hash);if(c){i.preventDefault();const m=this._rootElement||window,y=c.offsetTop-this._element.offsetTop;if(m.scrollTo){m.scrollTo({top:y,behavior:"smooth"});return}m.scrollTop=y}}))}_getNewObserver(){const i={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(c=>this._observerCallback(c),i)}_observerCallback(i){const c=P=>this._targetLinks.get(`#${P.target.id}`),m=P=>{this._previousScrollData.visibleEntryTop=P.target.offsetTop,this._process(c(P))},y=(this._rootElement||document.documentElement).scrollTop,x=y>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=y;for(const P of i){if(!P.isIntersecting){this._activeTarget=null,this._clearActiveClass(c(P));continue}const W=P.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(x&&W){if(m(P),!y)return;continue}!x&&!W&&m(P)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const i=N.find(qo,this._config.target);for(const c of i){if(!c.hash||A(c))continue;const m=N.findOne(decodeURI(c.hash),this._element);E(m)&&(this._targetLinks.set(decodeURI(c.hash),c),this._observableSections.set(c.hash,m))}}_process(i){this._activeTarget!==i&&(this._clearActiveClass(this._config.target),this._activeTarget=i,i.classList.add(Bs),this._activateParents(i),T.trigger(this._element,_v,{relatedTarget:i}))}_activateParents(i){if(i.classList.contains(bv)){N.findOne(Av,i.closest(Tv)).classList.add(Bs);return}for(const c of N.parents(i,Ev))for(const m of N.prev(c,wv))m.classList.add(Bs)}_clearActiveClass(i){i.classList.remove(Bs);const c=N.find(`${qo}.${Bs}`,i);for(const m of c)m.classList.remove(Bs)}static jQueryInterface(i){return this.each(function(){const c=dr.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}T.on(window,vv,()=>{for(const d of N.find(yv))dr.getOrCreateInstance(d)}),R(dr);const Ov="tab",ts=".bs.tab",Rv=`hide${ts}`,Nv=`hidden${ts}`,xv=`show${ts}`,$v=`shown${ts}`,Pv=`click${ts}`,Dv=`keydown${ts}`,Lv=`load${ts}`,Iv="ArrowLeft",iu="ArrowRight",Mv="ArrowUp",ou="ArrowDown",Ko="Home",au="End",ns="active",lu="fade",Wo="show",kv="dropdown",cu=".dropdown-toggle",Bv=".dropdown-menu",Yo=`:not(${cu})`,Fv='.list-group, .nav, [role="tablist"]',Hv=".nav-item, .list-group-item",Vv=`.nav-link${Yo}, .list-group-item${Yo}, [role="tab"]${Yo}`,uu='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',zo=`${Vv}, ${uu}`,Uv=`.${ns}[data-bs-toggle="tab"], .${ns}[data-bs-toggle="pill"], .${ns}[data-bs-toggle="list"]`;class ss extends K{constructor(i){super(i),this._parent=this._element.closest(Fv),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),T.on(this._element,Dv,c=>this._keydown(c)))}static get NAME(){return Ov}show(){const i=this._element;if(this._elemIsActive(i))return;const c=this._getActiveElem(),m=c?T.trigger(c,Rv,{relatedTarget:i}):null;T.trigger(i,xv,{relatedTarget:c}).defaultPrevented||m&&m.defaultPrevented||(this._deactivate(c,i),this._activate(i,c))}_activate(i,c){if(!i)return;i.classList.add(ns),this._activate(N.getElementFromSelector(i));const m=()=>{if(i.getAttribute("role")!=="tab"){i.classList.add(Wo);return}i.removeAttribute("tabindex"),i.setAttribute("aria-selected",!0),this._toggleDropDown(i,!0),T.trigger(i,$v,{relatedTarget:c})};this._queueCallback(m,i,i.classList.contains(lu))}_deactivate(i,c){if(!i)return;i.classList.remove(ns),i.blur(),this._deactivate(N.getElementFromSelector(i));const m=()=>{if(i.getAttribute("role")!=="tab"){i.classList.remove(Wo);return}i.setAttribute("aria-selected",!1),i.setAttribute("tabindex","-1"),this._toggleDropDown(i,!1),T.trigger(i,Nv,{relatedTarget:c})};this._queueCallback(m,i,i.classList.contains(lu))}_keydown(i){if(![Iv,iu,Mv,ou,Ko,au].includes(i.key))return;i.stopPropagation(),i.preventDefault();const c=this._getChildren().filter(y=>!A(y));let m;if([Ko,au].includes(i.key))m=c[i.key===Ko?0:c.length-1];else{const y=[iu,ou].includes(i.key);m=L(c,i.target,y,!0)}m&&(m.focus({preventScroll:!0}),ss.getOrCreateInstance(m).show())}_getChildren(){return N.find(zo,this._parent)}_getActiveElem(){return this._getChildren().find(i=>this._elemIsActive(i))||null}_setInitialAttributes(i,c){this._setAttributeIfNotExists(i,"role","tablist");for(const m of c)this._setInitialAttributesOnChild(m)}_setInitialAttributesOnChild(i){i=this._getInnerElement(i);const c=this._elemIsActive(i),m=this._getOuterElement(i);i.setAttribute("aria-selected",c),m!==i&&this._setAttributeIfNotExists(m,"role","presentation"),c||i.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(i,"role","tab"),this._setInitialAttributesOnTargetPanel(i)}_setInitialAttributesOnTargetPanel(i){const c=N.getElementFromSelector(i);c&&(this._setAttributeIfNotExists(c,"role","tabpanel"),i.id&&this._setAttributeIfNotExists(c,"aria-labelledby",`${i.id}`))}_toggleDropDown(i,c){const m=this._getOuterElement(i);if(!m.classList.contains(kv))return;const y=(x,P)=>{const W=N.findOne(x,m);W&&W.classList.toggle(P,c)};y(cu,ns),y(Bv,Wo),m.setAttribute("aria-expanded",c)}_setAttributeIfNotExists(i,c,m){i.hasAttribute(c)||i.setAttribute(c,m)}_elemIsActive(i){return i.classList.contains(ns)}_getInnerElement(i){return i.matches(zo)?i:N.findOne(zo,i)}_getOuterElement(i){return i.closest(Hv)||i}static jQueryInterface(i){return this.each(function(){const c=ss.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}T.on(document,Pv,uu,function(d){["A","AREA"].includes(this.tagName)&&d.preventDefault(),!A(this)&&ss.getOrCreateInstance(this).show()}),T.on(window,Lv,()=>{for(const d of N.find(Uv))ss.getOrCreateInstance(d)}),R(ss);const jv="toast",xn=".bs.toast",qv=`mouseover${xn}`,Kv=`mouseout${xn}`,Wv=`focusin${xn}`,Yv=`focusout${xn}`,zv=`hide${xn}`,Gv=`hidden${xn}`,Jv=`show${xn}`,Qv=`shown${xn}`,Xv="fade",fu="hide",ui="show",fi="showing",Zv={animation:"boolean",autohide:"boolean",delay:"number"},eb={animation:!0,autohide:!0,delay:5e3};class hr extends K{constructor(i,c){super(i,c),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return eb}static get DefaultType(){return Zv}static get NAME(){return jv}show(){if(T.trigger(this._element,Jv).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Xv);const c=()=>{this._element.classList.remove(fi),T.trigger(this._element,Qv),this._maybeScheduleHide()};this._element.classList.remove(fu),F(this._element),this._element.classList.add(ui,fi),this._queueCallback(c,this._element,this._config.animation)}hide(){if(!this.isShown()||T.trigger(this._element,zv).defaultPrevented)return;const c=()=>{this._element.classList.add(fu),this._element.classList.remove(fi,ui),T.trigger(this._element,Gv)};this._element.classList.add(fi),this._queueCallback(c,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ui),super.dispose()}isShown(){return this._element.classList.contains(ui)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(i,c){switch(i.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=c;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=c;break}}if(c){this._clearTimeout();return}const m=i.relatedTarget;this._element===m||this._element.contains(m)||this._maybeScheduleHide()}_setListeners(){T.on(this._element,qv,i=>this._onInteraction(i,!0)),T.on(this._element,Kv,i=>this._onInteraction(i,!1)),T.on(this._element,Wv,i=>this._onInteraction(i,!0)),T.on(this._element,Yv,i=>this._onInteraction(i,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){const c=hr.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}return oe(hr),R(hr),{Alert:we,Button:On,Carousel:Os,Collapse:Ns,Dropdown:qt,Modal:Zn,Offcanvas:mn,Popover:ci,ScrollSpy:dr,Tab:ss,Toast:hr,Tooltip:es}})}(Pi)),Pi.exports}sS();const Hp=new URLSearchParams(window.location.search),gd=Hp.get("state"),_d=Hp.get("code"),vd=()=>{const e=kE(G1);e.use(HE()),e.use(Kl),e.mount("#app")};gd&&_d?vo("/api/signin/oidc",{provider:gd,code:_d,redirect_uri:window.location.protocol+"//"+window.location.host+window.location.pathname}).then(e=>{let t=new URL(window.location.href);t.search="",history.replaceState({},document.title,t.toString()),vd(),e.status||clientStore().newNotification(e.message,"danger")}):vd();
|