mysqlsyncr 1.0.8 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,30 +1,30 @@
1
- const wh=function(){const t=typeof document<"u"&&document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"}(),Sh=function(e){return"/"+e},sa={},hc=function(t,n,o){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),s=l?.nonce||l?.getAttribute("nonce");i=Promise.allSettled(n.map(a=>{if(a=Sh(a),a in sa)return;sa[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":wh,c||(f.as="script"),f.crossOrigin="",f.href=a,s&&f.setAttribute("nonce",s),document.head.appendChild(f),c)return new Promise((d,h)=>{f.addEventListener("load",d),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}function r(l){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=l,window.dispatchEvent(s),!s.defaultPrevented)throw l}return i.then(l=>{for(const s of l||[])s.status==="rejected"&&r(s.reason);return t().catch(r)})};/**
1
+ const wh=function(){const t=typeof document<"u"&&document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"}(),_h=function(e){return"/"+e},sa={},hc=function(t,n,o){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),s=l?.nonce||l?.getAttribute("nonce");i=Promise.allSettled(n.map(a=>{if(a=_h(a),a in sa)return;sa[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":wh,c||(f.as="script"),f.crossOrigin="",f.href=a,s&&f.setAttribute("nonce",s),document.head.appendChild(f),c)return new Promise((d,h)=>{f.addEventListener("load",d),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}function r(l){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=l,window.dispatchEvent(s),!s.defaultPrevented)throw l}return i.then(l=>{for(const s of l||[])s.status==="rejected"&&r(s.reason);return t().catch(r)})};/**
2
2
  * @vue/shared v3.5.13
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **//*! #__NO_SIDE_EFFECTS__ */function hs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const $e={},bo=[],on=()=>{},_h=()=>!1,mr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),gs=e=>e.startsWith("onUpdate:"),it=Object.assign,ms=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xh=Object.prototype.hasOwnProperty,Me=(e,t)=>xh.call(e,t),we=Array.isArray,yo=e=>vr(e)==="[object Map]",gc=e=>vr(e)==="[object Set]",_e=e=>typeof e=="function",Xe=e=>typeof e=="string",An=e=>typeof e=="symbol",ze=e=>e!==null&&typeof e=="object",mc=e=>(ze(e)||_e(e))&&_e(e.then)&&_e(e.catch),vc=Object.prototype.toString,vr=e=>vc.call(e),Ch=e=>vr(e).slice(8,-1),pc=e=>vr(e)==="[object Object]",vs=e=>Xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Wo=hs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),pr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},kh=/-(\w)/g,Vt=pr(e=>e.replace(kh,(t,n)=>n?n.toUpperCase():"")),Eh=/\B([A-Z])/g,to=pr(e=>e.replace(Eh,"-$1").toLowerCase()),br=pr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Yr=pr(e=>e?`on${br(e)}`:""),Tn=(e,t)=>!Object.is(e,t),Zr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},bc=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Th=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qh=e=>{const t=Xe(e)?Number(e):NaN;return isNaN(t)?e:t};let aa;const yr=()=>aa||(aa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ps(e){if(we(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],i=Xe(o)?Oh(o):ps(o);if(i)for(const r in i)t[r]=i[r]}return t}else if(Xe(e)||ze(e))return e}const Rh=/;(?![^(]*\))/g,Ah=/:([^]+)/,Ph=/\/\*[^]*?\*\//g;function Oh(e){const t={};return e.replace(Ph,"").split(Rh).forEach(n=>{if(n){const o=n.split(Ah);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function wr(e){let t="";if(Xe(e))t=e;else if(we(e))for(let n=0;n<e.length;n++){const o=wr(e[n]);o&&(t+=o+" ")}else if(ze(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Lh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Mh=hs(Lh);function yc(e){return!!e||e===""}const wc=e=>!!(e&&e.__v_isRef===!0),gt=e=>Xe(e)?e:e==null?"":we(e)||ze(e)&&(e.toString===vc||!_e(e.toString))?wc(e)?gt(e.value):JSON.stringify(e,Sc,2):String(e),Sc=(e,t)=>wc(t)?Sc(e,t.value):yo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,i],r)=>(n[el(o,r)+" =>"]=i,n),{})}:gc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>el(n))}:An(t)?el(t):ze(t)&&!we(t)&&!pc(t)?String(t):t,el=(e,t="")=>{var n;return An(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
5
+ **//*! #__NO_SIDE_EFFECTS__ */function hs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const $e={},bo=[],on=()=>{},Sh=()=>!1,mr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),gs=e=>e.startsWith("onUpdate:"),rt=Object.assign,ms=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xh=Object.prototype.hasOwnProperty,De=(e,t)=>xh.call(e,t),we=Array.isArray,yo=e=>vr(e)==="[object Map]",gc=e=>vr(e)==="[object Set]",xe=e=>typeof e=="function",Ye=e=>typeof e=="string",An=e=>typeof e=="symbol",Ue=e=>e!==null&&typeof e=="object",mc=e=>(Ue(e)||xe(e))&&xe(e.then)&&xe(e.catch),vc=Object.prototype.toString,vr=e=>vc.call(e),Ch=e=>vr(e).slice(8,-1),pc=e=>vr(e)==="[object Object]",vs=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Wo=hs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),pr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},kh=/-(\w)/g,It=pr(e=>e.replace(kh,(t,n)=>n?n.toUpperCase():"")),Eh=/\B([A-Z])/g,to=pr(e=>e.replace(Eh,"-$1").toLowerCase()),br=pr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Yr=pr(e=>e?`on${br(e)}`:""),Tn=(e,t)=>!Object.is(e,t),Zr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},bc=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Th=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qh=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let aa;const yr=()=>aa||(aa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ps(e){if(we(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],i=Ye(o)?Oh(o):ps(o);if(i)for(const r in i)t[r]=i[r]}return t}else if(Ye(e)||Ue(e))return e}const Rh=/;(?![^(]*\))/g,Ah=/:([^]+)/,Ph=/\/\*[^]*?\*\//g;function Oh(e){const t={};return e.replace(Ph,"").split(Rh).forEach(n=>{if(n){const o=n.split(Ah);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function wr(e){let t="";if(Ye(e))t=e;else if(we(e))for(let n=0;n<e.length;n++){const o=wr(e[n]);o&&(t+=o+" ")}else if(Ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Lh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Mh=hs(Lh);function yc(e){return!!e||e===""}const wc=e=>!!(e&&e.__v_isRef===!0),gt=e=>Ye(e)?e:e==null?"":we(e)||Ue(e)&&(e.toString===vc||!xe(e.toString))?wc(e)?gt(e.value):JSON.stringify(e,_c,2):String(e),_c=(e,t)=>wc(t)?_c(e,t.value):yo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,i],r)=>(n[el(o,r)+" =>"]=i,n),{})}:gc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>el(n))}:An(t)?el(t):Ue(t)&&!we(t)&&!pc(t)?String(t):t,el=(e,t="")=>{var n;return An(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
6
  * @vue/reactivity v3.5.13
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
8
  * @license MIT
9
- **/let At;class _c{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=At,!t&&At&&(this.index=(At.scopes||(At.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=At;try{return At=this,t()}finally{At=n}}}on(){At=this}off(){At=this.parent}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(this.effects.length=0,n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Dh(e){return new _c(e)}function Fh(){return At}let Ie;const tl=new WeakSet;class xc{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,At&&At.active&&At.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,tl.has(this)&&(tl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||kc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ua(this),Ec(this);const t=Ie,n=Kt;Ie=this,Kt=!0;try{return this.fn()}finally{Tc(this),Ie=t,Kt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ws(t);this.deps=this.depsTail=void 0,ua(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?tl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ml(this)&&this.run()}get dirty(){return Ml(this)}}let Cc=0,Qo,Go;function kc(e,t=!1){if(e.flags|=8,t){e.next=Go,Go=e;return}e.next=Qo,Qo=e}function bs(){Cc++}function ys(){if(--Cc>0)return;if(Go){let t=Go;for(Go=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Qo;){let t=Qo;for(Qo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function Ec(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Tc(e){let t,n=e.depsTail,o=n;for(;o;){const i=o.prevDep;o.version===-1?(o===n&&(n=i),ws(o),Bh(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=i}e.deps=t,e.depsTail=n}function Ml(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(qc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function qc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ii))return;e.globalVersion=ii;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ml(e)){e.flags&=-3;return}const n=Ie,o=Kt;Ie=e,Kt=!0;try{Ec(e);const i=e.fn(e._value);(t.version===0||Tn(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Ie=n,Kt=o,Tc(e),e.flags&=-3}}function ws(e,t=!1){const{dep:n,prevSub:o,nextSub:i}=e;if(o&&(o.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)ws(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Bh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Kt=!0;const Rc=[];function Pn(){Rc.push(Kt),Kt=!1}function On(){const e=Rc.pop();Kt=e===void 0?!0:e}function ua(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ie;Ie=void 0;try{t()}finally{Ie=n}}}let ii=0;class $h{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 Ss{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(!Ie||!Kt||Ie===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ie)n=this.activeLink=new $h(Ie,this),Ie.deps?(n.prevDep=Ie.depsTail,Ie.depsTail.nextDep=n,Ie.depsTail=n):Ie.deps=Ie.depsTail=n,Ac(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=Ie.depsTail,n.nextDep=void 0,Ie.depsTail.nextDep=n,Ie.depsTail=n,Ie.deps===n&&(Ie.deps=o)}return n}trigger(t){this.version++,ii++,this.notify(t)}notify(t){bs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ys()}}}function Ac(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)Ac(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Dl=new WeakMap,Un=Symbol(""),Fl=Symbol(""),ri=Symbol("");function vt(e,t,n){if(Kt&&Ie){let o=Dl.get(e);o||Dl.set(e,o=new Map);let i=o.get(n);i||(o.set(n,i=new Ss),i.map=o,i.key=n),i.track()}}function hn(e,t,n,o,i,r){const l=Dl.get(e);if(!l){ii++;return}const s=a=>{a&&a.trigger()};if(bs(),t==="clear")l.forEach(s);else{const a=we(e),c=a&&vs(n);if(a&&n==="length"){const u=Number(o);l.forEach((f,d)=>{(d==="length"||d===ri||!An(d)&&d>=u)&&s(f)})}else switch((n!==void 0||l.has(void 0))&&s(l.get(n)),c&&s(l.get(ri)),t){case"add":a?c&&s(l.get("length")):(s(l.get(Un)),yo(e)&&s(l.get(Fl)));break;case"delete":a||(s(l.get(Un)),yo(e)&&s(l.get(Fl)));break;case"set":yo(e)&&s(l.get(Un));break}}ys()}function uo(e){const t=Ce(e);return t===e?t:(vt(t,"iterate",ri),$t(e)?t:t.map(pt))}function Sr(e){return vt(e=Ce(e),"iterate",ri),e}const Nh={__proto__:null,[Symbol.iterator](){return nl(this,Symbol.iterator,pt)},concat(...e){return uo(this).concat(...e.map(t=>we(t)?uo(t):t))},entries(){return nl(this,"entries",e=>(e[1]=pt(e[1]),e))},every(e,t){return un(this,"every",e,t,void 0,arguments)},filter(e,t){return un(this,"filter",e,t,n=>n.map(pt),arguments)},find(e,t){return un(this,"find",e,t,pt,arguments)},findIndex(e,t){return un(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return un(this,"findLast",e,t,pt,arguments)},findLastIndex(e,t){return un(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return un(this,"forEach",e,t,void 0,arguments)},includes(...e){return ol(this,"includes",e)},indexOf(...e){return ol(this,"indexOf",e)},join(e){return uo(this).join(e)},lastIndexOf(...e){return ol(this,"lastIndexOf",e)},map(e,t){return un(this,"map",e,t,void 0,arguments)},pop(){return Fo(this,"pop")},push(...e){return Fo(this,"push",e)},reduce(e,...t){return ca(this,"reduce",e,t)},reduceRight(e,...t){return ca(this,"reduceRight",e,t)},shift(){return Fo(this,"shift")},some(e,t){return un(this,"some",e,t,void 0,arguments)},splice(...e){return Fo(this,"splice",e)},toReversed(){return uo(this).toReversed()},toSorted(e){return uo(this).toSorted(e)},toSpliced(...e){return uo(this).toSpliced(...e)},unshift(...e){return Fo(this,"unshift",e)},values(){return nl(this,"values",pt)}};function nl(e,t,n){const o=Sr(e),i=o[t]();return o!==e&&!$t(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.value&&(r.value=n(r.value)),r}),i}const Vh=Array.prototype;function un(e,t,n,o,i,r){const l=Sr(e),s=l!==e&&!$t(e),a=l[t];if(a!==Vh[t]){const f=a.apply(e,r);return s?pt(f):f}let c=n;l!==e&&(s?c=function(f,d){return n.call(this,pt(f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=a.call(l,c,o);return s&&i?i(u):u}function ca(e,t,n,o){const i=Sr(e);let r=n;return i!==e&&($t(e)?n.length>3&&(r=function(l,s,a){return n.call(this,l,s,a,e)}):r=function(l,s,a){return n.call(this,l,pt(s),a,e)}),i[t](r,...o)}function ol(e,t,n){const o=Ce(e);vt(o,"iterate",ri);const i=o[t](...n);return(i===-1||i===!1)&&Cs(n[0])?(n[0]=Ce(n[0]),o[t](...n)):i}function Fo(e,t,n=[]){Pn(),bs();const o=Ce(e)[t].apply(e,n);return ys(),On(),o}const Ih=hs("__proto__,__v_isRef,__isVue"),Pc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(An));function jh(e){An(e)||(e=String(e));const t=Ce(this);return vt(t,"has",e),t.hasOwnProperty(e)}class Oc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return o===(i?r?Yh:Fc:r?Dc:Mc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const l=we(t);if(!i){let a;if(l&&(a=Nh[n]))return a;if(n==="hasOwnProperty")return jh}const s=Reflect.get(t,n,yt(t)?t:o);return(An(n)?Pc.has(n):Ih(n))||(i||vt(t,"get",n),r)?s:yt(s)?l&&vs(n)?s:s.value:ze(s)?i?$c(s):Ao(s):s}}class Lc extends Oc{constructor(t=!1){super(!1,t)}set(t,n,o,i){let r=t[n];if(!this._isShallow){const a=Xn(r);if(!$t(o)&&!Xn(o)&&(r=Ce(r),o=Ce(o)),!we(t)&&yt(r)&&!yt(o))return a?!1:(r.value=o,!0)}const l=we(t)&&vs(n)?Number(n)<t.length:Me(t,n),s=Reflect.set(t,n,o,yt(t)?t:i);return t===Ce(i)&&(l?Tn(o,r)&&hn(t,"set",n,o):hn(t,"add",n,o)),s}deleteProperty(t,n){const o=Me(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&o&&hn(t,"delete",n,void 0),i}has(t,n){const o=Reflect.has(t,n);return(!An(n)||!Pc.has(n))&&vt(t,"has",n),o}ownKeys(t){return vt(t,"iterate",we(t)?"length":Un),Reflect.ownKeys(t)}}class Hh extends Oc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const zh=new Lc,Uh=new Hh,Kh=new Lc(!0);const Bl=e=>e,xi=e=>Reflect.getPrototypeOf(e);function Wh(e,t,n){return function(...o){const i=this.__v_raw,r=Ce(i),l=yo(r),s=e==="entries"||e===Symbol.iterator&&l,a=e==="keys"&&l,c=i[e](...o),u=n?Bl:t?$l:pt;return!t&&vt(r,"iterate",a?Fl:Un),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:s?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Ci(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Qh(e,t){const n={get(i){const r=this.__v_raw,l=Ce(r),s=Ce(i);e||(Tn(i,s)&&vt(l,"get",i),vt(l,"get",s));const{has:a}=xi(l),c=t?Bl:e?$l:pt;if(a.call(l,i))return c(r.get(i));if(a.call(l,s))return c(r.get(s));r!==l&&r.get(i)},get size(){const i=this.__v_raw;return!e&&vt(Ce(i),"iterate",Un),Reflect.get(i,"size",i)},has(i){const r=this.__v_raw,l=Ce(r),s=Ce(i);return e||(Tn(i,s)&&vt(l,"has",i),vt(l,"has",s)),i===s?r.has(i):r.has(i)||r.has(s)},forEach(i,r){const l=this,s=l.__v_raw,a=Ce(s),c=t?Bl:e?$l:pt;return!e&&vt(a,"iterate",Un),s.forEach((u,f)=>i.call(r,c(u),c(f),l))}};return it(n,e?{add:Ci("add"),set:Ci("set"),delete:Ci("delete"),clear:Ci("clear")}:{add(i){!t&&!$t(i)&&!Xn(i)&&(i=Ce(i));const r=Ce(this);return xi(r).has.call(r,i)||(r.add(i),hn(r,"add",i,i)),this},set(i,r){!t&&!$t(r)&&!Xn(r)&&(r=Ce(r));const l=Ce(this),{has:s,get:a}=xi(l);let c=s.call(l,i);c||(i=Ce(i),c=s.call(l,i));const u=a.call(l,i);return l.set(i,r),c?Tn(r,u)&&hn(l,"set",i,r):hn(l,"add",i,r),this},delete(i){const r=Ce(this),{has:l,get:s}=xi(r);let a=l.call(r,i);a||(i=Ce(i),a=l.call(r,i)),s&&s.call(r,i);const c=r.delete(i);return a&&hn(r,"delete",i,void 0),c},clear(){const i=Ce(this),r=i.size!==0,l=i.clear();return r&&hn(i,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Wh(i,e,t)}),n}function _s(e,t){const n=Qh(e,t);return(o,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?o:Reflect.get(Me(n,i)&&i in o?n:o,i,r)}const Gh={get:_s(!1,!1)},Jh={get:_s(!1,!0)},Xh={get:_s(!0,!1)};const Mc=new WeakMap,Dc=new WeakMap,Fc=new WeakMap,Yh=new WeakMap;function Zh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function eg(e){return e.__v_skip||!Object.isExtensible(e)?0:Zh(Ch(e))}function Ao(e){return Xn(e)?e:xs(e,!1,zh,Gh,Mc)}function Bc(e){return xs(e,!1,Kh,Jh,Dc)}function $c(e){return xs(e,!0,Uh,Xh,Fc)}function xs(e,t,n,o,i){if(!ze(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const l=eg(e);if(l===0)return e;const s=new Proxy(e,l===2?o:n);return i.set(e,s),s}function wo(e){return Xn(e)?wo(e.__v_raw):!!(e&&e.__v_isReactive)}function Xn(e){return!!(e&&e.__v_isReadonly)}function $t(e){return!!(e&&e.__v_isShallow)}function Cs(e){return e?!!e.__v_raw:!1}function Ce(e){const t=e&&e.__v_raw;return t?Ce(t):e}function Po(e){return!Me(e,"__v_skip")&&Object.isExtensible(e)&&bc(e,"__v_skip",!0),e}const pt=e=>ze(e)?Ao(e):e,$l=e=>ze(e)?$c(e):e;function yt(e){return e?e.__v_isRef===!0:!1}function ae(e){return Nc(e,!1)}function tg(e){return Nc(e,!0)}function Nc(e,t){return yt(e)?e:new ng(e,t)}class ng{constructor(t,n){this.dep=new Ss,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ce(t),this._value=n?t:pt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||$t(t)||Xn(t);t=o?t:Ce(t),Tn(t,n)&&(this._rawValue=t,this._value=o?t:pt(t),this.dep.trigger())}}function Kn(e){return yt(e)?e.value:e}const og={get:(e,t,n)=>t==="__v_raw"?e:Kn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const i=e[t];return yt(i)&&!yt(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function Vc(e){return wo(e)?e:new Proxy(e,og)}class ig{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ss(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ii-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&Ie!==this)return kc(this,!0),!0}get value(){const t=this.dep.track();return qc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function rg(e,t,n=!1){let o,i;return _e(e)?o=e:(o=e.get,i=e.set),new ig(o,i,n)}const ki={},Ui=new WeakMap;let Nn;function lg(e,t=!1,n=Nn){if(n){let o=Ui.get(n);o||Ui.set(n,o=[]),o.push(e)}}function sg(e,t,n=$e){const{immediate:o,deep:i,once:r,scheduler:l,augmentJob:s,call:a}=n,c=T=>i?T:$t(T)||i===!1||i===0?gn(T,1):gn(T);let u,f,d,h,g=!1,p=!1;if(yt(e)?(f=()=>e.value,g=$t(e)):wo(e)?(f=()=>c(e),g=!0):we(e)?(p=!0,g=e.some(T=>wo(T)||$t(T)),f=()=>e.map(T=>{if(yt(T))return T.value;if(wo(T))return c(T);if(_e(T))return a?a(T,2):T()})):_e(e)?t?f=a?()=>a(e,2):e:f=()=>{if(d){Pn();try{d()}finally{On()}}const T=Nn;Nn=u;try{return a?a(e,3,[h]):e(h)}finally{Nn=T}}:f=on,t&&i){const T=f,M=i===!0?1/0:i;f=()=>gn(T(),M)}const v=Fh(),q=()=>{u.stop(),v&&v.active&&ms(v.effects,u)};if(r&&t){const T=t;t=(...M)=>{T(...M),q()}}let _=p?new Array(e.length).fill(ki):ki;const E=T=>{if(!(!(u.flags&1)||!u.dirty&&!T))if(t){const M=u.run();if(i||g||(p?M.some((I,W)=>Tn(I,_[W])):Tn(M,_))){d&&d();const I=Nn;Nn=u;try{const W=[M,_===ki?void 0:p&&_[0]===ki?[]:_,h];a?a(t,3,W):t(...W),_=M}finally{Nn=I}}}else u.run()};return s&&s(E),u=new xc(f),u.scheduler=l?()=>l(E,!1):E,h=T=>lg(T,!1,u),d=u.onStop=()=>{const T=Ui.get(u);if(T){if(a)a(T,4);else for(const M of T)M();Ui.delete(u)}},t?o?E(!0):_=u.run():l?l(E.bind(null,!0),!0):u.run(),q.pause=u.pause.bind(u),q.resume=u.resume.bind(u),q.stop=q,q}function gn(e,t=1/0,n){if(t<=0||!ze(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,yt(e))gn(e.value,t,n);else if(we(e))for(let o=0;o<e.length;o++)gn(e[o],t,n);else if(gc(e)||yo(e))e.forEach(o=>{gn(o,t,n)});else if(pc(e)){for(const o in e)gn(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&gn(e[o],t,n)}return e}/**
9
+ **/let Pt;class Sc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Pt,!t&&Pt&&(this.index=(Pt.scopes||(Pt.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=Pt;try{return Pt=this,t()}finally{Pt=n}}}on(){Pt=this}off(){Pt=this.parent}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(this.effects.length=0,n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Dh(e){return new Sc(e)}function Fh(){return Pt}let Ie;const tl=new WeakSet;class xc{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,Pt&&Pt.active&&Pt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,tl.has(this)&&(tl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||kc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ua(this),Ec(this);const t=Ie,n=Wt;Ie=this,Wt=!0;try{return this.fn()}finally{Tc(this),Ie=t,Wt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ws(t);this.deps=this.depsTail=void 0,ua(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?tl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ml(this)&&this.run()}get dirty(){return Ml(this)}}let Cc=0,Qo,Go;function kc(e,t=!1){if(e.flags|=8,t){e.next=Go,Go=e;return}e.next=Qo,Qo=e}function bs(){Cc++}function ys(){if(--Cc>0)return;if(Go){let t=Go;for(Go=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Qo;){let t=Qo;for(Qo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function Ec(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Tc(e){let t,n=e.depsTail,o=n;for(;o;){const i=o.prevDep;o.version===-1?(o===n&&(n=i),ws(o),Bh(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=i}e.deps=t,e.depsTail=n}function Ml(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(qc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function qc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ii))return;e.globalVersion=ii;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ml(e)){e.flags&=-3;return}const n=Ie,o=Wt;Ie=e,Wt=!0;try{Ec(e);const i=e.fn(e._value);(t.version===0||Tn(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Ie=n,Wt=o,Tc(e),e.flags&=-3}}function ws(e,t=!1){const{dep:n,prevSub:o,nextSub:i}=e;if(o&&(o.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)ws(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Bh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Wt=!0;const Rc=[];function Pn(){Rc.push(Wt),Wt=!1}function On(){const e=Rc.pop();Wt=e===void 0?!0:e}function ua(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ie;Ie=void 0;try{t()}finally{Ie=n}}}let ii=0;class $h{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 _s{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(!Ie||!Wt||Ie===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ie)n=this.activeLink=new $h(Ie,this),Ie.deps?(n.prevDep=Ie.depsTail,Ie.depsTail.nextDep=n,Ie.depsTail=n):Ie.deps=Ie.depsTail=n,Ac(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=Ie.depsTail,n.nextDep=void 0,Ie.depsTail.nextDep=n,Ie.depsTail=n,Ie.deps===n&&(Ie.deps=o)}return n}trigger(t){this.version++,ii++,this.notify(t)}notify(t){bs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ys()}}}function Ac(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)Ac(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Dl=new WeakMap,Un=Symbol(""),Fl=Symbol(""),ri=Symbol("");function vt(e,t,n){if(Wt&&Ie){let o=Dl.get(e);o||Dl.set(e,o=new Map);let i=o.get(n);i||(o.set(n,i=new _s),i.map=o,i.key=n),i.track()}}function hn(e,t,n,o,i,r){const l=Dl.get(e);if(!l){ii++;return}const s=a=>{a&&a.trigger()};if(bs(),t==="clear")l.forEach(s);else{const a=we(e),c=a&&vs(n);if(a&&n==="length"){const u=Number(o);l.forEach((f,d)=>{(d==="length"||d===ri||!An(d)&&d>=u)&&s(f)})}else switch((n!==void 0||l.has(void 0))&&s(l.get(n)),c&&s(l.get(ri)),t){case"add":a?c&&s(l.get("length")):(s(l.get(Un)),yo(e)&&s(l.get(Fl)));break;case"delete":a||(s(l.get(Un)),yo(e)&&s(l.get(Fl)));break;case"set":yo(e)&&s(l.get(Un));break}}ys()}function uo(e){const t=ke(e);return t===e?t:(vt(t,"iterate",ri),Nt(e)?t:t.map(pt))}function _r(e){return vt(e=ke(e),"iterate",ri),e}const Nh={__proto__:null,[Symbol.iterator](){return nl(this,Symbol.iterator,pt)},concat(...e){return uo(this).concat(...e.map(t=>we(t)?uo(t):t))},entries(){return nl(this,"entries",e=>(e[1]=pt(e[1]),e))},every(e,t){return un(this,"every",e,t,void 0,arguments)},filter(e,t){return un(this,"filter",e,t,n=>n.map(pt),arguments)},find(e,t){return un(this,"find",e,t,pt,arguments)},findIndex(e,t){return un(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return un(this,"findLast",e,t,pt,arguments)},findLastIndex(e,t){return un(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return un(this,"forEach",e,t,void 0,arguments)},includes(...e){return ol(this,"includes",e)},indexOf(...e){return ol(this,"indexOf",e)},join(e){return uo(this).join(e)},lastIndexOf(...e){return ol(this,"lastIndexOf",e)},map(e,t){return un(this,"map",e,t,void 0,arguments)},pop(){return Fo(this,"pop")},push(...e){return Fo(this,"push",e)},reduce(e,...t){return ca(this,"reduce",e,t)},reduceRight(e,...t){return ca(this,"reduceRight",e,t)},shift(){return Fo(this,"shift")},some(e,t){return un(this,"some",e,t,void 0,arguments)},splice(...e){return Fo(this,"splice",e)},toReversed(){return uo(this).toReversed()},toSorted(e){return uo(this).toSorted(e)},toSpliced(...e){return uo(this).toSpliced(...e)},unshift(...e){return Fo(this,"unshift",e)},values(){return nl(this,"values",pt)}};function nl(e,t,n){const o=_r(e),i=o[t]();return o!==e&&!Nt(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.value&&(r.value=n(r.value)),r}),i}const Vh=Array.prototype;function un(e,t,n,o,i,r){const l=_r(e),s=l!==e&&!Nt(e),a=l[t];if(a!==Vh[t]){const f=a.apply(e,r);return s?pt(f):f}let c=n;l!==e&&(s?c=function(f,d){return n.call(this,pt(f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=a.call(l,c,o);return s&&i?i(u):u}function ca(e,t,n,o){const i=_r(e);let r=n;return i!==e&&(Nt(e)?n.length>3&&(r=function(l,s,a){return n.call(this,l,s,a,e)}):r=function(l,s,a){return n.call(this,l,pt(s),a,e)}),i[t](r,...o)}function ol(e,t,n){const o=ke(e);vt(o,"iterate",ri);const i=o[t](...n);return(i===-1||i===!1)&&Cs(n[0])?(n[0]=ke(n[0]),o[t](...n)):i}function Fo(e,t,n=[]){Pn(),bs();const o=ke(e)[t].apply(e,n);return ys(),On(),o}const Ih=hs("__proto__,__v_isRef,__isVue"),Pc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(An));function jh(e){An(e)||(e=String(e));const t=ke(this);return vt(t,"has",e),t.hasOwnProperty(e)}class Oc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return o===(i?r?Yh:Fc:r?Dc:Mc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const l=we(t);if(!i){let a;if(l&&(a=Nh[n]))return a;if(n==="hasOwnProperty")return jh}const s=Reflect.get(t,n,yt(t)?t:o);return(An(n)?Pc.has(n):Ih(n))||(i||vt(t,"get",n),r)?s:yt(s)?l&&vs(n)?s:s.value:Ue(s)?i?$c(s):Ao(s):s}}class Lc extends Oc{constructor(t=!1){super(!1,t)}set(t,n,o,i){let r=t[n];if(!this._isShallow){const a=Xn(r);if(!Nt(o)&&!Xn(o)&&(r=ke(r),o=ke(o)),!we(t)&&yt(r)&&!yt(o))return a?!1:(r.value=o,!0)}const l=we(t)&&vs(n)?Number(n)<t.length:De(t,n),s=Reflect.set(t,n,o,yt(t)?t:i);return t===ke(i)&&(l?Tn(o,r)&&hn(t,"set",n,o):hn(t,"add",n,o)),s}deleteProperty(t,n){const o=De(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&o&&hn(t,"delete",n,void 0),i}has(t,n){const o=Reflect.has(t,n);return(!An(n)||!Pc.has(n))&&vt(t,"has",n),o}ownKeys(t){return vt(t,"iterate",we(t)?"length":Un),Reflect.ownKeys(t)}}class Hh extends Oc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const zh=new Lc,Uh=new Hh,Kh=new Lc(!0);const Bl=e=>e,xi=e=>Reflect.getPrototypeOf(e);function Wh(e,t,n){return function(...o){const i=this.__v_raw,r=ke(i),l=yo(r),s=e==="entries"||e===Symbol.iterator&&l,a=e==="keys"&&l,c=i[e](...o),u=n?Bl:t?$l:pt;return!t&&vt(r,"iterate",a?Fl:Un),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:s?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Ci(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Qh(e,t){const n={get(i){const r=this.__v_raw,l=ke(r),s=ke(i);e||(Tn(i,s)&&vt(l,"get",i),vt(l,"get",s));const{has:a}=xi(l),c=t?Bl:e?$l:pt;if(a.call(l,i))return c(r.get(i));if(a.call(l,s))return c(r.get(s));r!==l&&r.get(i)},get size(){const i=this.__v_raw;return!e&&vt(ke(i),"iterate",Un),Reflect.get(i,"size",i)},has(i){const r=this.__v_raw,l=ke(r),s=ke(i);return e||(Tn(i,s)&&vt(l,"has",i),vt(l,"has",s)),i===s?r.has(i):r.has(i)||r.has(s)},forEach(i,r){const l=this,s=l.__v_raw,a=ke(s),c=t?Bl:e?$l:pt;return!e&&vt(a,"iterate",Un),s.forEach((u,f)=>i.call(r,c(u),c(f),l))}};return rt(n,e?{add:Ci("add"),set:Ci("set"),delete:Ci("delete"),clear:Ci("clear")}:{add(i){!t&&!Nt(i)&&!Xn(i)&&(i=ke(i));const r=ke(this);return xi(r).has.call(r,i)||(r.add(i),hn(r,"add",i,i)),this},set(i,r){!t&&!Nt(r)&&!Xn(r)&&(r=ke(r));const l=ke(this),{has:s,get:a}=xi(l);let c=s.call(l,i);c||(i=ke(i),c=s.call(l,i));const u=a.call(l,i);return l.set(i,r),c?Tn(r,u)&&hn(l,"set",i,r):hn(l,"add",i,r),this},delete(i){const r=ke(this),{has:l,get:s}=xi(r);let a=l.call(r,i);a||(i=ke(i),a=l.call(r,i)),s&&s.call(r,i);const c=r.delete(i);return a&&hn(r,"delete",i,void 0),c},clear(){const i=ke(this),r=i.size!==0,l=i.clear();return r&&hn(i,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Wh(i,e,t)}),n}function Ss(e,t){const n=Qh(e,t);return(o,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?o:Reflect.get(De(n,i)&&i in o?n:o,i,r)}const Gh={get:Ss(!1,!1)},Jh={get:Ss(!1,!0)},Xh={get:Ss(!0,!1)};const Mc=new WeakMap,Dc=new WeakMap,Fc=new WeakMap,Yh=new WeakMap;function Zh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function eg(e){return e.__v_skip||!Object.isExtensible(e)?0:Zh(Ch(e))}function Ao(e){return Xn(e)?e:xs(e,!1,zh,Gh,Mc)}function Bc(e){return xs(e,!1,Kh,Jh,Dc)}function $c(e){return xs(e,!0,Uh,Xh,Fc)}function xs(e,t,n,o,i){if(!Ue(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const l=eg(e);if(l===0)return e;const s=new Proxy(e,l===2?o:n);return i.set(e,s),s}function wo(e){return Xn(e)?wo(e.__v_raw):!!(e&&e.__v_isReactive)}function Xn(e){return!!(e&&e.__v_isReadonly)}function Nt(e){return!!(e&&e.__v_isShallow)}function Cs(e){return e?!!e.__v_raw:!1}function ke(e){const t=e&&e.__v_raw;return t?ke(t):e}function Po(e){return!De(e,"__v_skip")&&Object.isExtensible(e)&&bc(e,"__v_skip",!0),e}const pt=e=>Ue(e)?Ao(e):e,$l=e=>Ue(e)?$c(e):e;function yt(e){return e?e.__v_isRef===!0:!1}function ue(e){return Nc(e,!1)}function tg(e){return Nc(e,!0)}function Nc(e,t){return yt(e)?e:new ng(e,t)}class ng{constructor(t,n){this.dep=new _s,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ke(t),this._value=n?t:pt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||Nt(t)||Xn(t);t=o?t:ke(t),Tn(t,n)&&(this._rawValue=t,this._value=o?t:pt(t),this.dep.trigger())}}function Kn(e){return yt(e)?e.value:e}const og={get:(e,t,n)=>t==="__v_raw"?e:Kn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const i=e[t];return yt(i)&&!yt(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function Vc(e){return wo(e)?e:new Proxy(e,og)}class ig{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new _s(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ii-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&Ie!==this)return kc(this,!0),!0}get value(){const t=this.dep.track();return qc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function rg(e,t,n=!1){let o,i;return xe(e)?o=e:(o=e.get,i=e.set),new ig(o,i,n)}const ki={},Ui=new WeakMap;let Nn;function lg(e,t=!1,n=Nn){if(n){let o=Ui.get(n);o||Ui.set(n,o=[]),o.push(e)}}function sg(e,t,n=$e){const{immediate:o,deep:i,once:r,scheduler:l,augmentJob:s,call:a}=n,c=T=>i?T:Nt(T)||i===!1||i===0?gn(T,1):gn(T);let u,f,d,h,g=!1,p=!1;if(yt(e)?(f=()=>e.value,g=Nt(e)):wo(e)?(f=()=>c(e),g=!0):we(e)?(p=!0,g=e.some(T=>wo(T)||Nt(T)),f=()=>e.map(T=>{if(yt(T))return T.value;if(wo(T))return c(T);if(xe(T))return a?a(T,2):T()})):xe(e)?t?f=a?()=>a(e,2):e:f=()=>{if(d){Pn();try{d()}finally{On()}}const T=Nn;Nn=u;try{return a?a(e,3,[h]):e(h)}finally{Nn=T}}:f=on,t&&i){const T=f,M=i===!0?1/0:i;f=()=>gn(T(),M)}const v=Fh(),q=()=>{u.stop(),v&&v.active&&ms(v.effects,u)};if(r&&t){const T=t;t=(...M)=>{T(...M),q()}}let S=p?new Array(e.length).fill(ki):ki;const E=T=>{if(!(!(u.flags&1)||!u.dirty&&!T))if(t){const M=u.run();if(i||g||(p?M.some((I,W)=>Tn(I,S[W])):Tn(M,S))){d&&d();const I=Nn;Nn=u;try{const W=[M,S===ki?void 0:p&&S[0]===ki?[]:S,h];a?a(t,3,W):t(...W),S=M}finally{Nn=I}}}else u.run()};return s&&s(E),u=new xc(f),u.scheduler=l?()=>l(E,!1):E,h=T=>lg(T,!1,u),d=u.onStop=()=>{const T=Ui.get(u);if(T){if(a)a(T,4);else for(const M of T)M();Ui.delete(u)}},t?o?E(!0):S=u.run():l?l(E.bind(null,!0),!0):u.run(),q.pause=u.pause.bind(u),q.resume=u.resume.bind(u),q.stop=q,q}function gn(e,t=1/0,n){if(t<=0||!Ue(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,yt(e))gn(e.value,t,n);else if(we(e))for(let o=0;o<e.length;o++)gn(e[o],t,n);else if(gc(e)||yo(e))e.forEach(o=>{gn(o,t,n)});else if(pc(e)){for(const o in e)gn(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&gn(e[o],t,n)}return e}/**
10
10
  * @vue/runtime-core v3.5.13
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
13
- **/function pi(e,t,n,o){try{return o?e(...o):e()}catch(i){_r(i,t,n)}}function Wt(e,t,n,o){if(_e(e)){const i=pi(e,t,n,o);return i&&mc(i)&&i.catch(r=>{_r(r,t,n)}),i}if(we(e)){const i=[];for(let r=0;r<e.length;r++)i.push(Wt(e[r],t,n,o));return i}}function _r(e,t,n,o=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||$e;if(t){let s=t.parent;const a=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const u=s.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,a,c)===!1)return}s=s.parent}if(r){Pn(),pi(r,null,10,[e,a,c]),On();return}}ag(e,n,i,o,l)}function ag(e,t,n,o=!0,i=!1){if(i)throw e;console.error(e)}const xt=[];let en=-1;const So=[];let Sn=null,mo=0;const Ic=Promise.resolve();let Ki=null;function He(e){const t=Ki||Ic;return e?t.then(this?e.bind(this):e):t}function ug(e){let t=en+1,n=xt.length;for(;t<n;){const o=t+n>>>1,i=xt[o],r=li(i);r<e||r===e&&i.flags&2?t=o+1:n=o}return t}function ks(e){if(!(e.flags&1)){const t=li(e),n=xt[xt.length-1];!n||!(e.flags&2)&&t>=li(n)?xt.push(e):xt.splice(ug(t),0,e),e.flags|=1,jc()}}function jc(){Ki||(Ki=Ic.then(zc))}function cg(e){we(e)?So.push(...e):Sn&&e.id===-1?Sn.splice(mo+1,0,e):e.flags&1||(So.push(e),e.flags|=1),jc()}function fa(e,t,n=en+1){for(;n<xt.length;n++){const o=xt[n];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;xt.splice(n,1),n--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function Hc(e){if(So.length){const t=[...new Set(So)].sort((n,o)=>li(n)-li(o));if(So.length=0,Sn){Sn.push(...t);return}for(Sn=t,mo=0;mo<Sn.length;mo++){const n=Sn[mo];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Sn=null,mo=0}}const li=e=>e.id==null?e.flags&2?-1:1/0:e.id;function zc(e){try{for(en=0;en<xt.length;en++){const t=xt[en];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),pi(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;en<xt.length;en++){const t=xt[en];t&&(t.flags&=-2)}en=-1,xt.length=0,Hc(),Ki=null,(xt.length||So.length)&&zc()}}let qt=null,Uc=null;function Wi(e){const t=qt;return qt=e,Uc=e&&e.type.__scopeId||null,t}function Ee(e,t=qt,n){if(!t||e._n)return e;const o=(...i)=>{o._d&&ka(-1);const r=Wi(t);let l;try{l=e(...i)}finally{Wi(r),o._d&&ka(1)}return l};return o._n=!0,o._c=!0,o._d=!0,o}function xr(e,t){if(qt===null)return e;const n=Pr(qt),o=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,l,s,a=$e]=t[i];r&&(_e(r)&&(r={mounted:r,updated:r}),r.deep&&gn(l),o.push({dir:r,instance:n,value:l,oldValue:void 0,arg:s,modifiers:a}))}return e}function Dn(e,t,n,o){const i=e.dirs,r=t&&t.dirs;for(let l=0;l<i.length;l++){const s=i[l];r&&(s.oldValue=r[l].value);let a=s.dir[o];a&&(Pn(),Wt(a,n,8,[e.el,s,e,t]),On())}}const Kc=Symbol("_vte"),Wc=e=>e.__isTeleport,Jo=e=>e&&(e.disabled||e.disabled===""),da=e=>e&&(e.defer||e.defer===""),ha=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ga=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Nl=(e,t)=>{const n=e&&e.to;return Xe(n)?t?t(n):null:n},Qc={name:"Teleport",__isTeleport:!0,process(e,t,n,o,i,r,l,s,a,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:g,createText:p,createComment:v}}=c,q=Jo(t.props);let{shapeFlag:_,children:E,dynamicChildren:T}=t;if(e==null){const M=t.el=p(""),I=t.anchor=p("");h(M,n,o),h(I,n,o);const W=(A,F)=>{_&16&&(i&&i.isCE&&(i.ce._teleportTarget=A),u(E,A,F,i,r,l,s,a))},Z=()=>{const A=t.target=Nl(t.props,g),F=Gc(A,t,p,h);A&&(l!=="svg"&&ha(A)?l="svg":l!=="mathml"&&ga(A)&&(l="mathml"),q||(W(A,F),Di(t,!1)))};q&&(W(n,I),Di(t,!0)),da(t.props)?_t(()=>{Z(),t.el.__isMounted=!0},r):Z()}else{if(da(t.props)&&!e.el.__isMounted){_t(()=>{Qc.process(e,t,n,o,i,r,l,s,a,c),delete e.el.__isMounted},r);return}t.el=e.el,t.targetStart=e.targetStart;const M=t.anchor=e.anchor,I=t.target=e.target,W=t.targetAnchor=e.targetAnchor,Z=Jo(e.props),A=Z?n:I,F=Z?M:W;if(l==="svg"||ha(I)?l="svg":(l==="mathml"||ga(I))&&(l="mathml"),T?(d(e.dynamicChildren,T,A,i,r,l,s),Ps(e,t,!0)):a||f(e,t,A,F,i,r,l,s,!1),q)Z?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ei(t,n,M,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=t.target=Nl(t.props,g);U&&Ei(t,U,null,c,0)}else Z&&Ei(t,I,W,c,1);Di(t,q)}},remove(e,t,n,{um:o,o:{remove:i}},r){const{shapeFlag:l,children:s,anchor:a,targetStart:c,targetAnchor:u,target:f,props:d}=e;if(f&&(i(c),i(u)),r&&i(a),l&16){const h=r||!Jo(d);for(let g=0;g<s.length;g++){const p=s[g];o(p,t,n,h,!!p.dynamicChildren)}}},move:Ei,hydrate:fg};function Ei(e,t,n,{o:{insert:o},m:i},r=2){r===0&&o(e.targetAnchor,t,n);const{el:l,anchor:s,shapeFlag:a,children:c,props:u}=e,f=r===2;if(f&&o(l,t,n),(!f||Jo(u))&&a&16)for(let d=0;d<c.length;d++)i(c[d],t,n,2);f&&o(s,t,n)}function fg(e,t,n,o,i,r,{o:{nextSibling:l,parentNode:s,querySelector:a,insert:c,createText:u}},f){const d=t.target=Nl(t.props,a);if(d){const h=Jo(t.props),g=d._lpa||d.firstChild;if(t.shapeFlag&16)if(h)t.anchor=f(l(e),t,s(e),n,o,i,r),t.targetStart=g,t.targetAnchor=g&&l(g);else{t.anchor=l(e);let p=g;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,d._lpa=t.targetAnchor&&l(t.targetAnchor);break}}p=l(p)}t.targetAnchor||Gc(d,t,u,c),f(g&&l(g),t,d,n,o,i,r)}Di(t,h)}return t.anchor&&l(t.anchor)}const dg=Qc;function Di(e,t){const n=e.ctx;if(n&&n.ut){let o,i;for(t?(o=e.el,i=e.anchor):(o=e.targetStart,i=e.targetAnchor);o&&o!==i;)o.nodeType===1&&o.setAttribute("data-v-owner",n.uid),o=o.nextSibling;n.ut()}}function Gc(e,t,n,o){const i=t.targetStart=n(""),r=t.targetAnchor=n("");return i[Kc]=r,e&&(o(i,e),o(r,e)),r}const _n=Symbol("_leaveCb"),Ti=Symbol("_enterCb");function Jc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return rn(()=>{e.isMounted=!0}),et(()=>{e.isUnmounting=!0}),e}const Mt=[Function,Array],Xc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Mt,onEnter:Mt,onAfterEnter:Mt,onEnterCancelled:Mt,onBeforeLeave:Mt,onLeave:Mt,onAfterLeave:Mt,onLeaveCancelled:Mt,onBeforeAppear:Mt,onAppear:Mt,onAfterAppear:Mt,onAppearCancelled:Mt},Yc=e=>{const t=e.subTree;return t.component?Yc(t.component):t},hg={name:"BaseTransition",props:Xc,setup(e,{slots:t}){const n=Re(),o=Jc();return()=>{const i=t.default&&Es(t.default(),!0);if(!i||!i.length)return;const r=Zc(i),l=Ce(e),{mode:s}=l;if(o.isLeaving)return il(r);const a=ma(r);if(!a)return il(r);let c=si(a,l,o,n,f=>c=f);a.type!==Et&&Yn(a,c);let u=n.subTree&&ma(n.subTree);if(u&&u.type!==Et&&!jn(a,u)&&Yc(n).type!==Et){let f=si(u,l,o,n);if(Yn(u,f),s==="out-in"&&a.type!==Et)return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},il(r);s==="in-out"&&a.type!==Et?f.delayLeave=(d,h,g)=>{const p=ef(o,u);p[String(u.key)]=u,d[_n]=()=>{h(),d[_n]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{g(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Zc(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Et){t=n;break}}return t}const gg=hg;function ef(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function si(e,t,n,o,i){const{appear:r,mode:l,persisted:s=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:v,onAppear:q,onAfterAppear:_,onAppearCancelled:E}=t,T=String(e.key),M=ef(n,e),I=(A,F)=>{A&&Wt(A,o,9,F)},W=(A,F)=>{const U=F[1];I(A,F),we(A)?A.every(C=>C.length<=1)&&U():A.length<=1&&U()},Z={mode:l,persisted:s,beforeEnter(A){let F=a;if(!n.isMounted)if(r)F=v||a;else return;A[_n]&&A[_n](!0);const U=M[T];U&&jn(e,U)&&U.el[_n]&&U.el[_n](),I(F,[A])},enter(A){let F=c,U=u,C=f;if(!n.isMounted)if(r)F=q||c,U=_||u,C=E||f;else return;let J=!1;const N=A[Ti]=ie=>{J||(J=!0,ie?I(C,[A]):I(U,[A]),Z.delayedLeave&&Z.delayedLeave(),A[Ti]=void 0)};F?W(F,[A,N]):N()},leave(A,F){const U=String(e.key);if(A[Ti]&&A[Ti](!0),n.isUnmounting)return F();I(d,[A]);let C=!1;const J=A[_n]=N=>{C||(C=!0,F(),N?I(p,[A]):I(g,[A]),A[_n]=void 0,M[U]===e&&delete M[U])};M[U]=e,h?W(h,[A,J]):J()},clone(A){const F=si(A,t,n,o,i);return i&&i(F),F}};return Z}function il(e){if(Cr(e))return e=qn(e),e.children=null,e}function ma(e){if(!Cr(e))return Wc(e.type)&&e.children?Zc(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&_e(n.default))return n.default()}}function Yn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Yn(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 Es(e,t=!1,n){let o=[],i=0;for(let r=0;r<e.length;r++){let l=e[r];const s=n==null?l.key:String(n)+String(l.key!=null?l.key:r);l.type===Ft?(l.patchFlag&128&&i++,o=o.concat(Es(l.children,t,s))):(t||l.type!==Et)&&o.push(s!=null?qn(l,{key:s}):l)}if(i>1)for(let r=0;r<o.length;r++)o[r].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function Ts(e,t){return _e(e)?it({name:e.name},t,{setup:e}):e}function tf(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Qi(e,t,n,o,i=!1){if(we(e)){e.forEach((g,p)=>Qi(g,t&&(we(t)?t[p]:t),n,o,i));return}if(Xo(o)&&!i){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&Qi(e,t,n,o.component.subTree);return}const r=o.shapeFlag&4?Pr(o.component):o.el,l=i?null:r,{i:s,r:a}=e,c=t&&t.r,u=s.refs===$e?s.refs={}:s.refs,f=s.setupState,d=Ce(f),h=f===$e?()=>!1:g=>Me(d,g);if(c!=null&&c!==a&&(Xe(c)?(u[c]=null,h(c)&&(f[c]=null)):yt(c)&&(c.value=null)),_e(a))pi(a,s,12,[l,u]);else{const g=Xe(a),p=yt(a);if(g||p){const v=()=>{if(e.f){const q=g?h(a)?f[a]:u[a]:a.value;i?we(q)&&ms(q,r):we(q)?q.includes(r)||q.push(r):g?(u[a]=[r],h(a)&&(f[a]=u[a])):(a.value=[r],e.k&&(u[e.k]=a.value))}else g?(u[a]=l,h(a)&&(f[a]=l)):p&&(a.value=l,e.k&&(u[e.k]=l))};l?(v.id=-1,_t(v,n)):v()}}}yr().requestIdleCallback;yr().cancelIdleCallback;const Xo=e=>!!e.type.__asyncLoader,Cr=e=>e.type.__isKeepAlive;function kr(e,t){nf(e,"a",t)}function Oo(e,t){nf(e,"da",t)}function nf(e,t,n=ft){const o=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Er(t,o,n),n){let i=n.parent;for(;i&&i.parent;)Cr(i.parent.vnode)&&mg(o,t,n,i),i=i.parent}}function mg(e,t,n,o){const i=Er(t,e,o,!0);Rs(()=>{ms(o[t],i)},n)}function Er(e,t,n=ft,o=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...l)=>{Pn();const s=bi(n),a=Wt(t,n,e,l);return s(),On(),a});return o?i.unshift(r):i.push(r),r}}const pn=e=>(t,n=ft)=>{(!ui||e==="sp")&&Er(e,(...o)=>t(...o),n)},Tr=pn("bm"),rn=pn("m"),qr=pn("bu"),qs=pn("u"),et=pn("bum"),Rs=pn("um"),vg=pn("sp"),pg=pn("rtg"),bg=pn("rtc");function yg(e,t=ft){Er("ec",e,t)}const wg="components";function Sg(e,t){return xg(wg,e,!0,t)||e}const _g=Symbol.for("v-ndc");function xg(e,t,n=!0,o=!1){const i=qt||ft;if(i){const r=i.type;{const s=cm(r,!1);if(s&&(s===t||s===Vt(t)||s===br(Vt(t))))return r}const l=va(i[e]||r[e],t)||va(i.appContext[e],t);return!l&&o?r:l}}function va(e,t){return e&&(e[t]||e[Vt(t)]||e[br(Vt(t))])}function Cg(e,t,n,o){let i;const r=n,l=we(e);if(l||Xe(e)){const s=l&&wo(e);let a=!1;s&&(a=!$t(e),e=Sr(e)),i=new Array(e.length);for(let c=0,u=e.length;c<u;c++)i[c]=t(a?pt(e[c]):e[c],c,void 0,r)}else if(typeof e=="number"){i=new Array(e);for(let s=0;s<e;s++)i[s]=t(s+1,s,void 0,r)}else if(ze(e))if(e[Symbol.iterator])i=Array.from(e,(s,a)=>t(s,a,void 0,r));else{const s=Object.keys(e);i=new Array(s.length);for(let a=0,c=s.length;a<c;a++){const u=s[a];i[a]=t(e[u],u,a,r)}}else i=[];return i}const Vl=e=>e?xf(e)?Pr(e):Vl(e.parent):null,Yo=it(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=>Vl(e.parent),$root:e=>Vl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>rf(e),$forceUpdate:e=>e.f||(e.f=()=>{ks(e.update)}),$nextTick:e=>e.n||(e.n=He.bind(e.proxy)),$watch:e=>Ug.bind(e)}),rl=(e,t)=>e!==$e&&!e.__isScriptSetup&&Me(e,t),kg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:i,props:r,accessCache:l,type:s,appContext:a}=e;let c;if(t[0]!=="$"){const h=l[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(rl(o,t))return l[t]=1,o[t];if(i!==$e&&Me(i,t))return l[t]=2,i[t];if((c=e.propsOptions[0])&&Me(c,t))return l[t]=3,r[t];if(n!==$e&&Me(n,t))return l[t]=4,n[t];Il&&(l[t]=0)}}const u=Yo[t];let f,d;if(u)return t==="$attrs"&&vt(e.attrs,"get",""),u(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==$e&&Me(n,t))return l[t]=4,n[t];if(d=a.config.globalProperties,Me(d,t))return d[t]},set({_:e},t,n){const{data:o,setupState:i,ctx:r}=e;return rl(i,t)?(i[t]=n,!0):o!==$e&&Me(o,t)?(o[t]=n,!0):Me(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:r}},l){let s;return!!n[l]||e!==$e&&Me(e,l)||rl(t,l)||(s=r[0])&&Me(s,l)||Me(o,l)||Me(Yo,l)||Me(i.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Me(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function pa(e){return we(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Il=!0;function Eg(e){const t=rf(e),n=e.proxy,o=e.ctx;Il=!1,t.beforeCreate&&ba(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:l,watch:s,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:g,activated:p,deactivated:v,beforeDestroy:q,beforeUnmount:_,destroyed:E,unmounted:T,render:M,renderTracked:I,renderTriggered:W,errorCaptured:Z,serverPrefetch:A,expose:F,inheritAttrs:U,components:C,directives:J,filters:N}=t;if(c&&Tg(c,o,null),l)for(const re in l){const Q=l[re];_e(Q)&&(o[re]=Q.bind(n))}if(i){const re=i.call(n,n);ze(re)&&(e.data=Ao(re))}if(Il=!0,r)for(const re in r){const Q=r[re],se=_e(Q)?Q.bind(n,n):_e(Q.get)?Q.get.bind(n,n):on,me=!_e(Q)&&_e(Q.set)?Q.set.bind(n):on,P=y({get:se,set:me});Object.defineProperty(o,re,{enumerable:!0,configurable:!0,get:()=>P.value,set:m=>P.value=m})}if(s)for(const re in s)of(s[re],o,n,re);if(a){const re=_e(a)?a.call(n):a;Reflect.ownKeys(re).forEach(Q=>{Fi(Q,re[Q])})}u&&ba(u,e,"c");function ee(re,Q){we(Q)?Q.forEach(se=>re(se.bind(n))):Q&&re(Q.bind(n))}if(ee(Tr,f),ee(rn,d),ee(qr,h),ee(qs,g),ee(kr,p),ee(Oo,v),ee(yg,Z),ee(bg,I),ee(pg,W),ee(et,_),ee(Rs,T),ee(vg,A),we(F))if(F.length){const re=e.exposed||(e.exposed={});F.forEach(Q=>{Object.defineProperty(re,Q,{get:()=>n[Q],set:se=>n[Q]=se})})}else e.exposed||(e.exposed={});M&&e.render===on&&(e.render=M),U!=null&&(e.inheritAttrs=U),C&&(e.components=C),J&&(e.directives=J),A&&tf(e)}function Tg(e,t,n=on){we(e)&&(e=jl(e));for(const o in e){const i=e[o];let r;ze(i)?"default"in i?r=Nt(i.from||o,i.default,!0):r=Nt(i.from||o):r=Nt(i),yt(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[o]=r}}function ba(e,t,n){Wt(we(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function of(e,t,n,o){let i=o.includes(".")?bf(n,o):()=>n[o];if(Xe(e)){const r=t[e];_e(r)&&be(i,r)}else if(_e(e))be(i,e.bind(n));else if(ze(e))if(we(e))e.forEach(r=>of(r,t,n,o));else{const r=_e(e.handler)?e.handler.bind(n):t[e.handler];_e(r)&&be(i,r,e)}}function rf(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:l}}=e.appContext,s=r.get(t);let a;return s?a=s:!i.length&&!n&&!o?a=t:(a={},i.length&&i.forEach(c=>Gi(a,c,l,!0)),Gi(a,t,l)),ze(t)&&r.set(t,a),a}function Gi(e,t,n,o=!1){const{mixins:i,extends:r}=t;r&&Gi(e,r,n,!0),i&&i.forEach(l=>Gi(e,l,n,!0));for(const l in t)if(!(o&&l==="expose")){const s=qg[l]||n&&n[l];e[l]=s?s(e[l],t[l]):t[l]}return e}const qg={data:ya,props:wa,emits:wa,methods:Uo,computed:Uo,beforeCreate:St,created:St,beforeMount:St,mounted:St,beforeUpdate:St,updated:St,beforeDestroy:St,beforeUnmount:St,destroyed:St,unmounted:St,activated:St,deactivated:St,errorCaptured:St,serverPrefetch:St,components:Uo,directives:Uo,watch:Ag,provide:ya,inject:Rg};function ya(e,t){return t?e?function(){return it(_e(e)?e.call(this,this):e,_e(t)?t.call(this,this):t)}:t:e}function Rg(e,t){return Uo(jl(e),jl(t))}function jl(e){if(we(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function St(e,t){return e?[...new Set([].concat(e,t))]:t}function Uo(e,t){return e?it(Object.create(null),e,t):t}function wa(e,t){return e?we(e)&&we(t)?[...new Set([...e,...t])]:it(Object.create(null),pa(e),pa(t??{})):t}function Ag(e,t){if(!e)return t;if(!t)return e;const n=it(Object.create(null),e);for(const o in t)n[o]=St(e[o],t[o]);return n}function lf(){return{app:null,config:{isNativeTag:_h,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 Pg=0;function Og(e,t){return function(o,i=null){_e(o)||(o=it({},o)),i!=null&&!ze(i)&&(i=null);const r=lf(),l=new WeakSet,s=[];let a=!1;const c=r.app={_uid:Pg++,_component:o,_props:i,_container:null,_context:r,_instance:null,version:dm,get config(){return r.config},set config(u){},use(u,...f){return l.has(u)||(u&&_e(u.install)?(l.add(u),u.install(c,...f)):_e(u)&&(l.add(u),u(c,...f))),c},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),c},component(u,f){return f?(r.components[u]=f,c):r.components[u]},directive(u,f){return f?(r.directives[u]=f,c):r.directives[u]},mount(u,f,d){if(!a){const h=c._ceVNode||ge(o,i);return h.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),e(h,u,d),a=!0,c._container=u,u.__vue_app__=c,Pr(h.component)}},onUnmount(u){s.push(u)},unmount(){a&&(Wt(s,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return r.provides[u]=f,c},runWithContext(u){const f=_o;_o=c;try{return u()}finally{_o=f}}};return c}}let _o=null;function Fi(e,t){if(ft){let n=ft.provides;const o=ft.parent&&ft.parent.provides;o===n&&(n=ft.provides=Object.create(o)),n[e]=t}}function Nt(e,t,n=!1){const o=ft||qt;if(o||_o){const i=_o?_o._context.provides:o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&_e(t)?t.call(o&&o.proxy):t}}const sf={},af=()=>Object.create(sf),uf=e=>Object.getPrototypeOf(e)===sf;function Lg(e,t,n,o=!1){const i={},r=af();e.propsDefaults=Object.create(null),cf(e,t,i,r);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);n?e.props=o?i:Bc(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Mg(e,t,n,o){const{props:i,attrs:r,vnode:{patchFlag:l}}=e,s=Ce(i),[a]=e.propsOptions;let c=!1;if((o||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Rr(e.emitsOptions,d))continue;const h=t[d];if(a)if(Me(r,d))h!==r[d]&&(r[d]=h,c=!0);else{const g=Vt(d);i[g]=Hl(a,s,g,h,e,!1)}else h!==r[d]&&(r[d]=h,c=!0)}}}else{cf(e,t,i,r)&&(c=!0);let u;for(const f in s)(!t||!Me(t,f)&&((u=to(f))===f||!Me(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(i[f]=Hl(a,s,f,void 0,e,!0)):delete i[f]);if(r!==s)for(const f in r)(!t||!Me(t,f))&&(delete r[f],c=!0)}c&&hn(e.attrs,"set","")}function cf(e,t,n,o){const[i,r]=e.propsOptions;let l=!1,s;if(t)for(let a in t){if(Wo(a))continue;const c=t[a];let u;i&&Me(i,u=Vt(a))?!r||!r.includes(u)?n[u]=c:(s||(s={}))[u]=c:Rr(e.emitsOptions,a)||(!(a in o)||c!==o[a])&&(o[a]=c,l=!0)}if(r){const a=Ce(n),c=s||$e;for(let u=0;u<r.length;u++){const f=r[u];n[f]=Hl(i,a,f,c[f],e,!Me(c,f))}}return l}function Hl(e,t,n,o,i,r){const l=e[n];if(l!=null){const s=Me(l,"default");if(s&&o===void 0){const a=l.default;if(l.type!==Function&&!l.skipFactory&&_e(a)){const{propsDefaults:c}=i;if(n in c)o=c[n];else{const u=bi(i);o=c[n]=a.call(null,t),u()}}else o=a;i.ce&&i.ce._setProp(n,o)}l[0]&&(r&&!s?o=!1:l[1]&&(o===""||o===to(n))&&(o=!0))}return o}const Dg=new WeakMap;function ff(e,t,n=!1){const o=n?Dg:t.propsCache,i=o.get(e);if(i)return i;const r=e.props,l={},s=[];let a=!1;if(!_e(e)){const u=f=>{a=!0;const[d,h]=ff(f,t,!0);it(l,d),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!a)return ze(e)&&o.set(e,bo),bo;if(we(r))for(let u=0;u<r.length;u++){const f=Vt(r[u]);Sa(f)&&(l[f]=$e)}else if(r)for(const u in r){const f=Vt(u);if(Sa(f)){const d=r[u],h=l[f]=we(d)||_e(d)?{type:d}:it({},d),g=h.type;let p=!1,v=!0;if(we(g))for(let q=0;q<g.length;++q){const _=g[q],E=_e(_)&&_.name;if(E==="Boolean"){p=!0;break}else E==="String"&&(v=!1)}else p=_e(g)&&g.name==="Boolean";h[0]=p,h[1]=v,(p||Me(h,"default"))&&s.push(f)}}const c=[l,s];return ze(e)&&o.set(e,c),c}function Sa(e){return e[0]!=="$"&&!Wo(e)}const df=e=>e[0]==="_"||e==="$stable",As=e=>we(e)?e.map(tn):[tn(e)],Fg=(e,t,n)=>{if(t._n)return t;const o=Ee((...i)=>As(t(...i)),n);return o._c=!1,o},hf=(e,t,n)=>{const o=e._ctx;for(const i in e){if(df(i))continue;const r=e[i];if(_e(r))t[i]=Fg(i,r,o);else if(r!=null){const l=As(r);t[i]=()=>l}}},gf=(e,t)=>{const n=As(t);e.slots.default=()=>n},mf=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},Bg=(e,t,n)=>{const o=e.slots=af();if(e.vnode.shapeFlag&32){const i=t._;i?(mf(o,t,n),n&&bc(o,"_",i,!0)):hf(t,o)}else t&&gf(e,t)},$g=(e,t,n)=>{const{vnode:o,slots:i}=e;let r=!0,l=$e;if(o.shapeFlag&32){const s=t._;s?n&&s===1?r=!1:mf(i,t,n):(r=!t.$stable,hf(t,i)),l=t}else t&&(gf(e,t),l={default:1});if(r)for(const s in i)!df(s)&&l[s]==null&&delete i[s]},_t=Yg;function Ng(e){return Vg(e)}function Vg(e,t){const n=yr();n.__VUE__=!0;const{insert:o,remove:i,patchProp:r,createElement:l,createText:s,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=on,insertStaticContent:g}=e,p=(w,S,R,j=null,z=null,B=null,X=void 0,oe=null,te=!!S.dynamicChildren)=>{if(w===S)return;w&&!jn(w,S)&&(j=x(w),m(w,z,B,!0),w=null),S.patchFlag===-2&&(te=!1,S.dynamicChildren=null);const{type:G,ref:de,shapeFlag:le}=S;switch(G){case Ar:v(w,S,R,j);break;case Et:q(w,S,R,j);break;case sl:w==null&&_(S,R,j,X);break;case Ft:C(w,S,R,j,z,B,X,oe,te);break;default:le&1?M(w,S,R,j,z,B,X,oe,te):le&6?J(w,S,R,j,z,B,X,oe,te):(le&64||le&128)&&G.process(w,S,R,j,z,B,X,oe,te,Y)}de!=null&&z&&Qi(de,w&&w.ref,B,S||w,!S)},v=(w,S,R,j)=>{if(w==null)o(S.el=s(S.children),R,j);else{const z=S.el=w.el;S.children!==w.children&&c(z,S.children)}},q=(w,S,R,j)=>{w==null?o(S.el=a(S.children||""),R,j):S.el=w.el},_=(w,S,R,j)=>{[w.el,w.anchor]=g(w.children,S,R,j,w.el,w.anchor)},E=({el:w,anchor:S},R,j)=>{let z;for(;w&&w!==S;)z=d(w),o(w,R,j),w=z;o(S,R,j)},T=({el:w,anchor:S})=>{let R;for(;w&&w!==S;)R=d(w),i(w),w=R;i(S)},M=(w,S,R,j,z,B,X,oe,te)=>{S.type==="svg"?X="svg":S.type==="math"&&(X="mathml"),w==null?I(S,R,j,z,B,X,oe,te):A(w,S,z,B,X,oe,te)},I=(w,S,R,j,z,B,X,oe)=>{let te,G;const{props:de,shapeFlag:le,transition:he,dirs:ve}=w;if(te=w.el=l(w.type,B,de&&de.is,de),le&8?u(te,w.children):le&16&&Z(w.children,te,null,j,z,ll(w,B),X,oe),ve&&Dn(w,null,j,"created"),W(te,w,w.scopeId,X,j),de){for(const Pe in de)Pe!=="value"&&!Wo(Pe)&&r(te,Pe,null,de[Pe],B,j);"value"in de&&r(te,"value",null,de.value,B),(G=de.onVnodeBeforeMount)&&Jt(G,j,w)}ve&&Dn(w,null,j,"beforeMount");const ke=Ig(z,he);ke&&he.beforeEnter(te),o(te,S,R),((G=de&&de.onVnodeMounted)||ke||ve)&&_t(()=>{G&&Jt(G,j,w),ke&&he.enter(te),ve&&Dn(w,null,j,"mounted")},z)},W=(w,S,R,j,z)=>{if(R&&h(w,R),j)for(let B=0;B<j.length;B++)h(w,j[B]);if(z){let B=z.subTree;if(S===B||wf(B.type)&&(B.ssContent===S||B.ssFallback===S)){const X=z.vnode;W(w,X,X.scopeId,X.slotScopeIds,z.parent)}}},Z=(w,S,R,j,z,B,X,oe,te=0)=>{for(let G=te;G<w.length;G++){const de=w[G]=oe?xn(w[G]):tn(w[G]);p(null,de,S,R,j,z,B,X,oe)}},A=(w,S,R,j,z,B,X)=>{const oe=S.el=w.el;let{patchFlag:te,dynamicChildren:G,dirs:de}=S;te|=w.patchFlag&16;const le=w.props||$e,he=S.props||$e;let ve;if(R&&Fn(R,!1),(ve=he.onVnodeBeforeUpdate)&&Jt(ve,R,S,w),de&&Dn(S,w,R,"beforeUpdate"),R&&Fn(R,!0),(le.innerHTML&&he.innerHTML==null||le.textContent&&he.textContent==null)&&u(oe,""),G?F(w.dynamicChildren,G,oe,R,j,ll(S,z),B):X||Q(w,S,oe,null,R,j,ll(S,z),B,!1),te>0){if(te&16)U(oe,le,he,R,z);else if(te&2&&le.class!==he.class&&r(oe,"class",null,he.class,z),te&4&&r(oe,"style",le.style,he.style,z),te&8){const ke=S.dynamicProps;for(let Pe=0;Pe<ke.length;Pe++){const Oe=ke[Pe],rt=le[Oe],Ne=he[Oe];(Ne!==rt||Oe==="value")&&r(oe,Oe,rt,Ne,z,R)}}te&1&&w.children!==S.children&&u(oe,S.children)}else!X&&G==null&&U(oe,le,he,R,z);((ve=he.onVnodeUpdated)||de)&&_t(()=>{ve&&Jt(ve,R,S,w),de&&Dn(S,w,R,"updated")},j)},F=(w,S,R,j,z,B,X)=>{for(let oe=0;oe<S.length;oe++){const te=w[oe],G=S[oe],de=te.el&&(te.type===Ft||!jn(te,G)||te.shapeFlag&70)?f(te.el):R;p(te,G,de,null,j,z,B,X,!0)}},U=(w,S,R,j,z)=>{if(S!==R){if(S!==$e)for(const B in S)!Wo(B)&&!(B in R)&&r(w,B,S[B],null,z,j);for(const B in R){if(Wo(B))continue;const X=R[B],oe=S[B];X!==oe&&B!=="value"&&r(w,B,oe,X,z,j)}"value"in R&&r(w,"value",S.value,R.value,z)}},C=(w,S,R,j,z,B,X,oe,te)=>{const G=S.el=w?w.el:s(""),de=S.anchor=w?w.anchor:s("");let{patchFlag:le,dynamicChildren:he,slotScopeIds:ve}=S;ve&&(oe=oe?oe.concat(ve):ve),w==null?(o(G,R,j),o(de,R,j),Z(S.children||[],R,de,z,B,X,oe,te)):le>0&&le&64&&he&&w.dynamicChildren?(F(w.dynamicChildren,he,R,z,B,X,oe),(S.key!=null||z&&S===z.subTree)&&Ps(w,S,!0)):Q(w,S,R,de,z,B,X,oe,te)},J=(w,S,R,j,z,B,X,oe,te)=>{S.slotScopeIds=oe,w==null?S.shapeFlag&512?z.ctx.activate(S,R,j,X,te):N(S,R,j,z,B,X,te):ie(w,S,te)},N=(w,S,R,j,z,B,X)=>{const oe=w.component=rm(w,j,z);if(Cr(w)&&(oe.ctx.renderer=Y),lm(oe,!1,X),oe.asyncDep){if(z&&z.registerDep(oe,ee,X),!w.el){const te=oe.subTree=ge(Et);q(null,te,S,R)}}else ee(oe,w,S,R,z,B,X)},ie=(w,S,R)=>{const j=S.component=w.component;if(Jg(w,S,R))if(j.asyncDep&&!j.asyncResolved){re(j,S,R);return}else j.next=S,j.update();else S.el=w.el,j.vnode=S},ee=(w,S,R,j,z,B,X)=>{const oe=()=>{if(w.isMounted){let{next:le,bu:he,u:ve,parent:ke,vnode:Pe}=w;{const Je=vf(w);if(Je){le&&(le.el=Pe.el,re(w,le,X)),Je.asyncDep.then(()=>{w.isUnmounted||oe()});return}}let Oe=le,rt;Fn(w,!1),le?(le.el=Pe.el,re(w,le,X)):le=Pe,he&&Zr(he),(rt=le.props&&le.props.onVnodeBeforeUpdate)&&Jt(rt,ke,le,Pe),Fn(w,!0);const Ne=xa(w),Ue=w.subTree;w.subTree=Ne,p(Ue,Ne,f(Ue.el),x(Ue),w,z,B),le.el=Ne.el,Oe===null&&Xg(w,Ne.el),ve&&_t(ve,z),(rt=le.props&&le.props.onVnodeUpdated)&&_t(()=>Jt(rt,ke,le,Pe),z)}else{let le;const{el:he,props:ve}=S,{bm:ke,m:Pe,parent:Oe,root:rt,type:Ne}=w,Ue=Xo(S);Fn(w,!1),ke&&Zr(ke),!Ue&&(le=ve&&ve.onVnodeBeforeMount)&&Jt(le,Oe,S),Fn(w,!0);{rt.ce&&rt.ce._injectChildStyle(Ne);const Je=w.subTree=xa(w);p(null,Je,R,j,w,z,B),S.el=Je.el}if(Pe&&_t(Pe,z),!Ue&&(le=ve&&ve.onVnodeMounted)){const Je=S;_t(()=>Jt(le,Oe,Je),z)}(S.shapeFlag&256||Oe&&Xo(Oe.vnode)&&Oe.vnode.shapeFlag&256)&&w.a&&_t(w.a,z),w.isMounted=!0,S=R=j=null}};w.scope.on();const te=w.effect=new xc(oe);w.scope.off();const G=w.update=te.run.bind(te),de=w.job=te.runIfDirty.bind(te);de.i=w,de.id=w.uid,te.scheduler=()=>ks(de),Fn(w,!0),G()},re=(w,S,R)=>{S.component=w;const j=w.vnode.props;w.vnode=S,w.next=null,Mg(w,S.props,j,R),$g(w,S.children,R),Pn(),fa(w),On()},Q=(w,S,R,j,z,B,X,oe,te=!1)=>{const G=w&&w.children,de=w?w.shapeFlag:0,le=S.children,{patchFlag:he,shapeFlag:ve}=S;if(he>0){if(he&128){me(G,le,R,j,z,B,X,oe,te);return}else if(he&256){se(G,le,R,j,z,B,X,oe,te);return}}ve&8?(de&16&&L(G,z,B),le!==G&&u(R,le)):de&16?ve&16?me(G,le,R,j,z,B,X,oe,te):L(G,z,B,!0):(de&8&&u(R,""),ve&16&&Z(le,R,j,z,B,X,oe,te))},se=(w,S,R,j,z,B,X,oe,te)=>{w=w||bo,S=S||bo;const G=w.length,de=S.length,le=Math.min(G,de);let he;for(he=0;he<le;he++){const ve=S[he]=te?xn(S[he]):tn(S[he]);p(w[he],ve,R,null,z,B,X,oe,te)}G>de?L(w,z,B,!0,!1,le):Z(S,R,j,z,B,X,oe,te,le)},me=(w,S,R,j,z,B,X,oe,te)=>{let G=0;const de=S.length;let le=w.length-1,he=de-1;for(;G<=le&&G<=he;){const ve=w[G],ke=S[G]=te?xn(S[G]):tn(S[G]);if(jn(ve,ke))p(ve,ke,R,null,z,B,X,oe,te);else break;G++}for(;G<=le&&G<=he;){const ve=w[le],ke=S[he]=te?xn(S[he]):tn(S[he]);if(jn(ve,ke))p(ve,ke,R,null,z,B,X,oe,te);else break;le--,he--}if(G>le){if(G<=he){const ve=he+1,ke=ve<de?S[ve].el:j;for(;G<=he;)p(null,S[G]=te?xn(S[G]):tn(S[G]),R,ke,z,B,X,oe,te),G++}}else if(G>he)for(;G<=le;)m(w[G],z,B,!0),G++;else{const ve=G,ke=G,Pe=new Map;for(G=ke;G<=he;G++){const ot=S[G]=te?xn(S[G]):tn(S[G]);ot.key!=null&&Pe.set(ot.key,G)}let Oe,rt=0;const Ne=he-ke+1;let Ue=!1,Je=0;const ln=new Array(Ne);for(G=0;G<Ne;G++)ln[G]=0;for(G=ve;G<=le;G++){const ot=w[G];if(rt>=Ne){m(ot,z,B,!0);continue}let wt;if(ot.key!=null)wt=Pe.get(ot.key);else for(Oe=ke;Oe<=he;Oe++)if(ln[Oe-ke]===0&&jn(ot,S[Oe])){wt=Oe;break}wt===void 0?m(ot,z,B,!0):(ln[wt-ke]=G+1,wt>=Je?Je=wt:Ue=!0,p(ot,S[wt],R,null,z,B,X,oe,te),rt++)}const sn=Ue?jg(ln):bo;for(Oe=sn.length-1,G=Ne-1;G>=0;G--){const ot=ke+G,wt=S[ot],an=ot+1<de?S[ot+1].el:j;ln[G]===0?p(null,wt,R,an,z,B,X,oe,te):Ue&&(Oe<0||G!==sn[Oe]?P(wt,R,an,2):Oe--)}}},P=(w,S,R,j,z=null)=>{const{el:B,type:X,transition:oe,children:te,shapeFlag:G}=w;if(G&6){P(w.component.subTree,S,R,j);return}if(G&128){w.suspense.move(S,R,j);return}if(G&64){X.move(w,S,R,Y);return}if(X===Ft){o(B,S,R);for(let le=0;le<te.length;le++)P(te[le],S,R,j);o(w.anchor,S,R);return}if(X===sl){E(w,S,R);return}if(j!==2&&G&1&&oe)if(j===0)oe.beforeEnter(B),o(B,S,R),_t(()=>oe.enter(B),z);else{const{leave:le,delayLeave:he,afterLeave:ve}=oe,ke=()=>o(B,S,R),Pe=()=>{le(B,()=>{ke(),ve&&ve()})};he?he(B,ke,Pe):Pe()}else o(B,S,R)},m=(w,S,R,j=!1,z=!1)=>{const{type:B,props:X,ref:oe,children:te,dynamicChildren:G,shapeFlag:de,patchFlag:le,dirs:he,cacheIndex:ve}=w;if(le===-2&&(z=!1),oe!=null&&Qi(oe,null,R,w,!0),ve!=null&&(S.renderCache[ve]=void 0),de&256){S.ctx.deactivate(w);return}const ke=de&1&&he,Pe=!Xo(w);let Oe;if(Pe&&(Oe=X&&X.onVnodeBeforeUnmount)&&Jt(Oe,S,w),de&6)ne(w.component,R,j);else{if(de&128){w.suspense.unmount(R,j);return}ke&&Dn(w,null,S,"beforeUnmount"),de&64?w.type.remove(w,S,R,Y,j):G&&!G.hasOnce&&(B!==Ft||le>0&&le&64)?L(G,S,R,!1,!0):(B===Ft&&le&384||!z&&de&16)&&L(te,S,R),j&&$(w)}(Pe&&(Oe=X&&X.onVnodeUnmounted)||ke)&&_t(()=>{Oe&&Jt(Oe,S,w),ke&&Dn(w,null,S,"unmounted")},R)},$=w=>{const{type:S,el:R,anchor:j,transition:z}=w;if(S===Ft){D(R,j);return}if(S===sl){T(w);return}const B=()=>{i(R),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(w.shapeFlag&1&&z&&!z.persisted){const{leave:X,delayLeave:oe}=z,te=()=>X(R,B);oe?oe(w.el,B,te):te()}else B()},D=(w,S)=>{let R;for(;w!==S;)R=d(w),i(w),w=R;i(S)},ne=(w,S,R)=>{const{bum:j,scope:z,job:B,subTree:X,um:oe,m:te,a:G}=w;_a(te),_a(G),j&&Zr(j),z.stop(),B&&(B.flags|=8,m(X,w,S,R)),oe&&_t(oe,S),_t(()=>{w.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},L=(w,S,R,j=!1,z=!1,B=0)=>{for(let X=B;X<w.length;X++)m(w[X],S,R,j,z)},x=w=>{if(w.shapeFlag&6)return x(w.component.subTree);if(w.shapeFlag&128)return w.suspense.next();const S=d(w.anchor||w.el),R=S&&S[Kc];return R?d(R):S};let K=!1;const O=(w,S,R)=>{w==null?S._vnode&&m(S._vnode,null,null,!0):p(S._vnode||null,w,S,null,null,null,R),S._vnode=w,K||(K=!0,fa(),Hc(),K=!1)},Y={p,um:m,m:P,r:$,mt:N,mc:Z,pc:Q,pbc:F,n:x,o:e};return{render:O,hydrate:void 0,createApp:Og(O)}}function ll({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 Fn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ig(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ps(e,t,n=!1){const o=e.children,i=t.children;if(we(o)&&we(i))for(let r=0;r<o.length;r++){const l=o[r];let s=i[r];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=i[r]=xn(i[r]),s.el=l.el),!n&&s.patchFlag!==-2&&Ps(l,s)),s.type===Ar&&(s.el=l.el)}}function jg(e){const t=e.slice(),n=[0];let o,i,r,l,s;const a=e.length;for(o=0;o<a;o++){const c=e[o];if(c!==0){if(i=n[n.length-1],e[i]<c){t[o]=i,n.push(o);continue}for(r=0,l=n.length-1;r<l;)s=r+l>>1,e[n[s]]<c?r=s+1:l=s;c<e[n[r]]&&(r>0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,l=n[r-1];r-- >0;)n[r]=l,l=t[l];return n}function vf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:vf(t)}function _a(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Hg=Symbol.for("v-scx"),zg=()=>Nt(Hg);function be(e,t,n){return pf(e,t,n)}function pf(e,t,n=$e){const{immediate:o,deep:i,flush:r,once:l}=n,s=it({},n),a=t&&o||!t&&r!=="post";let c;if(ui){if(r==="sync"){const h=zg();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=on,h.resume=on,h.pause=on,h}}const u=ft;s.call=(h,g,p)=>Wt(h,u,g,p);let f=!1;r==="post"?s.scheduler=h=>{_t(h,u&&u.suspense)}:r!=="sync"&&(f=!0,s.scheduler=(h,g)=>{g?h():ks(h)}),s.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=sg(e,t,s);return ui&&(c?c.push(d):a&&d()),d}function Ug(e,t,n){const o=this.proxy,i=Xe(e)?e.includes(".")?bf(o,e):()=>o[e]:e.bind(o,o);let r;_e(t)?r=t:(r=t.handler,n=t);const l=bi(this),s=pf(i,r.bind(o),n);return l(),s}function bf(e,t){const n=t.split(".");return()=>{let o=e;for(let i=0;i<n.length&&o;i++)o=o[n[i]];return o}}const Kg=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Vt(t)}Modifiers`]||e[`${to(t)}Modifiers`];function Wg(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||$e;let i=n;const r=t.startsWith("update:"),l=r&&Kg(o,t.slice(7));l&&(l.trim&&(i=n.map(u=>Xe(u)?u.trim():u)),l.number&&(i=n.map(Th)));let s,a=o[s=Yr(t)]||o[s=Yr(Vt(t))];!a&&r&&(a=o[s=Yr(to(t))]),a&&Wt(a,e,6,i);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Wt(c,e,6,i)}}function yf(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(i!==void 0)return i;const r=e.emits;let l={},s=!1;if(!_e(e)){const a=c=>{const u=yf(c,t,!0);u&&(s=!0,it(l,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!s?(ze(e)&&o.set(e,null),null):(we(r)?r.forEach(a=>l[a]=null):it(l,r),ze(e)&&o.set(e,l),l)}function Rr(e,t){return!e||!mr(t)?!1:(t=t.slice(2).replace(/Once$/,""),Me(e,t[0].toLowerCase()+t.slice(1))||Me(e,to(t))||Me(e,t))}function xa(e){const{type:t,vnode:n,proxy:o,withProxy:i,propsOptions:[r],slots:l,attrs:s,emit:a,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:g,inheritAttrs:p}=e,v=Wi(e);let q,_;try{if(n.shapeFlag&4){const T=i||o,M=T;q=tn(c.call(M,T,u,f,h,d,g)),_=s}else{const T=t;q=tn(T.length>1?T(f,{attrs:s,slots:l,emit:a}):T(f,null)),_=t.props?s:Qg(s)}}catch(T){Zo.length=0,_r(T,e,1),q=ge(Et)}let E=q;if(_&&p!==!1){const T=Object.keys(_),{shapeFlag:M}=E;T.length&&M&7&&(r&&T.some(gs)&&(_=Gg(_,r)),E=qn(E,_,!1,!0))}return n.dirs&&(E=qn(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Yn(E,n.transition),q=E,Wi(v),q}const Qg=e=>{let t;for(const n in e)(n==="class"||n==="style"||mr(n))&&((t||(t={}))[n]=e[n]);return t},Gg=(e,t)=>{const n={};for(const o in e)(!gs(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Jg(e,t,n){const{props:o,children:i,component:r}=e,{props:l,children:s,patchFlag:a}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return o?Ca(o,l,c):!!l;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(l[d]!==o[d]&&!Rr(c,d))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:o===l?!1:o?l?Ca(o,l,c):!0:!!l;return!1}function Ca(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let i=0;i<o.length;i++){const r=o[i];if(t[r]!==e[r]&&!Rr(n,r))return!0}return!1}function Xg({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const wf=e=>e.__isSuspense;function Yg(e,t){t&&t.pendingBranch?we(e)?t.effects.push(...e):t.effects.push(e):cg(e)}const Ft=Symbol.for("v-fgt"),Ar=Symbol.for("v-txt"),Et=Symbol.for("v-cmt"),sl=Symbol.for("v-stc"),Zo=[];let Ot=null;function je(e=!1){Zo.push(Ot=e?null:[])}function Zg(){Zo.pop(),Ot=Zo[Zo.length-1]||null}let ai=1;function ka(e,t=!1){ai+=e,e<0&&Ot&&t&&(Ot.hasOnce=!0)}function Sf(e){return e.dynamicChildren=ai>0?Ot||bo:null,Zg(),ai>0&&Ot&&Ot.push(e),e}function dn(e,t,n,o,i,r){return Sf(De(e,t,n,o,i,r,!0))}function ut(e,t,n,o,i){return Sf(ge(e,t,n,o,i,!0))}function Ji(e){return e?e.__v_isVNode===!0:!1}function jn(e,t){return e.type===t.type&&e.key===t.key}const _f=({key:e})=>e??null,Bi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Xe(e)||yt(e)||_e(e)?{i:qt,r:e,k:t,f:!!n}:e:null);function De(e,t=null,n=null,o=0,i=null,r=e===Ft?0:1,l=!1,s=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_f(t),ref:t&&Bi(t),scopeId:Uc,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:r,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:qt};return s?(Os(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=Xe(n)?8:16),ai>0&&!l&&Ot&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&Ot.push(a),a}const ge=em;function em(e,t=null,n=null,o=0,i=null,r=!1){if((!e||e===_g)&&(e=Et),Ji(e)){const s=qn(e,t,!0);return n&&Os(s,n),ai>0&&!r&&Ot&&(s.shapeFlag&6?Ot[Ot.indexOf(e)]=s:Ot.push(s)),s.patchFlag=-2,s}if(fm(e)&&(e=e.__vccOpts),t){t=tm(t);let{class:s,style:a}=t;s&&!Xe(s)&&(t.class=wr(s)),ze(a)&&(Cs(a)&&!we(a)&&(a=it({},a)),t.style=ps(a))}const l=Xe(e)?1:wf(e)?128:Wc(e)?64:ze(e)?4:_e(e)?2:0;return De(e,t,n,o,i,l,r,!0)}function tm(e){return e?Cs(e)||uf(e)?it({},e):e:null}function qn(e,t,n=!1,o=!1){const{props:i,ref:r,patchFlag:l,children:s,transition:a}=e,c=t?nm(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&_f(c),ref:t&&t.ref?n&&r?we(r)?r.concat(Bi(t)):[r,Bi(t)]:Bi(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ft?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,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 a&&o&&Yn(u,a.clone(u)),u}function Yt(e=" ",t=0){return ge(Ar,null,e,t)}function mt(e="",t=!1){return t?(je(),ut(Et,null,e)):ge(Et,null,e)}function tn(e){return e==null||typeof e=="boolean"?ge(Et):we(e)?ge(Ft,null,e.slice()):Ji(e)?xn(e):ge(Ar,null,String(e))}function xn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qn(e)}function Os(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(we(t))n=16;else if(typeof t=="object")if(o&65){const i=t.default;i&&(i._c&&(i._d=!1),Os(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!uf(t)?t._ctx=qt:i===3&&qt&&(qt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else _e(t)?(t={default:t,_ctx:qt},n=32):(t=String(t),o&64?(n=16,t=[Yt(t)]):n=8);e.children=t,e.shapeFlag|=n}function nm(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const i in o)if(i==="class")t.class!==o.class&&(t.class=wr([t.class,o.class]));else if(i==="style")t.style=ps([t.style,o.style]);else if(mr(i)){const r=t[i],l=o[i];l&&r!==l&&!(we(r)&&r.includes(l))&&(t[i]=r?[].concat(r,l):l)}else i!==""&&(t[i]=o[i])}return t}function Jt(e,t,n,o=null){Wt(e,t,7,[n,o])}const om=lf();let im=0;function rm(e,t,n){const o=e.type,i=(t?t.appContext:e.appContext)||om,r={uid:im++,vnode:e,type:o,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new _c(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ff(o,i),emitsOptions:yf(o,i),emit:null,emitted:null,propsDefaults:$e,inheritAttrs:o.inheritAttrs,ctx:$e,data:$e,props:$e,attrs:$e,slots:$e,refs:$e,setupState:$e,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 r.ctx={_:r},r.root=t?t.root:r,r.emit=Wg.bind(null,r),e.ce&&e.ce(r),r}let ft=null;const Re=()=>ft||qt;let Xi,zl;{const e=yr(),t=(n,o)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(o),r=>{i.length>1?i.forEach(l=>l(r)):i[0](r)}};Xi=t("__VUE_INSTANCE_SETTERS__",n=>ft=n),zl=t("__VUE_SSR_SETTERS__",n=>ui=n)}const bi=e=>{const t=ft;return Xi(e),e.scope.on(),()=>{e.scope.off(),Xi(t)}},Ea=()=>{ft&&ft.scope.off(),Xi(null)};function xf(e){return e.vnode.shapeFlag&4}let ui=!1;function lm(e,t=!1,n=!1){t&&zl(t);const{props:o,children:i}=e.vnode,r=xf(e);Lg(e,o,r,t),Bg(e,i,n);const l=r?sm(e,t):void 0;return t&&zl(!1),l}function sm(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,kg);const{setup:o}=n;if(o){Pn();const i=e.setupContext=o.length>1?um(e):null,r=bi(e),l=pi(o,e,0,[e.props,i]),s=mc(l);if(On(),r(),(s||e.sp)&&!Xo(e)&&tf(e),s){if(l.then(Ea,Ea),t)return l.then(a=>{Ta(e,a)}).catch(a=>{_r(a,e,0)});e.asyncDep=l}else Ta(e,l)}else Cf(e)}function Ta(e,t,n){_e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ze(t)&&(e.setupState=Vc(t)),Cf(e)}function Cf(e,t,n){const o=e.type;e.render||(e.render=o.render||on);{const i=bi(e);Pn();try{Eg(e)}finally{On(),i()}}}const am={get(e,t){return vt(e,"get",""),e[t]}};function um(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,am),slots:e.slots,emit:e.emit,expose:t}}function Pr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Vc(Po(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Yo)return Yo[n](e)},has(t,n){return n in t||n in Yo}})):e.proxy}function cm(e,t=!0){return _e(e)?e.displayName||e.name:e.name||t&&e.__name}function fm(e){return _e(e)&&"__vccOpts"in e}const y=(e,t)=>rg(e,t,ui);function b(e,t,n){const o=arguments.length;return o===2?ze(t)&&!we(t)?Ji(t)?ge(e,null,[t]):ge(e,t):ge(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Ji(n)&&(n=[n]),ge(e,t,n))}const dm="3.5.13";/**
13
+ **/function pi(e,t,n,o){try{return o?e(...o):e()}catch(i){Sr(i,t,n)}}function Qt(e,t,n,o){if(xe(e)){const i=pi(e,t,n,o);return i&&mc(i)&&i.catch(r=>{Sr(r,t,n)}),i}if(we(e)){const i=[];for(let r=0;r<e.length;r++)i.push(Qt(e[r],t,n,o));return i}}function Sr(e,t,n,o=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||$e;if(t){let s=t.parent;const a=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const u=s.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,a,c)===!1)return}s=s.parent}if(r){Pn(),pi(r,null,10,[e,a,c]),On();return}}ag(e,n,i,o,l)}function ag(e,t,n,o=!0,i=!1){if(i)throw e;console.error(e)}const Ct=[];let en=-1;const _o=[];let _n=null,mo=0;const Ic=Promise.resolve();let Ki=null;function ze(e){const t=Ki||Ic;return e?t.then(this?e.bind(this):e):t}function ug(e){let t=en+1,n=Ct.length;for(;t<n;){const o=t+n>>>1,i=Ct[o],r=li(i);r<e||r===e&&i.flags&2?t=o+1:n=o}return t}function ks(e){if(!(e.flags&1)){const t=li(e),n=Ct[Ct.length-1];!n||!(e.flags&2)&&t>=li(n)?Ct.push(e):Ct.splice(ug(t),0,e),e.flags|=1,jc()}}function jc(){Ki||(Ki=Ic.then(zc))}function cg(e){we(e)?_o.push(...e):_n&&e.id===-1?_n.splice(mo+1,0,e):e.flags&1||(_o.push(e),e.flags|=1),jc()}function fa(e,t,n=en+1){for(;n<Ct.length;n++){const o=Ct[n];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;Ct.splice(n,1),n--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function Hc(e){if(_o.length){const t=[...new Set(_o)].sort((n,o)=>li(n)-li(o));if(_o.length=0,_n){_n.push(...t);return}for(_n=t,mo=0;mo<_n.length;mo++){const n=_n[mo];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}_n=null,mo=0}}const li=e=>e.id==null?e.flags&2?-1:1/0:e.id;function zc(e){try{for(en=0;en<Ct.length;en++){const t=Ct[en];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),pi(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;en<Ct.length;en++){const t=Ct[en];t&&(t.flags&=-2)}en=-1,Ct.length=0,Hc(),Ki=null,(Ct.length||_o.length)&&zc()}}let Rt=null,Uc=null;function Wi(e){const t=Rt;return Rt=e,Uc=e&&e.type.__scopeId||null,t}function _e(e,t=Rt,n){if(!t||e._n)return e;const o=(...i)=>{o._d&&ka(-1);const r=Wi(t);let l;try{l=e(...i)}finally{Wi(r),o._d&&ka(1)}return l};return o._n=!0,o._c=!0,o._d=!0,o}function xr(e,t){if(Rt===null)return e;const n=Pr(Rt),o=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,l,s,a=$e]=t[i];r&&(xe(r)&&(r={mounted:r,updated:r}),r.deep&&gn(l),o.push({dir:r,instance:n,value:l,oldValue:void 0,arg:s,modifiers:a}))}return e}function Dn(e,t,n,o){const i=e.dirs,r=t&&t.dirs;for(let l=0;l<i.length;l++){const s=i[l];r&&(s.oldValue=r[l].value);let a=s.dir[o];a&&(Pn(),Qt(a,n,8,[e.el,s,e,t]),On())}}const Kc=Symbol("_vte"),Wc=e=>e.__isTeleport,Jo=e=>e&&(e.disabled||e.disabled===""),da=e=>e&&(e.defer||e.defer===""),ha=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ga=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Nl=(e,t)=>{const n=e&&e.to;return Ye(n)?t?t(n):null:n},Qc={name:"Teleport",__isTeleport:!0,process(e,t,n,o,i,r,l,s,a,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:g,createText:p,createComment:v}}=c,q=Jo(t.props);let{shapeFlag:S,children:E,dynamicChildren:T}=t;if(e==null){const M=t.el=p(""),I=t.anchor=p("");h(M,n,o),h(I,n,o);const W=(A,F)=>{S&16&&(i&&i.isCE&&(i.ce._teleportTarget=A),u(E,A,F,i,r,l,s,a))},Z=()=>{const A=t.target=Nl(t.props,g),F=Gc(A,t,p,h);A&&(l!=="svg"&&ha(A)?l="svg":l!=="mathml"&&ga(A)&&(l="mathml"),q||(W(A,F),Di(t,!1)))};q&&(W(n,I),Di(t,!0)),da(t.props)?St(()=>{Z(),t.el.__isMounted=!0},r):Z()}else{if(da(t.props)&&!e.el.__isMounted){St(()=>{Qc.process(e,t,n,o,i,r,l,s,a,c),delete e.el.__isMounted},r);return}t.el=e.el,t.targetStart=e.targetStart;const M=t.anchor=e.anchor,I=t.target=e.target,W=t.targetAnchor=e.targetAnchor,Z=Jo(e.props),A=Z?n:I,F=Z?M:W;if(l==="svg"||ha(I)?l="svg":(l==="mathml"||ga(I))&&(l="mathml"),T?(d(e.dynamicChildren,T,A,i,r,l,s),Ps(e,t,!0)):a||f(e,t,A,F,i,r,l,s,!1),q)Z?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ei(t,n,M,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=t.target=Nl(t.props,g);U&&Ei(t,U,null,c,0)}else Z&&Ei(t,I,W,c,1);Di(t,q)}},remove(e,t,n,{um:o,o:{remove:i}},r){const{shapeFlag:l,children:s,anchor:a,targetStart:c,targetAnchor:u,target:f,props:d}=e;if(f&&(i(c),i(u)),r&&i(a),l&16){const h=r||!Jo(d);for(let g=0;g<s.length;g++){const p=s[g];o(p,t,n,h,!!p.dynamicChildren)}}},move:Ei,hydrate:fg};function Ei(e,t,n,{o:{insert:o},m:i},r=2){r===0&&o(e.targetAnchor,t,n);const{el:l,anchor:s,shapeFlag:a,children:c,props:u}=e,f=r===2;if(f&&o(l,t,n),(!f||Jo(u))&&a&16)for(let d=0;d<c.length;d++)i(c[d],t,n,2);f&&o(s,t,n)}function fg(e,t,n,o,i,r,{o:{nextSibling:l,parentNode:s,querySelector:a,insert:c,createText:u}},f){const d=t.target=Nl(t.props,a);if(d){const h=Jo(t.props),g=d._lpa||d.firstChild;if(t.shapeFlag&16)if(h)t.anchor=f(l(e),t,s(e),n,o,i,r),t.targetStart=g,t.targetAnchor=g&&l(g);else{t.anchor=l(e);let p=g;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,d._lpa=t.targetAnchor&&l(t.targetAnchor);break}}p=l(p)}t.targetAnchor||Gc(d,t,u,c),f(g&&l(g),t,d,n,o,i,r)}Di(t,h)}return t.anchor&&l(t.anchor)}const dg=Qc;function Di(e,t){const n=e.ctx;if(n&&n.ut){let o,i;for(t?(o=e.el,i=e.anchor):(o=e.targetStart,i=e.targetAnchor);o&&o!==i;)o.nodeType===1&&o.setAttribute("data-v-owner",n.uid),o=o.nextSibling;n.ut()}}function Gc(e,t,n,o){const i=t.targetStart=n(""),r=t.targetAnchor=n("");return i[Kc]=r,e&&(o(i,e),o(r,e)),r}const Sn=Symbol("_leaveCb"),Ti=Symbol("_enterCb");function Jc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return rn(()=>{e.isMounted=!0}),tt(()=>{e.isUnmounting=!0}),e}const Mt=[Function,Array],Xc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Mt,onEnter:Mt,onAfterEnter:Mt,onEnterCancelled:Mt,onBeforeLeave:Mt,onLeave:Mt,onAfterLeave:Mt,onLeaveCancelled:Mt,onBeforeAppear:Mt,onAppear:Mt,onAfterAppear:Mt,onAppearCancelled:Mt},Yc=e=>{const t=e.subTree;return t.component?Yc(t.component):t},hg={name:"BaseTransition",props:Xc,setup(e,{slots:t}){const n=Ae(),o=Jc();return()=>{const i=t.default&&Es(t.default(),!0);if(!i||!i.length)return;const r=Zc(i),l=ke(e),{mode:s}=l;if(o.isLeaving)return il(r);const a=ma(r);if(!a)return il(r);let c=si(a,l,o,n,f=>c=f);a.type!==Tt&&Yn(a,c);let u=n.subTree&&ma(n.subTree);if(u&&u.type!==Tt&&!jn(a,u)&&Yc(n).type!==Tt){let f=si(u,l,o,n);if(Yn(u,f),s==="out-in"&&a.type!==Tt)return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},il(r);s==="in-out"&&a.type!==Tt?f.delayLeave=(d,h,g)=>{const p=ef(o,u);p[String(u.key)]=u,d[Sn]=()=>{h(),d[Sn]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{g(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Zc(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Tt){t=n;break}}return t}const gg=hg;function ef(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function si(e,t,n,o,i){const{appear:r,mode:l,persisted:s=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:v,onAppear:q,onAfterAppear:S,onAppearCancelled:E}=t,T=String(e.key),M=ef(n,e),I=(A,F)=>{A&&Qt(A,o,9,F)},W=(A,F)=>{const U=F[1];I(A,F),we(A)?A.every(C=>C.length<=1)&&U():A.length<=1&&U()},Z={mode:l,persisted:s,beforeEnter(A){let F=a;if(!n.isMounted)if(r)F=v||a;else return;A[Sn]&&A[Sn](!0);const U=M[T];U&&jn(e,U)&&U.el[Sn]&&U.el[Sn](),I(F,[A])},enter(A){let F=c,U=u,C=f;if(!n.isMounted)if(r)F=q||c,U=S||u,C=E||f;else return;let J=!1;const N=A[Ti]=ie=>{J||(J=!0,ie?I(C,[A]):I(U,[A]),Z.delayedLeave&&Z.delayedLeave(),A[Ti]=void 0)};F?W(F,[A,N]):N()},leave(A,F){const U=String(e.key);if(A[Ti]&&A[Ti](!0),n.isUnmounting)return F();I(d,[A]);let C=!1;const J=A[Sn]=N=>{C||(C=!0,F(),N?I(p,[A]):I(g,[A]),A[Sn]=void 0,M[U]===e&&delete M[U])};M[U]=e,h?W(h,[A,J]):J()},clone(A){const F=si(A,t,n,o,i);return i&&i(F),F}};return Z}function il(e){if(Cr(e))return e=qn(e),e.children=null,e}function ma(e){if(!Cr(e))return Wc(e.type)&&e.children?Zc(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&xe(n.default))return n.default()}}function Yn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Yn(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 Es(e,t=!1,n){let o=[],i=0;for(let r=0;r<e.length;r++){let l=e[r];const s=n==null?l.key:String(n)+String(l.key!=null?l.key:r);l.type===Bt?(l.patchFlag&128&&i++,o=o.concat(Es(l.children,t,s))):(t||l.type!==Tt)&&o.push(s!=null?qn(l,{key:s}):l)}if(i>1)for(let r=0;r<o.length;r++)o[r].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function Ts(e,t){return xe(e)?rt({name:e.name},t,{setup:e}):e}function tf(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Qi(e,t,n,o,i=!1){if(we(e)){e.forEach((g,p)=>Qi(g,t&&(we(t)?t[p]:t),n,o,i));return}if(Xo(o)&&!i){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&Qi(e,t,n,o.component.subTree);return}const r=o.shapeFlag&4?Pr(o.component):o.el,l=i?null:r,{i:s,r:a}=e,c=t&&t.r,u=s.refs===$e?s.refs={}:s.refs,f=s.setupState,d=ke(f),h=f===$e?()=>!1:g=>De(d,g);if(c!=null&&c!==a&&(Ye(c)?(u[c]=null,h(c)&&(f[c]=null)):yt(c)&&(c.value=null)),xe(a))pi(a,s,12,[l,u]);else{const g=Ye(a),p=yt(a);if(g||p){const v=()=>{if(e.f){const q=g?h(a)?f[a]:u[a]:a.value;i?we(q)&&ms(q,r):we(q)?q.includes(r)||q.push(r):g?(u[a]=[r],h(a)&&(f[a]=u[a])):(a.value=[r],e.k&&(u[e.k]=a.value))}else g?(u[a]=l,h(a)&&(f[a]=l)):p&&(a.value=l,e.k&&(u[e.k]=l))};l?(v.id=-1,St(v,n)):v()}}}yr().requestIdleCallback;yr().cancelIdleCallback;const Xo=e=>!!e.type.__asyncLoader,Cr=e=>e.type.__isKeepAlive;function kr(e,t){nf(e,"a",t)}function Oo(e,t){nf(e,"da",t)}function nf(e,t,n=ft){const o=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Er(t,o,n),n){let i=n.parent;for(;i&&i.parent;)Cr(i.parent.vnode)&&mg(o,t,n,i),i=i.parent}}function mg(e,t,n,o){const i=Er(t,e,o,!0);Rs(()=>{ms(o[t],i)},n)}function Er(e,t,n=ft,o=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...l)=>{Pn();const s=bi(n),a=Qt(t,n,e,l);return s(),On(),a});return o?i.unshift(r):i.push(r),r}}const pn=e=>(t,n=ft)=>{(!ui||e==="sp")&&Er(e,(...o)=>t(...o),n)},Tr=pn("bm"),rn=pn("m"),qr=pn("bu"),qs=pn("u"),tt=pn("bum"),Rs=pn("um"),vg=pn("sp"),pg=pn("rtg"),bg=pn("rtc");function yg(e,t=ft){Er("ec",e,t)}const wg="components";function _g(e,t){return xg(wg,e,!0,t)||e}const Sg=Symbol.for("v-ndc");function xg(e,t,n=!0,o=!1){const i=Rt||ft;if(i){const r=i.type;{const s=cm(r,!1);if(s&&(s===t||s===It(t)||s===br(It(t))))return r}const l=va(i[e]||r[e],t)||va(i.appContext[e],t);return!l&&o?r:l}}function va(e,t){return e&&(e[t]||e[It(t)]||e[br(It(t))])}function Cg(e,t,n,o){let i;const r=n,l=we(e);if(l||Ye(e)){const s=l&&wo(e);let a=!1;s&&(a=!Nt(e),e=_r(e)),i=new Array(e.length);for(let c=0,u=e.length;c<u;c++)i[c]=t(a?pt(e[c]):e[c],c,void 0,r)}else if(typeof e=="number"){i=new Array(e);for(let s=0;s<e;s++)i[s]=t(s+1,s,void 0,r)}else if(Ue(e))if(e[Symbol.iterator])i=Array.from(e,(s,a)=>t(s,a,void 0,r));else{const s=Object.keys(e);i=new Array(s.length);for(let a=0,c=s.length;a<c;a++){const u=s[a];i[a]=t(e[u],u,a,r)}}else i=[];return i}const Vl=e=>e?xf(e)?Pr(e):Vl(e.parent):null,Yo=rt(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=>Vl(e.parent),$root:e=>Vl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>rf(e),$forceUpdate:e=>e.f||(e.f=()=>{ks(e.update)}),$nextTick:e=>e.n||(e.n=ze.bind(e.proxy)),$watch:e=>Ug.bind(e)}),rl=(e,t)=>e!==$e&&!e.__isScriptSetup&&De(e,t),kg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:i,props:r,accessCache:l,type:s,appContext:a}=e;let c;if(t[0]!=="$"){const h=l[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(rl(o,t))return l[t]=1,o[t];if(i!==$e&&De(i,t))return l[t]=2,i[t];if((c=e.propsOptions[0])&&De(c,t))return l[t]=3,r[t];if(n!==$e&&De(n,t))return l[t]=4,n[t];Il&&(l[t]=0)}}const u=Yo[t];let f,d;if(u)return t==="$attrs"&&vt(e.attrs,"get",""),u(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==$e&&De(n,t))return l[t]=4,n[t];if(d=a.config.globalProperties,De(d,t))return d[t]},set({_:e},t,n){const{data:o,setupState:i,ctx:r}=e;return rl(i,t)?(i[t]=n,!0):o!==$e&&De(o,t)?(o[t]=n,!0):De(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:r}},l){let s;return!!n[l]||e!==$e&&De(e,l)||rl(t,l)||(s=r[0])&&De(s,l)||De(o,l)||De(Yo,l)||De(i.config.globalProperties,l)},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 pa(e){return we(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Il=!0;function Eg(e){const t=rf(e),n=e.proxy,o=e.ctx;Il=!1,t.beforeCreate&&ba(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:l,watch:s,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:g,activated:p,deactivated:v,beforeDestroy:q,beforeUnmount:S,destroyed:E,unmounted:T,render:M,renderTracked:I,renderTriggered:W,errorCaptured:Z,serverPrefetch:A,expose:F,inheritAttrs:U,components:C,directives:J,filters:N}=t;if(c&&Tg(c,o,null),l)for(const re in l){const Q=l[re];xe(Q)&&(o[re]=Q.bind(n))}if(i){const re=i.call(n,n);Ue(re)&&(e.data=Ao(re))}if(Il=!0,r)for(const re in r){const Q=r[re],se=xe(Q)?Q.bind(n,n):xe(Q.get)?Q.get.bind(n,n):on,me=!xe(Q)&&xe(Q.set)?Q.set.bind(n):on,P=y({get:se,set:me});Object.defineProperty(o,re,{enumerable:!0,configurable:!0,get:()=>P.value,set:m=>P.value=m})}if(s)for(const re in s)of(s[re],o,n,re);if(a){const re=xe(a)?a.call(n):a;Reflect.ownKeys(re).forEach(Q=>{Fi(Q,re[Q])})}u&&ba(u,e,"c");function ee(re,Q){we(Q)?Q.forEach(se=>re(se.bind(n))):Q&&re(Q.bind(n))}if(ee(Tr,f),ee(rn,d),ee(qr,h),ee(qs,g),ee(kr,p),ee(Oo,v),ee(yg,Z),ee(bg,I),ee(pg,W),ee(tt,S),ee(Rs,T),ee(vg,A),we(F))if(F.length){const re=e.exposed||(e.exposed={});F.forEach(Q=>{Object.defineProperty(re,Q,{get:()=>n[Q],set:se=>n[Q]=se})})}else e.exposed||(e.exposed={});M&&e.render===on&&(e.render=M),U!=null&&(e.inheritAttrs=U),C&&(e.components=C),J&&(e.directives=J),A&&tf(e)}function Tg(e,t,n=on){we(e)&&(e=jl(e));for(const o in e){const i=e[o];let r;Ue(i)?"default"in i?r=Vt(i.from||o,i.default,!0):r=Vt(i.from||o):r=Vt(i),yt(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[o]=r}}function ba(e,t,n){Qt(we(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function of(e,t,n,o){let i=o.includes(".")?bf(n,o):()=>n[o];if(Ye(e)){const r=t[e];xe(r)&&be(i,r)}else if(xe(e))be(i,e.bind(n));else if(Ue(e))if(we(e))e.forEach(r=>of(r,t,n,o));else{const r=xe(e.handler)?e.handler.bind(n):t[e.handler];xe(r)&&be(i,r,e)}}function rf(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:l}}=e.appContext,s=r.get(t);let a;return s?a=s:!i.length&&!n&&!o?a=t:(a={},i.length&&i.forEach(c=>Gi(a,c,l,!0)),Gi(a,t,l)),Ue(t)&&r.set(t,a),a}function Gi(e,t,n,o=!1){const{mixins:i,extends:r}=t;r&&Gi(e,r,n,!0),i&&i.forEach(l=>Gi(e,l,n,!0));for(const l in t)if(!(o&&l==="expose")){const s=qg[l]||n&&n[l];e[l]=s?s(e[l],t[l]):t[l]}return e}const qg={data:ya,props:wa,emits:wa,methods:Uo,computed:Uo,beforeCreate:_t,created:_t,beforeMount:_t,mounted:_t,beforeUpdate:_t,updated:_t,beforeDestroy:_t,beforeUnmount:_t,destroyed:_t,unmounted:_t,activated:_t,deactivated:_t,errorCaptured:_t,serverPrefetch:_t,components:Uo,directives:Uo,watch:Ag,provide:ya,inject:Rg};function ya(e,t){return t?e?function(){return rt(xe(e)?e.call(this,this):e,xe(t)?t.call(this,this):t)}:t:e}function Rg(e,t){return Uo(jl(e),jl(t))}function jl(e){if(we(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function _t(e,t){return e?[...new Set([].concat(e,t))]:t}function Uo(e,t){return e?rt(Object.create(null),e,t):t}function wa(e,t){return e?we(e)&&we(t)?[...new Set([...e,...t])]:rt(Object.create(null),pa(e),pa(t??{})):t}function Ag(e,t){if(!e)return t;if(!t)return e;const n=rt(Object.create(null),e);for(const o in t)n[o]=_t(e[o],t[o]);return n}function lf(){return{app:null,config:{isNativeTag:Sh,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 Pg=0;function Og(e,t){return function(o,i=null){xe(o)||(o=rt({},o)),i!=null&&!Ue(i)&&(i=null);const r=lf(),l=new WeakSet,s=[];let a=!1;const c=r.app={_uid:Pg++,_component:o,_props:i,_container:null,_context:r,_instance:null,version:dm,get config(){return r.config},set config(u){},use(u,...f){return l.has(u)||(u&&xe(u.install)?(l.add(u),u.install(c,...f)):xe(u)&&(l.add(u),u(c,...f))),c},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),c},component(u,f){return f?(r.components[u]=f,c):r.components[u]},directive(u,f){return f?(r.directives[u]=f,c):r.directives[u]},mount(u,f,d){if(!a){const h=c._ceVNode||ae(o,i);return h.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),e(h,u,d),a=!0,c._container=u,u.__vue_app__=c,Pr(h.component)}},onUnmount(u){s.push(u)},unmount(){a&&(Qt(s,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return r.provides[u]=f,c},runWithContext(u){const f=So;So=c;try{return u()}finally{So=f}}};return c}}let So=null;function Fi(e,t){if(ft){let n=ft.provides;const o=ft.parent&&ft.parent.provides;o===n&&(n=ft.provides=Object.create(o)),n[e]=t}}function Vt(e,t,n=!1){const o=ft||Rt;if(o||So){const i=So?So._context.provides:o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&xe(t)?t.call(o&&o.proxy):t}}const sf={},af=()=>Object.create(sf),uf=e=>Object.getPrototypeOf(e)===sf;function Lg(e,t,n,o=!1){const i={},r=af();e.propsDefaults=Object.create(null),cf(e,t,i,r);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);n?e.props=o?i:Bc(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Mg(e,t,n,o){const{props:i,attrs:r,vnode:{patchFlag:l}}=e,s=ke(i),[a]=e.propsOptions;let c=!1;if((o||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Rr(e.emitsOptions,d))continue;const h=t[d];if(a)if(De(r,d))h!==r[d]&&(r[d]=h,c=!0);else{const g=It(d);i[g]=Hl(a,s,g,h,e,!1)}else h!==r[d]&&(r[d]=h,c=!0)}}}else{cf(e,t,i,r)&&(c=!0);let u;for(const f in s)(!t||!De(t,f)&&((u=to(f))===f||!De(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(i[f]=Hl(a,s,f,void 0,e,!0)):delete i[f]);if(r!==s)for(const f in r)(!t||!De(t,f))&&(delete r[f],c=!0)}c&&hn(e.attrs,"set","")}function cf(e,t,n,o){const[i,r]=e.propsOptions;let l=!1,s;if(t)for(let a in t){if(Wo(a))continue;const c=t[a];let u;i&&De(i,u=It(a))?!r||!r.includes(u)?n[u]=c:(s||(s={}))[u]=c:Rr(e.emitsOptions,a)||(!(a in o)||c!==o[a])&&(o[a]=c,l=!0)}if(r){const a=ke(n),c=s||$e;for(let u=0;u<r.length;u++){const f=r[u];n[f]=Hl(i,a,f,c[f],e,!De(c,f))}}return l}function Hl(e,t,n,o,i,r){const l=e[n];if(l!=null){const s=De(l,"default");if(s&&o===void 0){const a=l.default;if(l.type!==Function&&!l.skipFactory&&xe(a)){const{propsDefaults:c}=i;if(n in c)o=c[n];else{const u=bi(i);o=c[n]=a.call(null,t),u()}}else o=a;i.ce&&i.ce._setProp(n,o)}l[0]&&(r&&!s?o=!1:l[1]&&(o===""||o===to(n))&&(o=!0))}return o}const Dg=new WeakMap;function ff(e,t,n=!1){const o=n?Dg:t.propsCache,i=o.get(e);if(i)return i;const r=e.props,l={},s=[];let a=!1;if(!xe(e)){const u=f=>{a=!0;const[d,h]=ff(f,t,!0);rt(l,d),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!a)return Ue(e)&&o.set(e,bo),bo;if(we(r))for(let u=0;u<r.length;u++){const f=It(r[u]);_a(f)&&(l[f]=$e)}else if(r)for(const u in r){const f=It(u);if(_a(f)){const d=r[u],h=l[f]=we(d)||xe(d)?{type:d}:rt({},d),g=h.type;let p=!1,v=!0;if(we(g))for(let q=0;q<g.length;++q){const S=g[q],E=xe(S)&&S.name;if(E==="Boolean"){p=!0;break}else E==="String"&&(v=!1)}else p=xe(g)&&g.name==="Boolean";h[0]=p,h[1]=v,(p||De(h,"default"))&&s.push(f)}}const c=[l,s];return Ue(e)&&o.set(e,c),c}function _a(e){return e[0]!=="$"&&!Wo(e)}const df=e=>e[0]==="_"||e==="$stable",As=e=>we(e)?e.map(tn):[tn(e)],Fg=(e,t,n)=>{if(t._n)return t;const o=_e((...i)=>As(t(...i)),n);return o._c=!1,o},hf=(e,t,n)=>{const o=e._ctx;for(const i in e){if(df(i))continue;const r=e[i];if(xe(r))t[i]=Fg(i,r,o);else if(r!=null){const l=As(r);t[i]=()=>l}}},gf=(e,t)=>{const n=As(t);e.slots.default=()=>n},mf=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},Bg=(e,t,n)=>{const o=e.slots=af();if(e.vnode.shapeFlag&32){const i=t._;i?(mf(o,t,n),n&&bc(o,"_",i,!0)):hf(t,o)}else t&&gf(e,t)},$g=(e,t,n)=>{const{vnode:o,slots:i}=e;let r=!0,l=$e;if(o.shapeFlag&32){const s=t._;s?n&&s===1?r=!1:mf(i,t,n):(r=!t.$stable,hf(t,i)),l=t}else t&&(gf(e,t),l={default:1});if(r)for(const s in i)!df(s)&&l[s]==null&&delete i[s]},St=Yg;function Ng(e){return Vg(e)}function Vg(e,t){const n=yr();n.__VUE__=!0;const{insert:o,remove:i,patchProp:r,createElement:l,createText:s,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=on,insertStaticContent:g}=e,p=(w,_,R,j=null,z=null,B=null,X=void 0,oe=null,te=!!_.dynamicChildren)=>{if(w===_)return;w&&!jn(w,_)&&(j=x(w),m(w,z,B,!0),w=null),_.patchFlag===-2&&(te=!1,_.dynamicChildren=null);const{type:G,ref:he,shapeFlag:le}=_;switch(G){case Ar:v(w,_,R,j);break;case Tt:q(w,_,R,j);break;case sl:w==null&&S(_,R,j,X);break;case Bt:C(w,_,R,j,z,B,X,oe,te);break;default:le&1?M(w,_,R,j,z,B,X,oe,te):le&6?J(w,_,R,j,z,B,X,oe,te):(le&64||le&128)&&G.process(w,_,R,j,z,B,X,oe,te,Y)}he!=null&&z&&Qi(he,w&&w.ref,B,_||w,!_)},v=(w,_,R,j)=>{if(w==null)o(_.el=s(_.children),R,j);else{const z=_.el=w.el;_.children!==w.children&&c(z,_.children)}},q=(w,_,R,j)=>{w==null?o(_.el=a(_.children||""),R,j):_.el=w.el},S=(w,_,R,j)=>{[w.el,w.anchor]=g(w.children,_,R,j,w.el,w.anchor)},E=({el:w,anchor:_},R,j)=>{let z;for(;w&&w!==_;)z=d(w),o(w,R,j),w=z;o(_,R,j)},T=({el:w,anchor:_})=>{let R;for(;w&&w!==_;)R=d(w),i(w),w=R;i(_)},M=(w,_,R,j,z,B,X,oe,te)=>{_.type==="svg"?X="svg":_.type==="math"&&(X="mathml"),w==null?I(_,R,j,z,B,X,oe,te):A(w,_,z,B,X,oe,te)},I=(w,_,R,j,z,B,X,oe)=>{let te,G;const{props:he,shapeFlag:le,transition:ge,dirs:ve}=w;if(te=w.el=l(w.type,B,he&&he.is,he),le&8?u(te,w.children):le&16&&Z(w.children,te,null,j,z,ll(w,B),X,oe),ve&&Dn(w,null,j,"created"),W(te,w,w.scopeId,X,j),he){for(const Oe in he)Oe!=="value"&&!Wo(Oe)&&r(te,Oe,null,he[Oe],B,j);"value"in he&&r(te,"value",null,he.value,B),(G=he.onVnodeBeforeMount)&&Xt(G,j,w)}ve&&Dn(w,null,j,"beforeMount");const Te=Ig(z,ge);Te&&ge.beforeEnter(te),o(te,_,R),((G=he&&he.onVnodeMounted)||Te||ve)&&St(()=>{G&&Xt(G,j,w),Te&&ge.enter(te),ve&&Dn(w,null,j,"mounted")},z)},W=(w,_,R,j,z)=>{if(R&&h(w,R),j)for(let B=0;B<j.length;B++)h(w,j[B]);if(z){let B=z.subTree;if(_===B||wf(B.type)&&(B.ssContent===_||B.ssFallback===_)){const X=z.vnode;W(w,X,X.scopeId,X.slotScopeIds,z.parent)}}},Z=(w,_,R,j,z,B,X,oe,te=0)=>{for(let G=te;G<w.length;G++){const he=w[G]=oe?xn(w[G]):tn(w[G]);p(null,he,_,R,j,z,B,X,oe)}},A=(w,_,R,j,z,B,X)=>{const oe=_.el=w.el;let{patchFlag:te,dynamicChildren:G,dirs:he}=_;te|=w.patchFlag&16;const le=w.props||$e,ge=_.props||$e;let ve;if(R&&Fn(R,!1),(ve=ge.onVnodeBeforeUpdate)&&Xt(ve,R,_,w),he&&Dn(_,w,R,"beforeUpdate"),R&&Fn(R,!0),(le.innerHTML&&ge.innerHTML==null||le.textContent&&ge.textContent==null)&&u(oe,""),G?F(w.dynamicChildren,G,oe,R,j,ll(_,z),B):X||Q(w,_,oe,null,R,j,ll(_,z),B,!1),te>0){if(te&16)U(oe,le,ge,R,z);else if(te&2&&le.class!==ge.class&&r(oe,"class",null,ge.class,z),te&4&&r(oe,"style",le.style,ge.style,z),te&8){const Te=_.dynamicProps;for(let Oe=0;Oe<Te.length;Oe++){const Le=Te[Oe],lt=le[Le],Ne=ge[Le];(Ne!==lt||Le==="value")&&r(oe,Le,lt,Ne,z,R)}}te&1&&w.children!==_.children&&u(oe,_.children)}else!X&&G==null&&U(oe,le,ge,R,z);((ve=ge.onVnodeUpdated)||he)&&St(()=>{ve&&Xt(ve,R,_,w),he&&Dn(_,w,R,"updated")},j)},F=(w,_,R,j,z,B,X)=>{for(let oe=0;oe<_.length;oe++){const te=w[oe],G=_[oe],he=te.el&&(te.type===Bt||!jn(te,G)||te.shapeFlag&70)?f(te.el):R;p(te,G,he,null,j,z,B,X,!0)}},U=(w,_,R,j,z)=>{if(_!==R){if(_!==$e)for(const B in _)!Wo(B)&&!(B in R)&&r(w,B,_[B],null,z,j);for(const B in R){if(Wo(B))continue;const X=R[B],oe=_[B];X!==oe&&B!=="value"&&r(w,B,oe,X,z,j)}"value"in R&&r(w,"value",_.value,R.value,z)}},C=(w,_,R,j,z,B,X,oe,te)=>{const G=_.el=w?w.el:s(""),he=_.anchor=w?w.anchor:s("");let{patchFlag:le,dynamicChildren:ge,slotScopeIds:ve}=_;ve&&(oe=oe?oe.concat(ve):ve),w==null?(o(G,R,j),o(he,R,j),Z(_.children||[],R,he,z,B,X,oe,te)):le>0&&le&64&&ge&&w.dynamicChildren?(F(w.dynamicChildren,ge,R,z,B,X,oe),(_.key!=null||z&&_===z.subTree)&&Ps(w,_,!0)):Q(w,_,R,he,z,B,X,oe,te)},J=(w,_,R,j,z,B,X,oe,te)=>{_.slotScopeIds=oe,w==null?_.shapeFlag&512?z.ctx.activate(_,R,j,X,te):N(_,R,j,z,B,X,te):ie(w,_,te)},N=(w,_,R,j,z,B,X)=>{const oe=w.component=rm(w,j,z);if(Cr(w)&&(oe.ctx.renderer=Y),lm(oe,!1,X),oe.asyncDep){if(z&&z.registerDep(oe,ee,X),!w.el){const te=oe.subTree=ae(Tt);q(null,te,_,R)}}else ee(oe,w,_,R,z,B,X)},ie=(w,_,R)=>{const j=_.component=w.component;if(Jg(w,_,R))if(j.asyncDep&&!j.asyncResolved){re(j,_,R);return}else j.next=_,j.update();else _.el=w.el,j.vnode=_},ee=(w,_,R,j,z,B,X)=>{const oe=()=>{if(w.isMounted){let{next:le,bu:ge,u:ve,parent:Te,vnode:Oe}=w;{const Xe=vf(w);if(Xe){le&&(le.el=Oe.el,re(w,le,X)),Xe.asyncDep.then(()=>{w.isUnmounted||oe()});return}}let Le=le,lt;Fn(w,!1),le?(le.el=Oe.el,re(w,le,X)):le=Oe,ge&&Zr(ge),(lt=le.props&&le.props.onVnodeBeforeUpdate)&&Xt(lt,Te,le,Oe),Fn(w,!0);const Ne=xa(w),Ke=w.subTree;w.subTree=Ne,p(Ke,Ne,f(Ke.el),x(Ke),w,z,B),le.el=Ne.el,Le===null&&Xg(w,Ne.el),ve&&St(ve,z),(lt=le.props&&le.props.onVnodeUpdated)&&St(()=>Xt(lt,Te,le,Oe),z)}else{let le;const{el:ge,props:ve}=_,{bm:Te,m:Oe,parent:Le,root:lt,type:Ne}=w,Ke=Xo(_);Fn(w,!1),Te&&Zr(Te),!Ke&&(le=ve&&ve.onVnodeBeforeMount)&&Xt(le,Le,_),Fn(w,!0);{lt.ce&&lt.ce._injectChildStyle(Ne);const Xe=w.subTree=xa(w);p(null,Xe,R,j,w,z,B),_.el=Xe.el}if(Oe&&St(Oe,z),!Ke&&(le=ve&&ve.onVnodeMounted)){const Xe=_;St(()=>Xt(le,Le,Xe),z)}(_.shapeFlag&256||Le&&Xo(Le.vnode)&&Le.vnode.shapeFlag&256)&&w.a&&St(w.a,z),w.isMounted=!0,_=R=j=null}};w.scope.on();const te=w.effect=new xc(oe);w.scope.off();const G=w.update=te.run.bind(te),he=w.job=te.runIfDirty.bind(te);he.i=w,he.id=w.uid,te.scheduler=()=>ks(he),Fn(w,!0),G()},re=(w,_,R)=>{_.component=w;const j=w.vnode.props;w.vnode=_,w.next=null,Mg(w,_.props,j,R),$g(w,_.children,R),Pn(),fa(w),On()},Q=(w,_,R,j,z,B,X,oe,te=!1)=>{const G=w&&w.children,he=w?w.shapeFlag:0,le=_.children,{patchFlag:ge,shapeFlag:ve}=_;if(ge>0){if(ge&128){me(G,le,R,j,z,B,X,oe,te);return}else if(ge&256){se(G,le,R,j,z,B,X,oe,te);return}}ve&8?(he&16&&L(G,z,B),le!==G&&u(R,le)):he&16?ve&16?me(G,le,R,j,z,B,X,oe,te):L(G,z,B,!0):(he&8&&u(R,""),ve&16&&Z(le,R,j,z,B,X,oe,te))},se=(w,_,R,j,z,B,X,oe,te)=>{w=w||bo,_=_||bo;const G=w.length,he=_.length,le=Math.min(G,he);let ge;for(ge=0;ge<le;ge++){const ve=_[ge]=te?xn(_[ge]):tn(_[ge]);p(w[ge],ve,R,null,z,B,X,oe,te)}G>he?L(w,z,B,!0,!1,le):Z(_,R,j,z,B,X,oe,te,le)},me=(w,_,R,j,z,B,X,oe,te)=>{let G=0;const he=_.length;let le=w.length-1,ge=he-1;for(;G<=le&&G<=ge;){const ve=w[G],Te=_[G]=te?xn(_[G]):tn(_[G]);if(jn(ve,Te))p(ve,Te,R,null,z,B,X,oe,te);else break;G++}for(;G<=le&&G<=ge;){const ve=w[le],Te=_[ge]=te?xn(_[ge]):tn(_[ge]);if(jn(ve,Te))p(ve,Te,R,null,z,B,X,oe,te);else break;le--,ge--}if(G>le){if(G<=ge){const ve=ge+1,Te=ve<he?_[ve].el:j;for(;G<=ge;)p(null,_[G]=te?xn(_[G]):tn(_[G]),R,Te,z,B,X,oe,te),G++}}else if(G>ge)for(;G<=le;)m(w[G],z,B,!0),G++;else{const ve=G,Te=G,Oe=new Map;for(G=Te;G<=ge;G++){const it=_[G]=te?xn(_[G]):tn(_[G]);it.key!=null&&Oe.set(it.key,G)}let Le,lt=0;const Ne=ge-Te+1;let Ke=!1,Xe=0;const ln=new Array(Ne);for(G=0;G<Ne;G++)ln[G]=0;for(G=ve;G<=le;G++){const it=w[G];if(lt>=Ne){m(it,z,B,!0);continue}let wt;if(it.key!=null)wt=Oe.get(it.key);else for(Le=Te;Le<=ge;Le++)if(ln[Le-Te]===0&&jn(it,_[Le])){wt=Le;break}wt===void 0?m(it,z,B,!0):(ln[wt-Te]=G+1,wt>=Xe?Xe=wt:Ke=!0,p(it,_[wt],R,null,z,B,X,oe,te),lt++)}const sn=Ke?jg(ln):bo;for(Le=sn.length-1,G=Ne-1;G>=0;G--){const it=Te+G,wt=_[it],an=it+1<he?_[it+1].el:j;ln[G]===0?p(null,wt,R,an,z,B,X,oe,te):Ke&&(Le<0||G!==sn[Le]?P(wt,R,an,2):Le--)}}},P=(w,_,R,j,z=null)=>{const{el:B,type:X,transition:oe,children:te,shapeFlag:G}=w;if(G&6){P(w.component.subTree,_,R,j);return}if(G&128){w.suspense.move(_,R,j);return}if(G&64){X.move(w,_,R,Y);return}if(X===Bt){o(B,_,R);for(let le=0;le<te.length;le++)P(te[le],_,R,j);o(w.anchor,_,R);return}if(X===sl){E(w,_,R);return}if(j!==2&&G&1&&oe)if(j===0)oe.beforeEnter(B),o(B,_,R),St(()=>oe.enter(B),z);else{const{leave:le,delayLeave:ge,afterLeave:ve}=oe,Te=()=>o(B,_,R),Oe=()=>{le(B,()=>{Te(),ve&&ve()})};ge?ge(B,Te,Oe):Oe()}else o(B,_,R)},m=(w,_,R,j=!1,z=!1)=>{const{type:B,props:X,ref:oe,children:te,dynamicChildren:G,shapeFlag:he,patchFlag:le,dirs:ge,cacheIndex:ve}=w;if(le===-2&&(z=!1),oe!=null&&Qi(oe,null,R,w,!0),ve!=null&&(_.renderCache[ve]=void 0),he&256){_.ctx.deactivate(w);return}const Te=he&1&&ge,Oe=!Xo(w);let Le;if(Oe&&(Le=X&&X.onVnodeBeforeUnmount)&&Xt(Le,_,w),he&6)ne(w.component,R,j);else{if(he&128){w.suspense.unmount(R,j);return}Te&&Dn(w,null,_,"beforeUnmount"),he&64?w.type.remove(w,_,R,Y,j):G&&!G.hasOnce&&(B!==Bt||le>0&&le&64)?L(G,_,R,!1,!0):(B===Bt&&le&384||!z&&he&16)&&L(te,_,R),j&&$(w)}(Oe&&(Le=X&&X.onVnodeUnmounted)||Te)&&St(()=>{Le&&Xt(Le,_,w),Te&&Dn(w,null,_,"unmounted")},R)},$=w=>{const{type:_,el:R,anchor:j,transition:z}=w;if(_===Bt){D(R,j);return}if(_===sl){T(w);return}const B=()=>{i(R),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(w.shapeFlag&1&&z&&!z.persisted){const{leave:X,delayLeave:oe}=z,te=()=>X(R,B);oe?oe(w.el,B,te):te()}else B()},D=(w,_)=>{let R;for(;w!==_;)R=d(w),i(w),w=R;i(_)},ne=(w,_,R)=>{const{bum:j,scope:z,job:B,subTree:X,um:oe,m:te,a:G}=w;Sa(te),Sa(G),j&&Zr(j),z.stop(),B&&(B.flags|=8,m(X,w,_,R)),oe&&St(oe,_),St(()=>{w.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},L=(w,_,R,j=!1,z=!1,B=0)=>{for(let X=B;X<w.length;X++)m(w[X],_,R,j,z)},x=w=>{if(w.shapeFlag&6)return x(w.component.subTree);if(w.shapeFlag&128)return w.suspense.next();const _=d(w.anchor||w.el),R=_&&_[Kc];return R?d(R):_};let K=!1;const O=(w,_,R)=>{w==null?_._vnode&&m(_._vnode,null,null,!0):p(_._vnode||null,w,_,null,null,null,R),_._vnode=w,K||(K=!0,fa(),Hc(),K=!1)},Y={p,um:m,m:P,r:$,mt:N,mc:Z,pc:Q,pbc:F,n:x,o:e};return{render:O,hydrate:void 0,createApp:Og(O)}}function ll({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 Fn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ig(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ps(e,t,n=!1){const o=e.children,i=t.children;if(we(o)&&we(i))for(let r=0;r<o.length;r++){const l=o[r];let s=i[r];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=i[r]=xn(i[r]),s.el=l.el),!n&&s.patchFlag!==-2&&Ps(l,s)),s.type===Ar&&(s.el=l.el)}}function jg(e){const t=e.slice(),n=[0];let o,i,r,l,s;const a=e.length;for(o=0;o<a;o++){const c=e[o];if(c!==0){if(i=n[n.length-1],e[i]<c){t[o]=i,n.push(o);continue}for(r=0,l=n.length-1;r<l;)s=r+l>>1,e[n[s]]<c?r=s+1:l=s;c<e[n[r]]&&(r>0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,l=n[r-1];r-- >0;)n[r]=l,l=t[l];return n}function vf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:vf(t)}function Sa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Hg=Symbol.for("v-scx"),zg=()=>Vt(Hg);function be(e,t,n){return pf(e,t,n)}function pf(e,t,n=$e){const{immediate:o,deep:i,flush:r,once:l}=n,s=rt({},n),a=t&&o||!t&&r!=="post";let c;if(ui){if(r==="sync"){const h=zg();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=on,h.resume=on,h.pause=on,h}}const u=ft;s.call=(h,g,p)=>Qt(h,u,g,p);let f=!1;r==="post"?s.scheduler=h=>{St(h,u&&u.suspense)}:r!=="sync"&&(f=!0,s.scheduler=(h,g)=>{g?h():ks(h)}),s.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=sg(e,t,s);return ui&&(c?c.push(d):a&&d()),d}function Ug(e,t,n){const o=this.proxy,i=Ye(e)?e.includes(".")?bf(o,e):()=>o[e]:e.bind(o,o);let r;xe(t)?r=t:(r=t.handler,n=t);const l=bi(this),s=pf(i,r.bind(o),n);return l(),s}function bf(e,t){const n=t.split(".");return()=>{let o=e;for(let i=0;i<n.length&&o;i++)o=o[n[i]];return o}}const Kg=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${It(t)}Modifiers`]||e[`${to(t)}Modifiers`];function Wg(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||$e;let i=n;const r=t.startsWith("update:"),l=r&&Kg(o,t.slice(7));l&&(l.trim&&(i=n.map(u=>Ye(u)?u.trim():u)),l.number&&(i=n.map(Th)));let s,a=o[s=Yr(t)]||o[s=Yr(It(t))];!a&&r&&(a=o[s=Yr(to(t))]),a&&Qt(a,e,6,i);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Qt(c,e,6,i)}}function yf(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(i!==void 0)return i;const r=e.emits;let l={},s=!1;if(!xe(e)){const a=c=>{const u=yf(c,t,!0);u&&(s=!0,rt(l,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!s?(Ue(e)&&o.set(e,null),null):(we(r)?r.forEach(a=>l[a]=null):rt(l,r),Ue(e)&&o.set(e,l),l)}function Rr(e,t){return!e||!mr(t)?!1:(t=t.slice(2).replace(/Once$/,""),De(e,t[0].toLowerCase()+t.slice(1))||De(e,to(t))||De(e,t))}function xa(e){const{type:t,vnode:n,proxy:o,withProxy:i,propsOptions:[r],slots:l,attrs:s,emit:a,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:g,inheritAttrs:p}=e,v=Wi(e);let q,S;try{if(n.shapeFlag&4){const T=i||o,M=T;q=tn(c.call(M,T,u,f,h,d,g)),S=s}else{const T=t;q=tn(T.length>1?T(f,{attrs:s,slots:l,emit:a}):T(f,null)),S=t.props?s:Qg(s)}}catch(T){Zo.length=0,Sr(T,e,1),q=ae(Tt)}let E=q;if(S&&p!==!1){const T=Object.keys(S),{shapeFlag:M}=E;T.length&&M&7&&(r&&T.some(gs)&&(S=Gg(S,r)),E=qn(E,S,!1,!0))}return n.dirs&&(E=qn(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Yn(E,n.transition),q=E,Wi(v),q}const Qg=e=>{let t;for(const n in e)(n==="class"||n==="style"||mr(n))&&((t||(t={}))[n]=e[n]);return t},Gg=(e,t)=>{const n={};for(const o in e)(!gs(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Jg(e,t,n){const{props:o,children:i,component:r}=e,{props:l,children:s,patchFlag:a}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return o?Ca(o,l,c):!!l;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(l[d]!==o[d]&&!Rr(c,d))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:o===l?!1:o?l?Ca(o,l,c):!0:!!l;return!1}function Ca(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let i=0;i<o.length;i++){const r=o[i];if(t[r]!==e[r]&&!Rr(n,r))return!0}return!1}function Xg({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const wf=e=>e.__isSuspense;function Yg(e,t){t&&t.pendingBranch?we(e)?t.effects.push(...e):t.effects.push(e):cg(e)}const Bt=Symbol.for("v-fgt"),Ar=Symbol.for("v-txt"),Tt=Symbol.for("v-cmt"),sl=Symbol.for("v-stc"),Zo=[];let Ot=null;function je(e=!1){Zo.push(Ot=e?null:[])}function Zg(){Zo.pop(),Ot=Zo[Zo.length-1]||null}let ai=1;function ka(e,t=!1){ai+=e,e<0&&Ot&&t&&(Ot.hasOnce=!0)}function _f(e){return e.dynamicChildren=ai>0?Ot||bo:null,Zg(),ai>0&&Ot&&Ot.push(e),e}function dn(e,t,n,o,i,r){return _f(Ee(e,t,n,o,i,r,!0))}function ut(e,t,n,o,i){return _f(ae(e,t,n,o,i,!0))}function Ji(e){return e?e.__v_isVNode===!0:!1}function jn(e,t){return e.type===t.type&&e.key===t.key}const Sf=({key:e})=>e??null,Bi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||yt(e)||xe(e)?{i:Rt,r:e,k:t,f:!!n}:e:null);function Ee(e,t=null,n=null,o=0,i=null,r=e===Bt?0:1,l=!1,s=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Sf(t),ref:t&&Bi(t),scopeId:Uc,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:r,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Rt};return s?(Os(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=Ye(n)?8:16),ai>0&&!l&&Ot&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&Ot.push(a),a}const ae=em;function em(e,t=null,n=null,o=0,i=null,r=!1){if((!e||e===Sg)&&(e=Tt),Ji(e)){const s=qn(e,t,!0);return n&&Os(s,n),ai>0&&!r&&Ot&&(s.shapeFlag&6?Ot[Ot.indexOf(e)]=s:Ot.push(s)),s.patchFlag=-2,s}if(fm(e)&&(e=e.__vccOpts),t){t=tm(t);let{class:s,style:a}=t;s&&!Ye(s)&&(t.class=wr(s)),Ue(a)&&(Cs(a)&&!we(a)&&(a=rt({},a)),t.style=ps(a))}const l=Ye(e)?1:wf(e)?128:Wc(e)?64:Ue(e)?4:xe(e)?2:0;return Ee(e,t,n,o,i,l,r,!0)}function tm(e){return e?Cs(e)||uf(e)?rt({},e):e:null}function qn(e,t,n=!1,o=!1){const{props:i,ref:r,patchFlag:l,children:s,transition:a}=e,c=t?nm(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Sf(c),ref:t&&t.ref?n&&r?we(r)?r.concat(Bi(t)):[r,Bi(t)]:Bi(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Bt?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,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 a&&o&&Yn(u,a.clone(u)),u}function Ft(e=" ",t=0){return ae(Ar,null,e,t)}function mt(e="",t=!1){return t?(je(),ut(Tt,null,e)):ae(Tt,null,e)}function tn(e){return e==null||typeof e=="boolean"?ae(Tt):we(e)?ae(Bt,null,e.slice()):Ji(e)?xn(e):ae(Ar,null,String(e))}function xn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qn(e)}function Os(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(we(t))n=16;else if(typeof t=="object")if(o&65){const i=t.default;i&&(i._c&&(i._d=!1),Os(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!uf(t)?t._ctx=Rt:i===3&&Rt&&(Rt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else xe(t)?(t={default:t,_ctx:Rt},n=32):(t=String(t),o&64?(n=16,t=[Ft(t)]):n=8);e.children=t,e.shapeFlag|=n}function nm(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const i in o)if(i==="class")t.class!==o.class&&(t.class=wr([t.class,o.class]));else if(i==="style")t.style=ps([t.style,o.style]);else if(mr(i)){const r=t[i],l=o[i];l&&r!==l&&!(we(r)&&r.includes(l))&&(t[i]=r?[].concat(r,l):l)}else i!==""&&(t[i]=o[i])}return t}function Xt(e,t,n,o=null){Qt(e,t,7,[n,o])}const om=lf();let im=0;function rm(e,t,n){const o=e.type,i=(t?t.appContext:e.appContext)||om,r={uid:im++,vnode:e,type:o,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Sc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ff(o,i),emitsOptions:yf(o,i),emit:null,emitted:null,propsDefaults:$e,inheritAttrs:o.inheritAttrs,ctx:$e,data:$e,props:$e,attrs:$e,slots:$e,refs:$e,setupState:$e,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 r.ctx={_:r},r.root=t?t.root:r,r.emit=Wg.bind(null,r),e.ce&&e.ce(r),r}let ft=null;const Ae=()=>ft||Rt;let Xi,zl;{const e=yr(),t=(n,o)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(o),r=>{i.length>1?i.forEach(l=>l(r)):i[0](r)}};Xi=t("__VUE_INSTANCE_SETTERS__",n=>ft=n),zl=t("__VUE_SSR_SETTERS__",n=>ui=n)}const bi=e=>{const t=ft;return Xi(e),e.scope.on(),()=>{e.scope.off(),Xi(t)}},Ea=()=>{ft&&ft.scope.off(),Xi(null)};function xf(e){return e.vnode.shapeFlag&4}let ui=!1;function lm(e,t=!1,n=!1){t&&zl(t);const{props:o,children:i}=e.vnode,r=xf(e);Lg(e,o,r,t),Bg(e,i,n);const l=r?sm(e,t):void 0;return t&&zl(!1),l}function sm(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,kg);const{setup:o}=n;if(o){Pn();const i=e.setupContext=o.length>1?um(e):null,r=bi(e),l=pi(o,e,0,[e.props,i]),s=mc(l);if(On(),r(),(s||e.sp)&&!Xo(e)&&tf(e),s){if(l.then(Ea,Ea),t)return l.then(a=>{Ta(e,a)}).catch(a=>{Sr(a,e,0)});e.asyncDep=l}else Ta(e,l)}else Cf(e)}function Ta(e,t,n){xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ue(t)&&(e.setupState=Vc(t)),Cf(e)}function Cf(e,t,n){const o=e.type;e.render||(e.render=o.render||on);{const i=bi(e);Pn();try{Eg(e)}finally{On(),i()}}}const am={get(e,t){return vt(e,"get",""),e[t]}};function um(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,am),slots:e.slots,emit:e.emit,expose:t}}function Pr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Vc(Po(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Yo)return Yo[n](e)},has(t,n){return n in t||n in Yo}})):e.proxy}function cm(e,t=!0){return xe(e)?e.displayName||e.name:e.name||t&&e.__name}function fm(e){return xe(e)&&"__vccOpts"in e}const y=(e,t)=>rg(e,t,ui);function b(e,t,n){const o=arguments.length;return o===2?Ue(t)&&!we(t)?Ji(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Ji(n)&&(n=[n]),ae(e,t,n))}const dm="3.5.13";/**
14
14
  * @vue/runtime-dom v3.5.13
15
15
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
16
  * @license MIT
17
- **/let Ul;const qa=typeof window<"u"&&window.trustedTypes;if(qa)try{Ul=qa.createPolicy("vue",{createHTML:e=>e})}catch{}const kf=Ul?e=>Ul.createHTML(e):e=>e,hm="http://www.w3.org/2000/svg",gm="http://www.w3.org/1998/Math/MathML",fn=typeof document<"u"?document:null,Ra=fn&&fn.createElement("template"),mm={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const i=t==="svg"?fn.createElementNS(hm,e):t==="mathml"?fn.createElementNS(gm,e):n?fn.createElement(e,{is:n}):fn.createElement(e);return e==="select"&&o&&o.multiple!=null&&i.setAttribute("multiple",o.multiple),i},createText:e=>fn.createTextNode(e),createComment:e=>fn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>fn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,i,r){const l=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Ra.innerHTML=kf(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const s=Ra.content;if(o==="svg"||o==="mathml"){const a=s.firstChild;for(;a.firstChild;)s.appendChild(a.firstChild);s.removeChild(a)}t.insertBefore(s,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},bn="transition",Bo="animation",ko=Symbol("_vtc"),Ef={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},Tf=it({},Xc,Ef),vm=e=>(e.displayName="Transition",e.props=Tf,e),Zn=vm((e,{slots:t})=>b(gg,qf(e),t)),Bn=(e,t=[])=>{we(e)?e.forEach(n=>n(...t)):e&&e(...t)},Aa=e=>e?we(e)?e.some(t=>t.length>1):e.length>1:!1;function qf(e){const t={};for(const C in e)C in Ef||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:o,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:c=l,appearToClass:u=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=pm(i),p=g&&g[0],v=g&&g[1],{onBeforeEnter:q,onEnter:_,onEnterCancelled:E,onLeave:T,onLeaveCancelled:M,onBeforeAppear:I=q,onAppear:W=_,onAppearCancelled:Z=E}=t,A=(C,J,N,ie)=>{C._enterCancelled=ie,wn(C,J?u:s),wn(C,J?c:l),N&&N()},F=(C,J)=>{C._isLeaving=!1,wn(C,f),wn(C,h),wn(C,d),J&&J()},U=C=>(J,N)=>{const ie=C?W:_,ee=()=>A(J,C,N);Bn(ie,[J,ee]),Pa(()=>{wn(J,C?a:r),Zt(J,C?u:s),Aa(ie)||Oa(J,o,p,ee)})};return it(t,{onBeforeEnter(C){Bn(q,[C]),Zt(C,r),Zt(C,l)},onBeforeAppear(C){Bn(I,[C]),Zt(C,a),Zt(C,c)},onEnter:U(!1),onAppear:U(!0),onLeave(C,J){C._isLeaving=!0;const N=()=>F(C,J);Zt(C,f),C._enterCancelled?(Zt(C,d),Kl()):(Kl(),Zt(C,d)),Pa(()=>{C._isLeaving&&(wn(C,f),Zt(C,h),Aa(T)||Oa(C,o,v,N))}),Bn(T,[C,N])},onEnterCancelled(C){A(C,!1,void 0,!0),Bn(E,[C])},onAppearCancelled(C){A(C,!0,void 0,!0),Bn(Z,[C])},onLeaveCancelled(C){F(C),Bn(M,[C])}})}function pm(e){if(e==null)return null;if(ze(e))return[al(e.enter),al(e.leave)];{const t=al(e);return[t,t]}}function al(e){return qh(e)}function Zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ko]||(e[ko]=new Set)).add(t)}function wn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[ko];n&&(n.delete(t),n.size||(e[ko]=void 0))}function Pa(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let bm=0;function Oa(e,t,n,o){const i=e._endId=++bm,r=()=>{i===e._endId&&o()};if(n!=null)return setTimeout(r,n);const{type:l,timeout:s,propCount:a}=Rf(e,t);if(!l)return o();const c=l+"end";let u=0;const f=()=>{e.removeEventListener(c,d),r()},d=h=>{h.target===e&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},s+1),e.addEventListener(c,d)}function Rf(e,t){const n=window.getComputedStyle(e),o=g=>(n[g]||"").split(", "),i=o(`${bn}Delay`),r=o(`${bn}Duration`),l=La(i,r),s=o(`${Bo}Delay`),a=o(`${Bo}Duration`),c=La(s,a);let u=null,f=0,d=0;t===bn?l>0&&(u=bn,f=l,d=r.length):t===Bo?c>0&&(u=Bo,f=c,d=a.length):(f=Math.max(l,c),u=f>0?l>c?bn:Bo:null,d=u?u===bn?r.length:a.length:0);const h=u===bn&&/\b(transform|all)(,|$)/.test(o(`${bn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function La(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>Ma(n)+Ma(e[o])))}function Ma(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Kl(){return document.body.offsetHeight}function ym(e,t,n){const o=e[ko];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Yi=Symbol("_vod"),Af=Symbol("_vsh"),wm={beforeMount(e,{value:t},{transition:n}){e[Yi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$o(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),$o(e,!0),o.enter(e)):o.leave(e,()=>{$o(e,!1)}):$o(e,t))},beforeUnmount(e,{value:t}){$o(e,t)}};function $o(e,t){e.style.display=t?e[Yi]:"none",e[Af]=!t}const Sm=Symbol(""),_m=/(^|;)\s*display\s*:/;function xm(e,t,n){const o=e.style,i=Xe(n);let r=!1;if(n&&!i){if(t)if(Xe(t))for(const l of t.split(";")){const s=l.slice(0,l.indexOf(":")).trim();n[s]==null&&$i(o,s,"")}else for(const l in t)n[l]==null&&$i(o,l,"");for(const l in n)l==="display"&&(r=!0),$i(o,l,n[l])}else if(i){if(t!==n){const l=o[Sm];l&&(n+=";"+l),o.cssText=n,r=_m.test(n)}}else t&&e.removeAttribute("style");Yi in e&&(e[Yi]=r?o.display:"",e[Af]&&(o.display="none"))}const Da=/\s*!important$/;function $i(e,t,n){if(we(n))n.forEach(o=>$i(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Cm(e,t);Da.test(n)?e.setProperty(to(o),n.replace(Da,""),"important"):e[o]=n}}const Fa=["Webkit","Moz","ms"],ul={};function Cm(e,t){const n=ul[t];if(n)return n;let o=Vt(t);if(o!=="filter"&&o in e)return ul[t]=o;o=br(o);for(let i=0;i<Fa.length;i++){const r=Fa[i]+o;if(r in e)return ul[t]=r}return t}const Ba="http://www.w3.org/1999/xlink";function $a(e,t,n,o,i,r=Mh(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ba,t.slice(6,t.length)):e.setAttributeNS(Ba,t,n):n==null||r&&!yc(n)?e.removeAttribute(t):e.setAttribute(t,r?"":An(n)?String(n):n)}function Na(e,t,n,o,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?kf(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const s=r==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(s!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=yc(n):n==null&&s==="string"?(n="",l=!0):s==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(i||t)}function km(e,t,n,o){e.addEventListener(t,n,o)}function Em(e,t,n,o){e.removeEventListener(t,n,o)}const Va=Symbol("_vei");function Tm(e,t,n,o,i=null){const r=e[Va]||(e[Va]={}),l=r[t];if(o&&l)l.value=o;else{const[s,a]=qm(t);if(o){const c=r[t]=Pm(o,i);km(e,s,c,a)}else l&&(Em(e,s,l,a),r[t]=void 0)}}const Ia=/(?:Once|Passive|Capture)$/;function qm(e){let t;if(Ia.test(e)){t={};let o;for(;o=e.match(Ia);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):to(e.slice(2)),t]}let cl=0;const Rm=Promise.resolve(),Am=()=>cl||(Rm.then(()=>cl=0),cl=Date.now());function Pm(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Wt(Om(o,n.value),t,5,[o])};return n.value=e,n.attached=Am(),n}function Om(e,t){if(we(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>i=>!i._stopped&&o&&o(i))}else return t}const ja=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lm=(e,t,n,o,i,r)=>{const l=i==="svg";t==="class"?ym(e,o,l):t==="style"?xm(e,n,o):mr(t)?gs(t)||Tm(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mm(e,t,o,l))?(Na(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&$a(e,t,o,l,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Xe(o))?Na(e,Vt(t),o,r,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),$a(e,t,o,l))};function Mm(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&ja(t)&&_e(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return ja(t)&&Xe(n)?!1:t in e}const Pf=new WeakMap,Of=new WeakMap,Zi=Symbol("_moveCb"),Ha=Symbol("_enterCb"),Dm=e=>(delete e.props.mode,e),Fm=Dm({name:"TransitionGroup",props:it({},Tf,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Re(),o=Jc();let i,r;return qs(()=>{if(!i.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!Im(i[0].el,n.vnode.el,l))return;i.forEach($m),i.forEach(Nm);const s=i.filter(Vm);Kl(),s.forEach(a=>{const c=a.el,u=c.style;Zt(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[Zi]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[Zi]=null,wn(c,l))};c.addEventListener("transitionend",f)})}),()=>{const l=Ce(e),s=qf(l);let a=l.tag||Ft;if(i=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(i.push(u),Yn(u,si(u,s,o,n)),Pf.set(u,u.el.getBoundingClientRect()))}r=t.default?Es(t.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&Yn(u,si(u,s,o,n))}return ge(a,null,r)}}}),Bm=Fm;function $m(e){const t=e.el;t[Zi]&&t[Zi](),t[Ha]&&t[Ha]()}function Nm(e){Of.set(e,e.el.getBoundingClientRect())}function Vm(e){const t=Pf.get(e),n=Of.get(e),o=t.left-n.left,i=t.top-n.top;if(o||i){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${o}px,${i}px)`,r.transitionDuration="0s",e}}function Im(e,t,n){const o=e.cloneNode(),i=e[ko];i&&i.forEach(s=>{s.split(/\s+/).forEach(a=>a&&o.classList.remove(a))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(o);const{hasTransform:l}=Rf(o);return r.removeChild(o),l}const jm=["ctrl","shift","alt","meta"],Hm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>jm.some(n=>e[`${n}Key`]&&!t.includes(n))},za=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(i,...r)=>{for(let l=0;l<t.length;l++){const s=Hm[t[l]];if(s&&s(i,t))return}return e(i,...r)})},zm=it({patchProp:Lm},mm);let Ua;function Um(){return Ua||(Ua=Ng(zm))}const Lf=(...e)=>{const t=Um().createApp(...e),{mount:n}=t;return t.mount=o=>{const i=Wm(o);if(!i)return;const r=t._component;!_e(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const l=n(i,!1,Km(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t};function Km(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Wm(e){return Xe(e)?document.querySelector(e):e}function Tt(e,t,n,o){return Object.defineProperty(e,t,{get:n,set:o,enumerable:!0}),e}function Qm(e,t){for(const n in t)Tt(e,n,t[n]);return e}const Rn=ae(!1);let Wl;function Gm(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[4]||n[2]||"0",platform:t[0]||""}}function Jm(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const Mf="ontouchstart"in window||window.navigator.maxTouchPoints>0;function Xm(e){const t=e.toLowerCase(),n=Jm(t),o=Gm(t,n),i={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};o.browser&&(i[o.browser]=!0,i.version=o.version,i.versionNumber=parseInt(o.version,10)),o.platform&&(i[o.platform]=!0);const r=i.android||i.ios||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"];if(r===!0||t.indexOf("mobile")!==-1?i.mobile=!0:i.desktop=!0,i["windows phone"]&&(i.winphone=!0,delete i["windows phone"]),i.edga||i.edgios||i.edg?(i.edge=!0,o.browser="edge"):i.crios?(i.chrome=!0,o.browser="chrome"):i.fxios&&(i.firefox=!0,o.browser="firefox"),(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i.vivaldi&&(o.browser="vivaldi",i.vivaldi=!0),(i.chrome||i.opr||i.safari||i.vivaldi||i.mobile===!0&&i.ios!==!0&&r!==!0)&&(i.webkit=!0),i.opr&&(o.browser="opera",i.opera=!0),i.safari&&(i.blackberry||i.bb?(o.browser="blackberry",i.blackberry=!0):i.playbook?(o.browser="playbook",i.playbook=!0):i.android?(o.browser="android",i.android=!0):i.kindle?(o.browser="kindle",i.kindle=!0):i.silk&&(o.browser="silk",i.silk=!0)),i.name=o.browser,i.platform=o.platform,t.indexOf("electron")!==-1)i.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)i.bex=!0;else{if(window.Capacitor!==void 0?(i.capacitor=!0,i.nativeMobile=!0,i.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(i.cordova=!0,i.nativeMobile=!0,i.nativeMobileWrapper="cordova"),Rn.value===!0&&(Wl={is:{...i}}),Mf===!0&&i.mac===!0&&(i.desktop===!0&&i.safari===!0||i.nativeMobile===!0&&i.android!==!0&&i.ios!==!0&&i.ipad!==!0)){delete i.mac,delete i.desktop;const l=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(i,{mobile:!0,ios:!0,platform:l,[l]:!0})}i.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete i.desktop,i.mobile=!0)}return i}const Ka=navigator.userAgent||navigator.vendor||window.opera,Ym={has:{touch:!1,webStorage:!1},within:{iframe:!1}},nt={userAgent:Ka,is:Xm(Ka),has:{touch:Mf},within:{iframe:window.self!==window.top}},er={install(e){const{$q:t}=e;Rn.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,nt),Rn.value=!1}),t.platform=Ao(this)):t.platform=this}};{let e;Tt(nt.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(er,nt),Rn.value===!0&&(Object.assign(er,Wl,Ym),Wl=null)}function Ae(e){return Po(Ts(e))}function Df(e){return Po(e)}const Or=(e,t)=>{const n=Ao(e);for(const o in e)Tt(t,o,()=>n[o],i=>{n[o]=i});return t},ct={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(ct,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function Eo(){}function Ff(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function Zm(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),n.tagName==="HTML")return t.push(document),t.push(window),t;n=n.parentElement}}function nn(e){e.stopPropagation()}function zt(e){e.cancelable!==!1&&e.preventDefault()}function We(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function ci(e,t,n){const o=`__q_${t}_evt`;e[o]=e[o]!==void 0?e[o].concat(n):n,n.forEach(i=>{i[0].addEventListener(i[1],e[i[2]],ct[i[3]])})}function tr(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(o=>{o[0].removeEventListener(o[1],e[o[2]],ct[o[3]])}),e[n]=void 0)}function Ls(e,t=250,n){let o=null;function i(){const r=arguments,l=()=>{o=null,e.apply(this,r)};o!==null&&clearTimeout(o),o=setTimeout(l,t)}return i.cancel=()=>{o!==null&&clearTimeout(o)},i}const fl=["sm","md","lg","xl"],{passive:Wa}=ct,ev=Or({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:Eo,setDebounce:Eo,install({$q:e,onSSRHydrated:t}){if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:n}=window,o=n||window,i=document.scrollingElement||document.documentElement,r=n===void 0||nt.is.mobile===!0?()=>[Math.max(window.innerWidth,i.clientWidth),Math.max(window.innerHeight,i.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-i.clientWidth,n.height*n.scale+window.innerHeight-i.clientHeight],l=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=f=>{const[d,h]=r();if(h!==this.height&&(this.height=h),d!==this.width)this.width=d;else if(f!==!0)return;let g=this.sizes;this.gt.xs=d>=g.sm,this.gt.sm=d>=g.md,this.gt.md=d>=g.lg,this.gt.lg=d>=g.xl,this.lt.sm=d<g.sm,this.lt.md=d<g.md,this.lt.lg=d<g.lg,this.lt.xl=d<g.xl,this.xs=this.lt.sm,this.sm=this.gt.xs===!0&&this.lt.md===!0,this.md=this.gt.sm===!0&&this.lt.lg===!0,this.lg=this.gt.md===!0&&this.lt.xl===!0,this.xl=this.gt.lg,g=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",g!==this.name&&(l===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${g}`)),this.name=g)};let s,a={},c=16;this.setSizes=f=>{fl.forEach(d=>{f[d]!==void 0&&(a[d]=f[d])})},this.setDebounce=f=>{c=f};const u=()=>{const f=getComputedStyle(document.body);f.getPropertyValue("--q-size-sm")&&fl.forEach(d=>{this.sizes[d]=parseInt(f.getPropertyValue(`--q-size-${d}`),10)}),this.setSizes=d=>{fl.forEach(h=>{d[h]&&(this.sizes[h]=d[h])}),this.__update(!0)},this.setDebounce=d=>{s!==void 0&&o.removeEventListener("resize",s,Wa),s=d>0?Ls(this.__update,d):this.__update,o.addEventListener("resize",s,Wa)},this.setDebounce(c),Object.keys(a).length!==0?(this.setSizes(a),a=void 0):this.__update(),l===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};Rn.value===!0?t.push(u):u()}}),ht=Or({isActive:!1,mode:!1},{__media:void 0,set(e){ht.mode=e,e==="auto"?(ht.__media===void 0&&(ht.__media=window.matchMedia("(prefers-color-scheme: dark)"),ht.__updateMedia=()=>{ht.set("auto")},ht.__media.addListener(ht.__updateMedia)),e=ht.__media.matches):ht.__media!==void 0&&(ht.__media.removeListener(ht.__updateMedia),ht.__media=void 0),ht.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){ht.set(ht.isActive===!1)},install({$q:e,ssrContext:t}){const{dark:n}=e.config;e.dark=this,this.__installed!==!0&&this.set(n!==void 0?n:!1)}});function tv(e,t,n=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}let Bf=!1;function nv(e){Bf=e.isComposing===!0}function Lr(e){return Bf===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function mn(e,t){return Lr(e)===!0?!1:[].concat(t).includes(e.keyCode)}function $f(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function ov({is:e,has:t,within:n},o){const i=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const r=$f(e);r!==void 0&&i.push("platform-"+r)}if(e.nativeMobile===!0){const r=e.nativeMobileWrapper;i.push(r),i.push("native-mobile"),e.ios===!0&&(o[r]===void 0||o[r].iosStatusBarPadding!==!1)&&i.push("q-ios-padding")}else e.electron===!0?i.push("electron"):e.bex===!0&&i.push("bex");return n.iframe===!0&&i.push("within-iframe"),i}function iv(){const{is:e}=nt,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(e.mobile===!0){n.delete("desktop"),n.add("mobile"),n.delete("platform-ios"),n.delete("platform-android");const i=$f(e);i!==void 0&&n.add(`platform-${i}`)}}nt.has.touch===!0&&(n.delete("no-touch"),n.add("touch")),nt.within.iframe===!0&&n.add("within-iframe");const o=Array.from(n).join(" ");t!==o&&(document.body.className=o)}function rv(e){for(const t in e)tv(t,e[t])}const lv={install(e){if(this.__installed!==!0){if(Rn.value===!0)iv();else{const{$q:t}=e;t.config.brand!==void 0&&rv(t.config.brand);const n=ov(nt,t.config);document.body.classList.add.apply(document.body.classList,n)}nt.is.ios===!0&&document.body.addEventListener("touchstart",Eo),window.addEventListener("keydown",nv,!0)}}},Nf=()=>!0;function sv(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function av(e){return e.startsWith("#")===!0&&(e=e.substring(1)),e.startsWith("/")===!1&&(e="/"+e),e.endsWith("/")===!0&&(e=e.substring(0,e.length-1)),"#"+e}function uv(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Nf;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(sv).map(av)),()=>t.includes(window.location.hash)}const fi={__history:[],add:Eo,remove:Eo,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:n}=nt.is;if(t!==!0&&n!==!0)return;const o=e.config[t===!0?"cordova":"capacitor"];if(o!==void 0&&o.backButton===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=l=>{l.condition===void 0&&(l.condition=Nf),this.__history.push(l)},this.remove=l=>{const s=this.__history.indexOf(l);s>=0&&this.__history.splice(s,1)};const i=uv(Object.assign({backButtonExit:!0},o)),r=()=>{if(this.__history.length){const l=this.__history[this.__history.length-1];l.condition()===!0&&(this.__history.pop(),l.handler())}else i()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",r,!1)}):window.Capacitor.Plugins.App.addListener("backButton",r)}},Qa={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function Ga(){const e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,n)=>n===0?t.toLowerCase():n>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}const Cn=Or({__qLang:{}},{getLocale:Ga,set(e=Qa,t){const n={...e,rtl:e.rtl===!0,getLocale:Ga};{if(n.set=Cn.set,Cn.__langConfig===void 0||Cn.__langConfig.noHtmlAttrs!==!0){const o=document.documentElement;o.setAttribute("dir",n.rtl===!0?"rtl":"ltr"),o.setAttribute("lang",n.isoName)}Object.assign(Cn.__qLang,n)}},install({$q:e,lang:t,ssrContext:n}){e.lang=Cn.__qLang,Cn.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(i=>i!=="set"&&i!=="getLocale")}}),this.set(t||Qa))}}),cv={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}},nr=Or({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};n.set=nr.set,Object.assign(nr.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,Tt(e,"iconMapFn",()=>this.iconMapFn,o=>{this.iconMapFn=o}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(i=>i!=="set")}}),this.set(t||cv))}}),fv="_q_",dv="_q_l_",hv="_q_pc_",gv="_q_fo_";function co(){}const or={};let Vf=!1;function mv(){Vf=!0}function En(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,o;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(En(e[o],t[o])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let r=e.entries();for(o=r.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=r.next()}for(r=e.entries(),o=r.next();o.done!==!0;){if(En(o.value[1],t.get(o.value[0]))!==!0)return!1;o=r.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const r=e.entries();for(o=r.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=r.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const i=Object.keys(e).filter(r=>e[r]!==void 0);if(n=i.length,n!==Object.keys(t).filter(r=>t[r]!==void 0).length)return!1;for(o=n;o--!==0;){const r=i[o];if(En(e[r],t[r])!==!0)return!1}return!0}return e!==e&&t!==t}function Bt(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function Ja(e){return Object.prototype.toString.call(e)==="[object Date]"}function Ql(e){return typeof e=="number"&&isFinite(e)}const Xa=[er,lv,ht,ev,fi,Cn,nr];function If(e,t){const n=Lf(e);n.config.globalProperties=t.config.globalProperties;const{reload:o,...i}=t._context;return Object.assign(n._context,i),n}function Ya(e,t){t.forEach(n=>{n.install(e),n.__installed=!0})}function vv(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(fv,n.$q),Ya(n,Xa),t.components!==void 0&&Object.values(t.components).forEach(o=>{Bt(o)===!0&&o.name!==void 0&&e.component(o.name,o)}),t.directives!==void 0&&Object.values(t.directives).forEach(o=>{Bt(o)===!0&&o.name!==void 0&&e.directive(o.name,o)}),t.plugins!==void 0&&Ya(n,Object.values(t.plugins).filter(o=>typeof o.install=="function"&&Xa.includes(o)===!1)),Rn.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(o=>{o()}),n.$q.onSSRHydrated=()=>{}})}const pv=function(e,t={}){const n={version:"2.17.5"};Vf===!1?(t.config!==void 0&&Object.assign(or,t.config),n.config={...or},mv()):n.config=t.config||{},vv(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},bv={name:"Quasar",version:"2.17.5",install:pv,lang:Cn,iconSet:nr},yv={__name:"App",setup(e){return(t,n)=>{const o=Sg("router-view");return je(),ut(o)}}},Ms=e=>e,lS=Ms,wv=Ms,Sv=Ms;var _v=!1;/*!
17
+ **/let Ul;const qa=typeof window<"u"&&window.trustedTypes;if(qa)try{Ul=qa.createPolicy("vue",{createHTML:e=>e})}catch{}const kf=Ul?e=>Ul.createHTML(e):e=>e,hm="http://www.w3.org/2000/svg",gm="http://www.w3.org/1998/Math/MathML",fn=typeof document<"u"?document:null,Ra=fn&&fn.createElement("template"),mm={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const i=t==="svg"?fn.createElementNS(hm,e):t==="mathml"?fn.createElementNS(gm,e):n?fn.createElement(e,{is:n}):fn.createElement(e);return e==="select"&&o&&o.multiple!=null&&i.setAttribute("multiple",o.multiple),i},createText:e=>fn.createTextNode(e),createComment:e=>fn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>fn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,i,r){const l=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Ra.innerHTML=kf(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const s=Ra.content;if(o==="svg"||o==="mathml"){const a=s.firstChild;for(;a.firstChild;)s.appendChild(a.firstChild);s.removeChild(a)}t.insertBefore(s,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},bn="transition",Bo="animation",ko=Symbol("_vtc"),Ef={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},Tf=rt({},Xc,Ef),vm=e=>(e.displayName="Transition",e.props=Tf,e),Zn=vm((e,{slots:t})=>b(gg,qf(e),t)),Bn=(e,t=[])=>{we(e)?e.forEach(n=>n(...t)):e&&e(...t)},Aa=e=>e?we(e)?e.some(t=>t.length>1):e.length>1:!1;function qf(e){const t={};for(const C in e)C in Ef||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:o,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:c=l,appearToClass:u=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=pm(i),p=g&&g[0],v=g&&g[1],{onBeforeEnter:q,onEnter:S,onEnterCancelled:E,onLeave:T,onLeaveCancelled:M,onBeforeAppear:I=q,onAppear:W=S,onAppearCancelled:Z=E}=t,A=(C,J,N,ie)=>{C._enterCancelled=ie,wn(C,J?u:s),wn(C,J?c:l),N&&N()},F=(C,J)=>{C._isLeaving=!1,wn(C,f),wn(C,h),wn(C,d),J&&J()},U=C=>(J,N)=>{const ie=C?W:S,ee=()=>A(J,C,N);Bn(ie,[J,ee]),Pa(()=>{wn(J,C?a:r),Zt(J,C?u:s),Aa(ie)||Oa(J,o,p,ee)})};return rt(t,{onBeforeEnter(C){Bn(q,[C]),Zt(C,r),Zt(C,l)},onBeforeAppear(C){Bn(I,[C]),Zt(C,a),Zt(C,c)},onEnter:U(!1),onAppear:U(!0),onLeave(C,J){C._isLeaving=!0;const N=()=>F(C,J);Zt(C,f),C._enterCancelled?(Zt(C,d),Kl()):(Kl(),Zt(C,d)),Pa(()=>{C._isLeaving&&(wn(C,f),Zt(C,h),Aa(T)||Oa(C,o,v,N))}),Bn(T,[C,N])},onEnterCancelled(C){A(C,!1,void 0,!0),Bn(E,[C])},onAppearCancelled(C){A(C,!0,void 0,!0),Bn(Z,[C])},onLeaveCancelled(C){F(C),Bn(M,[C])}})}function pm(e){if(e==null)return null;if(Ue(e))return[al(e.enter),al(e.leave)];{const t=al(e);return[t,t]}}function al(e){return qh(e)}function Zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ko]||(e[ko]=new Set)).add(t)}function wn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[ko];n&&(n.delete(t),n.size||(e[ko]=void 0))}function Pa(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let bm=0;function Oa(e,t,n,o){const i=e._endId=++bm,r=()=>{i===e._endId&&o()};if(n!=null)return setTimeout(r,n);const{type:l,timeout:s,propCount:a}=Rf(e,t);if(!l)return o();const c=l+"end";let u=0;const f=()=>{e.removeEventListener(c,d),r()},d=h=>{h.target===e&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},s+1),e.addEventListener(c,d)}function Rf(e,t){const n=window.getComputedStyle(e),o=g=>(n[g]||"").split(", "),i=o(`${bn}Delay`),r=o(`${bn}Duration`),l=La(i,r),s=o(`${Bo}Delay`),a=o(`${Bo}Duration`),c=La(s,a);let u=null,f=0,d=0;t===bn?l>0&&(u=bn,f=l,d=r.length):t===Bo?c>0&&(u=Bo,f=c,d=a.length):(f=Math.max(l,c),u=f>0?l>c?bn:Bo:null,d=u?u===bn?r.length:a.length:0);const h=u===bn&&/\b(transform|all)(,|$)/.test(o(`${bn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function La(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>Ma(n)+Ma(e[o])))}function Ma(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Kl(){return document.body.offsetHeight}function ym(e,t,n){const o=e[ko];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Yi=Symbol("_vod"),Af=Symbol("_vsh"),wm={beforeMount(e,{value:t},{transition:n}){e[Yi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$o(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),$o(e,!0),o.enter(e)):o.leave(e,()=>{$o(e,!1)}):$o(e,t))},beforeUnmount(e,{value:t}){$o(e,t)}};function $o(e,t){e.style.display=t?e[Yi]:"none",e[Af]=!t}const _m=Symbol(""),Sm=/(^|;)\s*display\s*:/;function xm(e,t,n){const o=e.style,i=Ye(n);let r=!1;if(n&&!i){if(t)if(Ye(t))for(const l of t.split(";")){const s=l.slice(0,l.indexOf(":")).trim();n[s]==null&&$i(o,s,"")}else for(const l in t)n[l]==null&&$i(o,l,"");for(const l in n)l==="display"&&(r=!0),$i(o,l,n[l])}else if(i){if(t!==n){const l=o[_m];l&&(n+=";"+l),o.cssText=n,r=Sm.test(n)}}else t&&e.removeAttribute("style");Yi in e&&(e[Yi]=r?o.display:"",e[Af]&&(o.display="none"))}const Da=/\s*!important$/;function $i(e,t,n){if(we(n))n.forEach(o=>$i(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Cm(e,t);Da.test(n)?e.setProperty(to(o),n.replace(Da,""),"important"):e[o]=n}}const Fa=["Webkit","Moz","ms"],ul={};function Cm(e,t){const n=ul[t];if(n)return n;let o=It(t);if(o!=="filter"&&o in e)return ul[t]=o;o=br(o);for(let i=0;i<Fa.length;i++){const r=Fa[i]+o;if(r in e)return ul[t]=r}return t}const Ba="http://www.w3.org/1999/xlink";function $a(e,t,n,o,i,r=Mh(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ba,t.slice(6,t.length)):e.setAttributeNS(Ba,t,n):n==null||r&&!yc(n)?e.removeAttribute(t):e.setAttribute(t,r?"":An(n)?String(n):n)}function Na(e,t,n,o,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?kf(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const s=r==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(s!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=yc(n):n==null&&s==="string"?(n="",l=!0):s==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(i||t)}function km(e,t,n,o){e.addEventListener(t,n,o)}function Em(e,t,n,o){e.removeEventListener(t,n,o)}const Va=Symbol("_vei");function Tm(e,t,n,o,i=null){const r=e[Va]||(e[Va]={}),l=r[t];if(o&&l)l.value=o;else{const[s,a]=qm(t);if(o){const c=r[t]=Pm(o,i);km(e,s,c,a)}else l&&(Em(e,s,l,a),r[t]=void 0)}}const Ia=/(?:Once|Passive|Capture)$/;function qm(e){let t;if(Ia.test(e)){t={};let o;for(;o=e.match(Ia);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):to(e.slice(2)),t]}let cl=0;const Rm=Promise.resolve(),Am=()=>cl||(Rm.then(()=>cl=0),cl=Date.now());function Pm(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Qt(Om(o,n.value),t,5,[o])};return n.value=e,n.attached=Am(),n}function Om(e,t){if(we(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>i=>!i._stopped&&o&&o(i))}else return t}const ja=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lm=(e,t,n,o,i,r)=>{const l=i==="svg";t==="class"?ym(e,o,l):t==="style"?xm(e,n,o):mr(t)?gs(t)||Tm(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mm(e,t,o,l))?(Na(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&$a(e,t,o,l,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ye(o))?Na(e,It(t),o,r,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),$a(e,t,o,l))};function Mm(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&ja(t)&&xe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return ja(t)&&Ye(n)?!1:t in e}const Pf=new WeakMap,Of=new WeakMap,Zi=Symbol("_moveCb"),Ha=Symbol("_enterCb"),Dm=e=>(delete e.props.mode,e),Fm=Dm({name:"TransitionGroup",props:rt({},Tf,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ae(),o=Jc();let i,r;return qs(()=>{if(!i.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!Im(i[0].el,n.vnode.el,l))return;i.forEach($m),i.forEach(Nm);const s=i.filter(Vm);Kl(),s.forEach(a=>{const c=a.el,u=c.style;Zt(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[Zi]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[Zi]=null,wn(c,l))};c.addEventListener("transitionend",f)})}),()=>{const l=ke(e),s=qf(l);let a=l.tag||Bt;if(i=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(i.push(u),Yn(u,si(u,s,o,n)),Pf.set(u,u.el.getBoundingClientRect()))}r=t.default?Es(t.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&Yn(u,si(u,s,o,n))}return ae(a,null,r)}}}),Bm=Fm;function $m(e){const t=e.el;t[Zi]&&t[Zi](),t[Ha]&&t[Ha]()}function Nm(e){Of.set(e,e.el.getBoundingClientRect())}function Vm(e){const t=Pf.get(e),n=Of.get(e),o=t.left-n.left,i=t.top-n.top;if(o||i){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${o}px,${i}px)`,r.transitionDuration="0s",e}}function Im(e,t,n){const o=e.cloneNode(),i=e[ko];i&&i.forEach(s=>{s.split(/\s+/).forEach(a=>a&&o.classList.remove(a))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(o);const{hasTransform:l}=Rf(o);return r.removeChild(o),l}const jm=["ctrl","shift","alt","meta"],Hm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>jm.some(n=>e[`${n}Key`]&&!t.includes(n))},za=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(i,...r)=>{for(let l=0;l<t.length;l++){const s=Hm[t[l]];if(s&&s(i,t))return}return e(i,...r)})},zm=rt({patchProp:Lm},mm);let Ua;function Um(){return Ua||(Ua=Ng(zm))}const Lf=(...e)=>{const t=Um().createApp(...e),{mount:n}=t;return t.mount=o=>{const i=Wm(o);if(!i)return;const r=t._component;!xe(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const l=n(i,!1,Km(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t};function Km(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Wm(e){return Ye(e)?document.querySelector(e):e}function qt(e,t,n,o){return Object.defineProperty(e,t,{get:n,set:o,enumerable:!0}),e}function Qm(e,t){for(const n in t)qt(e,n,t[n]);return e}const Rn=ue(!1);let Wl;function Gm(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[4]||n[2]||"0",platform:t[0]||""}}function Jm(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const Mf="ontouchstart"in window||window.navigator.maxTouchPoints>0;function Xm(e){const t=e.toLowerCase(),n=Jm(t),o=Gm(t,n),i={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};o.browser&&(i[o.browser]=!0,i.version=o.version,i.versionNumber=parseInt(o.version,10)),o.platform&&(i[o.platform]=!0);const r=i.android||i.ios||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"];if(r===!0||t.indexOf("mobile")!==-1?i.mobile=!0:i.desktop=!0,i["windows phone"]&&(i.winphone=!0,delete i["windows phone"]),i.edga||i.edgios||i.edg?(i.edge=!0,o.browser="edge"):i.crios?(i.chrome=!0,o.browser="chrome"):i.fxios&&(i.firefox=!0,o.browser="firefox"),(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i.vivaldi&&(o.browser="vivaldi",i.vivaldi=!0),(i.chrome||i.opr||i.safari||i.vivaldi||i.mobile===!0&&i.ios!==!0&&r!==!0)&&(i.webkit=!0),i.opr&&(o.browser="opera",i.opera=!0),i.safari&&(i.blackberry||i.bb?(o.browser="blackberry",i.blackberry=!0):i.playbook?(o.browser="playbook",i.playbook=!0):i.android?(o.browser="android",i.android=!0):i.kindle?(o.browser="kindle",i.kindle=!0):i.silk&&(o.browser="silk",i.silk=!0)),i.name=o.browser,i.platform=o.platform,t.indexOf("electron")!==-1)i.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)i.bex=!0;else{if(window.Capacitor!==void 0?(i.capacitor=!0,i.nativeMobile=!0,i.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(i.cordova=!0,i.nativeMobile=!0,i.nativeMobileWrapper="cordova"),Rn.value===!0&&(Wl={is:{...i}}),Mf===!0&&i.mac===!0&&(i.desktop===!0&&i.safari===!0||i.nativeMobile===!0&&i.android!==!0&&i.ios!==!0&&i.ipad!==!0)){delete i.mac,delete i.desktop;const l=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(i,{mobile:!0,ios:!0,platform:l,[l]:!0})}i.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete i.desktop,i.mobile=!0)}return i}const Ka=navigator.userAgent||navigator.vendor||window.opera,Ym={has:{touch:!1,webStorage:!1},within:{iframe:!1}},ot={userAgent:Ka,is:Xm(Ka),has:{touch:Mf},within:{iframe:window.self!==window.top}},er={install(e){const{$q:t}=e;Rn.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,ot),Rn.value=!1}),t.platform=Ao(this)):t.platform=this}};{let e;qt(ot.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(er,ot),Rn.value===!0&&(Object.assign(er,Wl,Ym),Wl=null)}function Pe(e){return Po(Ts(e))}function Df(e){return Po(e)}const Or=(e,t)=>{const n=Ao(e);for(const o in e)qt(t,o,()=>n[o],i=>{n[o]=i});return t},ct={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(ct,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function Eo(){}function Ff(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function Zm(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),n.tagName==="HTML")return t.push(document),t.push(window),t;n=n.parentElement}}function nn(e){e.stopPropagation()}function Ut(e){e.cancelable!==!1&&e.preventDefault()}function Qe(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function ci(e,t,n){const o=`__q_${t}_evt`;e[o]=e[o]!==void 0?e[o].concat(n):n,n.forEach(i=>{i[0].addEventListener(i[1],e[i[2]],ct[i[3]])})}function tr(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(o=>{o[0].removeEventListener(o[1],e[o[2]],ct[o[3]])}),e[n]=void 0)}function Ls(e,t=250,n){let o=null;function i(){const r=arguments,l=()=>{o=null,e.apply(this,r)};o!==null&&clearTimeout(o),o=setTimeout(l,t)}return i.cancel=()=>{o!==null&&clearTimeout(o)},i}const fl=["sm","md","lg","xl"],{passive:Wa}=ct,ev=Or({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:Eo,setDebounce:Eo,install({$q:e,onSSRHydrated:t}){if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:n}=window,o=n||window,i=document.scrollingElement||document.documentElement,r=n===void 0||ot.is.mobile===!0?()=>[Math.max(window.innerWidth,i.clientWidth),Math.max(window.innerHeight,i.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-i.clientWidth,n.height*n.scale+window.innerHeight-i.clientHeight],l=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=f=>{const[d,h]=r();if(h!==this.height&&(this.height=h),d!==this.width)this.width=d;else if(f!==!0)return;let g=this.sizes;this.gt.xs=d>=g.sm,this.gt.sm=d>=g.md,this.gt.md=d>=g.lg,this.gt.lg=d>=g.xl,this.lt.sm=d<g.sm,this.lt.md=d<g.md,this.lt.lg=d<g.lg,this.lt.xl=d<g.xl,this.xs=this.lt.sm,this.sm=this.gt.xs===!0&&this.lt.md===!0,this.md=this.gt.sm===!0&&this.lt.lg===!0,this.lg=this.gt.md===!0&&this.lt.xl===!0,this.xl=this.gt.lg,g=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",g!==this.name&&(l===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${g}`)),this.name=g)};let s,a={},c=16;this.setSizes=f=>{fl.forEach(d=>{f[d]!==void 0&&(a[d]=f[d])})},this.setDebounce=f=>{c=f};const u=()=>{const f=getComputedStyle(document.body);f.getPropertyValue("--q-size-sm")&&fl.forEach(d=>{this.sizes[d]=parseInt(f.getPropertyValue(`--q-size-${d}`),10)}),this.setSizes=d=>{fl.forEach(h=>{d[h]&&(this.sizes[h]=d[h])}),this.__update(!0)},this.setDebounce=d=>{s!==void 0&&o.removeEventListener("resize",s,Wa),s=d>0?Ls(this.__update,d):this.__update,o.addEventListener("resize",s,Wa)},this.setDebounce(c),Object.keys(a).length!==0?(this.setSizes(a),a=void 0):this.__update(),l===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};Rn.value===!0?t.push(u):u()}}),ht=Or({isActive:!1,mode:!1},{__media:void 0,set(e){ht.mode=e,e==="auto"?(ht.__media===void 0&&(ht.__media=window.matchMedia("(prefers-color-scheme: dark)"),ht.__updateMedia=()=>{ht.set("auto")},ht.__media.addListener(ht.__updateMedia)),e=ht.__media.matches):ht.__media!==void 0&&(ht.__media.removeListener(ht.__updateMedia),ht.__media=void 0),ht.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){ht.set(ht.isActive===!1)},install({$q:e,ssrContext:t}){const{dark:n}=e.config;e.dark=this,this.__installed!==!0&&this.set(n!==void 0?n:!1)}});function tv(e,t,n=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}let Bf=!1;function nv(e){Bf=e.isComposing===!0}function Lr(e){return Bf===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function mn(e,t){return Lr(e)===!0?!1:[].concat(t).includes(e.keyCode)}function $f(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function ov({is:e,has:t,within:n},o){const i=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const r=$f(e);r!==void 0&&i.push("platform-"+r)}if(e.nativeMobile===!0){const r=e.nativeMobileWrapper;i.push(r),i.push("native-mobile"),e.ios===!0&&(o[r]===void 0||o[r].iosStatusBarPadding!==!1)&&i.push("q-ios-padding")}else e.electron===!0?i.push("electron"):e.bex===!0&&i.push("bex");return n.iframe===!0&&i.push("within-iframe"),i}function iv(){const{is:e}=ot,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(e.mobile===!0){n.delete("desktop"),n.add("mobile"),n.delete("platform-ios"),n.delete("platform-android");const i=$f(e);i!==void 0&&n.add(`platform-${i}`)}}ot.has.touch===!0&&(n.delete("no-touch"),n.add("touch")),ot.within.iframe===!0&&n.add("within-iframe");const o=Array.from(n).join(" ");t!==o&&(document.body.className=o)}function rv(e){for(const t in e)tv(t,e[t])}const lv={install(e){if(this.__installed!==!0){if(Rn.value===!0)iv();else{const{$q:t}=e;t.config.brand!==void 0&&rv(t.config.brand);const n=ov(ot,t.config);document.body.classList.add.apply(document.body.classList,n)}ot.is.ios===!0&&document.body.addEventListener("touchstart",Eo),window.addEventListener("keydown",nv,!0)}}},Nf=()=>!0;function sv(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function av(e){return e.startsWith("#")===!0&&(e=e.substring(1)),e.startsWith("/")===!1&&(e="/"+e),e.endsWith("/")===!0&&(e=e.substring(0,e.length-1)),"#"+e}function uv(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Nf;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(sv).map(av)),()=>t.includes(window.location.hash)}const fi={__history:[],add:Eo,remove:Eo,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:n}=ot.is;if(t!==!0&&n!==!0)return;const o=e.config[t===!0?"cordova":"capacitor"];if(o!==void 0&&o.backButton===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=l=>{l.condition===void 0&&(l.condition=Nf),this.__history.push(l)},this.remove=l=>{const s=this.__history.indexOf(l);s>=0&&this.__history.splice(s,1)};const i=uv(Object.assign({backButtonExit:!0},o)),r=()=>{if(this.__history.length){const l=this.__history[this.__history.length-1];l.condition()===!0&&(this.__history.pop(),l.handler())}else i()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",r,!1)}):window.Capacitor.Plugins.App.addListener("backButton",r)}},Qa={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function Ga(){const e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,n)=>n===0?t.toLowerCase():n>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}const Cn=Or({__qLang:{}},{getLocale:Ga,set(e=Qa,t){const n={...e,rtl:e.rtl===!0,getLocale:Ga};{if(n.set=Cn.set,Cn.__langConfig===void 0||Cn.__langConfig.noHtmlAttrs!==!0){const o=document.documentElement;o.setAttribute("dir",n.rtl===!0?"rtl":"ltr"),o.setAttribute("lang",n.isoName)}Object.assign(Cn.__qLang,n)}},install({$q:e,lang:t,ssrContext:n}){e.lang=Cn.__qLang,Cn.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(i=>i!=="set"&&i!=="getLocale")}}),this.set(t||Qa))}}),cv={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}},nr=Or({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};n.set=nr.set,Object.assign(nr.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,qt(e,"iconMapFn",()=>this.iconMapFn,o=>{this.iconMapFn=o}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(i=>i!=="set")}}),this.set(t||cv))}}),fv="_q_",dv="_q_l_",hv="_q_pc_",gv="_q_fo_";function co(){}const or={};let Vf=!1;function mv(){Vf=!0}function En(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,o;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(En(e[o],t[o])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let r=e.entries();for(o=r.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=r.next()}for(r=e.entries(),o=r.next();o.done!==!0;){if(En(o.value[1],t.get(o.value[0]))!==!0)return!1;o=r.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const r=e.entries();for(o=r.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=r.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const i=Object.keys(e).filter(r=>e[r]!==void 0);if(n=i.length,n!==Object.keys(t).filter(r=>t[r]!==void 0).length)return!1;for(o=n;o--!==0;){const r=i[o];if(En(e[r],t[r])!==!0)return!1}return!0}return e!==e&&t!==t}function $t(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function Ja(e){return Object.prototype.toString.call(e)==="[object Date]"}function Ql(e){return typeof e=="number"&&isFinite(e)}const Xa=[er,lv,ht,ev,fi,Cn,nr];function If(e,t){const n=Lf(e);n.config.globalProperties=t.config.globalProperties;const{reload:o,...i}=t._context;return Object.assign(n._context,i),n}function Ya(e,t){t.forEach(n=>{n.install(e),n.__installed=!0})}function vv(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(fv,n.$q),Ya(n,Xa),t.components!==void 0&&Object.values(t.components).forEach(o=>{$t(o)===!0&&o.name!==void 0&&e.component(o.name,o)}),t.directives!==void 0&&Object.values(t.directives).forEach(o=>{$t(o)===!0&&o.name!==void 0&&e.directive(o.name,o)}),t.plugins!==void 0&&Ya(n,Object.values(t.plugins).filter(o=>typeof o.install=="function"&&Xa.includes(o)===!1)),Rn.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(o=>{o()}),n.$q.onSSRHydrated=()=>{}})}const pv=function(e,t={}){const n={version:"2.17.5"};Vf===!1?(t.config!==void 0&&Object.assign(or,t.config),n.config={...or},mv()):n.config=t.config||{},vv(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},bv={name:"Quasar",version:"2.17.5",install:pv,lang:Cn,iconSet:nr},yv={__name:"App",setup(e){return(t,n)=>{const o=_g("router-view");return je(),ut(o)}}},Ms=e=>e,w_=Ms,wv=Ms,_v=Ms;var Sv=!1;/*!
18
18
  * pinia v2.3.0
19
19
  * (c) 2024 Eduardo San Martin Morote
20
20
  * @license MIT
21
- */const xv=Symbol();var Za;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Za||(Za={}));function Cv(){const e=Dh(!0),t=e.run(()=>ae({}));let n=[],o=[];const i=Po({install(r){i._a=r,r.provide(xv,i),r.config.globalProperties.$pinia=i,o.forEach(l=>n.push(l)),o=[]},use(r){return!this._a&&!_v?o.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const dl=Sv(()=>Cv());/*!
21
+ */const xv=Symbol();var Za;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Za||(Za={}));function Cv(){const e=Dh(!0),t=e.run(()=>ue({}));let n=[],o=[];const i=Po({install(r){i._a=r,r.provide(xv,i),r.config.globalProperties.$pinia=i,o.forEach(l=>n.push(l)),o=[]},use(r){return!this._a&&!Sv?o.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const dl=_v(()=>Cv());/*!
22
22
  * vue-router v4.5.0
23
23
  * (c) 2024 Eduardo San Martin Morote
24
24
  * @license MIT
25
- */const vo=typeof document<"u";function jf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function kv(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&jf(e.default)}const Le=Object.assign;function hl(e,t){const n={};for(const o in t){const i=t[o];n[o]=Qt(i)?i.map(e):e(i)}return n}const ei=()=>{},Qt=Array.isArray,Hf=/#/g,Ev=/&/g,Tv=/\//g,qv=/=/g,Rv=/\?/g,zf=/\+/g,Av=/%5B/g,Pv=/%5D/g,Uf=/%5E/g,Ov=/%60/g,Kf=/%7B/g,Lv=/%7C/g,Wf=/%7D/g,Mv=/%20/g;function Ds(e){return encodeURI(""+e).replace(Lv,"|").replace(Av,"[").replace(Pv,"]")}function Dv(e){return Ds(e).replace(Kf,"{").replace(Wf,"}").replace(Uf,"^")}function Gl(e){return Ds(e).replace(zf,"%2B").replace(Mv,"+").replace(Hf,"%23").replace(Ev,"%26").replace(Ov,"`").replace(Kf,"{").replace(Wf,"}").replace(Uf,"^")}function Fv(e){return Gl(e).replace(qv,"%3D")}function Bv(e){return Ds(e).replace(Hf,"%23").replace(Rv,"%3F")}function $v(e){return e==null?"":Bv(e).replace(Tv,"%2F")}function di(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Nv=/\/$/,Vv=e=>e.replace(Nv,"");function gl(e,t,n="/"){let o,i={},r="",l="";const s=t.indexOf("#");let a=t.indexOf("?");return s<a&&s>=0&&(a=-1),a>-1&&(o=t.slice(0,a),r=t.slice(a+1,s>-1?s:t.length),i=e(r)),s>-1&&(o=o||t.slice(0,s),l=t.slice(s,t.length)),o=zv(o??t,n),{fullPath:o+(r&&"?")+r+l,path:o,query:i,hash:di(l)}}function Iv(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function eu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function jv(e,t,n){const o=t.matched.length-1,i=n.matched.length-1;return o>-1&&o===i&&To(t.matched[o],n.matched[i])&&Qf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function To(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Qf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Hv(e[n],t[n]))return!1;return!0}function Hv(e,t){return Qt(e)?tu(e,t):Qt(t)?tu(t,e):e===t}function tu(e,t){return Qt(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function zv(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),i=o[o.length-1];(i===".."||i===".")&&o.push("");let r=n.length-1,l,s;for(l=0;l<o.length;l++)if(s=o[l],s!==".")if(s==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+o.slice(l).join("/")}const yn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var hi;(function(e){e.pop="pop",e.push="push"})(hi||(hi={}));var ti;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ti||(ti={}));function Uv(e){if(!e)if(vo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Vv(e)}const Kv=/^[^#]+#/;function Wv(e,t){return e.replace(Kv,"#")+t}function Qv(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Mr=()=>({left:window.scrollX,top:window.scrollY});function Gv(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Qv(i,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 nu(e,t){return(history.state?history.state.position-t:-1)+e}const Jl=new Map;function Jv(e,t){Jl.set(e,t)}function Xv(e){const t=Jl.get(e);return Jl.delete(e),t}let Yv=()=>location.protocol+"//"+location.host;function Gf(e,t){const{pathname:n,search:o,hash:i}=t,r=e.indexOf("#");if(r>-1){let s=i.includes(e.slice(r))?e.slice(r).length:1,a=i.slice(s);return a[0]!=="/"&&(a="/"+a),eu(a,"")}return eu(n,e)+o+i}function Zv(e,t,n,o){let i=[],r=[],l=null;const s=({state:d})=>{const h=Gf(e,location),g=n.value,p=t.value;let v=0;if(d){if(n.value=h,t.value=d,l&&l===g){l=null;return}v=p?d.position-p.position:0}else o(h);i.forEach(q=>{q(n.value,g,{delta:v,type:hi.pop,direction:v?v>0?ti.forward:ti.back:ti.unknown})})};function a(){l=n.value}function c(d){i.push(d);const h=()=>{const g=i.indexOf(d);g>-1&&i.splice(g,1)};return r.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(Le({},d.state,{scroll:Mr()}),"")}function f(){for(const d of r)d();r=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:f}}function ou(e,t,n,o=!1,i=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:i?Mr():null}}function ep(e){const{history:t,location:n}=window,o={value:Gf(e,n)},i={value:t.state};i.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:Yv()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function l(a,c){const u=Le({},t.state,ou(i.value.back,a,i.value.forward,!0),c,{position:i.value.position});r(a,u,!0),o.value=a}function s(a,c){const u=Le({},i.value,t.state,{forward:a,scroll:Mr()});r(u.current,u,!0);const f=Le({},ou(o.value,a,null),{position:u.position+1},c);r(a,f,!1),o.value=a}return{location:o,state:i,push:s,replace:l}}function tp(e){e=Uv(e);const t=ep(e),n=Zv(e,t.state,t.location,t.replace);function o(r,l=!0){l||n.pauseListeners(),history.go(r)}const i=Le({location:"",base:e,go:o,createHref:Wv.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function np(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),tp(e)}function op(e){return typeof e=="string"||e&&typeof e=="object"}function Jf(e){return typeof e=="string"||typeof e=="symbol"}const Xf=Symbol("");var iu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(iu||(iu={}));function qo(e,t){return Le(new Error,{type:e,[Xf]:!0},t)}function cn(e,t){return e instanceof Error&&Xf in e&&(t==null||!!(e.type&t))}const ru="[^/]+?",ip={sensitive:!1,strict:!1,start:!0,end:!0},rp=/[.+*?^${}()[\]/\\]/g;function lp(e,t){const n=Le({},ip,t),o=[];let i=n.start?"^":"";const r=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(i+="/"),i+=d.value.replace(rp,"\\$&"),h+=40;else if(d.type===1){const{value:g,repeatable:p,optional:v,regexp:q}=d;r.push({name:g,repeatable:p,optional:v});const _=q||ru;if(_!==ru){h+=10;try{new RegExp(`(${_})`)}catch(T){throw new Error(`Invalid custom RegExp for param "${g}" (${_}): `+T.message)}}let E=p?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(E=v&&c.length<2?`(?:/${E})`:"/"+E),v&&(E+="?"),i+=E,h+=20,v&&(h+=-8),p&&(h+=-20),_===".*"&&(h+=-50)}u.push(h)}o.push(u)}if(n.strict&&n.end){const c=o.length-1;o[c][o[c].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const l=new RegExp(i,n.sensitive?"":"i");function s(c){const u=c.match(l),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",g=r[d-1];f[g.name]=h&&g.repeatable?h.split("/"):h}return f}function a(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:g,repeatable:p,optional:v}=h,q=g in c?c[g]:"";if(Qt(q)&&!p)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const _=Qt(q)?q.join("/"):q;if(!_)if(v)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${g}"`);u+=_}}return u||"/"}return{re:l,score:o,keys:r,parse:s,stringify:a}}function sp(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;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 Yf(e,t){let n=0;const o=e.score,i=t.score;for(;n<o.length&&n<i.length;){const r=sp(o[n],i[n]);if(r)return r;n++}if(Math.abs(i.length-o.length)===1){if(lu(o))return 1;if(lu(i))return-1}return i.length-o.length}function lu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ap={type:0,value:""},up=/[a-zA-Z0-9_]/;function cp(e){if(!e)return[[]];if(e==="/")return[[ap]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,o=n;const i=[];let r;function l(){r&&i.push(r),r=[]}let s=0,a,c="",u="";function f(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;s<e.length;){if(a=e[s++],a==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:a==="/"?(c&&f(),l()):a===":"?(f(),n=1):d();break;case 4:d(),n=o;break;case 1:a==="("?n=2:up.test(a)?d():(f(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&s--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:f(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&s--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),l(),i}function fp(e,t,n){const o=lp(cp(e.path),n),i=Le(o,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function dp(e,t){const n=[],o=new Map;t=cu({strict:!1,end:!0,sensitive:!1},t);function i(f){return o.get(f)}function r(f,d,h){const g=!h,p=au(f);p.aliasOf=h&&h.record;const v=cu(t,f),q=[p];if("alias"in f){const T=typeof f.alias=="string"?[f.alias]:f.alias;for(const M of T)q.push(au(Le({},p,{components:h?h.record.components:p.components,path:M,aliasOf:h?h.record:p})))}let _,E;for(const T of q){const{path:M}=T;if(d&&M[0]!=="/"){const I=d.record.path,W=I[I.length-1]==="/"?"":"/";T.path=d.record.path+(M&&W+M)}if(_=fp(T,d,v),h?h.alias.push(_):(E=E||_,E!==_&&E.alias.push(_),g&&f.name&&!uu(_)&&l(f.name)),Zf(_)&&a(_),p.children){const I=p.children;for(let W=0;W<I.length;W++)r(I[W],_,h&&h.children[W])}h=h||_}return E?()=>{l(E)}:ei}function l(f){if(Jf(f)){const d=o.get(f);d&&(o.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&o.delete(f.record.name),f.children.forEach(l),f.alias.forEach(l))}}function s(){return n}function a(f){const d=mp(f,n);n.splice(d,0,f),f.record.name&&!uu(f)&&o.set(f.record.name,f)}function c(f,d){let h,g={},p,v;if("name"in f&&f.name){if(h=o.get(f.name),!h)throw qo(1,{location:f});v=h.record.name,g=Le(su(d.params,h.keys.filter(E=>!E.optional).concat(h.parent?h.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),f.params&&su(f.params,h.keys.map(E=>E.name))),p=h.stringify(g)}else if(f.path!=null)p=f.path,h=n.find(E=>E.re.test(p)),h&&(g=h.parse(p),v=h.record.name);else{if(h=d.name?o.get(d.name):n.find(E=>E.re.test(d.path)),!h)throw qo(1,{location:f,currentLocation:d});v=h.record.name,g=Le({},d.params,f.params),p=h.stringify(g)}const q=[];let _=h;for(;_;)q.unshift(_.record),_=_.parent;return{name:v,path:p,params:g,matched:q,meta:gp(q)}}e.forEach(f=>r(f));function u(){n.length=0,o.clear()}return{addRoute:r,resolve:c,removeRoute:l,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function su(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function au(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:hp(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 hp(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function uu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function gp(e){return e.reduce((t,n)=>Le(t,n.meta),{})}function cu(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function mp(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;Yf(e,t[r])<0?o=r:n=r+1}const i=vp(e);return i&&(o=t.lastIndexOf(i,o-1)),o}function vp(e){let t=e;for(;t=t.parent;)if(Zf(t)&&Yf(e,t)===0)return t}function Zf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function pp(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<o.length;++i){const r=o[i].replace(zf," "),l=r.indexOf("="),s=di(l<0?r:r.slice(0,l)),a=l<0?null:di(r.slice(l+1));if(s in t){let c=t[s];Qt(c)||(c=t[s]=[c]),c.push(a)}else t[s]=a}return t}function fu(e){let t="";for(let n in e){const o=e[n];if(n=Fv(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(Qt(o)?o.map(r=>r&&Gl(r)):[o&&Gl(o)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function bp(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Qt(o)?o.map(i=>i==null?null:""+i):o==null?o:""+o)}return t}const yp=Symbol(""),du=Symbol(""),Fs=Symbol(""),ed=Symbol(""),Xl=Symbol("");function No(){let e=[];function t(o){return e.push(o),()=>{const i=e.indexOf(o);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function kn(e,t,n,o,i,r=l=>l()){const l=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise((s,a)=>{const c=d=>{d===!1?a(qo(4,{from:n,to:t})):d instanceof Error?a(d):op(d)?a(qo(2,{from:t,to:d})):(l&&o.enterCallbacks[i]===l&&typeof d=="function"&&l.push(d),s())},u=r(()=>e.call(o&&o.instances[i],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>a(d))})}function ml(e,t,n,o,i=r=>r()){const r=[];for(const l of e)for(const s in l.components){let a=l.components[s];if(!(t!=="beforeRouteEnter"&&!l.instances[s]))if(jf(a)){const u=(a.__vccOpts||a)[t];u&&r.push(kn(u,n,o,l,s,i))}else{let c=a();r.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${s}" at "${l.path}"`);const f=kv(u)?u.default:u;l.mods[s]=u,l.components[s]=f;const h=(f.__vccOpts||f)[t];return h&&kn(h,n,o,l,s,i)()}))}}return r}function hu(e){const t=Nt(Fs),n=Nt(ed),o=y(()=>{const a=Kn(e.to);return t.resolve(a)}),i=y(()=>{const{matched:a}=o.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(To.bind(null,u));if(d>-1)return d;const h=gu(a[c-2]);return c>1&&gu(u)===h&&f[f.length-1].path!==h?f.findIndex(To.bind(null,a[c-2])):d}),r=y(()=>i.value>-1&&Cp(n.params,o.value.params)),l=y(()=>i.value>-1&&i.value===n.matched.length-1&&Qf(n.params,o.value.params));function s(a={}){if(xp(a)){const c=t[Kn(e.replace)?"replace":"push"](Kn(e.to)).catch(ei);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:o,href:y(()=>o.value.href),isActive:r,isExactActive:l,navigate:s}}function wp(e){return e.length===1?e[0]:e}const Sp=Ts({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"}},useLink:hu,setup(e,{slots:t}){const n=Ao(hu(e)),{options:o}=Nt(Fs),i=y(()=>({[mu(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[mu(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&wp(t.default(n));return e.custom?r:b("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),_p=Sp;function xp(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 Cp(e,t){for(const n in t){const o=t[n],i=e[n];if(typeof o=="string"){if(o!==i)return!1}else if(!Qt(i)||i.length!==o.length||o.some((r,l)=>r!==i[l]))return!1}return!0}function gu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const mu=(e,t,n)=>e??t??n,kp=Ts({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Nt(Xl),i=y(()=>e.route||o.value),r=Nt(du,0),l=y(()=>{let c=Kn(r);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),s=y(()=>i.value.matched[l.value]);Fi(du,y(()=>l.value+1)),Fi(yp,s),Fi(Xl,i);const a=ae();return be(()=>[a.value,s.value,e.name],([c,u,f],[d,h,g])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!To(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,f=s.value,d=f&&f.components[u];if(!d)return vu(n.default,{Component:d,route:c});const h=f.props[u],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,v=b(d,Le({},g,t,{onVnodeUnmounted:q=>{q.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return vu(n.default,{Component:v,route:c})||v}}});function vu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ep=kp;function Tp(e){const t=dp(e.routes,e),n=e.parseQuery||pp,o=e.stringifyQuery||fu,i=e.history,r=No(),l=No(),s=No(),a=tg(yn);let c=yn;vo&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=hl.bind(null,x=>""+x),f=hl.bind(null,$v),d=hl.bind(null,di);function h(x,K){let O,Y;return Jf(x)?(O=t.getRecordMatcher(x),Y=K):Y=x,t.addRoute(Y,O)}function g(x){const K=t.getRecordMatcher(x);K&&t.removeRoute(K)}function p(){return t.getRoutes().map(x=>x.record)}function v(x){return!!t.getRecordMatcher(x)}function q(x,K){if(K=Le({},K||a.value),typeof x=="string"){const R=gl(n,x,K.path),j=t.resolve({path:R.path},K),z=i.createHref(R.fullPath);return Le(R,j,{params:d(j.params),hash:di(R.hash),redirectedFrom:void 0,href:z})}let O;if(x.path!=null)O=Le({},x,{path:gl(n,x.path,K.path).path});else{const R=Le({},x.params);for(const j in R)R[j]==null&&delete R[j];O=Le({},x,{params:f(R)}),K.params=f(K.params)}const Y=t.resolve(O,K),Se=x.hash||"";Y.params=u(d(Y.params));const w=Iv(o,Le({},x,{hash:Dv(Se),path:Y.path})),S=i.createHref(w);return Le({fullPath:w,hash:Se,query:o===fu?bp(x.query):x.query||{}},Y,{redirectedFrom:void 0,href:S})}function _(x){return typeof x=="string"?gl(n,x,a.value.path):Le({},x)}function E(x,K){if(c!==x)return qo(8,{from:K,to:x})}function T(x){return W(x)}function M(x){return T(Le(_(x),{replace:!0}))}function I(x){const K=x.matched[x.matched.length-1];if(K&&K.redirect){const{redirect:O}=K;let Y=typeof O=="function"?O(x):O;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=_(Y):{path:Y},Y.params={}),Le({query:x.query,hash:x.hash,params:Y.path!=null?{}:x.params},Y)}}function W(x,K){const O=c=q(x),Y=a.value,Se=x.state,w=x.force,S=x.replace===!0,R=I(O);if(R)return W(Le(_(R),{state:typeof R=="object"?Le({},Se,R.state):Se,force:w,replace:S}),K||O);const j=O;j.redirectedFrom=K;let z;return!w&&jv(o,Y,O)&&(z=qo(16,{to:j,from:Y}),P(Y,Y,!0,!1)),(z?Promise.resolve(z):F(j,Y)).catch(B=>cn(B)?cn(B,2)?B:me(B):Q(B,j,Y)).then(B=>{if(B){if(cn(B,2))return W(Le({replace:S},_(B.to),{state:typeof B.to=="object"?Le({},Se,B.to.state):Se,force:w}),K||j)}else B=C(j,Y,!0,S,Se);return U(j,Y,B),B})}function Z(x,K){const O=E(x,K);return O?Promise.reject(O):Promise.resolve()}function A(x){const K=D.values().next().value;return K&&typeof K.runWithContext=="function"?K.runWithContext(x):x()}function F(x,K){let O;const[Y,Se,w]=qp(x,K);O=ml(Y.reverse(),"beforeRouteLeave",x,K);for(const R of Y)R.leaveGuards.forEach(j=>{O.push(kn(j,x,K))});const S=Z.bind(null,x,K);return O.push(S),L(O).then(()=>{O=[];for(const R of r.list())O.push(kn(R,x,K));return O.push(S),L(O)}).then(()=>{O=ml(Se,"beforeRouteUpdate",x,K);for(const R of Se)R.updateGuards.forEach(j=>{O.push(kn(j,x,K))});return O.push(S),L(O)}).then(()=>{O=[];for(const R of w)if(R.beforeEnter)if(Qt(R.beforeEnter))for(const j of R.beforeEnter)O.push(kn(j,x,K));else O.push(kn(R.beforeEnter,x,K));return O.push(S),L(O)}).then(()=>(x.matched.forEach(R=>R.enterCallbacks={}),O=ml(w,"beforeRouteEnter",x,K,A),O.push(S),L(O))).then(()=>{O=[];for(const R of l.list())O.push(kn(R,x,K));return O.push(S),L(O)}).catch(R=>cn(R,8)?R:Promise.reject(R))}function U(x,K,O){s.list().forEach(Y=>A(()=>Y(x,K,O)))}function C(x,K,O,Y,Se){const w=E(x,K);if(w)return w;const S=K===yn,R=vo?history.state:{};O&&(Y||S?i.replace(x.fullPath,Le({scroll:S&&R&&R.scroll},Se)):i.push(x.fullPath,Se)),a.value=x,P(x,K,O,S),me()}let J;function N(){J||(J=i.listen((x,K,O)=>{if(!ne.listening)return;const Y=q(x),Se=I(Y);if(Se){W(Le(Se,{replace:!0,force:!0}),Y).catch(ei);return}c=Y;const w=a.value;vo&&Jv(nu(w.fullPath,O.delta),Mr()),F(Y,w).catch(S=>cn(S,12)?S:cn(S,2)?(W(Le(_(S.to),{force:!0}),Y).then(R=>{cn(R,20)&&!O.delta&&O.type===hi.pop&&i.go(-1,!1)}).catch(ei),Promise.reject()):(O.delta&&i.go(-O.delta,!1),Q(S,Y,w))).then(S=>{S=S||C(Y,w,!1),S&&(O.delta&&!cn(S,8)?i.go(-O.delta,!1):O.type===hi.pop&&cn(S,20)&&i.go(-1,!1)),U(Y,w,S)}).catch(ei)}))}let ie=No(),ee=No(),re;function Q(x,K,O){me(x);const Y=ee.list();return Y.length?Y.forEach(Se=>Se(x,K,O)):console.error(x),Promise.reject(x)}function se(){return re&&a.value!==yn?Promise.resolve():new Promise((x,K)=>{ie.add([x,K])})}function me(x){return re||(re=!x,N(),ie.list().forEach(([K,O])=>x?O(x):K()),ie.reset()),x}function P(x,K,O,Y){const{scrollBehavior:Se}=e;if(!vo||!Se)return Promise.resolve();const w=!O&&Xv(nu(x.fullPath,0))||(Y||!O)&&history.state&&history.state.scroll||null;return He().then(()=>Se(x,K,w)).then(S=>S&&Gv(S)).catch(S=>Q(S,x,K))}const m=x=>i.go(x);let $;const D=new Set,ne={currentRoute:a,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:p,resolve:q,options:e,push:T,replace:M,go:m,back:()=>m(-1),forward:()=>m(1),beforeEach:r.add,beforeResolve:l.add,afterEach:s.add,onError:ee.add,isReady:se,install(x){const K=this;x.component("RouterLink",_p),x.component("RouterView",Ep),x.config.globalProperties.$router=K,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>Kn(a)}),vo&&!$&&a.value===yn&&($=!0,T(i.location).catch(Se=>{}));const O={};for(const Se in yn)Object.defineProperty(O,Se,{get:()=>a.value[Se],enumerable:!0});x.provide(Fs,K),x.provide(ed,Bc(O)),x.provide(Xl,a);const Y=x.unmount;D.add(x),x.unmount=function(){D.delete(x),D.size<1&&(c=yn,J&&J(),J=null,a.value=yn,$=!1,re=!1),Y()}}};function L(x){return x.reduce((K,O)=>K.then(()=>A(O)),Promise.resolve())}return ne}function qp(e,t){const n=[],o=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let l=0;l<r;l++){const s=t.matched[l];s&&(e.matched.find(c=>To(c,s))?o.push(s):n.push(s));const a=e.matched[l];a&&(t.matched.find(c=>To(c,a))||i.push(a))}return[n,o,i]}const Yl={xs:18,sm:24,md:32,lg:38,xl:46},no={size:String};function oo(e,t=Yl){return y(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function Ge(e,t){return e!==void 0&&e()||t}function td(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function Ut(e,t){return e!==void 0?t.concat(e()):t}function nd(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Rp(e,t,n,o,i,r){t.key=o+i;const l=b(e,t,n);return i===!0?xr(l,r()):l}const pu="0 0 24 24",bu=e=>e,vl=e=>`ionicons ${e}`,od={"mdi-":e=>`mdi ${e}`,"icon-":bu,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":vl,"ion-ios":vl,"ion-logo":vl,"iconfont ":bu,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},id={o_:"-outlined",r_:"-round",s_:"-sharp"},rd={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Ap=new RegExp("^("+Object.keys(od).join("|")+")"),Pp=new RegExp("^("+Object.keys(id).join("|")+")"),yu=new RegExp("^("+Object.keys(rd).join("|")+")"),Op=/^[Mm]\s?[-+]?\.?\d/,Lp=/^img:/,Mp=/^svguse:/,Dp=/^ion-/,Fp=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,lt=Ae({name:"QIcon",props:{...no,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=Re(),o=oo(e),i=y(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),r=y(()=>{let l,s=e.name;if(s==="none"||!s)return{none:!0};if(n.iconMapFn!==null){const u=n.iconMapFn(s);if(u!==void 0)if(u.icon!==void 0){if(s=u.icon,s==="none"||!s)return{none:!0}}else return{cls:u.cls,content:u.content!==void 0?u.content:" "}}if(Op.test(s)===!0){const[u,f=pu]=s.split("|");return{svg:!0,viewBox:f,nodes:u.split("&&").map(d=>{const[h,g,p]=d.split("@@");return b("path",{style:g,d:h,transform:p})})}}if(Lp.test(s)===!0)return{img:!0,src:s.substring(4)};if(Mp.test(s)===!0){const[u,f=pu]=s.split("|");return{svguse:!0,src:u.substring(7),viewBox:f}}let a=" ";const c=s.match(Ap);if(c!==null)l=od[c[1]](s);else if(Fp.test(s)===!0)l=s;else if(Dp.test(s)===!0)l=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(yu.test(s)===!0){l="notranslate material-symbols";const u=s.match(yu);u!==null&&(s=s.substring(6),l+=rd[u[1]]),a=s}else{l="notranslate material-icons";const u=s.match(Pp);u!==null&&(s=s.substring(2),l+=id[u[1]]),a=s}return{cls:l,content:a}});return()=>{const l={class:i.value,style:o.value,"aria-hidden":"true",role:"presentation"};return r.value.none===!0?b(e.tag,l,Ge(t.default)):r.value.img===!0?b(e.tag,l,Ut(t.default,[b("img",{src:r.value.src})])):r.value.svg===!0?b(e.tag,l,Ut(t.default,[b("svg",{viewBox:r.value.viewBox||"0 0 24 24"},r.value.nodes)])):r.value.svguse===!0?b(e.tag,l,Ut(t.default,[b("svg",{viewBox:r.value.viewBox},[b("use",{"xlink:href":r.value.src})])])):(r.value.cls!==void 0&&(l.class+=" "+r.value.cls),b(e.tag,l,Ut(t.default,[r.value.content])))}}}),Bp={size:{type:[String,Number],default:"1em"},color:String};function $p(e){return{cSize:y(()=>e.size in Yl?`${Yl[e.size]}px`:e.size),classes:y(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const vn=Ae({name:"QSpinner",props:{...Bp,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=$p(e);return()=>b("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[b("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Zl(e,t){const n=e.style;for(const o in t)n[o]=t[o]}function Np(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=Kn(e);if(t)return t.$el||t}function ld(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}function Vp(e,t=250){let n=!1,o;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),o=e.apply(this,arguments)),o}}function wu(e,t,n,o){n.modifiers.stop===!0&&nn(e);const i=n.modifiers.color;let r=n.modifiers.center;r=r===!0||o===!0;const l=document.createElement("span"),s=document.createElement("span"),a=Ff(e),{left:c,top:u,width:f,height:d}=t.getBoundingClientRect(),h=Math.sqrt(f*f+d*d),g=h/2,p=`${(f-h)/2}px`,v=r?p:`${a.left-c-g}px`,q=`${(d-h)/2}px`,_=r?q:`${a.top-u-g}px`;s.className="q-ripple__inner",Zl(s,{height:`${h}px`,width:`${h}px`,transform:`translate3d(${v},${_},0) scale3d(.2,.2,1)`,opacity:0}),l.className=`q-ripple${i?" text-"+i:""}`,l.setAttribute("dir","ltr"),l.appendChild(s),t.appendChild(l);const E=()=>{l.remove(),clearTimeout(T)};n.abort.push(E);let T=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${p},${q},0) scale3d(1,1,1)`,s.style.opacity=.2,T=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,T=setTimeout(()=>{l.remove(),n.abort.splice(n.abort.indexOf(E),1)},275)},250)},50)}function Su(e,{modifiers:t,value:n,arg:o}){const i=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:i.early===!0,stop:i.stop===!0,center:i.center===!0,color:i.color||o,keyCodes:[].concat(i.keyCodes||13)}}const sd=Df({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const o={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(i){o.enabled===!0&&i.qSkipRipple!==!0&&i.type===(o.modifiers.early===!0?"pointerdown":"click")&&wu(i,e,o,i.qKeyEvent===!0)},keystart:Vp(i=>{o.enabled===!0&&i.qSkipRipple!==!0&&mn(i,o.modifiers.keyCodes)===!0&&i.type===`key${o.modifiers.early===!0?"down":"up"}`&&wu(i,e,o,!0)},300)};Su(o,t),e.__qripple=o,ci(o,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;n!==void 0&&(n.enabled=t.value!==!1,n.enabled===!0&&Object(t.value)===t.value&&Su(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),tr(t,"main"),delete e._qripple)}}),ad={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Ip=Object.keys(ad),ud={align:{type:String,validator:e=>Ip.includes(e)}};function cd(e){return y(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${ad[t]}`})}function Ni(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function Bs(e){return e.appContext.config.globalProperties.$router!==void 0}function fd(e){return e.isUnmounted===!0||e.isDeactivated===!0}function _u(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function xu(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jp(e,t){for(const n in t){const o=t[n],i=e[n];if(typeof o=="string"){if(o!==i)return!1}else if(Array.isArray(i)===!1||i.length!==o.length||o.some((r,l)=>r!==i[l]))return!1}return!0}function Cu(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function Hp(e,t){return Array.isArray(e)===!0?Cu(e,t):Array.isArray(t)===!0?Cu(t,e):e===t}function zp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(Hp(e[n],t[n])===!1)return!1;return!0}const dd={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},Up={...dd,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function hd({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=Re(),{props:o,proxy:i,emit:r}=n,l=Bs(n),s=y(()=>o.disable!==!0&&o.href!==void 0),a=y(t===!0?()=>l===!0&&o.disable!==!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!=="":()=>l===!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""),c=y(()=>a.value===!0?_(o.to):null),u=y(()=>c.value!==null),f=y(()=>s.value===!0||u.value===!0),d=y(()=>o.type==="a"||f.value===!0?"a":o.tag||e||"div"),h=y(()=>s.value===!0?{href:o.href,target:o.target}:u.value===!0?{href:c.value.href,target:o.target}:{}),g=y(()=>{if(u.value===!1)return-1;const{matched:M}=c.value,{length:I}=M,W=M[I-1];if(W===void 0)return-1;const Z=i.$route.matched;if(Z.length===0)return-1;const A=Z.findIndex(xu.bind(null,W));if(A!==-1)return A;const F=_u(M[I-2]);return I>1&&_u(W)===F&&Z[Z.length-1].path!==F?Z.findIndex(xu.bind(null,M[I-2])):A}),p=y(()=>u.value===!0&&g.value!==-1&&jp(i.$route.params,c.value.params)),v=y(()=>p.value===!0&&g.value===i.$route.matched.length-1&&zp(i.$route.params,c.value.params)),q=y(()=>u.value===!0?v.value===!0?` ${o.exactActiveClass} ${o.activeClass}`:o.exact===!0?"":p.value===!0?` ${o.activeClass}`:"":"");function _(M){try{return i.$router.resolve(M)}catch{}return null}function E(M,{returnRouterError:I,to:W=o.to,replace:Z=o.replace}={}){if(o.disable===!0)return M.preventDefault(),Promise.resolve(!1);if(M.metaKey||M.altKey||M.ctrlKey||M.shiftKey||M.button!==void 0&&M.button!==0||o.target==="_blank")return Promise.resolve(!1);M.preventDefault();const A=i.$router[Z===!0?"replace":"push"](W);return I===!0?A:A.then(()=>{}).catch(()=>{})}function T(M){if(u.value===!0){const I=W=>E(M,W);r("click",M,I),M.defaultPrevented!==!0&&I()}else r("click",M)}return{hasRouterLink:u,hasHrefLink:s,hasLink:f,linkTag:d,resolvedLink:c,linkIsActive:p,linkIsExactActive:v,linkClass:q,linkAttrs:h,getLink:_,navigateToRouterLink:E,navigateOnClick:T}}const ku={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Kp={xs:8,sm:10,md:14,lg:20,xl:24},Wp=["button","submit","reset"],Qp=/[^\s]\/[^\s]/,Gp=["flat","outline","push","unelevated"];function Jp(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const Xp={...no,...dd,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Gp.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...ud.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},Yp={...Xp,round:Boolean};function Zp(e){const t=oo(e,Kp),n=cd(e),{hasRouterLink:o,hasLink:i,linkTag:r,linkAttrs:l,navigateOnClick:s}=hd({fallbackTag:"button"}),a=y(()=>{const v=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},v,{padding:e.padding.split(/\s+/).map(q=>q in ku?ku[q]+"px":q).join(" "),minWidth:"0",minHeight:"0"}):v}),c=y(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),u=y(()=>e.disable!==!0&&e.loading!==!0),f=y(()=>u.value===!0?e.tabindex||0:-1),d=y(()=>Jp(e,"standard")),h=y(()=>{const v={tabindex:f.value};return i.value===!0?Object.assign(v,l.value):Wp.includes(e.type)===!0&&(v.type=e.type),r.value==="a"?(e.disable===!0?v["aria-disabled"]="true":v.href===void 0&&(v.role="button"),o.value!==!0&&Qp.test(e.type)===!0&&(v.type=e.type)):e.disable===!0&&(v.disabled="",v["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(v,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),v}),g=y(()=>{let v;e.color!==void 0?e.flat===!0||e.outline===!0?v=`text-${e.textColor||e.color}`:v=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(v=`text-${e.textColor}`);const q=e.round===!0?"round":`rectangle${c.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${d.value} q-btn--${q}`+(v!==void 0?" "+v:"")+(u.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),p=y(()=>n.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:g,style:a,innerClasses:p,attributes:h,hasLink:i,linkTag:r,navigateOnClick:s,isActionable:u}}const{passiveCapture:Dt}=ct;let fo=null,ho=null,go=null;const Ze=Ae({name:"QBtn",props:{...Yp,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:o}=Re(),{classes:i,style:r,innerClasses:l,attributes:s,hasLink:a,linkTag:c,navigateOnClick:u,isActionable:f}=Zp(e),d=ae(null),h=ae(null);let g=null,p,v=null;const q=y(()=>e.label!==void 0&&e.label!==null&&e.label!==""),_=y(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:a.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),E=y(()=>({center:e.round})),T=y(()=>{const N=Math.max(0,Math.min(100,e.percentage));return N>0?{transition:"transform 0.6s",transform:`translateX(${N-100}%)`}:{}}),M=y(()=>{if(e.loading===!0)return{onMousedown:J,onTouchstart:J,onClick:J,onKeydown:J,onKeyup:J};if(f.value===!0){const N={onClick:W,onKeydown:Z,onMousedown:F};if(o.$q.platform.has.touch===!0){const ie=e.onTouchstart!==void 0?"":"Passive";N[`onTouchstart${ie}`]=A}return N}return{onClick:We}}),I=y(()=>({ref:d,class:"q-btn q-btn-item non-selectable no-outline "+i.value,style:r.value,...s.value,...M.value}));function W(N){if(d.value!==null){if(N!==void 0){if(N.defaultPrevented===!0)return;const ie=document.activeElement;if(e.type==="submit"&&ie!==document.body&&d.value.contains(ie)===!1&&ie.contains(d.value)===!1){d.value.focus();const ee=()=>{document.removeEventListener("keydown",We,!0),document.removeEventListener("keyup",ee,Dt),d.value!==null&&d.value.removeEventListener("blur",ee,Dt)};document.addEventListener("keydown",We,!0),document.addEventListener("keyup",ee,Dt),d.value.addEventListener("blur",ee,Dt)}}u(N)}}function Z(N){d.value!==null&&(n("keydown",N),mn(N,[13,32])===!0&&ho!==d.value&&(ho!==null&&C(),N.defaultPrevented!==!0&&(d.value.focus(),ho=d.value,d.value.classList.add("q-btn--active"),document.addEventListener("keyup",U,!0),d.value.addEventListener("blur",U,Dt)),We(N)))}function A(N){d.value!==null&&(n("touchstart",N),N.defaultPrevented!==!0&&(fo!==d.value&&(fo!==null&&C(),fo=d.value,g=N.target,g.addEventListener("touchcancel",U,Dt),g.addEventListener("touchend",U,Dt)),p=!0,v!==null&&clearTimeout(v),v=setTimeout(()=>{v=null,p=!1},200)))}function F(N){d.value!==null&&(N.qSkipRipple=p===!0,n("mousedown",N),N.defaultPrevented!==!0&&go!==d.value&&(go!==null&&C(),go=d.value,d.value.classList.add("q-btn--active"),document.addEventListener("mouseup",U,Dt)))}function U(N){if(d.value!==null&&!(N!==void 0&&N.type==="blur"&&document.activeElement===d.value)){if(N!==void 0&&N.type==="keyup"){if(ho===d.value&&mn(N,[13,32])===!0){const ie=new MouseEvent("click",N);ie.qKeyEvent=!0,N.defaultPrevented===!0&&zt(ie),N.cancelBubble===!0&&nn(ie),d.value.dispatchEvent(ie),We(N),N.qKeyEvent=!0}n("keyup",N)}C()}}function C(N){const ie=h.value;N!==!0&&(fo===d.value||go===d.value)&&ie!==null&&ie!==document.activeElement&&(ie.setAttribute("tabindex",-1),ie.focus()),fo===d.value&&(g!==null&&(g.removeEventListener("touchcancel",U,Dt),g.removeEventListener("touchend",U,Dt)),fo=g=null),go===d.value&&(document.removeEventListener("mouseup",U,Dt),go=null),ho===d.value&&(document.removeEventListener("keyup",U,!0),d.value!==null&&d.value.removeEventListener("blur",U,Dt),ho=null),d.value!==null&&d.value.classList.remove("q-btn--active")}function J(N){We(N),N.qSkipRipple=!0}return et(()=>{C(!0)}),Object.assign(o,{click:N=>{f.value===!0&&W(N)}}),()=>{let N=[];e.icon!==void 0&&N.push(b(lt,{name:e.icon,left:e.stack!==!0&&q.value===!0,role:"img"})),q.value===!0&&N.push(b("span",{class:"block"},[e.label])),N=Ut(t.default,N),e.iconRight!==void 0&&e.round===!1&&N.push(b(lt,{name:e.iconRight,right:e.stack!==!0&&q.value===!0,role:"img"}));const ie=[b("span",{class:"q-focus-helper",ref:h})];return e.loading===!0&&e.percentage!==void 0&&ie.push(b("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[b("span",{class:"q-btn__progress-indicator fit block",style:T.value})])),ie.push(b("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+l.value},N)),e.loading!==null&&ie.push(b(Zn,{name:"q-transition--fade"},()=>e.loading===!0?[b("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[b(vn)])]:null)),xr(b(c.value,I.value,ie),[[sd,_.value,void 0,E.value]])}}}),Dr=Ae({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:n}}=Re(),o=Nt(dv,co);if(o===co)return console.error("QPage needs to be a deep child of QLayout"),co;if(Nt(hv,co)===co)return console.error("QPage needs to be child of QPageContainer"),co;const r=y(()=>{const s=(o.header.space===!0?o.header.size:0)+(o.footer.space===!0?o.footer.size:0);if(typeof e.styleFn=="function"){const a=o.isContainer.value===!0?o.containerHeight.value:n.screen.height;return e.styleFn(s,a)}return{minHeight:o.isContainer.value===!0?o.containerHeight.value-s+"px":n.screen.height===0?s!==0?`calc(100vh - ${s}px)`:"100vh":n.screen.height-s+"px"}}),l=y(()=>`q-page${e.padding===!0?" q-layout-padding":""}`);return()=>b("main",{class:l.value,style:r.value},Ge(t.default))}});function gd(e,t){return function(){return e.apply(t,arguments)}}const{toString:eb}=Object.prototype,{getPrototypeOf:$s}=Object,Fr=(e=>t=>{const n=eb.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Gt=e=>(e=e.toLowerCase(),t=>Fr(t)===e),Br=e=>t=>typeof t===e,{isArray:Lo}=Array,gi=Br("undefined");function tb(e){return e!==null&&!gi(e)&&e.constructor!==null&&!gi(e.constructor)&&Lt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const md=Gt("ArrayBuffer");function nb(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&md(e.buffer),t}const ob=Br("string"),Lt=Br("function"),vd=Br("number"),$r=e=>e!==null&&typeof e=="object",ib=e=>e===!0||e===!1,Vi=e=>{if(Fr(e)!=="object")return!1;const t=$s(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},rb=Gt("Date"),lb=Gt("File"),sb=Gt("Blob"),ab=Gt("FileList"),ub=e=>$r(e)&&Lt(e.pipe),cb=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Lt(e.append)&&((t=Fr(e))==="formdata"||t==="object"&&Lt(e.toString)&&e.toString()==="[object FormData]"))},fb=Gt("URLSearchParams"),[db,hb,gb,mb]=["ReadableStream","Request","Response","Headers"].map(Gt),vb=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function yi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,i;if(typeof e!="object"&&(e=[e]),Lo(e))for(o=0,i=e.length;o<i;o++)t.call(null,e[o],o,e);else{const r=n?Object.getOwnPropertyNames(e):Object.keys(e),l=r.length;let s;for(o=0;o<l;o++)s=r[o],t.call(null,e[s],s,e)}}function pd(e,t){t=t.toLowerCase();const n=Object.keys(e);let o=n.length,i;for(;o-- >0;)if(i=n[o],t===i.toLowerCase())return i;return null}const Hn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,bd=e=>!gi(e)&&e!==Hn;function es(){const{caseless:e}=bd(this)&&this||{},t={},n=(o,i)=>{const r=e&&pd(t,i)||i;Vi(t[r])&&Vi(o)?t[r]=es(t[r],o):Vi(o)?t[r]=es({},o):Lo(o)?t[r]=o.slice():t[r]=o};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&yi(arguments[o],n);return t}const pb=(e,t,n,{allOwnKeys:o}={})=>(yi(t,(i,r)=>{n&&Lt(i)?e[r]=gd(i,n):e[r]=i},{allOwnKeys:o}),e),bb=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),yb=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},wb=(e,t,n,o)=>{let i,r,l;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),r=i.length;r-- >0;)l=i[r],(!o||o(l,e,t))&&!s[l]&&(t[l]=e[l],s[l]=!0);e=n!==!1&&$s(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Sb=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},_b=e=>{if(!e)return null;if(Lo(e))return e;let t=e.length;if(!vd(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},xb=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$s(Uint8Array)),Cb=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=o.next())&&!i.done;){const r=i.value;t.call(e,r[0],r[1])}},kb=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},Eb=Gt("HTMLFormElement"),Tb=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,i){return o.toUpperCase()+i}),Eu=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),qb=Gt("RegExp"),yd=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};yi(n,(i,r)=>{let l;(l=t(i,r,e))!==!1&&(o[r]=l||i)}),Object.defineProperties(e,o)},Rb=e=>{yd(e,(t,n)=>{if(Lt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(Lt(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Ab=(e,t)=>{const n={},o=i=>{i.forEach(r=>{n[r]=!0})};return Lo(e)?o(e):o(String(e).split(t)),n},Pb=()=>{},Ob=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,pl="abcdefghijklmnopqrstuvwxyz",Tu="0123456789",wd={DIGIT:Tu,ALPHA:pl,ALPHA_DIGIT:pl+pl.toUpperCase()+Tu},Lb=(e=16,t=wd.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function Mb(e){return!!(e&&Lt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Db=e=>{const t=new Array(10),n=(o,i)=>{if($r(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[i]=o;const r=Lo(o)?[]:{};return yi(o,(l,s)=>{const a=n(l,i+1);!gi(a)&&(r[s]=a)}),t[i]=void 0,r}}return o};return n(e,0)},Fb=Gt("AsyncFunction"),Bb=e=>e&&($r(e)||Lt(e))&&Lt(e.then)&&Lt(e.catch),Sd=((e,t)=>e?setImmediate:t?((n,o)=>(Hn.addEventListener("message",({source:i,data:r})=>{i===Hn&&r===n&&o.length&&o.shift()()},!1),i=>{o.push(i),Hn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Lt(Hn.postMessage)),$b=typeof queueMicrotask<"u"?queueMicrotask.bind(Hn):typeof process<"u"&&process.nextTick||Sd,V={isArray:Lo,isArrayBuffer:md,isBuffer:tb,isFormData:cb,isArrayBufferView:nb,isString:ob,isNumber:vd,isBoolean:ib,isObject:$r,isPlainObject:Vi,isReadableStream:db,isRequest:hb,isResponse:gb,isHeaders:mb,isUndefined:gi,isDate:rb,isFile:lb,isBlob:sb,isRegExp:qb,isFunction:Lt,isStream:ub,isURLSearchParams:fb,isTypedArray:xb,isFileList:ab,forEach:yi,merge:es,extend:pb,trim:vb,stripBOM:bb,inherits:yb,toFlatObject:wb,kindOf:Fr,kindOfTest:Gt,endsWith:Sb,toArray:_b,forEachEntry:Cb,matchAll:kb,isHTMLForm:Eb,hasOwnProperty:Eu,hasOwnProp:Eu,reduceDescriptors:yd,freezeMethods:Rb,toObjectSet:Ab,toCamelCase:Tb,noop:Pb,toFiniteNumber:Ob,findKey:pd,global:Hn,isContextDefined:bd,ALPHABET:wd,generateString:Lb,isSpecCompliantForm:Mb,toJSONObject:Db,isAsyncFn:Fb,isThenable:Bb,setImmediate:Sd,asap:$b};function xe(e,t,n,o,i){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),o&&(this.request=o),i&&(this.response=i,this.status=i.status?i.status:null)}V.inherits(xe,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:V.toJSONObject(this.config),code:this.code,status:this.status}}});const _d=xe.prototype,xd={};["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=>{xd[e]={value:e}});Object.defineProperties(xe,xd);Object.defineProperty(_d,"isAxiosError",{value:!0});xe.from=(e,t,n,o,i,r)=>{const l=Object.create(_d);return V.toFlatObject(e,l,function(a){return a!==Error.prototype},s=>s!=="isAxiosError"),xe.call(l,e.message,t,n,o,i),l.cause=e,l.name=e.name,r&&Object.assign(l,r),l};const Nb=null;function ts(e){return V.isPlainObject(e)||V.isArray(e)}function Cd(e){return V.endsWith(e,"[]")?e.slice(0,-2):e}function qu(e,t,n){return e?e.concat(t).map(function(i,r){return i=Cd(i),!n&&r?"["+i+"]":i}).join(n?".":""):t}function Vb(e){return V.isArray(e)&&!e.some(ts)}const Ib=V.toFlatObject(V,{},null,function(t){return/^is[A-Z]/.test(t)});function Nr(e,t,n){if(!V.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=V.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,v){return!V.isUndefined(v[p])});const o=n.metaTokens,i=n.visitor||u,r=n.dots,l=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&V.isSpecCompliantForm(t);if(!V.isFunction(i))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(V.isDate(g))return g.toISOString();if(!a&&V.isBlob(g))throw new xe("Blob is not supported. Use a Buffer instead.");return V.isArrayBuffer(g)||V.isTypedArray(g)?a&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,p,v){let q=g;if(g&&!v&&typeof g=="object"){if(V.endsWith(p,"{}"))p=o?p:p.slice(0,-2),g=JSON.stringify(g);else if(V.isArray(g)&&Vb(g)||(V.isFileList(g)||V.endsWith(p,"[]"))&&(q=V.toArray(g)))return p=Cd(p),q.forEach(function(E,T){!(V.isUndefined(E)||E===null)&&t.append(l===!0?qu([p],T,r):l===null?p:p+"[]",c(E))}),!1}return ts(g)?!0:(t.append(qu(v,p,r),c(g)),!1)}const f=[],d=Object.assign(Ib,{defaultVisitor:u,convertValue:c,isVisitable:ts});function h(g,p){if(!V.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));f.push(g),V.forEach(g,function(q,_){(!(V.isUndefined(q)||q===null)&&i.call(t,q,V.isString(_)?_.trim():_,p,d))===!0&&h(q,p?p.concat(_):[_])}),f.pop()}}if(!V.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Ru(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Ns(e,t){this._pairs=[],e&&Nr(e,this,t)}const kd=Ns.prototype;kd.append=function(t,n){this._pairs.push([t,n])};kd.toString=function(t){const n=t?function(o){return t.call(this,o,Ru)}:Ru;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function jb(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ed(e,t,n){if(!t)return e;const o=n&&n.encode||jb;V.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let r;if(i?r=i(t,n):r=V.isURLSearchParams(t)?t.toString():new Ns(t,n).toString(o),r){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}class Au{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){V.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Td={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Hb=typeof URLSearchParams<"u"?URLSearchParams:Ns,zb=typeof FormData<"u"?FormData:null,Ub=typeof Blob<"u"?Blob:null,Kb={isBrowser:!0,classes:{URLSearchParams:Hb,FormData:zb,Blob:Ub},protocols:["http","https","file","blob","url","data"]},Vs=typeof window<"u"&&typeof document<"u",ns=typeof navigator=="object"&&navigator||void 0,Wb=Vs&&(!ns||["ReactNative","NativeScript","NS"].indexOf(ns.product)<0),Qb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gb=Vs&&window.location.href||"http://localhost",Jb=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Vs,hasStandardBrowserEnv:Wb,hasStandardBrowserWebWorkerEnv:Qb,navigator:ns,origin:Gb},Symbol.toStringTag,{value:"Module"})),bt={...Jb,...Kb};function Xb(e,t){return Nr(e,new bt.classes.URLSearchParams,Object.assign({visitor:function(n,o,i,r){return bt.isNode&&V.isBuffer(n)?(this.append(o,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function Yb(e){return V.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Zb(e){const t={},n=Object.keys(e);let o;const i=n.length;let r;for(o=0;o<i;o++)r=n[o],t[r]=e[r];return t}function qd(e){function t(n,o,i,r){let l=n[r++];if(l==="__proto__")return!0;const s=Number.isFinite(+l),a=r>=n.length;return l=!l&&V.isArray(i)?i.length:l,a?(V.hasOwnProp(i,l)?i[l]=[i[l],o]:i[l]=o,!s):((!i[l]||!V.isObject(i[l]))&&(i[l]=[]),t(n,o,i[l],r)&&V.isArray(i[l])&&(i[l]=Zb(i[l])),!s)}if(V.isFormData(e)&&V.isFunction(e.entries)){const n={};return V.forEachEntry(e,(o,i)=>{t(Yb(o),i,n,0)}),n}return null}function ey(e,t,n){if(V.isString(e))try{return(t||JSON.parse)(e),V.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(0,JSON.stringify)(e)}const wi={transitional:Td,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",i=o.indexOf("application/json")>-1,r=V.isObject(t);if(r&&V.isHTMLForm(t)&&(t=new FormData(t)),V.isFormData(t))return i?JSON.stringify(qd(t)):t;if(V.isArrayBuffer(t)||V.isBuffer(t)||V.isStream(t)||V.isFile(t)||V.isBlob(t)||V.isReadableStream(t))return t;if(V.isArrayBufferView(t))return t.buffer;if(V.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(r){if(o.indexOf("application/x-www-form-urlencoded")>-1)return Xb(t,this.formSerializer).toString();if((s=V.isFileList(t))||o.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Nr(s?{"files[]":t}:t,a&&new a,this.formSerializer)}}return r||i?(n.setContentType("application/json",!1),ey(t)):t}],transformResponse:[function(t){const n=this.transitional||wi.transitional,o=n&&n.forcedJSONParsing,i=this.responseType==="json";if(V.isResponse(t)||V.isReadableStream(t))return t;if(t&&V.isString(t)&&(o&&!this.responseType||i)){const l=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(l)throw s.name==="SyntaxError"?xe.from(s,xe.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bt.classes.FormData,Blob:bt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};V.forEach(["delete","get","head","post","put","patch"],e=>{wi.headers[e]={}});const ty=V.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"]),ny=e=>{const t={};let n,o,i;return e&&e.split(`
26
- `).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),o=l.substring(i+1).trim(),!(!n||t[n]&&ty[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Pu=Symbol("internals");function Vo(e){return e&&String(e).trim().toLowerCase()}function Ii(e){return e===!1||e==null?e:V.isArray(e)?e.map(Ii):String(e)}function oy(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const iy=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function bl(e,t,n,o,i){if(V.isFunction(o))return o.call(this,t,n);if(i&&(t=n),!!V.isString(t)){if(V.isString(o))return t.indexOf(o)!==-1;if(V.isRegExp(o))return o.test(t)}}function ry(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function ly(e,t){const n=V.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(i,r,l){return this[o].call(this,t,i,r,l)},configurable:!0})})}class Rt{constructor(t){t&&this.set(t)}set(t,n,o){const i=this;function r(s,a,c){const u=Vo(a);if(!u)throw new Error("header name must be a non-empty string");const f=V.findKey(i,u);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||a]=Ii(s))}const l=(s,a)=>V.forEach(s,(c,u)=>r(c,u,a));if(V.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if(V.isString(t)&&(t=t.trim())&&!iy(t))l(ny(t),n);else if(V.isHeaders(t))for(const[s,a]of t.entries())r(a,s,o);else t!=null&&r(n,t,o);return this}get(t,n){if(t=Vo(t),t){const o=V.findKey(this,t);if(o){const i=this[o];if(!n)return i;if(n===!0)return oy(i);if(V.isFunction(n))return n.call(this,i,o);if(V.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Vo(t),t){const o=V.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||bl(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let i=!1;function r(l){if(l=Vo(l),l){const s=V.findKey(o,l);s&&(!n||bl(o,o[s],s,n))&&(delete o[s],i=!0)}}return V.isArray(t)?t.forEach(r):r(t),i}clear(t){const n=Object.keys(this);let o=n.length,i=!1;for(;o--;){const r=n[o];(!t||bl(this,this[r],r,t,!0))&&(delete this[r],i=!0)}return i}normalize(t){const n=this,o={};return V.forEach(this,(i,r)=>{const l=V.findKey(o,r);if(l){n[l]=Ii(i),delete n[r];return}const s=t?ry(r):String(r).trim();s!==r&&delete n[r],n[s]=Ii(i),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return V.forEach(this,(o,i)=>{o!=null&&o!==!1&&(n[i]=t&&V.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
27
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(i=>o.set(i)),o}static accessor(t){const o=(this[Pu]=this[Pu]={accessors:{}}).accessors,i=this.prototype;function r(l){const s=Vo(l);o[s]||(ly(i,l),o[s]=!0)}return V.isArray(t)?t.forEach(r):r(t),this}}Rt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);V.reduceDescriptors(Rt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});V.freezeMethods(Rt);function yl(e,t){const n=this||wi,o=t||n,i=Rt.from(o.headers);let r=o.data;return V.forEach(e,function(s){r=s.call(n,r,i.normalize(),t?t.status:void 0)}),i.normalize(),r}function Rd(e){return!!(e&&e.__CANCEL__)}function Mo(e,t,n){xe.call(this,e??"canceled",xe.ERR_CANCELED,t,n),this.name="CanceledError"}V.inherits(Mo,xe,{__CANCEL__:!0});function Ad(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new xe("Request failed with status code "+n.status,[xe.ERR_BAD_REQUEST,xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function sy(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ay(e,t){e=e||10;const n=new Array(e),o=new Array(e);let i=0,r=0,l;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=o[r];l||(l=c),n[i]=a,o[i]=c;let f=r,d=0;for(;f!==i;)d+=n[f++],f=f%e;if(i=(i+1)%e,i===r&&(r=(r+1)%e),c-l<t)return;const h=u&&c-u;return h?Math.round(d*1e3/h):void 0}}function uy(e,t){let n=0,o=1e3/t,i,r;const l=(c,u=Date.now())=>{n=u,i=null,r&&(clearTimeout(r),r=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),f=u-n;f>=o?l(c,u):(i=c,r||(r=setTimeout(()=>{r=null,l(i)},o-f)))},()=>i&&l(i)]}const ir=(e,t,n=3)=>{let o=0;const i=ay(50,250);return uy(r=>{const l=r.loaded,s=r.lengthComputable?r.total:void 0,a=l-o,c=i(a),u=l<=s;o=l;const f={loaded:l,total:s,progress:s?l/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&u?(s-l)/c:void 0,event:r,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},Ou=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},Lu=e=>(...t)=>V.asap(()=>e(...t)),cy=bt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,bt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(bt.origin),bt.navigator&&/(msie|trident)/i.test(bt.navigator.userAgent)):()=>!0,fy=bt.hasStandardBrowserEnv?{write(e,t,n,o,i,r){const l=[e+"="+encodeURIComponent(t)];V.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),V.isString(o)&&l.push("path="+o),V.isString(i)&&l.push("domain="+i),r===!0&&l.push("secure"),document.cookie=l.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 dy(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function hy(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Pd(e,t){return e&&!dy(t)?hy(e,t):t}const Mu=e=>e instanceof Rt?{...e}:e;function eo(e,t){t=t||{};const n={};function o(c,u,f,d){return V.isPlainObject(c)&&V.isPlainObject(u)?V.merge.call({caseless:d},c,u):V.isPlainObject(u)?V.merge({},u):V.isArray(u)?u.slice():u}function i(c,u,f,d){if(V.isUndefined(u)){if(!V.isUndefined(c))return o(void 0,c,f,d)}else return o(c,u,f,d)}function r(c,u){if(!V.isUndefined(u))return o(void 0,u)}function l(c,u){if(V.isUndefined(u)){if(!V.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function s(c,u,f){if(f in t)return o(c,u);if(f in e)return o(void 0,c)}const a={url:r,method:r,data:r,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:s,headers:(c,u,f)=>i(Mu(c),Mu(u),f,!0)};return V.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=a[u]||i,d=f(e[u],t[u],u);V.isUndefined(d)&&f!==s||(n[u]=d)}),n}const Od=e=>{const t=eo({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:r,headers:l,auth:s}=t;t.headers=l=Rt.from(l),t.url=Ed(Pd(t.baseURL,t.url),e.params,e.paramsSerializer),s&&l.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let a;if(V.isFormData(n)){if(bt.hasStandardBrowserEnv||bt.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((a=l.getContentType())!==!1){const[c,...u]=a?a.split(";").map(f=>f.trim()).filter(Boolean):[];l.setContentType([c||"multipart/form-data",...u].join("; "))}}if(bt.hasStandardBrowserEnv&&(o&&V.isFunction(o)&&(o=o(t)),o||o!==!1&&cy(t.url))){const c=i&&r&&fy.read(r);c&&l.set(i,c)}return t},gy=typeof XMLHttpRequest<"u",my=gy&&function(e){return new Promise(function(n,o){const i=Od(e);let r=i.data;const l=Rt.from(i.headers).normalize();let{responseType:s,onUploadProgress:a,onDownloadProgress:c}=i,u,f,d,h,g;function p(){h&&h(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(i.method.toUpperCase(),i.url,!0),v.timeout=i.timeout;function q(){if(!v)return;const E=Rt.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),M={data:!s||s==="text"||s==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:E,config:e,request:v};Ad(function(W){n(W),p()},function(W){o(W),p()},M),v=null}"onloadend"in v?v.onloadend=q:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(q)},v.onabort=function(){v&&(o(new xe("Request aborted",xe.ECONNABORTED,e,v)),v=null)},v.onerror=function(){o(new xe("Network Error",xe.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const M=i.transitional||Td;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),o(new xe(T,M.clarifyTimeoutError?xe.ETIMEDOUT:xe.ECONNABORTED,e,v)),v=null},r===void 0&&l.setContentType(null),"setRequestHeader"in v&&V.forEach(l.toJSON(),function(T,M){v.setRequestHeader(M,T)}),V.isUndefined(i.withCredentials)||(v.withCredentials=!!i.withCredentials),s&&s!=="json"&&(v.responseType=i.responseType),c&&([d,g]=ir(c,!0),v.addEventListener("progress",d)),a&&v.upload&&([f,h]=ir(a),v.upload.addEventListener("progress",f),v.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(u=E=>{v&&(o(!E||E.type?new Mo(null,e,v):E),v.abort(),v=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const _=sy(i.url);if(_&&bt.protocols.indexOf(_)===-1){o(new xe("Unsupported protocol "+_+":",xe.ERR_BAD_REQUEST,e));return}v.send(r||null)})},vy=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,i;const r=function(c){if(!i){i=!0,s();const u=c instanceof Error?c:this.reason;o.abort(u instanceof xe?u:new Mo(u instanceof Error?u.message:u))}};let l=t&&setTimeout(()=>{l=null,r(new xe(`timeout ${t} of ms exceeded`,xe.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(r):c.removeEventListener("abort",r)}),e=null)};e.forEach(c=>c.addEventListener("abort",r));const{signal:a}=o;return a.unsubscribe=()=>V.asap(s),a}},py=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0,i;for(;o<n;)i=o+t,yield e.slice(o,i),o=i},by=async function*(e,t){for await(const n of yy(e))yield*py(n,t)},yy=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:o}=await t.read();if(n)break;yield o}}finally{await t.cancel()}},Du=(e,t,n,o)=>{const i=by(e,t);let r=0,l,s=a=>{l||(l=!0,o&&o(a))};return new ReadableStream({async pull(a){try{const{done:c,value:u}=await i.next();if(c){s(),a.close();return}let f=u.byteLength;if(n){let d=r+=f;n(d)}a.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(a){return s(a),i.return()}},{highWaterMark:2})},Vr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ld=Vr&&typeof ReadableStream=="function",wy=Vr&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Md=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Sy=Ld&&Md(()=>{let e=!1;const t=new Request(bt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Fu=64*1024,os=Ld&&Md(()=>V.isReadableStream(new Response("").body)),rr={stream:os&&(e=>e.body)};Vr&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!rr[t]&&(rr[t]=V.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new xe(`Response type '${t}' is not supported`,xe.ERR_NOT_SUPPORT,o)})})})(new Response);const _y=async e=>{if(e==null)return 0;if(V.isBlob(e))return e.size;if(V.isSpecCompliantForm(e))return(await new Request(bt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(V.isArrayBufferView(e)||V.isArrayBuffer(e))return e.byteLength;if(V.isURLSearchParams(e)&&(e=e+""),V.isString(e))return(await wy(e)).byteLength},xy=async(e,t)=>{const n=V.toFiniteNumber(e.getContentLength());return n??_y(t)},Cy=Vr&&(async e=>{let{url:t,method:n,data:o,signal:i,cancelToken:r,timeout:l,onDownloadProgress:s,onUploadProgress:a,responseType:c,headers:u,withCredentials:f="same-origin",fetchOptions:d}=Od(e);c=c?(c+"").toLowerCase():"text";let h=vy([i,r&&r.toAbortSignal()],l),g;const p=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let v;try{if(a&&Sy&&n!=="get"&&n!=="head"&&(v=await xy(u,o))!==0){let M=new Request(t,{method:"POST",body:o,duplex:"half"}),I;if(V.isFormData(o)&&(I=M.headers.get("content-type"))&&u.setContentType(I),M.body){const[W,Z]=Ou(v,ir(Lu(a)));o=Du(M.body,Fu,W,Z)}}V.isString(f)||(f=f?"include":"omit");const q="credentials"in Request.prototype;g=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:q?f:void 0});let _=await fetch(g);const E=os&&(c==="stream"||c==="response");if(os&&(s||E&&p)){const M={};["status","statusText","headers"].forEach(A=>{M[A]=_[A]});const I=V.toFiniteNumber(_.headers.get("content-length")),[W,Z]=s&&Ou(I,ir(Lu(s),!0))||[];_=new Response(Du(_.body,Fu,W,()=>{Z&&Z(),p&&p()}),M)}c=c||"text";let T=await rr[V.findKey(rr,c)||"text"](_,e);return!E&&p&&p(),await new Promise((M,I)=>{Ad(M,I,{data:T,headers:Rt.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:g})})}catch(q){throw p&&p(),q&&q.name==="TypeError"&&/fetch/i.test(q.message)?Object.assign(new xe("Network Error",xe.ERR_NETWORK,e,g),{cause:q.cause||q}):xe.from(q,q&&q.code,e,g)}}),is={http:Nb,xhr:my,fetch:Cy};V.forEach(is,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Bu=e=>`- ${e}`,ky=e=>V.isFunction(e)||e===null||e===!1,Dd={getAdapter:e=>{e=V.isArray(e)?e:[e];const{length:t}=e;let n,o;const i={};for(let r=0;r<t;r++){n=e[r];let l;if(o=n,!ky(n)&&(o=is[(l=String(n)).toLowerCase()],o===void 0))throw new xe(`Unknown adapter '${l}'`);if(o)break;i[l||"#"+r]=o}if(!o){const r=Object.entries(i).map(([s,a])=>`adapter ${s} `+(a===!1?"is not supported by the environment":"is not available in the build"));let l=t?r.length>1?`since :
25
+ */const vo=typeof document<"u";function jf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function kv(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&jf(e.default)}const Me=Object.assign;function hl(e,t){const n={};for(const o in t){const i=t[o];n[o]=Gt(i)?i.map(e):e(i)}return n}const ei=()=>{},Gt=Array.isArray,Hf=/#/g,Ev=/&/g,Tv=/\//g,qv=/=/g,Rv=/\?/g,zf=/\+/g,Av=/%5B/g,Pv=/%5D/g,Uf=/%5E/g,Ov=/%60/g,Kf=/%7B/g,Lv=/%7C/g,Wf=/%7D/g,Mv=/%20/g;function Ds(e){return encodeURI(""+e).replace(Lv,"|").replace(Av,"[").replace(Pv,"]")}function Dv(e){return Ds(e).replace(Kf,"{").replace(Wf,"}").replace(Uf,"^")}function Gl(e){return Ds(e).replace(zf,"%2B").replace(Mv,"+").replace(Hf,"%23").replace(Ev,"%26").replace(Ov,"`").replace(Kf,"{").replace(Wf,"}").replace(Uf,"^")}function Fv(e){return Gl(e).replace(qv,"%3D")}function Bv(e){return Ds(e).replace(Hf,"%23").replace(Rv,"%3F")}function $v(e){return e==null?"":Bv(e).replace(Tv,"%2F")}function di(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Nv=/\/$/,Vv=e=>e.replace(Nv,"");function gl(e,t,n="/"){let o,i={},r="",l="";const s=t.indexOf("#");let a=t.indexOf("?");return s<a&&s>=0&&(a=-1),a>-1&&(o=t.slice(0,a),r=t.slice(a+1,s>-1?s:t.length),i=e(r)),s>-1&&(o=o||t.slice(0,s),l=t.slice(s,t.length)),o=zv(o??t,n),{fullPath:o+(r&&"?")+r+l,path:o,query:i,hash:di(l)}}function Iv(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function eu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function jv(e,t,n){const o=t.matched.length-1,i=n.matched.length-1;return o>-1&&o===i&&To(t.matched[o],n.matched[i])&&Qf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function To(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Qf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Hv(e[n],t[n]))return!1;return!0}function Hv(e,t){return Gt(e)?tu(e,t):Gt(t)?tu(t,e):e===t}function tu(e,t){return Gt(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function zv(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),i=o[o.length-1];(i===".."||i===".")&&o.push("");let r=n.length-1,l,s;for(l=0;l<o.length;l++)if(s=o[l],s!==".")if(s==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+o.slice(l).join("/")}const yn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var hi;(function(e){e.pop="pop",e.push="push"})(hi||(hi={}));var ti;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ti||(ti={}));function Uv(e){if(!e)if(vo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Vv(e)}const Kv=/^[^#]+#/;function Wv(e,t){return e.replace(Kv,"#")+t}function Qv(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Mr=()=>({left:window.scrollX,top:window.scrollY});function Gv(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Qv(i,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 nu(e,t){return(history.state?history.state.position-t:-1)+e}const Jl=new Map;function Jv(e,t){Jl.set(e,t)}function Xv(e){const t=Jl.get(e);return Jl.delete(e),t}let Yv=()=>location.protocol+"//"+location.host;function Gf(e,t){const{pathname:n,search:o,hash:i}=t,r=e.indexOf("#");if(r>-1){let s=i.includes(e.slice(r))?e.slice(r).length:1,a=i.slice(s);return a[0]!=="/"&&(a="/"+a),eu(a,"")}return eu(n,e)+o+i}function Zv(e,t,n,o){let i=[],r=[],l=null;const s=({state:d})=>{const h=Gf(e,location),g=n.value,p=t.value;let v=0;if(d){if(n.value=h,t.value=d,l&&l===g){l=null;return}v=p?d.position-p.position:0}else o(h);i.forEach(q=>{q(n.value,g,{delta:v,type:hi.pop,direction:v?v>0?ti.forward:ti.back:ti.unknown})})};function a(){l=n.value}function c(d){i.push(d);const h=()=>{const g=i.indexOf(d);g>-1&&i.splice(g,1)};return r.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(Me({},d.state,{scroll:Mr()}),"")}function f(){for(const d of r)d();r=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:f}}function ou(e,t,n,o=!1,i=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:i?Mr():null}}function ep(e){const{history:t,location:n}=window,o={value:Gf(e,n)},i={value:t.state};i.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:Yv()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function l(a,c){const u=Me({},t.state,ou(i.value.back,a,i.value.forward,!0),c,{position:i.value.position});r(a,u,!0),o.value=a}function s(a,c){const u=Me({},i.value,t.state,{forward:a,scroll:Mr()});r(u.current,u,!0);const f=Me({},ou(o.value,a,null),{position:u.position+1},c);r(a,f,!1),o.value=a}return{location:o,state:i,push:s,replace:l}}function tp(e){e=Uv(e);const t=ep(e),n=Zv(e,t.state,t.location,t.replace);function o(r,l=!0){l||n.pauseListeners(),history.go(r)}const i=Me({location:"",base:e,go:o,createHref:Wv.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function np(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),tp(e)}function op(e){return typeof e=="string"||e&&typeof e=="object"}function Jf(e){return typeof e=="string"||typeof e=="symbol"}const Xf=Symbol("");var iu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(iu||(iu={}));function qo(e,t){return Me(new Error,{type:e,[Xf]:!0},t)}function cn(e,t){return e instanceof Error&&Xf in e&&(t==null||!!(e.type&t))}const ru="[^/]+?",ip={sensitive:!1,strict:!1,start:!0,end:!0},rp=/[.+*?^${}()[\]/\\]/g;function lp(e,t){const n=Me({},ip,t),o=[];let i=n.start?"^":"";const r=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(i+="/"),i+=d.value.replace(rp,"\\$&"),h+=40;else if(d.type===1){const{value:g,repeatable:p,optional:v,regexp:q}=d;r.push({name:g,repeatable:p,optional:v});const S=q||ru;if(S!==ru){h+=10;try{new RegExp(`(${S})`)}catch(T){throw new Error(`Invalid custom RegExp for param "${g}" (${S}): `+T.message)}}let E=p?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;f||(E=v&&c.length<2?`(?:/${E})`:"/"+E),v&&(E+="?"),i+=E,h+=20,v&&(h+=-8),p&&(h+=-20),S===".*"&&(h+=-50)}u.push(h)}o.push(u)}if(n.strict&&n.end){const c=o.length-1;o[c][o[c].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const l=new RegExp(i,n.sensitive?"":"i");function s(c){const u=c.match(l),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",g=r[d-1];f[g.name]=h&&g.repeatable?h.split("/"):h}return f}function a(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:g,repeatable:p,optional:v}=h,q=g in c?c[g]:"";if(Gt(q)&&!p)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const S=Gt(q)?q.join("/"):q;if(!S)if(v)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${g}"`);u+=S}}return u||"/"}return{re:l,score:o,keys:r,parse:s,stringify:a}}function sp(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;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 Yf(e,t){let n=0;const o=e.score,i=t.score;for(;n<o.length&&n<i.length;){const r=sp(o[n],i[n]);if(r)return r;n++}if(Math.abs(i.length-o.length)===1){if(lu(o))return 1;if(lu(i))return-1}return i.length-o.length}function lu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ap={type:0,value:""},up=/[a-zA-Z0-9_]/;function cp(e){if(!e)return[[]];if(e==="/")return[[ap]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,o=n;const i=[];let r;function l(){r&&i.push(r),r=[]}let s=0,a,c="",u="";function f(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;s<e.length;){if(a=e[s++],a==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:a==="/"?(c&&f(),l()):a===":"?(f(),n=1):d();break;case 4:d(),n=o;break;case 1:a==="("?n=2:up.test(a)?d():(f(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&s--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:f(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&s--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),l(),i}function fp(e,t,n){const o=lp(cp(e.path),n),i=Me(o,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function dp(e,t){const n=[],o=new Map;t=cu({strict:!1,end:!0,sensitive:!1},t);function i(f){return o.get(f)}function r(f,d,h){const g=!h,p=au(f);p.aliasOf=h&&h.record;const v=cu(t,f),q=[p];if("alias"in f){const T=typeof f.alias=="string"?[f.alias]:f.alias;for(const M of T)q.push(au(Me({},p,{components:h?h.record.components:p.components,path:M,aliasOf:h?h.record:p})))}let S,E;for(const T of q){const{path:M}=T;if(d&&M[0]!=="/"){const I=d.record.path,W=I[I.length-1]==="/"?"":"/";T.path=d.record.path+(M&&W+M)}if(S=fp(T,d,v),h?h.alias.push(S):(E=E||S,E!==S&&E.alias.push(S),g&&f.name&&!uu(S)&&l(f.name)),Zf(S)&&a(S),p.children){const I=p.children;for(let W=0;W<I.length;W++)r(I[W],S,h&&h.children[W])}h=h||S}return E?()=>{l(E)}:ei}function l(f){if(Jf(f)){const d=o.get(f);d&&(o.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&o.delete(f.record.name),f.children.forEach(l),f.alias.forEach(l))}}function s(){return n}function a(f){const d=mp(f,n);n.splice(d,0,f),f.record.name&&!uu(f)&&o.set(f.record.name,f)}function c(f,d){let h,g={},p,v;if("name"in f&&f.name){if(h=o.get(f.name),!h)throw qo(1,{location:f});v=h.record.name,g=Me(su(d.params,h.keys.filter(E=>!E.optional).concat(h.parent?h.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),f.params&&su(f.params,h.keys.map(E=>E.name))),p=h.stringify(g)}else if(f.path!=null)p=f.path,h=n.find(E=>E.re.test(p)),h&&(g=h.parse(p),v=h.record.name);else{if(h=d.name?o.get(d.name):n.find(E=>E.re.test(d.path)),!h)throw qo(1,{location:f,currentLocation:d});v=h.record.name,g=Me({},d.params,f.params),p=h.stringify(g)}const q=[];let S=h;for(;S;)q.unshift(S.record),S=S.parent;return{name:v,path:p,params:g,matched:q,meta:gp(q)}}e.forEach(f=>r(f));function u(){n.length=0,o.clear()}return{addRoute:r,resolve:c,removeRoute:l,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function su(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function au(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:hp(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 hp(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function uu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function gp(e){return e.reduce((t,n)=>Me(t,n.meta),{})}function cu(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function mp(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;Yf(e,t[r])<0?o=r:n=r+1}const i=vp(e);return i&&(o=t.lastIndexOf(i,o-1)),o}function vp(e){let t=e;for(;t=t.parent;)if(Zf(t)&&Yf(e,t)===0)return t}function Zf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function pp(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<o.length;++i){const r=o[i].replace(zf," "),l=r.indexOf("="),s=di(l<0?r:r.slice(0,l)),a=l<0?null:di(r.slice(l+1));if(s in t){let c=t[s];Gt(c)||(c=t[s]=[c]),c.push(a)}else t[s]=a}return t}function fu(e){let t="";for(let n in e){const o=e[n];if(n=Fv(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(Gt(o)?o.map(r=>r&&Gl(r)):[o&&Gl(o)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function bp(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Gt(o)?o.map(i=>i==null?null:""+i):o==null?o:""+o)}return t}const yp=Symbol(""),du=Symbol(""),Fs=Symbol(""),ed=Symbol(""),Xl=Symbol("");function No(){let e=[];function t(o){return e.push(o),()=>{const i=e.indexOf(o);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function kn(e,t,n,o,i,r=l=>l()){const l=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise((s,a)=>{const c=d=>{d===!1?a(qo(4,{from:n,to:t})):d instanceof Error?a(d):op(d)?a(qo(2,{from:t,to:d})):(l&&o.enterCallbacks[i]===l&&typeof d=="function"&&l.push(d),s())},u=r(()=>e.call(o&&o.instances[i],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>a(d))})}function ml(e,t,n,o,i=r=>r()){const r=[];for(const l of e)for(const s in l.components){let a=l.components[s];if(!(t!=="beforeRouteEnter"&&!l.instances[s]))if(jf(a)){const u=(a.__vccOpts||a)[t];u&&r.push(kn(u,n,o,l,s,i))}else{let c=a();r.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${s}" at "${l.path}"`);const f=kv(u)?u.default:u;l.mods[s]=u,l.components[s]=f;const h=(f.__vccOpts||f)[t];return h&&kn(h,n,o,l,s,i)()}))}}return r}function hu(e){const t=Vt(Fs),n=Vt(ed),o=y(()=>{const a=Kn(e.to);return t.resolve(a)}),i=y(()=>{const{matched:a}=o.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(To.bind(null,u));if(d>-1)return d;const h=gu(a[c-2]);return c>1&&gu(u)===h&&f[f.length-1].path!==h?f.findIndex(To.bind(null,a[c-2])):d}),r=y(()=>i.value>-1&&Cp(n.params,o.value.params)),l=y(()=>i.value>-1&&i.value===n.matched.length-1&&Qf(n.params,o.value.params));function s(a={}){if(xp(a)){const c=t[Kn(e.replace)?"replace":"push"](Kn(e.to)).catch(ei);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:o,href:y(()=>o.value.href),isActive:r,isExactActive:l,navigate:s}}function wp(e){return e.length===1?e[0]:e}const _p=Ts({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"}},useLink:hu,setup(e,{slots:t}){const n=Ao(hu(e)),{options:o}=Vt(Fs),i=y(()=>({[mu(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[mu(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&wp(t.default(n));return e.custom?r:b("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),Sp=_p;function xp(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 Cp(e,t){for(const n in t){const o=t[n],i=e[n];if(typeof o=="string"){if(o!==i)return!1}else if(!Gt(i)||i.length!==o.length||o.some((r,l)=>r!==i[l]))return!1}return!0}function gu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const mu=(e,t,n)=>e??t??n,kp=Ts({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Vt(Xl),i=y(()=>e.route||o.value),r=Vt(du,0),l=y(()=>{let c=Kn(r);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),s=y(()=>i.value.matched[l.value]);Fi(du,y(()=>l.value+1)),Fi(yp,s),Fi(Xl,i);const a=ue();return be(()=>[a.value,s.value,e.name],([c,u,f],[d,h,g])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!To(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,f=s.value,d=f&&f.components[u];if(!d)return vu(n.default,{Component:d,route:c});const h=f.props[u],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,v=b(d,Me({},g,t,{onVnodeUnmounted:q=>{q.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return vu(n.default,{Component:v,route:c})||v}}});function vu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ep=kp;function Tp(e){const t=dp(e.routes,e),n=e.parseQuery||pp,o=e.stringifyQuery||fu,i=e.history,r=No(),l=No(),s=No(),a=tg(yn);let c=yn;vo&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=hl.bind(null,x=>""+x),f=hl.bind(null,$v),d=hl.bind(null,di);function h(x,K){let O,Y;return Jf(x)?(O=t.getRecordMatcher(x),Y=K):Y=x,t.addRoute(Y,O)}function g(x){const K=t.getRecordMatcher(x);K&&t.removeRoute(K)}function p(){return t.getRoutes().map(x=>x.record)}function v(x){return!!t.getRecordMatcher(x)}function q(x,K){if(K=Me({},K||a.value),typeof x=="string"){const R=gl(n,x,K.path),j=t.resolve({path:R.path},K),z=i.createHref(R.fullPath);return Me(R,j,{params:d(j.params),hash:di(R.hash),redirectedFrom:void 0,href:z})}let O;if(x.path!=null)O=Me({},x,{path:gl(n,x.path,K.path).path});else{const R=Me({},x.params);for(const j in R)R[j]==null&&delete R[j];O=Me({},x,{params:f(R)}),K.params=f(K.params)}const Y=t.resolve(O,K),Se=x.hash||"";Y.params=u(d(Y.params));const w=Iv(o,Me({},x,{hash:Dv(Se),path:Y.path})),_=i.createHref(w);return Me({fullPath:w,hash:Se,query:o===fu?bp(x.query):x.query||{}},Y,{redirectedFrom:void 0,href:_})}function S(x){return typeof x=="string"?gl(n,x,a.value.path):Me({},x)}function E(x,K){if(c!==x)return qo(8,{from:K,to:x})}function T(x){return W(x)}function M(x){return T(Me(S(x),{replace:!0}))}function I(x){const K=x.matched[x.matched.length-1];if(K&&K.redirect){const{redirect:O}=K;let Y=typeof O=="function"?O(x):O;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=S(Y):{path:Y},Y.params={}),Me({query:x.query,hash:x.hash,params:Y.path!=null?{}:x.params},Y)}}function W(x,K){const O=c=q(x),Y=a.value,Se=x.state,w=x.force,_=x.replace===!0,R=I(O);if(R)return W(Me(S(R),{state:typeof R=="object"?Me({},Se,R.state):Se,force:w,replace:_}),K||O);const j=O;j.redirectedFrom=K;let z;return!w&&jv(o,Y,O)&&(z=qo(16,{to:j,from:Y}),P(Y,Y,!0,!1)),(z?Promise.resolve(z):F(j,Y)).catch(B=>cn(B)?cn(B,2)?B:me(B):Q(B,j,Y)).then(B=>{if(B){if(cn(B,2))return W(Me({replace:_},S(B.to),{state:typeof B.to=="object"?Me({},Se,B.to.state):Se,force:w}),K||j)}else B=C(j,Y,!0,_,Se);return U(j,Y,B),B})}function Z(x,K){const O=E(x,K);return O?Promise.reject(O):Promise.resolve()}function A(x){const K=D.values().next().value;return K&&typeof K.runWithContext=="function"?K.runWithContext(x):x()}function F(x,K){let O;const[Y,Se,w]=qp(x,K);O=ml(Y.reverse(),"beforeRouteLeave",x,K);for(const R of Y)R.leaveGuards.forEach(j=>{O.push(kn(j,x,K))});const _=Z.bind(null,x,K);return O.push(_),L(O).then(()=>{O=[];for(const R of r.list())O.push(kn(R,x,K));return O.push(_),L(O)}).then(()=>{O=ml(Se,"beforeRouteUpdate",x,K);for(const R of Se)R.updateGuards.forEach(j=>{O.push(kn(j,x,K))});return O.push(_),L(O)}).then(()=>{O=[];for(const R of w)if(R.beforeEnter)if(Gt(R.beforeEnter))for(const j of R.beforeEnter)O.push(kn(j,x,K));else O.push(kn(R.beforeEnter,x,K));return O.push(_),L(O)}).then(()=>(x.matched.forEach(R=>R.enterCallbacks={}),O=ml(w,"beforeRouteEnter",x,K,A),O.push(_),L(O))).then(()=>{O=[];for(const R of l.list())O.push(kn(R,x,K));return O.push(_),L(O)}).catch(R=>cn(R,8)?R:Promise.reject(R))}function U(x,K,O){s.list().forEach(Y=>A(()=>Y(x,K,O)))}function C(x,K,O,Y,Se){const w=E(x,K);if(w)return w;const _=K===yn,R=vo?history.state:{};O&&(Y||_?i.replace(x.fullPath,Me({scroll:_&&R&&R.scroll},Se)):i.push(x.fullPath,Se)),a.value=x,P(x,K,O,_),me()}let J;function N(){J||(J=i.listen((x,K,O)=>{if(!ne.listening)return;const Y=q(x),Se=I(Y);if(Se){W(Me(Se,{replace:!0,force:!0}),Y).catch(ei);return}c=Y;const w=a.value;vo&&Jv(nu(w.fullPath,O.delta),Mr()),F(Y,w).catch(_=>cn(_,12)?_:cn(_,2)?(W(Me(S(_.to),{force:!0}),Y).then(R=>{cn(R,20)&&!O.delta&&O.type===hi.pop&&i.go(-1,!1)}).catch(ei),Promise.reject()):(O.delta&&i.go(-O.delta,!1),Q(_,Y,w))).then(_=>{_=_||C(Y,w,!1),_&&(O.delta&&!cn(_,8)?i.go(-O.delta,!1):O.type===hi.pop&&cn(_,20)&&i.go(-1,!1)),U(Y,w,_)}).catch(ei)}))}let ie=No(),ee=No(),re;function Q(x,K,O){me(x);const Y=ee.list();return Y.length?Y.forEach(Se=>Se(x,K,O)):console.error(x),Promise.reject(x)}function se(){return re&&a.value!==yn?Promise.resolve():new Promise((x,K)=>{ie.add([x,K])})}function me(x){return re||(re=!x,N(),ie.list().forEach(([K,O])=>x?O(x):K()),ie.reset()),x}function P(x,K,O,Y){const{scrollBehavior:Se}=e;if(!vo||!Se)return Promise.resolve();const w=!O&&Xv(nu(x.fullPath,0))||(Y||!O)&&history.state&&history.state.scroll||null;return ze().then(()=>Se(x,K,w)).then(_=>_&&Gv(_)).catch(_=>Q(_,x,K))}const m=x=>i.go(x);let $;const D=new Set,ne={currentRoute:a,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:p,resolve:q,options:e,push:T,replace:M,go:m,back:()=>m(-1),forward:()=>m(1),beforeEach:r.add,beforeResolve:l.add,afterEach:s.add,onError:ee.add,isReady:se,install(x){const K=this;x.component("RouterLink",Sp),x.component("RouterView",Ep),x.config.globalProperties.$router=K,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>Kn(a)}),vo&&!$&&a.value===yn&&($=!0,T(i.location).catch(Se=>{}));const O={};for(const Se in yn)Object.defineProperty(O,Se,{get:()=>a.value[Se],enumerable:!0});x.provide(Fs,K),x.provide(ed,Bc(O)),x.provide(Xl,a);const Y=x.unmount;D.add(x),x.unmount=function(){D.delete(x),D.size<1&&(c=yn,J&&J(),J=null,a.value=yn,$=!1,re=!1),Y()}}};function L(x){return x.reduce((K,O)=>K.then(()=>A(O)),Promise.resolve())}return ne}function qp(e,t){const n=[],o=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let l=0;l<r;l++){const s=t.matched[l];s&&(e.matched.find(c=>To(c,s))?o.push(s):n.push(s));const a=e.matched[l];a&&(t.matched.find(c=>To(c,a))||i.push(a))}return[n,o,i]}const Yl={xs:18,sm:24,md:32,lg:38,xl:46},no={size:String};function oo(e,t=Yl){return y(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function Je(e,t){return e!==void 0&&e()||t}function td(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function Kt(e,t){return e!==void 0?t.concat(e()):t}function nd(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Rp(e,t,n,o,i,r){t.key=o+i;const l=b(e,t,n);return i===!0?xr(l,r()):l}const pu="0 0 24 24",bu=e=>e,vl=e=>`ionicons ${e}`,od={"mdi-":e=>`mdi ${e}`,"icon-":bu,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":vl,"ion-ios":vl,"ion-logo":vl,"iconfont ":bu,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},id={o_:"-outlined",r_:"-round",s_:"-sharp"},rd={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Ap=new RegExp("^("+Object.keys(od).join("|")+")"),Pp=new RegExp("^("+Object.keys(id).join("|")+")"),yu=new RegExp("^("+Object.keys(rd).join("|")+")"),Op=/^[Mm]\s?[-+]?\.?\d/,Lp=/^img:/,Mp=/^svguse:/,Dp=/^ion-/,Fp=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,He=Pe({name:"QIcon",props:{...no,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=Ae(),o=oo(e),i=y(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),r=y(()=>{let l,s=e.name;if(s==="none"||!s)return{none:!0};if(n.iconMapFn!==null){const u=n.iconMapFn(s);if(u!==void 0)if(u.icon!==void 0){if(s=u.icon,s==="none"||!s)return{none:!0}}else return{cls:u.cls,content:u.content!==void 0?u.content:" "}}if(Op.test(s)===!0){const[u,f=pu]=s.split("|");return{svg:!0,viewBox:f,nodes:u.split("&&").map(d=>{const[h,g,p]=d.split("@@");return b("path",{style:g,d:h,transform:p})})}}if(Lp.test(s)===!0)return{img:!0,src:s.substring(4)};if(Mp.test(s)===!0){const[u,f=pu]=s.split("|");return{svguse:!0,src:u.substring(7),viewBox:f}}let a=" ";const c=s.match(Ap);if(c!==null)l=od[c[1]](s);else if(Fp.test(s)===!0)l=s;else if(Dp.test(s)===!0)l=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(yu.test(s)===!0){l="notranslate material-symbols";const u=s.match(yu);u!==null&&(s=s.substring(6),l+=rd[u[1]]),a=s}else{l="notranslate material-icons";const u=s.match(Pp);u!==null&&(s=s.substring(2),l+=id[u[1]]),a=s}return{cls:l,content:a}});return()=>{const l={class:i.value,style:o.value,"aria-hidden":"true",role:"presentation"};return r.value.none===!0?b(e.tag,l,Je(t.default)):r.value.img===!0?b(e.tag,l,Kt(t.default,[b("img",{src:r.value.src})])):r.value.svg===!0?b(e.tag,l,Kt(t.default,[b("svg",{viewBox:r.value.viewBox||"0 0 24 24"},r.value.nodes)])):r.value.svguse===!0?b(e.tag,l,Kt(t.default,[b("svg",{viewBox:r.value.viewBox},[b("use",{"xlink:href":r.value.src})])])):(r.value.cls!==void 0&&(l.class+=" "+r.value.cls),b(e.tag,l,Kt(t.default,[r.value.content])))}}}),Bp={size:{type:[String,Number],default:"1em"},color:String};function $p(e){return{cSize:y(()=>e.size in Yl?`${Yl[e.size]}px`:e.size),classes:y(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const vn=Pe({name:"QSpinner",props:{...Bp,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=$p(e);return()=>b("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[b("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Zl(e,t){const n=e.style;for(const o in t)n[o]=t[o]}function Np(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=Kn(e);if(t)return t.$el||t}function ld(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}function Vp(e,t=250){let n=!1,o;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),o=e.apply(this,arguments)),o}}function wu(e,t,n,o){n.modifiers.stop===!0&&nn(e);const i=n.modifiers.color;let r=n.modifiers.center;r=r===!0||o===!0;const l=document.createElement("span"),s=document.createElement("span"),a=Ff(e),{left:c,top:u,width:f,height:d}=t.getBoundingClientRect(),h=Math.sqrt(f*f+d*d),g=h/2,p=`${(f-h)/2}px`,v=r?p:`${a.left-c-g}px`,q=`${(d-h)/2}px`,S=r?q:`${a.top-u-g}px`;s.className="q-ripple__inner",Zl(s,{height:`${h}px`,width:`${h}px`,transform:`translate3d(${v},${S},0) scale3d(.2,.2,1)`,opacity:0}),l.className=`q-ripple${i?" text-"+i:""}`,l.setAttribute("dir","ltr"),l.appendChild(s),t.appendChild(l);const E=()=>{l.remove(),clearTimeout(T)};n.abort.push(E);let T=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${p},${q},0) scale3d(1,1,1)`,s.style.opacity=.2,T=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,T=setTimeout(()=>{l.remove(),n.abort.splice(n.abort.indexOf(E),1)},275)},250)},50)}function _u(e,{modifiers:t,value:n,arg:o}){const i=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:i.early===!0,stop:i.stop===!0,center:i.center===!0,color:i.color||o,keyCodes:[].concat(i.keyCodes||13)}}const sd=Df({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const o={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(i){o.enabled===!0&&i.qSkipRipple!==!0&&i.type===(o.modifiers.early===!0?"pointerdown":"click")&&wu(i,e,o,i.qKeyEvent===!0)},keystart:Vp(i=>{o.enabled===!0&&i.qSkipRipple!==!0&&mn(i,o.modifiers.keyCodes)===!0&&i.type===`key${o.modifiers.early===!0?"down":"up"}`&&wu(i,e,o,!0)},300)};_u(o,t),e.__qripple=o,ci(o,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;n!==void 0&&(n.enabled=t.value!==!1,n.enabled===!0&&Object(t.value)===t.value&&_u(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),tr(t,"main"),delete e._qripple)}}),ad={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Ip=Object.keys(ad),ud={align:{type:String,validator:e=>Ip.includes(e)}};function cd(e){return y(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${ad[t]}`})}function Ni(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function Bs(e){return e.appContext.config.globalProperties.$router!==void 0}function fd(e){return e.isUnmounted===!0||e.isDeactivated===!0}function Su(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function xu(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jp(e,t){for(const n in t){const o=t[n],i=e[n];if(typeof o=="string"){if(o!==i)return!1}else if(Array.isArray(i)===!1||i.length!==o.length||o.some((r,l)=>r!==i[l]))return!1}return!0}function Cu(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function Hp(e,t){return Array.isArray(e)===!0?Cu(e,t):Array.isArray(t)===!0?Cu(t,e):e===t}function zp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(Hp(e[n],t[n])===!1)return!1;return!0}const dd={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},Up={...dd,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function hd({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=Ae(),{props:o,proxy:i,emit:r}=n,l=Bs(n),s=y(()=>o.disable!==!0&&o.href!==void 0),a=y(t===!0?()=>l===!0&&o.disable!==!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!=="":()=>l===!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""),c=y(()=>a.value===!0?S(o.to):null),u=y(()=>c.value!==null),f=y(()=>s.value===!0||u.value===!0),d=y(()=>o.type==="a"||f.value===!0?"a":o.tag||e||"div"),h=y(()=>s.value===!0?{href:o.href,target:o.target}:u.value===!0?{href:c.value.href,target:o.target}:{}),g=y(()=>{if(u.value===!1)return-1;const{matched:M}=c.value,{length:I}=M,W=M[I-1];if(W===void 0)return-1;const Z=i.$route.matched;if(Z.length===0)return-1;const A=Z.findIndex(xu.bind(null,W));if(A!==-1)return A;const F=Su(M[I-2]);return I>1&&Su(W)===F&&Z[Z.length-1].path!==F?Z.findIndex(xu.bind(null,M[I-2])):A}),p=y(()=>u.value===!0&&g.value!==-1&&jp(i.$route.params,c.value.params)),v=y(()=>p.value===!0&&g.value===i.$route.matched.length-1&&zp(i.$route.params,c.value.params)),q=y(()=>u.value===!0?v.value===!0?` ${o.exactActiveClass} ${o.activeClass}`:o.exact===!0?"":p.value===!0?` ${o.activeClass}`:"":"");function S(M){try{return i.$router.resolve(M)}catch{}return null}function E(M,{returnRouterError:I,to:W=o.to,replace:Z=o.replace}={}){if(o.disable===!0)return M.preventDefault(),Promise.resolve(!1);if(M.metaKey||M.altKey||M.ctrlKey||M.shiftKey||M.button!==void 0&&M.button!==0||o.target==="_blank")return Promise.resolve(!1);M.preventDefault();const A=i.$router[Z===!0?"replace":"push"](W);return I===!0?A:A.then(()=>{}).catch(()=>{})}function T(M){if(u.value===!0){const I=W=>E(M,W);r("click",M,I),M.defaultPrevented!==!0&&I()}else r("click",M)}return{hasRouterLink:u,hasHrefLink:s,hasLink:f,linkTag:d,resolvedLink:c,linkIsActive:p,linkIsExactActive:v,linkClass:q,linkAttrs:h,getLink:S,navigateToRouterLink:E,navigateOnClick:T}}const ku={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Kp={xs:8,sm:10,md:14,lg:20,xl:24},Wp=["button","submit","reset"],Qp=/[^\s]\/[^\s]/,Gp=["flat","outline","push","unelevated"];function Jp(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const Xp={...no,...dd,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Gp.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...ud.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},Yp={...Xp,round:Boolean};function Zp(e){const t=oo(e,Kp),n=cd(e),{hasRouterLink:o,hasLink:i,linkTag:r,linkAttrs:l,navigateOnClick:s}=hd({fallbackTag:"button"}),a=y(()=>{const v=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},v,{padding:e.padding.split(/\s+/).map(q=>q in ku?ku[q]+"px":q).join(" "),minWidth:"0",minHeight:"0"}):v}),c=y(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),u=y(()=>e.disable!==!0&&e.loading!==!0),f=y(()=>u.value===!0?e.tabindex||0:-1),d=y(()=>Jp(e,"standard")),h=y(()=>{const v={tabindex:f.value};return i.value===!0?Object.assign(v,l.value):Wp.includes(e.type)===!0&&(v.type=e.type),r.value==="a"?(e.disable===!0?v["aria-disabled"]="true":v.href===void 0&&(v.role="button"),o.value!==!0&&Qp.test(e.type)===!0&&(v.type=e.type)):e.disable===!0&&(v.disabled="",v["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(v,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),v}),g=y(()=>{let v;e.color!==void 0?e.flat===!0||e.outline===!0?v=`text-${e.textColor||e.color}`:v=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(v=`text-${e.textColor}`);const q=e.round===!0?"round":`rectangle${c.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${d.value} q-btn--${q}`+(v!==void 0?" "+v:"")+(u.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),p=y(()=>n.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:g,style:a,innerClasses:p,attributes:h,hasLink:i,linkTag:r,navigateOnClick:s,isActionable:u}}const{passiveCapture:Dt}=ct;let fo=null,ho=null,go=null;const et=Pe({name:"QBtn",props:{...Yp,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:o}=Ae(),{classes:i,style:r,innerClasses:l,attributes:s,hasLink:a,linkTag:c,navigateOnClick:u,isActionable:f}=Zp(e),d=ue(null),h=ue(null);let g=null,p,v=null;const q=y(()=>e.label!==void 0&&e.label!==null&&e.label!==""),S=y(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:a.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),E=y(()=>({center:e.round})),T=y(()=>{const N=Math.max(0,Math.min(100,e.percentage));return N>0?{transition:"transform 0.6s",transform:`translateX(${N-100}%)`}:{}}),M=y(()=>{if(e.loading===!0)return{onMousedown:J,onTouchstart:J,onClick:J,onKeydown:J,onKeyup:J};if(f.value===!0){const N={onClick:W,onKeydown:Z,onMousedown:F};if(o.$q.platform.has.touch===!0){const ie=e.onTouchstart!==void 0?"":"Passive";N[`onTouchstart${ie}`]=A}return N}return{onClick:Qe}}),I=y(()=>({ref:d,class:"q-btn q-btn-item non-selectable no-outline "+i.value,style:r.value,...s.value,...M.value}));function W(N){if(d.value!==null){if(N!==void 0){if(N.defaultPrevented===!0)return;const ie=document.activeElement;if(e.type==="submit"&&ie!==document.body&&d.value.contains(ie)===!1&&ie.contains(d.value)===!1){d.value.focus();const ee=()=>{document.removeEventListener("keydown",Qe,!0),document.removeEventListener("keyup",ee,Dt),d.value!==null&&d.value.removeEventListener("blur",ee,Dt)};document.addEventListener("keydown",Qe,!0),document.addEventListener("keyup",ee,Dt),d.value.addEventListener("blur",ee,Dt)}}u(N)}}function Z(N){d.value!==null&&(n("keydown",N),mn(N,[13,32])===!0&&ho!==d.value&&(ho!==null&&C(),N.defaultPrevented!==!0&&(d.value.focus(),ho=d.value,d.value.classList.add("q-btn--active"),document.addEventListener("keyup",U,!0),d.value.addEventListener("blur",U,Dt)),Qe(N)))}function A(N){d.value!==null&&(n("touchstart",N),N.defaultPrevented!==!0&&(fo!==d.value&&(fo!==null&&C(),fo=d.value,g=N.target,g.addEventListener("touchcancel",U,Dt),g.addEventListener("touchend",U,Dt)),p=!0,v!==null&&clearTimeout(v),v=setTimeout(()=>{v=null,p=!1},200)))}function F(N){d.value!==null&&(N.qSkipRipple=p===!0,n("mousedown",N),N.defaultPrevented!==!0&&go!==d.value&&(go!==null&&C(),go=d.value,d.value.classList.add("q-btn--active"),document.addEventListener("mouseup",U,Dt)))}function U(N){if(d.value!==null&&!(N!==void 0&&N.type==="blur"&&document.activeElement===d.value)){if(N!==void 0&&N.type==="keyup"){if(ho===d.value&&mn(N,[13,32])===!0){const ie=new MouseEvent("click",N);ie.qKeyEvent=!0,N.defaultPrevented===!0&&Ut(ie),N.cancelBubble===!0&&nn(ie),d.value.dispatchEvent(ie),Qe(N),N.qKeyEvent=!0}n("keyup",N)}C()}}function C(N){const ie=h.value;N!==!0&&(fo===d.value||go===d.value)&&ie!==null&&ie!==document.activeElement&&(ie.setAttribute("tabindex",-1),ie.focus()),fo===d.value&&(g!==null&&(g.removeEventListener("touchcancel",U,Dt),g.removeEventListener("touchend",U,Dt)),fo=g=null),go===d.value&&(document.removeEventListener("mouseup",U,Dt),go=null),ho===d.value&&(document.removeEventListener("keyup",U,!0),d.value!==null&&d.value.removeEventListener("blur",U,Dt),ho=null),d.value!==null&&d.value.classList.remove("q-btn--active")}function J(N){Qe(N),N.qSkipRipple=!0}return tt(()=>{C(!0)}),Object.assign(o,{click:N=>{f.value===!0&&W(N)}}),()=>{let N=[];e.icon!==void 0&&N.push(b(He,{name:e.icon,left:e.stack!==!0&&q.value===!0,role:"img"})),q.value===!0&&N.push(b("span",{class:"block"},[e.label])),N=Kt(t.default,N),e.iconRight!==void 0&&e.round===!1&&N.push(b(He,{name:e.iconRight,right:e.stack!==!0&&q.value===!0,role:"img"}));const ie=[b("span",{class:"q-focus-helper",ref:h})];return e.loading===!0&&e.percentage!==void 0&&ie.push(b("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[b("span",{class:"q-btn__progress-indicator fit block",style:T.value})])),ie.push(b("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+l.value},N)),e.loading!==null&&ie.push(b(Zn,{name:"q-transition--fade"},()=>e.loading===!0?[b("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[b(vn)])]:null)),xr(b(c.value,I.value,ie),[[sd,S.value,void 0,E.value]])}}}),Dr=Pe({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:n}}=Ae(),o=Vt(dv,co);if(o===co)return console.error("QPage needs to be a deep child of QLayout"),co;if(Vt(hv,co)===co)return console.error("QPage needs to be child of QPageContainer"),co;const r=y(()=>{const s=(o.header.space===!0?o.header.size:0)+(o.footer.space===!0?o.footer.size:0);if(typeof e.styleFn=="function"){const a=o.isContainer.value===!0?o.containerHeight.value:n.screen.height;return e.styleFn(s,a)}return{minHeight:o.isContainer.value===!0?o.containerHeight.value-s+"px":n.screen.height===0?s!==0?`calc(100vh - ${s}px)`:"100vh":n.screen.height-s+"px"}}),l=y(()=>`q-page${e.padding===!0?" q-layout-padding":""}`);return()=>b("main",{class:l.value,style:r.value},Je(t.default))}});function gd(e,t){return function(){return e.apply(t,arguments)}}const{toString:eb}=Object.prototype,{getPrototypeOf:$s}=Object,Fr=(e=>t=>{const n=eb.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Jt=e=>(e=e.toLowerCase(),t=>Fr(t)===e),Br=e=>t=>typeof t===e,{isArray:Lo}=Array,gi=Br("undefined");function tb(e){return e!==null&&!gi(e)&&e.constructor!==null&&!gi(e.constructor)&&Lt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const md=Jt("ArrayBuffer");function nb(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&md(e.buffer),t}const ob=Br("string"),Lt=Br("function"),vd=Br("number"),$r=e=>e!==null&&typeof e=="object",ib=e=>e===!0||e===!1,Vi=e=>{if(Fr(e)!=="object")return!1;const t=$s(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},rb=Jt("Date"),lb=Jt("File"),sb=Jt("Blob"),ab=Jt("FileList"),ub=e=>$r(e)&&Lt(e.pipe),cb=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Lt(e.append)&&((t=Fr(e))==="formdata"||t==="object"&&Lt(e.toString)&&e.toString()==="[object FormData]"))},fb=Jt("URLSearchParams"),[db,hb,gb,mb]=["ReadableStream","Request","Response","Headers"].map(Jt),vb=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function yi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,i;if(typeof e!="object"&&(e=[e]),Lo(e))for(o=0,i=e.length;o<i;o++)t.call(null,e[o],o,e);else{const r=n?Object.getOwnPropertyNames(e):Object.keys(e),l=r.length;let s;for(o=0;o<l;o++)s=r[o],t.call(null,e[s],s,e)}}function pd(e,t){t=t.toLowerCase();const n=Object.keys(e);let o=n.length,i;for(;o-- >0;)if(i=n[o],t===i.toLowerCase())return i;return null}const Hn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,bd=e=>!gi(e)&&e!==Hn;function es(){const{caseless:e}=bd(this)&&this||{},t={},n=(o,i)=>{const r=e&&pd(t,i)||i;Vi(t[r])&&Vi(o)?t[r]=es(t[r],o):Vi(o)?t[r]=es({},o):Lo(o)?t[r]=o.slice():t[r]=o};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&yi(arguments[o],n);return t}const pb=(e,t,n,{allOwnKeys:o}={})=>(yi(t,(i,r)=>{n&&Lt(i)?e[r]=gd(i,n):e[r]=i},{allOwnKeys:o}),e),bb=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),yb=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},wb=(e,t,n,o)=>{let i,r,l;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),r=i.length;r-- >0;)l=i[r],(!o||o(l,e,t))&&!s[l]&&(t[l]=e[l],s[l]=!0);e=n!==!1&&$s(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},_b=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},Sb=e=>{if(!e)return null;if(Lo(e))return e;let t=e.length;if(!vd(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},xb=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$s(Uint8Array)),Cb=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=o.next())&&!i.done;){const r=i.value;t.call(e,r[0],r[1])}},kb=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},Eb=Jt("HTMLFormElement"),Tb=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,i){return o.toUpperCase()+i}),Eu=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),qb=Jt("RegExp"),yd=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};yi(n,(i,r)=>{let l;(l=t(i,r,e))!==!1&&(o[r]=l||i)}),Object.defineProperties(e,o)},Rb=e=>{yd(e,(t,n)=>{if(Lt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(Lt(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Ab=(e,t)=>{const n={},o=i=>{i.forEach(r=>{n[r]=!0})};return Lo(e)?o(e):o(String(e).split(t)),n},Pb=()=>{},Ob=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,pl="abcdefghijklmnopqrstuvwxyz",Tu="0123456789",wd={DIGIT:Tu,ALPHA:pl,ALPHA_DIGIT:pl+pl.toUpperCase()+Tu},Lb=(e=16,t=wd.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function Mb(e){return!!(e&&Lt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Db=e=>{const t=new Array(10),n=(o,i)=>{if($r(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[i]=o;const r=Lo(o)?[]:{};return yi(o,(l,s)=>{const a=n(l,i+1);!gi(a)&&(r[s]=a)}),t[i]=void 0,r}}return o};return n(e,0)},Fb=Jt("AsyncFunction"),Bb=e=>e&&($r(e)||Lt(e))&&Lt(e.then)&&Lt(e.catch),_d=((e,t)=>e?setImmediate:t?((n,o)=>(Hn.addEventListener("message",({source:i,data:r})=>{i===Hn&&r===n&&o.length&&o.shift()()},!1),i=>{o.push(i),Hn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Lt(Hn.postMessage)),$b=typeof queueMicrotask<"u"?queueMicrotask.bind(Hn):typeof process<"u"&&process.nextTick||_d,V={isArray:Lo,isArrayBuffer:md,isBuffer:tb,isFormData:cb,isArrayBufferView:nb,isString:ob,isNumber:vd,isBoolean:ib,isObject:$r,isPlainObject:Vi,isReadableStream:db,isRequest:hb,isResponse:gb,isHeaders:mb,isUndefined:gi,isDate:rb,isFile:lb,isBlob:sb,isRegExp:qb,isFunction:Lt,isStream:ub,isURLSearchParams:fb,isTypedArray:xb,isFileList:ab,forEach:yi,merge:es,extend:pb,trim:vb,stripBOM:bb,inherits:yb,toFlatObject:wb,kindOf:Fr,kindOfTest:Jt,endsWith:_b,toArray:Sb,forEachEntry:Cb,matchAll:kb,isHTMLForm:Eb,hasOwnProperty:Eu,hasOwnProp:Eu,reduceDescriptors:yd,freezeMethods:Rb,toObjectSet:Ab,toCamelCase:Tb,noop:Pb,toFiniteNumber:Ob,findKey:pd,global:Hn,isContextDefined:bd,ALPHABET:wd,generateString:Lb,isSpecCompliantForm:Mb,toJSONObject:Db,isAsyncFn:Fb,isThenable:Bb,setImmediate:_d,asap:$b};function Ce(e,t,n,o,i){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),o&&(this.request=o),i&&(this.response=i,this.status=i.status?i.status:null)}V.inherits(Ce,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:V.toJSONObject(this.config),code:this.code,status:this.status}}});const Sd=Ce.prototype,xd={};["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=>{xd[e]={value:e}});Object.defineProperties(Ce,xd);Object.defineProperty(Sd,"isAxiosError",{value:!0});Ce.from=(e,t,n,o,i,r)=>{const l=Object.create(Sd);return V.toFlatObject(e,l,function(a){return a!==Error.prototype},s=>s!=="isAxiosError"),Ce.call(l,e.message,t,n,o,i),l.cause=e,l.name=e.name,r&&Object.assign(l,r),l};const Nb=null;function ts(e){return V.isPlainObject(e)||V.isArray(e)}function Cd(e){return V.endsWith(e,"[]")?e.slice(0,-2):e}function qu(e,t,n){return e?e.concat(t).map(function(i,r){return i=Cd(i),!n&&r?"["+i+"]":i}).join(n?".":""):t}function Vb(e){return V.isArray(e)&&!e.some(ts)}const Ib=V.toFlatObject(V,{},null,function(t){return/^is[A-Z]/.test(t)});function Nr(e,t,n){if(!V.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=V.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,v){return!V.isUndefined(v[p])});const o=n.metaTokens,i=n.visitor||u,r=n.dots,l=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&V.isSpecCompliantForm(t);if(!V.isFunction(i))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(V.isDate(g))return g.toISOString();if(!a&&V.isBlob(g))throw new Ce("Blob is not supported. Use a Buffer instead.");return V.isArrayBuffer(g)||V.isTypedArray(g)?a&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,p,v){let q=g;if(g&&!v&&typeof g=="object"){if(V.endsWith(p,"{}"))p=o?p:p.slice(0,-2),g=JSON.stringify(g);else if(V.isArray(g)&&Vb(g)||(V.isFileList(g)||V.endsWith(p,"[]"))&&(q=V.toArray(g)))return p=Cd(p),q.forEach(function(E,T){!(V.isUndefined(E)||E===null)&&t.append(l===!0?qu([p],T,r):l===null?p:p+"[]",c(E))}),!1}return ts(g)?!0:(t.append(qu(v,p,r),c(g)),!1)}const f=[],d=Object.assign(Ib,{defaultVisitor:u,convertValue:c,isVisitable:ts});function h(g,p){if(!V.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));f.push(g),V.forEach(g,function(q,S){(!(V.isUndefined(q)||q===null)&&i.call(t,q,V.isString(S)?S.trim():S,p,d))===!0&&h(q,p?p.concat(S):[S])}),f.pop()}}if(!V.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Ru(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Ns(e,t){this._pairs=[],e&&Nr(e,this,t)}const kd=Ns.prototype;kd.append=function(t,n){this._pairs.push([t,n])};kd.toString=function(t){const n=t?function(o){return t.call(this,o,Ru)}:Ru;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function jb(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ed(e,t,n){if(!t)return e;const o=n&&n.encode||jb;V.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let r;if(i?r=i(t,n):r=V.isURLSearchParams(t)?t.toString():new Ns(t,n).toString(o),r){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}class Au{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){V.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Td={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Hb=typeof URLSearchParams<"u"?URLSearchParams:Ns,zb=typeof FormData<"u"?FormData:null,Ub=typeof Blob<"u"?Blob:null,Kb={isBrowser:!0,classes:{URLSearchParams:Hb,FormData:zb,Blob:Ub},protocols:["http","https","file","blob","url","data"]},Vs=typeof window<"u"&&typeof document<"u",ns=typeof navigator=="object"&&navigator||void 0,Wb=Vs&&(!ns||["ReactNative","NativeScript","NS"].indexOf(ns.product)<0),Qb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gb=Vs&&window.location.href||"http://localhost",Jb=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Vs,hasStandardBrowserEnv:Wb,hasStandardBrowserWebWorkerEnv:Qb,navigator:ns,origin:Gb},Symbol.toStringTag,{value:"Module"})),bt={...Jb,...Kb};function Xb(e,t){return Nr(e,new bt.classes.URLSearchParams,Object.assign({visitor:function(n,o,i,r){return bt.isNode&&V.isBuffer(n)?(this.append(o,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function Yb(e){return V.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Zb(e){const t={},n=Object.keys(e);let o;const i=n.length;let r;for(o=0;o<i;o++)r=n[o],t[r]=e[r];return t}function qd(e){function t(n,o,i,r){let l=n[r++];if(l==="__proto__")return!0;const s=Number.isFinite(+l),a=r>=n.length;return l=!l&&V.isArray(i)?i.length:l,a?(V.hasOwnProp(i,l)?i[l]=[i[l],o]:i[l]=o,!s):((!i[l]||!V.isObject(i[l]))&&(i[l]=[]),t(n,o,i[l],r)&&V.isArray(i[l])&&(i[l]=Zb(i[l])),!s)}if(V.isFormData(e)&&V.isFunction(e.entries)){const n={};return V.forEachEntry(e,(o,i)=>{t(Yb(o),i,n,0)}),n}return null}function ey(e,t,n){if(V.isString(e))try{return(t||JSON.parse)(e),V.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(0,JSON.stringify)(e)}const wi={transitional:Td,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",i=o.indexOf("application/json")>-1,r=V.isObject(t);if(r&&V.isHTMLForm(t)&&(t=new FormData(t)),V.isFormData(t))return i?JSON.stringify(qd(t)):t;if(V.isArrayBuffer(t)||V.isBuffer(t)||V.isStream(t)||V.isFile(t)||V.isBlob(t)||V.isReadableStream(t))return t;if(V.isArrayBufferView(t))return t.buffer;if(V.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(r){if(o.indexOf("application/x-www-form-urlencoded")>-1)return Xb(t,this.formSerializer).toString();if((s=V.isFileList(t))||o.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Nr(s?{"files[]":t}:t,a&&new a,this.formSerializer)}}return r||i?(n.setContentType("application/json",!1),ey(t)):t}],transformResponse:[function(t){const n=this.transitional||wi.transitional,o=n&&n.forcedJSONParsing,i=this.responseType==="json";if(V.isResponse(t)||V.isReadableStream(t))return t;if(t&&V.isString(t)&&(o&&!this.responseType||i)){const l=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(l)throw s.name==="SyntaxError"?Ce.from(s,Ce.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bt.classes.FormData,Blob:bt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};V.forEach(["delete","get","head","post","put","patch"],e=>{wi.headers[e]={}});const ty=V.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"]),ny=e=>{const t={};let n,o,i;return e&&e.split(`
26
+ `).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),o=l.substring(i+1).trim(),!(!n||t[n]&&ty[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Pu=Symbol("internals");function Vo(e){return e&&String(e).trim().toLowerCase()}function Ii(e){return e===!1||e==null?e:V.isArray(e)?e.map(Ii):String(e)}function oy(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const iy=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function bl(e,t,n,o,i){if(V.isFunction(o))return o.call(this,t,n);if(i&&(t=n),!!V.isString(t)){if(V.isString(o))return t.indexOf(o)!==-1;if(V.isRegExp(o))return o.test(t)}}function ry(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function ly(e,t){const n=V.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(i,r,l){return this[o].call(this,t,i,r,l)},configurable:!0})})}class At{constructor(t){t&&this.set(t)}set(t,n,o){const i=this;function r(s,a,c){const u=Vo(a);if(!u)throw new Error("header name must be a non-empty string");const f=V.findKey(i,u);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||a]=Ii(s))}const l=(s,a)=>V.forEach(s,(c,u)=>r(c,u,a));if(V.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if(V.isString(t)&&(t=t.trim())&&!iy(t))l(ny(t),n);else if(V.isHeaders(t))for(const[s,a]of t.entries())r(a,s,o);else t!=null&&r(n,t,o);return this}get(t,n){if(t=Vo(t),t){const o=V.findKey(this,t);if(o){const i=this[o];if(!n)return i;if(n===!0)return oy(i);if(V.isFunction(n))return n.call(this,i,o);if(V.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Vo(t),t){const o=V.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||bl(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let i=!1;function r(l){if(l=Vo(l),l){const s=V.findKey(o,l);s&&(!n||bl(o,o[s],s,n))&&(delete o[s],i=!0)}}return V.isArray(t)?t.forEach(r):r(t),i}clear(t){const n=Object.keys(this);let o=n.length,i=!1;for(;o--;){const r=n[o];(!t||bl(this,this[r],r,t,!0))&&(delete this[r],i=!0)}return i}normalize(t){const n=this,o={};return V.forEach(this,(i,r)=>{const l=V.findKey(o,r);if(l){n[l]=Ii(i),delete n[r];return}const s=t?ry(r):String(r).trim();s!==r&&delete n[r],n[s]=Ii(i),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return V.forEach(this,(o,i)=>{o!=null&&o!==!1&&(n[i]=t&&V.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
27
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(i=>o.set(i)),o}static accessor(t){const o=(this[Pu]=this[Pu]={accessors:{}}).accessors,i=this.prototype;function r(l){const s=Vo(l);o[s]||(ly(i,l),o[s]=!0)}return V.isArray(t)?t.forEach(r):r(t),this}}At.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);V.reduceDescriptors(At.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});V.freezeMethods(At);function yl(e,t){const n=this||wi,o=t||n,i=At.from(o.headers);let r=o.data;return V.forEach(e,function(s){r=s.call(n,r,i.normalize(),t?t.status:void 0)}),i.normalize(),r}function Rd(e){return!!(e&&e.__CANCEL__)}function Mo(e,t,n){Ce.call(this,e??"canceled",Ce.ERR_CANCELED,t,n),this.name="CanceledError"}V.inherits(Mo,Ce,{__CANCEL__:!0});function Ad(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new Ce("Request failed with status code "+n.status,[Ce.ERR_BAD_REQUEST,Ce.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function sy(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ay(e,t){e=e||10;const n=new Array(e),o=new Array(e);let i=0,r=0,l;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=o[r];l||(l=c),n[i]=a,o[i]=c;let f=r,d=0;for(;f!==i;)d+=n[f++],f=f%e;if(i=(i+1)%e,i===r&&(r=(r+1)%e),c-l<t)return;const h=u&&c-u;return h?Math.round(d*1e3/h):void 0}}function uy(e,t){let n=0,o=1e3/t,i,r;const l=(c,u=Date.now())=>{n=u,i=null,r&&(clearTimeout(r),r=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),f=u-n;f>=o?l(c,u):(i=c,r||(r=setTimeout(()=>{r=null,l(i)},o-f)))},()=>i&&l(i)]}const ir=(e,t,n=3)=>{let o=0;const i=ay(50,250);return uy(r=>{const l=r.loaded,s=r.lengthComputable?r.total:void 0,a=l-o,c=i(a),u=l<=s;o=l;const f={loaded:l,total:s,progress:s?l/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&u?(s-l)/c:void 0,event:r,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},Ou=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},Lu=e=>(...t)=>V.asap(()=>e(...t)),cy=bt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,bt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(bt.origin),bt.navigator&&/(msie|trident)/i.test(bt.navigator.userAgent)):()=>!0,fy=bt.hasStandardBrowserEnv?{write(e,t,n,o,i,r){const l=[e+"="+encodeURIComponent(t)];V.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),V.isString(o)&&l.push("path="+o),V.isString(i)&&l.push("domain="+i),r===!0&&l.push("secure"),document.cookie=l.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 dy(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function hy(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Pd(e,t){return e&&!dy(t)?hy(e,t):t}const Mu=e=>e instanceof At?{...e}:e;function eo(e,t){t=t||{};const n={};function o(c,u,f,d){return V.isPlainObject(c)&&V.isPlainObject(u)?V.merge.call({caseless:d},c,u):V.isPlainObject(u)?V.merge({},u):V.isArray(u)?u.slice():u}function i(c,u,f,d){if(V.isUndefined(u)){if(!V.isUndefined(c))return o(void 0,c,f,d)}else return o(c,u,f,d)}function r(c,u){if(!V.isUndefined(u))return o(void 0,u)}function l(c,u){if(V.isUndefined(u)){if(!V.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function s(c,u,f){if(f in t)return o(c,u);if(f in e)return o(void 0,c)}const a={url:r,method:r,data:r,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:s,headers:(c,u,f)=>i(Mu(c),Mu(u),f,!0)};return V.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=a[u]||i,d=f(e[u],t[u],u);V.isUndefined(d)&&f!==s||(n[u]=d)}),n}const Od=e=>{const t=eo({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:r,headers:l,auth:s}=t;t.headers=l=At.from(l),t.url=Ed(Pd(t.baseURL,t.url),e.params,e.paramsSerializer),s&&l.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let a;if(V.isFormData(n)){if(bt.hasStandardBrowserEnv||bt.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((a=l.getContentType())!==!1){const[c,...u]=a?a.split(";").map(f=>f.trim()).filter(Boolean):[];l.setContentType([c||"multipart/form-data",...u].join("; "))}}if(bt.hasStandardBrowserEnv&&(o&&V.isFunction(o)&&(o=o(t)),o||o!==!1&&cy(t.url))){const c=i&&r&&fy.read(r);c&&l.set(i,c)}return t},gy=typeof XMLHttpRequest<"u",my=gy&&function(e){return new Promise(function(n,o){const i=Od(e);let r=i.data;const l=At.from(i.headers).normalize();let{responseType:s,onUploadProgress:a,onDownloadProgress:c}=i,u,f,d,h,g;function p(){h&&h(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(i.method.toUpperCase(),i.url,!0),v.timeout=i.timeout;function q(){if(!v)return;const E=At.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),M={data:!s||s==="text"||s==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:E,config:e,request:v};Ad(function(W){n(W),p()},function(W){o(W),p()},M),v=null}"onloadend"in v?v.onloadend=q:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(q)},v.onabort=function(){v&&(o(new Ce("Request aborted",Ce.ECONNABORTED,e,v)),v=null)},v.onerror=function(){o(new Ce("Network Error",Ce.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const M=i.transitional||Td;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),o(new Ce(T,M.clarifyTimeoutError?Ce.ETIMEDOUT:Ce.ECONNABORTED,e,v)),v=null},r===void 0&&l.setContentType(null),"setRequestHeader"in v&&V.forEach(l.toJSON(),function(T,M){v.setRequestHeader(M,T)}),V.isUndefined(i.withCredentials)||(v.withCredentials=!!i.withCredentials),s&&s!=="json"&&(v.responseType=i.responseType),c&&([d,g]=ir(c,!0),v.addEventListener("progress",d)),a&&v.upload&&([f,h]=ir(a),v.upload.addEventListener("progress",f),v.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(u=E=>{v&&(o(!E||E.type?new Mo(null,e,v):E),v.abort(),v=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const S=sy(i.url);if(S&&bt.protocols.indexOf(S)===-1){o(new Ce("Unsupported protocol "+S+":",Ce.ERR_BAD_REQUEST,e));return}v.send(r||null)})},vy=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,i;const r=function(c){if(!i){i=!0,s();const u=c instanceof Error?c:this.reason;o.abort(u instanceof Ce?u:new Mo(u instanceof Error?u.message:u))}};let l=t&&setTimeout(()=>{l=null,r(new Ce(`timeout ${t} of ms exceeded`,Ce.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(r):c.removeEventListener("abort",r)}),e=null)};e.forEach(c=>c.addEventListener("abort",r));const{signal:a}=o;return a.unsubscribe=()=>V.asap(s),a}},py=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0,i;for(;o<n;)i=o+t,yield e.slice(o,i),o=i},by=async function*(e,t){for await(const n of yy(e))yield*py(n,t)},yy=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:o}=await t.read();if(n)break;yield o}}finally{await t.cancel()}},Du=(e,t,n,o)=>{const i=by(e,t);let r=0,l,s=a=>{l||(l=!0,o&&o(a))};return new ReadableStream({async pull(a){try{const{done:c,value:u}=await i.next();if(c){s(),a.close();return}let f=u.byteLength;if(n){let d=r+=f;n(d)}a.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(a){return s(a),i.return()}},{highWaterMark:2})},Vr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ld=Vr&&typeof ReadableStream=="function",wy=Vr&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Md=(e,...t)=>{try{return!!e(...t)}catch{return!1}},_y=Ld&&Md(()=>{let e=!1;const t=new Request(bt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Fu=64*1024,os=Ld&&Md(()=>V.isReadableStream(new Response("").body)),rr={stream:os&&(e=>e.body)};Vr&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!rr[t]&&(rr[t]=V.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new Ce(`Response type '${t}' is not supported`,Ce.ERR_NOT_SUPPORT,o)})})})(new Response);const Sy=async e=>{if(e==null)return 0;if(V.isBlob(e))return e.size;if(V.isSpecCompliantForm(e))return(await new Request(bt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(V.isArrayBufferView(e)||V.isArrayBuffer(e))return e.byteLength;if(V.isURLSearchParams(e)&&(e=e+""),V.isString(e))return(await wy(e)).byteLength},xy=async(e,t)=>{const n=V.toFiniteNumber(e.getContentLength());return n??Sy(t)},Cy=Vr&&(async e=>{let{url:t,method:n,data:o,signal:i,cancelToken:r,timeout:l,onDownloadProgress:s,onUploadProgress:a,responseType:c,headers:u,withCredentials:f="same-origin",fetchOptions:d}=Od(e);c=c?(c+"").toLowerCase():"text";let h=vy([i,r&&r.toAbortSignal()],l),g;const p=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let v;try{if(a&&_y&&n!=="get"&&n!=="head"&&(v=await xy(u,o))!==0){let M=new Request(t,{method:"POST",body:o,duplex:"half"}),I;if(V.isFormData(o)&&(I=M.headers.get("content-type"))&&u.setContentType(I),M.body){const[W,Z]=Ou(v,ir(Lu(a)));o=Du(M.body,Fu,W,Z)}}V.isString(f)||(f=f?"include":"omit");const q="credentials"in Request.prototype;g=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:q?f:void 0});let S=await fetch(g);const E=os&&(c==="stream"||c==="response");if(os&&(s||E&&p)){const M={};["status","statusText","headers"].forEach(A=>{M[A]=S[A]});const I=V.toFiniteNumber(S.headers.get("content-length")),[W,Z]=s&&Ou(I,ir(Lu(s),!0))||[];S=new Response(Du(S.body,Fu,W,()=>{Z&&Z(),p&&p()}),M)}c=c||"text";let T=await rr[V.findKey(rr,c)||"text"](S,e);return!E&&p&&p(),await new Promise((M,I)=>{Ad(M,I,{data:T,headers:At.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:g})})}catch(q){throw p&&p(),q&&q.name==="TypeError"&&/fetch/i.test(q.message)?Object.assign(new Ce("Network Error",Ce.ERR_NETWORK,e,g),{cause:q.cause||q}):Ce.from(q,q&&q.code,e,g)}}),is={http:Nb,xhr:my,fetch:Cy};V.forEach(is,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Bu=e=>`- ${e}`,ky=e=>V.isFunction(e)||e===null||e===!1,Dd={getAdapter:e=>{e=V.isArray(e)?e:[e];const{length:t}=e;let n,o;const i={};for(let r=0;r<t;r++){n=e[r];let l;if(o=n,!ky(n)&&(o=is[(l=String(n)).toLowerCase()],o===void 0))throw new Ce(`Unknown adapter '${l}'`);if(o)break;i[l||"#"+r]=o}if(!o){const r=Object.entries(i).map(([s,a])=>`adapter ${s} `+(a===!1?"is not supported by the environment":"is not available in the build"));let l=t?r.length>1?`since :
28
28
  `+r.map(Bu).join(`
29
- `):" "+Bu(r[0]):"as no adapter specified";throw new xe("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return o},adapters:is};function wl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Mo(null,e)}function $u(e){return wl(e),e.headers=Rt.from(e.headers),e.data=yl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Dd.getAdapter(e.adapter||wi.adapter)(e).then(function(o){return wl(e),o.data=yl.call(e,e.transformResponse,o),o.headers=Rt.from(o.headers),o},function(o){return Rd(o)||(wl(e),o&&o.response&&(o.response.data=yl.call(e,e.transformResponse,o.response),o.response.headers=Rt.from(o.response.headers))),Promise.reject(o)})}const Fd="1.7.9",Ir={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ir[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Nu={};Ir.transitional=function(t,n,o){function i(r,l){return"[Axios v"+Fd+"] Transitional option '"+r+"'"+l+(o?". "+o:"")}return(r,l,s)=>{if(t===!1)throw new xe(i(l," has been removed"+(n?" in "+n:"")),xe.ERR_DEPRECATED);return n&&!Nu[l]&&(Nu[l]=!0,console.warn(i(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,l,s):!0}};Ir.spelling=function(t){return(n,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function Ey(e,t,n){if(typeof e!="object")throw new xe("options must be an object",xe.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let i=o.length;for(;i-- >0;){const r=o[i],l=t[r];if(l){const s=e[r],a=s===void 0||l(s,r,e);if(a!==!0)throw new xe("option "+r+" must be "+a,xe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new xe("Unknown option "+r,xe.ERR_BAD_OPTION)}}const ji={assertOptions:Ey,validators:Ir},Xt=ji.validators;class Wn{constructor(t){this.defaults=t,this.interceptors={request:new Au,response:new Au}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const r=i.stack?i.stack.replace(/^.+\n/,""):"";try{o.stack?r&&!String(o.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(o.stack+=`
30
- `+r):o.stack=r}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=eo(this.defaults,n);const{transitional:o,paramsSerializer:i,headers:r}=n;o!==void 0&&ji.assertOptions(o,{silentJSONParsing:Xt.transitional(Xt.boolean),forcedJSONParsing:Xt.transitional(Xt.boolean),clarifyTimeoutError:Xt.transitional(Xt.boolean)},!1),i!=null&&(V.isFunction(i)?n.paramsSerializer={serialize:i}:ji.assertOptions(i,{encode:Xt.function,serialize:Xt.function},!0)),ji.assertOptions(n,{baseUrl:Xt.spelling("baseURL"),withXsrfToken:Xt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=r&&V.merge(r.common,r[n.method]);r&&V.forEach(["delete","get","head","post","put","patch","common"],g=>{delete r[g]}),n.headers=Rt.concat(l,r);const s=[];let a=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(a=a&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,f=0,d;if(!a){const g=[$u.bind(this),void 0];for(g.unshift.apply(g,s),g.push.apply(g,c),d=g.length,u=Promise.resolve(n);f<d;)u=u.then(g[f++],g[f++]);return u}d=s.length;let h=n;for(f=0;f<d;){const g=s[f++],p=s[f++];try{h=g(h)}catch(v){p.call(this,v);break}}try{u=$u.call(this,h)}catch(g){return Promise.reject(g)}for(f=0,d=c.length;f<d;)u=u.then(c[f++],c[f++]);return u}getUri(t){t=eo(this.defaults,t);const n=Pd(t.baseURL,t.url);return Ed(n,t.params,t.paramsSerializer)}}V.forEach(["delete","get","head","options"],function(t){Wn.prototype[t]=function(n,o){return this.request(eo(o||{},{method:t,url:n,data:(o||{}).data}))}});V.forEach(["post","put","patch"],function(t){function n(o){return function(r,l,s){return this.request(eo(s||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:r,data:l}))}}Wn.prototype[t]=n(),Wn.prototype[t+"Form"]=n(!0)});class Is{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const o=this;this.promise.then(i=>{if(!o._listeners)return;let r=o._listeners.length;for(;r-- >0;)o._listeners[r](i);o._listeners=null}),this.promise.then=i=>{let r;const l=new Promise(s=>{o.subscribe(s),r=s}).then(i);return l.cancel=function(){o.unsubscribe(r)},l},t(function(r,l,s){o.reason||(o.reason=new Mo(r,l,s),n(o.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=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Is(function(i){t=i}),cancel:t}}}function Ty(e){return function(n){return e.apply(null,n)}}function qy(e){return V.isObject(e)&&e.isAxiosError===!0}const rs={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(rs).forEach(([e,t])=>{rs[t]=e});function Bd(e){const t=new Wn(e),n=gd(Wn.prototype.request,t);return V.extend(n,Wn.prototype,t,{allOwnKeys:!0}),V.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Bd(eo(e,i))},n}const Fe=Bd(wi);Fe.Axios=Wn;Fe.CanceledError=Mo;Fe.CancelToken=Is;Fe.isCancel=Rd;Fe.VERSION=Fd;Fe.toFormData=Nr;Fe.AxiosError=xe;Fe.Cancel=Fe.CanceledError;Fe.all=function(t){return Promise.all(t)};Fe.spread=Ty;Fe.isAxiosError=qy;Fe.mergeConfig=eo;Fe.AxiosHeaders=Rt;Fe.formToJSON=e=>qd(V.isHTMLForm(e)?new FormData(e):e);Fe.getAdapter=Dd.getAdapter;Fe.HttpStatusCode=rs;Fe.default=Fe;const jr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},Ry={data(){return{loading:!1,message:""}},methods:{async dumpDatabase(){this.loading=!0;try{const e=await Fe.post("http://localhost:3000/api/dump",{config:{host:this.$store.state.db.host,port:this.$store.state.db.port,user:this.$store.state.db.user,password:this.$store.state.db.password},database:this.$store.state.db.database});this.message=e.data.message}catch(e){this.message=e.response.data.message}finally{this.loading=!1}}}},Ay={key:1};function Py(e,t,n,o,i,r){return je(),ut(Dr,null,{default:Ee(()=>[ge(Ze,{onClick:r.dumpDatabase,label:"Dump Database",color:"primary"},null,8,["onClick"]),i.loading?(je(),ut(vn,{key:0})):mt("",!0),i.message?(je(),dn("div",Ay,gt(i.message),1)):mt("",!0)]),_:1})}const Oy=jr(Ry,[["render",Py]]),Ly=Ae({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const o=Re(),{proxy:{$q:i}}=o,r=l=>{n("click",l)};return()=>{if(e.props===void 0)return b("th",{class:e.autoWidth===!0?"q-table--col-auto-width":"",onClick:r},Ge(t.default));let l,s;const a=o.vnode.key;if(a){if(l=e.props.colsMap[a],l===void 0)return}else l=e.props.col;if(l.sortable===!0){const u=l.align==="right"?"unshift":"push";s=td(t.default,[]),s[u](b(lt,{class:l.__iconClass,name:i.iconSet.table.arrowUp}))}else s=Ge(t.default);const c={class:l.__thClass+(e.autoWidth===!0?" q-table--col-auto-width":""),style:l.headerStyle,onClick:u=>{l.sortable===!0&&e.props.sort(l),r(u)}};return b("th",c,s)}}}),Ct={dark:{type:Boolean,default:null}};function kt(e,t){return y(()=>e.dark===null?t.dark.isActive:e.dark)}const My={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},Sl={xs:2,sm:4,md:8,lg:16,xl:24},ls=Ae({name:"QSeparator",props:{...Ct,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=Re(),n=kt(e,t.proxy.$q),o=y(()=>e.vertical===!0?"vertical":"horizontal"),i=y(()=>` q-separator--${o.value}`),r=y(()=>e.inset!==!1?`${i.value}-${My[e.inset]}`:""),l=y(()=>`q-separator${i.value}${r.value}`+(e.color!==void 0?` bg-${e.color}`:"")+(n.value===!0?" q-separator--dark":"")),s=y(()=>{const a={};if(e.size!==void 0&&(a[e.vertical===!0?"width":"height"]=e.size),e.spaced!==!1){const c=e.spaced===!0?`${Sl.md}px`:e.spaced in Sl?`${Sl[e.spaced]}px`:e.spaced,u=e.vertical===!0?["Left","Right"]:["Top","Bottom"];a[`margin${u[0]}`]=a[`margin${u[1]}`]=c}return a});return()=>b("hr",{class:l.value,style:s.value,"aria-orientation":o.value})}}),Dy=["ul","ol"],Fy=Ae({name:"QList",props:{...Ct,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const n=Re(),o=kt(e,n.proxy.$q),i=y(()=>Dy.includes(e.tag)?null:"list"),r=y(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(o.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>b(e.tag,{class:r.value,role:i.value},Ge(t.default))}}),By=["horizontal","vertical","cell","none"],$d=Ae({name:"QMarkupTable",props:{...Ct,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>By.includes(e)}},setup(e,{slots:t}){const n=Re(),o=kt(e,n.proxy.$q),i=y(()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(o.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(e.dense===!0?" q-table--dense":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")+(e.square===!0?" q-table--square":"")+(e.wrapCells===!1?" q-table--no-wrap":""));return()=>b("div",{class:i.value},[b("table",{class:"q-table"},Ge(t.default))])}});function Nd(e,t){return b("div",e,[b("table",{class:"q-table"},t)])}let lr=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,lr=e.scrollLeft>=0,e.remove()}const Ht=1e3,$y=["start","center","end","start-force","center-force","end-force"],Vd=Array.prototype.filter,Ny=window.getComputedStyle(document.body).overflowAnchor===void 0?Eo:function(e,t){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const n=e.children||[];Vd.call(n,i=>i.dataset&&i.dataset.qVsAnchor!==void 0).forEach(i=>{delete i.dataset.qVsAnchor});const o=n[t];o&&o.dataset&&(o.dataset.qVsAnchor="")}))};function xo(e,t){return e+t}function _l(e,t,n,o,i,r,l,s){const a=e===window?document.scrollingElement||document.documentElement:e,c=i===!0?"offsetWidth":"offsetHeight",u={scrollStart:0,scrollViewSize:-l-s,scrollMaxSize:0,offsetStart:-l,offsetEnd:-s};if(i===!0?(e===window?(u.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,u.scrollViewSize+=document.documentElement.clientWidth):(u.scrollStart=a.scrollLeft,u.scrollViewSize+=a.clientWidth),u.scrollMaxSize=a.scrollWidth,r===!0&&(u.scrollStart=(lr===!0?u.scrollMaxSize-u.scrollViewSize:0)-u.scrollStart)):(e===window?(u.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,u.scrollViewSize+=document.documentElement.clientHeight):(u.scrollStart=a.scrollTop,u.scrollViewSize+=a.clientHeight),u.scrollMaxSize=a.scrollHeight),n!==null)for(let f=n.previousElementSibling;f!==null;f=f.previousElementSibling)f.classList.contains("q-virtual-scroll--skip")===!1&&(u.offsetStart+=f[c]);if(o!==null)for(let f=o.nextElementSibling;f!==null;f=f.nextElementSibling)f.classList.contains("q-virtual-scroll--skip")===!1&&(u.offsetEnd+=f[c]);if(t!==e){const f=a.getBoundingClientRect(),d=t.getBoundingClientRect();i===!0?(u.offsetStart+=d.left-f.left,u.offsetEnd-=d.width):(u.offsetStart+=d.top-f.top,u.offsetEnd-=d.height),e!==window&&(u.offsetStart+=u.scrollStart),u.offsetEnd+=u.scrollMaxSize-u.offsetStart}return u}function Vu(e,t,n,o){t==="end"&&(t=(e===window?document.body:e)[n===!0?"scrollWidth":"scrollHeight"]),e===window?n===!0?(o===!0&&(t=(lr===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):n===!0?(o===!0&&(t=(lr===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function Io(e,t,n,o){if(n>=o)return 0;const i=t.length,r=Math.floor(n/Ht),l=Math.floor((o-1)/Ht)+1;let s=e.slice(r,l).reduce(xo,0);return n%Ht!==0&&(s-=t.slice(r*Ht,n).reduce(xo,0)),o%Ht!==0&&o!==i&&(s-=t.slice(o,l*Ht).reduce(xo,0)),s}const Id={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},jd=Object.keys(Id),ss={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Id};function Hd({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:o}){const i=Re(),{props:r,emit:l,proxy:s}=i,{$q:a}=s;let c,u,f,d=[],h;const g=ae(0),p=ae(0),v=ae({}),q=ae(null),_=ae(null),E=ae(null),T=ae({from:0,to:0}),M=y(()=>r.tableColspan!==void 0?r.tableColspan:100);o===void 0&&(o=y(()=>r.virtualScrollItemSize));const I=y(()=>o.value+";"+r.virtualScrollHorizontal),W=y(()=>I.value+";"+r.virtualScrollSliceRatioBefore+";"+r.virtualScrollSliceRatioAfter);be(W,()=>{ee()}),be(I,Z);function Z(){ie(u,!0)}function A(P){ie(P===void 0?u:P)}function F(P,m){const $=t();if($==null||$.nodeType===8)return;const D=_l($,n(),q.value,_.value,r.virtualScrollHorizontal,a.lang.rtl,r.virtualScrollStickySizeStart,r.virtualScrollStickySizeEnd);f!==D.scrollViewSize&&ee(D.scrollViewSize),C($,D,Math.min(e.value-1,Math.max(0,parseInt(P,10)||0)),0,$y.indexOf(m)!==-1?m:u!==-1&&P>u?"end":"start")}function U(){const P=t();if(P==null||P.nodeType===8)return;const m=_l(P,n(),q.value,_.value,r.virtualScrollHorizontal,a.lang.rtl,r.virtualScrollStickySizeStart,r.virtualScrollStickySizeEnd),$=e.value-1,D=m.scrollMaxSize-m.offsetStart-m.offsetEnd-p.value;if(c===m.scrollStart)return;if(m.scrollMaxSize<=0){C(P,m,0,0);return}f!==m.scrollViewSize&&ee(m.scrollViewSize),J(T.value.from);const ne=Math.floor(m.scrollMaxSize-Math.max(m.scrollViewSize,m.offsetEnd)-Math.min(h[$],m.scrollViewSize/2));if(ne>0&&Math.ceil(m.scrollStart)>=ne){C(P,m,$,m.scrollMaxSize-m.offsetEnd-d.reduce(xo,0));return}let L=0,x=m.scrollStart-m.offsetStart,K=x;if(x<=D&&x+m.scrollViewSize>=g.value)x-=g.value,L=T.value.from,K=x;else for(let O=0;x>=d[O]&&L<$;O++)x-=d[O],L+=Ht;for(;x>0&&L<$;)x-=h[L],x>-m.scrollViewSize?(L++,K=x):K=h[L]+x;C(P,m,L,K)}function C(P,m,$,D,ne){const L=typeof ne=="string"&&ne.indexOf("-force")!==-1,x=L===!0?ne.replace("-force",""):ne,K=x!==void 0?x:"start";let O=Math.max(0,$-v.value[K]),Y=O+v.value.total;Y>e.value&&(Y=e.value,O=Math.max(0,Y-v.value.total)),c=m.scrollStart;const Se=O!==T.value.from||Y!==T.value.to;if(Se===!1&&x===void 0){Q($);return}const{activeElement:w}=document,S=E.value;Se===!0&&S!==null&&S!==w&&S.contains(w)===!0&&(S.addEventListener("focusout",N),setTimeout(()=>{S!==null&&S.removeEventListener("focusout",N)})),Ny(S,$-O);const R=x!==void 0?h.slice(O,$).reduce(xo,0):0;if(Se===!0){const j=Y>=T.value.from&&O<=T.value.to?T.value.to:Y;T.value={from:O,to:j},g.value=Io(d,h,0,O),p.value=Io(d,h,Y,e.value),requestAnimationFrame(()=>{T.value.to!==Y&&c===m.scrollStart&&(T.value={from:T.value.from,to:Y},p.value=Io(d,h,Y,e.value))})}requestAnimationFrame(()=>{if(c!==m.scrollStart)return;Se===!0&&J(O);const j=h.slice(O,$).reduce(xo,0),z=j+m.offsetStart+g.value,B=z+h[$];let X=z+D;if(x!==void 0){const oe=j-R,te=m.scrollStart+oe;X=L!==!0&&te<z&&B<te+m.scrollViewSize?te:x==="end"?B-m.scrollViewSize:z-(x==="start"?0:Math.round((m.scrollViewSize-h[$])/2))}c=X,Vu(P,X,r.virtualScrollHorizontal,a.lang.rtl),Q($)})}function J(P){const m=E.value;if(m){const $=Vd.call(m.children,O=>O.classList&&O.classList.contains("q-virtual-scroll--skip")===!1),D=$.length,ne=r.virtualScrollHorizontal===!0?O=>O.getBoundingClientRect().width:O=>O.offsetHeight;let L=P,x,K;for(let O=0;O<D;){for(x=ne($[O]),O++;O<D&&$[O].classList.contains("q-virtual-scroll--with-prev")===!0;)x+=ne($[O]),O++;K=x-h[L],K!==0&&(h[L]+=K,d[Math.floor(L/Ht)]+=K),L++}}}function N(){E.value!==null&&E.value!==void 0&&E.value.focus()}function ie(P,m){const $=1*o.value;(m===!0||Array.isArray(h)===!1)&&(h=[]);const D=h.length;h.length=e.value;for(let L=e.value-1;L>=D;L--)h[L]=$;const ne=Math.floor((e.value-1)/Ht);d=[];for(let L=0;L<=ne;L++){let x=0;const K=Math.min((L+1)*Ht,e.value);for(let O=L*Ht;O<K;O++)x+=h[O];d.push(x)}u=-1,c=void 0,g.value=Io(d,h,0,T.value.from),p.value=Io(d,h,T.value.to,e.value),P>=0?(J(T.value.from),He(()=>{F(P)})):se()}function ee(P){if(P===void 0&&typeof window<"u"){const x=t();x!=null&&x.nodeType!==8&&(P=_l(x,n(),q.value,_.value,r.virtualScrollHorizontal,a.lang.rtl,r.virtualScrollStickySizeStart,r.virtualScrollStickySizeEnd).scrollViewSize)}f=P;const m=parseFloat(r.virtualScrollSliceRatioBefore)||0,$=parseFloat(r.virtualScrollSliceRatioAfter)||0,D=1+m+$,ne=P===void 0||P<=0?1:Math.ceil(P/o.value),L=Math.max(1,ne,Math.ceil((r.virtualScrollSliceSize>0?r.virtualScrollSliceSize:10)/D));v.value={total:Math.ceil(L*D),start:Math.ceil(L*m),center:Math.ceil(L*(.5+m)),end:Math.ceil(L*(1+m)),view:ne}}function re(P,m){const $=r.virtualScrollHorizontal===!0?"width":"height",D={["--q-virtual-scroll-item-"+$]:o.value+"px"};return[P==="tbody"?b(P,{class:"q-virtual-scroll__padding",key:"before",ref:q},[b("tr",[b("td",{style:{[$]:`${g.value}px`,...D},colspan:M.value})])]):b(P,{class:"q-virtual-scroll__padding",key:"before",ref:q,style:{[$]:`${g.value}px`,...D}}),b(P,{class:"q-virtual-scroll__content",key:"content",ref:E,tabindex:-1},m.flat()),P==="tbody"?b(P,{class:"q-virtual-scroll__padding",key:"after",ref:_},[b("tr",[b("td",{style:{[$]:`${p.value}px`,...D},colspan:M.value})])]):b(P,{class:"q-virtual-scroll__padding",key:"after",ref:_,style:{[$]:`${p.value}px`,...D}})]}function Q(P){u!==P&&(r.onVirtualScroll!==void 0&&l("virtualScroll",{index:P,from:T.value.from,to:T.value.to-1,direction:P<u?"decrease":"increase",ref:s}),u=P)}ee();const se=Ls(U,a.platform.is.ios===!0?120:35);Tr(()=>{ee()});let me=!1;return Oo(()=>{me=!0}),kr(()=>{if(me!==!0)return;const P=t();c!==void 0&&P!==void 0&&P!==null&&P.nodeType!==8?Vu(P,c,r.virtualScrollHorizontal,a.lang.rtl):F(u)}),et(()=>{se.cancel()}),Object.assign(s,{scrollTo:F,reset:Z,refresh:A}),{virtualScrollSliceRange:T,virtualScrollSliceSizeComputed:v,setVirtualScrollSize:ee,onVirtualScrollEvt:se,localResetVirtualScroll:ie,padVirtualScroll:re,scrollTo:F,reset:Z,refresh:A}}const js=[Element,String],Vy=[null,document,document.body,document.scrollingElement,document.documentElement];function Hs(e,t){let n=Np(t);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return Vy.includes(n)?window:n}function Iy(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function jy(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let qi;function Hy(){if(qi!==void 0)return qi;const e=document.createElement("p"),t=document.createElement("div");Zl(e,{width:"100%",height:"200px"}),Zl(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let o=e.offsetWidth;return n===o&&(o=t.clientWidth),t.remove(),qi=n-o,qi}function zy(e,t=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"]))}const Uy={list:Fy,table:$d},Ky=["list","table","__qtable"],Wy=Ae({name:"QVirtualScroll",props:{...ss,type:{type:String,default:"list",validator:e=>Ky.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:js},setup(e,{slots:t,attrs:n}){let o;const i=ae(null),r=y(()=>e.itemsSize>=0&&e.itemsFn!==void 0?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0),{virtualScrollSliceRange:l,localResetVirtualScroll:s,padVirtualScroll:a,onVirtualScrollEvt:c}=Hd({virtualScrollLength:r,getVirtualScrollTarget:g,getVirtualScrollEl:h}),u=y(()=>{if(r.value===0)return[];const _=(E,T)=>({index:l.value.from+T,item:E});return e.itemsFn===void 0?e.items.slice(l.value.from,l.value.to).map(_):e.itemsFn(l.value.from,l.value.to-l.value.from).map(_)}),f=y(()=>"q-virtual-scroll q-virtual-scroll"+(e.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(e.scrollTarget!==void 0?"":" scroll")),d=y(()=>e.scrollTarget!==void 0?{}:{tabindex:0});be(r,()=>{s()}),be(()=>e.scrollTarget,()=>{v(),p()});function h(){return i.value.$el||i.value}function g(){return o}function p(){o=Hs(h(),e.scrollTarget),o.addEventListener("scroll",c,ct.passive)}function v(){o!==void 0&&(o.removeEventListener("scroll",c,ct.passive),o=void 0)}function q(){let _=a(e.type==="list"?"div":"tbody",u.value.map(t.default));return t.before!==void 0&&(_=t.before().concat(_)),Ut(t.after,_)}return Tr(()=>{s()}),rn(()=>{p()}),kr(()=>{p()}),Oo(()=>{v()}),et(()=>{v()}),()=>{if(t.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return e.type==="__qtable"?Nd({ref:i,class:"q-table__middle "+f.value},q()):b(Uy[e.type],{...n,ref:i,class:[n.class,f.value],...d.value},q)}}});let xl,Ri=0;const at=new Array(256);for(let e=0;e<256;e++)at[e]=(e+256).toString(16).substring(1);const Qy=(()=>{const e=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return t=>{const n=[];for(let o=t;o>0;o--)n.push(Math.floor(Math.random()*256));return n}})(),Iu=4096;function as(){(xl===void 0||Ri+16>Iu)&&(Ri=0,xl=Qy(Iu));const e=Array.prototype.slice.call(xl,Ri,Ri+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,at[e[0]]+at[e[1]]+at[e[2]]+at[e[3]]+"-"+at[e[4]]+at[e[5]]+"-"+at[e[6]]+at[e[7]]+"-"+at[e[8]]+at[e[9]]+"-"+at[e[10]]+at[e[11]]+at[e[12]]+at[e[13]]+at[e[14]]+at[e[15]]}function Gy(e){return e??null}function ju(e,t){return e??(t===!0?`f_${as()}`:null)}function Jy({getValue:e,required:t=!0}={}){if(Rn.value===!0){const n=ae(e!==void 0?Gy(e()):null);return t===!0&&n.value===null&&rn(()=>{n.value=`f_${as()}`}),e!==void 0&&be(e,o=>{n.value=ju(o,t)}),n}return e!==void 0?y(()=>ju(e(),t)):ae(`f_${as()}`)}const Hu=/^on[A-Z]/;function Xy(){const{attrs:e,vnode:t}=Re(),n={listeners:ae({}),attributes:ae({})};function o(){const i={},r={};for(const l in e)l!=="class"&&l!=="style"&&Hu.test(l)===!1&&(i[l]=e[l]);for(const l in t.props)Hu.test(l)===!0&&(r[l]=t.props[l]);n.attributes.value=i,n.listeners.value=r}return qr(o),o(),n}function Yy({validate:e,resetValidation:t,requiresQForm:n}){const o=Nt(gv,!1);if(o!==!1){const{props:i,proxy:r}=Re();Object.assign(r,{validate:e,resetValidation:t}),be(()=>i.disable,l=>{l===!0?(typeof t=="function"&&t(),o.unbindComponent(r)):o.bindComponent(r)}),rn(()=>{i.disable!==!0&&o.bindComponent(r)}),et(()=>{i.disable!==!0&&o.unbindComponent(r)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const zu=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Uu=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Ku=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Ai=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,Pi=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,Cl={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>zu.test(e),hexaColor:e=>Uu.test(e),hexOrHexaColor:e=>Ku.test(e),rgbColor:e=>Ai.test(e),rgbaColor:e=>Pi.test(e),rgbOrRgbaColor:e=>Ai.test(e)||Pi.test(e),hexOrRgbColor:e=>zu.test(e)||Ai.test(e),hexaOrRgbaColor:e=>Uu.test(e)||Pi.test(e),anyColor:e=>Ku.test(e)||Ai.test(e)||Pi.test(e)},Zy=[!0,!1,"ondemand"],e0={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>Zy.includes(e)}};function t0(e,t){const{props:n,proxy:o}=Re(),i=ae(!1),r=ae(null),l=ae(!1);Yy({validate:p,resetValidation:g});let s=0,a;const c=y(()=>n.rules!==void 0&&n.rules!==null&&n.rules.length!==0),u=y(()=>n.disable!==!0&&c.value===!0&&t.value===!1),f=y(()=>n.error===!0||i.value===!0),d=y(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:r.value);be(()=>n.modelValue,()=>{l.value=!0,u.value===!0&&n.lazyRules===!1&&v()});function h(){n.lazyRules!=="ondemand"&&u.value===!0&&l.value===!0&&v()}be(()=>n.reactiveRules,q=>{q===!0?a===void 0&&(a=be(()=>n.rules,h,{immediate:!0,deep:!0})):a!==void 0&&(a(),a=void 0)},{immediate:!0}),be(()=>n.lazyRules,h),be(e,q=>{q===!0?l.value=!0:u.value===!0&&n.lazyRules!=="ondemand"&&v()});function g(){s++,t.value=!1,l.value=!1,i.value=!1,r.value=null,v.cancel()}function p(q=n.modelValue){if(n.disable===!0||c.value===!1)return!0;const _=++s,E=t.value!==!0?()=>{l.value=!0}:()=>{},T=(I,W)=>{I===!0&&E(),i.value=I,r.value=W||null,t.value=!1},M=[];for(let I=0;I<n.rules.length;I++){const W=n.rules[I];let Z;if(typeof W=="function"?Z=W(q,Cl):typeof W=="string"&&Cl[W]!==void 0&&(Z=Cl[W](q)),Z===!1||typeof Z=="string")return T(!0,Z),!1;Z!==!0&&Z!==void 0&&M.push(Z)}return M.length===0?(T(!1),!0):(t.value=!0,Promise.all(M).then(I=>{if(I===void 0||Array.isArray(I)===!1||I.length===0)return _===s&&T(!1),!0;const W=I.find(Z=>Z===!1||typeof Z=="string");return _===s&&T(W!==void 0,W),W===void 0},I=>(_===s&&(console.error(I),T(!0)),!1)))}const v=Ls(p,0);return et(()=>{a!==void 0&&a(),v.cancel()}),Object.assign(o,{resetValidation:g,validate:p}),Tt(o,"hasError",()=>f.value),{isDirtyModel:l,hasRules:c,hasError:f,errorMessage:d,validate:p,resetValidation:g}}let zn=[],mi=[];function zd(e){mi=mi.filter(t=>t!==e)}function n0(e){zd(e),mi.push(e)}function Wu(e){zd(e),mi.length===0&&zn.length!==0&&(zn[zn.length-1](),zn=[])}function Hr(e){mi.length===0?e():zn.push(e)}function o0(e){zn=zn.filter(t=>t!==e)}function vi(e){return e!=null&&(""+e).length!==0}const i0={...Ct,...e0,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},zr={...i0,maxlength:[Number,String]},zs=["update:modelValue","clear","focus","blur"];function Us({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){const{props:o,proxy:i}=Re(),r=kt(o,i.$q),l=Jy({required:e,getValue:()=>o.for});return{requiredForAttr:e,changeEvent:n,tag:t===!0?y(()=>o.tag):{value:"label"},isDark:r,editable:y(()=>o.disable!==!0&&o.readonly!==!0),innerLoading:ae(!1),focused:ae(!1),hasPopupOpen:!1,splitAttrs:Xy(),targetUid:l,rootRef:ae(null),targetRef:ae(null),controlRef:ae(null)}}function Ks(e){const{props:t,emit:n,slots:o,attrs:i,proxy:r}=Re(),{$q:l}=r;let s=null;e.hasValue===void 0&&(e.hasValue=y(()=>vi(t.modelValue))),e.emitValue===void 0&&(e.emitValue=Q=>{n("update:modelValue",Q)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:A,onFocusout:F}),Object.assign(e,{clearValue:U,onControlFocusin:A,onControlFocusout:F,focus:W}),e.computedCounter===void 0&&(e.computedCounter=y(()=>{if(t.counter!==!1){const Q=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,se=t.maxlength!==void 0?t.maxlength:t.maxValues;return Q+(se!==void 0?" / "+se:"")}}));const{isDirtyModel:a,hasRules:c,hasError:u,errorMessage:f,resetValidation:d}=t0(e.focused,e.innerLoading),h=e.floatingLabel!==void 0?y(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):y(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),g=y(()=>t.bottomSlots===!0||t.hint!==void 0||c.value===!0||t.counter===!0||t.error!==null),p=y(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),v=y(()=>`q-field row no-wrap items-start q-field--${p.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(h.value===!0?" q-field--float":"")+(_.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(u.value===!0?" q-field--error":"")+(u.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&g.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),q=y(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(u.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),_=y(()=>t.labelSlot===!0||t.label!==void 0),E=y(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&u.value!==!0?` text-${t.labelColor}`:"")),T=y(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:h.value,modelValue:t.modelValue,emitValue:e.emitValue})),M=y(()=>{const Q={};return e.targetUid.value&&(Q.for=e.targetUid.value),t.disable===!0&&(Q["aria-disabled"]="true"),Q});function I(){const Q=document.activeElement;let se=e.targetRef!==void 0&&e.targetRef.value;se&&(Q===null||Q.id!==e.targetUid.value)&&(se.hasAttribute("tabindex")===!0||(se=se.querySelector("[tabindex]")),se&&se!==Q&&se.focus({preventScroll:!0}))}function W(){Hr(I)}function Z(){o0(I);const Q=document.activeElement;Q!==null&&e.rootRef.value.contains(Q)&&Q.blur()}function A(Q){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n("focus",Q))}function F(Q,se){s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,n("blur",Q)),se!==void 0&&se())})}function U(Q){We(Q),l.platform.is.mobile!==!0?(e.targetRef!==void 0&&e.targetRef.value||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),t.type==="file"&&(e.inputRef.value.value=null),n("update:modelValue",null),e.changeEvent===!0&&n("change",null),n("clear",t.modelValue),He(()=>{const se=a.value;d(),a.value=se})}function C(Q){[13,32].includes(Q.keyCode)&&U(Q)}function J(){const Q=[];return o.prepend!==void 0&&Q.push(b("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:zt},o.prepend())),Q.push(b("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},N())),u.value===!0&&t.noErrorIcon===!1&&Q.push(ee("error",[b(lt,{name:l.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?Q.push(ee("inner-loading-append",o.loading!==void 0?o.loading():[b(vn,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&Q.push(ee("inner-clearable-append",[b(lt,{class:"q-field__focusable-action",name:t.clearIcon||l.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":l.lang.label.clear,onKeyup:C,onClick:U})])),o.append!==void 0&&Q.push(b("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:zt},o.append())),e.getInnerAppend!==void 0&&Q.push(ee("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&Q.push(e.getControlChild()),Q}function N(){const Q=[];return t.prefix!==void 0&&t.prefix!==null&&Q.push(b("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&Q.push(e.getShadowControl()),e.getControl!==void 0?Q.push(e.getControl()):o.rawControl!==void 0?Q.push(o.rawControl()):o.control!==void 0&&Q.push(b("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},o.control(T.value))),_.value===!0&&Q.push(b("div",{class:E.value},Ge(o.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&Q.push(b("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),Q.concat(Ge(o.default))}function ie(){let Q,se;u.value===!0?f.value!==null?(Q=[b("div",{role:"alert"},f.value)],se=`q--slot-error-${f.value}`):(Q=Ge(o.error),se="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(Q=[b("div",t.hint)],se=`q--slot-hint-${t.hint}`):(Q=Ge(o.hint),se="q--slot-hint"));const me=t.counter===!0||o.counter!==void 0;if(t.hideBottomSpace===!0&&me===!1&&Q===void 0)return;const P=b("div",{key:se,class:"q-field__messages col"},Q);return b("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:zt},[t.hideBottomSpace===!0?P:b(Zn,{name:"q-transition--field-message"},()=>P),me===!0?b("div",{class:"q-field__counter"},o.counter!==void 0?o.counter():e.computedCounter.value):null])}function ee(Q,se){return se===null?null:b("div",{key:Q,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},se)}let re=!1;return Oo(()=>{re=!0}),kr(()=>{re===!0&&t.autofocus===!0&&r.focus()}),t.autofocus===!0&&rn(()=>{r.focus()}),et(()=>{s!==null&&clearTimeout(s)}),Object.assign(r,{focus:W,blur:Z}),function(){const se=e.getControl===void 0&&o.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...M.value}:M.value;return b(e.tag.value,{ref:e.rootRef,class:[v.value,i.class],style:i.style,...se},[o.before!==void 0?b("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:zt},o.before()):null,b("div",{class:"q-field__inner relative-position col self-stretch"},[b("div",{ref:e.controlRef,class:q.value,tabindex:-1,...e.controlEvents},J()),g.value===!0?ie():null]),o.after!==void 0?b("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:zt},o.after()):null])}}const r0=Ae({name:"QField",inheritAttrs:!1,props:{...zr,tag:{type:String,default:"label"}},emits:zs,setup(){return Ks(Us({tagProp:!0}))}}),l0={xs:8,sm:10,md:14,lg:20,xl:24},s0=Ae({name:"QChip",props:{...Ct,...no,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=Re(),i=kt(e,o),r=oo(e,l0),l=y(()=>e.selected===!0||e.icon!==void 0),s=y(()=>e.selected===!0?e.iconSelected||o.iconSet.chip.selected:e.icon),a=y(()=>e.iconRemove||o.iconSet.chip.remove),c=y(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),u=y(()=>{const v=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(v?` text-${v} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(c.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(i.value===!0?" q-chip--dark q-dark":"")}),f=y(()=>{const v=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},q={...v,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||o.lang.label.remove};return{chip:v,remove:q}});function d(v){v.keyCode===13&&h(v)}function h(v){e.disable||(n("update:selected",!e.selected),n("click",v))}function g(v){(v.keyCode===void 0||v.keyCode===13)&&(We(v),e.disable===!1&&(n("update:modelValue",!1),n("remove")))}function p(){const v=[];c.value===!0&&v.push(b("div",{class:"q-focus-helper"})),l.value===!0&&v.push(b(lt,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const q=e.label!==void 0?[b("div",{class:"ellipsis"},[e.label])]:void 0;return v.push(b("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},nd(t.default,q))),e.iconRight&&v.push(b(lt,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&v.push(b(lt,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:a.value,...f.value.remove,onClick:g,onKeyup:g})),v}return()=>{if(e.modelValue===!1)return;const v={class:u.value,style:r.value};return c.value===!0&&Object.assign(v,f.value.chip,{onClick:h,onKeyup:d}),Rp("div",v,p(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[sd,e.ripple]])}}}),a0=Ae({name:"QItem",props:{...Ct,...Up,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=Re(),i=kt(e,o),{hasLink:r,linkAttrs:l,linkClass:s,linkTag:a,navigateOnClick:c}=hd(),u=ae(null),f=ae(null),d=y(()=>e.clickable===!0||r.value===!0||e.tag==="label"),h=y(()=>e.disable!==!0&&d.value===!0),g=y(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(i.value===!0?" q-item--dark":"")+(r.value===!0&&e.active===null?s.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(h.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),p=y(()=>e.insetLevel===void 0?null:{["padding"+(o.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function v(E){h.value===!0&&(f.value!==null&&(E.qKeyEvent!==!0&&document.activeElement===u.value?f.value.focus():document.activeElement===f.value&&u.value.focus()),c(E))}function q(E){if(h.value===!0&&mn(E,[13,32])===!0){We(E),E.qKeyEvent=!0;const T=new MouseEvent("click",E);T.qKeyEvent=!0,u.value.dispatchEvent(T)}n("keyup",E)}function _(){const E=td(t.default,[]);return h.value===!0&&E.unshift(b("div",{class:"q-focus-helper",tabindex:-1,ref:f})),E}return()=>{const E={ref:u,class:g.value,style:p.value,role:"listitem",onClick:v,onKeyup:q};return h.value===!0?(E.tabindex=e.tabindex||"0",Object.assign(E,l.value)):d.value===!0&&(E["aria-disabled"]="true"),b(a.value,E,_())}}}),u0=Ae({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=y(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>b("div",{class:n.value},Ge(t.default))}}),c0=Ae({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=y(()=>parseInt(e.lines,10)),o=y(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(n.value===1?" ellipsis":"")),i=y(()=>e.lines!==void 0&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null);return()=>b("div",{style:i.value,class:o.value},Ge(t.default))}});function us(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),er.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const Ud={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},f0={...Ud,contextMenu:Boolean};function Kd({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:o,proxy:i,emit:r}=Re(),l=ae(null);let s=null;function a(h){return l.value===null?!1:h===void 0||h.touches===void 0||h.touches.length<=1}const c={};n===void 0&&(Object.assign(c,{hide(h){i.hide(h)},toggle(h){i.toggle(h),h.qAnchorHandled=!0},toggleKey(h){mn(h,13)===!0&&c.toggle(h)},contextClick(h){i.hide(h),zt(h),He(()=>{i.show(h),h.qAnchorHandled=!0})},prevent:zt,mobileTouch(h){if(c.mobileCleanup(h),a(h)!==!0)return;i.hide(h),l.value.classList.add("non-selectable");const g=h.target;ci(c,"anchor",[[g,"touchmove","mobileCleanup","passive"],[g,"touchend","mobileCleanup","passive"],[g,"touchcancel","mobileCleanup","passive"],[l.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,i.show(h),h.qAnchorHandled=!0},300)},mobileCleanup(h){l.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&h!==void 0&&us()}}),n=function(h=o.contextMenu){if(o.noParentEvent===!0||l.value===null)return;let g;h===!0?i.$q.platform.is.mobile===!0?g=[[l.value,"touchstart","mobileTouch","passive"]]:g=[[l.value,"mousedown","hide","passive"],[l.value,"contextmenu","contextClick","notPassive"]]:g=[[l.value,"click","toggle","passive"],[l.value,"keyup","toggleKey","passive"]],ci(c,"anchor",g)});function u(){tr(c,"anchor")}function f(h){for(l.value=h;l.value.classList.contains("q-anchor--skip");)l.value=l.value.parentNode;n()}function d(){if(o.target===!1||o.target===""||i.$el.parentNode===null)l.value=null;else if(o.target===!0)f(i.$el.parentNode);else{let h=o.target;if(typeof o.target=="string")try{h=document.querySelector(o.target)}catch{h=void 0}h!=null?(l.value=h.$el||h,n()):(l.value=null,console.error(`Anchor: target "${o.target}" not found`))}}return be(()=>o.contextMenu,h=>{l.value!==null&&(u(),n(h))}),be(()=>o.target,()=>{l.value!==null&&u(),d()}),be(()=>o.noParentEvent,h=>{l.value!==null&&(h===!0?u():n())}),rn(()=>{d(),t!==!0&&o.modelValue===!0&&l.value===null&&r("update:modelValue",!1)}),et(()=>{s!==null&&clearTimeout(s),u()}),{anchorEl:l,canShow:a,anchorEvents:c}}function Wd(e,t){const n=ae(null);let o;function i(s,a){const c=`${a!==void 0?"add":"remove"}EventListener`,u=a!==void 0?a:o;s!==window&&s[c]("scroll",u,ct.passive),window[c]("scroll",u,ct.passive),o=a}function r(){n.value!==null&&(i(n.value),n.value=null)}const l=be(()=>e.noParentEvent,()=>{n.value!==null&&(r(),t())});return et(l),{localScrollTarget:n,unconfigureScrollTarget:r,changeScrollEvent:i}}const Ws={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},Qs=["beforeShow","show","beforeHide","hide"];function Gs({showing:e,canShow:t,hideOnRouteChange:n,handleShow:o,handleHide:i,processOnMount:r}){const l=Re(),{props:s,emit:a,proxy:c}=l;let u;function f(_){e.value===!0?g(_):d(_)}function d(_){if(s.disable===!0||_!==void 0&&_.qAnchorHandled===!0||t!==void 0&&t(_)!==!0)return;const E=s["onUpdate:modelValue"]!==void 0;E===!0&&(a("update:modelValue",!0),u=_,He(()=>{u===_&&(u=void 0)})),(s.modelValue===null||E===!1)&&h(_)}function h(_){e.value!==!0&&(e.value=!0,a("beforeShow",_),o!==void 0?o(_):a("show",_))}function g(_){if(s.disable===!0)return;const E=s["onUpdate:modelValue"]!==void 0;E===!0&&(a("update:modelValue",!1),u=_,He(()=>{u===_&&(u=void 0)})),(s.modelValue===null||E===!1)&&p(_)}function p(_){e.value!==!1&&(e.value=!1,a("beforeHide",_),i!==void 0?i(_):a("hide",_))}function v(_){s.disable===!0&&_===!0?s["onUpdate:modelValue"]!==void 0&&a("update:modelValue",!1):_===!0!==e.value&&(_===!0?h:p)(u)}be(()=>s.modelValue,v),n!==void 0&&Bs(l)===!0&&be(()=>c.$route.fullPath,()=>{n.value===!0&&e.value===!0&&g()}),r===!0&&rn(()=>{v(s.modelValue)});const q={show:d,hide:g,toggle:f};return Object.assign(c,q),q}let d0=1,h0=document.body;function Js(e,t){const n=document.createElement("div");if(n.id=t!==void 0?`q-portal--${t}--${d0++}`:e,or.globalNodes!==void 0){const o=or.globalNodes.class;o!==void 0&&(n.className=o)}return h0.appendChild(n),n}function Qd(e){e.remove()}const Co=[];function g0(e){return Co.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function Gd(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Ni(e)}else if(e.__qPortal===!0){const n=Ni(e);return n!==void 0&&n.$options.name==="QPopupProxy"?(e.hide(t),n):e}e=Ni(e)}while(e!=null)}function m0(e,t,n){for(;n!==0&&e!==void 0&&e!==null;){if(e.__qPortal===!0){if(n--,e.$options.name==="QMenu"){e=Gd(e,t);continue}e.hide(t)}e=Ni(e)}}const v0=Ae({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function p0(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function Xs(e,t,n,o){const i=ae(!1),r=ae(!1);let l=null;const s={},a=o==="dialog"&&p0(e);function c(f){if(f===!0){Wu(s),r.value=!0;return}r.value=!1,i.value===!1&&(a===!1&&l===null&&(l=Js(!1,o)),i.value=!0,Co.push(e.proxy),n0(s))}function u(f){if(r.value=!1,f!==!0)return;Wu(s),i.value=!1;const d=Co.indexOf(e.proxy);d!==-1&&Co.splice(d,1),l!==null&&(Qd(l),l=null)}return Rs(()=>{u(!0)}),e.proxy.__qPortal=!0,Tt(e.proxy,"contentEl",()=>t.value),{showPortal:c,hidePortal:u,portalIsActive:i,portalIsAccessible:r,renderPortal:()=>a===!0?n():i.value===!0?[b(dg,{to:l},b(v0,n))]:void 0}}const ni={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function Ys(e,t=()=>{},n=()=>{}){return{transitionProps:y(()=>{const o=`q-transition--${e.transitionShow||t()}`,i=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${i}-leave-from`,leaveActiveClass:`${i}-leave-active`,leaveToClass:`${i}-leave-to`}}),transitionStyle:y(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function Zs(){let e;const t=Re();function n(){e=void 0}return Oo(n),et(n),{removeTick:n,registerTick(o){e=o,He(()=>{e===o&&(fd(t)===!1&&e(),e=void 0)})}}}function ea(){let e=null;const t=Re();function n(){e!==null&&(clearTimeout(e),e=null)}return Oo(n),et(n),{removeTimeout:n,registerTimeout(o,i){n(),fd(t)===!1&&(e=setTimeout(()=>{e=null,o()},i))}}}const Qn=[];let Ro;function b0(e){Ro=e.keyCode===27}function y0(){Ro===!0&&(Ro=!1)}function w0(e){Ro===!0&&(Ro=!1,mn(e,27)===!0&&Qn[Qn.length-1](e))}function Jd(e){window[e]("keydown",b0),window[e]("blur",y0),window[e]("keyup",w0),Ro=!1}function Xd(e){nt.is.desktop===!0&&(Qn.push(e),Qn.length===1&&Jd("addEventListener"))}function sr(e){const t=Qn.indexOf(e);t!==-1&&(Qn.splice(t,1),Qn.length===0&&Jd("removeEventListener"))}const Gn=[];function Yd(e){Gn[Gn.length-1](e)}function Zd(e){nt.is.desktop===!0&&(Gn.push(e),Gn.length===1&&document.body.addEventListener("focusin",Yd))}function cs(e){const t=Gn.indexOf(e);t!==-1&&(Gn.splice(t,1),Gn.length===0&&document.body.removeEventListener("focusin",Yd))}const{notPassiveCapture:ar}=ct,Jn=[];function ur(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let n=Co.length-1;for(;n>=0;){const o=Co[n].$;if(o.type.name==="QTooltip"){n--;continue}if(o.type.name!=="QDialog")break;if(o.props.seamless!==!0)return;n--}for(let o=Jn.length-1;o>=0;o--){const i=Jn[o];if((i.anchorEl.value===null||i.anchorEl.value.contains(t)===!1)&&(t===document.body||i.innerRef.value!==null&&i.innerRef.value.contains(t)===!1))e.qClickOutside=!0,i.onClickOutside(e);else return}}function eh(e){Jn.push(e),Jn.length===1&&(document.addEventListener("mousedown",ur,ar),document.addEventListener("touchstart",ur,ar))}function cr(e){const t=Jn.findIndex(n=>n===e);t!==-1&&(Jn.splice(t,1),Jn.length===0&&(document.removeEventListener("mousedown",ur,ar),document.removeEventListener("touchstart",ur,ar)))}let Qu,Gu;function fr(e){const t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function th(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const fs={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{fs[`${e}#ltr`]=e,fs[`${e}#rtl`]=e});function dr(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:fs[`${n[1]}#${t===!0?"rtl":"ltr"}`]}}function S0(e,t){let{top:n,left:o,right:i,bottom:r,width:l,height:s}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],o-=t[0],r+=t[1],i+=t[0],l+=t[0],s+=t[1]),{top:n,bottom:r,height:s,left:o,right:i,width:l,middle:o+(i-o)/2,center:n+(r-n)/2}}function _0(e,t,n){let{top:o,left:i}=e.getBoundingClientRect();return o+=t.top,i+=t.left,n!==void 0&&(o+=n[1],i+=n[0]),{top:o,bottom:o+1,height:1,left:i,right:i+1,width:1,middle:i,center:o}}function x0(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Ju(e,t,n,o){return{top:e[n.vertical]-t[o.vertical],left:e[n.horizontal]-t[o.horizontal]}}function ta(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{ta(e,t+1)},10);return}const{targetEl:n,offset:o,anchorEl:i,anchorOrigin:r,selfOrigin:l,absoluteOffset:s,fit:a,cover:c,maxHeight:u,maxWidth:f}=e;if(nt.is.ios===!0&&window.visualViewport!==void 0){const I=document.body.style,{offsetLeft:W,offsetTop:Z}=window.visualViewport;W!==Qu&&(I.setProperty("--q-pe-left",W+"px"),Qu=W),Z!==Gu&&(I.setProperty("--q-pe-top",Z+"px"),Gu=Z)}const{scrollLeft:d,scrollTop:h}=n,g=s===void 0?S0(i,c===!0?[0,0]:o):_0(i,s,o);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:f,maxHeight:u,visibility:"visible"});const{offsetWidth:p,offsetHeight:v}=n,{elWidth:q,elHeight:_}=a===!0||c===!0?{elWidth:Math.max(g.width,p),elHeight:c===!0?Math.max(g.height,v):v}:{elWidth:p,elHeight:v};let E={maxWidth:f,maxHeight:u};(a===!0||c===!0)&&(E.minWidth=g.width+"px",c===!0&&(E.minHeight=g.height+"px")),Object.assign(n.style,E);const T=x0(q,_);let M=Ju(g,T,r,l);if(s===void 0||o===void 0)kl(M,g,T,r,l);else{const{top:I,left:W}=M;kl(M,g,T,r,l);let Z=!1;if(M.top!==I){Z=!0;const A=2*o[1];g.center=g.top-=A,g.bottom-=A+2}if(M.left!==W){Z=!0;const A=2*o[0];g.middle=g.left-=A,g.right-=A+2}Z===!0&&(M=Ju(g,T,r,l),kl(M,g,T,r,l))}E={top:M.top+"px",left:M.left+"px"},M.maxHeight!==void 0&&(E.maxHeight=M.maxHeight+"px",g.height>M.maxHeight&&(E.minHeight=E.maxHeight)),M.maxWidth!==void 0&&(E.maxWidth=M.maxWidth+"px",g.width>M.maxWidth&&(E.minWidth=E.maxWidth)),Object.assign(n.style,E),n.scrollTop!==h&&(n.scrollTop=h),n.scrollLeft!==d&&(n.scrollLeft=d)}function kl(e,t,n,o,i){const r=n.bottom,l=n.right,s=Hy(),a=window.innerHeight-s,c=document.body.clientWidth;if(e.top<0||e.top+r>a)if(i.vertical==="center")e.top=t[o.vertical]>a/2?Math.max(0,a-r):0,e.maxHeight=Math.min(r,a);else if(t[o.vertical]>a/2){const u=Math.min(a,o.vertical==="center"?t.center:o.vertical===i.vertical?t.bottom:t.top);e.maxHeight=Math.min(r,u),e.top=Math.max(0,u-r)}else e.top=Math.max(0,o.vertical==="center"?t.center:o.vertical===i.vertical?t.top:t.bottom),e.maxHeight=Math.min(r,a-e.top);if(e.left<0||e.left+l>c)if(e.maxWidth=Math.min(l,c),i.horizontal==="middle")e.left=t[o.horizontal]>c/2?Math.max(0,c-l):0;else if(t[o.horizontal]>c/2){const u=Math.min(c,o.horizontal==="middle"?t.middle:o.horizontal===i.horizontal?t.right:t.left);e.maxWidth=Math.min(l,u),e.left=Math.max(0,u-e.maxWidth)}else e.left=Math.max(0,o.horizontal==="middle"?t.middle:o.horizontal===i.horizontal?t.left:t.right),e.maxWidth=Math.min(l,c-e.left)}const C0=Ae({name:"QMenu",inheritAttrs:!1,props:{...f0,...Ws,...Ct,...ni,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:fr},self:{type:String,validator:fr},offset:{type:Array,validator:th},scrollTarget:js,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...Qs,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){let i=null,r,l,s;const a=Re(),{proxy:c}=a,{$q:u}=c,f=ae(null),d=ae(!1),h=y(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),g=kt(e,u),{registerTick:p,removeTick:v}=Zs(),{registerTimeout:q}=ea(),{transitionProps:_,transitionStyle:E}=Ys(e),{localScrollTarget:T,changeScrollEvent:M,unconfigureScrollTarget:I}=Wd(e,$),{anchorEl:W,canShow:Z}=Kd({showing:d}),{hide:A}=Gs({showing:d,canShow:Z,handleShow:me,handleHide:P,hideOnRouteChange:h,processOnMount:!0}),{showPortal:F,hidePortal:U,renderPortal:C}=Xs(a,f,K,"menu"),J={anchorEl:W,innerRef:f,onClickOutside(O){if(e.persistent!==!0&&d.value===!0)return A(O),(O.type==="touchstart"||O.target.classList.contains("q-dialog__backdrop"))&&We(O),!0}},N=y(()=>dr(e.anchor||(e.cover===!0?"center middle":"bottom start"),u.lang.rtl)),ie=y(()=>e.cover===!0?N.value:dr(e.self||"top start",u.lang.rtl)),ee=y(()=>(e.square===!0?" q-menu--square":"")+(g.value===!0?" q-menu--dark q-dark":"")),re=y(()=>e.autoClose===!0?{onClick:D}:{}),Q=y(()=>d.value===!0&&e.persistent!==!0);be(Q,O=>{O===!0?(Xd(L),eh(J)):(sr(L),cr(J))});function se(){Hr(()=>{let O=f.value;O&&O.contains(document.activeElement)!==!0&&(O=O.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||O.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||O.querySelector("[autofocus], [data-autofocus]")||O,O.focus({preventScroll:!0}))})}function me(O){if(i=e.noRefocus===!1?document.activeElement:null,Zd(ne),F(),$(),r=void 0,O!==void 0&&(e.touchPosition||e.contextMenu)){const Y=Ff(O);if(Y.left!==void 0){const{top:Se,left:w}=W.value.getBoundingClientRect();r={left:Y.left-w,top:Y.top-Se}}}l===void 0&&(l=be(()=>u.screen.width+"|"+u.screen.height+"|"+e.self+"|"+e.anchor+"|"+u.lang.rtl,x)),e.noFocus!==!0&&document.activeElement.blur(),p(()=>{x(),e.noFocus!==!0&&se()}),q(()=>{u.platform.is.ios===!0&&(s=e.autoClose,f.value.click()),x(),F(!0),n("show",O)},e.transitionDuration)}function P(O){v(),U(),m(!0),i!==null&&(O===void 0||O.qClickOutside!==!0)&&(((O&&O.type.indexOf("key")===0?i.closest('[tabindex]:not([tabindex^="-"])'):void 0)||i).focus(),i=null),q(()=>{U(!0),n("hide",O)},e.transitionDuration)}function m(O){r=void 0,l!==void 0&&(l(),l=void 0),(O===!0||d.value===!0)&&(cs(ne),I(),cr(J),sr(L)),O!==!0&&(i=null)}function $(){(W.value!==null||e.scrollTarget!==void 0)&&(T.value=Hs(W.value,e.scrollTarget),M(T.value,x))}function D(O){s!==!0?(Gd(c,O),n("click",O)):s=!1}function ne(O){Q.value===!0&&e.noFocus!==!0&&ld(f.value,O.target)!==!0&&se()}function L(O){n("escapeKey"),A(O)}function x(){ta({targetEl:f.value,offset:e.offset,anchorEl:W.value,anchorOrigin:N.value,selfOrigin:ie.value,absoluteOffset:r,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function K(){return b(Zn,_.value,()=>d.value===!0?b("div",{role:"menu",...o,ref:f,tabindex:-1,class:["q-menu q-position-engine scroll"+ee.value,o.class],style:[o.style,E.value],...re.value},Ge(t.default)):null)}return et(m),Object.assign(c,{focus:se,updatePosition:x}),C}});function k0(e,t,n){let o;function i(){o!==void 0&&(fi.remove(o),o=void 0)}return et(()=>{e.value===!0&&i()}),{removeFromHistory:i,addToHistory(){o={condition:()=>n.value===!0,handler:t},fi.add(o)}}}let jo=0,El,Tl,Ko,ql=!1,Xu,Yu,Zu,$n=null;function E0(e){T0(e)&&We(e)}function T0(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=Zm(e),n=e.shiftKey&&!e.deltaX,o=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),i=n||o?e.deltaY:e.deltaX;for(let r=0;r<t.length;r++){const l=t[r];if(zy(l,o))return o?i<0&&l.scrollTop===0?!0:i>0&&l.scrollTop+l.clientHeight===l.scrollHeight:i<0&&l.scrollLeft===0?!0:i>0&&l.scrollLeft+l.clientWidth===l.scrollWidth}return!0}function ec(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function Oi(e){ql!==!0&&(ql=!0,requestAnimationFrame(()=>{ql=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;(Ko===void 0||t!==window.innerHeight)&&(Ko=n-t,document.scrollingElement.scrollTop=o),o>Ko&&(document.scrollingElement.scrollTop-=Math.ceil((o-Ko)/8))}))}function tc(e){const t=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:o,overflowX:i}=window.getComputedStyle(t);El=jy(window),Tl=Iy(window),Xu=t.style.left,Yu=t.style.top,Zu=window.location.href,t.style.left=`-${El}px`,t.style.top=`-${Tl}px`,i!=="hidden"&&(i==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),o!=="hidden"&&(o==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,nt.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",Oi,ct.passiveCapture),window.visualViewport.addEventListener("scroll",Oi,ct.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",ec,ct.passiveCapture))}nt.is.desktop===!0&&nt.is.mac===!0&&window[`${e}EventListener`]("wheel",E0,ct.notPassive),e==="remove"&&(nt.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",Oi,ct.passiveCapture),window.visualViewport.removeEventListener("scroll",Oi,ct.passiveCapture)):window.removeEventListener("scroll",ec,ct.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=Xu,t.style.top=Yu,window.location.href===Zu&&window.scrollTo(El,Tl),Ko=void 0)}function q0(e){let t="add";if(e===!0){if(jo++,$n!==null){clearTimeout($n),$n=null;return}if(jo>1)return}else{if(jo===0||(jo--,jo>0))return;if(t="remove",nt.is.ios===!0&&nt.is.nativeMobile===!0){$n!==null&&clearTimeout($n),$n=setTimeout(()=>{tc(t),$n=null},100);return}}tc(t)}function R0(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,q0(t))}}}let Li=0;const A0={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},nc={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},hr=Ae({name:"QDialog",inheritAttrs:!1,props:{...Ws,...ni,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...Qs,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){const i=Re(),r=ae(null),l=ae(!1),s=ae(!1);let a=null,c=null,u,f;const d=y(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:h}=R0(),{registerTimeout:g}=ea(),{registerTick:p,removeTick:v}=Zs(),{transitionProps:q,transitionStyle:_}=Ys(e,()=>nc[e.position][0],()=>nc[e.position][1]),E=y(()=>_.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:T,hidePortal:M,portalIsAccessible:I,renderPortal:W}=Xs(i,r,ne,"dialog"),{hide:Z}=Gs({showing:l,hideOnRouteChange:d,handleShow:ie,handleHide:ee,processOnMount:!0}),{addToHistory:A,removeFromHistory:F}=k0(l,Z,d),U=y(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${A0[e.position]}`+(s.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),C=y(()=>l.value===!0&&e.seamless!==!0),J=y(()=>e.autoClose===!0?{onClick:m}:{}),N=y(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${C.value===!0?"modal":"seamless"}`,o.class]);be(()=>e.maximized,L=>{l.value===!0&&P(L)}),be(C,L=>{h(L),L===!0?(Zd(D),Xd(se)):(cs(D),sr(se))});function ie(L){A(),c=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,P(e.maximized),T(),s.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),p(re)):v(),g(()=>{if(i.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:x,bottom:K}=document.activeElement.getBoundingClientRect(),{innerHeight:O}=window,Y=window.visualViewport!==void 0?window.visualViewport.height:O;x>0&&K>Y/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-Y,K>=O?1/0:Math.ceil(document.scrollingElement.scrollTop+K-Y/2))),document.activeElement.scrollIntoView()}f=!0,r.value.click(),f=!1}T(!0),s.value=!1,n("show",L)},e.transitionDuration)}function ee(L){v(),F(),me(!0),s.value=!0,M(),c!==null&&(((L&&L.type.indexOf("key")===0?c.closest('[tabindex]:not([tabindex^="-"])'):void 0)||c).focus(),c=null),g(()=>{M(!0),s.value=!1,n("hide",L)},e.transitionDuration)}function re(L){Hr(()=>{let x=r.value;if(x!==null){if(L!==void 0){const K=x.querySelector(L);if(K!==null){K.focus({preventScroll:!0});return}}x.contains(document.activeElement)!==!0&&(x=x.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||x.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||x.querySelector("[autofocus], [data-autofocus]")||x,x.focus({preventScroll:!0}))}})}function Q(L){L&&typeof L.focus=="function"?L.focus({preventScroll:!0}):re(),n("shake");const x=r.value;x!==null&&(x.classList.remove("q-animate--scale"),x.classList.add("q-animate--scale"),a!==null&&clearTimeout(a),a=setTimeout(()=>{a=null,r.value!==null&&(x.classList.remove("q-animate--scale"),re())},170))}function se(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&Q():(n("escapeKey"),Z()))}function me(L){a!==null&&(clearTimeout(a),a=null),(L===!0||l.value===!0)&&(P(!1),e.seamless!==!0&&(h(!1),cs(D),sr(se))),L!==!0&&(c=null)}function P(L){L===!0?u!==!0&&(Li<1&&document.body.classList.add("q-body--dialog"),Li++,u=!0):u===!0&&(Li<2&&document.body.classList.remove("q-body--dialog"),Li--,u=!1)}function m(L){f!==!0&&(Z(L),n("click",L))}function $(L){e.persistent!==!0&&e.noBackdropDismiss!==!0?Z(L):e.noShake!==!0&&Q()}function D(L){e.allowFocusOutside!==!0&&I.value===!0&&ld(r.value,L.target)!==!0&&re('[tabindex]:not([tabindex="-1"])')}Object.assign(i.proxy,{focus:re,shake:Q,__updateRefocusTarget(L){c=L||null}}),et(me);function ne(){return b("div",{role:"dialog","aria-modal":C.value===!0?"true":"false",...o,class:N.value},[b(Zn,{name:"q-transition--fade",appear:!0},()=>C.value===!0?b("div",{class:"q-dialog__backdrop fixed-full",style:E.value,"aria-hidden":"true",tabindex:-1,onClick:$}):null),b(Zn,q.value,()=>l.value===!0?b("div",{ref:r,class:U.value,style:_.value,tabindex:-1,...J.value},Ge(t.default)):null)])}return W}}),Ur={name:String};function nh(e={}){return(t,n,o)=>{t[n](b("input",{class:"hidden"+(o||""),...e.value}))}}function oh(e){return y(()=>e.name||e.for)}const P0=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,O0=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,L0=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,M0=/[a-z0-9_ -]$/i;function ih(e){return function(n){if(n.type==="compositionend"||n.type==="change"){if(n.target.qComposing!==!0)return;n.target.qComposing=!1,e(n)}else n.type==="compositionupdate"&&n.target.qComposing!==!0&&typeof n.data=="string"&&(nt.is.firefox===!0?M0.test(n.data)===!1:P0.test(n.data)===!0||O0.test(n.data)===!0||L0.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}function oc(e,t,n){if(n<=t)return t;const o=n-t+1;let i=t+(e-t)%o;return i<t&&(i=o+i),i===0?0:i}const ic=e=>["add","add-unique","toggle"].includes(e),D0=".*+?^${}()|[]\\",F0=Object.keys(zr);function Rl(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return o=>o!==null&&typeof o=="object"&&n in o?o[n]:o}const B0=Ae({name:"QSelect",inheritAttrs:!1,props:{...ss,...Ur,...zr,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:ic},mapOptions:Boolean,emitValue:Boolean,disableTabSelection:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:ss.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...zs,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:o}=Re(),{$q:i}=o,r=ae(!1),l=ae(!1),s=ae(-1),a=ae(""),c=ae(!1),u=ae(!1);let f=null,d=null,h,g,p,v=null,q,_,E,T;const M=ae(null),I=ae(null),W=ae(null),Z=ae(null),A=ae(null),F=oh(e),U=ih(H),C=y(()=>Array.isArray(e.options)?e.options.length:0),J=y(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:N,virtualScrollSliceSizeComputed:ie,localResetVirtualScroll:ee,padVirtualScroll:re,onVirtualScrollEvt:Q,scrollTo:se,setVirtualScrollSize:me}=Hd({virtualScrollLength:C,getVirtualScrollTarget:Kr,getVirtualScrollEl:Si,virtualScrollItemSizeComputed:J}),P=Us(),m=y(()=>{const k=e.mapOptions===!0&&e.multiple!==!0,ce=e.modelValue!==void 0&&(e.modelValue!==null||k===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const fe=e.mapOptions===!0&&h!==void 0?h:[],qe=ce.map(Ve=>ln(Ve,fe));return e.modelValue===null&&k===!0?qe.filter(Ve=>Ve!==null):qe}return ce}),$=y(()=>{const k={};return F0.forEach(ce=>{const fe=e[ce];fe!==void 0&&(k[ce]=fe)}),k}),D=y(()=>e.optionsDark===null?P.isDark.value:e.optionsDark),ne=y(()=>vi(m.value)),L=y(()=>{let k="q-field__input q-placeholder col";return e.hideSelected===!0||m.value.length===0?[k,e.inputClass]:(k+=" q-field__input--padding",e.inputClass===void 0?k:[k,e.inputClass])}),x=y(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),K=y(()=>C.value===0),O=y(()=>m.value.map(k=>de.value(k)).join(", ")),Y=y(()=>e.displayValue!==void 0?e.displayValue:O.value),Se=y(()=>e.optionsHtml===!0?()=>!0:k=>k!=null&&k.html===!0),w=y(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||m.value.some(Se.value))),S=y(()=>P.focused.value===!0?e.tabindex:-1),R=y(()=>{const k={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":r.value===!0?"true":"false","aria-controls":`${P.targetUid.value}_lb`};return s.value>=0&&(k["aria-activedescendant"]=`${P.targetUid.value}_${s.value}`),k}),j=y(()=>({id:`${P.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),z=y(()=>m.value.map((k,ce)=>({index:ce,opt:k,html:Se.value(k),selected:!0,removeAtIndex:Oe,toggleOption:Ne,tabindex:S.value}))),B=y(()=>{if(C.value===0)return[];const{from:k,to:ce}=N.value;return e.options.slice(k,ce).map((fe,qe)=>{const Ve=le.value(fe)===!0,Be=sn(fe)===!0,st=k+qe,Ye={clickable:!0,active:Be,activeClass:te.value,manualFocus:!0,focused:!1,disable:Ve,tabindex:-1,dense:e.optionsDense,dark:D.value,role:"option","aria-selected":Be===!0?"true":"false",id:`${P.targetUid.value}_${st}`,onClick:()=>{Ne(fe)}};return Ve!==!0&&(s.value===st&&(Ye.focused=!0),i.platform.is.desktop===!0&&(Ye.onMousemove=()=>{r.value===!0&&Ue(st)})),{index:st,opt:fe,html:Se.value(fe),label:de.value(fe),selected:Ye.active,focused:Ye.focused,toggleOption:Ne,setOptionIndex:Ue,itemProps:Ye}})}),X=y(()=>e.dropdownIcon!==void 0?e.dropdownIcon:i.iconSet.arrow.dropdown),oe=y(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),te=y(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),G=y(()=>Rl(e.optionValue,"value")),de=y(()=>Rl(e.optionLabel,"label")),le=y(()=>Rl(e.optionDisable,"disable")),he=y(()=>m.value.map(G.value)),ve=y(()=>{const k={onInput:H,onChange:U,onKeydown:Ln,onKeyup:an,onKeypress:Do,onFocus:ot,onClick(ce){g===!0&&nn(ce)}};return k.onCompositionstart=k.onCompositionupdate=k.onCompositionend=U,k});be(m,k=>{h=k,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&P.innerLoading.value!==!0&&(l.value!==!0&&r.value!==!0||ne.value!==!0)&&(p!==!0&&ao(),(l.value===!0||r.value===!0)&&ye(""))},{immediate:!0}),be(()=>e.fillInput,ao),be(r,Jr),be(C,yh);function ke(k){return e.emitValue===!0?G.value(k):k}function Pe(k){if(k!==-1&&k<m.value.length)if(e.multiple===!0){const ce=e.modelValue.slice();n("remove",{index:k,value:ce.splice(k,1)[0]}),n("update:modelValue",ce)}else n("update:modelValue",null)}function Oe(k){Pe(k),P.focus()}function rt(k,ce){const fe=ke(k);if(e.multiple!==!0){e.fillInput===!0&&pe(de.value(k),!0,!0),n("update:modelValue",fe);return}if(m.value.length===0){n("add",{index:0,value:fe}),n("update:modelValue",e.multiple===!0?[fe]:fe);return}if(ce===!0&&sn(k)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const qe=e.modelValue.slice();n("add",{index:qe.length,value:fe}),qe.push(fe),n("update:modelValue",qe)}function Ne(k,ce){if(P.editable.value!==!0||k===void 0||le.value(k)===!0)return;const fe=G.value(k);if(e.multiple!==!0){ce!==!0&&(pe(e.fillInput===!0?de.value(k):"",!0,!0),Mn()),I.value!==null&&I.value.focus(),(m.value.length===0||En(G.value(m.value[0]),fe)!==!0)&&n("update:modelValue",e.emitValue===!0?fe:k);return}if((g!==!0||c.value===!0)&&P.focus(),ot(),m.value.length===0){const Be=e.emitValue===!0?fe:k;n("add",{index:0,value:Be}),n("update:modelValue",e.multiple===!0?[Be]:Be);return}const qe=e.modelValue.slice(),Ve=he.value.findIndex(Be=>En(Be,fe));if(Ve!==-1)n("remove",{index:Ve,value:qe.splice(Ve,1)[0]});else{if(e.maxValues!==void 0&&qe.length>=e.maxValues)return;const Be=e.emitValue===!0?fe:k;n("add",{index:qe.length,value:Be}),qe.push(Be)}n("update:modelValue",qe)}function Ue(k){if(i.platform.is.desktop!==!0)return;const ce=k!==-1&&k<C.value?k:-1;s.value!==ce&&(s.value=ce)}function Je(k=1,ce){if(r.value===!0){let fe=s.value;do fe=oc(fe+k,-1,C.value-1);while(fe!==-1&&fe!==s.value&&le.value(e.options[fe])===!0);s.value!==fe&&(Ue(fe),se(fe),ce!==!0&&e.useInput===!0&&e.fillInput===!0&&ue(fe>=0?de.value(e.options[fe]):q,!0))}}function ln(k,ce){const fe=qe=>En(G.value(qe),k);return e.options.find(fe)||ce.find(fe)||k}function sn(k){const ce=G.value(k);return he.value.find(fe=>En(fe,ce))!==void 0}function ot(k){e.useInput===!0&&I.value!==null&&(k===void 0||I.value===k.target&&k.target.value===O.value)&&I.value.select()}function wt(k){mn(k,27)===!0&&r.value===!0&&(nn(k),Mn(),ao()),n("keyup",k)}function an(k){const{value:ce}=k.target;if(k.keyCode!==void 0){wt(k);return}if(k.target.value="",f!==null&&(clearTimeout(f),f=null),d!==null&&(clearTimeout(d),d=null),ao(),typeof ce=="string"&&ce.length!==0){const fe=ce.toLocaleLowerCase(),qe=Be=>{const st=e.options.find(Ye=>String(Be.value(Ye)).toLocaleLowerCase()===fe);return st===void 0?!1:(m.value.indexOf(st)===-1?Ne(st):Mn(),!0)},Ve=Be=>{qe(G)!==!0&&Be!==!0&&qe(de)!==!0&&ye(ce,!0,()=>Ve(!0))};Ve()}else P.clearValue(k)}function Do(k){n("keypress",k)}function Ln(k){if(n("keydown",k),Lr(k)===!0)return;const ce=a.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),fe=k.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(s.value!==-1||ce===!0);if(k.keyCode===27){zt(k);return}if(k.keyCode===9&&fe===!1){lo();return}if(k.target===void 0||k.target.id!==P.targetUid.value||P.editable.value!==!0)return;if(k.keyCode===40&&P.innerLoading.value!==!0&&r.value===!1){We(k),so();return}if(k.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&a.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?Pe(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&n("update:modelValue",null);return}(k.keyCode===35||k.keyCode===36)&&(typeof a.value!="string"||a.value.length===0)&&(We(k),s.value=-1,Je(k.keyCode===36?1:-1,e.multiple)),(k.keyCode===33||k.keyCode===34)&&ie.value!==void 0&&(We(k),s.value=Math.max(-1,Math.min(C.value,s.value+(k.keyCode===33?-1:1)*ie.value.view)),Je(k.keyCode===33?1:-1,e.multiple)),(k.keyCode===38||k.keyCode===40)&&(We(k),Je(k.keyCode===38?-1:1,e.multiple));const qe=C.value;if((E===void 0||T<Date.now())&&(E=""),qe>0&&e.useInput!==!0&&k.key!==void 0&&k.key.length===1&&k.altKey===!1&&k.ctrlKey===!1&&k.metaKey===!1&&(k.keyCode!==32||E.length!==0)){r.value!==!0&&so(k);const Ve=k.key.toLocaleLowerCase(),Be=E.length===1&&E[0]===Ve;T=Date.now()+1500,Be===!1&&(We(k),E+=Ve);const st=new RegExp("^"+E.split("").map(Xr=>D0.indexOf(Xr)!==-1?"\\"+Xr:Xr).join(".*"),"i");let Ye=s.value;if(Be===!0||Ye<0||st.test(de.value(e.options[Ye]))!==!0)do Ye=oc(Ye+1,-1,qe-1);while(Ye!==s.value&&(le.value(e.options[Ye])===!0||st.test(de.value(e.options[Ye]))!==!0));s.value!==Ye&&He(()=>{Ue(Ye),se(Ye),Ye>=0&&e.useInput===!0&&e.fillInput===!0&&ue(de.value(e.options[Ye]),!0)});return}if(!(k.keyCode!==13&&(k.keyCode!==32||e.useInput===!0||E!=="")&&(k.keyCode!==9||fe===!1))){if(k.keyCode!==9&&We(k),s.value!==-1&&s.value<qe){Ne(e.options[s.value]);return}if(ce===!0){const Ve=(Be,st)=>{if(st){if(ic(st)!==!0)return}else st=e.newValueMode;if(pe("",e.multiple!==!0,!0),Be==null)return;(st==="toggle"?Ne:rt)(Be,st==="add-unique"),e.multiple!==!0&&(I.value!==null&&I.value.focus(),Mn())};if(e.onNewValue!==void 0?n("newValue",a.value,Ve):Ve(a.value),e.multiple!==!0)return}r.value===!0?lo():P.innerLoading.value!==!0&&so()}}function Si(){return g===!0?A.value:W.value!==null&&W.value.contentEl!==null?W.value.contentEl:void 0}function Kr(){return Si()}function Wr(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?z.value.map(k=>t["selected-item"](k)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?z.value.map((k,ce)=>b(s0,{key:"option-"+ce,removable:P.editable.value===!0&&le.value(k.opt)!==!0,dense:!0,textColor:e.color,tabindex:S.value,onRemove(){k.removeAtIndex(ce)}},()=>b("span",{class:"ellipsis",[k.html===!0?"innerHTML":"textContent"]:de.value(k.opt)}))):[b("span",{[w.value===!0?"innerHTML":"textContent"]:Y.value})]}function _i(){if(K.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:a.value}):void 0;const k=t.option!==void 0?t.option:fe=>b(a0,{key:fe.index,...fe.itemProps},()=>b(u0,()=>b(c0,()=>b("span",{[fe.html===!0?"innerHTML":"textContent"]:fe.label}))));let ce=re("div",B.value.map(k));return t["before-options"]!==void 0&&(ce=t["before-options"]().concat(ce)),Ut(t["after-options"],ce)}function Qr(k,ce){const fe=ce===!0?{...R.value,...P.splitAttrs.attributes.value}:void 0,qe={ref:ce===!0?I:void 0,key:"i_t",class:L.value,style:e.inputStyle,value:a.value!==void 0?a.value:"",type:"search",...fe,id:ce===!0?P.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":k===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...ve.value};return k!==!0&&g===!0&&(Array.isArray(qe.class)===!0?qe.class=[...qe.class,"no-pointer-events"]:qe.class+=" no-pointer-events"),b("input",qe)}function H(k){f!==null&&(clearTimeout(f),f=null),d!==null&&(clearTimeout(d),d=null),!(k&&k.target&&k.target.qComposing===!0)&&(ue(k.target.value||""),p=!0,q=a.value,P.focused.value!==!0&&(g!==!0||c.value===!0)&&P.focus(),e.onFilter!==void 0&&(f=setTimeout(()=>{f=null,ye(a.value)},e.inputDebounce)))}function ue(k,ce){a.value!==k&&(a.value=k,ce===!0||e.inputDebounce===0||e.inputDebounce==="0"?n("inputValue",k):d=setTimeout(()=>{d=null,n("inputValue",k)},e.inputDebounce))}function pe(k,ce,fe){p=fe!==!0,e.useInput===!0&&(ue(k,!0),(ce===!0||fe!==!0)&&(q=k),ce!==!0&&ye(k))}function ye(k,ce,fe){if(e.onFilter===void 0||ce!==!0&&P.focused.value!==!0)return;P.innerLoading.value===!0?n("filterAbort"):(P.innerLoading.value=!0,u.value=!0),k!==""&&e.multiple!==!0&&m.value.length!==0&&p!==!0&&k===de.value(m.value[0])&&(k="");const qe=setTimeout(()=>{r.value===!0&&(r.value=!1)},10);v!==null&&clearTimeout(v),v=qe,n("filter",k,(Ve,Be)=>{(ce===!0||P.focused.value===!0)&&v===qe&&(clearTimeout(v),typeof Ve=="function"&&Ve(),u.value=!1,He(()=>{P.innerLoading.value=!1,P.editable.value===!0&&(ce===!0?r.value===!0&&Mn():r.value===!0?Jr(!0):r.value=!0),typeof Be=="function"&&He(()=>{Be(o)}),typeof fe=="function"&&He(()=>{fe(o)})}))},()=>{P.focused.value===!0&&v===qe&&(clearTimeout(v),P.innerLoading.value=!1,u.value=!1),r.value===!0&&(r.value=!1)})}function Te(){return b(C0,{ref:W,class:x.value,style:e.popupContentStyle,modelValue:r.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&K.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:D.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:oe.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...j.value,onScrollPassive:Q,onBeforeShow:ia,onBeforeHide:Qe,onShow:Ke},_i)}function Qe(k){ra(k),lo()}function Ke(){me()}function It(k){nn(k),I.value!==null&&I.value.focus(),c.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function dt(k){nn(k),He(()=>{c.value=!1})}function io(){const k=[b(r0,{class:`col-auto ${P.fieldClass.value}`,...$.value,for:P.targetUid.value,dark:D.value,square:!0,loading:u.value,itemAligned:!1,filled:!0,stackLabel:a.value.length!==0,...P.splitAttrs.listeners.value,onFocus:It,onBlur:dt},{...t,rawControl:()=>P.getControl(!0),before:void 0,after:void 0})];return r.value===!0&&k.push(b("div",{ref:A,class:x.value+" scroll",style:e.popupContentStyle,...j.value,onClick:zt,onScrollPassive:Q},_i())),b(hr,{ref:Z,modelValue:l.value,position:e.useInput===!0?"top":void 0,transitionShow:_,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:ia,onBeforeHide:ro,onHide:Gr,onShow:bh},()=>b("div",{class:"q-select__dialog"+(D.value===!0?" q-select__dialog--dark q-dark":"")+(c.value===!0?" q-select__dialog--focused":"")},k))}function ro(k){ra(k),Z.value!==null&&Z.value.__updateRefocusTarget(P.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),P.focused.value=!1}function Gr(k){Mn(),P.focused.value===!1&&n("blur",k),ao()}function bh(){const k=document.activeElement;(k===null||k.id!==P.targetUid.value)&&I.value!==null&&I.value!==k&&I.value.focus(),me()}function lo(){l.value!==!0&&(s.value=-1,r.value===!0&&(r.value=!1),P.focused.value===!1&&(v!==null&&(clearTimeout(v),v=null),P.innerLoading.value===!0&&(n("filterAbort"),P.innerLoading.value=!1,u.value=!1)))}function so(k){P.editable.value===!0&&(g===!0?(P.onControlFocusin(k),l.value=!0,He(()=>{P.focus()})):P.focus(),e.onFilter!==void 0?ye(a.value):(K.value!==!0||t["no-option"]!==void 0)&&(r.value=!0))}function Mn(){l.value=!1,lo()}function ao(){e.useInput===!0&&pe(e.multiple!==!0&&e.fillInput===!0&&m.value.length!==0&&de.value(m.value[0])||"",!0,!0)}function Jr(k){let ce=-1;if(k===!0){if(m.value.length!==0){const fe=G.value(m.value[0]);ce=e.options.findIndex(qe=>En(G.value(qe),fe))}ee(ce)}Ue(ce)}function yh(k,ce){r.value===!0&&P.innerLoading.value===!1&&(ee(-1,!0),He(()=>{r.value===!0&&P.innerLoading.value===!1&&(k>ce?ee():Jr(!0))}))}function oa(){l.value===!1&&W.value!==null&&W.value.updatePosition()}function ia(k){k!==void 0&&nn(k),n("popupShow",k),P.hasPopupOpen=!0,P.onControlFocusin(k)}function ra(k){k!==void 0&&nn(k),n("popupHide",k),P.hasPopupOpen=!1,P.onControlFocusout(k)}function la(){g=i.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||K.value===!1:!0),_=i.platform.is.ios===!0&&g===!0&&e.useInput===!0?"fade":e.transitionShow}return qr(la),qs(oa),la(),et(()=>{f!==null&&clearTimeout(f),d!==null&&clearTimeout(d)}),Object.assign(o,{showPopup:so,hidePopup:Mn,removeAtIndex:Pe,add:rt,toggleOption:Ne,getOptionIndex:()=>s.value,setOptionIndex:Ue,moveOptionSelection:Je,filter:ye,updateMenuPosition:oa,updateInputValue:pe,isOptionSelected:sn,getEmittingOptionValue:ke,isOptionDisabled:(...k)=>le.value.apply(null,k)===!0,getOptionValue:(...k)=>G.value.apply(null,k),getOptionLabel:(...k)=>de.value.apply(null,k)}),Object.assign(P,{innerValue:m,fieldClass:y(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:M,targetRef:I,hasValue:ne,showPopup:so,floatingLabel:y(()=>e.hideSelected!==!0&&ne.value===!0||typeof a.value=="number"||a.value.length!==0||vi(e.displayValue)),getControlChild:()=>{if(P.editable.value!==!1&&(l.value===!0||K.value!==!0||t["no-option"]!==void 0))return g===!0?io():Te();P.hasPopupOpen===!0&&(P.hasPopupOpen=!1)},controlEvents:{onFocusin(k){P.onControlFocusin(k)},onFocusout(k){P.onControlFocusout(k,()=>{ao(),lo()})},onClick(k){if(zt(k),g!==!0&&r.value===!0){lo(),I.value!==null&&I.value.focus();return}so(k)}},getControl:k=>{const ce=Wr(),fe=k===!0||l.value!==!0||g!==!0;if(e.useInput===!0)ce.push(Qr(k,fe));else if(P.editable.value===!0){const Ve=fe===!0?R.value:void 0;ce.push(b("input",{ref:fe===!0?I:void 0,key:"d_t",class:"q-select__focus-target",id:fe===!0?P.targetUid.value:void 0,value:Y.value,readonly:!0,"data-autofocus":k===!0||e.autofocus===!0||void 0,...Ve,onKeydown:Ln,onKeyup:wt,onKeypress:Do})),fe===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&ce.push(b("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:an}))}if(F.value!==void 0&&e.disable!==!0&&he.value.length!==0){const Ve=he.value.map(Be=>b("option",{value:Be,selected:!0}));ce.push(b("select",{class:"hidden",name:F.value,multiple:e.multiple},Ve))}const qe=e.useInput===!0||fe!==!0?void 0:P.splitAttrs.attributes.value;return b("div",{class:"q-field__native row items-center",...qe,...P.splitAttrs.listeners.value},ce)},getInnerAppend:()=>e.loading!==!0&&u.value!==!0&&e.hideDropdownIcon!==!0?[b(lt,{class:"q-select__dropdown-icon"+(r.value===!0?" rotate-180":""),name:X.value})]:null}),Ks(P)}}),$0={xs:2,sm:4,md:6,lg:10,xl:14};function rc(e,t,n){return{transform:t===!0?`translateX(${n.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const N0=Ae({name:"QLinearProgress",props:{...Ct,...no,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:n}=Re(),o=kt(e,n.$q),i=oo(e,$0),r=y(()=>e.indeterminate===!0||e.query===!0),l=y(()=>e.reverse!==e.query),s=y(()=>({...i.value!==null?i.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`})),a=y(()=>"q-linear-progress"+(e.color!==void 0?` text-${e.color}`:"")+(e.reverse===!0||e.query===!0?" q-linear-progress--reverse":"")+(e.rounded===!0?" rounded-borders":"")),c=y(()=>rc(e.buffer!==void 0?e.buffer:1,l.value,n.$q)),u=y(()=>`with${e.instantFeedback===!0?"out":""}-transition`),f=y(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${u.value} q-linear-progress__track--${o.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),d=y(()=>rc(r.value===!0?1:e.value,l.value,n.$q)),h=y(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${u.value} q-linear-progress__model--${r.value===!0?"in":""}determinate`),g=y(()=>({width:`${e.value*100}%`})),p=y(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${u.value}`);return()=>{const v=[b("div",{class:f.value,style:c.value}),b("div",{class:h.value,style:d.value})];return e.stripe===!0&&r.value===!1&&v.push(b("div",{class:p.value,style:g.value})),b("div",{class:a.value,style:s.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":e.indeterminate===!0?void 0:e.value},Ut(t.default,v))}}});function rh(e,t){const n=ae(null),o=y(()=>e.disable===!0?null:b("span",{ref:n,class:"no-outline",tabindex:-1}));function i(r){const l=t.value;r!==void 0&&r.type.indexOf("key")===0?l!==null&&document.activeElement!==l&&l.contains(document.activeElement)===!0&&l.focus():n.value!==null&&(r===void 0||l!==null&&l.contains(r.target)===!0)&&n.value.focus()}return{refocusTargetEl:o,refocusTarget:i}}const lh={xs:30,sm:35,md:40,lg:50,xl:60},sh={...Ct,...no,...Ur,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>e==="tf"||e==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},ah=["update:modelValue"];function uh(e,t){const{props:n,slots:o,emit:i,proxy:r}=Re(),{$q:l}=r,s=kt(n,l),a=ae(null),{refocusTargetEl:c,refocusTarget:u}=rh(n,a),f=oo(n,lh),d=y(()=>n.val!==void 0&&Array.isArray(n.modelValue)),h=y(()=>{const C=Ce(n.val);return d.value===!0?n.modelValue.findIndex(J=>Ce(J)===C):-1}),g=y(()=>d.value===!0?h.value!==-1:Ce(n.modelValue)===Ce(n.trueValue)),p=y(()=>d.value===!0?h.value===-1:Ce(n.modelValue)===Ce(n.falseValue)),v=y(()=>g.value===!1&&p.value===!1),q=y(()=>n.disable===!0?-1:n.tabindex||0),_=y(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(n.disable===!0?" disabled":"")+(s.value===!0?` q-${e}--dark`:"")+(n.dense===!0?` q-${e}--dense`:"")+(n.leftLabel===!0?" reverse":"")),E=y(()=>{const C=g.value===!0?"truthy":p.value===!0?"falsy":"indet",J=n.color!==void 0&&(n.keepColor===!0||(e==="toggle"?g.value===!0:p.value!==!0))?` text-${n.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${C}${J}`}),T=y(()=>{const C={type:"checkbox"};return n.name!==void 0&&Object.assign(C,{".checked":g.value,"^checked":g.value===!0?"checked":void 0,name:n.name,value:d.value===!0?n.val:n.trueValue}),C}),M=nh(T),I=y(()=>{const C={tabindex:q.value,role:e==="toggle"?"switch":"checkbox","aria-label":n.label,"aria-checked":v.value===!0?"mixed":g.value===!0?"true":"false"};return n.disable===!0&&(C["aria-disabled"]="true"),C});function W(C){C!==void 0&&(We(C),u(C)),n.disable!==!0&&i("update:modelValue",Z(),C)}function Z(){if(d.value===!0){if(g.value===!0){const C=n.modelValue.slice();return C.splice(h.value,1),C}return n.modelValue.concat([n.val])}if(g.value===!0){if(n.toggleOrder!=="ft"||n.toggleIndeterminate===!1)return n.falseValue}else if(p.value===!0){if(n.toggleOrder==="ft"||n.toggleIndeterminate===!1)return n.trueValue}else return n.toggleOrder!=="ft"?n.trueValue:n.falseValue;return n.indeterminateValue}function A(C){(C.keyCode===13||C.keyCode===32)&&We(C)}function F(C){(C.keyCode===13||C.keyCode===32)&&W(C)}const U=t(g,v);return Object.assign(r,{toggle:W}),()=>{const C=U();n.disable!==!0&&M(C,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const J=[b("div",{class:E.value,style:f.value,"aria-hidden":"true"},C)];c.value!==null&&J.push(c.value);const N=n.label!==void 0?Ut(o.default,[n.label]):Ge(o.default);return N!==void 0&&J.push(b("div",{class:`q-${e}__label q-anchor--skip`},N)),b("div",{ref:a,class:_.value,...I.value,onClick:W,onKeydown:A,onKeyup:F},J)}}const V0=()=>b("div",{key:"svg",class:"q-checkbox__bg absolute"},[b("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[b("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),b("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),oi=Ae({name:"QCheckbox",props:sh,emits:ah,setup(e){const t=V0();function n(o,i){const r=y(()=>(o.value===!0?e.checkedIcon:i.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>r.value!==null?[b("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[b(lt,{class:"q-checkbox__icon",name:r.value})])]:[t]}return uh("checkbox",n)}});let Ho=0;const I0={fullscreen:Boolean,noRouteFullscreenExit:Boolean},j0=["update:fullscreen","fullscreen"];function H0(){const e=Re(),{props:t,emit:n,proxy:o}=e;let i,r,l;const s=ae(!1);Bs(e)===!0&&be(()=>o.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&u()}),be(()=>t.fullscreen,f=>{s.value!==f&&a()}),be(s,f=>{n("update:fullscreen",f),n("fullscreen",f)});function a(){s.value===!0?u():c()}function c(){s.value!==!0&&(s.value=!0,l=o.$el.parentNode,l.replaceChild(r,o.$el),document.body.appendChild(o.$el),Ho++,Ho===1&&document.body.classList.add("q-body--fullscreen-mixin"),i={handler:u},fi.add(i))}function u(){s.value===!0&&(i!==void 0&&(fi.remove(i),i=void 0),l.replaceChild(o.$el,r),s.value=!1,Ho=Math.max(0,Ho-1),Ho===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),o.$el.scrollIntoView!==void 0&&setTimeout(()=>{o.$el.scrollIntoView()})))}return Tr(()=>{r=document.createElement("span")}),rn(()=>{t.fullscreen===!0&&c()}),et(u),Object.assign(o,{toggleFullscreen:a,setFullscreen:c,exitFullscreen:u}),{inFullscreen:s,toggleFullscreen:a}}function z0(e,t){return new Date(e)-new Date(t)}const U0={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>e==="ad"||e==="da",default:"ad"}};function K0(e,t,n,o){const i=y(()=>{const{sortBy:s}=t.value;return s&&n.value.find(a=>a.name===s)||null}),r=y(()=>e.sortMethod!==void 0?e.sortMethod:(s,a,c)=>{const u=n.value.find(h=>h.name===a);if(u===void 0||u.field===void 0)return s;const f=c===!0?-1:1,d=typeof u.field=="function"?h=>u.field(h):h=>h[u.field];return s.sort((h,g)=>{let p=d(h),v=d(g);return u.rawSort!==void 0?u.rawSort(p,v,h,g)*f:p==null?-1*f:v==null?1*f:u.sort!==void 0?u.sort(p,v,h,g)*f:Ql(p)===!0&&Ql(v)===!0?(p-v)*f:Ja(p)===!0&&Ja(v)===!0?z0(p,v)*f:typeof p=="boolean"&&typeof v=="boolean"?(p-v)*f:([p,v]=[p,v].map(q=>(q+"").toLocaleString().toLowerCase()),p<v?-1*f:p===v?0:f)})});function l(s){let a=e.columnSortOrder;if(Bt(s)===!0)s.sortOrder&&(a=s.sortOrder),s=s.name;else{const f=n.value.find(d=>d.name===s);f!==void 0&&f.sortOrder&&(a=f.sortOrder)}let{sortBy:c,descending:u}=t.value;c!==s?(c=s,u=a==="da"):e.binaryStateSort===!0?u=!u:u===!0?a==="ad"?c=null:u=!1:a==="ad"?u=!0:c=null,o({sortBy:c,descending:u,page:1})}return{columnToSort:i,computedSortMethod:r,sort:l}}const W0={filter:[String,Object],filterMethod:Function};function Q0(e,t){const n=y(()=>e.filterMethod!==void 0?e.filterMethod:(o,i,r,l)=>{const s=i?i.toLowerCase():"";return o.filter(a=>r.some(c=>{const u=l(c,a)+"";return(u==="undefined"||u==="null"?"":u.toLowerCase()).indexOf(s)!==-1}))});return be(()=>e.filter,()=>{He(()=>{t({page:1},!0)})},{deep:!0}),{computedFilterMethod:n}}function G0(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function lc(e){return e.page<1&&(e.page=1),e.rowsPerPage!==void 0&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const J0={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function X0(e,t){const{props:n,emit:o}=e,i=ae(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:n.rowsPerPageOptions.length!==0?n.rowsPerPageOptions[0]:5},n.pagination)),r=y(()=>{const u=n["onUpdate:pagination"]!==void 0?{...i.value,...n.pagination}:i.value;return lc(u)}),l=y(()=>r.value.rowsNumber!==void 0);function s(u){a({pagination:u,filter:n.filter})}function a(u={}){He(()=>{o("request",{pagination:u.pagination||r.value,filter:u.filter||n.filter,getCellValue:t})})}function c(u,f){const d=lc({...r.value,...u});if(G0(r.value,d)===!0){l.value===!0&&f===!0&&s(d);return}if(l.value===!0){s(d);return}n.pagination!==void 0&&n["onUpdate:pagination"]!==void 0?o("update:pagination",d):i.value=d}return{innerPagination:i,computedPagination:r,isServerSide:l,requestServerInteraction:a,setPagination:c}}function Y0(e,t,n,o,i,r){const{props:l,emit:s,proxy:{$q:a}}=e,c=y(()=>o.value===!0?n.value.rowsNumber||0:r.value),u=y(()=>{const{page:T,rowsPerPage:M}=n.value;return(T-1)*M}),f=y(()=>{const{page:T,rowsPerPage:M}=n.value;return T*M}),d=y(()=>n.value.page===1),h=y(()=>n.value.rowsPerPage===0?1:Math.max(1,Math.ceil(c.value/n.value.rowsPerPage))),g=y(()=>f.value===0?!0:n.value.page>=h.value),p=y(()=>(l.rowsPerPageOptions.includes(t.value.rowsPerPage)?l.rowsPerPageOptions:[t.value.rowsPerPage].concat(l.rowsPerPageOptions)).map(M=>({label:M===0?a.lang.table.allRows:""+M,value:M})));be(h,(T,M)=>{if(T===M)return;const I=n.value.page;T&&!I?i({page:1}):T<I&&i({page:T})});function v(){i({page:1})}function q(){const{page:T}=n.value;T>1&&i({page:T-1})}function _(){const{page:T,rowsPerPage:M}=n.value;f.value>0&&T*M<c.value&&i({page:T+1})}function E(){i({page:h.value})}return l["onUpdate:pagination"]!==void 0&&s("update:pagination",{...n.value}),{firstRowIndex:u,lastRowIndex:f,isFirstPage:d,isLastPage:g,pagesNumber:h,computedRowsPerPageOptions:p,computedRowsNumber:c,firstPage:v,prevPage:q,nextPage:_,lastPage:E}}const Z0={selection:{type:String,default:"none",validator:e=>["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},ew=["update:selected","selection"];function tw(e,t,n,o){const i=y(()=>{const g={};return e.selected.map(o.value).forEach(p=>{g[p]=!0}),g}),r=y(()=>e.selection!=="none"),l=y(()=>e.selection==="single"),s=y(()=>e.selection==="multiple"),a=y(()=>n.value.length!==0&&n.value.every(g=>i.value[o.value(g)]===!0)),c=y(()=>a.value!==!0&&n.value.some(g=>i.value[o.value(g)]===!0)),u=y(()=>e.selected.length);function f(g){return i.value[g]===!0}function d(){t("update:selected",[])}function h(g,p,v,q){t("selection",{rows:p,added:v,keys:g,evt:q});const _=l.value===!0?v===!0?p:[]:v===!0?e.selected.concat(p):e.selected.filter(E=>g.includes(o.value(E))===!1);t("update:selected",_)}return{hasSelectionMode:r,singleSelection:l,multipleSelection:s,allRowsSelected:a,someRowsSelected:c,rowsSelectedNumber:u,isRowSelected:f,clearSelection:d,updateSelection:h}}function sc(e){return Array.isArray(e)?e.slice():[]}const nw={expanded:Array},ow=["update:expanded"];function iw(e,t){const n=ae(sc(e.expanded));be(()=>e.expanded,l=>{n.value=sc(l)});function o(l){return n.value.includes(l)}function i(l){e.expanded!==void 0?t("update:expanded",l):n.value=l}function r(l,s){const a=n.value.slice(),c=a.indexOf(l);s===!0?c===-1&&(a.push(l),i(a)):c!==-1&&(a.splice(c,1),i(a))}return{isRowExpanded:o,setExpanded:i,updateExpanded:r}}const rw={visibleColumns:Array};function lw(e,t,n){const o=y(()=>{if(e.columns!==void 0)return e.columns;const s=e.rows[0];return s!==void 0?Object.keys(s).map(a=>({name:a,label:a.toUpperCase(),field:a,align:Ql(s[a])?"right":"left",sortable:!0})):[]}),i=y(()=>{const{sortBy:s,descending:a}=t.value;return(e.visibleColumns!==void 0?o.value.filter(u=>u.required===!0||e.visibleColumns.includes(u.name)===!0):o.value).map(u=>{const f=u.align||"right",d=`text-${f}`;return{...u,align:f,__iconClass:`q-table__sort-icon q-table__sort-icon--${f}`,__thClass:d+(u.headerClasses!==void 0?" "+u.headerClasses:"")+(u.sortable===!0?" sortable":"")+(u.name===s?` sorted ${a===!0?"sort-desc":""}`:""),__tdStyle:u.style!==void 0?typeof u.style!="function"?()=>u.style:u.style:()=>null,__tdClass:u.classes!==void 0?typeof u.classes!="function"?()=>d+" "+u.classes:h=>d+" "+u.classes(h):()=>d}})}),r=y(()=>{const s={};return i.value.forEach(a=>{s[a.name]=a}),s}),l=y(()=>e.tableColspan!==void 0?e.tableColspan:i.value.length+(n.value===!0?1:0));return{colList:o,computedCols:i,computedColsMap:r,computedColspan:l}}const Mi="q-table__bottom row items-center",ch={};jd.forEach(e=>{ch[e]={}});const fh=Ae({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...ch,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...Ct,...I0,...rw,...W0,...J0,...nw,...Z0,...U0},emits:["request","virtualScroll",...j0,...ow,...ew],setup(e,{slots:t,emit:n}){const o=Re(),{proxy:{$q:i}}=o,r=kt(e,i),{inFullscreen:l,toggleFullscreen:s}=H0(),a=y(()=>typeof e.rowKey=="function"?e.rowKey:H=>H[e.rowKey]),c=ae(null),u=ae(null),f=y(()=>e.grid!==!0&&e.virtualScroll===!0),d=y(()=>" q-table__card"+(r.value===!0?" q-table__card--dark q-dark":"")+(e.square===!0?" q-table--square":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")),h=y(()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(e.grid===!0?" q-table--grid":d.value)+(r.value===!0?" q-table--dark":"")+(e.dense===!0?" q-table--dense":"")+(e.wrapCells===!1?" q-table--no-wrap":"")+(l.value===!0?" fullscreen scroll":"")),g=y(()=>h.value+(e.loading===!0?" q-table--loading":""));be(()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+h.value,()=>{f.value===!0&&u.value!==null&&u.value.reset()});const{innerPagination:p,computedPagination:v,isServerSide:q,requestServerInteraction:_,setPagination:E}=X0(o,Ue),{computedFilterMethod:T}=Q0(e,E),{isRowExpanded:M,setExpanded:I,updateExpanded:W}=iw(e,n),Z=y(()=>{let H=e.rows;if(q.value===!0||H.length===0)return H;const{sortBy:ue,descending:pe}=v.value;return e.filter&&(H=T.value(H,e.filter,P.value,Ue)),D.value!==null&&(H=ne.value(e.rows===H?H.slice():H,ue,pe)),H}),A=y(()=>Z.value.length),F=y(()=>{let H=Z.value;if(q.value===!0)return H;const{rowsPerPage:ue}=v.value;return ue!==0&&(x.value===0&&e.rows!==H?H.length>K.value&&(H=H.slice(0,K.value)):H=H.slice(x.value,K.value)),H}),{hasSelectionMode:U,singleSelection:C,multipleSelection:J,allRowsSelected:N,someRowsSelected:ie,rowsSelectedNumber:ee,isRowSelected:re,clearSelection:Q,updateSelection:se}=tw(e,n,F,a),{colList:me,computedCols:P,computedColsMap:m,computedColspan:$}=lw(e,v,U),{columnToSort:D,computedSortMethod:ne,sort:L}=K0(e,v,me,E),{firstRowIndex:x,lastRowIndex:K,isFirstPage:O,isLastPage:Y,pagesNumber:Se,computedRowsPerPageOptions:w,computedRowsNumber:S,firstPage:R,prevPage:j,nextPage:z,lastPage:B}=Y0(o,p,v,q,E,A),X=y(()=>F.value.length===0),oe=y(()=>{const H={};return jd.forEach(ue=>{H[ue]=e[ue]}),H.virtualScrollItemSize===void 0&&(H.virtualScrollItemSize=e.dense===!0?28:48),H});function te(){f.value===!0&&u.value.reset()}function G(){if(e.grid===!0)return Qr();const H=e.hideHeader!==!0?ot:null;if(f.value===!0){const pe=t["top-row"],ye=t["bottom-row"],Te={default:Qe=>ve(Qe.item,t.body,Qe.index)};if(pe!==void 0){const Qe=b("tbody",pe({cols:P.value}));Te.before=H===null?()=>Qe:()=>[H()].concat(Qe)}else H!==null&&(Te.before=H);return ye!==void 0&&(Te.after=()=>b("tbody",ye({cols:P.value}))),b(Wy,{ref:u,class:e.tableClass,style:e.tableStyle,...oe.value,scrollTarget:e.virtualScrollTarget,items:F.value,type:"__qtable",tableColspan:$.value,onVirtualScroll:le},Te)}const ue=[ke()];return H!==null&&ue.unshift(H()),Nd({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},ue)}function de(H,ue){if(u.value!==null){u.value.scrollTo(H,ue);return}H=parseInt(H,10);const pe=c.value.querySelector(`tbody tr:nth-of-type(${H+1})`);if(pe!==null){const ye=c.value.querySelector(".q-table__middle.scroll"),Te=pe.offsetTop-e.virtualScrollStickySizeStart,Qe=Te<ye.scrollTop?"decrease":"increase";ye.scrollTop=Te,n("virtualScroll",{index:H,from:0,to:p.value.rowsPerPage-1,direction:Qe})}}function le(H){n("virtualScroll",H)}function he(){return[b(N0,{class:"q-table__linear-progress",color:e.color,dark:r.value,indeterminate:!0,trackColor:"transparent"})]}function ve(H,ue,pe){const ye=a.value(H),Te=re(ye);if(ue!==void 0)return ue(Pe({key:ye,row:H,pageIndex:pe,__trClass:Te?"selected":""}));const Qe=t["body-cell"],Ke=P.value.map(dt=>{const io=t[`body-cell-${dt.name}`],ro=io!==void 0?io:Qe;return ro!==void 0?ro(Oe({key:ye,row:H,pageIndex:pe,col:dt})):b("td",{class:dt.__tdClass(H),style:dt.__tdStyle(H)},Ue(dt,H))});if(U.value===!0){const dt=t["body-selection"],io=dt!==void 0?dt(rt({key:ye,row:H,pageIndex:pe})):[b(oi,{modelValue:Te,color:e.color,dark:r.value,dense:e.dense,"onUpdate:modelValue":(ro,Gr)=>{se([ye],[H],ro,Gr)}})];Ke.unshift(b("td",{class:"q-table--col-auto-width"},io))}const It={key:ye,class:{selected:Te}};return e.onRowClick!==void 0&&(It.class["cursor-pointer"]=!0,It.onClick=dt=>{n("rowClick",dt,H,pe)}),e.onRowDblclick!==void 0&&(It.class["cursor-pointer"]=!0,It.onDblclick=dt=>{n("rowDblclick",dt,H,pe)}),e.onRowContextmenu!==void 0&&(It.class["cursor-pointer"]=!0,It.onContextmenu=dt=>{n("rowContextmenu",dt,H,pe)}),b("tr",It,Ke)}function ke(){const H=t.body,ue=t["top-row"],pe=t["bottom-row"];let ye=F.value.map((Te,Qe)=>ve(Te,H,Qe));return ue!==void 0&&(ye=ue({cols:P.value}).concat(ye)),pe!==void 0&&(ye=ye.concat(pe({cols:P.value}))),b("tbody",ye)}function Pe(H){return Ne(H),H.cols=H.cols.map(ue=>Tt({...ue},"value",()=>Ue(ue,H.row))),H}function Oe(H){return Ne(H),Tt(H,"value",()=>Ue(H.col,H.row)),H}function rt(H){return Ne(H),H}function Ne(H){Object.assign(H,{cols:P.value,colsMap:m.value,sort:L,rowIndex:x.value+H.pageIndex,color:e.color,dark:r.value,dense:e.dense}),U.value===!0&&Tt(H,"selected",()=>re(H.key),(ue,pe)=>{se([H.key],[H.row],ue,pe)}),Tt(H,"expand",()=>M(H.key),ue=>{W(H.key,ue)})}function Ue(H,ue){const pe=typeof H.field=="function"?H.field(ue):ue[H.field];return H.format!==void 0?H.format(pe,ue):pe}const Je=y(()=>({pagination:v.value,pagesNumber:Se.value,isFirstPage:O.value,isLastPage:Y.value,firstPage:R,prevPage:j,nextPage:z,lastPage:B,inFullscreen:l.value,toggleFullscreen:s}));function ln(){const H=t.top,ue=t["top-left"],pe=t["top-right"],ye=t["top-selection"],Te=U.value===!0&&ye!==void 0&&ee.value>0,Qe="q-table__top relative-position row items-center";if(H!==void 0)return b("div",{class:Qe},[H(Je.value)]);let Ke;if(Te===!0?Ke=ye(Je.value).slice():(Ke=[],ue!==void 0?Ke.push(b("div",{class:"q-table__control"},[ue(Je.value)])):e.title&&Ke.push(b("div",{class:"q-table__control"},[b("div",{class:["q-table__title",e.titleClass]},e.title)]))),pe!==void 0&&(Ke.push(b("div",{class:"q-table__separator col"})),Ke.push(b("div",{class:"q-table__control"},[pe(Je.value)]))),Ke.length!==0)return b("div",{class:Qe},Ke)}const sn=y(()=>ie.value===!0?null:N.value);function ot(){const H=wt();return e.loading===!0&&t.loading===void 0&&H.push(b("tr",{class:"q-table__progress"},[b("th",{class:"relative-position",colspan:$.value},he())])),b("thead",H)}function wt(){const H=t.header,ue=t["header-cell"];if(H!==void 0)return H(an({header:!0})).slice();const pe=P.value.map(ye=>{const Te=t[`header-cell-${ye.name}`],Qe=Te!==void 0?Te:ue,Ke=an({col:ye});return Qe!==void 0?Qe(Ke):b(Ly,{key:ye.name,props:Ke},()=>ye.label)});if(C.value===!0&&e.grid!==!0)pe.unshift(b("th",{class:"q-table--col-auto-width"}," "));else if(J.value===!0){const ye=t["header-selection"],Te=ye!==void 0?ye(an({})):[b(oi,{color:e.color,modelValue:sn.value,dark:r.value,dense:e.dense,"onUpdate:modelValue":Do})];pe.unshift(b("th",{class:"q-table--col-auto-width"},Te))}return[b("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},pe)]}function an(H){return Object.assign(H,{cols:P.value,sort:L,colsMap:m.value,color:e.color,dark:r.value,dense:e.dense}),J.value===!0&&Tt(H,"selected",()=>sn.value,Do),H}function Do(H){ie.value===!0&&(H=!1),se(F.value.map(a.value),F.value,H)}const Ln=y(()=>{const H=[e.iconFirstPage||i.iconSet.table.firstPage,e.iconPrevPage||i.iconSet.table.prevPage,e.iconNextPage||i.iconSet.table.nextPage,e.iconLastPage||i.iconSet.table.lastPage];return i.lang.rtl===!0?H.reverse():H});function Si(){if(e.hideBottom===!0)return;if(X.value===!0){if(e.hideNoData===!0)return;const pe=e.loading===!0?e.loadingLabel||i.lang.table.loading:e.filter?e.noResultsLabel||i.lang.table.noResults:e.noDataLabel||i.lang.table.noData,ye=t["no-data"],Te=ye!==void 0?[ye({message:pe,icon:i.iconSet.table.warning,filter:e.filter})]:[b(lt,{class:"q-table__bottom-nodata-icon",name:i.iconSet.table.warning}),pe];return b("div",{class:Mi+" q-table__bottom--nodata"},Te)}const H=t.bottom;if(H!==void 0)return b("div",{class:Mi},[H(Je.value)]);const ue=e.hideSelectedBanner!==!0&&U.value===!0&&ee.value>0?[b("div",{class:"q-table__control"},[b("div",[(e.selectedRowsLabel||i.lang.table.selectedRecords)(ee.value)])])]:[];if(e.hidePagination!==!0)return b("div",{class:Mi+" justify-end"},Wr(ue));if(ue.length!==0)return b("div",{class:Mi},ue)}function Kr(H){E({page:1,rowsPerPage:H.value})}function Wr(H){let ue;const{rowsPerPage:pe}=v.value,ye=e.paginationLabel||i.lang.table.pagination,Te=t.pagination,Qe=e.rowsPerPageOptions.length>1;if(H.push(b("div",{class:"q-table__separator col"})),Qe===!0&&H.push(b("div",{class:"q-table__control"},[b("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||i.lang.table.recordsPerPage]),b(B0,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:pe,options:w.value,displayValue:pe===0?i.lang.table.allRows:pe,dark:r.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":Kr})])),Te!==void 0)ue=Te(Je.value);else if(ue=[b("span",pe!==0?{class:"q-table__bottom-item"}:{},[pe?ye(x.value+1,Math.min(K.value,S.value),S.value):ye(1,A.value,S.value)])],pe!==0&&Se.value>1){const Ke={color:e.color,round:!0,dense:!0,flat:!0};e.dense===!0&&(Ke.size="sm"),Se.value>2&&ue.push(b(Ze,{key:"pgFirst",...Ke,icon:Ln.value[0],disable:O.value,onClick:R})),ue.push(b(Ze,{key:"pgPrev",...Ke,icon:Ln.value[1],disable:O.value,onClick:j}),b(Ze,{key:"pgNext",...Ke,icon:Ln.value[2],disable:Y.value,onClick:z})),Se.value>2&&ue.push(b(Ze,{key:"pgLast",...Ke,icon:Ln.value[3],disable:Y.value,onClick:B}))}return H.push(b("div",{class:"q-table__control"},ue)),H}function _i(){const H=e.gridHeader===!0?[b("table",{class:"q-table"},[ot()])]:e.loading===!0&&t.loading===void 0?he():void 0;return b("div",{class:"q-table__middle"},H)}function Qr(){const H=t.item!==void 0?t.item:ue=>{const pe=ue.cols.map(Te=>b("div",{class:"q-table__grid-item-row"},[b("div",{class:"q-table__grid-item-title"},[Te.label]),b("div",{class:"q-table__grid-item-value"},[Te.value])]));if(U.value===!0){const Te=t["body-selection"],Qe=Te!==void 0?Te(ue):[b(oi,{modelValue:ue.selected,color:e.color,dark:r.value,dense:e.dense,"onUpdate:modelValue":(Ke,It)=>{se([ue.key],[ue.row],Ke,It)}})];pe.unshift(b("div",{class:"q-table__grid-item-row"},Qe),b(ls,{dark:r.value}))}const ye={class:["q-table__grid-item-card"+d.value,e.cardClass],style:e.cardStyle};return(e.onRowClick!==void 0||e.onRowDblclick!==void 0)&&(ye.class[0]+=" cursor-pointer",e.onRowClick!==void 0&&(ye.onClick=Te=>{n("RowClick",Te,ue.row,ue.pageIndex)}),e.onRowDblclick!==void 0&&(ye.onDblclick=Te=>{n("RowDblclick",Te,ue.row,ue.pageIndex)})),b("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(ue.selected===!0?" q-table__grid-item--selected":"")},[b("div",ye,pe)])};return b("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},F.value.map((ue,pe)=>H(Pe({key:a.value(ue),row:ue,pageIndex:pe}))))}return Object.assign(o.proxy,{requestServerInteraction:_,setPagination:E,firstPage:R,prevPage:j,nextPage:z,lastPage:B,isRowSelected:re,clearSelection:Q,isRowExpanded:M,setExpanded:I,sort:L,resetVirtualScroll:te,scrollTo:de,getCellValue:Ue}),Qm(o.proxy,{filteredSortedRows:()=>Z.value,computedRows:()=>F.value,computedRowsNumber:()=>S.value}),()=>{const H=[ln()],ue={ref:c,class:g.value};return e.grid===!0?H.push(_i()):Object.assign(ue,{class:[ue.class,e.cardClass],style:e.cardStyle}),H.push(G(),Si()),e.loading===!0&&t.loading!==void 0&&H.push(t.loading()),b("div",ue,H)}}}),sw={data(){return{loading:!1,message:"",differences:[],columns:[{name:"table",label:"Table",align:"left",field:"table"},{name:"difference",label:"Difference",align:"left",field:"difference"},{name:"action",label:"Action",align:"center",field:"action",sortable:!1}]}},methods:{async compareDatabases(){this.loading=!0;try{const e=await Fe.post("http://localhost:3000/api/compare",{config:{host:this.$store.state.db.host,port:this.$store.state.db.port,user:this.$store.state.db.user,password:this.$store.state.db.password},database:this.$store.state.db.database,output:"outputDir"});this.differences=e.data.map(t=>({table:t.table,difference:t.difference,action:"Apply"}))}catch(e){this.message=e.response.data.message}finally{this.loading=!1}},applyDifference(e){console.log("Applying difference:",e)}}},aw={key:2};function uw(e,t,n,o,i,r){return je(),ut(Dr,null,{default:Ee(()=>[ge(Ze,{onClick:r.compareDatabases,label:"Compare Databases",color:"primary"},null,8,["onClick"]),i.differences.length?(je(),ut(fh,{key:0,rows:i.differences,columns:i.columns},null,8,["rows","columns"])):mt("",!0),i.loading?(je(),ut(vn,{key:1})):mt("",!0),i.message?(je(),dn("div",aw,gt(i.message),1)):mt("",!0)]),_:1})}const cw=jr(sw,[["render",uw]]),fw={data(){return{loading:!1,message:""}},methods:{async applyChanges(){this.loading=!0;try{const e=await Fe.post("http://localhost:3000/api/apply",{config:{host:this.$store.state.db.host,port:this.$store.state.db.port,user:this.$store.state.db.user,password:this.$store.state.db.password},database:this.$store.state.db.database,diffs:this.getSelectedDiffs()});this.message=e.data.message}catch(e){this.message=e.response.data.message}finally{this.loading=!1}},getSelectedDiffs(){return[]}}},dw={key:1};function hw(e,t,n,o,i,r){return je(),ut(Dr,null,{default:Ee(()=>[ge(Ze,{onClick:r.applyChanges,label:"Apply Changes",color:"primary"},null,8,["onClick"]),i.loading?(je(),ut(vn,{key:0})):mt("",!0),i.message?(je(),dn("div",dw,gt(i.message),1)):mt("",!0)]),_:1})}const gw=jr(fw,[["render",hw]]),Pt=Ae({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=y(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>b(e.tag,{class:n.value},Ge(t.default))}}),Vn=Ae({name:"QCard",props:{...Ct,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=Re(),o=kt(e,n),i=y(()=>"q-card"+(o.value===!0?" q-card--dark q-dark":"")+(e.bordered===!0?" q-card--bordered":"")+(e.square===!0?" q-card--square no-border-radius":"")+(e.flat===!0?" q-card--flat no-shadow":""));return()=>b(e.tag,{class:i.value},Ge(t.default))}}),mw=["top","middle","bottom"],ac=Ae({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>mw.includes(e)}},setup(e,{slots:t}){const n=y(()=>e.align!==void 0?{verticalAlign:e.align}:null),o=y(()=>{const i=e.outline===!0&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${e.multiLine===!0?"multi":"single"}-line`+(e.outline===!0?" q-badge--outline":e.color!==void 0?` bg-${e.color}`:"")+(i!==void 0?` text-${i}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>b("div",{class:o.value,style:n.value,role:"status","aria-label":e.label},Ut(t.default,e.label!==void 0?[e.label]:[]))}}),Al=Ae({name:"QTooltip",inheritAttrs:!1,props:{...Ud,...Ws,...ni,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...ni.transitionShow,default:"jump-down"},transitionHide:{...ni.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:fr},self:{type:String,default:"top middle",validator:fr},offset:{type:Array,default:()=>[14,14],validator:th},scrollTarget:js,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...Qs],setup(e,{slots:t,emit:n,attrs:o}){let i,r;const l=Re(),{proxy:{$q:s}}=l,a=ae(null),c=ae(!1),u=y(()=>dr(e.anchor,s.lang.rtl)),f=y(()=>dr(e.self,s.lang.rtl)),d=y(()=>e.persistent!==!0),{registerTick:h,removeTick:g}=Zs(),{registerTimeout:p}=ea(),{transitionProps:v,transitionStyle:q}=Ys(e),{localScrollTarget:_,changeScrollEvent:E,unconfigureScrollTarget:T}=Wd(e,me),{anchorEl:M,canShow:I,anchorEvents:W}=Kd({showing:c,configureAnchorEl:se}),{show:Z,hide:A}=Gs({showing:c,canShow:I,handleShow:J,handleHide:N,hideOnRouteChange:d,processOnMount:!0});Object.assign(W,{delayShow:re,delayHide:Q});const{showPortal:F,hidePortal:U,renderPortal:C}=Xs(l,a,m,"tooltip");if(s.platform.is.mobile===!0){const $={anchorEl:M,innerRef:a,onClickOutside(ne){return A(ne),ne.target.classList.contains("q-dialog__backdrop")&&We(ne),!0}},D=y(()=>e.modelValue===null&&e.persistent!==!0&&c.value===!0);be(D,ne=>{(ne===!0?eh:cr)($)}),et(()=>{cr($)})}function J($){F(),h(()=>{r=new MutationObserver(()=>ee()),r.observe(a.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),ee(),me()}),i===void 0&&(i=be(()=>s.screen.width+"|"+s.screen.height+"|"+e.self+"|"+e.anchor+"|"+s.lang.rtl,ee)),p(()=>{F(!0),n("show",$)},e.transitionDuration)}function N($){g(),U(),ie(),p(()=>{U(!0),n("hide",$)},e.transitionDuration)}function ie(){r!==void 0&&(r.disconnect(),r=void 0),i!==void 0&&(i(),i=void 0),T(),tr(W,"tooltipTemp")}function ee(){ta({targetEl:a.value,offset:e.offset,anchorEl:M.value,anchorOrigin:u.value,selfOrigin:f.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function re($){if(s.platform.is.mobile===!0){us(),document.body.classList.add("non-selectable");const D=M.value,ne=["touchmove","touchcancel","touchend","click"].map(L=>[D,L,"delayHide","passiveCapture"]);ci(W,"tooltipTemp",ne)}p(()=>{Z($)},e.delay)}function Q($){s.platform.is.mobile===!0&&(tr(W,"tooltipTemp"),us(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),p(()=>{A($)},e.hideDelay)}function se(){if(e.noParentEvent===!0||M.value===null)return;const $=s.platform.is.mobile===!0?[[M.value,"touchstart","delayShow","passive"]]:[[M.value,"mouseenter","delayShow","passive"],[M.value,"mouseleave","delayHide","passive"]];ci(W,"anchor",$)}function me(){if(M.value!==null||e.scrollTarget!==void 0){_.value=Hs(M.value,e.scrollTarget);const $=e.noParentEvent===!0?ee:A;E(_.value,$)}}function P(){return c.value===!0?b("div",{...o,ref:a,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",o.class],style:[o.style,q.value],role:"tooltip"},Ge(t.default)):null}function m(){return b(Zn,v.value,P)}return et(ie),Object.assign(l.proxy,{updatePosition:ee}),C}}),vw=Ae({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(e,{slots:t,emit:n}){let o=!1,i,r,l=null,s=null,a,c;function u(){i&&i(),i=null,o=!1,l!==null&&(clearTimeout(l),l=null),s!==null&&(clearTimeout(s),s=null),r!==void 0&&r.removeEventListener("transitionend",a),a=null}function f(p,v,q){v!==void 0&&(p.style.height=`${v}px`),p.style.transition=`height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`,o=!0,i=q}function d(p,v){p.style.overflowY=null,p.style.height=null,p.style.transition=null,u(),v!==c&&n(v)}function h(p,v){let q=0;r=p,o===!0?(u(),q=p.offsetHeight===p.scrollHeight?0:void 0):(c="hide",p.style.overflowY="hidden"),f(p,q,v),l=setTimeout(()=>{l=null,p.style.height=`${p.scrollHeight}px`,a=_=>{s=null,(Object(_)!==_||_.target===p)&&d(p,"show")},p.addEventListener("transitionend",a),s=setTimeout(a,e.duration*1.1)},100)}function g(p,v){let q;r=p,o===!0?u():(c="show",p.style.overflowY="hidden",q=p.scrollHeight),f(p,q,v),l=setTimeout(()=>{l=null,p.style.height=0,a=_=>{s=null,(Object(_)!==_||_.target===p)&&d(p,"hide")},p.addEventListener("transitionend",a),s=setTimeout(a,e.duration*1.1)},100)}return et(()=>{o===!0&&u()}),()=>b(Zn,{css:!1,appear:e.appear,onEnter:h,onLeave:g},t.default)}}),pw=["none","strict","leaf","leaf-filtered"],bw=Ae({name:"QTree",props:{...Ct,nodes:{type:Array,required:!0},nodeKey:{type:String,required:!0},labelKey:{type:String,default:"label"},childrenKey:{type:String,default:"children"},dense:Boolean,color:String,controlColor:String,textColor:String,selectedColor:String,icon:String,tickStrategy:{type:String,default:"none",validator:e=>pw.includes(e)},ticked:Array,expanded:Array,selected:{},noSelectionUnset:Boolean,defaultExpandAll:Boolean,accordion:Boolean,filter:String,filterMethod:Function,duration:{},noConnectors:Boolean,noTransition:Boolean,noNodesLabel:String,noResultsLabel:String},emits:["update:expanded","update:ticked","update:selected","lazyLoad","afterShow","afterHide"],setup(e,{slots:t,emit:n}){const{proxy:o}=Re(),{$q:i}=o,r=kt(e,i),l=ae({}),s=ae(e.ticked||[]),a=ae(e.expanded||[]);let c={};qr(()=>{c={}});const u=y(()=>`q-tree q-tree--${e.dense===!0?"dense":"standard"}`+(e.noConnectors===!0?" q-tree--no-connectors":"")+(r.value===!0?" q-tree--dark":"")+(e.color!==void 0?` text-${e.color}`:"")),f=y(()=>e.selected!==void 0),d=y(()=>e.icon||i.iconSet.tree.icon),h=y(()=>e.controlColor||e.color),g=y(()=>e.textColor!==void 0?` text-${e.textColor}`:""),p=y(()=>{const m=e.selectedColor||e.color;return m?` text-${m}`:""}),v=y(()=>e.filterMethod!==void 0?e.filterMethod:(m,$)=>{const D=$.toLowerCase();return m[e.labelKey]&&m[e.labelKey].toLowerCase().indexOf(D)!==-1}),q=y(()=>{const m={},$=(D,ne)=>{const L=D.tickStrategy||(ne?ne.tickStrategy:e.tickStrategy),x=D[e.nodeKey],K=D[e.childrenKey]&&Array.isArray(D[e.childrenKey])&&D[e.childrenKey].length!==0,O=D.disabled!==!0&&f.value===!0&&D.selectable!==!1,Y=D.disabled!==!0&&D.expandable!==!1,Se=L!=="none",w=L==="strict",S=L==="leaf-filtered",R=L==="leaf"||L==="leaf-filtered";let j=D.disabled!==!0&&D.tickable!==!1;R===!0&&j===!0&&ne&&ne.tickable!==!0&&(j=!1);let z=D.lazy;z===!0&&l.value[x]!==void 0&&Array.isArray(D[e.childrenKey])===!0&&(z=l.value[x]);const B={key:x,parent:ne,isParent:K,lazy:z,disabled:D.disabled,link:D.disabled!==!0&&(O===!0||Y===!0&&(K===!0||z===!0)),children:[],matchesFilter:e.filter?v.value(D,e.filter):!0,selected:x===e.selected&&O===!0,selectable:O,expanded:K===!0?a.value.includes(x):!1,expandable:Y,noTick:D.noTick===!0||w!==!0&&z&&z!=="loaded",tickable:j,tickStrategy:L,hasTicking:Se,strictTicking:w,leafFilteredTicking:S,leafTicking:R,ticked:w===!0?s.value.includes(x):K===!0?!1:s.value.includes(x)};if(m[x]=B,K===!0&&(B.children=D[e.childrenKey].map(X=>$(X,B)),e.filter&&(B.matchesFilter!==!0?B.matchesFilter=B.children.some(X=>X.matchesFilter):B.noTick!==!0&&B.disabled!==!0&&B.tickable===!0&&S===!0&&B.children.every(X=>X.matchesFilter!==!0||X.noTick===!0||X.tickable!==!0)===!0&&(B.tickable=!1)),B.matchesFilter===!0&&(B.noTick!==!0&&w!==!0&&B.children.every(X=>X.noTick)===!0&&(B.noTick=!0),R))){if(B.ticked=!1,B.indeterminate=B.children.some(X=>X.indeterminate===!0),B.tickable=B.tickable===!0&&B.children.some(X=>X.tickable),B.indeterminate!==!0){const X=B.children.reduce((oe,te)=>te.ticked===!0?oe+1:oe,0);X===B.children.length?B.ticked=!0:X>0&&(B.indeterminate=!0)}B.indeterminate===!0&&(B.indeterminateNextState=B.children.every(X=>X.tickable!==!0||X.ticked!==!0))}return B};return e.nodes.forEach(D=>$(D,null)),m});be(()=>e.ticked,m=>{s.value=m}),be(()=>e.expanded,m=>{a.value=m});function _(m){const $=[].reduce,D=(ne,L)=>{if(ne||!L)return ne;if(Array.isArray(L)===!0)return $.call(Object(L),D,ne);if(L[e.nodeKey]===m)return L;if(L[e.childrenKey])return D(null,L[e.childrenKey])};return D(null,e.nodes)}function E(){return s.value.map(m=>_(m))}function T(){return a.value.map(m=>_(m))}function M(m){return m&&q.value[m]?q.value[m].expanded:!1}function I(){e.expanded!==void 0?n("update:expanded",[]):a.value=[]}function W(){const m=[],$=D=>{D[e.childrenKey]&&D[e.childrenKey].length!==0&&D.expandable!==!1&&D.disabled!==!0&&(m.push(D[e.nodeKey]),D[e.childrenKey].forEach($))};e.nodes.forEach($),e.expanded!==void 0?n("update:expanded",m):a.value=m}function Z(m,$,D=_(m),ne=q.value[m]){if(ne.lazy&&ne.lazy!=="loaded"){if(ne.lazy==="loading")return;l.value[m]="loading",Array.isArray(D[e.childrenKey])!==!0&&(D[e.childrenKey]=[]),n("lazyLoad",{node:D,key:m,done:L=>{l.value[m]="loaded",D[e.childrenKey]=Array.isArray(L)===!0?L:[],He(()=>{const x=q.value[m];x&&x.isParent===!0&&A(m,!0)})},fail:()=>{delete l.value[m],D[e.childrenKey].length===0&&delete D[e.childrenKey]}})}else ne.isParent===!0&&ne.expandable===!0&&A(m,$)}function A(m,$){let D=a.value;const ne=e.expanded!==void 0;if(ne===!0&&(D=D.slice()),$){if(e.accordion&&q.value[m]){const L=[];q.value[m].parent?q.value[m].parent.children.forEach(x=>{x.key!==m&&x.expandable===!0&&L.push(x.key)}):e.nodes.forEach(x=>{const K=x[e.nodeKey];K!==m&&L.push(K)}),L.length!==0&&(D=D.filter(x=>L.includes(x)===!1))}D=D.concat([m]).filter((L,x,K)=>K.indexOf(L)===x)}else D=D.filter(L=>L!==m);ne===!0?n("update:expanded",D):a.value=D}function F(m){return m&&q.value[m]?q.value[m].ticked:!1}function U(m,$){let D=s.value;const ne=e.ticked!==void 0;ne===!0&&(D=D.slice()),$?D=D.concat(m).filter((L,x,K)=>K.indexOf(L)===x):D=D.filter(L=>m.includes(L)===!1),ne===!0&&n("update:ticked",D)}function C(m,$,D){const ne={tree:o,node:m,key:D,color:e.color,dark:r.value};return Tt(ne,"expanded",()=>$.expanded,L=>{L!==$.expanded&&Z(D,L)}),Tt(ne,"ticked",()=>$.ticked,L=>{L!==$.ticked&&U([D],L)}),ne}function J(m){return(e.filter?m.filter($=>q.value[$[e.nodeKey]].matchesFilter):m).map($=>re($))}function N(m){if(m.icon!==void 0)return b(lt,{class:"q-tree__icon q-mr-sm",name:m.icon,color:m.iconColor});const $=m.img||m.avatar;if($)return b("img",{class:`q-tree__${m.img?"img":"avatar"} q-mr-sm`,src:$})}function ie(){n("afterShow")}function ee(){n("afterHide")}function re(m){const $=m[e.nodeKey],D=q.value[$],ne=m.header&&t[`header-${m.header}`]||t["default-header"],L=D.isParent===!0?J(m[e.childrenKey]):[],x=L.length!==0||D.lazy&&D.lazy!=="loaded";let K=m.body&&t[`body-${m.body}`]||t["default-body"];const O=ne!==void 0||K!==void 0?C(m,D,$):null;return K!==void 0&&(K=b("div",{class:"q-tree__node-body relative-position"},[b("div",{class:g.value},[K(O)])])),b("div",{key:$,class:`q-tree__node relative-position q-tree__node--${x===!0?"parent":"child"}`},[b("div",{class:"q-tree__node-header relative-position row no-wrap items-center"+(D.link===!0?" q-tree__node--link q-hoverable q-focusable":"")+(D.selected===!0?" q-tree__node--selected":"")+(D.disabled===!0?" q-tree__node--disabled":""),tabindex:D.link===!0?0:-1,ariaExpanded:L.length>0?D.expanded:null,role:"treeitem",onClick:Y=>{se(m,D,Y)},onKeypress(Y){Lr(Y)!==!0&&(Y.keyCode===13?se(m,D,Y,!0):Y.keyCode===32&&me(m,D,Y,!0))}},[b("div",{class:"q-focus-helper",tabindex:-1,ref:Y=>{c[D.key]=Y}}),D.lazy==="loading"?b(vn,{class:"q-tree__spinner",color:h.value}):x===!0?b(lt,{class:"q-tree__arrow"+(D.expanded===!0?" q-tree__arrow--rotate":""),name:d.value,onClick(Y){me(m,D,Y)}}):null,D.hasTicking===!0&&D.noTick!==!0?b(oi,{class:"q-tree__tickbox",modelValue:D.indeterminate===!0?null:D.ticked,color:h.value,dark:r.value,dense:!0,keepColor:!0,disable:D.tickable!==!0,onKeydown:We,"onUpdate:modelValue":Y=>{P(D,Y)}}):null,b("div",{class:"q-tree__node-header-content col row no-wrap items-center"+(D.selected===!0?p.value:g.value)},[ne?ne(O):[N(m),b("div",m[e.labelKey])]])]),x===!0?e.noTransition===!0?D.expanded===!0?b("div",{class:"q-tree__node-collapsible"+g.value,key:`${$}__q`},[K,b("div",{class:"q-tree__children"+(D.disabled===!0?" q-tree__node--disabled":""),role:"group"},L)]):null:b(vw,{duration:e.duration,onShow:ie,onHide:ee},()=>xr(b("div",{class:"q-tree__node-collapsible"+g.value,key:`${$}__q`},[K,b("div",{class:"q-tree__children"+(D.disabled===!0?" q-tree__node--disabled":""),role:"group"},L)]),[[wm,D.expanded]])):K])}function Q(m){const $=c[m];$&&$.focus()}function se(m,$,D,ne){ne!==!0&&$.selectable!==!1&&Q($.key),f.value&&$.selectable?e.noSelectionUnset===!1?n("update:selected",$.key!==e.selected?$.key:null):$.key!==e.selected&&n("update:selected",$.key===void 0?null:$.key):me(m,$,D,ne),typeof m.handler=="function"&&m.handler(m)}function me(m,$,D,ne){D!==void 0&&We(D),ne!==!0&&$.selectable!==!1&&Q($.key),Z($.key,!$.expanded,m,$)}function P(m,$){if(m.indeterminate===!0&&($=m.indeterminateNextState),m.strictTicking)U([m.key],$);else if(m.leafTicking){const D=[],ne=L=>{L.isParent?($!==!0&&L.noTick!==!0&&L.tickable===!0&&D.push(L.key),L.leafTicking===!0&&L.children.forEach(ne)):L.noTick!==!0&&L.tickable===!0&&(L.leafFilteredTicking!==!0||L.matchesFilter===!0)&&D.push(L.key)};ne(m),U(D,$)}}return e.defaultExpandAll===!0&&W(),Object.assign(o,{getNodeByKey:_,getTickedNodes:E,getExpandedNodes:T,isExpanded:M,collapseAll:I,expandAll:W,setExpanded:Z,isTicked:F,setTicked:U}),()=>{const m=J(e.nodes);return b("div",{class:u.value,role:"tree"},m.length===0?e.filter?e.noResultsLabel||i.lang.tree.noResults:e.noNodesLabel||i.lang.tree.noNodes:m)}}}),uc={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},gr={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},dh=Object.keys(gr);dh.forEach(e=>{gr[e].regex=new RegExp(gr[e].pattern)});const yw=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+dh.join("")+"])|(.)","g"),cc=/[.*+?^${}()|[\]\\]/g,tt="",ww={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function Sw(e,t,n,o){let i,r,l,s,a,c;const u=ae(null),f=ae(h());function d(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}be(()=>e.type+e.autogrow,p),be(()=>e.mask,A=>{if(A!==void 0)v(f.value,!0);else{const F=W(f.value);p(),e.modelValue!==F&&t("update:modelValue",F)}}),be(()=>e.fillMask+e.reverseFillMask,()=>{u.value===!0&&v(f.value,!0)}),be(()=>e.unmaskedValue,()=>{u.value===!0&&v(f.value)});function h(){if(p(),u.value===!0){const A=M(W(e.modelValue));return e.fillMask!==!1?Z(A):A}return e.modelValue}function g(A){if(A<i.length)return i.slice(-A);let F="",U=i;const C=U.indexOf(tt);if(C!==-1){for(let J=A-U.length;J>0;J--)F+=tt;U=U.slice(0,C)+F+U.slice(C)}return U}function p(){if(u.value=e.mask!==void 0&&e.mask.length!==0&&d(),u.value===!1){s=void 0,i="",r="";return}const A=uc[e.mask]===void 0?e.mask:uc[e.mask],F=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",U=F.replace(cc,"\\$&"),C=[],J=[],N=[];let ie=e.reverseFillMask===!0,ee="",re="";A.replace(yw,(P,m,$,D,ne)=>{if(D!==void 0){const L=gr[D];N.push(L),re=L.negate,ie===!0&&(J.push("(?:"+re+"+)?("+L.pattern+"+)?(?:"+re+"+)?("+L.pattern+"+)?"),ie=!1),J.push("(?:"+re+"+)?("+L.pattern+")?")}else if($!==void 0)ee="\\"+($==="\\"?"":$),N.push($),C.push("([^"+ee+"]+)?"+ee+"?");else{const L=m!==void 0?m:ne;ee=L==="\\"?"\\\\\\\\":L.replace(cc,"\\\\$&"),N.push(L),C.push("([^"+ee+"]+)?"+ee+"?")}});const Q=new RegExp("^"+C.join("")+"("+(ee===""?".":"[^"+ee+"]")+"+)?"+(ee===""?"":"["+ee+"]*")+"$"),se=J.length-1,me=J.map((P,m)=>m===0&&e.reverseFillMask===!0?new RegExp("^"+U+"*"+P):m===se?new RegExp("^"+P+"("+(re===""?".":re)+"+)?"+(e.reverseFillMask===!0?"$":U+"*")):new RegExp("^"+P));l=N,s=P=>{const m=Q.exec(e.reverseFillMask===!0?P:P.slice(0,N.length+1));m!==null&&(P=m.slice(1).join(""));const $=[],D=me.length;for(let ne=0,L=P;ne<D;ne++){const x=me[ne].exec(L);if(x===null)break;L=L.slice(x.shift().length),$.push(...x)}return $.length!==0?$.join(""):P},i=N.map(P=>typeof P=="string"?P:tt).join(""),r=i.split(tt).join(F)}function v(A,F,U){const C=o.value,J=C.selectionEnd,N=C.value.length-J,ie=W(A);F===!0&&p();const ee=M(ie),re=e.fillMask!==!1?Z(ee):ee,Q=f.value!==re;C.value!==re&&(C.value=re),Q===!0&&(f.value=re),document.activeElement===C&&He(()=>{if(re===r){const me=e.reverseFillMask===!0?r.length:0;C.setSelectionRange(me,me,"forward");return}if(U==="insertFromPaste"&&e.reverseFillMask!==!0){const me=C.selectionEnd;let P=J-1;for(let m=a;m<=P&&m<me;m++)i[m]!==tt&&P++;_.right(C,P);return}if(["deleteContentBackward","deleteContentForward"].indexOf(U)!==-1){const me=e.reverseFillMask===!0?J===0?re.length>ee.length?1:0:Math.max(0,re.length-(re===r?0:Math.min(ee.length,N)+1))+1:J;C.setSelectionRange(me,me,"forward");return}if(e.reverseFillMask===!0)if(Q===!0){const me=Math.max(0,re.length-(re===r?0:Math.min(ee.length,N+1)));me===1&&J===1?C.setSelectionRange(me,me,"forward"):_.rightReverse(C,me)}else{const me=re.length-N;C.setSelectionRange(me,me,"backward")}else if(Q===!0){const me=Math.max(0,i.indexOf(tt),Math.min(ee.length,J)-1);_.right(C,me)}else{const me=J-1;_.right(C,me)}});const se=e.unmaskedValue===!0?W(re):re;String(e.modelValue)!==se&&(e.modelValue!==null||se!=="")&&n(se,!0)}function q(A,F,U){const C=M(W(A.value));F=Math.max(0,i.indexOf(tt),Math.min(C.length,F)),a=F,A.setSelectionRange(F,U,"forward")}const _={left(A,F){const U=i.slice(F-1).indexOf(tt)===-1;let C=Math.max(0,F-1);for(;C>=0;C--)if(i[C]===tt){F=C,U===!0&&F++;break}if(C<0&&i[F]!==void 0&&i[F]!==tt)return _.right(A,0);F>=0&&A.setSelectionRange(F,F,"backward")},right(A,F){const U=A.value.length;let C=Math.min(U,F+1);for(;C<=U;C++)if(i[C]===tt){F=C;break}else i[C-1]===tt&&(F=C);if(C>U&&i[F-1]!==void 0&&i[F-1]!==tt)return _.left(A,U);A.setSelectionRange(F,F,"forward")},leftReverse(A,F){const U=g(A.value.length);let C=Math.max(0,F-1);for(;C>=0;C--)if(U[C-1]===tt){F=C;break}else if(U[C]===tt&&(F=C,C===0))break;if(C<0&&U[F]!==void 0&&U[F]!==tt)return _.rightReverse(A,0);F>=0&&A.setSelectionRange(F,F,"backward")},rightReverse(A,F){const U=A.value.length,C=g(U),J=C.slice(0,F+1).indexOf(tt)===-1;let N=Math.min(U,F+1);for(;N<=U;N++)if(C[N-1]===tt){F=N,F>0&&J===!0&&F--;break}if(N>U&&C[F-1]!==void 0&&C[F-1]!==tt)return _.leftReverse(A,U);A.setSelectionRange(F,F,"forward")}};function E(A){t("click",A),c=void 0}function T(A){if(t("keydown",A),Lr(A)===!0||A.altKey===!0)return;const F=o.value,U=F.selectionStart,C=F.selectionEnd;if(A.shiftKey||(c=void 0),A.keyCode===37||A.keyCode===39){A.shiftKey&&c===void 0&&(c=F.selectionDirection==="forward"?U:C);const J=_[(A.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(A.preventDefault(),J(F,c===U?C:U),A.shiftKey){const N=F.selectionStart;F.setSelectionRange(Math.min(c,N),Math.max(c,N),"forward")}}else A.keyCode===8&&e.reverseFillMask!==!0&&U===C?(_.left(F,U),F.setSelectionRange(F.selectionStart,C,"backward")):A.keyCode===46&&e.reverseFillMask===!0&&U===C&&(_.rightReverse(F,C),F.setSelectionRange(U,F.selectionEnd,"forward"))}function M(A){if(A==null||A==="")return"";if(e.reverseFillMask===!0)return I(A);const F=l;let U=0,C="";for(let J=0;J<F.length;J++){const N=A[U],ie=F[J];if(typeof ie=="string")C+=ie,N===ie&&U++;else if(N!==void 0&&ie.regex.test(N))C+=ie.transform!==void 0?ie.transform(N):N,U++;else return C}return C}function I(A){const F=l,U=i.indexOf(tt);let C=A.length-1,J="";for(let N=F.length-1;N>=0&&C!==-1;N--){const ie=F[N];let ee=A[C];if(typeof ie=="string")J=ie+J,ee===ie&&C--;else if(ee!==void 0&&ie.regex.test(ee))do J=(ie.transform!==void 0?ie.transform(ee):ee)+J,C--,ee=A[C];while(U===N&&ee!==void 0&&ie.regex.test(ee));else return J}return J}function W(A){return typeof A!="string"||s===void 0?typeof A=="number"?s(""+A):A:s(A)}function Z(A){return r.length-A.length<=0?A:e.reverseFillMask===!0&&A.length!==0?r.slice(0,-A.length)+A:A+r.slice(A.length)}return{innerValue:f,hasMask:u,moveCursorForPaste:q,updateMaskValue:v,onMaskedKeydown:T,onMaskedClick:E}}function _w(e,t){function n(){const o=e.modelValue;try{const i="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(o)===o&&("length"in o?Array.from(o):[o]).forEach(r=>{i.items.add(r)}),{files:i.files}}catch{return{files:void 0}}}return y(()=>{if(e.type==="file")return n()})}const In=Ae({name:"QInput",inheritAttrs:!1,props:{...zr,...ww,...Ur,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...zs,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:o}=Re(),{$q:i}=o,r={};let l=NaN,s,a,c=null,u;const f=ae(null),d=oh(e),{innerValue:h,hasMask:g,moveCursorForPaste:p,updateMaskValue:v,onMaskedKeydown:q,onMaskedClick:_}=Sw(e,t,ee,f),E=_w(e),T=y(()=>vi(h.value)),M=ih(N),I=Us({changeEvent:!0}),W=y(()=>e.type==="textarea"||e.autogrow===!0),Z=y(()=>W.value===!0||["text","search","url","tel","password"].includes(e.type)),A=y(()=>{const m={...I.splitAttrs.listeners.value,onInput:N,onPaste:J,onChange:Q,onBlur:se,onFocus:nn};return m.onCompositionstart=m.onCompositionupdate=m.onCompositionend=M,g.value===!0&&(m.onKeydown=q,m.onClick=_),e.autogrow===!0&&(m.onAnimationend=ie),m}),F=y(()=>{const m={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:d.value,...I.splitAttrs.attributes.value,id:I.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return W.value===!1&&(m.type=e.type),e.autogrow===!0&&(m.rows=1),m});be(()=>e.type,()=>{f.value&&(f.value.value=e.modelValue)}),be(()=>e.modelValue,m=>{if(g.value===!0){if(a===!0&&(a=!1,String(m)===l))return;v(m)}else h.value!==m&&(h.value=m,e.type==="number"&&r.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete r.value));e.autogrow===!0&&He(re)}),be(()=>e.autogrow,m=>{m===!0?He(re):f.value!==null&&n.rows>0&&(f.value.style.height="auto")}),be(()=>e.dense,()=>{e.autogrow===!0&&He(re)});function U(){Hr(()=>{const m=document.activeElement;f.value!==null&&f.value!==m&&(m===null||m.id!==I.targetUid.value)&&f.value.focus({preventScroll:!0})})}function C(){f.value!==null&&f.value.select()}function J(m){if(g.value===!0&&e.reverseFillMask!==!0){const $=m.target;p($,$.selectionStart,$.selectionEnd)}t("paste",m)}function N(m){if(!m||!m.target)return;if(e.type==="file"){t("update:modelValue",m.target.files);return}const $=m.target.value;if(m.target.qComposing===!0){r.value=$;return}if(g.value===!0)v($,!1,m.inputType);else if(ee($),Z.value===!0&&m.target===document.activeElement){const{selectionStart:D,selectionEnd:ne}=m.target;D!==void 0&&ne!==void 0&&He(()=>{m.target===document.activeElement&&$.indexOf(m.target.value)===0&&m.target.setSelectionRange(D,ne)})}e.autogrow===!0&&re()}function ie(m){t("animationend",m),re()}function ee(m,$){u=()=>{c=null,e.type!=="number"&&r.hasOwnProperty("value")===!0&&delete r.value,e.modelValue!==m&&l!==m&&(l=m,$===!0&&(a=!0),t("update:modelValue",m),He(()=>{l===m&&(l=NaN)})),u=void 0},e.type==="number"&&(s=!0,r.value=m),e.debounce!==void 0?(c!==null&&clearTimeout(c),r.value=m,c=setTimeout(u,e.debounce)):u()}function re(){requestAnimationFrame(()=>{const m=f.value;if(m!==null){const $=m.parentNode.style,{scrollTop:D}=m,{overflowY:ne,maxHeight:L}=i.platform.is.firefox===!0?{}:window.getComputedStyle(m),x=ne!==void 0&&ne!=="scroll";x===!0&&(m.style.overflowY="hidden"),$.marginBottom=m.scrollHeight-1+"px",m.style.height="1px",m.style.height=m.scrollHeight+"px",x===!0&&(m.style.overflowY=parseInt(L,10)<m.scrollHeight?"auto":"hidden"),$.marginBottom="",m.scrollTop=D}})}function Q(m){M(m),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),t("change",m.target.value)}function se(m){m!==void 0&&nn(m),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),s=!1,a=!1,delete r.value,e.type!=="file"&&setTimeout(()=>{f.value!==null&&(f.value.value=h.value!==void 0?h.value:"")})}function me(){return r.hasOwnProperty("value")===!0?r.value:h.value!==void 0?h.value:""}et(()=>{se()}),rn(()=>{e.autogrow===!0&&re()}),Object.assign(I,{innerValue:h,fieldClass:y(()=>`q-${W.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:y(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:f,emitValue:ee,hasValue:T,floatingLabel:y(()=>T.value===!0&&(e.type!=="number"||isNaN(h.value)===!1)||vi(e.displayValue)),getControl:()=>b(W.value===!0?"textarea":"input",{ref:f,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...F.value,...A.value,...e.type!=="file"?{value:me()}:E.value}),getShadowControl:()=>b("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(W.value===!0?"":" text-no-wrap")},[b("span",{class:"invisible"},me()),b("span",e.shadowText)])});const P=Ks(I);return Object.assign(o,{focus:U,select:C,getNativeElement:()=>f.value}),Tt(o,"nativeEl",()=>f.value),P}}),ds=Ae({name:"QCardActions",props:{...ud,vertical:Boolean},setup(e,{slots:t}){const n=cd(e),o=y(()=>`q-card__actions ${n.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>b("div",{class:o.value},Ge(t.default))}}),Pl=Ae({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=Re(),o=y(()=>"q-td"+(e.autoWidth===!0?" q-table--col-auto-width":"")+(e.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(e.props===void 0)return b("td",{class:o.value},Ge(t.default));const i=n.vnode.key,r=(e.props.colsMap!==void 0?e.props.colsMap[i]:null)||e.props.col;if(r===void 0)return;const{row:l}=e.props;return b("td",{class:o.value+r.__tdClass(l),style:r.__tdStyle(l)},Ge(t.default))}}}),xw=Ae({name:"QTr",props:{props:Object,noHover:Boolean},setup(e,{slots:t}){const n=y(()=>"q-tr"+(e.props===void 0||e.props.header===!0?"":" "+e.props.__trClass)+(e.noHover===!0?" q-tr--no-hover":""));return()=>b("tr",{class:n.value},Ge(t.default))}});function fc(e){if(e===!1)return 0;if(e===!0||e===void 0)return 1;const t=parseInt(e,10);return isNaN(t)?0:t}const Cw=Df({name:"close-popup",beforeMount(e,{value:t}){const n={depth:fc(t),handler(o){n.depth!==0&&setTimeout(()=>{const i=g0(e);i!==void 0&&m0(i,o,n.depth)})},handlerKey(o){mn(o,13)===!0&&n.handler(o)}};e.__qclosepopup=n,e.addEventListener("click",n.handler),e.addEventListener("keyup",n.handlerKey)},updated(e,{value:t,oldValue:n}){t!==n&&(e.__qclosepopup.depth=fc(t))},beforeUnmount(e){const t=e.__qclosepopup;e.removeEventListener("click",t.handler),e.removeEventListener("keyup",t.handlerKey),delete e.__qclosepopup}}),kw={data(){return{isDbSetup:!1,differences:{},columns:[{name:"table",label:"Table",align:"left",field:"table"},{name:"difference",label:"Difference",align:"left",field:"difference"}],settingsDialog:!1,host:"127.0.0.1",port:3306,user:"root",password:"",database:"",dbFolder:"db-dump",existingDatabases:[],databaseColumns:[{name:"name",label:"Database Name",align:"left",field:"name"},{name:"size",label:"Size",align:"left",field:"size"}],databaseTree:[],expandedNodes:[],issueDialog:!1,selectedIssues:[],selectedNode:null,isNodeFixing:{}}},methods:{openSettings(){this.settingsDialog=!0},closeSettings(){this.settingsDialog=!1},saveSettings(){const e={host:this.host,port:this.port,user:this.user,password:this.password,database:this.database,output:this.dbFolder};localStorage.setItem("dbConfig",JSON.stringify(e)),this.isDbSetup=!0,this.closeSettings(),this.refreshDifferences()},async refreshDifferences(){if(this.isDbSetup)try{const e=await Fe.post("http://localhost:3000/api/compare",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder,database:this.database}});this.differences=e.data}catch(e){console.error("Error fetching differences:",e)}},async getDatabasesFromExistingDumps(){try{const e=await Fe.post("http://localhost:3000/api/getDatabasesFromExistingDumps",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder}});e.data&&typeof e.data=="object"&&(this.existingDatabases=e.data,this.buildDatabaseTree())}catch(e){console.error("Error fetching databases from existing dumps:",e)}},async buildDatabaseTree(){Object.keys(this.differences).length===0&&await this.fetchAllDifferences(),this.databaseTree=Object.entries(this.existingDatabases).map(([e,t])=>{console.log("Building database tree for:",e,this.differences);const n=this.differences[e]||[],o=n.length;return console.log(`Database ${e} differences ${o}:`,n),{id:`db-${e}`,label:e,type:"database",lazy:!0,icon:o>0?"warning":"check_circle",iconColor:o>0?"negative":"positive",diffCount:o||null,dbData:t,dbName:e}}),console.log("Database tree:",this.databaseTree),this.expandedNodes=[]},onLazyLoad({node:e,done:t,fail:n}){console.log("Lazy loading node:",e);try{if(e.type==="database"){console.log("Loading database children for:",e.dbName);const o=e.dbData,i=this.differences[e.dbName]||[],r=i.filter(c=>c.type.includes("table")||c.type.includes("field")||c.type.includes("index")||c.type.includes("trigger"));console.log("Table issues:",r);const l=i.filter(c=>c.type.includes("procedure")),s=i.filter(c=>c.type.includes("view")),a=[{id:`${e.dbName}-tables`,label:"Tables",type:"category",lazy:!0,icon:r.length>0?"warning":"check_circle",iconColor:r.length>0?"negative":"positive",diffCount:r.length||null},o.procedures&&{id:`${e.dbName}-procedures`,label:"Procedures",type:"category",lazy:!0,icon:l.length>0?"warning":"check_circle",iconColor:l.length>0?"negative":"positive",diffCount:l.length||null},o.views&&{id:`${e.dbName}-views`,label:"Views",type:"category",lazy:!0,icon:s.length>0?"warning":"check_circle",iconColor:s.length>0?"negative":"positive",diffCount:s.length||null}].filter(Boolean);console.log("Database children:",a),t(a)}else if(e.type==="category"){console.log("Loading category children for:",e.id);const o=e.id.split("-")[0],i=this.differences[o]||[];if(e.id.includes("-tables")){const r=i.filter(a=>a.type.includes("table")||a.type.includes("field")||a.type.includes("index")||a.type.includes("trigger"));console.log("Table category issues:",r);const l=[],s=this.existingDatabases[o].tables;console.log("Tables:",s),l.push(...Object.entries(s).map(([a,c])=>{const u=r.filter(d=>d.tableName===a);console.log(`Issues for table ${a}:`,u);const f=u.length>0;return{id:`${o}-table-${a}`,label:a,type:"table",lazy:!0,icon:f?"warning":"check_circle",iconColor:f?"negative":"positive",diffCount:f?u.length:null,tableData:c,issueData:u}})),console.log("Category children:",l),t(l)}else if(e.id.includes("-procedures")){const r=[],l=this.existingDatabases[o].procedures;r.push(...Object.entries(l).map(([s,a])=>{const c=a.Name,u=i.filter(d=>d.type.includes("procedure")&&d.Name===c);console.log(`Issues for procedure ${c}:`,u);const f=u.length>0;return{id:`${o}-procedure-${c}`,label:c,index:s,type:"procedure",lazy:!1,icon:f?"warning":"check_circle",iconColor:f?"negative":"positive",diffCount:f?u.length:null,procedureData:a,issueData:u}})),t(r)}else if(e.id.includes("-views")){const r=[],l=this.existingDatabases[o].views;console.log("Views:",l),r.push(...Object.entries(l).map(([s,a])=>({id:`${o}-view-${s}`,label:s,type:"view",lazy:!1,view:a}))),t(r)}}else if(e.type==="table"){console.log("Loading table children for:",e.id);const o=e.tableData;if(console.log("Table data:",o),!o){console.error("No table data found for node:",e),t([]);return}const i=[];o.columns?.length>0&&i.push({id:`${e.id}-columns`,label:`Columns (${o.columns.length})`,type:"subcategory",lazy:!1,children:o.columns.map(r=>{let l=[];return r.AutoIncrement&&l.push("AUTO_INCREMENT"),r.NotNull&&l.push("NOT NULL"),r.Default!==void 0&&l.push(`DEFAULT ${r.Default}`),{id:`${e.id}-column-${r.Field}`,label:`${r.Field} (${r.Type})${l.length?" "+l.join(", "):""}`,type:"column",expandable:!1,columnData:r}})}),o.indexes?.length>0&&i.push({id:`${e.id}-indexes`,label:`Indexes (${o.indexes.length})`,type:"subcategory",lazy:!1,children:o.indexes.map(r=>({id:`${e.id}-index-${r.Name}`,label:`${r.Name}${r.Primary?" (PRIMARY)":""} [${r.ColumnName.join(", ")}]`,type:"index",expandable:!1,indexData:r}))}),console.log("Table children:",i),t(i)}}catch(o){console.error("Error in lazy loading:",o),n()}},createTableIssueGroups(e,t){const n=t.reduce((o,i)=>{const r=i.type;return o[r]=o[r]||{count:0,items:[]},o[r].count++,o[r].items.push(i),o},{});return Object.entries(n).map(([o,i])=>({id:`${e}-tables-${o}`,label:o.split("_").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" "),type:"issue-group",icon:"warning",iconColor:"negative",diffCount:i.count,children:i.items.map(r=>({id:`${e}-tables-${o}-${r.tableName||r.Name}`,label:r.tableName||r.Name,type:"issue",icon:"warning",iconColor:"negative",expandable:!1,issueData:r}))}))},async fetchAllDifferences(){const e=await Fe.post("http://localhost:3000/api/compare",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder}});this.differences=e.data,console.log("Differences in fetchAllDifferences:",this.differences)},async fetchDifferencesForSelectedDb(){if(Object.keys(this.existingDatabases).length>0){const e=Object.keys(this.existingDatabases)[0],t=await Fe.post("http://localhost:3000/api/compare",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder,database:e}});this.differences=t.data}},async createNewDump(e=!1){if(console.log("Creating a new dump..."),e){this.$q.dialog({title:"Overwrite",message:"Are you sure you want to overwrite the existing dump?",ok:"Overwrite",cancel:"Cancel"}).onOk(async()=>{console.log("Overwriting existing dump"),await this.createNewDump(!1)});return}let t=await Fe.post("http://localhost:3000/api/dump",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder}}).catch(n=>{n.response.data.message&&this.$q.dialog({title:"Error",message:n.response.data.message}),console.error("Error creating new dump:",n)});t&&(t.data.message&&this.$q.dialog({title:"Error",message:t.data.message}),this.differences=await this.fetchAllDifferences(),console.log("Differences in createNewDump:",this.differences),t.data&&typeof t.data=="object"&&Object.keys(t.data).length>0?(this.existingDatabases=t.data,this.buildDatabaseTree()):(this.existingDatabases={},this.$q.notify({message:"Error creating new dump",color:"red"})))},showIssueDetails(e,t){console.log("Showing issue details:",e,"from node:",t),this.selectedIssues=Array.isArray(e)?e:[e],this.selectedNode=t,this.issueDialog=!0},showSingleIssue(e,t){this.selectedIssues=[e],this.selectedIssueDbName=t,this.issueDialog=!0},async fixNodeIssues(e){if(e)try{let t=[],n=null;if(this.isNodeFixing[e.id]=!0,this.isNodeFixing={...this.isNodeFixing},e.issueData?t=Array.isArray(e.issueData)?e.issueData:[e.issueData]:t=await this.collectIssuesForNode(e),n=this.getDbNameFromNode(e),!t.length){console.error("No issues found to fix",e);return}(await Fe.post("http://localhost:3000/api/apply",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder},database:n,diffs:t})).data.message&&(this.$q.notify({type:"positive",message:`Fixed ${t.length} issue(s) successfully`,position:"top"}),await this.fetchAllDifferences(),await this.buildDatabaseTree())}catch(t){console.error("Error fixing issues:",t),this.$q.notify({type:"negative",message:t.response?.data?.message||"Error fixing issues",position:"top"})}finally{this.isNodeFixing[e.id]=!1,this.isNodeFixing={...this.isNodeFixing}}},getDbNameFromNode(e){return e.id.startsWith("db-")?e.id.split("-")[1]:e.id?(console.log("Node ID:",e.id),e.id.split("-")[0]):console.error("Node ID is required to get db name",e)},async collectIssuesForNode(e){const t=[];switch(console.log("Collecting issues for node:",e),e.type){case"database":console.log("Collecting issues for database:",this.getDbNameFromNode(e)),t.push(...this.differences[this.getDbNameFromNode(e)]);break;case"issue":e.issueData&&t.push(e.issueData);break;case"issue-group":e.children&&t.push(...e.children.filter(n=>n.type==="issue").map(n=>n.issueData).filter(Boolean));break;case"issues":case"category":if(e.children)for(const n of e.children)n.type==="issue-group"&&n.children?t.push(...n.children.filter(o=>o.type==="issue").map(o=>o.issueData).filter(Boolean)):n.issueData&&(Array.isArray(n.issueData)?t.push(...n.issueData):n.issueData.type?t.push(n.issueData):console.error("Unknown issue data:",n.issueData));else{const n=this.getDbNameFromNode(e);console.log("Selected DB Name:",n);let o=e.id.split("-")[1];const i=this.differences[n];console.log("DB Differences:",i),o==="tables"?t.push(...i.filter(r=>r.type.includes("table"))):o==="views"?t.push(...i.filter(r=>r.type.includes("view"))):o==="procedures"?t.push(...i.filter(r=>r.type.includes("procedure"))):console.error("Unknown type:",o)}break}return t},async applyFix(){if(this.selectedIssues.length)try{this.isApplying=!0,await this.fixNodeIssues(this.selectedNode),this.issueDialog=!1}finally{this.isApplying=!1}}},mounted(){const e=localStorage.getItem("dbConfig");if(e){const t=JSON.parse(e);this.host=t.host,this.port=t.port,this.user=t.user,this.password=t.password,this.database=t.database,this.dbFolder=t.output,this.isDbSetup=!0,this.getDatabasesFromExistingDumps(),this.fetchAllDifferences()}}},Ew={class:"q-mb-md"},Tw={class:"row items-center full-width"},qw=["onClick"],Rw={class:"text-subtitle2 q-mb-sm"},Aw={class:"text-subtitle2 q-mb-sm"},Pw={key:0,class:"q-mb-sm"},Ow={key:1,class:"q-mt-md"},Lw={class:"sql-code"},Mw={key:2,class:"q-mt-md"},Dw={class:"sql-code"},Fw={key:3,class:"q-mt-md"};function Bw(e,t,n,o,i,r){return je(),ut(Dr,null,{default:Ee(()=>[De("div",Ew,[ge(Ze,{onClick:r.openSettings,label:"Settings",color:"primary"},null,8,["onClick"]),ge(Ze,{onClick:t[0]||(t[0]=l=>Object.keys(i.existingDatabases).length===0?r.createNewDump():r.createNewDump(!0)),label:Object.keys(i.existingDatabases).length===0?"Get New Dump":"Refresh Dump",color:"secondary"},null,8,["label"])]),i.isDbSetup?mt("",!0):(je(),ut(Vn,{key:0,class:"q-mb-md"},{default:Ee(()=>[ge(Pt,null,{default:Ee(()=>[t[12]||(t[12]=De("div",{class:"text-h6"},"Database Not Set Up",-1)),t[13]||(t[13]=De("div",null,"Please configure your database settings.",-1)),ge(Ze,{onClick:r.openSettings,label:"Open Settings",color:"primary"},null,8,["onClick"])]),_:1})]),_:1})),Object.keys(i.existingDatabases).length>0?(je(),ut(Vn,{key:1,class:"q-mb-md"},{default:Ee(()=>[ge(Pt,null,{default:Ee(()=>[t[15]||(t[15]=De("div",{class:"text-h6"},"Database Structure",-1)),ge(bw,{nodes:i.databaseTree,"node-key":"id",expanded:i.expandedNodes,"onUpdate:expanded":t[1]||(t[1]=l=>i.expandedNodes=l),onLazyLoad:r.onLazyLoad},{"default-header":Ee(l=>[De("div",Tw,[De("div",{class:"row items-center flex-grow-1",onClick:za(s=>!["category","database","subcategory"].includes(l.node.type)&&l.node.diffCount&&r.showIssueDetails(l.node.issueData,l.node),["stop"])},[l.node.icon?(je(),ut(lt,{key:0,name:l.node.icon,color:l.node.iconColor,size:"sm",class:"q-mr-sm"},null,8,["name","color"])):mt("",!0),De("div",null,gt(l.node.label),1),l.node.diffCount?(je(),ut(ac,{key:1,color:"negative",class:"q-ml-sm"},{default:Ee(()=>[Yt(gt(l.node.diffCount),1)]),_:2},1024)):mt("",!0)],8,qw),["issue-group","issues","category","database"].includes(l.node.type)&&l.node.diffCount?(je(),ut(Ze,{key:0,flat:"",dense:"",color:"primary",loading:i.isNodeFixing[l.node.id],onClick:za(s=>r.fixNodeIssues(l.node),["stop"]),icon:"build",size:"sm",class:"q-ml-md"},{default:Ee(()=>[ge(Al,null,{default:Ee(()=>t[14]||(t[14]=[Yt("Fix All Issues")])),_:1})]),_:2},1032,["loading","onClick"])):mt("",!0)])]),_:1},8,["nodes","expanded","onLazyLoad"])]),_:1})]),_:1})):mt("",!0),ge(hr,{modelValue:i.settingsDialog,"onUpdate:modelValue":t[8]||(t[8]=l=>i.settingsDialog=l),persistent:""},{default:Ee(()=>[ge(Vn,null,{default:Ee(()=>[ge(Pt,null,{default:Ee(()=>[t[16]||(t[16]=De("div",{class:"text-h6"},"Database Settings",-1)),ge(In,{modelValue:i.host,"onUpdate:modelValue":t[2]||(t[2]=l=>i.host=l),label:"Database Host",required:""},null,8,["modelValue"]),ge(In,{modelValue:i.port,"onUpdate:modelValue":t[3]||(t[3]=l=>i.port=l),label:"Database Port",type:"number",required:""},null,8,["modelValue"]),ge(In,{modelValue:i.user,"onUpdate:modelValue":t[4]||(t[4]=l=>i.user=l),label:"Database User",required:""},null,8,["modelValue"]),ge(In,{modelValue:i.password,"onUpdate:modelValue":t[5]||(t[5]=l=>i.password=l),label:"Database Password",type:"password",required:"",autocomplete:"off"},null,8,["modelValue"]),ge(In,{modelValue:i.database,"onUpdate:modelValue":t[6]||(t[6]=l=>i.database=l),label:"Database Name",required:""},null,8,["modelValue"]),ge(In,{modelValue:i.dbFolder,"onUpdate:modelValue":t[7]||(t[7]=l=>i.dbFolder=l),label:"Database Folder",required:""},null,8,["modelValue"])]),_:1}),ge(ds,null,{default:Ee(()=>[ge(Ze,{onClick:r.saveSettings,label:"Save",color:"primary"},null,8,["onClick"]),ge(Ze,{onClick:r.closeSettings,label:"Cancel",color:"secondary"},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),ge(hr,{modelValue:i.issueDialog,"onUpdate:modelValue":t[11]||(t[11]=l=>i.issueDialog=l)},{default:Ee(()=>[ge(Vn,{style:{"min-width":"800px",width:"90vw","max-width":"1200px"}},{default:Ee(()=>[ge(Pt,null,{default:Ee(()=>t[17]||(t[17]=[De("div",{class:"text-h6"},"Issue Details",-1)])),_:1}),i.selectedIssues.length===1?(je(),ut(Pt,{key:0,class:"q-pt-none"},{default:Ee(()=>[De("div",Rw,[t[18]||(t[18]=Yt(" Issue Type: ")),ge(ac,{color:"negative"},{default:Ee(()=>[Yt(gt(i.selectedIssues[0].type?.replace(/_/g," ")),1)]),_:1})]),De("div",Aw,"Name: "+gt(i.selectedIssues[0].Name),1),i.selectedIssues[0].tableName?(je(),dn("div",Pw,[t[19]||(t[19]=De("strong",null,"Table:",-1)),Yt(" "+gt(i.selectedIssues[0].tableName),1)])):mt("",!0),i.selectedIssues[0].createSQL?(je(),dn("div",Ow,[t[20]||(t[20]=De("div",{class:"text-subtitle2 q-mb-sm"},"SQL Definition:",-1)),ge(Vn,{class:"bg-grey-2"},{default:Ee(()=>[ge(Pt,{class:"q-pa-md"},{default:Ee(()=>[De("pre",Lw,gt(i.selectedIssues[0].createSQL),1)]),_:1})]),_:1})])):mt("",!0),i.selectedIssues[0].Definition?(je(),dn("div",Mw,[t[21]||(t[21]=De("div",{class:"text-subtitle2 q-mb-sm"},"Definition:",-1)),ge(Vn,{class:"bg-grey-2"},{default:Ee(()=>[ge(Pt,{class:"q-pa-md"},{default:Ee(()=>[De("pre",Dw,gt(i.selectedIssues[0].Definition),1)]),_:1})]),_:1})])):mt("",!0),i.selectedIssues[0].currentField?(je(),dn("div",Fw,[t[23]||(t[23]=De("div",{class:"text-subtitle2 q-mb-sm"},"Field Comparison:",-1)),ge($d,{flat:"",bordered:""},{default:Ee(()=>[t[22]||(t[22]=De("thead",null,[De("tr",null,[De("th",{class:"text-left"},"Property"),De("th",{class:"text-left"},"Current"),De("th",{class:"text-left"},"Expected")])],-1)),De("tbody",null,[(je(!0),dn(Ft,null,Cg(i.selectedIssues[0].currentField,(l,s)=>(je(),dn("tr",{key:s},[De("td",null,gt(s),1),De("td",null,gt(l),1),De("td",{class:wr({"text-negative":l!==i.selectedIssues[0].field?.[s]})},gt(i.selectedIssues[0].field?.[s]),3)]))),128))])]),_:1})])):mt("",!0),ge(Ze,{onClick:t[9]||(t[9]=l=>r.fixNodeIssues(this.selectedNode)),loading:i.isNodeFixing["single-issue"],color:"primary",class:"q-mt-md",label:"Fix Issue"},null,8,["loading"])]),_:1})):(je(),ut(Pt,{key:1,class:"q-pt-none"},{default:Ee(()=>[ge(fh,{rows:i.selectedIssues,columns:[{name:"type",label:"Type",field:l=>l.type?.replace(/_/g," ")},{name:"tableName",label:"Table",field:"tableName"},{name:"actions",label:"Actions",field:"actions"}],"row-key":"id",dense:""},{body:Ee(l=>[ge(xw,{props:l},{default:Ee(()=>[ge(Pl,{key:"type"},{default:Ee(()=>[Yt(gt(l.row.type?.replace(/_/g," ")),1)]),_:2},1024),ge(Pl,{key:"tableName"},{default:Ee(()=>[Yt(gt(l.row.tableName),1)]),_:2},1024),ge(Pl,{key:"actions"},{default:Ee(()=>[ge(Ze,{flat:"",dense:"",color:"primary",icon:"visibility",onClick:s=>r.showSingleIssue(l.row)},{default:Ee(()=>[ge(Al,null,{default:Ee(()=>t[24]||(t[24]=[Yt("View Details")])),_:1})]),_:2},1032,["onClick"]),ge(Ze,{flat:"",dense:"",color:"positive",icon:"build",loading:i.isNodeFixing[`issue-${l.rowIndex}`],onClick:s=>r.fixNodeIssues({type:"issue",id:this.selectedNode.id,issueData:l.row})},{default:Ee(()=>[ge(Al,null,{default:Ee(()=>t[25]||(t[25]=[Yt("Fix Issue")])),_:1})]),_:2},1032,["loading","onClick"])]),_:2},1024)]),_:2},1032,["props"])]),_:1},8,["rows","columns"]),ge(Ze,{onClick:t[10]||(t[10]=l=>r.fixNodeIssues({type:"issues",children:i.selectedIssues})),loading:i.isNodeFixing["all-issues"],color:"primary",class:"q-mt-md",label:"Fix All Issues"},null,8,["loading"])]),_:1})),ge(ds,{align:"right"},{default:Ee(()=>[xr(ge(Ze,{flat:"",label:"Close",color:"primary"},null,512),[[Cw]])]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})}const $w=jr(kw,[["render",Bw]]),Nw=[{path:"/",component:()=>hc(()=>import("./MainLayout-C27l9N4F.js"),[]),children:[{path:"",component:$w},{path:"/dump",component:Oy},{path:"/compare",component:cw},{path:"/apply",component:gw}]}],Ol=wv(function(){return Tp({scrollBehavior:()=>({left:0,top:0}),routes:Nw,history:np("/")})});async function Vw(e,t){const n=e(yv);n.use(bv,t);const o=typeof dl=="function"?await dl({}):dl;n.use(o);const i=Po(typeof Ol=="function"?await Ol({store:o}):Ol);return o.use(({store:r})=>{r.router=i}),{app:n,store:o,router:i}}const Iw=Ae({name:"QAvatar",props:{...no,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=oo(e),o=y(()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(e.square===!0?" q-avatar--square":e.rounded===!0?" rounded-borders":"")),i=y(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{const r=e.icon!==void 0?[b(lt,{name:e.icon})]:void 0;return b("div",{class:o.value,style:n.value},[b("div",{class:"q-avatar__content row flex-center overflow-hidden",style:i.value},nd(t.default,r))])}}});let jw=0;const Hi={},zi={},jt={},hh={},Hw=/^\s*$/,gh=[],zw=[void 0,null,!0,!1,""],na=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],Uw=["top-left","top-right","bottom-left","bottom-right"],po={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function mh(e,t,n){if(!e)return zo("parameter required");let o;const i={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(i,Hi),Bt(e)===!1&&(i.type&&Object.assign(i,po[i.type]),e={message:e}),Object.assign(i,po[e.type||i.type],e),typeof i.icon=="function"&&(i.icon=i.icon(t)),i.spinner?(i.spinner===!0&&(i.spinner=vn),i.spinner=Po(i.spinner)):i.spinner=!1,i.meta={hasMedia:!!(i.spinner!==!1||i.icon||i.avatar),hasText:dc(i.message)||dc(i.caption)},i.position){if(na.includes(i.position)===!1)return zo("wrong position",e)}else i.position="bottom";if(zw.includes(i.timeout)===!0)i.timeout=5e3;else{const a=Number(i.timeout);if(isNaN(a)||a<0)return zo("wrong timeout",e);i.timeout=Number.isFinite(a)?a:0}i.timeout===0?i.progress=!1:i.progress===!0&&(i.meta.progressClass="q-notification__progress"+(i.progressClass?` ${i.progressClass}`:""),i.meta.progressStyle={animationDuration:`${i.timeout+1e3}ms`});const r=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(Hi.actions)===!0?Hi.actions:[]).concat(po[e.type]!==void 0&&Array.isArray(po[e.type].actions)===!0?po[e.type].actions:[]),{closeBtn:l}=i;if(l&&r.push({label:typeof l=="string"?l:t.lang.label.close}),i.actions=r.map(({handler:a,noDismiss:c,...u})=>({flat:!0,...u,onClick:typeof a=="function"?()=>{a(),c!==!0&&s()}:()=>{s()}})),i.multiLine===void 0&&(i.multiLine=i.actions.length>1),Object.assign(i.meta,{class:`q-notification row items-stretch q-notification--${i.multiLine===!0?"multi-line":"standard"}`+(i.color!==void 0?` bg-${i.color}`:"")+(i.textColor!==void 0?` text-${i.textColor}`:"")+(i.classes!==void 0?` ${i.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(i.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(i.multiLine===!0?"":" col"),leftClass:i.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...i.attrs}}),i.group===!1?(i.group=void 0,i.meta.group=void 0):((i.group===void 0||i.group===!0)&&(i.group=[i.message,i.caption,i.multiline].concat(i.actions.map(a=>`${a.label}*${a.icon}`)).join("|")),i.meta.group=i.group+"|"+i.position),i.actions.length===0?i.actions=void 0:i.meta.actionsClass="q-notification__actions row items-center "+(i.multiLine===!0?"justify-end":"col-auto")+(i.meta.hasMedia===!0?" q-notification__actions--with-media":""),n!==void 0){n.notif.meta.timer&&(clearTimeout(n.notif.meta.timer),n.notif.meta.timer=void 0),i.meta.uid=n.notif.meta.uid;const a=jt[i.position].value.indexOf(n.notif);jt[i.position].value[a]=i}else{const a=zi[i.meta.group];if(a===void 0){if(i.meta.uid=jw++,i.meta.badge=1,["left","right","center"].indexOf(i.position)!==-1)jt[i.position].value.splice(Math.floor(jt[i.position].value.length/2),0,i);else{const c=i.position.indexOf("top")!==-1?"unshift":"push";jt[i.position].value[c](i)}i.group!==void 0&&(zi[i.meta.group]=i)}else{if(a.meta.timer&&(clearTimeout(a.meta.timer),a.meta.timer=void 0),i.badgePosition!==void 0){if(Uw.includes(i.badgePosition)===!1)return zo("wrong badgePosition",e)}else i.badgePosition=`top-${i.position.indexOf("left")!==-1?"right":"left"}`;i.meta.uid=a.meta.uid,i.meta.badge=a.meta.badge+1,i.meta.badgeClass=`q-notification__badge q-notification__badge--${i.badgePosition}`+(i.badgeColor!==void 0?` bg-${i.badgeColor}`:"")+(i.badgeTextColor!==void 0?` text-${i.badgeTextColor}`:"")+(i.badgeClass?` ${i.badgeClass}`:"");const c=jt[i.position].value.indexOf(a);jt[i.position].value[c]=zi[i.meta.group]=i}}const s=()=>{Kw(i),o=void 0};if(i.timeout>0&&(i.meta.timer=setTimeout(()=>{i.meta.timer=void 0,s()},i.timeout+1e3)),i.group!==void 0)return a=>{a!==void 0?zo("trying to update a grouped one which is forbidden",e):s()};if(o={dismiss:s,config:e,notif:i},n!==void 0){Object.assign(n,o);return}return a=>{if(o!==void 0)if(a===void 0)o.dismiss();else{const c=Object.assign({},o.config,a,{group:!1,position:i.position});mh(c,t,o)}}}function Kw(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);const t=jt[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete zi[e.meta.group];const n=gh[""+e.meta.uid];if(n){const{width:o,height:i}=getComputedStyle(n);n.style.left=`${n.offsetLeft}px`,n.style.width=o,n.style.height=i}jt[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function dc(e){return e!=null&&Hw.test(e)!==!0}function zo(e,t){return console.error(`Notify: ${e}`,t),!1}function Ww(){return Ae({name:"QNotifications",devtools:{hide:!0},setup(){return()=>b("div",{class:"q-notifications"},na.map(e=>b(Bm,{key:e,class:hh[e],tag:"div",name:`q-notification--${e}`},()=>jt[e].value.map(t=>{const n=t.meta,o=[];if(n.hasMedia===!0&&(t.spinner!==!1?o.push(b(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+n.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?o.push(b(lt,{class:"q-notification__icon q-notification__icon--"+n.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&o.push(b(Iw,{class:"q-notification__avatar q-notification__avatar--"+n.leftClass},()=>b("img",{src:t.avatar,"aria-hidden":"true"})))),n.hasText===!0){let r;const l={class:"q-notification__message col"};if(t.html===!0)l.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{const s=[t.message];r=t.caption?[b("div",s),b("div",{class:"q-notification__caption"},[t.caption])]:s}o.push(b("div",l,r))}const i=[b("div",{class:n.contentClass},o)];return t.progress===!0&&i.push(b("div",{key:`${n.uid}|p|${n.badge}`,class:n.progressClass,style:n.progressStyle})),t.actions!==void 0&&i.push(b("div",{class:n.actionsClass},t.actions.map(r=>b(Ze,r)))),n.badge>1&&i.push(b("div",{key:`${n.uid}|${n.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[n.badge])),b("div",{ref:r=>{gh[""+n.uid]=r},key:n.uid,class:n.class,...n.attrs},[b("div",{class:n.wrapperClass},i)])}))))}})}const Qw={setDefaults(e){Bt(e)===!0&&Object.assign(Hi,e)},registerType(e,t){Bt(t)===!0&&(po[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=n=>mh(n,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){na.forEach(o=>{jt[o]=ae([]);const i=["left","center","right"].includes(o)===!0?"center":o.indexOf("top")!==-1?"top":"bottom",r=o.indexOf("left")!==-1?"start":o.indexOf("right")!==-1?"end":"center",l=["left","right"].includes(o)?`items-${o==="left"?"start":"end"} justify-center`:o==="center"?"flex-center":`items-${r}`;hh[o]=`q-notifications__list q-notifications__list--${i} fixed column no-wrap ${l}`});const n=Js("q-notify");If(Ww(),t).mount(n)}}},Gw=()=>b("svg",{key:"svg",class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24"},[b("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}),b("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]),Jw=Ae({name:"QRadio",props:{...Ct,...no,...Ur,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{proxy:o}=Re(),i=kt(e,o.$q),r=oo(e,lh),l=ae(null),{refocusTargetEl:s,refocusTarget:a}=rh(e,l),c=y(()=>Ce(e.modelValue)===Ce(e.val)),u=y(()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(e.disable===!0?" disabled":"")+(i.value===!0?" q-radio--dark":"")+(e.dense===!0?" q-radio--dense":"")+(e.leftLabel===!0?" reverse":"")),f=y(()=>{const T=e.color!==void 0&&(e.keepColor===!0||c.value===!0)?` text-${e.color}`:"";return`q-radio__inner relative-position q-radio__inner--${c.value===!0?"truthy":"falsy"}${T}`}),d=y(()=>(c.value===!0?e.checkedIcon:e.uncheckedIcon)||null),h=y(()=>e.disable===!0?-1:e.tabindex||0),g=y(()=>{const T={type:"radio"};return e.name!==void 0&&Object.assign(T,{".checked":c.value===!0,"^checked":c.value===!0?"checked":void 0,name:e.name,value:e.val}),T}),p=nh(g);function v(T){T!==void 0&&(We(T),a(T)),e.disable!==!0&&c.value!==!0&&n("update:modelValue",e.val,T)}function q(T){(T.keyCode===13||T.keyCode===32)&&We(T)}function _(T){(T.keyCode===13||T.keyCode===32)&&v(T)}Object.assign(o,{set:v});const E=Gw();return()=>{const T=d.value!==null?[b("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[b(lt,{class:"q-radio__icon",name:d.value})])]:[E];e.disable!==!0&&p(T,"unshift"," q-radio__native q-ma-none q-pa-none");const M=[b("div",{class:f.value,style:r.value,"aria-hidden":"true"},T)];s.value!==null&&M.push(s.value);const I=e.label!==void 0?Ut(t.default,[e.label]):Ge(t.default);return I!==void 0&&M.push(b("div",{class:"q-radio__label q-anchor--skip"},I)),b("div",{ref:l,class:u.value,tabindex:h.value,role:"radio","aria-label":e.label,"aria-checked":c.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:v,onKeydown:q,onKeyup:_},M)}}}),Xw=Ae({name:"QToggle",props:{...sh,icon:String,iconColor:String},emits:ah,setup(e){function t(n,o){const i=y(()=>(n.value===!0?e.checkedIcon:o.value===!0?e.indeterminateIcon:e.uncheckedIcon)||e.icon),r=y(()=>n.value===!0?e.iconColor:null);return()=>[b("div",{class:"q-toggle__track"}),b("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},i.value!==void 0?[b(lt,{name:i.value,color:r.value})]:void 0)]}return uh("toggle",t)}}),vh={radio:Jw,checkbox:oi,toggle:Xw},Yw=Object.keys(vh);function Ll(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return o=>o[n]}const Zw=Ae({name:"QOptionGroup",props:{...Ct,modelValue:{required:!0},options:{type:Array,validator:e=>e.every(Bt),default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],name:String,type:{type:String,default:"radio",validator:e=>Yw.includes(e)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{proxy:{$q:o}}=Re(),i=Array.isArray(e.modelValue);e.type==="radio"?i===!0&&console.error("q-option-group: model should not be array"):i===!1&&console.error("q-option-group: model should be array in your case");const r=kt(e,o),l=y(()=>vh[e.type]),s=y(()=>Ll(e.optionValue,"value")),a=y(()=>Ll(e.optionLabel,"label")),c=y(()=>Ll(e.optionDisable,"disable")),u=y(()=>e.options.map(g=>({val:s.value(g),name:g.name===void 0?e.name:g.name,disable:e.disable||c.value(g),leftLabel:g.leftLabel===void 0?e.leftLabel:g.leftLabel,color:g.color===void 0?e.color:g.color,checkedIcon:g.checkedIcon,uncheckedIcon:g.uncheckedIcon,dark:g.dark===void 0?r.value:g.dark,size:g.size===void 0?e.size:g.size,dense:e.dense,keepColor:g.keepColor===void 0?e.keepColor:g.keepColor}))),f=y(()=>"q-option-group q-gutter-x-sm"+(e.inline===!0?" q-option-group--inline":"")),d=y(()=>{const g={role:"group"};return e.type==="radio"&&(g.role="radiogroup",e.disable===!0&&(g["aria-disabled"]="true")),g});function h(g){t("update:modelValue",g)}return()=>b("div",{class:f.value,...d.value},e.options.map((g,p)=>{const v=n["label-"+p]!==void 0?()=>n["label-"+p](g):n.label!==void 0?()=>n.label(g):void 0;return b("div",[b(l.value,{label:v===void 0?a.value(g):null,modelValue:e.modelValue,"onUpdate:modelValue":h,...u.value[p]},v)])}))}}),eS=Ae({name:"DialogPluginComponent",props:{...Ct,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){const{proxy:n}=Re(),{$q:o}=n,i=kt(e,o),r=ae(null),l=ae(e.prompt!==void 0?e.prompt.model:e.options!==void 0?e.options.model:void 0),s=y(()=>"q-dialog-plugin"+(i.value===!0?" q-dialog-plugin--dark q-dark":"")+(e.progress!==!1?" q-dialog-plugin--progress":"")),a=y(()=>e.color||(i.value===!0?"amber":"primary")),c=y(()=>e.progress===!1?null:Bt(e.progress)===!0?{component:e.progress.spinner||vn,props:{color:e.progress.color||a.value}}:{component:vn,props:{color:a.value}}),u=y(()=>e.prompt!==void 0||e.options!==void 0),f=y(()=>{if(u.value!==!0)return{};const{model:N,isValid:ie,items:ee,...re}=e.prompt!==void 0?e.prompt:e.options;return re}),d=y(()=>Bt(e.ok)===!0||e.ok===!0?o.lang.label.ok:e.ok),h=y(()=>Bt(e.cancel)===!0||e.cancel===!0?o.lang.label.cancel:e.cancel),g=y(()=>e.prompt!==void 0?e.prompt.isValid!==void 0&&e.prompt.isValid(l.value)!==!0:e.options!==void 0?e.options.isValid!==void 0&&e.options.isValid(l.value)!==!0:!1),p=y(()=>({color:a.value,label:d.value,ripple:!1,disable:g.value,...Bt(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus==="ok"&&u.value!==!0||void 0,onClick:E})),v=y(()=>({color:a.value,label:h.value,ripple:!1,...Bt(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus==="cancel"&&u.value!==!0||void 0,onClick:T}));be(()=>e.prompt&&e.prompt.model,I),be(()=>e.options&&e.options.model,I);function q(){r.value.show()}function _(){r.value.hide()}function E(){t("ok",Ce(l.value)),_()}function T(){_()}function M(){t("hide")}function I(N){l.value=N}function W(N){g.value!==!0&&e.prompt.type!=="textarea"&&mn(N,13)===!0&&E()}function Z(N,ie){return e.html===!0?b(Pt,{class:N,innerHTML:ie}):b(Pt,{class:N},()=>ie)}function A(){return[b(In,{color:a.value,dense:!0,autofocus:!0,dark:i.value,...f.value,modelValue:l.value,"onUpdate:modelValue":I,onKeyup:W})]}function F(){return[b(Zw,{color:a.value,options:e.options.items,dark:i.value,...f.value,modelValue:l.value,"onUpdate:modelValue":I})]}function U(){const N=[];return e.cancel&&N.push(b(Ze,v.value)),e.ok&&N.push(b(Ze,p.value)),b(ds,{class:e.stackButtons===!0?"items-end":"",vertical:e.stackButtons,align:"right"},()=>N)}function C(){const N=[];return e.title&&N.push(Z("q-dialog__title",e.title)),e.progress!==!1&&N.push(b(Pt,{class:"q-dialog__progress"},()=>b(c.value.component,c.value.props))),e.message&&N.push(Z("q-dialog__message",e.message)),e.prompt!==void 0?N.push(b(Pt,{class:"scroll q-dialog-plugin__form"},A)):e.options!==void 0&&N.push(b(ls,{dark:i.value}),b(Pt,{class:"scroll q-dialog-plugin__form"},F),b(ls,{dark:i.value})),(e.ok||e.cancel)&&N.push(U()),N}function J(){return[b(Vn,{class:[s.value,e.cardClass],style:e.cardStyle,dark:i.value},C)]}return Object.assign(n,{show:q,hide:_}),()=>b(hr,{ref:r,onHide:M},J)}});function ph(e,t){for(const n in t)n!=="spinner"&&Object(t[n])===t[n]?(e[n]=Object(e[n])!==e[n]?{}:{...e[n]},ph(e[n],t[n])):e[n]=t[n]}function tS(e,t,n){return o=>{let i,r;const l=o.component!==void 0;if(l===!0){const{component:_,componentProps:E}=o;i=typeof _=="string"?n.component(_):_,r=E||{}}else{const{class:_,style:E,...T}=o;i=e,r=T,_!==void 0&&(T.cardClass=_),E!==void 0&&(T.cardStyle=E)}let s,a=!1;const c=ae(null),u=Js(!1,"dialog"),f=_=>{if(c.value!==null&&c.value[_]!==void 0){c.value[_]();return}const E=s.$.subTree;if(E&&E.component){if(E.component.proxy&&E.component.proxy[_]){E.component.proxy[_]();return}if(E.component.subTree&&E.component.subTree.component&&E.component.subTree.component.proxy&&E.component.subTree.component.proxy[_]){E.component.subTree.component.proxy[_]();return}}console.error("[Quasar] Incorrectly defined Dialog component")},d=[],h=[],g={onOk(_){return d.push(_),g},onCancel(_){return h.push(_),g},onDismiss(_){return d.push(_),h.push(_),g},hide(){return f("hide"),g},update(_){if(s!==null){if(l===!0)Object.assign(r,_);else{const{class:E,style:T,...M}=_;E!==void 0&&(M.cardClass=E),T!==void 0&&(M.cardStyle=T),ph(r,M)}s.$forceUpdate()}return g}},p=_=>{a=!0,d.forEach(E=>{E(_)})},v=()=>{q.unmount(u),Qd(u),q=null,s=null,a!==!0&&h.forEach(_=>{_()})};let q=If({name:"QGlobalDialog",setup:()=>()=>b(i,{...r,ref:c,onOk:p,onHide:v,onVnodeMounted(..._){typeof r.onVnodeMounted=="function"&&r.onVnodeMounted(..._),He(()=>f("show"))}})},n);return s=q.mount(u),g}}const nS={install({$q:e,parentApp:t}){e.dialog=this.create=tS(eS,!0,t)}},oS={config:{},plugins:{Notify:Qw,Dialog:nS}},iS="/";async function rS({app:e,router:t,store:n},o){let i=!1;const r=a=>{try{return t.resolve(a).href}catch{}return Object(a)===a?null:a},l=a=>{if(i=!0,typeof a=="string"&&/^https?:\/\//.test(a)){window.location.href=a;return}const c=r(a);c!==null&&(window.location.href=c,window.location.reload())},s=window.location.href.replace(window.location.origin,"");for(let a=0;i===!1&&a<o.length;a++)try{await o[a]({app:e,router:t,store:n,ssrContext:null,redirect:l,urlPath:s,publicPath:iS})}catch(c){if(c&&c.url){l(c.url);return}console.error("[Quasar] boot error:",c);return}i!==!0&&(e.use(t),e.mount("#q-app"))}Vw(Lf,oS).then(e=>{const[t,n]=Promise.allSettled!==void 0?["allSettled",o=>o.map(i=>{if(i.status==="rejected"){console.error("[Quasar] boot error:",i.reason);return}return i.value.default})]:["all",o=>o.map(i=>i.default)];return Promise[t]([hc(()=>import("./axios-Y2H2Igoj.js"),[])]).then(o=>{const i=n(o).filter(r=>typeof r=="function");rS(e,i)})});export{Rs as A,Ut as B,Sg as C,je as D,ut as E,Ee as F,ge as G,jr as _,Fe as a,y as b,Ae as c,lS as d,co as e,Ge as f,Re as g,b as h,Nt as i,hv as j,Hs as k,dv as l,et as m,Eo as n,rn as o,Fi as p,ct as q,Iy as r,js as s,jy as t,ae as u,Rn as v,be as w,He as x,Hy as y,Ao as z};
29
+ `):" "+Bu(r[0]):"as no adapter specified";throw new Ce("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return o},adapters:is};function wl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Mo(null,e)}function $u(e){return wl(e),e.headers=At.from(e.headers),e.data=yl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Dd.getAdapter(e.adapter||wi.adapter)(e).then(function(o){return wl(e),o.data=yl.call(e,e.transformResponse,o),o.headers=At.from(o.headers),o},function(o){return Rd(o)||(wl(e),o&&o.response&&(o.response.data=yl.call(e,e.transformResponse,o.response),o.response.headers=At.from(o.response.headers))),Promise.reject(o)})}const Fd="1.7.9",Ir={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ir[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Nu={};Ir.transitional=function(t,n,o){function i(r,l){return"[Axios v"+Fd+"] Transitional option '"+r+"'"+l+(o?". "+o:"")}return(r,l,s)=>{if(t===!1)throw new Ce(i(l," has been removed"+(n?" in "+n:"")),Ce.ERR_DEPRECATED);return n&&!Nu[l]&&(Nu[l]=!0,console.warn(i(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,l,s):!0}};Ir.spelling=function(t){return(n,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function Ey(e,t,n){if(typeof e!="object")throw new Ce("options must be an object",Ce.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let i=o.length;for(;i-- >0;){const r=o[i],l=t[r];if(l){const s=e[r],a=s===void 0||l(s,r,e);if(a!==!0)throw new Ce("option "+r+" must be "+a,Ce.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ce("Unknown option "+r,Ce.ERR_BAD_OPTION)}}const ji={assertOptions:Ey,validators:Ir},Yt=ji.validators;class Wn{constructor(t){this.defaults=t,this.interceptors={request:new Au,response:new Au}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const r=i.stack?i.stack.replace(/^.+\n/,""):"";try{o.stack?r&&!String(o.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(o.stack+=`
30
+ `+r):o.stack=r}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=eo(this.defaults,n);const{transitional:o,paramsSerializer:i,headers:r}=n;o!==void 0&&ji.assertOptions(o,{silentJSONParsing:Yt.transitional(Yt.boolean),forcedJSONParsing:Yt.transitional(Yt.boolean),clarifyTimeoutError:Yt.transitional(Yt.boolean)},!1),i!=null&&(V.isFunction(i)?n.paramsSerializer={serialize:i}:ji.assertOptions(i,{encode:Yt.function,serialize:Yt.function},!0)),ji.assertOptions(n,{baseUrl:Yt.spelling("baseURL"),withXsrfToken:Yt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=r&&V.merge(r.common,r[n.method]);r&&V.forEach(["delete","get","head","post","put","patch","common"],g=>{delete r[g]}),n.headers=At.concat(l,r);const s=[];let a=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(a=a&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,f=0,d;if(!a){const g=[$u.bind(this),void 0];for(g.unshift.apply(g,s),g.push.apply(g,c),d=g.length,u=Promise.resolve(n);f<d;)u=u.then(g[f++],g[f++]);return u}d=s.length;let h=n;for(f=0;f<d;){const g=s[f++],p=s[f++];try{h=g(h)}catch(v){p.call(this,v);break}}try{u=$u.call(this,h)}catch(g){return Promise.reject(g)}for(f=0,d=c.length;f<d;)u=u.then(c[f++],c[f++]);return u}getUri(t){t=eo(this.defaults,t);const n=Pd(t.baseURL,t.url);return Ed(n,t.params,t.paramsSerializer)}}V.forEach(["delete","get","head","options"],function(t){Wn.prototype[t]=function(n,o){return this.request(eo(o||{},{method:t,url:n,data:(o||{}).data}))}});V.forEach(["post","put","patch"],function(t){function n(o){return function(r,l,s){return this.request(eo(s||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:r,data:l}))}}Wn.prototype[t]=n(),Wn.prototype[t+"Form"]=n(!0)});class Is{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const o=this;this.promise.then(i=>{if(!o._listeners)return;let r=o._listeners.length;for(;r-- >0;)o._listeners[r](i);o._listeners=null}),this.promise.then=i=>{let r;const l=new Promise(s=>{o.subscribe(s),r=s}).then(i);return l.cancel=function(){o.unsubscribe(r)},l},t(function(r,l,s){o.reason||(o.reason=new Mo(r,l,s),n(o.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=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Is(function(i){t=i}),cancel:t}}}function Ty(e){return function(n){return e.apply(null,n)}}function qy(e){return V.isObject(e)&&e.isAxiosError===!0}const rs={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(rs).forEach(([e,t])=>{rs[t]=e});function Bd(e){const t=new Wn(e),n=gd(Wn.prototype.request,t);return V.extend(n,Wn.prototype,t,{allOwnKeys:!0}),V.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Bd(eo(e,i))},n}const Fe=Bd(wi);Fe.Axios=Wn;Fe.CanceledError=Mo;Fe.CancelToken=Is;Fe.isCancel=Rd;Fe.VERSION=Fd;Fe.toFormData=Nr;Fe.AxiosError=Ce;Fe.Cancel=Fe.CanceledError;Fe.all=function(t){return Promise.all(t)};Fe.spread=Ty;Fe.isAxiosError=qy;Fe.mergeConfig=eo;Fe.AxiosHeaders=At;Fe.formToJSON=e=>qd(V.isHTMLForm(e)?new FormData(e):e);Fe.getAdapter=Dd.getAdapter;Fe.HttpStatusCode=rs;Fe.default=Fe;const jr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},Ry={data(){return{loading:!1,message:""}},methods:{async dumpDatabase(){this.loading=!0;try{const e=await Fe.post("http://localhost:3000/api/dump",{config:{host:this.$store.state.db.host,port:this.$store.state.db.port,user:this.$store.state.db.user,password:this.$store.state.db.password},database:this.$store.state.db.database});this.message=e.data.message}catch(e){this.message=e.response.data.message}finally{this.loading=!1}}}},Ay={key:1};function Py(e,t,n,o,i,r){return je(),ut(Dr,null,{default:_e(()=>[ae(et,{onClick:r.dumpDatabase,label:"Dump Database",color:"primary"},null,8,["onClick"]),i.loading?(je(),ut(vn,{key:0})):mt("",!0),i.message?(je(),dn("div",Ay,gt(i.message),1)):mt("",!0)]),_:1})}const Oy=jr(Ry,[["render",Py]]),Ly=Pe({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const o=Ae(),{proxy:{$q:i}}=o,r=l=>{n("click",l)};return()=>{if(e.props===void 0)return b("th",{class:e.autoWidth===!0?"q-table--col-auto-width":"",onClick:r},Je(t.default));let l,s;const a=o.vnode.key;if(a){if(l=e.props.colsMap[a],l===void 0)return}else l=e.props.col;if(l.sortable===!0){const u=l.align==="right"?"unshift":"push";s=td(t.default,[]),s[u](b(He,{class:l.__iconClass,name:i.iconSet.table.arrowUp}))}else s=Je(t.default);const c={class:l.__thClass+(e.autoWidth===!0?" q-table--col-auto-width":""),style:l.headerStyle,onClick:u=>{l.sortable===!0&&e.props.sort(l),r(u)}};return b("th",c,s)}}}),kt={dark:{type:Boolean,default:null}};function Et(e,t){return y(()=>e.dark===null?t.dark.isActive:e.dark)}const My={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},_l={xs:2,sm:4,md:8,lg:16,xl:24},ls=Pe({name:"QSeparator",props:{...kt,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=Ae(),n=Et(e,t.proxy.$q),o=y(()=>e.vertical===!0?"vertical":"horizontal"),i=y(()=>` q-separator--${o.value}`),r=y(()=>e.inset!==!1?`${i.value}-${My[e.inset]}`:""),l=y(()=>`q-separator${i.value}${r.value}`+(e.color!==void 0?` bg-${e.color}`:"")+(n.value===!0?" q-separator--dark":"")),s=y(()=>{const a={};if(e.size!==void 0&&(a[e.vertical===!0?"width":"height"]=e.size),e.spaced!==!1){const c=e.spaced===!0?`${_l.md}px`:e.spaced in _l?`${_l[e.spaced]}px`:e.spaced,u=e.vertical===!0?["Left","Right"]:["Top","Bottom"];a[`margin${u[0]}`]=a[`margin${u[1]}`]=c}return a});return()=>b("hr",{class:l.value,style:s.value,"aria-orientation":o.value})}}),Dy=["ul","ol"],Fy=Pe({name:"QList",props:{...kt,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const n=Ae(),o=Et(e,n.proxy.$q),i=y(()=>Dy.includes(e.tag)?null:"list"),r=y(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(o.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>b(e.tag,{class:r.value,role:i.value},Je(t.default))}}),By=["horizontal","vertical","cell","none"],$d=Pe({name:"QMarkupTable",props:{...kt,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>By.includes(e)}},setup(e,{slots:t}){const n=Ae(),o=Et(e,n.proxy.$q),i=y(()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(o.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(e.dense===!0?" q-table--dense":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")+(e.square===!0?" q-table--square":"")+(e.wrapCells===!1?" q-table--no-wrap":""));return()=>b("div",{class:i.value},[b("table",{class:"q-table"},Je(t.default))])}});function Nd(e,t){return b("div",e,[b("table",{class:"q-table"},t)])}let lr=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,lr=e.scrollLeft>=0,e.remove()}const zt=1e3,$y=["start","center","end","start-force","center-force","end-force"],Vd=Array.prototype.filter,Ny=window.getComputedStyle(document.body).overflowAnchor===void 0?Eo:function(e,t){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const n=e.children||[];Vd.call(n,i=>i.dataset&&i.dataset.qVsAnchor!==void 0).forEach(i=>{delete i.dataset.qVsAnchor});const o=n[t];o&&o.dataset&&(o.dataset.qVsAnchor="")}))};function xo(e,t){return e+t}function Sl(e,t,n,o,i,r,l,s){const a=e===window?document.scrollingElement||document.documentElement:e,c=i===!0?"offsetWidth":"offsetHeight",u={scrollStart:0,scrollViewSize:-l-s,scrollMaxSize:0,offsetStart:-l,offsetEnd:-s};if(i===!0?(e===window?(u.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,u.scrollViewSize+=document.documentElement.clientWidth):(u.scrollStart=a.scrollLeft,u.scrollViewSize+=a.clientWidth),u.scrollMaxSize=a.scrollWidth,r===!0&&(u.scrollStart=(lr===!0?u.scrollMaxSize-u.scrollViewSize:0)-u.scrollStart)):(e===window?(u.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,u.scrollViewSize+=document.documentElement.clientHeight):(u.scrollStart=a.scrollTop,u.scrollViewSize+=a.clientHeight),u.scrollMaxSize=a.scrollHeight),n!==null)for(let f=n.previousElementSibling;f!==null;f=f.previousElementSibling)f.classList.contains("q-virtual-scroll--skip")===!1&&(u.offsetStart+=f[c]);if(o!==null)for(let f=o.nextElementSibling;f!==null;f=f.nextElementSibling)f.classList.contains("q-virtual-scroll--skip")===!1&&(u.offsetEnd+=f[c]);if(t!==e){const f=a.getBoundingClientRect(),d=t.getBoundingClientRect();i===!0?(u.offsetStart+=d.left-f.left,u.offsetEnd-=d.width):(u.offsetStart+=d.top-f.top,u.offsetEnd-=d.height),e!==window&&(u.offsetStart+=u.scrollStart),u.offsetEnd+=u.scrollMaxSize-u.offsetStart}return u}function Vu(e,t,n,o){t==="end"&&(t=(e===window?document.body:e)[n===!0?"scrollWidth":"scrollHeight"]),e===window?n===!0?(o===!0&&(t=(lr===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):n===!0?(o===!0&&(t=(lr===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function Io(e,t,n,o){if(n>=o)return 0;const i=t.length,r=Math.floor(n/zt),l=Math.floor((o-1)/zt)+1;let s=e.slice(r,l).reduce(xo,0);return n%zt!==0&&(s-=t.slice(r*zt,n).reduce(xo,0)),o%zt!==0&&o!==i&&(s-=t.slice(o,l*zt).reduce(xo,0)),s}const Id={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},jd=Object.keys(Id),ss={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Id};function Hd({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:o}){const i=Ae(),{props:r,emit:l,proxy:s}=i,{$q:a}=s;let c,u,f,d=[],h;const g=ue(0),p=ue(0),v=ue({}),q=ue(null),S=ue(null),E=ue(null),T=ue({from:0,to:0}),M=y(()=>r.tableColspan!==void 0?r.tableColspan:100);o===void 0&&(o=y(()=>r.virtualScrollItemSize));const I=y(()=>o.value+";"+r.virtualScrollHorizontal),W=y(()=>I.value+";"+r.virtualScrollSliceRatioBefore+";"+r.virtualScrollSliceRatioAfter);be(W,()=>{ee()}),be(I,Z);function Z(){ie(u,!0)}function A(P){ie(P===void 0?u:P)}function F(P,m){const $=t();if($==null||$.nodeType===8)return;const D=Sl($,n(),q.value,S.value,r.virtualScrollHorizontal,a.lang.rtl,r.virtualScrollStickySizeStart,r.virtualScrollStickySizeEnd);f!==D.scrollViewSize&&ee(D.scrollViewSize),C($,D,Math.min(e.value-1,Math.max(0,parseInt(P,10)||0)),0,$y.indexOf(m)!==-1?m:u!==-1&&P>u?"end":"start")}function U(){const P=t();if(P==null||P.nodeType===8)return;const m=Sl(P,n(),q.value,S.value,r.virtualScrollHorizontal,a.lang.rtl,r.virtualScrollStickySizeStart,r.virtualScrollStickySizeEnd),$=e.value-1,D=m.scrollMaxSize-m.offsetStart-m.offsetEnd-p.value;if(c===m.scrollStart)return;if(m.scrollMaxSize<=0){C(P,m,0,0);return}f!==m.scrollViewSize&&ee(m.scrollViewSize),J(T.value.from);const ne=Math.floor(m.scrollMaxSize-Math.max(m.scrollViewSize,m.offsetEnd)-Math.min(h[$],m.scrollViewSize/2));if(ne>0&&Math.ceil(m.scrollStart)>=ne){C(P,m,$,m.scrollMaxSize-m.offsetEnd-d.reduce(xo,0));return}let L=0,x=m.scrollStart-m.offsetStart,K=x;if(x<=D&&x+m.scrollViewSize>=g.value)x-=g.value,L=T.value.from,K=x;else for(let O=0;x>=d[O]&&L<$;O++)x-=d[O],L+=zt;for(;x>0&&L<$;)x-=h[L],x>-m.scrollViewSize?(L++,K=x):K=h[L]+x;C(P,m,L,K)}function C(P,m,$,D,ne){const L=typeof ne=="string"&&ne.indexOf("-force")!==-1,x=L===!0?ne.replace("-force",""):ne,K=x!==void 0?x:"start";let O=Math.max(0,$-v.value[K]),Y=O+v.value.total;Y>e.value&&(Y=e.value,O=Math.max(0,Y-v.value.total)),c=m.scrollStart;const Se=O!==T.value.from||Y!==T.value.to;if(Se===!1&&x===void 0){Q($);return}const{activeElement:w}=document,_=E.value;Se===!0&&_!==null&&_!==w&&_.contains(w)===!0&&(_.addEventListener("focusout",N),setTimeout(()=>{_!==null&&_.removeEventListener("focusout",N)})),Ny(_,$-O);const R=x!==void 0?h.slice(O,$).reduce(xo,0):0;if(Se===!0){const j=Y>=T.value.from&&O<=T.value.to?T.value.to:Y;T.value={from:O,to:j},g.value=Io(d,h,0,O),p.value=Io(d,h,Y,e.value),requestAnimationFrame(()=>{T.value.to!==Y&&c===m.scrollStart&&(T.value={from:T.value.from,to:Y},p.value=Io(d,h,Y,e.value))})}requestAnimationFrame(()=>{if(c!==m.scrollStart)return;Se===!0&&J(O);const j=h.slice(O,$).reduce(xo,0),z=j+m.offsetStart+g.value,B=z+h[$];let X=z+D;if(x!==void 0){const oe=j-R,te=m.scrollStart+oe;X=L!==!0&&te<z&&B<te+m.scrollViewSize?te:x==="end"?B-m.scrollViewSize:z-(x==="start"?0:Math.round((m.scrollViewSize-h[$])/2))}c=X,Vu(P,X,r.virtualScrollHorizontal,a.lang.rtl),Q($)})}function J(P){const m=E.value;if(m){const $=Vd.call(m.children,O=>O.classList&&O.classList.contains("q-virtual-scroll--skip")===!1),D=$.length,ne=r.virtualScrollHorizontal===!0?O=>O.getBoundingClientRect().width:O=>O.offsetHeight;let L=P,x,K;for(let O=0;O<D;){for(x=ne($[O]),O++;O<D&&$[O].classList.contains("q-virtual-scroll--with-prev")===!0;)x+=ne($[O]),O++;K=x-h[L],K!==0&&(h[L]+=K,d[Math.floor(L/zt)]+=K),L++}}}function N(){E.value!==null&&E.value!==void 0&&E.value.focus()}function ie(P,m){const $=1*o.value;(m===!0||Array.isArray(h)===!1)&&(h=[]);const D=h.length;h.length=e.value;for(let L=e.value-1;L>=D;L--)h[L]=$;const ne=Math.floor((e.value-1)/zt);d=[];for(let L=0;L<=ne;L++){let x=0;const K=Math.min((L+1)*zt,e.value);for(let O=L*zt;O<K;O++)x+=h[O];d.push(x)}u=-1,c=void 0,g.value=Io(d,h,0,T.value.from),p.value=Io(d,h,T.value.to,e.value),P>=0?(J(T.value.from),ze(()=>{F(P)})):se()}function ee(P){if(P===void 0&&typeof window<"u"){const x=t();x!=null&&x.nodeType!==8&&(P=Sl(x,n(),q.value,S.value,r.virtualScrollHorizontal,a.lang.rtl,r.virtualScrollStickySizeStart,r.virtualScrollStickySizeEnd).scrollViewSize)}f=P;const m=parseFloat(r.virtualScrollSliceRatioBefore)||0,$=parseFloat(r.virtualScrollSliceRatioAfter)||0,D=1+m+$,ne=P===void 0||P<=0?1:Math.ceil(P/o.value),L=Math.max(1,ne,Math.ceil((r.virtualScrollSliceSize>0?r.virtualScrollSliceSize:10)/D));v.value={total:Math.ceil(L*D),start:Math.ceil(L*m),center:Math.ceil(L*(.5+m)),end:Math.ceil(L*(1+m)),view:ne}}function re(P,m){const $=r.virtualScrollHorizontal===!0?"width":"height",D={["--q-virtual-scroll-item-"+$]:o.value+"px"};return[P==="tbody"?b(P,{class:"q-virtual-scroll__padding",key:"before",ref:q},[b("tr",[b("td",{style:{[$]:`${g.value}px`,...D},colspan:M.value})])]):b(P,{class:"q-virtual-scroll__padding",key:"before",ref:q,style:{[$]:`${g.value}px`,...D}}),b(P,{class:"q-virtual-scroll__content",key:"content",ref:E,tabindex:-1},m.flat()),P==="tbody"?b(P,{class:"q-virtual-scroll__padding",key:"after",ref:S},[b("tr",[b("td",{style:{[$]:`${p.value}px`,...D},colspan:M.value})])]):b(P,{class:"q-virtual-scroll__padding",key:"after",ref:S,style:{[$]:`${p.value}px`,...D}})]}function Q(P){u!==P&&(r.onVirtualScroll!==void 0&&l("virtualScroll",{index:P,from:T.value.from,to:T.value.to-1,direction:P<u?"decrease":"increase",ref:s}),u=P)}ee();const se=Ls(U,a.platform.is.ios===!0?120:35);Tr(()=>{ee()});let me=!1;return Oo(()=>{me=!0}),kr(()=>{if(me!==!0)return;const P=t();c!==void 0&&P!==void 0&&P!==null&&P.nodeType!==8?Vu(P,c,r.virtualScrollHorizontal,a.lang.rtl):F(u)}),tt(()=>{se.cancel()}),Object.assign(s,{scrollTo:F,reset:Z,refresh:A}),{virtualScrollSliceRange:T,virtualScrollSliceSizeComputed:v,setVirtualScrollSize:ee,onVirtualScrollEvt:se,localResetVirtualScroll:ie,padVirtualScroll:re,scrollTo:F,reset:Z,refresh:A}}const js=[Element,String],Vy=[null,document,document.body,document.scrollingElement,document.documentElement];function Hs(e,t){let n=Np(t);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return Vy.includes(n)?window:n}function Iy(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function jy(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let qi;function Hy(){if(qi!==void 0)return qi;const e=document.createElement("p"),t=document.createElement("div");Zl(e,{width:"100%",height:"200px"}),Zl(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let o=e.offsetWidth;return n===o&&(o=t.clientWidth),t.remove(),qi=n-o,qi}function zy(e,t=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"]))}const Uy={list:Fy,table:$d},Ky=["list","table","__qtable"],Wy=Pe({name:"QVirtualScroll",props:{...ss,type:{type:String,default:"list",validator:e=>Ky.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:js},setup(e,{slots:t,attrs:n}){let o;const i=ue(null),r=y(()=>e.itemsSize>=0&&e.itemsFn!==void 0?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0),{virtualScrollSliceRange:l,localResetVirtualScroll:s,padVirtualScroll:a,onVirtualScrollEvt:c}=Hd({virtualScrollLength:r,getVirtualScrollTarget:g,getVirtualScrollEl:h}),u=y(()=>{if(r.value===0)return[];const S=(E,T)=>({index:l.value.from+T,item:E});return e.itemsFn===void 0?e.items.slice(l.value.from,l.value.to).map(S):e.itemsFn(l.value.from,l.value.to-l.value.from).map(S)}),f=y(()=>"q-virtual-scroll q-virtual-scroll"+(e.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(e.scrollTarget!==void 0?"":" scroll")),d=y(()=>e.scrollTarget!==void 0?{}:{tabindex:0});be(r,()=>{s()}),be(()=>e.scrollTarget,()=>{v(),p()});function h(){return i.value.$el||i.value}function g(){return o}function p(){o=Hs(h(),e.scrollTarget),o.addEventListener("scroll",c,ct.passive)}function v(){o!==void 0&&(o.removeEventListener("scroll",c,ct.passive),o=void 0)}function q(){let S=a(e.type==="list"?"div":"tbody",u.value.map(t.default));return t.before!==void 0&&(S=t.before().concat(S)),Kt(t.after,S)}return Tr(()=>{s()}),rn(()=>{p()}),kr(()=>{p()}),Oo(()=>{v()}),tt(()=>{v()}),()=>{if(t.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return e.type==="__qtable"?Nd({ref:i,class:"q-table__middle "+f.value},q()):b(Uy[e.type],{...n,ref:i,class:[n.class,f.value],...d.value},q)}}});let xl,Ri=0;const at=new Array(256);for(let e=0;e<256;e++)at[e]=(e+256).toString(16).substring(1);const Qy=(()=>{const e=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return t=>{const n=[];for(let o=t;o>0;o--)n.push(Math.floor(Math.random()*256));return n}})(),Iu=4096;function as(){(xl===void 0||Ri+16>Iu)&&(Ri=0,xl=Qy(Iu));const e=Array.prototype.slice.call(xl,Ri,Ri+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,at[e[0]]+at[e[1]]+at[e[2]]+at[e[3]]+"-"+at[e[4]]+at[e[5]]+"-"+at[e[6]]+at[e[7]]+"-"+at[e[8]]+at[e[9]]+"-"+at[e[10]]+at[e[11]]+at[e[12]]+at[e[13]]+at[e[14]]+at[e[15]]}function Gy(e){return e??null}function ju(e,t){return e??(t===!0?`f_${as()}`:null)}function Jy({getValue:e,required:t=!0}={}){if(Rn.value===!0){const n=ue(e!==void 0?Gy(e()):null);return t===!0&&n.value===null&&rn(()=>{n.value=`f_${as()}`}),e!==void 0&&be(e,o=>{n.value=ju(o,t)}),n}return e!==void 0?y(()=>ju(e(),t)):ue(`f_${as()}`)}const Hu=/^on[A-Z]/;function Xy(){const{attrs:e,vnode:t}=Ae(),n={listeners:ue({}),attributes:ue({})};function o(){const i={},r={};for(const l in e)l!=="class"&&l!=="style"&&Hu.test(l)===!1&&(i[l]=e[l]);for(const l in t.props)Hu.test(l)===!0&&(r[l]=t.props[l]);n.attributes.value=i,n.listeners.value=r}return qr(o),o(),n}function Yy({validate:e,resetValidation:t,requiresQForm:n}){const o=Vt(gv,!1);if(o!==!1){const{props:i,proxy:r}=Ae();Object.assign(r,{validate:e,resetValidation:t}),be(()=>i.disable,l=>{l===!0?(typeof t=="function"&&t(),o.unbindComponent(r)):o.bindComponent(r)}),rn(()=>{i.disable!==!0&&o.bindComponent(r)}),tt(()=>{i.disable!==!0&&o.unbindComponent(r)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const zu=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Uu=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Ku=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Ai=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,Pi=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,Cl={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>zu.test(e),hexaColor:e=>Uu.test(e),hexOrHexaColor:e=>Ku.test(e),rgbColor:e=>Ai.test(e),rgbaColor:e=>Pi.test(e),rgbOrRgbaColor:e=>Ai.test(e)||Pi.test(e),hexOrRgbColor:e=>zu.test(e)||Ai.test(e),hexaOrRgbaColor:e=>Uu.test(e)||Pi.test(e),anyColor:e=>Ku.test(e)||Ai.test(e)||Pi.test(e)},Zy=[!0,!1,"ondemand"],e0={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>Zy.includes(e)}};function t0(e,t){const{props:n,proxy:o}=Ae(),i=ue(!1),r=ue(null),l=ue(!1);Yy({validate:p,resetValidation:g});let s=0,a;const c=y(()=>n.rules!==void 0&&n.rules!==null&&n.rules.length!==0),u=y(()=>n.disable!==!0&&c.value===!0&&t.value===!1),f=y(()=>n.error===!0||i.value===!0),d=y(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:r.value);be(()=>n.modelValue,()=>{l.value=!0,u.value===!0&&n.lazyRules===!1&&v()});function h(){n.lazyRules!=="ondemand"&&u.value===!0&&l.value===!0&&v()}be(()=>n.reactiveRules,q=>{q===!0?a===void 0&&(a=be(()=>n.rules,h,{immediate:!0,deep:!0})):a!==void 0&&(a(),a=void 0)},{immediate:!0}),be(()=>n.lazyRules,h),be(e,q=>{q===!0?l.value=!0:u.value===!0&&n.lazyRules!=="ondemand"&&v()});function g(){s++,t.value=!1,l.value=!1,i.value=!1,r.value=null,v.cancel()}function p(q=n.modelValue){if(n.disable===!0||c.value===!1)return!0;const S=++s,E=t.value!==!0?()=>{l.value=!0}:()=>{},T=(I,W)=>{I===!0&&E(),i.value=I,r.value=W||null,t.value=!1},M=[];for(let I=0;I<n.rules.length;I++){const W=n.rules[I];let Z;if(typeof W=="function"?Z=W(q,Cl):typeof W=="string"&&Cl[W]!==void 0&&(Z=Cl[W](q)),Z===!1||typeof Z=="string")return T(!0,Z),!1;Z!==!0&&Z!==void 0&&M.push(Z)}return M.length===0?(T(!1),!0):(t.value=!0,Promise.all(M).then(I=>{if(I===void 0||Array.isArray(I)===!1||I.length===0)return S===s&&T(!1),!0;const W=I.find(Z=>Z===!1||typeof Z=="string");return S===s&&T(W!==void 0,W),W===void 0},I=>(S===s&&(console.error(I),T(!0)),!1)))}const v=Ls(p,0);return tt(()=>{a!==void 0&&a(),v.cancel()}),Object.assign(o,{resetValidation:g,validate:p}),qt(o,"hasError",()=>f.value),{isDirtyModel:l,hasRules:c,hasError:f,errorMessage:d,validate:p,resetValidation:g}}let zn=[],mi=[];function zd(e){mi=mi.filter(t=>t!==e)}function n0(e){zd(e),mi.push(e)}function Wu(e){zd(e),mi.length===0&&zn.length!==0&&(zn[zn.length-1](),zn=[])}function Hr(e){mi.length===0?e():zn.push(e)}function o0(e){zn=zn.filter(t=>t!==e)}function vi(e){return e!=null&&(""+e).length!==0}const i0={...kt,...e0,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},zr={...i0,maxlength:[Number,String]},zs=["update:modelValue","clear","focus","blur"];function Us({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){const{props:o,proxy:i}=Ae(),r=Et(o,i.$q),l=Jy({required:e,getValue:()=>o.for});return{requiredForAttr:e,changeEvent:n,tag:t===!0?y(()=>o.tag):{value:"label"},isDark:r,editable:y(()=>o.disable!==!0&&o.readonly!==!0),innerLoading:ue(!1),focused:ue(!1),hasPopupOpen:!1,splitAttrs:Xy(),targetUid:l,rootRef:ue(null),targetRef:ue(null),controlRef:ue(null)}}function Ks(e){const{props:t,emit:n,slots:o,attrs:i,proxy:r}=Ae(),{$q:l}=r;let s=null;e.hasValue===void 0&&(e.hasValue=y(()=>vi(t.modelValue))),e.emitValue===void 0&&(e.emitValue=Q=>{n("update:modelValue",Q)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:A,onFocusout:F}),Object.assign(e,{clearValue:U,onControlFocusin:A,onControlFocusout:F,focus:W}),e.computedCounter===void 0&&(e.computedCounter=y(()=>{if(t.counter!==!1){const Q=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,se=t.maxlength!==void 0?t.maxlength:t.maxValues;return Q+(se!==void 0?" / "+se:"")}}));const{isDirtyModel:a,hasRules:c,hasError:u,errorMessage:f,resetValidation:d}=t0(e.focused,e.innerLoading),h=e.floatingLabel!==void 0?y(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):y(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),g=y(()=>t.bottomSlots===!0||t.hint!==void 0||c.value===!0||t.counter===!0||t.error!==null),p=y(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),v=y(()=>`q-field row no-wrap items-start q-field--${p.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(h.value===!0?" q-field--float":"")+(S.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(u.value===!0?" q-field--error":"")+(u.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&g.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),q=y(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(u.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),S=y(()=>t.labelSlot===!0||t.label!==void 0),E=y(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&u.value!==!0?` text-${t.labelColor}`:"")),T=y(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:h.value,modelValue:t.modelValue,emitValue:e.emitValue})),M=y(()=>{const Q={};return e.targetUid.value&&(Q.for=e.targetUid.value),t.disable===!0&&(Q["aria-disabled"]="true"),Q});function I(){const Q=document.activeElement;let se=e.targetRef!==void 0&&e.targetRef.value;se&&(Q===null||Q.id!==e.targetUid.value)&&(se.hasAttribute("tabindex")===!0||(se=se.querySelector("[tabindex]")),se&&se!==Q&&se.focus({preventScroll:!0}))}function W(){Hr(I)}function Z(){o0(I);const Q=document.activeElement;Q!==null&&e.rootRef.value.contains(Q)&&Q.blur()}function A(Q){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n("focus",Q))}function F(Q,se){s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,n("blur",Q)),se!==void 0&&se())})}function U(Q){Qe(Q),l.platform.is.mobile!==!0?(e.targetRef!==void 0&&e.targetRef.value||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),t.type==="file"&&(e.inputRef.value.value=null),n("update:modelValue",null),e.changeEvent===!0&&n("change",null),n("clear",t.modelValue),ze(()=>{const se=a.value;d(),a.value=se})}function C(Q){[13,32].includes(Q.keyCode)&&U(Q)}function J(){const Q=[];return o.prepend!==void 0&&Q.push(b("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:Ut},o.prepend())),Q.push(b("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},N())),u.value===!0&&t.noErrorIcon===!1&&Q.push(ee("error",[b(He,{name:l.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?Q.push(ee("inner-loading-append",o.loading!==void 0?o.loading():[b(vn,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&Q.push(ee("inner-clearable-append",[b(He,{class:"q-field__focusable-action",name:t.clearIcon||l.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":l.lang.label.clear,onKeyup:C,onClick:U})])),o.append!==void 0&&Q.push(b("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:Ut},o.append())),e.getInnerAppend!==void 0&&Q.push(ee("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&Q.push(e.getControlChild()),Q}function N(){const Q=[];return t.prefix!==void 0&&t.prefix!==null&&Q.push(b("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&Q.push(e.getShadowControl()),e.getControl!==void 0?Q.push(e.getControl()):o.rawControl!==void 0?Q.push(o.rawControl()):o.control!==void 0&&Q.push(b("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},o.control(T.value))),S.value===!0&&Q.push(b("div",{class:E.value},Je(o.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&Q.push(b("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),Q.concat(Je(o.default))}function ie(){let Q,se;u.value===!0?f.value!==null?(Q=[b("div",{role:"alert"},f.value)],se=`q--slot-error-${f.value}`):(Q=Je(o.error),se="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(Q=[b("div",t.hint)],se=`q--slot-hint-${t.hint}`):(Q=Je(o.hint),se="q--slot-hint"));const me=t.counter===!0||o.counter!==void 0;if(t.hideBottomSpace===!0&&me===!1&&Q===void 0)return;const P=b("div",{key:se,class:"q-field__messages col"},Q);return b("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:Ut},[t.hideBottomSpace===!0?P:b(Zn,{name:"q-transition--field-message"},()=>P),me===!0?b("div",{class:"q-field__counter"},o.counter!==void 0?o.counter():e.computedCounter.value):null])}function ee(Q,se){return se===null?null:b("div",{key:Q,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},se)}let re=!1;return Oo(()=>{re=!0}),kr(()=>{re===!0&&t.autofocus===!0&&r.focus()}),t.autofocus===!0&&rn(()=>{r.focus()}),tt(()=>{s!==null&&clearTimeout(s)}),Object.assign(r,{focus:W,blur:Z}),function(){const se=e.getControl===void 0&&o.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...M.value}:M.value;return b(e.tag.value,{ref:e.rootRef,class:[v.value,i.class],style:i.style,...se},[o.before!==void 0?b("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:Ut},o.before()):null,b("div",{class:"q-field__inner relative-position col self-stretch"},[b("div",{ref:e.controlRef,class:q.value,tabindex:-1,...e.controlEvents},J()),g.value===!0?ie():null]),o.after!==void 0?b("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:Ut},o.after()):null])}}const r0=Pe({name:"QField",inheritAttrs:!1,props:{...zr,tag:{type:String,default:"label"}},emits:zs,setup(){return Ks(Us({tagProp:!0}))}}),l0={xs:8,sm:10,md:14,lg:20,xl:24},s0=Pe({name:"QChip",props:{...kt,...no,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=Ae(),i=Et(e,o),r=oo(e,l0),l=y(()=>e.selected===!0||e.icon!==void 0),s=y(()=>e.selected===!0?e.iconSelected||o.iconSet.chip.selected:e.icon),a=y(()=>e.iconRemove||o.iconSet.chip.remove),c=y(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),u=y(()=>{const v=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(v?` text-${v} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(c.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(i.value===!0?" q-chip--dark q-dark":"")}),f=y(()=>{const v=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},q={...v,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||o.lang.label.remove};return{chip:v,remove:q}});function d(v){v.keyCode===13&&h(v)}function h(v){e.disable||(n("update:selected",!e.selected),n("click",v))}function g(v){(v.keyCode===void 0||v.keyCode===13)&&(Qe(v),e.disable===!1&&(n("update:modelValue",!1),n("remove")))}function p(){const v=[];c.value===!0&&v.push(b("div",{class:"q-focus-helper"})),l.value===!0&&v.push(b(He,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const q=e.label!==void 0?[b("div",{class:"ellipsis"},[e.label])]:void 0;return v.push(b("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},nd(t.default,q))),e.iconRight&&v.push(b(He,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&v.push(b(He,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:a.value,...f.value.remove,onClick:g,onKeyup:g})),v}return()=>{if(e.modelValue===!1)return;const v={class:u.value,style:r.value};return c.value===!0&&Object.assign(v,f.value.chip,{onClick:h,onKeyup:d}),Rp("div",v,p(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[sd,e.ripple]])}}}),a0=Pe({name:"QItem",props:{...kt,...Up,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=Ae(),i=Et(e,o),{hasLink:r,linkAttrs:l,linkClass:s,linkTag:a,navigateOnClick:c}=hd(),u=ue(null),f=ue(null),d=y(()=>e.clickable===!0||r.value===!0||e.tag==="label"),h=y(()=>e.disable!==!0&&d.value===!0),g=y(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(i.value===!0?" q-item--dark":"")+(r.value===!0&&e.active===null?s.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(h.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),p=y(()=>e.insetLevel===void 0?null:{["padding"+(o.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function v(E){h.value===!0&&(f.value!==null&&(E.qKeyEvent!==!0&&document.activeElement===u.value?f.value.focus():document.activeElement===f.value&&u.value.focus()),c(E))}function q(E){if(h.value===!0&&mn(E,[13,32])===!0){Qe(E),E.qKeyEvent=!0;const T=new MouseEvent("click",E);T.qKeyEvent=!0,u.value.dispatchEvent(T)}n("keyup",E)}function S(){const E=td(t.default,[]);return h.value===!0&&E.unshift(b("div",{class:"q-focus-helper",tabindex:-1,ref:f})),E}return()=>{const E={ref:u,class:g.value,style:p.value,role:"listitem",onClick:v,onKeyup:q};return h.value===!0?(E.tabindex=e.tabindex||"0",Object.assign(E,l.value)):d.value===!0&&(E["aria-disabled"]="true"),b(a.value,E,S())}}}),u0=Pe({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=y(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>b("div",{class:n.value},Je(t.default))}}),c0=Pe({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=y(()=>parseInt(e.lines,10)),o=y(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(n.value===1?" ellipsis":"")),i=y(()=>e.lines!==void 0&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null);return()=>b("div",{style:i.value,class:o.value},Je(t.default))}});function us(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),er.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const Ud={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},f0={...Ud,contextMenu:Boolean};function Kd({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:o,proxy:i,emit:r}=Ae(),l=ue(null);let s=null;function a(h){return l.value===null?!1:h===void 0||h.touches===void 0||h.touches.length<=1}const c={};n===void 0&&(Object.assign(c,{hide(h){i.hide(h)},toggle(h){i.toggle(h),h.qAnchorHandled=!0},toggleKey(h){mn(h,13)===!0&&c.toggle(h)},contextClick(h){i.hide(h),Ut(h),ze(()=>{i.show(h),h.qAnchorHandled=!0})},prevent:Ut,mobileTouch(h){if(c.mobileCleanup(h),a(h)!==!0)return;i.hide(h),l.value.classList.add("non-selectable");const g=h.target;ci(c,"anchor",[[g,"touchmove","mobileCleanup","passive"],[g,"touchend","mobileCleanup","passive"],[g,"touchcancel","mobileCleanup","passive"],[l.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,i.show(h),h.qAnchorHandled=!0},300)},mobileCleanup(h){l.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&h!==void 0&&us()}}),n=function(h=o.contextMenu){if(o.noParentEvent===!0||l.value===null)return;let g;h===!0?i.$q.platform.is.mobile===!0?g=[[l.value,"touchstart","mobileTouch","passive"]]:g=[[l.value,"mousedown","hide","passive"],[l.value,"contextmenu","contextClick","notPassive"]]:g=[[l.value,"click","toggle","passive"],[l.value,"keyup","toggleKey","passive"]],ci(c,"anchor",g)});function u(){tr(c,"anchor")}function f(h){for(l.value=h;l.value.classList.contains("q-anchor--skip");)l.value=l.value.parentNode;n()}function d(){if(o.target===!1||o.target===""||i.$el.parentNode===null)l.value=null;else if(o.target===!0)f(i.$el.parentNode);else{let h=o.target;if(typeof o.target=="string")try{h=document.querySelector(o.target)}catch{h=void 0}h!=null?(l.value=h.$el||h,n()):(l.value=null,console.error(`Anchor: target "${o.target}" not found`))}}return be(()=>o.contextMenu,h=>{l.value!==null&&(u(),n(h))}),be(()=>o.target,()=>{l.value!==null&&u(),d()}),be(()=>o.noParentEvent,h=>{l.value!==null&&(h===!0?u():n())}),rn(()=>{d(),t!==!0&&o.modelValue===!0&&l.value===null&&r("update:modelValue",!1)}),tt(()=>{s!==null&&clearTimeout(s),u()}),{anchorEl:l,canShow:a,anchorEvents:c}}function Wd(e,t){const n=ue(null);let o;function i(s,a){const c=`${a!==void 0?"add":"remove"}EventListener`,u=a!==void 0?a:o;s!==window&&s[c]("scroll",u,ct.passive),window[c]("scroll",u,ct.passive),o=a}function r(){n.value!==null&&(i(n.value),n.value=null)}const l=be(()=>e.noParentEvent,()=>{n.value!==null&&(r(),t())});return tt(l),{localScrollTarget:n,unconfigureScrollTarget:r,changeScrollEvent:i}}const Ws={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},Qs=["beforeShow","show","beforeHide","hide"];function Gs({showing:e,canShow:t,hideOnRouteChange:n,handleShow:o,handleHide:i,processOnMount:r}){const l=Ae(),{props:s,emit:a,proxy:c}=l;let u;function f(S){e.value===!0?g(S):d(S)}function d(S){if(s.disable===!0||S!==void 0&&S.qAnchorHandled===!0||t!==void 0&&t(S)!==!0)return;const E=s["onUpdate:modelValue"]!==void 0;E===!0&&(a("update:modelValue",!0),u=S,ze(()=>{u===S&&(u=void 0)})),(s.modelValue===null||E===!1)&&h(S)}function h(S){e.value!==!0&&(e.value=!0,a("beforeShow",S),o!==void 0?o(S):a("show",S))}function g(S){if(s.disable===!0)return;const E=s["onUpdate:modelValue"]!==void 0;E===!0&&(a("update:modelValue",!1),u=S,ze(()=>{u===S&&(u=void 0)})),(s.modelValue===null||E===!1)&&p(S)}function p(S){e.value!==!1&&(e.value=!1,a("beforeHide",S),i!==void 0?i(S):a("hide",S))}function v(S){s.disable===!0&&S===!0?s["onUpdate:modelValue"]!==void 0&&a("update:modelValue",!1):S===!0!==e.value&&(S===!0?h:p)(u)}be(()=>s.modelValue,v),n!==void 0&&Bs(l)===!0&&be(()=>c.$route.fullPath,()=>{n.value===!0&&e.value===!0&&g()}),r===!0&&rn(()=>{v(s.modelValue)});const q={show:d,hide:g,toggle:f};return Object.assign(c,q),q}let d0=1,h0=document.body;function Js(e,t){const n=document.createElement("div");if(n.id=t!==void 0?`q-portal--${t}--${d0++}`:e,or.globalNodes!==void 0){const o=or.globalNodes.class;o!==void 0&&(n.className=o)}return h0.appendChild(n),n}function Qd(e){e.remove()}const Co=[];function g0(e){return Co.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function Gd(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Ni(e)}else if(e.__qPortal===!0){const n=Ni(e);return n!==void 0&&n.$options.name==="QPopupProxy"?(e.hide(t),n):e}e=Ni(e)}while(e!=null)}function m0(e,t,n){for(;n!==0&&e!==void 0&&e!==null;){if(e.__qPortal===!0){if(n--,e.$options.name==="QMenu"){e=Gd(e,t);continue}e.hide(t)}e=Ni(e)}}const v0=Pe({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function p0(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function Xs(e,t,n,o){const i=ue(!1),r=ue(!1);let l=null;const s={},a=o==="dialog"&&p0(e);function c(f){if(f===!0){Wu(s),r.value=!0;return}r.value=!1,i.value===!1&&(a===!1&&l===null&&(l=Js(!1,o)),i.value=!0,Co.push(e.proxy),n0(s))}function u(f){if(r.value=!1,f!==!0)return;Wu(s),i.value=!1;const d=Co.indexOf(e.proxy);d!==-1&&Co.splice(d,1),l!==null&&(Qd(l),l=null)}return Rs(()=>{u(!0)}),e.proxy.__qPortal=!0,qt(e.proxy,"contentEl",()=>t.value),{showPortal:c,hidePortal:u,portalIsActive:i,portalIsAccessible:r,renderPortal:()=>a===!0?n():i.value===!0?[b(dg,{to:l},b(v0,n))]:void 0}}const ni={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function Ys(e,t=()=>{},n=()=>{}){return{transitionProps:y(()=>{const o=`q-transition--${e.transitionShow||t()}`,i=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${i}-leave-from`,leaveActiveClass:`${i}-leave-active`,leaveToClass:`${i}-leave-to`}}),transitionStyle:y(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function Zs(){let e;const t=Ae();function n(){e=void 0}return Oo(n),tt(n),{removeTick:n,registerTick(o){e=o,ze(()=>{e===o&&(fd(t)===!1&&e(),e=void 0)})}}}function ea(){let e=null;const t=Ae();function n(){e!==null&&(clearTimeout(e),e=null)}return Oo(n),tt(n),{removeTimeout:n,registerTimeout(o,i){n(),fd(t)===!1&&(e=setTimeout(()=>{e=null,o()},i))}}}const Qn=[];let Ro;function b0(e){Ro=e.keyCode===27}function y0(){Ro===!0&&(Ro=!1)}function w0(e){Ro===!0&&(Ro=!1,mn(e,27)===!0&&Qn[Qn.length-1](e))}function Jd(e){window[e]("keydown",b0),window[e]("blur",y0),window[e]("keyup",w0),Ro=!1}function Xd(e){ot.is.desktop===!0&&(Qn.push(e),Qn.length===1&&Jd("addEventListener"))}function sr(e){const t=Qn.indexOf(e);t!==-1&&(Qn.splice(t,1),Qn.length===0&&Jd("removeEventListener"))}const Gn=[];function Yd(e){Gn[Gn.length-1](e)}function Zd(e){ot.is.desktop===!0&&(Gn.push(e),Gn.length===1&&document.body.addEventListener("focusin",Yd))}function cs(e){const t=Gn.indexOf(e);t!==-1&&(Gn.splice(t,1),Gn.length===0&&document.body.removeEventListener("focusin",Yd))}const{notPassiveCapture:ar}=ct,Jn=[];function ur(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let n=Co.length-1;for(;n>=0;){const o=Co[n].$;if(o.type.name==="QTooltip"){n--;continue}if(o.type.name!=="QDialog")break;if(o.props.seamless!==!0)return;n--}for(let o=Jn.length-1;o>=0;o--){const i=Jn[o];if((i.anchorEl.value===null||i.anchorEl.value.contains(t)===!1)&&(t===document.body||i.innerRef.value!==null&&i.innerRef.value.contains(t)===!1))e.qClickOutside=!0,i.onClickOutside(e);else return}}function eh(e){Jn.push(e),Jn.length===1&&(document.addEventListener("mousedown",ur,ar),document.addEventListener("touchstart",ur,ar))}function cr(e){const t=Jn.findIndex(n=>n===e);t!==-1&&(Jn.splice(t,1),Jn.length===0&&(document.removeEventListener("mousedown",ur,ar),document.removeEventListener("touchstart",ur,ar)))}let Qu,Gu;function fr(e){const t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function th(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const fs={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{fs[`${e}#ltr`]=e,fs[`${e}#rtl`]=e});function dr(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:fs[`${n[1]}#${t===!0?"rtl":"ltr"}`]}}function _0(e,t){let{top:n,left:o,right:i,bottom:r,width:l,height:s}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],o-=t[0],r+=t[1],i+=t[0],l+=t[0],s+=t[1]),{top:n,bottom:r,height:s,left:o,right:i,width:l,middle:o+(i-o)/2,center:n+(r-n)/2}}function S0(e,t,n){let{top:o,left:i}=e.getBoundingClientRect();return o+=t.top,i+=t.left,n!==void 0&&(o+=n[1],i+=n[0]),{top:o,bottom:o+1,height:1,left:i,right:i+1,width:1,middle:i,center:o}}function x0(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Ju(e,t,n,o){return{top:e[n.vertical]-t[o.vertical],left:e[n.horizontal]-t[o.horizontal]}}function ta(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{ta(e,t+1)},10);return}const{targetEl:n,offset:o,anchorEl:i,anchorOrigin:r,selfOrigin:l,absoluteOffset:s,fit:a,cover:c,maxHeight:u,maxWidth:f}=e;if(ot.is.ios===!0&&window.visualViewport!==void 0){const I=document.body.style,{offsetLeft:W,offsetTop:Z}=window.visualViewport;W!==Qu&&(I.setProperty("--q-pe-left",W+"px"),Qu=W),Z!==Gu&&(I.setProperty("--q-pe-top",Z+"px"),Gu=Z)}const{scrollLeft:d,scrollTop:h}=n,g=s===void 0?_0(i,c===!0?[0,0]:o):S0(i,s,o);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:f,maxHeight:u,visibility:"visible"});const{offsetWidth:p,offsetHeight:v}=n,{elWidth:q,elHeight:S}=a===!0||c===!0?{elWidth:Math.max(g.width,p),elHeight:c===!0?Math.max(g.height,v):v}:{elWidth:p,elHeight:v};let E={maxWidth:f,maxHeight:u};(a===!0||c===!0)&&(E.minWidth=g.width+"px",c===!0&&(E.minHeight=g.height+"px")),Object.assign(n.style,E);const T=x0(q,S);let M=Ju(g,T,r,l);if(s===void 0||o===void 0)kl(M,g,T,r,l);else{const{top:I,left:W}=M;kl(M,g,T,r,l);let Z=!1;if(M.top!==I){Z=!0;const A=2*o[1];g.center=g.top-=A,g.bottom-=A+2}if(M.left!==W){Z=!0;const A=2*o[0];g.middle=g.left-=A,g.right-=A+2}Z===!0&&(M=Ju(g,T,r,l),kl(M,g,T,r,l))}E={top:M.top+"px",left:M.left+"px"},M.maxHeight!==void 0&&(E.maxHeight=M.maxHeight+"px",g.height>M.maxHeight&&(E.minHeight=E.maxHeight)),M.maxWidth!==void 0&&(E.maxWidth=M.maxWidth+"px",g.width>M.maxWidth&&(E.minWidth=E.maxWidth)),Object.assign(n.style,E),n.scrollTop!==h&&(n.scrollTop=h),n.scrollLeft!==d&&(n.scrollLeft=d)}function kl(e,t,n,o,i){const r=n.bottom,l=n.right,s=Hy(),a=window.innerHeight-s,c=document.body.clientWidth;if(e.top<0||e.top+r>a)if(i.vertical==="center")e.top=t[o.vertical]>a/2?Math.max(0,a-r):0,e.maxHeight=Math.min(r,a);else if(t[o.vertical]>a/2){const u=Math.min(a,o.vertical==="center"?t.center:o.vertical===i.vertical?t.bottom:t.top);e.maxHeight=Math.min(r,u),e.top=Math.max(0,u-r)}else e.top=Math.max(0,o.vertical==="center"?t.center:o.vertical===i.vertical?t.top:t.bottom),e.maxHeight=Math.min(r,a-e.top);if(e.left<0||e.left+l>c)if(e.maxWidth=Math.min(l,c),i.horizontal==="middle")e.left=t[o.horizontal]>c/2?Math.max(0,c-l):0;else if(t[o.horizontal]>c/2){const u=Math.min(c,o.horizontal==="middle"?t.middle:o.horizontal===i.horizontal?t.right:t.left);e.maxWidth=Math.min(l,u),e.left=Math.max(0,u-e.maxWidth)}else e.left=Math.max(0,o.horizontal==="middle"?t.middle:o.horizontal===i.horizontal?t.left:t.right),e.maxWidth=Math.min(l,c-e.left)}const C0=Pe({name:"QMenu",inheritAttrs:!1,props:{...f0,...Ws,...kt,...ni,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:fr},self:{type:String,validator:fr},offset:{type:Array,validator:th},scrollTarget:js,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...Qs,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){let i=null,r,l,s;const a=Ae(),{proxy:c}=a,{$q:u}=c,f=ue(null),d=ue(!1),h=y(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),g=Et(e,u),{registerTick:p,removeTick:v}=Zs(),{registerTimeout:q}=ea(),{transitionProps:S,transitionStyle:E}=Ys(e),{localScrollTarget:T,changeScrollEvent:M,unconfigureScrollTarget:I}=Wd(e,$),{anchorEl:W,canShow:Z}=Kd({showing:d}),{hide:A}=Gs({showing:d,canShow:Z,handleShow:me,handleHide:P,hideOnRouteChange:h,processOnMount:!0}),{showPortal:F,hidePortal:U,renderPortal:C}=Xs(a,f,K,"menu"),J={anchorEl:W,innerRef:f,onClickOutside(O){if(e.persistent!==!0&&d.value===!0)return A(O),(O.type==="touchstart"||O.target.classList.contains("q-dialog__backdrop"))&&Qe(O),!0}},N=y(()=>dr(e.anchor||(e.cover===!0?"center middle":"bottom start"),u.lang.rtl)),ie=y(()=>e.cover===!0?N.value:dr(e.self||"top start",u.lang.rtl)),ee=y(()=>(e.square===!0?" q-menu--square":"")+(g.value===!0?" q-menu--dark q-dark":"")),re=y(()=>e.autoClose===!0?{onClick:D}:{}),Q=y(()=>d.value===!0&&e.persistent!==!0);be(Q,O=>{O===!0?(Xd(L),eh(J)):(sr(L),cr(J))});function se(){Hr(()=>{let O=f.value;O&&O.contains(document.activeElement)!==!0&&(O=O.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||O.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||O.querySelector("[autofocus], [data-autofocus]")||O,O.focus({preventScroll:!0}))})}function me(O){if(i=e.noRefocus===!1?document.activeElement:null,Zd(ne),F(),$(),r=void 0,O!==void 0&&(e.touchPosition||e.contextMenu)){const Y=Ff(O);if(Y.left!==void 0){const{top:Se,left:w}=W.value.getBoundingClientRect();r={left:Y.left-w,top:Y.top-Se}}}l===void 0&&(l=be(()=>u.screen.width+"|"+u.screen.height+"|"+e.self+"|"+e.anchor+"|"+u.lang.rtl,x)),e.noFocus!==!0&&document.activeElement.blur(),p(()=>{x(),e.noFocus!==!0&&se()}),q(()=>{u.platform.is.ios===!0&&(s=e.autoClose,f.value.click()),x(),F(!0),n("show",O)},e.transitionDuration)}function P(O){v(),U(),m(!0),i!==null&&(O===void 0||O.qClickOutside!==!0)&&(((O&&O.type.indexOf("key")===0?i.closest('[tabindex]:not([tabindex^="-"])'):void 0)||i).focus(),i=null),q(()=>{U(!0),n("hide",O)},e.transitionDuration)}function m(O){r=void 0,l!==void 0&&(l(),l=void 0),(O===!0||d.value===!0)&&(cs(ne),I(),cr(J),sr(L)),O!==!0&&(i=null)}function $(){(W.value!==null||e.scrollTarget!==void 0)&&(T.value=Hs(W.value,e.scrollTarget),M(T.value,x))}function D(O){s!==!0?(Gd(c,O),n("click",O)):s=!1}function ne(O){Q.value===!0&&e.noFocus!==!0&&ld(f.value,O.target)!==!0&&se()}function L(O){n("escapeKey"),A(O)}function x(){ta({targetEl:f.value,offset:e.offset,anchorEl:W.value,anchorOrigin:N.value,selfOrigin:ie.value,absoluteOffset:r,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function K(){return b(Zn,S.value,()=>d.value===!0?b("div",{role:"menu",...o,ref:f,tabindex:-1,class:["q-menu q-position-engine scroll"+ee.value,o.class],style:[o.style,E.value],...re.value},Je(t.default)):null)}return tt(m),Object.assign(c,{focus:se,updatePosition:x}),C}});function k0(e,t,n){let o;function i(){o!==void 0&&(fi.remove(o),o=void 0)}return tt(()=>{e.value===!0&&i()}),{removeFromHistory:i,addToHistory(){o={condition:()=>n.value===!0,handler:t},fi.add(o)}}}let jo=0,El,Tl,Ko,ql=!1,Xu,Yu,Zu,$n=null;function E0(e){T0(e)&&Qe(e)}function T0(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=Zm(e),n=e.shiftKey&&!e.deltaX,o=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),i=n||o?e.deltaY:e.deltaX;for(let r=0;r<t.length;r++){const l=t[r];if(zy(l,o))return o?i<0&&l.scrollTop===0?!0:i>0&&l.scrollTop+l.clientHeight===l.scrollHeight:i<0&&l.scrollLeft===0?!0:i>0&&l.scrollLeft+l.clientWidth===l.scrollWidth}return!0}function ec(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function Oi(e){ql!==!0&&(ql=!0,requestAnimationFrame(()=>{ql=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;(Ko===void 0||t!==window.innerHeight)&&(Ko=n-t,document.scrollingElement.scrollTop=o),o>Ko&&(document.scrollingElement.scrollTop-=Math.ceil((o-Ko)/8))}))}function tc(e){const t=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:o,overflowX:i}=window.getComputedStyle(t);El=jy(window),Tl=Iy(window),Xu=t.style.left,Yu=t.style.top,Zu=window.location.href,t.style.left=`-${El}px`,t.style.top=`-${Tl}px`,i!=="hidden"&&(i==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),o!=="hidden"&&(o==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,ot.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",Oi,ct.passiveCapture),window.visualViewport.addEventListener("scroll",Oi,ct.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",ec,ct.passiveCapture))}ot.is.desktop===!0&&ot.is.mac===!0&&window[`${e}EventListener`]("wheel",E0,ct.notPassive),e==="remove"&&(ot.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",Oi,ct.passiveCapture),window.visualViewport.removeEventListener("scroll",Oi,ct.passiveCapture)):window.removeEventListener("scroll",ec,ct.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=Xu,t.style.top=Yu,window.location.href===Zu&&window.scrollTo(El,Tl),Ko=void 0)}function q0(e){let t="add";if(e===!0){if(jo++,$n!==null){clearTimeout($n),$n=null;return}if(jo>1)return}else{if(jo===0||(jo--,jo>0))return;if(t="remove",ot.is.ios===!0&&ot.is.nativeMobile===!0){$n!==null&&clearTimeout($n),$n=setTimeout(()=>{tc(t),$n=null},100);return}}tc(t)}function R0(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,q0(t))}}}let Li=0;const A0={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},nc={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},hr=Pe({name:"QDialog",inheritAttrs:!1,props:{...Ws,...ni,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...Qs,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){const i=Ae(),r=ue(null),l=ue(!1),s=ue(!1);let a=null,c=null,u,f;const d=y(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:h}=R0(),{registerTimeout:g}=ea(),{registerTick:p,removeTick:v}=Zs(),{transitionProps:q,transitionStyle:S}=Ys(e,()=>nc[e.position][0],()=>nc[e.position][1]),E=y(()=>S.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:T,hidePortal:M,portalIsAccessible:I,renderPortal:W}=Xs(i,r,ne,"dialog"),{hide:Z}=Gs({showing:l,hideOnRouteChange:d,handleShow:ie,handleHide:ee,processOnMount:!0}),{addToHistory:A,removeFromHistory:F}=k0(l,Z,d),U=y(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${A0[e.position]}`+(s.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),C=y(()=>l.value===!0&&e.seamless!==!0),J=y(()=>e.autoClose===!0?{onClick:m}:{}),N=y(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${C.value===!0?"modal":"seamless"}`,o.class]);be(()=>e.maximized,L=>{l.value===!0&&P(L)}),be(C,L=>{h(L),L===!0?(Zd(D),Xd(se)):(cs(D),sr(se))});function ie(L){A(),c=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,P(e.maximized),T(),s.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),p(re)):v(),g(()=>{if(i.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:x,bottom:K}=document.activeElement.getBoundingClientRect(),{innerHeight:O}=window,Y=window.visualViewport!==void 0?window.visualViewport.height:O;x>0&&K>Y/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-Y,K>=O?1/0:Math.ceil(document.scrollingElement.scrollTop+K-Y/2))),document.activeElement.scrollIntoView()}f=!0,r.value.click(),f=!1}T(!0),s.value=!1,n("show",L)},e.transitionDuration)}function ee(L){v(),F(),me(!0),s.value=!0,M(),c!==null&&(((L&&L.type.indexOf("key")===0?c.closest('[tabindex]:not([tabindex^="-"])'):void 0)||c).focus(),c=null),g(()=>{M(!0),s.value=!1,n("hide",L)},e.transitionDuration)}function re(L){Hr(()=>{let x=r.value;if(x!==null){if(L!==void 0){const K=x.querySelector(L);if(K!==null){K.focus({preventScroll:!0});return}}x.contains(document.activeElement)!==!0&&(x=x.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||x.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||x.querySelector("[autofocus], [data-autofocus]")||x,x.focus({preventScroll:!0}))}})}function Q(L){L&&typeof L.focus=="function"?L.focus({preventScroll:!0}):re(),n("shake");const x=r.value;x!==null&&(x.classList.remove("q-animate--scale"),x.classList.add("q-animate--scale"),a!==null&&clearTimeout(a),a=setTimeout(()=>{a=null,r.value!==null&&(x.classList.remove("q-animate--scale"),re())},170))}function se(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&Q():(n("escapeKey"),Z()))}function me(L){a!==null&&(clearTimeout(a),a=null),(L===!0||l.value===!0)&&(P(!1),e.seamless!==!0&&(h(!1),cs(D),sr(se))),L!==!0&&(c=null)}function P(L){L===!0?u!==!0&&(Li<1&&document.body.classList.add("q-body--dialog"),Li++,u=!0):u===!0&&(Li<2&&document.body.classList.remove("q-body--dialog"),Li--,u=!1)}function m(L){f!==!0&&(Z(L),n("click",L))}function $(L){e.persistent!==!0&&e.noBackdropDismiss!==!0?Z(L):e.noShake!==!0&&Q()}function D(L){e.allowFocusOutside!==!0&&I.value===!0&&ld(r.value,L.target)!==!0&&re('[tabindex]:not([tabindex="-1"])')}Object.assign(i.proxy,{focus:re,shake:Q,__updateRefocusTarget(L){c=L||null}}),tt(me);function ne(){return b("div",{role:"dialog","aria-modal":C.value===!0?"true":"false",...o,class:N.value},[b(Zn,{name:"q-transition--fade",appear:!0},()=>C.value===!0?b("div",{class:"q-dialog__backdrop fixed-full",style:E.value,"aria-hidden":"true",tabindex:-1,onClick:$}):null),b(Zn,q.value,()=>l.value===!0?b("div",{ref:r,class:U.value,style:S.value,tabindex:-1,...J.value},Je(t.default)):null)])}return W}}),Ur={name:String};function nh(e={}){return(t,n,o)=>{t[n](b("input",{class:"hidden"+(o||""),...e.value}))}}function oh(e){return y(()=>e.name||e.for)}const P0=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,O0=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,L0=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,M0=/[a-z0-9_ -]$/i;function ih(e){return function(n){if(n.type==="compositionend"||n.type==="change"){if(n.target.qComposing!==!0)return;n.target.qComposing=!1,e(n)}else n.type==="compositionupdate"&&n.target.qComposing!==!0&&typeof n.data=="string"&&(ot.is.firefox===!0?M0.test(n.data)===!1:P0.test(n.data)===!0||O0.test(n.data)===!0||L0.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}function oc(e,t,n){if(n<=t)return t;const o=n-t+1;let i=t+(e-t)%o;return i<t&&(i=o+i),i===0?0:i}const ic=e=>["add","add-unique","toggle"].includes(e),D0=".*+?^${}()|[]\\",F0=Object.keys(zr);function Rl(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return o=>o!==null&&typeof o=="object"&&n in o?o[n]:o}const B0=Pe({name:"QSelect",inheritAttrs:!1,props:{...ss,...Ur,...zr,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:ic},mapOptions:Boolean,emitValue:Boolean,disableTabSelection:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:ss.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...zs,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:o}=Ae(),{$q:i}=o,r=ue(!1),l=ue(!1),s=ue(-1),a=ue(""),c=ue(!1),u=ue(!1);let f=null,d=null,h,g,p,v=null,q,S,E,T;const M=ue(null),I=ue(null),W=ue(null),Z=ue(null),A=ue(null),F=oh(e),U=ih(H),C=y(()=>Array.isArray(e.options)?e.options.length:0),J=y(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:N,virtualScrollSliceSizeComputed:ie,localResetVirtualScroll:ee,padVirtualScroll:re,onVirtualScrollEvt:Q,scrollTo:se,setVirtualScrollSize:me}=Hd({virtualScrollLength:C,getVirtualScrollTarget:Kr,getVirtualScrollEl:_i,virtualScrollItemSizeComputed:J}),P=Us(),m=y(()=>{const k=e.mapOptions===!0&&e.multiple!==!0,fe=e.modelValue!==void 0&&(e.modelValue!==null||k===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const de=e.mapOptions===!0&&h!==void 0?h:[],Re=fe.map(Ve=>ln(Ve,de));return e.modelValue===null&&k===!0?Re.filter(Ve=>Ve!==null):Re}return fe}),$=y(()=>{const k={};return F0.forEach(fe=>{const de=e[fe];de!==void 0&&(k[fe]=de)}),k}),D=y(()=>e.optionsDark===null?P.isDark.value:e.optionsDark),ne=y(()=>vi(m.value)),L=y(()=>{let k="q-field__input q-placeholder col";return e.hideSelected===!0||m.value.length===0?[k,e.inputClass]:(k+=" q-field__input--padding",e.inputClass===void 0?k:[k,e.inputClass])}),x=y(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),K=y(()=>C.value===0),O=y(()=>m.value.map(k=>he.value(k)).join(", ")),Y=y(()=>e.displayValue!==void 0?e.displayValue:O.value),Se=y(()=>e.optionsHtml===!0?()=>!0:k=>k!=null&&k.html===!0),w=y(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||m.value.some(Se.value))),_=y(()=>P.focused.value===!0?e.tabindex:-1),R=y(()=>{const k={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":r.value===!0?"true":"false","aria-controls":`${P.targetUid.value}_lb`};return s.value>=0&&(k["aria-activedescendant"]=`${P.targetUid.value}_${s.value}`),k}),j=y(()=>({id:`${P.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),z=y(()=>m.value.map((k,fe)=>({index:fe,opt:k,html:Se.value(k),selected:!0,removeAtIndex:Le,toggleOption:Ne,tabindex:_.value}))),B=y(()=>{if(C.value===0)return[];const{from:k,to:fe}=N.value;return e.options.slice(k,fe).map((de,Re)=>{const Ve=le.value(de)===!0,Be=sn(de)===!0,st=k+Re,Ze={clickable:!0,active:Be,activeClass:te.value,manualFocus:!0,focused:!1,disable:Ve,tabindex:-1,dense:e.optionsDense,dark:D.value,role:"option","aria-selected":Be===!0?"true":"false",id:`${P.targetUid.value}_${st}`,onClick:()=>{Ne(de)}};return Ve!==!0&&(s.value===st&&(Ze.focused=!0),i.platform.is.desktop===!0&&(Ze.onMousemove=()=>{r.value===!0&&Ke(st)})),{index:st,opt:de,html:Se.value(de),label:he.value(de),selected:Ze.active,focused:Ze.focused,toggleOption:Ne,setOptionIndex:Ke,itemProps:Ze}})}),X=y(()=>e.dropdownIcon!==void 0?e.dropdownIcon:i.iconSet.arrow.dropdown),oe=y(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),te=y(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),G=y(()=>Rl(e.optionValue,"value")),he=y(()=>Rl(e.optionLabel,"label")),le=y(()=>Rl(e.optionDisable,"disable")),ge=y(()=>m.value.map(G.value)),ve=y(()=>{const k={onInput:H,onChange:U,onKeydown:Ln,onKeyup:an,onKeypress:Do,onFocus:it,onClick(fe){g===!0&&nn(fe)}};return k.onCompositionstart=k.onCompositionupdate=k.onCompositionend=U,k});be(m,k=>{h=k,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&P.innerLoading.value!==!0&&(l.value!==!0&&r.value!==!0||ne.value!==!0)&&(p!==!0&&ao(),(l.value===!0||r.value===!0)&&ye(""))},{immediate:!0}),be(()=>e.fillInput,ao),be(r,Jr),be(C,yh);function Te(k){return e.emitValue===!0?G.value(k):k}function Oe(k){if(k!==-1&&k<m.value.length)if(e.multiple===!0){const fe=e.modelValue.slice();n("remove",{index:k,value:fe.splice(k,1)[0]}),n("update:modelValue",fe)}else n("update:modelValue",null)}function Le(k){Oe(k),P.focus()}function lt(k,fe){const de=Te(k);if(e.multiple!==!0){e.fillInput===!0&&pe(he.value(k),!0,!0),n("update:modelValue",de);return}if(m.value.length===0){n("add",{index:0,value:de}),n("update:modelValue",e.multiple===!0?[de]:de);return}if(fe===!0&&sn(k)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const Re=e.modelValue.slice();n("add",{index:Re.length,value:de}),Re.push(de),n("update:modelValue",Re)}function Ne(k,fe){if(P.editable.value!==!0||k===void 0||le.value(k)===!0)return;const de=G.value(k);if(e.multiple!==!0){fe!==!0&&(pe(e.fillInput===!0?he.value(k):"",!0,!0),Mn()),I.value!==null&&I.value.focus(),(m.value.length===0||En(G.value(m.value[0]),de)!==!0)&&n("update:modelValue",e.emitValue===!0?de:k);return}if((g!==!0||c.value===!0)&&P.focus(),it(),m.value.length===0){const Be=e.emitValue===!0?de:k;n("add",{index:0,value:Be}),n("update:modelValue",e.multiple===!0?[Be]:Be);return}const Re=e.modelValue.slice(),Ve=ge.value.findIndex(Be=>En(Be,de));if(Ve!==-1)n("remove",{index:Ve,value:Re.splice(Ve,1)[0]});else{if(e.maxValues!==void 0&&Re.length>=e.maxValues)return;const Be=e.emitValue===!0?de:k;n("add",{index:Re.length,value:Be}),Re.push(Be)}n("update:modelValue",Re)}function Ke(k){if(i.platform.is.desktop!==!0)return;const fe=k!==-1&&k<C.value?k:-1;s.value!==fe&&(s.value=fe)}function Xe(k=1,fe){if(r.value===!0){let de=s.value;do de=oc(de+k,-1,C.value-1);while(de!==-1&&de!==s.value&&le.value(e.options[de])===!0);s.value!==de&&(Ke(de),se(de),fe!==!0&&e.useInput===!0&&e.fillInput===!0&&ce(de>=0?he.value(e.options[de]):q,!0))}}function ln(k,fe){const de=Re=>En(G.value(Re),k);return e.options.find(de)||fe.find(de)||k}function sn(k){const fe=G.value(k);return ge.value.find(de=>En(de,fe))!==void 0}function it(k){e.useInput===!0&&I.value!==null&&(k===void 0||I.value===k.target&&k.target.value===O.value)&&I.value.select()}function wt(k){mn(k,27)===!0&&r.value===!0&&(nn(k),Mn(),ao()),n("keyup",k)}function an(k){const{value:fe}=k.target;if(k.keyCode!==void 0){wt(k);return}if(k.target.value="",f!==null&&(clearTimeout(f),f=null),d!==null&&(clearTimeout(d),d=null),ao(),typeof fe=="string"&&fe.length!==0){const de=fe.toLocaleLowerCase(),Re=Be=>{const st=e.options.find(Ze=>String(Be.value(Ze)).toLocaleLowerCase()===de);return st===void 0?!1:(m.value.indexOf(st)===-1?Ne(st):Mn(),!0)},Ve=Be=>{Re(G)!==!0&&Be!==!0&&Re(he)!==!0&&ye(fe,!0,()=>Ve(!0))};Ve()}else P.clearValue(k)}function Do(k){n("keypress",k)}function Ln(k){if(n("keydown",k),Lr(k)===!0)return;const fe=a.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),de=k.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(s.value!==-1||fe===!0);if(k.keyCode===27){Ut(k);return}if(k.keyCode===9&&de===!1){lo();return}if(k.target===void 0||k.target.id!==P.targetUid.value||P.editable.value!==!0)return;if(k.keyCode===40&&P.innerLoading.value!==!0&&r.value===!1){Qe(k),so();return}if(k.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&a.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?Oe(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&n("update:modelValue",null);return}(k.keyCode===35||k.keyCode===36)&&(typeof a.value!="string"||a.value.length===0)&&(Qe(k),s.value=-1,Xe(k.keyCode===36?1:-1,e.multiple)),(k.keyCode===33||k.keyCode===34)&&ie.value!==void 0&&(Qe(k),s.value=Math.max(-1,Math.min(C.value,s.value+(k.keyCode===33?-1:1)*ie.value.view)),Xe(k.keyCode===33?1:-1,e.multiple)),(k.keyCode===38||k.keyCode===40)&&(Qe(k),Xe(k.keyCode===38?-1:1,e.multiple));const Re=C.value;if((E===void 0||T<Date.now())&&(E=""),Re>0&&e.useInput!==!0&&k.key!==void 0&&k.key.length===1&&k.altKey===!1&&k.ctrlKey===!1&&k.metaKey===!1&&(k.keyCode!==32||E.length!==0)){r.value!==!0&&so(k);const Ve=k.key.toLocaleLowerCase(),Be=E.length===1&&E[0]===Ve;T=Date.now()+1500,Be===!1&&(Qe(k),E+=Ve);const st=new RegExp("^"+E.split("").map(Xr=>D0.indexOf(Xr)!==-1?"\\"+Xr:Xr).join(".*"),"i");let Ze=s.value;if(Be===!0||Ze<0||st.test(he.value(e.options[Ze]))!==!0)do Ze=oc(Ze+1,-1,Re-1);while(Ze!==s.value&&(le.value(e.options[Ze])===!0||st.test(he.value(e.options[Ze]))!==!0));s.value!==Ze&&ze(()=>{Ke(Ze),se(Ze),Ze>=0&&e.useInput===!0&&e.fillInput===!0&&ce(he.value(e.options[Ze]),!0)});return}if(!(k.keyCode!==13&&(k.keyCode!==32||e.useInput===!0||E!=="")&&(k.keyCode!==9||de===!1))){if(k.keyCode!==9&&Qe(k),s.value!==-1&&s.value<Re){Ne(e.options[s.value]);return}if(fe===!0){const Ve=(Be,st)=>{if(st){if(ic(st)!==!0)return}else st=e.newValueMode;if(pe("",e.multiple!==!0,!0),Be==null)return;(st==="toggle"?Ne:lt)(Be,st==="add-unique"),e.multiple!==!0&&(I.value!==null&&I.value.focus(),Mn())};if(e.onNewValue!==void 0?n("newValue",a.value,Ve):Ve(a.value),e.multiple!==!0)return}r.value===!0?lo():P.innerLoading.value!==!0&&so()}}function _i(){return g===!0?A.value:W.value!==null&&W.value.contentEl!==null?W.value.contentEl:void 0}function Kr(){return _i()}function Wr(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?z.value.map(k=>t["selected-item"](k)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?z.value.map((k,fe)=>b(s0,{key:"option-"+fe,removable:P.editable.value===!0&&le.value(k.opt)!==!0,dense:!0,textColor:e.color,tabindex:_.value,onRemove(){k.removeAtIndex(fe)}},()=>b("span",{class:"ellipsis",[k.html===!0?"innerHTML":"textContent"]:he.value(k.opt)}))):[b("span",{[w.value===!0?"innerHTML":"textContent"]:Y.value})]}function Si(){if(K.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:a.value}):void 0;const k=t.option!==void 0?t.option:de=>b(a0,{key:de.index,...de.itemProps},()=>b(u0,()=>b(c0,()=>b("span",{[de.html===!0?"innerHTML":"textContent"]:de.label}))));let fe=re("div",B.value.map(k));return t["before-options"]!==void 0&&(fe=t["before-options"]().concat(fe)),Kt(t["after-options"],fe)}function Qr(k,fe){const de=fe===!0?{...R.value,...P.splitAttrs.attributes.value}:void 0,Re={ref:fe===!0?I:void 0,key:"i_t",class:L.value,style:e.inputStyle,value:a.value!==void 0?a.value:"",type:"search",...de,id:fe===!0?P.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":k===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...ve.value};return k!==!0&&g===!0&&(Array.isArray(Re.class)===!0?Re.class=[...Re.class,"no-pointer-events"]:Re.class+=" no-pointer-events"),b("input",Re)}function H(k){f!==null&&(clearTimeout(f),f=null),d!==null&&(clearTimeout(d),d=null),!(k&&k.target&&k.target.qComposing===!0)&&(ce(k.target.value||""),p=!0,q=a.value,P.focused.value!==!0&&(g!==!0||c.value===!0)&&P.focus(),e.onFilter!==void 0&&(f=setTimeout(()=>{f=null,ye(a.value)},e.inputDebounce)))}function ce(k,fe){a.value!==k&&(a.value=k,fe===!0||e.inputDebounce===0||e.inputDebounce==="0"?n("inputValue",k):d=setTimeout(()=>{d=null,n("inputValue",k)},e.inputDebounce))}function pe(k,fe,de){p=de!==!0,e.useInput===!0&&(ce(k,!0),(fe===!0||de!==!0)&&(q=k),fe!==!0&&ye(k))}function ye(k,fe,de){if(e.onFilter===void 0||fe!==!0&&P.focused.value!==!0)return;P.innerLoading.value===!0?n("filterAbort"):(P.innerLoading.value=!0,u.value=!0),k!==""&&e.multiple!==!0&&m.value.length!==0&&p!==!0&&k===he.value(m.value[0])&&(k="");const Re=setTimeout(()=>{r.value===!0&&(r.value=!1)},10);v!==null&&clearTimeout(v),v=Re,n("filter",k,(Ve,Be)=>{(fe===!0||P.focused.value===!0)&&v===Re&&(clearTimeout(v),typeof Ve=="function"&&Ve(),u.value=!1,ze(()=>{P.innerLoading.value=!1,P.editable.value===!0&&(fe===!0?r.value===!0&&Mn():r.value===!0?Jr(!0):r.value=!0),typeof Be=="function"&&ze(()=>{Be(o)}),typeof de=="function"&&ze(()=>{de(o)})}))},()=>{P.focused.value===!0&&v===Re&&(clearTimeout(v),P.innerLoading.value=!1,u.value=!1),r.value===!0&&(r.value=!1)})}function qe(){return b(C0,{ref:W,class:x.value,style:e.popupContentStyle,modelValue:r.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&K.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:D.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:oe.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...j.value,onScrollPassive:Q,onBeforeShow:ia,onBeforeHide:Ge,onShow:We},Si)}function Ge(k){ra(k),lo()}function We(){me()}function jt(k){nn(k),I.value!==null&&I.value.focus(),c.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function dt(k){nn(k),ze(()=>{c.value=!1})}function io(){const k=[b(r0,{class:`col-auto ${P.fieldClass.value}`,...$.value,for:P.targetUid.value,dark:D.value,square:!0,loading:u.value,itemAligned:!1,filled:!0,stackLabel:a.value.length!==0,...P.splitAttrs.listeners.value,onFocus:jt,onBlur:dt},{...t,rawControl:()=>P.getControl(!0),before:void 0,after:void 0})];return r.value===!0&&k.push(b("div",{ref:A,class:x.value+" scroll",style:e.popupContentStyle,...j.value,onClick:Ut,onScrollPassive:Q},Si())),b(hr,{ref:Z,modelValue:l.value,position:e.useInput===!0?"top":void 0,transitionShow:S,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:ia,onBeforeHide:ro,onHide:Gr,onShow:bh},()=>b("div",{class:"q-select__dialog"+(D.value===!0?" q-select__dialog--dark q-dark":"")+(c.value===!0?" q-select__dialog--focused":"")},k))}function ro(k){ra(k),Z.value!==null&&Z.value.__updateRefocusTarget(P.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),P.focused.value=!1}function Gr(k){Mn(),P.focused.value===!1&&n("blur",k),ao()}function bh(){const k=document.activeElement;(k===null||k.id!==P.targetUid.value)&&I.value!==null&&I.value!==k&&I.value.focus(),me()}function lo(){l.value!==!0&&(s.value=-1,r.value===!0&&(r.value=!1),P.focused.value===!1&&(v!==null&&(clearTimeout(v),v=null),P.innerLoading.value===!0&&(n("filterAbort"),P.innerLoading.value=!1,u.value=!1)))}function so(k){P.editable.value===!0&&(g===!0?(P.onControlFocusin(k),l.value=!0,ze(()=>{P.focus()})):P.focus(),e.onFilter!==void 0?ye(a.value):(K.value!==!0||t["no-option"]!==void 0)&&(r.value=!0))}function Mn(){l.value=!1,lo()}function ao(){e.useInput===!0&&pe(e.multiple!==!0&&e.fillInput===!0&&m.value.length!==0&&he.value(m.value[0])||"",!0,!0)}function Jr(k){let fe=-1;if(k===!0){if(m.value.length!==0){const de=G.value(m.value[0]);fe=e.options.findIndex(Re=>En(G.value(Re),de))}ee(fe)}Ke(fe)}function yh(k,fe){r.value===!0&&P.innerLoading.value===!1&&(ee(-1,!0),ze(()=>{r.value===!0&&P.innerLoading.value===!1&&(k>fe?ee():Jr(!0))}))}function oa(){l.value===!1&&W.value!==null&&W.value.updatePosition()}function ia(k){k!==void 0&&nn(k),n("popupShow",k),P.hasPopupOpen=!0,P.onControlFocusin(k)}function ra(k){k!==void 0&&nn(k),n("popupHide",k),P.hasPopupOpen=!1,P.onControlFocusout(k)}function la(){g=i.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||K.value===!1:!0),S=i.platform.is.ios===!0&&g===!0&&e.useInput===!0?"fade":e.transitionShow}return qr(la),qs(oa),la(),tt(()=>{f!==null&&clearTimeout(f),d!==null&&clearTimeout(d)}),Object.assign(o,{showPopup:so,hidePopup:Mn,removeAtIndex:Oe,add:lt,toggleOption:Ne,getOptionIndex:()=>s.value,setOptionIndex:Ke,moveOptionSelection:Xe,filter:ye,updateMenuPosition:oa,updateInputValue:pe,isOptionSelected:sn,getEmittingOptionValue:Te,isOptionDisabled:(...k)=>le.value.apply(null,k)===!0,getOptionValue:(...k)=>G.value.apply(null,k),getOptionLabel:(...k)=>he.value.apply(null,k)}),Object.assign(P,{innerValue:m,fieldClass:y(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:M,targetRef:I,hasValue:ne,showPopup:so,floatingLabel:y(()=>e.hideSelected!==!0&&ne.value===!0||typeof a.value=="number"||a.value.length!==0||vi(e.displayValue)),getControlChild:()=>{if(P.editable.value!==!1&&(l.value===!0||K.value!==!0||t["no-option"]!==void 0))return g===!0?io():qe();P.hasPopupOpen===!0&&(P.hasPopupOpen=!1)},controlEvents:{onFocusin(k){P.onControlFocusin(k)},onFocusout(k){P.onControlFocusout(k,()=>{ao(),lo()})},onClick(k){if(Ut(k),g!==!0&&r.value===!0){lo(),I.value!==null&&I.value.focus();return}so(k)}},getControl:k=>{const fe=Wr(),de=k===!0||l.value!==!0||g!==!0;if(e.useInput===!0)fe.push(Qr(k,de));else if(P.editable.value===!0){const Ve=de===!0?R.value:void 0;fe.push(b("input",{ref:de===!0?I:void 0,key:"d_t",class:"q-select__focus-target",id:de===!0?P.targetUid.value:void 0,value:Y.value,readonly:!0,"data-autofocus":k===!0||e.autofocus===!0||void 0,...Ve,onKeydown:Ln,onKeyup:wt,onKeypress:Do})),de===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&fe.push(b("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:an}))}if(F.value!==void 0&&e.disable!==!0&&ge.value.length!==0){const Ve=ge.value.map(Be=>b("option",{value:Be,selected:!0}));fe.push(b("select",{class:"hidden",name:F.value,multiple:e.multiple},Ve))}const Re=e.useInput===!0||de!==!0?void 0:P.splitAttrs.attributes.value;return b("div",{class:"q-field__native row items-center",...Re,...P.splitAttrs.listeners.value},fe)},getInnerAppend:()=>e.loading!==!0&&u.value!==!0&&e.hideDropdownIcon!==!0?[b(He,{class:"q-select__dropdown-icon"+(r.value===!0?" rotate-180":""),name:X.value})]:null}),Ks(P)}}),$0={xs:2,sm:4,md:6,lg:10,xl:14};function rc(e,t,n){return{transform:t===!0?`translateX(${n.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const N0=Pe({name:"QLinearProgress",props:{...kt,...no,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:n}=Ae(),o=Et(e,n.$q),i=oo(e,$0),r=y(()=>e.indeterminate===!0||e.query===!0),l=y(()=>e.reverse!==e.query),s=y(()=>({...i.value!==null?i.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`})),a=y(()=>"q-linear-progress"+(e.color!==void 0?` text-${e.color}`:"")+(e.reverse===!0||e.query===!0?" q-linear-progress--reverse":"")+(e.rounded===!0?" rounded-borders":"")),c=y(()=>rc(e.buffer!==void 0?e.buffer:1,l.value,n.$q)),u=y(()=>`with${e.instantFeedback===!0?"out":""}-transition`),f=y(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${u.value} q-linear-progress__track--${o.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),d=y(()=>rc(r.value===!0?1:e.value,l.value,n.$q)),h=y(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${u.value} q-linear-progress__model--${r.value===!0?"in":""}determinate`),g=y(()=>({width:`${e.value*100}%`})),p=y(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${u.value}`);return()=>{const v=[b("div",{class:f.value,style:c.value}),b("div",{class:h.value,style:d.value})];return e.stripe===!0&&r.value===!1&&v.push(b("div",{class:p.value,style:g.value})),b("div",{class:a.value,style:s.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":e.indeterminate===!0?void 0:e.value},Kt(t.default,v))}}});function rh(e,t){const n=ue(null),o=y(()=>e.disable===!0?null:b("span",{ref:n,class:"no-outline",tabindex:-1}));function i(r){const l=t.value;r!==void 0&&r.type.indexOf("key")===0?l!==null&&document.activeElement!==l&&l.contains(document.activeElement)===!0&&l.focus():n.value!==null&&(r===void 0||l!==null&&l.contains(r.target)===!0)&&n.value.focus()}return{refocusTargetEl:o,refocusTarget:i}}const lh={xs:30,sm:35,md:40,lg:50,xl:60},sh={...kt,...no,...Ur,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>e==="tf"||e==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},ah=["update:modelValue"];function uh(e,t){const{props:n,slots:o,emit:i,proxy:r}=Ae(),{$q:l}=r,s=Et(n,l),a=ue(null),{refocusTargetEl:c,refocusTarget:u}=rh(n,a),f=oo(n,lh),d=y(()=>n.val!==void 0&&Array.isArray(n.modelValue)),h=y(()=>{const C=ke(n.val);return d.value===!0?n.modelValue.findIndex(J=>ke(J)===C):-1}),g=y(()=>d.value===!0?h.value!==-1:ke(n.modelValue)===ke(n.trueValue)),p=y(()=>d.value===!0?h.value===-1:ke(n.modelValue)===ke(n.falseValue)),v=y(()=>g.value===!1&&p.value===!1),q=y(()=>n.disable===!0?-1:n.tabindex||0),S=y(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(n.disable===!0?" disabled":"")+(s.value===!0?` q-${e}--dark`:"")+(n.dense===!0?` q-${e}--dense`:"")+(n.leftLabel===!0?" reverse":"")),E=y(()=>{const C=g.value===!0?"truthy":p.value===!0?"falsy":"indet",J=n.color!==void 0&&(n.keepColor===!0||(e==="toggle"?g.value===!0:p.value!==!0))?` text-${n.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${C}${J}`}),T=y(()=>{const C={type:"checkbox"};return n.name!==void 0&&Object.assign(C,{".checked":g.value,"^checked":g.value===!0?"checked":void 0,name:n.name,value:d.value===!0?n.val:n.trueValue}),C}),M=nh(T),I=y(()=>{const C={tabindex:q.value,role:e==="toggle"?"switch":"checkbox","aria-label":n.label,"aria-checked":v.value===!0?"mixed":g.value===!0?"true":"false"};return n.disable===!0&&(C["aria-disabled"]="true"),C});function W(C){C!==void 0&&(Qe(C),u(C)),n.disable!==!0&&i("update:modelValue",Z(),C)}function Z(){if(d.value===!0){if(g.value===!0){const C=n.modelValue.slice();return C.splice(h.value,1),C}return n.modelValue.concat([n.val])}if(g.value===!0){if(n.toggleOrder!=="ft"||n.toggleIndeterminate===!1)return n.falseValue}else if(p.value===!0){if(n.toggleOrder==="ft"||n.toggleIndeterminate===!1)return n.trueValue}else return n.toggleOrder!=="ft"?n.trueValue:n.falseValue;return n.indeterminateValue}function A(C){(C.keyCode===13||C.keyCode===32)&&Qe(C)}function F(C){(C.keyCode===13||C.keyCode===32)&&W(C)}const U=t(g,v);return Object.assign(r,{toggle:W}),()=>{const C=U();n.disable!==!0&&M(C,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const J=[b("div",{class:E.value,style:f.value,"aria-hidden":"true"},C)];c.value!==null&&J.push(c.value);const N=n.label!==void 0?Kt(o.default,[n.label]):Je(o.default);return N!==void 0&&J.push(b("div",{class:`q-${e}__label q-anchor--skip`},N)),b("div",{ref:a,class:S.value,...I.value,onClick:W,onKeydown:A,onKeyup:F},J)}}const V0=()=>b("div",{key:"svg",class:"q-checkbox__bg absolute"},[b("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[b("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),b("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),oi=Pe({name:"QCheckbox",props:sh,emits:ah,setup(e){const t=V0();function n(o,i){const r=y(()=>(o.value===!0?e.checkedIcon:i.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>r.value!==null?[b("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[b(He,{class:"q-checkbox__icon",name:r.value})])]:[t]}return uh("checkbox",n)}});let Ho=0;const I0={fullscreen:Boolean,noRouteFullscreenExit:Boolean},j0=["update:fullscreen","fullscreen"];function H0(){const e=Ae(),{props:t,emit:n,proxy:o}=e;let i,r,l;const s=ue(!1);Bs(e)===!0&&be(()=>o.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&u()}),be(()=>t.fullscreen,f=>{s.value!==f&&a()}),be(s,f=>{n("update:fullscreen",f),n("fullscreen",f)});function a(){s.value===!0?u():c()}function c(){s.value!==!0&&(s.value=!0,l=o.$el.parentNode,l.replaceChild(r,o.$el),document.body.appendChild(o.$el),Ho++,Ho===1&&document.body.classList.add("q-body--fullscreen-mixin"),i={handler:u},fi.add(i))}function u(){s.value===!0&&(i!==void 0&&(fi.remove(i),i=void 0),l.replaceChild(o.$el,r),s.value=!1,Ho=Math.max(0,Ho-1),Ho===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),o.$el.scrollIntoView!==void 0&&setTimeout(()=>{o.$el.scrollIntoView()})))}return Tr(()=>{r=document.createElement("span")}),rn(()=>{t.fullscreen===!0&&c()}),tt(u),Object.assign(o,{toggleFullscreen:a,setFullscreen:c,exitFullscreen:u}),{inFullscreen:s,toggleFullscreen:a}}function z0(e,t){return new Date(e)-new Date(t)}const U0={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>e==="ad"||e==="da",default:"ad"}};function K0(e,t,n,o){const i=y(()=>{const{sortBy:s}=t.value;return s&&n.value.find(a=>a.name===s)||null}),r=y(()=>e.sortMethod!==void 0?e.sortMethod:(s,a,c)=>{const u=n.value.find(h=>h.name===a);if(u===void 0||u.field===void 0)return s;const f=c===!0?-1:1,d=typeof u.field=="function"?h=>u.field(h):h=>h[u.field];return s.sort((h,g)=>{let p=d(h),v=d(g);return u.rawSort!==void 0?u.rawSort(p,v,h,g)*f:p==null?-1*f:v==null?1*f:u.sort!==void 0?u.sort(p,v,h,g)*f:Ql(p)===!0&&Ql(v)===!0?(p-v)*f:Ja(p)===!0&&Ja(v)===!0?z0(p,v)*f:typeof p=="boolean"&&typeof v=="boolean"?(p-v)*f:([p,v]=[p,v].map(q=>(q+"").toLocaleString().toLowerCase()),p<v?-1*f:p===v?0:f)})});function l(s){let a=e.columnSortOrder;if($t(s)===!0)s.sortOrder&&(a=s.sortOrder),s=s.name;else{const f=n.value.find(d=>d.name===s);f!==void 0&&f.sortOrder&&(a=f.sortOrder)}let{sortBy:c,descending:u}=t.value;c!==s?(c=s,u=a==="da"):e.binaryStateSort===!0?u=!u:u===!0?a==="ad"?c=null:u=!1:a==="ad"?u=!0:c=null,o({sortBy:c,descending:u,page:1})}return{columnToSort:i,computedSortMethod:r,sort:l}}const W0={filter:[String,Object],filterMethod:Function};function Q0(e,t){const n=y(()=>e.filterMethod!==void 0?e.filterMethod:(o,i,r,l)=>{const s=i?i.toLowerCase():"";return o.filter(a=>r.some(c=>{const u=l(c,a)+"";return(u==="undefined"||u==="null"?"":u.toLowerCase()).indexOf(s)!==-1}))});return be(()=>e.filter,()=>{ze(()=>{t({page:1},!0)})},{deep:!0}),{computedFilterMethod:n}}function G0(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function lc(e){return e.page<1&&(e.page=1),e.rowsPerPage!==void 0&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const J0={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function X0(e,t){const{props:n,emit:o}=e,i=ue(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:n.rowsPerPageOptions.length!==0?n.rowsPerPageOptions[0]:5},n.pagination)),r=y(()=>{const u=n["onUpdate:pagination"]!==void 0?{...i.value,...n.pagination}:i.value;return lc(u)}),l=y(()=>r.value.rowsNumber!==void 0);function s(u){a({pagination:u,filter:n.filter})}function a(u={}){ze(()=>{o("request",{pagination:u.pagination||r.value,filter:u.filter||n.filter,getCellValue:t})})}function c(u,f){const d=lc({...r.value,...u});if(G0(r.value,d)===!0){l.value===!0&&f===!0&&s(d);return}if(l.value===!0){s(d);return}n.pagination!==void 0&&n["onUpdate:pagination"]!==void 0?o("update:pagination",d):i.value=d}return{innerPagination:i,computedPagination:r,isServerSide:l,requestServerInteraction:a,setPagination:c}}function Y0(e,t,n,o,i,r){const{props:l,emit:s,proxy:{$q:a}}=e,c=y(()=>o.value===!0?n.value.rowsNumber||0:r.value),u=y(()=>{const{page:T,rowsPerPage:M}=n.value;return(T-1)*M}),f=y(()=>{const{page:T,rowsPerPage:M}=n.value;return T*M}),d=y(()=>n.value.page===1),h=y(()=>n.value.rowsPerPage===0?1:Math.max(1,Math.ceil(c.value/n.value.rowsPerPage))),g=y(()=>f.value===0?!0:n.value.page>=h.value),p=y(()=>(l.rowsPerPageOptions.includes(t.value.rowsPerPage)?l.rowsPerPageOptions:[t.value.rowsPerPage].concat(l.rowsPerPageOptions)).map(M=>({label:M===0?a.lang.table.allRows:""+M,value:M})));be(h,(T,M)=>{if(T===M)return;const I=n.value.page;T&&!I?i({page:1}):T<I&&i({page:T})});function v(){i({page:1})}function q(){const{page:T}=n.value;T>1&&i({page:T-1})}function S(){const{page:T,rowsPerPage:M}=n.value;f.value>0&&T*M<c.value&&i({page:T+1})}function E(){i({page:h.value})}return l["onUpdate:pagination"]!==void 0&&s("update:pagination",{...n.value}),{firstRowIndex:u,lastRowIndex:f,isFirstPage:d,isLastPage:g,pagesNumber:h,computedRowsPerPageOptions:p,computedRowsNumber:c,firstPage:v,prevPage:q,nextPage:S,lastPage:E}}const Z0={selection:{type:String,default:"none",validator:e=>["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},ew=["update:selected","selection"];function tw(e,t,n,o){const i=y(()=>{const g={};return e.selected.map(o.value).forEach(p=>{g[p]=!0}),g}),r=y(()=>e.selection!=="none"),l=y(()=>e.selection==="single"),s=y(()=>e.selection==="multiple"),a=y(()=>n.value.length!==0&&n.value.every(g=>i.value[o.value(g)]===!0)),c=y(()=>a.value!==!0&&n.value.some(g=>i.value[o.value(g)]===!0)),u=y(()=>e.selected.length);function f(g){return i.value[g]===!0}function d(){t("update:selected",[])}function h(g,p,v,q){t("selection",{rows:p,added:v,keys:g,evt:q});const S=l.value===!0?v===!0?p:[]:v===!0?e.selected.concat(p):e.selected.filter(E=>g.includes(o.value(E))===!1);t("update:selected",S)}return{hasSelectionMode:r,singleSelection:l,multipleSelection:s,allRowsSelected:a,someRowsSelected:c,rowsSelectedNumber:u,isRowSelected:f,clearSelection:d,updateSelection:h}}function sc(e){return Array.isArray(e)?e.slice():[]}const nw={expanded:Array},ow=["update:expanded"];function iw(e,t){const n=ue(sc(e.expanded));be(()=>e.expanded,l=>{n.value=sc(l)});function o(l){return n.value.includes(l)}function i(l){e.expanded!==void 0?t("update:expanded",l):n.value=l}function r(l,s){const a=n.value.slice(),c=a.indexOf(l);s===!0?c===-1&&(a.push(l),i(a)):c!==-1&&(a.splice(c,1),i(a))}return{isRowExpanded:o,setExpanded:i,updateExpanded:r}}const rw={visibleColumns:Array};function lw(e,t,n){const o=y(()=>{if(e.columns!==void 0)return e.columns;const s=e.rows[0];return s!==void 0?Object.keys(s).map(a=>({name:a,label:a.toUpperCase(),field:a,align:Ql(s[a])?"right":"left",sortable:!0})):[]}),i=y(()=>{const{sortBy:s,descending:a}=t.value;return(e.visibleColumns!==void 0?o.value.filter(u=>u.required===!0||e.visibleColumns.includes(u.name)===!0):o.value).map(u=>{const f=u.align||"right",d=`text-${f}`;return{...u,align:f,__iconClass:`q-table__sort-icon q-table__sort-icon--${f}`,__thClass:d+(u.headerClasses!==void 0?" "+u.headerClasses:"")+(u.sortable===!0?" sortable":"")+(u.name===s?` sorted ${a===!0?"sort-desc":""}`:""),__tdStyle:u.style!==void 0?typeof u.style!="function"?()=>u.style:u.style:()=>null,__tdClass:u.classes!==void 0?typeof u.classes!="function"?()=>d+" "+u.classes:h=>d+" "+u.classes(h):()=>d}})}),r=y(()=>{const s={};return i.value.forEach(a=>{s[a.name]=a}),s}),l=y(()=>e.tableColspan!==void 0?e.tableColspan:i.value.length+(n.value===!0?1:0));return{colList:o,computedCols:i,computedColsMap:r,computedColspan:l}}const Mi="q-table__bottom row items-center",ch={};jd.forEach(e=>{ch[e]={}});const fh=Pe({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...ch,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...kt,...I0,...rw,...W0,...J0,...nw,...Z0,...U0},emits:["request","virtualScroll",...j0,...ow,...ew],setup(e,{slots:t,emit:n}){const o=Ae(),{proxy:{$q:i}}=o,r=Et(e,i),{inFullscreen:l,toggleFullscreen:s}=H0(),a=y(()=>typeof e.rowKey=="function"?e.rowKey:H=>H[e.rowKey]),c=ue(null),u=ue(null),f=y(()=>e.grid!==!0&&e.virtualScroll===!0),d=y(()=>" q-table__card"+(r.value===!0?" q-table__card--dark q-dark":"")+(e.square===!0?" q-table--square":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")),h=y(()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(e.grid===!0?" q-table--grid":d.value)+(r.value===!0?" q-table--dark":"")+(e.dense===!0?" q-table--dense":"")+(e.wrapCells===!1?" q-table--no-wrap":"")+(l.value===!0?" fullscreen scroll":"")),g=y(()=>h.value+(e.loading===!0?" q-table--loading":""));be(()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+h.value,()=>{f.value===!0&&u.value!==null&&u.value.reset()});const{innerPagination:p,computedPagination:v,isServerSide:q,requestServerInteraction:S,setPagination:E}=X0(o,Ke),{computedFilterMethod:T}=Q0(e,E),{isRowExpanded:M,setExpanded:I,updateExpanded:W}=iw(e,n),Z=y(()=>{let H=e.rows;if(q.value===!0||H.length===0)return H;const{sortBy:ce,descending:pe}=v.value;return e.filter&&(H=T.value(H,e.filter,P.value,Ke)),D.value!==null&&(H=ne.value(e.rows===H?H.slice():H,ce,pe)),H}),A=y(()=>Z.value.length),F=y(()=>{let H=Z.value;if(q.value===!0)return H;const{rowsPerPage:ce}=v.value;return ce!==0&&(x.value===0&&e.rows!==H?H.length>K.value&&(H=H.slice(0,K.value)):H=H.slice(x.value,K.value)),H}),{hasSelectionMode:U,singleSelection:C,multipleSelection:J,allRowsSelected:N,someRowsSelected:ie,rowsSelectedNumber:ee,isRowSelected:re,clearSelection:Q,updateSelection:se}=tw(e,n,F,a),{colList:me,computedCols:P,computedColsMap:m,computedColspan:$}=lw(e,v,U),{columnToSort:D,computedSortMethod:ne,sort:L}=K0(e,v,me,E),{firstRowIndex:x,lastRowIndex:K,isFirstPage:O,isLastPage:Y,pagesNumber:Se,computedRowsPerPageOptions:w,computedRowsNumber:_,firstPage:R,prevPage:j,nextPage:z,lastPage:B}=Y0(o,p,v,q,E,A),X=y(()=>F.value.length===0),oe=y(()=>{const H={};return jd.forEach(ce=>{H[ce]=e[ce]}),H.virtualScrollItemSize===void 0&&(H.virtualScrollItemSize=e.dense===!0?28:48),H});function te(){f.value===!0&&u.value.reset()}function G(){if(e.grid===!0)return Qr();const H=e.hideHeader!==!0?it:null;if(f.value===!0){const pe=t["top-row"],ye=t["bottom-row"],qe={default:Ge=>ve(Ge.item,t.body,Ge.index)};if(pe!==void 0){const Ge=b("tbody",pe({cols:P.value}));qe.before=H===null?()=>Ge:()=>[H()].concat(Ge)}else H!==null&&(qe.before=H);return ye!==void 0&&(qe.after=()=>b("tbody",ye({cols:P.value}))),b(Wy,{ref:u,class:e.tableClass,style:e.tableStyle,...oe.value,scrollTarget:e.virtualScrollTarget,items:F.value,type:"__qtable",tableColspan:$.value,onVirtualScroll:le},qe)}const ce=[Te()];return H!==null&&ce.unshift(H()),Nd({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},ce)}function he(H,ce){if(u.value!==null){u.value.scrollTo(H,ce);return}H=parseInt(H,10);const pe=c.value.querySelector(`tbody tr:nth-of-type(${H+1})`);if(pe!==null){const ye=c.value.querySelector(".q-table__middle.scroll"),qe=pe.offsetTop-e.virtualScrollStickySizeStart,Ge=qe<ye.scrollTop?"decrease":"increase";ye.scrollTop=qe,n("virtualScroll",{index:H,from:0,to:p.value.rowsPerPage-1,direction:Ge})}}function le(H){n("virtualScroll",H)}function ge(){return[b(N0,{class:"q-table__linear-progress",color:e.color,dark:r.value,indeterminate:!0,trackColor:"transparent"})]}function ve(H,ce,pe){const ye=a.value(H),qe=re(ye);if(ce!==void 0)return ce(Oe({key:ye,row:H,pageIndex:pe,__trClass:qe?"selected":""}));const Ge=t["body-cell"],We=P.value.map(dt=>{const io=t[`body-cell-${dt.name}`],ro=io!==void 0?io:Ge;return ro!==void 0?ro(Le({key:ye,row:H,pageIndex:pe,col:dt})):b("td",{class:dt.__tdClass(H),style:dt.__tdStyle(H)},Ke(dt,H))});if(U.value===!0){const dt=t["body-selection"],io=dt!==void 0?dt(lt({key:ye,row:H,pageIndex:pe})):[b(oi,{modelValue:qe,color:e.color,dark:r.value,dense:e.dense,"onUpdate:modelValue":(ro,Gr)=>{se([ye],[H],ro,Gr)}})];We.unshift(b("td",{class:"q-table--col-auto-width"},io))}const jt={key:ye,class:{selected:qe}};return e.onRowClick!==void 0&&(jt.class["cursor-pointer"]=!0,jt.onClick=dt=>{n("rowClick",dt,H,pe)}),e.onRowDblclick!==void 0&&(jt.class["cursor-pointer"]=!0,jt.onDblclick=dt=>{n("rowDblclick",dt,H,pe)}),e.onRowContextmenu!==void 0&&(jt.class["cursor-pointer"]=!0,jt.onContextmenu=dt=>{n("rowContextmenu",dt,H,pe)}),b("tr",jt,We)}function Te(){const H=t.body,ce=t["top-row"],pe=t["bottom-row"];let ye=F.value.map((qe,Ge)=>ve(qe,H,Ge));return ce!==void 0&&(ye=ce({cols:P.value}).concat(ye)),pe!==void 0&&(ye=ye.concat(pe({cols:P.value}))),b("tbody",ye)}function Oe(H){return Ne(H),H.cols=H.cols.map(ce=>qt({...ce},"value",()=>Ke(ce,H.row))),H}function Le(H){return Ne(H),qt(H,"value",()=>Ke(H.col,H.row)),H}function lt(H){return Ne(H),H}function Ne(H){Object.assign(H,{cols:P.value,colsMap:m.value,sort:L,rowIndex:x.value+H.pageIndex,color:e.color,dark:r.value,dense:e.dense}),U.value===!0&&qt(H,"selected",()=>re(H.key),(ce,pe)=>{se([H.key],[H.row],ce,pe)}),qt(H,"expand",()=>M(H.key),ce=>{W(H.key,ce)})}function Ke(H,ce){const pe=typeof H.field=="function"?H.field(ce):ce[H.field];return H.format!==void 0?H.format(pe,ce):pe}const Xe=y(()=>({pagination:v.value,pagesNumber:Se.value,isFirstPage:O.value,isLastPage:Y.value,firstPage:R,prevPage:j,nextPage:z,lastPage:B,inFullscreen:l.value,toggleFullscreen:s}));function ln(){const H=t.top,ce=t["top-left"],pe=t["top-right"],ye=t["top-selection"],qe=U.value===!0&&ye!==void 0&&ee.value>0,Ge="q-table__top relative-position row items-center";if(H!==void 0)return b("div",{class:Ge},[H(Xe.value)]);let We;if(qe===!0?We=ye(Xe.value).slice():(We=[],ce!==void 0?We.push(b("div",{class:"q-table__control"},[ce(Xe.value)])):e.title&&We.push(b("div",{class:"q-table__control"},[b("div",{class:["q-table__title",e.titleClass]},e.title)]))),pe!==void 0&&(We.push(b("div",{class:"q-table__separator col"})),We.push(b("div",{class:"q-table__control"},[pe(Xe.value)]))),We.length!==0)return b("div",{class:Ge},We)}const sn=y(()=>ie.value===!0?null:N.value);function it(){const H=wt();return e.loading===!0&&t.loading===void 0&&H.push(b("tr",{class:"q-table__progress"},[b("th",{class:"relative-position",colspan:$.value},ge())])),b("thead",H)}function wt(){const H=t.header,ce=t["header-cell"];if(H!==void 0)return H(an({header:!0})).slice();const pe=P.value.map(ye=>{const qe=t[`header-cell-${ye.name}`],Ge=qe!==void 0?qe:ce,We=an({col:ye});return Ge!==void 0?Ge(We):b(Ly,{key:ye.name,props:We},()=>ye.label)});if(C.value===!0&&e.grid!==!0)pe.unshift(b("th",{class:"q-table--col-auto-width"}," "));else if(J.value===!0){const ye=t["header-selection"],qe=ye!==void 0?ye(an({})):[b(oi,{color:e.color,modelValue:sn.value,dark:r.value,dense:e.dense,"onUpdate:modelValue":Do})];pe.unshift(b("th",{class:"q-table--col-auto-width"},qe))}return[b("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},pe)]}function an(H){return Object.assign(H,{cols:P.value,sort:L,colsMap:m.value,color:e.color,dark:r.value,dense:e.dense}),J.value===!0&&qt(H,"selected",()=>sn.value,Do),H}function Do(H){ie.value===!0&&(H=!1),se(F.value.map(a.value),F.value,H)}const Ln=y(()=>{const H=[e.iconFirstPage||i.iconSet.table.firstPage,e.iconPrevPage||i.iconSet.table.prevPage,e.iconNextPage||i.iconSet.table.nextPage,e.iconLastPage||i.iconSet.table.lastPage];return i.lang.rtl===!0?H.reverse():H});function _i(){if(e.hideBottom===!0)return;if(X.value===!0){if(e.hideNoData===!0)return;const pe=e.loading===!0?e.loadingLabel||i.lang.table.loading:e.filter?e.noResultsLabel||i.lang.table.noResults:e.noDataLabel||i.lang.table.noData,ye=t["no-data"],qe=ye!==void 0?[ye({message:pe,icon:i.iconSet.table.warning,filter:e.filter})]:[b(He,{class:"q-table__bottom-nodata-icon",name:i.iconSet.table.warning}),pe];return b("div",{class:Mi+" q-table__bottom--nodata"},qe)}const H=t.bottom;if(H!==void 0)return b("div",{class:Mi},[H(Xe.value)]);const ce=e.hideSelectedBanner!==!0&&U.value===!0&&ee.value>0?[b("div",{class:"q-table__control"},[b("div",[(e.selectedRowsLabel||i.lang.table.selectedRecords)(ee.value)])])]:[];if(e.hidePagination!==!0)return b("div",{class:Mi+" justify-end"},Wr(ce));if(ce.length!==0)return b("div",{class:Mi},ce)}function Kr(H){E({page:1,rowsPerPage:H.value})}function Wr(H){let ce;const{rowsPerPage:pe}=v.value,ye=e.paginationLabel||i.lang.table.pagination,qe=t.pagination,Ge=e.rowsPerPageOptions.length>1;if(H.push(b("div",{class:"q-table__separator col"})),Ge===!0&&H.push(b("div",{class:"q-table__control"},[b("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||i.lang.table.recordsPerPage]),b(B0,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:pe,options:w.value,displayValue:pe===0?i.lang.table.allRows:pe,dark:r.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":Kr})])),qe!==void 0)ce=qe(Xe.value);else if(ce=[b("span",pe!==0?{class:"q-table__bottom-item"}:{},[pe?ye(x.value+1,Math.min(K.value,_.value),_.value):ye(1,A.value,_.value)])],pe!==0&&Se.value>1){const We={color:e.color,round:!0,dense:!0,flat:!0};e.dense===!0&&(We.size="sm"),Se.value>2&&ce.push(b(et,{key:"pgFirst",...We,icon:Ln.value[0],disable:O.value,onClick:R})),ce.push(b(et,{key:"pgPrev",...We,icon:Ln.value[1],disable:O.value,onClick:j}),b(et,{key:"pgNext",...We,icon:Ln.value[2],disable:Y.value,onClick:z})),Se.value>2&&ce.push(b(et,{key:"pgLast",...We,icon:Ln.value[3],disable:Y.value,onClick:B}))}return H.push(b("div",{class:"q-table__control"},ce)),H}function Si(){const H=e.gridHeader===!0?[b("table",{class:"q-table"},[it()])]:e.loading===!0&&t.loading===void 0?ge():void 0;return b("div",{class:"q-table__middle"},H)}function Qr(){const H=t.item!==void 0?t.item:ce=>{const pe=ce.cols.map(qe=>b("div",{class:"q-table__grid-item-row"},[b("div",{class:"q-table__grid-item-title"},[qe.label]),b("div",{class:"q-table__grid-item-value"},[qe.value])]));if(U.value===!0){const qe=t["body-selection"],Ge=qe!==void 0?qe(ce):[b(oi,{modelValue:ce.selected,color:e.color,dark:r.value,dense:e.dense,"onUpdate:modelValue":(We,jt)=>{se([ce.key],[ce.row],We,jt)}})];pe.unshift(b("div",{class:"q-table__grid-item-row"},Ge),b(ls,{dark:r.value}))}const ye={class:["q-table__grid-item-card"+d.value,e.cardClass],style:e.cardStyle};return(e.onRowClick!==void 0||e.onRowDblclick!==void 0)&&(ye.class[0]+=" cursor-pointer",e.onRowClick!==void 0&&(ye.onClick=qe=>{n("RowClick",qe,ce.row,ce.pageIndex)}),e.onRowDblclick!==void 0&&(ye.onDblclick=qe=>{n("RowDblclick",qe,ce.row,ce.pageIndex)})),b("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(ce.selected===!0?" q-table__grid-item--selected":"")},[b("div",ye,pe)])};return b("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},F.value.map((ce,pe)=>H(Oe({key:a.value(ce),row:ce,pageIndex:pe}))))}return Object.assign(o.proxy,{requestServerInteraction:S,setPagination:E,firstPage:R,prevPage:j,nextPage:z,lastPage:B,isRowSelected:re,clearSelection:Q,isRowExpanded:M,setExpanded:I,sort:L,resetVirtualScroll:te,scrollTo:he,getCellValue:Ke}),Qm(o.proxy,{filteredSortedRows:()=>Z.value,computedRows:()=>F.value,computedRowsNumber:()=>_.value}),()=>{const H=[ln()],ce={ref:c,class:g.value};return e.grid===!0?H.push(Si()):Object.assign(ce,{class:[ce.class,e.cardClass],style:e.cardStyle}),H.push(G(),_i()),e.loading===!0&&t.loading!==void 0&&H.push(t.loading()),b("div",ce,H)}}}),sw={data(){return{loading:!1,message:"",differences:[],columns:[{name:"table",label:"Table",align:"left",field:"table"},{name:"difference",label:"Difference",align:"left",field:"difference"},{name:"action",label:"Action",align:"center",field:"action",sortable:!1}]}},methods:{async compareDatabases(){this.loading=!0;try{const e=await Fe.post("http://localhost:3000/api/compare",{config:{host:this.$store.state.db.host,port:this.$store.state.db.port,user:this.$store.state.db.user,password:this.$store.state.db.password},database:this.$store.state.db.database,output:"outputDir"});this.differences=e.data.map(t=>({table:t.table,difference:t.difference,action:"Apply"}))}catch(e){this.message=e.response.data.message}finally{this.loading=!1}},applyDifference(e){console.log("Applying difference:",e)}}},aw={key:2};function uw(e,t,n,o,i,r){return je(),ut(Dr,null,{default:_e(()=>[ae(et,{onClick:r.compareDatabases,label:"Compare Databases",color:"primary"},null,8,["onClick"]),i.differences.length?(je(),ut(fh,{key:0,rows:i.differences,columns:i.columns},null,8,["rows","columns"])):mt("",!0),i.loading?(je(),ut(vn,{key:1})):mt("",!0),i.message?(je(),dn("div",aw,gt(i.message),1)):mt("",!0)]),_:1})}const cw=jr(sw,[["render",uw]]),fw={data(){return{loading:!1,message:""}},methods:{async applyChanges(){this.loading=!0;try{const e=await Fe.post("http://localhost:3000/api/apply",{config:{host:this.$store.state.db.host,port:this.$store.state.db.port,user:this.$store.state.db.user,password:this.$store.state.db.password},database:this.$store.state.db.database,diffs:this.getSelectedDiffs()});this.message=e.data.message}catch(e){this.message=e.response.data.message}finally{this.loading=!1}},getSelectedDiffs(){return[]}}},dw={key:1};function hw(e,t,n,o,i,r){return je(),ut(Dr,null,{default:_e(()=>[ae(et,{onClick:r.applyChanges,label:"Apply Changes",color:"primary"},null,8,["onClick"]),i.loading?(je(),ut(vn,{key:0})):mt("",!0),i.message?(je(),dn("div",dw,gt(i.message),1)):mt("",!0)]),_:1})}const gw=jr(fw,[["render",hw]]),xt=Pe({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=y(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>b(e.tag,{class:n.value},Je(t.default))}}),Vn=Pe({name:"QCard",props:{...kt,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=Ae(),o=Et(e,n),i=y(()=>"q-card"+(o.value===!0?" q-card--dark q-dark":"")+(e.bordered===!0?" q-card--bordered":"")+(e.square===!0?" q-card--square no-border-radius":"")+(e.flat===!0?" q-card--flat no-shadow":""));return()=>b(e.tag,{class:i.value},Je(t.default))}}),mw=["top","middle","bottom"],ac=Pe({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>mw.includes(e)}},setup(e,{slots:t}){const n=y(()=>e.align!==void 0?{verticalAlign:e.align}:null),o=y(()=>{const i=e.outline===!0&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${e.multiLine===!0?"multi":"single"}-line`+(e.outline===!0?" q-badge--outline":e.color!==void 0?` bg-${e.color}`:"")+(i!==void 0?` text-${i}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>b("div",{class:o.value,style:n.value,role:"status","aria-label":e.label},Kt(t.default,e.label!==void 0?[e.label]:[]))}}),Al=Pe({name:"QTooltip",inheritAttrs:!1,props:{...Ud,...Ws,...ni,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...ni.transitionShow,default:"jump-down"},transitionHide:{...ni.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:fr},self:{type:String,default:"top middle",validator:fr},offset:{type:Array,default:()=>[14,14],validator:th},scrollTarget:js,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...Qs],setup(e,{slots:t,emit:n,attrs:o}){let i,r;const l=Ae(),{proxy:{$q:s}}=l,a=ue(null),c=ue(!1),u=y(()=>dr(e.anchor,s.lang.rtl)),f=y(()=>dr(e.self,s.lang.rtl)),d=y(()=>e.persistent!==!0),{registerTick:h,removeTick:g}=Zs(),{registerTimeout:p}=ea(),{transitionProps:v,transitionStyle:q}=Ys(e),{localScrollTarget:S,changeScrollEvent:E,unconfigureScrollTarget:T}=Wd(e,me),{anchorEl:M,canShow:I,anchorEvents:W}=Kd({showing:c,configureAnchorEl:se}),{show:Z,hide:A}=Gs({showing:c,canShow:I,handleShow:J,handleHide:N,hideOnRouteChange:d,processOnMount:!0});Object.assign(W,{delayShow:re,delayHide:Q});const{showPortal:F,hidePortal:U,renderPortal:C}=Xs(l,a,m,"tooltip");if(s.platform.is.mobile===!0){const $={anchorEl:M,innerRef:a,onClickOutside(ne){return A(ne),ne.target.classList.contains("q-dialog__backdrop")&&Qe(ne),!0}},D=y(()=>e.modelValue===null&&e.persistent!==!0&&c.value===!0);be(D,ne=>{(ne===!0?eh:cr)($)}),tt(()=>{cr($)})}function J($){F(),h(()=>{r=new MutationObserver(()=>ee()),r.observe(a.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),ee(),me()}),i===void 0&&(i=be(()=>s.screen.width+"|"+s.screen.height+"|"+e.self+"|"+e.anchor+"|"+s.lang.rtl,ee)),p(()=>{F(!0),n("show",$)},e.transitionDuration)}function N($){g(),U(),ie(),p(()=>{U(!0),n("hide",$)},e.transitionDuration)}function ie(){r!==void 0&&(r.disconnect(),r=void 0),i!==void 0&&(i(),i=void 0),T(),tr(W,"tooltipTemp")}function ee(){ta({targetEl:a.value,offset:e.offset,anchorEl:M.value,anchorOrigin:u.value,selfOrigin:f.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function re($){if(s.platform.is.mobile===!0){us(),document.body.classList.add("non-selectable");const D=M.value,ne=["touchmove","touchcancel","touchend","click"].map(L=>[D,L,"delayHide","passiveCapture"]);ci(W,"tooltipTemp",ne)}p(()=>{Z($)},e.delay)}function Q($){s.platform.is.mobile===!0&&(tr(W,"tooltipTemp"),us(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),p(()=>{A($)},e.hideDelay)}function se(){if(e.noParentEvent===!0||M.value===null)return;const $=s.platform.is.mobile===!0?[[M.value,"touchstart","delayShow","passive"]]:[[M.value,"mouseenter","delayShow","passive"],[M.value,"mouseleave","delayHide","passive"]];ci(W,"anchor",$)}function me(){if(M.value!==null||e.scrollTarget!==void 0){S.value=Hs(M.value,e.scrollTarget);const $=e.noParentEvent===!0?ee:A;E(S.value,$)}}function P(){return c.value===!0?b("div",{...o,ref:a,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",o.class],style:[o.style,q.value],role:"tooltip"},Je(t.default)):null}function m(){return b(Zn,v.value,P)}return tt(ie),Object.assign(l.proxy,{updatePosition:ee}),C}}),vw=Pe({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(e,{slots:t,emit:n}){let o=!1,i,r,l=null,s=null,a,c;function u(){i&&i(),i=null,o=!1,l!==null&&(clearTimeout(l),l=null),s!==null&&(clearTimeout(s),s=null),r!==void 0&&r.removeEventListener("transitionend",a),a=null}function f(p,v,q){v!==void 0&&(p.style.height=`${v}px`),p.style.transition=`height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`,o=!0,i=q}function d(p,v){p.style.overflowY=null,p.style.height=null,p.style.transition=null,u(),v!==c&&n(v)}function h(p,v){let q=0;r=p,o===!0?(u(),q=p.offsetHeight===p.scrollHeight?0:void 0):(c="hide",p.style.overflowY="hidden"),f(p,q,v),l=setTimeout(()=>{l=null,p.style.height=`${p.scrollHeight}px`,a=S=>{s=null,(Object(S)!==S||S.target===p)&&d(p,"show")},p.addEventListener("transitionend",a),s=setTimeout(a,e.duration*1.1)},100)}function g(p,v){let q;r=p,o===!0?u():(c="show",p.style.overflowY="hidden",q=p.scrollHeight),f(p,q,v),l=setTimeout(()=>{l=null,p.style.height=0,a=S=>{s=null,(Object(S)!==S||S.target===p)&&d(p,"hide")},p.addEventListener("transitionend",a),s=setTimeout(a,e.duration*1.1)},100)}return tt(()=>{o===!0&&u()}),()=>b(Zn,{css:!1,appear:e.appear,onEnter:h,onLeave:g},t.default)}}),pw=["none","strict","leaf","leaf-filtered"],bw=Pe({name:"QTree",props:{...kt,nodes:{type:Array,required:!0},nodeKey:{type:String,required:!0},labelKey:{type:String,default:"label"},childrenKey:{type:String,default:"children"},dense:Boolean,color:String,controlColor:String,textColor:String,selectedColor:String,icon:String,tickStrategy:{type:String,default:"none",validator:e=>pw.includes(e)},ticked:Array,expanded:Array,selected:{},noSelectionUnset:Boolean,defaultExpandAll:Boolean,accordion:Boolean,filter:String,filterMethod:Function,duration:{},noConnectors:Boolean,noTransition:Boolean,noNodesLabel:String,noResultsLabel:String},emits:["update:expanded","update:ticked","update:selected","lazyLoad","afterShow","afterHide"],setup(e,{slots:t,emit:n}){const{proxy:o}=Ae(),{$q:i}=o,r=Et(e,i),l=ue({}),s=ue(e.ticked||[]),a=ue(e.expanded||[]);let c={};qr(()=>{c={}});const u=y(()=>`q-tree q-tree--${e.dense===!0?"dense":"standard"}`+(e.noConnectors===!0?" q-tree--no-connectors":"")+(r.value===!0?" q-tree--dark":"")+(e.color!==void 0?` text-${e.color}`:"")),f=y(()=>e.selected!==void 0),d=y(()=>e.icon||i.iconSet.tree.icon),h=y(()=>e.controlColor||e.color),g=y(()=>e.textColor!==void 0?` text-${e.textColor}`:""),p=y(()=>{const m=e.selectedColor||e.color;return m?` text-${m}`:""}),v=y(()=>e.filterMethod!==void 0?e.filterMethod:(m,$)=>{const D=$.toLowerCase();return m[e.labelKey]&&m[e.labelKey].toLowerCase().indexOf(D)!==-1}),q=y(()=>{const m={},$=(D,ne)=>{const L=D.tickStrategy||(ne?ne.tickStrategy:e.tickStrategy),x=D[e.nodeKey],K=D[e.childrenKey]&&Array.isArray(D[e.childrenKey])&&D[e.childrenKey].length!==0,O=D.disabled!==!0&&f.value===!0&&D.selectable!==!1,Y=D.disabled!==!0&&D.expandable!==!1,Se=L!=="none",w=L==="strict",_=L==="leaf-filtered",R=L==="leaf"||L==="leaf-filtered";let j=D.disabled!==!0&&D.tickable!==!1;R===!0&&j===!0&&ne&&ne.tickable!==!0&&(j=!1);let z=D.lazy;z===!0&&l.value[x]!==void 0&&Array.isArray(D[e.childrenKey])===!0&&(z=l.value[x]);const B={key:x,parent:ne,isParent:K,lazy:z,disabled:D.disabled,link:D.disabled!==!0&&(O===!0||Y===!0&&(K===!0||z===!0)),children:[],matchesFilter:e.filter?v.value(D,e.filter):!0,selected:x===e.selected&&O===!0,selectable:O,expanded:K===!0?a.value.includes(x):!1,expandable:Y,noTick:D.noTick===!0||w!==!0&&z&&z!=="loaded",tickable:j,tickStrategy:L,hasTicking:Se,strictTicking:w,leafFilteredTicking:_,leafTicking:R,ticked:w===!0?s.value.includes(x):K===!0?!1:s.value.includes(x)};if(m[x]=B,K===!0&&(B.children=D[e.childrenKey].map(X=>$(X,B)),e.filter&&(B.matchesFilter!==!0?B.matchesFilter=B.children.some(X=>X.matchesFilter):B.noTick!==!0&&B.disabled!==!0&&B.tickable===!0&&_===!0&&B.children.every(X=>X.matchesFilter!==!0||X.noTick===!0||X.tickable!==!0)===!0&&(B.tickable=!1)),B.matchesFilter===!0&&(B.noTick!==!0&&w!==!0&&B.children.every(X=>X.noTick)===!0&&(B.noTick=!0),R))){if(B.ticked=!1,B.indeterminate=B.children.some(X=>X.indeterminate===!0),B.tickable=B.tickable===!0&&B.children.some(X=>X.tickable),B.indeterminate!==!0){const X=B.children.reduce((oe,te)=>te.ticked===!0?oe+1:oe,0);X===B.children.length?B.ticked=!0:X>0&&(B.indeterminate=!0)}B.indeterminate===!0&&(B.indeterminateNextState=B.children.every(X=>X.tickable!==!0||X.ticked!==!0))}return B};return e.nodes.forEach(D=>$(D,null)),m});be(()=>e.ticked,m=>{s.value=m}),be(()=>e.expanded,m=>{a.value=m});function S(m){const $=[].reduce,D=(ne,L)=>{if(ne||!L)return ne;if(Array.isArray(L)===!0)return $.call(Object(L),D,ne);if(L[e.nodeKey]===m)return L;if(L[e.childrenKey])return D(null,L[e.childrenKey])};return D(null,e.nodes)}function E(){return s.value.map(m=>S(m))}function T(){return a.value.map(m=>S(m))}function M(m){return m&&q.value[m]?q.value[m].expanded:!1}function I(){e.expanded!==void 0?n("update:expanded",[]):a.value=[]}function W(){const m=[],$=D=>{D[e.childrenKey]&&D[e.childrenKey].length!==0&&D.expandable!==!1&&D.disabled!==!0&&(m.push(D[e.nodeKey]),D[e.childrenKey].forEach($))};e.nodes.forEach($),e.expanded!==void 0?n("update:expanded",m):a.value=m}function Z(m,$,D=S(m),ne=q.value[m]){if(ne.lazy&&ne.lazy!=="loaded"){if(ne.lazy==="loading")return;l.value[m]="loading",Array.isArray(D[e.childrenKey])!==!0&&(D[e.childrenKey]=[]),n("lazyLoad",{node:D,key:m,done:L=>{l.value[m]="loaded",D[e.childrenKey]=Array.isArray(L)===!0?L:[],ze(()=>{const x=q.value[m];x&&x.isParent===!0&&A(m,!0)})},fail:()=>{delete l.value[m],D[e.childrenKey].length===0&&delete D[e.childrenKey]}})}else ne.isParent===!0&&ne.expandable===!0&&A(m,$)}function A(m,$){let D=a.value;const ne=e.expanded!==void 0;if(ne===!0&&(D=D.slice()),$){if(e.accordion&&q.value[m]){const L=[];q.value[m].parent?q.value[m].parent.children.forEach(x=>{x.key!==m&&x.expandable===!0&&L.push(x.key)}):e.nodes.forEach(x=>{const K=x[e.nodeKey];K!==m&&L.push(K)}),L.length!==0&&(D=D.filter(x=>L.includes(x)===!1))}D=D.concat([m]).filter((L,x,K)=>K.indexOf(L)===x)}else D=D.filter(L=>L!==m);ne===!0?n("update:expanded",D):a.value=D}function F(m){return m&&q.value[m]?q.value[m].ticked:!1}function U(m,$){let D=s.value;const ne=e.ticked!==void 0;ne===!0&&(D=D.slice()),$?D=D.concat(m).filter((L,x,K)=>K.indexOf(L)===x):D=D.filter(L=>m.includes(L)===!1),ne===!0&&n("update:ticked",D)}function C(m,$,D){const ne={tree:o,node:m,key:D,color:e.color,dark:r.value};return qt(ne,"expanded",()=>$.expanded,L=>{L!==$.expanded&&Z(D,L)}),qt(ne,"ticked",()=>$.ticked,L=>{L!==$.ticked&&U([D],L)}),ne}function J(m){return(e.filter?m.filter($=>q.value[$[e.nodeKey]].matchesFilter):m).map($=>re($))}function N(m){if(m.icon!==void 0)return b(He,{class:"q-tree__icon q-mr-sm",name:m.icon,color:m.iconColor});const $=m.img||m.avatar;if($)return b("img",{class:`q-tree__${m.img?"img":"avatar"} q-mr-sm`,src:$})}function ie(){n("afterShow")}function ee(){n("afterHide")}function re(m){const $=m[e.nodeKey],D=q.value[$],ne=m.header&&t[`header-${m.header}`]||t["default-header"],L=D.isParent===!0?J(m[e.childrenKey]):[],x=L.length!==0||D.lazy&&D.lazy!=="loaded";let K=m.body&&t[`body-${m.body}`]||t["default-body"];const O=ne!==void 0||K!==void 0?C(m,D,$):null;return K!==void 0&&(K=b("div",{class:"q-tree__node-body relative-position"},[b("div",{class:g.value},[K(O)])])),b("div",{key:$,class:`q-tree__node relative-position q-tree__node--${x===!0?"parent":"child"}`},[b("div",{class:"q-tree__node-header relative-position row no-wrap items-center"+(D.link===!0?" q-tree__node--link q-hoverable q-focusable":"")+(D.selected===!0?" q-tree__node--selected":"")+(D.disabled===!0?" q-tree__node--disabled":""),tabindex:D.link===!0?0:-1,ariaExpanded:L.length>0?D.expanded:null,role:"treeitem",onClick:Y=>{se(m,D,Y)},onKeypress(Y){Lr(Y)!==!0&&(Y.keyCode===13?se(m,D,Y,!0):Y.keyCode===32&&me(m,D,Y,!0))}},[b("div",{class:"q-focus-helper",tabindex:-1,ref:Y=>{c[D.key]=Y}}),D.lazy==="loading"?b(vn,{class:"q-tree__spinner",color:h.value}):x===!0?b(He,{class:"q-tree__arrow"+(D.expanded===!0?" q-tree__arrow--rotate":""),name:d.value,onClick(Y){me(m,D,Y)}}):null,D.hasTicking===!0&&D.noTick!==!0?b(oi,{class:"q-tree__tickbox",modelValue:D.indeterminate===!0?null:D.ticked,color:h.value,dark:r.value,dense:!0,keepColor:!0,disable:D.tickable!==!0,onKeydown:Qe,"onUpdate:modelValue":Y=>{P(D,Y)}}):null,b("div",{class:"q-tree__node-header-content col row no-wrap items-center"+(D.selected===!0?p.value:g.value)},[ne?ne(O):[N(m),b("div",m[e.labelKey])]])]),x===!0?e.noTransition===!0?D.expanded===!0?b("div",{class:"q-tree__node-collapsible"+g.value,key:`${$}__q`},[K,b("div",{class:"q-tree__children"+(D.disabled===!0?" q-tree__node--disabled":""),role:"group"},L)]):null:b(vw,{duration:e.duration,onShow:ie,onHide:ee},()=>xr(b("div",{class:"q-tree__node-collapsible"+g.value,key:`${$}__q`},[K,b("div",{class:"q-tree__children"+(D.disabled===!0?" q-tree__node--disabled":""),role:"group"},L)]),[[wm,D.expanded]])):K])}function Q(m){const $=c[m];$&&$.focus()}function se(m,$,D,ne){ne!==!0&&$.selectable!==!1&&Q($.key),f.value&&$.selectable?e.noSelectionUnset===!1?n("update:selected",$.key!==e.selected?$.key:null):$.key!==e.selected&&n("update:selected",$.key===void 0?null:$.key):me(m,$,D,ne),typeof m.handler=="function"&&m.handler(m)}function me(m,$,D,ne){D!==void 0&&Qe(D),ne!==!0&&$.selectable!==!1&&Q($.key),Z($.key,!$.expanded,m,$)}function P(m,$){if(m.indeterminate===!0&&($=m.indeterminateNextState),m.strictTicking)U([m.key],$);else if(m.leafTicking){const D=[],ne=L=>{L.isParent?($!==!0&&L.noTick!==!0&&L.tickable===!0&&D.push(L.key),L.leafTicking===!0&&L.children.forEach(ne)):L.noTick!==!0&&L.tickable===!0&&(L.leafFilteredTicking!==!0||L.matchesFilter===!0)&&D.push(L.key)};ne(m),U(D,$)}}return e.defaultExpandAll===!0&&W(),Object.assign(o,{getNodeByKey:S,getTickedNodes:E,getExpandedNodes:T,isExpanded:M,collapseAll:I,expandAll:W,setExpanded:Z,isTicked:F,setTicked:U}),()=>{const m=J(e.nodes);return b("div",{class:u.value,role:"tree"},m.length===0?e.filter?e.noResultsLabel||i.lang.tree.noResults:e.noNodesLabel||i.lang.tree.noNodes:m)}}}),uc={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},gr={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},dh=Object.keys(gr);dh.forEach(e=>{gr[e].regex=new RegExp(gr[e].pattern)});const yw=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+dh.join("")+"])|(.)","g"),cc=/[.*+?^${}()|[\]\\]/g,nt="",ww={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function _w(e,t,n,o){let i,r,l,s,a,c;const u=ue(null),f=ue(h());function d(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}be(()=>e.type+e.autogrow,p),be(()=>e.mask,A=>{if(A!==void 0)v(f.value,!0);else{const F=W(f.value);p(),e.modelValue!==F&&t("update:modelValue",F)}}),be(()=>e.fillMask+e.reverseFillMask,()=>{u.value===!0&&v(f.value,!0)}),be(()=>e.unmaskedValue,()=>{u.value===!0&&v(f.value)});function h(){if(p(),u.value===!0){const A=M(W(e.modelValue));return e.fillMask!==!1?Z(A):A}return e.modelValue}function g(A){if(A<i.length)return i.slice(-A);let F="",U=i;const C=U.indexOf(nt);if(C!==-1){for(let J=A-U.length;J>0;J--)F+=nt;U=U.slice(0,C)+F+U.slice(C)}return U}function p(){if(u.value=e.mask!==void 0&&e.mask.length!==0&&d(),u.value===!1){s=void 0,i="",r="";return}const A=uc[e.mask]===void 0?e.mask:uc[e.mask],F=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",U=F.replace(cc,"\\$&"),C=[],J=[],N=[];let ie=e.reverseFillMask===!0,ee="",re="";A.replace(yw,(P,m,$,D,ne)=>{if(D!==void 0){const L=gr[D];N.push(L),re=L.negate,ie===!0&&(J.push("(?:"+re+"+)?("+L.pattern+"+)?(?:"+re+"+)?("+L.pattern+"+)?"),ie=!1),J.push("(?:"+re+"+)?("+L.pattern+")?")}else if($!==void 0)ee="\\"+($==="\\"?"":$),N.push($),C.push("([^"+ee+"]+)?"+ee+"?");else{const L=m!==void 0?m:ne;ee=L==="\\"?"\\\\\\\\":L.replace(cc,"\\\\$&"),N.push(L),C.push("([^"+ee+"]+)?"+ee+"?")}});const Q=new RegExp("^"+C.join("")+"("+(ee===""?".":"[^"+ee+"]")+"+)?"+(ee===""?"":"["+ee+"]*")+"$"),se=J.length-1,me=J.map((P,m)=>m===0&&e.reverseFillMask===!0?new RegExp("^"+U+"*"+P):m===se?new RegExp("^"+P+"("+(re===""?".":re)+"+)?"+(e.reverseFillMask===!0?"$":U+"*")):new RegExp("^"+P));l=N,s=P=>{const m=Q.exec(e.reverseFillMask===!0?P:P.slice(0,N.length+1));m!==null&&(P=m.slice(1).join(""));const $=[],D=me.length;for(let ne=0,L=P;ne<D;ne++){const x=me[ne].exec(L);if(x===null)break;L=L.slice(x.shift().length),$.push(...x)}return $.length!==0?$.join(""):P},i=N.map(P=>typeof P=="string"?P:nt).join(""),r=i.split(nt).join(F)}function v(A,F,U){const C=o.value,J=C.selectionEnd,N=C.value.length-J,ie=W(A);F===!0&&p();const ee=M(ie),re=e.fillMask!==!1?Z(ee):ee,Q=f.value!==re;C.value!==re&&(C.value=re),Q===!0&&(f.value=re),document.activeElement===C&&ze(()=>{if(re===r){const me=e.reverseFillMask===!0?r.length:0;C.setSelectionRange(me,me,"forward");return}if(U==="insertFromPaste"&&e.reverseFillMask!==!0){const me=C.selectionEnd;let P=J-1;for(let m=a;m<=P&&m<me;m++)i[m]!==nt&&P++;S.right(C,P);return}if(["deleteContentBackward","deleteContentForward"].indexOf(U)!==-1){const me=e.reverseFillMask===!0?J===0?re.length>ee.length?1:0:Math.max(0,re.length-(re===r?0:Math.min(ee.length,N)+1))+1:J;C.setSelectionRange(me,me,"forward");return}if(e.reverseFillMask===!0)if(Q===!0){const me=Math.max(0,re.length-(re===r?0:Math.min(ee.length,N+1)));me===1&&J===1?C.setSelectionRange(me,me,"forward"):S.rightReverse(C,me)}else{const me=re.length-N;C.setSelectionRange(me,me,"backward")}else if(Q===!0){const me=Math.max(0,i.indexOf(nt),Math.min(ee.length,J)-1);S.right(C,me)}else{const me=J-1;S.right(C,me)}});const se=e.unmaskedValue===!0?W(re):re;String(e.modelValue)!==se&&(e.modelValue!==null||se!=="")&&n(se,!0)}function q(A,F,U){const C=M(W(A.value));F=Math.max(0,i.indexOf(nt),Math.min(C.length,F)),a=F,A.setSelectionRange(F,U,"forward")}const S={left(A,F){const U=i.slice(F-1).indexOf(nt)===-1;let C=Math.max(0,F-1);for(;C>=0;C--)if(i[C]===nt){F=C,U===!0&&F++;break}if(C<0&&i[F]!==void 0&&i[F]!==nt)return S.right(A,0);F>=0&&A.setSelectionRange(F,F,"backward")},right(A,F){const U=A.value.length;let C=Math.min(U,F+1);for(;C<=U;C++)if(i[C]===nt){F=C;break}else i[C-1]===nt&&(F=C);if(C>U&&i[F-1]!==void 0&&i[F-1]!==nt)return S.left(A,U);A.setSelectionRange(F,F,"forward")},leftReverse(A,F){const U=g(A.value.length);let C=Math.max(0,F-1);for(;C>=0;C--)if(U[C-1]===nt){F=C;break}else if(U[C]===nt&&(F=C,C===0))break;if(C<0&&U[F]!==void 0&&U[F]!==nt)return S.rightReverse(A,0);F>=0&&A.setSelectionRange(F,F,"backward")},rightReverse(A,F){const U=A.value.length,C=g(U),J=C.slice(0,F+1).indexOf(nt)===-1;let N=Math.min(U,F+1);for(;N<=U;N++)if(C[N-1]===nt){F=N,F>0&&J===!0&&F--;break}if(N>U&&C[F-1]!==void 0&&C[F-1]!==nt)return S.leftReverse(A,U);A.setSelectionRange(F,F,"forward")}};function E(A){t("click",A),c=void 0}function T(A){if(t("keydown",A),Lr(A)===!0||A.altKey===!0)return;const F=o.value,U=F.selectionStart,C=F.selectionEnd;if(A.shiftKey||(c=void 0),A.keyCode===37||A.keyCode===39){A.shiftKey&&c===void 0&&(c=F.selectionDirection==="forward"?U:C);const J=S[(A.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(A.preventDefault(),J(F,c===U?C:U),A.shiftKey){const N=F.selectionStart;F.setSelectionRange(Math.min(c,N),Math.max(c,N),"forward")}}else A.keyCode===8&&e.reverseFillMask!==!0&&U===C?(S.left(F,U),F.setSelectionRange(F.selectionStart,C,"backward")):A.keyCode===46&&e.reverseFillMask===!0&&U===C&&(S.rightReverse(F,C),F.setSelectionRange(U,F.selectionEnd,"forward"))}function M(A){if(A==null||A==="")return"";if(e.reverseFillMask===!0)return I(A);const F=l;let U=0,C="";for(let J=0;J<F.length;J++){const N=A[U],ie=F[J];if(typeof ie=="string")C+=ie,N===ie&&U++;else if(N!==void 0&&ie.regex.test(N))C+=ie.transform!==void 0?ie.transform(N):N,U++;else return C}return C}function I(A){const F=l,U=i.indexOf(nt);let C=A.length-1,J="";for(let N=F.length-1;N>=0&&C!==-1;N--){const ie=F[N];let ee=A[C];if(typeof ie=="string")J=ie+J,ee===ie&&C--;else if(ee!==void 0&&ie.regex.test(ee))do J=(ie.transform!==void 0?ie.transform(ee):ee)+J,C--,ee=A[C];while(U===N&&ee!==void 0&&ie.regex.test(ee));else return J}return J}function W(A){return typeof A!="string"||s===void 0?typeof A=="number"?s(""+A):A:s(A)}function Z(A){return r.length-A.length<=0?A:e.reverseFillMask===!0&&A.length!==0?r.slice(0,-A.length)+A:A+r.slice(A.length)}return{innerValue:f,hasMask:u,moveCursorForPaste:q,updateMaskValue:v,onMaskedKeydown:T,onMaskedClick:E}}function Sw(e,t){function n(){const o=e.modelValue;try{const i="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(o)===o&&("length"in o?Array.from(o):[o]).forEach(r=>{i.items.add(r)}),{files:i.files}}catch{return{files:void 0}}}return y(()=>{if(e.type==="file")return n()})}const In=Pe({name:"QInput",inheritAttrs:!1,props:{...zr,...ww,...Ur,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...zs,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:o}=Ae(),{$q:i}=o,r={};let l=NaN,s,a,c=null,u;const f=ue(null),d=oh(e),{innerValue:h,hasMask:g,moveCursorForPaste:p,updateMaskValue:v,onMaskedKeydown:q,onMaskedClick:S}=_w(e,t,ee,f),E=Sw(e),T=y(()=>vi(h.value)),M=ih(N),I=Us({changeEvent:!0}),W=y(()=>e.type==="textarea"||e.autogrow===!0),Z=y(()=>W.value===!0||["text","search","url","tel","password"].includes(e.type)),A=y(()=>{const m={...I.splitAttrs.listeners.value,onInput:N,onPaste:J,onChange:Q,onBlur:se,onFocus:nn};return m.onCompositionstart=m.onCompositionupdate=m.onCompositionend=M,g.value===!0&&(m.onKeydown=q,m.onClick=S),e.autogrow===!0&&(m.onAnimationend=ie),m}),F=y(()=>{const m={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:d.value,...I.splitAttrs.attributes.value,id:I.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return W.value===!1&&(m.type=e.type),e.autogrow===!0&&(m.rows=1),m});be(()=>e.type,()=>{f.value&&(f.value.value=e.modelValue)}),be(()=>e.modelValue,m=>{if(g.value===!0){if(a===!0&&(a=!1,String(m)===l))return;v(m)}else h.value!==m&&(h.value=m,e.type==="number"&&r.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete r.value));e.autogrow===!0&&ze(re)}),be(()=>e.autogrow,m=>{m===!0?ze(re):f.value!==null&&n.rows>0&&(f.value.style.height="auto")}),be(()=>e.dense,()=>{e.autogrow===!0&&ze(re)});function U(){Hr(()=>{const m=document.activeElement;f.value!==null&&f.value!==m&&(m===null||m.id!==I.targetUid.value)&&f.value.focus({preventScroll:!0})})}function C(){f.value!==null&&f.value.select()}function J(m){if(g.value===!0&&e.reverseFillMask!==!0){const $=m.target;p($,$.selectionStart,$.selectionEnd)}t("paste",m)}function N(m){if(!m||!m.target)return;if(e.type==="file"){t("update:modelValue",m.target.files);return}const $=m.target.value;if(m.target.qComposing===!0){r.value=$;return}if(g.value===!0)v($,!1,m.inputType);else if(ee($),Z.value===!0&&m.target===document.activeElement){const{selectionStart:D,selectionEnd:ne}=m.target;D!==void 0&&ne!==void 0&&ze(()=>{m.target===document.activeElement&&$.indexOf(m.target.value)===0&&m.target.setSelectionRange(D,ne)})}e.autogrow===!0&&re()}function ie(m){t("animationend",m),re()}function ee(m,$){u=()=>{c=null,e.type!=="number"&&r.hasOwnProperty("value")===!0&&delete r.value,e.modelValue!==m&&l!==m&&(l=m,$===!0&&(a=!0),t("update:modelValue",m),ze(()=>{l===m&&(l=NaN)})),u=void 0},e.type==="number"&&(s=!0,r.value=m),e.debounce!==void 0?(c!==null&&clearTimeout(c),r.value=m,c=setTimeout(u,e.debounce)):u()}function re(){requestAnimationFrame(()=>{const m=f.value;if(m!==null){const $=m.parentNode.style,{scrollTop:D}=m,{overflowY:ne,maxHeight:L}=i.platform.is.firefox===!0?{}:window.getComputedStyle(m),x=ne!==void 0&&ne!=="scroll";x===!0&&(m.style.overflowY="hidden"),$.marginBottom=m.scrollHeight-1+"px",m.style.height="1px",m.style.height=m.scrollHeight+"px",x===!0&&(m.style.overflowY=parseInt(L,10)<m.scrollHeight?"auto":"hidden"),$.marginBottom="",m.scrollTop=D}})}function Q(m){M(m),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),t("change",m.target.value)}function se(m){m!==void 0&&nn(m),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),s=!1,a=!1,delete r.value,e.type!=="file"&&setTimeout(()=>{f.value!==null&&(f.value.value=h.value!==void 0?h.value:"")})}function me(){return r.hasOwnProperty("value")===!0?r.value:h.value!==void 0?h.value:""}tt(()=>{se()}),rn(()=>{e.autogrow===!0&&re()}),Object.assign(I,{innerValue:h,fieldClass:y(()=>`q-${W.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:y(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:f,emitValue:ee,hasValue:T,floatingLabel:y(()=>T.value===!0&&(e.type!=="number"||isNaN(h.value)===!1)||vi(e.displayValue)),getControl:()=>b(W.value===!0?"textarea":"input",{ref:f,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...F.value,...A.value,...e.type!=="file"?{value:me()}:E.value}),getShadowControl:()=>b("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(W.value===!0?"":" text-no-wrap")},[b("span",{class:"invisible"},me()),b("span",e.shadowText)])});const P=Ks(I);return Object.assign(o,{focus:U,select:C,getNativeElement:()=>f.value}),qt(o,"nativeEl",()=>f.value),P}}),ds=Pe({name:"QCardActions",props:{...ud,vertical:Boolean},setup(e,{slots:t}){const n=cd(e),o=y(()=>`q-card__actions ${n.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>b("div",{class:o.value},Je(t.default))}}),Pl=Pe({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=Ae(),o=y(()=>"q-td"+(e.autoWidth===!0?" q-table--col-auto-width":"")+(e.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(e.props===void 0)return b("td",{class:o.value},Je(t.default));const i=n.vnode.key,r=(e.props.colsMap!==void 0?e.props.colsMap[i]:null)||e.props.col;if(r===void 0)return;const{row:l}=e.props;return b("td",{class:o.value+r.__tdClass(l),style:r.__tdStyle(l)},Je(t.default))}}}),xw=Pe({name:"QTr",props:{props:Object,noHover:Boolean},setup(e,{slots:t}){const n=y(()=>"q-tr"+(e.props===void 0||e.props.header===!0?"":" "+e.props.__trClass)+(e.noHover===!0?" q-tr--no-hover":""));return()=>b("tr",{class:n.value},Je(t.default))}});function fc(e){if(e===!1)return 0;if(e===!0||e===void 0)return 1;const t=parseInt(e,10);return isNaN(t)?0:t}const Cw=Df({name:"close-popup",beforeMount(e,{value:t}){const n={depth:fc(t),handler(o){n.depth!==0&&setTimeout(()=>{const i=g0(e);i!==void 0&&m0(i,o,n.depth)})},handlerKey(o){mn(o,13)===!0&&n.handler(o)}};e.__qclosepopup=n,e.addEventListener("click",n.handler),e.addEventListener("keyup",n.handlerKey)},updated(e,{value:t,oldValue:n}){t!==n&&(e.__qclosepopup.depth=fc(t))},beforeUnmount(e){const t=e.__qclosepopup;e.removeEventListener("click",t.handler),e.removeEventListener("keyup",t.handlerKey),delete e.__qclosepopup}}),kw={data(){return{isDbSetup:!1,differences:{},columns:[{name:"table",label:"Table",align:"left",field:"table"},{name:"difference",label:"Difference",align:"left",field:"difference"}],settingsDialog:!1,host:"127.0.0.1",port:3306,user:"root",password:"",database:"",dbFolder:"db-dump",existingDatabases:[],databaseColumns:[{name:"name",label:"Database Name",align:"left",field:"name"},{name:"size",label:"Size",align:"left",field:"size"}],databaseTree:[],expandedNodes:[],issueDialog:!1,selectedIssues:[],selectedNode:null,isNodeFixing:{}}},methods:{openSettings(){this.settingsDialog=!0},closeSettings(){this.settingsDialog=!1},saveSettings(){const e={host:this.host,port:this.port,user:this.user,password:this.password,database:this.database,output:this.dbFolder};localStorage.setItem("dbConfig",JSON.stringify(e)),this.isDbSetup=!0,this.closeSettings(),this.refreshDifferences()},async refreshDifferences(){if(this.isDbSetup)try{const e=await Fe.post("http://localhost:3000/api/compare",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder,database:this.database}});this.differences=e.data}catch(e){console.error("Error fetching differences:",e)}},async getDatabasesFromExistingDumps(){try{const e=await Fe.post("http://localhost:3000/api/getDatabasesFromExistingDumps",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder}});e.data&&typeof e.data=="object"&&(this.existingDatabases=e.data,this.buildDatabaseTree())}catch(e){console.error("Error fetching databases from existing dumps:",e)}},async buildDatabaseTree(){Object.keys(this.differences).length===0&&await this.fetchAllDifferences(),this.databaseTree=Object.entries(this.existingDatabases).map(([e,t])=>{console.log("Building database tree for:",e,this.differences);const n=this.differences[e]||[],o=n.length;return console.log(`Database ${e} differences ${o}:`,n),{id:`db-${e}`,label:e,type:"database",lazy:!0,icon:o>0?"warning":"check_circle",iconColor:o>0?"negative":"positive",diffCount:o||null,dbData:t,dbName:e}}),console.log("Database tree:",this.databaseTree),this.expandedNodes=[]},onLazyLoad({node:e,done:t,fail:n}){console.log("Lazy loading node:",e);try{if(e.type==="database"){console.log("Loading database children for:",e.dbName);const o=e.dbData,i=this.differences[e.dbName]||[],r=i.filter(c=>c.type.includes("table")||c.type.includes("field")||c.type.includes("index")||c.type.includes("trigger"));console.log("Table issues:",r);const l=i.filter(c=>c.type.includes("procedure")),s=i.filter(c=>c.type.includes("view")),a=[{id:`${e.dbName}-tables`,label:"Tables",type:"category",lazy:!0,icon:r.length>0?"warning":"check_circle",iconColor:r.length>0?"negative":"positive",diffCount:r.length||null},o.procedures&&{id:`${e.dbName}-procedures`,label:"Procedures",type:"category",lazy:!0,icon:l.length>0?"warning":"check_circle",iconColor:l.length>0?"negative":"positive",diffCount:l.length||null},o.views&&{id:`${e.dbName}-views`,label:"Views",type:"category",lazy:!0,icon:s.length>0?"warning":"check_circle",iconColor:s.length>0?"negative":"positive",diffCount:s.length||null}].filter(Boolean);console.log("Database children:",a),t(a)}else if(e.type==="category"){console.log("Loading category children for:",e.id);const o=e.id.split("-")[0],i=this.differences[o]||[];if(e.id.includes("-tables")){const r=i.filter(a=>a.type.includes("table")||a.type.includes("field")||a.type.includes("index")||a.type.includes("trigger"));console.log("Table category issues:",r);const l=[],s=this.existingDatabases[o].tables;console.log("Tables:",s),l.push(...Object.entries(s).map(([a,c])=>{const u=r.filter(d=>d.tableName===a);console.log(`Issues for table ${a}:`,u);const f=u.length>0;return{id:`${o}-table-${a}`,label:a,type:"table",lazy:!0,icon:f?"warning":"check_circle",iconColor:f?"negative":"positive",diffCount:f?u.length:null,tableData:c,issueData:u}})),console.log("Category children:",l),t(l)}else if(e.id.includes("-procedures")){const r=[],l=this.existingDatabases[o].procedures;r.push(...Object.entries(l).map(([s,a])=>{const c=a.Name,u=i.filter(d=>d.type.includes("procedure")&&d.Name===c);console.log(`Issues for procedure ${c}:`,u);const f=u.length>0;return{id:`${o}-procedure-${c}`,label:c,index:s,type:"procedure",lazy:!1,icon:f?"warning":"check_circle",iconColor:f?"negative":"positive",diffCount:f?u.length:null,procedureData:a,issueData:u}})),t(r)}else if(e.id.includes("-views")){const r=[],l=this.existingDatabases[o].views;console.log("Views:",l),r.push(...Object.entries(l).map(([s,a])=>({id:`${o}-view-${s}`,label:s,type:"view",lazy:!1,view:a}))),t(r)}}else if(e.type==="table"){console.log("Loading table children for:",e.id);const o=e.tableData;if(console.log("Table data:",o),!o){console.error("No table data found for node:",e),t([]);return}const i=[];o.columns?.length>0&&i.push({id:`${e.id}-columns`,label:`Columns (${o.columns.length})`,type:"subcategory",lazy:!1,children:o.columns.map(r=>{let l=[];return r.AutoIncrement&&l.push("AUTO_INCREMENT"),r.NotNull&&l.push("NOT NULL"),r.Default!==void 0&&l.push(`DEFAULT ${r.Default}`),{id:`${e.id}-column-${r.Field}`,label:`${r.Field} (${r.Type})${l.length?" "+l.join(", "):""}`,type:"column",expandable:!1,columnData:r}})}),o.indexes?.length>0&&i.push({id:`${e.id}-indexes`,label:`Indexes (${o.indexes.length})`,type:"subcategory",lazy:!1,children:o.indexes.map(r=>({id:`${e.id}-index-${r.Name}`,label:`${r.Name}${r.Primary?" (PRIMARY)":""} [${r.ColumnName.join(", ")}]`,type:"index",expandable:!1,indexData:r}))}),console.log("Table children:",i),t(i)}}catch(o){console.error("Error in lazy loading:",o),n()}},createTableIssueGroups(e,t){const n=t.reduce((o,i)=>{const r=i.type;return o[r]=o[r]||{count:0,items:[]},o[r].count++,o[r].items.push(i),o},{});return Object.entries(n).map(([o,i])=>({id:`${e}-tables-${o}`,label:o.split("_").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" "),type:"issue-group",icon:"warning",iconColor:"negative",diffCount:i.count,children:i.items.map(r=>({id:`${e}-tables-${o}-${r.tableName||r.Name}`,label:r.tableName||r.Name,type:"issue",icon:"warning",iconColor:"negative",expandable:!1,issueData:r}))}))},async fetchAllDifferences(){const e=await Fe.post("http://localhost:3000/api/compare",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder}});this.differences=e.data,console.log("Differences in fetchAllDifferences:",this.differences)},async fetchDifferencesForSelectedDb(){if(Object.keys(this.existingDatabases).length>0){const e=Object.keys(this.existingDatabases)[0],t=await Fe.post("http://localhost:3000/api/compare",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder,database:e}});this.differences=t.data}},async createNewDump(e=!1){if(console.log("Creating a new dump..."),e){this.$q.dialog({title:"Overwrite",message:"Are you sure you want to overwrite the existing dump?",ok:"Overwrite",cancel:"Cancel"}).onOk(async()=>{console.log("Overwriting existing dump"),await this.createNewDump(!1)});return}let t=await Fe.post("http://localhost:3000/api/dump",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder}}).catch(n=>{n.response.data.message&&this.$q.dialog({title:"Error",message:n.response.data.message}),console.error("Error creating new dump:",n)});t&&(t.data.message&&this.$q.dialog({title:"Error",message:t.data.message}),this.differences=await this.fetchAllDifferences(),console.log("Differences in createNewDump:",this.differences),t.data&&typeof t.data=="object"&&Object.keys(t.data).length>0?(this.existingDatabases=t.data,this.buildDatabaseTree()):(this.existingDatabases={},this.$q.notify({message:"Error creating new dump",color:"red"})))},showIssueDetails(e,t){console.log("Showing issue details:",e,"from node:",t),this.selectedIssues=Array.isArray(e)?e:[e],this.selectedNode=t,this.issueDialog=!0},showSingleIssue(e,t){this.selectedIssues=[e],this.selectedIssueDbName=t,this.issueDialog=!0},async fixNodeIssues(e){if(e)try{let t=[],n=null;if(this.isNodeFixing[e.id]=!0,this.isNodeFixing={...this.isNodeFixing},e.issueData?t=Array.isArray(e.issueData)?e.issueData:[e.issueData]:t=await this.collectIssuesForNode(e),n=this.getDbNameFromNode(e),!t.length){console.error("No issues found to fix",e);return}(await Fe.post("http://localhost:3000/api/apply",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder},database:n,diffs:t})).data.message&&(this.$q.notify({type:"positive",message:`Fixed ${t.length} issue(s) successfully`,position:"top"}),await this.fetchAllDifferences(),await this.buildDatabaseTree())}catch(t){console.error("Error fixing issues:",t),this.$q.notify({type:"negative",message:t.response?.data?.message||"Error fixing issues",position:"top"})}finally{this.isNodeFixing[e.id]=!1,this.isNodeFixing={...this.isNodeFixing}}},getDbNameFromNode(e){return e.id.startsWith("db-")?e.id.split("-")[1]:e.id?(console.log("Node ID:",e.id),e.id.split("-")[0]):console.error("Node ID is required to get db name",e)},async collectIssuesForNode(e){const t=[];switch(console.log("Collecting issues for node:",e),e.type){case"database":console.log("Collecting issues for database:",this.getDbNameFromNode(e)),t.push(...this.differences[this.getDbNameFromNode(e)]);break;case"issue":e.issueData&&t.push(e.issueData);break;case"issue-group":e.children&&t.push(...e.children.filter(n=>n.type==="issue").map(n=>n.issueData).filter(Boolean));break;case"issues":case"category":if(e.children)for(const n of e.children)n.type==="issue-group"&&n.children?t.push(...n.children.filter(o=>o.type==="issue").map(o=>o.issueData).filter(Boolean)):n.issueData&&(Array.isArray(n.issueData)?t.push(...n.issueData):n.issueData.type?t.push(n.issueData):console.error("Unknown issue data:",n.issueData));else{const n=this.getDbNameFromNode(e);console.log("Selected DB Name:",n);let o=e.id.split("-")[1];const i=this.differences[n];console.log("DB Differences:",i),o==="tables"?t.push(...i.filter(r=>r.type.includes("table"))):o==="views"?t.push(...i.filter(r=>r.type.includes("view"))):o==="procedures"?t.push(...i.filter(r=>r.type.includes("procedure"))):console.error("Unknown type:",o)}break}return t},async applyFix(){if(this.selectedIssues.length)try{this.isApplying=!0,await this.fixNodeIssues(this.selectedNode),this.issueDialog=!1}finally{this.isApplying=!1}}},mounted(){const e=localStorage.getItem("dbConfig");if(e){const t=JSON.parse(e);this.host=t.host,this.port=t.port,this.user=t.user,this.password=t.password,this.database=t.database,this.dbFolder=t.output,this.isDbSetup=!0,this.getDatabasesFromExistingDumps(),this.fetchAllDifferences()}}},Ew={class:"row q-col-gutter-md q-mb-lg"},Tw={class:"col-auto"},qw={class:"col-auto"},Rw={class:"text-h6"},Aw={class:"text-h6"},Pw={class:"row items-center full-width"},Ow=["onClick"],Lw={class:"text-weight-medium"},Mw={class:"row q-col-gutter-lg justify-center"},Dw={class:"col-12 col-sm-10"},Fw={class:"row q-col-gutter-md"},Bw={class:"col-12 col-sm-6"},$w={class:"col-12 col-sm-6"},Nw={class:"col-12 col-sm-6"},Vw={class:"col-12 col-sm-6"},Iw={class:"col-12 col-sm-6"},jw={class:"col-12 col-sm-6"},Hw={class:"text-subtitle2 q-mb-sm"},zw={class:"text-subtitle2 q-mb-sm"},Uw={key:0,class:"q-mb-sm"},Kw={key:1,class:"q-mt-md"},Ww={class:"sql-code"},Qw={key:2,class:"q-mt-md"},Gw={class:"sql-code"},Jw={key:3,class:"q-mt-md"};function Xw(e,t,n,o,i,r){return je(),ut(Dr,{class:"q-pa-md"},{default:_e(()=>[Ee("div",Ew,[Ee("div",Tw,[ae(et,{onClick:r.openSettings,icon:"settings",label:"Settings",color:"primary"},null,8,["onClick"])]),Ee("div",qw,[ae(et,{onClick:t[0]||(t[0]=l=>Object.keys(i.existingDatabases).length===0?r.createNewDump():r.createNewDump(!0)),icon:Object.keys(i.existingDatabases).length===0?"download":"refresh",label:Object.keys(i.existingDatabases).length===0?"Get New Dump":"Refresh Dump",color:"secondary"},null,8,["icon","label"])])]),i.isDbSetup?mt("",!0):(je(),ut(Vn,{key:0,class:"q-mb-lg bg-warning text-white"},{default:_e(()=>[ae(xt,null,{default:_e(()=>[Ee("div",Rw,[ae(He,{name:"warning",class:"q-mr-sm"}),t[12]||(t[12]=Ft(" Database Not Set Up "))]),t[13]||(t[13]=Ee("div",{class:"q-mt-sm"},"Please configure your database settings to get started.",-1)),ae(et,{onClick:r.openSettings,label:"Open Settings",color:"white","text-color":"warning",class:"q-mt-sm",unelevated:""},null,8,["onClick"])]),_:1})]),_:1})),Object.keys(i.existingDatabases).length>0?(je(),ut(Vn,{key:1,class:"q-mb-lg"},{default:_e(()=>[ae(xt,{class:"bg-primary text-white"},{default:_e(()=>[Ee("div",Aw,[ae(He,{name:"account_tree",class:"q-mr-sm"}),t[14]||(t[14]=Ft(" Database Structure "))])]),_:1}),ae(xt,null,{default:_e(()=>[ae(bw,{nodes:i.databaseTree,"node-key":"id",expanded:i.expandedNodes,"onUpdate:expanded":t[1]||(t[1]=l=>i.expandedNodes=l),onLazyLoad:r.onLazyLoad,class:"database-tree"},{"default-header":_e(l=>[Ee("div",Pw,[Ee("div",{class:"row items-center flex-grow-1 cursor-pointer",onClick:za(s=>!["category","database","subcategory"].includes(l.node.type)&&l.node.diffCount&&r.showIssueDetails(l.node.issueData,l.node),["stop"])},[l.node.icon?(je(),ut(He,{key:0,name:l.node.icon,color:l.node.iconColor,size:"sm",class:"q-mr-sm"},null,8,["name","color"])):mt("",!0),Ee("div",Lw,gt(l.node.label),1),l.node.diffCount?(je(),ut(ac,{key:1,color:"negative",class:"q-ml-sm"},{default:_e(()=>[Ft(gt(l.node.diffCount),1)]),_:2},1024)):mt("",!0)],8,Ow),["issue-group","issues","category","database"].includes(l.node.type)&&l.node.diffCount?(je(),ut(et,{key:0,flat:"",dense:"",color:"primary",loading:i.isNodeFixing[l.node.id],onClick:za(s=>r.fixNodeIssues(l.node),["stop"]),icon:"build",size:"sm",class:"q-ml-md"},{default:_e(()=>[ae(Al,null,{default:_e(()=>t[15]||(t[15]=[Ft("Fix All Issues")])),_:1})]),_:2},1032,["loading","onClick"])):mt("",!0)])]),_:1},8,["nodes","expanded","onLazyLoad"])]),_:1})]),_:1})):mt("",!0),ae(hr,{modelValue:i.settingsDialog,"onUpdate:modelValue":t[8]||(t[8]=l=>i.settingsDialog=l),persistent:""},{default:_e(()=>[ae(Vn,{style:{width:"90vw","max-width":"1200px"}},{default:_e(()=>[ae(xt,{class:"bg-primary text-white"},{default:_e(()=>t[16]||(t[16]=[Ee("div",{class:"text-h5"},"Database Settings",-1),Ee("div",{class:"text-subtitle2"},"Configure your database connection parameters",-1)])),_:1}),ae(xt,{class:"q-pa-lg col scroll"},{default:_e(()=>[Ee("div",Mw,[Ee("div",Dw,[Ee("div",Fw,[Ee("div",Bw,[ae(In,{modelValue:i.host,"onUpdate:modelValue":t[2]||(t[2]=l=>i.host=l),label:"Database Host",filled:"",class:"q-mb-md",required:""},{prepend:_e(()=>[ae(He,{name:"dns"})]),_:1},8,["modelValue"])]),Ee("div",$w,[ae(In,{modelValue:i.port,"onUpdate:modelValue":t[3]||(t[3]=l=>i.port=l),label:"Database Port",type:"number",filled:"",class:"q-mb-md",required:""},{prepend:_e(()=>[ae(He,{name:"settings_ethernet"})]),_:1},8,["modelValue"])]),Ee("div",Nw,[ae(In,{modelValue:i.user,"onUpdate:modelValue":t[4]||(t[4]=l=>i.user=l),label:"Database User",filled:"",class:"q-mb-md",required:""},{prepend:_e(()=>[ae(He,{name:"person"})]),_:1},8,["modelValue"])]),Ee("div",Vw,[ae(In,{modelValue:i.password,"onUpdate:modelValue":t[5]||(t[5]=l=>i.password=l),label:"Database Password",type:"password",filled:"",class:"q-mb-md",required:"",autocomplete:"off"},{prepend:_e(()=>[ae(He,{name:"lock"})]),_:1},8,["modelValue"])]),Ee("div",Iw,[ae(In,{modelValue:i.database,"onUpdate:modelValue":t[6]||(t[6]=l=>i.database=l),label:"Database Name",filled:"",class:"q-mb-md",required:""},{prepend:_e(()=>[ae(He,{name:"database"})]),_:1},8,["modelValue"])]),Ee("div",jw,[ae(In,{modelValue:i.dbFolder,"onUpdate:modelValue":t[7]||(t[7]=l=>i.dbFolder=l),label:"Database Folder",filled:"",class:"q-mb-md",required:""},{prepend:_e(()=>[ae(He,{name:"folder"})]),_:1},8,["modelValue"])])])])])]),_:1}),ae(ds,{align:"right",class:"bg-white q-pa-md"},{default:_e(()=>[ae(et,{onClick:r.closeSettings,label:"Cancel",color:"grey-7",flat:"",class:"q-px-md"},null,8,["onClick"]),ae(et,{onClick:r.saveSettings,label:"Save Settings",color:"primary",unelevated:"",class:"q-px-md q-ml-sm"},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),ae(hr,{modelValue:i.issueDialog,"onUpdate:modelValue":t[11]||(t[11]=l=>i.issueDialog=l)},{default:_e(()=>[ae(Vn,{style:{"min-width":"800px",width:"90vw","max-width":"1200px"}},{default:_e(()=>[ae(xt,null,{default:_e(()=>t[17]||(t[17]=[Ee("div",{class:"text-h6"},"Issue Details",-1)])),_:1}),i.selectedIssues.length===1?(je(),ut(xt,{key:0,class:"q-pt-none"},{default:_e(()=>[Ee("div",Hw,[t[18]||(t[18]=Ft(" Issue Type: ")),ae(ac,{color:"negative"},{default:_e(()=>[Ft(gt(i.selectedIssues[0].type?.replace(/_/g," ")),1)]),_:1})]),Ee("div",zw,"Name: "+gt(i.selectedIssues[0].Name),1),i.selectedIssues[0].tableName?(je(),dn("div",Uw,[t[19]||(t[19]=Ee("strong",null,"Table:",-1)),Ft(" "+gt(i.selectedIssues[0].tableName),1)])):mt("",!0),i.selectedIssues[0].createSQL?(je(),dn("div",Kw,[t[20]||(t[20]=Ee("div",{class:"text-subtitle2 q-mb-sm"},"SQL Definition:",-1)),ae(Vn,{class:"bg-grey-2"},{default:_e(()=>[ae(xt,{class:"q-pa-md"},{default:_e(()=>[Ee("pre",Ww,gt(i.selectedIssues[0].createSQL),1)]),_:1})]),_:1})])):mt("",!0),i.selectedIssues[0].Definition?(je(),dn("div",Qw,[t[21]||(t[21]=Ee("div",{class:"text-subtitle2 q-mb-sm"},"Definition:",-1)),ae(Vn,{class:"bg-grey-2"},{default:_e(()=>[ae(xt,{class:"q-pa-md"},{default:_e(()=>[Ee("pre",Gw,gt(i.selectedIssues[0].Definition),1)]),_:1})]),_:1})])):mt("",!0),i.selectedIssues[0].currentField?(je(),dn("div",Jw,[t[23]||(t[23]=Ee("div",{class:"text-subtitle2 q-mb-sm"},"Field Comparison:",-1)),ae($d,{flat:"",bordered:""},{default:_e(()=>[t[22]||(t[22]=Ee("thead",null,[Ee("tr",null,[Ee("th",{class:"text-left"},"Property"),Ee("th",{class:"text-left"},"Current"),Ee("th",{class:"text-left"},"Expected")])],-1)),Ee("tbody",null,[(je(!0),dn(Bt,null,Cg(i.selectedIssues[0].currentField,(l,s)=>(je(),dn("tr",{key:s},[Ee("td",null,gt(s),1),Ee("td",null,gt(l),1),Ee("td",{class:wr({"text-negative":l!==i.selectedIssues[0].field?.[s]})},gt(i.selectedIssues[0].field?.[s]),3)]))),128))])]),_:1})])):mt("",!0),ae(et,{onClick:t[9]||(t[9]=l=>r.fixNodeIssues(this.selectedNode)),loading:i.isNodeFixing["single-issue"],color:"primary",class:"q-mt-md",label:"Fix Issue"},null,8,["loading"])]),_:1})):(je(),ut(xt,{key:1,class:"q-pt-none"},{default:_e(()=>[ae(fh,{rows:i.selectedIssues,columns:[{name:"type",label:"Type",field:l=>l.type?.replace(/_/g," ")},{name:"tableName",label:"Table",field:"tableName"},{name:"actions",label:"Actions",field:"actions"}],"row-key":"id",dense:""},{body:_e(l=>[ae(xw,{props:l},{default:_e(()=>[ae(Pl,{key:"type"},{default:_e(()=>[Ft(gt(l.row.type?.replace(/_/g," ")),1)]),_:2},1024),ae(Pl,{key:"tableName"},{default:_e(()=>[Ft(gt(l.row.tableName),1)]),_:2},1024),ae(Pl,{key:"actions"},{default:_e(()=>[ae(et,{flat:"",dense:"",color:"primary",icon:"visibility",onClick:s=>r.showSingleIssue(l.row)},{default:_e(()=>[ae(Al,null,{default:_e(()=>t[24]||(t[24]=[Ft("View Details")])),_:1})]),_:2},1032,["onClick"]),ae(et,{flat:"",dense:"",color:"positive",icon:"build",loading:i.isNodeFixing[`issue-${l.rowIndex}`],onClick:s=>r.fixNodeIssues({type:"issue",id:this.selectedNode.id,issueData:l.row})},{default:_e(()=>[ae(Al,null,{default:_e(()=>t[25]||(t[25]=[Ft("Fix Issue")])),_:1})]),_:2},1032,["loading","onClick"])]),_:2},1024)]),_:2},1032,["props"])]),_:1},8,["rows","columns"]),ae(et,{onClick:t[10]||(t[10]=l=>r.fixNodeIssues({type:"issues",children:i.selectedIssues})),loading:i.isNodeFixing["all-issues"],color:"primary",class:"q-mt-md",label:"Fix All Issues"},null,8,["loading"])]),_:1})),ae(ds,{align:"right"},{default:_e(()=>[xr(ae(et,{flat:"",label:"Close",color:"primary"},null,512),[[Cw]])]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})}const Yw=jr(kw,[["render",Xw]]),Zw=[{path:"/",component:()=>hc(()=>import("./MainLayout-D0eJ_5sV.js"),[]),children:[{path:"",component:Yw},{path:"/dump",component:Oy},{path:"/compare",component:cw},{path:"/apply",component:gw}]}],Ol=wv(function(){return Tp({scrollBehavior:()=>({left:0,top:0}),routes:Zw,history:np("/")})});async function e_(e,t){const n=e(yv);n.use(bv,t);const o=typeof dl=="function"?await dl({}):dl;n.use(o);const i=Po(typeof Ol=="function"?await Ol({store:o}):Ol);return o.use(({store:r})=>{r.router=i}),{app:n,store:o,router:i}}const t_=Pe({name:"QAvatar",props:{...no,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=oo(e),o=y(()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(e.square===!0?" q-avatar--square":e.rounded===!0?" rounded-borders":"")),i=y(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{const r=e.icon!==void 0?[b(He,{name:e.icon})]:void 0;return b("div",{class:o.value,style:n.value},[b("div",{class:"q-avatar__content row flex-center overflow-hidden",style:i.value},nd(t.default,r))])}}});let n_=0;const Hi={},zi={},Ht={},hh={},o_=/^\s*$/,gh=[],i_=[void 0,null,!0,!1,""],na=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],r_=["top-left","top-right","bottom-left","bottom-right"],po={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function mh(e,t,n){if(!e)return zo("parameter required");let o;const i={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(i,Hi),$t(e)===!1&&(i.type&&Object.assign(i,po[i.type]),e={message:e}),Object.assign(i,po[e.type||i.type],e),typeof i.icon=="function"&&(i.icon=i.icon(t)),i.spinner?(i.spinner===!0&&(i.spinner=vn),i.spinner=Po(i.spinner)):i.spinner=!1,i.meta={hasMedia:!!(i.spinner!==!1||i.icon||i.avatar),hasText:dc(i.message)||dc(i.caption)},i.position){if(na.includes(i.position)===!1)return zo("wrong position",e)}else i.position="bottom";if(i_.includes(i.timeout)===!0)i.timeout=5e3;else{const a=Number(i.timeout);if(isNaN(a)||a<0)return zo("wrong timeout",e);i.timeout=Number.isFinite(a)?a:0}i.timeout===0?i.progress=!1:i.progress===!0&&(i.meta.progressClass="q-notification__progress"+(i.progressClass?` ${i.progressClass}`:""),i.meta.progressStyle={animationDuration:`${i.timeout+1e3}ms`});const r=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(Hi.actions)===!0?Hi.actions:[]).concat(po[e.type]!==void 0&&Array.isArray(po[e.type].actions)===!0?po[e.type].actions:[]),{closeBtn:l}=i;if(l&&r.push({label:typeof l=="string"?l:t.lang.label.close}),i.actions=r.map(({handler:a,noDismiss:c,...u})=>({flat:!0,...u,onClick:typeof a=="function"?()=>{a(),c!==!0&&s()}:()=>{s()}})),i.multiLine===void 0&&(i.multiLine=i.actions.length>1),Object.assign(i.meta,{class:`q-notification row items-stretch q-notification--${i.multiLine===!0?"multi-line":"standard"}`+(i.color!==void 0?` bg-${i.color}`:"")+(i.textColor!==void 0?` text-${i.textColor}`:"")+(i.classes!==void 0?` ${i.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(i.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(i.multiLine===!0?"":" col"),leftClass:i.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...i.attrs}}),i.group===!1?(i.group=void 0,i.meta.group=void 0):((i.group===void 0||i.group===!0)&&(i.group=[i.message,i.caption,i.multiline].concat(i.actions.map(a=>`${a.label}*${a.icon}`)).join("|")),i.meta.group=i.group+"|"+i.position),i.actions.length===0?i.actions=void 0:i.meta.actionsClass="q-notification__actions row items-center "+(i.multiLine===!0?"justify-end":"col-auto")+(i.meta.hasMedia===!0?" q-notification__actions--with-media":""),n!==void 0){n.notif.meta.timer&&(clearTimeout(n.notif.meta.timer),n.notif.meta.timer=void 0),i.meta.uid=n.notif.meta.uid;const a=Ht[i.position].value.indexOf(n.notif);Ht[i.position].value[a]=i}else{const a=zi[i.meta.group];if(a===void 0){if(i.meta.uid=n_++,i.meta.badge=1,["left","right","center"].indexOf(i.position)!==-1)Ht[i.position].value.splice(Math.floor(Ht[i.position].value.length/2),0,i);else{const c=i.position.indexOf("top")!==-1?"unshift":"push";Ht[i.position].value[c](i)}i.group!==void 0&&(zi[i.meta.group]=i)}else{if(a.meta.timer&&(clearTimeout(a.meta.timer),a.meta.timer=void 0),i.badgePosition!==void 0){if(r_.includes(i.badgePosition)===!1)return zo("wrong badgePosition",e)}else i.badgePosition=`top-${i.position.indexOf("left")!==-1?"right":"left"}`;i.meta.uid=a.meta.uid,i.meta.badge=a.meta.badge+1,i.meta.badgeClass=`q-notification__badge q-notification__badge--${i.badgePosition}`+(i.badgeColor!==void 0?` bg-${i.badgeColor}`:"")+(i.badgeTextColor!==void 0?` text-${i.badgeTextColor}`:"")+(i.badgeClass?` ${i.badgeClass}`:"");const c=Ht[i.position].value.indexOf(a);Ht[i.position].value[c]=zi[i.meta.group]=i}}const s=()=>{l_(i),o=void 0};if(i.timeout>0&&(i.meta.timer=setTimeout(()=>{i.meta.timer=void 0,s()},i.timeout+1e3)),i.group!==void 0)return a=>{a!==void 0?zo("trying to update a grouped one which is forbidden",e):s()};if(o={dismiss:s,config:e,notif:i},n!==void 0){Object.assign(n,o);return}return a=>{if(o!==void 0)if(a===void 0)o.dismiss();else{const c=Object.assign({},o.config,a,{group:!1,position:i.position});mh(c,t,o)}}}function l_(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);const t=Ht[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete zi[e.meta.group];const n=gh[""+e.meta.uid];if(n){const{width:o,height:i}=getComputedStyle(n);n.style.left=`${n.offsetLeft}px`,n.style.width=o,n.style.height=i}Ht[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function dc(e){return e!=null&&o_.test(e)!==!0}function zo(e,t){return console.error(`Notify: ${e}`,t),!1}function s_(){return Pe({name:"QNotifications",devtools:{hide:!0},setup(){return()=>b("div",{class:"q-notifications"},na.map(e=>b(Bm,{key:e,class:hh[e],tag:"div",name:`q-notification--${e}`},()=>Ht[e].value.map(t=>{const n=t.meta,o=[];if(n.hasMedia===!0&&(t.spinner!==!1?o.push(b(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+n.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?o.push(b(He,{class:"q-notification__icon q-notification__icon--"+n.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&o.push(b(t_,{class:"q-notification__avatar q-notification__avatar--"+n.leftClass},()=>b("img",{src:t.avatar,"aria-hidden":"true"})))),n.hasText===!0){let r;const l={class:"q-notification__message col"};if(t.html===!0)l.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{const s=[t.message];r=t.caption?[b("div",s),b("div",{class:"q-notification__caption"},[t.caption])]:s}o.push(b("div",l,r))}const i=[b("div",{class:n.contentClass},o)];return t.progress===!0&&i.push(b("div",{key:`${n.uid}|p|${n.badge}`,class:n.progressClass,style:n.progressStyle})),t.actions!==void 0&&i.push(b("div",{class:n.actionsClass},t.actions.map(r=>b(et,r)))),n.badge>1&&i.push(b("div",{key:`${n.uid}|${n.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[n.badge])),b("div",{ref:r=>{gh[""+n.uid]=r},key:n.uid,class:n.class,...n.attrs},[b("div",{class:n.wrapperClass},i)])}))))}})}const a_={setDefaults(e){$t(e)===!0&&Object.assign(Hi,e)},registerType(e,t){$t(t)===!0&&(po[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=n=>mh(n,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){na.forEach(o=>{Ht[o]=ue([]);const i=["left","center","right"].includes(o)===!0?"center":o.indexOf("top")!==-1?"top":"bottom",r=o.indexOf("left")!==-1?"start":o.indexOf("right")!==-1?"end":"center",l=["left","right"].includes(o)?`items-${o==="left"?"start":"end"} justify-center`:o==="center"?"flex-center":`items-${r}`;hh[o]=`q-notifications__list q-notifications__list--${i} fixed column no-wrap ${l}`});const n=Js("q-notify");If(s_(),t).mount(n)}}},u_=()=>b("svg",{key:"svg",class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24"},[b("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}),b("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]),c_=Pe({name:"QRadio",props:{...kt,...no,...Ur,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{proxy:o}=Ae(),i=Et(e,o.$q),r=oo(e,lh),l=ue(null),{refocusTargetEl:s,refocusTarget:a}=rh(e,l),c=y(()=>ke(e.modelValue)===ke(e.val)),u=y(()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(e.disable===!0?" disabled":"")+(i.value===!0?" q-radio--dark":"")+(e.dense===!0?" q-radio--dense":"")+(e.leftLabel===!0?" reverse":"")),f=y(()=>{const T=e.color!==void 0&&(e.keepColor===!0||c.value===!0)?` text-${e.color}`:"";return`q-radio__inner relative-position q-radio__inner--${c.value===!0?"truthy":"falsy"}${T}`}),d=y(()=>(c.value===!0?e.checkedIcon:e.uncheckedIcon)||null),h=y(()=>e.disable===!0?-1:e.tabindex||0),g=y(()=>{const T={type:"radio"};return e.name!==void 0&&Object.assign(T,{".checked":c.value===!0,"^checked":c.value===!0?"checked":void 0,name:e.name,value:e.val}),T}),p=nh(g);function v(T){T!==void 0&&(Qe(T),a(T)),e.disable!==!0&&c.value!==!0&&n("update:modelValue",e.val,T)}function q(T){(T.keyCode===13||T.keyCode===32)&&Qe(T)}function S(T){(T.keyCode===13||T.keyCode===32)&&v(T)}Object.assign(o,{set:v});const E=u_();return()=>{const T=d.value!==null?[b("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[b(He,{class:"q-radio__icon",name:d.value})])]:[E];e.disable!==!0&&p(T,"unshift"," q-radio__native q-ma-none q-pa-none");const M=[b("div",{class:f.value,style:r.value,"aria-hidden":"true"},T)];s.value!==null&&M.push(s.value);const I=e.label!==void 0?Kt(t.default,[e.label]):Je(t.default);return I!==void 0&&M.push(b("div",{class:"q-radio__label q-anchor--skip"},I)),b("div",{ref:l,class:u.value,tabindex:h.value,role:"radio","aria-label":e.label,"aria-checked":c.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:v,onKeydown:q,onKeyup:S},M)}}}),f_=Pe({name:"QToggle",props:{...sh,icon:String,iconColor:String},emits:ah,setup(e){function t(n,o){const i=y(()=>(n.value===!0?e.checkedIcon:o.value===!0?e.indeterminateIcon:e.uncheckedIcon)||e.icon),r=y(()=>n.value===!0?e.iconColor:null);return()=>[b("div",{class:"q-toggle__track"}),b("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},i.value!==void 0?[b(He,{name:i.value,color:r.value})]:void 0)]}return uh("toggle",t)}}),vh={radio:c_,checkbox:oi,toggle:f_},d_=Object.keys(vh);function Ll(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return o=>o[n]}const h_=Pe({name:"QOptionGroup",props:{...kt,modelValue:{required:!0},options:{type:Array,validator:e=>e.every($t),default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],name:String,type:{type:String,default:"radio",validator:e=>d_.includes(e)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{proxy:{$q:o}}=Ae(),i=Array.isArray(e.modelValue);e.type==="radio"?i===!0&&console.error("q-option-group: model should not be array"):i===!1&&console.error("q-option-group: model should be array in your case");const r=Et(e,o),l=y(()=>vh[e.type]),s=y(()=>Ll(e.optionValue,"value")),a=y(()=>Ll(e.optionLabel,"label")),c=y(()=>Ll(e.optionDisable,"disable")),u=y(()=>e.options.map(g=>({val:s.value(g),name:g.name===void 0?e.name:g.name,disable:e.disable||c.value(g),leftLabel:g.leftLabel===void 0?e.leftLabel:g.leftLabel,color:g.color===void 0?e.color:g.color,checkedIcon:g.checkedIcon,uncheckedIcon:g.uncheckedIcon,dark:g.dark===void 0?r.value:g.dark,size:g.size===void 0?e.size:g.size,dense:e.dense,keepColor:g.keepColor===void 0?e.keepColor:g.keepColor}))),f=y(()=>"q-option-group q-gutter-x-sm"+(e.inline===!0?" q-option-group--inline":"")),d=y(()=>{const g={role:"group"};return e.type==="radio"&&(g.role="radiogroup",e.disable===!0&&(g["aria-disabled"]="true")),g});function h(g){t("update:modelValue",g)}return()=>b("div",{class:f.value,...d.value},e.options.map((g,p)=>{const v=n["label-"+p]!==void 0?()=>n["label-"+p](g):n.label!==void 0?()=>n.label(g):void 0;return b("div",[b(l.value,{label:v===void 0?a.value(g):null,modelValue:e.modelValue,"onUpdate:modelValue":h,...u.value[p]},v)])}))}}),g_=Pe({name:"DialogPluginComponent",props:{...kt,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){const{proxy:n}=Ae(),{$q:o}=n,i=Et(e,o),r=ue(null),l=ue(e.prompt!==void 0?e.prompt.model:e.options!==void 0?e.options.model:void 0),s=y(()=>"q-dialog-plugin"+(i.value===!0?" q-dialog-plugin--dark q-dark":"")+(e.progress!==!1?" q-dialog-plugin--progress":"")),a=y(()=>e.color||(i.value===!0?"amber":"primary")),c=y(()=>e.progress===!1?null:$t(e.progress)===!0?{component:e.progress.spinner||vn,props:{color:e.progress.color||a.value}}:{component:vn,props:{color:a.value}}),u=y(()=>e.prompt!==void 0||e.options!==void 0),f=y(()=>{if(u.value!==!0)return{};const{model:N,isValid:ie,items:ee,...re}=e.prompt!==void 0?e.prompt:e.options;return re}),d=y(()=>$t(e.ok)===!0||e.ok===!0?o.lang.label.ok:e.ok),h=y(()=>$t(e.cancel)===!0||e.cancel===!0?o.lang.label.cancel:e.cancel),g=y(()=>e.prompt!==void 0?e.prompt.isValid!==void 0&&e.prompt.isValid(l.value)!==!0:e.options!==void 0?e.options.isValid!==void 0&&e.options.isValid(l.value)!==!0:!1),p=y(()=>({color:a.value,label:d.value,ripple:!1,disable:g.value,...$t(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus==="ok"&&u.value!==!0||void 0,onClick:E})),v=y(()=>({color:a.value,label:h.value,ripple:!1,...$t(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus==="cancel"&&u.value!==!0||void 0,onClick:T}));be(()=>e.prompt&&e.prompt.model,I),be(()=>e.options&&e.options.model,I);function q(){r.value.show()}function S(){r.value.hide()}function E(){t("ok",ke(l.value)),S()}function T(){S()}function M(){t("hide")}function I(N){l.value=N}function W(N){g.value!==!0&&e.prompt.type!=="textarea"&&mn(N,13)===!0&&E()}function Z(N,ie){return e.html===!0?b(xt,{class:N,innerHTML:ie}):b(xt,{class:N},()=>ie)}function A(){return[b(In,{color:a.value,dense:!0,autofocus:!0,dark:i.value,...f.value,modelValue:l.value,"onUpdate:modelValue":I,onKeyup:W})]}function F(){return[b(h_,{color:a.value,options:e.options.items,dark:i.value,...f.value,modelValue:l.value,"onUpdate:modelValue":I})]}function U(){const N=[];return e.cancel&&N.push(b(et,v.value)),e.ok&&N.push(b(et,p.value)),b(ds,{class:e.stackButtons===!0?"items-end":"",vertical:e.stackButtons,align:"right"},()=>N)}function C(){const N=[];return e.title&&N.push(Z("q-dialog__title",e.title)),e.progress!==!1&&N.push(b(xt,{class:"q-dialog__progress"},()=>b(c.value.component,c.value.props))),e.message&&N.push(Z("q-dialog__message",e.message)),e.prompt!==void 0?N.push(b(xt,{class:"scroll q-dialog-plugin__form"},A)):e.options!==void 0&&N.push(b(ls,{dark:i.value}),b(xt,{class:"scroll q-dialog-plugin__form"},F),b(ls,{dark:i.value})),(e.ok||e.cancel)&&N.push(U()),N}function J(){return[b(Vn,{class:[s.value,e.cardClass],style:e.cardStyle,dark:i.value},C)]}return Object.assign(n,{show:q,hide:S}),()=>b(hr,{ref:r,onHide:M},J)}});function ph(e,t){for(const n in t)n!=="spinner"&&Object(t[n])===t[n]?(e[n]=Object(e[n])!==e[n]?{}:{...e[n]},ph(e[n],t[n])):e[n]=t[n]}function m_(e,t,n){return o=>{let i,r;const l=o.component!==void 0;if(l===!0){const{component:S,componentProps:E}=o;i=typeof S=="string"?n.component(S):S,r=E||{}}else{const{class:S,style:E,...T}=o;i=e,r=T,S!==void 0&&(T.cardClass=S),E!==void 0&&(T.cardStyle=E)}let s,a=!1;const c=ue(null),u=Js(!1,"dialog"),f=S=>{if(c.value!==null&&c.value[S]!==void 0){c.value[S]();return}const E=s.$.subTree;if(E&&E.component){if(E.component.proxy&&E.component.proxy[S]){E.component.proxy[S]();return}if(E.component.subTree&&E.component.subTree.component&&E.component.subTree.component.proxy&&E.component.subTree.component.proxy[S]){E.component.subTree.component.proxy[S]();return}}console.error("[Quasar] Incorrectly defined Dialog component")},d=[],h=[],g={onOk(S){return d.push(S),g},onCancel(S){return h.push(S),g},onDismiss(S){return d.push(S),h.push(S),g},hide(){return f("hide"),g},update(S){if(s!==null){if(l===!0)Object.assign(r,S);else{const{class:E,style:T,...M}=S;E!==void 0&&(M.cardClass=E),T!==void 0&&(M.cardStyle=T),ph(r,M)}s.$forceUpdate()}return g}},p=S=>{a=!0,d.forEach(E=>{E(S)})},v=()=>{q.unmount(u),Qd(u),q=null,s=null,a!==!0&&h.forEach(S=>{S()})};let q=If({name:"QGlobalDialog",setup:()=>()=>b(i,{...r,ref:c,onOk:p,onHide:v,onVnodeMounted(...S){typeof r.onVnodeMounted=="function"&&r.onVnodeMounted(...S),ze(()=>f("show"))}})},n);return s=q.mount(u),g}}const v_={install({$q:e,parentApp:t}){e.dialog=this.create=m_(g_,!0,t)}},p_={config:{},plugins:{Notify:a_,Dialog:v_}},b_="/";async function y_({app:e,router:t,store:n},o){let i=!1;const r=a=>{try{return t.resolve(a).href}catch{}return Object(a)===a?null:a},l=a=>{if(i=!0,typeof a=="string"&&/^https?:\/\//.test(a)){window.location.href=a;return}const c=r(a);c!==null&&(window.location.href=c,window.location.reload())},s=window.location.href.replace(window.location.origin,"");for(let a=0;i===!1&&a<o.length;a++)try{await o[a]({app:e,router:t,store:n,ssrContext:null,redirect:l,urlPath:s,publicPath:b_})}catch(c){if(c&&c.url){l(c.url);return}console.error("[Quasar] boot error:",c);return}i!==!0&&(e.use(t),e.mount("#q-app"))}e_(Lf,p_).then(e=>{const[t,n]=Promise.allSettled!==void 0?["allSettled",o=>o.map(i=>{if(i.status==="rejected"){console.error("[Quasar] boot error:",i.reason);return}return i.value.default})]:["all",o=>o.map(i=>i.default)];return Promise[t]([hc(()=>import("./axios-CEU4Idnn.js"),[])]).then(o=>{const i=n(o).filter(r=>typeof r=="function");y_(e,i)})});export{Rs as A,Kt as B,_g as C,je as D,ut as E,_e as F,ae as G,jr as _,Fe as a,y as b,Pe as c,w_ as d,co as e,Je as f,Ae as g,b as h,Vt as i,hv as j,Hs as k,dv as l,tt as m,Eo as n,rn as o,Fi as p,ct as q,Iy as r,js as s,jy as t,ue as u,Rn as v,be as w,ze as x,Hy as y,Ao as z};